package h3;

import p0.InterfaceC2687E;
import q.C2769d;
import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class D4 implements J4.c {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f16761a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ C2769d f16762b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ float f16763c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final /* synthetic */ float f16764d;

    public /* synthetic */ D4(float f6, C2769d c2769d, float f7) {
        this.f16761a = 0;
        this.f16763c = f6;
        this.f16762b = c2769d;
        this.f16764d = f7;
    }

    @Override // J4.c
    public final Object invoke(Object obj) {
        InterfaceC2687E graphicsLayer = (InterfaceC2687E) obj;
        switch (this.f16761a) {
            case 0:
                kotlin.jvm.internal.o.h(graphicsLayer, "$this$graphicsLayer");
                ((p0.U) graphicsLayer).K((1.0f - ((Number) this.f16762b.d()).floatValue()) * this.f16763c * this.f16764d);
                break;
            case 1:
                kotlin.jvm.internal.o.h(graphicsLayer, "$this$graphicsLayer");
                float fFloatValue = ((Number) this.f16762b.d()).floatValue();
                p0.U u6 = (p0.U) graphicsLayer;
                u6.K((-this.f16763c) * (1.0f - fFloatValue) * this.f16764d * 0.34f);
                u6.d((0.04000002f * fFloatValue) + 0.96f);
                float f6 = (fFloatValue * 0.012000024f) + 0.988f;
                u6.w(f6);
                u6.z(f6);
                break;
            default:
                kotlin.jvm.internal.o.h(graphicsLayer, "$this$graphicsLayer");
                float fFloatValue2 = ((Number) this.f16762b.d()).floatValue();
                p0.U u7 = (p0.U) graphicsLayer;
                u7.K((1.0f - fFloatValue2) * this.f16763c * this.f16764d);
                u7.d((0.07999998f * fFloatValue2) + 0.92f);
                float f7 = 1.012f - (fFloatValue2 * 0.011999965f);
                u7.w(f7);
                u7.z(f7);
                break;
        }
        return C3137A.f25453a;
    }

    public /* synthetic */ D4(C2769d c2769d, float f6, float f7, int i6) {
        this.f16761a = i6;
        this.f16762b = c2769d;
        this.f16763c = f6;
        this.f16764d = f7;
    }
}
