.class public Lg6/c6;
.super Lg6/a5;
.source ""


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<MessageType:",
        "Lg6/f6<",
        "TMessageType;TBuilderType;>;BuilderType:",
        "Lg6/c6<",
        "TMessageType;TBuilderType;>;>",
        "Lg6/a5<",
        "TMessageType;TBuilderType;>;"
    }
.end annotation


# instance fields
.field public final r:Lg6/f6;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TMessageType;"
        }
    .end annotation
.end field

.field public s:Lg6/f6;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TMessageType;"
        }
    .end annotation
.end field

.field public t:Z


# direct methods
.method public constructor <init>(Lg6/f6;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TMessageType;)V"
        }
    .end annotation

    invoke-direct {p0}, Lg6/a5;-><init>()V

    iput-object p1, p0, Lg6/c6;->r:Lg6/f6;

    const/4 v0, 0x4

    const/4 v1, 0x0

    invoke-virtual {p1, v0, v1, v1}, Lg6/f6;->n(ILjava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lg6/f6;

    iput-object p1, p0, Lg6/c6;->s:Lg6/f6;

    const/4 p1, 0x0

    iput-boolean p1, p0, Lg6/c6;->t:Z

    return-void
.end method


# virtual methods
.method public final synthetic a()Lg6/h7;
    .registers 2

    iget-object v0, p0, Lg6/c6;->r:Lg6/f6;

    return-object v0
.end method

.method public final b()Lg6/f6;
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TMessageType;"
        }
    .end annotation

    invoke-virtual {p0}, Lg6/c6;->c()Lg6/f6;

    move-result-object v0

    const/4 v1, 0x1

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2, v2}, Lg6/f6;->n(ILjava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/Byte;

    invoke-virtual {v3}, Ljava/lang/Byte;->byteValue()B

    move-result v3

    if-ne v3, v1, :cond_13

    goto :goto_2f

    :cond_13
    if-nez v3, :cond_17

    const/4 v1, 0x0

    goto :goto_2f

    .line 1
    :cond_17
    sget-object v3, Lg6/p7;->c:Lg6/p7;

    .line 2
    invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v4

    invoke-virtual {v3, v4}, Lg6/p7;->a(Ljava/lang/Class;)Lg6/s7;

    move-result-object v3

    invoke-interface {v3, v0}, Lg6/s7;->b(Ljava/lang/Object;)Z

    move-result v3

    if-eq v1, v3, :cond_29

    move-object v1, v2

    goto :goto_2a

    :cond_29
    move-object v1, v0

    :goto_2a
    const/4 v4, 0x2

    invoke-virtual {v0, v4, v1, v2}, Lg6/f6;->n(ILjava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move v1, v3

    :goto_2f
    if-eqz v1, :cond_32

    return-object v0

    :cond_32
    new-instance v0, Lg6/f8;

    invoke-direct {v0}, Lg6/f8;-><init>()V

    throw v0
.end method

.method public c()Lg6/f6;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TMessageType;"
        }
    .end annotation

    iget-boolean v0, p0, Lg6/c6;->t:Z

    if-eqz v0, :cond_7

    iget-object v0, p0, Lg6/c6;->s:Lg6/f6;

    return-object v0

    :cond_7
    iget-object v0, p0, Lg6/c6;->s:Lg6/f6;

    .line 1
    sget-object v1, Lg6/p7;->c:Lg6/p7;

    .line 2
    invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v2

    invoke-virtual {v1, v2}, Lg6/p7;->a(Ljava/lang/Class;)Lg6/s7;

    move-result-object v1

    invoke-interface {v1, v0}, Lg6/s7;->a(Ljava/lang/Object;)V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lg6/c6;->t:Z

    iget-object v0, p0, Lg6/c6;->s:Lg6/f6;

    return-object v0
.end method

.method public final bridge synthetic clone()Ljava/lang/Object;
    .registers 2

    invoke-virtual {p0}, Lg6/c6;->f()Lg6/c6;

    move-result-object v0

    return-object v0
.end method

.method public d()V
    .registers 5

    iget-object v0, p0, Lg6/c6;->s:Lg6/f6;

    const/4 v1, 0x4

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2, v2}, Lg6/f6;->n(ILjava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lg6/f6;

    iget-object v1, p0, Lg6/c6;->s:Lg6/f6;

    .line 1
    sget-object v2, Lg6/p7;->c:Lg6/p7;

    .line 2
    invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v3

    invoke-virtual {v2, v3}, Lg6/p7;->a(Ljava/lang/Class;)Lg6/s7;

    move-result-object v2

    invoke-interface {v2, v0, v1}, Lg6/s7;->c(Ljava/lang/Object;Ljava/lang/Object;)V

    .line 3
    iput-object v0, p0, Lg6/c6;->s:Lg6/f6;

    return-void
.end method

.method public final f()Lg6/c6;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TBuilderType;"
        }
    .end annotation

    iget-object v0, p0, Lg6/c6;->r:Lg6/f6;

    const/4 v1, 0x5

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2, v2}, Lg6/f6;->n(ILjava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lg6/c6;

    invoke-virtual {p0}, Lg6/c6;->c()Lg6/f6;

    move-result-object v1

    invoke-virtual {v0, v1}, Lg6/c6;->h(Lg6/f6;)Lg6/c6;

    return-object v0
.end method

.method public final h(Lg6/f6;)Lg6/c6;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TMessageType;)TBuilderType;"
        }
    .end annotation

    iget-boolean v0, p0, Lg6/c6;->t:Z

    if-eqz v0, :cond_a

    invoke-virtual {p0}, Lg6/c6;->d()V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lg6/c6;->t:Z

    :cond_a
    iget-object v0, p0, Lg6/c6;->s:Lg6/f6;

    .line 1
    sget-object v1, Lg6/p7;->c:Lg6/p7;

    .line 2
    invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v2

    invoke-virtual {v1, v2}, Lg6/p7;->a(Ljava/lang/Class;)Lg6/s7;

    move-result-object v1

    invoke-interface {v1, v0, p1}, Lg6/s7;->c(Ljava/lang/Object;Ljava/lang/Object;)V

    return-object p0
