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

/* section: NIM_merge_HEADERS */

#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

/* section: NIM_merge_FRAME_DEFINES */
#define nimfr_(x, y)
#define nimln_(x, y)

/* section: NIM_merge_FORWARD_TYPES */
typedef struct tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ;
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_TLineInfo__WGx4rAexNXnczy1Avn646Q tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q;
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_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 tyTuple__kN8up2W6YKc5YA9avn5mV5w tyTuple__kN8up2W6YKc5YA9avn5mV5w;
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;

/* section: NIM_merge_TYPES */
struct TGenericSeq {
NI len;
NI reserved;
};
struct NimStringDesc {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
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;
NI align;
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_TLineInfo__WGx4rAexNXnczy1Avn646Q {
NU16 line;
NI16 col;
NI32 fileIndex;
};
typedef NU32 tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg;
typedef NU8 tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw;
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;
} _kind_1;
struct {NF floatVal;
} _kind_2;
struct {NimStringDesc* strVal;
} _kind_3;
struct {tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* sym;
} _kind_4;
struct {tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* ident;
} _kind_5;
struct {tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ* sons;
} _kind_6;
};
NimStringDesc* comment;
};
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[6];
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;
} _kind_1;
struct {tySequence__DXS6mEo7PVUFJkirsQ9bNQA* procInstCache;
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* gcUnsafetyReason;
tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* transformedBody;
} _kind_2;
struct {tySequence__DXS6mEo7PVUFJkirsQ9bNQA* usedGenerics;
tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA tab;
} _kind_3;
struct {tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* guard;
NI bitsize;
NI alignment;
} _kind_4;
};
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 tyTuple__kN8up2W6YKc5YA9avn5mV5w {
NimStringDesc* Field0;
NI Field1;
NI Field2;
};
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;
};

/* section: NIM_merge_SEQ_TYPES */
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];
};

/* section: NIM_merge_PROC_HEADERS */
static N_INLINE(void, nimZeroMem)(void* p, NI size);
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size);
static N_INLINE(NIM_BOOL*, nimErrorFlag)(void);
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);
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);
static N_INLINE(NimStringDesc*, str__0rP2wCdbpnXyQhtQ7AnWTwparsejson)(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ* my);
N_LIB_PRIVATE 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__9bGgqEk7RXXl6eqM9c1HdELAsystem)(void* a, void* b, NI size);
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
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__i80o3k0SgEI5gTRCzYdyWAsystem)(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_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
N_LIB_PRIVATE N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
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);
N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, setLengthSeqV2)(TGenericSeq* s, TNimType* typ, NI newLen);
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_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_LIB_PRIVATE 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, internalErrorImpl__PTSwZ6HM9bGBf7vF9cnDmwVw)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, NimStringDesc* errMsg, tyTuple__kN8up2W6YKc5YA9avn5mV5w info2);
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_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimBoolToStr)(NIM_BOOL x);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, escapeJson__NGTWHwdUy0ADNv9alK3ECRA)(NimStringDesc* s);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimCharToStr)(NIM_CHAR x);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, skipColon__UPSW0jLTX5qJL51YMUAHgw_3)(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_2)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* src);
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_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimFloatToStr)(NF f);

