ClientCommon$AppleDeviceInfo.smali

.class public final Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;
.super Lcom/google/protobuf/GeneratedMessageLite;

# interfaces
.implements Lcom/google/protobuf/MessageLiteOrBuilder;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo$Builder;
    }
.end annotation


# static fields
.field private static final j:Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;

.field public static k:Lcom/google/protobuf/Parser;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/google/protobuf/Parser<",
            "Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;",
            ">;"
        }
    .end annotation
.end field


# instance fields
.field private f:I

.field private g:Ljava/lang/Object;

.field private h:B

.field private i:I


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

    new-instance v0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo$1;

    invoke-direct {v0}, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo$1;-><init>()V

    sput-object v0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->k:Lcom/google/protobuf/Parser;

    new-instance v0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;

    const/4 v1, 0x1

    invoke-direct {v0, v1}, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;-><init>(Z)V

    sput-object v0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->j:Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;

    invoke-direct {v0}, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->n()V

    return-void
.end method

.method private constructor <init>(Lcom/google/protobuf/CodedInputStream;Lcom/google/protobuf/ExtensionRegistryLite;)V
    .registers 7
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/google/protobuf/InvalidProtocolBufferException;
        }
    .end annotation

    invoke-direct {p0}, Lcom/google/protobuf/GeneratedMessageLite;-><init>()V

    const/4 v0, -0x1

    iput-byte v0, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->h:B

    iput v0, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->i:I

    invoke-direct {p0}, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->n()V

    const/4 v0, 0x0

    :cond_c
    :goto_c
    if-nez v0, :cond_47

    :try_start_e
    invoke-virtual {p1}, Lcom/google/protobuf/CodedInputStream;->u()I

    move-result v1

    const/4 v2, 0x1

    if-eqz v1, :cond_2c

    const/16 v3, 0xa

    if-eq v1, v3, :cond_20

    invoke-virtual {p0, p1, p2, v1}, Lcom/google/protobuf/GeneratedMessageLite;->g(Lcom/google/protobuf/CodedInputStream;Lcom/google/protobuf/ExtensionRegistryLite;I)Z

    move-result v1

    if-nez v1, :cond_c

    goto :goto_2c

    :cond_20
    iget v1, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->f:I

    or-int/2addr v1, v2

    iput v1, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->f:I

    invoke-virtual {p1}, Lcom/google/protobuf/CodedInputStream;->h()Lcom/google/protobuf/ByteString;

    move-result-object v1

    iput-object v1, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->g:Ljava/lang/Object;
    :try_end_2b
    .catch Lcom/google/protobuf/InvalidProtocolBufferException; {:try_start_e .. :try_end_2b} :catch_3e
    .catch Ljava/io/IOException; {:try_start_e .. :try_end_2b} :catch_30
    .catchall {:try_start_e .. :try_end_2b} :catchall_2e

    goto :goto_c

    :cond_2c
    :goto_2c
    const/4 v0, 0x1

    goto :goto_c

    :catchall_2e
    move-exception p1

    goto :goto_43

    :catch_30
    move-exception p1

    :try_start_31
    new-instance p2, Lcom/google/protobuf/InvalidProtocolBufferException;

    invoke-virtual {p1}, Ljava/io/IOException;->getMessage()Ljava/lang/String;

    move-result-object p1

    invoke-direct {p2, p1}, Lcom/google/protobuf/InvalidProtocolBufferException;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, p0}, Lcom/google/protobuf/InvalidProtocolBufferException;->g(Lcom/google/protobuf/MessageLite;)Lcom/google/protobuf/InvalidProtocolBufferException;

    throw p2

    :catch_3e
    move-exception p1

    invoke-virtual {p1, p0}, Lcom/google/protobuf/InvalidProtocolBufferException;->g(Lcom/google/protobuf/MessageLite;)Lcom/google/protobuf/InvalidProtocolBufferException;

    throw p1
    :try_end_43
    .catchall {:try_start_31 .. :try_end_43} :catchall_2e

    :goto_43
    invoke-virtual {p0}, Lcom/google/protobuf/GeneratedMessageLite;->f()V

    throw p1

    :cond_47
    invoke-virtual {p0}, Lcom/google/protobuf/GeneratedMessageLite;->f()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/google/protobuf/CodedInputStream;Lcom/google/protobuf/ExtensionRegistryLite;Lcom/avast/alpha/common/api/ClientCommon$1;)V
    .registers 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/google/protobuf/InvalidProtocolBufferException;
        }
    .end annotation

    invoke-direct {p0, p1, p2}, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;-><init>(Lcom/google/protobuf/CodedInputStream;Lcom/google/protobuf/ExtensionRegistryLite;)V

    return-void
.end method

.method private constructor <init>(Lcom/google/protobuf/GeneratedMessageLite$Builder;)V
    .registers 2

    invoke-direct {p0, p1}, Lcom/google/protobuf/GeneratedMessageLite;-><init>(Lcom/google/protobuf/GeneratedMessageLite$Builder;)V

    const/4 p1, -0x1

    iput-byte p1, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->h:B

    iput p1, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->i:I

    return-void
