p$c.smali

.class public Lf6/p$c;
.super Lf6/p;
.source "CodedOutputStream.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lf6/p;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "c"
.end annotation


# instance fields
.field public final e:[B

.field public final f:I

.field public g:I


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

    return-void
.end method

.method public constructor <init>([BII)V
    .registers 7

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lf6/p;-><init>(Lf6/p$a;)V

    if-eqz p1, :cond_3b

    or-int v0, p2, p3

    array-length v1, p1

    add-int v2, p2, p3

    sub-int/2addr v1, v2

    or-int/2addr v0, v1

    if-ltz v0, :cond_16

    iput-object p1, p0, Lf6/p$c;->e:[B

    iput p2, p0, Lf6/p$c;->g:I

    iput v2, p0, Lf6/p$c;->f:I

    return-void

    :cond_16
    new-instance v0, Ljava/lang/IllegalArgumentException;

    const/4 v1, 0x3

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    array-length p1, p1

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    aput-object p1, v1, v2

    const/4 p1, 0x1

    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p2

    aput-object p2, v1, p1

    const/4 p1, 0x2

    invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p2

    aput-object p2, v1, p1

    const-string p1, "Array range is invalid. Buffer.length=%d, offset=%d, length=%d"

    invoke-static {p1, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

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

    throw v0

    :cond_3b
    new-instance p1, Ljava/lang/NullPointerException;

    const-string p2, "buffer"

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

    throw p1
.end method


# virtual methods
.method public final a(B)V
    .registers 6
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    :try_start_0
    iget-object v0, p0, Lf6/p$c;->e:[B

    iget v1, p0, Lf6/p$c;->g:I

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lf6/p$c;->g:I

    aput-byte p1, v0, v1
    :try_end_a
    .catch Ljava/lang/IndexOutOfBoundsException; {:try_start_0 .. :try_end_a} :catch_b

    return-void

    :catch_b
    move-exception p1

    new-instance v0, Lf6/p$d;

    const/4 v1, 0x3

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    iget v3, p0, Lf6/p$c;->g:I

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v1, v2

    iget v2, p0, Lf6/p$c;->f:I

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    const/4 v3, 0x1

    aput-object v2, v1, v3

    const/4 v2, 0x2

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v1, v2

    const-string v2, "Pos: %d, limit: %d, len: %d"

    invoke-static {v2, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1, p1}, Lf6/p$d;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V

    throw v0
.end method

.method public final a(IJ)V
    .registers 5
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/4 v0, 0x1

    invoke-virtual {p0, p1, v0}, Lf6/p$c;->f(II)V

    invoke-virtual {p0, p2, p3}, Lf6/p$c;->a(J)V

    return-void
.end method

.method public final a(ILf6/m;)V
    .registers 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/4 v0, 0x2

    invoke-virtual {p0, p1, v0}, Lf6/p$c;->f(II)V

    invoke-virtual {p0, p2}, Lf6/p$c;->a(Lf6/m;)V

    return-void
.end method

.method public final a(ILjava/lang/String;)V
    .registers 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/4 v0, 0x2

    invoke-virtual {p0, p1, v0}, Lf6/p$c;->f(II)V

    invoke-virtual {p0, p2}, Lf6/p$c;->a(Ljava/lang/String;)V

    return-void
.end method

.method public final a(IZ)V
    .registers 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/4 v0, 0x0

    invoke-virtual {p0, p1, v0}, Lf6/p$c;->f(II)V

    int-to-byte p1, p2

    invoke-virtual {p0, p1}, Lf6/p$c;->a(B)V

    return-void
.end method

.method public final a(J)V
    .registers 8
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    :try_start_0
    iget-object v0, p0, Lf6/p$c;->e:[B

    iget v1, p0, Lf6/p$c;->g:I

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lf6/p$c;->g:I

    long-to-int v3, p1

    and-int/lit16 v3, v3, 0xff

    int-to-byte v3, v3

    aput-byte v3, v0, v1

    iget-object v0, p0, Lf6/p$c;->e:[B

    add-int/lit8 v1, v2, 0x1

    iput v1, p0, Lf6/p$c;->g:I

    const/16 v3, 0x8

    shr-long v3, p1, v3

    long-to-int v4, v3

    and-int/lit16 v3, v4, 0xff

    int-to-byte v3, v3

    aput-byte v3, v0, v2

    iget-object v0, p0, Lf6/p$c;->e:[B

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lf6/p$c;->g:I

    const/16 v3, 0x10

    shr-long v3, p1, v3

    long-to-int v4, v3

    and-int/lit16 v3, v4, 0xff

    int-to-byte v3, v3

    aput-byte v3, v0, v1

    iget-object v0, p0, Lf6/p$c;->e:[B

    add-int/lit8 v1, v2, 0x1

    iput v1, p0, Lf6/p$c;->g:I

    const/16 v3, 0x18

    shr-long v3, p1, v3

    long-to-int v4, v3

    and-int/lit16 v3, v4, 0xff

    int-to-byte v3, v3

    aput-byte v3, v0, v2

    iget-object v0, p0, Lf6/p$c;->e:[B

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lf6/p$c;->g:I

    const/16 v3, 0x20

    shr-long v3, p1, v3

    long-to-int v4, v3

    and-int/lit16 v3, v4, 0xff

    int-to-byte v3, v3

    aput-byte v3, v0, v1

    iget-object v0, p0, Lf6/p$c;->e:[B

    add-int/lit8 v1, v2, 0x1

    iput v1, p0, Lf6/p$c;->g:I

    const/16 v3, 0x28

    shr-long v3, p1, v3

    long-to-int v4, v3

    and-int/lit16 v3, v4, 0xff

    int-to-byte v3, v3

    aput-byte v3, v0, v2

    iget-object v0, p0, Lf6/p$c;->e:[B

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lf6/p$c;->g:I

    const/16 v3, 0x30

    shr-long v3, p1, v3

    long-to-int v4, v3

    and-int/lit16 v3, v4, 0xff

    int-to-byte v3, v3

    aput-byte v3, v0, v1

    iget-object v0, p0, Lf6/p$c;->e:[B

    add-int/lit8 v1, v2, 0x1

    iput v1, p0, Lf6/p$c;->g:I

    const/16 v1, 0x38

    shr-long/2addr p1, v1

    long-to-int p2, p1

    and-int/lit16 p1, p2, 0xff

    int-to-byte p1, p1

    aput-byte p1, v0, v2
    :try_end_7d
    .catch Ljava/lang/IndexOutOfBoundsException; {:try_start_0 .. :try_end_7d} :catch_7e

    return-void

    :catch_7e
    move-exception p1

    new-instance p2, Lf6/p$d;

    const/4 v0, 0x3

    new-array v0, v0, [Ljava/lang/Object;

    const/4 v1, 0x0

    iget v2, p0, Lf6/p$c;->g:I

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    aput-object v2, v0, v1

    iget v1, p0, Lf6/p$c;->f:I

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    const/4 v2, 0x1

    aput-object v1, v0, v2

    const/4 v1, 0x2

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    aput-object v2, v0, v1

    const-string v1, "Pos: %d, limit: %d, len: %d"

    invoke-static {v1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {p2, v0, p1}, Lf6/p$d;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V

    throw p2
.end method

.method public final a(Lf6/m;)V
    .registers 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    invoke-virtual {p1}, Lf6/m;->size()I

    move-result v0

    invoke-virtual {p0, v0}, Lf6/p$c;->g(I)V

    invoke-virtual {p1, p0}, Lf6/m;->a(Lf6/l;)V

    return-void
.end method

.method public final a(Ljava/lang/String;)V
    .registers 7
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    iget v0, p0, Lf6/p$c;->g:I

    :try_start_2
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v1

    mul-int/lit8 v1, v1, 0x3

    invoke-static {v1}, Lf6/p;->q(I)I

    move-result v1

    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v2

    invoke-static {v2}, Lf6/p;->q(I)I

    move-result v2

    if-ne v2, v1, :cond_2f

    add-int v1, v0, v2

    iput v1, p0, Lf6/p$c;->g:I

    iget-object v3, p0, Lf6/p$c;->e:[B

    invoke-virtual {p0}, Lf6/p$c;->d()I

    move-result v4

    invoke-static {p1, v3, v1, v4}, Lf6/u2;->a(Ljava/lang/CharSequence;[BII)I

    move-result v1

    iput v0, p0, Lf6/p$c;->g:I

    sub-int v3, v1, v0

    sub-int/2addr v3, v2

    invoke-virtual {p0, v3}, Lf6/p$c;->g(I)V

    iput v1, p0, Lf6/p$c;->g:I

    goto :goto_52

    :cond_2f
    invoke-static {p1}, Lf6/u2;->a(Ljava/lang/CharSequence;)I

    move-result v1

    invoke-virtual {p0, v1}, Lf6/p$c;->g(I)V

    iget-object v1, p0, Lf6/p$c;->e:[B

    iget v2, p0, Lf6/p$c;->g:I

    invoke-virtual {p0}, Lf6/p$c;->d()I

    move-result v3

    invoke-static {p1, v1, v2, v3}, Lf6/u2;->a(Ljava/lang/CharSequence;[BII)I

    move-result v1

    iput v1, p0, Lf6/p$c;->g:I
    :try_end_44
    .catch Lf6/u2$d; {:try_start_2 .. :try_end_44} :catch_4c
    .catch Ljava/lang/IndexOutOfBoundsException; {:try_start_2 .. :try_end_44} :catch_45

    goto :goto_52

    :catch_45
    move-exception p1

    new-instance v0, Lf6/p$d;

    invoke-direct {v0, p1}, Lf6/p$d;-><init>(Ljava/lang/Throwable;)V

    throw v0

    :catch_4c
    move-exception v1

    iput v0, p0, Lf6/p$c;->g:I

    invoke-virtual {p0, p1, v1}, Lf6/p;->a(Ljava/lang/String;Lf6/u2$d;)V

    :goto_52
    return-void
.end method

.method public final a(Ljava/nio/ByteBuffer;)V
    .registers 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    invoke-virtual {p0, p1}, Lf6/p$c;->b(Ljava/nio/ByteBuffer;)V

    return-void
.end method

.method public final a([BII)V
    .registers 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    invoke-virtual {p0, p1, p2, p3}, Lf6/p$c;->d([BII)V

    return-void
.end method

.method public b()V
    .registers 1

    return-void
.end method

.method public final b(I)V
    .registers 6
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    :try_start_0
    iget-object v0, p0, Lf6/p$c;->e:[B

    iget v1, p0, Lf6/p$c;->g:I

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lf6/p$c;->g:I

    and-int/lit16 v3, p1, 0xff

    int-to-byte v3, v3

    aput-byte v3, v0, v1

    iget-object v0, p0, Lf6/p$c;->e:[B

    add-int/lit8 v1, v2, 0x1

    iput v1, p0, Lf6/p$c;->g:I

    shr-int/lit8 v3, p1, 0x8

    and-int/lit16 v3, v3, 0xff

    int-to-byte v3, v3

    aput-byte v3, v0, v2

    iget-object v0, p0, Lf6/p$c;->e:[B

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lf6/p$c;->g:I

    shr-int/lit8 v3, p1, 0x10

    and-int/lit16 v3, v3, 0xff

    int-to-byte v3, v3

    aput-byte v3, v0, v1

    iget-object v0, p0, Lf6/p$c;->e:[B

    add-int/lit8 v1, v2, 0x1

    iput v1, p0, Lf6/p$c;->g:I

    shr-int/lit8 p1, p1, 0x18

    and-int/lit16 p1, p1, 0xff

    int-to-byte p1, p1

    aput-byte p1, v0, v2
    :try_end_34
    .catch Ljava/lang/IndexOutOfBoundsException; {:try_start_0 .. :try_end_34} :catch_35

    return-void

    :catch_35
    move-exception p1

    new-instance v0, Lf6/p$d;

    const/4 v1, 0x3

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    iget v3, p0, Lf6/p$c;->g:I

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v1, v2

    iget v2, p0, Lf6/p$c;->f:I

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    const/4 v3, 0x1

    aput-object v2, v1, v3

    const/4 v2, 0x2

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v1, v2

    const-string v2, "Pos: %d, limit: %d, len: %d"

    invoke-static {v2, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1, p1}, Lf6/p$d;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V

    throw v0
.end method

.method public final b(II)V
    .registers 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/4 v0, 0x5

    invoke-virtual {p0, p1, v0}, Lf6/p$c;->f(II)V

    invoke-virtual {p0, p2}, Lf6/p$c;->b(I)V

    return-void
.end method

.method public final b(ILf6/d1;)V
    .registers 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/4 v0, 0x2

    invoke-virtual {p0, p1, v0}, Lf6/p$c;->f(II)V

    invoke-virtual {p0, p2}, Lf6/p$c;->b(Lf6/d1;)V

    return-void
.end method

.method public final b(ILf6/d1;Lf6/a2;)V
    .registers 5
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/4 v0, 0x2

    invoke-virtual {p0, p1, v0}, Lf6/p$c;->f(II)V

    move-object p1, p2

    check-cast p1, Lf6/b;

    invoke-virtual {p1, p3}, Lf6/b;->getSerializedSize(Lf6/a2;)I

    move-result p1

    invoke-virtual {p0, p1}, Lf6/p$c;->g(I)V

    iget-object p1, p0, Lf6/p;->a:Lf6/q;

    invoke-interface {p3, p2, p1}, Lf6/a2;->a(Ljava/lang/Object;Lcom/google/protobuf/Writer;)V

    return-void
.end method

.method public final b(ILf6/m;)V
    .registers 6
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/4 v0, 0x3

    const/4 v1, 0x1

    invoke-virtual {p0, v1, v0}, Lf6/p$c;->f(II)V

    const/4 v2, 0x2

    invoke-virtual {p0, v2, p1}, Lf6/p$c;->g(II)V

    invoke-virtual {p0, v0, p2}, Lf6/p$c;->a(ILf6/m;)V

    const/4 p1, 0x4

    invoke-virtual {p0, v1, p1}, Lf6/p$c;->f(II)V

    return-void
.end method

.method public final b(Lf6/d1;)V
    .registers 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    invoke-interface {p1}, Lf6/d1;->getSerializedSize()I

    move-result v0

    invoke-virtual {p0, v0}, Lf6/p$c;->g(I)V

    invoke-interface {p1, p0}, Lf6/d1;->writeTo(Lf6/p;)V

    return-void
.end method

.method public final b(Ljava/nio/ByteBuffer;)V
    .registers 7
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->remaining()I

    move-result v0

    :try_start_4
    iget-object v1, p0, Lf6/p$c;->e:[B

    iget v2, p0, Lf6/p$c;->g:I

    invoke-virtual {p1, v1, v2, v0}, Ljava/nio/ByteBuffer;->get([BII)Ljava/nio/ByteBuffer;

    iget p1, p0, Lf6/p$c;->g:I

    add-int/2addr p1, v0

    iput p1, p0, Lf6/p$c;->g:I
    :try_end_10
    .catch Ljava/lang/IndexOutOfBoundsException; {:try_start_4 .. :try_end_10} :catch_11

    return-void

    :catch_11
    move-exception p1

    new-instance v1, Lf6/p$d;

    const/4 v2, 0x3

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v3, 0x0

    iget v4, p0, Lf6/p$c;->g:I

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    aput-object v4, v2, v3

    const/4 v3, 0x1

    iget v4, p0, Lf6/p$c;->f:I

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    aput-object v4, v2, v3

    const/4 v3, 0x2

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    aput-object v0, v2, v3

    const-string v0, "Pos: %d, limit: %d, len: %d"

    invoke-static {v0, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {v1, v0, p1}, Lf6/p$d;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V

    throw v1
.end method

.method public final b([BII)V
    .registers 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    invoke-virtual {p0, p3}, Lf6/p$c;->g(I)V

    invoke-virtual {p0, p1, p2, p3}, Lf6/p$c;->d([BII)V

    return-void
.end method

.method public final c(I)V
    .registers 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    if-ltz p1, :cond_6

    invoke-virtual {p0, p1}, Lf6/p$c;->g(I)V

    goto :goto_a

    :cond_6
    int-to-long v0, p1

    invoke-virtual {p0, v0, v1}, Lf6/p$c;->e(J)V

    :goto_a
    return-void
.end method

.method public final c(II)V
    .registers 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/4 v0, 0x0

    invoke-virtual {p0, p1, v0}, Lf6/p$c;->f(II)V

    invoke-virtual {p0, p2}, Lf6/p$c;->c(I)V

    return-void
.end method

.method public final c(ILf6/d1;)V
    .registers 6
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/4 v0, 0x3

    const/4 v1, 0x1

    invoke-virtual {p0, v1, v0}, Lf6/p$c;->f(II)V

    const/4 v2, 0x2

    invoke-virtual {p0, v2, p1}, Lf6/p$c;->g(II)V

    invoke-virtual {p0, v0, p2}, Lf6/p$c;->b(ILf6/d1;)V

    const/4 p1, 0x4

    invoke-virtual {p0, v1, p1}, Lf6/p$c;->f(II)V

    return-void
.end method

.method public final d()I
    .registers 3

    iget v0, p0, Lf6/p$c;->f:I

    iget v1, p0, Lf6/p$c;->g:I

    sub-int/2addr v0, v1

    return v0
.end method

.method public final d([BII)V
    .registers 7
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    :try_start_0
    iget-object v0, p0, Lf6/p$c;->e:[B

    iget v1, p0, Lf6/p$c;->g:I

    invoke-static {p1, p2, v0, v1, p3}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    iget p1, p0, Lf6/p$c;->g:I

    add-int/2addr p1, p3

    iput p1, p0, Lf6/p$c;->g:I
    :try_end_c
    .catch Ljava/lang/IndexOutOfBoundsException; {:try_start_0 .. :try_end_c} :catch_d

    return-void

    :catch_d
    move-exception p1

    new-instance p2, Lf6/p$d;

    const/4 v0, 0x3

    new-array v0, v0, [Ljava/lang/Object;

    const/4 v1, 0x0

    iget v2, p0, Lf6/p$c;->g:I

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    aput-object v2, v0, v1

    const/4 v1, 0x1

    iget v2, p0, Lf6/p$c;->f:I

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    aput-object v2, v0, v1

    const/4 v1, 0x2

    invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p3

    aput-object p3, v0, v1

    const-string p3, "Pos: %d, limit: %d, len: %d"

    invoke-static {p3, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p3

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

    throw p2
.end method

.method public final e(IJ)V
    .registers 5
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/4 v0, 0x0

    invoke-virtual {p0, p1, v0}, Lf6/p$c;->f(II)V

    invoke-virtual {p0, p2, p3}, Lf6/p$c;->e(J)V

    return-void
.end method

.method public final e(J)V
    .registers 12
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    invoke-static {}, Lf6/p;->e()Z

    move-result v0

    const/4 v1, 0x7

    const-wide/16 v2, 0x0

    const-wide/16 v4, -0x80

    if-eqz v0, :cond_3c

    invoke-virtual {p0}, Lf6/p$c;->d()I

    move-result v0

    const/16 v6, 0xa

    if-lt v0, v6, :cond_3c

    :goto_13
    and-long v6, p1, v4

    cmp-long v0, v6, v2

    if-nez v0, :cond_28

    iget-object v0, p0, Lf6/p$c;->e:[B

    iget v1, p0, Lf6/p$c;->g:I

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lf6/p$c;->g:I

    int-to-long v1, v1

    long-to-int p2, p1

    int-to-byte p1, p2

    invoke-static {v0, v1, v2, p1}, Lf6/t2;->a([BJB)V

    return-void

    :cond_28
    iget-object v0, p0, Lf6/p$c;->e:[B

    iget v6, p0, Lf6/p$c;->g:I

    add-int/lit8 v7, v6, 0x1

    iput v7, p0, Lf6/p$c;->g:I

    int-to-long v6, v6

    long-to-int v8, p1

    and-int/lit8 v8, v8, 0x7f

    or-int/lit16 v8, v8, 0x80

    int-to-byte v8, v8

    invoke-static {v0, v6, v7, v8}, Lf6/t2;->a([BJB)V

    ushr-long/2addr p1, v1

    goto :goto_13

    :cond_3c
    :goto_3c
    and-long v6, p1, v4

    cmp-long v0, v6, v2

    if-nez v0, :cond_4f

    :try_start_42
    iget-object v0, p0, Lf6/p$c;->e:[B

    iget v1, p0, Lf6/p$c;->g:I

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lf6/p$c;->g:I

    long-to-int p2, p1

    int-to-byte p1, p2

    aput-byte p1, v0, v1

    return-void

    :cond_4f
    iget-object v0, p0, Lf6/p$c;->e:[B

    iget v6, p0, Lf6/p$c;->g:I

    add-int/lit8 v7, v6, 0x1

    iput v7, p0, Lf6/p$c;->g:I

    long-to-int v7, p1

    and-int/lit8 v7, v7, 0x7f

    or-int/lit16 v7, v7, 0x80

    int-to-byte v7, v7

    aput-byte v7, v0, v6
    :try_end_5f
    .catch Ljava/lang/IndexOutOfBoundsException; {:try_start_42 .. :try_end_5f} :catch_61

    ushr-long/2addr p1, v1

    goto :goto_3c

    :catch_61
    move-exception p1

    new-instance p2, Lf6/p$d;

    const/4 v0, 0x3

    new-array v0, v0, [Ljava/lang/Object;

    const/4 v1, 0x0

    iget v2, p0, Lf6/p$c;->g:I

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    aput-object v2, v0, v1

    iget v1, p0, Lf6/p$c;->f:I

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    const/4 v2, 0x1

    aput-object v1, v0, v2

    const/4 v1, 0x2

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    aput-object v2, v0, v1

    const-string v1, "Pos: %d, limit: %d, len: %d"

    invoke-static {v1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {p2, v0, p1}, Lf6/p$d;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V

    goto :goto_8b

    :goto_8a
    throw p2

    :goto_8b
    goto :goto_8a
.end method

.method public final f(II)V
    .registers 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    invoke-static {p1, p2}, Lcom/google/protobuf/WireFormat;->a(II)I

    move-result p1

    invoke-virtual {p0, p1}, Lf6/p$c;->g(I)V

    return-void
.end method

.method public final g(I)V
    .registers 6
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    invoke-static {}, Lf6/p;->e()Z

    move-result v0

    if-eqz v0, :cond_ad

    invoke-static {}, Lf6/e;->b()Z

    move-result v0

    if-nez v0, :cond_ad

    invoke-virtual {p0}, Lf6/p$c;->d()I

    move-result v0

    const/4 v1, 0x5

    if-lt v0, v1, :cond_ad

    and-int/lit8 v0, p1, -0x80

    if-nez v0, :cond_25

    iget-object v0, p0, Lf6/p$c;->e:[B

    iget v1, p0, Lf6/p$c;->g:I

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lf6/p$c;->g:I

    int-to-long v1, v1

    int-to-byte p1, p1

    invoke-static {v0, v1, v2, p1}, Lf6/t2;->a([BJB)V

    return-void

    :cond_25
    iget-object v0, p0, Lf6/p$c;->e:[B

    iget v1, p0, Lf6/p$c;->g:I

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lf6/p$c;->g:I

    int-to-long v1, v1

    or-int/lit16 v3, p1, 0x80

    int-to-byte v3, v3

    invoke-static {v0, v1, v2, v3}, Lf6/t2;->a([BJB)V

    ushr-int/lit8 p1, p1, 0x7

    and-int/lit8 v0, p1, -0x80

    if-nez v0, :cond_48

    iget-object v0, p0, Lf6/p$c;->e:[B

    iget v1, p0, Lf6/p$c;->g:I

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lf6/p$c;->g:I

    int-to-long v1, v1

    int-to-byte p1, p1

    invoke-static {v0, v1, v2, p1}, Lf6/t2;->a([BJB)V

    return-void

    :cond_48
    iget-object v0, p0, Lf6/p$c;->e:[B

    iget v1, p0, Lf6/p$c;->g:I

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lf6/p$c;->g:I

    int-to-long v1, v1

    or-int/lit16 v3, p1, 0x80

    int-to-byte v3, v3

    invoke-static {v0, v1, v2, v3}, Lf6/t2;->a([BJB)V

    ushr-int/lit8 p1, p1, 0x7

    and-int/lit8 v0, p1, -0x80

    if-nez v0, :cond_6b

    iget-object v0, p0, Lf6/p$c;->e:[B

    iget v1, p0, Lf6/p$c;->g:I

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lf6/p$c;->g:I

    int-to-long v1, v1

    int-to-byte p1, p1

    invoke-static {v0, v1, v2, p1}, Lf6/t2;->a([BJB)V

    return-void

    :cond_6b
    iget-object v0, p0, Lf6/p$c;->e:[B

    iget v1, p0, Lf6/p$c;->g:I

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lf6/p$c;->g:I

    int-to-long v1, v1

    or-int/lit16 v3, p1, 0x80

    int-to-byte v3, v3

    invoke-static {v0, v1, v2, v3}, Lf6/t2;->a([BJB)V

    ushr-int/lit8 p1, p1, 0x7

    and-int/lit8 v0, p1, -0x80

    if-nez v0, :cond_8e

    iget-object v0, p0, Lf6/p$c;->e:[B

    iget v1, p0, Lf6/p$c;->g:I

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lf6/p$c;->g:I

    int-to-long v1, v1

    int-to-byte p1, p1

    invoke-static {v0, v1, v2, p1}, Lf6/t2;->a([BJB)V

    return-void

    :cond_8e
    iget-object v0, p0, Lf6/p$c;->e:[B

    iget v1, p0, Lf6/p$c;->g:I

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lf6/p$c;->g:I

    int-to-long v1, v1

    or-int/lit16 v3, p1, 0x80

    int-to-byte v3, v3

    invoke-static {v0, v1, v2, v3}, Lf6/t2;->a([BJB)V

    ushr-int/lit8 p1, p1, 0x7

    iget-object v0, p0, Lf6/p$c;->e:[B

    iget v1, p0, Lf6/p$c;->g:I

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lf6/p$c;->g:I

    int-to-long v1, v1

    int-to-byte p1, p1

    invoke-static {v0, v1, v2, p1}, Lf6/t2;->a([BJB)V

    return-void

    :cond_ad
    :goto_ad
    and-int/lit8 v0, p1, -0x80

    if-nez v0, :cond_bd

    :try_start_b1
    iget-object v0, p0, Lf6/p$c;->e:[B

    iget v1, p0, Lf6/p$c;->g:I

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lf6/p$c;->g:I

    int-to-byte p1, p1

    aput-byte p1, v0, v1

    return-void

    :cond_bd
    iget-object v0, p0, Lf6/p$c;->e:[B

    iget v1, p0, Lf6/p$c;->g:I

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lf6/p$c;->g:I

    and-int/lit8 v2, p1, 0x7f

    or-int/lit16 v2, v2, 0x80

    int-to-byte v2, v2

    aput-byte v2, v0, v1
    :try_end_cc
    .catch Ljava/lang/IndexOutOfBoundsException; {:try_start_b1 .. :try_end_cc} :catch_cf

    ushr-int/lit8 p1, p1, 0x7

    goto :goto_ad

    :catch_cf
    move-exception p1

    new-instance v0, Lf6/p$d;

    const/4 v1, 0x3

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    iget v3, p0, Lf6/p$c;->g:I

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v1, v2

    iget v2, p0, Lf6/p$c;->f:I

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    const/4 v3, 0x1

    aput-object v2, v1, v3

    const/4 v2, 0x2

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v1, v2

    const-string v2, "Pos: %d, limit: %d, len: %d"

    invoke-static {v2, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1, p1}, Lf6/p$d;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V

    goto :goto_f9

    :goto_f8
    throw v0

    :goto_f9
    goto :goto_f8
.end method

.method public final g(II)V
    .registers 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/4 v0, 0x0

    invoke-virtual {p0, p1, v0}, Lf6/p$c;->f(II)V

    invoke-virtual {p0, p2}, Lf6/p$c;->g(I)V

    return-void
.end method