.class public Lu/d;
.super Ljava/lang/Object;
.source ""


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lu/d$a;
    }
.end annotation


# instance fields
.field public a:Ljava/util/HashSet;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/HashSet<",
            "Lu/d;",
            ">;"
        }
    .end annotation
.end field

.field public b:I

.field public c:Z

.field public final d:Lu/e;

.field public final e:Lu/d$a;

.field public f:Lu/d;

.field public g:I

.field public h:I

.field public i:Ls/g;


# direct methods
.method public constructor <init>(Lu/e;Lu/d$a;)V
    .registers 4

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

    const/4 v0, 0x0

    iput-object v0, p0, Lu/d;->a:Ljava/util/HashSet;

    const/4 v0, 0x0

    iput v0, p0, Lu/d;->g:I

    const/high16 v0, -0x80000000

    iput v0, p0, Lu/d;->h:I

    iput-object p1, p0, Lu/d;->d:Lu/e;

    iput-object p2, p0, Lu/d;->e:Lu/d$a;

    return-void
.end method


# virtual methods
.method public a(Lu/d;IIZ)Z
    .registers 13

    const/4 v0, 0x1

    if-nez p1, :cond_7

    invoke-virtual {p0}, Lu/d;->h()V

    return v0

    :cond_7
    if-nez p4, :cond_77

    .line 1
    sget-object p4, Lu/d$a;->y:Lu/d$a;

    sget-object v1, Lu/d$a;->t:Lu/d$a;

    sget-object v2, Lu/d$a;->x:Lu/d$a;

    sget-object v3, Lu/d$a;->r:Lu/d$a;

    sget-object v4, Lu/d$a;->v:Lu/d$a;

    .line 2
    iget-object v5, p1, Lu/d;->e:Lu/d$a;

    .line 3
    iget-object v6, p0, Lu/d;->e:Lu/d$a;

    const/4 v7, 0x0

    if-ne v5, v6, :cond_29

    if-ne v6, v4, :cond_71

    .line 4
    iget-object p4, p1, Lu/d;->d:Lu/e;

    .line 5
    iget-boolean p4, p4, Lu/e;->D:Z

    if-eqz p4, :cond_73

    .line 6
    iget-object p4, p0, Lu/d;->d:Lu/e;

    .line 7
    iget-boolean p4, p4, Lu/e;->D:Z

    if-nez p4, :cond_71

    goto :goto_73

    .line 8
    :cond_29
    invoke-virtual {v6}, Ljava/lang/Enum;->ordinal()I

    move-result v6

    packed-switch v6, :pswitch_data_92

    new-instance p1, Ljava/lang/AssertionError;

    iget-object p2, p0, Lu/d;->e:Lu/d$a;

    invoke-virtual {p2}, Ljava/lang/Enum;->name()Ljava/lang/String;

    move-result-object p2

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

    throw p1

    :pswitch_3c
    if-eq v5, v4, :cond_73

    if-eq v5, v2, :cond_73

    if-eq v5, p4, :cond_73

    goto :goto_71

    :pswitch_43
    if-eq v5, v3, :cond_73

    if-ne v5, v1, :cond_71

    goto :goto_73

    :pswitch_48
    sget-object v1, Lu/d$a;->s:Lu/d$a;

    if-eq v5, v1, :cond_53

    sget-object v1, Lu/d$a;->u:Lu/d$a;

    if-ne v5, v1, :cond_51

    goto :goto_53

    :cond_51
    move v1, v7

    goto :goto_54

    :cond_53
    :goto_53
    move v1, v0

    .line 9
    :goto_54
    iget-object v2, p1, Lu/d;->d:Lu/e;

    .line 10
    instance-of v2, v2, Lu/g;

    if-eqz v2, :cond_74

    if-nez v1, :cond_71

    if-ne v5, p4, :cond_73

    goto :goto_71

    :pswitch_5f
    if-eq v5, v3, :cond_66

    if-ne v5, v1, :cond_64

    goto :goto_66

    :cond_64
    move v1, v7

    goto :goto_67

    :cond_66
    :goto_66
    move v1, v0

    .line 11
    :goto_67
    iget-object p4, p1, Lu/d;->d:Lu/e;

    .line 12
    instance-of p4, p4, Lu/g;

    if-eqz p4, :cond_74

    if-nez v1, :cond_71

    if-ne v5, v2, :cond_73

    :cond_71
    :goto_71
    move v1, v0

    goto :goto_74

    :cond_73
    :goto_73
    :pswitch_73
    move v1, v7

    :cond_74
    :goto_74
    if-nez v1, :cond_77

    return v7

    .line 13
    :cond_77
    iput-object p1, p0, Lu/d;->f:Lu/d;

    iget-object p4, p1, Lu/d;->a:Ljava/util/HashSet;

    if-nez p4, :cond_84

    new-instance p4, Ljava/util/HashSet;

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

    iput-object p4, p1, Lu/d;->a:Ljava/util/HashSet;

    :cond_84
    iget-object p1, p0, Lu/d;->f:Lu/d;

    iget-object p1, p1, Lu/d;->a:Ljava/util/HashSet;

    if-eqz p1, :cond_8d

    invoke-virtual {p1, p0}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z

    :cond_8d
    iput p2, p0, Lu/d;->g:I

    iput p3, p0, Lu/d;->h:I

    return v0

    :pswitch_data_92
    .packed-switch 0x0
        :pswitch_73
        :pswitch_5f
        :pswitch_48
        :pswitch_5f
        :pswitch_48
        :pswitch_43
        :pswitch_3c
        :pswitch_73
        :pswitch_73
    .end packed-switch