.end method

.method public final i([BIILg6/s5;)Lg6/c6;
    .registers 12
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "([BII",
            "Lg6/s5;",
            ")TBuilderType;"
        }
    .end annotation

    iget-boolean p2, p0, Lg6/c6;->t:Z

    if-eqz p2, :cond_a

    invoke-virtual {p0}, Lg6/c6;->d()V

    const/4 p2, 0x0

    iput-boolean p2, p0, Lg6/c6;->t:Z

    .line 1
    :cond_a
    :try_start_a
    sget-object p2, Lg6/p7;->c:Lg6/p7;

    .line 2
    iget-object v0, p0, Lg6/c6;->s:Lg6/f6;

    invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    invoke-virtual {p2, v0}, Lg6/p7;->a(Ljava/lang/Class;)Lg6/s7;

    move-result-object v1

    iget-object v2, p0, Lg6/c6;->s:Lg6/f6;

    new-instance v6, Lg6/e5;

    invoke-direct {v6, p4}, Lg6/e5;-><init>(Lg6/s5;)V

    const/4 v4, 0x0

    move-object v3, p1

    move v5, p3

    invoke-interface/range {v1 .. v6}, Lg6/s7;->d(Ljava/lang/Object;[BIILg6/e5;)V
    :try_end_23
    .catch Lg6/o6; {:try_start_a .. :try_end_23} :catch_26
    .catch Ljava/lang/IndexOutOfBoundsException; {:try_start_a .. :try_end_23} :catch_30
    .catch Ljava/io/IOException; {:try_start_a .. :try_end_23} :catch_24

    return-object p0

    :catch_24
    move-exception p1

    goto :goto_28

    :catch_26
    move-exception p1

    goto :goto_35

    :goto_28
    new-instance p2, Ljava/lang/RuntimeException;

    const-string p3, "Reading from byte array should not throw IOException."

    invoke-direct {p2, p3, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V

    throw p2

    :catch_30
    invoke-static {}, Lg6/o6;->f()Lg6/o6;

    move-result-object p1

    throw p1

    :goto_35
    throw p1
.end method
