Beispiel #1
0
N_NIMCALL(NimStringDesc*, getvalue_112975)(tstringtable112610* t, NU8 flags, NimStringDesc* key) {
	NimStringDesc* result;
	nimfr("getValue", "strtabs.nim")
	result = 0;
	nimln(150, "strtabs.nim");
	{
		NIM_BOOL LOC3;
		nimln(150, "strtabs.nim");
		LOC3 = 0;
		LOC3 = nsthasKey(t, key);
		if (!LOC3) goto LA4;
		nimln(150, "strtabs.nim");
		nimln(150, "strtabs.nim");
		result = nstGet(t, key);
		goto BeforeRet;
	}	LA4: ;
	nimln(152, "strtabs.nim");
	{
		nimln(730, "system.nim");
		if (!((flags &(1<<((((NU8) 0))&7)))!=0)) goto LA8;
		nimln(152, "strtabs.nim");
		nimln(152, "strtabs.nim");
		result = getenv_104625(key);
	}	goto LA6;
	LA8: ;
	{
		nimln(153, "strtabs.nim");
		result = copyString(((NimStringDesc*) &TMP284));
	}	LA6: ;
	nimln(154, "strtabs.nim");
	{
		nimln(154, "strtabs.nim");
		nimln(154, "strtabs.nim");
		if (!(result->Sup.len == 0)) goto LA13;
		nimln(155, "strtabs.nim");
		{
			NimStringDesc* LOC19;
			nimln(730, "system.nim");
			if (!((flags &(1<<((((NU8) 2))&7)))!=0)) goto LA17;
			nimln(155, "strtabs.nim");
			nimln(155, "strtabs.nim");
			LOC19 = 0;
			LOC19 = rawNewString(key->Sup.len + 1);
appendChar(LOC19, 36);
appendString(LOC19, key);
			result = LOC19;
		}		goto LA15;
		LA17: ;
		{
			nimln(156, "strtabs.nim");
			nimln(730, "system.nim");
			if (!!(((flags &(1<<((((NU8) 1))&7)))!=0))) goto LA21;
			nimln(156, "strtabs.nim");
			raiseformatexception_112955(key);		}		goto LA15;
		LA21: ;
		LA15: ;
	}	LA13: ;
	BeforeRet: ;	popFrame();
	return result;
}N_NIMCALL(void, TMP298)(void* p, NI op) {
Beispiel #2
0
N_NIMCALL(NIM_BOOL, isdynliboverride_154481)(NimStringDesc* lib) {
	NIM_BOOL result;
	NimStringDesc* LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = canondynlibname_154459(lib);
	result = nsthasKey(gdlloverrides_153232, LOC1);
	return result;
}
Beispiel #3
0
N_NIMCALL(NIM_BOOL, existsconfigvar_136305)(NimStringDesc* key) {
	NIM_BOOL result;
	nimfr("existsConfigVar", "options.nim")
	result = 0;
	nimln(175, "options.nim");
	result = nsthasKey(gconfigvars_136203, key);
	popFrame();
	return result;
}
Beispiel #4
0
N_NIMCALL(NimStringDesc*, getvalue_134630)(Stringtableobj134012* t, NU8 flags, NimStringDesc* key) {
    NimStringDesc* result;
    {   result = 0;
        {
            NIM_BOOL LOC3;
            LOC3 = 0;
            LOC3 = nsthasKey(t, key);
            if (!LOC3) goto LA4;
            result = nstGet(t, key);
            goto BeforeRet;
        }
LA4:
        ;
        {
            if (!((flags &(1<<((((NU8) 0))&7)))!=0)) goto LA8;
            result = getenv_122843(key);
        }
        goto LA6;
LA8:
        ;
        {
            result = copyString(((NimStringDesc*) &TMP1428));
        }
LA6:
        ;
        {
            if (!((result ? result->Sup.len : 0) == ((NI) 0))) goto LA13;
            {
                NimStringDesc* LOC19;
                if (!((flags &(1<<((((NU8) 2))&7)))!=0)) goto LA17;
                LOC19 = 0;
                LOC19 = rawNewString(key->Sup.len + 1);
                appendChar(LOC19, 36);
                appendString(LOC19, key);
                result = LOC19;
            }
            goto LA15;
LA17:
            ;
            {
                if (!!(((flags &(1<<((((NU8) 1))&7)))!=0))) goto LA21;
                raiseformatexception_134610(key);
            }
            goto LA15;
LA21:
            ;
LA15:
            ;
        }
LA13:
        ;
    }
BeforeRet:
    ;
    return result;
}
Beispiel #5
0
N_NIMCALL(NIM_BOOL, isdynliboverride_137374)(NimStringDesc* lib) {
	NIM_BOOL result;
	NimStringDesc* LOC1;
	nimfr("isDynlibOverride", "options.nim")
	result = 0;
	nimln(367, "options.nim");
	nimln(367, "options.nim");
	LOC1 = 0;
	LOC1 = canondynlibname_137360(lib);
	result = nsthasKey(gdlloverrides_136204, LOC1);
	popFrame();
	return result;
}
Beispiel #6
0
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getValue_4FxACgRMhRTaH9axGj4POzA)(tyObject_StringTableObj_V5PVrt9bIxZEeV7lfvqqtNg* t, tySet_tyEnum_FormatFlag_F4vlKAV4d0Kt9aXmu9cVNBrg flags, NimStringDesc* key) {
	NimStringDesc* result;
{	result = (NimStringDesc*)0;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = nsthasKey(t, key);
		if (!T3_) goto LA4_;
		result = getOrDefault_H9ck9bJDr0wy9bImHhMsTWhpw(t, key, ((NimStringDesc*) NIM_NIL));
		goto BeforeRet_;
	}
	LA4_: ;
	{
		if (!((flags &(1U<<((NU)(((tyEnum_FormatFlag_F4vlKAV4d0Kt9aXmu9cVNBrg) 0))&7U)))!=0)) goto LA8_;
		result = getEnv_9b1nh9cAHhSLlHOPz8lCk5FA(key, ((NimStringDesc*) NIM_NIL));
	}
	goto LA6_;
	LA8_: ;
	{
		result = ((NimStringDesc*) NIM_NIL);
	}
	LA6_: ;
	{
		if (!((result ? result->Sup.len : 0) == ((NI) 0))) goto LA13_;
		{
			NimStringDesc* T19_;
			if (!((flags &(1U<<((NU)(((tyEnum_FormatFlag_F4vlKAV4d0Kt9aXmu9cVNBrg) 2))&7U)))!=0)) goto LA17_;
			T19_ = (NimStringDesc*)0;
			T19_ = rawNewString((key ? key->Sup.len : 0) + 1);
appendChar(T19_, 36);
appendString(T19_, key);
			result = T19_;
		}
		goto LA15_;
		LA17_: ;
		{
			if (!!(((flags &(1U<<((NU)(((tyEnum_FormatFlag_F4vlKAV4d0Kt9aXmu9cVNBrg) 1))&7U)))!=0))) goto LA21_;
			raiseFormatException_UlRj9cCVaVq3wqa9ckfyqy9cQ(key);
		}
		goto LA15_;
		LA21_: ;
		LA15_: ;
	}
	LA13_: ;
	}BeforeRet_: ;
	return result;
}
Beispiel #7
0
N_NIMCALL(NimStringDesc*, getvalue_140927)(Stringtableobj140209* t, NU8 flags, NimStringDesc* key) {
	NimStringDesc* result;
{	result = 0;
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = nsthasKey(t, key);
		if (!LOC3) goto LA4;
		result = getordefault_140814(t, key);
		goto BeforeRet;
	}
	LA4: ;
	{
		if (!((flags &(1U<<((NU)(((NU8) 0))&7U)))!=0)) goto LA8;
		result = getenv_126024(key);
	}
	goto LA6;
	LA8: ;
	{
		result = copyString(((NimStringDesc*) &TMP1795));
	}
	LA6: ;
	{
		if (!((result ? result->Sup.len : 0) == ((NI) 0))) goto LA13;
		{
			NimStringDesc* LOC19;
			if (!((flags &(1U<<((NU)(((NU8) 2))&7U)))!=0)) goto LA17;
			LOC19 = 0;
			LOC19 = rawNewString(key->Sup.len + 1);
appendChar(LOC19, 36);
appendString(LOC19, key);
			result = LOC19;
		}
		goto LA15;
		LA17: ;
		{
			if (!!(((flags &(1U<<((NU)(((NU8) 1))&7U)))!=0))) goto LA21;
			raiseformatexception_140913(key);
		}
		goto LA15;
		LA21: ;
		LA15: ;
	}
	LA13: ;
	}BeforeRet: ;
	return result;
}
N_NIMCALL(NIM_BOOL, isdefined_142016)(NimStringDesc* symbol) {
	NIM_BOOL result;
	nimfr("isDefined", "condsyms.nim")
	result = 0;
	nimln(26, "condsyms.nim");
	{
		NIM_BOOL LOC3;
		NimStringDesc* LOC6;
		nimln(26, "condsyms.nim");
		LOC3 = 0;
		LOC3 = nsthasKey(gsymbols_142003, symbol);
		if (!LOC3) goto LA4;
		nimln(27, "condsyms.nim");
		nimln(27, "condsyms.nim");
		nimln(27, "condsyms.nim");
		LOC6 = 0;
		LOC6 = nstGet(gsymbols_142003, symbol);
		result = eqStrings(LOC6, ((NimStringDesc*) &TMP897));
	}	LA4: ;
	popFrame();
	return result;
}
Beispiel #9
0
N_NIMCALL(NIM_BOOL, isdefined_191010)(NimStringDesc* symbol) {
	NIM_BOOL result;
	result = 0;
	{
		NIM_BOOL LOC3;
		NimStringDesc** LOC6;
		LOC3 = 0;
		LOC3 = nsthasKey(gsymbols_191001, symbol);
		if (!LOC3) goto LA4;
		LOC6 = 0;
		LOC6 = nstTake(gsymbols_191001, symbol);
		result = !(eqStrings((*LOC6), ((NimStringDesc*) &TMP1591)));
	}
	goto LA1;
	LA4: ;
	{
		NI LOC8;
		LOC8 = 0;
		LOC8 = nsuCmpIgnoreStyle(symbol, Cpu_168476[(targetcpu_168601)- 1].Field0);
		if (!(LOC8 == ((NI) 0))) goto LA9;
		result = NIM_TRUE;
	}
	goto LA1;
	LA9: ;
	{
		NI LOC12;
		LOC12 = 0;
		LOC12 = nsuCmpIgnoreStyle(symbol, Os_168055[(targetos_168603)- 1].Field0);
		if (!(LOC12 == ((NI) 0))) goto LA13;
		result = NIM_TRUE;
	}
	goto LA1;
	LA13: ;
	{
		NimStringDesc* LOC16;
		LOC16 = 0;
		LOC16 = nsuNormalize(symbol);
		switch (hashString(LOC16) & 31) {
		case 2: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1602))) goto LA25;
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1608))) goto LA31;
break;
		case 6: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1597))) goto LA21;
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1605))) goto LA28;
break;
		case 7: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1594))) goto LA19;
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1604))) goto LA27;
break;
		case 8: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1601))) goto LA24;
