.class public abstract Lv/q;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lv/d;


# instance fields
.field public a:I

.field public b:Lu/e;

.field public c:Lv/n;

.field public d:I

.field public e:Lv/h;

.field public f:I

.field public g:Z

.field public h:Lv/g;

.field public i:Lv/g;

.field public j:I


# direct methods
.method public constructor <init>(Lu/e;)V
    .registers 3

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

    new-instance v0, Lv/h;

    invoke-direct {v0, p0}, Lv/h;-><init>(Lv/q;)V

    iput-object v0, p0, Lv/q;->e:Lv/h;

    const/4 v0, 0x0

    iput v0, p0, Lv/q;->f:I

    iput-boolean v0, p0, Lv/q;->g:Z

    new-instance v0, Lv/g;

    invoke-direct {v0, p0}, Lv/g;-><init>(Lv/q;)V

    iput-object v0, p0, Lv/q;->h:Lv/g;

    new-instance v0, Lv/g;

    invoke-direct {v0, p0}, Lv/g;-><init>(Lv/q;)V

    iput-object v0, p0, Lv/q;->i:Lv/g;

    const/4 v0, 0x1

    iput v0, p0, Lv/q;->j:I

    iput-object p1, p0, Lv/q;->b:Lu/e;

    return-void
.end method


# virtual methods
.method public a(Lv/d;)V
    .registers 2

    return-void
.end method

