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


# static fields
.field public static a:Lv/b$a;

.field public static b:I

.field public static c:I


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

    new-instance v0, Lv/b$a;

    invoke-direct {v0}, Lv/b$a;-><init>()V

    sput-object v0, Lv/i;->a:Lv/b$a;

    return-void
.end method

.method public static a(Lu/e;)Z
    .registers 10

    invoke-virtual {p0}, Lu/e;->m()I

    move-result v0

    invoke-virtual {p0}, Lu/e;->q()I

    move-result v1

    .line 1
    iget-object v2, p0, Lu/e;->U:Lu/e;

    if-eqz v2, :cond_f

    .line 2
    check-cast v2, Lu/f;

    goto :goto_10

    :cond_f
    const/4 v2, 0x0

    :goto_10
    if-eqz v2, :cond_15

    invoke-virtual {v2}, Lu/e;->m()I

    :cond_15
    if-eqz v2, :cond_1a

    invoke-virtual {v2}, Lu/e;->q()I

    :cond_1a
    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v4, 0x1

    const/4 v5, 0x3

    const/4 v6, 0x2

    if-eq v0, v4, :cond_4e

    invoke-virtual {p0}, Lu/e;->A()Z

    move-result v7

    if-nez v7, :cond_4e

    if-eq v0, v6, :cond_4e

    if-ne v0, v5, :cond_3b

    iget v7, p0, Lu/e;->q:I

    if-nez v7, :cond_3b

    iget v7, p0, Lu/e;->X:F

    cmpl-float v7, v7, v2

    if-nez v7, :cond_3b

    invoke-virtual {p0, v3}, Lu/e;->u(I)Z

    move-result v7

    if-nez v7, :cond_4e

    :cond_3b
    if-ne v0, v5, :cond_4c

    iget v7, p0, Lu/e;->q:I

    if-ne v7, v4, :cond_4c

    invoke-virtual {p0}, Lu/e;->r()I

    move-result v7

    invoke-virtual {p0, v3, v7}, Lu/e;->v(II)Z

    move-result v7

    if-eqz v7, :cond_4c

    goto :goto_4e

    :cond_4c
    move v7, v3

    goto :goto_4f

    :cond_4e
    :goto_4e
    move v7, v4

    :goto_4f
    if-eq v1, v4, :cond_7e

    invoke-virtual {p0}, Lu/e;->B()Z

    move-result v8

    if-nez v8, :cond_7e

    if-eq v1, v6, :cond_7e

    if-ne v1, v5, :cond_6b

    iget v1, p0, Lu/e;->r:I

    if-nez v1, :cond_6b

    iget v1, p0, Lu/e;->X:F

    cmpl-float v1, v1, v2

    if-nez v1, :cond_6b

    invoke-virtual {p0, v4}, Lu/e;->u(I)Z

    move-result v1

    if-nez v1, :cond_7e

    :cond_6b
    if-ne v0, v5, :cond_7c

    iget v0, p0, Lu/e;->r:I

    if-ne v0, v4, :cond_7c

    invoke-virtual {p0}, Lu/e;->l()I

    move-result v0

    invoke-virtual {p0, v4, v0}, Lu/e;->v(II)Z

    move-result v0

    if-eqz v0, :cond_7c

    goto :goto_7e

    :cond_7c
    move v0, v3

    goto :goto_7f

    :cond_7e
    :goto_7e
    move v0, v4

    :goto_7f
    iget p0, p0, Lu/e;->X:F

    cmpl-float p0, p0, v2

    if-lez p0, :cond_8a

    if-nez v7, :cond_89

    if-eqz v0, :cond_8a

    :cond_89
    return v4

    :cond_8a
    if-eqz v7, :cond_8f

    if-eqz v0, :cond_8f

    move v3, v4

    :cond_8f
    return v3
.end method

