package androidx.compose.ui.draw;

import o.C0265Kf;
import o.C0291Lf;
import o.LP;
import o.OC;
import o.RP;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
final class DrawWithCacheElement extends RP {
    public final OC a;

    public DrawWithCacheElement(OC oc) {
        this.a = oc;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof DrawWithCacheElement) {
            return this.a == ((DrawWithCacheElement) obj).a;
        }
        return false;
    }

    @Override // o.RP
    public final LP f() {
        return new C0265Kf(new C0291Lf(), this.a);
    }

    public final int hashCode() {
        return this.a.hashCode();
    }

    @Override // o.RP
    public final void j(LP lp) {
        C0265Kf c0265Kf = (C0265Kf) lp;
        c0265Kf.B = this.a;
        c0265Kf.H0();
    }
}
