zzff.smali
.class final Lcom/google/android/gms/internal/clearcut/zzff;
.super Ljava/lang/Object;
# static fields
.field private static final zzqb:Lcom/google/android/gms/internal/clearcut/zzfg;
# direct methods
.method static constructor <clinit>()V
.registers 1
invoke-static {}, Lcom/google/android/gms/internal/clearcut/zzfd;->zzed()Z
move-result v0
if-eqz v0, :cond_17
invoke-static {}, Lcom/google/android/gms/internal/clearcut/zzfd;->zzee()Z
move-result v0
if-eqz v0, :cond_17
const/4 v0, 0x1
:goto_d
if-eqz v0, :cond_19
new-instance v0, Lcom/google/android/gms/internal/clearcut/zzfj;
invoke-direct {v0}, Lcom/google/android/gms/internal/clearcut/zzfj;-><init>()V
:goto_14
sput-object v0, Lcom/google/android/gms/internal/clearcut/zzff;->zzqb:Lcom/google/android/gms/internal/clearcut/zzfg;
return-void
:cond_17
const/4 v0, 0x0
goto :goto_d
:cond_19
new-instance v0, Lcom/google/android/gms/internal/clearcut/zzfh;
invoke-direct {v0}, Lcom/google/android/gms/internal/clearcut/zzfh;-><init>()V
goto :goto_14
.end method
.method static zza(Ljava/lang/CharSequence;)I
.registers 9
const/16 v7, 0x800
const/4 v0, 0x0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v3
move v1, v0
:goto_8
if-ge v1, v3, :cond_7e
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
const/16 v4, 0x80
if-ge v2, v4, :cond_7e
add-int/lit8 v1, v1, 0x1
goto :goto_8
:goto_15
if-ge v1, v3, :cond_7c
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v4
if-ge v4, v7, :cond_25
rsub-int/lit8 v4, v4, 0x7f
ushr-int/lit8 v4, v4, 0x1f
add-int/2addr v2, v4
add-int/lit8 v1, v1, 0x1
goto :goto_15
:cond_25
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v4
:goto_29
if-ge v1, v4, :cond_56
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v5
if-ge v5, v7, :cond_39
rsub-int/lit8 v5, v5, 0x7f
ushr-int/lit8 v5, v5, 0x1f
add-int/2addr v0, v5
:cond_36
:goto_36
add-int/lit8 v1, v1, 0x1
goto :goto_29
:cond_39
add-int/lit8 v0, v0, 0x2
const v6, 0xd800
if-gt v6, v5, :cond_36
const v6, 0xdfff
if-gt v5, v6, :cond_36
invoke-static {p0, v1}, Ljava/lang/Character;->codePointAt(Ljava/lang/CharSequence;I)I
move-result v5
const/high16 v6, 0x10000
if-ge v5, v6, :cond_53
new-instance v0, Lcom/google/android/gms/internal/clearcut/zzfi;
invoke-direct {v0, v1, v4}, Lcom/google/android/gms/internal/clearcut/zzfi;-><init>(II)V
throw v0
:cond_53
add-int/lit8 v1, v1, 0x1
goto :goto_36
:cond_56
add-int/2addr v0, v2
:goto_57
if-ge v0, v3, :cond_7b
new-instance v1, Ljava/lang/IllegalArgumentException;
int-to-long v2, v0
const-wide v4, 0x100000000L
add-long/2addr v2, v4
const/16 v0, 0x36
new-instance v4, Ljava/lang/StringBuilder;
invoke-direct {v4, v0}, Ljava/lang/StringBuilder;-><init>(I)V
const-string v0, "UTF-8 length does not fit in int: "
invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {v1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v1
:cond_7b
return v0
:cond_7c
move v0, v2
goto :goto_57
:cond_7e
move v2, v3
goto :goto_15
.end method
.method static zza(Ljava/lang/CharSequence;[BII)I
.registers 5
sget-object v0, Lcom/google/android/gms/internal/clearcut/zzff;->zzqb:Lcom/google/android/gms/internal/clearcut/zzfg;
invoke-virtual {v0, p0, p1, p2, p3}, Lcom/google/android/gms/internal/clearcut/zzfg;->zzb(Ljava/lang/CharSequence;[BII)I
move-result v0
return v0
.end method
.method static zza(Ljava/lang/CharSequence;Ljava/nio/ByteBuffer;)V
.registers 6
sget-object v0, Lcom/google/android/gms/internal/clearcut/zzff;->zzqb:Lcom/google/android/gms/internal/clearcut/zzfg;
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->hasArray()Z
move-result v1
if-eqz v1, :cond_23
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->arrayOffset()I
move-result v0
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->array()[B
move-result-object v1
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->position()I
move-result v2
add-int/2addr v2, v0
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->remaining()I
move-result v3
invoke-static {p0, v1, v2, v3}, Lcom/google/android/gms/internal/clearcut/zzff;->zza(Ljava/lang/CharSequence;[BII)I
move-result v1
sub-int v0, v1, v0
invoke-virtual {p1, v0}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;
:goto_22
return-void
:cond_23
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->isDirect()Z
move-result v1
if-eqz v1, :cond_2d
invoke-virtual {v0, p0, p1}, Lcom/google/android/gms/internal/clearcut/zzfg;->zzb(Ljava/lang/CharSequence;Ljava/nio/ByteBuffer;)V
goto :goto_22
:cond_2d
invoke-static {p0, p1}, Lcom/google/android/gms/internal/clearcut/zzfg;->zzc(Ljava/lang/CharSequence;Ljava/nio/ByteBuffer;)V
goto :goto_22
.end method
.method private static zzam(I)I
.registers 2
const/16 v0, -0xc
if-le p0, v0, :cond_5
const/4 p0, -0x1
:cond_5
return p0
.end method
.method static synthetic zzan(I)I
.registers 2
invoke-static {p0}, Lcom/google/android/gms/internal/clearcut/zzff;->zzam(I)I
move-result v0
return v0
.end method
.method private static zzd(III)I
.registers 5
const/16 v1, -0x41
const/16 v0, -0xc
if-gt p0, v0, :cond_a
if-gt p1, v1, :cond_a
if-le p2, v1, :cond_c
:cond_a
const/4 v0, -0x1
:goto_b
return v0
:cond_c
shl-int/lit8 v0, p1, 0x8
xor-int/2addr v0, p0
shl-int/lit8 v1, p2, 0x10
xor-int/2addr v0, v1
goto :goto_b
.end method
.method static synthetic zze(III)I
.registers 4
invoke-static {p0, p1, p2}, Lcom/google/android/gms/internal/clearcut/zzff;->zzd(III)I
move-result v0
return v0
.end method
.method public static zze([B)Z
.registers 4
sget-object v0, Lcom/google/android/gms/internal/clearcut/zzff;->zzqb:Lcom/google/android/gms/internal/clearcut/zzfg;
const/4 v1, 0x0
array-length v2, p0
invoke-virtual {v0, p0, v1, v2}, Lcom/google/android/gms/internal/clearcut/zzfg;->zze([BII)Z
move-result v0
return v0
.end method
.method public static zze([BII)Z
.registers 4
sget-object v0, Lcom/google/android/gms/internal/clearcut/zzff;->zzqb:Lcom/google/android/gms/internal/clearcut/zzfg;
invoke-virtual {v0, p0, p1, p2}, Lcom/google/android/gms/internal/clearcut/zzfg;->zze([BII)Z
move-result v0
return v0
.end method
.method private static zzf([BII)I
.registers 6
add-int/lit8 v0, p1, -0x1
aget-byte v0, p0, v0
sub-int v1, p2, p1
packed-switch v1, :pswitch_data_26
new-instance v0, Ljava/lang/AssertionError;
invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V
throw v0
:pswitch_f
invoke-static {v0}, Lcom/google/android/gms/internal/clearcut/zzff;->zzam(I)I
move-result v0
:goto_13
return v0
:pswitch_14
aget-byte v1, p0, p1
invoke-static {v0, v1}, Lcom/google/android/gms/internal/clearcut/zzff;->zzp(II)I
move-result v0
goto :goto_13
:pswitch_1b
aget-byte v1, p0, p1
add-int/lit8 v2, p1, 0x1
aget-byte v2, p0, v2
invoke-static {v0, v1, v2}, Lcom/google/android/gms/internal/clearcut/zzff;->zzd(III)I
move-result v0
goto :goto_13
:pswitch_data_26
.packed-switch 0x0
:pswitch_f
:pswitch_14
:pswitch_1b
.end packed-switch
.end method
.method static synthetic zzg([BII)I
.registers 4
invoke-static {p0, p1, p2}, Lcom/google/android/gms/internal/clearcut/zzff;->zzf([BII)I
move-result v0
return v0
.end method
.method private static zzp(II)I
.registers 3
const/16 v0, -0xc
if-gt p0, v0, :cond_8
const/16 v0, -0x41
if-le p1, v0, :cond_a
:cond_8
const/4 v0, -0x1
:goto_9
return v0
:cond_a
shl-int/lit8 v0, p1, 0x8
xor-int/2addr v0, p0
goto :goto_9
.end method
.method static synthetic zzq(II)I
.registers 3
invoke-static {p0, p1}, Lcom/google/android/gms/internal/clearcut/zzff;->zzp(II)I
move-result v0
return v0
.end method