package io.flutter.plugins.sharedpreferences;

import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.CoroutineSingletons;

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

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

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ androidx.datastore.preferences.core.d f28297c;

    public /* synthetic */ l(kotlinx.coroutines.flow.f fVar, androidx.datastore.preferences.core.d dVar, int i10) {
        this.f28295a = i10;
        this.f28296b = fVar;
        this.f28297c = dVar;
    }

    @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.f28295a;
        kotlinx.coroutines.flow.f fVar = this.f28296b;
        androidx.datastore.preferences.core.d dVar = this.f28297c;
        switch (i10) {
            case 0:
                Object objA = fVar.a(new k(gVar, dVar), continuation);
                return objA == coroutineSingletons ? objA : eVar;
            case 1:
                Object objA2 = fVar.a(new o(gVar, dVar), continuation);
                return objA2 == coroutineSingletons ? objA2 : eVar;
            case 2:
                Object objA3 = fVar.a(new p(gVar, dVar), continuation);
                return objA3 == coroutineSingletons ? objA3 : eVar;
            default:
                Object objA4 = fVar.a(new q(gVar, dVar), continuation);
                return objA4 == coroutineSingletons ? objA4 : eVar;
        }
    }
}
