apkfuckery/com.discord/smali/kotlin/ranges/f.smali

142 lines
2.7 KiB
Smali
Raw Normal View History

2019-07-31 00:08:31 +00:00
.class public Lkotlin/ranges/f;
.super Lkotlin/ranges/e;
.source "_Ranges.kt"
# direct methods
2019-10-01 14:15:45 +00:00
.method public static final W(II)Lkotlin/ranges/IntProgression;
2019-07-31 00:08:31 +00:00
.locals 1
2019-10-03 02:31:26 +00:00
sget-object v0, Lkotlin/ranges/IntProgression;->bnF:Lkotlin/ranges/IntProgression$a;
2019-07-31 00:08:31 +00:00
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
2019-10-01 14:15:45 +00:00
.method public static final X(II)Lkotlin/ranges/IntRange;
2019-07-31 00:08:31 +00:00
.locals 1
const/high16 v0, -0x80000000
if-gt p1, v0, :cond_0
2019-10-03 02:31:26 +00:00
sget-object p0, Lkotlin/ranges/IntRange;->bnJ:Lkotlin/ranges/IntRange$a;
2019-07-31 00:08:31 +00:00
2019-10-03 02:31:26 +00:00
invoke-static {}, Lkotlin/ranges/IntRange;->EA()Lkotlin/ranges/IntRange;
2019-07-31 00:08:31 +00:00
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
2019-10-01 14:15:45 +00:00
.method public static final Y(II)I
2019-07-31 00:08:31 +00:00
.locals 0
if-ge p0, p1, :cond_0
return p1
:cond_0
return p0
.end method
2019-10-01 14:15:45 +00:00
.method public static final Z(II)I
2019-07-31 00:08:31 +00:00
.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