.class public final Lz5/ze0;
.super Ljava/lang/Object;
.source ""


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


# instance fields
.field public final a:Lz5/uk;

.field public final b:Lz5/m31;

.field public final c:Lz5/k51;

.field public final d:Lz5/rd;

.field public final e:Lz5/lw0;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lz5/lw0<",
            "TT;>;"
        }
    .end annotation
.end field

.field public final f:Lz5/dj0;

.field public g:Lz5/i31;

.field public final h:Lcom/google/android/gms/internal/ads/d1;

.field public final i:Lz5/ka0;

.field public final j:Ljava/util/concurrent/Executor;

.field public final k:Lz5/vs0;

.field public final l:Lz5/yu0;


# direct methods
.method public constructor <init>(Lz5/uk;Lz5/m31;Lz5/k51;Lz5/rd;Lz5/lw0;Lz5/dj0;Lz5/i31;Lcom/google/android/gms/internal/ads/d1;Lz5/ka0;Ljava/util/concurrent/Executor;Lz5/vs0;Lz5/yu0;)V
    .registers 13
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/uk;",
            "Lz5/m31;",
            "Lz5/k51;",
            "Lz5/rd;",
            "Lz5/lw0<",
            "TT;>;",
            "Lz5/dj0;",
            "Lz5/i31;",
            "Lcom/google/android/gms/internal/ads/d1;",
            "Lz5/ka0;",
            "Ljava/util/concurrent/Executor;",
            "Lz5/vs0;",
            "Lz5/yu0;",
            ")V"
        }
    .end annotation

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

    iput-object p1, p0, Lz5/ze0;->a:Lz5/uk;

    iput-object p2, p0, Lz5/ze0;->b:Lz5/m31;

    iput-object p3, p0, Lz5/ze0;->c:Lz5/k51;

    iput-object p4, p0, Lz5/ze0;->d:Lz5/rd;

    iput-object p5, p0, Lz5/ze0;->e:Lz5/lw0;

    iput-object p6, p0, Lz5/ze0;->f:Lz5/dj0;

    iput-object p7, p0, Lz5/ze0;->g:Lz5/i31;

    iput-object p8, p0, Lz5/ze0;->h:Lcom/google/android/gms/internal/ads/d1;

    iput-object p9, p0, Lz5/ze0;->i:Lz5/ka0;

    iput-object p10, p0, Lz5/ze0;->j:Ljava/util/concurrent/Executor;

    iput-object p11, p0, Lz5/ze0;->k:Lz5/vs0;

    iput-object p12, p0, Lz5/ze0;->l:Lz5/yu0;

    return-void
.end method


