package ῲ.㴪.K.K;

import android.animation.TypeEvaluator;
import com.google.android.material.progressindicator.BaseProgressIndicator;
import ඓ.K.K.K.C1293;

/* renamed from: ῲ.㴪.K.K.ඓ  reason: contains not printable characters */
/* compiled from: ArgbEvaluator */
public class C2257 implements TypeEvaluator {

    /* renamed from: K  reason: contains not printable characters */
    public static final C2257 f7771 = new C2257();

    /* renamed from: K  reason: contains not printable characters */
    public static C2257 m5877() {
        return f7771;
    }

    @Override // android.animation.TypeEvaluator
    public Object evaluate(float f, Object obj, Object obj2) {
        int intValue = ((Integer) obj).intValue();
        float f2 = ((float) ((intValue >> 24) & BaseProgressIndicator.MAX_ALPHA)) / 255.0f;
        int intValue2 = ((Integer) obj2).intValue();
        float pow = (float) Math.pow((double) (((float) ((intValue >> 16) & BaseProgressIndicator.MAX_ALPHA)) / 255.0f), 2.2d);
        float pow2 = (float) Math.pow((double) (((float) ((intValue >> 8) & BaseProgressIndicator.MAX_ALPHA)) / 255.0f), 2.2d);
        float pow3 = (float) Math.pow((double) (((float) (intValue & BaseProgressIndicator.MAX_ALPHA)) / 255.0f), 2.2d);
        float pow4 = (float) Math.pow((double) (((float) ((intValue2 >> 16) & BaseProgressIndicator.MAX_ALPHA)) / 255.0f), 2.2d);
        float r0 = C1293.m3403(((float) ((intValue2 >> 24) & BaseProgressIndicator.MAX_ALPHA)) / 255.0f, f2, f, f2);
        float r2 = C1293.m3403(pow4, pow, f, pow);
        float r3 = C1293.m3403((float) Math.pow((double) (((float) ((intValue2 >> 8) & BaseProgressIndicator.MAX_ALPHA)) / 255.0f), 2.2d), pow2, f, pow2);
        float r12 = C1293.m3403((float) Math.pow((double) (((float) (intValue2 & BaseProgressIndicator.MAX_ALPHA)) / 255.0f), 2.2d), pow3, f, pow3);
        int round = Math.round(((float) Math.pow((double) r2, 0.45454545454545453d)) * 255.0f) << 16;
        return Integer.valueOf(Math.round(((float) Math.pow((double) r12, 0.45454545454545453d)) * 255.0f) | round | (Math.round(r0 * 255.0f) << 24) | (Math.round(((float) Math.pow((double) r3, 0.45454545454545453d)) * 255.0f) << 8));
    }
}
