Rabbit-R1/android (non root)/smali/smali_classes2/androidx/navigation/NavBackStackEntry.smali
2024-05-21 17:08:36 -04:00

1182 lines
39 KiB
Smali

.class public final Landroidx/navigation/NavBackStackEntry;
.super Ljava/lang/Object;
.source "NavBackStackEntry.kt"
# interfaces
.implements Landroidx/lifecycle/LifecycleOwner;
.implements Landroidx/lifecycle/ViewModelStoreOwner;
.implements Landroidx/lifecycle/HasDefaultViewModelProviderFactory;
.implements Landroidx/savedstate/SavedStateRegistryOwner;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/navigation/NavBackStackEntry$Companion;,
Landroidx/navigation/NavBackStackEntry$NavResultSavedStateFactory;,
Landroidx/navigation/NavBackStackEntry$SavedStateViewModel;
}
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nNavBackStackEntry.kt\nKotlin\n*S Kotlin\n*F\n+ 1 NavBackStackEntry.kt\nandroidx/navigation/NavBackStackEntry\n+ 2 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,301:1\n1726#2,3:302\n1855#2,2:305\n*S KotlinDebug\n*F\n+ 1 NavBackStackEntry.kt\nandroidx/navigation/NavBackStackEntry\n*L\n258#1:302,3\n266#1:305,2\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000\u00a8\u0001\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\t\n\u0002\u0018\u0002\n\u0002\u0008\t\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0008\u0018\u0000 V2\u00020\u00012\u00020\u00022\u00020\u00032\u00020\u0004:\u0003VWXB\u001b\u0008\u0017\u0012\u0006\u0010\u0005\u001a\u00020\u0000\u0012\n\u0008\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0007\u00a2\u0006\u0002\u0010\u0008BQ\u0008\u0002\u0012\u0008\u0010\t\u001a\u0004\u0018\u00010\n\u0012\u0006\u0010\u000b\u001a\u00020\u000c\u0012\n\u0008\u0002\u0010\r\u001a\u0004\u0018\u00010\u0007\u0012\u0008\u0008\u0002\u0010\u000e\u001a\u00020\u000f\u0012\n\u0008\u0002\u0010\u0010\u001a\u0004\u0018\u00010\u0011\u0012\u0008\u0008\u0002\u0010\u0012\u001a\u00020\u0013\u0012\n\u0008\u0002\u0010\u0014\u001a\u0004\u0018\u00010\u0007\u00a2\u0006\u0002\u0010\u0015J\u0013\u0010I\u001a\u00020B2\u0008\u0010J\u001a\u0004\u0018\u00010KH\u0096\u0002J\u0010\u0010L\u001a\u00020M2\u0006\u0010N\u001a\u00020OH\u0007J\u0008\u0010P\u001a\u00020QH\u0016J\u0010\u0010R\u001a\u00020M2\u0006\u0010S\u001a\u00020\u0007H\u0007J\u0008\u0010T\u001a\u00020\u0013H\u0016J\u0008\u0010U\u001a\u00020MH\u0007R\u000e\u0010\u0016\u001a\u00020\u0017X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u00078F\u00a2\u0006\u0006\u001a\u0004\u0008\u0018\u0010\u0019R\u0010\u0010\t\u001a\u0004\u0018\u00010\nX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u001b\u0010\u001a\u001a\u00020\u001b8BX\u0082\u0084\u0002\u00a2\u0006\u000c\n\u0004\u0008\u001e\u0010\u001f\u001a\u0004\u0008\u001c\u0010\u001dR\u0014\u0010 \u001a\u00020!8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\"\u0010#R\u0014\u0010$\u001a\u00020%X\u0096\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008&\u0010\'R\u001c\u0010\u000b\u001a\u00020\u000c@\u0007X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008(\u0010)\"\u0004\u0008*\u0010+R\u000e\u0010\u000e\u001a\u00020\u000fX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0011\u0010\u0012\u001a\u00020\u0013\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008,\u0010-R\u0010\u0010\r\u001a\u0004\u0018\u00010\u0007X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010.\u001a\u00020/8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u00080\u00101R&\u00103\u001a\u00020\u000f2\u0006\u00102\u001a\u00020\u000f8G@GX\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u00084\u00105\"\u0004\u00086\u00107R\u0010\u0010\u0014\u001a\u0004\u0018\u00010\u0007X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u001b\u00108\u001a\u0002098FX\u0086\u0084\u0002\u00a2\u0006\u000c\n\u0004\u0008<\u0010\u001f\u001a\u0004\u0008:\u0010;R\u0014\u0010=\u001a\u00020>8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008?\u0010@R\u000e\u0010A\u001a\u00020BX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010C\u001a\u00020DX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010E\u001a\u00020F8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008G\u0010HR\u0010\u0010\u0010\u001a\u0004\u0018\u00010\u0011X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006Y"
}
d2 = {
"Landroidx/navigation/NavBackStackEntry;",
"Landroidx/lifecycle/LifecycleOwner;",
"Landroidx/lifecycle/ViewModelStoreOwner;",
"Landroidx/lifecycle/HasDefaultViewModelProviderFactory;",
"Landroidx/savedstate/SavedStateRegistryOwner;",
"entry",
"arguments",
"Landroid/os/Bundle;",
"(Landroidx/navigation/NavBackStackEntry;Landroid/os/Bundle;)V",
"context",
"Landroid/content/Context;",
"destination",
"Landroidx/navigation/NavDestination;",
"immutableArgs",
"hostLifecycleState",
"Landroidx/lifecycle/Lifecycle$State;",
"viewModelStoreProvider",
"Landroidx/navigation/NavViewModelStoreProvider;",
"id",
"",
"savedState",
"(Landroid/content/Context;Landroidx/navigation/NavDestination;Landroid/os/Bundle;Landroidx/lifecycle/Lifecycle$State;Landroidx/navigation/NavViewModelStoreProvider;Ljava/lang/String;Landroid/os/Bundle;)V",
"_lifecycle",
"Landroidx/lifecycle/LifecycleRegistry;",
"getArguments",
"()Landroid/os/Bundle;",
"defaultFactory",
"Landroidx/lifecycle/SavedStateViewModelFactory;",
"getDefaultFactory",
"()Landroidx/lifecycle/SavedStateViewModelFactory;",
"defaultFactory$delegate",
"Lkotlin/Lazy;",
"defaultViewModelCreationExtras",
"Landroidx/lifecycle/viewmodel/CreationExtras;",
"getDefaultViewModelCreationExtras",
"()Landroidx/lifecycle/viewmodel/CreationExtras;",
"defaultViewModelProviderFactory",
"Landroidx/lifecycle/ViewModelProvider$Factory;",
"getDefaultViewModelProviderFactory",
"()Landroidx/lifecycle/ViewModelProvider$Factory;",
"getDestination",
"()Landroidx/navigation/NavDestination;",
"setDestination",
"(Landroidx/navigation/NavDestination;)V",
"getId",
"()Ljava/lang/String;",
"lifecycle",
"Landroidx/lifecycle/Lifecycle;",
"getLifecycle",
"()Landroidx/lifecycle/Lifecycle;",
"maxState",
"maxLifecycle",
"getMaxLifecycle",
"()Landroidx/lifecycle/Lifecycle$State;",
"setMaxLifecycle",
"(Landroidx/lifecycle/Lifecycle$State;)V",
"savedStateHandle",
"Landroidx/lifecycle/SavedStateHandle;",
"getSavedStateHandle",
"()Landroidx/lifecycle/SavedStateHandle;",
"savedStateHandle$delegate",
"savedStateRegistry",
"Landroidx/savedstate/SavedStateRegistry;",
"getSavedStateRegistry",
"()Landroidx/savedstate/SavedStateRegistry;",
"savedStateRegistryAttached",
"",
"savedStateRegistryController",
"Landroidx/savedstate/SavedStateRegistryController;",
"viewModelStore",
"Landroidx/lifecycle/ViewModelStore;",
"getViewModelStore",
"()Landroidx/lifecycle/ViewModelStore;",
"equals",
"other",
"",
"handleLifecycleEvent",
"",
"event",
"Landroidx/lifecycle/Lifecycle$Event;",
"hashCode",
"",
"saveState",
"outBundle",
"toString",
"updateState",
"Companion",
"NavResultSavedStateFactory",
"SavedStateViewModel",
"navigation-common_release"
}
k = 0x1
mv = {
0x1,
0x8,
0x0
}
xi = 0x30
.end annotation
# static fields
.field public static final Companion:Landroidx/navigation/NavBackStackEntry$Companion;
# instance fields
.field private _lifecycle:Landroidx/lifecycle/LifecycleRegistry;
.field private final context:Landroid/content/Context;
.field private final defaultFactory$delegate:Lkotlin/Lazy;
.field private final defaultViewModelProviderFactory:Landroidx/lifecycle/ViewModelProvider$Factory;
.field private destination:Landroidx/navigation/NavDestination;
.field private hostLifecycleState:Landroidx/lifecycle/Lifecycle$State;
.field private final id:Ljava/lang/String;
.field private final immutableArgs:Landroid/os/Bundle;
.field private maxLifecycle:Landroidx/lifecycle/Lifecycle$State;
.field private final savedState:Landroid/os/Bundle;
.field private final savedStateHandle$delegate:Lkotlin/Lazy;
.field private savedStateRegistryAttached:Z
.field private final savedStateRegistryController:Landroidx/savedstate/SavedStateRegistryController;
.field private final viewModelStoreProvider:Landroidx/navigation/NavViewModelStoreProvider;
# direct methods
.method static constructor <clinit>()V
.locals 2
new-instance v0, Landroidx/navigation/NavBackStackEntry$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Landroidx/navigation/NavBackStackEntry$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Landroidx/navigation/NavBackStackEntry;->Companion:Landroidx/navigation/NavBackStackEntry$Companion;
return-void
.end method
.method private constructor <init>(Landroid/content/Context;Landroidx/navigation/NavDestination;Landroid/os/Bundle;Landroidx/lifecycle/Lifecycle$State;Landroidx/navigation/NavViewModelStoreProvider;Ljava/lang/String;Landroid/os/Bundle;)V
.locals 0
.line 51
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/navigation/NavBackStackEntry;->context:Landroid/content/Context;
iput-object p2, p0, Landroidx/navigation/NavBackStackEntry;->destination:Landroidx/navigation/NavDestination;
iput-object p3, p0, Landroidx/navigation/NavBackStackEntry;->immutableArgs:Landroid/os/Bundle;
iput-object p4, p0, Landroidx/navigation/NavBackStackEntry;->hostLifecycleState:Landroidx/lifecycle/Lifecycle$State;
iput-object p5, p0, Landroidx/navigation/NavBackStackEntry;->viewModelStoreProvider:Landroidx/navigation/NavViewModelStoreProvider;
iput-object p6, p0, Landroidx/navigation/NavBackStackEntry;->id:Ljava/lang/String;
iput-object p7, p0, Landroidx/navigation/NavBackStackEntry;->savedState:Landroid/os/Bundle;
.line 110
new-instance p1, Landroidx/lifecycle/LifecycleRegistry;
move-object p2, p0
check-cast p2, Landroidx/lifecycle/LifecycleOwner;
invoke-direct {p1, p2}, Landroidx/lifecycle/LifecycleRegistry;-><init>(Landroidx/lifecycle/LifecycleOwner;)V
iput-object p1, p0, Landroidx/navigation/NavBackStackEntry;->_lifecycle:Landroidx/lifecycle/LifecycleRegistry;
.line 111
sget-object p1, Landroidx/savedstate/SavedStateRegistryController;->Companion:Landroidx/savedstate/SavedStateRegistryController$Companion;
move-object p2, p0
check-cast p2, Landroidx/savedstate/SavedStateRegistryOwner;
invoke-virtual {p1, p2}, Landroidx/savedstate/SavedStateRegistryController$Companion;->create(Landroidx/savedstate/SavedStateRegistryOwner;)Landroidx/savedstate/SavedStateRegistryController;
move-result-object p1
iput-object p1, p0, Landroidx/navigation/NavBackStackEntry;->savedStateRegistryController:Landroidx/savedstate/SavedStateRegistryController;
.line 113
new-instance p1, Landroidx/navigation/NavBackStackEntry$defaultFactory$2;
invoke-direct {p1, p0}, Landroidx/navigation/NavBackStackEntry$defaultFactory$2;-><init>(Landroidx/navigation/NavBackStackEntry;)V
check-cast p1, Lkotlin/jvm/functions/Function0;
invoke-static {p1}, Lkotlin/LazyKt;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
move-result-object p1
iput-object p1, p0, Landroidx/navigation/NavBackStackEntry;->defaultFactory$delegate:Lkotlin/Lazy;
.line 135
new-instance p1, Landroidx/navigation/NavBackStackEntry$savedStateHandle$2;
invoke-direct {p1, p0}, Landroidx/navigation/NavBackStackEntry$savedStateHandle$2;-><init>(Landroidx/navigation/NavBackStackEntry;)V
check-cast p1, Lkotlin/jvm/functions/Function0;
invoke-static {p1}, Lkotlin/LazyKt;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
move-result-object p1
iput-object p1, p0, Landroidx/navigation/NavBackStackEntry;->savedStateHandle$delegate:Lkotlin/Lazy;
.line 163
sget-object p1, Landroidx/lifecycle/Lifecycle$State;->INITIALIZED:Landroidx/lifecycle/Lifecycle$State;
iput-object p1, p0, Landroidx/navigation/NavBackStackEntry;->maxLifecycle:Landroidx/lifecycle/Lifecycle$State;
.line 224
invoke-direct {p0}, Landroidx/navigation/NavBackStackEntry;->getDefaultFactory()Landroidx/lifecycle/SavedStateViewModelFactory;
move-result-object p1
check-cast p1, Landroidx/lifecycle/ViewModelProvider$Factory;
iput-object p1, p0, Landroidx/navigation/NavBackStackEntry;->defaultViewModelProviderFactory:Landroidx/lifecycle/ViewModelProvider$Factory;
return-void
.end method
.method synthetic constructor <init>(Landroid/content/Context;Landroidx/navigation/NavDestination;Landroid/os/Bundle;Landroidx/lifecycle/Lifecycle$State;Landroidx/navigation/NavViewModelStoreProvider;Ljava/lang/String;Landroid/os/Bundle;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 10
and-int/lit8 v0, p8, 0x4
const/4 v1, 0x0
if-eqz v0, :cond_0
move-object v5, v1
goto :goto_0
:cond_0
move-object v5, p3
:goto_0
and-int/lit8 v0, p8, 0x8
if-eqz v0, :cond_1
.line 60
sget-object v0, Landroidx/lifecycle/Lifecycle$State;->CREATED:Landroidx/lifecycle/Lifecycle$State;
move-object v6, v0
goto :goto_1
:cond_1
move-object v6, p4
:goto_1
and-int/lit8 v0, p8, 0x10
if-eqz v0, :cond_2
move-object v7, v1
goto :goto_2
:cond_2
move-object v7, p5
:goto_2
and-int/lit8 v0, p8, 0x20
if-eqz v0, :cond_3
.line 66
invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;
move-result-object v0
invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;
move-result-object v0
const-string v2, "randomUUID().toString()"
invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
move-object v8, v0
goto :goto_3
:cond_3
move-object/from16 v8, p6
:goto_3
and-int/lit8 v0, p8, 0x40
if-eqz v0, :cond_4
move-object v9, v1
goto :goto_4
:cond_4
move-object/from16 v9, p7
:goto_4
move-object v2, p0
move-object v3, p1
move-object v4, p2
.line 51
invoke-direct/range {v2 .. v9}, Landroidx/navigation/NavBackStackEntry;-><init>(Landroid/content/Context;Landroidx/navigation/NavDestination;Landroid/os/Bundle;Landroidx/lifecycle/Lifecycle$State;Landroidx/navigation/NavViewModelStoreProvider;Ljava/lang/String;Landroid/os/Bundle;)V
return-void
.end method
.method public synthetic constructor <init>(Landroid/content/Context;Landroidx/navigation/NavDestination;Landroid/os/Bundle;Landroidx/lifecycle/Lifecycle$State;Landroidx/navigation/NavViewModelStoreProvider;Ljava/lang/String;Landroid/os/Bundle;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct/range {p0 .. p7}, Landroidx/navigation/NavBackStackEntry;-><init>(Landroid/content/Context;Landroidx/navigation/NavDestination;Landroid/os/Bundle;Landroidx/lifecycle/Lifecycle$State;Landroidx/navigation/NavViewModelStoreProvider;Ljava/lang/String;Landroid/os/Bundle;)V
return-void
.end method
.method public constructor <init>(Landroidx/navigation/NavBackStackEntry;Landroid/os/Bundle;)V
.locals 9
const-string v0, "entry"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 75
iget-object v2, p1, Landroidx/navigation/NavBackStackEntry;->context:Landroid/content/Context;
.line 76
iget-object v3, p1, Landroidx/navigation/NavBackStackEntry;->destination:Landroidx/navigation/NavDestination;
.line 78
iget-object v5, p1, Landroidx/navigation/NavBackStackEntry;->hostLifecycleState:Landroidx/lifecycle/Lifecycle$State;
.line 79
iget-object v6, p1, Landroidx/navigation/NavBackStackEntry;->viewModelStoreProvider:Landroidx/navigation/NavViewModelStoreProvider;
.line 80
iget-object v7, p1, Landroidx/navigation/NavBackStackEntry;->id:Ljava/lang/String;
.line 81
iget-object v8, p1, Landroidx/navigation/NavBackStackEntry;->savedState:Landroid/os/Bundle;
move-object v1, p0
move-object v4, p2
.line 74
invoke-direct/range {v1 .. v8}, Landroidx/navigation/NavBackStackEntry;-><init>(Landroid/content/Context;Landroidx/navigation/NavDestination;Landroid/os/Bundle;Landroidx/lifecycle/Lifecycle$State;Landroidx/navigation/NavViewModelStoreProvider;Ljava/lang/String;Landroid/os/Bundle;)V
.line 83
iget-object p2, p1, Landroidx/navigation/NavBackStackEntry;->hostLifecycleState:Landroidx/lifecycle/Lifecycle$State;
iput-object p2, p0, Landroidx/navigation/NavBackStackEntry;->hostLifecycleState:Landroidx/lifecycle/Lifecycle$State;
.line 84
iget-object p1, p1, Landroidx/navigation/NavBackStackEntry;->maxLifecycle:Landroidx/lifecycle/Lifecycle$State;
invoke-virtual {p0, p1}, Landroidx/navigation/NavBackStackEntry;->setMaxLifecycle(Landroidx/lifecycle/Lifecycle$State;)V
return-void
.end method
.method public synthetic constructor <init>(Landroidx/navigation/NavBackStackEntry;Landroid/os/Bundle;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
and-int/lit8 p3, p3, 0x2
if-eqz p3, :cond_0
.line 74
invoke-virtual {p1}, Landroidx/navigation/NavBackStackEntry;->getArguments()Landroid/os/Bundle;
move-result-object p2
:cond_0
invoke-direct {p0, p1, p2}, Landroidx/navigation/NavBackStackEntry;-><init>(Landroidx/navigation/NavBackStackEntry;Landroid/os/Bundle;)V
return-void
.end method
.method public static final synthetic access$getContext$p(Landroidx/navigation/NavBackStackEntry;)Landroid/content/Context;
.locals 0
.line 51
iget-object p0, p0, Landroidx/navigation/NavBackStackEntry;->context:Landroid/content/Context;
return-object p0
.end method
.method public static final synthetic access$getSavedStateRegistryAttached$p(Landroidx/navigation/NavBackStackEntry;)Z
.locals 0
.line 51
iget-boolean p0, p0, Landroidx/navigation/NavBackStackEntry;->savedStateRegistryAttached:Z
return p0
.end method
.method private final getDefaultFactory()Landroidx/lifecycle/SavedStateViewModelFactory;
.locals 0
iget-object p0, p0, Landroidx/navigation/NavBackStackEntry;->defaultFactory$delegate:Lkotlin/Lazy;
.line 113
invoke-interface {p0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
move-result-object p0
check-cast p0, Landroidx/lifecycle/SavedStateViewModelFactory;
return-object p0
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 5
const/4 v0, 0x0
if-eqz p1, :cond_5
.line 251
instance-of v1, p1, Landroidx/navigation/NavBackStackEntry;
if-nez v1, :cond_0
goto/16 :goto_2
:cond_0
iget-object v1, p0, Landroidx/navigation/NavBackStackEntry;->id:Ljava/lang/String;
.line 252
check-cast p1, Landroidx/navigation/NavBackStackEntry;
iget-object v2, p1, Landroidx/navigation/NavBackStackEntry;->id:Ljava/lang/String;
invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_5
iget-object v1, p0, Landroidx/navigation/NavBackStackEntry;->destination:Landroidx/navigation/NavDestination;
iget-object v2, p1, Landroidx/navigation/NavBackStackEntry;->destination:Landroidx/navigation/NavDestination;
invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_5
.line 253
invoke-virtual {p0}, Landroidx/navigation/NavBackStackEntry;->getLifecycle()Landroidx/lifecycle/Lifecycle;
move-result-object v1
invoke-virtual {p1}, Landroidx/navigation/NavBackStackEntry;->getLifecycle()Landroidx/lifecycle/Lifecycle;
move-result-object v2
invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_5
.line 254
invoke-virtual {p0}, Landroidx/navigation/NavBackStackEntry;->getSavedStateRegistry()Landroidx/savedstate/SavedStateRegistry;
move-result-object v1
invoke-virtual {p1}, Landroidx/navigation/NavBackStackEntry;->getSavedStateRegistry()Landroidx/savedstate/SavedStateRegistry;
move-result-object v2
invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_5
iget-object v1, p0, Landroidx/navigation/NavBackStackEntry;->immutableArgs:Landroid/os/Bundle;
.line 256
iget-object v2, p1, Landroidx/navigation/NavBackStackEntry;->immutableArgs:Landroid/os/Bundle;
invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_4
iget-object v1, p0, Landroidx/navigation/NavBackStackEntry;->immutableArgs:Landroid/os/Bundle;
if-eqz v1, :cond_5
.line 257
invoke-virtual {v1}, Landroid/os/Bundle;->keySet()Ljava/util/Set;
move-result-object v1
if-eqz v1, :cond_5
check-cast v1, Ljava/lang/Iterable;
.line 302
instance-of v2, v1, Ljava/util/Collection;
if-eqz v2, :cond_1
move-object v2, v1
check-cast v2, Ljava/util/Collection;
invoke-interface {v2}, Ljava/util/Collection;->isEmpty()Z
move-result v2
if-eqz v2, :cond_1
goto :goto_1
.line 303
:cond_1
invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_2
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_4
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/String;
iget-object v3, p0, Landroidx/navigation/NavBackStackEntry;->immutableArgs:Landroid/os/Bundle;
.line 258
invoke-virtual {v3, v2}, Landroid/os/Bundle;->get(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v3
iget-object v4, p1, Landroidx/navigation/NavBackStackEntry;->immutableArgs:Landroid/os/Bundle;
if-eqz v4, :cond_3
invoke-virtual {v4, v2}, Landroid/os/Bundle;->get(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v2
goto :goto_0
:cond_3
const/4 v2, 0x0
:goto_0
invoke-static {v3, v2}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_2
goto :goto_2
:cond_4
:goto_1
const/4 v0, 0x1
:cond_5
:goto_2
return v0
.end method
.method public final getArguments()Landroid/os/Bundle;
.locals 1
iget-object v0, p0, Landroidx/navigation/NavBackStackEntry;->immutableArgs:Landroid/os/Bundle;
if-nez v0, :cond_0
const/4 p0, 0x0
goto :goto_0
.line 129
:cond_0
new-instance v0, Landroid/os/Bundle;
iget-object p0, p0, Landroidx/navigation/NavBackStackEntry;->immutableArgs:Landroid/os/Bundle;
invoke-direct {v0, p0}, Landroid/os/Bundle;-><init>(Landroid/os/Bundle;)V
move-object p0, v0
:goto_0
return-object p0
.end method
.method public getDefaultViewModelCreationExtras()Landroidx/lifecycle/viewmodel/CreationExtras;
.locals 4
.line 228
new-instance v0, Landroidx/lifecycle/viewmodel/MutableCreationExtras;
const/4 v1, 0x1
const/4 v2, 0x0
invoke-direct {v0, v2, v1, v2}, Landroidx/lifecycle/viewmodel/MutableCreationExtras;-><init>(Landroidx/lifecycle/viewmodel/CreationExtras;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
iget-object v1, p0, Landroidx/navigation/NavBackStackEntry;->context:Landroid/content/Context;
if-eqz v1, :cond_0
.line 229
invoke-virtual {v1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
move-result-object v1
goto :goto_0
:cond_0
move-object v1, v2
:goto_0
instance-of v3, v1, Landroid/app/Application;
if-eqz v3, :cond_1
move-object v2, v1
check-cast v2, Landroid/app/Application;
:cond_1
if-eqz v2, :cond_2
.line 230
sget-object v1, Landroidx/lifecycle/ViewModelProvider$AndroidViewModelFactory;->APPLICATION_KEY:Landroidx/lifecycle/viewmodel/CreationExtras$Key;
invoke-virtual {v0, v1, v2}, Landroidx/lifecycle/viewmodel/MutableCreationExtras;->set(Landroidx/lifecycle/viewmodel/CreationExtras$Key;Ljava/lang/Object;)V
.line 232
:cond_2
sget-object v1, Landroidx/lifecycle/SavedStateHandleSupport;->SAVED_STATE_REGISTRY_OWNER_KEY:Landroidx/lifecycle/viewmodel/CreationExtras$Key;
invoke-virtual {v0, v1, p0}, Landroidx/lifecycle/viewmodel/MutableCreationExtras;->set(Landroidx/lifecycle/viewmodel/CreationExtras$Key;Ljava/lang/Object;)V
.line 233
sget-object v1, Landroidx/lifecycle/SavedStateHandleSupport;->VIEW_MODEL_STORE_OWNER_KEY:Landroidx/lifecycle/viewmodel/CreationExtras$Key;
invoke-virtual {v0, v1, p0}, Landroidx/lifecycle/viewmodel/MutableCreationExtras;->set(Landroidx/lifecycle/viewmodel/CreationExtras$Key;Ljava/lang/Object;)V
.line 234
invoke-virtual {p0}, Landroidx/navigation/NavBackStackEntry;->getArguments()Landroid/os/Bundle;
move-result-object p0
if-eqz p0, :cond_3
.line 235
sget-object v1, Landroidx/lifecycle/SavedStateHandleSupport;->DEFAULT_ARGS_KEY:Landroidx/lifecycle/viewmodel/CreationExtras$Key;
invoke-virtual {v0, v1, p0}, Landroidx/lifecycle/viewmodel/MutableCreationExtras;->set(Landroidx/lifecycle/viewmodel/CreationExtras$Key;Ljava/lang/Object;)V
.line 237
:cond_3
check-cast v0, Landroidx/lifecycle/viewmodel/CreationExtras;
return-object v0
.end method
.method public getDefaultViewModelProviderFactory()Landroidx/lifecycle/ViewModelProvider$Factory;
.locals 0
iget-object p0, p0, Landroidx/navigation/NavBackStackEntry;->defaultViewModelProviderFactory:Landroidx/lifecycle/ViewModelProvider$Factory;
return-object p0
.end method
.method public final getDestination()Landroidx/navigation/NavDestination;
.locals 0
iget-object p0, p0, Landroidx/navigation/NavBackStackEntry;->destination:Landroidx/navigation/NavDestination;
return-object p0
.end method
.method public final getId()Ljava/lang/String;
.locals 0
iget-object p0, p0, Landroidx/navigation/NavBackStackEntry;->id:Ljava/lang/String;
return-object p0
.end method
.method public getLifecycle()Landroidx/lifecycle/Lifecycle;
.locals 0
iget-object p0, p0, Landroidx/navigation/NavBackStackEntry;->_lifecycle:Landroidx/lifecycle/LifecycleRegistry;
.line 158
check-cast p0, Landroidx/lifecycle/Lifecycle;
return-object p0
.end method
.method public final getMaxLifecycle()Landroidx/lifecycle/Lifecycle$State;
.locals 0
iget-object p0, p0, Landroidx/navigation/NavBackStackEntry;->maxLifecycle:Landroidx/lifecycle/Lifecycle$State;
return-object p0
.end method
.method public final getSavedStateHandle()Landroidx/lifecycle/SavedStateHandle;
.locals 0
iget-object p0, p0, Landroidx/navigation/NavBackStackEntry;->savedStateHandle$delegate:Lkotlin/Lazy;
.line 135
invoke-interface {p0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
move-result-object p0
check-cast p0, Landroidx/lifecycle/SavedStateHandle;
return-object p0
.end method
.method public getSavedStateRegistry()Landroidx/savedstate/SavedStateRegistry;
.locals 0
iget-object p0, p0, Landroidx/navigation/NavBackStackEntry;->savedStateRegistryController:Landroidx/savedstate/SavedStateRegistryController;
.line 241
invoke-virtual {p0}, Landroidx/savedstate/SavedStateRegistryController;->getSavedStateRegistry()Landroidx/savedstate/SavedStateRegistry;
move-result-object p0
return-object p0
.end method
.method public getViewModelStore()Landroidx/lifecycle/ViewModelStore;
.locals 2
iget-boolean v0, p0, Landroidx/navigation/NavBackStackEntry;->savedStateRegistryAttached:Z
if-eqz v0, :cond_2
.line 213
invoke-virtual {p0}, Landroidx/navigation/NavBackStackEntry;->getLifecycle()Landroidx/lifecycle/Lifecycle;
move-result-object v0
invoke-virtual {v0}, Landroidx/lifecycle/Lifecycle;->getCurrentState()Landroidx/lifecycle/Lifecycle$State;
move-result-object v0
sget-object v1, Landroidx/lifecycle/Lifecycle$State;->DESTROYED:Landroidx/lifecycle/Lifecycle$State;
if-eq v0, v1, :cond_1
iget-object v0, p0, Landroidx/navigation/NavBackStackEntry;->viewModelStoreProvider:Landroidx/navigation/NavViewModelStoreProvider;
if-eqz v0, :cond_0
iget-object p0, p0, Landroidx/navigation/NavBackStackEntry;->id:Ljava/lang/String;
.line 221
invoke-interface {v0, p0}, Landroidx/navigation/NavViewModelStoreProvider;->getViewModelStore(Ljava/lang/String;)Landroidx/lifecycle/ViewModelStore;
move-result-object p0
return-object p0
.line 217
:cond_0
new-instance p0, Ljava/lang/IllegalStateException;
const-string v0, "You must call setViewModelStore() on your NavHostController before accessing the ViewModelStore of a navigation graph."
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p0
.line 213
:cond_1
new-instance p0, Ljava/lang/IllegalStateException;
const-string v0, "You cannot access the NavBackStackEntry\'s ViewModels after the NavBackStackEntry is destroyed."
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p0
.line 208
:cond_2
new-instance p0, Ljava/lang/IllegalStateException;
const-string v0, "You cannot access the NavBackStackEntry\'s ViewModels until it is added to the NavController\'s back stack (i.e., the Lifecycle of the NavBackStackEntry reaches the CREATED state)."
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public final handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
.locals 1
const-string v0, "event"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 172
invoke-virtual {p1}, Landroidx/lifecycle/Lifecycle$Event;->getTargetState()Landroidx/lifecycle/Lifecycle$State;
move-result-object p1
iput-object p1, p0, Landroidx/navigation/NavBackStackEntry;->hostLifecycleState:Landroidx/lifecycle/Lifecycle$State;
.line 173
invoke-virtual {p0}, Landroidx/navigation/NavBackStackEntry;->updateState()V
return-void
.end method
.method public hashCode()I
.locals 4
iget-object v0, p0, Landroidx/navigation/NavBackStackEntry;->id:Ljava/lang/String;
.line 264
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v0
mul-int/lit8 v0, v0, 0x1f
iget-object v1, p0, Landroidx/navigation/NavBackStackEntry;->destination:Landroidx/navigation/NavDestination;
.line 265
invoke-virtual {v1}, Landroidx/navigation/NavDestination;->hashCode()I
move-result v1
add-int/2addr v0, v1
iget-object v1, p0, Landroidx/navigation/NavBackStackEntry;->immutableArgs:Landroid/os/Bundle;
if-eqz v1, :cond_1
.line 266
invoke-virtual {v1}, Landroid/os/Bundle;->keySet()Ljava/util/Set;
move-result-object v1
if-eqz v1, :cond_1
check-cast v1, Ljava/lang/Iterable;
.line 305
invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v1
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/String;
mul-int/lit8 v0, v0, 0x1f
iget-object v3, p0, Landroidx/navigation/NavBackStackEntry;->immutableArgs:Landroid/os/Bundle;
.line 267
invoke-virtual {v3, v2}, Landroid/os/Bundle;->get(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v2
if-eqz v2, :cond_0
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
move-result v2
goto :goto_1
:cond_0
const/4 v2, 0x0
:goto_1
add-int/2addr v0, v2
goto :goto_0
:cond_1
mul-int/lit8 v0, v0, 0x1f
.line 269
invoke-virtual {p0}, Landroidx/navigation/NavBackStackEntry;->getLifecycle()Landroidx/lifecycle/Lifecycle;
move-result-object v1
invoke-virtual {v1}, Landroidx/lifecycle/Lifecycle;->hashCode()I
move-result v1
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
.line 270
invoke-virtual {p0}, Landroidx/navigation/NavBackStackEntry;->getSavedStateRegistry()Landroidx/savedstate/SavedStateRegistry;
move-result-object p0
invoke-virtual {p0}, Landroidx/savedstate/SavedStateRegistry;->hashCode()I
move-result p0
add-int/2addr v0, p0
return v0
.end method
.method public final saveState(Landroid/os/Bundle;)V
.locals 1
const-string v0, "outBundle"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p0, p0, Landroidx/navigation/NavBackStackEntry;->savedStateRegistryController:Landroidx/savedstate/SavedStateRegistryController;
.line 246
invoke-virtual {p0, p1}, Landroidx/savedstate/SavedStateRegistryController;->performSave(Landroid/os/Bundle;)V
return-void
.end method
.method public final setDestination(Landroidx/navigation/NavDestination;)V
.locals 1
const-string v0, "<set-?>"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iput-object p1, p0, Landroidx/navigation/NavBackStackEntry;->destination:Landroidx/navigation/NavDestination;
return-void
.end method
.method public final setMaxLifecycle(Landroidx/lifecycle/Lifecycle$State;)V
.locals 1
const-string v0, "maxState"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iput-object p1, p0, Landroidx/navigation/NavBackStackEntry;->maxLifecycle:Landroidx/lifecycle/Lifecycle$State;
.line 166
invoke-virtual {p0}, Landroidx/navigation/NavBackStackEntry;->updateState()V
return-void
.end method
.method public toString()Ljava/lang/String;
.locals 3
.line 275
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
.line 276
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 277
new-instance v1, Ljava/lang/StringBuilder;
const-string v2, "("
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-object v2, p0, Landroidx/navigation/NavBackStackEntry;->id:Ljava/lang/String;
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
const/16 v2, 0x29
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, " destination="
.line 278
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object p0, p0, Landroidx/navigation/NavBackStackEntry;->destination:Landroidx/navigation/NavDestination;
.line 279
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
.line 280
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
const-string v0, "sb.toString()"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public final updateState()V
.locals 2
iget-boolean v0, p0, Landroidx/navigation/NavBackStackEntry;->savedStateRegistryAttached:Z
if-nez v0, :cond_1
iget-object v0, p0, Landroidx/navigation/NavBackStackEntry;->savedStateRegistryController:Landroidx/savedstate/SavedStateRegistryController;
.line 183
invoke-virtual {v0}, Landroidx/savedstate/SavedStateRegistryController;->performAttach()V
const/4 v0, 0x1
iput-boolean v0, p0, Landroidx/navigation/NavBackStackEntry;->savedStateRegistryAttached:Z
iget-object v0, p0, Landroidx/navigation/NavBackStackEntry;->viewModelStoreProvider:Landroidx/navigation/NavViewModelStoreProvider;
if-eqz v0, :cond_0
.line 186
move-object v0, p0
check-cast v0, Landroidx/savedstate/SavedStateRegistryOwner;
invoke-static {v0}, Landroidx/lifecycle/SavedStateHandleSupport;->enableSavedStateHandles(Landroidx/savedstate/SavedStateRegistryOwner;)V
:cond_0
iget-object v0, p0, Landroidx/navigation/NavBackStackEntry;->savedStateRegistryController:Landroidx/savedstate/SavedStateRegistryController;
iget-object v1, p0, Landroidx/navigation/NavBackStackEntry;->savedState:Landroid/os/Bundle;
.line 190
invoke-virtual {v0, v1}, Landroidx/savedstate/SavedStateRegistryController;->performRestore(Landroid/os/Bundle;)V
:cond_1
iget-object v0, p0, Landroidx/navigation/NavBackStackEntry;->hostLifecycleState:Landroidx/lifecycle/Lifecycle$State;
.line 192
invoke-virtual {v0}, Landroidx/lifecycle/Lifecycle$State;->ordinal()I
move-result v0
iget-object v1, p0, Landroidx/navigation/NavBackStackEntry;->maxLifecycle:Landroidx/lifecycle/Lifecycle$State;
invoke-virtual {v1}, Landroidx/lifecycle/Lifecycle$State;->ordinal()I
move-result v1
if-ge v0, v1, :cond_2
iget-object v0, p0, Landroidx/navigation/NavBackStackEntry;->_lifecycle:Landroidx/lifecycle/LifecycleRegistry;
iget-object p0, p0, Landroidx/navigation/NavBackStackEntry;->hostLifecycleState:Landroidx/lifecycle/Lifecycle$State;
.line 193
invoke-virtual {v0, p0}, Landroidx/lifecycle/LifecycleRegistry;->setCurrentState(Landroidx/lifecycle/Lifecycle$State;)V
goto :goto_0
:cond_2
iget-object v0, p0, Landroidx/navigation/NavBackStackEntry;->_lifecycle:Landroidx/lifecycle/LifecycleRegistry;
iget-object p0, p0, Landroidx/navigation/NavBackStackEntry;->maxLifecycle:Landroidx/lifecycle/Lifecycle$State;
.line 195
invoke-virtual {v0, p0}, Landroidx/lifecycle/LifecycleRegistry;->setCurrentState(Landroidx/lifecycle/Lifecycle$State;)V
:goto_0
return-void
.end method