what-the-bank/sources/o/C15048gfh.java

45 lines
1.4 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
/* renamed from: o.gfh, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C15048gfh<T> extends C15121ghj<T> {
static final AtomicIntegerFieldUpdater b = AtomicIntegerFieldUpdater.newUpdater(C15048gfh.class, "_decision");
volatile int _decision;
public C15048gfh(InterfaceC14912gbn interfaceC14912gbn, InterfaceC14907gbi<? super T> interfaceC14907gbi) {
super(interfaceC14912gbn, interfaceC14907gbi);
this._decision = 0;
}
private final boolean n() {
do {
int i = this._decision;
if (i != 0) {
if (i == 1) {
return false;
}
throw new IllegalStateException("Already resumed".toString());
}
} while (!b.compareAndSet(this, 0, 2));
return true;
}
@Override // o.C15121ghj, o.AbstractC15020geo
public final void c(Object obj) {
if (n()) {
return;
}
C15069ggJ.a(C14911gbm.a(((C15121ghj) this).c), geL.d(obj, ((C15121ghj) this).c), null);
}
@Override // o.C15121ghj, o.gfH
public final void a(Object obj) {
if (n()) {
return;
}
C15069ggJ.a(C14911gbm.a(((C15121ghj) this).c), geL.d(obj, ((C15121ghj) this).c), null);
}
}