.class public Landroidx/fragment/app/q;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lc/b;


# instance fields
.field public final synthetic a:Landroidx/fragment/app/r;


# direct methods
.method public constructor <init>(Landroidx/fragment/app/r;)V
    .registers 2

    iput-object p1, p0, Landroidx/fragment/app/q;->a:Landroidx/fragment/app/r;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Landroid/content/Context;)V
    .registers 4

    iget-object p1, p0, Landroidx/fragment/app/q;->a:Landroidx/fragment/app/r;

    iget-object p1, p1, Landroidx/fragment/app/r;->A:Landroidx/fragment/app/y;

    .line 1
    iget-object p1, p1, Landroidx/fragment/app/y;->a:Landroidx/fragment/app/a0;

    iget-object v0, p1, Landroidx/fragment/app/a0;->u:Landroidx/fragment/app/d0;

    const/4 v1, 0x0

    invoke-virtual {v0, p1, p1, v1}, Landroidx/fragment/app/d0;->b(Landroidx/fragment/app/a0;Landroidx/fragment/app/w;Landroidx/fragment/app/o;)V

    .line 2
    iget-object p1, p0, Landroidx/fragment/app/q;->a:Landroidx/fragment/app/r;

    .line 3
    iget-object p1, p1, Landroidx/activity/ComponentActivity;->u:Landroidx/savedstate/b;

    .line 4
    iget-object p1, p1, Landroidx/savedstate/b;->b:Landroidx/savedstate/a;

    const-string v0, "android:support:fragments"

    .line 5
    invoke-virtual {p1, v0}, Landroidx/savedstate/a;->a(Ljava/lang/String;)Landroid/os/Bundle;

    move-result-object p1

    if-eqz p1, :cond_36

    invoke-virtual {p1, v0}, Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable;

    move-result-object p1

    iget-object v0, p0, Landroidx/fragment/app/q;->a:Landroidx/fragment/app/r;

    iget-object v0, v0, Landroidx/fragment/app/r;->A:Landroidx/fragment/app/y;

    .line 6
    iget-object v0, v0, Landroidx/fragment/app/y;->a:Landroidx/fragment/app/a0;

    instance-of v1, v0, Landroidx/lifecycle/f0;

    if-eqz v1, :cond_2e

    iget-object v0, v0, Landroidx/fragment/app/a0;->u:Landroidx/fragment/app/d0;

    invoke-virtual {v0, p1}, Landroidx/fragment/app/d0;->Z(Landroid/os/Parcelable;)V

    goto :goto_36

    :cond_2e
    new-instance p1, Ljava/lang/IllegalStateException;

    const-string v0, "Your FragmentHostCallback must implement ViewModelStoreOwner to call restoreSaveState(). Call restoreAllState()  if you\'re still using retainNestedNonConfig()."

    invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw p1

    :cond_36
    :goto_36
    return-void
.end method
