package K;

import G0.InterfaceC0247b0;
import G0.InterfaceC0249c0;
import h1.C2069a;
import q.AbstractC2761L;

/* JADX INFO: renamed from: K.b0, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0444b0 implements G0.I {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final P0 f3790a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final int f3791b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final Z0.F f3792c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final J4.a f3793d;

    public C0444b0(P0 p02, int i6, Z0.F f6, J4.a aVar) {
        this.f3790a = p02;
        this.f3791b = i6;
        this.f3792c = f6;
        this.f3793d = aVar;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C0444b0)) {
            return false;
        }
        C0444b0 c0444b0 = (C0444b0) obj;
        return kotlin.jvm.internal.o.c(this.f3790a, c0444b0.f3790a) && this.f3791b == c0444b0.f3791b && kotlin.jvm.internal.o.c(this.f3792c, c0444b0.f3792c) && kotlin.jvm.internal.o.c(this.f3793d, c0444b0.f3793d);
    }

    public final int hashCode() {
        return this.f3793d.hashCode() + ((this.f3792c.hashCode() + AbstractC2761L.a(this.f3791b, this.f3790a.hashCode() * 31, 31)) * 31);
    }

    @Override // G0.I
    /* JADX INFO: renamed from: measure-3p2s80s */
    public final InterfaceC0247b0 mo2measure3p2s80s(InterfaceC0249c0 interfaceC0249c0, G0.Z z6, long j4) {
        long j6;
        if (z6.K(C2069a.g(j4)) < C2069a.h(j4)) {
            j6 = j4;
        } else {
            j6 = j4;
            j4 = C2069a.a(j6, 0, Integer.MAX_VALUE, 0, 0, 13);
        }
        G0.q0 q0VarQ = z6.Q(j4);
        int iMin = Math.min(q0VarQ.f1998a, C2069a.h(j6));
        return interfaceC0249c0.e(iMin, q0VarQ.f1999b, x4.z.f26066a, new C0442a0(iMin, 0, this, interfaceC0249c0, q0VarQ));
    }

    public final String toString() {
        return "HorizontalScrollLayoutModifier(scrollerPosition=" + this.f3790a + ", cursorOffset=" + this.f3791b + ", transformedText=" + this.f3792c + ", textLayoutResultProvider=" + this.f3793d + ')';
    }
}