/* section: NIM_merge_DATA */
extern TNimType NTI__KWIQnzXEOUqdWsnCUL9atyQ_;
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_2, "unknown file", 12);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_3, "\'true\' or \'false\' expected for a bool", 37);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_4, "string of length 1 expected for a char", 38);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_5, "string expected for an enum", 27);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_6, "\'[\' expected for an array", 25);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_7, "\']\' end of array expected", 25);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_8, "\'[\' expected for a seq", 22);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_9, "\'{\' expected for an object", 26);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_10, "string expected for a field name", 32);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_11, "too many fields to tuple type ", 30);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_12, "\'}\' end of object expected", 26);
extern TNimType NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_;
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_13, "unknown field for object of type ", 33);
static NIM_CONST tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q TM__eBu3XSE68i5yQmrMcuBiww_14 = {((NU16) 0), ((NI16) -1), ((NI32) -1)}
;
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_15, "\'[\' expected for a set", 22);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_16, "cannot load object with address ", 32);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_17, "index for ref type expected", 27);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_18, "\']\' end of ref-address pair expected", 36);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_19, "int for pointer type expected", 29);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_20, "string expected", 15);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_21, "int expected", 12);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_22, "float expected", 14);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_23, "cannot marshal at compile-time ", 31);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_25, "/Users/runner/work/nim4py/nim4py/Nim/compiler/vmmarshal.nim", 59);
static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__eBu3XSE68i5yQmrMcuBiww_24 = {((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_25),
((NI) 281),
((NI) 18)}
;
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_26, "null", 4);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_27, "[", 1);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_28, ", ", 2);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_29, "]", 1);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_30, "{", 1);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_31, "\"Field", 6);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_32, "\": ", 3);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_33, "}", 1);
STRING_LITERAL(TM__eBu3XSE68i5yQmrMcuBiww_34, ": ", 2);
static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__eBu3XSE68i5yQmrMcuBiww_35 = {((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_25),
((NI) 130),
((NI) 18)}
;

/* section: NIM_merge_VARS */
extern NIM_BOOL nimInErrorMode__759bT87luu8XGcbkw13FUjA;

/* section: NIM_merge_PROCS */
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size) {
	void* T1_;
	T1_ = (void*)0;
	T1_ = memset(a, v, ((size_t) (size)));
}
static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) {
	NIM_BOOL* result;
	result = (NIM_BOOL*)0;
	result = (&nimInErrorMode__759bT87luu8XGcbkw13FUjA);
	return result;
}
static N_INLINE(void, nimZeroMem)(void* p, NI size) {
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory(p, ((int) 0), size);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
}
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;
	result = copyString((*my).a);
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NI64, getInt__xts1yUqLRDbf9cxU9bxvopNgparsejson)(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ* my) {
	NI64 result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (NI64)0;
	result = nsuParseBiggestInt((*my).a);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NI, len__P89cqdlERShb9alU3iC0yj8wast)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
	NI result;
	NI T1_;
	result = (NI)0;
	T1_ = ((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0);
	result = T1_;
	return result;
}
static N_INLINE(NI, safeLen__P89cqdlERShb9alU3iC0yj8w_2ast)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
	NI result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	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);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
	LA1_: ;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size) {
	int result;
	result = (int)0;
	result = memcmp(a, b, ((size_t) (size)));
	return result;
}
static N_INLINE(NIM_BOOL, equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem)(void* a, void* b, NI size) {
	NIM_BOOL result;
	int T1_;
	result = (NIM_BOOL)0;
	T1_ = (int)0;
	T1_ = nimCmpMem(a, b, size);
	result = (T1_ == ((NI32) 0));
	return result;
}
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b) {
	NIM_BOOL result;
	NI alen;
	NI blen;
{	result = (NIM_BOOL)0;
	alen = (a ? a->Sup.len : 0);
	blen = (b ? b->Sup.len : 0);
	{
		if (!(alen == blen)) goto LA3_;
		{
			if (!(alen == ((NI) 0))) goto LA7_;
			result = NIM_TRUE;
			goto BeforeRet_;
		}
		LA7_: ;
		result = equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen)));
		goto BeforeRet_;
	}
	LA3_: ;
	}BeforeRet_: ;
	return result;
}
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__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size) {
	nimCopyMem(dest, source, size);
}
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
	{
		void* T5_;
		void* T6_;
		if (!!((src == NIM_NIL))) goto LA3_;
		T5_ = (void*)0;
		T5_ = ((void*) ((&(*dest).data[(*dest).Sup.len])));
		T6_ = (void*)0;
		T6_ = ((void*) ((*src).data));
		copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(T5_, T6_, ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
		(*dest).Sup.len += (*src).Sup.len;
	}
	LA3_: ;
}
static N_INLINE(NF, getFloat__Ne6IckEIGsEYNLHqT2VmQQparsejson)(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ* my) {
	NF result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (NF)0;
	result = nsuParseFloat((*my).a);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	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;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
	switch ((*t).kind) {
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 0):
	{
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 1):
	{
		tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T3_;
		T3_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
		T3_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		switch (T3_) {
		case ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 6):
		{
			result = newIntNode__zcNs9blLGYB6i9aGKob9bpzRw(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 6), IL64(0));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		break;
		case ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 5):
		{
			result = newIntNode__zcNs9blLGYB6i9aGKob9bpzRw(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 6), IL64(1));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		break;
		default:
		{
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_3));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		break;
		}
		next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 2):
	{
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T10_;
			NimStringDesc* x;
			T10_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T10_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			if (!(T10_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 2))) goto LA11_;
			x = str__0rP2wCdbpnXyQhtQ7AnWTwparsejson((&(*p)));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			{
				if (!((x ? x->Sup.len : 0) == ((NI) 1))) goto LA15_;
				result = newIntNode__zcNs9blLGYB6i9aGKob9bpzRw(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 6), ((NI64) (((NU8)(x->data[((NI) 0)])))));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				goto BeforeRet_;
			}
			LA15_: ;
		}
		goto LA8_;
		LA11_: ;
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T18_;
			NI64 T21_;
			T18_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T18_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			if (!(T18_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 3))) goto LA19_;
			T21_ = (NI64)0;
			T21_ = getInt__xts1yUqLRDbf9cxU9bxvopNgparsejson((&(*p)));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			result = newIntNode__zcNs9blLGYB6i9aGKob9bpzRw(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 6), T21_);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			goto BeforeRet_;
		}
		goto LA8_;
		LA19_: ;
		LA8_: ;
		raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_4));
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 14):
	{
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T25_;
			T25_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T25_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			if (!(T25_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 2))) goto LA26_;
			{
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* e;
				e = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
				{
					NI i;
					NI colontmp_;
					NI i_2;
					i = (NI)0;
					colontmp_ = (NI)0;
					colontmp_ = safeLen__P89cqdlERShb9alU3iC0yj8w_2ast((*t).n);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					i_2 = ((NI) 0);
					{
						while (1) {
							if (!(i_2 < colontmp_)) goto LA31;
							i = i_2;
							e = (*(*t).n)._kind_6.sons->data[i];
							{
								NimStringDesc* T34_;
								T34_ = (NimStringDesc*)0;
								T34_ = str__0rP2wCdbpnXyQhtQ7AnWTwparsejson((&(*p)));
								if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
								if (!eqStrings((*(*(*e)._kind_4.sym).name).s, T34_)) goto LA35_;
								result = newIntNode__zcNs9blLGYB6i9aGKob9bpzRw(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 6), ((NI64) ((*(*e)._kind_4.sym).position)));
								if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
								next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
								if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
								goto BeforeRet_;
							}
							LA35_: ;
							i_2 += ((NI) 1);
						} LA31: ;
					}
				}
			}
		}
		LA26_: ;
		raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_5));
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 16):
	{
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T40_;
			T40_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T40_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			if (!!((T40_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 10)))) goto LA41_;
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_6));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		LA41_: ;
		next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		result = newNode__PMZ27S9ai4FB3gXOMDXvwsQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 41));
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		{
			while (1) {
				NIM_BOOL T45_;
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T46_;
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T48_;
				tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T49_;
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T50_;
				T45_ = (NIM_BOOL)0;
				T46_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T46_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				T45_ = !((T46_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 11)));
				if (!(T45_)) goto LA47_;
				T48_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T48_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				T45_ = !((T48_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 1)));
				LA47_: ;
				if (!T45_) goto LA44;
				T49_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
				T49_ = elemType__PfgI9ap7WOnsRfFV4znQ27w_2(t);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				T50_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
				T50_ = loadAny__Kcfe39caBC5uVT250dKogGQ(p, T49_, tab, cache, conf);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				add__P8dDSotTW25BkfbyspojGg(result, T50_);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			} LA44: ;
		}
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T53_;
			T53_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T53_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			if (!(T53_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 11))) goto LA54_;
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		goto LA51_;
		LA54_: ;
		{
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_7));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		LA51_: ;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 24):
	{
		tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T58_;
		T58_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
		T58_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		switch (T58_) {
		case ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 7):
		{
			result = newNode__PMZ27S9ai4FB3gXOMDXvwsQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		break;
		case ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 10):
		{
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			result = newNode__PMZ27S9ai4FB3gXOMDXvwsQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 41));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			{
				while (1) {
					NIM_BOOL T63_;
					tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T64_;
					tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T66_;
					tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T67_;
					tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T68_;
					T63_ = (NIM_BOOL)0;
					T64_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
					T64_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					T63_ = !((T64_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 11)));
					if (!(T63_)) goto LA65_;
					T66_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
					T66_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					T63_ = !((T66_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 1)));
					LA65_: ;
					if (!T63_) goto LA62;
					T67_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
					T67_ = elemType__PfgI9ap7WOnsRfFV4znQ27w_2(t);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					T68_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
					T68_ = loadAny__Kcfe39caBC5uVT250dKogGQ(p, T67_, tab, cache, conf);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					add__P8dDSotTW25BkfbyspojGg(result, T68_);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				} LA62: ;
			}
			{
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T71_;
				T71_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T71_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				if (!(T71_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 11))) goto LA72_;
				next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			}
			goto LA69_;
			LA72_: ;
			{
				raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) NIM_NIL));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			}
			LA69_: ;
		}
		break;
		default:
		{
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_8));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		break;
		}
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 18):
	{
		NI i_3;
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T79_;
			T79_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T79_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			if (!!((T79_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 8)))) goto LA80_;
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_9));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		LA80_: ;
		next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		result = newNode__PMZ27S9ai4FB3gXOMDXvwsQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 160));
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		i_3 = ((NI) 0);
		{
			while (1) {
				NIM_BOOL T84_;
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T85_;
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T87_;
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T100_;
				T84_ = (NIM_BOOL)0;
				T85_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T85_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				T84_ = !((T85_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 9)));
				if (!(T84_)) goto LA86_;
				T87_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T87_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				T84_ = !((T87_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 1)));
				LA86_: ;
				if (!T84_) goto LA83;
				{
					tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T90_;
					T90_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
					T90_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					if (!!((T90_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 2)))) goto LA91_;
					raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_10));
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				}
				LA91_: ;
				next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				{
					NI T95_;
					NimStringDesc* T98_;
					NimStringDesc* T99_;
					T95_ = (NI)0;
					T95_ = len__5mJADrRYkP3r9auuiuDZN9cQast(t);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					if (!(T95_ <= i_3)) goto LA96_;
					T98_ = (NimStringDesc*)0;
					T99_ = (NimStringDesc*)0;
					T99_ = typeToString__QlvraUan7WbHowhAbvDvdA(t, ((tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw) 0));
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					T98_ = rawNewString((T99_ ? T99_->Sup.len : 0) + 30);
appendString(T98_, ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_11));
appendString(T98_, T99_);
					raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), T98_);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				}
				LA96_: ;
				T100_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
				T100_ = loadAny__Kcfe39caBC5uVT250dKogGQ(p, (*t).sons->data[i_3], tab, cache, conf);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				add__P8dDSotTW25BkfbyspojGg(result, T100_);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				i_3 += ((NI) 1);
			} LA83: ;
		}
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T103_;
			T103_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T103_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			if (!(T103_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 9))) goto LA104_;
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		goto LA101_;
		LA104_: ;
		{
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_12));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		LA101_: ;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 17):
	{
		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T113_;
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T110_;
			T110_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T110_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			if (!!((T110_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 8)))) goto LA111_;
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_9));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		LA111_: ;
		next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		result = newNode__PMZ27S9ai4FB3gXOMDXvwsQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 38));
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		(*result)._kind_6.sons = (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*) newSeq((&NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_), 1);
		T113_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
		T113_ = newNode__PMZ27S9ai4FB3gXOMDXvwsQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1));
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		(*result)._kind_6.sons->data[0] = T113_;
		{
			while (1) {
				NIM_BOOL T116_;
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T117_;
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T119_;
				tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* ident;
				NimStringDesc* T125_;
				tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* field;
				NI pos;
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* fieldNode;
				tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* T137_;
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T138_;
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T139_;
				T116_ = (NIM_BOOL)0;
				T117_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T117_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				T116_ = !((T117_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 9)));
				if (!(T116_)) goto LA118_;
				T119_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T119_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				T116_ = !((T119_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 1)));
				LA118_: ;
				if (!T116_) goto LA115;
				{
					tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T122_;
					T122_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
					T122_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					if (!!((T122_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 2)))) goto LA123_;
					raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_10));
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				}
				LA123_: ;
				T125_ = (NimStringDesc*)0;
				T125_ = str__0rP2wCdbpnXyQhtQ7AnWTwparsejson((&(*p)));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				ident = getIdent__9coBOmdXN09be4rJvXK6fQGQ(cache, T125_);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				field = lookupInRecord__gYQxUKQhlRY6yBu3Ll2TYg((*t).n, ident);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				{
					NimStringDesc* T130_;
					NimStringDesc* T131_;
					if (!(field == 0)) goto LA128_;
					T130_ = (NimStringDesc*)0;
					T131_ = (NimStringDesc*)0;
					T131_ = typeToString__QlvraUan7WbHowhAbvDvdA(t, ((tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw) 0));
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					T130_ = rawNewString((T131_ ? T131_->Sup.len : 0) + 33);
appendString(T130_, ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_13));
appendString(T130_, T131_);
					raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), T130_);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				}
				LA128_: ;
				next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				pos = (NI)((*field).position + ((NI) 1));
				{
					NI T134_;
					T134_ = (NI)0;
					T134_ = len__P89cqdlERShb9alU3iC0yj8wast(result);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					if (!(T134_ <= pos)) goto LA135_;
					(*result)._kind_6.sons = (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*) setLengthSeqV2(&((*result)._kind_6.sons)->Sup, (&NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_), ((NI) ((NI)(pos + ((NI) 1)))));
				}
				LA135_: ;
				fieldNode = newNode__PMZ27S9ai4FB3gXOMDXvwsQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 34));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				T137_ = (tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*)0;
				T137_ = newSym__IXbidcxhXTQGZY9abN63Cxg(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19), ident, NIM_NIL, TM__eBu3XSE68i5yQmrMcuBiww_14, 0);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				T138_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
				T138_ = newSymNode__I2DV2TmmOysY1ZEGW19b9bRg(T137_);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				add__P8dDSotTW25BkfbyspojGg(fieldNode, T138_);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				T139_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
				T139_ = loadAny__Kcfe39caBC5uVT250dKogGQ(p, (*field).typ, tab, cache, conf);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				add__P8dDSotTW25BkfbyspojGg(fieldNode, T139_);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				(*result)._kind_6.sons->data[pos] = fieldNode;
			} LA115: ;
		}
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T142_;
			T142_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T142_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			if (!(T142_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 9))) goto LA143_;
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		goto LA140_;
		LA143_: ;
		{
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_12));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		LA140_: ;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 19):
	{
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T149_;
			T149_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T149_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			if (!!((T149_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 10)))) goto LA150_;
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_15));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		LA150_: ;
		next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		result = newNode__PMZ27S9ai4FB3gXOMDXvwsQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 39));
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		{
			while (1) {
				NIM_BOOL T154_;
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T155_;
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T157_;
				tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T158_;
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T159_;
				T154_ = (NIM_BOOL)0;
				T155_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T155_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				T154_ = !((T155_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 11)));
				if (!(T154_)) goto LA156_;
				T157_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T157_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				T154_ = !((T157_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 1)));
				LA156_: ;
				if (!T154_) goto LA153;
				T158_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
				T158_ = lastSon__Bdq9aiV9buvJtPvmOc0OR5JQ(t);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				T159_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
				T159_ = loadAny__Kcfe39caBC5uVT250dKogGQ(p, T158_, tab, cache, conf);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				add__P8dDSotTW25BkfbyspojGg(result, T159_);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			} LA153: ;
		}
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T162_;
			T162_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T162_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			if (!(T162_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 11))) goto LA163_;
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		goto LA160_;
		LA163_: ;
		{
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_7));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		LA160_: ;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 21):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 22):
	{
		tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T167_;
		T167_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
		T167_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		switch (T167_) {
		case ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 7):
		{
			result = newNode__PMZ27S9ai4FB3gXOMDXvwsQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		break;
		case ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 3):
		{
			NI64 T170_;
			T170_ = (NI64)0;
			T170_ = getInt__xts1yUqLRDbf9cxU9bxvopNgparsejson((&(*p)));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			result = getOrDefault__NuV0kwmS6NPkSg4nGTYxGQ((*tab), T170_);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			{
				tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ T175_;
				NimStringDesc* T176_;
				NI64 T177_;
				NimStringDesc* T178_;
				if (!(result == 0)) goto LA173_;
				nimZeroMem((void*)(&T175_), sizeof(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ));
				T175_.Sup.Sup.m_type = (&NTI__KWIQnzXEOUqdWsnCUL9atyQ_);
				nimCopyMem((void*)(&T175_), (NIM_CONST void*)(&(*p)), sizeof(T175_));
				T176_ = (NimStringDesc*)0;
				T177_ = (NI64)0;
				T177_ = getInt__xts1yUqLRDbf9cxU9bxvopNgparsejson((&(*p)));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				T178_ = (NimStringDesc*)0;
				T178_ = nimInt64ToStr(T177_);
				T176_ = rawNewString((T178_ ? T178_->Sup.len : 0) + 32);
appendString(T176_, ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_16));
appendString(T176_, T178_);
				raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&T175_), T176_);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			}
			LA173_: ;
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		break;
		case ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 10):
		{
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			{
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T182_;
				NI64 idx;
				tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T185_;
				T182_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T182_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				if (!(T182_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 3))) goto LA183_;
				idx = getInt__xts1yUqLRDbf9cxU9bxvopNgparsejson((&(*p)));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				T185_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
				T185_ = lastSon__Bdq9aiV9buvJtPvmOc0OR5JQ(t);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				result = loadAny__Kcfe39caBC5uVT250dKogGQ(p, T185_, tab, cache, conf);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				X5BX5Deq___OtPEflpH4zlxCllppdpU2g(tab, idx, result);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			}
			goto LA180_;
			LA183_: ;
			{
				raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_17));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			}
			LA180_: ;
			{
				tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T189_;
				T189_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
				T189_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				if (!(T189_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 11))) goto LA190_;
				next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			}
			goto LA187_;
			LA190_: ;
			{
				raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_18));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			}
			LA187_: ;
		}
		break;
		default:
		{
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_19));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		break;
		}
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 28):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 29):
	{
		tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T195_;
		T195_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
		T195_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		switch (T195_) {
		case ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 7):
		{
			result = newNode__PMZ27S9ai4FB3gXOMDXvwsQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		break;
		case ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 2):
		{
			NimStringDesc* T198_;
			T198_ = (NimStringDesc*)0;
			T198_ = str__0rP2wCdbpnXyQhtQ7AnWTwparsejson((&(*p)));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			result = newStrNode__zLcHGdlEbBYFtoCoan9agkg(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 20), T198_);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		break;
		default:
		{
			raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_20));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		break;
		}
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 31) ... ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 35):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 40) ... ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 44):
	{
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T203_;
			NI64 T206_;
			T203_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T203_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			if (!(T203_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 3))) goto LA204_;
			T206_ = (NI64)0;
			T206_ = getInt__xts1yUqLRDbf9cxU9bxvopNgparsejson((&(*p)));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			result = newIntNode__zcNs9blLGYB6i9aGKob9bpzRw(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 6), T206_);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			goto BeforeRet_;
		}
		LA204_: ;
		raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_21));
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 36) ... ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 39):
	{
		{
			tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA T210_;
			NF T213_;
			T210_ = (tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA)0;
			T210_ = kind__4ctGAM18bpGmdbeESXpEMAparsejson((&(*p)));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			if (!(T210_ == ((tyEnum_JsonEventKind__0zjE9c54eTrq224F5wMcaFA) 4))) goto LA211_;
			T213_ = (NF)0;
			T213_ = getFloat__Ne6IckEIGsEYNLHqT2VmQQparsejson((&(*p)));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			result = newFloatNode__FUOXigLcQdNOaWKUo0hkTg(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 16), T213_);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			next__FPdQ9beZqb3bJ7eVHJww6Qg(p);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			goto BeforeRet_;
		}
		LA211_: ;
		raiseParseErr__VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_22));
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 20):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 11):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 4):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 46):
	{
		tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T215_;
		T215_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
		T215_ = lastSon__Bdq9aiV9buvJtPvmOc0OR5JQ(t);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		result = loadAny__Kcfe39caBC5uVT250dKogGQ(p, T215_, tab, cache, conf);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
	break;
	default:
	{
		NimStringDesc* T217_;
		NimStringDesc* T218_;
		T217_ = (NimStringDesc*)0;
		T218_ = (NimStringDesc*)0;
		T218_ = typeToString__QlvraUan7WbHowhAbvDvdA(t, ((tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw) 0));
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		T217_ = rawNewString((T218_ ? T218_->Sup.len : 0) + 31);
appendString(T217_, ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_23));
appendString(T217_, T218_);
		internalErrorImpl__PTSwZ6HM9bGBf7vF9cnDmwVw(conf, TM__eBu3XSE68i5yQmrMcuBiww_14, T217_, TM__eBu3XSE68i5yQmrMcuBiww_24);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
	break;
	}
	}BeforeRet_: ;
	return result;
}
static N_INLINE(void, close__8dle9apIE9cTJGDlKOnqgjgAparsejson)(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ* my) {
	tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg* T1_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	T1_ = (tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg*)0;
	T1_ = &my->Sup;
	close__m9bpQUVeRkyuyv4zAGVgY9bw_3(T1_);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
}
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_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
	nimZeroMem((void*)(&tab), sizeof(tyObject_Table__7O9bs4LORhqcR0JGh7d1MDg));
	initTable__YTsZ11U9aeIqqeJoGkYFEXQ(((NI) 32), (&tab));
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	nimZeroMem((void*)(&p), sizeof(tyObject_JsonParser__KWIQnzXEOUqdWsnCUL9atyQ));
	p.Sup.Sup.m_type = (&NTI__KWIQnzXEOUqdWsnCUL9atyQ_);
	T1_ = (tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw*)0;
	T1_ = newStringStream__9aLRtgEYeRMrZKrObtoOslQ(s);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	T2_ = (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ*)0;
	T2_ = &T1_->Sup;
	open__caSf5pJv2JnMMpxc9bAhdpA((&p), T2_, ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_2), NIM_FALSE);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	next__FPdQ9beZqb3bJ7eVHJww6Qg((&p));
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	result = loadAny__Kcfe39caBC5uVT250dKogGQ((&p), t, (&tab), cache, conf);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	close__8dle9apIE9cTJGDlKOnqgjgAparsejson((&p));
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, getField__vtwh7CEP5nsVSehDp7nt6w)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NI position) {
	tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	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);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			i_2 = ((NI) 0);
			{
				while (1) {
					if (!(i_2 < colontmp_)) goto LA4;
					i = i_2;
					result = getField__vtwh7CEP5nsVSehDp7nt6w((*n)._kind_6.sons->data[i], position);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					{
						if (!!((result == NIM_NIL))) goto LA7_;
						goto BeforeRet_;
					}
					LA7_: ;
					i_2 += ((NI) 1);
				} LA4: ;
			}
		}
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 139):
	{
		result = getField__vtwh7CEP5nsVSehDp7nt6w((*n)._kind_6.sons->data[((NI) 0)], position);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		{
			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);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			i_4 = ((NI) 1);
			{
				while (1) {
					if (!(i_4 < colontmp__2)) goto LA16;
					i_3 = i_4;
					switch ((*(*n)._kind_6.sons->data[i_3]).kind) {
					case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 85):
					case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 88):
					{
						tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T18_;
						T18_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
						T18_ = lastSon__UPSW0jLTX5qJL51YMUAHgw((*n)._kind_6.sons->data[i_3]);
						if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
						result = getField__vtwh7CEP5nsVSehDp7nt6w(T18_, position);
						if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
						{
							if (!!((result == NIM_NIL))) goto LA21_;
							goto BeforeRet_;
						}
						LA21_: ;
					}
					break;
					default:
					{
					}
					break;
					}
					i_4 += ((NI) 1);
				} LA16: ;
			}
		}
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3):
	{
		{
			if (!((*(*n)._kind_4.sym).position == position)) goto LA27_;
			result = (*n)._kind_4.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;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	start = ((NI) 1);
	{
		NI i;
		NI colontmp_;
		NI i_2;
		i = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(x);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		i_2 = start;
		{
			while (1) {
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* it;
				if (!(i_2 < colontmp_)) goto LA3;
				i = i_2;
				{
					if (!(start < i)) goto LA6_;
					(*s) = resizeString((*s), 2);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_28));
				}
				LA6_: ;
				it = (*x)._kind_6.sons->data[i];
				{
					if (!((*it).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 34))) goto LA10_;
					{
						tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* field;
						NimStringDesc* T16_;
						if (!((*(*it)._kind_6.sons->data[((NI) 0)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3))) goto LA14_;
						field = (*(*it)._kind_6.sons->data[((NI) 0)])._kind_4.sym;
						T16_ = (NimStringDesc*)0;
						T16_ = escapeJson__NGTWHwdUy0ADNv9alK3ECRA((*(*field).name).s);
						if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
						(*s) = resizeString((*s), (T16_ ? T16_->Sup.len : 0) + 0);
appendString((*s), T16_);
						(*s) = resizeString((*s), 2);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_34));
						storeAny__l7I4lFY1gRcPW76EbMBfZA(s, (*field).typ, (*it)._kind_6.sons->data[((NI) 1)], stored, conf);
						if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					}
					LA14_: ;
				}
				goto LA8_;
				LA10_: ;
				{
					tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* field_2;
					NimStringDesc* T20_;
					if (!!(((*typ).n == NIM_NIL))) goto LA18_;
					field_2 = getField__vtwh7CEP5nsVSehDp7nt6w((*typ).n, i);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					T20_ = (NimStringDesc*)0;
					T20_ = escapeJson__NGTWHwdUy0ADNv9alK3ECRA((*(*field_2).name).s);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					(*s) = resizeString((*s), (T20_ ? T20_->Sup.len : 0) + 0);
appendString((*s), T20_);
					(*s) = resizeString((*s), 2);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_34));
					storeAny__l7I4lFY1gRcPW76EbMBfZA(s, (*field_2).typ, it, stored, conf);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				}
				goto LA8_;
				LA18_: ;
				LA8_: ;
				i_2 += ((NI) 1);
			} LA3: ;
		}
	}
	}BeforeRet_: ;
}
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) {
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	switch ((*t).kind) {
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 0):
	{
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 1):
	{
		NimStringDesc* T3_;
		T3_ = (NimStringDesc*)0;
		T3_ = nimBoolToStr(!(((*a)._kind_1.intVal == IL64(0))));
		(*s) = resizeString((*s), (T3_ ? T3_->Sup.len : 0) + 0);
appendString((*s), T3_);
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 2):
	{
		NIM_CHAR ch;
		ch = ((NIM_CHAR) ((*a)._kind_1.intVal));
		{
			NimStringDesc* T9_;
			NimStringDesc* T10_;
			if (!((NU8)(ch) < (NU8)(128))) goto LA7_;
			T9_ = (NimStringDesc*)0;
			T9_ = nimCharToStr(ch);
			T10_ = (NimStringDesc*)0;
			T10_ = escapeJson__NGTWHwdUy0ADNv9alK3ECRA(T9_);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			(*s) = resizeString((*s), (T10_ ? T10_->Sup.len : 0) + 0);
appendString((*s), T10_);
		}
		goto LA5_;
		LA7_: ;
		{
			NimStringDesc* T12_;
			T12_ = (NimStringDesc*)0;
			T12_ = nimIntToStr(((NI) (((NU8)(ch)))));
			(*s) = resizeString((*s), (T12_ ? T12_->Sup.len : 0) + 0);
appendString((*s), T12_);
		}
		LA5_: ;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 16):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 24):
	{
		{
			NIM_BOOL T16_;
			T16_ = (NIM_BOOL)0;
			T16_ = ((*t).kind == ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 24));
			if (!(T16_)) goto LA17_;
			T16_ = ((*a).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23));
			LA17_: ;
			if (!T16_) goto LA18_;
			(*s) = resizeString((*s), 4);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_26));
		}
		goto LA14_;
		LA18_: ;
		{
			(*s) = resizeString((*s), 1);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_27));
			{
				NI i;
				NI colontmp_;
				NI i_2;
				i = (NI)0;
				colontmp_ = (NI)0;
				colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(a);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				i_2 = ((NI) 0);
				{
					while (1) {
						tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T28_;
						if (!(i_2 < colontmp_)) goto LA23;
						i = i_2;
						{
							if (!(((NI) 0) < i)) goto LA26_;
							(*s) = resizeString((*s), 2);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_28));
						}
						LA26_: ;
						T28_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
						T28_ = elemType__PfgI9ap7WOnsRfFV4znQ27w_2(t);
						if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
						storeAny__l7I4lFY1gRcPW76EbMBfZA(s, T28_, (*a)._kind_6.sons->data[i], stored, conf);
						if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
						i_2 += ((NI) 1);
					} LA23: ;
				}
			}
			(*s) = resizeString((*s), 1);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_29));
		}
		LA14_: ;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 18):
	{
		(*s) = resizeString((*s), 1);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_30));
		{
			NI i_3;
			NI colontmp__2;
			NI i_4;
			i_3 = (NI)0;
			colontmp__2 = (NI)0;
			colontmp__2 = len__5mJADrRYkP3r9auuiuDZN9cQast(t);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			i_4 = ((NI) 0);
			{
				while (1) {
					NimStringDesc* T37_;
					NimStringDesc* T38_;
					tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T39_;
					tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T40_;
					if (!(i_4 < colontmp__2)) goto LA32;
					i_3 = i_4;
					{
						if (!(((NI) 0) < i_3)) goto LA35_;
						(*s) = resizeString((*s), 2);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_28));
					}
					LA35_: ;
					T37_ = (NimStringDesc*)0;
					T38_ = (NimStringDesc*)0;
					T38_ = nimIntToStr(i_3);
					T37_ = rawNewString((T38_ ? T38_->Sup.len : 0) + 6);
appendString(T37_, ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_31));
appendString(T37_, T38_);
					(*s) = resizeString((*s), (T37_ ? T37_->Sup.len : 0) + 0);
