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

#include "nimbase.h"
#include <string.h>
#include <dirent.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <time.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_DepGraph__i1RlFs3c9aTk9bK2vN5Pa2yw tyObject_DepGraph__i1RlFs3c9aTk9bK2vN5Pa2yw;
typedef struct tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA;
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_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 tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content;
typedef struct tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA;
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__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 tySequence__QArEOQfUBBFe7voRs4vldw tySequence__QArEOQfUBBFe7voRs4vldw;
typedef struct tySequence__QArEOQfUBBFe7voRs4vldw_Content tySequence__QArEOQfUBBFe7voRs4vldw_Content;
typedef struct tyTuple__P9b03d79atTGoSs9bM2vK9bPRA tyTuple__P9b03d79atTGoSs9bM2vK9bPRA;
typedef struct TNimTypeV2 TNimTypeV2;
typedef struct Exception Exception;
typedef struct RootObj RootObj;
typedef struct tySequence__3EvzHGO0xyXGnJBUggwfKQ tySequence__3EvzHGO0xyXGnJBUggwfKQ;
typedef struct tySequence__3EvzHGO0xyXGnJBUggwfKQ_Content tySequence__3EvzHGO0xyXGnJBUggwfKQ_Content;
typedef struct tyTuple__TLTPscngTyX39coeZ9b9cEB7w tyTuple__TLTPscngTyX39coeZ9b9cEB7w;
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 tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw;
typedef struct tyObject_VersionTag__io9bcihbopiwucKorobyKdg tyObject_VersionTag__io9bcihbopiwucKorobyKdg;
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 tySequence__ROG4zVH2lrODohp66awvUw tySequence__ROG4zVH2lrODohp66awvUw;
typedef struct tySequence__ROG4zVH2lrODohp66awvUw_Content tySequence__ROG4zVH2lrODohp66awvUw_Content;
typedef struct tySequence__fUCMBHW75OZPJePoPhOXNA tySequence__fUCMBHW75OZPJePoPhOXNA;
typedef struct tySequence__fUCMBHW75OZPJePoPhOXNA_Content tySequence__fUCMBHW75OZPJePoPhOXNA_Content;
typedef struct tyObject_Table__R7H9bCN4BdKJ55D5J5Zu9cbw tyObject_Table__R7H9bCN4BdKJ55D5J5Zu9cbw;
typedef struct tySequence__9cJRANXGXNDhl9aDvdgJEFcA tySequence__9cJRANXGXNDhl9aDvdgJEFcA;
typedef struct tySequence__9cJRANXGXNDhl9aDvdgJEFcA_Content tySequence__9cJRANXGXNDhl9aDvdgJEFcA_Content;
typedef struct tyTuple__J4qYjN1oh0iSNXduwGtAfg tyTuple__J4qYjN1oh0iSNXduwGtAfg;
typedef struct tyObject_RefHeader__BVEqx9abcuAhztUEHxbqQJA tyObject_RefHeader__BVEqx9abcuAhztUEHxbqQJA;
typedef struct tyTuple__UV3llMMYFckfui8YMBuUZA tyTuple__UV3llMMYFckfui8YMBuUZA;
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_HashSet__Uwr6yc54j9cc7mpkQIvCLZA tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA;
typedef struct tySequence__U9bYx6tPvWzQNzbZoriLUYA tySequence__U9bYx6tPvWzQNzbZoriLUYA;
typedef struct tySequence__U9bYx6tPvWzQNzbZoriLUYA_Content tySequence__U9bYx6tPvWzQNzbZoriLUYA_Content;
typedef struct tyTuple__DuXgJ7FhP2gM03hW7KEKAA tyTuple__DuXgJ7FhP2gM03hW7KEKAA;
typedef struct tyObject_CatchableError__liO6E8JNJNTVmf9cnXKZiug tyObject_CatchableError__liO6E8JNJNTVmf9cnXKZiug;
typedef struct tyObject_HashSet__Lvmn6BdMHxS172FqqpvhUQ tyObject_HashSet__Lvmn6BdMHxS172FqqpvhUQ;
typedef struct tySequence__LBJLCEp9cnUIr0If9a3YFyCQ tySequence__LBJLCEp9cnUIr0If9a3YFyCQ;
typedef struct tySequence__LBJLCEp9cnUIr0If9a3YFyCQ_Content tySequence__LBJLCEp9cnUIr0If9a3YFyCQ_Content;
typedef struct tyTuple__GSIE033wnKaKWLU68PPv9cA tyTuple__GSIE033wnKaKWLU68PPv9cA;
typedef struct tyObject_HashSet__9axRp7SZCUfmE3jbknxk4IA tyObject_HashSet__9axRp7SZCUfmE3jbknxk4IA;
typedef struct tySequence__qiQB9aYg1ebSgh2i1rl2apg tySequence__qiQB9aYg1ebSgh2i1rl2apg;
typedef struct tySequence__qiQB9aYg1ebSgh2i1rl2apg_Content tySequence__qiQB9aYg1ebSgh2i1rl2apg_Content;
typedef struct tyTuple__nDqnK525BO4R6efQI1S4pw tyTuple__nDqnK525BO4R6efQI1S4pw;
typedef struct tySequence__vOapjTAdumLxjw75U33DNg tySequence__vOapjTAdumLxjw75U33DNg;
typedef struct tySequence__vOapjTAdumLxjw75U33DNg_Content tySequence__vOapjTAdumLxjw75U33DNg_Content;
typedef struct tyTuple__QeWl6B6ffS4pU6WWrtcrDw tyTuple__QeWl6B6ffS4pU6WWrtcrDw;
typedef struct tyTuple__SgjupenGH7y9bVV9aV67zqsw tyTuple__SgjupenGH7y9bVV9aV67zqsw;
typedef struct tyTuple__wXnHEQsKrl9aA3i9cwZxKIFg tyTuple__wXnHEQsKrl9aA3i9cwZxKIFg;
typedef struct tyTuple__5z13DioL2O9cny1CehriGcQ tyTuple__5z13DioL2O9cny1CehriGcQ;
typedef struct tyTuple__HQn4jYwt9cUKCw69a7yYWO0A tyTuple__HQn4jYwt9cUKCw69a7yYWO0A;
typedef struct tyTuple__4ZA8Mtd29a9cAR3xLlz7LVrw tyTuple__4ZA8Mtd29a9cAR3xLlz7LVrw;
typedef struct tyTuple__POGkMJ7lRVtwX3CODjpoJQ tyTuple__POGkMJ7lRVtwX3CODjpoJQ;
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 tyObject_StackTraceEntry__lcKzdyiD6sm3eeh28rx7fw tyObject_StackTraceEntry__lcKzdyiD6sm3eeh28rx7fw;
typedef struct tyTuple__uSZbD2CRToUhqTsTNx4cgA tyTuple__uSZbD2CRToUhqTsTNx4cgA;
typedef struct tyTuple__xYhUhS7X82rKTqbT9bRfCnw tyTuple__xYhUhS7X82rKTqbT9bRfCnw;
typedef struct tyTuple__BOZJ2dQmr8noelxhx9c8g1Q tyTuple__BOZJ2dQmr8noelxhx9c8g1Q;
typedef struct tyObject_Instr__dVxI1dKsh9ajF145UocfxWg tyObject_Instr__dVxI1dKsh9ajF145UocfxWg;
struct NimStrPayload {
	NI cap;
	NIM_CHAR data[SEQ_DECL_SIZE];
};
struct NimStringV2 {
	NI len;
	NimStrPayload* p;
};
typedef NU8 tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw;
typedef NU8 tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg;
struct tySequence__oMQEWXk5BpYjO5RbdjG9a1Q {
  NI len; tySequence__oMQEWXk5BpYjO5RbdjG9a1Q_Content* p;
};
struct tyObject_OrderedTable__NAaHKPe5f6Y5G54ThvHCdw {
	tySequence__oMQEWXk5BpYjO5RbdjG9a1Q data;
	NI counter;
	NI first;
	NI last;
};
struct tyObject_DepGraph__i1RlFs3c9aTk9bK2vN5Pa2yw {
	tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw mode;
	tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* root;
	tyObject_OrderedTable__NAaHKPe5f6Y5G54ThvHCdw pkgs;
};
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 NimStringV2 tyArray__Seu7uK9aaOSN0BK3EAjjSHw[4];
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;
};
struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ {
  NI len; tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content* p;
};
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;
};
typedef NimStringV2 tyArray__dyW7vpmfeTYw8kX3EXuaJA[3];
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__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 NimStringV2 tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ[2];
struct tySequence__QArEOQfUBBFe7voRs4vldw {
  NI len; tySequence__QArEOQfUBBFe7voRs4vldw_Content* p;
};
struct tyTuple__P9b03d79atTGoSs9bM2vK9bPRA {
	NI Field0;
	NI Field1;
	tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw Field2;
	tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* Field3;
};
typedef NimStringV2 tyArray__YgExxhfgKcesA5EOUj1MOA[1];
struct TNimTypeV2 {
	void* destructor;
	NI size;
	NI16 align;
	NI16 depth;
	NU32* display;
	void* traceImpl;
	void* typeInfoV1;
	NI flags;
	void* vTable[SEQ_DECL_SIZE];
};
struct RootObj {
	TNimTypeV2* m_type;
};
struct tySequence__3EvzHGO0xyXGnJBUggwfKQ {
  NI len; tySequence__3EvzHGO0xyXGnJBUggwfKQ_Content* p;
};
struct Exception {
	RootObj Sup;
	Exception* parent;
	NCSTRING name;
	NimStringV2 message;
	tySequence__3EvzHGO0xyXGnJBUggwfKQ trace;
	Exception* up;
};
typedef NimStringV2 tyArray__hSrJSIaqyFxuH67Wd7apZQ[8];
typedef NU8 tyEnum_CloneStatus__U8zdCQHenVifOnL77kAZAA;
struct tyTuple__TLTPscngTyX39coeZ9b9cEB7w {
	tyEnum_CloneStatus__U8zdCQHenVifOnL77kAZAA Field0;
	NimStringV2 Field1;
};
typedef NU8 tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw;
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 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;
};
struct tySequence__ROG4zVH2lrODohp66awvUw {
  NI len; tySequence__ROG4zVH2lrODohp66awvUw_Content* p;
};
struct tySequence__fUCMBHW75OZPJePoPhOXNA {
  NI len; tySequence__fUCMBHW75OZPJePoPhOXNA_Content* p;
};
struct tySequence__9cJRANXGXNDhl9aDvdgJEFcA {
  NI len; tySequence__9cJRANXGXNDhl9aDvdgJEFcA_Content* p;
};
struct tyObject_Table__R7H9bCN4BdKJ55D5J5Zu9cbw {
	tySequence__9cJRANXGXNDhl9aDvdgJEFcA data;
	NI counter;
};
struct tyTuple__J4qYjN1oh0iSNXduwGtAfg {
	tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* Field0;
	tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* Field1;
};
struct tyObject_RefHeader__BVEqx9abcuAhztUEHxbqQJA {
	NI rc;
	NI rootIdx;
};
struct tyTuple__UV3llMMYFckfui8YMBuUZA {
	NimStringV2 Field0;
	NimStringV2 Field1;
};
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__U9bYx6tPvWzQNzbZoriLUYA {
  NI len; tySequence__U9bYx6tPvWzQNzbZoriLUYA_Content* p;
};
struct tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA {
	tySequence__U9bYx6tPvWzQNzbZoriLUYA data;
	NI counter;
};
struct tyTuple__DuXgJ7FhP2gM03hW7KEKAA {
	NI Field0;
	NimStringV2 Field1;
	tySequence__Cv9czsNzurrmCo02svI9bGaw Field2;
};
struct tyObject_CatchableError__liO6E8JNJNTVmf9cnXKZiug {
	Exception Sup;
};
struct tySequence__LBJLCEp9cnUIr0If9a3YFyCQ {
  NI len; tySequence__LBJLCEp9cnUIr0If9a3YFyCQ_Content* p;
};
struct tyObject_HashSet__Lvmn6BdMHxS172FqqpvhUQ {
	tySequence__LBJLCEp9cnUIr0If9a3YFyCQ data;
	NI counter;
};
struct tyTuple__GSIE033wnKaKWLU68PPv9cA {
	NI Field0;
	NI Field1;
	tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* Field2;
	tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* Field3;
};
struct tyObject_HashSet__9axRp7SZCUfmE3jbknxk4IA {
	tySequence__4eRCaZmrYLLw2k30GPTiMw data;
	NI counter;
};
typedef NimStringV2 tyArray__A2YC0h9cZydgH7zGAndH9bLg[6];
struct tySequence__qiQB9aYg1ebSgh2i1rl2apg {
  NI len; tySequence__qiQB9aYg1ebSgh2i1rl2apg_Content* p;
};
struct tyTuple__nDqnK525BO4R6efQI1S4pw {
	NI Field0;
	tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* Field1;
	tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* Field2;
};
struct tySequence__vOapjTAdumLxjw75U33DNg {
  NI len; tySequence__vOapjTAdumLxjw75U33DNg_Content* p;
};
struct tyTuple__QeWl6B6ffS4pU6WWrtcrDw {
	NI Field0;
	NimStringV2 Field1;
};
struct tyTuple__SgjupenGH7y9bVV9aV67zqsw {
	NI Field0;
	tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw Field1;
	tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q Field2;
};
struct tyTuple__wXnHEQsKrl9aA3i9cwZxKIFg {
	NI Field0;
	NI Field1;
	tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw Field2;
	tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA Field3;
};
struct tyTuple__5z13DioL2O9cny1CehriGcQ {
	NI Field0;
	tyObject_VersionTag__io9bcihbopiwucKorobyKdg Field1;
};
typedef NU8 tyEnum_PathComponent__OiWviOlsjyqprC56d9bn9b4Q;
typedef NIM_CHAR tyArray__bErjiHmvISNmC2iIqkq21Q[256];
struct tyTuple__HQn4jYwt9cUKCw69a7yYWO0A {
	tyEnum_PathComponent__OiWviOlsjyqprC56d9bn9b4Q Field0;
	NimStringV2 Field1;
};
struct tyTuple__4ZA8Mtd29a9cAR3xLlz7LVrw {
	tyEnum_PathComponent__OiWviOlsjyqprC56d9bn9b4Q Field0;
	NIM_BOOL Field1;
};
struct tySequence__oMQEWXk5BpYjO5RbdjG9a1Q_Content { NI cap; tyTuple__P9b03d79atTGoSs9bM2vK9bPRA data[SEQ_DECL_SIZE]; };
struct tySequence__jlOSbs9c7TpYbYckLycDaQg_Content { NI cap; tyTuple__GSIE033wnKaKWLU68PPv9cA data[SEQ_DECL_SIZE]; };
struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content { NI cap; NimStringV2 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__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__4eQHGndY6XBYpFOH09apV8Q_Content { NI cap; tyTuple__UV3llMMYFckfui8YMBuUZA data[SEQ_DECL_SIZE]; };
struct tySequence__4eRCaZmrYLLw2k30GPTiMw_Content { NI cap; tyTuple__QeWl6B6ffS4pU6WWrtcrDw data[SEQ_DECL_SIZE]; };
struct tySequence__QArEOQfUBBFe7voRs4vldw_Content { NI cap; tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw data[SEQ_DECL_SIZE]; };
struct tyObject_StackTraceEntry__lcKzdyiD6sm3eeh28rx7fw {
	NCSTRING procname;
	NI line;
	NCSTRING filename;
};
struct tySequence__3EvzHGO0xyXGnJBUggwfKQ_Content { NI cap; tyObject_StackTraceEntry__lcKzdyiD6sm3eeh28rx7fw 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 tySequence__Cv9czsNzurrmCo02svI9bGaw_Content { NI cap; tyTuple__XXBtNszxg1rbD9cnycyLK7A data[SEQ_DECL_SIZE]; };
struct tySequence__5tFKfHpt6l4YRslMO5BC9aA_Content { NI cap; tyTuple__SgjupenGH7y9bVV9aV67zqsw data[SEQ_DECL_SIZE]; };
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 tySequence__ROG4zVH2lrODohp66awvUw_Content { NI cap; tyObject_VersionTag__io9bcihbopiwucKorobyKdg data[SEQ_DECL_SIZE]; };
struct tySequence__fUCMBHW75OZPJePoPhOXNA_Content { NI cap; tyTuple__J4qYjN1oh0iSNXduwGtAfg data[SEQ_DECL_SIZE]; };
struct tySequence__9cJRANXGXNDhl9aDvdgJEFcA_Content { NI cap; tyTuple__nDqnK525BO4R6efQI1S4pw data[SEQ_DECL_SIZE]; };
struct tySequence__U9bYx6tPvWzQNzbZoriLUYA_Content { NI cap; tyTuple__5z13DioL2O9cny1CehriGcQ data[SEQ_DECL_SIZE]; };
struct tyTuple__BOZJ2dQmr8noelxhx9c8g1Q {
	NI Field0;
	tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA Field1;
};
struct tySequence__LBJLCEp9cnUIr0If9a3YFyCQ_Content { NI cap; tyTuple__BOZJ2dQmr8noelxhx9c8g1Q data[SEQ_DECL_SIZE]; };
struct tySequence__qiQB9aYg1ebSgh2i1rl2apg_Content { NI cap; tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* data[SEQ_DECL_SIZE]; };
struct tySequence__vOapjTAdumLxjw75U33DNg_Content { NI cap; tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* 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);
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(void, failedAssertImpl__stdZassertions_u95)(NimStringV2 msg_p0);
N_LIB_PRIVATE N_NIMCALL(void, createUrlFromPath__basicZnimblecontext_u3320)(tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* nc_p0, NimStringV2 orig_p1, NIM_BOOL isLinkPath_p2, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* Result);
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, projectName__basicZpkgurls_u35)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* u_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___basicZpkgurls_u47)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* u_p0);
N_LIB_PRIVATE N_NIMCALL(void*, nimNewObj)(NI size_p0, NI alignment_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqdup___basicZpkgurls_u267)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* src_p0, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* Result);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isForkUrl__dependencies_u185)(tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* nc_p0, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* url_p1);
N_LIB_PRIVATE N_NIMCALL(void, lookup__basicZnimblecontext_u442)(tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* nc_p0, NimStringV2 name_p1, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* Result);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, shortName__basicZpkgurls_u32)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* u_p0);
static N_INLINE(NIM_BOOL, contains__stdZenumutils_u50)(NimStringV2* a_p0, NI a_p0Len_0, NimStringV2 item_p1);
static N_INLINE(NI, find__stdZenumutils_u55)(NimStringV2* a_p0, NI a_p0Len_0, NimStringV2 item_p1);
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i_p0, NI n_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, url__basicZpkgurls_u44)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* p_p0, tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA* Result);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isEmpty__basicZpkgurls_u23)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* s_p0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___basicZpkgurls_u71)(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA* x_p0, tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA* y_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___pureZuri_u213)(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA* dest_p0);
N_LIB_PRIVATE N_NOCONV(void, deallocShared)(void* p_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZpkgurls_u261)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* dest_p0);
static N_INLINE(NIM_BOOL*, nimErrorFlag)(void);
N_LIB_PRIVATE N_NIMCALL(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA*, eqdup___basicZdepgraphtypes_u564)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* src_p0);
N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___basicZdeptypesjson_u12178)(tyObject_OrderedTable__NAaHKPe5f6Y5G54ThvHCdw* t_p0, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* key_p1, tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* val_p2);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, projectName__basicZdeptypes_u195)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* d_p0);
N_LIB_PRIVATE N_NIMCALL(void, processPendingPackages__dependencies_u12294)(tyObject_DepGraph__i1RlFs3c9aTk9bK2vN5Pa2yw* graph_p0, tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* nc_p1, tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* root_p2, tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw traversalMode_p3, tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg onClone_p4, NIM_BOOL deferChildDeps_p5);
N_LIB_PRIVATE N_NIMCALL(void*, newSeqPayload)(NI cap_p0, NI elemSize_p1, NI elemAlign_p2);
static N_INLINE(NI, len__basicZdepgraphtypes_u302)(tyObject_OrderedTable__NAaHKPe5f6Y5G54ThvHCdw* t_p0);
static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZtables_u31)(NI hcode_p0);
N_LIB_PRIVATE N_NIMCALL(void, add__dependencies_u12594)(tySequence__QArEOQfUBBFe7voRs4vldw* x_p0, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* y_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqwasMoved___dependencies_u13447)(tySequence__QArEOQfUBBFe7voRs4vldw* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___basicZdepgraphtypes_u561)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA** dest_p0, tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* src_p1);
N_LIB_PRIVATE N_NIMCALL(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA**, X5BX5D___basicZdeptypesjson_u14466)(tyObject_OrderedTable__NAaHKPe5f6Y5G54ThvHCdw* t_p0, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* key_p1);
N_LIB_PRIVATE N_NIMCALL(void, add__stdZenumutils_u70)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* x_p0, NimStringV2 y_p1);
static N_INLINE(void, eqdestroy___system_u281)(NimStringV2 x_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZdepgraphtypes_u558)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* dest_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nsuJoinSep)(NimStringV2* a_p0, NI a_p0Len_0, NimStringV2 sep_p1);
N_LIB_PRIVATE N_NIMCALL(void, debug__basicZgitops_u1174)(NimStringV2 p_p0, NimStringV2* args_p1, NI args_p1Len_0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___systemZdollars_u14)(NI xX60gensym0__p0);
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, loadDependency__dependencies_u12207)(tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* nc_p0, tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA** pkg_p1, tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg onClone_p2);
N_LIB_PRIVATE N_NIMCALL(void, eqsink___system_u2760)(NimStringV2* dest_p0, NimStringV2 src_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, project__basicZcontext_u340)(void);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, toDirectoryPath__basicZpkgurls_u154)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* pkgUrl_p0);
static N_INLINE(NIM_BOOL, dirExists__stdZdirs_u3)(NimStringV2 dir_p0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nosdirExists)(NimStringV2 dir_p0);
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);
N_LIB_PRIVATE N_NIMCALL(void, moveDir__stdZprivateZosdirs_u503)(NimStringV2 source_p0, NimStringV2 dest_p1);
static N_INLINE(NIM_BOOL, isObjDisplayCheck)(TNimTypeV2* source_p0, NI16 targetDepth_p1, NU32 token_p2);
static N_INLINE(Exception*, nimBorrowCurrentException)(void);
static N_INLINE(void, popCurrentException)(void);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___system_u3719)(Exception** dest_p0, Exception* src_p1, NIM_BOOL cyclic_p2);
N_LIB_PRIVATE N_NIMCALL(void, eqwasMoved___system_u2751)(NimStringV2* dest_p0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isAtlasProject__basicZpkgurls_u163)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* pkgUrl_p0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isNimbleLink__basicZpkgurls_u166)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* pkgUrl_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___dependencies_u159)(tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg e_p0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isFileProtocol__basicZpkgurls_u20)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* s_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nimBoolToStr)(NIM_BOOL x_p0);
N_LIB_PRIVATE N_NIMCALL(tyTuple__TLTPscngTyX39coeZ9b9cEB7w, copyFromDisk__dependencies_u162)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* pkg_p0, NimStringV2 dest_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, toOriginalPath__basicZpkgurls_u101)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* pkgUrl_p0, NIM_BOOL isWindowsTest_p1);
N_LIB_PRIVATE N_NIMCALL(void, info__dependencies_u167)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* p_p0, NimStringV2* args_p1, NI args_p1Len_0);
N_LIB_PRIVATE N_NIMCALL(void, trace__dependencies_u149)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* p_p0, NimStringV2* args_p1, NI args_p1Len_0);
N_LIB_PRIVATE N_NIMCALL(void, noscopyDir)(NimStringV2 source_p0, NimStringV2 dest_p1, NIM_BOOL skipSpecial_p2);
N_LIB_PRIVATE N_NIMCALL(void, error__dependencies_u178)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* p_p0, NimStringV2* args_p1, NI args_p1Len_0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, eqdup___system_u2757)(NimStringV2 src_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZgitops_u637)(tyTuple__TLTPscngTyX39coeZ9b9cEB7w* dest_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(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, resolveRemoteName__basicZgitops_u65)(NimStringV2 path_p0, NimStringV2 origin_p1, tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw errorReportLevel_p2);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, ensureRemoteForUrl__basicZgitops_u387)(NimStringV2 path_p0, tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA* url_p1, tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw errorReportLevel_p2);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, fetchRemoteTags__basicZgitops_u57)(NimStringV2 path_p0, NimStringV2 origin_p1, tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw errorReportLevel_p2);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___basicZcontext_u31)(tyEnum_CloneStatus__U8zdCQHenVifOnL77kAZAA e_p0);
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(tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ*, context__basicZcontext_u319)(void);
N_LIB_PRIVATE N_NIMCALL(void, updateRepo__basicZgitops_u4116)(NimStringV2 path_p0, NimStringV2 origin_p1, NIM_BOOL onlyTags_p2);
N_LIB_PRIVATE N_NIMCALL(void, trace__basicZgitops_u1126)(NimStringV2 p_p0, NimStringV2* args_p1, NI args_p1Len_0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, repr__dependencies_u12799)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* x_p0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__basicZdepgraphtypes_u2170)(tyObject_OrderedTable__NAaHKPe5f6Y5G54ThvHCdw* t_p0, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* key_p1);
N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___basicZdeptypesjson_u9465)(tyObject_OrderedTable__6LH0iEO9c9cdi0YrUiH7Mtdg* t_p0, tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* key_p1, tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* val_p2);
N_LIB_PRIVATE N_NIMCALL(tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg*, toPkgVer__basicZdeptypes_u118)(tyObject_VersionTag__io9bcihbopiwucKorobyKdg* vtag_p0);
N_LIB_PRIVATE N_NIMCALL(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA, initCommitHash__basicZversions_u85)(NimStringV2 raw_p0, tyEnum_CommitOrigin__tDM8mWEQT3dZtKoOj7Mgww origin_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZdeptypes_u148)(tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZversions_u111)(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA* dest_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, relativeToWorkspace__basicZcontext_u360)(NimStringV2 path_p0);
N_LIB_PRIVATE N_NIMCALL(void, traverseDependency__dependencies_u5183)(tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* nc_p0, tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA** pkg_p1, tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw mode_p2, tySequence__ROG4zVH2lrODohp66awvUw explicitVersions_p3, NIM_BOOL deferChildDeps_p4);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___basicZversions_u4785)(tySequence__ROG4zVH2lrODohp66awvUw* dest_p0, tySequence__ROG4zVH2lrODohp66awvUw src_p1);
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, eqsink___basicZversions_u120)(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA* dest_p0, tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA src_p1);
N_LIB_PRIVATE N_NIMCALL(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA, commit__basicZversions_u193)(tyObject_VersionTag__io9bcihbopiwucKorobyKdg* vt_p0);
N_LIB_PRIVATE N_NIMCALL(void, findOriginTip__basicZgitops_u681)(NimStringV2 path_p0, NimStringV2 origin_p1, tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw errorReportLevel_p2, NIM_BOOL isLocalOnly_p3, tyObject_VersionTag__io9bcihbopiwucKorobyKdg* Result);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isEmpty__basicZversions_u133)(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA c_p0);
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, add__dependencies_u4330)(tySequence__fUCMBHW75OZPJePoPhOXNA* x_p0, tyTuple__J4qYjN1oh0iSNXduwGtAfg y_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, version__basicZversions_u196)(tyObject_VersionTag__io9bcihbopiwucKorobyKdg* vt_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZversions_u3509)(tyObject_VersionTag__io9bcihbopiwucKorobyKdg* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___system_u5582)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___dependencies_u10731)(tyObject_Table__R7H9bCN4BdKJ55D5J5Zu9cbw* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZversions_u4782)(tySequence__ROG4zVH2lrODohp66awvUw dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___dependencies_u12042)(tySequence__fUCMBHW75OZPJePoPhOXNA dest_p0);
static N_INLINE(NIM_BOOL, nimDecRefIsLast)(void* p_p0);
static N_INLINE(NI, minuspercent___system_u813)(NI x_p0, NI y_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZdeptypes_u124)(tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, nimRawDispose)(void* p_p0, NI alignment_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZdeptypes_u902)(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, alignedDealloc)(void* p_p0, NI align_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___basicZversions_u73)(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA c_p0);
N_LIB_PRIVATE N_NIMCALL(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA, initCommitHash__basicZversions_u129)(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA c_p0, tyEnum_CommitOrigin__tDM8mWEQT3dZtKoOj7Mgww origin_p1);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, addRelease__dependencies_u4305)(tySequence__fUCMBHW75OZPJePoPhOXNA* versions_p0, tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* nc_p1, tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* pkg_p2, tyObject_VersionTag__io9bcihbopiwucKorobyKdg* vtag_p3, NIM_BOOL deferChildDeps_p4);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___basicZversions_u187)(tyObject_VersionTag__io9bcihbopiwucKorobyKdg* vt_p0);
N_LIB_PRIVATE N_NIMCALL(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw*, processNimbleRelease__dependencies_u305)(tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* nc_p0, tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* pkg_p1, tyObject_VersionTag__io9bcihbopiwucKorobyKdg* release_p2, NIM_BOOL deferChildDeps_p3);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___basicZversions_u359)(NimStringV2 a_p0, NimStringV2 b_p1);
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ, findNimbleFile__basicZnimblecontext_u322)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* info_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZnimblecontext_u145)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ dest_p0);
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ, cacheNimbleFilesFromGit__basicZnimblecontext_u330)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* pkg_p0, tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA commit_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, join__basicZnimblecontext_u96)(NimStringV2* a_p0, NI a_p0Len_0, NimStringV2 sep_p1);
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ, newSeq__dependencies_u386)(NI len_p0);
N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i_p0, NI64 a_p1, NI64 b_p2);
static N_INLINE(void, splitPath__stdZpaths_u88)(NimStringV2 path_p0, tyTuple__UV3llMMYFckfui8YMBuUZA* Result);
N_LIB_PRIVATE N_NIMCALL(void, nossplitPath)(NimStringV2 path_p0, tyTuple__UV3llMMYFckfui8YMBuUZA* Result);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___stdZprivateZospaths2_u303)(tyTuple__UV3llMMYFckfui8YMBuUZA* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___stdZpaths_u97)(tyTuple__UV3llMMYFckfui8YMBuUZA* dest_p0);
N_LIB_PRIVATE N_NIMCALL(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw*, parseNimbleFile__basicZnimbleparser_u2965)(tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* nc_p0, NimStringV2 nimbleFile_p1);
static N_INLINE(NIM_BOOL, isSpecial__basicZversions_u453)(tyObject_VersionInterval__Fo18dECYIXwkOygWPnb8YA* a_p0);
static N_INLINE(NIM_BOOL, isSpecial__basicZversions_u274)(NimStringV2 v_p0);
N_LIB_PRIVATE N_NIMCALL(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA, extractSpecificCommit__basicZversions_u5180)(tyObject_VersionInterval__Fo18dECYIXwkOygWPnb8YA* pattern_p0);
N_LIB_PRIVATE N_NIMCALL(void, incl__basicZgitops_u1690)(tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA* s_p0, tyObject_VersionTag__io9bcihbopiwucKorobyKdg* key_p1);
N_LIB_PRIVATE N_NIMCALL(tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA*, mgetOrPut__dependencies_u495)(tyObject_OrderedTable__2f785vUDCYHK3R5jPXmFkg* t_p0, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* key_p1, tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA val_p2);
N_LIB_PRIVATE N_NIMCALL(tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA, initHashSet__basicZgitops_u1444)(NI initialSize_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___basicZversions_u5238)(tyObject_VersionInterval__Fo18dECYIXwkOygWPnb8YA* i_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZgitops_u1640)(tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA* dest_p0);
N_LIB_PRIVATE N_NIMCALL(tyEnum_PackageState__INzfBajphYPGcwu72ccy8w, childDependencyState__dependencies_u301)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* pkg_p0, NIM_BOOL deferChildDeps_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___pureZuri_u409)(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA* u_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___basicZdeptypes_u22)(tyEnum_PackageState__INzfBajphYPGcwu72ccy8w e_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqwasMoved___basicZdepgraphtypes_u555)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA** dest_p0);
N_LIB_PRIVATE N_NIMCALL(NI, len__basicZdeptypesjson_u2933)(tyObject_Table__RkXBcORzX4aZm9bJbtHRiMA t_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___system_u2754)(NimStringV2* dest_p0, NimStringV2 src_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___basicZdeptypes_u287)(tySequence__Cv9czsNzurrmCo02svI9bGaw* dest_p0, tySequence__Cv9czsNzurrmCo02svI9bGaw src_p1);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__basicZversions_u4165)(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q s_p0, NimStringV2 key_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZdeptypes_u284)(tySequence__Cv9czsNzurrmCo02svI9bGaw dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZdeptypes_u1632)(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* dest_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___basicZversions_u52)(NimStringV2 v_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqwasMoved___basicZdeptypes_u145)(tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg** dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqwasMoved___basicZdeptypes_u1629)(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw** dest_p0);
static N_INLINE(Exception*, getCurrentException)(void);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZpackageinfos_u630)(tyObject_CatchableError__liO6E8JNJNTVmf9cnXKZiug* dest_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___dependencies_u5224)(tySequence__ROG4zVH2lrODohp66awvUw x_p0);
static N_INLINE(NI, len__basicZdeptypes_u1719)(tyObject_OrderedTable__6LH0iEO9c9cdi0YrUiH7Mtdg* t_p0);
N_LIB_PRIVATE N_NIMCALL(void, incl__dependencies_u5281)(tyObject_HashSet__Lvmn6BdMHxS172FqqpvhUQ* s_p0, tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA key_p1);
N_LIB_PRIVATE N_NIMCALL(void, expandSpecial__basicZgitops_u817)(NimStringV2 path_p0, NimStringV2 origin_p1, tyObject_VersionTag__io9bcihbopiwucKorobyKdg* vtag_p2, tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw errorReportLevel_p3, tyObject_VersionTag__io9bcihbopiwucKorobyKdg* Result);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___basicZversions_u3512)(tyObject_VersionTag__io9bcihbopiwucKorobyKdg* dest_p0, tyObject_VersionTag__io9bcihbopiwucKorobyKdg* src_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, repr__basicZversions_u190)(tyObject_VersionTag__io9bcihbopiwucKorobyKdg* vt_p0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, containsOrIncl__dependencies_u6789)(tyObject_HashSet__Lvmn6BdMHxS172FqqpvhUQ* s_p0, tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA key_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___dependencies_u12088)(tyObject_HashSet__Lvmn6BdMHxS172FqqpvhUQ* dest_p0);
N_LIB_PRIVATE N_NIMCALL(tySequence__ROG4zVH2lrODohp66awvUw, collectNimbleVersions__dependencies_u21)(tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* nc_p0, tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* pkg_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___basicZdeptypes_u192)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* d_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqsink___basicZversions_u4791)(tySequence__ROG4zVH2lrODohp66awvUw* dest_p0, tySequence__ROG4zVH2lrODohp66awvUw src_p1);
N_LIB_PRIVATE N_NIMCALL(tySequence__ROG4zVH2lrODohp66awvUw, collectFileCommits__basicZgitops_u760)(NimStringV2 path_p0, NimStringV2 file_p1, NimStringV2 origin_p2, tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw errorReportLevel_p3, NIM_BOOL isLocalOnly_p4);
N_LIB_PRIVATE N_NIMCALL(void, reverse__dependencies_u39)(tyObject_VersionTag__io9bcihbopiwucKorobyKdg* a_p0, NI a_p0Len_0);
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ, newSeq__stdZsyncio_u578)(NI len_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, short__basicZversions_u142)(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA c_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___basicZversions_u48)(tyEnum_CommitOrigin__tDM8mWEQT3dZtKoOj7Mgww e_p0);
N_LIB_PRIVATE N_NIMCALL(tySequence__ROG4zVH2lrODohp66awvUw, collectTaggedVersions__basicZgitops_u731)(NimStringV2 path_p0, NimStringV2 origin_p1, tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw errorReportLevel_p2, NIM_BOOL isLocalOnly_p3);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, containsOrIncl__dependencies_u7070)(tyObject_HashSet__9axRp7SZCUfmE3jbknxk4IA* s_p0, NimStringV2 key_p1);
N_LIB_PRIVATE N_NIMCALL(void, add__dependencies_u8527)(tySequence__fUCMBHW75OZPJePoPhOXNA* x_p0, tyTuple__J4qYjN1oh0iSNXduwGtAfg* y_p1, NI y_p1Len_0);
N_LIB_PRIVATE N_NIMCALL(void, error__basicZconfigutils_u107)(NimStringV2 p_p0, NimStringV2* args_p1, NI args_p1Len_0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__dependencies_u8682)(tyObject_HashSet__Lvmn6BdMHxS172FqqpvhUQ s_p0, tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA key_p1);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__dependencies_u8755)(tyObject_HashSet__9axRp7SZCUfmE3jbknxk4IA s_p0, NimStringV2 key_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___dependencies_u12147)(tyObject_HashSet__9axRp7SZCUfmE3jbknxk4IA* dest_p0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, checkoutGitCommit__basicZgitops_u1065)(NimStringV2 path_p0, tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA commit_p1, tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw errorReportLevel_p2);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__dependencies_u8875)(tyObject_Table__R7H9bCN4BdKJ55D5J5Zu9cbw t_p0, tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* key_p1);
N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___dependencies_u9358)(tyObject_Table__R7H9bCN4BdKJ55D5J5Zu9cbw* t_p0, tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* key_p1, tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* val_p2);
N_LIB_PRIVATE N_NIMCALL(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw*, eqdup___basicZdeptypes_u1638)(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* src_p0);
N_LIB_PRIVATE N_NIMCALL(NI, len__dependencies_u10513)(tyObject_Table__R7H9bCN4BdKJ55D5J5Zu9cbw t_p0);
N_LIB_PRIVATE N_NIMCALL(void, add__dependencies_u4914)(tySequence__qiQB9aYg1ebSgh2i1rl2apg* x_p0, tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* y_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___dependencies_u4980)(tySequence__qiQB9aYg1ebSgh2i1rl2apg dest_p0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__dependencies_u10869)(tyObject_OrderedTable__6LH0iEO9c9cdi0YrUiH7Mtdg* t_p0, tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* key_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, repr__dependencies_u10935)(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* x_p0);
N_LIB_PRIVATE N_NIMCALL(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw**, X5BX5D___basicZdeptypes_u621)(tyObject_OrderedTable__6LH0iEO9c9cdi0YrUiH7Mtdg* t_p0, tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* key_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___dependencies_u11780)(tySequence__vOapjTAdumLxjw75U33DNg x_p0);
N_LIB_PRIVATE N_NIMCALL(void, add__dependencies_u3435)(tySequence__vOapjTAdumLxjw75U33DNg* x_p0, tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* y_p1);
N_LIB_PRIVATE N_NIMCALL(tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg*, eqdup___basicZdeptypes_u154)(tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* src_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___dependencies_u3501)(tySequence__vOapjTAdumLxjw75U33DNg dest_p0);
N_LIB_PRIVATE N_NIMCALL(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw**, X5BX5D___dependencies_u11881)(tyObject_Table__R7H9bCN4BdKJ55D5J5Zu9cbw* t_p0, tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* key_p1);
N_LIB_PRIVATE N_NIMCALL(void, filterToExplicitVersions__dependencies_u4368)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA** pkg_p0, tySequence__ROG4zVH2lrODohp66awvUw explicitVersions_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZdeptypes_u2036)(tyObject_OrderedTable__6LH0iEO9c9cdi0YrUiH7Mtdg* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, initOrderedTable__dependencies_u4386)(NI initialSize_p0, tyObject_OrderedTable__6LH0iEO9c9cdi0YrUiH7Mtdg* Result);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___basicZdeptypes_u151)(tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg** dest_p0, tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* src_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___basicZdeptypes_u1635)(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw** dest_p0, tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* src_p1);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, explicitVersionMatches__dependencies_u4364)(tyObject_VersionTag__io9bcihbopiwucKorobyKdg* explicit_p0, tyObject_VersionTag__io9bcihbopiwucKorobyKdg* candidate_p1);
static N_INLINE(NIM_BOOL, isHead__basicZversions_u288)(NimStringV2 v_p0);
N_LIB_PRIVATE N_NIMCALL(NI, nsuCmpIgnoreCase)(NimStringV2 a_p0, NimStringV2 b_p1);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, commitPrefixMatches__dependencies_u4360)(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA a_p0, tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA b_p1);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nsuStartsWith)(NimStringV2 s_p0, NimStringV2 prefix_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, substr__system_u9109)(NimStringV2 s_p0, NI first_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqsink___basicZdeptypes_u2045)(tyObject_OrderedTable__6LH0iEO9c9cdi0YrUiH7Mtdg* dest_p0, tyObject_OrderedTable__6LH0iEO9c9cdi0YrUiH7Mtdg* src_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqwasMoved___basicZdeptypes_u2033)(tyObject_OrderedTable__6LH0iEO9c9cdi0YrUiH7Mtdg* dest_p0);
N_LIB_PRIVATE N_NIMCALL(NI, len__basicZdeptypesjson_u836)(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q s_p0);
N_LIB_PRIVATE N_NIMCALL(void, addFeatureDependencies__dependencies_u2803)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* pkg_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___basicZversions_u5017)(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q* dest_p0, tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q src_p1);
static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZsets_u39)(NI hcode_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZversions_u5014)(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q* dest_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___basicZdeptypes_u551)(tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* r_p0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__dependencies_u3767)(tyObject_Table__RkXBcORzX4aZm9bJbtHRiMA t_p0, NimStringV2 key_p1);
N_LIB_PRIVATE N_NIMCALL(tySequence__Cv9czsNzurrmCo02svI9bGaw*, X5BX5D___dependencies_u3854)(tyObject_Table__RkXBcORzX4aZm9bJbtHRiMA* t_p0, NimStringV2 key_p1);
static N_INLINE(NI, rawGet__basicZnimbleparser_u1638)(tyObject_Table__chgX4ZRn9aA0cwNzdIgL9a3w t_p0, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* key_p1, NI* hc_p2);
static N_INLINE(NI, hash__basicZpkgurls_u50)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* a_p0);
N_LIB_PRIVATE N_NIMCALL(NI, hash__basicZpkgurls_u53)(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA* x_p0);
static N_INLINE(NIM_BOOL, eqeq___basicZpkgurls_u67)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* a_p0, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* b_p1);
static N_INLINE(NI, nextTry__pureZcollectionsZtables_u34)(NI h_p0, NI maxHash_p1);
static N_INLINE(NIM_BOOL, nimSubInt)(NI a_p0, NI b_p1, NI* res_p2);
N_LIB_PRIVATE N_NIMCALL(void, incl__basicZversions_u858)(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q* s_p0, NimStringV2 key_p1);
N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___basicZdeptypesjson_u1973)(tyObject_Table__chgX4ZRn9aA0cwNzdIgL9a3w* t_p0, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* 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(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q*, X5BX5D___dependencies_u4185)(tyObject_Table__chgX4ZRn9aA0cwNzdIgL9a3w* t_p0, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* key_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___dependencies_u13450)(tySequence__QArEOQfUBBFe7voRs4vldw dest_p0);
static N_INLINE(NI, len__dependencies_u13731)(tyObject_OrderedTable__2f785vUDCYHK3R5jPXmFkg* t_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___basicZgitops_u1643)(tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA* dest_p0, tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA src_p1);
N_LIB_PRIVATE N_NIMCALL(tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA*, X5BX5D___dependencies_u14149)(tyObject_OrderedTable__2f785vUDCYHK3R5jPXmFkg* t_p0, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* key_p1);
N_LIB_PRIVATE N_NIMCALL(tySequence__ROG4zVH2lrODohp66awvUw, newSeq__basicZversions_u4680)(NI len_p0);
N_LIB_PRIVATE N_NIMCALL(NI, len__basicZgitops_u3121)(tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA s_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqsink___basicZversions_u3518)(tyObject_VersionTag__io9bcihbopiwucKorobyKdg* dest_p0, tyObject_VersionTag__io9bcihbopiwucKorobyKdg* src_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqwasMoved___basicZversions_u3506)(tyObject_VersionTag__io9bcihbopiwucKorobyKdg* dest_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, cstrToNimstr)(NCSTRING str_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_NIMCALL(tyTuple__4ZA8Mtd29a9cAR3xLlz7LVrw, getSymlinkFileKind__stdZprivateZoscommon_u17)(NimStringV2 path_p0);
static N_INLINE(NimStringV2, slash___stdZpaths_u84)(NimStringV2 head_p0, NimStringV2 tail_p1);
N_LIB_PRIVATE N_NIMCALL(void, add__basicZnimblecontext_u72)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* x_p0, NimStringV2 y_p1);
static const struct {
  NI cap; NIM_CHAR data[1+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_2 = { 1 | NIM_STRLIT_FLAG, "." };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_3 = {1, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_2};
static const struct {
  NI cap; NIM_CHAR data[46+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_4 = { 46 | NIM_STRLIT_FLAG, "dependencies.nim(516, 3) `path.string != \".\"` " };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_5 = {46, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_4};
static const struct {
  NI cap; NIM_CHAR data[26+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_6 = { 26 | NIM_STRLIT_FLAG, "expanding root package at:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_7 = {26, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_6};
static const struct {
  NI cap; NIM_CHAR data[4+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_8 = { 4 | NIM_STRLIT_FLAG, "url:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_9 = {4, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_8};
static const struct {
  NI cap; NIM_CHAR data[4+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_12 = { 4 | NIM_STRLIT_FLAG, "file" };
static const struct {
  NI cap; NIM_CHAR data[4+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_13 = { 4 | NIM_STRLIT_FLAG, "link" };
static const struct {
  NI cap; NIM_CHAR data[5+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_14 = { 5 | NIM_STRLIT_FLAG, "atlas" };
static const struct {
  NI cap; NIM_CHAR data[12+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_15 = { 12 | NIM_STRLIT_FLAG, "atlas:expand" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_16 = {12, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_15};
static const struct {
  NI cap; NIM_CHAR data[23+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_17 = { 23 | NIM_STRLIT_FLAG, "Expanding packages for:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_18 = {23, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_17};
static const struct {
  NI cap; NIM_CHAR data[90+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_19 = { 90 | NIM_STRLIT_FLAG, "tables.nim(1865, 11) `len(t) == L` the length of the table changed while iterating over it" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_20 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_19};
static const struct {
  NI cap; NIM_CHAR data[90+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_21 = { 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__C9cmKYCNdBkg6KCWDBOEmkg_22 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_21};
static const struct {
  NI cap; NIM_CHAR data[22+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_23 = { 22 | NIM_STRLIT_FLAG, "Initializing packages:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_24 = {22, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_23};
static const struct {
  NI cap; NIM_CHAR data[2+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_25 = { 2 | NIM_STRLIT_FLAG, ", " };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_26 = {2, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_25};
static const struct {
  NI cap; NIM_CHAR data[20+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_27 = { 20 | NIM_STRLIT_FLAG, "Processing packages:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_28 = {20, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_27};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_29 = {2, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_25};
static const struct {
  NI cap; NIM_CHAR data[17+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_30 = { 17 | NIM_STRLIT_FLAG, "atlas:expandGraph" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_31 = {17, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_30};
static const struct {
  NI cap; NIM_CHAR data[26+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_32 = { 26 | NIM_STRLIT_FLAG, "Processing package count: " };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_33 = {26, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_32};
static const struct {
  NI cap; NIM_CHAR data[21+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_34 = { 21 | NIM_STRLIT_FLAG, "Initializing package:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_35 = {21, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_34};
static const struct {
  NI cap; NIM_CHAR data[51+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_36 = { 51 | NIM_STRLIT_FLAG, "dependencies.nim(370, 3) `pkg.ondisk.string == \"\"` " };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_37 = {51, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_36};
static const struct {
  NI cap; NIM_CHAR data[31+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_39 = { 31 | NIM_STRLIT_FLAG, "package is unofficial or forked" };
static const struct {
  NI cap; NIM_CHAR data[24+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_40 = { 24 | NIM_STRLIT_FLAG, "loading dependency todo:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_41 = {24, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_40};
static const struct {
  NI cap; NIM_CHAR data[9+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_42 = { 9 | NIM_STRLIT_FLAG, "DoNothing" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_43 = {9, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_42};
static const struct {
  NI cap; NIM_CHAR data[7+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_44 = { 7 | NIM_STRLIT_FLAG, "DoClone" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_45 = {7, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_44};
static const struct {
  NI cap; NIM_CHAR data[0+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_46 = { 0 | NIM_STRLIT_FLAG, "" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_47 = {0, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_46};
static const struct {
  NI cap; NIM_CHAR data[7+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_48 = { 7 | NIM_STRLIT_FLAG, "ondisk:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_49 = {7, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_48};
static const struct {
  NI cap; NIM_CHAR data[9+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_50 = { 9 | NIM_STRLIT_FLAG, "isLinked:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_51 = {9, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_50};
static const struct {
  NI cap; NIM_CHAR data[15+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_52 = { 15 | NIM_STRLIT_FLAG, "isLazyDeferred:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_53 = {15, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_52};
static const struct {
  NI cap; NIM_CHAR data[9+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_54 = { 9 | NIM_STRLIT_FLAG, "Not found" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_55 = {9, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_54};
static const struct {
  NI cap; NIM_CHAR data[21+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_56 = { 21 | NIM_STRLIT_FLAG, "copyFromDisk cloning:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_57 = {21, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_56};
static const struct {
  NI cap; NIM_CHAR data[5+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_58 = { 5 | NIM_STRLIT_FLAG, "from:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_59 = {5, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_58};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_60 = {21, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_56};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_61 = {5, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_58};
static const struct {
  NI cap; NIM_CHAR data[0+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_62 = { 0 | NIM_STRLIT_FLAG, "" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_63 = {0, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_62};
static const struct {
  NI cap; NIM_CHAR data[23+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_64 = { 23 | NIM_STRLIT_FLAG, "copyFromDisk not found:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_65 = {23, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_64};
static const struct {
  NI cap; NIM_CHAR data[6+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_66 = { 6 | NIM_STRLIT_FLAG, "origin" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_67 = {6, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_66};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_68 = {6, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_66};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_69 = {6, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_66};
static const struct {
  NI cap; NIM_CHAR data[2+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_70 = { 2 | NIM_STRLIT_FLAG, ": " };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_71 = {2, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_70};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_72 = {6, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_66};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_73 = {6, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_66};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_74 = {6, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_66};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_75 = {6, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_66};
static const struct {
  NI cap; NIM_CHAR data[23+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_76 = { 23 | NIM_STRLIT_FLAG, "ondisk location missing" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_77 = {23, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_76};
static const struct {
  NI cap; NIM_CHAR data[13+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_78 = { 13 | NIM_STRLIT_FLAG, "expanded pkg:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_79 = {13, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_78};
static const struct {
  NI cap; NIM_CHAR data[1+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_80 = { 1 | NIM_STRLIT_FLAG, "*" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_81 = {1, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_80};
static const struct {
  NI cap; NIM_CHAR data[5+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_82 = { 5 | NIM_STRLIT_FLAG, "#head" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_83 = {5, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_82};
static const struct {
  NI cap; NIM_CHAR data[5+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_84 = { 5 | NIM_STRLIT_FLAG, "#head" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_85 = {5, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_84};
static const struct {
  NI cap; NIM_CHAR data[42+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_86 = { 42 | NIM_STRLIT_FLAG, "Adding lazy deferred package to pkgs list:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_87 = {42, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_86};
static const struct {
  NI cap; NIM_CHAR data[31+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_88 = { 31 | NIM_STRLIT_FLAG, "Skipping lazy deferred package:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_89 = {31, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_88};
static const struct {
  NI cap; NIM_CHAR data[22+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_90 = { 22 | NIM_STRLIT_FLAG, "Processing package at:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_91 = {22, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_90};
static const struct {
  NI cap; NIM_CHAR data[145+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_92 = { 145 | NIM_STRLIT_FLAG, "dependencies.nim(225, 3) `pkg.ondisk.dirExists() and pkg.state != NotInitialized` Package should\'ve been found or cloned at this point. Package: " };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_93 = {145, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_92};
static const struct {
  NI cap; NIM_CHAR data[10+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_94 = { 10 | NIM_STRLIT_FLAG, " on disk: " };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_95 = {10, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_94};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_96 = {6, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_66};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_97 = {6, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_66};
static const struct {
  NI cap; NIM_CHAR data[60+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_98 = { 60 | NIM_STRLIT_FLAG, "traversing dependency unable to find git current version at " };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_99 = {60, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_98};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_100 = {5, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_84};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_101 = {0, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_62};
static const struct {
  NI cap; NIM_CHAR data[37+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_102 = { 37 | NIM_STRLIT_FLAG, "traversing dependency current commit:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_103 = {37, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_102};
static const struct {
  NI cap; NIM_CHAR data[45+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_105 = { 45 | NIM_STRLIT_FLAG, "traversing dependency for only current commit" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_106 = {5, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_84};
static const struct {
  NI cap; NIM_CHAR data[22+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_107 = { 22 | NIM_STRLIT_FLAG, "Adding Nimble version:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_108 = {22, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_107};
static const struct {
  NI cap; NIM_CHAR data[19+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_109 = { 19 | NIM_STRLIT_FLAG, "Processing release:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_110 = {19, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_109};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_111 = {5, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_84};
static const struct {
  NI cap; NIM_CHAR data[35+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_113 = { 35 | NIM_STRLIT_FLAG, "processRelease using current commit" };
static const struct {
  NI cap; NIM_CHAR data[30+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_114 = { 30 | NIM_STRLIT_FLAG, "processRelease missing commit " };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_115 = {30, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_114};
static const struct {
  NI cap; NIM_CHAR data[3+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_116 = { 3 | NIM_STRLIT_FLAG, "at:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_117 = {3, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_116};
static const struct {
  NI cap; NIM_CHAR data[9+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_118 = { 9 | NIM_STRLIT_FLAG, "no commit" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_119 = {9, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_118};
static const struct {
  NI cap; NIM_CHAR data[14+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_120 = { 14 | NIM_STRLIT_FLAG, "processRelease" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_121 = {14, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_120};
static const struct {
  NI cap; NIM_CHAR data[38+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_122 = { 38 | NIM_STRLIT_FLAG, "skipping release: missing nimble file:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_123 = {38, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_122};
static const struct {
  NI cap; NIM_CHAR data[19+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_124 = { 19 | NIM_STRLIT_FLAG, "missing nimble file" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_125 = {19, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_124};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_126 = {14, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_120};
static const struct {
  NI cap; NIM_CHAR data[40+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_127 = { 40 | NIM_STRLIT_FLAG, "skipping release: ambiguous nimble file:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_128 = {40, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_127};
static const struct {
  NI cap; NIM_CHAR data[6+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_129 = { 6 | NIM_STRLIT_FLAG, "files:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_130 = {6, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_129};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_132 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_21};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_133 = {2, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_25};
static const struct {
  NI cap; NIM_CHAR data[21+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_134 = { 21 | NIM_STRLIT_FLAG, "ambiguous nimble file" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_135 = {21, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_134};
static const struct {
  NI cap; NIM_CHAR data[14+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_136 = { 14 | NIM_STRLIT_FLAG, "Found new pkg:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_137 = {14, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_136};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_138 = {4, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_8};
static const struct {
  NI cap; NIM_CHAR data[12+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_139 = { 12 | NIM_STRLIT_FLAG, "projectName:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_140 = {12, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_139};
static const struct {
  NI cap; NIM_CHAR data[6+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_141 = { 6 | NIM_STRLIT_FLAG, "state:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_142 = {6, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_141};
static const struct {
  NI cap; NIM_CHAR data[36+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_143 = { 36 | NIM_STRLIT_FLAG, "Changing LazyDeferred pkg to DoLoad:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_144 = {36, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_143};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_145 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_21};
static const struct {
  NI cap; NIM_CHAR data[22+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_146 = { 22 | NIM_STRLIT_FLAG, "Found new feature pkg:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_147 = {22, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_146};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_148 = {4, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_8};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_149 = {12, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_139};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_150 = {6, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_141};
static const struct {
  NI cap; NIM_CHAR data[44+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_151 = { 44 | NIM_STRLIT_FLAG, "Changing LazyDeferred feature pkg to DoLoad:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_152 = {44, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_151};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_153 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_21};
static const struct {
  NI cap; NIM_CHAR data[89+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_154 = { 89 | NIM_STRLIT_FLAG, "tables.nim(771, 13) `len(t) == L` the length of the table changed while iterating over it" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_155 = {89, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_154};
static const struct {
  NI cap; NIM_CHAR data[33+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_157 = { 33 | NIM_STRLIT_FLAG, "updating release tag information:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_158 = {33, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_157};
static const struct {
  NI cap; NIM_CHAR data[40+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_159 = { 40 | NIM_STRLIT_FLAG, "nimble file missing version information:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_160 = {40, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_159};
static const struct {
  NI cap; NIM_CHAR data[37+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_161 = { 37 | NIM_STRLIT_FLAG, "version mismatch between version tag:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_162 = {37, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_161};
static const struct {
  NI cap; NIM_CHAR data[19+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_163 = { 19 | NIM_STRLIT_FLAG, "and nimble version:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_164 = {19, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_163};
static const struct {
  NI cap; NIM_CHAR data[32+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_165 = { 32 | NIM_STRLIT_FLAG, "error processing nimble release:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_166 = {32, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_165};
static const struct {
  NI cap; NIM_CHAR data[6+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_167 = { 6 | NIM_STRLIT_FLAG, "error:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_168 = {6, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_167};
static const struct {
  NI cap; NIM_CHAR data[46+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_169 = { 46 | NIM_STRLIT_FLAG, "traversing dependency found explicit versions:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_170 = {46, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_169};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_171 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_19};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_172 = {6, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_66};
static const struct {
  NI cap; NIM_CHAR data[17+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_173 = { 17 | NIM_STRLIT_FLAG, "explicit version:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_174 = {17, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_173};
static const struct {
  NI cap; NIM_CHAR data[5+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_175 = { 5 | NIM_STRLIT_FLAG, "vtag:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_176 = {5, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_175};
static const struct {
  NI cap; NIM_CHAR data[90+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_177 = { 90 | NIM_STRLIT_FLAG, "iterators.nim(263, 11) `len(a) == L` the length of the seq changed while iterating over it" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_178 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_177};
static const struct {
  NI cap; NIM_CHAR data[23+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_179 = { 23 | NIM_STRLIT_FLAG, "check explicit version:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_180 = {23, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_179};
static const struct {
  NI cap; NIM_CHAR data[34+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_181 = { 34 | NIM_STRLIT_FLAG, "explicit version has empty commit:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_182 = {34, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_181};
static const struct {
  NI cap; NIM_CHAR data[21+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_183 = { 21 | NIM_STRLIT_FLAG, "add explicit version:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_184 = {21, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_183};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_185 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_21};
static const struct {
  NI cap; NIM_CHAR data[131+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_186 = { 131 | NIM_STRLIT_FLAG, "dependencies.nim(17, 11) `pkg.ondisk.string != \"\"` Package ondisk must be set before collectNimbleVersions can be called! Package: " };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_187 = {131, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_186};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_188 = {6, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_66};
static const struct {
  NI cap; NIM_CHAR data[30+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_189 = { 30 | NIM_STRLIT_FLAG, "collectNimbleVersions commits:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_190 = {30, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_189};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_192 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_21};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_193 = {2, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_25};
static const struct {
  NI cap; NIM_CHAR data[7+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_194 = { 7 | NIM_STRLIT_FLAG, "nimble:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_195 = {7, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_194};
static const struct {
  NI cap; NIM_CHAR data[25+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_196 = { 25 | NIM_STRLIT_FLAG, "nimble explicit versions:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_197 = {25, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_196};
static const struct {
  NI cap; NIM_CHAR data[0+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_198 = { 0 | NIM_STRLIT_FLAG, "" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_199 = {0, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_198};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_200 = {0, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_198};
static const struct {
  NI cap; NIM_CHAR data[102+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_201 = { 102 | NIM_STRLIT_FLAG, "dependencies.nim(288, 13) `vtag.commit.orig == FromDep` maybe this needs to be overriden like before: " };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_202 = {102, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_201};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_203 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_21};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_204 = {6, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_66};
static const struct {
  NI cap; NIM_CHAR data[12+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_205 = { 12 | NIM_STRLIT_FLAG, "nimble tags:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_206 = {12, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_205};
static const struct {
  NI cap; NIM_CHAR data[104+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_207 = { 104 | NIM_STRLIT_FLAG, "dependencies.nim(297, 11) `tag.commit.orig == FromGitTag` maybe this needs to be overriden like before: " };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_208 = {104, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_207};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_209 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_21};
static const struct {
  NI cap; NIM_CHAR data[15+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_210 = { 15 | NIM_STRLIT_FLAG, "nimble commits:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_211 = {15, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_210};
static const struct {
  NI cap; NIM_CHAR data[42+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_212 = { 42 | NIM_STRLIT_FLAG, "traverseDependency skipping nimble commit:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_213 = {42, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_212};
static const struct {
  NI cap; NIM_CHAR data[14+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_214 = { 14 | NIM_STRLIT_FLAG, "uniqueCommits:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_215 = {14, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_214};
static const struct {
  NI cap; NIM_CHAR data[15+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_216 = { 15 | NIM_STRLIT_FLAG, "nimbleVersions:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_217 = {15, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_216};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_218 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_21};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_219 = {5, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_84};
static const struct {
  NI cap; NIM_CHAR data[57+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_220 = { 57 | NIM_STRLIT_FLAG, "traverseDependency no versions found, using default #head" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_221 = {57, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_220};
static const struct {
  NI cap; NIM_CHAR data[2+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_222 = { 2 | NIM_STRLIT_FLAG, "at" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_223 = {2, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_222};
static const struct {
  NI cap; NIM_CHAR data[55+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_224 = { 55 | NIM_STRLIT_FLAG, "traverseDependency error loading versions reverting to " };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_225 = {55, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_224};
static const struct {
  NI cap; NIM_CHAR data[40+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_226 = { 40 | NIM_STRLIT_FLAG, "found duplicate release requirements at:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_227 = {40, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_226};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_228 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_21};
static const struct {
  NI cap; NIM_CHAR data[22+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_229 = { 22 | NIM_STRLIT_FLAG, "unique versions found:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_230 = {22, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_229};
static const struct {
  NI cap; NIM_CHAR data[89+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_231 = { 89 | NIM_STRLIT_FLAG, "tables.nim(835, 13) `len(t) == L` the length of the table changed while iterating over it" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_232 = {89, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_231};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_235 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_21};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_236 = {2, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_25};
static const struct {
  NI cap; NIM_CHAR data[24+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_237 = { 24 | NIM_STRLIT_FLAG, "duplicate release found:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_238 = {24, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_237};
static const struct {
  NI cap; NIM_CHAR data[4+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_239 = { 4 | NIM_STRLIT_FLAG, "new:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_240 = {4, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_239};
static const struct {
  NI cap; NIM_CHAR data[14+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_241 = { 14 | NIM_STRLIT_FLAG, "... existing: " };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_242 = {14, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_241};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_243 = {24, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_237};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_244 = {4, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_239};
static const struct {
  NI cap; NIM_CHAR data[11+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_245 = { 11 | NIM_STRLIT_FLAG, " existing: " };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_246 = {11, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_245};
static const struct {
  NI cap; NIM_CHAR data[15+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_247 = { 15 | NIM_STRLIT_FLAG, "versions table:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_248 = {15, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_247};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_249 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_19};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_250 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_21};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_251 = {5, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_82};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_252 = {0, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_198};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_253 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_21};
static const struct {
  NI cap; NIM_CHAR data[90+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_254 = { 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__C9cmKYCNdBkg6KCWDBOEmkg_255 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_254};
static const struct {
  NI cap; NIM_CHAR data[31+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_256 = { 31 | NIM_STRLIT_FLAG, "filtering to explicit versions:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_257 = {31, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_256};
static const struct {
  NI cap; NIM_CHAR data[90+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_258 = { 90 | NIM_STRLIT_FLAG, "tables.nim(1885, 11) `len(t) == L` the length of the table changed while iterating over it" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_259 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_258};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_261 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_21};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_262 = {2, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_25};
static const struct {
  NI cap; NIM_CHAR data[55+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_263 = { 55 | NIM_STRLIT_FLAG, "adding feature dependencies for root package; features:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_264 = {55, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_263};
static const struct {
  NI cap; NIM_CHAR data[94+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_266 = { 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__C9cmKYCNdBkg6KCWDBOEmkg_267 = {94, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_266};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_269 = {2, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_25};
static const struct {
  NI cap; NIM_CHAR data[9+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_270 = { 9 | NIM_STRLIT_FLAG, "versions:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_271 = {9, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_270};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_272 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_19};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_274 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_21};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_275 = {2, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_25};
static const struct {
  NI cap; NIM_CHAR data[17+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_276 = { 17 | NIM_STRLIT_FLAG, "checking feature:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_277 = {17, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_276};
static const struct {
  NI cap; NIM_CHAR data[11+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_278 = { 11 | NIM_STRLIT_FLAG, "in version:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_279 = {11, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_278};
static const struct {
  NI cap; NIM_CHAR data[30+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_280 = { 30 | NIM_STRLIT_FLAG, "adding feature reqsByFeatures:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_281 = {30, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_280};
static const struct {
  NI cap; NIM_CHAR data[4+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_282 = { 4 | NIM_STRLIT_FLAG, "for:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_283 = {4, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_282};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_286 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_21};
static const struct {
  NI cap; NIM_CHAR data[8+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_287 = { 8 | NIM_STRLIT_FLAG, "feature:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_288 = {8, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_287};
static const struct {
  NI cap; NIM_CHAR data[14+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_289 = { 14 | NIM_STRLIT_FLAG, "not found for:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_290 = {14, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_289};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_291 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_254};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_292 = {94, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_266};
static const struct {
  NI cap; NIM_CHAR data[26+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_295 = { 26 | NIM_STRLIT_FLAG, "feature dependencies added" };
static const struct {
  NI cap; NIM_CHAR data[14+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_296 = { 14 | NIM_STRLIT_FLAG, "processed pkg:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_297 = {14, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_296};
static const struct {
  NI cap; NIM_CHAR data[17+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_298 = { 17 | NIM_STRLIT_FLAG, "Skipping package:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_299 = {17, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_298};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_300 = {6, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_141};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_301 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_21};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_302 = {17, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_30};
static const struct {
  NI cap; NIM_CHAR data[36+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_303 = { 36 | NIM_STRLIT_FLAG, "Processing explicit versions count: " };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_304 = {36, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_303};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_305 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_19};
static const struct {
  NI cap; NIM_CHAR data[19+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_306 = { 19 | NIM_STRLIT_FLAG, "explicit versions: " };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_307 = {19, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_306};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_309 = {94, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_266};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_312 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_21};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_313 = {2, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_25};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_315 = {94, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_266};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_317 = {90, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_21};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_318 = {12, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_15};
static const struct {
  NI cap; NIM_CHAR data[32+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_319 = { 32 | NIM_STRLIT_FLAG, "Finished expanding packages for:" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_320 = {32, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_319};
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_321 = {1, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_2};
static const struct {
  NI cap; NIM_CHAR data[2+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_322 = { 2 | NIM_STRLIT_FLAG, ".." };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_323 = {2, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_322};
static const struct {
  NI cap; NIM_CHAR data[4+1];
} TM__C9cmKYCNdBkg6KCWDBOEmkg_324 = { 4 | NIM_STRLIT_FLAG, ".git" };
static const NimStringV2 TM__C9cmKYCNdBkg6KCWDBOEmkg_325 = {4, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_324};
static NIM_CONST tyArray__dyW7vpmfeTYw8kX3EXuaJA TM__C9cmKYCNdBkg6KCWDBOEmkg_11 = {{4, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_12},
{4, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_13},
{5, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_14}}
;
static NIM_CONST tyArray__YgExxhfgKcesA5EOUj1MOA TM__C9cmKYCNdBkg6KCWDBOEmkg_38 = {{31, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_39}}
;
static NIM_CONST tyArray__YgExxhfgKcesA5EOUj1MOA TM__C9cmKYCNdBkg6KCWDBOEmkg_104 = {{45, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_105}}
;
static NIM_CONST tyArray__YgExxhfgKcesA5EOUj1MOA TM__C9cmKYCNdBkg6KCWDBOEmkg_112 = {{35, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_113}}
;
static NIM_CONST tyArray__YgExxhfgKcesA5EOUj1MOA TM__C9cmKYCNdBkg6KCWDBOEmkg_294 = {{26, (NimStrPayload*)&TM__C9cmKYCNdBkg6KCWDBOEmkg_295}}
;
extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4198;
extern NIM_THREADVAR Exception* currException__system_u3686;
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(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;
}
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;
}
static N_INLINE(NI, find__stdZenumutils_u55)(NimStringV2* a_p0, NI a_p0Len_0, NimStringV2 item_p1) {
	NI result;
{	result = ((NI)0);
	{
		NimStringV2* i_1;
		NI i_2;
		i_1 = (NimStringV2*)0;
		i_2 = ((NI)0);
		{
			while (1) {
				NI TM__C9cmKYCNdBkg6KCWDBOEmkg_10;
				if (!(i_2 < a_p0Len_0)) goto LA3;
				if (i_2 < 0 || i_2 >= a_p0Len_0){ raiseIndexError2(i_2,a_p0Len_0-1); goto BeforeRet_;
				}
				i_1 = (&a_p0[i_2]);
				{
					if (!eqStrings((*i_1), item_p1)) goto LA6_;
					goto BeforeRet_;
				}
LA6_: ;
				if (nimAddInt(result, ((NI)1), &TM__C9cmKYCNdBkg6KCWDBOEmkg_10)) { raiseOverflow(); goto BeforeRet_;
				};
				result = (NI)(TM__C9cmKYCNdBkg6KCWDBOEmkg_10);
				i_2 += ((NI)1);
			} LA3: ;
		}
	}
	result = ((NI)-1);
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NIM_BOOL, contains__stdZenumutils_u50)(NimStringV2* a_p0, NI a_p0Len_0, NimStringV2 item_p1) {
	NIM_BOOL result;
	NI T1_;
{	T1_ = (NI)0;
	T1_ = find__stdZenumutils_u55(a_p0, a_p0Len_0, item_p1);
	result = (((NI)0) <= T1_);
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) {
	NIM_BOOL* result;
	result = (&nimInErrorMode__system_u4198);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isForkUrl__dependencies_u185)(tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* nc_p0, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* url_p1) {
	NIM_BOOL result;
	tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw officialUrl_1;
	NimStringV2 colontmpD_;
	tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA colontmpD__2;
	tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA colontmpD__3;
	tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA colontmpD__4;
	tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA colontmpD__5;
	NIM_BOOL isGitUrl_1;
	NIM_BOOL T2_;
	NIM_BOOL T3_;
	NIM_BOOL T4_;
	NIM_BOOL T5_;
	NIM_BOOL T7_;
	NIM_BOOL T9_;
	NIM_BOOL T11_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (NIM_BOOL)0;
	nimZeroMem((void*)(&officialUrl_1), sizeof(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw));
	colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
	nimZeroMem((void*)(&colontmpD__2), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
	nimZeroMem((void*)(&colontmpD__3), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
	nimZeroMem((void*)(&colontmpD__4), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
	nimZeroMem((void*)(&colontmpD__5), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
	colontmpD_ = shortName__basicZpkgurls_u32(url_p1);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	lookup__basicZnimblecontext_u442(nc_p0, colontmpD_, (&officialUrl_1));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	url__basicZpkgurls_u44(url_p1, (&colontmpD__2));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T2_ = (NIM_BOOL)0;
	T2_ = contains__stdZenumutils_u50(TM__C9cmKYCNdBkg6KCWDBOEmkg_11, 3, colontmpD__2.scheme);
	isGitUrl_1 = !(T2_);
	T3_ = (NIM_BOOL)0;
	T4_ = (NIM_BOOL)0;
	T5_ = (NIM_BOOL)0;
	T5_ = isGitUrl_1;
	if (!(T5_)) goto LA6_;
	T7_ = (NIM_BOOL)0;
	T7_ = isEmpty__basicZpkgurls_u23((&officialUrl_1));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T5_ = !(T7_);
LA6_: ;
	T4_ = T5_;
	if (!(T4_)) goto LA8_;
	url__basicZpkgurls_u44((&officialUrl_1), (&colontmpD__3));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T9_ = (NIM_BOOL)0;
	T9_ = contains__stdZenumutils_u50(TM__C9cmKYCNdBkg6KCWDBOEmkg_11, 3, colontmpD__3.scheme);
	T4_ = !(T9_);
LA8_: ;
	T3_ = T4_;
	if (!(T3_)) goto LA10_;
	url__basicZpkgurls_u44((&officialUrl_1), (&colontmpD__4));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	url__basicZpkgurls_u44(url_p1, (&colontmpD__5));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T11_ = (NIM_BOOL)0;
	T11_ = eqeq___basicZpkgurls_u71((&colontmpD__4), (&colontmpD__5));
	T3_ = !(T11_);
LA10_: ;
	result = T3_;
	{
		LA1_:;
	}
	{
		eqdestroy___pureZuri_u213((&colontmpD__5));
		eqdestroy___pureZuri_u213((&colontmpD__4));
		eqdestroy___pureZuri_u213((&colontmpD__3));
		eqdestroy___pureZuri_u213((&colontmpD__2));
		if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
		eqdestroy___basicZpkgurls_u261((&officialUrl_1));
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NI, len__basicZdepgraphtypes_u302)(tyObject_OrderedTable__NAaHKPe5f6Y5G54ThvHCdw* 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;
}
N_LIB_PRIVATE N_NIMCALL(void, eqwasMoved___dependencies_u13447)(tySequence__QArEOQfUBBFe7voRs4vldw* dest_p0) {
	(*dest_p0).len = 0; (*dest_p0).p = NIM_NIL;
}
static N_INLINE(void, eqdestroy___system_u281)(NimStringV2 x_p0) {
}
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;
}
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(NIM_BOOL, isObjDisplayCheck)(TNimTypeV2* source_p0, NI16 targetDepth_p1, NU32 token_p2) {
	NIM_BOOL result;
	NIM_BOOL T1_;
	T1_ = (NIM_BOOL)0;
	T1_ = (targetDepth_p1 <= (*source_p0).depth);
	if (!(T1_)) goto LA2_;
	T1_ = ((*source_p0).display[targetDepth_p1] == token_p2);
LA2_: ;
	result = T1_;
	return result;
}
static N_INLINE(Exception*, nimBorrowCurrentException)(void) {
	Exception* result;
	result = currException__system_u3686;
	return result;
}
static N_INLINE(void, popCurrentException)(void) {
	eqcopy___system_u3719(&currException__system_u3686, (*currException__system_u3686).up, NIM_FALSE);
}
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___dependencies_u159)(tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg e_p0) {
	NimStringV2 result;
	switch (e_p0) {
	case ((tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg)0):
	{
		result = TM__C9cmKYCNdBkg6KCWDBOEmkg_43;
	}
	break;
	case ((tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg)1):
	{
		result = TM__C9cmKYCNdBkg6KCWDBOEmkg_45;
	}
	break;
	default:
	{
		result = TM__C9cmKYCNdBkg6KCWDBOEmkg_47;
	}
	break;
	}
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyTuple__TLTPscngTyX39coeZ9b9cEB7w, copyFromDisk__dependencies_u162)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* pkg_p0, NimStringV2 dest_p1) {
	tyTuple__TLTPscngTyX39coeZ9b9cEB7w result;
	NimStringV2 source_1;
	tyArray__Seu7uK9aaOSN0BK3EAjjSHw T2_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	nimZeroMem((void*)(&result), sizeof(tyTuple__TLTPscngTyX39coeZ9b9cEB7w));
	source_1.len = 0; source_1.p = NIM_NIL;
	source_1 = toOriginalPath__basicZpkgurls_u101((&(*pkg_p0).url), NIM_FALSE);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T2_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_57;
	T2_[1] = dest_p1;
	T2_[2] = TM__C9cmKYCNdBkg6KCWDBOEmkg_59;
	T2_[3] = source_1;
	info__dependencies_u167(pkg_p0, T2_, 4);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		NIM_BOOL T5_;
		NIM_BOOL T7_;
		NimStringV2 colontmp_;
		tyArray__Seu7uK9aaOSN0BK3EAjjSHw T11_;
		tyEnum_CloneStatus__U8zdCQHenVifOnL77kAZAA colontmp__2;
		NimStringV2 blitTmp_1;
		T5_ = (NIM_BOOL)0;
		T5_ = dirExists__stdZdirs_u3(source_1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if (!(T5_)) goto LA6_;
		T7_ = (NIM_BOOL)0;
		T7_ = dirExists__stdZdirs_u3(dest_p1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		T5_ = !(T7_);
LA6_: ;
		if (!T5_) goto LA8_;
		colontmp_.len = 0; colontmp_.p = NIM_NIL;
		T11_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_60;
		T11_[1] = dest_p1;
		T11_[2] = TM__C9cmKYCNdBkg6KCWDBOEmkg_61;
		T11_[3] = source_1;
		trace__dependencies_u149(pkg_p0, T11_, 4);
		if (NIM_UNLIKELY(*nimErr_)) goto LA10_;
		noscopyDir(source_1, dest_p1, NIM_FALSE);
		if (NIM_UNLIKELY(*nimErr_)) goto LA10_;
		colontmp__2 = ((tyEnum_CloneStatus__U8zdCQHenVifOnL77kAZAA)0);
		colontmp_ = TM__C9cmKYCNdBkg6KCWDBOEmkg_63;
		result.Field0 = colontmp__2;
		blitTmp_1 = colontmp_;
		eqwasMoved___system_u2751((&colontmp_));
		result.Field1 = blitTmp_1;
		{
			LA10_:;
		}
		{
			if (colontmp_.p && !(colontmp_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmp_.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	goto LA3_;
LA8_: ;
	{
		NimStringV2 colontmp__3;
		NimStringV2 colontmpD_;
		tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T16_;
		tyEnum_CloneStatus__U8zdCQHenVifOnL77kAZAA colontmp__4;
		NimStringV2 blitTmp_2;
		colontmp__3.len = 0; colontmp__3.p = NIM_NIL;
		T16_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_65;
		T16_[1] = source_1;
		error__dependencies_u178(pkg_p0, T16_, 2);
		if (NIM_UNLIKELY(*nimErr_)) goto LA15_;
		colontmp__4 = ((tyEnum_CloneStatus__U8zdCQHenVifOnL77kAZAA)1);
		colontmpD_ = eqdup___system_u2757(dest_p1);
		colontmp__3 = colontmpD_;
		result.Field0 = colontmp__4;
		blitTmp_2 = colontmp__3;
		eqwasMoved___system_u2751((&colontmp__3));
		result.Field1 = blitTmp_2;
		{
			LA15_:;
		}
		{
			if (colontmp__3.p && !(colontmp__3.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmp__3.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA3_: ;
	{
		LA1_:;
	}
	{
		if (source_1.p && !(source_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(source_1.p);
}
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(void, nimCopyMem)(void* dest_p0, void* source_p1, NI size_p2) {
	void* T1_;
	T1_ = (void*)0;
	T1_ = memcpy(dest_p0, source_p1, ((size_t) (size_p2)));
}
static N_INLINE(void, copyMem__system_u1755)(void* dest_p0, void* source_p1, NI size_p2) {
	nimCopyMem(dest_p0, source_p1, size_p2);
}
static N_INLINE(void, appendString)(NimStringV2* dest_p0, NimStringV2 src_p1) {
	{
		if (!(((NI)0) < src_p1.len)) goto LA3_;
		copyMem__system_u1755(((void*) ((&(*(*dest_p0).p).data[(*dest_p0).len]))), ((void*) ((&(*src_p1.p).data[((NI)0)]))), (src_p1.len));
		(*dest_p0).len += src_p1.len;
		(*(*dest_p0).p).data[(*dest_p0).len] = 0;
	}
LA3_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, loadDependency__dependencies_u12207)(tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* nc_p0, tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA** pkg_p1, tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg onClone_p2) {
	tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw officialUrl_1;
	NimStringV2 colontmpD_;
	tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg colontmpD__2;
	tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg colontmpD__3;
	NimStringV2 colontmpD__4;
	NimStringV2 colontmpD__5;
	NimStringV2 colontmpD__6;
	NimStringV2 colontmpD__7;
	NIM_BOOL isFork_1;
	tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg todo_1;
	NIM_BOOL T45_;
	NIM_BOOL T46_;
	NimStringV2 T55_;
	tyArray__hSrJSIaqyFxuH67Wd7apZQ T56_;
	NIM_BOOL T57_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	nimZeroMem((void*)(&officialUrl_1), sizeof(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw));
	colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
	colontmpD__2 = (tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg)0;
	colontmpD__3 = (tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg)0;
	colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
	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;
	{
		NimStringV2 T6_;
		if (!(*(*pkg_p1)).isRoot) goto LA4_;
		T6_.len = 0; T6_.p = NIM_NIL;
		T6_ = project__basicZcontext_u340();
		if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T6_); goto LA1_;}
		eqsink___system_u2760((&(*(*pkg_p1)).ondisk), T6_);
		(*(*pkg_p1)).isAtlasProject = NIM_TRUE;
		(*(*pkg_p1)).isLocalOnly = NIM_TRUE;
		{
			if (!!(((*(*pkg_p1)).state == ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)3)))) goto LA9_;
			(*(*pkg_p1)).state = ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)3);
		}
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 (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);
}
		if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
		eqdestroy___basicZpkgurls_u261((&officialUrl_1));
		goto BeforeRet_;
	}
LA4_: ;
	{
		if (!!(((*(*pkg_p1)).ondisk.len == 0))) goto LA13_;
		failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_37);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA13_: ;
	colontmpD_ = shortName__basicZpkgurls_u32((&(*(*pkg_p1)).url));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	lookup__basicZnimblecontext_u442(nc_p0, colontmpD_, (&officialUrl_1));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	isFork_1 = (*(*pkg_p1)).isFork;
	{
		NimStringV2 colontmpD__8;
		NimStringV2 canonicalDir_1;
		NimStringV2 forkDir_1;
		NimStringV2 colontmpD__9;
		NimStringV2 colontmpD__10;
		if (!isFork_1) goto LA17_;
		colontmpD__8.len = 0; colontmpD__8.p = NIM_NIL;
		canonicalDir_1.len = 0; canonicalDir_1.p = NIM_NIL;
		forkDir_1.len = 0; forkDir_1.p = NIM_NIL;
		colontmpD__9.len = 0; colontmpD__9.p = NIM_NIL;
		colontmpD__10.len = 0; colontmpD__10.p = NIM_NIL;
		colontmpD__8 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
		if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
		info__basicZparse95requires_u40(colontmpD__8, TM__C9cmKYCNdBkg6KCWDBOEmkg_38, 1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
		canonicalDir_1 = toDirectoryPath__basicZpkgurls_u154((&officialUrl_1));
		if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
		forkDir_1 = toDirectoryPath__basicZpkgurls_u154((&(*(*pkg_p1)).url));
		if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
		{
			NIM_BOOL T22_;
			NIM_BOOL T23_;
			NIM_BOOL T24_;
			NIM_BOOL T26_;
			T22_ = (NIM_BOOL)0;
			T23_ = (NIM_BOOL)0;
			T24_ = (NIM_BOOL)0;
			T24_ = dirExists__stdZdirs_u3(forkDir_1);
			if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
			if (!(T24_)) goto LA25_;
			T26_ = (NIM_BOOL)0;
			T26_ = dirExists__stdZdirs_u3(canonicalDir_1);
			if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
			T24_ = !(T26_);
LA25_: ;
			T23_ = T24_;
			if (!(T23_)) goto LA27_;
			colontmpD__9 = depsDir__basicZcontext_u348(NIM_FALSE);
			if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
			T23_ = isRelativeTo__stdZpaths_u151(forkDir_1, colontmpD__9);
			if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
LA27_: ;
			T22_ = T23_;
			if (!(T22_)) goto LA28_;
			colontmpD__10 = depsDir__basicZcontext_u348(NIM_FALSE);
			if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
			T22_ = isRelativeTo__stdZpaths_u151(canonicalDir_1, colontmpD__10);
			if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
LA28_: ;
			if (!T22_) goto LA29_;
			moveDir__stdZprivateZosdirs_u503(forkDir_1, canonicalDir_1);
			if (NIM_UNLIKELY(*nimErr_)) goto LA31_;
			if (NIM_UNLIKELY(*nimErr_)) {
				LA31_:;
				if (isObjDisplayCheck(nimBorrowCurrentException()->Sup.m_type, 3, 1079566592)) {
					*nimErr_ = NIM_FALSE;
					popCurrentException();
					LA33_:;
				}
			}
			if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
		}
LA29_: ;
		eqsink___system_u2760((&(*(*pkg_p1)).ondisk), canonicalDir_1);
		eqwasMoved___system_u2751((&canonicalDir_1));
		{
			LA19_:;
		}
		{
			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 (forkDir_1.p && !(forkDir_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(forkDir_1.p);
}
			if (canonicalDir_1.p && !(canonicalDir_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(canonicalDir_1.p);
}
			if (colontmpD__8.p && !(colontmpD__8.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__8.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	goto LA15_;
LA17_: ;
	{
		NimStringV2 T38_;
		T38_.len = 0; T38_.p = NIM_NIL;
		T38_ = toDirectoryPath__basicZpkgurls_u154((&(*(*pkg_p1)).url));
		if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T38_); goto LA1_;}
		eqsink___system_u2760((&(*(*pkg_p1)).ondisk), T38_);
	}
LA15_: ;
	{
		NIM_BOOL T41_;
		T41_ = (NIM_BOOL)0;
		T41_ = dirExists__stdZdirs_u3((*(*pkg_p1)).ondisk);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if (!T41_) goto LA42_;
		colontmpD__2 = ((tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg)0);
		todo_1 = colontmpD__2;
	}
	goto LA39_;
LA42_: ;
	{
		colontmpD__3 = ((tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg)1);
		todo_1 = colontmpD__3;
	}
LA39_: ;
	T45_ = (NIM_BOOL)0;
	T45_ = isAtlasProject__basicZpkgurls_u163((&(*(*pkg_p1)).url));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	(*(*pkg_p1)).isAtlasProject = T45_;
	T46_ = (NIM_BOOL)0;
	T46_ = isNimbleLink__basicZpkgurls_u166((&(*(*pkg_p1)).url));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	(*(*pkg_p1)).isLocalOnly = T46_;
	{
		if (!(*(*pkg_p1)).isLocalOnly) goto LA49_;
		todo_1 = ((tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg)0);
	}
LA49_: ;
	{
		if (!((*(*pkg_p1)).state == ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)1))) goto LA53_;
		todo_1 = ((tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg)0);
	}
LA53_: ;
	T55_.len = 0; T55_.p = NIM_NIL;
	T55_ = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
	if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T55_); goto LA1_;}
	colontmpD__4 = T55_;
	T56_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_41;
	colontmpD__5 = dollar___dependencies_u159(todo_1);
	T56_[1] = colontmpD__5;
	T56_[2] = TM__C9cmKYCNdBkg6KCWDBOEmkg_49;
	T56_[3] = (*(*pkg_p1)).ondisk;
	T56_[4] = TM__C9cmKYCNdBkg6KCWDBOEmkg_51;
	T57_ = (NIM_BOOL)0;
	T57_ = isFileProtocol__basicZpkgurls_u20((&(*(*pkg_p1)).url));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	colontmpD__6 = nimBoolToStr(T57_);
	T56_[5] = colontmpD__6;
	T56_[6] = TM__C9cmKYCNdBkg6KCWDBOEmkg_53;
	colontmpD__7 = nimBoolToStr(((*(*pkg_p1)).state == ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)1)));
	T56_[7] = colontmpD__7;
	debug__basicZgitops_u1174(colontmpD__4, T56_, 8);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	switch (todo_1) {
	case ((tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg)1):
	{
		{
			if (!(onClone_p2 == ((tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg)0))) goto LA61_;
			(*(*pkg_p1)).state = ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)5);
			add__stdZenumutils_u70((&(*(*pkg_p1)).errors), TM__C9cmKYCNdBkg6KCWDBOEmkg_55);
		}
		goto LA59_;
LA61_: ;
		{
			tyTuple__TLTPscngTyX39coeZ9b9cEB7w tmpTuple_1;
			NimStringV2 msg_1;
			tyTuple__TLTPscngTyX39coeZ9b9cEB7w T65_;
			tyEnum_CloneStatus__U8zdCQHenVifOnL77kAZAA status_1;
			nimZeroMem((void*)(&tmpTuple_1), sizeof(tyTuple__TLTPscngTyX39coeZ9b9cEB7w));
			msg_1.len = 0; msg_1.p = NIM_NIL;
			{
				NIM_BOOL T68_;
				tyTuple__TLTPscngTyX39coeZ9b9cEB7w T71_;
				T68_ = (NIM_BOOL)0;
				T68_ = isFileProtocol__basicZpkgurls_u20((&(*(*pkg_p1)).url));
				if (NIM_UNLIKELY(*nimErr_)) goto LA64_;
				if (!T68_) goto LA69_;
				(*(*pkg_p1)).isLocalOnly = NIM_TRUE;
				nimZeroMem((void*)(&T71_), sizeof(tyTuple__TLTPscngTyX39coeZ9b9cEB7w));
				T71_ = copyFromDisk__dependencies_u162((*pkg_p1), (*(*pkg_p1)).ondisk);
				if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___basicZgitops_u637(&T71_); goto LA64_;}
				tmpTuple_1 = T71_;
			}
			goto LA66_;
LA69_: ;
			{
				tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA colontmpD__11;
				tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA T74_;
				tyTuple__TLTPscngTyX39coeZ9b9cEB7w T75_;
				nimZeroMem((void*)(&colontmpD__11), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
				nimZeroMem((void*)(&T74_), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
				toUri__basicZpkgurls_u41((&(*(*pkg_p1)).url), (&T74_));
				colontmpD__11 = T74_;
				if (NIM_UNLIKELY(*nimErr_)) goto LA73_;
				nimZeroMem((void*)(&T75_), sizeof(tyTuple__TLTPscngTyX39coeZ9b9cEB7w));
				T75_ = clone__basicZgitops_u503((&colontmpD__11), (*(*pkg_p1)).ondisk, ((NI)5));
				if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___basicZgitops_u637(&T75_); goto LA73_;}
				tmpTuple_1 = T75_;
				{
					LA73_:;
				}
				{
					eqdestroy___pureZuri_u213((&colontmpD__11));
				}
				if (NIM_UNLIKELY(*nimErr_)) goto LA64_;
			}
LA66_: ;
			status_1 = tmpTuple_1.Field0;
			msg_1 = tmpTuple_1.Field1;
			eqwasMoved___system_u2751((&tmpTuple_1.Field1));
			{
				if (!(status_1 == ((tyEnum_CloneStatus__U8zdCQHenVifOnL77kAZAA)0))) goto LA80_;
				{
					tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA colontmpD__12;
					NimStringV2 colontmpD__13;
					tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA T87_;
					NIM_BOOL T88_;
					NimStringV2 T89_;
					NIM_BOOL T98_;
					if (!!((*(*pkg_p1)).isLocalOnly)) goto LA84_;
					nimZeroMem((void*)(&colontmpD__12), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
					colontmpD__13.len = 0; colontmpD__13.p = NIM_NIL;
					nimZeroMem((void*)(&T87_), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
					toUri__basicZpkgurls_u41((&(*(*pkg_p1)).url), (&T87_));
					colontmpD__12 = T87_;
					if (NIM_UNLIKELY(*nimErr_)) goto LA86_;
					T88_ = (NIM_BOOL)0;
					T88_ = ensureCanonicalOrigin__basicZgitops_u381((*(*pkg_p1)).ondisk, (&colontmpD__12), TM__C9cmKYCNdBkg6KCWDBOEmkg_67, ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)2));
					if (NIM_UNLIKELY(*nimErr_)) goto LA86_;
					(void)(T88_);
					T89_.len = 0; T89_.p = NIM_NIL;
					T89_ = resolveRemoteName__basicZgitops_u65((*(*pkg_p1)).ondisk, TM__C9cmKYCNdBkg6KCWDBOEmkg_68, ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)2));
					if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T89_); goto LA86_;}
					colontmpD__13 = T89_;
					(void)(colontmpD__13);
					{
						tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA colontmpD__14;
						NimStringV2 colontmpD__15;
						NimStringV2 T95_;
						if (!isFork_1) goto LA92_;
						nimZeroMem((void*)(&colontmpD__14), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
						colontmpD__15.len = 0; colontmpD__15.p = NIM_NIL;
						toUri__basicZpkgurls_u41((&officialUrl_1), (&colontmpD__14));
						if (NIM_UNLIKELY(*nimErr_)) goto LA94_;
						T95_.len = 0; T95_.p = NIM_NIL;
						T95_ = ensureRemoteForUrl__basicZgitops_u387((*(*pkg_p1)).ondisk, (&colontmpD__14), ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)2));
						if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T95_); goto LA94_;}
						colontmpD__15 = T95_;
						(void)(colontmpD__15);
						{
							LA94_:;
						}
						{
							if (colontmpD__15.p && !(colontmpD__15.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__15.p);
}
							eqdestroy___pureZuri_u213((&colontmpD__14));
						}
						if (NIM_UNLIKELY(*nimErr_)) goto LA86_;
					}
LA92_: ;
					T98_ = (NIM_BOOL)0;
					T98_ = fetchRemoteTags__basicZgitops_u57((*(*pkg_p1)).ondisk, TM__C9cmKYCNdBkg6KCWDBOEmkg_69, ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)2));
					if (NIM_UNLIKELY(*nimErr_)) goto LA86_;
					(void)(T98_);
					{
						LA86_:;
					}
					{
						if (colontmpD__13.p && !(colontmpD__13.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__13.p);
}
						eqdestroy___pureZuri_u213((&colontmpD__12));
					}
					if (NIM_UNLIKELY(*nimErr_)) goto LA64_;
				}
LA84_: ;
				(*(*pkg_p1)).state = ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)3);
			}
			goto LA78_;
LA80_: ;
			{
				NimStringV2 colontmpD__16;
				NimStringV2 T102_;
				colontmpD__16.len = 0; colontmpD__16.p = NIM_NIL;
				(*(*pkg_p1)).state = ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)5);
				T102_.len = 0; T102_.p = NIM_NIL;
				colontmpD__16 = dollar___basicZcontext_u31(status_1);
				T102_ = rawNewString(colontmpD__16.len + msg_1.len + 2);
appendString((&T102_), colontmpD__16);
appendString((&T102_), TM__C9cmKYCNdBkg6KCWDBOEmkg_71);
appendString((&T102_), msg_1);
				add__stdZenumutils_u70((&(*(*pkg_p1)).errors), T102_);
				if (colontmpD__16.p && !(colontmpD__16.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__16.p);
}
			}
LA78_: ;
			{
				LA64_:;
			}
			{
				if (msg_1.p && !(msg_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(msg_1.p);
}
				eqdestroy___basicZgitops_u637((&tmpTuple_1));
			}
			if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		}
LA59_: ;
	}
	break;
	case ((tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg)0):
	{
		{
			NIM_BOOL T108_;
			T108_ = (NIM_BOOL)0;
			T108_ = dirExists__stdZdirs_u3((*(*pkg_p1)).ondisk);
			if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
			if (!T108_) goto LA109_;
			(*(*pkg_p1)).state = ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)3);
			{
				tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA colontmpD__17;
				NimStringV2 colontmpD__18;
				tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA T116_;
				NIM_BOOL T117_;
				NimStringV2 T118_;
				if (!!((*(*pkg_p1)).isLocalOnly)) goto LA113_;
				nimZeroMem((void*)(&colontmpD__17), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
				colontmpD__18.len = 0; colontmpD__18.p = NIM_NIL;
				nimZeroMem((void*)(&T116_), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
				toUri__basicZpkgurls_u41((&(*(*pkg_p1)).url), (&T116_));
				colontmpD__17 = T116_;
				if (NIM_UNLIKELY(*nimErr_)) goto LA115_;
				T117_ = (NIM_BOOL)0;
				T117_ = ensureCanonicalOrigin__basicZgitops_u381((*(*pkg_p1)).ondisk, (&colontmpD__17), TM__C9cmKYCNdBkg6KCWDBOEmkg_72, ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)2));
				if (NIM_UNLIKELY(*nimErr_)) goto LA115_;
				(void)(T117_);
				T118_.len = 0; T118_.p = NIM_NIL;
				T118_ = resolveRemoteName__basicZgitops_u65((*(*pkg_p1)).ondisk, TM__C9cmKYCNdBkg6KCWDBOEmkg_73, ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)2));
				if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T118_); goto LA115_;}
				colontmpD__18 = T118_;
				(void)(colontmpD__18);
				{
					tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA colontmpD__19;
					NimStringV2 colontmpD__20;
					NimStringV2 T124_;
					if (!isFork_1) goto LA121_;
					nimZeroMem((void*)(&colontmpD__19), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
					colontmpD__20.len = 0; colontmpD__20.p = NIM_NIL;
					toUri__basicZpkgurls_u41((&officialUrl_1), (&colontmpD__19));
					if (NIM_UNLIKELY(*nimErr_)) goto LA123_;
					T124_.len = 0; T124_.p = NIM_NIL;
					T124_ = ensureRemoteForUrl__basicZgitops_u387((*(*pkg_p1)).ondisk, (&colontmpD__19), ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)2));
					if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T124_); goto LA123_;}
					colontmpD__20 = T124_;
					(void)(colontmpD__20);
					{
						LA123_:;
					}
					{
						if (colontmpD__20.p && !(colontmpD__20.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__20.p);
}
						eqdestroy___pureZuri_u213((&colontmpD__19));
					}
					if (NIM_UNLIKELY(*nimErr_)) goto LA115_;
				}
LA121_: ;
				{
					LA115_:;
				}
				{
					if (colontmpD__18.p && !(colontmpD__18.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__18.p);
}
					eqdestroy___pureZuri_u213((&colontmpD__17));
				}
				if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
			}
LA113_: ;
			{
				tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ* T131_;
				T131_ = (tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ*)0;
				T131_ = context__basicZcontext_u319();
				if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
				if (!(((*T131_).flags &((NU32)1<<((NU)((((tyEnum_Flag__YJpVNZDPDp9bqb0qWHXEQFw)7)))&31U)))!=0)) goto LA132_;
				updateRepo__basicZgitops_u4116((*(*pkg_p1)).ondisk, TM__C9cmKYCNdBkg6KCWDBOEmkg_74, NIM_FALSE);
				if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
				{
					NIM_BOOL T138_;
					if (!!((*(*pkg_p1)).isLocalOnly)) goto LA136_;
					T138_ = (NIM_BOOL)0;
					T138_ = fetchRemoteTags__basicZgitops_u57((*(*pkg_p1)).ondisk, TM__C9cmKYCNdBkg6KCWDBOEmkg_75, ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)2));
					if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
					(void)(T138_);
				}
LA136_: ;
			}
LA132_: ;
		}
		goto LA106_;
LA109_: ;
		{
			(*(*pkg_p1)).state = ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)5);
			add__stdZenumutils_u70((&(*(*pkg_p1)).errors), TM__C9cmKYCNdBkg6KCWDBOEmkg_77);
		}
LA106_: ;
	}
	break;
	default: __builtin_unreachable();
	}
	{
		LA1_:;
	}
	{
		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 (colontmpD__4.p && !(colontmpD__4.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__4.p);
}
		if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
		eqdestroy___basicZpkgurls_u261((&officialUrl_1));
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
}
static N_INLINE(NI, minuspercent___system_u813)(NI x_p0, NI y_p1) {
	NI result;
	result = ((NI) ((NU)((NU64)(((NU) (x_p0))) - (NU64)(((NU) (y_p1))))));
	return result;
}
static N_INLINE(NIM_BOOL, nimDecRefIsLast)(void* p_p0) {
	NIM_BOOL result;
	result = NIM_FALSE;
	{
		tyObject_RefHeader__BVEqx9abcuAhztUEHxbqQJA* cell_1;
		NI T5_;
		if (!!((p_p0 == NIM_NIL))) goto LA3_;
		T5_ = (NI)0;
		T5_ = minuspercent___system_u813(((NI) (ptrdiff_t) (p_p0)), ((NI)16));
		cell_1 = ((tyObject_RefHeader__BVEqx9abcuAhztUEHxbqQJA*) (T5_));
		{
			if (!((NI)((NI64)((*cell_1).rc) >> (NU64)(((NI)4) & (64 - 1))) == ((NI)0))) goto LA8_;
			result = NIM_TRUE;
		}
		goto LA6_;
LA8_: ;
		{
			(*cell_1).rc = minuspercent___system_u813((*cell_1).rc, ((NI)16));
		}
LA6_: ;
	}
LA3_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___dependencies_u12042)(tySequence__fUCMBHW75OZPJePoPhOXNA dest_p0) {
	NI colontmp_;
	colontmp_ = ((NI)0);
	{
		while (1) {
			NI T3_;
			T3_ = dest_p0.len;
			if (!(colontmp_ < T3_)) goto LA2;
			{
				NIM_BOOL T6_;
				T6_ = (NIM_BOOL)0;
				T6_ = nimDecRefIsLast(dest_p0.p->data[colontmp_].Field0);
				if (!T6_) goto LA7_;
				eqdestroy___basicZdeptypes_u124((&(*dest_p0.p->data[colontmp_].Field0)));
				nimRawDispose(dest_p0.p->data[colontmp_].Field0, ((NI)8));
			}
LA7_: ;
			{
				NIM_BOOL T11_;
				T11_ = (NIM_BOOL)0;
				T11_ = nimDecRefIsLast(dest_p0.p->data[colontmp_].Field1);
				if (!T11_) goto LA12_;
				eqdestroy___basicZdeptypes_u902((&(*dest_p0.p->data[colontmp_].Field1)));
				nimRawDispose(dest_p0.p->data[colontmp_].Field1, ((NI)8));
			}
LA12_: ;
			colontmp_ += ((NI)1);
		} LA2: ;
	}
	if (dest_p0.p && !(dest_p0.p->cap & NIM_STRLIT_FLAG)) {
 alignedDealloc(dest_p0.p, NIM_ALIGNOF(tyTuple__J4qYjN1oh0iSNXduwGtAfg));
}
}
static N_INLINE(void, splitPath__stdZpaths_u88)(NimStringV2 path_p0, tyTuple__UV3llMMYFckfui8YMBuUZA* Result) {
	tyTuple__UV3llMMYFckfui8YMBuUZA res_1;
	NimStringV2 colontmp_;
	NimStringV2 colontmp__2;
	NimStringV2 blitTmp_1;
	NimStringV2 blitTmp_2;
	NimStringV2 blitTmp_3;
	NimStringV2 blitTmp_4;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	nimZeroMem((void*)Result, sizeof(tyTuple__UV3llMMYFckfui8YMBuUZA));
	nimZeroMem((void*)(&res_1), sizeof(tyTuple__UV3llMMYFckfui8YMBuUZA));
	colontmp_.len = 0; colontmp_.p = NIM_NIL;
	colontmp__2.len = 0; colontmp__2.p = NIM_NIL;
	nossplitPath(path_p0, (&res_1));
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	blitTmp_1 = res_1.Field0;
	eqwasMoved___system_u2751((&res_1.Field0));
	colontmp_ = blitTmp_1;
	blitTmp_2 = res_1.Field1;
	eqwasMoved___system_u2751((&res_1.Field1));
	colontmp__2 = blitTmp_2;
	blitTmp_3 = colontmp_;
	(*Result).Field0 = blitTmp_3;
	blitTmp_4 = colontmp__2;
	(*Result).Field1 = blitTmp_4;
	eqdestroy___stdZprivateZospaths2_u303((&res_1));
	}BeforeRet_: ;
}
static N_INLINE(NIM_BOOL, isSpecial__basicZversions_u274)(NimStringV2 v_p0) {
	NIM_BOOL result;
	NIM_BOOL T1_;
{	T1_ = (NIM_BOOL)0;
	T1_ = (((NI)1) < v_p0.len);
	if (!(T1_)) goto LA2_;
	if (((NI)0) < 0 || ((NI)0) >= v_p0.len){ raiseIndexError2(((NI)0),v_p0.len-1); goto BeforeRet_;
	}
	T1_ = ((NU8)(v_p0.p->data[((NI)0)]) == (NU8)(35));
LA2_: ;
	result = T1_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NIM_BOOL, isSpecial__basicZversions_u453)(tyObject_VersionInterval__Fo18dECYIXwkOygWPnb8YA* a_p0) {
	NIM_BOOL result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (NIM_BOOL)0;
	result = isSpecial__basicZversions_u274((*a_p0).a.v);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyEnum_PackageState__INzfBajphYPGcwu72ccy8w, childDependencyState__dependencies_u301)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* pkg_p0, NIM_BOOL deferChildDeps_p1) {
	tyEnum_PackageState__INzfBajphYPGcwu72ccy8w result;
	tyEnum_PackageState__INzfBajphYPGcwu72ccy8w colontmpD_;
	tyEnum_PackageState__INzfBajphYPGcwu72ccy8w colontmpD__2;
	colontmpD_ = (tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)0;
	colontmpD__2 = (tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)0;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = deferChildDeps_p1;
		if (!(T3_)) goto LA4_;
		T3_ = !((*pkg_p0).isRoot);
LA4_: ;
		if (!T3_) goto LA5_;
		colontmpD_ = ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)1);
		result = colontmpD_;
	}
	goto LA1_;
LA5_: ;
	{
		colontmpD__2 = ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)0);
		result = colontmpD__2;
	}
LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw*, processNimbleRelease__dependencies_u305)(tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* nc_p0, tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* pkg_p1, tyObject_VersionTag__io9bcihbopiwucKorobyKdg* release_p2, NIM_BOOL deferChildDeps_p3) {
	tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* result;
	NimStringV2 colontmpD_;
	NimStringV2 colontmpD__2;
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ nimbleFiles_1;
	NimStringV2 colontmpD__3;
	tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA colontmpD__4;
	tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T2_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = NIM_NIL;
	colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
	colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
	nimbleFiles_1.len = 0; nimbleFiles_1.p = NIM_NIL;
	colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
	nimZeroMem((void*)(&colontmpD__4), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
	colontmpD_ = projectName__basicZpkgurls_u35((&(*pkg_p1).url));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T2_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_110;
	colontmpD__2 = dollar___basicZversions_u187(release_p2);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T2_[1] = colontmpD__2;
	trace__basicZgitops_u1126(colontmpD_, T2_, 2);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		NIM_BOOL T5_;
		NimStringV2 colontmpD__5;
		colontmpD__3 = version__basicZversions_u196(release_p2);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		T5_ = (NIM_BOOL)0;
		T5_ = eqeq___basicZversions_u359(colontmpD__3, TM__C9cmKYCNdBkg6KCWDBOEmkg_111);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if (!T5_) goto LA6_;
		colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL;
		colontmpD__5 = projectName__basicZpkgurls_u35((&(*pkg_p1).url));
		if (NIM_UNLIKELY(*nimErr_)) goto LA8_;
		trace__basicZgitops_u1126(colontmpD__5, TM__C9cmKYCNdBkg6KCWDBOEmkg_112, 1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA8_;
		nimbleFiles_1 = findNimbleFile__basicZnimblecontext_u322(pkg_p1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA8_;
		{
			LA8_:;
		}
		{
			if (colontmpD__5.p && !(colontmpD__5.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__5.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	goto LA3_;
LA6_: ;
	{
		NIM_BOOL T12_;
		NimStringV2 colontmpD__6;
		NimStringV2 colontmpD__7;
		tyArray__Seu7uK9aaOSN0BK3EAjjSHw T16_;
		tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* T17_;
		colontmpD__4 = commit__basicZversions_u193(release_p2);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		T12_ = (NIM_BOOL)0;
		T12_ = isEmpty__basicZversions_u133(colontmpD__4);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if (!T12_) goto LA13_;
		colontmpD__6.len = 0; colontmpD__6.p = NIM_NIL;
		colontmpD__7.len = 0; colontmpD__7.p = NIM_NIL;
		colontmpD__6 = projectName__basicZpkgurls_u35((&(*pkg_p1).url));
		if (NIM_UNLIKELY(*nimErr_)) goto LA15_;
		T16_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_115;
		colontmpD__7 = dollar___basicZversions_u187(release_p2);
		if (NIM_UNLIKELY(*nimErr_)) goto LA15_;
		T16_[1] = colontmpD__7;
		T16_[2] = TM__C9cmKYCNdBkg6KCWDBOEmkg_117;
		T16_[3] = (*pkg_p1).ondisk;
		warn__basicZpkgurls_u133(colontmpD__6, T16_, 4);
		if (NIM_UNLIKELY(*nimErr_)) goto LA15_;
		T17_ = NIM_NIL;
		T17_ = (tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw*) nimNewObj(sizeof(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw), NIM_ALIGNOF(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw));
		(*T17_).status = ((tyEnum_ReleaseStatus__WQoraXO80GBXtge9ad8aCBg)3);
		(*T17_).err = TM__C9cmKYCNdBkg6KCWDBOEmkg_119;
		result = T17_;
		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___basicZversions_u111((&colontmpD__4));
		if (colontmpD__3.p && !(colontmpD__3.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__3.p);
}
		eqdestroy___basicZnimblecontext_u145(nimbleFiles_1);
		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);
}
		goto BeforeRet_;
		{
			LA15_:;
		}
		{
			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_;
	}
	goto LA3_;
LA13_: ;
	{
		tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA colontmpD__8;
		nimZeroMem((void*)(&colontmpD__8), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
		colontmpD__8 = commit__basicZversions_u193(release_p2);
		if (NIM_UNLIKELY(*nimErr_)) goto LA21_;
		nimbleFiles_1 = cacheNimbleFilesFromGit__basicZnimblecontext_u330(pkg_p1, colontmpD__8);
		if (NIM_UNLIKELY(*nimErr_)) goto LA21_;
		{
			LA21_:;
		}
		{
			eqdestroy___basicZversions_u111((&colontmpD__8));
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA3_: ;
	{
		NI T26_;
		NimStringV2 colontmpD__9;
		tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T30_;
		tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* T31_;
		T26_ = nimbleFiles_1.len;
		if (!(T26_ == ((NI)0))) goto LA27_;
		colontmpD__9.len = 0; colontmpD__9.p = NIM_NIL;
		T30_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_123;
		colontmpD__9 = dollar___basicZversions_u187(release_p2);
		if (NIM_UNLIKELY(*nimErr_)) goto LA29_;
		T30_[1] = colontmpD__9;
		info__basicZparse95requires_u40(TM__C9cmKYCNdBkg6KCWDBOEmkg_121, T30_, 2);
		if (NIM_UNLIKELY(*nimErr_)) goto LA29_;
		T31_ = NIM_NIL;
		T31_ = (tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw*) nimNewObj(sizeof(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw), NIM_ALIGNOF(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw));
		(*T31_).status = ((tyEnum_ReleaseStatus__WQoraXO80GBXtge9ad8aCBg)4);
		(*T31_).err = TM__C9cmKYCNdBkg6KCWDBOEmkg_125;
		result = T31_;
		{
			LA29_:;
		}
		{
			if (colontmpD__9.p && !(colontmpD__9.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__9.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	goto LA24_;
LA27_: ;
	{
		NI T35_;
		NimStringV2 colontmpD__10;
		tySequence__sM4lkSb7zS6F7OVMvW9cffQ colontmpD__11;
		NimStringV2 colontmpD__12;
		tyArray__Seu7uK9aaOSN0BK3EAjjSHw T39_;
		tySequence__sM4lkSb7zS6F7OVMvW9cffQ T40_;
		tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* T52_;
		T35_ = nimbleFiles_1.len;
		if (!(((NI)1) < T35_)) goto LA36_;
		colontmpD__10.len = 0; colontmpD__10.p = NIM_NIL;
		colontmpD__11.len = 0; colontmpD__11.p = NIM_NIL;
		colontmpD__12.len = 0; colontmpD__12.p = NIM_NIL;
		T39_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_128;
		colontmpD__10 = dollar___basicZversions_u187(release_p2);
		if (NIM_UNLIKELY(*nimErr_)) goto LA38_;
		T39_[1] = colontmpD__10;
		T39_[2] = TM__C9cmKYCNdBkg6KCWDBOEmkg_130;
		T40_.len = 0; T40_.p = NIM_NIL;
		{
			tySequence__sM4lkSb7zS6F7OVMvW9cffQ resultX60gensym20__1;
			NI iX60gensym20__1;
			NI T42_;
			resultX60gensym20__1.len = 0; resultX60gensym20__1.p = NIM_NIL;
			iX60gensym20__1 = ((NI)0);
			T42_ = nimbleFiles_1.len;
			if ((T42_) < ((NI)0) || (T42_) > ((NI)IL64(9223372036854775807))){ raiseRangeErrorI(T42_, ((NI)0), ((NI)IL64(9223372036854775807))); goto LA38_;
			}
			resultX60gensym20__1 = newSeq__dependencies_u386((T42_));
			{
				NimStringV2* it_1;
				NI i_1;
				NI L_1;
				NI T44_;
				it_1 = (NimStringV2*)0;
				i_1 = ((NI)0);
				T44_ = nimbleFiles_1.len;
				L_1 = T44_;
				{
					while (1) {
						tyTuple__UV3llMMYFckfui8YMBuUZA colontmpD__13;
						NI TM__C9cmKYCNdBkg6KCWDBOEmkg_131;
						if (!(i_1 < L_1)) goto LA46;
						nimZeroMem((void*)(&colontmpD__13), sizeof(tyTuple__UV3llMMYFckfui8YMBuUZA));
						if (i_1 < 0 || i_1 >= nimbleFiles_1.len){ raiseIndexError2(i_1,nimbleFiles_1.len-1); goto LA38_;
						}
						it_1 = (&nimbleFiles_1.p->data[i_1]);
						splitPath__stdZpaths_u88((*it_1), (&colontmpD__13));
						if (NIM_UNLIKELY(*nimErr_)) goto LA38_;
						if (iX60gensym20__1 < 0 || iX60gensym20__1 >= resultX60gensym20__1.len){ raiseIndexError2(iX60gensym20__1,resultX60gensym20__1.len-1); goto LA38_;
						}
						eqsink___system_u2760((&resultX60gensym20__1.p->data[iX60gensym20__1]), colontmpD__13.Field1);
						eqwasMoved___system_u2751((&colontmpD__13.Field1));
						if (nimAddInt(iX60gensym20__1, ((NI)1), &TM__C9cmKYCNdBkg6KCWDBOEmkg_131)) { raiseOverflow(); goto LA38_;
						};
						iX60gensym20__1 = (NI)(TM__C9cmKYCNdBkg6KCWDBOEmkg_131);
						i_1 += ((NI)1);
						{
							NI T49_;
							T49_ = nimbleFiles_1.len;
							if (!!((T49_ == L_1))) goto LA50_;
							failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_132);
							if (NIM_UNLIKELY(*nimErr_)) goto LA38_;
						}
LA50_: ;
						eqdestroy___stdZpaths_u97((&colontmpD__13));
					} LA46: ;
				}
			}
			colontmpD__11 = resultX60gensym20__1;
			T40_ = colontmpD__11;
		}
		colontmpD__12 = join__basicZnimblecontext_u96(((T40_).p) ? (T40_.p->data) : NIM_NIL, T40_.len, TM__C9cmKYCNdBkg6KCWDBOEmkg_133);
		if (NIM_UNLIKELY(*nimErr_)) goto LA38_;
		T39_[3] = colontmpD__12;
		info__basicZparse95requires_u40(TM__C9cmKYCNdBkg6KCWDBOEmkg_126, T39_, 4);
		if (NIM_UNLIKELY(*nimErr_)) goto LA38_;
		T52_ = NIM_NIL;
		T52_ = (tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw*) nimNewObj(sizeof(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw), NIM_ALIGNOF(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw));
		(*T52_).status = ((tyEnum_ReleaseStatus__WQoraXO80GBXtge9ad8aCBg)4);
		(*T52_).err = TM__C9cmKYCNdBkg6KCWDBOEmkg_135;
		result = T52_;
		{
			LA38_:;
		}
		{
			if (colontmpD__12.p && !(colontmpD__12.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__12.p);
}
			eqdestroy___basicZnimblecontext_u145(colontmpD__11);
			if (colontmpD__10.p && !(colontmpD__10.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__10.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	goto LA24_;
LA36_: ;
	{
		NimStringV2 nimbleFile_1;
		nimbleFile_1.len = 0; nimbleFile_1.p = NIM_NIL;
		if (((NI)0) < 0 || ((NI)0) >= nimbleFiles_1.len){ raiseIndexError2(((NI)0),nimbleFiles_1.len-1); goto LA56_;
		}
		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 LA56_;
		}
		eqwasMoved___system_u2751((&nimbleFiles_1.p->data[((NI)0)]));
		result = parseNimbleFile__basicZnimbleparser_u2965(nc_p0, nimbleFile_1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA56_;
		{
			if (!((*result).status == ((tyEnum_ReleaseStatus__WQoraXO80GBXtge9ad8aCBg)0))) goto LA59_;
			{
				tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* pkgUrl_1;
				tyObject_VersionInterval__Fo18dECYIXwkOygWPnb8YA* interval_1;
				NI i_2;
				NI L_2;
				NI T62_;
				pkgUrl_1 = (tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw*)0;
				interval_1 = (tyObject_VersionInterval__Fo18dECYIXwkOygWPnb8YA*)0;
				i_2 = ((NI)0);
				T62_ = (*result).requirements.len;
				L_2 = T62_;
				{
					while (1) {
						tyEnum_PackageState__INzfBajphYPGcwu72ccy8w state_1;
						if (!(i_2 < L_2)) goto LA64;
						if (i_2 < 0 || i_2 >= (*result).requirements.len){ raiseIndexError2(i_2,(*result).requirements.len-1); goto LA56_;
						}
						pkgUrl_1 = (&(*result).requirements.p->data[i_2].Field0);
						if (i_2 < 0 || i_2 >= (*result).requirements.len){ raiseIndexError2(i_2,(*result).requirements.len-1); goto LA56_;
						}
						interval_1 = (&(*result).requirements.p->data[i_2].Field1);
						{
							NIM_BOOL T67_;
							tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA commit_1;
							tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA colontmpD__14;
							NimStringV2 colontmpD__15;
							tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA* T70_;
							tyObject_VersionTag__io9bcihbopiwucKorobyKdg T71_;
							T67_ = (NIM_BOOL)0;
							T67_ = isSpecial__basicZversions_u453((&(*interval_1)));
							if (NIM_UNLIKELY(*nimErr_)) goto LA56_;
							if (!T67_) goto LA68_;
							nimZeroMem((void*)(&commit_1), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
							nimZeroMem((void*)(&colontmpD__14), sizeof(tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA));
							colontmpD__15.len = 0; colontmpD__15.p = NIM_NIL;
							commit_1 = extractSpecificCommit__basicZversions_u5180((&(*interval_1)));
							if (NIM_UNLIKELY(*nimErr_)) goto LA56_;
							colontmpD__14 = initHashSet__basicZgitops_u1444(((NI)64));
							if (NIM_UNLIKELY(*nimErr_)) goto LA56_;
							T70_ = (tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA*)0;
							T70_ = mgetOrPut__dependencies_u495((&(*nc_p0).explicitVersions), (&(*pkgUrl_1)), colontmpD__14);
							if (NIM_UNLIKELY(*nimErr_)) goto LA56_;
							nimZeroMem((void*)(&T71_), sizeof(tyObject_VersionTag__io9bcihbopiwucKorobyKdg));
							colontmpD__15 = dollar___basicZversions_u5238((&(*interval_1)));
							if (NIM_UNLIKELY(*nimErr_)) goto LA56_;
							T71_.v = colontmpD__15;
							T71_.c = commit_1;
							incl__basicZgitops_u1690(T70_, (&T71_));
							if (NIM_UNLIKELY(*nimErr_)) goto LA56_;
							if (colontmpD__15.p && !(colontmpD__15.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__15.p);
}
							eqdestroy___basicZgitops_u1640((&colontmpD__14));
							eqdestroy___basicZversions_u111((&commit_1));
						}
LA68_: ;
						state_1 = childDependencyState__dependencies_u301(pkg_p1, deferChildDeps_p3);
						if (NIM_UNLIKELY(*nimErr_)) goto LA56_;
						{
							NIM_BOOL T74_;
							NimStringV2 colontmpD__16;
							NimStringV2 colontmpD__17;
							tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA colontmpD__18;
							NimStringV2 colontmpD__19;
							NimStringV2 colontmpD__20;
							NimStringV2 colontmpD__21;
							tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* pkgDep_1;
							tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw colontmpD__22;
							tyArray__hSrJSIaqyFxuH67Wd7apZQ T78_;
							tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA T79_;
							tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* T80_;
							tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw T81_;
							tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* blitTmp_1;
							T74_ = (NIM_BOOL)0;
							T74_ = contains__basicZdepgraphtypes_u2170((&(*nc_p0).packageToDependency), (&(*pkgUrl_1)));
							if (NIM_UNLIKELY(*nimErr_)) goto LA56_;
							if (!!(T74_)) goto LA75_;
							colontmpD__16.len = 0; colontmpD__16.p = NIM_NIL;
							colontmpD__17.len = 0; colontmpD__17.p = NIM_NIL;
							nimZeroMem((void*)(&colontmpD__18), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
							colontmpD__19.len = 0; colontmpD__19.p = NIM_NIL;
							colontmpD__20.len = 0; colontmpD__20.p = NIM_NIL;
							colontmpD__21.len = 0; colontmpD__21.p = NIM_NIL;
							pkgDep_1 = NIM_NIL;
							colontmpD__16 = projectName__basicZpkgurls_u35((&(*pkg_p1).url));
							if (NIM_UNLIKELY(*nimErr_)) goto LA77_;
							T78_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_137;
							colontmpD__17 = projectName__basicZpkgurls_u35((&(*pkgUrl_1)));
							if (NIM_UNLIKELY(*nimErr_)) goto LA77_;
							T78_[1] = colontmpD__17;
							T78_[2] = TM__C9cmKYCNdBkg6KCWDBOEmkg_138;
							nimZeroMem((void*)(&T79_), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
							url__basicZpkgurls_u44((&(*pkgUrl_1)), (&T79_));
							colontmpD__18 = T79_;
							if (NIM_UNLIKELY(*nimErr_)) goto LA77_;
							colontmpD__19 = dollar___pureZuri_u409((&colontmpD__18));
							if (NIM_UNLIKELY(*nimErr_)) goto LA77_;
							T78_[3] = colontmpD__19;
							T78_[4] = TM__C9cmKYCNdBkg6KCWDBOEmkg_140;
							colontmpD__20 = projectName__basicZpkgurls_u35((&(*pkgUrl_1)));
							if (NIM_UNLIKELY(*nimErr_)) goto LA77_;
							T78_[5] = colontmpD__20;
							T78_[6] = TM__C9cmKYCNdBkg6KCWDBOEmkg_142;
							colontmpD__21 = dollar___basicZdeptypes_u22(state_1);
							T78_[7] = colontmpD__21;
							debug__basicZgitops_u1174(colontmpD__16, T78_, 8);
							if (NIM_UNLIKELY(*nimErr_)) goto LA77_;
							T80_ = NIM_NIL;
							T80_ = (tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA*) nimNewObj(sizeof(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA), NIM_ALIGNOF(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA));
							nimZeroMem((void*)(&T81_), sizeof(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw));
							eqdup___basicZpkgurls_u267((&(*pkgUrl_1)), (&T81_));
							colontmpD__22 = T81_;
							(*T80_).url = colontmpD__22;
							(*T80_).state = state_1;
							(*T80_).isFork = isForkUrl__dependencies_u185((&(*nc_p0)), (&(*pkgUrl_1)));
							if (NIM_UNLIKELY(*nimErr_)) goto LA77_;
							pkgDep_1 = T80_;
							blitTmp_1 = pkgDep_1;
							eqwasMoved___basicZdepgraphtypes_u555(&pkgDep_1);
							X5BX5Deq___basicZdeptypesjson_u12178((&(*nc_p0).packageToDependency), (&(*pkgUrl_1)), blitTmp_1);
							if (NIM_UNLIKELY(*nimErr_)) goto LA77_;
							{
								LA77_:;
							}
							{
								eqdestroy___basicZdepgraphtypes_u558(pkgDep_1);
								if (colontmpD__21.p && !(colontmpD__21.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__21.p);
}
								if (colontmpD__20.p && !(colontmpD__20.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__20.p);
}
								if (colontmpD__19.p && !(colontmpD__19.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__19.p);
}
								eqdestroy___pureZuri_u213((&colontmpD__18));
								if (colontmpD__17.p && !(colontmpD__17.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__17.p);
}
								if (colontmpD__16.p && !(colontmpD__16.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__16.p);
}
							}
							if (NIM_UNLIKELY(*nimErr_)) goto LA56_;
						}
						goto LA72_;
LA75_: ;
						{
							{
								NIM_BOOL T87_;
								tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA** T88_;
								NimStringV2 colontmpD__23;
								tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA colontmpD__24;
								NimStringV2 colontmpD__25;
								tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T93_;
								tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA T94_;
								tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA** T95_;
								T87_ = (NIM_BOOL)0;
								T88_ = (tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA**)0;
								T88_ = X5BX5D___basicZdeptypesjson_u14466((&(*nc_p0).packageToDependency), (&(*pkgUrl_1)));
								if (NIM_UNLIKELY(*nimErr_)) goto LA56_;
								T87_ = ((*(*T88_)).state == ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)1));
								if (!(T87_)) goto LA89_;
								T87_ = !((state_1 == ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)1)));
LA89_: ;
								if (!T87_) goto LA90_;
								colontmpD__23.len = 0; colontmpD__23.p = NIM_NIL;
								nimZeroMem((void*)(&colontmpD__24), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
								colontmpD__25.len = 0; colontmpD__25.p = NIM_NIL;
								colontmpD__23 = projectName__basicZpkgurls_u35((&(*pkg_p1).url));
								if (NIM_UNLIKELY(*nimErr_)) goto LA92_;
								T93_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_144;
								nimZeroMem((void*)(&T94_), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
								url__basicZpkgurls_u44((&(*pkgUrl_1)), (&T94_));
								colontmpD__24 = T94_;
								if (NIM_UNLIKELY(*nimErr_)) goto LA92_;
								colontmpD__25 = dollar___pureZuri_u409((&colontmpD__24));
								if (NIM_UNLIKELY(*nimErr_)) goto LA92_;
								T93_[1] = colontmpD__25;
								warn__basicZpkgurls_u133(colontmpD__23, T93_, 2);
								if (NIM_UNLIKELY(*nimErr_)) goto LA92_;
								T95_ = (tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA**)0;
								T95_ = X5BX5D___basicZdeptypesjson_u14466((&(*nc_p0).packageToDependency), (&(*pkgUrl_1)));
								if (NIM_UNLIKELY(*nimErr_)) goto LA92_;
								(*(*T95_)).state = ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)2);
								{
									LA92_:;
								}
								{
									if (colontmpD__25.p && !(colontmpD__25.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__25.p);
}
									eqdestroy___pureZuri_u213((&colontmpD__24));
									if (colontmpD__23.p && !(colontmpD__23.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__23.p);
}
								}
								if (NIM_UNLIKELY(*nimErr_)) goto LA56_;
							}
LA90_: ;
						}
LA72_: ;
						i_2 += ((NI)1);
						{
							NI T100_;
							T100_ = (*result).requirements.len;
							if (!!((T100_ == L_2))) goto LA101_;
							failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_145);
							if (NIM_UNLIKELY(*nimErr_)) goto LA56_;
						}
LA101_: ;
					} LA64: ;
				}
			}
			{
				NimStringV2 feature_1;
				tySequence__Cv9czsNzurrmCo02svI9bGaw rq_1;
				NI L_3;
				feature_1.len = 0; feature_1.p = NIM_NIL;
				rq_1.len = 0; rq_1.p = NIM_NIL;
				L_3 = len__basicZdeptypesjson_u2933((*result).features);
				if (NIM_UNLIKELY(*nimErr_)) goto LA104_;
				{
					NI h_1;
					NI colontmp_;
					NI T106_;
					NI res_1;
					h_1 = (NI)0;
					colontmp_ = (NI)0;
					T106_ = ((*result).features.data.len-1);
					colontmp_ = T106_;
					res_1 = ((NI)0);
					{
						while (1) {
							NI TM__C9cmKYCNdBkg6KCWDBOEmkg_156;
							if (!(res_1 <= colontmp_)) goto LA108;
							h_1 = ((NI) (res_1));
							{
								NIM_BOOL T111_;
								if (h_1 < 0 || h_1 >= (*result).features.data.len){ raiseIndexError2(h_1,(*result).features.data.len-1); goto LA104_;
								}
								T111_ = (NIM_BOOL)0;
								T111_ = isFilled__pureZcollectionsZtables_u31((*result).features.data.p->data[h_1].Field0);
								if (NIM_UNLIKELY(*nimErr_)) goto LA104_;
								if (!T111_) goto LA112_;
								if (h_1 < 0 || h_1 >= (*result).features.data.len){ raiseIndexError2(h_1,(*result).features.data.len-1); goto LA104_;
								}
								eqcopy___system_u2754((&feature_1), (*result).features.data.p->data[h_1].Field1);
								if (h_1 < 0 || h_1 >= (*result).features.data.len){ raiseIndexError2(h_1,(*result).features.data.len-1); goto LA104_;
								}
								eqcopy___basicZdeptypes_u287((&rq_1), (*result).features.data.p->data[h_1].Field2);
								{
									tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* pkgUrl_2;
									tyObject_VersionInterval__Fo18dECYIXwkOygWPnb8YA* interval_2;
									NI i_3;
									NI L_4;
									NI T115_;
									pkgUrl_2 = (tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw*)0;
									interval_2 = (tyObject_VersionInterval__Fo18dECYIXwkOygWPnb8YA*)0;
									i_3 = ((NI)0);
									T115_ = rq_1.len;
									L_4 = T115_;
									{
										while (1) {
											if (!(i_3 < L_4)) goto LA117;
											if (i_3 < 0 || i_3 >= rq_1.len){ raiseIndexError2(i_3,rq_1.len-1); goto LA104_;
											}
											pkgUrl_2 = (&rq_1.p->data[i_3].Field0);
											if (i_3 < 0 || i_3 >= rq_1.len){ raiseIndexError2(i_3,rq_1.len-1); goto LA104_;
											}
											interval_2 = (&rq_1.p->data[i_3].Field1);
											{
												NIM_BOOL T120_;
												tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA commit_2;
												tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA colontmpD__26;
												NimStringV2 colontmpD__27;
												tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA* T123_;
												tyObject_VersionTag__io9bcihbopiwucKorobyKdg T124_;
												T120_ = (NIM_BOOL)0;
												T120_ = isSpecial__basicZversions_u453((&(*interval_2)));
												if (NIM_UNLIKELY(*nimErr_)) goto LA104_;
												if (!T120_) goto LA121_;
												nimZeroMem((void*)(&commit_2), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
												nimZeroMem((void*)(&colontmpD__26), sizeof(tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA));
												colontmpD__27.len = 0; colontmpD__27.p = NIM_NIL;
												commit_2 = extractSpecificCommit__basicZversions_u5180((&(*interval_2)));
												if (NIM_UNLIKELY(*nimErr_)) goto LA104_;
												colontmpD__26 = initHashSet__basicZgitops_u1444(((NI)64));
												if (NIM_UNLIKELY(*nimErr_)) goto LA104_;
												T123_ = (tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA*)0;
												T123_ = mgetOrPut__dependencies_u495((&(*nc_p0).explicitVersions), (&(*pkgUrl_2)), colontmpD__26);
												if (NIM_UNLIKELY(*nimErr_)) goto LA104_;
												nimZeroMem((void*)(&T124_), sizeof(tyObject_VersionTag__io9bcihbopiwucKorobyKdg));
												colontmpD__27 = dollar___basicZversions_u5238((&(*interval_2)));
												if (NIM_UNLIKELY(*nimErr_)) goto LA104_;
												T124_.v = colontmpD__27;
												T124_.c = commit_2;
												incl__basicZgitops_u1690(T123_, (&T124_));
												if (NIM_UNLIKELY(*nimErr_)) goto LA104_;
												if (colontmpD__27.p && !(colontmpD__27.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__27.p);
}
												eqdestroy___basicZgitops_u1640((&colontmpD__26));
												eqdestroy___basicZversions_u111((&commit_2));
											}
LA121_: ;
											{
												NIM_BOOL T127_;
												tyEnum_PackageState__INzfBajphYPGcwu72ccy8w colontmpD__28;
												tyEnum_PackageState__INzfBajphYPGcwu72ccy8w colontmpD__29;
												NimStringV2 colontmpD__30;
												NimStringV2 colontmpD__31;
												tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA colontmpD__32;
												NimStringV2 colontmpD__33;
												NimStringV2 colontmpD__34;
												NimStringV2 colontmpD__35;
												tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* pkgDep_2;
												tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw colontmpD__36;
												tyEnum_PackageState__INzfBajphYPGcwu72ccy8w state_2;
												tyArray__hSrJSIaqyFxuH67Wd7apZQ T138_;
												tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA T139_;
												tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* T140_;
												tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw T141_;
												tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* blitTmp_2;
												T127_ = (NIM_BOOL)0;
												T127_ = contains__basicZdepgraphtypes_u2170((&(*nc_p0).packageToDependency), (&(*pkgUrl_2)));
												if (NIM_UNLIKELY(*nimErr_)) goto LA104_;
												if (!!(T127_)) goto LA128_;
												colontmpD__28 = (tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)0;
												colontmpD__29 = (tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)0;
												colontmpD__30.len = 0; colontmpD__30.p = NIM_NIL;
												colontmpD__31.len = 0; colontmpD__31.p = NIM_NIL;
												nimZeroMem((void*)(&colontmpD__32), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
												colontmpD__33.len = 0; colontmpD__33.p = NIM_NIL;
												colontmpD__34.len = 0; colontmpD__34.p = NIM_NIL;
												colontmpD__35.len = 0; colontmpD__35.p = NIM_NIL;
												pkgDep_2 = NIM_NIL;
												{
													tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ* T133_;
													NIM_BOOL T134_;
													T133_ = (tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ*)0;
													T133_ = context__basicZcontext_u319();
													if (NIM_UNLIKELY(*nimErr_)) goto LA130_;
													T134_ = (NIM_BOOL)0;
													T134_ = contains__basicZversions_u4165((*T133_).features, feature_1);
													if (NIM_UNLIKELY(*nimErr_)) goto LA130_;
													if (!!(T134_)) goto LA135_;
													colontmpD__28 = ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)1);
													state_2 = colontmpD__28;
												}
												goto LA131_;
LA135_: ;
												{
													colontmpD__29 = childDependencyState__dependencies_u301(pkg_p1, deferChildDeps_p3);
													if (NIM_UNLIKELY(*nimErr_)) goto LA130_;
													state_2 = colontmpD__29;
												}
LA131_: ;
												colontmpD__30 = projectName__basicZpkgurls_u35((&(*pkg_p1).url));
												if (NIM_UNLIKELY(*nimErr_)) goto LA130_;
												T138_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_147;
												colontmpD__31 = projectName__basicZpkgurls_u35((&(*pkgUrl_2)));
												if (NIM_UNLIKELY(*nimErr_)) goto LA130_;
												T138_[1] = colontmpD__31;
												T138_[2] = TM__C9cmKYCNdBkg6KCWDBOEmkg_148;
												nimZeroMem((void*)(&T139_), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
												url__basicZpkgurls_u44((&(*pkgUrl_2)), (&T139_));
												colontmpD__32 = T139_;
												if (NIM_UNLIKELY(*nimErr_)) goto LA130_;
												colontmpD__33 = dollar___pureZuri_u409((&colontmpD__32));
												if (NIM_UNLIKELY(*nimErr_)) goto LA130_;
												T138_[3] = colontmpD__33;
												T138_[4] = TM__C9cmKYCNdBkg6KCWDBOEmkg_149;
												colontmpD__34 = projectName__basicZpkgurls_u35((&(*pkgUrl_2)));
												if (NIM_UNLIKELY(*nimErr_)) goto LA130_;
												T138_[5] = colontmpD__34;
												T138_[6] = TM__C9cmKYCNdBkg6KCWDBOEmkg_150;
												colontmpD__35 = dollar___basicZdeptypes_u22(state_2);
												T138_[7] = colontmpD__35;
												debug__basicZgitops_u1174(colontmpD__30, T138_, 8);
												if (NIM_UNLIKELY(*nimErr_)) goto LA130_;
												T140_ = NIM_NIL;
												T140_ = (tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA*) nimNewObj(sizeof(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA), NIM_ALIGNOF(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA));
												nimZeroMem((void*)(&T141_), sizeof(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw));
												eqdup___basicZpkgurls_u267((&(*pkgUrl_2)), (&T141_));
												colontmpD__36 = T141_;
												(*T140_).url = colontmpD__36;
												(*T140_).state = state_2;
												(*T140_).isFork = isForkUrl__dependencies_u185((&(*nc_p0)), (&(*pkgUrl_2)));
												if (NIM_UNLIKELY(*nimErr_)) goto LA130_;
												pkgDep_2 = T140_;
												blitTmp_2 = pkgDep_2;
												eqwasMoved___basicZdepgraphtypes_u555(&pkgDep_2);
												X5BX5Deq___basicZdeptypesjson_u12178((&(*nc_p0).packageToDependency), (&(*pkgUrl_2)), blitTmp_2);
												if (NIM_UNLIKELY(*nimErr_)) goto LA130_;
												{
													LA130_:;
												}
												{
													eqdestroy___basicZdepgraphtypes_u558(pkgDep_2);
													if (colontmpD__35.p && !(colontmpD__35.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__35.p);
}
													if (colontmpD__34.p && !(colontmpD__34.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__34.p);
}
													if (colontmpD__33.p && !(colontmpD__33.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__33.p);
}
													eqdestroy___pureZuri_u213((&colontmpD__32));
													if (colontmpD__31.p && !(colontmpD__31.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__31.p);
}
													if (colontmpD__30.p && !(colontmpD__30.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__30.p);
}
												}
												if (NIM_UNLIKELY(*nimErr_)) goto LA104_;
											}
											goto LA125_;
LA128_: ;
											{
												NIM_BOOL T145_;
												NIM_BOOL T146_;
												tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ* T147_;
												tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA** T149_;
												tyEnum_PackageState__INzfBajphYPGcwu72ccy8w T151_;
												NimStringV2 colontmpD__37;
												tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA colontmpD__38;
												NimStringV2 colontmpD__39;
												tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T155_;
												tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA T156_;
												tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA** T157_;
												T145_ = (NIM_BOOL)0;
												T146_ = (NIM_BOOL)0;
												T147_ = (tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ*)0;
												T147_ = context__basicZcontext_u319();
												if (NIM_UNLIKELY(*nimErr_)) goto LA104_;
												T146_ = contains__basicZversions_u4165((*T147_).features, feature_1);
												if (NIM_UNLIKELY(*nimErr_)) goto LA104_;
												if (!(T146_)) goto LA148_;
												T149_ = (tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA**)0;
												T149_ = X5BX5D___basicZdeptypesjson_u14466((&(*nc_p0).packageToDependency), (&(*pkgUrl_2)));
												if (NIM_UNLIKELY(*nimErr_)) goto LA104_;
												T146_ = ((*(*T149_)).state == ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)1));
LA148_: ;
												T145_ = T146_;
												if (!(T145_)) goto LA150_;
												T151_ = (tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)0;
												T151_ = childDependencyState__dependencies_u301(pkg_p1, deferChildDeps_p3);
												if (NIM_UNLIKELY(*nimErr_)) goto LA104_;
												T145_ = !((T151_ == ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)1)));
LA150_: ;
												if (!T145_) goto LA152_;
												colontmpD__37.len = 0; colontmpD__37.p = NIM_NIL;
												nimZeroMem((void*)(&colontmpD__38), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
												colontmpD__39.len = 0; colontmpD__39.p = NIM_NIL;
												colontmpD__37 = projectName__basicZpkgurls_u35((&(*pkg_p1).url));
												if (NIM_UNLIKELY(*nimErr_)) goto LA154_;
												T155_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_152;
												nimZeroMem((void*)(&T156_), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
												url__basicZpkgurls_u44((&(*pkgUrl_2)), (&T156_));
												colontmpD__38 = T156_;
												if (NIM_UNLIKELY(*nimErr_)) goto LA154_;
												colontmpD__39 = dollar___pureZuri_u409((&colontmpD__38));
												if (NIM_UNLIKELY(*nimErr_)) goto LA154_;
												T155_[1] = colontmpD__39;
												warn__basicZpkgurls_u133(colontmpD__37, T155_, 2);
												if (NIM_UNLIKELY(*nimErr_)) goto LA154_;
												T157_ = (tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA**)0;
												T157_ = X5BX5D___basicZdeptypesjson_u14466((&(*nc_p0).packageToDependency), (&(*pkgUrl_2)));
												if (NIM_UNLIKELY(*nimErr_)) goto LA154_;
												(*(*T157_)).state = ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)2);
												{
													LA154_:;
												}
												{
													if (colontmpD__39.p && !(colontmpD__39.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__39.p);
}
													eqdestroy___pureZuri_u213((&colontmpD__38));
													if (colontmpD__37.p && !(colontmpD__37.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__37.p);
}
												}
												if (NIM_UNLIKELY(*nimErr_)) goto LA104_;
											}
											goto LA125_;
LA152_: ;
LA125_: ;
											i_3 += ((NI)1);
											{
												NI T162_;
												T162_ = rq_1.len;
												if (!!((T162_ == L_4))) goto LA163_;
												failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_153);
												if (NIM_UNLIKELY(*nimErr_)) goto LA104_;
											}
LA163_: ;
										} LA117: ;
									}
								}
								{
									NI T167_;
									T167_ = (NI)0;
									T167_ = len__basicZdeptypesjson_u2933((*result).features);
									if (NIM_UNLIKELY(*nimErr_)) goto LA104_;
									if (!!((T167_ == L_3))) goto LA168_;
									failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_155);
									if (NIM_UNLIKELY(*nimErr_)) goto LA104_;
								}
LA168_: ;
							}
LA112_: ;
							if (nimAddInt(res_1, ((NI)1), &TM__C9cmKYCNdBkg6KCWDBOEmkg_156)) { raiseOverflow(); goto LA104_;
							};
							res_1 = (NI)(TM__C9cmKYCNdBkg6KCWDBOEmkg_156);
						} LA108: ;
					}
				}
				{
					LA104_:;
				}
				{
					eqdestroy___basicZdeptypes_u284(rq_1);
					if (feature_1.p && !(feature_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(feature_1.p);
}
				}
				if (NIM_UNLIKELY(*nimErr_)) goto LA56_;
			}
		}
LA59_: ;
		{
			LA56_:;
		}
		{
			if (nimbleFile_1.p && !(nimbleFile_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(nimbleFile_1.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA24_: ;
	{
		LA1_:;
	}
	{
		eqdestroy___basicZversions_u111((&colontmpD__4));
		if (colontmpD__3.p && !(colontmpD__3.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__3.p);
}
		eqdestroy___basicZnimblecontext_u145(nimbleFiles_1);
		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 BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(Exception*, getCurrentException)(void) {
	Exception* result;
	result = NIM_NIL;
	eqcopy___system_u3719(&result, currException__system_u3686, NIM_FALSE);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, addRelease__dependencies_u4305)(tySequence__fUCMBHW75OZPJePoPhOXNA* versions_p0, tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* nc_p1, tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* pkg_p2, tyObject_VersionTag__io9bcihbopiwucKorobyKdg* vtag_p3, NIM_BOOL deferChildDeps_p4) {
	NIM_BOOL result;
	tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* pkgver_1;
	NimStringV2 colontmpD_;
	NimStringV2 colontmpD__2;
	tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T2_;
	tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* release_1;
	tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* T5_;
	tyTuple__J4qYjN1oh0iSNXduwGtAfg T39_;
	tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* blitTmp_1;
	tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* blitTmp_2;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (NIM_BOOL)0;
	pkgver_1 = NIM_NIL;
	colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
	colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
	pkgver_1 = toPkgVer__basicZdeptypes_u118(vtag_p3);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	colontmpD_ = projectName__basicZpkgurls_u35((&(*pkg_p2).url));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T2_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_108;
	colontmpD__2 = dollar___basicZversions_u187(vtag_p3);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T2_[1] = colontmpD__2;
	trace__basicZgitops_u1126(colontmpD_, T2_, 2);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	release_1 = NIM_NIL;
	T5_ = NIM_NIL;
	T5_ = processNimbleRelease__dependencies_u305(nc_p1, pkg_p2, vtag_p3, deferChildDeps_p4);
	if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___basicZdeptypes_u1632(T5_); goto LA4_;}
	release_1 = T5_;
	{
		NimStringV2 colontmpD__3;
		NimStringV2 colontmpD__4;
		NimStringV2 T11_;
		tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T12_;
		NimStringV2 T13_;
		if (!((*vtag_p3).v.len == 0)) goto LA8_;
		colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
		colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
		eqcopy___system_u2754((&(*pkgver_1).vtag.v), (*release_1).version);
		T11_.len = 0; T11_.p = NIM_NIL;
		T11_ = projectName__basicZpkgurls_u35((&(*pkg_p2).url));
		if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T11_); goto LA10_;}
		colontmpD__3 = T11_;
		T12_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_158;
		T13_.len = 0; T13_.p = NIM_NIL;
		T13_ = dollar___basicZversions_u187((&(*pkgver_1).vtag));
		if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T13_); goto LA10_;}
		colontmpD__4 = T13_;
		T12_[1] = colontmpD__4;
		trace__basicZgitops_u1126(colontmpD__3, T12_, 2);
		if (NIM_UNLIKELY(*nimErr_)) goto LA10_;
		{
			LA10_:;
		}
		{
			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 LA4_;
	}
	goto LA6_;
LA8_: ;
	{
		NimStringV2 colontmpD__5;
		NimStringV2 colontmpD__6;
		NimStringV2 T20_;
		tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T21_;
		NimStringV2 T22_;
		NimStringV2 T23_;
		if (!((*release_1).version.len == 0)) goto LA17_;
		colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL;
		colontmpD__6.len = 0; colontmpD__6.p = NIM_NIL;
		T20_.len = 0; T20_.p = NIM_NIL;
		T20_ = projectName__basicZpkgurls_u35((&(*pkg_p2).url));
		if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T20_); goto LA19_;}
		colontmpD__5 = T20_;
		T21_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_160;
		T22_.len = 0; T22_.p = NIM_NIL;
		T22_ = dollar___basicZversions_u187((&(*pkgver_1).vtag));
		if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T22_); goto LA19_;}
		colontmpD__6 = T22_;
		T21_[1] = colontmpD__6;
		warn__basicZpkgurls_u133(colontmpD__5, T21_, 2);
		if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
		T23_.len = 0; T23_.p = NIM_NIL;
		T23_ = version__basicZversions_u196(vtag_p3);
		if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T23_); goto LA19_;}
		eqsink___system_u2760((&(*release_1).version), T23_);
		{
			LA19_:;
		}
		{
			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 LA4_;
	}
	goto LA6_;
LA17_: ;
	{
		NIM_BOOL T27_;
		NIM_BOOL T28_;
		NimStringV2 colontmpD__7;
		NimStringV2 colontmpD__8;
		NimStringV2 colontmpD__9;
		NimStringV2 T33_;
		tyArray__Seu7uK9aaOSN0BK3EAjjSHw T34_;
		NimStringV2 T35_;
		NimStringV2 T36_;
		T27_ = (NIM_BOOL)0;
		T28_ = (NIM_BOOL)0;
		T28_ = eqeq___basicZversions_u359((*vtag_p3).v, (*release_1).version);
		if (NIM_UNLIKELY(*nimErr_)) goto LA4_;
		T27_ = !(T28_);
		if (!(T27_)) goto LA29_;
		T27_ = !((*pkg_p2).isRoot);
LA29_: ;
		if (!T27_) goto LA30_;
		colontmpD__7.len = 0; colontmpD__7.p = NIM_NIL;
		colontmpD__8.len = 0; colontmpD__8.p = NIM_NIL;
		colontmpD__9.len = 0; colontmpD__9.p = NIM_NIL;
		T33_.len = 0; T33_.p = NIM_NIL;
		T33_ = projectName__basicZpkgurls_u35((&(*pkg_p2).url));
		if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T33_); goto LA32_;}
		colontmpD__7 = T33_;
		T34_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_162;
		T35_.len = 0; T35_.p = NIM_NIL;
		T35_ = dollar___basicZversions_u52((*vtag_p3).v);
		if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T35_); goto LA32_;}
		colontmpD__8 = T35_;
		T34_[1] = colontmpD__8;
		T34_[2] = TM__C9cmKYCNdBkg6KCWDBOEmkg_164;
		T36_.len = 0; T36_.p = NIM_NIL;
		T36_ = dollar___basicZversions_u52((*release_1).version);
		if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T36_); goto LA32_;}
		colontmpD__9 = T36_;
		T34_[3] = colontmpD__9;
		info__basicZparse95requires_u40(colontmpD__7, T34_, 4);
		if (NIM_UNLIKELY(*nimErr_)) goto LA32_;
		{
			LA32_:;
		}
		{
			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 (colontmpD__7.p && !(colontmpD__7.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__7.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA4_;
	}
	goto LA6_;
LA30_: ;
LA6_: ;
	nimZeroMem((void*)(&T39_), sizeof(tyTuple__J4qYjN1oh0iSNXduwGtAfg));
	blitTmp_1 = pkgver_1;
	eqwasMoved___basicZdeptypes_u145(&pkgver_1);
	T39_.Field0 = blitTmp_1;
	blitTmp_2 = release_1;
	eqwasMoved___basicZdeptypes_u1629(&release_1);
	T39_.Field1 = blitTmp_2;
	add__dependencies_u4330((&(*versions_p0)), T39_);
	result = NIM_TRUE;
	{
		LA4_:;
	}
	{
		eqdestroy___basicZdeptypes_u1632(release_1);
	}
	if (NIM_UNLIKELY(*nimErr_)) goto LA3_;
	if (NIM_UNLIKELY(*nimErr_)) {
		LA3_:;
		if (isObjDisplayCheck(nimBorrowCurrentException()->Sup.m_type, 2, 599397120)) {
			tyObject_CatchableError__liO6E8JNJNTVmf9cnXKZiug* e_1;
			NimStringV2 colontmpD__10;
			NimStringV2 colontmpD__11;
			Exception* T46_;
			NimStringV2 T47_;
			tyArray__Seu7uK9aaOSN0BK3EAjjSHw T48_;
			NimStringV2 T49_;
			*nimErr_ = NIM_FALSE;
			e_1 = NIM_NIL;
			colontmpD__10.len = 0; colontmpD__10.p = NIM_NIL;
			colontmpD__11.len = 0; colontmpD__11.p = NIM_NIL;
			T46_ = NIM_NIL;
			T46_ = getCurrentException();
			e_1 = ((tyObject_CatchableError__liO6E8JNJNTVmf9cnXKZiug*) (T46_));
			T47_.len = 0; T47_.p = NIM_NIL;
			T47_ = projectName__basicZpkgurls_u35((&(*pkg_p2).url));
			if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T47_); goto LA45_;}
			colontmpD__10 = T47_;
			T48_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_166;
			T49_.len = 0; T49_.p = NIM_NIL;
			T49_ = dollar___basicZversions_u187(vtag_p3);
			if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T49_); goto LA45_;}
			colontmpD__11 = T49_;
			T48_[1] = colontmpD__11;
			T48_[2] = TM__C9cmKYCNdBkg6KCWDBOEmkg_168;
			T48_[3] = (*e_1).Sup.message;
			info__basicZparse95requires_u40(colontmpD__10, T48_, 4);
			if (NIM_UNLIKELY(*nimErr_)) goto LA45_;
			result = NIM_FALSE;
			if (colontmpD__11.p && !(colontmpD__11.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__11.p);
}
			if (colontmpD__10.p && !(colontmpD__10.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__10.p);
}
			eqdestroy___basicZpackageinfos_u630(e_1);
			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___basicZdeptypes_u148(pkgver_1);
			popCurrentException();
			goto BeforeRet_;
			{
				LA45_:;
			}
			{
				if (colontmpD__11.p && !(colontmpD__11.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__11.p);
}
				if (colontmpD__10.p && !(colontmpD__10.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__10.p);
}
				eqdestroy___basicZpackageinfos_u630(e_1);
			}
			if (NIM_UNLIKELY(*nimErr_)) goto LA43_;
			popCurrentException();
			LA43_:;
		}
	}
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		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___basicZdeptypes_u148(pkgver_1);
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NI, len__basicZdeptypes_u1719)(tyObject_OrderedTable__6LH0iEO9c9cdi0YrUiH7Mtdg* t_p0) {
	NI result;
	result = (*t_p0).counter;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tySequence__ROG4zVH2lrODohp66awvUw, collectNimbleVersions__dependencies_u21)(tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* nc_p0, tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* pkg_p1) {
	tySequence__ROG4zVH2lrODohp66awvUw result;
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ nimbleFiles_1;
	NimStringV2 dir_1;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	nimbleFiles_1.len = 0; nimbleFiles_1.p = NIM_NIL;
	dir_1.len = 0; dir_1.p = NIM_NIL;
	nimbleFiles_1 = findNimbleFile__basicZnimblecontext_u322(pkg_p1);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	eqcopy___system_u2754((&dir_1), (*pkg_p1).ondisk);
	{
		NimStringV2 colontmpD_;
		NimStringV2 colontmpD__2;
		NimStringV2 T6_;
		if (!!(!(((*pkg_p1).ondisk.len == 0)))) goto LA4_;
		colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
		colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
		T6_.len = 0; T6_.p = NIM_NIL;
		colontmpD_ = dollar___basicZdeptypes_u192(pkg_p1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		T6_ = rawNewString(colontmpD_.len + 131);
appendString((&T6_), TM__C9cmKYCNdBkg6KCWDBOEmkg_187);
appendString((&T6_), colontmpD_);
		colontmpD__2 = T6_;
		failedAssertImpl__stdZassertions_u95(colontmpD__2);
		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);
}
	}
LA4_: ;
	result.len = 0; result.p = (tySequence__ROG4zVH2lrODohp66awvUw_Content*) newSeqPayload(0, sizeof(tyObject_VersionTag__io9bcihbopiwucKorobyKdg), NIM_ALIGNOF(tyObject_VersionTag__io9bcihbopiwucKorobyKdg));
	{
		NI T9_;
		tySequence__sM4lkSb7zS6F7OVMvW9cffQ colontmpD__3;
		NimStringV2 colontmpD__4;
		tySequence__ROG4zVH2lrODohp66awvUw T13_;
		tyArray__Seu7uK9aaOSN0BK3EAjjSHw T14_;
		tySequence__sM4lkSb7zS6F7OVMvW9cffQ T15_;
		T9_ = nimbleFiles_1.len;
		if (!(T9_ == ((NI)1))) goto LA10_;
		colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
		colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
		if (((NI)0) < 0 || ((NI)0) >= nimbleFiles_1.len){ raiseIndexError2(((NI)0),nimbleFiles_1.len-1); goto LA12_;
		}
		T13_.len = 0; T13_.p = NIM_NIL;
		T13_ = collectFileCommits__basicZgitops_u760(dir_1, nimbleFiles_1.p->data[((NI)0)], TM__C9cmKYCNdBkg6KCWDBOEmkg_188, ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)2), (*pkg_p1).isLocalOnly);
		if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___basicZversions_u4782(T13_); goto LA12_;}
		eqsink___basicZversions_u4791((&result), T13_);
		reverse__dependencies_u39(((result).p) ? (result.p->data) : NIM_NIL, result.len);
		if (NIM_UNLIKELY(*nimErr_)) goto LA12_;
		T14_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_190;
		T15_.len = 0; T15_.p = NIM_NIL;
		{
			tySequence__sM4lkSb7zS6F7OVMvW9cffQ resultX60gensym3__1;
			NI iX60gensym3__1;
			NI T17_;
			resultX60gensym3__1.len = 0; resultX60gensym3__1.p = NIM_NIL;
			iX60gensym3__1 = ((NI)0);
			T17_ = result.len;
			if ((T17_) < ((NI)0) || (T17_) > ((NI)IL64(9223372036854775807))){ raiseRangeErrorI(T17_, ((NI)0), ((NI)IL64(9223372036854775807))); goto LA12_;
			}
			resultX60gensym3__1 = newSeq__stdZsyncio_u578((T17_));
			{
				tyObject_VersionTag__io9bcihbopiwucKorobyKdg* it_1;
				NI i_1;
				NI L_1;
				NI T19_;
				it_1 = (tyObject_VersionTag__io9bcihbopiwucKorobyKdg*)0;
				i_1 = ((NI)0);
				T19_ = result.len;
				L_1 = T19_;
				{
					while (1) {
						NimStringV2 T22_;
						NI TM__C9cmKYCNdBkg6KCWDBOEmkg_191;
						if (!(i_1 < L_1)) goto LA21;
						if (i_1 < 0 || i_1 >= result.len){ raiseIndexError2(i_1,result.len-1); goto LA12_;
						}
						it_1 = (&result.p->data[i_1]);
						if (iX60gensym3__1 < 0 || iX60gensym3__1 >= resultX60gensym3__1.len){ raiseIndexError2(iX60gensym3__1,resultX60gensym3__1.len-1); goto LA12_;
						}
						T22_.len = 0; T22_.p = NIM_NIL;
						T22_ = short__basicZversions_u142((*it_1).c);
						if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T22_); goto LA12_;}
						eqsink___system_u2760((&resultX60gensym3__1.p->data[iX60gensym3__1]), T22_);
						if (nimAddInt(iX60gensym3__1, ((NI)1), &TM__C9cmKYCNdBkg6KCWDBOEmkg_191)) { raiseOverflow(); goto LA12_;
						};
						iX60gensym3__1 = (NI)(TM__C9cmKYCNdBkg6KCWDBOEmkg_191);
						i_1 += ((NI)1);
						{
							NI T25_;
							T25_ = result.len;
							if (!!((T25_ == L_1))) goto LA26_;
							failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_192);
							if (NIM_UNLIKELY(*nimErr_)) goto LA12_;
						}
LA26_: ;
					} LA21: ;
				}
			}
			colontmpD__3 = resultX60gensym3__1;
			T15_ = colontmpD__3;
		}
		colontmpD__4 = nsuJoinSep(((T15_).p) ? (T15_.p->data) : NIM_NIL, T15_.len, TM__C9cmKYCNdBkg6KCWDBOEmkg_193);
		if (NIM_UNLIKELY(*nimErr_)) goto LA12_;
		T14_[1] = colontmpD__4;
		T14_[2] = TM__C9cmKYCNdBkg6KCWDBOEmkg_195;
		if (((NI)0) < 0 || ((NI)0) >= nimbleFiles_1.len){ raiseIndexError2(((NI)0),nimbleFiles_1.len-1); goto LA12_;
		}
		T14_[3] = nimbleFiles_1.p->data[((NI)0)];
		trace__dependencies_u149(pkg_p1, T14_, 4);
		if (NIM_UNLIKELY(*nimErr_)) goto LA12_;
		{
			LA12_:;
		}
		{
			if (colontmpD__4.p && !(colontmpD__4.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__4.p);
}
			eqdestroy___system_u5582(colontmpD__3);
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA10_: ;
	{
		LA1_:;
	}
	{
		if (dir_1.p && !(dir_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(dir_1.p);
}
		eqdestroy___basicZnimblecontext_u145(nimbleFiles_1);
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___dependencies_u4980)(tySequence__qiQB9aYg1ebSgh2i1rl2apg dest_p0) {
	NI colontmp_;
	colontmp_ = ((NI)0);
	{
		while (1) {
			NI T3_;
			T3_ = dest_p0.len;
			if (!(colontmp_ < T3_)) goto LA2;
			{
				NIM_BOOL T6_;
				T6_ = (NIM_BOOL)0;
				T6_ = nimDecRefIsLast(dest_p0.p->data[colontmp_]);
				if (!T6_) goto LA7_;
				eqdestroy___basicZdeptypes_u902((&(*dest_p0.p->data[colontmp_])));
				nimRawDispose(dest_p0.p->data[colontmp_], ((NI)8));
			}
LA7_: ;
			colontmp_ += ((NI)1);
		} LA2: ;
	}
	if (dest_p0.p && !(dest_p0.p->cap & NIM_STRLIT_FLAG)) {
 alignedDealloc(dest_p0.p, NIM_ALIGNOF(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw*));
}
}
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___dependencies_u3501)(tySequence__vOapjTAdumLxjw75U33DNg dest_p0) {
	NI colontmp_;
	colontmp_ = ((NI)0);
	{
		while (1) {
			NI T3_;
			T3_ = dest_p0.len;
			if (!(colontmp_ < T3_)) goto LA2;
			{
				NIM_BOOL T6_;
				T6_ = (NIM_BOOL)0;
				T6_ = nimDecRefIsLast(dest_p0.p->data[colontmp_]);
				if (!T6_) goto LA7_;
				eqdestroy___basicZdeptypes_u124((&(*dest_p0.p->data[colontmp_])));
				nimRawDispose(dest_p0.p->data[colontmp_], ((NI)8));
			}
LA7_: ;
			colontmp_ += ((NI)1);
		} LA2: ;
	}
	if (dest_p0.p && !(dest_p0.p->cap & NIM_STRLIT_FLAG)) {
 alignedDealloc(dest_p0.p, NIM_ALIGNOF(tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg*));
}
}
static N_INLINE(NIM_BOOL, isHead__basicZversions_u288)(NimStringV2 v_p0) {
	NIM_BOOL result;
	NI T1_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (NIM_BOOL)0;
	T1_ = (NI)0;
	T1_ = nsuCmpIgnoreCase(v_p0, TM__C9cmKYCNdBkg6KCWDBOEmkg_251);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	result = (T1_ == ((NI)0));
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, commitPrefixMatches__dependencies_u4360)(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA a_p0, tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA b_p1) {
	NIM_BOOL result;
	NIM_BOOL T7_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (NIM_BOOL)0;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = isEmpty__basicZversions_u133(a_p0);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		if (T3_) goto LA4_;
		T3_ = isEmpty__basicZversions_u133(b_p1);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
LA4_: ;
		if (!T3_) goto LA5_;
		result = NIM_FALSE;
		goto BeforeRet_;
	}
LA5_: ;
	T7_ = (NIM_BOOL)0;
	T7_ = nsuStartsWith(a_p0.h, b_p1.h);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	if (T7_) goto LA8_;
	T7_ = nsuStartsWith(b_p1.h, a_p0.h);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
LA8_: ;
	result = T7_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, explicitVersionMatches__dependencies_u4364)(tyObject_VersionTag__io9bcihbopiwucKorobyKdg* explicit_p0, tyObject_VersionTag__io9bcihbopiwucKorobyKdg* candidate_p1) {
	NIM_BOOL result;
	NimStringV2 colontmpD_;
	tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA colontmpD__2;
	tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA colontmpD__3;
	NimStringV2 colontmpD__4;
	NimStringV2 colontmpD__5;
	NimStringV2 colontmpD__6;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (NIM_BOOL)0;
	colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
	nimZeroMem((void*)(&colontmpD__2), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
	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__6.len = 0; colontmpD__6.p = NIM_NIL;
	{
		NIM_BOOL T4_;
		colontmpD_ = version__basicZversions_u196(explicit_p0);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		T4_ = (NIM_BOOL)0;
		T4_ = isHead__basicZversions_u288(colontmpD_);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if (!T4_) goto LA5_;
		result = (*candidate_p1).isTip;
		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 (colontmpD__4.p && !(colontmpD__4.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__4.p);
}
		eqdestroy___basicZversions_u111((&colontmpD__3));
		eqdestroy___basicZversions_u111((&colontmpD__2));
		if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
		goto BeforeRet_;
	}
LA5_: ;
	{
		NIM_BOOL T9_;
		colontmpD__2 = commit__basicZversions_u193(explicit_p0);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		colontmpD__3 = commit__basicZversions_u193(candidate_p1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		T9_ = (NIM_BOOL)0;
		T9_ = commitPrefixMatches__dependencies_u4360(colontmpD__2, colontmpD__3);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if (!T9_) goto LA10_;
		result = NIM_TRUE;
		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 (colontmpD__4.p && !(colontmpD__4.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__4.p);
}
		eqdestroy___basicZversions_u111((&colontmpD__3));
		eqdestroy___basicZversions_u111((&colontmpD__2));
		if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
		goto BeforeRet_;
	}
LA10_: ;
	{
		NIM_BOOL T14_;
		NimStringV2 colontmpD__7;
		tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA colontmpD__8;
		T14_ = (NIM_BOOL)0;
		colontmpD__4 = version__basicZversions_u196(explicit_p0);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		T14_ = (((NI)1) < colontmpD__4.len);
		if (!(T14_)) goto LA15_;
		colontmpD__5 = version__basicZversions_u196(explicit_p0);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if (((NI)0) < 0 || ((NI)0) >= colontmpD__5.len){ raiseIndexError2(((NI)0),colontmpD__5.len-1); goto LA1_;
		}
		T14_ = ((NU8)(colontmpD__5.p->data[((NI)0)]) == (NU8)(35));
LA15_: ;
		if (!T14_) goto LA16_;
		colontmpD__7.len = 0; colontmpD__7.p = NIM_NIL;
		nimZeroMem((void*)(&colontmpD__8), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
		{
			NIM_BOOL T21_;
			NIM_BOOL T23_;
			tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA colontmpD__9;
			NimStringV2 colontmpD__10;
			NimStringV2 colontmpD__11;
			T21_ = (NIM_BOOL)0;
			colontmpD__7 = version__basicZversions_u196(explicit_p0);
			if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
			T21_ = (((NI)1) < colontmpD__7.len);
			if (!(T21_)) goto LA22_;
			colontmpD__8 = commit__basicZversions_u193(candidate_p1);
			if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
			T23_ = (NIM_BOOL)0;
			T23_ = isEmpty__basicZversions_u133(colontmpD__8);
			if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
			T21_ = !(T23_);
LA22_: ;
			if (!T21_) goto LA24_;
			nimZeroMem((void*)(&colontmpD__9), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
			colontmpD__10.len = 0; colontmpD__10.p = NIM_NIL;
			colontmpD__11.len = 0; colontmpD__11.p = NIM_NIL;
			colontmpD__9 = commit__basicZversions_u193(candidate_p1);
			if (NIM_UNLIKELY(*nimErr_)) goto LA26_;
			colontmpD__10 = version__basicZversions_u196(explicit_p0);
			if (NIM_UNLIKELY(*nimErr_)) goto LA26_;
			colontmpD__11 = substr__system_u9109(colontmpD__10, ((NI)1));
			result = nsuStartsWith(colontmpD__9.h, colontmpD__11);
			if (NIM_UNLIKELY(*nimErr_)) goto LA26_;
			if (colontmpD__11.p && !(colontmpD__11.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__11.p);
}
			if (colontmpD__10.p && !(colontmpD__10.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__10.p);
}
			eqdestroy___basicZversions_u111((&colontmpD__9));
			eqdestroy___basicZversions_u111((&colontmpD__8));
			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 (colontmpD__4.p && !(colontmpD__4.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__4.p);
}
			eqdestroy___basicZversions_u111((&colontmpD__3));
			eqdestroy___basicZversions_u111((&colontmpD__2));
			if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
			goto BeforeRet_;
			{
				LA26_:;
			}
			{
				if (colontmpD__11.p && !(colontmpD__11.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__11.p);
}
				if (colontmpD__10.p && !(colontmpD__10.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__10.p);
}
				eqdestroy___basicZversions_u111((&colontmpD__9));
			}
			if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
		}
LA24_: ;
		result = NIM_FALSE;
		eqdestroy___basicZversions_u111((&colontmpD__8));
		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 (colontmpD__4.p && !(colontmpD__4.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__4.p);
}
		eqdestroy___basicZversions_u111((&colontmpD__3));
		eqdestroy___basicZversions_u111((&colontmpD__2));
		if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
		goto BeforeRet_;
		{
			LA18_:;
		}
		{
			eqdestroy___basicZversions_u111((&colontmpD__8));
			if (colontmpD__7.p && !(colontmpD__7.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__7.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA16_: ;
	{
		NIM_BOOL T33_;
		NimStringV2 colontmpD__12;
		NimStringV2 colontmpD__13;
		colontmpD__6 = version__basicZversions_u196(explicit_p0);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		T33_ = (NIM_BOOL)0;
		T33_ = eqeq___basicZversions_u359(colontmpD__6, TM__C9cmKYCNdBkg6KCWDBOEmkg_252);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if (!!(T33_)) goto LA34_;
		colontmpD__12.len = 0; colontmpD__12.p = NIM_NIL;
		colontmpD__13.len = 0; colontmpD__13.p = NIM_NIL;
		colontmpD__12 = version__basicZversions_u196(explicit_p0);
		if (NIM_UNLIKELY(*nimErr_)) goto LA36_;
		colontmpD__13 = version__basicZversions_u196(candidate_p1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA36_;
		result = eqeq___basicZversions_u359(colontmpD__12, colontmpD__13);
		if (NIM_UNLIKELY(*nimErr_)) goto LA36_;
		if (colontmpD__13.p && !(colontmpD__13.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__13.p);
}
		if (colontmpD__12.p && !(colontmpD__12.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__12.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 (colontmpD__4.p && !(colontmpD__4.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__4.p);
}
		eqdestroy___basicZversions_u111((&colontmpD__3));
		eqdestroy___basicZversions_u111((&colontmpD__2));
		if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
		goto BeforeRet_;
		{
			LA36_:;
		}
		{
			if (colontmpD__13.p && !(colontmpD__13.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__13.p);
}
			if (colontmpD__12.p && !(colontmpD__12.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__12.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA34_: ;
	result = NIM_FALSE;
	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 (colontmpD__4.p && !(colontmpD__4.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__4.p);
}
	eqdestroy___basicZversions_u111((&colontmpD__3));
	eqdestroy___basicZversions_u111((&colontmpD__2));
	if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
	goto BeforeRet_;
	{
		LA1_:;
	}
	{
		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 (colontmpD__4.p && !(colontmpD__4.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__4.p);
}
		eqdestroy___basicZversions_u111((&colontmpD__3));
		eqdestroy___basicZversions_u111((&colontmpD__2));
		if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, filterToExplicitVersions__dependencies_u4368)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA** pkg_p0, tySequence__ROG4zVH2lrODohp66awvUw explicitVersions_p1) {
	tyObject_OrderedTable__6LH0iEO9c9cdi0YrUiH7Mtdg filtered_1;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	nimZeroMem((void*)(&filtered_1), sizeof(tyObject_OrderedTable__6LH0iEO9c9cdi0YrUiH7Mtdg));
	{
		NI T4_;
		T4_ = explicitVersions_p1.len;
		if (!(T4_ == ((NI)0))) goto LA5_;
		eqdestroy___basicZdeptypes_u2036((&filtered_1));
		goto BeforeRet_;
	}
LA5_: ;
	initOrderedTable__dependencies_u4386(((NI)32), (&filtered_1));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* ver_1;
		tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* rel_1;
		NI L_1;
		ver_1 = NIM_NIL;
		rel_1 = NIM_NIL;
		L_1 = len__basicZdeptypes_u1719((&(*(*pkg_p0)).versions));
		if (NIM_UNLIKELY(*nimErr_)) goto LA8_;
		{
			NI h_1;
			if (!(((NI)0) < (*(*pkg_p0)).versions.counter)) goto LA11_;
			h_1 = (*(*pkg_p0)).versions.first;
			{
				while (1) {
					NI nxt_1;
					if (!(((NI)0) <= h_1)) goto LA14;
					if (h_1 < 0 || h_1 >= (*(*pkg_p0)).versions.data.len){ raiseIndexError2(h_1,(*(*pkg_p0)).versions.data.len-1); goto LA8_;
					}
					nxt_1 = (*(*pkg_p0)).versions.data.p->data[h_1].Field1;
					{
						NIM_BOOL T17_;
						if (h_1 < 0 || h_1 >= (*(*pkg_p0)).versions.data.len){ raiseIndexError2(h_1,(*(*pkg_p0)).versions.data.len-1); goto LA8_;
						}
						T17_ = (NIM_BOOL)0;
						T17_ = isFilled__pureZcollectionsZtables_u31((*(*pkg_p0)).versions.data.p->data[h_1].Field0);
						if (NIM_UNLIKELY(*nimErr_)) goto LA8_;
						if (!T17_) goto LA18_;
						if (h_1 < 0 || h_1 >= (*(*pkg_p0)).versions.data.len){ raiseIndexError2(h_1,(*(*pkg_p0)).versions.data.len-1); goto LA8_;
						}
						eqcopy___basicZdeptypes_u151(&ver_1, (*(*pkg_p0)).versions.data.p->data[h_1].Field2);
						if (h_1 < 0 || h_1 >= (*(*pkg_p0)).versions.data.len){ raiseIndexError2(h_1,(*(*pkg_p0)).versions.data.len-1); goto LA8_;
						}
						eqcopy___basicZdeptypes_u1635(&rel_1, (*(*pkg_p0)).versions.data.p->data[h_1].Field3);
						{
							tyObject_VersionTag__io9bcihbopiwucKorobyKdg* explicit_1;
							NI i_1;
							NI L_2;
							NI T21_;
							explicit_1 = (tyObject_VersionTag__io9bcihbopiwucKorobyKdg*)0;
							i_1 = ((NI)0);
							T21_ = explicitVersions_p1.len;
							L_2 = T21_;
							{
								while (1) {
									if (!(i_1 < L_2)) goto LA23;
									if (i_1 < 0 || i_1 >= explicitVersions_p1.len){ raiseIndexError2(i_1,explicitVersions_p1.len-1); goto LA8_;
									}
									explicit_1 = (&explicitVersions_p1.p->data[i_1]);
									{
										NIM_BOOL T26_;
										tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* blitTmp_1;
										T26_ = (NIM_BOOL)0;
										T26_ = explicitVersionMatches__dependencies_u4364((&(*explicit_1)), (&(*ver_1).vtag));
										if (NIM_UNLIKELY(*nimErr_)) goto LA8_;
										if (!T26_) goto LA27_;
										blitTmp_1 = rel_1;
										eqwasMoved___basicZdeptypes_u1629(&rel_1);
										X5BX5Deq___basicZdeptypesjson_u9465((&filtered_1), ver_1, blitTmp_1);
										if (NIM_UNLIKELY(*nimErr_)) goto LA8_;
										goto LA20;
									}
LA27_: ;
									i_1 += ((NI)1);
									{
										NI T31_;
										T31_ = explicitVersions_p1.len;
										if (!!((T31_ == L_2))) goto LA32_;
										failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_253);
										if (NIM_UNLIKELY(*nimErr_)) goto LA8_;
									}
LA32_: ;
								} LA23: ;
							}
						} LA20: ;
						{
							NI T36_;
							T36_ = (NI)0;
							T36_ = len__basicZdeptypes_u1719((&(*(*pkg_p0)).versions));
							if (NIM_UNLIKELY(*nimErr_)) goto LA8_;
							if (!!((T36_ == L_1))) goto LA37_;
							failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_255);
							if (NIM_UNLIKELY(*nimErr_)) goto LA8_;
						}
LA37_: ;
					}
LA18_: ;
					h_1 = nxt_1;
				} LA14: ;
			}
		}
LA11_: ;
		{
			LA8_:;
		}
		{
			eqdestroy___basicZdeptypes_u1632(rel_1);
			eqdestroy___basicZdeptypes_u148(ver_1);
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	{
		NIM_BOOL T43_;
		NI T44_;
		NI T46_;
		NI T47_;
		NimStringV2 colontmpD_;
		tySequence__sM4lkSb7zS6F7OVMvW9cffQ colontmpD__2;
		NimStringV2 colontmpD__3;
		tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T51_;
		tySequence__sM4lkSb7zS6F7OVMvW9cffQ T52_;
		T43_ = (NIM_BOOL)0;
		T44_ = (NI)0;
		T44_ = len__basicZdeptypes_u1719((&filtered_1));
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		T43_ = (((NI)0) < T44_);
		if (!(T43_)) goto LA45_;
		T46_ = (NI)0;
		T46_ = len__basicZdeptypes_u1719((&filtered_1));
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		T47_ = (NI)0;
		T47_ = len__basicZdeptypes_u1719((&(*(*pkg_p0)).versions));
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		T43_ = (T46_ < T47_);
LA45_: ;
		if (!T43_) goto LA48_;
		colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
		colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
		colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
		colontmpD_ = projectName__basicZpkgurls_u35((&(*(*pkg_p0)).url));
		if (NIM_UNLIKELY(*nimErr_)) goto LA50_;
		T51_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_257;
		T52_.len = 0; T52_.p = NIM_NIL;
		{
			tySequence__qiQB9aYg1ebSgh2i1rl2apg colontmp__1;
			tySequence__qiQB9aYg1ebSgh2i1rl2apg resultX60gensym71__1;
			tySequence__sM4lkSb7zS6F7OVMvW9cffQ resultX60gensym72__1;
			NI iX60gensym72__1;
			NI T71_;
			colontmp__1.len = 0; colontmp__1.p = NIM_NIL;
			resultX60gensym71__1.len = 0; resultX60gensym71__1.p = NIM_NIL;
			resultX60gensym72__1.len = 0; resultX60gensym72__1.p = NIM_NIL;
			resultX60gensym71__1.len = 0; resultX60gensym71__1.p = (tySequence__qiQB9aYg1ebSgh2i1rl2apg_Content*) newSeqPayload(0, sizeof(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw*), NIM_ALIGNOF(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw*));
			{
				tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw** xX60gensym71__1;
				NI L_3;
				xX60gensym71__1 = (tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw**)0;
				L_3 = len__basicZdeptypes_u1719((&filtered_1));
				if (NIM_UNLIKELY(*nimErr_)) goto LA50_;
				{
					NI h_2;
					if (!(((NI)0) < filtered_1.counter)) goto LA57_;
					h_2 = filtered_1.first;
					{
						while (1) {
							NI nxt_2;
							if (!(((NI)0) <= h_2)) goto LA60;
							if (h_2 < 0 || h_2 >= filtered_1.data.len){ raiseIndexError2(h_2,filtered_1.data.len-1); goto LA50_;
							}
							nxt_2 = filtered_1.data.p->data[h_2].Field1;
							{
								NIM_BOOL T63_;
								tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* colontmpD__4;
								if (h_2 < 0 || h_2 >= filtered_1.data.len){ raiseIndexError2(h_2,filtered_1.data.len-1); goto LA50_;
								}
								T63_ = (NIM_BOOL)0;
								T63_ = isFilled__pureZcollectionsZtables_u31(filtered_1.data.p->data[h_2].Field0);
								if (NIM_UNLIKELY(*nimErr_)) goto LA50_;
								if (!T63_) goto LA64_;
								if (h_2 < 0 || h_2 >= filtered_1.data.len){ raiseIndexError2(h_2,filtered_1.data.len-1); goto LA50_;
								}
								xX60gensym71__1 = &filtered_1.data.p->data[h_2].Field3;
								colontmpD__4 = eqdup___basicZdeptypes_u1638((*xX60gensym71__1));
								add__dependencies_u4914((&resultX60gensym71__1), colontmpD__4);
								{
									NI T68_;
									T68_ = (NI)0;
									T68_ = len__basicZdeptypes_u1719((&filtered_1));
									if (NIM_UNLIKELY(*nimErr_)) goto LA50_;
									if (!!((T68_ == L_3))) goto LA69_;
									failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_259);
									if (NIM_UNLIKELY(*nimErr_)) goto LA50_;
								}
LA69_: ;
							}
LA64_: ;
							h_2 = nxt_2;
						} LA60: ;
					}
				}
LA57_: ;
			}
			colontmp__1 = resultX60gensym71__1;
			iX60gensym72__1 = ((NI)0);
			T71_ = colontmp__1.len;
			if ((T71_) < ((NI)0) || (T71_) > ((NI)IL64(9223372036854775807))){ raiseRangeErrorI(T71_, ((NI)0), ((NI)IL64(9223372036854775807))); goto LA50_;
			}
			resultX60gensym72__1 = newSeq__stdZsyncio_u578((T71_));
			{
				tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw** it_1;
				NI i_2;
				NI L_4;
				NI T73_;
				it_1 = (tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw**)0;
				i_2 = ((NI)0);
				T73_ = colontmp__1.len;
				L_4 = T73_;
				{
					while (1) {
						NimStringV2 T76_;
						NI TM__C9cmKYCNdBkg6KCWDBOEmkg_260;
						if (!(i_2 < L_4)) goto LA75;
						if (i_2 < 0 || i_2 >= colontmp__1.len){ raiseIndexError2(i_2,colontmp__1.len-1); goto LA50_;
						}
						it_1 = &colontmp__1.p->data[i_2];
						if (iX60gensym72__1 < 0 || iX60gensym72__1 >= resultX60gensym72__1.len){ raiseIndexError2(iX60gensym72__1,resultX60gensym72__1.len-1); goto LA50_;
						}
						T76_.len = 0; T76_.p = NIM_NIL;
						T76_ = dollar___basicZversions_u52((*(*it_1)).version);
						if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T76_); goto LA50_;}
						eqsink___system_u2760((&resultX60gensym72__1.p->data[iX60gensym72__1]), T76_);
						if (nimAddInt(iX60gensym72__1, ((NI)1), &TM__C9cmKYCNdBkg6KCWDBOEmkg_260)) { raiseOverflow(); goto LA50_;
						};
						iX60gensym72__1 = (NI)(TM__C9cmKYCNdBkg6KCWDBOEmkg_260);
						i_2 += ((NI)1);
						{
							NI T79_;
							T79_ = colontmp__1.len;
							if (!!((T79_ == L_4))) goto LA80_;
							failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_261);
							if (NIM_UNLIKELY(*nimErr_)) goto LA50_;
						}
LA80_: ;
					} LA75: ;
				}
			}
			colontmpD__2 = resultX60gensym72__1;
			eqdestroy___dependencies_u4980(colontmp__1);
			T52_ = colontmpD__2;
		}
		colontmpD__3 = nsuJoinSep(((T52_).p) ? (T52_.p->data) : NIM_NIL, T52_.len, TM__C9cmKYCNdBkg6KCWDBOEmkg_262);
		if (NIM_UNLIKELY(*nimErr_)) goto LA50_;
		T51_[1] = colontmpD__3;
		info__basicZparse95requires_u40(colontmpD_, T51_, 2);
		if (NIM_UNLIKELY(*nimErr_)) goto LA50_;
		eqsink___basicZdeptypes_u2045((&(*(*pkg_p0)).versions), (&filtered_1));
		eqwasMoved___basicZdeptypes_u2033((&filtered_1));
		{
			LA50_:;
		}
		{
			if (colontmpD__3.p && !(colontmpD__3.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__3.p);
}
			eqdestroy___system_u5582(colontmpD__2);
			if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA48_: ;
	{
		LA1_:;
	}
	{
		eqdestroy___basicZdeptypes_u2036((&filtered_1));
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
}
static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZsets_u39)(NI hcode_p0) {
	NIM_BOOL result;
	result = !((hcode_p0 == ((NI)0)));
	return result;
}
static N_INLINE(NI, hash__basicZpkgurls_u50)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* a_p0) {
	NI result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (NI)0;
	result = hash__basicZpkgurls_u53((&(*a_p0).u));
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NIM_BOOL, eqeq___basicZpkgurls_u67)(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* a_p0, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* b_p1) {
	NIM_BOOL result;
	result = eqeq___basicZpkgurls_u71((&(*a_p0).u), (&(*b_p1).u));
	return result;
}
static N_INLINE(NI, nextTry__pureZcollectionsZtables_u34)(NI h_p0, NI maxHash_p1) {
	NI result;
	NI TM__C9cmKYCNdBkg6KCWDBOEmkg_284;
{	result = (NI)0;
	if (nimAddInt(h_p0, ((NI)1), &TM__C9cmKYCNdBkg6KCWDBOEmkg_284)) { raiseOverflow(); goto BeforeRet_;
	};
	result = (NI)((NI)(TM__C9cmKYCNdBkg6KCWDBOEmkg_284) & maxHash_p1);
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NIM_BOOL, nimSubInt)(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 ^ (NI)((NU64) ~(b_p1))));
LA4_: ;
		if (!T3_) goto LA5_;
		(*res_p2) = r_1;
	}
	goto LA1_;
LA5_: ;
	{
		result = NIM_TRUE;
	}
LA1_: ;
	return result;
}
static N_INLINE(NI, rawGet__basicZnimbleparser_u1638)(tyObject_Table__chgX4ZRn9aA0cwNzdIgL9a3w t_p0, tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* key_p1, NI* hc_p2) {
	NI result;
	NI T1_;
	NI h_1;
	NI T11_;
	NI TM__C9cmKYCNdBkg6KCWDBOEmkg_285;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (NI)0;
	T1_ = (NI)0;
	T1_ = hash__basicZpkgurls_u50(key_p1);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	(*hc_p2) = T1_;
	{
		if (!((*hc_p2) == ((NI)0))) goto LA4_;
		(*hc_p2) = ((NI)314159265);
	}
LA4_: ;
	{
		NI T8_;
		T8_ = t_p0.data.len;
		if (!(T8_ == ((NI)0))) goto LA9_;
		result = ((NI)-1);
		goto BeforeRet_;
	}
LA9_: ;
	T11_ = (t_p0.data.len-1);
	h_1 = (NI)((*hc_p2) & T11_);
	{
		while (1) {
			NIM_BOOL T14_;
			NI T21_;
			if (h_1 < 0 || h_1 >= t_p0.data.len){ raiseIndexError2(h_1,t_p0.data.len-1); goto BeforeRet_;
			}
			T14_ = (NIM_BOOL)0;
			T14_ = isFilled__pureZcollectionsZtables_u31(t_p0.data.p->data[h_1].Field0);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			if (!T14_) goto LA13;
			{
				NIM_BOOL T17_;
				T17_ = (NIM_BOOL)0;
				if (h_1 < 0 || h_1 >= t_p0.data.len){ raiseIndexError2(h_1,t_p0.data.len-1); goto BeforeRet_;
				}
				T17_ = (t_p0.data.p->data[h_1].Field0 == (*hc_p2));
				if (!(T17_)) goto LA18_;
				if (h_1 < 0 || h_1 >= t_p0.data.len){ raiseIndexError2(h_1,t_p0.data.len-1); goto BeforeRet_;
				}
				T17_ = eqeq___basicZpkgurls_u67((&t_p0.data.p->data[h_1].Field1), key_p1);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
LA18_: ;
				if (!T17_) goto LA19_;
				result = h_1;
				goto BeforeRet_;
			}
LA19_: ;
			T21_ = (t_p0.data.len-1);
			h_1 = nextTry__pureZcollectionsZtables_u34(h_1, T21_);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		} LA13: ;
	}
	if (nimSubInt(((NI)-1), h_1, &TM__C9cmKYCNdBkg6KCWDBOEmkg_285)) { raiseOverflow(); goto BeforeRet_;
	};
	result = (NI)(TM__C9cmKYCNdBkg6KCWDBOEmkg_285);
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, addFeatureDependencies__dependencies_u2803)(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* pkg_p0) {
	NimStringV2 colontmpD_;
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ colontmpD__2;
	NimStringV2 colontmpD__3;
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ colontmpD__4;
	NimStringV2 colontmpD__5;
	NIM_BOOL featuresAdded_1;
	NimStringV2 T2_;
	tyArray__Seu7uK9aaOSN0BK3EAjjSHw T3_;
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ T4_;
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ T23_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
	colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
	colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
	colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
	colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL;
	featuresAdded_1 = NIM_FALSE;
	colontmpD_ = projectName__basicZpkgurls_u35((&(*pkg_p0).url));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T2_.len = 0; T2_.p = NIM_NIL;
	T2_ = colontmpD_;
	T3_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_264;
	T4_.len = 0; T4_.p = NIM_NIL;
	{
		tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q colontmp__1;
		tySequence__sM4lkSb7zS6F7OVMvW9cffQ resultX60gensym47__1;
		tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ* T6_;
		NI iX60gensym47__1;
		NI T7_;
		nimZeroMem((void*)(&colontmp__1), sizeof(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q));
		resultX60gensym47__1.len = 0; resultX60gensym47__1.p = NIM_NIL;
		T6_ = (tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ*)0;
		T6_ = context__basicZcontext_u319();
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		eqcopy___basicZversions_u5017((&colontmp__1), (*T6_).features);
		iX60gensym47__1 = ((NI)0);
		T7_ = (NI)0;
		T7_ = len__basicZdeptypesjson_u836(colontmp__1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if ((T7_) < ((NI)0) || (T7_) > ((NI)IL64(9223372036854775807))){ raiseRangeErrorI(T7_, ((NI)0), ((NI)IL64(9223372036854775807))); goto LA1_;
		}
		resultX60gensym47__1 = newSeq__stdZsyncio_u578((T7_));
		{
			NimStringV2 itX60gensym47__1;
			NI length_1;
			itX60gensym47__1.len = 0; itX60gensym47__1.p = NIM_NIL;
			length_1 = len__basicZdeptypesjson_u836(colontmp__1);
			if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
			{
				NI h_1;
				NI colontmp__2;
				NI T10_;
				NI res_1;
				h_1 = (NI)0;
				colontmp__2 = (NI)0;
				T10_ = (colontmp__1.data.len-1);
				colontmp__2 = T10_;
				res_1 = ((NI)0);
				{
					while (1) {
						NI TM__C9cmKYCNdBkg6KCWDBOEmkg_268;
						if (!(res_1 <= colontmp__2)) goto LA12;
						h_1 = ((NI) (res_1));
						{
							NIM_BOOL T15_;
							NI TM__C9cmKYCNdBkg6KCWDBOEmkg_265;
							if (h_1 < 0 || h_1 >= colontmp__1.data.len){ raiseIndexError2(h_1,colontmp__1.data.len-1); goto LA1_;
							}
							T15_ = (NIM_BOOL)0;
							T15_ = isFilled__pureZcollectionsZsets_u39(colontmp__1.data.p->data[h_1].Field0);
							if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
							if (!T15_) goto LA16_;
							if (h_1 < 0 || h_1 >= colontmp__1.data.len){ raiseIndexError2(h_1,colontmp__1.data.len-1); goto LA1_;
							}
							eqcopy___system_u2754((&itX60gensym47__1), colontmp__1.data.p->data[h_1].Field1);
							if (iX60gensym47__1 < 0 || iX60gensym47__1 >= resultX60gensym47__1.len){ raiseIndexError2(iX60gensym47__1,resultX60gensym47__1.len-1); goto LA1_;
							}
							eqsink___system_u2760((&resultX60gensym47__1.p->data[iX60gensym47__1]), itX60gensym47__1);
							eqwasMoved___system_u2751((&itX60gensym47__1));
							if (nimAddInt(iX60gensym47__1, ((NI)1), &TM__C9cmKYCNdBkg6KCWDBOEmkg_265)) { raiseOverflow(); goto LA1_;
							};
							iX60gensym47__1 = (NI)(TM__C9cmKYCNdBkg6KCWDBOEmkg_265);
							{
								NI T20_;
								T20_ = (NI)0;
								T20_ = len__basicZdeptypesjson_u836(colontmp__1);
								if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
								if (!!((T20_ == length_1))) goto LA21_;
								failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_267);
								if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
							}
LA21_: ;
						}
LA16_: ;
						if (nimAddInt(res_1, ((NI)1), &TM__C9cmKYCNdBkg6KCWDBOEmkg_268)) { raiseOverflow(); goto LA1_;
						};
						res_1 = (NI)(TM__C9cmKYCNdBkg6KCWDBOEmkg_268);
					} LA12: ;
				}
			}
			if (itX60gensym47__1.p && !(itX60gensym47__1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(itX60gensym47__1.p);
}
		}
		colontmpD__2 = resultX60gensym47__1;
		eqdestroy___basicZversions_u5014((&colontmp__1));
		T4_ = colontmpD__2;
	}
	colontmpD__3 = nsuJoinSep(((T4_).p) ? (T4_.p->data) : NIM_NIL, T4_.len, TM__C9cmKYCNdBkg6KCWDBOEmkg_269);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T3_[1] = colontmpD__3;
	T3_[2] = TM__C9cmKYCNdBkg6KCWDBOEmkg_271;
	T23_.len = 0; T23_.p = NIM_NIL;
	{
		tySequence__vOapjTAdumLxjw75U33DNg colontmp__3;
		tySequence__vOapjTAdumLxjw75U33DNg resultX60gensym52__1;
		tySequence__sM4lkSb7zS6F7OVMvW9cffQ resultX60gensym53__1;
		NI iX60gensym53__1;
		NI T42_;
		colontmp__3.len = 0; colontmp__3.p = NIM_NIL;
		resultX60gensym52__1.len = 0; resultX60gensym52__1.p = NIM_NIL;
		resultX60gensym53__1.len = 0; resultX60gensym53__1.p = NIM_NIL;
		resultX60gensym52__1.len = 0; resultX60gensym52__1.p = (tySequence__vOapjTAdumLxjw75U33DNg_Content*) newSeqPayload(0, sizeof(tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg*), NIM_ALIGNOF(tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg*));
		{
			tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg** xX60gensym52__1;
			NI L_1;
			xX60gensym52__1 = (tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg**)0;
			L_1 = len__basicZdeptypes_u1719((&(*pkg_p0).versions));
			if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
			{
				NI h_2;
				if (!(((NI)0) < (*pkg_p0).versions.counter)) goto LA28_;
				h_2 = (*pkg_p0).versions.first;
				{
					while (1) {
						NI nxt_1;
						if (!(((NI)0) <= h_2)) goto LA31;
						if (h_2 < 0 || h_2 >= (*pkg_p0).versions.data.len){ raiseIndexError2(h_2,(*pkg_p0).versions.data.len-1); goto LA1_;
						}
						nxt_1 = (*pkg_p0).versions.data.p->data[h_2].Field1;
						{
							NIM_BOOL T34_;
							tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* colontmpD__6;
							if (h_2 < 0 || h_2 >= (*pkg_p0).versions.data.len){ raiseIndexError2(h_2,(*pkg_p0).versions.data.len-1); goto LA1_;
							}
							T34_ = (NIM_BOOL)0;
							T34_ = isFilled__pureZcollectionsZtables_u31((*pkg_p0).versions.data.p->data[h_2].Field0);
							if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
							if (!T34_) goto LA35_;
							if (h_2 < 0 || h_2 >= (*pkg_p0).versions.data.len){ raiseIndexError2(h_2,(*pkg_p0).versions.data.len-1); goto LA1_;
							}
							xX60gensym52__1 = &(*pkg_p0).versions.data.p->data[h_2].Field2;
							colontmpD__6 = eqdup___basicZdeptypes_u154((*xX60gensym52__1));
							add__dependencies_u3435((&resultX60gensym52__1), colontmpD__6);
							{
								NI T39_;
								T39_ = (NI)0;
								T39_ = len__basicZdeptypes_u1719((&(*pkg_p0).versions));
								if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
								if (!!((T39_ == L_1))) goto LA40_;
								failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_272);
								if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
							}
LA40_: ;
						}
LA35_: ;
						h_2 = nxt_1;
					} LA31: ;
				}
			}
LA28_: ;
		}
		colontmp__3 = resultX60gensym52__1;
		iX60gensym53__1 = ((NI)0);
		T42_ = colontmp__3.len;
		if ((T42_) < ((NI)0) || (T42_) > ((NI)IL64(9223372036854775807))){ raiseRangeErrorI(T42_, ((NI)0), ((NI)IL64(9223372036854775807))); goto LA1_;
		}
		resultX60gensym53__1 = newSeq__stdZsyncio_u578((T42_));
		{
			tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg** it_1;
			NI i_1;
			NI L_2;
			NI T44_;
			it_1 = (tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg**)0;
			i_1 = ((NI)0);
			T44_ = colontmp__3.len;
			L_2 = T44_;
			{
				while (1) {
					NimStringV2 T47_;
					NI TM__C9cmKYCNdBkg6KCWDBOEmkg_273;
					if (!(i_1 < L_2)) goto LA46;
					if (i_1 < 0 || i_1 >= colontmp__3.len){ raiseIndexError2(i_1,colontmp__3.len-1); goto LA1_;
					}
					it_1 = &colontmp__3.p->data[i_1];
					if (iX60gensym53__1 < 0 || iX60gensym53__1 >= resultX60gensym53__1.len){ raiseIndexError2(iX60gensym53__1,resultX60gensym53__1.len-1); goto LA1_;
					}
					T47_.len = 0; T47_.p = NIM_NIL;
					T47_ = dollar___basicZdeptypes_u551((*it_1));
					if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T47_); goto LA1_;}
					eqsink___system_u2760((&resultX60gensym53__1.p->data[iX60gensym53__1]), T47_);
					if (nimAddInt(iX60gensym53__1, ((NI)1), &TM__C9cmKYCNdBkg6KCWDBOEmkg_273)) { raiseOverflow(); goto LA1_;
					};
					iX60gensym53__1 = (NI)(TM__C9cmKYCNdBkg6KCWDBOEmkg_273);
					i_1 += ((NI)1);
					{
						NI T50_;
						T50_ = colontmp__3.len;
						if (!!((T50_ == L_2))) goto LA51_;
						failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_274);
						if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
					}
LA51_: ;
				} LA46: ;
			}
		}
		colontmpD__4 = resultX60gensym53__1;
		eqdestroy___dependencies_u3501(colontmp__3);
		T23_ = colontmpD__4;
	}
	colontmpD__5 = nsuJoinSep(((T23_).p) ? (T23_.p->data) : NIM_NIL, T23_.len, TM__C9cmKYCNdBkg6KCWDBOEmkg_275);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T3_[3] = colontmpD__5;
	warn__basicZpkgurls_u133(T2_, T3_, 4);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		NimStringV2 flag_1;
		tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q colontmp__4;
		tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ* T55_;
		NI length_2;
		flag_1.len = 0; flag_1.p = NIM_NIL;
		nimZeroMem((void*)(&colontmp__4), sizeof(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q));
		T55_ = (tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ*)0;
		T55_ = context__basicZcontext_u319();
		if (NIM_UNLIKELY(*nimErr_)) goto LA54_;
		colontmp__4 = (*T55_).features;
		length_2 = len__basicZdeptypesjson_u836(colontmp__4);
		if (NIM_UNLIKELY(*nimErr_)) goto LA54_;
		{
			NI h_3;
			NI colontmp__5;
			NI T57_;
			NI res_2;
			h_3 = (NI)0;
			colontmp__5 = (NI)0;
			T57_ = (colontmp__4.data.len-1);
			colontmp__5 = T57_;
			res_2 = ((NI)0);
			{
				while (1) {
					NI TM__C9cmKYCNdBkg6KCWDBOEmkg_293;
					if (!(res_2 <= colontmp__5)) goto LA59;
					h_3 = ((NI) (res_2));
					{
						NIM_BOOL T62_;
						if (h_3 < 0 || h_3 >= colontmp__4.data.len){ raiseIndexError2(h_3,colontmp__4.data.len-1); goto LA54_;
						}
						T62_ = (NIM_BOOL)0;
						T62_ = isFilled__pureZcollectionsZsets_u39(colontmp__4.data.p->data[h_3].Field0);
						if (NIM_UNLIKELY(*nimErr_)) goto LA54_;
						if (!T62_) goto LA63_;
						if (h_3 < 0 || h_3 >= colontmp__4.data.len){ raiseIndexError2(h_3,colontmp__4.data.len-1); goto LA54_;
						}
						eqcopy___system_u2754((&flag_1), colontmp__4.data.p->data[h_3].Field1);
						{
							tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* ver_1;
							tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* rel_1;
							NI L_3;
							ver_1 = NIM_NIL;
							rel_1 = NIM_NIL;
							ver_1 = 0;
							rel_1 = 0;
							L_3 = len__basicZdeptypes_u1719((&(*pkg_p0).versions));
							if (NIM_UNLIKELY(*nimErr_)) goto LA66_;
							{
								NI h_4;
								if (!(((NI)0) < (*pkg_p0).versions.counter)) goto LA69_;
								h_4 = (*pkg_p0).versions.first;
								{
									while (1) {
										NI nxt_2;
										if (!(((NI)0) <= h_4)) goto LA72;
										if (h_4 < 0 || h_4 >= (*pkg_p0).versions.data.len){ raiseIndexError2(h_4,(*pkg_p0).versions.data.len-1); goto LA66_;
										}
										nxt_2 = (*pkg_p0).versions.data.p->data[h_4].Field1;
										{
											NIM_BOOL T75_;
											NimStringV2 colontmpD__7;
											NimStringV2 colontmpD__8;
											tyArray__Seu7uK9aaOSN0BK3EAjjSHw T79_;
											if (h_4 < 0 || h_4 >= (*pkg_p0).versions.data.len){ raiseIndexError2(h_4,(*pkg_p0).versions.data.len-1); goto LA66_;
											}
											T75_ = (NIM_BOOL)0;
											T75_ = isFilled__pureZcollectionsZtables_u31((*pkg_p0).versions.data.p->data[h_4].Field0);
											if (NIM_UNLIKELY(*nimErr_)) goto LA66_;
											if (!T75_) goto LA76_;
											colontmpD__7.len = 0; colontmpD__7.p = NIM_NIL;
											colontmpD__8.len = 0; colontmpD__8.p = NIM_NIL;
											if (h_4 < 0 || h_4 >= (*pkg_p0).versions.data.len){ raiseIndexError2(h_4,(*pkg_p0).versions.data.len-1); goto LA78_;
											}
											eqcopy___basicZdeptypes_u151(&ver_1, (*pkg_p0).versions.data.p->data[h_4].Field2);
											if (h_4 < 0 || h_4 >= (*pkg_p0).versions.data.len){ raiseIndexError2(h_4,(*pkg_p0).versions.data.len-1); goto LA78_;
											}
											eqcopy___basicZdeptypes_u1635(&rel_1, (*pkg_p0).versions.data.p->data[h_4].Field3);
											colontmpD__7 = projectName__basicZpkgurls_u35((&(*pkg_p0).url));
											if (NIM_UNLIKELY(*nimErr_)) goto LA78_;
											T79_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_277;
											T79_[1] = flag_1;
											T79_[2] = TM__C9cmKYCNdBkg6KCWDBOEmkg_279;
											colontmpD__8 = dollar___basicZversions_u52((*rel_1).version);
											if (NIM_UNLIKELY(*nimErr_)) goto LA78_;
											T79_[3] = colontmpD__8;
											info__basicZparse95requires_u40(colontmpD__7, T79_, 4);
											if (NIM_UNLIKELY(*nimErr_)) goto LA78_;
											{
												NIM_BOOL T82_;
												tySequence__Cv9czsNzurrmCo02svI9bGaw fdep_1;
												tySequence__Cv9czsNzurrmCo02svI9bGaw* T86_;
												T82_ = (NIM_BOOL)0;
												T82_ = contains__dependencies_u3767((*rel_1).features, flag_1);
												if (NIM_UNLIKELY(*nimErr_)) goto LA78_;
												if (!T82_) goto LA83_;
												fdep_1.len = 0; fdep_1.p = NIM_NIL;
												T86_ = (tySequence__Cv9czsNzurrmCo02svI9bGaw*)0;
												T86_ = X5BX5D___dependencies_u3854((&(*rel_1).features), flag_1);
												if (NIM_UNLIKELY(*nimErr_)) goto LA85_;
												eqcopy___basicZdeptypes_u287((&fdep_1), (*T86_));
												{
													tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* pkgUrl_1;
													tyObject_VersionInterval__Fo18dECYIXwkOygWPnb8YA* interval_1;
													NI i_2;
													NI L_4;
													NI T88_;
													pkgUrl_1 = (tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw*)0;
													interval_1 = (tyObject_VersionInterval__Fo18dECYIXwkOygWPnb8YA*)0;
													i_2 = ((NI)0);
													T88_ = fdep_1.len;
													L_4 = T88_;
													{
														while (1) {
															NimStringV2 colontmpD__9;
															tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA colontmpD__10;
															NimStringV2 colontmpD__11;
															tyArray__Seu7uK9aaOSN0BK3EAjjSHw T92_;
															tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA T93_;
															NI hcX60gensym59__1;
															NI indexX60gensym59__1;
															NIM_BOOL hasKeyX60gensym59__1;
															if (!(i_2 < L_4)) goto LA90;
															colontmpD__9.len = 0; colontmpD__9.p = NIM_NIL;
															nimZeroMem((void*)(&colontmpD__10), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
															colontmpD__11.len = 0; colontmpD__11.p = NIM_NIL;
															if (i_2 < 0 || i_2 >= fdep_1.len){ raiseIndexError2(i_2,fdep_1.len-1); goto LA91_;
															}
															pkgUrl_1 = (&fdep_1.p->data[i_2].Field0);
															if (i_2 < 0 || i_2 >= fdep_1.len){ raiseIndexError2(i_2,fdep_1.len-1); goto LA91_;
															}
															interval_1 = (&fdep_1.p->data[i_2].Field1);
															colontmpD__9 = projectName__basicZpkgurls_u35((&(*pkg_p0).url));
															if (NIM_UNLIKELY(*nimErr_)) goto LA91_;
															T92_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_281;
															T92_[1] = flag_1;
															T92_[2] = TM__C9cmKYCNdBkg6KCWDBOEmkg_283;
															nimZeroMem((void*)(&T93_), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
															url__basicZpkgurls_u44((&(*pkgUrl_1)), (&T93_));
															colontmpD__10 = T93_;
															if (NIM_UNLIKELY(*nimErr_)) goto LA91_;
															colontmpD__11 = dollar___pureZuri_u409((&colontmpD__10));
															if (NIM_UNLIKELY(*nimErr_)) goto LA91_;
															T92_[3] = colontmpD__11;
															info__basicZparse95requires_u40(colontmpD__9, T92_, 4);
															if (NIM_UNLIKELY(*nimErr_)) goto LA91_;
															hcX60gensym59__1 = (NI)0;
															indexX60gensym59__1 = rawGet__basicZnimbleparser_u1638((*rel_1).reqsByFeatures, (&(*pkgUrl_1)), (&hcX60gensym59__1));
															if (NIM_UNLIKELY(*nimErr_)) goto LA91_;
															hasKeyX60gensym59__1 = (((NI)0) <= indexX60gensym59__1);
															{
																tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q* reqsByFeatures_1;
																if (!hasKeyX60gensym59__1) goto LA96_;
																if (indexX60gensym59__1 < 0 || indexX60gensym59__1 >= (*rel_1).reqsByFeatures.data.len){ raiseIndexError2(indexX60gensym59__1,(*rel_1).reqsByFeatures.data.len-1); goto LA91_;
																}
																reqsByFeatures_1 = (&(*rel_1).reqsByFeatures.data.p->data[indexX60gensym59__1].Field2);
																{
																	NIM_BOOL T100_;
																	T100_ = (NIM_BOOL)0;
																	T100_ = contains__basicZversions_u4165((*reqsByFeatures_1), flag_1);
																	if (NIM_UNLIKELY(*nimErr_)) goto LA91_;
																	if (!!(T100_)) goto LA101_;
																	incl__basicZversions_u858(reqsByFeatures_1, flag_1);
																	if (NIM_UNLIKELY(*nimErr_)) goto LA91_;
																	featuresAdded_1 = NIM_TRUE;
																}
LA101_: ;
															}
															goto LA94_;
LA96_: ;
															{
																tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q T104_;
																tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q* T105_;
																T104_ = initHashSet__OOZOOZOOZcompilerZoptions_u1045(((NI)64));
																if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___basicZversions_u5014(&T104_); goto LA91_;}
																X5BX5Deq___basicZdeptypesjson_u1973((&(*rel_1).reqsByFeatures), (&(*pkgUrl_1)), T104_);
																if (NIM_UNLIKELY(*nimErr_)) goto LA91_;
																T105_ = (tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q*)0;
																T105_ = X5BX5D___dependencies_u4185((&(*rel_1).reqsByFeatures), (&(*pkgUrl_1)));
																if (NIM_UNLIKELY(*nimErr_)) goto LA91_;
																incl__basicZversions_u858(T105_, flag_1);
																if (NIM_UNLIKELY(*nimErr_)) goto LA91_;
															}
LA94_: ;
															i_2 += ((NI)1);
															{
																NI T108_;
																T108_ = fdep_1.len;
																if (!!((T108_ == L_4))) goto LA109_;
																failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_286);
																if (NIM_UNLIKELY(*nimErr_)) goto LA91_;
															}
LA109_: ;
															{
																LA91_:;
															}
															{
																if (colontmpD__11.p && !(colontmpD__11.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__11.p);
}
																eqdestroy___pureZuri_u213((&colontmpD__10));
																if (colontmpD__9.p && !(colontmpD__9.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__9.p);
}
															}
															if (NIM_UNLIKELY(*nimErr_)) goto LA85_;
														} LA90: ;
													}
												}
												{
													LA85_:;
												}
												{
													eqdestroy___basicZdeptypes_u284(fdep_1);
												}
												if (NIM_UNLIKELY(*nimErr_)) goto LA78_;
											}
											goto LA80_;
LA83_: ;
											{
												NimStringV2 colontmpD__12;
												NimStringV2 colontmpD__13;
												tyArray__Seu7uK9aaOSN0BK3EAjjSHw T117_;
												colontmpD__12.len = 0; colontmpD__12.p = NIM_NIL;
												colontmpD__13.len = 0; colontmpD__13.p = NIM_NIL;
												colontmpD__12 = projectName__basicZpkgurls_u35((&(*pkg_p0).url));
												if (NIM_UNLIKELY(*nimErr_)) goto LA116_;
												T117_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_288;
												T117_[1] = flag_1;
												T117_[2] = TM__C9cmKYCNdBkg6KCWDBOEmkg_290;
												colontmpD__13 = dollar___basicZversions_u52((*rel_1).version);
												if (NIM_UNLIKELY(*nimErr_)) goto LA116_;
												T117_[3] = colontmpD__13;
												info__basicZparse95requires_u40(colontmpD__12, T117_, 4);
												if (NIM_UNLIKELY(*nimErr_)) goto LA116_;
												{
													LA116_:;
												}
												{
													if (colontmpD__13.p && !(colontmpD__13.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__13.p);
}
													if (colontmpD__12.p && !(colontmpD__12.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__12.p);
}
												}
												if (NIM_UNLIKELY(*nimErr_)) goto LA78_;
											}
LA80_: ;
											{
												NI T122_;
												T122_ = (NI)0;
												T122_ = len__basicZdeptypes_u1719((&(*pkg_p0).versions));
												if (NIM_UNLIKELY(*nimErr_)) goto LA78_;
												if (!!((T122_ == L_3))) goto LA123_;
												failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_291);
												if (NIM_UNLIKELY(*nimErr_)) goto LA78_;
											}
LA123_: ;
											{
												LA78_:;
											}
											{
												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 (NIM_UNLIKELY(*nimErr_)) goto LA66_;
										}
LA76_: ;
										h_4 = nxt_2;
									} LA72: ;
								}
							}
LA69_: ;
							{
								LA66_:;
							}
							{
								eqdestroy___basicZdeptypes_u1632(rel_1);
								eqdestroy___basicZdeptypes_u148(ver_1);
							}
							if (NIM_UNLIKELY(*nimErr_)) goto LA54_;
						}
						{
							NI T131_;
							T131_ = (NI)0;
							T131_ = len__basicZdeptypesjson_u836(colontmp__4);
							if (NIM_UNLIKELY(*nimErr_)) goto LA54_;
							if (!!((T131_ == length_2))) goto LA132_;
							failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_292);
							if (NIM_UNLIKELY(*nimErr_)) goto LA54_;
						}
LA132_: ;
					}
LA63_: ;
					if (nimAddInt(res_2, ((NI)1), &TM__C9cmKYCNdBkg6KCWDBOEmkg_293)) { raiseOverflow(); goto LA54_;
					};
					res_2 = (NI)(TM__C9cmKYCNdBkg6KCWDBOEmkg_293);
				} LA59: ;
			}
		}
		{
			LA54_:;
		}
		{
			if (flag_1.p && !(flag_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(flag_1.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	{
		NimStringV2 colontmpD__14;
		if (!featuresAdded_1) goto LA138_;
		colontmpD__14.len = 0; colontmpD__14.p = NIM_NIL;
		colontmpD__14 = projectName__basicZpkgurls_u35((&(*pkg_p0).url));
		if (NIM_UNLIKELY(*nimErr_)) goto LA140_;
		warn__basicZpkgurls_u133(colontmpD__14, TM__C9cmKYCNdBkg6KCWDBOEmkg_294, 1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA140_;
		(*pkg_p0).state = ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)3);
		{
			LA140_:;
		}
		{
			if (colontmpD__14.p && !(colontmpD__14.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__14.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA138_: ;
	{
		LA1_:;
	}
	{
		if (colontmpD__5.p && !(colontmpD__5.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__5.p);
}
		eqdestroy___system_u5582(colontmpD__4);
		if (colontmpD__3.p && !(colontmpD__3.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__3.p);
}
		eqdestroy___system_u5582(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, traverseDependency__dependencies_u5183)(tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* nc_p0, tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA** pkg_p1, tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw mode_p2, tySequence__ROG4zVH2lrODohp66awvUw explicitVersions_p3, NIM_BOOL deferChildDeps_p4) {
	tySequence__fUCMBHW75OZPJePoPhOXNA versions_1;
	tySequence__ROG4zVH2lrODohp66awvUw expandedExplicitVersions_1;
	tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA currentCommit_1;
	tyObject_VersionTag__io9bcihbopiwucKorobyKdg colontmpD_;
	tyObject_Table__R7H9bCN4BdKJ55D5J5Zu9cbw uniqueReleases_1;
	NimStringV2 colontmpD__2;
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ colontmpD__3;
	NimStringV2 colontmpD__4;
	tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA T18_;
NIM_BOOL oldNimErrFin114_;
	tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T263_;
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ T264_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	versions_1.len = 0; versions_1.p = NIM_NIL;
	expandedExplicitVersions_1.len = 0; expandedExplicitVersions_1.p = NIM_NIL;
	nimZeroMem((void*)(&currentCommit_1), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
	nimZeroMem((void*)(&colontmpD_), sizeof(tyObject_VersionTag__io9bcihbopiwucKorobyKdg));
	nimZeroMem((void*)(&uniqueReleases_1), sizeof(tyObject_Table__R7H9bCN4BdKJ55D5J5Zu9cbw));
	colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
	colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
	colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
	{
		NIM_BOOL T4_;
		NimStringV2 colontmpD__5;
		NimStringV2 colontmpD__6;
		NimStringV2 T8_;
		T4_ = (NIM_BOOL)0;
		T4_ = dirExists__stdZdirs_u3((*(*pkg_p1)).ondisk);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if (!(T4_)) goto LA5_;
		T4_ = !(((*(*pkg_p1)).state == ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)0)));
LA5_: ;
		if (!!(T4_)) goto LA6_;
		colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL;
		colontmpD__6.len = 0; colontmpD__6.p = NIM_NIL;
		T8_.len = 0; T8_.p = NIM_NIL;
		colontmpD__5 = dollar___basicZpkgurls_u47((&(*(*pkg_p1)).url));
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		T8_ = rawNewString(colontmpD__5.len + (*(*pkg_p1)).ondisk.len + 155);
appendString((&T8_), TM__C9cmKYCNdBkg6KCWDBOEmkg_93);
appendString((&T8_), colontmpD__5);
appendString((&T8_), TM__C9cmKYCNdBkg6KCWDBOEmkg_95);
appendString((&T8_), (*(*pkg_p1)).ondisk);
		colontmpD__6 = T8_;
		failedAssertImpl__stdZassertions_u95(colontmpD__6);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		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);
}
	}
LA6_: ;
	eqcopy___basicZversions_u4785((&expandedExplicitVersions_1), explicitVersions_p3);
	currentCommit_1 = currentGitCommit__basicZgitops_u1058((*(*pkg_p1)).ondisk, ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)2));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA colontmpD__7;
		tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA T14_;
		NIM_BOOL T15_;
		if (!!((*(*pkg_p1)).isLocalOnly)) goto LA11_;
		nimZeroMem((void*)(&colontmpD__7), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
		nimZeroMem((void*)(&T14_), sizeof(tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA));
		toUri__basicZpkgurls_u41((&(*(*pkg_p1)).url), (&T14_));
		colontmpD__7 = T14_;
		if (NIM_UNLIKELY(*nimErr_)) goto LA13_;
		T15_ = (NIM_BOOL)0;
		T15_ = ensureCanonicalOrigin__basicZgitops_u381((*(*pkg_p1)).ondisk, (&colontmpD__7), TM__C9cmKYCNdBkg6KCWDBOEmkg_96, ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)2));
		if (NIM_UNLIKELY(*nimErr_)) goto LA13_;
		(void)(T15_);
		{
			LA13_:;
		}
		{
			eqdestroy___pureZuri_u213((&colontmpD__7));
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA11_: ;
	findOriginTip__basicZgitops_u681((*(*pkg_p1)).ondisk, TM__C9cmKYCNdBkg6KCWDBOEmkg_97, ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)2), (*(*pkg_p1)).isLocalOnly, (&colontmpD_));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T18_ = commit__basicZversions_u193((&colontmpD_));
	if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___basicZversions_u111(&T18_); goto LA1_;}
	eqsink___basicZversions_u120((&(*(*pkg_p1)).originHead), T18_);
	{
		NIM_BOOL T21_;
		T21_ = (NIM_BOOL)0;
		T21_ = (mode_p2 == ((tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw)2));
		if (!(T21_)) goto LA22_;
		T21_ = isEmpty__basicZversions_u133(currentCommit_1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
LA22_: ;
		if (!T21_) goto LA23_;
	}
	goto LA19_;
LA23_: ;
	{
		NIM_BOOL T26_;
		NimStringV2 colontmpD__8;
		tyObject_VersionTag__io9bcihbopiwucKorobyKdg vtag_1;
		tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T30_;
		tyTuple__J4qYjN1oh0iSNXduwGtAfg T31_;
		tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* T32_;
		tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* T33_;
		T26_ = (NIM_BOOL)0;
		T26_ = isEmpty__basicZversions_u133(currentCommit_1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		if (!T26_) goto LA27_;
		colontmpD__8.len = 0; colontmpD__8.p = NIM_NIL;
		nimZeroMem((void*)(&vtag_1), sizeof(tyObject_VersionTag__io9bcihbopiwucKorobyKdg));
		colontmpD__8 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
		if (NIM_UNLIKELY(*nimErr_)) goto LA29_;
		T30_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_99;
		T30_[1] = (*(*pkg_p1)).ondisk;
		warn__basicZpkgurls_u133(colontmpD__8, T30_, 2);
		if (NIM_UNLIKELY(*nimErr_)) goto LA29_;
		nimZeroMem((void*)(&vtag_1), sizeof(tyObject_VersionTag__io9bcihbopiwucKorobyKdg));
		vtag_1.v = TM__C9cmKYCNdBkg6KCWDBOEmkg_100;
		vtag_1.c = initCommitHash__basicZversions_u85(TM__C9cmKYCNdBkg6KCWDBOEmkg_101, ((tyEnum_CommitOrigin__tDM8mWEQT3dZtKoOj7Mgww)1));
		if (NIM_UNLIKELY(*nimErr_)) goto LA29_;
		nimZeroMem((void*)(&T31_), sizeof(tyTuple__J4qYjN1oh0iSNXduwGtAfg));
		T32_ = NIM_NIL;
		T32_ = toPkgVer__basicZdeptypes_u118((&vtag_1));
		if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___basicZdeptypes_u148(T32_); goto LA29_;}
		T31_.Field0 = T32_;
		T33_ = NIM_NIL;
		T33_ = (tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw*) nimNewObj(sizeof(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw), NIM_ALIGNOF(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw));
		(*T33_).version = version__basicZversions_u196((&vtag_1));
		if (NIM_UNLIKELY(*nimErr_)) goto LA29_;
		(*T33_).status = ((tyEnum_ReleaseStatus__WQoraXO80GBXtge9ad8aCBg)1);
		T31_.Field1 = T33_;
		add__dependencies_u4330((&versions_1), T31_);
		(*(*pkg_p1)).state = ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)5);
		eqdestroy___basicZversions_u3509((&vtag_1));
		if (colontmpD__8.p && !(colontmpD__8.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__8.p);
}
		if (colontmpD__4.p && !(colontmpD__4.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__4.p);
}
		eqdestroy___system_u5582(colontmpD__3);
		if (colontmpD__2.p && !(colontmpD__2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__2.p);
}
		eqdestroy___dependencies_u10731((&uniqueReleases_1));
		eqdestroy___basicZversions_u3509((&colontmpD_));
		eqdestroy___basicZversions_u111((&currentCommit_1));
		eqdestroy___basicZversions_u4782(expandedExplicitVersions_1);
		eqdestroy___dependencies_u12042(versions_1);
		goto BeforeRet_;
		{
			LA29_:;
		}
		{
			eqdestroy___basicZversions_u3509((&vtag_1));
			if (colontmpD__8.p && !(colontmpD__8.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__8.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	goto LA19_;
LA27_: ;
	{
		NimStringV2 colontmpD__9;
		NimStringV2 colontmpD__10;
		tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T38_;
		colontmpD__9.len = 0; colontmpD__9.p = NIM_NIL;
		colontmpD__10.len = 0; colontmpD__10.p = NIM_NIL;
		colontmpD__9 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
		if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
		T38_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_103;
		colontmpD__10 = dollar___basicZversions_u73(currentCommit_1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
		T38_[1] = colontmpD__10;
		trace__basicZgitops_u1126(colontmpD__9, T38_, 2);
		if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
		{
			LA37_:;
		}
		{
			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 (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA19_: ;
	switch (mode_p2) {
	case ((tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw)2):
	{
		NimStringV2 colontmpD__11;
		tyObject_VersionTag__io9bcihbopiwucKorobyKdg vtag_2;
		NIM_BOOL T43_;
		colontmpD__11.len = 0; colontmpD__11.p = NIM_NIL;
		nimZeroMem((void*)(&vtag_2), sizeof(tyObject_VersionTag__io9bcihbopiwucKorobyKdg));
		colontmpD__11 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
		if (NIM_UNLIKELY(*nimErr_)) goto LA42_;
		trace__basicZgitops_u1126(colontmpD__11, TM__C9cmKYCNdBkg6KCWDBOEmkg_104, 1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA42_;
		nimZeroMem((void*)(&vtag_2), sizeof(tyObject_VersionTag__io9bcihbopiwucKorobyKdg));
		vtag_2.v = TM__C9cmKYCNdBkg6KCWDBOEmkg_106;
		vtag_2.c = initCommitHash__basicZversions_u129(currentCommit_1, ((tyEnum_CommitOrigin__tDM8mWEQT3dZtKoOj7Mgww)1));
		if (NIM_UNLIKELY(*nimErr_)) goto LA42_;
		T43_ = (NIM_BOOL)0;
		T43_ = addRelease__dependencies_u4305((&versions_1), nc_p0, (*pkg_p1), (&vtag_2), deferChildDeps_p4);
		if (NIM_UNLIKELY(*nimErr_)) goto LA42_;
		(void)(T43_);
		{
			LA42_:;
		}
		{
			eqdestroy___basicZversions_u3509((&vtag_2));
			if (colontmpD__11.p && !(colontmpD__11.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__11.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	break;
	case ((tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw)1):
	{
		NimStringV2 colontmpD__12;
		NimStringV2 colontmpD__13;
		tyObject_HashSet__Lvmn6BdMHxS172FqqpvhUQ uniqueCommits_1;
		tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T48_;
		colontmpD__12.len = 0; colontmpD__12.p = NIM_NIL;
		colontmpD__13.len = 0; colontmpD__13.p = NIM_NIL;
		nimZeroMem((void*)(&uniqueCommits_1), sizeof(tyObject_HashSet__Lvmn6BdMHxS172FqqpvhUQ));
		colontmpD__12 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
		if (NIM_UNLIKELY(*nimErr_)) goto LA47_;
		T48_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_170;
		colontmpD__13 = dollar___dependencies_u5224(expandedExplicitVersions_1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA47_;
		T48_[1] = colontmpD__13;
		debug__basicZgitops_u1174(colontmpD__12, T48_, 2);
		if (NIM_UNLIKELY(*nimErr_)) goto LA47_;
		{
			tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg** ver_1;
			NI L_1;
			ver_1 = (tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg**)0;
			L_1 = len__basicZdeptypes_u1719((&(*(*pkg_p1)).versions));
			if (NIM_UNLIKELY(*nimErr_)) goto LA47_;
			{
				NI h_1;
				if (!(((NI)0) < (*(*pkg_p1)).versions.counter)) goto LA52_;
				h_1 = (*(*pkg_p1)).versions.first;
				{
					while (1) {
						NI nxt_1;
						if (!(((NI)0) <= h_1)) goto LA55;
						if (h_1 < 0 || h_1 >= (*(*pkg_p1)).versions.data.len){ raiseIndexError2(h_1,(*(*pkg_p1)).versions.data.len-1); goto LA47_;
						}
						nxt_1 = (*(*pkg_p1)).versions.data.p->data[h_1].Field1;
						{
							NIM_BOOL T58_;
							if (h_1 < 0 || h_1 >= (*(*pkg_p1)).versions.data.len){ raiseIndexError2(h_1,(*(*pkg_p1)).versions.data.len-1); goto LA47_;
							}
							T58_ = (NIM_BOOL)0;
							T58_ = isFilled__pureZcollectionsZtables_u31((*(*pkg_p1)).versions.data.p->data[h_1].Field0);
							if (NIM_UNLIKELY(*nimErr_)) goto LA47_;
							if (!T58_) goto LA59_;
							if (h_1 < 0 || h_1 >= (*(*pkg_p1)).versions.data.len){ raiseIndexError2(h_1,(*(*pkg_p1)).versions.data.len-1); goto LA47_;
							}
							ver_1 = &(*(*pkg_p1)).versions.data.p->data[h_1].Field2;
							incl__dependencies_u5281((&uniqueCommits_1), (*(*ver_1)).vtag.c);
							if (NIM_UNLIKELY(*nimErr_)) goto LA47_;
							{
								NI T63_;
								T63_ = (NI)0;
								T63_ = len__basicZdeptypes_u1719((&(*(*pkg_p1)).versions));
								if (NIM_UNLIKELY(*nimErr_)) goto LA47_;
								if (!!((T63_ == L_1))) goto LA64_;
								failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_171);
								if (NIM_UNLIKELY(*nimErr_)) goto LA47_;
							}
LA64_: ;
						}
LA59_: ;
						h_1 = nxt_1;
					} LA55: ;
				}
			}
LA52_: ;
		}
		{
			tyObject_VersionTag__io9bcihbopiwucKorobyKdg* version_1;
			NI i_1;
			NI L_2;
			NI T67_;
			version_1 = (tyObject_VersionTag__io9bcihbopiwucKorobyKdg*)0;
			i_1 = ((NI)0);
			T67_ = expandedExplicitVersions_1.len;
			L_2 = T67_;
			{
				while (1) {
					tyObject_VersionTag__io9bcihbopiwucKorobyKdg vtag_3;
					NimStringV2 colontmpD__14;
					NimStringV2 colontmpD__15;
					NimStringV2 colontmpD__16;
					tyObject_VersionTag__io9bcihbopiwucKorobyKdg T71_;
					tyArray__Seu7uK9aaOSN0BK3EAjjSHw T72_;
					if (!(i_1 < L_2)) goto LA69;
					nimZeroMem((void*)(&vtag_3), sizeof(tyObject_VersionTag__io9bcihbopiwucKorobyKdg));
					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;
					if (i_1 < 0 || i_1 >= expandedExplicitVersions_1.len){ raiseIndexError2(i_1,expandedExplicitVersions_1.len-1); goto LA70_;
					}
					version_1 = (&expandedExplicitVersions_1.p->data[i_1]);
					nimZeroMem((void*)(&T71_), sizeof(tyObject_VersionTag__io9bcihbopiwucKorobyKdg));
					expandSpecial__basicZgitops_u817((*(*pkg_p1)).ondisk, TM__C9cmKYCNdBkg6KCWDBOEmkg_172, (&(*version_1)), ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)2), (&T71_));
					vtag_3 = T71_;
					if (NIM_UNLIKELY(*nimErr_)) goto LA70_;
					eqcopy___basicZversions_u3512((&(*version_1)), (&vtag_3));
					colontmpD__14 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
					if (NIM_UNLIKELY(*nimErr_)) goto LA70_;
					T72_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_174;
					colontmpD__15 = dollar___basicZversions_u187((&(*version_1)));
					if (NIM_UNLIKELY(*nimErr_)) goto LA70_;
					T72_[1] = colontmpD__15;
					T72_[2] = TM__C9cmKYCNdBkg6KCWDBOEmkg_176;
					colontmpD__16 = repr__basicZversions_u190((&vtag_3));
					if (NIM_UNLIKELY(*nimErr_)) goto LA70_;
					T72_[3] = colontmpD__16;
					debug__basicZgitops_u1174(colontmpD__14, T72_, 4);
					if (NIM_UNLIKELY(*nimErr_)) goto LA70_;
					i_1 += ((NI)1);
					{
						NI T75_;
						T75_ = expandedExplicitVersions_1.len;
						if (!!((T75_ == L_2))) goto LA76_;
						failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_178);
						if (NIM_UNLIKELY(*nimErr_)) goto LA70_;
					}
LA76_: ;
					{
						LA70_:;
					}
					{
						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);
}
						eqdestroy___basicZversions_u3509((&vtag_3));
					}
					if (NIM_UNLIKELY(*nimErr_)) goto LA47_;
				} LA69: ;
			}
		}
		{
			tyObject_VersionTag__io9bcihbopiwucKorobyKdg* version_2;
			NI i_2;
			NI L_3;
			NI T81_;
			version_2 = (tyObject_VersionTag__io9bcihbopiwucKorobyKdg*)0;
			i_2 = ((NI)0);
			T81_ = expandedExplicitVersions_1.len;
			L_3 = T81_;
			{
				while (1) {
					NimStringV2 colontmpD__17;
					NimStringV2 colontmpD__18;
					tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA colontmpD__19;
					tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA colontmpD__20;
					tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T85_;
					if (!(i_2 < L_3)) goto LA83;
					colontmpD__17.len = 0; colontmpD__17.p = NIM_NIL;
					colontmpD__18.len = 0; colontmpD__18.p = NIM_NIL;
					nimZeroMem((void*)(&colontmpD__19), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
					nimZeroMem((void*)(&colontmpD__20), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
					if (i_2 < 0 || i_2 >= expandedExplicitVersions_1.len){ raiseIndexError2(i_2,expandedExplicitVersions_1.len-1); goto LA84_;
					}
					version_2 = (&expandedExplicitVersions_1.p->data[i_2]);
					colontmpD__17 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
					if (NIM_UNLIKELY(*nimErr_)) goto LA84_;
					T85_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_180;
					colontmpD__18 = repr__basicZversions_u190((&(*version_2)));
					if (NIM_UNLIKELY(*nimErr_)) goto LA84_;
					T85_[1] = colontmpD__18;
					debug__basicZgitops_u1174(colontmpD__17, T85_, 2);
					if (NIM_UNLIKELY(*nimErr_)) goto LA84_;
					{
						NIM_BOOL T88_;
						NimStringV2 colontmpD__21;
						NimStringV2 colontmpD__22;
						tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T92_;
						colontmpD__19 = commit__basicZversions_u193((&(*version_2)));
						if (NIM_UNLIKELY(*nimErr_)) goto LA84_;
						T88_ = (NIM_BOOL)0;
						T88_ = isEmpty__basicZversions_u133(colontmpD__19);
						if (NIM_UNLIKELY(*nimErr_)) goto LA84_;
						if (!T88_) goto LA89_;
						colontmpD__21.len = 0; colontmpD__21.p = NIM_NIL;
						colontmpD__22.len = 0; colontmpD__22.p = NIM_NIL;
						colontmpD__21 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
						if (NIM_UNLIKELY(*nimErr_)) goto LA91_;
						T92_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_182;
						colontmpD__22 = dollar___basicZversions_u187((&(*version_2)));
						if (NIM_UNLIKELY(*nimErr_)) goto LA91_;
						T92_[1] = colontmpD__22;
						warn__basicZpkgurls_u133(colontmpD__21, T92_, 2);
						if (NIM_UNLIKELY(*nimErr_)) goto LA91_;
						{
							LA91_:;
						}
						{
							if (colontmpD__22.p && !(colontmpD__22.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__22.p);
}
							if (colontmpD__21.p && !(colontmpD__21.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__21.p);
}
						}
						if (NIM_UNLIKELY(*nimErr_)) goto LA84_;
					}
					goto LA86_;
LA89_: ;
					{
						NIM_BOOL T96_;
						NimStringV2 colontmpD__23;
						NimStringV2 colontmpD__24;
						tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T100_;
						NIM_BOOL T101_;
						colontmpD__20 = commit__basicZversions_u193((&(*version_2)));
						if (NIM_UNLIKELY(*nimErr_)) goto LA84_;
						T96_ = (NIM_BOOL)0;
						T96_ = containsOrIncl__dependencies_u6789((&uniqueCommits_1), colontmpD__20);
						if (NIM_UNLIKELY(*nimErr_)) goto LA84_;
						if (!!(T96_)) goto LA97_;
						colontmpD__23.len = 0; colontmpD__23.p = NIM_NIL;
						colontmpD__24.len = 0; colontmpD__24.p = NIM_NIL;
						colontmpD__23 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
						if (NIM_UNLIKELY(*nimErr_)) goto LA99_;
						T100_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_184;
						colontmpD__24 = dollar___basicZversions_u187((&(*version_2)));
						if (NIM_UNLIKELY(*nimErr_)) goto LA99_;
						T100_[1] = colontmpD__24;
						debug__basicZgitops_u1174(colontmpD__23, T100_, 2);
						if (NIM_UNLIKELY(*nimErr_)) goto LA99_;
						T101_ = (NIM_BOOL)0;
						T101_ = addRelease__dependencies_u4305((&versions_1), nc_p0, (*pkg_p1), (&(*version_2)), deferChildDeps_p4);
						if (NIM_UNLIKELY(*nimErr_)) goto LA99_;
						(void)(T101_);
						{
							LA99_:;
						}
						{
							if (colontmpD__24.p && !(colontmpD__24.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__24.p);
}
							if (colontmpD__23.p && !(colontmpD__23.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__23.p);
}
						}
						if (NIM_UNLIKELY(*nimErr_)) goto LA84_;
					}
					goto LA86_;
LA97_: ;
LA86_: ;
					i_2 += ((NI)1);
					{
						NI T106_;
						T106_ = expandedExplicitVersions_1.len;
						if (!!((T106_ == L_3))) goto LA107_;
						failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_185);
						if (NIM_UNLIKELY(*nimErr_)) goto LA84_;
					}
LA107_: ;
					{
						LA84_:;
					}
					{
						eqdestroy___basicZversions_u111((&colontmpD__20));
						eqdestroy___basicZversions_u111((&colontmpD__19));
						if (colontmpD__18.p && !(colontmpD__18.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__18.p);
}
						if (colontmpD__17.p && !(colontmpD__17.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__17.p);
}
					}
					if (NIM_UNLIKELY(*nimErr_)) goto LA47_;
				} LA83: ;
			}
		}
		{
			LA47_:;
		}
		{
			eqdestroy___dependencies_u12088((&uniqueCommits_1));
			if (colontmpD__13.p && !(colontmpD__13.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__13.p);
}
			if (colontmpD__12.p && !(colontmpD__12.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__12.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	break;
	case ((tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw)0):
	{
		tyObject_HashSet__Lvmn6BdMHxS172FqqpvhUQ uniqueCommits_2;
		tyObject_HashSet__9axRp7SZCUfmE3jbknxk4IA nimbleVersions_1;
		tySequence__ROG4zVH2lrODohp66awvUw nimbleCommits_1;
		NimStringV2 colontmpD__25;
		NimStringV2 colontmpD__26;
		tySequence__ROG4zVH2lrODohp66awvUw tags_1;
		NimStringV2 colontmpD__27;
		NimStringV2 colontmpD__28;
		tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T116_;
		tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T149_;
		nimZeroMem((void*)(&uniqueCommits_2), sizeof(tyObject_HashSet__Lvmn6BdMHxS172FqqpvhUQ));
		nimZeroMem((void*)(&nimbleVersions_1), sizeof(tyObject_HashSet__9axRp7SZCUfmE3jbknxk4IA));
		nimbleCommits_1.len = 0; nimbleCommits_1.p = NIM_NIL;
		colontmpD__25.len = 0; colontmpD__25.p = NIM_NIL;
		colontmpD__26.len = 0; colontmpD__26.p = NIM_NIL;
		tags_1.len = 0; tags_1.p = NIM_NIL;
		colontmpD__27.len = 0; colontmpD__27.p = NIM_NIL;
		colontmpD__28.len = 0; colontmpD__28.p = NIM_NIL;
		nimbleCommits_1 = collectNimbleVersions__dependencies_u21((&(*nc_p0)), (*pkg_p1));
		if (NIM_UNLIKELY(*nimErr_)) goto LA115_;
		colontmpD__25 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
		if (NIM_UNLIKELY(*nimErr_)) goto LA115_;
		T116_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_197;
		colontmpD__26 = dollar___dependencies_u5224(explicitVersions_p3);
		if (NIM_UNLIKELY(*nimErr_)) goto LA115_;
		T116_[1] = colontmpD__26;
		debug__basicZgitops_u1174(colontmpD__25, T116_, 2);
		if (NIM_UNLIKELY(*nimErr_)) goto LA115_;
		{
			tyObject_VersionTag__io9bcihbopiwucKorobyKdg* version_3;
			NI i_3;
			NI L_4;
			NI T118_;
			version_3 = (tyObject_VersionTag__io9bcihbopiwucKorobyKdg*)0;
			i_3 = ((NI)0);
			T118_ = explicitVersions_p3.len;
			L_4 = T118_;
			{
				while (1) {
					NimStringV2 colontmpD__29;
					tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA colontmpD__30;
					tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA colontmpD__31;
					if (!(i_3 < L_4)) goto LA120;
					colontmpD__29.len = 0; colontmpD__29.p = NIM_NIL;
					nimZeroMem((void*)(&colontmpD__30), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
					nimZeroMem((void*)(&colontmpD__31), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
					if (i_3 < 0 || i_3 >= explicitVersions_p3.len){ raiseIndexError2(i_3,explicitVersions_p3.len-1); goto LA121_;
					}
					version_3 = (&explicitVersions_p3.p->data[i_3]);
					{
						NIM_BOOL T124_;
						NIM_BOOL T125_;
						NIM_BOOL T127_;
						NIM_BOOL T129_;
						tyObject_VersionTag__io9bcihbopiwucKorobyKdg vtag_4;
						tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA colontmpD__32;
						tyObject_VersionTag__io9bcihbopiwucKorobyKdg T133_;
						NIM_BOOL T139_;
						T124_ = (NIM_BOOL)0;
						T125_ = (NIM_BOOL)0;
						colontmpD__29 = version__basicZversions_u196((&(*version_3)));
						if (NIM_UNLIKELY(*nimErr_)) goto LA121_;
						T125_ = eqeq___basicZversions_u359(colontmpD__29, TM__C9cmKYCNdBkg6KCWDBOEmkg_199);
						if (NIM_UNLIKELY(*nimErr_)) goto LA121_;
						if (!(T125_)) goto LA126_;
						colontmpD__30 = commit__basicZversions_u193((&(*version_3)));
						if (NIM_UNLIKELY(*nimErr_)) goto LA121_;
						T127_ = (NIM_BOOL)0;
						T127_ = isEmpty__basicZversions_u133(colontmpD__30);
						if (NIM_UNLIKELY(*nimErr_)) goto LA121_;
						T125_ = !(T127_);
LA126_: ;
						T124_ = T125_;
						if (!(T124_)) goto LA128_;
						colontmpD__31 = commit__basicZversions_u193((&(*version_3)));
						if (NIM_UNLIKELY(*nimErr_)) goto LA121_;
						T129_ = (NIM_BOOL)0;
						T129_ = containsOrIncl__dependencies_u6789((&uniqueCommits_2), colontmpD__31);
						if (NIM_UNLIKELY(*nimErr_)) goto LA121_;
						T124_ = !(T129_);
LA128_: ;
						if (!T124_) goto LA130_;
						nimZeroMem((void*)(&vtag_4), sizeof(tyObject_VersionTag__io9bcihbopiwucKorobyKdg));
						nimZeroMem((void*)(&colontmpD__32), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
						nimZeroMem((void*)(&T133_), sizeof(tyObject_VersionTag__io9bcihbopiwucKorobyKdg));
						T133_.v = TM__C9cmKYCNdBkg6KCWDBOEmkg_200;
						T133_.c = commit__basicZversions_u193((&(*version_3)));
						if (NIM_UNLIKELY(*nimErr_)) goto LA132_;
						vtag_4 = T133_;
						{
							tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA colontmpD__33;
							NimStringV2 colontmpD__34;
							NimStringV2 colontmpD__35;
							NimStringV2 T138_;
							colontmpD__32 = commit__basicZversions_u193((&vtag_4));
							if (NIM_UNLIKELY(*nimErr_)) goto LA132_;
							if (!!((colontmpD__32.orig == ((tyEnum_CommitOrigin__tDM8mWEQT3dZtKoOj7Mgww)3)))) goto LA136_;
							nimZeroMem((void*)(&colontmpD__33), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
							colontmpD__34.len = 0; colontmpD__34.p = NIM_NIL;
							colontmpD__35.len = 0; colontmpD__35.p = NIM_NIL;
							T138_.len = 0; T138_.p = NIM_NIL;
							colontmpD__33 = commit__basicZversions_u193((&vtag_4));
							if (NIM_UNLIKELY(*nimErr_)) goto LA132_;
							colontmpD__34 = dollar___basicZversions_u48(colontmpD__33.orig);
							T138_ = rawNewString(colontmpD__34.len + 102);
appendString((&T138_), TM__C9cmKYCNdBkg6KCWDBOEmkg_202);
appendString((&T138_), colontmpD__34);
							colontmpD__35 = T138_;
							failedAssertImpl__stdZassertions_u95(colontmpD__35);
							if (NIM_UNLIKELY(*nimErr_)) goto LA132_;
							if (colontmpD__35.p && !(colontmpD__35.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__35.p);
}
							if (colontmpD__34.p && !(colontmpD__34.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__34.p);
}
							eqdestroy___basicZversions_u111((&colontmpD__33));
						}
LA136_: ;
						T139_ = (NIM_BOOL)0;
						T139_ = addRelease__dependencies_u4305((&versions_1), nc_p0, (*pkg_p1), (&vtag_4), deferChildDeps_p4);
						if (NIM_UNLIKELY(*nimErr_)) goto LA132_;
						(void)(T139_);
						{
							LA132_:;
						}
						{
							eqdestroy___basicZversions_u111((&colontmpD__32));
							eqdestroy___basicZversions_u3509((&vtag_4));
						}
						if (NIM_UNLIKELY(*nimErr_)) goto LA121_;
					}
LA130_: ;
					i_3 += ((NI)1);
					{
						NI T144_;
						T144_ = explicitVersions_p3.len;
						if (!!((T144_ == L_4))) goto LA145_;
						failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_203);
						if (NIM_UNLIKELY(*nimErr_)) goto LA121_;
					}
LA145_: ;
					{
						LA121_:;
					}
					{
						eqdestroy___basicZversions_u111((&colontmpD__31));
						eqdestroy___basicZversions_u111((&colontmpD__30));
						if (colontmpD__29.p && !(colontmpD__29.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__29.p);
}
					}
					if (NIM_UNLIKELY(*nimErr_)) goto LA115_;
				} LA120: ;
			}
		}
		tags_1 = collectTaggedVersions__basicZgitops_u731((*(*pkg_p1)).ondisk, TM__C9cmKYCNdBkg6KCWDBOEmkg_204, ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)5), (*(*pkg_p1)).isLocalOnly);
		if (NIM_UNLIKELY(*nimErr_)) goto LA115_;
		colontmpD__27 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
		if (NIM_UNLIKELY(*nimErr_)) goto LA115_;
		T149_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_206;
		colontmpD__28 = dollar___dependencies_u5224(tags_1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA115_;
		T149_[1] = colontmpD__28;
		debug__basicZgitops_u1174(colontmpD__27, T149_, 2);
		if (NIM_UNLIKELY(*nimErr_)) goto LA115_;
		{
			tyObject_VersionTag__io9bcihbopiwucKorobyKdg* tag_1;
			NI i_4;
			NI L_5;
			NI T151_;
			tag_1 = (tyObject_VersionTag__io9bcihbopiwucKorobyKdg*)0;
			i_4 = ((NI)0);
			T151_ = tags_1.len;
			L_5 = T151_;
			{
				while (1) {
					if (!(i_4 < L_5)) goto LA153;
					if (i_4 < 0 || i_4 >= tags_1.len){ raiseIndexError2(i_4,tags_1.len-1); goto LA115_;
					}
					tag_1 = (&tags_1.p->data[i_4]);
					{
						NIM_BOOL T156_;
						tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA colontmpD__36;
						NIM_BOOL T160_;
						T156_ = (NIM_BOOL)0;
						T156_ = containsOrIncl__dependencies_u6789((&uniqueCommits_2), (*tag_1).c);
						if (NIM_UNLIKELY(*nimErr_)) goto LA115_;
						if (!!(T156_)) goto LA157_;
						nimZeroMem((void*)(&colontmpD__36), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
						T160_ = (NIM_BOOL)0;
						T160_ = addRelease__dependencies_u4305((&versions_1), nc_p0, (*pkg_p1), (&(*tag_1)), deferChildDeps_p4);
						if (NIM_UNLIKELY(*nimErr_)) goto LA159_;
						(void)(T160_);
						{
							tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA colontmpD__37;
							NimStringV2 colontmpD__38;
							NimStringV2 colontmpD__39;
							NimStringV2 T165_;
							colontmpD__36 = commit__basicZversions_u193((&(*tag_1)));
							if (NIM_UNLIKELY(*nimErr_)) goto LA159_;
							if (!!((colontmpD__36.orig == ((tyEnum_CommitOrigin__tDM8mWEQT3dZtKoOj7Mgww)2)))) goto LA163_;
							nimZeroMem((void*)(&colontmpD__37), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
							colontmpD__38.len = 0; colontmpD__38.p = NIM_NIL;
							colontmpD__39.len = 0; colontmpD__39.p = NIM_NIL;
							T165_.len = 0; T165_.p = NIM_NIL;
							colontmpD__37 = commit__basicZversions_u193((&(*tag_1)));
							if (NIM_UNLIKELY(*nimErr_)) goto LA159_;
							colontmpD__38 = dollar___basicZversions_u48(colontmpD__37.orig);
							T165_ = rawNewString(colontmpD__38.len + 104);
appendString((&T165_), TM__C9cmKYCNdBkg6KCWDBOEmkg_208);
appendString((&T165_), colontmpD__38);
							colontmpD__39 = T165_;
							failedAssertImpl__stdZassertions_u95(colontmpD__39);
							if (NIM_UNLIKELY(*nimErr_)) goto LA159_;
							if (colontmpD__39.p && !(colontmpD__39.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__39.p);
}
							if (colontmpD__38.p && !(colontmpD__38.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__38.p);
}
							eqdestroy___basicZversions_u111((&colontmpD__37));
						}
LA163_: ;
						{
							LA159_:;
						}
						{
							eqdestroy___basicZversions_u111((&colontmpD__36));
						}
						if (NIM_UNLIKELY(*nimErr_)) goto LA115_;
					}
LA157_: ;
					i_4 += ((NI)1);
					{
						NI T170_;
						T170_ = tags_1.len;
						if (!!((T170_ == L_5))) goto LA171_;
						failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_209);
						if (NIM_UNLIKELY(*nimErr_)) goto LA115_;
					}
LA171_: ;
				} LA153: ;
			}
		}
		{
			NIM_BOOL T175_;
			NI T176_;
			tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ* T178_;
			NimStringV2 colontmpD__40;
			NimStringV2 colontmpD__41;
			tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T187_;
			T175_ = (NIM_BOOL)0;
			T176_ = tags_1.len;
			T175_ = (T176_ == ((NI)0));
			if (T175_) goto LA177_;
			T178_ = (tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ*)0;
			T178_ = context__basicZcontext_u319();
			if (NIM_UNLIKELY(*nimErr_)) goto LA115_;
			T175_ = (((*T178_).flags &((NU32)1<<((NU)((((tyEnum_Flag__YJpVNZDPDp9bqb0qWHXEQFw)21)))&31U)))!=0);
LA177_: ;
			if (!T175_) goto LA179_;
			colontmpD__40.len = 0; colontmpD__40.p = NIM_NIL;
			colontmpD__41.len = 0; colontmpD__41.p = NIM_NIL;
			{
				tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ* T184_;
				T184_ = (tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ*)0;
				T184_ = context__basicZcontext_u319();
				if (NIM_UNLIKELY(*nimErr_)) goto LA181_;
				if (!(((*T184_).flags &((NU32)1<<((NU)((((tyEnum_Flag__YJpVNZDPDp9bqb0qWHXEQFw)22)))&31U)))!=0)) goto LA185_;
				reverse__dependencies_u39(((nimbleCommits_1).p) ? (nimbleCommits_1.p->data) : NIM_NIL, nimbleCommits_1.len);
				if (NIM_UNLIKELY(*nimErr_)) goto LA181_;
			}
LA185_: ;
			colontmpD__40 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
			if (NIM_UNLIKELY(*nimErr_)) goto LA181_;
			T187_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_211;
			colontmpD__41 = dollar___dependencies_u5224(nimbleCommits_1);
			if (NIM_UNLIKELY(*nimErr_)) goto LA181_;
			T187_[1] = colontmpD__41;
			debug__basicZgitops_u1174(colontmpD__40, T187_, 2);
			if (NIM_UNLIKELY(*nimErr_)) goto LA181_;
			{
				tyObject_VersionTag__io9bcihbopiwucKorobyKdg* tag_2;
				NI i_5;
				NI L_6;
				NI T189_;
				tag_2 = (tyObject_VersionTag__io9bcihbopiwucKorobyKdg*)0;
				i_5 = ((NI)0);
				T189_ = nimbleCommits_1.len;
				L_6 = T189_;
				{
					while (1) {
						if (!(i_5 < L_6)) goto LA191;
						if (i_5 < 0 || i_5 >= nimbleCommits_1.len){ raiseIndexError2(i_5,nimbleCommits_1.len-1); goto LA181_;
						}
						tag_2 = (&nimbleCommits_1.p->data[i_5]);
						{
							NIM_BOOL T194_;
							tySequence__fUCMBHW75OZPJePoPhOXNA vers_1;
							NIM_BOOL added_1;
							T194_ = (NIM_BOOL)0;
							T194_ = containsOrIncl__dependencies_u6789((&uniqueCommits_2), (*tag_2).c);
							if (NIM_UNLIKELY(*nimErr_)) goto LA181_;
							if (!!(T194_)) goto LA195_;
							vers_1.len = 0; vers_1.p = NIM_NIL;
							vers_1.len = 0; vers_1.p = NIM_NIL;
							added_1 = addRelease__dependencies_u4305((&vers_1), nc_p0, (*pkg_p1), (&(*tag_2)), deferChildDeps_p4);
							if (NIM_UNLIKELY(*nimErr_)) goto LA197_;
							{
								NIM_BOOL T200_;
								NIM_BOOL T202_;
								T200_ = (NIM_BOOL)0;
								T200_ = added_1;
								if (!(T200_)) goto LA201_;
								if (((NI)0) < 0 || ((NI)0) >= vers_1.len){ raiseIndexError2(((NI)0),vers_1.len-1); goto LA197_;
								}
								T202_ = (NIM_BOOL)0;
								T202_ = containsOrIncl__dependencies_u7070((&nimbleVersions_1), (*vers_1.p->data[((NI)0)].Field0).vtag.v);
								if (NIM_UNLIKELY(*nimErr_)) goto LA197_;
								T200_ = !(T202_);
LA201_: ;
								if (!T200_) goto LA203_;
								add__dependencies_u8527((&versions_1), ((vers_1).p) ? (vers_1.p->data) : NIM_NIL, vers_1.len);
							}
LA203_: ;
							{
								LA197_:;
							}
							{
								eqdestroy___dependencies_u12042(vers_1);
							}
							if (NIM_UNLIKELY(*nimErr_)) goto LA181_;
						}
						goto LA192_;
LA195_: ;
						{
							NimStringV2 colontmpD__42;
							NimStringV2 colontmpD__43;
							NimStringV2 colontmpD__44;
							NimStringV2 colontmpD__45;
							tyArray__A2YC0h9cZydgH7zGAndH9bLg T209_;
							NIM_BOOL T210_;
							NIM_BOOL T211_;
							colontmpD__42.len = 0; colontmpD__42.p = NIM_NIL;
							colontmpD__43.len = 0; colontmpD__43.p = NIM_NIL;
							colontmpD__44.len = 0; colontmpD__44.p = NIM_NIL;
							colontmpD__45.len = 0; colontmpD__45.p = NIM_NIL;
							colontmpD__42 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
							if (NIM_UNLIKELY(*nimErr_)) goto LA208_;
							T209_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_213;
							colontmpD__43 = dollar___basicZversions_u187((&(*tag_2)));
							if (NIM_UNLIKELY(*nimErr_)) goto LA208_;
							T209_[1] = colontmpD__43;
							T209_[2] = TM__C9cmKYCNdBkg6KCWDBOEmkg_215;
							T210_ = (NIM_BOOL)0;
							T210_ = contains__dependencies_u8682(uniqueCommits_2, (*tag_2).c);
							if (NIM_UNLIKELY(*nimErr_)) goto LA208_;
							colontmpD__44 = nimBoolToStr(T210_);
							T209_[3] = colontmpD__44;
							T209_[4] = TM__C9cmKYCNdBkg6KCWDBOEmkg_217;
							T211_ = (NIM_BOOL)0;
							T211_ = contains__dependencies_u8755(nimbleVersions_1, (*tag_2).v);
							if (NIM_UNLIKELY(*nimErr_)) goto LA208_;
							colontmpD__45 = nimBoolToStr(T211_);
							T209_[5] = colontmpD__45;
							error__basicZconfigutils_u107(colontmpD__42, T209_, 6);
							if (NIM_UNLIKELY(*nimErr_)) goto LA208_;
							{
								LA208_:;
							}
							{
								if (colontmpD__45.p && !(colontmpD__45.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__45.p);
}
								if (colontmpD__44.p && !(colontmpD__44.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__44.p);
}
								if (colontmpD__43.p && !(colontmpD__43.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__43.p);
}
								if (colontmpD__42.p && !(colontmpD__42.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__42.p);
}
							}
							if (NIM_UNLIKELY(*nimErr_)) goto LA181_;
						}
LA192_: ;
						i_5 += ((NI)1);
						{
							NI T216_;
							T216_ = nimbleCommits_1.len;
							if (!!((T216_ == L_6))) goto LA217_;
							failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_218);
							if (NIM_UNLIKELY(*nimErr_)) goto LA181_;
						}
LA217_: ;
					} LA191: ;
				}
			}
			{
				LA181_:;
			}
			{
				if (colontmpD__41.p && !(colontmpD__41.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__41.p);
}
				if (colontmpD__40.p && !(colontmpD__40.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__40.p);
}
			}
			if (NIM_UNLIKELY(*nimErr_)) goto LA115_;
		}
LA179_: ;
		{
			NI T223_;
			tyObject_VersionTag__io9bcihbopiwucKorobyKdg vtag_5;
			NimStringV2 colontmpD__46;
			tyArray__dyW7vpmfeTYw8kX3EXuaJA T227_;
			NIM_BOOL T228_;
			T223_ = versions_1.len;
			if (!(T223_ == ((NI)0))) goto LA224_;
			nimZeroMem((void*)(&vtag_5), sizeof(tyObject_VersionTag__io9bcihbopiwucKorobyKdg));
			colontmpD__46.len = 0; colontmpD__46.p = NIM_NIL;
			nimZeroMem((void*)(&vtag_5), sizeof(tyObject_VersionTag__io9bcihbopiwucKorobyKdg));
			vtag_5.v = TM__C9cmKYCNdBkg6KCWDBOEmkg_219;
			vtag_5.c = initCommitHash__basicZversions_u129(currentCommit_1, ((tyEnum_CommitOrigin__tDM8mWEQT3dZtKoOj7Mgww)1));
			if (NIM_UNLIKELY(*nimErr_)) goto LA226_;
			colontmpD__46 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
			if (NIM_UNLIKELY(*nimErr_)) goto LA226_;
			T227_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_221;
			T227_[1] = TM__C9cmKYCNdBkg6KCWDBOEmkg_223;
			T227_[2] = (*(*pkg_p1)).ondisk;
			debug__basicZgitops_u1174(colontmpD__46, T227_, 3);
			if (NIM_UNLIKELY(*nimErr_)) goto LA226_;
			T228_ = (NIM_BOOL)0;
			T228_ = addRelease__dependencies_u4305((&versions_1), nc_p0, (*pkg_p1), (&vtag_5), deferChildDeps_p4);
			if (NIM_UNLIKELY(*nimErr_)) goto LA226_;
			(void)(T228_);
			{
				LA226_:;
			}
			{
				if (colontmpD__46.p && !(colontmpD__46.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__46.p);
}
				eqdestroy___basicZversions_u3509((&vtag_5));
			}
			if (NIM_UNLIKELY(*nimErr_)) goto LA115_;
		}
LA224_: ;
		{
			LA115_:;
		}
		{
			if (colontmpD__28.p && !(colontmpD__28.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__28.p);
}
			if (colontmpD__27.p && !(colontmpD__27.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__27.p);
}
			eqdestroy___basicZversions_u4782(tags_1);
			if (colontmpD__26.p && !(colontmpD__26.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__26.p);
}
			if (colontmpD__25.p && !(colontmpD__25.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__25.p);
}
			eqdestroy___basicZversions_u4782(nimbleCommits_1);
			eqdestroy___dependencies_u12147((&nimbleVersions_1));
			eqdestroy___dependencies_u12088((&uniqueCommits_2));
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA114_;
		{
			LA114_:;
		}
		{
			oldNimErrFin114_ = *nimErr_; *nimErr_ = NIM_FALSE;
			{
				NIM_BOOL T237_;
				NimStringV2 colontmpD__47;
				NimStringV2 colontmpD__48;
				tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T241_;
				T237_ = (NIM_BOOL)0;
				T237_ = checkoutGitCommit__basicZgitops_u1065((*(*pkg_p1)).ondisk, currentCommit_1, ((tyEnum_MsgKind__rc8l2U8dFSLHl1b1Uls9brw)2));
				if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
				if (!!(T237_)) goto LA238_;
				colontmpD__47.len = 0; colontmpD__47.p = NIM_NIL;
				colontmpD__48.len = 0; colontmpD__48.p = NIM_NIL;
				colontmpD__47 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
				if (NIM_UNLIKELY(*nimErr_)) goto LA240_;
				T241_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_225;
				colontmpD__48 = dollar___basicZversions_u73(currentCommit_1);
				if (NIM_UNLIKELY(*nimErr_)) goto LA240_;
				T241_[1] = colontmpD__48;
				info__basicZparse95requires_u40(colontmpD__47, T241_, 2);
				if (NIM_UNLIKELY(*nimErr_)) goto LA240_;
				{
					LA240_:;
				}
				{
					if (colontmpD__48.p && !(colontmpD__48.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__48.p);
}
					if (colontmpD__47.p && !(colontmpD__47.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__47.p);
}
				}
				if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
			}
LA238_: ;
			*nimErr_ = oldNimErrFin114_;
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
	break;
	default: __builtin_unreachable();
	}
	{
		tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg** ver_2;
		tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw** rel_1;
		NI i_6;
		NI L_7;
		NI T245_;
		ver_2 = (tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg**)0;
		rel_1 = (tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw**)0;
		i_6 = ((NI)0);
		T245_ = versions_1.len;
		L_7 = T245_;
		{
			while (1) {
				if (!(i_6 < L_7)) goto LA247;
				if (i_6 < 0 || i_6 >= versions_1.len){ raiseIndexError2(i_6,versions_1.len-1); goto LA1_;
				}
				ver_2 = &versions_1.p->data[i_6].Field0;
				if (i_6 < 0 || i_6 >= versions_1.len){ raiseIndexError2(i_6,versions_1.len-1); goto LA1_;
				}
				rel_1 = &versions_1.p->data[i_6].Field1;
				{
					NIM_BOOL T250_;
					tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* colontmpD__49;
					T250_ = (NIM_BOOL)0;
					T250_ = contains__dependencies_u8875(uniqueReleases_1, (*rel_1));
					if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
					if (!!(T250_)) goto LA251_;
					colontmpD__49 = eqdup___basicZdeptypes_u1638((*rel_1));
					X5BX5Deq___dependencies_u9358((&uniqueReleases_1), (*rel_1), colontmpD__49);
					if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
				}
				goto LA248_;
LA251_: ;
				{
					NimStringV2 colontmpD__50;
					NimStringV2 colontmpD__51;
					tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T255_;
					colontmpD__50.len = 0; colontmpD__50.p = NIM_NIL;
					colontmpD__51.len = 0; colontmpD__51.p = NIM_NIL;
					colontmpD__50 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
					if (NIM_UNLIKELY(*nimErr_)) goto LA254_;
					T255_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_227;
					colontmpD__51 = dollar___basicZversions_u187((&(*(*ver_2)).vtag));
					if (NIM_UNLIKELY(*nimErr_)) goto LA254_;
					T255_[1] = colontmpD__51;
					trace__basicZgitops_u1126(colontmpD__50, T255_, 2);
					if (NIM_UNLIKELY(*nimErr_)) goto LA254_;
					{
						LA254_:;
					}
					{
						if (colontmpD__51.p && !(colontmpD__51.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__51.p);
}
						if (colontmpD__50.p && !(colontmpD__50.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__50.p);
}
					}
					if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
				}
LA248_: ;
				i_6 += ((NI)1);
				{
					NI T260_;
					T260_ = versions_1.len;
					if (!!((T260_ == L_7))) goto LA261_;
					failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_228);
					if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
				}
LA261_: ;
			} LA247: ;
		}
	}
	colontmpD__2 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T263_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_230;
	T264_.len = 0; T264_.p = NIM_NIL;
	{
		tySequence__qiQB9aYg1ebSgh2i1rl2apg colontmp__1;
		tySequence__qiQB9aYg1ebSgh2i1rl2apg resultX60gensym133__1;
		tySequence__sM4lkSb7zS6F7OVMvW9cffQ resultX60gensym134__1;
		NI iX60gensym134__1;
		NI T281_;
		colontmp__1.len = 0; colontmp__1.p = NIM_NIL;
		resultX60gensym133__1.len = 0; resultX60gensym133__1.p = NIM_NIL;
		resultX60gensym134__1.len = 0; resultX60gensym134__1.p = NIM_NIL;
		resultX60gensym133__1.len = 0; resultX60gensym133__1.p = (tySequence__qiQB9aYg1ebSgh2i1rl2apg_Content*) newSeqPayload(0, sizeof(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw*), NIM_ALIGNOF(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw*));
		{
			tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw** xX60gensym133__1;
			NI L_8;
			xX60gensym133__1 = (tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw**)0;
			L_8 = len__dependencies_u10513(uniqueReleases_1);
			if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
			{
				NI h_2;
				NI colontmp__2;
				NI T268_;
				NI res_1;
				h_2 = (NI)0;
				colontmp__2 = (NI)0;
				T268_ = (uniqueReleases_1.data.len-1);
				colontmp__2 = T268_;
				res_1 = ((NI)0);
				{
					while (1) {
						NI TM__C9cmKYCNdBkg6KCWDBOEmkg_233;
						if (!(res_1 <= colontmp__2)) goto LA270;
						h_2 = ((NI) (res_1));
						{
							NIM_BOOL T273_;
							tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* colontmpD__52;
							if (h_2 < 0 || h_2 >= uniqueReleases_1.data.len){ raiseIndexError2(h_2,uniqueReleases_1.data.len-1); goto LA1_;
							}
							T273_ = (NIM_BOOL)0;
							T273_ = isFilled__pureZcollectionsZtables_u31(uniqueReleases_1.data.p->data[h_2].Field0);
							if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
							if (!T273_) goto LA274_;
							if (h_2 < 0 || h_2 >= uniqueReleases_1.data.len){ raiseIndexError2(h_2,uniqueReleases_1.data.len-1); goto LA1_;
							}
							xX60gensym133__1 = &uniqueReleases_1.data.p->data[h_2].Field2;
							colontmpD__52 = eqdup___basicZdeptypes_u1638((*xX60gensym133__1));
							add__dependencies_u4914((&resultX60gensym133__1), colontmpD__52);
							{
								NI T278_;
								T278_ = (NI)0;
								T278_ = len__dependencies_u10513(uniqueReleases_1);
								if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
								if (!!((T278_ == L_8))) goto LA279_;
								failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_232);
								if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
							}
LA279_: ;
						}
LA274_: ;
						if (nimAddInt(res_1, ((NI)1), &TM__C9cmKYCNdBkg6KCWDBOEmkg_233)) { raiseOverflow(); goto LA1_;
						};
						res_1 = (NI)(TM__C9cmKYCNdBkg6KCWDBOEmkg_233);
					} LA270: ;
				}
			}
		}
		colontmp__1 = resultX60gensym133__1;
		iX60gensym134__1 = ((NI)0);
		T281_ = colontmp__1.len;
		if ((T281_) < ((NI)0) || (T281_) > ((NI)IL64(9223372036854775807))){ raiseRangeErrorI(T281_, ((NI)0), ((NI)IL64(9223372036854775807))); goto LA1_;
		}
		resultX60gensym134__1 = newSeq__stdZsyncio_u578((T281_));
		{
			tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw** it_1;
			NI i_7;
			NI L_9;
			NI T283_;
			it_1 = (tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw**)0;
			i_7 = ((NI)0);
			T283_ = colontmp__1.len;
			L_9 = T283_;
			{
				while (1) {
					NimStringV2 T286_;
					NI TM__C9cmKYCNdBkg6KCWDBOEmkg_234;
					if (!(i_7 < L_9)) goto LA285;
					if (i_7 < 0 || i_7 >= colontmp__1.len){ raiseIndexError2(i_7,colontmp__1.len-1); goto LA1_;
					}
					it_1 = &colontmp__1.p->data[i_7];
					if (iX60gensym134__1 < 0 || iX60gensym134__1 >= resultX60gensym134__1.len){ raiseIndexError2(iX60gensym134__1,resultX60gensym134__1.len-1); goto LA1_;
					}
					T286_.len = 0; T286_.p = NIM_NIL;
					T286_ = dollar___basicZversions_u52((*(*it_1)).version);
					if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T286_); goto LA1_;}
					eqsink___system_u2760((&resultX60gensym134__1.p->data[iX60gensym134__1]), T286_);
					if (nimAddInt(iX60gensym134__1, ((NI)1), &TM__C9cmKYCNdBkg6KCWDBOEmkg_234)) { raiseOverflow(); goto LA1_;
					};
					iX60gensym134__1 = (NI)(TM__C9cmKYCNdBkg6KCWDBOEmkg_234);
					i_7 += ((NI)1);
					{
						NI T289_;
						T289_ = colontmp__1.len;
						if (!!((T289_ == L_9))) goto LA290_;
						failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_235);
						if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
					}
LA290_: ;
				} LA285: ;
			}
		}
		colontmpD__3 = resultX60gensym134__1;
		eqdestroy___dependencies_u4980(colontmp__1);
		T264_ = colontmpD__3;
	}
	colontmpD__4 = nsuJoinSep(((T264_).p) ? (T264_.p->data) : NIM_NIL, T264_.len, TM__C9cmKYCNdBkg6KCWDBOEmkg_236);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T263_[1] = colontmpD__4;
	info__basicZparse95requires_u40(colontmpD__2, T263_, 2);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg** ver_3;
		tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw** rel_2;
		NI i_8;
		NI L_10;
		NI T293_;
		ver_3 = (tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg**)0;
		rel_2 = (tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw**)0;
		i_8 = ((NI)0);
		T293_ = versions_1.len;
		L_10 = T293_;
		{
			while (1) {
				tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* colontmpD__53;
				tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw** T331_;
				if (!(i_8 < L_10)) goto LA295;
				if (i_8 < 0 || i_8 >= versions_1.len){ raiseIndexError2(i_8,versions_1.len-1); goto LA1_;
				}
				ver_3 = &versions_1.p->data[i_8].Field0;
				if (i_8 < 0 || i_8 >= versions_1.len){ raiseIndexError2(i_8,versions_1.len-1); goto LA1_;
				}
				rel_2 = &versions_1.p->data[i_8].Field1;
				{
					NIM_BOOL T298_;
					NimStringV2 colontmpD__54;
					NimStringV2 colontmpD__55;
					NimStringV2 colontmpD__56;
					NimStringV2 colontmpD__57;
					NimStringV2 colontmpD__58;
					NimStringV2 colontmpD__59;
					NimStringV2 colontmpD__60;
					NimStringV2 colontmpD__61;
					NimStringV2 colontmpD__62;
					NimStringV2 colontmpD__63;
					tySequence__vOapjTAdumLxjw75U33DNg resultX60gensym156__1;
					NimStringV2 colontmpD__64;
					tyArray__Seu7uK9aaOSN0BK3EAjjSHw T303_;
					NimStringV2 T304_;
					tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T305_;
					tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw** T306_;
					NimStringV2 T307_;
					tyArray__A2YC0h9cZydgH7zGAndH9bLg T308_;
					tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw** T309_;
					NimStringV2 T310_;
					tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T311_;
					T298_ = (NIM_BOOL)0;
					T298_ = !((mode_p2 == ((tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw)1)));
					if (!(T298_)) goto LA299_;
					T298_ = contains__dependencies_u10869((&(*(*pkg_p1)).versions), (*ver_3));
					if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
LA299_: ;
					if (!T298_) goto LA300_;
					colontmpD__54.len = 0; colontmpD__54.p = NIM_NIL;
					colontmpD__55.len = 0; colontmpD__55.p = NIM_NIL;
					colontmpD__56.len = 0; colontmpD__56.p = NIM_NIL;
					colontmpD__57.len = 0; colontmpD__57.p = NIM_NIL;
					colontmpD__58.len = 0; colontmpD__58.p = NIM_NIL;
					colontmpD__59.len = 0; colontmpD__59.p = NIM_NIL;
					colontmpD__60.len = 0; colontmpD__60.p = NIM_NIL;
					colontmpD__61.len = 0; colontmpD__61.p = NIM_NIL;
					colontmpD__62.len = 0; colontmpD__62.p = NIM_NIL;
					colontmpD__63.len = 0; colontmpD__63.p = NIM_NIL;
					resultX60gensym156__1.len = 0; resultX60gensym156__1.p = NIM_NIL;
					colontmpD__64.len = 0; colontmpD__64.p = NIM_NIL;
					colontmpD__54 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
					if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
					T303_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_238;
					colontmpD__55 = dollar___basicZversions_u187((&(*(*ver_3)).vtag));
					if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
					T303_[1] = colontmpD__55;
					T303_[2] = TM__C9cmKYCNdBkg6KCWDBOEmkg_240;
					colontmpD__56 = repr__dependencies_u10935((*rel_2));
					if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
					T303_[3] = colontmpD__56;
					error__basicZconfigutils_u107(colontmpD__54, T303_, 4);
					if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
					colontmpD__57 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
					if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
					T304_.len = 0; T304_.p = NIM_NIL;
					T304_ = colontmpD__57;
					T305_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_242;
					T306_ = (tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw**)0;
					T306_ = X5BX5D___basicZdeptypes_u621((&(*(*pkg_p1)).versions), (*ver_3));
					if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
					colontmpD__58 = repr__dependencies_u10935((*T306_));
					if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
					T305_[1] = colontmpD__58;
					error__basicZconfigutils_u107(T304_, T305_, 2);
					if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
					colontmpD__59 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
					if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
					T307_.len = 0; T307_.p = NIM_NIL;
					T307_ = colontmpD__59;
					T308_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_243;
					colontmpD__60 = dollar___basicZversions_u187((&(*(*ver_3)).vtag));
					if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
					T308_[1] = colontmpD__60;
					T308_[2] = TM__C9cmKYCNdBkg6KCWDBOEmkg_244;
					colontmpD__61 = repr__dependencies_u10935((*rel_2));
					if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
					T308_[3] = colontmpD__61;
					T308_[4] = TM__C9cmKYCNdBkg6KCWDBOEmkg_246;
					T309_ = (tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw**)0;
					T309_ = X5BX5D___basicZdeptypes_u621((&(*(*pkg_p1)).versions), (*ver_3));
					if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
					colontmpD__62 = repr__dependencies_u10935((*T309_));
					if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
					T308_[5] = colontmpD__62;
					error__basicZconfigutils_u107(T307_, T308_, 6);
					if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
					colontmpD__63 = projectName__basicZpkgurls_u35((&(*(*pkg_p1)).url));
					if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
					T310_.len = 0; T310_.p = NIM_NIL;
					T310_ = colontmpD__63;
					T311_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_248;
					resultX60gensym156__1.len = 0; resultX60gensym156__1.p = (tySequence__vOapjTAdumLxjw75U33DNg_Content*) newSeqPayload(0, sizeof(tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg*), NIM_ALIGNOF(tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg*));
					{
						tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg** xX60gensym156__1;
						NI L_11;
						xX60gensym156__1 = (tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg**)0;
						L_11 = len__basicZdeptypes_u1719((&(*(*pkg_p1)).versions));
						if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
						{
							NI h_3;
							if (!(((NI)0) < (*(*pkg_p1)).versions.counter)) goto LA315_;
							h_3 = (*(*pkg_p1)).versions.first;
							{
								while (1) {
									NI nxt_2;
									if (!(((NI)0) <= h_3)) goto LA318;
									if (h_3 < 0 || h_3 >= (*(*pkg_p1)).versions.data.len){ raiseIndexError2(h_3,(*(*pkg_p1)).versions.data.len-1); goto LA302_;
									}
									nxt_2 = (*(*pkg_p1)).versions.data.p->data[h_3].Field1;
									{
										NIM_BOOL T321_;
										tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* colontmpD__65;
										if (h_3 < 0 || h_3 >= (*(*pkg_p1)).versions.data.len){ raiseIndexError2(h_3,(*(*pkg_p1)).versions.data.len-1); goto LA302_;
										}
										T321_ = (NIM_BOOL)0;
										T321_ = isFilled__pureZcollectionsZtables_u31((*(*pkg_p1)).versions.data.p->data[h_3].Field0);
										if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
										if (!T321_) goto LA322_;
										if (h_3 < 0 || h_3 >= (*(*pkg_p1)).versions.data.len){ raiseIndexError2(h_3,(*(*pkg_p1)).versions.data.len-1); goto LA302_;
										}
										xX60gensym156__1 = &(*(*pkg_p1)).versions.data.p->data[h_3].Field2;
										colontmpD__65 = eqdup___basicZdeptypes_u154((*xX60gensym156__1));
										add__dependencies_u3435((&resultX60gensym156__1), colontmpD__65);
										{
											NI T326_;
											T326_ = (NI)0;
											T326_ = len__basicZdeptypes_u1719((&(*(*pkg_p1)).versions));
											if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
											if (!!((T326_ == L_11))) goto LA327_;
											failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_249);
											if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
										}
LA327_: ;
									}
LA322_: ;
									h_3 = nxt_2;
								} LA318: ;
							}
						}
LA315_: ;
					}
					colontmpD__64 = dollar___dependencies_u11780(resultX60gensym156__1);
					if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
					T311_[1] = colontmpD__64;
					error__basicZconfigutils_u107(T310_, T311_, 2);
					if (NIM_UNLIKELY(*nimErr_)) goto LA302_;
					{
						LA302_:;
					}
					{
						if (colontmpD__64.p && !(colontmpD__64.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__64.p);
}
						eqdestroy___dependencies_u3501(resultX60gensym156__1);
						if (colontmpD__63.p && !(colontmpD__63.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__63.p);
}
						if (colontmpD__62.p && !(colontmpD__62.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__62.p);
}
						if (colontmpD__61.p && !(colontmpD__61.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__61.p);
}
						if (colontmpD__60.p && !(colontmpD__60.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__60.p);
}
						if (colontmpD__59.p && !(colontmpD__59.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__59.p);
}
						if (colontmpD__58.p && !(colontmpD__58.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__58.p);
}
						if (colontmpD__57.p && !(colontmpD__57.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__57.p);
}
						if (colontmpD__56.p && !(colontmpD__56.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__56.p);
}
						if (colontmpD__55.p && !(colontmpD__55.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__55.p);
}
						if (colontmpD__54.p && !(colontmpD__54.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__54.p);
}
					}
					if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
				}
LA300_: ;
				T331_ = (tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw**)0;
				T331_ = X5BX5D___dependencies_u11881((&uniqueReleases_1), (*rel_2));
				if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
				colontmpD__53 = eqdup___basicZdeptypes_u1638((*T331_));
				X5BX5Deq___basicZdeptypesjson_u9465((&(*(*pkg_p1)).versions), (*ver_3), colontmpD__53);
				if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
				i_8 += ((NI)1);
				{
					NI T334_;
					T334_ = versions_1.len;
					if (!!((T334_ == L_10))) goto LA335_;
					failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_250);
					if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
				}
LA335_: ;
			} LA295: ;
		}
	}
	{
		NIM_BOOL T339_;
		T339_ = (NIM_BOOL)0;
		T339_ = (mode_p2 == ((tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw)1));
		if (!(T339_)) goto LA340_;
		T339_ = deferChildDeps_p4;
LA340_: ;
		if (!T339_) goto LA341_;
		filterToExplicitVersions__dependencies_u4368(pkg_p1, expandedExplicitVersions_1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA341_: ;
	(*(*pkg_p1)).state = ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)4);
	{
		NIM_BOOL T345_;
		tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ* T347_;
		NI T348_;
		T345_ = (NIM_BOOL)0;
		T345_ = (*(*pkg_p1)).isRoot;
		if (!(T345_)) goto LA346_;
		T347_ = (tyObject_AtlasContext__9b9cOM1bS6SdrgGAPmY5KTwQ*)0;
		T347_ = context__basicZcontext_u319();
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		T348_ = (NI)0;
		T348_ = len__basicZdeptypesjson_u836((*T347_).features);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		T345_ = (((NI)0) < T348_);
LA346_: ;
		if (!T345_) goto LA349_;
		addFeatureDependencies__dependencies_u2803((*pkg_p1));
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA349_: ;
	{
		LA1_:;
	}
	{
		if (colontmpD__4.p && !(colontmpD__4.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__4.p);
}
		eqdestroy___system_u5582(colontmpD__3);
		if (colontmpD__2.p && !(colontmpD__2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__2.p);
}
		eqdestroy___dependencies_u10731((&uniqueReleases_1));
		eqdestroy___basicZversions_u3509((&colontmpD_));
		eqdestroy___basicZversions_u111((&currentCommit_1));
		eqdestroy___basicZversions_u4782(expandedExplicitVersions_1);
		eqdestroy___dependencies_u12042(versions_1);
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___dependencies_u13450)(tySequence__QArEOQfUBBFe7voRs4vldw dest_p0) {
	NI colontmp_;
	colontmp_ = ((NI)0);
	{
		while (1) {
			NI T3_;
			T3_ = dest_p0.len;
			if (!(colontmp_ < T3_)) goto LA2;
			if (dest_p0.p->data[colontmp_].u.anchor.p && !(dest_p0.p->data[colontmp_].u.anchor.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(dest_p0.p->data[colontmp_].u.anchor.p);
}
			if (dest_p0.p->data[colontmp_].u.query.p && !(dest_p0.p->data[colontmp_].u.query.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(dest_p0.p->data[colontmp_].u.query.p);
}
			if (dest_p0.p->data[colontmp_].u.path.p && !(dest_p0.p->data[colontmp_].u.path.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(dest_p0.p->data[colontmp_].u.path.p);
}
			if (dest_p0.p->data[colontmp_].u.port.p && !(dest_p0.p->data[colontmp_].u.port.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(dest_p0.p->data[colontmp_].u.port.p);
}
			if (dest_p0.p->data[colontmp_].u.hostname.p && !(dest_p0.p->data[colontmp_].u.hostname.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(dest_p0.p->data[colontmp_].u.hostname.p);
}
			if (dest_p0.p->data[colontmp_].u.password.p && !(dest_p0.p->data[colontmp_].u.password.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(dest_p0.p->data[colontmp_].u.password.p);
}
			if (dest_p0.p->data[colontmp_].u.username.p && !(dest_p0.p->data[colontmp_].u.username.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(dest_p0.p->data[colontmp_].u.username.p);
}
			if (dest_p0.p->data[colontmp_].u.scheme.p && !(dest_p0.p->data[colontmp_].u.scheme.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(dest_p0.p->data[colontmp_].u.scheme.p);
}
			if (dest_p0.p->data[colontmp_].qualifiedName.Field0.p && !(dest_p0.p->data[colontmp_].qualifiedName.Field0.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(dest_p0.p->data[colontmp_].qualifiedName.Field0.p);
}
			if (dest_p0.p->data[colontmp_].qualifiedName.Field1.p && !(dest_p0.p->data[colontmp_].qualifiedName.Field1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(dest_p0.p->data[colontmp_].qualifiedName.Field1.p);
}
			if (dest_p0.p->data[colontmp_].qualifiedName.Field2.p && !(dest_p0.p->data[colontmp_].qualifiedName.Field2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(dest_p0.p->data[colontmp_].qualifiedName.Field2.p);
}
			colontmp_ += ((NI)1);
		} LA2: ;
	}
	if (dest_p0.p && !(dest_p0.p->cap & NIM_STRLIT_FLAG)) {
 alignedDealloc(dest_p0.p, NIM_ALIGNOF(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw));
}
}
N_LIB_PRIVATE N_NIMCALL(void, processPendingPackages__dependencies_u12294)(tyObject_DepGraph__i1RlFs3c9aTk9bK2vN5Pa2yw* graph_p0, tyObject_NimbleContext__4UNXx9ceXbsj5kR4Hz1gUgA* nc_p1, tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* root_p2, tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw traversalMode_p3, tyEnum_PackageAction__1qFgAZlMDpwVE7QkSV4rhg onClone_p4, NIM_BOOL deferChildDeps_p5) {
	NIM_BOOL processing_1;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	processing_1 = NIM_TRUE;
	{
		while (1) {
			tySequence__QArEOQfUBBFe7voRs4vldw pkgUrls_1;
			tySequence__QArEOQfUBBFe7voRs4vldw resultX60gensym166__1;
			tySequence__sM4lkSb7zS6F7OVMvW9cffQ initializingPkgs_1;
			tySequence__sM4lkSb7zS6F7OVMvW9cffQ processingPkgs_1;
			NimStringV2 colontmpD_;
			tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T58_;
			NI T59_;
			if (!processing_1) goto LA2;
			pkgUrls_1.len = 0; pkgUrls_1.p = NIM_NIL;
			resultX60gensym166__1.len = 0; resultX60gensym166__1.p = NIM_NIL;
			initializingPkgs_1.len = 0; initializingPkgs_1.p = NIM_NIL;
			processingPkgs_1.len = 0; processingPkgs_1.p = NIM_NIL;
			colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
			processing_1 = NIM_FALSE;
			resultX60gensym166__1.len = 0; resultX60gensym166__1.p = (tySequence__QArEOQfUBBFe7voRs4vldw_Content*) newSeqPayload(0, sizeof(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw), NIM_ALIGNOF(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw));
			{
				tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* xX60gensym166__1;
				NI L_1;
				xX60gensym166__1 = (tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw*)0;
				L_1 = len__basicZdepgraphtypes_u302((&(*nc_p1).packageToDependency));
				if (NIM_UNLIKELY(*nimErr_)) goto LA3_;
				{
					NI h_1;
					if (!(((NI)0) < (*nc_p1).packageToDependency.counter)) goto LA7_;
					h_1 = (*nc_p1).packageToDependency.first;
					{
						while (1) {
							NI nxt_1;
							if (!(((NI)0) <= h_1)) goto LA10;
							if (h_1 < 0 || h_1 >= (*nc_p1).packageToDependency.data.len){ raiseIndexError2(h_1,(*nc_p1).packageToDependency.data.len-1); goto LA3_;
							}
							nxt_1 = (*nc_p1).packageToDependency.data.p->data[h_1].Field1;
							{
								NIM_BOOL T13_;
								tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw colontmpD__2;
								tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw T16_;
								if (h_1 < 0 || h_1 >= (*nc_p1).packageToDependency.data.len){ raiseIndexError2(h_1,(*nc_p1).packageToDependency.data.len-1); goto LA3_;
								}
								T13_ = (NIM_BOOL)0;
								T13_ = isFilled__pureZcollectionsZtables_u31((*nc_p1).packageToDependency.data.p->data[h_1].Field0);
								if (NIM_UNLIKELY(*nimErr_)) goto LA3_;
								if (!T13_) goto LA14_;
								if (h_1 < 0 || h_1 >= (*nc_p1).packageToDependency.data.len){ raiseIndexError2(h_1,(*nc_p1).packageToDependency.data.len-1); goto LA3_;
								}
								xX60gensym166__1 = (&(*nc_p1).packageToDependency.data.p->data[h_1].Field2);
								nimZeroMem((void*)(&T16_), sizeof(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw));
								eqdup___basicZpkgurls_u267((&(*xX60gensym166__1)), (&T16_));
								colontmpD__2 = T16_;
								add__dependencies_u12594((&resultX60gensym166__1), (&colontmpD__2));
								{
									NI T19_;
									T19_ = (NI)0;
									T19_ = len__basicZdepgraphtypes_u302((&(*nc_p1).packageToDependency));
									if (NIM_UNLIKELY(*nimErr_)) goto LA3_;
									if (!!((T19_ == L_1))) goto LA20_;
									failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_20);
									if (NIM_UNLIKELY(*nimErr_)) goto LA3_;
								}
LA20_: ;
							}
LA14_: ;
							h_1 = nxt_1;
						} LA10: ;
					}
				}
LA7_: ;
			}
			pkgUrls_1 = resultX60gensym166__1;
			eqwasMoved___dependencies_u13447((&resultX60gensym166__1));
			initializingPkgs_1.len = 0; initializingPkgs_1.p = NIM_NIL;
			processingPkgs_1.len = 0; processingPkgs_1.p = NIM_NIL;
			{
				tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* pkgUrl_1;
				NI i_1;
				NI L_2;
				NI T23_;
				pkgUrl_1 = (tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw*)0;
				i_1 = ((NI)0);
				T23_ = pkgUrls_1.len;
				L_2 = T23_;
				{
					while (1) {
						tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* pkg_1;
						tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA** T27_;
						if (!(i_1 < L_2)) goto LA25;
						pkg_1 = NIM_NIL;
						if (i_1 < 0 || i_1 >= pkgUrls_1.len){ raiseIndexError2(i_1,pkgUrls_1.len-1); goto LA26_;
						}
						pkgUrl_1 = (&pkgUrls_1.p->data[i_1]);
						T27_ = (tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA**)0;
						T27_ = X5BX5D___basicZdeptypesjson_u14466((&(*nc_p1).packageToDependency), (&(*pkgUrl_1)));
						if (NIM_UNLIKELY(*nimErr_)) goto LA26_;
						eqcopy___basicZdepgraphtypes_u561(&pkg_1, (*T27_));
						switch ((*pkg_1).state) {
						case ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)0):
						{
							NimStringV2 T29_;
							T29_.len = 0; T29_.p = NIM_NIL;
							T29_ = projectName__basicZdeptypes_u195(pkg_1);
							if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T29_); goto LA26_;}
							add__stdZenumutils_u70((&initializingPkgs_1), T29_);
						}
						break;
						case ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)3):
						{
							NimStringV2 T31_;
							T31_.len = 0; T31_.p = NIM_NIL;
							T31_ = projectName__basicZdeptypes_u195(pkg_1);
							if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T31_); goto LA26_;}
							add__stdZenumutils_u70((&processingPkgs_1), T31_);
						}
						break;
						default:
						{
						}
						break;
						}
						i_1 += ((NI)1);
						{
							NI T35_;
							T35_ = pkgUrls_1.len;
							if (!!((T35_ == L_2))) goto LA36_;
							failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_22);
							if (NIM_UNLIKELY(*nimErr_)) goto LA26_;
						}
LA36_: ;
						{
							LA26_:;
						}
						{
							eqdestroy___basicZdepgraphtypes_u558(pkg_1);
						}
						if (NIM_UNLIKELY(*nimErr_)) goto LA3_;
					} LA25: ;
				}
			}
			{
				NI T42_;
				NimStringV2 colontmpD__3;
				NimStringV2 colontmpD__4;
				tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T46_;
				T42_ = initializingPkgs_1.len;
				if (!(((NI)0) < T42_)) goto LA43_;
				colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
				colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
				colontmpD__3 = projectName__basicZdeptypes_u195(root_p2);
				if (NIM_UNLIKELY(*nimErr_)) goto LA45_;
				T46_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_24;
				colontmpD__4 = nsuJoinSep(((initializingPkgs_1).p) ? (initializingPkgs_1.p->data) : NIM_NIL, initializingPkgs_1.len, TM__C9cmKYCNdBkg6KCWDBOEmkg_26);
				if (NIM_UNLIKELY(*nimErr_)) goto LA45_;
				T46_[1] = colontmpD__4;
				notice__basicZgitops_u1160(colontmpD__3, T46_, 2);
				if (NIM_UNLIKELY(*nimErr_)) goto LA45_;
				{
					LA45_:;
				}
				{
					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 LA3_;
			}
LA43_: ;
			{
				NI T51_;
				NimStringV2 colontmpD__5;
				NimStringV2 colontmpD__6;
				tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T55_;
				T51_ = processingPkgs_1.len;
				if (!(((NI)0) < T51_)) goto LA52_;
				colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL;
				colontmpD__6.len = 0; colontmpD__6.p = NIM_NIL;
				colontmpD__5 = projectName__basicZdeptypes_u195(root_p2);
				if (NIM_UNLIKELY(*nimErr_)) goto LA54_;
				T55_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_28;
				colontmpD__6 = nsuJoinSep(((processingPkgs_1).p) ? (processingPkgs_1.p->data) : NIM_NIL, processingPkgs_1.len, TM__C9cmKYCNdBkg6KCWDBOEmkg_29);
				if (NIM_UNLIKELY(*nimErr_)) goto LA54_;
				T55_[1] = colontmpD__6;
				notice__basicZgitops_u1160(colontmpD__5, T55_, 2);
				if (NIM_UNLIKELY(*nimErr_)) goto LA54_;
				{
					LA54_:;
				}
				{
					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 LA3_;
			}
LA52_: ;
			T58_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_33;
			T59_ = pkgUrls_1.len;
			colontmpD_ = dollar___systemZdollars_u14(T59_);
			if (NIM_UNLIKELY(*nimErr_)) goto LA3_;
			T58_[1] = colontmpD_;
			debug__basicZgitops_u1174(TM__C9cmKYCNdBkg6KCWDBOEmkg_31, T58_, 2);
			if (NIM_UNLIKELY(*nimErr_)) goto LA3_;
			{
				tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* pkgUrl_2;
				NI i_2;
				NI L_3;
				NI T61_;
				pkgUrl_2 = (tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw*)0;
				i_2 = ((NI)0);
				T61_ = pkgUrls_1.len;
				L_3 = T61_;
				{
					while (1) {
						tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* pkg_2;
						tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA** T65_;
						if (!(i_2 < L_3)) goto LA63;
						pkg_2 = NIM_NIL;
						if (i_2 < 0 || i_2 >= pkgUrls_1.len){ raiseIndexError2(i_2,pkgUrls_1.len-1); goto LA64_;
						}
						pkgUrl_2 = (&pkgUrls_1.p->data[i_2]);
						T65_ = (tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA**)0;
						T65_ = X5BX5D___basicZdeptypesjson_u14466((&(*nc_p1).packageToDependency), (&(*pkgUrl_2)));
						if (NIM_UNLIKELY(*nimErr_)) goto LA64_;
						eqcopy___basicZdepgraphtypes_u561(&pkg_2, (*T65_));
						switch ((*pkg_2).state) {
						case ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)0):
						case ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)2):
						{
							NimStringV2 colontmpD__7;
							NimStringV2 colontmpD__8;
							NimStringV2 colontmpD__9;
							NimStringV2 colontmpD__10;
							tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T68_;
							tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T69_;
							colontmpD__7.len = 0; colontmpD__7.p = NIM_NIL;
							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__7 = projectName__basicZdeptypes_u195(pkg_2);
							if (NIM_UNLIKELY(*nimErr_)) goto LA67_;
							T68_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_35;
							colontmpD__8 = dollar___basicZpkgurls_u47((&(*pkg_2).url));
							if (NIM_UNLIKELY(*nimErr_)) goto LA67_;
							T68_[1] = colontmpD__8;
							info__basicZparse95requires_u40(colontmpD__7, T68_, 2);
							if (NIM_UNLIKELY(*nimErr_)) goto LA67_;
							loadDependency__dependencies_u12207((&(*nc_p1)), &pkg_2, onClone_p4);
							if (NIM_UNLIKELY(*nimErr_)) goto LA67_;
							colontmpD__9 = projectName__basicZdeptypes_u195(pkg_2);
							if (NIM_UNLIKELY(*nimErr_)) goto LA67_;
							T69_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_79;
							colontmpD__10 = repr__dependencies_u12799(pkg_2);
							if (NIM_UNLIKELY(*nimErr_)) goto LA67_;
							T69_[1] = colontmpD__10;
							trace__basicZgitops_u1126(colontmpD__9, T69_, 2);
							if (NIM_UNLIKELY(*nimErr_)) goto LA67_;
							processing_1 = NIM_TRUE;
							{
								LA67_:;
							}
							{
								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 (colontmpD__7.p && !(colontmpD__7.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__7.p);
}
							}
							if (NIM_UNLIKELY(*nimErr_)) goto LA64_;
						}
						break;
						case ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)1):
						{
							{
								NIM_BOOL T75_;
								tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* colontmpD__11;
								tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA colontmpD__12;
								tyObject_PackageVersioncolonObjectType___nkWxN1qoImjRSFLA34DlGg* colontmpD__13;
								tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* colontmpD__14;
								NimStringV2 colontmpD__15;
								NimStringV2 colontmpD__16;
								tyObject_VersionTag__io9bcihbopiwucKorobyKdg T79_;
								tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw* T80_;
								tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T81_;
								T75_ = (NIM_BOOL)0;
								T75_ = contains__basicZdepgraphtypes_u2170((&(*graph_p0).pkgs), (&(*pkgUrl_2)));
								if (NIM_UNLIKELY(*nimErr_)) goto LA64_;
								if (!!(T75_)) goto LA76_;
								nimZeroMem((void*)(&colontmpD__12), sizeof(tyObject_CommitHash__ENSoVMeDKmDIP8obk69cDaA));
								colontmpD__13 = NIM_NIL;
								colontmpD__15.len = 0; colontmpD__15.p = NIM_NIL;
								colontmpD__16.len = 0; colontmpD__16.p = NIM_NIL;
								colontmpD__11 = eqdup___basicZdepgraphtypes_u564(pkg_2);
								X5BX5Deq___basicZdeptypesjson_u12178((&(*graph_p0).pkgs), (&(*pkgUrl_2)), colontmpD__11);
								if (NIM_UNLIKELY(*nimErr_)) goto LA78_;
								nimZeroMem((void*)(&T79_), sizeof(tyObject_VersionTag__io9bcihbopiwucKorobyKdg));
								T79_.v = TM__C9cmKYCNdBkg6KCWDBOEmkg_81;
								colontmpD__12 = initCommitHash__basicZversions_u85(TM__C9cmKYCNdBkg6KCWDBOEmkg_83, ((tyEnum_CommitOrigin__tDM8mWEQT3dZtKoOj7Mgww)1));
								if (NIM_UNLIKELY(*nimErr_)) goto LA78_;
								T79_.c = colontmpD__12;
								colontmpD__13 = toPkgVer__basicZdeptypes_u118((&T79_));
								if (NIM_UNLIKELY(*nimErr_)) goto LA78_;
								T80_ = NIM_NIL;
								T80_ = (tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw*) nimNewObj(sizeof(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw), NIM_ALIGNOF(tyObject_NimbleReleasecolonObjectType___Cd1woUEuIWSParVQIsOkuw));
								(*T80_).version = TM__C9cmKYCNdBkg6KCWDBOEmkg_85;
								(*T80_).status = ((tyEnum_ReleaseStatus__WQoraXO80GBXtge9ad8aCBg)0);
								X5BX5Deq___basicZdeptypesjson_u9465((&(*pkg_2).versions), colontmpD__13, T80_);
								if (NIM_UNLIKELY(*nimErr_)) goto LA78_;
								colontmpD__14 = eqdup___basicZdepgraphtypes_u564(pkg_2);
								X5BX5Deq___basicZdeptypesjson_u12178((&(*graph_p0).pkgs), (&(*pkgUrl_2)), colontmpD__14);
								if (NIM_UNLIKELY(*nimErr_)) goto LA78_;
								colontmpD__15 = projectName__basicZdeptypes_u195(pkg_2);
								if (NIM_UNLIKELY(*nimErr_)) goto LA78_;
								T81_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_87;
								colontmpD__16 = dollar___basicZpkgurls_u47((&(*pkg_2).url));
								if (NIM_UNLIKELY(*nimErr_)) goto LA78_;
								T81_[1] = colontmpD__16;
								info__basicZparse95requires_u40(colontmpD__15, T81_, 2);
								if (NIM_UNLIKELY(*nimErr_)) goto LA78_;
								{
									LA78_:;
								}
								{
									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);
}
									eqdestroy___basicZdeptypes_u148(colontmpD__13);
									eqdestroy___basicZversions_u111((&colontmpD__12));
								}
								if (NIM_UNLIKELY(*nimErr_)) goto LA64_;
							}
							goto LA73_;
LA76_: ;
							{
								NimStringV2 colontmpD__17;
								NimStringV2 colontmpD__18;
								tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T86_;
								colontmpD__17.len = 0; colontmpD__17.p = NIM_NIL;
								colontmpD__18.len = 0; colontmpD__18.p = NIM_NIL;
								colontmpD__17 = projectName__basicZdeptypes_u195(pkg_2);
								if (NIM_UNLIKELY(*nimErr_)) goto LA85_;
								T86_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_89;
								colontmpD__18 = dollar___basicZpkgurls_u47((&(*pkg_2).url));
								if (NIM_UNLIKELY(*nimErr_)) goto LA85_;
								T86_[1] = colontmpD__18;
								trace__basicZgitops_u1126(colontmpD__17, T86_, 2);
								if (NIM_UNLIKELY(*nimErr_)) goto LA85_;
								{
									LA85_:;
								}
								{
									if (colontmpD__18.p && !(colontmpD__18.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__18.p);
}
									if (colontmpD__17.p && !(colontmpD__17.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__17.p);
}
								}
								if (NIM_UNLIKELY(*nimErr_)) goto LA64_;
							}
LA73_: ;
							(*pkg_2).state = ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)1);
						}
						break;
						case ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)3):
						{
							NimStringV2 colontmpD__19;
							NimStringV2 colontmpD__20;
							tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw colontmpD__21;
							tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw colontmpD__22;
							NimStringV2 colontmpD__23;
							NimStringV2 colontmpD__24;
							tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T91_;
							tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw effectiveMode_1;
							tySequence__ROG4zVH2lrODohp66awvUw T101_;
							tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T102_;
							colontmpD__19.len = 0; colontmpD__19.p = NIM_NIL;
							colontmpD__20.len = 0; colontmpD__20.p = NIM_NIL;
							colontmpD__21 = (tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw)0;
							colontmpD__22 = (tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw)0;
							colontmpD__23.len = 0; colontmpD__23.p = NIM_NIL;
							colontmpD__24.len = 0; colontmpD__24.p = NIM_NIL;
							colontmpD__19 = projectName__basicZdeptypes_u195(pkg_2);
							if (NIM_UNLIKELY(*nimErr_)) goto LA90_;
							T91_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_91;
							colontmpD__20 = relativeToWorkspace__basicZcontext_u360((*pkg_2).ondisk);
							if (NIM_UNLIKELY(*nimErr_)) goto LA90_;
							T91_[1] = colontmpD__20;
							info__basicZparse95requires_u40(colontmpD__19, T91_, 2);
							if (NIM_UNLIKELY(*nimErr_)) goto LA90_;
							{
								NIM_BOOL T94_;
								NIM_BOOL T95_;
								T94_ = (NIM_BOOL)0;
								T95_ = (NIM_BOOL)0;
								T95_ = (*pkg_2).isRoot;
								if (T95_) goto LA96_;
								T95_ = (*pkg_2).isAtlasProject;
LA96_: ;
								T94_ = T95_;
								if (T94_) goto LA97_;
								T94_ = isNimbleLink__basicZpkgurls_u166((&(*pkg_2).url));
								if (NIM_UNLIKELY(*nimErr_)) goto LA90_;
LA97_: ;
								if (!T94_) goto LA98_;
								colontmpD__21 = ((tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw)2);
								effectiveMode_1 = colontmpD__21;
							}
							goto LA92_;
LA98_: ;
							{
								colontmpD__22 = traversalMode_p3;
								effectiveMode_1 = colontmpD__22;
							}
LA92_: ;
							T101_.len = 0; T101_.p = NIM_NIL;
							T101_.len = 0; T101_.p = (tySequence__ROG4zVH2lrODohp66awvUw_Content*) newSeqPayload(0, sizeof(tyObject_VersionTag__io9bcihbopiwucKorobyKdg), NIM_ALIGNOF(tyObject_VersionTag__io9bcihbopiwucKorobyKdg));
							traverseDependency__dependencies_u5183(nc_p1, &pkg_2, effectiveMode_1, T101_, deferChildDeps_p5);
							if (NIM_UNLIKELY(*nimErr_)) goto LA90_;
							colontmpD__23 = projectName__basicZdeptypes_u195(pkg_2);
							if (NIM_UNLIKELY(*nimErr_)) goto LA90_;
							T102_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_297;
							colontmpD__24 = dollar___basicZdeptypes_u192(pkg_2);
							if (NIM_UNLIKELY(*nimErr_)) goto LA90_;
							T102_[1] = colontmpD__24;
							trace__basicZgitops_u1126(colontmpD__23, T102_, 2);
							if (NIM_UNLIKELY(*nimErr_)) goto LA90_;
							processing_1 = NIM_TRUE;
							{
								NIM_BOOL T105_;
								tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* blitTmp_1;
								T105_ = (NIM_BOOL)0;
								T105_ = contains__basicZdepgraphtypes_u2170((&(*graph_p0).pkgs), (&(*pkgUrl_2)));
								if (NIM_UNLIKELY(*nimErr_)) goto LA90_;
								if (!!(T105_)) goto LA106_;
								blitTmp_1 = pkg_2;
								eqwasMoved___basicZdepgraphtypes_u555(&pkg_2);
								X5BX5Deq___basicZdeptypesjson_u12178((&(*graph_p0).pkgs), (&(*pkgUrl_2)), blitTmp_1);
								if (NIM_UNLIKELY(*nimErr_)) goto LA90_;
							}
LA106_: ;
							{
								LA90_:;
							}
							{
								if (colontmpD__24.p && !(colontmpD__24.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__24.p);
}
								if (colontmpD__23.p && !(colontmpD__23.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__23.p);
}
								if (colontmpD__20.p && !(colontmpD__20.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__20.p);
}
								if (colontmpD__19.p && !(colontmpD__19.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__19.p);
}
							}
							if (NIM_UNLIKELY(*nimErr_)) goto LA64_;
						}
						break;
						case ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)4):
						{
							{
								NIM_BOOL T113_;
								tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* blitTmp_2;
								T113_ = (NIM_BOOL)0;
								T113_ = contains__basicZdepgraphtypes_u2170((&(*graph_p0).pkgs), (&(*pkgUrl_2)));
								if (NIM_UNLIKELY(*nimErr_)) goto LA64_;
								if (!!(T113_)) goto LA114_;
								blitTmp_2 = pkg_2;
								eqwasMoved___basicZdepgraphtypes_u555(&pkg_2);
								X5BX5Deq___basicZdeptypesjson_u12178((&(*graph_p0).pkgs), (&(*pkgUrl_2)), blitTmp_2);
								if (NIM_UNLIKELY(*nimErr_)) goto LA64_;
							}
LA114_: ;
						}
						break;
						default:
						{
							NimStringV2 colontmpD__25;
							NimStringV2 colontmpD__26;
							NimStringV2 colontmpD__27;
							tyArray__Seu7uK9aaOSN0BK3EAjjSHw T118_;
							colontmpD__25.len = 0; colontmpD__25.p = NIM_NIL;
							colontmpD__26.len = 0; colontmpD__26.p = NIM_NIL;
							colontmpD__27.len = 0; colontmpD__27.p = NIM_NIL;
							colontmpD__25 = projectName__basicZdeptypes_u195(pkg_2);
							if (NIM_UNLIKELY(*nimErr_)) goto LA117_;
							T118_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_299;
							colontmpD__26 = dollar___basicZpkgurls_u47((&(*pkg_2).url));
							if (NIM_UNLIKELY(*nimErr_)) goto LA117_;
							T118_[1] = colontmpD__26;
							T118_[2] = TM__C9cmKYCNdBkg6KCWDBOEmkg_300;
							colontmpD__27 = dollar___basicZdeptypes_u22((*pkg_2).state);
							T118_[3] = colontmpD__27;
							info__basicZparse95requires_u40(colontmpD__25, T118_, 4);
							if (NIM_UNLIKELY(*nimErr_)) goto LA117_;
							{
								LA117_:;
							}
							{
								if (colontmpD__27.p && !(colontmpD__27.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__27.p);
}
								if (colontmpD__26.p && !(colontmpD__26.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__26.p);
}
								if (colontmpD__25.p && !(colontmpD__25.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__25.p);
}
							}
							if (NIM_UNLIKELY(*nimErr_)) goto LA64_;
						}
						break;
						}
						i_2 += ((NI)1);
						{
							NI T123_;
							T123_ = pkgUrls_1.len;
							if (!!((T123_ == L_3))) goto LA124_;
							failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_301);
							if (NIM_UNLIKELY(*nimErr_)) goto LA64_;
						}
LA124_: ;
						{
							LA64_:;
						}
						{
							eqdestroy___basicZdepgraphtypes_u558(pkg_2);
						}
						if (NIM_UNLIKELY(*nimErr_)) goto LA3_;
					} LA63: ;
				}
			}
			{
				LA3_:;
			}
			{
				if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
				eqdestroy___system_u5582(processingPkgs_1);
				eqdestroy___system_u5582(initializingPkgs_1);
				eqdestroy___dependencies_u13450(resultX60gensym166__1);
				eqdestroy___dependencies_u13450(pkgUrls_1);
			}
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		} LA2: ;
	}
	}BeforeRet_: ;
}
static N_INLINE(NI, len__dependencies_u13731)(tyObject_OrderedTable__2f785vUDCYHK3R5jPXmFkg* t_p0) {
	NI result;
	result = (*t_p0).counter;
	return 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) {
	tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw url_1;
	NimStringV2 colontmpD_;
	NimStringV2 colontmpD__2;
	tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* root_1;
	tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw colontmpD__3;
	tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* colontmpD__4;
	tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* colontmpD__5;
	NimStringV2 colontmpD__6;
	NimStringV2 colontmpD__7;
	tyArray__Seu7uK9aaOSN0BK3EAjjSHw T6_;
	tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* T7_;
	tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T8_;
	NIM_BOOL graphChanged_1;
	tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T120_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	nimZeroMem((void*)Result, sizeof(tyObject_DepGraph__i1RlFs3c9aTk9bK2vN5Pa2yw));
	nimZeroMem((void*)(&url_1), sizeof(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw));
	colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
	colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
	root_1 = NIM_NIL;
	colontmpD__6.len = 0; colontmpD__6.p = NIM_NIL;
	colontmpD__7.len = 0; colontmpD__7.p = NIM_NIL;
	{
		if (!!(!(eqStrings(path_p0, TM__C9cmKYCNdBkg6KCWDBOEmkg_3)))) goto LA4_;
		failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_5);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA4_: ;
	createUrlFromPath__basicZnimblecontext_u3320(nc_p1, path_p0, isLinkPath_p4, (&url_1));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	colontmpD_ = projectName__basicZpkgurls_u35((&url_1));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T6_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_7;
	T6_[1] = path_p0;
	T6_[2] = TM__C9cmKYCNdBkg6KCWDBOEmkg_9;
	colontmpD__2 = dollar___basicZpkgurls_u47((&url_1));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T6_[3] = colontmpD__2;
	notice__basicZgitops_u1160(colontmpD_, T6_, 4);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T7_ = NIM_NIL;
	T7_ = (tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA*) nimNewObj(sizeof(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA), NIM_ALIGNOF(tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA));
	eqdup___basicZpkgurls_u267((&url_1), (&colontmpD__3));
	(*T7_).url = colontmpD__3;
	(*T7_).isRoot = NIM_TRUE;
	(*T7_).isFork = isForkUrl__dependencies_u185((&(*nc_p1)), (&url_1));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	root_1 = T7_;
	nimZeroMem((void*)Result, sizeof(tyObject_DepGraph__i1RlFs3c9aTk9bK2vN5Pa2yw));
	colontmpD__4 = eqdup___basicZdepgraphtypes_u564(root_1);
	(*Result).root = colontmpD__4;
	(*Result).mode = mode_p2;
	colontmpD__5 = eqdup___basicZdepgraphtypes_u564(root_1);
	X5BX5Deq___basicZdeptypesjson_u12178((&(*nc_p1).packageToDependency), (&(*root_1).url), colontmpD__5);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T8_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_18;
	colontmpD__6 = projectName__basicZdeptypes_u195(root_1);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T8_[1] = colontmpD__6;
	notice__basicZgitops_u1160(TM__C9cmKYCNdBkg6KCWDBOEmkg_16, T8_, 2);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	graphChanged_1 = NIM_TRUE;
	{
		while (1) {
			NimStringV2 colontmpD__8;
			NI pkgCountBeforeExplicit_1;
			NI explicitCountBeforeExplicit_1;
			tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T12_;
			NI T13_;
			NIM_BOOL T114_;
			NI T115_;
			NI T117_;
			if (!graphChanged_1) goto LA10;
			colontmpD__8.len = 0; colontmpD__8.p = NIM_NIL;
			graphChanged_1 = NIM_FALSE;
			processPendingPackages__dependencies_u12294(Result, nc_p1, root_1, mode_p2, onClone_p3, deferChildDeps_p5);
			if (NIM_UNLIKELY(*nimErr_)) goto LA11_;
			pkgCountBeforeExplicit_1 = len__basicZdepgraphtypes_u302((&(*nc_p1).packageToDependency));
			if (NIM_UNLIKELY(*nimErr_)) goto LA11_;
			explicitCountBeforeExplicit_1 = len__dependencies_u13731((&(*nc_p1).explicitVersions));
			if (NIM_UNLIKELY(*nimErr_)) goto LA11_;
			T12_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_304;
			T13_ = (NI)0;
			T13_ = len__dependencies_u13731((&(*nc_p1).explicitVersions));
			if (NIM_UNLIKELY(*nimErr_)) goto LA11_;
			colontmpD__8 = dollar___systemZdollars_u14(T13_);
			if (NIM_UNLIKELY(*nimErr_)) goto LA11_;
			T12_[1] = colontmpD__8;
			debug__basicZgitops_u1174(TM__C9cmKYCNdBkg6KCWDBOEmkg_302, T12_, 2);
			if (NIM_UNLIKELY(*nimErr_)) goto LA11_;
			{
				tySequence__QArEOQfUBBFe7voRs4vldw colontmp_;
				tySequence__QArEOQfUBBFe7voRs4vldw resultX60gensym185__1;
				tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* pkgUrl_1;
				NI i_1;
				NI L_2;
				NI T34_;
				colontmp_.len = 0; colontmp_.p = NIM_NIL;
				resultX60gensym185__1.len = 0; resultX60gensym185__1.p = NIM_NIL;
				pkgUrl_1 = (tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw*)0;
				colontmp_.len = 0; colontmp_.p = NIM_NIL;
				resultX60gensym185__1.len = 0; resultX60gensym185__1.p = (tySequence__QArEOQfUBBFe7voRs4vldw_Content*) newSeqPayload(0, sizeof(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw), NIM_ALIGNOF(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw));
				{
					tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw* xX60gensym185__1;
					NI L_1;
					xX60gensym185__1 = (tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw*)0;
					L_1 = len__dependencies_u13731((&(*nc_p1).explicitVersions));
					if (NIM_UNLIKELY(*nimErr_)) goto LA15_;
					{
						NI h_1;
						if (!(((NI)0) < (*nc_p1).explicitVersions.counter)) goto LA19_;
						h_1 = (*nc_p1).explicitVersions.first;
						{
							while (1) {
								NI nxt_1;
								if (!(((NI)0) <= h_1)) goto LA22;
								if (h_1 < 0 || h_1 >= (*nc_p1).explicitVersions.data.len){ raiseIndexError2(h_1,(*nc_p1).explicitVersions.data.len-1); goto LA15_;
								}
								nxt_1 = (*nc_p1).explicitVersions.data.p->data[h_1].Field1;
								{
									NIM_BOOL T25_;
									tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw colontmpD__9;
									tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw T28_;
									if (h_1 < 0 || h_1 >= (*nc_p1).explicitVersions.data.len){ raiseIndexError2(h_1,(*nc_p1).explicitVersions.data.len-1); goto LA15_;
									}
									T25_ = (NIM_BOOL)0;
									T25_ = isFilled__pureZcollectionsZtables_u31((*nc_p1).explicitVersions.data.p->data[h_1].Field0);
									if (NIM_UNLIKELY(*nimErr_)) goto LA15_;
									if (!T25_) goto LA26_;
									if (h_1 < 0 || h_1 >= (*nc_p1).explicitVersions.data.len){ raiseIndexError2(h_1,(*nc_p1).explicitVersions.data.len-1); goto LA15_;
									}
									xX60gensym185__1 = (&(*nc_p1).explicitVersions.data.p->data[h_1].Field2);
									nimZeroMem((void*)(&T28_), sizeof(tyObject_PkgUrl__xtGEmbK9cVcp0WbjakP0xVw));
									eqdup___basicZpkgurls_u267((&(*xX60gensym185__1)), (&T28_));
									colontmpD__9 = T28_;
									add__dependencies_u12594((&resultX60gensym185__1), (&colontmpD__9));
									{
										NI T31_;
										T31_ = (NI)0;
										T31_ = len__dependencies_u13731((&(*nc_p1).explicitVersions));
										if (NIM_UNLIKELY(*nimErr_)) goto LA15_;
										if (!!((T31_ == L_1))) goto LA32_;
										failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_305);
										if (NIM_UNLIKELY(*nimErr_)) goto LA15_;
									}
LA32_: ;
								}
LA26_: ;
								h_1 = nxt_1;
							} LA22: ;
						}
					}
LA19_: ;
				}
				colontmp_ = resultX60gensym185__1;
				eqwasMoved___dependencies_u13447((&resultX60gensym185__1));
				i_1 = ((NI)0);
				T34_ = colontmp_.len;
				L_2 = T34_;
				{
					while (1) {
						tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA versions_1;
						NimStringV2 colontmpD__10;
						tySequence__sM4lkSb7zS6F7OVMvW9cffQ colontmpD__11;
						NimStringV2 colontmpD__12;
						tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA* T38_;
						tyArray__pK4u9cQ1bJzH46rrmNu9bPMQ T39_;
						tySequence__sM4lkSb7zS6F7OVMvW9cffQ T40_;
						if (!(i_1 < L_2)) goto LA36;
						nimZeroMem((void*)(&versions_1), sizeof(tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA));
						colontmpD__10.len = 0; colontmpD__10.p = NIM_NIL;
						colontmpD__11.len = 0; colontmpD__11.p = NIM_NIL;
						colontmpD__12.len = 0; colontmpD__12.p = NIM_NIL;
						if (i_1 < 0 || i_1 >= colontmp_.len){ raiseIndexError2(i_1,colontmp_.len-1); goto LA37_;
						}
						pkgUrl_1 = (&colontmp_.p->data[i_1]);
						T38_ = (tyObject_HashSet__Uwr6yc54j9cc7mpkQIvCLZA*)0;
						T38_ = X5BX5D___dependencies_u14149((&(*nc_p1).explicitVersions), (&(*pkgUrl_1)));
						if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
						eqcopy___basicZgitops_u1643((&versions_1), (*T38_));
						colontmpD__10 = projectName__basicZpkgurls_u35((&(*pkgUrl_1)));
						if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
						T39_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_307;
						T40_.len = 0; T40_.p = NIM_NIL;
						{
							tySequence__ROG4zVH2lrODohp66awvUw colontmp__2;
							tySequence__sM4lkSb7zS6F7OVMvW9cffQ resultX60gensym195__1;
							tySequence__ROG4zVH2lrODohp66awvUw T42_;
							NI iX60gensym195__1;
							NI T60_;
							colontmp__2.len = 0; colontmp__2.p = NIM_NIL;
							resultX60gensym195__1.len = 0; resultX60gensym195__1.p = NIM_NIL;
							T42_.len = 0; T42_.p = NIM_NIL;
							{
								tySequence__ROG4zVH2lrODohp66awvUw resultX60gensym192__1;
								NI iX60gensym192__1;
								NI T44_;
								resultX60gensym192__1.len = 0; resultX60gensym192__1.p = NIM_NIL;
								iX60gensym192__1 = ((NI)0);
								T44_ = (NI)0;
								T44_ = len__basicZgitops_u3121(versions_1);
								if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
								if ((T44_) < ((NI)0) || (T44_) > ((NI)IL64(9223372036854775807))){ raiseRangeErrorI(T44_, ((NI)0), ((NI)IL64(9223372036854775807))); goto LA37_;
								}
								resultX60gensym192__1 = newSeq__basicZversions_u4680((T44_));
								{
									tyObject_VersionTag__io9bcihbopiwucKorobyKdg itX60gensym192__1;
									NI length_1;
									nimZeroMem((void*)(&itX60gensym192__1), sizeof(tyObject_VersionTag__io9bcihbopiwucKorobyKdg));
									nimZeroMem((void*)(&itX60gensym192__1), sizeof(tyObject_VersionTag__io9bcihbopiwucKorobyKdg));
									length_1 = len__basicZgitops_u3121(versions_1);
									if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
									{
										NI h_2;
										NI colontmp__3;
										NI T47_;
										NI res_1;
										h_2 = (NI)0;
										colontmp__3 = (NI)0;
										T47_ = (versions_1.data.len-1);
										colontmp__3 = T47_;
										res_1 = ((NI)0);
										{
											while (1) {
												NI TM__C9cmKYCNdBkg6KCWDBOEmkg_310;
												if (!(res_1 <= colontmp__3)) goto LA49;
												h_2 = ((NI) (res_1));
												{
													NIM_BOOL T52_;
													NI TM__C9cmKYCNdBkg6KCWDBOEmkg_308;
													if (h_2 < 0 || h_2 >= versions_1.data.len){ raiseIndexError2(h_2,versions_1.data.len-1); goto LA37_;
													}
													T52_ = (NIM_BOOL)0;
													T52_ = isFilled__pureZcollectionsZsets_u39(versions_1.data.p->data[h_2].Field0);
													if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
													if (!T52_) goto LA53_;
													if (h_2 < 0 || h_2 >= versions_1.data.len){ raiseIndexError2(h_2,versions_1.data.len-1); goto LA37_;
													}
													eqcopy___basicZversions_u3512((&itX60gensym192__1), (&versions_1.data.p->data[h_2].Field1));
													if (iX60gensym192__1 < 0 || iX60gensym192__1 >= resultX60gensym192__1.len){ raiseIndexError2(iX60gensym192__1,resultX60gensym192__1.len-1); goto LA37_;
													}
													eqsink___basicZversions_u3518((&resultX60gensym192__1.p->data[iX60gensym192__1]), (&itX60gensym192__1));
													eqwasMoved___basicZversions_u3506((&itX60gensym192__1));
													if (nimAddInt(iX60gensym192__1, ((NI)1), &TM__C9cmKYCNdBkg6KCWDBOEmkg_308)) { raiseOverflow(); goto LA37_;
													};
													iX60gensym192__1 = (NI)(TM__C9cmKYCNdBkg6KCWDBOEmkg_308);
													{
														NI T57_;
														T57_ = (NI)0;
														T57_ = len__basicZgitops_u3121(versions_1);
														if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
														if (!!((T57_ == length_1))) goto LA58_;
														failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_309);
														if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
													}
LA58_: ;
												}
LA53_: ;
												if (nimAddInt(res_1, ((NI)1), &TM__C9cmKYCNdBkg6KCWDBOEmkg_310)) { raiseOverflow(); goto LA37_;
												};
												res_1 = (NI)(TM__C9cmKYCNdBkg6KCWDBOEmkg_310);
											} LA49: ;
										}
									}
									eqdestroy___basicZversions_u3509((&itX60gensym192__1));
								}
								colontmp__2 = resultX60gensym192__1;
							}
							iX60gensym195__1 = ((NI)0);
							T60_ = colontmp__2.len;
							if ((T60_) < ((NI)0) || (T60_) > ((NI)IL64(9223372036854775807))){ raiseRangeErrorI(T60_, ((NI)0), ((NI)IL64(9223372036854775807))); goto LA37_;
							}
							resultX60gensym195__1 = newSeq__stdZsyncio_u578((T60_));
							{
								tyObject_VersionTag__io9bcihbopiwucKorobyKdg* it_1;
								NI i_2;
								NI L_3;
								NI T62_;
								it_1 = (tyObject_VersionTag__io9bcihbopiwucKorobyKdg*)0;
								i_2 = ((NI)0);
								T62_ = colontmp__2.len;
								L_3 = T62_;
								{
									while (1) {
										NimStringV2 T65_;
										NI TM__C9cmKYCNdBkg6KCWDBOEmkg_311;
										if (!(i_2 < L_3)) goto LA64;
										if (i_2 < 0 || i_2 >= colontmp__2.len){ raiseIndexError2(i_2,colontmp__2.len-1); goto LA37_;
										}
										it_1 = (&colontmp__2.p->data[i_2]);
										if (iX60gensym195__1 < 0 || iX60gensym195__1 >= resultX60gensym195__1.len){ raiseIndexError2(iX60gensym195__1,resultX60gensym195__1.len-1); goto LA37_;
										}
										T65_.len = 0; T65_.p = NIM_NIL;
										T65_ = dollar___basicZversions_u187((&(*it_1)));
										if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T65_); goto LA37_;}
										eqsink___system_u2760((&resultX60gensym195__1.p->data[iX60gensym195__1]), T65_);
										if (nimAddInt(iX60gensym195__1, ((NI)1), &TM__C9cmKYCNdBkg6KCWDBOEmkg_311)) { raiseOverflow(); goto LA37_;
										};
										iX60gensym195__1 = (NI)(TM__C9cmKYCNdBkg6KCWDBOEmkg_311);
										i_2 += ((NI)1);
										{
											NI T68_;
											T68_ = colontmp__2.len;
											if (!!((T68_ == L_3))) goto LA69_;
											failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_312);
											if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
										}
LA69_: ;
									} LA64: ;
								}
							}
							colontmpD__11 = resultX60gensym195__1;
							eqdestroy___basicZversions_u4782(colontmp__2);
							T40_ = colontmpD__11;
						}
						colontmpD__12 = nsuJoinSep(((T40_).p) ? (T40_.p->data) : NIM_NIL, T40_.len, TM__C9cmKYCNdBkg6KCWDBOEmkg_313);
						if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
						T39_[1] = colontmpD__12;
						info__basicZparse95requires_u40(colontmpD__10, T39_, 2);
						if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
						{
							NIM_BOOL T73_;
							tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA* pkg_1;
							tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA** T77_;
							T73_ = (NIM_BOOL)0;
							T73_ = contains__basicZdepgraphtypes_u2170((&(*nc_p1).packageToDependency), (&(*pkgUrl_1)));
							if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
							if (!T73_) goto LA74_;
							pkg_1 = NIM_NIL;
							T77_ = (tyObject_PackagecolonObjectType___oq9cbJmLUyLo2l9clmDFeVSA**)0;
							T77_ = X5BX5D___basicZdeptypesjson_u14466((&(*nc_p1).packageToDependency), (&(*pkgUrl_1)));
							if (NIM_UNLIKELY(*nimErr_)) goto LA76_;
							eqcopy___basicZdepgraphtypes_u561(&pkg_1, (*T77_));
							{
								tySequence__ROG4zVH2lrODohp66awvUw colontmpD__13;
								tySequence__ROG4zVH2lrODohp66awvUw T83_;
								if (!((*pkg_1).state == ((tyEnum_PackageState__INzfBajphYPGcwu72ccy8w)4))) goto LA80_;
								colontmpD__13.len = 0; colontmpD__13.p = NIM_NIL;
								T83_.len = 0; T83_.p = NIM_NIL;
								{
									tySequence__ROG4zVH2lrODohp66awvUw resultX60gensym203__1;
									NI iX60gensym203__1;
									NI T85_;
									resultX60gensym203__1.len = 0; resultX60gensym203__1.p = NIM_NIL;
									iX60gensym203__1 = ((NI)0);
									T85_ = (NI)0;
									T85_ = len__basicZgitops_u3121(versions_1);
									if (NIM_UNLIKELY(*nimErr_)) goto LA82_;
									if ((T85_) < ((NI)0) || (T85_) > ((NI)IL64(9223372036854775807))){ raiseRangeErrorI(T85_, ((NI)0), ((NI)IL64(9223372036854775807))); goto LA82_;
									}
									resultX60gensym203__1 = newSeq__basicZversions_u4680((T85_));
									{
										tyObject_VersionTag__io9bcihbopiwucKorobyKdg itX60gensym203__1;
										NI length_2;
										nimZeroMem((void*)(&itX60gensym203__1), sizeof(tyObject_VersionTag__io9bcihbopiwucKorobyKdg));
										nimZeroMem((void*)(&itX60gensym203__1), sizeof(tyObject_VersionTag__io9bcihbopiwucKorobyKdg));
										length_2 = len__basicZgitops_u3121(versions_1);
										if (NIM_UNLIKELY(*nimErr_)) goto LA82_;
										{
											NI h_3;
											NI colontmp__4;
											NI T88_;
											NI res_2;
											h_3 = (NI)0;
											colontmp__4 = (NI)0;
											T88_ = (versions_1.data.len-1);
											colontmp__4 = T88_;
											res_2 = ((NI)0);
											{
												while (1) {
													NI TM__C9cmKYCNdBkg6KCWDBOEmkg_316;
													if (!(res_2 <= colontmp__4)) goto LA90;
													h_3 = ((NI) (res_2));
													{
														NIM_BOOL T93_;
														NI TM__C9cmKYCNdBkg6KCWDBOEmkg_314;
														if (h_3 < 0 || h_3 >= versions_1.data.len){ raiseIndexError2(h_3,versions_1.data.len-1); goto LA82_;
														}
														T93_ = (NIM_BOOL)0;
														T93_ = isFilled__pureZcollectionsZsets_u39(versions_1.data.p->data[h_3].Field0);
														if (NIM_UNLIKELY(*nimErr_)) goto LA82_;
														if (!T93_) goto LA94_;
														if (h_3 < 0 || h_3 >= versions_1.data.len){ raiseIndexError2(h_3,versions_1.data.len-1); goto LA82_;
														}
														eqcopy___basicZversions_u3512((&itX60gensym203__1), (&versions_1.data.p->data[h_3].Field1));
														if (iX60gensym203__1 < 0 || iX60gensym203__1 >= resultX60gensym203__1.len){ raiseIndexError2(iX60gensym203__1,resultX60gensym203__1.len-1); goto LA82_;
														}
														eqsink___basicZversions_u3518((&resultX60gensym203__1.p->data[iX60gensym203__1]), (&itX60gensym203__1));
														eqwasMoved___basicZversions_u3506((&itX60gensym203__1));
														if (nimAddInt(iX60gensym203__1, ((NI)1), &TM__C9cmKYCNdBkg6KCWDBOEmkg_314)) { raiseOverflow(); goto LA82_;
														};
														iX60gensym203__1 = (NI)(TM__C9cmKYCNdBkg6KCWDBOEmkg_314);
														{
															NI T98_;
															T98_ = (NI)0;
															T98_ = len__basicZgitops_u3121(versions_1);
															if (NIM_UNLIKELY(*nimErr_)) goto LA82_;
															if (!!((T98_ == length_2))) goto LA99_;
															failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_315);
															if (NIM_UNLIKELY(*nimErr_)) goto LA82_;
														}
LA99_: ;
													}
LA94_: ;
													if (nimAddInt(res_2, ((NI)1), &TM__C9cmKYCNdBkg6KCWDBOEmkg_316)) { raiseOverflow(); goto LA82_;
													};
													res_2 = (NI)(TM__C9cmKYCNdBkg6KCWDBOEmkg_316);
												} LA90: ;
											}
										}
										eqdestroy___basicZversions_u3509((&itX60gensym203__1));
									}
									colontmpD__13 = resultX60gensym203__1;
									T83_ = colontmpD__13;
								}
								traverseDependency__dependencies_u5183(nc_p1, &pkg_1, ((tyEnum_TraversalMode__7oigiLe2XsEgCBvsMzDCZw)1), T83_, deferChildDeps_p5);
								if (NIM_UNLIKELY(*nimErr_)) goto LA82_;
								{
									LA82_:;
								}
								{
									eqdestroy___basicZversions_u4782(colontmpD__13);
								}
								if (NIM_UNLIKELY(*nimErr_)) goto LA76_;
							}
LA80_: ;
							{
								LA76_:;
							}
							{
								eqdestroy___basicZdepgraphtypes_u558(pkg_1);
							}
							if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
						}
LA74_: ;
						i_1 += ((NI)1);
						{
							NI T107_;
							T107_ = colontmp_.len;
							if (!!((T107_ == L_2))) goto LA108_;
							failedAssertImpl__stdZassertions_u95(TM__C9cmKYCNdBkg6KCWDBOEmkg_317);
							if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
						}
LA108_: ;
						{
							LA37_:;
						}
						{
							if (colontmpD__12.p && !(colontmpD__12.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__12.p);
}
							eqdestroy___system_u5582(colontmpD__11);
							if (colontmpD__10.p && !(colontmpD__10.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__10.p);
}
							eqdestroy___basicZgitops_u1640((&versions_1));
						}
						if (NIM_UNLIKELY(*nimErr_)) goto LA15_;
					} LA36: ;
				}
				{
					LA15_:;
				}
				{
					eqdestroy___dependencies_u13450(resultX60gensym185__1);
					eqdestroy___dependencies_u13450(colontmp_);
				}
				if (NIM_UNLIKELY(*nimErr_)) goto LA11_;
			}
			T114_ = (NIM_BOOL)0;
			T115_ = (NI)0;
			T115_ = len__basicZdepgraphtypes_u302((&(*nc_p1).packageToDependency));
			if (NIM_UNLIKELY(*nimErr_)) goto LA11_;
			T114_ = !((T115_ == pkgCountBeforeExplicit_1));
			if (T114_) goto LA116_;
			T117_ = (NI)0;
			T117_ = len__dependencies_u13731((&(*nc_p1).explicitVersions));
			if (NIM_UNLIKELY(*nimErr_)) goto LA11_;
			T114_ = !((T117_ == explicitCountBeforeExplicit_1));
LA116_: ;
			graphChanged_1 = T114_;
			{
				LA11_:;
			}
			{
				if (colontmpD__8.p && !(colontmpD__8.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__8.p);
}
			}
			if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		} LA10: ;
	}
	T120_[0] = TM__C9cmKYCNdBkg6KCWDBOEmkg_320;
	colontmpD__7 = projectName__basicZdeptypes_u195(root_1);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	T120_[1] = colontmpD__7;
	info__basicZparse95requires_u40(TM__C9cmKYCNdBkg6KCWDBOEmkg_318, T120_, 2);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		LA1_:;
	}
	{
		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___basicZdepgraphtypes_u558(root_1);
		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___basicZpkgurls_u261((&url_1));
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, eqwasMoved___dependencies_u12039)(tySequence__fUCMBHW75OZPJePoPhOXNA* dest_p0) {
	(*dest_p0).len = 0; (*dest_p0).p = NIM_NIL;
}
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(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;
}
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;
}
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ, findProjects__dependencies_u15447)(NimStringV2 path_p0) {
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content*) newSeqPayload(0, sizeof(NimStringV2), NIM_ALIGNOF(NimStringV2));
	{
		NimStringV2 f_1;
		tyEnum_PathComponent__OiWviOlsjyqprC56d9bn9b4Q k_1;
		f_1.len = 0; f_1.p = NIM_NIL;
		k_1 = (tyEnum_PathComponent__OiWviOlsjyqprC56d9bn9b4Q)0;
		{
			NimStringV2 p_1;
			tyEnum_PathComponent__OiWviOlsjyqprC56d9bn9b4Q k_2;
			DIR* d_1;
			p_1.len = 0; p_1.p = NIM_NIL;
			k_2 = (tyEnum_PathComponent__OiWviOlsjyqprC56d9bn9b4Q)0;
			d_1 = opendir(nimToCStringConv(path_p0));
			{
				if (!(d_1 == ((DIR*) NIM_NIL))) goto LA7_;
				{
					NI32 T13_;
					if (!NIM_FALSE) goto LA11_;
					T13_ = (NI32)0;
					T13_ = osLastError__stdZoserrors_u122();
					if (NIM_UNLIKELY(*nimErr_)) goto LA4_;
					raiseOSError__stdZoserrors_u119(T13_, path_p0);
					if (NIM_UNLIKELY(*nimErr_)) goto LA4_;
				}
LA11_: ;
			}
			goto LA5_;
LA7_: ;
			{
				{
					while (1) {
						{
							NimStringV2 y_1;
							struct dirent* x_1;
							y_1.len = 0; y_1.p = NIM_NIL;
							x_1 = readdir(d_1);
							{
								if (!(x_1 == ((struct dirent*) NIM_NIL))) goto LA22_;
								if (y_1.p && !(y_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(y_1.p);
}
								goto LA16;
							}
LA22_: ;
							y_1 = cstrToNimstr(((NCSTRING) ((*x_1).d_name)));
							{
								NIM_BOOL T26_;
								NimStringV2 path_2;
								tyTuple__HQn4jYwt9cUKCw69a7yYWO0A colontmp_;
								NimStringV2 colontmpD_;
								struct stat s_1;
								tyEnum_PathComponent__OiWviOlsjyqprC56d9bn9b4Q k_3;
								NimStringV2 blitTmp_1;
								NimStringV2 blitTmp_2;
								T26_ = (NIM_BOOL)0;
								T26_ = !(eqStrings(y_1, TM__C9cmKYCNdBkg6KCWDBOEmkg_321));
								if (!(T26_)) goto LA27_;
								T26_ = !(eqStrings(y_1, TM__C9cmKYCNdBkg6KCWDBOEmkg_323));
LA27_: ;
								if (!T26_) goto LA28_;
								path_2.len = 0; path_2.p = NIM_NIL;
								nimZeroMem((void*)(&colontmp_), sizeof(tyTuple__HQn4jYwt9cUKCw69a7yYWO0A));
								colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
								nimZeroMem((void*)(&s_1), sizeof(struct stat));
								path_2 = slash___stdZprivateZospaths2_u88(path_p0, y_1);
								if (NIM_UNLIKELY(*nimErr_)) goto LA30_;
								{
									if (!NIM_TRUE) goto LA33_;
									eqcopy___system_u2754((&y_1), path_2);
								}
LA33_: ;
								k_3 = ((tyEnum_PathComponent__OiWviOlsjyqprC56d9bn9b4Q)0);
								switch ((*x_1).d_type) {
								case ((NI8)4):
								{
									k_3 = ((tyEnum_PathComponent__OiWviOlsjyqprC56d9bn9b4Q)2);
								}
								break;
								case ((NI8)10):
								{
									NIM_BOOL isSpecialX60gensym19__1;
									tyTuple__4ZA8Mtd29a9cAR3xLlz7LVrw tmpTupleAsgn;
									isSpecialX60gensym19__1 = (NIM_BOOL)0;
									tmpTupleAsgn = getSymlinkFileKind__stdZprivateZoscommon_u17(path_2);
									if (NIM_UNLIKELY(*nimErr_)) goto LA30_;
									k_3 = tmpTupleAsgn.Field0;
									isSpecialX60gensym19__1 = tmpTupleAsgn.Field1;
									{
										NIM_BOOL T39_;
										T39_ = (NIM_BOOL)0;
										T39_ = NIM_FALSE;
										if (!(T39_)) goto LA40_;
										T39_ = isSpecialX60gensym19__1;
LA40_: ;
										if (!T39_) goto LA41_;
										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);
}
										if (y_1.p && !(y_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(y_1.p);
}
										goto LA18;
									}
LA41_: ;
								}
								break;
								case ((NI8)0):
								{
									{
										int T46_;
										T46_ = (int)0;
										T46_ = lstat(nimToCStringConv(path_2), (&s_1));
										if (!(T46_ < ((NI32)0))) goto LA47_;
										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);
}
										if (y_1.p && !(y_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(y_1.p);
}
										goto LA18;
									}
									goto LA44_;
LA47_: ;
									{
										NIM_BOOL T50_;
										T50_ = (NIM_BOOL)0;
										T50_ = S_ISDIR(s_1.st_mode);
										if (!T50_) goto LA51_;
										k_3 = ((tyEnum_PathComponent__OiWviOlsjyqprC56d9bn9b4Q)2);
									}
									goto LA44_;
LA51_: ;
									{
										NIM_BOOL T54_;
										NIM_BOOL isSpecialX60gensym21__1;
										tyTuple__4ZA8Mtd29a9cAR3xLlz7LVrw tmpTupleAsgn_2;
										T54_ = (NIM_BOOL)0;
										T54_ = S_ISLNK(s_1.st_mode);
										if (!T54_) goto LA55_;
										isSpecialX60gensym21__1 = (NIM_BOOL)0;
										tmpTupleAsgn_2 = getSymlinkFileKind__stdZprivateZoscommon_u17(path_2);
										if (NIM_UNLIKELY(*nimErr_)) goto LA30_;
										k_3 = tmpTupleAsgn_2.Field0;
										isSpecialX60gensym21__1 = tmpTupleAsgn_2.Field1;
										{
											NIM_BOOL T59_;
											T59_ = (NIM_BOOL)0;
											T59_ = NIM_FALSE;
											if (!(T59_)) goto LA60_;
											T59_ = isSpecialX60gensym21__1;
LA60_: ;
											if (!T59_) goto LA61_;
											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);
}
											if (y_1.p && !(y_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(y_1.p);
}
											goto LA18;
										}
LA61_: ;
									}
									goto LA44_;
LA55_: ;
									{
										NIM_BOOL T64_;
										NIM_BOOL T66_;
										T64_ = (NIM_BOOL)0;
										T64_ = NIM_FALSE;
										if (!(T64_)) goto LA65_;
										T66_ = (NIM_BOOL)0;
										T66_ = S_ISREG(s_1.st_mode);
										T64_ = !(T66_);
LA65_: ;
										if (!T64_) goto LA67_;
										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);
}
										if (y_1.p && !(y_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(y_1.p);
}
										goto LA18;
									}
									goto LA44_;
LA67_: ;
LA44_: ;
								}
								break;
								default:
								{
									{
										NIM_BOOL T72_;
										T72_ = (NIM_BOOL)0;
										T72_ = NIM_FALSE;
										if (!(T72_)) goto LA73_;
										T72_ = !(((*x_1).d_type == ((NI8)8)));
LA73_: ;
										if (!T72_) goto LA74_;
										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);
}
										if (y_1.p && !(y_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(y_1.p);
}
										goto LA18;
									}
									goto LA70_;
LA74_: ;
									{
									}
LA70_: ;
								}
								break;
								}
								nimZeroMem((void*)(&colontmp_), sizeof(tyTuple__HQn4jYwt9cUKCw69a7yYWO0A));
								colontmp_.Field0 = k_3;
								blitTmp_1 = y_1;
								eqwasMoved___system_u2751((&y_1));
								colontmp_.Field1 = blitTmp_1;
								k_2 = colontmp_.Field0;
								eqsink___system_u2760((&p_1), colontmp_.Field1);
								k_1 = k_2;
								blitTmp_2 = p_1;
								eqwasMoved___system_u2751((&p_1));
								eqsink___system_u2760((&f_1), blitTmp_2);
								{
									NIM_BOOL T79_;
									NimStringV2 blitTmp_3;
									T79_ = (NIM_BOOL)0;
									T79_ = (k_1 == ((tyEnum_PathComponent__OiWviOlsjyqprC56d9bn9b4Q)2));
									if (!(T79_)) goto LA80_;
									colontmpD_ = slash___stdZpaths_u84(f_1, TM__C9cmKYCNdBkg6KCWDBOEmkg_325);
									if (NIM_UNLIKELY(*nimErr_)) goto LA30_;
									T79_ = dirExists__stdZdirs_u3(colontmpD_);
									if (NIM_UNLIKELY(*nimErr_)) goto LA30_;
LA80_: ;
									if (!T79_) goto LA81_;
									blitTmp_3 = f_1;
									eqwasMoved___system_u2751((&f_1));
									add__basicZnimblecontext_u72((&result), blitTmp_3);
								}
LA81_: ;
								{
									LA30_:;
								}
								{
									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);
}
								}
								if (NIM_UNLIKELY(*nimErr_)) goto LA19_;
							}
LA28_: ;
							{
								LA19_:;
							}
							{
								if (y_1.p && !(y_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(y_1.p);
}
							}
							if (NIM_UNLIKELY(*nimErr_)) goto LA15_;
						} LA18: ;
					}
				} LA16: ;
				{
					LA15_:;
				}
				{
					int T89_;
					T89_ = (int)0;
					T89_ = closedir(d_1);
					(void)(T89_);
				}
				if (NIM_UNLIKELY(*nimErr_)) goto LA4_;
			}
LA5_: ;
			{
				LA4_:;
			}
			{
				if (p_1.p && !(p_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(p_1.p);
}
			}
			if (NIM_UNLIKELY(*nimErr_)) goto LA2_;
		}
		{
			LA2_:;
		}
		{
			if (f_1.p && !(f_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(f_1.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
	}BeforeRet_: ;
	return result;
}