.method public final b(Lv/g;Lv/g;I)V
    .registers 5

    iget-object v0, p1, Lv/g;->l:Ljava/util/List;

    invoke-interface {v0, p2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iput p3, p1, Lv/g;->f:I

    iget-object p2, p2, Lv/g;->k:Ljava/util/List;

    invoke-interface {p2, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-void
.end method

.method public final c(Lv/g;Lv/g;ILv/h;)V
    .registers 7

    iget-object v0, p1, Lv/g;->l:Ljava/util/List;

    invoke-interface {v0, p2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p1, Lv/g;->l:Ljava/util/List;

    iget-object v1, p0, Lv/q;->e:Lv/h;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iput p3, p1, Lv/g;->h:I

    iput-object p4, p1, Lv/g;->i:Lv/h;

    iget-object p2, p2, Lv/g;->k:Ljava/util/List;

    invoke-interface {p2, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object p2, p4, Lv/g;->k:Ljava/util/List;

    invoke-interface {p2, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-void
.end method

.method public abstract d()V
.end method

.method public abstract e()V
.end method

.method public abstract f()V
.end method

.method public final g(II)I
    .registers 4

    if-nez p2, :cond_15

    iget-object p2, p0, Lv/q;->b:Lu/e;

    iget v0, p2, Lu/e;->u:I

    iget p2, p2, Lu/e;->t:I

    invoke-static {p2, p1}, Ljava/lang/Math;->max(II)I

    move-result p2

    if-lez v0, :cond_12

    invoke-static {v0, p1}, Ljava/lang/Math;->min(II)I

    move-result p2

    :cond_12
    if-eq p2, p1, :cond_28

    goto :goto_27

    :cond_15
    iget-object p2, p0, Lv/q;->b:Lu/e;

    iget v0, p2, Lu/e;->x:I

    iget p2, p2, Lu/e;->w:I

    invoke-static {p2, p1}, Ljava/lang/Math;->max(II)I

    move-result p2

    if-lez v0, :cond_25

    invoke-static {v0, p1}, Ljava/lang/Math;->min(II)I

    move-result p2

    :cond_25
    if-eq p2, p1, :cond_28

    :goto_27
    move p1, p2

    :cond_28
    return p1
.end method

.method public final h(Lu/d;)Lv/g;
    .registers 5

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

    const/4 v0, 0x0

    if-nez p1, :cond_6

    return-object v0

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

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

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

    move-result p1

    const/4 v2, 0x1

    if-eq p1, v2, :cond_2e

    const/4 v2, 0x2

    if-eq p1, v2, :cond_2b

    const/4 v2, 0x3

    if-eq p1, v2, :cond_26

    const/4 v2, 0x4

    if-eq p1, v2, :cond_23

    const/4 v2, 0x5

    if-eq p1, v2, :cond_1e

    goto :goto_32

    :cond_1e
    iget-object p1, v1, Lu/e;->e:Lv/o;

    iget-object v0, p1, Lv/o;->k:Lv/g;

    goto :goto_32

    :cond_23
    iget-object p1, v1, Lu/e;->e:Lv/o;

    goto :goto_28

    :cond_26
    iget-object p1, v1, Lu/e;->d:Lv/m;

    :goto_28
    iget-object v0, p1, Lv/q;->i:Lv/g;

    goto :goto_32

    :cond_2b
    iget-object p1, v1, Lu/e;->e:Lv/o;

    goto :goto_30

    :cond_2e
    iget-object p1, v1, Lu/e;->d:Lv/m;

    :goto_30
    iget-object v0, p1, Lv/q;->h:Lv/g;

    :goto_32
    return-object v0
.end method

.method public final i(Lu/d;I)Lv/g;
    .registers 5

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

    const/4 v0, 0x0

    if-nez p1, :cond_6

    return-object v0

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

    if-nez p2, :cond_d

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

    goto :goto_f

    :cond_d
    iget-object p2, v1, Lu/e;->e:Lv/o;

    :goto_f
    iget-object p1, p1, Lu/d;->e:Lu/d$a;

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

    move-result p1

    const/4 v1, 0x1

    if-eq p1, v1, :cond_25

    const/4 v1, 0x2

    if-eq p1, v1, :cond_25

    const/4 v1, 0x3

    if-eq p1, v1, :cond_22

    const/4 v1, 0x4

    if-eq p1, v1, :cond_22

    goto :goto_27

    :cond_22
    iget-object v0, p2, Lv/q;->i:Lv/g;

    goto :goto_27

    :cond_25
    iget-object v0, p2, Lv/q;->h:Lv/g;

    :goto_27
    return-object v0
.end method

.method public j()J
    .registers 3

    iget-object v0, p0, Lv/q;->e:Lv/h;

    iget-boolean v1, v0, Lv/g;->j:Z

    if-eqz v1, :cond_a

    iget v0, v0, Lv/g;->g:I

    int-to-long v0, v0

    return-wide v0

    :cond_a
    const-wide/16 v0, 0x0

    return-wide v0
.end method

.method public abstract k()Z
.end method

.method public l(Lu/d;Lu/d;I)V
    .registers 16

    invoke-virtual {p0, p1}, Lv/q;->h(Lu/d;)Lv/g;

    move-result-object v0

    invoke-virtual {p0, p2}, Lv/q;->h(Lu/d;)Lv/g;

    move-result-object v1

    iget-boolean v2, v0, Lv/g;->j:Z

    if-eqz v2, :cond_ea

    iget-boolean v2, v1, Lv/g;->j:Z

    if-nez v2, :cond_12

    goto/16 :goto_ea

    :cond_12
    iget v2, v0, Lv/g;->g:I

    invoke-virtual {p1}, Lu/d;->d()I

    move-result p1

    add-int/2addr p1, v2

    iget v2, v1, Lv/g;->g:I

    invoke-virtual {p2}, Lu/d;->d()I

    move-result p2

    sub-int/2addr v2, p2

    sub-int p2, v2, p1

    iget-object v3, p0, Lv/q;->e:Lv/h;

    iget-boolean v4, v3, Lv/g;->j:Z

    const/high16 v5, 0x3f000000    # 0.5f

    if-nez v4, :cond_a9

    iget v4, p0, Lv/q;->d:I

    const/4 v6, 0x3

    if-ne v4, v6, :cond_a9

    .line 1
    iget v4, p0, Lv/q;->a:I

    if-eqz v4, :cond_a1

    const/4 v7, 0x1

    if-eq v4, v7, :cond_91

    const/4 v8, 0x2

    if-eq v4, v8, :cond_70

    if-eq v4, v6, :cond_3d

    goto/16 :goto_a9

    :cond_3d
    iget-object v4, p0, Lv/q;->b:Lu/e;

    iget-object v8, v4, Lu/e;->d:Lv/m;

    iget v9, v8, Lv/q;->d:I

    if-ne v9, v6, :cond_54

    iget v9, v8, Lv/q;->a:I

    if-ne v9, v6, :cond_54

    iget-object v9, v4, Lu/e;->e:Lv/o;

    iget v10, v9, Lv/q;->d:I

    if-ne v10, v6, :cond_54

    iget v9, v9, Lv/q;->a:I

    if-ne v9, v6, :cond_54

    goto :goto_a9

    :cond_54
    if-nez p3, :cond_58

    iget-object v8, v4, Lu/e;->e:Lv/o;

    :cond_58
    iget-object v6, v8, Lv/q;->e:Lv/h;

    iget-boolean v8, v6, Lv/g;->j:Z

    if-eqz v8, :cond_a9

    .line 2
    iget v4, v4, Lu/e;->X:F

    if-ne p3, v7, :cond_69

    .line 3
    iget v6, v6, Lv/g;->g:I

    int-to-float v6, v6

    div-float/2addr v6, v4

    add-float/2addr v6, v5

    float-to-int v4, v6

    goto :goto_a6

    :cond_69
    iget v6, v6, Lv/g;->g:I

    int-to-float v6, v6

    mul-float/2addr v4, v6

    add-float/2addr v4, v5

    float-to-int v4, v4

    goto :goto_a6

    :cond_70
    iget-object v4, p0, Lv/q;->b:Lu/e;

    .line 4
    iget-object v6, v4, Lu/e;->U:Lu/e;

    if-eqz v6, :cond_a9

    if-nez p3, :cond_7b

    .line 5
    iget-object v6, v6, Lu/e;->d:Lv/m;

    goto :goto_7d

    :cond_7b
    iget-object v6, v6, Lu/e;->e:Lv/o;

    :goto_7d
    iget-object v6, v6, Lv/q;->e:Lv/h;

    iget-boolean v7, v6, Lv/g;->j:Z

    if-eqz v7, :cond_a9

    if-nez p3, :cond_88

    iget v4, v4, Lu/e;->v:F

    goto :goto_8a

    :cond_88
    iget v4, v4, Lu/e;->y:F

    :goto_8a
    iget v6, v6, Lv/g;->g:I

    int-to-float v6, v6

    mul-float/2addr v6, v4

    add-float/2addr v6, v5

    float-to-int v4, v6

    goto :goto_a2

    :cond_91
    iget v3, v3, Lv/h;->m:I

    invoke-virtual {p0, v3, p3}, Lv/q;->g(II)I

    move-result v3

    iget-object v4, p0, Lv/q;->e:Lv/h;

    invoke-static {v3, p2}, Ljava/lang/Math;->min(II)I

    move-result v3

    move-object v11, v4

    move v4, v3

    move-object v3, v11

    goto :goto_a6

    :cond_a1
    move v4, p2

    :goto_a2
    invoke-virtual {p0, v4, p3}, Lv/q;->g(II)I

    move-result v4

    :goto_a6
    invoke-virtual {v3, v4}, Lv/h;->c(I)V

    .line 6
    :cond_a9
    :goto_a9
    iget-object v3, p0, Lv/q;->e:Lv/h;

    iget-boolean v4, v3, Lv/g;->j:Z

    if-nez v4, :cond_b0

    return-void

    :cond_b0
    iget v3, v3, Lv/g;->g:I

    if-ne v3, p2, :cond_bf

    iget-object p2, p0, Lv/q;->h:Lv/g;

    invoke-virtual {p2, p1}, Lv/g;->c(I)V

    iget-object p1, p0, Lv/q;->i:Lv/g;

    invoke-virtual {p1, v2}, Lv/g;->c(I)V

    return-void

    :cond_bf
    iget-object p2, p0, Lv/q;->b:Lu/e;

    if-nez p3, :cond_c6

    .line 7
    iget p2, p2, Lu/e;->e0:F

    goto :goto_c8

    .line 8
    :cond_c6
    iget p2, p2, Lu/e;->f0:F

    :goto_c8
    if-ne v0, v1, :cond_cf

    .line 9
    iget p1, v0, Lv/g;->g:I

    iget v2, v1, Lv/g;->g:I

    move p2, v5

    :cond_cf
    sub-int/2addr v2, p1

    sub-int/2addr v2, v3

    iget-object p3, p0, Lv/q;->h:Lv/g;

    int-to-float p1, p1

    add-float/2addr p1, v5

    int-to-float v0, v2

    mul-float/2addr v0, p2

    add-float/2addr v0, p1

    float-to-int p1, v0

    invoke-virtual {p3, p1}, Lv/g;->c(I)V

    iget-object p1, p0, Lv/q;->i:Lv/g;

    iget-object p2, p0, Lv/q;->h:Lv/g;

    iget p2, p2, Lv/g;->g:I

    iget-object p3, p0, Lv/q;->e:Lv/h;

    iget p3, p3, Lv/g;->g:I

    add-int/2addr p2, p3

    invoke-virtual {p1, p2}, Lv/g;->c(I)V

    :cond_ea
    :goto_ea
    return-void
.end method
