.class public final Lz5/lo0;
.super Lz5/ur;
.source ""


# instance fields
.field public final r:Landroid/content/Context;

.field public final s:Lz5/hm0;

.field public t:Lz5/um0;

.field public u:Lz5/em0;


# direct methods
.method public constructor <init>(Landroid/content/Context;Lz5/hm0;Lz5/um0;Lz5/em0;)V
    .registers 5

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

    iput-object p1, p0, Lz5/lo0;->r:Landroid/content/Context;

    iput-object p2, p0, Lz5/lo0;->s:Lz5/hm0;

    iput-object p3, p0, Lz5/lo0;->t:Lz5/um0;

    iput-object p4, p0, Lz5/lo0;->u:Lz5/em0;

    return-void
.end method


# virtual methods
.method public final G(Lx5/a;)V
    .registers 3

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

    move-result-object p1

    instance-of v0, p1, Landroid/view/View;

    if-nez v0, :cond_9

    return-void

    :cond_9
    iget-object v0, p0, Lz5/lo0;->s:Lz5/hm0;

    invoke-virtual {v0}, Lz5/hm0;->m()Lx5/a;

    move-result-object v0

    if-nez v0, :cond_12

    return-void

    :cond_12
    iget-object v0, p0, Lz5/lo0;->u:Lz5/em0;

    if-eqz v0, :cond_1b

    check-cast p1, Landroid/view/View;

    invoke-virtual {v0, p1}, Lz5/em0;->e(Landroid/view/View;)V

    :cond_1b
    return-void
.end method

