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

190 lines
4.7 KiB
Smali

.class public abstract Lkotlin/random/AbstractPlatformRandom;
.super Lkotlin/random/Random;
.source "PlatformRandom.kt"
# annotations
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nPlatformRandom.kt\nKotlin\n*S Kotlin\n*F\n+ 1 PlatformRandom.kt\nkotlin/random/AbstractPlatformRandom\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,93:1\n1#2:94\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000>\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u0008\n\u0002\u0008\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0012\n\u0002\u0008\u0002\n\u0002\u0010\u0006\n\u0000\n\u0002\u0010\u0007\n\u0002\u0008\u0003\n\u0002\u0010\t\n\u0000\u0008 \u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\u0010\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\u0008H\u0016J\u0008\u0010\n\u001a\u00020\u000bH\u0016J\u0010\u0010\u000c\u001a\u00020\r2\u0006\u0010\u000e\u001a\u00020\rH\u0016J\u0008\u0010\u000f\u001a\u00020\u0010H\u0016J\u0008\u0010\u0011\u001a\u00020\u0012H\u0016J\u0008\u0010\u0013\u001a\u00020\u0008H\u0016J\u0010\u0010\u0013\u001a\u00020\u00082\u0006\u0010\u0014\u001a\u00020\u0008H\u0016J\u0008\u0010\u0015\u001a\u00020\u0016H\u0016R\u0012\u0010\u0003\u001a\u00020\u0004X\u00a6\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u0005\u0010\u0006\u00a8\u0006\u0017"
}
d2 = {
"Lkotlin/random/AbstractPlatformRandom;",
"Lkotlin/random/Random;",
"()V",
"impl",
"Ljava/util/Random;",
"getImpl",
"()Ljava/util/Random;",
"nextBits",
"",
"bitCount",
"nextBoolean",
"",
"nextBytes",
"",
"array",
"nextDouble",
"",
"nextFloat",
"",
"nextInt",
"until",
"nextLong",
"",
"kotlin-stdlib"
}
k = 0x1
mv = {
0x1,
0x9,
0x0
}
xi = 0x30
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 35
invoke-direct {p0}, Lkotlin/random/Random;-><init>()V
return-void
.end method
# virtual methods
.method public abstract getImpl()Ljava/util/Random;
.end method
.method public nextBits(I)I
.locals 0
.line 39
invoke-virtual {p0}, Lkotlin/random/AbstractPlatformRandom;->getImpl()Ljava/util/Random;
move-result-object p0
invoke-virtual {p0}, Ljava/util/Random;->nextInt()I
move-result p0
invoke-static {p0, p1}, Lkotlin/random/RandomKt;->takeUpperBits(II)I
move-result p0
return p0
.end method
.method public nextBoolean()Z
.locals 0
.line 44
invoke-virtual {p0}, Lkotlin/random/AbstractPlatformRandom;->getImpl()Ljava/util/Random;
move-result-object p0
invoke-virtual {p0}, Ljava/util/Random;->nextBoolean()Z
move-result p0
return p0
.end method
.method public nextBytes([B)[B
.locals 1
const-string v0, "array"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 47
invoke-virtual {p0}, Lkotlin/random/AbstractPlatformRandom;->getImpl()Ljava/util/Random;
move-result-object p0
invoke-virtual {p0, p1}, Ljava/util/Random;->nextBytes([B)V
return-object p1
.end method
.method public nextDouble()D
.locals 2
.line 45
invoke-virtual {p0}, Lkotlin/random/AbstractPlatformRandom;->getImpl()Ljava/util/Random;
move-result-object p0
invoke-virtual {p0}, Ljava/util/Random;->nextDouble()D
move-result-wide v0
return-wide v0
.end method
.method public nextFloat()F
.locals 0
.line 46
invoke-virtual {p0}, Lkotlin/random/AbstractPlatformRandom;->getImpl()Ljava/util/Random;
move-result-object p0
invoke-virtual {p0}, Ljava/util/Random;->nextFloat()F
move-result p0
return p0
.end method
.method public nextInt()I
.locals 0
.line 41
invoke-virtual {p0}, Lkotlin/random/AbstractPlatformRandom;->getImpl()Ljava/util/Random;
move-result-object p0
invoke-virtual {p0}, Ljava/util/Random;->nextInt()I
move-result p0
return p0
.end method
.method public nextInt(I)I
.locals 0
.line 42
invoke-virtual {p0}, Lkotlin/random/AbstractPlatformRandom;->getImpl()Ljava/util/Random;
move-result-object p0
invoke-virtual {p0, p1}, Ljava/util/Random;->nextInt(I)I
move-result p0
return p0
.end method
.method public nextLong()J
.locals 2
.line 43
invoke-virtual {p0}, Lkotlin/random/AbstractPlatformRandom;->getImpl()Ljava/util/Random;
move-result-object p0
invoke-virtual {p0}, Ljava/util/Random;->nextLong()J
move-result-wide v0
return-wide v0
.end method