break;
		case 11: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1599))) goto LA23;
break;
		case 13: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1603))) goto LA26;
break;
		case 15: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1592))) goto LA17;
break;
		case 17: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1598))) goto LA22;
break;
		case 19: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1596))) goto LA20;
break;
		case 20: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1610))) goto LA33;
break;
		case 22: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1606))) goto LA29;
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1607))) goto LA30;
break;
		case 25: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1609))) goto LA32;
break;
		case 27: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1593))) goto LA18;
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1600))) goto LA24;
break;
		case 30: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1595))) goto LA20;
break;
		}
		goto LA34;
		LA17: ;
		{
			result = (targetcpu_168601 == ((NU8) 1));
		}
		goto LA35;
		LA18: ;
		{
			result = (targetcpu_168601 == ((NU8) 9));
		}
		goto LA35;
		LA19: ;
		{
			result = (targetcpu_168601 == ((NU8) 10));
		}
		goto LA35;
		LA20: ;
		{
			result = ((3768304 &(1U<<((NU)(targetos_168603)&31U)))!=0);
		}
		goto LA35;
		LA21: ;
		{
			result = ((3584 &(1U<<((NU)(targetos_168603)&31U)))!=0);
		}
		goto LA35;
		LA22: ;
		{
			result = ((Os_168055[(targetos_168603)- 1].Field12 &(1U<<((NU)(((NU8) 3))&7U)))!=0);
		}
		goto LA35;
		LA23: ;
		{
			result = (targetos_168603 == ((NU8) 1));
		}
		goto LA35;
		LA24: ;
		{
			result = (targetos_168603 == ((NU8) 2));
		}
		goto LA35;
		LA25: ;
		{
			result = ((786432 &(1U<<((NU)(targetos_168603)&31U)))!=0);
		}
		goto LA35;
		LA26: ;
		{
			result = (targetos_168603 == ((NU8) 7));
		}
		goto LA35;
		LA27: ;
		{
			result = (Cpu_168476[(targetcpu_168601)- 1].Field2 == ((NU8) 0));
		}
		goto LA35;
		LA28: ;
		{
			result = (Cpu_168476[(targetcpu_168601)- 1].Field2 == ((NU8) 1));
		}
		goto LA35;
		LA29: ;
		{
			result = (Cpu_168476[(targetcpu_168601)- 1].Field4 == ((NI) 8));
		}
		goto LA35;
		LA30: ;
		{
			result = (Cpu_168476[(targetcpu_168601)- 1].Field4 == ((NI) 16));
		}
		goto LA35;
		LA31: ;
		{
			result = (Cpu_168476[(targetcpu_168601)- 1].Field4 == ((NI) 32));
		}
		goto LA35;
		LA32: ;
		{
			result = (Cpu_168476[(targetcpu_168601)- 1].Field4 == ((NI) 64));
		}
		goto LA35;
		LA33: ;
		{
			result = ((528000 &(1U<<((NU)(targetos_168603)&31U)))!=0);
		}
		goto LA35;
		LA34: ;
		{
		}
		LA35: ;
	}
	LA1: ;
	return result;
}
Beispiel #10
0
N_NIMCALL(NIM_BOOL, isdefined_166031)(NimStringDesc* symbol) {
	NIM_BOOL result;
	nimfr("isDefined", "condsyms.nim")
	result = 0;
	nimln(29, "condsyms.nim");
	{
		NIM_BOOL LOC3;
		NimStringDesc* LOC6;
		LOC3 = 0;
		LOC3 = nsthasKey(gsymbols_166004, symbol);
		if (!LOC3) goto LA4;
		nimln(30, "condsyms.nim");
		LOC6 = 0;
		LOC6 = nstGet(gsymbols_166004, symbol);
		result = !(eqStrings(LOC6, ((NimStringDesc*) &TMP1318)));
	}
	goto LA1;
	LA4: ;
	{
		NI LOC8;
		nimln(31, "condsyms.nim");
		if (targetcpu_157600 < 1 || targetcpu_157600 > 14) raiseIndexError();
		LOC8 = 0;
		LOC8 = nsuCmpIgnoreStyle(symbol, Cpu_157496[(targetcpu_157600)- 1].Field0);
		if (!(LOC8 == ((NI) 0))) goto LA9;
		nimln(32, "condsyms.nim");
		result = NIM_TRUE;
	}
	goto LA1;
	LA9: ;
	{
		NI LOC12;
		nimln(33, "condsyms.nim");
		if (targetos_157602 < 1 || targetos_157602 > 24) raiseIndexError();
		LOC12 = 0;
		LOC12 = nsuCmpIgnoreStyle(symbol, Os_157070[(targetos_157602)- 1].Field0);
		if (!(LOC12 == ((NI) 0))) goto LA13;
		nimln(34, "condsyms.nim");
		result = NIM_TRUE;
	}
	goto LA1;
	LA13: ;
	{
		NimStringDesc* LOC16;
		nimln(36, "condsyms.nim");
		LOC16 = 0;
		LOC16 = nsuNormalize(symbol);
		switch (hashString(LOC16) & 31) {
		case 2: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1334))) goto LA25;
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1340))) goto LA31;
break;
		case 6: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1329))) goto LA21;
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1337))) goto LA28;
break;
		case 7: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1326))) goto LA19;
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1336))) goto LA27;
break;
		case 8: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1333))) goto LA24;
