BaseFirstProgressFragment$onScanFinished$1.smali
.class final Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment$onScanFinished$1;
.super Lkotlin/coroutines/jvm/internal/SuspendLambda;
# interfaces
.implements Lkotlin/jvm/functions/Function2;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment;->onScanFinished()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/coroutines/jvm/internal/SuspendLambda;",
"Lkotlin/jvm/functions/Function2<",
"Lkotlinx/coroutines/CoroutineScope;",
"Lkotlin/coroutines/Continuation<",
"-",
"Lkotlin/Unit;",
">;",
"Ljava/lang/Object;",
">;"
}
.end annotation
.annotation runtime Lkotlin/coroutines/jvm/internal/DebugMetadata;
c = "com.avast.android.cleaner.fragment.BaseFirstProgressFragment$onScanFinished$1"
f = "BaseFirstProgressFragment.kt"
l = {
0x6e
}
m = "invokeSuspend"
.end annotation
# instance fields
.field private j:Lkotlinx/coroutines/CoroutineScope;
.field k:Ljava/lang/Object;
.field l:I
.field final synthetic m:Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment;
# direct methods
.method constructor <init>(Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment;Lkotlin/coroutines/Continuation;)V
.registers 3
iput-object p1, p0, Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment$onScanFinished$1;->m:Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment;
const/4 p1, 0x2
invoke-direct {p0, p1, p2}, Lkotlin/coroutines/jvm/internal/SuspendLambda;-><init>(ILkotlin/coroutines/Continuation;)V
return-void
.end method
# virtual methods
.method public final j(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Lkotlin/coroutines/Continuation<",
"*>;)",
"Lkotlin/coroutines/Continuation<",
"Lkotlin/Unit;",
">;"
}
.end annotation
const-string v0, "completion"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->c(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment$onScanFinished$1;
iget-object v1, p0, Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment$onScanFinished$1;->m:Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment;
const/4 v2, 0x6
invoke-direct {v0, v1, p2}, Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment$onScanFinished$1;-><init>(Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment;Lkotlin/coroutines/Continuation;)V
check-cast p1, Lkotlinx/coroutines/CoroutineScope;
const/4 v2, 0x3
iput-object p1, v0, Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment$onScanFinished$1;->j:Lkotlinx/coroutines/CoroutineScope;
const/4 v2, 0x0
return-object v0
.end method
.method public final m(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.registers 4
check-cast p2, Lkotlin/coroutines/Continuation;
invoke-virtual {p0, p1, p2}, Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment$onScanFinished$1;->j(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
move-result-object p1
const/4 v0, 0x3
check-cast p1, Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment$onScanFinished$1;
const/4 v0, 0x3
sget-object p2, Lkotlin/Unit;->a:Lkotlin/Unit;
const/4 v0, 0x6
invoke-virtual {p1, p2}, Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment$onScanFinished$1;->o(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
const/4 v0, 0x1
return-object p1
.end method
.method public final o(Ljava/lang/Object;)Ljava/lang/Object;
.registers 8
invoke-static {}, Lkotlin/coroutines/intrinsics/IntrinsicsKt;->c()Ljava/lang/Object;
move-result-object v0
const/4 v5, 0x4
iget v1, p0, Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment$onScanFinished$1;->l:I
const/4 v2, 0x1
and-int/2addr v5, v2
if-eqz v1, :cond_22
if-ne v1, v2, :cond_16
const/4 v5, 0x7
iget-object v0, p0, Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment$onScanFinished$1;->k:Ljava/lang/Object;
check-cast v0, Lkotlinx/coroutines/CoroutineScope;
invoke-static {p1}, Lkotlin/ResultKt;->b(Ljava/lang/Object;)V
goto :goto_45
:cond_16
const/4 v5, 0x7
new-instance p1, Ljava/lang/IllegalStateException;
const-string v0, " escu trlocm u tnrtle fvsow//ei/e//oriane ohk/o/ie/"
const-string v0, "call to \'resume\' before \'invoke\' with coroutine"
const/4 v5, 0x0
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_22
invoke-static {p1}, Lkotlin/ResultKt;->b(Ljava/lang/Object;)V
const/4 v5, 0x0
iget-object p1, p0, Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment$onScanFinished$1;->j:Lkotlinx/coroutines/CoroutineScope;
const/4 v5, 0x6
iget-object v1, p0, Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment$onScanFinished$1;->m:Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment;
invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->isAdded()Z
move-result v1
const/4 v5, 0x6
if-eqz v1, :cond_63
const/4 v5, 0x0
const-wide/16 v3, 0x7d0
const-wide/16 v3, 0x7d0
iput-object p1, p0, Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment$onScanFinished$1;->k:Ljava/lang/Object;
iput v2, p0, Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment$onScanFinished$1;->l:I
const/4 v5, 0x6
invoke-static {v3, v4, p0}, Lkotlinx/coroutines/DelayKt;->a(JLkotlin/coroutines/Continuation;)Ljava/lang/Object;
move-result-object p1
const/4 v5, 0x5
if-ne p1, v0, :cond_45
const/4 v5, 0x3
return-object v0
:cond_45
:goto_45
iget-object p1, p0, Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment$onScanFinished$1;->m:Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment;
invoke-static {p1}, Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment;->access$getSurveyStarted$p(Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment;)Z
move-result p1
const/4 v5, 0x3
if-nez p1, :cond_5c
iget-object p1, p0, Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment$onScanFinished$1;->m:Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment;
const/4 v5, 0x2
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object p1
const/4 v5, 0x6
if-eqz p1, :cond_63
invoke-virtual {p1}, Landroidx/activity/ComponentActivity;->onBackPressed()V
goto :goto_63
:cond_5c
const/4 v5, 0x0
iget-object p1, p0, Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment$onScanFinished$1;->m:Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment;
const/4 v5, 0x3
invoke-virtual {p1}, Lcom/avast/android/cleaner/fragment/BaseFirstProgressFragment;->showButton()V
:cond_63
:goto_63
const/4 v5, 0x2
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method