.method public static b(ILu/e;Lv/b$b;Z)V
    .registers 21

    move-object/from16 v0, p1

    move-object/from16 v1, p2

    move/from16 v2, p3

    .line 1
    iget-boolean v3, v0, Lu/e;->l:Z

    if-eqz v3, :cond_b

    return-void

    .line 2
    :cond_b
    sget v3, Lv/i;->b:I

    const/4 v4, 0x1

    add-int/2addr v3, v4

    sput v3, Lv/i;->b:I

    instance-of v3, v0, Lu/f;

    const/4 v5, 0x0

    if-nez v3, :cond_2a

    invoke-virtual/range {p1 .. p1}, Lu/e;->z()Z

    move-result v3

    if-eqz v3, :cond_2a

    invoke-static/range {p1 .. p1}, Lv/i;->a(Lu/e;)Z

    move-result v3

    if-eqz v3, :cond_2a

    new-instance v3, Lv/b$a;

    invoke-direct {v3}, Lv/b$a;-><init>()V

    invoke-static {v0, v1, v3, v5}, Lu/f;->Z(Lu/e;Lv/b$b;Lv/b$a;I)Z

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

    invoke-virtual {v0, v3}, Lu/e;->i(Lu/d$a;)Lu/d;

    move-result-object v3

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

    invoke-virtual {v0, v6}, Lu/e;->i(Lu/d$a;)Lu/d;

    move-result-object v6

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

    move-result v7

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

    move-result v8

    .line 3
    iget-object v9, v3, Lu/d;->a:Ljava/util/HashSet;

    const/16 v10, 0x8

    const/4 v11, 0x0

    const/4 v12, 0x3

    if-eqz v9, :cond_11d

    .line 4
    iget-boolean v3, v3, Lu/d;->c:Z

    if-eqz v3, :cond_11d

    .line 5
    invoke-virtual {v9}, Ljava/util/HashSet;->iterator()Ljava/util/Iterator;

    move-result-object v3

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

    move-result v9

    if-eqz v9, :cond_11d

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

    move-result-object v9

    check-cast v9, Lu/d;

    iget-object v13, v9, Lu/d;->d:Lu/e;

    add-int/lit8 v14, p0, 0x1

    invoke-static {v13}, Lv/i;->a(Lu/e;)Z

    move-result v15

    invoke-virtual {v13}, Lu/e;->z()Z

    move-result v16

    if-eqz v16, :cond_72

    if-eqz v15, :cond_72

    new-instance v4, Lv/b$a;

    invoke-direct {v4}, Lv/b$a;-><init>()V

    invoke-static {v13, v1, v4, v5}, Lu/f;->Z(Lu/e;Lv/b$b;Lv/b$a;I)Z

    :cond_72
    invoke-virtual {v13}, Lu/e;->m()I

    move-result v4

    if-ne v4, v12, :cond_ca

    if-eqz v15, :cond_7b

    goto :goto_ca

    :cond_7b
    invoke-virtual {v13}, Lu/e;->m()I

    move-result v4

    if-ne v4, v12, :cond_119

    iget v4, v13, Lu/e;->u:I

    if-ltz v4, :cond_119

    iget v4, v13, Lu/e;->t:I

    if-ltz v4, :cond_119

    .line 6
    iget v4, v13, Lu/e;->h0:I

    if-eq v4, v10, :cond_97

    .line 7
    iget v4, v13, Lu/e;->q:I

    if-nez v4, :cond_119

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

    cmpl-float v4, v4, v11

    if-nez v4, :cond_119

    .line 9
    :cond_97
    invoke-virtual {v13}, Lu/e;->x()Z

    move-result v4

    if-nez v4, :cond_119

    .line 10
    iget-boolean v4, v13, Lu/e;->F:Z

    if-nez v4, :cond_119

    .line 11
    iget-object v4, v13, Lu/e;->I:Lu/d;

    if-ne v9, v4, :cond_af

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

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

    if-eqz v15, :cond_af

    .line 12
    iget-boolean v15, v15, Lu/d;->c:Z

    if-nez v15, :cond_bb

    .line 13
    :cond_af
    iget-object v15, v13, Lu/e;->K:Lu/d;

    if-ne v9, v15, :cond_bd

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

    if-eqz v4, :cond_bd

    .line 14
    iget-boolean v4, v4, Lu/d;->c:Z

    if-eqz v4, :cond_bd

    :cond_bb
    const/4 v4, 0x1

    goto :goto_be

    :cond_bd
    move v4, v5

    :goto_be
    if-eqz v4, :cond_119

    .line 15
    invoke-virtual {v13}, Lu/e;->x()Z

    move-result v4

    if-nez v4, :cond_119

    invoke-static {v14, v0, v1, v13, v2}, Lv/i;->d(ILu/e;Lv/b$b;Lu/e;Z)V

    goto :goto_119

    :cond_ca
    :goto_ca
    invoke-virtual {v13}, Lu/e;->z()Z

    move-result v4

    if-eqz v4, :cond_d3

    const/4 v4, 0x1

    goto/16 :goto_4e

    :cond_d3
    iget-object v4, v13, Lu/e;->I:Lu/d;

    if-ne v9, v4, :cond_eb

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

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

    if-nez v15, :cond_eb

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

    move-result v4

    add-int/2addr v4, v7

    invoke-virtual {v13}, Lu/e;->r()I

    move-result v9

    add-int/2addr v9, v4

    invoke-virtual {v13, v4, v9}, Lu/e;->G(II)V

    goto :goto_102

    :cond_eb
    iget-object v15, v13, Lu/e;->K:Lu/d;

    if-ne v9, v15, :cond_106

    iget-object v11, v4, Lu/d;->f:Lu/d;

    if-nez v11, :cond_106

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

    move-result v4

    sub-int v4, v7, v4

    invoke-virtual {v13}, Lu/e;->r()I

    move-result v9

    sub-int v9, v4, v9

    invoke-virtual {v13, v9, v4}, Lu/e;->G(II)V

    :goto_102
    invoke-static {v14, v13, v1, v2}, Lv/i;->b(ILu/e;Lv/b$b;Z)V

    goto :goto_119

    :cond_106
    if-ne v9, v4, :cond_119

    iget-object v4, v15, Lu/d;->f:Lu/d;

    if-eqz v4, :cond_119

    .line 16
    iget-boolean v4, v4, Lu/d;->c:Z

    if-eqz v4, :cond_119

    .line 17
    invoke-virtual {v13}, Lu/e;->x()Z

    move-result v4

    if-nez v4, :cond_119

    invoke-static {v14, v1, v13, v2}, Lv/i;->c(ILv/b$b;Lu/e;Z)V

    :cond_119
    :goto_119
    const/4 v4, 0x1

    const/4 v11, 0x0

    goto/16 :goto_4e

    :cond_11d
    instance-of v3, v0, Lu/g;

    if-eqz v3, :cond_122

    return-void

    .line 18
    :cond_122
    iget-object v3, v6, Lu/d;->a:Ljava/util/HashSet;

    if-eqz v3, :cond_1fb

    .line 19
    iget-boolean v4, v6, Lu/d;->c:Z

    if-eqz v4, :cond_1fb

    .line 20
    invoke-virtual {v3}, Ljava/util/HashSet;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :cond_12e
    :goto_12e
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_1fb

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

    move-result-object v4

    check-cast v4, Lu/d;

    iget-object v6, v4, Lu/d;->d:Lu/e;

    const/4 v7, 0x1

    add-int/lit8 v9, p0, 0x1

    invoke-static {v6}, Lv/i;->a(Lu/e;)Z

    move-result v7

    invoke-virtual {v6}, Lu/e;->z()Z

    move-result v11

    if-eqz v11, :cond_153

    if-eqz v7, :cond_153

    new-instance v11, Lv/b$a;

    invoke-direct {v11}, Lv/b$a;-><init>()V

    invoke-static {v6, v1, v11, v5}, Lu/f;->Z(Lu/e;Lv/b$b;Lv/b$a;I)Z

    :cond_153
    iget-object v11, v6, Lu/e;->I:Lu/d;

    if-ne v4, v11, :cond_161

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

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

    if-eqz v13, :cond_161

    .line 21
    iget-boolean v13, v13, Lu/d;->c:Z

    if-nez v13, :cond_16d

    .line 22
    :cond_161
    iget-object v13, v6, Lu/e;->K:Lu/d;

    if-ne v4, v13, :cond_16f

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

    if-eqz v11, :cond_16f

    .line 23
    iget-boolean v11, v11, Lu/d;->c:Z

    if-eqz v11, :cond_16f

    :cond_16d
    const/4 v11, 0x1

    goto :goto_170

    :cond_16f
    move v11, v5

    .line 24
    :goto_170
    invoke-virtual {v6}, Lu/e;->m()I

    move-result v13

    if-ne v13, v12, :cond_1b1

    if-eqz v7, :cond_179

    goto :goto_1b1

    :cond_179
    invoke-virtual {v6}, Lu/e;->m()I

    move-result v4

    if-ne v4, v12, :cond_1ae

    iget v4, v6, Lu/e;->u:I

    if-ltz v4, :cond_1ae

    iget v4, v6, Lu/e;->t:I

    if-ltz v4, :cond_1ae

    .line 25
    iget v4, v6, Lu/e;->h0:I

    if-eq v4, v10, :cond_197

    .line 26
    iget v4, v6, Lu/e;->q:I

    if-nez v4, :cond_1ae

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

    const/4 v7, 0x0

    cmpl-float v4, v4, v7

    if-nez v4, :cond_12e

    goto :goto_198

    :cond_197
    const/4 v7, 0x0

    .line 28
    :goto_198
    invoke-virtual {v6}, Lu/e;->x()Z

    move-result v4

    if-nez v4, :cond_12e

    .line 29
    iget-boolean v4, v6, Lu/e;->F:Z

    if-nez v4, :cond_12e

    if-eqz v11, :cond_12e

    .line 30
    invoke-virtual {v6}, Lu/e;->x()Z

    move-result v4

    if-nez v4, :cond_12e

    invoke-static {v9, v0, v1, v6, v2}, Lv/i;->d(ILu/e;Lv/b$b;Lu/e;Z)V

    goto :goto_12e

    :cond_1ae
    const/4 v7, 0x0

    goto/16 :goto_12e

    :cond_1b1
    :goto_1b1
    const/4 v7, 0x0

    invoke-virtual {v6}, Lu/e;->z()Z

    move-result v13

    if-eqz v13, :cond_1ba

    goto/16 :goto_12e

    :cond_1ba
    iget-object v13, v6, Lu/e;->I:Lu/d;

    if-ne v4, v13, :cond_1d2

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

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

    if-nez v14, :cond_1d2

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

    move-result v4

    add-int/2addr v4, v8

    invoke-virtual {v6}, Lu/e;->r()I

    move-result v11

    add-int/2addr v11, v4

    invoke-virtual {v6, v4, v11}, Lu/e;->G(II)V

    goto :goto_1e9

    :cond_1d2
    iget-object v14, v6, Lu/e;->K:Lu/d;

    if-ne v4, v14, :cond_1ee

    iget-object v4, v13, Lu/d;->f:Lu/d;

    if-nez v4, :cond_1ee

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

    move-result v4

    sub-int v4, v8, v4

    invoke-virtual {v6}, Lu/e;->r()I

    move-result v11

    sub-int v11, v4, v11

    invoke-virtual {v6, v11, v4}, Lu/e;->G(II)V

    :goto_1e9
    invoke-static {v9, v6, v1, v2}, Lv/i;->b(ILu/e;Lv/b$b;Z)V

    goto/16 :goto_12e

    :cond_1ee
    if-eqz v11, :cond_12e

    invoke-virtual {v6}, Lu/e;->x()Z

    move-result v4

    if-nez v4, :cond_12e

    invoke-static {v9, v1, v6, v2}, Lv/i;->c(ILv/b$b;Lu/e;Z)V

    goto/16 :goto_12e

    :cond_1fb
    const/4 v1, 0x1

    .line 31
    iput-boolean v1, v0, Lu/e;->l:Z

    return-void
