package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.cl0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0936cl0 implements InterfaceC0902cP {
    public final C0133Fd a;
    public final int b;

    public C0936cl0(C0133Fd c0133Fd, int i) {
        this.a = c0133Fd;
        this.b = i;
    }

    @Override // o.InterfaceC0902cP
    public final int a(C1086eI c1086eI, long j, int i) {
        int i2 = (int) (j & 4294967295L);
        int i3 = this.b;
        if (i < i2 - (i3 * 2)) {
            return AbstractC0940cn0.k(this.a.a(i, i2), i3, (i2 - i3) - i);
        }
        return Math.round((1 + 0.0f) * ((i2 - i) / 2.0f));
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C0936cl0)) {
            return false;
        }
        C0936cl0 c0936cl0 = (C0936cl0) obj;
        return this.a.equals(c0936cl0.a) && this.b == c0936cl0.b;
    }

    public final int hashCode() {
        return Integer.hashCode(this.b) + (Float.hashCode(this.a.a) * 31);
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("Vertical(alignment=");
        sb.append(this.a);
        sb.append(", margin=");
        return AbstractC2462sn.m(sb, this.b, ')');
    }
}
