/* Generated by Nim Compiler v2.2.10 */
/* Compiled for: MacOSX, arm64, clang */
/* Command for C compiler:
   clang -c  -w -ferror-limit=3 -fno-strict-aliasing -pthread -isysroot /Applications/Xcode_16.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -target arm64-apple-darwin24.2.0 -O3   -I/Users/runner/work/nightlies/nightlies/nim-2.2.10/lib -I/Users/runner/work/nightlies/nightlies/nim-2.2.10/dist/atlas/src -o /Users/runner/work/nightlies/nightlies/nim-2.2.10/dist/atlas/.nimcache/@psystem@sdollars.nim.c.o /Users/runner/work/nightlies/nightlies/nim-2.2.10/dist/atlas/.nimcache/@psystem@sdollars.nim.c */
#define NIM_INTBITS 64
#define NIM_EmulateOverflowChecks

#include "nimbase.h"
#include <string.h>
#undef LANGUAGE_C
#undef MIPSEB
#undef MIPSEL
#undef PPC
#undef R3000
#undef R4000
#undef i386
#undef linux
#undef mips
#undef near
#undef far
#undef powerpc
#undef unix
typedef struct NimStrPayload NimStrPayload;
typedef struct NimStringV2 NimStringV2;
typedef struct tyTuple__s3Jxn6lQB1q2m4at9asd45w tyTuple__s3Jxn6lQB1q2m4at9asd45w;
typedef struct tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA;
typedef struct tyTuple__f9bWfuutJFGmvzpplsPZ62w tyTuple__f9bWfuutJFGmvzpplsPZ62w;
typedef struct tyObject_HSlice__atPNPXY5GObvliR9b4ZIorQ tyObject_HSlice__atPNPXY5GObvliR9b4ZIorQ;
typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content;
typedef struct tyTuple__UV3llMMYFckfui8YMBuUZA tyTuple__UV3llMMYFckfui8YMBuUZA;
typedef struct tySequence__ROG4zVH2lrODohp66awvUw tySequence__ROG4zVH2lrODohp66awvUw;
typedef struct tySequence__ROG4zVH2lrODohp66awvUw_Content tySequence__ROG4zVH2lrODohp66awvUw_Content;
typedef struct tyObject_VersionTag__io9bcihbopiwucKorobyKdg tyObject_VersionTag__io9bcihbopiwucKorobyKdg;
typedef struct tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA;
typedef struct tySequence__vOapjTAdumLxjw75U33DNg tySequence__vOapjTAdumLxjw75U33DNg;
typedef struct tySequence__vOapjTAdumLxjw75U33DNg_Content tySequence__vOapjTAdumLxjw75U33DNg_Content;
typedef struct tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg;
typedef struct tySequence__Cv9czsNzurrmCo02svI9bGaw tySequence__Cv9czsNzurrmCo02svI9bGaw;
typedef struct tySequence__Cv9czsNzurrmCo02svI9bGaw_Content tySequence__Cv9czsNzurrmCo02svI9bGaw_Content;
typedef struct tyTuple__XXBtNszxg1rbD9cnycyLK7A tyTuple__XXBtNszxg1rbD9cnycyLK7A;
typedef struct tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw;
typedef struct tyTuple__7q7q3E6Oj24ZNVJb9aonhAg tyTuple__7q7q3E6Oj24ZNVJb9aonhAg;
typedef struct tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA;
typedef struct tyObject_VersionInterval__Fo18dECYIXwkOygWPnb8YA tyObject_VersionInterval__Fo18dECYIXwkOygWPnb8YA;
typedef struct tyObject_VersionReq__eFOT6plIfXH54d8sBkqpng tyObject_VersionReq__eFOT6plIfXH54d8sBkqpng;
typedef struct tyTuple__K9bnJYb9aLeQF1tCAa7bW9cWA tyTuple__K9bnJYb9aLeQF1tCAa7bW9cWA;
struct NimStrPayload {
	NI cap;
	NIM_CHAR data[SEQ_DECL_SIZE];
};
struct NimStringV2 {
	NI len;
	NimStrPayload* p;
};
struct tyTuple__s3Jxn6lQB1q2m4at9asd45w {
	NimStringV2 Field0;
	tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* Field1;
};
typedef NU8 tySet_tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA;
typedef NU8 tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA;
struct tyObject_HSlice__atPNPXY5GObvliR9b4ZIorQ {
	NI a;
	NI b;
};
struct tyTuple__f9bWfuutJFGmvzpplsPZ62w {
	tyObject_HSlice__atPNPXY5GObvliR9b4ZIorQ Field0;
	NI Field1;
};
struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ {
  NI len; tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content* p;
};
struct tyTuple__UV3llMMYFckfui8YMBuUZA {
	NimStringV2 Field0;
	NimStringV2 Field1;
};
struct tySequence__ROG4zVH2lrODohp66awvUw {
  NI len; tySequence__ROG4zVH2lrODohp66awvUw_Content* p;
};
typedef NU8 tyEnum_CommitOrigin__tDM8mWEQT3dZtKoOj7Mgww;
struct tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA {
	NimStringV2 h;
	tyEnum_CommitOrigin__tDM8mWEQT3dZtKoOj7Mgww orig;
};
struct tyObject_VersionTag__io9bcihbopiwucKorobyKdg {
	tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA c;
	NimStringV2 v;
	NIM_BOOL isTip;
};
struct tySequence__vOapjTAdumLxjw75U33DNg {
  NI len; tySequence__vOapjTAdumLxjw75U33DNg_Content* p;
};
struct tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg {
	tyObject_VersionTag__io9bcihbopiwucKorobyKdg vtag;
	NI32 vid;
};
struct tySequence__Cv9czsNzurrmCo02svI9bGaw {
  NI len; tySequence__Cv9czsNzurrmCo02svI9bGaw_Content* p;
};
struct tyTuple__7q7q3E6Oj24ZNVJb9aonhAg {
	NimStringV2 Field0;
	NimStringV2 Field1;
	NimStringV2 Field2;
};
struct tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA {
	NimStringV2 scheme;
	NimStringV2 username;
	NimStringV2 password;
	NimStringV2 hostname;
	NimStringV2 port;
	NimStringV2 path;
	NimStringV2 query;
	NimStringV2 anchor;
	NIM_BOOL opaque;
	NIM_BOOL isIpv6;
};
struct tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw {
	tyTuple__7q7q3E6Oj24ZNVJb9aonhAg qualifiedName;
	NIM_BOOL hasShortName;
	tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA u;
};
typedef NU8 tyEnum_VersionRelation__4XquEtylWSi3MRH9c7xlRFw;
struct tyObject_VersionReq__eFOT6plIfXH54d8sBkqpng {
	tyEnum_VersionRelation__4XquEtylWSi3MRH9c7xlRFw r;
	NimStringV2 v;
};
struct tyObject_VersionInterval__Fo18dECYIXwkOygWPnb8YA {
	tyObject_VersionReq__eFOT6plIfXH54d8sBkqpng a;
	tyObject_VersionReq__eFOT6plIfXH54d8sBkqpng b;
	NIM_BOOL isInterval;
};
struct tyTuple__XXBtNszxg1rbD9cnycyLK7A {
	tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw Field0;
	tyObject_VersionInterval__Fo18dECYIXwkOygWPnb8YA Field1;
};
typedef NU16 tySet_tyEnum_FilePermission__bk3PQ1mxFRJKj2pEuekkJw;
struct tyTuple__K9bnJYb9aLeQF1tCAa7bW9cWA {
	NimStringV2 Field0;
	tySet_tyEnum_FilePermission__bk3PQ1mxFRJKj2pEuekkJw Field1;
};
typedef NU8 tyEnum_FilePermission__bk3PQ1mxFRJKj2pEuekkJw;
struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content { NI cap; NimStringV2 data[SEQ_DECL_SIZE]; };
struct tySequence__ROG4zVH2lrODohp66awvUw_Content { NI cap; tyObject_VersionTag__io9bcihbopiwucKorobyKdg data[SEQ_DECL_SIZE]; };
struct tySequence__vOapjTAdumLxjw75U33DNg_Content { NI cap; tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* data[SEQ_DECL_SIZE]; };
struct tySequence__Cv9czsNzurrmCo02svI9bGaw_Content { NI cap; tyTuple__XXBtNszxg1rbD9cnycyLK7A data[SEQ_DECL_SIZE]; };
N_LIB_PRIVATE N_NIMCALL(void, addInt__stdZprivateZdigitsutils_u187)(NimStringV2* result_p0, NI64 x_p1);
static N_INLINE(void, addInt__stdZprivateZdigitsutils_u204)(NimStringV2* result_p0, NI x_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, collectionToString__basicZreporters_u179)(NimStringV2* x_p0, NI x_p0Len_0, NimStringV2 prefix_p1, NimStringV2 separator_p2, NimStringV2 suffix_p3);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___system_u2754)(NimStringV2* dest_p0, NimStringV2 src_p1);
static N_INLINE(void, appendString)(NimStringV2* dest_p0, NimStringV2 src_p1);
static N_INLINE(void, copyMem__system_u1755)(void* dest_p0, void* source_p1, NI size_p2);
static N_INLINE(void, nimCopyMem)(void* dest_p0, void* source_p1, NI size_p2);
N_LIB_PRIVATE N_NIMCALL(void, prepareAdd)(NimStringV2* s_p0, NI addLen_p1);
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__stdZprivateZoscommon_u119)(NimStringV2* s_p0, NimStringV2 x_p1);
static N_INLINE(NIM_BOOL*, nimErrorFlag)(void);
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__stdZjsonutils_u490)(NimStringV2* s_p0, tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* x_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, collectionToString__pureZjson_u5752)(tySet_tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA x_p0, NimStringV2 prefix_p1, NimStringV2 separator_p2, NimStringV2 suffix_p3);
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__pureZjson_u5786)(NimStringV2* s_p0, tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA x_p1);
static N_INLINE(void, addFloat__system_u4784)(NimStringV2* result_p0, NF x_p1);
N_LIB_PRIVATE N_NIMCALL(void, addFloatRoundtrip__system_u4789)(NimStringV2* result_p0, NF x_p1);
N_LIB_PRIVATE N_NIMCALL(void, addInt__stdZprivateZdigitsutils_u184)(NimStringV2* result_p0, NU64 x_p1);
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__pureZstrutils_u1404)(NimStringV2* s_p0, tyObject_HSlice__atPNPXY5GObvliR9b4ZIorQ x_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___systemZdollars_u14)(NI xX60gensym0__p0);
N_LIB_PRIVATE N_NOCONV(void, deallocShared)(void* p_p0);
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__pureZstrutils_u1425)(NimStringV2* s_p0, NI x_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, collectionToString__atlas_u159)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ x_p0, NimStringV2 prefix_p1, NimStringV2 separator_p2, NimStringV2 suffix_p3);
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__atlas_u174)(NimStringV2* s_p0, NimStringV2 x_p1);
N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__stdZassertions_u95)(NimStringV2 msg_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, collectionToString__dependencies_u5228)(tySequence__ROG4zVH2lrODohp66awvUw x_p0, NimStringV2 prefix_p1, NimStringV2 separator_p2, NimStringV2 suffix_p3);
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__basicZgitops_u3543)(NimStringV2* s_p0, tyObject_VersionTag__io9bcihbopiwucKorobyKdg* x_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, collectionToString__dependencies_u11784)(tySequence__vOapjTAdumLxjw75U33DNg x_p0, NimStringV2 prefix_p1, NimStringV2 separator_p2, NimStringV2 suffix_p3);
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__dependencies_u11805)(NimStringV2* s_p0, tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* x_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, collectionToString__depgraphs_u5501)(tySequence__Cv9czsNzurrmCo02svI9bGaw x_p0, NimStringV2 prefix_p1, NimStringV2 separator_p2, NimStringV2 suffix_p3);
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__depgraphs_u5516)(NimStringV2* s_p0, tyTuple__XXBtNszxg1rbD9cnycyLK7A* x_p1);
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__depgraphs_u5548)(NimStringV2* s_p0, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* x_p1);
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__depgraphs_u5562)(NimStringV2* s_p0, tyObject_VersionInterval__Fo18dECYIXwkOygWPnb8YA* x_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, collectionToString__pureZhttpcore_u1197)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ x_p0, NimStringV2 prefix_p1, NimStringV2 separator_p2, NimStringV2 suffix_p3);
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__stdZprivateZosfiles_u235)(NimStringV2* s_p0, tySet_tyEnum_FilePermission__bk3PQ1mxFRJKj2pEuekkJw x_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, collectionToString__stdZprivateZosfiles_u245)(tySet_tyEnum_FilePermission__bk3PQ1mxFRJKj2pEuekkJw x_p0, NimStringV2 prefix_p1, NimStringV2 separator_p2, NimStringV2 suffix_p3);
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__stdZprivateZosfiles_u279)(NimStringV2* s_p0, tyEnum_FilePermission__bk3PQ1mxFRJKj2pEuekkJw x_p1);
static const struct {
  NI cap; NIM_CHAR data[0+1];
} TM__n49a9aYp5BrbXv9a6OCpJYm0g_2 = { 0 | NIM_STRLIT_FLAG, "" };
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_3 = {0, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_2};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_4 = {0, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_2};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_5 = {0, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_2};
static const struct {
  NI cap; NIM_CHAR data[1+1];
} TM__n49a9aYp5BrbXv9a6OCpJYm0g_6 = { 1 | NIM_STRLIT_FLAG, "[" };
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_7 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_6};
static const struct {
  NI cap; NIM_CHAR data[2+1];
} TM__n49a9aYp5BrbXv9a6OCpJYm0g_8 = { 2 | NIM_STRLIT_FLAG, ", " };
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_9 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_8};
static const struct {
  NI cap; NIM_CHAR data[1+1];
} TM__n49a9aYp5BrbXv9a6OCpJYm0g_10 = { 1 | NIM_STRLIT_FLAG, "]" };
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_11 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_10};
static const struct {
  NI cap; NIM_CHAR data[1+1];
} TM__n49a9aYp5BrbXv9a6OCpJYm0g_12 = { 1 | NIM_STRLIT_FLAG, "(" };
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_13 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_12};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_14 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_8};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_15 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_8};
static const struct {
  NI cap; NIM_CHAR data[3+1];
} TM__n49a9aYp5BrbXv9a6OCpJYm0g_16 = { 3 | NIM_STRLIT_FLAG, "nil" };
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_17 = {3, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_16};
static const struct {
  NI cap; NIM_CHAR data[1+1];
} TM__n49a9aYp5BrbXv9a6OCpJYm0g_18 = { 1 | NIM_STRLIT_FLAG, "," };
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_19 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_18};
static const struct {
  NI cap; NIM_CHAR data[1+1];
} TM__n49a9aYp5BrbXv9a6OCpJYm0g_20 = { 1 | NIM_STRLIT_FLAG, ")" };
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_21 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_20};
static const struct {
  NI cap; NIM_CHAR data[1+1];
} TM__n49a9aYp5BrbXv9a6OCpJYm0g_22 = { 1 | NIM_STRLIT_FLAG, "{" };
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_23 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_22};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_24 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_8};
static const struct {
  NI cap; NIM_CHAR data[1+1];
} TM__n49a9aYp5BrbXv9a6OCpJYm0g_25 = { 1 | NIM_STRLIT_FLAG, "}" };
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_26 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_25};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_27 = {0, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_2};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_28 = {0, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_2};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_29 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_12};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_30 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_8};
static const struct {
  NI cap; NIM_CHAR data[5+1];
} TM__n49a9aYp5BrbXv9a6OCpJYm0g_31 = { 5 | NIM_STRLIT_FLAG, "slice" };
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_32 = {5, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_31};
static const struct {
  NI cap; NIM_CHAR data[2+1];
} TM__n49a9aYp5BrbXv9a6OCpJYm0g_33 = { 2 | NIM_STRLIT_FLAG, ": " };
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_34 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_33};
static const struct {
  NI cap; NIM_CHAR data[4+1];
} TM__n49a9aYp5BrbXv9a6OCpJYm0g_35 = { 4 | NIM_STRLIT_FLAG, " .. " };
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_36 = {4, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_35};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_37 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_8};
static const struct {
  NI cap; NIM_CHAR data[3+1];
} TM__n49a9aYp5BrbXv9a6OCpJYm0g_38 = { 3 | NIM_STRLIT_FLAG, "len" };
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_39 = {3, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_38};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_40 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_33};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_41 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_20};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_42 = {0, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_2};
static const struct {
  NI cap; NIM_CHAR data[90+1];
} TM__n49a9aYp5BrbXv9a6OCpJYm0g_43 = { 90 | NIM_STRLIT_FLAG, "iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it" };
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_44 = {90, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_43};
static const struct {
  NI cap; NIM_CHAR data[2+1];
} TM__n49a9aYp5BrbXv9a6OCpJYm0g_45 = { 2 | NIM_STRLIT_FLAG, "@[" };
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_46 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_45};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_47 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_8};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_48 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_10};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_49 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_12};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_50 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_8};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_51 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_8};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_52 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_18};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_53 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_20};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_54 = {0, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_2};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_55 = {90, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_43};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_56 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_45};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_57 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_8};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_58 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_10};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_59 = {3, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_16};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_60 = {90, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_43};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_61 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_45};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_62 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_8};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_63 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_10};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_64 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_12};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_65 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_8};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_66 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_8};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_67 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_18};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_68 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_20};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_69 = {90, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_43};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_70 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_45};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_71 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_8};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_72 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_10};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_73 = {90, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_43};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_74 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_45};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_75 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_8};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_76 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_10};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_77 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_12};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_78 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_8};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_79 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_8};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_80 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_22};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_81 = {2, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_8};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_82 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_25};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_83 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_18};
static const NimStringV2 TM__n49a9aYp5BrbXv9a6OCpJYm0g_84 = {1, (NimStrPayload*)&TM__n49a9aYp5BrbXv9a6OCpJYm0g_20};
extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4198;
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___systemZdollars_u34)(NI64 xX60gensym4__p0) {
	NimStringV2 result;
	result = TM__n49a9aYp5BrbXv9a6OCpJYm0g_3;
	addInt__stdZprivateZdigitsutils_u187((&result), xX60gensym4__p0);
	return result;
}
static N_INLINE(void, addInt__stdZprivateZdigitsutils_u204)(NimStringV2* result_p0, NI x_p1) {
	addInt__stdZprivateZdigitsutils_u187(result_p0, ((NI64) (x_p1)));
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___systemZdollars_u14)(NI xX60gensym0__p0) {
	NimStringV2 result;
	result = TM__n49a9aYp5BrbXv9a6OCpJYm0g_4;
	addInt__stdZprivateZdigitsutils_u204((&result), xX60gensym0__p0);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___systemZdollars_u29)(NI32 xX60gensym3__p0) {
	NimStringV2 result;
	result = TM__n49a9aYp5BrbXv9a6OCpJYm0g_5;
	addInt__stdZprivateZdigitsutils_u204((&result), ((NI) (xX60gensym3__p0)));
	return result;
}
static N_INLINE(void, nimCopyMem)(void* dest_p0, void* source_p1, NI size_p2) {
	void* T1_;
	T1_ = (void*)0;
	T1_ = memcpy(dest_p0, source_p1, ((size_t) (size_p2)));
}
static N_INLINE(void, copyMem__system_u1755)(void* dest_p0, void* source_p1, NI size_p2) {
	nimCopyMem(dest_p0, source_p1, size_p2);
}
static N_INLINE(void, appendString)(NimStringV2* dest_p0, NimStringV2 src_p1) {
	{
		if (!(((NI)0) < src_p1.len)) goto LA3_;
		copyMem__system_u1755(((void*) ((&(*(*dest_p0).p).data[(*dest_p0).len]))), ((void*) ((&(*src_p1.p).data[((NI)0)]))), (src_p1.len));
		(*dest_p0).len += src_p1.len;
		(*(*dest_p0).p).data[(*dest_p0).len] = 0;
	}
LA3_: ;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, collectionToString__basicZreporters_u179)(NimStringV2* x_p0, NI x_p0Len_0, NimStringV2 prefix_p1, NimStringV2 separator_p2, NimStringV2 suffix_p3) {
	NimStringV2 result;
	NIM_BOOL firstElement_1;
	result.len = 0; result.p = NIM_NIL;
	eqcopy___system_u2754((&result), prefix_p1);
	firstElement_1 = NIM_TRUE;
	{
		NimStringV2* value_1;
		NI i_1;
		value_1 = (NimStringV2*)0;
		i_1 = ((NI)0);
		{
			while (1) {
				if (!(i_1 < x_p0Len_0)) goto LA3;
				value_1 = (&x_p0[i_1]);
				{
					if (!firstElement_1) goto LA6_;
					firstElement_1 = NIM_FALSE;
				}
				goto LA4_;
LA6_: ;
				{
					prepareAdd((&result), separator_p2.len + 0);
appendString((&result), separator_p2);
				}
LA4_: ;
				addQuoted__stdZprivateZoscommon_u119((&result), (*value_1));
				i_1 += ((NI)1);
			} LA3: ;
		}
	}
	prepareAdd((&result), suffix_p3.len + 0);
appendString((&result), suffix_p3);
	return result;
}
static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) {
	NIM_BOOL* result;
	result = (&nimInErrorMode__system_u4198);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___basicZreporters_u175)(NimStringV2* x_p0, NI x_p0Len_0) {
	NimStringV2 result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	result = collectionToString__basicZreporters_u179(x_p0, x_p0Len_0, TM__n49a9aYp5BrbXv9a6OCpJYm0g_7, TM__n49a9aYp5BrbXv9a6OCpJYm0g_9, TM__n49a9aYp5BrbXv9a6OCpJYm0g_11);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___stdZjsonutils_u446)(tyTuple__s3Jxn6lQB1q2m4at9asd45w x_p0) {
	NimStringV2 result;
	NI countX60gensym23__1;
	result = TM__n49a9aYp5BrbXv9a6OCpJYm0g_13;
	countX60gensym23__1 = ((NI)0);
	{
		if (!NIM_TRUE) goto LA3_;
		{
			if (!(((NI)0) < countX60gensym23__1)) goto LA7_;
			prepareAdd((&result), 2);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_14);
		}
LA7_: ;
		countX60gensym23__1 += ((NI)1);
		addQuoted__stdZprivateZoscommon_u119((&result), x_p0.Field0);
	}
