.class public final Lcom/google/android/gms/internal/ads/l1;
.super Lcom/google/android/gms/ads/rewarded/RewardedAd;
.source ""


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


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

.field public final b:Lz5/u20;

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

.field public final d:Lz5/g30;

.field public e:Lcom/google/android/gms/ads/rewarded/OnAdMetadataChangedListener;

.field public f:Lcom/google/android/gms/ads/OnPaidEventListener;

.field public g:Lcom/google/android/gms/ads/FullScreenContentCallback;


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;)V
    .registers 5

    invoke-direct {p0}, Lcom/google/android/gms/ads/rewarded/RewardedAd;-><init>()V

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

    move-result-object v0

    iput-object v0, p0, Lcom/google/android/gms/internal/ads/l1;->c:Landroid/content/Context;

    iput-object p2, p0, Lcom/google/android/gms/internal/ads/l1;->a:Ljava/lang/String;

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

    iget-object v0, v0, Lz5/wk;->b:Lz5/uk;

    .line 2
    new-instance v1, Lz5/lx;

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

    invoke-virtual {v0, p1, p2, v1}, Lz5/uk;->g(Landroid/content/Context;Ljava/lang/String;Lz5/ox;)Lz5/u20;

    move-result-object p1

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/l1;->b:Lz5/u20;

    new-instance p1, Lz5/g30;

    invoke-direct {p1}, Lz5/g30;-><init>()V

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/l1;->d:Lz5/g30;

    return-void
.end method


# virtual methods
.method public final a(Lcom/google/android/gms/internal/ads/c0;Lcom/google/android/gms/ads/rewarded/RewardedAdLoadCallback;)V
    .registers 6

    :try_start_0
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/l1;->b:Lz5/u20;

    if-eqz v0, :cond_14

    sget-object v1, Lz5/ck;->a:Lz5/ck;

    iget-object v2, p0, Lcom/google/android/gms/internal/ads/l1;->c:Landroid/content/Context;

    invoke-virtual {v1, v2, p1}, Lz5/ck;->a(Landroid/content/Context;Lcom/google/android/gms/internal/ads/c0;)Lz5/zj;

    move-result-object p1

    new-instance v1, Lz5/d30;

    invoke-direct {v1, p2, p0}, Lz5/d30;-><init>(Lcom/google/android/gms/ads/rewarded/RewardedAdLoadCallback;Lcom/google/android/gms/ads/rewarded/RewardedAd;)V

    invoke-interface {v0, p1, v1}, Lz5/u20;->A1(Lz5/zj;Lz5/b30;)V
    :try_end_14
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_14} :catch_15

    :cond_14
    return-void

    :catch_15
    move-exception p1

    const-string p2, "#007 Could not call remote method."

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

    return-void
.end method

.method public final getAdMetadata()Landroid/os/Bundle;
    .registers 3

    :try_start_0
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/l1;->b:Lz5/u20;

    if-eqz v0, :cond_f

    invoke-interface {v0}, Lz5/u20;->zzg()Landroid/os/Bundle;

    move-result-object v0
    :try_end_8
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_8} :catch_9

    return-object v0

    :catch_9
    move-exception v0

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

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

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

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

    return-object v0
.end method

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

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/l1;->a:Ljava/lang/String;

    return-object v0
.end method

.method public final getFullScreenContentCallback()Lcom/google/android/gms/ads/FullScreenContentCallback;
    .registers 2

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/l1;->g:Lcom/google/android/gms/ads/FullScreenContentCallback;

    return-object v0
.end method

.method public final getOnAdMetadataChangedListener()Lcom/google/android/gms/ads/rewarded/OnAdMetadataChangedListener;
    .registers 2

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/l1;->e:Lcom/google/android/gms/ads/rewarded/OnAdMetadataChangedListener;

    return-object v0
.end method

.method public final getOnPaidEventListener()Lcom/google/android/gms/ads/OnPaidEventListener;
    .registers 2

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/l1;->f:Lcom/google/android/gms/ads/OnPaidEventListener;

    return-object v0
.end method

.method public final getResponseInfo()Lcom/google/android/gms/ads/ResponseInfo;
    .registers 4

    const/4 v0, 0x0

    :try_start_1
    iget-object v1, p0, Lcom/google/android/gms/internal/ads/l1;->b:Lz5/u20;

    if-eqz v1, :cond_10

    invoke-interface {v1}, Lz5/u20;->zzm()Lz5/wm;

    move-result-object v0
    :try_end_9
    .catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_9} :catch_a

    goto :goto_10

    :catch_a
    move-exception v1

    const-string v2, "#007 Could not call remote method."

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

    :cond_10
    :goto_10
    invoke-static {v0}, Lcom/google/android/gms/ads/ResponseInfo;->zzc(Lz5/wm;)Lcom/google/android/gms/ads/ResponseInfo;

    move-result-object v0

    return-object v0
.end method

