2020-02-20 19:33:18 +00:00
|
|
|
.class public final Ld0/a;
|
2020-03-27 22:23:51 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "-Base64.kt"
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
# static fields
|
|
|
|
.field public static final a:[B
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-03-27 22:23:51 +00:00
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 2
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v0, Lokio/ByteString;->g:Lokio/ByteString$a;
|
|
|
|
|
|
|
|
const-string v1, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lokio/ByteString$a;->b(Ljava/lang/String;)Lokio/ByteString;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lokio/ByteString;->b()[B
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
sput-object v0, Ld0/a;->a:[B
|
|
|
|
|
|
|
|
sget-object v0, Lokio/ByteString;->g:Lokio/ByteString$a;
|
|
|
|
|
|
|
|
const-string v1, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lokio/ByteString$a;->b(Ljava/lang/String;)Lokio/ByteString;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lokio/ByteString;->b()[B
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.method public static a([B[BI)Ljava/lang/String;
|
|
|
|
.locals 10
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
and-int/2addr p2, v0
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
if-eqz p2, :cond_0
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object p1, Ld0/a;->a:[B
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 p2, 0x0
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
if-eqz p0, :cond_5
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
if-eqz p1, :cond_4
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
array-length p2, p0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const/4 v1, 0x2
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
add-int/2addr p2, v1
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
div-int/lit8 p2, p2, 0x3
|
|
|
|
|
|
|
|
mul-int/lit8 p2, p2, 0x4
|
|
|
|
|
|
|
|
new-array p2, p2, [B
|
|
|
|
|
|
|
|
array-length v2, p0
|
|
|
|
|
|
|
|
array-length v3, p0
|
|
|
|
|
|
|
|
rem-int/lit8 v3, v3, 0x3
|
|
|
|
|
|
|
|
sub-int/2addr v2, v3
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
:goto_0
|
2020-03-27 22:23:51 +00:00
|
|
|
if-ge v3, v2, :cond_1
|
|
|
|
|
|
|
|
add-int/lit8 v5, v3, 0x1
|
|
|
|
|
|
|
|
aget-byte v3, p0, v3
|
|
|
|
|
|
|
|
add-int/lit8 v6, v5, 0x1
|
|
|
|
|
|
|
|
aget-byte v5, p0, v5
|
|
|
|
|
|
|
|
add-int/lit8 v7, v6, 0x1
|
|
|
|
|
|
|
|
aget-byte v6, p0, v6
|
|
|
|
|
|
|
|
add-int/lit8 v8, v4, 0x1
|
|
|
|
|
|
|
|
and-int/lit16 v9, v3, 0xff
|
|
|
|
|
|
|
|
shr-int/2addr v9, v1
|
|
|
|
|
|
|
|
aget-byte v9, p1, v9
|
|
|
|
|
|
|
|
aput-byte v9, p2, v4
|
|
|
|
|
|
|
|
add-int/lit8 v4, v8, 0x1
|
|
|
|
|
|
|
|
and-int/lit8 v3, v3, 0x3
|
|
|
|
|
|
|
|
shl-int/lit8 v3, v3, 0x4
|
|
|
|
|
|
|
|
and-int/lit16 v9, v5, 0xff
|
|
|
|
|
|
|
|
shr-int/lit8 v9, v9, 0x4
|
|
|
|
|
|
|
|
or-int/2addr v3, v9
|
|
|
|
|
|
|
|
aget-byte v3, p1, v3
|
|
|
|
|
|
|
|
aput-byte v3, p2, v8
|
|
|
|
|
|
|
|
add-int/lit8 v3, v4, 0x1
|
|
|
|
|
|
|
|
and-int/lit8 v5, v5, 0xf
|
|
|
|
|
|
|
|
shl-int/2addr v5, v1
|
|
|
|
|
|
|
|
and-int/lit16 v8, v6, 0xff
|
|
|
|
|
|
|
|
shr-int/lit8 v8, v8, 0x6
|
|
|
|
|
|
|
|
or-int/2addr v5, v8
|
|
|
|
|
|
|
|
aget-byte v5, p1, v5
|
|
|
|
|
|
|
|
aput-byte v5, p2, v4
|
|
|
|
|
|
|
|
add-int/lit8 v4, v3, 0x1
|
|
|
|
|
|
|
|
and-int/lit8 v5, v6, 0x3f
|
|
|
|
|
|
|
|
aget-byte v5, p1, v5
|
|
|
|
|
|
|
|
aput-byte v5, p2, v3
|
|
|
|
|
|
|
|
move v3, v7
|
|
|
|
|
|
|
|
goto :goto_0
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
:cond_1
|
2020-03-27 22:23:51 +00:00
|
|
|
array-length v5, p0
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sub-int/2addr v5, v2
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const/16 v2, 0x3d
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
if-eq v5, v0, :cond_3
|
|
|
|
|
|
|
|
if-eq v5, v1, :cond_2
|
|
|
|
|
|
|
|
goto :goto_1
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
:cond_2
|
2020-03-27 22:23:51 +00:00
|
|
|
add-int/lit8 v0, v3, 0x1
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
aget-byte v3, p0, v3
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
aget-byte p0, p0, v0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
add-int/lit8 v0, v4, 0x1
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
and-int/lit16 v5, v3, 0xff
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
shr-int/2addr v5, v1
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
aget-byte v5, p1, v5
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
aput-byte v5, p2, v4
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
add-int/lit8 v4, v0, 0x1
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
and-int/lit8 v3, v3, 0x3
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
shl-int/lit8 v3, v3, 0x4
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
and-int/lit16 v5, p0, 0xff
|
|
|
|
|
|
|
|
shr-int/lit8 v5, v5, 0x4
|
|
|
|
|
|
|
|
or-int/2addr v3, v5
|
|
|
|
|
|
|
|
aget-byte v3, p1, v3
|
|
|
|
|
|
|
|
aput-byte v3, p2, v0
|
|
|
|
|
|
|
|
add-int/lit8 v0, v4, 0x1
|
|
|
|
|
|
|
|
and-int/lit8 p0, p0, 0xf
|
|
|
|
|
|
|
|
shl-int/2addr p0, v1
|
|
|
|
|
|
|
|
aget-byte p0, p1, p0
|
|
|
|
|
|
|
|
aput-byte p0, p2, v4
|
|
|
|
|
|
|
|
int-to-byte p0, v2
|
|
|
|
|
|
|
|
aput-byte p0, p2, v0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
aget-byte p0, p0, v3
|
|
|
|
|
|
|
|
add-int/lit8 v0, v4, 0x1
|
|
|
|
|
|
|
|
and-int/lit16 v3, p0, 0xff
|
|
|
|
|
|
|
|
shr-int/lit8 v1, v3, 0x2
|
|
|
|
|
|
|
|
aget-byte v1, p1, v1
|
|
|
|
|
|
|
|
aput-byte v1, p2, v4
|
|
|
|
|
|
|
|
add-int/lit8 v1, v0, 0x1
|
|
|
|
|
|
|
|
and-int/lit8 p0, p0, 0x3
|
|
|
|
|
|
|
|
shl-int/lit8 p0, p0, 0x4
|
|
|
|
|
|
|
|
aget-byte p0, p1, p0
|
|
|
|
|
|
|
|
aput-byte p0, p2, v0
|
|
|
|
|
|
|
|
add-int/lit8 p0, v1, 0x1
|
|
|
|
|
|
|
|
int-to-byte p1, v2
|
|
|
|
|
|
|
|
aput-byte p1, p2, v1
|
|
|
|
|
|
|
|
aput-byte p1, p2, p0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-static {p2}, Lz/a/a2/w;->b([B)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const-string p0, "map"
|
|
|
|
|
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p2
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
const-string p0, "$receiver"
|
|
|
|
|
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
throw p2
|
2020-02-20 19:33:18 +00:00
|
|
|
.end method
|