/* Generated by Nim Compiler v1.0.6 */
/*   (c) 2019 Andreas Rumpf */
/* The generated code is subject to the original license. */
#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
#define nimfr_(x, y)
#define nimln_(x, y)
typedef struct tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw;
typedef struct tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ;
typedef struct tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w;
typedef struct tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA;
typedef struct tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ;
typedef struct tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw;
typedef struct tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw;
typedef struct tyObject_Table__7O9bs4LORhqcR0JGh7d1MDg tyObject_Table__7O9bs4LORhqcR0JGh7d1MDg;
typedef struct tySequence__s12F9c4cKfaapm8VzG9a1flQ tySequence__s12F9c4cKfaapm8VzG9a1flQ;
typedef struct tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ;
typedef struct tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg;
typedef struct RootObj RootObj;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ;
typedef struct tySequence__Ih0V9cYug0VPJyBBGvgEH7Q tySequence__Ih0V9cYug0VPJyBBGvgEH7Q;
typedef struct tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw;
typedef struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA;
typedef struct tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA;
typedef struct tySequence__Ef05srmQTDulnBdXR4Ja6Q tySequence__Ef05srmQTDulnBdXR4Ja6Q;
typedef struct tySequence__MvZmat48bhe9b6x9aUD58D5Q tySequence__MvZmat48bhe9b6x9aUD58D5Q;
typedef struct tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA;
typedef struct tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA;
typedef struct tySequence__DXS6mEo7PVUFJkirsQ9bNQA tySequence__DXS6mEo7PVUFJkirsQ9bNQA;
typedef struct tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA;
typedef struct tySequence__DfgJFJEYoj4YBAHLZPl5lQ tySequence__DfgJFJEYoj4YBAHLZPl5lQ;
typedef struct tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA;
typedef struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g;
typedef struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w;
typedef struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ;
typedef struct tyObject_GcStack__7fytPA5bBsob6See21YMRA tyObject_GcStack__7fytPA5bBsob6See21YMRA;
typedef struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg;
typedef struct tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ;
typedef struct tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg;
typedef struct tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw;
typedef struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA;
typedef struct tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw;
typedef struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw;
typedef struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg;
typedef struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyTuple__ujsjpB2O9cjj3uDHsXbnSzg;
typedef struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg;
typedef struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ;
typedef struct tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg;
typedef struct tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg;
typedef struct tyObject_Trunk__ul49aWfv9aes8cutmeltT3gQ tyObject_Trunk__ul49aWfv9aes8cutmeltT3gQ;
typedef struct tySequence__9brg1xNurxcus33lU4IE1Dw tySequence__9brg1xNurxcus33lU4IE1Dw;
typedef struct tyTuple__8jHm6IGDGecciKpp2bTNxA tyTuple__8jHm6IGDGecciKpp2bTNxA;
typedef struct tyTuple__zwpS6d6iewrdlBSTNFoyVA tyTuple__zwpS6d6iewrdlBSTNFoyVA;
typedef struct tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA;
struct tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q {
NU16 line;
NI16 col;
NI32 fileIndex;
};
typedef NU32 tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg;
typedef NU8 tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw;
struct TGenericSeq {
NI len;
NI reserved;
};
struct NimStringDesc {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw {
tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typ;
tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info;
tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg flags;
tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind;
union{
struct {NI64 intVal;
};
struct {NF floatVal;
};
struct {NimStringDesc* strVal;
};
struct {tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* sym;
};
struct {tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* ident;
};
struct {tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ* sons;
};
};
NimStringDesc* comment;
};
typedef NU8 tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw[21];
struct tyObject_Table__7O9bs4LORhqcR0JGh7d1MDg {
tySequence__s12F9c4cKfaapm8VzG9a1flQ* data;
NI counter;
};
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;
};
typedef NU8 tySet_tyChar__nmiMWKVIe46vacnhAFrQvw[32];
struct tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg {
  RootObj Sup;
NI bufpos;
NimStringDesc* buf;
tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* input;
NI lineNumber;
NI sentinel;
NI lineStart;
NI offsetBase;
tySet_tyChar__nmiMWKVIe46vacnhAFrQvw refillChars;
};
typedef NU8 tyEnum_TokKind__Q9c4KaNqJU4PbXaGht0C7iw;
typedef NU8 tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA;
typedef NU8 tyEnum_JsonError__G9cw5MrJXJrcpID5JXaplew;
struct tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ {
  tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg Sup;
NimStringDesc* a;
tyEnum_TokKind__Q9c4KaNqJU4PbXaGht0C7iw tok;
tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA kind;
tyEnum_JsonError__G9cw5MrJXJrcpID5JXaplew err;
tySequence__Ih0V9cYug0VPJyBBGvgEH7Q* state;
NimStringDesc* filename;
NIM_BOOL rawStringLiterals;
};
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {
tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
typedef N_NIMCALL_PTR(void, tyProc__JQrsH08b4uPTH9cyFPlVOZg) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s);
typedef N_NIMCALL_PTR(NIM_BOOL, tyProc__9bmhFrLahRsL2hltfRDVtlQ) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s);
typedef N_NIMCALL_PTR(void, tyProc__3svSoGIUJIsHkaBL7q4DAQ) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s, NI pos);
typedef N_NIMCALL_PTR(NI, tyProc__xflqkf2D1uVClg70czEDHA) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s);
typedef N_NIMCALL_PTR(NI, tyProc__c9c0f59ak4YGQ6neEym8LPKw) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s, NimStringDesc** buffer, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA slice);
typedef N_NIMCALL_PTR(NIM_BOOL, tyProc__7jFfqMk9ajToCz6Hv9atCA4A) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s, NimStringDesc** line);
typedef N_NIMCALL_PTR(NI, tyProc__2VVzVL9bOnKhj1eZKkf9cEuA) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s, void* buffer, NI bufLen);
typedef N_NIMCALL_PTR(void, tyProc__ki6p1QyfOkJLQJ9aw5NI0AQ) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s, void* buffer, NI bufLen);
struct tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ {
  RootObj Sup;
tyProc__JQrsH08b4uPTH9cyFPlVOZg closeImpl;
tyProc__9bmhFrLahRsL2hltfRDVtlQ atEndImpl;
tyProc__3svSoGIUJIsHkaBL7q4DAQ setPositionImpl;
tyProc__xflqkf2D1uVClg70czEDHA getPositionImpl;
tyProc__c9c0f59ak4YGQ6neEym8LPKw readDataStrImpl;
tyProc__7jFfqMk9ajToCz6Hv9atCA4A readLineImpl;
tyProc__2VVzVL9bOnKhj1eZKkf9cEuA readDataImpl;
tyProc__2VVzVL9bOnKhj1eZKkf9cEuA peekDataImpl;
tyProc__ki6p1QyfOkJLQJ9aw5NI0AQ writeDataImpl;
tyProc__JQrsH08b4uPTH9cyFPlVOZg flushImpl;
};
struct tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw {
  tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ Sup;
NimStringDesc* data;
NI pos;
};
struct tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA {
  RootObj Sup;
NI id;
};
typedef NU8 tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag;
typedef NU8 tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA;
typedef NU64 tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw;
typedef tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* tyArray__PsPyPA45AAjHu4uDGHNjTg[4];
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_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_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;
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_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw;
struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {
NI refcount;
TNimType* typ;
};
struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {
void* bottom;
};
struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {
NI len;
NI cap;
tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
};
typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SiRwrEKZdLgxqz9a9aoVBglg[512];
typedef NU32 tyArray__BHbOSqU1t9b3Gt7K2c6fQig[24];
typedef tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* tyArray__N1u1nqOgmuJN9cSZrnMHgOQ[32];
typedef tyArray__N1u1nqOgmuJN9cSZrnMHgOQ tyArray__B6durA4ZCi1xjJvRtyYxMg[24];
typedef tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* tyArray__lh2A89ahMmYg9bCmpVaplLbA[256];
struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA {
tyArray__lh2A89ahMmYg9bCmpVaplLbA data;
};
typedef tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* tyArray__0aOLqZchNi8nWtMTi8ND8w[2];
struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw {
tyArray__0aOLqZchNi8nWtMTi8ND8w link;
NI key;
NI upperBound;
NI level;
};
struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg {
tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* Field0;
NI Field1;
};
typedef tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyArray__LzOv2eCDGiceMKQstCLmhw[30];
struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg {
NI len;
tyArray__LzOv2eCDGiceMKQstCLmhw chunks;
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* next;
};
struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg {
NI minLargeObj;
NI maxLargeObj;
tyArray__SiRwrEKZdLgxqz9a9aoVBglg freeSmallChunks;
NU32 flBitmap;
tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
tyArray__B6durA4ZCi1xjJvRtyYxMg matrix;
tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem;
NI currMem;
NI maxMem;
NI freeMem;
NI occ;
NI lastSize;
tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
NIM_BOOL locked;
NIM_BOOL blockChunkSizeIncrease;
NI nextChunkSize;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData;
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
};
struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {
NI stackScans;
NI cycleCollections;
NI maxThreshold;
NI maxStackSize;
NI maxStackCells;
NI cycleTableSize;
NI64 maxPause;
};
struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {
NI counter;
NI max;
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head;
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data;
};
struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {
tyObject_GcStack__7fytPA5bBsob6See21YMRA stack;
NI cycleThreshold;
NI zctThreshold;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack;
NI recGcLock;
tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region;
tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat;
tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots;
NI gcThreadId;
};
typedef NI tyArray__emiAJ8okywrJw7ZHLzlXbQ[34];
struct tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg {
NI elems;
NI counter;
NI max;
tyObject_Trunk__ul49aWfv9aes8cutmeltT3gQ* head;
tySequence__9brg1xNurxcus33lU4IE1Dw* data;
tyArray__emiAJ8okywrJw7ZHLzlXbQ a;
};
struct tyTuple__8jHm6IGDGecciKpp2bTNxA {
NI Field0;
NI64 Field1;
tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* Field2;
};
typedef NU8 tyEnum_ParserState__Na0rM2Zdr3RpxeNeXbvLrQ;
struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA {
NI a;
NI b;
};
struct tyTuple__zwpS6d6iewrdlBSTNFoyVA {
NI Field0;
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* Field1;
};
struct tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ {
  TGenericSeq Sup;
  tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* data[SEQ_DECL_SIZE];
};
struct tySequence__s12F9c4cKfaapm8VzG9a1flQ {
  TGenericSeq Sup;
  tyTuple__8jHm6IGDGecciKpp2bTNxA data[SEQ_DECL_SIZE];
};
struct tySequence__Ih0V9cYug0VPJyBBGvgEH7Q {
  TGenericSeq Sup;
  tyEnum_ParserState__Na0rM2Zdr3RpxeNeXbvLrQ data[SEQ_DECL_SIZE];
};
struct tySequence__Ef05srmQTDulnBdXR4Ja6Q {
  TGenericSeq Sup;
  tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* data[SEQ_DECL_SIZE];
};
struct tySequence__MvZmat48bhe9b6x9aUD58D5Q {
  TGenericSeq Sup;
  tyTuple__zwpS6d6iewrdlBSTNFoyVA 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__9brg1xNurxcus33lU4IE1Dw {
  TGenericSeq Sup;
  tyObject_Trunk__ul49aWfv9aes8cutmeltT3gQ* data[SEQ_DECL_SIZE];
};
N_NOINLINE(void, raiseFieldError)(NimStringDesc* f);
N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
static N_INLINE(void, nimZeroMem)(void* p, NI size);
static N_INLINE(void, nimSetMem__JE6t4x7Z3v2iVz27Nx0MRAmemory)(void* a, int v, NI size);
N_LIB_PRIVATE N_NIMCALL(void, initTable__YTsZ11U9aeIqqeJoGkYFEXQ)(NI initialSize, tyObject_Table__7O9bs4LORhqcR0JGh7d1MDg* Result);
N_LIB_PRIVATE N_NIMCALL(void, open__caSf5pJv2JnMMpxc9bAhdpA)(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ* my, tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* input, NimStringDesc* filename, NIM_BOOL rawStringLiterals);
N_LIB_PRIVATE N_NIMCALL(tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw*, newStringStream__9aLRtgEYeRMrZKrObtoOslQ)(NimStringDesc* s);
N_LIB_PRIVATE N_NIMCALL(void, next__FPdQ9beZqb3bJ7eVHJww6Qg)(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ* my);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, loadAny__Kcfe39caBC5uVT250dKogGQ)(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ* p, tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* t, tyObject_Table__7O9bs4LORhqcR0JGh7d1MDg* tab, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf);
N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg);
static N_INLINE(tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA, kind__4ctGAM18bpGmdbeESXpEMAparsejson)(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ* my);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newIntNode__zcNs9blLGYB6i9aGKob9bpzRw)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, NI64 intVal);
N_LIB_PRIVATE N_NOINLINE(void, raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA)(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ* p, NimStringDesc* msg) __attribute__((noreturn));
static N_INLINE(NimStringDesc*, str__0rP2wCdbpnXyQhtQ7AnWTwparsejson)(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ* my);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
static N_INLINE(NI64, getInt__xts1yUqLRDbf9cxU9bxvopNgparsejson)(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ* my);
N_LIB_PRIVATE N_NIMCALL(NI64, nsuParseBiggestInt)(NimStringDesc* s);
static N_INLINE(NI, safeLen__P89cqdlERShb9alU3iC0yj8w_2ast)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
static N_INLINE(NI, len__P89cqdlERShb9alU3iC0yj8wast)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
static N_INLINE(NIM_BOOL, equalMem__Bj9c9cm9cBM9coLsuNsT5BvZ9awsystem)(void* a, void* b, NI size);
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
static N_INLINE(NI, addInt)(NI a, NI b);
N_NOINLINE(void, raiseOverflow)(void);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newNode__PMZ27S9ai4FB3gXOMDXvwsQ)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind);
N_LIB_PRIVATE N_NIMCALL(void, add__P8dDSotTW25BkfbyspojGg)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* father, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* son);
N_LIB_PRIVATE N_NIMCALL(tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*, elemType__PfgI9ap7WOnsRfFV4znQ27w_2)(tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* t);
static N_INLINE(NI, len__5mJADrRYkP3r9auuiuDZN9cQast)(tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* n);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
static N_INLINE(void, copyMem__M04YC71iJg1N7gBF3HZTngsystem)(void* dest, void* source, NI size);
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, typeToString__QlvraUan7WbHowhAbvDvdA)(tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typ, tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw prefer);
N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
static N_INLINE(void, nimGCunrefRC1)(void* p);
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOINLINE(void, addZCT__Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
N_NIMCALL(void*, newSeqRC1)(TNimType* typ, NI len);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NIMCALL(tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA*, getIdent__9coBOmdXN09be4rJvXK6fQGQ)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* ic, NimStringDesc* identifier);
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, lookupInRecord__gYQxUKQhlRY6yBu3Ll2TYg)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* field);
static N_INLINE(NI, chckRange)(NI i, NI a, NI b);
N_NOINLINE(void, raiseRangeError)(NI64 val);
N_NIMCALL(TGenericSeq*, setLengthSeqV2)(TGenericSeq* s, TNimType* typ, NI newLen);
N_LIB_PRIVATE N_NIMCALL(void, addSon__P8dDSotTW25BkfbyspojGg_2)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* father, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* son);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newSymNode__I2DV2TmmOysY1ZEGW19b9bRg)(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* sym);
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, newSym__IXbidcxhXTQGZY9abN63Cxg)(tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw symKind, tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* name, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* owner, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg options);
N_LIB_PRIVATE N_NIMCALL(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q, unknownLineInfo__5RSRhtawHi7D6db22wWkzQ)(void);
N_LIB_PRIVATE N_NIMCALL(tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*, lastSon__Bdq9aiV9buvJtPvmOc0OR5JQ)(tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* n);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, getOrDefault__NuV0kwmS6NPkSg4nGTYxGQ)(tyObject_Table__7O9bs4LORhqcR0JGh7d1MDg t, NI64 key);
N_NIMCALL(NimStringDesc*, nimInt64ToStr)(NI64 x);
N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___OtPEflpH4zlxCllppdpU2g)(tyObject_Table__7O9bs4LORhqcR0JGh7d1MDg* t, NI64 key, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* val);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newStrNode__zLcHGdlEbBYFtoCoan9agkg)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, NimStringDesc* strVal);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newFloatNode__FUOXigLcQdNOaWKUo0hkTg)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, NF floatVal);
static N_INLINE(NF, getFloat__Ne6IckEIGsEYNLHqT2VmQQparsejson)(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ* my);
N_LIB_PRIVATE N_NIMCALL(NF, nsuParseFloat)(NimStringDesc* s);
N_LIB_PRIVATE N_NIMCALL(void, internalError__5hPl6LjCYJxMYxh9af9b9bXzw)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* errMsg);
static N_INLINE(void, close__8dle9apIE9cTJGDlKOnqgjgAparsejson)(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ* my);
N_LIB_PRIVATE N_NIMCALL(void, close__m9bpQUVeRkyuyv4zAGVgY9bw_3)(tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg* L);
N_LIB_PRIVATE N_NIMCALL(void, initIntSet__n8oDZMn19bEdodSnrBQB9a1Q)(tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg* Result);
N_LIB_PRIVATE N_NIMCALL(void, storeAny__l7I4lFY1gRcPW76EbMBfZA)(NimStringDesc** s, tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* t, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a, tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg* stored, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf);
N_NIMCALL(NimStringDesc*, nimBoolToStr)(NIM_BOOL x);
N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
N_NIMCALL(NI64, chckRange64)(NI64 i, NI64 a, NI64 b);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, escapeJson__NGTWHwdUy0ADNv9alK3ECRA)(NimStringDesc* s);
N_NIMCALL(NimStringDesc*, nimCharToStr)(NIM_CHAR x);
N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x);
static N_INLINE(NI, subInt)(NI a, NI b);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, skipColon__6HTnbQSyt2cHxsWfF3vG0A)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(void, storeObj__oVnZagNd09a2HaQ033USNUQ)(NimStringDesc** s, tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typ, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* x, tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg* stored, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf);
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, getField__vtwh7CEP5nsVSehDp7nt6w)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NI position);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, lastSon__UPSW0jLTX5qJL51YMUAHgw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, copyNode__Dsjo9bte8vGxzhtcSrsTyiQ)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* src);
static N_INLINE(NI64, addInt64)(NI64 a, NI64 b);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, containsOrIncl__VFt0uM7bgfJ5age9alOsU9cg)(tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg* s, NI key);
static N_INLINE(NI, ptrToInt__mwRK0r64EAmuGSfMTsaPsgvmmarshal)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* x);
N_NIMCALL(NimStringDesc*, nimFloatToStr)(NF f);
N_LIB_PRIVATE N_NIMCALL(void, internalError__yTu5SGHF0j0P9cQrqN7YylA)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, NimStringDesc* errMsg);
extern TNimType NTI__KWIQnzXEOUqdWsnCUL9atyQ_;
extern tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
extern TNimType NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_;
static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__eBu3XSE68i5yQmrMcuBiww_2 = {
0xec, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_3, "\'sons\' is not accessible using discriminant \'kind\' of type \'TNo"
"de\'", 66);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_4, "unknown file", 12);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_5, "vmmarshal.nim(146, 21) `false` ", 31);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_6, "\'true\' or \'false\' expected for a bool", 37);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_7, "parsejson.nim(124, 9) `my.kind in {jsonInt, jsonFloat, jsonStri"
"ng}` ", 68);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_8, "parsejson.nim(129, 9) `my.kind == jsonInt` ", 43);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_9, "string of length 1 expected for a char", 38);
static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__eBu3XSE68i5yQmrMcuBiww_10 = {
0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_11, "\'sym\' is not accessible using discriminant \'kind\' of type \'TNod"
"e\'", 65);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_13, "string expected for an enum", 27);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_14, "\'[\' expected for an array", 25);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_15, "\']\' end of array expected", 25);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_16, "\'[\' expected for a seq", 22);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_17, "\'{\' expected for an object", 26);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_18, "string expected for a field name", 32);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_19, "too many fields to tuple type ", 30);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_21, "\'}\' end of object expected", 26);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_22, "unknown field for object of type ", 33);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_25, "\'[\' expected for a set", 22);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_26, "cannot load object with address ", 32);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_27, "index for ref type expected", 27);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_28, "\']\' end of ref-address pair expected", 36);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_29, "int for pointer type expected", 29);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_30, "string expected", 15);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_31, "int expected", 12);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_32, "parsejson.nim(134, 9) `my.kind == jsonFloat` ", 45);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_33, "float expected", 14);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_34, "cannot marshal at compile-time ", 31);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_35, "vmmarshal.nim(65, 21) `false` ", 30);
static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__eBu3XSE68i5yQmrMcuBiww_36 = {
0xe0, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_37, "\'intVal\' is not accessible using discriminant \'kind\' of type \'T"
"Node\'", 68);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_38, "null", 4);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_39, "[", 1);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_41, ", ", 2);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_43, "]", 1);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_44, "{", 1);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_45, "\"Field", 6);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_46, "\": ", 3);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_48, "}", 1);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_49, "vmmarshal.nim(40, 10) `x.kind == nkObjConstr` ", 46);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_50, ": ", 2);
static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__eBu3XSE68i5yQmrMcuBiww_58 = {
0x00, 0x00, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_59, "\'strVal\' is not accessible using discriminant \'kind\' of type \'T"
"Node\'", 68);
static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__eBu3XSE68i5yQmrMcuBiww_60 = {
0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_61, "\'floatVal\' is not accessible using discriminant \'kind\' of type "
"\'TNode\'", 70);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, skipColon__6HTnbQSyt2cHxsWfF3vG0A)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
	result = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
	result = n;
	{
		if (!((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 34))) goto LA3_;
		if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
		if ((NU)(((NI) 1)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		result = (*n).sons->data[((NI) 1)];
	}
	LA3_: ;
	return result;
}
static N_INLINE(void, nimSetMem__JE6t4x7Z3v2iVz27Nx0MRAmemory)(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__JE6t4x7Z3v2iVz27Nx0MRAmemory(p, ((int) 0), size);
}
static N_INLINE(tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA, kind__4ctGAM18bpGmdbeESXpEMAparsejson)(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ* my) {	tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA result;
{	result = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
	result = (*my).kind;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NimStringDesc*, str__0rP2wCdbpnXyQhtQ7AnWTwparsejson)(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ* my) {	NimStringDesc* result;
{	result = (NimStringDesc*)0;
	{
		if (!!(((28 &(1U<<((NU)((*my).kind)&15U)))!=0))) goto LA3_;
		failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_7));
	}
	LA3_: ;
	result = copyString((*my).a);
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NI64, getInt__xts1yUqLRDbf9cxU9bxvopNgparsejson)(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ* my) {	NI64 result;
{	result = (NI64)0;
	{
		if (!!(((*my).kind == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 3)))) goto LA3_;
		failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_8));
	}
	LA3_: ;
	result = nsuParseBiggestInt((*my).a);
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NI, len__P89cqdlERShb9alU3iC0yj8wast)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	NI result;
	NI T1_;
	result = (NI)0;
	if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
	T1_ = ((*n).sons ? (*n).sons->Sup.len : 0);
	result = T1_;
	return result;
}
static N_INLINE(NI, safeLen__P89cqdlERShb9alU3iC0yj8w_2ast)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	NI result;
	result = (NI)0;
	{
		if (!((*n).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 0) && (*n).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23))) goto LA3_;
		result = ((NI) 0);
	}
	goto LA1_;
	LA3_: ;
	{
		result = len__P89cqdlERShb9alU3iC0yj8wast(n);
	}
	LA1_: ;
	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__Bj9c9cm9cBM9coLsuNsT5BvZ9awsystem)(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__Bj9c9cm9cBM9coLsuNsT5BvZ9awsystem(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen)));
		goto BeforeRet_;
	}
	LA3_: ;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NI, addInt)(NI a, NI b) {	NI result;
{	result = (NI)0;
	result = (NI)((NU32)(a) + (NU32)(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;
}
static N_INLINE(NI, len__5mJADrRYkP3r9auuiuDZN9cQast)(tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* n) {	NI result;
	NI T1_;
	result = (NI)0;
	T1_ = ((*n).sons ? (*n).sons->Sup.len : 0);
	result = T1_;
	return result;
}
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) {	void* T1_;
	T1_ = (void*)0;
	T1_ = memcpy(dest, source, ((size_t) (size)));
}
static N_INLINE(void, copyMem__M04YC71iJg1N7gBF3HZTngsystem)(void* dest, void* source, NI size) {	nimCopyMem(dest, source, size);
}
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {	{
		if (!!((src == NIM_NIL))) goto LA3_;
		copyMem__M04YC71iJg1N7gBF3HZTngsystem(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
		(*dest).Sup.len += (*src).Sup.len;
	}
	LA3_: ;
}
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {	addZCT__Y66tOYFjgwJ0k4aLz4bc0Q((&gch__IcYaEuuWivYAS86vFMTS3Q.zct), c);
}
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {	(*c).refcount = (NI)((NU32)((*c).refcount) - (NU32)(((NI) 8)));
	{
		if (!((NU32)((*c).refcount) < (NU32)(((NI) 8)))) goto LA3_;
		rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system(c);
	}
	LA3_: ;
}
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr) {	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result;
	result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
	result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) ((NI)((NU32)(((NI) (ptrdiff_t) (usr))) - (NU32)(((NI) 8)))));
	return result;
}
static N_INLINE(void, nimGCunrefRC1)(void* p) {	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
	T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
	T1_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(p);
	decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T1_);
}
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {	(*c).refcount = (NI)((NU32)((*c).refcount) + (NU32)(((NI) 8)));
}
static N_INLINE(void, asgnRef)(void** dest, void* src) {	{
		tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
		if (!!((src == NIM_NIL))) goto LA3_;
		T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
		T5_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(src);
		incRef__AT1eRuflKWyTTBdLjEDZbg_3system(T5_);
	}
	LA3_: ;
	{
		tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
		if (!!(((*dest) == NIM_NIL))) goto LA8_;
		T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
		T10_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem((*dest));
		decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T10_);
	}
	LA8_: ;
	(*dest) = src;
}
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(NF, getFloat__Ne6IckEIGsEYNLHqT2VmQQparsejson)(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ* my) {	NF result;
{	result = (NF)0;
	{
		if (!!(((*my).kind == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 4)))) goto LA3_;
		failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_32));
	}
	LA3_: ;
	result = nsuParseFloat((*my).a);
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, loadAny__Kcfe39caBC5uVT250dKogGQ)(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ* p, tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* t, tyObject_Table__7O9bs4LORhqcR0JGh7d1MDg* tab, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
{	result = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
	switch ((*t).kind) {
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 0):
	{
		{
			if (!NIM_TRUE) goto LA4_;
			failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_5));
		}
		LA4_: ;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 1):
	{
		tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T7_;
		T7_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
		T7_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
		switch (T7_) {
		case ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 6):
		{
			result = newIntNode__zcNs9blLGYB6i9aGKob9bpzRw(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 6), IL64(0));
		}
		break;
		case ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 5):
		{
			result = newIntNode__zcNs9blLGYB6i9aGKob9bpzRw(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 6), IL64(1));
		}
		break;
		default:
		{
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_6));
		}
		break;
		}
		next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 2):
	{
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T14_;
			NimStringDesc* x;
			T14_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T14_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (!(T14_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 2))) goto LA15_;
			x = str__0rP2wCdbpnXyQhtQ7AnWTwparsejson((&(*p)));
			{
				if (!((x ? x->Sup.len : 0) == ((NI) 1))) goto LA19_;
				if ((NU)(((NI) 0)) >= (NU)(x ? x->Sup.len : 0)) raiseIndexError2(((NI) 0),(x ? x->Sup.len : 0)-1);
				result = newIntNode__zcNs9blLGYB6i9aGKob9bpzRw(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 6), ((NI64) (((NU8)(x->data[((NI) 0)])))));
				next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
				goto BeforeRet_;
			}
			LA19_: ;
		}
		goto LA12_;
		LA15_: ;
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T22_;
			NI64 T25_;
			T22_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T22_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (!(T22_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 3))) goto LA23_;
			T25_ = (NI64)0;
			T25_ = getInt__xts1yUqLRDbf9cxU9bxvopNgparsejson((&(*p)));
			result = newIntNode__zcNs9blLGYB6i9aGKob9bpzRw(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 6), T25_);
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			goto BeforeRet_;
		}
		goto LA12_;
		LA23_: ;
		LA12_: ;
		raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_9));
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 14):
	{
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T29_;
			T29_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T29_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (!(T29_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 2))) goto LA30_;
			{
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* e;
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* colontmp_;
				e = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
				colontmp_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
				colontmp_ = (*t).n;
				{
					NI i;
					NI colontmp__2;
					NI i_2;
					i = (NI)0;
					colontmp__2 = (NI)0;
					colontmp__2 = safeLen__P89cqdlERShb9alU3iC0yj8w_2ast(colontmp_);
					i_2 = ((NI) 0);
					{
						while (1) {
							NI TM__eBu3XSE68i5yQmrMcuBiww_12;
							if (!(i_2 < colontmp__2)) goto LA35;
							i = i_2;
							if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*colontmp_).kind)>>3] &(1U<<((NU)((*colontmp_).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
							if ((NU)(i) >= (NU)((*colontmp_).sons ? (*colontmp_).sons->Sup.len : 0)) raiseIndexError2(i,((*colontmp_).sons ? (*colontmp_).sons->Sup.len : 0)-1);
							e = (*colontmp_).sons->data[i];
							{
								NimStringDesc* T38_;
								if (!(((TM__eBu3XSE68i5yQmrMcuBiww_10[(NU)((*e).kind)>>3] &(1U<<((NU)((*e).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_11));
								T38_ = (NimStringDesc*)0;
								T38_ = str__0rP2wCdbpnXyQhtQ7AnWTwparsejson((&(*p)));
								if (!eqStrings((*(*(*e).sym).name).s, T38_)) goto LA39_;
								if (!(((TM__eBu3XSE68i5yQmrMcuBiww_10[(NU)((*e).kind)>>3] &(1U<<((NU)((*e).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_11));
								result = newIntNode__zcNs9blLGYB6i9aGKob9bpzRw(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 6), ((NI64) ((*(*e).sym).position)));
								next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
								goto BeforeRet_;
							}
							LA39_: ;
							TM__eBu3XSE68i5yQmrMcuBiww_12 = addInt(i_2, ((NI) 1));
							i_2 = (NI)(TM__eBu3XSE68i5yQmrMcuBiww_12);
						} LA35: ;
					}
				}
			}
		}
		LA30_: ;
		raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_13));
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 16):
	{
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T44_;
			T44_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T44_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (!!((T44_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 10)))) goto LA45_;
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_14));
		}
		LA45_: ;
		next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
		result = newNode__PMZ27S9ai4FB3gXOMDXvwsQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 41));
		{
			while (1) {
				NIM_BOOL T49_;
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T50_;
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T52_;
				tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T53_;
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T54_;
				T49_ = (NIM_BOOL)0;
				T50_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T50_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				T49_ = !((T50_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 11)));
				if (!(T49_)) goto LA51_;
				T52_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T52_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				T49_ = !((T52_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 1)));
				LA51_: ;
				if (!T49_) goto LA48;
				T53_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
				T53_ = elemType__PfgI9ap7WOnsRfFV4znQ27w_2(t);
				T54_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
				T54_ = loadAny__Kcfe39caBC5uVT250dKogGQ(p, T53_, tab, cache, conf);
				add__P8dDSotTW25BkfbyspojGg(result, T54_);
			} LA48: ;
		}
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T57_;
			T57_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T57_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (!(T57_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 11))) goto LA58_;
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
		}
		goto LA55_;
		LA58_: ;
		{
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_15));
		}
		LA55_: ;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 24):
	{
		tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T62_;
		T62_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
		T62_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
		switch (T62_) {
		case ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 7):
		{
			result = newNode__PMZ27S9ai4FB3gXOMDXvwsQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23));
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
		}
		break;
		case ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 10):
		{
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			result = newNode__PMZ27S9ai4FB3gXOMDXvwsQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 41));
			{
				while (1) {
					NIM_BOOL T67_;
					tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T68_;
					tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T70_;
					tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T71_;
					tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T72_;
					T67_ = (NIM_BOOL)0;
					T68_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
					T68_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
					T67_ = !((T68_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 11)));
					if (!(T67_)) goto LA69_;
					T70_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
					T70_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
					T67_ = !((T70_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 1)));
					LA69_: ;
					if (!T67_) goto LA66;
					T71_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
					T71_ = elemType__PfgI9ap7WOnsRfFV4znQ27w_2(t);
					T72_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
					T72_ = loadAny__Kcfe39caBC5uVT250dKogGQ(p, T71_, tab, cache, conf);
					add__P8dDSotTW25BkfbyspojGg(result, T72_);
				} LA66: ;
			}
			{
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T75_;
				T75_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T75_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				if (!(T75_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 11))) goto LA76_;
				next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			}
			goto LA73_;
			LA76_: ;
			{
				raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) NIM_NIL));
			}
			LA73_: ;
		}
		break;
		default:
		{
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_16));
		}
		break;
		}
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 18):
	{
		NI i_3;
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T83_;
			T83_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T83_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (!!((T83_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 8)))) goto LA84_;
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_17));
		}
		LA84_: ;
		next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
		result = newNode__PMZ27S9ai4FB3gXOMDXvwsQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 160));
		i_3 = ((NI) 0);
		{
			while (1) {
				NIM_BOOL T88_;
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T89_;
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T91_;
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T104_;
				NI TM__eBu3XSE68i5yQmrMcuBiww_20;
				T88_ = (NIM_BOOL)0;
				T89_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T89_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				T88_ = !((T89_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 9)));
				if (!(T88_)) goto LA90_;
				T91_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T91_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				T88_ = !((T91_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 1)));
				LA90_: ;
				if (!T88_) goto LA87;
				{
					tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T94_;
					T94_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
					T94_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
					if (!!((T94_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 2)))) goto LA95_;
					raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_18));
				}
				LA95_: ;
				next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
				{
					NI T99_;
					NimStringDesc* T102_;
					NimStringDesc* T103_;
					T99_ = (NI)0;
					T99_ = len__5mJADrRYkP3r9auuiuDZN9cQast(t);
					if (!(T99_ <= i_3)) goto LA100_;
					T102_ = (NimStringDesc*)0;
					T103_ = (NimStringDesc*)0;
					T103_ = typeToString__QlvraUan7WbHowhAbvDvdA(t, ((tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw) 0));
					T102_ = rawNewString((T103_ ? T103_->Sup.len : 0) + 30);
appendString(T102_, ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_19));
appendString(T102_, T103_);
					raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), T102_);
				}
				LA100_: ;
				if ((NU)(i_3) >= (NU)((*t).sons ? (*t).sons->Sup.len : 0)) raiseIndexError2(i_3,((*t).sons ? (*t).sons->Sup.len : 0)-1);
				T104_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
				T104_ = loadAny__Kcfe39caBC5uVT250dKogGQ(p, (*t).sons->data[i_3], tab, cache, conf);
				add__P8dDSotTW25BkfbyspojGg(result, T104_);
				TM__eBu3XSE68i5yQmrMcuBiww_20 = addInt(i_3, ((NI) 1));
				i_3 = (NI)(TM__eBu3XSE68i5yQmrMcuBiww_20);
			} LA87: ;
		}
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T107_;
			T107_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T107_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (!(T107_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 9))) goto LA108_;
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
		}
		goto LA105_;
		LA108_: ;
		{
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_21));
		}
		LA105_: ;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 17):
	{
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T114_;
			T114_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T114_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (!!((T114_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 8)))) goto LA115_;
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_17));
		}
		LA115_: ;
		next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
		result = newNode__PMZ27S9ai4FB3gXOMDXvwsQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 38));
		if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*result).kind)>>3] &(1U<<((NU)((*result).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
		if ((*result).sons) { nimGCunrefRC1((*result).sons); (*result).sons = NIM_NIL; }
		(*result).sons = (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*) newSeqRC1((&NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_), 1);
		asgnRef((void**) (&(*result).sons->data[0]), newNode__PMZ27S9ai4FB3gXOMDXvwsQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1)));
		{
			while (1) {
				NIM_BOOL T119_;
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T120_;
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T122_;
				tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* ident;
				NimStringDesc* T128_;
				tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* field;
				NI pos;
				NI TM__eBu3XSE68i5yQmrMcuBiww_23;
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* fieldNode;
				tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q T140_;
				tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* T141_;
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T142_;
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T143_;
				T119_ = (NIM_BOOL)0;
				T120_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T120_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				T119_ = !((T120_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 9)));
				if (!(T119_)) goto LA121_;
				T122_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T122_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				T119_ = !((T122_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 1)));
				LA121_: ;
				if (!T119_) goto LA118;
				{
					tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T125_;
					T125_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
					T125_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
					if (!!((T125_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 2)))) goto LA126_;
					raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_18));
				}
				LA126_: ;
				T128_ = (NimStringDesc*)0;
				T128_ = str__0rP2wCdbpnXyQhtQ7AnWTwparsejson((&(*p)));
				ident = getIdent__9coBOmdXN09be4rJvXK6fQGQ(cache, T128_);
				field = lookupInRecord__gYQxUKQhlRY6yBu3Ll2TYg((*t).n, ident);
				{
					NimStringDesc* T133_;
					NimStringDesc* T134_;
					if (!(field == 0)) goto LA131_;
					T133_ = (NimStringDesc*)0;
					T134_ = (NimStringDesc*)0;
					T134_ = typeToString__QlvraUan7WbHowhAbvDvdA(t, ((tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw) 0));
					T133_ = rawNewString((T134_ ? T134_->Sup.len : 0) + 33);
appendString(T133_, ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_22));
appendString(T133_, T134_);
					raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), T133_);
				}
				LA131_: ;
				next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
				TM__eBu3XSE68i5yQmrMcuBiww_23 = addInt((*field).position, ((NI) 1));
				pos = (NI)(TM__eBu3XSE68i5yQmrMcuBiww_23);
				{
					NI T137_;
					NI TM__eBu3XSE68i5yQmrMcuBiww_24;
					if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*result).kind)>>3] &(1U<<((NU)((*result).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
					T137_ = ((*result).sons ? (*result).sons->Sup.len : 0);
					if (!(T137_ <= pos)) goto LA138_;
					if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*result).kind)>>3] &(1U<<((NU)((*result).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
					TM__eBu3XSE68i5yQmrMcuBiww_24 = addInt(pos, ((NI) 1));
					asgnRef((void**) (&(*result).sons), (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*) setLengthSeqV2(&((*result).sons)->Sup, (&NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_), ((NI)chckRange((NI)(TM__eBu3XSE68i5yQmrMcuBiww_24), ((NI) 0), ((NI) 2147483647)))));
				}
				LA138_: ;
				fieldNode = newNode__PMZ27S9ai4FB3gXOMDXvwsQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 34));
				T140_ = unknownLineInfo__5RSRhtawHi7D6db22wWkzQ();
				T141_ = (tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*)0;
				T141_ = newSym__IXbidcxhXTQGZY9abN63Cxg(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19), ident, NIM_NIL, T140_, 0);
				T142_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
				T142_ = newSymNode__I2DV2TmmOysY1ZEGW19b9bRg(T141_);
				addSon__P8dDSotTW25BkfbyspojGg_2(fieldNode, T142_);
				T143_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
				T143_ = loadAny__Kcfe39caBC5uVT250dKogGQ(p, (*field).typ, tab, cache, conf);
				addSon__P8dDSotTW25BkfbyspojGg_2(fieldNode, T143_);
				if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*result).kind)>>3] &(1U<<((NU)((*result).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
				if ((NU)(pos) >= (NU)((*result).sons ? (*result).sons->Sup.len : 0)) raiseIndexError2(pos,((*result).sons ? (*result).sons->Sup.len : 0)-1);
				asgnRef((void**) (&(*result).sons->data[pos]), fieldNode);
			} LA118: ;
		}
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T146_;
			T146_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T146_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (!(T146_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 9))) goto LA147_;
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
		}
		goto LA144_;
		LA147_: ;
		{
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_21));
		}
		LA144_: ;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 19):
	{
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T153_;
			T153_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T153_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (!!((T153_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 10)))) goto LA154_;
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_25));
		}
		LA154_: ;
		next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
		result = newNode__PMZ27S9ai4FB3gXOMDXvwsQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 39));
		{
			while (1) {
				NIM_BOOL T158_;
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T159_;
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T161_;
				tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T162_;
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T163_;
				T158_ = (NIM_BOOL)0;
				T159_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T159_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				T158_ = !((T159_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 11)));
				if (!(T158_)) goto LA160_;
				T161_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T161_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				T158_ = !((T161_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 1)));
				LA160_: ;
				if (!T158_) goto LA157;
				T162_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
				T162_ = lastSon__Bdq9aiV9buvJtPvmOc0OR5JQ(t);
				T163_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
				T163_ = loadAny__Kcfe39caBC5uVT250dKogGQ(p, T162_, tab, cache, conf);
				add__P8dDSotTW25BkfbyspojGg(result, T163_);
				next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			} LA157: ;
		}
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T166_;
			T166_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T166_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (!(T166_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 11))) goto LA167_;
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
		}
		goto LA164_;
		LA167_: ;
		{
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_15));
		}
		LA164_: ;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 21):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 22):
	{
		tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T171_;
		T171_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
		T171_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
		switch (T171_) {
		case ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 7):
		{
			result = newNode__PMZ27S9ai4FB3gXOMDXvwsQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23));
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
		}
		break;
		case ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 3):
		{
			NI64 T174_;
			T174_ = (NI64)0;
			T174_ = getInt__xts1yUqLRDbf9cxU9bxvopNgparsejson((&(*p)));
			result = getOrDefault__NuV0kwmS6NPkSg4nGTYxGQ((*tab), T174_);
			{
				NimStringDesc* T179_;
				NI64 T180_;
				NimStringDesc* T181_;
				if (!(result == 0)) goto LA177_;
				T179_ = (NimStringDesc*)0;
				T180_ = (NI64)0;
				T180_ = getInt__xts1yUqLRDbf9cxU9bxvopNgparsejson((&(*p)));
				T181_ = (NimStringDesc*)0;
				T181_ = nimInt64ToStr(T180_);
				T179_ = rawNewString((T181_ ? T181_->Sup.len : 0) + 32);
appendString(T179_, ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_26));
appendString(T179_, T181_);
				raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), T179_);
			}
			LA177_: ;
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
		}
		break;
		case ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 10):
		{
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			{
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T185_;
				NI64 idx;
				tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T188_;
				T185_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T185_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				if (!(T185_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 3))) goto LA186_;
				idx = getInt__xts1yUqLRDbf9cxU9bxvopNgparsejson((&(*p)));
				next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
				T188_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
				T188_ = lastSon__Bdq9aiV9buvJtPvmOc0OR5JQ(t);
				result = loadAny__Kcfe39caBC5uVT250dKogGQ(p, T188_, tab, cache, conf);
				X5BX5Deq___OtPEflpH4zlxCllppdpU2g(tab, idx, result);
			}
			goto LA183_;
			LA186_: ;
			{
				raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_27));
			}
			LA183_: ;
			{
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T192_;
				T192_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T192_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				if (!(T192_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 11))) goto LA193_;
				next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			}
			goto LA190_;
			LA193_: ;
			{
				raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_28));
			}
			LA190_: ;
		}
		break;
		default:
		{
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_29));
		}
		break;
		}
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 28):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 29):
	{
		tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T198_;
		T198_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
		T198_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
		switch (T198_) {
		case ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 7):
		{
			result = newNode__PMZ27S9ai4FB3gXOMDXvwsQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23));
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
		}
		break;
		case ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 2):
		{
			NimStringDesc* T201_;
			T201_ = (NimStringDesc*)0;
			T201_ = str__0rP2wCdbpnXyQhtQ7AnWTwparsejson((&(*p)));
			result = newStrNode__zLcHGdlEbBYFtoCoan9agkg(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 20), T201_);
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
		}
		break;
		default:
		{
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_30));
		}
		break;
		}
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 31) ... ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 35):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 40) ... ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 44):
	{
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T206_;
			NI64 T209_;
			T206_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T206_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (!(T206_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 3))) goto LA207_;
			T209_ = (NI64)0;
			T209_ = getInt__xts1yUqLRDbf9cxU9bxvopNgparsejson((&(*p)));
			result = newIntNode__zcNs9blLGYB6i9aGKob9bpzRw(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 6), T209_);
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			goto BeforeRet_;
		}
		LA207_: ;
		raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_31));
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 36) ... ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 39):
	{
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T213_;
			NF T216_;
			T213_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T213_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (!(T213_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 4))) goto LA214_;
			T216_ = (NF)0;
			T216_ = getFloat__Ne6IckEIGsEYNLHqT2VmQQparsejson((&(*p)));
			result = newFloatNode__FUOXigLcQdNOaWKUo0hkTg(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 16), T216_);
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			goto BeforeRet_;
		}
		LA214_: ;
		raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_33));
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 20):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 11):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 4):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 46):
	{
		tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T218_;
		T218_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
		T218_ = lastSon__Bdq9aiV9buvJtPvmOc0OR5JQ(t);
		result = loadAny__Kcfe39caBC5uVT250dKogGQ(p, T218_, tab, cache, conf);
	}
	break;
	default:
	{
		NimStringDesc* T220_;
		NimStringDesc* T221_;
		T220_ = (NimStringDesc*)0;
		T221_ = (NimStringDesc*)0;
		T221_ = typeToString__QlvraUan7WbHowhAbvDvdA(t, ((tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw) 0));
		T220_ = rawNewString((T221_ ? T221_->Sup.len : 0) + 31);
appendString(T220_, ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_34));
appendString(T220_, T221_);
		internalError__5hPl6LjCYJxMYxh9af9b9bXzw(conf, T220_);
	}
	break;
	}
	}BeforeRet_: ;
	return result;
}
static N_INLINE(void, close__8dle9apIE9cTJGDlKOnqgjgAparsejson)(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ* my) {	tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg* T1_;
	T1_ = (tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg*)0;
	T1_ = &my->Sup;
	close__m9bpQUVeRkyuyv4zAGVgY9bw_3(T1_);
}
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, loadAny__Sr5ibxUUgGhmgltd4r9cYpg)(NimStringDesc* s, tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* t, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
	tyObject_Table__7O9bs4LORhqcR0JGh7d1MDg tab;
	tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ p;
	tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw* T1_;
	tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* T2_;
	result = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
	nimZeroMem((void*)(&tab), sizeof(tyObject_Table__7O9bs4LORhqcR0JGh7d1MDg));
	initTable__YTsZ11U9aeIqqeJoGkYFEXQ(((NI) 64), (&tab));
	nimZeroMem((void*)(&p), sizeof(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ));
	p.Sup.Sup.m_type = (&NTI__KWIQnzXEOUqdWsnCUL9atyQ_);
	T1_ = (tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw*)0;
	T1_ = newStringStream__9aLRtgEYeRMrZKrObtoOslQ(s);
	T2_ = (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ*)0;
	T2_ = &T1_->Sup;
	open__caSf5pJv2JnMMpxc9bAhdpA((&p), T2_, ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_4), NIM_FALSE);
	next__FPdQ9beZqb3bJ7eVHJww6Qg((&p));
	result = loadAny__Kcfe39caBC5uVT250dKogGQ((&p), t, (&tab), cache, conf);
	close__8dle9apIE9cTJGDlKOnqgjgAparsejson((&p));
	return result;
}
static N_INLINE(NI, subInt)(NI a, NI b) {	NI result;
{	result = (NI)0;
	result = (NI)((NU32)(a) - (NU32)(b));
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (((NI) 0) <= (NI)(result ^ a));
		if (T3_) goto LA4_;
		T3_ = (((NI) 0) <= (NI)(result ^ (NI)((NU32) ~(b))));
		LA4_: ;
		if (!T3_) goto LA5_;
		goto BeforeRet_;
	}
	LA5_: ;
	raiseOverflow();
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, getField__vtwh7CEP5nsVSehDp7nt6w)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NI position) {	tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* result;
{	result = (tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*)0;
	switch ((*n).kind) {
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 138):
	{
		{
			NI i;
			NI colontmp_;
			NI i_2;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(n);
			i_2 = ((NI) 0);
			{
				while (1) {
					NI TM__eBu3XSE68i5yQmrMcuBiww_51;
					if (!(i_2 < colontmp_)) goto LA4;
					i = i_2;
					if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
					if ((NU)(i) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i,((*n).sons ? (*n).sons->Sup.len : 0)-1);
					result = getField__vtwh7CEP5nsVSehDp7nt6w((*n).sons->data[i], position);
					{
						if (!!((result == NIM_NIL))) goto LA7_;
						goto BeforeRet_;
					}
					LA7_: ;
					TM__eBu3XSE68i5yQmrMcuBiww_51 = addInt(i_2, ((NI) 1));
					i_2 = (NI)(TM__eBu3XSE68i5yQmrMcuBiww_51);
				} LA4: ;
			}
		}
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 139):
	{
		if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		result = getField__vtwh7CEP5nsVSehDp7nt6w((*n).sons->data[((NI) 0)], position);
		{
			if (!!((result == NIM_NIL))) goto LA12_;
			goto BeforeRet_;
		}
		LA12_: ;
		{
			NI i_3;
			NI colontmp__2;
			NI i_4;
			i_3 = (NI)0;
			colontmp__2 = (NI)0;
			colontmp__2 = len__P89cqdlERShb9alU3iC0yj8wast(n);
			i_4 = ((NI) 1);
			{
				while (1) {
					NI TM__eBu3XSE68i5yQmrMcuBiww_52;
					if (!(i_4 < colontmp__2)) goto LA16;
					i_3 = i_4;
					if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
					if ((NU)(i_3) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i_3,((*n).sons ? (*n).sons->Sup.len : 0)-1);
					switch ((*(*n).sons->data[i_3]).kind) {
					case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 85):
					case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 88):
					{
						tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T18_;
						if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
						if ((NU)(i_3) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i_3,((*n).sons ? (*n).sons->Sup.len : 0)-1);
						T18_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
						T18_ = lastSon__UPSW0jLTX5qJL51YMUAHgw((*n).sons->data[i_3]);
						result = getField__vtwh7CEP5nsVSehDp7nt6w(T18_, position);
						{
							if (!!((result == NIM_NIL))) goto LA21_;
							goto BeforeRet_;
						}
						LA21_: ;
					}
					break;
					default:
					{
					}
					break;
					}
					TM__eBu3XSE68i5yQmrMcuBiww_52 = addInt(i_4, ((NI) 1));
					i_4 = (NI)(TM__eBu3XSE68i5yQmrMcuBiww_52);
				} LA16: ;
			}
		}
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3):
	{
		{
			if (!(((TM__eBu3XSE68i5yQmrMcuBiww_10[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_11));
			if (!((*(*n).sym).position == position)) goto LA27_;
			if (!(((TM__eBu3XSE68i5yQmrMcuBiww_10[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_11));
			result = (*n).sym;
		}
		LA27_: ;
	}
	break;
	default:
	{
	}
	break;
	}
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, storeObj__oVnZagNd09a2HaQ033USNUQ)(NimStringDesc** s, tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typ, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* x, tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg* stored, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {	NI start;
	{
		if (!!(((*x).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 38)))) goto LA3_;
		failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_49));
	}
	LA3_: ;
	start = ((NI) 1);
	{
		NI i;
		NI colontmp_;
		NI i_2;
		i = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(x);
		i_2 = start;
		{
			while (1) {
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* it;
				NI TM__eBu3XSE68i5yQmrMcuBiww_53;
				if (!(i_2 < colontmp_)) goto LA7;
				i = i_2;
				{
					if (!(start < i)) goto LA10_;
					unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_41));
				}
				LA10_: ;
				if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*x).kind)>>3] &(1U<<((NU)((*x).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
				if ((NU)(i) >= (NU)((*x).sons ? (*x).sons->Sup.len : 0)) raiseIndexError2(i,((*x).sons ? (*x).sons->Sup.len : 0)-1);
				it = (*x).sons->data[i];
				{
					if (!((*it).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 34))) goto LA14_;
					{
						tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* field;
						NimStringDesc* T20_;
						if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*it).kind)>>3] &(1U<<((NU)((*it).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
						if ((NU)(((NI) 0)) >= (NU)((*it).sons ? (*it).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*it).sons ? (*it).sons->Sup.len : 0)-1);
						if (!((*(*it).sons->data[((NI) 0)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3))) goto LA18_;
						if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*it).kind)>>3] &(1U<<((NU)((*it).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
						if ((NU)(((NI) 0)) >= (NU)((*it).sons ? (*it).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*it).sons ? (*it).sons->Sup.len : 0)-1);
						if (!(((TM__eBu3XSE68i5yQmrMcuBiww_10[(NU)((*(*it).sons->data[((NI) 0)]).kind)>>3] &(1U<<((NU)((*(*it).sons->data[((NI) 0)]).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_11));
						field = (*(*it).sons->data[((NI) 0)]).sym;
						T20_ = (NimStringDesc*)0;
						T20_ = escapeJson__NGTWHwdUy0ADNv9alK3ECRA((*(*field).name).s);
						unsureAsgnRef((void**) (&(*s)), resizeString((*s), (T20_ ? T20_->Sup.len : 0) + 0));
appendString((*s), T20_);
						unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_50));
						if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*it).kind)>>3] &(1U<<((NU)((*it).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
						if ((NU)(((NI) 1)) >= (NU)((*it).sons ? (*it).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*it).sons ? (*it).sons->Sup.len : 0)-1);
						storeAny__l7I4lFY1gRcPW76EbMBfZA(s, (*field).typ, (*it).sons->data[((NI) 1)], stored, conf);
					}
					LA18_: ;
				}
				goto LA12_;
				LA14_: ;
				{
					tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* field_2;
					NimStringDesc* T24_;
					if (!!(((*typ).n == NIM_NIL))) goto LA22_;
					field_2 = getField__vtwh7CEP5nsVSehDp7nt6w((*typ).n, i);
					T24_ = (NimStringDesc*)0;
					T24_ = escapeJson__NGTWHwdUy0ADNv9alK3ECRA((*(*field_2).name).s);
					unsureAsgnRef((void**) (&(*s)), resizeString((*s), (T24_ ? T24_->Sup.len : 0) + 0));
appendString((*s), T24_);
					unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_50));
					storeAny__l7I4lFY1gRcPW76EbMBfZA(s, (*field_2).typ, it, stored, conf);
				}
				goto LA12_;
				LA22_: ;
				LA12_: ;
				TM__eBu3XSE68i5yQmrMcuBiww_53 = addInt(i_2, ((NI) 1));
				i_2 = (NI)(TM__eBu3XSE68i5yQmrMcuBiww_53);
			} LA7: ;
		}
	}
}
static N_INLINE(NI64, addInt64)(NI64 a, NI64 b) {	NI64 result;
{	result = (NI64)0;
	result = (NI64)((NU64)(a) + (NU64)(b));
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (IL64(0) <= (NI64)(result ^ a));
		if (T3_) goto LA4_;
		T3_ = (IL64(0) <= (NI64)(result ^ b));
		LA4_: ;
		if (!T3_) goto LA5_;
		goto BeforeRet_;
	}
	LA5_: ;
	raiseOverflow();
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NI, ptrToInt__mwRK0r64EAmuGSfMTsaPsgvmmarshal)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* x) {	NI result;
	result = (NI)0;
	result = ((NI) (x));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, storeAny__l7I4lFY1gRcPW76EbMBfZA)(NimStringDesc** s, tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* t, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a, tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg* stored, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {	switch ((*t).kind) {
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 0):
	{
		{
			if (!NIM_TRUE) goto LA4_;
			failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_35));
		}
		LA4_: ;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 1):
	{
		NimStringDesc* T7_;
		if (!(((TM__eBu3XSE68i5yQmrMcuBiww_36[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_37));
		T7_ = (NimStringDesc*)0;
		T7_ = nimBoolToStr(!(((*a).intVal == IL64(0))));
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), (T7_ ? T7_->Sup.len : 0) + 0));
appendString((*s), T7_);
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 2):
	{
		NIM_CHAR ch;
		if (!(((TM__eBu3XSE68i5yQmrMcuBiww_36[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_37));
		ch = ((NIM_CHAR)chckRange64((*a).intVal, 0, 255));
		{
			NimStringDesc* T13_;
			NimStringDesc* T14_;
			if (!((NU8)(ch) < (NU8)(128))) goto LA11_;
			T13_ = (NimStringDesc*)0;
			T13_ = nimCharToStr(ch);
			T14_ = (NimStringDesc*)0;
			T14_ = escapeJson__NGTWHwdUy0ADNv9alK3ECRA(T13_);
			unsureAsgnRef((void**) (&(*s)), resizeString((*s), (T14_ ? T14_->Sup.len : 0) + 0));
appendString((*s), T14_);
		}
		goto LA9_;
		LA11_: ;
		{
			NimStringDesc* T16_;
			T16_ = (NimStringDesc*)0;
			T16_ = nimIntToStr(((NI) (((NU8)(ch)))));
			unsureAsgnRef((void**) (&(*s)), resizeString((*s), (T16_ ? T16_->Sup.len : 0) + 0));
appendString((*s), T16_);
		}
		LA9_: ;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 16):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 24):
	{
		{
			NIM_BOOL T20_;
			T20_ = (NIM_BOOL)0;
			T20_ = ((*t).kind == ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 24));
			if (!(T20_)) goto LA21_;
			T20_ = ((*a).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23));
			LA21_: ;
			if (!T20_) goto LA22_;
			unsureAsgnRef((void**) (&(*s)), resizeString((*s), 4));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_38));
		}
		goto LA18_;
		LA22_: ;
		{
			unsureAsgnRef((void**) (&(*s)), resizeString((*s), 1));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_39));
			{
				NI i;
				NI colontmp_;
				NI T26_;
				NI TM__eBu3XSE68i5yQmrMcuBiww_40;
				NI res;
				i = (NI)0;
				colontmp_ = (NI)0;
				T26_ = (NI)0;
				T26_ = len__P89cqdlERShb9alU3iC0yj8wast(a);
				TM__eBu3XSE68i5yQmrMcuBiww_40 = subInt(T26_, ((NI) 1));
				colontmp_ = (NI)(TM__eBu3XSE68i5yQmrMcuBiww_40);
				res = ((NI) 0);
				{
					while (1) {
						tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T33_;
						NI TM__eBu3XSE68i5yQmrMcuBiww_42;
						if (!(res <= colontmp_)) goto LA28;
						i = res;
						{
							if (!(((NI) 0) < i)) goto LA31_;
							unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_41));
						}
						LA31_: ;
						T33_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
						T33_ = elemType__PfgI9ap7WOnsRfFV4znQ27w_2(t);
						if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
						if ((NU)(i) >= (NU)((*a).sons ? (*a).sons->Sup.len : 0)) raiseIndexError2(i,((*a).sons ? (*a).sons->Sup.len : 0)-1);
						storeAny__l7I4lFY1gRcPW76EbMBfZA(s, T33_, (*a).sons->data[i], stored, conf);
						TM__eBu3XSE68i5yQmrMcuBiww_42 = addInt(res, ((NI) 1));
						res = (NI)(TM__eBu3XSE68i5yQmrMcuBiww_42);
					} LA28: ;
				}
			}
			unsureAsgnRef((void**) (&(*s)), resizeString((*s), 1));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_43));
		}
		LA18_: ;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 18):
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 1));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_44));
		{
			NI i_2;
			NI colontmp__2;
			NI i_3;
			i_2 = (NI)0;
			colontmp__2 = (NI)0;
			colontmp__2 = len__5mJADrRYkP3r9auuiuDZN9cQast(t);
			i_3 = ((NI) 0);
			{
				while (1) {
					NimStringDesc* T42_;
					NimStringDesc* T43_;
					tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T44_;
					NI TM__eBu3XSE68i5yQmrMcuBiww_47;
					if (!(i_3 < colontmp__2)) goto LA37;
					i_2 = i_3;
					{
						if (!(((NI) 0) < i_2)) goto LA40_;
						unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_41));
					}
					LA40_: ;
					T42_ = (NimStringDesc*)0;
					T43_ = (NimStringDesc*)0;
					T43_ = nimIntToStr(i_2);
					T42_ = rawNewString((T43_ ? T43_->Sup.len : 0) + 6);
appendString(T42_, ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_45));
appendString(T42_, T43_);
					unsureAsgnRef((void**) (&(*s)), resizeString((*s), (T42_ ? T42_->Sup.len : 0) + 0));
