/* Generated by Nim Compiler v0.19.4 */
/*   (c) 2018 Andreas Rumpf */
/* The generated code is subject to the original license. */
#define NIM_NEW_MANGLING_RULES
#define NIM_INTBITS 32

#include "nimbase.h"
#include <string.h>
#undef LANGUAGE_C
#undef MIPSEB
#undef MIPSEL
#undef PPC
#undef R3000
#undef R4000
#undef i386
#undef linux
#undef mips
#undef near
#undef far
#undef powerpc
#undef unix
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw;
typedef struct tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q;
typedef struct tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w;
typedef struct tyObject_TIdObj_iIXPrEsiKHiioLj0HSkQhA tyObject_TIdObj_iIXPrEsiKHiioLj0HSkQhA;
typedef struct RootObj RootObj;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tySequence_Ef05srmQTDulnBdXR4Ja6Q tySequence_Ef05srmQTDulnBdXR4Ja6Q;
typedef struct tySequence_DXS6mEo7PVUFJkirsQ9bNQA tySequence_DXS6mEo7PVUFJkirsQ9bNQA;
typedef struct tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA;
typedef struct tySequence_DfgJFJEYoj4YBAHLZPl5lQ tySequence_DfgJFJEYoj4YBAHLZPl5lQ;
typedef struct tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ;
typedef struct tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA;
typedef struct tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw;
typedef struct tyObject_TLoc_EtHNvCB0bgfu9bFjzx9cb6aA tyObject_TLoc_EtHNvCB0bgfu9bFjzx9cb6aA;
typedef struct tyObject_RopeObj_OFzf0kSiPTcNreUIeJgWVA tyObject_RopeObj_OFzf0kSiPTcNreUIeJgWVA;
typedef struct tyObject_TLib_NBMxlJ6g3utqUlplqTTHkA tyObject_TLib_NBMxlJ6g3utqUlplqTTHkA;
typedef struct tyObject_TInstantiation_5LqgVn6Tq9ainQRK7TQAQxA tyObject_TInstantiation_5LqgVn6Tq9ainQRK7TQAQxA;
typedef NU8 tyEnum_StyleCheck_132xwWC8AgNAoAB0QeMtyA;
struct TGenericSeq {
NI len;
NI reserved;
};
struct NimStringDesc {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q {
NU16 line;
NI16 col;
NI32 fileIndex;
};
typedef NU8 tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw;
typedef NU8 tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A;
typedef NU8 tySet_tyEnum_TNimTypeFlag_v8QUszD1sWlSIWZz7mC4bQ;
typedef N_NIMCALL_PTR(void, tyProc_ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, tyProc_WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
struct TNimType {
NI size;
tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A kind;
tySet_tyEnum_TNimTypeFlag_v8QUszD1sWlSIWZz7mC4bQ flags;
TNimType* base;
TNimNode* node;
void* finalizer;
tyProc_ojoeKfW4VYIm36I9cpDTQIg marker;
tyProc_WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
};
struct RootObj {
TNimType* m_type;
};
struct tyObject_TIdObj_iIXPrEsiKHiioLj0HSkQhA {
  RootObj Sup;
NI id;
};
struct tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA {
NI counter;
tySequence_DfgJFJEYoj4YBAHLZPl5lQ* data;
};
typedef NU16 tyEnum_TMagic_shZhZOdbVC5nnFvcXQAImg;
typedef NU64 tySet_tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw;
typedef NU32 tySet_tyEnum_TOption_WspMeQySXNP2XoTWR5MTgg;
typedef NU8 tyEnum_TLocKind_O7PRFZKuiBBWbku09cayVBg;
typedef NU8 tyEnum_TStorageLoc_JK9cKMX3XnqHaUky9b6gkGEw;
typedef NU16 tySet_tyEnum_TLocFlag_o2bqJgR4ceIupnUSpxiudA;
struct tyObject_TLoc_EtHNvCB0bgfu9bFjzx9cb6aA {
tyEnum_TLocKind_O7PRFZKuiBBWbku09cayVBg k;
tyEnum_TStorageLoc_JK9cKMX3XnqHaUky9b6gkGEw storage;
tySet_tyEnum_TLocFlag_o2bqJgR4ceIupnUSpxiudA flags;
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* lode;
tyObject_RopeObj_OFzf0kSiPTcNreUIeJgWVA* r;
tyObject_RopeObj_OFzf0kSiPTcNreUIeJgWVA* dup;
};
struct tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w {
  tyObject_TIdObj_iIXPrEsiKHiioLj0HSkQhA Sup;
tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw kind;
union{
struct {tySequence_Ef05srmQTDulnBdXR4Ja6Q* typeInstCache;
} S1;
struct {tySequence_DXS6mEo7PVUFJkirsQ9bNQA* procInstCache;
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* gcUnsafetyReason;
} S2;
struct {tySequence_DXS6mEo7PVUFJkirsQ9bNQA* usedGenerics;
tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA tab;
} S3;
struct {tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* guard;
NI bitsize;
} S4;
} _Ukind;
tyEnum_TMagic_shZhZOdbVC5nnFvcXQAImg magic;
tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typ;
tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA* name;
tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q info;
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* owner;
tySet_tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw flags;
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* ast;
tySet_tyEnum_TOption_WspMeQySXNP2XoTWR5MTgg options;
NI position;
NI offset;
tyObject_TLoc_EtHNvCB0bgfu9bFjzx9cb6aA loc;
tyObject_TLib_NBMxlJ6g3utqUlplqTTHkA* annex;
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* constraint;
};
struct tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA {
  tyObject_TIdObj_iIXPrEsiKHiioLj0HSkQhA Sup;
NimStringDesc* s;
tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA* next;
NI h;
};
typedef NU8 tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw;
typedef NU8 tySet_tyChar_nmiMWKVIe46vacnhAFrQvw[32];
typedef NimStringDesc* tyArray_cAoqYoaFoFzvrzzqwH6IFg[33];
typedef NU8 tyEnum_TMsgKind_29cbg2fC1z5iM1PAI28kR5w;
struct tySequence_Ef05srmQTDulnBdXR4Ja6Q {
  TGenericSeq Sup;
  tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* data[SEQ_DECL_SIZE];
};
struct tySequence_DXS6mEo7PVUFJkirsQ9bNQA {
  TGenericSeq Sup;
  tyObject_TInstantiation_5LqgVn6Tq9ainQRK7TQAQxA* data[SEQ_DECL_SIZE];
};
struct tySequence_DfgJFJEYoj4YBAHLZPl5lQ {
  TGenericSeq Sup;
  tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* data[SEQ_DECL_SIZE];
};
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, beautifyName_fOdwioWHjTwKHWAVS9bR9cng)(NimStringDesc* s, tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw k);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, allCharsInSet_wVfr4F6j4mVzI8ggLoMVdw)(NimStringDesc* s, tySet_tyChar_nmiMWKVIe46vacnhAFrQvw theSet);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
N_NIMCALL(NimStringDesc*, rawNewString)(NI cap);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqtilde__5yoNqXoYehBJvvfaWrX6Rg)(NimStringDesc* s, NimStringDesc** a, NI aLen_0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nsuStartsWith)(NimStringDesc* s, NimStringDesc* prefix);
N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c);
N_LIB_PRIVATE N_NIMCALL(NIM_CHAR, nsuToUpperAsciiChar)(NIM_CHAR c);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains_6e5MGL10HDAJ205lBYpWxw)(NimStringDesc* s, NIM_CHAR c);
N_LIB_PRIVATE N_NIMCALL(NIM_CHAR, nsuToLowerAsciiChar)(NIM_CHAR c);
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
static N_INLINE(NIM_BOOL, equalMem_DCrUjdaMvFDHaR1hs7sQGwropes)(void* a, void* b, NI size);
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
N_LIB_PRIVATE N_NIMCALL(void, message_mMj7lrOf3zBP9bl69amiKu5g)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q info, tyEnum_TMsgKind_29cbg2fC1z5iM1PAI28kR5w msg, NimStringDesc* arg);
NIM_BOOL gOverWrite_awlWeHLXqH2RGhCXOgkaJw;
tyEnum_StyleCheck_132xwWC8AgNAoAB0QeMtyA gStyleCheck_t9cO3xNdLER7laiyYSxLzVw;
NIM_BOOL gCheckExtern_4yZXvm0Xd1WH8tfScIkz5Q;
NIM_BOOL gOnlyMainfile_0CJCyyAB2coBZm3ypUzMfA;
static NIM_CONST tySet_tyChar_nmiMWKVIe46vacnhAFrQvw TM_NvI37FoCN5uTD3k9bAqbGMA_2 = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x03,
0xFE, 0xFF, 0xFF, 0x87, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_4, "int", 3);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_5, "uint", 4);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_6, "cint", 4);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_7, "cuint", 5);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_8, "clong", 5);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_9, "cstring", 7);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_10, "string", 6);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_11, "char", 4);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_12, "byte", 4);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_13, "bool", 4);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_14, "openArray", 9);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_15, "seq", 3);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_16, "array", 5);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_17, "void", 4);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_18, "pointer", 7);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_19, "float", 5);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_20, "csize", 5);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_21, "cdouble", 7);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_22, "cchar", 5);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_23, "cschar", 6);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_24, "cshort", 6);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_25, "cu", 2);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_26, "nil", 3);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_27, "expr", 4);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_28, "stmt", 4);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_29, "typedesc", 8);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_30, "auto", 4);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_31, "any", 3);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_32, "range", 5);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_33, "openarray", 9);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_34, "varargs", 7);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_35, "set", 3);
STRING_LITERAL(TM_NvI37FoCN5uTD3k9bAqbGMA_36, "cfloat", 6);
NIM_CONST tyArray_cAoqYoaFoFzvrzzqwH6IFg TM_NvI37FoCN5uTD3k9bAqbGMA_3 = {((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_4),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_5),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_6),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_7),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_8),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_9),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_10),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_11),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_12),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_13),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_14),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_15),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_16),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_17),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_18),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_19),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_20),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_21),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_22),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_23),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_24),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_25),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_26),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_27),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_28),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_29),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_30),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_31),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_32),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_33),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_34),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_35),
((NimStringDesc*) &TM_NvI37FoCN5uTD3k9bAqbGMA_36)}
;