.end method

.method public b(ILjava/util/ArrayList;Lv/p;)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I",
            "Ljava/util/ArrayList<",
            "Lv/p;",
            ">;",
            "Lv/p;",
            ")V"
        }
    .end annotation

    iget-object v0, p0, Lu/d;->a:Ljava/util/HashSet;

    if-eqz v0, :cond_1a

    invoke-virtual {v0}, Ljava/util/HashSet;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_8
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1a

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lu/d;

    iget-object v1, v1, Lu/d;->d:Lu/e;

    invoke-static {v1, p1, p2, p3}, Lv/j;->a(Lu/e;ILjava/util/ArrayList;Lv/p;)Lv/p;

    goto :goto_8

    :cond_1a
    return-void
.end method

.method public c()I
    .registers 2

    iget-boolean v0, p0, Lu/d;->c:Z

    if-nez v0, :cond_6

    const/4 v0, 0x0

    return v0

    :cond_6
    iget v0, p0, Lu/d;->b:I

    return v0
.end method

.method public d()I
    .registers 4

    iget-object v0, p0, Lu/d;->d:Lu/e;

    .line 1
    iget v0, v0, Lu/e;->h0:I

    const/16 v1, 0x8

    if-ne v0, v1, :cond_a

    const/4 v0, 0x0

    return v0

    .line 2
    :cond_a
    iget v0, p0, Lu/d;->h:I

    const/high16 v2, -0x80000000

    if-eq v0, v2, :cond_1b

    iget-object v2, p0, Lu/d;->f:Lu/d;

    if-eqz v2, :cond_1b

    iget-object v2, v2, Lu/d;->d:Lu/e;

    .line 3
    iget v2, v2, Lu/e;->h0:I

    if-ne v2, v1, :cond_1b

    return v0

    .line 4
    :cond_1b
    iget v0, p0, Lu/d;->g:I

    return v0
.end method

.method public e()Z
    .registers 5

    iget-object v0, p0, Lu/d;->a:Ljava/util/HashSet;

    const/4 v1, 0x0

    if-nez v0, :cond_6

    return v1

    :cond_6
    invoke-virtual {v0}, Ljava/util/HashSet;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_a
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_48

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lu/d;

    .line 1
    iget-object v3, v2, Lu/d;->e:Lu/d$a;

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

    move-result v3

    packed-switch v3, :pswitch_data_4a

    new-instance v0, Ljava/lang/AssertionError;

    iget-object v1, v2, Lu/d;->e:Lu/d$a;

    invoke-virtual {v1}, Ljava/lang/Enum;->name()Ljava/lang/String;

    move-result-object v1

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

    throw v0

    :pswitch_2b
    iget-object v2, v2, Lu/d;->d:Lu/e;

    iget-object v2, v2, Lu/e;->J:Lu/d;

    goto :goto_40

    :pswitch_30
    iget-object v2, v2, Lu/d;->d:Lu/e;

    iget-object v2, v2, Lu/e;->I:Lu/d;

    goto :goto_40

    :pswitch_35
    iget-object v2, v2, Lu/d;->d:Lu/e;

    iget-object v2, v2, Lu/e;->L:Lu/d;

    goto :goto_40

    :pswitch_3a
    iget-object v2, v2, Lu/d;->d:Lu/e;

    iget-object v2, v2, Lu/e;->K:Lu/d;

    goto :goto_40

    :pswitch_3f
    const/4 v2, 0x0

    .line 2
    :goto_40
    invoke-virtual {v2}, Lu/d;->g()Z

    move-result v2

    if-eqz v2, :cond_a

    const/4 v0, 0x1

    return v0

    :cond_48
    return v1

    nop

    :pswitch_data_4a
    .packed-switch 0x0
        :pswitch_3f
        :pswitch_3a
        :pswitch_35
        :pswitch_30
        :pswitch_2b
        :pswitch_3f
        :pswitch_3f
        :pswitch_3f
        :pswitch_3f
    .end packed-switch
