package K;

import G0.InterfaceC0279y;
import T0.C0596g;
import androidx.compose.runtime.MutableState;
import w4.C3137A;

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

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

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

    public /* synthetic */ C0490z(C0464l0 c0464l0, int i6) {
        this.f4033a = i6;
        this.f4034b = c0464l0;
    }

    /* JADX WARN: Multi-variable type inference failed */
    @Override // J4.c
    public final Object invoke(Object obj) {
        switch (this.f4033a) {
            case 0:
                Boolean bool = (Boolean) obj;
                bool.booleanValue();
                this.f4034b.f3904q.setValue(bool);
                return C3137A.f25453a;
            case 1:
                InterfaceC0279y interfaceC0279y = (InterfaceC0279y) obj;
                S0 s0D = this.f4034b.d();
                if (s0D != null) {
                    s0D.f3744c = interfaceC0279y;
                }
                return C3137A.f25453a;
            case 2:
                Z0.y yVar = (Z0.y) obj;
                String str = yVar.f9136a.f6510b;
                C0464l0 c0464l0 = this.f4034b;
                C0596g c0596g = c0464l0.f3898j;
                if (!kotlin.jvm.internal.o.c(str, c0596g != null ? c0596g.f6510b : null)) {
                    c0464l0.f3899k.setValue(Y.f3765a);
                    MutableState mutableState = c0464l0.f3907t;
                    if (((Boolean) mutableState.getValue()).booleanValue()) {
                        mutableState.setValue(Boolean.FALSE);
                    } else {
                        c0464l0.f3906s.setValue(Boolean.FALSE);
                    }
                }
                long j4 = T0.N.f6481b;
                c0464l0.f3887A.setValue(new T0.N(j4));
                c0464l0.f3888B.setValue(new T0.N(j4));
                c0464l0.f3908u.invoke(yVar);
                c0464l0.f3890b.invalidate();
                return C3137A.f25453a;
            case 3:
                this.f4034b.f3905r.b(((Z0.j) obj).f9109a);
                return C3137A.f25453a;
            default:
                return Boolean.valueOf(this.f4034b.f3905r.b(((Z0.j) obj).f9109a));
        }
    }
}
