Feed$getFeedDataWithCallback$3.smali
.class final Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;
.super Lkotlin/coroutines/jvm/internal/SuspendLambda;
# interfaces
.implements Lkotlin/jvm/functions/Function2;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/avast/android/feed/Feed;->getFeedDataWithCallback(Ljava/lang/String;Ljava/util/List;Lcom/avast/android/feed/OnFeedDatasetChangedListener;Lcom/avast/android/feed/OnBindViewHolderListener;Lcom/avast/android/feed/Feed$Callback;)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.feed.Feed$getFeedDataWithCallback$3"
f = "Feed.kt"
l = {}
m = "invokeSuspend"
.end annotation
# instance fields
.field private j:Lkotlinx/coroutines/CoroutineScope;
.field k:I
.field final synthetic l:Ljava/lang/String;
.field final synthetic m:Ljava/util/List;
.field final synthetic n:Lcom/avast/android/feed/OnFeedDatasetChangedListener;
.field final synthetic o:Lcom/avast/android/feed/OnBindViewHolderListener;
.field final synthetic p:Lcom/avast/android/feed/Feed$Callback;
# direct methods
.method constructor <init>(Ljava/lang/String;Ljava/util/List;Lcom/avast/android/feed/OnFeedDatasetChangedListener;Lcom/avast/android/feed/OnBindViewHolderListener;Lcom/avast/android/feed/Feed$Callback;Lkotlin/coroutines/Continuation;)V
.registers 7
iput-object p1, p0, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;->l:Ljava/lang/String;
iput-object p2, p0, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;->m:Ljava/util/List;
iput-object p3, p0, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;->n:Lcom/avast/android/feed/OnFeedDatasetChangedListener;
iput-object p4, p0, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;->o:Lcom/avast/android/feed/OnBindViewHolderListener;
iput-object p5, p0, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;->p:Lcom/avast/android/feed/Feed$Callback;
const/4 p1, 0x2
invoke-direct {p0, p1, p6}, 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 11
.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$getFeedDataWithCallback$3;
iget-object v2, p0, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;->l:Ljava/lang/String;
iget-object v3, p0, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;->m:Ljava/util/List;
iget-object v4, p0, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;->n:Lcom/avast/android/feed/OnFeedDatasetChangedListener;
iget-object v5, p0, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;->o:Lcom/avast/android/feed/OnBindViewHolderListener;
iget-object v6, p0, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;->p:Lcom/avast/android/feed/Feed$Callback;
move-object v1, v0
move-object v7, p2
invoke-direct/range {v1 .. v7}, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;-><init>(Ljava/lang/String;Ljava/util/List;Lcom/avast/android/feed/OnFeedDatasetChangedListener;Lcom/avast/android/feed/OnBindViewHolderListener;Lcom/avast/android/feed/Feed$Callback;Lkotlin/coroutines/Continuation;)V
check-cast p1, Lkotlinx/coroutines/CoroutineScope;
iput-object p1, v0, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;->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$getFeedDataWithCallback$3;->j(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
move-result-object p1
check-cast p1, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;
sget-object p2, Lkotlin/Unit;->a:Lkotlin/Unit;
invoke-virtual {p1, p2}, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;->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 12
invoke-static {}, Lkotlin/coroutines/intrinsics/IntrinsicsKt;->c()Ljava/lang/Object;
iget v0, p0, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;->k:I
if-nez v0, :cond_2c
invoke-static {p1}, Lkotlin/ResultKt;->b(Ljava/lang/Object;)V
new-instance p1, Lcom/avast/android/feed/FeedData;
iget-object v0, p0, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;->l:Ljava/lang/String;
iget-object v1, p0, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;->m:Ljava/util/List;
iget-object v2, p0, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;->n:Lcom/avast/android/feed/OnFeedDatasetChangedListener;
iget-object v3, p0, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;->o:Lcom/avast/android/feed/OnBindViewHolderListener;
invoke-direct {p1, v0, v1, v2, v3}, Lcom/avast/android/feed/FeedData;-><init>(Ljava/lang/String;Ljava/util/List;Lcom/avast/android/feed/OnFeedDatasetChangedListener;Lcom/avast/android/feed/OnBindViewHolderListener;)V
sget-object v4, Lkotlinx/coroutines/GlobalScope;->f:Lkotlinx/coroutines/GlobalScope;
invoke-static {}, Lkotlinx/coroutines/Dispatchers;->c()Lkotlinx/coroutines/MainCoroutineDispatcher;
move-result-object v5
const/4 v6, 0x0
new-instance v7, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3$1;
const/4 v0, 0x0
invoke-direct {v7, p0, p1, v0}, Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3$1;-><init>(Lcom/avast/android/feed/Feed$getFeedDataWithCallback$3;Lcom/avast/android/feed/FeedData;Lkotlin/coroutines/Continuation;)V
const/4 v8, 0x2
const/4 v9, 0x0
invoke-static/range {v4 .. v9}, Lkotlinx/coroutines/BuildersKt;->d(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lkotlinx/coroutines/CoroutineStart;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/Job;
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
:cond_2c
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
.end method