2019-02-04 20:08:30 +00:00
|
|
|
.class final Lokio/o;
|
|
|
|
.super Lokio/ByteString;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "SegmentedByteString.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-02-04 20:32:01 +00:00
|
|
|
.field final transient bsZ:[[B
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
.field final transient bta:[I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Lokio/c;I)V
|
|
|
|
.locals 7
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
invoke-direct {p0, v0}, Lokio/ByteString;-><init>([B)V
|
|
|
|
|
|
|
|
iget-wide v1, p1, Lokio/c;->size:J
|
|
|
|
|
|
|
|
int-to-long v5, p2
|
|
|
|
|
|
|
|
const-wide/16 v3, 0x0
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-static/range {v1 .. v6}, Lokio/s;->a(JJJ)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v0, p1, Lokio/c;->bsD:Lokio/m;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
move-object v3, v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
const/4 v2, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v0, p2, :cond_1
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
iget v4, v3, Lokio/m;->limit:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
iget v5, v3, Lokio/m;->pos:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eq v4, v5, :cond_0
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
iget v4, v3, Lokio/m;->limit:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
iget v5, v3, Lokio/m;->pos:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
sub-int/2addr v4, v5
|
|
|
|
|
|
|
|
add-int/2addr v0, v4
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
add-int/lit8 v2, v2, 0x1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v3, v3, Lokio/m;->bsW:Lokio/m;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p1, Ljava/lang/AssertionError;
|
|
|
|
|
|
|
|
const-string p2, "s.limit == s.pos"
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
2019-02-04 20:29:01 +00:00
|
|
|
new-array v0, v2, [[B
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iput-object v0, p0, Lokio/o;->bsZ:[[B
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
mul-int/lit8 v2, v2, 0x2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
new-array v0, v2, [I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iput-object v0, p0, Lokio/o;->bta:[I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object p1, p1, Lokio/c;->bsD:Lokio/m;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-object v0, p1
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-ge v1, p2, :cond_3
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v2, p0, Lokio/o;->bsZ:[[B
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
iget-object v3, v0, Lokio/m;->data:[B
|
|
|
|
|
|
|
|
aput-object v3, v2, p1
|
|
|
|
|
|
|
|
iget v2, v0, Lokio/m;->limit:I
|
|
|
|
|
|
|
|
iget v3, v0, Lokio/m;->pos:I
|
|
|
|
|
|
|
|
sub-int/2addr v2, v3
|
|
|
|
|
|
|
|
add-int/2addr v1, v2
|
|
|
|
|
|
|
|
if-le v1, p2, :cond_2
|
|
|
|
|
|
|
|
move v1, p2
|
|
|
|
|
|
|
|
:cond_2
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v2, p0, Lokio/o;->bta:[I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
aput v1, v2, p1
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v3, p0, Lokio/o;->bsZ:[[B
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
array-length v3, v3
|
|
|
|
|
|
|
|
add-int/2addr v3, p1
|
|
|
|
|
|
|
|
iget v4, v0, Lokio/m;->pos:I
|
|
|
|
|
|
|
|
aput v4, v2, v3
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iput-boolean v2, v0, Lokio/m;->bsV:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v0, v0, Lokio/m;->bsW:Lokio/m;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
.method private Cv()Lokio/ByteString;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
new-instance v0, Lokio/ByteString;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lokio/o;->toByteArray()[B
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Lokio/ByteString;-><init>([B)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
.method private dp(I)I
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 3
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v0, p0, Lokio/o;->bta:[I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v1, p0, Lokio/o;->bsZ:[[B
|
2019-02-04 20:08:30 +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
|
|
|
|
|
|
|
|
return p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
xor-int/lit8 p1, p1, -0x1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private writeReplace()Ljava/lang/Object;
|
|
|
|
.locals 1
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-direct {p0}, Lokio/o;->Cv()Lokio/ByteString;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-02-04 20:32:01 +00:00
|
|
|
.method public final Ce()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-direct {p0}, Lokio/o;->Cv()Lokio/ByteString;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-virtual {v0}, Lokio/ByteString;->Ce()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
.method public final Cf()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-direct {p0}, Lokio/o;->Cv()Lokio/ByteString;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-virtual {v0}, Lokio/ByteString;->Cf()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
.method public final Cg()Lokio/ByteString;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-direct {p0}, Lokio/o;->Cv()Lokio/ByteString;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-virtual {v0}, Lokio/ByteString;->Cg()Lokio/ByteString;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
.method public final Ch()Lokio/ByteString;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-direct {p0}, Lokio/o;->Cv()Lokio/ByteString;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-virtual {v0}, Lokio/ByteString;->Ch()Lokio/ByteString;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
.method public final Ci()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-direct {p0}, Lokio/o;->Cv()Lokio/ByteString;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-virtual {v0}, Lokio/ByteString;->Ci()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
.method public final Cj()Lokio/ByteString;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-direct {p0}, Lokio/o;->Cv()Lokio/ByteString;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-virtual {v0}, Lokio/ByteString;->Cj()Lokio/ByteString;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(ILokio/ByteString;II)Z
|
2019-02-04 20:29:01 +00:00
|
|
|
.locals 7
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0}, Lokio/o;->size()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
sub-int/2addr v0, p4
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_0
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-direct {p0, v1}, Lokio/o;->dp(I)I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-lez p4, :cond_3
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v2, p0, Lokio/o;->bta:[I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
add-int/lit8 v3, v0, -0x1
|
|
|
|
|
|
|
|
aget v2, v2, v3
|
|
|
|
|
|
|
|
:goto_1
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v3, p0, Lokio/o;->bta:[I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
aget v3, v3, v0
|
|
|
|
|
|
|
|
sub-int/2addr v3, v2
|
|
|
|
|
|
|
|
add-int/2addr v3, v2
|
|
|
|
|
|
|
|
sub-int/2addr v3, p1
|
|
|
|
|
|
|
|
invoke-static {p4, v3}, Ljava/lang/Math;->min(II)I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v4, p0, Lokio/o;->bta:[I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v5, p0, Lokio/o;->bsZ:[[B
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
array-length v6, v5
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
add-int/2addr v6, v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
aget v4, v4, v6
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
sub-int v2, p1, v2
|
|
|
|
|
|
|
|
add-int/2addr v2, v4
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
aget-object v4, v5, v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2, p3, v4, v2, v3}, Lokio/ByteString;->f(I[BII)Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-nez v2, :cond_2
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
add-int/2addr p1, v3
|
|
|
|
|
|
|
|
add-int/2addr p3, v3
|
|
|
|
|
|
|
|
sub-int/2addr p4, v3
|
|
|
|
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
.method public final ab(II)Lokio/ByteString;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-direct {p0}, Lokio/o;->Cv()Lokio/ByteString;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-virtual {v0, p1, p2}, Lokio/ByteString;->ab(II)Lokio/ByteString;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method final b(Lokio/c;)V
|
|
|
|
.locals 11
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v0, p0, Lokio/o;->bsZ:[[B
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
array-length v0, v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v1, v0, :cond_1
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v3, p0, Lokio/o;->bta:[I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
add-int v4, v0, v1
|
|
|
|
|
|
|
|
aget v7, v3, v4
|
|
|
|
|
|
|
|
aget v3, v3, v1
|
|
|
|
|
|
|
|
new-instance v4, Lokio/m;
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v5, p0, Lokio/o;->bsZ:[[B
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
aget-object v6, v5, v1
|
|
|
|
|
|
|
|
add-int v5, v7, v3
|
|
|
|
|
|
|
|
sub-int v8, v5, v2
|
|
|
|
|
|
|
|
const/4 v9, 0x1
|
|
|
|
|
|
|
|
const/4 v10, 0x0
|
|
|
|
|
|
|
|
move-object v5, v4
|
|
|
|
|
|
|
|
invoke-direct/range {v5 .. v10}, Lokio/m;-><init>([BIIZZ)V
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v2, p1, Lokio/c;->bsD:Lokio/m;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iput-object v4, v4, Lokio/m;->bsX:Lokio/m;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iput-object v4, v4, Lokio/m;->bsW:Lokio/m;
|
2019-02-04 20:20:43 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iput-object v4, p1, Lokio/c;->bsD:Lokio/m;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v2, p1, Lokio/c;->bsD:Lokio/m;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v2, v2, Lokio/m;->bsX:Lokio/m;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v2, v4}, Lokio/m;->a(Lokio/m;)Lokio/m;
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
move v2, v3
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
iget-wide v0, p1, Lokio/c;->size:J
|
|
|
|
|
|
|
|
int-to-long v2, v2
|
|
|
|
|
|
|
|
add-long/2addr v0, v2
|
|
|
|
|
|
|
|
iput-wide v0, p1, Lokio/c;->size:J
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final equals(Ljava/lang/Object;)Z
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
if-ne p1, p0, :cond_0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
instance-of v1, p1, Lokio/ByteString;
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
check-cast p1, Lokio/ByteString;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lokio/ByteString;->size()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lokio/o;->size()I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-ne v1, v3, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lokio/o;->size()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-virtual {p0, v2, p1, v2, v1}, Lokio/o;->a(ILokio/ByteString;II)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return v2
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final f(I[BII)Z
|
2019-02-04 20:29:01 +00:00
|
|
|
.locals 7
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-ltz p1, :cond_4
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lokio/o;->size()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
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-direct {p0, p1}, Lokio/o;->dp(I)I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-lez p4, :cond_3
|
|
|
|
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v2, p0, Lokio/o;->bta:[I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
add-int/lit8 v3, v1, -0x1
|
|
|
|
|
|
|
|
aget v2, v2, v3
|
|
|
|
|
|
|
|
:goto_1
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v3, p0, Lokio/o;->bta:[I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
aget v3, v3, v1
|
|
|
|
|
|
|
|
sub-int/2addr v3, v2
|
|
|
|
|
|
|
|
add-int/2addr v3, v2
|
|
|
|
|
|
|
|
sub-int/2addr v3, p1
|
|
|
|
|
|
|
|
invoke-static {p4, v3}, Ljava/lang/Math;->min(II)I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v4, p0, Lokio/o;->bta:[I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v5, p0, Lokio/o;->bsZ:[[B
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
array-length v6, v5
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
add-int/2addr v6, v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
aget v4, v4, v6
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
sub-int v2, p1, v2
|
|
|
|
|
|
|
|
add-int/2addr v2, v4
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
aget-object v4, v5, v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-static {v4, v2, p2, p3, v3}, Lokio/s;->a([BI[BII)Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-nez v2, :cond_2
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
add-int/2addr p1, v3
|
|
|
|
|
|
|
|
add-int/2addr p3, v3
|
|
|
|
|
|
|
|
sub-int/2addr p4, v3
|
|
|
|
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_2
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getByte(I)B
|
|
|
|
.locals 7
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v0, p0, Lokio/o;->bta:[I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v1, p0, Lokio/o;->bsZ:[[B
|
2019-02-04 20:08:30 +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
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-static/range {v1 .. v6}, Lokio/s;->a(JJJ)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-direct {p0, p1}, Lokio/o;->dp(I)I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v1, p0, Lokio/o;->bta:[I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
add-int/lit8 v2, v0, -0x1
|
|
|
|
|
|
|
|
aget v1, v1, v2
|
|
|
|
|
|
|
|
:goto_0
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v2, p0, Lokio/o;->bta:[I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v3, p0, Lokio/o;->bsZ:[[B
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
array-length v4, v3
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
add-int/2addr v4, v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
aget v2, v2, v4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
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 final hashCode()I
|
|
|
|
.locals 8
|
|
|
|
|
|
|
|
iget v0, p0, Lokio/o;->cX:I
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_0
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v0, p0, Lokio/o;->bsZ:[[B
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
array-length v0, v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
const/4 v3, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v1, v0, :cond_2
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v4, p0, Lokio/o;->bsZ:[[B
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
aget-object v4, v4, v1
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v5, p0, Lokio/o;->bta:[I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
add-int v6, v0, v1
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
aget v6, v5, v6
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
aget v5, v5, v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
sub-int v3, v5, v3
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
add-int/2addr v3, v6
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:goto_1
|
2019-02-04 20:29:01 +00:00
|
|
|
if-ge v6, v3, :cond_1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
mul-int/lit8 v2, v2, 0x1f
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
aget-byte v7, v4, v6
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
add-int/2addr v2, v7
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
add-int/lit8 v6, v6, 0x1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
move v3, v5
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
2019-02-04 20:29:01 +00:00
|
|
|
iput v2, p0, Lokio/o;->cX:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
return v2
|
2019-02-04 20:08:30 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final size()I
|
|
|
|
.locals 2
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v0, p0, Lokio/o;->bta:[I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v1, p0, Lokio/o;->bsZ:[[B
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
array-length v1, v1
|
|
|
|
|
|
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
|
|
|
|
aget v0, v0, v1
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final toByteArray()[B
|
|
|
|
.locals 8
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v0, p0, Lokio/o;->bta:[I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v1, p0, Lokio/o;->bsZ:[[B
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
array-length v2, v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
add-int/lit8 v2, v2, -0x1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
aget v0, v0, v2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [B
|
|
|
|
|
|
|
|
array-length v1, v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v2, v1, :cond_0
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v4, p0, Lokio/o;->bta:[I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
add-int v5, v1, v2
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
aget v5, v4, v5
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
aget v4, v4, v2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v6, p0, Lokio/o;->bsZ:[[B
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
aget-object v6, v6, v2
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
sub-int v7, v4, v3
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
invoke-static {v6, v5, v0, v3, v7}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
move v3, v4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
|
|
.locals 1
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-direct {p0}, Lokio/o;->Cv()Lokio/ByteString;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lokio/ByteString;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final write(Ljava/io/OutputStream;)V
|
|
|
|
.locals 6
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v0, p0, Lokio/o;->bsZ:[[B
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
array-length v0, v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v1, v0, :cond_0
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v3, p0, Lokio/o;->bta:[I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
add-int v4, v0, v1
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
aget v4, v3, v4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
aget v3, v3, v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-object v5, p0, Lokio/o;->bsZ:[[B
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
aget-object v5, v5, v1
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
sub-int v2, v3, v2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
invoke-virtual {p1, v5, v4, v2}, Ljava/io/OutputStream;->write([BII)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
move v2, v3
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|