package defpackage;

import kotlin.Metadata;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.jvm.internal.DebugMetadata;
import kotlin.coroutines.jvm.internal.SuspendLambda;

/* JADX INFO: renamed from: df0, reason: from Kotlin metadata and case insensitive filesystem */
/* JADX INFO: loaded from: classes3.dex */
@Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0003\u001a\u00020\u0002\"\u0004\b\u0000\u0010\u0000*\b\u0012\u0004\u0012\u00028\u00000\u0001H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"E", "Lyi7;", "Le6a;", "<anonymous>", "(Lyi7;)V"}, k = 3, mv = {2, 0, 0})
@DebugMetadata(c = "kotlinx.coroutines.channels.BroadcastKt$broadcast$2", f = "Broadcast.kt", i = {0, 1}, l = {26, 27}, m = "invokeSuspend", n = {"$this$broadcast", "$this$broadcast"}, s = {"L$0", "L$0"})
final class C0533df0 extends SuspendLambda implements gr3<yi7<Object>, Continuation<? super e6a>, Object> {
    public lv0 a;
    public int b;
    public /* synthetic */ Object c;

    @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
    public final Continuation create(Object obj, Continuation continuation) {
        throw null;
    }

    @Override // defpackage.gr3
    public final Object invoke(Object obj, Object obj2) {
        return ((C0533df0) create((yi7) obj, (Continuation) obj2)).invokeSuspend(e6a.a);
    }

    /* JADX WARN: Removed duplicated region for block: B:11:0x0027 A[PHI: r1 r4 r6
      0x0027: PHI (r1v2 lv0) = (r1v1 lv0), (r1v3 lv0) binds: [B:10:0x001e, B:17:0x004a] A[DONT_GENERATE, DONT_INLINE]
      0x0027: PHI (r4v2 yi7) = (r4v1 yi7), (r4v3 yi7) binds: [B:10:0x001e, B:17:0x004a] A[DONT_GENERATE, DONT_INLINE]
      0x0027: PHI (r6v4 java.lang.Object) = (r6v0 java.lang.Object), (r6v10 java.lang.Object) binds: [B:10:0x001e, B:17:0x004a] A[DONT_GENERATE, DONT_INLINE]] */
    /* JADX WARN: Removed duplicated region for block: B:13:0x002f  */
    /* JADX WARN: Removed duplicated region for block: B:19:0x004d  */
    /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:14:0x003d -> B:16:0x0040). Please report as a decompilation issue!!! */
    @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Object invokeSuspend(Object obj) {
        lv0 lv0Var;
        yi7 yi7Var;
        ck1 ck1Var = ck1.a;
        int i = this.b;
        if (i == 0) {
            s38.b(obj);
            throw null;
        }
        if (i != 1) {
            if (i != 2) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            lv0Var = this.a;
            yi7Var = (yi7) this.c;
            s38.b(obj);
            this.c = yi7Var;
            this.a = lv0Var;
            this.b = 1;
            obj = lv0Var.b(this);
            if (obj != ck1Var) {
                if (((Boolean) obj).booleanValue()) {
                    return e6a.a;
                }
                Object next = lv0Var.next();
                this.c = yi7Var;
                this.a = lv0Var;
                this.b = 2;
                if (yi7Var.s(next, this) != ck1Var) {
                    this.c = yi7Var;
                    this.a = lv0Var;
                    this.b = 1;
                    obj = lv0Var.b(this);
                    if (obj != ck1Var) {
                    }
                }
            }
            return ck1Var;
        }
        lv0Var = this.a;
        yi7Var = (yi7) this.c;
        s38.b(obj);
        if (((Boolean) obj).booleanValue()) {
        }
    }
}
