package com.google.android.material.color.utilities;

/* loaded from: classes.dex */
public class SchemeExpressive extends DynamicScheme {
    private static final double[] HUES = {0.0d, 21.0d, 51.0d, 121.0d, 151.0d, 191.0d, 271.0d, 321.0d, 360.0d};
    private static final double[] SECONDARY_ROTATIONS = {45.0d, 95.0d, 45.0d, 20.0d, 45.0d, 90.0d, 45.0d, 45.0d, 45.0d};
    private static final double[] TERTIARY_ROTATIONS = {120.0d, 120.0d, 20.0d, 45.0d, 20.0d, 15.0d, 20.0d, 120.0d, 120.0d};

    /* JADX WARN: Illegal instructions before constructor call */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public SchemeExpressive(com.google.android.material.color.utilities.Hct r12, boolean r13, double r14) {
        /*
            r11 = this;
            com.google.android.material.color.utilities.Variant r2 = com.google.android.material.color.utilities.Variant.EXPRESSIVE
            double r0 = r12.getHue()
            r3 = 4642648265865560064(0x406e000000000000, double:240.0)
            double r0 = r0 + r3
            double r0 = com.google.android.material.color.utilities.MathUtils.sanitizeDegreesDouble(r0)
            r3 = 4630826316843712512(0x4044000000000000, double:40.0)
            com.google.android.material.color.utilities.TonalPalette r6 = com.google.android.material.color.utilities.TonalPalette.fromHueAndChroma(r0, r3)
            double[] r0 = com.google.android.material.color.utilities.SchemeExpressive.HUES
            double[] r1 = com.google.android.material.color.utilities.SchemeExpressive.SECONDARY_ROTATIONS
            double r3 = com.google.android.material.color.utilities.DynamicScheme.getRotatedHue(r12, r0, r1)
            r7 = 4627448617123184640(0x4038000000000000, double:24.0)
            com.google.android.material.color.utilities.TonalPalette r7 = com.google.android.material.color.utilities.TonalPalette.fromHueAndChroma(r3, r7)
            double[] r1 = com.google.android.material.color.utilities.SchemeExpressive.TERTIARY_ROTATIONS
            double r0 = com.google.android.material.color.utilities.DynamicScheme.getRotatedHue(r12, r0, r1)
            r3 = 4629700416936869888(0x4040000000000000, double:32.0)
            com.google.android.material.color.utilities.TonalPalette r8 = com.google.android.material.color.utilities.TonalPalette.fromHueAndChroma(r0, r3)
            double r0 = r12.getHue()
            r3 = 4624633867356078080(0x402e000000000000, double:15.0)
            double r0 = r0 + r3
            double r0 = com.google.android.material.color.utilities.MathUtils.sanitizeDegreesDouble(r0)
            r9 = 4620693217682128896(0x4020000000000000, double:8.0)
            com.google.android.material.color.utilities.TonalPalette r9 = com.google.android.material.color.utilities.TonalPalette.fromHueAndChroma(r0, r9)
            double r0 = r12.getHue()
            double r0 = r0 + r3
            double r0 = com.google.android.material.color.utilities.MathUtils.sanitizeDegreesDouble(r0)
            r3 = 4622945017495814144(0x4028000000000000, double:12.0)
            com.google.android.material.color.utilities.TonalPalette r10 = com.google.android.material.color.utilities.TonalPalette.fromHueAndChroma(r0, r3)
            r0 = r11
            r1 = r12
            r3 = r13
            r4 = r14
            r0.<init>(r1, r2, r3, r4, r6, r7, r8, r9, r10)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.google.android.material.color.utilities.SchemeExpressive.<init>(com.google.android.material.color.utilities.Hct, boolean, double):void");
    }
}
