package p060t1;

import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
import kotlinx.coroutines.internal.C1362e;
import kotlinx.coroutines.internal.C1383v;
import p015e1.C0665b;

/* renamed from: t1.e0 */
/* loaded from: classes.dex */
public final class C1671e0<T> extends C1383v<T> {

    /* renamed from: g */
    public static final /* synthetic */ AtomicIntegerFieldUpdater f3900g = AtomicIntegerFieldUpdater.newUpdater(C1671e0.class, "_decision");
    private volatile /* synthetic */ int _decision;

    @Override // kotlinx.coroutines.internal.C1383v, p060t1.AbstractC1655a
    /* renamed from: j0 */
    public void mo540j0(Object obj) {
        if (m611m0()) {
            return;
        }
        C1362e.m1542c(C0665b.m3182a(this.f3065f), C1713s.m521a(obj, this.f3065f), null, 2, null);
    }

    /* renamed from: m0 */
    public final boolean m611m0() {
        do {
            int i = this._decision;
            if (i != 0) {
                if (i == 1) {
                    return false;
                }
                throw new IllegalStateException("Already resumed".toString());
            }
        } while (!f3900g.compareAndSet(this, 0, 2));
        return true;
    }

    @Override // kotlinx.coroutines.internal.C1383v, p060t1.C1660b1
    /* renamed from: r */
    public void mo610r(Object obj) {
        mo540j0(obj);
    }
}