break;
		case 11: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1331))) goto LA23;
break;
		case 13: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1335))) goto LA26;
break;
		case 15: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1324))) goto LA17;
break;
		case 17: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1330))) goto LA22;
break;
		case 19: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1328))) goto LA20;
break;
		case 20: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1342))) goto LA33;
break;
		case 22: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1338))) goto LA29;
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1339))) goto LA30;
break;
		case 25: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1341))) goto LA32;
break;
		case 27: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1325))) goto LA18;
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1332))) goto LA24;
break;
		case 30: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1327))) goto LA20;
break;
		}
		goto LA34;
		LA17: ;
		{
			nimln(37, "condsyms.nim");
			result = (targetcpu_157600 == ((NU8) 1));
		}
		goto LA35;
		LA18: ;
		{
			nimln(38, "condsyms.nim");
			result = (targetcpu_157600 == ((NU8) 8));
		}
		goto LA35;
		LA19: ;
		{
			nimln(39, "condsyms.nim");
			result = (targetcpu_157600 == ((NU8) 9));
		}
		goto LA35;
		LA20: ;
		{
			nimln(41, "condsyms.nim");
			result = ((3768304 &(1<<((targetos_157602)&31)))!=0);
		}
		goto LA35;
		LA21: ;
		{
			nimln(46, "condsyms.nim");
			result = ((3584 &(1<<((targetos_157602)&31)))!=0);
		}
		goto LA35;
		LA22: ;
		{
			nimln(48, "condsyms.nim");
			if (targetos_157602 < 1 || targetos_157602 > 24) raiseIndexError();
			result = ((Os_157070[(targetos_157602)- 1].Field12 &(1<<((((NU8) 3))&7)))!=0);
		}
		goto LA35;
		LA23: ;
		{
			nimln(49, "condsyms.nim");
			result = (targetos_157602 == ((NU8) 1));
		}
		goto LA35;
		LA24: ;
		{
			nimln(50, "condsyms.nim");
			result = (targetos_157602 == ((NU8) 2));
		}
		goto LA35;
		LA25: ;
		{
			nimln(51, "condsyms.nim");
			result = ((786432 &(1<<((targetos_157602)&31)))!=0);
		}
		goto LA35;
		LA26: ;
		{
			nimln(52, "condsyms.nim");
			result = (targetos_157602 == ((NU8) 7));
		}
		goto LA35;
		LA27: ;
		{
			nimln(53, "condsyms.nim");
			if (targetcpu_157600 < 1 || targetcpu_157600 > 14) raiseIndexError();
			result = (Cpu_157496[(targetcpu_157600)- 1].Field2 == ((NU8) 0));
		}
		goto LA35;
		LA28: ;
		{
			nimln(54, "condsyms.nim");
			if (targetcpu_157600 < 1 || targetcpu_157600 > 14) raiseIndexError();
			result = (Cpu_157496[(targetcpu_157600)- 1].Field2 == ((NU8) 1));
		}
		goto LA35;
		LA29: ;
		{
			nimln(55, "condsyms.nim");
			if (targetcpu_157600 < 1 || targetcpu_157600 > 14) raiseIndexError();
			result = (Cpu_157496[(targetcpu_157600)- 1].Field4 == ((NI) 8));
		}
		goto LA35;
		LA30: ;
		{
			nimln(56, "condsyms.nim");
			if (targetcpu_157600 < 1 || targetcpu_157600 > 14) raiseIndexError();
			result = (Cpu_157496[(targetcpu_157600)- 1].Field4 == ((NI) 16));
		}
		goto LA35;
		LA31: ;
		{
			nimln(57, "condsyms.nim");
			if (targetcpu_157600 < 1 || targetcpu_157600 > 14) raiseIndexError();
			result = (Cpu_157496[(targetcpu_157600)- 1].Field4 == ((NI) 32));
		}
		goto LA35;
		LA32: ;
		{
			nimln(58, "condsyms.nim");
			if (targetcpu_157600 < 1 || targetcpu_157600 > 14) raiseIndexError();
			result = (Cpu_157496[(targetcpu_157600)- 1].Field4 == ((NI) 64));
		}
		goto LA35;
		LA33: ;
		{
			nimln(60, "condsyms.nim");
			result = ((528000 &(1<<((targetos_157602)&31)))!=0);
		}
		goto LA35;
		LA34: ;
		{
		}
		LA35: ;
	}
	LA1: ;
	popFrame();
	return result;
}
Beispiel #11
0
N_NIMCALL(NIM_BOOL, isdefined_BNPf2mtM9a7JF7UKiCAngvg)(NimStringDesc* symbol0) {
	NIM_BOOL result0;
	result0 = (NIM_BOOL)0;
	{
		NIM_BOOL LOC3;
		NimStringDesc** LOC6;
		LOC3 = (NIM_BOOL)0;
		LOC3 = nsthasKey(gsymbols_tS4f2TwBfIz6zIuFAktH6g, symbol0);
		if (!LOC3) goto LA4;
		LOC6 = (NimStringDesc**)0;
		LOC6 = nstTake(gsymbols_tS4f2TwBfIz6zIuFAktH6g, symbol0);
		result0 = !(eqStrings((*LOC6), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_3)));
	}
	goto LA1;
	LA4: ;
	{
		NI LOC8;
		LOC8 = (NI)0;
		LOC8 = nsuCmpIgnoreStyle(symbol0, Cpu_uYXopJX8pM87pQDCtmgWfQ[(targetcpu_6ZqNUOGOAkmp4zxKVZ9cFag)- 1].Field0);
		if (!(LOC8 == ((NI) 0))) goto LA9;
		result0 = NIM_TRUE;
	}
	goto LA1;
	LA9: ;
	{
		NI LOC12;
		LOC12 = (NI)0;
		LOC12 = nsuCmpIgnoreStyle(symbol0, Os_Jx0qy9c9bSo4fGkMxUfUaAaw[(targetos_PyF9cBkuAlI8I7Y7KiZHIYQ)- 1].Field0);
		if (!(LOC12 == ((NI) 0))) goto LA13;
		result0 = NIM_TRUE;
	}
	goto LA1;
	LA13: ;
	{
		NimStringDesc* LOC16;
		LOC16 = (NimStringDesc*)0;
		LOC16 = nsuNormalize(symbol0);
		switch (hashString(LOC16) & 31) {
		case 2: 
if (eqStrings(LOC16, ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_14))) goto LA25;
if (eqStrings(LOC16, ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_20))) goto LA31;
break;
		case 6: 
