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


# static fields
.field public static final b:Landroid/graphics/PorterDuff$Mode;

.field public static c:Landroidx/appcompat/widget/l;


# instance fields
.field public a:Landroidx/appcompat/widget/v0;


# direct methods
.method public static constructor <clinit>()V
    .registers 1

    sget-object v0, Landroid/graphics/PorterDuff$Mode;->SRC_IN:Landroid/graphics/PorterDuff$Mode;

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

    return-void
.end method

.method public constructor <init>()V
    .registers 1

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

    return-void
.end method

.method public static declared-synchronized a()Landroidx/appcompat/widget/l;
    .registers 2

    const-class v0, Landroidx/appcompat/widget/l;

    monitor-enter v0

    :try_start_3
    sget-object v1, Landroidx/appcompat/widget/l;->c:Landroidx/appcompat/widget/l;

    if-nez v1, :cond_a

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

    :cond_a
    sget-object v1, Landroidx/appcompat/widget/l;->c:Landroidx/appcompat/widget/l;
    :try_end_c
    .catchall {:try_start_3 .. :try_end_c} :catchall_e

    monitor-exit v0

    return-object v1

    :catchall_e
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method public static declared-synchronized c(ILandroid/graphics/PorterDuff$Mode;)Landroid/graphics/PorterDuffColorFilter;
    .registers 3

    const-class v0, Landroidx/appcompat/widget/l;

    monitor-enter v0

    :try_start_3
    invoke-static {p0, p1}, Landroidx/appcompat/widget/v0;->g(ILandroid/graphics/PorterDuff$Mode;)Landroid/graphics/PorterDuffColorFilter;

    move-result-object p0
    :try_end_7
    .catchall {:try_start_3 .. :try_end_7} :catchall_9

    monitor-exit v0

    return-object p0

    :catchall_9
    move-exception p0

    monitor-exit v0

    throw p0
.end method

.method public static declared-synchronized e()V
    .registers 3

    const-class v0, Landroidx/appcompat/widget/l;

    monitor-enter v0

    :try_start_3
    sget-object v1, Landroidx/appcompat/widget/l;->c:Landroidx/appcompat/widget/l;

    if-nez v1, :cond_25

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

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

    sput-object v1, Landroidx/appcompat/widget/l;->c:Landroidx/appcompat/widget/l;

    invoke-static {}, Landroidx/appcompat/widget/v0;->c()Landroidx/appcompat/widget/v0;

    move-result-object v2

    iput-object v2, v1, Landroidx/appcompat/widget/l;->a:Landroidx/appcompat/widget/v0;

    sget-object v1, Landroidx/appcompat/widget/l;->c:Landroidx/appcompat/widget/l;

    iget-object v1, v1, Landroidx/appcompat/widget/l;->a:Landroidx/appcompat/widget/v0;

    new-instance v2, Landroidx/appcompat/widget/l$a;

    invoke-direct {v2}, Landroidx/appcompat/widget/l$a;-><init>()V

    .line 1
    monitor-enter v1
    :try_end_1e
    .catchall {:try_start_3 .. :try_end_1e} :catchall_27

    :try_start_1e
    iput-object v2, v1, Landroidx/appcompat/widget/v0;->g:Landroidx/appcompat/widget/v0$c;
    :try_end_20
    .catchall {:try_start_1e .. :try_end_20} :catchall_22

    :try_start_20
    monitor-exit v1

    goto :goto_25

    :catchall_22
    move-exception v2

    monitor-exit v1

    throw v2
    :try_end_25
    .catchall {:try_start_20 .. :try_end_25} :catchall_27

    .line 2
    :cond_25
    :goto_25
    monitor-exit v0

    return-void

    :catchall_27
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method public static f(Landroid/graphics/drawable/Drawable;Landroidx/appcompat/widget/f1;[I)V
    .registers 6

    sget-object v0, Landroidx/appcompat/widget/v0;->h:Landroid/graphics/PorterDuff$Mode;

    .line 1
    invoke-static {p0}, Landroidx/appcompat/widget/m0;->a(Landroid/graphics/drawable/Drawable;)Z

    move-result v0

    if-eqz v0, :cond_16

    invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;

    move-result-object v0

    if-eq v0, p0, :cond_16

    const-string p0, "ResourceManagerInternal"

    const-string p1, "Mutated drawable is not the same instance as the input."

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

    goto :goto_44

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

    if-nez v0, :cond_23

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

    if-eqz v1, :cond_1f

    goto :goto_23

    :cond_1f
    invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->clearColorFilter()V

    goto :goto_44

    :cond_23
    :goto_23
    const/4 v1, 0x0

    if-eqz v0, :cond_29

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

    goto :goto_2a

    :cond_29
    move-object v0, v1

    :goto_2a
    iget-boolean v2, p1, Landroidx/appcompat/widget/f1;->c:Z

    if-eqz v2, :cond_31

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

    goto :goto_33

    :cond_31
    sget-object p1, Landroidx/appcompat/widget/v0;->h:Landroid/graphics/PorterDuff$Mode;

    :goto_33
    if-eqz v0, :cond_41

    if-nez p1, :cond_38

    goto :goto_41

    :cond_38
    const/4 v1, 0x0

    .line 2
    invoke-virtual {v0, p2, v1}, Landroid/content/res/ColorStateList;->getColorForState([II)I

    move-result p2

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

    move-result-object v1

    .line 3
    :cond_41
    :goto_41
    invoke-virtual {p0, v1}, Landroid/graphics/drawable/Drawable;->setColorFilter(Landroid/graphics/ColorFilter;)V

    :goto_44
    return-void
.end method


# virtual methods
.method public declared-synchronized b(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
    .registers 4

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Landroidx/appcompat/widget/l;->a:Landroidx/appcompat/widget/v0;

    invoke-virtual {v0, p1, p2}, Landroidx/appcompat/widget/v0;->e(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;

    move-result-object p1
    :try_end_7
    .catchall {:try_start_1 .. :try_end_7} :catchall_9

    monitor-exit p0

    return-object p1

    :catchall_9
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public declared-synchronized d(Landroid/content/Context;I)Landroid/content/res/ColorStateList;
    .registers 4

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Landroidx/appcompat/widget/l;->a:Landroidx/appcompat/widget/v0;

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

    move-result-object p1
    :try_end_7
    .catchall {:try_start_1 .. :try_end_7} :catchall_9

    monitor-exit p0

    return-object p1

    :catchall_9
    move-exception p1

    monitor-exit p0

    throw p1
.end method