LA3_: ;
	{
		if (!NIM_TRUE) goto LA11_;
		{
			if (!(((NI)0) < countX60gensym23__1)) goto LA15_;
			prepareAdd((&result), 2);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_15);
		}
LA15_: ;
		countX60gensym23__1 += ((NI)1);
		{
			if (!(x_p0.Field1 == 0)) goto LA19_;
			prepareAdd((&result), 3);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_17);
		}
		goto LA17_;
LA19_: ;
		{
			addQuoted__stdZjsonutils_u490((&result), x_p0.Field1);
		}
LA17_: ;
	}
LA11_: ;
	{
		if (!(countX60gensym23__1 == ((NI)1))) goto LA24_;
		prepareAdd((&result), 1);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_19);
	}
LA24_: ;
	prepareAdd((&result), 1);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_21);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, collectionToString__pureZjson_u5752)(tySet_tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA x_p0, NimStringV2 prefix_p1, NimStringV2 separator_p2, NimStringV2 suffix_p3) {
	NimStringV2 result;
	NIM_BOOL firstElement_1;
	result.len = 0; result.p = NIM_NIL;
	eqcopy___system_u2754((&result), prefix_p1);
	firstElement_1 = NIM_TRUE;
	{
		tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA value_1;
		NI i_1;
		value_1 = (tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA)0;
		i_1 = ((NI)0);
		{
			while (1) {
				if (!(i_1 <= ((NI)6))) goto LA3;
				{
					if (!((x_p0 &((NU8)1<<((NU)((((tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA) (i_1))))&7U)))!=0)) goto LA6_;
					value_1 = ((tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA) (i_1));
					{
						if (!firstElement_1) goto LA10_;
						firstElement_1 = NIM_FALSE;
					}
					goto LA8_;
LA10_: ;
					{
						prepareAdd((&result), separator_p2.len + 0);
appendString((&result), separator_p2);
					}
LA8_: ;
					addQuoted__pureZjson_u5786((&result), value_1);
				}
LA6_: ;
				i_1 += ((NI)1);
			} LA3: ;
		}
	}
	prepareAdd((&result), suffix_p3.len + 0);
appendString((&result), suffix_p3);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___pureZjson_u5748)(tySet_tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA x_p0) {
	NimStringV2 result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	result = collectionToString__pureZjson_u5752(x_p0, TM__n49a9aYp5BrbXv9a6OCpJYm0g_23, TM__n49a9aYp5BrbXv9a6OCpJYm0g_24, TM__n49a9aYp5BrbXv9a6OCpJYm0g_26);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(void, addFloat__system_u4784)(NimStringV2* result_p0, NF x_p1) {
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	addFloatRoundtrip__system_u4789(result_p0, x_p1);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___system_u4780)(NF x_p0) {
	NimStringV2 result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = TM__n49a9aYp5BrbXv9a6OCpJYm0g_27;
	addFloat__system_u4784((&result), x_p0);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___systemZdollars_u59)(NU64 xX60gensym9__p0) {
	NimStringV2 result;
	result = TM__n49a9aYp5BrbXv9a6OCpJYm0g_28;
	addInt__stdZprivateZdigitsutils_u184((&result), xX60gensym9__p0);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___pureZstrutils_u1412)(tyObject_HSlice__atPNPXY5GObvliR9b4ZIorQ x_p0) {
	NimStringV2 result;
	NimStringV2 colontmpD_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
	result = dollar___systemZdollars_u14(x_p0.a);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	prepareAdd((&result), 4);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_36);
	colontmpD_ = dollar___systemZdollars_u14(x_p0.b);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	prepareAdd((&result), colontmpD_.len + 0);
appendString((&result), colontmpD_);
	if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___pureZstrutils_u1371)(tyTuple__f9bWfuutJFGmvzpplsPZ62w x_p0) {
	NimStringV2 result;
	NI countX60gensym134__1;
	result = TM__n49a9aYp5BrbXv9a6OCpJYm0g_29;
	countX60gensym134__1 = ((NI)0);
	{
		if (!NIM_TRUE) goto LA3_;
		{
			if (!(((NI)0) < countX60gensym134__1)) goto LA7_;
			prepareAdd((&result), 2);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_30);
		}
LA7_: ;
		prepareAdd((&result), 5);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_32);
		prepareAdd((&result), 2);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_34);
		countX60gensym134__1 += ((NI)1);
		addQuoted__pureZstrutils_u1404((&result), x_p0.Field0);
	}
