Feed$initAdSdks$2$1$1.smali

.class final Lcom/avast/android/feed/Feed$initAdSdks$2$1$1;
.super Lkotlin/coroutines/jvm/internal/SuspendLambda;

# interfaces
.implements Lkotlin/jvm/functions/Function2;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/avast/android/feed/Feed$initAdSdks$2$1;->o(Ljava/lang/Object;)Ljava/lang/Object;
.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.feed.Feed$initAdSdks$2$1$1"
    f = "Feed.kt"
    l = {
        0x131
    }
    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/feed/Feed$initAdSdks$2$1;


# direct methods
.method constructor <init>(Lcom/avast/android/feed/Feed$initAdSdks$2$1;Lkotlin/coroutines/Continuation;)V
    .registers 3

    iput-object p1, p0, Lcom/avast/android/feed/Feed$initAdSdks$2$1$1;->m:Lcom/avast/android/feed/Feed$initAdSdks$2$1;

    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 5
    .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/feed/Feed$initAdSdks$2$1$1;

    iget-object v1, p0, Lcom/avast/android/feed/Feed$initAdSdks$2$1$1;->m:Lcom/avast/android/feed/Feed$initAdSdks$2$1;

    invoke-direct {v0, v1, p2}, Lcom/avast/android/feed/Feed$initAdSdks$2$1$1;-><init>(Lcom/avast/android/feed/Feed$initAdSdks$2$1;Lkotlin/coroutines/Continuation;)V

    check-cast p1, Lkotlinx/coroutines/CoroutineScope;

    iput-object p1, v0, Lcom/avast/android/feed/Feed$initAdSdks$2$1$1;->j:Lkotlinx/coroutines/CoroutineScope;

    return-object v0
.end method

.method public final m(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .registers 3

    check-cast p2, Lkotlin/coroutines/Continuation;

    invoke-virtual {p0, p1, p2}, Lcom/avast/android/feed/Feed$initAdSdks$2$1$1;->j(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;

    move-result-object p1

    check-cast p1, Lcom/avast/android/feed/Feed$initAdSdks$2$1$1;

    sget-object p2, Lkotlin/Unit;->a:Lkotlin/Unit;

    invoke-virtual {p1, p2}, Lcom/avast/android/feed/Feed$initAdSdks$2$1$1;->o(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    return-object p1
.end method

.method public final o(Ljava/lang/Object;)Ljava/lang/Object;
    .registers 6

    invoke-static {}, Lkotlin/coroutines/intrinsics/IntrinsicsKt;->c()Ljava/lang/Object;

    move-result-object v0

    iget v1, p0, Lcom/avast/android/feed/Feed$initAdSdks$2$1$1;->l:I

    const/4 v2, 0x1

    if-eqz v1, :cond_1b

    if-ne v1, v2, :cond_13

    iget-object v0, p0, Lcom/avast/android/feed/Feed$initAdSdks$2$1$1;->k:Ljava/lang/Object;

    check-cast v0, Lkotlinx/coroutines/CoroutineScope;

    invoke-static {p1}, Lkotlin/ResultKt;->b(Ljava/lang/Object;)V

    goto :goto_33

    :cond_13
    new-instance p1, Ljava/lang/IllegalStateException;

    const-string v0, "call to \'resume\' before \'invoke\' with coroutine"

    invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw p1

    :cond_1b
    invoke-static {p1}, Lkotlin/ResultKt;->b(Ljava/lang/Object;)V

    iget-object p1, p0, Lcom/avast/android/feed/Feed$initAdSdks$2$1$1;->j:Lkotlinx/coroutines/CoroutineScope;

    iget-object v1, p0, Lcom/avast/android/feed/Feed$initAdSdks$2$1$1;->m:Lcom/avast/android/feed/Feed$initAdSdks$2$1;

    iget-object v3, v1, Lcom/avast/android/feed/Feed$initAdSdks$2$1;->l:Lcom/avast/android/feed/Feed$initAdSdks$2;

    iget-object v3, v3, Lcom/avast/android/feed/Feed$initAdSdks$2;->n:Lcom/avast/android/feed/Feed;

    iget-object v1, v1, Lcom/avast/android/feed/Feed$initAdSdks$2$1;->m:Landroid/app/Application;

    iput-object p1, p0, Lcom/avast/android/feed/Feed$initAdSdks$2$1$1;->k:Ljava/lang/Object;

    iput v2, p0, Lcom/avast/android/feed/Feed$initAdSdks$2$1$1;->l:I

    invoke-virtual {v3, v1, p0}, Lcom/avast/android/feed/Feed;->h(Landroid/content/Context;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;

    move-result-object p1

    if-ne p1, v0, :cond_33

    return-object v0

    :cond_33
    :goto_33
    sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;

    return-object p1
.end method