Changes of com.discord v1349

This commit is contained in:
root 2020-11-30 22:35:21 +00:00
parent ee3363e6d6
commit 3f4974bc38
11672 changed files with 479129 additions and 478996 deletions

View file

@ -0,0 +1,32 @@
.class public interface abstract Lx/p/a;
.super Ljava/lang/Object;
.source "Range.kt"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Ljava/lang/Comparable<",
"-TT;>;>",
"Ljava/lang/Object;"
}
.end annotation
# virtual methods
.method public abstract getEndInclusive()Ljava/lang/Comparable;
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.end method
.method public abstract getStart()Ljava/lang/Comparable;
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.end method

View file

@ -0,0 +1,105 @@
.class public final Lx/p/b;
.super Lx/h/o;
.source "ProgressionIterators.kt"
# instance fields
.field public final d:I
.field public e:Z
.field public f:I
.field public final g:I
# direct methods
.method public constructor <init>(III)V
.locals 2
invoke-direct {p0}, Lx/h/o;-><init>()V
iput p3, p0, Lx/p/b;->g:I
iput p2, p0, Lx/p/b;->d:I
const/4 v0, 0x1
const/4 v1, 0x0
if-lez p3, :cond_0
if-gt p1, p2, :cond_1
goto :goto_0
:cond_0
if-lt p1, p2, :cond_1
goto :goto_0
:cond_1
const/4 v0, 0x0
:goto_0
iput-boolean v0, p0, Lx/p/b;->e:Z
if-eqz v0, :cond_2
goto :goto_1
:cond_2
move p1, p2
:goto_1
iput p1, p0, Lx/p/b;->f:I
return-void
.end method
# virtual methods
.method public hasNext()Z
.locals 1
iget-boolean v0, p0, Lx/p/b;->e:Z
return v0
.end method
.method public nextInt()I
.locals 2
iget v0, p0, Lx/p/b;->f:I
iget v1, p0, Lx/p/b;->d:I
if-ne v0, v1, :cond_1
iget-boolean v1, p0, Lx/p/b;->e:Z
if-eqz v1, :cond_0
const/4 v1, 0x0
iput-boolean v1, p0, Lx/p/b;->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 v1, p0, Lx/p/b;->g:I
add-int/2addr v1, v0
iput v1, p0, Lx/p/b;->f:I
:goto_0
return v0
.end method

View file

@ -0,0 +1,158 @@
.class public Lx/p/c;
.super Ljava/lang/Object;
.source "Progressions.kt"
# interfaces
.implements Ljava/lang/Iterable;
.implements Lx/m/c/x/a;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/lang/Iterable<",
"Ljava/lang/Long;",
">;",
"Lx/m/c/x/a;"
}
.end annotation
# instance fields
.field public final d:J
.field public final e:J
.field public final f:J
# direct methods
.method public constructor <init>(JJJ)V
.locals 4
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-wide/16 v0, 0x0
cmp-long v2, p5, v0
if-eqz v2, :cond_5
const-wide/high16 v0, -0x8000000000000000L
cmp-long v3, p5, v0
if-eqz v3, :cond_4
iput-wide p1, p0, Lx/p/c;->d:J
if-lez v2, :cond_1
cmp-long v0, p1, p3
if-ltz v0, :cond_0
goto :goto_0
:cond_0
invoke-static {p3, p4, p5, p6}, Lf/h/a/f/f/n/g;->T(JJ)J
move-result-wide v0
invoke-static {p1, p2, p5, p6}, Lf/h/a/f/f/n/g;->T(JJ)J
move-result-wide p1
sub-long/2addr v0, p1
invoke-static {v0, v1, p5, p6}, Lf/h/a/f/f/n/g;->T(JJ)J
move-result-wide p1
sub-long/2addr p3, p1
goto :goto_0
:cond_1
if-gez v2, :cond_3
cmp-long v0, p1, p3
if-gtz v0, :cond_2
goto :goto_0
:cond_2
neg-long v0, p5
invoke-static {p1, p2, v0, v1}, Lf/h/a/f/f/n/g;->T(JJ)J
move-result-wide p1
invoke-static {p3, p4, v0, v1}, Lf/h/a/f/f/n/g;->T(JJ)J
move-result-wide v2
sub-long/2addr p1, v2
invoke-static {p1, p2, v0, v1}, Lf/h/a/f/f/n/g;->T(JJ)J
move-result-wide p1
add-long/2addr p3, p1
:goto_0
iput-wide p3, p0, Lx/p/c;->e:J
iput-wide p5, p0, Lx/p/c;->f:J
return-void
:cond_3
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "Step is zero."
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
:cond_4
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "Step must be greater than Long.MIN_VALUE to avoid overflow on negation."
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
# virtual methods
.method public iterator()Ljava/util/Iterator;
.locals 8
new-instance v7, Lx/p/d;
iget-wide v1, p0, Lx/p/c;->d:J
iget-wide v3, p0, Lx/p/c;->e:J
iget-wide v5, p0, Lx/p/c;->f:J
move-object v0, v7
invoke-direct/range {v0 .. v6}, Lx/p/d;-><init>(JJJ)V
return-object v7
.end method