LA3_: ;
	{
		if (!NIM_TRUE) goto LA11_;
		{
			if (!(((NI)0) < countX60gensym134__1)) goto LA15_;
			prepareAdd((&result), 2);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_37);
		}
LA15_: ;
		prepareAdd((&result), 3);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_39);
		prepareAdd((&result), 2);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_40);
		countX60gensym134__1 += ((NI)1);
		addQuoted__pureZstrutils_u1425((&result), x_p0.Field1);
	}
LA11_: ;
	prepareAdd((&result), 1);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_41);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___systemZdollars_u49)(NU16 xX60gensym7__p0) {
	NimStringV2 result;
	result = TM__n49a9aYp5BrbXv9a6OCpJYm0g_42;
	addInt__stdZprivateZdigitsutils_u184((&result), ((NU64) (xX60gensym7__p0)));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, collectionToString__atlas_u159)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ x_p0, NimStringV2 prefix_p1, NimStringV2 separator_p2, NimStringV2 suffix_p3) {
	NimStringV2 result;
	NIM_BOOL firstElement_1;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	eqcopy___system_u2754((&result), prefix_p1);
	firstElement_1 = NIM_TRUE;
	{
		NimStringV2* value_1;
		NI i_1;
		NI L_1;
		NI T2_;
		value_1 = (NimStringV2*)0;
		i_1 = ((NI)0);
		T2_ = x_p0.len;
		L_1 = T2_;
		{
			while (1) {
				if (!(i_1 < L_1)) goto LA4;
				value_1 = (&x_p0.p->data[i_1]);
				{
					if (!firstElement_1) goto LA7_;
					firstElement_1 = NIM_FALSE;
				}
				goto LA5_;
LA7_: ;
				{
					prepareAdd((&result), separator_p2.len + 0);
appendString((&result), separator_p2);
				}
LA5_: ;
				addQuoted__atlas_u174((&result), (*value_1));
				i_1 += ((NI)1);
				{
					NI T12_;
					T12_ = x_p0.len;
					if (!!((T12_ == L_1))) goto LA13_;
					failedAssertImpl__stdZassertions_u95(TM__n49a9aYp5BrbXv9a6OCpJYm0g_44);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				}
LA13_: ;
			} LA4: ;
		}
	}
	prepareAdd((&result), suffix_p3.len + 0);
appendString((&result), suffix_p3);
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___atlas_u155)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ x_p0) {
	NimStringV2 result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	result = collectionToString__atlas_u159(x_p0, TM__n49a9aYp5BrbXv9a6OCpJYm0g_46, TM__n49a9aYp5BrbXv9a6OCpJYm0g_47, TM__n49a9aYp5BrbXv9a6OCpJYm0g_48);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___stdZprivateZoscommon_u93)(tyTuple__UV3llMMYFckfui8YMBuUZA* x_p0) {
	NimStringV2 result;
	NI countX60gensym3__1;
	result = TM__n49a9aYp5BrbXv9a6OCpJYm0g_49;
	countX60gensym3__1 = ((NI)0);
	{
		if (!NIM_TRUE) goto LA3_;
		{
			if (!(((NI)0) < countX60gensym3__1)) goto LA7_;
			prepareAdd((&result), 2);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_50);
		}
LA7_: ;
		countX60gensym3__1 += ((NI)1);
		addQuoted__stdZprivateZoscommon_u119((&result), (*x_p0).Field0);
	}
