q0$a.smali

.class public abstract Lcom/google/protobuf/q0$a;
.super Lcom/google/protobuf/b$a;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/google/protobuf/q0;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x409
    name = "a"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "<MessageType:",
        "Lcom/google/protobuf/q0<",
        "TMessageType;TBuilderType;>;BuilderType:",
        "Lcom/google/protobuf/q0$a<",
        "TMessageType;TBuilderType;>;>",
        "Lcom/google/protobuf/b$a<",
        "TMessageType;TBuilderType;>;"
    }
.end annotation


# instance fields
.field private final defaultInstance:Lcom/google/protobuf/q0;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TMessageType;"
        }
    .end annotation
.end field

.field public instance:Lcom/google/protobuf/q0;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TMessageType;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Lcom/google/protobuf/q0;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TMessageType;)V"
        }
    .end annotation

    .line 1
    invoke-direct {p0}, Lcom/google/protobuf/b$a;-><init>()V

    .line 2
    iput-object p1, p0, Lcom/google/protobuf/q0$a;->defaultInstance:Lcom/google/protobuf/q0;

    .line 3
    invoke-virtual {p1}, Lcom/google/protobuf/q0;->isMutable()Z

    move-result p1

    if-nez p1, :cond_12

    .line 4
    invoke-direct {p0}, Lcom/google/protobuf/q0$a;->newMutableInstance()Lcom/google/protobuf/q0;

    move-result-object p1

    iput-object p1, p0, Lcom/google/protobuf/q0$a;->instance:Lcom/google/protobuf/q0;

    return-void

    .line 5
    :cond_12
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string v0, "Default instance must be immutable."

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

    throw p1
.end method

.method private static mergeFromInstance(Ljava/lang/Object;Ljava/lang/Object;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<MessageType:",
            "Ljava/lang/Object;",
            ">(TMessageType;TMessageType;)V"
        }
    .end annotation

    .line 1
    sget-object v0, Lcom/google/protobuf/i2;->c:Lcom/google/protobuf/i2;

    .line 2
    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

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

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/google/protobuf/i2;->a(Ljava/lang/Class;)Lcom/google/protobuf/o2;

    move-result-object v0

    .line 4
    invoke-interface {v0, p0, p1}, Lcom/google/protobuf/o2;->a(Ljava/lang/Object;Ljava/lang/Object;)V

    return-void
.end method

.method private newMutableInstance()Lcom/google/protobuf/q0;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TMessageType;"
        }
    .end annotation

    iget-object v0, p0, Lcom/google/protobuf/q0$a;->defaultInstance:Lcom/google/protobuf/q0;

    invoke-virtual {v0}, Lcom/google/protobuf/q0;->newMutableInstance()Lcom/google/protobuf/q0;

    move-result-object v0

    return-object v0
.end method


# virtual methods
.method public bridge synthetic build()Lcom/google/protobuf/o1;
    .registers 2

    .line 1
    invoke-virtual {p0}, Lcom/google/protobuf/q0$a;->build()Lcom/google/protobuf/q0;

    move-result-object v0

    return-object v0
.end method

.method public final build()Lcom/google/protobuf/q0;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TMessageType;"
        }
    .end annotation

    .line 2
    invoke-virtual {p0}, Lcom/google/protobuf/q0$a;->buildPartial()Lcom/google/protobuf/q0;

    move-result-object v0

    .line 3
    invoke-virtual {v0}, Lcom/google/protobuf/q0;->isInitialized()Z

    move-result v1

    if-eqz v1, :cond_b

    return-object v0

    .line 4
    :cond_b
    invoke-static {v0}, Lcom/google/protobuf/b$a;->newUninitializedMessageException(Lcom/google/protobuf/o1;)Lcom/google/protobuf/g3;

    move-result-object v0

    throw v0
.end method

.method public bridge synthetic buildPartial()Lcom/google/protobuf/o1;
    .registers 2

    .line 1
    invoke-virtual {p0}, Lcom/google/protobuf/q0$a;->buildPartial()Lcom/google/protobuf/q0;

    move-result-object v0

    return-object v0
.end method

.method public buildPartial()Lcom/google/protobuf/q0;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TMessageType;"
        }
    .end annotation

    .line 2
    iget-object v0, p0, Lcom/google/protobuf/q0$a;->instance:Lcom/google/protobuf/q0;

    invoke-virtual {v0}, Lcom/google/protobuf/q0;->isMutable()Z

    move-result v0

    if-nez v0, :cond_b

    .line 3
    iget-object v0, p0, Lcom/google/protobuf/q0$a;->instance:Lcom/google/protobuf/q0;

    return-object v0

    .line 4
    :cond_b
    iget-object v0, p0, Lcom/google/protobuf/q0$a;->instance:Lcom/google/protobuf/q0;

    invoke-virtual {v0}, Lcom/google/protobuf/q0;->makeImmutable()V

    .line 5
    iget-object v0, p0, Lcom/google/protobuf/q0$a;->instance:Lcom/google/protobuf/q0;

    return-object v0