appendString((*s), T42_);
					unsureAsgnRef((void**) (&(*s)), resizeString((*s), 3));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_46));
					if ((NU)(i_2) >= (NU)((*t).sons ? (*t).sons->Sup.len : 0)) raiseIndexError2(i_2,((*t).sons ? (*t).sons->Sup.len : 0)-1);
					if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
					if ((NU)(i_2) >= (NU)((*a).sons ? (*a).sons->Sup.len : 0)) raiseIndexError2(i_2,((*a).sons ? (*a).sons->Sup.len : 0)-1);
					T44_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
					T44_ = skipColon__6HTnbQSyt2cHxsWfF3vG0A((*a).sons->data[i_2]);
					storeAny__l7I4lFY1gRcPW76EbMBfZA(s, (*t).sons->data[i_2], T44_, stored, conf);
					TM__eBu3XSE68i5yQmrMcuBiww_47 = addInt(i_3, ((NI) 1));
					i_3 = (NI)(TM__eBu3XSE68i5yQmrMcuBiww_47);
				} LA37: ;
			}
		}
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 1));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_48));
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 17):
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 1));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_44));
		storeObj__oVnZagNd09a2HaQ033USNUQ(s, t, a, stored, conf);
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 1));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_48));
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 19):
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 1));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_39));
		{
			NI i_4;
			NI colontmp__3;
			NI i_5;
			i_4 = (NI)0;
			colontmp__3 = (NI)0;
			colontmp__3 = len__P89cqdlERShb9alU3iC0yj8wast(a);
			i_5 = ((NI) 0);
			{
				while (1) {
					NI TM__eBu3XSE68i5yQmrMcuBiww_56;
					if (!(i_5 < colontmp__3)) goto LA49;
					i_4 = i_5;
					{
						if (!(((NI) 0) < i_4)) goto LA52_;
						unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_41));
					}
					LA52_: ;
					{
						tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* x;
						tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T58_;
						if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
						if ((NU)(i_4) >= (NU)((*a).sons ? (*a).sons->Sup.len : 0)) raiseIndexError2(i_4,((*a).sons ? (*a).sons->Sup.len : 0)-1);
						if (!((*(*a).sons->data[i_4]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 44))) goto LA56_;
						if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
						if ((NU)(i_4) >= (NU)((*a).sons ? (*a).sons->Sup.len : 0)) raiseIndexError2(i_4,((*a).sons ? (*a).sons->Sup.len : 0)-1);
						if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*(*a).sons->data[i_4]).kind)>>3] &(1U<<((NU)((*(*a).sons->data[i_4]).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
						if ((NU)(((NI) 0)) >= (NU)((*(*a).sons->data[i_4]).sons ? (*(*a).sons->data[i_4]).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*(*a).sons->data[i_4]).sons ? (*(*a).sons->data[i_4]).sons->Sup.len : 0)-1);
						x = copyNode__Dsjo9bte8vGxzhtcSrsTyiQ((*(*a).sons->data[i_4]).sons->data[((NI) 0)]);
						T58_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
						T58_ = lastSon__Bdq9aiV9buvJtPvmOc0OR5JQ(t);
						storeAny__l7I4lFY1gRcPW76EbMBfZA(s, T58_, x, stored, conf);
						{
							while (1) {
								NI64 TM__eBu3XSE68i5yQmrMcuBiww_54;
								tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T61_;
								NI64 TM__eBu3XSE68i5yQmrMcuBiww_55;
								if (!(((TM__eBu3XSE68i5yQmrMcuBiww_36[(NU)((*x).kind)>>3] &(1U<<((NU)((*x).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_37));
								TM__eBu3XSE68i5yQmrMcuBiww_54 = addInt64((*x).intVal, IL64(1));
								if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
								if ((NU)(i_4) >= (NU)((*a).sons ? (*a).sons->Sup.len : 0)) raiseIndexError2(i_4,((*a).sons ? (*a).sons->Sup.len : 0)-1);
								if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*(*a).sons->data[i_4]).kind)>>3] &(1U<<((NU)((*(*a).sons->data[i_4]).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
								if ((NU)(((NI) 1)) >= (NU)((*(*a).sons->data[i_4]).sons ? (*(*a).sons->data[i_4]).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*(*a).sons->data[i_4]).sons ? (*(*a).sons->data[i_4]).sons->Sup.len : 0)-1);
								if (!(((TM__eBu3XSE68i5yQmrMcuBiww_36[(NU)((*(*(*a).sons->data[i_4]).sons->data[((NI) 1)]).kind)>>3] &(1U<<((NU)((*(*(*a).sons->data[i_4]).sons->data[((NI) 1)]).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_37));
								if (!((NI64)(TM__eBu3XSE68i5yQmrMcuBiww_54) <= (*(*(*a).sons->data[i_4]).sons->data[((NI) 1)]).intVal)) goto LA60;
								unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_41));
								T61_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
								T61_ = lastSon__Bdq9aiV9buvJtPvmOc0OR5JQ(t);
								storeAny__l7I4lFY1gRcPW76EbMBfZA(s, T61_, x, stored, conf);
								if (!(((TM__eBu3XSE68i5yQmrMcuBiww_36[(NU)((*x).kind)>>3] &(1U<<((NU)((*x).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_37));
								TM__eBu3XSE68i5yQmrMcuBiww_55 = addInt64((*x).intVal, ((NI) 1));
								(*x).intVal = (NI64)(TM__eBu3XSE68i5yQmrMcuBiww_55);
							} LA60: ;
						}
					}
					goto LA54_;
					LA56_: ;
					{
						tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T63_;
						T63_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
						T63_ = lastSon__Bdq9aiV9buvJtPvmOc0OR5JQ(t);
						if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
						if ((NU)(i_4) >= (NU)((*a).sons ? (*a).sons->Sup.len : 0)) raiseIndexError2(i_4,((*a).sons ? (*a).sons->Sup.len : 0)-1);
						storeAny__l7I4lFY1gRcPW76EbMBfZA(s, T63_, (*a).sons->data[i_4], stored, conf);
					}
					LA54_: ;
					TM__eBu3XSE68i5yQmrMcuBiww_56 = addInt(i_5, ((NI) 1));
					i_5 = (NI)(TM__eBu3XSE68i5yQmrMcuBiww_56);
				} LA49: ;
			}
		}
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 1));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_43));
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 20):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 11):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 4):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 46):
	{
		tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T65_;
		T65_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
		T65_ = lastSon__Bdq9aiV9buvJtPvmOc0OR5JQ(t);
		storeAny__l7I4lFY1gRcPW76EbMBfZA(s, T65_, a, stored, conf);
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 14):
	{
		{
			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* e;
			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* colontmp__4;
			e = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
			colontmp__4 = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
			colontmp__4 = (*t).n;
			{
				NI i_6;
				NI colontmp__5;
				NI i_7;
				i_6 = (NI)0;
				colontmp__5 = (NI)0;
				colontmp__5 = safeLen__P89cqdlERShb9alU3iC0yj8w_2ast(colontmp__4);
				i_7 = ((NI) 0);
				{
					while (1) {
						NI TM__eBu3XSE68i5yQmrMcuBiww_57;
						if (!(i_7 < colontmp__5)) goto LA70;
						i_6 = i_7;
						if (((TM__eBu3XSE68i5yQmrMcuBiww_2[(NU)((*colontmp__4).kind)>>3] &(1U<<((NU)((*colontmp__4).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
						if ((NU)(i_6) >= (NU)((*colontmp__4).sons ? (*colontmp__4).sons->Sup.len : 0)) raiseIndexError2(i_6,((*colontmp__4).sons ? (*colontmp__4).sons->Sup.len : 0)-1);
						e = (*colontmp__4).sons->data[i_6];
						{
							NimStringDesc* T75_;
							if (!(((TM__eBu3XSE68i5yQmrMcuBiww_10[(NU)((*e).kind)>>3] &(1U<<((NU)((*e).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_11));
							if (!(((TM__eBu3XSE68i5yQmrMcuBiww_36[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_37));
							if (!(((NI64) ((*(*e).sym).position)) == (*a).intVal)) goto LA73_;
							if (!(((TM__eBu3XSE68i5yQmrMcuBiww_10[(NU)((*e).kind)>>3] &(1U<<((NU)((*e).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_11));
							T75_ = (NimStringDesc*)0;
							T75_ = escapeJson__NGTWHwdUy0ADNv9alK3ECRA((*(*(*e).sym).name).s);
							unsureAsgnRef((void**) (&(*s)), resizeString((*s), (T75_ ? T75_->Sup.len : 0) + 0));
appendString((*s), T75_);
							goto LA67;
						}
						LA73_: ;
						TM__eBu3XSE68i5yQmrMcuBiww_57 = addInt(i_7, ((NI) 1));
						i_7 = (NI)(TM__eBu3XSE68i5yQmrMcuBiww_57);
					} LA70: ;
				}
			}
		} LA67: ;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 21):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 22):
	{
		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* x_2;
		x_2 = a;
		{
			NIM_BOOL T79_;
			T79_ = (NIM_BOOL)0;
			T79_ = (x_2 == 0);
			if (T79_) goto LA80_;
			T79_ = ((*x_2).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23));
			LA80_: ;
			if (!T79_) goto LA81_;
			unsureAsgnRef((void**) (&(*s)), resizeString((*s), 4));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_38));
		}
		goto LA77_;
		LA81_: ;
		{
			NI T84_;
			NIM_BOOL T85_;
			NI T88_;
			NimStringDesc* T89_;
			T84_ = (NI)0;
			T84_ = ptrToInt__mwRK0r64EAmuGSfMTsaPsgvmmarshal(x_2);
			T85_ = (NIM_BOOL)0;
			T85_ = containsOrIncl__VFt0uM7bgfJ5age9alOsU9cg(stored, T84_);
			if (!T85_) goto LA86_;
			T88_ = (NI)0;
			T88_ = ptrToInt__mwRK0r64EAmuGSfMTsaPsgvmmarshal(x_2);
			T89_ = (NimStringDesc*)0;
			T89_ = nimIntToStr(T88_);
			unsureAsgnRef((void**) (&(*s)), resizeString((*s), (T89_ ? T89_->Sup.len : 0) + 0));
appendString((*s), T89_);
		}
		goto LA77_;
		LA86_: ;
		{
			NI T91_;
			NimStringDesc* T92_;
			tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T93_;
			unsureAsgnRef((void**) (&(*s)), resizeString((*s), 1));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_39));
			T91_ = (NI)0;
			T91_ = ptrToInt__mwRK0r64EAmuGSfMTsaPsgvmmarshal(x_2);
			T92_ = (NimStringDesc*)0;
			T92_ = nimIntToStr(T91_);
			unsureAsgnRef((void**) (&(*s)), resizeString((*s), (T92_ ? T92_->Sup.len : 0) + 0));
appendString((*s), T92_);
			unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_41));
			T93_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
			T93_ = lastSon__Bdq9aiV9buvJtPvmOc0OR5JQ(t);
			storeAny__l7I4lFY1gRcPW76EbMBfZA(s, T93_, a, stored, conf);
			unsureAsgnRef((void**) (&(*s)), resizeString((*s), 1));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_43));
		}
		LA77_: ;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 28):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 29):
	{
		{
			if (!((*a).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23))) goto LA97_;
			unsureAsgnRef((void**) (&(*s)), resizeString((*s), 4));
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_38));
		}
		goto LA95_;
		LA97_: ;
		{
			NimStringDesc* T100_;
			if (!(((TM__eBu3XSE68i5yQmrMcuBiww_58[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_59));
			T100_ = (NimStringDesc*)0;
			T100_ = escapeJson__NGTWHwdUy0ADNv9alK3ECRA((*a).strVal);
			unsureAsgnRef((void**) (&(*s)), resizeString((*s), (T100_ ? T100_->Sup.len : 0) + 0));
appendString((*s), T100_);
		}
		LA95_: ;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 31) ... ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 35):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 40) ... ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 44):
	{
		NimStringDesc* T102_;
		if (!(((TM__eBu3XSE68i5yQmrMcuBiww_36[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_37));
		T102_ = (NimStringDesc*)0;
		T102_ = nimInt64ToStr((*a).intVal);
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), (T102_ ? T102_->Sup.len : 0) + 0));
appendString((*s), T102_);
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 36) ... ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 39):
	{
		NimStringDesc* T104_;
		if (!(((TM__eBu3XSE68i5yQmrMcuBiww_60[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_61));
		T104_ = (NimStringDesc*)0;
		T104_ = nimFloatToStr((*a).floatVal);
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), (T104_ ? T104_->Sup.len : 0) + 0));
appendString((*s), T104_);
	}
	break;
	default:
	{
		NimStringDesc* T106_;
		NimStringDesc* T107_;
		T106_ = (NimStringDesc*)0;
		T107_ = (NimStringDesc*)0;
		T107_ = typeToString__QlvraUan7WbHowhAbvDvdA(t, ((tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw) 0));
		T106_ = rawNewString((T107_ ? T107_->Sup.len : 0) + 31);
appendString(T106_, ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_34));
appendString(T106_, T107_);
		internalError__yTu5SGHF0j0P9cQrqN7YylA(conf, (*a).info, T106_);
	}
	break;
	}
}
N_LIB_PRIVATE N_NIMCALL(void, storeAny__OIEM18oCrQXxJj2UzbHuPA)(NimStringDesc** s, tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* t, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {	tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg stored;
	nimZeroMem((void*)(&stored), sizeof(tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg));
	initIntSet__n8oDZMn19bEdodSnrBQB9a1Q((&stored));
	storeAny__l7I4lFY1gRcPW76EbMBfZA(s, t, a, (&stored), conf);
}
