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

# interfaces
.implements Lz5/re;


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

.field public final s:Ljava/lang/Object;

.field public final t:Ljava/lang/String;

.field public u:Z


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

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

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

    move-result-object v0

    if-eqz v0, :cond_d

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

    move-result-object p1

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

    iput-object p2, p0, Lz5/s30;->t:Ljava/lang/String;

    const/4 p1, 0x0

    iput-boolean p1, p0, Lz5/s30;->u:Z

    new-instance p1, Ljava/lang/Object;

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

    iput-object p1, p0, Lz5/s30;->s:Ljava/lang/Object;

    return-void
.end method


# virtual methods
.method public final a(Z)V
    .registers 8

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzA()Lcom/google/android/gms/internal/ads/p1;

    move-result-object v0

    iget-object v1, p0, Lz5/s30;->r:Landroid/content/Context;

    invoke-virtual {v0, v1}, Lcom/google/android/gms/internal/ads/p1;->e(Landroid/content/Context;)Z

    move-result v0

    if-nez v0, :cond_d

    return-void

    :cond_d
    iget-object v0, p0, Lz5/s30;->s:Ljava/lang/Object;

    monitor-enter v0

    :try_start_10
    iget-boolean v1, p0, Lz5/s30;->u:Z

    if-ne v1, p1, :cond_16

    monitor-exit v0

    return-void

    :cond_16
    iput-boolean p1, p0, Lz5/s30;->u:Z

    iget-object p1, p0, Lz5/s30;->t:Ljava/lang/String;

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

    move-result p1

    if-eqz p1, :cond_22

    monitor-exit v0

    return-void

    :cond_22
    iget-boolean p1, p0, Lz5/s30;->u:Z

    const/4 v1, 0x0

    if-eqz p1, :cond_4d

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzA()Lcom/google/android/gms/internal/ads/p1;

    move-result-object p1

    iget-object v2, p0, Lz5/s30;->r:Landroid/content/Context;

    iget-object v3, p0, Lz5/s30;->t:Ljava/lang/String;

    .line 1
    invoke-virtual {p1, v2}, Lcom/google/android/gms/internal/ads/p1;->e(Landroid/content/Context;)Z

    move-result v4

    if-nez v4, :cond_36

    goto :goto_70

    :cond_36
    invoke-static {v2}, Lcom/google/android/gms/internal/ads/p1;->l(Landroid/content/Context;)Z

    move-result v4

    const-string v5, "beginAdUnitExposure"

    if-eqz v4, :cond_49

    new-instance v2, Lz5/t30;

    invoke-direct {v2, v3, v1}, Lz5/t30;-><init>(Ljava/lang/String;I)V

    invoke-virtual {p1, v5, v2}, Lcom/google/android/gms/internal/ads/p1;->d(Ljava/lang/String;Lz5/y30;)V

    goto :goto_70

    :catchall_47
    move-exception p1

    goto :goto_72

    :cond_49
    invoke-virtual {p1, v2, v3, v5}, Lcom/google/android/gms/internal/ads/p1;->o(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_70

    .line 2
    :cond_4d
    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzA()Lcom/google/android/gms/internal/ads/p1;

    move-result-object p1

    iget-object v2, p0, Lz5/s30;->r:Landroid/content/Context;

    iget-object v3, p0, Lz5/s30;->t:Ljava/lang/String;

    .line 3
    invoke-virtual {p1, v2}, Lcom/google/android/gms/internal/ads/p1;->e(Landroid/content/Context;)Z

    move-result v4

    if-nez v4, :cond_5c

    goto :goto_70

    :cond_5c
    invoke-static {v2}, Lcom/google/android/gms/internal/ads/p1;->l(Landroid/content/Context;)Z

    move-result v4

    const-string v5, "endAdUnitExposure"

    if-eqz v4, :cond_6d

    new-instance v2, Lz5/u30;

    invoke-direct {v2, v3, v1}, Lz5/u30;-><init>(Ljava/lang/String;I)V

    invoke-virtual {p1, v5, v2}, Lcom/google/android/gms/internal/ads/p1;->d(Ljava/lang/String;Lz5/y30;)V

    goto :goto_70

    :cond_6d
    invoke-virtual {p1, v2, v3, v5}, Lcom/google/android/gms/internal/ads/p1;->o(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 4
    :goto_70
    monitor-exit v0

    return-void

    :goto_72
    monitor-exit v0
    :try_end_73
    .catchall {:try_start_10 .. :try_end_73} :catchall_47

    throw p1
.end method

.method public final g0(Lz5/qe;)V
    .registers 2

    iget-boolean p1, p1, Lz5/qe;->j:Z

    invoke-virtual {p0, p1}, Lz5/s30;->a(Z)V

    return-void
.end method
