e$c$b.smali
.class public final Lrk/e$c$b;
.super Lkotlin/jvm/internal/Lambda;
.source "UserManager.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function0;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lrk/e$c;->invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/Lambda;",
"Lkotlin/jvm/functions/Function0<",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field public final synthetic a:Ltk/d;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Ltk/d;)V
.registers 2
iput-object p1, p0, Lrk/e$c$b;->a:Ltk/d;
const/4 p1, 0x0
invoke-direct {p0, p1}, Lkotlin/jvm/internal/Lambda;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic invoke()Ljava/lang/Object;
.registers 2
invoke-virtual {p0}, Lrk/e$c$b;->invoke()V
sget-object v0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
return-object v0
.end method
.method public final invoke()V
.registers 4
sget-object v0, Lrk/e;->k:Lrk/e;
invoke-static {v0}, Lrk/e;->c(Lrk/e;)Landroidx/lifecycle/MutableLiveData;
move-result-object v0
iget-object v1, p0, Lrk/e$c$b;->a:Ltk/d;
invoke-virtual {v0, v1}, Landroidx/lifecycle/MutableLiveData;->setValue(Ljava/lang/Object;)V
sget-object v0, Lrk/e;->k:Lrk/e;
invoke-static {v0}, Lrk/e;->b(Lrk/e;)Landroidx/lifecycle/MutableLiveData;
move-result-object v0
iget-object v1, p0, Lrk/e$c$b;->a:Ltk/d;
instance-of v2, v1, Ltk/d$b;
if-eqz v2, :cond_2a
new-instance v2, Ltk/d$b;
check-cast v1, Ltk/d$b;
invoke-virtual {v1}, Ltk/d$b;->a()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/shopee/foody/driver/user/model/UserProfileResponse;
invoke-virtual {v1}, Lcom/shopee/foody/driver/user/model/UserProfileResponse;->getProfile()Lcom/shopee/foody/driver/user/model/UserProfile;
move-result-object v1
invoke-direct {v2, v1}, Ltk/d$b;-><init>(Ljava/lang/Object;)V
move-object v1, v2
goto :goto_2e
:cond_2a
instance-of v2, v1, Ltk/d$a;
if-eqz v2, :cond_5e
:goto_2e
invoke-virtual {v0, v1}, Landroidx/lifecycle/MutableLiveData;->setValue(Ljava/lang/Object;)V
sget-object v0, Lrk/e;->k:Lrk/e;
invoke-static {v0}, Lrk/e;->a(Lrk/e;)Landroidx/lifecycle/MutableLiveData;
move-result-object v0
iget-object v1, p0, Lrk/e$c$b;->a:Ltk/d;
instance-of v2, v1, Ltk/d$b;
if-eqz v2, :cond_50
new-instance v2, Ltk/d$b;
check-cast v1, Ltk/d$b;
invoke-virtual {v1}, Ltk/d$b;->a()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/shopee/foody/driver/user/model/UserProfileResponse;
invoke-virtual {v1}, Lcom/shopee/foody/driver/user/model/UserProfileResponse;->getArea()Lcom/shopee/foody/driver/user/model/Area;
move-result-object v1
invoke-direct {v2, v1}, Ltk/d$b;-><init>(Ljava/lang/Object;)V
move-object v1, v2
goto :goto_54
:cond_50
instance-of v2, v1, Ltk/d$a;
if-eqz v2, :cond_58
:goto_54
invoke-virtual {v0, v1}, Landroidx/lifecycle/MutableLiveData;->setValue(Ljava/lang/Object;)V
return-void
:cond_58
new-instance v0, Lkotlin/NoWhenBranchMatchedException;
invoke-direct {v0}, Lkotlin/NoWhenBranchMatchedException;-><init>()V
throw v0
:cond_5e
new-instance v0, Lkotlin/NoWhenBranchMatchedException;
invoke-direct {v0}, Lkotlin/NoWhenBranchMatchedException;-><init>()V
throw v0
.end method