granularity level: instruction
.class public final Lq/b;
.super Ljava/lang/Object;
.source "SourceFile"
.field public final a:Lt/a;
.field public final b:Ljava/util/Map;
.method public constructor <init>(Lt/a;Ljava/util/Map;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
if-eqz p1, :cond_1
iput-object p1, p0, Lq/b;->a:Lt/a;
if-eqz p2, :cond_0
iput-object p2, p0, Lq/b;->b:Ljava/util/Map;
return-void
:cond_0
new-instance p1, Ljava/lang/NullPointerException;
const-string p2, "Null values"
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw p1
:cond_1
new-instance p1, Ljava/lang/NullPointerException;
const-string p2, "Null clock"
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public final a(Li/c;JI)J
.locals 8
iget-object v0, p0, Lq/b;->a:Lt/a;
check-cast v0, Lt/b;
invoke-virtual {v0}, Lt/b;->a()J
move-result-wide v0
sub-long/2addr p2, v0
iget-object v0, p0, Lq/b;->b:Ljava/util/Map;
invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lq/c;
iget-wide v0, p1, Lq/c;->a:J
add-int/lit8 p4, p4, -0x1
const-wide/16 v2, 0x1
cmp-long v4, v0, v2
if-lez v4, :cond_0
move-wide v2, v0
goto :goto_0
:cond_0
const-wide/16 v2, 0x2
:goto_0
const-wide v4, 0x40c3880000000000L # 10000.0
invoke-static {v4, v5}, Ljava/lang/Math;->log(D)D
move-result-wide v4
int-to-long v6, p4
mul-long v2, v2, v6
long-to-double v2, v2
invoke-static {v2, v3}, Ljava/lang/Math;->log(D)D
move-result-wide v2
div-double/2addr v4, v2
const-wide/high16 v2, 0x3ff0000000000000L # 1.0
invoke-static {v2, v3, v4, v5}, Ljava/lang/Math;->max(DD)D
move-result-wide v2
const-wide/high16 v4, 0x4008000000000000L # 3.0
int-to-double v6, p4
invoke-static {v4, v5, v6, v7}, Ljava/lang/Math;->pow(DD)D
move-result-wide v4
long-to-double v0, v0
mul-double v4, v4, v0
mul-double v4, v4, v2
double-to-long v0, v4
invoke-static {v0, v1, p2, p3}, Ljava/lang/Math;->max(JJ)J
move-result-wide p2
iget-wide v0, p1, Lq/c;->b:J
invoke-static {p2, p3, v0, v1}, Ljava/lang/Math;->min(JJ)J
move-result-wide p1
return-wide p1
.end method
.method public final equals(Ljava/lang/Object;)Z
.locals 4
const/4 v0, 0x1
if-ne p1, p0, :cond_0
return v0
:cond_0
instance-of v1, p1, Lq/b;
const/4 v2, 0x0
if-eqz v1, :cond_2
check-cast p1, Lq/b;
iget-object v1, p0, Lq/b;->a:Lt/a;
iget-object v3, p1, Lq/b;->a:Lt/a;
invoke-virtual {v1, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_1
iget-object v1, p0, Lq/b;->b:Ljava/util/Map;
iget-object p1, p1, Lq/b;->b:Ljava/util/Map;
invoke-interface {v1, p1}, Ljava/util/Map;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_1
goto :goto_0
:cond_1
const/4 v0, 0x0
:goto_0
return v0
:cond_2
return v2
.end method
.method public final hashCode()I
.locals 2
iget-object v0, p0, Lq/b;->a:Lt/a;
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
const v1, 0xf4243
xor-int/2addr v0, v1
mul-int v0, v0, v1
iget-object v1, p0, Lq/b;->b:Ljava/util/Map;
invoke-interface {v1}, Ljava/util/Map;->hashCode()I
move-result v1
xor-int/2addr v0, v1
return v0
.end method
.method public final toString()Ljava/lang/String;
.locals 2
const-string v0, "SchedulerConfig{clock="
invoke-static {v0}, Lc0/b;->b(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Lq/b;->a:Lt/a;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", values="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lq/b;->b:Ljava/util/Map;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, "}"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method