.method public final a(Ljava/lang/String;)Lz5/br;
    .registers 4

    iget-object v0, p0, Lz5/lo0;->s:Lz5/hm0;

    .line 1
    monitor-enter v0

    :try_start_3
    iget-object v1, v0, Lz5/hm0;->t:Lr/h;
    :try_end_5
    .catchall {:try_start_3 .. :try_end_5} :catchall_e

    monitor-exit v0

    const/4 v0, 0x0

    .line 2
    invoke-virtual {v1, p1, v0}, Lr/h;->getOrDefault(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    .line 3
    check-cast p1, Lz5/br;

    return-object p1

    :catchall_e
    move-exception p1

    .line 4
    monitor-exit v0

    throw p1
.end method

.method public final zze(Ljava/lang/String;)Ljava/lang/String;
    .registers 4

    iget-object v0, p0, Lz5/lo0;->s:Lz5/hm0;

    .line 1
    monitor-enter v0

    :try_start_3
    iget-object v1, v0, Lz5/hm0;->u:Lr/h;
    :try_end_5
    .catchall {:try_start_3 .. :try_end_5} :catchall_e

    monitor-exit v0

    const/4 v0, 0x0

    .line 2
    invoke-virtual {v1, p1, v0}, Lr/h;->getOrDefault(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    .line 3
    check-cast p1, Ljava/lang/String;

    return-object p1

    :catchall_e
    move-exception p1

    .line 4
    monitor-exit v0

    throw p1
.end method

.method public final zzg()Ljava/util/List;
    .registers 8
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    iget-object v0, p0, Lz5/lo0;->s:Lz5/hm0;

    .line 1
    monitor-enter v0

    :try_start_3
    iget-object v1, v0, Lz5/hm0;->t:Lr/h;
    :try_end_5
    .catchall {:try_start_3 .. :try_end_5} :catchall_40

    monitor-exit v0

    .line 2
    iget-object v0, p0, Lz5/lo0;->s:Lz5/hm0;

    .line 3
    monitor-enter v0

    :try_start_9
    iget-object v2, v0, Lz5/hm0;->u:Lr/h;
    :try_end_b
    .catchall {:try_start_9 .. :try_end_b} :catchall_3d

    monitor-exit v0

    .line 4
    iget v0, v1, Lr/h;->t:I

    iget v3, v2, Lr/h;->t:I

    add-int/2addr v0, v3

    .line 5
    new-array v0, v0, [Ljava/lang/String;

    const/4 v3, 0x0

    move v4, v3

    move v5, v4

    .line 6
    :goto_16
    iget v6, v1, Lr/h;->t:I

    if-ge v4, v6, :cond_27

    .line 7
    invoke-virtual {v1, v4}, Lr/h;->h(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Ljava/lang/String;

    aput-object v6, v0, v5

    add-int/lit8 v4, v4, 0x1

    add-int/lit8 v5, v5, 0x1

    goto :goto_16

    .line 8
    :cond_27
    :goto_27
    iget v1, v2, Lr/h;->t:I

    if-ge v3, v1, :cond_38

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

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    aput-object v1, v0, v5

    add-int/lit8 v3, v3, 0x1

    add-int/lit8 v5, v5, 0x1

    goto :goto_27

    :cond_38
    invoke-static {v0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;

    move-result-object v0

    return-object v0

    :catchall_3d
    move-exception v1

    .line 10
    monitor-exit v0

    throw v1

    :catchall_40
    move-exception v1

    .line 11
    monitor-exit v0

    throw v1
.end method

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

    iget-object v0, p0, Lz5/lo0;->s:Lz5/hm0;

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

    move-result-object v0

    return-object v0
.end method

.method public final zzi(Ljava/lang/String;)V
    .registers 4

    iget-object v0, p0, Lz5/lo0;->u:Lz5/em0;

    if-eqz v0, :cond_f

    .line 1
    monitor-enter v0

    :try_start_5
    iget-object v1, v0, Lz5/em0;->k:Lz5/nm0;

    invoke-interface {v1, p1}, Lz5/nm0;->r(Ljava/lang/String;)V
    :try_end_a
    .catchall {:try_start_5 .. :try_end_a} :catchall_c

    monitor-exit v0

    return-void

    :catchall_c
    move-exception p1

    monitor-exit v0

    throw p1

    :cond_f
    return-void
.end method

.method public final zzj()V
    .registers 3

    iget-object v0, p0, Lz5/lo0;->u:Lz5/em0;

    if-eqz v0, :cond_15

    .line 1
    monitor-enter v0

    :try_start_5
    iget-boolean v1, v0, Lz5/em0;->v:Z
    :try_end_7
    .catchall {:try_start_5 .. :try_end_7} :catchall_12

    if-eqz v1, :cond_b

    :goto_9
    monitor-exit v0

    goto :goto_11

    :cond_b
    :try_start_b
    iget-object v1, v0, Lz5/em0;->k:Lz5/nm0;

    invoke-interface {v1}, Lz5/nm0;->zzq()V
    :try_end_10
    .catchall {:try_start_b .. :try_end_10} :catchall_12

    goto :goto_9

    :goto_11
    return-void

    :catchall_12
    move-exception v1

    monitor-exit v0

    throw v1

    :cond_15
    return-void
.end method

.method public final zzk()Lz5/an;
    .registers 2

    iget-object v0, p0, Lz5/lo0;->s:Lz5/hm0;

    invoke-virtual {v0}, Lz5/hm0;->u()Lz5/an;

    move-result-object v0

    return-object v0
.end method

.method public final zzl()V
    .registers 2

    iget-object v0, p0, Lz5/lo0;->u:Lz5/em0;

    if-eqz v0, :cond_7

    invoke-virtual {v0}, Lz5/em0;->b()V

    :cond_7
    const/4 v0, 0x0

    iput-object v0, p0, Lz5/lo0;->u:Lz5/em0;

    iput-object v0, p0, Lz5/lo0;->t:Lz5/um0;

    return-void
.end method

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

    iget-object v0, p0, Lz5/lo0;->r:Landroid/content/Context;

    .line 1
    new-instance v1, Lx5/b;

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

    return-object v1
.end method

.method public final zzn(Lx5/a;)Z
    .registers 5

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

    move-result-object p1

    instance-of v0, p1, Landroid/view/ViewGroup;

    const/4 v1, 0x0

    if-nez v0, :cond_a

    return v1

    :cond_a
    iget-object v0, p0, Lz5/lo0;->t:Lz5/um0;

    if-eqz v0, :cond_26

    check-cast p1, Landroid/view/ViewGroup;

    const/4 v2, 0x1

    .line 1
    invoke-virtual {v0, p1, v2}, Lz5/um0;->c(Landroid/view/ViewGroup;Z)Z

    move-result p1

    if-eqz p1, :cond_26

    .line 2
    iget-object p1, p0, Lz5/lo0;->s:Lz5/hm0;

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

    move-result-object p1

    new-instance v0, Lz5/bd0;

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

    invoke-interface {p1, v0}, Lcom/google/android/gms/internal/ads/g2;->r0(Lz5/nq;)V

    return v2

    :cond_26
    return v1
.end method

.method public final zzo()Z
    .registers 3

    iget-object v0, p0, Lz5/lo0;->u:Lz5/em0;

    const/4 v1, 0x0

    if-eqz v0, :cond_f

    .line 1
    iget-object v0, v0, Lz5/em0;->m:Lz5/mm0;

    invoke-virtual {v0}, Lz5/mm0;->c()Z

    move-result v0

    if-eqz v0, :cond_e

    goto :goto_f

    :cond_e
    return v1

    .line 2
    :cond_f
    :goto_f
    iget-object v0, p0, Lz5/lo0;->s:Lz5/hm0;

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

    move-result-object v0

    if-nez v0, :cond_18

    return v1

    :cond_18
    iget-object v0, p0, Lz5/lo0;->s:Lz5/hm0;

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

    move-result-object v0

    if-eqz v0, :cond_21

    return v1

    :cond_21
    const/4 v0, 0x1

    return v0
.end method

.method public final zzp()Z
    .registers 4

    iget-object v0, p0, Lz5/lo0;->s:Lz5/hm0;

    invoke-virtual {v0}, Lz5/hm0;->m()Lx5/a;

    move-result-object v0

    if-eqz v0, :cond_29

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzr()Lz5/i00;

    move-result-object v1

    invoke-interface {v1, v0}, Lz5/i00;->zzf(Lx5/a;)V

    iget-object v0, p0, Lz5/lo0;->s:Lz5/hm0;

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

    move-result-object v0

    if-eqz v0, :cond_27

    iget-object v0, p0, Lz5/lo0;->s:Lz5/hm0;

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

    move-result-object v0

    new-instance v1, Lr/a;

    invoke-direct {v1}, Lr/a;-><init>()V

    const-string v2, "onSdkLoaded"

    invoke-interface {v0, v2, v1}, Lz5/fw;->e(Ljava/lang/String;Ljava/util/Map;)V

    :cond_27
    const/4 v0, 0x1

    return v0

    :cond_29
    const-string v0, "Trying to start OMID session before creation."

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

    const/4 v0, 0x0

    return v0
.end method

.method public final zzr()V
    .registers 4

    iget-object v0, p0, Lz5/lo0;->s:Lz5/hm0;

    .line 1
    monitor-enter v0

    :try_start_3
    iget-object v1, v0, Lz5/hm0;->w:Ljava/lang/String;
    :try_end_5
    .catchall {:try_start_3 .. :try_end_5} :catchall_29

    monitor-exit v0

    const-string v0, "Google"

    .line 2
    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_14

    const-string v0, "Illegal argument specified for omid partner name."

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

    return-void

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

    move-result v0

    if-eqz v0, :cond_20

    const-string v0, "Not starting OMID session. OM partner name has not been configured."

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

    return-void

    :cond_20
    iget-object v0, p0, Lz5/lo0;->u:Lz5/em0;

    if-eqz v0, :cond_28

    const/4 v2, 0x0

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

    :cond_28
    return-void

    :catchall_29
    move-exception v1

    .line 3
    monitor-exit v0

    throw v1
.end method
