package g.a;

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

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

    private j2() {
    }

    @Override // g.a.b0
    public String toString() {
        return "Dispatchers.Unconfined";
    }

    @Override // g.a.b0
    public void w(f.w.g gVar, Runnable runnable) {
        m2 m2Var = (m2) gVar.get(m2.f4050f);
        if (m2Var == 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.");
        }
        m2Var.f4051b = true;
    }

    @Override // g.a.b0
    public boolean x(f.w.g gVar) {
        return false;
    }

    @Override // g.a.b0
    public b0 y(int i2) {
        throw new UnsupportedOperationException("limitedParallelism is not supported for Dispatchers.Unconfined");
    }
}