View file

@ -0,0 +1,113 @@
.class public final Lx/p/d;
.super Lx/h/p;
.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}, Lx/h/p;-><init>()V
iput-wide p5, p0, Lx/p/d;->g:J
iput-wide p3, p0, Lx/p/d;->d: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, Lx/p/d;->e:Z
if-eqz v0, :cond_2
goto :goto_1
:cond_2
move-wide p1, p3
:goto_1
iput-wide p1, p0, Lx/p/d;->f:J
return-void
.end method
# virtual methods
.method public hasNext()Z
.locals 1
iget-boolean v0, p0, Lx/p/d;->e:Z
return v0
.end method
.method public nextLong()J
.locals 5
iget-wide v0, p0, Lx/p/d;->f:J
iget-wide v2, p0, Lx/p/d;->d:J
cmp-long v4, v0, v2
if-nez v4, :cond_1
iget-boolean v2, p0, Lx/p/d;->e:Z
if-eqz v2, :cond_0
const/4 v2, 0x0
iput-boolean v2, p0, Lx/p/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, Lx/p/d;->g:J
add-long/2addr v2, v0
iput-wide v2, p0, Lx/p/d;->f:J
:goto_0
return-wide v0
.end method

View file

@ -0,0 +1,204 @@
.class public Lx/p/e;
.super Ljava/lang/Object;
.source "_Ranges.kt"
# direct methods
.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
new-instance v0, Lkotlin/ranges/IntProgression;
const/4 v1, -0x1
invoke-direct {v0, p0, p1, v1}, Lkotlin/ranges/IntProgression;-><init>(III)V
return-object v0
.end method
.method public static final step(Lkotlin/ranges/IntProgression;I)Lkotlin/ranges/IntProgression;
.locals 3
const-string v0, "$this$step"
invoke-static {p0, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
if-lez p1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
const-string v2, "step"
invoke-static {v1, v2}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
if-eqz v0, :cond_2
iget v0, p0, Lkotlin/ranges/IntProgression;->d:I
iget v1, p0, Lkotlin/ranges/IntProgression;->e:I
iget p0, p0, Lkotlin/ranges/IntProgression;->f:I
if-lez p0, :cond_1
goto :goto_1
:cond_1
neg-int p1, p1
:goto_1
new-instance p0, Lkotlin/ranges/IntProgression;
invoke-direct {p0, v0, v1, p1}, Lkotlin/ranges/IntProgression;-><init>(III)V
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, v1}, 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
.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;->h:Lkotlin/ranges/IntRange;
sget-object p0, Lkotlin/ranges/IntRange;->g:Lkotlin/ranges/IntRange;
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)Lkotlin/ranges/LongRange;
.locals 4
const-wide/high16 v0, -0x8000000000000000L
cmp-long v2, p1, v0
if-gtz v2, :cond_0
sget-object p0, Lkotlin/ranges/LongRange;->h:Lkotlin/ranges/LongRange;
sget-object p0, Lkotlin/ranges/LongRange;->g:Lkotlin/ranges/LongRange;
return-object p0
:cond_0
int-to-long v0, p0
new-instance p0, Lkotlin/ranges/LongRange;
const-wide/16 v2, 0x1
sub-long/2addr p1, v2
invoke-direct {p0, v0, v1, p1, p2}, Lkotlin/ranges/LongRange;-><init>(JJ)V
return-object p0
.end method