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

# interfaces
.implements Lz5/sb1;


# instance fields
.field public final synthetic a:I

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

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


# direct methods
.method public constructor <init>(Lcom/google/android/gms/internal/ads/u3;Lz5/to0;)V
    .registers 4

    const/4 v0, 0x1

    iput v0, p0, Lz5/ye0;->a:I

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

    iput-object p1, p0, Lz5/ye0;->b:Ljava/lang/Object;

    iput-object p2, p0, Lz5/ye0;->c:Ljava/lang/Object;

    return-void
.end method

.method public constructor <init>(Lz5/f21;Lz5/pf0;)V
    .registers 4

    const/4 v0, 0x2

    iput v0, p0, Lz5/ye0;->a:I

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

    iput-object p1, p0, Lz5/ye0;->b:Ljava/lang/Object;

    iput-object p2, p0, Lz5/ye0;->c:Ljava/lang/Object;

    return-void
.end method

.method public constructor <init>(Lz5/ze0;Lcom/google/android/gms/internal/ads/d5;)V
    .registers 4

    const/4 v0, 0x0

    iput v0, p0, Lz5/ye0;->a:I

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

    iput-object p1, p0, Lz5/ye0;->b:Ljava/lang/Object;

    iput-object p2, p0, Lz5/ye0;->c:Ljava/lang/Object;

    return-void
.end method