.end method

.method public bridge synthetic clear()Lcom/google/protobuf/o1$a;
    .registers 2

    .line 1
    invoke-virtual {p0}, Lcom/google/protobuf/q0$a;->clear()Lcom/google/protobuf/q0$a;

    move-result-object v0

    return-object v0
.end method

.method public final clear()Lcom/google/protobuf/q0$a;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TBuilderType;"
        }
    .end annotation

    .line 2
    iget-object v0, p0, Lcom/google/protobuf/q0$a;->defaultInstance:Lcom/google/protobuf/q0;

    invoke-virtual {v0}, Lcom/google/protobuf/q0;->isMutable()Z

    move-result v0

    if-nez v0, :cond_f

    .line 3
    invoke-direct {p0}, Lcom/google/protobuf/q0$a;->newMutableInstance()Lcom/google/protobuf/q0;

    move-result-object v0

    iput-object v0, p0, Lcom/google/protobuf/q0$a;->instance:Lcom/google/protobuf/q0;

    return-object p0

    .line 4
    :cond_f
    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "Default instance must be immutable."

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

    throw v0
.end method

.method public bridge synthetic clone()Lcom/google/protobuf/b$a;
    .registers 2

    .line 1
    invoke-virtual {p0}, Lcom/google/protobuf/q0$a;->clone()Lcom/google/protobuf/q0$a;

    move-result-object v0

    return-object v0
.end method

.method public bridge synthetic clone()Lcom/google/protobuf/o1$a;
    .registers 2

    .line 2
    invoke-virtual {p0}, Lcom/google/protobuf/q0$a;->clone()Lcom/google/protobuf/q0$a;

    move-result-object v0

    return-object v0
.end method

.method public clone()Lcom/google/protobuf/q0$a;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TBuilderType;"
        }
    .end annotation

    .line 4
    invoke-virtual {p0}, Lcom/google/protobuf/q0$a;->getDefaultInstanceForType()Lcom/google/protobuf/q0;

    move-result-object v0

    invoke-virtual {v0}, Lcom/google/protobuf/q0;->newBuilderForType()Lcom/google/protobuf/q0$a;

    move-result-object v0

    .line 5
    invoke-virtual {p0}, Lcom/google/protobuf/q0$a;->buildPartial()Lcom/google/protobuf/q0;

    move-result-object v1

    iput-object v1, v0, Lcom/google/protobuf/q0$a;->instance:Lcom/google/protobuf/q0;

    return-object v0
.end method

.method public bridge synthetic clone()Ljava/lang/Object;
    .registers 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/CloneNotSupportedException;
        }
    .end annotation

    .line 3
    invoke-virtual {p0}, Lcom/google/protobuf/q0$a;->clone()Lcom/google/protobuf/q0$a;

    move-result-object v0

    return-object v0
.end method

.method public final copyOnWrite()V
    .registers 2

    .line 1
    iget-object v0, p0, Lcom/google/protobuf/q0$a;->instance:Lcom/google/protobuf/q0;

    invoke-virtual {v0}, Lcom/google/protobuf/q0;->isMutable()Z

    move-result v0

    if-nez v0, :cond_b

    .line 2
    invoke-virtual {p0}, Lcom/google/protobuf/q0$a;->copyOnWriteInternal()V

    :cond_b
    return-void
.end method

.method public copyOnWriteInternal()V
    .registers 3

    .line 1
    invoke-direct {p0}, Lcom/google/protobuf/q0$a;->newMutableInstance()Lcom/google/protobuf/q0;

    move-result-object v0

    .line 2
    iget-object v1, p0, Lcom/google/protobuf/q0$a;->instance:Lcom/google/protobuf/q0;

    invoke-static {v0, v1}, Lcom/google/protobuf/q0$a;->mergeFromInstance(Ljava/lang/Object;Ljava/lang/Object;)V

    .line 3
    iput-object v0, p0, Lcom/google/protobuf/q0$a;->instance:Lcom/google/protobuf/q0;

    return-void
.end method

.method public bridge synthetic getDefaultInstanceForType()Lcom/google/protobuf/o1;
    .registers 2

    .line 1
    invoke-virtual {p0}, Lcom/google/protobuf/q0$a;->getDefaultInstanceForType()Lcom/google/protobuf/q0;

    move-result-object v0

    return-object v0
.end method

.method public getDefaultInstanceForType()Lcom/google/protobuf/q0;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TMessageType;"
        }
    .end annotation

    .line 2
    iget-object v0, p0, Lcom/google/protobuf/q0$a;->defaultInstance:Lcom/google/protobuf/q0;

    return-object v0
