/* 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/@mlockfiles.nim.c.o /Users/runner/work/nightlies/nightlies/nim-2.2.10/dist/atlas/.nimcache/@mlockfiles.nim.c */
#define NIM_INTBITS 64
#define NIM_EmulateOverflowChecks

#include "nimbase.h"
#include <string.h>
#include <unistd.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 tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA;
typedef struct tyObject_OrderedTable__NAaHKPe5f6Y5G54ThvHCdw tyObject_OrderedTable__NAaHKPe5f6Y5G54ThvHCdw;
typedef struct tySequence__oMQEWXk5BpYjO5RbdjG9a1Q tySequence__oMQEWXk5BpYjO5RbdjG9a1Q;
typedef struct tySequence__oMQEWXk5BpYjO5RbdjG9a1Q_Content tySequence__oMQEWXk5BpYjO5RbdjG9a1Q_Content;
typedef struct tyObject_OrderedTable__M9brAiOmdtiKfeNfN7hTa9bQ tyObject_OrderedTable__M9brAiOmdtiKfeNfN7hTa9bQ;
typedef struct tySequence__JpsB9cJkHWqV5PFSGlQ0YKA tySequence__JpsB9cJkHWqV5PFSGlQ0YKA;
typedef struct tySequence__JpsB9cJkHWqV5PFSGlQ0YKA_Content tySequence__JpsB9cJkHWqV5PFSGlQ0YKA_Content;
typedef struct tyObject_OrderedTable__2f785vUDCYHK3R5jPXmFkg tyObject_OrderedTable__2f785vUDCYHK3R5jPXmFkg;
typedef struct tySequence__oTNj4ZCEYoUfpbdjbvYW5Q tySequence__oTNj4ZCEYoUfpbdjbvYW5Q;
typedef struct tySequence__oTNj4ZCEYoUfpbdjbvYW5Q_Content tySequence__oTNj4ZCEYoUfpbdjbvYW5Q_Content;
typedef struct tyObject_Patterns__FXqyqR49aNa9c2SMD9akprhSg tyObject_Patterns__FXqyqR49aNa9c2SMD9akprhSg;
typedef struct tySequence__j9bhAvfiD9alXYEwmFnFGFNA tySequence__j9bhAvfiD9alXYEwmFnFGFNA;
typedef struct tySequence__j9bhAvfiD9alXYEwmFnFGFNA_Content tySequence__j9bhAvfiD9alXYEwmFnFGFNA_Content;
typedef struct tyObject_Table__ao79cQacnAZc5Mu0cN3jybg tyObject_Table__ao79cQacnAZc5Mu0cN3jybg;
typedef struct tySequence__SFipDZIkFtPcrLs0AGBBjQ tySequence__SFipDZIkFtPcrLs0AGBBjQ;
typedef struct tySequence__SFipDZIkFtPcrLs0AGBBjQ_Content tySequence__SFipDZIkFtPcrLs0AGBBjQ_Content;
typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content;
typedef struct tySequence__4eQHGndY6XBYpFOH09apV8Q tySequence__4eQHGndY6XBYpFOH09apV8Q;
typedef struct tySequence__4eQHGndY6XBYpFOH09apV8Q_Content tySequence__4eQHGndY6XBYpFOH09apV8Q_Content;
typedef struct tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q;
typedef struct tySequence__4eRCaZmrYLLw2k30GPTiMw tySequence__4eRCaZmrYLLw2k30GPTiMw;
typedef struct tySequence__4eRCaZmrYLLw2k30GPTiMw_Content tySequence__4eRCaZmrYLLw2k30GPTiMw_Content;
typedef struct tyObject_DepGraph__i1RlFs3c9aTk9bK2vN5Pa2yw tyObject_DepGraph__i1RlFs3c9aTk9bK2vN5Pa2yw;
typedef struct tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA;
typedef struct tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg;
typedef struct tyObject_OrderedTable__4fqy8hm4AzG4KT0VyQHXkA tyObject_OrderedTable__4fqy8hm4AzG4KT0VyQHXkA;
typedef struct tySequence__xSWRAcOHDJ9atP6GSXu4rIg tySequence__xSWRAcOHDJ9atP6GSXu4rIg;
typedef struct tySequence__xSWRAcOHDJ9atP6GSXu4rIg_Content tySequence__xSWRAcOHDJ9atP6GSXu4rIg_Content;
typedef struct tyObject_LockedNimbleFile__DOnRVGKM2QMHPTyFu6A1rA tyObject_LockedNimbleFile__DOnRVGKM2QMHPTyFu6A1rA;
typedef struct tyObject_NimbleLockFile__oTfzGqk1OrM0FPevkw5lng tyObject_NimbleLockFile__oTfzGqk1OrM0FPevkw5lng;
typedef struct tyObject_OrderedTable__2EC6XbagKhoNMfwdKw2KSA tyObject_OrderedTable__2EC6XbagKhoNMfwdKw2KSA;
typedef struct tySequence__aOopHV3XMi9ccpD6r88uCPw tySequence__aOopHV3XMi9ccpD6r88uCPw;
typedef struct tySequence__aOopHV3XMi9ccpD6r88uCPw_Content tySequence__aOopHV3XMi9ccpD6r88uCPw_Content;
typedef struct tyObject_Table__KALKST4LIrYcd0Eig4ZY8A tyObject_Table__KALKST4LIrYcd0Eig4ZY8A;
typedef struct tySequence__7S9bqd9bKLZxKzsQQ1R5v2Ww tySequence__7S9bqd9bKLZxKzsQQ1R5v2Ww;
typedef struct tySequence__7S9bqd9bKLZxKzsQQ1R5v2Ww_Content tySequence__7S9bqd9bKLZxKzsQQ1R5v2Ww_Content;
typedef struct tySequence__jw542wgkeGE16s5T1k3nhg tySequence__jw542wgkeGE16s5T1k3nhg;
typedef struct tySequence__jw542wgkeGE16s5T1k3nhg_Content tySequence__jw542wgkeGE16s5T1k3nhg_Content;
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_OrderedTable__6LH0iEO9c9cdi0YrUiH7Mtdg tyObject_OrderedTable__6LH0iEO9c9cdi0YrUiH7Mtdg;
typedef struct tySequence__jlOSbs9c7TpYbYckLycDaQg tySequence__jlOSbs9c7TpYbYckLycDaQg;
typedef struct tySequence__jlOSbs9c7TpYbYckLycDaQg_Content tySequence__jlOSbs9c7TpYbYckLycDaQg_Content;
typedef struct tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg;
typedef struct tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA;
typedef struct tyObject_LockFileEntry__3L1m2gTVW2cOTqVLqvNEkw tyObject_LockFileEntry__3L1m2gTVW2cOTqVLqvNEkw;
typedef struct tyTuple__UV3llMMYFckfui8YMBuUZA tyTuple__UV3llMMYFckfui8YMBuUZA;
typedef struct tyObject_VersionTag__io9bcihbopiwucKorobyKdg tyObject_VersionTag__io9bcihbopiwucKorobyKdg;
typedef struct tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw;
typedef struct tySequence__Cv9czsNzurrmCo02svI9bGaw tySequence__Cv9czsNzurrmCo02svI9bGaw;
typedef struct tySequence__Cv9czsNzurrmCo02svI9bGaw_Content tySequence__Cv9czsNzurrmCo02svI9bGaw_Content;
typedef struct tyObject_Table__chgX4ZRn9aA0cwNzdIgL9a3w tyObject_Table__chgX4ZRn9aA0cwNzdIgL9a3w;
typedef struct tySequence__5tFKfHpt6l4YRslMO5BC9aA tySequence__5tFKfHpt6l4YRslMO5BC9aA;
typedef struct tySequence__5tFKfHpt6l4YRslMO5BC9aA_Content tySequence__5tFKfHpt6l4YRslMO5BC9aA_Content;
typedef struct tyObject_Table__RkXBcORzX4aZm9bJbtHRiMA tyObject_Table__RkXBcORzX4aZm9bJbtHRiMA;
typedef struct tySequence__eDvmA6YdVXqDawROf8i9aCg tySequence__eDvmA6YdVXqDawROf8i9aCg;
typedef struct tySequence__eDvmA6YdVXqDawROf8i9aCg_Content tySequence__eDvmA6YdVXqDawROf8i9aCg_Content;
typedef struct tyObject_Table__k9b9b9a4QBdl9cae9coIuQmAotQ tyObject_Table__k9b9b9a4QBdl9cae9coIuQmAotQ;
typedef struct tySequence__7lEisrXlQEzwtUKW5pzRCw tySequence__7lEisrXlQEzwtUKW5pzRCw;
typedef struct tySequence__7lEisrXlQEzwtUKW5pzRCw_Content tySequence__7lEisrXlQEzwtUKW5pzRCw_Content;
typedef struct tyObject_VersionInterval__Fo18dECYIXwkOygWPnb8YA tyObject_VersionInterval__Fo18dECYIXwkOygWPnb8YA;
typedef struct tyTuple__XXBtNszxg1rbD9cnycyLK7A tyTuple__XXBtNszxg1rbD9cnycyLK7A;
typedef struct tyObject_VersionReq__eFOT6plIfXH54d8sBkqpng tyObject_VersionReq__eFOT6plIfXH54d8sBkqpng;
typedef struct tyObject_NimbleFileInfo__i7bgYVgkuliKc9bzshfZ2Rw tyObject_NimbleFileInfo__i7bgYVgkuliKc9bzshfZ2Rw;
typedef struct tyObject_Table__9c9cL6DR4DCGVMI1lXj9akt8w tyObject_Table__9c9cL6DR4DCGVMI1lXj9akt8w;
typedef struct tySequence__JiteSJxrvz63iP2o9bcn2Sg tySequence__JiteSJxrvz63iP2o9bcn2Sg;
typedef struct tySequence__JiteSJxrvz63iP2o9bcn2Sg_Content tySequence__JiteSJxrvz63iP2o9bcn2Sg_Content;
typedef struct tyObject_NimbleLockFileEntry__Ypx5oyXEN0PbU9aytH2Ux9cg tyObject_NimbleLockFileEntry__Ypx5oyXEN0PbU9aytH2Ux9cg;
typedef struct tyTuple__QeWl6B6ffS4pU6WWrtcrDw tyTuple__QeWl6B6ffS4pU6WWrtcrDw;
typedef struct tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA;
typedef struct tyObject_OrderedTable__RIgoItpMnyMLlEioBo9bQIA tyObject_OrderedTable__RIgoItpMnyMLlEioBo9bQIA;
typedef struct tySequence__UM2HJI1wUigOaSPzL6VC3A tySequence__UM2HJI1wUigOaSPzL6VC3A;
typedef struct tySequence__UM2HJI1wUigOaSPzL6VC3A_Content tySequence__UM2HJI1wUigOaSPzL6VC3A_Content;
typedef struct tySequence__t6JKa4Kdxpc0RJiFEWRI9bw tySequence__t6JKa4Kdxpc0RJiFEWRI9bw;
typedef struct tySequence__t6JKa4Kdxpc0RJiFEWRI9bw_Content tySequence__t6JKa4Kdxpc0RJiFEWRI9bw_Content;
typedef struct tyObject_ToJsonOptions__mRkT0c8Ugtl0BxbGElJ1oA tyObject_ToJsonOptions__mRkT0c8Ugtl0BxbGElJ1oA;
typedef struct tyTuple__otFEYh4BBZ0y3q0WDtkCOw tyTuple__otFEYh4BBZ0y3q0WDtkCOw;
typedef struct tyTuple__s3Jxn6lQB1q2m4at9asd45w tyTuple__s3Jxn6lQB1q2m4at9asd45w;
typedef struct tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ;
typedef struct tyObject_Table__8bDqb52Br017mlUSc5FIOw tyObject_Table__8bDqb52Br017mlUSc5FIOw;
typedef struct tySequence__tas7jtBybgwOq4KxPkjGjg tySequence__tas7jtBybgwOq4KxPkjGjg;
typedef struct tySequence__tas7jtBybgwOq4KxPkjGjg_Content tySequence__tas7jtBybgwOq4KxPkjGjg_Content;
typedef struct tyObject_PluginInfo__jIeVHC5m9cMm7lQxxmW9bmHg tyObject_PluginInfo__jIeVHC5m9cMm7lQxxmW9bmHg;
typedef struct tyTuple__JR0Ke0jOQNp9c7GtCLA6l9bw tyTuple__JR0Ke0jOQNp9c7GtCLA6l9bw;
typedef struct tyTuple__TLTPscngTyX39coeZ9b9cEB7w tyTuple__TLTPscngTyX39coeZ9b9cEB7w;
typedef struct tyTuple__P9b03d79atTGoSs9bM2vK9bPRA tyTuple__P9b03d79atTGoSs9bM2vK9bPRA;
typedef struct tyTuple__POGkMJ7lRVtwX3CODjpoJQ tyTuple__POGkMJ7lRVtwX3CODjpoJQ;
typedef struct tyTuple__wXnHEQsKrl9aA3i9cwZxKIFg tyTuple__wXnHEQsKrl9aA3i9cwZxKIFg;
typedef struct tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA;
typedef struct tySequence__U9bYx6tPvWzQNzbZoriLUYA tySequence__U9bYx6tPvWzQNzbZoriLUYA;
typedef struct tySequence__U9bYx6tPvWzQNzbZoriLUYA_Content tySequence__U9bYx6tPvWzQNzbZoriLUYA_Content;
typedef struct tyTuple__ZwcqNhWtDfKDJjVz9bcvE9cQ tyTuple__ZwcqNhWtDfKDJjVz9bcvE9cQ;
typedef struct tyObject_Pattern__K9baAv1Y6R5n9b0ZUxBeh6vA tyObject_Pattern__K9baAv1Y6R5n9b0ZUxBeh6vA;
typedef struct tySequence__xjLg9a72SfsVVFciefDuvtw tySequence__xjLg9a72SfsVVFciefDuvtw;
typedef struct tySequence__xjLg9a72SfsVVFciefDuvtw_Content tySequence__xjLg9a72SfsVVFciefDuvtw_Content;
typedef struct tyTuple__8ZxhPt1NwfElsJs8zUSV9bg tyTuple__8ZxhPt1NwfElsJs8zUSV9bg;
typedef struct tyTuple__QU2h7wNBV4n3UySqE0p6GA tyTuple__QU2h7wNBV4n3UySqE0p6GA;
typedef struct tyTuple__2ing48W2SpAbVV8uI2izeg tyTuple__2ing48W2SpAbVV8uI2izeg;
typedef struct tyTuple__GSIE033wnKaKWLU68PPv9cA tyTuple__GSIE033wnKaKWLU68PPv9cA;
typedef struct tyTuple__SgjupenGH7y9bVV9aV67zqsw tyTuple__SgjupenGH7y9bVV9aV67zqsw;
typedef struct tyTuple__DuXgJ7FhP2gM03hW7KEKAA tyTuple__DuXgJ7FhP2gM03hW7KEKAA;
typedef struct tyTuple__xYhUhS7X82rKTqbT9bRfCnw tyTuple__xYhUhS7X82rKTqbT9bRfCnw;
typedef struct tyTuple__g1w83cyyBYiVU9c8WEJWnjQ tyTuple__g1w83cyyBYiVU9c8WEJWnjQ;
typedef struct tyTuple__uSZbD2CRToUhqTsTNx4cgA tyTuple__uSZbD2CRToUhqTsTNx4cgA;
typedef struct tyTuple__5z13DioL2O9cny1CehriGcQ tyTuple__5z13DioL2O9cny1CehriGcQ;
typedef struct tyObject_Instr__dVxI1dKsh9ajF145UocfxWg tyObject_Instr__dVxI1dKsh9ajF145UocfxWg;
struct NimStrPayload {
	NI cap;
	NIM_CHAR data[SEQ_DECL_SIZE];
};
struct NimStringV2 {
	NI len;
	NimStrPayload* p;
};
struct tySequence__oMQEWXk5BpYjO5RbdjG9a1Q {
  NI len; tySequence__oMQEWXk5BpYjO5RbdjG9a1Q_Content* p;
};
struct tyObject_OrderedTable__NAaHKPe5f6Y5G54ThvHCdw {
	tySequence__oMQEWXk5BpYjO5RbdjG9a1Q data;
	NI counter;
	NI first;
	NI last;
};
struct tySequence__JpsB9cJkHWqV5PFSGlQ0YKA {
  NI len; tySequence__JpsB9cJkHWqV5PFSGlQ0YKA_Content* p;
};
struct tyObject_OrderedTable__M9brAiOmdtiKfeNfN7hTa9bQ {
	tySequence__JpsB9cJkHWqV5PFSGlQ0YKA data;
	NI counter;
	NI first;
	NI last;
};
struct tySequence__oTNj4ZCEYoUfpbdjbvYW5Q {
  NI len; tySequence__oTNj4ZCEYoUfpbdjbvYW5Q_Content* p;
};
struct tyObject_OrderedTable__2f785vUDCYHK3R5jPXmFkg {
	tySequence__oTNj4ZCEYoUfpbdjbvYW5Q data;
	NI counter;
	NI first;
	NI last;
};
struct tySequence__j9bhAvfiD9alXYEwmFnFGFNA {
  NI len; tySequence__j9bhAvfiD9alXYEwmFnFGFNA_Content* p;
};
struct tySequence__SFipDZIkFtPcrLs0AGBBjQ {
  NI len; tySequence__SFipDZIkFtPcrLs0AGBBjQ_Content* p;
};
struct tyObject_Table__ao79cQacnAZc5Mu0cN3jybg {
	tySequence__SFipDZIkFtPcrLs0AGBBjQ data;
	NI counter;
};
struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ {
  NI len; tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content* p;
};
struct tySequence__4eQHGndY6XBYpFOH09apV8Q {
  NI len; tySequence__4eQHGndY6XBYpFOH09apV8Q_Content* p;
};
struct tyObject_Patterns__FXqyqR49aNa9c2SMD9akprhSg {
	tySequence__j9bhAvfiD9alXYEwmFnFGFNA s;
	tyObject_Table__ao79cQacnAZc5Mu0cN3jybg t;
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ strings;
	tySequence__4eQHGndY6XBYpFOH09apV8Q patterns;
};
struct tySequence__4eRCaZmrYLLw2k30GPTiMw {
  NI len; tySequence__4eRCaZmrYLLw2k30GPTiMw_Content* p;
};
struct tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q {
	tySequence__4eRCaZmrYLLw2k30GPTiMw data;
	NI counter;
};
struct tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA {
	tyObject_OrderedTable__NAaHKPe5f6Y5G54ThvHCdw packageToDependency;
	tyObject_OrderedTable__M9brAiOmdtiKfeNfN7hTa9bQ packageExtras;
	tyObject_OrderedTable__M9brAiOmdtiKfeNfN7hTa9bQ nameToUrl;
	tyObject_OrderedTable__2f785vUDCYHK3R5jPXmFkg explicitVersions;
	tyObject_Patterns__FXqyqR49aNa9c2SMD9akprhSg nameOverrides;
	tyObject_Patterns__FXqyqR49aNa9c2SMD9akprhSg urlOverrides;
	NIM_BOOL hasPackageList;
	tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q notFoundNames;
};
typedef NU8 tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw;
struct tyObject_DepGraph__i1RlFs3c9aTk9bK2vN5Pa2yw {
	tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw mode;
	tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* root;
	tyObject_OrderedTable__NAaHKPe5f6Y5G54ThvHCdw pkgs;
};
typedef NimStringV2 tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ[2];
typedef NU8 tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg;
struct tySequence__xSWRAcOHDJ9atP6GSXu4rIg {
  NI len; tySequence__xSWRAcOHDJ9atP6GSXu4rIg_Content* p;
};
struct tyObject_OrderedTable__4fqy8hm4AzG4KT0VyQHXkA {
	tySequence__xSWRAcOHDJ9atP6GSXu4rIg data;
	NI counter;
	NI first;
	NI last;
};
struct tyObject_LockedNimbleFile__DOnRVGKM2QMHPTyFu6A1rA {
	NimStringV2 filename;
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ content;
};
struct tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg {
	tyObject_OrderedTable__4fqy8hm4AzG4KT0VyQHXkA items;
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ nimcfg;
	tyObject_LockedNimbleFile__DOnRVGKM2QMHPTyFu6A1rA nimbleFile;
	NimStringV2 hostOS;
	NimStringV2 hostCPU;
	NimStringV2 nimVersion;
	NimStringV2 gccVersion;
	NimStringV2 clangVersion;
};
struct tySequence__aOopHV3XMi9ccpD6r88uCPw {
  NI len; tySequence__aOopHV3XMi9ccpD6r88uCPw_Content* p;
};
struct tyObject_OrderedTable__2EC6XbagKhoNMfwdKw2KSA {
	tySequence__aOopHV3XMi9ccpD6r88uCPw data;
	NI counter;
	NI first;
	NI last;
};
struct tyObject_NimbleLockFile__oTfzGqk1OrM0FPevkw5lng {
	tyObject_OrderedTable__2EC6XbagKhoNMfwdKw2KSA packages;
	NI version;
};
typedef NimStringV2 tyArray__YgExxhfgKcesA5EOUj1MOA[1];
struct tySequence__7S9bqd9bKLZxKzsQQ1R5v2Ww {
  NI len; tySequence__7S9bqd9bKLZxKzsQQ1R5v2Ww_Content* p;
};
struct tyObject_Table__KALKST4LIrYcd0Eig4ZY8A {
	tySequence__7S9bqd9bKLZxKzsQQ1R5v2Ww data;
	NI counter;
};
struct tySequence__jw542wgkeGE16s5T1k3nhg {
  NI len; tySequence__jw542wgkeGE16s5T1k3nhg_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_PackageState__INzfBajphYPGcwu72ccy8w;
struct tySequence__jlOSbs9c7TpYbYckLycDaQg {
  NI len; tySequence__jlOSbs9c7TpYbYckLycDaQg_Content* p;
};
struct tyObject_OrderedTable__6LH0iEO9c9cdi0YrUiH7Mtdg {
	tySequence__jlOSbs9c7TpYbYckLycDaQg data;
	NI counter;
	NI first;
	NI last;
};
typedef NU8 tyEnum_CommitOrigin__tDM8mWEQT3dZtKoOj7Mgww;
struct tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA {
	NimStringV2 h;
	tyEnum_CommitOrigin__tDM8mWEQT3dZtKoOj7Mgww orig;
};
struct tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA {
	tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw url;
	tyEnum_PackageState__INzfBajphYPGcwu72ccy8w state;
	tyObject_OrderedTable__6LH0iEO9c9cdi0YrUiH7Mtdg versions;
	tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* activeVersion;
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ activeFeatures;
	NimStringV2 module;
	NimStringV2 ondisk;
	NimStringV2 nimbleFile;
	NIM_BOOL active;
	NIM_BOOL isAtlasProject;
	NIM_BOOL isFork;
	NIM_BOOL isRoot;
	NIM_BOOL isLocalOnly;
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ errors;
	tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA originHead;
};
struct tyObject_LockFileEntry__3L1m2gTVW2cOTqVLqvNEkw {
	NimStringV2 dir;
	NimStringV2 url;
	NimStringV2 commit;
	NimStringV2 version;
};
struct tyTuple__UV3llMMYFckfui8YMBuUZA {
	NimStringV2 Field0;
	NimStringV2 Field1;
};
typedef NU8 tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw;
struct tyObject_VersionTag__io9bcihbopiwucKorobyKdg {
	tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA c;
	NimStringV2 v;
	NIM_BOOL isTip;
};
struct tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg {
	tyObject_VersionTag__io9bcihbopiwucKorobyKdg vtag;
	NI32 vid;
};
typedef NU8 tyEnum_ReleaseStatus__WQoraXO80GBXtge9ad8aCBg;
struct tySequence__Cv9czsNzurrmCo02svI9bGaw {
  NI len; tySequence__Cv9czsNzurrmCo02svI9bGaw_Content* p;
};
struct tySequence__5tFKfHpt6l4YRslMO5BC9aA {
  NI len; tySequence__5tFKfHpt6l4YRslMO5BC9aA_Content* p;
};
struct tyObject_Table__chgX4ZRn9aA0cwNzdIgL9a3w {
	tySequence__5tFKfHpt6l4YRslMO5BC9aA data;
	NI counter;
};
struct tySequence__eDvmA6YdVXqDawROf8i9aCg {
  NI len; tySequence__eDvmA6YdVXqDawROf8i9aCg_Content* p;
};
struct tyObject_Table__RkXBcORzX4aZm9bJbtHRiMA {
	tySequence__eDvmA6YdVXqDawROf8i9aCg data;
	NI counter;
};
struct tySequence__7lEisrXlQEzwtUKW5pzRCw {
  NI len; tySequence__7lEisrXlQEzwtUKW5pzRCw_Content* p;
};
struct tyObject_Table__k9b9b9a4QBdl9cae9coIuQmAotQ {
	tySequence__7lEisrXlQEzwtUKW5pzRCw data;
	NI counter;
};
struct tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw {
	NimStringV2 version;
	NimStringV2 nimVersion;
	tyEnum_ReleaseStatus__WQoraXO80GBXtge9ad8aCBg status;
	tySequence__Cv9czsNzurrmCo02svI9bGaw requirements;
	tyObject_Table__chgX4ZRn9aA0cwNzdIgL9a3w reqsByFeatures;
	NIM_BOOL hasInstallHooks;
	NimStringV2 srcDir;
	NimStringV2 err;
	tyObject_Table__RkXBcORzX4aZm9bJbtHRiMA features;
	tyObject_Table__k9b9b9a4QBdl9cae9coIuQmAotQ featureVars;
};
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;
};
struct tySequence__JiteSJxrvz63iP2o9bcn2Sg {
  NI len; tySequence__JiteSJxrvz63iP2o9bcn2Sg_Content* p;
};
struct tyObject_Table__9c9cL6DR4DCGVMI1lXj9akt8w {
	tySequence__JiteSJxrvz63iP2o9bcn2Sg data;
	NI counter;
};
struct tyObject_NimbleFileInfo__i7bgYVgkuliKc9bzshfZ2Rw {
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ requires;
	tyObject_Table__9c9cL6DR4DCGVMI1lXj9akt8w features;
	NimStringV2 srcDir;
	NimStringV2 version;
	tySequence__4eQHGndY6XBYpFOH09apV8Q tasks;
	NIM_BOOL hasInstallHooks;
	NIM_BOOL hasErrors;
};
struct tyObject_NimbleLockFileEntry__Ypx5oyXEN0PbU9aytH2Ux9cg {
	NimStringV2 version;
	NimStringV2 vcsRevision;
	NimStringV2 url;
	NimStringV2 downloadMethod;
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ dependencies;
	tyObject_Table__ao79cQacnAZc5Mu0cN3jybg checksums;
};
struct tyTuple__QeWl6B6ffS4pU6WWrtcrDw {
	NI Field0;
	NimStringV2 Field1;
};
typedef tyTuple__UV3llMMYFckfui8YMBuUZA tyArray__OnzEA2l6u7CA8vqyXXXq7Q[1];
typedef NU8 tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA;
struct tySequence__UM2HJI1wUigOaSPzL6VC3A {
  NI len; tySequence__UM2HJI1wUigOaSPzL6VC3A_Content* p;
};
struct tyObject_OrderedTable__RIgoItpMnyMLlEioBo9bQIA {
	tySequence__UM2HJI1wUigOaSPzL6VC3A data;
	NI counter;
	NI first;
	NI last;
};
struct tySequence__t6JKa4Kdxpc0RJiFEWRI9bw {
  NI len; tySequence__t6JKa4Kdxpc0RJiFEWRI9bw_Content* p;
};
struct tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA {
	NIM_BOOL isUnquoted;
	tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA kind;
union{
	struct {
	NimStringV2 str;
} _kind_1;
	struct {
	NI64 num;
} _kind_2;
	struct {
	NF fnum;
} _kind_3;
	struct {
	NIM_BOOL bval;
} _kind_4;
	struct {
	tyObject_OrderedTable__RIgoItpMnyMLlEioBo9bQIA fields;
} _kind_6;
	struct {
	tySequence__t6JKa4Kdxpc0RJiFEWRI9bw elems;
} _kind_7;
};
};
typedef NU8 tyEnum_EnumMode__SzEOeAZV29bxtRSEwT4jVCA;
typedef NU8 tyEnum_JsonNodeMode__IVcp7Bxa1lbzP5s9ahFgiLQ;
struct tyObject_ToJsonOptions__mRkT0c8Ugtl0BxbGElJ1oA {
	tyEnum_EnumMode__SzEOeAZV29bxtRSEwT4jVCA enumMode;
	tyEnum_JsonNodeMode__IVcp7Bxa1lbzP5s9ahFgiLQ jsonNodeMode;
};
struct tyTuple__otFEYh4BBZ0y3q0WDtkCOw {
	NI Field0;
	NI Field1;
	NimStringV2 Field2;
	tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* Field3;
};
struct tyTuple__s3Jxn6lQB1q2m4at9asd45w {
	NimStringV2 Field0;
	tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* Field1;
};
typedef NU32 tySet_tyEnum_Flag__YJpVNZDPDp9bqb0qWHXEQFw;
struct tySequence__tas7jtBybgwOq4KxPkjGjg {
  NI len; tySequence__tas7jtBybgwOq4KxPkjGjg_Content* p;
};
struct tyObject_Table__8bDqb52Br017mlUSc5FIOw {
	tySequence__tas7jtBybgwOq4KxPkjGjg data;
	NI counter;
};
typedef NU8 tyEnum_ResolutionAlgorithm__EDrRewmAkc38ngHuXBbDaw;
struct tyObject_PluginInfo__jIeVHC5m9cMm7lQxxmW9bmHg {
	tySequence__4eQHGndY6XBYpFOH09apV8Q builderPatterns;
};
struct tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ {
	NimStringV2 projectDir;
	NimStringV2 depsDir;
	NimStringV2 confDirOverride;
	tySet_tyEnum_Flag__YJpVNZDPDp9bqb0qWHXEQFw flags;
	tyObject_Patterns__FXqyqR49aNa9c2SMD9akprhSg nameOverrides;
	tyObject_Patterns__FXqyqR49aNa9c2SMD9akprhSg urlOverrides;
	tyObject_Table__8bDqb52Br017mlUSc5FIOw pkgOverrides;
	tyEnum_ResolutionAlgorithm__EDrRewmAkc38ngHuXBbDaw defaultAlgo;
	tyObject_PluginInfo__jIeVHC5m9cMm7lQxxmW9bmHg plugins;
	NimStringV2 overridesFile;
	NimStringV2 pluginsFile;
	tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA proxy;
	tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q features;
};
typedef NU8 tyEnum_Flag__YJpVNZDPDp9bqb0qWHXEQFw;
struct tyTuple__JR0Ke0jOQNp9c7GtCLA6l9bw {
	NI Field0;
	NI Field1;
	NimStringV2 Field2;
	tyObject_LockFileEntry__3L1m2gTVW2cOTqVLqvNEkw Field3;
};
typedef NimStringV2 tyArray__Seu7uK9aaOSN0BK3EAjjSHw[4];
typedef NU8 tyEnum_CloneStatus__U8zdCQHenVifOnL77kAZAA;
struct tyTuple__TLTPscngTyX39coeZ9b9cEB7w {
	tyEnum_CloneStatus__U8zdCQHenVifOnL77kAZAA Field0;
	NimStringV2 Field1;
};
struct tyTuple__P9b03d79atTGoSs9bM2vK9bPRA {
	NI Field0;
	NI Field1;
	tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw Field2;
	tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* Field3;
};
struct tySequence__oMQEWXk5BpYjO5RbdjG9a1Q_Content { NI cap; tyTuple__P9b03d79atTGoSs9bM2vK9bPRA data[SEQ_DECL_SIZE]; };
struct tyTuple__POGkMJ7lRVtwX3CODjpoJQ {
	NI Field0;
	NI Field1;
	NimStringV2 Field2;
	tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw Field3;
};
struct tySequence__JpsB9cJkHWqV5PFSGlQ0YKA_Content { NI cap; tyTuple__POGkMJ7lRVtwX3CODjpoJQ data[SEQ_DECL_SIZE]; };
struct tySequence__U9bYx6tPvWzQNzbZoriLUYA {
  NI len; tySequence__U9bYx6tPvWzQNzbZoriLUYA_Content* p;
};
struct tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA {
	tySequence__U9bYx6tPvWzQNzbZoriLUYA data;
	NI counter;
};
struct tyTuple__wXnHEQsKrl9aA3i9cwZxKIFg {
	NI Field0;
	NI Field1;
	tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw Field2;
	tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA Field3;
};
struct tySequence__oTNj4ZCEYoUfpbdjbvYW5Q_Content { NI cap; tyTuple__wXnHEQsKrl9aA3i9cwZxKIFg data[SEQ_DECL_SIZE]; };
struct tySequence__xjLg9a72SfsVVFciefDuvtw {
  NI len; tySequence__xjLg9a72SfsVVFciefDuvtw_Content* p;
};
struct tyObject_Pattern__K9baAv1Y6R5n9b0ZUxBeh6vA {
	tySequence__xjLg9a72SfsVVFciefDuvtw code;
	NI usedMatches;
	NimStringV2 error;
};
struct tyTuple__ZwcqNhWtDfKDJjVz9bcvE9cQ {
	tyObject_Pattern__K9baAv1Y6R5n9b0ZUxBeh6vA Field0;
	NimStringV2 Field1;
};
struct tySequence__j9bhAvfiD9alXYEwmFnFGFNA_Content { NI cap; tyTuple__ZwcqNhWtDfKDJjVz9bcvE9cQ data[SEQ_DECL_SIZE]; };
struct tyTuple__8ZxhPt1NwfElsJs8zUSV9bg {
	NI Field0;
	NimStringV2 Field1;
	NimStringV2 Field2;
};
struct tySequence__SFipDZIkFtPcrLs0AGBBjQ_Content { NI cap; tyTuple__8ZxhPt1NwfElsJs8zUSV9bg data[SEQ_DECL_SIZE]; };
struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content { NI cap; NimStringV2 data[SEQ_DECL_SIZE]; };
struct tySequence__4eQHGndY6XBYpFOH09apV8Q_Content { NI cap; tyTuple__UV3llMMYFckfui8YMBuUZA data[SEQ_DECL_SIZE]; };
struct tySequence__4eRCaZmrYLLw2k30GPTiMw_Content { NI cap; tyTuple__QeWl6B6ffS4pU6WWrtcrDw data[SEQ_DECL_SIZE]; };
struct tySequence__xSWRAcOHDJ9atP6GSXu4rIg_Content { NI cap; tyTuple__JR0Ke0jOQNp9c7GtCLA6l9bw data[SEQ_DECL_SIZE]; };
struct tyTuple__QU2h7wNBV4n3UySqE0p6GA {
	NI Field0;
	NI Field1;
	NimStringV2 Field2;
	tyObject_NimbleLockFileEntry__Ypx5oyXEN0PbU9aytH2Ux9cg Field3;
};
struct tySequence__aOopHV3XMi9ccpD6r88uCPw_Content { NI cap; tyTuple__QU2h7wNBV4n3UySqE0p6GA data[SEQ_DECL_SIZE]; };
struct tyTuple__2ing48W2SpAbVV8uI2izeg {
	NI Field0;
	NimStringV2 Field1;
	tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q Field2;
};
struct tySequence__7S9bqd9bKLZxKzsQQ1R5v2Ww_Content { NI cap; tyTuple__2ing48W2SpAbVV8uI2izeg data[SEQ_DECL_SIZE]; };
struct tySequence__jw542wgkeGE16s5T1k3nhg_Content { NI cap; tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* data[SEQ_DECL_SIZE]; };
struct tyTuple__GSIE033wnKaKWLU68PPv9cA {
	NI Field0;
	NI Field1;
	tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* Field2;
	tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* Field3;
};
struct tySequence__jlOSbs9c7TpYbYckLycDaQg_Content { NI cap; tyTuple__GSIE033wnKaKWLU68PPv9cA data[SEQ_DECL_SIZE]; };
struct tySequence__Cv9czsNzurrmCo02svI9bGaw_Content { NI cap; tyTuple__XXBtNszxg1rbD9cnycyLK7A data[SEQ_DECL_SIZE]; };
struct tyTuple__SgjupenGH7y9bVV9aV67zqsw {
	NI Field0;
	tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw Field1;
	tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q Field2;
};
struct tySequence__5tFKfHpt6l4YRslMO5BC9aA_Content { NI cap; tyTuple__SgjupenGH7y9bVV9aV67zqsw data[SEQ_DECL_SIZE]; };
struct tyTuple__DuXgJ7FhP2gM03hW7KEKAA {
	NI Field0;
	NimStringV2 Field1;
	tySequence__Cv9czsNzurrmCo02svI9bGaw Field2;
};
struct tySequence__eDvmA6YdVXqDawROf8i9aCg_Content { NI cap; tyTuple__DuXgJ7FhP2gM03hW7KEKAA data[SEQ_DECL_SIZE]; };
struct tyTuple__xYhUhS7X82rKTqbT9bRfCnw {
	NI Field0;
	NimStringV2 Field1;
	NI32 Field2;
};
struct tySequence__7lEisrXlQEzwtUKW5pzRCw_Content { NI cap; tyTuple__xYhUhS7X82rKTqbT9bRfCnw data[SEQ_DECL_SIZE]; };
struct tyTuple__g1w83cyyBYiVU9c8WEJWnjQ {
	NI Field0;
	NimStringV2 Field1;
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ Field2;
};
struct tySequence__JiteSJxrvz63iP2o9bcn2Sg_Content { NI cap; tyTuple__g1w83cyyBYiVU9c8WEJWnjQ data[SEQ_DECL_SIZE]; };
struct tySequence__UM2HJI1wUigOaSPzL6VC3A_Content { NI cap; tyTuple__otFEYh4BBZ0y3q0WDtkCOw data[SEQ_DECL_SIZE]; };
struct tySequence__t6JKa4Kdxpc0RJiFEWRI9bw_Content { NI cap; tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* data[SEQ_DECL_SIZE]; };
struct tyTuple__uSZbD2CRToUhqTsTNx4cgA {
	NI Field0;
	NimStringV2 Field1;
	tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA Field2;
};
struct tySequence__tas7jtBybgwOq4KxPkjGjg_Content { NI cap; tyTuple__uSZbD2CRToUhqTsTNx4cgA data[SEQ_DECL_SIZE]; };
struct tyTuple__5z13DioL2O9cny1CehriGcQ {
	NI Field0;
	tyObject_VersionTag__io9bcihbopiwucKorobyKdg Field1;
};
struct tySequence__U9bYx6tPvWzQNzbZoriLUYA_Content { NI cap; tyTuple__5z13DioL2O9cny1CehriGcQ data[SEQ_DECL_SIZE]; };
typedef NU8 tyEnum_Opcode__6ExfopoXudbZxEsLnN9aAhA;
struct tyObject_Instr__dVxI1dKsh9ajF145UocfxWg {
	tyEnum_Opcode__6ExfopoXudbZxEsLnN9aAhA opc;
	NU8 arg1;
	NU16 arg2;
};
struct tySequence__xjLg9a72SfsVVFciefDuvtw_Content { NI cap; tyObject_Instr__dVxI1dKsh9ajF145UocfxWg data[SEQ_DECL_SIZE]; };
static N_INLINE(void, nimZeroMem)(void* p_p0, NI size_p1);
static N_INLINE(void, nimSetMem__system_u2188)(void* a_p0, int v_p1, NI size_p2);
N_LIB_PRIVATE N_NIMCALL(void, notice__basicZgitops_u1160)(NimStringV2 p_p0, NimStringV2* args_p1, NI args_p1Len_0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, project__basicZcontext_u340)(void);
N_LIB_PRIVATE N_NIMCALL(void, createNimbleContext__basicZnimblecontext_u4050)(tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* Result);
N_LIB_PRIVATE N_NIMCALL(void, expandGraph__dependencies_u13558)(NimStringV2 path_p0, tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* nc_p1, tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw mode_p2, tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg onClone_p3, NIM_BOOL isLinkPath_p4, NIM_BOOL deferChildDeps_p5, tyObject_DepGraph__i1RlFs3c9aTk9bK2vN5Pa2yw* Result);
N_LIB_PRIVATE N_NIMCALL(void, pinGraph__lockfiles_u4209)(tyObject_DepGraph__i1RlFs3c9aTk9bK2vN5Pa2yw* graph_p0, NimStringV2 lockFile_p1, NIM_BOOL exportNimble_p2);
N_LIB_PRIVATE N_NIMCALL(void, info__basicZparse95requires_u40)(NimStringV2 p_p0, NimStringV2* args_p1, NI args_p1Len_0);
N_LIB_PRIVATE N_NIMCALL(void, newLockFile__lockfiles_u81)(tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg* Result);
N_LIB_PRIVATE N_NIMCALL(void, initOrderedTable__lockfiles_u95)(NI initialSize_p0, tyObject_OrderedTable__4fqy8hm4AzG4KT0VyQHXkA* Result);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, detectNimVersion__basicZcompilerversions_u113)(void);
static N_INLINE(void, eqdestroy___system_u281)(NimStringV2 x_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, detectGccVersion__basicZcompilerversions_u3)(void);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, detectClangVersion__basicZcompilerversions_u62)(void);
static N_INLINE(NIM_BOOL*, nimErrorFlag)(void);
N_LIB_PRIVATE N_NIMCALL(void, newNimbleLockFile__lockfiles_u135)(tyObject_NimbleLockFile__oTfzGqk1OrM0FPevkw5lng* Result);
N_LIB_PRIVATE N_NIMCALL(void, initOrderedTable__lockfiles_u149)(NI initialSize_p0, tyObject_OrderedTable__2EC6XbagKhoNMfwdKw2KSA* Result);
N_LIB_PRIVATE N_NIMCALL(tyObject_Table__KALKST4LIrYcd0Eig4ZY8A*, newTable__lockfiles_u4254)(NI initialSize_p0);
N_LIB_PRIVATE N_NIMCALL(void, info__basicZconfigutils_u114)(NimStringV2 p_p0, NimStringV2* args_p1, NI args_p1Len_0);
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(NimStringV2, rawNewString)(NI space_p0);
N_LIB_PRIVATE N_NIMCALL(tySequence__jw542wgkeGE16s5T1k3nhg, toposorted__basicZdepgraphtypes_u14)(tyObject_DepGraph__i1RlFs3c9aTk9bK2vN5Pa2yw* graph_p0);
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i_p0, NI n_p1);
N_LIB_PRIVATE N_NIMCALL(void, genLockEntry__lockfiles_u33)(tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg* lf_p0, tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* w_p1);
N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___basicZlockfiletypes_u2846)(tyObject_OrderedTable__4fqy8hm4AzG4KT0VyQHXkA* t_p0, NimStringV2 key_p1, tyObject_LockFileEntry__3L1m2gTVW2cOTqVLqvNEkw* val_p2);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, projectName__basicZpkgurls_u35)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* u_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, prefixedPath__lockfiles_u25)(NimStringV2 path_p0);
N_LIB_PRIVATE N_NIMCALL(void, nossplitPath)(NimStringV2 path_p0, tyTuple__UV3llMMYFckfui8YMBuUZA* Result);
static N_INLINE(NIM_BOOL, isRelativeTo__stdZpaths_u151)(NimStringV2 path_p0, NimStringV2 base_p1);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isRelativeTo__stdZprivateZospaths2_u156)(NimStringV2 path_p0, NimStringV2 base_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, depsDir__basicZcontext_u348)(NIM_BOOL relative_p0);
static N_INLINE(NimStringV2, slash___stdZprivateZospaths2_u88)(NimStringV2 head_p0, NimStringV2 tail_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nosjoinPath)(NimStringV2 head_p0, NimStringV2 tail_p1);
N_LIB_PRIVATE N_NOCONV(void, deallocShared)(void* p_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___stdZprivateZospaths2_u303)(tyTuple__UV3llMMYFckfui8YMBuUZA* dest_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, eqdup___system_u2757)(NimStringV2 src_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___pureZuri_u409)(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA* u_p0);
N_LIB_PRIVATE N_NIMCALL(void, url__basicZpkgurls_u44)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* p_p0, tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA* Result);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___basicZversions_u73)(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA c_p0);
N_LIB_PRIVATE N_NIMCALL(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA, currentGitCommit__basicZgitops_u1058)(NimStringV2 path_p0, tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw errorReportLevel_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqwasMoved___system_u2751)(NimStringV2* dest_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___basicZversions_u52)(NimStringV2 v_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZversions_u111)(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___pureZuri_u213)(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA* dest_p0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___basicZdeptypes_u456)(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* a_p0, tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* b_p1);
N_LIB_PRIVATE N_NIMCALL(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw*, activeNimbleRelease__basicZdeptypes_u561)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* pkg_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___basicZdeptypes_u287)(tySequence__Cv9czsNzurrmCo02svI9bGaw* dest_p0, tySequence__Cv9czsNzurrmCo02svI9bGaw src_p1);
N_LIB_PRIVATE N_NIMCALL(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA**, X5BX5D___basicZdepgraphtypes_u2508)(tyObject_OrderedTable__NAaHKPe5f6Y5G54ThvHCdw* t_p0, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* key_p1);
N_LIB_PRIVATE N_NIMCALL(void, incl__basicZversions_u858)(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q* s_p0, NimStringV2 key_p1);
N_LIB_PRIVATE N_NIMCALL(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q*, mgetOrPut__lockfiles_u4609)(tyObject_Table__KALKST4LIrYcd0Eig4ZY8A* t_p0, NimStringV2 key_p1, tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q val_p2);
N_LIB_PRIVATE N_NIMCALL(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q, initHashSet__OOZOOZOOZcompilerZoptions_u1045)(NI initialSize_p0);
N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__stdZassertions_u95)(NimStringV2 msg_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZversions_u5014)(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZdeptypes_u1632)(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZdeptypes_u284)(tySequence__Cv9czsNzurrmCo02svI9bGaw dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, debug__basicZgitops_u1174)(NimStringV2 p_p0, NimStringV2* args_p1, NI args_p1Len_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q, getOrDefault__lockfiles_u6144)(tyObject_Table__KALKST4LIrYcd0Eig4ZY8A* t_p0, NimStringV2 key_p1);
N_LIB_PRIVATE N_NIMCALL(void, genLockEntry__lockfiles_u2277)(tyObject_NimbleLockFile__oTfzGqk1OrM0FPevkw5lng* lf_p0, tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* w_p1, NimStringV2 cfg_p2, tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q deps_p3);
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ, findNimbleFile__basicZnimblecontext_u322)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* info_p0);
N_LIB_PRIVATE N_NIMCALL(void, error__basicZconfigutils_u107)(NimStringV2 p_p0, NimStringV2* args_p1, NI args_p1Len_0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___system_u5582)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZconfigutils_u18)(tyObject_NimbleFileInfo__i7bgYVgkuliKc9bzshfZ2Rw* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZnimblecontext_u145)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, extractRequiresInfo__basicZparse95requires_u4666)(NimStringV2 nimbleFile_p0, tyObject_NimbleFileInfo__i7bgYVgkuliKc9bzshfZ2Rw* Result);
N_LIB_PRIVATE N_NIMCALL(void, infoNow__lockfiles_u2294)(NimStringV2 p_p0, NimStringV2* args_p1, NI args_p1Len_0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nimbleChecksum__basicZnimblechecksums_u25)(NimStringV2 name_p0, NimStringV2 path_p1);
N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___lockfiles_u2589)(tyObject_OrderedTable__2EC6XbagKhoNMfwdKw2KSA* t_p0, NimStringV2 key_p1, tyObject_NimbleLockFileEntry__Ypx5oyXEN0PbU9aytH2Ux9cg* val_p2);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZcompiledpatterns_u879)(tySequence__SFipDZIkFtPcrLs0AGBBjQ dest_p0);
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ, newSeq__stdZsyncio_u578)(NI len_p0);
N_LIB_PRIVATE N_NIMCALL(NI, len__basicZdeptypesjson_u836)(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q s_p0);
N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i_p0, NI64 a_p1, NI64 b_p2);
static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZsets_u39)(NI hcode_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___system_u2754)(NimStringV2* dest_p0, NimStringV2 src_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqsink___system_u2760)(NimStringV2* dest_p0, NimStringV2 src_p1);
static N_INLINE(NIM_BOOL, nimAddInt)(NI a_p0, NI b_p1, NI* res_p2);
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
N_LIB_PRIVATE N_NIMCALL(void, eqwasMoved___system_u5579)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* dest_p0);
N_LIB_PRIVATE N_NIMCALL(tyObject_Table__ao79cQacnAZc5Mu0cN3jybg, toTable__lockfiles_u2482)(tyTuple__UV3llMMYFckfui8YMBuUZA* pairs_p0, NI pairs_p0Len_0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2*, getCfgPath__basicZdepgraphtypes_u3924)(tyObject_DepGraph__i1RlFs3c9aTk9bK2vN5Pa2yw* g_p0, tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* d_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZdepgraphtypes_u2971)(tySequence__jw542wgkeGE16s5T1k3nhg dest_p0);
static N_INLINE(NimStringV2, slash___stdZpaths_u84)(NimStringV2 head_p0, NimStringV2 tail_p1);
static N_INLINE(NIM_BOOL, fileExists__stdZfiles_u10)(NimStringV2 filename_p0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nosfileExists)(NimStringV2 filename_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqsink___system_u5591)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* dest_p0, tySequence__sM4lkSb7zS6F7OVMvW9cffQ src_p1);
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ, nsuSplitLines)(NimStringV2 s_p0, NIM_BOOL keepEol_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, readFile__stdZsyncio_u534)(NimStringV2 filename_p0);
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ, findNimbleFile__basicZnimblecontext_u53)(NimStringV2 dir_p0, NimStringV2 projectName_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqsink___lockfiles_u6356)(tyObject_LockedNimbleFile__DOnRVGKM2QMHPTyFu6A1rA* dest_p0, tyObject_LockedNimbleFile__DOnRVGKM2QMHPTyFu6A1rA* src_p1);
static N_INLINE(NimStringV2, relativePath__stdZpaths_u146)(NimStringV2 path_p0, NimStringV2 base_p1, NIM_CHAR sep_p2);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nosrelativePath)(NimStringV2 path_p0, NimStringV2 base_p1, NIM_CHAR sep_p2);
N_LIB_PRIVATE N_NIMCALL(void, write__basicZlockfiletypes_u4622)(tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg* lock_p0, NimStringV2 lockFilePath_p1);
N_LIB_PRIVATE N_NIMCALL(void, write__lockfiles_u385)(tyObject_NimbleLockFile__oTfzGqk1OrM0FPevkw5lng* lock_p0, NimStringV2 lockFilePath_p1);
N_LIB_PRIVATE N_NIMCALL(void, writeFile__stdZsyncio_u539)(NimStringV2 filename_p0, NimStringV2 content_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, pretty__pureZjson_u4853)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* node_p0, NI indent_p1);
N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA*, toJson__lockfiles_u388)(tyObject_NimbleLockFile__oTfzGqk1OrM0FPevkw5lng* a_p0, tyObject_ToJsonOptions__mRkT0c8Ugtl0BxbGElJ1oA opt_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___system_u5585)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* dest_p0, tySequence__sM4lkSb7zS6F7OVMvW9cffQ src_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___basicZcompiledpatterns_u882)(tySequence__SFipDZIkFtPcrLs0AGBBjQ* dest_p0, tySequence__SFipDZIkFtPcrLs0AGBBjQ src_p1);
N_LIB_PRIVATE N_NIMCALL(tyObject_ToJsonOptions__mRkT0c8Ugtl0BxbGElJ1oA, initToJsonOptions__stdZjsonutils_u33)(void);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___pureZjson_u321)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZdepgraphtypes_u3176)(tyObject_DepGraph__i1RlFs3c9aTk9bK2vN5Pa2yw* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZnimblecontext_u3564)(tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___lockfiles_u4511)(tyObject_Table__KALKST4LIrYcd0Eig4ZY8A* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___lockfiles_u364)(tyObject_NimbleLockFile__oTfzGqk1OrM0FPevkw5lng* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___lockfiles_u318)(tySequence__aOopHV3XMi9ccpD6r88uCPw dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZlockfiletypes_u4587)(tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg* dest_p0);
static N_INLINE(NIM_BOOL, eqeq___stdZpaths_u59)(NimStringV2 x_p0, NimStringV2 y_p1);
N_LIB_PRIVATE N_NIMCALL(NI, noscmpPaths)(NimStringV2 pathA_p0, NimStringV2 pathB_p1);
N_LIB_PRIVATE N_NIMCALL(void, convertNimbleLock__lockfiles_u6383)(NimStringV2 nimble_p0, tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg* Result);
N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA*, parseJson__pureZjson_u5632)(NimStringV2 buffer_p0, NIM_BOOL rawIntegers_p1, NIM_BOOL rawFloats_p2);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___pureZjson_u2438)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* a_p0, tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* b_p1);
N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA*, getOrDefault__pureZjson_u3914)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* node_p0, NimStringV2 key_p1);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__pureZjson_u3653)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* node_p0, NimStringV2 key_p1);
N_LIB_PRIVATE N_NIMCALL(void, error__basicZgitops_u1259)(NimStringV2 p_p0, NimStringV2* args_p1, NI args_p1Len_0);
static N_INLINE(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA*, X5BX5D___pureZjson_u3486)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* node_p0, NimStringV2 name_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___pureZjson_u324)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA** dest_p0, tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* src_p1);
N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA**, X5BX5D___pureZjson_u3055)(tyObject_OrderedTable__RIgoItpMnyMLlEioBo9bQIA* t_p0, NimStringV2 key_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___pureZjson_u20)(tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA e_p0);
N_LIB_PRIVATE N_NOINLINE(void, raiseFieldErrorStr)(NimStringV2 f_p0, NimStringV2 discVal_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___pureZjson_u486)(tyObject_OrderedTable__RIgoItpMnyMLlEioBo9bQIA* dest_p0, tyObject_OrderedTable__RIgoItpMnyMLlEioBo9bQIA* src_p1);
static N_INLINE(NI, len__pureZjson_u2571)(tyObject_OrderedTable__RIgoItpMnyMLlEioBo9bQIA* t_p0);
static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZtables_u31)(NI hcode_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqwasMoved___pureZjson_u318)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA** dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqsink___pureZjson_u330)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA** dest_p0, tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* src_p1);
static N_INLINE(NIM_BOOL, eqStrings)(NimStringV2 a_p0, NimStringV2 b_p1);
static N_INLINE(NIM_BOOL, equalMem__system_u1763)(void* a_p0, void* b_p1, NI size_p2);
static N_INLINE(int, nimCmpMem)(void* a_p0, void* b_p1, NI size_p2);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, getStr__pureZjson_u551)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* n_p0, NimStringV2 default_p1);
N_LIB_PRIVATE N_NIMCALL(void, createUrl__basicZnimblecontext_u3215)(tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* nc_p0, NimStringV2 nameOrig_p1, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* Result);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZpkgurls_u261)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___pureZjson_u483)(tyObject_OrderedTable__RIgoItpMnyMLlEioBo9bQIA* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, readLockFile__basicZlockfiletypes_u52)(NimStringV2 filename_p0, tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg* Result);
N_LIB_PRIVATE N_NIMCALL(tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ*, context__basicZcontext_u319)(void);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nsuJoinSep)(NimStringV2* a_p0, NI a_p0Len_0, NimStringV2 sep_p1);
N_LIB_PRIVATE N_NIMCALL(void*, newSeqPayload)(NI cap_p0, NI elemSize_p1, NI elemAlign_p2);
static N_INLINE(NI, len__basicZlockfiletypes_u5133)(tyObject_OrderedTable__4fqy8hm4AzG4KT0VyQHXkA* t_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___basicZlockfiletypes_u502)(tyObject_LockFileEntry__3L1m2gTVW2cOTqVLqvNEkw* dest_p0, tyObject_LockFileEntry__3L1m2gTVW2cOTqVLqvNEkw* src_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, fromPrefixedPath__lockfiles_u29)(NimStringV2 path_p0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nsuStartsWith)(NimStringV2 s_p0, NimStringV2 prefix_p1);
N_LIB_PRIVATE N_NIMCALL(void, nsuRemovePrefixString)(NimStringV2* s_p0, NimStringV2 prefix_p1);
static N_INLINE(NIM_BOOL, dirExists__stdZdirs_u3)(NimStringV2 dir_p0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nosdirExists)(NimStringV2 dir_p0);
N_LIB_PRIVATE N_NIMCALL(tyTuple__TLTPscngTyX39coeZ9b9cEB7w, clone__basicZgitops_u503)(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA* url_p0, NimStringV2 dest_p1, NI retries_p2);
N_LIB_PRIVATE N_NIMCALL(void, toUri__basicZpkgurls_u41)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* u_p0, tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA* Result);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZgitops_u637)(tyTuple__TLTPscngTyX39coeZ9b9cEB7w* dest_p0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, ensureCanonicalOrigin__basicZgitops_u381)(NimStringV2 path_p0, tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA* url_p1, NimStringV2 origin_p2, tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw errorReportLevel_p3);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, getCanonicalUrl__basicZgitops_u349)(NimStringV2 path_p0, NimStringV2 origin_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___basicZpkgurls_u47)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* u_p0);
N_LIB_PRIVATE N_NIMCALL(void, createUrlSkipPatterns__basicZpkgurls_u205)(NimStringV2 raw_p0, NIM_BOOL skipDirTest_p1, NIM_BOOL forceWindows_p2, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* Result);
N_LIB_PRIVATE N_NIMCALL(void, message__basicZgitops_u366)(tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw k_p0, NimStringV2 p_p1, NimStringV2* args_p2, NI args_p2Len_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA, initCommitHash__basicZversions_u85)(NimStringV2 raw_p0, tyEnum_CommitOrigin__tDM8mWEQT3dZtKoOj7Mgww origin_p1);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, checkoutGitCommitFull__basicZgitops_u1085)(NimStringV2 path_p0, tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA commit_p1, NimStringV2 origin_p2, tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw errorReportLevel_p3);
N_LIB_PRIVATE N_NIMCALL(void, add__depgraphs_u21475)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* x_p0, NimStringV2 y_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, findCfgDir__basicZconfigutils_u10)(NimStringV2 dir_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZlockfiletypes_u499)(tyObject_LockFileEntry__3L1m2gTVW2cOTqVLqvNEkw* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, patchNimCfg__basicZconfigutils_u63)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ deps_p0, NimStringV2 cfgPath_p1, tySequence__sM4lkSb7zS6F7OVMvW9cffQ features_p2);
N_LIB_PRIVATE N_NIMCALL(void, compareVersion__lockfiles_u6375)(NimStringV2 key_p0, NimStringV2 wanted_p1, NimStringV2 got_p2);
N_LIB_PRIVATE N_NIMCALL(void, warn__basicZpkgurls_u133)(NimStringV2 p_p0, NimStringV2* args_p1, NI args_p1Len_0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZconfigutils_u150)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, warn__basicZgitops_u3033)(NimStringV2 p_p0, NimStringV2* args_p1, NI args_p1Len_0);
static N_INLINE(NimStringV2, getCurrentDir__stdZpaths_u191)(void);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nosgetCurrentDir)(void);
N_LIB_PRIVATE N_NIMCALL(void, trace__basicZgitops_u1078)(NimStringV2 p_p0, NimStringV2* args_p1, NI args_p1Len_0);
static N_INLINE(void, setCurrentDir__stdZprivateZosdirs_u506)(NimStringV2 newDir_p0);
static N_INLINE(NCSTRING, nimToCStringConv)(NimStringV2 s_p0);
N_LIB_PRIVATE N_NOINLINE(void, raiseOSError__stdZoserrors_u119)(NI32 errorCode_p0, NimStringV2 additionalInfo_p1);
N_LIB_PRIVATE N_NIMCALL(NI32, osLastError__stdZoserrors_u122)(void);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, short__basicZversions_u142)(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA c_p0);
static const struct {
  NI cap; NIM_CHAR data[9+1];
} TM__YwaTbafr83OQEbnpsyhGwA_2 = { 9 | NIM_STRLIT_FLAG, "atlas:pin" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_3 = {9, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_2};
static const struct {
  NI cap; NIM_CHAR data[16+1];
} TM__YwaTbafr83OQEbnpsyhGwA_4 = { 16 | NIM_STRLIT_FLAG, "Pinning project:" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_5 = {16, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_4};
static const struct {
  NI cap; NIM_CHAR data[3+1];
} TM__YwaTbafr83OQEbnpsyhGwA_6 = { 3 | NIM_STRLIT_FLAG, "pin" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_7 = {3, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_6};
static const struct {
  NI cap; NIM_CHAR data[15+1];
} TM__YwaTbafr83OQEbnpsyhGwA_9 = { 15 | NIM_STRLIT_FLAG, "pinning project" };
static const struct {
  NI cap; NIM_CHAR data[6+1];
} TM__YwaTbafr83OQEbnpsyhGwA_10 = { 6 | NIM_STRLIT_FLAG, "macosx" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_11 = {6, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_10};
static const struct {
  NI cap; NIM_CHAR data[5+1];
} TM__YwaTbafr83OQEbnpsyhGwA_12 = { 5 | NIM_STRLIT_FLAG, "arm64" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_13 = {5, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_12};
static const struct {
  NI cap; NIM_CHAR data[18+1];
} TM__YwaTbafr83OQEbnpsyhGwA_14 = { 18 | NIM_STRLIT_FLAG, "pinning lockfile: " };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_15 = {18, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_14};
static const struct {
  NI cap; NIM_CHAR data[5+1];
} TM__YwaTbafr83OQEbnpsyhGwA_16 = { 5 | NIM_STRLIT_FLAG, "$deps" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_17 = {5, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_16};
static const struct {
  NI cap; NIM_CHAR data[8+1];
} TM__YwaTbafr83OQEbnpsyhGwA_18 = { 8 | NIM_STRLIT_FLAG, "$project" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_19 = {8, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_18};
static const struct {
  NI cap; NIM_CHAR data[0+1];
} TM__YwaTbafr83OQEbnpsyhGwA_20 = { 0 | NIM_STRLIT_FLAG, "" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_21 = {0, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_20};
static const struct {
  NI cap; NIM_CHAR data[90+1];
} TM__YwaTbafr83OQEbnpsyhGwA_22 = { 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__YwaTbafr83OQEbnpsyhGwA_23 = {90, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_22};
static const struct {
  NI cap; NIM_CHAR data[17+1];
} TM__YwaTbafr83OQEbnpsyhGwA_24 = { 17 | NIM_STRLIT_FLAG, "exporting nimble " };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_25 = {17, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_24};
static const struct {
  NI cap; NIM_CHAR data[29+1];
} TM__YwaTbafr83OQEbnpsyhGwA_26 = { 29 | NIM_STRLIT_FLAG, "Couldn\'t find nimble file at " };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_27 = {29, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_26};
static const struct {
  NI cap; NIM_CHAR data[27+1];
} TM__YwaTbafr83OQEbnpsyhGwA_29 = { 27 | NIM_STRLIT_FLAG, "calculating nimble checksum" };
static const struct {
  NI cap; NIM_CHAR data[3+1];
} TM__YwaTbafr83OQEbnpsyhGwA_30 = { 3 | NIM_STRLIT_FLAG, "git" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_31 = {3, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_30};
static const struct {
  NI cap; NIM_CHAR data[94+1];
} TM__YwaTbafr83OQEbnpsyhGwA_33 = { 94 | NIM_STRLIT_FLAG, "sets.nim(273, 13) `len(s) == length` the length of the HashSet changed while iterating over it" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_34 = {94, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_33};
static const struct {
  NI cap; NIM_CHAR data[4+1];
} TM__YwaTbafr83OQEbnpsyhGwA_36 = { 4 | NIM_STRLIT_FLAG, "sha1" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_37 = {4, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_36};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_38 = {90, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_22};
static const struct {
  NI cap; NIM_CHAR data[7+1];
} TM__YwaTbafr83OQEbnpsyhGwA_39 = { 7 | NIM_STRLIT_FLAG, "nim.cfg" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_40 = {7, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_39};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_41 = {0, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_20};
static const struct {
  NI cap; NIM_CHAR data[11+1];
} TM__YwaTbafr83OQEbnpsyhGwA_42 = { 11 | NIM_STRLIT_FLAG, "nimble.lock" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_43 = {11, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_42};
static const struct {
  NI cap; NIM_CHAR data[7+1];
} TM__YwaTbafr83OQEbnpsyhGwA_44 = { 7 | NIM_STRLIT_FLAG, "version" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_45 = {7, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_44};
static const struct {
  NI cap; NIM_CHAR data[8+1];
} TM__YwaTbafr83OQEbnpsyhGwA_46 = { 8 | NIM_STRLIT_FLAG, "packages" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_47 = {8, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_46};
static const struct {
  NI cap; NIM_CHAR data[23+1];
} TM__YwaTbafr83OQEbnpsyhGwA_49 = { 23 | NIM_STRLIT_FLAG, "invalid nimble lockfile" };
static const struct {
  NI cap; NIM_CHAR data[35+1];
} TM__YwaTbafr83OQEbnpsyhGwA_50 = { 35 | NIM_STRLIT_FLAG, "json.nim(521, 9) `not isNil(node)` " };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_51 = {35, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_50};
static const struct {
  NI cap; NIM_CHAR data[40+1];
} TM__YwaTbafr83OQEbnpsyhGwA_52 = { 40 | NIM_STRLIT_FLAG, "json.nim(522, 9) `node.kind == JObject` " };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_53 = {40, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_52};
static const struct {
  NI cap; NIM_CHAR data[70+1];
} TM__YwaTbafr83OQEbnpsyhGwA_54 = { 70 | NIM_STRLIT_FLAG, "field \'fields\' is not accessible for type \'JsonNodeObj\' using \'kind = " };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_55 = {70, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_54};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_56 = {8, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_46};
static const struct {
  NI cap; NIM_CHAR data[85+1];
} TM__YwaTbafr83OQEbnpsyhGwA_57 = { 85 | NIM_STRLIT_FLAG, "json.nim(847, 3) `node.kind == JObject` : pairs() can not iterate a JsonNode of kind " };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_58 = {85, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_57};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_59 = {70, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_54};
static const struct {
  NI cap; NIM_CHAR data[3+1];
} TM__YwaTbafr83OQEbnpsyhGwA_60 = { 3 | NIM_STRLIT_FLAG, "nim" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_61 = {3, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_60};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_62 = {7, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_44};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_63 = {0, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_20};
static const struct {
  NI cap; NIM_CHAR data[3+1];
} TM__YwaTbafr83OQEbnpsyhGwA_64 = { 3 | NIM_STRLIT_FLAG, "url" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_65 = {3, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_64};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_66 = {0, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_20};
static const struct {
  NI cap; NIM_CHAR data[10+1];
} TM__YwaTbafr83OQEbnpsyhGwA_68 = { 10 | NIM_STRLIT_FLAG, " imported " };
static const struct {
  NI cap; NIM_CHAR data[11+1];
} TM__YwaTbafr83OQEbnpsyhGwA_69 = { 11 | NIM_STRLIT_FLAG, "vcsRevision" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_70 = {11, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_69};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_71 = {0, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_20};
static const struct {
  NI cap; NIM_CHAR data[90+1];
} TM__YwaTbafr83OQEbnpsyhGwA_72 = { 90 | NIM_STRLIT_FLAG, "tables.nim(1822, 11) `len(t) == L` the length of the table changed while iterating over it" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_73 = {90, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_72};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_74 = {7, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_39};
static const struct {
  NI cap; NIM_CHAR data[1+1];
} TM__YwaTbafr83OQEbnpsyhGwA_75 = { 1 | NIM_STRLIT_FLAG, "\012" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_76 = {1, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_75};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_77 = {1, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_75};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_78 = {5, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_16};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_79 = {5, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_16};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_80 = {8, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_18};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_81 = {8, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_18};
static const struct {
  NI cap; NIM_CHAR data[12+1];
} TM__YwaTbafr83OQEbnpsyhGwA_82 = { 12 | NIM_STRLIT_FLAG, "atlas:replay" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_83 = {12, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_82};
static const struct {
  NI cap; NIM_CHAR data[16+1];
} TM__YwaTbafr83OQEbnpsyhGwA_84 = { 16 | NIM_STRLIT_FLAG, "Setting up repo:" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_85 = {16, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_84};
static const struct {
  NI cap; NIM_CHAR data[10+1];
} TM__YwaTbafr83OQEbnpsyhGwA_86 = { 10 | NIM_STRLIT_FLAG, "to commit:" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_87 = {10, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_86};
static const struct {
  NI cap; NIM_CHAR data[6+1];
} TM__YwaTbafr83OQEbnpsyhGwA_88 = { 6 | NIM_STRLIT_FLAG, "origin" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_89 = {6, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_88};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_90 = {6, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_88};
static const struct {
  NI cap; NIM_CHAR data[39+1];
} TM__YwaTbafr83OQEbnpsyhGwA_91 = { 39 | NIM_STRLIT_FLAG, "remote URL differs from expected: got: " };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_92 = {39, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_91};
static const struct {
  NI cap; NIM_CHAR data[15+1];
} TM__YwaTbafr83OQEbnpsyhGwA_93 = { 15 | NIM_STRLIT_FLAG, " but expected: " };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_94 = {15, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_93};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_95 = {6, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_88};
static const struct {
  NI cap; NIM_CHAR data[32+1];
} TM__YwaTbafr83OQEbnpsyhGwA_96 = { 32 | NIM_STRLIT_FLAG, "unable to convert to full clone:" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_97 = {32, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_96};
static const struct {
  NI cap; NIM_CHAR data[3+1];
} TM__YwaTbafr83OQEbnpsyhGwA_98 = { 3 | NIM_STRLIT_FLAG, "at:" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_99 = {3, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_98};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_100 = {90, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_72};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_101 = {6, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_10};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_102 = {5, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_12};
static const struct {
  NI cap; NIM_CHAR data[57+1];
} TM__YwaTbafr83OQEbnpsyhGwA_103 = { 57 | NIM_STRLIT_FLAG, "environment mismatch:  versions differ: previously used: " };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_104 = {57, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_103};
static const struct {
  NI cap; NIM_CHAR data[13+1];
} TM__YwaTbafr83OQEbnpsyhGwA_105 = { 13 | NIM_STRLIT_FLAG, " but now at: " };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_106 = {13, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_105};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_107 = {3, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_60};
static const struct {
  NI cap; NIM_CHAR data[3+1];
} TM__YwaTbafr83OQEbnpsyhGwA_108 = { 3 | NIM_STRLIT_FLAG, "gcc" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_109 = {3, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_108};
static const struct {
  NI cap; NIM_CHAR data[5+1];
} TM__YwaTbafr83OQEbnpsyhGwA_110 = { 5 | NIM_STRLIT_FLAG, "clang" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_111 = {5, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_110};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_112 = {11, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_42};
static const struct {
  NI cap; NIM_CHAR data[13+1];
} TM__YwaTbafr83OQEbnpsyhGwA_114 = { 13 | NIM_STRLIT_FLAG, "repo missing!" };
static const struct {
  NI cap; NIM_CHAR data[26+1];
} TM__YwaTbafr83OQEbnpsyhGwA_115 = { 26 | NIM_STRLIT_FLAG, "Current directory is now: " };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_116 = {26, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_115};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_117 = {6, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_88};
static const struct {
  NI cap; NIM_CHAR data[36+1];
} TM__YwaTbafr83OQEbnpsyhGwA_118 = { 36 | NIM_STRLIT_FLAG, "remote URL has been changed; found: " };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_119 = {36, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_118};
static const struct {
  NI cap; NIM_CHAR data[15+1];
} TM__YwaTbafr83OQEbnpsyhGwA_120 = { 15 | NIM_STRLIT_FLAG, " lockfile has: " };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_121 = {15, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_120};
static const struct {
  NI cap; NIM_CHAR data[23+1];
} TM__YwaTbafr83OQEbnpsyhGwA_122 = { 23 | NIM_STRLIT_FLAG, "commit differs; found: " };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_123 = {23, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_122};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_124 = {15, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_120};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_125 = {9, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_2};
static const struct {
  NI cap; NIM_CHAR data[5+1];
} TM__YwaTbafr83OQEbnpsyhGwA_126 = { 5 | NIM_STRLIT_FLAG, "Repo:" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_127 = {5, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_126};
static const struct {
  NI cap; NIM_CHAR data[17+1];
} TM__YwaTbafr83OQEbnpsyhGwA_128 = { 17 | NIM_STRLIT_FLAG, "is up to date at:" };
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_129 = {17, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_128};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_130 = {90, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_72};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_131 = {6, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_10};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_132 = {5, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_12};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_133 = {3, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_60};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_134 = {3, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_108};
static const NimStringV2 TM__YwaTbafr83OQEbnpsyhGwA_135 = {5, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_110};
static NIM_CONST tyArray__YgExxhfgKcesA5EOUj1MOA TM__YwaTbafr83OQEbnpsyhGwA_8 = {{15, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_9}}
;
static NIM_CONST tyArray__YgExxhfgKcesA5EOUj1MOA TM__YwaTbafr83OQEbnpsyhGwA_28 = {{27, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_29}}
;
static NIM_CONST tyArray__YgExxhfgKcesA5EOUj1MOA TM__YwaTbafr83OQEbnpsyhGwA_48 = {{23, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_49}}
;
static NIM_CONST tyArray__YgExxhfgKcesA5EOUj1MOA TM__YwaTbafr83OQEbnpsyhGwA_67 = {{10, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_68}}
;
static NIM_CONST tyArray__YgExxhfgKcesA5EOUj1MOA TM__YwaTbafr83OQEbnpsyhGwA_113 = {{13, (NimStrPayload*)&TM__YwaTbafr83OQEbnpsyhGwA_114}}
;
extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4198;
static N_INLINE(void, nimSetMem__system_u2188)(void* a_p0, int v_p1, NI size_p2) {
	void* T1_;
	T1_ = (void*)0;
	T1_ = memset(a_p0, v_p1, ((size_t) (size_p2)));
}
static N_INLINE(void, nimZeroMem)(void* p_p0, NI size_p1) {
	nimSetMem__system_u2188(p_p0, ((int)0), size_p1);
}
static N_INLINE(void, eqdestroy___system_u281)(NimStringV2 x_p0) {
}
static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) {
	NIM_BOOL* result;
	result = (&nimInErrorMode__system_u4198);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, newLockFile__lockfiles_u81)(tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg* Result) {
	NimStringV2 T1_;
	NimStringV2 T2_;
	NimStringV2 T3_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	nimZeroMem((void*)Result, sizeof(tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg));
	nimZeroMem((void*)Result, sizeof(tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg));
	initOrderedTable__lockfiles_u95(((NI)32), (&(*Result).items));
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	(*Result).hostOS = TM__YwaTbafr83OQEbnpsyhGwA_11;
	(*Result).hostCPU = TM__YwaTbafr83OQEbnpsyhGwA_13;
	T1_.len = 0; T1_.p = NIM_NIL;
	T1_ = detectNimVersion__basicZcompilerversions_u113();
	if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T1_); goto BeforeRet_;}
	(*Result).nimVersion = T1_;
	T2_.len = 0; T2_.p = NIM_NIL;
	T2_ = detectGccVersion__basicZcompilerversions_u3();
	if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T2_); goto BeforeRet_;}
	(*Result).gccVersion = T2_;
	T3_.len = 0; T3_.p = NIM_NIL;
	T3_ = detectClangVersion__basicZcompilerversions_u62();
	if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T3_); goto BeforeRet_;}
	(*Result).clangVersion = T3_;
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, newNimbleLockFile__lockfiles_u135)(tyObject_NimbleLockFile__oTfzGqk1OrM0FPevkw5lng* Result) {
	tyObject_OrderedTable__2EC6XbagKhoNMfwdKw2KSA tbl_1;
	tyObject_OrderedTable__2EC6XbagKhoNMfwdKw2KSA blitTmp_1;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	nimZeroMem((void*)Result, sizeof(tyObject_NimbleLockFile__oTfzGqk1OrM0FPevkw5lng));
	nimZeroMem((void*)(&tbl_1), sizeof(tyObject_OrderedTable__2EC6XbagKhoNMfwdKw2KSA));
	initOrderedTable__lockfiles_u149(((NI)32), (&tbl_1));
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	(*Result).version = ((NI)1);
	nimZeroMem((void*)(&blitTmp_1), sizeof(tyObject_OrderedTable__2EC6XbagKhoNMfwdKw2KSA));
	blitTmp_1 = tbl_1;
	(*Result).packages = blitTmp_1;
	}BeforeRet_: ;
}
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_: ;
}
static N_INLINE(NIM_BOOL, isRelativeTo__stdZpaths_u151)(NimStringV2 path_p0, NimStringV2 base_p1) {
	NIM_BOOL result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (NIM_BOOL)0;
	result = isRelativeTo__stdZprivateZospaths2_u156(path_p0, base_p1);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NimStringV2, slash___stdZprivateZospaths2_u88)(NimStringV2 head_p0, NimStringV2 tail_p1) {
	NimStringV2 result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	result = nosjoinPath(head_p0, tail_p1);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, prefixedPath__lockfiles_u25)(NimStringV2 path_p0) {
	NimStringV2 result;
	tyTuple__UV3llMMYFckfui8YMBuUZA parts_1;
	NimStringV2 colontmpD_;
	NimStringV2 colontmpD__2;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	nimZeroMem((void*)(&parts_1), sizeof(tyTuple__UV3llMMYFckfui8YMBuUZA));
	colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
	colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
	nossplitPath(path_p0, (&parts_1));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		NIM_BOOL T4_;
		colontmpD_ = depsDir__basicZcontext_u348(NIM_FALSE);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		T4_ = (NIM_BOOL)0;
		T4_ = isRelativeTo__stdZpaths_u151(path_p0, colontmpD_);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if (!T4_) goto LA5_;
		result = slash___stdZprivateZospaths2_u88(TM__YwaTbafr83OQEbnpsyhGwA_17, parts_1.Field1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if (colontmpD__2.p && !(colontmpD__2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__2.p);
}
		if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
		eqdestroy___stdZprivateZospaths2_u303((&parts_1));
		goto BeforeRet_;
	}
	goto LA2_;
LA5_: ;
	{
		NIM_BOOL T8_;
		colontmpD__2 = project__basicZcontext_u340();
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		T8_ = (NIM_BOOL)0;
		T8_ = isRelativeTo__stdZpaths_u151(path_p0, colontmpD__2);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if (!T8_) goto LA9_;
		result = slash___stdZprivateZospaths2_u88(TM__YwaTbafr83OQEbnpsyhGwA_19, parts_1.Field1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if (colontmpD__2.p && !(colontmpD__2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__2.p);
}
		if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
		eqdestroy___stdZprivateZospaths2_u303((&parts_1));
		goto BeforeRet_;
	}
	goto LA2_;
LA9_: ;
	{
		NimStringV2 colontmpD__3;
		colontmpD__3 = eqdup___system_u2757(path_p0);
		result = colontmpD__3;
		if (colontmpD__2.p && !(colontmpD__2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__2.p);
}
		if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
		eqdestroy___stdZprivateZospaths2_u303((&parts_1));
		goto BeforeRet_;
	}
LA2_: ;
	{
		LA1_:;
	}
	{
		if (colontmpD__2.p && !(colontmpD__2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__2.p);
}
		if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
		eqdestroy___stdZprivateZospaths2_u303((&parts_1));
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, genLockEntry__lockfiles_u33)(tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg* lf_p0, tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* w_p1) {
	NimStringV2 colontmpD_;
	tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA colontmpD__2;
	tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA colontmpD__3;
	NimStringV2 colontmpD__4;
	NimStringV2 colontmpD__5;
	tyObject_LockFileEntry__3L1m2gTVW2cOTqVLqvNEkw T2_;
	tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA T3_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
	nimZeroMem((void*)(&colontmpD__2), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
	nimZeroMem((void*)(&colontmpD__3), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
	colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
	colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL;
	colontmpD_ = projectName__basicZpkgurls_u35((&(*w_p1).url));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T2_.dir = prefixedPath__lockfiles_u25((*w_p1).ondisk);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	nimZeroMem((void*)(&T3_), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
	url__basicZpkgurls_u44((&(*w_p1).url), (&T3_));
	colontmpD__2 = T3_;
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T2_.url = dollar___pureZuri_u409((&colontmpD__2));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	colontmpD__3 = currentGitCommit__basicZgitops_u1058((*w_p1).ondisk, ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)4));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T2_.commit = dollar___basicZversions_u73(colontmpD__3);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		NimStringV2 blitTmp_1;
		if (!((*w_p1).activeVersion == 0)) goto LA6_;
		colontmpD__4 = TM__YwaTbafr83OQEbnpsyhGwA_21;
		blitTmp_1 = colontmpD__4;
		eqwasMoved___system_u2751((&colontmpD__4));
		T2_.version = blitTmp_1;
	}
	goto LA4_;
LA6_: ;
	{
		NimStringV2 blitTmp_2;
		colontmpD__5 = dollar___basicZversions_u52((*(*w_p1).activeVersion).vtag.v);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		blitTmp_2 = colontmpD__5;
		eqwasMoved___system_u2751((&colontmpD__5));
		T2_.version = blitTmp_2;
	}
LA4_: ;
	X5BX5Deq___basicZlockfiletypes_u2846((&(*lf_p0).items), colontmpD_, (&T2_));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		LA1_:;
	}
	{
		if (colontmpD__5.p && !(colontmpD__5.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__5.p);
}
		if (colontmpD__4.p && !(colontmpD__4.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__4.p);
}
		eqdestroy___basicZversions_u111((&colontmpD__3));
		eqdestroy___pureZuri_u213((&colontmpD__2));
		if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, eqsink___lockfiles_u787)(tyObject_NimbleLockFileEntry__Ypx5oyXEN0PbU9aytH2Ux9cg* dest_p0, tyObject_NimbleLockFileEntry__Ypx5oyXEN0PbU9aytH2Ux9cg* src_p1) {
	if ((*dest_p0).version.p != (*src_p1).version.p) {	if ((*dest_p0).version.p && !((*dest_p0).version.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared((*dest_p0).version.p);
}
	}
(*dest_p0).version.len = (*src_p1).version.len; (*dest_p0).version.p = (*src_p1).version.p;
	if ((*dest_p0).vcsRevision.p != (*src_p1).vcsRevision.p) {	if ((*dest_p0).vcsRevision.p && !((*dest_p0).vcsRevision.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared((*dest_p0).vcsRevision.p);
}
	}
(*dest_p0).vcsRevision.len = (*src_p1).vcsRevision.len; (*dest_p0).vcsRevision.p = (*src_p1).vcsRevision.p;
	if ((*dest_p0).url.p != (*src_p1).url.p) {	if ((*dest_p0).url.p && !((*dest_p0).url.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared((*dest_p0).url.p);
}
	}
(*dest_p0).url.len = (*src_p1).url.len; (*dest_p0).url.p = (*src_p1).url.p;
	if ((*dest_p0).downloadMethod.p != (*src_p1).downloadMethod.p) {	if ((*dest_p0).downloadMethod.p && !((*dest_p0).downloadMethod.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared((*dest_p0).downloadMethod.p);
}
	}
(*dest_p0).downloadMethod.len = (*src_p1).downloadMethod.len; (*dest_p0).downloadMethod.p = (*src_p1).downloadMethod.p;
	if ((*dest_p0).dependencies.p != (*src_p1).dependencies.p) {	eqdestroy___system_u5582((*dest_p0).dependencies);
	}
(*dest_p0).dependencies.len = (*src_p1).dependencies.len; (*dest_p0).dependencies.p = (*src_p1).dependencies.p;
	if ((*dest_p0).checksums.data.p != (*src_p1).checksums.data.p) {	eqdestroy___basicZcompiledpatterns_u879((*dest_p0).checksums.data);
	}
(*dest_p0).checksums.data.len = (*src_p1).checksums.data.len; (*dest_p0).checksums.data.p = (*src_p1).checksums.data.p;
	(*dest_p0).checksums.counter = (*src_p1).checksums.counter;
}
N_LIB_PRIVATE N_NIMCALL(void, eqwasMoved___lockfiles_u775)(tyObject_NimbleLockFileEntry__Ypx5oyXEN0PbU9aytH2Ux9cg* dest_p0) {
	(*dest_p0).version.len = 0; (*dest_p0).version.p = NIM_NIL;
	(*dest_p0).vcsRevision.len = 0; (*dest_p0).vcsRevision.p = NIM_NIL;
	(*dest_p0).url.len = 0; (*dest_p0).url.p = NIM_NIL;
	(*dest_p0).downloadMethod.len = 0; (*dest_p0).downloadMethod.p = NIM_NIL;
	(*dest_p0).dependencies.len = 0; (*dest_p0).dependencies.p = NIM_NIL;
	(*dest_p0).checksums.data.len = 0; (*dest_p0).checksums.data.p = NIM_NIL;
	(*dest_p0).checksums.counter = 0;
}
static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZsets_u39)(NI hcode_p0) {
	NIM_BOOL result;
	result = !((hcode_p0 == ((NI)0)));
	return result;
}
static N_INLINE(NIM_BOOL, nimAddInt)(NI a_p0, NI b_p1, NI* res_p2) {
	NIM_BOOL result;
	NI r_1;
	result = (NIM_BOOL)0;
	r_1 = ((NI) ((NU)((NU64)(((NU) (a_p0))) + (NU64)(((NU) (b_p1))))));
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (((NI)0) <= (NI)(r_1 ^ a_p0));
		if (T3_) goto LA4_;
		T3_ = (((NI)0) <= (NI)(r_1 ^ b_p1));
LA4_: ;
		if (!T3_) goto LA5_;
		(*res_p2) = r_1;
	}
	goto LA1_;
LA5_: ;
	{
		result = NIM_TRUE;
	}
LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, genLockEntry__lockfiles_u2277)(tyObject_NimbleLockFile__oTfzGqk1OrM0FPevkw5lng* lf_p0, tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* w_p1, NimStringV2 cfg_p2, tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q deps_p3) {
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ nimbleFiles_1;
	NimStringV2 nimbleFile_1;
	tyObject_NimbleFileInfo__i7bgYVgkuliKc9bzshfZ2Rw info_1;
	tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA commit_1;
	NimStringV2 colontmpD_;
	NimStringV2 chk_1;
	NimStringV2 colontmpD__2;
	NimStringV2 colontmpD__3;
	tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA colontmpD__4;
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ colontmpD__5;
	NimStringV2 T2_;
	tyObject_NimbleLockFileEntry__Ypx5oyXEN0PbU9aytH2Ux9cg T14_;
	NimStringV2 blitTmp_1;
	tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA T15_;
	tyArray__OnzEA2l6u7CA8vqyXXXq7Q T33_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	nimbleFiles_1.len = 0; nimbleFiles_1.p = NIM_NIL;
	nimbleFile_1.len = 0; nimbleFile_1.p = NIM_NIL;
	nimZeroMem((void*)(&info_1), sizeof(tyObject_NimbleFileInfo__i7bgYVgkuliKc9bzshfZ2Rw));
	nimZeroMem((void*)(&commit_1), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
	colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
	chk_1.len = 0; chk_1.p = NIM_NIL;
	colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
	colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
	nimZeroMem((void*)(&colontmpD__4), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
	colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL;
	nimbleFiles_1 = findNimbleFile__basicZnimblecontext_u322(w_p1);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T2_.len = 0; T2_.p = NIM_NIL;
	{
		NI T5_;
		T5_ = nimbleFiles_1.len;
		if (!(T5_ == ((NI)1))) goto LA6_;
		if (((NI)0) < 0 || ((NI)0) >= nimbleFiles_1.len){ raiseIndexError2(((NI)0),nimbleFiles_1.len-1); goto LA1_;
		}
		nimbleFile_1 = nimbleFiles_1.p->data[((NI)0)];
		if (((NI)0) < 0 || ((NI)0) >= nimbleFiles_1.len){ raiseIndexError2(((NI)0),nimbleFiles_1.len-1); goto LA1_;
		}
		eqwasMoved___system_u2751((&nimbleFiles_1.p->data[((NI)0)]));
	}
	goto LA3_;
LA6_: ;
	{
		NimStringV2 colontmpD__6;
		NimStringV2 colontmpD__7;
		tyArray__YgExxhfgKcesA5EOUj1MOA T10_;
		NimStringV2 T11_;
		colontmpD__6.len = 0; colontmpD__6.p = NIM_NIL;
		colontmpD__7.len = 0; colontmpD__7.p = NIM_NIL;
		colontmpD__6 = projectName__basicZpkgurls_u35((&(*w_p1).url));
		if (NIM_UNLIKELY(*nimErr_)) goto LA9_;
		T11_.len = 0; T11_.p = NIM_NIL;
		T11_ = rawNewString((*w_p1).ondisk.len + 29);
appendString((&T11_), TM__YwaTbafr83OQEbnpsyhGwA_27);
appendString((&T11_), (*w_p1).ondisk);
		colontmpD__7 = T11_;
		T10_[0] = colontmpD__7;
		error__basicZconfigutils_u107(colontmpD__6, T10_, 1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA9_;
		if (colontmpD__7.p && !(colontmpD__7.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__7.p);
}
		if (colontmpD__6.p && !(colontmpD__6.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__6.p);
}
		eqdestroy___system_u5582(colontmpD__5);
		eqdestroy___pureZuri_u213((&colontmpD__4));
		if (colontmpD__3.p && !(colontmpD__3.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__3.p);
}
		if (colontmpD__2.p && !(colontmpD__2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__2.p);
}
		if (chk_1.p && !(chk_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(chk_1.p);
}
		if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
		eqdestroy___basicZversions_u111((&commit_1));
		eqdestroy___basicZconfigutils_u18((&info_1));
		if (nimbleFile_1.p && !(nimbleFile_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(nimbleFile_1.p);
}
		eqdestroy___basicZnimblecontext_u145(nimbleFiles_1);
		goto BeforeRet_;
		{
			LA9_:;
		}
		{
			if (colontmpD__7.p && !(colontmpD__7.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__7.p);
}
			if (colontmpD__6.p && !(colontmpD__6.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__6.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA3_: ;
	extractRequiresInfo__basicZparse95requires_u4666(nimbleFile_1, (&info_1));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	commit_1 = currentGitCommit__basicZgitops_u1058((*w_p1).ondisk, ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)4));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	colontmpD_ = projectName__basicZpkgurls_u35((&(*w_p1).url));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	infoNow__lockfiles_u2294(colontmpD_, TM__YwaTbafr83OQEbnpsyhGwA_28, 1);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	colontmpD__2 = projectName__basicZpkgurls_u35((&(*w_p1).url));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	chk_1 = nimbleChecksum__basicZnimblechecksums_u25(colontmpD__2, (*w_p1).ondisk);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	colontmpD__3 = projectName__basicZpkgurls_u35((&(*w_p1).url));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	blitTmp_1 = info_1.version;
	eqwasMoved___system_u2751((&info_1.version));
	T14_.version = blitTmp_1;
	T14_.vcsRevision = dollar___basicZversions_u73(commit_1);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	nimZeroMem((void*)(&T15_), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
	url__basicZpkgurls_u44((&(*w_p1).url), (&T15_));
	colontmpD__4 = T15_;
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T14_.url = dollar___pureZuri_u409((&colontmpD__4));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T14_.downloadMethod = TM__YwaTbafr83OQEbnpsyhGwA_31;
	{
		tySequence__sM4lkSb7zS6F7OVMvW9cffQ resultX60gensym17__1;
		NI iX60gensym17__1;
		NI T17_;
		tySequence__sM4lkSb7zS6F7OVMvW9cffQ blitTmp_2;
		resultX60gensym17__1.len = 0; resultX60gensym17__1.p = NIM_NIL;
		iX60gensym17__1 = ((NI)0);
		T17_ = (NI)0;
		T17_ = len__basicZdeptypesjson_u836(deps_p3);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if ((T17_) < ((NI)0) || (T17_) > ((NI)IL64(9223372036854775807))){ raiseRangeErrorI(T17_, ((NI)0), ((NI)IL64(9223372036854775807))); goto LA1_;
		}
		resultX60gensym17__1 = newSeq__stdZsyncio_u578((T17_));
		{
			NimStringV2 it_1;
			NI length_1;
			it_1.len = 0; it_1.p = NIM_NIL;
			length_1 = len__basicZdeptypesjson_u836(deps_p3);
			if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
			{
				NI h_1;
				NI colontmp_;
				NI T20_;
				NI res_1;
				h_1 = (NI)0;
				colontmp_ = (NI)0;
				T20_ = (deps_p3.data.len-1);
				colontmp_ = T20_;
				res_1 = ((NI)0);
				{
					while (1) {
						NI TM__YwaTbafr83OQEbnpsyhGwA_35;
						if (!(res_1 <= colontmp_)) goto LA22;
						h_1 = ((NI) (res_1));
						{
							NIM_BOOL T25_;
							NI TM__YwaTbafr83OQEbnpsyhGwA_32;
							if (h_1 < 0 || h_1 >= deps_p3.data.len){ raiseIndexError2(h_1,deps_p3.data.len-1); goto LA1_;
							}
							T25_ = (NIM_BOOL)0;
							T25_ = isFilled__pureZcollectionsZsets_u39(deps_p3.data.p->data[h_1].Field0);
							if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
							if (!T25_) goto LA26_;
							if (h_1 < 0 || h_1 >= deps_p3.data.len){ raiseIndexError2(h_1,deps_p3.data.len-1); goto LA1_;
							}
							eqcopy___system_u2754((&it_1), deps_p3.data.p->data[h_1].Field1);
							if (iX60gensym17__1 < 0 || iX60gensym17__1 >= resultX60gensym17__1.len){ raiseIndexError2(iX60gensym17__1,resultX60gensym17__1.len-1); goto LA1_;
							}
							eqsink___system_u2760((&resultX60gensym17__1.p->data[iX60gensym17__1]), it_1);
							eqwasMoved___system_u2751((&it_1));
							if (nimAddInt(iX60gensym17__1, ((NI)1), &TM__YwaTbafr83OQEbnpsyhGwA_32)) { raiseOverflow(); goto LA1_;
							};
							iX60gensym17__1 = (NI)(TM__YwaTbafr83OQEbnpsyhGwA_32);
							{
								NI T30_;
								T30_ = (NI)0;
								T30_ = len__basicZdeptypesjson_u836(deps_p3);
								if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
								if (!!((T30_ == length_1))) goto LA31_;
								failedAssertImpl__stdZassertions_u95(TM__YwaTbafr83OQEbnpsyhGwA_34);
								if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
							}
LA31_: ;
						}
LA26_: ;
						if (nimAddInt(res_1, ((NI)1), &TM__YwaTbafr83OQEbnpsyhGwA_35)) { raiseOverflow(); goto LA1_;
						};
						res_1 = (NI)(TM__YwaTbafr83OQEbnpsyhGwA_35);
					} LA22: ;
				}
			}
			if (it_1.p && !(it_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(it_1.p);
}
		}
		colontmpD__5 = resultX60gensym17__1;
		blitTmp_2 = colontmpD__5;
		eqwasMoved___system_u5579((&colontmpD__5));
		T14_.dependencies = blitTmp_2;
	}
	T33_[0].Field0 = TM__YwaTbafr83OQEbnpsyhGwA_37;
	T33_[0].Field1 = chk_1;
	T14_.checksums = toTable__lockfiles_u2482(T33_, 1);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	X5BX5Deq___lockfiles_u2589((&(*lf_p0).packages), colontmpD__3, (&T14_));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		LA1_:;
	}
	{
		eqdestroy___system_u5582(colontmpD__5);
		eqdestroy___pureZuri_u213((&colontmpD__4));
		if (colontmpD__3.p && !(colontmpD__3.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__3.p);
}
		if (colontmpD__2.p && !(colontmpD__2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__2.p);
}
		if (chk_1.p && !(chk_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(chk_1.p);
}
		if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
		eqdestroy___basicZversions_u111((&commit_1));
		eqdestroy___basicZconfigutils_u18((&info_1));
		if (nimbleFile_1.p && !(nimbleFile_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(nimbleFile_1.p);
}
		eqdestroy___basicZnimblecontext_u145(nimbleFiles_1);
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
}
static N_INLINE(NimStringV2, slash___stdZpaths_u84)(NimStringV2 head_p0, NimStringV2 tail_p1) {
	NimStringV2 result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	result = nosjoinPath(head_p0, tail_p1);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NIM_BOOL, fileExists__stdZfiles_u10)(NimStringV2 filename_p0) {
	NIM_BOOL result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (NIM_BOOL)0;
	result = nosfileExists(filename_p0);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NimStringV2, relativePath__stdZpaths_u146)(NimStringV2 path_p0, NimStringV2 base_p1, NIM_CHAR sep_p2) {
	NimStringV2 result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	result = nosrelativePath(path_p0, base_p1, sep_p2);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___lockfiles_u781)(tyObject_NimbleLockFileEntry__Ypx5oyXEN0PbU9aytH2Ux9cg* dest_p0, tyObject_NimbleLockFileEntry__Ypx5oyXEN0PbU9aytH2Ux9cg* src_p1) {
	eqcopy___system_u2754((&(*dest_p0).version), (*src_p1).version);
	eqcopy___system_u2754((&(*dest_p0).vcsRevision), (*src_p1).vcsRevision);
	eqcopy___system_u2754((&(*dest_p0).url), (*src_p1).url);
	eqcopy___system_u2754((&(*dest_p0).downloadMethod), (*src_p1).downloadMethod);
	eqcopy___system_u5585((&(*dest_p0).dependencies), (*src_p1).dependencies);
	eqcopy___basicZcompiledpatterns_u882((&(*dest_p0).checksums.data), (*src_p1).checksums.data);
	(*dest_p0).checksums.counter = (*src_p1).checksums.counter;
}
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___lockfiles_u778)(tyObject_NimbleLockFileEntry__Ypx5oyXEN0PbU9aytH2Ux9cg* dest_p0) {
	eqdestroy___basicZcompiledpatterns_u879((*dest_p0).checksums.data);
	eqdestroy___system_u5582((*dest_p0).dependencies);
	if ((*dest_p0).downloadMethod.p && !((*dest_p0).downloadMethod.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared((*dest_p0).downloadMethod.p);
}
	if ((*dest_p0).url.p && !((*dest_p0).url.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared((*dest_p0).url.p);
}
	if ((*dest_p0).vcsRevision.p && !((*dest_p0).vcsRevision.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared((*dest_p0).vcsRevision.p);
}
	if ((*dest_p0).version.p && !((*dest_p0).version.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared((*dest_p0).version.p);
}
}
N_LIB_PRIVATE N_NIMCALL(void, write__lockfiles_u385)(tyObject_NimbleLockFile__oTfzGqk1OrM0FPevkw5lng* lock_p0, NimStringV2 lockFilePath_p1) {
	tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* colontmpD_;
	NimStringV2 colontmpD__2;
	tyObject_ToJsonOptions__mRkT0c8Ugtl0BxbGElJ1oA T2_;
NIM_BOOL oldNimErrFin1_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	colontmpD_ = NIM_NIL;
	colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
	T2_ = initToJsonOptions__stdZjsonutils_u33();
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	colontmpD_ = toJson__lockfiles_u388(lock_p0, T2_);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	colontmpD__2 = pretty__pureZjson_u4853(colontmpD_, ((NI)2));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	writeFile__stdZsyncio_u539(lockFilePath_p1, colontmpD__2);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		LA1_:;
	}
	{
		oldNimErrFin1_ = *nimErr_; *nimErr_ = NIM_FALSE;
		if (colontmpD__2.p && !(colontmpD__2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__2.p);
}
		eqdestroy___pureZjson_u321(colontmpD_);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		*nimErr_ = oldNimErrFin1_;
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___lockfiles_u364)(tyObject_NimbleLockFile__oTfzGqk1OrM0FPevkw5lng* dest_p0) {
	eqdestroy___lockfiles_u318((*dest_p0).packages.data);
}
N_LIB_PRIVATE N_NIMCALL(void, pinGraph__lockfiles_u4209)(tyObject_DepGraph__i1RlFs3c9aTk9bK2vN5Pa2yw* graph_p0, NimStringV2 lockFile_p1, NIM_BOOL exportNimble_p2) {
	tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg lf_1;
	NimStringV2 project_1;
	tyObject_NimbleLockFile__oTfzGqk1OrM0FPevkw5lng nlf_1;
	tyObject_Table__KALKST4LIrYcd0Eig4ZY8A* nimbleDeps_1;
	NimStringV2 colontmpD_;
	tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA nc_1;
	tyObject_DepGraph__i1RlFs3c9aTk9bK2vN5Pa2yw graph_2;
	NimStringV2 nimcfgPath_1;
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ nimblePaths_1;
	tyArray__YgExxhfgKcesA5EOUj1MOA T2_;
	NimStringV2 T3_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	nimZeroMem((void*)(&lf_1), sizeof(tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg));
	project_1.len = 0; project_1.p = NIM_NIL;
	nimZeroMem((void*)(&nlf_1), sizeof(tyObject_NimbleLockFile__oTfzGqk1OrM0FPevkw5lng));
	nimbleDeps_1 = NIM_NIL;
	colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
	nimZeroMem((void*)(&nc_1), sizeof(tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA));
	nimZeroMem((void*)(&graph_2), sizeof(tyObject_DepGraph__i1RlFs3c9aTk9bK2vN5Pa2yw));
	nimcfgPath_1.len = 0; nimcfgPath_1.p = NIM_NIL;
	nimblePaths_1.len = 0; nimblePaths_1.p = NIM_NIL;
	info__basicZparse95requires_u40(TM__YwaTbafr83OQEbnpsyhGwA_7, TM__YwaTbafr83OQEbnpsyhGwA_8, 1);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	newLockFile__lockfiles_u81((&lf_1));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	project_1 = project__basicZcontext_u340();
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	newNimbleLockFile__lockfiles_u135((&nlf_1));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	nimbleDeps_1 = newTable__lockfiles_u4254(((NI)32));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T3_.len = 0; T3_.p = NIM_NIL;
	T3_ = rawNewString(lockFile_p1.len + 18);
appendString((&T3_), TM__YwaTbafr83OQEbnpsyhGwA_15);
appendString((&T3_), lockFile_p1);
	colontmpD_ = T3_;
	T2_[0] = colontmpD_;
	info__basicZconfigutils_u114(project_1, T2_, 1);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	createNimbleContext__basicZnimblecontext_u4050((&nc_1));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	expandGraph__dependencies_u13558(project_1, (&nc_1), ((tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw)2), ((tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg)0), NIM_FALSE, NIM_FALSE, (&graph_2));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		tySequence__jw542wgkeGE16s5T1k3nhg colontmp_;
		tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA** pkg_1;
		NI i_1;
		NI L_1;
		NI T6_;
		colontmp_.len = 0; colontmp_.p = NIM_NIL;
		pkg_1 = (tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA**)0;
		colontmp_ = toposorted__basicZdepgraphtypes_u14((&graph_2));
		if (NIM_UNLIKELY(*nimErr_)) goto LA5_;
		i_1 = ((NI)0);
		T6_ = colontmp_.len;
		L_1 = T6_;
		{
			while (1) {
				if (!(i_1 < L_1)) goto LA8;
				if (i_1 < 0 || i_1 >= colontmp_.len){ raiseIndexError2(i_1,colontmp_.len-1); goto LA5_;
				}
				pkg_1 = &colontmp_.p->data[i_1];
				{
					{
						if (!(*(*pkg_1)).isRoot) goto LA12_;
						goto LA9;
					}
LA12_: ;
					{
						if (!!(exportNimble_p2)) goto LA16_;
						genLockEntry__lockfiles_u33((&lf_1), (*pkg_1));
						if (NIM_UNLIKELY(*nimErr_)) goto LA5_;
					}
					goto LA14_;
LA16_: ;
					{
						NimStringV2 colontmpD__2;
						tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA colontmpD__3;
						NimStringV2 colontmpD__4;
						NimStringV2 colontmpD__5;
						tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q deps_1;
						NimStringV2 colontmpD__6;
						tyArray__YgExxhfgKcesA5EOUj1MOA T45_;
						NimStringV2 T46_;
						tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA T47_;
						NimStringV2* T48_;
						colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
						nimZeroMem((void*)(&colontmpD__3), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
						colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
						colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL;
						nimZeroMem((void*)(&deps_1), sizeof(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q));
						colontmpD__6.len = 0; colontmpD__6.p = NIM_NIL;
						{
							tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* colontmpD__7;
							tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA** nx_1;
							colontmpD__7 = NIM_NIL;
							nx_1 = (tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA**)0;
							{
								NIM_BOOL T24_;
								colontmpD__7 = activeNimbleRelease__basicZdeptypes_u561((*pkg_1));
								if (NIM_UNLIKELY(*nimErr_)) goto LA21_;
								T24_ = (NIM_BOOL)0;
								T24_ = eqeq___basicZdeptypes_u456(colontmpD__7, ((tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw*) NIM_NIL));
								if (NIM_UNLIKELY(*nimErr_)) goto LA21_;
								if (!!(T24_)) goto LA25_;
								{
									tySequence__Cv9czsNzurrmCo02svI9bGaw colontmp__2;
									tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* colontmpD__8;
									tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* durl_1;
									tyObject_VersionInterval__Fo18dECYIXwkOygWPnb8YA* __1;
									NI i_2;
									NI L_2;
									NI T29_;
									colontmp__2.len = 0; colontmp__2.p = NIM_NIL;
									colontmpD__8 = NIM_NIL;
									durl_1 = (tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw*)0;
									__1 = (tyObject_VersionInterval__Fo18dECYIXwkOygWPnb8YA*)0;
									colontmp__2.len = 0; colontmp__2.p = NIM_NIL;
									colontmpD__8 = activeNimbleRelease__basicZdeptypes_u561((*pkg_1));
									if (NIM_UNLIKELY(*nimErr_)) goto LA28_;
									eqcopy___basicZdeptypes_u287((&colontmp__2), (*colontmpD__8).requirements);
									i_2 = ((NI)0);
									T29_ = colontmp__2.len;
									L_2 = T29_;
									{
										while (1) {
											NimStringV2 colontmpD__9;
											tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q colontmpD__10;
											NimStringV2 colontmpD__11;
											tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q* T33_;
											if (!(i_2 < L_2)) goto LA31;
											colontmpD__9.len = 0; colontmpD__9.p = NIM_NIL;
											nimZeroMem((void*)(&colontmpD__10), sizeof(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q));
											colontmpD__11.len = 0; colontmpD__11.p = NIM_NIL;
											if (i_2 < 0 || i_2 >= colontmp__2.len){ raiseIndexError2(i_2,colontmp__2.len-1); goto LA32_;
											}
											durl_1 = (&colontmp__2.p->data[i_2].Field0);
											if (i_2 < 0 || i_2 >= colontmp__2.len){ raiseIndexError2(i_2,colontmp__2.len-1); goto LA32_;
											}
											__1 = (&colontmp__2.p->data[i_2].Field1);
											nx_1 = X5BX5D___basicZdepgraphtypes_u2508((&graph_2.pkgs), (&(*durl_1)));
											if (NIM_UNLIKELY(*nimErr_)) goto LA32_;
											colontmpD__9 = projectName__basicZpkgurls_u35((&(*(*pkg_1)).url));
											if (NIM_UNLIKELY(*nimErr_)) goto LA32_;
											colontmpD__10 = initHashSet__OOZOOZOOZcompilerZoptions_u1045(((NI)64));
											if (NIM_UNLIKELY(*nimErr_)) goto LA32_;
											T33_ = (tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q*)0;
											T33_ = mgetOrPut__lockfiles_u4609(nimbleDeps_1, colontmpD__9, colontmpD__10);
											if (NIM_UNLIKELY(*nimErr_)) goto LA32_;
											colontmpD__11 = projectName__basicZpkgurls_u35((&(*(*nx_1)).url));
											if (NIM_UNLIKELY(*nimErr_)) goto LA32_;
											incl__basicZversions_u858(T33_, colontmpD__11);
											if (NIM_UNLIKELY(*nimErr_)) goto LA32_;
											i_2 += ((NI)1);
											{
												NI T36_;
												T36_ = colontmp__2.len;
												if (!!((T36_ == L_2))) goto LA37_;
												failedAssertImpl__stdZassertions_u95(TM__YwaTbafr83OQEbnpsyhGwA_23);
												if (NIM_UNLIKELY(*nimErr_)) goto LA32_;
											}
LA37_: ;
											{
												LA32_:;
											}
											{
												if (colontmpD__11.p && !(colontmpD__11.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__11.p);
}
												eqdestroy___basicZversions_u5014((&colontmpD__10));
												if (colontmpD__9.p && !(colontmpD__9.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__9.p);
}
											}
											if (NIM_UNLIKELY(*nimErr_)) goto LA28_;
										} LA31: ;
									}
									{
										LA28_:;
									}
									{
										eqdestroy___basicZdeptypes_u1632(colontmpD__8);
										eqdestroy___basicZdeptypes_u284(colontmp__2);
									}
									if (NIM_UNLIKELY(*nimErr_)) goto LA21_;
								}
							}
LA25_: ;
							{
								LA21_:;
							}
							{
								eqdestroy___basicZdeptypes_u1632(colontmpD__7);
							}
							if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
						}
						colontmpD__2 = projectName__basicZpkgurls_u35((&(*(*pkg_1)).url));
						if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
						T46_.len = 0; T46_.p = NIM_NIL;
						nimZeroMem((void*)(&T47_), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
						url__basicZpkgurls_u44((&(*(*pkg_1)).url), (&T47_));
						colontmpD__3 = T47_;
						if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
						colontmpD__4 = dollar___pureZuri_u409((&colontmpD__3));
						if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
						T46_ = rawNewString(colontmpD__4.len + 17);
appendString((&T46_), TM__YwaTbafr83OQEbnpsyhGwA_25);
appendString((&T46_), colontmpD__4);
						colontmpD__5 = T46_;
						T45_[0] = colontmpD__5;
						debug__basicZgitops_u1174(colontmpD__2, T45_, 1);
						if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
						colontmpD__6 = projectName__basicZpkgurls_u35((&(*(*pkg_1)).url));
						if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
						deps_1 = getOrDefault__lockfiles_u6144(nimbleDeps_1, colontmpD__6);
						if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
						T48_ = (NimStringV2*)0;
						T48_ = getCfgPath__basicZdepgraphtypes_u3924((&graph_2), (*pkg_1));
						if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
						genLockEntry__lockfiles_u2277((&nlf_1), (*pkg_1), (*T48_), deps_1);
						if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
						{
							LA19_:;
						}
						{
							if (colontmpD__6.p && !(colontmpD__6.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__6.p);
}
							eqdestroy___basicZversions_u5014((&deps_1));
							if (colontmpD__5.p && !(colontmpD__5.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__5.p);
}
							if (colontmpD__4.p && !(colontmpD__4.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__4.p);
}
							eqdestroy___pureZuri_u213((&colontmpD__3));
							if (colontmpD__2.p && !(colontmpD__2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__2.p);
}
						}
						if (NIM_UNLIKELY(*nimErr_)) goto LA5_;
					}
LA14_: ;
				} LA9: ;
				i_1 += ((NI)1);
				{
					NI T53_;
					T53_ = colontmp_.len;
					if (!!((T53_ == L_1))) goto LA54_;
					failedAssertImpl__stdZassertions_u95(TM__YwaTbafr83OQEbnpsyhGwA_38);
					if (NIM_UNLIKELY(*nimErr_)) goto LA5_;
				}
LA54_: ;
			} LA8: ;
		}
		{
			LA5_:;
		}
		{
			eqdestroy___basicZdepgraphtypes_u2971(colontmp_);
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	nimcfgPath_1 = slash___stdZpaths_u84(project_1, TM__YwaTbafr83OQEbnpsyhGwA_40);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		NIM_BOOL T60_;
		NimStringV2 colontmpD__12;
		tySequence__sM4lkSb7zS6F7OVMvW9cffQ T64_;
		T60_ = (NIM_BOOL)0;
		T60_ = fileExists__stdZfiles_u10(nimcfgPath_1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if (!T60_) goto LA61_;
		colontmpD__12.len = 0; colontmpD__12.p = NIM_NIL;
		colontmpD__12 = readFile__stdZsyncio_u534(nimcfgPath_1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA63_;
		T64_.len = 0; T64_.p = NIM_NIL;
		T64_ = nsuSplitLines(colontmpD__12, NIM_FALSE);
		if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u5582(T64_); goto LA63_;}
		eqsink___system_u5591((&lf_1.nimcfg), T64_);
		{
			LA63_:;
		}
		{
			if (colontmpD__12.p && !(colontmpD__12.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__12.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA61_: ;
	nimblePaths_1 = findNimbleFile__basicZnimblecontext_u53(project_1, TM__YwaTbafr83OQEbnpsyhGwA_41);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		NIM_BOOL T69_;
		NIM_BOOL T70_;
		NI T71_;
		NimStringV2 colontmpD__13;
		tyObject_LockedNimbleFile__DOnRVGKM2QMHPTyFu6A1rA T77_;
		T69_ = (NIM_BOOL)0;
		T70_ = (NIM_BOOL)0;
		T71_ = nimblePaths_1.len;
		T70_ = (T71_ == ((NI)1));
		if (!(T70_)) goto LA72_;
		if (((NI)0) < 0 || ((NI)0) >= nimblePaths_1.len){ raiseIndexError2(((NI)0),nimblePaths_1.len-1); goto LA1_;
		}
		T70_ = (((NI)0) < nimblePaths_1.p->data[((NI)0)].len);
LA72_: ;
		T69_ = T70_;
		if (!(T69_)) goto LA73_;
		if (((NI)0) < 0 || ((NI)0) >= nimblePaths_1.len){ raiseIndexError2(((NI)0),nimblePaths_1.len-1); goto LA1_;
		}
		T69_ = fileExists__stdZfiles_u10(nimblePaths_1.p->data[((NI)0)]);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
LA73_: ;
		if (!T69_) goto LA74_;
		colontmpD__13.len = 0; colontmpD__13.p = NIM_NIL;
		if (((NI)0) < 0 || ((NI)0) >= nimblePaths_1.len){ raiseIndexError2(((NI)0),nimblePaths_1.len-1); goto LA76_;
		}
		T77_.filename = relativePath__stdZpaths_u146(nimblePaths_1.p->data[((NI)0)], project_1, 47);
		if (NIM_UNLIKELY(*nimErr_)) goto LA76_;
		if (((NI)0) < 0 || ((NI)0) >= nimblePaths_1.len){ raiseIndexError2(((NI)0),nimblePaths_1.len-1); goto LA76_;
		}
		colontmpD__13 = readFile__stdZsyncio_u534(nimblePaths_1.p->data[((NI)0)]);
		if (NIM_UNLIKELY(*nimErr_)) goto LA76_;
		T77_.content = nsuSplitLines(colontmpD__13, NIM_FALSE);
		if (NIM_UNLIKELY(*nimErr_)) goto LA76_;
		eqsink___lockfiles_u6356((&lf_1.nimbleFile), (&T77_));
		{
			LA76_:;
		}
		{
			if (colontmpD__13.p && !(colontmpD__13.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__13.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA74_: ;
	{
		if (!!(exportNimble_p2)) goto LA82_;
		write__basicZlockfiletypes_u4622((&lf_1), lockFile_p1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	goto LA80_;
LA82_: ;
	{
		write__lockfiles_u385((&nlf_1), lockFile_p1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA80_: ;
	{
		LA1_:;
	}
	{
		eqdestroy___basicZnimblecontext_u145(nimblePaths_1);
		if (nimcfgPath_1.p && !(nimcfgPath_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(nimcfgPath_1.p);
}
		eqdestroy___basicZdepgraphtypes_u3176((&graph_2));
		eqdestroy___basicZnimblecontext_u3564((&nc_1));
		if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
		eqdestroy___lockfiles_u4511(nimbleDeps_1);
		eqdestroy___lockfiles_u364((&nlf_1));
		if (project_1.p && !(project_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(project_1.p);
}
		eqdestroy___basicZlockfiletypes_u4587((&lf_1));
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, pinProject__lockfiles_u6365)(NimStringV2 lockFile_p0, NIM_BOOL exportNimble_p1) {
	NimStringV2 project_1;
	tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA nc_1;
	tyObject_DepGraph__i1RlFs3c9aTk9bK2vN5Pa2yw graph_1;
	tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T2_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	project_1.len = 0; project_1.p = NIM_NIL;
	nimZeroMem((void*)(&nc_1), sizeof(tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA));
	nimZeroMem((void*)(&graph_1), sizeof(tyObject_DepGraph__i1RlFs3c9aTk9bK2vN5Pa2yw));
	T2_[0] = TM__YwaTbafr83OQEbnpsyhGwA_5;
	T2_[1] = lockFile_p0;
	notice__basicZgitops_u1160(TM__YwaTbafr83OQEbnpsyhGwA_3, T2_, 2);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	project_1 = project__basicZcontext_u340();
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	createNimbleContext__basicZnimblecontext_u4050((&nc_1));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	expandGraph__dependencies_u13558(project_1, (&nc_1), ((tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw)2), ((tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg)0), NIM_FALSE, NIM_FALSE, (&graph_1));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	pinGraph__lockfiles_u4209((&graph_1), lockFile_p0, NIM_FALSE);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		LA1_:;
	}
	{
		eqdestroy___basicZdepgraphtypes_u3176((&graph_1));
		eqdestroy___basicZnimblecontext_u3564((&nc_1));
		if (project_1.p && !(project_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(project_1.p);
}
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
}
static N_INLINE(NIM_BOOL, eqeq___stdZpaths_u59)(NimStringV2 x_p0, NimStringV2 y_p1) {
	NIM_BOOL result;
	NI T1_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (NIM_BOOL)0;
	T1_ = (NI)0;
	T1_ = noscmpPaths(x_p0, y_p1);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	result = (T1_ == ((NI)0));
	}BeforeRet_: ;
	return result;
}
static N_INLINE(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA*, X5BX5D___pureZjson_u3486)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* node_p0, NimStringV2 name_p1) {
	tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* result;
	tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA** T9_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = NIM_NIL;
	{
		if (!!(!((node_p0 == 0)))) goto LA3_;
		failedAssertImpl__stdZassertions_u95(TM__YwaTbafr83OQEbnpsyhGwA_51);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
LA3_: ;
	{
		if (!!(((*node_p0).kind == ((tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA)5)))) goto LA7_;
		failedAssertImpl__stdZassertions_u95(TM__YwaTbafr83OQEbnpsyhGwA_53);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
LA7_: ;
	if (!(((32 &((NU8)1<<((NU)(((*node_p0).kind))&7U)))!=0))) 	{ raiseFieldErrorStr(TM__YwaTbafr83OQEbnpsyhGwA_55, dollar___pureZjson_u20((*node_p0).kind)); goto BeforeRet_;
	}
	T9_ = (tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA**)0;
	T9_ = X5BX5D___pureZjson_u3055((&(*node_p0)._kind_6.fields), name_p1);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	eqcopy___pureZjson_u324(&result, (*T9_));
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NI, len__pureZjson_u2571)(tyObject_OrderedTable__RIgoItpMnyMLlEioBo9bQIA* t_p0) {
	NI result;
	result = (*t_p0).counter;
	return result;
}
static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZtables_u31)(NI hcode_p0) {
	NIM_BOOL result;
	result = !((hcode_p0 == ((NI)0)));
	return result;
}
static N_INLINE(int, nimCmpMem)(void* a_p0, void* b_p1, NI size_p2) {
	int result;
	result = memcmp(a_p0, b_p1, ((size_t) (size_p2)));
	return result;
}
static N_INLINE(NIM_BOOL, equalMem__system_u1763)(void* a_p0, void* b_p1, NI size_p2) {
	NIM_BOOL result;
	int T1_;
	T1_ = (int)0;
	T1_ = nimCmpMem(a_p0, b_p1, size_p2);
	result = (T1_ == ((NI32)0));
	return result;
}
static N_INLINE(NIM_BOOL, eqStrings)(NimStringV2 a_p0, NimStringV2 b_p1) {
	NIM_BOOL result;
	NI alen_1;
	NI blen_1;
{	result = NIM_FALSE;
	alen_1 = a_p0.len;
	blen_1 = b_p1.len;
	{
		if (!(alen_1 == blen_1)) goto LA3_;
		{
			if (!(alen_1 == ((NI)0))) goto LA7_;
			result = NIM_TRUE;
			goto BeforeRet_;
		}
LA7_: ;
		result = equalMem__system_u1763(((void*) ((&a_p0.p->data[((NI)0)]))), ((void*) ((&b_p1.p->data[((NI)0)]))), (alen_1));
		goto BeforeRet_;
	}
LA3_: ;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, convertNimbleLock__lockfiles_u6383)(NimStringV2 nimble_p0, tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg* Result) {
	NimStringV2 jsonAsStr_1;
	tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* jsonTree_1;
	tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* colontmpD_;
	tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA nc_1;
NIM_BOOL oldNimErrFin33_;
NIM_BOOL oldNimErrFin38_;
NIM_BOOL oldNimErrFin17_;
NIM_BOOL oldNimErrFin10_;
NIM_BOOL oldNimErrFin1_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	nimZeroMem((void*)Result, sizeof(tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg));
	jsonAsStr_1.len = 0; jsonAsStr_1.p = NIM_NIL;
	jsonTree_1 = NIM_NIL;
	colontmpD_ = NIM_NIL;
	nimZeroMem((void*)(&nc_1), sizeof(tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA));
	jsonAsStr_1 = readFile__stdZsyncio_u534(nimble_p0);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	jsonTree_1 = parseJson__pureZjson_u5632(jsonAsStr_1, NIM_FALSE, NIM_FALSE);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		NIM_BOOL T4_;
		NIM_BOOL T6_;
		T4_ = (NIM_BOOL)0;
		colontmpD_ = getOrDefault__pureZjson_u3914(jsonTree_1, TM__YwaTbafr83OQEbnpsyhGwA_45);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		T4_ = eqeq___pureZjson_u2438(colontmpD_, ((tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA*) NIM_NIL));
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if (T4_) goto LA5_;
		T6_ = (NIM_BOOL)0;
		T6_ = contains__pureZjson_u3653(jsonTree_1, TM__YwaTbafr83OQEbnpsyhGwA_47);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		T4_ = !(T6_);
LA5_: ;
		if (!T4_) goto LA7_;
		error__basicZgitops_u1259(nimble_p0, TM__YwaTbafr83OQEbnpsyhGwA_48, 1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		eqdestroy___basicZnimblecontext_u3564((&nc_1));
		eqdestroy___pureZjson_u321(colontmpD_);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		eqdestroy___pureZjson_u321(jsonTree_1);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		if (jsonAsStr_1.p && !(jsonAsStr_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(jsonAsStr_1.p);
}
		goto BeforeRet_;
	}
LA7_: ;
	createNimbleContext__basicZnimblecontext_u4050((&nc_1));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	newLockFile__lockfiles_u81(Result);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		NimStringV2 name_1;
		tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* info_1;
		tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* colontmp_;
		name_1.len = 0; name_1.p = NIM_NIL;
		info_1 = NIM_NIL;
		colontmp_ = NIM_NIL;
		colontmp_ = X5BX5D___pureZjson_u3486(jsonTree_1, TM__YwaTbafr83OQEbnpsyhGwA_56);
		if (NIM_UNLIKELY(*nimErr_)) goto LA10_;
		{
			NimStringV2 colontmpD__2;
			NimStringV2 colontmpD__3;
			NimStringV2 T15_;
			if (!!(((*colontmp_).kind == ((tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA)5)))) goto LA13_;
			colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
			colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
			T15_.len = 0; T15_.p = NIM_NIL;
			colontmpD__2 = dollar___pureZjson_u20((*colontmp_).kind);
			T15_ = rawNewString(colontmpD__2.len + 85);
appendString((&T15_), TM__YwaTbafr83OQEbnpsyhGwA_58);
appendString((&T15_), colontmpD__2);
			colontmpD__3 = T15_;
			failedAssertImpl__stdZassertions_u95(colontmpD__3);
			if (NIM_UNLIKELY(*nimErr_)) goto LA10_;
			if (colontmpD__3.p && !(colontmpD__3.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__3.p);
}
			if (colontmpD__2.p && !(colontmpD__2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__2.p);
}
		}
LA13_: ;
		{
			NimStringV2 key_1;
			tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* val_1;
			tyObject_OrderedTable__RIgoItpMnyMLlEioBo9bQIA colontmp__2;
			NI L_1;
			key_1.len = 0; key_1.p = NIM_NIL;
			val_1 = NIM_NIL;
			nimZeroMem((void*)(&colontmp__2), sizeof(tyObject_OrderedTable__RIgoItpMnyMLlEioBo9bQIA));
			if (!(((32 &((NU8)1<<((NU)(((*colontmp_).kind))&7U)))!=0))) 			{ raiseFieldErrorStr(TM__YwaTbafr83OQEbnpsyhGwA_59, dollar___pureZjson_u20((*colontmp_).kind)); goto LA17_;
			}
			eqcopy___pureZjson_u486((&colontmp__2), (&(*colontmp_)._kind_6.fields));
			if (NIM_UNLIKELY(*nimErr_)) goto LA17_;
			L_1 = len__pureZjson_u2571((&colontmp__2));
			if (NIM_UNLIKELY(*nimErr_)) goto LA17_;
			{
				NI h_1;
				if (!(((NI)0) < colontmp__2.counter)) goto LA20_;
				h_1 = colontmp__2.first;
				{
					while (1) {
						NI nxt_1;
						if (!(((NI)0) <= h_1)) goto LA23;
						if (h_1 < 0 || h_1 >= colontmp__2.data.len){ raiseIndexError2(h_1,colontmp__2.data.len-1); goto LA17_;
						}
						nxt_1 = colontmp__2.data.p->data[h_1].Field1;
						{
							NIM_BOOL T26_;
							tyTuple__s3Jxn6lQB1q2m4at9asd45w colontmp__3;
							NimStringV2 blitTmp_1;
							tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* blitTmp_2;
							if (h_1 < 0 || h_1 >= colontmp__2.data.len){ raiseIndexError2(h_1,colontmp__2.data.len-1); goto LA17_;
							}
							T26_ = (NIM_BOOL)0;
							T26_ = isFilled__pureZcollectionsZtables_u31(colontmp__2.data.p->data[h_1].Field0);
							if (NIM_UNLIKELY(*nimErr_)) goto LA17_;
							if (!T26_) goto LA27_;
							nimZeroMem((void*)(&colontmp__3), sizeof(tyTuple__s3Jxn6lQB1q2m4at9asd45w));
							if (h_1 < 0 || h_1 >= colontmp__2.data.len){ raiseIndexError2(h_1,colontmp__2.data.len-1); goto LA17_;
							}
							eqcopy___system_u2754((&key_1), colontmp__2.data.p->data[h_1].Field2);
							if (h_1 < 0 || h_1 >= colontmp__2.data.len){ raiseIndexError2(h_1,colontmp__2.data.len-1); goto LA17_;
							}
							eqcopy___pureZjson_u324(&val_1, colontmp__2.data.p->data[h_1].Field3);
							if (NIM_UNLIKELY(*nimErr_)) goto LA17_;
							nimZeroMem((void*)(&colontmp__3), sizeof(tyTuple__s3Jxn6lQB1q2m4at9asd45w));
							blitTmp_1 = key_1;
							eqwasMoved___system_u2751((&key_1));
							colontmp__3.Field0 = blitTmp_1;
							blitTmp_2 = val_1;
							eqwasMoved___pureZjson_u318(&val_1);
							if (NIM_UNLIKELY(*nimErr_)) goto LA17_;
							colontmp__3.Field1 = blitTmp_2;
							eqsink___system_u2760((&name_1), colontmp__3.Field0);
							eqsink___pureZjson_u330(&info_1, colontmp__3.Field1);
							if (NIM_UNLIKELY(*nimErr_)) goto LA17_;
							{
								tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* colontmpD__4;
								NimStringV2 T34_;
								if (!eqStrings(name_1, TM__YwaTbafr83OQEbnpsyhGwA_61)) goto LA31_;
								colontmpD__4 = NIM_NIL;
								colontmpD__4 = X5BX5D___pureZjson_u3486(info_1, TM__YwaTbafr83OQEbnpsyhGwA_62);
								if (NIM_UNLIKELY(*nimErr_)) goto LA33_;
								T34_.len = 0; T34_.p = NIM_NIL;
								T34_ = getStr__pureZjson_u551(colontmpD__4, TM__YwaTbafr83OQEbnpsyhGwA_63);
								if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T34_); goto LA33_;}
								eqsink___system_u2760((&(*Result).nimVersion), T34_);
								{
									LA33_:;
								}
								{
									oldNimErrFin33_ = *nimErr_; *nimErr_ = NIM_FALSE;
									eqdestroy___pureZjson_u321(colontmpD__4);
									if (NIM_UNLIKELY(*nimErr_)) goto LA17_;
									*nimErr_ = oldNimErrFin33_;
								}
								if (NIM_UNLIKELY(*nimErr_)) goto LA17_;
							}
							goto LA29_;
LA31_: ;
							{
								NimStringV2 pkgurl_1;
								tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* colontmpD__5;
								tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw u_1;
								NimStringV2 dir_1;
								NimStringV2 colontmpD__6;
								NimStringV2 colontmpD__7;
								NimStringV2 colontmpD__8;
								tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* colontmpD__9;
								tyObject_LockFileEntry__3L1m2gTVW2cOTqVLqvNEkw T39_;
								NimStringV2 blitTmp_3;
								pkgurl_1.len = 0; pkgurl_1.p = NIM_NIL;
								colontmpD__5 = NIM_NIL;
								nimZeroMem((void*)(&u_1), sizeof(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw));
								dir_1.len = 0; dir_1.p = NIM_NIL;
								colontmpD__6.len = 0; colontmpD__6.p = NIM_NIL;
								colontmpD__7.len = 0; colontmpD__7.p = NIM_NIL;
								colontmpD__8.len = 0; colontmpD__8.p = NIM_NIL;
								colontmpD__9 = NIM_NIL;
								colontmpD__5 = X5BX5D___pureZjson_u3486(info_1, TM__YwaTbafr83OQEbnpsyhGwA_65);
								if (NIM_UNLIKELY(*nimErr_)) goto LA38_;
								pkgurl_1 = getStr__pureZjson_u551(colontmpD__5, TM__YwaTbafr83OQEbnpsyhGwA_66);
								if (NIM_UNLIKELY(*nimErr_)) goto LA38_;
								info__basicZparse95requires_u40(name_1, TM__YwaTbafr83OQEbnpsyhGwA_67, 1);
								if (NIM_UNLIKELY(*nimErr_)) goto LA38_;
								createUrl__basicZnimblecontext_u3215((&nc_1), pkgurl_1, (&u_1));
								if (NIM_UNLIKELY(*nimErr_)) goto LA38_;
								colontmpD__6 = depsDir__basicZcontext_u348(NIM_TRUE);
								if (NIM_UNLIKELY(*nimErr_)) goto LA38_;
								colontmpD__7 = projectName__basicZpkgurls_u35((&u_1));
								if (NIM_UNLIKELY(*nimErr_)) goto LA38_;
								dir_1 = slash___stdZpaths_u84(colontmpD__6, colontmpD__7);
								if (NIM_UNLIKELY(*nimErr_)) goto LA38_;
								nimZeroMem((void*)(&T39_), sizeof(tyObject_LockFileEntry__3L1m2gTVW2cOTqVLqvNEkw));
								colontmpD__8 = project__basicZcontext_u340();
								if (NIM_UNLIKELY(*nimErr_)) goto LA38_;
								T39_.dir = relativePath__stdZpaths_u146(dir_1, colontmpD__8, 47);
								if (NIM_UNLIKELY(*nimErr_)) goto LA38_;
								blitTmp_3 = pkgurl_1;
								eqwasMoved___system_u2751((&pkgurl_1));
								T39_.url = blitTmp_3;
								colontmpD__9 = X5BX5D___pureZjson_u3486(info_1, TM__YwaTbafr83OQEbnpsyhGwA_70);
								if (NIM_UNLIKELY(*nimErr_)) goto LA38_;
								T39_.commit = getStr__pureZjson_u551(colontmpD__9, TM__YwaTbafr83OQEbnpsyhGwA_71);
								if (NIM_UNLIKELY(*nimErr_)) goto LA38_;
								X5BX5Deq___basicZlockfiletypes_u2846((&(*Result).items), name_1, (&T39_));
								if (NIM_UNLIKELY(*nimErr_)) goto LA38_;
								{
									LA38_:;
								}
								{
									oldNimErrFin38_ = *nimErr_; *nimErr_ = NIM_FALSE;
									eqdestroy___pureZjson_u321(colontmpD__9);
									if (NIM_UNLIKELY(*nimErr_)) goto LA17_;
									if (colontmpD__8.p && !(colontmpD__8.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__8.p);
}
									if (colontmpD__7.p && !(colontmpD__7.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__7.p);
}
									if (colontmpD__6.p && !(colontmpD__6.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__6.p);
}
									if (dir_1.p && !(dir_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(dir_1.p);
}
									eqdestroy___basicZpkgurls_u261((&u_1));
									eqdestroy___pureZjson_u321(colontmpD__5);
									if (NIM_UNLIKELY(*nimErr_)) goto LA17_;
									if (pkgurl_1.p && !(pkgurl_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(pkgurl_1.p);
}
									*nimErr_ = oldNimErrFin38_;
								}
								if (NIM_UNLIKELY(*nimErr_)) goto LA17_;
							}
LA29_: ;
							{
								NI T44_;
								T44_ = (NI)0;
								T44_ = len__pureZjson_u2571((&colontmp__2));
								if (NIM_UNLIKELY(*nimErr_)) goto LA17_;
								if (!!((T44_ == L_1))) goto LA45_;
								failedAssertImpl__stdZassertions_u95(TM__YwaTbafr83OQEbnpsyhGwA_73);
								if (NIM_UNLIKELY(*nimErr_)) goto LA17_;
							}
LA45_: ;
						}
LA27_: ;
						h_1 = nxt_1;
					} LA23: ;
				}
			}
LA20_: ;
			{
				LA17_:;
			}
			{
				oldNimErrFin17_ = *nimErr_; *nimErr_ = NIM_FALSE;
				eqdestroy___pureZjson_u483((&colontmp__2));
				if (NIM_UNLIKELY(*nimErr_)) goto LA10_;
				eqdestroy___pureZjson_u321(val_1);
				if (NIM_UNLIKELY(*nimErr_)) goto LA10_;
				if (key_1.p && !(key_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(key_1.p);
}
				*nimErr_ = oldNimErrFin17_;
			}
			if (NIM_UNLIKELY(*nimErr_)) goto LA10_;
		}
		{
			LA10_:;
		}
		{
			oldNimErrFin10_ = *nimErr_; *nimErr_ = NIM_FALSE;
			eqdestroy___pureZjson_u321(colontmp_);
			if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
			eqdestroy___pureZjson_u321(info_1);
			if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
			if (name_1.p && !(name_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(name_1.p);
}
			*nimErr_ = oldNimErrFin10_;
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	{
		LA1_:;
	}
	{
		oldNimErrFin1_ = *nimErr_; *nimErr_ = NIM_FALSE;
		eqdestroy___basicZnimblecontext_u3564((&nc_1));
		eqdestroy___pureZjson_u321(colontmpD_);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		eqdestroy___pureZjson_u321(jsonTree_1);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		if (jsonAsStr_1.p && !(jsonAsStr_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(jsonAsStr_1.p);
}
		*nimErr_ = oldNimErrFin1_;
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
}
static N_INLINE(NI, len__basicZlockfiletypes_u5133)(tyObject_OrderedTable__4fqy8hm4AzG4KT0VyQHXkA* t_p0) {
	NI result;
	result = (*t_p0).counter;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, fromPrefixedPath__lockfiles_u29)(NimStringV2 path_p0) {
	NimStringV2 result;
	NimStringV2 path_2;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	path_2.len = 0; path_2.p = NIM_NIL;
	eqcopy___system_u2754((&path_2), path_p0);
	{
		NIM_BOOL T4_;
		NimStringV2 colontmpD_;
		T4_ = (NIM_BOOL)0;
		T4_ = nsuStartsWith(path_2, TM__YwaTbafr83OQEbnpsyhGwA_78);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if (!T4_) goto LA5_;
		colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
		nsuRemovePrefixString((&path_2), TM__YwaTbafr83OQEbnpsyhGwA_79);
		if (NIM_UNLIKELY(*nimErr_)) goto LA7_;
		colontmpD_ = depsDir__basicZcontext_u348(NIM_FALSE);
		if (NIM_UNLIKELY(*nimErr_)) goto LA7_;
		result = slash___stdZpaths_u84(colontmpD_, path_2);
		if (NIM_UNLIKELY(*nimErr_)) goto LA7_;
		if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
		if (path_2.p && !(path_2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(path_2.p);
}
		goto BeforeRet_;
		{
			LA7_:;
		}
		{
			if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	goto LA2_;
LA5_: ;
	{
		NIM_BOOL T11_;
		NimStringV2 colontmpD__2;
		T11_ = (NIM_BOOL)0;
		T11_ = nsuStartsWith(path_2, TM__YwaTbafr83OQEbnpsyhGwA_80);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if (!T11_) goto LA12_;
		colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
		nsuRemovePrefixString((&path_2), TM__YwaTbafr83OQEbnpsyhGwA_81);
		if (NIM_UNLIKELY(*nimErr_)) goto LA14_;
		colontmpD__2 = depsDir__basicZcontext_u348(NIM_FALSE);
		if (NIM_UNLIKELY(*nimErr_)) goto LA14_;
		result = slash___stdZpaths_u84(colontmpD__2, path_2);
		if (NIM_UNLIKELY(*nimErr_)) goto LA14_;
		if (colontmpD__2.p && !(colontmpD__2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__2.p);
}
		if (path_2.p && !(path_2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(path_2.p);
}
		goto BeforeRet_;
		{
			LA14_:;
		}
		{
			if (colontmpD__2.p && !(colontmpD__2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__2.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	goto LA2_;
LA12_: ;
	{
		result = path_2;
		eqwasMoved___system_u2751((&path_2));
		if (path_2.p && !(path_2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(path_2.p);
}
		goto BeforeRet_;
	}
LA2_: ;
	{
		LA1_:;
	}
	{
		if (path_2.p && !(path_2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(path_2.p);
}
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NIM_BOOL, dirExists__stdZdirs_u3)(NimStringV2 dir_p0) {
	NIM_BOOL result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (NIM_BOOL)0;
	result = nosdirExists(dir_p0);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, compareVersion__lockfiles_u6375)(NimStringV2 key_p0, NimStringV2 wanted_p1, NimStringV2 got_p2) {
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	{
		NimStringV2 colontmpD_;
		tyArray__YgExxhfgKcesA5EOUj1MOA T6_;
		NimStringV2 T7_;
		if (!!(eqStrings(wanted_p1, got_p2))) goto LA3_;
		colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
		T7_.len = 0; T7_.p = NIM_NIL;
		T7_ = rawNewString(wanted_p1.len + got_p2.len + 70);
appendString((&T7_), TM__YwaTbafr83OQEbnpsyhGwA_104);
appendString((&T7_), wanted_p1);
appendString((&T7_), TM__YwaTbafr83OQEbnpsyhGwA_106);
appendString((&T7_), got_p2);
		colontmpD_ = T7_;
		T6_[0] = colontmpD_;
		warn__basicZpkgurls_u133(key_p0, T6_, 1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA5_;
		{
			LA5_:;
		}
		{
			if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
LA3_: ;
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, replay__lockfiles_u6478)(NimStringV2 lockFile_p0) {
	NimStringV2 project_1;
	tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg lf_1;
	tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA nc_1;
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ paths_1;
	tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg T2_;
	NIM_BOOL genCfg_1;
	tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ* T9_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	project_1.len = 0; project_1.p = NIM_NIL;
	nimZeroMem((void*)(&lf_1), sizeof(tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg));
	nimZeroMem((void*)(&nc_1), sizeof(tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA));
	paths_1.len = 0; paths_1.p = NIM_NIL;
	project_1 = project__basicZcontext_u340();
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		NIM_BOOL T5_;
		T5_ = (NIM_BOOL)0;
		T5_ = eqeq___stdZpaths_u59(lockFile_p0, TM__YwaTbafr83OQEbnpsyhGwA_43);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if (!T5_) goto LA6_;
		convertNimbleLock__lockfiles_u6383(lockFile_p0, (&lf_1));
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	goto LA3_;
LA6_: ;
	{
		readLockFile__basicZlockfiletypes_u52(lockFile_p0, (&lf_1));
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA3_: ;
	T9_ = (tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ*)0;
	T9_ = context__basicZcontext_u319();
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	genCfg_1 = (((*T9_).flags &((NU32)1<<((NU)((((tyEnum_Flag__YJpVNZDPDp9bqb0qWHXEQFw)1)))&31U)))!=0);
	createNimbleContext__basicZnimblecontext_u4050((&nc_1));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		NI T12_;
		NimStringV2 colontmpD_;
		NimStringV2 colontmpD__2;
		T12_ = lf_1.nimcfg.len;
		if (!(((NI)0) < T12_)) goto LA13_;
		colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
		colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
		colontmpD_ = slash___stdZpaths_u84(project_1, TM__YwaTbafr83OQEbnpsyhGwA_74);
		if (NIM_UNLIKELY(*nimErr_)) goto LA15_;
		colontmpD__2 = nsuJoinSep(((lf_1.nimcfg).p) ? (lf_1.nimcfg.p->data) : NIM_NIL, lf_1.nimcfg.len, TM__YwaTbafr83OQEbnpsyhGwA_76);
		if (NIM_UNLIKELY(*nimErr_)) goto LA15_;
		writeFile__stdZsyncio_u539(colontmpD_, colontmpD__2);
		if (NIM_UNLIKELY(*nimErr_)) goto LA15_;
		{
			LA15_:;
		}
		{
			if (colontmpD__2.p && !(colontmpD__2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__2.p);
}
			if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	goto LA10_;
LA13_: ;
	{
		genCfg_1 = NIM_TRUE;
	}
LA10_: ;
	{
		NimStringV2 colontmpD__3;
		NimStringV2 colontmpD__4;
		if (!(((NI)0) < lf_1.nimbleFile.filename.len)) goto LA21_;
		colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
		colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
		colontmpD__3 = slash___stdZpaths_u84(project_1, lf_1.nimbleFile.filename);
		if (NIM_UNLIKELY(*nimErr_)) goto LA23_;
		colontmpD__4 = nsuJoinSep(((lf_1.nimbleFile.content).p) ? (lf_1.nimbleFile.content.p->data) : NIM_NIL, lf_1.nimbleFile.content.len, TM__YwaTbafr83OQEbnpsyhGwA_77);
		if (NIM_UNLIKELY(*nimErr_)) goto LA23_;
		writeFile__stdZsyncio_u539(colontmpD__3, colontmpD__4);
		if (NIM_UNLIKELY(*nimErr_)) goto LA23_;
		{
			LA23_:;
		}
		{
			if (colontmpD__4.p && !(colontmpD__4.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__4.p);
}
			if (colontmpD__3.p && !(colontmpD__3.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__3.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA21_: ;
	paths_1.len = 0; paths_1.p = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content*) newSeqPayload(0, sizeof(NimStringV2), NIM_ALIGNOF(NimStringV2));
	{
		NimStringV2 __1;
		tyObject_LockFileEntry__3L1m2gTVW2cOTqVLqvNEkw v_1;
		NI L_1;
		__1.len = 0; __1.p = NIM_NIL;
		nimZeroMem((void*)(&v_1), sizeof(tyObject_LockFileEntry__3L1m2gTVW2cOTqVLqvNEkw));
		L_1 = len__basicZlockfiletypes_u5133((&lf_1.items));
		if (NIM_UNLIKELY(*nimErr_)) goto LA27_;
		{
			NI h_1;
			if (!(((NI)0) < lf_1.items.counter)) goto LA30_;
			h_1 = lf_1.items.first;
			{
				while (1) {
					NI nxt_1;
					if (!(((NI)0) <= h_1)) goto LA33;
					if (h_1 < 0 || h_1 >= lf_1.items.data.len){ raiseIndexError2(h_1,lf_1.items.data.len-1); goto LA27_;
					}
					nxt_1 = lf_1.items.data.p->data[h_1].Field1;
					{
						NIM_BOOL T36_;
						if (h_1 < 0 || h_1 >= lf_1.items.data.len){ raiseIndexError2(h_1,lf_1.items.data.len-1); goto LA27_;
						}
						T36_ = (NIM_BOOL)0;
						T36_ = isFilled__pureZcollectionsZtables_u31(lf_1.items.data.p->data[h_1].Field0);
						if (NIM_UNLIKELY(*nimErr_)) goto LA27_;
						if (!T36_) goto LA37_;
						if (h_1 < 0 || h_1 >= lf_1.items.data.len){ raiseIndexError2(h_1,lf_1.items.data.len-1); goto LA27_;
						}
						eqcopy___system_u2754((&__1), lf_1.items.data.p->data[h_1].Field2);
						if (h_1 < 0 || h_1 >= lf_1.items.data.len){ raiseIndexError2(h_1,lf_1.items.data.len-1); goto LA27_;
						}
						eqcopy___basicZlockfiletypes_u502((&v_1), (&lf_1.items.data.p->data[h_1].Field3));
						{
							NimStringV2 dir_1;
							NimStringV2 colontmpD__5;
							NimStringV2 colontmpD__6;
							tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw pkgUrl_1;
							tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA colontmpD__7;
							NimStringV2 url_1;
							tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw colontmpD__8;
							NimStringV2 colontmpD__9;
							tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA commit_1;
							tyArray__Seu7uK9aaOSN0BK3EAjjSHw T41_;
							NIM_BOOL T55_;
							dir_1.len = 0; dir_1.p = NIM_NIL;
							colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL;
							colontmpD__6.len = 0; colontmpD__6.p = NIM_NIL;
							nimZeroMem((void*)(&pkgUrl_1), sizeof(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw));
							nimZeroMem((void*)(&colontmpD__7), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
							url_1.len = 0; url_1.p = NIM_NIL;
							nimZeroMem((void*)(&colontmpD__8), sizeof(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw));
							colontmpD__9.len = 0; colontmpD__9.p = NIM_NIL;
							nimZeroMem((void*)(&commit_1), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
							dir_1 = fromPrefixedPath__lockfiles_u29(v_1.dir);
							if (NIM_UNLIKELY(*nimErr_)) goto LA40_;
							T41_[0] = TM__YwaTbafr83OQEbnpsyhGwA_85;
							colontmpD__5 = project__basicZcontext_u340();
							if (NIM_UNLIKELY(*nimErr_)) goto LA40_;
							colontmpD__6 = relativePath__stdZpaths_u146(dir_1, colontmpD__5, 47);
							if (NIM_UNLIKELY(*nimErr_)) goto LA40_;
							T41_[1] = colontmpD__6;
							T41_[2] = TM__YwaTbafr83OQEbnpsyhGwA_87;
							T41_[3] = v_1.commit;
							notice__basicZgitops_u1160(TM__YwaTbafr83OQEbnpsyhGwA_83, T41_, 4);
							if (NIM_UNLIKELY(*nimErr_)) goto LA40_;
							createUrl__basicZnimblecontext_u3215((&nc_1), v_1.url, (&pkgUrl_1));
							if (NIM_UNLIKELY(*nimErr_)) goto LA40_;
							{
								NIM_BOOL T44_;
								tyTuple__TLTPscngTyX39coeZ9b9cEB7w tmpTuple_1;
								tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA colontmpD__10;
								NimStringV2 err_1;
								tyEnum_CloneStatus__U8zdCQHenVifOnL77kAZAA status_1;
								T44_ = (NIM_BOOL)0;
								T44_ = dirExists__stdZdirs_u3(dir_1);
								if (NIM_UNLIKELY(*nimErr_)) goto LA40_;
								if (!!(T44_)) goto LA45_;
								nimZeroMem((void*)(&tmpTuple_1), sizeof(tyTuple__TLTPscngTyX39coeZ9b9cEB7w));
								nimZeroMem((void*)(&colontmpD__10), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
								err_1.len = 0; err_1.p = NIM_NIL;
								toUri__basicZpkgurls_u41((&pkgUrl_1), (&colontmpD__10));
								if (NIM_UNLIKELY(*nimErr_)) goto LA47_;
								tmpTuple_1 = clone__basicZgitops_u503((&colontmpD__10), dir_1, ((NI)5));
								if (NIM_UNLIKELY(*nimErr_)) goto LA47_;
								status_1 = tmpTuple_1.Field0;
								err_1 = tmpTuple_1.Field1;
								eqwasMoved___system_u2751((&tmpTuple_1.Field1));
								{
									tyArray__YgExxhfgKcesA5EOUj1MOA T52_;
									if (!!((status_1 == ((tyEnum_CloneStatus__U8zdCQHenVifOnL77kAZAA)0)))) goto LA50_;
									T52_[0] = err_1;
									error__basicZgitops_u1259(lockFile_p0, T52_, 1);
									if (NIM_UNLIKELY(*nimErr_)) goto LA47_;
									if (err_1.p && !(err_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(err_1.p);
}
									eqdestroy___pureZuri_u213((&colontmpD__10));
									eqdestroy___basicZgitops_u637((&tmpTuple_1));
									eqdestroy___basicZversions_u111((&commit_1));
									if (colontmpD__9.p && !(colontmpD__9.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__9.p);
}
									eqdestroy___basicZpkgurls_u261((&colontmpD__8));
									if (url_1.p && !(url_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(url_1.p);
}
									eqdestroy___pureZuri_u213((&colontmpD__7));
									eqdestroy___basicZpkgurls_u261((&pkgUrl_1));
									if (colontmpD__6.p && !(colontmpD__6.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__6.p);
}
									if (colontmpD__5.p && !(colontmpD__5.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__5.p);
}
									if (dir_1.p && !(dir_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(dir_1.p);
}
									goto LA39;
								}
LA50_: ;
								{
									LA47_:;
								}
								{
									if (err_1.p && !(err_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(err_1.p);
}
									eqdestroy___pureZuri_u213((&colontmpD__10));
									eqdestroy___basicZgitops_u637((&tmpTuple_1));
								}
								if (NIM_UNLIKELY(*nimErr_)) goto LA40_;
							}
LA45_: ;
							toUri__basicZpkgurls_u41((&pkgUrl_1), (&colontmpD__7));
							if (NIM_UNLIKELY(*nimErr_)) goto LA40_;
							T55_ = (NIM_BOOL)0;
							T55_ = ensureCanonicalOrigin__basicZgitops_u381(dir_1, (&colontmpD__7), TM__YwaTbafr83OQEbnpsyhGwA_89, ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)2));
							if (NIM_UNLIKELY(*nimErr_)) goto LA40_;
							(void)(T55_);
							url_1 = getCanonicalUrl__basicZgitops_u349(dir_1, TM__YwaTbafr83OQEbnpsyhGwA_90);
							if (NIM_UNLIKELY(*nimErr_)) goto LA40_;
							{
								tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw colontmpD__11;
								tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw colontmpD__12;
								NimStringV2 colontmpD__13;
								tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw lvl_1;
								tyArray__YgExxhfgKcesA5EOUj1MOA T67_;
								NimStringV2 T68_;
								createUrlSkipPatterns__basicZpkgurls_u205(url_1, NIM_FALSE, NIM_FALSE, (&colontmpD__8));
								if (NIM_UNLIKELY(*nimErr_)) goto LA40_;
								colontmpD__9 = dollar___basicZpkgurls_u47((&colontmpD__8));
								if (NIM_UNLIKELY(*nimErr_)) goto LA40_;
								if (!!(eqStrings(colontmpD__9, url_1))) goto LA58_;
								colontmpD__11 = (tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)0;
								colontmpD__12 = (tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)0;
								colontmpD__13.len = 0; colontmpD__13.p = NIM_NIL;
								{
									tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ* T63_;
									T63_ = (tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ*)0;
									T63_ = context__basicZcontext_u319();
									if (NIM_UNLIKELY(*nimErr_)) goto LA60_;
									if (!(((*T63_).flags &((NU32)1<<((NU)((((tyEnum_Flag__YJpVNZDPDp9bqb0qWHXEQFw)14)))&31U)))!=0)) goto LA64_;
									colontmpD__11 = ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)4);
									lvl_1 = colontmpD__11;
								}
								goto LA61_;
LA64_: ;
								{
									colontmpD__12 = ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)1);
									lvl_1 = colontmpD__12;
								}
LA61_: ;
								T68_.len = 0; T68_.p = NIM_NIL;
								T68_ = rawNewString(url_1.len + v_1.url.len + 54);
appendString((&T68_), TM__YwaTbafr83OQEbnpsyhGwA_92);
appendString((&T68_), url_1);
appendString((&T68_), TM__YwaTbafr83OQEbnpsyhGwA_94);
appendString((&T68_), v_1.url);
								colontmpD__13 = T68_;
								T67_[0] = colontmpD__13;
								message__basicZgitops_u366(lvl_1, v_1.dir, T67_, 1);
								if (NIM_UNLIKELY(*nimErr_)) goto LA60_;
								{
									LA60_:;
								}
								{
									if (colontmpD__13.p && !(colontmpD__13.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__13.p);
}
								}
								if (NIM_UNLIKELY(*nimErr_)) goto LA40_;
							}
LA58_: ;
							commit_1 = initCommitHash__basicZversions_u85(v_1.commit, ((tyEnum_CommitOrigin__tDM8mWEQT3dZtKoOj7Mgww)5));
							if (NIM_UNLIKELY(*nimErr_)) goto LA40_;
							{
								NIM_BOOL T73_;
								tyArray__Seu7uK9aaOSN0BK3EAjjSHw T76_;
								T73_ = (NIM_BOOL)0;
								T73_ = checkoutGitCommitFull__basicZgitops_u1085(dir_1, commit_1, TM__YwaTbafr83OQEbnpsyhGwA_95, ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)2));
								if (NIM_UNLIKELY(*nimErr_)) goto LA40_;
								if (!!(T73_)) goto LA74_;
								T76_[0] = TM__YwaTbafr83OQEbnpsyhGwA_97;
								T76_[1] = v_1.commit;
								T76_[2] = TM__YwaTbafr83OQEbnpsyhGwA_99;
								T76_[3] = dir_1;
								error__basicZgitops_u1259(v_1.dir, T76_, 4);
								if (NIM_UNLIKELY(*nimErr_)) goto LA40_;
							}
LA74_: ;
							{
								NimStringV2 T81_;
								if (!genCfg_1) goto LA79_;
								T81_.len = 0; T81_.p = NIM_NIL;
								T81_ = findCfgDir__basicZconfigutils_u10(dir_1);
								if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T81_); goto LA40_;}
								add__depgraphs_u21475((&paths_1), T81_);
							}
LA79_: ;
							{
								LA40_:;
							}
							{
								eqdestroy___basicZversions_u111((&commit_1));
								if (colontmpD__9.p && !(colontmpD__9.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__9.p);
}
								eqdestroy___basicZpkgurls_u261((&colontmpD__8));
								if (url_1.p && !(url_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(url_1.p);
}
								eqdestroy___pureZuri_u213((&colontmpD__7));
								eqdestroy___basicZpkgurls_u261((&pkgUrl_1));
								if (colontmpD__6.p && !(colontmpD__6.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__6.p);
}
								if (colontmpD__5.p && !(colontmpD__5.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__5.p);
}
								if (dir_1.p && !(dir_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(dir_1.p);
}
							}
							if (NIM_UNLIKELY(*nimErr_)) goto LA27_;
						} LA39: ;
						{
							NI T86_;
							T86_ = (NI)0;
							T86_ = len__basicZlockfiletypes_u5133((&lf_1.items));
							if (NIM_UNLIKELY(*nimErr_)) goto LA27_;
							if (!!((T86_ == L_1))) goto LA87_;
							failedAssertImpl__stdZassertions_u95(TM__YwaTbafr83OQEbnpsyhGwA_100);
							if (NIM_UNLIKELY(*nimErr_)) goto LA27_;
						}
LA87_: ;
					}
LA37_: ;
					h_1 = nxt_1;
				} LA33: ;
			}
		}
LA30_: ;
		{
			LA27_:;
		}
		{
			eqdestroy___basicZlockfiletypes_u499((&v_1));
			if (__1.p && !(__1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(__1.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	{
		NimStringV2 cfgPath_1;
		NimStringV2 blitTmp_1;
		tySequence__sM4lkSb7zS6F7OVMvW9cffQ T96_;
		if (!genCfg_1) goto LA93_;
		cfgPath_1.len = 0; cfgPath_1.p = NIM_NIL;
		blitTmp_1 = project_1;
		eqwasMoved___system_u2751((&project_1));
		cfgPath_1 = blitTmp_1;
		T96_.len = 0; T96_.p = NIM_NIL;
		T96_.len = 0; T96_.p = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content*) newSeqPayload(0, sizeof(NimStringV2), NIM_ALIGNOF(NimStringV2));
		patchNimCfg__basicZconfigutils_u63(paths_1, cfgPath_1, T96_);
		if (NIM_UNLIKELY(*nimErr_)) goto LA95_;
		{
			LA95_:;
		}
		{
			if (cfgPath_1.p && !(cfgPath_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(cfgPath_1.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA93_: ;
	{
		NIM_BOOL T101_;
		NimStringV2 colontmpD__14;
		NimStringV2 colontmpD__15;
		NimStringV2 colontmpD__16;
		T101_ = (NIM_BOOL)0;
		T101_ = eqStrings(lf_1.hostOS, TM__YwaTbafr83OQEbnpsyhGwA_101);
		if (!(T101_)) goto LA102_;
		T101_ = eqStrings(lf_1.hostCPU, TM__YwaTbafr83OQEbnpsyhGwA_102);
LA102_: ;
		if (!T101_) goto LA103_;
		colontmpD__14.len = 0; colontmpD__14.p = NIM_NIL;
		colontmpD__15.len = 0; colontmpD__15.p = NIM_NIL;
		colontmpD__16.len = 0; colontmpD__16.p = NIM_NIL;
		colontmpD__14 = detectNimVersion__basicZcompilerversions_u113();
		if (NIM_UNLIKELY(*nimErr_)) goto LA105_;
		compareVersion__lockfiles_u6375(TM__YwaTbafr83OQEbnpsyhGwA_107, lf_1.nimVersion, colontmpD__14);
		if (NIM_UNLIKELY(*nimErr_)) goto LA105_;
		colontmpD__15 = detectGccVersion__basicZcompilerversions_u3();
		if (NIM_UNLIKELY(*nimErr_)) goto LA105_;
		compareVersion__lockfiles_u6375(TM__YwaTbafr83OQEbnpsyhGwA_109, lf_1.gccVersion, colontmpD__15);
		if (NIM_UNLIKELY(*nimErr_)) goto LA105_;
		colontmpD__16 = detectClangVersion__basicZcompilerversions_u62();
		if (NIM_UNLIKELY(*nimErr_)) goto LA105_;
		compareVersion__lockfiles_u6375(TM__YwaTbafr83OQEbnpsyhGwA_111, lf_1.clangVersion, colontmpD__16);
		if (NIM_UNLIKELY(*nimErr_)) goto LA105_;
		{
			LA105_:;
		}
		{
			if (colontmpD__16.p && !(colontmpD__16.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__16.p);
}
			if (colontmpD__15.p && !(colontmpD__15.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__15.p);
}
			if (colontmpD__14.p && !(colontmpD__14.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__14.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA103_: ;
	{
		LA1_:;
	}
	{
		eqdestroy___basicZconfigutils_u150(paths_1);
		eqdestroy___basicZnimblecontext_u3564((&nc_1));
		eqdestroy___basicZlockfiletypes_u4587((&lf_1));
		if (project_1.p && !(project_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(project_1.p);
}
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
}
static N_INLINE(NimStringV2, getCurrentDir__stdZpaths_u191)(void) {
	NimStringV2 result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	result = nosgetCurrentDir();
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NCSTRING, nimToCStringConv)(NimStringV2 s_p0) {
	NCSTRING result;
	{
		if (!(s_p0.len == ((NI)0))) goto LA3_;
		result = "";
	}
	goto LA1_;
LA3_: ;
	{
		result = ((NCSTRING) ((*s_p0.p).data));
	}
LA1_: ;
	return result;
}
static N_INLINE(void, setCurrentDir__stdZprivateZosdirs_u506)(NimStringV2 newDir_p0) {
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	{
		int T3_;
		NI32 T6_;
		T3_ = (int)0;
		T3_ = chdir(nimToCStringConv(newDir_p0));
		if (!!((T3_ == ((NI32)0)))) goto LA4_;
		T6_ = (NI32)0;
		T6_ = osLastError__stdZoserrors_u122();
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		raiseOSError__stdZoserrors_u119(T6_, newDir_p0);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
LA4_: ;
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, listChanged__lockfiles_u6444)(NimStringV2 lockFile_p0) {
	tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg lf_1;
	tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg T2_;
NIM_BOOL oldNimErrFin31_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	nimZeroMem((void*)(&lf_1), sizeof(tyObject_LockFile__WA8vW9c9bJ5QV3WCCLL8vZZg));
	{
		NIM_BOOL T5_;
		T5_ = (NIM_BOOL)0;
		T5_ = eqeq___stdZpaths_u59(lockFile_p0, TM__YwaTbafr83OQEbnpsyhGwA_112);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if (!T5_) goto LA6_;
		convertNimbleLock__lockfiles_u6383(lockFile_p0, (&lf_1));
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	goto LA3_;
LA6_: ;
	{
		readLockFile__basicZlockfiletypes_u52(lockFile_p0, (&lf_1));
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA3_: ;
	{
		NimStringV2 __1;
		tyObject_LockFileEntry__3L1m2gTVW2cOTqVLqvNEkw v_1;
		NI L_1;
		__1.len = 0; __1.p = NIM_NIL;
		nimZeroMem((void*)(&v_1), sizeof(tyObject_LockFileEntry__3L1m2gTVW2cOTqVLqvNEkw));
		L_1 = len__basicZlockfiletypes_u5133((&lf_1.items));
		if (NIM_UNLIKELY(*nimErr_)) goto LA10_;
		{
			NI h_1;
			if (!(((NI)0) < lf_1.items.counter)) goto LA13_;
			h_1 = lf_1.items.first;
			{
				while (1) {
					NI nxt_1;
					if (!(((NI)0) <= h_1)) goto LA16;
					if (h_1 < 0 || h_1 >= lf_1.items.data.len){ raiseIndexError2(h_1,lf_1.items.data.len-1); goto LA10_;
					}
					nxt_1 = lf_1.items.data.p->data[h_1].Field1;
					{
						NIM_BOOL T19_;
						if (h_1 < 0 || h_1 >= lf_1.items.data.len){ raiseIndexError2(h_1,lf_1.items.data.len-1); goto LA10_;
						}
						T19_ = (NIM_BOOL)0;
						T19_ = isFilled__pureZcollectionsZtables_u31(lf_1.items.data.p->data[h_1].Field0);
						if (NIM_UNLIKELY(*nimErr_)) goto LA10_;
						if (!T19_) goto LA20_;
						if (h_1 < 0 || h_1 >= lf_1.items.data.len){ raiseIndexError2(h_1,lf_1.items.data.len-1); goto LA10_;
						}
						eqcopy___system_u2754((&__1), lf_1.items.data.p->data[h_1].Field2);
						if (h_1 < 0 || h_1 >= lf_1.items.data.len){ raiseIndexError2(h_1,lf_1.items.data.len-1); goto LA10_;
						}
						eqcopy___basicZlockfiletypes_u502((&v_1), (&lf_1.items.data.p->data[h_1].Field3));
						{
							NimStringV2 dir_1;
							NimStringV2 oldDirX60gensym62__1;
							NimStringV2 colontmpD_;
							tyArray__YgExxhfgKcesA5EOUj1MOA T29_;
							NimStringV2 T30_;
							NimStringV2 url_1;
							tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA commit_1;
							dir_1.len = 0; dir_1.p = NIM_NIL;
							oldDirX60gensym62__1.len = 0; oldDirX60gensym62__1.p = NIM_NIL;
							colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
							dir_1 = fromPrefixedPath__lockfiles_u29(v_1.dir);
							if (NIM_UNLIKELY(*nimErr_)) goto LA23_;
							{
								NIM_BOOL T26_;
								T26_ = (NIM_BOOL)0;
								T26_ = dirExists__stdZdirs_u3(dir_1);
								if (NIM_UNLIKELY(*nimErr_)) goto LA23_;
								if (!!(T26_)) goto LA27_;
								warn__basicZgitops_u3033(dir_1, TM__YwaTbafr83OQEbnpsyhGwA_113, 1);
								if (NIM_UNLIKELY(*nimErr_)) goto LA23_;
								if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
								if (oldDirX60gensym62__1.p && !(oldDirX60gensym62__1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(oldDirX60gensym62__1.p);
}
								if (dir_1.p && !(dir_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(dir_1.p);
}
								goto LA22;
							}
LA27_: ;
							oldDirX60gensym62__1 = getCurrentDir__stdZpaths_u191();
							if (NIM_UNLIKELY(*nimErr_)) goto LA23_;
							T30_.len = 0; T30_.p = NIM_NIL;
							T30_ = rawNewString(dir_1.len + 26);
appendString((&T30_), TM__YwaTbafr83OQEbnpsyhGwA_116);
appendString((&T30_), dir_1);
							colontmpD_ = T30_;
							T29_[0] = colontmpD_;
							trace__basicZgitops_u1078(dir_1, T29_, 1);
							if (NIM_UNLIKELY(*nimErr_)) goto LA23_;
							url_1.len = 0; url_1.p = NIM_NIL;
							nimZeroMem((void*)(&commit_1), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
							setCurrentDir__stdZprivateZosdirs_u506(dir_1);
							if (NIM_UNLIKELY(*nimErr_)) goto LA32_;
							url_1 = getCanonicalUrl__basicZgitops_u349(dir_1, TM__YwaTbafr83OQEbnpsyhGwA_117);
							if (NIM_UNLIKELY(*nimErr_)) goto LA32_;
							{
								NimStringV2 colontmpD__2;
								tyArray__YgExxhfgKcesA5EOUj1MOA T38_;
								NimStringV2 T39_;
								if (!!(eqStrings(v_1.url, url_1))) goto LA35_;
								colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
								T39_.len = 0; T39_.p = NIM_NIL;
								T39_ = rawNewString(url_1.len + v_1.url.len + 51);
appendString((&T39_), TM__YwaTbafr83OQEbnpsyhGwA_119);
appendString((&T39_), url_1);
appendString((&T39_), TM__YwaTbafr83OQEbnpsyhGwA_121);
appendString((&T39_), v_1.url);
								colontmpD__2 = T39_;
								T38_[0] = colontmpD__2;
								warn__basicZgitops_u3033(v_1.dir, T38_, 1);
								if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
								{
									LA37_:;
								}
								{
									if (colontmpD__2.p && !(colontmpD__2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__2.p);
}
								}
								if (NIM_UNLIKELY(*nimErr_)) goto LA32_;
							}
LA35_: ;
							commit_1 = currentGitCommit__basicZgitops_u1058(dir_1, ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)4));
							if (NIM_UNLIKELY(*nimErr_)) goto LA32_;
							{
								NimStringV2 colontmpD__3;
								NimStringV2 colontmpD__4;
								tyArray__YgExxhfgKcesA5EOUj1MOA T47_;
								NimStringV2 T48_;
								if (!!(eqStrings(commit_1.h, v_1.commit))) goto LA44_;
								colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
								colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
								T48_.len = 0; T48_.p = NIM_NIL;
								colontmpD__3 = dollar___basicZversions_u73(commit_1);
								if (NIM_UNLIKELY(*nimErr_)) goto LA46_;
								T48_ = rawNewString(colontmpD__3.len + v_1.commit.len + 38);
appendString((&T48_), TM__YwaTbafr83OQEbnpsyhGwA_123);
appendString((&T48_), colontmpD__3);
appendString((&T48_), TM__YwaTbafr83OQEbnpsyhGwA_124);
appendString((&T48_), v_1.commit);
								colontmpD__4 = T48_;
								T47_[0] = colontmpD__4;
								warn__basicZgitops_u3033(dir_1, T47_, 1);
								if (NIM_UNLIKELY(*nimErr_)) goto LA46_;
								{
									LA46_:;
								}
								{
									if (colontmpD__4.p && !(colontmpD__4.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__4.p);
}
									if (colontmpD__3.p && !(colontmpD__3.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__3.p);
}
								}
								if (NIM_UNLIKELY(*nimErr_)) goto LA32_;
							}
							goto LA42_;
LA44_: ;
							{
								NimStringV2 colontmpD__5;
								NimStringV2 colontmpD__6;
								NimStringV2 colontmpD__7;
								tyArray__Seu7uK9aaOSN0BK3EAjjSHw T53_;
								colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL;
								colontmpD__6.len = 0; colontmpD__6.p = NIM_NIL;
								colontmpD__7.len = 0; colontmpD__7.p = NIM_NIL;
								T53_[0] = TM__YwaTbafr83OQEbnpsyhGwA_127;
								colontmpD__5 = project__basicZcontext_u340();
								if (NIM_UNLIKELY(*nimErr_)) goto LA52_;
								colontmpD__6 = relativePath__stdZpaths_u146(dir_1, colontmpD__5, 47);
								if (NIM_UNLIKELY(*nimErr_)) goto LA52_;
								T53_[1] = colontmpD__6;
								T53_[2] = TM__YwaTbafr83OQEbnpsyhGwA_129;
								colontmpD__7 = short__basicZversions_u142(commit_1);
								if (NIM_UNLIKELY(*nimErr_)) goto LA52_;
								T53_[3] = colontmpD__7;
								notice__basicZgitops_u1160(TM__YwaTbafr83OQEbnpsyhGwA_125, T53_, 4);
								if (NIM_UNLIKELY(*nimErr_)) goto LA52_;
								{
									LA52_:;
								}
								{
									if (colontmpD__7.p && !(colontmpD__7.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__7.p);
}
									if (colontmpD__6.p && !(colontmpD__6.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__6.p);
}
									if (colontmpD__5.p && !(colontmpD__5.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__5.p);
}
								}
								if (NIM_UNLIKELY(*nimErr_)) goto LA32_;
							}
LA42_: ;
							{
								LA32_:;
							}
							{
								eqdestroy___basicZversions_u111((&commit_1));
								if (url_1.p && !(url_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(url_1.p);
}
							}
							if (NIM_UNLIKELY(*nimErr_)) goto LA31_;
							{
								LA31_:;
							}
							{
								oldNimErrFin31_ = *nimErr_; *nimErr_ = NIM_FALSE;
								setCurrentDir__stdZprivateZosdirs_u506(oldDirX60gensym62__1);
								if (NIM_UNLIKELY(*nimErr_)) goto LA23_;
								*nimErr_ = oldNimErrFin31_;
							}
							if (NIM_UNLIKELY(*nimErr_)) goto LA23_;
							{
								LA23_:;
							}
							{
								if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
								if (oldDirX60gensym62__1.p && !(oldDirX60gensym62__1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(oldDirX60gensym62__1.p);
}
								if (dir_1.p && !(dir_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(dir_1.p);
}
							}
							if (NIM_UNLIKELY(*nimErr_)) goto LA10_;
						} LA22: ;
						{
							NI T64_;
							T64_ = (NI)0;
							T64_ = len__basicZlockfiletypes_u5133((&lf_1.items));
							if (NIM_UNLIKELY(*nimErr_)) goto LA10_;
							if (!!((T64_ == L_1))) goto LA65_;
							failedAssertImpl__stdZassertions_u95(TM__YwaTbafr83OQEbnpsyhGwA_130);
							if (NIM_UNLIKELY(*nimErr_)) goto LA10_;
						}
LA65_: ;
					}
LA20_: ;
					h_1 = nxt_1;
				} LA16: ;
			}
		}
LA13_: ;
		{
			LA10_:;
		}
		{
			eqdestroy___basicZlockfiletypes_u499((&v_1));
			if (__1.p && !(__1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(__1.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	{
		NIM_BOOL T71_;
		NimStringV2 colontmpD__8;
		NimStringV2 colontmpD__9;
		NimStringV2 colontmpD__10;
		T71_ = (NIM_BOOL)0;
		T71_ = eqStrings(lf_1.hostOS, TM__YwaTbafr83OQEbnpsyhGwA_131);
		if (!(T71_)) goto LA72_;
		T71_ = eqStrings(lf_1.hostCPU, TM__YwaTbafr83OQEbnpsyhGwA_132);
LA72_: ;
		if (!T71_) goto LA73_;
		colontmpD__8.len = 0; colontmpD__8.p = NIM_NIL;
		colontmpD__9.len = 0; colontmpD__9.p = NIM_NIL;
		colontmpD__10.len = 0; colontmpD__10.p = NIM_NIL;
		colontmpD__8 = detectNimVersion__basicZcompilerversions_u113();
		if (NIM_UNLIKELY(*nimErr_)) goto LA75_;
		compareVersion__lockfiles_u6375(TM__YwaTbafr83OQEbnpsyhGwA_133, lf_1.nimVersion, colontmpD__8);
		if (NIM_UNLIKELY(*nimErr_)) goto LA75_;
		colontmpD__9 = detectGccVersion__basicZcompilerversions_u3();
		if (NIM_UNLIKELY(*nimErr_)) goto LA75_;
		compareVersion__lockfiles_u6375(TM__YwaTbafr83OQEbnpsyhGwA_134, lf_1.gccVersion, colontmpD__9);
		if (NIM_UNLIKELY(*nimErr_)) goto LA75_;
		colontmpD__10 = detectClangVersion__basicZcompilerversions_u62();
		if (NIM_UNLIKELY(*nimErr_)) goto LA75_;
		compareVersion__lockfiles_u6375(TM__YwaTbafr83OQEbnpsyhGwA_135, lf_1.clangVersion, colontmpD__10);
		if (NIM_UNLIKELY(*nimErr_)) goto LA75_;
		{
			LA75_:;
		}
		{
			if (colontmpD__10.p && !(colontmpD__10.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__10.p);
}
			if (colontmpD__9.p && !(colontmpD__9.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__9.p);
}
			if (colontmpD__8.p && !(colontmpD__8.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__8.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA73_: ;
	{
		LA1_:;
	}
	{
		eqdestroy___basicZlockfiletypes_u4587((&lf_1));
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
}
