b.smali

.class public Lf/b/b/b/r1/b;
.super Lf/b/b/b/r1/c;
.source ""


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lf/b/b/b/r1/b$c;,
        Lf/b/b/b/r1/b$b;,
        Lf/b/b/b/r1/b$d;
    }
.end annotation


# instance fields
.field private final g:Lf/b/b/b/r1/b$b;

.field private final h:J

.field private final i:J

.field private final j:J

.field private final k:F

.field private final l:J

.field private final m:Lf/b/b/b/s1/g;

.field private n:F

.field private o:I

.field private p:I

.field private q:J


# direct methods
.method private constructor <init>(Lf/b/b/b/p1/o0;[ILf/b/b/b/r1/b$b;JJJFJLf/b/b/b/s1/g;)V
    .registers 14

    invoke-direct {p0, p1, p2}, Lf/b/b/b/r1/c;-><init>(Lf/b/b/b/p1/o0;[I)V

    iput-object p3, p0, Lf/b/b/b/r1/b;->g:Lf/b/b/b/r1/b$b;

    const-wide/16 p1, 0x3e8

    mul-long p4, p4, p1

    iput-wide p4, p0, Lf/b/b/b/r1/b;->h:J

    mul-long p6, p6, p1

    iput-wide p6, p0, Lf/b/b/b/r1/b;->i:J

    mul-long p8, p8, p1

    iput-wide p8, p0, Lf/b/b/b/r1/b;->j:J

    iput p10, p0, Lf/b/b/b/r1/b;->k:F

    iput-wide p11, p0, Lf/b/b/b/r1/b;->l:J

    iput-object p13, p0, Lf/b/b/b/r1/b;->m:Lf/b/b/b/s1/g;

    const/high16 p1, 0x3f800000    # 1.0f

    iput p1, p0, Lf/b/b/b/r1/b;->n:F

    const/4 p1, 0x0

    iput p1, p0, Lf/b/b/b/r1/b;->p:I

    const-wide p1, -0x7fffffffffffffffL    # -4.9E-324

    iput-wide p1, p0, Lf/b/b/b/r1/b;->q:J

    return-void
.end method

.method synthetic constructor <init>(Lf/b/b/b/p1/o0;[ILf/b/b/b/r1/b$b;JJJFJLf/b/b/b/s1/g;Lf/b/b/b/r1/b$a;)V
    .registers 15

    invoke-direct/range {p0 .. p13}, Lf/b/b/b/r1/b;-><init>(Lf/b/b/b/p1/o0;[ILf/b/b/b/r1/b$b;JJJFJLf/b/b/b/s1/g;)V

    return-void
.end method

.method private A(J)J
    .registers 6

    const-wide v0, -0x7fffffffffffffffL    # -4.9E-324

    cmp-long v2, p1, v0

    if-eqz v2, :cond_11

    iget-wide v0, p0, Lf/b/b/b/r1/b;->h:J

    cmp-long v2, p1, v0

    if-gtz v2, :cond_11

    const/4 v0, 0x1

    goto :goto_12

    :cond_11
    const/4 v0, 0x0

    :goto_12
    if-eqz v0, :cond_1b

    long-to-float p1, p1

    iget p2, p0, Lf/b/b/b/r1/b;->k:F

    mul-float p1, p1, p2

    float-to-long p1, p1

    goto :goto_1d

    :cond_1b
    iget-wide p1, p0, Lf/b/b/b/r1/b;->h:J

    :goto_1d
    return-wide p1
.end method

.method private static B([[[JI[[J[I)V
    .registers 12

    const/4 v0, 0x0

    const-wide/16 v1, 0x0

    const/4 v3, 0x0

    :goto_4
    array-length v4, p0

    if-ge v3, v4, :cond_1e

    aget-object v4, p0, v3

    aget-object v4, v4, p1

    aget-object v5, p2, v3

    aget v6, p3, v3

    aget-wide v6, v5, v6

    const/4 v5, 0x1

    aput-wide v6, v4, v5

    aget-object v4, p0, v3

    aget-object v4, v4, p1

    aget-wide v5, v4, v5

    add-long/2addr v1, v5

    add-int/lit8 v3, v3, 0x1

    goto :goto_4

    :cond_1e
    array-length p2, p0

    const/4 p3, 0x0

    :goto_20
    if-ge p3, p2, :cond_2b

    aget-object v3, p0, p3

    aget-object v3, v3, p1

    aput-wide v1, v3, v0

    add-int/lit8 p3, p3, 0x1

    goto :goto_20

    :cond_2b
    return-void
.end method

.method static synthetic r([[J)[[[J
    .registers 1

    invoke-static {p0}, Lf/b/b/b/r1/b;->w([[J)[[[J

    move-result-object p0

    return-object p0
.end method

.method private static t([[D)I
    .registers 5

    array-length v0, p0

    const/4 v1, 0x0

    const/4 v2, 0x0

    :goto_3
    if-ge v1, v0, :cond_c

    aget-object v3, p0, v1

    array-length v3, v3

    add-int/2addr v2, v3

    add-int/lit8 v1, v1, 0x1

    goto :goto_3

    :cond_c
    return v2
.end method

.method private u(J)I
    .registers 12

    iget-object v0, p0, Lf/b/b/b/r1/b;->g:Lf/b/b/b/r1/b$b;

    invoke-interface {v0}, Lf/b/b/b/r1/b$b;->a()J

    move-result-wide v7

    const/4 v0, 0x0

    const/4 v1, 0x0

    :goto_8
    iget v2, p0, Lf/b/b/b/r1/c;->b:I

    if-ge v0, v2, :cond_2d

    const-wide/high16 v2, -0x8000000000000000L

    cmp-long v4, p1, v2

    if-eqz v4, :cond_18

    invoke-virtual {p0, v0, p1, p2}, Lf/b/b/b/r1/c;->q(IJ)Z

    move-result v2

    if-nez v2, :cond_2a

    :cond_18
    invoke-virtual {p0, v0}, Lf/b/b/b/r1/c;->d(I)Lf/b/b/b/f0;

    move-result-object v2

    iget v3, v2, Lf/b/b/b/f0;->i:I

    iget v4, p0, Lf/b/b/b/r1/b;->n:F

    move-object v1, p0

    move-wide v5, v7

    invoke-virtual/range {v1 .. v6}, Lf/b/b/b/r1/b;->s(Lf/b/b/b/f0;IFJ)Z

    move-result v1

    if-eqz v1, :cond_29

    return v0

    :cond_29
    move v1, v0

    :cond_2a
    add-int/lit8 v0, v0, 0x1

    goto :goto_8

    :cond_2d
    return v1
.end method

.method private static w([[J)[[[J
    .registers 18

    move-object/from16 v0, p0

    invoke-static/range {p0 .. p0}, Lf/b/b/b/r1/b;->x([[J)[[D

    move-result-object v1

    invoke-static {v1}, Lf/b/b/b/r1/b;->z([[D)[[D

    move-result-object v2

    invoke-static {v2}, Lf/b/b/b/r1/b;->t([[D)I

    move-result v3

    const/4 v4, 0x3

    add-int/2addr v3, v4

    array-length v5, v1

    new-array v4, v4, [I

    const/4 v6, 0x2

    aput v6, v4, v6

    const/4 v7, 0x1

    aput v3, v4, v7

    const/4 v8, 0x0

    aput v5, v4, v8

    const-class v5, J

    invoke-static {v5, v4}, Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;[I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, [[[J

    array-length v5, v1

    new-array v5, v5, [I

    invoke-static {v4, v7, v0, v5}, Lf/b/b/b/r1/b;->B([[[JI[[J[I)V

    const/4 v9, 0x2

    :goto_2b
    add-int/lit8 v10, v3, -0x1

    if-ge v9, v10, :cond_5c

    const-wide v10, 0x7fefffffffffffffL    # Double.MAX_VALUE

    const/4 v12, 0x0

    const/4 v13, 0x0

    :goto_36
    array-length v14, v1

    if-ge v12, v14, :cond_51

    aget v14, v5, v12

    add-int/2addr v14, v7

    aget-object v15, v1, v12

    array-length v15, v15

    if-ne v14, v15, :cond_42

    goto :goto_4e

    :cond_42
    aget-object v14, v2, v12

    aget v15, v5, v12

    aget-wide v15, v14, v15

    cmpg-double v14, v15, v10

    if-gez v14, :cond_4e

    move v13, v12

    move-wide v10, v15

    :cond_4e
    :goto_4e
    add-int/lit8 v12, v12, 0x1

    goto :goto_36

    :cond_51
    aget v10, v5, v13

    add-int/2addr v10, v7

    aput v10, v5, v13

    invoke-static {v4, v9, v0, v5}, Lf/b/b/b/r1/b;->B([[[JI[[J[I)V

    add-int/lit8 v9, v9, 0x1

    goto :goto_2b

    :cond_5c
    array-length v0, v4

    const/4 v1, 0x0

    :goto_5e
    if-ge v1, v0, :cond_7d

    aget-object v2, v4, v1

    aget-object v5, v2, v10

    add-int/lit8 v9, v3, -0x2

    aget-object v11, v2, v9

    aget-wide v12, v11, v8

    const-wide/16 v14, 0x2

    mul-long v12, v12, v14

    aput-wide v12, v5, v8

    aget-object v5, v2, v10

    aget-object v2, v2, v9

    aget-wide v11, v2, v7

    mul-long v11, v11, v14

    aput-wide v11, v5, v7

    add-int/lit8 v1, v1, 0x1

    goto :goto_5e

    :cond_7d
    return-object v4
.end method

.method private static x([[J)[[D
    .registers 11

    array-length v0, p0

    new-array v0, v0, [[D

    const/4 v1, 0x0

    const/4 v2, 0x0

    :goto_5
    array-length v3, p0

    if-ge v2, v3, :cond_35

    aget-object v3, p0, v2

    array-length v3, v3

    new-array v3, v3, [D

    aput-object v3, v0, v2

    const/4 v3, 0x0

    :goto_10
    aget-object v4, p0, v2

    array-length v4, v4

    if-ge v3, v4, :cond_32

    aget-object v4, v0, v2

    aget-object v5, p0, v2

    aget-wide v6, v5, v3

    const-wide/16 v8, -0x1

    cmp-long v5, v6, v8

    if-nez v5, :cond_24

    const-wide/16 v5, 0x0

    goto :goto_2d

    :cond_24
    aget-object v5, p0, v2

    aget-wide v6, v5, v3

    long-to-double v5, v6

    invoke-static {v5, v6}, Ljava/lang/Math;->log(D)D

    move-result-wide v5

    :goto_2d
    aput-wide v5, v4, v3

    add-int/lit8 v3, v3, 0x1

    goto :goto_10

    :cond_32
    add-int/lit8 v2, v2, 0x1

    goto :goto_5

    :cond_35
    return-object v0
.end method

.method private static z([[D)[[D
    .registers 15

    array-length v0, p0

    new-array v0, v0, [[D

    const/4 v1, 0x0

    const/4 v2, 0x0

    :goto_5
    array-length v3, p0

    if-ge v2, v3, :cond_55

    aget-object v3, p0, v2

    array-length v3, v3

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

    new-array v3, v3, [D

    aput-object v3, v0, v2

    aget-object v3, v0, v2

    array-length v3, v3

    if-nez v3, :cond_17

    goto :goto_52

    :cond_17
    aget-object v3, p0, v2

    aget-object v4, p0, v2

    array-length v4, v4

    add-int/lit8 v4, v4, -0x1

    aget-wide v4, v3, v4

    aget-object v3, p0, v2

    aget-wide v6, v3, v1

    sub-double/2addr v4, v6

    const/4 v3, 0x0

    :goto_26
    aget-object v6, p0, v2

    array-length v6, v6

    add-int/lit8 v6, v6, -0x1

    if-ge v3, v6, :cond_52

    const-wide/high16 v6, 0x3fe0000000000000L    # 0.5

    aget-object v8, p0, v2

    aget-wide v9, v8, v3

    aget-object v8, p0, v2

    add-int/lit8 v11, v3, 0x1

    aget-wide v12, v8, v11

    add-double/2addr v9, v12

    mul-double v9, v9, v6

    aget-object v6, v0, v2

    const-wide/16 v7, 0x0

    cmpl-double v12, v4, v7

    if-nez v12, :cond_47

    const-wide/high16 v7, 0x3ff0000000000000L    # 1.0

    goto :goto_4e

    :cond_47
    aget-object v7, p0, v2

    aget-wide v12, v7, v1

    sub-double/2addr v9, v12

    div-double v7, v9, v4

    :goto_4e
    aput-wide v7, v6, v3

    move v3, v11

    goto :goto_26

    :cond_52
    :goto_52
    add-int/lit8 v2, v2, 0x1

    goto :goto_5

    :cond_55
    return-object v0
.end method


# virtual methods
.method protected C(J)Z
    .registers 8

    iget-wide v0, p0, Lf/b/b/b/r1/b;->q:J

    const-wide v2, -0x7fffffffffffffffL    # -4.9E-324

    cmp-long v4, v0, v2

    if-eqz v4, :cond_15

    sub-long/2addr p1, v0

    iget-wide v0, p0, Lf/b/b/b/r1/b;->l:J

    cmp-long v2, p1, v0

    if-ltz v2, :cond_13

    goto :goto_15

    :cond_13
    const/4 p1, 0x0

    goto :goto_16

    :cond_15
    :goto_15
    const/4 p1, 0x1

    :goto_16
    return p1
.end method

.method public b()I
    .registers 2

    iget v0, p0, Lf/b/b/b/r1/b;->o:I

    return v0
.end method

.method public e()V
    .registers 3

    const-wide v0, -0x7fffffffffffffffL    # -4.9E-324

    iput-wide v0, p0, Lf/b/b/b/r1/b;->q:J

    return-void
.end method

.method public g(JLjava/util/List;)I
    .registers 14
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(J",
            "Ljava/util/List<",
            "+",
            "Lf/b/b/b/p1/s0/l;",
            ">;)I"
        }
    .end annotation

    iget-object v0, p0, Lf/b/b/b/r1/b;->m:Lf/b/b/b/s1/g;

    invoke-interface {v0}, Lf/b/b/b/s1/g;->elapsedRealtime()J

    move-result-wide v0

    invoke-virtual {p0, v0, v1}, Lf/b/b/b/r1/b;->C(J)Z

    move-result v2

    if-nez v2, :cond_11

    invoke-interface {p3}, Ljava/util/List;->size()I

    move-result p1

    return p1

    :cond_11
    iput-wide v0, p0, Lf/b/b/b/r1/b;->q:J

    invoke-interface {p3}, Ljava/util/List;->isEmpty()Z

    move-result v2

    const/4 v3, 0x0

    if-eqz v2, :cond_1b

    return v3

    :cond_1b
    invoke-interface {p3}, Ljava/util/List;->size()I

    move-result v2

    add-int/lit8 v4, v2, -0x1

    invoke-interface {p3, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lf/b/b/b/p1/s0/l;

    iget-wide v4, v4, Lf/b/b/b/p1/s0/d;->f:J

    sub-long/2addr v4, p1

    iget v6, p0, Lf/b/b/b/r1/b;->n:F

    invoke-static {v4, v5, v6}, Lf/b/b/b/s1/m0;->U(JF)J

    move-result-wide v4

    invoke-virtual {p0}, Lf/b/b/b/r1/b;->y()J

    move-result-wide v6

    cmp-long v8, v4, v6

    if-gez v8, :cond_39

    return v2

    :cond_39
    invoke-direct {p0, v0, v1}, Lf/b/b/b/r1/b;->u(J)I

    move-result v0

    invoke-virtual {p0, v0}, Lf/b/b/b/r1/c;->d(I)Lf/b/b/b/f0;

    move-result-object v0

    :goto_41
    if-ge v3, v2, :cond_77

    invoke-interface {p3, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lf/b/b/b/p1/s0/l;

    iget-object v4, v1, Lf/b/b/b/p1/s0/d;->c:Lf/b/b/b/f0;

    iget-wide v8, v1, Lf/b/b/b/p1/s0/d;->f:J

    sub-long/2addr v8, p1

    iget v1, p0, Lf/b/b/b/r1/b;->n:F

    invoke-static {v8, v9, v1}, Lf/b/b/b/s1/m0;->U(JF)J

    move-result-wide v8

    cmp-long v1, v8, v6

    if-ltz v1, :cond_74

    iget v1, v4, Lf/b/b/b/f0;->i:I

    iget v5, v0, Lf/b/b/b/f0;->i:I

    if-ge v1, v5, :cond_74

    iget v1, v4, Lf/b/b/b/f0;->s:I

    const/4 v5, -0x1

    if-eq v1, v5, :cond_74

    const/16 v8, 0x2d0

    if-ge v1, v8, :cond_74

    iget v4, v4, Lf/b/b/b/f0;->r:I

    if-eq v4, v5, :cond_74

    const/16 v5, 0x500

    if-ge v4, v5, :cond_74

    iget v4, v0, Lf/b/b/b/f0;->s:I

    if-ge v1, v4, :cond_74

    return v3

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

    goto :goto_41

    :cond_77
    return v2
.end method

.method public i(JJJLjava/util/List;[Lf/b/b/b/p1/s0/m;)V
    .registers 10
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(JJJ",
            "Ljava/util/List<",
            "+",
            "Lf/b/b/b/p1/s0/l;",
            ">;[",
            "Lf/b/b/b/p1/s0/m;",
            ")V"
        }
    .end annotation

    iget-object p1, p0, Lf/b/b/b/r1/b;->m:Lf/b/b/b/s1/g;

    invoke-interface {p1}, Lf/b/b/b/s1/g;->elapsedRealtime()J

    move-result-wide p1

    iget p7, p0, Lf/b/b/b/r1/b;->p:I

    if-nez p7, :cond_14

    const/4 p3, 0x1

    iput p3, p0, Lf/b/b/b/r1/b;->p:I

    invoke-direct {p0, p1, p2}, Lf/b/b/b/r1/b;->u(J)I

    move-result p1

    iput p1, p0, Lf/b/b/b/r1/b;->o:I

    return-void

    :cond_14
    iget p7, p0, Lf/b/b/b/r1/b;->o:I

    invoke-direct {p0, p1, p2}, Lf/b/b/b/r1/b;->u(J)I

    move-result p8

    iput p8, p0, Lf/b/b/b/r1/b;->o:I

    if-ne p8, p7, :cond_1f

    return-void

    :cond_1f
    invoke-virtual {p0, p7, p1, p2}, Lf/b/b/b/r1/c;->q(IJ)Z

    move-result p1

    if-nez p1, :cond_4d

    invoke-virtual {p0, p7}, Lf/b/b/b/r1/c;->d(I)Lf/b/b/b/f0;

    move-result-object p1

    iget p2, p0, Lf/b/b/b/r1/b;->o:I

    invoke-virtual {p0, p2}, Lf/b/b/b/r1/c;->d(I)Lf/b/b/b/f0;

    move-result-object p2

    iget p8, p2, Lf/b/b/b/f0;->i:I

    iget v0, p1, Lf/b/b/b/f0;->i:I

    if-le p8, v0, :cond_40

    invoke-direct {p0, p5, p6}, Lf/b/b/b/r1/b;->A(J)J

    move-result-wide p5

    cmp-long p8, p3, p5

    if-gez p8, :cond_40

    :goto_3d
    iput p7, p0, Lf/b/b/b/r1/b;->o:I

    goto :goto_4d

    :cond_40
    iget p2, p2, Lf/b/b/b/f0;->i:I

    iget p1, p1, Lf/b/b/b/f0;->i:I

    if-ge p2, p1, :cond_4d

    iget-wide p1, p0, Lf/b/b/b/r1/b;->i:J

    cmp-long p5, p3, p1

    if-ltz p5, :cond_4d

    goto :goto_3d

    :cond_4d
    :goto_4d
    iget p1, p0, Lf/b/b/b/r1/b;->o:I

    if-eq p1, p7, :cond_54

    const/4 p1, 0x3

    iput p1, p0, Lf/b/b/b/r1/b;->p:I

    :cond_54
    return-void
.end method

.method public l()I
    .registers 2

    iget v0, p0, Lf/b/b/b/r1/b;->p:I

    return v0
.end method

.method public m(F)V
    .registers 2

    iput p1, p0, Lf/b/b/b/r1/b;->n:F

    return-void
.end method

.method public n()Ljava/lang/Object;
    .registers 2

    const/4 v0, 0x0

    return-object v0
.end method

.method protected s(Lf/b/b/b/f0;IFJ)Z
    .registers 6

    int-to-float p1, p2

    mul-float p1, p1, p3

    invoke-static {p1}, Ljava/lang/Math;->round(F)I

    move-result p1

    int-to-long p1, p1

    cmp-long p3, p1, p4

    if-gtz p3, :cond_e

    const/4 p1, 0x1

    goto :goto_f

    :cond_e
    const/4 p1, 0x0

    :goto_f
    return p1
.end method

.method public v([[J)V
    .registers 3

    iget-object v0, p0, Lf/b/b/b/r1/b;->g:Lf/b/b/b/r1/b$b;

    check-cast v0, Lf/b/b/b/r1/b$c;

    invoke-virtual {v0, p1}, Lf/b/b/b/r1/b$c;->b([[J)V

    return-void
.end method

.method protected y()J
    .registers 3

    iget-wide v0, p0, Lf/b/b/b/r1/b;->j:J

    return-wide v0
.end method