package defpackage;

import androidx.media3.container.NalUnitUtil;
import kotlin.Metadata;
import kotlin.coroutines.Continuation;

/* JADX INFO: loaded from: classes3.dex */
@Metadata(k = 3, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
@vx8
final class be3<T> implements l43 {
    /* JADX WARN: Removed duplicated region for block: B:7:0x0013  */
    @Override // defpackage.l43
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Object emit(Object obj, Continuation continuation) {
        ae3 ae3Var;
        if (continuation instanceof ae3) {
            ae3Var = (ae3) continuation;
            int i = ae3Var.c;
            if ((i & Integer.MIN_VALUE) != 0) {
                ae3Var.c = i - Integer.MIN_VALUE;
            } else {
                ae3Var = new ae3(this, continuation);
            }
        }
        Object obj2 = ae3Var.a;
        ck1 ck1Var = ck1.a;
        int i2 = ae3Var.c;
        if (i2 == 0) {
            s38.b(obj2);
            throw null;
        }
        if (i2 != 1) {
            throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
        }
        s38.b(obj2);
        return e6a.a;
    }
}