N_LIB_PRIVATE N_NIMCALL(NI, identLen_shED4elzF3U9bsbeBn9aTKAA)(NimStringDesc* line, NI start) {
	NI result;
	result = (NI)0;
	{
		while (1) {
			NIM_BOOL T3_;
			T3_ = (NIM_BOOL)0;
			T3_ = ((NI)(start + result) < (line ? line->Sup.len : 0));
			if (!(T3_)) goto LA4_;
			T3_ = (((NU8)(line->data[(NI)(start + result)])) >= ((NU8)(97)) && ((NU8)(line->data[(NI)(start + result)])) <= ((NU8)(122)) || ((NU8)(line->data[(NI)(start + result)])) >= ((NU8)(65)) && ((NU8)(line->data[(NI)(start + result)])) <= ((NU8)(90)) || ((NU8)(line->data[(NI)(start + result)])) >= ((NU8)(48)) && ((NU8)(line->data[(NI)(start + result)])) <= ((NU8)(57)) || ((NU8)(line->data[(NI)(start + result)])) >= ((NU8)(128)) && ((NU8)(line->data[(NI)(start + result)])) <= ((NU8)(255)) || ((NU8)(line->data[(NI)(start + result)])) == ((NU8)(95)));
			LA4_: ;
			if (!T3_) goto LA2;
			result += ((NI) 1);
		} LA2: ;
	}
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqtilde__5yoNqXoYehBJvvfaWrX6Rg)(NimStringDesc* s, NimStringDesc** a, NI aLen_0) {
	NIM_BOOL result;
{	result = (NIM_BOOL)0;
	{
		NimStringDesc* x;
		NI i;
		x = (NimStringDesc*)0;
		i = ((NI) 0);
		{
			while (1) {
				if (!(i < aLen_0)) goto LA3;
				x = a[i];
				{
					NIM_BOOL T6_;
					T6_ = (NIM_BOOL)0;
					T6_ = nsuStartsWith(s, x);
					if (!T6_) goto LA7_;
					result = NIM_TRUE;
					goto BeforeRet_;
				}
				LA7_: ;
				i += ((NI) 1);
			} LA3: ;
		}
	}
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, beautifyName_fOdwioWHjTwKHWAVS9bR9cng)(NimStringDesc* s, tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw k) {
	NimStringDesc* result;
	NIM_BOOL allUpper;
	NI i;
{	result = (NimStringDesc*)0;
	allUpper = allCharsInSet_wVfr4F6j4mVzI8ggLoMVdw(s, TM_NvI37FoCN5uTD3k9bAqbGMA_2);
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = allUpper;
		if (!(T3_)) goto LA4_;
		T3_ = ((1049728 &(1U<<((NU)(k)&31U)))!=0);
		LA4_: ;
		if (!T3_) goto LA5_;
		result = copyString(s);
		goto BeforeRet_;
	}
	LA5_: ;
	result = rawNewString(((NI) ((s ? s->Sup.len : 0))));
	i = ((NI) 0);
	switch (k) {
	case ((tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw) 7):
	case ((tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw) 4):
	{
		{
			NIM_BOOL T10_;
			T10_ = (NIM_BOOL)0;
			T10_ = eqtilde__5yoNqXoYehBJvvfaWrX6Rg(s, TM_NvI37FoCN5uTD3k9bAqbGMA_3, 33);
			if (!T10_) goto LA11_;
			result = addChar(result, s->data[i]);
		}
		goto LA8_;
		LA11_: ;
		{
			NIM_CHAR T14_;
			T14_ = (NIM_CHAR)0;
			T14_ = nsuToUpperAsciiChar(s->data[i]);
			result = addChar(result, T14_);
		}
		LA8_: ;
	}
	break;
	case ((tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw) 10):
	case ((tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw) 20):
	{
		result = addChar(result, s->data[((NI) 0)]);
	}
	break;
	default:
	{
		{
			NIM_BOOL T19_;
			T19_ = (NIM_BOOL)0;
			T19_ = ((s ? s->Sup.len : 0) == ((NI) 1));
			if (!(T19_)) goto LA20_;
			T19_ = ((NU8)(s->data[((NI) 0)]) == (NU8)(76));
			LA20_: ;
			if (!T19_) goto LA21_;
			result = addChar(result, 76);
		}
		goto LA17_;
		LA21_: ;
		{
			NIM_BOOL T24_;
			T24_ = (NIM_BOOL)0;
			T24_ = contains_6e5MGL10HDAJ205lBYpWxw(s, 95);
			if (!T24_) goto LA25_;
			result = addChar(result, s->data[i]);
		}
		goto LA17_;
		LA25_: ;
		{
			NIM_CHAR T28_;
			T28_ = (NIM_CHAR)0;
			T28_ = nsuToLowerAsciiChar(s->data[((NI) 0)]);
			result = addChar(result, T28_);
		}
		LA17_: ;
	}
	break;
	}
	i += ((NI) 1);
	{
		while (1) {
			if (!(i < (s ? s->Sup.len : 0))) goto LA30;
			{
				if (!((NU8)(s->data[i]) == (NU8)(95))) goto LA33_;
				{
					NIM_BOOL T37_;
					T37_ = (NIM_BOOL)0;
					T37_ = (((NI) 0) < i);
					if (!(T37_)) goto LA38_;
					T37_ = (((NU8)(s->data[(NI)(i - ((NI) 1))])) >= ((NU8)(65)) && ((NU8)(s->data[(NI)(i - ((NI) 1))])) <= ((NU8)(90)));
					LA38_: ;
					if (!T37_) goto LA39_;
					result = addChar(result, 95);
					i += ((NI) 1);
					result = addChar(result, s->data[i]);
				}
				goto LA35_;
				LA39_: ;
				{
					NIM_CHAR T42_;
					i += ((NI) 1);
					T42_ = (NIM_CHAR)0;
					T42_ = nsuToUpperAsciiChar(s->data[i]);
					result = addChar(result, T42_);
				}
				LA35_: ;
			}
			goto LA31_;
			LA33_: ;
			{
				NIM_CHAR T46_;
				if (!allUpper) goto LA44_;
				T46_ = (NIM_CHAR)0;
				T46_ = nsuToLowerAsciiChar(s->data[i]);
				result = addChar(result, T46_);
			}
			goto LA31_;
			LA44_: ;
			{
				result = addChar(result, s->data[i]);
			}
			LA31_: ;
			i += ((NI) 1);
		} LA30: ;
	}
	}BeforeRet_: ;
	return result;
}