if (eqStrings(LOC16, ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_9))) goto LA21;
if (eqStrings(LOC16, ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_17))) goto LA28;
break;
		case 7: 
if (eqStrings(LOC16, ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_6))) goto LA19;
if (eqStrings(LOC16, ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_16))) goto LA27;
break;
		case 8: 
if (eqStrings(LOC16, ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_13))) goto LA24;
break;
		case 11: 
if (eqStrings(LOC16, ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_11))) goto LA23;
break;
		case 13: 
if (eqStrings(LOC16, ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_15))) goto LA26;
break;
		case 15: 
if (eqStrings(LOC16, ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_4))) goto LA17;
break;
		case 17: 
if (eqStrings(LOC16, ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_10))) goto LA22;
break;
		case 19: 
if (eqStrings(LOC16, ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_8))) goto LA20;
break;
		case 20: 
if (eqStrings(LOC16, ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_22))) goto LA33;
break;
		case 22: 
if (eqStrings(LOC16, ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_18))) goto LA29;
if (eqStrings(LOC16, ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_19))) goto LA30;
break;
		case 25: 
if (eqStrings(LOC16, ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_21))) goto LA32;
break;
		case 27: 
if (eqStrings(LOC16, ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_5))) goto LA18;
if (eqStrings(LOC16, ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_12))) goto LA24;
break;
		case 30: 
