.class public Lcom/a/a/aa;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/a/a/a/d;


# static fields
.field static a:Ljava/util/Hashtable;


# instance fields
.field b:Lcom/a/a/q;

.field c:Ljava/nio/ByteOrder;

.field d:Lcom/a/a/o;

.field private e:Lcom/a/a/ae;

.field private f:Lcom/a/a/ae;

.field private g:Lcom/a/a/ae;

.field private h:Lcom/a/a/ae;

.field private i:Lcom/a/a/ae;

.field private j:Lcom/a/a/ab;

.field private k:Lcom/a/a/ab;

.field private l:Lcom/a/a/ab;

.field private m:Ljava/util/LinkedList;

.field private n:Ljava/util/ArrayList;


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

    new-instance v0, Ljava/util/Hashtable;

    invoke-direct {v0}, Ljava/util/Hashtable;-><init>()V

    sput-object v0, Lcom/a/a/aa;->a:Ljava/util/Hashtable;

    return-void
.end method

.method public constructor <init>(Lcom/a/a/q;)V
    .locals 1

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

    new-instance v0, Lcom/a/a/ao;

    invoke-direct {v0, p0}, Lcom/a/a/ao;-><init>(Lcom/a/a/aa;)V

    iput-object v0, p0, Lcom/a/a/aa;->e:Lcom/a/a/ae;

    new-instance v0, Lcom/a/a/ap;

    invoke-direct {v0, p0}, Lcom/a/a/ap;-><init>(Lcom/a/a/aa;)V

    iput-object v0, p0, Lcom/a/a/aa;->f:Lcom/a/a/ae;

    new-instance v0, Lcom/a/a/aq;

    invoke-direct {v0, p0}, Lcom/a/a/aq;-><init>(Lcom/a/a/aa;)V

    iput-object v0, p0, Lcom/a/a/aa;->g:Lcom/a/a/ae;

    new-instance v0, Lcom/a/a/ar;

    invoke-direct {v0, p0}, Lcom/a/a/ar;-><init>(Lcom/a/a/aa;)V

    iput-object v0, p0, Lcom/a/a/aa;->h:Lcom/a/a/ae;

    new-instance v0, Lcom/a/a/as;

    invoke-direct {v0, p0}, Lcom/a/a/as;-><init>(Lcom/a/a/aa;)V

    iput-object v0, p0, Lcom/a/a/aa;->i:Lcom/a/a/ae;

    new-instance v0, Lcom/a/a/at;

    invoke-direct {v0, p0}, Lcom/a/a/at;-><init>(Lcom/a/a/aa;)V

    iput-object v0, p0, Lcom/a/a/aa;->j:Lcom/a/a/ab;

    new-instance v0, Lcom/a/a/au;

    invoke-direct {v0, p0}, Lcom/a/a/au;-><init>(Lcom/a/a/aa;)V

    iput-object v0, p0, Lcom/a/a/aa;->k:Lcom/a/a/ab;

    new-instance v0, Lcom/a/a/av;

    invoke-direct {v0, p0}, Lcom/a/a/av;-><init>(Lcom/a/a/aa;)V

    iput-object v0, p0, Lcom/a/a/aa;->l:Lcom/a/a/ab;

    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    iput-object v0, p0, Lcom/a/a/aa;->m:Ljava/util/LinkedList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/a/a/aa;->n:Ljava/util/ArrayList;

    sget-object v0, Ljava/nio/ByteOrder;->BIG_ENDIAN:Ljava/nio/ByteOrder;

    iput-object v0, p0, Lcom/a/a/aa;->c:Ljava/nio/ByteOrder;

    new-instance v0, Lcom/a/a/o;

    invoke-direct {v0}, Lcom/a/a/o;-><init>()V

    iput-object v0, p0, Lcom/a/a/aa;->d:Lcom/a/a/o;

    iput-object p1, p0, Lcom/a/a/aa;->b:Lcom/a/a/q;

    iget-object v0, p0, Lcom/a/a/aa;->b:Lcom/a/a/q;

    invoke-interface {v0, p0}, Lcom/a/a/q;->a(Lcom/a/a/a/d;)V

    return-void
.end method

.method static synthetic a(Lcom/a/a/aa;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/a/a/aa;->n:Ljava/util/ArrayList;

    return-object v0
.end method


# virtual methods
.method public a(BLcom/a/a/a/d;)Lcom/a/a/aa;
    .locals 2

    iget-object v0, p0, Lcom/a/a/aa;->m:Ljava/util/LinkedList;

    new-instance v1, Lcom/a/a/ad;

    invoke-direct {v1, p1, p2}, Lcom/a/a/ad;-><init>(BLcom/a/a/a/d;)V

    invoke-virtual {v0, v1}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z

    return-object p0
.end method

.method public a(ILcom/a/a/ab;)Lcom/a/a/aa;
    .locals 2

    iget-object v0, p0, Lcom/a/a/aa;->m:Ljava/util/LinkedList;

    new-instance v1, Lcom/a/a/ac;

    invoke-direct {v1, p1, p2}, Lcom/a/a/ac;-><init>(ILcom/a/a/ab;)V

    invoke-virtual {v0, v1}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z

    return-object p0
.end method

.method public a(Lcom/a/a/q;Lcom/a/a/o;)V
    .locals 2

    iget-object v0, p0, Lcom/a/a/aa;->d:Lcom/a/a/o;

    invoke-virtual {p2, v0}, Lcom/a/a/o;->a(Lcom/a/a/o;)V

    :cond_0
    :goto_0
    iget-object v0, p0, Lcom/a/a/aa;->m:Ljava/util/LinkedList;

    invoke-virtual {v0}, Ljava/util/LinkedList;->size()I

    move-result v0

    if-lez v0, :cond_1

    iget-object v0, p0, Lcom/a/a/aa;->d:Lcom/a/a/o;

    invoke-virtual {v0}, Lcom/a/a/o;->l()I

    move-result v1

    iget-object v0, p0, Lcom/a/a/aa;->m:Ljava/util/LinkedList;

    invoke-virtual {v0}, Ljava/util/LinkedList;->peek()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/a/a/ae;

    iget v0, v0, Lcom/a/a/ae;->c:I

    if-lt v1, v0, :cond_1

    iget-object v0, p0, Lcom/a/a/aa;->d:Lcom/a/a/o;

    iget-object v1, p0, Lcom/a/a/aa;->c:Ljava/nio/ByteOrder;

    invoke-virtual {v0, v1}, Lcom/a/a/o;->a(Ljava/nio/ByteOrder;)Lcom/a/a/o;

    iget-object v0, p0, Lcom/a/a/aa;->m:Ljava/util/LinkedList;

    invoke-virtual {v0}, Ljava/util/LinkedList;->poll()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/a/a/ae;

    iget-object v1, p0, Lcom/a/a/aa;->d:Lcom/a/a/o;

    invoke-virtual {v0, p1, v1}, Lcom/a/a/ae;->a(Lcom/a/a/q;Lcom/a/a/o;)Lcom/a/a/ae;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/a/a/aa;->m:Ljava/util/LinkedList;

    invoke-virtual {v1, v0}, Ljava/util/LinkedList;->addFirst(Ljava/lang/Object;)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/a/a/aa;->m:Ljava/util/LinkedList;

    invoke-virtual {v0}, Ljava/util/LinkedList;->size()I

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/a/a/aa;->d:Lcom/a/a/o;

    invoke-virtual {v0, p2}, Lcom/a/a/o;->a(Lcom/a/a/o;)V

    :cond_2
    return-void
.end method