LA3_: ;
	{
		if (!NIM_TRUE) goto LA11_;
		{
			if (!(((NI)0) < countX60gensym3__1)) goto LA15_;
			prepareAdd((&result), 2);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_51);
		}
LA15_: ;
		countX60gensym3__1 += ((NI)1);
		addQuoted__stdZprivateZoscommon_u119((&result), (*x_p0).Field1);
	}
LA11_: ;
	{
		if (!(countX60gensym3__1 == ((NI)1))) goto LA19_;
		prepareAdd((&result), 1);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_52);
	}
LA19_: ;
	prepareAdd((&result), 1);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_53);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___systemZdollars_u44)(NU8 xX60gensym6__p0) {
	NimStringV2 result;
	result = TM__n49a9aYp5BrbXv9a6OCpJYm0g_54;
	addInt__stdZprivateZdigitsutils_u184((&result), ((NU64) (xX60gensym6__p0)));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, collectionToString__dependencies_u5228)(tySequence__ROG4zVH2lrODohp66awvUw x_p0, NimStringV2 prefix_p1, NimStringV2 separator_p2, NimStringV2 suffix_p3) {
	NimStringV2 result;
	NIM_BOOL firstElement_1;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	eqcopy___system_u2754((&result), prefix_p1);
	firstElement_1 = NIM_TRUE;
	{
		tyObject_VersionTag__io9bcihbopiwucKorobyKdg* value_1;
		NI i_1;
		NI L_1;
		NI T2_;
		value_1 = (tyObject_VersionTag__io9bcihbopiwucKorobyKdg*)0;
		i_1 = ((NI)0);
		T2_ = x_p0.len;
		L_1 = T2_;
		{
			while (1) {
				if (!(i_1 < L_1)) goto LA4;
				value_1 = (&x_p0.p->data[i_1]);
				{
					if (!firstElement_1) goto LA7_;
					firstElement_1 = NIM_FALSE;
				}
				goto LA5_;
LA7_: ;
				{
					prepareAdd((&result), separator_p2.len + 0);
appendString((&result), separator_p2);
				}
LA5_: ;
				addQuoted__basicZgitops_u3543((&result), (&(*value_1)));
				i_1 += ((NI)1);
				{
					NI T12_;
					T12_ = x_p0.len;
					if (!!((T12_ == L_1))) goto LA13_;
					failedAssertImpl__stdZassertions_u95(TM__n49a9aYp5BrbXv9a6OCpJYm0g_55);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				}
LA13_: ;
			} LA4: ;
		}
	}
	prepareAdd((&result), suffix_p3.len + 0);
appendString((&result), suffix_p3);
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___dependencies_u5224)(tySequence__ROG4zVH2lrODohp66awvUw x_p0) {
	NimStringV2 result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	result = collectionToString__dependencies_u5228(x_p0, TM__n49a9aYp5BrbXv9a6OCpJYm0g_56, TM__n49a9aYp5BrbXv9a6OCpJYm0g_57, TM__n49a9aYp5BrbXv9a6OCpJYm0g_58);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, collectionToString__dependencies_u11784)(tySequence__vOapjTAdumLxjw75U33DNg x_p0, NimStringV2 prefix_p1, NimStringV2 separator_p2, NimStringV2 suffix_p3) {
	NimStringV2 result;
	NIM_BOOL firstElement_1;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	eqcopy___system_u2754((&result), prefix_p1);
	firstElement_1 = NIM_TRUE;
	{
		tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg** value_1;
		NI i_1;
		NI L_1;
		NI T2_;
		value_1 = (tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg**)0;
		i_1 = ((NI)0);
		T2_ = x_p0.len;
		L_1 = T2_;
		{
			while (1) {
				if (!(i_1 < L_1)) goto LA4;
				value_1 = &x_p0.p->data[i_1];
				{
					if (!firstElement_1) goto LA7_;
					firstElement_1 = NIM_FALSE;
				}
				goto LA5_;
LA7_: ;
				{
					prepareAdd((&result), separator_p2.len + 0);
appendString((&result), separator_p2);
				}
LA5_: ;
				{
					if (!((*value_1) == 0)) goto LA12_;
					prepareAdd((&result), 3);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_59);
				}
				goto LA10_;
LA12_: ;
				{
					addQuoted__dependencies_u11805((&result), (*value_1));
				}
LA10_: ;
				i_1 += ((NI)1);
				{
					NI T17_;
					T17_ = x_p0.len;
					if (!!((T17_ == L_1))) goto LA18_;
					failedAssertImpl__stdZassertions_u95(TM__n49a9aYp5BrbXv9a6OCpJYm0g_60);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				}
LA18_: ;
			} LA4: ;
		}
	}
	prepareAdd((&result), suffix_p3.len + 0);