if (eqStrings(LOC16, ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_7))) goto LA20;
break;
		}
		goto LA34;
		LA17: ;
		{
			result0 = (targetcpu_6ZqNUOGOAkmp4zxKVZ9cFag == ((Tsystemcpu_XYDt7D1G3qcClFyZy1Ky9ag) 1));
		}
		goto LA35;
		LA18: ;
		{
			result0 = (targetcpu_6ZqNUOGOAkmp4zxKVZ9cFag == ((Tsystemcpu_XYDt7D1G3qcClFyZy1Ky9ag) 9));
		}
		goto LA35;
		LA19: ;
		{
			result0 = (targetcpu_6ZqNUOGOAkmp4zxKVZ9cFag == ((Tsystemcpu_XYDt7D1G3qcClFyZy1Ky9ag) 10));
		}
		goto LA35;
		LA20: ;
		{
			result0 = ((3768304 &(1U<<((NU)(targetos_PyF9cBkuAlI8I7Y7KiZHIYQ)&31U)))!=0);
		}
		goto LA35;
		LA21: ;
		{
			result0 = ((3584 &(1U<<((NU)(targetos_PyF9cBkuAlI8I7Y7KiZHIYQ)&31U)))!=0);
		}
		goto LA35;
		LA22: ;
		{
			result0 = ((Os_Jx0qy9c9bSo4fGkMxUfUaAaw[(targetos_PyF9cBkuAlI8I7Y7KiZHIYQ)- 1].Field12 &(1U<<((NU)(((Tinfoosprop_thetQwB9agpeQ13qFmAcWhg) 3))&7U)))!=0);
		}
		goto LA35;
		LA23: ;
		{
			result0 = (targetos_PyF9cBkuAlI8I7Y7KiZHIYQ == ((Tsystemos_s7Mlr1t66SUqP6BKJMXLaQ) 1));
		}
		goto LA35;
		LA24: ;
		{
			result0 = (targetos_PyF9cBkuAlI8I7Y7KiZHIYQ == ((Tsystemos_s7Mlr1t66SUqP6BKJMXLaQ) 2));
		}
		goto LA35;
		LA25: ;
		{
			result0 = ((786432 &(1U<<((NU)(targetos_PyF9cBkuAlI8I7Y7KiZHIYQ)&31U)))!=0);
		}
		goto LA35;
		LA26: ;
		{
			result0 = (targetos_PyF9cBkuAlI8I7Y7KiZHIYQ == ((Tsystemos_s7Mlr1t66SUqP6BKJMXLaQ) 7));
		}
		goto LA35;
		LA27: ;
		{
			result0 = (Cpu_uYXopJX8pM87pQDCtmgWfQ[(targetcpu_6ZqNUOGOAkmp4zxKVZ9cFag)- 1].Field2 == ((Tendian_bQ3yFYQJojZPNYsZnS7Zjg) 0));
		}
		goto LA35;
		LA28: ;
		{
			result0 = (Cpu_uYXopJX8pM87pQDCtmgWfQ[(targetcpu_6ZqNUOGOAkmp4zxKVZ9cFag)- 1].Field2 == ((Tendian_bQ3yFYQJojZPNYsZnS7Zjg) 1));
		}
		goto LA35;
		LA29: ;
		{
			result0 = (Cpu_uYXopJX8pM87pQDCtmgWfQ[(targetcpu_6ZqNUOGOAkmp4zxKVZ9cFag)- 1].Field4 == ((NI) 8));
		}
		goto LA35;
		LA30: ;
		{
			result0 = (Cpu_uYXopJX8pM87pQDCtmgWfQ[(targetcpu_6ZqNUOGOAkmp4zxKVZ9cFag)- 1].Field4 == ((NI) 16));
		}
		goto LA35;
		LA31: ;
		{
			result0 = (Cpu_uYXopJX8pM87pQDCtmgWfQ[(targetcpu_6ZqNUOGOAkmp4zxKVZ9cFag)- 1].Field4 == ((NI) 32));
		}
		goto LA35;
		LA32: ;
		{
			result0 = (Cpu_uYXopJX8pM87pQDCtmgWfQ[(targetcpu_6ZqNUOGOAkmp4zxKVZ9cFag)- 1].Field4 == ((NI) 64));
		}
		goto LA35;
		LA33: ;
		{
			result0 = ((528000 &(1U<<((NU)(targetos_PyF9cBkuAlI8I7Y7KiZHIYQ)&31U)))!=0);
		}
		goto LA35;
		LA34: ;
		{
		}
		LA35: ;
	}
	LA1: ;
	return result0;
}
Beispiel #12
0
N_NIMCALL(NIM_BOOL, isdefined_168031)(NimStringDesc* symbol) {
	NIM_BOOL result;
	result = 0;
	{
		NIM_BOOL LOC3;
		NimStringDesc* LOC6;
		LOC3 = 0;
		LOC3 = nsthasKey(gsymbols_168004, symbol);
		if (!LOC3) goto LA4;
		LOC6 = 0;
		LOC6 = nstGet(gsymbols_168004, symbol);
		result = !(eqStrings(LOC6, ((NimStringDesc*) &TMP1461)));
	}
	goto LA1;
	LA4: ;
	{
		NI LOC8;
		LOC8 = 0;
		LOC8 = nsuCmpIgnoreStyle(symbol, Cpu_159496[(targetcpu_159600)- 1].Field0);
		if (!(LOC8 == ((NI) 0))) goto LA9;
		result = NIM_TRUE;
	}
	goto LA1;
	LA9: ;
	{
		NI LOC12;
		LOC12 = 0;
		LOC12 = nsuCmpIgnoreStyle(symbol, Os_159070[(targetos_159602)- 1].Field0);
		if (!(LOC12 == ((NI) 0))) goto LA13;
		result = NIM_TRUE;
	}
	goto LA1;
	LA13: ;
	{
		NimStringDesc* LOC16;
		LOC16 = 0;
		LOC16 = nsuNormalize(symbol);
		switch (hashString(LOC16) & 31) {
		case 0: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1471))) goto LA24;
break;
		case 1: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1470))) goto LA24;
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1480))) goto LA33;
break;
		case 2: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1478))) goto LA31;
break;
		case 3: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1469))) goto LA23;
break;
		case 6: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1467))) goto LA21;
break;
		case 13: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1473))) goto LA26;
break;
		case 15: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1462))) goto LA17;
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1463))) goto LA18;
break;
		case 19: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1466))) goto LA20;
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1468))) goto LA22;
break;
		case 20: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1475))) goto LA28;
break;
		case 22: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1476))) goto LA29;
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1477))) goto LA30;
break;
		case 23: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1464))) goto LA19;
break;
		case 25: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1479))) goto LA32;
break;
		case 27: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1474))) goto LA27;
