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

#include "nimbase.h"
#include <string.h>
#undef LANGUAGE_C
#undef MIPSEB
#undef MIPSEL
#undef PPC
#undef R3000
#undef R4000
#undef i386
#undef linux
#undef mips
#undef near
#undef far
#undef powerpc
#undef unix
typedef struct tySequence__H3A42plY3ZGdd9cIkci4urw tySequence__H3A42plY3ZGdd9cIkci4urw;
typedef struct tySequence__H3A42plY3ZGdd9cIkci4urw_Content tySequence__H3A42plY3ZGdd9cIkci4urw_Content;
typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content;
typedef struct tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q;
typedef struct tySequence__4eRCaZmrYLLw2k30GPTiMw tySequence__4eRCaZmrYLLw2k30GPTiMw;
typedef struct tySequence__4eRCaZmrYLLw2k30GPTiMw_Content tySequence__4eRCaZmrYLLw2k30GPTiMw_Content;
typedef struct tyObject_PackageInfocolonObjectType___R0oWrMCYB9aDk5GcoIvq3ew tyObject_PackageInfocolonObjectType___R0oWrMCYB9aDk5GcoIvq3ew;
typedef struct NimStrPayload NimStrPayload;
typedef struct NimStringV2 NimStringV2;
typedef struct tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA;
typedef struct tyObject_OrderedTable__RIgoItpMnyMLlEioBo9bQIA tyObject_OrderedTable__RIgoItpMnyMLlEioBo9bQIA;
typedef struct tySequence__UM2HJI1wUigOaSPzL6VC3A tySequence__UM2HJI1wUigOaSPzL6VC3A;
typedef struct tySequence__UM2HJI1wUigOaSPzL6VC3A_Content tySequence__UM2HJI1wUigOaSPzL6VC3A_Content;
typedef struct tySequence__t6JKa4Kdxpc0RJiFEWRI9bw tySequence__t6JKa4Kdxpc0RJiFEWRI9bw;
typedef struct tySequence__t6JKa4Kdxpc0RJiFEWRI9bw_Content tySequence__t6JKa4Kdxpc0RJiFEWRI9bw_Content;
typedef struct tyObject_HttpClientBasecolonObjectType___qDWGISjAgnhGevjS3zDRKA tyObject_HttpClientBasecolonObjectType___qDWGISjAgnhGevjS3zDRKA;
typedef struct tyObject_SslContextcolonObjectType___AhFePg9cWdCpCeTypFfYs7A tyObject_SslContextcolonObjectType___AhFePg9cWdCpCeTypFfYs7A;
typedef struct tyObject_HttpHeaderscolonObjectType___BaFYu4PR2nlvZibU89b3Qqw tyObject_HttpHeaderscolonObjectType___BaFYu4PR2nlvZibU89b3Qqw;
typedef struct tyObject_SocketImpl__TmGWJPpyEwcsRMnCyN509ag tyObject_SocketImpl__TmGWJPpyEwcsRMnCyN509ag;
typedef struct tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA;
typedef struct tyObject_ProxycolonObjectType___1adNpKdVBJZguvplkL5T7A tyObject_ProxycolonObjectType___1adNpKdVBJZguvplkL5T7A;
typedef struct tyObject_MonoTime__OPj9am9cm67Ww8xBOG3ksEhw tyObject_MonoTime__OPj9am9cm67Ww8xBOG3ksEhw;
typedef struct tyObject_StreamObj__bsqueMN9aCOGm2aNaHkuxoQ tyObject_StreamObj__bsqueMN9aCOGm2aNaHkuxoQ;
typedef struct tyObject_SslStruct__nrXQY5VF6Ld9c2BdIxvNUmg tyObject_SslStruct__nrXQY5VF6Ld9c2BdIxvNUmg;
typedef struct tyObject_HashSet__9aAVrrL6o7xnFQncOPM0SYQ tyObject_HashSet__9aAVrrL6o7xnFQncOPM0SYQ;
typedef struct tySequence__8Np6tlClE5az1CyqZdN19bQ tySequence__8Np6tlClE5az1CyqZdN19bQ;
typedef struct tySequence__8Np6tlClE5az1CyqZdN19bQ_Content tySequence__8Np6tlClE5az1CyqZdN19bQ_Content;
typedef struct tyObject_SslContextExtraInternalcolonObjectType___HCHicI3N4HKjbTv49ccrcig tyObject_SslContextExtraInternalcolonObjectType___HCHicI3N4HKjbTv49ccrcig;
typedef struct tyObject_Table__9c9cL6DR4DCGVMI1lXj9akt8w tyObject_Table__9c9cL6DR4DCGVMI1lXj9akt8w;
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 tyObject_CatchableError__liO6E8JNJNTVmf9cnXKZiug tyObject_CatchableError__liO6E8JNJNTVmf9cnXKZiug;
typedef struct tyTuple__QeWl6B6ffS4pU6WWrtcrDw tyTuple__QeWl6B6ffS4pU6WWrtcrDw;
typedef struct tyTuple__otFEYh4BBZ0y3q0WDtkCOw tyTuple__otFEYh4BBZ0y3q0WDtkCOw;
typedef struct tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ;
typedef struct tyObject_StackTraceEntry__lcKzdyiD6sm3eeh28rx7fw tyObject_StackTraceEntry__lcKzdyiD6sm3eeh28rx7fw;
struct tySequence__H3A42plY3ZGdd9cIkci4urw {
  NI len; tySequence__H3A42plY3ZGdd9cIkci4urw_Content* p;
};
struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ {
  NI len; tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content* p;
};
struct tySequence__4eRCaZmrYLLw2k30GPTiMw {
  NI len; tySequence__4eRCaZmrYLLw2k30GPTiMw_Content* p;
};
struct tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q {
	tySequence__4eRCaZmrYLLw2k30GPTiMw data;
	NI counter;
};
struct NimStrPayload {
	NI cap;
	NIM_CHAR data[SEQ_DECL_SIZE];
};
struct NimStringV2 {
	NI len;
	NimStrPayload* p;
};
typedef NU8 tyEnum_PackageKind__VnPGnYAiywvS9auJzQyUN8A;
struct tyObject_PackageInfocolonObjectType___R0oWrMCYB9aDk5GcoIvq3ew {
	NimStringV2 name;
	tyEnum_PackageKind__VnPGnYAiywvS9auJzQyUN8A kind;
union{
	struct {
	NimStringV2 alias;
} _kind_1;
	struct {
	NimStringV2 url;
	NimStringV2 license;
	NimStringV2 downloadMethod;
	NimStringV2 description;
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ tags;
	NimStringV2 version;
	NimStringV2 dvcsTag;
	NimStringV2 web;
} _kind_2;
};
};
typedef NimStringV2 tyArray__YgExxhfgKcesA5EOUj1MOA[1];
typedef NU8 tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA;
struct tySequence__UM2HJI1wUigOaSPzL6VC3A {
  NI len; tySequence__UM2HJI1wUigOaSPzL6VC3A_Content* p;
};
struct tyObject_OrderedTable__RIgoItpMnyMLlEioBo9bQIA {
	tySequence__UM2HJI1wUigOaSPzL6VC3A data;
	NI counter;
	NI first;
	NI last;
};
struct tySequence__t6JKa4Kdxpc0RJiFEWRI9bw {
  NI len; tySequence__t6JKa4Kdxpc0RJiFEWRI9bw_Content* p;
};
struct tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA {
	NIM_BOOL isUnquoted;
	tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA kind;
union{
	struct {
	NimStringV2 str;
} _kind_1;
	struct {
	NI64 num;
} _kind_2;
	struct {
	NF fnum;
} _kind_3;
	struct {
	NIM_BOOL bval;
} _kind_4;
	struct {
	tyObject_OrderedTable__RIgoItpMnyMLlEioBo9bQIA fields;
} _kind_6;
	struct {
	tySequence__t6JKa4Kdxpc0RJiFEWRI9bw elems;
} _kind_7;
};
};
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;
};
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (NI64 total_p0, NI64 progress_p1, NI64 speed_p2, void* ClE_0);
void* ClE_0;
} tyProc__TSOsjF4c9aXotPerq9cEE56A;
struct tyObject_MonoTime__OPj9am9cm67Ww8xBOG3ksEhw {
	NI64 ticks;
};
struct tyObject_HttpClientBasecolonObjectType___qDWGISjAgnhGevjS3zDRKA {
	tyObject_SocketImpl__TmGWJPpyEwcsRMnCyN509ag* socket;
	NIM_BOOL connected;
	tyObject_Uri__MX62yCLGQmnfVYEE3Hjm9cA currentURL;
	tyObject_HttpHeaderscolonObjectType___BaFYu4PR2nlvZibU89b3Qqw* headers;
	NI maxRedirects;
	NimStringV2 userAgent;
	NI timeout;
	tyObject_ProxycolonObjectType___1adNpKdVBJZguvplkL5T7A* proxy;
	tyProc__TSOsjF4c9aXotPerq9cEE56A onProgressChanged;
	tyObject_SslContextcolonObjectType___AhFePg9cWdCpCeTypFfYs7A* sslContext;
	NI64 contentTotal;
	NI64 contentProgress;
	NI64 oneSecondProgress;
	tyObject_MonoTime__OPj9am9cm67Ww8xBOG3ksEhw lastProgressReport;
	tyObject_StreamObj__bsqueMN9aCOGm2aNaHkuxoQ* bodyStream;
	NIM_BOOL getBody;
};
struct tySequence__8Np6tlClE5az1CyqZdN19bQ {
  NI len; tySequence__8Np6tlClE5az1CyqZdN19bQ_Content* p;
};
struct tyObject_HashSet__9aAVrrL6o7xnFQncOPM0SYQ {
	tySequence__8Np6tlClE5az1CyqZdN19bQ data;
	NI counter;
};
struct tyObject_SslContextcolonObjectType___AhFePg9cWdCpCeTypFfYs7A {
	tyObject_SslStruct__nrXQY5VF6Ld9c2BdIxvNUmg* context;
	tyObject_HashSet__9aAVrrL6o7xnFQncOPM0SYQ referencedData;
	tyObject_SslContextExtraInternalcolonObjectType___HCHicI3N4HKjbTv49ccrcig* extraInternal;
};
struct tyObject_HttpHeaderscolonObjectType___BaFYu4PR2nlvZibU89b3Qqw {
	tyObject_Table__9c9cL6DR4DCGVMI1lXj9akt8w* table;
	NIM_BOOL isTitleCase;
};
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;
};
struct tyObject_CatchableError__liO6E8JNJNTVmf9cnXKZiug {
	Exception Sup;
};
struct tySequence__H3A42plY3ZGdd9cIkci4urw_Content { NI cap; tyObject_PackageInfocolonObjectType___R0oWrMCYB9aDk5GcoIvq3ew* data[SEQ_DECL_SIZE]; };
struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content { NI cap; NimStringV2 data[SEQ_DECL_SIZE]; };
struct tyTuple__QeWl6B6ffS4pU6WWrtcrDw {
	NI Field0;
	NimStringV2 Field1;
};
struct tySequence__4eRCaZmrYLLw2k30GPTiMw_Content { NI cap; tyTuple__QeWl6B6ffS4pU6WWrtcrDw data[SEQ_DECL_SIZE]; };
struct tyTuple__otFEYh4BBZ0y3q0WDtkCOw {
	NI Field0;
	NI Field1;
	NimStringV2 Field2;
	tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* Field3;
};
struct tySequence__UM2HJI1wUigOaSPzL6VC3A_Content { NI cap; tyTuple__otFEYh4BBZ0y3q0WDtkCOw data[SEQ_DECL_SIZE]; };
struct tySequence__t6JKa4Kdxpc0RJiFEWRI9bw_Content { NI cap; tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* data[SEQ_DECL_SIZE]; };
struct tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ {
	NI Field0;
	NI Field1;
};
struct tySequence__8Np6tlClE5az1CyqZdN19bQ_Content { NI cap; tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ 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]; };
static N_INLINE(void, nimZeroMem)(void* p_p0, NI size_p1);
static N_INLINE(void, nimSetMem__system_u2188)(void* a_p0, int v_p1, NI size_p2);
N_LIB_PRIVATE N_NIMCALL(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q, initHashSet__OOZOOZOOZcompilerZoptions_u1045)(NI initialSize_p0);
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i_p0, NI n_p1);
static N_INLINE(NimStringV2, toLower__pureZunicode_u7554)(NimStringV2 s_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nuctoLowerStr)(NIM_CHAR* s_p0, NI s_p0Len_0);
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError4)(NI l1_p0, NI h1_p1, NI h2_p2);
static N_INLINE(NIM_BOOL*, nimErrorFlag)(void);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__pureZstrutils_u1900)(NimStringV2 s_p0, NimStringV2 sub_p1);
N_LIB_PRIVATE N_NIMCALL(void, info__basicZparse95requires_u40)(NimStringV2 p_p0, NimStringV2* args_p1, NI args_p1Len_0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___basicZpackageinfos_u167)(tyObject_PackageInfocolonObjectType___R0oWrMCYB9aDk5GcoIvq3ew* pkg_p0);
N_LIB_PRIVATE N_NIMCALL(void, incl__basicZversions_u858)(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q* s_p0, NimStringV2 key_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___basicZpackageinfos_u19)(tyEnum_PackageKind__VnPGnYAiywvS9auJzQyUN8A e_p0);
N_LIB_PRIVATE N_NOINLINE(void, raiseFieldErrorStr)(NimStringV2 f_p0, NimStringV2 discVal_p1);
N_LIB_PRIVATE N_NOCONV(void, deallocShared)(void* p_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___system_u5585)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* dest_p0, tySequence__sM4lkSb7zS6F7OVMvW9cffQ src_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___system_u5582)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__stdZassertions_u95)(NimStringV2 msg_p0);
N_LIB_PRIVATE N_NIMCALL(void, githubSearch__pkgsearch_u100)(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q* seen_p0, tySequence__sM4lkSb7zS6F7OVMvW9cffQ terms_p1);
N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA*, singleGithubSearch__pkgsearch_u53)(NimStringV2 term_p0, NIM_BOOL fullSearch_p1);
N_LIB_PRIVATE N_NIMCALL(tyObject_HttpClientBasecolonObjectType___qDWGISjAgnhGevjS3zDRKA*, newHttpClient__pureZhttpclient_u1230)(NimStringV2 userAgent_p0, NI maxRedirects_p1, tyObject_SslContextcolonObjectType___AhFePg9cWdCpCeTypFfYs7A* sslContext_p2, tyObject_ProxycolonObjectType___1adNpKdVBJZguvplkL5T7A* proxy_p3, NI timeout_p4, tyObject_HttpHeaderscolonObjectType___BaFYu4PR2nlvZibU89b3Qqw* headers_p5);
N_LIB_PRIVATE N_NIMCALL(tyObject_SslContextcolonObjectType___AhFePg9cWdCpCeTypFfYs7A*, getDefaultSSL__pureZhttpclient_u385)(void);
N_LIB_PRIVATE N_NIMCALL(tyObject_HttpHeaderscolonObjectType___BaFYu4PR2nlvZibU89b3Qqw*, newHttpHeaders__pureZhttpcore_u109)(NIM_BOOL titleCase_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, encodeUrl__pureZuri_u83)(NimStringV2 s_p0, NIM_BOOL usePlus_p1);
static N_INLINE(void, eqdestroy___system_u281)(NimStringV2 x_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, rawNewString)(NI space_p0);
N_LIB_PRIVATE N_NIMCALL(void, prepareAdd)(NimStringV2* s_p0, NI addLen_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, getContent__basicZpackageinfos_u548)(tyObject_HttpClientBasecolonObjectType___qDWGISjAgnhGevjS3zDRKA* client_p0, NimStringV2 url_p1);
N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA*, getOrDefault__pureZjson_u3914)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* node_p0, NimStringV2 key_p1);
N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA*, parseJson__pureZjson_u5632)(NimStringV2 buffer_p0, NIM_BOOL rawIntegers_p1, NIM_BOOL rawFloats_p2);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___pureZjson_u321)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, error__basicZconfigutils_u107)(NimStringV2 p_p0, NimStringV2* args_p1, NI args_p1Len_0);
N_LIB_PRIVATE N_NIMCALL(void, eqsink___pureZjson_u330)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA** dest_p0, tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* src_p1);
N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA*, newJArray__pureZjson_u503)(void);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___pureZjson_u20)(tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA e_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___pureZjson_u257)(tySequence__t6JKa4Kdxpc0RJiFEWRI9bw* dest_p0, tySequence__t6JKa4Kdxpc0RJiFEWRI9bw src_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___pureZjson_u324)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA** dest_p0, tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* src_p1);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, getStr__pureZjson_u551)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* n_p0, NimStringV2 default_p1);
static N_INLINE(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA*, X5BX5D___pureZjson_u3486)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* node_p0, NimStringV2 name_p1);
N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA**, X5BX5D___pureZjson_u3055)(tyObject_OrderedTable__RIgoItpMnyMLlEioBo9bQIA* t_p0, NimStringV2 key_p1);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, hasKey__pureZjson_u3599)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* node_p0, NimStringV2 key_p1);
N_LIB_PRIVATE N_NIMCALL(void, add__pureZjson_u659)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* father_p0, tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* child_p1);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___pureZjson_u254)(tySequence__t6JKa4Kdxpc0RJiFEWRI9bw dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqwasMoved___pureZjson_u318)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA** dest_p0);
N_LIB_PRIVATE N_NIMCALL(NI, len__pureZjson_u3436)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* n_p0);
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, dollar___systemZdollars_u14)(NI xX60gensym0__p0);
static N_INLINE(NIM_BOOL, isObjDisplayCheck)(TNimTypeV2* source_p0, NI16 targetDepth_p1, NU32 token_p2);
static N_INLINE(Exception*, nimBorrowCurrentException)(void);
static N_INLINE(Exception*, getCurrentException)(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, eqdestroy___basicZpackageinfos_u630)(tyObject_CatchableError__liO6E8JNJNTVmf9cnXKZiug* dest_p0);
static N_INLINE(void, popCurrentException)(void);
N_LIB_PRIVATE N_NIMCALL(void, close__pureZhttpclient_u2143)(tyObject_HttpClientBasecolonObjectType___qDWGISjAgnhGevjS3zDRKA* client_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___pureZhttpcore_u277)(tyObject_HttpHeaderscolonObjectType___BaFYu4PR2nlvZibU89b3Qqw* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___pureZnet_u1579)(tyObject_SslContextcolonObjectType___AhFePg9cWdCpCeTypFfYs7A* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___pureZhttpclient_u1244)(tyObject_HttpClientBasecolonObjectType___qDWGISjAgnhGevjS3zDRKA* dest_p0);
N_LIB_PRIVATE N_NIMCALL(void*, nimNewObj)(NI size_p0, NI alignment_p1);
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ, toTags__basicZpackageinfos_u170)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* j_p0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, containsOrIncl__basicZpackageinfos_u236)(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q* s_p0, NimStringV2 key_p1);
N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringV2* args_p0, NI args_p0Len_0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZpackageinfos_u145)(tyObject_PackageInfocolonObjectType___R0oWrMCYB9aDk5GcoIvq3ew* dest_p0);
N_LIB_PRIVATE N_NIMCALL(NI, len__basicZdeptypesjson_u836)(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q s_p0);
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___pureZhttpcore_u1193)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ x_p0);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___basicZversions_u5014)(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q* dest_p0);
static const struct {
  NI cap; NIM_CHAR data[13+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_2 = { 13 | NIM_STRLIT_FLAG, "Found package" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_3 = {13, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_2};
static const struct {
  NI cap; NIM_CHAR data[67+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_4 = { 67 | NIM_STRLIT_FLAG, "field \'url\' is not accessible for type \'PackageInfo\' using \'kind = " };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_5 = {67, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_4};
static const struct {
  NI cap; NIM_CHAR data[68+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_6 = { 68 | NIM_STRLIT_FLAG, "field \'tags\' is not accessible for type \'PackageInfo\' using \'kind = " };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_7 = {68, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_6};
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_8 = {13, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_2};
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_9 = {67, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_4};
static const struct {
  NI cap; NIM_CHAR data[90+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_10 = { 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__Faxf6zjVInq83A9aW9a18V0A_11 = {90, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_10};
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_12 = {90, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_10};
static const struct {
  NI cap; NIM_CHAR data[13+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_13 = { 13 | NIM_STRLIT_FLAG, "Using package" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_14 = {13, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_13};
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_15 = {90, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_10};
static const struct {
  NI cap; NIM_CHAR data[21+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_16 = { 21 | NIM_STRLIT_FLAG, "Nim-httpclient/2.2.10" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_17 = {21, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_16};
static const struct {
  NI cap; NIM_CHAR data[45+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_18 = { 45 | NIM_STRLIT_FLAG, "https://api.github.com/search/repositories\?q=" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_19 = {45, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_18};
static const struct {
  NI cap; NIM_CHAR data[13+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_20 = { 13 | NIM_STRLIT_FLAG, "+language:nim" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_21 = {13, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_20};
static const struct {
  NI cap; NIM_CHAR data[5+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_22 = { 5 | NIM_STRLIT_FLAG, "items" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_23 = {5, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_22};
static const struct {
  NI cap; NIM_CHAR data[13+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_24 = { 13 | NIM_STRLIT_FLAG, "github search" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_25 = {13, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_24};
static const struct {
  NI cap; NIM_CHAR data[27+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_27 = { 27 | NIM_STRLIT_FLAG, "got bad results from GitHub" };
static const struct {
  NI cap; NIM_CHAR data[84+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_28 = { 84 | NIM_STRLIT_FLAG, "json.nim(834, 3) `node.kind == JArray` : items() can not iterate a JsonNode of kind " };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_29 = {84, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_28};
static const struct {
  NI cap; NIM_CHAR data[69+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_30 = { 69 | NIM_STRLIT_FLAG, "field \'elems\' is not accessible for type \'JsonNodeObj\' using \'kind = " };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_31 = {69, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_30};
static const struct {
  NI cap; NIM_CHAR data[35+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_32 = { 35 | NIM_STRLIT_FLAG, "json.nim(521, 9) `not isNil(node)` " };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_33 = {35, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_32};
static const struct {
  NI cap; NIM_CHAR data[40+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_34 = { 40 | NIM_STRLIT_FLAG, "json.nim(522, 9) `node.kind == JObject` " };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_35 = {40, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_34};
static const struct {
  NI cap; NIM_CHAR data[70+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_36 = { 70 | NIM_STRLIT_FLAG, "field \'fields\' is not accessible for type \'JsonNodeObj\' using \'kind = " };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_37 = {70, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_36};
static const struct {
  NI cap; NIM_CHAR data[13+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_38 = { 13 | NIM_STRLIT_FLAG, "languages_url" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_39 = {13, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_38};
static const struct {
  NI cap; NIM_CHAR data[0+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_40 = { 0 | NIM_STRLIT_FLAG, "" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_41 = {0, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_40};
static const struct {
  NI cap; NIM_CHAR data[3+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_42 = { 3 | NIM_STRLIT_FLAG, "Nim" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_43 = {3, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_42};
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_44 = {90, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_10};
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_45 = {13, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_24};
static const struct {
  NI cap; NIM_CHAR data[58+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_47 = { 58 | NIM_STRLIT_FLAG, "no results found by Github quick search; doing full search" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_48 = {13, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_24};
static const struct {
  NI cap; NIM_CHAR data[38+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_50 = { 38 | NIM_STRLIT_FLAG, "no results found by Github full search" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_51 = {13, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_24};
static const struct {
  NI cap; NIM_CHAR data[6+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_52 = { 6 | NIM_STRLIT_FLAG, "found " };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_53 = {6, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_52};
static const struct {
  NI cap; NIM_CHAR data[18+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_54 = { 18 | NIM_STRLIT_FLAG, " results on GitHub" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_55 = {18, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_54};
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_56 = {13, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_24};
static const struct {
  NI cap; NIM_CHAR data[24+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_57 = { 24 | NIM_STRLIT_FLAG, "error searching github: " };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_58 = {24, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_57};
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_59 = {84, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_28};
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_60 = {69, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_30};
static const struct {
  NI cap; NIM_CHAR data[4+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_61 = { 4 | NIM_STRLIT_FLAG, "name" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_62 = {4, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_61};
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_63 = {0, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_40};
static const struct {
  NI cap; NIM_CHAR data[8+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_64 = { 8 | NIM_STRLIT_FLAG, "html_url" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_65 = {8, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_64};
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_66 = {0, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_40};
static const struct {
  NI cap; NIM_CHAR data[3+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_67 = { 3 | NIM_STRLIT_FLAG, "git" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_68 = {3, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_67};
static const struct {
  NI cap; NIM_CHAR data[6+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_69 = { 6 | NIM_STRLIT_FLAG, "topics" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_70 = {6, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_69};
static const struct {
  NI cap; NIM_CHAR data[11+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_71 = { 11 | NIM_STRLIT_FLAG, "description" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_72 = {11, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_71};
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_73 = {0, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_40};
static const struct {
  NI cap; NIM_CHAR data[7+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_74 = { 7 | NIM_STRLIT_FLAG, "license" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_75 = {7, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_74};
static const struct {
  NI cap; NIM_CHAR data[7+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_76 = { 7 | NIM_STRLIT_FLAG, "spdx_id" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_77 = {7, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_76};
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_78 = {0, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_40};
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_79 = {8, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_64};
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_80 = {0, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_40};
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_81 = {67, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_4};
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_82 = {90, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_10};
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_83 = {90, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_10};
static const struct {
  NI cap; NIM_CHAR data[20+1];
} TM__Faxf6zjVInq83A9aW9a18V0A_84 = { 20 | NIM_STRLIT_FLAG, "No PackageInfo found" };
static const NimStringV2 TM__Faxf6zjVInq83A9aW9a18V0A_85 = {20, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_84};
static NIM_CONST tyArray__YgExxhfgKcesA5EOUj1MOA TM__Faxf6zjVInq83A9aW9a18V0A_26 = {{27, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_27}}
;
static NIM_CONST tyArray__YgExxhfgKcesA5EOUj1MOA TM__Faxf6zjVInq83A9aW9a18V0A_46 = {{58, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_47}}
;
static NIM_CONST tyArray__YgExxhfgKcesA5EOUj1MOA TM__Faxf6zjVInq83A9aW9a18V0A_49 = {{38, (NimStrPayload*)&TM__Faxf6zjVInq83A9aW9a18V0A_50}}
;
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(NIM_BOOL*, nimErrorFlag)(void) {
	NIM_BOOL* result;
	result = (&nimInErrorMode__system_u4198);
	return result;
}
static N_INLINE(NimStringV2, toLower__pureZunicode_u7554)(NimStringV2 s_p0) {
	NimStringV2 result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result.len = 0; result.p = NIM_NIL;
	if ((s_p0.len-1)-((NI)0) != -1 && (((NI)0) < 0 || ((NI)0) >= s_p0.len || (s_p0.len-1) < 0 || (s_p0.len-1) >= s_p0.len)){ raiseIndexError4(((NI)0), (s_p0.len-1), s_p0.len); goto BeforeRet_;
	}
	result = nuctoLowerStr((((s_p0).p) ? ((NIM_CHAR*)s_p0.p->data+(((NI)0))) : NIM_NIL), ((s_p0.len-1))-(((NI)0))+1);
	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_: ;
}
static N_INLINE(void, eqdestroy___system_u281)(NimStringV2 x_p0) {
}
static N_INLINE(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA*, X5BX5D___pureZjson_u3486)(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* node_p0, NimStringV2 name_p1) {
	tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* result;
	tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA** T9_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = NIM_NIL;
	{
		if (!!(!((node_p0 == 0)))) goto LA3_;
		failedAssertImpl__stdZassertions_u95(TM__Faxf6zjVInq83A9aW9a18V0A_33);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
LA3_: ;
	{
		if (!!(((*node_p0).kind == ((tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA)5)))) goto LA7_;
		failedAssertImpl__stdZassertions_u95(TM__Faxf6zjVInq83A9aW9a18V0A_35);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
LA7_: ;
	if (!(((32 &((NU8)1<<((NU)(((*node_p0).kind))&7U)))!=0))) 	{ raiseFieldErrorStr(TM__Faxf6zjVInq83A9aW9a18V0A_37, dollar___pureZjson_u20((*node_p0).kind)); goto BeforeRet_;
	}
	T9_ = (tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA**)0;
	T9_ = X5BX5D___pureZjson_u3055((&(*node_p0)._kind_6.fields), name_p1);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	eqcopy___pureZjson_u324(&result, (*T9_));
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(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(Exception*, getCurrentException)(void) {
	Exception* result;
	result = NIM_NIL;
	eqcopy___system_u3719(&result, currException__system_u3686, NIM_FALSE);
	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(tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA*, singleGithubSearch__pkgsearch_u53)(NimStringV2 term_p0, NIM_BOOL fullSearch_p1) {
	tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* result;
	tyObject_HttpClientBasecolonObjectType___qDWGISjAgnhGevjS3zDRKA* client_1;
	tyObject_SslContextcolonObjectType___AhFePg9cWdCpCeTypFfYs7A* colontmpD_;
	tyObject_HttpHeaderscolonObjectType___BaFYu4PR2nlvZibU89b3Qqw* colontmpD__2;
	NimStringV2 searchUrl_1;
	NimStringV2 colontmpD__3;
	NimStringV2 x_1;
	tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* colontmpD__4;
	NimStringV2 T4_;
	NimStringV2 T5_;
	NimStringV2 T10_;
	tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* T11_;
	tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* T12_;
NIM_BOOL oldNimErrFin36_;
NIM_BOOL oldNimErrFin32_;
NIM_BOOL oldNimErrFin25_;
NIM_BOOL oldNimErrFin22_;
NIM_BOOL oldNimErrFin3_;
NIM_BOOL oldNimErrFin2_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = NIM_NIL;
	client_1 = NIM_NIL;
	colontmpD_ = NIM_NIL;
	colontmpD__2 = NIM_NIL;
	colontmpD_ = getDefaultSSL__pureZhttpclient_u385();
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	colontmpD__2 = newHttpHeaders__pureZhttpcore_u109(NIM_FALSE);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	client_1 = newHttpClient__pureZhttpclient_u1230(TM__Faxf6zjVInq83A9aW9a18V0A_17, ((NI)5), colontmpD_, ((tyObject_ProxycolonObjectType___1adNpKdVBJZguvplkL5T7A*) NIM_NIL), ((NI)-1), colontmpD__2);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	searchUrl_1.len = 0; searchUrl_1.p = NIM_NIL;
	colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
	x_1.len = 0; x_1.p = NIM_NIL;
	colontmpD__4 = NIM_NIL;
	T4_.len = 0; T4_.p = NIM_NIL;
	T5_.len = 0; T5_.p = NIM_NIL;
	T5_ = encodeUrl__pureZuri_u83(term_p0, NIM_TRUE);
	if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T5_); goto LA3_;}
	colontmpD__3 = T5_;
	T4_ = rawNewString(colontmpD__3.len + 45);
appendString((&T4_), TM__Faxf6zjVInq83A9aW9a18V0A_19);
appendString((&T4_), colontmpD__3);
	searchUrl_1 = T4_;
	{
		if (!!(fullSearch_p1)) goto LA8_;
		prepareAdd((&searchUrl_1), 13);
appendString((&searchUrl_1), TM__Faxf6zjVInq83A9aW9a18V0A_21);
	}
LA8_: ;
	T10_.len = 0; T10_.p = NIM_NIL;
	T10_ = getContent__basicZpackageinfos_u548(client_1, searchUrl_1);
	if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T10_); goto LA3_;}
	x_1 = T10_;
	T11_ = NIM_NIL;
	T11_ = parseJson__pureZjson_u5632(x_1, NIM_FALSE, NIM_FALSE);
	if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___pureZjson_u321(T11_); goto LA3_;}
	colontmpD__4 = T11_;
	T12_ = NIM_NIL;
	T12_ = getOrDefault__pureZjson_u3914(colontmpD__4, TM__Faxf6zjVInq83A9aW9a18V0A_23);
	if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___pureZjson_u321(T12_); goto LA3_;}
	result = T12_;
	{
		tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* T17_;
		if (!!(((*result).kind == ((tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA)6)))) goto LA15_;
		error__basicZconfigutils_u107(TM__Faxf6zjVInq83A9aW9a18V0A_25, TM__Faxf6zjVInq83A9aW9a18V0A_26, 1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA3_;
		T17_ = NIM_NIL;
		T17_ = newJArray__pureZjson_u503();
		if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___pureZjson_u321(T17_); goto LA3_;}
		eqsink___pureZjson_u330(&result, T17_);
		if (NIM_UNLIKELY(*nimErr_)) goto LA3_;
	}
LA15_: ;
	{
		tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* filtered_1;
		tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* T23_;
		if (!fullSearch_p1) goto LA20_;
		filtered_1 = NIM_NIL;
		T23_ = NIM_NIL;
		T23_ = newJArray__pureZjson_u503();
		if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___pureZjson_u321(T23_); goto LA22_;}
		filtered_1 = T23_;
		{
			tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* item_1;
			item_1 = NIM_NIL;
			{
				NimStringV2 colontmpD__5;
				NimStringV2 colontmpD__6;
				NimStringV2 T30_;
				if (!!(((*result).kind == ((tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA)6)))) goto LA28_;
				colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL;
				colontmpD__6.len = 0; colontmpD__6.p = NIM_NIL;
				T30_.len = 0; T30_.p = NIM_NIL;
				colontmpD__5 = dollar___pureZjson_u20((*result).kind);
				T30_ = rawNewString(colontmpD__5.len + 84);
appendString((&T30_), TM__Faxf6zjVInq83A9aW9a18V0A_29);
appendString((&T30_), colontmpD__5);
				colontmpD__6 = T30_;
				failedAssertImpl__stdZassertions_u95(colontmpD__6);
				if (NIM_UNLIKELY(*nimErr_)) goto LA25_;
				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);
}
			}
LA28_: ;
			{
				tySequence__t6JKa4Kdxpc0RJiFEWRI9bw colontmp_;
				tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA** i_1;
				NI i_2;
				NI L_1;
				NI T33_;
				colontmp_.len = 0; colontmp_.p = NIM_NIL;
				i_1 = (tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA**)0;
				if (!(((64 &((NU8)1<<((NU)(((*result).kind))&7U)))!=0))) 				{ raiseFieldErrorStr(TM__Faxf6zjVInq83A9aW9a18V0A_31, dollar___pureZjson_u20((*result).kind)); goto LA32_;
				}
				eqcopy___pureZjson_u257((&colontmp_), (*result)._kind_7.elems);
				if (NIM_UNLIKELY(*nimErr_)) goto LA32_;
				i_2 = ((NI)0);
				T33_ = colontmp_.len;
				L_1 = T33_;
				{
					while (1) {
						NimStringV2 queryUrl_1;
						tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* colontmpD__7;
						tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* langs_1;
						NimStringV2 colontmpD__8;
						tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* T37_;
						NimStringV2 T38_;
						NimStringV2 T39_;
						tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* T40_;
						if (!(i_2 < L_1)) goto LA35;
						queryUrl_1.len = 0; queryUrl_1.p = NIM_NIL;
						colontmpD__7 = NIM_NIL;
						langs_1 = NIM_NIL;
						colontmpD__8.len = 0; colontmpD__8.p = NIM_NIL;
						if (i_2 < 0 || i_2 >= colontmp_.len){ raiseIndexError2(i_2,colontmp_.len-1); goto LA36_;
						}
						i_1 = &colontmp_.p->data[i_2];
						eqcopy___pureZjson_u324(&item_1, (*i_1));
						if (NIM_UNLIKELY(*nimErr_)) goto LA36_;
						T37_ = NIM_NIL;
						T37_ = X5BX5D___pureZjson_u3486(item_1, TM__Faxf6zjVInq83A9aW9a18V0A_39);
						if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___pureZjson_u321(T37_); goto LA36_;}
						colontmpD__7 = T37_;
						T38_.len = 0; T38_.p = NIM_NIL;
						T38_ = getStr__pureZjson_u551(colontmpD__7, TM__Faxf6zjVInq83A9aW9a18V0A_41);
						if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T38_); goto LA36_;}
						queryUrl_1 = T38_;
						T39_.len = 0; T39_.p = NIM_NIL;
						T39_ = getContent__basicZpackageinfos_u548(client_1, queryUrl_1);
						if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T39_); goto LA36_;}
						colontmpD__8 = T39_;
						T40_ = NIM_NIL;
						T40_ = parseJson__pureZjson_u5632(colontmpD__8, NIM_FALSE, NIM_FALSE);
						if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___pureZjson_u321(T40_); goto LA36_;}
						langs_1 = T40_;
						{
							NIM_BOOL T43_;
							T43_ = (NIM_BOOL)0;
							T43_ = hasKey__pureZjson_u3599(langs_1, TM__Faxf6zjVInq83A9aW9a18V0A_43);
							if (NIM_UNLIKELY(*nimErr_)) goto LA36_;
							if (!T43_) goto LA44_;
							add__pureZjson_u659(filtered_1, item_1);
							if (NIM_UNLIKELY(*nimErr_)) goto LA36_;
						}
LA44_: ;
						i_2 += ((NI)1);
						{
							NI T48_;
							T48_ = colontmp_.len;
							if (!!((T48_ == L_1))) goto LA49_;
							failedAssertImpl__stdZassertions_u95(TM__Faxf6zjVInq83A9aW9a18V0A_44);
							if (NIM_UNLIKELY(*nimErr_)) goto LA36_;
						}
LA49_: ;
						{
							LA36_:;
						}
						{
							oldNimErrFin36_ = *nimErr_; *nimErr_ = NIM_FALSE;
							if (colontmpD__8.p && !(colontmpD__8.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__8.p);
}
							eqdestroy___pureZjson_u321(langs_1);
							if (NIM_UNLIKELY(*nimErr_)) goto LA32_;
							eqdestroy___pureZjson_u321(colontmpD__7);
							if (NIM_UNLIKELY(*nimErr_)) goto LA32_;
							if (queryUrl_1.p && !(queryUrl_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(queryUrl_1.p);
}
							*nimErr_ = oldNimErrFin36_;
						}
						if (NIM_UNLIKELY(*nimErr_)) goto LA32_;
					} LA35: ;
				}
				{
					LA32_:;
				}
				{
					oldNimErrFin32_ = *nimErr_; *nimErr_ = NIM_FALSE;
					eqdestroy___pureZjson_u254(colontmp_);
					if (NIM_UNLIKELY(*nimErr_)) goto LA25_;
					*nimErr_ = oldNimErrFin32_;
				}
				if (NIM_UNLIKELY(*nimErr_)) goto LA25_;
			}
			{
				LA25_:;
			}
			{
				oldNimErrFin25_ = *nimErr_; *nimErr_ = NIM_FALSE;
				eqdestroy___pureZjson_u321(item_1);
				if (NIM_UNLIKELY(*nimErr_)) goto LA22_;
				*nimErr_ = oldNimErrFin25_;
			}
			if (NIM_UNLIKELY(*nimErr_)) goto LA22_;
		}
		eqsink___pureZjson_u330(&result, filtered_1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA22_;
		eqwasMoved___pureZjson_u318(&filtered_1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA22_;
		{
			LA22_:;
		}
		{
			oldNimErrFin22_ = *nimErr_; *nimErr_ = NIM_FALSE;
			eqdestroy___pureZjson_u321(filtered_1);
			if (NIM_UNLIKELY(*nimErr_)) goto LA3_;
			*nimErr_ = oldNimErrFin22_;
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA3_;
	}
LA20_: ;
	{
		NI T61_;
		T61_ = (NI)0;
		T61_ = len__pureZjson_u3436(result);
		if (NIM_UNLIKELY(*nimErr_)) goto LA3_;
		if (!(T61_ == ((NI)0))) goto LA62_;
		{
			tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* T68_;
			if (!!(fullSearch_p1)) goto LA66_;
			trace__basicZgitops_u1126(TM__Faxf6zjVInq83A9aW9a18V0A_45, TM__Faxf6zjVInq83A9aW9a18V0A_46, 1);
			if (NIM_UNLIKELY(*nimErr_)) goto LA3_;
			T68_ = NIM_NIL;
			T68_ = singleGithubSearch__pkgsearch_u53(term_p0, NIM_TRUE);
			if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___pureZjson_u321(T68_); goto LA3_;}
			eqsink___pureZjson_u330(&result, T68_);
			if (NIM_UNLIKELY(*nimErr_)) goto LA3_;
		}
		goto LA64_;
LA66_: ;
		{
			trace__basicZgitops_u1126(TM__Faxf6zjVInq83A9aW9a18V0A_48, TM__Faxf6zjVInq83A9aW9a18V0A_49, 1);
			if (NIM_UNLIKELY(*nimErr_)) goto LA3_;
		}
LA64_: ;
	}
	goto LA59_;
LA62_: ;
	{
		NimStringV2 colontmpD__9;
		NimStringV2 colontmpD__10;
		tyArray__YgExxhfgKcesA5EOUj1MOA T72_;
		NimStringV2 T73_;
		NI T74_;
		NimStringV2 T75_;
		colontmpD__9.len = 0; colontmpD__9.p = NIM_NIL;
		colontmpD__10.len = 0; colontmpD__10.p = NIM_NIL;
		T73_.len = 0; T73_.p = NIM_NIL;
		T74_ = (NI)0;
		T74_ = len__pureZjson_u3436(result);
		if (NIM_UNLIKELY(*nimErr_)) goto LA71_;
		T75_.len = 0; T75_.p = NIM_NIL;
		T75_ = dollar___systemZdollars_u14(T74_);
		if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___system_u281(T75_); goto LA71_;}
		colontmpD__9 = T75_;
		T73_ = rawNewString(colontmpD__9.len + 24);
appendString((&T73_), TM__Faxf6zjVInq83A9aW9a18V0A_53);
appendString((&T73_), colontmpD__9);
appendString((&T73_), TM__Faxf6zjVInq83A9aW9a18V0A_55);
		colontmpD__10 = T73_;
		T72_[0] = colontmpD__10;
		trace__basicZgitops_u1126(TM__Faxf6zjVInq83A9aW9a18V0A_51, T72_, 1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA71_;
		{
			LA71_:;
		}
		{
			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 LA3_;
	}
LA59_: ;
	{
		LA3_:;
	}
	{
		oldNimErrFin3_ = *nimErr_; *nimErr_ = NIM_FALSE;
		eqdestroy___pureZjson_u321(colontmpD__4);
		if (NIM_UNLIKELY(*nimErr_)) goto LA2_;
		if (x_1.p && !(x_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(x_1.p);
}
		if (colontmpD__3.p && !(colontmpD__3.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__3.p);
}
		if (searchUrl_1.p && !(searchUrl_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(searchUrl_1.p);
}
		*nimErr_ = oldNimErrFin3_;
	}
	if (NIM_UNLIKELY(*nimErr_)) goto LA2_;
	if (NIM_UNLIKELY(*nimErr_)) {
		LA2_:;
		if (isObjDisplayCheck(nimBorrowCurrentException()->Sup.m_type, 2, 599397120)) {
			tyObject_CatchableError__liO6E8JNJNTVmf9cnXKZiug* exc_1;
			NimStringV2 colontmpD__11;
			Exception* T84_;
			tyArray__YgExxhfgKcesA5EOUj1MOA T85_;
			NimStringV2 T86_;
			tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* T87_;
			*nimErr_ = NIM_FALSE;
			exc_1 = NIM_NIL;
			colontmpD__11.len = 0; colontmpD__11.p = NIM_NIL;
			T84_ = NIM_NIL;
			T84_ = getCurrentException();
			exc_1 = ((tyObject_CatchableError__liO6E8JNJNTVmf9cnXKZiug*) (T84_));
			T86_.len = 0; T86_.p = NIM_NIL;
			T86_ = rawNewString((*exc_1).Sup.message.len + 24);
appendString((&T86_), TM__Faxf6zjVInq83A9aW9a18V0A_58);
appendString((&T86_), (*exc_1).Sup.message);
			colontmpD__11 = T86_;
			T85_[0] = colontmpD__11;
			error__basicZconfigutils_u107(TM__Faxf6zjVInq83A9aW9a18V0A_56, T85_, 1);
			if (NIM_UNLIKELY(*nimErr_)) goto LA83_;
			T87_ = NIM_NIL;
			T87_ = newJArray__pureZjson_u503();
			if (NIM_UNLIKELY(*nimErr_)) {eqdestroy___pureZjson_u321(T87_); goto LA83_;}
			result = T87_;
			{
				LA83_:;
			}
			{
				if (colontmpD__11.p && !(colontmpD__11.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__11.p);
}
				eqdestroy___basicZpackageinfos_u630(exc_1);
			}
			if (NIM_UNLIKELY(*nimErr_)) goto LA81_;
			popCurrentException();
			LA81_:;
		}
	}
	{
		oldNimErrFin2_ = *nimErr_; *nimErr_ = NIM_FALSE;
		close__pureZhttpclient_u2143(client_1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		*nimErr_ = oldNimErrFin2_;
	}
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		LA1_:;
	}
	{
		eqdestroy___pureZhttpcore_u277(colontmpD__2);
		eqdestroy___pureZnet_u1579(colontmpD_);
		eqdestroy___pureZhttpclient_u1244(client_1);
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, githubSearch__pkgsearch_u100)(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q* seen_p0, tySequence__sM4lkSb7zS6F7OVMvW9cffQ terms_p1) {
NIM_BOOL oldNimErrFin18_;
NIM_BOOL oldNimErrFin14_;
NIM_BOOL oldNimErrFin7_;
NIM_BOOL oldNimErrFin5_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	{
		NimStringV2* term_1;
		NI i_1;
		NI L_1;
		NI T2_;
		term_1 = (NimStringV2*)0;
		i_1 = ((NI)0);
		T2_ = terms_p1.len;
		L_1 = T2_;
		{
			while (1) {
				tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* gs_1;
				if (!(i_1 < L_1)) goto LA4;
				gs_1 = NIM_NIL;
				if (i_1 < 0 || i_1 >= terms_p1.len){ raiseIndexError2(i_1,terms_p1.len-1); goto LA5_;
				}
				term_1 = (&terms_p1.p->data[i_1]);
				gs_1 = singleGithubSearch__pkgsearch_u53((*term_1), NIM_FALSE);
				if (NIM_UNLIKELY(*nimErr_)) goto LA5_;
				{
					tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* j_1;
					j_1 = NIM_NIL;
					j_1 = 0;
					{
						NimStringV2 colontmpD_;
						NimStringV2 colontmpD__2;
						NimStringV2 T12_;
						if (!!(((*gs_1).kind == ((tyEnum_JsonNodeKind__iWE9brhI8kBHUww4QuE4NFA)6)))) goto LA10_;
						colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
						colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
						T12_.len = 0; T12_.p = NIM_NIL;
						colontmpD_ = dollar___pureZjson_u20((*gs_1).kind);
						T12_ = rawNewString(colontmpD_.len + 84);
appendString((&T12_), TM__Faxf6zjVInq83A9aW9a18V0A_59);
appendString((&T12_), colontmpD_);
						colontmpD__2 = T12_;
						failedAssertImpl__stdZassertions_u95(colontmpD__2);
						if (NIM_UNLIKELY(*nimErr_)) goto LA7_;
						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);
}
					}
LA10_: ;
					{
						tySequence__t6JKa4Kdxpc0RJiFEWRI9bw colontmp_;
						tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA** i_2;
						NI i_3;
						NI L_2;
						NI T15_;
						colontmp_.len = 0; colontmp_.p = NIM_NIL;
						i_2 = (tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA**)0;
						colontmp_.len = 0; colontmp_.p = NIM_NIL;
						if (!(((64 &((NU8)1<<((NU)(((*gs_1).kind))&7U)))!=0))) 						{ raiseFieldErrorStr(TM__Faxf6zjVInq83A9aW9a18V0A_60, dollar___pureZjson_u20((*gs_1).kind)); goto LA14_;
						}
						eqcopy___pureZjson_u257((&colontmp_), (*gs_1)._kind_7.elems);
						if (NIM_UNLIKELY(*nimErr_)) goto LA14_;
						i_3 = ((NI)0);
						T15_ = colontmp_.len;
						L_2 = T15_;
						{
							while (1) {
								tyObject_PackageInfocolonObjectType___R0oWrMCYB9aDk5GcoIvq3ew* p_1;
								tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* colontmpD__3;
								tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* colontmpD__4;
								tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* colontmpD__5;
								tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* colontmpD__6;
								tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* colontmpD__7;
								tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* colontmpD__8;
								tyObject_JsonNodeObj__bQ2G262bsUg9ad9bFtUdEj9aA* colontmpD__9;
								tyObject_PackageInfocolonObjectType___R0oWrMCYB9aDk5GcoIvq3ew* T19_;
								if (!(i_3 < L_2)) goto LA17;
								p_1 = NIM_NIL;
								colontmpD__3 = NIM_NIL;
								colontmpD__4 = NIM_NIL;
								colontmpD__5 = NIM_NIL;
								colontmpD__6 = NIM_NIL;
								colontmpD__7 = NIM_NIL;
								colontmpD__8 = NIM_NIL;
								colontmpD__9 = NIM_NIL;
								if (i_3 < 0 || i_3 >= colontmp_.len){ raiseIndexError2(i_3,colontmp_.len-1); goto LA18_;
								}
								i_2 = &colontmp_.p->data[i_3];
								eqcopy___pureZjson_u324(&j_1, (*i_2));
								if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
								T19_ = NIM_NIL;
								T19_ = (tyObject_PackageInfocolonObjectType___R0oWrMCYB9aDk5GcoIvq3ew*) nimNewObj(sizeof(tyObject_PackageInfocolonObjectType___R0oWrMCYB9aDk5GcoIvq3ew), NIM_ALIGNOF(tyObject_PackageInfocolonObjectType___R0oWrMCYB9aDk5GcoIvq3ew));
								(*T19_).kind = ((tyEnum_PackageKind__VnPGnYAiywvS9auJzQyUN8A)0);
								colontmpD__3 = getOrDefault__pureZjson_u3914(j_1, TM__Faxf6zjVInq83A9aW9a18V0A_62);
								if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
								(*T19_).name = getStr__pureZjson_u551(colontmpD__3, TM__Faxf6zjVInq83A9aW9a18V0A_63);
								if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
								colontmpD__4 = getOrDefault__pureZjson_u3914(j_1, TM__Faxf6zjVInq83A9aW9a18V0A_65);
								if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
								(*T19_)._kind_2.url = getStr__pureZjson_u551(colontmpD__4, TM__Faxf6zjVInq83A9aW9a18V0A_66);
								if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
								(*T19_)._kind_2.downloadMethod = TM__Faxf6zjVInq83A9aW9a18V0A_68;
								colontmpD__5 = getOrDefault__pureZjson_u3914(j_1, TM__Faxf6zjVInq83A9aW9a18V0A_70);
								if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
								(*T19_)._kind_2.tags = toTags__basicZpackageinfos_u170(colontmpD__5);
								if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
								colontmpD__6 = getOrDefault__pureZjson_u3914(j_1, TM__Faxf6zjVInq83A9aW9a18V0A_72);
								if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
								(*T19_)._kind_2.description = getStr__pureZjson_u551(colontmpD__6, TM__Faxf6zjVInq83A9aW9a18V0A_73);
								if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
								colontmpD__7 = getOrDefault__pureZjson_u3914(j_1, TM__Faxf6zjVInq83A9aW9a18V0A_75);
								if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
								colontmpD__8 = getOrDefault__pureZjson_u3914(colontmpD__7, TM__Faxf6zjVInq83A9aW9a18V0A_77);
								if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
								(*T19_)._kind_2.license = getStr__pureZjson_u551(colontmpD__8, TM__Faxf6zjVInq83A9aW9a18V0A_78);
								if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
								colontmpD__9 = getOrDefault__pureZjson_u3914(j_1, TM__Faxf6zjVInq83A9aW9a18V0A_79);
								if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
								(*T19_)._kind_2.web = getStr__pureZjson_u551(colontmpD__9, TM__Faxf6zjVInq83A9aW9a18V0A_80);
								if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
								(*T19_)._kind_2.version.len = 0; (*T19_)._kind_2.version.p = NIM_NIL;
								(*T19_)._kind_2.dvcsTag.len = 0; (*T19_)._kind_2.dvcsTag.p = NIM_NIL;
								p_1 = T19_;
								{
									NIM_BOOL T22_;
									NimStringV2 colontmpD__10;
									tyArray__YgExxhfgKcesA5EOUj1MOA T26_;
									if (!(((1 &((NU8)1<<((NU)(((*p_1).kind))&7U)))!=0))) 									{ raiseFieldErrorStr(TM__Faxf6zjVInq83A9aW9a18V0A_81, dollar___basicZpackageinfos_u19((*p_1).kind)); goto LA18_;
									}
									T22_ = (NIM_BOOL)0;
									T22_ = containsOrIncl__basicZpackageinfos_u236(seen_p0, (*p_1)._kind_2.url);
									if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
									if (!!(T22_)) goto LA23_;
									colontmpD__10.len = 0; colontmpD__10.p = NIM_NIL;
									colontmpD__10 = dollar___basicZpackageinfos_u167(p_1);
									if (NIM_UNLIKELY(*nimErr_)) goto LA25_;
									T26_[0] = colontmpD__10;
									echoBinSafe(T26_, 1);
									{
										LA25_:;
									}
									{
										if (colontmpD__10.p && !(colontmpD__10.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__10.p);
}
									}
									if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
								}
LA23_: ;
								i_3 += ((NI)1);
								{
									NI T31_;
									T31_ = colontmp_.len;
									if (!!((T31_ == L_2))) goto LA32_;
									failedAssertImpl__stdZassertions_u95(TM__Faxf6zjVInq83A9aW9a18V0A_82);
									if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
								}
LA32_: ;
								{
									LA18_:;
								}
								{
									oldNimErrFin18_ = *nimErr_; *nimErr_ = NIM_FALSE;
									eqdestroy___pureZjson_u321(colontmpD__9);
									if (NIM_UNLIKELY(*nimErr_)) goto LA14_;
									eqdestroy___pureZjson_u321(colontmpD__8);
									if (NIM_UNLIKELY(*nimErr_)) goto LA14_;
									eqdestroy___pureZjson_u321(colontmpD__7);
									if (NIM_UNLIKELY(*nimErr_)) goto LA14_;
									eqdestroy___pureZjson_u321(colontmpD__6);
									if (NIM_UNLIKELY(*nimErr_)) goto LA14_;
									eqdestroy___pureZjson_u321(colontmpD__5);
									if (NIM_UNLIKELY(*nimErr_)) goto LA14_;
									eqdestroy___pureZjson_u321(colontmpD__4);
									if (NIM_UNLIKELY(*nimErr_)) goto LA14_;
									eqdestroy___pureZjson_u321(colontmpD__3);
									if (NIM_UNLIKELY(*nimErr_)) goto LA14_;
									eqdestroy___basicZpackageinfos_u145(p_1);
									*nimErr_ = oldNimErrFin18_;
								}
								if (NIM_UNLIKELY(*nimErr_)) goto LA14_;
							} LA17: ;
						}
						{
							LA14_:;
						}
						{
							oldNimErrFin14_ = *nimErr_; *nimErr_ = NIM_FALSE;
							eqdestroy___pureZjson_u254(colontmp_);
							if (NIM_UNLIKELY(*nimErr_)) goto LA7_;
							*nimErr_ = oldNimErrFin14_;
						}
						if (NIM_UNLIKELY(*nimErr_)) goto LA7_;
					}
					{
						LA7_:;
					}
					{
						oldNimErrFin7_ = *nimErr_; *nimErr_ = NIM_FALSE;
						eqdestroy___pureZjson_u321(j_1);
						if (NIM_UNLIKELY(*nimErr_)) goto LA5_;
						*nimErr_ = oldNimErrFin7_;
					}
					if (NIM_UNLIKELY(*nimErr_)) goto LA5_;
				}
				i_1 += ((NI)1);
				{
					NI T42_;
					T42_ = terms_p1.len;
					if (!!((T42_ == L_1))) goto LA43_;
					failedAssertImpl__stdZassertions_u95(TM__Faxf6zjVInq83A9aW9a18V0A_83);
					if (NIM_UNLIKELY(*nimErr_)) goto LA5_;
				}
LA43_: ;
				{
					LA5_:;
				}
				{
					oldNimErrFin5_ = *nimErr_; *nimErr_ = NIM_FALSE;
					eqdestroy___pureZjson_u321(gs_1);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					*nimErr_ = oldNimErrFin5_;
				}
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			} LA4: ;
		}
	}
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, search__pkgsearch_u137)(tySequence__H3A42plY3ZGdd9cIkci4urw pkgList_p0, tySequence__sM4lkSb7zS6F7OVMvW9cffQ terms_p1) {
	tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q seen_1;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	nimZeroMem((void*)(&seen_1), sizeof(tyObject_HashSet__v3AgR4bnzCtqFMiyBA9al4Q));
	seen_1 = initHashSet__OOZOOZOOZcompilerZoptions_u1045(((NI)64));
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		tyObject_PackageInfocolonObjectType___R0oWrMCYB9aDk5GcoIvq3ew** pkg_1;
		NI i_1;
		NI L_1;
		NI T3_;
		pkg_1 = (tyObject_PackageInfocolonObjectType___R0oWrMCYB9aDk5GcoIvq3ew**)0;
		i_1 = ((NI)0);
		T3_ = pkgList_p0.len;
		L_1 = T3_;
		{
			while (1) {
				if (!(i_1 < L_1)) goto LA5;
				if (i_1 < 0 || i_1 >= pkgList_p0.len){ raiseIndexError2(i_1,pkgList_p0.len-1); goto LA1_;
				}
				pkg_1 = &pkgList_p0.p->data[i_1];
				{
					NI T8_;
					T8_ = terms_p1.len;
					if (!(((NI)0) < T8_)) goto LA9_;
					{
						{
							NimStringV2* term_1;
							NI i_2;
							NI L_2;
							NI T13_;
							term_1 = (NimStringV2*)0;
							i_2 = ((NI)0);
							T13_ = terms_p1.len;
							L_2 = T13_;
							{
								while (1) {
									NimStringV2 word_1;
									NimStringV2 colontmpD_;
									if (!(i_2 < L_2)) goto LA15;
									word_1.len = 0; word_1.p = NIM_NIL;
									colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
									if (i_2 < 0 || i_2 >= terms_p1.len){ raiseIndexError2(i_2,terms_p1.len-1); goto LA16_;
									}
									term_1 = (&terms_p1.p->data[i_2]);
									word_1 = toLower__pureZunicode_u7554((*term_1));
									if (NIM_UNLIKELY(*nimErr_)) goto LA16_;
									{
										NIM_BOOL T19_;
										NimStringV2 colontmpD__2;
										tyArray__YgExxhfgKcesA5EOUj1MOA T23_;
										colontmpD_ = toLower__pureZunicode_u7554((*(*pkg_1)).name);
										if (NIM_UNLIKELY(*nimErr_)) goto LA16_;
										T19_ = (NIM_BOOL)0;
										T19_ = contains__pureZstrutils_u1900(colontmpD_, word_1);
										if (NIM_UNLIKELY(*nimErr_)) goto LA16_;
										if (!T19_) goto LA20_;
										colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
										colontmpD__2 = dollar___basicZpackageinfos_u167((*pkg_1));
										if (NIM_UNLIKELY(*nimErr_)) goto LA22_;
										T23_[0] = colontmpD__2;
										info__basicZparse95requires_u40(TM__Faxf6zjVInq83A9aW9a18V0A_3, T23_, 1);
										if (NIM_UNLIKELY(*nimErr_)) goto LA22_;
										if (!(((1 &((NU8)1<<((NU)(((*(*pkg_1)).kind))&7U)))!=0))) 										{ raiseFieldErrorStr(TM__Faxf6zjVInq83A9aW9a18V0A_5, dollar___basicZpackageinfos_u19((*(*pkg_1)).kind)); goto LA22_;
										}
										incl__basicZversions_u858((&seen_1), (*(*pkg_1))._kind_2.url);
										if (NIM_UNLIKELY(*nimErr_)) goto LA22_;
										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 (word_1.p && !(word_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(word_1.p);
}
										goto LA11;
										{
											LA22_:;
										}
										{
											if (colontmpD__2.p && !(colontmpD__2.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__2.p);
}
										}
										if (NIM_UNLIKELY(*nimErr_)) goto LA16_;
									}
LA20_: ;
									{
										tySequence__sM4lkSb7zS6F7OVMvW9cffQ colontmp_;
										NimStringV2* tag_1;
										NI i_3;
										NI L_3;
										NI T28_;
										colontmp_.len = 0; colontmp_.p = NIM_NIL;
										tag_1 = (NimStringV2*)0;
										colontmp_.len = 0; colontmp_.p = NIM_NIL;
										if (!(((1 &((NU8)1<<((NU)(((*(*pkg_1)).kind))&7U)))!=0))) 										{ raiseFieldErrorStr(TM__Faxf6zjVInq83A9aW9a18V0A_7, dollar___basicZpackageinfos_u19((*(*pkg_1)).kind)); goto LA27_;
										}
										eqcopy___system_u5585((&colontmp_), (*(*pkg_1))._kind_2.tags);
										i_3 = ((NI)0);
										T28_ = colontmp_.len;
										L_3 = T28_;
										{
											while (1) {
												NimStringV2 colontmpD__3;
												if (!(i_3 < L_3)) goto LA30;
												colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
												if (i_3 < 0 || i_3 >= colontmp_.len){ raiseIndexError2(i_3,colontmp_.len-1); goto LA31_;
												}
												tag_1 = (&colontmp_.p->data[i_3]);
												{
													NIM_BOOL T34_;
													NimStringV2 colontmpD__4;
													tyArray__YgExxhfgKcesA5EOUj1MOA T38_;
													colontmpD__3 = toLower__pureZunicode_u7554((*tag_1));
													if (NIM_UNLIKELY(*nimErr_)) goto LA31_;
													T34_ = (NIM_BOOL)0;
													T34_ = contains__pureZstrutils_u1900(colontmpD__3, word_1);
													if (NIM_UNLIKELY(*nimErr_)) goto LA31_;
													if (!T34_) goto LA35_;
													colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
													colontmpD__4 = dollar___basicZpackageinfos_u167((*pkg_1));
													if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
													T38_[0] = colontmpD__4;
													info__basicZparse95requires_u40(TM__Faxf6zjVInq83A9aW9a18V0A_8, T38_, 1);
													if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
													if (!(((1 &((NU8)1<<((NU)(((*(*pkg_1)).kind))&7U)))!=0))) 													{ raiseFieldErrorStr(TM__Faxf6zjVInq83A9aW9a18V0A_9, dollar___basicZpackageinfos_u19((*(*pkg_1)).kind)); goto LA37_;
													}
													incl__basicZversions_u858((&seen_1), (*(*pkg_1))._kind_2.url);
													if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
													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);
}
													eqdestroy___system_u5582(colontmp_);
													if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
													if (word_1.p && !(word_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(word_1.p);
}
													goto LA11;
													{
														LA37_:;
													}
													{
														if (colontmpD__4.p && !(colontmpD__4.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__4.p);
}
													}
													if (NIM_UNLIKELY(*nimErr_)) goto LA31_;
												}
LA35_: ;
												i_3 += ((NI)1);
												{
													NI T43_;
													T43_ = colontmp_.len;
													if (!!((T43_ == L_3))) goto LA44_;
													failedAssertImpl__stdZassertions_u95(TM__Faxf6zjVInq83A9aW9a18V0A_11);
													if (NIM_UNLIKELY(*nimErr_)) goto LA31_;
												}
LA44_: ;
												{
													LA31_:;
												}
												{
													if (colontmpD__3.p && !(colontmpD__3.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__3.p);
}
												}
												if (NIM_UNLIKELY(*nimErr_)) goto LA27_;
											} LA30: ;
										}
										{
											LA27_:;
										}
										{
											eqdestroy___system_u5582(colontmp_);
										}
										if (NIM_UNLIKELY(*nimErr_)) goto LA16_;
									}
									i_2 += ((NI)1);
									{
										NI T52_;
										T52_ = terms_p1.len;
										if (!!((T52_ == L_2))) goto LA53_;
										failedAssertImpl__stdZassertions_u95(TM__Faxf6zjVInq83A9aW9a18V0A_12);
										if (NIM_UNLIKELY(*nimErr_)) goto LA16_;
									}
LA53_: ;
									{
										LA16_:;
									}
									{
										if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD_.p);
}
										if (word_1.p && !(word_1.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(word_1.p);
}
									}
									if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
								} LA15: ;
							}
						}
					} LA11: ;
				}
				goto LA6_;
LA9_: ;
				{
					NimStringV2 colontmpD__5;
					tyArray__YgExxhfgKcesA5EOUj1MOA T59_;
					colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL;
					colontmpD__5 = dollar___basicZpackageinfos_u167((*pkg_1));
					if (NIM_UNLIKELY(*nimErr_)) goto LA58_;
					T59_[0] = colontmpD__5;
					info__basicZparse95requires_u40(TM__Faxf6zjVInq83A9aW9a18V0A_14, T59_, 1);
					if (NIM_UNLIKELY(*nimErr_)) goto LA58_;
					{
						LA58_:;
					}
					{
						if (colontmpD__5.p && !(colontmpD__5.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__5.p);
}
					}
					if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
				}
LA6_: ;
				i_1 += ((NI)1);
				{
					NI T64_;
					T64_ = pkgList_p0.len;
					if (!!((T64_ == L_1))) goto LA65_;
					failedAssertImpl__stdZassertions_u95(TM__Faxf6zjVInq83A9aW9a18V0A_15);
					if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
				}
LA65_: ;
			} LA5: ;
		}
	}
	githubSearch__pkgsearch_u100((&seen_1), terms_p1);
	if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	{
		NIM_BOOL T69_;
		NI T70_;
		NI T72_;
		NimStringV2 colontmpD__6;
		tyArray__YgExxhfgKcesA5EOUj1MOA T76_;
		T69_ = (NIM_BOOL)0;
		T70_ = (NI)0;
		T70_ = len__basicZdeptypesjson_u836(seen_1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
		T69_ = (T70_ == ((NI)0));
		if (!(T69_)) goto LA71_;
		T72_ = terms_p1.len;
		T69_ = (((NI)0) < T72_);
LA71_: ;
		if (!T69_) goto LA73_;
		colontmpD__6.len = 0; colontmpD__6.p = NIM_NIL;
		colontmpD__6 = dollar___pureZhttpcore_u1193(terms_p1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA75_;
		T76_[0] = colontmpD__6;
		info__basicZparse95requires_u40(TM__Faxf6zjVInq83A9aW9a18V0A_85, T76_, 1);
		if (NIM_UNLIKELY(*nimErr_)) goto LA75_;
		{
			LA75_:;
		}
		{
			if (colontmpD__6.p && !(colontmpD__6.p->cap & NIM_STRLIT_FLAG)) {
 deallocShared(colontmpD__6.p);
}
		}
		if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
	}
LA73_: ;
	{
		LA1_:;
	}
	{
		eqdestroy___basicZversions_u5014((&seen_1));
	}
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
}
