1 /* Generated by Nim Compiler v1.6.2 */
2 #define NIM_INTBITS 64
3
4 #include "nimbase.h"
5 #include <string.h>
6 #include <stdio.h>
7 #undef LANGUAGE_C
8 #undef MIPSEB
9 #undef MIPSEL
10 #undef PPC
11 #undef R3000
12 #undef R4000
13 #undef i386
14 #undef linux
15 #undef mips
16 #undef near
17 #undef far
18 #undef powerpc
19 #undef unix
20 #define nimfr_(x, y)
21 #define nimln_(x, y)
22 typedef struct tyObject_LoadedModule__14iJKkvOiWT62KF2D8f9c5w tyObject_LoadedModule__14iJKkvOiWT62KF2D8f9c5w;
23 typedef struct tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ;
24 typedef struct NimStringDesc NimStringDesc;
25 typedef struct TGenericSeq TGenericSeq;
26 typedef struct tySequence__PXIzfWocnrafGz5p3CP5LA tySequence__PXIzfWocnrafGz5p3CP5LA;
27 typedef struct tySequence__9bAGqSvkAaFL9bWjsEPslrFA tySequence__9bAGqSvkAaFL9bWjsEPslrFA;
28 typedef struct tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw;
29 typedef struct tySequence__29bS0n2QNyO1R7e0qMMOvLA tySequence__29bS0n2QNyO1R7e0qMMOvLA;
30 typedef struct tySequence__b89aLriiJnVTD186H6zNIgg tySequence__b89aLriiJnVTD186H6zNIgg;
31 typedef struct tySequence__REuPuHuSlOkZ0Q5oqzDrQg tySequence__REuPuHuSlOkZ0Q5oqzDrQg;
32 typedef struct tySequence__48JTohSgTy339bRxHzUD8KA tySequence__48JTohSgTy339bRxHzUD8KA;
33 typedef struct tySequence__I9aQmO9asXXWJ58UI9c8BCSzA tySequence__I9aQmO9asXXWJ58UI9c8BCSzA;
34 typedef struct tySequence__NyaOkf8ZwxP6rkRF5TOkew tySequence__NyaOkf8ZwxP6rkRF5TOkew;
35 typedef struct tySequence__L9bOt8CaTEmIjgtuZvp6syg tySequence__L9bOt8CaTEmIjgtuZvp6syg;
36 typedef struct tySequence__im8UB2GsZvUaQ4a1wKGWhQ tySequence__im8UB2GsZvUaQ4a1wKGWhQ;
37 typedef struct tySequence__xxnXDLpoqBo8zJzP9b1073g tySequence__xxnXDLpoqBo8zJzP9b1073g;
38 typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
39 typedef struct tySequence__DfmUmNgVGnYaiV1I6227tw tySequence__DfmUmNgVGnYaiV1I6227tw;
40 typedef struct tySequence__t8Uv4lEJ4lkuECvP9c6JMhA tySequence__t8Uv4lEJ4lkuECvP9c6JMhA;
41 typedef struct tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg;
42 typedef struct tyObject_BiTable__DyMEQOe8VsqcG49bIhU69bBQ tyObject_BiTable__DyMEQOe8VsqcG49bIhU69bBQ;
43 typedef struct tySequence__IHUFRsFxZNv7YydiUO2esQ tySequence__IHUFRsFxZNv7YydiUO2esQ;
44 typedef struct tyObject_PackedConfig__McwvRupqDAJbGrinIDFZJQ tyObject_PackedConfig__McwvRupqDAJbGrinIDFZJQ;
45 typedef struct tySequence__eHqUwlHGGaPw0TDPDeL79cQ tySequence__eHqUwlHGGaPw0TDPDeL79cQ;
46 typedef struct tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A;
47 typedef struct tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ;
48 typedef struct tyObject_Table__CE4eiu6FavV1vmUiTXQ70g tyObject_Table__CE4eiu6FavV1vmUiTXQ70g;
49 typedef struct tySequence__9bT7o0CflHuiE4VhmtqBPCw tySequence__9bT7o0CflHuiE4VhmtqBPCw;
50 typedef struct TNimType TNimType;
51 typedef struct TNimNode TNimNode;
52 typedef struct tyTuple__0q9cmhneJEKnQERTpXXdz6Q tyTuple__0q9cmhneJEKnQERTpXXdz6Q;
53 typedef struct tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ;
54 typedef struct tyTuple__Q7r9caOmeWqQGZCIBHhGRUA tyTuple__Q7r9caOmeWqQGZCIBHhGRUA;
55 typedef struct tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ;
56 typedef struct tyTuple__7Wlwbz8zSe7Udyf7mmsd9cg tyTuple__7Wlwbz8zSe7Udyf7mmsd9cg;
57 typedef struct tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg;
58 typedef struct tyTuple__XyJ8LOAZzVVXSsmt09b8uWw tyTuple__XyJ8LOAZzVVXSsmt09b8uWw;
59 typedef struct tyObject_PackedInstantiation__39cWRURu69agjI9c1ohiUmxiA tyObject_PackedInstantiation__39cWRURu69agjI9c1ohiUmxiA;
60 typedef struct tySequence__vC9cvg0R8tfBaOXXi3sfMzw tySequence__vC9cvg0R8tfBaOXXi3sfMzw;
61 typedef struct tyTuple__9aoobCDZB4x41HJSOmh0mwA tyTuple__9aoobCDZB4x41HJSOmh0mwA;
62 typedef struct tyTuple__g0Q6Qx15nK53ce9aLo7YyrA tyTuple__g0Q6Qx15nK53ce9aLo7YyrA;
63 typedef struct tyObject_PackedSym__XjVn21MwvH8ij6CfopYZWw tyObject_PackedSym__XjVn21MwvH8ij6CfopYZWw;
64 typedef struct tyObject_PackedLib__oa01YzfeXO9bbIDH9cIki4Hw tyObject_PackedLib__oa01YzfeXO9bbIDH9cIki4Hw;
65 typedef struct tyObject_PackedType__IhXsK7mrwumUBtEqbZ2BqA tyObject_PackedType__IhXsK7mrwumUBtEqbZ2BqA;
66 typedef struct tyTuple__8x6vq4Dc9aLvKX9actMeR9avQ tyTuple__8x6vq4Dc9aLvKX9actMeR9avQ;
67 typedef struct tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA;
68 typedef struct tySequence__rQHmYk1HzcwNxKBymIFHpA tySequence__rQHmYk1HzcwNxKBymIFHpA;
69 typedef struct tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw;
70 typedef struct tyObject_Table__TRm6MPqklA8EYBmBMY117Q tyObject_Table__TRm6MPqklA8EYBmBMY117Q;
71 typedef struct tySequence__9cnx3zXnWzeclW8Ko4oUgAQ tySequence__9cnx3zXnWzeclW8Ko4oUgAQ;
72 typedef struct tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA;
73 typedef struct tyObject_TrunkcolonObjectType___POcWT53G7t0BSUjc31o0iA tyObject_TrunkcolonObjectType___POcWT53G7t0BSUjc31o0iA;
74 typedef struct tySequence__Bre9bNyuQOg1EJKitjSzn8w tySequence__Bre9bNyuQOg1EJKitjSzn8w;
75 typedef struct tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw;
76 typedef struct tyTuple__UvldbCB6B9ayi9bGYW7vJNLA tyTuple__UvldbCB6B9ayi9bGYW7vJNLA;
77 typedef struct tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw;
78 typedef struct tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg;
79 typedef struct tyObject_Target__9abOl5DLX8suLujOaHSvGzw tyObject_Target__9abOl5DLX8suLujOaHSvGzw;
80 typedef struct tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg;
81 typedef struct tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A;
82 typedef struct tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q;
83 typedef struct tySequence__tNFrR3kRuS1FSwuiLGoSSA tySequence__tNFrR3kRuS1FSwuiLGoSSA;
84 typedef struct tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA;
85 typedef struct tySequence__7lEisrXlQEzwtUKW5pzRCw tySequence__7lEisrXlQEzwtUKW5pzRCw;
86 typedef struct tySequence__Zi9cGbCWofbtABoHJ5RbLNQ tySequence__Zi9cGbCWofbtABoHJ5RbLNQ;
87 typedef struct tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg;
88 typedef struct tySequence__4eRCaZmrYLLw2k30GPTiMw tySequence__4eRCaZmrYLLw2k30GPTiMw;
89 typedef struct tyTuple__47w2DboNEPf69aPgubZdd7Q tyTuple__47w2DboNEPf69aPgubZdd7Q;
90 typedef struct tySequence__pK3qSsBZwdXd6qyUMkd5Jw tySequence__pK3qSsBZwdXd6qyUMkd5Jw;
91 typedef struct tyObject_SuggestcolonObjectType___bkMuTTb2G70XfpzAiyNrnQ tyObject_SuggestcolonObjectType___bkMuTTb2G70XfpzAiyNrnQ;
92 typedef struct tyObject_ProfileDatacolonObjectType___rPBBfFL4X0b9cQ6rfMNPXig tyObject_ProfileDatacolonObjectType___rPBBfFL4X0b9cQ6rfMNPXig;
93 typedef struct RootObj RootObj;
94 typedef struct tySequence__xv3aaFd3JCw8NbmALHiezQ tySequence__xv3aaFd3JCw8NbmALHiezQ;
95 typedef struct tyTuple__sPaDkVPSC0MkcoXCxPH9ccA tyTuple__sPaDkVPSC0MkcoXCxPH9ccA;
96 typedef struct tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow;
97 typedef struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g;
98 typedef struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w;
99 typedef struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ;
100 typedef struct tyObject_GcStack__7fytPA5bBsob6See21YMRA tyObject_GcStack__7fytPA5bBsob6See21YMRA;
101 typedef struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg;
102 typedef struct tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ;
103 typedef struct tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg;
104 typedef struct tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw;
105 typedef struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA;
106 typedef struct tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw;
107 typedef struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw;
108 typedef struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg;
109 typedef struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyTuple__ujsjpB2O9cjj3uDHsXbnSzg;
110 typedef struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg;
111 typedef struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ;
112 typedef struct tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg;
113 typedef struct tyObject_TIdObj__KUwfjfUQEwGHguQbTcXu7w tyObject_TIdObj__KUwfjfUQEwGHguQbTcXu7w;
114 typedef struct tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g;
115 typedef struct tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw;
116 typedef struct tyObject_TType__facALICuu8zUj0hjvbTLFg tyObject_TType__facALICuu8zUj0hjvbTLFg;
117 typedef struct tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA;
118 typedef struct tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA;
119 typedef struct tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA;
120 typedef struct tyTuple__7q7q3E6Oj24ZNVJb9aonhAg tyTuple__7q7q3E6Oj24ZNVJb9aonhAg;
121 typedef struct tyTuple__kN8up2W6YKc5YA9avn5mV5w tyTuple__kN8up2W6YKc5YA9avn5mV5w;
122 typedef struct tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ;
123 typedef struct tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw;
124 typedef struct tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ;
125 typedef struct tyObject_RodIter__Y6aA9bUtpfLvVVtyih9aAbQg tyObject_RodIter__Y6aA9bUtpfLvVVtyih9aAbQg;
126 typedef struct tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA;
127 typedef struct tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q;
128 typedef struct tyTuple__z822nu9bFF1AlQnLrHjdwpA tyTuple__z822nu9bFF1AlQnLrHjdwpA;
129 typedef struct tyTuple__xYhUhS7X82rKTqbT9bRfCnw tyTuple__xYhUhS7X82rKTqbT9bRfCnw;
130 typedef struct tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw;
131 typedef struct tyTuple__QeWl6B6ffS4pU6WWrtcrDw tyTuple__QeWl6B6ffS4pU6WWrtcrDw;
132 typedef struct tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg;
133 typedef NU8 tyEnum_ModuleStatus__MgSLMPwZ4GVYYz7Kn9bmm6Q;
134 struct TGenericSeq {
135 NI len;
136 NI reserved;
137 };
138 struct NimStringDesc {
139 TGenericSeq Sup;
140 NIM_CHAR data[SEQ_DECL_SIZE];
141 };
142 typedef NU64 tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw;
143 struct tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw {
144 tySequence__29bS0n2QNyO1R7e0qMMOvLA* nodes;
145 };
146 typedef NU8 tySet_tyEnum_ModuleBackendFlag__fgnyOEZ7Q9aYVj8O59afcT4g;
147 struct tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg {
148 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* vals;
149 tySequence__9bAGqSvkAaFL9bWjsEPslrFA* keys;
150 };
151 struct tyObject_BiTable__DyMEQOe8VsqcG49bIhU69bBQ {
152 tySequence__IHUFRsFxZNv7YydiUO2esQ* vals;
153 tySequence__9bAGqSvkAaFL9bWjsEPslrFA* keys;
154 };
155 typedef NU8 tyEnum_TBackend__4OBsgZ9cscH2JLUE5Wcz01g;
156 typedef NU8 tyEnum_TGCMode__tkz389aDYNd8ykeZszCuBSw;
157 typedef NU8 tyEnum_TSystemCC__1eWBJUonHMOnlBwsOvpFmA;
158 typedef NU32 tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg;
159 typedef NU64 tySet_tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw;
160 struct tyObject_PackedConfig__McwvRupqDAJbGrinIDFZJQ {
161 tyEnum_TBackend__4OBsgZ9cscH2JLUE5Wcz01g backend;
162 tyEnum_TGCMode__tkz389aDYNd8ykeZszCuBSw selectedGC;
163 tyEnum_TSystemCC__1eWBJUonHMOnlBwsOvpFmA cCompiler;
164 tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg options;
165 tySet_tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw globalOptions;
166 };
167 struct tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ {
168 NimStringDesc* definedSymbols;
169 tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw moduleFlags;
170 tySequence__PXIzfWocnrafGz5p3CP5LA* includes;
171 tySequence__9bAGqSvkAaFL9bWjsEPslrFA* imports;
172 tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw toReplay;
173 tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw topLevel;
174 tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw bodies;
175 tySequence__b89aLriiJnVTD186H6zNIgg* exports;
176 tySequence__b89aLriiJnVTD186H6zNIgg* hidden;
177 tySequence__REuPuHuSlOkZ0Q5oqzDrQg* reexports;
178 tySequence__b89aLriiJnVTD186H6zNIgg* compilerProcs;
179 tySequence__48JTohSgTy339bRxHzUD8KA* converters;
180 tySequence__48JTohSgTy339bRxHzUD8KA* methods;
181 tySequence__48JTohSgTy339bRxHzUD8KA* trmacros;
182 tySequence__48JTohSgTy339bRxHzUD8KA* pureEnums;
183 tySequence__I9aQmO9asXXWJ58UI9c8BCSzA* macroUsages;
184 tySequence__NyaOkf8ZwxP6rkRF5TOkew* typeInstCache;
185 tySequence__L9bOt8CaTEmIjgtuZvp6syg* procInstCache;
186 tySequence__im8UB2GsZvUaQ4a1wKGWhQ* attachedOps;
187 tySequence__xxnXDLpoqBo8zJzP9b1073g* methodsPerType;
188 tySequence__NyaOkf8ZwxP6rkRF5TOkew* enumToStringProcs;
189 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* emittedTypeInfo;
190 tySet_tyEnum_ModuleBackendFlag__fgnyOEZ7Q9aYVj8O59afcT4g backendFlags;
191 tySequence__DfmUmNgVGnYaiV1I6227tw* syms;
192 tySequence__t8Uv4lEJ4lkuECvP9c6JMhA* types;
193 tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg strings;
194 tyObject_BiTable__DyMEQOe8VsqcG49bIhU69bBQ numbers;
195 tyObject_PackedConfig__McwvRupqDAJbGrinIDFZJQ cfg;
196 };
197 struct tyObject_Table__CE4eiu6FavV1vmUiTXQ70g {
198 tySequence__9bT7o0CflHuiE4VhmtqBPCw* data;
199 NI counter;
200 };
201 struct tyObject_LoadedModule__14iJKkvOiWT62KF2D8f9c5w {
202 tyEnum_ModuleStatus__MgSLMPwZ4GVYYz7Kn9bmm6Q status;
203 NIM_BOOL symsInit;
204 NIM_BOOL typesInit;
205 NIM_BOOL loadedButAliveSetChanged;
206 tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ fromDisk;
207 tySequence__eHqUwlHGGaPw0TDPDeL79cQ* syms;
208 tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A* types;
209 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* module;
210 tyObject_Table__CE4eiu6FavV1vmUiTXQ70g iface;
211 tyObject_Table__CE4eiu6FavV1vmUiTXQ70g ifaceHidden;
212 };
213 typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
214 typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
215 typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
216 typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
217 struct TNimType {
218 NI size;
219 NI align;
220 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
221 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
222 TNimType* base;
223 TNimNode* node;
224 void* finalizer;
225 tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
226 tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
227 };
228 typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
229 struct TNimNode {
230 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
231 NI offset;
232 TNimType* typ;
233 NCSTRING name;
234 NI len;
235 TNimNode** sons;
236 };
237 struct tyTuple__0q9cmhneJEKnQERTpXXdz6Q {
238 NU32 Field0;
239 NimStringDesc* Field1;
240 };
241 struct tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ {
242 NU32 Field0;
243 NI32 Field1;
244 };
245 struct tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ {
246 NU32 module;
247 NI32 item;
248 };
249 struct tyTuple__Q7r9caOmeWqQGZCIBHhGRUA {
250 NU32 Field0;
251 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ Field1;
252 };
253 struct tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg {
254 NU16 line;
255 NI16 col;
256 NU32 file;
257 };
258 struct tyTuple__7Wlwbz8zSe7Udyf7mmsd9cg {
259 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ Field0;
260 tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg Field1;
261 };
262 struct tyTuple__XyJ8LOAZzVVXSsmt09b8uWw {
263 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ Field0;
264 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ Field1;
265 };
266 struct tyObject_PackedInstantiation__39cWRURu69agjI9c1ohiUmxiA {
267 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ key;
268 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ sym;
269 tySequence__vC9cvg0R8tfBaOXXi3sfMzw* concreteTypes;
270 };
271 typedef NU8 tyEnum_TTypeAttachedOp__Rp5P9bWYldQTLkZ7DytmxOg;
272 struct tyTuple__9aoobCDZB4x41HJSOmh0mwA {
273 tyEnum_TTypeAttachedOp__Rp5P9bWYldQTLkZ7DytmxOg Field0;
274 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ Field1;
275 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ Field2;
276 };
277 struct tyTuple__g0Q6Qx15nK53ce9aLo7YyrA {
278 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ Field0;
279 NI Field1;
280 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ Field2;
281 };
282 typedef NU8 tyEnum_ModuleBackendFlag__fgnyOEZ7Q9aYVj8O59afcT4g;
283 typedef NU8 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw;
284 typedef NU16 tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg;
285 typedef NU16 tySet_tyEnum_TLocFlag__o2bqJgR4ceIupnUSpxiudA;
286 typedef NU8 tyEnum_TLibKind__9b8v60kso59bBaw9cp8B9a9apKQ;
287 struct tyObject_PackedLib__oa01YzfeXO9bbIDH9cIki4Hw {
288 tyEnum_TLibKind__9b8v60kso59bBaw9cp8B9a9apKQ kind;
289 NIM_BOOL generated;
290 NIM_BOOL isOverriden;
291 NU32 name;
292 NI32 path;
293 };
294 struct tyObject_PackedSym__XjVn21MwvH8ij6CfopYZWw {
295 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw kind;
296 NU32 name;
297 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ typ;
298 tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw flags;
299 tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg magic;
300 tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg info;
301 NI32 ast;
302 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ owner;
303 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ guard;
304 NI bitsize;
305 NI alignment;
306 tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg options;
307 NI position;
308 NI offset;
309 NU32 externalName;
310 tySet_tyEnum_TLocFlag__o2bqJgR4ceIupnUSpxiudA locFlags;
311 tyObject_PackedLib__oa01YzfeXO9bbIDH9cIki4Hw annex;
312 NI32 constraint;
313 };
314 typedef NU8 tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag;
315 typedef NU8 tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA;
316 typedef NU64 tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw;
317 struct tyObject_PackedType__IhXsK7mrwumUBtEqbZ2BqA {
318 tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag kind;
319 tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA callConv;
320 tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw flags;
321 tySequence__vC9cvg0R8tfBaOXXi3sfMzw* types;
322 NI32 n;
323 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ sym;
324 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ owner;
325 NI64 size;
326 NI16 align;
327 NI16 paddingAtEnd;
328 NI16 lockLevel;
329 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ typeInst;
330 NI32 nonUniqueId;
331 };
332 struct tyTuple__8x6vq4Dc9aLvKX9actMeR9avQ {
333 NI Field0;
334 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* Field1;
335 tySequence__vC9cvg0R8tfBaOXXi3sfMzw* Field2;
336 };
337 struct tyObject_Table__TRm6MPqklA8EYBmBMY117Q {
338 tySequence__9cnx3zXnWzeclW8Ko4oUgAQ* data;
339 NI counter;
340 };
341 typedef NI tyArray__emiAJ8okywrJw7ZHLzlXbQ[34];
342 struct tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA {
343 NI elems;
344 NI counter;
345 NI max;
346 tyObject_TrunkcolonObjectType___POcWT53G7t0BSUjc31o0iA* head;
347 tySequence__Bre9bNyuQOg1EJKitjSzn8w* data;
348 tyArray__emiAJ8okywrJw7ZHLzlXbQ a;
349 };
350 struct tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw {
351 NI32 thisModule;
352 NI32 lastFile;
353 NU32 lastLit;
354 tyObject_Table__TRm6MPqklA8EYBmBMY117Q filenames;
355 tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A* pendingTypes;
356 tySequence__eHqUwlHGGaPw0TDPDeL79cQ* pendingSyms;
357 tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA typeMarker;
358 tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA symMarker;
359 tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config;
360 };
361 struct tyTuple__UvldbCB6B9ayi9bGYW7vJNLA {
362 NI Field0;
363 NI32 Field1;
364 NU32 Field2;
365 };
366 typedef NU8 tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ;
367 typedef NU8 tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA;
368 struct tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg {
369 FILE* f;
370 tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA currentSection;
371 tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ err;
372 };
373 typedef NU8 tyEnum_TSystemCPU__XYDt7D1G3qcClFyZy1Ky9ag;
374 typedef NU8 tyEnum_TSystemOS__s7Mlr1t66SUqP6BKJMXLaQ;
375 struct tyObject_Target__9abOl5DLX8suLujOaHSvGzw {
376 tyEnum_TSystemCPU__XYDt7D1G3qcClFyZy1Ky9ag targetCPU;
377 tyEnum_TSystemCPU__XYDt7D1G3qcClFyZy1Ky9ag hostCPU;
378 tyEnum_TSystemOS__s7Mlr1t66SUqP6BKJMXLaQ targetOS;
379 tyEnum_TSystemOS__s7Mlr1t66SUqP6BKJMXLaQ hostOS;
380 NI intSize;
381 NI floatSize;
382 NI ptrSize;
383 NimStringDesc* tnl;
384 };
385 struct tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q {
386 NU16 line;
387 NI16 col;
388 NI32 fileIndex;
389 };
390 typedef NU8 tySet_tyEnum_TErrorOutput__fBf8Teueoz9aAkO5cXaxrpA;
391 struct tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA {
392 tySequence__7lEisrXlQEzwtUKW5pzRCw* data;
393 NI counter;
394 };
395 struct tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A {
396 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q trackPos;
397 NIM_BOOL trackPosAttached;
398 tySet_tyEnum_TErrorOutput__fBf8Teueoz9aAkO5cXaxrpA errorOutputs;
399 tySequence__tNFrR3kRuS1FSwuiLGoSSA* msgContext;
400 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q lastError;
401 tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA filenameToIndexTbl;
402 tySequence__Zi9cGbCWofbtABoHJ5RbLNQ* fileInfos;
403 NI32 systemFileIdx;
404 };
405 typedef NU8 tyEnum_FilenameOption__eL86bAtPxXWHj24F5gOMFQ;
406 typedef NU8 tyEnum_Command__0zjcIQ623TIRGPdtjLwTFA;
407 typedef NU8 tyEnum_ExceptionSystem__1mkAogyaDAT7g9cQjzsgKLQ;
408 typedef NU8 tyEnum_SymbolFilesOption__gBES9bqm1ru9ape8SeMRAFgQ;
409 struct tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg {
410 tySequence__4eRCaZmrYLLw2k30GPTiMw* data;
411 NI counter;
412 };
413 typedef NU32 tySet_tyEnum_Feature__01UoAKYz1MxZiuG1X2VhNQ;
414 typedef NU8 tySet_tyEnum_LegacyFeature__hGCD9aOrxPvpXn4Ne6W6OVA;
415 typedef NU8 tyEnum_IdeCmd__1Ced39bl5eePmZ1PKMPXigQ;
416 typedef NU8 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug[11];
417 struct tyTuple__47w2DboNEPf69aPgubZdd7Q {
418 NI Field0;
419 NI Field1;
420 NI Field2;
421 };
422 typedef NU8 tySet_tyEnum_StdOrrKind__6cbmyTzDPaZU9afMe4mz3Ug;
423 typedef struct {
424 N_NIMCALL_PTR(void, ClP_0) (tyObject_SuggestcolonObjectType___bkMuTTb2G70XfpzAiyNrnQ* result, void* ClE_0);
425 void* ClE_0;
426 } tyProc__YD0MR9bJ2x4beJkZdnjXN9cA;
427 typedef struct {
428 N_NIMCALL_PTR(void, ClP_0) (NimStringDesc* output, void* ClE_0);
429 void* ClE_0;
430 } tyProc__k2HFjxisIgDALbEUFojxaQ;
431 typedef NU8 tyEnum_Severity__x5BWBPGAbIH9clm5pmNp5DA;
432 typedef struct {
433 N_NIMCALL_PTR(void, ClP_0) (tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, NimStringDesc* msg, tyEnum_Severity__x5BWBPGAbIH9clm5pmNp5DA severity, void* ClE_0);
434 void* ClE_0;
435 } tyProc__oL9coyIA2VDTGdUcur9aL9bew;
436 struct tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw {
437 tyEnum_TBackend__4OBsgZ9cscH2JLUE5Wcz01g backend;
438 tyObject_Target__9abOl5DLX8suLujOaHSvGzw target;
439 NI linesCompiled;
440 tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg options;
441 tySet_tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw globalOptions;
442 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* macrosToExpand;
443 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* arcToExpand;
444 tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A m;
445 tyEnum_FilenameOption__eL86bAtPxXWHj24F5gOMFQ filenameOption;
446 NimStringDesc* unitSep;
447 NI evalTemplateCounter;
448 NI evalMacroCounter;
449 NI8 exitcode;
450 tyEnum_Command__0zjcIQ623TIRGPdtjLwTFA cmd;
451 NimStringDesc* cmdInput;
452 NIM_BOOL projectIsCmd;
453 NIM_BOOL implicitCmd;
454 tyEnum_TGCMode__tkz389aDYNd8ykeZszCuBSw selectedGC;
455 tyEnum_ExceptionSystem__1mkAogyaDAT7g9cQjzsgKLQ exc;
456 NIM_BOOL hintProcessingDots;
457 NI verbosity;
458 NI numberOfProcessors;
459 NF lastCmdTime;
460 tyEnum_SymbolFilesOption__gBES9bqm1ru9ape8SeMRAFgQ symbolFiles;
461 NI spellSuggestMax;
462 tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg cppDefines;
463 NimStringDesc* headerFile;
464 tySet_tyEnum_Feature__01UoAKYz1MxZiuG1X2VhNQ features;
465 tySet_tyEnum_LegacyFeature__hGCD9aOrxPvpXn4Ne6W6OVA legacyFeatures;
466 NimStringDesc* arguments;
467 tyEnum_IdeCmd__1Ced39bl5eePmZ1PKMPXigQ ideCmd;
468 NIM_BOOL oldNewlines;
469 tyEnum_TSystemCC__1eWBJUonHMOnlBwsOvpFmA cCompiler;
470 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug modifiedyNotes;
471 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug cmdlineNotes;
472 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug foreignPackageNotes;
473 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug notes;
474 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug warningAsErrors;
475 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug mainPackageNotes;
476 NI mainPackageId;
477 NI errorCounter;
478 NI hintCounter;
479 NI warnCounter;
480 NI errorMax;
481 NI maxLoopIterationsVM;
482 NIM_BOOL isVmTrace;
483 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* configVars;
484 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* symbols;
485 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* packageCache;
486 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* nimblePaths;
487 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* searchPaths;
488 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* lazyPaths;
489 NimStringDesc* outFile;
490 NimStringDesc* outDir;
491 NimStringDesc* jsonBuildFile;
492 NimStringDesc* prefixDir;
493 NimStringDesc* libpath;
494 NimStringDesc* nimcacheDir;
495 tyTuple__47w2DboNEPf69aPgubZdd7Q nimStdlibVersion;
496 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* dllOverrides;
497 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* moduleOverrides;
498 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* cfileSpecificOptions;
499 NimStringDesc* projectName;
500 NimStringDesc* projectPath;
501 NimStringDesc* projectFull;
502 NIM_BOOL projectIsStdin;
503 tySet_tyEnum_StdOrrKind__6cbmyTzDPaZU9afMe4mz3Ug lastMsgWasDot;
504 NI32 projectMainIdx;
505 NI32 projectMainIdx2;
506 NimStringDesc* command;
507 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* commandArgs;
508 NimStringDesc* commandLine;
509 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* extraCmds;
510 NIM_BOOL keepComments;
511 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* implicitImports;
512 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* implicitIncludes;
513 NimStringDesc* docSeeSrcUrl;
514 NimStringDesc* docRoot;
515 NimStringDesc* docCmd;
516 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* configFiles;
517 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cIncludes;
518 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cLibs;
519 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cLinkedLibs;
520 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* externalToLink;
521 NimStringDesc* linkOptionsCmd;
522 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* compileOptionsCmd;
523 NimStringDesc* linkOptions;
524 NimStringDesc* compileOptions;
525 NimStringDesc* cCompilerPath;
526 tySequence__pK3qSsBZwdXd6qyUMkd5Jw* toCompile;
527 tyProc__YD0MR9bJ2x4beJkZdnjXN9cA suggestionResultHook;
528 NI suggestVersion;
529 NI suggestMaxResults;
530 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q lastLineInfo;
531 tyProc__k2HFjxisIgDALbEUFojxaQ writelnHook;
532 tyProc__oL9coyIA2VDTGdUcur9aL9bew structuredErrorHook;
533 NimStringDesc* cppCustomNamespace;
534 NimStringDesc* nimMainPrefix;
535 tyObject_ProfileDatacolonObjectType___rPBBfFL4X0b9cQ6rfMNPXig* vmProfileData;
536 };
537 struct RootObj {
538 TNimType* m_type;
539 };
540 typedef NU8 tyEnum_StringTableMode__G9c4wVDFIzf0xHmQvxso9a9cQ;
541 struct tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg {
542 RootObj Sup;
543 NI counter;
544 tySequence__xv3aaFd3JCw8NbmALHiezQ* data;
545 tyEnum_StringTableMode__G9c4wVDFIzf0xHmQvxso9a9cQ mode;
546 };
547 struct tyTuple__sPaDkVPSC0MkcoXCxPH9ccA {
548 NimStringDesc* Field0;
549 NimStringDesc* Field1;
550 NIM_BOOL Field2;
551 };
552 typedef NU8 tyArray__YtcvxHNKV4YiecPE9ap1mcA[20];
553 typedef NU8 tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw;
554 typedef NU32 tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg;
555 struct tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow {
556 tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind;
557 tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg flags;
558 NI32 operand;
559 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ typeId_0;
560 tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg info;
561 };
562 typedef NU8 tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw;
563 struct tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA {
564 NI id;
565 NimStringDesc* s;
566 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* next;
567 NI h;
568 };
569 struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {
570 NI refcount;
571 TNimType* typ;
572 };
573 struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {
574 void* bottom;
575 };
576 struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {
577 NI len;
578 NI cap;
579 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
580 };
581 typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SPr7N6UKfuF549bNPiUvSRw[256];
582 typedef NU32 tyArray__BHbOSqU1t9b3Gt7K2c6fQig[24];
583 typedef tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* tyArray__N1u1nqOgmuJN9cSZrnMHgOQ[32];
584 typedef tyArray__N1u1nqOgmuJN9cSZrnMHgOQ tyArray__B6durA4ZCi1xjJvRtyYxMg[24];
585 typedef tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* tyArray__lh2A89ahMmYg9bCmpVaplLbA[256];
586 struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA {
587 tyArray__lh2A89ahMmYg9bCmpVaplLbA data;
588 };
589 typedef tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* tyArray__0aOLqZchNi8nWtMTi8ND8w[2];
590 struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw {
591 tyArray__0aOLqZchNi8nWtMTi8ND8w link;
592 NI key;
593 NI upperBound;
594 NI level;
595 };
596 struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg {
597 tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* Field0;
598 NI Field1;
599 };
600 typedef tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyArray__LzOv2eCDGiceMKQstCLmhw[30];
601 struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg {
602 NI len;
603 tyArray__LzOv2eCDGiceMKQstCLmhw chunks;
604 tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* next;
605 };
606 struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg {
607 NI minLargeObj;
608 NI maxLargeObj;
609 tyArray__SPr7N6UKfuF549bNPiUvSRw freeSmallChunks;
610 NU32 flBitmap;
611 tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
612 tyArray__B6durA4ZCi1xjJvRtyYxMg matrix;
613 tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem;
614 NI currMem;
615 NI maxMem;
616 NI freeMem;
617 NI occ;
618 NI lastSize;
619 tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
620 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root;
621 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted;
622 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last;
623 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
624 NIM_BOOL locked;
625 NIM_BOOL blockChunkSizeIncrease;
626 NI nextChunkSize;
627 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData;
628 tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
629 };
630 struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {
631 NI stackScans;
632 NI cycleCollections;
633 NI maxThreshold;
634 NI maxStackSize;
635 NI maxStackCells;
636 NI cycleTableSize;
637 NI64 maxPause;
638 };
639 struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {
640 NI counter;
641 NI max;
642 tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head;
643 tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data;
644 };
645 struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {
646 tyObject_GcStack__7fytPA5bBsob6See21YMRA stack;
647 NI cycleThreshold;
648 NI zctThreshold;
649 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct;
650 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack;
651 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack;
652 NI recGcLock;
653 tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region;
654 tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat;
655 tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked;
656 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots;
657 NI gcThreadId;
658 };
659 struct tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g {
660 NI32 module;
661 NI32 item;
662 };
663 struct tyObject_TIdObj__KUwfjfUQEwGHguQbTcXu7w {
664 RootObj Sup;
665 tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g itemId;
666 };
667 typedef NU8 tyEnum_TLocKind__O7PRFZKuiBBWbku09cayVBg;
668 typedef NU8 tyEnum_TStorageLoc__JK9cKMX3XnqHaUky9b6gkGEw;
669 struct tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA {
670 tyEnum_TLocKind__O7PRFZKuiBBWbku09cayVBg k;
671 tyEnum_TStorageLoc__JK9cKMX3XnqHaUky9b6gkGEw storage;
672 tySet_tyEnum_TLocFlag__o2bqJgR4ceIupnUSpxiudA flags;
673 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* lode;
674 tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* r;
675 };
676 struct tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ {
677 tyObject_TIdObj__KUwfjfUQEwGHguQbTcXu7w Sup;
678 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw kind;
679 union{
680 struct {tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* gcUnsafetyReason;
681 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* transformedBody;
682 } _kind_1;
683 struct {tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* guard;
684 NI bitsize;
685 NI alignment;
686 } _kind_2;
687 };
688 tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg magic;
689 tyObject_TType__facALICuu8zUj0hjvbTLFg* typ;
690 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* name;
691 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info;
692 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner;
693 tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw flags;
694 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ast;
695 tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg options;
696 NI position;
697 NI offset;
698 tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA loc;
699 tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA* annex;
700 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* constraint;
701 };
702 struct tyTuple__7q7q3E6Oj24ZNVJb9aonhAg {
703 NimStringDesc* Field0;
704 NimStringDesc* Field1;
705 NimStringDesc* Field2;
706 };
707 typedef NU8 tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w;
708 typedef NU8 tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw;
709 struct tyTuple__kN8up2W6YKc5YA9avn5mV5w {
710 NimStringDesc* Field0;
711 NI Field1;
712 NI Field2;
713 };
714 struct tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw {
715 tyObject_TType__facALICuu8zUj0hjvbTLFg* typ;
716 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info;
717 tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg flags;
718 tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind;
719 union{
720 struct {NI64 intVal;
721 } _kind_1;
722 struct {NF floatVal;
723 } _kind_2;
724 struct {NimStringDesc* strVal;
725 } _kind_3;
726 struct {tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* sym;
727 } _kind_4;
728 struct {tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* ident;
729 } _kind_5;
730 struct {tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ* sons;
731 } _kind_6;
732 };
733 };
734 struct tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw {
735 NI lastModule;
736 NU32 lastLit;
737 NI32 lastFile;
738 tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config;
739 tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache;
740 };
741 struct tyObject_TType__facALICuu8zUj0hjvbTLFg {
742 tyObject_TIdObj__KUwfjfUQEwGHguQbTcXu7w Sup;
743 tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag kind;
744 tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA callConv;
745 tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw flags;
746 tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A* sons;
747 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n;
748 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner;
749 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* sym;
750 NI64 size;
751 NI16 align;
752 NI16 paddingAtEnd;
753 NI16 lockLevel;
754 tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA loc;
755 tyObject_TType__facALICuu8zUj0hjvbTLFg* typeInst;
756 tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g uniqueId;
757 };
758 struct tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA {
759 tyEnum_TLibKind__9b8v60kso59bBaw9cp8B9a9apKQ kind;
760 NIM_BOOL generated;
761 NIM_BOOL isOverriden;
762 tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* name;
763 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* path;
764 };
765 struct tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA {
766 RootObj Sup;
767 tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* left;
768 tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* right;
769 NI L;
770 NimStringDesc* data;
771 };
772 struct tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ {
773 NI Field0;
774 NI Field1;
775 };
776 typedef NU8 tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw;
777 typedef NimStringDesc* tyArray__sMpvt1sOxOJ3LFGulnbeMQ[4];
778 struct tyObject_RodIter__Y6aA9bUtpfLvVVtyih9aAbQg {
779 tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw decoder;
780 tySequence__vC9cvg0R8tfBaOXXi3sfMzw* values;
781 NI i;
782 NI module;
783 };
784 struct tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA {
785 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* sym;
786 tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A* concreteTypes;
787 NI compilesId;
788 };
789 struct tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q {
790 NI32 module;
791 NI32 symId;
792 NI32 typeId_0;
793 NIM_BOOL sealed;
794 };
795 typedef NimStringDesc* tyArray__nHXaesL0DJZHyVS07ARPRA[1];
796 typedef NimStringDesc* tyArray__Re75IspeoxXy2oCZHwcRrA[2];
797 typedef NimStringDesc* tyArray__yt5VDPNtUGx9cBkOVakHwdQ[6];
798 typedef NimStringDesc* tyArray__ucDUDWdKfioXQrN9bCbG29bg[12];
799 struct tyTuple__z822nu9bFF1AlQnLrHjdwpA {
800 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q Field0;
801 NimStringDesc* Field1;
802 };
803 struct tyTuple__xYhUhS7X82rKTqbT9bRfCnw {
804 NI Field0;
805 NimStringDesc* Field1;
806 NI32 Field2;
807 };
808 struct tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw {
809 NimStringDesc* fullPath;
810 NimStringDesc* projPath;
811 NimStringDesc* shortName;
812 tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* quotedName;
813 tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* quotedFullName;
814 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* lines;
815 NimStringDesc* dirtyFile;
816 NimStringDesc* hash;
817 NIM_BOOL dirty;
818 };
819 struct tyTuple__QeWl6B6ffS4pU6WWrtcrDw {
820 NI Field0;
821 NimStringDesc* Field1;
822 };
823 typedef NU8 tySet_tyEnum_CfileFlag__Vl9c9ayddDuXiWtnWTsEYGsA;
824 struct tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg {
825 NimStringDesc* nimname;
826 NimStringDesc* cname;
827 NimStringDesc* obj;
828 tySet_tyEnum_CfileFlag__Vl9c9ayddDuXiWtnWTsEYGsA flags;
829 NimStringDesc* customArgs;
830 };
831 struct tySequence__PXIzfWocnrafGz5p3CP5LA {
832 TGenericSeq Sup;
833 tyTuple__0q9cmhneJEKnQERTpXXdz6Q data[SEQ_DECL_SIZE];
834 };
835 struct tySequence__9bAGqSvkAaFL9bWjsEPslrFA {
836 TGenericSeq Sup;
837 NU32 data[SEQ_DECL_SIZE];
838 };
839 struct tySequence__b89aLriiJnVTD186H6zNIgg {
840 TGenericSeq Sup;
841 tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ data[SEQ_DECL_SIZE];
842 };
843 struct tySequence__REuPuHuSlOkZ0Q5oqzDrQg {
844 TGenericSeq Sup;
845 tyTuple__Q7r9caOmeWqQGZCIBHhGRUA data[SEQ_DECL_SIZE];
846 };
847 struct tySequence__48JTohSgTy339bRxHzUD8KA {
848 TGenericSeq Sup;
849 NI32 data[SEQ_DECL_SIZE];
850 };
851 struct tySequence__I9aQmO9asXXWJ58UI9c8BCSzA {
852 TGenericSeq Sup;
853 tyTuple__7Wlwbz8zSe7Udyf7mmsd9cg data[SEQ_DECL_SIZE];
854 };
855 struct tySequence__NyaOkf8ZwxP6rkRF5TOkew {
856 TGenericSeq Sup;
857 tyTuple__XyJ8LOAZzVVXSsmt09b8uWw data[SEQ_DECL_SIZE];
858 };
859 struct tySequence__L9bOt8CaTEmIjgtuZvp6syg {
860 TGenericSeq Sup;
861 tyObject_PackedInstantiation__39cWRURu69agjI9c1ohiUmxiA data[SEQ_DECL_SIZE];
862 };
863 struct tySequence__im8UB2GsZvUaQ4a1wKGWhQ {
864 TGenericSeq Sup;
865 tyTuple__9aoobCDZB4x41HJSOmh0mwA data[SEQ_DECL_SIZE];
866 };
867 struct tySequence__xxnXDLpoqBo8zJzP9b1073g {
868 TGenericSeq Sup;
869 tyTuple__g0Q6Qx15nK53ce9aLo7YyrA data[SEQ_DECL_SIZE];
870 };
871 struct tySequence__DfmUmNgVGnYaiV1I6227tw {
872 TGenericSeq Sup;
873 tyObject_PackedSym__XjVn21MwvH8ij6CfopYZWw data[SEQ_DECL_SIZE];
874 };
875 struct tySequence__t8Uv4lEJ4lkuECvP9c6JMhA {
876 TGenericSeq Sup;
877 tyObject_PackedType__IhXsK7mrwumUBtEqbZ2BqA data[SEQ_DECL_SIZE];
878 };
879 struct tySequence__IHUFRsFxZNv7YydiUO2esQ {
880 TGenericSeq Sup;
881 NI64 data[SEQ_DECL_SIZE];
882 };
883 struct tySequence__vC9cvg0R8tfBaOXXi3sfMzw {
884 TGenericSeq Sup;
885 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ data[SEQ_DECL_SIZE];
886 };
887 struct tySequence__9bT7o0CflHuiE4VhmtqBPCw {
888 TGenericSeq Sup;
889 tyTuple__8x6vq4Dc9aLvKX9actMeR9avQ data[SEQ_DECL_SIZE];
890 };
891 struct tySequence__rQHmYk1HzcwNxKBymIFHpA {
892 TGenericSeq Sup;
893 tyObject_LoadedModule__14iJKkvOiWT62KF2D8f9c5w data[SEQ_DECL_SIZE];
894 };
895 struct tySequence__9cnx3zXnWzeclW8Ko4oUgAQ {
896 TGenericSeq Sup;
897 tyTuple__UvldbCB6B9ayi9bGYW7vJNLA data[SEQ_DECL_SIZE];
898 };
899 struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ {
900 TGenericSeq Sup;
901 NimStringDesc* data[SEQ_DECL_SIZE];
902 };
903 struct tySequence__29bS0n2QNyO1R7e0qMMOvLA {
904 TGenericSeq Sup;
905 tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow data[SEQ_DECL_SIZE];
906 };
907 struct tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A {
908 TGenericSeq Sup;
909 tyObject_TType__facALICuu8zUj0hjvbTLFg* data[SEQ_DECL_SIZE];
910 };
911 struct tySequence__eHqUwlHGGaPw0TDPDeL79cQ {
912 TGenericSeq Sup;
913 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* data[SEQ_DECL_SIZE];
914 };
915 struct tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ {
916 TGenericSeq Sup;
917 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* data[SEQ_DECL_SIZE];
918 };
919 struct tySequence__Bre9bNyuQOg1EJKitjSzn8w {
920 TGenericSeq Sup;
921 tyObject_TrunkcolonObjectType___POcWT53G7t0BSUjc31o0iA* data[SEQ_DECL_SIZE];
922 };
923 struct tySequence__tNFrR3kRuS1FSwuiLGoSSA {
924 TGenericSeq Sup;
925 tyTuple__z822nu9bFF1AlQnLrHjdwpA data[SEQ_DECL_SIZE];
926 };
927 struct tySequence__7lEisrXlQEzwtUKW5pzRCw {
928 TGenericSeq Sup;
929 tyTuple__xYhUhS7X82rKTqbT9bRfCnw data[SEQ_DECL_SIZE];
930 };
931 struct tySequence__Zi9cGbCWofbtABoHJ5RbLNQ {
932 TGenericSeq Sup;
933 tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw data[SEQ_DECL_SIZE];
934 };
935 struct tySequence__4eRCaZmrYLLw2k30GPTiMw {
936 TGenericSeq Sup;
937 tyTuple__QeWl6B6ffS4pU6WWrtcrDw data[SEQ_DECL_SIZE];
938 };
939 struct tySequence__pK3qSsBZwdXd6qyUMkd5Jw {
940 TGenericSeq Sup;
941 tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg data[SEQ_DECL_SIZE];
942 };
943 struct tySequence__xv3aaFd3JCw8NbmALHiezQ {
944 TGenericSeq Sup;
945 tyTuple__sPaDkVPSC0MkcoXCxPH9ccA data[SEQ_DECL_SIZE];
946 };
947 N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op);
948 static N_NIMCALL(void, Marker_tySequence__PXIzfWocnrafGz5p3CP5LA)(void* p, NI op);
949 static N_NIMCALL(void, Marker_tySequence__9bAGqSvkAaFL9bWjsEPslrFA)(void* p, NI op);
950 static N_NIMCALL(void, Marker_tySequence__b89aLriiJnVTD186H6zNIgg)(void* p, NI op);
951 static N_NIMCALL(void, Marker_tySequence__REuPuHuSlOkZ0Q5oqzDrQg)(void* p, NI op);
952 static N_NIMCALL(void, Marker_tySequence__48JTohSgTy339bRxHzUD8KA)(void* p, NI op);
953 static N_NIMCALL(void, Marker_tySequence__I9aQmO9asXXWJ58UI9c8BCSzA)(void* p, NI op);
954 static N_NIMCALL(void, Marker_tySequence__NyaOkf8ZwxP6rkRF5TOkew)(void* p, NI op);
955 static N_NIMCALL(void, Marker_tySequence__L9bOt8CaTEmIjgtuZvp6syg)(void* p, NI op);
956 static N_NIMCALL(void, Marker_tySequence__im8UB2GsZvUaQ4a1wKGWhQ)(void* p, NI op);
957 static N_NIMCALL(void, Marker_tySequence__xxnXDLpoqBo8zJzP9b1073g)(void* p, NI op);
958 static N_NIMCALL(void, Marker_tySequence__DfmUmNgVGnYaiV1I6227tw)(void* p, NI op);
959 static N_NIMCALL(void, Marker_tySequence__t8Uv4lEJ4lkuECvP9c6JMhA)(void* p, NI op);
960 static N_NIMCALL(void, Marker_tySequence__IHUFRsFxZNv7YydiUO2esQ)(void* p, NI op);
961 static N_NIMCALL(void, Marker_tySequence__9bT7o0CflHuiE4VhmtqBPCw)(void* p, NI op);
962 static N_NIMCALL(void, Marker_tySequence__rQHmYk1HzcwNxKBymIFHpA)(void* p, NI op);
963 static N_NIMCALL(void, Marker_tySequence__9cnx3zXnWzeclW8Ko4oUgAQ)(void* p, NI op);
964 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, needsRecompile__icZic_8256)(tySequence__rQHmYk1HzcwNxKBymIFHpA** g, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, NI32 fileIdx, tySequence__48JTohSgTy339bRxHzUD8KA** cachedModules);
965 N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, setLengthSeqV2)(TGenericSeq* s, TNimType* typ, NI newLen);
966 N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
967 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, toFullPath__msgs_538)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NI32 fileIdx);
968 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, toRodFile__options_4251)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* f, NimStringDesc* ext);
969 N_LIB_PRIVATE N_NIMCALL(tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ, loadRodFile__icZic_3144)(NimStringDesc* filename, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config, NIM_BOOL ignoreConfig);
970 N_LIB_PRIVATE N_NIMCALL(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg, open__icZrodfiles_286)(NimStringDesc* filename);
971 N_LIB_PRIVATE N_NIMCALL(void, loadHeader__icZrodfiles_138)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f);
972 N_LIB_PRIVATE N_NIMCALL(void, loadSection__icZrodfiles_247)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA expected);
973 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZrodfiles_89)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NimStringDesc** s);
974 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3151)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw* x);
975 N_LIB_PRIVATE N_NIMCALL(NI, readBuffer__systemZio_144)(FILE* f, void* buffer, NI len);
976 static N_INLINE(void, setError__icZrodfiles_52)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ err);
977 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3177)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedConfig__McwvRupqDAJbGrinIDFZJQ* x);
978 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, configIdentical__icZic_479)(tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config);
979 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, definedSymbolsAsString__icZic_460)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config);
980 N_NIMCALL(NimStringDesc*, rawNewString)(NI cap);
981 static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
982 static N_INLINE(void, copyMem__system_1727)(void* dest, void* source, NI size);
983 static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
984 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
985 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c);
986 static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
987 static N_INLINE(NIM_BOOL, equalMem__system_1735)(void* a, void* b, NI size);
988 static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
989 N_LIB_PRIVATE N_NIMCALL(void, load__icZic_3215)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg* t);
990 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3219)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__sM4lkSb7zS6F7OVMvW9cffQ** s);
991 N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, newSeq__systemZio_503)(NI len);
992 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3238)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__9bAGqSvkAaFL9bWjsEPslrFA** s);
993 N_LIB_PRIVATE N_NIMCALL(tySequence__9bAGqSvkAaFL9bWjsEPslrFA*, newSeq__icZic_3253)(NI len);
994 N_LIB_PRIVATE N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
995 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3262)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NU32* x);
996 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3288)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__PXIzfWocnrafGz5p3CP5LA** s);
997 N_LIB_PRIVATE N_NIMCALL(tySequence__PXIzfWocnrafGz5p3CP5LA*, newSeq__icZic_3303)(NI len);
998 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3321)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__0q9cmhneJEKnQERTpXXdz6Q* x);
999 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, includesIdentical__icZic_2226)(tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config);
1000 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, hashFileCached__icZic_514)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NI32 fileIdx);
1001 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getHash__msgs_564)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NI32 fileIdx);
1002 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___stdZsha49_879)(tyArray__YtcvxHNKV4YiecPE9ap1mcA self);
1003 N_LIB_PRIVATE N_NIMCALL(void, secureHashFile__stdZsha49_871)(NimStringDesc* filename, tyArray__YtcvxHNKV4YiecPE9ap1mcA Result);
1004 static N_INLINE(void, nimZeroMem)(void* p, NI size);
1005 static N_INLINE(void, nimSetMem__systemZmemory_7)(void* a, int v, NI size);
1006 N_LIB_PRIVATE N_NIMCALL(void, setHash__msgs_557)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NI32 fileIdx, NimStringDesc* hash);
1007 N_LIB_PRIVATE N_NIMCALL(NI32, toFileIndex__icZic_2160)(NU32 x, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config);
1008 N_LIB_PRIVATE N_NIMCALL(NI32, fileInfoIdx__msgs_376)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename);
1009 static N_INLINE(NimStringDesc**, X5BX5D___icZic_152)(tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg* t, NU32 LitId);
1010 N_LIB_PRIVATE N_NIMCALL(void, load__icZic_3346)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_BiTable__DyMEQOe8VsqcG49bIhU69bBQ* t);
1011 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3350)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__IHUFRsFxZNv7YydiUO2esQ** s);
1012 N_LIB_PRIVATE N_NIMCALL(tySequence__IHUFRsFxZNv7YydiUO2esQ*, newSeq__icZic_3365)(NI len);
1013 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3383)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NI64* x);
1014 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3404)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__b89aLriiJnVTD186H6zNIgg** s);
1015 N_LIB_PRIVATE N_NIMCALL(tySequence__b89aLriiJnVTD186H6zNIgg*, newSeq__icZic_3419)(NI len);
1016 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3437)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ* x);
1017 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3467)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__REuPuHuSlOkZ0Q5oqzDrQg** s);
1018 N_LIB_PRIVATE N_NIMCALL(tySequence__REuPuHuSlOkZ0Q5oqzDrQg*, newSeq__icZic_3482)(NI len);
1019 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3500)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__Q7r9caOmeWqQGZCIBHhGRUA* x);
1020 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3530)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__48JTohSgTy339bRxHzUD8KA** s);
1021 N_LIB_PRIVATE N_NIMCALL(tySequence__48JTohSgTy339bRxHzUD8KA*, newSeq__icZic_3545)(NI len);
1022 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3563)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NI32* x);
1023 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3592)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__I9aQmO9asXXWJ58UI9c8BCSzA** s);
1024 N_LIB_PRIVATE N_NIMCALL(tySequence__I9aQmO9asXXWJ58UI9c8BCSzA*, newSeq__icZic_3607)(NI len);
1025 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3634)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__7Wlwbz8zSe7Udyf7mmsd9cg* x);
1026 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3660)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__29bS0n2QNyO1R7e0qMMOvLA** s);
1027 N_LIB_PRIVATE N_NIMCALL(tySequence__29bS0n2QNyO1R7e0qMMOvLA*, newSeq__icZic_3675)(NI len);
1028 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3684)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow* x);
1029 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3718)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__DfmUmNgVGnYaiV1I6227tw** s);
1030 N_LIB_PRIVATE N_NIMCALL(tySequence__DfmUmNgVGnYaiV1I6227tw*, newSeq__icZic_3733)(NI len);
1031 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3751)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedSym__XjVn21MwvH8ij6CfopYZWw* x);
1032 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3777)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__t8Uv4lEJ4lkuECvP9c6JMhA** s);
1033 N_LIB_PRIVATE N_NIMCALL(tySequence__t8Uv4lEJ4lkuECvP9c6JMhA*, newSeq__icZic_3792)(NI len);
1034 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3810)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedType__IhXsK7mrwumUBtEqbZ2BqA* x);
1035 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3828)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag* x);
1036 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3856)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA* x);
1037 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3884)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw* x);
1038 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3912)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__vC9cvg0R8tfBaOXXi3sfMzw** s);
1039 N_LIB_PRIVATE N_NIMCALL(tySequence__vC9cvg0R8tfBaOXXi3sfMzw*, newSeq__icZic_3081)(NI len);
1040 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3931)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ* x);
1041 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3959)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NI32* x);
1042 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_4005)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NI16* x);
1043 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_4030)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NI16* x);
1044 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_4068)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__NyaOkf8ZwxP6rkRF5TOkew** s);
1045 N_LIB_PRIVATE N_NIMCALL(tySequence__NyaOkf8ZwxP6rkRF5TOkew*, newSeq__icZic_4083)(NI len);
1046 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_4101)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__XyJ8LOAZzVVXSsmt09b8uWw* x);
1047 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_4127)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__L9bOt8CaTEmIjgtuZvp6syg** s);
1048 N_LIB_PRIVATE N_NIMCALL(tySequence__L9bOt8CaTEmIjgtuZvp6syg*, newSeq__icZic_4142)(NI len);
1049 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_4160)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedInstantiation__39cWRURu69agjI9c1ohiUmxiA* x);
1050 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_4194)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__im8UB2GsZvUaQ4a1wKGWhQ** s);
1051 N_LIB_PRIVATE N_NIMCALL(tySequence__im8UB2GsZvUaQ4a1wKGWhQ*, newSeq__icZic_4209)(NI len);
1052 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_4236)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__9aoobCDZB4x41HJSOmh0mwA* x);
1053 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_4262)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__xxnXDLpoqBo8zJzP9b1073g** s);
1054 N_LIB_PRIVATE N_NIMCALL(tySequence__xxnXDLpoqBo8zJzP9b1073g*, newSeq__icZic_4277)(NI len);
1055 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_4304)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__g0Q6Qx15nK53ce9aLo7YyrA* x);
1056 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_4338)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySet_tyEnum_ModuleBackendFlag__fgnyOEZ7Q9aYVj8O59afcT4g* x);
1057 N_LIB_PRIVATE N_NIMCALL(void, close__icZrodfiles_284)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f);
1058 N_LIB_PRIVATE N_NIMCALL(void, setupLookupTables__icZic_6269)(tySequence__rQHmYk1HzcwNxKBymIFHpA** g, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, NI32 fileIdx, tyObject_LoadedModule__14iJKkvOiWT62KF2D8f9c5w* m);
1059 N_LIB_PRIVATE N_NIMCALL(void, initTable__icZic_6275)(NI initialSize, tyObject_Table__CE4eiu6FavV1vmUiTXQ70g* Result);
1060 static N_INLINE(NI, slotsNeeded__pureZcollectionsZtables_42)(NI count);
1061 N_LIB_PRIVATE N_NIMCALL(NI, nextPowerOfTwo__pureZmath_177)(NI x);
1062 N_LIB_PRIVATE N_NIMCALL(tySequence__vC9cvg0R8tfBaOXXi3sfMzw**, mgetOrPut__icZic_6419)(tyObject_Table__CE4eiu6FavV1vmUiTXQ70g* t, tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* key, tySequence__vC9cvg0R8tfBaOXXi3sfMzw* val);
1063 static N_INLINE(NI, rawGet__icZic_6483)(tyObject_Table__CE4eiu6FavV1vmUiTXQ70g t, tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* key, NI* hc);
1064 static N_INLINE(NI, hash__idents_217)(tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* x);
1065 static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZtables_31)(NI hcode);
1066 static N_INLINE(NIM_BOOL, eqeq___idents_220)(tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* a, tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* b);
1067 static N_INLINE(NI, nextTry__pureZcollectionsZtables_34)(NI h, NI maxHash);
1068 static N_INLINE(NIM_BOOL, mustRehash__icZic_6782)(tyObject_Table__CE4eiu6FavV1vmUiTXQ70g t);
1069 N_LIB_PRIVATE N_NIMCALL(void, enlarge__icZic_6941)(tyObject_Table__CE4eiu6FavV1vmUiTXQ70g* t);
1070 N_LIB_PRIVATE N_NIMCALL(void, rawInsert__icZic_7267)(tyObject_Table__CE4eiu6FavV1vmUiTXQ70g* t, tySequence__9bT7o0CflHuiE4VhmtqBPCw** data, tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* key, tySequence__vC9cvg0R8tfBaOXXi3sfMzw* val, NI hc, NI h);
1071 static N_INLINE(void, asgnRef)(void** dest, void* src);
1072 static N_INLINE(void, incRef__system_5317)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
1073 static N_INLINE(NI, pluspercent___system_696)(NI x, NI y);
1074 static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__system_5279)(void* usr);
1075 static N_INLINE(NI, minuspercent___system_716)(NI x, NI y);
1076 static N_INLINE(void, decRef__system_5324)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
1077 static N_INLINE(NIM_BOOL, ltpercent___system_1005)(NI x, NI y);
1078 static N_INLINE(void, rtlAddZCT__system_5322)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
1079 N_LIB_PRIVATE N_NOINLINE(void, addZCT__system_5273)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
1080 N_LIB_PRIVATE N_NIMCALL(void, genericSeqAssign)(void* dest, void* src, TNimType* mt);
1081 static N_INLINE(NI, rawGetKnownHC__icZic_7448)(tyObject_Table__CE4eiu6FavV1vmUiTXQ70g t, tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* key, NI hc);
1082 N_LIB_PRIVATE N_NIMCALL(tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA*, getIdent__idents_143)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* ic, NimStringDesc* identifier);
1083 static N_INLINE(NimStringDesc**, X5BX5D___icZic_5597)(tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg* t, NU32 LitId);
1084 N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, incrSeqV3)(TGenericSeq* s, TNimType* typ);
1085 N_LIB_PRIVATE N_NOINLINE(void*, newObj)(TNimType* typ, NI size);
1086 N_LIB_PRIVATE N_NIMCALL(void, splitFile__pathutils_26)(NimStringDesc* x, tyTuple__7q7q3E6Oj24ZNVJb9aonhAg* Result);
1087 N_LIB_PRIVATE N_NIMCALL(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q, newLineInfo__msgs_381)(NI32 fileInfoIdx, NI line, NI col);
1088 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, newPackage__icZic_6258)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, NI32 fileIdx);
1089 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getPackageName__options_4143)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* path);
1090 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
1091 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, newSym__ast_3445)(tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw symKind, tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* name, tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g id, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg options);
1092 N_LIB_PRIVATE N_NIMCALL(void, genericShallowAssign)(void* dest, void* src, TNimType* mt);
1093 N_LIB_PRIVATE N_NIMCALL(void, loadError__icZic_3137)(tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ err, NimStringDesc* filename, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config);
1094 N_LIB_PRIVATE N_NOINLINE(void, liMessage__msgs_1118)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w msg, NimStringDesc* arg, tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw eh, tyTuple__kN8up2W6YKc5YA9avn5mV5w info2, NIM_BOOL isRaw);
1095 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprEnum)(NI e, TNimType* typ);
1096 N_LIB_PRIVATE N_NIMCALL(void, loadToReplayNodes__icZic_8244)(tySequence__rQHmYk1HzcwNxKBymIFHpA** g, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, NI32 fileIdx, tyObject_LoadedModule__14iJKkvOiWT62KF2D8f9c5w* m);
1097 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newNode__ast_3332)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind);
1098 static N_INLINE(NI, len__icZpacked95ast_293)(tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw tree);
1099 N_LIB_PRIVATE N_NIMCALL(void, add__ast_4797)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* father, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* son);
1100 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, loadNodes__icZic_5528)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI thisModule, tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw tree, NI n);
1101 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newNodeIT__ast_3378)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyObject_TType__facALICuu8zUj0hjvbTLFg* typ);
1102 N_LIB_PRIVATE N_NIMCALL(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q, translateLineInfo__icZic_5514)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI thisModule, tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg x);
1103 N_LIB_PRIVATE N_NIMCALL(NI32, toFileIndexCached__icZic_5508)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA* g, NI thisModule, NU32 f);
1104 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, loadType__icZic_5498)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI thisModule, tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ t);
1105 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___icZic_6137)(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ x, tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ y);
1106 static N_INLINE(NI32, moduleIndex__icZic_5889)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI thisModule, tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ s);
1107 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, typeHeaderFromPacked__icZic_6177)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, tyObject_PackedType__IhXsK7mrwumUBtEqbZ2BqA* t, NI32 si, NI32 item);
1108 N_LIB_PRIVATE N_NIMCALL(void, typeBodyFromPacked__icZic_6184)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, tyObject_PackedType__IhXsK7mrwumUBtEqbZ2BqA* t, NI32 si, NI32 item, tyObject_TType__facALICuu8zUj0hjvbTLFg* result);
1109 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, loadSym__icZic_5503)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI thisModule, tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ s);
1110 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, symHeaderFromPacked__icZic_5895)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, tyObject_PackedSym__XjVn21MwvH8ij6CfopYZWw* s, NI32 si, NI32 item);
1111 N_LIB_PRIVATE N_NIMCALL(void, symBodyFromPacked__icZic_6054)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, tyObject_PackedSym__XjVn21MwvH8ij6CfopYZWw* s, NI32 si, NI32 item, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result);
1112 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, loadProcHeader__icZic_5847)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI thisModule, tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw tree, NI n);
1113 static N_INLINE(void, addAllowNil__icZic_5826)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* father, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* son);
1114 static N_INLINE(void, nextChild__icZpacked95ast_312)(tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw tree, NI* pos);
1115 N_LIB_PRIVATE N_NIMCALL(tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA*, loadLib__icZic_5977)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI32 si, NI32 item, tyObject_PackedLib__oa01YzfeXO9bbIDH9cIki4Hw l);
1116 N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, rope__ropes_109)(NimStringDesc* s);
1117 static N_INLINE(NI64*, X5BX5D___icZic_5666)(tyObject_BiTable__DyMEQOe8VsqcG49bIhU69bBQ* t, NU32 LitId);
1118 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
1119 static N_INLINE(void, nimGCunrefNoCycle)(void* p);
1120 N_LIB_PRIVATE N_NIMCALL(tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ, sons2__icZpacked95ast_498)(tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw tree, NI n);
1121 N_LIB_PRIVATE N_NIMCALL(void, transitionNoneToSym__ast_4385)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1122 static N_INLINE(NI, span__icZpacked95ast_494)(tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw tree, NI pos);
1123 static N_INLINE(NIM_BOOL, isAtom__icZpacked95ast_206)(tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw tree, NI pos);
1124 N_LIB_PRIVATE N_NIMCALL(void, flush__icZic_2439)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m);
1125 N_LIB_PRIVATE N_NIMCALL(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ, storeType__icZic_2435)(tyObject_TType__facALICuu8zUj0hjvbTLFg* t, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m);
1126 N_LIB_PRIVATE N_NIMCALL(NU32, toLitId__icZic_519)(NI32 x, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m);
1127 N_LIB_PRIVATE N_NIMCALL(NU32, getOrDefault__icZic_590)(tyObject_Table__TRm6MPqklA8EYBmBMY117Q t, NI32 key);
1128 static N_INLINE(NI, rawGet__icZic_599)(tyObject_Table__TRm6MPqklA8EYBmBMY117Q t, NI32 key, NI* hc);
1129 static N_INLINE(NI, hash__icZic_606)(NI32 x);
1130 static N_INLINE(NI, hashWangYi1__pureZhashes_136)(NU64 x);
1131 static N_INLINE(NU64, hiXorLo__pureZhashes_79)(NU64 a, NU64 b);
1132 N_LIB_PRIVATE N_NIMCALL(NU32, getOrIncl__icZic_924)(tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg* t, NimStringDesc* v);
1133 N_LIB_PRIVATE N_NIMCALL(NI, hash__pureZhashes_279)(NimStringDesc* x);
1134 static N_INLINE(NI, nextTry__icZbitabs_8)(NI h, NI maxHash);
1135 static N_INLINE(NIM_BOOL, mustRehash__icZbitabs_44)(NI length, NI counter);
1136 N_LIB_PRIVATE N_NIMCALL(void, enlarge__icZic_950)(tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg* t);
1137 N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___icZic_1067)(tyObject_Table__TRm6MPqklA8EYBmBMY117Q* t, NI32 key, NU32 val);
1138 static N_INLINE(NIM_BOOL, mustRehash__icZic_1248)(tyObject_Table__TRm6MPqklA8EYBmBMY117Q t);
1139 N_LIB_PRIVATE N_NIMCALL(void, enlarge__icZic_1407)(tyObject_Table__TRm6MPqklA8EYBmBMY117Q* t);
1140 N_LIB_PRIVATE N_NIMCALL(void, rawInsert__icZic_1725)(tyObject_Table__TRm6MPqklA8EYBmBMY117Q* t, tySequence__9cnx3zXnWzeclW8Ko4oUgAQ** data, NI32 key, NU32 val, NI hc, NI h);
1141 static N_INLINE(NI, rawGetKnownHC__icZic_1906)(tyObject_Table__TRm6MPqklA8EYBmBMY117Q t, NI32 key, NI hc);
1142 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, containsOrIncl__astalgo_402)(tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA* s, NI key);
1143 static N_INLINE(NI32, getNodeId__icZpacked95ast_579)(tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw tree);
1144 N_LIB_PRIVATE N_NIMCALL(void, toPackedNode__icZic_2426)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw* ir, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m);
1145 N_LIB_PRIVATE N_NIMCALL(tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg, toPackedInfo__icZic_2574)(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q x, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m);
1146 N_LIB_PRIVATE N_NIMCALL(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ, storeTypeLater__icZic_2722)(tyObject_TType__facALICuu8zUj0hjvbTLFg* t, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m);
1147 N_LIB_PRIVATE N_NIMCALL(void, addMissing__icZic_2660)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_TType__facALICuu8zUj0hjvbTLFg* p);
1148 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__astalgo_3496)(tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA* s, NI key);
1149 N_LIB_PRIVATE N_NIMCALL(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ, storeSymLater__icZic_2736)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m);
1150 N_LIB_PRIVATE N_NIMCALL(void, addMissing__icZic_2595)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* p);
1151 N_LIB_PRIVATE N_NIMCALL(void, addModuleRef__icZic_2915)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw* ir, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m);
1152 N_LIB_PRIVATE N_NIMCALL(NU32, getOrIncl__icZic_2488)(tyObject_BiTable__DyMEQOe8VsqcG49bIhU69bBQ* t, NI64 v);
1153 static N_INLINE(NI, hash__pureZjson_2955)(NI64 x);
1154 N_LIB_PRIVATE N_NIMCALL(void, enlarge__icZic_2516)(tyObject_BiTable__DyMEQOe8VsqcG49bIhU69bBQ* t);
1155 N_LIB_PRIVATE N_NIMCALL(NI, prepare__icZpacked95ast_243)(tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw* tree, tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg flags, tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ typeId_0, tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg info);
1156 static N_INLINE(NI, len__ast_3198)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1157 N_LIB_PRIVATE N_NIMCALL(void, patch__icZpacked95ast_278)(tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw* tree, NI pos);
1158 static N_INLINE(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ, safeItemId__icZic_2579)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m);
1159 N_LIB_PRIVATE N_NIMCALL(void, genericAssign)(void* dest, void* src, TNimType* mt);
1160 static N_INLINE(tyObject_TType__facALICuu8zUj0hjvbTLFg*, pop__icZic_2445)(tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A** s);
1161 N_LIB_PRIVATE N_NIMCALL(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ, storeSym__icZic_2431)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m);
1162 N_LIB_PRIVATE N_NIMCALL(NU32, toLitId__icZic_2472)(NimStringDesc* x, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m);
1163 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___ropes_250)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* r);
1164 N_LIB_PRIVATE N_NIMCALL(tyObject_PackedLib__oa01YzfeXO9bbIDH9cIki4Hw, toPackedLib__icZic_2824)(tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA* l, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m);
1165 static N_INLINE(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, pop__icZic_2460)(tySequence__eHqUwlHGGaPw0TDPDeL79cQ** s);
1166 N_LIB_PRIVATE N_NIMCALL(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg, create__icZrodfiles_281)(NimStringDesc* filename);
1167 N_LIB_PRIVATE N_NIMCALL(void, storeHeader__icZrodfiles_109)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f);
1168 N_LIB_PRIVATE N_NIMCALL(void, storeSection__icZrodfiles_198)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA s);
1169 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZrodfiles_64)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NimStringDesc* s);
1170 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4384)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw x);
1171 N_LIB_PRIVATE N_NIMCALL(NI, writeBuffer__systemZio_176)(FILE* f, void* buffer, NI len);
1172 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4401)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedConfig__McwvRupqDAJbGrinIDFZJQ x);
1173 N_LIB_PRIVATE N_NIMCALL(void, store__icZic_4426)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg t);
1174 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4430)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__sM4lkSb7zS6F7OVMvW9cffQ* s);
1175 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4463)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__9bAGqSvkAaFL9bWjsEPslrFA* s);
1176 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4496)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NU32 x);
1177 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4513)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__PXIzfWocnrafGz5p3CP5LA* s);
1178 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4546)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__0q9cmhneJEKnQERTpXXdz6Q x);
1179 N_LIB_PRIVATE N_NIMCALL(void, store__icZic_4571)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_BiTable__DyMEQOe8VsqcG49bIhU69bBQ t);
1180 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4575)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__IHUFRsFxZNv7YydiUO2esQ* s);
1181 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4608)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NI64 x);
1182 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4629)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__b89aLriiJnVTD186H6zNIgg* s);
1183 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4663)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ x);
1184 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4684)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__REuPuHuSlOkZ0Q5oqzDrQg* s);
1185 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4718)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__Q7r9caOmeWqQGZCIBHhGRUA x);
1186 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4739)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__48JTohSgTy339bRxHzUD8KA* s);
1187 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4773)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NI32 x);
1188 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4802)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__I9aQmO9asXXWJ58UI9c8BCSzA* s);
1189 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4836)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__7Wlwbz8zSe7Udyf7mmsd9cg x);
1190 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4853)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__29bS0n2QNyO1R7e0qMMOvLA* s);
1191 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4886)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow* x);
1192 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4911)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__DfmUmNgVGnYaiV1I6227tw* s);
1193 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4944)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedSym__XjVn21MwvH8ij6CfopYZWw* x);
1194 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4961)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__t8Uv4lEJ4lkuECvP9c6JMhA* s);
1195 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4994)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedType__IhXsK7mrwumUBtEqbZ2BqA* x);
1196 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5012)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag x);
1197 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5031)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA x);
1198 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5050)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw x);
1199 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_5069)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__vC9cvg0R8tfBaOXXi3sfMzw* s);
1200 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5103)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ x);
1201 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5122)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NI32 x);
1202 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5159)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NI16 x);
1203 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5184)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NI16 x);
1204 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_5213)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__NyaOkf8ZwxP6rkRF5TOkew* s);
1205 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5247)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__XyJ8LOAZzVVXSsmt09b8uWw x);
1206 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_5264)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__L9bOt8CaTEmIjgtuZvp6syg* s);
1207 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5298)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedInstantiation__39cWRURu69agjI9c1ohiUmxiA x);
1208 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_5332)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__im8UB2GsZvUaQ4a1wKGWhQ* s);
1209 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5366)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__9aoobCDZB4x41HJSOmh0mwA x);
1210 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_5383)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__xxnXDLpoqBo8zJzP9b1073g* s);
1211 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5417)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__g0Q6Qx15nK53ce9aLo7YyrA x);
1212 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5442)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySet_tyEnum_ModuleBackendFlag__fgnyOEZ7Q9aYVj8O59afcT4g x);
1213 N_LIB_PRIVATE N_NIMCALL(void, disable__icZic_456)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* e);
1214 N_LIB_PRIVATE N_NIMCALL(void, storeError__icZic_4373)(tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ err, NimStringDesc* filename);
1215 N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringDesc** args, NI argsLen_0);
1216 N_LIB_PRIVATE N_NIMCALL(void, nosremoveFile)(NimStringDesc* file);
1217 N_LIB_PRIVATE N_NIMCALL(tySequence__vC9cvg0R8tfBaOXXi3sfMzw*, getOrDefault__icZic_8578)(tyObject_Table__CE4eiu6FavV1vmUiTXQ70g t, tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* key);
1218 N_LIB_PRIVATE N_NIMCALL(void, newTreeFrom__icZpacked95ast_112)(tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw old, tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw* Result);
1219 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nosisAbsolute)(NimStringDesc* path);
1220 N_LIB_PRIVATE N_NIMCALL(void, rememberConfig__icZic_464)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config, tyObject_PackedConfig__McwvRupqDAJbGrinIDFZJQ pc);
1221 N_LIB_PRIVATE N_NIMCALL(NI, len__icZic_8731)(tyObject_Table__CE4eiu6FavV1vmUiTXQ70g t);
1222 N_LIB_PRIVATE N_NIMCALL(void, add__icZic_8913)(tySequence__vC9cvg0R8tfBaOXXi3sfMzw** x, tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ* y, NI yLen_0);
1223 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newSymNode__ast_3719)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* sym, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1224 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, loadProcBody__icZic_5876)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI thisModule, tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw tree, NI n);
1225 N_LIB_PRIVATE N_NIMCALL(void, toPackedProcDef__icZic_3032)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw* ir, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m);
1226 N_LIB_PRIVATE N_NIMCALL(void, toPackedGeneratedProcDef__icZic_3061)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* encoder, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m);
1227 N_LIB_PRIVATE N_NIMCALL(void, toPackedNodeIgnoreProcDefs__icZic_3052)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* encoder, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m);
1228 static N_INLINE(NI, safeLen__ast_3191)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1229 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isDefined__options_2279)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* symbol);
1230 N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__systemZassertions_56)(NimStringDesc* msg);
1231 N_LIB_PRIVATE N_NIMCALL(void, quit__system_7184)(NimStringDesc* errormsg, NI errorcode) __attribute__((noreturn));
1232 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___systemZdollars_3)(NI x);
1233 N_LIB_PRIVATE N_NIMCALL(NI, len__icZic_9586)(tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg t);
1234 N_LIB_PRIVATE N_NIMCALL(NI, len__icZic_9639)(tyObject_BiTable__DyMEQOe8VsqcG49bIhU69bBQ t);
1235 N_LIB_PRIVATE TNimType NTIloadedmodule__14iJKkvOiWT62KF2D8f9c5w_;
1236 N_LIB_PRIVATE TNimType NTImodulestatus__MgSLMPwZ4GVYYz7Kn9bmm6Q_;
1237 extern TNimType NTIbool__VaVACK0bpYmqIQ0mKcHfQQ_;
1238 N_LIB_PRIVATE TNimType NTIpackedmodule__ZSxNoR2V6oK5xosmtvhjNQ_;
1239 extern TNimType NTIstring__77mFvmsOLKik79ci2hXkHEg_;
1240 extern TNimType NTItsymflags__h9a2sdtQFa6zibBX41u5eAQ_;
1241 N_LIB_PRIVATE TNimType NTILlitid_stringT__0q9cmhneJEKnQERTpXXdz6Q_;
1242 extern TNimType NTIuint5150__JrFyJbYm9b5I4hJ9cWDqvfYA_;
1243 N_LIB_PRIVATE TNimType NTIseqLLlitid_stringTT__PXIzfWocnrafGz5p3CP5LA_;
1244 N_LIB_PRIVATE TNimType NTIseqLlitidT__9bAGqSvkAaFL9bWjsEPslrFA_;
1245 extern TNimType NTIpackedtree__8otSrA7MENGYESDkEP7nnw_;
1246 N_LIB_PRIVATE TNimType NTILlitid_int5150T__Izx9aRSX9a0diDXD84jOS9aMQ_;
1247 extern TNimType NTIint5150__sVg18TP9cLifHyygRe9cro9aA_;
1248 N_LIB_PRIVATE TNimType NTIseqLLlitid_int5150TT__b89aLriiJnVTD186H6zNIgg_;
1249 N_LIB_PRIVATE TNimType NTILlitid_packeditemidT__Q7r9caOmeWqQGZCIBHhGRUA_;
1250 extern TNimType NTIpackeditemid__FzcXUzSZ9cNfGYsfibgjWlQ_;
1251 N_LIB_PRIVATE TNimType NTIseqLLlitid_packeditemidTT__REuPuHuSlOkZ0Q5oqzDrQg_;
1252 N_LIB_PRIVATE TNimType NTIseqLint5150T__48JTohSgTy339bRxHzUD8KA_;
1253 N_LIB_PRIVATE TNimType NTILpackeditemid_packedlineinfoT__7Wlwbz8zSe7Udyf7mmsd9cg_;
1254 extern TNimType NTIpackedlineinfo__Q9bbXLBurHo2r5TyF6UBshg_;
1255 N_LIB_PRIVATE TNimType NTIseqLLpackeditemid_packedlineinfoTT__I9aQmO9asXXWJ58UI9c8BCSzA_;
1256 N_LIB_PRIVATE TNimType NTILpackeditemid_packeditemidT__XyJ8LOAZzVVXSsmt09b8uWw_;
1257 N_LIB_PRIVATE TNimType NTIseqLLpackeditemid_packeditemidTT__NyaOkf8ZwxP6rkRF5TOkew_;
1258 extern TNimType NTIpackedinstantiation__39cWRURu69agjI9c1ohiUmxiA_;
1259 N_LIB_PRIVATE TNimType NTIseqLpackedinstantiationT__L9bOt8CaTEmIjgtuZvp6syg_;
1260 N_LIB_PRIVATE TNimType NTILttypeattachedop_packeditemid_packeditemidT__9aoobCDZB4x41HJSOmh0mwA_;
1261 extern TNimType NTIttypeattachedop__Rp5P9bWYldQTLkZ7DytmxOg_;
1262 N_LIB_PRIVATE TNimType NTIseqLLttypeattachedop_packeditemid_packeditemidTT__im8UB2GsZvUaQ4a1wKGWhQ_;
1263 N_LIB_PRIVATE TNimType NTILpackeditemid_int_packeditemidT__g0Q6Qx15nK53ce9aLo7YyrA_;
1264 extern TNimType NTIint__rR5Bzr1D5krxoo1NcNyeMA_;
1265 N_LIB_PRIVATE TNimType NTIseqLLpackeditemid_int_packeditemidTT__xxnXDLpoqBo8zJzP9b1073g_;
1266 extern TNimType NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_;
1267 N_LIB_PRIVATE TNimType NTImodulebackendflag__fgnyOEZ7Q9aYVj8O59afcT4g_;
1268 N_LIB_PRIVATE TNimType NTIsetLmodulebackendflagT__YT9a6YyfISYYPcjKpv3SXnA_;
1269 extern TNimType NTIpackedsym__XjVn21MwvH8ij6CfopYZWw_;
1270 N_LIB_PRIVATE TNimType NTIseqLpackedsymT__DfmUmNgVGnYaiV1I6227tw_;
1271 extern TNimType NTIpackedtype__IhXsK7mrwumUBtEqbZ2BqA_;
1272 N_LIB_PRIVATE TNimType NTIseqLpackedtypeT__t8Uv4lEJ4lkuECvP9c6JMhA_;
1273 N_LIB_PRIVATE TNimType NTIbitable__SMd2CpsYscvX1veKoGcqmg_;
1274 N_LIB_PRIVATE TNimType NTIbitable__DyMEQOe8VsqcG49bIhU69bBQ_;
1275 extern TNimType NTIbiggestint__Aav8dQoMlCFnZRxA0IhTHQ_;
1276 N_LIB_PRIVATE TNimType NTIseqLbiggestintT__IHUFRsFxZNv7YydiUO2esQ_;
1277 N_LIB_PRIVATE TNimType NTIpackedconfig__McwvRupqDAJbGrinIDFZJQ_;
1278 extern TNimType NTItbackend__4OBsgZ9cscH2JLUE5Wcz01g_;
1279 extern TNimType NTItgcmode__tkz389aDYNd8ykeZszCuBSw_;
1280 extern TNimType NTItsystemcc__1eWBJUonHMOnlBwsOvpFmA_;
1281 extern TNimType NTItoptions__7MnKRybmCNh5j9bDRLMkxLw_;
1282 extern TNimType NTItglobaloptions__TlJAueEcJToxIOSDCDzevQ_;
1283 extern TNimType NTIseqLpsymT__eHqUwlHGGaPw0TDPDeL79cQ_;
1284 extern TNimType NTIttypeseq__9aZVGG5Gtti9cC9bqRpXCtA3A_;
1285 extern TNimType NTIpsym__dG2QVH5Z69aMUY38zTqWxaA_;
1286 N_LIB_PRIVATE TNimType NTItable__CE4eiu6FavV1vmUiTXQ70g_;
1287 N_LIB_PRIVATE TNimType NTIkeyvaluepair__8x6vq4Dc9aLvKX9actMeR9avQ_;
1288 extern TNimType NTIpident__EiGmNYVHiKeimIyQkW82mg_;
1289 extern TNimType NTIseqLpackeditemidT__vC9cvg0R8tfBaOXXi3sfMzw_;
1290 N_LIB_PRIVATE TNimType NTIkeyvaluepairseq__9bT7o0CflHuiE4VhmtqBPCw_;
1291 N_LIB_PRIVATE TNimType NTIpackedmodulegraph__rQHmYk1HzcwNxKBymIFHpA_;
1292 N_LIB_PRIVATE TNimType NTIpackedencoder__B9cE9a0GbvqWW9aHf4N7RAaIw_;
1293 N_LIB_PRIVATE TNimType NTItable__TRm6MPqklA8EYBmBMY117Q_;
1294 N_LIB_PRIVATE TNimType NTIkeyvaluepair__UvldbCB6B9ayi9bGYW7vJNLA_;
1295 N_LIB_PRIVATE TNimType NTIkeyvaluepairseq__9cnx3zXnWzeclW8Ko4oUgAQ_;
1296 extern TNimType NTIpackedset__IhxwDBRi51nGrosBGFKcsA_;
1297 extern TNimType NTIconfigref__a8lycfSA25OQltN3OMeBsA_;
1298 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_25, "rod", 3);
1299 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_26, "config", 6);
1300 extern TNimType NTIseqLpackednodeT__29bS0n2QNyO1R7e0qMMOvLA_;
1301 extern TNimType NTItsym__nnJKJFyjDGi5mnv8jwfTGQ_;
1302 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_27, "unknown", 7);
1303 extern NIM_CONST tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q unknownLineInfo__lineinfos_280;
1304 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_29, "/home/runner/work/nightlies/nightlies/nim/compiler/ic/ic.nim", 60);
1305 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__5aiUyZx54WIsmLijToCcoA_28 = {((NimStringDesc*) &TM__5aiUyZx54WIsmLijToCcoA_29),
1306 ((NI) 544),
1307 ((NI) 14)}
1308 ;
1309 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__5aiUyZx54WIsmLijToCcoA_30 = {((NimStringDesc*) &TM__5aiUyZx54WIsmLijToCcoA_29),
1310 ((NI) 546),
1311 ((NI) 14)}
1312 ;
1313 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_31, " reason: ", 9);
1314 extern TNimType NTIrodfileerror__0ZHDewZuAfbVKILlFg9cYCQ_;
1315 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__5aiUyZx54WIsmLijToCcoA_32 = {((NimStringDesc*) &TM__5aiUyZx54WIsmLijToCcoA_29),
1316 ((NI) 548),
1317 ((NI) 14)}
1318 ;
1319 extern NIM_CONST tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ nilItemId__icZpacked95ast_14;
1320 extern TNimType NTIptype__qt2Wh0elFEz5fH0l7yusLw_;
1321 extern TNimType NTIttype__facALICuu8zUj0hjvbTLFg_;
1322 extern TNimType NTItnodeseq__ehmV9bTklH2Gt9cXHV9c0HLeQ_;
1323 extern TNimType NTIplib__EL9cZTJI9a9cmSIbGnseCuc9bg_;
1324 static NIM_CONST tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow TM__5aiUyZx54WIsmLijToCcoA_33 = {((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 164), 0, ((NI32) 1), {0, 0}, {0, 0, 0}}
1325 ;
1326 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_34, "Error: ", 7);
1327 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_35, "; couldn\'t write to ", 20);
1328 N_LIB_PRIVATE TNimType NTIpackeddecoder__mJy59aKs7COuW5kZ9cw8pGKw_;
1329 extern TNimType NTIidentcache__lnkYNZP9asc88UfiEGjLrbA_;
1330 extern TNimType NTIidgenerator__9c0n61DB7aLyPcUMi5meUHQ_;
1331 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_37, "nimDebug", 8);
1332 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_38, "options.nim(634, 14) `false` Error: could not load: ", 52);
1333 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_39, "Error: could not load: ", 23);
1334 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_41, "exports:", 8);
1335 static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__5aiUyZx54WIsmLijToCcoA_40 = {((NimStringDesc*) &TM__5aiUyZx54WIsmLijToCcoA_41)}
1336 ;
1337 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_42, " ", 2);
1338 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_43, " local ID: ", 11);
1339 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_45, "reexports:", 10);
1340 static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__5aiUyZx54WIsmLijToCcoA_44 = {((NimStringDesc*) &TM__5aiUyZx54WIsmLijToCcoA_45)}
1341 ;
1342 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_46, "hidden: ", 8);
1343 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_48, "all symbols", 11);
1344 static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__5aiUyZx54WIsmLijToCcoA_47 = {((NimStringDesc*) &TM__5aiUyZx54WIsmLijToCcoA_48)}
1345 ;
1346 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_49, " kind ", 6);
1347 extern TNimType NTItsymkind__cNCW9acsSznmEccl1fgQwkw_;
1348 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_50, " <anon symbol\?> local ID: ", 27);
1349 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_51, "symbols: ", 9);
1350 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_52, " types: ", 8);
1351 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_53, " top level nodes: ", 18);
1352 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_54, " other nodes: ", 14);
1353 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_55, " strings: ", 10);
1354 STRING_LITERAL(TM__5aiUyZx54WIsmLijToCcoA_56, " numbers: ", 10);
1355 extern tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__system_5226;
N_NIMCALL(void,Marker_tySequence__PXIzfWocnrafGz5p3CP5LA)1356 static N_NIMCALL(void, Marker_tySequence__PXIzfWocnrafGz5p3CP5LA)(void* p, NI op) {
1357 tySequence__PXIzfWocnrafGz5p3CP5LA* a;
1358 NI T1_;
1359 a = (tySequence__PXIzfWocnrafGz5p3CP5LA*)p;
1360 T1_ = (NI)0;
1361 for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
1362 nimGCvisit((void*)a->data[T1_].Field1, op);
1363 }
1364 }
N_NIMCALL(void,Marker_tySequence__9bAGqSvkAaFL9bWjsEPslrFA)1365 static N_NIMCALL(void, Marker_tySequence__9bAGqSvkAaFL9bWjsEPslrFA)(void* p, NI op) {
1366 tySequence__9bAGqSvkAaFL9bWjsEPslrFA* a;
1367 NI T1_;
1368 a = (tySequence__9bAGqSvkAaFL9bWjsEPslrFA*)p;
1369 T1_ = (NI)0;
1370 }
N_NIMCALL(void,Marker_tySequence__b89aLriiJnVTD186H6zNIgg)1371 static N_NIMCALL(void, Marker_tySequence__b89aLriiJnVTD186H6zNIgg)(void* p, NI op) {
1372 tySequence__b89aLriiJnVTD186H6zNIgg* a;
1373 NI T1_;
1374 a = (tySequence__b89aLriiJnVTD186H6zNIgg*)p;
1375 T1_ = (NI)0;
1376 }
N_NIMCALL(void,Marker_tySequence__REuPuHuSlOkZ0Q5oqzDrQg)1377 static N_NIMCALL(void, Marker_tySequence__REuPuHuSlOkZ0Q5oqzDrQg)(void* p, NI op) {
1378 tySequence__REuPuHuSlOkZ0Q5oqzDrQg* a;
1379 NI T1_;
1380 a = (tySequence__REuPuHuSlOkZ0Q5oqzDrQg*)p;
1381 T1_ = (NI)0;
1382 }
N_NIMCALL(void,Marker_tySequence__48JTohSgTy339bRxHzUD8KA)1383 static N_NIMCALL(void, Marker_tySequence__48JTohSgTy339bRxHzUD8KA)(void* p, NI op) {
1384 tySequence__48JTohSgTy339bRxHzUD8KA* a;
1385 NI T1_;
1386 a = (tySequence__48JTohSgTy339bRxHzUD8KA*)p;
1387 T1_ = (NI)0;
1388 }
N_NIMCALL(void,Marker_tySequence__I9aQmO9asXXWJ58UI9c8BCSzA)1389 static N_NIMCALL(void, Marker_tySequence__I9aQmO9asXXWJ58UI9c8BCSzA)(void* p, NI op) {
1390 tySequence__I9aQmO9asXXWJ58UI9c8BCSzA* a;
1391 NI T1_;
1392 a = (tySequence__I9aQmO9asXXWJ58UI9c8BCSzA*)p;
1393 T1_ = (NI)0;
1394 }
N_NIMCALL(void,Marker_tySequence__NyaOkf8ZwxP6rkRF5TOkew)1395 static N_NIMCALL(void, Marker_tySequence__NyaOkf8ZwxP6rkRF5TOkew)(void* p, NI op) {
1396 tySequence__NyaOkf8ZwxP6rkRF5TOkew* a;
1397 NI T1_;
1398 a = (tySequence__NyaOkf8ZwxP6rkRF5TOkew*)p;
1399 T1_ = (NI)0;
1400 }
N_NIMCALL(void,Marker_tySequence__L9bOt8CaTEmIjgtuZvp6syg)1401 static N_NIMCALL(void, Marker_tySequence__L9bOt8CaTEmIjgtuZvp6syg)(void* p, NI op) {
1402 tySequence__L9bOt8CaTEmIjgtuZvp6syg* a;
1403 NI T1_;
1404 a = (tySequence__L9bOt8CaTEmIjgtuZvp6syg*)p;
1405 T1_ = (NI)0;
1406 for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
1407 nimGCvisit((void*)a->data[T1_].concreteTypes, op);
1408 }
1409 }
N_NIMCALL(void,Marker_tySequence__im8UB2GsZvUaQ4a1wKGWhQ)1410 static N_NIMCALL(void, Marker_tySequence__im8UB2GsZvUaQ4a1wKGWhQ)(void* p, NI op) {
1411 tySequence__im8UB2GsZvUaQ4a1wKGWhQ* a;
1412 NI T1_;
1413 a = (tySequence__im8UB2GsZvUaQ4a1wKGWhQ*)p;
1414 T1_ = (NI)0;
1415 }
N_NIMCALL(void,Marker_tySequence__xxnXDLpoqBo8zJzP9b1073g)1416 static N_NIMCALL(void, Marker_tySequence__xxnXDLpoqBo8zJzP9b1073g)(void* p, NI op) {
1417 tySequence__xxnXDLpoqBo8zJzP9b1073g* a;
1418 NI T1_;
1419 a = (tySequence__xxnXDLpoqBo8zJzP9b1073g*)p;
1420 T1_ = (NI)0;
1421 }
N_NIMCALL(void,Marker_tySequence__DfmUmNgVGnYaiV1I6227tw)1422 static N_NIMCALL(void, Marker_tySequence__DfmUmNgVGnYaiV1I6227tw)(void* p, NI op) {
1423 tySequence__DfmUmNgVGnYaiV1I6227tw* a;
1424 NI T1_;
1425 a = (tySequence__DfmUmNgVGnYaiV1I6227tw*)p;
1426 T1_ = (NI)0;
1427 }
N_NIMCALL(void,Marker_tySequence__t8Uv4lEJ4lkuECvP9c6JMhA)1428 static N_NIMCALL(void, Marker_tySequence__t8Uv4lEJ4lkuECvP9c6JMhA)(void* p, NI op) {
1429 tySequence__t8Uv4lEJ4lkuECvP9c6JMhA* a;
1430 NI T1_;
1431 a = (tySequence__t8Uv4lEJ4lkuECvP9c6JMhA*)p;
1432 T1_ = (NI)0;
1433 for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
1434 nimGCvisit((void*)a->data[T1_].types, op);
1435 }
1436 }
N_NIMCALL(void,Marker_tySequence__IHUFRsFxZNv7YydiUO2esQ)1437 static N_NIMCALL(void, Marker_tySequence__IHUFRsFxZNv7YydiUO2esQ)(void* p, NI op) {
1438 tySequence__IHUFRsFxZNv7YydiUO2esQ* a;
1439 NI T1_;
1440 a = (tySequence__IHUFRsFxZNv7YydiUO2esQ*)p;
1441 T1_ = (NI)0;
1442 }
N_NIMCALL(void,Marker_tySequence__9bT7o0CflHuiE4VhmtqBPCw)1443 static N_NIMCALL(void, Marker_tySequence__9bT7o0CflHuiE4VhmtqBPCw)(void* p, NI op) {
1444 tySequence__9bT7o0CflHuiE4VhmtqBPCw* a;
1445 NI T1_;
1446 a = (tySequence__9bT7o0CflHuiE4VhmtqBPCw*)p;
1447 T1_ = (NI)0;
1448 for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
1449 nimGCvisit((void*)a->data[T1_].Field1, op);
1450 nimGCvisit((void*)a->data[T1_].Field2, op);
1451 }
1452 }
N_NIMCALL(void,Marker_tySequence__rQHmYk1HzcwNxKBymIFHpA)1453 static N_NIMCALL(void, Marker_tySequence__rQHmYk1HzcwNxKBymIFHpA)(void* p, NI op) {
1454 tySequence__rQHmYk1HzcwNxKBymIFHpA* a;
1455 NI T1_;
1456 a = (tySequence__rQHmYk1HzcwNxKBymIFHpA*)p;
1457 T1_ = (NI)0;
1458 for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
1459 nimGCvisit((void*)a->data[T1_].fromDisk.definedSymbols, op);
1460 nimGCvisit((void*)a->data[T1_].fromDisk.includes, op);
1461 nimGCvisit((void*)a->data[T1_].fromDisk.imports, op);
1462 nimGCvisit((void*)a->data[T1_].fromDisk.toReplay.nodes, op);
1463 nimGCvisit((void*)a->data[T1_].fromDisk.topLevel.nodes, op);
1464 nimGCvisit((void*)a->data[T1_].fromDisk.bodies.nodes, op);
1465 nimGCvisit((void*)a->data[T1_].fromDisk.exports, op);
1466 nimGCvisit((void*)a->data[T1_].fromDisk.hidden, op);
1467 nimGCvisit((void*)a->data[T1_].fromDisk.reexports, op);
1468 nimGCvisit((void*)a->data[T1_].fromDisk.compilerProcs, op);
1469 nimGCvisit((void*)a->data[T1_].fromDisk.converters, op);
1470 nimGCvisit((void*)a->data[T1_].fromDisk.methods, op);
1471 nimGCvisit((void*)a->data[T1_].fromDisk.trmacros, op);
1472 nimGCvisit((void*)a->data[T1_].fromDisk.pureEnums, op);
1473 nimGCvisit((void*)a->data[T1_].fromDisk.macroUsages, op);
1474 nimGCvisit((void*)a->data[T1_].fromDisk.typeInstCache, op);
1475 nimGCvisit((void*)a->data[T1_].fromDisk.procInstCache, op);
1476 nimGCvisit((void*)a->data[T1_].fromDisk.attachedOps, op);
1477 nimGCvisit((void*)a->data[T1_].fromDisk.methodsPerType, op);
1478 nimGCvisit((void*)a->data[T1_].fromDisk.enumToStringProcs, op);
1479 nimGCvisit((void*)a->data[T1_].fromDisk.emittedTypeInfo, op);
1480 nimGCvisit((void*)a->data[T1_].fromDisk.syms, op);
1481 nimGCvisit((void*)a->data[T1_].fromDisk.types, op);
1482 nimGCvisit((void*)a->data[T1_].fromDisk.strings.vals, op);
1483 nimGCvisit((void*)a->data[T1_].fromDisk.strings.keys, op);
1484 nimGCvisit((void*)a->data[T1_].fromDisk.numbers.vals, op);
1485 nimGCvisit((void*)a->data[T1_].fromDisk.numbers.keys, op);
1486 nimGCvisit((void*)a->data[T1_].syms, op);
1487 nimGCvisit((void*)a->data[T1_].types, op);
1488 nimGCvisit((void*)a->data[T1_].module, op);
1489 nimGCvisit((void*)a->data[T1_].iface.data, op);
1490 nimGCvisit((void*)a->data[T1_].ifaceHidden.data, op);
1491 }
1492 }
N_NIMCALL(void,Marker_tySequence__9cnx3zXnWzeclW8Ko4oUgAQ)1493 static N_NIMCALL(void, Marker_tySequence__9cnx3zXnWzeclW8Ko4oUgAQ)(void* p, NI op) {
1494 tySequence__9cnx3zXnWzeclW8Ko4oUgAQ* a;
1495 NI T1_;
1496 a = (tySequence__9cnx3zXnWzeclW8Ko4oUgAQ*)p;
1497 T1_ = (NI)0;
1498 }
N_INLINE(void,setError__icZrodfiles_52)1499 static N_INLINE(void, setError__icZrodfiles_52)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ err) {
1500 (*f).err = err;
1501 }
N_NIMCALL(void,loadPrim__icZic_3151)1502 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3151)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw* x) {
1503 { {
1504 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
1505 goto BeforeRet_;
1506 }
1507 LA3_: ;
1508 {
1509 NI T7_;
1510 T7_ = (NI)0;
1511 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 8));
1512 if (!!((T7_ == ((NI) 8)))) goto LA8_;
1513 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
1514 }
1515 LA8_: ;
1516 }BeforeRet_: ;
1517 }
N_NIMCALL(void,loadPrim__icZic_3177)1518 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3177)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedConfig__McwvRupqDAJbGrinIDFZJQ* x) {
1519 { {
1520 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
1521 goto BeforeRet_;
1522 }
1523 LA3_: ;
1524 {
1525 NI T7_;
1526 T7_ = (NI)0;
1527 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 16));
1528 if (!!((T7_ == ((NI) 16)))) goto LA8_;
1529 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
1530 }
1531 LA8_: ;
1532 }BeforeRet_: ;
1533 }
N_INLINE(void,nimCopyMem)1534 static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) {
1535 void* T1_;
1536 T1_ = (void*)0;
1537 T1_ = memcpy(dest, source, ((size_t) (size)));
1538 }
N_INLINE(void,copyMem__system_1727)1539 static N_INLINE(void, copyMem__system_1727)(void* dest, void* source, NI size) {
1540 nimCopyMem(dest, source, size);
1541 }
N_INLINE(void,appendString)1542 static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
1543 {
1544 if (!!((src == ((NimStringDesc*) NIM_NIL)))) goto LA3_;
1545 copyMem__system_1727(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
1546 (*dest).Sup.len += (*src).Sup.len;
1547 }
1548 LA3_: ;
1549 }
N_NIMCALL(NimStringDesc *,definedSymbolsAsString__icZic_460)1550 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, definedSymbolsAsString__icZic_460)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config) {
1551 NimStringDesc* result;
1552 result = NIM_NIL;
1553 result = rawNewString(((NI) 200));
1554 result = resizeString(result, 6);
1555 appendString(result, ((NimStringDesc*) &TM__5aiUyZx54WIsmLijToCcoA_26));
1556 {
1557 NimStringDesc* d;
1558 d = NIM_NIL;
1559 {
1560 NimStringDesc* key;
1561 NimStringDesc* val;
1562 key = NIM_NIL;
1563 val = NIM_NIL;
1564 {
1565 NI h;
1566 NI colontmp_;
1567 NI T4_;
1568 NI res;
1569 h = (NI)0;
1570 colontmp_ = (NI)0;
1571 T4_ = (((*(*config).symbols).data ? (*(*config).symbols).data->Sup.len : 0)-1);
1572 colontmp_ = T4_;
1573 res = ((NI) 0);
1574 {
1575 while (1) {
1576 if (!(res <= colontmp_)) goto LA6;
1577 h = res;
1578 {
1579 if (!(*(*config).symbols).data->data[h].Field2) goto LA9_;
1580 key = (*(*config).symbols).data->data[h].Field0;
1581 val = (*(*config).symbols).data->data[h].Field1;
1582 d = key;
1583 result = addChar(result, 32);
1584 result = resizeString(result, (d ? d->Sup.len : 0) + 0);
1585 appendString(result, d);
1586 }
1587 LA9_: ;
1588 res += ((NI) 1);
1589 } LA6: ;
1590 }
1591 }
1592 }
1593 }
1594 return result;
1595 }
N_INLINE(int,nimCmpMem)1596 static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size) {
1597 int result;
1598 result = (int)0;
1599 result = memcmp(a, b, ((size_t) (size)));
1600 return result;
1601 }
N_INLINE(NIM_BOOL,equalMem__system_1735)1602 static N_INLINE(NIM_BOOL, equalMem__system_1735)(void* a, void* b, NI size) {
1603 NIM_BOOL result;
1604 int T1_;
1605 result = (NIM_BOOL)0;
1606 T1_ = (int)0;
1607 T1_ = nimCmpMem(a, b, size);
1608 result = (T1_ == ((NI32) 0));
1609 return result;
1610 }
N_INLINE(NIM_BOOL,eqStrings)1611 static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b) {
1612 NIM_BOOL result;
1613 NI alen;
1614 NI blen;
1615 { result = (NIM_BOOL)0;
1616 alen = (a ? a->Sup.len : 0);
1617 blen = (b ? b->Sup.len : 0);
1618 {
1619 if (!(alen == blen)) goto LA3_;
1620 {
1621 if (!(alen == ((NI) 0))) goto LA7_;
1622 result = NIM_TRUE;
1623 goto BeforeRet_;
1624 }
1625 LA7_: ;
1626 result = equalMem__system_1735(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen)));
1627 goto BeforeRet_;
1628 }
1629 LA3_: ;
1630 }BeforeRet_: ;
1631 return result;
1632 }
N_NIMCALL(NIM_BOOL,configIdentical__icZic_479)1633 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, configIdentical__icZic_479)(tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config) {
1634 NIM_BOOL result;
1635 NimStringDesc* T1_;
1636 NIM_BOOL T2_;
1637 NIM_BOOL T4_;
1638 NIM_BOOL T6_;
1639 NIM_BOOL T8_;
1640 NIM_BOOL T10_;
1641 result = (NIM_BOOL)0;
1642 T1_ = NIM_NIL;
1643 T1_ = definedSymbolsAsString__icZic_460(config);
1644 result = eqStrings((*m).definedSymbols, T1_);
1645 T2_ = (NIM_BOOL)0;
1646 T2_ = result;
1647 if (!(T2_)) goto LA3_;
1648 T2_ = ((*m).cfg.backend == (*config).backend);
1649 LA3_: ;
1650 result = T2_;
1651 T4_ = (NIM_BOOL)0;
1652 T4_ = result;
1653 if (!(T4_)) goto LA5_;
1654 T4_ = ((*m).cfg.selectedGC == (*config).selectedGC);
1655 LA5_: ;
1656 result = T4_;
1657 T6_ = (NIM_BOOL)0;
1658 T6_ = result;
1659 if (!(T6_)) goto LA7_;
1660 T6_ = ((*m).cfg.cCompiler == (*config).cCompiler);
1661 LA7_: ;
1662 result = T6_;
1663 T8_ = (NIM_BOOL)0;
1664 T8_ = result;
1665 if (!(T8_)) goto LA9_;
1666 T8_ = ((*m).cfg.options == (*config).options);
1667 LA9_: ;
1668 result = T8_;
1669 T10_ = (NIM_BOOL)0;
1670 T10_ = result;
1671 if (!(T10_)) goto LA11_;
1672 T10_ = ((*m).cfg.globalOptions == (*config).globalOptions);
1673 LA11_: ;
1674 result = T10_;
1675 return result;
1676 }
N_NIMCALL(void,loadSeq__icZic_3219)1677 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3219)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__sM4lkSb7zS6F7OVMvW9cffQ** s) {
1678 NI32 lenPrefix;
1679 { {
1680 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
1681 goto BeforeRet_;
1682 }
1683 LA3_: ;
1684 lenPrefix = ((NI32) 0);
1685 {
1686 NI T7_;
1687 T7_ = (NI)0;
1688 T7_ = readBuffer__systemZio_144((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
1689 if (!!((T7_ == ((NI) 4)))) goto LA8_;
1690 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
1691 }
1692 goto LA5_;
1693 LA8_: ;
1694 {
1695 unsureAsgnRef((void**) (&(*s)), newSeq__systemZio_503(((NI) (lenPrefix))));
1696 {
1697 NI32 i;
1698 NI32 res;
1699 i = (NI32)0;
1700 res = ((NI32) 0);
1701 {
1702 while (1) {
1703 if (!(res < lenPrefix)) goto LA13;
1704 i = res;
1705 loadPrim__icZrodfiles_89(f, (&(*s)->data[i]));
1706 res += ((NI) 1);
1707 } LA13: ;
1708 }
1709 }
1710 }
1711 LA5_: ;
1712 }BeforeRet_: ;
1713 }
N_NIMCALL(tySequence__9bAGqSvkAaFL9bWjsEPslrFA *,newSeq__icZic_3253)1714 N_LIB_PRIVATE N_NIMCALL(tySequence__9bAGqSvkAaFL9bWjsEPslrFA*, newSeq__icZic_3253)(NI len) {
1715 tySequence__9bAGqSvkAaFL9bWjsEPslrFA* result;
1716 result = NIM_NIL;
1717 result = (tySequence__9bAGqSvkAaFL9bWjsEPslrFA*) newSeq((&NTIseqLlitidT__9bAGqSvkAaFL9bWjsEPslrFA_), len);
1718 return result;
1719 }
N_NIMCALL(void,loadPrim__icZic_3262)1720 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3262)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NU32* x) {
1721 { {
1722 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
1723 goto BeforeRet_;
1724 }
1725 LA3_: ;
1726 {
1727 NI T7_;
1728 T7_ = (NI)0;
1729 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 4));
1730 if (!!((T7_ == ((NI) 4)))) goto LA8_;
1731 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
1732 }
1733 LA8_: ;
1734 }BeforeRet_: ;
1735 }
N_NIMCALL(void,loadSeq__icZic_3238)1736 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3238)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__9bAGqSvkAaFL9bWjsEPslrFA** s) {
1737 NI32 lenPrefix;
1738 { {
1739 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
1740 goto BeforeRet_;
1741 }
1742 LA3_: ;
1743 lenPrefix = ((NI32) 0);
1744 {
1745 NI T7_;
1746 T7_ = (NI)0;
1747 T7_ = readBuffer__systemZio_144((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
1748 if (!!((T7_ == ((NI) 4)))) goto LA8_;
1749 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
1750 }
1751 goto LA5_;
1752 LA8_: ;
1753 {
1754 unsureAsgnRef((void**) (&(*s)), newSeq__icZic_3253(((NI) (lenPrefix))));
1755 {
1756 NI32 i;
1757 NI32 res;
1758 i = (NI32)0;
1759 res = ((NI32) 0);
1760 {
1761 while (1) {
1762 if (!(res < lenPrefix)) goto LA13;
1763 i = res;
1764 loadPrim__icZic_3262(f, (&(*s)->data[i]));
1765 res += ((NI) 1);
1766 } LA13: ;
1767 }
1768 }
1769 }
1770 LA5_: ;
1771 }BeforeRet_: ;
1772 }
N_NIMCALL(void,load__icZic_3215)1773 N_LIB_PRIVATE N_NIMCALL(void, load__icZic_3215)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg* t) {
1774 loadSeq__icZic_3219(f, (&(*t).vals));
1775 loadSeq__icZic_3238(f, (&(*t).keys));
1776 }
N_NIMCALL(tySequence__PXIzfWocnrafGz5p3CP5LA *,newSeq__icZic_3303)1777 N_LIB_PRIVATE N_NIMCALL(tySequence__PXIzfWocnrafGz5p3CP5LA*, newSeq__icZic_3303)(NI len) {
1778 tySequence__PXIzfWocnrafGz5p3CP5LA* result;
1779 result = NIM_NIL;
1780 result = (tySequence__PXIzfWocnrafGz5p3CP5LA*) newSeq((&NTIseqLLlitid_stringTT__PXIzfWocnrafGz5p3CP5LA_), len);
1781 return result;
1782 }
N_NIMCALL(void,loadPrim__icZic_3321)1783 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3321)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__0q9cmhneJEKnQERTpXXdz6Q* x) {
1784 { {
1785 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
1786 goto BeforeRet_;
1787 }
1788 LA3_: ;
1789 loadPrim__icZic_3262(f, (&(*x).Field0));
1790 loadPrim__icZrodfiles_89(f, (&(*x).Field1));
1791 }BeforeRet_: ;
1792 }
N_NIMCALL(void,loadSeq__icZic_3288)1793 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3288)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__PXIzfWocnrafGz5p3CP5LA** s) {
1794 NI32 lenPrefix;
1795 { {
1796 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
1797 goto BeforeRet_;
1798 }
1799 LA3_: ;
1800 lenPrefix = ((NI32) 0);
1801 {
1802 NI T7_;
1803 T7_ = (NI)0;
1804 T7_ = readBuffer__systemZio_144((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
1805 if (!!((T7_ == ((NI) 4)))) goto LA8_;
1806 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
1807 }
1808 goto LA5_;
1809 LA8_: ;
1810 {
1811 unsureAsgnRef((void**) (&(*s)), newSeq__icZic_3303(((NI) (lenPrefix))));
1812 {
1813 NI32 i;
1814 NI32 res;
1815 i = (NI32)0;
1816 res = ((NI32) 0);
1817 {
1818 while (1) {
1819 if (!(res < lenPrefix)) goto LA13;
1820 i = res;
1821 loadPrim__icZic_3321(f, (&(*s)->data[i]));
1822 res += ((NI) 1);
1823 } LA13: ;
1824 }
1825 }
1826 }
1827 LA5_: ;
1828 }BeforeRet_: ;
1829 }
N_INLINE(void,nimSetMem__systemZmemory_7)1830 static N_INLINE(void, nimSetMem__systemZmemory_7)(void* a, int v, NI size) {
1831 void* T1_;
1832 T1_ = (void*)0;
1833 T1_ = memset(a, v, ((size_t) (size)));
1834 }
N_INLINE(void,nimZeroMem)1835 static N_INLINE(void, nimZeroMem)(void* p, NI size) {
1836 nimSetMem__systemZmemory_7(p, ((int) 0), size);
1837 }
N_NIMCALL(NimStringDesc *,hashFileCached__icZic_514)1838 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, hashFileCached__icZic_514)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NI32 fileIdx) {
1839 NimStringDesc* result;
1840 result = NIM_NIL;
1841 result = getHash__msgs_564(conf, fileIdx);
1842 {
1843 NimStringDesc* fullpath;
1844 tyArray__YtcvxHNKV4YiecPE9ap1mcA T5_;
1845 if (!((result ? result->Sup.len : 0) == ((NI) 0))) goto LA3_;
1846 fullpath = toFullPath__msgs_538(conf, fileIdx);
1847 nimZeroMem((void*)T5_, sizeof(tyArray__YtcvxHNKV4YiecPE9ap1mcA));
1848 secureHashFile__stdZsha49_871(fullpath, T5_);
1849 result = dollar___stdZsha49_879(T5_);
1850 setHash__msgs_557(conf, fileIdx, result);
1851 }
1852 LA3_: ;
1853 return result;
1854 }
N_INLINE(NimStringDesc **,X5BX5D___icZic_152)1855 static N_INLINE(NimStringDesc**, X5BX5D___icZic_152)(tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg* t, NU32 LitId) {
1856 NimStringDesc** result;
1857 NI idx;
1858 result = (NimStringDesc**)0;
1859 idx = (NI)(((NI) (LitId)) - ((NI) 256));
1860 result = (&(*t).vals->data[idx]);
1861 return result;
1862 }
N_NIMCALL(NI32,toFileIndex__icZic_2160)1863 N_LIB_PRIVATE N_NIMCALL(NI32, toFileIndex__icZic_2160)(NU32 x, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config) {
1864 NI32 result;
1865 NimStringDesc** T1_;
1866 result = (NI32)0;
1867 T1_ = (NimStringDesc**)0;
1868 T1_ = X5BX5D___icZic_152((&(*m).strings), x);
1869 result = fileInfoIdx__msgs_376(config, (*T1_));
1870 return result;
1871 }
N_NIMCALL(NIM_BOOL,includesIdentical__icZic_2226)1872 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, includesIdentical__icZic_2226)(tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config) {
1873 NIM_BOOL result;
1874 { result = (NIM_BOOL)0;
1875 {
1876 tyTuple__0q9cmhneJEKnQERTpXXdz6Q* it;
1877 NI i;
1878 NI L;
1879 NI T2_;
1880 it = (tyTuple__0q9cmhneJEKnQERTpXXdz6Q*)0;
1881 i = ((NI) 0);
1882 T2_ = ((*m).includes ? (*m).includes->Sup.len : 0);
1883 L = T2_;
1884 {
1885 while (1) {
1886 if (!(i < L)) goto LA4;
1887 it = (&(*m).includes->data[i]);
1888 {
1889 NI32 T7_;
1890 NimStringDesc* T8_;
1891 T7_ = (NI32)0;
1892 T7_ = toFileIndex__icZic_2160((*it).Field0, (&(*m)), config);
1893 T8_ = NIM_NIL;
1894 T8_ = hashFileCached__icZic_514(config, T7_);
1895 if (!!(eqStrings(T8_, (*it).Field1))) goto LA9_;
1896 result = NIM_FALSE;
1897 goto BeforeRet_;
1898 }
1899 LA9_: ;
1900 i += ((NI) 1);
1901 } LA4: ;
1902 }
1903 }
1904 result = NIM_TRUE;
1905 }BeforeRet_: ;
1906 return result;
1907 }
N_NIMCALL(tySequence__IHUFRsFxZNv7YydiUO2esQ *,newSeq__icZic_3365)1908 N_LIB_PRIVATE N_NIMCALL(tySequence__IHUFRsFxZNv7YydiUO2esQ*, newSeq__icZic_3365)(NI len) {
1909 tySequence__IHUFRsFxZNv7YydiUO2esQ* result;
1910 result = NIM_NIL;
1911 result = (tySequence__IHUFRsFxZNv7YydiUO2esQ*) newSeq((&NTIseqLbiggestintT__IHUFRsFxZNv7YydiUO2esQ_), len);
1912 return result;
1913 }
N_NIMCALL(void,loadPrim__icZic_3383)1914 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3383)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NI64* x) {
1915 { {
1916 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
1917 goto BeforeRet_;
1918 }
1919 LA3_: ;
1920 {
1921 NI T7_;
1922 T7_ = (NI)0;
1923 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 8));
1924 if (!!((T7_ == ((NI) 8)))) goto LA8_;
1925 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
1926 }
1927 LA8_: ;
1928 }BeforeRet_: ;
1929 }
N_NIMCALL(void,loadSeq__icZic_3350)1930 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3350)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__IHUFRsFxZNv7YydiUO2esQ** s) {
1931 NI32 lenPrefix;
1932 { {
1933 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
1934 goto BeforeRet_;
1935 }
1936 LA3_: ;
1937 lenPrefix = ((NI32) 0);
1938 {
1939 NI T7_;
1940 T7_ = (NI)0;
1941 T7_ = readBuffer__systemZio_144((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
1942 if (!!((T7_ == ((NI) 4)))) goto LA8_;
1943 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
1944 }
1945 goto LA5_;
1946 LA8_: ;
1947 {
1948 unsureAsgnRef((void**) (&(*s)), newSeq__icZic_3365(((NI) (lenPrefix))));
1949 {
1950 NI32 i;
1951 NI32 res;
1952 i = (NI32)0;
1953 res = ((NI32) 0);
1954 {
1955 while (1) {
1956 if (!(res < lenPrefix)) goto LA13;
1957 i = res;
1958 loadPrim__icZic_3383(f, (&(*s)->data[i]));
1959 res += ((NI) 1);
1960 } LA13: ;
1961 }
1962 }
1963 }
1964 LA5_: ;
1965 }BeforeRet_: ;
1966 }
N_NIMCALL(void,load__icZic_3346)1967 N_LIB_PRIVATE N_NIMCALL(void, load__icZic_3346)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_BiTable__DyMEQOe8VsqcG49bIhU69bBQ* t) {
1968 loadSeq__icZic_3350(f, (&(*t).vals));
1969 loadSeq__icZic_3238(f, (&(*t).keys));
1970 }
N_NIMCALL(tySequence__b89aLriiJnVTD186H6zNIgg *,newSeq__icZic_3419)1971 N_LIB_PRIVATE N_NIMCALL(tySequence__b89aLriiJnVTD186H6zNIgg*, newSeq__icZic_3419)(NI len) {
1972 tySequence__b89aLriiJnVTD186H6zNIgg* result;
1973 result = NIM_NIL;
1974 result = (tySequence__b89aLriiJnVTD186H6zNIgg*) newSeq((&NTIseqLLlitid_int5150TT__b89aLriiJnVTD186H6zNIgg_), len);
1975 return result;
1976 }
N_NIMCALL(void,loadPrim__icZic_3437)1977 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3437)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ* x) {
1978 { {
1979 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
1980 goto BeforeRet_;
1981 }
1982 LA3_: ;
1983 {
1984 NI T7_;
1985 T7_ = (NI)0;
1986 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 8));
1987 if (!!((T7_ == ((NI) 8)))) goto LA8_;
1988 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
1989 }
1990 LA8_: ;
1991 }BeforeRet_: ;
1992 }
N_NIMCALL(void,loadSeq__icZic_3404)1993 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3404)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__b89aLriiJnVTD186H6zNIgg** s) {
1994 NI32 lenPrefix;
1995 { {
1996 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
1997 goto BeforeRet_;
1998 }
1999 LA3_: ;
2000 lenPrefix = ((NI32) 0);
2001 {
2002 NI T7_;
2003 T7_ = (NI)0;
2004 T7_ = readBuffer__systemZio_144((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
2005 if (!!((T7_ == ((NI) 4)))) goto LA8_;
2006 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2007 }
2008 goto LA5_;
2009 LA8_: ;
2010 {
2011 unsureAsgnRef((void**) (&(*s)), newSeq__icZic_3419(((NI) (lenPrefix))));
2012 {
2013 NI32 i;
2014 NI32 res;
2015 i = (NI32)0;
2016 res = ((NI32) 0);
2017 {
2018 while (1) {
2019 if (!(res < lenPrefix)) goto LA13;
2020 i = res;
2021 loadPrim__icZic_3437(f, (&(*s)->data[i]));
2022 res += ((NI) 1);
2023 } LA13: ;
2024 }
2025 }
2026 }
2027 LA5_: ;
2028 }BeforeRet_: ;
2029 }
N_NIMCALL(tySequence__REuPuHuSlOkZ0Q5oqzDrQg *,newSeq__icZic_3482)2030 N_LIB_PRIVATE N_NIMCALL(tySequence__REuPuHuSlOkZ0Q5oqzDrQg*, newSeq__icZic_3482)(NI len) {
2031 tySequence__REuPuHuSlOkZ0Q5oqzDrQg* result;
2032 result = NIM_NIL;
2033 result = (tySequence__REuPuHuSlOkZ0Q5oqzDrQg*) newSeq((&NTIseqLLlitid_packeditemidTT__REuPuHuSlOkZ0Q5oqzDrQg_), len);
2034 return result;
2035 }
N_NIMCALL(void,loadPrim__icZic_3500)2036 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3500)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__Q7r9caOmeWqQGZCIBHhGRUA* x) {
2037 { {
2038 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2039 goto BeforeRet_;
2040 }
2041 LA3_: ;
2042 {
2043 NI T7_;
2044 T7_ = (NI)0;
2045 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 12));
2046 if (!!((T7_ == ((NI) 12)))) goto LA8_;
2047 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2048 }
2049 LA8_: ;
2050 }BeforeRet_: ;
2051 }
N_NIMCALL(void,loadSeq__icZic_3467)2052 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3467)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__REuPuHuSlOkZ0Q5oqzDrQg** s) {
2053 NI32 lenPrefix;
2054 { {
2055 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2056 goto BeforeRet_;
2057 }
2058 LA3_: ;
2059 lenPrefix = ((NI32) 0);
2060 {
2061 NI T7_;
2062 T7_ = (NI)0;
2063 T7_ = readBuffer__systemZio_144((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
2064 if (!!((T7_ == ((NI) 4)))) goto LA8_;
2065 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2066 }
2067 goto LA5_;
2068 LA8_: ;
2069 {
2070 unsureAsgnRef((void**) (&(*s)), newSeq__icZic_3482(((NI) (lenPrefix))));
2071 {
2072 NI32 i;
2073 NI32 res;
2074 i = (NI32)0;
2075 res = ((NI32) 0);
2076 {
2077 while (1) {
2078 if (!(res < lenPrefix)) goto LA13;
2079 i = res;
2080 loadPrim__icZic_3500(f, (&(*s)->data[i]));
2081 res += ((NI) 1);
2082 } LA13: ;
2083 }
2084 }
2085 }
2086 LA5_: ;
2087 }BeforeRet_: ;
2088 }
N_NIMCALL(tySequence__48JTohSgTy339bRxHzUD8KA *,newSeq__icZic_3545)2089 N_LIB_PRIVATE N_NIMCALL(tySequence__48JTohSgTy339bRxHzUD8KA*, newSeq__icZic_3545)(NI len) {
2090 tySequence__48JTohSgTy339bRxHzUD8KA* result;
2091 result = NIM_NIL;
2092 result = (tySequence__48JTohSgTy339bRxHzUD8KA*) newSeq((&NTIseqLint5150T__48JTohSgTy339bRxHzUD8KA_), len);
2093 return result;
2094 }
N_NIMCALL(void,loadPrim__icZic_3563)2095 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3563)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NI32* x) {
2096 { {
2097 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2098 goto BeforeRet_;
2099 }
2100 LA3_: ;
2101 {
2102 NI T7_;
2103 T7_ = (NI)0;
2104 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 4));
2105 if (!!((T7_ == ((NI) 4)))) goto LA8_;
2106 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2107 }
2108 LA8_: ;
2109 }BeforeRet_: ;
2110 }
N_NIMCALL(void,loadSeq__icZic_3530)2111 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3530)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__48JTohSgTy339bRxHzUD8KA** s) {
2112 NI32 lenPrefix;
2113 { {
2114 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2115 goto BeforeRet_;
2116 }
2117 LA3_: ;
2118 lenPrefix = ((NI32) 0);
2119 {
2120 NI T7_;
2121 T7_ = (NI)0;
2122 T7_ = readBuffer__systemZio_144((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
2123 if (!!((T7_ == ((NI) 4)))) goto LA8_;
2124 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2125 }
2126 goto LA5_;
2127 LA8_: ;
2128 {
2129 unsureAsgnRef((void**) (&(*s)), newSeq__icZic_3545(((NI) (lenPrefix))));
2130 {
2131 NI32 i;
2132 NI32 res;
2133 i = (NI32)0;
2134 res = ((NI32) 0);
2135 {
2136 while (1) {
2137 if (!(res < lenPrefix)) goto LA13;
2138 i = res;
2139 loadPrim__icZic_3563(f, (&(*s)->data[i]));
2140 res += ((NI) 1);
2141 } LA13: ;
2142 }
2143 }
2144 }
2145 LA5_: ;
2146 }BeforeRet_: ;
2147 }
N_NIMCALL(tySequence__I9aQmO9asXXWJ58UI9c8BCSzA *,newSeq__icZic_3607)2148 N_LIB_PRIVATE N_NIMCALL(tySequence__I9aQmO9asXXWJ58UI9c8BCSzA*, newSeq__icZic_3607)(NI len) {
2149 tySequence__I9aQmO9asXXWJ58UI9c8BCSzA* result;
2150 result = NIM_NIL;
2151 result = (tySequence__I9aQmO9asXXWJ58UI9c8BCSzA*) newSeq((&NTIseqLLpackeditemid_packedlineinfoTT__I9aQmO9asXXWJ58UI9c8BCSzA_), len);
2152 return result;
2153 }
N_NIMCALL(void,loadPrim__icZic_3634)2154 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3634)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__7Wlwbz8zSe7Udyf7mmsd9cg* x) {
2155 { {
2156 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2157 goto BeforeRet_;
2158 }
2159 LA3_: ;
2160 {
2161 NI T7_;
2162 T7_ = (NI)0;
2163 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 16));
2164 if (!!((T7_ == ((NI) 16)))) goto LA8_;
2165 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2166 }
2167 LA8_: ;
2168 }BeforeRet_: ;
2169 }
N_NIMCALL(void,loadSeq__icZic_3592)2170 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3592)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__I9aQmO9asXXWJ58UI9c8BCSzA** s) {
2171 NI32 lenPrefix;
2172 { {
2173 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2174 goto BeforeRet_;
2175 }
2176 LA3_: ;
2177 lenPrefix = ((NI32) 0);
2178 {
2179 NI T7_;
2180 T7_ = (NI)0;
2181 T7_ = readBuffer__systemZio_144((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
2182 if (!!((T7_ == ((NI) 4)))) goto LA8_;
2183 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2184 }
2185 goto LA5_;
2186 LA8_: ;
2187 {
2188 unsureAsgnRef((void**) (&(*s)), newSeq__icZic_3607(((NI) (lenPrefix))));
2189 {
2190 NI32 i;
2191 NI32 res;
2192 i = (NI32)0;
2193 res = ((NI32) 0);
2194 {
2195 while (1) {
2196 if (!(res < lenPrefix)) goto LA13;
2197 i = res;
2198 loadPrim__icZic_3634(f, (&(*s)->data[i]));
2199 res += ((NI) 1);
2200 } LA13: ;
2201 }
2202 }
2203 }
2204 LA5_: ;
2205 }BeforeRet_: ;
2206 }
N_NIMCALL(tySequence__29bS0n2QNyO1R7e0qMMOvLA *,newSeq__icZic_3675)2207 N_LIB_PRIVATE N_NIMCALL(tySequence__29bS0n2QNyO1R7e0qMMOvLA*, newSeq__icZic_3675)(NI len) {
2208 tySequence__29bS0n2QNyO1R7e0qMMOvLA* result;
2209 result = NIM_NIL;
2210 result = (tySequence__29bS0n2QNyO1R7e0qMMOvLA*) newSeq((&NTIseqLpackednodeT__29bS0n2QNyO1R7e0qMMOvLA_), len);
2211 return result;
2212 }
N_NIMCALL(void,loadPrim__icZic_3684)2213 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3684)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow* x) {
2214 { {
2215 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2216 goto BeforeRet_;
2217 }
2218 LA3_: ;
2219 {
2220 NI T7_;
2221 T7_ = (NI)0;
2222 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 28));
2223 if (!!((T7_ == ((NI) 28)))) goto LA8_;
2224 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2225 }
2226 LA8_: ;
2227 }BeforeRet_: ;
2228 }
N_NIMCALL(void,loadSeq__icZic_3660)2229 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3660)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__29bS0n2QNyO1R7e0qMMOvLA** s) {
2230 NI32 lenPrefix;
2231 { {
2232 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2233 goto BeforeRet_;
2234 }
2235 LA3_: ;
2236 lenPrefix = ((NI32) 0);
2237 {
2238 NI T7_;
2239 T7_ = (NI)0;
2240 T7_ = readBuffer__systemZio_144((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
2241 if (!!((T7_ == ((NI) 4)))) goto LA8_;
2242 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2243 }
2244 goto LA5_;
2245 LA8_: ;
2246 {
2247 unsureAsgnRef((void**) (&(*s)), newSeq__icZic_3675(((NI) (lenPrefix))));
2248 {
2249 NI32 i;
2250 NI32 res;
2251 i = (NI32)0;
2252 res = ((NI32) 0);
2253 {
2254 while (1) {
2255 if (!(res < lenPrefix)) goto LA13;
2256 i = res;
2257 loadPrim__icZic_3684(f, (&(*s)->data[i]));
2258 res += ((NI) 1);
2259 } LA13: ;
2260 }
2261 }
2262 }
2263 LA5_: ;
2264 }BeforeRet_: ;
2265 }
N_NIMCALL(tySequence__DfmUmNgVGnYaiV1I6227tw *,newSeq__icZic_3733)2266 N_LIB_PRIVATE N_NIMCALL(tySequence__DfmUmNgVGnYaiV1I6227tw*, newSeq__icZic_3733)(NI len) {
2267 tySequence__DfmUmNgVGnYaiV1I6227tw* result;
2268 result = NIM_NIL;
2269 result = (tySequence__DfmUmNgVGnYaiV1I6227tw*) newSeq((&NTIseqLpackedsymT__DfmUmNgVGnYaiV1I6227tw_), len);
2270 return result;
2271 }
N_NIMCALL(void,loadPrim__icZic_3751)2272 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3751)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedSym__XjVn21MwvH8ij6CfopYZWw* x) {
2273 { {
2274 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2275 goto BeforeRet_;
2276 }
2277 LA3_: ;
2278 {
2279 NI T7_;
2280 T7_ = (NI)0;
2281 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 120));
2282 if (!!((T7_ == ((NI) 120)))) goto LA8_;
2283 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2284 }
2285 LA8_: ;
2286 }BeforeRet_: ;
2287 }
N_NIMCALL(void,loadSeq__icZic_3718)2288 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3718)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__DfmUmNgVGnYaiV1I6227tw** s) {
2289 NI32 lenPrefix;
2290 { {
2291 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2292 goto BeforeRet_;
2293 }
2294 LA3_: ;
2295 lenPrefix = ((NI32) 0);
2296 {
2297 NI T7_;
2298 T7_ = (NI)0;
2299 T7_ = readBuffer__systemZio_144((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
2300 if (!!((T7_ == ((NI) 4)))) goto LA8_;
2301 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2302 }
2303 goto LA5_;
2304 LA8_: ;
2305 {
2306 unsureAsgnRef((void**) (&(*s)), newSeq__icZic_3733(((NI) (lenPrefix))));
2307 {
2308 NI32 i;
2309 NI32 res;
2310 i = (NI32)0;
2311 res = ((NI32) 0);
2312 {
2313 while (1) {
2314 if (!(res < lenPrefix)) goto LA13;
2315 i = res;
2316 loadPrim__icZic_3751(f, (&(*s)->data[i]));
2317 res += ((NI) 1);
2318 } LA13: ;
2319 }
2320 }
2321 }
2322 LA5_: ;
2323 }BeforeRet_: ;
2324 }
N_NIMCALL(tySequence__t8Uv4lEJ4lkuECvP9c6JMhA *,newSeq__icZic_3792)2325 N_LIB_PRIVATE N_NIMCALL(tySequence__t8Uv4lEJ4lkuECvP9c6JMhA*, newSeq__icZic_3792)(NI len) {
2326 tySequence__t8Uv4lEJ4lkuECvP9c6JMhA* result;
2327 result = NIM_NIL;
2328 result = (tySequence__t8Uv4lEJ4lkuECvP9c6JMhA*) newSeq((&NTIseqLpackedtypeT__t8Uv4lEJ4lkuECvP9c6JMhA_), len);
2329 return result;
2330 }
N_NIMCALL(void,loadPrim__icZic_3828)2331 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3828)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag* x) {
2332 { {
2333 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2334 goto BeforeRet_;
2335 }
2336 LA3_: ;
2337 {
2338 NI T7_;
2339 T7_ = (NI)0;
2340 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 1));
2341 if (!!((T7_ == ((NI) 1)))) goto LA8_;
2342 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2343 }
2344 LA8_: ;
2345 }BeforeRet_: ;
2346 }
N_NIMCALL(void,loadPrim__icZic_3856)2347 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3856)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA* x) {
2348 { {
2349 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2350 goto BeforeRet_;
2351 }
2352 LA3_: ;
2353 {
2354 NI T7_;
2355 T7_ = (NI)0;
2356 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 1));
2357 if (!!((T7_ == ((NI) 1)))) goto LA8_;
2358 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2359 }
2360 LA8_: ;
2361 }BeforeRet_: ;
2362 }
N_NIMCALL(void,loadPrim__icZic_3884)2363 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3884)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw* x) {
2364 { {
2365 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2366 goto BeforeRet_;
2367 }
2368 LA3_: ;
2369 {
2370 NI T7_;
2371 T7_ = (NI)0;
2372 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 8));
2373 if (!!((T7_ == ((NI) 8)))) goto LA8_;
2374 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2375 }
2376 LA8_: ;
2377 }BeforeRet_: ;
2378 }
N_NIMCALL(tySequence__vC9cvg0R8tfBaOXXi3sfMzw *,newSeq__icZic_3081)2379 N_LIB_PRIVATE N_NIMCALL(tySequence__vC9cvg0R8tfBaOXXi3sfMzw*, newSeq__icZic_3081)(NI len) {
2380 tySequence__vC9cvg0R8tfBaOXXi3sfMzw* result;
2381 result = NIM_NIL;
2382 result = (tySequence__vC9cvg0R8tfBaOXXi3sfMzw*) newSeq((&NTIseqLpackeditemidT__vC9cvg0R8tfBaOXXi3sfMzw_), len);
2383 return result;
2384 }
N_NIMCALL(void,loadPrim__icZic_3931)2385 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3931)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ* x) {
2386 { {
2387 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2388 goto BeforeRet_;
2389 }
2390 LA3_: ;
2391 {
2392 NI T7_;
2393 T7_ = (NI)0;
2394 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 8));
2395 if (!!((T7_ == ((NI) 8)))) goto LA8_;
2396 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2397 }
2398 LA8_: ;
2399 }BeforeRet_: ;
2400 }
N_NIMCALL(void,loadSeq__icZic_3912)2401 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3912)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__vC9cvg0R8tfBaOXXi3sfMzw** s) {
2402 NI32 lenPrefix;
2403 { {
2404 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2405 goto BeforeRet_;
2406 }
2407 LA3_: ;
2408 lenPrefix = ((NI32) 0);
2409 {
2410 NI T7_;
2411 T7_ = (NI)0;
2412 T7_ = readBuffer__systemZio_144((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
2413 if (!!((T7_ == ((NI) 4)))) goto LA8_;
2414 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2415 }
2416 goto LA5_;
2417 LA8_: ;
2418 {
2419 unsureAsgnRef((void**) (&(*s)), newSeq__icZic_3081(((NI) (lenPrefix))));
2420 {
2421 NI32 i;
2422 NI32 res;
2423 i = (NI32)0;
2424 res = ((NI32) 0);
2425 {
2426 while (1) {
2427 if (!(res < lenPrefix)) goto LA13;
2428 i = res;
2429 loadPrim__icZic_3931(f, (&(*s)->data[i]));
2430 res += ((NI) 1);
2431 } LA13: ;
2432 }
2433 }
2434 }
2435 LA5_: ;
2436 }BeforeRet_: ;
2437 }
N_NIMCALL(void,loadPrim__icZic_3959)2438 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3959)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NI32* x) {
2439 { {
2440 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2441 goto BeforeRet_;
2442 }
2443 LA3_: ;
2444 {
2445 NI T7_;
2446 T7_ = (NI)0;
2447 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 4));
2448 if (!!((T7_ == ((NI) 4)))) goto LA8_;
2449 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2450 }
2451 LA8_: ;
2452 }BeforeRet_: ;
2453 }
N_NIMCALL(void,loadPrim__icZic_4005)2454 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_4005)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NI16* x) {
2455 { {
2456 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2457 goto BeforeRet_;
2458 }
2459 LA3_: ;
2460 {
2461 NI T7_;
2462 T7_ = (NI)0;
2463 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 2));
2464 if (!!((T7_ == ((NI) 2)))) goto LA8_;
2465 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2466 }
2467 LA8_: ;
2468 }BeforeRet_: ;
2469 }
N_NIMCALL(void,loadPrim__icZic_4030)2470 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_4030)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NI16* x) {
2471 { {
2472 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2473 goto BeforeRet_;
2474 }
2475 LA3_: ;
2476 {
2477 NI T7_;
2478 T7_ = (NI)0;
2479 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 2));
2480 if (!!((T7_ == ((NI) 2)))) goto LA8_;
2481 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2482 }
2483 LA8_: ;
2484 }BeforeRet_: ;
2485 }
N_NIMCALL(void,loadPrim__icZic_3810)2486 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_3810)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedType__IhXsK7mrwumUBtEqbZ2BqA* x) {
2487 { {
2488 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2489 goto BeforeRet_;
2490 }
2491 LA3_: ;
2492 loadPrim__icZic_3828(f, (&(*x).kind));
2493 loadPrim__icZic_3856(f, (&(*x).callConv));
2494 loadPrim__icZic_3884(f, (&(*x).flags));
2495 loadSeq__icZic_3912(f, (&(*x).types));
2496 loadPrim__icZic_3959(f, (&(*x).n));
2497 loadPrim__icZic_3931(f, (&(*x).sym));
2498 loadPrim__icZic_3931(f, (&(*x).owner));
2499 loadPrim__icZic_3383(f, (&(*x).size));
2500 loadPrim__icZic_4005(f, (&(*x).align));
2501 loadPrim__icZic_4005(f, (&(*x).paddingAtEnd));
2502 loadPrim__icZic_4030(f, (&(*x).lockLevel));
2503 loadPrim__icZic_3931(f, (&(*x).typeInst));
2504 loadPrim__icZic_3563(f, (&(*x).nonUniqueId));
2505 }BeforeRet_: ;
2506 }
N_NIMCALL(void,loadSeq__icZic_3777)2507 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_3777)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__t8Uv4lEJ4lkuECvP9c6JMhA** s) {
2508 NI32 lenPrefix;
2509 { {
2510 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2511 goto BeforeRet_;
2512 }
2513 LA3_: ;
2514 lenPrefix = ((NI32) 0);
2515 {
2516 NI T7_;
2517 T7_ = (NI)0;
2518 T7_ = readBuffer__systemZio_144((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
2519 if (!!((T7_ == ((NI) 4)))) goto LA8_;
2520 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2521 }
2522 goto LA5_;
2523 LA8_: ;
2524 {
2525 unsureAsgnRef((void**) (&(*s)), newSeq__icZic_3792(((NI) (lenPrefix))));
2526 {
2527 NI32 i;
2528 NI32 res;
2529 i = (NI32)0;
2530 res = ((NI32) 0);
2531 {
2532 while (1) {
2533 if (!(res < lenPrefix)) goto LA13;
2534 i = res;
2535 loadPrim__icZic_3810(f, (&(*s)->data[i]));
2536 res += ((NI) 1);
2537 } LA13: ;
2538 }
2539 }
2540 }
2541 LA5_: ;
2542 }BeforeRet_: ;
2543 }
N_NIMCALL(tySequence__NyaOkf8ZwxP6rkRF5TOkew *,newSeq__icZic_4083)2544 N_LIB_PRIVATE N_NIMCALL(tySequence__NyaOkf8ZwxP6rkRF5TOkew*, newSeq__icZic_4083)(NI len) {
2545 tySequence__NyaOkf8ZwxP6rkRF5TOkew* result;
2546 result = NIM_NIL;
2547 result = (tySequence__NyaOkf8ZwxP6rkRF5TOkew*) newSeq((&NTIseqLLpackeditemid_packeditemidTT__NyaOkf8ZwxP6rkRF5TOkew_), len);
2548 return result;
2549 }
N_NIMCALL(void,loadPrim__icZic_4101)2550 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_4101)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__XyJ8LOAZzVVXSsmt09b8uWw* x) {
2551 { {
2552 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2553 goto BeforeRet_;
2554 }
2555 LA3_: ;
2556 {
2557 NI T7_;
2558 T7_ = (NI)0;
2559 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 16));
2560 if (!!((T7_ == ((NI) 16)))) goto LA8_;
2561 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2562 }
2563 LA8_: ;
2564 }BeforeRet_: ;
2565 }
N_NIMCALL(void,loadSeq__icZic_4068)2566 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_4068)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__NyaOkf8ZwxP6rkRF5TOkew** s) {
2567 NI32 lenPrefix;
2568 { {
2569 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2570 goto BeforeRet_;
2571 }
2572 LA3_: ;
2573 lenPrefix = ((NI32) 0);
2574 {
2575 NI T7_;
2576 T7_ = (NI)0;
2577 T7_ = readBuffer__systemZio_144((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
2578 if (!!((T7_ == ((NI) 4)))) goto LA8_;
2579 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2580 }
2581 goto LA5_;
2582 LA8_: ;
2583 {
2584 unsureAsgnRef((void**) (&(*s)), newSeq__icZic_4083(((NI) (lenPrefix))));
2585 {
2586 NI32 i;
2587 NI32 res;
2588 i = (NI32)0;
2589 res = ((NI32) 0);
2590 {
2591 while (1) {
2592 if (!(res < lenPrefix)) goto LA13;
2593 i = res;
2594 loadPrim__icZic_4101(f, (&(*s)->data[i]));
2595 res += ((NI) 1);
2596 } LA13: ;
2597 }
2598 }
2599 }
2600 LA5_: ;
2601 }BeforeRet_: ;
2602 }
N_NIMCALL(tySequence__L9bOt8CaTEmIjgtuZvp6syg *,newSeq__icZic_4142)2603 N_LIB_PRIVATE N_NIMCALL(tySequence__L9bOt8CaTEmIjgtuZvp6syg*, newSeq__icZic_4142)(NI len) {
2604 tySequence__L9bOt8CaTEmIjgtuZvp6syg* result;
2605 result = NIM_NIL;
2606 result = (tySequence__L9bOt8CaTEmIjgtuZvp6syg*) newSeq((&NTIseqLpackedinstantiationT__L9bOt8CaTEmIjgtuZvp6syg_), len);
2607 return result;
2608 }
N_NIMCALL(void,loadPrim__icZic_4160)2609 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_4160)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedInstantiation__39cWRURu69agjI9c1ohiUmxiA* x) {
2610 { {
2611 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2612 goto BeforeRet_;
2613 }
2614 LA3_: ;
2615 loadPrim__icZic_3931(f, (&(*x).key));
2616 loadPrim__icZic_3931(f, (&(*x).sym));
2617 loadSeq__icZic_3912(f, (&(*x).concreteTypes));
2618 }BeforeRet_: ;
2619 }
N_NIMCALL(void,loadSeq__icZic_4127)2620 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_4127)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__L9bOt8CaTEmIjgtuZvp6syg** s) {
2621 NI32 lenPrefix;
2622 { {
2623 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2624 goto BeforeRet_;
2625 }
2626 LA3_: ;
2627 lenPrefix = ((NI32) 0);
2628 {
2629 NI T7_;
2630 T7_ = (NI)0;
2631 T7_ = readBuffer__systemZio_144((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
2632 if (!!((T7_ == ((NI) 4)))) goto LA8_;
2633 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2634 }
2635 goto LA5_;
2636 LA8_: ;
2637 {
2638 unsureAsgnRef((void**) (&(*s)), newSeq__icZic_4142(((NI) (lenPrefix))));
2639 {
2640 NI32 i;
2641 NI32 res;
2642 i = (NI32)0;
2643 res = ((NI32) 0);
2644 {
2645 while (1) {
2646 if (!(res < lenPrefix)) goto LA13;
2647 i = res;
2648 loadPrim__icZic_4160(f, (&(*s)->data[i]));
2649 res += ((NI) 1);
2650 } LA13: ;
2651 }
2652 }
2653 }
2654 LA5_: ;
2655 }BeforeRet_: ;
2656 }
N_NIMCALL(tySequence__im8UB2GsZvUaQ4a1wKGWhQ *,newSeq__icZic_4209)2657 N_LIB_PRIVATE N_NIMCALL(tySequence__im8UB2GsZvUaQ4a1wKGWhQ*, newSeq__icZic_4209)(NI len) {
2658 tySequence__im8UB2GsZvUaQ4a1wKGWhQ* result;
2659 result = NIM_NIL;
2660 result = (tySequence__im8UB2GsZvUaQ4a1wKGWhQ*) newSeq((&NTIseqLLttypeattachedop_packeditemid_packeditemidTT__im8UB2GsZvUaQ4a1wKGWhQ_), len);
2661 return result;
2662 }
N_NIMCALL(void,loadPrim__icZic_4236)2663 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_4236)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__9aoobCDZB4x41HJSOmh0mwA* x) {
2664 { {
2665 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2666 goto BeforeRet_;
2667 }
2668 LA3_: ;
2669 {
2670 NI T7_;
2671 T7_ = (NI)0;
2672 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 20));
2673 if (!!((T7_ == ((NI) 20)))) goto LA8_;
2674 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2675 }
2676 LA8_: ;
2677 }BeforeRet_: ;
2678 }
N_NIMCALL(void,loadSeq__icZic_4194)2679 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_4194)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__im8UB2GsZvUaQ4a1wKGWhQ** s) {
2680 NI32 lenPrefix;
2681 { {
2682 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2683 goto BeforeRet_;
2684 }
2685 LA3_: ;
2686 lenPrefix = ((NI32) 0);
2687 {
2688 NI T7_;
2689 T7_ = (NI)0;
2690 T7_ = readBuffer__systemZio_144((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
2691 if (!!((T7_ == ((NI) 4)))) goto LA8_;
2692 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2693 }
2694 goto LA5_;
2695 LA8_: ;
2696 {
2697 unsureAsgnRef((void**) (&(*s)), newSeq__icZic_4209(((NI) (lenPrefix))));
2698 {
2699 NI32 i;
2700 NI32 res;
2701 i = (NI32)0;
2702 res = ((NI32) 0);
2703 {
2704 while (1) {
2705 if (!(res < lenPrefix)) goto LA13;
2706 i = res;
2707 loadPrim__icZic_4236(f, (&(*s)->data[i]));
2708 res += ((NI) 1);
2709 } LA13: ;
2710 }
2711 }
2712 }
2713 LA5_: ;
2714 }BeforeRet_: ;
2715 }
N_NIMCALL(tySequence__xxnXDLpoqBo8zJzP9b1073g *,newSeq__icZic_4277)2716 N_LIB_PRIVATE N_NIMCALL(tySequence__xxnXDLpoqBo8zJzP9b1073g*, newSeq__icZic_4277)(NI len) {
2717 tySequence__xxnXDLpoqBo8zJzP9b1073g* result;
2718 result = NIM_NIL;
2719 result = (tySequence__xxnXDLpoqBo8zJzP9b1073g*) newSeq((&NTIseqLLpackeditemid_int_packeditemidTT__xxnXDLpoqBo8zJzP9b1073g_), len);
2720 return result;
2721 }
N_NIMCALL(void,loadPrim__icZic_4304)2722 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_4304)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__g0Q6Qx15nK53ce9aLo7YyrA* x) {
2723 { {
2724 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2725 goto BeforeRet_;
2726 }
2727 LA3_: ;
2728 {
2729 NI T7_;
2730 T7_ = (NI)0;
2731 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 24));
2732 if (!!((T7_ == ((NI) 24)))) goto LA8_;
2733 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2734 }
2735 LA8_: ;
2736 }BeforeRet_: ;
2737 }
N_NIMCALL(void,loadSeq__icZic_4262)2738 N_LIB_PRIVATE N_NIMCALL(void, loadSeq__icZic_4262)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__xxnXDLpoqBo8zJzP9b1073g** s) {
2739 NI32 lenPrefix;
2740 { {
2741 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2742 goto BeforeRet_;
2743 }
2744 LA3_: ;
2745 lenPrefix = ((NI32) 0);
2746 {
2747 NI T7_;
2748 T7_ = (NI)0;
2749 T7_ = readBuffer__systemZio_144((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
2750 if (!!((T7_ == ((NI) 4)))) goto LA8_;
2751 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2752 }
2753 goto LA5_;
2754 LA8_: ;
2755 {
2756 unsureAsgnRef((void**) (&(*s)), newSeq__icZic_4277(((NI) (lenPrefix))));
2757 {
2758 NI32 i;
2759 NI32 res;
2760 i = (NI32)0;
2761 res = ((NI32) 0);
2762 {
2763 while (1) {
2764 if (!(res < lenPrefix)) goto LA13;
2765 i = res;
2766 loadPrim__icZic_4304(f, (&(*s)->data[i]));
2767 res += ((NI) 1);
2768 } LA13: ;
2769 }
2770 }
2771 }
2772 LA5_: ;
2773 }BeforeRet_: ;
2774 }
N_NIMCALL(void,loadPrim__icZic_4338)2775 N_LIB_PRIVATE N_NIMCALL(void, loadPrim__icZic_4338)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySet_tyEnum_ModuleBackendFlag__fgnyOEZ7Q9aYVj8O59afcT4g* x) {
2776 { {
2777 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
2778 goto BeforeRet_;
2779 }
2780 LA3_: ;
2781 {
2782 NI T7_;
2783 T7_ = (NI)0;
2784 T7_ = readBuffer__systemZio_144((*f).f, ((void*) (x)), ((NI) 1));
2785 if (!!((T7_ == ((NI) 1)))) goto LA8_;
2786 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
2787 }
2788 LA8_: ;
2789 }BeforeRet_: ;
2790 }
N_NIMCALL(tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ,loadRodFile__icZic_3144)2791 N_LIB_PRIVATE N_NIMCALL(tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ, loadRodFile__icZic_3144)(NimStringDesc* filename, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config, NIM_BOOL ignoreConfig) {
2792 tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ result;
2793 tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg f;
2794 result = (tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ)0;
2795 f = open__icZrodfiles_286(filename);
2796 loadHeader__icZrodfiles_138((&f));
2797 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 1));
2798 loadPrim__icZrodfiles_89((&f), (&(*m).definedSymbols));
2799 loadPrim__icZic_3151((&f), (&(*m).moduleFlags));
2800 loadPrim__icZic_3177((&f), (&(*m).cfg));
2801 {
2802 NIM_BOOL T3_;
2803 NIM_BOOL T4_;
2804 NIM_BOOL T6_;
2805 T3_ = (NIM_BOOL)0;
2806 T4_ = (NIM_BOOL)0;
2807 T4_ = (f.err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0));
2808 if (!(T4_)) goto LA5_;
2809 T6_ = (NIM_BOOL)0;
2810 T6_ = configIdentical__icZic_479((&(*m)), config);
2811 T4_ = !(T6_);
2812 LA5_: ;
2813 T3_ = T4_;
2814 if (!(T3_)) goto LA7_;
2815 T3_ = !(ignoreConfig);
2816 LA7_: ;
2817 if (!T3_) goto LA8_;
2818 f.err = ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 6);
2819 }
2820 LA8_: ;
2821 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 2));
2822 load__icZic_3215((&f), (&(*m).strings));
2823 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 3));
2824 loadSeq__icZic_3288((&f), (&(*m).includes));
2825 {
2826 NIM_BOOL T12_;
2827 T12_ = (NIM_BOOL)0;
2828 T12_ = includesIdentical__icZic_2226(m, config);
2829 if (!!(T12_)) goto LA13_;
2830 f.err = ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 7);
2831 }
2832 LA13_: ;
2833 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 4));
2834 loadSeq__icZic_3238((&f), (&(*m).imports));
2835 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 5));
2836 load__icZic_3346((&f), (&(*m).numbers));
2837 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 6));
2838 loadSeq__icZic_3404((&f), (&(*m).exports));
2839 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 7));
2840 loadSeq__icZic_3404((&f), (&(*m).hidden));
2841 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 8));
2842 loadSeq__icZic_3467((&f), (&(*m).reexports));
2843 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 9));
2844 loadSeq__icZic_3404((&f), (&(*m).compilerProcs));
2845 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 10));
2846 loadSeq__icZic_3530((&f), (&(*m).trmacros));
2847 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 11));
2848 loadSeq__icZic_3530((&f), (&(*m).converters));
2849 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 12));
2850 loadSeq__icZic_3530((&f), (&(*m).methods));
2851 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 13));
2852 loadSeq__icZic_3530((&f), (&(*m).pureEnums));
2853 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 14));
2854 loadSeq__icZic_3592((&f), (&(*m).macroUsages));
2855 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 15));
2856 loadSeq__icZic_3660((&f), (&(*m).toReplay.nodes));
2857 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 16));
2858 loadSeq__icZic_3660((&f), (&(*m).topLevel.nodes));
2859 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 17));
2860 loadSeq__icZic_3660((&f), (&(*m).bodies.nodes));
2861 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 18));
2862 loadSeq__icZic_3718((&f), (&(*m).syms));
2863 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 19));
2864 loadSeq__icZic_3777((&f), (&(*m).types));
2865 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 20));
2866 loadSeq__icZic_4068((&f), (&(*m).typeInstCache));
2867 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 21));
2868 loadSeq__icZic_4127((&f), (&(*m).procInstCache));
2869 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 22));
2870 loadSeq__icZic_4194((&f), (&(*m).attachedOps));
2871 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 23));
2872 loadSeq__icZic_4262((&f), (&(*m).methodsPerType));
2873 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 24));
2874 loadSeq__icZic_4068((&f), (&(*m).enumToStringProcs));
2875 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 25));
2876 loadSeq__icZic_3219((&f), (&(*m).emittedTypeInfo));
2877 loadSection__icZrodfiles_247((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 26));
2878 loadPrim__icZic_4338((&f), (&(*m).backendFlags));
2879 close__icZrodfiles_284((&f));
2880 result = f.err;
2881 return result;
2882 }
N_INLINE(NI,slotsNeeded__pureZcollectionsZtables_42)2883 static N_INLINE(NI, slotsNeeded__pureZcollectionsZtables_42)(NI count) {
2884 NI result;
2885 result = (NI)0;
2886 result = nextPowerOfTwo__pureZmath_177((NI)((NI)((NI)(((NI) (count)) * ((NI) 3)) / ((NI) 2)) + ((NI) 4)));
2887 return result;
2888 }
N_NIMCALL(void,initTable__icZic_6275)2889 N_LIB_PRIVATE N_NIMCALL(void, initTable__icZic_6275)(NI initialSize, tyObject_Table__CE4eiu6FavV1vmUiTXQ70g* Result) {
2890 NI correctSizeX60gensym243_;
2891 unsureAsgnRef((void**)&(*Result).data, NIM_NIL);
2892 (*Result).counter = 0;
2893 correctSizeX60gensym243_ = slotsNeeded__pureZcollectionsZtables_42(((NI) (initialSize)));
2894 (*Result).counter = ((NI) 0);
2895 unsureAsgnRef((void**) (&(*Result).data), (tySequence__9bT7o0CflHuiE4VhmtqBPCw*) newSeq((&NTIkeyvaluepairseq__9bT7o0CflHuiE4VhmtqBPCw_), ((NI) (correctSizeX60gensym243_))));
2896 }
N_INLINE(NI,hash__idents_217)2897 static N_INLINE(NI, hash__idents_217)(tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* x) {
2898 NI result;
2899 result = (NI)0;
2900 result = (*x).h;
2901 return result;
2902 }
N_INLINE(NIM_BOOL,isFilled__pureZcollectionsZtables_31)2903 static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZtables_31)(NI hcode) {
2904 NIM_BOOL result;
2905 result = (NIM_BOOL)0;
2906 result = !((hcode == ((NI) 0)));
2907 return result;
2908 }
N_INLINE(NIM_BOOL,eqeq___idents_220)2909 static N_INLINE(NIM_BOOL, eqeq___idents_220)(tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* a, tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* b) {
2910 NIM_BOOL result;
2911 result = (NIM_BOOL)0;
2912 {
2913 NIM_BOOL T3_;
2914 T3_ = (NIM_BOOL)0;
2915 T3_ = (a == 0);
2916 if (T3_) goto LA4_;
2917 T3_ = (b == 0);
2918 LA4_: ;
2919 if (!T3_) goto LA5_;
2920 result = (a == b);
2921 }
2922 goto LA1_;
2923 LA5_: ;
2924 {
2925 result = ((*a).id == (*b).id);
2926 }
2927 LA1_: ;
2928 return result;
2929 }
N_INLINE(NI,nextTry__pureZcollectionsZtables_34)2930 static N_INLINE(NI, nextTry__pureZcollectionsZtables_34)(NI h, NI maxHash) {
2931 NI result;
2932 result = (NI)0;
2933 result = (NI)((NI)(h + ((NI) 1)) & maxHash);
2934 return result;
2935 }
N_INLINE(NI,rawGet__icZic_6483)2936 static N_INLINE(NI, rawGet__icZic_6483)(tyObject_Table__CE4eiu6FavV1vmUiTXQ70g t, tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* key, NI* hc) {
2937 NI result;
2938 NI h;
2939 NI T10_;
2940 { result = (NI)0;
2941 (*hc) = hash__idents_217(key);
2942 {
2943 if (!((*hc) == ((NI) 0))) goto LA3_;
2944 (*hc) = ((NI) 314159265);
2945 }
2946 LA3_: ;
2947 {
2948 NI T7_;
2949 T7_ = (t.data ? t.data->Sup.len : 0);
2950 if (!(T7_ == ((NI) 0))) goto LA8_;
2951 result = ((NI) -1);
2952 goto BeforeRet_;
2953 }
2954 LA8_: ;
2955 T10_ = ((t.data ? t.data->Sup.len : 0)-1);
2956 h = (NI)((*hc) & T10_);
2957 {
2958 while (1) {
2959 NIM_BOOL T13_;
2960 NI T20_;
2961 T13_ = (NIM_BOOL)0;
2962 T13_ = isFilled__pureZcollectionsZtables_31(t.data->data[h].Field0);
2963 if (!T13_) goto LA12;
2964 {
2965 NIM_BOOL T16_;
2966 T16_ = (NIM_BOOL)0;
2967 T16_ = (t.data->data[h].Field0 == (*hc));
2968 if (!(T16_)) goto LA17_;
2969 T16_ = eqeq___idents_220(t.data->data[h].Field1, key);
2970 LA17_: ;
2971 if (!T16_) goto LA18_;
2972 result = h;
2973 goto BeforeRet_;
2974 }
2975 LA18_: ;
2976 T20_ = ((t.data ? t.data->Sup.len : 0)-1);
2977 h = nextTry__pureZcollectionsZtables_34(h, T20_);
2978 } LA12: ;
2979 }
2980 result = (NI)(((NI) -1) - h);
2981 }BeforeRet_: ;
2982 return result;
2983 }
N_INLINE(NIM_BOOL,mustRehash__icZic_6782)2984 static N_INLINE(NIM_BOOL, mustRehash__icZic_6782)(tyObject_Table__CE4eiu6FavV1vmUiTXQ70g t) {
2985 NIM_BOOL result;
2986 NIM_BOOL T1_;
2987 NI T2_;
2988 NI T4_;
2989 result = (NIM_BOOL)0;
2990 T1_ = (NIM_BOOL)0;
2991 T2_ = (t.data ? t.data->Sup.len : 0);
2992 T1_ = ((NI)(T2_ * ((NI) 2)) < (NI)(t.counter * ((NI) 3)));
2993 if (T1_) goto LA3_;
2994 T4_ = (t.data ? t.data->Sup.len : 0);
2995 T1_ = ((NI)(T4_ - t.counter) < ((NI) 4));
2996 LA3_: ;
2997 result = T1_;
2998 return result;
2999 }
N_INLINE(NI,pluspercent___system_696)3000 static N_INLINE(NI, pluspercent___system_696)(NI x, NI y) {
3001 NI result;
3002 result = (NI)0;
3003 result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y))))));
3004 return result;
3005 }
N_INLINE(void,incRef__system_5317)3006 static N_INLINE(void, incRef__system_5317)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
3007 (*c).refcount = pluspercent___system_696((*c).refcount, ((NI) 8));
3008 }
N_INLINE(NI,minuspercent___system_716)3009 static N_INLINE(NI, minuspercent___system_716)(NI x, NI y) {
3010 NI result;
3011 result = (NI)0;
3012 result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y))))));
3013 return result;
3014 }
N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g *,usrToCell__system_5279)3015 static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__system_5279)(void* usr) {
3016 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result;
3017 NI T1_;
3018 result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
3019 T1_ = (NI)0;
3020 T1_ = minuspercent___system_716(((NI) (ptrdiff_t) (usr)), ((NI) 16));
3021 result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_));
3022 return result;
3023 }
N_INLINE(NIM_BOOL,ltpercent___system_1005)3024 static N_INLINE(NIM_BOOL, ltpercent___system_1005)(NI x, NI y) {
3025 NIM_BOOL result;
3026 result = (NIM_BOOL)0;
3027 result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y))));
3028 return result;
3029 }
N_INLINE(void,rtlAddZCT__system_5322)3030 static N_INLINE(void, rtlAddZCT__system_5322)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
3031 addZCT__system_5273((&gch__system_5226.zct), c);
3032 }
N_INLINE(void,decRef__system_5324)3033 static N_INLINE(void, decRef__system_5324)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
3034 (*c).refcount = minuspercent___system_716((*c).refcount, ((NI) 8));
3035 {
3036 NIM_BOOL T3_;
3037 T3_ = (NIM_BOOL)0;
3038 T3_ = ltpercent___system_1005((*c).refcount, ((NI) 8));
3039 if (!T3_) goto LA4_;
3040 rtlAddZCT__system_5322(c);
3041 }
3042 LA4_: ;
3043 }
N_INLINE(void,asgnRef)3044 static N_INLINE(void, asgnRef)(void** dest, void* src) {
3045 {
3046 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
3047 if (!!((src == NIM_NIL))) goto LA3_;
3048 T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
3049 T5_ = usrToCell__system_5279(src);
3050 incRef__system_5317(T5_);
3051 }
3052 LA3_: ;
3053 {
3054 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
3055 if (!!(((*dest) == NIM_NIL))) goto LA8_;
3056 T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
3057 T10_ = usrToCell__system_5279((*dest));
3058 decRef__system_5324(T10_);
3059 }
3060 LA8_: ;
3061 (*dest) = src;
3062 }
N_NIMCALL(void,rawInsert__icZic_7267)3063 N_LIB_PRIVATE N_NIMCALL(void, rawInsert__icZic_7267)(tyObject_Table__CE4eiu6FavV1vmUiTXQ70g* t, tySequence__9bT7o0CflHuiE4VhmtqBPCw** data, tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* key, tySequence__vC9cvg0R8tfBaOXXi3sfMzw* val, NI hc, NI h) {
3064 asgnRef((void**) (&(*data)->data[h].Field1), key);
3065 genericSeqAssign((&(*data)->data[h].Field2), val, (&NTIseqLpackeditemidT__vC9cvg0R8tfBaOXXi3sfMzw_));
3066 (*data)->data[h].Field0 = hc;
3067 }
N_NIMCALL(void,enlarge__icZic_6941)3068 N_LIB_PRIVATE N_NIMCALL(void, enlarge__icZic_6941)(tyObject_Table__CE4eiu6FavV1vmUiTXQ70g* t) {
3069 tySequence__9bT7o0CflHuiE4VhmtqBPCw* n;
3070 NI T1_;
3071 tySequence__9bT7o0CflHuiE4VhmtqBPCw* T2_;
3072 n = NIM_NIL;
3073 T1_ = ((*t).data ? (*t).data->Sup.len : 0);
3074 n = (tySequence__9bT7o0CflHuiE4VhmtqBPCw*) newSeq((&NTIkeyvaluepairseq__9bT7o0CflHuiE4VhmtqBPCw_), ((NI) ((NI)(T1_ * ((NI) 2)))));
3075 T2_ = NIM_NIL;
3076 T2_ = (*t).data;
3077 unsureAsgnRef((void**) (&(*t).data), n);
3078 n = T2_;
3079 {
3080 NI i;
3081 NI colontmp_;
3082 NI T4_;
3083 NI res;
3084 i = (NI)0;
3085 colontmp_ = (NI)0;
3086 T4_ = ((n ? n->Sup.len : 0)-1);
3087 colontmp_ = T4_;
3088 res = ((NI) 0);
3089 {
3090 while (1) {
3091 NI eh;
3092 if (!(res <= colontmp_)) goto LA6;
3093 i = res;
3094 eh = n->data[i].Field0;
3095 {
3096 NIM_BOOL T9_;
3097 NI j;
3098 NI T12_;
3099 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T17_;
3100 tySequence__vC9cvg0R8tfBaOXXi3sfMzw* T18_;
3101 T9_ = (NIM_BOOL)0;
3102 T9_ = isFilled__pureZcollectionsZtables_31(eh);
3103 if (!T9_) goto LA10_;
3104 T12_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
3105 j = (NI)(eh & T12_);
3106 {
3107 while (1) {
3108 NIM_BOOL T15_;
3109 NI T16_;
3110 T15_ = (NIM_BOOL)0;
3111 T15_ = isFilled__pureZcollectionsZtables_31((*t).data->data[j].Field0);
3112 if (!T15_) goto LA14;
3113 T16_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
3114 j = nextTry__pureZcollectionsZtables_34(j, T16_);
3115 } LA14: ;
3116 }
3117 T17_ = NIM_NIL;
3118 T17_ = n->data[i].Field1;
3119 asgnRef((void**) (&n->data[i].Field1), NIM_NIL);
3120 T18_ = NIM_NIL;
3121 T18_ = n->data[i].Field2;
3122 asgnRef((void**) (&n->data[i].Field2), NIM_NIL);
3123 rawInsert__icZic_7267(t, (&(*t).data), T17_, T18_, eh, j);
3124 }
3125 LA10_: ;
3126 res += ((NI) 1);
3127 } LA6: ;
3128 }
3129 }
3130 }
N_INLINE(NI,rawGetKnownHC__icZic_7448)3131 static N_INLINE(NI, rawGetKnownHC__icZic_7448)(tyObject_Table__CE4eiu6FavV1vmUiTXQ70g t, tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* key, NI hc) {
3132 NI result;
3133 NI h;
3134 NI T6_;
3135 { result = (NI)0;
3136 {
3137 NI T3_;
3138 T3_ = (t.data ? t.data->Sup.len : 0);
3139 if (!(T3_ == ((NI) 0))) goto LA4_;
3140 result = ((NI) -1);
3141 goto BeforeRet_;
3142 }
3143 LA4_: ;
3144 T6_ = ((t.data ? t.data->Sup.len : 0)-1);
3145 h = (NI)(hc & T6_);
3146 {
3147 while (1) {
3148 NIM_BOOL T9_;
3149 NI T16_;
3150 T9_ = (NIM_BOOL)0;
3151 T9_ = isFilled__pureZcollectionsZtables_31(t.data->data[h].Field0);
3152 if (!T9_) goto LA8;
3153 {
3154 NIM_BOOL T12_;
3155 T12_ = (NIM_BOOL)0;
3156 T12_ = (t.data->data[h].Field0 == hc);
3157 if (!(T12_)) goto LA13_;
3158 T12_ = eqeq___idents_220(t.data->data[h].Field1, key);
3159 LA13_: ;
3160 if (!T12_) goto LA14_;
3161 result = h;
3162 goto BeforeRet_;
3163 }
3164 LA14_: ;
3165 T16_ = ((t.data ? t.data->Sup.len : 0)-1);
3166 h = nextTry__pureZcollectionsZtables_34(h, T16_);
3167 } LA8: ;
3168 }
3169 result = (NI)(((NI) -1) - h);
3170 }BeforeRet_: ;
3171 return result;
3172 }
N_NIMCALL(tySequence__vC9cvg0R8tfBaOXXi3sfMzw **,mgetOrPut__icZic_6419)3173 N_LIB_PRIVATE N_NIMCALL(tySequence__vC9cvg0R8tfBaOXXi3sfMzw**, mgetOrPut__icZic_6419)(tyObject_Table__CE4eiu6FavV1vmUiTXQ70g* t, tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* key, tySequence__vC9cvg0R8tfBaOXXi3sfMzw* val) {
3174 tySequence__vC9cvg0R8tfBaOXXi3sfMzw** result;
3175 NI hc;
3176 NI index;
3177 result = (tySequence__vC9cvg0R8tfBaOXXi3sfMzw**)0;
3178 {
3179 NI T3_;
3180 NI correctSizeX60gensym249_;
3181 T3_ = ((*t).data ? (*t).data->Sup.len : 0);
3182 if (!(T3_ == ((NI) 0))) goto LA4_;
3183 correctSizeX60gensym249_ = slotsNeeded__pureZcollectionsZtables_42(((NI) 32));
3184 (*t).counter = ((NI) 0);
3185 unsureAsgnRef((void**) (&(*t).data), (tySequence__9bT7o0CflHuiE4VhmtqBPCw*) newSeq((&NTIkeyvaluepairseq__9bT7o0CflHuiE4VhmtqBPCw_), ((NI) (correctSizeX60gensym249_))));
3186 }
3187 LA4_: ;
3188 hc = (NI)0;
3189 index = rawGet__icZic_6483((*t), key, (&hc));
3190 {
3191 if (!(index < ((NI) 0))) goto LA8_;
3192 {
3193 NI T12_;
3194 NI correctSizeX60gensym254_;
3195 T12_ = ((*t).data ? (*t).data->Sup.len : 0);
3196 if (!(T12_ == ((NI) 0))) goto LA13_;
3197 correctSizeX60gensym254_ = slotsNeeded__pureZcollectionsZtables_42(((NI) 32));
3198 (*t).counter = ((NI) 0);
3199 unsureAsgnRef((void**) (&(*t).data), (tySequence__9bT7o0CflHuiE4VhmtqBPCw*) newSeq((&NTIkeyvaluepairseq__9bT7o0CflHuiE4VhmtqBPCw_), ((NI) (correctSizeX60gensym254_))));
3200 }
3201 LA13_: ;
3202 {
3203 NIM_BOOL T17_;
3204 T17_ = (NIM_BOOL)0;
3205 T17_ = mustRehash__icZic_6782((*t));
3206 if (!T17_) goto LA18_;
3207 enlarge__icZic_6941(t);
3208 index = rawGetKnownHC__icZic_7448((*t), key, hc);
3209 }
3210 LA18_: ;
3211 index = (NI)(((NI) -1) - index);
3212 rawInsert__icZic_7267(t, (&(*t).data), key, val, hc, index);
3213 (*t).counter += ((NI) 1);
3214 }
3215 LA8_: ;
3216 result = (&(*t).data->data[index].Field2);
3217 return result;
3218 }
N_INLINE(NimStringDesc **,X5BX5D___icZic_5597)3219 static N_INLINE(NimStringDesc**, X5BX5D___icZic_5597)(tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg* t, NU32 LitId) {
3220 NimStringDesc** result;
3221 NI idx;
3222 result = (NimStringDesc**)0;
3223 idx = (NI)(((NI) (LitId)) - ((NI) 256));
3224 result = (&(*t).vals->data[idx]);
3225 return result;
3226 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,newPackage__icZic_6258)3227 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, newPackage__icZic_6258)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, NI32 fileIdx) {
3228 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
3229 NimStringDesc* filename;
3230 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* name;
3231 tyTuple__7q7q3E6Oj24ZNVJb9aonhAg T1_;
3232 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info;
3233 NimStringDesc* pck;
3234 NimStringDesc* pck2;
3235 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* pack;
3236 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T7_;
3237 tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T8_;
3238 result = NIM_NIL;
3239 filename = toFullPath__msgs_538(config, fileIdx);
3240 nimZeroMem((void*)(&T1_), sizeof(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg));
3241 splitFile__pathutils_26(filename, (&T1_));
3242 name = getIdent__idents_143(cache, T1_.Field1);
3243 info = newLineInfo__msgs_381(fileIdx, ((NI) 1), ((NI) 1));
3244 pck = getPackageName__options_4143(config, filename);
3245 {
3246 if (!(((NI) 0) < (pck ? pck->Sup.len : 0))) goto LA4_;
3247 pck2 = pck;
3248 }
3249 goto LA2_;
3250 LA4_: ;
3251 {
3252 pck2 = copyString(((NimStringDesc*) &TM__5aiUyZx54WIsmLijToCcoA_27));
3253 }
3254 LA2_: ;
3255 pack = getIdent__idents_143(cache, pck2);
3256 T7_ = NIM_NIL;
3257 T7_ = getIdent__idents_143(cache, pck2);
3258 nimZeroMem((void*)(&T8_), sizeof(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g));
3259 T8_.module = ((NI32) -3);
3260 T8_.item = fileIdx;
3261 result = newSym__ast_3445(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 24), T7_, T8_, ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL), info, 0);
3262 return result;
3263 }
N_NIMCALL(void,setupLookupTables__icZic_6269)3264 N_LIB_PRIVATE N_NIMCALL(void, setupLookupTables__icZic_6269)(tySequence__rQHmYk1HzcwNxKBymIFHpA** g, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, NI32 fileIdx, tyObject_LoadedModule__14iJKkvOiWT62KF2D8f9c5w* m) {
3265 NimStringDesc* filename;
3266 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T38_;
3267 tyTuple__7q7q3E6Oj24ZNVJb9aonhAg T39_;
3268 initTable__icZic_6275(((NI) 32), (&(*m).iface));
3269 initTable__icZic_6275(((NI) 32), (&(*m).ifaceHidden));
3270 {
3271 tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ* e;
3272 NI i;
3273 NI L;
3274 NI T2_;
3275 e = (tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ*)0;
3276 i = ((NI) 0);
3277 T2_ = ((*m).fromDisk.exports ? (*m).fromDisk.exports->Sup.len : 0);
3278 L = T2_;
3279 {
3280 while (1) {
3281 NU32 nameLitX60gensym247_;
3282 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ e2X60gensym247_;
3283 NimStringDesc** T5_;
3284 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T6_;
3285 tySequence__vC9cvg0R8tfBaOXXi3sfMzw* T7_;
3286 tySequence__vC9cvg0R8tfBaOXXi3sfMzw** T8_;
3287 NI T9_;
3288 NU32 nameLitX60gensym262_;
3289 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ e2X60gensym262_;
3290 NimStringDesc** T10_;
3291 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T11_;
3292 tySequence__vC9cvg0R8tfBaOXXi3sfMzw* T12_;
3293 tySequence__vC9cvg0R8tfBaOXXi3sfMzw** T13_;
3294 NI T14_;
3295 if (!(i < L)) goto LA4;
3296 e = (&(*m).fromDisk.exports->data[i]);
3297 nameLitX60gensym247_ = (*e).Field0;
3298 nimZeroMem((void*)(&e2X60gensym247_), sizeof(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ));
3299 e2X60gensym247_.module = ((NU32) 0);
3300 e2X60gensym247_.item = (*e).Field1;
3301 T5_ = (NimStringDesc**)0;
3302 T5_ = X5BX5D___icZic_5597((&(*m).fromDisk.strings), nameLitX60gensym247_);
3303 T6_ = NIM_NIL;
3304 T6_ = getIdent__idents_143(cache, (*T5_));
3305 T7_ = NIM_NIL;
3306 T7_ = NIM_NIL;
3307 T8_ = (tySequence__vC9cvg0R8tfBaOXXi3sfMzw**)0;
3308 T8_ = mgetOrPut__icZic_6419((&(*m).iface), T6_, T7_);
3309 unsureAsgnRef((void**) (&(*T8_)), (tySequence__vC9cvg0R8tfBaOXXi3sfMzw*) incrSeqV3((TGenericSeq*)((*T8_)), (&NTIseqLpackeditemidT__vC9cvg0R8tfBaOXXi3sfMzw_)));
3310 T9_ = (*T8_)->Sup.len++;
3311 (*T8_)->data[T9_] = e2X60gensym247_;
3312 nameLitX60gensym262_ = (*e).Field0;
3313 nimZeroMem((void*)(&e2X60gensym262_), sizeof(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ));
3314 e2X60gensym262_.module = ((NU32) 0);
3315 e2X60gensym262_.item = (*e).Field1;
3316 T10_ = (NimStringDesc**)0;
3317 T10_ = X5BX5D___icZic_5597((&(*m).fromDisk.strings), nameLitX60gensym262_);
3318 T11_ = NIM_NIL;
3319 T11_ = getIdent__idents_143(cache, (*T10_));
3320 T12_ = NIM_NIL;
3321 T12_ = NIM_NIL;
3322 T13_ = (tySequence__vC9cvg0R8tfBaOXXi3sfMzw**)0;
3323 T13_ = mgetOrPut__icZic_6419((&(*m).ifaceHidden), T11_, T12_);
3324 unsureAsgnRef((void**) (&(*T13_)), (tySequence__vC9cvg0R8tfBaOXXi3sfMzw*) incrSeqV3((TGenericSeq*)((*T13_)), (&NTIseqLpackeditemidT__vC9cvg0R8tfBaOXXi3sfMzw_)));
3325 T14_ = (*T13_)->Sup.len++;
3326 (*T13_)->data[T14_] = e2X60gensym262_;
3327 i += ((NI) 1);
3328 } LA4: ;
3329 }
3330 }
3331 {
3332 tyTuple__Q7r9caOmeWqQGZCIBHhGRUA* e_2;
3333 NI i_2;
3334 NI L_2;
3335 NI T16_;
3336 e_2 = (tyTuple__Q7r9caOmeWqQGZCIBHhGRUA*)0;
3337 i_2 = ((NI) 0);
3338 T16_ = ((*m).fromDisk.reexports ? (*m).fromDisk.reexports->Sup.len : 0);
3339 L_2 = T16_;
3340 {
3341 while (1) {
3342 NU32 nameLitX60gensym265_;
3343 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ e2X60gensym265_;
3344 NimStringDesc** T19_;
3345 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T20_;
3346 tySequence__vC9cvg0R8tfBaOXXi3sfMzw* T21_;
3347 tySequence__vC9cvg0R8tfBaOXXi3sfMzw** T22_;
3348 NI T23_;
3349 NU32 nameLitX60gensym266_;
3350 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ e2X60gensym266_;
3351 NimStringDesc** T24_;
3352 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T25_;
3353 tySequence__vC9cvg0R8tfBaOXXi3sfMzw* T26_;
3354 tySequence__vC9cvg0R8tfBaOXXi3sfMzw** T27_;
3355 NI T28_;
3356 if (!(i_2 < L_2)) goto LA18;
3357 e_2 = (&(*m).fromDisk.reexports->data[i_2]);
3358 nameLitX60gensym265_ = (*e_2).Field0;
3359 e2X60gensym265_ = (*e_2).Field1;
3360 T19_ = (NimStringDesc**)0;
3361 T19_ = X5BX5D___icZic_5597((&(*m).fromDisk.strings), nameLitX60gensym265_);
3362 T20_ = NIM_NIL;
3363 T20_ = getIdent__idents_143(cache, (*T19_));
3364 T21_ = NIM_NIL;
3365 T21_ = NIM_NIL;
3366 T22_ = (tySequence__vC9cvg0R8tfBaOXXi3sfMzw**)0;
3367 T22_ = mgetOrPut__icZic_6419((&(*m).iface), T20_, T21_);
3368 unsureAsgnRef((void**) (&(*T22_)), (tySequence__vC9cvg0R8tfBaOXXi3sfMzw*) incrSeqV3((TGenericSeq*)((*T22_)), (&NTIseqLpackeditemidT__vC9cvg0R8tfBaOXXi3sfMzw_)));
3369 T23_ = (*T22_)->Sup.len++;
3370 (*T22_)->data[T23_] = e2X60gensym265_;
3371 nameLitX60gensym266_ = (*e_2).Field0;
3372 e2X60gensym266_ = (*e_2).Field1;
3373 T24_ = (NimStringDesc**)0;
3374 T24_ = X5BX5D___icZic_5597((&(*m).fromDisk.strings), nameLitX60gensym266_);
3375 T25_ = NIM_NIL;
3376 T25_ = getIdent__idents_143(cache, (*T24_));
3377 T26_ = NIM_NIL;
3378 T26_ = NIM_NIL;
3379 T27_ = (tySequence__vC9cvg0R8tfBaOXXi3sfMzw**)0;
3380 T27_ = mgetOrPut__icZic_6419((&(*m).ifaceHidden), T25_, T26_);
3381 unsureAsgnRef((void**) (&(*T27_)), (tySequence__vC9cvg0R8tfBaOXXi3sfMzw*) incrSeqV3((TGenericSeq*)((*T27_)), (&NTIseqLpackeditemidT__vC9cvg0R8tfBaOXXi3sfMzw_)));
3382 T28_ = (*T27_)->Sup.len++;
3383 (*T27_)->data[T28_] = e2X60gensym266_;
3384 i_2 += ((NI) 1);
3385 } LA18: ;
3386 }
3387 }
3388 {
3389 tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ* e_3;
3390 NI i_3;
3391 NI L_3;
3392 NI T30_;
3393 e_3 = (tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ*)0;
3394 i_3 = ((NI) 0);
3395 T30_ = ((*m).fromDisk.hidden ? (*m).fromDisk.hidden->Sup.len : 0);
3396 L_3 = T30_;
3397 {
3398 while (1) {
3399 NU32 nameLitX60gensym267_;
3400 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ e2X60gensym267_;
3401 NimStringDesc** T33_;
3402 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T34_;
3403 tySequence__vC9cvg0R8tfBaOXXi3sfMzw* T35_;
3404 tySequence__vC9cvg0R8tfBaOXXi3sfMzw** T36_;
3405 NI T37_;
3406 if (!(i_3 < L_3)) goto LA32;
3407 e_3 = (&(*m).fromDisk.hidden->data[i_3]);
3408 nameLitX60gensym267_ = (*e_3).Field0;
3409 nimZeroMem((void*)(&e2X60gensym267_), sizeof(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ));
3410 e2X60gensym267_.module = ((NU32) 0);
3411 e2X60gensym267_.item = (*e_3).Field1;
3412 T33_ = (NimStringDesc**)0;
3413 T33_ = X5BX5D___icZic_5597((&(*m).fromDisk.strings), nameLitX60gensym267_);
3414 T34_ = NIM_NIL;
3415 T34_ = getIdent__idents_143(cache, (*T33_));
3416 T35_ = NIM_NIL;
3417 T35_ = NIM_NIL;
3418 T36_ = (tySequence__vC9cvg0R8tfBaOXXi3sfMzw**)0;
3419 T36_ = mgetOrPut__icZic_6419((&(*m).ifaceHidden), T34_, T35_);
3420 unsureAsgnRef((void**) (&(*T36_)), (tySequence__vC9cvg0R8tfBaOXXi3sfMzw*) incrSeqV3((TGenericSeq*)((*T36_)), (&NTIseqLpackeditemidT__vC9cvg0R8tfBaOXXi3sfMzw_)));
3421 T37_ = (*T36_)->Sup.len++;
3422 (*T36_)->data[T37_] = e2X60gensym267_;
3423 i_3 += ((NI) 1);
3424 } LA32: ;
3425 }
3426 }
3427 filename = toFullPath__msgs_538(conf, fileIdx);
3428 T38_ = NIM_NIL;
3429 T38_ = (tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) newObj((&NTIpsym__dG2QVH5Z69aMUY38zTqWxaA_), sizeof(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ));
3430 (*T38_).Sup.Sup.m_type = (&NTItsym__nnJKJFyjDGi5mnv8jwfTGQ_);
3431 (*T38_).kind = ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6);
3432 nimZeroMem((void*)(&(*T38_).Sup.itemId), sizeof(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g));
3433 (*T38_).Sup.itemId.module = fileIdx;
3434 (*T38_).Sup.itemId.item = ((NI32) 0);
3435 nimZeroMem((void*)(&T39_), sizeof(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg));
3436 splitFile__pathutils_26(filename, (&T39_));
3437 asgnRef((void**) (&(*T38_).name), getIdent__idents_143(cache, T39_.Field1));
3438 (*T38_).info = newLineInfo__msgs_381(fileIdx, ((NI) 1), ((NI) 1));
3439 (*T38_).position = ((NI) (fileIdx));
3440 unsureAsgnRef((void**) (&(*m).module), T38_);
3441 asgnRef((void**) (&(*(*m).module).owner), newPackage__icZic_6258(conf, cache, fileIdx));
3442 (*(*m).module).flags = (*m).fromDisk.moduleFlags;
3443 }
N_NIMCALL(void,loadError__icZic_3137)3444 N_LIB_PRIVATE N_NIMCALL(void, loadError__icZic_3137)(tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ err, NimStringDesc* filename, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config) {
3445 switch (err) {
3446 case ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 2):
3447 {
3448 liMessage__msgs_1118(config, unknownLineInfo__lineinfos_280, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 16), filename, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 1), TM__5aiUyZx54WIsmLijToCcoA_28, NIM_FALSE);
3449 }
3450 break;
3451 case ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 7):
3452 {
3453 liMessage__msgs_1118(config, unknownLineInfo__lineinfos_280, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 61), filename, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 1), TM__5aiUyZx54WIsmLijToCcoA_30, NIM_FALSE);
3454 }
3455 break;
3456 default:
3457 {
3458 NimStringDesc* T4_;
3459 T4_ = NIM_NIL;
3460 T4_ = rawNewString((filename ? filename->Sup.len : 0) + (reprEnum((NI)err, (&NTIrodfileerror__0ZHDewZuAfbVKILlFg9cYCQ_)) ? reprEnum((NI)err, (&NTIrodfileerror__0ZHDewZuAfbVKILlFg9cYCQ_))->Sup.len : 0) + 9);
3461 appendString(T4_, filename);
3462 appendString(T4_, ((NimStringDesc*) &TM__5aiUyZx54WIsmLijToCcoA_31));
3463 appendString(T4_, reprEnum((NI)err, (&NTIrodfileerror__0ZHDewZuAfbVKILlFg9cYCQ_)));
3464 liMessage__msgs_1118(config, unknownLineInfo__lineinfos_280, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 16), T4_, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 1), TM__5aiUyZx54WIsmLijToCcoA_32, NIM_FALSE);
3465 }
3466 break;
3467 }
3468 }
N_NIMCALL(NIM_BOOL,needsRecompile__icZic_8256)3469 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, needsRecompile__icZic_8256)(tySequence__rQHmYk1HzcwNxKBymIFHpA** g, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, NI32 fileIdx, tySequence__48JTohSgTy339bRxHzUD8KA** cachedModules) {
3470 NIM_BOOL result;
3471 NI m;
3472 result = (NIM_BOOL)0;
3473 m = ((NI) (fileIdx));
3474 {
3475 NI T3_;
3476 T3_ = ((*g) ? (*g)->Sup.len : 0);
3477 if (!(T3_ <= m)) goto LA4_;
3478 unsureAsgnRef((void**) (&(*g)), (tySequence__rQHmYk1HzcwNxKBymIFHpA*) setLengthSeqV2(&((*g))->Sup, (&NTIpackedmodulegraph__rQHmYk1HzcwNxKBymIFHpA_), ((NI) ((NI)(m + ((NI) 1))))));
3479 }
3480 LA4_: ;
3481 switch ((*g)->data[m].status) {
3482 case ((tyEnum_ModuleStatus__MgSLMPwZ4GVYYz7Kn9bmm6Q) 0):
3483 {
3484 NimStringDesc* fullpath;
3485 NimStringDesc* rod;
3486 tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ err;
3487 (*g)->data[m].status = ((tyEnum_ModuleStatus__MgSLMPwZ4GVYYz7Kn9bmm6Q) 2);
3488 fullpath = toFullPath__msgs_538(conf, fileIdx);
3489 rod = toRodFile__options_4251(conf, fullpath, ((NimStringDesc*) &TM__5aiUyZx54WIsmLijToCcoA_25));
3490 err = loadRodFile__icZic_3144(rod, (&(*g)->data[m].fromDisk), conf, NIM_FALSE);
3491 {
3492 if (!(err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0))) goto LA9_;
3493 result = (((*conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 1))&63U)))!=0);
3494 {
3495 NU32* dep;
3496 tySequence__9bAGqSvkAaFL9bWjsEPslrFA* colontmp_;
3497 NI i;
3498 NI L;
3499 NI T12_;
3500 dep = (NU32*)0;
3501 colontmp_ = NIM_NIL;
3502 colontmp_ = (*g)->data[m].fromDisk.imports;
3503 i = ((NI) 0);
3504 T12_ = (colontmp_ ? colontmp_->Sup.len : 0);
3505 L = T12_;
3506 {
3507 while (1) {
3508 NI32 fid;
3509 if (!(i < L)) goto LA14;
3510 dep = (&colontmp_->data[i]);
3511 fid = toFileIndex__icZic_2160((*dep), (&(*g)->data[m].fromDisk), conf);
3512 {
3513 NIM_BOOL T17_;
3514 T17_ = (NIM_BOOL)0;
3515 T17_ = needsRecompile__icZic_8256(g, conf, cache, fid, cachedModules);
3516 if (!T17_) goto LA18_;
3517 result = NIM_TRUE;
3518 }
3519 LA18_: ;
3520 i += ((NI) 1);
3521 } LA14: ;
3522 }
3523 }
3524 {
3525 NI T24_;
3526 if (!!(result)) goto LA22_;
3527 setupLookupTables__icZic_6269(g, conf, cache, fileIdx, (&(*g)->data[m]));
3528 unsureAsgnRef((void**) (&(*cachedModules)), (tySequence__48JTohSgTy339bRxHzUD8KA*) incrSeqV3((TGenericSeq*)((*cachedModules)), (&NTIseqLint5150T__48JTohSgTy339bRxHzUD8KA_)));
3529 T24_ = (*cachedModules)->Sup.len++;
3530 (*cachedModules)->data[T24_] = fileIdx;
3531 (*g)->data[m].status = ((tyEnum_ModuleStatus__MgSLMPwZ4GVYYz7Kn9bmm6Q) 3);
3532 }
3533 goto LA20_;
3534 LA22_: ;
3535 {
3536 tyObject_LoadedModule__14iJKkvOiWT62KF2D8f9c5w T26_;
3537 nimZeroMem((void*)(&T26_), sizeof(tyObject_LoadedModule__14iJKkvOiWT62KF2D8f9c5w));
3538 nimZeroMem((void*)(&T26_), sizeof(tyObject_LoadedModule__14iJKkvOiWT62KF2D8f9c5w));
3539 T26_.status = ((tyEnum_ModuleStatus__MgSLMPwZ4GVYYz7Kn9bmm6Q) 4);
3540 T26_.module = (*g)->data[m].module;
3541 genericShallowAssign((void*)(&(*g)->data[m]), (void*)(&T26_), (&NTIloadedmodule__14iJKkvOiWT62KF2D8f9c5w_));
3542 }
3543 LA20_: ;
3544 }
3545 goto LA7_;
3546 LA9_: ;
3547 {
3548 loadError__icZic_3137(err, rod, conf);
3549 (*g)->data[m].status = ((tyEnum_ModuleStatus__MgSLMPwZ4GVYYz7Kn9bmm6Q) 4);
3550 result = NIM_TRUE;
3551 }
3552 LA7_: ;
3553 }
3554 break;
3555 case ((tyEnum_ModuleStatus__MgSLMPwZ4GVYYz7Kn9bmm6Q) 2):
3556 case ((tyEnum_ModuleStatus__MgSLMPwZ4GVYYz7Kn9bmm6Q) 3):
3557 {
3558 result = NIM_FALSE;
3559 }
3560 break;
3561 case ((tyEnum_ModuleStatus__MgSLMPwZ4GVYYz7Kn9bmm6Q) 4):
3562 case ((tyEnum_ModuleStatus__MgSLMPwZ4GVYYz7Kn9bmm6Q) 1):
3563 case ((tyEnum_ModuleStatus__MgSLMPwZ4GVYYz7Kn9bmm6Q) 5):
3564 {
3565 result = NIM_TRUE;
3566 }
3567 break;
3568 }
3569 return result;
3570 }
N_INLINE(NI,len__icZpacked95ast_293)3571 static N_INLINE(NI, len__icZpacked95ast_293)(tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw tree) {
3572 NI result;
3573 NI T1_;
3574 result = (NI)0;
3575 T1_ = (tree.nodes ? tree.nodes->Sup.len : 0);
3576 result = T1_;
3577 return result;
3578 }
N_NIMCALL(NI32,toFileIndexCached__icZic_5508)3579 N_LIB_PRIVATE N_NIMCALL(NI32, toFileIndexCached__icZic_5508)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA* g, NI thisModule, NU32 f) {
3580 NI32 result;
3581 result = (NI32)0;
3582 {
3583 NIM_BOOL T3_;
3584 T3_ = (NIM_BOOL)0;
3585 T3_ = ((*c).lastLit == f);
3586 if (!(T3_)) goto LA4_;
3587 T3_ = ((*c).lastModule == thisModule);
3588 LA4_: ;
3589 if (!T3_) goto LA5_;
3590 result = (*c).lastFile;
3591 }
3592 goto LA1_;
3593 LA5_: ;
3594 {
3595 result = toFileIndex__icZic_2160(f, (&g->data[thisModule].fromDisk), (*c).config);
3596 (*c).lastModule = thisModule;
3597 (*c).lastLit = f;
3598 (*c).lastFile = result;
3599 }
3600 LA1_: ;
3601 return result;
3602 }
N_NIMCALL(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q,translateLineInfo__icZic_5514)3603 N_LIB_PRIVATE N_NIMCALL(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q, translateLineInfo__icZic_5514)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI thisModule, tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg x) {
3604 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q result;
3605 nimZeroMem((void*)(&result), sizeof(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q));
3606 nimZeroMem((void*)(&result), sizeof(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q));
3607 result.line = x.line;
3608 result.col = x.col;
3609 result.fileIndex = toFileIndexCached__icZic_5508(c, (*g), thisModule, x.file);
3610 return result;
3611 }
N_NIMCALL(NIM_BOOL,eqeq___icZic_6137)3612 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___icZic_6137)(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ x, tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ y) {
3613 NIM_BOOL result;
3614 { result = (NIM_BOOL)0;
3615 {
3616 if (!!((x.module == y.module))) goto LA3_;
3617 result = NIM_FALSE;
3618 goto BeforeRet_;
3619 }
3620 LA3_: ;
3621 {
3622 if (!!((x.item == y.item))) goto LA7_;
3623 result = NIM_FALSE;
3624 goto BeforeRet_;
3625 }
3626 LA7_: ;
3627 result = NIM_TRUE;
3628 goto BeforeRet_;
3629 }BeforeRet_: ;
3630 return result;
3631 }
N_INLINE(NI32,moduleIndex__icZic_5889)3632 static N_INLINE(NI32, moduleIndex__icZic_5889)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI thisModule, tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ s) {
3633 NI32 result;
3634 result = (NI32)0;
3635 {
3636 if (!(s.module == ((NU32) 0))) goto LA3_;
3637 result = ((NI32) (thisModule));
3638 }
3639 goto LA1_;
3640 LA3_: ;
3641 {
3642 result = toFileIndexCached__icZic_5508(c, (*g), thisModule, s.module);
3643 }
3644 LA1_: ;
3645 return result;
3646 }
N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg *,typeHeaderFromPacked__icZic_6177)3647 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, typeHeaderFromPacked__icZic_6177)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, tyObject_PackedType__IhXsK7mrwumUBtEqbZ2BqA* t, NI32 si, NI32 item) {
3648 tyObject_TType__facALICuu8zUj0hjvbTLFg* result;
3649 tyObject_TType__facALICuu8zUj0hjvbTLFg* T1_;
3650 result = NIM_NIL;
3651 T1_ = NIM_NIL;
3652 T1_ = (tyObject_TType__facALICuu8zUj0hjvbTLFg*) newObj((&NTIptype__qt2Wh0elFEz5fH0l7yusLw_), sizeof(tyObject_TType__facALICuu8zUj0hjvbTLFg));
3653 (*T1_).Sup.Sup.m_type = (&NTIttype__facALICuu8zUj0hjvbTLFg_);
3654 nimZeroMem((void*)(&(*T1_).Sup.itemId), sizeof(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g));
3655 (*T1_).Sup.itemId.module = si;
3656 (*T1_).Sup.itemId.item = (*t).nonUniqueId;
3657 (*T1_).kind = (*t).kind;
3658 (*T1_).flags = (*t).flags;
3659 (*T1_).size = (*t).size;
3660 (*T1_).align = (*t).align;
3661 (*T1_).paddingAtEnd = (*t).paddingAtEnd;
3662 (*T1_).lockLevel = (*t).lockLevel;
3663 nimZeroMem((void*)(&(*T1_).uniqueId), sizeof(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g));
3664 (*T1_).uniqueId.module = si;
3665 (*T1_).uniqueId.item = item;
3666 (*T1_).callConv = (*t).callConv;
3667 result = T1_;
3668 return result;
3669 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,symHeaderFromPacked__icZic_5895)3670 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, symHeaderFromPacked__icZic_5895)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, tyObject_PackedSym__XjVn21MwvH8ij6CfopYZWw* s, NI32 si, NI32 item) {
3671 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
3672 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T1_;
3673 NimStringDesc** T12_;
3674 result = NIM_NIL;
3675 T1_ = NIM_NIL;
3676 T1_ = (tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) newObj((&NTIpsym__dG2QVH5Z69aMUY38zTqWxaA_), sizeof(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ));
3677 (*T1_).Sup.Sup.m_type = (&NTItsym__nnJKJFyjDGi5mnv8jwfTGQ_);
3678 nimZeroMem((void*)(&(*T1_).Sup.itemId), sizeof(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g));
3679 (*T1_).Sup.itemId.module = si;
3680 (*T1_).Sup.itemId.item = item;
3681 (*T1_).kind = (*s).kind;
3682 (*T1_).magic = (*s).magic;
3683 (*T1_).flags = (*s).flags;
3684 (*T1_).info = translateLineInfo__icZic_5514(c, g, ((NI) (si)), (*s).info);
3685 (*T1_).options = (*s).options;
3686 {
3687 if (!((2097952 &((NU32)1<<((NU)((*s).kind)&31U)))!=0)) goto LA4_;
3688 (*T1_).position = ((NI) 0);
3689 }
3690 goto LA2_;
3691 LA4_: ;
3692 {
3693 (*T1_).position = (*s).position;
3694 }
3695 LA2_: ;
3696 {
3697 if (!((520192 &((NU32)1<<((NU)((*s).kind)&31U)))!=0)) goto LA9_;
3698 (*T1_).offset = ((NI) -1);
3699 }
3700 goto LA7_;
3701 LA9_: ;
3702 {
3703 (*T1_).offset = (*s).offset;
3704 }
3705 LA7_: ;
3706 T12_ = (NimStringDesc**)0;
3707 T12_ = X5BX5D___icZic_5597((&(*g)->data[si].fromDisk.strings), (*s).name);
3708 asgnRef((void**) (&(*T1_).name), getIdent__idents_143((*c).cache, (*T12_)));
3709 result = T1_;
3710 return result;
3711 }
N_INLINE(void,addAllowNil__icZic_5826)3712 static N_INLINE(void, addAllowNil__icZic_5826)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* father, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* son) {
3713 NI T1_;
3714 asgnRef((void**) (&(*father)._kind_6.sons), (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*) incrSeqV3((TGenericSeq*)((*father)._kind_6.sons), (&NTItnodeseq__ehmV9bTklH2Gt9cXHV9c0HLeQ_)));
3715 T1_ = (*father)._kind_6.sons->Sup.len++;
3716 asgnRef((void**) (&(*father)._kind_6.sons->data[T1_]), son);
3717 }
N_INLINE(void,nextChild__icZpacked95ast_312)3718 static N_INLINE(void, nextChild__icZpacked95ast_312)(tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw tree, NI* pos) {
3719 {
3720 if (!(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23) < tree.nodes->data[(*pos)].kind)) goto LA3_;
3721 (*pos) += ((NI) (tree.nodes->data[(*pos)].operand));
3722 }
3723 goto LA1_;
3724 LA3_: ;
3725 {
3726 (*pos) += ((NI) 1);
3727 }
3728 LA1_: ;
3729 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,loadProcHeader__icZic_5847)3730 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, loadProcHeader__icZic_5847)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI thisModule, tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw tree, NI n) {
3731 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3732 tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw k;
3733 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q T1_;
3734 tyObject_TType__facALICuu8zUj0hjvbTLFg* T2_;
3735 NI i;
3736 result = NIM_NIL;
3737 k = tree.nodes->data[n].kind;
3738 T1_ = translateLineInfo__icZic_5514(c, g, thisModule, tree.nodes->data[n].info);
3739 T2_ = NIM_NIL;
3740 T2_ = loadType__icZic_5498(c, g, thisModule, tree.nodes->data[n].typeId_0);
3741 result = newNodeIT__ast_3378(k, T1_, T2_);
3742 (*result).flags = tree.nodes->data[n].flags;
3743 i = ((NI) 0);
3744 {
3745 NI n0;
3746 NI pos;
3747 NI last;
3748 n0 = (NI)0;
3749 pos = n;
3750 last = (NI)(pos + ((NI) (tree.nodes->data[pos].operand)));
3751 pos += ((NI) 1);
3752 {
3753 while (1) {
3754 if (!(pos < last)) goto LA5;
3755 n0 = pos;
3756 {
3757 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T10_;
3758 if (!!((i == ((NI) 6)))) goto LA8_;
3759 T10_ = NIM_NIL;
3760 T10_ = loadNodes__icZic_5528(c, g, thisModule, tree, n0);
3761 add__ast_4797(result, T10_);
3762 }
3763 goto LA6_;
3764 LA8_: ;
3765 {
3766 addAllowNil__icZic_5826(result, ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL));
3767 }
3768 LA6_: ;
3769 i += ((NI) 1);
3770 nextChild__icZpacked95ast_312(tree, (&pos));
3771 } LA5: ;
3772 }
3773 }
3774 return result;
3775 }
N_NIMCALL(tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA *,loadLib__icZic_5977)3776 N_LIB_PRIVATE N_NIMCALL(tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA*, loadLib__icZic_5977)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI32 si, NI32 item, tyObject_PackedLib__oa01YzfeXO9bbIDH9cIki4Hw l) {
3777 tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA* result;
3778 result = NIM_NIL;
3779 {
3780 if (!(((NI) (l.name)) == ((NI) 0))) goto LA3_;
3781 result = ((tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA*) NIM_NIL);
3782 }
3783 goto LA1_;
3784 LA3_: ;
3785 {
3786 tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA* T6_;
3787 NimStringDesc** T7_;
3788 T6_ = NIM_NIL;
3789 T6_ = (tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA*) newObj((&NTIplib__EL9cZTJI9a9cmSIbGnseCuc9bg_), sizeof(tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA));
3790 (*T6_).generated = l.generated;
3791 (*T6_).isOverriden = l.isOverriden;
3792 (*T6_).kind = l.kind;
3793 T7_ = (NimStringDesc**)0;
3794 T7_ = X5BX5D___icZic_5597((&(*g)->data[si].fromDisk.strings), l.name);
3795 asgnRef((void**) (&(*T6_).name), rope__ropes_109((*T7_)));
3796 result = T6_;
3797 {
3798 if (!!((l.path == ((NI32) -1)))) goto LA10_;
3799 asgnRef((void**) (&(*result).path), loadNodes__icZic_5528(c, g, ((NI) (si)), (*g)->data[si].fromDisk.bodies, ((NI) (l.path))));
3800 }
3801 LA10_: ;
3802 }
3803 LA1_: ;
3804 return result;
3805 }
N_NIMCALL(void,symBodyFromPacked__icZic_6054)3806 N_LIB_PRIVATE N_NIMCALL(void, symBodyFromPacked__icZic_6054)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, tyObject_PackedSym__XjVn21MwvH8ij6CfopYZWw* s, NI32 si, NI32 item, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result) {
3807 NimStringDesc* externalName;
3808 NimStringDesc** T22_;
3809 asgnRef((void**) (&(*result).typ), loadType__icZic_5498(c, g, ((NI) (si)), (*s).typ));
3810 {
3811 if (!!(((*s).constraint == ((NI32) -1)))) goto LA3_;
3812 asgnRef((void**) (&(*result).constraint), loadNodes__icZic_5528(c, g, ((NI) (si)), (*g)->data[si].fromDisk.bodies, ((NI) ((*s).constraint))));
3813 }
3814 LA3_: ;
3815 {
3816 if (!((126976 &((NU32)1<<((NU)((*result).kind)&31U)))!=0)) goto LA7_;
3817 {
3818 if (!!(((*s).ast == ((NI32) -1)))) goto LA11_;
3819 asgnRef((void**) (&(*result).ast), loadProcHeader__icZic_5847(c, g, ((NI) (si)), (*g)->data[si].fromDisk.bodies, ((NI) ((*s).ast))));
3820 }
3821 LA11_: ;
3822 }
3823 goto LA5_;
3824 LA7_: ;
3825 {
3826 {
3827 if (!!(((*s).ast == ((NI32) -1)))) goto LA16_;
3828 asgnRef((void**) (&(*result).ast), loadNodes__icZic_5528(c, g, ((NI) (si)), (*g)->data[si].fromDisk.bodies, ((NI) ((*s).ast))));
3829 }
3830 LA16_: ;
3831 }
3832 LA5_: ;
3833 asgnRef((void**) (&(*result).annex), loadLib__icZic_5977(c, g, si, item, (*s).annex));
3834 {
3835 if (!((2622208 &((NU32)1<<((NU)((*s).kind)&31U)))!=0)) goto LA20_;
3836 asgnRef((void**) (&(*result)._kind_2.guard), loadSym__icZic_5503(c, g, ((NI) (si)), (*s).guard));
3837 (*result)._kind_2.bitsize = (*s).bitsize;
3838 (*result)._kind_2.alignment = (*s).alignment;
3839 }
3840 LA20_: ;
3841 asgnRef((void**) (&(*result).owner), loadSym__icZic_5503(c, g, ((NI) (si)), (*s).owner));
3842 T22_ = (NimStringDesc**)0;
3843 T22_ = X5BX5D___icZic_5597((&(*g)->data[si].fromDisk.strings), (*s).externalName);
3844 externalName = (*T22_);
3845 {
3846 if (!!(((externalName ? externalName->Sup.len : 0) == 0))) goto LA25_;
3847 asgnRef((void**) (&(*result).loc.r), rope__ropes_109(externalName));
3848 }
3849 LA25_: ;
3850 (*result).loc.flags = (*s).locFlags;
3851 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,loadSym__icZic_5503)3852 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, loadSym__icZic_5503)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI thisModule, tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ s) {
3853 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
3854 result = NIM_NIL;
3855 {
3856 NIM_BOOL T3_;
3857 T3_ = (NIM_BOOL)0;
3858 T3_ = eqeq___icZic_6137(s, nilItemId__icZpacked95ast_14);
3859 if (!T3_) goto LA4_;
3860 result = ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL);
3861 }
3862 goto LA1_;
3863 LA4_: ;
3864 {
3865 NI32 si;
3866 si = moduleIndex__icZic_5889(c, g, thisModule, s);
3867 {
3868 NI T11_;
3869 if (!!((*g)->data[si].symsInit)) goto LA9_;
3870 (*g)->data[si].symsInit = NIM_TRUE;
3871 T11_ = ((*g)->data[si].fromDisk.syms ? (*g)->data[si].fromDisk.syms->Sup.len : 0);
3872 asgnRef((void**) (&(*g)->data[si].syms), (tySequence__eHqUwlHGGaPw0TDPDeL79cQ*) setLengthSeqV2(&((*g)->data[si].syms)->Sup, (&NTIseqLpsymT__eHqUwlHGGaPw0TDPDeL79cQ_), ((NI) (T11_))));
3873 }
3874 LA9_: ;
3875 {
3876 if (!((*g)->data[si].syms->data[s.item] == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL))) goto LA14_;
3877 {
3878 if (!!(((*g)->data[si].fromDisk.syms->data[s.item].kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6)))) goto LA18_;
3879 result = symHeaderFromPacked__icZic_5895(c, g, (&(*g)->data[si].fromDisk.syms->data[s.item]), si, s.item);
3880 asgnRef((void**) (&(*g)->data[si].syms->data[s.item]), result);
3881 symBodyFromPacked__icZic_6054(c, g, (&(*g)->data[si].fromDisk.syms->data[s.item]), si, s.item, result);
3882 }
3883 goto LA16_;
3884 LA18_: ;
3885 {
3886 result = (*g)->data[si].module;
3887 }
3888 LA16_: ;
3889 }
3890 goto LA12_;
3891 LA14_: ;
3892 {
3893 result = (*g)->data[si].syms->data[s.item];
3894 }
3895 LA12_: ;
3896 }
3897 LA1_: ;
3898 return result;
3899 }
N_NIMCALL(void,typeBodyFromPacked__icZic_6184)3900 N_LIB_PRIVATE N_NIMCALL(void, typeBodyFromPacked__icZic_6184)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, tyObject_PackedType__IhXsK7mrwumUBtEqbZ2BqA* t, NI32 si, NI32 item, tyObject_TType__facALICuu8zUj0hjvbTLFg* result) {
3901 asgnRef((void**) (&(*result).sym), loadSym__icZic_5503(c, g, ((NI) (si)), (*t).sym));
3902 asgnRef((void**) (&(*result).owner), loadSym__icZic_5503(c, g, ((NI) (si)), (*t).owner));
3903 asgnRef((void**) (&(*result).typeInst), loadType__icZic_5498(c, g, ((NI) (si)), (*t).typeInst));
3904 {
3905 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ* son;
3906 NI i;
3907 NI L;
3908 NI T2_;
3909 son = (tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ*)0;
3910 i = ((NI) 0);
3911 T2_ = ((*t).types ? (*t).types->Sup.len : 0);
3912 L = T2_;
3913 {
3914 while (1) {
3915 tyObject_TType__facALICuu8zUj0hjvbTLFg* T5_;
3916 NI T6_;
3917 if (!(i < L)) goto LA4;
3918 son = (&(*t).types->data[i]);
3919 T5_ = NIM_NIL;
3920 T5_ = loadType__icZic_5498(c, g, ((NI) (si)), (*son));
3921 asgnRef((void**) (&(*result).sons), (tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A*) incrSeqV3((TGenericSeq*)((*result).sons), (&NTIttypeseq__9aZVGG5Gtti9cC9bqRpXCtA3A_)));
3922 T6_ = (*result).sons->Sup.len++;
3923 asgnRef((void**) (&(*result).sons->data[T6_]), T5_);
3924 i += ((NI) 1);
3925 } LA4: ;
3926 }
3927 }
3928 {
3929 if (!!(((*t).n == ((NI32) -1)))) goto LA9_;
3930 asgnRef((void**) (&(*result).n), loadNodes__icZic_5528(c, g, ((NI) (si)), (*g)->data[si].fromDisk.bodies, ((NI) ((*t).n))));
3931 }
3932 LA9_: ;
3933 }
N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg *,loadType__icZic_5498)3934 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, loadType__icZic_5498)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI thisModule, tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ t) {
3935 tyObject_TType__facALICuu8zUj0hjvbTLFg* result;
3936 result = NIM_NIL;
3937 {
3938 NIM_BOOL T3_;
3939 T3_ = (NIM_BOOL)0;
3940 T3_ = eqeq___icZic_6137(t, nilItemId__icZpacked95ast_14);
3941 if (!T3_) goto LA4_;
3942 result = ((tyObject_TType__facALICuu8zUj0hjvbTLFg*) NIM_NIL);
3943 }
3944 goto LA1_;
3945 LA4_: ;
3946 {
3947 NI32 si;
3948 si = moduleIndex__icZic_5889(c, g, thisModule, t);
3949 {
3950 NI T11_;
3951 if (!!((*g)->data[si].typesInit)) goto LA9_;
3952 (*g)->data[si].typesInit = NIM_TRUE;
3953 T11_ = ((*g)->data[si].fromDisk.types ? (*g)->data[si].fromDisk.types->Sup.len : 0);
3954 asgnRef((void**) (&(*g)->data[si].types), (tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A*) setLengthSeqV2(&((*g)->data[si].types)->Sup, (&NTIttypeseq__9aZVGG5Gtti9cC9bqRpXCtA3A_), ((NI) (T11_))));
3955 }
3956 LA9_: ;
3957 {
3958 if (!((*g)->data[si].types->data[t.item] == ((tyObject_TType__facALICuu8zUj0hjvbTLFg*) NIM_NIL))) goto LA14_;
3959 result = typeHeaderFromPacked__icZic_6177(c, g, (&(*g)->data[si].fromDisk.types->data[t.item]), si, t.item);
3960 asgnRef((void**) (&(*g)->data[si].types->data[t.item]), result);
3961 typeBodyFromPacked__icZic_6184(c, g, (&(*g)->data[si].fromDisk.types->data[t.item]), si, t.item, result);
3962 }
3963 goto LA12_;
3964 LA14_: ;
3965 {
3966 result = (*g)->data[si].types->data[t.item];
3967 }
3968 LA12_: ;
3969 }
3970 LA1_: ;
3971 return result;
3972 }
N_INLINE(NI64 *,X5BX5D___icZic_5666)3973 static N_INLINE(NI64*, X5BX5D___icZic_5666)(tyObject_BiTable__DyMEQOe8VsqcG49bIhU69bBQ* t, NU32 LitId) {
3974 NI64* result;
3975 NI idx;
3976 result = (NI64*)0;
3977 idx = (NI)(((NI) (LitId)) - ((NI) 256));
3978 result = (&(*t).vals->data[idx]);
3979 return result;
3980 }
N_INLINE(void,nimGCunrefNoCycle)3981 static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
3982 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
3983 T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
3984 T1_ = usrToCell__system_5279(p);
3985 decRef__system_5324(T1_);
3986 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,loadNodes__icZic_5528)3987 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, loadNodes__icZic_5528)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI thisModule, tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw tree, NI n) {
3988 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3989 tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw k;
3990 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q T5_;
3991 tyObject_TType__facALICuu8zUj0hjvbTLFg* T6_;
3992 { result = NIM_NIL;
3993 k = tree.nodes->data[n].kind;
3994 {
3995 if (!(k == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 164))) goto LA3_;
3996 result = ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL);
3997 goto BeforeRet_;
3998 }
3999 LA3_: ;
4000 T5_ = translateLineInfo__icZic_5514(c, g, thisModule, tree.nodes->data[n].info);
4001 T6_ = NIM_NIL;
4002 T6_ = loadType__icZic_5498(c, g, thisModule, tree.nodes->data[n].typeId_0);
4003 result = newNodeIT__ast_3378(k, T5_, T6_);
4004 (*result).flags = tree.nodes->data[n].flags;
4005 switch (k) {
4006 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1):
4007 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23):
4008 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 4):
4009 {
4010 }
4011 break;
4012 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 2):
4013 {
4014 NimStringDesc** T9_;
4015 T9_ = (NimStringDesc**)0;
4016 T9_ = X5BX5D___icZic_5597((&(*g)->data[thisModule].fromDisk.strings), ((NU32) (tree.nodes->data[n].operand)));
4017 asgnRef((void**) (&(*result)._kind_5.ident), getIdent__idents_143((*c).cache, (*T9_)));
4018 }
4019 break;
4020 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3):
4021 {
4022 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ T11_;
4023 nimZeroMem((void*)(&T11_), sizeof(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ));
4024 T11_.module = ((NU32) 0);
4025 T11_.item = tree.nodes->data[n].operand;
4026 asgnRef((void**) (&(*result)._kind_4.sym), loadSym__icZic_5503(c, g, thisModule, T11_));
4027 }
4028 break;
4029 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 9):
4030 {
4031 (*result)._kind_1.intVal = ((NI64) (tree.nodes->data[n].operand));
4032 }
4033 break;
4034 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 5) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 8):
4035 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 10) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 15):
4036 {
4037 NI64* T14_;
4038 T14_ = (NI64*)0;
4039 T14_ = X5BX5D___icZic_5666((&(*g)->data[thisModule].fromDisk.numbers), ((NU32) (tree.nodes->data[n].operand)));
4040 (*result)._kind_1.intVal = (*T14_);
4041 }
4042 break;
4043 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 20) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 22):
4044 {
4045 NimStringDesc** T16_;
4046 NimStringDesc* T17_;
4047 T16_ = (NimStringDesc**)0;
4048 T16_ = X5BX5D___icZic_5597((&(*g)->data[thisModule].fromDisk.strings), ((NU32) (tree.nodes->data[n].operand)));
4049 T17_ = NIM_NIL;
4050 T17_ = (*result)._kind_3.strVal; (*result)._kind_3.strVal = copyStringRC1((*T16_));
4051 if (T17_) nimGCunrefNoCycle(T17_);
4052 }
4053 break;
4054 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 16) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 19):
4055 {
4056 union { NI64 source; NF dest; } LOC19;
4057 NI64* T20_;
4058 T20_ = (NI64*)0;
4059 T20_ = X5BX5D___icZic_5666((&(*g)->data[thisModule].fromDisk.numbers), ((NU32) (tree.nodes->data[n].operand)));
4060 LOC19.source = (*T20_);
4061 (*result)._kind_2.floatVal = LOC19.dest;
4062 }
4063 break;
4064 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 162):
4065 {
4066 tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ T22_;
4067 NI n1;
4068 NI n2;
4069 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ T23_;
4070 T22_ = sons2__icZpacked95ast_498(tree, n);
4071 n1 = T22_.Field0;
4072 n2 = T22_.Field1;
4073 transitionNoneToSym__ast_4385(result);
4074 nimZeroMem((void*)(&T23_), sizeof(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ));
4075 T23_.module = ((NU32) (tree.nodes->data[n1].operand));
4076 T23_.item = tree.nodes->data[n2].operand;
4077 asgnRef((void**) (&(*result)._kind_4.sym), loadSym__icZic_5503(c, g, thisModule, T23_));
4078 }
4079 break;
4080 default:
4081 {
4082 {
4083 NI n0;
4084 NI pos;
4085 NI last;
4086 n0 = (NI)0;
4087 pos = n;
4088 last = (NI)(pos + ((NI) (tree.nodes->data[pos].operand)));
4089 pos += ((NI) 1);
4090 {
4091 while (1) {
4092 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T28_;
4093 if (!(pos < last)) goto LA27;
4094 n0 = pos;
4095 T28_ = NIM_NIL;
4096 T28_ = loadNodes__icZic_5528(c, g, thisModule, tree, n0);
4097 addAllowNil__icZic_5826(result, T28_);
4098 nextChild__icZpacked95ast_312(tree, (&pos));
4099 } LA27: ;
4100 }
4101 }
4102 }
4103 break;
4104 }
4105 }BeforeRet_: ;
4106 return result;
4107 }
N_INLINE(NIM_BOOL,isAtom__icZpacked95ast_206)4108 static N_INLINE(NIM_BOOL, isAtom__icZpacked95ast_206)(tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw tree, NI pos) {
4109 NIM_BOOL result;
4110 result = (NIM_BOOL)0;
4111 result = (tree.nodes->data[pos].kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23));
4112 return result;
4113 }
N_INLINE(NI,span__icZpacked95ast_494)4114 static N_INLINE(NI, span__icZpacked95ast_494)(tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw tree, NI pos) {
4115 NI result;
4116 result = (NI)0;
4117 {
4118 NIM_BOOL T3_;
4119 T3_ = (NIM_BOOL)0;
4120 T3_ = isAtom__icZpacked95ast_206(tree, pos);
4121 if (!T3_) goto LA4_;
4122 result = ((NI) 1);
4123 }
4124 goto LA1_;
4125 LA4_: ;
4126 {
4127 result = ((NI) (tree.nodes->data[pos].operand));
4128 }
4129 LA1_: ;
4130 return result;
4131 }
N_NIMCALL(void,loadToReplayNodes__icZic_8244)4132 N_LIB_PRIVATE N_NIMCALL(void, loadToReplayNodes__icZic_8244)(tySequence__rQHmYk1HzcwNxKBymIFHpA** g, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, NI32 fileIdx, tyObject_LoadedModule__14iJKkvOiWT62KF2D8f9c5w* m) {
4133 asgnRef((void**) (&(*(*m).module).ast), newNode__ast_3332(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115)));
4134 {
4135 NI T3_;
4136 tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw decoder;
4137 T3_ = (NI)0;
4138 T3_ = len__icZpacked95ast_293((*m).fromDisk.toReplay);
4139 if (!(((NI) 0) < T3_)) goto LA4_;
4140 nimZeroMem((void*)(&decoder), sizeof(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw));
4141 nimZeroMem((void*)(&decoder), sizeof(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw));
4142 decoder.lastModule = ((NI) -1);
4143 decoder.lastLit = ((NU32) 0);
4144 decoder.lastFile = ((NI32) -1);
4145 decoder.config = conf;
4146 decoder.cache = cache;
4147 {
4148 NI p;
4149 NI p_2;
4150 p = (NI)0;
4151 p_2 = ((NI) 0);
4152 {
4153 while (1) {
4154 NI T9_;
4155 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T10_;
4156 NI s;
4157 T9_ = (NI)0;
4158 T9_ = len__icZpacked95ast_293((*m).fromDisk.toReplay);
4159 if (!(p_2 < T9_)) goto LA8;
4160 p = p_2;
4161 T10_ = NIM_NIL;
4162 T10_ = loadNodes__icZic_5528((&decoder), g, ((NI) (fileIdx)), (*m).fromDisk.toReplay, p);
4163 add__ast_4797((*(*m).module).ast, T10_);
4164 s = span__icZpacked95ast_494((*m).fromDisk.toReplay, p_2);
4165 p_2 += s;
4166 } LA8: ;
4167 }
4168 }
4169 }
4170 LA4_: ;
4171 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,moduleFromRodFile__icZic_8334)4172 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, moduleFromRodFile__icZic_8334)(tySequence__rQHmYk1HzcwNxKBymIFHpA** g, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, NI32 fileIdx, tySequence__48JTohSgTy339bRxHzUD8KA** cachedModules) {
4173 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
4174 result = NIM_NIL;
4175 {
4176 NIM_BOOL T3_;
4177 T3_ = (NIM_BOOL)0;
4178 T3_ = needsRecompile__icZic_8256(g, conf, cache, fileIdx, cachedModules);
4179 if (!T3_) goto LA4_;
4180 result = ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL);
4181 }
4182 goto LA1_;
4183 LA4_: ;
4184 {
4185 result = (*g)->data[fileIdx].module;
4186 }
4187 LA1_: ;
4188 {
4189 NI32* m;
4190 NI i;
4191 NI L;
4192 NI T8_;
4193 m = (NI32*)0;
4194 i = ((NI) 0);
4195 T8_ = ((*cachedModules) ? (*cachedModules)->Sup.len : 0);
4196 L = T8_;
4197 {
4198 while (1) {
4199 if (!(i < L)) goto LA10;
4200 m = (&(*cachedModules)->data[i]);
4201 loadToReplayNodes__icZic_8244(g, conf, cache, (*m), (&(*g)->data[(*m)]));
4202 i += ((NI) 1);
4203 } LA10: ;
4204 }
4205 }
4206 return result;
4207 }
N_INLINE(NU64,hiXorLo__pureZhashes_79)4208 static N_INLINE(NU64, hiXorLo__pureZhashes_79)(NU64 a, NU64 b) {
4209 NU64 result;
4210 result = (NU64)0;
4211 __uint128_t r = a; r *= b; result = (r >> 64) ^ r;
4212 return result;
4213 }
N_INLINE(NI,hashWangYi1__pureZhashes_136)4214 static N_INLINE(NI, hashWangYi1__pureZhashes_136)(NU64 x) {
4215 NI result;
4216 NU64 T1_;
4217 NU64 T2_;
4218 result = (NI)0;
4219 T1_ = (NU64)0;
4220 T1_ = hiXorLo__pureZhashes_79(11562461410679940143ULL, (NU64)(x ^ 16646288086500911323ULL));
4221 T2_ = (NU64)0;
4222 T2_ = hiXorLo__pureZhashes_79(T1_, 16952864883938283885ULL);
4223 result = ((NI) (T2_));
4224 return result;
4225 }
N_INLINE(NI,hash__icZic_606)4226 static N_INLINE(NI, hash__icZic_606)(NI32 x) {
4227 NI result;
4228 result = (NI)0;
4229 result = hashWangYi1__pureZhashes_136(((NU64) (x)));
4230 return result;
4231 }
N_INLINE(NI,rawGet__icZic_599)4232 static N_INLINE(NI, rawGet__icZic_599)(tyObject_Table__TRm6MPqklA8EYBmBMY117Q t, NI32 key, NI* hc) {
4233 NI result;
4234 NI h;
4235 NI T10_;
4236 { result = (NI)0;
4237 (*hc) = hash__icZic_606(key);
4238 {
4239 if (!((*hc) == ((NI) 0))) goto LA3_;
4240 (*hc) = ((NI) 314159265);
4241 }
4242 LA3_: ;
4243 {
4244 NI T7_;
4245 T7_ = (t.data ? t.data->Sup.len : 0);
4246 if (!(T7_ == ((NI) 0))) goto LA8_;
4247 result = ((NI) -1);
4248 goto BeforeRet_;
4249 }
4250 LA8_: ;
4251 T10_ = ((t.data ? t.data->Sup.len : 0)-1);
4252 h = (NI)((*hc) & T10_);
4253 {
4254 while (1) {
4255 NIM_BOOL T13_;
4256 NI T20_;
4257 T13_ = (NIM_BOOL)0;
4258 T13_ = isFilled__pureZcollectionsZtables_31(t.data->data[h].Field0);
4259 if (!T13_) goto LA12;
4260 {
4261 NIM_BOOL T16_;
4262 T16_ = (NIM_BOOL)0;
4263 T16_ = (t.data->data[h].Field0 == (*hc));
4264 if (!(T16_)) goto LA17_;
4265 T16_ = (t.data->data[h].Field1 == key);
4266 LA17_: ;
4267 if (!T16_) goto LA18_;
4268 result = h;
4269 goto BeforeRet_;
4270 }
4271 LA18_: ;
4272 T20_ = ((t.data ? t.data->Sup.len : 0)-1);
4273 h = nextTry__pureZcollectionsZtables_34(h, T20_);
4274 } LA12: ;
4275 }
4276 result = (NI)(((NI) -1) - h);
4277 }BeforeRet_: ;
4278 return result;
4279 }
N_NIMCALL(NU32,getOrDefault__icZic_590)4280 N_LIB_PRIVATE N_NIMCALL(NU32, getOrDefault__icZic_590)(tyObject_Table__TRm6MPqklA8EYBmBMY117Q t, NI32 key) {
4281 NU32 result;
4282 NI hcX60gensym22_;
4283 NI indexX60gensym22_;
4284 result = (NU32)0;
4285 hcX60gensym22_ = (NI)0;
4286 indexX60gensym22_ = rawGet__icZic_599(t, key, (&hcX60gensym22_));
4287 {
4288 if (!(((NI) 0) <= indexX60gensym22_)) goto LA3_;
4289 result = t.data->data[indexX60gensym22_].Field2;
4290 }
4291 LA3_: ;
4292 return result;
4293 }
N_INLINE(NI,nextTry__icZbitabs_8)4294 static N_INLINE(NI, nextTry__icZbitabs_8)(NI h, NI maxHash) {
4295 NI result;
4296 result = (NI)0;
4297 result = (NI)((NI)(h + ((NI) 1)) & maxHash);
4298 return result;
4299 }
N_INLINE(NIM_BOOL,mustRehash__icZbitabs_44)4300 static N_INLINE(NIM_BOOL, mustRehash__icZbitabs_44)(NI length, NI counter) {
4301 NIM_BOOL result;
4302 NIM_BOOL T1_;
4303 result = (NIM_BOOL)0;
4304 T1_ = (NIM_BOOL)0;
4305 T1_ = ((NI)(length * ((NI) 2)) < (NI)(counter * ((NI) 3)));
4306 if (T1_) goto LA2_;
4307 T1_ = ((NI)(length - counter) < ((NI) 4));
4308 LA2_: ;
4309 result = T1_;
4310 return result;
4311 }
N_NIMCALL(void,enlarge__icZic_950)4312 N_LIB_PRIVATE N_NIMCALL(void, enlarge__icZic_950)(tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg* t) {
4313 tySequence__9bAGqSvkAaFL9bWjsEPslrFA* n;
4314 NI T1_;
4315 tySequence__9bAGqSvkAaFL9bWjsEPslrFA* T2_;
4316 n = NIM_NIL;
4317 T1_ = ((*t).keys ? (*t).keys->Sup.len : 0);
4318 n = (tySequence__9bAGqSvkAaFL9bWjsEPslrFA*) newSeq((&NTIseqLlitidT__9bAGqSvkAaFL9bWjsEPslrFA_), ((NI) ((NI)(T1_ * ((NI) 2)))));
4319 T2_ = NIM_NIL;
4320 T2_ = (*t).keys;
4321 unsureAsgnRef((void**) (&(*t).keys), n);
4322 n = T2_;
4323 {
4324 NI i;
4325 NI colontmp_;
4326 NI T4_;
4327 NI res;
4328 i = (NI)0;
4329 colontmp_ = (NI)0;
4330 T4_ = ((n ? n->Sup.len : 0)-1);
4331 colontmp_ = T4_;
4332 res = ((NI) 0);
4333 {
4334 while (1) {
4335 NU32 eh;
4336 if (!(res <= colontmp_)) goto LA6;
4337 i = res;
4338 eh = n->data[i];
4339 {
4340 NI j;
4341 NI T11_;
4342 NI T12_;
4343 if (!((NU32)(((NU32) 0)) < (NU32)(eh))) goto LA9_;
4344 T11_ = (NI)0;
4345 T11_ = hash__pureZhashes_279((*t).vals->data[(NI)(((NI) (eh)) - ((NI) 256))]);
4346 T12_ = (((*t).keys ? (*t).keys->Sup.len : 0)-1);
4347 j = (NI)(T11_ & T12_);
4348 {
4349 while (1) {
4350 NI T15_;
4351 if (!((NU32)(((NU32) 0)) < (NU32)((*t).keys->data[j]))) goto LA14;
4352 T15_ = (((*t).keys ? (*t).keys->Sup.len : 0)-1);
4353 j = nextTry__icZbitabs_8(j, T15_);
4354 } LA14: ;
4355 }
4356 (*t).keys->data[j] = n->data[i];
4357 n->data[i] = 0;
4358 }
4359 LA9_: ;
4360 res += ((NI) 1);
4361 } LA6: ;
4362 }
4363 }
4364 }
N_NIMCALL(NU32,getOrIncl__icZic_924)4365 N_LIB_PRIVATE N_NIMCALL(NU32, getOrIncl__icZic_924)(tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg* t, NimStringDesc* v) {
4366 NU32 result;
4367 NI origH;
4368 NI h;
4369 NI T1_;
4370 NI T35_;
4371 NI T36_;
4372 NimStringDesc* T37_;
4373 { result = (NU32)0;
4374 origH = hash__pureZhashes_279(v);
4375 T1_ = (((*t).keys ? (*t).keys->Sup.len : 0)-1);
4376 h = (NI)(origH & T1_);
4377 {
4378 NI T4_;
4379 T4_ = ((*t).keys ? (*t).keys->Sup.len : 0);
4380 if (!!((T4_ == ((NI) 0)))) goto LA5_;
4381 {
4382 while (1) {
4383 NU32 litId;
4384 NI T17_;
4385 litId = (*t).keys->data[h];
4386 {
4387 if (!!(((NU32)(((NU32) 0)) < (NU32)(litId)))) goto LA11_;
4388 goto LA7;
4389 }
4390 LA11_: ;
4391 {
4392 if (!eqStrings((*t).vals->data[(NI)(((NI) ((*t).keys->data[h])) - ((NI) 256))], v)) goto LA15_;
4393 result = litId;
4394 goto BeforeRet_;
4395 }
4396 LA15_: ;
4397 T17_ = (((*t).keys ? (*t).keys->Sup.len : 0)-1);
4398 h = nextTry__icZbitabs_8(h, T17_);
4399 }
4400 } LA7: ;
4401 {
4402 NI T20_;
4403 NI T21_;
4404 NIM_BOOL T22_;
4405 NI T25_;
4406 T20_ = ((*t).keys ? (*t).keys->Sup.len : 0);
4407 T21_ = ((*t).vals ? (*t).vals->Sup.len : 0);
4408 T22_ = (NIM_BOOL)0;
4409 T22_ = mustRehash__icZbitabs_44(T20_, T21_);
4410 if (!T22_) goto LA23_;
4411 enlarge__icZic_950(t);
4412 T25_ = (((*t).keys ? (*t).keys->Sup.len : 0)-1);
4413 h = (NI)(origH & T25_);
4414 {
4415 while (1) {
4416 NU32 litId_2;
4417 NI T32_;
4418 litId_2 = (*t).keys->data[h];
4419 {
4420 if (!!(((NU32)(((NU32) 0)) < (NU32)(litId_2)))) goto LA30_;
4421 goto LA26;
4422 }
4423 LA30_: ;
4424 T32_ = (((*t).keys ? (*t).keys->Sup.len : 0)-1);
4425 h = nextTry__icZbitabs_8(h, T32_);
4426 }
4427 } LA26: ;
4428 }
4429 LA23_: ;
4430 }
4431 goto LA2_;
4432 LA5_: ;
4433 {
4434 NI T34_;
4435 unsureAsgnRef((void**) (&(*t).keys), (tySequence__9bAGqSvkAaFL9bWjsEPslrFA*) setLengthSeqV2(&((*t).keys)->Sup, (&NTIseqLlitidT__9bAGqSvkAaFL9bWjsEPslrFA_), ((NI) 16)));
4436 T34_ = (((*t).keys ? (*t).keys->Sup.len : 0)-1);
4437 h = (NI)(origH & T34_);
4438 }
4439 LA2_: ;
4440 T35_ = ((*t).vals ? (*t).vals->Sup.len : 0);
4441 result = ((NU32) ((NI)(T35_ + ((NI) 256))));
4442 (*t).keys->data[h] = result;
4443 unsureAsgnRef((void**) (&(*t).vals), (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) incrSeqV3((TGenericSeq*)((*t).vals), (&NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_)));
4444 T36_ = (*t).vals->Sup.len++;
4445 T37_ = NIM_NIL;
4446 T37_ = (*t).vals->data[T36_]; (*t).vals->data[T36_] = copyStringRC1(v);
4447 if (T37_) nimGCunrefNoCycle(T37_);
4448 }BeforeRet_: ;
4449 return result;
4450 }
N_INLINE(NIM_BOOL,mustRehash__icZic_1248)4451 static N_INLINE(NIM_BOOL, mustRehash__icZic_1248)(tyObject_Table__TRm6MPqklA8EYBmBMY117Q t) {
4452 NIM_BOOL result;
4453 NIM_BOOL T1_;
4454 NI T2_;
4455 NI T4_;
4456 result = (NIM_BOOL)0;
4457 T1_ = (NIM_BOOL)0;
4458 T2_ = (t.data ? t.data->Sup.len : 0);
4459 T1_ = ((NI)(T2_ * ((NI) 2)) < (NI)(t.counter * ((NI) 3)));
4460 if (T1_) goto LA3_;
4461 T4_ = (t.data ? t.data->Sup.len : 0);
4462 T1_ = ((NI)(T4_ - t.counter) < ((NI) 4));
4463 LA3_: ;
4464 result = T1_;
4465 return result;
4466 }
N_NIMCALL(void,rawInsert__icZic_1725)4467 N_LIB_PRIVATE N_NIMCALL(void, rawInsert__icZic_1725)(tyObject_Table__TRm6MPqklA8EYBmBMY117Q* t, tySequence__9cnx3zXnWzeclW8Ko4oUgAQ** data, NI32 key, NU32 val, NI hc, NI h) {
4468 (*data)->data[h].Field1 = key;
4469 (*data)->data[h].Field2 = val;
4470 (*data)->data[h].Field0 = hc;
4471 }
N_NIMCALL(void,enlarge__icZic_1407)4472 N_LIB_PRIVATE N_NIMCALL(void, enlarge__icZic_1407)(tyObject_Table__TRm6MPqklA8EYBmBMY117Q* t) {
4473 tySequence__9cnx3zXnWzeclW8Ko4oUgAQ* n;
4474 NI T1_;
4475 tySequence__9cnx3zXnWzeclW8Ko4oUgAQ* T2_;
4476 n = NIM_NIL;
4477 T1_ = ((*t).data ? (*t).data->Sup.len : 0);
4478 n = (tySequence__9cnx3zXnWzeclW8Ko4oUgAQ*) newSeq((&NTIkeyvaluepairseq__9cnx3zXnWzeclW8Ko4oUgAQ_), ((NI) ((NI)(T1_ * ((NI) 2)))));
4479 T2_ = NIM_NIL;
4480 T2_ = (*t).data;
4481 unsureAsgnRef((void**) (&(*t).data), n);
4482 n = T2_;
4483 {
4484 NI i;
4485 NI colontmp_;
4486 NI T4_;
4487 NI res;
4488 i = (NI)0;
4489 colontmp_ = (NI)0;
4490 T4_ = ((n ? n->Sup.len : 0)-1);
4491 colontmp_ = T4_;
4492 res = ((NI) 0);
4493 {
4494 while (1) {
4495 NI eh;
4496 if (!(res <= colontmp_)) goto LA6;
4497 i = res;
4498 eh = n->data[i].Field0;
4499 {
4500 NIM_BOOL T9_;
4501 NI j;
4502 NI T12_;
4503 NI32 T17_;
4504 NU32 T18_;
4505 T9_ = (NIM_BOOL)0;
4506 T9_ = isFilled__pureZcollectionsZtables_31(eh);
4507 if (!T9_) goto LA10_;
4508 T12_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
4509 j = (NI)(eh & T12_);
4510 {
4511 while (1) {
4512 NIM_BOOL T15_;
4513 NI T16_;
4514 T15_ = (NIM_BOOL)0;
4515 T15_ = isFilled__pureZcollectionsZtables_31((*t).data->data[j].Field0);
4516 if (!T15_) goto LA14;
4517 T16_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
4518 j = nextTry__pureZcollectionsZtables_34(j, T16_);
4519 } LA14: ;
4520 }
4521 T17_ = (NI32)0;
4522 T17_ = n->data[i].Field1;
4523 n->data[i].Field1 = 0;
4524 T18_ = (NU32)0;
4525 T18_ = n->data[i].Field2;
4526 n->data[i].Field2 = 0;
4527 rawInsert__icZic_1725(t, (&(*t).data), T17_, T18_, eh, j);
4528 }
4529 LA10_: ;
4530 res += ((NI) 1);
4531 } LA6: ;
4532 }
4533 }
4534 }
N_INLINE(NI,rawGetKnownHC__icZic_1906)4535 static N_INLINE(NI, rawGetKnownHC__icZic_1906)(tyObject_Table__TRm6MPqklA8EYBmBMY117Q t, NI32 key, NI hc) {
4536 NI result;
4537 NI h;
4538 NI T6_;
4539 { result = (NI)0;
4540 {
4541 NI T3_;
4542 T3_ = (t.data ? t.data->Sup.len : 0);
4543 if (!(T3_ == ((NI) 0))) goto LA4_;
4544 result = ((NI) -1);
4545 goto BeforeRet_;
4546 }
4547 LA4_: ;
4548 T6_ = ((t.data ? t.data->Sup.len : 0)-1);
4549 h = (NI)(hc & T6_);
4550 {
4551 while (1) {
4552 NIM_BOOL T9_;
4553 NI T16_;
4554 T9_ = (NIM_BOOL)0;
4555 T9_ = isFilled__pureZcollectionsZtables_31(t.data->data[h].Field0);
4556 if (!T9_) goto LA8;
4557 {
4558 NIM_BOOL T12_;
4559 T12_ = (NIM_BOOL)0;
4560 T12_ = (t.data->data[h].Field0 == hc);
4561 if (!(T12_)) goto LA13_;
4562 T12_ = (t.data->data[h].Field1 == key);
4563 LA13_: ;
4564 if (!T12_) goto LA14_;
4565 result = h;
4566 goto BeforeRet_;
4567 }
4568 LA14_: ;
4569 T16_ = ((t.data ? t.data->Sup.len : 0)-1);
4570 h = nextTry__pureZcollectionsZtables_34(h, T16_);
4571 } LA8: ;
4572 }
4573 result = (NI)(((NI) -1) - h);
4574 }BeforeRet_: ;
4575 return result;
4576 }
N_NIMCALL(void,X5BX5Deq___icZic_1067)4577 N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___icZic_1067)(tyObject_Table__TRm6MPqklA8EYBmBMY117Q* t, NI32 key, NU32 val) {
4578 NI hc;
4579 NI index;
4580 {
4581 NI T3_;
4582 NI correctSizeX60gensym37_;
4583 T3_ = ((*t).data ? (*t).data->Sup.len : 0);
4584 if (!(T3_ == ((NI) 0))) goto LA4_;
4585 correctSizeX60gensym37_ = slotsNeeded__pureZcollectionsZtables_42(((NI) 32));
4586 (*t).counter = ((NI) 0);
4587 unsureAsgnRef((void**) (&(*t).data), (tySequence__9cnx3zXnWzeclW8Ko4oUgAQ*) newSeq((&NTIkeyvaluepairseq__9cnx3zXnWzeclW8Ko4oUgAQ_), ((NI) (correctSizeX60gensym37_))));
4588 }
4589 LA4_: ;
4590 hc = (NI)0;
4591 index = rawGet__icZic_599((*t), key, (&hc));
4592 {
4593 if (!(((NI) 0) <= index)) goto LA8_;
4594 (*t).data->data[index].Field2 = val;
4595 }
4596 goto LA6_;
4597 LA8_: ;
4598 {
4599 {
4600 NI T13_;
4601 NI correctSizeX60gensym40_;
4602 T13_ = ((*t).data ? (*t).data->Sup.len : 0);
4603 if (!(T13_ == ((NI) 0))) goto LA14_;
4604 correctSizeX60gensym40_ = slotsNeeded__pureZcollectionsZtables_42(((NI) 32));
4605 (*t).counter = ((NI) 0);
4606 unsureAsgnRef((void**) (&(*t).data), (tySequence__9cnx3zXnWzeclW8Ko4oUgAQ*) newSeq((&NTIkeyvaluepairseq__9cnx3zXnWzeclW8Ko4oUgAQ_), ((NI) (correctSizeX60gensym40_))));
4607 }
4608 LA14_: ;
4609 {
4610 NIM_BOOL T18_;
4611 T18_ = (NIM_BOOL)0;
4612 T18_ = mustRehash__icZic_1248((*t));
4613 if (!T18_) goto LA19_;
4614 enlarge__icZic_1407(t);
4615 index = rawGetKnownHC__icZic_1906((*t), key, hc);
4616 }
4617 LA19_: ;
4618 index = (NI)(((NI) -1) - index);
4619 rawInsert__icZic_1725(t, (&(*t).data), key, val, hc, index);
4620 (*t).counter += ((NI) 1);
4621 }
4622 LA6_: ;
4623 }
N_NIMCALL(NU32,toLitId__icZic_519)4624 N_LIB_PRIVATE N_NIMCALL(NU32, toLitId__icZic_519)(NI32 x, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m) {
4625 NU32 result;
4626 result = (NU32)0;
4627 {
4628 if (!(x == (*c).lastFile)) goto LA3_;
4629 result = (*c).lastLit;
4630 }
4631 goto LA1_;
4632 LA3_: ;
4633 {
4634 result = getOrDefault__icZic_590((*c).filenames, x);
4635 {
4636 NimStringDesc* p;
4637 if (!(result == ((NU32) 0))) goto LA8_;
4638 p = toFullPath__msgs_538((*c).config, x);
4639 result = getOrIncl__icZic_924((&(*m).strings), p);
4640 X5BX5Deq___icZic_1067((&(*c).filenames), x, result);
4641 }
4642 LA8_: ;
4643 (*c).lastFile = x;
4644 (*c).lastLit = result;
4645 }
4646 LA1_: ;
4647 return result;
4648 }
N_INLINE(NI32,getNodeId__icZpacked95ast_579)4649 static N_INLINE(NI32, getNodeId__icZpacked95ast_579)(tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw tree) {
4650 NI32 result;
4651 NI T1_;
4652 result = (NI32)0;
4653 T1_ = (tree.nodes ? tree.nodes->Sup.len : 0);
4654 result = ((NI32) (T1_));
4655 return result;
4656 }
N_NIMCALL(tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg,toPackedInfo__icZic_2574)4657 N_LIB_PRIVATE N_NIMCALL(tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg, toPackedInfo__icZic_2574)(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q x, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m) {
4658 tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg result;
4659 nimZeroMem((void*)(&result), sizeof(tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg));
4660 nimZeroMem((void*)(&result), sizeof(tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg));
4661 result.line = x.line;
4662 result.col = x.col;
4663 result.file = toLitId__icZic_519(x.fileIndex, c, m);
4664 return result;
4665 }
N_NIMCALL(void,addMissing__icZic_2660)4666 N_LIB_PRIVATE N_NIMCALL(void, addMissing__icZic_2660)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_TType__facALICuu8zUj0hjvbTLFg* p) {
4667 {
4668 NIM_BOOL T3_;
4669 T3_ = (NIM_BOOL)0;
4670 T3_ = !((p == ((tyObject_TType__facALICuu8zUj0hjvbTLFg*) NIM_NIL)));
4671 if (!(T3_)) goto LA4_;
4672 T3_ = ((*p).uniqueId.module == (*c).thisModule);
4673 LA4_: ;
4674 if (!T3_) goto LA5_;
4675 {
4676 NIM_BOOL T9_;
4677 NI T12_;
4678 T9_ = (NIM_BOOL)0;
4679 T9_ = contains__astalgo_3496((&(*c).typeMarker), ((NI) ((*p).uniqueId.item)));
4680 if (!!(T9_)) goto LA10_;
4681 unsureAsgnRef((void**) (&(*c).pendingTypes), (tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A*) incrSeqV3((TGenericSeq*)((*c).pendingTypes), (&NTIttypeseq__9aZVGG5Gtti9cC9bqRpXCtA3A_)));
4682 T12_ = (*c).pendingTypes->Sup.len++;
4683 asgnRef((void**) (&(*c).pendingTypes->data[T12_]), p);
4684 }
4685 LA10_: ;
4686 }
4687 LA5_: ;
4688 }
N_NIMCALL(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ,storeTypeLater__icZic_2722)4689 N_LIB_PRIVATE N_NIMCALL(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ, storeTypeLater__icZic_2722)(tyObject_TType__facALICuu8zUj0hjvbTLFg* t, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m) {
4690 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ result;
4691 { nimZeroMem((void*)(&result), sizeof(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ));
4692 {
4693 if (!(t == 0)) goto LA3_;
4694 result = nilItemId__icZpacked95ast_14;
4695 goto BeforeRet_;
4696 }
4697 LA3_: ;
4698 nimZeroMem((void*)(&result), sizeof(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ));
4699 result.module = toLitId__icZic_519((*t).uniqueId.module, c, m);
4700 result.item = (*t).uniqueId.item;
4701 {
4702 if (!((*t).uniqueId.module == (*c).thisModule)) goto LA7_;
4703 addMissing__icZic_2660(c, t);
4704 }
4705 LA7_: ;
4706 }BeforeRet_: ;
4707 return result;
4708 }
N_NIMCALL(void,addMissing__icZic_2595)4709 N_LIB_PRIVATE N_NIMCALL(void, addMissing__icZic_2595)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* p) {
4710 {
4711 NIM_BOOL T3_;
4712 T3_ = (NIM_BOOL)0;
4713 T3_ = !((p == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)));
4714 if (!(T3_)) goto LA4_;
4715 T3_ = ((*p).Sup.itemId.module == (*c).thisModule);
4716 LA4_: ;
4717 if (!T3_) goto LA5_;
4718 {
4719 NIM_BOOL T9_;
4720 T9_ = (NIM_BOOL)0;
4721 T9_ = contains__astalgo_3496((&(*c).symMarker), ((NI) ((*p).Sup.itemId.item)));
4722 if (!!(T9_)) goto LA10_;
4723 {
4724 NIM_BOOL T14_;
4725 NI T18_;
4726 T14_ = (NIM_BOOL)0;
4727 T14_ = (((*p).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 4))&63U)))!=0);
4728 if (!(T14_)) goto LA15_;
4729 T14_ = ((520192 &((NU32)1<<((NU)((*p).kind)&31U)))!=0);
4730 LA15_: ;
4731 if (!!(T14_)) goto LA16_;
4732 unsureAsgnRef((void**) (&(*c).pendingSyms), (tySequence__eHqUwlHGGaPw0TDPDeL79cQ*) incrSeqV3((TGenericSeq*)((*c).pendingSyms), (&NTIseqLpsymT__eHqUwlHGGaPw0TDPDeL79cQ_)));
4733 T18_ = (*c).pendingSyms->Sup.len++;
4734 asgnRef((void**) (&(*c).pendingSyms->data[T18_]), p);
4735 }
4736 LA16_: ;
4737 }
4738 LA10_: ;
4739 }
4740 LA5_: ;
4741 }
N_NIMCALL(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ,storeSymLater__icZic_2736)4742 N_LIB_PRIVATE N_NIMCALL(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ, storeSymLater__icZic_2736)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m) {
4743 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ result;
4744 { nimZeroMem((void*)(&result), sizeof(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ));
4745 {
4746 if (!(s == 0)) goto LA3_;
4747 result = nilItemId__icZpacked95ast_14;
4748 goto BeforeRet_;
4749 }
4750 LA3_: ;
4751 nimZeroMem((void*)(&result), sizeof(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ));
4752 result.module = toLitId__icZic_519((*s).Sup.itemId.module, c, m);
4753 result.item = (*s).Sup.itemId.item;
4754 {
4755 if (!((*s).Sup.itemId.module == (*c).thisModule)) goto LA7_;
4756 addMissing__icZic_2595(c, s);
4757 }
4758 LA7_: ;
4759 }BeforeRet_: ;
4760 return result;
4761 }
N_NIMCALL(void,addModuleRef__icZic_2915)4762 N_LIB_PRIVATE N_NIMCALL(void, addModuleRef__icZic_2915)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw* ir, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m) {
4763 tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg info;
4764 tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow T1_;
4765 NI T2_;
4766 tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow T3_;
4767 NU32 T4_;
4768 NI T5_;
4769 tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow T6_;
4770 NI T7_;
4771 info = toPackedInfo__icZic_2574((*n).info, c, m);
4772 nimZeroMem((void*)(&T1_), sizeof(tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow));
4773 T1_.kind = ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 162);
4774 T1_.operand = ((NI32) 3);
4775 T1_.typeId_0 = storeTypeLater__icZic_2722((*n).typ, c, m);
4776 T1_.info = info;
4777 unsureAsgnRef((void**) (&(*ir).nodes), (tySequence__29bS0n2QNyO1R7e0qMMOvLA*) incrSeqV3((TGenericSeq*)((*ir).nodes), (&NTIseqLpackednodeT__29bS0n2QNyO1R7e0qMMOvLA_)));
4778 T2_ = (*ir).nodes->Sup.len++;
4779 (*ir).nodes->data[T2_] = T1_;
4780 nimZeroMem((void*)(&T3_), sizeof(tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow));
4781 T3_.kind = ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 9);
4782 T3_.info = info;
4783 T4_ = (NU32)0;
4784 T4_ = toLitId__icZic_519((*(*n)._kind_4.sym).Sup.itemId.module, c, m);
4785 T3_.operand = ((NI32) (T4_));
4786 unsureAsgnRef((void**) (&(*ir).nodes), (tySequence__29bS0n2QNyO1R7e0qMMOvLA*) incrSeqV3((TGenericSeq*)((*ir).nodes), (&NTIseqLpackednodeT__29bS0n2QNyO1R7e0qMMOvLA_)));
4787 T5_ = (*ir).nodes->Sup.len++;
4788 (*ir).nodes->data[T5_] = T3_;
4789 nimZeroMem((void*)(&T6_), sizeof(tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow));
4790 T6_.kind = ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 9);
4791 T6_.info = info;
4792 T6_.operand = (*(*n)._kind_4.sym).Sup.itemId.item;
4793 unsureAsgnRef((void**) (&(*ir).nodes), (tySequence__29bS0n2QNyO1R7e0qMMOvLA*) incrSeqV3((TGenericSeq*)((*ir).nodes), (&NTIseqLpackednodeT__29bS0n2QNyO1R7e0qMMOvLA_)));
4794 T7_ = (*ir).nodes->Sup.len++;
4795 (*ir).nodes->data[T7_] = T6_;
4796 }
N_INLINE(NI,hash__pureZjson_2955)4797 static N_INLINE(NI, hash__pureZjson_2955)(NI64 x) {
4798 NI result;
4799 result = (NI)0;
4800 result = hashWangYi1__pureZhashes_136(((NU64) (x)));
4801 return result;
4802 }
N_NIMCALL(void,enlarge__icZic_2516)4803 N_LIB_PRIVATE N_NIMCALL(void, enlarge__icZic_2516)(tyObject_BiTable__DyMEQOe8VsqcG49bIhU69bBQ* t) {
4804 tySequence__9bAGqSvkAaFL9bWjsEPslrFA* n;
4805 NI T1_;
4806 tySequence__9bAGqSvkAaFL9bWjsEPslrFA* T2_;
4807 n = NIM_NIL;
4808 T1_ = ((*t).keys ? (*t).keys->Sup.len : 0);
4809 n = (tySequence__9bAGqSvkAaFL9bWjsEPslrFA*) newSeq((&NTIseqLlitidT__9bAGqSvkAaFL9bWjsEPslrFA_), ((NI) ((NI)(T1_ * ((NI) 2)))));
4810 T2_ = NIM_NIL;
4811 T2_ = (*t).keys;
4812 unsureAsgnRef((void**) (&(*t).keys), n);
4813 n = T2_;
4814 {
4815 NI i;
4816 NI colontmp_;
4817 NI T4_;
4818 NI res;
4819 i = (NI)0;
4820 colontmp_ = (NI)0;
4821 T4_ = ((n ? n->Sup.len : 0)-1);
4822 colontmp_ = T4_;
4823 res = ((NI) 0);
4824 {
4825 while (1) {
4826 NU32 eh;
4827 if (!(res <= colontmp_)) goto LA6;
4828 i = res;
4829 eh = n->data[i];
4830 {
4831 NI j;
4832 NI T11_;
4833 NI T12_;
4834 if (!((NU32)(((NU32) 0)) < (NU32)(eh))) goto LA9_;
4835 T11_ = (NI)0;
4836 T11_ = hash__pureZjson_2955((*t).vals->data[(NI)(((NI) (eh)) - ((NI) 256))]);
4837 T12_ = (((*t).keys ? (*t).keys->Sup.len : 0)-1);
4838 j = (NI)(T11_ & T12_);
4839 {
4840 while (1) {
4841 NI T15_;
4842 if (!((NU32)(((NU32) 0)) < (NU32)((*t).keys->data[j]))) goto LA14;
4843 T15_ = (((*t).keys ? (*t).keys->Sup.len : 0)-1);
4844 j = nextTry__icZbitabs_8(j, T15_);
4845 } LA14: ;
4846 }
4847 (*t).keys->data[j] = n->data[i];
4848 n->data[i] = 0;
4849 }
4850 LA9_: ;
4851 res += ((NI) 1);
4852 } LA6: ;
4853 }
4854 }
4855 }
N_NIMCALL(NU32,getOrIncl__icZic_2488)4856 N_LIB_PRIVATE N_NIMCALL(NU32, getOrIncl__icZic_2488)(tyObject_BiTable__DyMEQOe8VsqcG49bIhU69bBQ* t, NI64 v) {
4857 NU32 result;
4858 NI origH;
4859 NI h;
4860 NI T1_;
4861 NI T35_;
4862 NI T36_;
4863 { result = (NU32)0;
4864 origH = hash__pureZjson_2955(v);
4865 T1_ = (((*t).keys ? (*t).keys->Sup.len : 0)-1);
4866 h = (NI)(origH & T1_);
4867 {
4868 NI T4_;
4869 T4_ = ((*t).keys ? (*t).keys->Sup.len : 0);
4870 if (!!((T4_ == ((NI) 0)))) goto LA5_;
4871 {
4872 while (1) {
4873 NU32 litId;
4874 NI T17_;
4875 litId = (*t).keys->data[h];
4876 {
4877 if (!!(((NU32)(((NU32) 0)) < (NU32)(litId)))) goto LA11_;
4878 goto LA7;
4879 }
4880 LA11_: ;
4881 {
4882 if (!((*t).vals->data[(NI)(((NI) ((*t).keys->data[h])) - ((NI) 256))] == v)) goto LA15_;
4883 result = litId;
4884 goto BeforeRet_;
4885 }
4886 LA15_: ;
4887 T17_ = (((*t).keys ? (*t).keys->Sup.len : 0)-1);
4888 h = nextTry__icZbitabs_8(h, T17_);
4889 }
4890 } LA7: ;
4891 {
4892 NI T20_;
4893 NI T21_;
4894 NIM_BOOL T22_;
4895 NI T25_;
4896 T20_ = ((*t).keys ? (*t).keys->Sup.len : 0);
4897 T21_ = ((*t).vals ? (*t).vals->Sup.len : 0);
4898 T22_ = (NIM_BOOL)0;
4899 T22_ = mustRehash__icZbitabs_44(T20_, T21_);
4900 if (!T22_) goto LA23_;
4901 enlarge__icZic_2516(t);
4902 T25_ = (((*t).keys ? (*t).keys->Sup.len : 0)-1);
4903 h = (NI)(origH & T25_);
4904 {
4905 while (1) {
4906 NU32 litId_2;
4907 NI T32_;
4908 litId_2 = (*t).keys->data[h];
4909 {
4910 if (!!(((NU32)(((NU32) 0)) < (NU32)(litId_2)))) goto LA30_;
4911 goto LA26;
4912 }
4913 LA30_: ;
4914 T32_ = (((*t).keys ? (*t).keys->Sup.len : 0)-1);
4915 h = nextTry__icZbitabs_8(h, T32_);
4916 }
4917 } LA26: ;
4918 }
4919 LA23_: ;
4920 }
4921 goto LA2_;
4922 LA5_: ;
4923 {
4924 NI T34_;
4925 unsureAsgnRef((void**) (&(*t).keys), (tySequence__9bAGqSvkAaFL9bWjsEPslrFA*) setLengthSeqV2(&((*t).keys)->Sup, (&NTIseqLlitidT__9bAGqSvkAaFL9bWjsEPslrFA_), ((NI) 16)));
4926 T34_ = (((*t).keys ? (*t).keys->Sup.len : 0)-1);
4927 h = (NI)(origH & T34_);
4928 }
4929 LA2_: ;
4930 T35_ = ((*t).vals ? (*t).vals->Sup.len : 0);
4931 result = ((NU32) ((NI)(T35_ + ((NI) 256))));
4932 (*t).keys->data[h] = result;
4933 unsureAsgnRef((void**) (&(*t).vals), (tySequence__IHUFRsFxZNv7YydiUO2esQ*) incrSeqV3((TGenericSeq*)((*t).vals), (&NTIseqLbiggestintT__IHUFRsFxZNv7YydiUO2esQ_)));
4934 T36_ = (*t).vals->Sup.len++;
4935 (*t).vals->data[T36_] = v;
4936 }BeforeRet_: ;
4937 return result;
4938 }
N_INLINE(NI,len__ast_3198)4939 static N_INLINE(NI, len__ast_3198)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
4940 NI result;
4941 NI T1_;
4942 result = (NI)0;
4943 T1_ = ((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0);
4944 result = T1_;
4945 return result;
4946 }
N_NIMCALL(void,toPackedNode__icZic_2426)4947 N_LIB_PRIVATE N_NIMCALL(void, toPackedNode__icZic_2426)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw* ir, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m) {
4948 tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg info;
4949 { {
4950 NI T5_;
4951 if (!(n == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL))) goto LA3_;
4952 unsureAsgnRef((void**) (&(*ir).nodes), (tySequence__29bS0n2QNyO1R7e0qMMOvLA*) incrSeqV3((TGenericSeq*)((*ir).nodes), (&NTIseqLpackednodeT__29bS0n2QNyO1R7e0qMMOvLA_)));
4953 T5_ = (*ir).nodes->Sup.len++;
4954 (*ir).nodes->data[T5_] = TM__5aiUyZx54WIsmLijToCcoA_33;
4955 goto BeforeRet_;
4956 }
4957 LA3_: ;
4958 info = toPackedInfo__icZic_2574((*n).info, c, m);
4959 switch ((*n).kind) {
4960 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 0):
4961 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1):
4962 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23):
4963 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 4):
4964 {
4965 tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow T7_;
4966 NI T8_;
4967 nimZeroMem((void*)(&T7_), sizeof(tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow));
4968 T7_.kind = (*n).kind;
4969 T7_.flags = (*n).flags;
4970 T7_.operand = ((NI32) 0);
4971 T7_.typeId_0 = storeTypeLater__icZic_2722((*n).typ, c, m);
4972 T7_.info = info;
4973 unsureAsgnRef((void**) (&(*ir).nodes), (tySequence__29bS0n2QNyO1R7e0qMMOvLA*) incrSeqV3((TGenericSeq*)((*ir).nodes), (&NTIseqLpackednodeT__29bS0n2QNyO1R7e0qMMOvLA_)));
4974 T8_ = (*ir).nodes->Sup.len++;
4975 (*ir).nodes->data[T8_] = T7_;
4976 }
4977 break;
4978 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 2):
4979 {
4980 tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow T10_;
4981 NU32 T11_;
4982 NI T12_;
4983 nimZeroMem((void*)(&T10_), sizeof(tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow));
4984 T10_.kind = (*n).kind;
4985 T10_.flags = (*n).flags;
4986 T11_ = (NU32)0;
4987 T11_ = getOrIncl__icZic_924((&(*m).strings), (*(*n)._kind_5.ident).s);
4988 T10_.operand = ((NI32) (T11_));
4989 T10_.typeId_0 = storeTypeLater__icZic_2722((*n).typ, c, m);
4990 T10_.info = info;
4991 unsureAsgnRef((void**) (&(*ir).nodes), (tySequence__29bS0n2QNyO1R7e0qMMOvLA*) incrSeqV3((TGenericSeq*)((*ir).nodes), (&NTIseqLpackednodeT__29bS0n2QNyO1R7e0qMMOvLA_)));
4992 T12_ = (*ir).nodes->Sup.len++;
4993 (*ir).nodes->data[T12_] = T10_;
4994 }
4995 break;
4996 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3):
4997 {
4998 {
4999 NI32 id;
5000 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ T18_;
5001 tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow T19_;
5002 NI T20_;
5003 if (!((*(*n)._kind_4.sym).Sup.itemId.module == (*c).thisModule)) goto LA16_;
5004 T18_ = storeSymLater__icZic_2736((*n)._kind_4.sym, c, m);
5005 id = T18_.item;
5006 nimZeroMem((void*)(&T19_), sizeof(tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow));
5007 T19_.kind = ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3);
5008 T19_.flags = (*n).flags;
5009 T19_.operand = id;
5010 T19_.typeId_0 = storeTypeLater__icZic_2722((*n).typ, c, m);
5011 T19_.info = info;
5012 unsureAsgnRef((void**) (&(*ir).nodes), (tySequence__29bS0n2QNyO1R7e0qMMOvLA*) incrSeqV3((TGenericSeq*)((*ir).nodes), (&NTIseqLpackednodeT__29bS0n2QNyO1R7e0qMMOvLA_)));
5013 T20_ = (*ir).nodes->Sup.len++;
5014 (*ir).nodes->data[T20_] = T19_;
5015 }
5016 goto LA14_;
5017 LA16_: ;
5018 {
5019 addModuleRef__icZic_2915(n, ir, c, m);
5020 }
5021 LA14_: ;
5022 }
5023 break;
5024 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 9):
5025 {
5026 tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow T23_;
5027 NI T24_;
5028 nimZeroMem((void*)(&T23_), sizeof(tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow));
5029 T23_.kind = (*n).kind;
5030 T23_.flags = (*n).flags;
5031 T23_.operand = ((NI32) ((*n)._kind_1.intVal));
5032 T23_.typeId_0 = storeTypeLater__icZic_2722((*n).typ, c, m);
5033 T23_.info = info;
5034 unsureAsgnRef((void**) (&(*ir).nodes), (tySequence__29bS0n2QNyO1R7e0qMMOvLA*) incrSeqV3((TGenericSeq*)((*ir).nodes), (&NTIseqLpackednodeT__29bS0n2QNyO1R7e0qMMOvLA_)));
5035 T24_ = (*ir).nodes->Sup.len++;
5036 (*ir).nodes->data[T24_] = T23_;
5037 }
5038 break;
5039 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 5) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 8):
5040 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 10) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 15):
5041 {
5042 tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow T26_;
5043 NU32 T27_;
5044 NI T28_;
5045 nimZeroMem((void*)(&T26_), sizeof(tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow));
5046 T26_.kind = (*n).kind;
5047 T26_.flags = (*n).flags;
5048 T27_ = (NU32)0;
5049 T27_ = getOrIncl__icZic_2488((&(*m).numbers), (*n)._kind_1.intVal);
5050 T26_.operand = ((NI32) (T27_));
5051 T26_.typeId_0 = storeTypeLater__icZic_2722((*n).typ, c, m);
5052 T26_.info = info;
5053 unsureAsgnRef((void**) (&(*ir).nodes), (tySequence__29bS0n2QNyO1R7e0qMMOvLA*) incrSeqV3((TGenericSeq*)((*ir).nodes), (&NTIseqLpackednodeT__29bS0n2QNyO1R7e0qMMOvLA_)));
5054 T28_ = (*ir).nodes->Sup.len++;
5055 (*ir).nodes->data[T28_] = T26_;
5056 }
5057 break;
5058 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 20) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 22):
5059 {
5060 tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow T30_;
5061 NU32 T31_;
5062 NI T32_;
5063 nimZeroMem((void*)(&T30_), sizeof(tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow));
5064 T30_.kind = (*n).kind;
5065 T30_.flags = (*n).flags;
5066 T31_ = (NU32)0;
5067 T31_ = getOrIncl__icZic_924((&(*m).strings), (*n)._kind_3.strVal);
5068 T30_.operand = ((NI32) (T31_));
5069 T30_.typeId_0 = storeTypeLater__icZic_2722((*n).typ, c, m);
5070 T30_.info = info;
5071 unsureAsgnRef((void**) (&(*ir).nodes), (tySequence__29bS0n2QNyO1R7e0qMMOvLA*) incrSeqV3((TGenericSeq*)((*ir).nodes), (&NTIseqLpackednodeT__29bS0n2QNyO1R7e0qMMOvLA_)));
5072 T32_ = (*ir).nodes->Sup.len++;
5073 (*ir).nodes->data[T32_] = T30_;
5074 }
5075 break;
5076 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 16) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 19):
5077 {
5078 tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow T34_;
5079 union { NF source; NI64 dest; } LOC35;
5080 NU32 T36_;
5081 NI T37_;
5082 nimZeroMem((void*)(&T34_), sizeof(tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow));
5083 T34_.kind = (*n).kind;
5084 T34_.flags = (*n).flags;
5085 LOC35.source = (*n)._kind_2.floatVal;
5086 T36_ = (NU32)0;
5087 T36_ = getOrIncl__icZic_2488((&(*m).numbers), LOC35.dest);
5088 T34_.operand = ((NI32) (T36_));
5089 T34_.typeId_0 = storeTypeLater__icZic_2722((*n).typ, c, m);
5090 T34_.info = info;
5091 unsureAsgnRef((void**) (&(*ir).nodes), (tySequence__29bS0n2QNyO1R7e0qMMOvLA*) incrSeqV3((TGenericSeq*)((*ir).nodes), (&NTIseqLpackednodeT__29bS0n2QNyO1R7e0qMMOvLA_)));
5092 T37_ = (*ir).nodes->Sup.len++;
5093 (*ir).nodes->data[T37_] = T34_;
5094 }
5095 break;
5096 default:
5097 {
5098 NI patchPos;
5099 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ T39_;
5100 T39_ = storeTypeLater__icZic_2722((*n).typ, c, m);
5101 patchPos = prepare__icZpacked95ast_243(ir, (*n).kind, (*n).flags, T39_, info);
5102 {
5103 NI i;
5104 NI colontmp_;
5105 NI i_2;
5106 i = (NI)0;
5107 colontmp_ = (NI)0;
5108 colontmp_ = len__ast_3198(n);
5109 i_2 = ((NI) 0);
5110 {
5111 while (1) {
5112 if (!(i_2 < colontmp_)) goto LA42;
5113 i = i_2;
5114 toPackedNode__icZic_2426((*n)._kind_6.sons->data[i], ir, c, m);
5115 i_2 += ((NI) 1);
5116 } LA42: ;
5117 }
5118 }
5119 patch__icZpacked95ast_278(ir, patchPos);
5120 }
5121 break;
5122 }
5123 }BeforeRet_: ;
5124 }
N_INLINE(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ,safeItemId__icZic_2579)5125 static N_INLINE(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ, safeItemId__icZic_2579)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m) {
5126 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ result;
5127 nimZeroMem((void*)(&result), sizeof(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ));
5128 {
5129 NIM_BOOL T3_;
5130 T3_ = (NIM_BOOL)0;
5131 T3_ = (s == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL));
5132 if (T3_) goto LA4_;
5133 T3_ = ((*s).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 24));
5134 LA4_: ;
5135 if (!T3_) goto LA5_;
5136 result = nilItemId__icZpacked95ast_14;
5137 }
5138 goto LA1_;
5139 LA5_: ;
5140 {
5141 nimZeroMem((void*)(&result), sizeof(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ));
5142 result.module = toLitId__icZic_519((*s).Sup.itemId.module, c, m);
5143 result.item = (*s).Sup.itemId.item;
5144 }
5145 LA1_: ;
5146 return result;
5147 }
N_NIMCALL(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ,storeType__icZic_2435)5148 N_LIB_PRIVATE N_NIMCALL(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ, storeType__icZic_2435)(tyObject_TType__facALICuu8zUj0hjvbTLFg* t, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m) {
5149 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ result;
5150 { nimZeroMem((void*)(&result), sizeof(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ));
5151 {
5152 if (!(t == 0)) goto LA3_;
5153 result = nilItemId__icZpacked95ast_14;
5154 goto BeforeRet_;
5155 }
5156 LA3_: ;
5157 nimZeroMem((void*)(&result), sizeof(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ));
5158 result.module = toLitId__icZic_519((*t).uniqueId.module, c, m);
5159 result.item = (*t).uniqueId.item;
5160 {
5161 NIM_BOOL T7_;
5162 NIM_BOOL T9_;
5163 tyObject_PackedType__IhXsK7mrwumUBtEqbZ2BqA p;
5164 NI32 nodeIdX60gensym98_;
5165 T7_ = (NIM_BOOL)0;
5166 T7_ = ((*t).uniqueId.module == (*c).thisModule);
5167 if (!(T7_)) goto LA8_;
5168 T9_ = (NIM_BOOL)0;
5169 T9_ = containsOrIncl__astalgo_402((&(*c).typeMarker), ((NI) ((*t).uniqueId.item)));
5170 T7_ = !(T9_);
5171 LA8_: ;
5172 if (!T7_) goto LA10_;
5173 {
5174 NI T14_;
5175 T14_ = ((*m).types ? (*m).types->Sup.len : 0);
5176 if (!(T14_ <= ((NI) ((*t).uniqueId.item)))) goto LA15_;
5177 unsureAsgnRef((void**) (&(*m).types), (tySequence__t8Uv4lEJ4lkuECvP9c6JMhA*) setLengthSeqV2(&((*m).types)->Sup, (&NTIseqLpackedtypeT__t8Uv4lEJ4lkuECvP9c6JMhA_), ((NI) ((NI32)((*t).uniqueId.item + ((NI32) 1))))));
5178 }
5179 LA15_: ;
5180 nimZeroMem((void*)(&p), sizeof(tyObject_PackedType__IhXsK7mrwumUBtEqbZ2BqA));
5181 nimZeroMem((void*)(&p), sizeof(tyObject_PackedType__IhXsK7mrwumUBtEqbZ2BqA));
5182 p.kind = (*t).kind;
5183 p.flags = (*t).flags;
5184 p.callConv = (*t).callConv;
5185 p.size = (*t).size;
5186 p.align = (*t).align;
5187 p.nonUniqueId = (*t).Sup.itemId.item;
5188 p.paddingAtEnd = (*t).paddingAtEnd;
5189 p.lockLevel = (*t).lockLevel;
5190 nodeIdX60gensym98_ = (NI32)0;
5191 {
5192 if (!!(((*t).n == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)))) goto LA19_;
5193 nodeIdX60gensym98_ = getNodeId__icZpacked95ast_579((*m).bodies);
5194 toPackedNode__icZic_2426((*t).n, (&(*m).bodies), c, m);
5195 }
5196 goto LA17_;
5197 LA19_: ;
5198 {
5199 nodeIdX60gensym98_ = ((NI32) -1);
5200 }
5201 LA17_: ;
5202 p.n = nodeIdX60gensym98_;
5203 p.typeInst = storeType__icZic_2435((*t).typeInst, c, m);
5204 {
5205 tyObject_TType__facALICuu8zUj0hjvbTLFg** kid;
5206 NI i;
5207 NI L;
5208 NI T23_;
5209 kid = (tyObject_TType__facALICuu8zUj0hjvbTLFg**)0;
5210 i = ((NI) 0);
5211 T23_ = ((*t).sons ? (*t).sons->Sup.len : 0);
5212 L = T23_;
5213 {
5214 while (1) {
5215 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ T26_;
5216 NI T27_;
5217 if (!(i < L)) goto LA25;
5218 kid = &(*t).sons->data[i];
5219 T26_ = storeType__icZic_2435((*kid), c, m);
5220 p.types = (tySequence__vC9cvg0R8tfBaOXXi3sfMzw*) incrSeqV3((TGenericSeq*)(p.types), (&NTIseqLpackeditemidT__vC9cvg0R8tfBaOXXi3sfMzw_));
5221 T27_ = p.types->Sup.len++;
5222 p.types->data[T27_] = T26_;
5223 i += ((NI) 1);
5224 } LA25: ;
5225 }
5226 }
5227 addMissing__icZic_2595(c, (*t).sym);
5228 p.sym = safeItemId__icZic_2579((*t).sym, c, m);
5229 addMissing__icZic_2595(c, (*t).owner);
5230 p.owner = safeItemId__icZic_2579((*t).owner, c, m);
5231 genericAssign((void*)(&(*m).types->data[(*t).uniqueId.item]), (void*)(&p), (&NTIpackedtype__IhXsK7mrwumUBtEqbZ2BqA_));
5232 }
5233 LA10_: ;
5234 }BeforeRet_: ;
5235 return result;
5236 }
N_INLINE(tyObject_TType__facALICuu8zUj0hjvbTLFg *,pop__icZic_2445)5237 static N_INLINE(tyObject_TType__facALICuu8zUj0hjvbTLFg*, pop__icZic_2445)(tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A** s) {
5238 tyObject_TType__facALICuu8zUj0hjvbTLFg* result;
5239 NI L;
5240 NI T1_;
5241 result = NIM_NIL;
5242 T1_ = ((*s) ? (*s)->Sup.len : 0);
5243 L = (NI)(T1_ - ((NI) 1));
5244 result = (*s)->data[L];
5245 unsureAsgnRef((void**) (&(*s)), (tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A*) setLengthSeqV2(&((*s))->Sup, (&NTIttypeseq__9aZVGG5Gtti9cC9bqRpXCtA3A_), ((NI) (L))));
5246 return result;
5247 }
N_NIMCALL(NU32,toLitId__icZic_2472)5248 N_LIB_PRIVATE N_NIMCALL(NU32, toLitId__icZic_2472)(NimStringDesc* x, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m) {
5249 NU32 result;
5250 result = (NU32)0;
5251 result = getOrIncl__icZic_924((&(*m).strings), x);
5252 return result;
5253 }
N_NIMCALL(tyObject_PackedLib__oa01YzfeXO9bbIDH9cIki4Hw,toPackedLib__icZic_2824)5254 N_LIB_PRIVATE N_NIMCALL(tyObject_PackedLib__oa01YzfeXO9bbIDH9cIki4Hw, toPackedLib__icZic_2824)(tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA* l, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m) {
5255 tyObject_PackedLib__oa01YzfeXO9bbIDH9cIki4Hw result;
5256 NimStringDesc* T5_;
5257 NI32 nodeIdX60gensym102_;
5258 { nimZeroMem((void*)(&result), sizeof(tyObject_PackedLib__oa01YzfeXO9bbIDH9cIki4Hw));
5259 {
5260 if (!(l == 0)) goto LA3_;
5261 goto BeforeRet_;
5262 }
5263 LA3_: ;
5264 result.kind = (*l).kind;
5265 result.generated = (*l).generated;
5266 result.isOverriden = (*l).isOverriden;
5267 T5_ = NIM_NIL;
5268 T5_ = dollar___ropes_250((*l).name);
5269 result.name = toLitId__icZic_2472(T5_, m);
5270 nodeIdX60gensym102_ = (NI32)0;
5271 {
5272 if (!!(((*l).path == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)))) goto LA8_;
5273 nodeIdX60gensym102_ = getNodeId__icZpacked95ast_579((*m).bodies);
5274 toPackedNode__icZic_2426((*l).path, (&(*m).bodies), c, m);
5275 }
5276 goto LA6_;
5277 LA8_: ;
5278 {
5279 nodeIdX60gensym102_ = ((NI32) -1);
5280 }
5281 LA6_: ;
5282 result.path = nodeIdX60gensym102_;
5283 }BeforeRet_: ;
5284 return result;
5285 }
N_NIMCALL(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ,storeSym__icZic_2431)5286 N_LIB_PRIVATE N_NIMCALL(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ, storeSym__icZic_2431)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m) {
5287 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ result;
5288 { nimZeroMem((void*)(&result), sizeof(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ));
5289 {
5290 if (!(s == 0)) goto LA3_;
5291 result = nilItemId__icZpacked95ast_14;
5292 goto BeforeRet_;
5293 }
5294 LA3_: ;
5295 nimZeroMem((void*)(&result), sizeof(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ));
5296 result.module = toLitId__icZic_519((*s).Sup.itemId.module, c, m);
5297 result.item = (*s).Sup.itemId.item;
5298 {
5299 NIM_BOOL T7_;
5300 NIM_BOOL T9_;
5301 tyObject_PackedSym__XjVn21MwvH8ij6CfopYZWw p;
5302 NI32 nodeIdX60gensym111_;
5303 NI32 nodeIdX60gensym113_;
5304 NimStringDesc* T31_;
5305 T7_ = (NIM_BOOL)0;
5306 T7_ = ((*s).Sup.itemId.module == (*c).thisModule);
5307 if (!(T7_)) goto LA8_;
5308 T9_ = (NIM_BOOL)0;
5309 T9_ = containsOrIncl__astalgo_402((&(*c).symMarker), ((NI) ((*s).Sup.itemId.item)));
5310 T7_ = !(T9_);
5311 LA8_: ;
5312 if (!T7_) goto LA10_;
5313 {
5314 NI T14_;
5315 T14_ = ((*m).syms ? (*m).syms->Sup.len : 0);
5316 if (!(T14_ <= ((NI) ((*s).Sup.itemId.item)))) goto LA15_;
5317 unsureAsgnRef((void**) (&(*m).syms), (tySequence__DfmUmNgVGnYaiV1I6227tw*) setLengthSeqV2(&((*m).syms)->Sup, (&NTIseqLpackedsymT__DfmUmNgVGnYaiV1I6227tw_), ((NI) ((NI32)((*s).Sup.itemId.item + ((NI32) 1))))));
5318 }
5319 LA15_: ;
5320 nimZeroMem((void*)(&p), sizeof(tyObject_PackedSym__XjVn21MwvH8ij6CfopYZWw));
5321 nimZeroMem((void*)(&p), sizeof(tyObject_PackedSym__XjVn21MwvH8ij6CfopYZWw));
5322 p.kind = (*s).kind;
5323 p.flags = (*s).flags;
5324 p.info = toPackedInfo__icZic_2574((*s).info, c, m);
5325 p.magic = (*s).magic;
5326 p.position = (*s).position;
5327 p.offset = (*s).offset;
5328 p.options = (*s).options;
5329 p.name = toLitId__icZic_2472((*(*s).name).s, m);
5330 nodeIdX60gensym111_ = (NI32)0;
5331 {
5332 if (!!(((*s).ast == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)))) goto LA19_;
5333 nodeIdX60gensym111_ = getNodeId__icZpacked95ast_579((*m).bodies);
5334 toPackedNode__icZic_2426((*s).ast, (&(*m).bodies), c, m);
5335 }
5336 goto LA17_;
5337 LA19_: ;
5338 {
5339 nodeIdX60gensym111_ = ((NI32) -1);
5340 }
5341 LA17_: ;
5342 p.ast = nodeIdX60gensym111_;
5343 nodeIdX60gensym113_ = (NI32)0;
5344 {
5345 if (!!(((*s).constraint == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)))) goto LA24_;
5346 nodeIdX60gensym113_ = getNodeId__icZpacked95ast_579((*m).bodies);
5347 toPackedNode__icZic_2426((*s).constraint, (&(*m).bodies), c, m);
5348 }
5349 goto LA22_;
5350 LA24_: ;
5351 {
5352 nodeIdX60gensym113_ = ((NI32) -1);
5353 }
5354 LA22_: ;
5355 p.constraint = nodeIdX60gensym113_;
5356 {
5357 if (!((2622208 &((NU32)1<<((NU)((*s).kind)&31U)))!=0)) goto LA29_;
5358 addMissing__icZic_2595(c, (*s)._kind_2.guard);
5359 p.guard = safeItemId__icZic_2579((*s)._kind_2.guard, c, m);
5360 p.bitsize = (*s)._kind_2.bitsize;
5361 p.alignment = (*s)._kind_2.alignment;
5362 }
5363 LA29_: ;
5364 T31_ = NIM_NIL;
5365 {
5366 if (!((*s).loc.r == 0)) goto LA34_;
5367 T31_ = ((NimStringDesc*) NIM_NIL);
5368 }
5369 goto LA32_;
5370 LA34_: ;
5371 {
5372 T31_ = dollar___ropes_250((*s).loc.r);
5373 }
5374 LA32_: ;
5375 p.externalName = toLitId__icZic_2472(T31_, m);
5376 p.locFlags = (*s).loc.flags;
5377 addMissing__icZic_2660(c, (*s).typ);
5378 p.typ = storeType__icZic_2435((*s).typ, c, m);
5379 addMissing__icZic_2595(c, (*s).owner);
5380 p.owner = safeItemId__icZic_2579((*s).owner, c, m);
5381 p.annex = toPackedLib__icZic_2824((*s).annex, c, m);
5382 (*m).syms->data[(*s).Sup.itemId.item] = p;
5383 }
5384 LA10_: ;
5385 }BeforeRet_: ;
5386 return result;
5387 }
N_INLINE(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,pop__icZic_2460)5388 static N_INLINE(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, pop__icZic_2460)(tySequence__eHqUwlHGGaPw0TDPDeL79cQ** s) {
5389 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
5390 NI L;
5391 NI T1_;
5392 result = NIM_NIL;
5393 T1_ = ((*s) ? (*s)->Sup.len : 0);
5394 L = (NI)(T1_ - ((NI) 1));
5395 result = (*s)->data[L];
5396 unsureAsgnRef((void**) (&(*s)), (tySequence__eHqUwlHGGaPw0TDPDeL79cQ*) setLengthSeqV2(&((*s))->Sup, (&NTIseqLpsymT__eHqUwlHGGaPw0TDPDeL79cQ_), ((NI) (L))));
5397 return result;
5398 }
N_NIMCALL(void,flush__icZic_2439)5399 N_LIB_PRIVATE N_NIMCALL(void, flush__icZic_2439)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m) {
5400 {
5401 while (1) {
5402 {
5403 NI T5_;
5404 tyObject_TType__facALICuu8zUj0hjvbTLFg* T8_;
5405 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ T9_;
5406 T5_ = ((*c).pendingTypes ? (*c).pendingTypes->Sup.len : 0);
5407 if (!(((NI) 0) < T5_)) goto LA6_;
5408 T8_ = NIM_NIL;
5409 T8_ = pop__icZic_2445((&(*c).pendingTypes));
5410 T9_ = storeType__icZic_2435(T8_, c, m);
5411 (void)(T9_);
5412 }
5413 goto LA3_;
5414 LA6_: ;
5415 {
5416 NI T11_;
5417 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T14_;
5418 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ T15_;
5419 T11_ = ((*c).pendingSyms ? (*c).pendingSyms->Sup.len : 0);
5420 if (!(((NI) 0) < T11_)) goto LA12_;
5421 T14_ = NIM_NIL;
5422 T14_ = pop__icZic_2460((&(*c).pendingSyms));
5423 T15_ = storeSym__icZic_2431(T14_, c, m);
5424 (void)(T15_);
5425 }
5426 goto LA3_;
5427 LA12_: ;
5428 {
5429 goto LA1;
5430 }
5431 LA3_: ;
5432 }
5433 } LA1: ;
5434 }
N_NIMCALL(void,storePrim__icZic_4384)5435 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4384)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw x) {
5436 { {
5437 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
5438 goto BeforeRet_;
5439 }
5440 LA3_: ;
5441 {
5442 NI T7_;
5443 T7_ = (NI)0;
5444 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&x))), ((NI) 8));
5445 if (!!((T7_ == ((NI) 8)))) goto LA8_;
5446 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
5447 }
5448 LA8_: ;
5449 }BeforeRet_: ;
5450 }
N_NIMCALL(void,storePrim__icZic_4401)5451 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4401)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedConfig__McwvRupqDAJbGrinIDFZJQ x) {
5452 { {
5453 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
5454 goto BeforeRet_;
5455 }
5456 LA3_: ;
5457 {
5458 NI T7_;
5459 T7_ = (NI)0;
5460 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&x))), ((NI) 16));
5461 if (!!((T7_ == ((NI) 16)))) goto LA8_;
5462 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
5463 }
5464 LA8_: ;
5465 }BeforeRet_: ;
5466 }
N_NIMCALL(void,storeSeq__icZic_4430)5467 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4430)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__sM4lkSb7zS6F7OVMvW9cffQ* s) {
5468 NI32 lenPrefix;
5469 NI T10_;
5470 { {
5471 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
5472 goto BeforeRet_;
5473 }
5474 LA3_: ;
5475 {
5476 NI T7_;
5477 T7_ = (s ? s->Sup.len : 0);
5478 if (!(((NI) 2147483647) <= T7_)) goto LA8_;
5479 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 1));
5480 goto BeforeRet_;
5481 }
5482 LA8_: ;
5483 T10_ = (s ? s->Sup.len : 0);
5484 lenPrefix = ((NI32) (T10_));
5485 {
5486 NI T13_;
5487 T13_ = (NI)0;
5488 T13_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
5489 if (!!((T13_ == ((NI) 4)))) goto LA14_;
5490 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
5491 }
5492 goto LA11_;
5493 LA14_: ;
5494 {
5495 {
5496 NI i;
5497 NI colontmp_;
5498 NI T18_;
5499 NI i_2;
5500 i = (NI)0;
5501 colontmp_ = (NI)0;
5502 T18_ = (s ? s->Sup.len : 0);
5503 colontmp_ = T18_;
5504 i_2 = ((NI) 0);
5505 {
5506 while (1) {
5507 if (!(i_2 < colontmp_)) goto LA20;
5508 i = i_2;
5509 storePrim__icZrodfiles_64(f, s->data[i]);
5510 i_2 += ((NI) 1);
5511 } LA20: ;
5512 }
5513 }
5514 }
5515 LA11_: ;
5516 }BeforeRet_: ;
5517 }
N_NIMCALL(void,storePrim__icZic_4496)5518 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4496)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NU32 x) {
5519 { {
5520 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
5521 goto BeforeRet_;
5522 }
5523 LA3_: ;
5524 {
5525 NI T7_;
5526 T7_ = (NI)0;
5527 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&x))), ((NI) 4));
5528 if (!!((T7_ == ((NI) 4)))) goto LA8_;
5529 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
5530 }
5531 LA8_: ;
5532 }BeforeRet_: ;
5533 }
N_NIMCALL(void,storeSeq__icZic_4463)5534 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4463)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__9bAGqSvkAaFL9bWjsEPslrFA* s) {
5535 NI32 lenPrefix;
5536 NI T10_;
5537 { {
5538 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
5539 goto BeforeRet_;
5540 }
5541 LA3_: ;
5542 {
5543 NI T7_;
5544 T7_ = (s ? s->Sup.len : 0);
5545 if (!(((NI) 2147483647) <= T7_)) goto LA8_;
5546 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 1));
5547 goto BeforeRet_;
5548 }
5549 LA8_: ;
5550 T10_ = (s ? s->Sup.len : 0);
5551 lenPrefix = ((NI32) (T10_));
5552 {
5553 NI T13_;
5554 T13_ = (NI)0;
5555 T13_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
5556 if (!!((T13_ == ((NI) 4)))) goto LA14_;
5557 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
5558 }
5559 goto LA11_;
5560 LA14_: ;
5561 {
5562 {
5563 NI i;
5564 NI colontmp_;
5565 NI T18_;
5566 NI i_2;
5567 i = (NI)0;
5568 colontmp_ = (NI)0;
5569 T18_ = (s ? s->Sup.len : 0);
5570 colontmp_ = T18_;
5571 i_2 = ((NI) 0);
5572 {
5573 while (1) {
5574 if (!(i_2 < colontmp_)) goto LA20;
5575 i = i_2;
5576 storePrim__icZic_4496(f, s->data[i]);
5577 i_2 += ((NI) 1);
5578 } LA20: ;
5579 }
5580 }
5581 }
5582 LA11_: ;
5583 }BeforeRet_: ;
5584 }
N_NIMCALL(void,store__icZic_4426)5585 N_LIB_PRIVATE N_NIMCALL(void, store__icZic_4426)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg t) {
5586 storeSeq__icZic_4430(f, t.vals);
5587 storeSeq__icZic_4463(f, t.keys);
5588 }
N_NIMCALL(void,storePrim__icZic_4546)5589 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4546)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__0q9cmhneJEKnQERTpXXdz6Q x) {
5590 { {
5591 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
5592 goto BeforeRet_;
5593 }
5594 LA3_: ;
5595 storePrim__icZic_4496(f, x.Field0);
5596 storePrim__icZrodfiles_64(f, x.Field1);
5597 }BeforeRet_: ;
5598 }
N_NIMCALL(void,storeSeq__icZic_4513)5599 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4513)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__PXIzfWocnrafGz5p3CP5LA* s) {
5600 NI32 lenPrefix;
5601 NI T10_;
5602 { {
5603 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
5604 goto BeforeRet_;
5605 }
5606 LA3_: ;
5607 {
5608 NI T7_;
5609 T7_ = (s ? s->Sup.len : 0);
5610 if (!(((NI) 2147483647) <= T7_)) goto LA8_;
5611 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 1));
5612 goto BeforeRet_;
5613 }
5614 LA8_: ;
5615 T10_ = (s ? s->Sup.len : 0);
5616 lenPrefix = ((NI32) (T10_));
5617 {
5618 NI T13_;
5619 T13_ = (NI)0;
5620 T13_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
5621 if (!!((T13_ == ((NI) 4)))) goto LA14_;
5622 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
5623 }
5624 goto LA11_;
5625 LA14_: ;
5626 {
5627 {
5628 NI i;
5629 NI colontmp_;
5630 NI T18_;
5631 NI i_2;
5632 i = (NI)0;
5633 colontmp_ = (NI)0;
5634 T18_ = (s ? s->Sup.len : 0);
5635 colontmp_ = T18_;
5636 i_2 = ((NI) 0);
5637 {
5638 while (1) {
5639 if (!(i_2 < colontmp_)) goto LA20;
5640 i = i_2;
5641 storePrim__icZic_4546(f, s->data[i]);
5642 i_2 += ((NI) 1);
5643 } LA20: ;
5644 }
5645 }
5646 }
5647 LA11_: ;
5648 }BeforeRet_: ;
5649 }
N_NIMCALL(void,storePrim__icZic_4608)5650 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4608)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NI64 x) {
5651 { {
5652 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
5653 goto BeforeRet_;
5654 }
5655 LA3_: ;
5656 {
5657 NI T7_;
5658 T7_ = (NI)0;
5659 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&x))), ((NI) 8));
5660 if (!!((T7_ == ((NI) 8)))) goto LA8_;
5661 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
5662 }
5663 LA8_: ;
5664 }BeforeRet_: ;
5665 }
N_NIMCALL(void,storeSeq__icZic_4575)5666 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4575)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__IHUFRsFxZNv7YydiUO2esQ* s) {
5667 NI32 lenPrefix;
5668 NI T10_;
5669 { {
5670 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
5671 goto BeforeRet_;
5672 }
5673 LA3_: ;
5674 {
5675 NI T7_;
5676 T7_ = (s ? s->Sup.len : 0);
5677 if (!(((NI) 2147483647) <= T7_)) goto LA8_;
5678 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 1));
5679 goto BeforeRet_;
5680 }
5681 LA8_: ;
5682 T10_ = (s ? s->Sup.len : 0);
5683 lenPrefix = ((NI32) (T10_));
5684 {
5685 NI T13_;
5686 T13_ = (NI)0;
5687 T13_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
5688 if (!!((T13_ == ((NI) 4)))) goto LA14_;
5689 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
5690 }
5691 goto LA11_;
5692 LA14_: ;
5693 {
5694 {
5695 NI i;
5696 NI colontmp_;
5697 NI T18_;
5698 NI i_2;
5699 i = (NI)0;
5700 colontmp_ = (NI)0;
5701 T18_ = (s ? s->Sup.len : 0);
5702 colontmp_ = T18_;
5703 i_2 = ((NI) 0);
5704 {
5705 while (1) {
5706 if (!(i_2 < colontmp_)) goto LA20;
5707 i = i_2;
5708 storePrim__icZic_4608(f, s->data[i]);
5709 i_2 += ((NI) 1);
5710 } LA20: ;
5711 }
5712 }
5713 }
5714 LA11_: ;
5715 }BeforeRet_: ;
5716 }
N_NIMCALL(void,store__icZic_4571)5717 N_LIB_PRIVATE N_NIMCALL(void, store__icZic_4571)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_BiTable__DyMEQOe8VsqcG49bIhU69bBQ t) {
5718 storeSeq__icZic_4575(f, t.vals);
5719 storeSeq__icZic_4463(f, t.keys);
5720 }
N_NIMCALL(void,storePrim__icZic_4663)5721 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4663)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ x) {
5722 { {
5723 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
5724 goto BeforeRet_;
5725 }
5726 LA3_: ;
5727 {
5728 NI T7_;
5729 T7_ = (NI)0;
5730 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&x))), ((NI) 8));
5731 if (!!((T7_ == ((NI) 8)))) goto LA8_;
5732 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
5733 }
5734 LA8_: ;
5735 }BeforeRet_: ;
5736 }
N_NIMCALL(void,storeSeq__icZic_4629)5737 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4629)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__b89aLriiJnVTD186H6zNIgg* s) {
5738 NI32 lenPrefix;
5739 NI T10_;
5740 { {
5741 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
5742 goto BeforeRet_;
5743 }
5744 LA3_: ;
5745 {
5746 NI T7_;
5747 T7_ = (s ? s->Sup.len : 0);
5748 if (!(((NI) 2147483647) <= T7_)) goto LA8_;
5749 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 1));
5750 goto BeforeRet_;
5751 }
5752 LA8_: ;
5753 T10_ = (s ? s->Sup.len : 0);
5754 lenPrefix = ((NI32) (T10_));
5755 {
5756 NI T13_;
5757 T13_ = (NI)0;
5758 T13_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
5759 if (!!((T13_ == ((NI) 4)))) goto LA14_;
5760 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
5761 }
5762 goto LA11_;
5763 LA14_: ;
5764 {
5765 {
5766 NI i;
5767 NI colontmp_;
5768 NI T18_;
5769 NI i_2;
5770 i = (NI)0;
5771 colontmp_ = (NI)0;
5772 T18_ = (s ? s->Sup.len : 0);
5773 colontmp_ = T18_;
5774 i_2 = ((NI) 0);
5775 {
5776 while (1) {
5777 if (!(i_2 < colontmp_)) goto LA20;
5778 i = i_2;
5779 storePrim__icZic_4663(f, s->data[i]);
5780 i_2 += ((NI) 1);
5781 } LA20: ;
5782 }
5783 }
5784 }
5785 LA11_: ;
5786 }BeforeRet_: ;
5787 }
N_NIMCALL(void,storePrim__icZic_4718)5788 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4718)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__Q7r9caOmeWqQGZCIBHhGRUA x) {
5789 { {
5790 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
5791 goto BeforeRet_;
5792 }
5793 LA3_: ;
5794 {
5795 NI T7_;
5796 T7_ = (NI)0;
5797 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&x))), ((NI) 12));
5798 if (!!((T7_ == ((NI) 12)))) goto LA8_;
5799 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
5800 }
5801 LA8_: ;
5802 }BeforeRet_: ;
5803 }
N_NIMCALL(void,storeSeq__icZic_4684)5804 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4684)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__REuPuHuSlOkZ0Q5oqzDrQg* s) {
5805 NI32 lenPrefix;
5806 NI T10_;
5807 { {
5808 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
5809 goto BeforeRet_;
5810 }
5811 LA3_: ;
5812 {
5813 NI T7_;
5814 T7_ = (s ? s->Sup.len : 0);
5815 if (!(((NI) 2147483647) <= T7_)) goto LA8_;
5816 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 1));
5817 goto BeforeRet_;
5818 }
5819 LA8_: ;
5820 T10_ = (s ? s->Sup.len : 0);
5821 lenPrefix = ((NI32) (T10_));
5822 {
5823 NI T13_;
5824 T13_ = (NI)0;
5825 T13_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
5826 if (!!((T13_ == ((NI) 4)))) goto LA14_;
5827 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
5828 }
5829 goto LA11_;
5830 LA14_: ;
5831 {
5832 {
5833 NI i;
5834 NI colontmp_;
5835 NI T18_;
5836 NI i_2;
5837 i = (NI)0;
5838 colontmp_ = (NI)0;
5839 T18_ = (s ? s->Sup.len : 0);
5840 colontmp_ = T18_;
5841 i_2 = ((NI) 0);
5842 {
5843 while (1) {
5844 if (!(i_2 < colontmp_)) goto LA20;
5845 i = i_2;
5846 storePrim__icZic_4718(f, s->data[i]);
5847 i_2 += ((NI) 1);
5848 } LA20: ;
5849 }
5850 }
5851 }
5852 LA11_: ;
5853 }BeforeRet_: ;
5854 }
N_NIMCALL(void,storePrim__icZic_4773)5855 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4773)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NI32 x) {
5856 { {
5857 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
5858 goto BeforeRet_;
5859 }
5860 LA3_: ;
5861 {
5862 NI T7_;
5863 T7_ = (NI)0;
5864 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&x))), ((NI) 4));
5865 if (!!((T7_ == ((NI) 4)))) goto LA8_;
5866 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
5867 }
5868 LA8_: ;
5869 }BeforeRet_: ;
5870 }
N_NIMCALL(void,storeSeq__icZic_4739)5871 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4739)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__48JTohSgTy339bRxHzUD8KA* s) {
5872 NI32 lenPrefix;
5873 NI T10_;
5874 { {
5875 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
5876 goto BeforeRet_;
5877 }
5878 LA3_: ;
5879 {
5880 NI T7_;
5881 T7_ = (s ? s->Sup.len : 0);
5882 if (!(((NI) 2147483647) <= T7_)) goto LA8_;
5883 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 1));
5884 goto BeforeRet_;
5885 }
5886 LA8_: ;
5887 T10_ = (s ? s->Sup.len : 0);
5888 lenPrefix = ((NI32) (T10_));
5889 {
5890 NI T13_;
5891 T13_ = (NI)0;
5892 T13_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
5893 if (!!((T13_ == ((NI) 4)))) goto LA14_;
5894 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
5895 }
5896 goto LA11_;
5897 LA14_: ;
5898 {
5899 {
5900 NI i;
5901 NI colontmp_;
5902 NI T18_;
5903 NI i_2;
5904 i = (NI)0;
5905 colontmp_ = (NI)0;
5906 T18_ = (s ? s->Sup.len : 0);
5907 colontmp_ = T18_;
5908 i_2 = ((NI) 0);
5909 {
5910 while (1) {
5911 if (!(i_2 < colontmp_)) goto LA20;
5912 i = i_2;
5913 storePrim__icZic_4773(f, s->data[i]);
5914 i_2 += ((NI) 1);
5915 } LA20: ;
5916 }
5917 }
5918 }
5919 LA11_: ;
5920 }BeforeRet_: ;
5921 }
N_NIMCALL(void,storePrim__icZic_4836)5922 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4836)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__7Wlwbz8zSe7Udyf7mmsd9cg x) {
5923 { {
5924 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
5925 goto BeforeRet_;
5926 }
5927 LA3_: ;
5928 {
5929 NI T7_;
5930 T7_ = (NI)0;
5931 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&x))), ((NI) 16));
5932 if (!!((T7_ == ((NI) 16)))) goto LA8_;
5933 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
5934 }
5935 LA8_: ;
5936 }BeforeRet_: ;
5937 }
N_NIMCALL(void,storeSeq__icZic_4802)5938 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4802)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__I9aQmO9asXXWJ58UI9c8BCSzA* s) {
5939 NI32 lenPrefix;
5940 NI T10_;
5941 { {
5942 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
5943 goto BeforeRet_;
5944 }
5945 LA3_: ;
5946 {
5947 NI T7_;
5948 T7_ = (s ? s->Sup.len : 0);
5949 if (!(((NI) 2147483647) <= T7_)) goto LA8_;
5950 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 1));
5951 goto BeforeRet_;
5952 }
5953 LA8_: ;
5954 T10_ = (s ? s->Sup.len : 0);
5955 lenPrefix = ((NI32) (T10_));
5956 {
5957 NI T13_;
5958 T13_ = (NI)0;
5959 T13_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
5960 if (!!((T13_ == ((NI) 4)))) goto LA14_;
5961 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
5962 }
5963 goto LA11_;
5964 LA14_: ;
5965 {
5966 {
5967 NI i;
5968 NI colontmp_;
5969 NI T18_;
5970 NI i_2;
5971 i = (NI)0;
5972 colontmp_ = (NI)0;
5973 T18_ = (s ? s->Sup.len : 0);
5974 colontmp_ = T18_;
5975 i_2 = ((NI) 0);
5976 {
5977 while (1) {
5978 if (!(i_2 < colontmp_)) goto LA20;
5979 i = i_2;
5980 storePrim__icZic_4836(f, s->data[i]);
5981 i_2 += ((NI) 1);
5982 } LA20: ;
5983 }
5984 }
5985 }
5986 LA11_: ;
5987 }BeforeRet_: ;
5988 }
N_NIMCALL(void,storePrim__icZic_4886)5989 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4886)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow* x) {
5990 { {
5991 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
5992 goto BeforeRet_;
5993 }
5994 LA3_: ;
5995 {
5996 NI T7_;
5997 T7_ = (NI)0;
5998 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) (x)), ((NI) 28));
5999 if (!!((T7_ == ((NI) 28)))) goto LA8_;
6000 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6001 }
6002 LA8_: ;
6003 }BeforeRet_: ;
6004 }
N_NIMCALL(void,storeSeq__icZic_4853)6005 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4853)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__29bS0n2QNyO1R7e0qMMOvLA* s) {
6006 NI32 lenPrefix;
6007 NI T10_;
6008 { {
6009 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6010 goto BeforeRet_;
6011 }
6012 LA3_: ;
6013 {
6014 NI T7_;
6015 T7_ = (s ? s->Sup.len : 0);
6016 if (!(((NI) 2147483647) <= T7_)) goto LA8_;
6017 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 1));
6018 goto BeforeRet_;
6019 }
6020 LA8_: ;
6021 T10_ = (s ? s->Sup.len : 0);
6022 lenPrefix = ((NI32) (T10_));
6023 {
6024 NI T13_;
6025 T13_ = (NI)0;
6026 T13_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
6027 if (!!((T13_ == ((NI) 4)))) goto LA14_;
6028 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6029 }
6030 goto LA11_;
6031 LA14_: ;
6032 {
6033 {
6034 NI i;
6035 NI colontmp_;
6036 NI T18_;
6037 NI i_2;
6038 i = (NI)0;
6039 colontmp_ = (NI)0;
6040 T18_ = (s ? s->Sup.len : 0);
6041 colontmp_ = T18_;
6042 i_2 = ((NI) 0);
6043 {
6044 while (1) {
6045 if (!(i_2 < colontmp_)) goto LA20;
6046 i = i_2;
6047 storePrim__icZic_4886(f, (&s->data[i]));
6048 i_2 += ((NI) 1);
6049 } LA20: ;
6050 }
6051 }
6052 }
6053 LA11_: ;
6054 }BeforeRet_: ;
6055 }
N_NIMCALL(void,storePrim__icZic_4944)6056 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4944)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedSym__XjVn21MwvH8ij6CfopYZWw* x) {
6057 { {
6058 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6059 goto BeforeRet_;
6060 }
6061 LA3_: ;
6062 {
6063 NI T7_;
6064 T7_ = (NI)0;
6065 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) (x)), ((NI) 120));
6066 if (!!((T7_ == ((NI) 120)))) goto LA8_;
6067 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6068 }
6069 LA8_: ;
6070 }BeforeRet_: ;
6071 }
N_NIMCALL(void,storeSeq__icZic_4911)6072 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4911)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__DfmUmNgVGnYaiV1I6227tw* s) {
6073 NI32 lenPrefix;
6074 NI T10_;
6075 { {
6076 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6077 goto BeforeRet_;
6078 }
6079 LA3_: ;
6080 {
6081 NI T7_;
6082 T7_ = (s ? s->Sup.len : 0);
6083 if (!(((NI) 2147483647) <= T7_)) goto LA8_;
6084 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 1));
6085 goto BeforeRet_;
6086 }
6087 LA8_: ;
6088 T10_ = (s ? s->Sup.len : 0);
6089 lenPrefix = ((NI32) (T10_));
6090 {
6091 NI T13_;
6092 T13_ = (NI)0;
6093 T13_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
6094 if (!!((T13_ == ((NI) 4)))) goto LA14_;
6095 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6096 }
6097 goto LA11_;
6098 LA14_: ;
6099 {
6100 {
6101 NI i;
6102 NI colontmp_;
6103 NI T18_;
6104 NI i_2;
6105 i = (NI)0;
6106 colontmp_ = (NI)0;
6107 T18_ = (s ? s->Sup.len : 0);
6108 colontmp_ = T18_;
6109 i_2 = ((NI) 0);
6110 {
6111 while (1) {
6112 if (!(i_2 < colontmp_)) goto LA20;
6113 i = i_2;
6114 storePrim__icZic_4944(f, (&s->data[i]));
6115 i_2 += ((NI) 1);
6116 } LA20: ;
6117 }
6118 }
6119 }
6120 LA11_: ;
6121 }BeforeRet_: ;
6122 }
N_NIMCALL(void,storePrim__icZic_5012)6123 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5012)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag x) {
6124 { {
6125 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6126 goto BeforeRet_;
6127 }
6128 LA3_: ;
6129 {
6130 NI T7_;
6131 T7_ = (NI)0;
6132 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&x))), ((NI) 1));
6133 if (!!((T7_ == ((NI) 1)))) goto LA8_;
6134 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6135 }
6136 LA8_: ;
6137 }BeforeRet_: ;
6138 }
N_NIMCALL(void,storePrim__icZic_5031)6139 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5031)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA x) {
6140 { {
6141 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6142 goto BeforeRet_;
6143 }
6144 LA3_: ;
6145 {
6146 NI T7_;
6147 T7_ = (NI)0;
6148 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&x))), ((NI) 1));
6149 if (!!((T7_ == ((NI) 1)))) goto LA8_;
6150 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6151 }
6152 LA8_: ;
6153 }BeforeRet_: ;
6154 }
N_NIMCALL(void,storePrim__icZic_5050)6155 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5050)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw x) {
6156 { {
6157 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6158 goto BeforeRet_;
6159 }
6160 LA3_: ;
6161 {
6162 NI T7_;
6163 T7_ = (NI)0;
6164 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&x))), ((NI) 8));
6165 if (!!((T7_ == ((NI) 8)))) goto LA8_;
6166 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6167 }
6168 LA8_: ;
6169 }BeforeRet_: ;
6170 }
N_NIMCALL(void,storePrim__icZic_5103)6171 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5103)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ x) {
6172 { {
6173 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6174 goto BeforeRet_;
6175 }
6176 LA3_: ;
6177 {
6178 NI T7_;
6179 T7_ = (NI)0;
6180 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&x))), ((NI) 8));
6181 if (!!((T7_ == ((NI) 8)))) goto LA8_;
6182 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6183 }
6184 LA8_: ;
6185 }BeforeRet_: ;
6186 }
N_NIMCALL(void,storeSeq__icZic_5069)6187 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_5069)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__vC9cvg0R8tfBaOXXi3sfMzw* s) {
6188 NI32 lenPrefix;
6189 NI T10_;
6190 { {
6191 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6192 goto BeforeRet_;
6193 }
6194 LA3_: ;
6195 {
6196 NI T7_;
6197 T7_ = (s ? s->Sup.len : 0);
6198 if (!(((NI) 2147483647) <= T7_)) goto LA8_;
6199 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 1));
6200 goto BeforeRet_;
6201 }
6202 LA8_: ;
6203 T10_ = (s ? s->Sup.len : 0);
6204 lenPrefix = ((NI32) (T10_));
6205 {
6206 NI T13_;
6207 T13_ = (NI)0;
6208 T13_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
6209 if (!!((T13_ == ((NI) 4)))) goto LA14_;
6210 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6211 }
6212 goto LA11_;
6213 LA14_: ;
6214 {
6215 {
6216 NI i;
6217 NI colontmp_;
6218 NI T18_;
6219 NI i_2;
6220 i = (NI)0;
6221 colontmp_ = (NI)0;
6222 T18_ = (s ? s->Sup.len : 0);
6223 colontmp_ = T18_;
6224 i_2 = ((NI) 0);
6225 {
6226 while (1) {
6227 if (!(i_2 < colontmp_)) goto LA20;
6228 i = i_2;
6229 storePrim__icZic_5103(f, s->data[i]);
6230 i_2 += ((NI) 1);
6231 } LA20: ;
6232 }
6233 }
6234 }
6235 LA11_: ;
6236 }BeforeRet_: ;
6237 }
N_NIMCALL(void,storePrim__icZic_5122)6238 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5122)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NI32 x) {
6239 { {
6240 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6241 goto BeforeRet_;
6242 }
6243 LA3_: ;
6244 {
6245 NI T7_;
6246 T7_ = (NI)0;
6247 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&x))), ((NI) 4));
6248 if (!!((T7_ == ((NI) 4)))) goto LA8_;
6249 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6250 }
6251 LA8_: ;
6252 }BeforeRet_: ;
6253 }
N_NIMCALL(void,storePrim__icZic_5159)6254 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5159)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NI16 x) {
6255 { {
6256 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6257 goto BeforeRet_;
6258 }
6259 LA3_: ;
6260 {
6261 NI T7_;
6262 T7_ = (NI)0;
6263 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&x))), ((NI) 2));
6264 if (!!((T7_ == ((NI) 2)))) goto LA8_;
6265 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6266 }
6267 LA8_: ;
6268 }BeforeRet_: ;
6269 }
N_NIMCALL(void,storePrim__icZic_5184)6270 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5184)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, NI16 x) {
6271 { {
6272 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6273 goto BeforeRet_;
6274 }
6275 LA3_: ;
6276 {
6277 NI T7_;
6278 T7_ = (NI)0;
6279 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&x))), ((NI) 2));
6280 if (!!((T7_ == ((NI) 2)))) goto LA8_;
6281 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6282 }
6283 LA8_: ;
6284 }BeforeRet_: ;
6285 }
N_NIMCALL(void,storePrim__icZic_4994)6286 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_4994)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedType__IhXsK7mrwumUBtEqbZ2BqA* x) {
6287 { {
6288 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6289 goto BeforeRet_;
6290 }
6291 LA3_: ;
6292 storePrim__icZic_5012(f, (*x).kind);
6293 storePrim__icZic_5031(f, (*x).callConv);
6294 storePrim__icZic_5050(f, (*x).flags);
6295 storeSeq__icZic_5069(f, (*x).types);
6296 storePrim__icZic_5122(f, (*x).n);
6297 storePrim__icZic_5103(f, (*x).sym);
6298 storePrim__icZic_5103(f, (*x).owner);
6299 storePrim__icZic_4608(f, (*x).size);
6300 storePrim__icZic_5159(f, (*x).align);
6301 storePrim__icZic_5159(f, (*x).paddingAtEnd);
6302 storePrim__icZic_5184(f, (*x).lockLevel);
6303 storePrim__icZic_5103(f, (*x).typeInst);
6304 storePrim__icZic_4773(f, (*x).nonUniqueId);
6305 }BeforeRet_: ;
6306 }
N_NIMCALL(void,storeSeq__icZic_4961)6307 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_4961)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__t8Uv4lEJ4lkuECvP9c6JMhA* s) {
6308 NI32 lenPrefix;
6309 NI T10_;
6310 { {
6311 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6312 goto BeforeRet_;
6313 }
6314 LA3_: ;
6315 {
6316 NI T7_;
6317 T7_ = (s ? s->Sup.len : 0);
6318 if (!(((NI) 2147483647) <= T7_)) goto LA8_;
6319 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 1));
6320 goto BeforeRet_;
6321 }
6322 LA8_: ;
6323 T10_ = (s ? s->Sup.len : 0);
6324 lenPrefix = ((NI32) (T10_));
6325 {
6326 NI T13_;
6327 T13_ = (NI)0;
6328 T13_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
6329 if (!!((T13_ == ((NI) 4)))) goto LA14_;
6330 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6331 }
6332 goto LA11_;
6333 LA14_: ;
6334 {
6335 {
6336 NI i;
6337 NI colontmp_;
6338 NI T18_;
6339 NI i_2;
6340 i = (NI)0;
6341 colontmp_ = (NI)0;
6342 T18_ = (s ? s->Sup.len : 0);
6343 colontmp_ = T18_;
6344 i_2 = ((NI) 0);
6345 {
6346 while (1) {
6347 if (!(i_2 < colontmp_)) goto LA20;
6348 i = i_2;
6349 storePrim__icZic_4994(f, (&s->data[i]));
6350 i_2 += ((NI) 1);
6351 } LA20: ;
6352 }
6353 }
6354 }
6355 LA11_: ;
6356 }BeforeRet_: ;
6357 }
N_NIMCALL(void,storePrim__icZic_5247)6358 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5247)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__XyJ8LOAZzVVXSsmt09b8uWw x) {
6359 { {
6360 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6361 goto BeforeRet_;
6362 }
6363 LA3_: ;
6364 {
6365 NI T7_;
6366 T7_ = (NI)0;
6367 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&x))), ((NI) 16));
6368 if (!!((T7_ == ((NI) 16)))) goto LA8_;
6369 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6370 }
6371 LA8_: ;
6372 }BeforeRet_: ;
6373 }
N_NIMCALL(void,storeSeq__icZic_5213)6374 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_5213)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__NyaOkf8ZwxP6rkRF5TOkew* s) {
6375 NI32 lenPrefix;
6376 NI T10_;
6377 { {
6378 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6379 goto BeforeRet_;
6380 }
6381 LA3_: ;
6382 {
6383 NI T7_;
6384 T7_ = (s ? s->Sup.len : 0);
6385 if (!(((NI) 2147483647) <= T7_)) goto LA8_;
6386 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 1));
6387 goto BeforeRet_;
6388 }
6389 LA8_: ;
6390 T10_ = (s ? s->Sup.len : 0);
6391 lenPrefix = ((NI32) (T10_));
6392 {
6393 NI T13_;
6394 T13_ = (NI)0;
6395 T13_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
6396 if (!!((T13_ == ((NI) 4)))) goto LA14_;
6397 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6398 }
6399 goto LA11_;
6400 LA14_: ;
6401 {
6402 {
6403 NI i;
6404 NI colontmp_;
6405 NI T18_;
6406 NI i_2;
6407 i = (NI)0;
6408 colontmp_ = (NI)0;
6409 T18_ = (s ? s->Sup.len : 0);
6410 colontmp_ = T18_;
6411 i_2 = ((NI) 0);
6412 {
6413 while (1) {
6414 if (!(i_2 < colontmp_)) goto LA20;
6415 i = i_2;
6416 storePrim__icZic_5247(f, s->data[i]);
6417 i_2 += ((NI) 1);
6418 } LA20: ;
6419 }
6420 }
6421 }
6422 LA11_: ;
6423 }BeforeRet_: ;
6424 }
N_NIMCALL(void,storePrim__icZic_5298)6425 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5298)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyObject_PackedInstantiation__39cWRURu69agjI9c1ohiUmxiA x) {
6426 { {
6427 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6428 goto BeforeRet_;
6429 }
6430 LA3_: ;
6431 storePrim__icZic_5103(f, x.key);
6432 storePrim__icZic_5103(f, x.sym);
6433 storeSeq__icZic_5069(f, x.concreteTypes);
6434 }BeforeRet_: ;
6435 }
N_NIMCALL(void,storeSeq__icZic_5264)6436 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_5264)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__L9bOt8CaTEmIjgtuZvp6syg* s) {
6437 NI32 lenPrefix;
6438 NI T10_;
6439 { {
6440 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6441 goto BeforeRet_;
6442 }
6443 LA3_: ;
6444 {
6445 NI T7_;
6446 T7_ = (s ? s->Sup.len : 0);
6447 if (!(((NI) 2147483647) <= T7_)) goto LA8_;
6448 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 1));
6449 goto BeforeRet_;
6450 }
6451 LA8_: ;
6452 T10_ = (s ? s->Sup.len : 0);
6453 lenPrefix = ((NI32) (T10_));
6454 {
6455 NI T13_;
6456 T13_ = (NI)0;
6457 T13_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
6458 if (!!((T13_ == ((NI) 4)))) goto LA14_;
6459 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6460 }
6461 goto LA11_;
6462 LA14_: ;
6463 {
6464 {
6465 NI i;
6466 NI colontmp_;
6467 NI T18_;
6468 NI i_2;
6469 i = (NI)0;
6470 colontmp_ = (NI)0;
6471 T18_ = (s ? s->Sup.len : 0);
6472 colontmp_ = T18_;
6473 i_2 = ((NI) 0);
6474 {
6475 while (1) {
6476 if (!(i_2 < colontmp_)) goto LA20;
6477 i = i_2;
6478 storePrim__icZic_5298(f, s->data[i]);
6479 i_2 += ((NI) 1);
6480 } LA20: ;
6481 }
6482 }
6483 }
6484 LA11_: ;
6485 }BeforeRet_: ;
6486 }
N_NIMCALL(void,storePrim__icZic_5366)6487 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5366)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__9aoobCDZB4x41HJSOmh0mwA x) {
6488 { {
6489 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6490 goto BeforeRet_;
6491 }
6492 LA3_: ;
6493 {
6494 NI T7_;
6495 T7_ = (NI)0;
6496 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&x))), ((NI) 20));
6497 if (!!((T7_ == ((NI) 20)))) goto LA8_;
6498 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6499 }
6500 LA8_: ;
6501 }BeforeRet_: ;
6502 }
N_NIMCALL(void,storeSeq__icZic_5332)6503 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_5332)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__im8UB2GsZvUaQ4a1wKGWhQ* s) {
6504 NI32 lenPrefix;
6505 NI T10_;
6506 { {
6507 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6508 goto BeforeRet_;
6509 }
6510 LA3_: ;
6511 {
6512 NI T7_;
6513 T7_ = (s ? s->Sup.len : 0);
6514 if (!(((NI) 2147483647) <= T7_)) goto LA8_;
6515 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 1));
6516 goto BeforeRet_;
6517 }
6518 LA8_: ;
6519 T10_ = (s ? s->Sup.len : 0);
6520 lenPrefix = ((NI32) (T10_));
6521 {
6522 NI T13_;
6523 T13_ = (NI)0;
6524 T13_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
6525 if (!!((T13_ == ((NI) 4)))) goto LA14_;
6526 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6527 }
6528 goto LA11_;
6529 LA14_: ;
6530 {
6531 {
6532 NI i;
6533 NI colontmp_;
6534 NI T18_;
6535 NI i_2;
6536 i = (NI)0;
6537 colontmp_ = (NI)0;
6538 T18_ = (s ? s->Sup.len : 0);
6539 colontmp_ = T18_;
6540 i_2 = ((NI) 0);
6541 {
6542 while (1) {
6543 if (!(i_2 < colontmp_)) goto LA20;
6544 i = i_2;
6545 storePrim__icZic_5366(f, s->data[i]);
6546 i_2 += ((NI) 1);
6547 } LA20: ;
6548 }
6549 }
6550 }
6551 LA11_: ;
6552 }BeforeRet_: ;
6553 }
N_NIMCALL(void,storePrim__icZic_5417)6554 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5417)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tyTuple__g0Q6Qx15nK53ce9aLo7YyrA x) {
6555 { {
6556 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6557 goto BeforeRet_;
6558 }
6559 LA3_: ;
6560 {
6561 NI T7_;
6562 T7_ = (NI)0;
6563 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&x))), ((NI) 24));
6564 if (!!((T7_ == ((NI) 24)))) goto LA8_;
6565 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6566 }
6567 LA8_: ;
6568 }BeforeRet_: ;
6569 }
N_NIMCALL(void,storeSeq__icZic_5383)6570 N_LIB_PRIVATE N_NIMCALL(void, storeSeq__icZic_5383)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySequence__xxnXDLpoqBo8zJzP9b1073g* s) {
6571 NI32 lenPrefix;
6572 NI T10_;
6573 { {
6574 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6575 goto BeforeRet_;
6576 }
6577 LA3_: ;
6578 {
6579 NI T7_;
6580 T7_ = (s ? s->Sup.len : 0);
6581 if (!(((NI) 2147483647) <= T7_)) goto LA8_;
6582 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 1));
6583 goto BeforeRet_;
6584 }
6585 LA8_: ;
6586 T10_ = (s ? s->Sup.len : 0);
6587 lenPrefix = ((NI32) (T10_));
6588 {
6589 NI T13_;
6590 T13_ = (NI)0;
6591 T13_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&lenPrefix))), ((NI) 4));
6592 if (!!((T13_ == ((NI) 4)))) goto LA14_;
6593 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6594 }
6595 goto LA11_;
6596 LA14_: ;
6597 {
6598 {
6599 NI i;
6600 NI colontmp_;
6601 NI T18_;
6602 NI i_2;
6603 i = (NI)0;
6604 colontmp_ = (NI)0;
6605 T18_ = (s ? s->Sup.len : 0);
6606 colontmp_ = T18_;
6607 i_2 = ((NI) 0);
6608 {
6609 while (1) {
6610 if (!(i_2 < colontmp_)) goto LA20;
6611 i = i_2;
6612 storePrim__icZic_5417(f, s->data[i]);
6613 i_2 += ((NI) 1);
6614 } LA20: ;
6615 }
6616 }
6617 }
6618 LA11_: ;
6619 }BeforeRet_: ;
6620 }
N_NIMCALL(void,storePrim__icZic_5442)6621 N_LIB_PRIVATE N_NIMCALL(void, storePrim__icZic_5442)(tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg* f, tySet_tyEnum_ModuleBackendFlag__fgnyOEZ7Q9aYVj8O59afcT4g x) {
6622 { {
6623 if (!!(((*f).err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6624 goto BeforeRet_;
6625 }
6626 LA3_: ;
6627 {
6628 NI T7_;
6629 T7_ = (NI)0;
6630 T7_ = writeBuffer__systemZio_176((*f).f, ((void*) ((&x))), ((NI) 1));
6631 if (!!((T7_ == ((NI) 1)))) goto LA8_;
6632 setError__icZrodfiles_52(f, ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 3));
6633 }
6634 LA8_: ;
6635 }BeforeRet_: ;
6636 }
N_NIMCALL(void,disable__icZic_456)6637 N_LIB_PRIVATE N_NIMCALL(void, disable__icZic_456)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* e) {
6638 unsureAsgnRef((void**) (&(*e).config), ((tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw*) NIM_NIL));
6639 }
N_NIMCALL(void,storeError__icZic_4373)6640 N_LIB_PRIVATE N_NIMCALL(void, storeError__icZic_4373)(tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ err, NimStringDesc* filename) {
6641 tyArray__sMpvt1sOxOJ3LFGulnbeMQ T1_;
6642 nimZeroMem((void*)T1_, sizeof(tyArray__sMpvt1sOxOJ3LFGulnbeMQ));
6643 T1_[0] = copyString(((NimStringDesc*) &TM__5aiUyZx54WIsmLijToCcoA_34));
6644 T1_[1] = reprEnum((NI)err, (&NTIrodfileerror__0ZHDewZuAfbVKILlFg9cYCQ_));
6645 T1_[2] = copyString(((NimStringDesc*) &TM__5aiUyZx54WIsmLijToCcoA_35));
6646 T1_[3] = copyString(filename);
6647 echoBinSafe(T1_, 4);
6648 nosremoveFile(filename);
6649 }
N_NIMCALL(void,saveRodFile__icZic_4379)6650 N_LIB_PRIVATE N_NIMCALL(void, saveRodFile__icZic_4379)(NimStringDesc* filename, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* encoder, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m) {
6651 tyObject_RodFile__fLvYfGXSKRU29a9aEJ67yIvg f;
6652 flush__icZic_2439(encoder, m);
6653 f = create__icZrodfiles_281(filename);
6654 storeHeader__icZrodfiles_109((&f));
6655 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 1));
6656 storePrim__icZrodfiles_64((&f), (*m).definedSymbols);
6657 storePrim__icZic_4384((&f), (*m).moduleFlags);
6658 storePrim__icZic_4401((&f), (*m).cfg);
6659 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 2));
6660 store__icZic_4426((&f), (*m).strings);
6661 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 3));
6662 storeSeq__icZic_4513((&f), (*m).includes);
6663 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 4));
6664 storeSeq__icZic_4463((&f), (*m).imports);
6665 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 5));
6666 store__icZic_4571((&f), (*m).numbers);
6667 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 6));
6668 storeSeq__icZic_4629((&f), (*m).exports);
6669 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 7));
6670 storeSeq__icZic_4629((&f), (*m).hidden);
6671 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 8));
6672 storeSeq__icZic_4684((&f), (*m).reexports);
6673 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 9));
6674 storeSeq__icZic_4629((&f), (*m).compilerProcs);
6675 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 10));
6676 storeSeq__icZic_4739((&f), (*m).trmacros);
6677 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 11));
6678 storeSeq__icZic_4739((&f), (*m).converters);
6679 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 12));
6680 storeSeq__icZic_4739((&f), (*m).methods);
6681 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 13));
6682 storeSeq__icZic_4739((&f), (*m).pureEnums);
6683 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 14));
6684 storeSeq__icZic_4802((&f), (*m).macroUsages);
6685 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 15));
6686 storeSeq__icZic_4853((&f), (*m).toReplay.nodes);
6687 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 16));
6688 storeSeq__icZic_4853((&f), (*m).topLevel.nodes);
6689 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 17));
6690 storeSeq__icZic_4853((&f), (*m).bodies.nodes);
6691 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 18));
6692 storeSeq__icZic_4911((&f), (*m).syms);
6693 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 19));
6694 storeSeq__icZic_4961((&f), (*m).types);
6695 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 20));
6696 storeSeq__icZic_5213((&f), (*m).typeInstCache);
6697 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 21));
6698 storeSeq__icZic_5264((&f), (*m).procInstCache);
6699 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 22));
6700 storeSeq__icZic_5332((&f), (*m).attachedOps);
6701 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 23));
6702 storeSeq__icZic_5383((&f), (*m).methodsPerType);
6703 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 24));
6704 storeSeq__icZic_5213((&f), (*m).enumToStringProcs);
6705 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 25));
6706 storeSeq__icZic_4430((&f), (*m).emittedTypeInfo);
6707 storeSection__icZrodfiles_198((&f), ((tyEnum_RodSection__UqBXi9atUziBvBoi1Bm6kuA) 26));
6708 storePrim__icZic_5442((&f), (*m).backendFlags);
6709 close__icZrodfiles_284((&f));
6710 disable__icZic_456(encoder);
6711 {
6712 if (!!((f.err == ((tyEnum_RodFileError__0ZHDewZuAfbVKILlFg9cYCQ) 0)))) goto LA3_;
6713 storeError__icZic_4373(f.err, filename);
6714 }
6715 LA3_: ;
6716 }
N_NIMCALL(void,simulateLoadedModule__icZic_8471)6717 N_LIB_PRIVATE N_NIMCALL(void, simulateLoadedModule__icZic_8471)(tySequence__rQHmYk1HzcwNxKBymIFHpA** g, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* moduleSym, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m) {
6718 NI idx;
6719 idx = (*moduleSym).position;
6720 (*g)->data[idx].status = ((tyEnum_ModuleStatus__MgSLMPwZ4GVYYz7Kn9bmm6Q) 3);
6721 setupLookupTables__icZic_6269(g, conf, cache, ((NI32) (idx)), (&(*g)->data[idx]));
6722 loadToReplayNodes__icZic_8244(g, conf, cache, ((NI32) (idx)), (&(*g)->data[idx]));
6723 }
N_NIMCALL(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g,translateId__icZic_8432)6724 N_LIB_PRIVATE N_NIMCALL(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g, translateId__icZic_8432)(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ id, tySequence__rQHmYk1HzcwNxKBymIFHpA* g, NI thisModule, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config) {
6725 tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g result;
6726 nimZeroMem((void*)(&result), sizeof(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g));
6727 {
6728 if (!(id.module == ((NU32) 0))) goto LA3_;
6729 nimZeroMem((void*)(&result), sizeof(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g));
6730 result.module = ((NI32) (thisModule));
6731 result.item = id.item;
6732 }
6733 goto LA1_;
6734 LA3_: ;
6735 {
6736 nimZeroMem((void*)(&result), sizeof(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g));
6737 result.module = toFileIndex__icZic_2160(id.module, (&g->data[thisModule].fromDisk), config);
6738 result.item = id.item;
6739 }
6740 LA1_: ;
6741 return result;
6742 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,loadSymFromId__icZic_8417)6743 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, loadSymFromId__icZic_8417)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI module, tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ id) {
6744 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
6745 result = NIM_NIL;
6746 {
6747 NI T3_;
6748 T3_ = ((*g)->data[module].syms ? (*g)->data[module].syms->Sup.len : 0);
6749 if (!(((NI) (id.item)) < T3_)) goto LA4_;
6750 result = (*g)->data[module].syms->data[id.item];
6751 }
6752 goto LA1_;
6753 LA4_: ;
6754 {
6755 result = ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL);
6756 }
6757 LA1_: ;
6758 {
6759 tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw decoder;
6760 if (!(result == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL))) goto LA9_;
6761 nimZeroMem((void*)(&decoder), sizeof(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw));
6762 nimZeroMem((void*)(&decoder), sizeof(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw));
6763 decoder.lastModule = ((NI) -1);
6764 decoder.lastLit = ((NU32) 0);
6765 decoder.lastFile = ((NI32) -1);
6766 decoder.config = config;
6767 decoder.cache = cache;
6768 result = loadSym__icZic_5503((&decoder), g, module, id);
6769 }
6770 LA9_: ;
6771 return result;
6772 }
N_NIMCALL(tySequence__vC9cvg0R8tfBaOXXi3sfMzw *,getOrDefault__icZic_8578)6773 N_LIB_PRIVATE N_NIMCALL(tySequence__vC9cvg0R8tfBaOXXi3sfMzw*, getOrDefault__icZic_8578)(tyObject_Table__CE4eiu6FavV1vmUiTXQ70g t, tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* key) {
6774 tySequence__vC9cvg0R8tfBaOXXi3sfMzw* result;
6775 NI hcX60gensym291_;
6776 NI indexX60gensym291_;
6777 result = NIM_NIL;
6778 hcX60gensym291_ = (NI)0;
6779 indexX60gensym291_ = rawGet__icZic_6483(t, key, (&hcX60gensym291_));
6780 {
6781 if (!(((NI) 0) <= indexX60gensym291_)) goto LA3_;
6782 genericSeqAssign((&result), t.data->data[indexX60gensym291_].Field2, (&NTIseqLpackeditemidT__vC9cvg0R8tfBaOXXi3sfMzw_));
6783 }
6784 LA3_: ;
6785 return result;
6786 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,interfaceSymbol__icZic_9067)6787 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, interfaceSymbol__icZic_9067)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI32 module, tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* name, NIM_BOOL importHidden) {
6788 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
6789 tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw decoder;
6790 tySequence__vC9cvg0R8tfBaOXXi3sfMzw* values;
6791 tyObject_Table__CE4eiu6FavV1vmUiTXQ70g* retX60gensym302_;
6792 result = NIM_NIL;
6793 nimZeroMem((void*)(&decoder), sizeof(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw));
6794 nimZeroMem((void*)(&decoder), sizeof(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw));
6795 decoder.lastModule = ((NI) -1);
6796 decoder.lastLit = ((NU32) 0);
6797 decoder.lastFile = ((NI32) -1);
6798 decoder.config = config;
6799 decoder.cache = cache;
6800 retX60gensym302_ = (&(*g)->data[module].iface);
6801 {
6802 if (!importHidden) goto LA3_;
6803 retX60gensym302_ = (&(*g)->data[module].ifaceHidden);
6804 }
6805 LA3_: ;
6806 values = getOrDefault__icZic_8578((*retX60gensym302_), name);
6807 result = loadSym__icZic_5503((&decoder), g, ((NI) (module)), values->data[((NI) 0)]);
6808 return result;
6809 }
N_NIMCALL(void,rememberConfig__icZic_464)6810 N_LIB_PRIVATE N_NIMCALL(void, rememberConfig__icZic_464)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config, tyObject_PackedConfig__McwvRupqDAJbGrinIDFZJQ pc) {
6811 unsureAsgnRef((void**) (&(*m).definedSymbols), definedSymbolsAsString__icZic_460(config));
6812 (*m).cfg = pc;
6813 }
N_NIMCALL(void,initEncoder__icZic_2268)6814 N_LIB_PRIVATE N_NIMCALL(void, initEncoder__icZic_2268)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* moduleSym, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config, tyObject_PackedConfig__McwvRupqDAJbGrinIDFZJQ pc) {
6815 NI32 thisNimFile;
6816 NimStringDesc* h;
6817 tyTuple__0q9cmhneJEKnQERTpXXdz6Q T11_;
6818 NI T12_;
6819 NimStringDesc* T13_;
6820 (*c).thisModule = (*moduleSym).Sup.itemId.module;
6821 unsureAsgnRef((void**) (&(*c).config), config);
6822 (*m).moduleFlags = (*moduleSym).flags;
6823 newTreeFrom__icZpacked95ast_112((*m).topLevel, (&(*m).bodies));
6824 newTreeFrom__icZpacked95ast_112((*m).topLevel, (&(*m).toReplay));
6825 (*c).lastFile = ((NI32) -10);
6826 thisNimFile = (*c).thisModule;
6827 h = getHash__msgs_564(config, thisNimFile);
6828 {
6829 NimStringDesc* fullpath;
6830 if (!((h ? h->Sup.len : 0) == ((NI) 0))) goto LA3_;
6831 fullpath = toFullPath__msgs_538(config, thisNimFile);
6832 {
6833 NIM_BOOL T7_;
6834 tyArray__YtcvxHNKV4YiecPE9ap1mcA T10_;
6835 T7_ = (NIM_BOOL)0;
6836 T7_ = nosisAbsolute(fullpath);
6837 if (!T7_) goto LA8_;
6838 nimZeroMem((void*)T10_, sizeof(tyArray__YtcvxHNKV4YiecPE9ap1mcA));
6839 secureHashFile__stdZsha49_871(fullpath, T10_);
6840 h = dollar___stdZsha49_879(T10_);
6841 setHash__msgs_557(config, thisNimFile, h);
6842 }
6843 LA8_: ;
6844 }
6845 LA3_: ;
6846 nimZeroMem((void*)(&T11_), sizeof(tyTuple__0q9cmhneJEKnQERTpXXdz6Q));
6847 T11_.Field0 = toLitId__icZic_519(thisNimFile, c, m);
6848 T11_.Field1 = copyString(h);
6849 unsureAsgnRef((void**) (&(*m).includes), (tySequence__PXIzfWocnrafGz5p3CP5LA*) incrSeqV3((TGenericSeq*)((*m).includes), (&NTIseqLLlitid_stringTT__PXIzfWocnrafGz5p3CP5LA_)));
6850 T12_ = (*m).includes->Sup.len++;
6851 (*m).includes->data[T12_].Field0 = T11_.Field0;
6852 T13_ = NIM_NIL;
6853 T13_ = (*m).includes->data[T12_].Field1; (*m).includes->data[T12_].Field1 = copyStringRC1(T11_.Field1);
6854 if (T13_) nimGCunrefNoCycle(T13_);
6855 rememberConfig__icZic_464(c, m, config, pc);
6856 }
N_NIMCALL(NI,len__icZic_8731)6857 N_LIB_PRIVATE N_NIMCALL(NI, len__icZic_8731)(tyObject_Table__CE4eiu6FavV1vmUiTXQ70g t) {
6858 NI result;
6859 result = (NI)0;
6860 result = t.counter;
6861 return result;
6862 }
N_NIMCALL(void,add__icZic_8913)6863 N_LIB_PRIVATE N_NIMCALL(void, add__icZic_8913)(tySequence__vC9cvg0R8tfBaOXXi3sfMzw** x, tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ* y, NI yLen_0) {
6864 NI xl;
6865 NI T1_;
6866 T1_ = ((*x) ? (*x)->Sup.len : 0);
6867 xl = T1_;
6868 unsureAsgnRef((void**) (&(*x)), (tySequence__vC9cvg0R8tfBaOXXi3sfMzw*) setLengthSeqV2(&((*x))->Sup, (&NTIseqLpackeditemidT__vC9cvg0R8tfBaOXXi3sfMzw_), ((NI) ((NI)(xl + yLen_0)))));
6869 {
6870 NI i;
6871 NI colontmp_;
6872 NI res;
6873 i = (NI)0;
6874 colontmp_ = (NI)0;
6875 colontmp_ = (yLen_0-1);
6876 res = ((NI) 0);
6877 {
6878 while (1) {
6879 if (!(res <= colontmp_)) goto LA4;
6880 i = res;
6881 (*x)->data[(NI)(xl + i)] = y[i];
6882 res += ((NI) 1);
6883 } LA4: ;
6884 }
6885 }
6886 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,initRodIterAllSyms__icZic_8667)6887 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, initRodIterAllSyms__icZic_8667)(tyObject_RodIter__Y6aA9bUtpfLvVVtyih9aAbQg* it, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI32 module, NIM_BOOL importHidden) {
6888 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
6889 tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw T1_;
6890 result = NIM_NIL;
6891 nimZeroMem((void*)(&T1_), sizeof(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw));
6892 nimZeroMem((void*)(&T1_), sizeof(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw));
6893 T1_.lastModule = ((NI) -1);
6894 T1_.lastLit = ((NU32) 0);
6895 T1_.lastFile = ((NI32) -1);
6896 T1_.config = config;
6897 T1_.cache = cache;
6898 genericShallowAssign((void*)(&(*it).decoder), (void*)(&T1_), (&NTIpackeddecoder__mJy59aKs7COuW5kZ9cw8pGKw_));
6899 unsureAsgnRef((void**) (&(*it).values), NIM_NIL);
6900 (*it).module = ((NI) (module));
6901 {
6902 tySequence__vC9cvg0R8tfBaOXXi3sfMzw** v;
6903 tyObject_Table__CE4eiu6FavV1vmUiTXQ70g colontmp_;
6904 tyObject_Table__CE4eiu6FavV1vmUiTXQ70g* retX60gensym293_;
6905 NI L;
6906 v = (tySequence__vC9cvg0R8tfBaOXXi3sfMzw**)0;
6907 nimZeroMem((void*)(&colontmp_), sizeof(tyObject_Table__CE4eiu6FavV1vmUiTXQ70g));
6908 retX60gensym293_ = (&(*g)->data[module].iface);
6909 {
6910 if (!importHidden) goto LA5_;
6911 retX60gensym293_ = (&(*g)->data[module].ifaceHidden);
6912 }
6913 LA5_: ;
6914 colontmp_.data = (*retX60gensym293_).data;
6915 colontmp_.counter = (*retX60gensym293_).counter;
6916 L = len__icZic_8731(colontmp_);
6917 {
6918 NI h;
6919 NI colontmp__2;
6920 NI T8_;
6921 NI res;
6922 h = (NI)0;
6923 colontmp__2 = (NI)0;
6924 T8_ = ((colontmp_.data ? colontmp_.data->Sup.len : 0)-1);
6925 colontmp__2 = T8_;
6926 res = ((NI) 0);
6927 {
6928 while (1) {
6929 if (!(res <= colontmp__2)) goto LA10;
6930 h = res;
6931 {
6932 NIM_BOOL T13_;
6933 T13_ = (NIM_BOOL)0;
6934 T13_ = isFilled__pureZcollectionsZtables_31(colontmp_.data->data[h].Field0);
6935 if (!T13_) goto LA14_;
6936 v = (&colontmp_.data->data[h].Field2);
6937 add__icZic_8913((&(*it).values), (*v)->data, ((*v) ? (*v)->Sup.len : 0));
6938 }
6939 LA14_: ;
6940 res += ((NI) 1);
6941 } LA10: ;
6942 }
6943 }
6944 }
6945 (*it).i = ((NI) 0);
6946 {
6947 NI T18_;
6948 T18_ = ((*it).values ? (*it).values->Sup.len : 0);
6949 if (!((*it).i < T18_)) goto LA19_;
6950 result = loadSym__icZic_5503((&(*it).decoder), g, ((NI) (module)), (*it).values->data[(*it).i]);
6951 (*it).i += ((NI) 1);
6952 }
6953 LA19_: ;
6954 return result;
6955 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,nextRodIter__icZic_8962)6956 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, nextRodIter__icZic_8962)(tyObject_RodIter__Y6aA9bUtpfLvVVtyih9aAbQg* it, tySequence__rQHmYk1HzcwNxKBymIFHpA** g) {
6957 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
6958 result = NIM_NIL;
6959 {
6960 NI T3_;
6961 T3_ = ((*it).values ? (*it).values->Sup.len : 0);
6962 if (!((*it).i < T3_)) goto LA4_;
6963 result = loadSym__icZic_5503((&(*it).decoder), g, (*it).module, (*it).values->data[(*it).i]);
6964 (*it).i += ((NI) 1);
6965 }
6966 LA4_: ;
6967 return result;
6968 }
N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg *,loadTypeFromId__icZic_8402)6969 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, loadTypeFromId__icZic_8402)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI module, tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ id) {
6970 tyObject_TType__facALICuu8zUj0hjvbTLFg* result;
6971 result = NIM_NIL;
6972 {
6973 NI T3_;
6974 T3_ = ((*g)->data[module].types ? (*g)->data[module].types->Sup.len : 0);
6975 if (!(((NI) (id.item)) < T3_)) goto LA4_;
6976 result = (*g)->data[module].types->data[id.item];
6977 }
6978 goto LA1_;
6979 LA4_: ;
6980 {
6981 result = ((tyObject_TType__facALICuu8zUj0hjvbTLFg*) NIM_NIL);
6982 }
6983 LA1_: ;
6984 {
6985 tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw decoder;
6986 if (!(result == ((tyObject_TType__facALICuu8zUj0hjvbTLFg*) NIM_NIL))) goto LA9_;
6987 nimZeroMem((void*)(&decoder), sizeof(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw));
6988 nimZeroMem((void*)(&decoder), sizeof(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw));
6989 decoder.lastModule = ((NI) -1);
6990 decoder.lastLit = ((NU32) 0);
6991 decoder.lastFile = ((NI32) -1);
6992 decoder.config = config;
6993 decoder.cache = cache;
6994 result = loadType__icZic_5498((&decoder), g, module, id);
6995 }
6996 LA9_: ;
6997 return result;
6998 }
N_NIMCALL(void,storeTypeInst__icZic_3010)6999 N_LIB_PRIVATE N_NIMCALL(void, storeTypeInst__icZic_3010)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s, tyObject_TType__facALICuu8zUj0hjvbTLFg* inst) {
7000 tyTuple__XyJ8LOAZzVVXSsmt09b8uWw T1_;
7001 NI T2_;
7002 T1_.Field0 = storeSymLater__icZic_2736(s, c, m);
7003 T1_.Field1 = storeTypeLater__icZic_2722(inst, c, m);
7004 unsureAsgnRef((void**) (&(*m).typeInstCache), (tySequence__NyaOkf8ZwxP6rkRF5TOkew*) incrSeqV3((TGenericSeq*)((*m).typeInstCache), (&NTIseqLLpackeditemid_packeditemidTT__NyaOkf8ZwxP6rkRF5TOkew_)));
7005 T2_ = (*m).typeInstCache->Sup.len++;
7006 (*m).typeInstCache->data[T2_] = T1_;
7007 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,initRodIter__icZic_8501)7008 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, initRodIter__icZic_8501)(tyObject_RodIter__Y6aA9bUtpfLvVVtyih9aAbQg* it, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI32 module, tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* name, NIM_BOOL importHidden) {
7009 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
7010 tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw T1_;
7011 tyObject_Table__CE4eiu6FavV1vmUiTXQ70g* retX60gensym290_;
7012 result = NIM_NIL;
7013 nimZeroMem((void*)(&T1_), sizeof(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw));
7014 nimZeroMem((void*)(&T1_), sizeof(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw));
7015 T1_.lastModule = ((NI) -1);
7016 T1_.lastLit = ((NU32) 0);
7017 T1_.lastFile = ((NI32) -1);
7018 T1_.config = config;
7019 T1_.cache = cache;
7020 genericShallowAssign((void*)(&(*it).decoder), (void*)(&T1_), (&NTIpackeddecoder__mJy59aKs7COuW5kZ9cw8pGKw_));
7021 retX60gensym290_ = (&(*g)->data[module].iface);
7022 {
7023 if (!importHidden) goto LA4_;
7024 retX60gensym290_ = (&(*g)->data[module].ifaceHidden);
7025 }
7026 LA4_: ;
7027 unsureAsgnRef((void**) (&(*it).values), getOrDefault__icZic_8578((*retX60gensym290_), name));
7028 (*it).i = ((NI) 0);
7029 (*it).module = ((NI) (module));
7030 {
7031 NI T8_;
7032 T8_ = ((*it).values ? (*it).values->Sup.len : 0);
7033 if (!((*it).i < T8_)) goto LA9_;
7034 result = loadSym__icZic_5503((&(*it).decoder), g, ((NI) (module)), (*it).values->data[(*it).i]);
7035 (*it).i += ((NI) 1);
7036 }
7037 LA9_: ;
7038 return result;
7039 }
N_NIMCALL(void,addExported__icZic_2330)7040 N_LIB_PRIVATE N_NIMCALL(void, addExported__icZic_2330)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s) {
7041 NU32 nameId;
7042 tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ T1_;
7043 NI T2_;
7044 nameId = getOrIncl__icZic_924((&(*m).strings), (*(*s).name).s);
7045 T1_.Field0 = nameId;
7046 T1_.Field1 = (*s).Sup.itemId.item;
7047 unsureAsgnRef((void**) (&(*m).exports), (tySequence__b89aLriiJnVTD186H6zNIgg*) incrSeqV3((TGenericSeq*)((*m).exports), (&NTIseqLLlitid_int5150TT__b89aLriiJnVTD186H6zNIgg_)));
7048 T2_ = (*m).exports->Sup.len++;
7049 (*m).exports->data[T2_] = T1_;
7050 }
N_NIMCALL(void,addHidden__icZic_2306)7051 N_LIB_PRIVATE N_NIMCALL(void, addHidden__icZic_2306)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s) {
7052 NU32 nameId;
7053 tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ T1_;
7054 NI T2_;
7055 nameId = getOrIncl__icZic_924((&(*m).strings), (*(*s).name).s);
7056 T1_.Field0 = nameId;
7057 T1_.Field1 = (*s).Sup.itemId.item;
7058 unsureAsgnRef((void**) (&(*m).hidden), (tySequence__b89aLriiJnVTD186H6zNIgg*) incrSeqV3((TGenericSeq*)((*m).hidden), (&NTIseqLLlitid_int5150TT__b89aLriiJnVTD186H6zNIgg_)));
7059 T2_ = (*m).hidden->Sup.len++;
7060 (*m).hidden->data[T2_] = T1_;
7061 }
N_NIMCALL(void,storeExpansion__icZic_3132)7062 N_LIB_PRIVATE N_NIMCALL(void, storeExpansion__icZic_3132)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s) {
7063 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T1_;
7064 T1_ = NIM_NIL;
7065 T1_ = newSymNode__ast_3719(s, info);
7066 toPackedNode__icZic_2426(T1_, (&(*m).bodies), c, m);
7067 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,loadProcBody__icZic_5876)7068 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, loadProcBody__icZic_5876)(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw* c, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, NI thisModule, tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw tree, NI n) {
7069 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
7070 NI i;
7071 result = NIM_NIL;
7072 i = ((NI) 0);
7073 {
7074 NI n0;
7075 NI pos;
7076 NI last;
7077 n0 = (NI)0;
7078 pos = n;
7079 last = (NI)(pos + ((NI) (tree.nodes->data[pos].operand)));
7080 pos += ((NI) 1);
7081 {
7082 while (1) {
7083 if (!(pos < last)) goto LA3;
7084 n0 = pos;
7085 {
7086 if (!(i == ((NI) 6))) goto LA6_;
7087 result = loadNodes__icZic_5528(c, g, thisModule, tree, n0);
7088 }
7089 LA6_: ;
7090 i += ((NI) 1);
7091 nextChild__icZpacked95ast_312(tree, (&pos));
7092 } LA3: ;
7093 }
7094 }
7095 return result;
7096 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,loadProcBody__icZic_8390)7097 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, loadProcBody__icZic_8390)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tySequence__rQHmYk1HzcwNxKBymIFHpA** g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s) {
7098 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
7099 NI32 mId;
7100 tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw decoder;
7101 NI32 pos;
7102 result = NIM_NIL;
7103 mId = (*s).Sup.itemId.module;
7104 nimZeroMem((void*)(&decoder), sizeof(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw));
7105 nimZeroMem((void*)(&decoder), sizeof(tyObject_PackedDecoder__mJy59aKs7COuW5kZ9cw8pGKw));
7106 decoder.lastModule = ((NI) -1);
7107 decoder.lastLit = ((NU32) 0);
7108 decoder.lastFile = ((NI32) -1);
7109 decoder.config = config;
7110 decoder.cache = cache;
7111 pos = (*g)->data[mId].fromDisk.syms->data[(*s).Sup.itemId.item].ast;
7112 result = loadProcBody__icZic_5876((&decoder), g, ((NI) (mId)), (*g)->data[mId].fromDisk.bodies, ((NI) (pos)));
7113 return result;
7114 }
N_NIMCALL(NI32,searchForCompilerproc__icZic_9159)7115 N_LIB_PRIVATE N_NIMCALL(NI32, searchForCompilerproc__icZic_9159)(tyObject_LoadedModule__14iJKkvOiWT62KF2D8f9c5w* m, NimStringDesc* name) {
7116 NI32 result;
7117 { result = (NI32)0;
7118 {
7119 tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ* it;
7120 NI i;
7121 NI L;
7122 NI T2_;
7123 it = (tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ*)0;
7124 i = ((NI) 0);
7125 T2_ = ((*m).fromDisk.compilerProcs ? (*m).fromDisk.compilerProcs->Sup.len : 0);
7126 L = T2_;
7127 {
7128 while (1) {
7129 if (!(i < L)) goto LA4;
7130 it = (&(*m).fromDisk.compilerProcs->data[i]);
7131 {
7132 NimStringDesc** T7_;
7133 T7_ = (NimStringDesc**)0;
7134 T7_ = X5BX5D___icZic_152((&(*m).fromDisk.strings), (*it).Field0);
7135 if (!eqStrings((*T7_), name)) goto LA8_;
7136 result = (*it).Field1;
7137 goto BeforeRet_;
7138 }
7139 LA8_: ;
7140 i += ((NI) 1);
7141 } LA4: ;
7142 }
7143 }
7144 result = ((NI32) -1);
7145 goto BeforeRet_;
7146 }BeforeRet_: ;
7147 return result;
7148 }
N_NIMCALL(void,toPackedProcDef__icZic_3032)7149 N_LIB_PRIVATE N_NIMCALL(void, toPackedProcDef__icZic_3032)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw* ir, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m) {
7150 tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg info;
7151 NI patchPos;
7152 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ T1_;
7153 info = toPackedInfo__icZic_2574((*n).info, c, m);
7154 T1_ = storeTypeLater__icZic_2722((*n).typ, c, m);
7155 patchPos = prepare__icZpacked95ast_243(ir, (*n).kind, (*n).flags, T1_, info);
7156 {
7157 NI i;
7158 NI colontmp_;
7159 NI i_2;
7160 i = (NI)0;
7161 colontmp_ = (NI)0;
7162 colontmp_ = len__ast_3198(n);
7163 i_2 = ((NI) 0);
7164 {
7165 while (1) {
7166 if (!(i_2 < colontmp_)) goto LA4;
7167 i = i_2;
7168 {
7169 if (!!((i == ((NI) 6)))) goto LA7_;
7170 toPackedNode__icZic_2426((*n)._kind_6.sons->data[i], ir, c, m);
7171 }
7172 goto LA5_;
7173 LA7_: ;
7174 {
7175 tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow T10_;
7176 NI T11_;
7177 nimZeroMem((void*)(&T10_), sizeof(tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow));
7178 T10_.kind = ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1);
7179 T10_.flags = 0;
7180 T10_.operand = ((NI32) 0);
7181 T10_.typeId_0 = nilItemId__icZpacked95ast_14;
7182 T10_.info = info;
7183 unsureAsgnRef((void**) (&(*ir).nodes), (tySequence__29bS0n2QNyO1R7e0qMMOvLA*) incrSeqV3((TGenericSeq*)((*ir).nodes), (&NTIseqLpackednodeT__29bS0n2QNyO1R7e0qMMOvLA_)));
7184 T11_ = (*ir).nodes->Sup.len++;
7185 (*ir).nodes->data[T11_] = T10_;
7186 }
7187 LA5_: ;
7188 i_2 += ((NI) 1);
7189 } LA4: ;
7190 }
7191 }
7192 patch__icZpacked95ast_278(ir, patchPos);
7193 }
N_NIMCALL(void,toPackedGeneratedProcDef__icZic_3061)7194 N_LIB_PRIVATE N_NIMCALL(void, toPackedGeneratedProcDef__icZic_3061)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* encoder, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m) {
7195 toPackedProcDef__icZic_3032((*s).ast, (&(*m).topLevel), encoder, m);
7196 }
N_NIMCALL(void,storeInstantiation__icZic_3072)7197 N_LIB_PRIVATE N_NIMCALL(void, storeInstantiation__icZic_3072)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s, tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA* i) {
7198 tySequence__vC9cvg0R8tfBaOXXi3sfMzw* t;
7199 NI T1_;
7200 tyObject_PackedInstantiation__39cWRURu69agjI9c1ohiUmxiA T6_;
7201 NI T7_;
7202 T1_ = ((*i).concreteTypes ? (*i).concreteTypes->Sup.len : 0);
7203 t = newSeq__icZic_3081(((NI) (T1_)));
7204 {
7205 NI j;
7206 NI colontmp_;
7207 NI T3_;
7208 NI res;
7209 j = (NI)0;
7210 colontmp_ = (NI)0;
7211 T3_ = (((*i).concreteTypes ? (*i).concreteTypes->Sup.len : 0)-1);
7212 colontmp_ = T3_;
7213 res = ((NI) 0);
7214 {
7215 while (1) {
7216 if (!(res <= colontmp_)) goto LA5;
7217 j = res;
7218 t->data[j] = storeTypeLater__icZic_2722((*i).concreteTypes->data[j], c, m);
7219 res += ((NI) 1);
7220 } LA5: ;
7221 }
7222 }
7223 nimZeroMem((void*)(&T6_), sizeof(tyObject_PackedInstantiation__39cWRURu69agjI9c1ohiUmxiA));
7224 nimZeroMem((void*)(&T6_), sizeof(tyObject_PackedInstantiation__39cWRURu69agjI9c1ohiUmxiA));
7225 T6_.key = storeSymLater__icZic_2736(s, c, m);
7226 T6_.sym = storeSymLater__icZic_2736((*i).sym, c, m);
7227 genericSeqAssign((&T6_.concreteTypes), t, (&NTIseqLpackeditemidT__vC9cvg0R8tfBaOXXi3sfMzw_));
7228 unsureAsgnRef((void**) (&(*m).procInstCache), (tySequence__L9bOt8CaTEmIjgtuZvp6syg*) incrSeqV3((TGenericSeq*)((*m).procInstCache), (&NTIseqLpackedinstantiationT__L9bOt8CaTEmIjgtuZvp6syg_)));
7229 T7_ = (*m).procInstCache->Sup.len++;
7230 (*m).procInstCache->data[T7_].key = T6_.key;
7231 (*m).procInstCache->data[T7_].sym = T6_.sym;
7232 genericSeqAssign((&(*m).procInstCache->data[T7_].concreteTypes), T6_.concreteTypes, (&NTIseqLpackeditemidT__vC9cvg0R8tfBaOXXi3sfMzw_));
7233 toPackedGeneratedProcDef__icZic_3061((*i).sym, c, m);
7234 }
N_NIMCALL(void,addPragmaComputation__icZic_3028)7235 N_LIB_PRIVATE N_NIMCALL(void, addPragmaComputation__icZic_3028)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
7236 toPackedNode__icZic_2426(n, (&(*m).toReplay), c, m);
7237 }
N_NIMCALL(void,addCompilerProc__icZic_2411)7238 N_LIB_PRIVATE N_NIMCALL(void, addCompilerProc__icZic_2411)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s) {
7239 NU32 nameId;
7240 tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ T1_;
7241 NI T2_;
7242 nameId = getOrIncl__icZic_924((&(*m).strings), (*(*s).name).s);
7243 T1_.Field0 = nameId;
7244 T1_.Field1 = (*s).Sup.itemId.item;
7245 unsureAsgnRef((void**) (&(*m).compilerProcs), (tySequence__b89aLriiJnVTD186H6zNIgg*) incrSeqV3((TGenericSeq*)((*m).compilerProcs), (&NTIseqLLlitid_int5150TT__b89aLriiJnVTD186H6zNIgg_)));
7246 T2_ = (*m).compilerProcs->Sup.len++;
7247 (*m).compilerProcs->data[T2_] = T1_;
7248 }
N_NIMCALL(void,addTrmacro__icZic_2356)7249 N_LIB_PRIVATE N_NIMCALL(void, addTrmacro__icZic_2356)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s) {
7250 NI T1_;
7251 unsureAsgnRef((void**) (&(*m).trmacros), (tySequence__48JTohSgTy339bRxHzUD8KA*) incrSeqV3((TGenericSeq*)((*m).trmacros), (&NTIseqLint5150T__48JTohSgTy339bRxHzUD8KA_)));
7252 T1_ = (*m).trmacros->Sup.len++;
7253 (*m).trmacros->data[T1_] = (*s).Sup.itemId.item;
7254 }
N_NIMCALL(void,addPureEnum__icZic_2364)7255 N_LIB_PRIVATE N_NIMCALL(void, addPureEnum__icZic_2364)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s) {
7256 NI T1_;
7257 unsureAsgnRef((void**) (&(*m).pureEnums), (tySequence__48JTohSgTy339bRxHzUD8KA*) incrSeqV3((TGenericSeq*)((*m).pureEnums), (&NTIseqLint5150T__48JTohSgTy339bRxHzUD8KA_)));
7258 T1_ = (*m).pureEnums->Sup.len++;
7259 (*m).pureEnums->data[T1_] = (*s).Sup.itemId.item;
7260 }
N_NIMCALL(void,addConverter__icZic_2345)7261 N_LIB_PRIVATE N_NIMCALL(void, addConverter__icZic_2345)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s) {
7262 NI T1_;
7263 unsureAsgnRef((void**) (&(*m).converters), (tySequence__48JTohSgTy339bRxHzUD8KA*) incrSeqV3((TGenericSeq*)((*m).converters), (&NTIseqLint5150T__48JTohSgTy339bRxHzUD8KA_)));
7264 T1_ = (*m).converters->Sup.len++;
7265 (*m).converters->data[T1_] = (*s).Sup.itemId.item;
7266 }
N_NIMCALL(void,addImportFileDep__icZic_2298)7267 N_LIB_PRIVATE N_NIMCALL(void, addImportFileDep__icZic_2298)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, NI32 f) {
7268 NU32 T1_;
7269 NI T2_;
7270 T1_ = (NU32)0;
7271 T1_ = toLitId__icZic_519(f, c, m);
7272 unsureAsgnRef((void**) (&(*m).imports), (tySequence__9bAGqSvkAaFL9bWjsEPslrFA*) incrSeqV3((TGenericSeq*)((*m).imports), (&NTIseqLlitidT__9bAGqSvkAaFL9bWjsEPslrFA_)));
7273 T2_ = (*m).imports->Sup.len++;
7274 (*m).imports->data[T2_] = T1_;
7275 }
N_NIMCALL(void,addIncludeFileDep__icZic_2290)7276 N_LIB_PRIVATE N_NIMCALL(void, addIncludeFileDep__icZic_2290)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, NI32 f) {
7277 tyTuple__0q9cmhneJEKnQERTpXXdz6Q T1_;
7278 NI T2_;
7279 NimStringDesc* T3_;
7280 nimZeroMem((void*)(&T1_), sizeof(tyTuple__0q9cmhneJEKnQERTpXXdz6Q));
7281 T1_.Field0 = toLitId__icZic_519(f, c, m);
7282 T1_.Field1 = hashFileCached__icZic_514((*c).config, f);
7283 unsureAsgnRef((void**) (&(*m).includes), (tySequence__PXIzfWocnrafGz5p3CP5LA*) incrSeqV3((TGenericSeq*)((*m).includes), (&NTIseqLLlitid_stringTT__PXIzfWocnrafGz5p3CP5LA_)));
7284 T2_ = (*m).includes->Sup.len++;
7285 (*m).includes->data[T2_].Field0 = T1_.Field0;
7286 T3_ = NIM_NIL;
7287 T3_ = (*m).includes->data[T2_].Field1; (*m).includes->data[T2_].Field1 = copyStringRC1(T1_.Field1);
7288 if (T3_) nimGCunrefNoCycle(T3_);
7289 }
N_NIMCALL(void,addReexport__icZic_2387)7290 N_LIB_PRIVATE N_NIMCALL(void, addReexport__icZic_2387)(tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* c, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s) {
7291 NU32 nameId;
7292 tyTuple__Q7r9caOmeWqQGZCIBHhGRUA T1_;
7293 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ T2_;
7294 NI T3_;
7295 nameId = getOrIncl__icZic_924((&(*m).strings), (*(*s).name).s);
7296 T1_.Field0 = nameId;
7297 nimZeroMem((void*)(&T2_), sizeof(tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ));
7298 T2_.module = toLitId__icZic_519((*s).Sup.itemId.module, c, m);
7299 T2_.item = (*s).Sup.itemId.item;
7300 T1_.Field1 = T2_;
7301 unsureAsgnRef((void**) (&(*m).reexports), (tySequence__REuPuHuSlOkZ0Q5oqzDrQg*) incrSeqV3((TGenericSeq*)((*m).reexports), (&NTIseqLLlitid_packeditemidTT__REuPuHuSlOkZ0Q5oqzDrQg_)));
7302 T3_ = (*m).reexports->Sup.len++;
7303 (*m).reexports->data[T3_] = T1_;
7304 }
N_INLINE(NI,safeLen__ast_3191)7305 static N_INLINE(NI, safeLen__ast_3191)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
7306 NI result;
7307 result = (NI)0;
7308 {
7309 if (!((*n).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 0) && (*n).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23))) goto LA3_;
7310 result = ((NI) 0);
7311 }
7312 goto LA1_;
7313 LA3_: ;
7314 {
7315 result = len__ast_3198(n);
7316 }
7317 LA1_: ;
7318 return result;
7319 }
N_NIMCALL(void,toPackedNodeIgnoreProcDefs__icZic_3052)7320 N_LIB_PRIVATE N_NIMCALL(void, toPackedNodeIgnoreProcDefs__icZic_3052)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw* encoder, tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ* m) {
7321 switch ((*n).kind) {
7322 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 79) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 84):
7323 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 159):
7324 {
7325 toPackedProcDef__icZic_3032(n, (&(*m).topLevel), encoder, m);
7326 }
7327 break;
7328 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115):
7329 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 126):
7330 {
7331 {
7332 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* it;
7333 it = NIM_NIL;
7334 {
7335 NI i;
7336 NI colontmp_;
7337 NI i_2;
7338 i = (NI)0;
7339 colontmp_ = (NI)0;
7340 colontmp_ = safeLen__ast_3191(n);
7341 i_2 = ((NI) 0);
7342 {
7343 while (1) {
7344 if (!(i_2 < colontmp_)) goto LA6;
7345 i = i_2;
7346 it = (*n)._kind_6.sons->data[i];
7347 toPackedNodeIgnoreProcDefs__icZic_3052(it, encoder, m);
7348 i_2 += ((NI) 1);
7349 } LA6: ;
7350 }
7351 }
7352 }
7353 }
7354 break;
7355 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 116):
7356 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 117):
7357 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 118):
7358 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 119):
7359 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 120):
7360 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 121):
7361 {
7362 }
7363 break;
7364 default:
7365 {
7366 toPackedNode__icZic_2426(n, (&(*m).topLevel), encoder, m);
7367 }
7368 break;
7369 }
7370 }
N_NIMCALL(void,toPackedNodeTopLevel__icZic_3057)7371