* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
979 lines
19 KiB
Smali
979 lines
19 KiB
Smali
.class public final Lkotlin/time/Instant;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Comparable;
|
|
.implements Ljava/io/Serializable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lkotlin/time/Instant$Companion;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Ljava/lang/Comparable<",
|
|
"Lkotlin/time/Instant;",
|
|
">;",
|
|
"Ljava/io/Serializable;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000N\n\u0002\u0018\u0002\n\u0002\u0010\u000f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\t\n\u0002\u0018\u0002\n\u0002\u0008\t\n\u0002\u0010\u000b\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010\u000e\n\u0002\u0008\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\u0008\u0007\u0018\u0000 \'2\u0008\u0012\u0004\u0012\u00020\u00000\u00012\u00060\u0002j\u0002`\u0003:\u0001\'B\u0019\u0008\u0000\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u00a2\u0006\u0004\u0008\u0008\u0010\tJ\u0006\u0010\u000e\u001a\u00020\u0005J\u0018\u0010\u000f\u001a\u00020\u00002\u0006\u0010\u0010\u001a\u00020\u0011H\u0086\u0002\u00a2\u0006\u0004\u0008\u0012\u0010\u0013J\u0018\u0010\u0014\u001a\u00020\u00002\u0006\u0010\u0010\u001a\u00020\u0011H\u0086\u0002\u00a2\u0006\u0004\u0008\u0015\u0010\u0013J\u0018\u0010\u0014\u001a\u00020\u00112\u0006\u0010\u0016\u001a\u00020\u0000H\u0086\u0002\u00a2\u0006\u0004\u0008\u0017\u0010\u0018J\u0011\u0010\u0019\u001a\u00020\u00072\u0006\u0010\u0016\u001a\u00020\u0000H\u0096\u0002J\u0013\u0010\u001a\u001a\u00020\u001b2\u0008\u0010\u0016\u001a\u0004\u0018\u00010\u001cH\u0096\u0002J\u0008\u0010\u001d\u001a\u00020\u0007H\u0016J\u0008\u0010\u001e\u001a\u00020\u001fH\u0016J\u0008\u0010 \u001a\u00020\u001cH\u0002J\u0019\u0010!\u001a\u00020\"2\n\u0010#\u001a\u00060$j\u0002`%H\u0002\u00a2\u0006\u0002\u0010&R\u0011\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\n\u0010\u000bR\u0011\u0010\u0006\u001a\u00020\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u000c\u0010\r\u00a8\u0006("
|
|
}
|
|
d2 = {
|
|
"Lkotlin/time/Instant;",
|
|
"",
|
|
"Ljava/io/Serializable;",
|
|
"Lkotlin/io/Serializable;",
|
|
"epochSeconds",
|
|
"",
|
|
"nanosecondsOfSecond",
|
|
"",
|
|
"<init>",
|
|
"(JI)V",
|
|
"getEpochSeconds",
|
|
"()J",
|
|
"getNanosecondsOfSecond",
|
|
"()I",
|
|
"toEpochMilliseconds",
|
|
"plus",
|
|
"duration",
|
|
"Lkotlin/time/Duration;",
|
|
"plus-LRDsOJo",
|
|
"(J)Lkotlin/time/Instant;",
|
|
"minus",
|
|
"minus-LRDsOJo",
|
|
"other",
|
|
"minus-UwyO8pc",
|
|
"(Lkotlin/time/Instant;)J",
|
|
"compareTo",
|
|
"equals",
|
|
"",
|
|
"",
|
|
"hashCode",
|
|
"toString",
|
|
"",
|
|
"writeReplace",
|
|
"readObject",
|
|
"",
|
|
"input",
|
|
"Ljava/io/ObjectInputStream;",
|
|
"Lkotlin/internal/ReadObjectParameterType;",
|
|
"(Ljava/io/ObjectInputStream;)V",
|
|
"Companion",
|
|
"kotlin-stdlib"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x2,
|
|
0x2,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "2.1"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/jvm/internal/SourceDebugExtension;
|
|
value = {
|
|
"SMAP\nInstant.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Instant.kt\nkotlin/time/Instant\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 3 Instant.kt\nkotlin/time/InstantKt\n+ 4 Duration.kt\nkotlin/time/Duration\n*L\n1#1,864:1\n1#2:865\n803#3,14:866\n786#3,6:880\n803#3,14:886\n786#3,6:900\n786#3,6:907\n548#4:906\n*S KotlinDebug\n*F\n+ 1 Instant.kt\nkotlin/time/Instant\n*L\n150#1:866,14\n153#1:880,6\n161#1:886,14\n164#1:900,6\n188#1:907,6\n184#1:906\n*E\n"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/time/ExperimentalTime;
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final Companion:Lkotlin/time/Instant$Companion;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private static final MAX:Lkotlin/time/Instant;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private static final MIN:Lkotlin/time/Instant;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field private final epochSeconds:J
|
|
|
|
.field private final nanosecondsOfSecond:I
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 4
|
|
|
|
.line 1
|
|
new-instance v0, Lkotlin/time/Instant$Companion;
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x0
|
|
|
|
.line 4
|
|
invoke-direct {v0, v1}, Lkotlin/time/Instant$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
sput-object v0, Lkotlin/time/Instant;->Companion:Lkotlin/time/Instant$Companion;
|
|
|
|
.line 8
|
|
.line 9
|
|
new-instance v0, Lkotlin/time/Instant;
|
|
|
|
.line 10
|
|
.line 11
|
|
const-wide v1, -0x701cefeb9bec00L
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
const/4 v3, 0x0
|
|
|
|
.line 17
|
|
invoke-direct {v0, v1, v2, v3}, Lkotlin/time/Instant;-><init>(JI)V
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
sput-object v0, Lkotlin/time/Instant;->MIN:Lkotlin/time/Instant;
|
|
|
|
.line 21
|
|
.line 22
|
|
new-instance v0, Lkotlin/time/Instant;
|
|
|
|
.line 23
|
|
.line 24
|
|
const-wide v1, 0x701cd2fa9578ffL
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
const v3, 0x3b9ac9ff
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
invoke-direct {v0, v1, v2, v3}, Lkotlin/time/Instant;-><init>(JI)V
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
sput-object v0, Lkotlin/time/Instant;->MAX:Lkotlin/time/Instant;
|
|
|
|
.line 36
|
|
.line 37
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(JI)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iput-wide p1, p0, Lkotlin/time/Instant;->epochSeconds:J
|
|
|
|
.line 5
|
|
.line 6
|
|
iput p3, p0, Lkotlin/time/Instant;->nanosecondsOfSecond:I
|
|
|
|
.line 7
|
|
.line 8
|
|
const-wide v0, -0x701cefeb9bec00L
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
cmp-long p3, v0, p1
|
|
|
|
.line 14
|
|
.line 15
|
|
if-gtz p3, :cond_0
|
|
|
|
.line 16
|
|
.line 17
|
|
const-wide v0, 0x701cd2fa957900L
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
cmp-long p1, p1, v0
|
|
|
|
.line 23
|
|
.line 24
|
|
if-gez p1, :cond_0
|
|
|
|
.line 25
|
|
.line 26
|
|
return-void
|
|
|
|
.line 27
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 28
|
|
.line 29
|
|
const-string p2, "Instant exceeds minimum or maximum instant"
|
|
|
|
.line 30
|
|
.line 31
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
throw p1
|
|
.end method
|
|
|
|
.method public static final synthetic access$getMAX$cp()Lkotlin/time/Instant;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Lkotlin/time/Instant;->MAX:Lkotlin/time/Instant;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final synthetic access$getMIN$cp()Lkotlin/time/Instant;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Lkotlin/time/Instant;->MIN:Lkotlin/time/Instant;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final readObject(Ljava/io/ObjectInputStream;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
new-instance p1, Ljava/io/InvalidObjectException;
|
|
|
|
.line 2
|
|
.line 3
|
|
const-string v0, "Deserialization is supported via proxy only"
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-direct {p1, v0}, Ljava/io/InvalidObjectException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
throw p1
|
|
.end method
|
|
|
|
.method private final writeReplace()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-static {p0}, Lkotlin/time/InstantJvmKt;->serializedInstant(Lkotlin/time/Instant;)Ljava/lang/Object;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic compareTo(Ljava/lang/Object;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
check-cast p1, Lkotlin/time/Instant;
|
|
|
|
invoke-virtual {p0, p1}, Lkotlin/time/Instant;->compareTo(Lkotlin/time/Instant;)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public compareTo(Lkotlin/time/Instant;)I
|
|
.locals 4
|
|
.param p1 # Lkotlin/time/Instant;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "other"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 2
|
|
iget-wide v0, p0, Lkotlin/time/Instant;->epochSeconds:J
|
|
|
|
iget-wide v2, p1, Lkotlin/time/Instant;->epochSeconds:J
|
|
|
|
invoke-static {v0, v1, v2, v3}, Lkotlin/jvm/internal/Intrinsics;->compare(JJ)I
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return v0
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget v0, p0, Lkotlin/time/Instant;->nanosecondsOfSecond:I
|
|
|
|
iget p1, p1, Lkotlin/time/Instant;->nanosecondsOfSecond:I
|
|
|
|
invoke-static {v0, p1}, Lkotlin/jvm/internal/Intrinsics;->compare(II)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 4
|
|
.param p1 # Ljava/lang/Object;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
if-eq p0, p1, :cond_1
|
|
|
|
.line 2
|
|
.line 3
|
|
instance-of v0, p1, Lkotlin/time/Instant;
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
iget-wide v0, p0, Lkotlin/time/Instant;->epochSeconds:J
|
|
|
|
.line 8
|
|
.line 9
|
|
check-cast p1, Lkotlin/time/Instant;
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-wide v2, p1, Lkotlin/time/Instant;->epochSeconds:J
|
|
|
|
.line 12
|
|
.line 13
|
|
cmp-long v0, v0, v2
|
|
|
|
.line 14
|
|
.line 15
|
|
if-nez v0, :cond_0
|
|
|
|
.line 16
|
|
.line 17
|
|
iget v0, p0, Lkotlin/time/Instant;->nanosecondsOfSecond:I
|
|
|
|
.line 18
|
|
.line 19
|
|
iget p1, p1, Lkotlin/time/Instant;->nanosecondsOfSecond:I
|
|
|
|
.line 20
|
|
.line 21
|
|
if-ne v0, p1, :cond_0
|
|
|
|
.line 22
|
|
.line 23
|
|
goto :goto_0
|
|
|
|
.line 24
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
.line 25
|
|
return p1
|
|
|
|
.line 26
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
.line 27
|
|
return p1
|
|
.end method
|
|
|
|
.method public final getEpochSeconds()J
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-wide v0, p0, Lkotlin/time/Instant;->epochSeconds:J
|
|
|
|
.line 2
|
|
.line 3
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final getNanosecondsOfSecond()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lkotlin/time/Instant;->nanosecondsOfSecond:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 4
|
|
|
|
.line 1
|
|
iget-wide v0, p0, Lkotlin/time/Instant;->epochSeconds:J
|
|
|
|
.line 2
|
|
.line 3
|
|
const/16 v2, 0x20
|
|
|
|
.line 4
|
|
.line 5
|
|
ushr-long v2, v0, v2
|
|
|
|
.line 6
|
|
.line 7
|
|
xor-long/2addr v0, v2
|
|
|
|
.line 8
|
|
long-to-int v0, v0
|
|
|
|
.line 9
|
|
iget v1, p0, Lkotlin/time/Instant;->nanosecondsOfSecond:I
|
|
|
|
.line 10
|
|
.line 11
|
|
mul-int/lit8 v1, v1, 0x33
|
|
|
|
.line 12
|
|
.line 13
|
|
add-int/2addr v1, v0
|
|
|
|
.line 14
|
|
return v1
|
|
.end method
|
|
|
|
.method public final minus-LRDsOJo(J)Lkotlin/time/Instant;
|
|
.locals 0
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-static {p1, p2}, Lkotlin/time/Duration;->unaryMinus-UwyO8pc(J)J
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-wide p1
|
|
|
|
.line 5
|
|
invoke-virtual {p0, p1, p2}, Lkotlin/time/Instant;->plus-LRDsOJo(J)Lkotlin/time/Instant;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object p1
|
|
|
|
.line 9
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final minus-UwyO8pc(Lkotlin/time/Instant;)J
|
|
.locals 4
|
|
.param p1 # Lkotlin/time/Instant;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
const-string v0, "other"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
sget-object v0, Lkotlin/time/Duration;->Companion:Lkotlin/time/Duration$Companion;
|
|
|
|
.line 7
|
|
.line 8
|
|
iget-wide v0, p0, Lkotlin/time/Instant;->epochSeconds:J
|
|
|
|
.line 9
|
|
.line 10
|
|
iget-wide v2, p1, Lkotlin/time/Instant;->epochSeconds:J
|
|
|
|
.line 11
|
|
.line 12
|
|
sub-long/2addr v0, v2
|
|
|
|
.line 13
|
|
sget-object v2, Lkotlin/time/DurationUnit;->SECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-static {v0, v1, v2}, Lkotlin/time/DurationKt;->toDuration(JLkotlin/time/DurationUnit;)J
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result-wide v0
|
|
|
|
.line 19
|
|
iget v2, p0, Lkotlin/time/Instant;->nanosecondsOfSecond:I
|
|
|
|
.line 20
|
|
.line 21
|
|
iget p1, p1, Lkotlin/time/Instant;->nanosecondsOfSecond:I
|
|
|
|
.line 22
|
|
.line 23
|
|
sub-int/2addr v2, p1
|
|
|
|
.line 24
|
|
sget-object p1, Lkotlin/time/DurationUnit;->NANOSECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
.line 25
|
|
.line 26
|
|
invoke-static {v2, p1}, Lkotlin/time/DurationKt;->toDuration(ILkotlin/time/DurationUnit;)J
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
move-result-wide v2
|
|
|
|
.line 30
|
|
invoke-static {v0, v1, v2, v3}, Lkotlin/time/Duration;->plus-LRDsOJo(JJ)J
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
move-result-wide v0
|
|
|
|
.line 34
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final plus-LRDsOJo(J)Lkotlin/time/Instant;
|
|
.locals 11
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-static {p1, p2}, Lkotlin/time/Duration;->getInWholeSeconds-impl(J)J
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-wide v0
|
|
|
|
.line 5
|
|
invoke-static {p1, p2}, Lkotlin/time/Duration;->getNanosecondsComponent-impl(J)I
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result v2
|
|
|
|
.line 9
|
|
const-wide/16 v3, 0x0
|
|
|
|
.line 10
|
|
.line 11
|
|
cmp-long v5, v0, v3
|
|
|
|
.line 12
|
|
.line 13
|
|
if-nez v5, :cond_0
|
|
|
|
.line 14
|
|
.line 15
|
|
if-nez v2, :cond_0
|
|
|
|
.line 16
|
|
.line 17
|
|
return-object p0
|
|
|
|
.line 18
|
|
:cond_0
|
|
iget-wide v5, p0, Lkotlin/time/Instant;->epochSeconds:J
|
|
|
|
.line 19
|
|
.line 20
|
|
add-long v7, v5, v0
|
|
|
|
.line 21
|
|
.line 22
|
|
xor-long v9, v5, v7
|
|
|
|
.line 23
|
|
.line 24
|
|
cmp-long v9, v9, v3
|
|
|
|
.line 25
|
|
.line 26
|
|
if-gez v9, :cond_2
|
|
|
|
.line 27
|
|
.line 28
|
|
xor-long/2addr v0, v5
|
|
|
|
.line 29
|
|
cmp-long v0, v0, v3
|
|
|
|
.line 30
|
|
.line 31
|
|
if-ltz v0, :cond_2
|
|
|
|
.line 32
|
|
.line 33
|
|
invoke-static {p1, p2}, Lkotlin/time/Duration;->isPositive-impl(J)Z
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
move-result p1
|
|
|
|
.line 37
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 38
|
|
.line 39
|
|
sget-object p1, Lkotlin/time/Instant;->MAX:Lkotlin/time/Instant;
|
|
|
|
.line 40
|
|
.line 41
|
|
return-object p1
|
|
|
|
.line 42
|
|
:cond_1
|
|
sget-object p1, Lkotlin/time/Instant;->MIN:Lkotlin/time/Instant;
|
|
|
|
.line 43
|
|
.line 44
|
|
return-object p1
|
|
|
|
.line 45
|
|
:cond_2
|
|
iget p1, p0, Lkotlin/time/Instant;->nanosecondsOfSecond:I
|
|
|
|
.line 46
|
|
.line 47
|
|
add-int/2addr p1, v2
|
|
|
|
.line 48
|
|
sget-object p2, Lkotlin/time/Instant;->Companion:Lkotlin/time/Instant$Companion;
|
|
|
|
.line 49
|
|
.line 50
|
|
invoke-virtual {p2, v7, v8, p1}, Lkotlin/time/Instant$Companion;->fromEpochSeconds(JI)Lkotlin/time/Instant;
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
move-result-object p1
|
|
|
|
.line 54
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final toEpochMilliseconds()J
|
|
.locals 12
|
|
|
|
.line 1
|
|
iget-wide v0, p0, Lkotlin/time/Instant;->epochSeconds:J
|
|
|
|
.line 2
|
|
.line 3
|
|
const-wide/16 v2, 0x0
|
|
|
|
.line 4
|
|
.line 5
|
|
cmp-long v4, v0, v2
|
|
|
|
.line 6
|
|
.line 7
|
|
const v5, 0xf4240
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
const-wide/16 v6, 0x3e8
|
|
|
|
.line 11
|
|
.line 12
|
|
const-wide/16 v8, 0x1
|
|
|
|
.line 13
|
|
.line 14
|
|
if-ltz v4, :cond_4
|
|
|
|
.line 15
|
|
.line 16
|
|
cmp-long v4, v0, v8
|
|
|
|
.line 17
|
|
.line 18
|
|
const-wide v8, 0x7fffffffffffffffL
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
if-nez v4, :cond_0
|
|
|
|
.line 24
|
|
.line 25
|
|
goto :goto_0
|
|
|
|
.line 26
|
|
:cond_0
|
|
cmp-long v4, v0, v2
|
|
|
|
.line 27
|
|
.line 28
|
|
if-eqz v4, :cond_2
|
|
|
|
.line 29
|
|
.line 30
|
|
mul-long v10, v0, v6
|
|
|
|
.line 31
|
|
.line 32
|
|
div-long v6, v10, v6
|
|
|
|
.line 33
|
|
.line 34
|
|
cmp-long v0, v6, v0
|
|
|
|
.line 35
|
|
.line 36
|
|
if-nez v0, :cond_1
|
|
|
|
.line 37
|
|
.line 38
|
|
move-wide v6, v10
|
|
|
|
.line 39
|
|
goto :goto_0
|
|
|
|
.line 40
|
|
:cond_1
|
|
return-wide v8
|
|
|
|
.line 41
|
|
:cond_2
|
|
move-wide v6, v2
|
|
|
|
.line 42
|
|
:goto_0
|
|
iget v0, p0, Lkotlin/time/Instant;->nanosecondsOfSecond:I
|
|
|
|
.line 43
|
|
.line 44
|
|
div-int/2addr v0, v5
|
|
|
|
.line 45
|
|
int-to-long v0, v0
|
|
|
|
.line 46
|
|
add-long v4, v6, v0
|
|
|
|
.line 47
|
|
.line 48
|
|
xor-long v10, v6, v4
|
|
|
|
.line 49
|
|
.line 50
|
|
cmp-long v10, v10, v2
|
|
|
|
.line 51
|
|
.line 52
|
|
if-gez v10, :cond_3
|
|
|
|
.line 53
|
|
.line 54
|
|
xor-long/2addr v0, v6
|
|
|
|
.line 55
|
|
cmp-long v0, v0, v2
|
|
|
|
.line 56
|
|
.line 57
|
|
if-ltz v0, :cond_3
|
|
|
|
.line 58
|
|
.line 59
|
|
return-wide v8
|
|
|
|
.line 60
|
|
:cond_3
|
|
return-wide v4
|
|
|
|
.line 61
|
|
:cond_4
|
|
add-long/2addr v0, v8
|
|
|
|
.line 62
|
|
cmp-long v4, v0, v8
|
|
|
|
.line 63
|
|
.line 64
|
|
const-wide/high16 v8, -0x8000000000000000L
|
|
|
|
.line 65
|
|
.line 66
|
|
if-nez v4, :cond_5
|
|
|
|
.line 67
|
|
.line 68
|
|
goto :goto_1
|
|
|
|
.line 69
|
|
:cond_5
|
|
cmp-long v4, v0, v2
|
|
|
|
.line 70
|
|
.line 71
|
|
if-eqz v4, :cond_7
|
|
|
|
.line 72
|
|
.line 73
|
|
mul-long v10, v0, v6
|
|
|
|
.line 74
|
|
.line 75
|
|
div-long v6, v10, v6
|
|
|
|
.line 76
|
|
.line 77
|
|
cmp-long v0, v6, v0
|
|
|
|
.line 78
|
|
.line 79
|
|
if-nez v0, :cond_6
|
|
|
|
.line 80
|
|
.line 81
|
|
move-wide v6, v10
|
|
|
|
.line 82
|
|
goto :goto_1
|
|
|
|
.line 83
|
|
:cond_6
|
|
return-wide v8
|
|
|
|
.line 84
|
|
:cond_7
|
|
move-wide v6, v2
|
|
|
|
.line 85
|
|
:goto_1
|
|
iget v0, p0, Lkotlin/time/Instant;->nanosecondsOfSecond:I
|
|
|
|
.line 86
|
|
.line 87
|
|
div-int/2addr v0, v5
|
|
|
|
.line 88
|
|
add-int/lit16 v0, v0, -0x3e8
|
|
|
|
.line 89
|
|
.line 90
|
|
int-to-long v0, v0
|
|
|
|
.line 91
|
|
add-long v4, v6, v0
|
|
|
|
.line 92
|
|
.line 93
|
|
xor-long v10, v6, v4
|
|
|
|
.line 94
|
|
.line 95
|
|
cmp-long v10, v10, v2
|
|
|
|
.line 96
|
|
.line 97
|
|
if-gez v10, :cond_8
|
|
|
|
.line 98
|
|
.line 99
|
|
xor-long/2addr v0, v6
|
|
|
|
.line 100
|
|
cmp-long v0, v0, v2
|
|
|
|
.line 101
|
|
.line 102
|
|
if-ltz v0, :cond_8
|
|
|
|
.line 103
|
|
.line 104
|
|
return-wide v8
|
|
|
|
.line 105
|
|
:cond_8
|
|
return-wide v4
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 1
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-static {p0}, Lkotlin/time/InstantKt;->access$formatIso(Lkotlin/time/Instant;)Ljava/lang/String;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
return-object v0
|
|
.end method
|