.class public final Lz5/sk;
.super Lz5/vk;
.source ""


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lz5/vk<",
        "Lz5/nl;",
        ">;"
    }
.end annotation


# instance fields
.field public final synthetic b:I

.field public final synthetic c:Landroid/content/Context;

.field public final synthetic d:Ljava/lang/String;

.field public final synthetic e:Lz5/ox;

.field public final synthetic f:Lz5/uk;


# direct methods
.method public constructor <init>(Lz5/uk;Landroid/content/Context;Ljava/lang/String;Lz5/ox;I)V
    .registers 7

    iput p5, p0, Lz5/sk;->b:I

    const/4 v0, 0x1

    if-eq p5, v0, :cond_11

    .line 1
    iput-object p1, p0, Lz5/sk;->f:Lz5/uk;

    iput-object p2, p0, Lz5/sk;->c:Landroid/content/Context;

    iput-object p3, p0, Lz5/sk;->d:Ljava/lang/String;

    iput-object p4, p0, Lz5/sk;->e:Lz5/ox;

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

    return-void

    .line 2
    :cond_11
    iput-object p1, p0, Lz5/sk;->f:Lz5/uk;

    iput-object p2, p0, Lz5/sk;->c:Landroid/content/Context;

    iput-object p3, p0, Lz5/sk;->d:Ljava/lang/String;

    iput-object p4, p0, Lz5/sk;->e:Lz5/ox;

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

    return-void
.end method


# virtual methods
.method public final bridge synthetic a()Ljava/lang/Object;
    .registers 3

    iget v0, p0, Lz5/sk;->b:I

    packed-switch v0, :pswitch_data_20

    goto :goto_13

    .line 1
    :pswitch_6
    iget-object v0, p0, Lz5/sk;->c:Landroid/content/Context;

    const-string v1, "native_ad"

    invoke-static {v0, v1}, Lz5/uk;->f(Landroid/content/Context;Ljava/lang/String;)V

    new-instance v0, Lz5/qn;

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

    return-object v0

    .line 2
    :goto_13
    iget-object v0, p0, Lz5/sk;->c:Landroid/content/Context;

    const-string v1, "rewarded"

    invoke-static {v0, v1}, Lz5/uk;->f(Landroid/content/Context;Ljava/lang/String;)V

    new-instance v0, Lz5/vn;

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

    return-object v0

    :pswitch_data_20
    .packed-switch 0x0
        :pswitch_6
    .end packed-switch
.end method