break;
		case 30: 
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1465))) goto LA20;
if (eqStrings(LOC16, ((NimStringDesc*) &TMP1472))) goto LA25;
break;
		}
		goto LA34;
		LA17: ;
		{
			result = (targetcpu_159600 == ((NU8) 1));
		}
		goto LA35;
		LA18: ;
		{
			result = (targetcpu_159600 == ((NU8) 8));
		}
		goto LA35;
		LA19: ;
		{
			result = (targetcpu_159600 == ((NU8) 9));
		}
		goto LA35;
		LA20: ;
		{
			result = ((3768304 &(1<<((targetos_159602)&31)))!=0);
		}
		goto LA35;
		LA21: ;
		{
			result = ((3584 &(1<<((targetos_159602)&31)))!=0);
		}
		goto LA35;
		LA22: ;
		{
			result = ((Os_159070[(targetos_159602)- 1].Field12 &(1<<((((NU8) 3))&7)))!=0);
		}
		goto LA35;
		LA23: ;
		{
			result = (targetos_159602 == ((NU8) 1));
		}
		goto LA35;
		LA24: ;
		{
			result = (targetos_159602 == ((NU8) 2));
		}
		goto LA35;
		LA25: ;
		{
			result = ((786432 &(1<<((targetos_159602)&31)))!=0);
		}
		goto LA35;
		LA26: ;
		{
			result = (targetos_159602 == ((NU8) 7));
		}
		goto LA35;
		LA27: ;
		{
			result = (Cpu_159496[(targetcpu_159600)- 1].Field2 == ((NU8) 0));
		}
		goto LA35;
		LA28: ;
		{
			result = (Cpu_159496[(targetcpu_159600)- 1].Field2 == ((NU8) 1));
		}
		goto LA35;
		LA29: ;
		{
			result = (Cpu_159496[(targetcpu_159600)- 1].Field4 == ((NI) 8));
		}
		goto LA35;
		LA30: ;
		{
			result = (Cpu_159496[(targetcpu_159600)- 1].Field4 == ((NI) 16));
		}
		goto LA35;
		LA31: ;
		{
			result = (Cpu_159496[(targetcpu_159600)- 1].Field4 == ((NI) 32));
		}
		goto LA35;
		LA32: ;
		{
			result = (Cpu_159496[(targetcpu_159600)- 1].Field4 == ((NI) 64));
		}
		goto LA35;
		LA33: ;
		{
			result = ((528000 &(1<<((targetos_159602)&31)))!=0);
		}
		goto LA35;
		LA34: ;
		{
		}
		LA35: ;
	}
	LA1: ;
	return result;
}
Beispiel #13
0
N_NIMCALL(NIM_BOOL, existsconfigvar_153330)(NimStringDesc* key) {
	NIM_BOOL result;
	result = 0;
	result = nsthasKey(gconfigvars_153231, key);
	return result;
}
Beispiel #14
0
N_NIMCALL(NimStringDesc*, getpackagename_153825)(NimStringDesc* path) {
	NimStringDesc* result;
	NI parents;
{	result = 0;
	parents = ((NI) 0);
	{
		{
			NimStringDesc* d_153831;
			NimStringDesc* current_153888;
			d_153831 = 0;
			current_153888 = copyString(path);
			{
				while (1) {
					current_153888 = nosparentDir(current_153888);
					{
						if (!((current_153888 ? current_153888->Sup.len : 0) == ((NI) 0))) goto LA7;
						goto LA3;
					}
					LA7: ;
					d_153831 = current_153888;
					{
						NIM_BOOL LOC11;
						LOC11 = 0;
						LOC11 = nsthasKey(packagecache_153601, d_153831);
						if (!LOC11) goto LA12;
						result = nstGet(packagecache_153601, d_153831);
						goto BeforeRet;
					}
					LA12: ;
					parents += ((NI) 1);
					{
						NimStringDesc* file_153841;
						NimStringDesc* HEX3Atmp_153855;
						glob_t f_153859;
						NI res_153861;
						int LOC15;
						file_153841 = 0;
						HEX3Atmp_153855 = 0;
						HEX3Atmp_153855 = HEX2F_118292(d_153831, ((NimStringDesc*) &TMP1433));
						memset((void*)(&f_153859), 0, sizeof(f_153859));
						res_153861 = 0;
						f_153859.gl_offs = ((NI) 0);
						f_153859.gl_pathc = ((NI) 0);
						f_153859.gl_pathv = NIM_NIL;
						LOC15 = 0;
						LOC15 = glob(HEX3Atmp_153855->data, ((int) 0), NIM_NIL, (&f_153859));
						res_153861 = ((NI) (LOC15));
						{
							if (!(res_153861 == ((NI) 0))) goto LA18;
							{
								NI i_153863;
								NI HEX3Atmp_153865;
								NI res_153867;
								i_153863 = 0;
								HEX3Atmp_153865 = 0;
								HEX3Atmp_153865 = (NI)(f_153859.gl_pathc - ((NI) 1));
								res_153867 = ((NI) 0);
								{
									while (1) {
										TY118589 LOC23;
										if (!(res_153867 <= HEX3Atmp_153865)) goto LA22;
										i_153863 = res_153867;
										file_153841 = cstrToNimstr(f_153859.gl_pathv[(i_153863)- 0]);
										memset((void*)(&LOC23), 0, sizeof(LOC23));
										nossplitFile(file_153841, (&LOC23));
										result = copyString(LOC23.Field1);
										goto LA1;
										res_153867 += ((NI) 1);
									} LA22: ;
								}
							}
						}
						LA18: ;
						globfree((&f_153859));
					}
					{
						NimStringDesc* file_153842;
						NimStringDesc* HEX3Atmp_153871;
						glob_t f_153875;
						NI res_153877;
						int LOC25;
						file_153842 = 0;
						HEX3Atmp_153871 = 0;
						HEX3Atmp_153871 = HEX2F_118292(d_153831, ((NimStringDesc*) &TMP1434));
						memset((void*)(&f_153875), 0, sizeof(f_153875));
						res_153877 = 0;
						f_153875.gl_offs = ((NI) 0);
						f_153875.gl_pathc = ((NI) 0);
						f_153875.gl_pathv = NIM_NIL;
						LOC25 = 0;
						LOC25 = glob(HEX3Atmp_153871->data, ((int) 0), NIM_NIL, (&f_153875));
						res_153877 = ((NI) (LOC25));
						{
							if (!(res_153877 == ((NI) 0))) goto LA28;
							{
								NI i_153879;
								NI HEX3Atmp_153881;
								NI res_153883;
								i_153879 = 0;
								HEX3Atmp_153881 = 0;
								HEX3Atmp_153881 = (NI)(f_153875.gl_pathc - ((NI) 1));
								res_153883 = ((NI) 0);
								{
									while (1) {
										TY118589 LOC33;
										if (!(res_153883 <= HEX3Atmp_153881)) goto LA32;
										i_153879 = res_153883;
										file_153842 = cstrToNimstr(f_153875.gl_pathv[(i_153879)- 0]);
										memset((void*)(&LOC33), 0, sizeof(LOC33));
										nossplitFile(file_153842, (&LOC33));
										result = copyString(LOC33.Field1);
										goto LA1;
										res_153883 += ((NI) 1);
									} LA32: ;
								}
							}
						}
						LA28: ;
						globfree((&f_153875));
					}
				}
			} LA3: ;
		}
	} LA1: ;
	{
		if (!result == 0) goto LA36;
		result = copyString(((NimStringDesc*) &TMP39));
	}
	LA36: ;
	{
		NimStringDesc* d_153843;
		NimStringDesc* current_153892;
		d_153843 = 0;
		current_153892 = copyString(path);
		{
			while (1) {
				current_153892 = nosparentDir(current_153892);
				{
					if (!((current_153892 ? current_153892->Sup.len : 0) == ((NI) 0))) goto LA43;
					goto LA39;
				}
				LA43: ;
				d_153843 = current_153892;
				nstPut(packagecache_153601, d_153843, result);
				parents -= ((NI) 1);
				{
					if (!(parents <= ((NI) 0))) goto LA47;
					goto LA38;
				}
				LA47: ;
			}
		} LA39: ;
	} LA38: ;
	}BeforeRet: ;
	return result;
}
Beispiel #15
0
N_NIMCALL(NimStringDesc*, getpackagename_136811)(NimStringDesc* path) {
	NimStringDesc* result;
	NI parents;
	NimStringDesc* d_136835;
	NimStringDesc* current_136866;
	nimfr("getPackageName", "options.nim")
	result = 0;
	nimln(234, "options.nim");
	parents = 0;
	{
		NimStringDesc* d_136817;
		NimStringDesc* current_136864;
		d_136817 = 0;
		nimln(227, "options.nim");
		current_136864 = copyString(path);
		nimln(228, "options.nim");
		while (1) {
			NimStringDesc* file_136834;
			NimStringDesc* HEX3Atmp_136852;
			glob_t f_136854;
			NI res_136856;
			int LOC12;
			nimln(229, "options.nim");
			current_136864 = nosparentDir(current_136864);
			nimln(230, "options.nim");
			{
				nimln(230, "options.nim");
				nimln(230, "options.nim");
				if (!(current_136864->Sup.len == 0)) goto LA5;
				nimln(230, "options.nim");
				goto LA2;
			}
			LA5: ;
			nimln(227, "options.nim");
			d_136817 = current_136864;
			nimln(237, "options.nim");
			{
				NIM_BOOL LOC9;
				nimln(237, "options.nim");
				LOC9 = 0;
				LOC9 = nsthasKey(packagecache_136601, d_136817);
				if (!LOC9) goto LA10;
				nimln(239, "options.nim");
				nimln(239, "options.nim");
				result = nstGet(packagecache_136601, d_136817);
				goto BeforeRet;
			}
			LA10: ;
			nimln(240, "options.nim");
			parents = addInt(parents, 1);
			file_136834 = 0;
			HEX3Atmp_136852 = 0;
			nimln(241, "options.nim");
			HEX3Atmp_136852 = HEX2F_108477(d_136817, ((NimStringDesc*) &TMP425));
			memset((void*)&f_136854, 0, sizeof(f_136854));
			res_136856 = 0;
			nimln(1208, "os.nim");
			f_136854.gl_offs = 0;
			nimln(1209, "os.nim");
			f_136854.gl_pathc = 0;
			nimln(1210, "os.nim");
			f_136854.gl_pathv = NIM_NIL;
			nimln(1211, "os.nim");
			nimln(1211, "os.nim");
			LOC12 = 0;
			LOC12 = glob(HEX3Atmp_136852->data, ((int) 0), NIM_NIL, &f_136854);
			res_136856 = ((NI) (LOC12));
			nimln(1212, "os.nim");
			{
				NI i_136858;
				NI HEX3Atmp_136860;
				NI TMP426;
				NI res_136862;
				nimln(1212, "os.nim");
				if (!(res_136856 == 0)) goto LA15;
				i_136858 = 0;
				HEX3Atmp_136860 = 0;
				nimln(1213, "os.nim");
				nimln(1213, "os.nim");
				TMP426 = subInt(f_136854.gl_pathc, 1);
				HEX3Atmp_136860 = (NI32)(TMP426);
				nimln(1457, "system.nim");
				res_136862 = 0;
				nimln(1458, "system.nim");
				while (1) {
					TY108700 LOC22;
					nimln(1458, "system.nim");
					if (!(res_136862 <= HEX3Atmp_136860)) goto LA17;
					nimln(1457, "system.nim");
					i_136858 = res_136862;
					nimln(1214, "os.nim");
					{
						nimln(1214, "os.nim");
						nimln(1214, "os.nim");
						nimln(1214, "os.nim");
						if ((NU)(i_136858) > (NU)(50000)) raiseIndexError();
						if (!!(!((f_136854.gl_pathv[(i_136858)- 0] == NIM_NIL)))) goto LA20;
						nimln(1214, "os.nim");
						failedassertimpl_79821(((NimStringDesc*) &TMP427));
					}
					LA20: ;
					nimln(1215, "os.nim");
					nimln(1215, "os.nim");
					if ((NU)(i_136858) > (NU)(50000)) raiseIndexError();
					file_136834 = cstrToNimstr(f_136854.gl_pathv[(i_136858)- 0]);
					nimln(242, "options.nim");
					nimln(242, "options.nim");
					memset((void*)&LOC22, 0, sizeof(LOC22));
					nossplitFile(file_136834, &LOC22);
					result = copyString(LOC22.Field1);
					nimln(243, "options.nim");
					goto LA1;
					nimln(1460, "system.nim");
					res_136862 = addInt(res_136862, 1);
				} LA17: ;
			}
			LA15: ;
			nimln(1216, "os.nim");
			globfree(&f_136854);
		} LA2: ;
	} LA1: ;
	nimln(245, "options.nim");
	{
		nimln(245, "options.nim");
		if (!result == 0) goto LA25;
		nimln(245, "options.nim");
		result = copyString(((NimStringDesc*) &TMP404));
	}
	LA25: ;
	d_136835 = 0;
	nimln(227, "options.nim");
	current_136866 = copyString(path);
	nimln(228, "options.nim");
	while (1) {
		nimln(229, "options.nim");
		current_136866 = nosparentDir(current_136866);
		nimln(230, "options.nim");
		{
			nimln(230, "options.nim");
			nimln(230, "options.nim");
			if (!(current_136866->Sup.len == 0)) goto LA30;
			nimln(230, "options.nim");
			goto LA27;
		}
		LA30: ;
		nimln(227, "options.nim");
		d_136835 = current_136866;
		nimln(248, "options.nim");
		nstPut(packagecache_136601, d_136835, result);
		nimln(249, "options.nim");
		parents = subInt(parents, 1);
		nimln(250, "options.nim");
		{
			nimln(250, "options.nim");
			if (!(parents <= 0)) goto LA34;
			nimln(250, "options.nim");
			goto LA27;
		}
		LA34: ;
	} LA27: ;
	BeforeRet: ;
	popFrame();
	return result;
}
N_NIMCALL(NIM_BOOL, isdefined_198011_1967573533)(NimStringDesc* symbol0) {
	NIM_BOOL result0;
	result0 = (NIM_BOOL)0;
	{
		NIM_BOOL LOC3;
		NimStringDesc** LOC6;
		LOC3 = (NIM_BOOL)0;
		LOC3 = nsthasKey(gsymbols_198001_1967573533, symbol0);
		if (!LOC3) goto LA4;
		LOC6 = (NimStringDesc**)0;
		LOC6 = nstTake(gsymbols_198001_1967573533, symbol0);
		result0 = !(eqStrings((*LOC6), ((NimStringDesc*) &T1967573533_3)));
	}
	goto LA1;
	LA4: ;
	{
		NI LOC8;
		LOC8 = (NI)0;
		LOC8 = nsuCmpIgnoreStyle(symbol0, Cpu_175496_4151366050[(targetcpu_175627_4151366050)- 1].Field0);
		if (!(LOC8 == ((NI) 0))) goto LA9;
		result0 = NIM_TRUE;
	}
	goto LA1;
	LA9: ;
	{
		NI LOC12;
		LOC12 = (NI)0;
		LOC12 = nsuCmpIgnoreStyle(symbol0, Os_175068_4151366050[(targetos_175629_4151366050)- 1].Field0);
		if (!(LOC12 == ((NI) 0))) goto LA13;
		result0 = NIM_TRUE;
	}
	goto LA1;
	LA13: ;
	{
		NimStringDesc* LOC16;
		LOC16 = (NimStringDesc*)0;
		LOC16 = nsuNormalize(symbol0);
		switch (hashString(LOC16) & 31) {
		case 2: 
if (eqStrings(LOC16, ((NimStringDesc*) &T1967573533_14))) goto LA25;
if (eqStrings(LOC16, ((NimStringDesc*) &T1967573533_20))) goto LA31;
break;
		case 6: 
if (eqStrings(LOC16, ((NimStringDesc*) &T1967573533_9))) goto LA21;
if (eqStrings(LOC16, ((NimStringDesc*) &T1967573533_17))) goto LA28;
break;
		case 7: 
if (eqStrings(LOC16, ((NimStringDesc*) &T1967573533_6))) goto LA19;
if (eqStrings(LOC16, ((NimStringDesc*) &T1967573533_16))) goto LA27;
break;
		case 8: 
if (eqStrings(LOC16, ((NimStringDesc*) &T1967573533_13))) goto LA24;
break;
		case 11: 
if (eqStrings(LOC16, ((NimStringDesc*) &T1967573533_11))) goto LA23;
break;
		case 13: 
if (eqStrings(LOC16, ((NimStringDesc*) &T1967573533_15))) goto LA26;
break;
		case 15: 
if (eqStrings(LOC16, ((NimStringDesc*) &T1967573533_4))) goto LA17;
break;
		case 17: 
if (eqStrings(LOC16, ((NimStringDesc*) &T1967573533_10))) goto LA22;
break;
		case 19: 
if (eqStrings(LOC16, ((NimStringDesc*) &T1967573533_8))) goto LA20;
break;
		case 20: 
if (eqStrings(LOC16, ((NimStringDesc*) &T1967573533_22))) goto LA33;
break;
		case 22: 
if (eqStrings(LOC16, ((NimStringDesc*) &T1967573533_18))) goto LA29;
if (eqStrings(LOC16, ((NimStringDesc*) &T1967573533_19))) goto LA30;
break;
		case 25: 
if (eqStrings(LOC16, ((NimStringDesc*) &T1967573533_21))) goto LA32;
break;
		case 27: 
if (eqStrings(LOC16, ((NimStringDesc*) &T1967573533_5))) goto LA18;
if (eqStrings(LOC16, ((NimStringDesc*) &T1967573533_12))) goto LA24;
break;
		case 30: 
if (eqStrings(LOC16, ((NimStringDesc*) &T1967573533_7))) goto LA20;
break;
		}
		goto LA34;
		LA17: ;
		{
			result0 = (targetcpu_175627_4151366050 == ((Tsystemcpu175452) 1));
		}
		goto LA35;
		LA18: ;
		{
			result0 = (targetcpu_175627_4151366050 == ((Tsystemcpu175452) 9));
		}
		goto LA35;
		LA19: ;
		{
			result0 = (targetcpu_175627_4151366050 == ((Tsystemcpu175452) 10));
		}
		goto LA35;
		LA20: ;
		{
			result0 = ((3768304 &(1U<<((NU)(targetos_175629_4151366050)&31U)))!=0);
		}
		goto LA35;
		LA21: ;
		{
			result0 = ((3584 &(1U<<((NU)(targetos_175629_4151366050)&31U)))!=0);
		}
		goto LA35;
		LA22: ;
		{
			result0 = ((Os_175068_4151366050[(targetos_175629_4151366050)- 1].Field12 &(1U<<((NU)(((Tinfoosprop175031) 3))&7U)))!=0);
		}
		goto LA35;
		LA23: ;
		{
			result0 = (targetos_175629_4151366050 == ((Tsystemos175004) 1));
		}
		goto LA35;
		LA24: ;
		{
			result0 = (targetos_175629_4151366050 == ((Tsystemos175004) 2));
		}
		goto LA35;
		LA25: ;
		{
			result0 = ((786432 &(1U<<((NU)(targetos_175629_4151366050)&31U)))!=0);
		}
		goto LA35;
		LA26: ;
		{
			result0 = (targetos_175629_4151366050 == ((Tsystemos175004) 7));
		}
		goto LA35;
		LA27: ;
		{
			result0 = (Cpu_175496_4151366050[(targetcpu_175627_4151366050)- 1].Field2 == ((Tendian175474) 0));
		}
		goto LA35;
		LA28: ;
		{
			result0 = (Cpu_175496_4151366050[(targetcpu_175627_4151366050)- 1].Field2 == ((Tendian175474) 1));
		}
		goto LA35;
		LA29: ;
		{
			result0 = (Cpu_175496_4151366050[(targetcpu_175627_4151366050)- 1].Field4 == ((NI) 8));
		}
		goto LA35;
		LA30: ;
		{
			result0 = (Cpu_175496_4151366050[(targetcpu_175627_4151366050)- 1].Field4 == ((NI) 16));
		}
		goto LA35;
		LA31: ;
		{
			result0 = (Cpu_175496_4151366050[(targetcpu_175627_4151366050)- 1].Field4 == ((NI) 32));
		}
		goto LA35;
		LA32: ;
		{
			result0 = (Cpu_175496_4151366050[(targetcpu_175627_4151366050)- 1].Field4 == ((NI) 64));
		}
		goto LA35;
		LA33: ;
		{
			result0 = ((528000 &(1U<<((NU)(targetos_175629_4151366050)&31U)))!=0);
		}
		goto LA35;
		LA34: ;
		{
		}
		LA35: ;
	}
	LA1: ;
	return result0;
}