.class public final Landroidx/activity/FullyDrawnReporterKt; .super Ljava/lang/Object; .source "FullyDrawnReporter.kt" # annotations .annotation runtime Lkotlin/Metadata; d1 = { "\u0000\u001c\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\u001a3\u0010\u0000\u001a\u00020\u0001*\u00020\u00022\u001c\u0010\u0003\u001a\u0018\u0008\u0001\u0012\n\u0012\u0008\u0012\u0004\u0012\u00020\u00010\u0005\u0012\u0006\u0012\u0004\u0018\u00010\u00060\u0004H\u0086H\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0007\u0082\u0002\u0004\n\u0002\u0008\u0019\u00a8\u0006\u0008" } d2 = { "reportWhenComplete", "", "Landroidx/activity/FullyDrawnReporter;", "reporter", "Lkotlin/Function1;", "Lkotlin/coroutines/Continuation;", "", "(Landroidx/activity/FullyDrawnReporter;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "activity_release" } k = 0x2 mv = { 0x1, 0x8, 0x0 } xi = 0x30 .end annotation # direct methods .method public static final reportWhenComplete(Landroidx/activity/FullyDrawnReporter;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; .locals 4 .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroidx/activity/FullyDrawnReporter;", "Lkotlin/jvm/functions/Function1<", "-", "Lkotlin/coroutines/Continuation<", "-", "Lkotlin/Unit;", ">;+", "Ljava/lang/Object;", ">;", "Lkotlin/coroutines/Continuation<", "-", "Lkotlin/Unit;", ">;)", "Ljava/lang/Object;" } .end annotation instance-of v0, p2, Landroidx/activity/FullyDrawnReporterKt$reportWhenComplete$1; if-eqz v0, :cond_0 move-object v0, p2 check-cast v0, Landroidx/activity/FullyDrawnReporterKt$reportWhenComplete$1; iget v1, v0, Landroidx/activity/FullyDrawnReporterKt$reportWhenComplete$1;->label:I const/high16 v2, -0x80000000 and-int/2addr v1, v2 if-eqz v1, :cond_0 iget p2, v0, Landroidx/activity/FullyDrawnReporterKt$reportWhenComplete$1;->label:I sub-int/2addr p2, v2 iput p2, v0, Landroidx/activity/FullyDrawnReporterKt$reportWhenComplete$1;->label:I goto :goto_0 :cond_0 new-instance v0, Landroidx/activity/FullyDrawnReporterKt$reportWhenComplete$1; invoke-direct {v0, p2}, Landroidx/activity/FullyDrawnReporterKt$reportWhenComplete$1;->(Lkotlin/coroutines/Continuation;)V :goto_0 iget-object p2, v0, Landroidx/activity/FullyDrawnReporterKt$reportWhenComplete$1;->result:Ljava/lang/Object; invoke-static {}, Lkotlin/coroutines/intrinsics/IntrinsicsKt;->getCOROUTINE_SUSPENDED()Ljava/lang/Object; move-result-object v1 .line 176 iget v2, v0, Landroidx/activity/FullyDrawnReporterKt$reportWhenComplete$1;->label:I const/4 v3, 0x1 if-eqz v2, :cond_2 if-ne v2, v3, :cond_1 iget-object p0, v0, Landroidx/activity/FullyDrawnReporterKt$reportWhenComplete$1;->L$0:Ljava/lang/Object; check-cast p0, Landroidx/activity/FullyDrawnReporter; :try_start_0 invoke-static {p2}, Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 goto :goto_1 :cond_1 new-instance p0, Ljava/lang/IllegalStateException; const-string p1, "call to \'resume\' before \'invoke\' with coroutine" invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p0 :cond_2 invoke-static {p2}, Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V .line 180 invoke-virtual {p0}, Landroidx/activity/FullyDrawnReporter;->addReporter()V .line 181 invoke-virtual {p0}, Landroidx/activity/FullyDrawnReporter;->isFullyDrawnReported()Z move-result p2 if-eqz p2, :cond_3 .line 182 sget-object p0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit; return-object p0 .line 185 :cond_3 :try_start_1 iput-object p0, v0, Landroidx/activity/FullyDrawnReporterKt$reportWhenComplete$1;->L$0:Ljava/lang/Object; iput v3, v0, Landroidx/activity/FullyDrawnReporterKt$reportWhenComplete$1;->label:I invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object; move-result-object p1 :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 if-ne p1, v1, :cond_4 return-object v1 :cond_4 :goto_1 invoke-static {v3}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V .line 187 invoke-virtual {p0}, Landroidx/activity/FullyDrawnReporter;->removeReporter()V invoke-static {v3}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V .line 189 sget-object p0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit; return-object p0 :catchall_0 move-exception p1 .line 187 invoke-static {v3}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V invoke-virtual {p0}, Landroidx/activity/FullyDrawnReporter;->removeReporter()V invoke-static {v3}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V throw p1 .end method .method private static final reportWhenComplete$$forInline(Landroidx/activity/FullyDrawnReporter;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroidx/activity/FullyDrawnReporter;", "Lkotlin/jvm/functions/Function1<", "-", "Lkotlin/coroutines/Continuation<", "-", "Lkotlin/Unit;", ">;+", "Ljava/lang/Object;", ">;", "Lkotlin/coroutines/Continuation<", "-", "Lkotlin/Unit;", ">;)", "Ljava/lang/Object;" } .end annotation .line 180 invoke-virtual {p0}, Landroidx/activity/FullyDrawnReporter;->addReporter()V .line 181 invoke-virtual {p0}, Landroidx/activity/FullyDrawnReporter;->isFullyDrawnReported()Z move-result v0 if-eqz v0, :cond_0 .line 182 sget-object p0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit; return-object p0 :cond_0 const/4 v0, 0x1 .line 185 :try_start_0 invoke-interface {p1, p2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object; :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 invoke-static {v0}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V .line 187 invoke-virtual {p0}, Landroidx/activity/FullyDrawnReporter;->removeReporter()V invoke-static {v0}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V .line 189 sget-object p0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit; return-object p0 :catchall_0 move-exception p1 .line 187 invoke-static {v0}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V invoke-virtual {p0}, Landroidx/activity/FullyDrawnReporter;->removeReporter()V invoke-static {v0}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V throw p1 .end method