.end method

.method synthetic constructor <init>(Lcom/google/protobuf/GeneratedMessageLite$Builder;Lcom/avast/alpha/common/api/ClientCommon$1;)V
    .registers 3

    invoke-direct {p0, p1}, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;-><init>(Lcom/google/protobuf/GeneratedMessageLite$Builder;)V

    return-void
.end method

.method private constructor <init>(Z)V
    .registers 2

    invoke-direct {p0}, Lcom/google/protobuf/GeneratedMessageLite;-><init>()V

    const/4 p1, -0x1

    iput-byte p1, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->h:B

    iput p1, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->i:I

    return-void
.end method

.method static synthetic h(Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;)Ljava/lang/Object;
    .registers 1

    iget-object p0, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->g:Ljava/lang/Object;

    return-object p0
.end method

.method static synthetic i(Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;Ljava/lang/Object;)Ljava/lang/Object;
    .registers 2

    iput-object p1, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->g:Ljava/lang/Object;

    return-object p1
.end method

.method static synthetic j(Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;I)I
    .registers 2

    iput p1, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->f:I

    return p1
.end method

.method public static l()Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;
    .registers 1

    sget-object v0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->j:Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;

    return-object v0
.end method

.method private n()V
    .registers 2

    const-string v0, ""

    iput-object v0, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->g:Ljava/lang/Object;

    return-void
.end method

.method public static o()Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo$Builder;
    .registers 1

    invoke-static {}, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo$Builder;->g()Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo$Builder;

    move-result-object v0

    return-object v0
.end method

.method public static p(Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;)Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo$Builder;
    .registers 2

    invoke-static {}, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->o()Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo$Builder;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo$Builder;->m(Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;)Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo$Builder;

    return-object v0
.end method

.method public static parseFrom(Ljava/io/InputStream;)Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;
    .registers 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    sget-object v0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->k:Lcom/google/protobuf/Parser;

    invoke-interface {v0, p0}, Lcom/google/protobuf/Parser;->a(Ljava/io/InputStream;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;

    return-object p0
.end method


# virtual methods
.method public b(Lcom/google/protobuf/CodedOutputStream;)V
    .registers 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    invoke-virtual {p0}, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->c()I

    iget v0, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->f:I

    const/4 v1, 0x1

    and-int/2addr v0, v1

    if-ne v0, v1, :cond_10

    invoke-virtual {p0}, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->k()Lcom/google/protobuf/ByteString;

    move-result-object v0

    invoke-virtual {p1, v1, v0}, Lcom/google/protobuf/CodedOutputStream;->A(ILcom/google/protobuf/ByteString;)V

    :cond_10
    return-void
.end method

.method public c()I
    .registers 4

    iget v0, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->i:I

    const/4 v1, -0x1

    if-eq v0, v1, :cond_6

    return v0

    :cond_6
    const/4 v0, 0x0

    iget v1, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->f:I

    const/4 v2, 0x1

    and-int/2addr v1, v2

    if-ne v1, v2, :cond_16

    invoke-virtual {p0}, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->k()Lcom/google/protobuf/ByteString;

    move-result-object v1

    invoke-static {v2, v1}, Lcom/google/protobuf/CodedOutputStream;->d(ILcom/google/protobuf/ByteString;)I

    move-result v1

    add-int/2addr v0, v1

    :cond_16
    iput v0, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->i:I

    return v0
.end method

.method public final isInitialized()Z
    .registers 4

    iget-byte v0, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->h:B

    const/4 v1, 0x1

    const/4 v2, -0x1

    if-eq v0, v2, :cond_b

    if-ne v0, v1, :cond_9

    goto :goto_a

    :cond_9
    const/4 v1, 0x0

    :goto_a
    return v1

    :cond_b
    iput-byte v1, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->h:B

    return v1
.end method

.method public k()Lcom/google/protobuf/ByteString;
    .registers 3

    iget-object v0, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->g:Ljava/lang/Object;

    instance-of v1, v0, Ljava/lang/String;

    if-eqz v1, :cond_f

    check-cast v0, Ljava/lang/String;

    invoke-static {v0}, Lcom/google/protobuf/ByteString;->i(Ljava/lang/String;)Lcom/google/protobuf/ByteString;

    move-result-object v0

    iput-object v0, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->g:Ljava/lang/Object;

    return-object v0

    :cond_f
    check-cast v0, Lcom/google/protobuf/ByteString;

    return-object v0
.end method

.method public m()Z
    .registers 3

    iget v0, p0, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->f:I

    const/4 v1, 0x1

    and-int/2addr v0, v1

    if-ne v0, v1, :cond_7

    goto :goto_8

    :cond_7
    const/4 v1, 0x0

    :goto_8
    return v1
.end method

.method public q()Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo$Builder;
    .registers 2

    invoke-static {p0}, Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;->p(Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo;)Lcom/avast/alpha/common/api/ClientCommon$AppleDeviceInfo$Builder;

    move-result-object v0

    return-object v0
.end method