package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class BV {
    public final J4 a;
    public final int b;
    public final int c;
    public final int d;
    public final int e;
    public final float f;
    public final float g;

    public BV(J4 j4, int i, int i2, int i3, int i4, float f, float f2) {
        this.a = j4;
        this.b = i;
        this.c = i2;
        this.d = i3;
        this.e = i4;
        this.f = f;
        this.g = f2;
    }

    public final T00 a(T00 t00) {
        return t00.h((Float.floatToRawIntBits(0.0f) << 32) | (Float.floatToRawIntBits(this.f) & 4294967295L));
    }

    public final long b(boolean z, long j) {
        if (z) {
            long j2 = Ue0.b;
            if (Ue0.b(j, j2)) {
                return j2;
            }
        }
        int i = Ue0.c;
        int i2 = (int) (j >> 32);
        int i3 = this.b;
        return AbstractC2378rs0.u(i2 + i3, ((int) (j & 4294967295L)) + i3);
    }

    public final T00 c(T00 t00) {
        float f = -this.f;
        return t00.h((Float.floatToRawIntBits(0.0f) << 32) | (Float.floatToRawIntBits(f) & 4294967295L));
    }

    public final int d(int i) {
        int i2 = this.c;
        int i3 = this.b;
        return AbstractC0940cn0.k(i, i3, i2) - i3;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof BV)) {
            return false;
        }
        BV bv = (BV) obj;
        return this.a.equals(bv.a) && this.b == bv.b && this.c == bv.c && this.d == bv.d && this.e == bv.e && Float.compare(this.f, bv.f) == 0 && Float.compare(this.g, bv.g) == 0;
    }

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

    public final String toString() {
        StringBuilder sb = new StringBuilder("ParagraphInfo(paragraph=");
        sb.append(this.a);
        sb.append(", startIndex=");
        sb.append(this.b);
        sb.append(", endIndex=");
        sb.append(this.c);
        sb.append(", startLineIndex=");
        sb.append(this.d);
        sb.append(", endLineIndex=");
        sb.append(this.e);
        sb.append(", top=");
        sb.append(this.f);
        sb.append(", bottom=");
        return AbstractC2462sn.l(sb, this.g, ')');
    }
}
