CyBearHomeViewModel$i.smali

.class final Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel$i;
.super Lkotlin/c/b/a/j;
.source "SourceFile"

# interfaces
.implements Lkotlin/f/a/m;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;
.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/m<",
        "Lkotlinx/coroutines/af;",
        "Lkotlin/c/c<",
        "-",
        "Lkotlin/w;",
        ">;",
        "Ljava/lang/Object;",
        ">;"
    }
.end annotation

.annotation runtime Lkotlin/c/b/a/f;
    b = "CyBearHomeViewModel.kt"
    c = {
        0xec
    }
    d = "invokeSuspend"
    e = "com.imo.android.imoim.community.bearcommunity.CyBearHomeViewModel$quitHome$1"
.end annotation


# instance fields
.field a:Ljava/lang/Object;

.field b:I

.field final synthetic c:Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;

.field private d:Lkotlinx/coroutines/af;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;Lkotlin/c/c;)V
    .registers 3

    iput-object p1, p0, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel$i;->c:Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;

    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, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel$i;

    iget-object v1, p0, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel$i;->c:Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;

    invoke-direct {v0, v1, p2}, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel$i;-><init>(Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;Lkotlin/c/c;)V

    check-cast p1, Lkotlinx/coroutines/af;

    iput-object p1, v0, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel$i;->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}, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel$i;->create(Ljava/lang/Object;Lkotlin/c/c;)Lkotlin/c/c;

    move-result-object p1

    check-cast p1, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel$i;

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

    invoke-virtual {p1, p2}, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel$i;->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 8

    .line 1054
    sget-object v0, Lkotlin/c/a/a;->COROUTINE_SUSPENDED:Lkotlin/c/a/a;

    .line 235
    iget v1, p0, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel$i;->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_29

    .line 242
    :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 235
    :cond_15
    invoke-static {p1}, Lkotlin/o;->a(Ljava/lang/Object;)V

    iget-object p1, p0, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel$i;->d:Lkotlinx/coroutines/af;

    .line 236
    iget-object v1, p0, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel$i;->c:Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;

    .line 2050
    iget-object v1, v1, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;->l:Lcom/imo/android/imoim/community/community/data/a;

    .line 236
    iput-object p1, p0, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel$i;->a:Ljava/lang/Object;

    iput v2, p0, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel$i;->b:I

    invoke-virtual {v1, p0}, Lcom/imo/android/imoim/community/community/data/a;->b(Lkotlin/c/c;)Ljava/lang/Object;

    move-result-object p1

    if-ne p1, v0, :cond_29

    return-object v0

    .line 237
    :cond_29
    :goto_29
    sget-object p1, Lcom/imo/android/imoim/community/community/home/b;->h:Lcom/imo/android/imoim/community/community/home/b$a;

    invoke-static {}, Lcom/imo/android/imoim/community/community/home/b$a;->a()Lcom/imo/android/imoim/community/community/home/b;

    move-result-object v0

    .line 238
    iget-object p1, p0, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel$i;->c:Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;

    .line 3050
    iget-object p1, p1, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;->l:Lcom/imo/android/imoim/community/community/data/a;

    .line 4025
    iget-object v1, p1, Lcom/imo/android/imoim/community/community/data/a;->a:Ljava/lang/String;

    .line 239
    iget-object p1, p0, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel$i;->c:Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;

    .line 4052
    iget-object v2, p1, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;->m:Ljava/lang/String;

    const/4 v3, 0x0

    .line 240
    iget-object p1, p0, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel$i;->c:Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;

    .line 4083
    iget-object p1, p1, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;->f:Landroidx/lifecycle/MutableLiveData;

    check-cast p1, Landroidx/lifecycle/LiveData;

    .line 240
    invoke-virtual {p1}, Landroidx/lifecycle/LiveData;->getValue()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/imo/android/imoim/community/community/data/bean/g;

    if-eqz p1, :cond_4c

    .line 5027
    iget-object p1, p1, Lcom/imo/android/imoim/community/community/data/bean/g;->d:Ljava/lang/String;

    if-nez p1, :cond_4e

    :cond_4c
    const-string p1, "visitor"

    :cond_4e
    move-object v4, p1

    const/4 v5, 0x4

    .line 237
    invoke-static/range {v0 .. v5}, Lcom/imo/android/imoim/community/community/home/b;->a(Lcom/imo/android/imoim/community/community/home/b;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;I)V

    .line 242
    sget-object p1, Lkotlin/w;->a:Lkotlin/w;

    return-object p1
.end method