appendString((*s), T37_);
					(*s) = resizeString((*s), 3);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_32));
					T39_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
					T39_ = (*t).sons->data[i_3];
					T40_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
					T40_ = skipColon__UPSW0jLTX5qJL51YMUAHgw_3((*a)._kind_6.sons->data[i_3]);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					storeAny__l7I4lFY1gRcPW76EbMBfZA(s, T39_, T40_, stored, conf);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					i_4 += ((NI) 1);
				} LA32: ;
			}
		}
		(*s) = resizeString((*s), 1);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_33));
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 17):
	{
		(*s) = resizeString((*s), 1);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_30));
		storeObj__oVnZagNd09a2HaQ033USNUQ(s, t, a, stored, conf);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		(*s) = resizeString((*s), 1);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_33));
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 19):
	{
		(*s) = resizeString((*s), 1);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_27));
		{
			NI i_5;
			NI colontmp__3;
			NI i_6;
			i_5 = (NI)0;
			colontmp__3 = (NI)0;
			colontmp__3 = len__P89cqdlERShb9alU3iC0yj8wast(a);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			i_6 = ((NI) 0);
			{
				while (1) {
					if (!(i_6 < colontmp__3)) goto LA45;
					i_5 = i_6;
					{
						if (!(((NI) 0) < i_5)) goto LA48_;
						(*s) = resizeString((*s), 2);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_28));
					}
					LA48_: ;
					{
						tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* x;
						tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T54_;
						if (!((*(*a)._kind_6.sons->data[i_5]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 44))) goto LA52_;
						x = copyNode__Dsjo9bte8vGxzhtcSrsTyiQ_2((*(*a)._kind_6.sons->data[i_5])._kind_6.sons->data[((NI) 0)]);
						if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
						T54_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
						T54_ = lastSon__Bdq9aiV9buvJtPvmOc0OR5JQ(t);
						if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
						storeAny__l7I4lFY1gRcPW76EbMBfZA(s, T54_, x, stored, conf);
						if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
						{
							while (1) {
								tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T57_;
								if (!((NI64)((*x)._kind_1.intVal + IL64(1)) <= (*(*(*a)._kind_6.sons->data[i_5])._kind_6.sons->data[((NI) 1)])._kind_1.intVal)) goto LA56;
								(*s) = resizeString((*s), 2);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_28));
								T57_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
								T57_ = lastSon__Bdq9aiV9buvJtPvmOc0OR5JQ(t);
								if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
								storeAny__l7I4lFY1gRcPW76EbMBfZA(s, T57_, x, stored, conf);
								if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
								(*x)._kind_1.intVal += ((NI) 1);
							} LA56: ;
						}
					}
					goto LA50_;
					LA52_: ;
					{
						tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T59_;
						T59_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
						T59_ = lastSon__Bdq9aiV9buvJtPvmOc0OR5JQ(t);
						if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
						storeAny__l7I4lFY1gRcPW76EbMBfZA(s, T59_, (*a)._kind_6.sons->data[i_5], stored, conf);
						if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					}
					LA50_: ;
					i_6 += ((NI) 1);
				} LA45: ;
			}
		}
		(*s) = resizeString((*s), 1);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_29));
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 20):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 11):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 4):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 46):
	{
		tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T61_;
		T61_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
		T61_ = lastSon__Bdq9aiV9buvJtPvmOc0OR5JQ(t);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		storeAny__l7I4lFY1gRcPW76EbMBfZA(s, T61_, a, stored, conf);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 14):
	{
		{
			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* e;
			e = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
			{
				NI i_7;
				NI colontmp__4;
				NI i_8;
				i_7 = (NI)0;
				colontmp__4 = (NI)0;
				colontmp__4 = safeLen__P89cqdlERShb9alU3iC0yj8w_2ast((*t).n);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				i_8 = ((NI) 0);
				{
					while (1) {
						if (!(i_8 < colontmp__4)) goto LA66;
						i_7 = i_8;
						e = (*(*t).n)._kind_6.sons->data[i_7];
						{
							NimStringDesc* T71_;
							if (!(((NI64) ((*(*e)._kind_4.sym).position)) == (*a)._kind_1.intVal)) goto LA69_;
							T71_ = (NimStringDesc*)0;
							T71_ = escapeJson__NGTWHwdUy0ADNv9alK3ECRA((*(*(*e)._kind_4.sym).name).s);
							if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
							(*s) = resizeString((*s), (T71_ ? T71_->Sup.len : 0) + 0);
appendString((*s), T71_);
							goto LA63;
						}
						LA69_: ;
						i_8 += ((NI) 1);
					} LA66: ;
				}
			}
		} LA63: ;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 21):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 22):
	{
		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* x_2;
		x_2 = a;
		{
			NIM_BOOL T75_;
			T75_ = (NIM_BOOL)0;
			T75_ = (x_2 == 0);
			if (T75_) goto LA76_;
			T75_ = ((*x_2).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23));
			LA76_: ;
			if (!T75_) goto LA77_;
			(*s) = resizeString((*s), 4);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_26));
		}
		goto LA73_;
		LA77_: ;
		{
			NI T80_;
			NIM_BOOL T81_;
			NI T84_;
			NimStringDesc* T85_;
			T80_ = (NI)0;
			T80_ = ptrToInt__mwRK0r64EAmuGSfMTsaPsgvmmarshal(x_2);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			T81_ = (NIM_BOOL)0;
			T81_ = containsOrIncl__VFt0uM7bgfJ5age9alOsU9cg(stored, T80_);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			if (!T81_) goto LA82_;
			T84_ = (NI)0;
			T84_ = ptrToInt__mwRK0r64EAmuGSfMTsaPsgvmmarshal(x_2);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			T85_ = (NimStringDesc*)0;
			T85_ = nimIntToStr(T84_);
			(*s) = resizeString((*s), (T85_ ? T85_->Sup.len : 0) + 0);
appendString((*s), T85_);
		}
		goto LA73_;
		LA82_: ;
		{
			NI T87_;
			NimStringDesc* T88_;
			tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T89_;
			(*s) = resizeString((*s), 1);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_27));
			T87_ = (NI)0;
			T87_ = ptrToInt__mwRK0r64EAmuGSfMTsaPsgvmmarshal(x_2);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			T88_ = (NimStringDesc*)0;
			T88_ = nimIntToStr(T87_);
			(*s) = resizeString((*s), (T88_ ? T88_->Sup.len : 0) + 0);