appendString((&result), suffix_p3);
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___dependencies_u11780)(tySequence__vOapjTAdumLxjw75U33DNg x_p0) {
	NimStringV2 result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	result = collectionToString__dependencies_u11784(x_p0, TM__n49a9aYp5BrbXv9a6OCpJYm0g_61, TM__n49a9aYp5BrbXv9a6OCpJYm0g_62, TM__n49a9aYp5BrbXv9a6OCpJYm0g_63);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___depgraphs_u5522)(tyTuple__XXBtNszxg1rbD9cnycyLK7A* x_p0) {
	NimStringV2 result;
	NI countX60gensym72__1;
	result = TM__n49a9aYp5BrbXv9a6OCpJYm0g_64;
	countX60gensym72__1 = ((NI)0);
	{
		if (!NIM_TRUE) goto LA3_;
		{
			if (!(((NI)0) < countX60gensym72__1)) goto LA7_;
			prepareAdd((&result), 2);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_65);
		}
LA7_: ;
		countX60gensym72__1 += ((NI)1);
		addQuoted__depgraphs_u5548((&result), (&(*x_p0).Field0));
	}
LA3_: ;
	{
		if (!NIM_TRUE) goto LA11_;
		{
			if (!(((NI)0) < countX60gensym72__1)) goto LA15_;
			prepareAdd((&result), 2);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_66);
		}
