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

# interfaces
.implements Lz5/b7;


# instance fields
.field public r:Ljava/lang/Object;

.field public s:Z

.field public t:J

.field public u:J

.field public v:Ljava/lang/Object;


# direct methods
.method public constructor <init>(JI)V
    .registers 7

    const-wide/32 v0, 0x10000

    const/4 v2, 0x2

    if-eq p3, v2, :cond_f

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

    iput-wide p1, p0, Lz5/k7;->t:J

    add-long/2addr p1, v0

    iput-wide p1, p0, Lz5/k7;->u:J

    return-void

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

    iput-wide p1, p0, Lz5/k7;->t:J

    add-long/2addr p1, v0

    iput-wide p1, p0, Lz5/k7;->u:J

    return-void
.end method

.method public constructor <init>(Lz5/p6;)V
    .registers 2

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

    iput-object p1, p0, Lz5/k7;->r:Ljava/lang/Object;

    sget-object p1, Lz5/u3;->d:Lz5/u3;

    iput-object p1, p0, Lz5/k7;->v:Ljava/lang/Object;

    return-void
.end method


# virtual methods
.method public a(J)I
    .registers 6

    iget-wide v0, p0, Lz5/k7;->t:J

    iget-object v2, p0, Lz5/k7;->r:Ljava/lang/Object;

    check-cast v2, Lz5/or1;

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

    sub-long/2addr p1, v0

    long-to-int p1, p1

    return p1
.end method

.method public b()V
    .registers 3

    iget-boolean v0, p0, Lz5/k7;->s:Z

    if-nez v0, :cond_d

    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J

    move-result-wide v0

    iput-wide v0, p0, Lz5/k7;->u:J

    const/4 v0, 0x1

    iput-boolean v0, p0, Lz5/k7;->s:Z

    :cond_d
    return-void
.end method

.method public c(J)V
    .registers 3

    iput-wide p1, p0, Lz5/k7;->t:J

    iget-boolean p1, p0, Lz5/k7;->s:Z

    if-eqz p1, :cond_c

    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J

    move-result-wide p1

    iput-wide p1, p0, Lz5/k7;->u:J

    :cond_c
    return-void
.end method

.method public p(Lz5/u3;)V
    .registers 4

    iget-boolean v0, p0, Lz5/k7;->s:Z

    if-eqz v0, :cond_b

    invoke-virtual {p0}, Lz5/k7;->zzy()J

    move-result-wide v0

    invoke-virtual {p0, v0, v1}, Lz5/k7;->c(J)V

    :cond_b
    iput-object p1, p0, Lz5/k7;->v:Ljava/lang/Object;

    return-void
.end method

.method public zzA()Lz5/u3;
    .registers 2

    iget-object v0, p0, Lz5/k7;->v:Ljava/lang/Object;

    check-cast v0, Lz5/u3;

    return-object v0
.end method

.method public zzy()J
    .registers 8

    iget-wide v0, p0, Lz5/k7;->t:J

    iget-boolean v2, p0, Lz5/k7;->s:Z

    if-eqz v2, :cond_24

    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J

    move-result-wide v2

    iget-wide v4, p0, Lz5/k7;->u:J

    sub-long/2addr v2, v4

    iget-object v4, p0, Lz5/k7;->v:Ljava/lang/Object;

    check-cast v4, Lz5/u3;

    iget v5, v4, Lz5/u3;->a:F

    const/high16 v6, 0x3f800000    # 1.0f

    cmpl-float v5, v5, v6

    if-nez v5, :cond_1f

    invoke-static {v2, v3}, Lz5/v1;->b(J)J

    move-result-wide v2

    add-long/2addr v0, v2

    goto :goto_24

    .line 1
    :cond_1f
    iget v4, v4, Lz5/u3;->c:I

    int-to-long v4, v4

    mul-long/2addr v2, v4

    add-long/2addr v0, v2

    :cond_24
    :goto_24
    return-wide v0
.end method
