package androidx.slidingpanelayout.widget;

import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.CoroutineSingletons;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.Ref$BooleanRef;
import kotlinx.coroutines.flow.l;

/* JADX INFO: loaded from: classes.dex */
public final class c implements kotlinx.coroutines.flow.f {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f4258a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ kotlinx.coroutines.flow.f f4259b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ Object f4260c;

    public /* synthetic */ c(kotlinx.coroutines.flow.f fVar, Object obj, int i10) {
        this.f4258a = i10;
        this.f4259b = fVar;
        this.f4260c = obj;
    }

    @Override // kotlinx.coroutines.flow.f
    public final Object a(kotlinx.coroutines.flow.g gVar, Continuation continuation) {
        kd.e eVar = kd.e.f29109a;
        CoroutineSingletons coroutineSingletons = CoroutineSingletons.f29226a;
        int i10 = this.f4258a;
        kotlinx.coroutines.flow.f fVar = this.f4259b;
        Object obj = this.f4260c;
        switch (i10) {
            case 0:
                Object objA = fVar.a(new b(gVar, (d) obj), continuation);
                return objA == coroutineSingletons ? objA : eVar;
            default:
                Object objA2 = fVar.a(new l(new Ref$BooleanRef(), gVar, (Function2) obj), continuation);
                return objA2 == coroutineSingletons ? objA2 : eVar;
        }
    }
}