.end method

.method public static c(ILv/b$b;Lu/e;Z)V
    .registers 10

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

    .line 2
    iget-object v1, p2, Lu/e;->I:Lu/d;

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

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

    move-result v1

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

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

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

    move-result v2

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

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

    move-result v3

    add-int/2addr v3, v1

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

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

    move-result v4

    sub-int v4, v2, v4

    const/high16 v5, 0x3f000000    # 0.5f

    if-ne v1, v2, :cond_27

    move v0, v5

    goto :goto_29

    :cond_27
    move v1, v3

    move v2, v4

    :goto_29
    invoke-virtual {p2}, Lu/e;->r()I

    move-result v3

    sub-int v4, v2, v1

    sub-int/2addr v4, v3

    if-le v1, v2, :cond_35

    sub-int v4, v1, v2

    sub-int/2addr v4, v3

    :cond_35
    if-lez v4, :cond_3b

    int-to-float v4, v4

    mul-float/2addr v0, v4

    add-float/2addr v0, v5

    goto :goto_3d

    :cond_3b
    int-to-float v4, v4

    mul-float/2addr v0, v4

    :goto_3d
    float-to-int v0, v0

    add-int/2addr v0, v1

    add-int v4, v0, v3

    if-le v1, v2, :cond_45

    sub-int v4, v0, v3

    :cond_45
    invoke-virtual {p2, v0, v4}, Lu/e;->G(II)V

    add-int/lit8 p0, p0, 0x1

    invoke-static {p0, p2, p1, p3}, Lv/i;->b(ILu/e;Lv/b$b;Z)V

    return-void
