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

142 lines
2.7 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public Lkotlin/ranges/e;
.super Lkotlin/ranges/d;
2019-02-04 20:29:01 +00:00
.source "_Ranges.kt"
2019-02-04 20:08:30 +00:00
# direct methods
2019-05-03 18:53:54 +00:00
.method public static final Z(II)Lkotlin/ranges/IntProgression;
2019-02-04 20:08:30 +00:00
.locals 1
2019-05-03 18:53:54 +00:00
sget-object v0, Lkotlin/ranges/IntProgression;->bfT:Lkotlin/ranges/IntProgression$a;
2019-02-04 20:08:30 +00:00
const/4 v0, -0x1
2019-02-04 20:32:01 +00:00
invoke-static {p0, p1, v0}, Lkotlin/ranges/IntProgression$a;->l(III)Lkotlin/ranges/IntProgression;
2019-02-04 20:08:30 +00:00
move-result-object p0
return-object p0
.end method
2019-05-03 18:53:54 +00:00
.method public static final aa(II)Lkotlin/ranges/IntRange;
2019-02-04 20:08:30 +00:00
.locals 1
const/high16 v0, -0x80000000
if-gt p1, v0, :cond_0
2019-05-03 18:53:54 +00:00
sget-object p0, Lkotlin/ranges/IntRange;->bfX:Lkotlin/ranges/IntRange$a;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-static {}, Lkotlin/ranges/IntRange;->zN()Lkotlin/ranges/IntRange;
2019-02-04 20:08:30 +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-05-03 18:53:54 +00:00
.method public static final ab(II)I
2019-02-04 20:08:30 +00:00
.locals 0
if-ge p0, p1, :cond_0
return p1
:cond_0
return p0
.end method
2019-05-03 18:53:54 +00:00
.method public static final ac(II)I
2019-02-04 20:08:30 +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
2019-02-04 20:32:01 +00:00
.method public static final m(III)I
2019-02-04 20:08:30 +00:00
.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