package p;

import G0.InterfaceC0249c0;
import G0.p0;
import G0.q0;
import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final class j0 extends kotlin.jvm.internal.p implements J4.c {

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

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

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

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

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final /* synthetic */ InterfaceC0249c0 f22765e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final /* synthetic */ q0 f22766f;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public j0(k0 k0Var, long j4, int i6, int i7, InterfaceC0249c0 interfaceC0249c0, q0 q0Var) {
        super(1);
        this.f22761a = k0Var;
        this.f22762b = j4;
        this.f22763c = i6;
        this.f22764d = i7;
        this.f22765e = interfaceC0249c0;
        this.f22766f = q0Var;
    }

    @Override // J4.c
    public final Object invoke(Object obj) {
        p0 p0Var = (p0) obj;
        this.f22761a.getClass();
        long j4 = (((long) this.f22763c) << 32) | (((long) this.f22764d) & 4294967295L);
        h1.m layoutDirection = this.f22765e.getLayoutDirection();
        long j6 = this.f22762b;
        float f6 = (((int) (j4 >> 32)) - ((int) (j6 >> 32))) / 2.0f;
        float f7 = (((int) (j4 & 4294967295L)) - ((int) (j6 & 4294967295L))) / 2.0f;
        float f8 = layoutDirection == h1.m.f16628a ? -1.0f : (-1) * (-1.0f);
        float f9 = 1;
        float f10 = (f8 + f9) * f6;
        p0.q(p0Var, this.f22766f, (((long) Math.round((f9 - 1.0f) * f7)) & 4294967295L) | (((long) Math.round(f10)) << 32));
        return C3137A.f25453a;
    }
}