# virtual methods
.method public final a(Lz5/fc1;)Lz5/fc1;
    .registers 9
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/fc1<",
            "Lcom/google/android/gms/internal/ads/k1;",
            ">;)",
            "Lz5/fc1<",
            "Lz5/i31;",
            ">;"
        }
    .end annotation

    sget-object v0, Lcom/google/android/gms/internal/ads/g5;->u:Lcom/google/android/gms/internal/ads/g5;

    iget-object v1, p0, Lz5/ze0;->g:Lz5/i31;

    if-eqz v1, :cond_15

    iget-object p1, p0, Lz5/ze0;->c:Lz5/k51;

    invoke-static {v1}, Lcom/google/android/gms/internal/ads/h8;->e(Ljava/lang/Object;)Lz5/fc1;

    move-result-object v1

    invoke-static {v1, v0, p1}, Lcom/google/android/gms/internal/ads/h8;->c(Lz5/fc1;Ljava/lang/Object;Lz5/g51;)Lz5/fe0;

    move-result-object p1

    invoke-virtual {p1}, Lz5/fe0;->k()Lz5/c51;

    move-result-object p1

    return-object p1

    :cond_15
    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzi()Lcom/google/android/gms/internal/ads/t;

    move-result-object v1

    invoke-static {v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 1
    sget-object v2, Lz5/so;->p2:Lz5/no;

    .line 2
    sget-object v3, Lz5/xk;->d:Lz5/xk;

    iget-object v4, v3, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 3
    invoke-virtual {v4, v2}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/Boolean;

    invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v2

    if-eqz v2, :cond_53

    iget-object v2, v1, Lcom/google/android/gms/internal/ads/t;->b:Ljava/lang/Object;

    monitor-enter v2

    :try_start_31
    invoke-virtual {v1}, Lcom/google/android/gms/internal/ads/t;->e()V

    sget-object v4, Lcom/google/android/gms/ads/internal/util/zzs;->zza:Lz5/i91;

    iget-object v5, v1, Lcom/google/android/gms/internal/ads/t;->a:Ljava/lang/Runnable;

    invoke-virtual {v4, v5}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    iget-object v1, v1, Lcom/google/android/gms/internal/ads/t;->a:Ljava/lang/Runnable;

    sget-object v5, Lz5/so;->q2:Lz5/no;

    .line 4
    iget-object v3, v3, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 5
    invoke-virtual {v3, v5}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/Long;

    invoke-virtual {v3}, Ljava/lang/Long;->longValue()J

    move-result-wide v5

    invoke-virtual {v4, v1, v5, v6}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    monitor-exit v2

    goto :goto_53

    :catchall_50
    move-exception p1

    monitor-exit v2
    :try_end_52
    .catchall {:try_start_31 .. :try_end_52} :catchall_50

    throw p1

    .line 6
    :cond_53
    :goto_53
    iget-object v1, p0, Lz5/ze0;->c:Lz5/k51;

    invoke-virtual {v1, v0, p1}, Lz5/g51;->a(Ljava/lang/Object;Lz5/fc1;)Lz5/fe0;

    move-result-object p1

    iget-object v0, p0, Lz5/ze0;->k:Lz5/vs0;

    .line 7
    new-instance v1, Lz5/hs0;

    invoke-direct {v1, v0}, Lz5/hs0;-><init>(Lz5/vs0;)V

    .line 8
    iget-object v0, p1, Lz5/fe0;->w:Ljava/lang/Object;

    check-cast v0, Lz5/g51;

    .line 9
    iget-object v0, v0, Lz5/g51;->a:Lz5/gc1;

    .line 10
    invoke-virtual {p1, v1, v0}, Lz5/fe0;->f(Lz5/sb1;Ljava/util/concurrent/Executor;)Lz5/fe0;

    move-result-object p1

    .line 11
    invoke-virtual {p1}, Lz5/fe0;->k()Lz5/c51;

    move-result-object p1

    return-object p1
.end method

.method public final b()Lz5/fc1;
    .registers 9
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lz5/fc1<",
            "Lz5/i31;",
            ">;"
        }
    .end annotation

    iget-object v0, p0, Lz5/ze0;->b:Lz5/m31;

    iget-object v0, v0, Lz5/m31;->d:Lz5/zj;

    iget-object v1, v0, Lz5/zj;->O:Ljava/lang/String;

    if-nez v1, :cond_18

    iget-object v0, v0, Lz5/zj;->J:Lz5/qj;

    if-eqz v0, :cond_d

    goto :goto_18

    :cond_d
    iget-object v0, p0, Lz5/ze0;->i:Lz5/ka0;

    invoke-virtual {v0}, Lz5/ka0;->e()Lz5/fc1;

    move-result-object v0

    invoke-virtual {p0, v0}, Lz5/ze0;->a(Lz5/fc1;)Lz5/fc1;

    move-result-object v0

    return-object v0

    :cond_18
    :goto_18
    iget-object v0, p0, Lz5/ze0;->c:Lz5/k51;

    sget-object v1, Lcom/google/android/gms/internal/ads/g5;->u:Lcom/google/android/gms/internal/ads/g5;

    iget-object v2, p0, Lz5/ze0;->a:Lz5/uk;

    .line 1
    iget-object v3, v2, Lz5/uk;->d:Ljava/lang/Object;

    check-cast v3, Lz5/m31;

    iget-object v3, v3, Lz5/m31;->d:Lz5/zj;

    iget-object v3, v3, Lz5/zj;->O:Ljava/lang/String;

    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    const/4 v5, 0x1

    if-nez v4, :cond_8d

    sget-object v4, Lz5/so;->F4:Lz5/no;

    .line 2
    sget-object v6, Lz5/xk;->d:Lz5/xk;

    iget-object v7, v6, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 3
    invoke-virtual {v7, v4}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/Boolean;

    invoke-virtual {v4}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v4

    if-eqz v4, :cond_8d

    invoke-static {v3}, Lz5/uk;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v7

    if-eqz v7, :cond_70

    sget-object v3, Lz5/so;->I4:Lz5/no;

    .line 4
    iget-object v4, v6, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 5
    invoke-virtual {v4, v3}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/Boolean;

    invoke-virtual {v3}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v3

    if-eqz v3, :cond_60

    iget-object v2, v2, Lz5/uk;->h:Ljava/lang/Object;

    check-cast v2, Lz5/zh0;

    invoke-virtual {v2, v5}, Lz5/zh0;->c0(Z)V

    :cond_60
    new-instance v2, Lz5/kw0;

    const/16 v3, 0xf

    const-string v4, "Invalid ad string."

    invoke-direct {v2, v3, v4}, Lz5/kw0;-><init>(ILjava/lang/String;)V

    .line 6
    new-instance v3, Lcom/google/android/gms/internal/ads/i8;

    invoke-direct {v3, v2}, Lcom/google/android/gms/internal/ads/i8;-><init>(Ljava/lang/Throwable;)V

    goto/16 :goto_101

    .line 7
    :cond_70
    iget-object v6, v2, Lz5/uk;->a:Ljava/lang/Object;

    check-cast v6, Lcom/google/android/gms/internal/ads/l2;

    invoke-virtual {v6}, Lcom/google/android/gms/internal/ads/l2;->x()Lcom/google/android/gms/ads/nonagon/signalgeneration/zzb;

    move-result-object v6

    invoke-virtual {v6, v4}, Lcom/google/android/gms/ads/nonagon/signalgeneration/zzb;->zzc(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v6

    if-eqz v6, :cond_83

    goto :goto_8d

    :cond_83
    invoke-virtual {v2, v4}, Lz5/uk;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v3, v4}, Lz5/uk;->b(Ljava/lang/String;Ljava/lang/String;)Lz5/fc1;

    move-result-object v3

    goto/16 :goto_101

    :cond_8d
    :goto_8d
    iget-object v3, v2, Lz5/uk;->d:Ljava/lang/Object;

    check-cast v3, Lz5/m31;

    iget-object v3, v3, Lz5/m31;->d:Lz5/zj;

    iget-object v3, v3, Lz5/zj;->J:Lz5/qj;

    if-eqz v3, :cond_da

    sget-object v4, Lz5/so;->D4:Lz5/no;

    .line 8
    sget-object v6, Lz5/xk;->d:Lz5/xk;

    iget-object v6, v6, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 9
    invoke-virtual {v6, v4}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/Boolean;

    invoke-virtual {v4}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v4

    if-nez v4, :cond_aa

    goto :goto_cd

    :cond_aa
    iget-object v4, v3, Lz5/qj;->r:Ljava/lang/String;

    invoke-static {v4}, Lz5/uk;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iget-object v6, v3, Lz5/qj;->s:Ljava/lang/String;

    invoke-static {v6}, Lz5/uk;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v7

    if-nez v7, :cond_da

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

    move-result v6

    if-eqz v6, :cond_da

    iget-object v5, v2, Lz5/uk;->a:Ljava/lang/Object;

    check-cast v5, Lcom/google/android/gms/internal/ads/l2;

    invoke-virtual {v5}, Lcom/google/android/gms/internal/ads/l2;->x()Lcom/google/android/gms/ads/nonagon/signalgeneration/zzb;

    move-result-object v5

    invoke-virtual {v5, v4}, Lcom/google/android/gms/ads/nonagon/signalgeneration/zzb;->zzd(Ljava/lang/String;)V

    :goto_cd
    iget-object v4, v3, Lz5/qj;->r:Ljava/lang/String;

    iget-object v3, v3, Lz5/qj;->s:Ljava/lang/String;

    invoke-virtual {v2, v3}, Lz5/uk;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v4, v3}, Lz5/uk;->b(Ljava/lang/String;Ljava/lang/String;)Lz5/fc1;

    move-result-object v3

    goto :goto_101

    :cond_da
    sget-object v3, Lz5/so;->I4:Lz5/no;

    .line 10
    sget-object v4, Lz5/xk;->d:Lz5/xk;

    iget-object v4, v4, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 11
    invoke-virtual {v4, v3}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/Boolean;

    invoke-virtual {v3}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v3

    if-eqz v3, :cond_f3

    iget-object v2, v2, Lz5/uk;->h:Ljava/lang/Object;

    check-cast v2, Lz5/zh0;

    invoke-virtual {v2, v5}, Lz5/zh0;->c0(Z)V

    :cond_f3
    new-instance v2, Lz5/kw0;

    const/16 v3, 0xe

    const-string v4, "Mismatch request IDs."

    invoke-direct {v2, v3, v4}, Lz5/kw0;-><init>(ILjava/lang/String;)V

    .line 12
    new-instance v3, Lcom/google/android/gms/internal/ads/i8;

    invoke-direct {v3, v2}, Lcom/google/android/gms/internal/ads/i8;-><init>(Ljava/lang/Throwable;)V

    .line 13
    :goto_101
    invoke-static {v3, v1, v0}, Lcom/google/android/gms/internal/ads/h8;->c(Lz5/fc1;Ljava/lang/Object;Lz5/g51;)Lz5/fe0;

    move-result-object v0

    invoke-virtual {v0}, Lz5/fe0;->k()Lz5/c51;

    move-result-object v0

    return-object v0
