.class final Landroidx/core/view/ViewKt$allViews$1; .super Lkotlin/coroutines/jvm/internal/RestrictedSuspendLambda; .source "SourceFile" # interfaces .implements Lkotlin/jvm/functions/Function2; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Landroidx/core/view/ViewKt;->getAllViews(Landroid/view/View;)Lkotlin/sequences/Sequence; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = null .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Lkotlin/coroutines/jvm/internal/RestrictedSuspendLambda;", "Lkotlin/jvm/functions/Function2;" } .end annotation .annotation runtime Lkotlin/coroutines/jvm/internal/DebugMetadata; c = "androidx.core.view.ViewKt$allViews$1" f = "View.kt" l = { 0x19a, 0x19c } m = "invokeSuspend" .end annotation # instance fields .field final synthetic $this_allViews:Landroid/view/View; .field private synthetic L$0:Ljava/lang/Object; .field label:I # direct methods .method public constructor (Landroid/view/View;Lkotlin/coroutines/Continuation;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroid/view/View;", "Lkotlin/coroutines/Continuation;", ")V" } .end annotation iput-object p1, p0, Landroidx/core/view/ViewKt$allViews$1;->$this_allViews:Landroid/view/View; const/4 p1, 0x2 invoke-direct {p0, p1, p2}, Lkotlin/coroutines/jvm/internal/RestrictedSuspendLambda;->(ILkotlin/coroutines/Continuation;)V return-void .end method # virtual methods .method public final create(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Object;", "Lkotlin/coroutines/Continuation;", ")", "Lkotlin/coroutines/Continuation;" } .end annotation new-instance v0, Landroidx/core/view/ViewKt$allViews$1; iget-object v1, p0, Landroidx/core/view/ViewKt$allViews$1;->$this_allViews:Landroid/view/View; invoke-direct {v0, v1, p2}, Landroidx/core/view/ViewKt$allViews$1;->(Landroid/view/View;Lkotlin/coroutines/Continuation;)V iput-object p1, v0, Landroidx/core/view/ViewKt$allViews$1;->L$0:Ljava/lang/Object; return-object v0 .end method .method public bridge synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .locals 0 .line 0 check-cast p1, Lkotlin/sequences/SequenceScope; check-cast p2, Lkotlin/coroutines/Continuation; invoke-virtual {p0, p1, p2}, Landroidx/core/view/ViewKt$allViews$1;->invoke(Lkotlin/sequences/SequenceScope;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; move-result-object p1 return-object p1 .end method .method public final invoke(Lkotlin/sequences/SequenceScope;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/sequences/SequenceScope;", "Lkotlin/coroutines/Continuation;", ")", "Ljava/lang/Object;" } .end annotation .line 0 invoke-virtual {p0, p1, p2}, Landroidx/core/view/ViewKt$allViews$1;->create(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation; move-result-object p1 check-cast p1, Landroidx/core/view/ViewKt$allViews$1; sget-object p2, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit; invoke-virtual {p1, p2}, Landroidx/core/view/ViewKt$allViews$1;->invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object; move-result-object p1 return-object p1 .end method .method public final invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object; .locals 4 invoke-static {}, Lkotlin/coroutines/intrinsics/IntrinsicsKt;->getCOROUTINE_SUSPENDED()Ljava/lang/Object; move-result-object v0 iget v1, p0, Landroidx/core/view/ViewKt$allViews$1;->label:I const/4 v2, 0x2 const/4 v3, 0x1 if-eqz v1, :cond_2 if-eq v1, v3, :cond_1 if-ne v1, v2, :cond_0 .line 409 invoke-static {p1}, Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V goto :goto_1 :cond_0 new-instance p1, Ljava/lang/IllegalStateException; const-string v0, "call to \'resume\' before \'invoke\' with coroutine" invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p1 :cond_1 iget-object v1, p0, Landroidx/core/view/ViewKt$allViews$1;->L$0:Ljava/lang/Object; check-cast v1, Lkotlin/sequences/SequenceScope; invoke-static {p1}, Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V goto :goto_0 :cond_2 invoke-static {p1}, Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V iget-object p1, p0, Landroidx/core/view/ViewKt$allViews$1;->L$0:Ljava/lang/Object; move-object v1, p1 check-cast v1, Lkotlin/sequences/SequenceScope; iget-object p1, p0, Landroidx/core/view/ViewKt$allViews$1;->$this_allViews:Landroid/view/View; iput-object v1, p0, Landroidx/core/view/ViewKt$allViews$1;->L$0:Ljava/lang/Object; iput v3, p0, Landroidx/core/view/ViewKt$allViews$1;->label:I .line 410 invoke-virtual {v1, p1, p0}, Lkotlin/sequences/SequenceScope;->yield(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; move-result-object p1 if-ne p1, v0, :cond_3 return-object v0 :cond_3 :goto_0 iget-object p1, p0, Landroidx/core/view/ViewKt$allViews$1;->$this_allViews:Landroid/view/View; .line 411 instance-of v3, p1, Landroid/view/ViewGroup; if-eqz v3, :cond_4 .line 412 check-cast p1, Landroid/view/ViewGroup; invoke-static {p1}, Landroidx/core/view/ViewGroupKt;->getDescendants(Landroid/view/ViewGroup;)Lkotlin/sequences/Sequence; move-result-object p1 const/4 v3, 0x0 iput-object v3, p0, Landroidx/core/view/ViewKt$allViews$1;->L$0:Ljava/lang/Object; iput v2, p0, Landroidx/core/view/ViewKt$allViews$1;->label:I invoke-virtual {v1, p1, p0}, Lkotlin/sequences/SequenceScope;->yieldAll(Lkotlin/sequences/Sequence;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; move-result-object p1 if-ne p1, v0, :cond_4 return-object v0 .line 414 :cond_4 :goto_1 sget-object p1, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit; return-object p1 .end method