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


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Landroidx/fragment/app/d0$j;,
        Landroidx/fragment/app/d0$k;,
        Landroidx/fragment/app/d0$n;,
        Landroidx/fragment/app/d0$m;,
        Landroidx/fragment/app/d0$l;
    }
.end annotation


# instance fields
.field public A:Z

.field public B:Z

.field public C:Z

.field public D:Z

.field public E:Z

.field public F:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Landroidx/fragment/app/b;",
            ">;"
        }
    .end annotation
.end field

.field public G:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Ljava/lang/Boolean;",
            ">;"
        }
    .end annotation
.end field

.field public H:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Landroidx/fragment/app/o;",
            ">;"
        }
    .end annotation
.end field

.field public I:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Landroidx/fragment/app/d0$n;",
            ">;"
        }
    .end annotation
.end field

.field public J:Landroidx/fragment/app/g0;

.field public K:Ljava/lang/Runnable;

.field public final a:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Landroidx/fragment/app/d0$l;",
            ">;"
        }
    .end annotation
.end field

.field public b:Z

.field public final c:Landroidx/fragment/app/k0;

.field public d:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Landroidx/fragment/app/b;",
            ">;"
        }
    .end annotation
.end field

.field public e:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Landroidx/fragment/app/o;",
            ">;"
        }
    .end annotation
.end field

.field public final f:Landroidx/fragment/app/b0;

.field public g:Landroidx/activity/OnBackPressedDispatcher;

.field public final h:Landroidx/activity/d;

.field public final i:Ljava/util/concurrent/atomic/AtomicInteger;

.field public final j:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Landroid/os/Bundle;",
            ">;"
        }
    .end annotation
.end field

.field public final k:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;"
        }
    .end annotation
.end field

.field public l:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Landroidx/fragment/app/o;",
            "Ljava/util/HashSet<",
            "Lh0/b;",
            ">;>;"
        }
    .end annotation
.end field

.field public final m:Landroidx/fragment/app/s0$a;

.field public final n:Landroidx/fragment/app/c0;

.field public final o:Ljava/util/concurrent/CopyOnWriteArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/concurrent/CopyOnWriteArrayList<",
            "Landroidx/fragment/app/h0;",
            ">;"
        }
    .end annotation
.end field

.field public p:I

.field public q:Landroidx/fragment/app/a0;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroidx/fragment/app/a0<",
            "*>;"
        }
    .end annotation
.end field

.field public r:Landroidx/fragment/app/w;

.field public s:Landroidx/fragment/app/o;

.field public t:Landroidx/fragment/app/o;

.field public u:Landroidx/fragment/app/z;

.field public v:Landroidx/fragment/app/a1;

.field public w:Landroidx/activity/result/c;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroidx/activity/result/c<",
            "Landroid/content/Intent;",
            ">;"
        }
    .end annotation
.end field

.field public x:Landroidx/activity/result/c;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroidx/activity/result/c<",
            "Landroidx/activity/result/e;",
            ">;"
        }
    .end annotation
.end field

.field public y:Landroidx/activity/result/c;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroidx/activity/result/c<",
            "[",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field public z:Ljava/util/ArrayDeque;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayDeque<",
            "Landroidx/fragment/app/d0$k;",
            ">;"
        }
    .end annotation
.end field


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

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

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Landroidx/fragment/app/d0;->a:Ljava/util/ArrayList;

    new-instance v0, Landroidx/fragment/app/k0;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Landroidx/fragment/app/k0;-><init>(I)V

    iput-object v0, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    new-instance v0, Landroidx/fragment/app/b0;

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

    iput-object v0, p0, Landroidx/fragment/app/d0;->f:Landroidx/fragment/app/b0;

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

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

    iput-object v0, p0, Landroidx/fragment/app/d0;->h:Landroidx/activity/d;

    new-instance v0, Ljava/util/concurrent/atomic/AtomicInteger;

    invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>()V

    iput-object v0, p0, Landroidx/fragment/app/d0;->i:Ljava/util/concurrent/atomic/AtomicInteger;

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    invoke-static {v0}, Ljava/util/Collections;->synchronizedMap(Ljava/util/Map;)Ljava/util/Map;

    move-result-object v0

    iput-object v0, p0, Landroidx/fragment/app/d0;->j:Ljava/util/Map;

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    invoke-static {v0}, Ljava/util/Collections;->synchronizedMap(Ljava/util/Map;)Ljava/util/Map;

    move-result-object v0

    iput-object v0, p0, Landroidx/fragment/app/d0;->k:Ljava/util/Map;

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    invoke-static {v0}, Ljava/util/Collections;->synchronizedMap(Ljava/util/Map;)Ljava/util/Map;

    move-result-object v0

    iput-object v0, p0, Landroidx/fragment/app/d0;->l:Ljava/util/Map;

    new-instance v0, Landroidx/fragment/app/d0$d;

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

    iput-object v0, p0, Landroidx/fragment/app/d0;->m:Landroidx/fragment/app/s0$a;

    new-instance v0, Landroidx/fragment/app/c0;

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

    iput-object v0, p0, Landroidx/fragment/app/d0;->n:Landroidx/fragment/app/c0;

    new-instance v0, Ljava/util/concurrent/CopyOnWriteArrayList;

    invoke-direct {v0}, Ljava/util/concurrent/CopyOnWriteArrayList;-><init>()V

    iput-object v0, p0, Landroidx/fragment/app/d0;->o:Ljava/util/concurrent/CopyOnWriteArrayList;

    const/4 v0, -0x1

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

    new-instance v0, Landroidx/fragment/app/d0$e;

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

    iput-object v0, p0, Landroidx/fragment/app/d0;->u:Landroidx/fragment/app/z;

    new-instance v0, Landroidx/fragment/app/d0$f;

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

    iput-object v0, p0, Landroidx/fragment/app/d0;->v:Landroidx/fragment/app/a1;

    new-instance v0, Ljava/util/ArrayDeque;

    invoke-direct {v0}, Ljava/util/ArrayDeque;-><init>()V

    iput-object v0, p0, Landroidx/fragment/app/d0;->z:Ljava/util/ArrayDeque;

    new-instance v0, Landroidx/fragment/app/d0$g;

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

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

    return-void
.end method

.method public static N(I)Z
    .registers 2

    const-string v0, "FragmentManager"

    invoke-static {v0, p0}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z

    move-result p0

    if-eqz p0, :cond_a

    const/4 p0, 0x1

    goto :goto_b

    :cond_a
    const/4 p0, 0x0

    :goto_b
    return p0
.end method


