package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class I2 implements InterfaceC0902cP {
    public final C0133Fd a;
    public final C0133Fd b;
    public final int c;

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

    @Override // o.InterfaceC0902cP
    public final int a(C1086eI c1086eI, long j, int i) {
        int iA = this.b.a(0, c1086eI.b());
        return c1086eI.b + iA + (-this.a.a(0, i)) + this.c;
    }

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

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

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