.class public Landroidx/fragment/app/m;
.super Landroidx/fragment/app/o;
.source ""

# interfaces
.implements Landroid/content/DialogInterface$OnCancelListener;
.implements Landroid/content/DialogInterface$OnDismissListener;


# instance fields
.field public k0:Landroid/os/Handler;

.field public l0:Ljava/lang/Runnable;

.field public m0:Landroid/content/DialogInterface$OnCancelListener;

.field public n0:Landroid/content/DialogInterface$OnDismissListener;

.field public o0:I

.field public p0:I

.field public q0:Z

.field public r0:Z

.field public s0:I

.field public t0:Z

.field public u0:Landroidx/lifecycle/u;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroidx/lifecycle/u<",
            "Landroidx/lifecycle/n;",
            ">;"
        }
    .end annotation
.end field

.field public v0:Landroid/app/Dialog;

.field public w0:Z

.field public x0:Z

.field public y0:Z

.field public z0:Z


# direct methods
.method public constructor <init>()V
    .registers 3

    invoke-direct {p0}, Landroidx/fragment/app/o;-><init>()V

    new-instance v0, Landroidx/fragment/app/m$a;

    invoke-direct {v0, p0}, Landroidx/fragment/app/m$a;-><init>(Landroidx/fragment/app/m;)V

    iput-object v0, p0, Landroidx/fragment/app/m;->l0:Ljava/lang/Runnable;

    new-instance v0, Landroidx/fragment/app/m$b;

    invoke-direct {v0, p0}, Landroidx/fragment/app/m$b;-><init>(Landroidx/fragment/app/m;)V

    iput-object v0, p0, Landroidx/fragment/app/m;->m0:Landroid/content/DialogInterface$OnCancelListener;

    new-instance v0, Landroidx/fragment/app/m$c;

    invoke-direct {v0, p0}, Landroidx/fragment/app/m$c;-><init>(Landroidx/fragment/app/m;)V

    iput-object v0, p0, Landroidx/fragment/app/m;->n0:Landroid/content/DialogInterface$OnDismissListener;

    const/4 v0, 0x0

    iput v0, p0, Landroidx/fragment/app/m;->o0:I

    iput v0, p0, Landroidx/fragment/app/m;->p0:I

    const/4 v1, 0x1

    iput-boolean v1, p0, Landroidx/fragment/app/m;->q0:Z

    iput-boolean v1, p0, Landroidx/fragment/app/m;->r0:Z

    const/4 v1, -0x1

    iput v1, p0, Landroidx/fragment/app/m;->s0:I

    new-instance v1, Landroidx/fragment/app/m$d;

    invoke-direct {v1, p0}, Landroidx/fragment/app/m$d;-><init>(Landroidx/fragment/app/m;)V

    iput-object v1, p0, Landroidx/fragment/app/m;->u0:Landroidx/lifecycle/u;

    iput-boolean v0, p0, Landroidx/fragment/app/m;->z0:Z

    return-void
.end method


# virtual methods
.method public G(Landroid/content/Context;)V
    .registers 3

    invoke-super {p0, p1}, Landroidx/fragment/app/o;->G(Landroid/content/Context;)V

    .line 1
    iget-object p1, p0, Landroidx/fragment/app/o;->f0:Landroidx/lifecycle/t;

    .line 2
    iget-object v0, p0, Landroidx/fragment/app/m;->u0:Landroidx/lifecycle/u;

    invoke-virtual {p1, v0}, Landroidx/lifecycle/LiveData;->f(Landroidx/lifecycle/u;)V

    iget-boolean p1, p0, Landroidx/fragment/app/m;->y0:Z

    if-nez p1, :cond_11

    const/4 p1, 0x0

    iput-boolean p1, p0, Landroidx/fragment/app/m;->x0:Z

    :cond_11
    return-void
.end method

