package d3;

import androidx.compose.runtime.MutableState;
import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class T implements J4.a {

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

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

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

    public /* synthetic */ T(int i6, Object obj, boolean z6) {
        this.f15325a = i6;
        this.f15326b = z6;
        this.f15327c = obj;
    }

    /* JADX WARN: Multi-variable type inference failed */
    @Override // J4.a
    public final Object invoke() {
        Y4.G gI;
        switch (this.f15325a) {
            case 0:
                return Boolean.valueOf(this.f15326b && ((Boolean) ((MutableState) this.f15327c).getValue()).booleanValue());
            case 1:
                if (!this.f15326b) {
                    ((MutableState) this.f15327c).setValue(Boolean.TRUE);
                }
                return C3137A.f25453a;
            default:
                C3137A c3137a = C3137A.f25453a;
                if (this.f15326b && (gI = ((T.e) this.f15327c).i()) != null) {
                    ((Y4.N) gI).c(c3137a);
                }
                return c3137a;
        }
    }
}
