package tp;

import vm.e;
import vm.g;

/* loaded from: classes3.dex */
public abstract class i0 extends vm.a implements vm.e {

    /* renamed from: q, reason: collision with root package name */
    public static final a f36553q = new a(null);

    /* loaded from: classes3.dex */
    public static final class a extends vm.b {

        /* renamed from: tp.i0$a$a, reason: collision with other inner class name */
        /* loaded from: classes3.dex */
        static final class C0863a extends kotlin.jvm.internal.v implements dn.l {

            /* renamed from: p, reason: collision with root package name */
            public static final C0863a f36554p = new C0863a();

            C0863a() {
                super(1);
            }

            @Override // dn.l
            /* renamed from: a, reason: merged with bridge method [inline-methods] */
            public final i0 invoke(g.b bVar) {
                if (bVar instanceof i0) {
                    return (i0) bVar;
                }
                return null;
            }
        }

        public /* synthetic */ a(kotlin.jvm.internal.k kVar) {
            this();
        }

        private a() {
            super(vm.e.INSTANCE, C0863a.f36554p);
        }
    }

    public i0() {
        super(vm.e.INSTANCE);
    }

    @Override // vm.e
    public final void A(vm.d dVar) {
        kotlin.jvm.internal.t.e(dVar, "null cannot be cast to non-null type kotlinx.coroutines.internal.DispatchedContinuation<*>");
        ((zp.j) dVar).m();
    }

    public abstract void C(vm.g gVar, Runnable runnable);

    @Override // vm.e
    public final vm.d I(vm.d dVar) {
        return new zp.j(this, dVar);
    }

    public boolean L(vm.g gVar) {
        return true;
    }

    public i0 V(int i10) {
        zp.p.a(i10);
        return new zp.o(this, i10);
    }

    @Override // vm.a, vm.g.b, vm.g
    public g.b d(g.c cVar) {
        return e.a.a(this, cVar);
    }

    @Override // vm.a, vm.g
    public vm.g r(g.c cVar) {
        return e.a.b(this, cVar);
    }

    public String toString() {
        return q0.a(this) + '@' + q0.b(this);
    }
}
