Rabbit-R1/switch port/smali/smali_classes3/kotlin/ranges/UIntRange.smali
2024-05-21 17:08:36 -04:00

469 lines
11 KiB
Smali

.class public final Lkotlin/ranges/UIntRange;
.super Lkotlin/ranges/UIntProgression;
.source "UIntRange.kt"
# interfaces
.implements Lkotlin/ranges/ClosedRange;
.implements Lkotlin/ranges/OpenEndRange;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lkotlin/ranges/UIntRange$Companion;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/ranges/UIntProgression;",
"Lkotlin/ranges/ClosedRange<",
"Lkotlin/UInt;",
">;",
"Lkotlin/ranges/OpenEndRange<",
"Lkotlin/UInt;",
">;"
}
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u000b\n\u0002\u0010\u000b\n\u0002\u0008\u0005\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0002\n\u0002\u0010\u000e\n\u0002\u0008\u0002\u0008\u0007\u0018\u0000 \u001c2\u00020\u00012\u0008\u0012\u0004\u0012\u00020\u00030\u00022\u0008\u0012\u0004\u0012\u00020\u00030\u0004:\u0001\u001cB\u0015\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0007J\u0018\u0010\u000f\u001a\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u0003H\u0096\u0002\u00a2\u0006\u0004\u0008\u0012\u0010\u0013J\u0013\u0010\u0014\u001a\u00020\u00102\u0008\u0010\u0015\u001a\u0004\u0018\u00010\u0016H\u0096\u0002J\u0008\u0010\u0017\u001a\u00020\u0018H\u0016J\u0008\u0010\u0019\u001a\u00020\u0010H\u0016J\u0008\u0010\u001a\u001a\u00020\u001bH\u0016R\u001d\u0010\u0008\u001a\u00020\u00038VX\u0097\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008\t\u0010\n\u001a\u0004\u0008\u000b\u0010\u000cR\u0017\u0010\u0006\u001a\u00020\u00038VX\u0096\u0004\u00f8\u0001\u0000\u00a2\u0006\u0006\u001a\u0004\u0008\r\u0010\u000cR\u0017\u0010\u0005\u001a\u00020\u00038VX\u0096\u0004\u00f8\u0001\u0000\u00a2\u0006\u0006\u001a\u0004\u0008\u000e\u0010\u000c\u0082\u0002\u0004\n\u0002\u0008!\u00a8\u0006\u001d"
}
d2 = {
"Lkotlin/ranges/UIntRange;",
"Lkotlin/ranges/UIntProgression;",
"Lkotlin/ranges/ClosedRange;",
"Lkotlin/UInt;",
"Lkotlin/ranges/OpenEndRange;",
"start",
"endInclusive",
"(IILkotlin/jvm/internal/DefaultConstructorMarker;)V",
"endExclusive",
"getEndExclusive-pVg5ArA$annotations",
"()V",
"getEndExclusive-pVg5ArA",
"()I",
"getEndInclusive-pVg5ArA",
"getStart-pVg5ArA",
"contains",
"",
"value",
"contains-WZ4Q5Ns",
"(I)Z",
"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/UIntRange$Companion;
.field private static final EMPTY:Lkotlin/ranges/UIntRange;
# direct methods
.method static constructor <clinit>()V
.locals 4
new-instance v0, Lkotlin/ranges/UIntRange$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lkotlin/ranges/UIntRange$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lkotlin/ranges/UIntRange;->Companion:Lkotlin/ranges/UIntRange$Companion;
.line 51
new-instance v0, Lkotlin/ranges/UIntRange;
const/4 v2, -0x1
const/4 v3, 0x0
invoke-direct {v0, v2, v3, v1}, Lkotlin/ranges/UIntRange;-><init>(IILkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lkotlin/ranges/UIntRange;->EMPTY:Lkotlin/ranges/UIntRange;
return-void
.end method
.method private constructor <init>(II)V
.locals 2
const/4 v0, 0x1
const/4 v1, 0x0
.line 19
invoke-direct {p0, p1, p2, v0, v1}, Lkotlin/ranges/UIntProgression;-><init>(IIILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method
.method public synthetic constructor <init>(IILkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0, p1, p2}, Lkotlin/ranges/UIntRange;-><init>(II)V
return-void
.end method
.method public static final synthetic access$getEMPTY$cp()Lkotlin/ranges/UIntRange;
.locals 1
sget-object v0, Lkotlin/ranges/UIntRange;->EMPTY:Lkotlin/ranges/UIntRange;
return-object v0
.end method
.method public static synthetic getEndExclusive-pVg5ArA$annotations()V
.locals 0
.annotation runtime Lkotlin/Deprecated;
message = "Can throw an exception when it\'s impossible to represent the value with UInt 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 bridge synthetic contains(Ljava/lang/Comparable;)Z
.locals 0
.line 17
check-cast p1, Lkotlin/UInt;
invoke-virtual {p1}, Lkotlin/UInt;->unbox-impl()I
move-result p1
invoke-virtual {p0, p1}, Lkotlin/ranges/UIntRange;->contains-WZ4Q5Ns(I)Z
move-result p0
return p0
.end method
.method public contains-WZ4Q5Ns(I)Z
.locals 1
.line 31
invoke-virtual {p0}, Lkotlin/ranges/UIntRange;->getFirst-pVg5ArA()I
move-result v0
invoke-static {v0, p1}, Ljava/lang/Integer;->compareUnsigned(II)I
move-result v0
if-gtz v0, :cond_0
invoke-virtual {p0}, Lkotlin/ranges/UIntRange;->getLast-pVg5ArA()I
move-result p0
invoke-static {p1, p0}, Ljava/lang/Integer;->compareUnsigned(II)I
move-result p0
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 equals(Ljava/lang/Object;)Z
.locals 2
.line 41
instance-of v0, p1, Lkotlin/ranges/UIntRange;
if-eqz v0, :cond_2
invoke-virtual {p0}, Lkotlin/ranges/UIntRange;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
move-object v0, p1
check-cast v0, Lkotlin/ranges/UIntRange;
invoke-virtual {v0}, Lkotlin/ranges/UIntRange;->isEmpty()Z
move-result v0
if-nez v0, :cond_1
.line 42
:cond_0
invoke-virtual {p0}, Lkotlin/ranges/UIntRange;->getFirst-pVg5ArA()I
move-result v0
check-cast p1, Lkotlin/ranges/UIntRange;
invoke-virtual {p1}, Lkotlin/ranges/UIntRange;->getFirst-pVg5ArA()I
move-result v1
if-ne v0, v1, :cond_2
invoke-virtual {p0}, Lkotlin/ranges/UIntRange;->getLast-pVg5ArA()I
move-result p0
invoke-virtual {p1}, Lkotlin/ranges/UIntRange;->getLast-pVg5ArA()I
move-result p1
if-ne p0, p1, :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 17
invoke-virtual {p0}, Lkotlin/ranges/UIntRange;->getEndExclusive-pVg5ArA()I
move-result p0
invoke-static {p0}, Lkotlin/UInt;->box-impl(I)Lkotlin/UInt;
move-result-object p0
return-object p0
.end method
.method public getEndExclusive-pVg5ArA()I
.locals 2
.line 27
invoke-virtual {p0}, Lkotlin/ranges/UIntRange;->getLast-pVg5ArA()I
move-result v0
const/4 v1, -0x1
if-eq v0, v1, :cond_0
.line 28
invoke-virtual {p0}, Lkotlin/ranges/UIntRange;->getLast-pVg5ArA()I
move-result p0
add-int/lit8 p0, p0, 0x1
invoke-static {p0}, Lkotlin/UInt;->constructor-impl(I)I
move-result p0
return p0
.line 27
: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 17
invoke-virtual {p0}, Lkotlin/ranges/UIntRange;->getEndInclusive-pVg5ArA()I
move-result p0
invoke-static {p0}, Lkotlin/UInt;->box-impl(I)Lkotlin/UInt;
move-result-object p0
return-object p0
.end method
.method public getEndInclusive-pVg5ArA()I
.locals 0
.line 21
invoke-virtual {p0}, Lkotlin/ranges/UIntRange;->getLast-pVg5ArA()I
move-result p0
return p0
.end method
.method public bridge synthetic getStart()Ljava/lang/Comparable;
.locals 0
.line 17
invoke-virtual {p0}, Lkotlin/ranges/UIntRange;->getStart-pVg5ArA()I
move-result p0
invoke-static {p0}, Lkotlin/UInt;->box-impl(I)Lkotlin/UInt;
move-result-object p0
return-object p0
.end method
.method public getStart-pVg5ArA()I
.locals 0
.line 20
invoke-virtual {p0}, Lkotlin/ranges/UIntRange;->getFirst-pVg5ArA()I
move-result p0
return p0
.end method
.method public hashCode()I
.locals 1
.line 45
invoke-virtual {p0}, Lkotlin/ranges/UIntRange;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
const/4 p0, -0x1
goto :goto_0
:cond_0
invoke-virtual {p0}, Lkotlin/ranges/UIntRange;->getFirst-pVg5ArA()I
move-result v0
mul-int/lit8 v0, v0, 0x1f
invoke-virtual {p0}, Lkotlin/ranges/UIntRange;->getLast-pVg5ArA()I
move-result p0
add-int/2addr p0, v0
:goto_0
return p0
.end method
.method public isEmpty()Z
.locals 1
.line 38
invoke-virtual {p0}, Lkotlin/ranges/UIntRange;->getFirst-pVg5ArA()I
move-result v0
invoke-virtual {p0}, Lkotlin/ranges/UIntRange;->getLast-pVg5ArA()I
move-result p0
invoke-static {v0, p0}, Ljava/lang/Integer;->compareUnsigned(II)I
move-result p0
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 2
.line 47
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p0}, Lkotlin/ranges/UIntRange;->getFirst-pVg5ArA()I
move-result v1
invoke-static {v1}, Lkotlin/UInt;->toString-impl(I)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)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/UIntRange;->getLast-pVg5ArA()I
move-result p0
invoke-static {p0}, Lkotlin/UInt;->toString-impl(I)Ljava/lang/String;
move-result-object p0
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)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