.method public H(Landroid/os/Bundle;)V
    .registers 5

    invoke-super {p0, p1}, Landroidx/fragment/app/o;->H(Landroid/os/Bundle;)V

    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Landroidx/fragment/app/m;->k0:Landroid/os/Handler;

    iget v0, p0, Landroidx/fragment/app/o;->N:I

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-nez v0, :cond_12

    move v0, v1

    goto :goto_13

    :cond_12
    move v0, v2

    :goto_13
    iput-boolean v0, p0, Landroidx/fragment/app/m;->r0:Z

    if-eqz p1, :cond_42

    const-string v0, "android:style"

    invoke-virtual {p1, v0, v2}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Landroidx/fragment/app/m;->o0:I

    const-string v0, "android:theme"

    invoke-virtual {p1, v0, v2}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Landroidx/fragment/app/m;->p0:I

    const-string v0, "android:cancelable"

    invoke-virtual {p1, v0, v1}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Landroidx/fragment/app/m;->q0:Z

    iget-boolean v0, p0, Landroidx/fragment/app/m;->r0:Z

    const-string v1, "android:showsDialog"

    invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Landroidx/fragment/app/m;->r0:Z

    const/4 v0, -0x1

    const-string v1, "android:backStackId"

    invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I

    move-result p1

    iput p1, p0, Landroidx/fragment/app/m;->s0:I

    :cond_42
    return-void
.end method

.method public K()V
    .registers 3

    const/4 v0, 0x1

    .line 1
    iput-boolean v0, p0, Landroidx/fragment/app/o;->T:Z

    .line 2
    iget-object v1, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    if-eqz v1, :cond_20

    iput-boolean v0, p0, Landroidx/fragment/app/m;->w0:Z

    const/4 v0, 0x0

    invoke-virtual {v1, v0}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    iget-object v1, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    invoke-virtual {v1}, Landroid/app/Dialog;->dismiss()V

    iget-boolean v1, p0, Landroidx/fragment/app/m;->x0:Z

    if-nez v1, :cond_1b

    iget-object v1, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    invoke-virtual {p0, v1}, Landroidx/fragment/app/m;->onDismiss(Landroid/content/DialogInterface;)V

    :cond_1b
    iput-object v0, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    const/4 v0, 0x0

    iput-boolean v0, p0, Landroidx/fragment/app/m;->z0:Z

    :cond_20
    return-void
.end method

.method public L()V
    .registers 3

    const/4 v0, 0x1

    .line 1
    iput-boolean v0, p0, Landroidx/fragment/app/o;->T:Z

    .line 2
    iget-boolean v1, p0, Landroidx/fragment/app/m;->y0:Z

    if-nez v1, :cond_d

    iget-boolean v1, p0, Landroidx/fragment/app/m;->x0:Z

    if-nez v1, :cond_d

    iput-boolean v0, p0, Landroidx/fragment/app/m;->x0:Z

    .line 3
    :cond_d
    iget-object v0, p0, Landroidx/fragment/app/o;->f0:Landroidx/lifecycle/t;

    .line 4
    iget-object v1, p0, Landroidx/fragment/app/m;->u0:Landroidx/lifecycle/u;

    invoke-virtual {v0, v1}, Landroidx/lifecycle/LiveData;->i(Landroidx/lifecycle/u;)V

    return-void
.end method

