1079 lines
20 KiB
Smali
1079 lines
20 KiB
Smali
.class public final Ld0/o$a;
|
|
.super Ljava/lang/Object;
|
|
.source "Options.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Ld0/o;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(JLd0/e;ILjava/util/List;IILjava/util/List;)V
|
|
.locals 19
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(J",
|
|
"Ld0/e;",
|
|
"I",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Lokio/ByteString;",
|
|
">;II",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/Integer;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
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;->i()I
|
|
|
|
move-result v5
|
|
|
|
if-lt v5, v11, :cond_1
|
|
|
|
const/4 v5, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
: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;->i()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;->l(I)B
|
|
|
|
move-result v5
|
|
|
|
invoke-virtual {v4, v11}, Lokio/ByteString;->l(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;->l(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;->l(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
|
|
invoke-virtual {v9, v10}, Ld0/o$a;->b(Ld0/e;)J
|
|
|
|
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
|
|
|
|
invoke-virtual {v10, v2}, Ld0/e;->L(I)Ld0/e;
|
|
|
|
invoke-virtual {v10, v0}, Ld0/e;->L(I)Ld0/e;
|
|
|
|
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;->l(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;->l(I)B
|
|
|
|
move-result v2
|
|
|
|
if-eq v1, v2, :cond_8
|
|
|
|
:cond_7
|
|
and-int/lit16 v1, v1, 0xff
|
|
|
|
invoke-virtual {v10, v1}, Ld0/e;->L(I)Ld0/e;
|
|
|
|
:cond_8
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_5
|
|
|
|
:cond_9
|
|
new-instance v8, Ld0/e;
|
|
|
|
invoke-direct {v8}, Ld0/e;-><init>()V
|
|
|
|
: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;->l(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;->l(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;->i()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
|
|
|
|
invoke-virtual {v10, v0}, Ld0/e;->L(I)Ld0/e;
|
|
|
|
move/from16 v18, v7
|
|
|
|
move-object v15, v8
|
|
|
|
goto :goto_9
|
|
|
|
:cond_c
|
|
invoke-virtual {v9, v8}, Ld0/o$a;->b(Ld0/e;)J
|
|
|
|
move-result-wide v0
|
|
|
|
add-long v0, v0, v16
|
|
|
|
long-to-int v1, v0
|
|
|
|
mul-int/lit8 v1, v1, -0x1
|
|
|
|
invoke-virtual {v10, v1}, Ld0/e;->L(I)Ld0/e;
|
|
|
|
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
|
|
|
|
invoke-virtual/range {v0 .. v8}, Ld0/o$a;->a(JLd0/e;ILjava/util/List;IILjava/util/List;)V
|
|
|
|
:goto_9
|
|
move-object v8, v15
|
|
|
|
move/from16 v6, v18
|
|
|
|
const/4 v15, -0x1
|
|
|
|
goto :goto_6
|
|
|
|
:cond_d
|
|
move-object v15, v8
|
|
|
|
invoke-virtual {v10, v15}, Ld0/e;->e0(Ld0/x;)J
|
|
|
|
goto/16 :goto_d
|
|
|
|
:cond_e
|
|
invoke-virtual {v3}, Lokio/ByteString;->i()I
|
|
|
|
move-result v5
|
|
|
|
invoke-virtual {v4}, Lokio/ByteString;->i()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;->l(I)B
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {v4, v7}, Lokio/ByteString;->l(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
|
|
invoke-virtual {v9, v10}, Ld0/o$a;->b(Ld0/e;)J
|
|
|
|
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
|
|
|
|
invoke-virtual {v10, v4}, Ld0/e;->L(I)Ld0/e;
|
|
|
|
invoke-virtual {v10, v0}, Ld0/e;->L(I)Ld0/e;
|
|
|
|
add-int v4, v11, v15
|
|
|
|
:goto_b
|
|
if-ge v11, v4, :cond_10
|
|
|
|
invoke-virtual {v3, v11}, Lokio/ByteString;->l(I)B
|
|
|
|
move-result v0
|
|
|
|
and-int/lit16 v0, v0, 0xff
|
|
|
|
invoke-virtual {v10, v0}, Ld0/e;->L(I)Ld0/e;
|
|
|
|
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;->i()I
|
|
|
|
move-result v0
|
|
|
|
if-ne v4, v0, :cond_11
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_c
|
|
|
|
:cond_11
|
|
const/4 v1, 0x0
|
|
|
|
:goto_c
|
|
if-eqz v1, :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
|
|
|
|
invoke-virtual {v10, v0}, Ld0/e;->L(I)Ld0/e;
|
|
|
|
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
|
|
new-instance v11, Ld0/e;
|
|
|
|
invoke-direct {v11}, Ld0/e;-><init>()V
|
|
|
|
invoke-virtual {v9, v11}, Ld0/o$a;->b(Ld0/e;)J
|
|
|
|
move-result-wide v7
|
|
|
|
add-long/2addr v7, v1
|
|
|
|
long-to-int v0, v7
|
|
|
|
const/4 v3, -0x1
|
|
|
|
mul-int/lit8 v0, v0, -0x1
|
|
|
|
invoke-virtual {v10, v0}, Ld0/e;->L(I)Ld0/e;
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move-object v3, v11
|
|
|
|
move-object/from16 v5, p5
|
|
|
|
move/from16 v7, p7
|
|
|
|
move-object/from16 v8, p8
|
|
|
|
invoke-virtual/range {v0 .. v8}, Ld0/o$a;->a(JLd0/e;ILjava/util/List;IILjava/util/List;)V
|
|
|
|
invoke-virtual {v10, v11}, Ld0/e;->e0(Ld0/x;)J
|
|
|
|
:goto_d
|
|
return-void
|
|
|
|
: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
|
|
.end method
|
|
|
|
.method public final b(Ld0/e;)J
|
|
.locals 4
|
|
|
|
iget-wide v0, p1, Ld0/e;->e:J
|
|
|
|
const/4 p1, 0x4
|
|
|
|
int-to-long v2, p1
|
|
|
|
div-long/2addr v0, v2
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final varargs c([Lokio/ByteString;)Ld0/o;
|
|
.locals 14
|
|
|
|
const-string v0, "byteStrings"
|
|
|
|
invoke-static {p1, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
array-length v0, p1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
new-instance p1, Ld0/o;
|
|
|
|
new-array v0, v1, [Lokio/ByteString;
|
|
|
|
const/4 v1, 0x2
|
|
|
|
new-array v1, v1, [I
|
|
|
|
fill-array-data v1, :array_0
|
|
|
|
invoke-direct {p1, v0, v1, v2}, Ld0/o;-><init>([Lokio/ByteString;[ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
return-object p1
|
|
|
|
:cond_1
|
|
invoke-static {p1}, Lf/h/a/f/f/n/f;->toMutableList([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-static {v8}, Lf/h/a/f/f/n/f;->sort(Ljava/util/List;)V
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
array-length v3, p1
|
|
|
|
invoke-direct {v0, 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-virtual {v0, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
new-array v3, v1, [Ljava/lang/Integer;
|
|
|
|
invoke-virtual {v0, v3}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_13
|
|
|
|
check-cast v0, [Ljava/lang/Integer;
|
|
|
|
array-length v3, v0
|
|
|
|
invoke-static {v0, v3}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Ljava/lang/Integer;
|
|
|
|
invoke-static {v0}, Lf/h/a/f/f/n/f;->mutableListOf([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object v11
|
|
|
|
array-length v0, p1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
:goto_2
|
|
if-ge v3, v0, :cond_8
|
|
|
|
aget-object v5, p1, v3
|
|
|
|
add-int/lit8 v6, v4, 0x1
|
|
|
|
move-object v7, v8
|
|
|
|
check-cast v7, Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v7}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v9
|
|
|
|
const-string v10, "$this$binarySearch"
|
|
|
|
invoke-static {v8, v10}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v7}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v10
|
|
|
|
const-string v12, ")."
|
|
|
|
if-ltz v9, :cond_7
|
|
|
|
if-gt v9, v10, :cond_6
|
|
|
|
add-int/lit8 v9, v9, -0x1
|
|
|
|
const/4 v10, 0x0
|
|
|
|
:goto_3
|
|
if-gt v10, v9, :cond_4
|
|
|
|
add-int v12, v10, v9
|
|
|
|
ushr-int/lit8 v12, v12, 0x1
|
|
|
|
invoke-virtual {v7, v12}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v13
|
|
|
|
check-cast v13, Ljava/lang/Comparable;
|
|
|
|
invoke-static {v13, v5}, Ly/i/s;->compareValues(Ljava/lang/Comparable;Ljava/lang/Comparable;)I
|
|
|
|
move-result v13
|
|
|
|
if-gez v13, :cond_3
|
|
|
|
add-int/lit8 v10, v12, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
if-lez v13, :cond_5
|
|
|
|
add-int/lit8 v9, v12, -0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
add-int/lit8 v10, v10, 0x1
|
|
|
|
neg-int v12, v10
|
|
|
|
:cond_5
|
|
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-interface {v11, v12, 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 ("
|
|
|
|
invoke-static {v0, v9, v1, v10, v12}, Lf/e/c/a/a;->l(Ljava/lang/String;ILjava/lang/String;ILjava/lang/String;)Ljava/lang/String;
|
|
|
|
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 v2, ") is greater than toIndex ("
|
|
|
|
invoke-static {v0, v1, v2, v9, v12}, Lf/e/c/a/a;->l(Ljava/lang/String;ILjava/lang/String;ILjava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_8
|
|
move-object v0, v8
|
|
|
|
check-cast v0, Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Lokio/ByteString;
|
|
|
|
invoke-virtual {v3}, Lokio/ByteString;->i()I
|
|
|
|
move-result v3
|
|
|
|
if-lez v3, :cond_9
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_9
|
|
const/4 v3, 0x0
|
|
|
|
:goto_4
|
|
if-eqz v3, :cond_12
|
|
|
|
const/4 v3, 0x0
|
|
|
|
:goto_5
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v4
|
|
|
|
if-ge v3, v4, :cond_10
|
|
|
|
invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Lokio/ByteString;
|
|
|
|
add-int/lit8 v5, v3, 0x1
|
|
|
|
move v6, v5
|
|
|
|
:goto_6
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v7
|
|
|
|
if-ge v6, v7, :cond_f
|
|
|
|
invoke-virtual {v0, v6}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v7
|
|
|
|
check-cast v7, Lokio/ByteString;
|
|
|
|
if-eqz v7, :cond_e
|
|
|
|
const-string v9, "prefix"
|
|
|
|
invoke-static {v4, v9}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v4}, Lokio/ByteString;->i()I
|
|
|
|
move-result v9
|
|
|
|
invoke-virtual {v7, v1, v4, v1, v9}, Lokio/ByteString;->m(ILokio/ByteString;II)Z
|
|
|
|
move-result v9
|
|
|
|
if-nez v9, :cond_a
|
|
|
|
goto :goto_8
|
|
|
|
:cond_a
|
|
invoke-virtual {v7}, Lokio/ByteString;->i()I
|
|
|
|
move-result v9
|
|
|
|
invoke-virtual {v4}, Lokio/ByteString;->i()I
|
|
|
|
move-result v10
|
|
|
|
if-eq v9, v10, :cond_b
|
|
|
|
const/4 v9, 0x1
|
|
|
|
goto :goto_7
|
|
|
|
:cond_b
|
|
const/4 v9, 0x0
|
|
|
|
:goto_7
|
|
if-eqz v9, :cond_d
|
|
|
|
invoke-interface {v11, v6}, 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
|
|
|
|
invoke-interface {v11, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v9
|
|
|
|
check-cast v9, Ljava/lang/Number;
|
|
|
|
invoke-virtual {v9}, Ljava/lang/Number;->intValue()I
|
|
|
|
move-result v9
|
|
|
|
if-le v7, v9, :cond_c
|
|
|
|
invoke-virtual {v0, v6}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;
|
|
|
|
invoke-interface {v11, v6}, Ljava/util/List;->remove(I)Ljava/lang/Object;
|
|
|
|
goto :goto_6
|
|
|
|
:cond_c
|
|
add-int/lit8 v6, v6, 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, v7}, 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
|
|
throw v2
|
|
|
|
:cond_f
|
|
:goto_8
|
|
move v3, v5
|
|
|
|
goto :goto_5
|
|
|
|
:cond_10
|
|
new-instance v12, Ld0/e;
|
|
|
|
invoke-direct {v12}, Ld0/e;-><init>()V
|
|
|
|
const-wide/16 v4, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/4 v9, 0x0
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v10
|
|
|
|
move-object v3, p0
|
|
|
|
move-object v6, v12
|
|
|
|
invoke-virtual/range {v3 .. v11}, Ld0/o$a;->a(JLd0/e;ILjava/util/List;IILjava/util/List;)V
|
|
|
|
invoke-virtual {p0, v12}, Ld0/o$a;->b(Ld0/e;)J
|
|
|
|
move-result-wide v3
|
|
|
|
long-to-int v0, v3
|
|
|
|
new-array v0, v0, [I
|
|
|
|
:goto_9
|
|
invoke-virtual {v12}, Ld0/e;->K()Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_11
|
|
|
|
add-int/lit8 v3, v1, 0x1
|
|
|
|
invoke-virtual {v12}, Ld0/e;->readInt()I
|
|
|
|
move-result v4
|
|
|
|
aput v4, v0, v1
|
|
|
|
move v1, v3
|
|
|
|
goto :goto_9
|
|
|
|
:cond_11
|
|
array-length v1, p1
|
|
|
|
invoke-static {p1, v1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v1, "java.util.Arrays.copyOf(this, size)"
|
|
|
|
invoke-static {p1, v1}, Ly/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p1, [Lokio/ByteString;
|
|
|
|
new-instance v1, Ld0/o;
|
|
|
|
invoke-direct {v1, p1, v0, v2}, Ld0/o;-><init>([Lokio/ByteString;[ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
return-object v1
|
|
|
|
:cond_12
|
|
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_13
|
|
new-instance p1, Lkotlin/TypeCastException;
|
|
|
|
const-string v0, "null cannot be cast to non-null type kotlin.Array<T>"
|
|
|
|
invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:array_0
|
|
.array-data 4
|
|
0x0
|
|
-0x1
|
|
.end array-data
|
|
.end method
|