.class public final Lj6/t2;
.super Ljava/lang/Object;
.source ""


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<V:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;"
    }
.end annotation


# static fields
.field public static final g:Ljava/lang/Object;


# instance fields
.field public final a:Ljava/lang/String;

.field public final b:Lj6/s2;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lj6/s2<",
            "TV;>;"
        }
    .end annotation
.end field

.field public final c:Ljava/lang/Object;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TV;"
        }
    .end annotation
.end field

.field public final d:Ljava/lang/Object;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TV;"
        }
    .end annotation
.end field

.field public final e:Ljava/lang/Object;

.field public volatile f:Ljava/lang/Object;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TV;"
        }
    .end annotation
.end field


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

    new-instance v0, Ljava/lang/Object;

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

    sput-object v0, Lj6/t2;->g:Ljava/lang/Object;

    return-void
.end method

.method public synthetic constructor <init>(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Lj6/s2;)V
    .registers 6

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

    new-instance v0, Ljava/lang/Object;

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

    iput-object v0, p0, Lj6/t2;->e:Ljava/lang/Object;

    const/4 v0, 0x0

    iput-object v0, p0, Lj6/t2;->f:Ljava/lang/Object;

    iput-object p1, p0, Lj6/t2;->a:Ljava/lang/String;

    iput-object p2, p0, Lj6/t2;->c:Ljava/lang/Object;

    iput-object p3, p0, Lj6/t2;->d:Ljava/lang/Object;

    iput-object p4, p0, Lj6/t2;->b:Lj6/s2;

    return-void
.end method


# virtual methods
.method public final a(Ljava/lang/Object;)Ljava/lang/Object;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TV;)TV;"
        }
    .end annotation

    iget-object v0, p0, Lj6/t2;->e:Ljava/lang/Object;

    monitor-enter v0

    :try_start_3
    monitor-exit v0
    :try_end_4
    .catchall {:try_start_3 .. :try_end_4} :catchall_6b

    if-eqz p1, :cond_7

    return-object p1

    :cond_7
    sget-object p1, Landroidx/appcompat/widget/p;->a:Lz1/b;

    if-eqz p1, :cond_68

    sget-object p1, Lj6/t2;->g:Ljava/lang/Object;

    monitor-enter p1

    :try_start_e
    invoke-static {}, Lz1/b;->a()Z

    move-result v0

    if-eqz v0, :cond_1f

    iget-object v0, p0, Lj6/t2;->f:Ljava/lang/Object;

    if-nez v0, :cond_1b

    iget-object v0, p0, Lj6/t2;->c:Ljava/lang/Object;

    goto :goto_1d

    :cond_1b
    iget-object v0, p0, Lj6/t2;->f:Ljava/lang/Object;

    :goto_1d
    monitor-exit p1

    return-object v0

    :cond_1f
    monitor-exit p1
    :try_end_20
    .catchall {:try_start_e .. :try_end_20} :catchall_65

    .line 1
    :try_start_20
    sget-object p1, Lj6/u2;->a:Ljava/util/List;

    .line 2
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

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

    move-result v0

    if-eqz v0, :cond_53

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

    move-result-object v0

    check-cast v0, Lj6/t2;

    invoke-static {}, Lz1/b;->a()Z

    move-result v1
    :try_end_36
    .catch Ljava/lang/SecurityException; {:try_start_20 .. :try_end_36} :catch_53

    if-nez v1, :cond_4b

    const/4 v1, 0x0

    :try_start_39
    iget-object v2, v0, Lj6/t2;->b:Lj6/s2;

    if-eqz v2, :cond_41

    invoke-interface {v2}, Lj6/s2;->zza()Ljava/lang/Object;

    move-result-object v1
    :try_end_41
    .catch Ljava/lang/IllegalStateException; {:try_start_39 .. :try_end_41} :catch_41
    .catch Ljava/lang/SecurityException; {:try_start_39 .. :try_end_41} :catch_53

    :catch_41
    :cond_41
    :try_start_41
    sget-object v2, Lj6/t2;->g:Ljava/lang/Object;

    monitor-enter v2
    :try_end_44
    .catch Ljava/lang/SecurityException; {:try_start_41 .. :try_end_44} :catch_53

    :try_start_44
    iput-object v1, v0, Lj6/t2;->f:Ljava/lang/Object;

    monitor-exit v2

    goto :goto_26

    :catchall_48
    move-exception p1

    monitor-exit v2
    :try_end_4a
    .catchall {:try_start_44 .. :try_end_4a} :catchall_48

    :try_start_4a
    throw p1

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

    const-string v0, "Refreshing flag cache must be done on a worker thread."

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

    throw p1
    :try_end_53
    .catch Ljava/lang/SecurityException; {:try_start_4a .. :try_end_53} :catch_53

    :catch_53
    :cond_53
    iget-object p1, p0, Lj6/t2;->b:Lj6/s2;

    if-nez p1, :cond_5a

    iget-object p1, p0, Lj6/t2;->c:Ljava/lang/Object;

    return-object p1

    :cond_5a
    :try_start_5a
    invoke-interface {p1}, Lj6/s2;->zza()Ljava/lang/Object;

    move-result-object p1
    :try_end_5e
    .catch Ljava/lang/SecurityException; {:try_start_5a .. :try_end_5e} :catch_62
    .catch Ljava/lang/IllegalStateException; {:try_start_5a .. :try_end_5e} :catch_5f

    return-object p1

    :catch_5f
    iget-object p1, p0, Lj6/t2;->c:Ljava/lang/Object;

    return-object p1

    :catch_62
    iget-object p1, p0, Lj6/t2;->c:Ljava/lang/Object;

    return-object p1

    :catchall_65
    move-exception v0

    :try_start_66
    monitor-exit p1
    :try_end_67
    .catchall {:try_start_66 .. :try_end_67} :catchall_65

    throw v0

    :cond_68
    iget-object p1, p0, Lj6/t2;->c:Ljava/lang/Object;

    return-object p1

    :catchall_6b
    move-exception p1

    :try_start_6c
    monitor-exit v0
    :try_end_6d
    .catchall {:try_start_6c .. :try_end_6d} :catchall_6b

    throw p1
.end method
