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

# interfaces
.implements Lz5/yd;


# instance fields
.field public a:Z

.field public b:J

.field public c:J

.field public d:Lz5/l8;


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

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

    sget-object v0, Lz5/l8;->c:Lz5/l8;

    iput-object v0, p0, Lz5/ae;->d:Lz5/l8;

    return-void
.end method


# virtual methods
.method public final a(Lz5/l8;)Lz5/l8;
    .registers 4

    iget-boolean v0, p0, Lz5/ae;->a:Z

    if-eqz v0, :cond_b

    invoke-virtual {p0}, Lz5/ae;->f()J

    move-result-wide v0

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

    :cond_b
    iput-object p1, p0, Lz5/ae;->d:Lz5/l8;

    return-object p1
.end method

.method public final b(J)V
    .registers 3

    iput-wide p1, p0, Lz5/ae;->b:J

    iget-boolean p1, p0, Lz5/ae;->a:Z

    if-eqz p1, :cond_c

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

    move-result-wide p1

    iput-wide p1, p0, Lz5/ae;->c:J

    :cond_c
    return-void
.end method

.method public final c(Lz5/yd;)V
    .registers 4

    invoke-interface {p1}, Lz5/yd;->f()J

    move-result-wide v0

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

    invoke-interface {p1}, Lz5/yd;->l()Lz5/l8;

    move-result-object p1

    iput-object p1, p0, Lz5/ae;->d:Lz5/l8;

    return-void
.end method

.method public final f()J
    .registers 8

    iget-wide v0, p0, Lz5/ae;->b:J

    iget-boolean v2, p0, Lz5/ae;->a:Z

    if-eqz v2, :cond_22

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

    move-result-wide v2

    iget-wide v4, p0, Lz5/ae;->c:J

    sub-long/2addr v2, v4

    iget-object v4, p0, Lz5/ae;->d:Lz5/l8;

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

    const/high16 v6, 0x3f800000    # 1.0f

    cmpl-float v5, v5, v6

    if-nez v5, :cond_1d

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

    move-result-wide v2

    add-long/2addr v0, v2

    goto :goto_22

    .line 1
    :cond_1d
    iget v4, v4, Lz5/l8;->b:I

    int-to-long v4, v4

    mul-long/2addr v2, v4

    add-long/2addr v0, v2

    :cond_22
    :goto_22
    return-wide v0
.end method

.method public final l()Lz5/l8;
    .registers 2

    const/4 v0, 0x0

    throw v0
.end method
