e.smali

.class public final Lcom/opensource/svgaplayer/b/e;
.super Ljava/lang/Object;
.source "SVGAScaleInfo.kt"


# instance fields
.field private a:F

.field private b:F

.field private c:F

.field private d:F

.field private e:F

.field private f:Z


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

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

    const/high16 v0, 0x3f800000    # 1.0f

    .line 2
    iput v0, p0, Lcom/opensource/svgaplayer/b/e;->c:F

    .line 3
    iput v0, p0, Lcom/opensource/svgaplayer/b/e;->d:F

    .line 4
    iput v0, p0, Lcom/opensource/svgaplayer/b/e;->e:F

    return-void
.end method

.method private final f()V
    .registers 2

    const/4 v0, 0x0

    .line 1
    iput v0, p0, Lcom/opensource/svgaplayer/b/e;->a:F

    .line 2
    iput v0, p0, Lcom/opensource/svgaplayer/b/e;->b:F

    const/high16 v0, 0x3f800000    # 1.0f

    .line 3
    iput v0, p0, Lcom/opensource/svgaplayer/b/e;->c:F

    .line 4
    iput v0, p0, Lcom/opensource/svgaplayer/b/e;->d:F

    .line 5
    iput v0, p0, Lcom/opensource/svgaplayer/b/e;->e:F

    const/4 v0, 0x0

    .line 6
    iput-boolean v0, p0, Lcom/opensource/svgaplayer/b/e;->f:Z

    return-void
.end method


