package K;

import B.f1;
import androidx.compose.runtime.snapshots.SnapshotStateList;
import w4.C3137A;

/* JADX INFO: renamed from: K.s, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class C0476s implements J4.c {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ V0 f3981b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ J4.c f3982c;

    public /* synthetic */ C0476s(V0 v02, J4.c cVar, int i6) {
        this.f3980a = i6;
        this.f3981b = v02;
        this.f3982c = cVar;
    }

    @Override // J4.c
    public final Object invoke(Object obj) {
        switch (this.f3980a) {
            case 0:
                T0.L l = (T0.L) obj;
                V0 v02 = this.f3981b;
                if (v02 != null) {
                    v02.f3753a.setValue(l);
                }
                J4.c cVar = this.f3982c;
                if (cVar != null) {
                    cVar.invoke(l);
                }
                return C3137A.f25453a;
            default:
                V0 v03 = this.f3981b;
                SnapshotStateList snapshotStateList = v03.f3755c;
                J4.c cVar2 = this.f3982c;
                snapshotStateList.add(cVar2);
                return new f1(5, v03, cVar2);
        }
    }
}
