package kotlinx.coroutines;

import java.util.concurrent.Executor;
import kotlin.coroutines.EmptyCoroutineContext;

/* JADX INFO: loaded from: classes.dex */
public final class g0 implements Executor {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final t f29432a;

    public g0(t tVar) {
        this.f29432a = tVar;
    }

    @Override // java.util.concurrent.Executor
    public final void execute(Runnable runnable) {
        EmptyCoroutineContext emptyCoroutineContext = EmptyCoroutineContext.f29221a;
        t tVar = this.f29432a;
        if (tVar.M(emptyCoroutineContext)) {
            tVar.L(emptyCoroutineContext, runnable);
        } else {
            runnable.run();
        }
    }

    public final String toString() {
        return this.f29432a.toString();
    }
}
