mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 09:02:34 -06:00
483 lines
11 KiB
Smali
483 lines
11 KiB
Smali
.class public final Lkotlin/ranges/LongRange;
|
|
.super Lkotlin/ranges/LongProgression;
|
|
.source "PrimitiveRanges.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/ranges/ClosedRange;
|
|
.implements Lkotlin/ranges/OpenEndRange;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lkotlin/ranges/LongRange$Companion;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/ranges/LongProgression;",
|
|
"Lkotlin/ranges/ClosedRange<",
|
|
"Ljava/lang/Long;",
|
|
">;",
|
|
"Lkotlin/ranges/OpenEndRange<",
|
|
"Ljava/lang/Long;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\t\n\u0002\u0018\u0002\n\u0002\u0008\u000b\n\u0002\u0010\u000b\n\u0002\u0008\u0003\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0002\n\u0002\u0010\u000e\n\u0002\u0008\u0002\u0018\u0000 \u001a2\u00020\u00012\u0008\u0012\u0004\u0012\u00020\u00030\u00022\u0008\u0012\u0004\u0012\u00020\u00030\u0004:\u0001\u001aB\u0015\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0007J\u0011\u0010\u000f\u001a\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u0003H\u0096\u0002J\u0013\u0010\u0012\u001a\u00020\u00102\u0008\u0010\u0013\u001a\u0004\u0018\u00010\u0014H\u0096\u0002J\u0008\u0010\u0015\u001a\u00020\u0016H\u0016J\u0008\u0010\u0017\u001a\u00020\u0010H\u0016J\u0008\u0010\u0018\u001a\u00020\u0019H\u0016R\u001a\u0010\u0008\u001a\u00020\u00038VX\u0097\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\t\u0010\n\u001a\u0004\u0008\u000b\u0010\u000cR\u0014\u0010\u0006\u001a\u00020\u00038VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\r\u0010\u000cR\u0014\u0010\u0005\u001a\u00020\u00038VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u000e\u0010\u000c\u00a8\u0006\u001b"
|
|
}
|
|
d2 = {
|
|
"Lkotlin/ranges/LongRange;",
|
|
"Lkotlin/ranges/LongProgression;",
|
|
"Lkotlin/ranges/ClosedRange;",
|
|
"",
|
|
"Lkotlin/ranges/OpenEndRange;",
|
|
"start",
|
|
"endInclusive",
|
|
"(JJ)V",
|
|
"endExclusive",
|
|
"getEndExclusive$annotations",
|
|
"()V",
|
|
"getEndExclusive",
|
|
"()Ljava/lang/Long;",
|
|
"getEndInclusive",
|
|
"getStart",
|
|
"contains",
|
|
"",
|
|
"value",
|
|
"equals",
|
|
"other",
|
|
"",
|
|
"hashCode",
|
|
"",
|
|
"isEmpty",
|
|
"toString",
|
|
"",
|
|
"Companion",
|
|
"kotlin-stdlib"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x9,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final Companion:Lkotlin/ranges/LongRange$Companion;
|
|
|
|
.field private static final EMPTY:Lkotlin/ranges/LongRange;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 5
|
|
|
|
new-instance v0, Lkotlin/ranges/LongRange$Companion;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lkotlin/ranges/LongRange$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Lkotlin/ranges/LongRange;->Companion:Lkotlin/ranges/LongRange$Companion;
|
|
|
|
.line 123
|
|
new-instance v0, Lkotlin/ranges/LongRange;
|
|
|
|
const-wide/16 v1, 0x1
|
|
|
|
const-wide/16 v3, 0x0
|
|
|
|
invoke-direct {v0, v1, v2, v3, v4}, Lkotlin/ranges/LongRange;-><init>(JJ)V
|
|
|
|
sput-object v0, Lkotlin/ranges/LongRange;->EMPTY:Lkotlin/ranges/LongRange;
|
|
|
|
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
|
|
|
|
.line 91
|
|
invoke-direct/range {v0 .. v6}, Lkotlin/ranges/LongProgression;-><init>(JJJ)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$getEMPTY$cp()Lkotlin/ranges/LongRange;
|
|
.locals 1
|
|
|
|
sget-object v0, Lkotlin/ranges/LongRange;->EMPTY:Lkotlin/ranges/LongRange;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static synthetic getEndExclusive$annotations()V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Can throw an exception when it\'s impossible to represent the value with Long type, for example, when the range includes MAX_VALUE. It\'s recommended to use \'endInclusive\' property that doesn\'t throw."
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public contains(J)Z
|
|
.locals 2
|
|
|
|
.line 103
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->getFirst()J
|
|
|
|
move-result-wide v0
|
|
|
|
cmp-long v0, v0, p1
|
|
|
|
if-gtz v0, :cond_0
|
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->getLast()J
|
|
|
|
move-result-wide v0
|
|
|
|
cmp-long p0, p1, v0
|
|
|
|
if-gtz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public bridge synthetic contains(Ljava/lang/Comparable;)Z
|
|
.locals 2
|
|
|
|
.line 91
|
|
check-cast p1, Ljava/lang/Number;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Number;->longValue()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-virtual {p0, v0, v1}, Lkotlin/ranges/LongRange;->contains(J)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 4
|
|
|
|
.line 113
|
|
instance-of v0, p1, Lkotlin/ranges/LongRange;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
move-object v0, p1
|
|
|
|
check-cast v0, Lkotlin/ranges/LongRange;
|
|
|
|
invoke-virtual {v0}, Lkotlin/ranges/LongRange;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 114
|
|
:cond_0
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->getFirst()J
|
|
|
|
move-result-wide v0
|
|
|
|
check-cast p1, Lkotlin/ranges/LongRange;
|
|
|
|
invoke-virtual {p1}, Lkotlin/ranges/LongRange;->getFirst()J
|
|
|
|
move-result-wide v2
|
|
|
|
cmp-long v0, v0, v2
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->getLast()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-virtual {p1}, Lkotlin/ranges/LongRange;->getLast()J
|
|
|
|
move-result-wide p0
|
|
|
|
cmp-long p0, v0, p0
|
|
|
|
if-nez p0, :cond_2
|
|
|
|
:cond_1
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public bridge synthetic getEndExclusive()Ljava/lang/Comparable;
|
|
.locals 0
|
|
|
|
.line 91
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->getEndExclusive()Ljava/lang/Long;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/Comparable;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getEndExclusive()Ljava/lang/Long;
|
|
.locals 4
|
|
|
|
.line 99
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->getLast()J
|
|
|
|
move-result-wide v0
|
|
|
|
const-wide v2, 0x7fffffffffffffffL
|
|
|
|
cmp-long v0, v0, v2
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 100
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->getLast()J
|
|
|
|
move-result-wide v0
|
|
|
|
const-wide/16 v2, 0x1
|
|
|
|
add-long/2addr v0, v2
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 99
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v0, "Cannot return the exclusive upper bound of a range that includes MAX_VALUE."
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public bridge synthetic getEndInclusive()Ljava/lang/Comparable;
|
|
.locals 0
|
|
|
|
.line 91
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->getEndInclusive()Ljava/lang/Long;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/Comparable;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getEndInclusive()Ljava/lang/Long;
|
|
.locals 2
|
|
|
|
.line 93
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->getLast()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public bridge synthetic getStart()Ljava/lang/Comparable;
|
|
.locals 0
|
|
|
|
.line 91
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->getStart()Ljava/lang/Long;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/Comparable;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getStart()Ljava/lang/Long;
|
|
.locals 2
|
|
|
|
.line 92
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->getFirst()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 7
|
|
|
|
.line 117
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 p0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/16 v0, 0x1f
|
|
|
|
int-to-long v0, v0
|
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->getFirst()J
|
|
|
|
move-result-wide v2
|
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->getFirst()J
|
|
|
|
move-result-wide v4
|
|
|
|
const/16 v6, 0x20
|
|
|
|
ushr-long/2addr v4, v6
|
|
|
|
xor-long/2addr v2, v4
|
|
|
|
mul-long/2addr v0, v2
|
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->getLast()J
|
|
|
|
move-result-wide v2
|
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->getLast()J
|
|
|
|
move-result-wide v4
|
|
|
|
ushr-long/2addr v4, v6
|
|
|
|
xor-long/2addr v2, v4
|
|
|
|
add-long/2addr v0, v2
|
|
|
|
long-to-int p0, v0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public isEmpty()Z
|
|
.locals 4
|
|
|
|
.line 110
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->getFirst()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->getLast()J
|
|
|
|
move-result-wide v2
|
|
|
|
cmp-long p0, v0, v2
|
|
|
|
if-lez p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
.line 119
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->getFirst()J
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, ".."
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/LongRange;->getLast()J
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|