/* Generated by Nim Compiler v0.20.0 */
/*   (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 TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ;
typedef struct tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg;
typedef struct RootObj RootObj;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tyObject_StreamObj_THYguAi9bSgidczZ3ywEIMQ tyObject_StreamObj_THYguAi9bSgidczZ3ywEIMQ;
typedef struct tySequence_Ih0V9cYug0VPJyBBGvgEH7Q tySequence_Ih0V9cYug0VPJyBBGvgEH7Q;
typedef struct tyObject_JsonParsingError_XTejXaID1NT7KS9byQm3Jxg tyObject_JsonParsingError_XTejXaID1NT7KS9byQm3Jxg;
typedef struct tyObject_ValueError_yoNlBGx0D2tRizIdhQuENw tyObject_ValueError_yoNlBGx0D2tRizIdhQuENw;
typedef struct tyObject_CatchableError_qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError_qrLSDoe2oBoAqNtJ9badtnA;
typedef struct Exception Exception;
typedef struct tySequence_uB9b75OUPRENsBAu4AnoePA tySequence_uB9b75OUPRENsBAu4AnoePA;
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_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA;
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;
};
typedef NU8 tyEnum_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {
tyEnum_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct RootObj {
TNimType* m_type;
};
struct TGenericSeq {
NI len;
NI reserved;
};
struct NimStringDesc {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
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_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ;
struct Exception {
  RootObj Sup;
Exception* parent;
NCSTRING name;
NimStringDesc* message;
tySequence_uB9b75OUPRENsBAu4AnoePA* trace;
NU raiseId;
Exception* up;
};
struct tyObject_CatchableError_qrLSDoe2oBoAqNtJ9badtnA {
  Exception Sup;
};
struct tyObject_ValueError_yoNlBGx0D2tRizIdhQuENw {
  tyObject_CatchableError_qrLSDoe2oBoAqNtJ9badtnA Sup;
};
struct tyObject_JsonParsingError_XTejXaID1NT7KS9byQm3Jxg {
  tyObject_ValueError_yoNlBGx0D2tRizIdhQuENw Sup;
};
typedef NimStringDesc* tyArray_sMpvt1sOxOJ3LFGulnbeMQ[4];
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 NimStringDesc* tyArray_FkG8aLMyiZfDjueUwWl3WA[14];
struct tyObject_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA {
NCSTRING procname;
NI line;
NCSTRING filename;
};
struct tySequence_Ih0V9cYug0VPJyBBGvgEH7Q {
  TGenericSeq Sup;
  tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ data[SEQ_DECL_SIZE];
};
struct tySequence_uB9b75OUPRENsBAu4AnoePA {
  TGenericSeq Sup;
  tyObject_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];
};
static N_NIMCALL(void, Marker_tySequence_Ih0V9cYug0VPJyBBGvgEH7Q)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(void, open_P89aGatd6bDNJ0Ak5E9cQgWw)(tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg* L, tyObject_StreamObj_THYguAi9bSgidczZ3ywEIMQ* input, NI bufLen, tySet_tyChar_nmiMWKVIe46vacnhAFrQvw refillChars);
N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_NIMCALL(void, genericSeqAssign)(void* dest, void* src, TNimType* mt);
N_LIB_PRIVATE N_NIMCALL(tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw, getTok_9cGllg9a4hN9cmfjsUw6zu39bQ)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* my);
N_NIMCALL(NimStringDesc*, setLengthStr)(NimStringDesc* s, NI newLen);
N_LIB_PRIVATE N_NIMCALL(void, skip_FPdQ9beZqb3bJ7eVHJww6Qg_2)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* my);
N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
static N_INLINE(NI, addInt)(NI a, NI b);
N_NOINLINE(void, raiseOverflow)(void);
N_LIB_PRIVATE N_NIMCALL(NI, handleCR_sLQC1Z9cokufE3lZEw9b42Cw)(tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg* L, NI pos);
N_LIB_PRIVATE N_NIMCALL(NI, handleLF_sLQC1Z9cokufE3lZEw9b42Cw_3)(tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg* L, NI pos);
N_LIB_PRIVATE N_NIMCALL(void, parseNumber_FPdQ9beZqb3bJ7eVHJww6Qg_3)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* my);
N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c);
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_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains_wAzSnEu9cCHHjvPQlWBZUeQ)(NimStringDesc* s, tySet_tyChar_nmiMWKVIe46vacnhAFrQvw chars);
N_LIB_PRIVATE N_NIMCALL(tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw, parseString_9cGllg9a4hN9cmfjsUw6zu39bQ_2)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* my);
N_LIB_PRIVATE N_NIMCALL(NI, parseEscapedUTF16_MMwgsOXZK0fQw6h7UQcVsQ)(NCSTRING buf, NI* pos);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, handleHexChar_Avai9b5a9bb83l1HPqx75AfA)(NIM_CHAR c, NI* x);
static N_INLINE(NI, subInt)(NI a, NI b);
static N_INLINE(NCSTRING, nimToCStringConv)(NimStringDesc* s);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nuctoUTF8)(NI32 c);
N_LIB_PRIVATE N_NIMCALL(void, parseName_FPdQ9beZqb3bJ7eVHJww6Qg_4)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* my);
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, chckRange)(NI i, NI a, NI b);
N_NOINLINE(void, raiseRangeError)(NI64 val);
N_NIMCALL(TGenericSeq*, incrSeqV3)(TGenericSeq* s, TNimType* typ);
static N_INLINE(tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ, pop_wGIX8i2tVhp4gFSPlGuf2gsystem)(tySequence_Ih0V9cYug0VPJyBBGvgEH7Q** s);
N_NIMCALL(TGenericSeq*, setLengthSeqV2)(TGenericSeq* s, TNimType* typ, NI newLen);
N_LIB_PRIVATE N_NIMCALL(void, next_FPdQ9beZqb3bJ7eVHJww6Qg)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* my);
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
static N_NIMCALL(void, Marker_tyRef_PyuSdojUZWOAnzN7dInq1Q)(void* p, NI op);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, errorMsgExpected_wyJNOK33UcOVCdJ9aSuAbOw)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* my, NimStringDesc* e);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuFormatOpenArray)(NimStringDesc* formatstr, NimStringDesc** a, NI aLen_0);
static N_INLINE(void, nimZeroMem)(void* p, NI size);
static N_INLINE(void, nimSetMem_JE6t4x7Z3v2iVz27Nx0MRAmemory)(void* a, int v, NI size);
static N_INLINE(NI, getLine_cAlRX82MU9aihWfxn79b1A6wparsejson)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* my);
N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x);
static N_INLINE(NI, getColumn_cAlRX82MU9aihWfxn79b1A6w_2parsejson)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* my);
N_LIB_PRIVATE N_NIMCALL(NI, getColNumber_KUMaHICF9bUPO7tt6hrBs3g)(tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg* L, NI pos);
N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incRef_AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell_QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
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);
N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line);
N_LIB_PRIVATE N_NOINLINE(void, raiseParseErr_VeBRAkMdST9cPQW1Rqk8vwA)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* p, NimStringDesc* msg) __attribute__((noreturn));
extern TNimType NTI_MAw8rJZtJ279bVV3TWMtXSg_;
TNimType NTI_KWIQnzXEOUqdWsnCUL9atyQ_;
extern TNimType NTI_77mFvmsOLKik79ci2hXkHEg_;
TNimType NTI_Q9c4KaNqJU4PbXaGht0C7iw_;
TNimType NTI_0zjE9c54eTrq224F5wMcaFA_;
TNimType NTI_G9cw5MrJXJrcpID5JXaplew_;
TNimType NTI_Na0rM2Zdr3RpxeNeXbvLrQ_;
TNimType NTI_Ih0V9cYug0VPJyBBGvgEH7Q_;
extern TNimType NTI_VaVACK0bpYmqIQ0mKcHfQQ_;
extern TNimType NTI_yoNlBGx0D2tRizIdhQuENw_;
TNimType NTI_XTejXaID1NT7KS9byQm3Jxg_;
TNimType NTI_PyuSdojUZWOAnzN7dInq1Q_;
extern tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ gch_IcYaEuuWivYAS86vFMTS3Q;
static NIM_CONST tySet_tyChar_nmiMWKVIe46vacnhAFrQvw TM_nIinruGrC8EPIfjL3PuTvA_15 = {
0x00, 0x24, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
;
NIM_CONST struct {
  TGenericSeq Sup;
  tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ data[1];
} TM_nIinruGrC8EPIfjL3PuTvA_17 = {{1, 1 | NIM_STRLIT_FLAG}, {((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 1)}};
NIM_CONST tySequence_Ih0V9cYug0VPJyBBGvgEH7Q* TM_nIinruGrC8EPIfjL3PuTvA_16 = ((tySequence_Ih0V9cYug0VPJyBBGvgEH7Q*)&TM_nIinruGrC8EPIfjL3PuTvA_17);
STRING_LITERAL(TM_nIinruGrC8EPIfjL3PuTvA_28, "0.", 2);
static NIM_CONST tySet_tyChar_nmiMWKVIe46vacnhAFrQvw TM_nIinruGrC8EPIfjL3PuTvA_36 = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00,
0x20, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM_nIinruGrC8EPIfjL3PuTvA_73, "null", 4);
STRING_LITERAL(TM_nIinruGrC8EPIfjL3PuTvA_74, "true", 4);
STRING_LITERAL(TM_nIinruGrC8EPIfjL3PuTvA_75, "false", 5);
STRING_LITERAL(TM_nIinruGrC8EPIfjL3PuTvA_79, "$1($2, $3) Error: $4", 20);
STRING_LITERAL(TM_nIinruGrC8EPIfjL3PuTvA_80, " expected", 9);
STRING_LITERAL(TM_nIinruGrC8EPIfjL3PuTvA_81, "invalid token", 13);
STRING_LITERAL(TM_nIinruGrC8EPIfjL3PuTvA_82, "EOF", 3);
STRING_LITERAL(TM_nIinruGrC8EPIfjL3PuTvA_83, "string literal", 14);
STRING_LITERAL(TM_nIinruGrC8EPIfjL3PuTvA_84, "int literal", 11);
STRING_LITERAL(TM_nIinruGrC8EPIfjL3PuTvA_85, "float literal", 13);
STRING_LITERAL(TM_nIinruGrC8EPIfjL3PuTvA_86, "{", 1);
STRING_LITERAL(TM_nIinruGrC8EPIfjL3PuTvA_87, "}", 1);
STRING_LITERAL(TM_nIinruGrC8EPIfjL3PuTvA_88, "[", 1);
STRING_LITERAL(TM_nIinruGrC8EPIfjL3PuTvA_89, "]", 1);
STRING_LITERAL(TM_nIinruGrC8EPIfjL3PuTvA_90, ":", 1);
STRING_LITERAL(TM_nIinruGrC8EPIfjL3PuTvA_91, ",", 1);
NIM_CONST tyArray_FkG8aLMyiZfDjueUwWl3WA tokToStr_JGKyaHusNBrTLCQ7XiBnyw = {((NimStringDesc*) &TM_nIinruGrC8EPIfjL3PuTvA_81),
((NimStringDesc*) &TM_nIinruGrC8EPIfjL3PuTvA_82),
((NimStringDesc*) &TM_nIinruGrC8EPIfjL3PuTvA_83),
((NimStringDesc*) &TM_nIinruGrC8EPIfjL3PuTvA_84),
((NimStringDesc*) &TM_nIinruGrC8EPIfjL3PuTvA_85),
((NimStringDesc*) &TM_nIinruGrC8EPIfjL3PuTvA_74),
((NimStringDesc*) &TM_nIinruGrC8EPIfjL3PuTvA_75),
((NimStringDesc*) &TM_nIinruGrC8EPIfjL3PuTvA_73),
((NimStringDesc*) &TM_nIinruGrC8EPIfjL3PuTvA_86),
((NimStringDesc*) &TM_nIinruGrC8EPIfjL3PuTvA_87),
((NimStringDesc*) &TM_nIinruGrC8EPIfjL3PuTvA_88),
((NimStringDesc*) &TM_nIinruGrC8EPIfjL3PuTvA_89),
((NimStringDesc*) &TM_nIinruGrC8EPIfjL3PuTvA_90),
((NimStringDesc*) &TM_nIinruGrC8EPIfjL3PuTvA_91)}
;
static N_NIMCALL(void, Marker_tySequence_Ih0V9cYug0VPJyBBGvgEH7Q)(void* p, NI op) {
	tySequence_Ih0V9cYug0VPJyBBGvgEH7Q* a;
	NI T1_;
	a = (tySequence_Ih0V9cYug0VPJyBBGvgEH7Q*)p;
	T1_ = (NI)0;
}

N_LIB_PRIVATE N_NIMCALL(void, open_caSf5pJv2JnMMpxc9bAhdpA)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* my, tyObject_StreamObj_THYguAi9bSgidczZ3ywEIMQ* input, NimStringDesc* filename, NIM_BOOL rawStringLiterals) {
	tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg* T1_;
	T1_ = (tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg*)0;
	T1_ = &my->Sup;
	open_P89aGatd6bDNJ0Ak5E9cQgWw(T1_, input, ((NI) 8192), TM_nIinruGrC8EPIfjL3PuTvA_15);
	unsureAsgnRef((void**) (&(*my).filename), copyString(filename));
	genericSeqAssign((&(*my).state), TM_nIinruGrC8EPIfjL3PuTvA_16, (&NTI_Ih0V9cYug0VPJyBBGvgEH7Q_));
	(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 0);
	unsureAsgnRef((void**) (&(*my).a), ((NimStringDesc*) NIM_NIL));
	(*my).rawStringLiterals = rawStringLiterals;
}

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;
}

N_LIB_PRIVATE N_NIMCALL(void, skip_FPdQ9beZqb3bJ7eVHJww6Qg_2)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* my) {
	NI pos;
	pos = (*my).Sup.bufpos;
	{
		while (1) {
			if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
			switch (((NU8)((*my).Sup.buf->data[pos]))) {
			case 47:
			{
				{
					NI TM_nIinruGrC8EPIfjL3PuTvA_18;
					NI TM_nIinruGrC8EPIfjL3PuTvA_19;
					TM_nIinruGrC8EPIfjL3PuTvA_18 = addInt(pos, ((NI) 1));
					if ((NU)((NI)(TM_nIinruGrC8EPIfjL3PuTvA_18)) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2((NI)(TM_nIinruGrC8EPIfjL3PuTvA_18),((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
					if (!((NU8)((*my).Sup.buf->data[(NI)(TM_nIinruGrC8EPIfjL3PuTvA_18)]) == (NU8)(47))) goto LA6_;
					TM_nIinruGrC8EPIfjL3PuTvA_19 = addInt(pos, ((NI) 2));
					pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_19);
					{
						while (1) {
							if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
							switch (((NU8)((*my).Sup.buf->data[pos]))) {
							case 0:
							{
								goto LA8;
							}
							break;
							case 13:
							{
								tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg* T12_;
								T12_ = (tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg*)0;
								T12_ = &my->Sup;
								pos = handleCR_sLQC1Z9cokufE3lZEw9b42Cw(T12_, pos);
								goto LA8;
							}
							break;
							case 10:
							{
								tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg* T14_;
								T14_ = (tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg*)0;
								T14_ = &my->Sup;
								pos = handleLF_sLQC1Z9cokufE3lZEw9b42Cw_3(T14_, pos);
								goto LA8;
							}
							break;
							default:
							{
								NI TM_nIinruGrC8EPIfjL3PuTvA_20;
								TM_nIinruGrC8EPIfjL3PuTvA_20 = addInt(pos, ((NI) 1));
								pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_20);
							}
							break;
							}
						}
					} LA8: ;
				}
				goto LA4_;
				LA6_: ;
				{
					NI TM_nIinruGrC8EPIfjL3PuTvA_21;
					NI TM_nIinruGrC8EPIfjL3PuTvA_22;
					TM_nIinruGrC8EPIfjL3PuTvA_21 = addInt(pos, ((NI) 1));
					if ((NU)((NI)(TM_nIinruGrC8EPIfjL3PuTvA_21)) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2((NI)(TM_nIinruGrC8EPIfjL3PuTvA_21),((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
					if (!((NU8)((*my).Sup.buf->data[(NI)(TM_nIinruGrC8EPIfjL3PuTvA_21)]) == (NU8)(42))) goto LA17_;
					TM_nIinruGrC8EPIfjL3PuTvA_22 = addInt(pos, ((NI) 2));
					pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_22);
					{
						while (1) {
							if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
							switch (((NU8)((*my).Sup.buf->data[pos]))) {
							case 0:
							{
								(*my).err = ((tyEnum_JsonError_G9cw5MrJXJrcpID5JXaplew) 8);
								goto LA19;
							}
							break;
							case 13:
							{
								tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg* T23_;
								T23_ = (tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg*)0;
								T23_ = &my->Sup;
								pos = handleCR_sLQC1Z9cokufE3lZEw9b42Cw(T23_, pos);
							}
							break;
							case 10:
							{
								tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg* T25_;
								T25_ = (tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg*)0;
								T25_ = &my->Sup;
								pos = handleLF_sLQC1Z9cokufE3lZEw9b42Cw_3(T25_, pos);
							}
							break;
							case 42:
							{
								NI TM_nIinruGrC8EPIfjL3PuTvA_23;
								TM_nIinruGrC8EPIfjL3PuTvA_23 = addInt(pos, ((NI) 1));
								pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_23);
								{
									NI TM_nIinruGrC8EPIfjL3PuTvA_24;
									if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
									if (!((NU8)((*my).Sup.buf->data[pos]) == (NU8)(47))) goto LA29_;
									TM_nIinruGrC8EPIfjL3PuTvA_24 = addInt(pos, ((NI) 1));
									pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_24);
									goto LA19;
								}
								LA29_: ;
							}
							break;
							default:
							{
								NI TM_nIinruGrC8EPIfjL3PuTvA_25;
								TM_nIinruGrC8EPIfjL3PuTvA_25 = addInt(pos, ((NI) 1));
								pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_25);
							}
							break;
							}
						}
					} LA19: ;
				}
				goto LA4_;
				LA17_: ;
				{
					goto LA1;
				}
				LA4_: ;
			}
			break;
			case 32:
			case 9:
			{
				NI TM_nIinruGrC8EPIfjL3PuTvA_26;
				TM_nIinruGrC8EPIfjL3PuTvA_26 = addInt(pos, ((NI) 1));
				pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_26);
			}
			break;
			case 13:
			{
				tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg* T35_;
				T35_ = (tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg*)0;
				T35_ = &my->Sup;
				pos = handleCR_sLQC1Z9cokufE3lZEw9b42Cw(T35_, pos);
			}
			break;
			case 10:
			{
				tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg* T37_;
				T37_ = (tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg*)0;
				T37_ = &my->Sup;
				pos = handleLF_sLQC1Z9cokufE3lZEw9b42Cw_3(T37_, pos);
			}
			break;
			default:
			{
				goto LA1;
			}
			break;
			}
		}
	} LA1: ;
	(*my).Sup.bufpos = pos;
}

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_: ;
}

N_LIB_PRIVATE N_NIMCALL(void, parseNumber_FPdQ9beZqb3bJ7eVHJww6Qg_3)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* my) {
	NI pos;
	pos = (*my).Sup.bufpos;
	{
		NI TM_nIinruGrC8EPIfjL3PuTvA_27;
		if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
		if (!((NU8)((*my).Sup.buf->data[pos]) == (NU8)(45))) goto LA3_;
		unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, 45));
		TM_nIinruGrC8EPIfjL3PuTvA_27 = addInt(pos, ((NI) 1));
		pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_27);
	}
	LA3_: ;
	{
		NI TM_nIinruGrC8EPIfjL3PuTvA_29;
		if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
		if (!((NU8)((*my).Sup.buf->data[pos]) == (NU8)(46))) goto LA7_;
		unsureAsgnRef((void**) (&(*my).a), resizeString((*my).a, 2));
appendString((*my).a, ((NimStringDesc*) &TM_nIinruGrC8EPIfjL3PuTvA_28));
		TM_nIinruGrC8EPIfjL3PuTvA_29 = addInt(pos, ((NI) 1));
		pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_29);
	}
	goto LA5_;
	LA7_: ;
	{
		{
			while (1) {
				NI TM_nIinruGrC8EPIfjL3PuTvA_30;
				if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
				if (!(((NU8)((*my).Sup.buf->data[pos])) >= ((NU8)(48)) && ((NU8)((*my).Sup.buf->data[pos])) <= ((NU8)(57)))) goto LA11;
				if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
				unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, (*my).Sup.buf->data[pos]));
				TM_nIinruGrC8EPIfjL3PuTvA_30 = addInt(pos, ((NI) 1));
				pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_30);
			} LA11: ;
		}
		{
			NI TM_nIinruGrC8EPIfjL3PuTvA_31;
			if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
			if (!((NU8)((*my).Sup.buf->data[pos]) == (NU8)(46))) goto LA14_;
			unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, 46));
			TM_nIinruGrC8EPIfjL3PuTvA_31 = addInt(pos, ((NI) 1));
			pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_31);
		}
		LA14_: ;
	}
	LA5_: ;
	{
		while (1) {
			NI TM_nIinruGrC8EPIfjL3PuTvA_32;
			if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
			if (!(((NU8)((*my).Sup.buf->data[pos])) >= ((NU8)(48)) && ((NU8)((*my).Sup.buf->data[pos])) <= ((NU8)(57)))) goto LA17;
			if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
			unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, (*my).Sup.buf->data[pos]));
			TM_nIinruGrC8EPIfjL3PuTvA_32 = addInt(pos, ((NI) 1));
			pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_32);
		} LA17: ;
	}
	{
		NI TM_nIinruGrC8EPIfjL3PuTvA_33;
		if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
		if (!(((NU8)((*my).Sup.buf->data[pos])) == ((NU8)(69)) || ((NU8)((*my).Sup.buf->data[pos])) == ((NU8)(101)))) goto LA20_;
		if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
		unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, (*my).Sup.buf->data[pos]));
		TM_nIinruGrC8EPIfjL3PuTvA_33 = addInt(pos, ((NI) 1));
		pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_33);
		{
			NI TM_nIinruGrC8EPIfjL3PuTvA_34;
			if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
			if (!(((NU8)((*my).Sup.buf->data[pos])) == ((NU8)(43)) || ((NU8)((*my).Sup.buf->data[pos])) == ((NU8)(45)))) goto LA24_;
			if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
			unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, (*my).Sup.buf->data[pos]));
			TM_nIinruGrC8EPIfjL3PuTvA_34 = addInt(pos, ((NI) 1));
			pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_34);
		}
		LA24_: ;
		{
			while (1) {
				NI TM_nIinruGrC8EPIfjL3PuTvA_35;
				if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
				if (!(((NU8)((*my).Sup.buf->data[pos])) >= ((NU8)(48)) && ((NU8)((*my).Sup.buf->data[pos])) <= ((NU8)(57)))) goto LA27;
				if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
				unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, (*my).Sup.buf->data[pos]));
				TM_nIinruGrC8EPIfjL3PuTvA_35 = addInt(pos, ((NI) 1));
				pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_35);
			} LA27: ;
		}
	}
	LA20_: ;
	(*my).Sup.bufpos = pos;
}

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(NIM_BOOL, handleHexChar_Avai9b5a9bb83l1HPqx75AfA)(NIM_CHAR c, NI* x) {
	NIM_BOOL result;
	result = (NIM_BOOL)0;
	result = NIM_TRUE;
	switch (((NU8)(c))) {
	case 48 ... 57:
	{
		NI TM_nIinruGrC8EPIfjL3PuTvA_49;
		TM_nIinruGrC8EPIfjL3PuTvA_49 = subInt(((NU8)(c)), ((NI) 48));
		(*x) = (NI)((NI)((NU32)((*x)) << (NU32)(((NI) 4))) | (NI)(TM_nIinruGrC8EPIfjL3PuTvA_49));
	}
	break;
	case 97 ... 102:
	{
		NI TM_nIinruGrC8EPIfjL3PuTvA_50;
		NI TM_nIinruGrC8EPIfjL3PuTvA_51;
		TM_nIinruGrC8EPIfjL3PuTvA_50 = subInt(((NU8)(c)), ((NI) 97));
		TM_nIinruGrC8EPIfjL3PuTvA_51 = addInt((NI)(TM_nIinruGrC8EPIfjL3PuTvA_50), ((NI) 10));
		(*x) = (NI)((NI)((NU32)((*x)) << (NU32)(((NI) 4))) | (NI)(TM_nIinruGrC8EPIfjL3PuTvA_51));
	}
	break;
	case 65 ... 70:
	{
		NI TM_nIinruGrC8EPIfjL3PuTvA_52;
		NI TM_nIinruGrC8EPIfjL3PuTvA_53;
		TM_nIinruGrC8EPIfjL3PuTvA_52 = subInt(((NU8)(c)), ((NI) 65));
		TM_nIinruGrC8EPIfjL3PuTvA_53 = addInt((NI)(TM_nIinruGrC8EPIfjL3PuTvA_52), ((NI) 10));
		(*x) = (NI)((NI)((NU32)((*x)) << (NU32)(((NI) 4))) | (NI)(TM_nIinruGrC8EPIfjL3PuTvA_53));
	}
	break;
	default:
	{
		result = NIM_FALSE;
	}
	break;
	}
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NI, parseEscapedUTF16_MMwgsOXZK0fQw6h7UQcVsQ)(NCSTRING buf, NI* pos) {
	NI result;
{	result = (NI)0;
	result = ((NI) 0);
	{
		NI _;
		NI res;
		_ = (NI)0;
		res = ((NI) 0);
		{
			while (1) {
				NI TM_nIinruGrC8EPIfjL3PuTvA_55;
				if (!(res <= ((NI) 3))) goto LA3;
				_ = res;
				{
					NIM_BOOL T6_;
					NI TM_nIinruGrC8EPIfjL3PuTvA_54;
					T6_ = (NIM_BOOL)0;
					T6_ = handleHexChar_Avai9b5a9bb83l1HPqx75AfA(buf[(*pos)], (&result));
					if (!T6_) goto LA7_;
					TM_nIinruGrC8EPIfjL3PuTvA_54 = addInt((*pos), ((NI) 1));
					(*pos) = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_54);
				}
				goto LA4_;
				LA7_: ;
				{
					result = ((NI) -1);
					goto BeforeRet_;
				}
				LA4_: ;
				TM_nIinruGrC8EPIfjL3PuTvA_55 = addInt(res, ((NI) 1));
				res = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_55);
			} LA3: ;
		}
	}
	}BeforeRet_: ;
	return result;
}

static N_INLINE(NCSTRING, nimToCStringConv)(NimStringDesc* s) {
	NCSTRING result;
	result = (NCSTRING)0;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (s == NIM_NIL);
		if (T3_) goto LA4_;
		T3_ = ((*s).Sup.len == ((NI) 0));
		LA4_: ;
		if (!T3_) goto LA5_;
		result = "";
	}
	goto LA1_;
	LA5_: ;
	{
		result = ((NCSTRING) ((*s).data));
	}
	LA1_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw, parseString_9cGllg9a4hN9cmfjsUw6zu39bQ_2)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* my) {
	tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw result;
	NI pos;
	NI TM_nIinruGrC8EPIfjL3PuTvA_37;
	result = (tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw)0;
	result = ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 2);
	TM_nIinruGrC8EPIfjL3PuTvA_37 = addInt((*my).Sup.bufpos, ((NI) 1));
	pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_37);
	{
		if (!(*my).rawStringLiterals) goto LA3_;
		unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, 34));
	}
	LA3_: ;
	{
		while (1) {
			if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
			switch (((NU8)((*my).Sup.buf->data[pos]))) {
			case 0:
			{
				(*my).err = ((tyEnum_JsonError_G9cw5MrJXJrcpID5JXaplew) 7);
				result = ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 0);
				goto LA5;
			}
			break;
			case 34:
			{
				NI TM_nIinruGrC8EPIfjL3PuTvA_38;
				{
					if (!(*my).rawStringLiterals) goto LA11_;
					unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, 34));
				}
				LA11_: ;
				TM_nIinruGrC8EPIfjL3PuTvA_38 = addInt(pos, ((NI) 1));
				pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_38);
				goto LA5;
			}
			break;
			case 92:
			{
				NI TM_nIinruGrC8EPIfjL3PuTvA_39;
				{
					if (!(*my).rawStringLiterals) goto LA16_;
					unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, 92));
				}
				LA16_: ;
				TM_nIinruGrC8EPIfjL3PuTvA_39 = addInt(pos, ((NI) 1));
				if ((NU)((NI)(TM_nIinruGrC8EPIfjL3PuTvA_39)) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2((NI)(TM_nIinruGrC8EPIfjL3PuTvA_39),((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
				switch (((NU8)((*my).Sup.buf->data[(NI)(TM_nIinruGrC8EPIfjL3PuTvA_39)]))) {
				case 92:
				case 34:
				case 39:
				case 47:
				{
					NI TM_nIinruGrC8EPIfjL3PuTvA_40;
					NI TM_nIinruGrC8EPIfjL3PuTvA_41;
					TM_nIinruGrC8EPIfjL3PuTvA_40 = addInt(pos, ((NI) 1));
					if ((NU)((NI)(TM_nIinruGrC8EPIfjL3PuTvA_40)) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2((NI)(TM_nIinruGrC8EPIfjL3PuTvA_40),((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
					unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, (*my).Sup.buf->data[(NI)(TM_nIinruGrC8EPIfjL3PuTvA_40)]));
					TM_nIinruGrC8EPIfjL3PuTvA_41 = addInt(pos, ((NI) 2));
					pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_41);
				}
				break;
				case 98:
				{
					NI TM_nIinruGrC8EPIfjL3PuTvA_42;
					unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, 8));
					TM_nIinruGrC8EPIfjL3PuTvA_42 = addInt(pos, ((NI) 2));
					pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_42);
				}
				break;
				case 102:
				{
					NI TM_nIinruGrC8EPIfjL3PuTvA_43;
					unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, 12));
					TM_nIinruGrC8EPIfjL3PuTvA_43 = addInt(pos, ((NI) 2));
					pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_43);
				}
				break;
				case 110:
				{
					NI TM_nIinruGrC8EPIfjL3PuTvA_44;
					unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, 10));
					TM_nIinruGrC8EPIfjL3PuTvA_44 = addInt(pos, ((NI) 2));
					pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_44);
				}
				break;
				case 114:
				{
					NI TM_nIinruGrC8EPIfjL3PuTvA_45;
					unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, 13));
					TM_nIinruGrC8EPIfjL3PuTvA_45 = addInt(pos, ((NI) 2));
					pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_45);
				}
				break;
				case 116:
				{
					NI TM_nIinruGrC8EPIfjL3PuTvA_46;
					unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, 9));
					TM_nIinruGrC8EPIfjL3PuTvA_46 = addInt(pos, ((NI) 2));
					pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_46);
				}
				break;
				case 118:
				{
					NI TM_nIinruGrC8EPIfjL3PuTvA_47;
					unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, 11));
					TM_nIinruGrC8EPIfjL3PuTvA_47 = addInt(pos, ((NI) 2));
					pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_47);
				}
				break;
				case 117:
				{
					NI TM_nIinruGrC8EPIfjL3PuTvA_48;
					NI pos2;
					NI r;
					{
						if (!(*my).rawStringLiterals) goto LA28_;
						unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, 117));
					}
					LA28_: ;
					TM_nIinruGrC8EPIfjL3PuTvA_48 = addInt(pos, ((NI) 2));
					pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_48);
					pos2 = pos;
					r = parseEscapedUTF16_MMwgsOXZK0fQw6h7UQcVsQ(nimToCStringConv((*my).Sup.buf), (&pos));
					{
						if (!(r < ((NI) 0))) goto LA32_;
						(*my).err = ((tyEnum_JsonError_G9cw5MrJXJrcpID5JXaplew) 1);
						goto LA5;
					}
					LA32_: ;
					{
						NI TM_nIinruGrC8EPIfjL3PuTvA_57;
						NI s;
						if (!((NI)(r & ((NI) 64512)) == ((NI) 55296))) goto LA36_;
						{
							NIM_BOOL T40_;
							NI TM_nIinruGrC8EPIfjL3PuTvA_56;
							T40_ = (NIM_BOOL)0;
							if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
							T40_ = !(((NU8)((*my).Sup.buf->data[pos]) == (NU8)(92)));
							if (T40_) goto LA41_;
							TM_nIinruGrC8EPIfjL3PuTvA_56 = addInt(pos, ((NI) 1));
							if ((NU)((NI)(TM_nIinruGrC8EPIfjL3PuTvA_56)) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2((NI)(TM_nIinruGrC8EPIfjL3PuTvA_56),((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
							T40_ = !(((NU8)((*my).Sup.buf->data[(NI)(TM_nIinruGrC8EPIfjL3PuTvA_56)]) == (NU8)(117)));
							LA41_: ;
							if (!T40_) goto LA42_;
							(*my).err = ((tyEnum_JsonError_G9cw5MrJXJrcpID5JXaplew) 1);
							goto LA5;
						}
						LA42_: ;
						TM_nIinruGrC8EPIfjL3PuTvA_57 = addInt(pos, ((NI) 2));
						pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_57);
						s = parseEscapedUTF16_MMwgsOXZK0fQw6h7UQcVsQ(nimToCStringConv((*my).Sup.buf), (&pos));
						{
							NIM_BOOL T46_;
							NI TM_nIinruGrC8EPIfjL3PuTvA_58;
							NI TM_nIinruGrC8EPIfjL3PuTvA_59;
							NI TM_nIinruGrC8EPIfjL3PuTvA_60;
							T46_ = (NIM_BOOL)0;
							T46_ = ((NI)(s & ((NI) 64512)) == ((NI) 56320));
							if (!(T46_)) goto LA47_;
							T46_ = (((NI) 0) < s);
							LA47_: ;
							if (!T46_) goto LA48_;
							TM_nIinruGrC8EPIfjL3PuTvA_58 = subInt(r, ((NI) 55296));
							TM_nIinruGrC8EPIfjL3PuTvA_59 = subInt(s, ((NI) 56320));
							TM_nIinruGrC8EPIfjL3PuTvA_60 = addInt(((NI) 65536), (NI)((NI)((NU32)((NI)(TM_nIinruGrC8EPIfjL3PuTvA_58)) << (NU32)(((NI) 10))) | (NI)(TM_nIinruGrC8EPIfjL3PuTvA_59)));
							r = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_60);
						}
						goto LA44_;
						LA48_: ;
						{
							(*my).err = ((tyEnum_JsonError_G9cw5MrJXJrcpID5JXaplew) 1);
							goto LA5;
						}
						LA44_: ;
					}
					LA36_: ;
					{
						NI length;
						NI TM_nIinruGrC8EPIfjL3PuTvA_61;
						if (!(*my).rawStringLiterals) goto LA53_;
						TM_nIinruGrC8EPIfjL3PuTvA_61 = subInt(pos, pos2);
						length = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_61);
						{
							NI i;
							NI res;
							i = (NI)0;
							res = ((NI) 1);
							{
								while (1) {
									NI TM_nIinruGrC8EPIfjL3PuTvA_63;
									if (!(res <= length)) goto LA57;
									i = res;
									{
										NI TM_nIinruGrC8EPIfjL3PuTvA_62;
										if ((NU)(pos2) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos2,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
										if (!(((NU8)((*my).Sup.buf->data[pos2])) >= ((NU8)(48)) && ((NU8)((*my).Sup.buf->data[pos2])) <= ((NU8)(57)) || ((NU8)((*my).Sup.buf->data[pos2])) >= ((NU8)(65)) && ((NU8)((*my).Sup.buf->data[pos2])) <= ((NU8)(70)) || ((NU8)((*my).Sup.buf->data[pos2])) >= ((NU8)(97)) && ((NU8)((*my).Sup.buf->data[pos2])) <= ((NU8)(102)))) goto LA60_;
										if ((NU)(pos2) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos2,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
										unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, (*my).Sup.buf->data[pos2]));
										TM_nIinruGrC8EPIfjL3PuTvA_62 = addInt(pos2, ((NI) 1));
										pos2 = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_62);
									}
									goto LA58_;
									LA60_: ;
									{
										goto LA55;
									}
									LA58_: ;
									TM_nIinruGrC8EPIfjL3PuTvA_63 = addInt(res, ((NI) 1));
									res = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_63);
								} LA57: ;
							}
						} LA55: ;
					}
					goto LA51_;
					LA53_: ;
					{
						NimStringDesc* T64_;
						T64_ = (NimStringDesc*)0;
						T64_ = nuctoUTF8(((NI32) (r)));
						unsureAsgnRef((void**) (&(*my).a), resizeString((*my).a, (T64_ ? T64_->Sup.len : 0) + 0));
appendString((*my).a, T64_);
					}
					LA51_: ;
				}
				break;
				default:
				{
					NI TM_nIinruGrC8EPIfjL3PuTvA_64;
					if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
					unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, (*my).Sup.buf->data[pos]));
					TM_nIinruGrC8EPIfjL3PuTvA_64 = addInt(pos, ((NI) 1));
					pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_64);
				}
				break;
				}
			}
			break;
			case 13:
			{
				tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg* T67_;
				T67_ = (tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg*)0;
				T67_ = &my->Sup;
				pos = handleCR_sLQC1Z9cokufE3lZEw9b42Cw(T67_, pos);
				unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, 13));
			}
			break;
			case 10:
			{
				tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg* T69_;
				T69_ = (tyObject_BaseLexer_MAw8rJZtJ279bVV3TWMtXSg*)0;
				T69_ = &my->Sup;
				pos = handleLF_sLQC1Z9cokufE3lZEw9b42Cw_3(T69_, pos);
				unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, 10));
			}
			break;
			default:
			{
				NI TM_nIinruGrC8EPIfjL3PuTvA_65;
				if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
				unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, (*my).Sup.buf->data[pos]));
				TM_nIinruGrC8EPIfjL3PuTvA_65 = addInt(pos, ((NI) 1));
				pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_65);
			}
			break;
			}
		}
	} LA5: ;
	(*my).Sup.bufpos = pos;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, parseName_FPdQ9beZqb3bJ7eVHJww6Qg_4)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* my) {
	NI pos;
	pos = (*my).Sup.bufpos;
	{
		if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
		if (!(((NU8)((*my).Sup.buf->data[pos])) >= ((NU8)(97)) && ((NU8)((*my).Sup.buf->data[pos])) <= ((NU8)(122)) || ((NU8)((*my).Sup.buf->data[pos])) >= ((NU8)(65)) && ((NU8)((*my).Sup.buf->data[pos])) <= ((NU8)(90)) || ((NU8)((*my).Sup.buf->data[pos])) == ((NU8)(95)))) goto LA3_;
		{
			while (1) {
				NI TM_nIinruGrC8EPIfjL3PuTvA_72;
				if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
				if (!(((NU8)((*my).Sup.buf->data[pos])) >= ((NU8)(97)) && ((NU8)((*my).Sup.buf->data[pos])) <= ((NU8)(122)) || ((NU8)((*my).Sup.buf->data[pos])) >= ((NU8)(65)) && ((NU8)((*my).Sup.buf->data[pos])) <= ((NU8)(90)) || ((NU8)((*my).Sup.buf->data[pos])) >= ((NU8)(48)) && ((NU8)((*my).Sup.buf->data[pos])) <= ((NU8)(57)) || ((NU8)((*my).Sup.buf->data[pos])) == ((NU8)(95)))) goto LA6;
				if ((NU)(pos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2(pos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
				unsureAsgnRef((void**) (&(*my).a), addChar((*my).a, (*my).Sup.buf->data[pos]));
				TM_nIinruGrC8EPIfjL3PuTvA_72 = addInt(pos, ((NI) 1));
				pos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_72);
			} LA6: ;
		}
	}
	LA3_: ;
	(*my).Sup.bufpos = pos;
}

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;
}

N_LIB_PRIVATE N_NIMCALL(tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw, getTok_9cGllg9a4hN9cmfjsUw6zu39bQ)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* my) {
	tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw result;
	result = (tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw)0;
	unsureAsgnRef((void**) (&(*my).a), setLengthStr((*my).a, ((NI) 0)));
	skip_FPdQ9beZqb3bJ7eVHJww6Qg_2(my);
	if ((NU)((*my).Sup.bufpos) >= (NU)((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)) raiseIndexError2((*my).Sup.bufpos,((*my).Sup.buf ? (*my).Sup.buf->Sup.len : 0)-1);
	switch (((NU8)((*my).Sup.buf->data[(*my).Sup.bufpos]))) {
	case 45:
	case 46:
	case 48 ... 57:
	{
		parseNumber_FPdQ9beZqb3bJ7eVHJww6Qg_3(my);
		{
			NIM_BOOL T4_;
			T4_ = (NIM_BOOL)0;
			T4_ = contains_wAzSnEu9cCHHjvPQlWBZUeQ((*my).a, TM_nIinruGrC8EPIfjL3PuTvA_36);
			if (!T4_) goto LA5_;
			result = ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 4);
		}
		goto LA2_;
		LA5_: ;
		{
			result = ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 3);
		}
		LA2_: ;
	}
	break;
	case 34:
	{
		result = parseString_9cGllg9a4hN9cmfjsUw6zu39bQ_2(my);
	}
	break;
	case 91:
	{
		NI TM_nIinruGrC8EPIfjL3PuTvA_66;
		TM_nIinruGrC8EPIfjL3PuTvA_66 = addInt((*my).Sup.bufpos, ((NI) 1));
		(*my).Sup.bufpos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_66);
		result = ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 10);
	}
	break;
	case 123:
	{
		NI TM_nIinruGrC8EPIfjL3PuTvA_67;
		TM_nIinruGrC8EPIfjL3PuTvA_67 = addInt((*my).Sup.bufpos, ((NI) 1));
		(*my).Sup.bufpos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_67);
		result = ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 8);
	}
	break;
	case 93:
	{
		NI TM_nIinruGrC8EPIfjL3PuTvA_68;
		TM_nIinruGrC8EPIfjL3PuTvA_68 = addInt((*my).Sup.bufpos, ((NI) 1));
		(*my).Sup.bufpos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_68);
		result = ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 11);
	}
	break;
	case 125:
	{
		NI TM_nIinruGrC8EPIfjL3PuTvA_69;
		TM_nIinruGrC8EPIfjL3PuTvA_69 = addInt((*my).Sup.bufpos, ((NI) 1));
		(*my).Sup.bufpos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_69);
		result = ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 9);
	}
	break;
	case 44:
	{
		NI TM_nIinruGrC8EPIfjL3PuTvA_70;
		TM_nIinruGrC8EPIfjL3PuTvA_70 = addInt((*my).Sup.bufpos, ((NI) 1));
		(*my).Sup.bufpos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_70);
		result = ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 13);
	}
	break;
	case 58:
	{
		NI TM_nIinruGrC8EPIfjL3PuTvA_71;
		TM_nIinruGrC8EPIfjL3PuTvA_71 = addInt((*my).Sup.bufpos, ((NI) 1));
		(*my).Sup.bufpos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_71);
		result = ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 12);
	}
	break;
	case 0:
	{
		result = ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 1);
	}
	break;
	case 97 ... 122:
	case 65 ... 90:
	case 95:
	{
		parseName_FPdQ9beZqb3bJ7eVHJww6Qg_4(my);
		if (eqStrings((*my).a, ((NimStringDesc*) &TM_nIinruGrC8EPIfjL3PuTvA_73))) goto LA17_;
		if (eqStrings((*my).a, ((NimStringDesc*) &TM_nIinruGrC8EPIfjL3PuTvA_74))) goto LA18_;
		if (eqStrings((*my).a, ((NimStringDesc*) &TM_nIinruGrC8EPIfjL3PuTvA_75))) goto LA19_;
		goto LA20_;
		LA17_: ;
		{
			result = ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 7);
		}
		goto LA21_;
		LA18_: ;
		{
			result = ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 5);
		}
		goto LA21_;
		LA19_: ;
		{
			result = ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 6);
		}
		goto LA21_;
		LA20_: ;
		{
			result = ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 0);
		}
		LA21_: ;
	}
	break;
	default:
	{
		NI TM_nIinruGrC8EPIfjL3PuTvA_76;
		TM_nIinruGrC8EPIfjL3PuTvA_76 = addInt((*my).Sup.bufpos, ((NI) 1));
		(*my).Sup.bufpos = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_76);
		result = ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 0);
	}
	break;
	}
	(*my).tok = result;
	return result;
}

static N_INLINE(NI, chckRange)(NI i, NI a, NI b) {
	NI result;
{	result = (NI)0;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (a <= i);
		if (!(T3_)) goto LA4_;
		T3_ = (i <= b);
		LA4_: ;
		if (!T3_) goto LA5_;
		result = i;
		goto BeforeRet_;
	}
	goto LA1_;
	LA5_: ;
	{
		raiseRangeError(((NI64) (i)));
	}
	LA1_: ;
	}BeforeRet_: ;
	return result;
}

static N_INLINE(tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ, pop_wGIX8i2tVhp4gFSPlGuf2gsystem)(tySequence_Ih0V9cYug0VPJyBBGvgEH7Q** s) {
	tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ result;
	NI L;
	NI T1_;
	NI TM_nIinruGrC8EPIfjL3PuTvA_78;
	result = (tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ)0;
	T1_ = ((*s) ? (*s)->Sup.len : 0);
	TM_nIinruGrC8EPIfjL3PuTvA_78 = subInt(T1_, ((NI) 1));
	L = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_78);
	if ((NU)(L) >= (NU)((*s) ? (*s)->Sup.len : 0)) raiseIndexError2(L,((*s) ? (*s)->Sup.len : 0)-1);
	result = (*s)->data[L];
	unsureAsgnRef((void**) (&(*s)), (tySequence_Ih0V9cYug0VPJyBBGvgEH7Q*) setLengthSeqV2(&((*s))->Sup, (&NTI_Ih0V9cYug0VPJyBBGvgEH7Q_), ((NI)chckRange(L, ((NI) 0), ((NI) 2147483647)))));
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, next_FPdQ9beZqb3bJ7eVHJww6Qg)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* my) {
	tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw tk;
	NI i;
	NI T1_;
	NI TM_nIinruGrC8EPIfjL3PuTvA_77;
	tk = getTok_9cGllg9a4hN9cmfjsUw6zu39bQ(my);
	T1_ = ((*my).state ? (*my).state->Sup.len : 0);
	TM_nIinruGrC8EPIfjL3PuTvA_77 = subInt(T1_, ((NI) 1));
	i = (NI)(TM_nIinruGrC8EPIfjL3PuTvA_77);
	if ((NU)(i) >= (NU)((*my).state ? (*my).state->Sup.len : 0)) raiseIndexError2(i,((*my).state ? (*my).state->Sup.len : 0)-1);
	switch ((*my).state->data[i]) {
	case ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 0):
	{
		{
			if (!(tk == ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 1))) goto LA5_;
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 1);
		}
		goto LA3_;
		LA5_: ;
		{
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 0);
			(*my).err = ((tyEnum_JsonError_G9cw5MrJXJrcpID5JXaplew) 9);
		}
		LA3_: ;
	}
	break;
	case ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 1):
	{
		switch (tk) {
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 2):
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 3):
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 4):
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 5):
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 6):
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 7):
		{
			if ((NU)(i) >= (NU)((*my).state ? (*my).state->Sup.len : 0)) raiseIndexError2(i,((*my).state ? (*my).state->Sup.len : 0)-1);
			(*my).state->data[i] = ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 0);
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA)chckRange(tk, ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 0), ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 11)));
		}
		break;
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 10):
		{
			NI T11_;
			unsureAsgnRef((void**) (&(*my).state), (tySequence_Ih0V9cYug0VPJyBBGvgEH7Q*) incrSeqV3((TGenericSeq*)((*my).state), (&NTI_Ih0V9cYug0VPJyBBGvgEH7Q_)));
			T11_ = (*my).state->Sup.len++;
			(*my).state->data[T11_] = ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 3);
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 10);
		}
		break;
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 8):
		{
			NI T13_;
			unsureAsgnRef((void**) (&(*my).state), (tySequence_Ih0V9cYug0VPJyBBGvgEH7Q*) incrSeqV3((TGenericSeq*)((*my).state), (&NTI_Ih0V9cYug0VPJyBBGvgEH7Q_)));
			T13_ = (*my).state->Sup.len++;
			(*my).state->data[T13_] = ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 2);
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 8);
		}
		break;
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 1):
		{
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 1);
		}
		break;
		default:
		{
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 0);
			(*my).err = ((tyEnum_JsonError_G9cw5MrJXJrcpID5JXaplew) 9);
		}
		break;
		}
	}
	break;
	case ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 2):
	{
		switch (tk) {
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 2):
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 3):
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 4):
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 5):
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 6):
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 7):
		{
			NI T18_;
			unsureAsgnRef((void**) (&(*my).state), (tySequence_Ih0V9cYug0VPJyBBGvgEH7Q*) incrSeqV3((TGenericSeq*)((*my).state), (&NTI_Ih0V9cYug0VPJyBBGvgEH7Q_)));
			T18_ = (*my).state->Sup.len++;
			(*my).state->data[T18_] = ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 6);
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA)chckRange(tk, ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 0), ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 11)));
		}
		break;
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 10):
		{
			NI T20_;
			NI T21_;
			unsureAsgnRef((void**) (&(*my).state), (tySequence_Ih0V9cYug0VPJyBBGvgEH7Q*) incrSeqV3((TGenericSeq*)((*my).state), (&NTI_Ih0V9cYug0VPJyBBGvgEH7Q_)));
			T20_ = (*my).state->Sup.len++;
			(*my).state->data[T20_] = ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 6);
			unsureAsgnRef((void**) (&(*my).state), (tySequence_Ih0V9cYug0VPJyBBGvgEH7Q*) incrSeqV3((TGenericSeq*)((*my).state), (&NTI_Ih0V9cYug0VPJyBBGvgEH7Q_)));
			T21_ = (*my).state->Sup.len++;
			(*my).state->data[T21_] = ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 3);
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 10);
		}
		break;
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 8):
		{
			NI T23_;
			NI T24_;
			unsureAsgnRef((void**) (&(*my).state), (tySequence_Ih0V9cYug0VPJyBBGvgEH7Q*) incrSeqV3((TGenericSeq*)((*my).state), (&NTI_Ih0V9cYug0VPJyBBGvgEH7Q_)));
			T23_ = (*my).state->Sup.len++;
			(*my).state->data[T23_] = ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 6);
			unsureAsgnRef((void**) (&(*my).state), (tySequence_Ih0V9cYug0VPJyBBGvgEH7Q*) incrSeqV3((TGenericSeq*)((*my).state), (&NTI_Ih0V9cYug0VPJyBBGvgEH7Q_)));
			T24_ = (*my).state->Sup.len++;
			(*my).state->data[T24_] = ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 2);
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 8);
		}
		break;
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 9):
		{
			tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ T26_;
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 9);
			T26_ = (tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ)0;
			T26_ = pop_wGIX8i2tVhp4gFSPlGuf2gsystem((&(*my).state));
			(void)(T26_);
		}
		break;
		default:
		{
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 0);
			(*my).err = ((tyEnum_JsonError_G9cw5MrJXJrcpID5JXaplew) 6);
		}
		break;
		}
	}
	break;
	case ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 3):
	{
		switch (tk) {
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 2):
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 3):
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 4):
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 5):
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 6):
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 7):
		{
			NI T30_;
			unsureAsgnRef((void**) (&(*my).state), (tySequence_Ih0V9cYug0VPJyBBGvgEH7Q*) incrSeqV3((TGenericSeq*)((*my).state), (&NTI_Ih0V9cYug0VPJyBBGvgEH7Q_)));
			T30_ = (*my).state->Sup.len++;
			(*my).state->data[T30_] = ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 4);
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA)chckRange(tk, ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 0), ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 11)));
		}
		break;
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 10):
		{
			NI T32_;
			NI T33_;
			unsureAsgnRef((void**) (&(*my).state), (tySequence_Ih0V9cYug0VPJyBBGvgEH7Q*) incrSeqV3((TGenericSeq*)((*my).state), (&NTI_Ih0V9cYug0VPJyBBGvgEH7Q_)));
			T32_ = (*my).state->Sup.len++;
			(*my).state->data[T32_] = ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 4);
			unsureAsgnRef((void**) (&(*my).state), (tySequence_Ih0V9cYug0VPJyBBGvgEH7Q*) incrSeqV3((TGenericSeq*)((*my).state), (&NTI_Ih0V9cYug0VPJyBBGvgEH7Q_)));
			T33_ = (*my).state->Sup.len++;
			(*my).state->data[T33_] = ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 3);
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 10);
		}
		break;
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 8):
		{
			NI T35_;
			NI T36_;
			unsureAsgnRef((void**) (&(*my).state), (tySequence_Ih0V9cYug0VPJyBBGvgEH7Q*) incrSeqV3((TGenericSeq*)((*my).state), (&NTI_Ih0V9cYug0VPJyBBGvgEH7Q_)));
			T35_ = (*my).state->Sup.len++;
			(*my).state->data[T35_] = ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 4);
			unsureAsgnRef((void**) (&(*my).state), (tySequence_Ih0V9cYug0VPJyBBGvgEH7Q*) incrSeqV3((TGenericSeq*)((*my).state), (&NTI_Ih0V9cYug0VPJyBBGvgEH7Q_)));
			T36_ = (*my).state->Sup.len++;
			(*my).state->data[T36_] = ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 2);
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 8);
		}
		break;
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 11):
		{
			tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ T38_;
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 11);
			T38_ = (tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ)0;
			T38_ = pop_wGIX8i2tVhp4gFSPlGuf2gsystem((&(*my).state));
			(void)(T38_);
		}
		break;
		default:
		{
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 0);
			(*my).err = ((tyEnum_JsonError_G9cw5MrJXJrcpID5JXaplew) 5);
		}
		break;
		}
	}
	break;
	case ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 4):
	{
		switch (tk) {
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 13):
		{
			tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ T42_;
			T42_ = (tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ)0;
			T42_ = pop_wGIX8i2tVhp4gFSPlGuf2gsystem((&(*my).state));
			(void)(T42_);
			next_FPdQ9beZqb3bJ7eVHJww6Qg(my);
		}
		break;
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 11):
		{
			tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ T44_;
			tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ T45_;
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 11);
			T44_ = (tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ)0;
			T44_ = pop_wGIX8i2tVhp4gFSPlGuf2gsystem((&(*my).state));
			(void)(T44_);
			T45_ = (tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ)0;
			T45_ = pop_wGIX8i2tVhp4gFSPlGuf2gsystem((&(*my).state));
			(void)(T45_);
		}
		break;
		default:
		{
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 0);
			(*my).err = ((tyEnum_JsonError_G9cw5MrJXJrcpID5JXaplew) 5);
		}
		break;
		}
	}
	break;
	case ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 5):
	{
		switch (tk) {
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 13):
		{
			tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ T49_;
			T49_ = (tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ)0;
			T49_ = pop_wGIX8i2tVhp4gFSPlGuf2gsystem((&(*my).state));
			(void)(T49_);
			next_FPdQ9beZqb3bJ7eVHJww6Qg(my);
		}
		break;
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 9):
		{
			tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ T51_;
			tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ T52_;
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 9);
			T51_ = (tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ)0;
			T51_ = pop_wGIX8i2tVhp4gFSPlGuf2gsystem((&(*my).state));
			(void)(T51_);
			T52_ = (tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ)0;
			T52_ = pop_wGIX8i2tVhp4gFSPlGuf2gsystem((&(*my).state));
			(void)(T52_);
		}
		break;
		default:
		{
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 0);
			(*my).err = ((tyEnum_JsonError_G9cw5MrJXJrcpID5JXaplew) 6);
		}
		break;
		}
	}
	break;
	case ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 6):
	{
		switch (tk) {
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 12):
		{
			if ((NU)(i) >= (NU)((*my).state ? (*my).state->Sup.len : 0)) raiseIndexError2(i,((*my).state ? (*my).state->Sup.len : 0)-1);
			(*my).state->data[i] = ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 7);
			next_FPdQ9beZqb3bJ7eVHJww6Qg(my);
		}
		break;
		default:
		{
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 0);
			(*my).err = ((tyEnum_JsonError_G9cw5MrJXJrcpID5JXaplew) 3);
		}
		break;
		}
	}
	break;
	case ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 7):
	{
		switch (tk) {
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 2):
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 3):
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 4):
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 5):
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 6):
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 7):
		{
			if ((NU)(i) >= (NU)((*my).state ? (*my).state->Sup.len : 0)) raiseIndexError2(i,((*my).state ? (*my).state->Sup.len : 0)-1);
			(*my).state->data[i] = ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 5);
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA)chckRange(tk, ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 0), ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 11)));
		}
		break;
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 10):
		{
			NI T60_;
			if ((NU)(i) >= (NU)((*my).state ? (*my).state->Sup.len : 0)) raiseIndexError2(i,((*my).state ? (*my).state->Sup.len : 0)-1);
			(*my).state->data[i] = ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 5);
			unsureAsgnRef((void**) (&(*my).state), (tySequence_Ih0V9cYug0VPJyBBGvgEH7Q*) incrSeqV3((TGenericSeq*)((*my).state), (&NTI_Ih0V9cYug0VPJyBBGvgEH7Q_)));
			T60_ = (*my).state->Sup.len++;
			(*my).state->data[T60_] = ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 3);
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 10);
		}
		break;
		case ((tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw) 8):
		{
			NI T62_;
			if ((NU)(i) >= (NU)((*my).state ? (*my).state->Sup.len : 0)) raiseIndexError2(i,((*my).state ? (*my).state->Sup.len : 0)-1);
			(*my).state->data[i] = ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 5);
			unsureAsgnRef((void**) (&(*my).state), (tySequence_Ih0V9cYug0VPJyBBGvgEH7Q*) incrSeqV3((TGenericSeq*)((*my).state), (&NTI_Ih0V9cYug0VPJyBBGvgEH7Q_)));
			T62_ = (*my).state->Sup.len++;
			(*my).state->data[T62_] = ((tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ) 2);
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 8);
		}
		break;
		default:
		{
			(*my).kind = ((tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA) 0);
			(*my).err = ((tyEnum_JsonError_G9cw5MrJXJrcpID5JXaplew) 10);
		}
		break;
		}
	}
	break;
	}
}
static N_NIMCALL(void, Marker_tyRef_PyuSdojUZWOAnzN7dInq1Q)(void* p, NI op) {
	tyObject_JsonParsingError_XTejXaID1NT7KS9byQm3Jxg* a;
	a = (tyObject_JsonParsingError_XTejXaID1NT7KS9byQm3Jxg*)p;
	nimGCvisit((void*)(*a).Sup.Sup.Sup.parent, op);
	nimGCvisit((void*)(*a).Sup.Sup.Sup.message, op);
	nimGCvisit((void*)(*a).Sup.Sup.Sup.trace, op);
	nimGCvisit((void*)(*a).Sup.Sup.Sup.up, op);
}

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(NI, getLine_cAlRX82MU9aihWfxn79b1A6wparsejson)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* my) {
	NI result;
	result = (NI)0;
	result = (*my).Sup.lineNumber;
	return result;
}

static N_INLINE(NI, getColumn_cAlRX82MU9aihWfxn79b1A6w_2parsejson)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* my) {
	NI result;
	result = (NI)0;
	result = getColNumber_KUMaHICF9bUPO7tt6hrBs3g((&(*my).Sup), (*my).Sup.bufpos);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, errorMsgExpected_wyJNOK33UcOVCdJ9aSuAbOw)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* my, NimStringDesc* e) {
	NimStringDesc* result;
	tyArray_sMpvt1sOxOJ3LFGulnbeMQ T1_;
	NI T2_;
	NI T3_;
	NimStringDesc* T4_;
	result = (NimStringDesc*)0;
	nimZeroMem((void*)T1_, sizeof(tyArray_sMpvt1sOxOJ3LFGulnbeMQ));
	T1_[0] = copyString((*my).filename);
	T2_ = (NI)0;
	T2_ = getLine_cAlRX82MU9aihWfxn79b1A6wparsejson(my);
	T1_[1] = nimIntToStr(T2_);
	T3_ = (NI)0;
	T3_ = getColumn_cAlRX82MU9aihWfxn79b1A6w_2parsejson(my);
	T1_[2] = nimIntToStr(T3_);
	T4_ = (NimStringDesc*)0;
	T4_ = rawNewString((e ? e->Sup.len : 0) + 9);
appendString(T4_, e);
appendString(T4_, ((NimStringDesc*) &TM_nIinruGrC8EPIfjL3PuTvA_80));
	T1_[3] = T4_;
	result = nsuFormatOpenArray(((NimStringDesc*) &TM_nIinruGrC8EPIfjL3PuTvA_79), T1_, 4);
	return result;
}

static N_INLINE(void, incRef_AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c) {
	(*c).refcount = (NI)((NU32)((*c).refcount) + (NU32)(((NI) 8)));
}

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, 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(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;
}

N_LIB_PRIVATE N_NOINLINE(void, raiseParseErr_VeBRAkMdST9cPQW1Rqk8vwA)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* p, NimStringDesc* msg) {
	tyObject_JsonParsingError_XTejXaID1NT7KS9byQm3Jxg* e;
	e = (tyObject_JsonParsingError_XTejXaID1NT7KS9byQm3Jxg*)0;
	e = (tyObject_JsonParsingError_XTejXaID1NT7KS9byQm3Jxg*) newObj((&NTI_PyuSdojUZWOAnzN7dInq1Q_), sizeof(tyObject_JsonParsingError_XTejXaID1NT7KS9byQm3Jxg));
	(*e).Sup.Sup.Sup.Sup.m_type = (&NTI_XTejXaID1NT7KS9byQm3Jxg_);
	(*e).Sup.Sup.Sup.name = "JsonParsingError";
	asgnRef((void**) (&(*e).Sup.Sup.Sup.message), errorMsgExpected_wyJNOK33UcOVCdJ9aSuAbOw(p, msg));
	asgnRef((void**) (&(*e).Sup.Sup.Sup.parent), NIM_NIL);
	raiseExceptionEx((Exception*)e, "JsonParsingError", "raiseParseErr", "/Users/travis/build/nim-lang/nightlies/nim/e7471cebae2a404f3e42"
"39f199f5a0c422484aac/lib/pure/parsejson.nim", 522);
}

N_LIB_PRIVATE N_NIMCALL(void, eat_mMX9c3cw7Tuh0xvz23drvSg)(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ* p, tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw tok) {
	{
		tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw T5_;
		if (!((*p).tok == tok)) goto LA3_;
		T5_ = (tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw)0;
		T5_ = getTok_9cGllg9a4hN9cmfjsUw6zu39bQ(p);
		(void)(T5_);
	}
	goto LA1_;
	LA3_: ;
	{
		raiseParseErr_VeBRAkMdST9cPQW1Rqk8vwA((&(*p)), tokToStr_JGKyaHusNBrTLCQ7XiBnyw[(tok)- 0]);
	}
	LA1_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, stdlib_parsejsonDatInit000)(void) {
static TNimNode* TM_nIinruGrC8EPIfjL3PuTvA_2_7[7];
static TNimNode* TM_nIinruGrC8EPIfjL3PuTvA_3_14[14];
NI TM_nIinruGrC8EPIfjL3PuTvA_5;
static char* NIM_CONST TM_nIinruGrC8EPIfjL3PuTvA_4[14] = {
"tkError", 
"tkEof", 
"tkString", 
"tkInt", 
"tkFloat", 
"tkTrue", 
"tkFalse", 
"tkNull", 
"tkCurlyLe", 
"tkCurlyRi", 
"tkBracketLe", 
"tkBracketRi", 
"tkColon", 
"tkComma"};
static TNimNode* TM_nIinruGrC8EPIfjL3PuTvA_6_12[12];
NI TM_nIinruGrC8EPIfjL3PuTvA_8;
static char* NIM_CONST TM_nIinruGrC8EPIfjL3PuTvA_7[12] = {
"jsonError", 
"jsonEof", 
"jsonString", 
"jsonInt", 
"jsonFloat", 
"jsonTrue", 
"jsonFalse", 
"jsonNull", 
"jsonObjectStart", 
"jsonObjectEnd", 
"jsonArrayStart", 
"jsonArrayEnd"};
static TNimNode* TM_nIinruGrC8EPIfjL3PuTvA_9_11[11];
NI TM_nIinruGrC8EPIfjL3PuTvA_11;
static char* NIM_CONST TM_nIinruGrC8EPIfjL3PuTvA_10[11] = {
"errNone", 
"errInvalidToken", 
"errStringExpected", 
"errColonExpected", 
"errCommaExpected", 
"errBracketRiExpected", 
"errCurlyRiExpected", 
"errQuoteExpected", 
"errEOC_Expected", 
"errEofExpected", 
"errExprExpected"};
static TNimNode* TM_nIinruGrC8EPIfjL3PuTvA_12_8[8];
NI TM_nIinruGrC8EPIfjL3PuTvA_14;
static char* NIM_CONST TM_nIinruGrC8EPIfjL3PuTvA_13[8] = {
"stateEof", 
"stateStart", 
"stateObject", 
"stateArray", 
"stateExpectArrayComma", 
"stateExpectObjectComma", 
"stateExpectColon", 
"stateExpectValue"};
static TNimNode TM_nIinruGrC8EPIfjL3PuTvA_0[58];
NTI_KWIQnzXEOUqdWsnCUL9atyQ_.size = sizeof(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ);
NTI_KWIQnzXEOUqdWsnCUL9atyQ_.kind = 17;
NTI_KWIQnzXEOUqdWsnCUL9atyQ_.base = (&NTI_MAw8rJZtJ279bVV3TWMtXSg_);
TM_nIinruGrC8EPIfjL3PuTvA_2_7[0] = &TM_nIinruGrC8EPIfjL3PuTvA_0[1];
TM_nIinruGrC8EPIfjL3PuTvA_0[1].kind = 1;
TM_nIinruGrC8EPIfjL3PuTvA_0[1].offset = offsetof(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ, a);
TM_nIinruGrC8EPIfjL3PuTvA_0[1].typ = (&NTI_77mFvmsOLKik79ci2hXkHEg_);
TM_nIinruGrC8EPIfjL3PuTvA_0[1].name = "a";
TM_nIinruGrC8EPIfjL3PuTvA_2_7[1] = &TM_nIinruGrC8EPIfjL3PuTvA_0[2];
NTI_Q9c4KaNqJU4PbXaGht0C7iw_.size = sizeof(tyEnum_TokKind_Q9c4KaNqJU4PbXaGht0C7iw);
NTI_Q9c4KaNqJU4PbXaGht0C7iw_.kind = 14;
NTI_Q9c4KaNqJU4PbXaGht0C7iw_.base = 0;
NTI_Q9c4KaNqJU4PbXaGht0C7iw_.flags = 3;
for (TM_nIinruGrC8EPIfjL3PuTvA_5 = 0; TM_nIinruGrC8EPIfjL3PuTvA_5 < 14; TM_nIinruGrC8EPIfjL3PuTvA_5++) {
TM_nIinruGrC8EPIfjL3PuTvA_0[TM_nIinruGrC8EPIfjL3PuTvA_5+3].kind = 1;
TM_nIinruGrC8EPIfjL3PuTvA_0[TM_nIinruGrC8EPIfjL3PuTvA_5+3].offset = TM_nIinruGrC8EPIfjL3PuTvA_5;
TM_nIinruGrC8EPIfjL3PuTvA_0[TM_nIinruGrC8EPIfjL3PuTvA_5+3].name = TM_nIinruGrC8EPIfjL3PuTvA_4[TM_nIinruGrC8EPIfjL3PuTvA_5];
TM_nIinruGrC8EPIfjL3PuTvA_3_14[TM_nIinruGrC8EPIfjL3PuTvA_5] = &TM_nIinruGrC8EPIfjL3PuTvA_0[TM_nIinruGrC8EPIfjL3PuTvA_5+3];
}
TM_nIinruGrC8EPIfjL3PuTvA_0[17].len = 14; TM_nIinruGrC8EPIfjL3PuTvA_0[17].kind = 2; TM_nIinruGrC8EPIfjL3PuTvA_0[17].sons = &TM_nIinruGrC8EPIfjL3PuTvA_3_14[0];
NTI_Q9c4KaNqJU4PbXaGht0C7iw_.node = &TM_nIinruGrC8EPIfjL3PuTvA_0[17];
TM_nIinruGrC8EPIfjL3PuTvA_0[2].kind = 1;
TM_nIinruGrC8EPIfjL3PuTvA_0[2].offset = offsetof(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ, tok);
TM_nIinruGrC8EPIfjL3PuTvA_0[2].typ = (&NTI_Q9c4KaNqJU4PbXaGht0C7iw_);
TM_nIinruGrC8EPIfjL3PuTvA_0[2].name = "tok";
TM_nIinruGrC8EPIfjL3PuTvA_2_7[2] = &TM_nIinruGrC8EPIfjL3PuTvA_0[18];
NTI_0zjE9c54eTrq224F5wMcaFA_.size = sizeof(tyEnum_JsonEventKind_0zjE9c54eTrq224F5wMcaFA);
NTI_0zjE9c54eTrq224F5wMcaFA_.kind = 14;
NTI_0zjE9c54eTrq224F5wMcaFA_.base = 0;
NTI_0zjE9c54eTrq224F5wMcaFA_.flags = 3;
for (TM_nIinruGrC8EPIfjL3PuTvA_8 = 0; TM_nIinruGrC8EPIfjL3PuTvA_8 < 12; TM_nIinruGrC8EPIfjL3PuTvA_8++) {
TM_nIinruGrC8EPIfjL3PuTvA_0[TM_nIinruGrC8EPIfjL3PuTvA_8+19].kind = 1;
TM_nIinruGrC8EPIfjL3PuTvA_0[TM_nIinruGrC8EPIfjL3PuTvA_8+19].offset = TM_nIinruGrC8EPIfjL3PuTvA_8;
TM_nIinruGrC8EPIfjL3PuTvA_0[TM_nIinruGrC8EPIfjL3PuTvA_8+19].name = TM_nIinruGrC8EPIfjL3PuTvA_7[TM_nIinruGrC8EPIfjL3PuTvA_8];
TM_nIinruGrC8EPIfjL3PuTvA_6_12[TM_nIinruGrC8EPIfjL3PuTvA_8] = &TM_nIinruGrC8EPIfjL3PuTvA_0[TM_nIinruGrC8EPIfjL3PuTvA_8+19];
}
TM_nIinruGrC8EPIfjL3PuTvA_0[31].len = 12; TM_nIinruGrC8EPIfjL3PuTvA_0[31].kind = 2; TM_nIinruGrC8EPIfjL3PuTvA_0[31].sons = &TM_nIinruGrC8EPIfjL3PuTvA_6_12[0];
NTI_0zjE9c54eTrq224F5wMcaFA_.node = &TM_nIinruGrC8EPIfjL3PuTvA_0[31];
TM_nIinruGrC8EPIfjL3PuTvA_0[18].kind = 1;
TM_nIinruGrC8EPIfjL3PuTvA_0[18].offset = offsetof(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ, kind);
TM_nIinruGrC8EPIfjL3PuTvA_0[18].typ = (&NTI_0zjE9c54eTrq224F5wMcaFA_);
TM_nIinruGrC8EPIfjL3PuTvA_0[18].name = "kind";
TM_nIinruGrC8EPIfjL3PuTvA_2_7[3] = &TM_nIinruGrC8EPIfjL3PuTvA_0[32];
NTI_G9cw5MrJXJrcpID5JXaplew_.size = sizeof(tyEnum_JsonError_G9cw5MrJXJrcpID5JXaplew);
NTI_G9cw5MrJXJrcpID5JXaplew_.kind = 14;
NTI_G9cw5MrJXJrcpID5JXaplew_.base = 0;
NTI_G9cw5MrJXJrcpID5JXaplew_.flags = 3;
for (TM_nIinruGrC8EPIfjL3PuTvA_11 = 0; TM_nIinruGrC8EPIfjL3PuTvA_11 < 11; TM_nIinruGrC8EPIfjL3PuTvA_11++) {
TM_nIinruGrC8EPIfjL3PuTvA_0[TM_nIinruGrC8EPIfjL3PuTvA_11+33].kind = 1;
TM_nIinruGrC8EPIfjL3PuTvA_0[TM_nIinruGrC8EPIfjL3PuTvA_11+33].offset = TM_nIinruGrC8EPIfjL3PuTvA_11;
TM_nIinruGrC8EPIfjL3PuTvA_0[TM_nIinruGrC8EPIfjL3PuTvA_11+33].name = TM_nIinruGrC8EPIfjL3PuTvA_10[TM_nIinruGrC8EPIfjL3PuTvA_11];
TM_nIinruGrC8EPIfjL3PuTvA_9_11[TM_nIinruGrC8EPIfjL3PuTvA_11] = &TM_nIinruGrC8EPIfjL3PuTvA_0[TM_nIinruGrC8EPIfjL3PuTvA_11+33];
}
TM_nIinruGrC8EPIfjL3PuTvA_0[44].len = 11; TM_nIinruGrC8EPIfjL3PuTvA_0[44].kind = 2; TM_nIinruGrC8EPIfjL3PuTvA_0[44].sons = &TM_nIinruGrC8EPIfjL3PuTvA_9_11[0];
NTI_G9cw5MrJXJrcpID5JXaplew_.node = &TM_nIinruGrC8EPIfjL3PuTvA_0[44];
TM_nIinruGrC8EPIfjL3PuTvA_0[32].kind = 1;
TM_nIinruGrC8EPIfjL3PuTvA_0[32].offset = offsetof(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ, err);
TM_nIinruGrC8EPIfjL3PuTvA_0[32].typ = (&NTI_G9cw5MrJXJrcpID5JXaplew_);
TM_nIinruGrC8EPIfjL3PuTvA_0[32].name = "err";
TM_nIinruGrC8EPIfjL3PuTvA_2_7[4] = &TM_nIinruGrC8EPIfjL3PuTvA_0[45];
NTI_Na0rM2Zdr3RpxeNeXbvLrQ_.size = sizeof(tyEnum_ParserState_Na0rM2Zdr3RpxeNeXbvLrQ);
NTI_Na0rM2Zdr3RpxeNeXbvLrQ_.kind = 14;
NTI_Na0rM2Zdr3RpxeNeXbvLrQ_.base = 0;
NTI_Na0rM2Zdr3RpxeNeXbvLrQ_.flags = 3;
for (TM_nIinruGrC8EPIfjL3PuTvA_14 = 0; TM_nIinruGrC8EPIfjL3PuTvA_14 < 8; TM_nIinruGrC8EPIfjL3PuTvA_14++) {
TM_nIinruGrC8EPIfjL3PuTvA_0[TM_nIinruGrC8EPIfjL3PuTvA_14+46].kind = 1;
TM_nIinruGrC8EPIfjL3PuTvA_0[TM_nIinruGrC8EPIfjL3PuTvA_14+46].offset = TM_nIinruGrC8EPIfjL3PuTvA_14;
TM_nIinruGrC8EPIfjL3PuTvA_0[TM_nIinruGrC8EPIfjL3PuTvA_14+46].name = TM_nIinruGrC8EPIfjL3PuTvA_13[TM_nIinruGrC8EPIfjL3PuTvA_14];
TM_nIinruGrC8EPIfjL3PuTvA_12_8[TM_nIinruGrC8EPIfjL3PuTvA_14] = &TM_nIinruGrC8EPIfjL3PuTvA_0[TM_nIinruGrC8EPIfjL3PuTvA_14+46];
}
TM_nIinruGrC8EPIfjL3PuTvA_0[54].len = 8; TM_nIinruGrC8EPIfjL3PuTvA_0[54].kind = 2; TM_nIinruGrC8EPIfjL3PuTvA_0[54].sons = &TM_nIinruGrC8EPIfjL3PuTvA_12_8[0];
NTI_Na0rM2Zdr3RpxeNeXbvLrQ_.node = &TM_nIinruGrC8EPIfjL3PuTvA_0[54];
NTI_Ih0V9cYug0VPJyBBGvgEH7Q_.size = sizeof(tySequence_Ih0V9cYug0VPJyBBGvgEH7Q*);
NTI_Ih0V9cYug0VPJyBBGvgEH7Q_.kind = 24;
NTI_Ih0V9cYug0VPJyBBGvgEH7Q_.base = (&NTI_Na0rM2Zdr3RpxeNeXbvLrQ_);
NTI_Ih0V9cYug0VPJyBBGvgEH7Q_.flags = 2;
NTI_Ih0V9cYug0VPJyBBGvgEH7Q_.marker = Marker_tySequence_Ih0V9cYug0VPJyBBGvgEH7Q;
TM_nIinruGrC8EPIfjL3PuTvA_0[45].kind = 1;
TM_nIinruGrC8EPIfjL3PuTvA_0[45].offset = offsetof(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ, state);
TM_nIinruGrC8EPIfjL3PuTvA_0[45].typ = (&NTI_Ih0V9cYug0VPJyBBGvgEH7Q_);
TM_nIinruGrC8EPIfjL3PuTvA_0[45].name = "state";
TM_nIinruGrC8EPIfjL3PuTvA_2_7[5] = &TM_nIinruGrC8EPIfjL3PuTvA_0[55];
TM_nIinruGrC8EPIfjL3PuTvA_0[55].kind = 1;
TM_nIinruGrC8EPIfjL3PuTvA_0[55].offset = offsetof(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ, filename);
TM_nIinruGrC8EPIfjL3PuTvA_0[55].typ = (&NTI_77mFvmsOLKik79ci2hXkHEg_);
TM_nIinruGrC8EPIfjL3PuTvA_0[55].name = "filename";
TM_nIinruGrC8EPIfjL3PuTvA_2_7[6] = &TM_nIinruGrC8EPIfjL3PuTvA_0[56];
TM_nIinruGrC8EPIfjL3PuTvA_0[56].kind = 1;
TM_nIinruGrC8EPIfjL3PuTvA_0[56].offset = offsetof(tyObject_JsonParser_KWIQnzXEOUqdWsnCUL9atyQ, rawStringLiterals);
TM_nIinruGrC8EPIfjL3PuTvA_0[56].typ = (&NTI_VaVACK0bpYmqIQ0mKcHfQQ_);
TM_nIinruGrC8EPIfjL3PuTvA_0[56].name = "rawStringLiterals";
TM_nIinruGrC8EPIfjL3PuTvA_0[0].len = 7; TM_nIinruGrC8EPIfjL3PuTvA_0[0].kind = 2; TM_nIinruGrC8EPIfjL3PuTvA_0[0].sons = &TM_nIinruGrC8EPIfjL3PuTvA_2_7[0];
NTI_KWIQnzXEOUqdWsnCUL9atyQ_.node = &TM_nIinruGrC8EPIfjL3PuTvA_0[0];
NTI_XTejXaID1NT7KS9byQm3Jxg_.size = sizeof(tyObject_JsonParsingError_XTejXaID1NT7KS9byQm3Jxg);
NTI_XTejXaID1NT7KS9byQm3Jxg_.kind = 17;
NTI_XTejXaID1NT7KS9byQm3Jxg_.base = (&NTI_yoNlBGx0D2tRizIdhQuENw_);
TM_nIinruGrC8EPIfjL3PuTvA_0[57].len = 0; TM_nIinruGrC8EPIfjL3PuTvA_0[57].kind = 2;
NTI_XTejXaID1NT7KS9byQm3Jxg_.node = &TM_nIinruGrC8EPIfjL3PuTvA_0[57];
NTI_PyuSdojUZWOAnzN7dInq1Q_.size = sizeof(tyObject_JsonParsingError_XTejXaID1NT7KS9byQm3Jxg*);
NTI_PyuSdojUZWOAnzN7dInq1Q_.kind = 22;
NTI_PyuSdojUZWOAnzN7dInq1Q_.base = (&NTI_XTejXaID1NT7KS9byQm3Jxg_);
NTI_PyuSdojUZWOAnzN7dInq1Q_.marker = Marker_tyRef_PyuSdojUZWOAnzN7dInq1Q;
}

