u.smali
.class public final Lokio/u;
.super Lokio/e;
.source "SourceFile"
# instance fields
.field public final transient f:[[B
.field public final transient g:[I
# direct methods
.method public constructor <init>(Lokio/b;I)V
.registers 10
const/4 v0, 0x0
.line 1
invoke-direct {p0, v0}, Lokio/e;-><init>([B)V
.line 2
iget-wide v1, p1, Lokio/b;->b:J
int-to-long v5, p2
const-wide/16 v3, 0x0
invoke-static/range {v1 .. v6}, Lokio/y;->a(JJJ)V
.line 3
iget-object v0, p1, Lokio/b;->a:Lokio/s;
const/4 v1, 0x0
const/4 v2, 0x0
const/4 v3, 0x0
:goto_11
if-ge v2, p2, :cond_28
.line 4
iget v4, v0, Lokio/s;->c:I
iget v5, v0, Lokio/s;->b:I
if-eq v4, v5, :cond_20
sub-int/2addr v4, v5
add-int/2addr v2, v4
add-int/lit8 v3, v3, 0x1
.line 5
iget-object v0, v0, Lokio/s;->f:Lokio/s;
goto :goto_11
.line 6
:cond_20
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
.line 7
:cond_28
new-array v0, v3, [[B
iput-object v0, p0, Lokio/u;->f:[[B
mul-int/lit8 v3, v3, 0x2
.line 8
new-array v0, v3, [I
iput-object v0, p0, Lokio/u;->g:[I
.line 9
iget-object p1, p1, Lokio/b;->a:Lokio/s;
const/4 v0, 0x0
:goto_35
if-ge v1, p2, :cond_58
.line 10
iget-object v2, p0, Lokio/u;->f:[[B
iget-object v3, p1, Lokio/s;->a:[B
aput-object v3, v2, v0
.line 11
iget v3, p1, Lokio/s;->c:I
iget v4, p1, Lokio/s;->b:I
sub-int/2addr v3, v4
add-int/2addr v3, v1
if-le v3, p2, :cond_47
move v1, p2
goto :goto_48
:cond_47
move v1, v3
.line 12
:goto_48
iget-object v3, p0, Lokio/u;->g:[I
aput v1, v3, v0
.line 13
array-length v2, v2
add-int/2addr v2, v0
aput v4, v3, v2
const/4 v2, 0x1
.line 14
iput-boolean v2, p1, Lokio/s;->d:Z
add-int/lit8 v0, v0, 0x1
.line 15
iget-object p1, p1, Lokio/s;->f:Lokio/s;
goto :goto_35
:cond_58
return-void
.end method
.method private writeReplace()Ljava/lang/Object;
.registers 2
invoke-virtual {p0}, Lokio/u;->y()Lokio/e;
move-result-object v0
return-object v0
.end method
# virtual methods
.method public final b()Ljava/lang/String;
.registers 2
invoke-virtual {p0}, Lokio/u;->y()Lokio/e;
move-result-object v0
invoke-virtual {v0}, Lokio/e;->b()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public final equals(Ljava/lang/Object;)Z
.registers 5
const/4 v0, 0x1
if-ne p1, p0, :cond_4
return v0
.line 1
:cond_4
instance-of v1, p1, Lokio/e;
if-eqz v1, :cond_1f
check-cast p1, Lokio/e;
.line 2
invoke-virtual {p1}, Lokio/e;->r()I
move-result v1
invoke-virtual {p0}, Lokio/u;->r()I
move-result v2
if-ne v1, v2, :cond_1f
.line 3
invoke-virtual {p0}, Lokio/u;->r()I
move-result v1
invoke-virtual {p0, p1, v1}, Lokio/u;->p(Lokio/e;I)Z
move-result p1
if-eqz p1, :cond_1f
goto :goto_20
:cond_1f
const/4 v0, 0x0
:goto_20
return v0
.end method
.method public final h(I)B
.registers 9
.line 1
iget-object v0, p0, Lokio/u;->g:[I
iget-object v1, p0, Lokio/u;->f:[[B
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}, Lokio/y;->a(JJJ)V
.line 2
invoke-virtual {p0, p1}, Lokio/u;->x(I)I
move-result v0
if-nez v0, :cond_18
const/4 v1, 0x0
goto :goto_1e
.line 3
:cond_18
iget-object v1, p0, Lokio/u;->g:[I
add-int/lit8 v2, v0, -0x1
aget v1, v1, v2
.line 4
:goto_1e
iget-object v2, p0, Lokio/u;->g:[I
iget-object v3, p0, Lokio/u;->f:[[B
array-length v4, v3
add-int/2addr v4, v0
aget v2, v2, v4
.line 5
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
.registers 9
.line 1
iget v0, p0, Lokio/e;->b:I
if-eqz v0, :cond_5
return v0
.line 2
:cond_5
iget-object v0, p0, Lokio/u;->f:[[B
array-length v0, v0
const/4 v1, 0x0
const/4 v2, 0x1
const/4 v2, 0x0
const/4 v3, 0x1
:goto_c
if-ge v1, v0, :cond_2b
.line 3
iget-object v4, p0, Lokio/u;->f:[[B
aget-object v4, v4, v1
.line 4
iget-object v5, p0, Lokio/u;->g:[I
add-int v6, v0, v1
aget v6, v5, v6
.line 5
aget v5, v5, v1
sub-int v2, v5, v2
add-int/2addr v2, v6
:goto_1d
if-ge v6, v2, :cond_27
mul-int/lit8 v3, v3, 0x1f
.line 6
aget-byte v7, v4, v6
add-int/2addr v3, v7
add-int/lit8 v6, v6, 0x1
goto :goto_1d
:cond_27
add-int/lit8 v1, v1, 0x1
move v2, v5
goto :goto_c
.line 7
:cond_2b
iput v3, p0, Lokio/e;->b:I
return v3
.end method
.method public final i()Ljava/lang/String;
.registers 2
invoke-virtual {p0}, Lokio/u;->y()Lokio/e;
move-result-object v0
invoke-virtual {v0}, Lokio/e;->i()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public final j()[B
.registers 2
invoke-virtual {p0}, Lokio/u;->u()[B
move-result-object v0
return-object v0
.end method
.method public final k()Lokio/e;
.registers 2
invoke-virtual {p0}, Lokio/u;->y()Lokio/e;
move-result-object v0
invoke-virtual {v0}, Lokio/e;->k()Lokio/e;
move-result-object v0
return-object v0
.end method
.method public final o(I[BII)Z
.registers 14
const/4 v0, 0x0
if-ltz p1, :cond_58
.line 1
invoke-virtual {p0}, Lokio/u;->r()I
move-result v1
sub-int/2addr v1, p4
if-gt p1, v1, :cond_58
if-ltz p3, :cond_58
array-length v1, p2
sub-int/2addr v1, p4
if-le p3, v1, :cond_11
goto :goto_58
.line 2
:cond_11
invoke-virtual {p0, p1}, Lokio/u;->x(I)I
move-result v1
:goto_15
const/4 v2, 0x1
if-lez p4, :cond_57
if-nez v1, :cond_1c
const/4 v3, 0x0
goto :goto_22
.line 3
:cond_1c
iget-object v3, p0, Lokio/u;->g:[I
add-int/lit8 v4, v1, -0x1
aget v3, v3, v4
.line 4
:goto_22
iget-object v4, p0, Lokio/u;->g:[I
aget v4, v4, v1
sub-int/2addr v4, v3
add-int/2addr v4, v3
sub-int/2addr v4, p1
.line 5
invoke-static {p4, v4}, Ljava/lang/Math;->min(II)I
move-result v4
.line 6
iget-object v5, p0, Lokio/u;->g:[I
iget-object v6, p0, Lokio/u;->f:[[B
array-length v7, v6
add-int/2addr v7, v1
aget v5, v5, v7
sub-int v3, p1, v3
add-int/2addr v3, v5
.line 7
aget-object v5, v6, v1
sget-object v6, Lokio/y;->a:Ljava/nio/charset/Charset;
const/4 v6, 0x0
:goto_3d
if-ge v6, v4, :cond_4e
add-int v7, v6, v3
.line 8
aget-byte v7, v5, v7
add-int v8, v6, p3
aget-byte v8, p2, v8
if-eq v7, v8, :cond_4b
const/4 v2, 0x0
goto :goto_4e
:cond_4b
add-int/lit8 v6, v6, 0x1
goto :goto_3d
:cond_4e
:goto_4e
if-nez v2, :cond_51
return v0
:cond_51
add-int/2addr p1, v4
add-int/2addr p3, v4
sub-int/2addr p4, v4
add-int/lit8 v1, v1, 0x1
goto :goto_15
:cond_57
return v2
:cond_58
:goto_58
return v0
.end method
.method public final p(Lokio/e;I)Z
.registers 12
.line 1
invoke-virtual {p0}, Lokio/u;->r()I
move-result v0
sub-int/2addr v0, p2
const/4 v1, 0x0
if-gez v0, :cond_9
return v1
.line 2
:cond_9
invoke-virtual {p0, v1}, Lokio/u;->x(I)I
move-result v0
const/4 v2, 0x0
const/4 v3, 0x0
:goto_f
if-lez p2, :cond_40
if-nez v0, :cond_15
const/4 v4, 0x0
goto :goto_1b
.line 3
:cond_15
iget-object v4, p0, Lokio/u;->g:[I
add-int/lit8 v5, v0, -0x1
aget v4, v4, v5
.line 4
:goto_1b
iget-object v5, p0, Lokio/u;->g:[I
aget v5, v5, v0
sub-int/2addr v5, v4
add-int/2addr v5, v4
sub-int/2addr v5, v2
.line 5
invoke-static {p2, v5}, Ljava/lang/Math;->min(II)I
move-result v5
.line 6
iget-object v6, p0, Lokio/u;->g:[I
iget-object v7, p0, Lokio/u;->f:[[B
array-length v8, v7
add-int/2addr v8, v0
aget v6, v6, v8
sub-int v4, v2, v4
add-int/2addr v4, v6
.line 7
aget-object v6, v7, v0
invoke-virtual {p1, v3, v6, v4, v5}, Lokio/e;->o(I[BII)Z
move-result v4
if-nez v4, :cond_3a
return v1
:cond_3a
add-int/2addr v2, v5
add-int/2addr v3, v5
sub-int/2addr p2, v5
add-int/lit8 v0, v0, 0x1
goto :goto_f
:cond_40
const/4 p1, 0x1
return p1
.end method
.method public final q()Lokio/e;
.registers 2
invoke-virtual {p0}, Lokio/u;->y()Lokio/e;
move-result-object v0
invoke-virtual {v0}, Lokio/e;->q()Lokio/e;
move-result-object v0
return-object v0
.end method
.method public final r()I
.registers 3
iget-object v0, p0, Lokio/u;->g:[I
iget-object v1, p0, Lokio/u;->f:[[B
array-length v1, v1
add-int/lit8 v1, v1, -0x1
aget v0, v0, v1
return v0
.end method
.method public final s()Lokio/e;
.registers 2
invoke-virtual {p0}, Lokio/u;->y()Lokio/e;
move-result-object v0
invoke-virtual {v0}, Lokio/e;->s()Lokio/e;
move-result-object v0
return-object v0
.end method
.method public final t()Lokio/e;
.registers 2
invoke-virtual {p0}, Lokio/u;->y()Lokio/e;
move-result-object v0
invoke-virtual {v0}, Lokio/e;->t()Lokio/e;
move-result-object v0
return-object v0
.end method
.method public final toString()Ljava/lang/String;
.registers 2
invoke-virtual {p0}, Lokio/u;->y()Lokio/e;
move-result-object v0
invoke-virtual {v0}, Lokio/e;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public final u()[B
.registers 9
.line 1
iget-object v0, p0, Lokio/u;->g:[I
iget-object v1, p0, Lokio/u;->f:[[B
array-length v2, v1
add-int/lit8 v2, v2, -0x1
aget v0, v0, v2
new-array v0, v0, [B
.line 2
array-length v1, v1
const/4 v2, 0x0
const/4 v3, 0x0
:goto_e
if-ge v2, v1, :cond_25
.line 3
iget-object v4, p0, Lokio/u;->g:[I
add-int v5, v1, v2
aget v5, v4, v5
.line 4
aget v4, v4, v2
.line 5
iget-object v6, p0, Lokio/u;->f:[[B
aget-object v6, v6, v2
sub-int v7, v4, v3
invoke-static {v6, v5, v0, v3, v7}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
add-int/lit8 v2, v2, 0x1
move v3, v4
goto :goto_e
:cond_25
return-object v0
.end method
.method public final v()Ljava/lang/String;
.registers 2
invoke-virtual {p0}, Lokio/u;->y()Lokio/e;
move-result-object v0
invoke-virtual {v0}, Lokio/e;->v()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public final w(Lokio/b;)V
.registers 13
.line 1
iget-object v0, p0, Lokio/u;->f:[[B
array-length v0, v0
const/4 v1, 0x0
const/4 v2, 0x0
:goto_5
if-ge v1, v0, :cond_33
.line 2
iget-object v3, p0, Lokio/u;->g:[I
add-int v4, v0, v1
aget v7, v3, v4
.line 3
aget v3, v3, v1
.line 4
new-instance v4, Lokio/s;
iget-object v5, p0, Lokio/u;->f:[[B
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/s;-><init>([BIIZZ)V
.line 5
iget-object v2, p1, Lokio/b;->a:Lokio/s;
if-nez v2, :cond_2a
.line 6
iput-object v4, v4, Lokio/s;->g:Lokio/s;
iput-object v4, v4, Lokio/s;->f:Lokio/s;
iput-object v4, p1, Lokio/b;->a:Lokio/s;
goto :goto_2f
.line 7
:cond_2a
iget-object v2, v2, Lokio/s;->g:Lokio/s;
invoke-virtual {v2, v4}, Lokio/s;->b(Lokio/s;)Lokio/s;
:goto_2f
add-int/lit8 v1, v1, 0x1
move v2, v3
goto :goto_5
.line 8
:cond_33
iget-wide v0, p1, Lokio/b;->b:J
int-to-long v2, v2
add-long/2addr v0, v2
iput-wide v0, p1, Lokio/b;->b:J
return-void
.end method
.method public final x(I)I
.registers 5
iget-object v0, p0, Lokio/u;->g:[I
iget-object v1, p0, Lokio/u;->f:[[B
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_f
goto :goto_10
:cond_f
not-int p1, p1
:goto_10
return p1
.end method
.method public final y()Lokio/e;
.registers 3
new-instance v0, Lokio/e;
invoke-virtual {p0}, Lokio/u;->u()[B
move-result-object v1
invoke-direct {v0, v1}, Lokio/e;-><init>([B)V
return-object v0
.end method