.class public Lokio/ByteString; .super Ljava/lang/Object; .source "ByteString.kt" # interfaces .implements Ljava/io/Serializable; .implements Ljava/lang/Comparable; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lokio/ByteString$a; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Object;", "Ljava/io/Serializable;", "Ljava/lang/Comparable<", "Lokio/ByteString;", ">;" } .end annotation # static fields .field public static final f:Lokio/ByteString; .field public static final g:Lokio/ByteString$a; .field public static final serialVersionUID:J = 0x1L # instance fields .field public transient d:I .field public final data:[B .field public transient e:Ljava/lang/String; # direct methods .method public static constructor ()V .locals 2 new-instance v0, Lokio/ByteString$a; const/4 v1, 0x0 invoke-direct {v0, v1}, Lokio/ByteString$a;->(Lkotlin/jvm/internal/DefaultConstructorMarker;)V sput-object v0, Lokio/ByteString;->g:Lokio/ByteString$a; new-instance v0, Lokio/ByteString; const/4 v1, 0x0 new-array v1, v1, [B invoke-direct {v0, v1}, Lokio/ByteString;->([B)V sput-object v0, Lokio/ByteString;->f:Lokio/ByteString; return-void .end method .method public constructor ([B)V .locals 1 const-string v0, "data" invoke-static {p1, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p1, p0, Lokio/ByteString;->data:[B return-void .end method .method public static final h(Ljava/lang/String;)Lokio/ByteString; .locals 3 const-string v0, "$this$encodeUtf8" invoke-static {p0, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Lokio/ByteString; const-string v1, "$this$asUtf8ToByteArray" invoke-static {p0, v1}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V sget-object v1, Ly/t/a;->a:Ljava/nio/charset/Charset; invoke-virtual {p0, v1}, Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B move-result-object v1 const-string v2, "(this as java.lang.String).getBytes(charset)" invoke-static {v1, v2}, Ly/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V invoke-direct {v0, v1}, Lokio/ByteString;->([B)V iput-object p0, v0, Lokio/ByteString;->e:Ljava/lang/String; return-object v0 .end method .method private final readObject(Ljava/io/ObjectInputStream;)V .locals 6 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation invoke-virtual {p1}, Ljava/io/ObjectInputStream;->readInt()I move-result v0 const-string v1, "$this$readByteString" invoke-static {p1, v1}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const/4 v1, 0x1 const/4 v2, 0x0 if-ltz v0, :cond_0 const/4 v3, 0x1 goto :goto_0 :cond_0 const/4 v3, 0x0 :goto_0 if-eqz v3, :cond_3 new-array v3, v0, [B :goto_1 if-ge v2, v0, :cond_2 sub-int v4, v0, v2 invoke-virtual {p1, v3, v2, v4}, Ljava/io/InputStream;->read([BII)I move-result v4 const/4 v5, -0x1 if-eq v4, v5, :cond_1 add-int/2addr v2, v4 goto :goto_1 :cond_1 new-instance p1, Ljava/io/EOFException; invoke-direct {p1}, Ljava/io/EOFException;->()V throw p1 :cond_2 new-instance p1, Lokio/ByteString; invoke-direct {p1, v3}, Lokio/ByteString;->([B)V const-class v0, Lokio/ByteString; const-string v2, "data" invoke-virtual {v0, v2}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field; move-result-object v0 const-string v2, "field" invoke-static {v0, v2}, Ly/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V invoke-virtual {v0, v1}, Ljava/lang/reflect/Field;->setAccessible(Z)V iget-object p1, p1, Lokio/ByteString;->data:[B invoke-virtual {v0, p0, p1}, Ljava/lang/reflect/Field;->set(Ljava/lang/Object;Ljava/lang/Object;)V return-void :cond_3 const-string p1, "byteCount < 0: " invoke-static {p1, v0}, Lf/e/c/a/a;->i(Ljava/lang/String;I)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;->(Ljava/lang/String;)V throw v0 .end method .method private final writeObject(Ljava/io/ObjectOutputStream;)V .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget-object v0, p0, Lokio/ByteString;->data:[B array-length v0, v0 invoke-virtual {p1, v0}, Ljava/io/ObjectOutputStream;->writeInt(I)V iget-object v0, p0, Lokio/ByteString;->data:[B invoke-virtual {p1, v0}, Ljava/io/ObjectOutputStream;->write([B)V return-void .end method # virtual methods .method public compareTo(Ljava/lang/Object;)I .locals 7 check-cast p1, Lokio/ByteString; const-string v0, "other" invoke-static {p1, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V invoke-virtual {p0}, Lokio/ByteString;->i()I move-result v0 invoke-virtual {p1}, Lokio/ByteString;->i()I move-result v1 invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I move-result v2 const/4 v3, 0x0 const/4 v4, 0x0 :goto_0 if-ge v4, v2, :cond_1 invoke-virtual {p0, v4}, Lokio/ByteString;->l(I)B move-result v5 and-int/lit16 v5, v5, 0xff invoke-virtual {p1, v4}, Lokio/ByteString;->l(I)B move-result v6 and-int/lit16 v6, v6, 0xff if-ne v5, v6, :cond_0 add-int/lit8 v4, v4, 0x1 goto :goto_0 :cond_0 if-ge v5, v6, :cond_3 goto :goto_1 :cond_1 if-ne v0, v1, :cond_2 goto :goto_2 :cond_2 if-ge v0, v1, :cond_3 :goto_1 const/4 v3, -0x1 goto :goto_2 :cond_3 const/4 v3, 0x1 :goto_2 return v3 .end method .method public equals(Ljava/lang/Object;)Z .locals 5 const/4 v0, 0x1 const/4 v1, 0x0 if-ne p1, p0, :cond_0 goto :goto_0 :cond_0 instance-of v2, p1, Lokio/ByteString; if-eqz v2, :cond_1 check-cast p1, Lokio/ByteString; invoke-virtual {p1}, Lokio/ByteString;->i()I move-result v2 iget-object v3, p0, Lokio/ByteString;->data:[B array-length v4, v3 if-ne v2, v4, :cond_1 array-length v2, v3 invoke-virtual {p1, v1, v3, v1, v2}, Lokio/ByteString;->n(I[BII)Z move-result p1 if-eqz p1, :cond_1 goto :goto_0 :cond_1 const/4 v0, 0x0 :goto_0 return v0 .end method .method public f()Ljava/lang/String; .locals 3 iget-object v0, p0, Lokio/ByteString;->data:[B const/4 v1, 0x0 const/4 v2, 0x1 invoke-static {v0, v1, v2}, Ld0/a;->a([B[BI)Ljava/lang/String; move-result-object v0 return-object v0 .end method .method public g(Ljava/lang/String;)Lokio/ByteString; .locals 2 const-string v0, "algorithm" invoke-static {p1, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Lokio/ByteString; invoke-static {p1}, Ljava/security/MessageDigest;->getInstance(Ljava/lang/String;)Ljava/security/MessageDigest; move-result-object p1 iget-object v1, p0, Lokio/ByteString;->data:[B invoke-virtual {p1, v1}, Ljava/security/MessageDigest;->digest([B)[B move-result-object p1 const-string v1, "MessageDigest.getInstance(algorithm).digest(data)" invoke-static {p1, v1}, Ly/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V invoke-direct {v0, p1}, Lokio/ByteString;->([B)V return-object v0 .end method .method public hashCode()I .locals 1 iget v0, p0, Lokio/ByteString;->d:I if-eqz v0, :cond_0 goto :goto_0 :cond_0 iget-object v0, p0, Lokio/ByteString;->data:[B invoke-static {v0}, Ljava/util/Arrays;->hashCode([B)I move-result v0 iput v0, p0, Lokio/ByteString;->d:I :goto_0 return v0 .end method .method public i()I .locals 1 iget-object v0, p0, Lokio/ByteString;->data:[B array-length v0, v0 return v0 .end method .method public j()Ljava/lang/String; .locals 9 iget-object v0, p0, Lokio/ByteString;->data:[B array-length v1, v0 mul-int/lit8 v1, v1, 0x2 new-array v1, v1, [C array-length v2, v0 const/4 v3, 0x0 const/4 v4, 0x0 :goto_0 if-ge v3, v2, :cond_0 aget-byte v5, v0, v3 add-int/lit8 v6, v4, 0x1 sget-object v7, Ld0/z/b;->a:[C shr-int/lit8 v8, v5, 0x4 and-int/lit8 v8, v8, 0xf aget-char v8, v7, v8 aput-char v8, v1, v4 add-int/lit8 v4, v6, 0x1 and-int/lit8 v5, v5, 0xf aget-char v5, v7, v5 aput-char v5, v1, v6 add-int/lit8 v3, v3, 0x1 goto :goto_0 :cond_0 new-instance v0, Ljava/lang/String; invoke-direct {v0, v1}, Ljava/lang/String;->([C)V return-object v0 .end method .method public k()[B .locals 1 iget-object v0, p0, Lokio/ByteString;->data:[B return-object v0 .end method .method public l(I)B .locals 1 iget-object v0, p0, Lokio/ByteString;->data:[B aget-byte p1, v0, p1 return p1 .end method .method public m(ILokio/ByteString;II)Z .locals 1 const-string v0, "other" invoke-static {p2, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V iget-object v0, p0, Lokio/ByteString;->data:[B invoke-virtual {p2, p3, v0, p1, p4}, Lokio/ByteString;->n(I[BII)Z move-result p1 return p1 .end method .method public n(I[BII)Z .locals 2 const-string v0, "other" invoke-static {p2, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V if-ltz p1, :cond_0 iget-object v0, p0, Lokio/ByteString;->data:[B array-length v1, v0 sub-int/2addr v1, p4 if-gt p1, v1, :cond_0 if-ltz p3, :cond_0 array-length v1, p2 sub-int/2addr v1, p4 if-gt p3, v1, :cond_0 invoke-static {v0, p1, p2, p3, p4}, Ly/i/s;->e([BI[BII)Z move-result p1 if-eqz p1, :cond_0 const/4 p1, 0x1 goto :goto_0 :cond_0 const/4 p1, 0x0 :goto_0 return p1 .end method .method public o()Lokio/ByteString; .locals 6 const/4 v0, 0x0 :goto_0 iget-object v1, p0, Lokio/ByteString;->data:[B array-length v2, v1 if-ge v0, v2, :cond_5 aget-byte v2, v1, v0 const/16 v3, 0x41 int-to-byte v3, v3 if-lt v2, v3, :cond_4 const/16 v4, 0x5a int-to-byte v4, v4 if-le v2, v4, :cond_0 goto :goto_3 :cond_0 array-length v5, v1 invoke-static {v1, v5}, Ljava/util/Arrays;->copyOf([BI)[B move-result-object v1 const-string v5, "java.util.Arrays.copyOf(this, size)" invoke-static {v1, v5}, Ly/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V add-int/lit8 v5, v0, 0x1 add-int/lit8 v2, v2, 0x20 int-to-byte v2, v2 aput-byte v2, v1, v0 :goto_1 array-length v0, v1 if-ge v5, v0, :cond_3 aget-byte v0, v1, v5 if-lt v0, v3, :cond_2 if-le v0, v4, :cond_1 goto :goto_2 :cond_1 add-int/lit8 v0, v0, 0x20 int-to-byte v0, v0 aput-byte v0, v1, v5 :cond_2 :goto_2 add-int/lit8 v5, v5, 0x1 goto :goto_1 :cond_3 new-instance v0, Lokio/ByteString; invoke-direct {v0, v1}, Lokio/ByteString;->([B)V goto :goto_4 :cond_4 :goto_3 add-int/lit8 v0, v0, 0x1 goto :goto_0 :cond_5 move-object v0, p0 :goto_4 return-object v0 .end method .method public p()Ljava/lang/String; .locals 3 iget-object v0, p0, Lokio/ByteString;->e:Ljava/lang/String; if-nez v0, :cond_0 invoke-virtual {p0}, Lokio/ByteString;->k()[B move-result-object v0 const-string v1, "$this$toUtf8String" invoke-static {v0, v1}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V sget-object v1, Ly/t/a;->a:Ljava/nio/charset/Charset; new-instance v2, Ljava/lang/String; invoke-direct {v2, v0, v1}, Ljava/lang/String;->([BLjava/nio/charset/Charset;)V iput-object v2, p0, Lokio/ByteString;->e:Ljava/lang/String; move-object v0, v2 :cond_0 return-object v0 .end method .method public q(Ljava/io/OutputStream;)V .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation const-string v0, "out" invoke-static {p1, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V iget-object v0, p0, Lokio/ByteString;->data:[B invoke-virtual {p1, v0}, Ljava/io/OutputStream;->write([B)V return-void .end method .method public r(Ld0/e;II)V .locals 2 const-string v0, "buffer" invoke-static {p1, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v1, "$this$commonWrite" invoke-static {p0, v1}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V invoke-static {p1, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V iget-object v0, p0, Lokio/ByteString;->data:[B invoke-virtual {p1, v0, p2, p3}, Ld0/e;->E([BII)Ld0/e; return-void .end method .method public toString()Ljava/lang/String; .locals 16 move-object/from16 v0, p0 iget-object v1, v0, Lokio/ByteString;->data:[B array-length v1, v1 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 const-string v1, "[size=0]" goto/16 :goto_1e :cond_1 iget-object v1, v0, Lokio/ByteString;->data:[B array-length v2, v1 const/4 v3, 0x0 const/4 v4, 0x0 const/4 v5, 0x0 :cond_2 :goto_1 const/16 v6, 0x40 if-ge v3, v2, :cond_47 aget-byte v7, v1, v3 const/16 v8, 0xd const/16 v9, 0xa const/16 v10, 0x1f const/16 v11, 0x7f const/16 v12, 0x9f const v13, 0xfffd const/high16 v14, 0x10000 if-ltz v7, :cond_13 add-int/lit8 v15, v4, 0x1 if-ne v4, v6, :cond_3 goto/16 :goto_1b :cond_3 if-eq v7, v9, :cond_8 if-eq v7, v8, :cond_8 if-ltz v7, :cond_4 if-ge v10, v7, :cond_6 :cond_4 if-le v11, v7, :cond_5 goto :goto_2 :cond_5 if-lt v12, v7, :cond_7 :cond_6 const/4 v4, 0x1 goto :goto_3 :cond_7 :goto_2 const/4 v4, 0x0 :goto_3 if-nez v4, :cond_46 :cond_8 if-ne v7, v13, :cond_9 goto/16 :goto_1a :cond_9 if-ge v7, v14, :cond_a const/4 v4, 0x1 goto :goto_4 :cond_a const/4 v4, 0x2 :goto_4 add-int/2addr v5, v4 add-int/lit8 v3, v3, 0x1 :goto_5 move v4, v15 if-ge v3, v2, :cond_2 aget-byte v7, v1, v3 if-ltz v7, :cond_2 add-int/lit8 v7, v3, 0x1 aget-byte v3, v1, v3 add-int/lit8 v15, v4, 0x1 if-ne v4, v6, :cond_b goto/16 :goto_1b :cond_b if-eq v3, v9, :cond_10 if-eq v3, v8, :cond_10 if-ltz v3, :cond_c if-ge v10, v3, :cond_e :cond_c if-le v11, v3, :cond_d goto :goto_6 :cond_d if-lt v12, v3, :cond_f :cond_e const/4 v4, 0x1 goto :goto_7 :cond_f :goto_6 const/4 v4, 0x0 :goto_7 if-nez v4, :cond_46 :cond_10 if-ne v3, v13, :cond_11 goto/16 :goto_1a :cond_11 if-ge v3, v14, :cond_12 const/4 v3, 0x1 goto :goto_8 :cond_12 const/4 v3, 0x2 :goto_8 add-int/2addr v5, v3 move v3, v7 goto :goto_5 :cond_13 shr-int/lit8 v13, v7, 0x5 const/4 v14, -0x2 const/16 v15, 0x80 if-ne v13, v14, :cond_20 add-int/lit8 v7, v3, 0x1 if-gt v2, v7, :cond_14 if-ne v4, v6, :cond_46 goto/16 :goto_1b :cond_14 aget-byte v13, v1, v3 aget-byte v7, v1, v7 and-int/lit16 v14, v7, 0xc0 if-ne v14, v15, :cond_15 const/4 v14, 0x1 goto :goto_9 :cond_15 const/4 v14, 0x0 :goto_9 if-nez v14, :cond_16 if-ne v4, v6, :cond_46 goto/16 :goto_1b :cond_16 xor-int/lit16 v7, v7, 0xf80 shl-int/lit8 v13, v13, 0x6 xor-int/2addr v7, v13 if-ge v7, v15, :cond_17 if-ne v4, v6, :cond_46 goto/16 :goto_1b :cond_17 add-int/lit8 v13, v4, 0x1 if-ne v4, v6, :cond_18 goto/16 :goto_1b :cond_18 if-eq v7, v9, :cond_1d if-eq v7, v8, :cond_1d if-ltz v7, :cond_19 if-ge v10, v7, :cond_1b :cond_19 if-le v11, v7, :cond_1a goto :goto_a :cond_1a if-lt v12, v7, :cond_1c :cond_1b const/4 v4, 0x1 goto :goto_b :cond_1c :goto_a const/4 v4, 0x0 :goto_b if-nez v4, :cond_46 :cond_1d const v4, 0xfffd if-ne v7, v4, :cond_1e goto/16 :goto_1a :cond_1e const/high16 v4, 0x10000 if-ge v7, v4, :cond_1f const/4 v15, 0x1 goto :goto_c :cond_1f const/4 v15, 0x2 :goto_c add-int/2addr v5, v15 add-int/lit8 v3, v3, 0x2 move v4, v13 goto/16 :goto_1 :cond_20 shr-int/lit8 v10, v7, 0x4 const v11, 0xd800 const v12, 0xdfff if-ne v10, v14, :cond_31 add-int/lit8 v7, v3, 0x2 if-gt v2, v7, :cond_21 if-ne v4, v6, :cond_46 goto/16 :goto_1b :cond_21 aget-byte v10, v1, v3 add-int/lit8 v13, v3, 0x1 aget-byte v13, v1, v13 and-int/lit16 v14, v13, 0xc0 if-ne v14, v15, :cond_22 const/4 v14, 0x1 goto :goto_d :cond_22 const/4 v14, 0x0 :goto_d if-nez v14, :cond_23 if-ne v4, v6, :cond_46 goto/16 :goto_1b :cond_23 aget-byte v7, v1, v7 and-int/lit16 v14, v7, 0xc0 if-ne v14, v15, :cond_24 const/4 v14, 0x1 goto :goto_e :cond_24 const/4 v14, 0x0 :goto_e if-nez v14, :cond_25 if-ne v4, v6, :cond_46 goto/16 :goto_1b :cond_25 const v14, -0x1e080 xor-int/2addr v7, v14 shl-int/lit8 v13, v13, 0x6 xor-int/2addr v7, v13 shl-int/lit8 v10, v10, 0xc xor-int/2addr v7, v10 const/16 v10, 0x800 if-ge v7, v10, :cond_26 if-ne v4, v6, :cond_46 goto/16 :goto_1b :cond_26 if-le v11, v7, :cond_27 goto :goto_f :cond_27 if-lt v12, v7, :cond_28 if-ne v4, v6, :cond_46 goto/16 :goto_1b :cond_28 :goto_f add-int/lit8 v10, v4, 0x1 if-ne v4, v6, :cond_29 goto/16 :goto_1b :cond_29 if-eq v7, v9, :cond_2e if-eq v7, v8, :cond_2e if-ltz v7, :cond_2a const/16 v4, 0x1f if-ge v4, v7, :cond_2c :cond_2a const/16 v4, 0x7f if-le v4, v7, :cond_2b goto :goto_10 :cond_2b const/16 v4, 0x9f if-lt v4, v7, :cond_2d :cond_2c const/4 v4, 0x1 goto :goto_11 :cond_2d :goto_10 const/4 v4, 0x0 :goto_11 if-nez v4, :cond_46 :cond_2e const v4, 0xfffd if-ne v7, v4, :cond_2f goto/16 :goto_1a :cond_2f const/high16 v4, 0x10000 if-ge v7, v4, :cond_30 const/4 v15, 0x1 goto :goto_12 :cond_30 const/4 v15, 0x2 :goto_12 add-int/2addr v5, v15 add-int/lit8 v3, v3, 0x3 move v4, v10 goto/16 :goto_1 :cond_31 shr-int/lit8 v7, v7, 0x3 if-ne v7, v14, :cond_45 add-int/lit8 v7, v3, 0x3 if-gt v2, v7, :cond_32 if-ne v4, v6, :cond_46 goto/16 :goto_1b :cond_32 aget-byte v8, v1, v3 add-int/lit8 v10, v3, 0x1 aget-byte v10, v1, v10 and-int/lit16 v13, v10, 0xc0 if-ne v13, v15, :cond_33 const/4 v13, 0x1 goto :goto_13 :cond_33 const/4 v13, 0x0 :goto_13 if-nez v13, :cond_34 if-ne v4, v6, :cond_46 goto/16 :goto_1b :cond_34 add-int/lit8 v13, v3, 0x2 aget-byte v13, v1, v13 and-int/lit16 v14, v13, 0xc0 if-ne v14, v15, :cond_35 const/4 v14, 0x1 goto :goto_14 :cond_35 const/4 v14, 0x0 :goto_14 if-nez v14, :cond_36 if-ne v4, v6, :cond_46 goto/16 :goto_1b :cond_36 aget-byte v7, v1, v7 and-int/lit16 v14, v7, 0xc0 if-ne v14, v15, :cond_37 const/4 v14, 0x1 goto :goto_15 :cond_37 const/4 v14, 0x0 :goto_15 if-nez v14, :cond_38 if-ne v4, v6, :cond_46 goto/16 :goto_1b :cond_38 const v14, 0x381f80 xor-int/2addr v7, v14 shl-int/lit8 v13, v13, 0x6 xor-int/2addr v7, v13 shl-int/lit8 v10, v10, 0xc xor-int/2addr v7, v10 shl-int/lit8 v8, v8, 0x12 xor-int/2addr v7, v8 const v8, 0x10ffff if-le v7, v8, :cond_39 if-ne v4, v6, :cond_46 goto :goto_1b :cond_39 if-le v11, v7, :cond_3a goto :goto_16 :cond_3a if-lt v12, v7, :cond_3b if-ne v4, v6, :cond_46 goto :goto_1b :cond_3b :goto_16 const/high16 v8, 0x10000 if-ge v7, v8, :cond_3c if-ne v4, v6, :cond_46 goto :goto_1b :cond_3c add-int/lit8 v8, v4, 0x1 if-ne v4, v6, :cond_3d goto :goto_1b :cond_3d if-eq v7, v9, :cond_42 const/16 v4, 0xd if-eq v7, v4, :cond_42 if-ltz v7, :cond_3e const/16 v4, 0x1f if-ge v4, v7, :cond_40 :cond_3e const/16 v4, 0x7f if-le v4, v7, :cond_3f goto :goto_17 :cond_3f const/16 v4, 0x9f if-lt v4, v7, :cond_41 :cond_40 const/4 v4, 0x1 goto :goto_18 :cond_41 :goto_17 const/4 v4, 0x0 :goto_18 if-nez v4, :cond_46 :cond_42 const v4, 0xfffd if-ne v7, v4, :cond_43 goto :goto_1a :cond_43 const/high16 v4, 0x10000 if-ge v7, v4, :cond_44 const/4 v15, 0x1 goto :goto_19 :cond_44 const/4 v15, 0x2 :goto_19 add-int/2addr v5, v15 add-int/lit8 v3, v3, 0x4 move v4, v8 goto/16 :goto_1 :cond_45 if-ne v4, v6, :cond_46 goto :goto_1b :cond_46 :goto_1a const/4 v5, -0x1 :cond_47 :goto_1b const-string v1, "\u2026]" const/16 v2, 0x5d const-string v3, "[size=" const/4 v4, -0x1 if-ne v5, v4, :cond_4c iget-object v4, v0, Lokio/ByteString;->data:[B array-length v4, v4 if-gt v4, v6, :cond_48 const-string v1, "[hex=" invoke-static {v1}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v1 invoke-virtual/range {p0 .. p0}, Lokio/ByteString;->j()Ljava/lang/String; move-result-object v3 invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v1 goto/16 :goto_1e :cond_48 invoke-static {v3}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 iget-object v3, v0, Lokio/ByteString;->data:[B array-length v3, v3 invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; const-string v3, " hex=" invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v3, v0, Lokio/ByteString;->data:[B array-length v3, v3 if-gt v6, v3, :cond_49 const/4 v3, 0x1 goto :goto_1c :cond_49 const/4 v3, 0x0 :goto_1c if-eqz v3, :cond_4b iget-object v3, v0, Lokio/ByteString;->data:[B array-length v4, v3 if-ne v6, v4, :cond_4a move-object v4, v0 goto :goto_1d :cond_4a const/4 v4, 0x0 invoke-static {v3, v4, v6}, Ly/i/f;->copyOfRange([BII)[B move-result-object v3 new-instance v4, Lokio/ByteString; invoke-direct {v4, v3}, Lokio/ByteString;->([B)V :goto_1d invoke-virtual {v4}, Lokio/ByteString;->j()Ljava/lang/String; move-result-object v3 invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v1 goto :goto_1e :cond_4b const-string v1, "endIndex > length(" invoke-static {v1}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v1 iget-object v2, v0, Lokio/ByteString;->data:[B array-length v2, v2 const/16 v3, 0x29 invoke-static {v1, v2, v3}, Lf/e/c/a/a;->s(Ljava/lang/StringBuilder;IC)Ljava/lang/String; move-result-object v1 new-instance v2, Ljava/lang/IllegalArgumentException; invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object v1 invoke-direct {v2, v1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw v2 :cond_4c invoke-virtual/range {p0 .. p0}, Lokio/ByteString;->p()Ljava/lang/String; move-result-object v4 const/4 v6, 0x0 invoke-virtual {v4, v6, v5}, Ljava/lang/String;->substring(II)Ljava/lang/String; move-result-object v7 const-string v8, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)" invoke-static {v7, v8}, Ly/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v8, "\\" const-string v9, "\\\\" const/4 v10, 0x4 invoke-static {v7, v8, v9, v6, v10}, Ly/t/k;->replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZI)Ljava/lang/String; move-result-object v7 const-string v8, "\n" const-string v9, "\\n" invoke-static {v7, v8, v9, v6, v10}, Ly/t/k;->replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZI)Ljava/lang/String; move-result-object v7 const-string v8, "\r" const-string v9, "\\r" invoke-static {v7, v8, v9, v6, v10}, Ly/t/k;->replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZI)Ljava/lang/String; move-result-object v6 invoke-virtual {v4}, Ljava/lang/String;->length()I move-result v4 if-ge v5, v4, :cond_4d invoke-static {v3}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 iget-object v3, v0, Lokio/ByteString;->data:[B array-length v3, v3 invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; const-string v3, " text=" invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v1 goto :goto_1e :cond_4d new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V const-string v3, "[text=" invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v1 :goto_1e return-object v1 .end method