.class public Lcom/a/a/c/a/c;
.super Lcom/a/a/c/c/g;

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


# instance fields
.field d:Lcom/a/a/y;

.field e:Lcom/a/a/c/c;

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

.field g:Ljava/lang/String;

.field h:Ljava/lang/String;

.field i:Lcom/a/a/c/a/d;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/a/a/c/c/g;-><init>()V

    const-string v0, "multipart/form-data"

    iput-object v0, p0, Lcom/a/a/c/a/c;->h:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>([Ljava/lang/String;)V
    .locals 6

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/a/a/c/c/g;-><init>()V

    const-string v0, "multipart/form-data"

    iput-object v0, p0, Lcom/a/a/c/a/c;->h:Ljava/lang/String;

    array-length v2, p1

    move v0, v1

    :goto_0
    if-ge v0, v2, :cond_1

    aget-object v3, p1, v0

    const-string v4, "="

    invoke-virtual {v3, v4}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v3

    array-length v4, v3

    const/4 v5, 0x2

    if-ne v4, v5, :cond_0

    const-string v4, "boundary"

    aget-object v5, v3, v1

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_0

    const/4 v0, 0x1

    aget-object v0, v3, v0

    invoke-virtual {p0, v0}, Lcom/a/a/c/a/c;->a(Ljava/lang/String;)V

    :goto_1
    return-void

    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_1
    new-instance v0, Ljava/lang/Exception;

    const-string v1, "No boundary found for multipart/form-data"

    invoke-direct {v0, v1}, Ljava/lang/Exception;-><init>(Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lcom/a/a/c/a/c;->a(Ljava/lang/Exception;)V

    goto :goto_1
.end method


# virtual methods
.method public synthetic a()Ljava/lang/Object;
    .locals 1

    invoke-virtual {p0}, Lcom/a/a/c/a/c;->i()Lcom/a/a/c/f;

    move-result-object v0

    return-object v0
.end method

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

    invoke-virtual {p0, p1}, Lcom/a/a/c/a/c;->a(Lcom/a/a/q;)V

    invoke-virtual {p0, p2}, Lcom/a/a/c/a/c;->b(Lcom/a/a/a/a;)V

    return-void
.end method

.method public a_()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method final d()V
    .locals 4

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/a/a/c/a/c;->f:Lcom/a/a/o;

    if-nez v0, :cond_0

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/a/a/c/a/c;->e:Lcom/a/a/c/c;

    if-nez v0, :cond_1

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

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

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

    :cond_1
    iget-object v0, p0, Lcom/a/a/c/a/c;->e:Lcom/a/a/c/c;

    iget-object v1, p0, Lcom/a/a/c/a/c;->g:Ljava/lang/String;

    iget-object v2, p0, Lcom/a/a/c/a/c;->f:Lcom/a/a/o;

    invoke-virtual {v2}, Lcom/a/a/o;->i()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/a/a/c/c;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/a/a/c/c;

    iput-object v3, p0, Lcom/a/a/c/a/c;->g:Ljava/lang/String;

    iput-object v3, p0, Lcom/a/a/c/a/c;->f:Lcom/a/a/o;

    goto :goto_0
.end method

.method protected final e()V
    .locals 0

    invoke-super {p0}, Lcom/a/a/c/c/g;->e()V

    invoke-virtual {p0}, Lcom/a/a/c/a/c;->d()V

    return-void
.end method

.method protected final h()V
    .locals 3

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

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

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

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

    iput-object v1, p0, Lcom/a/a/c/a/c;->d:Lcom/a/a/y;

    iget-object v1, p0, Lcom/a/a/c/a/c;->d:Lcom/a/a/y;

    new-instance v2, Lcom/a/a/c/a/i;

    invoke-direct {v2, p0, v0}, Lcom/a/a/c/a/i;-><init>(Lcom/a/a/c/a/c;Lcom/a/a/c/c;)V

    invoke-virtual {v1, v2}, Lcom/a/a/y;->a(Lcom/a/a/z;)V

    iget-object v0, p0, Lcom/a/a/c/a/c;->d:Lcom/a/a/y;

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

    return-void
.end method

.method public i()Lcom/a/a/c/f;
    .locals 2

    new-instance v0, Lcom/a/a/c/f;

    iget-object v1, p0, Lcom/a/a/c/a/c;->e:Lcom/a/a/c/c;

    invoke-virtual {v1}, Lcom/a/a/c/c;->a()Lcom/a/a/c/f;

    move-result-object v1

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

    return-object v0
.end method
