package V4;

import V2.C0736x;
import a5.AbstractC0988a;

/* JADX INFO: renamed from: V4.y, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes3.dex */
public abstract class AbstractC0786y extends A4.a implements A4.f {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public static final C0785x f8350a = new C0785x(A4.e.f99a, new C0736x(21));

    public AbstractC0786y() {
        super(A4.e.f99a);
    }

    public abstract void c(A4.j jVar, Runnable runnable);

    public void f(A4.j jVar, Runnable runnable) {
        c(jVar, runnable);
    }

    public boolean g(A4.j jVar) {
        return !(this instanceof K0);
    }

    @Override // A4.a, A4.j
    public final A4.h get(A4.i key) {
        A4.h hVar;
        kotlin.jvm.internal.o.h(key, "key");
        if (!(key instanceof C0785x)) {
            if (A4.e.f99a == key) {
                return this;
            }
            return null;
        }
        C0785x c0785x = (C0785x) key;
        A4.i key2 = getKey();
        kotlin.jvm.internal.o.h(key2, "key");
        if ((key2 == c0785x || c0785x.f8348b == key2) && (hVar = (A4.h) c0785x.f8347a.invoke(this)) != null) {
            return hVar;
        }
        return null;
    }

    public AbstractC0786y i(int i6) {
        AbstractC0988a.a(i6);
        return new a5.g(this, i6);
    }

    /* JADX WARN: Removed duplicated region for block: B:15:0x002b A[RETURN] */
    /* JADX WARN: Removed duplicated region for block: B:16:0x002c A[RETURN] */
    @Override // A4.a, A4.j
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final A4.j minusKey(A4.i key) {
        kotlin.jvm.internal.o.h(key, "key");
        boolean z6 = key instanceof C0785x;
        A4.k kVar = A4.k.f106a;
        if (z6) {
            C0785x c0785x = (C0785x) key;
            A4.i key2 = getKey();
            kotlin.jvm.internal.o.h(key2, "key");
            return ((key2 == c0785x || c0785x.f8348b == key2) && ((A4.h) c0785x.f8347a.invoke(this)) != null) ? kVar : this;
        }
        if (A4.e.f99a == key) {
        }
    }

    public String toString() {
        return getClass().getSimpleName() + '@' + E.p(this);
    }
}