.end method

.method public static d(ILu/e;Lv/b$b;Lu/e;Z)V
    .registers 12

    .line 1
    iget v0, p3, Lu/e;->e0:F

    .line 2
    iget-object v1, p3, Lu/e;->I:Lu/d;

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

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

    move-result v1

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

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

    move-result v2

    add-int/2addr v2, v1

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

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

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

    move-result v1

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

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

    move-result v3

    sub-int/2addr v1, v3

    if-lt v1, v2, :cond_67

    invoke-virtual {p3}, Lu/e;->r()I

    move-result v3

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

    const/16 v5, 0x8

    const/high16 v6, 0x3f000000    # 0.5f

    if-eq v4, v5, :cond_57

    .line 4
    iget v4, p3, Lu/e;->q:I

    const/4 v5, 0x2

    if-ne v4, v5, :cond_45

    instance-of v3, p1, Lu/f;

    if-eqz v3, :cond_38

    goto :goto_3a

    .line 5
    :cond_38
    iget-object p1, p1, Lu/e;->U:Lu/e;

    .line 6
    :goto_3a
    invoke-virtual {p1}, Lu/e;->r()I

    move-result p1

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

    mul-float/2addr v3, v6

    int-to-float p1, p1

    mul-float/2addr v3, p1

    float-to-int v3, v3

    goto :goto_49

    :cond_45
    if-nez v4, :cond_49

    sub-int v3, v1, v2

    .line 8
    :cond_49
    :goto_49
    iget p1, p3, Lu/e;->t:I

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

    move-result v3

    iget p1, p3, Lu/e;->u:I

    if-lez p1, :cond_57

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

    move-result v3

    :cond_57
    sub-int/2addr v1, v2

    sub-int/2addr v1, v3

    int-to-float p1, v1

    mul-float/2addr v0, p1

    add-float/2addr v0, v6

    float-to-int p1, v0

    add-int/2addr v2, p1

    add-int/2addr v3, v2

    invoke-virtual {p3, v2, v3}, Lu/e;->G(II)V

    add-int/lit8 p0, p0, 0x1

    invoke-static {p0, p3, p2, p4}, Lv/i;->b(ILu/e;Lv/b$b;Z)V

    :cond_67
    return-void