# virtual methods
.method public final zza(Ljava/lang/Object;)Lz5/fc1;
    .registers 15

    iget v0, p0, Lz5/ye0;->a:I

    packed-switch v0, :pswitch_data_18c

    goto :goto_6a

    .line 1
    :pswitch_6
    iget-object v0, p0, Lz5/ye0;->b:Ljava/lang/Object;

    check-cast v0, Lcom/google/android/gms/internal/ads/u3;

    iget-object v1, p0, Lz5/ye0;->c:Ljava/lang/Object;

    check-cast v1, Lz5/to0;

    check-cast p1, Lorg/json/JSONObject;

    .line 2
    iget-object v0, v0, Lcom/google/android/gms/internal/ads/u3;->d:Lcom/google/android/gms/internal/ads/z4;

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

    move-result-object v1

    .line 3
    monitor-enter v0

    :try_start_17
    iget-object v2, v0, Lcom/google/android/gms/internal/ads/z4;->a:Ljava/util/Deque;

    invoke-interface {v2, v1}, Ljava/util/Deque;->addFirst(Ljava/lang/Object;)V
    :try_end_1c
    .catchall {:try_start_17 .. :try_end_1c} :catchall_3e

    monitor-exit v0

    const-string v0, "success"

    .line 4
    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optBoolean(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_36

    const-string v0, "json"

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object p1

    const-string v0, "ads"

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object p1

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

    move-result-object p1

    return-object p1

    :cond_36
    new-instance p1, Lz5/tw;

    const-string v0, "process json failed"

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

    throw p1

    :catchall_3e
    move-exception p1

    .line 5
    monitor-exit v0

    throw p1

    .line 6
    :pswitch_41
    iget-object v0, p0, Lz5/ye0;->b:Ljava/lang/Object;

    check-cast v0, Lz5/ze0;

    iget-object v1, p0, Lz5/ye0;->c:Ljava/lang/Object;

    check-cast v1, Lcom/google/android/gms/internal/ads/d5;

    check-cast p1, Lcom/google/android/gms/internal/ads/k1;

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

    .line 7
    iput-object v1, p1, Lcom/google/android/gms/internal/ads/k1;->z:Lcom/google/android/gms/internal/ads/d5;

    iget-object v0, v0, Lz5/ze0;->h:Lcom/google/android/gms/internal/ads/d1;

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

    invoke-direct {v1, p1}, Lz5/hs0;-><init>(Lcom/google/android/gms/internal/ads/k1;)V

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

    check-cast v2, Lz5/qs0;

    .line 9
    new-instance v3, Lz5/ge0;

    invoke-direct {v3, v2}, Lz5/ge0;-><init>(Lz5/qs0;)V

    .line 10
    new-instance v2, Lz5/ex0;

    invoke-direct {v2, v0}, Lz5/ex0;-><init>(Lcom/google/android/gms/internal/ads/d1;)V

    invoke-virtual {v0, p1, v3, v2, v1}, Lcom/google/android/gms/internal/ads/d1;->k(Lcom/google/android/gms/internal/ads/k1;Lz5/bt0;Lz5/bt0;Lz5/sb1;)Lz5/fc1;

    move-result-object p1

    return-object p1

    .line 11
    :goto_6a
    iget-object v0, p0, Lz5/ye0;->b:Ljava/lang/Object;

    check-cast v0, Lz5/f21;

    iget-object v1, p0, Lz5/ye0;->c:Ljava/lang/Object;

    check-cast v1, Lz5/pf0;

    check-cast p1, Lcom/google/android/gms/internal/ads/s4;

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

    .line 12
    iget-object v2, p1, Lcom/google/android/gms/internal/ads/s4;->b:Lz5/g41;

    iget-object p1, p1, Lcom/google/android/gms/internal/ads/s4;->a:Lcom/google/android/gms/internal/ads/k1;

    const/4 v3, 0x0

    if-eqz v2, :cond_123

    iget-object v4, v0, Lz5/f21;->a:Lz5/b41;

    check-cast v4, Lcom/google/android/gms/internal/ads/b5;

    .line 13
    monitor-enter v4

    :try_start_83
    iget-object v5, v4, Lcom/google/android/gms/internal/ads/b5;->a:Ljava/util/concurrent/ConcurrentHashMap;

    invoke-virtual {v5, v2}, Ljava/util/concurrent/ConcurrentHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lz5/a41;

    if-eqz v5, :cond_112

    invoke-virtual {v5}, Lz5/a41;->a()Lz5/f41;

    move-result-object v6

    if-nez v6, :cond_9b

    iget-object v7, v4, Lcom/google/android/gms/internal/ads/b5;->c:Lz5/d41;

    .line 14
    iget v8, v7, Lz5/d41;->e:I

    add-int/lit8 v8, v8, 0x1

    iput v8, v7, Lz5/d41;->e:I

    .line 15
    :cond_9b
    iget-object v5, v5, Lz5/a41;->d:Lz5/q41;

    .line 16
    iget-object v7, v5, Lz5/q41;->b:Lz5/o41;

    invoke-virtual {v7}, Lz5/o41;->a()Lz5/o41;

    move-result-object v7

    iget-object v5, v5, Lz5/q41;->b:Lz5/o41;

    const/4 v8, 0x0

    iput-boolean v8, v5, Lz5/o41;->r:Z

    iput v8, v5, Lz5/o41;->s:I

    if-eqz v6, :cond_10e

    .line 17
    invoke-static {}, Lz5/zg;->w()Lz5/tg;

    move-result-object v5

    invoke-static {}, Lz5/sg;->w()Lz5/rg;

    move-result-object v9

    invoke-virtual {v9}, Lz5/rg;->q()Lz5/rg;

    invoke-static {}, Lz5/wg;->w()Lz5/vg;

    move-result-object v10

    iget-boolean v11, v7, Lz5/o41;->r:Z

    .line 18
    iget-boolean v12, v10, Lz5/uk1;->t:Z

    if-eqz v12, :cond_c6

    invoke-virtual {v10}, Lz5/uk1;->i()V

    iput-boolean v8, v10, Lz5/uk1;->t:Z

    :cond_c6
    iget-object v12, v10, Lz5/uk1;->s:Lz5/xk1;

    check-cast v12, Lz5/wg;

    invoke-static {v12, v11}, Lz5/wg;->z(Lz5/wg;Z)V

    .line 19
    iget v7, v7, Lz5/o41;->s:I

    .line 20
    iget-boolean v11, v10, Lz5/uk1;->t:Z

    if-eqz v11, :cond_d8

    invoke-virtual {v10}, Lz5/uk1;->i()V

    iput-boolean v8, v10, Lz5/uk1;->t:Z

    :cond_d8
    iget-object v11, v10, Lz5/uk1;->s:Lz5/xk1;

    check-cast v11, Lz5/wg;

    invoke-static {v11, v7}, Lz5/wg;->A(Lz5/wg;I)V

    .line 21
    iget-boolean v7, v9, Lz5/uk1;->t:Z

    if-eqz v7, :cond_e8

    invoke-virtual {v9}, Lz5/uk1;->i()V

    iput-boolean v8, v9, Lz5/uk1;->t:Z

    :cond_e8
    iget-object v7, v9, Lz5/uk1;->s:Lz5/xk1;

    check-cast v7, Lz5/sg;

    invoke-virtual {v10}, Lz5/uk1;->m()Lz5/xk1;

    move-result-object v10

    check-cast v10, Lz5/wg;

    invoke-static {v7, v10}, Lz5/sg;->y(Lz5/sg;Lz5/wg;)V

    .line 22
    invoke-virtual {v5, v9}, Lz5/tg;->q(Lz5/rg;)Lz5/tg;

    invoke-virtual {v5}, Lz5/uk1;->m()Lz5/xk1;

    move-result-object v5

    check-cast v5, Lz5/zg;

    iget-object v7, v6, Lz5/f41;->a:Lz5/pf0;

    invoke-interface {v7}, Lz5/pf0;->f()Lz5/ze0;

    move-result-object v7

    .line 23
    iget-object v7, v7, Lz5/ze0;->f:Lz5/dj0;

    .line 24
    new-instance v9, Lz5/zi0;

    invoke-direct {v9, v5, v8}, Lz5/zi0;-><init>(Lz5/zg;I)V

    invoke-virtual {v7, v9}, Lcom/google/android/gms/internal/ads/v2;->u0(Lz5/fj0;)V

    .line 25
    :cond_10e
    invoke-virtual {v4}, Lcom/google/android/gms/internal/ads/b5;->b()V

    goto :goto_11e

    :cond_112
    iget-object v5, v4, Lcom/google/android/gms/internal/ads/b5;->c:Lz5/d41;

    .line 26
    iget v6, v5, Lz5/d41;->d:I

    add-int/lit8 v6, v6, 0x1

    iput v6, v5, Lz5/d41;->d:I

    .line 27
    invoke-virtual {v4}, Lcom/google/android/gms/internal/ads/b5;->b()V
    :try_end_11d
    .catchall {:try_start_83 .. :try_end_11d} :catchall_120

    move-object v6, v3

    :goto_11e
    monitor-exit v4

    goto :goto_124

    :catchall_120
    move-exception p1

    monitor-exit v4

    throw p1

    :cond_123
    move-object v6, v3

    :goto_124
    if-nez v2, :cond_12b

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

    move-result-object p1

    goto :goto_18b

    :cond_12b
    if-eqz v6, :cond_182

    if-eqz p1, :cond_182

    invoke-interface {v1}, Lz5/pf0;->f()Lz5/ze0;

    move-result-object v1

    .line 29
    iget-object v4, v1, Lz5/ze0;->c:Lz5/k51;

    sget-object v5, Lcom/google/android/gms/internal/ads/g5;->M:Lcom/google/android/gms/internal/ads/g5;

    iget-object v7, v1, Lz5/ze0;->h:Lcom/google/android/gms/internal/ads/d1;

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

    .line 30
    iget-object v8, p1, Lcom/google/android/gms/internal/ads/k1;->A:Ljava/lang/String;

    invoke-static {v8}, Lz5/d0;->b(Ljava/lang/String;)Z

    move-result v8

    if-eqz v8, :cond_152

    new-instance v3, Lz5/sr0;

    const/4 v7, 0x2

    const-string v8, "Pool key missing from removeUrl call."

    invoke-direct {v3, v7, v8}, Lz5/sr0;-><init>(ILjava/lang/String;)V

    .line 31
    new-instance v7, Lcom/google/android/gms/internal/ads/i8;

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

    goto :goto_162

    .line 32
    :cond_152
    sget-object v8, Lz5/at0;->a:Lz5/sb1;

    new-instance v9, Lz5/xa0;

    invoke-direct {v9, v7, v3}, Lz5/xa0;-><init>(Lcom/google/android/gms/internal/ads/d1;Lp/b;)V

    new-instance v3, Lz5/bd0;

    invoke-direct {v3, v7}, Lz5/bd0;-><init>(Lcom/google/android/gms/internal/ads/d1;)V

    invoke-virtual {v7, p1, v9, v3, v8}, Lcom/google/android/gms/internal/ads/d1;->k(Lcom/google/android/gms/internal/ads/k1;Lz5/bt0;Lz5/bt0;Lz5/sb1;)Lz5/fc1;

    move-result-object v7

    .line 33
    :goto_162
    invoke-virtual {v4, v5, v7}, Lz5/g51;->a(Ljava/lang/Object;Lz5/fc1;)Lz5/fe0;

    move-result-object v3

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

    move-result-object v3

    new-instance v4, Lz5/ge0;

    invoke-direct {v4, v1}, Lz5/ge0;-><init>(Lz5/ze0;)V

    iget-object v1, v1, Lz5/ze0;->j:Ljava/util/concurrent/Executor;

    .line 34
    new-instance v5, Ll5/m;

    invoke-direct {v5, v3, v4}, Ll5/m;-><init>(Ljava/util/concurrent/Future;Lz5/zb1;)V

    .line 35
    iget-object v4, v3, Lz5/c51;->t:Lz5/fc1;

    invoke-interface {v4, v5, v1}, Lz5/fc1;->zze(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V

    .line 36
    iget-object v1, v0, Lz5/f21;->c:Lz5/zb1;

    iget-object v0, v0, Lz5/f21;->b:Ljava/util/concurrent/Executor;

    invoke-static {v3, v1, v0}, Lcom/google/android/gms/internal/ads/h8;->y(Lz5/fc1;Lz5/zb1;Ljava/util/concurrent/Executor;)V

    :cond_182
    new-instance v0, Lz5/e21;

    invoke-direct {v0, v2, p1, v6}, Lz5/e21;-><init>(Lz5/g41;Lcom/google/android/gms/internal/ads/k1;Lz5/f41;)V

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

    move-result-object p1

    :goto_18b
    return-object p1

    :pswitch_data_18c
    .packed-switch 0x0
        :pswitch_41
        :pswitch_6
    .end packed-switch
.end method
