2019-12-12 08:58:10 +00:00
|
|
|
.class public final Lr/t;
|
2019-12-06 03:29:40 +00:00
|
|
|
.super Lokio/ByteString;
|
|
|
|
.source "SegmentedByteString.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
2019-12-12 08:58:10 +00:00
|
|
|
Lr/t$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-12-12 08:58:10 +00:00
|
|
|
.field public static final j:Lr/t$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final transient h:[[B
|
|
|
|
|
|
|
|
.field public final transient i:[I
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 2
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
new-instance v0, Lr/t$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-direct {v0, v1}, Lr/t$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
sput-object v0, Lr/t;->j:Lr/t$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public synthetic constructor <init>([[B[ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
sget-object p3, Lokio/ByteString;->f:Lokio/ByteString;
|
|
|
|
|
|
|
|
invoke-virtual {p3}, Lokio/ByteString;->b()[B
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
invoke-direct {p0, p3}, Lokio/ByteString;-><init>([B)V
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
iput-object p1, p0, Lr/t;->h:[[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
iput-object p2, p0, Lr/t;->i:[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final writeReplace()Ljava/lang/Object;
|
|
|
|
.locals 1
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->t()Lokio/ByteString;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public a()Ljava/lang/String;
|
|
|
|
.locals 1
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->t()Lokio/ByteString;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lokio/ByteString;->a()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public a(Ljava/lang/String;)Lokio/ByteString;
|
|
|
|
.locals 6
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
invoke-static {p1}, Ljava/security/MessageDigest;->getInstance(Ljava/lang/String;)Ljava/security/MessageDigest;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->r()[[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
array-length v0, v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v1, v0, :cond_0
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->m()[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
add-int v4, v0, v1
|
|
|
|
|
|
|
|
aget v3, v3, v4
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->m()[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
aget v4, v4, v1
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->r()[[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
aget-object v5, v5, v1
|
|
|
|
|
|
|
|
sub-int v2, v4, v2
|
|
|
|
|
|
|
|
invoke-virtual {p1, v5, v3, v2}, Ljava/security/MessageDigest;->update([BII)V
|
|
|
|
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
move v2, v4
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v0, Lokio/ByteString;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/security/MessageDigest;->digest()[B
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string v1, "digest.digest()"
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-static {p1, v1}, Lm/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-direct {v0, p1}, Lokio/ByteString;-><init>([B)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "algorithm"
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public a(Ljava/io/OutputStream;)V
|
|
|
|
.locals 6
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->r()[[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
array-length v0, v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v1, v0, :cond_0
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->m()[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
add-int v4, v0, v1
|
|
|
|
|
|
|
|
aget v3, v3, v4
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->m()[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
aget v4, v4, v1
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->r()[[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
aget-object v5, v5, v1
|
|
|
|
|
|
|
|
sub-int v2, v4, v2
|
|
|
|
|
|
|
|
invoke-virtual {p1, v5, v3, v2}, Ljava/io/OutputStream;->write([BII)V
|
|
|
|
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
move v2, v4
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "out"
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
.method public a(Lr/e;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 12
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->r()[[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
array-length v1, v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v2, v1, :cond_3
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->m()[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
add-int v5, v1, v2
|
|
|
|
|
|
|
|
aget v8, v4, v5
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->m()[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
aget v4, v4, v2
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->r()[[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
aget-object v7, v5, v2
|
|
|
|
|
|
|
|
sub-int v3, v4, v3
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
new-instance v5, Lr/r;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
add-int v9, v8, v3
|
|
|
|
|
|
|
|
const/4 v10, 0x1
|
|
|
|
|
|
|
|
const/4 v11, 0x0
|
|
|
|
|
|
|
|
move-object v6, v5
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-direct/range {v6 .. v11}, Lr/r;-><init>([BIIZZ)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
iget-object v3, p1, Lr/e;->d:Lr/r;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-nez v3, :cond_0
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
iput-object v5, v5, Lr/r;->g:Lr/r;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
iget-object v3, v5, Lr/r;->g:Lr/r;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
iput-object v3, v5, Lr/r;->f:Lr/r;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
iget-object v3, v5, Lr/r;->f:Lr/r;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
iput-object v3, p1, Lr/e;->d:Lr/r;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
iget-object v3, v3, Lr/r;->g:Lr/r;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {v3, v5}, Lr/r;->a(Lr/r;)Lr/r;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:goto_1
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
|
|
|
|
move v3, v4
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-static {}, Lm/u/b/j;->throwNpe()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-static {}, Lm/u/b/j;->throwNpe()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_3
|
2019-12-12 08:58:10 +00:00
|
|
|
iget-wide v0, p1, Lr/e;->e:J
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0}, Lokio/ByteString;->j()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
int-to-long v2, v2
|
|
|
|
|
|
|
|
add-long/2addr v0, v2
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
iput-wide v0, p1, Lr/e;->e:J
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const-string p1, "buffer"
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public a(ILokio/ByteString;II)Z
|
|
|
|
.locals 6
|
|
|
|
|
|
|
|
if-eqz p2, :cond_5
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-ltz p1, :cond_4
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lokio/ByteString;->j()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
sub-int/2addr v1, p4
|
|
|
|
|
|
|
|
if-le p1, v1, :cond_0
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
add-int/2addr p4, p1
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0, p1}, Lr/t;->d(I)I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge p1, p4, :cond_3
|
|
|
|
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->m()[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
add-int/lit8 v3, v1, -0x1
|
|
|
|
|
|
|
|
aget v2, v2, v3
|
|
|
|
|
|
|
|
:goto_1
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->m()[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
aget v3, v3, v1
|
|
|
|
|
|
|
|
sub-int/2addr v3, v2
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->m()[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->r()[[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
array-length v5, v5
|
|
|
|
|
|
|
|
add-int/2addr v5, v1
|
|
|
|
|
|
|
|
aget v4, v4, v5
|
|
|
|
|
|
|
|
add-int/2addr v3, v2
|
|
|
|
|
|
|
|
invoke-static {p4, v3}, Ljava/lang/Math;->min(II)I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
sub-int/2addr v3, p1
|
|
|
|
|
|
|
|
sub-int v2, p1, v2
|
|
|
|
|
|
|
|
add-int/2addr v2, v4
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->r()[[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
aget-object v4, v4, v1
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3, v4, v2, v3}, Lokio/ByteString;->a(I[BII)Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-nez v2, :cond_2
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
add-int/2addr p3, v3
|
|
|
|
|
|
|
|
add-int/2addr p1, v3
|
|
|
|
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_2
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
const-string p1, "other"
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public a(I[BII)Z
|
|
|
|
.locals 6
|
|
|
|
|
|
|
|
if-eqz p2, :cond_5
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-ltz p1, :cond_4
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lokio/ByteString;->j()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
sub-int/2addr v1, p4
|
|
|
|
|
|
|
|
if-gt p1, v1, :cond_4
|
|
|
|
|
|
|
|
if-ltz p3, :cond_4
|
|
|
|
|
|
|
|
array-length v1, p2
|
|
|
|
|
|
|
|
sub-int/2addr v1, p4
|
|
|
|
|
|
|
|
if-le p3, v1, :cond_0
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
add-int/2addr p4, p1
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0, p1}, Lr/t;->d(I)I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge p1, p4, :cond_3
|
|
|
|
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->m()[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
add-int/lit8 v3, v1, -0x1
|
|
|
|
|
|
|
|
aget v2, v2, v3
|
|
|
|
|
|
|
|
:goto_1
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->m()[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
aget v3, v3, v1
|
|
|
|
|
|
|
|
sub-int/2addr v3, v2
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->m()[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->r()[[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
array-length v5, v5
|
|
|
|
|
|
|
|
add-int/2addr v5, v1
|
|
|
|
|
|
|
|
aget v4, v4, v5
|
|
|
|
|
|
|
|
add-int/2addr v3, v2
|
|
|
|
|
|
|
|
invoke-static {p4, v3}, Ljava/lang/Math;->min(II)I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
sub-int/2addr v3, p1
|
|
|
|
|
|
|
|
sub-int v2, p1, v2
|
|
|
|
|
|
|
|
add-int/2addr v2, v4
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->r()[[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
aget-object v4, v4, v1
|
|
|
|
|
|
|
|
invoke-static {v4, v2, p2, p3, v3}, Le/k/a/b/e/p/g;->a([BI[BII)Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-nez v2, :cond_2
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
add-int/2addr p3, v3
|
|
|
|
|
|
|
|
add-int/2addr p1, v3
|
|
|
|
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_2
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
const-string p1, "other"
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public b(I)B
|
|
|
|
.locals 7
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
iget-object v0, p0, Lr/t;->i:[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
iget-object v1, p0, Lr/t;->h:[[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
array-length v1, v1
|
|
|
|
|
|
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
|
|
|
|
aget v0, v0, v1
|
|
|
|
|
|
|
|
int-to-long v1, v0
|
|
|
|
|
|
|
|
int-to-long v3, p1
|
|
|
|
|
|
|
|
const-wide/16 v5, 0x1
|
|
|
|
|
|
|
|
invoke-static/range {v1 .. v6}, Le/k/a/b/e/p/g;->a(JJJ)V
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0, p1}, Lr/t;->d(I)I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2019-12-12 08:58:10 +00:00
|
|
|
iget-object v1, p0, Lr/t;->i:[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
add-int/lit8 v2, v0, -0x1
|
|
|
|
|
|
|
|
aget v1, v1, v2
|
|
|
|
|
|
|
|
:goto_0
|
2019-12-12 08:58:10 +00:00
|
|
|
iget-object v2, p0, Lr/t;->i:[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
iget-object v3, p0, Lr/t;->h:[[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
array-length v4, v3
|
|
|
|
|
|
|
|
add-int/2addr v4, v0
|
|
|
|
|
|
|
|
aget v2, v2, v4
|
|
|
|
|
|
|
|
aget-object v0, v3, v0
|
|
|
|
|
|
|
|
sub-int/2addr p1, v1
|
|
|
|
|
|
|
|
add-int/2addr p1, v2
|
|
|
|
|
|
|
|
aget-byte p1, v0, p1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public d()I
|
|
|
|
.locals 2
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
iget-object v0, p0, Lr/t;->i:[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
iget-object v1, p0, Lr/t;->h:[[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
array-length v1, v1
|
|
|
|
|
|
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
|
|
|
|
aget v0, v0, v1
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final d(I)I
|
|
|
|
.locals 3
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
iget-object v0, p0, Lr/t;->i:[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
iget-object v1, p0, Lr/t;->h:[[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
array-length v1, v1
|
|
|
|
|
|
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
invoke-static {v0, v2, v1, p1}, Ljava/util/Arrays;->binarySearch([IIII)I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-ltz p1, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
not-int p1, p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
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;->j()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lokio/ByteString;->j()I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-ne v2, v3, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lokio/ByteString;->j()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0, v1, p1, v1, v2}, Lr/t;->a(ILokio/ByteString;II)Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
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 1
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->t()Lokio/ByteString;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lokio/ByteString;->f()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public g()[B
|
|
|
|
.locals 1
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->s()[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public hashCode()I
|
|
|
|
.locals 8
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lokio/ByteString;->c()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_0
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->r()[[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
array-length v0, v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v1, v0, :cond_2
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->m()[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
add-int v5, v0, v1
|
|
|
|
|
|
|
|
aget v4, v4, v5
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->m()[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
aget v5, v5, v1
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->r()[[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
aget-object v6, v6, v1
|
|
|
|
|
|
|
|
sub-int v3, v5, v3
|
|
|
|
|
|
|
|
add-int/2addr v3, v4
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-ge v4, v3, :cond_1
|
|
|
|
|
|
|
|
mul-int/lit8 v2, v2, 0x1f
|
|
|
|
|
|
|
|
aget-byte v7, v6, v4
|
|
|
|
|
|
|
|
add-int/2addr v2, v7
|
|
|
|
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
move v3, v5
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-virtual {p0, v2}, Lokio/ByteString;->c(I)V
|
|
|
|
|
|
|
|
return v2
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public k()Lokio/ByteString;
|
|
|
|
.locals 1
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->t()Lokio/ByteString;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lokio/ByteString;->k()Lokio/ByteString;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final m()[I
|
|
|
|
.locals 1
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
iget-object v0, p0, Lr/t;->i:[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final r()[[B
|
|
|
|
.locals 1
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
iget-object v0, p0, Lr/t;->h:[[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public s()[B
|
|
|
|
.locals 8
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lokio/ByteString;->j()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
new-array v0, v0, [B
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->r()[[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
array-length v1, v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v2, v1, :cond_0
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->m()[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
add-int v6, v1, v2
|
|
|
|
|
|
|
|
aget v5, v5, v6
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->m()[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
aget v6, v6, v2
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->r()[[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
aget-object v7, v7, v2
|
|
|
|
|
|
|
|
sub-int v3, v6, v3
|
|
|
|
|
|
|
|
invoke-static {v7, v5, v0, v4, v3}, Le/k/a/b/e/p/g;->b([BI[BII)V
|
|
|
|
|
|
|
|
add-int/2addr v4, v3
|
|
|
|
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
|
|
|
|
move v3, v6
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final t()Lokio/ByteString;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
new-instance v0, Lokio/ByteString;
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->s()[B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Lokio/ByteString;-><init>([B)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
|
|
.locals 1
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p0}, Lr/t;->t()Lokio/ByteString;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lokio/ByteString;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|