q2.smali

.class public final Lcom/google/protobuf/q2;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lcom/google/protobuf/a$b;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<MType:",
        "Lcom/google/protobuf/a;",
        "BType:",
        "Lcom/google/protobuf/a$a;",
        "IType::",
        "Lcom/google/protobuf/r1;",
        ">",
        "Ljava/lang/Object;",
        "Lcom/google/protobuf/a$b;"
    }
.end annotation


# instance fields
.field public a:Lcom/google/protobuf/a$b;

.field public b:Lcom/google/protobuf/a$a;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TBType;"
        }
    .end annotation
.end field

.field public c:Lcom/google/protobuf/a;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TMType;"
        }
    .end annotation
.end field

.field public d:Z


# direct methods
.method public constructor <init>(Lcom/google/protobuf/a;Lcom/google/protobuf/a$b;Z)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TMType;",
            "Lcom/google/protobuf/a$b;",
            "Z)V"
        }
    .end annotation

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

    .line 2
    sget-object v0, Lcom/google/protobuf/s0;->a:Ljava/nio/charset/Charset;

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

    .line 4
    iput-object p1, p0, Lcom/google/protobuf/q2;->c:Lcom/google/protobuf/a;

    .line 5
    iput-object p2, p0, Lcom/google/protobuf/q2;->a:Lcom/google/protobuf/a$b;

    .line 6
    iput-boolean p3, p0, Lcom/google/protobuf/q2;->d:Z

    return-void
.end method


# virtual methods
.method public final a()V
    .registers 1

    invoke-virtual {p0}, Lcom/google/protobuf/q2;->h()V

    return-void
.end method

.method public final b()Lcom/google/protobuf/a;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TMType;"
        }
    .end annotation

    const/4 v0, 0x1

    .line 1
    iput-boolean v0, p0, Lcom/google/protobuf/q2;->d:Z

    .line 2
    invoke-virtual {p0}, Lcom/google/protobuf/q2;->e()Lcom/google/protobuf/a;

    move-result-object v0

    return-object v0
.end method

.method public final c()Lcom/google/protobuf/q2;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/google/protobuf/q2<",
            "TMType;TBType;TIType;>;"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/google/protobuf/q2;->c:Lcom/google/protobuf/a;

    if-eqz v0, :cond_9

    .line 2
    invoke-interface {v0}, Lcom/google/protobuf/r1;->getDefaultInstanceForType()Lcom/google/protobuf/l1;

    move-result-object v0

    goto :goto_f

    .line 3
    :cond_9
    iget-object v0, p0, Lcom/google/protobuf/q2;->b:Lcom/google/protobuf/a$a;

    invoke-interface {v0}, Lcom/google/protobuf/r1;->getDefaultInstanceForType()Lcom/google/protobuf/l1;

    move-result-object v0

    :goto_f
    check-cast v0, Lcom/google/protobuf/a;

    iput-object v0, p0, Lcom/google/protobuf/q2;->c:Lcom/google/protobuf/a;

    .line 4
    iget-object v0, p0, Lcom/google/protobuf/q2;->b:Lcom/google/protobuf/a$a;

    if-eqz v0, :cond_1d

    .line 5
    invoke-virtual {v0}, Lcom/google/protobuf/a$a;->dispose()V

    const/4 v0, 0x0

    .line 6
    iput-object v0, p0, Lcom/google/protobuf/q2;->b:Lcom/google/protobuf/a$a;

    .line 7
    :cond_1d
    invoke-virtual {p0}, Lcom/google/protobuf/q2;->h()V

    const/4 v0, 0x1

    .line 8
    iput-boolean v0, p0, Lcom/google/protobuf/q2;->d:Z

    return-object p0
.end method

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

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

    if-nez v0, :cond_18

    .line 2
    iget-object v0, p0, Lcom/google/protobuf/q2;->c:Lcom/google/protobuf/a;

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

    move-result-object v0

    check-cast v0, Lcom/google/protobuf/a$a;

    iput-object v0, p0, Lcom/google/protobuf/q2;->b:Lcom/google/protobuf/a$a;

    .line 3
    iget-object v1, p0, Lcom/google/protobuf/q2;->c:Lcom/google/protobuf/a;

    invoke-virtual {v0, v1}, Lcom/google/protobuf/a$a;->mergeFrom(Lcom/google/protobuf/l1;)Lcom/google/protobuf/a$a;

    .line 4
    iget-object v0, p0, Lcom/google/protobuf/q2;->b:Lcom/google/protobuf/a$a;

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

    .line 5
    :cond_18
    iget-object v0, p0, Lcom/google/protobuf/q2;->b:Lcom/google/protobuf/a$a;

    return-object v0