.end method

.method public static e(ILv/b$b;Lu/e;)V
    .registers 9

    .line 1
    iget v0, p2, Lu/e;->f0:F

    .line 2
    iget-object v1, p2, Lu/e;->J:Lu/d;

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

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

    move-result v1

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

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

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

    move-result v2

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

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

    move-result v3

    add-int/2addr v3, v1

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

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

    move-result v4

    sub-int v4, v2, v4

    const/high16 v5, 0x3f000000    # 0.5f

    if-ne v1, v2, :cond_27

    move v0, v5

    goto :goto_29

    :cond_27
    move v1, v3

    move v2, v4

    :goto_29
    invoke-virtual {p2}, Lu/e;->l()I

    move-result v3

    sub-int v4, v2, v1

    sub-int/2addr v4, v3

    if-le v1, v2, :cond_35

    sub-int v4, v1, v2

    sub-int/2addr v4, v3

    :cond_35
    if-lez v4, :cond_3b

    int-to-float v4, v4

    mul-float/2addr v0, v4

    add-float/2addr v0, v5

    goto :goto_3d

    :cond_3b
    int-to-float v4, v4

    mul-float/2addr v0, v4

    :goto_3d
    float-to-int v0, v0

    add-int v4, v1, v0

    add-int v5, v4, v3

    if-le v1, v2, :cond_48

    sub-int v4, v1, v0

    sub-int v5, v4, v3

    :cond_48
    invoke-virtual {p2, v4, v5}, Lu/e;->H(II)V

    add-int/lit8 p0, p0, 0x1

    invoke-static {p0, p2, p1}, Lv/i;->g(ILu/e;Lv/b$b;)V

    return-void
.end method

.method public static f(ILu/e;Lv/b$b;Lu/e;)V
    .registers 11

    .line 1
    iget v0, p3, Lu/e;->f0:F

    .line 2
    iget-object v1, p3, Lu/e;->J:Lu/d;

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

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

    move-result v1

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

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

    move-result v2

    add-int/2addr v2, v1

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

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

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

    move-result v1

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

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

    move-result v3

    sub-int/2addr v1, v3

    if-lt v1, v2, :cond_66

    invoke-virtual {p3}, Lu/e;->l()I

    move-result v3

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

    const/16 v5, 0x8

    const/high16 v6, 0x3f000000    # 0.5f

    if-eq v4, v5, :cond_56

    .line 4
    iget v4, p3, Lu/e;->r:I

    const/4 v5, 0x2

    if-ne v4, v5, :cond_44

    instance-of v3, p1, Lu/f;

    if-eqz v3, :cond_38

    goto :goto_3a

    .line 5
    :cond_38
    iget-object p1, p1, Lu/e;->U:Lu/e;

    .line 6
    :goto_3a
    invoke-virtual {p1}, Lu/e;->l()I

    move-result p1

    mul-float v3, v0, v6

    int-to-float p1, p1

    mul-float/2addr v3, p1

    float-to-int v3, v3

    goto :goto_48

    :cond_44
    if-nez v4, :cond_48

    sub-int v3, v1, v2

    :cond_48
    :goto_48
    iget p1, p3, Lu/e;->w:I

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

    move-result v3

    iget p1, p3, Lu/e;->x:I

    if-lez p1, :cond_56

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

    move-result v3

    :cond_56
    sub-int/2addr v1, v2

    sub-int/2addr v1, v3

    int-to-float p1, v1

    mul-float/2addr v0, p1

    add-float/2addr v0, v6

    float-to-int p1, v0

    add-int/2addr v2, p1

    add-int/2addr v3, v2

    invoke-virtual {p3, v2, v3}, Lu/e;->H(II)V

    add-int/lit8 p0, p0, 0x1

    invoke-static {p0, p3, p2}, Lv/i;->g(ILu/e;Lv/b$b;)V

    :cond_66
    return-void
.end method