appendString((*s), T88_);
			(*s) = resizeString((*s), 2);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_28));
			T89_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
			T89_ = lastSon__Bdq9aiV9buvJtPvmOc0OR5JQ(t);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			storeAny__l7I4lFY1gRcPW76EbMBfZA(s, T89_, a, stored, conf);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			(*s) = resizeString((*s), 1);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_29));
		}
		LA73_: ;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 28):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 29):
	{
		{
			if (!((*a).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23))) goto LA93_;
			(*s) = resizeString((*s), 4);
appendString((*s), ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_26));
		}
		goto LA91_;
		LA93_: ;
		{
			NimStringDesc* T96_;
			T96_ = (NimStringDesc*)0;
			T96_ = escapeJson__NGTWHwdUy0ADNv9alK3ECRA((*a)._kind_3.strVal);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			(*s) = resizeString((*s), (T96_ ? T96_->Sup.len : 0) + 0);
appendString((*s), T96_);
		}
		LA91_: ;
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 31) ... ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 35):
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 40) ... ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 44):
	{
		NimStringDesc* T98_;
		T98_ = (NimStringDesc*)0;
		T98_ = nimInt64ToStr((*a)._kind_1.intVal);
		(*s) = resizeString((*s), (T98_ ? T98_->Sup.len : 0) + 0);
appendString((*s), T98_);
	}
	break;
	case ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 36) ... ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 39):
	{
		NimStringDesc* T100_;
		T100_ = (NimStringDesc*)0;
		T100_ = nimFloatToStr((*a)._kind_2.floatVal);
		(*s) = resizeString((*s), (T100_ ? T100_->Sup.len : 0) + 0);
appendString((*s), T100_);
	}
	break;
	default:
	{
		NimStringDesc* T102_;
		NimStringDesc* T103_;
		T102_ = (NimStringDesc*)0;
		T103_ = (NimStringDesc*)0;
		T103_ = typeToString__QlvraUan7WbHowhAbvDvdA(t, ((tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw) 0));
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		T102_ = rawNewString((T103_ ? T103_->Sup.len : 0) + 31);
appendString(T102_, ((NimStringDesc*) &TM__eBu3XSE68i5yQmrMcuBiww_23));
appendString(T102_, T103_);
		internalErrorImpl__PTSwZ6HM9bGBf7vF9cnDmwVw(conf, (*a).info, T102_, TM__eBu3XSE68i5yQmrMcuBiww_35);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
	break;
	}
	}BeforeRet_: ;
}
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;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	nimZeroMem((void*)(&stored), sizeof(tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg));
	initIntSet__n8oDZMn19bEdodSnrBQB9a1Q((&stored));
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	storeAny__l7I4lFY1gRcPW76EbMBfZA(s, t, a, (&stored), conf);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
}
