a.smali
.class public Lorg/apache/commons/compress/a/a;
.super Ljava/lang/Object;
.source "ArchiveUtils.java"
# direct methods
.method public static a(Ljava/lang/String;[BII)Z
.registers 12
:try_start_0
const-string v0, "US-ASCII"
.line 1
invoke-virtual {p0, v0}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B
move-result-object v1
:try_end_6
.catch Ljava/io/UnsupportedEncodingException; {:try_start_0 .. :try_end_6} :catch_11
const/4 v2, 0x0
.line 2
array-length v3, v1
const/4 v7, 0x0
move-object v4, p1
move v5, p2
move v6, p3
invoke-static/range {v1 .. v7}, Lorg/apache/commons/compress/a/a;->a([BII[BIIZ)Z
move-result p0
return p0
:catch_11
move-exception p0
.line 3
new-instance p1, Ljava/lang/RuntimeException;
invoke-direct {p1, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
throw p1
.end method
.method public static a([BI)Z
.registers 5
const/4 v0, 0x0
const/4 v1, 0x0
:goto_2
if-ge v1, p1, :cond_c
.line 7
aget-byte v2, p0, v1
if-eqz v2, :cond_9
return v0
:cond_9
add-int/lit8 v1, v1, 0x1
goto :goto_2
:cond_c
const/4 p0, 0x1
return p0
.end method
.method public static a([BII[BIIZ)Z
.registers 12
if-ge p2, p5, :cond_4
move v0, p2
goto :goto_5
:cond_4
move v0, p5
:goto_5
const/4 v1, 0x0
const/4 v2, 0x0
:goto_7
if-ge v2, v0, :cond_17
add-int v3, p1, v2
.line 4
aget-byte v3, p0, v3
add-int v4, p4, v2
aget-byte v4, p3, v4
if-eq v3, v4, :cond_14
return v1
:cond_14
add-int/lit8 v2, v2, 0x1
goto :goto_7
:cond_17
const/4 v0, 0x1
if-ne p2, p5, :cond_1b
return v0
:cond_1b
if-eqz p6, :cond_38
if-le p2, p5, :cond_2b
:goto_1f
if-ge p5, p2, :cond_37
add-int p3, p1, p5
.line 5
aget-byte p3, p0, p3
if-eqz p3, :cond_28
return v1
:cond_28
add-int/lit8 p5, p5, 0x1
goto :goto_1f
:cond_2b
:goto_2b
if-ge p2, p5, :cond_37
add-int p0, p4, p2
.line 6
aget-byte p0, p3, p0
if-eqz p0, :cond_34
return v1
:cond_34
add-int/lit8 p2, p2, 0x1
goto :goto_2b
:cond_37
return v0
:cond_38
return v1
.end method