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)
final class av0<T> implements l43 {
    /* JADX WARN: Removed duplicated region for block: B:7:0x0013  */
    @Override // defpackage.l43
    /* JADX INFO: renamed from: b, reason: merged with bridge method [inline-methods] */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Object emit(j43 j43Var, Continuation continuation) {
        zu0 zu0Var;
        if (continuation instanceof zu0) {
            zu0Var = (zu0) continuation;
            int i = zu0Var.e;
            if ((i & Integer.MIN_VALUE) != 0) {
                zu0Var.e = i - Integer.MIN_VALUE;
            } else {
                zu0Var = new zu0(this, continuation);
            }
        }
        Object obj = zu0Var.c;
        ck1 ck1Var = ck1.a;
        int i2 = zu0Var.e;
        if (i2 == 0) {
            s38.b(obj);
            zu0Var.a = this;
            zu0Var.b = j43Var;
            zu0Var.e = 1;
            throw null;
        }
        if (i2 != 1) {
            throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
        }
        j43 j43Var2 = zu0Var.b;
        av0 av0Var = (av0) zu0Var.a;
        s38.b(obj);
        av0Var.getClass();
        wj0.c(null, null, null, new yu0(j43Var2, null, null, null), 3);
        return e6a.a;
    }
}
