package o;

import com.google.android.gms.common.api.Api;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.mF, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1846mF implements InterfaceC1661kK {
    public final C1113ee0 a;
    public final int b;
    public final C1785lg0 c;
    public final NC d;

    public C1846mF(C1113ee0 c1113ee0, int i, C1785lg0 c1785lg0, NC nc) {
        this.a = c1113ee0;
        this.b = i;
        this.c = c1785lg0;
        this.d = nc;
    }

    @Override // o.InterfaceC1661kK
    public final InterfaceC2329rO a(InterfaceC2424sO interfaceC2424sO, InterfaceC1760lO interfaceC1760lO, long j) {
        long j2;
        if (interfaceC1760lO.U(C0634Yl.g(j)) < C0634Yl.h(j)) {
            j2 = j;
        } else {
            j2 = j;
            j = C0634Yl.a(j2, 0, Api.BaseClientBuilder.API_PRIORITY_OTHER, 0, 0, 13);
        }
        VW vwC = interfaceC1760lO.c(j);
        int iMin = Math.min(vwC.l, C0634Yl.h(j2));
        return interfaceC2424sO.H(iMin, vwC.m, C0358Nv.l, new C2110p2(this, interfaceC2424sO, vwC, iMin));
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C1846mF)) {
            return false;
        }
        C1846mF c1846mF = (C1846mF) obj;
        return F3.c(this.a, c1846mF.a) && this.b == c1846mF.b && F3.c(this.c, c1846mF.c) && F3.c(this.d, c1846mF.d);
    }

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

    public final String toString() {
        return "HorizontalScrollLayoutModifier(scrollerPosition=" + this.a + ", cursorOffset=" + this.b + ", transformedText=" + this.c + ", textLayoutResultProvider=" + this.d + ')';
    }
}
