package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class W80 extends AbstractC0706aK implements OC {
    public final /* synthetic */ long m;
    public final /* synthetic */ int n;

    /* renamed from: o, reason: collision with root package name */
    public final /* synthetic */ int f393o;
    public final /* synthetic */ InterfaceC2424sO p;
    public final /* synthetic */ VW q;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public W80(X80 x80, long j, int i, int i2, InterfaceC2424sO interfaceC2424sO, VW vw) {
        super(1);
        this.m = j;
        this.n = i;
        this.f393o = i2;
        this.p = interfaceC2424sO;
        this.q = vw;
    }

    @Override // o.OC
    public final Object g(Object obj) {
        UW uw = (UW) obj;
        long j = (this.n << 32) | (this.f393o & 4294967295L);
        EnumC1280gK layoutDirection = this.p.getLayoutDirection();
        long j2 = this.m;
        float f = (((int) (j >> 32)) - ((int) (j2 >> 32))) / 2.0f;
        float f2 = (((int) (j & 4294967295L)) - ((int) (j2 & 4294967295L))) / 2.0f;
        float f3 = layoutDirection == EnumC1280gK.l ? -1.0f : (-1) * (-1.0f);
        float f4 = 1;
        float f5 = (f3 + f4) * f;
        float f6 = (f4 - 1.0f) * f2;
        UW.h(uw, this.q, (Math.round(f6) & 4294967295L) | (Math.round(f5) << 32));
        return Oh0.a;
    }
}
