/* Generated by Nim Compiler v1.0.4 */
/*   (c) 2019 Andreas Rumpf */
/* The generated code is subject to the original license. */
#define NIM_INTBITS 64

#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
#define nimfr_(x, y)
#define nimln_(x, y)
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_TNode__bROa11lyF5vxEN9aYNbHmhw tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw;
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_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA;
typedef struct tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA;
typedef struct tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA;
typedef struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA;
typedef struct tySequence__MvZmat48bhe9b6x9aUD58D5Q tySequence__MvZmat48bhe9b6x9aUD58D5Q;
typedef struct tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA;
typedef struct tyTuple__zwpS6d6iewrdlBSTNFoyVA tyTuple__zwpS6d6iewrdlBSTNFoyVA;
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_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;
};
typedef NU8 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw;
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;
};
struct tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w {
  tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA Sup;
tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw kind;
union{
struct {tySequence__Ef05srmQTDulnBdXR4Ja6Q* typeInstCache;
};
struct {tySequence__DXS6mEo7PVUFJkirsQ9bNQA* procInstCache;
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* gcUnsafetyReason;
tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* transformedBody;
};
struct {tySequence__DXS6mEo7PVUFJkirsQ9bNQA* usedGenerics;
tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA tab;
};
struct {tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* guard;
NI bitsize;
};
};
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;
struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA {
NI a;
NI b;
};
typedef NU16 tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw;
typedef NU8 tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag;
typedef NU8 tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA;
typedef NU64 tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw;
typedef tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* tyArray__PsPyPA45AAjHu4uDGHNjTg[4];
struct tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ {
  tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA Sup;
tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag kind;
tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA callConv;
tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw flags;
tySequence__Ef05srmQTDulnBdXR4Ja6Q* sons;
tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n;
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* owner;
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* sym;
tyArray__PsPyPA45AAjHu4uDGHNjTg attachedOps;
tySequence__MvZmat48bhe9b6x9aUD58D5Q* methods;
NI64 size;
NI16 align;
NI16 paddingAtEnd;
NI16 lockLevel;
tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA loc;
tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typeInst;
NI uniqueId;
};
typedef NU8 tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg;
typedef NU8 tySet_tyChar__nmiMWKVIe46vacnhAFrQvw[32];
typedef NimStringDesc* tyArray__cEaD9bd8PACJ01axFsVWpog[40];
struct tyTuple__zwpS6d6iewrdlBSTNFoyVA {
NI Field0;
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* Field1;
};
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];
};
struct tySequence__MvZmat48bhe9b6x9aUD58D5Q {
  TGenericSeq Sup;
  tyTuple__zwpS6d6iewrdlBSTNFoyVA data[SEQ_DECL_SIZE];
};
static N_INLINE(NI, addInt)(NI a, NI b);
N_NOINLINE(void, raiseOverflow)(void);
N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, differs__cUWYbX789ccOdpBttqaEifQ)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, NimStringDesc* newName);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, sourceLine__b49bYNvmBdG6RP9cHaZGFhvQ)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q i);
static N_INLINE(NI, subInt)(NI a, NI b);
N_LIB_PRIVATE N_NIMCALL(NI, identLen__cr8f4oiC7y4wZkhdloxc7w)(NimStringDesc* line, NI start);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, differ__fOl7C7KzPONPqjNV4s3alQ)(NimStringDesc* line, NI a, NI b, NimStringDesc* x);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, substrEq__rlI4fq2VQx4GgCkgwctENA)(NimStringDesc* s, NI pos, NI last, NimStringDesc* substr);
static N_INLINE(NimStringDesc*, X5BX5D___FPvLvuwqfYMFkcbGfPM8QQsystem)(NimStringDesc* s, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x);
N_NIMCALL(NimStringDesc*, mnewString)(NI len);
static N_INLINE(NI, chckRange)(NI i, NI a, NI b);
N_NOINLINE(void, raiseRangeError)(NI64 val);
static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___BokNSDrKN1xmV1nA01G9brAsystem)(NI a, NI b);
static N_INLINE(void, nimZeroMem)(void* p, NI size);
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size);
N_NOINLINE(void, chckNil)(void* p);
N_LIB_PRIVATE N_NIMCALL(NI, nsuCmpIgnoreStyle)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_LIB_PRIVATE N_NIMCALL(void, lintReport__Ww2UftmtQbY09aLI39auks9bQ)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, NimStringDesc* beau, NimStringDesc* got);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, canonPragmaSpelling__QTD9bz1xdmA4Cwfxb6kSSwg)(tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw w);
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
static N_INLINE(NIM_BOOL, equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem)(void* a, void* b, NI size);
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, beautifyName__9a3XujgxAEMrMsWlLydkJvg)(NimStringDesc* s, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw k);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, allCharsInSet__dubrHoRt3C9a0HlJjsxM5ig)(NimStringDesc* s, tySet_tyChar__nmiMWKVIe46vacnhAFrQvw theSet);
N_NIMCALL(NimStringDesc*, rawNewString)(NI cap);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqtilde___IUBpCwAnZj8k6Q9b3zNUjzg)(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);
static N_INLINE(NIM_BOOL, contains__Pa9a8m0kZYH6LC8N1EcZJdQsystem)(NIM_CHAR* a, NI aLen_0, NIM_CHAR item);
static N_INLINE(NI, find__31wM5Ui9c8jnrQ5QD4oPxOQsystem)(NIM_CHAR* a, NI aLen_0, NIM_CHAR item);
N_LIB_PRIVATE N_NIMCALL(NIM_CHAR, nsuToLowerAsciiChar)(NIM_CHAR c);
static NIM_CONST tySet_tyChar__nmiMWKVIe46vacnhAFrQvw TM__NvI37FoCN5uTD3k9bAqbGMA_18 = {
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_21, "int", 3);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_22, "uint", 4);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_23, "cint", 4);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_24, "cuint", 5);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_25, "clong", 5);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_26, "cstring", 7);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_27, "string", 6);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_28, "char", 4);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_29, "byte", 4);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_30, "bool", 4);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_31, "openArray", 9);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_32, "seq", 3);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_33, "array", 5);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_34, "void", 4);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_35, "pointer", 7);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_36, "float", 5);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_37, "csize", 5);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_38, "cdouble", 7);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_39, "cchar", 5);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_40, "cschar", 6);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_41, "cshort", 6);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_42, "cu", 2);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_43, "nil", 3);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_44, "typedesc", 8);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_45, "auto", 4);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_46, "any", 3);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_47, "range", 5);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_48, "openarray", 9);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_49, "varargs", 7);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_50, "set", 3);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_51, "cfloat", 6);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_52, "ref", 3);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_53, "ptr", 3);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_54, "untyped", 7);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_55, "typed", 5);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_56, "static", 6);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_57, "sink", 4);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_58, "lent", 4);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_59, "type", 4);
STRING_LITERAL(TM__NvI37FoCN5uTD3k9bAqbGMA_60, "owned", 5);
NIM_CONST tyArray__cEaD9bd8PACJ01axFsVWpog 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),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_37),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_38),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_39),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_40),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_41),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_42),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_43),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_44),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_45),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_46),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_47),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_48),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_49),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_50),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_51),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_52),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_53),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_54),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_55),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_56),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_57),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_58),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_59),
((NimStringDesc*) &TM__NvI37FoCN5uTD3k9bAqbGMA_60)}
;
static N_INLINE(NI, addInt)(NI a, NI b) {	NI result;
{	result = (NI)0;
	result = (NI)((NU64)(a) + (NU64)(b));
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (((NI) 0) <= (NI)(result ^ a));
		if (T3_) goto LA4_;
		T3_ = (((NI) 0) <= (NI)(result ^ b));
		LA4_: ;
		if (!T3_) goto LA5_;
		goto BeforeRet_;
	}
	LA5_: ;
	raiseOverflow();
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NI, identLen__cr8f4oiC7y4wZkhdloxc7w)(NimStringDesc* line, NI start) {	NI result;
	result = (NI)0;
	{
		while (1) {
			NIM_BOOL T3_;
			NI TM__NvI37FoCN5uTD3k9bAqbGMA_2;
			NI TM__NvI37FoCN5uTD3k9bAqbGMA_3;
			NI TM__NvI37FoCN5uTD3k9bAqbGMA_4;
			T3_ = (NIM_BOOL)0;
			TM__NvI37FoCN5uTD3k9bAqbGMA_2 = addInt(start, result);
			T3_ = ((NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_2) < (line ? line->Sup.len : 0));
			if (!(T3_)) goto LA4_;
			TM__NvI37FoCN5uTD3k9bAqbGMA_3 = addInt(start, result);
			if ((NU)((NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_3)) >= (NU)(line ? line->Sup.len : 0)) raiseIndexError2((NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_3),(line ? line->Sup.len : 0)-1);
			T3_ = (((NU8)(line->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_3)])) >= ((NU8)(97)) && ((NU8)(line->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_3)])) <= ((NU8)(122)) || ((NU8)(line->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_3)])) >= ((NU8)(65)) && ((NU8)(line->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_3)])) <= ((NU8)(90)) || ((NU8)(line->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_3)])) >= ((NU8)(48)) && ((NU8)(line->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_3)])) <= ((NU8)(57)) || ((NU8)(line->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_3)])) >= ((NU8)(128)) && ((NU8)(line->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_3)])) <= ((NU8)(255)) || ((NU8)(line->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_3)])) == ((NU8)(95)));
			LA4_: ;
			if (!T3_) goto LA2;
			TM__NvI37FoCN5uTD3k9bAqbGMA_4 = addInt(result, ((NI) 1));
			result = (NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_4);
		} LA2: ;
	}
	return result;
}
static N_INLINE(NI, subInt)(NI a, NI b) {	NI result;
{	result = (NI)0;
	result = (NI)((NU64)(a) - (NU64)(b));
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (((NI) 0) <= (NI)(result ^ a));
		if (T3_) goto LA4_;
		T3_ = (((NI) 0) <= (NI)(result ^ (NI)((NU64) ~(b))));
		LA4_: ;
		if (!T3_) goto LA5_;
		goto BeforeRet_;
	}
	LA5_: ;
	raiseOverflow();
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, substrEq__rlI4fq2VQx4GgCkgwctENA)(NimStringDesc* s, NI pos, NI last, NimStringDesc* substr) {	NIM_BOOL result;
	NI i;
	NI length;
{	result = (NIM_BOOL)0;
	i = ((NI) 0);
	length = (substr ? substr->Sup.len : 0);
	{
		while (1) {
			NIM_BOOL T3_;
			NIM_BOOL T4_;
			NI TM__NvI37FoCN5uTD3k9bAqbGMA_11;
			NI TM__NvI37FoCN5uTD3k9bAqbGMA_12;
			NI TM__NvI37FoCN5uTD3k9bAqbGMA_13;
			T3_ = (NIM_BOOL)0;
			T4_ = (NIM_BOOL)0;
			T4_ = (i < length);
			if (!(T4_)) goto LA5_;
			TM__NvI37FoCN5uTD3k9bAqbGMA_11 = addInt(pos, i);
			T4_ = ((NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_11) <= last);
			LA5_: ;
			T3_ = T4_;
			if (!(T3_)) goto LA6_;
			TM__NvI37FoCN5uTD3k9bAqbGMA_12 = addInt(pos, i);
			if ((NU)((NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_12)) >= (NU)(s ? s->Sup.len : 0)) raiseIndexError2((NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_12),(s ? s->Sup.len : 0)-1);
			if ((NU)(i) >= (NU)(substr ? substr->Sup.len : 0)) raiseIndexError2(i,(substr ? substr->Sup.len : 0)-1);
			T3_ = ((NU8)(s->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_12)]) == (NU8)(substr->data[i]));
			LA6_: ;
			if (!T3_) goto LA2;
			TM__NvI37FoCN5uTD3k9bAqbGMA_13 = addInt(i, ((NI) 1));
			i = (NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_13);
		} LA2: ;
	}
	result = (i == length);
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NI, chckRange)(NI i, NI a, NI b) {	NI result;
{	result = (NI)0;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (a <= i);
		if (!(T3_)) goto LA4_;
		T3_ = (i <= b);
		LA4_: ;
		if (!T3_) goto LA5_;
		result = i;
		goto BeforeRet_;
	}
	goto LA1_;
	LA5_: ;
	{
		raiseRangeError(((NI64) (i)));
	}
	LA1_: ;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NimStringDesc*, X5BX5D___FPvLvuwqfYMFkcbGfPM8QQsystem)(NimStringDesc* s, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x) {	NimStringDesc* result;
	NI a;
	NI L;
	NI TM__NvI37FoCN5uTD3k9bAqbGMA_14;
	NI TM__NvI37FoCN5uTD3k9bAqbGMA_15;
	result = (NimStringDesc*)0;
	a = x.a;
	TM__NvI37FoCN5uTD3k9bAqbGMA_14 = subInt(x.b, a);
	TM__NvI37FoCN5uTD3k9bAqbGMA_15 = addInt((NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_14), ((NI) 1));
	L = (NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_15);
	result = mnewString(((NI)chckRange(L, ((NI) 0), ((NI) IL64(9223372036854775807)))));
	{
		NI i;
		NI i_2;
		i = (NI)0;
		i_2 = ((NI) 0);
		{
			while (1) {
				NI TM__NvI37FoCN5uTD3k9bAqbGMA_16;
				NI TM__NvI37FoCN5uTD3k9bAqbGMA_17;
				if (!(i_2 < L)) goto LA3;
				i = i_2;
				if ((NU)(i) >= (NU)(result ? result->Sup.len : 0)) raiseIndexError2(i,(result ? result->Sup.len : 0)-1);
				TM__NvI37FoCN5uTD3k9bAqbGMA_16 = addInt(i, a);
				if ((NU)((NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_16)) >= (NU)(s ? s->Sup.len : 0)) raiseIndexError2((NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_16),(s ? s->Sup.len : 0)-1);
				result->data[i] = s->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_16)];
				TM__NvI37FoCN5uTD3k9bAqbGMA_17 = addInt(i_2, ((NI) 1));
				i_2 = (NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_17);
			} LA3: ;
		}
	}
	return result;
}
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size) {	void* T1_;
	T1_ = (void*)0;
	T1_ = memset(a, v, ((size_t) (size)));
}
static N_INLINE(void, nimZeroMem)(void* p, NI size) {	nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory(p, ((int) 0), size);
}
static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___BokNSDrKN1xmV1nA01G9brAsystem)(NI a, NI b) {	tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA result;
	nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA));
	chckNil((void*)(&result));
	nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA));
	result.a = a;
	result.b = b;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, differ__fOl7C7KzPONPqjNV4s3alQ)(NimStringDesc* line, NI a, NI b, NimStringDesc* x) {	NimStringDesc* result;
	NI last;
	result = (NimStringDesc*)0;
	last = ((b <= (line ? line->Sup.len : 0)) ? b : (line ? line->Sup.len : 0));
	result = ((NimStringDesc*) NIM_NIL);
	{
		NIM_BOOL T3_;
		NimStringDesc* y;
		tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T6_;
		T3_ = (NIM_BOOL)0;
		T3_ = substrEq__rlI4fq2VQx4GgCkgwctENA(line, a, b, x);
		if (!!(T3_)) goto LA4_;
		T6_ = dotdot___BokNSDrKN1xmV1nA01G9brAsystem(a, b);
		y = X5BX5D___FPvLvuwqfYMFkcbGfPM8QQsystem(line, T6_);
		{
			NI T9_;
			T9_ = (NI)0;
			T9_ = nsuCmpIgnoreStyle(y, x);
			if (!(T9_ == ((NI) 0))) goto LA10_;
			result = copyString(y);
		}
		LA10_: ;
	}
	LA4_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, differs__cUWYbX789ccOdpBttqaEifQ)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, NimStringDesc* newName) {	NimStringDesc* result;
	NimStringDesc* line;
	NI first;
	NI last;
	NI T19_;
	NI TM__NvI37FoCN5uTD3k9bAqbGMA_9;
	NI TM__NvI37FoCN5uTD3k9bAqbGMA_10;
{	result = (NimStringDesc*)0;
	line = sourceLine__b49bYNvmBdG6RP9cHaZGFhvQ(conf, info);
	first = ((((NI) (info.col)) <= (line ? line->Sup.len : 0)) ? ((NI) (info.col)) : (line ? line->Sup.len : 0));
	{
		if (!(first < ((NI) 0))) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	{
		while (1) {
			NIM_BOOL T7_;
			NI TM__NvI37FoCN5uTD3k9bAqbGMA_5;
			NI TM__NvI37FoCN5uTD3k9bAqbGMA_6;
			T7_ = (NIM_BOOL)0;
			T7_ = (((NI) 0) < first);
			if (!(T7_)) goto LA8_;
			TM__NvI37FoCN5uTD3k9bAqbGMA_5 = subInt(first, ((NI) 1));
			if ((NU)((NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_5)) >= (NU)(line ? line->Sup.len : 0)) raiseIndexError2((NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_5),(line ? line->Sup.len : 0)-1);
			T7_ = (((NU8)(line->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_5)])) >= ((NU8)(97)) && ((NU8)(line->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_5)])) <= ((NU8)(122)) || ((NU8)(line->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_5)])) >= ((NU8)(65)) && ((NU8)(line->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_5)])) <= ((NU8)(90)) || ((NU8)(line->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_5)])) >= ((NU8)(48)) && ((NU8)(line->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_5)])) <= ((NU8)(57)) || ((NU8)(line->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_5)])) >= ((NU8)(128)) && ((NU8)(line->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_5)])) <= ((NU8)(255)) || ((NU8)(line->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_5)])) == ((NU8)(95)));
			LA8_: ;
			if (!T7_) goto LA6;
			TM__NvI37FoCN5uTD3k9bAqbGMA_6 = subInt(first, ((NI) 1));
			first = (NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_6);
		} LA6: ;
	}
	{
		if (!(first < ((NI) 0))) goto LA11_;
		goto BeforeRet_;
	}
	LA11_: ;
	{
		NIM_BOOL T15_;
		NI TM__NvI37FoCN5uTD3k9bAqbGMA_7;
		NI TM__NvI37FoCN5uTD3k9bAqbGMA_8;
		T15_ = (NIM_BOOL)0;
		TM__NvI37FoCN5uTD3k9bAqbGMA_7 = addInt(first, ((NI) 1));
		T15_ = ((NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_7) < (line ? line->Sup.len : 0));
		if (!(T15_)) goto LA16_;
		if ((NU)(first) >= (NU)(line ? line->Sup.len : 0)) raiseIndexError2(first,(line ? line->Sup.len : 0)-1);
		T15_ = ((NU8)(line->data[first]) == (NU8)(96));
		LA16_: ;
		if (!T15_) goto LA17_;
		TM__NvI37FoCN5uTD3k9bAqbGMA_8 = addInt(first, ((NI) 1));
		first = (NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_8);
	}
	LA17_: ;
	T19_ = (NI)0;
	T19_ = identLen__cr8f4oiC7y4wZkhdloxc7w(line, first);
	TM__NvI37FoCN5uTD3k9bAqbGMA_9 = addInt(first, T19_);
	TM__NvI37FoCN5uTD3k9bAqbGMA_10 = subInt((NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_9), ((NI) 1));
	last = (NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_10);
	result = differ__fOl7C7KzPONPqjNV4s3alQ(line, first, last, newName);
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, styleCheckUse__k3cqh606mJPYNzLXdtZjIg)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* s) {	NimStringDesc* newName;
	NimStringDesc* oldName;
{	{
		if (!(((NI) (info.fileIndex)) < ((NI) 0))) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	{
		NIM_BOOL T7_;
		NIM_BOOL T8_;
		T7_ = (NIM_BOOL)0;
		T8_ = (NIM_BOOL)0;
		T8_ = ((*s).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 5));
		if (T8_) goto LA9_;
		if ((NU)(((NI) 0)) >= (NU)((*(*s).name).s ? (*(*s).name).s->Sup.len : 0)) raiseIndexError2(((NI) 0),((*(*s).name).s ? (*(*s).name).s->Sup.len : 0)-1);
		T8_ = !((((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))));
		LA9_: ;
		T7_ = T8_;
		if (T7_) goto LA10_;
		T7_ = (((*s).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 31))&63U)))!=0);
		LA10_: ;
		if (!T7_) goto LA11_;
		goto BeforeRet_;
	}
	LA11_: ;
	newName = (*(*s).name).s;
	oldName = differs__cUWYbX789ccOdpBttqaEifQ(conf, info, newName);
	{
		if (!(((NI) 0) < (oldName ? oldName->Sup.len : 0))) goto LA15_;
		lintReport__Ww2UftmtQbY09aLI39auks9bQ(conf, info, newName, oldName);
	}
	LA15_: ;
	}BeforeRet_: ;
}
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__9bGgqEk7RXXl6eqM9c1HdELAsystem)(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__9bGgqEk7RXXl6eqM9c1HdELAsystem(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen)));
		goto BeforeRet_;
	}
	LA3_: ;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, checkPragmaUse__no49bEWZLCgyYgYqiaocHSg)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw w, NimStringDesc* pragmaName) {	NimStringDesc* wanted;
	wanted = canonPragmaSpelling__QTD9bz1xdmA4Cwfxb6kSSwg(w);
	{
		if (!!(eqStrings(pragmaName, wanted))) goto LA3_;
		lintReport__Ww2UftmtQbY09aLI39auks9bQ(conf, info, wanted, pragmaName);
	}
	LA3_: ;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqtilde___IUBpCwAnZj8k6Q9b3zNUjzg)(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) {
				NI TM__NvI37FoCN5uTD3k9bAqbGMA_19;
				if (!(i < aLen_0)) goto LA3;
				if ((NU)(i) >= (NU)(aLen_0)) raiseIndexError2(i,aLen_0-1);
				x = a[i];
				{
					NIM_BOOL T6_;
					T6_ = (NIM_BOOL)0;
					T6_ = nsuStartsWith(s, x);
					if (!T6_) goto LA7_;
					result = NIM_TRUE;
					goto BeforeRet_;
				}
				LA7_: ;
				TM__NvI37FoCN5uTD3k9bAqbGMA_19 = addInt(i, ((NI) 1));
				i = (NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_19);
			} LA3: ;
		}
	}
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NI, find__31wM5Ui9c8jnrQ5QD4oPxOQsystem)(NIM_CHAR* a, NI aLen_0, NIM_CHAR item) {	NI result;
{	result = (NI)0;
	{
		NIM_CHAR i;
		NI i_2;
		i = (NIM_CHAR)0;
		i_2 = ((NI) 0);
		{
			while (1) {
				NI TM__NvI37FoCN5uTD3k9bAqbGMA_61;
				NI TM__NvI37FoCN5uTD3k9bAqbGMA_62;
				if (!(i_2 < aLen_0)) goto LA3;
				if ((NU)(i_2) >= (NU)(aLen_0)) raiseIndexError2(i_2,aLen_0-1);
				i = a[i_2];
				{
					if (!((NU8)(i) == (NU8)(item))) goto LA6_;
					goto BeforeRet_;
				}
				LA6_: ;
				TM__NvI37FoCN5uTD3k9bAqbGMA_61 = addInt(result, ((NI) 1));
				result = (NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_61);
				TM__NvI37FoCN5uTD3k9bAqbGMA_62 = addInt(i_2, ((NI) 1));
				i_2 = (NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_62);
			} LA3: ;
		}
	}
	result = ((NI) -1);
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NIM_BOOL, contains__Pa9a8m0kZYH6LC8N1EcZJdQsystem)(NIM_CHAR* a, NI aLen_0, NIM_CHAR item) {	NIM_BOOL result;
	NI T1_;
{	result = (NIM_BOOL)0;
	T1_ = (NI)0;
	T1_ = find__31wM5Ui9c8jnrQ5QD4oPxOQsystem(a, aLen_0, item);
	result = (((NI) 0) <= T1_);
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, beautifyName__9a3XujgxAEMrMsWlLydkJvg)(NimStringDesc* s, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw k) {	NimStringDesc* result;
	NIM_BOOL allUpper;
	NI i;
	NI TM__NvI37FoCN5uTD3k9bAqbGMA_63;
{	result = (NimStringDesc*)0;
	allUpper = allCharsInSet__dubrHoRt3C9a0HlJjsxM5ig(s, TM__NvI37FoCN5uTD3k9bAqbGMA_18);
	{
		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)chckRange((s ? s->Sup.len : 0), ((NI) 0), ((NI) IL64(9223372036854775807)))));
	i = ((NI) 0);
	switch (k) {
	case ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 7):
	case ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 4):
	{
		{
			NIM_BOOL T10_;
			T10_ = (NIM_BOOL)0;
			T10_ = eqtilde___IUBpCwAnZj8k6Q9b3zNUjzg(s, TM__NvI37FoCN5uTD3k9bAqbGMA_20, 40);
			if (!T10_) goto LA11_;
			if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)) raiseIndexError2(i,(s ? s->Sup.len : 0)-1);
			result = addChar(result, s->data[i]);
		}
		goto LA8_;
		LA11_: ;
		{
			NIM_CHAR T14_;
			if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)) raiseIndexError2(i,(s ? s->Sup.len : 0)-1);
			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):
	{
		if ((NU)(((NI) 0)) >= (NU)(s ? s->Sup.len : 0)) raiseIndexError2(((NI) 0),(s ? s->Sup.len : 0)-1);
		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_;
			if ((NU)(((NI) 0)) >= (NU)(s ? s->Sup.len : 0)) raiseIndexError2(((NI) 0),(s ? s->Sup.len : 0)-1);
			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__Pa9a8m0kZYH6LC8N1EcZJdQsystem(s->data, (s ? s->Sup.len : 0), 95);
			if (!T24_) goto LA25_;
			if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)) raiseIndexError2(i,(s ? s->Sup.len : 0)-1);
			result = addChar(result, s->data[i]);
		}
		goto LA17_;
		LA25_: ;
		{
			NIM_CHAR T28_;
			if ((NU)(((NI) 0)) >= (NU)(s ? s->Sup.len : 0)) raiseIndexError2(((NI) 0),(s ? s->Sup.len : 0)-1);
			T28_ = (NIM_CHAR)0;
			T28_ = nsuToLowerAsciiChar(s->data[((NI) 0)]);
			result = addChar(result, T28_);
		}
		LA17_: ;
	}
	break;
	}
	TM__NvI37FoCN5uTD3k9bAqbGMA_63 = addInt(i, ((NI) 1));
	i = (NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_63);
	{
		while (1) {
			NI TM__NvI37FoCN5uTD3k9bAqbGMA_67;
			if (!(i < (s ? s->Sup.len : 0))) goto LA30;
			{
				if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)) raiseIndexError2(i,(s ? s->Sup.len : 0)-1);
				if (!((NU8)(s->data[i]) == (NU8)(95))) goto LA33_;
				{
					NIM_BOOL T37_;
					NI TM__NvI37FoCN5uTD3k9bAqbGMA_64;
					NI TM__NvI37FoCN5uTD3k9bAqbGMA_65;
					T37_ = (NIM_BOOL)0;
					T37_ = (((NI) 0) < i);
					if (!(T37_)) goto LA38_;
					TM__NvI37FoCN5uTD3k9bAqbGMA_64 = subInt(i, ((NI) 1));
					if ((NU)((NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_64)) >= (NU)(s ? s->Sup.len : 0)) raiseIndexError2((NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_64),(s ? s->Sup.len : 0)-1);
					T37_ = (((NU8)(s->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_64)])) >= ((NU8)(65)) && ((NU8)(s->data[(NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_64)])) <= ((NU8)(90)));
					LA38_: ;
					if (!T37_) goto LA39_;
					result = addChar(result, 95);
					TM__NvI37FoCN5uTD3k9bAqbGMA_65 = addInt(i, ((NI) 1));
					i = (NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_65);
					if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)) raiseIndexError2(i,(s ? s->Sup.len : 0)-1);
					result = addChar(result, s->data[i]);
				}
				goto LA35_;
				LA39_: ;
				{
					NI TM__NvI37FoCN5uTD3k9bAqbGMA_66;
					NIM_CHAR T42_;
					TM__NvI37FoCN5uTD3k9bAqbGMA_66 = addInt(i, ((NI) 1));
					i = (NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_66);
					if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)) raiseIndexError2(i,(s ? s->Sup.len : 0)-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_;
				if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)) raiseIndexError2(i,(s ? s->Sup.len : 0)-1);
				T46_ = (NIM_CHAR)0;
				T46_ = nsuToLowerAsciiChar(s->data[i]);
				result = addChar(result, T46_);
			}
			goto LA31_;
			LA44_: ;
			{
				if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)) raiseIndexError2(i,(s ? s->Sup.len : 0)-1);
				result = addChar(result, s->data[i]);
			}
			LA31_: ;
			TM__NvI37FoCN5uTD3k9bAqbGMA_67 = addInt(i, ((NI) 1));
			i = (NI)(TM__NvI37FoCN5uTD3k9bAqbGMA_67);
		} LA30: ;
	}
	}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_;
		if ((NU)(((NI) 0)) >= (NU)((*(*s).name).s ? (*(*s).name).s->Sup.len : 0)) raiseIndexError2(((NI) 0),((*(*s).name).s ? (*(*s).name).s->Sup.len : 0)-1);
		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) 31))&63U)))!=0);
		LA10_: ;
		if (!T9_) goto LA11_;
		goto BeforeRet_;
	}
	LA11_: ;
	{
		NIM_BOOL T15_;
		T15_ = (NIM_BOOL)0;
		T15_ = !(((*s).typ == NIM_NIL));
		if (!(T15_)) goto LA16_;
		T15_ = ((*(*s).typ).kind == ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 8));
		LA16_: ;
		if (!T15_) goto LA17_;
		goto BeforeRet_;
	}
	LA17_: ;
	{
		if (!!(((96 & (*s).flags) == 0))) goto LA21_;
		goto BeforeRet_;
	}
	LA21_: ;
	{
		if (!!((((*s).options &(1U<<((NU)(((tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg) 10))&31U)))!=0))) goto LA25_;
		goto BeforeRet_;
	}
	LA25_: ;
	beau = beautifyName__9a3XujgxAEMrMsWlLydkJvg((*(*s).name).s, k);
	{
		if (!!(eqStrings((*(*s).name).s, beau))) goto LA29_;
		lintReport__Ww2UftmtQbY09aLI39auks9bQ(conf, info, beau, (*(*s).name).s);
	}
	LA29_: ;
	}BeforeRet_: ;
}
