h.smali

.class public Lb/b/a/a/h;
.super Ljava/lang/Object;
.source "VelocityMatrix.java"


# instance fields
.field a:F

.field b:F

.field c:F

.field d:F

.field e:F

.field f:F


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

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

    return-void
.end method


# virtual methods
.method public a()V
    .registers 2

    const/4 v0, 0x0

    .line 1
    iput v0, p0, Lb/b/a/a/h;->e:F

    iput v0, p0, Lb/b/a/a/h;->d:F

    iput v0, p0, Lb/b/a/a/h;->c:F

    iput v0, p0, Lb/b/a/a/h;->b:F

    iput v0, p0, Lb/b/a/a/h;->a:F

    return-void
.end method

.method public a(FFII[F)V
    .registers 24

    move-object/from16 v0, p0

    move/from16 v1, p3

    const/4 v2, 0x0

    .line 9
    aget v3, p5, v2

    const/4 v4, 0x1

    .line 10
    aget v5, p5, v4

    const/high16 v6, 0x3f000000    # 0.5f

    sub-float v7, p1, v6

    const/high16 v8, 0x40000000    # 2.0f

    mul-float v7, v7, v8

    sub-float v6, p2, v6

    mul-float v6, v6, v8

    .line 11
    iget v8, v0, Lb/b/a/a/h;->c:F

    add-float/2addr v3, v8

    .line 12
    iget v8, v0, Lb/b/a/a/h;->d:F

    add-float/2addr v5, v8

    .line 13
    iget v8, v0, Lb/b/a/a/h;->a:F

    mul-float v8, v8, v7

    add-float/2addr v3, v8

    .line 14
    iget v8, v0, Lb/b/a/a/h;->b:F

    mul-float v8, v8, v6

    add-float/2addr v5, v8

    .line 15
    iget v8, v0, Lb/b/a/a/h;->f:F

    float-to-double v8, v8

    invoke-static {v8, v9}, Ljava/lang/Math;->toRadians(D)D

    move-result-wide v8

    double-to-float v8, v8

    .line 16
    iget v9, v0, Lb/b/a/a/h;->e:F

    float-to-double v9, v9

    invoke-static {v9, v10}, Ljava/lang/Math;->toRadians(D)D

    move-result-wide v9

    double-to-float v9, v9

    neg-int v10, v1

    int-to-float v10, v10

    mul-float v10, v10, v7

    float-to-double v10, v10

    float-to-double v12, v8

    .line 17
    invoke-static {v12, v13}, Ljava/lang/Math;->sin(D)D

    move-result-wide v14

    invoke-static {v10, v11}, Ljava/lang/Double;->isNaN(D)Z

    mul-double v10, v10, v14

    move/from16 v8, p4

    int-to-float v8, v8

    mul-float v8, v8, v6

    float-to-double v14, v8

    invoke-static {v12, v13}, Ljava/lang/Math;->cos(D)D

    move-result-wide v16

    invoke-static {v14, v15}, Ljava/lang/Double;->isNaN(D)Z

    mul-double v16, v16, v14

    sub-double v10, v10, v16

    double-to-float v6, v10

    mul-float v6, v6, v9

    add-float/2addr v3, v6

    int-to-float v1, v1

    mul-float v1, v1, v7

    float-to-double v6, v1

    .line 18
    invoke-static {v12, v13}, Ljava/lang/Math;->cos(D)D

    move-result-wide v10

    invoke-static {v6, v7}, Ljava/lang/Double;->isNaN(D)Z

    mul-double v6, v6, v10

    invoke-static {v12, v13}, Ljava/lang/Math;->sin(D)D

    move-result-wide v10

    invoke-static {v14, v15}, Ljava/lang/Double;->isNaN(D)Z

    mul-double v14, v14, v10

    sub-double/2addr v6, v14

    double-to-float v1, v6

    mul-float v9, v9, v1

    add-float/2addr v5, v9

    .line 19
    aput v3, p5, v2

    .line 20
    aput v5, p5, v4

    return-void
.end method

.method public a(Landroidx/constraintlayout/motion/widget/i;F)V
    .registers 3

    if-eqz p1, :cond_8

    .line 6
    invoke-virtual {p1, p2}, Landroidx/constraintlayout/motion/widget/i;->b(F)F

    move-result p1

    iput p1, p0, Lb/b/a/a/h;->e:F

    :cond_8
    return-void
.end method

.method public a(Landroidx/constraintlayout/motion/widget/i;Landroidx/constraintlayout/motion/widget/i;F)V
    .registers 4

    if-nez p1, :cond_5

    if-nez p2, :cond_5

    return-void

    :cond_5
    if-nez p1, :cond_d

    .line 7
    invoke-virtual {p1, p3}, Landroidx/constraintlayout/motion/widget/i;->b(F)F

    move-result p1

    iput p1, p0, Lb/b/a/a/h;->a:F

    :cond_d
    if-nez p2, :cond_15

    .line 8
    invoke-virtual {p2, p3}, Landroidx/constraintlayout/motion/widget/i;->b(F)F

    move-result p1

    iput p1, p0, Lb/b/a/a/h;->b:F

    :cond_15
    return-void
.end method

.method public a(Landroidx/constraintlayout/motion/widget/w;F)V
    .registers 4

    if-eqz p1, :cond_e

    .line 2
    invoke-virtual {p1, p2}, Landroidx/constraintlayout/motion/widget/w;->b(F)F

    move-result v0

    iput v0, p0, Lb/b/a/a/h;->e:F

    .line 3
    invoke-virtual {p1, p2}, Landroidx/constraintlayout/motion/widget/w;->a(F)F

    move-result p1

    iput p1, p0, Lb/b/a/a/h;->f:F

    :cond_e
    return-void
.end method

.method public a(Landroidx/constraintlayout/motion/widget/w;Landroidx/constraintlayout/motion/widget/w;F)V
    .registers 4

    if-eqz p1, :cond_8

    .line 4
    invoke-virtual {p1, p3}, Landroidx/constraintlayout/motion/widget/w;->b(F)F

    move-result p1

    iput p1, p0, Lb/b/a/a/h;->a:F

    :cond_8
    if-eqz p2, :cond_10

    .line 5
    invoke-virtual {p2, p3}, Landroidx/constraintlayout/motion/widget/w;->b(F)F

    move-result p1

    iput p1, p0, Lb/b/a/a/h;->b:F

    :cond_10
    return-void
.end method

.method public b(Landroidx/constraintlayout/motion/widget/i;Landroidx/constraintlayout/motion/widget/i;F)V
    .registers 4

    if-eqz p1, :cond_8

    .line 3
    invoke-virtual {p1, p3}, Landroidx/constraintlayout/motion/widget/i;->b(F)F

    move-result p1

    iput p1, p0, Lb/b/a/a/h;->c:F

    :cond_8
    if-eqz p2, :cond_10

    .line 4
    invoke-virtual {p2, p3}, Landroidx/constraintlayout/motion/widget/i;->b(F)F

    move-result p1

    iput p1, p0, Lb/b/a/a/h;->d:F

    :cond_10
    return-void
.end method

.method public b(Landroidx/constraintlayout/motion/widget/w;Landroidx/constraintlayout/motion/widget/w;F)V
    .registers 4

    if-eqz p1, :cond_8

    .line 1
    invoke-virtual {p1, p3}, Landroidx/constraintlayout/motion/widget/w;->b(F)F

    move-result p1

    iput p1, p0, Lb/b/a/a/h;->c:F

    :cond_8
    if-eqz p2, :cond_10

    .line 2
    invoke-virtual {p2, p3}, Landroidx/constraintlayout/motion/widget/w;->b(F)F

    move-result p1

    iput p1, p0, Lb/b/a/a/h;->d:F

    :cond_10
    return-void
.end method