d.smali
.class public Lf/b/b/b/k1/d;
.super Ljava/lang/Object;
.source ""
# interfaces
.implements Lf/b/b/b/k1/t;
# instance fields
.field private final a:J
.field private final b:J
.field private final c:I
.field private final d:J
.field private final e:I
.field private final f:J
# direct methods
.method public constructor <init>(JJII)V
.registers 9
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-wide p1, p0, Lf/b/b/b/k1/d;->a:J
iput-wide p3, p0, Lf/b/b/b/k1/d;->b:J
const/4 v0, -0x1
if-ne p6, v0, :cond_b
const/4 p6, 0x1
:cond_b
iput p6, p0, Lf/b/b/b/k1/d;->c:I
iput p5, p0, Lf/b/b/b/k1/d;->e:I
const-wide/16 v0, -0x1
cmp-long p6, p1, v0
if-nez p6, :cond_1d
iput-wide v0, p0, Lf/b/b/b/k1/d;->d:J
const-wide p1, -0x7fffffffffffffffL # -4.9E-324
goto :goto_25
:cond_1d
sub-long v0, p1, p3
iput-wide v0, p0, Lf/b/b/b/k1/d;->d:J
invoke-static {p1, p2, p3, p4, p5}, Lf/b/b/b/k1/d;->e(JJI)J
move-result-wide p1
:goto_25
iput-wide p1, p0, Lf/b/b/b/k1/d;->f:J
return-void
.end method
.method private c(J)J
.registers 12
iget v0, p0, Lf/b/b/b/k1/d;->e:I
int-to-long v0, v0
mul-long p1, p1, v0
const-wide/32 v0, 0x7a1200
div-long/2addr p1, v0
iget v0, p0, Lf/b/b/b/k1/d;->c:I
int-to-long v1, v0
div-long/2addr p1, v1
int-to-long v1, v0
mul-long v3, p1, v1
iget-wide p1, p0, Lf/b/b/b/k1/d;->d:J
int-to-long v0, v0
sub-long v7, p1, v0
const-wide/16 v5, 0x0
invoke-static/range {v3 .. v8}, Lf/b/b/b/s1/m0;->r(JJJ)J
move-result-wide p1
iget-wide v0, p0, Lf/b/b/b/k1/d;->b:J
add-long/2addr v0, p1
return-wide v0
.end method
.method private static e(JJI)J
.registers 5
sub-long/2addr p0, p2
const-wide/16 p2, 0x0
invoke-static {p2, p3, p0, p1}, Ljava/lang/Math;->max(JJ)J
move-result-wide p0
const-wide/16 p2, 0x8
mul-long p0, p0, p2
const-wide/32 p2, 0xf4240
mul-long p0, p0, p2
int-to-long p2, p4
div-long/2addr p0, p2
return-wide p0
.end method
# virtual methods
.method public d(J)J
.registers 6
iget-wide v0, p0, Lf/b/b/b/k1/d;->b:J
iget v2, p0, Lf/b/b/b/k1/d;->e:I
invoke-static {p1, p2, v0, v1, v2}, Lf/b/b/b/k1/d;->e(JJI)J
move-result-wide p1
return-wide p1
.end method
.method public g(J)Lf/b/b/b/k1/t$a;
.registers 10
iget-wide v0, p0, Lf/b/b/b/k1/d;->d:J
const-wide/16 v2, -0x1
cmp-long v4, v0, v2
if-nez v4, :cond_17
new-instance p1, Lf/b/b/b/k1/t$a;
new-instance p2, Lf/b/b/b/k1/u;
const-wide/16 v0, 0x0
iget-wide v2, p0, Lf/b/b/b/k1/d;->b:J
invoke-direct {p2, v0, v1, v2, v3}, Lf/b/b/b/k1/u;-><init>(JJ)V
invoke-direct {p1, p2}, Lf/b/b/b/k1/t$a;-><init>(Lf/b/b/b/k1/u;)V
return-object p1
:cond_17
invoke-direct {p0, p1, p2}, Lf/b/b/b/k1/d;->c(J)J
move-result-wide v0
invoke-virtual {p0, v0, v1}, Lf/b/b/b/k1/d;->d(J)J
move-result-wide v2
new-instance v4, Lf/b/b/b/k1/u;
invoke-direct {v4, v2, v3, v0, v1}, Lf/b/b/b/k1/u;-><init>(JJ)V
cmp-long v5, v2, p1
if-gez v5, :cond_44
iget p1, p0, Lf/b/b/b/k1/d;->c:I
int-to-long v2, p1
add-long/2addr v2, v0
iget-wide v5, p0, Lf/b/b/b/k1/d;->a:J
cmp-long p2, v2, v5
if-ltz p2, :cond_33
goto :goto_44
:cond_33
int-to-long p1, p1
add-long/2addr v0, p1
invoke-virtual {p0, v0, v1}, Lf/b/b/b/k1/d;->d(J)J
move-result-wide p1
new-instance v2, Lf/b/b/b/k1/u;
invoke-direct {v2, p1, p2, v0, v1}, Lf/b/b/b/k1/u;-><init>(JJ)V
new-instance p1, Lf/b/b/b/k1/t$a;
invoke-direct {p1, v4, v2}, Lf/b/b/b/k1/t$a;-><init>(Lf/b/b/b/k1/u;Lf/b/b/b/k1/u;)V
return-object p1
:cond_44
:goto_44
new-instance p1, Lf/b/b/b/k1/t$a;
invoke-direct {p1, v4}, Lf/b/b/b/k1/t$a;-><init>(Lf/b/b/b/k1/u;)V
return-object p1
.end method
.method public getDurationUs()J
.registers 3
iget-wide v0, p0, Lf/b/b/b/k1/d;->f:J
return-wide v0
.end method
.method public isSeekable()Z
.registers 6
iget-wide v0, p0, Lf/b/b/b/k1/d;->d:J
const-wide/16 v2, -0x1
cmp-long v4, v0, v2
if-eqz v4, :cond_a
const/4 v0, 0x1
goto :goto_b
:cond_a
const/4 v0, 0x0
:goto_b
return v0
.end method