package kotlinx.coroutines;

import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;

/* JADX INFO: loaded from: classes.dex */
public final class x0 extends z0 {

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public static final /* synthetic */ AtomicIntegerFieldUpdater f29572f = AtomicIntegerFieldUpdater.newUpdater(x0.class, "_invoked$volatile");
    private volatile /* synthetic */ int _invoked$volatile;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final sd.l f29573e;

    public x0(sd.l lVar) {
        this.f29573e = lVar;
    }

    @Override // sd.l
    public final /* bridge */ /* synthetic */ Object invoke(Object obj) {
        k((Throwable) obj);
        return kd.e.f29109a;
    }

    @Override // kotlinx.coroutines.b1
    public final void k(Throwable th) {
        if (f29572f.compareAndSet(this, 0, 1)) {
            this.f29573e.invoke(th);
        }
    }
}
