apkfuckery/com.discord/smali_classes2/d0/n$a.smali

1054 lines
19 KiB
Smali
Raw Normal View History

2020-05-11 19:22:21 +00:00
.class public final Ld0/n$a;
2020-03-27 22:23:51 +00:00
.super Ljava/lang/Object;
.source "Options.kt"
2019-07-24 11:27:29 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-05-11 19:22:21 +00:00
value = Ld0/n;
2019-07-24 11:27:29 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2020-03-27 22:23:51 +00:00
accessFlags = 0x19
2019-07-24 11:27:29 +00:00
name = "a"
.end annotation
# direct methods
2020-03-27 22:23:51 +00:00
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2019-07-24 11:27:29 +00:00
.locals 0
2020-03-27 22:23:51 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-07-24 11:27:29 +00:00
return-void
.end method
# virtual methods
2020-05-11 19:22:21 +00:00
.method public final a(Ld0/e;)J
2020-03-27 22:23:51 +00:00
.locals 4
2019-07-24 11:27:29 +00:00
2020-05-11 19:22:21 +00:00
iget-wide v0, p1, Ld0/e;->e:J
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
const/4 p1, 0x4
2020-03-26 05:26:27 +00:00
2020-03-27 22:23:51 +00:00
int-to-long v2, p1
div-long/2addr v0, v2
2019-07-24 11:27:29 +00:00
return-wide v0
.end method
2020-05-11 19:22:21 +00:00
.method public final varargs a([Lokio/ByteString;)Ld0/n;
2020-03-27 22:23:51 +00:00
.locals 13
const/4 v0, 0x0
if-eqz p1, :cond_13
array-length v1, p1
const/4 v2, 0x0
if-nez v1, :cond_0
const/4 v1, 0x1
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
if-eqz v1, :cond_1
2020-05-11 19:22:21 +00:00
new-instance p1, Ld0/n;
2020-03-27 22:23:51 +00:00
new-array v1, v2, [Lokio/ByteString;
const/4 v2, 0x2
new-array v2, v2, [I
fill-array-data v2, :array_0
2020-05-11 19:22:21 +00:00
invoke-direct {p1, v1, v2, v0}, Ld0/n;-><init>([Lokio/ByteString;[ILkotlin/jvm/internal/DefaultConstructorMarker;)V
2020-03-27 22:23:51 +00:00
return-object p1
:cond_1
2020-05-11 19:22:21 +00:00
invoke-static {p1}, Lf/o/a/j/a;->toMutableList([Ljava/lang/Object;)Ljava/util/List;
2020-03-27 22:23:51 +00:00
move-result-object v8
2020-05-11 19:22:21 +00:00
invoke-static {v8}, Lf/o/a/j/a;->sort(Ljava/util/List;)V
2020-03-27 22:23:51 +00:00
new-instance v1, Ljava/util/ArrayList;
array-length v3, p1
invoke-direct {v1, v3}, Ljava/util/ArrayList;-><init>(I)V
array-length v3, p1
const/4 v4, 0x0
:goto_1
if-ge v4, v3, :cond_2
aget-object v5, p1, v4
const/4 v5, -0x1
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v5
invoke-interface {v1, v5}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
add-int/lit8 v4, v4, 0x1
goto :goto_1
:cond_2
new-array v3, v2, [Ljava/lang/Integer;
invoke-interface {v1, v3}, Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object v1
if-eqz v1, :cond_12
check-cast v1, [Ljava/lang/Integer;
array-length v3, v1
invoke-static {v1, v3}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
move-result-object v1
check-cast v1, [Ljava/lang/Integer;
2020-05-11 19:22:21 +00:00
invoke-static {v1}, Lf/o/a/j/a;->mutableListOf([Ljava/lang/Object;)Ljava/util/List;
2020-03-27 22:23:51 +00:00
move-result-object v11
array-length v1, p1
const/4 v3, 0x0
const/4 v4, 0x0
:goto_2
if-ge v3, v1, :cond_8
aget-object v5, p1, v3
add-int/lit8 v6, v4, 0x1
invoke-interface {v8}, Ljava/util/List;->size()I
move-result v7
invoke-interface {v8}, Ljava/util/List;->size()I
move-result v9
const-string v10, ")."
if-ltz v7, :cond_7
if-gt v7, v9, :cond_6
add-int/lit8 v7, v7, -0x1
const/4 v9, 0x0
:goto_3
if-gt v9, v7, :cond_4
add-int v10, v9, v7
ushr-int/lit8 v10, v10, 0x1
invoke-interface {v8, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v12
check-cast v12, Ljava/lang/Comparable;
2020-05-11 19:22:21 +00:00
invoke-static {v12, v5}, Lf/o/a/j/a;->compareValues(Ljava/lang/Comparable;Ljava/lang/Comparable;)I
2020-03-27 22:23:51 +00:00
move-result v12
if-gez v12, :cond_3
add-int/lit8 v9, v10, 0x1
goto :goto_3
:cond_3
if-lez v12, :cond_5
add-int/lit8 v7, v10, -0x1
goto :goto_3
:cond_4
add-int/lit8 v9, v9, 0x1
neg-int v10, v9
:cond_5
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v4
invoke-interface {v11, v10, v4}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v3, v3, 0x1
move v4, v6
goto :goto_2
:cond_6
new-instance p1, Ljava/lang/IndexOutOfBoundsException;
const-string v0, "toIndex ("
const-string v1, ") is greater than size ("
2020-05-11 19:22:21 +00:00
invoke-static {v0, v7, v1, v9, v10}, Lf/e/b/a/a;->a(Ljava/lang/String;ILjava/lang/String;ILjava/lang/String;)Ljava/lang/String;
2020-03-27 22:23:51 +00:00
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
throw p1
:cond_7
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string v0, "fromIndex ("
const-string v1, ") is greater than toIndex ("
2020-05-11 19:22:21 +00:00
invoke-static {v0, v2, v1, v7, v10}, Lf/e/b/a/a;->a(Ljava/lang/String;ILjava/lang/String;ILjava/lang/String;)Ljava/lang/String;
2020-03-27 22:23:51 +00:00
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
:cond_8
invoke-interface {v8, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lokio/ByteString;
invoke-virtual {v1}, Lokio/ByteString;->j()I
move-result v1
if-lez v1, :cond_9
const/4 v1, 0x1
goto :goto_4
:cond_9
const/4 v1, 0x0
:goto_4
if-eqz v1, :cond_11
const/4 v1, 0x0
:goto_5
invoke-interface {v8}, Ljava/util/List;->size()I
move-result v3
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
if-ge v1, v3, :cond_f
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
invoke-interface {v8, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lokio/ByteString;
add-int/lit8 v4, v1, 0x1
move v5, v4
:goto_6
invoke-interface {v8}, Ljava/util/List;->size()I
move-result v6
if-ge v5, v6, :cond_e
invoke-interface {v8, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v6
check-cast v6, Lokio/ByteString;
invoke-virtual {v6, v3}, Lokio/ByteString;->b(Lokio/ByteString;)Z
move-result v7
if-nez v7, :cond_a
goto :goto_8
:cond_a
invoke-virtual {v6}, Lokio/ByteString;->j()I
move-result v7
invoke-virtual {v3}, Lokio/ByteString;->j()I
move-result v9
if-eq v7, v9, :cond_b
const/4 v7, 0x1
goto :goto_7
:cond_b
const/4 v7, 0x0
:goto_7
if-eqz v7, :cond_d
invoke-interface {v11, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v6
check-cast v6, Ljava/lang/Number;
invoke-virtual {v6}, Ljava/lang/Number;->intValue()I
move-result v6
invoke-interface {v11, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v7
check-cast v7, Ljava/lang/Number;
invoke-virtual {v7}, Ljava/lang/Number;->intValue()I
move-result v7
if-le v6, v7, :cond_c
invoke-interface {v8, v5}, Ljava/util/List;->remove(I)Ljava/lang/Object;
invoke-interface {v11, v5}, Ljava/util/List;->remove(I)Ljava/lang/Object;
goto :goto_6
:cond_c
add-int/lit8 v5, v5, 0x1
goto :goto_6
:cond_d
new-instance p1, Ljava/lang/StringBuilder;
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
const-string v0, "duplicate option: "
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
new-instance v0, Ljava/lang/IllegalArgumentException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
:cond_e
:goto_8
move v1, v4
goto :goto_5
:cond_f
2020-05-11 19:22:21 +00:00
new-instance v1, Ld0/e;
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
invoke-direct {v1}, Ld0/e;-><init>()V
2020-03-27 22:23:51 +00:00
const-wide/16 v4, 0x0
const/4 v7, 0x0
const/4 v9, 0x0
invoke-interface {v8}, Ljava/util/List;->size()I
move-result v10
move-object v3, p0
move-object v6, v1
2020-05-11 19:22:21 +00:00
invoke-virtual/range {v3 .. v11}, Ld0/n$a;->a(JLd0/e;ILjava/util/List;IILjava/util/List;)V
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
invoke-virtual {p0, v1}, Ld0/n$a;->a(Ld0/e;)J
2020-03-27 22:23:51 +00:00
move-result-wide v3
long-to-int v4, v3
new-array v3, v4, [I
:goto_9
2020-05-11 19:22:21 +00:00
invoke-virtual {v1}, Ld0/e;->s()Z
2020-03-27 22:23:51 +00:00
move-result v4
if-nez v4, :cond_10
add-int/lit8 v4, v2, 0x1
2020-05-11 19:22:21 +00:00
invoke-virtual {v1}, Ld0/e;->readInt()I
2020-03-27 22:23:51 +00:00
move-result v5
aput v5, v3, v2
move v2, v4
goto :goto_9
:cond_10
2020-05-11 19:22:21 +00:00
new-instance v1, Ld0/n;
2020-03-27 22:23:51 +00:00
invoke-virtual {p1}, Ljava/lang/Object;->clone()Ljava/lang/Object;
move-result-object p1
check-cast p1, [Lokio/ByteString;
2020-05-11 19:22:21 +00:00
invoke-direct {v1, p1, v3, v0}, Ld0/n;-><init>([Lokio/ByteString;[ILkotlin/jvm/internal/DefaultConstructorMarker;)V
2020-03-27 22:23:51 +00:00
return-object v1
:cond_11
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string v0, "the empty byte string is not a supported option"
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
:cond_12
2020-05-11 19:22:21 +00:00
new-instance p1, Ly/l;
2020-03-27 22:23:51 +00:00
const-string v0, "null cannot be cast to non-null type kotlin.Array<T>"
2020-05-11 19:22:21 +00:00
invoke-direct {p1, v0}, Ly/l;-><init>(Ljava/lang/String;)V
2020-03-27 22:23:51 +00:00
throw p1
:cond_13
const-string p1, "byteStrings"
2020-05-11 19:22:21 +00:00
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
2020-03-27 22:23:51 +00:00
throw v0
:array_0
.array-data 4
0x0
-0x1
.end array-data
2019-07-24 11:27:29 +00:00
.end method
2020-05-11 19:22:21 +00:00
.method public final a(JLd0/e;ILjava/util/List;IILjava/util/List;)V
2020-03-27 22:23:51 +00:00
.locals 19
.annotation system Ldalvik/annotation/Signature;
2019-07-24 11:27:29 +00:00
value = {
2020-03-27 22:23:51 +00:00
"(J",
2020-05-11 19:22:21 +00:00
"Ld0/e;",
2020-03-27 22:23:51 +00:00
"I",
"Ljava/util/List<",
"+",
"Lokio/ByteString;",
">;II",
"Ljava/util/List<",
"Ljava/lang/Integer;",
">;)V"
2019-07-24 11:27:29 +00:00
}
.end annotation
2020-03-27 22:23:51 +00:00
move-object/from16 v9, p0
move-object/from16 v10, p3
move/from16 v11, p4
move-object/from16 v12, p5
move/from16 v0, p6
move/from16 v13, p7
move-object/from16 v14, p8
if-ge v0, v13, :cond_0
const/4 v3, 0x1
goto :goto_0
:cond_0
const/4 v3, 0x0
:goto_0
const-string v4, "Failed requirement."
if-eqz v3, :cond_14
move v3, v0
:goto_1
if-ge v3, v13, :cond_3
invoke-interface {v12, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v5
check-cast v5, Lokio/ByteString;
invoke-virtual {v5}, Lokio/ByteString;->j()I
move-result v5
if-lt v5, v11, :cond_1
const/4 v5, 0x1
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
goto :goto_2
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
:cond_1
const/4 v5, 0x0
:goto_2
if-eqz v5, :cond_2
add-int/lit8 v3, v3, 0x1
goto :goto_1
:cond_2
new-instance v0, Ljava/lang/IllegalArgumentException;
invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
:cond_3
invoke-interface/range {p5 .. p6}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lokio/ByteString;
add-int/lit8 v4, v13, -0x1
invoke-interface {v12, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v4
check-cast v4, Lokio/ByteString;
invoke-virtual {v3}, Lokio/ByteString;->j()I
move-result v5
const/4 v15, -0x1
if-ne v11, v5, :cond_4
invoke-interface {v14, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/lang/Number;
invoke-virtual {v3}, Ljava/lang/Number;->intValue()I
move-result v3
add-int/lit8 v0, v0, 0x1
invoke-interface {v12, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v5
check-cast v5, Lokio/ByteString;
move v6, v0
move v0, v3
move-object v3, v5
goto :goto_3
:cond_4
move v6, v0
const/4 v0, -0x1
:goto_3
invoke-virtual {v3, v11}, Lokio/ByteString;->a(I)B
move-result v5
invoke-virtual {v4, v11}, Lokio/ByteString;->a(I)B
move-result v7
const/4 v8, 0x2
if-eq v5, v7, :cond_e
add-int/lit8 v1, v6, 0x1
const/4 v2, 0x1
:goto_4
if-ge v1, v13, :cond_6
add-int/lit8 v3, v1, -0x1
invoke-interface {v12, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lokio/ByteString;
invoke-virtual {v3, v11}, Lokio/ByteString;->a(I)B
move-result v3
invoke-interface {v12, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v4
check-cast v4, Lokio/ByteString;
invoke-virtual {v4, v11}, Lokio/ByteString;->a(I)B
move-result v4
if-eq v3, v4, :cond_5
add-int/lit8 v2, v2, 0x1
:cond_5
add-int/lit8 v1, v1, 0x1
goto :goto_4
:cond_6
2020-05-11 19:22:21 +00:00
invoke-virtual {v9, v10}, Ld0/n$a;->a(Ld0/e;)J
2020-03-27 22:23:51 +00:00
move-result-wide v3
add-long v3, v3, p1
int-to-long v7, v8
add-long/2addr v3, v7
mul-int/lit8 v1, v2, 0x2
int-to-long v7, v1
add-long v16, v3, v7
2020-05-11 19:22:21 +00:00
invoke-virtual {v10, v2}, Ld0/e;->writeInt(I)Ld0/e;
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
invoke-virtual {v10, v0}, Ld0/e;->writeInt(I)Ld0/e;
2020-03-27 22:23:51 +00:00
move v0, v6
:goto_5
if-ge v0, v13, :cond_9
invoke-interface {v12, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lokio/ByteString;
invoke-virtual {v1, v11}, Lokio/ByteString;->a(I)B
move-result v1
if-eq v0, v6, :cond_7
add-int/lit8 v2, v0, -0x1
invoke-interface {v12, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lokio/ByteString;
invoke-virtual {v2, v11}, Lokio/ByteString;->a(I)B
move-result v2
if-eq v1, v2, :cond_8
:cond_7
and-int/lit16 v1, v1, 0xff
2020-05-11 19:22:21 +00:00
invoke-virtual {v10, v1}, Ld0/e;->writeInt(I)Ld0/e;
2020-03-27 22:23:51 +00:00
:cond_8
add-int/lit8 v0, v0, 0x1
goto :goto_5
:cond_9
2020-05-11 19:22:21 +00:00
new-instance v8, Ld0/e;
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
invoke-direct {v8}, Ld0/e;-><init>()V
2020-03-27 22:23:51 +00:00
:goto_6
if-ge v6, v13, :cond_d
invoke-interface {v12, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lokio/ByteString;
invoke-virtual {v0, v11}, Lokio/ByteString;->a(I)B
move-result v0
add-int/lit8 v1, v6, 0x1
move v2, v1
:goto_7
if-ge v2, v13, :cond_b
invoke-interface {v12, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lokio/ByteString;
invoke-virtual {v3, v11}, Lokio/ByteString;->a(I)B
move-result v3
if-eq v0, v3, :cond_a
move v7, v2
goto :goto_8
:cond_a
add-int/lit8 v2, v2, 0x1
goto :goto_7
:cond_b
move v7, v13
:goto_8
if-ne v1, v7, :cond_c
add-int/lit8 v0, v11, 0x1
invoke-interface {v12, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lokio/ByteString;
invoke-virtual {v1}, Lokio/ByteString;->j()I
move-result v1
if-ne v0, v1, :cond_c
invoke-interface {v14, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Number;
invoke-virtual {v0}, Ljava/lang/Number;->intValue()I
move-result v0
2020-05-11 19:22:21 +00:00
invoke-virtual {v10, v0}, Ld0/e;->writeInt(I)Ld0/e;
2020-03-27 22:23:51 +00:00
move/from16 v18, v7
move-object v15, v8
goto :goto_9
:cond_c
2020-05-11 19:22:21 +00:00
invoke-virtual {v9, v8}, Ld0/n$a;->a(Ld0/e;)J
2020-03-27 22:23:51 +00:00
move-result-wide v0
add-long v0, v0, v16
long-to-int v1, v0
mul-int/lit8 v1, v1, -0x1
2020-05-11 19:22:21 +00:00
invoke-virtual {v10, v1}, Ld0/e;->writeInt(I)Ld0/e;
2020-03-27 22:23:51 +00:00
add-int/lit8 v4, v11, 0x1
move-object/from16 v0, p0
move-wide/from16 v1, v16
move-object v3, v8
move-object/from16 v5, p5
move/from16 v18, v7
move-object v15, v8
move-object/from16 v8, p8
2020-05-11 19:22:21 +00:00
invoke-virtual/range {v0 .. v8}, Ld0/n$a;->a(JLd0/e;ILjava/util/List;IILjava/util/List;)V
2020-03-27 22:23:51 +00:00
:goto_9
move-object v8, v15
move/from16 v6, v18
const/4 v15, -0x1
goto :goto_6
:cond_d
move-object v15, v8
2020-05-11 19:22:21 +00:00
invoke-virtual {v10, v15}, Ld0/e;->a(Ld0/w;)J
2020-03-27 22:23:51 +00:00
goto/16 :goto_d
:cond_e
invoke-virtual {v3}, Lokio/ByteString;->j()I
move-result v5
invoke-virtual {v4}, Lokio/ByteString;->j()I
move-result v7
invoke-static {v5, v7}, Ljava/lang/Math;->min(II)I
move-result v5
move v7, v11
const/4 v15, 0x0
:goto_a
if-ge v7, v5, :cond_f
invoke-virtual {v3, v7}, Lokio/ByteString;->a(I)B
move-result v1
invoke-virtual {v4, v7}, Lokio/ByteString;->a(I)B
move-result v2
if-ne v1, v2, :cond_f
add-int/lit8 v15, v15, 0x1
add-int/lit8 v7, v7, 0x1
goto :goto_a
:cond_f
2020-05-11 19:22:21 +00:00
invoke-virtual {v9, v10}, Ld0/n$a;->a(Ld0/e;)J
2020-03-27 22:23:51 +00:00
move-result-wide v1
add-long v1, v1, p1
int-to-long v4, v8
add-long/2addr v1, v4
int-to-long v4, v15
add-long/2addr v1, v4
const-wide/16 v4, 0x1
add-long/2addr v1, v4
neg-int v4, v15
2020-05-11 19:22:21 +00:00
invoke-virtual {v10, v4}, Ld0/e;->writeInt(I)Ld0/e;
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
invoke-virtual {v10, v0}, Ld0/e;->writeInt(I)Ld0/e;
2020-03-27 22:23:51 +00:00
add-int v4, v11, v15
:goto_b
if-ge v11, v4, :cond_10
invoke-virtual {v3, v11}, Lokio/ByteString;->a(I)B
move-result v0
and-int/lit16 v0, v0, 0xff
2020-05-11 19:22:21 +00:00
invoke-virtual {v10, v0}, Ld0/e;->writeInt(I)Ld0/e;
2020-03-27 22:23:51 +00:00
add-int/lit8 v11, v11, 0x1
goto :goto_b
:cond_10
add-int/lit8 v0, v6, 0x1
if-ne v0, v13, :cond_13
invoke-interface {v12, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lokio/ByteString;
invoke-virtual {v0}, Lokio/ByteString;->j()I
move-result v0
if-ne v4, v0, :cond_11
const/16 v16, 0x1
goto :goto_c
:cond_11
const/16 v16, 0x0
:goto_c
if-eqz v16, :cond_12
invoke-interface {v14, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Number;
invoke-virtual {v0}, Ljava/lang/Number;->intValue()I
move-result v0
2020-05-11 19:22:21 +00:00
invoke-virtual {v10, v0}, Ld0/e;->writeInt(I)Ld0/e;
2020-03-27 22:23:51 +00:00
goto :goto_d
:cond_12
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "Check failed."
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
:cond_13
2020-05-11 19:22:21 +00:00
new-instance v11, Ld0/e;
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
invoke-direct {v11}, Ld0/e;-><init>()V
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
invoke-virtual {v9, v11}, Ld0/n$a;->a(Ld0/e;)J
2020-03-27 22:23:51 +00:00
move-result-wide v7
add-long/2addr v7, v1
long-to-int v0, v7
const/4 v3, -0x1
mul-int/lit8 v0, v0, -0x1
2020-05-11 19:22:21 +00:00
invoke-virtual {v10, v0}, Ld0/e;->writeInt(I)Ld0/e;
2020-03-27 22:23:51 +00:00
move-object/from16 v0, p0
move-object v3, v11
move-object/from16 v5, p5
move/from16 v7, p7
move-object/from16 v8, p8
2020-05-11 19:22:21 +00:00
invoke-virtual/range {v0 .. v8}, Ld0/n$a;->a(JLd0/e;ILjava/util/List;IILjava/util/List;)V
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
invoke-virtual {v10, v11}, Ld0/e;->a(Ld0/w;)J
2020-03-27 22:23:51 +00:00
:goto_d
2019-07-24 11:27:29 +00:00
return-void
2020-03-27 22:23:51 +00:00
:cond_14
new-instance v0, Ljava/lang/IllegalArgumentException;
invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
2019-07-24 11:27:29 +00:00
.end method