# virtual methods
.method public final a(FFFFLandroid/widget/ImageView$ScaleType;)V
    .registers 15

    const-string v0, "scaleType"

    invoke-static {p5, v0}, Lkotlin/jvm/internal/i;->d(Ljava/lang/Object;Ljava/lang/String;)V

    const/4 v0, 0x0

    cmpg-float v1, p1, v0

    if-eqz v1, :cond_106

    cmpg-float v1, p2, v0

    if-eqz v1, :cond_106

    cmpg-float v1, p3, v0

    if-eqz v1, :cond_106

    cmpg-float v0, p4, v0

    if-nez v0, :cond_18

    goto/16 :goto_106

    .line 2
    :cond_18
    invoke-direct {p0}, Lcom/opensource/svgaplayer/b/e;->f()V

    sub-float v0, p1, p3

    const/high16 v1, 0x40000000    # 2.0f

    div-float/2addr v0, v1

    sub-float v2, p2, p4

    div-float/2addr v2, v1

    div-float v3, p3, p4

    div-float v4, p1, p2

    div-float v5, p2, p4

    div-float v6, p1, p3

    .line 3
    sget-object v7, Lcom/opensource/svgaplayer/b/d;->a:[I

    invoke-virtual {p5}, Landroid/widget/ImageView$ScaleType;->ordinal()I

    move-result p5

    aget p5, v7, p5

    const/4 v7, 0x0

    const/4 v8, 0x1

    packed-switch p5, :pswitch_data_108

    .line 4
    iput v6, p0, Lcom/opensource/svgaplayer/b/e;->e:F

    .line 5
    iput-boolean v8, p0, Lcom/opensource/svgaplayer/b/e;->f:Z

    .line 6
    iput v6, p0, Lcom/opensource/svgaplayer/b/e;->c:F

    .line 7
    iput v6, p0, Lcom/opensource/svgaplayer/b/e;->d:F

    goto/16 :goto_106

    .line 8
    :pswitch_42
    invoke-static {v6, v5}, Ljava/lang/Math;->max(FF)F

    move-result p1

    iput p1, p0, Lcom/opensource/svgaplayer/b/e;->e:F

    cmpl-float p1, v6, v5

    if-lez p1, :cond_4d

    const/4 v7, 0x1

    .line 9
    :cond_4d
    iput-boolean v7, p0, Lcom/opensource/svgaplayer/b/e;->f:Z

    .line 10
    iput v6, p0, Lcom/opensource/svgaplayer/b/e;->c:F

    .line 11
    iput v5, p0, Lcom/opensource/svgaplayer/b/e;->d:F

    goto/16 :goto_106

    :pswitch_55
    cmpl-float p5, v3, v4

    if-lez p5, :cond_68

    .line 12
    iput v6, p0, Lcom/opensource/svgaplayer/b/e;->e:F

    .line 13
    iput-boolean v8, p0, Lcom/opensource/svgaplayer/b/e;->f:Z

    .line 14
    iput v6, p0, Lcom/opensource/svgaplayer/b/e;->c:F

    .line 15
    iput v6, p0, Lcom/opensource/svgaplayer/b/e;->d:F

    mul-float p4, p4, v6

    sub-float/2addr p2, p4

    .line 16
    iput p2, p0, Lcom/opensource/svgaplayer/b/e;->b:F

    goto/16 :goto_106

    .line 17
    :cond_68
    iput v5, p0, Lcom/opensource/svgaplayer/b/e;->e:F

    .line 18
    iput-boolean v7, p0, Lcom/opensource/svgaplayer/b/e;->f:Z

    .line 19
    iput v5, p0, Lcom/opensource/svgaplayer/b/e;->c:F

    .line 20
    iput v5, p0, Lcom/opensource/svgaplayer/b/e;->d:F

    mul-float p3, p3, v5

    sub-float/2addr p1, p3

    .line 21
    iput p1, p0, Lcom/opensource/svgaplayer/b/e;->a:F

    goto/16 :goto_106

    :pswitch_77
    cmpl-float p1, v3, v4

    if-lez p1, :cond_85

    .line 22
    iput v6, p0, Lcom/opensource/svgaplayer/b/e;->e:F

    .line 23
    iput-boolean v8, p0, Lcom/opensource/svgaplayer/b/e;->f:Z

    .line 24
    iput v6, p0, Lcom/opensource/svgaplayer/b/e;->c:F

    .line 25
    iput v6, p0, Lcom/opensource/svgaplayer/b/e;->d:F

    goto/16 :goto_106

    .line 26
    :cond_85
    iput v5, p0, Lcom/opensource/svgaplayer/b/e;->e:F

    .line 27
    iput-boolean v7, p0, Lcom/opensource/svgaplayer/b/e;->f:Z

    .line 28
    iput v5, p0, Lcom/opensource/svgaplayer/b/e;->c:F

    .line 29
    iput v5, p0, Lcom/opensource/svgaplayer/b/e;->d:F

    goto/16 :goto_106

    :pswitch_8f
    cmpl-float p5, v3, v4

    if-lez p5, :cond_a2

    .line 30
    iput v6, p0, Lcom/opensource/svgaplayer/b/e;->e:F

    .line 31
    iput-boolean v8, p0, Lcom/opensource/svgaplayer/b/e;->f:Z

    .line 32
    iput v6, p0, Lcom/opensource/svgaplayer/b/e;->c:F

    .line 33
    iput v6, p0, Lcom/opensource/svgaplayer/b/e;->d:F

    mul-float p4, p4, v6

    sub-float/2addr p2, p4

    div-float/2addr p2, v1

    .line 34
    iput p2, p0, Lcom/opensource/svgaplayer/b/e;->b:F

    goto :goto_106

    .line 35
    :cond_a2
    iput v5, p0, Lcom/opensource/svgaplayer/b/e;->e:F

    .line 36
    iput-boolean v7, p0, Lcom/opensource/svgaplayer/b/e;->f:Z

    .line 37
    iput v5, p0, Lcom/opensource/svgaplayer/b/e;->c:F

    .line 38
    iput v5, p0, Lcom/opensource/svgaplayer/b/e;->d:F

    mul-float p3, p3, v5

    sub-float/2addr p1, p3

    div-float/2addr p1, v1

    .line 39
    iput p1, p0, Lcom/opensource/svgaplayer/b/e;->a:F

    goto :goto_106

    :pswitch_b1
    cmpg-float p5, p3, p1

    if-gez p5, :cond_be

    cmpg-float p5, p4, p2

    if-gez p5, :cond_be

    .line 40
    iput v0, p0, Lcom/opensource/svgaplayer/b/e;->a:F

    .line 41
    iput v2, p0, Lcom/opensource/svgaplayer/b/e;->b:F

    goto :goto_106

    :cond_be
    cmpl-float p5, v3, v4

    if-lez p5, :cond_d1

    .line 42
    iput v6, p0, Lcom/opensource/svgaplayer/b/e;->e:F

    .line 43
    iput-boolean v8, p0, Lcom/opensource/svgaplayer/b/e;->f:Z

    .line 44
    iput v6, p0, Lcom/opensource/svgaplayer/b/e;->c:F

    .line 45
    iput v6, p0, Lcom/opensource/svgaplayer/b/e;->d:F

    mul-float p4, p4, v6

    sub-float/2addr p2, p4

    div-float/2addr p2, v1

    .line 46
    iput p2, p0, Lcom/opensource/svgaplayer/b/e;->b:F

    goto :goto_106

    .line 47
    :cond_d1
    iput v5, p0, Lcom/opensource/svgaplayer/b/e;->e:F

    .line 48
    iput-boolean v7, p0, Lcom/opensource/svgaplayer/b/e;->f:Z

    .line 49
    iput v5, p0, Lcom/opensource/svgaplayer/b/e;->c:F

    .line 50
    iput v5, p0, Lcom/opensource/svgaplayer/b/e;->d:F

    mul-float p3, p3, v5

    sub-float/2addr p1, p3

    div-float/2addr p1, v1

    .line 51
    iput p1, p0, Lcom/opensource/svgaplayer/b/e;->a:F

    goto :goto_106

    :pswitch_e0
    cmpl-float p5, v3, v4

    if-lez p5, :cond_f3

    .line 52
    iput v5, p0, Lcom/opensource/svgaplayer/b/e;->e:F

    .line 53
    iput-boolean v7, p0, Lcom/opensource/svgaplayer/b/e;->f:Z

    .line 54
    iput v5, p0, Lcom/opensource/svgaplayer/b/e;->c:F

    .line 55
    iput v5, p0, Lcom/opensource/svgaplayer/b/e;->d:F

    mul-float p3, p3, v5

    sub-float/2addr p1, p3

    div-float/2addr p1, v1

    .line 56
    iput p1, p0, Lcom/opensource/svgaplayer/b/e;->a:F

    goto :goto_106

    .line 57
    :cond_f3
    iput v6, p0, Lcom/opensource/svgaplayer/b/e;->e:F

    .line 58
    iput-boolean v8, p0, Lcom/opensource/svgaplayer/b/e;->f:Z

    .line 59
    iput v6, p0, Lcom/opensource/svgaplayer/b/e;->c:F

    .line 60
    iput v6, p0, Lcom/opensource/svgaplayer/b/e;->d:F

    mul-float p4, p4, v6

    sub-float/2addr p2, p4

    div-float/2addr p2, v1

    .line 61
    iput p2, p0, Lcom/opensource/svgaplayer/b/e;->b:F

    goto :goto_106

    .line 62
    :pswitch_102
    iput v0, p0, Lcom/opensource/svgaplayer/b/e;->a:F

    .line 63
    iput v2, p0, Lcom/opensource/svgaplayer/b/e;->b:F

    :cond_106
    :goto_106
    return-void

    nop

    :pswitch_data_108
    .packed-switch 0x1
        :pswitch_102
        :pswitch_e0
        :pswitch_b1
        :pswitch_8f
        :pswitch_77
        :pswitch_55
        :pswitch_42
    .end packed-switch
.end method

.method public final a()Z
    .registers 2

    .line 1
    iget-boolean v0, p0, Lcom/opensource/svgaplayer/b/e;->f:Z

    return v0
.end method

.method public final b()F
    .registers 2

    .line 1
    iget v0, p0, Lcom/opensource/svgaplayer/b/e;->c:F

    return v0
.end method

.method public final c()F
    .registers 2

    .line 1
    iget v0, p0, Lcom/opensource/svgaplayer/b/e;->d:F

    return v0
.end method

.method public final d()F
    .registers 2

    .line 1
    iget v0, p0, Lcom/opensource/svgaplayer/b/e;->a:F

    return v0
.end method

.method public final e()F
    .registers 2

    .line 1
    iget v0, p0, Lcom/opensource/svgaplayer/b/e;->b:F

    return v0
.end method