.end method

.method public bridge synthetic internalMergeFrom(Lcom/google/protobuf/b;)Lcom/google/protobuf/b$a;
    .registers 2

    .line 1
    check-cast p1, Lcom/google/protobuf/q0;

    invoke-virtual {p0, p1}, Lcom/google/protobuf/q0$a;->internalMergeFrom(Lcom/google/protobuf/q0;)Lcom/google/protobuf/q0$a;

    move-result-object p1

    return-object p1
.end method

.method public internalMergeFrom(Lcom/google/protobuf/q0;)Lcom/google/protobuf/q0$a;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TMessageType;)TBuilderType;"
        }
    .end annotation

    .line 2
    invoke-virtual {p0, p1}, Lcom/google/protobuf/q0$a;->mergeFrom(Lcom/google/protobuf/q0;)Lcom/google/protobuf/q0$a;

    move-result-object p1

    return-object p1
.end method

.method public final isInitialized()Z
    .registers 3

    iget-object v0, p0, Lcom/google/protobuf/q0$a;->instance:Lcom/google/protobuf/q0;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/google/protobuf/q0;->isInitialized(Lcom/google/protobuf/q0;Z)Z

    move-result v0

    return v0
.end method

.method public bridge synthetic mergeFrom(Lcom/google/protobuf/m;Lcom/google/protobuf/d0;)Lcom/google/protobuf/b$a;
    .registers 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    invoke-virtual {p0, p1, p2}, Lcom/google/protobuf/q0$a;->mergeFrom(Lcom/google/protobuf/m;Lcom/google/protobuf/d0;)Lcom/google/protobuf/q0$a;

    move-result-object p1

    return-object p1
.end method

