package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Zm, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final /* synthetic */ class C0661Zm implements OC {
    public final /* synthetic */ int l;
    public final /* synthetic */ MK m;

    public /* synthetic */ C0661Zm(MK mk, int i) {
        this.l = i;
        this.m = mk;
    }

    @Override // o.OC
    public final Object g(Object obj) {
        switch (this.l) {
            case 0:
                Boolean bool = (Boolean) obj;
                bool.booleanValue();
                this.m.q.setValue(bool);
                return Oh0.a;
            case 1:
                MK mk = this.m;
                MV mv = mk.t;
                C2730ve0 c2730ve0 = (C2730ve0) obj;
                String str = c2730ve0.a.m;
                C0977d7 c0977d7 = mk.j;
                if (!F3.c(str, c0977d7 != null ? c0977d7.m : null)) {
                    mk.k.setValue(EnumC3079zE.l);
                    if (((Boolean) mv.getValue()).booleanValue()) {
                        mv.setValue(Boolean.FALSE);
                    } else {
                        mk.s.setValue(Boolean.FALSE);
                    }
                }
                long j = Ue0.b;
                mk.f(j);
                mk.e(j);
                mk.u.g(c2730ve0);
                L00 l00 = mk.b;
                C0555Vk c0555Vk = l00.a;
                if (c0555Vk != null) {
                    c0555Vk.n(l00, null);
                }
                return Oh0.a;
            case 2:
                this.m.r.a(((GG) obj).a);
                return Oh0.a;
            default:
                return Boolean.valueOf(this.m.r.a(((GG) obj).a));
        }
    }
}
