.class public Landroidx/appcompat/widget/f;
.super Ljava/lang/Object;
.source ""


# instance fields
.field public final a:Landroid/view/View;

.field public final b:Landroidx/appcompat/widget/l;

.field public c:I

.field public d:Landroidx/appcompat/widget/f1;

.field public e:Landroidx/appcompat/widget/f1;

.field public f:Landroidx/appcompat/widget/f1;


# direct methods
.method public constructor <init>(Landroid/view/View;)V
    .registers 3

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

    const/4 v0, -0x1

    iput v0, p0, Landroidx/appcompat/widget/f;->c:I

    iput-object p1, p0, Landroidx/appcompat/widget/f;->a:Landroid/view/View;

    invoke-static {}, Landroidx/appcompat/widget/l;->a()Landroidx/appcompat/widget/l;

    move-result-object p1

    iput-object p1, p0, Landroidx/appcompat/widget/f;->b:Landroidx/appcompat/widget/l;

    return-void
.end method


# virtual methods
.method public a()V
    .registers 7

    iget-object v0, p0, Landroidx/appcompat/widget/f;->a:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;

    move-result-object v0

    if-eqz v0, :cond_75

    .line 1
    iget-object v1, p0, Landroidx/appcompat/widget/f;->d:Landroidx/appcompat/widget/f1;

    const/4 v2, 0x1

    const/4 v3, 0x0

    if-eqz v1, :cond_10

    move v1, v2

    goto :goto_11

    :cond_10
    move v1, v3

    :goto_11
    if-eqz v1, :cond_5a

    .line 2
    iget-object v1, p0, Landroidx/appcompat/widget/f;->f:Landroidx/appcompat/widget/f1;

    if-nez v1, :cond_1e

    new-instance v1, Landroidx/appcompat/widget/f1;

    invoke-direct {v1}, Landroidx/appcompat/widget/f1;-><init>()V

    iput-object v1, p0, Landroidx/appcompat/widget/f;->f:Landroidx/appcompat/widget/f1;

    :cond_1e
    iget-object v1, p0, Landroidx/appcompat/widget/f;->f:Landroidx/appcompat/widget/f1;

    const/4 v4, 0x0

    .line 3
    iput-object v4, v1, Landroidx/appcompat/widget/f1;->a:Landroid/content/res/ColorStateList;

    iput-boolean v3, v1, Landroidx/appcompat/widget/f1;->d:Z

    iput-object v4, v1, Landroidx/appcompat/widget/f1;->b:Landroid/graphics/PorterDuff$Mode;

    iput-boolean v3, v1, Landroidx/appcompat/widget/f1;->c:Z

    .line 4
    iget-object v4, p0, Landroidx/appcompat/widget/f;->a:Landroid/view/View;

    sget-object v5, Ll0/u;->a:Ljava/util/WeakHashMap;

    .line 5
    invoke-static {v4}, Ll0/u$i;->g(Landroid/view/View;)Landroid/content/res/ColorStateList;

    move-result-object v4

    if-eqz v4, :cond_37

    .line 6
    iput-boolean v2, v1, Landroidx/appcompat/widget/f1;->d:Z

    iput-object v4, v1, Landroidx/appcompat/widget/f1;->a:Landroid/content/res/ColorStateList;

    :cond_37
    iget-object v4, p0, Landroidx/appcompat/widget/f;->a:Landroid/view/View;

    .line 7
    invoke-static {v4}, Ll0/u$i;->h(Landroid/view/View;)Landroid/graphics/PorterDuff$Mode;

    move-result-object v4

    if-eqz v4, :cond_43

    .line 8
    iput-boolean v2, v1, Landroidx/appcompat/widget/f1;->c:Z

    iput-object v4, v1, Landroidx/appcompat/widget/f1;->b:Landroid/graphics/PorterDuff$Mode;

    :cond_43
    iget-boolean v4, v1, Landroidx/appcompat/widget/f1;->d:Z

    if-nez v4, :cond_4e

    iget-boolean v4, v1, Landroidx/appcompat/widget/f1;->c:Z

    if-eqz v4, :cond_4c

    goto :goto_4e

    :cond_4c
    move v2, v3

    goto :goto_57

    :cond_4e
    :goto_4e
    iget-object v3, p0, Landroidx/appcompat/widget/f;->a:Landroid/view/View;

    invoke-virtual {v3}, Landroid/view/View;->getDrawableState()[I

    move-result-object v3

    invoke-static {v0, v1, v3}, Landroidx/appcompat/widget/l;->f(Landroid/graphics/drawable/Drawable;Landroidx/appcompat/widget/f1;[I)V

    :goto_57
    if-eqz v2, :cond_5a

    return-void

    .line 9
    :cond_5a
    iget-object v1, p0, Landroidx/appcompat/widget/f;->e:Landroidx/appcompat/widget/f1;

    if-eqz v1, :cond_68

    iget-object v2, p0, Landroidx/appcompat/widget/f;->a:Landroid/view/View;

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

    move-result-object v2

    invoke-static {v0, v1, v2}, Landroidx/appcompat/widget/l;->f(Landroid/graphics/drawable/Drawable;Landroidx/appcompat/widget/f1;[I)V

    goto :goto_75

    :cond_68
    iget-object v1, p0, Landroidx/appcompat/widget/f;->d:Landroidx/appcompat/widget/f1;

    if-eqz v1, :cond_75

    iget-object v2, p0, Landroidx/appcompat/widget/f;->a:Landroid/view/View;

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

    move-result-object v2

    invoke-static {v0, v1, v2}, Landroidx/appcompat/widget/l;->f(Landroid/graphics/drawable/Drawable;Landroidx/appcompat/widget/f1;[I)V

    :cond_75
    :goto_75
    return-void
.end method

.method public b()Landroid/content/res/ColorStateList;
    .registers 2

    iget-object v0, p0, Landroidx/appcompat/widget/f;->e:Landroidx/appcompat/widget/f1;

    if-eqz v0, :cond_7

    iget-object v0, v0, Landroidx/appcompat/widget/f1;->a:Landroid/content/res/ColorStateList;

    goto :goto_8

    :cond_7
    const/4 v0, 0x0

    :goto_8
    return-object v0
.end method

.method public c()Landroid/graphics/PorterDuff$Mode;
    .registers 2

    iget-object v0, p0, Landroidx/appcompat/widget/f;->e:Landroidx/appcompat/widget/f1;

    if-eqz v0, :cond_7

    iget-object v0, v0, Landroidx/appcompat/widget/f1;->b:Landroid/graphics/PorterDuff$Mode;

    goto :goto_8

    :cond_7
    const/4 v0, 0x0

    :goto_8
    return-object v0
.end method

.method public d(Landroid/util/AttributeSet;I)V
    .registers 12

    iget-object v0, p0, Landroidx/appcompat/widget/f;->a:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getContext()Landroid/content/Context;

    move-result-object v0

    sget-object v3, Le/m;->z:[I

    const/4 v8, 0x0

    invoke-static {v0, p1, v3, p2, v8}, Landroidx/appcompat/widget/h1;->q(Landroid/content/Context;Landroid/util/AttributeSet;[III)Landroidx/appcompat/widget/h1;

    move-result-object v0

    iget-object v1, p0, Landroidx/appcompat/widget/f;->a:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->getContext()Landroid/content/Context;

    move-result-object v2

    .line 1
    iget-object v5, v0, Landroidx/appcompat/widget/h1;->b:Landroid/content/res/TypedArray;

    const/4 v7, 0x0

    move-object v4, p1

    move v6, p2

    .line 2
    invoke-static/range {v1 .. v7}, Ll0/u;->o(Landroid/view/View;Landroid/content/Context;[ILandroid/util/AttributeSet;Landroid/content/res/TypedArray;II)V

    :try_start_1b
    invoke-virtual {v0, v8}, Landroidx/appcompat/widget/h1;->o(I)Z

    move-result p1

    const/4 p2, -0x1

    if-eqz p1, :cond_3b

    invoke-virtual {v0, v8, p2}, Landroidx/appcompat/widget/h1;->l(II)I

    move-result p1

    iput p1, p0, Landroidx/appcompat/widget/f;->c:I

    iget-object p1, p0, Landroidx/appcompat/widget/f;->b:Landroidx/appcompat/widget/l;

    iget-object v1, p0, Landroidx/appcompat/widget/f;->a:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->getContext()Landroid/content/Context;

    move-result-object v1

    iget v2, p0, Landroidx/appcompat/widget/f;->c:I

    invoke-virtual {p1, v1, v2}, Landroidx/appcompat/widget/l;->d(Landroid/content/Context;I)Landroid/content/res/ColorStateList;

    move-result-object p1

    if-eqz p1, :cond_3b

    invoke-virtual {p0, p1}, Landroidx/appcompat/widget/f;->g(Landroid/content/res/ColorStateList;)V

    :cond_3b
    const/4 p1, 0x1

    invoke-virtual {v0, p1}, Landroidx/appcompat/widget/h1;->o(I)Z

    move-result v1

    if-eqz v1, :cond_4e

    iget-object v1, p0, Landroidx/appcompat/widget/f;->a:Landroid/view/View;

    invoke-virtual {v0, p1}, Landroidx/appcompat/widget/h1;->c(I)Landroid/content/res/ColorStateList;

    move-result-object p1

    .line 3
    invoke-static {v1, p1}, Ll0/u$i;->q(Landroid/view/View;Landroid/content/res/ColorStateList;)V

    goto :goto_4e

    :catchall_4c
    move-exception p1

    goto :goto_69

    :cond_4e
    :goto_4e
    const/4 p1, 0x2

    .line 4
    invoke-virtual {v0, p1}, Landroidx/appcompat/widget/h1;->o(I)Z

    move-result v1

    if-eqz v1, :cond_63

    iget-object v1, p0, Landroidx/appcompat/widget/f;->a:Landroid/view/View;

    invoke-virtual {v0, p1, p2}, Landroidx/appcompat/widget/h1;->j(II)I

    move-result p1

    const/4 p2, 0x0

    invoke-static {p1, p2}, Landroidx/appcompat/widget/m0;->d(ILandroid/graphics/PorterDuff$Mode;)Landroid/graphics/PorterDuff$Mode;

    move-result-object p1

    .line 5
    invoke-static {v1, p1}, Ll0/u$i;->r(Landroid/view/View;Landroid/graphics/PorterDuff$Mode;)V
    :try_end_63
    .catchall {:try_start_1b .. :try_end_63} :catchall_4c

    .line 6
    :cond_63
    iget-object p1, v0, Landroidx/appcompat/widget/h1;->b:Landroid/content/res/TypedArray;

    invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V

    return-void

    :goto_69
    iget-object p2, v0, Landroidx/appcompat/widget/h1;->b:Landroid/content/res/TypedArray;

    invoke-virtual {p2}, Landroid/content/res/TypedArray;->recycle()V

    .line 7
    throw p1
.end method

.method public e()V
    .registers 2

    const/4 v0, -0x1

    iput v0, p0, Landroidx/appcompat/widget/f;->c:I

    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Landroidx/appcompat/widget/f;->g(Landroid/content/res/ColorStateList;)V

    invoke-virtual {p0}, Landroidx/appcompat/widget/f;->a()V

    return-void
.end method

.method public f(I)V
    .registers 4

    iput p1, p0, Landroidx/appcompat/widget/f;->c:I

    iget-object v0, p0, Landroidx/appcompat/widget/f;->b:Landroidx/appcompat/widget/l;

    if-eqz v0, :cond_11

    iget-object v1, p0, Landroidx/appcompat/widget/f;->a:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1, p1}, Landroidx/appcompat/widget/l;->d(Landroid/content/Context;I)Landroid/content/res/ColorStateList;

    move-result-object p1

    goto :goto_12

    :cond_11
    const/4 p1, 0x0

    :goto_12
    invoke-virtual {p0, p1}, Landroidx/appcompat/widget/f;->g(Landroid/content/res/ColorStateList;)V

    invoke-virtual {p0}, Landroidx/appcompat/widget/f;->a()V

    return-void
.end method

.method public g(Landroid/content/res/ColorStateList;)V
    .registers 3

    if-eqz p1, :cond_15

    iget-object v0, p0, Landroidx/appcompat/widget/f;->d:Landroidx/appcompat/widget/f1;

    if-nez v0, :cond_d

    new-instance v0, Landroidx/appcompat/widget/f1;

    invoke-direct {v0}, Landroidx/appcompat/widget/f1;-><init>()V

    iput-object v0, p0, Landroidx/appcompat/widget/f;->d:Landroidx/appcompat/widget/f1;

    :cond_d
    iget-object v0, p0, Landroidx/appcompat/widget/f;->d:Landroidx/appcompat/widget/f1;

    iput-object p1, v0, Landroidx/appcompat/widget/f1;->a:Landroid/content/res/ColorStateList;

    const/4 p1, 0x1

    iput-boolean p1, v0, Landroidx/appcompat/widget/f1;->d:Z

    goto :goto_18

    :cond_15
    const/4 p1, 0x0

    iput-object p1, p0, Landroidx/appcompat/widget/f;->d:Landroidx/appcompat/widget/f1;

    :goto_18
    invoke-virtual {p0}, Landroidx/appcompat/widget/f;->a()V

    return-void
.end method

.method public h(Landroid/content/res/ColorStateList;)V
    .registers 3

    iget-object v0, p0, Landroidx/appcompat/widget/f;->e:Landroidx/appcompat/widget/f1;

    if-nez v0, :cond_b

    new-instance v0, Landroidx/appcompat/widget/f1;

    invoke-direct {v0}, Landroidx/appcompat/widget/f1;-><init>()V

    iput-object v0, p0, Landroidx/appcompat/widget/f;->e:Landroidx/appcompat/widget/f1;

    :cond_b
    iget-object v0, p0, Landroidx/appcompat/widget/f;->e:Landroidx/appcompat/widget/f1;

    iput-object p1, v0, Landroidx/appcompat/widget/f1;->a:Landroid/content/res/ColorStateList;

    const/4 p1, 0x1

    iput-boolean p1, v0, Landroidx/appcompat/widget/f1;->d:Z

    invoke-virtual {p0}, Landroidx/appcompat/widget/f;->a()V

    return-void
.end method

.method public i(Landroid/graphics/PorterDuff$Mode;)V
    .registers 3

    iget-object v0, p0, Landroidx/appcompat/widget/f;->e:Landroidx/appcompat/widget/f1;

    if-nez v0, :cond_b

    new-instance v0, Landroidx/appcompat/widget/f1;

    invoke-direct {v0}, Landroidx/appcompat/widget/f1;-><init>()V

    iput-object v0, p0, Landroidx/appcompat/widget/f;->e:Landroidx/appcompat/widget/f1;

    :cond_b
    iget-object v0, p0, Landroidx/appcompat/widget/f;->e:Landroidx/appcompat/widget/f1;

    iput-object p1, v0, Landroidx/appcompat/widget/f1;->b:Landroid/graphics/PorterDuff$Mode;

    const/4 p1, 0x1

    iput-boolean p1, v0, Landroidx/appcompat/widget/f1;->c:Z

    invoke-virtual {p0}, Landroidx/appcompat/widget/f;->a()V

    return-void
.end method