LA15_: ;
		countX60gensym72__1 += ((NI)1);
		addQuoted__depgraphs_u5562((&result), (&(*x_p0).Field1));
	}
LA11_: ;
	{
		if (!(countX60gensym72__1 == ((NI)1))) goto LA19_;
		prepareAdd((&result), 1);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_67);
	}
LA19_: ;
	prepareAdd((&result), 1);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_68);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, collectionToString__depgraphs_u5501)(tySequence__Cv9czsNzurrmCo02svI9bGaw x_p0, NimStringV2 prefix_p1, NimStringV2 separator_p2, NimStringV2 suffix_p3) {
	NimStringV2 result;
	NIM_BOOL firstElement_1;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	eqcopy___system_u2754((&result), prefix_p1);
	firstElement_1 = NIM_TRUE;
	{
		tyTuple__XXBtNszxg1rbD9cnycyLK7A* value_1;
		NI i_1;
		NI L_1;
		NI T2_;
		value_1 = (tyTuple__XXBtNszxg1rbD9cnycyLK7A*)0;
		i_1 = ((NI)0);
		T2_ = x_p0.len;
		L_1 = T2_;
		{
			while (1) {
				if (!(i_1 < L_1)) goto LA4;
				value_1 = (&x_p0.p->data[i_1]);
				{
					if (!firstElement_1) goto LA7_;
					firstElement_1 = NIM_FALSE;
				}
				goto LA5_;
LA7_: ;
				{
					prepareAdd((&result), separator_p2.len + 0);
appendString((&result), separator_p2);
				}
LA5_: ;
				addQuoted__depgraphs_u5516((&result), (&(*value_1)));
				i_1 += ((NI)1);
				{
					NI T12_;
					T12_ = x_p0.len;
					if (!!((T12_ == L_1))) goto LA13_;
					failedAssertImpl__stdZassertions_u95(TM__n49a9aYp5BrbXv9a6OCpJYm0g_69);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				}
LA13_: ;
			} LA4: ;
		}
	}
	prepareAdd((&result), suffix_p3.len + 0);
appendString((&result), suffix_p3);
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___depgraphs_u5497)(tySequence__Cv9czsNzurrmCo02svI9bGaw x_p0) {
	NimStringV2 result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	result = collectionToString__depgraphs_u5501(x_p0, TM__n49a9aYp5BrbXv9a6OCpJYm0g_70, TM__n49a9aYp5BrbXv9a6OCpJYm0g_71, TM__n49a9aYp5BrbXv9a6OCpJYm0g_72);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, collectionToString__pureZhttpcore_u1197)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ x_p0, NimStringV2 prefix_p1, NimStringV2 separator_p2, NimStringV2 suffix_p3) {
	NimStringV2 result;
	NIM_BOOL firstElement_1;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	eqcopy___system_u2754((&result), prefix_p1);
	firstElement_1 = NIM_TRUE;
	{
		NimStringV2* value_1;
		NI i_1;
		NI L_1;
		NI T2_;
		value_1 = (NimStringV2*)0;
		i_1 = ((NI)0);
		T2_ = x_p0.len;
		L_1 = T2_;
		{
			while (1) {
				if (!(i_1 < L_1)) goto LA4;
				value_1 = (&x_p0.p->data[i_1]);
				{
					if (!firstElement_1) goto LA7_;
					firstElement_1 = NIM_FALSE;
				}
				goto LA5_;
LA7_: ;
				{
					prepareAdd((&result), separator_p2.len + 0);
appendString((&result), separator_p2);
				}
LA5_: ;
				addQuoted__stdZprivateZoscommon_u119((&result), (*value_1));
				i_1 += ((NI)1);
				{
					NI T12_;
					T12_ = x_p0.len;
					if (!!((T12_ == L_1))) goto LA13_;
					failedAssertImpl__stdZassertions_u95(TM__n49a9aYp5BrbXv9a6OCpJYm0g_73);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				}
LA13_: ;
			} LA4: ;
		}
	}
	prepareAdd((&result), suffix_p3.len + 0);
appendString((&result), suffix_p3);
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___pureZhttpcore_u1193)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ x_p0) {
	NimStringV2 result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	result = collectionToString__pureZhttpcore_u1197(x_p0, TM__n49a9aYp5BrbXv9a6OCpJYm0g_74, TM__n49a9aYp5BrbXv9a6OCpJYm0g_75, TM__n49a9aYp5BrbXv9a6OCpJYm0g_76);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, collectionToString__stdZprivateZosfiles_u245)(tySet_tyEnum_FilePermission__bk3PQ1mxFRJKj2pEuekkJw x_p0, NimStringV2 prefix_p1, NimStringV2 separator_p2, NimStringV2 suffix_p3) {
	NimStringV2 result;
	NIM_BOOL firstElement_1;
	result.len = 0; result.p = NIM_NIL;
	eqcopy___system_u2754((&result), prefix_p1);
	firstElement_1 = NIM_TRUE;
	{
		tyEnum_FilePermission__bk3PQ1mxFRJKj2pEuekkJw value_1;
		NI i_1;
		value_1 = (tyEnum_FilePermission__bk3PQ1mxFRJKj2pEuekkJw)0;
		i_1 = ((NI)0);
		{
			while (1) {
				if (!(i_1 <= ((NI)8))) goto LA3;
				{
					if (!((x_p0 &((NU16)1<<((NU)((((tyEnum_FilePermission__bk3PQ1mxFRJKj2pEuekkJw) (i_1))))&15U)))!=0)) goto LA6_;
					value_1 = ((tyEnum_FilePermission__bk3PQ1mxFRJKj2pEuekkJw) (i_1));
					{
						if (!firstElement_1) goto LA10_;
						firstElement_1 = NIM_FALSE;
					}
					goto LA8_;
LA10_: ;
					{
						prepareAdd((&result), separator_p2.len + 0);
appendString((&result), separator_p2);
					}
LA8_: ;
					addQuoted__stdZprivateZosfiles_u279((&result), value_1);
				}
LA6_: ;
				i_1 += ((NI)1);
			} LA3: ;
		}
	}
	prepareAdd((&result), suffix_p3.len + 0);
appendString((&result), suffix_p3);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___stdZprivateZosfiles_u241)(tySet_tyEnum_FilePermission__bk3PQ1mxFRJKj2pEuekkJw x_p0) {
	NimStringV2 result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	result = collectionToString__stdZprivateZosfiles_u245(x_p0, TM__n49a9aYp5BrbXv9a6OCpJYm0g_80, TM__n49a9aYp5BrbXv9a6OCpJYm0g_81, TM__n49a9aYp5BrbXv9a6OCpJYm0g_82);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___stdZprivateZosfiles_u131)(tyTuple__K9bnJYb9aLeQF1tCAa7bW9cWA x_p0) {
	NimStringV2 result;
	NI countX60gensym19__1;
	result = TM__n49a9aYp5BrbXv9a6OCpJYm0g_77;
	countX60gensym19__1 = ((NI)0);
	{
		if (!NIM_TRUE) goto LA3_;
		{
			if (!(((NI)0) < countX60gensym19__1)) goto LA7_;
			prepareAdd((&result), 2);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_78);
		}
LA7_: ;
		countX60gensym19__1 += ((NI)1);
		addQuoted__stdZprivateZoscommon_u119((&result), x_p0.Field0);
	}
LA3_: ;
	{
		if (!NIM_TRUE) goto LA11_;
		{
			if (!(((NI)0) < countX60gensym19__1)) goto LA15_;
			prepareAdd((&result), 2);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_79);
		}
LA15_: ;
		countX60gensym19__1 += ((NI)1);
		addQuoted__stdZprivateZosfiles_u235((&result), x_p0.Field1);
	}
LA11_: ;
	{
		if (!(countX60gensym19__1 == ((NI)1))) goto LA19_;
		prepareAdd((&result), 1);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_83);
	}
LA19_: ;
	prepareAdd((&result), 1);
appendString((&result), TM__n49a9aYp5BrbXv9a6OCpJYm0g_84);
	return result;
}
