CommunityCreateViewModel$c.smali
.class final Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;
.super Lkotlin/c/b/a/j;
.source "SourceFile"
# interfaces
.implements Lkotlin/f/a/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/c/b/a/j;",
"Lkotlin/f/a/b<",
"Lkotlin/c/c<",
"-",
"Lkotlin/w;",
">;",
"Ljava/lang/Object;",
">;"
}
.end annotation
.annotation runtime Lkotlin/c/b/a/f;
b = "CommunityCreateViewModel.kt"
c = {
0x5e
}
d = "invokeSuspend"
e = "com.imo.android.imoim.community.community.create.CommunityCreateViewModel$createCommunity$1"
.end annotation
# instance fields
.field a:I
.field final synthetic b:Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;
.field final synthetic c:Ljava/lang/String;
.field final synthetic d:Ljava/lang/String;
.field final synthetic e:Ljava/lang/String;
.field final synthetic f:Ljava/lang/String;
.field final synthetic g:Ljava/lang/String;
# direct methods
.method constructor <init>(Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/c/c;)V
.registers 8
iput-object p1, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->b:Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;
iput-object p2, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->c:Ljava/lang/String;
iput-object p3, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->d:Ljava/lang/String;
iput-object p4, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->e:Ljava/lang/String;
iput-object p5, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->f:Ljava/lang/String;
iput-object p6, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->g:Ljava/lang/String;
const/4 p1, 0x1
invoke-direct {p0, p1, p7}, Lkotlin/c/b/a/j;-><init>(ILkotlin/c/c;)V
return-void
.end method
# virtual methods
.method public final create(Lkotlin/c/c;)Lkotlin/c/c;
.registers 11
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/c/c<",
"*>;)",
"Lkotlin/c/c<",
"Lkotlin/w;",
">;"
}
.end annotation
const-string v0, "completion"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;
iget-object v2, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->b:Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;
iget-object v3, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->c:Ljava/lang/String;
iget-object v4, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->d:Ljava/lang/String;
iget-object v5, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->e:Ljava/lang/String;
iget-object v6, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->f:Ljava/lang/String;
iget-object v7, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->g:Ljava/lang/String;
move-object v1, v0
move-object v8, p1
invoke-direct/range {v1 .. v8}, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;-><init>(Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/c/c;)V
return-object v0
.end method
.method public final invoke(Ljava/lang/Object;)Ljava/lang/Object;
.registers 3
check-cast p1, Lkotlin/c/c;
invoke-virtual {p0, p1}, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->create(Lkotlin/c/c;)Lkotlin/c/c;
move-result-object p1
check-cast p1, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;
sget-object v0, Lkotlin/w;->a:Lkotlin/w;
invoke-virtual {p1, v0}, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->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 12
.line 1054
sget-object v0, Lkotlin/c/a/a;->COROUTINE_SUSPENDED:Lkotlin/c/a/a;
.line 93
iget v1, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->a: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_3c
.line 107
: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 93
:cond_15
invoke-static {p1}, Lkotlin/o;->a(Ljava/lang/Object;)V
.line 94
iget-object p1, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->b:Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;
.line 2038
iget-object p1, p1, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;->i:Lcom/imo/android/imoim/community/community/create/b;
.line 94
iget-object v4, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->c:Ljava/lang/String;
iget-object v5, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->d:Ljava/lang/String;
iget-object v6, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->e:Ljava/lang/String;
iget-object v7, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->f:Ljava/lang/String;
iget-object v8, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->g:Ljava/lang/String;
iput v2, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->a:I
.line 3029
iget-object p1, p1, Lcom/imo/android/imoim/community/community/create/b;->a:Lkotlinx/coroutines/aa;
check-cast p1, Lkotlin/c/e;
new-instance v1, Lcom/imo/android/imoim/community/community/create/b$c;
const/4 v9, 0x0
move-object v3, v1
invoke-direct/range {v3 .. v9}, Lcom/imo/android/imoim/community/community/create/b$c;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/c/c;)V
check-cast v1, Lkotlin/f/a/m;
.line 4001
invoke-static {p1, v1, p0}, Lkotlinx/coroutines/g;->a(Lkotlin/c/e;Lkotlin/f/a/m;Lkotlin/c/c;)Ljava/lang/Object;
move-result-object p1
if-ne p1, v0, :cond_3c
return-object v0
.line 93
:cond_3c
:goto_3c
check-cast p1, Lcom/imo/android/imoim/managers/br;
.line 96
instance-of v0, p1, Lcom/imo/android/imoim/managers/br$b;
const/4 v1, 0x2
const/4 v3, 0x0
if-eqz v0, :cond_6a
.line 97
iget-object v0, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->b:Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;
invoke-static {v0}, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;->c(Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;)Landroidx/lifecycle/MutableLiveData;
move-result-object v0
new-instance v2, Lcom/imo/android/imoim/community/community/create/d;
const/4 v4, 0x0
check-cast p1, Lcom/imo/android/imoim/managers/br$b;
.line 4008
iget-object p1, p1, Lcom/imo/android/imoim/managers/br$b;->a:Ljava/lang/Object;
.line 97
check-cast p1, Lcom/imo/android/imoim/communitymodule/data/CommunityInfo;
invoke-direct {v2, v4, p1}, Lcom/imo/android/imoim/community/community/create/d;-><init>(ILcom/imo/android/imoim/communitymodule/data/CommunityInfo;)V
invoke-virtual {v0, v2}, Landroidx/lifecycle/MutableLiveData;->postValue(Ljava/lang/Object;)V
.line 98
iget-object p1, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->b:Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;
invoke-static {p1}, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;->d(Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;)Landroidx/lifecycle/MutableLiveData;
move-result-object p1
new-instance v0, Lcom/imo/android/imoim/community/community/data/bean/o;
sget-object v2, Lcom/imo/android/imoim/community/community/data/bean/q;->SUCCESS:Lcom/imo/android/imoim/community/community/data/bean/q;
invoke-direct {v0, v2, v3, v1, v3}, Lcom/imo/android/imoim/community/community/data/bean/o;-><init>(Lcom/imo/android/imoim/community/community/data/bean/q;Ljava/lang/String;ILkotlin/f/b/j;)V
invoke-virtual {p1, v0}, Landroidx/lifecycle/MutableLiveData;->postValue(Ljava/lang/Object;)V
goto :goto_90
.line 101
:cond_6a
instance-of v0, p1, Lcom/imo/android/imoim/managers/br$a;
if-eqz v0, :cond_90
.line 102
iget-object v0, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->b:Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;
invoke-static {v0}, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;->c(Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;)Landroidx/lifecycle/MutableLiveData;
move-result-object v0
new-instance v4, Lcom/imo/android/imoim/community/community/create/d;
invoke-direct {v4, v2, v3, v1, v3}, Lcom/imo/android/imoim/community/community/create/d;-><init>(ILcom/imo/android/imoim/communitymodule/data/CommunityInfo;ILkotlin/f/b/j;)V
invoke-virtual {v0, v4}, Landroidx/lifecycle/MutableLiveData;->postValue(Ljava/lang/Object;)V
.line 103
iget-object v0, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$c;->b:Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;
invoke-static {v0}, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;->d(Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;)Landroidx/lifecycle/MutableLiveData;
move-result-object v0
new-instance v1, Lcom/imo/android/imoim/community/community/data/bean/o;
sget-object v2, Lcom/imo/android/imoim/community/community/data/bean/q;->FAILURE:Lcom/imo/android/imoim/community/community/data/bean/q;
check-cast p1, Lcom/imo/android/imoim/managers/br$a;
.line 4009
iget-object p1, p1, Lcom/imo/android/imoim/managers/br$a;->a:Ljava/lang/String;
.line 103
invoke-direct {v1, v2, p1}, Lcom/imo/android/imoim/community/community/data/bean/o;-><init>(Lcom/imo/android/imoim/community/community/data/bean/q;Ljava/lang/String;)V
invoke-virtual {v0, v1}, Landroidx/lifecycle/MutableLiveData;->postValue(Ljava/lang/Object;)V
.line 107
:cond_90
:goto_90
sget-object p1, Lkotlin/w;->a:Lkotlin/w;
return-object p1
.end method