Changes of com.discord v1045

This commit is contained in:
root 2020-02-29 07:28:25 +01:00
parent 78c1decc81
commit 8a89d6a871
86 changed files with 1530 additions and 930 deletions

View file

@ -1111,7 +1111,7 @@
move-result v1
invoke-static {v0, v1}, Lw/x/c;->until(II)Lkotlin/ranges/IntRange;
invoke-static {v0, v1}, Lw/x/f;->until(II)Lkotlin/ranges/IntRange;
move-result-object v0

View file

@ -1075,13 +1075,13 @@
const/4 v7, 0x0
invoke-static {v7, v3}, Lw/x/c;->until(II)Lkotlin/ranges/IntRange;
invoke-static {v7, v3}, Lw/x/f;->until(II)Lkotlin/ranges/IntRange;
move-result-object v3
const/4 v7, 0x6
invoke-static {v3, v7}, Lw/x/c;->step(Lkotlin/ranges/IntProgression;I)Lkotlin/ranges/IntProgression;
invoke-static {v3, v7}, Lw/x/f;->step(Lkotlin/ranges/IntProgression;I)Lkotlin/ranges/IntProgression;
move-result-object v3

View file

@ -1111,13 +1111,13 @@
move-result v1
invoke-static {v0, v1}, Lw/x/c;->until(II)Lkotlin/ranges/IntRange;
invoke-static {v0, v1}, Lw/x/f;->until(II)Lkotlin/ranges/IntRange;
move-result-object v0
const/4 v1, 0x2
invoke-static {v0, v1}, Lw/x/c;->step(Lkotlin/ranges/IntProgression;I)Lkotlin/ranges/IntProgression;
invoke-static {v0, v1}, Lw/x/f;->step(Lkotlin/ranges/IntProgression;I)Lkotlin/ranges/IntProgression;
move-result-object v0

View file

@ -660,7 +660,7 @@
move-result p3
invoke-static {v0, p3}, Lw/x/c;->until(II)Lkotlin/ranges/IntRange;
invoke-static {v0, p3}, Lw/x/f;->until(II)Lkotlin/ranges/IntRange;
move-result-object p3

View file