.end method

.method public final c(Lz5/fc1;)Lz5/fc1;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/fc1<",
            "Lz5/i31;",
            ">;)",
            "Lz5/fc1<",
            "TT;>;"
        }
    .end annotation

    iget-object v0, p0, Lz5/ze0;->c:Lz5/k51;

    sget-object v1, Lcom/google/android/gms/internal/ads/g5;->v:Lcom/google/android/gms/internal/ads/g5;

    invoke-virtual {v0, v1, p1}, Lz5/g51;->a(Ljava/lang/Object;Lz5/fc1;)Lz5/fe0;

    move-result-object p1

    new-instance v0, Lz5/ex0;

    invoke-direct {v0, p0}, Lz5/ex0;-><init>(Lz5/ze0;)V

    invoke-virtual {p1, v0}, Lz5/fe0;->d(Lz5/a51;)Lz5/fe0;

    move-result-object p1

    iget-object v0, p0, Lz5/ze0;->e:Lz5/lw0;

    invoke-virtual {p1, v0}, Lz5/fe0;->e(Lz5/sb1;)Lz5/fe0;

    move-result-object p1

    sget-object v0, Lz5/so;->o3:Lz5/no;

    .line 1
    sget-object v1, Lz5/xk;->d:Lz5/xk;

    iget-object v2, v1, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 2
    invoke-virtual {v2, v0}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-nez v0, :cond_3e

    sget-object v0, Lz5/so;->p3:Lz5/no;

    .line 3
    iget-object v1, v1, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 4
    invoke-virtual {v1, v0}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    int-to-long v0, v0

    sget-object v2, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;

    invoke-virtual {p1, v0, v1, v2}, Lz5/fe0;->j(JLjava/util/concurrent/TimeUnit;)Lz5/fe0;

    move-result-object p1

    :cond_3e
    invoke-virtual {p1}, Lz5/fe0;->k()Lz5/c51;

    move-result-object p1

    return-object p1
.end method
