package o;

import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.api.CommonStatusCodes;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final /* synthetic */ class C5 implements NC {
    public final /* synthetic */ int l;
    public final /* synthetic */ InterfaceC1191fR m;

    public /* synthetic */ C5(InterfaceC1191fR interfaceC1191fR, int i) {
        this.l = i;
        this.m = interfaceC1191fR;
    }

    @Override // o.NC
    public final Object a() {
        int i = this.l;
        Oh0 oh0 = Oh0.a;
        InterfaceC1191fR interfaceC1191fR = this.m;
        switch (i) {
            case 0:
                InterfaceC1184fK interfaceC1184fK = (InterfaceC1184fK) interfaceC1191fR.getValue();
                if (interfaceC1184fK != null) {
                    return interfaceC1184fK;
                }
                AbstractC2417sH.d("Required value was null.");
                throw new C2170pj();
            case 1:
                InterfaceC1184fK interfaceC1184fK2 = (InterfaceC1184fK) interfaceC1191fR.getValue();
                if (interfaceC1184fK2 != null) {
                    return interfaceC1184fK2;
                }
                AbstractC2417sH.d("Required value was null.");
                throw new C2170pj();
            case 2:
                interfaceC1191fR.setValue(Boolean.FALSE);
                return oh0;
            case 3:
                interfaceC1191fR.setValue(Boolean.valueOf(!((Boolean) interfaceC1191fR.getValue()).booleanValue()));
                return oh0;
            case 4:
                Boolean bool = (Boolean) interfaceC1191fR.getValue();
                bool.booleanValue();
                return bool;
            case 5:
                interfaceC1191fR.setValue(Boolean.valueOf(!((Boolean) interfaceC1191fR.getValue()).booleanValue()));
                return oh0;
            case 6:
                interfaceC1191fR.setValue(Boolean.FALSE);
                return oh0;
            case 7:
                interfaceC1191fR.setValue(Boolean.FALSE);
                return oh0;
            case 8:
                interfaceC1191fR.setValue(Boolean.FALSE);
                return oh0;
            case ConnectionResult.SERVICE_INVALID /* 9 */:
                interfaceC1191fR.setValue(Boolean.TRUE);
                return oh0;
            case 10:
                interfaceC1191fR.setValue(Boolean.TRUE);
                return oh0;
            case ConnectionResult.LICENSE_CHECK_FAILED /* 11 */:
                interfaceC1191fR.setValue(Boolean.FALSE);
                return oh0;
            case 12:
                As0.c(interfaceC1191fR, false);
                return oh0;
            case 13:
                As0.c(interfaceC1191fR, false);
                return oh0;
            case 14:
                interfaceC1191fR.setValue(2);
                return oh0;
            case 15:
                interfaceC1191fR.setValue(3);
                return oh0;
            case 16:
                interfaceC1191fR.setValue(Boolean.TRUE);
                return oh0;
            case 17:
                interfaceC1191fR.setValue(Boolean.FALSE);
                return oh0;
            case ConnectionResult.SERVICE_UPDATING /* 18 */:
                interfaceC1191fR.setValue(Boolean.valueOf(!((Boolean) interfaceC1191fR.getValue()).booleanValue()));
                return oh0;
            case 19:
                interfaceC1191fR.setValue(Boolean.FALSE);
                return oh0;
            case 20:
                AbstractC2793wD.g(interfaceC1191fR, false);
                return oh0;
            case CommonStatusCodes.RECONNECTION_TIMED_OUT_DURING_UPDATE /* 21 */:
                AbstractC2793wD.h(interfaceC1191fR, false);
                return oh0;
            case 22:
                AbstractC2793wD.g(interfaceC1191fR, false);
                return oh0;
            case ConnectionResult.API_DISABLED /* 23 */:
                AbstractC2793wD.h(interfaceC1191fR, false);
                return oh0;
            case ConnectionResult.API_DISABLED_FOR_CONNECTION /* 24 */:
                YT.f(interfaceC1191fR, false);
                return oh0;
            case 25:
                interfaceC1191fR.setValue(Boolean.TRUE);
                return oh0;
            case 26:
                YT.f(interfaceC1191fR, false);
                return oh0;
            case 27:
                InterfaceC1184fK interfaceC1184fK3 = (InterfaceC1184fK) interfaceC1191fR.getValue();
                if (interfaceC1184fK3 != null) {
                    return interfaceC1184fK3;
                }
                AbstractC2417sH.d("Required value was null.");
                throw new C2170pj();
            case 28:
                int i2 = C60.l;
                interfaceC1191fR.setValue(Boolean.valueOf(!((Boolean) interfaceC1191fR.getValue()).booleanValue()));
                return oh0;
            default:
                int i3 = C60.l;
                interfaceC1191fR.setValue(null);
                return oh0;
        }
    }
}