static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size) {
	int result;
	result = (int)0;
	result = memcmp(a, b, ((size_t) (size)));
	return result;
}

static N_INLINE(NIM_BOOL, equalMem_DCrUjdaMvFDHaR1hs7sQGwropes)(void* a, void* b, NI size) {
	NIM_BOOL result;
	int T1_;
	result = (NIM_BOOL)0;
	T1_ = (int)0;
	T1_ = nimCmpMem(a, b, size);
	result = (T1_ == ((NI32) 0));
	return result;
}

static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b) {
	NIM_BOOL result;
	NI alen;
	NI blen;
{	result = (NIM_BOOL)0;
	alen = (a ? a->Sup.len : 0);
	blen = (b ? b->Sup.len : 0);
	{
		if (!(alen == blen)) goto LA3_;
		{
			if (!(alen == ((NI) 0))) goto LA7_;
			result = NIM_TRUE;
			goto BeforeRet_;
		}
		LA7_: ;
		result = equalMem_DCrUjdaMvFDHaR1hs7sQGwropes(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen)));
		goto BeforeRet_;
	}
	LA3_: ;
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, nep1CheckDefImpl_6AhukMkhQSFShlHi9bHQBWw)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q info, tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* s, tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw k) {
	NimStringDesc* beau;
{	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = ((2080 &(1U<<((NU)(k)&31U)))!=0);
		if (T3_) goto LA4_;
		T3_ = !((((NU8)((*(*s).name).s->data[((NI) 0)])) >= ((NU8)(97)) && ((NU8)((*(*s).name).s->data[((NI) 0)])) <= ((NU8)(122)) || ((NU8)((*(*s).name).s->data[((NI) 0)])) >= ((NU8)(65)) && ((NU8)((*(*s).name).s->data[((NI) 0)])) <= ((NU8)(90)) || ((NU8)((*(*s).name).s->data[((NI) 0)])) >= ((NU8)(48)) && ((NU8)((*(*s).name).s->data[((NI) 0)])) <= ((NU8)(57)) || ((NU8)((*(*s).name).s->data[((NI) 0)])) >= ((NU8)(128)) && ((NU8)((*(*s).name).s->data[((NI) 0)])) <= ((NU8)(255)) || ((NU8)((*(*s).name).s->data[((NI) 0)])) == ((NU8)(95))));
		LA4_: ;
		if (!T3_) goto LA5_;
		goto BeforeRet_;
	}
	LA5_: ;
	{
		NIM_BOOL T9_;
		T9_ = (NIM_BOOL)0;
		T9_ = ((144 &(1U<<((NU)(k)&31U)))!=0);
		if (!(T9_)) goto LA10_;
		T9_ = (((*s).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw) 30))&63U)))!=0);
		LA10_: ;
		if (!T9_) goto LA11_;
		goto BeforeRet_;
	}
	LA11_: ;
	beau = beautifyName_fOdwioWHjTwKHWAVS9bR9cng((*(*s).name).s, k);
	{
		if (!!(eqStrings((*(*s).name).s, beau))) goto LA15_;
		message_mMj7lrOf3zBP9bl69amiKu5g(conf, info, ((tyEnum_TMsgKind_29cbg2fC1z5iM1PAI28kR5w) 58), beau);
	}
	LA15_: ;
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, compiler_linterInit000)(void) {
{
	TFrame FR_; FR_.len = 0;
}
	gOverWrite_awlWeHLXqH2RGhCXOgkaJw = NIM_TRUE;
}

N_LIB_PRIVATE N_NIMCALL(void, compiler_linterDatInit000)(void) {
}

