.class public final Lcom/google/android/gms/internal/ads/u0;
.super Ljava/lang/Object;
.source ""


# annotations
.annotation runtime Ljavax/annotation/ParametersAreNonnullByDefault;
.end annotation


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

.field public final b:Landroid/content/Context;

.field public final c:Ljava/lang/String;

.field public final d:Lz5/g50;

.field public final e:Lcom/google/android/gms/ads/internal/util/zzbe;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/google/android/gms/ads/internal/util/zzbe<",
            "Lz5/iw;",
            ">;"
        }
    .end annotation
.end field

.field public final f:Lcom/google/android/gms/ads/internal/util/zzbe;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/google/android/gms/ads/internal/util/zzbe<",
            "Lz5/iw;",
            ">;"
        }
    .end annotation
.end field

.field public g:Lz5/qw;

.field public h:I


# direct methods
.method public constructor <init>(Landroid/content/Context;Lz5/g50;Ljava/lang/String;Lcom/google/android/gms/ads/internal/util/zzbe;Lcom/google/android/gms/ads/internal/util/zzbe;)V
    .registers 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Lz5/g50;",
            "Ljava/lang/String;",
            "Lcom/google/android/gms/ads/internal/util/zzbe<",
            "Lz5/iw;",
            ">;",
            "Lcom/google/android/gms/ads/internal/util/zzbe<",
            "Lz5/iw;",
            ">;)V"
        }
    .end annotation

    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, Lcom/google/android/gms/internal/ads/u0;->a:Ljava/lang/Object;

    const/4 v0, 0x1

    iput v0, p0, Lcom/google/android/gms/internal/ads/u0;->h:I

    iput-object p3, p0, Lcom/google/android/gms/internal/ads/u0;->c:Ljava/lang/String;

    invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object p1

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/u0;->b:Landroid/content/Context;

    iput-object p2, p0, Lcom/google/android/gms/internal/ads/u0;->d:Lz5/g50;

    iput-object p4, p0, Lcom/google/android/gms/internal/ads/u0;->e:Lcom/google/android/gms/ads/internal/util/zzbe;

    iput-object p5, p0, Lcom/google/android/gms/internal/ads/u0;->f:Lcom/google/android/gms/ads/internal/util/zzbe;

    return-void
.end method


# virtual methods
.method public final a(Lz5/l;)Lz5/qw;
    .registers 4

    new-instance p1, Lz5/qw;

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/u0;->f:Lcom/google/android/gms/ads/internal/util/zzbe;

    invoke-direct {p1, v0}, Lz5/qw;-><init>(Lcom/google/android/gms/ads/internal/util/zzbe;)V

    sget-object v0, Lz5/k50;->e:Lz5/gc1;

    new-instance v1, Ll5/l;

    invoke-direct {v1, p0, p1}, Ll5/l;-><init>(Lcom/google/android/gms/internal/ads/u0;Lz5/qw;)V

    check-cast v0, Lz5/j50;

    invoke-virtual {v0, v1}, Lz5/j50;->execute(Ljava/lang/Runnable;)V

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

    invoke-direct {v0, p0, p1}, Landroidx/appcompat/widget/n;-><init>(Lcom/google/android/gms/internal/ads/u0;Lz5/qw;)V

    new-instance v1, Lcom/google/android/gms/internal/ads/k0;

    invoke-direct {v1, p0, p1}, Lcom/google/android/gms/internal/ads/k0;-><init>(Lcom/google/android/gms/internal/ads/u0;Lz5/qw;)V

    invoke-virtual {p1, v0, v1}, Lz5/n50;->l(Lz5/m50;Lz5/l50;)V

    return-object p1
.end method

.method public final b(Lz5/l;)Lz5/pw;
    .registers 6

    iget-object p1, p0, Lcom/google/android/gms/internal/ads/u0;->a:Ljava/lang/Object;

    monitor-enter p1

    :try_start_3
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/u0;->a:Ljava/lang/Object;

    monitor-enter v0
    :try_end_6
    .catchall {:try_start_3 .. :try_end_6} :catchall_5c

    :try_start_6
    iget-object v1, p0, Lcom/google/android/gms/internal/ads/u0;->g:Lz5/qw;

    if-eqz v1, :cond_18

    iget v2, p0, Lcom/google/android/gms/internal/ads/u0;->h:I

    if-nez v2, :cond_18

    new-instance v2, Lz5/xa0;

    invoke-direct {v2, p0}, Lz5/xa0;-><init>(Lcom/google/android/gms/internal/ads/u0;)V

    sget-object v3, Lz5/lw;->r:Lz5/l50;

    invoke-virtual {v1, v2, v3}, Lz5/n50;->l(Lz5/m50;Lz5/l50;)V

    :cond_18
    monitor-exit v0
    :try_end_19
    .catchall {:try_start_6 .. :try_end_19} :catchall_59

    :try_start_19
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/u0;->g:Lz5/qw;

    const/4 v1, 0x0

    const/4 v2, 0x2

    if-eqz v0, :cond_4b

    invoke-virtual {v0}, Lz5/n50;->n()I

    move-result v0

    const/4 v3, -0x1

    if-ne v0, v3, :cond_27

    goto :goto_4b

    :cond_27
    iget v0, p0, Lcom/google/android/gms/internal/ads/u0;->h:I

    if-nez v0, :cond_33

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/u0;->g:Lz5/qw;

    invoke-virtual {v0}, Lz5/qw;->o()Lz5/pw;

    move-result-object v0

    monitor-exit p1

    return-object v0

    :cond_33
    const/4 v3, 0x1

    if-ne v0, v3, :cond_43

    iput v2, p0, Lcom/google/android/gms/internal/ads/u0;->h:I

    invoke-virtual {p0, v1}, Lcom/google/android/gms/internal/ads/u0;->a(Lz5/l;)Lz5/qw;

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/u0;->g:Lz5/qw;

    invoke-virtual {v0}, Lz5/qw;->o()Lz5/pw;

    move-result-object v0

    monitor-exit p1

    return-object v0

    :cond_43
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/u0;->g:Lz5/qw;

    invoke-virtual {v0}, Lz5/qw;->o()Lz5/pw;

    move-result-object v0

    monitor-exit p1

    return-object v0

    :cond_4b
    :goto_4b
    iput v2, p0, Lcom/google/android/gms/internal/ads/u0;->h:I

    invoke-virtual {p0, v1}, Lcom/google/android/gms/internal/ads/u0;->a(Lz5/l;)Lz5/qw;

    move-result-object v0

    iput-object v0, p0, Lcom/google/android/gms/internal/ads/u0;->g:Lz5/qw;

    invoke-virtual {v0}, Lz5/qw;->o()Lz5/pw;

    move-result-object v0

    monitor-exit p1
    :try_end_58
    .catchall {:try_start_19 .. :try_end_58} :catchall_5c

    return-object v0

    :catchall_59
    move-exception v1

    :try_start_5a
    monitor-exit v0
    :try_end_5b
    .catchall {:try_start_5a .. :try_end_5b} :catchall_59

    :try_start_5b
    throw v1

    :catchall_5c
    move-exception v0

    monitor-exit p1
    :try_end_5e
    .catchall {:try_start_5b .. :try_end_5e} :catchall_5c

    throw v0
.end method
