package androidx.compose.foundation.text.input.internal;

import j2.s0;
import kotlin.Metadata;
import kotlin.jvm.internal.t;
import l0.z;
import o0.m1;
import o0.p1;
import r0.f0;

@Metadata(d1 = {"\u0000F\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\b\b\u0082\b\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u001f\u0012\u0006\u0010\u0014\u001a\u00020\u000f\u0012\u0006\u0010\u001a\u001a\u00020\u0015\u0012\u0006\u0010 \u001a\u00020\u001b¢\u0006\u0004\b!\u0010\"J\b\u0010\u0003\u001a\u00020\u0002H\u0016J\u0010\u0010\u0006\u001a\u00020\u00052\u0006\u0010\u0004\u001a\u00020\u0002H\u0016J\t\u0010\b\u001a\u00020\u0007HÖ\u0001J\t\u0010\n\u001a\u00020\tHÖ\u0001J\u0013\u0010\u000e\u001a\u00020\r2\b\u0010\f\u001a\u0004\u0018\u00010\u000bHÖ\u0003R\u0017\u0010\u0014\u001a\u00020\u000f8\u0006¢\u0006\f\n\u0004\b\u0010\u0010\u0011\u001a\u0004\b\u0012\u0010\u0013R\u0017\u0010\u001a\u001a\u00020\u00158\u0006¢\u0006\f\n\u0004\b\u0016\u0010\u0017\u001a\u0004\b\u0018\u0010\u0019R\u0017\u0010 \u001a\u00020\u001b8\u0006¢\u0006\f\n\u0004\b\u001c\u0010\u001d\u001a\u0004\b\u001e\u0010\u001f¨\u0006#"}, d2 = {"Landroidx/compose/foundation/text/input/internal/LegacyAdaptingPlatformTextInputModifier;", "Lj2/s0;", "Lo0/m1;", "k", "node", "Lrm/n0;", "l", "", "toString", "", "hashCode", "", "other", "", "equals", "Lo0/p1;", "b", "Lo0/p1;", "getServiceAdapter", "()Lo0/p1;", "serviceAdapter", "Ll0/z;", "c", "Ll0/z;", "getLegacyTextFieldState", "()Ll0/z;", "legacyTextFieldState", "Lr0/f0;", "d", "Lr0/f0;", "getTextFieldSelectionManager", "()Lr0/f0;", "textFieldSelectionManager", "<init>", "(Lo0/p1;Ll0/z;Lr0/f0;)V", "foundation_release"}, k = 1, mv = {1, 8, 0})
/* loaded from: classes.dex */
final /* data */ class LegacyAdaptingPlatformTextInputModifier extends s0 {

    /* renamed from: b, reason: collision with root package name and from kotlin metadata and from toString */
    private final p1 serviceAdapter;

    /* renamed from: c, reason: collision with root package name and from kotlin metadata and from toString */
    private final z legacyTextFieldState;

    /* renamed from: d, reason: collision with root package name and from kotlin metadata and from toString */
    private final f0 textFieldSelectionManager;

    public LegacyAdaptingPlatformTextInputModifier(p1 p1Var, z zVar, f0 f0Var) {
        this.serviceAdapter = p1Var;
        this.legacyTextFieldState = zVar;
        this.textFieldSelectionManager = f0Var;
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof LegacyAdaptingPlatformTextInputModifier)) {
            return false;
        }
        LegacyAdaptingPlatformTextInputModifier legacyAdaptingPlatformTextInputModifier = (LegacyAdaptingPlatformTextInputModifier) other;
        return t.b(this.serviceAdapter, legacyAdaptingPlatformTextInputModifier.serviceAdapter) && t.b(this.legacyTextFieldState, legacyAdaptingPlatformTextInputModifier.legacyTextFieldState) && t.b(this.textFieldSelectionManager, legacyAdaptingPlatformTextInputModifier.textFieldSelectionManager);
    }

    public int hashCode() {
        return (((this.serviceAdapter.hashCode() * 31) + this.legacyTextFieldState.hashCode()) * 31) + this.textFieldSelectionManager.hashCode();
    }

    @Override // j2.s0
    /* renamed from: k, reason: merged with bridge method [inline-methods] */
    public m1 c() {
        return new m1(this.serviceAdapter, this.legacyTextFieldState, this.textFieldSelectionManager);
    }

    @Override // j2.s0
    /* renamed from: l, reason: merged with bridge method [inline-methods] */
    public void j(m1 m1Var) {
        m1Var.j2(this.serviceAdapter);
        m1Var.i2(this.legacyTextFieldState);
        m1Var.k2(this.textFieldSelectionManager);
    }

    public String toString() {
        return "LegacyAdaptingPlatformTextInputModifier(serviceAdapter=" + this.serviceAdapter + ", legacyTextFieldState=" + this.legacyTextFieldState + ", textFieldSelectionManager=" + this.textFieldSelectionManager + ')';
    }
}