.method public final getRewardItem()Lcom/google/android/gms/ads/rewarded/RewardItem;
    .registers 3

    :try_start_0
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/l1;->b:Lz5/u20;

    if-eqz v0, :cond_9

    invoke-interface {v0}, Lz5/u20;->zzl()Lz5/r20;

    move-result-object v0

    goto :goto_a

    :cond_9
    const/4 v0, 0x0

    :goto_a
    if-nez v0, :cond_f

    sget-object v0, Lcom/google/android/gms/ads/rewarded/RewardItem;->DEFAULT_REWARD:Lcom/google/android/gms/ads/rewarded/RewardItem;

    goto :goto_15

    :cond_f
    new-instance v1, Lz5/ge0;

    invoke-direct {v1, v0}, Lz5/ge0;-><init>(Lz5/r20;)V
    :try_end_14
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_14} :catch_16

    move-object v0, v1

    :goto_15
    return-object v0

    :catch_16
    move-exception v0

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

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

    sget-object v0, Lcom/google/android/gms/ads/rewarded/RewardItem;->DEFAULT_REWARD:Lcom/google/android/gms/ads/rewarded/RewardItem;

    return-object v0
.end method

.method public final setFullScreenContentCallback(Lcom/google/android/gms/ads/FullScreenContentCallback;)V
    .registers 3

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/l1;->g:Lcom/google/android/gms/ads/FullScreenContentCallback;

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/l1;->d:Lz5/g30;

    .line 1
    iput-object p1, v0, Lz5/g30;->r:Lcom/google/android/gms/ads/FullScreenContentCallback;

    return-void
.end method

.method public final setImmersiveMode(Z)V
    .registers 3

    :try_start_0
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/l1;->b:Lz5/u20;

    if-eqz v0, :cond_7

    invoke-interface {v0, p1}, Lz5/u20;->y(Z)V
    :try_end_7
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_7} :catch_8

    :cond_7
    return-void

    :catch_8
    move-exception p1

    const-string v0, "#007 Could not call remote method."

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

    return-void
.end method

.method public final setOnAdMetadataChangedListener(Lcom/google/android/gms/ads/rewarded/OnAdMetadataChangedListener;)V
    .registers 4

    :try_start_0
    iput-object p1, p0, Lcom/google/android/gms/internal/ads/l1;->e:Lcom/google/android/gms/ads/rewarded/OnAdMetadataChangedListener;

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/l1;->b:Lz5/u20;

    if-eqz v0, :cond_e

    new-instance v1, Lz5/wn;

    invoke-direct {v1, p1}, Lz5/wn;-><init>(Lcom/google/android/gms/ads/rewarded/OnAdMetadataChangedListener;)V

    invoke-interface {v0, v1}, Lz5/u20;->J(Lz5/rm;)V
    :try_end_e
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_e} :catch_f

    :cond_e
    return-void

    :catch_f
    move-exception p1

    const-string v0, "#007 Could not call remote method."

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

    return-void
.end method

.method public final setOnPaidEventListener(Lcom/google/android/gms/ads/OnPaidEventListener;)V
    .registers 4

    :try_start_0
    iput-object p1, p0, Lcom/google/android/gms/internal/ads/l1;->f:Lcom/google/android/gms/ads/OnPaidEventListener;

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/l1;->b:Lz5/u20;

    if-eqz v0, :cond_e

    new-instance v1, Lz5/xn;

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

    invoke-interface {v0, v1}, Lz5/u20;->Q0(Lz5/um;)V
    :try_end_e
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_e} :catch_f

    :cond_e
    return-void

    :catch_f
    move-exception p1

    const-string v0, "#007 Could not call remote method."

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

    return-void
.end method

.method public final setServerSideVerificationOptions(Lcom/google/android/gms/ads/rewarded/ServerSideVerificationOptions;)V
    .registers 4

    if-eqz p1, :cond_15

    :try_start_2
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/l1;->b:Lz5/u20;

    if-eqz v0, :cond_15

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

    invoke-direct {v1, p1}, Lcom/google/android/gms/internal/ads/m1;-><init>(Lcom/google/android/gms/ads/rewarded/ServerSideVerificationOptions;)V

    invoke-interface {v0, v1}, Lz5/u20;->X(Lcom/google/android/gms/internal/ads/m1;)V
    :try_end_e
    .catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_e} :catch_f

    return-void

    :catch_f
    move-exception p1

    const-string v0, "#007 Could not call remote method."

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

    :cond_15
    return-void
.end method

.method public final show(Landroid/app/Activity;Lcom/google/android/gms/ads/OnUserEarnedRewardListener;)V
    .registers 4

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/l1;->d:Lz5/g30;

    .line 1
    iput-object p2, v0, Lz5/g30;->s:Lcom/google/android/gms/ads/OnUserEarnedRewardListener;

    if-nez p1, :cond_b

    const-string p2, "The activity for show is null, will proceed with show using the context provided when loading the ad."

    .line 2
    invoke-static {p2}, Lz5/d50;->zzi(Ljava/lang/String;)V

    :cond_b
    :try_start_b
    iget-object p2, p0, Lcom/google/android/gms/internal/ads/l1;->b:Lz5/u20;

    if-eqz p2, :cond_1e

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/l1;->d:Lz5/g30;

    invoke-interface {p2, v0}, Lz5/u20;->V0(Lz5/x20;)V

    iget-object p2, p0, Lcom/google/android/gms/internal/ads/l1;->b:Lz5/u20;

    .line 3
    new-instance v0, Lx5/b;

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

    .line 4
    invoke-interface {p2, v0}, Lz5/u20;->k(Lx5/a;)V
    :try_end_1e
    .catch Landroid/os/RemoteException; {:try_start_b .. :try_end_1e} :catch_1f

    :cond_1e
    return-void

    :catch_1f
    move-exception p1

    const-string p2, "#007 Could not call remote method."

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

    return-void
.end method