.method public bridge synthetic mergeFrom([BII)Lcom/google/protobuf/b$a;
    .registers 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/google/protobuf/t0;
        }
    .end annotation

    .line 2
    invoke-virtual {p0, p1, p2, p3}, Lcom/google/protobuf/q0$a;->mergeFrom([BII)Lcom/google/protobuf/q0$a;

    move-result-object p1

    return-object p1
.end method

.method public bridge synthetic mergeFrom([BIILcom/google/protobuf/d0;)Lcom/google/protobuf/b$a;
    .registers 5
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/google/protobuf/t0;
        }
    .end annotation

    .line 3
    invoke-virtual {p0, p1, p2, p3, p4}, Lcom/google/protobuf/q0$a;->mergeFrom([BIILcom/google/protobuf/d0;)Lcom/google/protobuf/q0$a;

    move-result-object p1

    return-object p1
.end method

.method public bridge synthetic mergeFrom(Lcom/google/protobuf/m;Lcom/google/protobuf/d0;)Lcom/google/protobuf/o1$a;
    .registers 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 4
    invoke-virtual {p0, p1, p2}, Lcom/google/protobuf/q0$a;->mergeFrom(Lcom/google/protobuf/m;Lcom/google/protobuf/d0;)Lcom/google/protobuf/q0$a;

    move-result-object p1

    return-object p1
.end method

.method public bridge synthetic mergeFrom([BII)Lcom/google/protobuf/o1$a;
    .registers 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/google/protobuf/t0;
        }
    .end annotation

    .line 5
    invoke-virtual {p0, p1, p2, p3}, Lcom/google/protobuf/q0$a;->mergeFrom([BII)Lcom/google/protobuf/q0$a;

    move-result-object p1

    return-object p1
.end method

.method public bridge synthetic mergeFrom([BIILcom/google/protobuf/d0;)Lcom/google/protobuf/o1$a;
    .registers 5
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/google/protobuf/t0;
        }
    .end annotation

    .line 6
    invoke-virtual {p0, p1, p2, p3, p4}, Lcom/google/protobuf/q0$a;->mergeFrom([BIILcom/google/protobuf/d0;)Lcom/google/protobuf/q0$a;

    move-result-object p1

    return-object p1
.end method

.method public mergeFrom(Lcom/google/protobuf/m;Lcom/google/protobuf/d0;)Lcom/google/protobuf/q0$a;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/google/protobuf/m;",
            "Lcom/google/protobuf/d0;",
            ")TBuilderType;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 17
    invoke-virtual {p0}, Lcom/google/protobuf/q0$a;->copyOnWrite()V

    .line 18
    :try_start_3
    sget-object v0, Lcom/google/protobuf/i2;->c:Lcom/google/protobuf/i2;

    .line 19
    iget-object v1, p0, Lcom/google/protobuf/q0$a;->instance:Lcom/google/protobuf/q0;

    invoke-virtual {v0, v1}, Lcom/google/protobuf/i2;->b(Ljava/lang/Object;)Lcom/google/protobuf/o2;

    move-result-object v0

    iget-object v1, p0, Lcom/google/protobuf/q0$a;->instance:Lcom/google/protobuf/q0;

    .line 20
    invoke-static {p1}, Lcom/google/protobuf/n;->O(Lcom/google/protobuf/m;)Lcom/google/protobuf/n;

    move-result-object p1

    .line 21
    invoke-interface {v0, v1, p1, p2}, Lcom/google/protobuf/o2;->g(Ljava/lang/Object;Lcom/google/protobuf/m2;Lcom/google/protobuf/d0;)V
    :try_end_14
    .catch Ljava/lang/RuntimeException; {:try_start_3 .. :try_end_14} :catch_15

    return-object p0

    :catch_15
    move-exception p1

    .line 22
    invoke-virtual {p1}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;

    move-result-object p2

    instance-of p2, p2, Ljava/io/IOException;

    if-eqz p2, :cond_25

    .line 23
    invoke-virtual {p1}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;

    move-result-object p1

    check-cast p1, Ljava/io/IOException;

    throw p1

    .line 24
    :cond_25
    throw p1
.end method

.method public mergeFrom(Lcom/google/protobuf/q0;)Lcom/google/protobuf/q0$a;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TMessageType;)TBuilderType;"
        }
    .end annotation

    .line 7
    invoke-virtual {p0}, Lcom/google/protobuf/q0$a;->getDefaultInstanceForType()Lcom/google/protobuf/q0;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/google/protobuf/q0;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_b

    return-object p0

    .line 8
    :cond_b
    invoke-virtual {p0}, Lcom/google/protobuf/q0$a;->copyOnWrite()V

    .line 9
    iget-object v0, p0, Lcom/google/protobuf/q0$a;->instance:Lcom/google/protobuf/q0;

    invoke-static {v0, p1}, Lcom/google/protobuf/q0$a;->mergeFromInstance(Ljava/lang/Object;Ljava/lang/Object;)V

    return-object p0
.end method

.method public mergeFrom([BII)Lcom/google/protobuf/q0$a;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "([BII)TBuilderType;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/google/protobuf/t0;
        }
    .end annotation

    .line 16
    invoke-static {}, Lcom/google/protobuf/d0;->a()Lcom/google/protobuf/d0;

    move-result-object v0

    invoke-virtual {p0, p1, p2, p3, v0}, Lcom/google/protobuf/q0$a;->mergeFrom([BIILcom/google/protobuf/d0;)Lcom/google/protobuf/q0$a;

    move-result-object p1

    return-object p1
.end method

.method public mergeFrom([BIILcom/google/protobuf/d0;)Lcom/google/protobuf/q0$a;
    .registers 13
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "([BII",
            "Lcom/google/protobuf/d0;",
            ")TBuilderType;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/google/protobuf/t0;
        }
    .end annotation

    .line 10
    invoke-virtual {p0}, Lcom/google/protobuf/q0$a;->copyOnWrite()V

    .line 11
    :try_start_3
    sget-object v0, Lcom/google/protobuf/i2;->c:Lcom/google/protobuf/i2;

    .line 12
    iget-object v1, p0, Lcom/google/protobuf/q0$a;->instance:Lcom/google/protobuf/q0;

    invoke-virtual {v0, v1}, Lcom/google/protobuf/i2;->b(Ljava/lang/Object;)Lcom/google/protobuf/o2;

    move-result-object v2

    iget-object v3, p0, Lcom/google/protobuf/q0$a;->instance:Lcom/google/protobuf/q0;

    add-int v6, p2, p3

    new-instance v7, Lcom/google/protobuf/i$b;

    invoke-direct {v7, p4}, Lcom/google/protobuf/i$b;-><init>(Lcom/google/protobuf/d0;)V

    move-object v4, p1

    move v5, p2

    invoke-interface/range {v2 .. v7}, Lcom/google/protobuf/o2;->d(Ljava/lang/Object;[BIILcom/google/protobuf/i$b;)V
    :try_end_19
    .catch Lcom/google/protobuf/t0; {:try_start_3 .. :try_end_19} :catch_1c
    .catch Ljava/lang/IndexOutOfBoundsException; {:try_start_3 .. :try_end_19} :catch_26
    .catch Ljava/io/IOException; {:try_start_3 .. :try_end_19} :catch_1a

    return-object p0

    :catch_1a
    move-exception p1

    goto :goto_1e

    :catch_1c
    move-exception p1

    goto :goto_2b

    .line 13
    :goto_1e
    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

    .line 14
    :catch_26
    invoke-static {}, Lcom/google/protobuf/t0;->i()Lcom/google/protobuf/t0;

    move-result-object p1

    throw p1

    .line 15
    :goto_2b
    throw p1
.end method