.class public final Lz5/fz;
.super Lz5/az;
.source ""


# instance fields
.field public final s:Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;

.field public t:Lcom/google/android/gms/ads/mediation/MediationInterstitialAd;

.field public u:Lcom/google/android/gms/ads/mediation/MediationRewardedAd;

.field public v:Ljava/lang/String;


# direct methods
.method public constructor <init>(Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;)V
    .registers 3

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

    const-string v0, ""

    iput-object v0, p0, Lz5/fz;->v:Ljava/lang/String;

    iput-object p1, p0, Lz5/fz;->s:Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;

    return-void
.end method

.method public static final H2(Ljava/lang/String;)Landroid/os/Bundle;
    .registers 5

    invoke-static {p0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    const-string v2, "Server parameters: "

    if-eqz v1, :cond_11

    invoke-virtual {v2, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_16

    :cond_11
    new-instance v0, Ljava/lang/String;

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

    :goto_16
    invoke-static {v0}, Lz5/d50;->zzi(Ljava/lang/String;)V

    :try_start_19
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    if-eqz p0, :cond_43

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0, p0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    new-instance p0, Landroid/os/Bundle;

    invoke-direct {p0}, Landroid/os/Bundle;-><init>()V

    invoke-virtual {v0}, Lorg/json/JSONObject;->keys()Ljava/util/Iterator;

    move-result-object v1

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

    move-result v2

    if-eqz v2, :cond_42

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

    move-result-object v2

    check-cast v2, Ljava/lang/String;

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

    move-result-object v3

    invoke-virtual {p0, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_41
    .catch Lorg/json/JSONException; {:try_start_19 .. :try_end_41} :catch_44

    goto :goto_2e

    :cond_42
    move-object v0, p0

    :cond_43
    return-object v0

    :catch_44
    move-exception p0

    const-string v0, ""

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

    new-instance p0, Landroid/os/RemoteException;

    invoke-direct {p0}, Landroid/os/RemoteException;-><init>()V

    throw p0
.end method

.method public static final I2(Lz5/zj;)Z
    .registers 1

    iget-boolean p0, p0, Lz5/zj;->w:Z

    if-nez p0, :cond_11

    .line 1
    sget-object p0, Lz5/wk;->f:Lz5/wk;

    iget-object p0, p0, Lz5/wk;->a:Lz5/z40;

    .line 2
    invoke-static {}, Lz5/z40;->g()Z

    move-result p0

    if-eqz p0, :cond_f

    goto :goto_11

    :cond_f
    const/4 p0, 0x0

    return p0

    :cond_11
    :goto_11
    const/4 p0, 0x1

    return p0
.end method


# virtual methods
.method public final B1(Ljava/lang/String;Ljava/lang/String;Lz5/zj;Lx5/a;Lz5/yy;Lz5/ux;)V
    .registers 23

    move-object/from16 v1, p0

    move-object/from16 v0, p3

    :try_start_4
    new-instance v2, Lz5/g90;

    move-object/from16 v3, p5

    move-object/from16 v4, p6

    invoke-direct {v2, v1, v3, v4}, Lz5/g90;-><init>(Lz5/fz;Lz5/yy;Lz5/ux;)V

    iget-object v3, v1, Lz5/fz;->s:Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;

    new-instance v15, Lcom/google/android/gms/ads/mediation/MediationRewardedAdConfiguration;

    invoke-static/range {p4 .. p4}, Lx5/b;->D(Lx5/a;)Ljava/lang/Object;

    move-result-object v4

    move-object v5, v4

    check-cast v5, Landroid/content/Context;

    invoke-static/range {p2 .. p2}, Lz5/fz;->H2(Ljava/lang/String;)Landroid/os/Bundle;

    move-result-object v7

    invoke-virtual {v1, v0}, Lz5/fz;->G2(Lz5/zj;)Landroid/os/Bundle;

    move-result-object v8

    invoke-static/range {p3 .. p3}, Lz5/fz;->I2(Lz5/zj;)Z

    move-result v9

    iget-object v10, v0, Lz5/zj;->B:Landroid/location/Location;

    iget v11, v0, Lz5/zj;->x:I

    iget v12, v0, Lz5/zj;->K:I

    .line 1
    iget-object v0, v0, Lz5/zj;->L:Ljava/lang/String;
    :try_end_2c
    .catchall {:try_start_4 .. :try_end_2c} :catchall_46

    :try_start_2c
    new-instance v4, Lorg/json/JSONObject;

    move-object/from16 v6, p2

    invoke-direct {v4, v6}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string v6, "max_ad_content_rating"

    invoke-virtual {v4, v6}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0
    :try_end_39
    .catch Lorg/json/JSONException; {:try_start_2c .. :try_end_39} :catch_39
    .catchall {:try_start_2c .. :try_end_39} :catchall_46

    :catch_39
    move-object v13, v0

    .line 2
    :try_start_3a
    iget-object v14, v1, Lz5/fz;->v:Ljava/lang/String;

    move-object v4, v15

    move-object/from16 v6, p1

    invoke-direct/range {v4 .. v14}, Lcom/google/android/gms/ads/mediation/MediationRewardedAdConfiguration;-><init>(Landroid/content/Context;Ljava/lang/String;Landroid/os/Bundle;Landroid/os/Bundle;ZLandroid/location/Location;IILjava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v3, v15, v2}, Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;->loadRtbRewardedInterstitialAd(Lcom/google/android/gms/ads/mediation/MediationRewardedAdConfiguration;Lcom/google/android/gms/ads/mediation/MediationAdLoadCallback;)V
    :try_end_45
    .catchall {:try_start_3a .. :try_end_45} :catchall_46

    return-void

    :catchall_46
    move-exception v0

    const-string v2, "Adapter failed to render rewarded interstitial ad."

    invoke-static {v2, v0}, Lz5/gy;->a(Ljava/lang/String;Ljava/lang/Throwable;)Landroid/os/RemoteException;

    move-result-object v0

    throw v0
.end method

.method public final E1(Lx5/a;)Z
    .registers 3

    iget-object v0, p0, Lz5/fz;->t:Lcom/google/android/gms/ads/mediation/MediationInterstitialAd;

    if-eqz v0, :cond_16

    :try_start_4
    invoke-static {p1}, Lx5/b;->D(Lx5/a;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/content/Context;

    invoke-interface {v0, p1}, Lcom/google/android/gms/ads/mediation/MediationInterstitialAd;->showAd(Landroid/content/Context;)V
    :try_end_d
    .catchall {:try_start_4 .. :try_end_d} :catchall_e

    goto :goto_14

    :catchall_e
    move-exception p1

    const-string v0, ""

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

    :goto_14
    const/4 p1, 0x1

    return p1

    :cond_16
    const/4 p1, 0x0

    return p1
.end method

.method public final G2(Lz5/zj;)Landroid/os/Bundle;
    .registers 3

    iget-object p1, p1, Lz5/zj;->D:Landroid/os/Bundle;

    if-eqz p1, :cond_15

    iget-object v0, p0, Lz5/fz;->s:Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;

    invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/os/Bundle;->getBundle(Ljava/lang/String;)Landroid/os/Bundle;

    move-result-object p1

    if-eqz p1, :cond_15

    return-object p1

    :cond_15
    new-instance p1, Landroid/os/Bundle;

    invoke-direct {p1}, Landroid/os/Bundle;-><init>()V

    return-object p1
.end method

.method public final H1(Ljava/lang/String;Ljava/lang/String;Lz5/zj;Lx5/a;Lz5/py;Lz5/ux;Lz5/dk;)V
    .registers 25

    move-object/from16 v1, p0

    move-object/from16 v0, p3

    move-object/from16 v2, p7

    :try_start_6
    new-instance v3, Lcom/google/android/gms/internal/ads/k0;

    move-object/from16 v4, p5

    move-object/from16 v5, p6

    invoke-direct {v3, v4, v5}, Lcom/google/android/gms/internal/ads/k0;-><init>(Lz5/py;Lz5/ux;)V

    iget-object v4, v1, Lz5/fz;->s:Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;

    new-instance v15, Lcom/google/android/gms/ads/mediation/MediationBannerAdConfiguration;

    invoke-static/range {p4 .. p4}, Lx5/b;->D(Lx5/a;)Ljava/lang/Object;

    move-result-object v5

    move-object v6, v5

    check-cast v6, Landroid/content/Context;

    invoke-static/range {p2 .. p2}, Lz5/fz;->H2(Ljava/lang/String;)Landroid/os/Bundle;

    move-result-object v8

    invoke-virtual {v1, v0}, Lz5/fz;->G2(Lz5/zj;)Landroid/os/Bundle;

    move-result-object v9

    invoke-static/range {p3 .. p3}, Lz5/fz;->I2(Lz5/zj;)Z

    move-result v10

    iget-object v11, v0, Lz5/zj;->B:Landroid/location/Location;

    iget v12, v0, Lz5/zj;->x:I

    iget v13, v0, Lz5/zj;->K:I

    .line 1
    iget-object v0, v0, Lz5/zj;->L:Ljava/lang/String;
    :try_end_2e
    .catchall {:try_start_6 .. :try_end_2e} :catchall_56

    :try_start_2e
    new-instance v5, Lorg/json/JSONObject;

    move-object/from16 v7, p2

    invoke-direct {v5, v7}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string v7, "max_ad_content_rating"

    invoke-virtual {v5, v7}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0
    :try_end_3b
    .catch Lorg/json/JSONException; {:try_start_2e .. :try_end_3b} :catch_3b
    .catchall {:try_start_2e .. :try_end_3b} :catchall_56

    :catch_3b
    move-object v14, v0

    .line 2
    :try_start_3c
    iget v0, v2, Lz5/dk;->v:I

    iget v5, v2, Lz5/dk;->s:I

    iget-object v2, v2, Lz5/dk;->r:Ljava/lang/String;

    invoke-static {v0, v5, v2}, Lcom/google/android/gms/ads/zza;->zza(IILjava/lang/String;)Lcom/google/android/gms/ads/AdSize;

    move-result-object v0

    iget-object v2, v1, Lz5/fz;->v:Ljava/lang/String;

    move-object v5, v15

    move-object/from16 v7, p1

    move-object v1, v15

    move-object v15, v0

    move-object/from16 v16, v2

    invoke-direct/range {v5 .. v16}, Lcom/google/android/gms/ads/mediation/MediationBannerAdConfiguration;-><init>(Landroid/content/Context;Ljava/lang/String;Landroid/os/Bundle;Landroid/os/Bundle;ZLandroid/location/Location;IILjava/lang/String;Lcom/google/android/gms/ads/AdSize;Ljava/lang/String;)V

    invoke-virtual {v4, v1, v3}, Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;->loadRtbInterscrollerAd(Lcom/google/android/gms/ads/mediation/MediationBannerAdConfiguration;Lcom/google/android/gms/ads/mediation/MediationAdLoadCallback;)V
    :try_end_55
    .catchall {:try_start_3c .. :try_end_55} :catchall_56

    return-void

    :catchall_56
    move-exception v0

    const-string v1, "Adapter failed to render interscroller ad."

    invoke-static {v1, v0}, Lz5/gy;->a(Ljava/lang/String;Ljava/lang/Throwable;)Landroid/os/RemoteException;

    move-result-object v0

    throw v0
.end method

.method public final O0(Ljava/lang/String;Ljava/lang/String;Lz5/zj;Lx5/a;Lz5/vy;Lz5/ux;Lz5/pq;)V
    .registers 24

    move-object/from16 v1, p0

    move-object/from16 v0, p3

    :try_start_4
    new-instance v2, Lz5/n50;

    move-object/from16 v3, p5

    move-object/from16 v4, p6

    invoke-direct {v2, v3, v4}, Lz5/n50;-><init>(Lz5/vy;Lz5/ux;)V

    iget-object v3, v1, Lz5/fz;->s:Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;

    new-instance v15, Lcom/google/android/gms/ads/mediation/MediationNativeAdConfiguration;

    invoke-static/range {p4 .. p4}, Lx5/b;->D(Lx5/a;)Ljava/lang/Object;

    move-result-object v4

    move-object v5, v4

    check-cast v5, Landroid/content/Context;

    invoke-static/range {p2 .. p2}, Lz5/fz;->H2(Ljava/lang/String;)Landroid/os/Bundle;

    move-result-object v7

    invoke-virtual {v1, v0}, Lz5/fz;->G2(Lz5/zj;)Landroid/os/Bundle;

    move-result-object v8

    invoke-static/range {p3 .. p3}, Lz5/fz;->I2(Lz5/zj;)Z

    move-result v9

    iget-object v10, v0, Lz5/zj;->B:Landroid/location/Location;

    iget v11, v0, Lz5/zj;->x:I

    iget v12, v0, Lz5/zj;->K:I

    .line 1
    iget-object v0, v0, Lz5/zj;->L:Ljava/lang/String;
    :try_end_2c
    .catchall {:try_start_4 .. :try_end_2c} :catchall_49

    :try_start_2c
    new-instance v4, Lorg/json/JSONObject;

    move-object/from16 v6, p2

    invoke-direct {v4, v6}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string v6, "max_ad_content_rating"

    invoke-virtual {v4, v6}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0
    :try_end_39
    .catch Lorg/json/JSONException; {:try_start_2c .. :try_end_39} :catch_39
    .catchall {:try_start_2c .. :try_end_39} :catchall_49

    :catch_39
    move-object v13, v0

    .line 2
    :try_start_3a
    iget-object v14, v1, Lz5/fz;->v:Ljava/lang/String;

    move-object v4, v15

    move-object/from16 v6, p1

    move-object v0, v15

    move-object/from16 v15, p7

    invoke-direct/range {v4 .. v15}, Lcom/google/android/gms/ads/mediation/MediationNativeAdConfiguration;-><init>(Landroid/content/Context;Ljava/lang/String;Landroid/os/Bundle;Landroid/os/Bundle;ZLandroid/location/Location;IILjava/lang/String;Ljava/lang/String;Lz5/pq;)V

    invoke-virtual {v3, v0, v2}, Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;->loadRtbNativeAd(Lcom/google/android/gms/ads/mediation/MediationNativeAdConfiguration;Lcom/google/android/gms/ads/mediation/MediationAdLoadCallback;)V
    :try_end_48
    .catchall {:try_start_3a .. :try_end_48} :catchall_49

    return-void

    :catchall_49
    move-exception v0

    const-string v2, "Adapter failed to render native ad."

    invoke-static {v2, v0}, Lz5/gy;->a(Ljava/lang/String;Ljava/lang/Throwable;)Landroid/os/RemoteException;

    move-result-object v0

    throw v0
.end method

.method public final P1(Ljava/lang/String;Ljava/lang/String;Lz5/zj;Lx5/a;Lz5/sy;Lz5/ux;)V
    .registers 23

    move-object/from16 v1, p0

    move-object/from16 v0, p3

    :try_start_4
    new-instance v2, Lcom/google/android/gms/internal/ads/d1;

    move-object/from16 v3, p5

    move-object/from16 v4, p6

    invoke-direct {v2, v1, v3, v4}, Lcom/google/android/gms/internal/ads/d1;-><init>(Lz5/fz;Lz5/sy;Lz5/ux;)V

    iget-object v3, v1, Lz5/fz;->s:Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;

    new-instance v15, Lcom/google/android/gms/ads/mediation/MediationInterstitialAdConfiguration;

    invoke-static/range {p4 .. p4}, Lx5/b;->D(Lx5/a;)Ljava/lang/Object;

    move-result-object v4

    move-object v5, v4

    check-cast v5, Landroid/content/Context;

    invoke-static/range {p2 .. p2}, Lz5/fz;->H2(Ljava/lang/String;)Landroid/os/Bundle;

    move-result-object v7

    invoke-virtual {v1, v0}, Lz5/fz;->G2(Lz5/zj;)Landroid/os/Bundle;

    move-result-object v8

    invoke-static/range {p3 .. p3}, Lz5/fz;->I2(Lz5/zj;)Z

    move-result v9

    iget-object v10, v0, Lz5/zj;->B:Landroid/location/Location;

    iget v11, v0, Lz5/zj;->x:I

    iget v12, v0, Lz5/zj;->K:I

    .line 1
    iget-object v0, v0, Lz5/zj;->L:Ljava/lang/String;
    :try_end_2c
    .catchall {:try_start_4 .. :try_end_2c} :catchall_46

    :try_start_2c
    new-instance v4, Lorg/json/JSONObject;

    move-object/from16 v6, p2

    invoke-direct {v4, v6}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string v6, "max_ad_content_rating"

    invoke-virtual {v4, v6}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0
    :try_end_39
    .catch Lorg/json/JSONException; {:try_start_2c .. :try_end_39} :catch_39
    .catchall {:try_start_2c .. :try_end_39} :catchall_46

    :catch_39
    move-object v13, v0

    .line 2
    :try_start_3a
    iget-object v14, v1, Lz5/fz;->v:Ljava/lang/String;

    move-object v4, v15

    move-object/from16 v6, p1

    invoke-direct/range {v4 .. v14}, Lcom/google/android/gms/ads/mediation/MediationInterstitialAdConfiguration;-><init>(Landroid/content/Context;Ljava/lang/String;Landroid/os/Bundle;Landroid/os/Bundle;ZLandroid/location/Location;IILjava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v3, v15, v2}, Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;->loadRtbInterstitialAd(Lcom/google/android/gms/ads/mediation/MediationInterstitialAdConfiguration;Lcom/google/android/gms/ads/mediation/MediationAdLoadCallback;)V
    :try_end_45
    .catchall {:try_start_3a .. :try_end_45} :catchall_46

    return-void

    :catchall_46
    move-exception v0

    const-string v2, "Adapter failed to render interstitial ad."

    invoke-static {v2, v0}, Lz5/gy;->a(Ljava/lang/String;Ljava/lang/Throwable;)Landroid/os/RemoteException;

    move-result-object v0

    throw v0
.end method

.method public final S(Lx5/a;Ljava/lang/String;Landroid/os/Bundle;Landroid/os/Bundle;Lz5/dk;Lz5/ez;)V
    .registers 14

    :try_start_0
    new-instance v0, Lz5/ge0;

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

    iget-object p6, p0, Lz5/fz;->s:Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;

    new-instance v1, Lcom/google/android/gms/ads/mediation/MediationConfiguration;

    invoke-virtual {p2}, Ljava/lang/String;->hashCode()I

    move-result v2
    :try_end_d
    .catchall {:try_start_0 .. :try_end_d} :catchall_8c

    const/4 v3, 0x4

    const/4 v4, 0x3

    const/4 v5, 0x2

    const/4 v6, 0x1

    sparse-switch v2, :sswitch_data_94

    goto :goto_47

    :sswitch_15
    const-string v2, "rewarded_interstitial"

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

    move-result p2

    if-eqz p2, :cond_47

    move p2, v4

    goto :goto_48

    :sswitch_1f
    const-string v2, "interstitial"

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

    move-result p2

    if-eqz p2, :cond_47

    move p2, v6

    goto :goto_48

    :sswitch_29
    const-string v2, "rewarded"

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

    move-result p2

    if-eqz p2, :cond_47

    move p2, v5

    goto :goto_48

    :sswitch_33
    const-string v2, "native"

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

    move-result p2

    if-eqz p2, :cond_47

    move p2, v3

    goto :goto_48

    :sswitch_3d
    const-string v2, "banner"

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

    move-result p2

    if-eqz p2, :cond_47

    const/4 p2, 0x0

    goto :goto_48

    :cond_47
    :goto_47
    const/4 p2, -0x1

    :goto_48
    if-eqz p2, :cond_66

    if-eq p2, v6, :cond_63

    if-eq p2, v5, :cond_60

    if-eq p2, v4, :cond_5d

    if-ne p2, v3, :cond_55

    :try_start_52
    sget-object p2, Lcom/google/android/gms/ads/AdFormat;->NATIVE:Lcom/google/android/gms/ads/AdFormat;

    goto :goto_68

    :cond_55
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string p2, "Internal Error"

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

    throw p1

    :cond_5d
    sget-object p2, Lcom/google/android/gms/ads/AdFormat;->REWARDED_INTERSTITIAL:Lcom/google/android/gms/ads/AdFormat;

    goto :goto_68

    :cond_60
    sget-object p2, Lcom/google/android/gms/ads/AdFormat;->REWARDED:Lcom/google/android/gms/ads/AdFormat;

    goto :goto_68

    :cond_63
    sget-object p2, Lcom/google/android/gms/ads/AdFormat;->INTERSTITIAL:Lcom/google/android/gms/ads/AdFormat;

    goto :goto_68

    :cond_66
    sget-object p2, Lcom/google/android/gms/ads/AdFormat;->BANNER:Lcom/google/android/gms/ads/AdFormat;

    :goto_68
    invoke-direct {v1, p2, p4}, Lcom/google/android/gms/ads/mediation/MediationConfiguration;-><init>(Lcom/google/android/gms/ads/AdFormat;Landroid/os/Bundle;)V

    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    invoke-virtual {p2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance p4, Lcom/google/android/gms/ads/mediation/rtb/RtbSignalData;

    invoke-static {p1}, Lx5/b;->D(Lx5/a;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/content/Context;

    iget v1, p5, Lz5/dk;->v:I

    iget v2, p5, Lz5/dk;->s:I

    iget-object p5, p5, Lz5/dk;->r:Ljava/lang/String;

    invoke-static {v1, v2, p5}, Lcom/google/android/gms/ads/zza;->zza(IILjava/lang/String;)Lcom/google/android/gms/ads/AdSize;

    move-result-object p5

    invoke-direct {p4, p1, p2, p3, p5}, Lcom/google/android/gms/ads/mediation/rtb/RtbSignalData;-><init>(Landroid/content/Context;Ljava/util/List;Landroid/os/Bundle;Lcom/google/android/gms/ads/AdSize;)V

    invoke-virtual {p6, p4, v0}, Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;->collectSignals(Lcom/google/android/gms/ads/mediation/rtb/RtbSignalData;Lcom/google/android/gms/ads/mediation/rtb/SignalCallbacks;)V
    :try_end_8b
    .catchall {:try_start_52 .. :try_end_8b} :catchall_8c

    return-void

    :catchall_8c
    move-exception p1

    const-string p2, "Error generating signals for RTB"

    invoke-static {p2, p1}, Lz5/gy;->a(Ljava/lang/String;Ljava/lang/Throwable;)Landroid/os/RemoteException;

    move-result-object p1

    throw p1

    :sswitch_data_94
    .sparse-switch
        -0x533a80d4 -> :sswitch_3d
        -0x3ebdafe9 -> :sswitch_33
        -0xe47b3f2 -> :sswitch_29
        0x240b672c -> :sswitch_1f
        0x71ef0bbd -> :sswitch_15
    .end sparse-switch
.end method

.method public final V(Lx5/a;)Z
    .registers 3

    iget-object v0, p0, Lz5/fz;->u:Lcom/google/android/gms/ads/mediation/MediationRewardedAd;

    if-eqz v0, :cond_16

    :try_start_4
    invoke-static {p1}, Lx5/b;->D(Lx5/a;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/content/Context;

    invoke-interface {v0, p1}, Lcom/google/android/gms/ads/mediation/MediationRewardedAd;->showAd(Landroid/content/Context;)V
    :try_end_d
    .catchall {:try_start_4 .. :try_end_d} :catchall_e

    goto :goto_14

    :catchall_e
    move-exception p1

    const-string v0, ""

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

    :goto_14
    const/4 p1, 0x1

    return p1

    :cond_16
    const/4 p1, 0x0

    return p1
.end method

.method public final Y1(Ljava/lang/String;Ljava/lang/String;Lz5/zj;Lx5/a;Lz5/py;Lz5/ux;Lz5/dk;)V
    .registers 25

    move-object/from16 v1, p0

    move-object/from16 v0, p3

    move-object/from16 v2, p7

    :try_start_6
    new-instance v3, Landroidx/appcompat/widget/n;

    move-object/from16 v4, p5

    move-object/from16 v5, p6

    invoke-direct {v3, v4, v5}, Landroidx/appcompat/widget/n;-><init>(Lz5/py;Lz5/ux;)V

    iget-object v4, v1, Lz5/fz;->s:Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;

    new-instance v15, Lcom/google/android/gms/ads/mediation/MediationBannerAdConfiguration;

    invoke-static/range {p4 .. p4}, Lx5/b;->D(Lx5/a;)Ljava/lang/Object;

    move-result-object v5

    move-object v6, v5

    check-cast v6, Landroid/content/Context;

    invoke-static/range {p2 .. p2}, Lz5/fz;->H2(Ljava/lang/String;)Landroid/os/Bundle;

    move-result-object v8

    invoke-virtual {v1, v0}, Lz5/fz;->G2(Lz5/zj;)Landroid/os/Bundle;

    move-result-object v9

    invoke-static/range {p3 .. p3}, Lz5/fz;->I2(Lz5/zj;)Z

    move-result v10

    iget-object v11, v0, Lz5/zj;->B:Landroid/location/Location;

    iget v12, v0, Lz5/zj;->x:I

    iget v13, v0, Lz5/zj;->K:I

    .line 1
    iget-object v0, v0, Lz5/zj;->L:Ljava/lang/String;
    :try_end_2e
    .catchall {:try_start_6 .. :try_end_2e} :catchall_56

    :try_start_2e
    new-instance v5, Lorg/json/JSONObject;

    move-object/from16 v7, p2

    invoke-direct {v5, v7}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string v7, "max_ad_content_rating"

    invoke-virtual {v5, v7}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0
    :try_end_3b
    .catch Lorg/json/JSONException; {:try_start_2e .. :try_end_3b} :catch_3b
    .catchall {:try_start_2e .. :try_end_3b} :catchall_56

    :catch_3b
    move-object v14, v0

    .line 2
    :try_start_3c
    iget v0, v2, Lz5/dk;->v:I

    iget v5, v2, Lz5/dk;->s:I

    iget-object v2, v2, Lz5/dk;->r:Ljava/lang/String;

    invoke-static {v0, v5, v2}, Lcom/google/android/gms/ads/zza;->zza(IILjava/lang/String;)Lcom/google/android/gms/ads/AdSize;

    move-result-object v0

    iget-object v2, v1, Lz5/fz;->v:Ljava/lang/String;

    move-object v5, v15

    move-object/from16 v7, p1

    move-object v1, v15

    move-object v15, v0

    move-object/from16 v16, v2

    invoke-direct/range {v5 .. v16}, Lcom/google/android/gms/ads/mediation/MediationBannerAdConfiguration;-><init>(Landroid/content/Context;Ljava/lang/String;Landroid/os/Bundle;Landroid/os/Bundle;ZLandroid/location/Location;IILjava/lang/String;Lcom/google/android/gms/ads/AdSize;Ljava/lang/String;)V

    invoke-virtual {v4, v1, v3}, Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;->loadRtbBannerAd(Lcom/google/android/gms/ads/mediation/MediationBannerAdConfiguration;Lcom/google/android/gms/ads/mediation/MediationAdLoadCallback;)V
    :try_end_55
    .catchall {:try_start_3c .. :try_end_55} :catchall_56

    return-void

    :catchall_56
    move-exception v0

    const-string v1, "Adapter failed to render banner ad."

    invoke-static {v1, v0}, Lz5/gy;->a(Ljava/lang/String;Ljava/lang/Throwable;)Landroid/os/RemoteException;

    move-result-object v0

    throw v0
.end method

.method public final q(Ljava/lang/String;)V
    .registers 2

    iput-object p1, p0, Lz5/fz;->v:Ljava/lang/String;

    return-void
.end method

.method public final r1(Ljava/lang/String;Ljava/lang/String;Lz5/zj;Lx5/a;Lz5/yy;Lz5/ux;)V
    .registers 23

    move-object/from16 v1, p0

    move-object/from16 v0, p3

    :try_start_4
    new-instance v2, Lz5/g90;

    move-object/from16 v3, p5

    move-object/from16 v4, p6

    invoke-direct {v2, v1, v3, v4}, Lz5/g90;-><init>(Lz5/fz;Lz5/yy;Lz5/ux;)V

    iget-object v3, v1, Lz5/fz;->s:Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;

    new-instance v15, Lcom/google/android/gms/ads/mediation/MediationRewardedAdConfiguration;

    invoke-static/range {p4 .. p4}, Lx5/b;->D(Lx5/a;)Ljava/lang/Object;

    move-result-object v4

    move-object v5, v4

    check-cast v5, Landroid/content/Context;

    invoke-static/range {p2 .. p2}, Lz5/fz;->H2(Ljava/lang/String;)Landroid/os/Bundle;

    move-result-object v7

    invoke-virtual {v1, v0}, Lz5/fz;->G2(Lz5/zj;)Landroid/os/Bundle;

    move-result-object v8

    invoke-static/range {p3 .. p3}, Lz5/fz;->I2(Lz5/zj;)Z

    move-result v9

    iget-object v10, v0, Lz5/zj;->B:Landroid/location/Location;

    iget v11, v0, Lz5/zj;->x:I

    iget v12, v0, Lz5/zj;->K:I

    .line 1
    iget-object v0, v0, Lz5/zj;->L:Ljava/lang/String;
    :try_end_2c
    .catchall {:try_start_4 .. :try_end_2c} :catchall_46

    :try_start_2c
    new-instance v4, Lorg/json/JSONObject;

    move-object/from16 v6, p2

    invoke-direct {v4, v6}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string v6, "max_ad_content_rating"

    invoke-virtual {v4, v6}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0
    :try_end_39
    .catch Lorg/json/JSONException; {:try_start_2c .. :try_end_39} :catch_39
    .catchall {:try_start_2c .. :try_end_39} :catchall_46

    :catch_39
    move-object v13, v0

    .line 2
    :try_start_3a
    iget-object v14, v1, Lz5/fz;->v:Ljava/lang/String;

    move-object v4, v15

    move-object/from16 v6, p1

    invoke-direct/range {v4 .. v14}, Lcom/google/android/gms/ads/mediation/MediationRewardedAdConfiguration;-><init>(Landroid/content/Context;Ljava/lang/String;Landroid/os/Bundle;Landroid/os/Bundle;ZLandroid/location/Location;IILjava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v3, v15, v2}, Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;->loadRtbRewardedAd(Lcom/google/android/gms/ads/mediation/MediationRewardedAdConfiguration;Lcom/google/android/gms/ads/mediation/MediationAdLoadCallback;)V
    :try_end_45
    .catchall {:try_start_3a .. :try_end_45} :catchall_46

    return-void

    :catchall_46
    move-exception v0

    const-string v2, "Adapter failed to render rewarded ad."

    invoke-static {v2, v0}, Lz5/gy;->a(Ljava/lang/String;Ljava/lang/Throwable;)Landroid/os/RemoteException;

    move-result-object v0

    throw v0
.end method

.method public final u2(Ljava/lang/String;Ljava/lang/String;Lz5/zj;Lx5/a;Lz5/vy;Lz5/ux;)V
    .registers 15

    const/4 v7, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move-object v3, p3

    move-object v4, p4

    move-object v5, p5

    move-object v6, p6

    invoke-virtual/range {v0 .. v7}, Lz5/fz;->O0(Ljava/lang/String;Ljava/lang/String;Lz5/zj;Lx5/a;Lz5/vy;Lz5/ux;Lz5/pq;)V

    return-void
.end method

.method public final zzf()Lcom/google/android/gms/internal/ads/z0;
    .registers 2

    iget-object v0, p0, Lz5/fz;->s:Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;

    invoke-virtual {v0}, Lcom/google/android/gms/ads/mediation/Adapter;->getVersionInfo()Lcom/google/android/gms/ads/mediation/VersionInfo;

    move-result-object v0

    invoke-static {v0}, Lcom/google/android/gms/internal/ads/z0;->c(Lcom/google/android/gms/ads/mediation/VersionInfo;)Lcom/google/android/gms/internal/ads/z0;

    move-result-object v0

    return-object v0
.end method

.method public final zzg()Lcom/google/android/gms/internal/ads/z0;
    .registers 2

    iget-object v0, p0, Lz5/fz;->s:Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;

    invoke-virtual {v0}, Lcom/google/android/gms/ads/mediation/Adapter;->getSDKVersionInfo()Lcom/google/android/gms/ads/mediation/VersionInfo;

    move-result-object v0

    invoke-static {v0}, Lcom/google/android/gms/internal/ads/z0;->c(Lcom/google/android/gms/ads/mediation/VersionInfo;)Lcom/google/android/gms/internal/ads/z0;

    move-result-object v0

    return-object v0
.end method

.method public final zzh()Lz5/an;
    .registers 4

    iget-object v0, p0, Lz5/fz;->s:Lcom/google/android/gms/ads/mediation/rtb/RtbAdapter;

    instance-of v1, v0, Lcom/google/android/gms/ads/mediation/zzb;

    const/4 v2, 0x0

    if-eqz v1, :cond_14

    :try_start_7
    check-cast v0, Lcom/google/android/gms/ads/mediation/zzb;

    invoke-interface {v0}, Lcom/google/android/gms/ads/mediation/zzb;->getVideoController()Lz5/an;

    move-result-object v0
    :try_end_d
    .catchall {:try_start_7 .. :try_end_d} :catchall_e

    return-object v0

    :catchall_e
    move-exception v0

    const-string v1, ""

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

    :cond_14
    return-object v2
.end method
