.class public final Lz5/th0;
.super Lcom/google/android/gms/internal/ads/v2;
.source ""

# interfaces
.implements Lz5/pg0;
.implements Lz5/mh0;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/google/android/gms/internal/ads/v2<",
        "Lcom/google/android/gms/internal/ads/s2;",
        ">;",
        "Lz5/pg0;",
        "Lz5/mh0;"
    }
.end annotation


# instance fields
.field public final s:Lz5/b31;

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


# direct methods
.method public constructor <init>(Ljava/util/Set;Lz5/b31;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Set<",
            "Lz5/dk0<",
            "Lcom/google/android/gms/internal/ads/s2;",
            ">;>;",
            "Lz5/b31;",
            ")V"
        }
    .end annotation

    invoke-direct {p0, p1}, Lcom/google/android/gms/internal/ads/v2;-><init>(Ljava/util/Set;)V

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

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

    iput-object p1, p0, Lz5/th0;->t:Ljava/util/concurrent/atomic/AtomicBoolean;

    iput-object p2, p0, Lz5/th0;->s:Lz5/b31;

    return-void
.end method


# virtual methods
.method public final l()V
    .registers 3

    iget-object v0, p0, Lz5/th0;->s:Lz5/b31;

    iget v0, v0, Lz5/b31;->b:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_a

    invoke-virtual {p0}, Lz5/th0;->zzb()V

    :cond_a
    return-void
.end method

.method public final zzb()V
    .registers 4

    sget-object v0, Lz5/so;->W4:Lz5/no;

    .line 1
    sget-object v1, Lz5/xk;->d:Lz5/xk;

    iget-object v1, v1, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 2
    invoke-virtual {v1, v0}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_2f

    iget-object v0, p0, Lz5/th0;->t:Ljava/util/concurrent/atomic/AtomicBoolean;

    const/4 v1, 0x0

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z

    move-result v0

    if-eqz v0, :cond_2f

    iget-object v0, p0, Lz5/th0;->s:Lz5/b31;

    iget-object v0, v0, Lz5/b31;->b0:Lcom/google/android/gms/internal/ads/a0;

    if-eqz v0, :cond_2f

    iget v0, v0, Lcom/google/android/gms/internal/ads/a0;->r:I

    const/4 v1, 0x3

    if-ne v0, v1, :cond_2f

    new-instance v0, Lz5/bd0;

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

    invoke-virtual {p0, v0}, Lcom/google/android/gms/internal/ads/v2;->u0(Lz5/fj0;)V

    :cond_2f
    return-void
.end method

.method public final zzg()V
    .registers 3

    iget-object v0, p0, Lz5/th0;->s:Lz5/b31;

    iget v0, v0, Lz5/b31;->b:I

    const/4 v1, 0x2

    if-eq v0, v1, :cond_15

    const/4 v1, 0x5

    if-eq v0, v1, :cond_15

    const/4 v1, 0x4

    if-eq v0, v1, :cond_15

    const/4 v1, 0x6

    if-eq v0, v1, :cond_15

    const/4 v1, 0x7

    if-ne v0, v1, :cond_14

    goto :goto_15

    :cond_14
    return-void

    :cond_15
    :goto_15
    invoke-virtual {p0}, Lz5/th0;->zzb()V

    return-void
.end method
