Base16Codec$LazyHolder.smali

.class Lcom/amazonaws/util/Base16Codec$LazyHolder;
.super Ljava/lang/Object;
.source "Base16Codec.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/amazonaws/util/Base16Codec;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xa
    name = "LazyHolder"
.end annotation


# static fields
.field private static final DECODED:[B


# direct methods
.method static constructor <clinit>()V
    .registers 1

    .line 1
    invoke-static {}, Lcom/amazonaws/util/Base16Codec$LazyHolder;->decodeTable()[B

    move-result-object v0

    sput-object v0, Lcom/amazonaws/util/Base16Codec$LazyHolder;->DECODED:[B

    return-void
.end method

.method private constructor <init>()V
    .registers 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$000()[B
    .registers 1

    .line 1
    sget-object v0, Lcom/amazonaws/util/Base16Codec$LazyHolder;->DECODED:[B

    return-object v0
.end method

.method private static decodeTable()[B
    .registers 4

    const/16 v0, 0x67

    .line 1
    new-array v0, v0, [B

    const/4 v1, 0x0

    :goto_5
    const/16 v2, 0x66

    if-gt v1, v2, :cond_37

    const/16 v3, 0x30

    if-lt v1, v3, :cond_17

    const/16 v3, 0x39

    if-gt v1, v3, :cond_17

    add-int/lit8 v2, v1, -0x30

    int-to-byte v2, v2

    .line 2
    aput-byte v2, v0, v1

    goto :goto_34

    :cond_17
    const/16 v3, 0x41

    if-lt v1, v3, :cond_25

    const/16 v3, 0x46

    if-gt v1, v3, :cond_25

    add-int/lit8 v2, v1, -0x37

    int-to-byte v2, v2

    .line 3
    aput-byte v2, v0, v1

    goto :goto_34

    :cond_25
    const/16 v3, 0x61

    if-lt v1, v3, :cond_31

    if-gt v1, v2, :cond_31

    add-int/lit8 v2, v1, -0x57

    int-to-byte v2, v2

    .line 4
    aput-byte v2, v0, v1

    goto :goto_34

    :cond_31
    const/4 v2, -0x1

    .line 5
    aput-byte v2, v0, v1

    :goto_34
    add-int/lit8 v1, v1, 0x1

    goto :goto_5

    :cond_37
    return-object v0
.end method