zzegm.smali
.class final Lcom/google/android/gms/internal/ads/zzegm;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-ads@@19.4.0"
# direct methods
.method static zzq([B)[B
.registers 7
.line 1
array-length v0, p0
const/16 v1, 0x10
if-ne v0, v1, :cond_38
new-array v0, v1, [B
const/4 v2, 0x0
const/4 v3, 0x0
:goto_9
const/16 v4, 0xf
if-ge v3, v1, :cond_2a
.line 5
aget-byte v5, p0, v3
shl-int/lit8 v5, v5, 0x1
and-int/lit16 v5, v5, 0xfe
int-to-byte v5, v5
aput-byte v5, v0, v3
if-ge v3, v4, :cond_27
.line 7
aget-byte v4, v0, v3
add-int/lit8 v5, v3, 0x1
aget-byte v5, p0, v5
shr-int/lit8 v5, v5, 0x7
and-int/lit8 v5, v5, 0x1
int-to-byte v5, v5
or-int/2addr v4, v5
int-to-byte v4, v4
aput-byte v4, v0, v3
:cond_27
add-int/lit8 v3, v3, 0x1
goto :goto_9
.line 9
:cond_2a
aget-byte v1, v0, v4
aget-byte p0, p0, v2
shr-int/lit8 p0, p0, 0x7
and-int/lit16 p0, p0, 0x87
int-to-byte p0, p0
xor-int/2addr p0, v1
int-to-byte p0, p0
aput-byte p0, v0, v4
return-object v0
.line 2
:cond_38
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string v0, "value must be a block."
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method