.class public final Lcom/google/android/gms/internal/ads/d0;
.super Ljava/lang/Object;
.source ""


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

.field public final b:Lz5/ck;

.field public final c:Ljava/util/concurrent/atomic/AtomicBoolean;

.field public final d:Lcom/google/android/gms/ads/VideoController;

.field public final e:Lz5/hn;

.field public f:Lz5/oj;

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

.field public h:[Lcom/google/android/gms/ads/AdSize;

.field public i:Lcom/google/android/gms/ads/admanager/AppEventListener;

.field public j:Lz5/rl;

.field public k:Lcom/google/android/gms/ads/VideoOptions;

.field public l:Ljava/lang/String;

.field public final m:Landroid/view/ViewGroup;
    .annotation runtime Lorg/checkerframework/checker/initialization/qual/NotOnlyInitialized;
    .end annotation
.end field

.field public n:I

.field public o:Z

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


# direct methods
.method public constructor <init>(Landroid/view/ViewGroup;Landroid/util/AttributeSet;Z)V
    .registers 11

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

    const/4 v5, 0x0

    const/4 v6, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move v3, p3

    invoke-direct/range {v0 .. v6}, Lcom/google/android/gms/internal/ads/d0;-><init>(Landroid/view/ViewGroup;Landroid/util/AttributeSet;ZLz5/ck;Lz5/rl;I)V

    return-void
.end method

.method public constructor <init>(Landroid/view/ViewGroup;Landroid/util/AttributeSet;ZI)V
    .registers 12

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

    const/4 v5, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move v3, p3

    move v6, p4

    invoke-direct/range {v0 .. v6}, Lcom/google/android/gms/internal/ads/d0;-><init>(Landroid/view/ViewGroup;Landroid/util/AttributeSet;ZLz5/ck;Lz5/rl;I)V

    return-void
.end method

.method public constructor <init>(Landroid/view/ViewGroup;Landroid/util/AttributeSet;ZLz5/ck;Lz5/rl;I)V
    .registers 12

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

    new-instance p5, Lz5/lx;

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

    iput-object p5, p0, Lcom/google/android/gms/internal/ads/d0;->a:Lz5/lx;

    new-instance p5, Lcom/google/android/gms/ads/VideoController;

    invoke-direct {p5}, Lcom/google/android/gms/ads/VideoController;-><init>()V

    iput-object p5, p0, Lcom/google/android/gms/internal/ads/d0;->d:Lcom/google/android/gms/ads/VideoController;

    new-instance p5, Lz5/hn;

    invoke-direct {p5, p0}, Lz5/hn;-><init>(Lcom/google/android/gms/internal/ads/d0;)V

    iput-object p5, p0, Lcom/google/android/gms/internal/ads/d0;->e:Lz5/hn;

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/d0;->m:Landroid/view/ViewGroup;

    iput-object p4, p0, Lcom/google/android/gms/internal/ads/d0;->b:Lz5/ck;

    const/4 p4, 0x0

    iput-object p4, p0, Lcom/google/android/gms/internal/ads/d0;->j:Lz5/rl;

    new-instance p4, Ljava/util/concurrent/atomic/AtomicBoolean;

    const/4 p5, 0x0

    invoke-direct {p4, p5}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V

    iput-object p4, p0, Lcom/google/android/gms/internal/ads/d0;->c:Ljava/util/concurrent/atomic/AtomicBoolean;

    iput p6, p0, Lcom/google/android/gms/internal/ads/d0;->n:I

    if-eqz p2, :cond_f2

    invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;

    move-result-object p4

    const/high16 p6, -0x1000000

    .line 1
    :try_start_31
    invoke-virtual {p4}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    sget-object v1, Lcom/google/android/gms/ads/R$styleable;->AdsAttrs:[I

    invoke-virtual {v0, p2, v1}, Landroid/content/res/Resources;->obtainAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;

    move-result-object p2

    sget v0, Lcom/google/android/gms/ads/R$styleable;->AdsAttrs_adSize:I

    invoke-virtual {p2, v0}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;

    move-result-object v0

    sget v1, Lcom/google/android/gms/ads/R$styleable;->AdsAttrs_adSizes:I

    invoke-virtual {p2, v1}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;

    move-result-object v1

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

    move-result v2

    const/4 v3, 0x1

    xor-int/2addr v2, v3

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

    move-result v4

    xor-int/2addr v4, v3

    if-eqz v2, :cond_5b

    if-nez v4, :cond_5b

    invoke-static {v0}, Lz5/kk;->a(Ljava/lang/String;)[Lcom/google/android/gms/ads/AdSize;

    move-result-object v0

    goto :goto_63

    :cond_5b
    if-nez v2, :cond_be

    if-eqz v4, :cond_be

    invoke-static {v1}, Lz5/kk;->a(Ljava/lang/String;)[Lcom/google/android/gms/ads/AdSize;

    move-result-object v0

    :goto_63
    sget v1, Lcom/google/android/gms/ads/R$styleable;->AdsAttrs_adUnitId:I

    invoke-virtual {p2, v1}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2}, Landroid/content/res/TypedArray;->recycle()V

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

    move-result p2

    if-nez p2, :cond_b6

    if-nez p3, :cond_80

    .line 2
    array-length p2, v0

    if-ne p2, v3, :cond_78

    goto :goto_80

    :cond_78
    new-instance p2, Ljava/lang/IllegalArgumentException;

    const-string p3, "The adSizes XML attribute is only allowed on PublisherAdViews."

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

    throw p2

    .line 3
    :cond_80
    :goto_80
    iput-object v0, p0, Lcom/google/android/gms/internal/ads/d0;->h:[Lcom/google/android/gms/ads/AdSize;

    iput-object v1, p0, Lcom/google/android/gms/internal/ads/d0;->l:Ljava/lang/String;
    :try_end_84
    .catch Ljava/lang/IllegalArgumentException; {:try_start_31 .. :try_end_84} :catch_d1

    invoke-virtual {p1}, Landroid/view/ViewGroup;->isInEditMode()Z

    move-result p2

    if-eqz p2, :cond_f2

    .line 4
    sget-object p2, Lz5/wk;->f:Lz5/wk;

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

    .line 5
    iget-object p3, p0, Lcom/google/android/gms/internal/ads/d0;->h:[Lcom/google/android/gms/ads/AdSize;

    aget-object p3, p3, p5

    iget v0, p0, Lcom/google/android/gms/internal/ads/d0;->n:I

    sget-object v1, Lcom/google/android/gms/ads/AdSize;->INVALID:Lcom/google/android/gms/ads/AdSize;

    invoke-virtual {p3, v1}, Lcom/google/android/gms/ads/AdSize;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_a1

    invoke-static {}, Lz5/dk;->i()Lz5/dk;

    move-result-object p3

    goto :goto_ac

    :cond_a1
    new-instance v1, Lz5/dk;

    invoke-direct {v1, p4, p3}, Lz5/dk;-><init>(Landroid/content/Context;Lcom/google/android/gms/ads/AdSize;)V

    if-ne v0, v3, :cond_a9

    move p5, v3

    :cond_a9
    iput-boolean p5, v1, Lz5/dk;->A:Z

    move-object p3, v1

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

    const/4 p2, -0x1

    const-string p4, "Ads by Google"

    .line 6
    invoke-static {p1, p3, p4, p6, p2}, Lz5/z40;->o(Landroid/view/ViewGroup;Lz5/dk;Ljava/lang/String;II)V

    return-void

    .line 7
    :cond_b6
    :try_start_b6
    new-instance p2, Ljava/lang/IllegalArgumentException;

    const-string p3, "Required XML attribute \"adUnitId\" was missing."

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

    throw p2

    :cond_be
    invoke-virtual {p2}, Landroid/content/res/TypedArray;->recycle()V

    new-instance p2, Ljava/lang/IllegalArgumentException;

    if-eqz v2, :cond_cb

    const-string p3, "Either XML attribute \"adSize\" or XML attribute \"supportedAdSizes\" should be specified, but not both."

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

    throw p2

    :cond_cb
    const-string p3, "Required XML attribute \"adSize\" was missing."

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

    throw p2
    :try_end_d1
    .catch Ljava/lang/IllegalArgumentException; {:try_start_b6 .. :try_end_d1} :catch_d1

    :catch_d1
    move-exception p2

    .line 8
    sget-object p3, Lz5/wk;->f:Lz5/wk;

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

    .line 9
    new-instance p5, Lz5/dk;

    sget-object v0, Lcom/google/android/gms/ads/AdSize;->BANNER:Lcom/google/android/gms/ads/AdSize;

    invoke-direct {p5, p4, v0}, Lz5/dk;-><init>(Landroid/content/Context;Lcom/google/android/gms/ads/AdSize;)V

    invoke-virtual {p2}, Ljava/lang/IllegalArgumentException;->getMessage()Ljava/lang/String;

    move-result-object p4

    invoke-virtual {p2}, Ljava/lang/IllegalArgumentException;->getMessage()Ljava/lang/String;

    move-result-object p2

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

    if-eqz p2, :cond_ed

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

    :cond_ed
    const/high16 p2, -0x10000

    invoke-static {p1, p5, p4, p2, p6}, Lz5/z40;->o(Landroid/view/ViewGroup;Lz5/dk;Ljava/lang/String;II)V

    :cond_f2
    return-void
.end method

.method public static a(Landroid/content/Context;[Lcom/google/android/gms/ads/AdSize;I)Lz5/dk;
    .registers 8

    array-length v0, p1

    const/4 v1, 0x0

    move v2, v1

    :goto_3
    if-ge v2, v0, :cond_17

    aget-object v3, p1, v2

    sget-object v4, Lcom/google/android/gms/ads/AdSize;->INVALID:Lcom/google/android/gms/ads/AdSize;

    invoke-virtual {v3, v4}, Lcom/google/android/gms/ads/AdSize;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_14

    invoke-static {}, Lz5/dk;->i()Lz5/dk;

    move-result-object p0

    return-object p0

    :cond_14
    add-int/lit8 v2, v2, 0x1

    goto :goto_3

    :cond_17
    new-instance v0, Lz5/dk;

    invoke-direct {v0, p0, p1}, Lz5/dk;-><init>(Landroid/content/Context;[Lcom/google/android/gms/ads/AdSize;)V

    const/4 p0, 0x1

    if-ne p2, p0, :cond_20

    move v1, p0

    :cond_20
    iput-boolean v1, v0, Lz5/dk;->A:Z

    return-object v0
.end method


# virtual methods
.method public final b()Lcom/google/android/gms/ads/AdSize;
    .registers 4

    :try_start_0
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d0;->j:Lz5/rl;

    if-eqz v0, :cond_1b

    invoke-interface {v0}, Lz5/rl;->zzu()Lz5/dk;

    move-result-object v0

    if-eqz v0, :cond_1b

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

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

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

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

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

    return-object v0

    :catch_15
    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_1b
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d0;->h:[Lcom/google/android/gms/ads/AdSize;

    if-eqz v0, :cond_23

    const/4 v1, 0x0

    aget-object v0, v0, v1

    return-object v0

    :cond_23
    const/4 v0, 0x0

    return-object v0
.end method

.method public final c()Ljava/lang/String;
    .registers 3

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

    if-nez v0, :cond_15

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d0;->j:Lz5/rl;

    if-eqz v0, :cond_15

    :try_start_8
    invoke-interface {v0}, Lz5/rl;->zzB()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/google/android/gms/internal/ads/d0;->l:Ljava/lang/String;
    :try_end_e
    .catch Landroid/os/RemoteException; {:try_start_8 .. :try_end_e} :catch_f

    goto :goto_15

    :catch_f
    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_15
    :goto_15
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d0;->l:Ljava/lang/String;

    return-object v0
.end method

.method public final d(Lcom/google/android/gms/internal/ads/c0;)V
    .registers 13

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

    :try_start_2
    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d0;->j:Lz5/rl;

    if-nez v1, :cond_ba

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d0;->h:[Lcom/google/android/gms/ads/AdSize;

    if-eqz v1, :cond_b2

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d0;->l:Ljava/lang/String;

    if-eqz v1, :cond_b2

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d0;->m:Landroid/view/ViewGroup;

    invoke-virtual {v1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/google/android/gms/internal/ads/d0;->h:[Lcom/google/android/gms/ads/AdSize;

    iget v3, p0, Lcom/google/android/gms/internal/ads/d0;->n:I

    invoke-static {v1, v2, v3}, Lcom/google/android/gms/internal/ads/d0;->a(Landroid/content/Context;[Lcom/google/android/gms/ads/AdSize;I)Lz5/dk;

    move-result-object v5

    const-string v2, "search_v2"

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

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

    move-result v2

    const/4 v9, 0x0

    if-eqz v2, :cond_37

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

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

    .line 2
    iget-object v3, p0, Lcom/google/android/gms/internal/ads/d0;->l:Ljava/lang/String;

    new-instance v4, Lz5/rk;

    invoke-direct {v4, v2, v1, v5, v3}, Lz5/rk;-><init>(Lz5/uk;Landroid/content/Context;Lz5/dk;Ljava/lang/String;)V

    invoke-virtual {v4, v1, v9}, Lz5/vk;->d(Landroid/content/Context;Z)Ljava/lang/Object;

    move-result-object v1

    goto :goto_4b

    .line 3
    :cond_37
    sget-object v2, Lz5/wk;->f:Lz5/wk;

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

    .line 4
    iget-object v6, p0, Lcom/google/android/gms/internal/ads/d0;->l:Ljava/lang/String;

    iget-object v7, p0, Lcom/google/android/gms/internal/ads/d0;->a:Lz5/lx;

    new-instance v10, Lz5/qk;

    const/4 v8, 0x0

    move-object v2, v10

    move-object v4, v1

    invoke-direct/range {v2 .. v8}, Lz5/qk;-><init>(Lz5/uk;Landroid/content/Context;Lz5/dk;Ljava/lang/String;Lz5/ox;I)V

    invoke-virtual {v10, v1, v9}, Lz5/vk;->d(Landroid/content/Context;Z)Ljava/lang/Object;

    move-result-object v1

    :goto_4b
    check-cast v1, Lz5/rl;

    iput-object v1, p0, Lcom/google/android/gms/internal/ads/d0;->j:Lz5/rl;

    new-instance v2, Lz5/vj;

    iget-object v3, p0, Lcom/google/android/gms/internal/ads/d0;->e:Lz5/hn;

    invoke-direct {v2, v3}, Lz5/vj;-><init>(Lcom/google/android/gms/ads/AdListener;)V

    invoke-interface {v1, v2}, Lz5/rl;->zzo(Lz5/el;)V

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d0;->f:Lz5/oj;

    if-eqz v1, :cond_67

    iget-object v2, p0, Lcom/google/android/gms/internal/ads/d0;->j:Lz5/rl;

    new-instance v3, Lz5/pj;

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

    invoke-interface {v2, v3}, Lz5/rl;->zzF(Lz5/al;)V

    :cond_67
    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d0;->i:Lcom/google/android/gms/ads/admanager/AppEventListener;

    if-eqz v1, :cond_75

    iget-object v2, p0, Lcom/google/android/gms/internal/ads/d0;->j:Lz5/rl;

    new-instance v3, Lz5/xe;

    invoke-direct {v3, v1}, Lz5/xe;-><init>(Lcom/google/android/gms/ads/admanager/AppEventListener;)V

    invoke-interface {v2, v3}, Lz5/rl;->zzp(Lz5/wl;)V

    :cond_75
    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d0;->k:Lcom/google/android/gms/ads/VideoOptions;

    if-eqz v1, :cond_83

    iget-object v2, p0, Lcom/google/android/gms/internal/ads/d0;->j:Lz5/rl;

    new-instance v3, Lz5/eo;

    invoke-direct {v3, v1}, Lz5/eo;-><init>(Lcom/google/android/gms/ads/VideoOptions;)V

    invoke-interface {v2, v3}, Lz5/rl;->zzM(Lz5/eo;)V

    :cond_83
    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d0;->j:Lz5/rl;

    new-instance v2, Lz5/xn;

    iget-object v3, p0, Lcom/google/android/gms/internal/ads/d0;->p:Lcom/google/android/gms/ads/OnPaidEventListener;

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

    invoke-interface {v1, v2}, Lz5/rl;->zzX(Lz5/um;)V

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d0;->j:Lz5/rl;

    iget-boolean v2, p0, Lcom/google/android/gms/internal/ads/d0;->o:Z

    invoke-interface {v1, v2}, Lz5/rl;->zzG(Z)V

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d0;->j:Lz5/rl;
    :try_end_98
    .catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_98} :catch_d8

    if-nez v1, :cond_9b

    goto :goto_ba

    :cond_9b
    :try_start_9b
    invoke-interface {v1}, Lz5/rl;->zzi()Lx5/a;

    move-result-object v1

    if-eqz v1, :cond_ba

    iget-object v2, p0, Lcom/google/android/gms/internal/ads/d0;->m:Landroid/view/ViewGroup;

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

    move-result-object v1

    check-cast v1, Landroid/view/View;

    invoke-virtual {v2, v1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
    :try_end_ac
    .catch Landroid/os/RemoteException; {:try_start_9b .. :try_end_ac} :catch_ad

    goto :goto_ba

    :catch_ad
    move-exception v1

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

    goto :goto_ba

    :cond_b2
    new-instance p1, Ljava/lang/IllegalStateException;

    const-string v1, "The ad size and ad unit ID must be set before loadAd is called."

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

    throw p1

    :cond_ba
    :goto_ba
    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d0;->j:Lz5/rl;
    :try_end_bc
    .catch Landroid/os/RemoteException; {:try_start_ae .. :try_end_bc} :catch_d8

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

    :try_start_bf
    iget-object v2, p0, Lcom/google/android/gms/internal/ads/d0;->b:Lz5/ck;

    iget-object v3, p0, Lcom/google/android/gms/internal/ads/d0;->m:Landroid/view/ViewGroup;

    invoke-virtual {v3}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;

    move-result-object v3

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

    move-result-object v2

    invoke-interface {v1, v2}, Lz5/rl;->zzl(Lz5/zj;)Z

    move-result v1

    if-eqz v1, :cond_d7

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d0;->a:Lz5/lx;

    .line 5
    iget-object p1, p1, Lcom/google/android/gms/internal/ads/c0;->h:Ljava/util/Map;

    .line 6
    iput-object p1, v1, Lz5/lx;->r:Ljava/util/Map;
    :try_end_d7
    .catch Landroid/os/RemoteException; {:try_start_bf .. :try_end_d7} :catch_d8

    :cond_d7
    return-void

    :catch_d8
    move-exception p1

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

    return-void
.end method

.method public final e(Lz5/oj;)V
    .registers 4

    :try_start_0
    iput-object p1, p0, Lcom/google/android/gms/internal/ads/d0;->f:Lz5/oj;

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d0;->j:Lz5/rl;

    if-eqz v0, :cond_12

    if-eqz p1, :cond_e

    new-instance v1, Lz5/pj;

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

    goto :goto_f

    :cond_e
    const/4 v1, 0x0

    :goto_f
    invoke-interface {v0, v1}, Lz5/rl;->zzF(Lz5/al;)V
    :try_end_12
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_12} :catch_13

    :cond_12
    return-void

    :catch_13
    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 varargs f([Lcom/google/android/gms/ads/AdSize;)V
    .registers 5

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/d0;->h:[Lcom/google/android/gms/ads/AdSize;

    :try_start_2
    iget-object p1, p0, Lcom/google/android/gms/internal/ads/d0;->j:Lz5/rl;

    if-eqz p1, :cond_1e

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d0;->m:Landroid/view/ViewGroup;

    invoke-virtual {v0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d0;->h:[Lcom/google/android/gms/ads/AdSize;

    iget v2, p0, Lcom/google/android/gms/internal/ads/d0;->n:I

    invoke-static {v0, v1, v2}, Lcom/google/android/gms/internal/ads/d0;->a(Landroid/content/Context;[Lcom/google/android/gms/ads/AdSize;I)Lz5/dk;

    move-result-object v0

    invoke-interface {p1, v0}, Lz5/rl;->zzv(Lz5/dk;)V
    :try_end_17
    .catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_17} :catch_18

    goto :goto_1e

    :catch_18
    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_1e
    :goto_1e
    iget-object p1, p0, Lcom/google/android/gms/internal/ads/d0;->m:Landroid/view/ViewGroup;

    invoke-virtual {p1}, Landroid/view/ViewGroup;->requestLayout()V

    return-void
.end method

.method public final g(Lcom/google/android/gms/ads/admanager/AppEventListener;)V
    .registers 4

    :try_start_0
    iput-object p1, p0, Lcom/google/android/gms/internal/ads/d0;->i:Lcom/google/android/gms/ads/admanager/AppEventListener;

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d0;->j:Lz5/rl;

    if-eqz v0, :cond_12

    if-eqz p1, :cond_e

    new-instance v1, Lz5/xe;

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

    goto :goto_f

    :cond_e
    const/4 v1, 0x0

    :goto_f
    invoke-interface {v0, v1}, Lz5/rl;->zzp(Lz5/wl;)V
    :try_end_12
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_12} :catch_13

    :cond_12
    return-void

    :catch_13
    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