.end method

.method public final e()Lcom/google/protobuf/a;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TMType;"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/google/protobuf/q2;->c:Lcom/google/protobuf/a;

    if-nez v0, :cond_e

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

    invoke-interface {v0}, Lcom/google/protobuf/l1$a;->buildPartial()Lcom/google/protobuf/l1;

    move-result-object v0

    check-cast v0, Lcom/google/protobuf/a;

    iput-object v0, p0, Lcom/google/protobuf/q2;->c:Lcom/google/protobuf/a;

    .line 3
    :cond_e
    iget-object v0, p0, Lcom/google/protobuf/q2;->c:Lcom/google/protobuf/a;

    return-object v0
.end method

.method public final f()Lcom/google/protobuf/r1;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TIType;"
        }
    .end annotation

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

    if-eqz v0, :cond_5

    return-object v0

    .line 2
    :cond_5
    iget-object v0, p0, Lcom/google/protobuf/q2;->c:Lcom/google/protobuf/a;

    return-object v0
.end method

.method public final g(Lcom/google/protobuf/a;)Lcom/google/protobuf/q2;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TMType;)",
            "Lcom/google/protobuf/q2<",
            "TMType;TBType;TIType;>;"
        }
    .end annotation

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

    if-nez v0, :cond_f

    iget-object v0, p0, Lcom/google/protobuf/q2;->c:Lcom/google/protobuf/a;

    invoke-interface {v0}, Lcom/google/protobuf/r1;->getDefaultInstanceForType()Lcom/google/protobuf/l1;

    move-result-object v1

    if-ne v0, v1, :cond_f

    .line 2
    iput-object p1, p0, Lcom/google/protobuf/q2;->c:Lcom/google/protobuf/a;

    goto :goto_16

    .line 3
    :cond_f
    invoke-virtual {p0}, Lcom/google/protobuf/q2;->d()Lcom/google/protobuf/a$a;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/google/protobuf/a$a;->mergeFrom(Lcom/google/protobuf/l1;)Lcom/google/protobuf/a$a;

    .line 4
    :goto_16
    invoke-virtual {p0}, Lcom/google/protobuf/q2;->h()V

    return-object p0
.end method

.method public final h()V
    .registers 2

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

    if-eqz v0, :cond_7

    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Lcom/google/protobuf/q2;->c:Lcom/google/protobuf/a;

    .line 3
    :cond_7
    iget-boolean v0, p0, Lcom/google/protobuf/q2;->d:Z

    if-eqz v0, :cond_15

    iget-object v0, p0, Lcom/google/protobuf/q2;->a:Lcom/google/protobuf/a$b;

    if-eqz v0, :cond_15

    .line 4
    invoke-interface {v0}, Lcom/google/protobuf/a$b;->a()V

    const/4 v0, 0x0

    .line 5
    iput-boolean v0, p0, Lcom/google/protobuf/q2;->d:Z

    :cond_15
    return-void
.end method

.method public final i(Lcom/google/protobuf/a;)Lcom/google/protobuf/q2;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TMType;)",
            "Lcom/google/protobuf/q2<",
            "TMType;TBType;TIType;>;"
        }
    .end annotation

    .line 1
    sget-object v0, Lcom/google/protobuf/s0;->a:Ljava/nio/charset/Charset;

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

    .line 3
    iput-object p1, p0, Lcom/google/protobuf/q2;->c:Lcom/google/protobuf/a;

    .line 4
    iget-object p1, p0, Lcom/google/protobuf/q2;->b:Lcom/google/protobuf/a$a;

    if-eqz p1, :cond_11

    .line 5
    invoke-virtual {p1}, Lcom/google/protobuf/a$a;->dispose()V

    const/4 p1, 0x0

    .line 6
    iput-object p1, p0, Lcom/google/protobuf/q2;->b:Lcom/google/protobuf/a$a;

    .line 7
    :cond_11
    invoke-virtual {p0}, Lcom/google/protobuf/q2;->h()V

    return-object p0
.end method