.method public M(Landroid/os/Bundle;)Landroid/view/LayoutInflater;
    .registers 9

    invoke-super {p0, p1}, Landroidx/fragment/app/o;->M(Landroid/os/Bundle;)Landroid/view/LayoutInflater;

    move-result-object v0

    iget-boolean v1, p0, Landroidx/fragment/app/m;->r0:Z

    const-string v2, "FragmentManager"

    const/4 v3, 0x2

    if-eqz v1, :cond_9b

    iget-boolean v4, p0, Landroidx/fragment/app/m;->t0:Z

    if-eqz v4, :cond_11

    goto/16 :goto_9b

    :cond_11
    if-nez v1, :cond_14

    goto :goto_6f

    .line 1
    :cond_14
    iget-boolean v1, p0, Landroidx/fragment/app/m;->z0:Z

    if-nez v1, :cond_6f

    const/4 v1, 0x0

    const/4 v4, 0x1

    :try_start_1a
    iput-boolean v4, p0, Landroidx/fragment/app/m;->t0:Z

    invoke-virtual {p0, p1}, Landroidx/fragment/app/m;->i0(Landroid/os/Bundle;)Landroid/app/Dialog;

    move-result-object p1

    iput-object p1, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    iget-boolean v5, p0, Landroidx/fragment/app/m;->r0:Z

    if-eqz v5, :cond_65

    iget v5, p0, Landroidx/fragment/app/m;->o0:I

    if-eq v5, v4, :cond_3b

    if-eq v5, v3, :cond_3b

    const/4 v6, 0x3

    if-eq v5, v6, :cond_30

    goto :goto_3e

    .line 2
    :cond_30
    invoke-virtual {p1}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object v5

    if-eqz v5, :cond_3b

    const/16 v6, 0x18

    invoke-virtual {v5, v6}, Landroid/view/Window;->addFlags(I)V

    :cond_3b
    invoke-virtual {p1, v4}, Landroid/app/Dialog;->requestWindowFeature(I)Z

    .line 3
    :goto_3e
    invoke-virtual {p0}, Landroidx/fragment/app/o;->j()Landroid/content/Context;

    move-result-object p1

    instance-of v5, p1, Landroid/app/Activity;

    if-eqz v5, :cond_4d

    iget-object v5, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    check-cast p1, Landroid/app/Activity;

    invoke-virtual {v5, p1}, Landroid/app/Dialog;->setOwnerActivity(Landroid/app/Activity;)V

    :cond_4d
    iget-object p1, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    iget-boolean v5, p0, Landroidx/fragment/app/m;->q0:Z

    invoke-virtual {p1, v5}, Landroid/app/Dialog;->setCancelable(Z)V

    iget-object p1, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    iget-object v5, p0, Landroidx/fragment/app/m;->m0:Landroid/content/DialogInterface$OnCancelListener;

    invoke-virtual {p1, v5}, Landroid/app/Dialog;->setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)V

    iget-object p1, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    iget-object v5, p0, Landroidx/fragment/app/m;->n0:Landroid/content/DialogInterface$OnDismissListener;

    invoke-virtual {p1, v5}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    iput-boolean v4, p0, Landroidx/fragment/app/m;->z0:Z

    goto :goto_68

    :cond_65
    const/4 p1, 0x0

    iput-object p1, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;
    :try_end_68
    .catchall {:try_start_1a .. :try_end_68} :catchall_6b

    :goto_68
    iput-boolean v1, p0, Landroidx/fragment/app/m;->t0:Z

    goto :goto_6f

    :catchall_6b
    move-exception p1

    iput-boolean v1, p0, Landroidx/fragment/app/m;->t0:Z

    throw p1

    .line 4
    :cond_6f
    :goto_6f
    invoke-static {v3}, Landroidx/fragment/app/d0;->N(I)Z

    move-result p1

    if-eqz p1, :cond_8e

    new-instance p1, Ljava/lang/StringBuilder;

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

    const-string v1, "get layout inflater for DialogFragment "

    invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const-string v1, " from dialog context"

    invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {v2, p1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    :cond_8e
    iget-object p1, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    if-eqz p1, :cond_9a

    invoke-virtual {p1}, Landroid/app/Dialog;->getContext()Landroid/content/Context;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/view/LayoutInflater;->cloneInContext(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    :cond_9a
    return-object v0

    :cond_9b
    :goto_9b
    invoke-static {v3}, Landroidx/fragment/app/d0;->N(I)Z

    move-result p1

    if-eqz p1, :cond_d2

    new-instance p1, Ljava/lang/StringBuilder;

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

    const-string v1, "getting layout inflater for DialogFragment "

    invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    iget-boolean v1, p0, Landroidx/fragment/app/m;->r0:Z

    if-nez v1, :cond_be

    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v3, "mShowsDialog = false: "

    goto :goto_c5

    :cond_be
    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v3, "mCreatingDialog = true: "

    :goto_c5
    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {v2, p1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    :cond_d2
    return-object v0
.end method

.method public O(Landroid/os/Bundle;)V
    .registers 5

    iget-object v0, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    if-eqz v0, :cond_13

    invoke-virtual {v0}, Landroid/app/Dialog;->onSaveInstanceState()Landroid/os/Bundle;

    move-result-object v0

    const/4 v1, 0x0

    const-string v2, "android:dialogShowing"

    invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    const-string v1, "android:savedDialogState"

    invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V

    :cond_13
    iget v0, p0, Landroidx/fragment/app/m;->o0:I

    if-eqz v0, :cond_1c

    const-string v1, "android:style"

    invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    :cond_1c
    iget v0, p0, Landroidx/fragment/app/m;->p0:I

    if-eqz v0, :cond_25

    const-string v1, "android:theme"

    invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    :cond_25
    iget-boolean v0, p0, Landroidx/fragment/app/m;->q0:Z

    if-nez v0, :cond_2e

    const-string v1, "android:cancelable"

    invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    :cond_2e
    iget-boolean v0, p0, Landroidx/fragment/app/m;->r0:Z

    if-nez v0, :cond_37

    const-string v1, "android:showsDialog"

    invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    :cond_37
    iget v0, p0, Landroidx/fragment/app/m;->s0:I

    const/4 v1, -0x1

    if-eq v0, v1, :cond_41

    const-string v1, "android:backStackId"

    invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    :cond_41
    return-void
.end method

.method public P()V
    .registers 3

    const/4 v0, 0x1

    .line 1
    iput-boolean v0, p0, Landroidx/fragment/app/o;->T:Z

    .line 2
    iget-object v0, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    if-eqz v0, :cond_29

    const/4 v1, 0x0

    iput-boolean v1, p0, Landroidx/fragment/app/m;->w0:Z

    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    iget-object v0, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    invoke-virtual {v0}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v0

    const v1, 0x7f0a024d

    .line 3
    invoke-virtual {v0, v1, p0}, Landroid/view/View;->setTag(ILjava/lang/Object;)V

    const v1, 0x7f0a024f

    .line 4
    invoke-virtual {v0, v1, p0}, Landroid/view/View;->setTag(ILjava/lang/Object;)V

    const v1, 0x7f0a024e

    .line 5
    invoke-virtual {v0, v1, p0}, Landroid/view/View;->setTag(ILjava/lang/Object;)V

    :cond_29
    return-void
.end method

.method public Q()V
    .registers 2

    const/4 v0, 0x1

    .line 1
    iput-boolean v0, p0, Landroidx/fragment/app/o;->T:Z

    .line 2
    iget-object v0, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    if-eqz v0, :cond_a

    invoke-virtual {v0}, Landroid/app/Dialog;->hide()V

    :cond_a
    return-void
.end method

.method public R(Landroid/os/Bundle;)V
    .registers 3

    const/4 v0, 0x1

    .line 1
    iput-boolean v0, p0, Landroidx/fragment/app/o;->T:Z

    .line 2
    iget-object v0, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    if-eqz v0, :cond_16

    if-eqz p1, :cond_16

    const-string v0, "android:savedDialogState"

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

    move-result-object p1

    if-eqz p1, :cond_16

    iget-object v0, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    invoke-virtual {v0, p1}, Landroid/app/Dialog;->onRestoreInstanceState(Landroid/os/Bundle;)V

    :cond_16
    return-void
.end method

.method public S(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)V
    .registers 4

    invoke-super {p0, p1, p2, p3}, Landroidx/fragment/app/o;->S(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)V

    iget-object p1, p0, Landroidx/fragment/app/o;->V:Landroid/view/View;

    if-nez p1, :cond_1a

    iget-object p1, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    if-eqz p1, :cond_1a

    if-eqz p3, :cond_1a

    const-string p1, "android:savedDialogState"

    invoke-virtual {p3, p1}, Landroid/os/Bundle;->getBundle(Ljava/lang/String;)Landroid/os/Bundle;

    move-result-object p1

    if-eqz p1, :cond_1a

    iget-object p2, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    invoke-virtual {p2, p1}, Landroid/app/Dialog;->onRestoreInstanceState(Landroid/os/Bundle;)V

    :cond_1a
    return-void
.end method

.method public b()Landroidx/fragment/app/w;
    .registers 3

    .line 1
    new-instance v0, Landroidx/fragment/app/o$a;

    invoke-direct {v0, p0}, Landroidx/fragment/app/o$a;-><init>(Landroidx/fragment/app/o;)V

    .line 2
    new-instance v1, Landroidx/fragment/app/m$e;

    invoke-direct {v1, p0, v0}, Landroidx/fragment/app/m$e;-><init>(Landroidx/fragment/app/m;Landroidx/fragment/app/w;)V

    return-object v1
.end method

.method public final h0(ZZ)V
    .registers 7

    iget-boolean v0, p0, Landroidx/fragment/app/m;->x0:Z

    if-eqz v0, :cond_5

    return-void

    :cond_5
    const/4 v0, 0x1

    iput-boolean v0, p0, Landroidx/fragment/app/m;->x0:Z

    const/4 v1, 0x0

    iput-boolean v1, p0, Landroidx/fragment/app/m;->y0:Z

    iget-object v2, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    const/4 v3, 0x0

    if-eqz v2, :cond_33

    invoke-virtual {v2, v3}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    iget-object v2, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    invoke-virtual {v2}, Landroid/app/Dialog;->dismiss()V

    if-nez p2, :cond_33

    invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;

    move-result-object p2

    iget-object v2, p0, Landroidx/fragment/app/m;->k0:Landroid/os/Handler;

    invoke-virtual {v2}, Landroid/os/Handler;->getLooper()Landroid/os/Looper;

    move-result-object v2

    if-ne p2, v2, :cond_2c

    iget-object p2, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    invoke-virtual {p0, p2}, Landroidx/fragment/app/m;->onDismiss(Landroid/content/DialogInterface;)V

    goto :goto_33

    :cond_2c
    iget-object p2, p0, Landroidx/fragment/app/m;->k0:Landroid/os/Handler;

    iget-object v2, p0, Landroidx/fragment/app/m;->l0:Ljava/lang/Runnable;

    invoke-virtual {p2, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    :cond_33
    :goto_33
    iput-boolean v0, p0, Landroidx/fragment/app/m;->w0:Z

    iget p2, p0, Landroidx/fragment/app/m;->s0:I

    if-ltz p2, :cond_59

    invoke-virtual {p0}, Landroidx/fragment/app/o;->s()Landroidx/fragment/app/d0;

    move-result-object p1

    iget p2, p0, Landroidx/fragment/app/m;->s0:I

    if-ltz p2, :cond_4d

    .line 1
    new-instance v2, Landroidx/fragment/app/d0$m;

    invoke-direct {v2, p1, v3, p2, v0}, Landroidx/fragment/app/d0$m;-><init>(Landroidx/fragment/app/d0;Ljava/lang/String;II)V

    invoke-virtual {p1, v2, v1}, Landroidx/fragment/app/d0;->A(Landroidx/fragment/app/d0$l;Z)V

    const/4 p1, -0x1

    .line 2
    iput p1, p0, Landroidx/fragment/app/m;->s0:I

    goto :goto_99

    .line 3
    :cond_4d
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string v0, "Bad id: "

    invoke-static {v0, p2}, Landroidx/appcompat/widget/e0;->a(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object p2

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

    throw p1

    .line 4
    :cond_59
    invoke-virtual {p0}, Landroidx/fragment/app/o;->s()Landroidx/fragment/app/d0;

    move-result-object p2

    .line 5
    new-instance v2, Landroidx/fragment/app/b;

    invoke-direct {v2, p2}, Landroidx/fragment/app/b;-><init>(Landroidx/fragment/app/d0;)V

    .line 6
    iget-object p2, p0, Landroidx/fragment/app/o;->I:Landroidx/fragment/app/d0;

    if-eqz p2, :cond_87

    iget-object v3, v2, Landroidx/fragment/app/b;->p:Landroidx/fragment/app/d0;

    if-ne p2, v3, :cond_6b

    goto :goto_87

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

    const-string p2, "Cannot remove Fragment attached to a different FragmentManager. Fragment "

    invoke-static {p2}, Landroidx/activity/c;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p2

    invoke-virtual {p0}, Landroidx/fragment/app/o;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v0, " is already attached to a FragmentManager."

    invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p2

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

    throw p1

    .line 7
    :cond_87
    :goto_87
    new-instance p2, Landroidx/fragment/app/l0$a;

    const/4 v3, 0x3

    invoke-direct {p2, v3, p0}, Landroidx/fragment/app/l0$a;-><init>(ILandroidx/fragment/app/o;)V

    invoke-virtual {v2, p2}, Landroidx/fragment/app/l0;->b(Landroidx/fragment/app/l0$a;)V

    if-eqz p1, :cond_96

    .line 8
    invoke-virtual {v2, v0}, Landroidx/fragment/app/b;->d(Z)I

    goto :goto_99

    .line 9
    :cond_96
    invoke-virtual {v2, v1}, Landroidx/fragment/app/b;->d(Z)I

    :goto_99
    return-void
.end method

.method public i0(Landroid/os/Bundle;)Landroid/app/Dialog;
    .registers 4

    const/4 p1, 0x3

    invoke-static {p1}, Landroidx/fragment/app/d0;->N(I)Z

    move-result p1

    if-eqz p1, :cond_1d

    new-instance p1, Ljava/lang/StringBuilder;

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

    const-string v0, "onCreateDialog called for DialogFragment "

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    const-string v0, "FragmentManager"

    invoke-static {v0, p1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    :cond_1d
    new-instance p1, Landroid/app/Dialog;

    invoke-virtual {p0}, Landroidx/fragment/app/o;->W()Landroid/content/Context;

    move-result-object v0

    .line 1
    iget v1, p0, Landroidx/fragment/app/m;->p0:I

    .line 2
    invoke-direct {p1, v0, v1}, Landroid/app/Dialog;-><init>(Landroid/content/Context;I)V

    return-object p1
.end method

.method public final j0()Landroid/app/Dialog;
    .registers 4

    .line 1
    iget-object v0, p0, Landroidx/fragment/app/m;->v0:Landroid/app/Dialog;

    if-eqz v0, :cond_5

    return-object v0

    .line 2
    :cond_5
    new-instance v0, Ljava/lang/IllegalStateException;

    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v2, "DialogFragment "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const-string v2, " does not have a Dialog."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

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

    throw v0
.end method

.method public onCancel(Landroid/content/DialogInterface;)V
    .registers 2

    return-void
.end method

.method public onDismiss(Landroid/content/DialogInterface;)V
    .registers 3

    iget-boolean p1, p0, Landroidx/fragment/app/m;->w0:Z

    if-nez p1, :cond_25

    const/4 p1, 0x3

    invoke-static {p1}, Landroidx/fragment/app/d0;->N(I)Z

    move-result p1

    if-eqz p1, :cond_21

    new-instance p1, Ljava/lang/StringBuilder;

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

    const-string v0, "onDismiss called for DialogFragment "

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    const-string v0, "FragmentManager"

    invoke-static {v0, p1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    :cond_21
    const/4 p1, 0x1

    invoke-virtual {p0, p1, p1}, Landroidx/fragment/app/m;->h0(ZZ)V

    :cond_25
    return-void
.end method
