package kotlinx.coroutines;

/* JADX INFO: compiled from: Unconfined.kt */
/* JADX INFO: loaded from: classes.dex */
public final class k2 extends i0 {

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public static final k2 f1089f = new k2();

    private k2() {
    }

    @Override // kotlinx.coroutines.i0
    public void H(h.u.g gVar, Runnable runnable) {
        n2 n2Var = (n2) gVar.b(n2.f1096f);
        if (n2Var == null) {
            throw new UnsupportedOperationException("Dispatchers.Unconfined.dispatch function can only be used by the yield function. If you wrap Unconfined dispatcher in your code, make sure you properly delegate isDispatchNeeded and dispatch calls.");
        }
        n2Var.f1097e = true;
    }

    @Override // kotlinx.coroutines.i0
    public boolean J(h.u.g gVar) {
        return false;
    }

    @Override // kotlinx.coroutines.i0
    public String toString() {
        return "Dispatchers.Unconfined";
    }
}
