2020-10-05 23:18:16 +00:00
|
|
|
.class public final Lh0/z/a;
|
2020-09-16 23:45:23 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "Buffer.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field public static final a:[B
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
const-string v0, "0123456789abcdef"
|
|
|
|
|
|
|
|
const-string v1, "$this$asUtf8ToByteArray"
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {v0, v1}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object v1, Lc0/t/a;->a:Ljava/nio/charset/Charset;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v1, "(this as java.lang.String).getBytes(charset)"
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {v0, v1}, Lc0/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
sput-object v0, Lh0/z/a;->a:[B
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
.method public static final a(Lh0/e;J)Ljava/lang/String;
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 6
|
|
|
|
|
|
|
|
const-string v0, "$this$readUtf8Line"
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {p0, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const-wide/16 v0, 0x1
|
|
|
|
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
|
|
|
|
cmp-long v4, p1, v2
|
|
|
|
|
|
|
|
if-lez v4, :cond_0
|
|
|
|
|
|
|
|
sub-long v2, p1, v0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {p0, v2, v3}, Lh0/e;->e(J)B
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
const/16 v5, 0xd
|
|
|
|
|
|
|
|
int-to-byte v5, v5
|
|
|
|
|
|
|
|
if-ne v4, v5, :cond_0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {p0, v2, v3}, Lh0/e;->v(J)Ljava/lang/String;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-wide/16 v0, 0x2
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {p0, v0, v1}, Lh0/e;->skip(J)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {p0, p1, p2}, Lh0/e;->v(J)Ljava/lang/String;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {p0, v0, v1}, Lh0/e;->skip(J)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
.method public static final b(Lh0/e;Lh0/o;Z)I
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 17
|
|
|
|
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
|
|
|
|
const-string v2, "$this$selectPrefix"
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {v0, v2}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const-string v2, "options"
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {v1, v2}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v0, v0, Lh0/e;->d:Lh0/s;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const/4 v2, -0x2
|
|
|
|
|
|
|
|
const/4 v3, -0x1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_11
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v4, v0, Lh0/s;->a:[B
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget v5, v0, Lh0/s;->b:I
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget v6, v0, Lh0/s;->c:I
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v1, v1, Lh0/o;->e:[I
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
move-object v9, v0
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
const/4 v10, -0x1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
add-int/lit8 v11, v8, 0x1
|
|
|
|
|
|
|
|
aget v8, v1, v8
|
|
|
|
|
|
|
|
add-int/lit8 v12, v11, 0x1
|
|
|
|
|
|
|
|
aget v11, v1, v11
|
|
|
|
|
|
|
|
if-eq v11, v3, :cond_0
|
|
|
|
|
|
|
|
move v10, v11
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
if-nez v9, :cond_1
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 v11, 0x0
|
|
|
|
|
|
|
|
if-gez v8, :cond_b
|
|
|
|
|
|
|
|
mul-int/lit8 v8, v8, -0x1
|
|
|
|
|
|
|
|
add-int v13, v8, v12
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
add-int/lit8 v8, v5, 0x1
|
|
|
|
|
|
|
|
aget-byte v5, v4, v5
|
|
|
|
|
|
|
|
and-int/lit16 v5, v5, 0xff
|
|
|
|
|
|
|
|
add-int/lit8 v14, v12, 0x1
|
|
|
|
|
|
|
|
aget v12, v1, v12
|
|
|
|
|
|
|
|
if-eq v5, v12, :cond_2
|
|
|
|
|
|
|
|
return v10
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-ne v14, v13, :cond_3
|
|
|
|
|
|
|
|
const/4 v5, 0x1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
if-ne v8, v6, :cond_9
|
|
|
|
|
|
|
|
if-eqz v9, :cond_8
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v4, v9, Lh0/s;->f:Lh0/s;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_7
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget v6, v4, Lh0/s;->b:I
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v8, v4, Lh0/s;->a:[B
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget v9, v4, Lh0/s;->c:I
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-ne v4, v0, :cond_6
|
|
|
|
|
|
|
|
if-nez v5, :cond_5
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
return v10
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
move-object v4, v8
|
|
|
|
|
|
|
|
move-object v8, v11
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
move-object/from16 v16, v8
|
|
|
|
|
|
|
|
move-object v8, v4
|
|
|
|
|
|
|
|
move-object/from16 v4, v16
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_7
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {}, Lc0/n/c/j;->throwNpe()V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
throw v11
|
|
|
|
|
|
|
|
:cond_8
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {}, Lc0/n/c/j;->throwNpe()V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
throw v11
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
move-object/from16 v16, v9
|
|
|
|
|
|
|
|
move v9, v6
|
|
|
|
|
|
|
|
move v6, v8
|
|
|
|
|
|
|
|
move-object/from16 v8, v16
|
|
|
|
|
|
|
|
:goto_4
|
|
|
|
if-eqz v5, :cond_a
|
|
|
|
|
|
|
|
aget v5, v1, v14
|
|
|
|
|
|
|
|
move v13, v6
|
|
|
|
|
|
|
|
move v6, v9
|
|
|
|
|
|
|
|
move-object v9, v8
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
move v5, v6
|
|
|
|
|
|
|
|
move v6, v9
|
|
|
|
|
|
|
|
move v12, v14
|
|
|
|
|
|
|
|
move-object v9, v8
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_b
|
|
|
|
add-int/lit8 v13, v5, 0x1
|
|
|
|
|
|
|
|
aget-byte v5, v4, v5
|
|
|
|
|
|
|
|
and-int/lit16 v5, v5, 0xff
|
|
|
|
|
|
|
|
add-int v14, v12, v8
|
|
|
|
|
|
|
|
:goto_5
|
|
|
|
if-ne v12, v14, :cond_c
|
|
|
|
|
|
|
|
return v10
|
|
|
|
|
|
|
|
:cond_c
|
|
|
|
aget v15, v1, v12
|
|
|
|
|
|
|
|
if-ne v5, v15, :cond_10
|
|
|
|
|
|
|
|
add-int/2addr v12, v8
|
|
|
|
|
|
|
|
aget v5, v1, v12
|
|
|
|
|
|
|
|
if-ne v13, v6, :cond_e
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v9, v9, Lh0/s;->f:Lh0/s;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-eqz v9, :cond_d
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget v4, v9, Lh0/s;->b:I
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v6, v9, Lh0/s;->a:[B
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget v8, v9, Lh0/s;->c:I
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move v13, v4
|
|
|
|
|
|
|
|
move-object v4, v6
|
|
|
|
|
|
|
|
move v6, v8
|
|
|
|
|
|
|
|
if-ne v9, v0, :cond_e
|
|
|
|
|
|
|
|
move-object v9, v11
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:cond_d
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {}, Lc0/n/c/j;->throwNpe()V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
throw v11
|
|
|
|
|
|
|
|
:cond_e
|
|
|
|
:goto_6
|
|
|
|
if-ltz v5, :cond_f
|
|
|
|
|
|
|
|
return v5
|
|
|
|
|
|
|
|
:cond_f
|
|
|
|
neg-int v8, v5
|
|
|
|
|
|
|
|
move v5, v13
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:cond_10
|
|
|
|
add-int/lit8 v12, v12, 0x1
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_11
|
|
|
|
if-eqz p2, :cond_12
|
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_12
|
|
|
|
const/4 v2, -0x1
|
|
|
|
|
|
|
|
:goto_7
|
|
|
|
return v2
|
|
|
|
.end method
|