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


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Landroidx/fragment/app/v$b;,
        Landroidx/fragment/app/v$a;
    }
.end annotation


# direct methods
.method public static a(Landroid/content/Context;Landroidx/fragment/app/o;ZZ)Landroidx/fragment/app/v$a;
    .registers 9

    .line 1
    iget-object v0, p1, Landroidx/fragment/app/o;->Y:Landroidx/fragment/app/o$b;

    const/4 v1, 0x0

    if-nez v0, :cond_7

    move v0, v1

    goto :goto_9

    :cond_7
    iget v0, v0, Landroidx/fragment/app/o$b;->h:I

    :goto_9
    if-eqz p3, :cond_17

    if-eqz p2, :cond_12

    .line 2
    invoke-virtual {p1}, Landroidx/fragment/app/o;->u()I

    move-result p3

    goto :goto_22

    :cond_12
    invoke-virtual {p1}, Landroidx/fragment/app/o;->v()I

    move-result p3

    goto :goto_22

    :cond_17
    if-eqz p2, :cond_1e

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

    move-result p3

    goto :goto_22

    :cond_1e
    invoke-virtual {p1}, Landroidx/fragment/app/o;->o()I

    move-result p3

    .line 3
    :goto_22
    invoke-virtual {p1, v1, v1, v1, v1}, Landroidx/fragment/app/o;->a0(IIII)V

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

    const/4 v3, 0x0

    if-eqz v2, :cond_38

    const v4, 0x7f0a0251

    invoke-virtual {v2, v4}, Landroid/view/ViewGroup;->getTag(I)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_38

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

    invoke-virtual {v2, v4, v3}, Landroid/view/ViewGroup;->setTag(ILjava/lang/Object;)V

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

    if-eqz p1, :cond_43

    invoke-virtual {p1}, Landroid/view/ViewGroup;->getLayoutTransition()Landroid/animation/LayoutTransition;

    move-result-object p1

    if-eqz p1, :cond_43

    return-object v3

    :cond_43
    if-nez p3, :cond_73

    if-eqz v0, :cond_73

    const/16 p1, 0x1001

    if-eq v0, p1, :cond_69

    const/16 p1, 0x1003

    if-eq v0, p1, :cond_5f

    const/16 p1, 0x2002

    if-eq v0, p1, :cond_55

    const/4 p1, -0x1

    goto :goto_72

    :cond_55
    if-eqz p2, :cond_5b

    const p1, 0x7f020003

    goto :goto_72

    :cond_5b
    const p1, 0x7f020004

    goto :goto_72

    :cond_5f
    if-eqz p2, :cond_65

    const p1, 0x7f020005

    goto :goto_72

    :cond_65
    const p1, 0x7f020006

    goto :goto_72

    :cond_69
    if-eqz p2, :cond_6f

    const p1, 0x7f020007

    goto :goto_72

    :cond_6f
    const p1, 0x7f020008

    :goto_72
    move p3, p1

    :cond_73
    if-eqz p3, :cond_b3

    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    invoke-virtual {p1, p3}, Landroid/content/res/Resources;->getResourceTypeName(I)Ljava/lang/String;

    move-result-object p1

    const-string p2, "anim"

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

    move-result p1

    if-eqz p1, :cond_95

    :try_start_85
    invoke-static {p0, p3}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object p2

    if-eqz p2, :cond_91

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

    invoke-direct {v0, p2}, Landroidx/fragment/app/v$a;-><init>(Landroid/view/animation/Animation;)V
    :try_end_90
    .catch Landroid/content/res/Resources$NotFoundException; {:try_start_85 .. :try_end_90} :catch_93
    .catch Ljava/lang/RuntimeException; {:try_start_85 .. :try_end_90} :catch_95

    return-object v0

    :cond_91
    const/4 v1, 0x1

    goto :goto_95

    :catch_93
    move-exception p0

    throw p0

    :catch_95
    :cond_95
    :goto_95
    if-nez v1, :cond_b3

    :try_start_97
    invoke-static {p0, p3}, Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator;

    move-result-object p2

    if-eqz p2, :cond_b3

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

    invoke-direct {v0, p2}, Landroidx/fragment/app/v$a;-><init>(Landroid/animation/Animator;)V
    :try_end_a2
    .catch Ljava/lang/RuntimeException; {:try_start_97 .. :try_end_a2} :catch_a3

    return-object v0

    :catch_a3
    move-exception p2

    if-nez p1, :cond_b2

    invoke-static {p0, p3}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object p0

    if-eqz p0, :cond_b3

    new-instance p1, Landroidx/fragment/app/v$a;

    invoke-direct {p1, p0}, Landroidx/fragment/app/v$a;-><init>(Landroid/view/animation/Animation;)V

    return-object p1

    :cond_b2
    throw p2

    :cond_b3
    return-object v3
.end method
