141 lines
2.7 KiB
Smali
141 lines
2.7 KiB
Smali
.class public Lkotlin/ranges/e;
|
|
.super Lkotlin/ranges/d;
|
|
.source "_Ranges.kt"
|
|
|
|
|
|
# direct methods
|
|
.method public static final Z(II)Lkotlin/ranges/IntProgression;
|
|
.locals 1
|
|
|
|
sget-object v0, Lkotlin/ranges/IntProgression;->bfT:Lkotlin/ranges/IntProgression$a;
|
|
|
|
const/4 v0, -0x1
|
|
|
|
invoke-static {p0, p1, v0}, Lkotlin/ranges/IntProgression$a;->l(III)Lkotlin/ranges/IntProgression;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final aa(II)Lkotlin/ranges/IntRange;
|
|
.locals 1
|
|
|
|
const/high16 v0, -0x80000000
|
|
|
|
if-gt p1, v0, :cond_0
|
|
|
|
sget-object p0, Lkotlin/ranges/IntRange;->bfX:Lkotlin/ranges/IntRange$a;
|
|
|
|
invoke-static {}, Lkotlin/ranges/IntRange;->zN()Lkotlin/ranges/IntRange;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
new-instance v0, Lkotlin/ranges/IntRange;
|
|
|
|
add-int/lit8 p1, p1, -0x1
|
|
|
|
invoke-direct {v0, p0, p1}, Lkotlin/ranges/IntRange;-><init>(II)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final ab(II)I
|
|
.locals 0
|
|
|
|
if-ge p0, p1, :cond_0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final ac(II)I
|
|
.locals 0
|
|
|
|
if-le p0, p1, :cond_0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final f(JJ)J
|
|
.locals 1
|
|
|
|
cmp-long v0, p0, p2
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
return-wide p2
|
|
|
|
:cond_0
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final g(JJ)J
|
|
.locals 1
|
|
|
|
cmp-long v0, p0, p2
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
return-wide p2
|
|
|
|
:cond_0
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final m(III)I
|
|
.locals 2
|
|
|
|
if-gt p1, p2, :cond_2
|
|
|
|
if-ge p0, p1, :cond_0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
if-le p0, p2, :cond_1
|
|
|
|
return p2
|
|
|
|
:cond_1
|
|
return p0
|
|
|
|
:cond_2
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "Cannot coerce value to an empty range: maximum "
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string p2, " is less than minimum "
|
|
|
|
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const/16 p1, 0x2e
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
check-cast p0, Ljava/lang/Throwable;
|
|
|
|
throw p0
|
|
.end method
|