.class public final Lz5/rx0;
.super Landroid/media/AudioTrack$StreamEventCallback;
.source ""


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


# direct methods
.method public constructor <init>(Lz5/yx0;Lz5/ky0;)V
    .registers 3

    iput-object p1, p0, Lz5/rx0;->a:Lz5/yx0;

    invoke-direct {p0}, Landroid/media/AudioTrack$StreamEventCallback;-><init>()V

    return-void
.end method


# virtual methods
.method public final onDataRequest(Landroid/media/AudioTrack;I)V
    .registers 3

    iget-object p2, p0, Lz5/rx0;->a:Lz5/yx0;

    iget-object p2, p2, Lz5/yx0;->c:Lz5/ky0;

    .line 1
    iget-object p2, p2, Lz5/ky0;->n:Landroid/media/AudioTrack;

    if-ne p1, p2, :cond_a

    const/4 p1, 0x1

    goto :goto_b

    :cond_a
    const/4 p1, 0x0

    .line 2
    :goto_b
    invoke-static {p1}, Lcom/google/android/gms/internal/ads/d;->n(Z)V

    iget-object p1, p0, Lz5/rx0;->a:Lz5/yx0;

    iget-object p1, p1, Lz5/yx0;->c:Lz5/ky0;

    .line 3
    iget-object p2, p1, Lz5/ky0;->k:Lz5/fz0;

    if-eqz p2, :cond_23

    .line 4
    iget-boolean p1, p1, Lz5/ky0;->G:Z

    if-eqz p1, :cond_23

    .line 5
    iget-object p1, p2, Lz5/fz0;->a:Lz5/wz0;

    .line 6
    iget-object p1, p1, Lz5/wz0;->Z0:Lz5/d4;

    if-eqz p1, :cond_23

    .line 7
    invoke-interface {p1}, Lz5/d4;->zzb()V

    :cond_23
    return-void
.end method

.method public final onTearDown(Landroid/media/AudioTrack;)V
    .registers 3

    iget-object v0, p0, Lz5/rx0;->a:Lz5/yx0;

    iget-object v0, v0, Lz5/yx0;->c:Lz5/ky0;

    .line 1
    iget-object v0, v0, Lz5/ky0;->n:Landroid/media/AudioTrack;

    if-ne p1, v0, :cond_a

    const/4 p1, 0x1

    goto :goto_b

    :cond_a
    const/4 p1, 0x0

    .line 2
    :goto_b
    invoke-static {p1}, Lcom/google/android/gms/internal/ads/d;->n(Z)V

    iget-object p1, p0, Lz5/rx0;->a:Lz5/yx0;

    iget-object p1, p1, Lz5/yx0;->c:Lz5/ky0;

    .line 3
    iget-object v0, p1, Lz5/ky0;->k:Lz5/fz0;

    if-eqz v0, :cond_23

    .line 4
    iget-boolean p1, p1, Lz5/ky0;->G:Z

    if-eqz p1, :cond_23

    .line 5
    iget-object p1, v0, Lz5/fz0;->a:Lz5/wz0;

    .line 6
    iget-object p1, p1, Lz5/wz0;->Z0:Lz5/d4;

    if-eqz p1, :cond_23

    .line 7
    invoke-interface {p1}, Lz5/d4;->zzb()V

    :cond_23
    return-void
.end method
