package defpackage;

/* renamed from: ᵥﹶˉᵺ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C3552 implements InterfaceC4625 {

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public final float[] f13306;

    /* JADX WARN: Removed duplicated region for block: B:40:0x01bb A[LOOP:2: B:9:0x0081->B:40:0x01bb, LOOP_END] */
    /* JADX WARN: Removed duplicated region for block: B:77:0x01c6 A[EDGE_INSN: B:77:0x01c6->B:42:0x01c6 BREAK  A[LOOP:2: B:9:0x0081->B:40:0x01bb], SYNTHETIC] */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public C3552(float r26, float r27) {
        /*
            Method dump skipped, instructions count: 595
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.C3552.<init>(float, float):void");
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public static boolean m8089(float f, float f2) {
        return Math.abs(f - f2) < 0.01f;
    }

    @Override // defpackage.InterfaceC4625
    public final float getInterpolation(float f) {
        if (f <= 0.0f) {
            return 0.0f;
        }
        if (f >= 1.0f) {
            return 1.0f;
        }
        int length = (this.f13306.length / 3) - 1;
        int i = 0;
        while (length - i > 1) {
            int i2 = (i + length) / 2;
            if (f < m8091(i2)) {
                length = i2;
            } else {
                i = i2;
            }
        }
        float fM8091 = m8091(length) - m8091(i);
        if (fM8091 == 0.0f) {
            return m8090(i);
        }
        float fM80912 = (f - m8091(i)) / fM8091;
        float fM8090 = m8090(i);
        return ((m8090(length) - fM8090) * fM80912) + fM8090;
    }

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final float m8090(int i) {
        return this.f13306[(i * 3) + 2];
    }

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final float m8091(int i) {
        return this.f13306[(i * 3) + 1];
    }
}