.method public static g(ILu/e;Lv/b$b;)V
    .registers 19

    move-object/from16 v0, p1

    move-object/from16 v1, p2

    .line 1
    iget-boolean v2, v0, Lu/e;->m:Z

    if-eqz v2, :cond_9

    return-void

    .line 2
    :cond_9
    sget v2, Lv/i;->c:I

    const/4 v3, 0x1

    add-int/2addr v2, v3

    sput v2, Lv/i;->c:I

    instance-of v2, v0, Lu/f;

    const/4 v4, 0x0

    if-nez v2, :cond_28

    invoke-virtual/range {p1 .. p1}, Lu/e;->z()Z

    move-result v2

    if-eqz v2, :cond_28

    invoke-static/range {p1 .. p1}, Lv/i;->a(Lu/e;)Z

    move-result v2

    if-eqz v2, :cond_28

    new-instance v2, Lv/b$a;

    invoke-direct {v2}, Lv/b$a;-><init>()V

    invoke-static {v0, v1, v2, v4}, Lu/f;->Z(Lu/e;Lv/b$b;Lv/b$a;I)Z

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

    invoke-virtual {v0, v2}, Lu/e;->i(Lu/d$a;)Lu/d;

    move-result-object v2

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

    invoke-virtual {v0, v5}, Lu/e;->i(Lu/d$a;)Lu/d;

    move-result-object v5

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

    move-result v6

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

    move-result v7

    .line 3
    iget-object v8, v2, Lu/d;->a:Ljava/util/HashSet;

    const/4 v9, 0x0

    const/16 v10, 0x8

    const/4 v11, 0x3

    if-eqz v8, :cond_113

    .line 4
    iget-boolean v2, v2, Lu/d;->c:Z

    if-eqz v2, :cond_113

    .line 5
    invoke-virtual {v8}, Ljava/util/HashSet;->iterator()Ljava/util/Iterator;

    move-result-object v2

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

    move-result v8

    if-eqz v8, :cond_113

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

    move-result-object v8

    check-cast v8, Lu/d;

    iget-object v12, v8, Lu/d;->d:Lu/e;

    add-int/lit8 v13, p0, 0x1

    invoke-static {v12}, Lv/i;->a(Lu/e;)Z

    move-result v14

    invoke-virtual {v12}, Lu/e;->z()Z

    move-result v15

    if-eqz v15, :cond_70

    if-eqz v14, :cond_70

    new-instance v15, Lv/b$a;

    invoke-direct {v15}, Lv/b$a;-><init>()V

    invoke-static {v12, v1, v15, v4}, Lu/f;->Z(Lu/e;Lv/b$b;Lv/b$a;I)Z

    :cond_70
    invoke-virtual {v12}, Lu/e;->q()I

    move-result v15

    if-ne v15, v11, :cond_c8

    if-eqz v14, :cond_79

    goto :goto_c8

    :cond_79
    invoke-virtual {v12}, Lu/e;->q()I

    move-result v14

    if-ne v14, v11, :cond_110

    iget v14, v12, Lu/e;->x:I

    if-ltz v14, :cond_110

    iget v14, v12, Lu/e;->w:I

    if-ltz v14, :cond_110

    .line 6
    iget v14, v12, Lu/e;->h0:I

    if-eq v14, v10, :cond_95

    .line 7
    iget v14, v12, Lu/e;->r:I

    if-nez v14, :cond_110

    .line 8
    iget v14, v12, Lu/e;->X:F

    cmpl-float v14, v14, v9

    if-nez v14, :cond_110

    .line 9
    :cond_95
    invoke-virtual {v12}, Lu/e;->y()Z

    move-result v14

    if-nez v14, :cond_110

    .line 10
    iget-boolean v14, v12, Lu/e;->F:Z

    if-nez v14, :cond_110

    .line 11
    iget-object v14, v12, Lu/e;->J:Lu/d;

    if-ne v8, v14, :cond_ad

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

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

    if-eqz v15, :cond_ad

    .line 12
    iget-boolean v15, v15, Lu/d;->c:Z

    if-nez v15, :cond_b9

    .line 13
    :cond_ad
    iget-object v15, v12, Lu/e;->L:Lu/d;

    if-ne v8, v15, :cond_bb

    iget-object v8, v14, Lu/d;->f:Lu/d;

    if-eqz v8, :cond_bb

    .line 14
    iget-boolean v8, v8, Lu/d;->c:Z

    if-eqz v8, :cond_bb

    :cond_b9
    move v8, v3

    goto :goto_bc

    :cond_bb
    move v8, v4

    :goto_bc
    if-eqz v8, :cond_110

    .line 15
    invoke-virtual {v12}, Lu/e;->y()Z

    move-result v8

    if-nez v8, :cond_110

    invoke-static {v13, v0, v1, v12}, Lv/i;->f(ILu/e;Lv/b$b;Lu/e;)V

    goto :goto_110

    :cond_c8
    :goto_c8
    invoke-virtual {v12}, Lu/e;->z()Z

    move-result v14

    if-eqz v14, :cond_d0

    goto/16 :goto_4c

    :cond_d0
    iget-object v14, v12, Lu/e;->J:Lu/d;

    if-ne v8, v14, :cond_e8

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

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

    if-nez v15, :cond_e8

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

    move-result v8

    add-int/2addr v8, v6

    invoke-virtual {v12}, Lu/e;->l()I

    move-result v14

    add-int/2addr v14, v8

    invoke-virtual {v12, v8, v14}, Lu/e;->H(II)V

    goto :goto_ff

    :cond_e8
    iget-object v15, v12, Lu/e;->L:Lu/d;

    if-ne v8, v15, :cond_103

    iget-object v3, v15, Lu/d;->f:Lu/d;

    if-nez v3, :cond_103

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

    move-result v3

    sub-int v3, v6, v3

    invoke-virtual {v12}, Lu/e;->l()I

    move-result v8

    sub-int v8, v3, v8

    invoke-virtual {v12, v8, v3}, Lu/e;->H(II)V

    :goto_ff
    invoke-static {v13, v12, v1}, Lv/i;->g(ILu/e;Lv/b$b;)V

    goto :goto_110

    :cond_103
    if-ne v8, v14, :cond_110

    iget-object v3, v15, Lu/d;->f:Lu/d;

    if-eqz v3, :cond_110

    .line 16
    iget-boolean v3, v3, Lu/d;->c:Z

    if-eqz v3, :cond_110

    .line 17
    invoke-static {v13, v1, v12}, Lv/i;->e(ILv/b$b;Lu/e;)V

    :cond_110
    :goto_110
    const/4 v3, 0x1

    goto/16 :goto_4c

    :cond_113
    instance-of v2, v0, Lu/g;

    if-eqz v2, :cond_118

    return-void

    .line 18
    :cond_118
    iget-object v2, v5, Lu/d;->a:Ljava/util/HashSet;

    if-eqz v2, :cond_1e9

    .line 19
    iget-boolean v3, v5, Lu/d;->c:Z

    if-eqz v3, :cond_1e9

    .line 20
    invoke-virtual {v2}, Ljava/util/HashSet;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_124
    :goto_124
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_1e9

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

    move-result-object v3

    check-cast v3, Lu/d;

    iget-object v5, v3, Lu/d;->d:Lu/e;

    add-int/lit8 v6, p0, 0x1

    invoke-static {v5}, Lv/i;->a(Lu/e;)Z

    move-result v8

    invoke-virtual {v5}, Lu/e;->z()Z

    move-result v12

    if-eqz v12, :cond_148

    if-eqz v8, :cond_148

    new-instance v12, Lv/b$a;

    invoke-direct {v12}, Lv/b$a;-><init>()V

    invoke-static {v5, v1, v12, v4}, Lu/f;->Z(Lu/e;Lv/b$b;Lv/b$a;I)Z

    :cond_148
    iget-object v12, v5, Lu/e;->J:Lu/d;

    if-ne v3, v12, :cond_156

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

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

    if-eqz v13, :cond_156

    .line 21
    iget-boolean v13, v13, Lu/d;->c:Z

    if-nez v13, :cond_162

    .line 22
    :cond_156
    iget-object v13, v5, Lu/e;->L:Lu/d;

    if-ne v3, v13, :cond_164

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

    if-eqz v12, :cond_164

    .line 23
    iget-boolean v12, v12, Lu/d;->c:Z

    if-eqz v12, :cond_164

    :cond_162
    const/4 v12, 0x1

    goto :goto_165

    :cond_164
    move v12, v4

    .line 24
    :goto_165
    invoke-virtual {v5}, Lu/e;->q()I

    move-result v13

    if-ne v13, v11, :cond_1a0

    if-eqz v8, :cond_16e

    goto :goto_1a0

    :cond_16e
    invoke-virtual {v5}, Lu/e;->q()I

    move-result v3

    if-ne v3, v11, :cond_124

    iget v3, v5, Lu/e;->x:I

    if-ltz v3, :cond_124

    iget v3, v5, Lu/e;->w:I

    if-ltz v3, :cond_124

    .line 25
    iget v3, v5, Lu/e;->h0:I

    if-eq v3, v10, :cond_18a

    .line 26
    iget v3, v5, Lu/e;->r:I

    if-nez v3, :cond_124

    .line 27
    iget v3, v5, Lu/e;->X:F

    cmpl-float v3, v3, v9

    if-nez v3, :cond_124

    .line 28
    :cond_18a
    invoke-virtual {v5}, Lu/e;->y()Z

    move-result v3

    if-nez v3, :cond_124

    .line 29
    iget-boolean v3, v5, Lu/e;->F:Z

    if-nez v3, :cond_124

    if-eqz v12, :cond_124

    .line 30
    invoke-virtual {v5}, Lu/e;->y()Z

    move-result v3

    if-nez v3, :cond_124

    invoke-static {v6, v0, v1, v5}, Lv/i;->f(ILu/e;Lv/b$b;Lu/e;)V

    goto :goto_124

    :cond_1a0
    :goto_1a0
    invoke-virtual {v5}, Lu/e;->z()Z

    move-result v8

    if-eqz v8, :cond_1a8

    goto/16 :goto_124

    :cond_1a8
    iget-object v8, v5, Lu/e;->J:Lu/d;

    if-ne v3, v8, :cond_1c0

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

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

    if-nez v13, :cond_1c0

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

    move-result v3

    add-int/2addr v3, v7

    invoke-virtual {v5}, Lu/e;->l()I

    move-result v8

    add-int/2addr v8, v3

    invoke-virtual {v5, v3, v8}, Lu/e;->H(II)V

    goto :goto_1d7

    :cond_1c0
    iget-object v13, v5, Lu/e;->L:Lu/d;

    if-ne v3, v13, :cond_1dc

    iget-object v3, v8, Lu/d;->f:Lu/d;

    if-nez v3, :cond_1dc

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

    move-result v3

    sub-int v3, v7, v3

    invoke-virtual {v5}, Lu/e;->l()I

    move-result v8

    sub-int v8, v3, v8

    invoke-virtual {v5, v8, v3}, Lu/e;->H(II)V

    :goto_1d7
    invoke-static {v6, v5, v1}, Lv/i;->g(ILu/e;Lv/b$b;)V

    goto/16 :goto_124

    :cond_1dc
    if-eqz v12, :cond_124

    invoke-virtual {v5}, Lu/e;->y()Z

    move-result v3

    if-nez v3, :cond_124

    invoke-static {v6, v1, v5}, Lv/i;->e(ILv/b$b;Lu/e;)V

    goto/16 :goto_124

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

    invoke-virtual {v0, v2}, Lu/e;->i(Lu/d$a;)Lu/d;

    move-result-object v2

    .line 31
    iget-object v3, v2, Lu/d;->a:Ljava/util/HashSet;

    if-eqz v3, :cond_264

    .line 32
    iget-boolean v3, v2, Lu/d;->c:Z

    if-eqz v3, :cond_264

    .line 33
    invoke-virtual {v2}, Lu/d;->c()I

    move-result v3

    .line 34
    iget-object v2, v2, Lu/d;->a:Ljava/util/HashSet;

    .line 35
    invoke-virtual {v2}, Ljava/util/HashSet;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_201
    :goto_201
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-eqz v5, :cond_264

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

    move-result-object v5

    check-cast v5, Lu/d;

    iget-object v6, v5, Lu/d;->d:Lu/e;

    const/4 v7, 0x1

    add-int/lit8 v8, p0, 0x1

    invoke-static {v6}, Lv/i;->a(Lu/e;)Z

    move-result v7

    invoke-virtual {v6}, Lu/e;->z()Z

    move-result v9

    if-eqz v9, :cond_226

    if-eqz v7, :cond_226

    new-instance v9, Lv/b$a;

    invoke-direct {v9}, Lv/b$a;-><init>()V

    invoke-static {v6, v1, v9, v4}, Lu/f;->Z(Lu/e;Lv/b$b;Lv/b$a;I)Z

    :cond_226
    invoke-virtual {v6}, Lu/e;->q()I

    move-result v9

    if-ne v9, v11, :cond_22e

    if-eqz v7, :cond_201

    :cond_22e
    invoke-virtual {v6}, Lu/e;->z()Z

    move-result v7

    if-eqz v7, :cond_235

    goto :goto_201

    :cond_235
    iget-object v7, v6, Lu/e;->M:Lu/d;

    if-ne v5, v7, :cond_201

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

    move-result v5

    add-int/2addr v5, v3

    .line 36
    iget-boolean v7, v6, Lu/e;->D:Z

    if-nez v7, :cond_244

    const/4 v5, 0x1

    goto :goto_260

    :cond_244
    iget v7, v6, Lu/e;->b0:I

    sub-int v7, v5, v7

    iget v9, v6, Lu/e;->W:I

    add-int/2addr v9, v7

    iput v7, v6, Lu/e;->a0:I

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

    invoke-virtual {v10, v7}, Lu/d;->j(I)V

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

    invoke-virtual {v7, v9}, Lu/d;->j(I)V

    iget-object v7, v6, Lu/e;->M:Lu/d;

    .line 37
    iput v5, v7, Lu/d;->b:I

    const/4 v5, 0x1

    iput-boolean v5, v7, Lu/d;->c:Z

    .line 38
    iput-boolean v5, v6, Lu/e;->k:Z

    .line 39
    :goto_260
    invoke-static {v8, v6, v1}, Lv/i;->g(ILu/e;Lv/b$b;)V

    goto :goto_201

    :cond_264
    const/4 v5, 0x1

    .line 40
    iput-boolean v5, v0, Lu/e;->m:Z

    return-void
.end method