.method public final b()Ljava/lang/Object;
    .registers 10

    iget v0, p0, Lz5/sk;->b:I

    const-string v1, "com.google.android.gms.ads.dynamite"

    const/4 v2, 0x0

    const v3, 0xcbe6bb0

    packed-switch v0, :pswitch_data_134

    goto/16 :goto_d4

    .line 1
    :pswitch_d
    iget-object v0, p0, Lz5/sk;->c:Landroid/content/Context;

    invoke-static {v0}, Lz5/so;->a(Landroid/content/Context;)V

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

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

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

    .line 3
    invoke-virtual {v4, 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

    const-string v4, "com.google.android.gms.ads.internal.client.IAdLoaderBuilder"

    if-eqz v0, :cond_98

    :try_start_26
    iget-object v0, p0, Lz5/sk;->c:Landroid/content/Context;

    .line 4
    new-instance v5, Lx5/b;

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

    .line 5
    iget-object v0, p0, Lz5/sk;->c:Landroid/content/Context;

    const-string v6, "com.google.android.gms.ads.ChimeraAdLoaderBuilderCreatorImpl"
    :try_end_31
    .catch Lz5/e50; {:try_start_26 .. :try_end_31} :catch_81
    .catch Landroid/os/RemoteException; {:try_start_26 .. :try_end_31} :catch_7f
    .catch Ljava/lang/NullPointerException; {:try_start_26 .. :try_end_31} :catch_7d

    .line 6
    :try_start_31
    sget-object v7, Lcom/google/android/gms/dynamite/DynamiteModule;->b:Lcom/google/android/gms/dynamite/DynamiteModule$b;

    invoke-static {v0, v7, v1}, Lcom/google/android/gms/dynamite/DynamiteModule;->d(Landroid/content/Context;Lcom/google/android/gms/dynamite/DynamiteModule$b;Ljava/lang/String;)Lcom/google/android/gms/dynamite/DynamiteModule;

    move-result-object v0
    :try_end_37
    .catch Ljava/lang/Exception; {:try_start_31 .. :try_end_37} :catch_70

    .line 7
    :try_start_37
    invoke-virtual {v0, v6}, Lcom/google/android/gms/dynamite/DynamiteModule;->c(Ljava/lang/String;)Landroid/os/IBinder;

    move-result-object v0

    if-nez v0, :cond_3f

    move-object v1, v2

    goto :goto_51

    :cond_3f
    const-string v1, "com.google.android.gms.ads.internal.client.IAdLoaderBuilderCreator"

    .line 8
    invoke-interface {v0, v1}, Landroid/os/IBinder;->queryLocalInterface(Ljava/lang/String;)Landroid/os/IInterface;

    move-result-object v1

    instance-of v6, v1, Lz5/ol;

    if-eqz v6, :cond_4c

    check-cast v1, Lz5/ol;

    goto :goto_51

    :cond_4c
    new-instance v1, Lz5/ol;

    invoke-direct {v1, v0}, Lz5/ol;-><init>(Landroid/os/IBinder;)V
    :try_end_51
    .catch Ljava/lang/Exception; {:try_start_37 .. :try_end_51} :catch_6e

    .line 9
    :goto_51
    :try_start_51
    iget-object v0, p0, Lz5/sk;->d:Ljava/lang/String;

    iget-object v6, p0, Lz5/sk;->e:Lz5/ox;

    invoke-virtual {v1, v5, v0, v6, v3}, Lz5/ol;->l(Lx5/a;Ljava/lang/String;Lz5/ox;I)Landroid/os/IBinder;

    move-result-object v0

    if-nez v0, :cond_5d

    goto/16 :goto_d3

    :cond_5d
    invoke-interface {v0, v4}, Landroid/os/IBinder;->queryLocalInterface(Ljava/lang/String;)Landroid/os/IInterface;

    move-result-object v1

    instance-of v3, v1, Lz5/nl;

    if-eqz v3, :cond_68

    check-cast v1, Lz5/nl;

    goto :goto_c3

    :cond_68
    new-instance v1, Lz5/ll;

    invoke-direct {v1, v0}, Lz5/ll;-><init>(Landroid/os/IBinder;)V
    :try_end_6d
    .catch Lz5/e50; {:try_start_51 .. :try_end_6d} :catch_81
    .catch Landroid/os/RemoteException; {:try_start_51 .. :try_end_6d} :catch_7f
    .catch Ljava/lang/NullPointerException; {:try_start_51 .. :try_end_6d} :catch_7d

    goto :goto_c3

    :catch_6e
    move-exception v0

    goto :goto_77

    :catch_70
    move-exception v0

    .line 10
    :try_start_71
    new-instance v1, Lz5/e50;

    invoke-direct {v1, v0}, Lz5/e50;-><init>(Ljava/lang/Throwable;)V

    throw v1
    :try_end_77
    .catch Ljava/lang/Exception; {:try_start_71 .. :try_end_77} :catch_6e

    .line 11
    :goto_77
    :try_start_77
    new-instance v1, Lz5/e50;

    invoke-direct {v1, v0}, Lz5/e50;-><init>(Ljava/lang/Throwable;)V

    throw v1
    :try_end_7d
    .catch Lz5/e50; {:try_start_77 .. :try_end_7d} :catch_81
    .catch Landroid/os/RemoteException; {:try_start_77 .. :try_end_7d} :catch_7f
    .catch Ljava/lang/NullPointerException; {:try_start_77 .. :try_end_7d} :catch_7d

    :catch_7d
    move-exception v0

    goto :goto_82

    :catch_7f
    move-exception v0

    goto :goto_82

    :catch_81
    move-exception v0

    .line 12
    :goto_82
    iget-object v1, p0, Lz5/sk;->f:Lz5/uk;

    iget-object v3, p0, Lz5/sk;->c:Landroid/content/Context;

    invoke-static {v3}, Lcom/google/android/gms/internal/ads/h1;->b(Landroid/content/Context;)Lz5/f10;

    move-result-object v3

    .line 13
    iput-object v3, v1, Lz5/uk;->h:Ljava/lang/Object;

    .line 14
    iget-object v1, p0, Lz5/sk;->f:Lz5/uk;

    .line 15
    iget-object v1, v1, Lz5/uk;->h:Ljava/lang/Object;

    check-cast v1, Lz5/f10;

    const-string v3, "ClientApiBroker.createAdLoaderBuilder"

    .line 16
    invoke-interface {v1, v0, v3}, Lz5/f10;->a(Ljava/lang/Throwable;Ljava/lang/String;)V

    goto :goto_d3

    :cond_98
    iget-object v0, p0, Lz5/sk;->f:Lz5/uk;

    .line 17
    iget-object v0, v0, Lz5/uk;->b:Ljava/lang/Object;

    check-cast v0, Lz5/xj;

    .line 18
    iget-object v1, p0, Lz5/sk;->c:Landroid/content/Context;

    iget-object v5, p0, Lz5/sk;->d:Ljava/lang/String;

    iget-object v6, p0, Lz5/sk;->e:Lz5/ox;

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

    .line 19
    :try_start_a7
    new-instance v7, Lx5/b;

    invoke-direct {v7, v1}, Lx5/b;-><init>(Ljava/lang/Object;)V

    .line 20
    invoke-virtual {v0, v1}, Lx5/c;->b(Landroid/content/Context;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lz5/ol;

    invoke-virtual {v0, v7, v5, v6, v3}, Lz5/ol;->l(Lx5/a;Ljava/lang/String;Lz5/ox;I)Landroid/os/IBinder;

    move-result-object v0

    if-nez v0, :cond_b9

    goto :goto_d3

    :cond_b9
    invoke-interface {v0, v4}, Landroid/os/IBinder;->queryLocalInterface(Ljava/lang/String;)Landroid/os/IInterface;

    move-result-object v1

    instance-of v3, v1, Lz5/nl;

    if-eqz v3, :cond_c5

    check-cast v1, Lz5/nl;

    :goto_c3
    move-object v2, v1

    goto :goto_d3

    :cond_c5
    new-instance v1, Lz5/ll;

    invoke-direct {v1, v0}, Lz5/ll;-><init>(Landroid/os/IBinder;)V
    :try_end_ca
    .catch Landroid/os/RemoteException; {:try_start_a7 .. :try_end_ca} :catch_cd
    .catch Lx5/c$a; {:try_start_a7 .. :try_end_ca} :catch_cb

    goto :goto_c3

    :catch_cb
    move-exception v0

    goto :goto_ce

    :catch_cd
    move-exception v0

    :goto_ce
    const-string v1, "Could not create remote builder for AdLoader."

    invoke-static {v1, v0}, Lz5/d50;->zzj(Ljava/lang/String;Ljava/lang/Throwable;)V

    :goto_d3
    return-object v2

    .line 21
    :goto_d4
    iget-object v0, p0, Lz5/sk;->c:Landroid/content/Context;

    iget-object v4, p0, Lz5/sk;->d:Ljava/lang/String;

    iget-object v5, p0, Lz5/sk;->e:Lz5/ox;

    .line 22
    new-instance v6, Lx5/b;

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

    :try_start_df
    const-string v7, "com.google.android.gms.ads.rewarded.ChimeraRewardedAdCreatorImpl"
    :try_end_e1
    .catch Lz5/e50; {:try_start_df .. :try_end_e1} :catch_12d
    .catch Landroid/os/RemoteException; {:try_start_df .. :try_end_e1} :catch_12b

    .line 23
    :try_start_e1
    sget-object v8, Lcom/google/android/gms/dynamite/DynamiteModule;->b:Lcom/google/android/gms/dynamite/DynamiteModule$b;

    invoke-static {v0, v8, v1}, Lcom/google/android/gms/dynamite/DynamiteModule;->d(Landroid/content/Context;Lcom/google/android/gms/dynamite/DynamiteModule$b;Ljava/lang/String;)Lcom/google/android/gms/dynamite/DynamiteModule;

    move-result-object v0
    :try_end_e7
    .catch Ljava/lang/Exception; {:try_start_e1 .. :try_end_e7} :catch_11e

    .line 24
    :try_start_e7
    invoke-virtual {v0, v7}, Lcom/google/android/gms/dynamite/DynamiteModule;->c(Ljava/lang/String;)Landroid/os/IBinder;

    move-result-object v0

    if-nez v0, :cond_ef

    move-object v1, v2

    goto :goto_101

    :cond_ef
    const-string v1, "com.google.android.gms.ads.internal.rewarded.client.IRewardedAdCreator"

    .line 25
    invoke-interface {v0, v1}, Landroid/os/IBinder;->queryLocalInterface(Ljava/lang/String;)Landroid/os/IInterface;

    move-result-object v1

    instance-of v7, v1, Lz5/y20;

    if-eqz v7, :cond_fc

    check-cast v1, Lz5/y20;

    goto :goto_101

    :cond_fc
    new-instance v1, Lz5/y20;

    invoke-direct {v1, v0}, Lz5/y20;-><init>(Landroid/os/IBinder;)V
    :try_end_101
    .catch Ljava/lang/Exception; {:try_start_e7 .. :try_end_101} :catch_11c

    .line 26
    :goto_101
    :try_start_101
    invoke-virtual {v1, v6, v4, v5, v3}, Lz5/y20;->l(Lx5/a;Ljava/lang/String;Lz5/ox;I)Landroid/os/IBinder;

    move-result-object v0

    if-nez v0, :cond_108

    goto :goto_133

    :cond_108
    const-string v1, "com.google.android.gms.ads.internal.rewarded.client.IRewardedAd"

    invoke-interface {v0, v1}, Landroid/os/IBinder;->queryLocalInterface(Ljava/lang/String;)Landroid/os/IInterface;

    move-result-object v1

    instance-of v3, v1, Lz5/u20;

    if-eqz v3, :cond_116

    check-cast v1, Lz5/u20;

    :goto_114
    move-object v2, v1

    goto :goto_133

    :cond_116
    new-instance v1, Lz5/s20;

    invoke-direct {v1, v0}, Lz5/s20;-><init>(Landroid/os/IBinder;)V
    :try_end_11b
    .catch Lz5/e50; {:try_start_101 .. :try_end_11b} :catch_12d
    .catch Landroid/os/RemoteException; {:try_start_101 .. :try_end_11b} :catch_12b

    goto :goto_114

    :catch_11c
    move-exception v0

    goto :goto_125

    :catch_11e
    move-exception v0

    .line 27
    :try_start_11f
    new-instance v1, Lz5/e50;

    invoke-direct {v1, v0}, Lz5/e50;-><init>(Ljava/lang/Throwable;)V

    throw v1
    :try_end_125
    .catch Ljava/lang/Exception; {:try_start_11f .. :try_end_125} :catch_11c

    .line 28
    :goto_125
    :try_start_125
    new-instance v1, Lz5/e50;

    invoke-direct {v1, v0}, Lz5/e50;-><init>(Ljava/lang/Throwable;)V

    throw v1
    :try_end_12b
    .catch Lz5/e50; {:try_start_125 .. :try_end_12b} :catch_12d
    .catch Landroid/os/RemoteException; {:try_start_125 .. :try_end_12b} :catch_12b

    :catch_12b
    move-exception v0

    goto :goto_12e

    :catch_12d
    move-exception v0

    :goto_12e
    const-string v1, "#007 Could not call remote method."

    .line 29
    invoke-static {v1, v0}, Lz5/d50;->zzl(Ljava/lang/String;Ljava/lang/Throwable;)V

    :goto_133
    return-object v2

    :pswitch_data_134
    .packed-switch 0x0
        :pswitch_d
    .end packed-switch
.end method

.method public final c(Lz5/zl;)Ljava/lang/Object;
    .registers 6

    iget v0, p0, Lz5/sk;->b:I

    const v1, 0xcbe6bb0

    packed-switch v0, :pswitch_data_2a

    goto :goto_19

    .line 1
    :pswitch_9
    iget-object v0, p0, Lz5/sk;->c:Landroid/content/Context;

    .line 2
    new-instance v2, Lx5/b;

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

    .line 3
    iget-object v0, p0, Lz5/sk;->d:Ljava/lang/String;

    iget-object v3, p0, Lz5/sk;->e:Lz5/ox;

    invoke-interface {p1, v2, v0, v3, v1}, Lz5/zl;->zzd(Lx5/a;Ljava/lang/String;Lz5/ox;I)Lz5/nl;

    move-result-object p1

    return-object p1

    .line 4
    :goto_19
    iget-object v0, p0, Lz5/sk;->c:Landroid/content/Context;

    .line 5
    new-instance v2, Lx5/b;

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

    .line 6
    iget-object v0, p0, Lz5/sk;->d:Ljava/lang/String;

    iget-object v3, p0, Lz5/sk;->e:Lz5/ox;

    invoke-interface {p1, v2, v0, v3, v1}, Lz5/zl;->zzk(Lx5/a;Ljava/lang/String;Lz5/ox;I)Lz5/u20;

    move-result-object p1

    return-object p1

    nop

    :pswitch_data_2a
    .packed-switch 0x0
        :pswitch_9
    .end packed-switch
.end method
