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

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field public final synthetic r:I

.field public final s:Lz5/em0;


# direct methods
.method public constructor <init>(Lz5/em0;I)V
    .registers 4

    iput p2, p0, Lz5/cm0;->r:I

    const/4 v0, 0x1

    if-eq p2, v0, :cond_b

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

    iput-object p1, p0, Lz5/cm0;->s:Lz5/em0;

    return-void

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

    iput-object p1, p0, Lz5/cm0;->s:Lz5/em0;

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 7

    iget v0, p0, Lz5/cm0;->r:I

    const/4 v1, 0x0

    packed-switch v0, :pswitch_data_116

    goto/16 :goto_c9

    .line 1
    :pswitch_8
    iget-object v0, p0, Lz5/cm0;->s:Lz5/em0;

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

    .line 2
    :try_start_d
    iget-object v2, v0, Lz5/em0;->j:Lz5/hm0;

    invoke-virtual {v2}, Lz5/hm0;->t()I

    move-result v2
    :try_end_13
    .catch Landroid/os/RemoteException; {:try_start_d .. :try_end_13} :catch_c2

    const-string v3, "Google"

    const/4 v4, 0x1

    if-eq v2, v4, :cond_a9

    const/4 v5, 0x2

    if-eq v2, v5, :cond_90

    const/4 v5, 0x3

    if-eq v2, v5, :cond_57

    const/4 v1, 0x6

    if-eq v2, v1, :cond_3e

    const/4 v1, 0x7

    if-eq v2, v1, :cond_2b

    :try_start_24
    const-string v0, "Wrong native template id!"

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

    goto/16 :goto_c8

    :cond_2b
    iget-object v1, v0, Lz5/em0;->n:Lz5/om0;

    .line 3
    iget-object v1, v1, Lz5/om0;->e:Lz5/dw;

    if-eqz v1, :cond_c8

    .line 4
    iget-object v0, v0, Lz5/em0;->r:Lz5/po1;

    invoke-interface {v0}, Lz5/po1;->zzb()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lz5/zv;

    invoke-interface {v1, v0}, Lz5/dw;->S0(Lz5/zv;)V

    goto/16 :goto_c8

    :cond_3e
    iget-object v1, v0, Lz5/em0;->n:Lz5/om0;

    .line 5
    iget-object v1, v1, Lz5/om0;->c:Lz5/ns;

    if-eqz v1, :cond_c8

    .line 6
    invoke-virtual {v0, v3, v4}, Lz5/em0;->d(Ljava/lang/String;Z)V

    iget-object v1, v0, Lz5/em0;->n:Lz5/om0;

    .line 7
    iget-object v1, v1, Lz5/om0;->c:Lz5/ns;

    .line 8
    iget-object v0, v0, Lz5/em0;->q:Lz5/po1;

    invoke-interface {v0}, Lz5/po1;->zzb()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lz5/ws;

    invoke-interface {v1, v0}, Lz5/ns;->z1(Lz5/ws;)V

    goto :goto_c8

    :cond_57
    iget-object v2, v0, Lz5/em0;->n:Lz5/om0;

    iget-object v5, v0, Lz5/em0;->j:Lz5/hm0;

    invoke-virtual {v5}, Lz5/hm0;->j()Ljava/lang/String;

    move-result-object v5

    .line 9
    iget-object v2, v2, Lz5/om0;->f:Lr/h;

    .line 10
    invoke-virtual {v2, v5, v1}, Lr/h;->getOrDefault(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 11
    check-cast v2, Lz5/gs;

    if-eqz v2, :cond_c8

    .line 12
    iget-object v2, v0, Lz5/em0;->j:Lz5/hm0;

    invoke-virtual {v2}, Lz5/hm0;->k()Lcom/google/android/gms/internal/ads/g2;

    move-result-object v2

    if-eqz v2, :cond_74

    invoke-virtual {v0, v3, v4}, Lz5/em0;->d(Ljava/lang/String;Z)V

    :cond_74
    iget-object v2, v0, Lz5/em0;->n:Lz5/om0;

    iget-object v3, v0, Lz5/em0;->j:Lz5/hm0;

    invoke-virtual {v3}, Lz5/hm0;->j()Ljava/lang/String;

    move-result-object v3

    .line 13
    iget-object v2, v2, Lz5/om0;->f:Lr/h;

    .line 14
    invoke-virtual {v2, v3, v1}, Lr/h;->getOrDefault(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    .line 15
    check-cast v1, Lz5/gs;

    .line 16
    iget-object v0, v0, Lz5/em0;->s:Lz5/po1;

    invoke-interface {v0}, Lz5/po1;->zzb()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lz5/vr;

    invoke-interface {v1, v0}, Lz5/gs;->l1(Lz5/vr;)V

    goto :goto_c8

    :cond_90
    iget-object v1, v0, Lz5/em0;->n:Lz5/om0;

    .line 17
    iget-object v1, v1, Lz5/om0;->b:Lz5/yr;

    if-eqz v1, :cond_c8

    .line 18
    invoke-virtual {v0, v3, v4}, Lz5/em0;->d(Ljava/lang/String;Z)V

    iget-object v1, v0, Lz5/em0;->n:Lz5/om0;

    .line 19
    iget-object v1, v1, Lz5/om0;->b:Lz5/yr;

    .line 20
    iget-object v0, v0, Lz5/em0;->p:Lz5/po1;

    invoke-interface {v0}, Lz5/po1;->zzb()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lz5/qr;

    invoke-interface {v1, v0}, Lz5/yr;->p2(Lz5/qr;)V

    goto :goto_c8

    :cond_a9
    iget-object v1, v0, Lz5/em0;->n:Lz5/om0;

    .line 21
    iget-object v1, v1, Lz5/om0;->a:Lz5/as;

    if-eqz v1, :cond_c8

    .line 22
    invoke-virtual {v0, v3, v4}, Lz5/em0;->d(Ljava/lang/String;Z)V

    iget-object v1, v0, Lz5/em0;->n:Lz5/om0;

    .line 23
    iget-object v1, v1, Lz5/om0;->a:Lz5/as;

    .line 24
    iget-object v0, v0, Lz5/em0;->o:Lz5/po1;

    invoke-interface {v0}, Lz5/po1;->zzb()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lz5/sr;

    invoke-interface {v1, v0}, Lz5/as;->g1(Lz5/sr;)V
    :try_end_c1
    .catch Landroid/os/RemoteException; {:try_start_24 .. :try_end_c1} :catch_c2

    goto :goto_c8

    :catch_c2
    move-exception v0

    const-string v1, "RemoteException when notifyAdLoad is called"

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

    :cond_c8
    :goto_c8
    return-void

    .line 25
    :goto_c9
    iget-object v0, p0, Lz5/cm0;->s:Lz5/em0;

    .line 26
    iget-object v2, v0, Lz5/em0;->k:Lz5/nm0;

    invoke-interface {v2}, Lz5/nm0;->zzA()V

    iget-object v0, v0, Lz5/em0;->j:Lz5/hm0;

    .line 27
    monitor-enter v0

    :try_start_d3
    iget-object v2, v0, Lz5/hm0;->i:Lcom/google/android/gms/internal/ads/g2;

    if-eqz v2, :cond_dc

    invoke-interface {v2}, Lcom/google/android/gms/internal/ads/g2;->destroy()V

    iput-object v1, v0, Lz5/hm0;->i:Lcom/google/android/gms/internal/ads/g2;

    :cond_dc
    iget-object v2, v0, Lz5/hm0;->j:Lcom/google/android/gms/internal/ads/g2;

    if-eqz v2, :cond_e5

    invoke-interface {v2}, Lcom/google/android/gms/internal/ads/g2;->destroy()V

    iput-object v1, v0, Lz5/hm0;->j:Lcom/google/android/gms/internal/ads/g2;

    :cond_e5
    iget-object v2, v0, Lz5/hm0;->k:Lcom/google/android/gms/internal/ads/g2;

    if-eqz v2, :cond_ee

    invoke-interface {v2}, Lcom/google/android/gms/internal/ads/g2;->destroy()V

    iput-object v1, v0, Lz5/hm0;->k:Lcom/google/android/gms/internal/ads/g2;

    :cond_ee
    iput-object v1, v0, Lz5/hm0;->l:Lx5/a;

    iget-object v2, v0, Lz5/hm0;->t:Lr/h;

    invoke-virtual {v2}, Lr/h;->clear()V

    iget-object v2, v0, Lz5/hm0;->u:Lr/h;

    invoke-virtual {v2}, Lr/h;->clear()V

    iput-object v1, v0, Lz5/hm0;->b:Lz5/an;

    iput-object v1, v0, Lz5/hm0;->c:Lz5/tq;

    iput-object v1, v0, Lz5/hm0;->d:Landroid/view/View;

    iput-object v1, v0, Lz5/hm0;->e:Ljava/util/List;

    iput-object v1, v0, Lz5/hm0;->h:Landroid/os/Bundle;

    iput-object v1, v0, Lz5/hm0;->m:Landroid/view/View;

    iput-object v1, v0, Lz5/hm0;->n:Landroid/view/View;

    iput-object v1, v0, Lz5/hm0;->o:Lx5/a;

    iput-object v1, v0, Lz5/hm0;->q:Lz5/br;

    iput-object v1, v0, Lz5/hm0;->r:Lz5/br;

    iput-object v1, v0, Lz5/hm0;->s:Ljava/lang/String;
    :try_end_110
    .catchall {:try_start_d3 .. :try_end_110} :catchall_112

    monitor-exit v0

    return-void

    :catchall_112
    move-exception v1

    monitor-exit v0

    throw v1

    nop

    :pswitch_data_116
    .packed-switch 0x0
        :pswitch_8
    .end packed-switch
.end method