# virtual methods
.method public A(Landroidx/fragment/app/d0$l;Z)V
    .registers 5

    if-nez p2, :cond_29

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

    if-nez v0, :cond_1a

    iget-boolean p1, p0, Landroidx/fragment/app/d0;->D:Z

    if-eqz p1, :cond_12

    new-instance p1, Ljava/lang/IllegalStateException;

    const-string p2, "FragmentManager has been destroyed"

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

    throw p1

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

    const-string p2, "FragmentManager has not been attached to a host."

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

    throw p1

    .line 1
    :cond_1a
    invoke-virtual {p0}, Landroidx/fragment/app/d0;->R()Z

    move-result v0

    if-nez v0, :cond_21

    goto :goto_29

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

    const-string p2, "Can not perform this action after onSaveInstanceState"

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

    throw p1

    .line 2
    :cond_29
    :goto_29
    iget-object v0, p0, Landroidx/fragment/app/d0;->a:Ljava/util/ArrayList;

    monitor-enter v0

    :try_start_2c
    iget-object v1, p0, Landroidx/fragment/app/d0;->q:Landroidx/fragment/app/a0;

    if-nez v1, :cond_3c

    if-eqz p2, :cond_34

    monitor-exit v0

    return-void

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

    const-string p2, "Activity has been destroyed"

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

    throw p1

    :cond_3c
    iget-object p2, p0, Landroidx/fragment/app/d0;->a:Ljava/util/ArrayList;

    invoke-virtual {p2, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

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

    monitor-exit v0

    return-void

    :catchall_46
    move-exception p1

    monitor-exit v0
    :try_end_48
    .catchall {:try_start_2c .. :try_end_48} :catchall_46

    throw p1
.end method

.method public final B(Z)V
    .registers 4

    iget-boolean v0, p0, Landroidx/fragment/app/d0;->b:Z

    if-nez v0, :cond_64

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

    if-nez v0, :cond_1c

    iget-boolean p1, p0, Landroidx/fragment/app/d0;->D:Z

    if-eqz p1, :cond_14

    new-instance p1, Ljava/lang/IllegalStateException;

    const-string v0, "FragmentManager has been destroyed"

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

    throw p1

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

    const-string v0, "FragmentManager has not been attached to a host."

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

    throw p1

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

    move-result-object v0

    iget-object v1, p0, Landroidx/fragment/app/d0;->q:Landroidx/fragment/app/a0;

    .line 1
    iget-object v1, v1, Landroidx/fragment/app/a0;->t:Landroid/os/Handler;

    .line 2
    invoke-virtual {v1}, Landroid/os/Handler;->getLooper()Landroid/os/Looper;

    move-result-object v1

    if-ne v0, v1, :cond_5c

    if-nez p1, :cond_3b

    .line 3
    invoke-virtual {p0}, Landroidx/fragment/app/d0;->R()Z

    move-result p1

    if-nez p1, :cond_33

    goto :goto_3b

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

    const-string v0, "Can not perform this action after onSaveInstanceState"

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

    throw p1

    .line 4
    :cond_3b
    :goto_3b
    iget-object p1, p0, Landroidx/fragment/app/d0;->F:Ljava/util/ArrayList;

    if-nez p1, :cond_4d

    new-instance p1, Ljava/util/ArrayList;

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

    iput-object p1, p0, Landroidx/fragment/app/d0;->F:Ljava/util/ArrayList;

    new-instance p1, Ljava/util/ArrayList;

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

    iput-object p1, p0, Landroidx/fragment/app/d0;->G:Ljava/util/ArrayList;

    :cond_4d
    const/4 p1, 0x1

    iput-boolean p1, p0, Landroidx/fragment/app/d0;->b:Z

    const/4 p1, 0x0

    const/4 v0, 0x0

    :try_start_52
    invoke-virtual {p0, v0, v0}, Landroidx/fragment/app/d0;->F(Ljava/util/ArrayList;Ljava/util/ArrayList;)V
    :try_end_55
    .catchall {:try_start_52 .. :try_end_55} :catchall_58

    iput-boolean p1, p0, Landroidx/fragment/app/d0;->b:Z

    return-void

    :catchall_58
    move-exception v0

    iput-boolean p1, p0, Landroidx/fragment/app/d0;->b:Z

    throw v0

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

    const-string v0, "Must be called from main thread of fragment host"

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

    throw p1

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

    const-string v0, "FragmentManager is already executing transactions"

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

    throw p1
.end method

.method public C(Z)Z
    .registers 11

    invoke-virtual {p0, p1}, Landroidx/fragment/app/d0;->B(Z)V

    const/4 p1, 0x0

    const/4 v0, 0x1

    move v1, p1

    :goto_6
    iget-object v2, p0, Landroidx/fragment/app/d0;->F:Ljava/util/ArrayList;

    iget-object v3, p0, Landroidx/fragment/app/d0;->G:Ljava/util/ArrayList;

    .line 1
    iget-object v4, p0, Landroidx/fragment/app/d0;->a:Ljava/util/ArrayList;

    monitor-enter v4

    :try_start_d
    iget-object v5, p0, Landroidx/fragment/app/d0;->a:Ljava/util/ArrayList;

    invoke-virtual {v5}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v5

    if-eqz v5, :cond_18

    monitor-exit v4

    move v7, p1

    goto :goto_41

    :cond_18
    iget-object v5, p0, Landroidx/fragment/app/d0;->a:Ljava/util/ArrayList;

    invoke-virtual {v5}, Ljava/util/ArrayList;->size()I

    move-result v5

    move v6, p1

    move v7, v6

    :goto_20
    if-ge v6, v5, :cond_32

    iget-object v8, p0, Landroidx/fragment/app/d0;->a:Ljava/util/ArrayList;

    invoke-virtual {v8, v6}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Landroidx/fragment/app/d0$l;

    invoke-interface {v8, v2, v3}, Landroidx/fragment/app/d0$l;->a(Ljava/util/ArrayList;Ljava/util/ArrayList;)Z

    move-result v8

    or-int/2addr v7, v8

    add-int/lit8 v6, v6, 0x1

    goto :goto_20

    :cond_32
    iget-object v2, p0, Landroidx/fragment/app/d0;->a:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->clear()V

    iget-object v2, p0, Landroidx/fragment/app/d0;->q:Landroidx/fragment/app/a0;

    .line 2
    iget-object v2, v2, Landroidx/fragment/app/a0;->t:Landroid/os/Handler;

    .line 3
    iget-object v3, p0, Landroidx/fragment/app/d0;->K:Ljava/lang/Runnable;

    invoke-virtual {v2, v3}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    monitor-exit v4
    :try_end_41
    .catchall {:try_start_d .. :try_end_41} :catchall_62

    :goto_41
    if-eqz v7, :cond_56

    .line 4
    iput-boolean v0, p0, Landroidx/fragment/app/d0;->b:Z

    :try_start_45
    iget-object v1, p0, Landroidx/fragment/app/d0;->F:Ljava/util/ArrayList;

    iget-object v2, p0, Landroidx/fragment/app/d0;->G:Ljava/util/ArrayList;

    invoke-virtual {p0, v1, v2}, Landroidx/fragment/app/d0;->Y(Ljava/util/ArrayList;Ljava/util/ArrayList;)V
    :try_end_4c
    .catchall {:try_start_45 .. :try_end_4c} :catchall_51

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

    move v1, v0

    goto :goto_6

    :catchall_51
    move-exception p1

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

    throw p1

    :cond_56
    invoke-virtual {p0}, Landroidx/fragment/app/d0;->i0()V

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

    iget-object p1, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {p1}, Landroidx/fragment/app/k0;->c()V

    return v1

    :catchall_62
    move-exception p1

    .line 5
    :try_start_63
    monitor-exit v4
    :try_end_64
    .catchall {:try_start_63 .. :try_end_64} :catchall_62

    throw p1
.end method

.method public D(Landroidx/fragment/app/d0$l;Z)V
    .registers 4

    if-eqz p2, :cond_b

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

    if-eqz v0, :cond_a

    iget-boolean v0, p0, Landroidx/fragment/app/d0;->D:Z

    if-eqz v0, :cond_b

    :cond_a
    return-void

    :cond_b
    invoke-virtual {p0, p2}, Landroidx/fragment/app/d0;->B(Z)V

    iget-object p2, p0, Landroidx/fragment/app/d0;->F:Ljava/util/ArrayList;

    iget-object v0, p0, Landroidx/fragment/app/d0;->G:Ljava/util/ArrayList;

    check-cast p1, Landroidx/fragment/app/b;

    invoke-virtual {p1, p2, v0}, Landroidx/fragment/app/b;->a(Ljava/util/ArrayList;Ljava/util/ArrayList;)Z

    const/4 p1, 0x1

    iput-boolean p1, p0, Landroidx/fragment/app/d0;->b:Z

    :try_start_1a
    iget-object p1, p0, Landroidx/fragment/app/d0;->F:Ljava/util/ArrayList;

    iget-object p2, p0, Landroidx/fragment/app/d0;->G:Ljava/util/ArrayList;

    invoke-virtual {p0, p1, p2}, Landroidx/fragment/app/d0;->Y(Ljava/util/ArrayList;Ljava/util/ArrayList;)V
    :try_end_21
    .catchall {:try_start_1a .. :try_end_21} :catchall_30

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

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

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

    iget-object p1, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {p1}, Landroidx/fragment/app/k0;->c()V

    return-void

    :catchall_30
    move-exception p1

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

    throw p1
.end method

.method public final E(Ljava/util/ArrayList;Ljava/util/ArrayList;II)V
    .registers 24
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList<",
            "Landroidx/fragment/app/b;",
            ">;",
            "Ljava/util/ArrayList<",
            "Ljava/lang/Boolean;",
            ">;II)V"
        }
    .end annotation

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-object/from16 v2, p2

    move/from16 v3, p3

    move/from16 v4, p4

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Landroidx/fragment/app/b;

    iget-boolean v5, v5, Landroidx/fragment/app/l0;->o:Z

    iget-object v6, v0, Landroidx/fragment/app/d0;->H:Ljava/util/ArrayList;

    if-nez v6, :cond_1e

    new-instance v6, Ljava/util/ArrayList;

    invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V

    iput-object v6, v0, Landroidx/fragment/app/d0;->H:Ljava/util/ArrayList;

    goto :goto_21

    :cond_1e
    invoke-virtual {v6}, Ljava/util/ArrayList;->clear()V

    :goto_21
    iget-object v6, v0, Landroidx/fragment/app/d0;->H:Ljava/util/ArrayList;

    iget-object v7, v0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v7}, Landroidx/fragment/app/k0;->o()Ljava/util/List;

    move-result-object v7

    invoke-virtual {v6, v7}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    .line 1
    iget-object v6, v0, Landroidx/fragment/app/d0;->t:Landroidx/fragment/app/o;

    move v8, v3

    const/4 v9, 0x0

    :goto_30
    const/4 v11, 0x1

    if-ge v8, v4, :cond_171

    .line 2
    invoke-virtual {v1, v8}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Landroidx/fragment/app/b;

    invoke-virtual {v2, v8}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v13

    check-cast v13, Ljava/lang/Boolean;

    invoke-virtual {v13}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v13

    const/4 v15, 0x3

    if-nez v13, :cond_126

    iget-object v13, v0, Landroidx/fragment/app/d0;->H:Ljava/util/ArrayList;

    const/4 v7, 0x0

    .line 3
    :goto_49
    iget-object v14, v12, Landroidx/fragment/app/l0;->a:Ljava/util/ArrayList;

    invoke-virtual {v14}, Ljava/util/ArrayList;->size()I

    move-result v14

    if-ge v7, v14, :cond_15f

    iget-object v14, v12, Landroidx/fragment/app/l0;->a:Ljava/util/ArrayList;

    invoke-virtual {v14, v7}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v14

    check-cast v14, Landroidx/fragment/app/l0$a;

    iget v10, v14, Landroidx/fragment/app/l0$a;->a:I

    if-eq v10, v11, :cond_117

    const/4 v11, 0x2

    const/16 v3, 0x9

    if-eq v10, v11, :cond_9c

    if-eq v10, v15, :cond_83

    const/4 v11, 0x6

    if-eq v10, v11, :cond_83

    const/4 v11, 0x7

    if-eq v10, v11, :cond_80

    const/16 v11, 0x8

    if-eq v10, v11, :cond_70

    goto/16 :goto_10e

    :cond_70
    iget-object v10, v12, Landroidx/fragment/app/l0;->a:Ljava/util/ArrayList;

    new-instance v11, Landroidx/fragment/app/l0$a;

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

    invoke-virtual {v10, v7, v11}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    add-int/lit8 v7, v7, 0x1

    iget-object v6, v14, Landroidx/fragment/app/l0$a;->b:Landroidx/fragment/app/o;

    goto/16 :goto_10e

    :cond_80
    const/4 v2, 0x1

    goto/16 :goto_118

    :cond_83
    iget-object v10, v14, Landroidx/fragment/app/l0$a;->b:Landroidx/fragment/app/o;

    invoke-virtual {v13, v10}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    iget-object v10, v14, Landroidx/fragment/app/l0$a;->b:Landroidx/fragment/app/o;

    if-ne v10, v6, :cond_10e

    iget-object v6, v12, Landroidx/fragment/app/l0;->a:Ljava/util/ArrayList;

    new-instance v11, Landroidx/fragment/app/l0$a;

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

    invoke-virtual {v6, v7, v11}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    add-int/lit8 v7, v7, 0x1

    const/4 v2, 0x1

    const/4 v6, 0x0

    goto/16 :goto_11d

    :cond_9c
    iget-object v10, v14, Landroidx/fragment/app/l0$a;->b:Landroidx/fragment/app/o;

    iget v11, v10, Landroidx/fragment/app/o;->N:I

    invoke-virtual {v13}, Ljava/util/ArrayList;->size()I

    move-result v17

    const/16 v16, -0x1

    add-int/lit8 v17, v17, -0x1

    move/from16 v15, v17

    const/16 v17, 0x0

    :goto_ac
    if-ltz v15, :cond_105

    invoke-virtual {v13, v15}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v18

    move-object/from16 v3, v18

    check-cast v3, Landroidx/fragment/app/o;

    iget v2, v3, Landroidx/fragment/app/o;->N:I

    if-ne v2, v11, :cond_fa

    if-ne v3, v10, :cond_c1

    move/from16 v18, v11

    const/16 v17, 0x1

    goto :goto_fc

    :cond_c1
    if-ne v3, v6, :cond_d5

    iget-object v2, v12, Landroidx/fragment/app/l0;->a:Ljava/util/ArrayList;

    new-instance v6, Landroidx/fragment/app/l0$a;

    move/from16 v18, v11

    const/16 v11, 0x9

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

    invoke-virtual {v2, v7, v6}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    add-int/lit8 v7, v7, 0x1

    const/4 v6, 0x0

    goto :goto_d9

    :cond_d5
    move/from16 v18, v11

    const/16 v11, 0x9

    :goto_d9
    new-instance v2, Landroidx/fragment/app/l0$a;

    const/4 v11, 0x3

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

    iget v11, v14, Landroidx/fragment/app/l0$a;->c:I

    iput v11, v2, Landroidx/fragment/app/l0$a;->c:I

    iget v11, v14, Landroidx/fragment/app/l0$a;->e:I

    iput v11, v2, Landroidx/fragment/app/l0$a;->e:I

    iget v11, v14, Landroidx/fragment/app/l0$a;->d:I

    iput v11, v2, Landroidx/fragment/app/l0$a;->d:I

    iget v11, v14, Landroidx/fragment/app/l0$a;->f:I

    iput v11, v2, Landroidx/fragment/app/l0$a;->f:I

    iget-object v11, v12, Landroidx/fragment/app/l0;->a:Ljava/util/ArrayList;

    invoke-virtual {v11, v7, v2}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    invoke-virtual {v13, v3}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    const/4 v2, 0x1

    add-int/2addr v7, v2

    goto :goto_fc

    :cond_fa
    move/from16 v18, v11

    :goto_fc
    add-int/lit8 v15, v15, -0x1

    move-object/from16 v2, p2

    move/from16 v11, v18

    const/16 v3, 0x9

    goto :goto_ac

    :cond_105
    if-eqz v17, :cond_110

    iget-object v2, v12, Landroidx/fragment/app/l0;->a:Ljava/util/ArrayList;

    invoke-virtual {v2, v7}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    add-int/lit8 v7, v7, -0x1

    :cond_10e
    :goto_10e
    const/4 v2, 0x1

    goto :goto_11d

    :cond_110
    const/4 v2, 0x1

    iput v2, v14, Landroidx/fragment/app/l0$a;->a:I

    invoke-virtual {v13, v10}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_11d

    :cond_117
    move v2, v11

    :goto_118
    iget-object v3, v14, Landroidx/fragment/app/l0$a;->b:Landroidx/fragment/app/o;

    invoke-virtual {v13, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :goto_11d
    add-int/2addr v7, v2

    move/from16 v3, p3

    move v11, v2

    const/4 v15, 0x3

    move-object/from16 v2, p2

    goto/16 :goto_49

    :cond_126
    move v2, v11

    .line 4
    iget-object v3, v0, Landroidx/fragment/app/d0;->H:Ljava/util/ArrayList;

    .line 5
    iget-object v7, v12, Landroidx/fragment/app/l0;->a:Ljava/util/ArrayList;

    invoke-virtual {v7}, Ljava/util/ArrayList;->size()I

    move-result v7

    sub-int/2addr v7, v2

    :goto_130
    if-ltz v7, :cond_15f

    iget-object v10, v12, Landroidx/fragment/app/l0;->a:Ljava/util/ArrayList;

    invoke-virtual {v10, v7}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v10

    check-cast v10, Landroidx/fragment/app/l0$a;

    iget v11, v10, Landroidx/fragment/app/l0$a;->a:I

    if-eq v11, v2, :cond_155

    const/4 v2, 0x3

    if-eq v11, v2, :cond_14f

    packed-switch v11, :pswitch_data_2b8

    goto :goto_15b

    :pswitch_145
    iget-object v11, v10, Landroidx/fragment/app/l0$a;->g:Landroidx/lifecycle/i$c;

    iput-object v11, v10, Landroidx/fragment/app/l0$a;->h:Landroidx/lifecycle/i$c;

    goto :goto_15b

    :pswitch_14a
    iget-object v6, v10, Landroidx/fragment/app/l0$a;->b:Landroidx/fragment/app/o;

    goto :goto_15b

    :pswitch_14d
    const/4 v6, 0x0

    goto :goto_15b

    :cond_14f
    :pswitch_14f
    iget-object v10, v10, Landroidx/fragment/app/l0$a;->b:Landroidx/fragment/app/o;

    invoke-virtual {v3, v10}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_15b

    :cond_155
    const/4 v2, 0x3

    :pswitch_156
    iget-object v10, v10, Landroidx/fragment/app/l0$a;->b:Landroidx/fragment/app/o;

    invoke-virtual {v3, v10}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    :goto_15b
    add-int/lit8 v7, v7, -0x1

    const/4 v2, 0x1

    goto :goto_130

    :cond_15f
    if-nez v9, :cond_168

    .line 6
    iget-boolean v2, v12, Landroidx/fragment/app/l0;->g:Z

    if-eqz v2, :cond_166

    goto :goto_168

    :cond_166
    const/4 v9, 0x0

    goto :goto_169

    :cond_168
    :goto_168
    const/4 v9, 0x1

    :goto_169
    add-int/lit8 v8, v8, 0x1

    move-object/from16 v2, p2

    move/from16 v3, p3

    goto/16 :goto_30

    :cond_171
    iget-object v2, v0, Landroidx/fragment/app/d0;->H:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->clear()V

    if-nez v5, :cond_1ae

    iget v2, v0, Landroidx/fragment/app/d0;->p:I

    const/4 v3, 0x1

    if-lt v2, v3, :cond_1ae

    move/from16 v2, p3

    :goto_17f
    if-ge v2, v4, :cond_1ae

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroidx/fragment/app/b;

    iget-object v3, v3, Landroidx/fragment/app/l0;->a:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :cond_18d
    :goto_18d
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-eqz v5, :cond_1ab

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Landroidx/fragment/app/l0$a;

    iget-object v5, v5, Landroidx/fragment/app/l0$a;->b:Landroidx/fragment/app/o;

    if-eqz v5, :cond_18d

    iget-object v6, v5, Landroidx/fragment/app/o;->I:Landroidx/fragment/app/d0;

    if-eqz v6, :cond_18d

    invoke-virtual {v0, v5}, Landroidx/fragment/app/d0;->h(Landroidx/fragment/app/o;)Landroidx/fragment/app/j0;

    move-result-object v5

    iget-object v6, v0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v6, v5}, Landroidx/fragment/app/k0;->p(Landroidx/fragment/app/j0;)V

    goto :goto_18d

    :cond_1ab
    add-int/lit8 v2, v2, 0x1

    goto :goto_17f

    :cond_1ae
    move/from16 v2, p3

    :goto_1b0
    if-ge v2, v4, :cond_1df

    .line 7
    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroidx/fragment/app/b;

    move-object/from16 v5, p2

    invoke-virtual {v5, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Ljava/lang/Boolean;

    invoke-virtual {v6}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v6

    if-eqz v6, :cond_1d5

    const/4 v6, -0x1

    invoke-virtual {v3, v6}, Landroidx/fragment/app/b;->c(I)V

    add-int/lit8 v6, v4, -0x1

    if-ne v2, v6, :cond_1d0

    const/4 v6, 0x1

    goto :goto_1d1

    :cond_1d0
    const/4 v6, 0x0

    :goto_1d1
    invoke-virtual {v3, v6}, Landroidx/fragment/app/b;->h(Z)V

    goto :goto_1dc

    :cond_1d5
    const/4 v6, 0x1

    invoke-virtual {v3, v6}, Landroidx/fragment/app/b;->c(I)V

    invoke-virtual {v3}, Landroidx/fragment/app/b;->g()V

    :goto_1dc
    add-int/lit8 v2, v2, 0x1

    goto :goto_1b0

    :cond_1df
    move-object/from16 v5, p2

    add-int/lit8 v2, v4, -0x1

    .line 8
    invoke-virtual {v5, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/Boolean;

    invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v2

    move/from16 v3, p3

    :goto_1ef
    if-ge v3, v4, :cond_23a

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Landroidx/fragment/app/b;

    if-eqz v2, :cond_219

    iget-object v7, v6, Landroidx/fragment/app/l0;->a:Ljava/util/ArrayList;

    invoke-virtual {v7}, Ljava/util/ArrayList;->size()I

    move-result v7

    const/4 v8, 0x1

    sub-int/2addr v7, v8

    :goto_201
    if-ltz v7, :cond_237

    iget-object v8, v6, Landroidx/fragment/app/l0;->a:Ljava/util/ArrayList;

    invoke-virtual {v8, v7}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Landroidx/fragment/app/l0$a;

    iget-object v8, v8, Landroidx/fragment/app/l0$a;->b:Landroidx/fragment/app/o;

    if-eqz v8, :cond_216

    invoke-virtual {v0, v8}, Landroidx/fragment/app/d0;->h(Landroidx/fragment/app/o;)Landroidx/fragment/app/j0;

    move-result-object v8

    invoke-virtual {v8}, Landroidx/fragment/app/j0;->k()V

    :cond_216
    add-int/lit8 v7, v7, -0x1

    goto :goto_201

    :cond_219
    iget-object v6, v6, Landroidx/fragment/app/l0;->a:Ljava/util/ArrayList;

    invoke-virtual {v6}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v6

    :cond_21f
    :goto_21f
    invoke-interface {v6}, Ljava/util/Iterator;->hasNext()Z

    move-result v7

    if-eqz v7, :cond_237

    invoke-interface {v6}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Landroidx/fragment/app/l0$a;

    iget-object v7, v7, Landroidx/fragment/app/l0$a;->b:Landroidx/fragment/app/o;

    if-eqz v7, :cond_21f

    invoke-virtual {v0, v7}, Landroidx/fragment/app/d0;->h(Landroidx/fragment/app/o;)Landroidx/fragment/app/j0;

    move-result-object v7

    invoke-virtual {v7}, Landroidx/fragment/app/j0;->k()V

    goto :goto_21f

    :cond_237
    add-int/lit8 v3, v3, 0x1

    goto :goto_1ef

    :cond_23a
    iget v3, v0, Landroidx/fragment/app/d0;->p:I

    const/4 v6, 0x1

    invoke-virtual {v0, v3, v6}, Landroidx/fragment/app/d0;->S(IZ)V

    .line 9
    new-instance v3, Ljava/util/HashSet;

    invoke-direct {v3}, Ljava/util/HashSet;-><init>()V

    move/from16 v6, p3

    :goto_247
    if-ge v6, v4, :cond_278

    invoke-virtual {v1, v6}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Landroidx/fragment/app/b;

    iget-object v7, v7, Landroidx/fragment/app/l0;->a:Ljava/util/ArrayList;

    invoke-virtual {v7}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v7

    :cond_255
    :goto_255
    invoke-interface {v7}, Ljava/util/Iterator;->hasNext()Z

    move-result v8

    if-eqz v8, :cond_275

    invoke-interface {v7}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Landroidx/fragment/app/l0$a;

    iget-object v8, v8, Landroidx/fragment/app/l0$a;->b:Landroidx/fragment/app/o;

    if-eqz v8, :cond_255

    iget-object v8, v8, Landroidx/fragment/app/o;->U:Landroid/view/ViewGroup;

    if-eqz v8, :cond_255

    .line 10
    invoke-virtual/range {p0 .. p0}, Landroidx/fragment/app/d0;->L()Landroidx/fragment/app/a1;

    move-result-object v9

    invoke-static {v8, v9}, Landroidx/fragment/app/z0;->g(Landroid/view/ViewGroup;Landroidx/fragment/app/a1;)Landroidx/fragment/app/z0;

    move-result-object v8

    .line 11
    invoke-virtual {v3, v8}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z

    goto :goto_255

    :cond_275
    add-int/lit8 v6, v6, 0x1

    goto :goto_247

    .line 12
    :cond_278
    invoke-virtual {v3}, Ljava/util/HashSet;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :goto_27c
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v6

    if-eqz v6, :cond_291

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Landroidx/fragment/app/z0;

    .line 13
    iput-boolean v2, v6, Landroidx/fragment/app/z0;->d:Z

    .line 14
    invoke-virtual {v6}, Landroidx/fragment/app/z0;->h()V

    invoke-virtual {v6}, Landroidx/fragment/app/z0;->c()V

    goto :goto_27c

    :cond_291
    move/from16 v2, p3

    :goto_293
    if-ge v2, v4, :cond_2b6

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroidx/fragment/app/b;

    invoke-virtual {v5, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Ljava/lang/Boolean;

    invoke-virtual {v6}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v6

    if-eqz v6, :cond_2af

    iget v6, v3, Landroidx/fragment/app/b;->r:I

    if-ltz v6, :cond_2af

    const/4 v6, -0x1

    iput v6, v3, Landroidx/fragment/app/b;->r:I

    goto :goto_2b0

    :cond_2af
    const/4 v6, -0x1

    .line 15
    :goto_2b0
    invoke-static {v3}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    add-int/lit8 v2, v2, 0x1

    goto :goto_293

    :cond_2b6
    return-void

    nop

    :pswitch_data_2b8
    .packed-switch 0x6
        :pswitch_14f
        :pswitch_156
        :pswitch_14d
        :pswitch_14a
        :pswitch_145
    .end packed-switch
.end method

.method public final F(Ljava/util/ArrayList;Ljava/util/ArrayList;)V
    .registers 11
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList<",
            "Landroidx/fragment/app/b;",
            ">;",
            "Ljava/util/ArrayList<",
            "Ljava/lang/Boolean;",
            ">;)V"
        }
    .end annotation

    iget-object v0, p0, Landroidx/fragment/app/d0;->I:Ljava/util/ArrayList;

    const/4 v1, 0x0

    if-nez v0, :cond_7

    move v0, v1

    goto :goto_b

    :cond_7
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    :goto_b
    move v2, v1

    :goto_c
    if-ge v2, v0, :cond_89

    iget-object v3, p0, Landroidx/fragment/app/d0;->I:Ljava/util/ArrayList;

    invoke-virtual {v3, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroidx/fragment/app/d0$n;

    const/4 v4, 0x1

    const/4 v5, -0x1

    if-eqz p1, :cond_3e

    iget-boolean v6, v3, Landroidx/fragment/app/d0$n;->a:Z

    if-nez v6, :cond_3e

    iget-object v6, v3, Landroidx/fragment/app/d0$n;->b:Landroidx/fragment/app/b;

    invoke-virtual {p1, v6}, Ljava/util/ArrayList;->indexOf(Ljava/lang/Object;)I

    move-result v6

    if-eq v6, v5, :cond_3e

    if-eqz p2, :cond_3e

    invoke-virtual {p2, v6}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Ljava/lang/Boolean;

    invoke-virtual {v6}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v6

    if-eqz v6, :cond_3e

    iget-object v5, p0, Landroidx/fragment/app/d0;->I:Ljava/util/ArrayList;

    invoke-virtual {v5, v2}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    add-int/lit8 v2, v2, -0x1

    add-int/lit8 v0, v0, -0x1

    goto :goto_7a

    .line 1
    :cond_3e
    iget v6, v3, Landroidx/fragment/app/d0$n;->c:I

    if-nez v6, :cond_44

    move v6, v4

    goto :goto_45

    :cond_44
    move v6, v1

    :goto_45
    if-nez v6, :cond_55

    if-eqz p1, :cond_87

    .line 2
    iget-object v6, v3, Landroidx/fragment/app/d0$n;->b:Landroidx/fragment/app/b;

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v7

    invoke-virtual {v6, p1, v1, v7}, Landroidx/fragment/app/b;->j(Ljava/util/ArrayList;II)Z

    move-result v6

    if-eqz v6, :cond_87

    :cond_55
    iget-object v6, p0, Landroidx/fragment/app/d0;->I:Ljava/util/ArrayList;

    invoke-virtual {v6, v2}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    add-int/lit8 v2, v2, -0x1

    add-int/lit8 v0, v0, -0x1

    if-eqz p1, :cond_84

    iget-boolean v6, v3, Landroidx/fragment/app/d0$n;->a:Z

    if-nez v6, :cond_84

    iget-object v6, v3, Landroidx/fragment/app/d0$n;->b:Landroidx/fragment/app/b;

    invoke-virtual {p1, v6}, Ljava/util/ArrayList;->indexOf(Ljava/lang/Object;)I

    move-result v6

    if-eq v6, v5, :cond_84

    if-eqz p2, :cond_84

    invoke-virtual {p2, v6}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/lang/Boolean;

    invoke-virtual {v5}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v5

    if-eqz v5, :cond_84

    .line 3
    :goto_7a
    iget-object v5, v3, Landroidx/fragment/app/d0$n;->b:Landroidx/fragment/app/b;

    iget-object v6, v5, Landroidx/fragment/app/b;->p:Landroidx/fragment/app/d0;

    iget-boolean v3, v3, Landroidx/fragment/app/d0$n;->a:Z

    invoke-virtual {v6, v5, v3, v1, v1}, Landroidx/fragment/app/d0;->g(Landroidx/fragment/app/b;ZZZ)V

    goto :goto_87

    .line 4
    :cond_84
    invoke-virtual {v3}, Landroidx/fragment/app/d0$n;->a()V

    :cond_87
    :goto_87
    add-int/2addr v2, v4

    goto :goto_c

    :cond_89
    return-void
.end method

.method public G(Ljava/lang/String;)Landroidx/fragment/app/o;
    .registers 3

    iget-object v0, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v0, p1}, Landroidx/fragment/app/k0;->h(Ljava/lang/String;)Landroidx/fragment/app/o;

    move-result-object p1

    return-object p1
.end method

.method public H(I)Landroidx/fragment/app/o;
    .registers 6

    iget-object v0, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    .line 1
    iget-object v1, v0, Landroidx/fragment/app/k0;->s:Ljava/lang/Object;

    check-cast v1, Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    :cond_a
    add-int/lit8 v1, v1, -0x1

    if-ltz v1, :cond_1f

    iget-object v2, v0, Landroidx/fragment/app/k0;->s:Ljava/lang/Object;

    check-cast v2, Ljava/util/ArrayList;

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Landroidx/fragment/app/o;

    if-eqz v2, :cond_a

    iget v3, v2, Landroidx/fragment/app/o;->M:I

    if-ne v3, p1, :cond_a

    goto :goto_41

    :cond_1f
    iget-object v0, v0, Landroidx/fragment/app/k0;->t:Ljava/lang/Object;

    check-cast v0, Ljava/util/HashMap;

    invoke-virtual {v0}, Ljava/util/HashMap;->values()Ljava/util/Collection;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_2b
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_40

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroidx/fragment/app/j0;

    if-eqz v1, :cond_2b

    .line 2
    iget-object v2, v1, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

    .line 3
    iget v1, v2, Landroidx/fragment/app/o;->M:I

    if-ne v1, p1, :cond_2b

    goto :goto_41

    :cond_40
    const/4 v2, 0x0

    :goto_41
    return-object v2
.end method

.method public I(Ljava/lang/String;)Landroidx/fragment/app/o;
    .registers 6

    iget-object v0, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 1
    iget-object v1, v0, Landroidx/fragment/app/k0;->s:Ljava/lang/Object;

    check-cast v1, Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    :cond_d
    add-int/lit8 v1, v1, -0x1

    if-ltz v1, :cond_26

    iget-object v2, v0, Landroidx/fragment/app/k0;->s:Ljava/lang/Object;

    check-cast v2, Ljava/util/ArrayList;

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Landroidx/fragment/app/o;

    if-eqz v2, :cond_d

    iget-object v3, v2, Landroidx/fragment/app/o;->O:Ljava/lang/String;

    invoke-virtual {p1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_d

    goto :goto_4c

    :cond_26
    iget-object v0, v0, Landroidx/fragment/app/k0;->t:Ljava/lang/Object;

    check-cast v0, Ljava/util/HashMap;

    invoke-virtual {v0}, Ljava/util/HashMap;->values()Ljava/util/Collection;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_32
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_4b

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroidx/fragment/app/j0;

    if-eqz v1, :cond_32

    .line 2
    iget-object v2, v1, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

    .line 3
    iget-object v1, v2, Landroidx/fragment/app/o;->O:Ljava/lang/String;

    invoke-virtual {p1, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_32

    goto :goto_4c

    :cond_4b
    const/4 v2, 0x0

    :goto_4c
    return-object v2
.end method

.method public final J(Landroidx/fragment/app/o;)Landroid/view/ViewGroup;
    .registers 4

    iget-object v0, p1, Landroidx/fragment/app/o;->U:Landroid/view/ViewGroup;

    if-eqz v0, :cond_5

    return-object v0

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

    const/4 v1, 0x0

    if-gtz v0, :cond_b

    return-object v1

    :cond_b
    iget-object v0, p0, Landroidx/fragment/app/d0;->r:Landroidx/fragment/app/w;

    invoke-virtual {v0}, Landroidx/fragment/app/w;->f()Z

    move-result v0

    if-eqz v0, :cond_22

    iget-object v0, p0, Landroidx/fragment/app/d0;->r:Landroidx/fragment/app/w;

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

    invoke-virtual {v0, p1}, Landroidx/fragment/app/w;->e(I)Landroid/view/View;

    move-result-object p1

    instance-of v0, p1, Landroid/view/ViewGroup;

    if-eqz v0, :cond_22

    check-cast p1, Landroid/view/ViewGroup;

    return-object p1

    :cond_22
    return-object v1
.end method

.method public K()Landroidx/fragment/app/z;
    .registers 2

    iget-object v0, p0, Landroidx/fragment/app/d0;->s:Landroidx/fragment/app/o;

    if-eqz v0, :cond_b

    iget-object v0, v0, Landroidx/fragment/app/o;->I:Landroidx/fragment/app/d0;

    invoke-virtual {v0}, Landroidx/fragment/app/d0;->K()Landroidx/fragment/app/z;

    move-result-object v0

    return-object v0

    :cond_b
    iget-object v0, p0, Landroidx/fragment/app/d0;->u:Landroidx/fragment/app/z;

    return-object v0
.end method

.method public L()Landroidx/fragment/app/a1;
    .registers 2

    iget-object v0, p0, Landroidx/fragment/app/d0;->s:Landroidx/fragment/app/o;

    if-eqz v0, :cond_b

    iget-object v0, v0, Landroidx/fragment/app/o;->I:Landroidx/fragment/app/d0;

    invoke-virtual {v0}, Landroidx/fragment/app/d0;->L()Landroidx/fragment/app/a1;

    move-result-object v0

    return-object v0

    :cond_b
    iget-object v0, p0, Landroidx/fragment/app/d0;->v:Landroidx/fragment/app/a1;

    return-object v0
.end method

.method public M(Landroidx/fragment/app/o;)V
    .registers 4

    const/4 v0, 0x2

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

    move-result v0

    if-eqz v0, :cond_1d

    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, "hide: "

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

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

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

    move-result-object v0

    const-string v1, "FragmentManager"

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

    :cond_1d
    iget-boolean v0, p1, Landroidx/fragment/app/o;->P:Z

    if-nez v0, :cond_2c

    const/4 v0, 0x1

    iput-boolean v0, p1, Landroidx/fragment/app/o;->P:Z

    iget-boolean v1, p1, Landroidx/fragment/app/o;->Z:Z

    xor-int/2addr v0, v1

    iput-boolean v0, p1, Landroidx/fragment/app/o;->Z:Z

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

    :cond_2c
    return-void
.end method

.method public final O(Landroidx/fragment/app/o;)Z
    .registers 7

    iget-object p1, p1, Landroidx/fragment/app/o;->K:Landroidx/fragment/app/d0;

    .line 1
    iget-object v0, p1, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v0}, Landroidx/fragment/app/k0;->m()Ljava/util/List;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v0

    const/4 v1, 0x0

    move v2, v1

    :cond_10
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    const/4 v4, 0x1

    if-eqz v3, :cond_26

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroidx/fragment/app/o;

    if-eqz v3, :cond_23

    invoke-virtual {p1, v3}, Landroidx/fragment/app/d0;->O(Landroidx/fragment/app/o;)Z

    move-result v2

    :cond_23
    if-eqz v2, :cond_10

    move v1, v4

    :cond_26
    return v1
.end method

.method public P(Landroidx/fragment/app/o;)Z
    .registers 4

    const/4 v0, 0x1

    if-nez p1, :cond_4

    return v0

    .line 1
    :cond_4
    iget-boolean v1, p1, Landroidx/fragment/app/o;->S:Z

    if-eqz v1, :cond_15

    iget-object v1, p1, Landroidx/fragment/app/o;->I:Landroidx/fragment/app/d0;

    if-eqz v1, :cond_16

    iget-object p1, p1, Landroidx/fragment/app/o;->L:Landroidx/fragment/app/o;

    invoke-virtual {v1, p1}, Landroidx/fragment/app/d0;->P(Landroidx/fragment/app/o;)Z

    move-result p1

    if-eqz p1, :cond_15

    goto :goto_16

    :cond_15
    const/4 v0, 0x0

    :cond_16
    :goto_16
    return v0
.end method

.method public Q(Landroidx/fragment/app/o;)Z
    .registers 5

    const/4 v0, 0x1

    if-nez p1, :cond_4

    return v0

    :cond_4
    iget-object v1, p1, Landroidx/fragment/app/o;->I:Landroidx/fragment/app/d0;

    .line 1
    iget-object v2, v1, Landroidx/fragment/app/d0;->t:Landroidx/fragment/app/o;

    .line 2
    invoke-virtual {p1, v2}, Landroidx/fragment/app/o;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_17

    iget-object p1, v1, Landroidx/fragment/app/d0;->s:Landroidx/fragment/app/o;

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

    move-result p1

    if-eqz p1, :cond_17

    goto :goto_18

    :cond_17
    const/4 v0, 0x0

    :goto_18
    return v0
.end method

.method public R()Z
    .registers 2

    iget-boolean v0, p0, Landroidx/fragment/app/d0;->B:Z

    if-nez v0, :cond_b

    iget-boolean v0, p0, Landroidx/fragment/app/d0;->C:Z

    if-eqz v0, :cond_9

    goto :goto_b

    :cond_9
    const/4 v0, 0x0

    goto :goto_c

    :cond_b
    :goto_b
    const/4 v0, 0x1

    :goto_c
    return v0
.end method

.method public S(IZ)V
    .registers 7

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

    if-nez v0, :cond_10

    const/4 v0, -0x1

    if-ne p1, v0, :cond_8

    goto :goto_10

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

    const-string p2, "No activity"

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

    throw p1

    :cond_10
    :goto_10
    if-nez p2, :cond_17

    iget p2, p0, Landroidx/fragment/app/d0;->p:I

    if-ne p1, p2, :cond_17

    return-void

    :cond_17
    iput p1, p0, Landroidx/fragment/app/d0;->p:I

    iget-object p1, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    .line 1
    iget-object p2, p1, Landroidx/fragment/app/k0;->s:Ljava/lang/Object;

    check-cast p2, Ljava/util/ArrayList;

    invoke-virtual {p2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object p2

    :cond_23
    :goto_23
    invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_41

    invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroidx/fragment/app/o;

    iget-object v1, p1, Landroidx/fragment/app/k0;->t:Ljava/lang/Object;

    check-cast v1, Ljava/util/HashMap;

    iget-object v0, v0, Landroidx/fragment/app/o;->v:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroidx/fragment/app/j0;

    if-eqz v0, :cond_23

    invoke-virtual {v0}, Landroidx/fragment/app/j0;->k()V

    goto :goto_23

    :cond_41
    iget-object p2, p1, Landroidx/fragment/app/k0;->t:Ljava/lang/Object;

    check-cast p2, Ljava/util/HashMap;

    invoke-virtual {p2}, Ljava/util/HashMap;->values()Ljava/util/Collection;

    move-result-object p2

    invoke-interface {p2}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object p2

    :cond_4d
    :goto_4d
    invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_72

    invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroidx/fragment/app/j0;

    if-eqz v0, :cond_4d

    invoke-virtual {v0}, Landroidx/fragment/app/j0;->k()V

    .line 2
    iget-object v2, v0, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

    .line 3
    iget-boolean v3, v2, Landroidx/fragment/app/o;->C:Z

    if-eqz v3, :cond_6c

    invoke-virtual {v2}, Landroidx/fragment/app/o;->C()Z

    move-result v2

    if-nez v2, :cond_6c

    const/4 v1, 0x1

    :cond_6c
    if-eqz v1, :cond_4d

    invoke-virtual {p1, v0}, Landroidx/fragment/app/k0;->q(Landroidx/fragment/app/j0;)V

    goto :goto_4d

    .line 4
    :cond_72
    invoke-virtual {p0}, Landroidx/fragment/app/d0;->h0()V

    iget-boolean p1, p0, Landroidx/fragment/app/d0;->A:Z

    if-eqz p1, :cond_87

    iget-object p1, p0, Landroidx/fragment/app/d0;->q:Landroidx/fragment/app/a0;

    if-eqz p1, :cond_87

    iget p2, p0, Landroidx/fragment/app/d0;->p:I

    const/4 v0, 0x7

    if-ne p2, v0, :cond_87

    invoke-virtual {p1}, Landroidx/fragment/app/a0;->l()V

    iput-boolean v1, p0, Landroidx/fragment/app/d0;->A:Z

    :cond_87
    return-void
.end method

.method public T(Landroidx/fragment/app/o;I)V
    .registers 19

    move-object/from16 v0, p0

    move-object/from16 v7, p1

    iget-object v1, v0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    iget-object v2, v7, Landroidx/fragment/app/o;->v:Ljava/lang/String;

    invoke-virtual {v1, v2}, Landroidx/fragment/app/k0;->n(Ljava/lang/String;)Landroidx/fragment/app/j0;

    move-result-object v1

    const/4 v8, 0x1

    if-nez v1, :cond_1a

    new-instance v1, Landroidx/fragment/app/j0;

    iget-object v2, v0, Landroidx/fragment/app/d0;->n:Landroidx/fragment/app/c0;

    iget-object v3, v0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-direct {v1, v2, v3, v7}, Landroidx/fragment/app/j0;-><init>(Landroidx/fragment/app/c0;Landroidx/fragment/app/k0;Landroidx/fragment/app/o;)V

    .line 1
    iput v8, v1, Landroidx/fragment/app/j0;->e:I

    :cond_1a
    move-object v9, v1

    .line 2
    iget-boolean v1, v7, Landroidx/fragment/app/o;->D:Z

    const/4 v10, 0x2

    if-eqz v1, :cond_2f

    iget-boolean v1, v7, Landroidx/fragment/app/o;->E:Z

    if-eqz v1, :cond_2f

    iget v1, v7, Landroidx/fragment/app/o;->r:I

    if-ne v1, v10, :cond_2f

    move/from16 v1, p2

    invoke-static {v1, v10}, Ljava/lang/Math;->max(II)I

    move-result v1

    goto :goto_31

    :cond_2f
    move/from16 v1, p2

    :goto_31
    invoke-virtual {v9}, Landroidx/fragment/app/j0;->d()I

    move-result v2

    invoke-static {v1, v2}, Ljava/lang/Math;->min(II)I

    move-result v11

    iget v1, v7, Landroidx/fragment/app/o;->r:I

    const/4 v12, 0x3

    const-string v13, "FragmentManager"

    const/4 v2, -0x1

    const/4 v3, 0x5

    const/4 v4, 0x4

    if-gt v1, v11, :cond_85

    if-ge v1, v11, :cond_50

    iget-object v1, v0, Landroidx/fragment/app/d0;->l:Ljava/util/Map;

    invoke-interface {v1}, Ljava/util/Map;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_50

    invoke-virtual/range {p0 .. p1}, Landroidx/fragment/app/d0;->d(Landroidx/fragment/app/o;)V

    :cond_50
    iget v1, v7, Landroidx/fragment/app/o;->r:I

    if-eq v1, v2, :cond_60

    if-eqz v1, :cond_65

    if-eq v1, v8, :cond_6a

    if-eq v1, v10, :cond_74

    if-eq v1, v4, :cond_79

    if-eq v1, v3, :cond_7e

    goto/16 :goto_1bc

    :cond_60
    if-le v11, v2, :cond_65

    invoke-virtual {v9}, Landroidx/fragment/app/j0;->c()V

    :cond_65
    if-lez v11, :cond_6a

    invoke-virtual {v9}, Landroidx/fragment/app/j0;->e()V

    :cond_6a
    if-le v11, v2, :cond_6f

    invoke-virtual {v9}, Landroidx/fragment/app/j0;->j()V

    :cond_6f
    if-le v11, v8, :cond_74

    invoke-virtual {v9}, Landroidx/fragment/app/j0;->f()V

    :cond_74
    if-le v11, v10, :cond_79

    invoke-virtual {v9}, Landroidx/fragment/app/j0;->a()V

    :cond_79
    if-le v11, v4, :cond_7e

    invoke-virtual {v9}, Landroidx/fragment/app/j0;->p()V

    :cond_7e
    if-le v11, v3, :cond_1bc

    invoke-virtual {v9}, Landroidx/fragment/app/j0;->n()V

    goto/16 :goto_1bc

    :cond_85
    if-le v1, v11, :cond_1bc

    if-eqz v1, :cond_1b5

    if-eq v1, v8, :cond_1a5

    if-eq v1, v10, :cond_cf

    if-eq v1, v4, :cond_a0

    if-eq v1, v3, :cond_9b

    const/4 v5, 0x7

    if-eq v1, v5, :cond_96

    goto/16 :goto_1bc

    :cond_96
    if-ge v11, v5, :cond_9b

    invoke-virtual {v9}, Landroidx/fragment/app/j0;->l()V

    :cond_9b
    if-ge v11, v3, :cond_a0

    invoke-virtual {v9}, Landroidx/fragment/app/j0;->q()V

    :cond_a0
    if-ge v11, v4, :cond_cf

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

    move-result v1

    if-eqz v1, :cond_bc

    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v3, "movefrom ACTIVITY_CREATED: "

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

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

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

    move-result-object v1

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

    :cond_bc
    iget-object v1, v7, Landroidx/fragment/app/o;->V:Landroid/view/View;

    if-eqz v1, :cond_cf

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

    invoke-virtual {v1, v7}, Landroidx/fragment/app/a0;->j(Landroidx/fragment/app/o;)Z

    move-result v1

    if-eqz v1, :cond_cf

    iget-object v1, v7, Landroidx/fragment/app/o;->t:Landroid/util/SparseArray;

    if-nez v1, :cond_cf

    invoke-virtual {v9}, Landroidx/fragment/app/j0;->o()V

    :cond_cf
    if-ge v11, v10, :cond_1a5

    const/4 v1, 0x0

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

    if-eqz v3, :cond_198

    iget-object v4, v7, Landroidx/fragment/app/o;->U:Landroid/view/ViewGroup;

    if-eqz v4, :cond_198

    invoke-virtual {v4, v3}, Landroid/view/ViewGroup;->endViewTransition(Landroid/view/View;)V

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

    invoke-virtual {v3}, Landroid/view/View;->clearAnimation()V

    invoke-virtual/range {p1 .. p1}, Landroidx/fragment/app/o;->E()Z

    move-result v3

    if-nez v3, :cond_198

    iget v3, v0, Landroidx/fragment/app/d0;->p:I

    const/4 v4, 0x0

    if-le v3, v2, :cond_10c

    iget-boolean v2, v0, Landroidx/fragment/app/d0;->D:Z

    if-nez v2, :cond_10c

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

    invoke-virtual {v2}, Landroid/view/View;->getVisibility()I

    move-result v2

    if-nez v2, :cond_10c

    iget v2, v7, Landroidx/fragment/app/o;->a0:F

    cmpl-float v2, v2, v4

    if-ltz v2, :cond_10c

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

    .line 3
    iget-object v1, v1, Landroidx/fragment/app/a0;->s:Landroid/content/Context;

    const/4 v2, 0x0

    .line 4
    invoke-virtual/range {p1 .. p1}, Landroidx/fragment/app/o;->t()Z

    move-result v3

    invoke-static {v1, v7, v2, v3}, Landroidx/fragment/app/v;->a(Landroid/content/Context;Landroidx/fragment/app/o;ZZ)Landroidx/fragment/app/v$a;

    move-result-object v1

    :cond_10c
    iput v4, v7, Landroidx/fragment/app/o;->a0:F

    iget-object v14, v7, Landroidx/fragment/app/o;->U:Landroid/view/ViewGroup;

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

    if-eqz v1, :cond_166

    iget-object v2, v0, Landroidx/fragment/app/d0;->m:Landroidx/fragment/app/s0$a;

    .line 5
    invoke-virtual {v14, v15}, Landroid/view/ViewGroup;->startViewTransition(Landroid/view/View;)V

    new-instance v6, Lh0/b;

    invoke-direct {v6}, Lh0/b;-><init>()V

    new-instance v3, Landroidx/fragment/app/s;

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

    invoke-virtual {v6, v3}, Lh0/b;->b(Lh0/b$a;)V

    move-object v5, v2

    check-cast v5, Landroidx/fragment/app/d0$d;

    invoke-virtual {v5, v7, v6}, Landroidx/fragment/app/d0$d;->b(Landroidx/fragment/app/o;Lh0/b;)V

    iget-object v2, v1, Landroidx/fragment/app/v$a;->a:Landroid/view/animation/Animation;

    if-eqz v2, :cond_14a

    new-instance v2, Landroidx/fragment/app/v$b;

    iget-object v1, v1, Landroidx/fragment/app/v$a;->a:Landroid/view/animation/Animation;

    invoke-direct {v2, v1, v14, v15}, Landroidx/fragment/app/v$b;-><init>(Landroid/view/animation/Animation;Landroid/view/ViewGroup;Landroid/view/View;)V

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

    invoke-virtual {v7, v1}, Landroidx/fragment/app/o;->Z(Landroid/view/View;)V

    new-instance v1, Landroidx/fragment/app/t;

    invoke-direct {v1, v14, v7, v5, v6}, Landroidx/fragment/app/t;-><init>(Landroid/view/ViewGroup;Landroidx/fragment/app/o;Landroidx/fragment/app/s0$a;Lh0/b;)V

    invoke-virtual {v2, v1}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

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

    invoke-virtual {v1, v2}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    goto :goto_166

    :cond_14a
    iget-object v4, v1, Landroidx/fragment/app/v$a;->b:Landroid/animation/Animator;

    invoke-virtual {v7, v4}, Landroidx/fragment/app/o;->b0(Landroid/animation/Animator;)V

    new-instance v3, Landroidx/fragment/app/u;

    move-object v1, v3

    move-object v2, v14

    move-object v12, v3

    move-object v3, v15

    move-object v8, v4

    move-object/from16 v4, p1

    invoke-direct/range {v1 .. v6}, Landroidx/fragment/app/u;-><init>(Landroid/view/ViewGroup;Landroid/view/View;Landroidx/fragment/app/o;Landroidx/fragment/app/s0$a;Lh0/b;)V

    invoke-virtual {v8, v12}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V

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

    invoke-virtual {v8, v1}, Landroid/animation/Animator;->setTarget(Ljava/lang/Object;)V

    invoke-virtual {v8}, Landroid/animation/Animator;->start()V

    .line 6
    :cond_166
    :goto_166
    invoke-virtual {v14, v15}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V

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

    move-result v1

    if-eqz v1, :cond_193

    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v2, "Removing view "

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

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

    const-string v2, " for fragment "

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

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

    const-string v2, " from container "

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

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

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

    move-result-object v1

    invoke-static {v13, v1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I

    :cond_193
    iget-object v1, v7, Landroidx/fragment/app/o;->U:Landroid/view/ViewGroup;

    if-eq v14, v1, :cond_198

    return-void

    :cond_198
    iget-object v1, v0, Landroidx/fragment/app/d0;->l:Ljava/util/Map;

    invoke-interface {v1, v7}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    if-nez v1, :cond_1a3

    invoke-virtual {v9}, Landroidx/fragment/app/j0;->h()V

    :cond_1a3
    const/4 v1, 0x1

    goto :goto_1a6

    :cond_1a5
    move v1, v8

    :goto_1a6
    if-ge v11, v1, :cond_1b5

    iget-object v2, v0, Landroidx/fragment/app/d0;->l:Ljava/util/Map;

    invoke-interface {v2, v7}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_1b2

    move v8, v1

    goto :goto_1b6

    :cond_1b2
    invoke-virtual {v9}, Landroidx/fragment/app/j0;->g()V

    :cond_1b5
    move v8, v11

    :goto_1b6
    if-gez v8, :cond_1bb

    invoke-virtual {v9}, Landroidx/fragment/app/j0;->i()V

    :cond_1bb
    move v11, v8

    :cond_1bc
    :goto_1bc
    iget v1, v7, Landroidx/fragment/app/o;->r:I

    if-eq v1, v11, :cond_1ef

    const/4 v1, 0x3

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

    move-result v1

    if-eqz v1, :cond_1ed

    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v2, "moveToState: Fragment state for "

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

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

    const-string v2, " not updated inline; expected state "

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

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

    const-string v2, " found "

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

    iget v2, v7, Landroidx/fragment/app/o;->r:I

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

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

    move-result-object v1

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

    :cond_1ed
    iput v11, v7, Landroidx/fragment/app/o;->r:I

    :cond_1ef
    return-void
.end method

.method public U()V
    .registers 3

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

    if-nez v0, :cond_5

    return-void

    :cond_5
    const/4 v0, 0x0

    iput-boolean v0, p0, Landroidx/fragment/app/d0;->B:Z

    iput-boolean v0, p0, Landroidx/fragment/app/d0;->C:Z

    iget-object v1, p0, Landroidx/fragment/app/d0;->J:Landroidx/fragment/app/g0;

    .line 1
    iput-boolean v0, v1, Landroidx/fragment/app/g0;->h:Z

    .line 2
    iget-object v0, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v0}, Landroidx/fragment/app/k0;->o()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_18
    :goto_18
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_2c

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroidx/fragment/app/o;

    if-eqz v1, :cond_18

    .line 3
    iget-object v1, v1, Landroidx/fragment/app/o;->K:Landroidx/fragment/app/d0;

    invoke-virtual {v1}, Landroidx/fragment/app/d0;->U()V

    goto :goto_18

    :cond_2c
    return-void
.end method

.method public V()Z
    .registers 9

    const/4 v0, 0x0

    .line 1
    invoke-virtual {p0, v0}, Landroidx/fragment/app/d0;->C(Z)Z

    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Landroidx/fragment/app/d0;->B(Z)V

    iget-object v1, p0, Landroidx/fragment/app/d0;->t:Landroidx/fragment/app/o;

    if-eqz v1, :cond_17

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

    move-result-object v1

    invoke-virtual {v1}, Landroidx/fragment/app/d0;->V()Z

    move-result v1

    if-eqz v1, :cond_17

    goto :goto_43

    :cond_17
    iget-object v3, p0, Landroidx/fragment/app/d0;->F:Ljava/util/ArrayList;

    iget-object v4, p0, Landroidx/fragment/app/d0;->G:Ljava/util/ArrayList;

    const/4 v5, 0x0

    const/4 v6, -0x1

    const/4 v7, 0x0

    move-object v2, p0

    invoke-virtual/range {v2 .. v7}, Landroidx/fragment/app/d0;->W(Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/lang/String;II)Z

    move-result v1

    if-eqz v1, :cond_37

    iput-boolean v0, p0, Landroidx/fragment/app/d0;->b:Z

    :try_start_27
    iget-object v0, p0, Landroidx/fragment/app/d0;->F:Ljava/util/ArrayList;

    iget-object v2, p0, Landroidx/fragment/app/d0;->G:Ljava/util/ArrayList;

    invoke-virtual {p0, v0, v2}, Landroidx/fragment/app/d0;->Y(Ljava/util/ArrayList;Ljava/util/ArrayList;)V
    :try_end_2e
    .catchall {:try_start_27 .. :try_end_2e} :catchall_32

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

    goto :goto_37

    :catchall_32
    move-exception v0

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

    throw v0

    :cond_37
    :goto_37
    invoke-virtual {p0}, Landroidx/fragment/app/d0;->i0()V

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

    iget-object v0, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v0}, Landroidx/fragment/app/k0;->c()V

    move v0, v1

    :goto_43
    return v0
.end method

.method public W(Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/lang/String;II)Z
    .registers 12
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList<",
            "Landroidx/fragment/app/b;",
            ">;",
            "Ljava/util/ArrayList<",
            "Ljava/lang/Boolean;",
            ">;",
            "Ljava/lang/String;",
            "II)Z"
        }
    .end annotation

    iget-object v0, p0, Landroidx/fragment/app/d0;->d:Ljava/util/ArrayList;

    const/4 v1, 0x0

    if-nez v0, :cond_6

    return v1

    :cond_6
    const/4 v2, 0x1

    if-nez p3, :cond_27

    if-gez p4, :cond_27

    and-int/lit8 v3, p5, 0x1

    if-nez v3, :cond_27

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result p3

    sub-int/2addr p3, v2

    if-gez p3, :cond_17

    return v1

    :cond_17
    iget-object p4, p0, Landroidx/fragment/app/d0;->d:Ljava/util/ArrayList;

    invoke-virtual {p4, p3}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    move-result-object p3

    invoke-virtual {p1, p3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    sget-object p1, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;

    invoke-virtual {p2, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto/16 :goto_97

    :cond_27
    const/4 v3, -0x1

    if-nez p3, :cond_2c

    if-ltz p4, :cond_73

    :cond_2c
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    sub-int/2addr v0, v2

    :goto_31
    if-ltz v0, :cond_50

    iget-object v4, p0, Landroidx/fragment/app/d0;->d:Ljava/util/ArrayList;

    invoke-virtual {v4, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Landroidx/fragment/app/b;

    if-eqz p3, :cond_46

    .line 1
    iget-object v5, v4, Landroidx/fragment/app/l0;->h:Ljava/lang/String;

    .line 2
    invoke-virtual {p3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_46

    goto :goto_50

    :cond_46
    if-ltz p4, :cond_4d

    iget v4, v4, Landroidx/fragment/app/b;->r:I

    if-ne p4, v4, :cond_4d

    goto :goto_50

    :cond_4d
    add-int/lit8 v0, v0, -0x1

    goto :goto_31

    :cond_50
    :goto_50
    if-gez v0, :cond_53

    return v1

    :cond_53
    and-int/2addr p5, v2

    if-eqz p5, :cond_72

    :cond_56
    :goto_56
    add-int/2addr v0, v3

    if-ltz v0, :cond_72

    iget-object p5, p0, Landroidx/fragment/app/d0;->d:Ljava/util/ArrayList;

    invoke-virtual {p5, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p5

    check-cast p5, Landroidx/fragment/app/b;

    if-eqz p3, :cond_6b

    .line 3
    iget-object v4, p5, Landroidx/fragment/app/l0;->h:Ljava/lang/String;

    .line 4
    invoke-virtual {p3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_56

    :cond_6b
    if-ltz p4, :cond_72

    iget p5, p5, Landroidx/fragment/app/b;->r:I

    if-ne p4, p5, :cond_72

    goto :goto_56

    :cond_72
    move v3, v0

    :cond_73
    iget-object p3, p0, Landroidx/fragment/app/d0;->d:Ljava/util/ArrayList;

    invoke-virtual {p3}, Ljava/util/ArrayList;->size()I

    move-result p3

    sub-int/2addr p3, v2

    if-ne v3, p3, :cond_7d

    return v1

    :cond_7d
    iget-object p3, p0, Landroidx/fragment/app/d0;->d:Ljava/util/ArrayList;

    invoke-virtual {p3}, Ljava/util/ArrayList;->size()I

    move-result p3

    sub-int/2addr p3, v2

    :goto_84
    if-le p3, v3, :cond_97

    iget-object p4, p0, Landroidx/fragment/app/d0;->d:Ljava/util/ArrayList;

    invoke-virtual {p4, p3}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    move-result-object p4

    invoke-virtual {p1, p4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    sget-object p4, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;

    invoke-virtual {p2, p4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 p3, p3, -0x1

    goto :goto_84

    :cond_97
    :goto_97
    return v2
.end method

.method public X(Landroidx/fragment/app/o;)V
    .registers 5

    const/4 v0, 0x2

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

    move-result v0

    if-eqz v0, :cond_27

    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, "remove: "

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

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

    const-string v1, " nesting="

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

    iget v1, p1, Landroidx/fragment/app/o;->H:I

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

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

    move-result-object v0

    const-string v1, "FragmentManager"

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

    :cond_27
    invoke-virtual {p1}, Landroidx/fragment/app/o;->C()Z

    move-result v0

    const/4 v1, 0x1

    xor-int/2addr v0, v1

    iget-boolean v2, p1, Landroidx/fragment/app/o;->Q:Z

    if-eqz v2, :cond_33

    if-eqz v0, :cond_45

    :cond_33
    iget-object v0, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v0, p1}, Landroidx/fragment/app/k0;->t(Landroidx/fragment/app/o;)V

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

    move-result v0

    if-eqz v0, :cond_40

    iput-boolean v1, p0, Landroidx/fragment/app/d0;->A:Z

    :cond_40
    iput-boolean v1, p1, Landroidx/fragment/app/o;->C:Z

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

    :cond_45
    return-void
.end method

.method public final Y(Ljava/util/ArrayList;Ljava/util/ArrayList;)V
    .registers 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList<",
            "Landroidx/fragment/app/b;",
            ">;",
            "Ljava/util/ArrayList<",
            "Ljava/lang/Boolean;",
            ">;)V"
        }
    .end annotation

    invoke-virtual {p1}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_7

    return-void

    :cond_7
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v0

    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ne v0, v1, :cond_62

    invoke-virtual {p0, p1, p2}, Landroidx/fragment/app/d0;->F(Ljava/util/ArrayList;Ljava/util/ArrayList;)V

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v0

    const/4 v1, 0x0

    move v2, v1

    :goto_1a
    if-ge v1, v0, :cond_5c

    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroidx/fragment/app/b;

    iget-boolean v3, v3, Landroidx/fragment/app/l0;->o:Z

    if-nez v3, :cond_59

    if-eq v2, v1, :cond_2b

    invoke-virtual {p0, p1, p2, v2, v1}, Landroidx/fragment/app/d0;->E(Ljava/util/ArrayList;Ljava/util/ArrayList;II)V

    :cond_2b
    add-int/lit8 v2, v1, 0x1

    invoke-virtual {p2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/Boolean;

    invoke-virtual {v3}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v3

    if-eqz v3, :cond_54

    :goto_39
    if-ge v2, v0, :cond_54

    invoke-virtual {p2, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/Boolean;

    invoke-virtual {v3}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v3

    if-eqz v3, :cond_54

    invoke-virtual {p1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroidx/fragment/app/b;

    iget-boolean v3, v3, Landroidx/fragment/app/l0;->o:Z

    if-nez v3, :cond_54

    add-int/lit8 v2, v2, 0x1

    goto :goto_39

    :cond_54
    invoke-virtual {p0, p1, p2, v1, v2}, Landroidx/fragment/app/d0;->E(Ljava/util/ArrayList;Ljava/util/ArrayList;II)V

    add-int/lit8 v1, v2, -0x1

    :cond_59
    add-int/lit8 v1, v1, 0x1

    goto :goto_1a

    :cond_5c
    if-eq v2, v0, :cond_61

    invoke-virtual {p0, p1, p2, v2, v0}, Landroidx/fragment/app/d0;->E(Ljava/util/ArrayList;Ljava/util/ArrayList;II)V

    :cond_61
    return-void

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

    const-string p2, "Internal error with the back stack records"

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

    throw p1
.end method

.method public Z(Landroid/os/Parcelable;)V
    .registers 20

    move-object/from16 v0, p0

    if-nez p1, :cond_5

    return-void

    :cond_5
    move-object/from16 v1, p1

    check-cast v1, Landroidx/fragment/app/f0;

    iget-object v2, v1, Landroidx/fragment/app/f0;->r:Ljava/util/ArrayList;

    if-nez v2, :cond_e

    return-void

    :cond_e
    iget-object v2, v0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    .line 1
    iget-object v2, v2, Landroidx/fragment/app/k0;->t:Ljava/lang/Object;

    check-cast v2, Ljava/util/HashMap;

    invoke-virtual {v2}, Ljava/util/HashMap;->clear()V

    .line 2
    iget-object v2, v1, Landroidx/fragment/app/f0;->r:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_1d
    :goto_1d
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    const-string v4, "): "

    const/4 v5, 0x2

    const-string v6, "FragmentManager"

    if-eqz v3, :cond_b1

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    move-object v12, v3

    check-cast v12, Landroidx/fragment/app/i0;

    if-eqz v12, :cond_1d

    iget-object v3, v0, Landroidx/fragment/app/d0;->J:Landroidx/fragment/app/g0;

    iget-object v7, v12, Landroidx/fragment/app/i0;->s:Ljava/lang/String;

    .line 3
    iget-object v3, v3, Landroidx/fragment/app/g0;->c:Ljava/util/HashMap;

    invoke-virtual {v3, v7}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroidx/fragment/app/o;

    if-eqz v3, :cond_63

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

    move-result v7

    if-eqz v7, :cond_59

    new-instance v7, Ljava/lang/StringBuilder;

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

    const-string v8, "restoreSaveState: re-attaching retained "

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

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

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

    move-result-object v7

    invoke-static {v6, v7}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I

    :cond_59
    new-instance v7, Landroidx/fragment/app/j0;

    iget-object v8, v0, Landroidx/fragment/app/d0;->n:Landroidx/fragment/app/c0;

    iget-object v9, v0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-direct {v7, v8, v9, v3, v12}, Landroidx/fragment/app/j0;-><init>(Landroidx/fragment/app/c0;Landroidx/fragment/app/k0;Landroidx/fragment/app/o;Landroidx/fragment/app/i0;)V

    goto :goto_79

    :cond_63
    new-instance v3, Landroidx/fragment/app/j0;

    iget-object v8, v0, Landroidx/fragment/app/d0;->n:Landroidx/fragment/app/c0;

    iget-object v9, v0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

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

    .line 5
    iget-object v7, v7, Landroidx/fragment/app/a0;->s:Landroid/content/Context;

    .line 6
    invoke-virtual {v7}, Landroid/content/Context;->getClassLoader()Ljava/lang/ClassLoader;

    move-result-object v10

    invoke-virtual/range {p0 .. p0}, Landroidx/fragment/app/d0;->K()Landroidx/fragment/app/z;

    move-result-object v11

    move-object v7, v3

    invoke-direct/range {v7 .. v12}, Landroidx/fragment/app/j0;-><init>(Landroidx/fragment/app/c0;Landroidx/fragment/app/k0;Ljava/lang/ClassLoader;Landroidx/fragment/app/z;Landroidx/fragment/app/i0;)V

    .line 7
    :goto_79
    iget-object v3, v7, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

    .line 8
    iput-object v0, v3, Landroidx/fragment/app/o;->I:Landroidx/fragment/app/d0;

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

    move-result v5

    if-eqz v5, :cond_9b

    const-string v5, "restoreSaveState: active ("

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

    move-result-object v5

    iget-object v8, v3, Landroidx/fragment/app/o;->v:Ljava/lang/String;

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

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

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

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

    move-result-object v3

    invoke-static {v6, v3}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I

    :cond_9b
    iget-object v3, v0, Landroidx/fragment/app/d0;->q:Landroidx/fragment/app/a0;

    .line 9
    iget-object v3, v3, Landroidx/fragment/app/a0;->s:Landroid/content/Context;

    .line 10
    invoke-virtual {v3}, Landroid/content/Context;->getClassLoader()Ljava/lang/ClassLoader;

    move-result-object v3

    invoke-virtual {v7, v3}, Landroidx/fragment/app/j0;->m(Ljava/lang/ClassLoader;)V

    iget-object v3, v0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v3, v7}, Landroidx/fragment/app/k0;->p(Landroidx/fragment/app/j0;)V

    iget v3, v0, Landroidx/fragment/app/d0;->p:I

    .line 11
    iput v3, v7, Landroidx/fragment/app/j0;->e:I

    goto/16 :goto_1d

    .line 12
    :cond_b1
    iget-object v2, v0, Landroidx/fragment/app/d0;->J:Landroidx/fragment/app/g0;

    invoke-static {v2}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 13
    new-instance v3, Ljava/util/ArrayList;

    iget-object v2, v2, Landroidx/fragment/app/g0;->c:Ljava/util/HashMap;

    invoke-virtual {v2}, Ljava/util/HashMap;->values()Ljava/util/Collection;

    move-result-object v2

    invoke-direct {v3, v2}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V

    .line 14
    invoke-virtual {v3}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_c5
    :goto_c5
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    const/4 v7, 0x1

    if-eqz v3, :cond_11b

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroidx/fragment/app/o;

    iget-object v8, v0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    iget-object v9, v3, Landroidx/fragment/app/o;->v:Ljava/lang/String;

    invoke-virtual {v8, v9}, Landroidx/fragment/app/k0;->e(Ljava/lang/String;)Z

    move-result v8

    if-nez v8, :cond_c5

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

    move-result v8

    if-eqz v8, :cond_100

    new-instance v8, Ljava/lang/StringBuilder;

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

    const-string v9, "Discarding retained Fragment "

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

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

    const-string v9, " that was not found in the set of active Fragments "

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

    iget-object v9, v1, Landroidx/fragment/app/f0;->r:Ljava/util/ArrayList;

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

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

    move-result-object v8

    invoke-static {v6, v8}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I

    :cond_100
    iget-object v8, v0, Landroidx/fragment/app/d0;->J:Landroidx/fragment/app/g0;

    invoke-virtual {v8, v3}, Landroidx/fragment/app/g0;->d(Landroidx/fragment/app/o;)V

    iput-object v0, v3, Landroidx/fragment/app/o;->I:Landroidx/fragment/app/d0;

    new-instance v8, Landroidx/fragment/app/j0;

    iget-object v9, v0, Landroidx/fragment/app/d0;->n:Landroidx/fragment/app/c0;

    iget-object v10, v0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-direct {v8, v9, v10, v3}, Landroidx/fragment/app/j0;-><init>(Landroidx/fragment/app/c0;Landroidx/fragment/app/k0;Landroidx/fragment/app/o;)V

    .line 15
    iput v7, v8, Landroidx/fragment/app/j0;->e:I

    .line 16
    invoke-virtual {v8}, Landroidx/fragment/app/j0;->k()V

    iput-boolean v7, v3, Landroidx/fragment/app/o;->C:Z

    invoke-virtual {v8}, Landroidx/fragment/app/j0;->k()V

    goto :goto_c5

    :cond_11b
    iget-object v2, v0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    iget-object v3, v1, Landroidx/fragment/app/f0;->s:Ljava/util/ArrayList;

    .line 17
    iget-object v8, v2, Landroidx/fragment/app/k0;->s:Ljava/lang/Object;

    check-cast v8, Ljava/util/ArrayList;

    invoke-virtual {v8}, Ljava/util/ArrayList;->clear()V

    if-eqz v3, :cond_170

    invoke-interface {v3}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :goto_12c
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v8

    if-eqz v8, :cond_170

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Ljava/lang/String;

    invoke-virtual {v2, v8}, Landroidx/fragment/app/k0;->h(Ljava/lang/String;)Landroidx/fragment/app/o;

    move-result-object v9

    if-eqz v9, :cond_162

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

    move-result v10

    if-eqz v10, :cond_15e

    new-instance v10, Ljava/lang/StringBuilder;

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

    const-string v11, "restoreSaveState: added ("

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

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

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

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

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

    move-result-object v8

    invoke-static {v6, v8}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I

    :cond_15e
    invoke-virtual {v2, v9}, Landroidx/fragment/app/k0;->a(Landroidx/fragment/app/o;)V

    goto :goto_12c

    :cond_162
    new-instance v1, Ljava/lang/IllegalStateException;

    const-string v2, "No instantiated fragment for ("

    const-string v3, ")"

    invoke-static {v2, v8, v3}, Le/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

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

    throw v1

    .line 18
    :cond_170
    iget-object v2, v1, Landroidx/fragment/app/f0;->t:[Landroidx/fragment/app/c;

    const/4 v3, 0x0

    if-eqz v2, :cond_28e

    new-instance v2, Ljava/util/ArrayList;

    iget-object v8, v1, Landroidx/fragment/app/f0;->t:[Landroidx/fragment/app/c;

    array-length v8, v8

    invoke-direct {v2, v8}, Ljava/util/ArrayList;-><init>(I)V

    iput-object v2, v0, Landroidx/fragment/app/d0;->d:Ljava/util/ArrayList;

    move v2, v3

    :goto_180
    iget-object v8, v1, Landroidx/fragment/app/f0;->t:[Landroidx/fragment/app/c;

    array-length v9, v8

    if-ge v2, v9, :cond_291

    aget-object v8, v8, v2

    invoke-static {v8}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 19
    new-instance v9, Landroidx/fragment/app/b;

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

    move v10, v3

    move v11, v10

    :goto_191
    iget-object v12, v8, Landroidx/fragment/app/c;->r:[I

    array-length v13, v12

    if-ge v10, v13, :cond_226

    new-instance v13, Landroidx/fragment/app/l0$a;

    invoke-direct {v13}, Landroidx/fragment/app/l0$a;-><init>()V

    add-int/lit8 v14, v10, 0x1

    aget v10, v12, v10

    iput v10, v13, Landroidx/fragment/app/l0$a;->a:I

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

    move-result v10

    if-eqz v10, :cond_1cf

    new-instance v10, Ljava/lang/StringBuilder;

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

    const-string v12, "Instantiate "

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

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

    const-string v12, " op #"

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

    invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v12, " base fragment #"

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

    iget-object v12, v8, Landroidx/fragment/app/c;->r:[I

    aget v12, v12, v14

    invoke-virtual {v10, v12}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

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

    move-result-object v10

    invoke-static {v6, v10}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I

    :cond_1cf
    iget-object v10, v8, Landroidx/fragment/app/c;->s:Ljava/util/ArrayList;

    invoke-virtual {v10, v11}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v10

    check-cast v10, Ljava/lang/String;

    if-eqz v10, :cond_1e0

    .line 20
    iget-object v12, v0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v12, v10}, Landroidx/fragment/app/k0;->h(Ljava/lang/String;)Landroidx/fragment/app/o;

    move-result-object v10

    goto :goto_1e1

    :cond_1e0
    const/4 v10, 0x0

    .line 21
    :goto_1e1
    iput-object v10, v13, Landroidx/fragment/app/l0$a;->b:Landroidx/fragment/app/o;

    invoke-static {}, Landroidx/lifecycle/i$c;->values()[Landroidx/lifecycle/i$c;

    move-result-object v10

    iget-object v12, v8, Landroidx/fragment/app/c;->t:[I

    aget v12, v12, v11

    aget-object v10, v10, v12

    iput-object v10, v13, Landroidx/fragment/app/l0$a;->g:Landroidx/lifecycle/i$c;

    invoke-static {}, Landroidx/lifecycle/i$c;->values()[Landroidx/lifecycle/i$c;

    move-result-object v10

    iget-object v12, v8, Landroidx/fragment/app/c;->u:[I

    aget v12, v12, v11

    aget-object v10, v10, v12

    iput-object v10, v13, Landroidx/fragment/app/l0$a;->h:Landroidx/lifecycle/i$c;

    iget-object v10, v8, Landroidx/fragment/app/c;->r:[I

    add-int/lit8 v12, v14, 0x1

    aget v14, v10, v14

    iput v14, v13, Landroidx/fragment/app/l0$a;->c:I

    add-int/lit8 v15, v12, 0x1

    aget v12, v10, v12

    iput v12, v13, Landroidx/fragment/app/l0$a;->d:I

    add-int/lit8 v16, v15, 0x1

    aget v15, v10, v15

    iput v15, v13, Landroidx/fragment/app/l0$a;->e:I

    add-int/lit8 v17, v16, 0x1

    aget v10, v10, v16

    iput v10, v13, Landroidx/fragment/app/l0$a;->f:I

    iput v14, v9, Landroidx/fragment/app/l0;->b:I

    iput v12, v9, Landroidx/fragment/app/l0;->c:I

    iput v15, v9, Landroidx/fragment/app/l0;->d:I

    iput v10, v9, Landroidx/fragment/app/l0;->e:I

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

    add-int/lit8 v11, v11, 0x1

    move/from16 v10, v17

    goto/16 :goto_191

    :cond_226
    iget v10, v8, Landroidx/fragment/app/c;->v:I

    iput v10, v9, Landroidx/fragment/app/l0;->f:I

    iget-object v10, v8, Landroidx/fragment/app/c;->w:Ljava/lang/String;

    iput-object v10, v9, Landroidx/fragment/app/l0;->h:Ljava/lang/String;

    iget v10, v8, Landroidx/fragment/app/c;->x:I

    iput v10, v9, Landroidx/fragment/app/b;->r:I

    iput-boolean v7, v9, Landroidx/fragment/app/l0;->g:Z

    iget v10, v8, Landroidx/fragment/app/c;->y:I

    iput v10, v9, Landroidx/fragment/app/l0;->i:I

    iget-object v10, v8, Landroidx/fragment/app/c;->z:Ljava/lang/CharSequence;

    iput-object v10, v9, Landroidx/fragment/app/l0;->j:Ljava/lang/CharSequence;

    iget v10, v8, Landroidx/fragment/app/c;->A:I

    iput v10, v9, Landroidx/fragment/app/l0;->k:I

    iget-object v10, v8, Landroidx/fragment/app/c;->B:Ljava/lang/CharSequence;

    iput-object v10, v9, Landroidx/fragment/app/l0;->l:Ljava/lang/CharSequence;

    iget-object v10, v8, Landroidx/fragment/app/c;->C:Ljava/util/ArrayList;

    iput-object v10, v9, Landroidx/fragment/app/l0;->m:Ljava/util/ArrayList;

    iget-object v10, v8, Landroidx/fragment/app/c;->D:Ljava/util/ArrayList;

    iput-object v10, v9, Landroidx/fragment/app/l0;->n:Ljava/util/ArrayList;

    iget-boolean v8, v8, Landroidx/fragment/app/c;->E:Z

    iput-boolean v8, v9, Landroidx/fragment/app/l0;->o:Z

    invoke-virtual {v9, v7}, Landroidx/fragment/app/b;->c(I)V

    .line 22
    invoke-static {v5}, Landroidx/fragment/app/d0;->N(I)Z

    move-result v8

    if-eqz v8, :cond_285

    const-string v8, "restoreAllState: back stack #"

    const-string v10, " (index "

    invoke-static {v8, v2, v10}, Landroidx/appcompat/widget/a1;->a(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    iget v10, v9, Landroidx/fragment/app/b;->r:I

    invoke-virtual {v8, v10}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

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

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

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

    move-result-object v8

    invoke-static {v6, v8}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I

    new-instance v8, Landroidx/fragment/app/y0;

    invoke-direct {v8, v6}, Landroidx/fragment/app/y0;-><init>(Ljava/lang/String;)V

    new-instance v10, Ljava/io/PrintWriter;

    invoke-direct {v10, v8}, Ljava/io/PrintWriter;-><init>(Ljava/io/Writer;)V

    const-string v8, "  "

    invoke-virtual {v9, v8, v10, v3}, Landroidx/fragment/app/b;->f(Ljava/lang/String;Ljava/io/PrintWriter;Z)V

    invoke-virtual {v10}, Ljava/io/PrintWriter;->close()V

    :cond_285
    iget-object v8, v0, Landroidx/fragment/app/d0;->d:Ljava/util/ArrayList;

    invoke-virtual {v8, v9}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v2, v2, 0x1

    goto/16 :goto_180

    :cond_28e
    const/4 v2, 0x0

    iput-object v2, v0, Landroidx/fragment/app/d0;->d:Ljava/util/ArrayList;

    :cond_291
    iget-object v2, v0, Landroidx/fragment/app/d0;->i:Ljava/util/concurrent/atomic/AtomicInteger;

    iget v4, v1, Landroidx/fragment/app/f0;->u:I

    invoke-virtual {v2, v4}, Ljava/util/concurrent/atomic/AtomicInteger;->set(I)V

    iget-object v2, v1, Landroidx/fragment/app/f0;->v:Ljava/lang/String;

    if-eqz v2, :cond_2a5

    invoke-virtual {v0, v2}, Landroidx/fragment/app/d0;->G(Ljava/lang/String;)Landroidx/fragment/app/o;

    move-result-object v2

    iput-object v2, v0, Landroidx/fragment/app/d0;->t:Landroidx/fragment/app/o;

    invoke-virtual {v0, v2}, Landroidx/fragment/app/d0;->t(Landroidx/fragment/app/o;)V

    :cond_2a5
    iget-object v2, v1, Landroidx/fragment/app/f0;->w:Ljava/util/ArrayList;

    if-eqz v2, :cond_2ce

    :goto_2a9
    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v4

    if-ge v3, v4, :cond_2ce

    iget-object v4, v1, Landroidx/fragment/app/f0;->x:Ljava/util/ArrayList;

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Landroid/os/Bundle;

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

    .line 23
    iget-object v5, v5, Landroidx/fragment/app/a0;->s:Landroid/content/Context;

    .line 24
    invoke-virtual {v5}, Landroid/content/Context;->getClassLoader()Ljava/lang/ClassLoader;

    move-result-object v5

    invoke-virtual {v4, v5}, Landroid/os/Bundle;->setClassLoader(Ljava/lang/ClassLoader;)V

    iget-object v5, v0, Landroidx/fragment/app/d0;->j:Ljava/util/Map;

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v6

    invoke-interface {v5, v6, v4}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    add-int/lit8 v3, v3, 0x1

    goto :goto_2a9

    :cond_2ce
    new-instance v2, Ljava/util/ArrayDeque;

    iget-object v1, v1, Landroidx/fragment/app/f0;->y:Ljava/util/ArrayList;

    invoke-direct {v2, v1}, Ljava/util/ArrayDeque;-><init>(Ljava/util/Collection;)V

    iput-object v2, v0, Landroidx/fragment/app/d0;->z:Ljava/util/ArrayDeque;

    return-void
.end method

.method public a(Landroidx/fragment/app/o;)Landroidx/fragment/app/j0;
    .registers 5

    const/4 v0, 0x2

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

    move-result v0

    if-eqz v0, :cond_1d

    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, "add: "

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

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

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

    move-result-object v0

    const-string v1, "FragmentManager"

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

    :cond_1d
    invoke-virtual {p0, p1}, Landroidx/fragment/app/d0;->h(Landroidx/fragment/app/o;)Landroidx/fragment/app/j0;

    move-result-object v0

    iput-object p0, p1, Landroidx/fragment/app/o;->I:Landroidx/fragment/app/d0;

    iget-object v1, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v1, v0}, Landroidx/fragment/app/k0;->p(Landroidx/fragment/app/j0;)V

    iget-boolean v1, p1, Landroidx/fragment/app/o;->Q:Z

    if-nez v1, :cond_43

    iget-object v1, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v1, p1}, Landroidx/fragment/app/k0;->a(Landroidx/fragment/app/o;)V

    const/4 v1, 0x0

    iput-boolean v1, p1, Landroidx/fragment/app/o;->C:Z

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

    if-nez v2, :cond_3a

    iput-boolean v1, p1, Landroidx/fragment/app/o;->Z:Z

    :cond_3a
    invoke-virtual {p0, p1}, Landroidx/fragment/app/d0;->O(Landroidx/fragment/app/o;)Z

    move-result p1

    if-eqz p1, :cond_43

    const/4 p1, 0x1

    iput-boolean p1, p0, Landroidx/fragment/app/d0;->A:Z

    :cond_43
    return-object v0
.end method

.method public a0()Landroid/os/Parcelable;
    .registers 12

    .line 1
    invoke-virtual {p0}, Landroidx/fragment/app/d0;->f()Ljava/util/Set;

    move-result-object v0

    check-cast v0, Ljava/util/HashSet;

    invoke-virtual {v0}, Ljava/util/HashSet;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_a
    :goto_a
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    const/4 v2, 0x0

    if-eqz v1, :cond_21

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroidx/fragment/app/z0;

    .line 2
    iget-boolean v3, v1, Landroidx/fragment/app/z0;->e:Z

    if-eqz v3, :cond_a

    iput-boolean v2, v1, Landroidx/fragment/app/z0;->e:Z

    invoke-virtual {v1}, Landroidx/fragment/app/z0;->c()V

    goto :goto_a

    .line 3
    :cond_21
    invoke-virtual {p0}, Landroidx/fragment/app/d0;->z()V

    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Landroidx/fragment/app/d0;->C(Z)Z

    iput-boolean v0, p0, Landroidx/fragment/app/d0;->B:Z

    iget-object v1, p0, Landroidx/fragment/app/d0;->J:Landroidx/fragment/app/g0;

    .line 4
    iput-boolean v0, v1, Landroidx/fragment/app/g0;->h:Z

    .line 5
    iget-object v0, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 6
    new-instance v1, Ljava/util/ArrayList;

    iget-object v3, v0, Landroidx/fragment/app/k0;->t:Ljava/lang/Object;

    check-cast v3, Ljava/util/HashMap;

    invoke-virtual {v3}, Ljava/util/HashMap;->size()I

    move-result v3

    invoke-direct {v1, v3}, Ljava/util/ArrayList;-><init>(I)V

    iget-object v0, v0, Landroidx/fragment/app/k0;->t:Ljava/lang/Object;

    check-cast v0, Ljava/util/HashMap;

    invoke-virtual {v0}, Ljava/util/HashMap;->values()Ljava/util/Collection;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_4c
    :goto_4c
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    const/4 v4, 0x0

    const/4 v5, 0x2

    if-eqz v3, :cond_13d

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroidx/fragment/app/j0;

    if-eqz v3, :cond_4c

    .line 7
    iget-object v6, v3, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

    .line 8
    new-instance v7, Landroidx/fragment/app/i0;

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

    iget-object v8, v3, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

    iget v9, v8, Landroidx/fragment/app/o;->r:I

    const/4 v10, -0x1

    if-le v9, v10, :cond_10e

    iget-object v9, v7, Landroidx/fragment/app/i0;->D:Landroid/os/Bundle;

    if-nez v9, :cond_10e

    .line 9
    new-instance v8, Landroid/os/Bundle;

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

    iget-object v9, v3, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

    .line 10
    invoke-virtual {v9, v8}, Landroidx/fragment/app/o;->O(Landroid/os/Bundle;)V

    iget-object v10, v9, Landroidx/fragment/app/o;->h0:Landroidx/savedstate/b;

    invoke-virtual {v10, v8}, Landroidx/savedstate/b;->b(Landroid/os/Bundle;)V

    iget-object v9, v9, Landroidx/fragment/app/o;->K:Landroidx/fragment/app/d0;

    invoke-virtual {v9}, Landroidx/fragment/app/d0;->a0()Landroid/os/Parcelable;

    move-result-object v9

    if-eqz v9, :cond_8a

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

    invoke-virtual {v8, v10, v9}, Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V

    .line 11
    :cond_8a
    iget-object v9, v3, Landroidx/fragment/app/j0;->a:Landroidx/fragment/app/c0;

    iget-object v10, v3, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

    invoke-virtual {v9, v10, v8, v2}, Landroidx/fragment/app/c0;->j(Landroidx/fragment/app/o;Landroid/os/Bundle;Z)V

    invoke-virtual {v8}, Landroid/os/Bundle;->isEmpty()Z

    move-result v9

    if-eqz v9, :cond_98

    goto :goto_99

    :cond_98
    move-object v4, v8

    :goto_99
    iget-object v8, v3, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

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

    if-eqz v8, :cond_a2

    invoke-virtual {v3}, Landroidx/fragment/app/j0;->o()V

    :cond_a2
    iget-object v8, v3, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

    iget-object v8, v8, Landroidx/fragment/app/o;->t:Landroid/util/SparseArray;

    if-eqz v8, :cond_b8

    if-nez v4, :cond_af

    new-instance v4, Landroid/os/Bundle;

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

    :cond_af
    iget-object v8, v3, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

    iget-object v8, v8, Landroidx/fragment/app/o;->t:Landroid/util/SparseArray;

    const-string v9, "android:view_state"

    invoke-virtual {v4, v9, v8}, Landroid/os/Bundle;->putSparseParcelableArray(Ljava/lang/String;Landroid/util/SparseArray;)V

    :cond_b8
    iget-object v8, v3, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

    iget-object v8, v8, Landroidx/fragment/app/o;->u:Landroid/os/Bundle;

    if-eqz v8, :cond_ce

    if-nez v4, :cond_c5

    new-instance v4, Landroid/os/Bundle;

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

    :cond_c5
    iget-object v8, v3, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

    iget-object v8, v8, Landroidx/fragment/app/o;->u:Landroid/os/Bundle;

    const-string v9, "android:view_registry_state"

    invoke-virtual {v4, v9, v8}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V

    :cond_ce
    iget-object v8, v3, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

    iget-boolean v8, v8, Landroidx/fragment/app/o;->X:Z

    if-nez v8, :cond_e4

    if-nez v4, :cond_db

    new-instance v4, Landroid/os/Bundle;

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

    :cond_db
    iget-object v8, v3, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

    iget-boolean v8, v8, Landroidx/fragment/app/o;->X:Z

    const-string v9, "android:user_visible_hint"

    invoke-virtual {v4, v9, v8}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 12
    :cond_e4
    iput-object v4, v7, Landroidx/fragment/app/i0;->D:Landroid/os/Bundle;

    iget-object v8, v3, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

    iget-object v8, v8, Landroidx/fragment/app/o;->y:Ljava/lang/String;

    if-eqz v8, :cond_112

    if-nez v4, :cond_f5

    new-instance v4, Landroid/os/Bundle;

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

    iput-object v4, v7, Landroidx/fragment/app/i0;->D:Landroid/os/Bundle;

    :cond_f5
    iget-object v4, v7, Landroidx/fragment/app/i0;->D:Landroid/os/Bundle;

    iget-object v8, v3, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

    iget-object v8, v8, Landroidx/fragment/app/o;->y:Ljava/lang/String;

    const-string v9, "android:target_state"

    invoke-virtual {v4, v9, v8}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v3, v3, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

    iget v3, v3, Landroidx/fragment/app/o;->z:I

    if-eqz v3, :cond_112

    iget-object v4, v7, Landroidx/fragment/app/i0;->D:Landroid/os/Bundle;

    const-string v8, "android:target_req_state"

    invoke-virtual {v4, v8, v3}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    goto :goto_112

    :cond_10e
    iget-object v3, v8, Landroidx/fragment/app/o;->s:Landroid/os/Bundle;

    iput-object v3, v7, Landroidx/fragment/app/i0;->D:Landroid/os/Bundle;

    .line 13
    :cond_112
    :goto_112
    invoke-virtual {v1, v7}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

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

    move-result v3

    if-eqz v3, :cond_4c

    new-instance v3, Ljava/lang/StringBuilder;

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

    const-string v4, "Saved state of "

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

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

    const-string v4, ": "

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

    iget-object v4, v7, Landroidx/fragment/app/i0;->D:Landroid/os/Bundle;

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

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

    move-result-object v3

    const-string v4, "FragmentManager"

    invoke-static {v4, v3}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I

    goto/16 :goto_4c

    .line 14
    :cond_13d
    invoke-virtual {v1}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_151

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

    move-result v0

    if-eqz v0, :cond_150

    const-string v0, "FragmentManager"

    const-string v1, "saveAllState: no fragments!"

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

    :cond_150
    return-object v4

    :cond_151
    iget-object v0, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    .line 15
    iget-object v3, v0, Landroidx/fragment/app/k0;->s:Ljava/lang/Object;

    check-cast v3, Ljava/util/ArrayList;

    monitor-enter v3

    :try_start_158
    iget-object v6, v0, Landroidx/fragment/app/k0;->s:Ljava/lang/Object;

    check-cast v6, Ljava/util/ArrayList;

    invoke-virtual {v6}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v6

    if-eqz v6, :cond_165

    monitor-exit v3

    move-object v6, v4

    goto :goto_1b3

    :cond_165
    new-instance v6, Ljava/util/ArrayList;

    iget-object v7, v0, Landroidx/fragment/app/k0;->s:Ljava/lang/Object;

    check-cast v7, Ljava/util/ArrayList;

    invoke-virtual {v7}, Ljava/util/ArrayList;->size()I

    move-result v7

    invoke-direct {v6, v7}, Ljava/util/ArrayList;-><init>(I)V

    iget-object v0, v0, Landroidx/fragment/app/k0;->s:Ljava/lang/Object;

    check-cast v0, Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_17a
    :goto_17a
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v7

    if-eqz v7, :cond_1b2

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Landroidx/fragment/app/o;

    iget-object v8, v7, Landroidx/fragment/app/o;->v:Ljava/lang/String;

    invoke-virtual {v6, v8}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

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

    move-result v8

    if-eqz v8, :cond_17a

    const-string v8, "FragmentManager"

    new-instance v9, Ljava/lang/StringBuilder;

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

    const-string v10, "saveAllState: adding fragment ("

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

    iget-object v10, v7, Landroidx/fragment/app/o;->v:Ljava/lang/String;

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

    const-string v10, "): "

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

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

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

    move-result-object v7

    invoke-static {v8, v7}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_17a

    :cond_1b2
    monitor-exit v3
    :try_end_1b3
    .catchall {:try_start_158 .. :try_end_1b3} :catchall_22e

    .line 16
    :goto_1b3
    iget-object v0, p0, Landroidx/fragment/app/d0;->d:Ljava/util/ArrayList;

    if-eqz v0, :cond_1f3

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_1f3

    new-array v4, v0, [Landroidx/fragment/app/c;

    :goto_1bf
    if-ge v2, v0, :cond_1f3

    new-instance v3, Landroidx/fragment/app/c;

    iget-object v7, p0, Landroidx/fragment/app/d0;->d:Ljava/util/ArrayList;

    invoke-virtual {v7, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Landroidx/fragment/app/b;

    invoke-direct {v3, v7}, Landroidx/fragment/app/c;-><init>(Landroidx/fragment/app/b;)V

    aput-object v3, v4, v2

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

    move-result v3

    if-eqz v3, :cond_1f0

    const-string v3, "FragmentManager"

    const-string v7, "saveAllState: adding back stack #"

    const-string v8, ": "

    invoke-static {v7, v2, v8}, Landroidx/appcompat/widget/a1;->a(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    iget-object v8, p0, Landroidx/fragment/app/d0;->d:Ljava/util/ArrayList;

    invoke-virtual {v8, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v8

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

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

    move-result-object v7

    invoke-static {v3, v7}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I

    :cond_1f0
    add-int/lit8 v2, v2, 0x1

    goto :goto_1bf

    :cond_1f3
    new-instance v0, Landroidx/fragment/app/f0;

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

    iput-object v1, v0, Landroidx/fragment/app/f0;->r:Ljava/util/ArrayList;

    iput-object v6, v0, Landroidx/fragment/app/f0;->s:Ljava/util/ArrayList;

    iput-object v4, v0, Landroidx/fragment/app/f0;->t:[Landroidx/fragment/app/c;

    iget-object v1, p0, Landroidx/fragment/app/d0;->i:Ljava/util/concurrent/atomic/AtomicInteger;

    invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I

    move-result v1

    iput v1, v0, Landroidx/fragment/app/f0;->u:I

    iget-object v1, p0, Landroidx/fragment/app/d0;->t:Landroidx/fragment/app/o;

    if-eqz v1, :cond_20e

    iget-object v1, v1, Landroidx/fragment/app/o;->v:Ljava/lang/String;

    iput-object v1, v0, Landroidx/fragment/app/f0;->v:Ljava/lang/String;

    :cond_20e
    iget-object v1, v0, Landroidx/fragment/app/f0;->w:Ljava/util/ArrayList;

    iget-object v2, p0, Landroidx/fragment/app/d0;->j:Ljava/util/Map;

    invoke-interface {v2}, Ljava/util/Map;->keySet()Ljava/util/Set;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v1, v0, Landroidx/fragment/app/f0;->x:Ljava/util/ArrayList;

    iget-object v2, p0, Landroidx/fragment/app/d0;->j:Ljava/util/Map;

    invoke-interface {v2}, Ljava/util/Map;->values()Ljava/util/Collection;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    new-instance v1, Ljava/util/ArrayList;

    iget-object v2, p0, Landroidx/fragment/app/d0;->z:Ljava/util/ArrayDeque;

    invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V

    iput-object v1, v0, Landroidx/fragment/app/f0;->y:Ljava/util/ArrayList;

    return-object v0

    :catchall_22e
    move-exception v0

    .line 17
    :try_start_22f
    monitor-exit v3
    :try_end_230
    .catchall {:try_start_22f .. :try_end_230} :catchall_22e

    throw v0
.end method

.method public b(Landroidx/fragment/app/a0;Landroidx/fragment/app/w;Landroidx/fragment/app/o;)V
    .registers 9
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "SyntheticAccessor"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroidx/fragment/app/a0<",
            "*>;",
            "Landroidx/fragment/app/w;",
            "Landroidx/fragment/app/o;",
            ")V"
        }
    .end annotation

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

    if-nez v0, :cond_151

    iput-object p1, p0, Landroidx/fragment/app/d0;->q:Landroidx/fragment/app/a0;

    iput-object p2, p0, Landroidx/fragment/app/d0;->r:Landroidx/fragment/app/w;

    iput-object p3, p0, Landroidx/fragment/app/d0;->s:Landroidx/fragment/app/o;

    if-eqz p3, :cond_12

    new-instance p2, Landroidx/fragment/app/d0$h;

    invoke-direct {p2, p0, p3}, Landroidx/fragment/app/d0$h;-><init>(Landroidx/fragment/app/d0;Landroidx/fragment/app/o;)V

    goto :goto_19

    .line 1
    :cond_12
    instance-of p2, p1, Landroidx/fragment/app/h0;

    if-eqz p2, :cond_1e

    move-object p2, p1

    check-cast p2, Landroidx/fragment/app/h0;

    .line 2
    :goto_19
    iget-object v0, p0, Landroidx/fragment/app/d0;->o:Ljava/util/concurrent/CopyOnWriteArrayList;

    invoke-virtual {v0, p2}, Ljava/util/concurrent/CopyOnWriteArrayList;->add(Ljava/lang/Object;)Z

    .line 3
    :cond_1e
    iget-object p2, p0, Landroidx/fragment/app/d0;->s:Landroidx/fragment/app/o;

    if-eqz p2, :cond_25

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

    :cond_25
    instance-of p2, p1, Landroidx/activity/e;

    if-eqz p2, :cond_3a

    move-object p2, p1

    check-cast p2, Landroidx/activity/e;

    invoke-interface {p2}, Landroidx/activity/e;->c()Landroidx/activity/OnBackPressedDispatcher;

    move-result-object v0

    iput-object v0, p0, Landroidx/fragment/app/d0;->g:Landroidx/activity/OnBackPressedDispatcher;

    if-eqz p3, :cond_35

    move-object p2, p3

    :cond_35
    iget-object v1, p0, Landroidx/fragment/app/d0;->h:Landroidx/activity/d;

    invoke-virtual {v0, p2, v1}, Landroidx/activity/OnBackPressedDispatcher;->a(Landroidx/lifecycle/n;Landroidx/activity/d;)V

    :cond_3a
    if-eqz p3, :cond_5e

    iget-object p1, p3, Landroidx/fragment/app/o;->I:Landroidx/fragment/app/d0;

    .line 4
    iget-object p1, p1, Landroidx/fragment/app/d0;->J:Landroidx/fragment/app/g0;

    .line 5
    iget-object p2, p1, Landroidx/fragment/app/g0;->d:Ljava/util/HashMap;

    iget-object v0, p3, Landroidx/fragment/app/o;->v:Ljava/lang/String;

    invoke-virtual {p2, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Landroidx/fragment/app/g0;

    if-nez p2, :cond_5a

    new-instance p2, Landroidx/fragment/app/g0;

    iget-boolean v0, p1, Landroidx/fragment/app/g0;->f:Z

    invoke-direct {p2, v0}, Landroidx/fragment/app/g0;-><init>(Z)V

    iget-object p1, p1, Landroidx/fragment/app/g0;->d:Ljava/util/HashMap;

    iget-object v0, p3, Landroidx/fragment/app/o;->v:Ljava/lang/String;

    invoke-virtual {p1, v0, p2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 6
    :cond_5a
    iput-object p2, p0, Landroidx/fragment/app/d0;->J:Landroidx/fragment/app/g0;

    goto/16 :goto_dc

    :cond_5e
    instance-of p2, p1, Landroidx/lifecycle/f0;

    if-eqz p2, :cond_d4

    check-cast p1, Landroidx/lifecycle/f0;

    invoke-interface {p1}, Landroidx/lifecycle/f0;->k()Landroidx/lifecycle/e0;

    move-result-object p1

    .line 7
    sget-object p2, Landroidx/fragment/app/g0;->i:Landroidx/lifecycle/d0$b;

    const-string v0, "store"

    .line 8
    invoke-static {p1, v0}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    .line 9
    const-class v0, Landroidx/fragment/app/g0;

    .line 10
    invoke-virtual {v0}, Ljava/lang/Class;->getCanonicalName()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_cc

    const-string v2, "androidx.lifecycle.ViewModelProvider.DefaultKey:"

    invoke-static {v2, v1}, Lx/e;->k(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "key"

    .line 11
    invoke-static {v1, v2}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    .line 12
    iget-object v2, p1, Landroidx/lifecycle/e0;->a:Ljava/util/HashMap;

    invoke-virtual {v2, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Landroidx/lifecycle/c0;

    .line 13
    invoke-virtual {v0, v2}, Ljava/lang/Class;->isInstance(Ljava/lang/Object;)Z

    move-result v3

    const-string v4, "viewModel"

    if-eqz v3, :cond_a9

    instance-of p1, p2, Landroidx/lifecycle/d0$e;

    if-eqz p1, :cond_99

    check-cast p2, Landroidx/lifecycle/d0$e;

    goto :goto_9a

    :cond_99
    const/4 p2, 0x0

    :goto_9a
    if-nez p2, :cond_9d

    goto :goto_a3

    :cond_9d
    invoke-static {v2, v4}, Lx/e;->e(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {p2, v2}, Landroidx/lifecycle/d0$e;->b(Landroidx/lifecycle/c0;)V

    :goto_a3
    const-string p1, "null cannot be cast to non-null type T of androidx.lifecycle.ViewModelProvider.get"

    invoke-static {v2, p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    goto :goto_c9

    :cond_a9
    instance-of v2, p2, Landroidx/lifecycle/d0$c;

    if-eqz v2, :cond_b4

    check-cast p2, Landroidx/lifecycle/d0$c;

    invoke-virtual {p2, v1, v0}, Landroidx/lifecycle/d0$c;->c(Ljava/lang/String;Ljava/lang/Class;)Landroidx/lifecycle/c0;

    move-result-object p2

    goto :goto_b8

    :cond_b4
    invoke-interface {p2, v0}, Landroidx/lifecycle/d0$b;->a(Ljava/lang/Class;)Landroidx/lifecycle/c0;

    move-result-object p2

    :goto_b8
    move-object v2, p2

    .line 14
    iget-object p1, p1, Landroidx/lifecycle/e0;->a:Ljava/util/HashMap;

    invoke-virtual {p1, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroidx/lifecycle/c0;

    if-eqz p1, :cond_c6

    invoke-virtual {p1}, Landroidx/lifecycle/c0;->b()V

    .line 15
    :cond_c6
    invoke-static {v2, v4}, Lx/e;->e(Ljava/lang/Object;Ljava/lang/String;)V

    .line 16
    :goto_c9
    check-cast v2, Landroidx/fragment/app/g0;

    goto :goto_da

    .line 17
    :cond_cc
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string p2, "Local and anonymous classes can not be ViewModels"

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

    throw p1

    .line 18
    :cond_d4
    new-instance v2, Landroidx/fragment/app/g0;

    const/4 p1, 0x0

    invoke-direct {v2, p1}, Landroidx/fragment/app/g0;-><init>(Z)V

    :goto_da
    iput-object v2, p0, Landroidx/fragment/app/d0;->J:Landroidx/fragment/app/g0;

    :goto_dc
    iget-object p1, p0, Landroidx/fragment/app/d0;->J:Landroidx/fragment/app/g0;

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

    move-result p2

    .line 19
    iput-boolean p2, p1, Landroidx/fragment/app/g0;->h:Z

    .line 20
    iget-object p1, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    iget-object p2, p0, Landroidx/fragment/app/d0;->J:Landroidx/fragment/app/g0;

    .line 21
    iput-object p2, p1, Landroidx/fragment/app/k0;->u:Ljava/lang/Object;

    .line 22
    iget-object p1, p0, Landroidx/fragment/app/d0;->q:Landroidx/fragment/app/a0;

    instance-of p2, p1, Landroidx/activity/result/d;

    if-eqz p2, :cond_150

    check-cast p1, Landroidx/activity/result/d;

    invoke-interface {p1}, Landroidx/activity/result/d;->i()Landroidx/activity/result/ActivityResultRegistry;

    move-result-object p1

    if-eqz p3, :cond_106

    new-instance p2, Ljava/lang/StringBuilder;

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

    iget-object p3, p3, Landroidx/fragment/app/o;->v:Ljava/lang/String;

    const-string v0, ":"

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

    move-result-object p2

    goto :goto_108

    :cond_106
    const-string p2, ""

    :goto_108
    const-string p3, "FragmentManager:"

    invoke-static {p3, p2}, Le/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    const-string p3, "StartActivityForResult"

    invoke-static {p2, p3}, Le/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p3

    new-instance v0, Ld/d;

    invoke-direct {v0}, Ld/d;-><init>()V

    new-instance v1, Landroidx/fragment/app/d0$i;

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

    invoke-virtual {p1, p3, v0, v1}, Landroidx/activity/result/ActivityResultRegistry;->d(Ljava/lang/String;Ld/a;Landroidx/activity/result/b;)Landroidx/activity/result/c;

    move-result-object p3

    iput-object p3, p0, Landroidx/fragment/app/d0;->w:Landroidx/activity/result/c;

    const-string p3, "StartIntentSenderForResult"

    invoke-static {p2, p3}, Le/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p3

    new-instance v0, Landroidx/fragment/app/d0$j;

    invoke-direct {v0}, Landroidx/fragment/app/d0$j;-><init>()V

    new-instance v1, Landroidx/fragment/app/d0$a;

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

    invoke-virtual {p1, p3, v0, v1}, Landroidx/activity/result/ActivityResultRegistry;->d(Ljava/lang/String;Ld/a;Landroidx/activity/result/b;)Landroidx/activity/result/c;

    move-result-object p3

    iput-object p3, p0, Landroidx/fragment/app/d0;->x:Landroidx/activity/result/c;

    const-string p3, "RequestPermissions"

    invoke-static {p2, p3}, Le/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    new-instance p3, Ld/c;

    invoke-direct {p3}, Ld/c;-><init>()V

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

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

    invoke-virtual {p1, p2, p3, v0}, Landroidx/activity/result/ActivityResultRegistry;->d(Ljava/lang/String;Ld/a;Landroidx/activity/result/b;)Landroidx/activity/result/c;

    move-result-object p1

    iput-object p1, p0, Landroidx/fragment/app/d0;->y:Landroidx/activity/result/c;

    :cond_150
    return-void

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

    const-string p2, "Already attached"

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

    throw p1
.end method

.method public b0()V
    .registers 6

    iget-object v0, p0, Landroidx/fragment/app/d0;->a:Ljava/util/ArrayList;

    monitor-enter v0

    :try_start_3
    iget-object v1, p0, Landroidx/fragment/app/d0;->I:Ljava/util/ArrayList;

    const/4 v2, 0x0

    const/4 v3, 0x1

    if-eqz v1, :cond_11

    invoke-virtual {v1}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_11

    move v1, v3

    goto :goto_12

    :cond_11
    move v1, v2

    :goto_12
    iget-object v4, p0, Landroidx/fragment/app/d0;->a:Ljava/util/ArrayList;

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v4

    if-ne v4, v3, :cond_1b

    move v2, v3

    :cond_1b
    if-nez v1, :cond_1f

    if-eqz v2, :cond_34

    :cond_1f
    iget-object v1, p0, Landroidx/fragment/app/d0;->q:Landroidx/fragment/app/a0;

    .line 1
    iget-object v1, v1, Landroidx/fragment/app/a0;->t:Landroid/os/Handler;

    .line 2
    iget-object v2, p0, Landroidx/fragment/app/d0;->K:Ljava/lang/Runnable;

    invoke-virtual {v1, v2}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    iget-object v1, p0, Landroidx/fragment/app/d0;->q:Landroidx/fragment/app/a0;

    .line 3
    iget-object v1, v1, Landroidx/fragment/app/a0;->t:Landroid/os/Handler;

    .line 4
    iget-object v2, p0, Landroidx/fragment/app/d0;->K:Ljava/lang/Runnable;

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

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

    :cond_34
    monitor-exit v0

    return-void

    :catchall_36
    move-exception v1

    monitor-exit v0
    :try_end_38
    .catchall {:try_start_3 .. :try_end_38} :catchall_36

    throw v1
.end method

.method public c(Landroidx/fragment/app/o;)V
    .registers 6

    const/4 v0, 0x2

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

    move-result v1

    const-string v2, "FragmentManager"

    if-eqz v1, :cond_1d

    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v3, "attach: "

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

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

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

    move-result-object v1

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

    :cond_1d
    iget-boolean v1, p1, Landroidx/fragment/app/o;->Q:Z

    if-eqz v1, :cond_50

    const/4 v1, 0x0

    iput-boolean v1, p1, Landroidx/fragment/app/o;->Q:Z

    iget-boolean v1, p1, Landroidx/fragment/app/o;->B:Z

    if-nez v1, :cond_50

    iget-object v1, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v1, p1}, Landroidx/fragment/app/k0;->a(Landroidx/fragment/app/o;)V

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

    move-result v0

    if-eqz v0, :cond_47

    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, "add from attach: "

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

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

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

    move-result-object v0

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

    :cond_47
    invoke-virtual {p0, p1}, Landroidx/fragment/app/d0;->O(Landroidx/fragment/app/o;)Z

    move-result p1

    if-eqz p1, :cond_50

    const/4 p1, 0x1

    iput-boolean p1, p0, Landroidx/fragment/app/d0;->A:Z

    :cond_50
    return-void
.end method

.method public c0(Landroidx/fragment/app/o;Z)V
    .registers 4

    invoke-virtual {p0, p1}, Landroidx/fragment/app/d0;->J(Landroidx/fragment/app/o;)Landroid/view/ViewGroup;

    move-result-object p1

    if-eqz p1, :cond_11

    instance-of v0, p1, Landroidx/fragment/app/x;

    if-eqz v0, :cond_11

    check-cast p1, Landroidx/fragment/app/x;

    xor-int/lit8 p2, p2, 0x1

    invoke-virtual {p1, p2}, Landroidx/fragment/app/x;->setDrawDisappearingViewsLast(Z)V

    :cond_11
    return-void
.end method

.method public final d(Landroidx/fragment/app/o;)V
    .registers 5

    iget-object v0, p0, Landroidx/fragment/app/d0;->l:Ljava/util/Map;

    invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashSet;

    if-eqz v0, :cond_29

    invoke-virtual {v0}, Ljava/util/HashSet;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_e
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_1e

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lh0/b;

    invoke-virtual {v2}, Lh0/b;->a()V

    goto :goto_e

    :cond_1e
    invoke-virtual {v0}, Ljava/util/HashSet;->clear()V

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

    iget-object v0, p0, Landroidx/fragment/app/d0;->l:Ljava/util/Map;

    invoke-interface {v0, p1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    :cond_29
    return-void
.end method

.method public d0(Landroidx/fragment/app/o;Landroidx/lifecycle/i$c;)V
    .registers 5

    iget-object v0, p1, Landroidx/fragment/app/o;->v:Ljava/lang/String;

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

    move-result-object v0

    invoke-virtual {p1, v0}, Landroidx/fragment/app/o;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_17

    iget-object v0, p1, Landroidx/fragment/app/o;->J:Landroidx/fragment/app/a0;

    if-eqz v0, :cond_14

    iget-object v0, p1, Landroidx/fragment/app/o;->I:Landroidx/fragment/app/d0;

    if-ne v0, p0, :cond_17

    :cond_14
    iput-object p2, p1, Landroidx/fragment/app/o;->c0:Landroidx/lifecycle/i$c;

    return-void

    :cond_17
    new-instance p2, Ljava/lang/IllegalArgumentException;

    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, "Fragment "

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

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

    const-string p1, " is not an active fragment of FragmentManager "

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

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

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

    move-result-object p1

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

    throw p2
.end method

.method public final e()V
    .registers 2

    const/4 v0, 0x0

    iput-boolean v0, p0, Landroidx/fragment/app/d0;->b:Z

    iget-object v0, p0, Landroidx/fragment/app/d0;->G:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Landroidx/fragment/app/d0;->F:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    return-void
.end method

.method public e0(Landroidx/fragment/app/o;)V
    .registers 5

    if-eqz p1, :cond_36

    iget-object v0, p1, Landroidx/fragment/app/o;->v:Ljava/lang/String;

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

    move-result-object v0

    invoke-virtual {p1, v0}, Landroidx/fragment/app/o;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_17

    iget-object v0, p1, Landroidx/fragment/app/o;->J:Landroidx/fragment/app/a0;

    if-eqz v0, :cond_36

    iget-object v0, p1, Landroidx/fragment/app/o;->I:Landroidx/fragment/app/d0;

    if-ne v0, p0, :cond_17

    goto :goto_36

    :cond_17
    new-instance v0, Ljava/lang/IllegalArgumentException;

    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v2, "Fragment "

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

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

    const-string p1, " is not an active fragment of FragmentManager "

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

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

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

    move-result-object p1

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

    throw v0

    :cond_36
    :goto_36
    iget-object v0, p0, Landroidx/fragment/app/d0;->t:Landroidx/fragment/app/o;

    iput-object p1, p0, Landroidx/fragment/app/d0;->t:Landroidx/fragment/app/o;

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

    iget-object p1, p0, Landroidx/fragment/app/d0;->t:Landroidx/fragment/app/o;

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

    return-void
.end method

.method public final f()Ljava/util/Set;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Set<",
            "Landroidx/fragment/app/z0;",
            ">;"
        }
    .end annotation

    new-instance v0, Ljava/util/HashSet;

    invoke-direct {v0}, Ljava/util/HashSet;-><init>()V

    iget-object v1, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v1}, Landroidx/fragment/app/k0;->l()Ljava/util/List;

    move-result-object v1

    check-cast v1, Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_11
    :goto_11
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_2f

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Landroidx/fragment/app/j0;

    .line 1
    iget-object v2, v2, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

    .line 2
    iget-object v2, v2, Landroidx/fragment/app/o;->U:Landroid/view/ViewGroup;

    if-eqz v2, :cond_11

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

    move-result-object v3

    invoke-static {v2, v3}, Landroidx/fragment/app/z0;->g(Landroid/view/ViewGroup;Landroidx/fragment/app/a1;)Landroidx/fragment/app/z0;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z

    goto :goto_11

    :cond_2f
    return-object v0
.end method

.method public final f0(Landroidx/fragment/app/o;)V
    .registers 5

    invoke-virtual {p0, p1}, Landroidx/fragment/app/d0;->J(Landroidx/fragment/app/o;)Landroid/view/ViewGroup;

    move-result-object v0

    if-eqz v0, :cond_34

    invoke-virtual {p1}, Landroidx/fragment/app/o;->l()I

    move-result v1

    invoke-virtual {p1}, Landroidx/fragment/app/o;->o()I

    move-result v2

    add-int/2addr v2, v1

    invoke-virtual {p1}, Landroidx/fragment/app/o;->u()I

    move-result v1

    add-int/2addr v1, v2

    invoke-virtual {p1}, Landroidx/fragment/app/o;->v()I

    move-result v2

    add-int/2addr v2, v1

    if-lez v2, :cond_34

    const v1, 0x7f0a0251

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->getTag(I)Ljava/lang/Object;

    move-result-object v2

    if-nez v2, :cond_27

    invoke-virtual {v0, v1, p1}, Landroid/view/ViewGroup;->setTag(ILjava/lang/Object;)V

    :cond_27
    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->getTag(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroidx/fragment/app/o;

    invoke-virtual {p1}, Landroidx/fragment/app/o;->t()Z

    move-result p1

    invoke-virtual {v0, p1}, Landroidx/fragment/app/o;->g0(Z)V

    :cond_34
    return-void
.end method

.method public g(Landroidx/fragment/app/b;ZZZ)V
    .registers 14

    if-eqz p2, :cond_6

    invoke-virtual {p1, p4}, Landroidx/fragment/app/b;->h(Z)V

    goto :goto_9

    :cond_6
    invoke-virtual {p1}, Landroidx/fragment/app/b;->g()V

    :goto_9
    new-instance v2, Ljava/util/ArrayList;

    const/4 v8, 0x1

    invoke-direct {v2, v8}, Ljava/util/ArrayList;-><init>(I)V

    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3, v8}, Ljava/util/ArrayList;-><init>(I)V

    invoke-virtual {v2, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    invoke-static {p2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object p1

    invoke-virtual {v3, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    if-eqz p3, :cond_32

    iget p1, p0, Landroidx/fragment/app/d0;->p:I

    if-lt p1, v8, :cond_32

    iget-object p1, p0, Landroidx/fragment/app/d0;->q:Landroidx/fragment/app/a0;

    .line 1
    iget-object v0, p1, Landroidx/fragment/app/a0;->s:Landroid/content/Context;

    .line 2
    iget-object v1, p0, Landroidx/fragment/app/d0;->r:Landroidx/fragment/app/w;

    const/4 v4, 0x0

    const/4 v5, 0x1

    const/4 v6, 0x1

    iget-object v7, p0, Landroidx/fragment/app/d0;->m:Landroidx/fragment/app/s0$a;

    invoke-static/range {v0 .. v7}, Landroidx/fragment/app/s0;->p(Landroid/content/Context;Landroidx/fragment/app/w;Ljava/util/ArrayList;Ljava/util/ArrayList;IIZLandroidx/fragment/app/s0$a;)V

    :cond_32
    if-eqz p4, :cond_39

    iget p1, p0, Landroidx/fragment/app/d0;->p:I

    invoke-virtual {p0, p1, v8}, Landroidx/fragment/app/d0;->S(IZ)V

    :cond_39
    iget-object p1, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {p1}, Landroidx/fragment/app/k0;->m()Ljava/util/List;

    move-result-object p1

    check-cast p1, Ljava/util/ArrayList;

    invoke-virtual {p1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :cond_45
    :goto_45
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result p2

    if-eqz p2, :cond_56

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Landroidx/fragment/app/o;

    if-eqz p2, :cond_45

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

    goto :goto_45

    :cond_56
    return-void
.end method

.method public g0(Landroidx/fragment/app/o;)V
    .registers 4

    const/4 v0, 0x2

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

    move-result v0

    if-eqz v0, :cond_1d

    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, "show: "

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

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

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

    move-result-object v0

    const-string v1, "FragmentManager"

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

    :cond_1d
    iget-boolean v0, p1, Landroidx/fragment/app/o;->P:Z

    if-eqz v0, :cond_2a

    const/4 v0, 0x0

    iput-boolean v0, p1, Landroidx/fragment/app/o;->P:Z

    iget-boolean v0, p1, Landroidx/fragment/app/o;->Z:Z

    xor-int/lit8 v0, v0, 0x1

    iput-boolean v0, p1, Landroidx/fragment/app/o;->Z:Z

    :cond_2a
    return-void
.end method

.method public h(Landroidx/fragment/app/o;)Landroidx/fragment/app/j0;
    .registers 5

    iget-object v0, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    iget-object v1, p1, Landroidx/fragment/app/o;->v:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroidx/fragment/app/k0;->n(Ljava/lang/String;)Landroidx/fragment/app/j0;

    move-result-object v0

    if-eqz v0, :cond_b

    return-object v0

    :cond_b
    new-instance v0, Landroidx/fragment/app/j0;

    iget-object v1, p0, Landroidx/fragment/app/d0;->n:Landroidx/fragment/app/c0;

    iget-object v2, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-direct {v0, v1, v2, p1}, Landroidx/fragment/app/j0;-><init>(Landroidx/fragment/app/c0;Landroidx/fragment/app/k0;Landroidx/fragment/app/o;)V

    iget-object p1, p0, Landroidx/fragment/app/d0;->q:Landroidx/fragment/app/a0;

    .line 1
    iget-object p1, p1, Landroidx/fragment/app/a0;->s:Landroid/content/Context;

    .line 2
    invoke-virtual {p1}, Landroid/content/Context;->getClassLoader()Ljava/lang/ClassLoader;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroidx/fragment/app/j0;->m(Ljava/lang/ClassLoader;)V

    iget p1, p0, Landroidx/fragment/app/d0;->p:I

    .line 3
    iput p1, v0, Landroidx/fragment/app/j0;->e:I

    return-object v0
.end method

.method public final h0()V
    .registers 5

    iget-object v0, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v0}, Landroidx/fragment/app/k0;->l()Ljava/util/List;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_c
    :goto_c
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_2d

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroidx/fragment/app/j0;

    .line 1
    iget-object v2, v1, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

    .line 2
    iget-boolean v3, v2, Landroidx/fragment/app/o;->W:Z

    if-eqz v3, :cond_c

    iget-boolean v3, p0, Landroidx/fragment/app/d0;->b:Z

    if-eqz v3, :cond_26

    const/4 v1, 0x1

    iput-boolean v1, p0, Landroidx/fragment/app/d0;->E:Z

    goto :goto_c

    :cond_26
    const/4 v3, 0x0

    iput-boolean v3, v2, Landroidx/fragment/app/o;->W:Z

    invoke-virtual {v1}, Landroidx/fragment/app/j0;->k()V

    goto :goto_c

    :cond_2d
    return-void
.end method

.method public final i(Landroidx/fragment/app/o;)V
    .registers 5

    invoke-virtual {p1}, Landroidx/fragment/app/o;->T()V

    iget-object v0, p0, Landroidx/fragment/app/d0;->n:Landroidx/fragment/app/c0;

    const/4 v1, 0x0

    invoke-virtual {v0, p1, v1}, Landroidx/fragment/app/c0;->n(Landroidx/fragment/app/o;Z)V

    const/4 v0, 0x0

    iput-object v0, p1, Landroidx/fragment/app/o;->U:Landroid/view/ViewGroup;

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

    iput-object v0, p1, Landroidx/fragment/app/o;->e0:Landroidx/fragment/app/x0;

    iget-object v2, p1, Landroidx/fragment/app/o;->f0:Landroidx/lifecycle/t;

    invoke-virtual {v2, v0}, Landroidx/lifecycle/t;->j(Ljava/lang/Object;)V

    iput-boolean v1, p1, Landroidx/fragment/app/o;->E:Z

    return-void
.end method

.method public final i0()V
    .registers 5

    iget-object v0, p0, Landroidx/fragment/app/d0;->a:Ljava/util/ArrayList;

    monitor-enter v0

    :try_start_3
    iget-object v1, p0, Landroidx/fragment/app/d0;->a:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v1

    const/4 v2, 0x1

    if-nez v1, :cond_12

    iget-object v1, p0, Landroidx/fragment/app/d0;->h:Landroidx/activity/d;

    .line 1
    iput-boolean v2, v1, Landroidx/activity/d;->a:Z

    .line 2
    monitor-exit v0

    return-void

    :cond_12
    monitor-exit v0
    :try_end_13
    .catchall {:try_start_3 .. :try_end_13} :catchall_2f

    iget-object v0, p0, Landroidx/fragment/app/d0;->h:Landroidx/activity/d;

    .line 3
    iget-object v1, p0, Landroidx/fragment/app/d0;->d:Ljava/util/ArrayList;

    const/4 v3, 0x0

    if-eqz v1, :cond_1f

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    goto :goto_20

    :cond_1f
    move v1, v3

    :goto_20
    if-lez v1, :cond_2b

    .line 4
    iget-object v1, p0, Landroidx/fragment/app/d0;->s:Landroidx/fragment/app/o;

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

    move-result v1

    if-eqz v1, :cond_2b

    goto :goto_2c

    :cond_2b
    move v2, v3

    .line 5
    :goto_2c
    iput-boolean v2, v0, Landroidx/activity/d;->a:Z

    return-void

    :catchall_2f
    move-exception v1

    .line 6
    :try_start_30
    monitor-exit v0
    :try_end_31
    .catchall {:try_start_30 .. :try_end_31} :catchall_2f

    throw v1
.end method

.method public j(Landroidx/fragment/app/o;)V
    .registers 6

    const/4 v0, 0x2

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

    move-result v1

    const-string v2, "FragmentManager"

    if-eqz v1, :cond_1d

    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v3, "detach: "

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

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

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

    move-result-object v1

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

    :cond_1d
    iget-boolean v1, p1, Landroidx/fragment/app/o;->Q:Z

    if-nez v1, :cond_52

    const/4 v1, 0x1

    iput-boolean v1, p1, Landroidx/fragment/app/o;->Q:Z

    iget-boolean v3, p1, Landroidx/fragment/app/o;->B:Z

    if-eqz v3, :cond_52

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

    move-result v0

    if-eqz v0, :cond_42

    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v3, "remove from detach: "

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

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

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

    move-result-object v0

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

    :cond_42
    iget-object v0, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v0, p1}, Landroidx/fragment/app/k0;->t(Landroidx/fragment/app/o;)V

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

    move-result v0

    if-eqz v0, :cond_4f

    iput-boolean v1, p0, Landroidx/fragment/app/d0;->A:Z

    :cond_4f
    invoke-virtual {p0, p1}, Landroidx/fragment/app/d0;->f0(Landroidx/fragment/app/o;)V

    :cond_52
    return-void
.end method

.method public k(Landroid/content/res/Configuration;)V
    .registers 4

    iget-object v0, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v0}, Landroidx/fragment/app/k0;->o()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_a
    :goto_a
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_21

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroidx/fragment/app/o;

    if-eqz v1, :cond_a

    .line 1
    invoke-virtual {v1, p1}, Landroidx/fragment/app/o;->onConfigurationChanged(Landroid/content/res/Configuration;)V

    iget-object v1, v1, Landroidx/fragment/app/o;->K:Landroidx/fragment/app/d0;

    invoke-virtual {v1, p1}, Landroidx/fragment/app/d0;->k(Landroid/content/res/Configuration;)V

    goto :goto_a

    :cond_21
    return-void
.end method

.method public l(Landroid/view/MenuItem;)Z
    .registers 7

    iget v0, p0, Landroidx/fragment/app/d0;->p:I

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-ge v0, v1, :cond_7

    return v2

    :cond_7
    iget-object v0, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v0}, Landroidx/fragment/app/k0;->o()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_11
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_2e

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroidx/fragment/app/o;

    if-eqz v3, :cond_11

    .line 1
    iget-boolean v4, v3, Landroidx/fragment/app/o;->P:Z

    if-nez v4, :cond_2a

    iget-object v3, v3, Landroidx/fragment/app/o;->K:Landroidx/fragment/app/d0;

    invoke-virtual {v3, p1}, Landroidx/fragment/app/d0;->l(Landroid/view/MenuItem;)Z

    move-result v3

    goto :goto_2b

    :cond_2a
    move v3, v2

    :goto_2b
    if-eqz v3, :cond_11

    return v1

    :cond_2e
    return v2
.end method

.method public m()V
    .registers 3

    const/4 v0, 0x0

    iput-boolean v0, p0, Landroidx/fragment/app/d0;->B:Z

    iput-boolean v0, p0, Landroidx/fragment/app/d0;->C:Z

    iget-object v1, p0, Landroidx/fragment/app/d0;->J:Landroidx/fragment/app/g0;

    .line 1
    iput-boolean v0, v1, Landroidx/fragment/app/g0;->h:Z

    const/4 v0, 0x1

    .line 2
    invoke-virtual {p0, v0}, Landroidx/fragment/app/d0;->w(I)V

    return-void
.end method

.method public n(Landroid/view/Menu;Landroid/view/MenuInflater;)Z
    .registers 10

    iget v0, p0, Landroidx/fragment/app/d0;->p:I

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-ge v0, v1, :cond_7

    return v2

    :cond_7
    const/4 v0, 0x0

    iget-object v3, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v3}, Landroidx/fragment/app/k0;->o()Ljava/util/List;

    move-result-object v3

    invoke-interface {v3}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v3

    move v4, v2

    :cond_13
    :goto_13
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-eqz v5, :cond_42

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Landroidx/fragment/app/o;

    if-eqz v5, :cond_13

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

    move-result v6

    if-eqz v6, :cond_13

    .line 1
    iget-boolean v6, v5, Landroidx/fragment/app/o;->P:Z

    if-nez v6, :cond_33

    iget-object v6, v5, Landroidx/fragment/app/o;->K:Landroidx/fragment/app/d0;

    invoke-virtual {v6, p1, p2}, Landroidx/fragment/app/d0;->n(Landroid/view/Menu;Landroid/view/MenuInflater;)Z

    move-result v6

    or-int/2addr v6, v2

    goto :goto_34

    :cond_33
    move v6, v2

    :goto_34
    if-eqz v6, :cond_13

    if-nez v0, :cond_3d

    .line 2
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    :cond_3d
    invoke-virtual {v0, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    move v4, v1

    goto :goto_13

    :cond_42
    iget-object p1, p0, Landroidx/fragment/app/d0;->e:Ljava/util/ArrayList;

    if-eqz p1, :cond_64

    :goto_46
    iget-object p1, p0, Landroidx/fragment/app/d0;->e:Ljava/util/ArrayList;

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result p1

    if-ge v2, p1, :cond_64

    iget-object p1, p0, Landroidx/fragment/app/d0;->e:Ljava/util/ArrayList;

    invoke-virtual {p1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroidx/fragment/app/o;

    if-eqz v0, :cond_5e

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z

    move-result p2

    if-nez p2, :cond_61

    :cond_5e
    invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    :cond_61
    add-int/lit8 v2, v2, 0x1

    goto :goto_46

    :cond_64
    iput-object v0, p0, Landroidx/fragment/app/d0;->e:Ljava/util/ArrayList;

    return v4
.end method

.method public o()V
    .registers 4

    const/4 v0, 0x1

    iput-boolean v0, p0, Landroidx/fragment/app/d0;->D:Z

    invoke-virtual {p0, v0}, Landroidx/fragment/app/d0;->C(Z)Z

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

    const/4 v0, -0x1

    invoke-virtual {p0, v0}, Landroidx/fragment/app/d0;->w(I)V

    const/4 v0, 0x0

    iput-object v0, p0, Landroidx/fragment/app/d0;->q:Landroidx/fragment/app/a0;

    iput-object v0, p0, Landroidx/fragment/app/d0;->r:Landroidx/fragment/app/w;

    iput-object v0, p0, Landroidx/fragment/app/d0;->s:Landroidx/fragment/app/o;

    iget-object v1, p0, Landroidx/fragment/app/d0;->g:Landroidx/activity/OnBackPressedDispatcher;

    if-eqz v1, :cond_32

    iget-object v1, p0, Landroidx/fragment/app/d0;->h:Landroidx/activity/d;

    .line 1
    iget-object v1, v1, Landroidx/activity/d;->b:Ljava/util/concurrent/CopyOnWriteArrayList;

    invoke-virtual {v1}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_20
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_30

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Landroidx/activity/a;

    invoke-interface {v2}, Landroidx/activity/a;->cancel()V

    goto :goto_20

    .line 2
    :cond_30
    iput-object v0, p0, Landroidx/fragment/app/d0;->g:Landroidx/activity/OnBackPressedDispatcher;

    :cond_32
    iget-object v0, p0, Landroidx/fragment/app/d0;->w:Landroidx/activity/result/c;

    if-eqz v0, :cond_43

    invoke-virtual {v0}, Landroidx/activity/result/c;->b()V

    iget-object v0, p0, Landroidx/fragment/app/d0;->x:Landroidx/activity/result/c;

    invoke-virtual {v0}, Landroidx/activity/result/c;->b()V

    iget-object v0, p0, Landroidx/fragment/app/d0;->y:Landroidx/activity/result/c;

    invoke-virtual {v0}, Landroidx/activity/result/c;->b()V

    :cond_43
    return-void
.end method

.method public p()V
    .registers 3

    iget-object v0, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v0}, Landroidx/fragment/app/k0;->o()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_a
    :goto_a
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1c

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroidx/fragment/app/o;

    if-eqz v1, :cond_a

    invoke-virtual {v1}, Landroidx/fragment/app/o;->U()V

    goto :goto_a

    :cond_1c
    return-void
.end method

.method public q(Z)V
    .registers 4

    iget-object v0, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v0}, Landroidx/fragment/app/k0;->o()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_a
    :goto_a
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1e

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroidx/fragment/app/o;

    if-eqz v1, :cond_a

    .line 1
    iget-object v1, v1, Landroidx/fragment/app/o;->K:Landroidx/fragment/app/d0;

    invoke-virtual {v1, p1}, Landroidx/fragment/app/d0;->q(Z)V

    goto :goto_a

    :cond_1e
    return-void
.end method

.method public r(Landroid/view/MenuItem;)Z
    .registers 7

    iget v0, p0, Landroidx/fragment/app/d0;->p:I

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-ge v0, v1, :cond_7

    return v2

    :cond_7
    iget-object v0, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v0}, Landroidx/fragment/app/k0;->o()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_11
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_2e

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroidx/fragment/app/o;

    if-eqz v3, :cond_11

    .line 1
    iget-boolean v4, v3, Landroidx/fragment/app/o;->P:Z

    if-nez v4, :cond_2a

    iget-object v3, v3, Landroidx/fragment/app/o;->K:Landroidx/fragment/app/d0;

    invoke-virtual {v3, p1}, Landroidx/fragment/app/d0;->r(Landroid/view/MenuItem;)Z

    move-result v3

    goto :goto_2b

    :cond_2a
    move v3, v2

    :goto_2b
    if-eqz v3, :cond_11

    return v1

    :cond_2e
    return v2
.end method

.method public s(Landroid/view/Menu;)V
    .registers 5

    iget v0, p0, Landroidx/fragment/app/d0;->p:I

    const/4 v1, 0x1

    if-ge v0, v1, :cond_6

    return-void

    :cond_6
    iget-object v0, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v0}, Landroidx/fragment/app/k0;->o()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_10
    :goto_10
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_28

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroidx/fragment/app/o;

    if-eqz v1, :cond_10

    .line 1
    iget-boolean v2, v1, Landroidx/fragment/app/o;->P:Z

    if-nez v2, :cond_10

    iget-object v1, v1, Landroidx/fragment/app/o;->K:Landroidx/fragment/app/d0;

    invoke-virtual {v1, p1}, Landroidx/fragment/app/d0;->s(Landroid/view/Menu;)V

    goto :goto_10

    :cond_28
    return-void
.end method

.method public final t(Landroidx/fragment/app/o;)V
    .registers 4

    if-eqz p1, :cond_2e

    iget-object v0, p1, Landroidx/fragment/app/o;->v:Ljava/lang/String;

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

    move-result-object v0

    invoke-virtual {p1, v0}, Landroidx/fragment/app/o;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2e

    .line 1
    iget-object v0, p1, Landroidx/fragment/app/o;->I:Landroidx/fragment/app/d0;

    invoke-virtual {v0, p1}, Landroidx/fragment/app/d0;->Q(Landroidx/fragment/app/o;)Z

    move-result v0

    iget-object v1, p1, Landroidx/fragment/app/o;->A:Ljava/lang/Boolean;

    if-eqz v1, :cond_1e

    invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    if-eq v1, v0, :cond_2e

    :cond_1e
    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p1, Landroidx/fragment/app/o;->A:Ljava/lang/Boolean;

    iget-object p1, p1, Landroidx/fragment/app/o;->K:Landroidx/fragment/app/d0;

    .line 2
    invoke-virtual {p1}, Landroidx/fragment/app/d0;->i0()V

    iget-object v0, p1, Landroidx/fragment/app/d0;->t:Landroidx/fragment/app/o;

    invoke-virtual {p1, v0}, Landroidx/fragment/app/d0;->t(Landroidx/fragment/app/o;)V

    :cond_2e
    return-void
.end method

.method public toString()Ljava/lang/String;
    .registers 5

    const/16 v0, 0x80

    const-string v1, "FragmentManager{"

    invoke-static {v0, v1}, Landroidx/fragment/app/a;->a(ILjava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {p0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;

    move-result-object v1

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

    const-string v1, " in "

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

    iget-object v1, p0, Landroidx/fragment/app/d0;->s:Landroidx/fragment/app/o;

    const-string v2, "}"

    const-string v3, "{"

    if-eqz v1, :cond_31

    invoke-virtual {v1}, 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;

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

    iget-object v1, p0, Landroidx/fragment/app/d0;->s:Landroidx/fragment/app/o;

    goto :goto_45

    :cond_31
    iget-object v1, p0, Landroidx/fragment/app/d0;->q:Landroidx/fragment/app/a0;

    if-eqz v1, :cond_54

    invoke-virtual {v1}, 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;

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

    iget-object v1, p0, Landroidx/fragment/app/d0;->q:Landroidx/fragment/app/a0;

    :goto_45
    invoke-static {v1}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;

    move-result-object v1

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

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

    goto :goto_59

    :cond_54
    const-string v1, "null"

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

    :goto_59
    const-string v1, "}}"

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

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

    move-result-object v0

    return-object v0
.end method

.method public u(Z)V
    .registers 4

    iget-object v0, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v0}, Landroidx/fragment/app/k0;->o()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_a
    :goto_a
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1e

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroidx/fragment/app/o;

    if-eqz v1, :cond_a

    .line 1
    iget-object v1, v1, Landroidx/fragment/app/o;->K:Landroidx/fragment/app/d0;

    invoke-virtual {v1, p1}, Landroidx/fragment/app/d0;->u(Z)V

    goto :goto_a

    :cond_1e
    return-void
.end method

.method public v(Landroid/view/Menu;)Z
    .registers 7

    iget v0, p0, Landroidx/fragment/app/d0;->p:I

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-ge v0, v2, :cond_7

    return v1

    :cond_7
    iget-object v0, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-virtual {v0}, Landroidx/fragment/app/k0;->o()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_11
    :goto_11
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_2d

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroidx/fragment/app/o;

    if-eqz v3, :cond_11

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

    move-result v4

    if-eqz v4, :cond_11

    invoke-virtual {v3, p1}, Landroidx/fragment/app/o;->V(Landroid/view/Menu;)Z

    move-result v3

    if-eqz v3, :cond_11

    move v1, v2

    goto :goto_11

    :cond_2d
    return v1
.end method

.method public final w(I)V
    .registers 6

    const/4 v0, 0x1

    const/4 v1, 0x0

    :try_start_2
    iput-boolean v0, p0, Landroidx/fragment/app/d0;->b:Z

    iget-object v2, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    .line 1
    iget-object v2, v2, Landroidx/fragment/app/k0;->t:Ljava/lang/Object;

    check-cast v2, Ljava/util/HashMap;

    invoke-virtual {v2}, Ljava/util/HashMap;->values()Ljava/util/Collection;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_12
    :goto_12
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_23

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroidx/fragment/app/j0;

    if-eqz v3, :cond_12

    .line 2
    iput p1, v3, Landroidx/fragment/app/j0;->e:I

    goto :goto_12

    .line 3
    :cond_23
    invoke-virtual {p0, p1, v1}, Landroidx/fragment/app/d0;->S(IZ)V

    invoke-virtual {p0}, Landroidx/fragment/app/d0;->f()Ljava/util/Set;

    move-result-object p1

    check-cast p1, Ljava/util/HashSet;

    invoke-virtual {p1}, Ljava/util/HashSet;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_30
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_40

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Landroidx/fragment/app/z0;

    invoke-virtual {v2}, Landroidx/fragment/app/z0;->e()V
    :try_end_3f
    .catchall {:try_start_2 .. :try_end_3f} :catchall_46

    goto :goto_30

    :cond_40
    iput-boolean v1, p0, Landroidx/fragment/app/d0;->b:Z

    invoke-virtual {p0, v0}, Landroidx/fragment/app/d0;->C(Z)Z

    return-void

    :catchall_46
    move-exception p1

    iput-boolean v1, p0, Landroidx/fragment/app/d0;->b:Z

    throw p1
.end method

.method public final x()V
    .registers 2

    iget-boolean v0, p0, Landroidx/fragment/app/d0;->E:Z

    if-eqz v0, :cond_a

    const/4 v0, 0x0

    iput-boolean v0, p0, Landroidx/fragment/app/d0;->E:Z

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

    :cond_a
    return-void
.end method

.method public y(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V
    .registers 10

    const-string v0, "    "

    invoke-static {p1, v0}, Le/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Landroidx/fragment/app/d0;->c:Landroidx/fragment/app/k0;

    invoke-static {v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 1
    new-instance v2, Ljava/lang/StringBuilder;

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

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

    const-string v3, "    "

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

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

    move-result-object v2

    iget-object v3, v1, Landroidx/fragment/app/k0;->t:Ljava/lang/Object;

    check-cast v3, Ljava/util/HashMap;

    invoke-virtual {v3}, Ljava/util/HashMap;->isEmpty()Z

    move-result v3

    if-nez v3, :cond_5a

    invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    const-string v3, "Active Fragments:"

    invoke-virtual {p3, v3}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V

    iget-object v3, v1, Landroidx/fragment/app/k0;->t:Ljava/lang/Object;

    check-cast v3, Ljava/util/HashMap;

    invoke-virtual {v3}, Ljava/util/HashMap;->values()Ljava/util/Collection;

    move-result-object v3

    invoke-interface {v3}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :goto_3a
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_5a

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Landroidx/fragment/app/j0;

    invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    if-eqz v4, :cond_54

    .line 2
    iget-object v4, v4, Landroidx/fragment/app/j0;->c:Landroidx/fragment/app/o;

    .line 3
    invoke-virtual {p3, v4}, Ljava/io/PrintWriter;->println(Ljava/lang/Object;)V

    invoke-virtual {v4, v2, p2, p3, p4}, Landroidx/fragment/app/o;->e(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V

    goto :goto_3a

    :cond_54
    const-string v4, "null"

    invoke-virtual {p3, v4}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V

    goto :goto_3a

    :cond_5a
    iget-object p2, v1, Landroidx/fragment/app/k0;->s:Ljava/lang/Object;

    check-cast p2, Ljava/util/ArrayList;

    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result p2

    const/4 p4, 0x0

    if-lez p2, :cond_94

    invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    const-string v2, "Added Fragments:"

    invoke-virtual {p3, v2}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V

    move v2, p4

    :goto_6e
    if-ge v2, p2, :cond_94

    iget-object v3, v1, Landroidx/fragment/app/k0;->s:Ljava/lang/Object;

    check-cast v3, Ljava/util/ArrayList;

    invoke-virtual {v3, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroidx/fragment/app/o;

    invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    const-string v4, "  #"

    invoke-virtual {p3, v4}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    invoke-virtual {p3, v2}, Ljava/io/PrintWriter;->print(I)V

    const-string v4, ": "

    invoke-virtual {p3, v4}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

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

    move-result-object v3

    invoke-virtual {p3, v3}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V

    add-int/lit8 v2, v2, 0x1

    goto :goto_6e

    .line 4
    :cond_94
    iget-object p2, p0, Landroidx/fragment/app/d0;->e:Ljava/util/ArrayList;

    if-eqz p2, :cond_cb

    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result p2

    if-lez p2, :cond_cb

    invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    const-string v1, "Fragments Created Menus:"

    invoke-virtual {p3, v1}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V

    move v1, p4

    :goto_a7
    if-ge v1, p2, :cond_cb

    iget-object v2, p0, Landroidx/fragment/app/d0;->e:Ljava/util/ArrayList;

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Landroidx/fragment/app/o;

    invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    const-string v3, "  #"

    invoke-virtual {p3, v3}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    invoke-virtual {p3, v1}, Ljava/io/PrintWriter;->print(I)V

    const-string v3, ": "

    invoke-virtual {p3, v3}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

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

    move-result-object v2

    invoke-virtual {p3, v2}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V

    add-int/lit8 v1, v1, 0x1

    goto :goto_a7

    :cond_cb
    iget-object p2, p0, Landroidx/fragment/app/d0;->d:Ljava/util/ArrayList;

    if-eqz p2, :cond_106

    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result p2

    if-lez p2, :cond_106

    invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    const-string v1, "Back Stack:"

    invoke-virtual {p3, v1}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V

    move v1, p4

    :goto_de
    if-ge v1, p2, :cond_106

    iget-object v2, p0, Landroidx/fragment/app/d0;->d:Ljava/util/ArrayList;

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Landroidx/fragment/app/b;

    invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    const-string v3, "  #"

    invoke-virtual {p3, v3}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    invoke-virtual {p3, v1}, Ljava/io/PrintWriter;->print(I)V

    const-string v3, ": "

    invoke-virtual {p3, v3}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

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

    move-result-object v3

    invoke-virtual {p3, v3}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V

    const/4 v3, 0x1

    .line 5
    invoke-virtual {v2, v0, p3, v3}, Landroidx/fragment/app/b;->f(Ljava/lang/String;Ljava/io/PrintWriter;Z)V

    add-int/lit8 v1, v1, 0x1

    goto :goto_de

    .line 6
    :cond_106
    invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    new-instance p2, Ljava/lang/StringBuilder;

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

    const-string v0, "Back Stack Index: "

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

    iget-object v0, p0, Landroidx/fragment/app/d0;->i:Ljava/util/concurrent/atomic/AtomicInteger;

    invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I

    move-result v0

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

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

    move-result-object p2

    invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V

    iget-object p2, p0, Landroidx/fragment/app/d0;->a:Ljava/util/ArrayList;

    monitor-enter p2

    :try_start_126
    iget-object v0, p0, Landroidx/fragment/app/d0;->a:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_156

    invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    const-string v1, "Pending Actions:"

    invoke-virtual {p3, v1}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V

    :goto_136
    if-ge p4, v0, :cond_156

    iget-object v1, p0, Landroidx/fragment/app/d0;->a:Ljava/util/ArrayList;

    invoke-virtual {v1, p4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroidx/fragment/app/d0$l;

    invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    const-string v2, "  #"

    invoke-virtual {p3, v2}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    invoke-virtual {p3, p4}, Ljava/io/PrintWriter;->print(I)V

    const-string v2, ": "

    invoke-virtual {p3, v2}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    invoke-virtual {p3, v1}, Ljava/io/PrintWriter;->println(Ljava/lang/Object;)V

    add-int/lit8 p4, p4, 0x1

    goto :goto_136

    :cond_156
    monitor-exit p2
    :try_end_157
    .catchall {:try_start_126 .. :try_end_157} :catchall_1c7

    invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    const-string p2, "FragmentManager misc state:"

    invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V

    invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    const-string p2, "  mHost="

    invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    iget-object p2, p0, Landroidx/fragment/app/d0;->q:Landroidx/fragment/app/a0;

    invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->println(Ljava/lang/Object;)V

    invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    const-string p2, "  mContainer="

    invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    iget-object p2, p0, Landroidx/fragment/app/d0;->r:Landroidx/fragment/app/w;

    invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->println(Ljava/lang/Object;)V

    iget-object p2, p0, Landroidx/fragment/app/d0;->s:Landroidx/fragment/app/o;

    if-eqz p2, :cond_18a

    invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    const-string p2, "  mParent="

    invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    iget-object p2, p0, Landroidx/fragment/app/d0;->s:Landroidx/fragment/app/o;

    invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->println(Ljava/lang/Object;)V

    :cond_18a
    invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    const-string p2, "  mCurState="

    invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    iget p2, p0, Landroidx/fragment/app/d0;->p:I

    invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->print(I)V

    const-string p2, " mStateSaved="

    invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    iget-boolean p2, p0, Landroidx/fragment/app/d0;->B:Z

    invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->print(Z)V

    const-string p2, " mStopped="

    invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    iget-boolean p2, p0, Landroidx/fragment/app/d0;->C:Z

    invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->print(Z)V

    const-string p2, " mDestroyed="

    invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    iget-boolean p2, p0, Landroidx/fragment/app/d0;->D:Z

    invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->println(Z)V

    iget-boolean p2, p0, Landroidx/fragment/app/d0;->A:Z

    if-eqz p2, :cond_1c6

    invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    const-string p1, "  mNeedMenuInvalidate="

    invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    iget-boolean p1, p0, Landroidx/fragment/app/d0;->A:Z

    invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->println(Z)V

    :cond_1c6
    return-void

    :catchall_1c7
    move-exception p1

    :try_start_1c8
    monitor-exit p2
    :try_end_1c9
    .catchall {:try_start_1c8 .. :try_end_1c9} :catchall_1c7

    throw p1
.end method

.method public final z()V
    .registers 3

    invoke-virtual {p0}, Landroidx/fragment/app/d0;->f()Ljava/util/Set;

    move-result-object v0

    check-cast v0, Ljava/util/HashSet;

    invoke-virtual {v0}, Ljava/util/HashSet;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_a
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1a

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroidx/fragment/app/z0;

    invoke-virtual {v1}, Landroidx/fragment/app/z0;->e()V

    goto :goto_a

    :cond_1a
    return-void
.end method
