package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.yZ, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC3005yZ {
    public final EK a;

    public AbstractC3005yZ(NC nc) {
        this.a = new EK(nc);
    }

    public abstract A7 a(Object obj);

    public InterfaceC3118zi0 b() {
        return this.a;
    }

    /* JADX WARN: Multi-variable type inference failed */
    public final InterfaceC3118zi0 c(A7 a7, InterfaceC3118zi0 interfaceC3118zi0) {
        C0408Pt c0408Pt = null;
        if (interfaceC3118zi0 instanceof C0408Pt) {
            if (a7.d) {
                c0408Pt = (C0408Pt) interfaceC3118zi0;
                c0408Pt.a.setValue(a7.c());
            }
        } else if (interfaceC3118zi0 instanceof Na0) {
            if ((a7.c || a7.b != null) && !a7.d) {
                Na0 na0 = (Na0) interfaceC3118zi0;
                if (F3.c(a7.c(), na0.a)) {
                    c0408Pt = na0;
                }
            }
        } else if (interfaceC3118zi0 instanceof C1031dl) {
            a7.getClass();
        }
        if (c0408Pt != null) {
            return c0408Pt;
        }
        if (!a7.d) {
            return new Na0(a7.c());
        }
        Object obj = a7.b;
        D90 d90 = (D90) a7.a;
        if (d90 == null) {
            d90 = ME.G;
        }
        return new C0408Pt(new MV(obj, d90));
    }
}