@ -1868,28 +1868,42 @@
return-wide p0
.end method
.method public static a(JJJ)J
.method public static final a(JJ)J
.locals 3
xor-long/2addr p0, p2
rem-long/2addr p0, p2
mul-long p0, p0, p4
const-wide/16 v0, 0x0
const/16 v0, 0x2f
cmp-long v2, p0, v0
ushr-long v1, p0, v0
if-ltz v2, :cond_0
xor-long/2addr p0, v1
goto :goto_0
xor-long/2addr p0, p2
:cond_0
add-long/2addr p0, p2
mul-long p0, p0, p4
:goto_0
return-wide p0
.end method
ushr-long p2, p0, v0
.method public static final a(JJJ)J
.locals 0
xor-long/2addr p0, p2
invoke-static {p0, p1, p4, p5}, Le/k/a/c/e/p/g;->a(JJ)J
mul-long p0, p0, p4
move-result-wide p0
invoke-static {p2, p3, p4, p5}, Le/k/a/c/e/p/g;->a(JJ)J
move-result-wide p2
sub-long/2addr p0, p2
invoke-static {p0, p1, p4, p5}, Le/k/a/c/e/p/g;->a(JJ)J
move-result-wide p0
return-wide p0
.end method
@ -1975,7 +1989,7 @@
move-wide v4, v0
invoke-static/range {v4 .. v9}, Le/k/a/c/e/p/g;->a(JJJ)J
invoke-static/range {v4 .. v9}, Le/k/a/c/e/p/g;->b(JJJ)J
move-result-wide v0
@ -2026,7 +2040,7 @@
move-wide v7, v1
invoke-static/range {v3 .. v8}, Le/k/a/c/e/p/g;->a(JJJ)J
invoke-static/range {v3 .. v8}, Le/k/a/c/e/p/g;->b(JJJ)J
move-result-wide v0
@ -2149,7 +2163,7 @@
move-wide v15, v0
invoke-static/range {v15 .. v20}, Le/k/a/c/e/p/g;->a(JJJ)J
invoke-static/range {v15 .. v20}, Le/k/a/c/e/p/g;->b(JJJ)J
move-result-wide v0
@ -2226,7 +2240,7 @@
move-wide/from16 v19, v1
invoke-static/range {v15 .. v20}, Le/k/a/c/e/p/g;->a(JJJ)J
invoke-static/range {v15 .. v20}, Le/k/a/c/e/p/g;->b(JJJ)J
move-result-wide v8
@ -2294,7 +2308,7 @@
move-wide v15, v3
invoke-static/range {v15 .. v20}, Le/k/a/c/e/p/g;->a(JJJ)J
invoke-static/range {v15 .. v20}, Le/k/a/c/e/p/g;->b(JJJ)J
move-result-wide v0
@ -2614,7 +2628,7 @@
move-wide/from16 v8, v23
invoke-static/range {v4 .. v9}, Le/k/a/c/e/p/g;->a(JJJ)J
invoke-static/range {v4 .. v9}, Le/k/a/c/e/p/g;->b(JJJ)J
move-result-wide v0
@ -2636,7 +2650,7 @@
aget-wide v6, v13, v17
invoke-static/range {v4 .. v9}, Le/k/a/c/e/p/g;->a(JJJ)J
invoke-static/range {v4 .. v9}, Le/k/a/c/e/p/g;->b(JJJ)J
move-result-wide v2
@ -2644,7 +2658,7 @@
move-wide v4, v0
invoke-static/range {v4 .. v9}, Le/k/a/c/e/p/g;->a(JJJ)J
invoke-static/range {v4 .. v9}, Le/k/a/c/e/p/g;->b(JJJ)J
move-result-wide v0
@ -12970,6 +12984,32 @@
return p1
.end method
.method public static b(JJJ)J
.locals 3
xor-long/2addr p0, p2
mul-long p0, p0, p4
const/16 v0, 0x2f
ushr-long v1, p0, v0
xor-long/2addr p0, v1
xor-long/2addr p0, p2
mul-long p0, p0, p4
ushr-long p2, p0, v0
xor-long/2addr p0, p2
mul-long p0, p0, p4
return-wide p0
.end method
.method public static b(Lcom/google/android/gms/tasks/Task;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;

View file

@ -0,0 +1,36 @@
.class public final Lo;
.super Ljava/lang/Object;
.source "WidgetFriendsAddUserRequestsModel.kt"
# interfaces
.implements Lrx/functions/Func2;
# instance fields
.field public final synthetic d:Lkotlin/jvm/functions/Function2;
# direct methods
.method public constructor <init>(Lkotlin/jvm/functions/Function2;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lo;->d:Lkotlin/jvm/functions/Function2;
return-void
.end method
# virtual methods
.method public final synthetic call(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
iget-object v0, p0, Lo;->d:Lkotlin/jvm/functions/Function2;
invoke-interface {v0, p1, p2}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method

View file

@ -36,11 +36,11 @@
const/4 v2, 0x0
invoke-static {v0, v2}, Lw/x/c;->downTo(II)Lkotlin/ranges/IntProgression;
invoke-static {v0, v2}, Lw/x/f;->downTo(II)Lkotlin/ranges/IntProgression;
move-result-object v0
invoke-static {v0, v1}, Lw/x/c;->step(Lkotlin/ranges/IntProgression;I)Lkotlin/ranges/IntProgression;
invoke-static {v0, v1}, Lw/x/f;->step(Lkotlin/ranges/IntProgression;I)Lkotlin/ranges/IntProgression;
move-result-object v0
@ -196,11 +196,11 @@
:cond_4
array-length v1, p1
invoke-static {v4, v1}, Lw/x/c;->until(II)Lkotlin/ranges/IntRange;
invoke-static {v4, v1}, Lw/x/f;->until(II)Lkotlin/ranges/IntRange;
move-result-object v1
invoke-static {v1, v2}, Lw/x/c;->step(Lkotlin/ranges/IntProgression;I)Lkotlin/ranges/IntProgression;
invoke-static {v1, v2}, Lw/x/f;->step(Lkotlin/ranges/IntProgression;I)Lkotlin/ranges/IntProgression;
move-result-object v1

View file

@ -69,7 +69,7 @@
move-result p1
invoke-static {v0, v1, p1}, Lw/x/c;->coerceIn(III)I
invoke-static {v0, v1, p1}, Lw/x/f;->coerceIn(III)I
move-result p1
@ -220,7 +220,7 @@
iget v4, p0, Lw/a0/b$a;->e:I
invoke-static {v4, v2}, Lw/x/c;->until(II)Lkotlin/ranges/IntRange;
invoke-static {v4, v2}, Lw/x/f;->until(II)Lkotlin/ranges/IntRange;
move-result-object v4

View file

@ -79,7 +79,7 @@
move-result v1
invoke-static {v2, v1}, Lw/x/c;->until(II)Lkotlin/ranges/IntRange;
invoke-static {v2, v1}, Lw/x/f;->until(II)Lkotlin/ranges/IntRange;
move-result-object v1

View file

@ -110,7 +110,7 @@
move-result v0
invoke-static {v1, v0}, Lw/x/c;->until(II)Lkotlin/ranges/IntRange;
invoke-static {v1, v0}, Lw/x/f;->until(II)Lkotlin/ranges/IntRange;
move-result-object v0

View file

@ -54,7 +54,7 @@
const/4 p3, 0x0
:cond_4
invoke-static {p2, p3}, Lw/x/c;->downTo(II)Lkotlin/ranges/IntProgression;
invoke-static {p2, p3}, Lw/x/f;->downTo(II)Lkotlin/ranges/IntProgression;
move-result-object p5

View file

@ -1,209 +1,148 @@
.class public final Lw/x/c;
.super Lw/x/d;
.class public Lw/x/c;
.super Ljava/lang/Object;
.source "Progressions.kt"
# interfaces
.implements Ljava/lang/Iterable;
.implements Lw/u/b/z/a;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/lang/Iterable<",
"Ljava/lang/Long;",
">;",
"Lw/u/b/z/a;"
}
.end annotation
# instance fields
.field public final d:J
.field public final e:J
.field public final f:J
# direct methods
.method public static final coerceAtLeast(II)I
.locals 0
.method public constructor <init>(JJJ)V
.locals 7
if-ge p0, p1, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
move p0, p1
const-wide/16 v0, 0x0
:cond_0
return p0
.end method
cmp-long v2, p5, v0
.method public static final coerceAtMost(JJ)J
.locals 1
if-eqz v2, :cond_5
cmp-long v0, p0, p2
const-wide/high16 v0, -0x8000000000000000L
if-lez v0, :cond_0
cmp-long v3, p5, v0
move-wide p0, p2
if-eqz v3, :cond_4
:cond_0
return-wide p0
.end method
iput-wide p1, p0, Lw/x/c;->d:J
.method public static final coerceIn(III)I
.locals 2
if-lez v2, :cond_1
if-gt p1, p2, :cond_2
cmp-long v0, p1, p3
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;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "Cannot coerce value to an empty range: maximum "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
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
throw p0
.end method
.method public static final downTo(II)Lkotlin/ranges/IntProgression;
.locals 2
sget-object v0, Lkotlin/ranges/IntProgression;->g:Lkotlin/ranges/IntProgression$a;
const/4 v1, -0x1
invoke-virtual {v0, p0, p1, v1}, Lkotlin/ranges/IntProgression$a;->fromClosedRange(III)Lkotlin/ranges/IntProgression;
move-result-object p0
return-object p0
.end method
.method public static final step(Lkotlin/ranges/IntProgression;I)Lkotlin/ranges/IntProgression;
.locals 3
const/4 v0, 0x0
if-eqz p0, :cond_4
if-lez p1, :cond_0
const/4 v1, 0x1
if-ltz v0, :cond_0
goto :goto_0
:cond_0
const/4 v1, 0x0
move-wide v0, p3
:goto_0
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-wide v2, p1
move-result-object v2
move-wide v4, p5
if-eqz v2, :cond_3
invoke-static/range {v0 .. v5}, Le/k/a/c/e/p/g;->a(JJJ)J
if-eqz v1, :cond_2
move-result-wide p1
sget-object v0, Lkotlin/ranges/IntProgression;->g:Lkotlin/ranges/IntProgression$a;
sub-long/2addr p3, p1
invoke-virtual {p0}, Lkotlin/ranges/IntProgression;->getFirst()I
move-result v1
invoke-virtual {p0}, Lkotlin/ranges/IntProgression;->getLast()I
move-result v2
invoke-virtual {p0}, Lkotlin/ranges/IntProgression;->getStep()I
move-result p0
if-lez p0, :cond_1
goto :goto_1
goto :goto_0
:cond_1
neg-int p1, p1
if-gez v2, :cond_3
:goto_1
invoke-virtual {v0, v1, v2, p1}, Lkotlin/ranges/IntProgression$a;->fromClosedRange(III)Lkotlin/ranges/IntProgression;
cmp-long v0, p1, p3
move-result-object p0
if-gtz v0, :cond_2
return-object p0
goto :goto_0
:cond_2
new-instance p0, Ljava/lang/IllegalArgumentException;
neg-long v5, p5
new-instance p1, Ljava/lang/StringBuilder;
move-wide v1, p1
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
move-wide v3, p3
const-string v0, "Step must be positive, was: "
invoke-static/range {v1 .. v6}, Le/k/a/c/e/p/g;->a(JJJ)J
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-wide p1
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
add-long/2addr p3, p1
const/16 v0, 0x2e
:goto_0
iput-wide p3, p0, Lw/x/c;->e:J
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
iput-wide p5, p0, Lw/x/c;->f:J
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
return-void
:cond_3
const-string p0, "step"
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-static {p0}, Lw/u/b/j;->a(Ljava/lang/String;)V
const-string p2, "Step is zero."
throw v0
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
:cond_4
const-string p0, "$this$step"
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-static {p0}, Lw/u/b/j;->a(Ljava/lang/String;)V
const-string p2, "Step must be greater than Long.MIN_VALUE to avoid overflow on negation."
throw v0
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
:cond_5
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "Step must be non-zero."
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public static final until(II)Lkotlin/ranges/IntRange;
.locals 1
const/high16 v0, -0x80000000
# virtual methods
.method public iterator()Ljava/util/Iterator;
.locals 8
if-gt p1, v0, :cond_0
new-instance v7, Lw/x/d;
sget-object p0, Lkotlin/ranges/IntRange;->i:Lkotlin/ranges/IntRange$a;
iget-wide v1, p0, Lw/x/c;->d:J
invoke-virtual {p0}, Lkotlin/ranges/IntRange$a;->getEMPTY()Lkotlin/ranges/IntRange;
iget-wide v3, p0, Lw/x/c;->e:J
move-result-object p0
iget-wide v5, p0, Lw/x/c;->f:J
return-object p0
move-object v0, v7
:cond_0
new-instance v0, Lkotlin/ranges/IntRange;
invoke-direct/range {v0 .. v6}, Lw/x/d;-><init>(JJJ)V
add-int/lit8 p1, p1, -0x1
invoke-direct {v0, p0, p1}, Lkotlin/ranges/IntRange;-><init>(II)V
return-object v0
return-object v7
.end method

View file

@ -1,3 +1,117 @@
.class public Lw/x/d;
.super Ljava/lang/Object;
.source "Ranges.kt"
.class public final Lw/x/d;
.super Lw/q/s;
.source "ProgressionIterators.kt"
# instance fields
.field public final d:J
.field public e:Z
.field public f:J
.field public final g:J
# direct methods
.method public constructor <init>(JJJ)V
.locals 5
invoke-direct {p0}, Lw/q/s;-><init>()V
iput-wide p5, p0, Lw/x/d;->g:J
iput-wide p3, p0, Lw/x/d;->d:J
iget-wide p5, p0, Lw/x/d;->g:J
const/4 v0, 0x1
const/4 v1, 0x0
const-wide/16 v2, 0x0
cmp-long v4, p5, v2
cmp-long p5, p1, p3
if-lez v4, :cond_0
if-gtz p5, :cond_1
goto :goto_0
:cond_0
if-ltz p5, :cond_1
goto :goto_0
:cond_1
const/4 v0, 0x0
:goto_0
iput-boolean v0, p0, Lw/x/d;->e:Z
iget-boolean p3, p0, Lw/x/d;->e:Z
if-eqz p3, :cond_2
goto :goto_1
:cond_2
iget-wide p1, p0, Lw/x/d;->d:J
:goto_1
iput-wide p1, p0, Lw/x/d;->f:J
return-void
.end method
# virtual methods
.method public hasNext()Z
.locals 1
iget-boolean v0, p0, Lw/x/d;->e:Z
return v0
.end method
.method public nextLong()J
.locals 5
iget-wide v0, p0, Lw/x/d;->f:J
iget-wide v2, p0, Lw/x/d;->d:J
cmp-long v4, v0, v2
if-nez v4, :cond_1
iget-boolean v2, p0, Lw/x/d;->e:Z
if-eqz v2, :cond_0
const/4 v2, 0x0
iput-boolean v2, p0, Lw/x/d;->e:Z
goto :goto_0
:cond_0
new-instance v0, Ljava/util/NoSuchElementException;
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
throw v0
:cond_1
iget-wide v2, p0, Lw/x/d;->g:J
add-long/2addr v2, v0
iput-wide v2, p0, Lw/x/d;->f:J
:goto_0
return-wide v0
.end method

View file

@ -0,0 +1,34 @@
.class public final Lw/x/e$a;
.super Ljava/lang/Object;
.source "Ranges.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lw/x/e;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# direct methods
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final getEMPTY()Lw/x/e;
.locals 1
sget-object v0, Lw/x/e;->g:Lw/x/e;
return-object v0
.end method

View file

@ -0,0 +1,241 @@
.class public final Lw/x/e;
.super Lw/x/c;
.source "Ranges.kt"
# interfaces
.implements Lw/x/a;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lw/x/e$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lw/x/c;",
"Lw/x/a<",
"Ljava/lang/Long;",
">;"
}
.end annotation
# static fields
.field public static final g:Lw/x/e;
.field public static final h:Lw/x/e$a;
# direct methods
.method public static constructor <clinit>()V
.locals 5
new-instance v0, Lw/x/e$a;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lw/x/e$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lw/x/e;->h:Lw/x/e$a;
new-instance v0, Lw/x/e;
const-wide/16 v1, 0x1
const-wide/16 v3, 0x0
invoke-direct {v0, v1, v2, v3, v4}, Lw/x/e;-><init>(JJ)V
sput-object v0, Lw/x/e;->g:Lw/x/e;
return-void
.end method
.method public constructor <init>(JJ)V
.locals 7
const-wide/16 v5, 0x1
move-object v0, p0
move-wide v1, p1
move-wide v3, p3
invoke-direct/range {v0 .. v6}, Lw/x/c;-><init>(JJJ)V
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 5
instance-of v0, p1, Lw/x/e;
if-eqz v0, :cond_2
invoke-virtual {p0}, Lw/x/e;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
move-object v0, p1
check-cast v0, Lw/x/e;
invoke-virtual {v0}, Lw/x/e;->isEmpty()Z
move-result v0
if-nez v0, :cond_1
:cond_0
iget-wide v0, p0, Lw/x/c;->d:J
check-cast p1, Lw/x/e;
iget-wide v2, p1, Lw/x/c;->d:J
cmp-long v4, v0, v2
if-nez v4, :cond_2
iget-wide v0, p0, Lw/x/c;->e:J
iget-wide v2, p1, Lw/x/c;->e:J
cmp-long p1, v0, v2
if-nez p1, :cond_2
:cond_1
const/4 p1, 0x1
goto :goto_0
:cond_2
const/4 p1, 0x0
:goto_0
return p1
.end method
.method public getEndInclusive()Ljava/lang/Comparable;
.locals 2
iget-wide v0, p0, Lw/x/c;->e:J
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v0
return-object v0
.end method
.method public getStart()Ljava/lang/Comparable;
.locals 2
iget-wide v0, p0, Lw/x/c;->d:J
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v0
return-object v0
.end method
.method public hashCode()I
.locals 7
invoke-virtual {p0}, Lw/x/e;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
const/4 v0, -0x1
goto :goto_0
:cond_0
const/16 v0, 0x1f
int-to-long v0, v0
iget-wide v2, p0, Lw/x/c;->d:J
const/16 v4, 0x20
ushr-long v5, v2, v4
xor-long/2addr v2, v5
mul-long v0, v0, v2
iget-wide v2, p0, Lw/x/c;->e:J
ushr-long v4, v2, v4
xor-long/2addr v2, v4
add-long/2addr v0, v2
long-to-int v0, v0
:goto_0
return v0
.end method
.method public isEmpty()Z
.locals 5
iget-wide v0, p0, Lw/x/c;->d:J
iget-wide v2, p0, Lw/x/c;->e:J
cmp-long v4, v0, v2
if-lez v4, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 3
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
iget-wide v1, p0, Lw/x/c;->d:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, ".."
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Lw/x/c;->e:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

View file

@ -0,0 +1,240 @@
.class public final Lw/x/f;
.super Lw/x/g;
# direct methods
.method public static final coerceAtLeast(II)I
.locals 0
if-ge p0, p1, :cond_0
move p0, p1
:cond_0
return p0
.end method
.method public static final coerceAtMost(JJ)J
.locals 1
cmp-long v0, p0, p2
if-lez v0, :cond_0
move-wide p0, p2
:cond_0
return-wide p0
.end method
.method public static final coerceIn(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;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "Cannot coerce value to an empty range: maximum "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
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
throw p0
.end method
.method public static final downTo(II)Lkotlin/ranges/IntProgression;
.locals 2
sget-object v0, Lkotlin/ranges/IntProgression;->g:Lkotlin/ranges/IntProgression$a;
const/4 v1, -0x1
invoke-virtual {v0, p0, p1, v1}, Lkotlin/ranges/IntProgression$a;->fromClosedRange(III)Lkotlin/ranges/IntProgression;
move-result-object p0
return-object p0
.end method
.method public static final step(Lkotlin/ranges/IntProgression;I)Lkotlin/ranges/IntProgression;
.locals 3
const/4 v0, 0x0
if-eqz p0, :cond_4
if-lez p1, :cond_0
const/4 v1, 0x1
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
if-eqz v2, :cond_3
if-eqz v1, :cond_2
sget-object v0, Lkotlin/ranges/IntProgression;->g:Lkotlin/ranges/IntProgression$a;
invoke-virtual {p0}, Lkotlin/ranges/IntProgression;->getFirst()I
move-result v1
invoke-virtual {p0}, Lkotlin/ranges/IntProgression;->getLast()I
move-result v2
invoke-virtual {p0}, Lkotlin/ranges/IntProgression;->getStep()I
move-result p0
if-lez p0, :cond_1
goto :goto_1
:cond_1
neg-int p1, p1
:goto_1
invoke-virtual {v0, v1, v2, p1}, Lkotlin/ranges/IntProgression$a;->fromClosedRange(III)Lkotlin/ranges/IntProgression;
move-result-object p0
return-object p0
:cond_2
new-instance p0, Ljava/lang/IllegalArgumentException;
new-instance p1, Ljava/lang/StringBuilder;
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
const-string v0, "Step must be positive, was: "
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v0, 0x2e
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
:cond_3
const-string p0, "step"
invoke-static {p0}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_4
const-string p0, "$this$step"
invoke-static {p0}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public static final until(II)Lkotlin/ranges/IntRange;
.locals 1
const/high16 v0, -0x80000000
if-gt p1, v0, :cond_0
sget-object p0, Lkotlin/ranges/IntRange;->i:Lkotlin/ranges/IntRange$a;
invoke-virtual {p0}, Lkotlin/ranges/IntRange$a;->getEMPTY()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 until(IJ)Lw/x/e;
.locals 4
const-wide/high16 v0, -0x8000000000000000L
cmp-long v2, p1, v0
if-gtz v2, :cond_0
sget-object p0, Lw/x/e;->h:Lw/x/e$a;
invoke-virtual {p0}, Lw/x/e$a;->getEMPTY()Lw/x/e;
move-result-object p0
return-object p0
:cond_0
int-to-long v0, p0
new-instance p0, Lw/x/e;
const-wide/16 v2, 0x1
sub-long/2addr p1, v2
invoke-direct {p0, v0, v1, p1, p2}, Lw/x/e;-><init>(JJ)V
return-object p0
.end method

View file

@ -0,0 +1,3 @@
.class public Lw/x/g;
.super Ljava/lang/Object;
.source "Ranges.kt"

View file

@ -2448,7 +2448,7 @@
const-wide/16 v3, 0x40
invoke-static {v1, v2, v3, v4}, Lw/x/c;->coerceAtMost(JJ)J
invoke-static {v1, v2, v3, v4}, Lw/x/f;->coerceAtMost(JJ)J
move-result-wide v5

View file

@ -123,7 +123,7 @@
int-to-long v2, v2
invoke-static {v0, v1, v2, v3}, Lw/x/c;->coerceAtMost(JJ)J
invoke-static {v0, v1, v2, v3}, Lw/x/f;->coerceAtMost(JJ)J
move-result-wide v0

View file

@ -75,7 +75,7 @@
const/4 v1, 0x2
invoke-static {v0, v1}, Lw/x/c;->coerceAtLeast(II)I
invoke-static {v0, v1}, Lw/x/f;->coerceAtLeast(II)I
move-result v3
@ -103,7 +103,7 @@
const v2, 0x1ffffe
invoke-static {v0, v1, v2}, Lw/x/c;->coerceIn(III)I
invoke-static {v0, v1, v2}, Lw/x/f;->coerceIn(III)I
move-result v4

View file

@ -334,7 +334,7 @@
:cond_5
:try_start_3
invoke-static {v5, v6, v9, v10}, Lw/x/c;->coerceAtMost(JJ)J
invoke-static {v5, v6, v9, v10}, Lw/x/f;->coerceAtMost(JJ)J
move-result-wide v5
@ -343,7 +343,7 @@
:cond_6
sget-wide v9, Lx/a/f0;->i:J
invoke-static {v5, v6, v9, v10}, Lw/x/c;->coerceAtMost(JJ)J
invoke-static {v5, v6, v9, v10}, Lw/x/f;->coerceAtMost(JJ)J
move-result-wide v5

View file

@ -86,7 +86,7 @@
const-wide v2, 0x3fffffffffffffffL # 1.9999999999999998
invoke-static {p1, p2, v2, v3}, Lw/x/c;->coerceAtMost(JJ)J
invoke-static {p1, p2, v2, v3}, Lw/x/f;->coerceAtMost(JJ)J
move-result-wide p1