package ⁱ.K.K.K.K;

/* renamed from: ⁱ.K.K.K.K.K  reason: contains not printable characters */
/* compiled from: Cubic */
public class C2354 {
    /* renamed from: ῲ  reason: contains not printable characters */
    public double m6172(double d, double d2, double d3, double d4) {
        double d5 = (d / d4) - 1.0d;
        return (((d5 * d5 * d5) + 1.0d) * d3) + d2;
    }

    /* renamed from: K  reason: contains not printable characters */
    public double m6173(double d, double d2, double d3, double d4) {
        double d5 = d / (d4 / 2.0d);
        if (d5 < 1.0d) {
            return ((d3 / 2.0d) * d5 * d5 * d5) + d2;
        }
        double d6 = d5 - 2.0d;
        return (((d6 * d6 * d6) + 2.0d) * (d3 / 2.0d)) + d2;
    }
}
