.class public final Lq8/o$v;
.super Ln8/w;
.source ""


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lq8/o;
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ln8/w<",
        "Ljava/util/BitSet;",
        ">;"
    }
.end annotation


# direct methods
.method public constructor <init>()V
    .registers 1

    invoke-direct {p0}, Ln8/w;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Lu8/a;)Ljava/lang/Object;
    .registers 8

    .line 1
    new-instance v0, Ljava/util/BitSet;

    invoke-direct {v0}, Ljava/util/BitSet;-><init>()V

    invoke-virtual {p1}, Lu8/a;->b()V

    invoke-virtual {p1}, Lu8/a;->e0()Lu8/b;

    move-result-object v1

    const/4 v2, 0x0

    move v3, v2

    :goto_e
    sget-object v4, Lu8/b;->s:Lu8/b;

    if-eq v1, v4, :cond_67

    invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I

    move-result v4

    const/4 v5, 0x5

    if-eq v4, v5, :cond_42

    const/4 v5, 0x6

    if-eq v4, v5, :cond_3b

    const/4 v5, 0x7

    if-ne v4, v5, :cond_24

    invoke-virtual {p1}, Lu8/a;->P()Z

    move-result v1

    goto :goto_4f

    :cond_24
    new-instance p1, Ln8/u;

    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v2, "Invalid bitset value type: "

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

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

    throw p1

    :cond_3b
    invoke-virtual {p1}, Lu8/a;->T()I

    move-result v1

    if-eqz v1, :cond_4e

    goto :goto_4c

    :cond_42
    invoke-virtual {p1}, Lu8/a;->c0()Ljava/lang/String;

    move-result-object v1

    :try_start_46
    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1
    :try_end_4a
    .catch Ljava/lang/NumberFormatException; {:try_start_46 .. :try_end_4a} :catch_5b

    if-eqz v1, :cond_4e

    :goto_4c
    const/4 v1, 0x1

    goto :goto_4f

    :cond_4e
    move v1, v2

    :goto_4f
    if-eqz v1, :cond_54

    invoke-virtual {v0, v3}, Ljava/util/BitSet;->set(I)V

    :cond_54
    add-int/lit8 v3, v3, 0x1

    invoke-virtual {p1}, Lu8/a;->e0()Lu8/b;

    move-result-object v1

    goto :goto_e

    :catch_5b
    new-instance p1, Ln8/u;

    const-string v0, "Error: Expecting: bitset number value (1, 0), Found: "

    invoke-static {v0, v1}, Le/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

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

    throw p1

    :cond_67
    invoke-virtual {p1}, Lu8/a;->o()V

    return-object v0
.end method

.method public b(Lu8/c;Ljava/lang/Object;)V
    .registers 7

    check-cast p2, Ljava/util/BitSet;

    .line 1
    invoke-virtual {p1}, Lu8/c;->e()Lu8/c;

    invoke-virtual {p2}, Ljava/util/BitSet;->length()I

    move-result v0

    const/4 v1, 0x0

    :goto_a
    if-ge v1, v0, :cond_17

    invoke-virtual {p2, v1}, Ljava/util/BitSet;->get(I)Z

    move-result v2

    int-to-long v2, v2

    invoke-virtual {p1, v2, v3}, Lu8/c;->T(J)Lu8/c;

    add-int/lit8 v1, v1, 0x1

    goto :goto_a

    :cond_17
    invoke-virtual {p1}, Lu8/c;->o()Lu8/c;

    return-void
.end method
