PlayCenterViewModel$a.smali
.class public final Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel$a;
.super Lkotlin/c/b/a/j;
.source "SourceFile"
# interfaces
.implements Lkotlin/f/a/m;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/c/b/a/j;",
"Lkotlin/f/a/m<",
"Lkotlinx/coroutines/af;",
"Lkotlin/c/c<",
"-",
"Lkotlin/w;",
">;",
"Ljava/lang/Object;",
">;"
}
.end annotation
.annotation runtime Lkotlin/c/b/a/f;
b = "PlayCenterViewModel.kt"
c = {
0x19
}
d = "invokeSuspend"
e = "sg.bigo.live.support64.component.roomwidget.payercenter.viewmodel.PlayCenterViewModel$fetchPlayList$1"
.end annotation
# instance fields
.field a:Ljava/lang/Object;
.field b:I
.field final synthetic c:Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel;
.field private d:Lkotlinx/coroutines/af;
# direct methods
.method public constructor <init>(Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel;Lkotlin/c/c;)V
.registers 3
iput-object p1, p0, Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel$a;->c:Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel;
const/4 p1, 0x2
invoke-direct {p0, p1, p2}, Lkotlin/c/b/a/j;-><init>(ILkotlin/c/c;)V
return-void
.end method
# virtual methods
.method public final create(Ljava/lang/Object;Lkotlin/c/c;)Lkotlin/c/c;
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Lkotlin/c/c<",
"*>;)",
"Lkotlin/c/c<",
"Lkotlin/w;",
">;"
}
.end annotation
const-string v0, "completion"
invoke-static {p2, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel$a;
iget-object v1, p0, Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel$a;->c:Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel;
invoke-direct {v0, v1, p2}, Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel$a;-><init>(Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel;Lkotlin/c/c;)V
check-cast p1, Lkotlinx/coroutines/af;
iput-object p1, v0, Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel$a;->d:Lkotlinx/coroutines/af;
return-object v0
.end method
.method public final invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.registers 3
check-cast p2, Lkotlin/c/c;
invoke-virtual {p0, p1, p2}, Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel$a;->create(Ljava/lang/Object;Lkotlin/c/c;)Lkotlin/c/c;
move-result-object p1
check-cast p1, Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel$a;
sget-object p2, Lkotlin/w;->a:Lkotlin/w;
invoke-virtual {p1, p2}, Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel$a;->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;
.registers 5
.line 1054
sget-object v0, Lkotlin/c/a/a;->COROUTINE_SUSPENDED:Lkotlin/c/a/a;
.line 24
iget v1, p0, Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel$a;->b:I
const/4 v2, 0x1
if-eqz v1, :cond_15
if-ne v1, v2, :cond_d
invoke-static {p1}, Lkotlin/o;->a(Ljava/lang/Object;)V
goto :goto_25
.line 29
:cond_d
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
.line 24
:cond_15
invoke-static {p1}, Lkotlin/o;->a(Ljava/lang/Object;)V
iget-object p1, p0, Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel$a;->d:Lkotlinx/coroutines/af;
.line 25
iput-object p1, p0, Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel$a;->a:Ljava/lang/Object;
iput v2, p0, Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel$a;->b:I
invoke-static {p0}, Lsg/bigo/live/support64/component/roomwidget/payercenter/b;->a(Lkotlin/c/c;)Ljava/lang/Object;
move-result-object p1
if-ne p1, v0, :cond_25
return-object v0
.line 24
:cond_25
:goto_25
check-cast p1, Lcom/imo/android/common/mvvm/e;
.line 26
iget-object v0, p1, Lcom/imo/android/common/mvvm/e;->a:Lcom/imo/android/common/mvvm/e$a;
sget-object v1, Lcom/imo/android/common/mvvm/e$a;->SUCCESS:Lcom/imo/android/common/mvvm/e$a;
if-ne v0, v1, :cond_38
.line 27
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel$a;->c:Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel;
invoke-static {v0}, Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel;->a(Lsg/bigo/live/support64/component/roomwidget/payercenter/viewmodel/PlayCenterViewModel;)Landroidx/lifecycle/MutableLiveData;
move-result-object v0
iget-object p1, p1, Lcom/imo/android/common/mvvm/e;->b:Ljava/lang/Object;
invoke-virtual {v0, p1}, Landroidx/lifecycle/MutableLiveData;->setValue(Ljava/lang/Object;)V
.line 29
:cond_38
sget-object p1, Lkotlin/w;->a:Lkotlin/w;
return-object p1
.end method