.end method

.method public f()Z
    .registers 3

    iget-object v0, p0, Lu/d;->a:Ljava/util/HashSet;

    const/4 v1, 0x0

    if-nez v0, :cond_6

    return v1

    :cond_6
    invoke-virtual {v0}, Ljava/util/HashSet;->size()I

    move-result v0

    if-lez v0, :cond_d

    const/4 v1, 0x1

    :cond_d
    return v1
.end method

.method public g()Z
    .registers 2

    iget-object v0, p0, Lu/d;->f:Lu/d;

    if-eqz v0, :cond_6

    const/4 v0, 0x1

    goto :goto_7

    :cond_6
    const/4 v0, 0x0

    :goto_7
    return v0
.end method

.method public h()V
    .registers 3

    iget-object v0, p0, Lu/d;->f:Lu/d;

    const/4 v1, 0x0

    if-eqz v0, :cond_1a

    iget-object v0, v0, Lu/d;->a:Ljava/util/HashSet;

    if-eqz v0, :cond_1a

    invoke-virtual {v0, p0}, Ljava/util/HashSet;->remove(Ljava/lang/Object;)Z

    iget-object v0, p0, Lu/d;->f:Lu/d;

    iget-object v0, v0, Lu/d;->a:Ljava/util/HashSet;

    invoke-virtual {v0}, Ljava/util/HashSet;->size()I

    move-result v0

    if-nez v0, :cond_1a

    iget-object v0, p0, Lu/d;->f:Lu/d;

    iput-object v1, v0, Lu/d;->a:Ljava/util/HashSet;

    :cond_1a
    iput-object v1, p0, Lu/d;->a:Ljava/util/HashSet;

    iput-object v1, p0, Lu/d;->f:Lu/d;

    const/4 v0, 0x0

    iput v0, p0, Lu/d;->g:I

    const/high16 v1, -0x80000000

    iput v1, p0, Lu/d;->h:I

    iput-boolean v0, p0, Lu/d;->c:Z

    iput v0, p0, Lu/d;->b:I

    return-void
.end method

.method public i()V
    .registers 3

    iget-object v0, p0, Lu/d;->i:Ls/g;

    if-nez v0, :cond_d

    new-instance v0, Ls/g;

    const/4 v1, 0x1

    invoke-direct {v0, v1}, Ls/g;-><init>(I)V

    iput-object v0, p0, Lu/d;->i:Ls/g;

    goto :goto_10

    :cond_d
    invoke-virtual {v0}, Ls/g;->c()V

    :goto_10
    return-void
.end method

.method public j(I)V
    .registers 2

    iput p1, p0, Lu/d;->b:I

    const/4 p1, 0x1

    iput-boolean p1, p0, Lu/d;->c:Z

    return-void
.end method

.method public toString()Ljava/lang/String;
    .registers 3

    new-instance v0, Ljava/lang/StringBuilder;

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

    iget-object v1, p0, Lu/d;->d:Lu/e;

    .line 1
    iget-object v1, v1, Lu/e;->i0:Ljava/lang/String;

    .line 2
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, ":"

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

    iget-object v1, p0, Lu/d;->e:Lu/d$a;

    invoke-virtual {v1}, Ljava/lang/Enum;->toString()Ljava/lang/String;

    move-result-object v1

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

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

    move-result-object v0

    return-object v0
.end method
