1 /* Generated by Nim Compiler v1.6.2 */
2 #define NIM_INTBITS 64
3 
4 #include "nimbase.h"
5 #include <string.h>
6 #undef LANGUAGE_C
7 #undef MIPSEB
8 #undef MIPSEL
9 #undef PPC
10 #undef R3000
11 #undef R4000
12 #undef i386
13 #undef linux
14 #undef mips
15 #undef near
16 #undef far
17 #undef powerpc
18 #undef unix
19 #define nimfr_(x, y)
20 #define nimln_(x, y)
21 typedef struct tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ;
22 typedef struct tyObject_TIdObj__KUwfjfUQEwGHguQbTcXu7w tyObject_TIdObj__KUwfjfUQEwGHguQbTcXu7w;
23 typedef struct RootObj RootObj;
24 typedef struct TNimType TNimType;
25 typedef struct TNimNode TNimNode;
26 typedef struct tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g;
27 typedef struct tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw;
28 typedef struct tyObject_TType__facALICuu8zUj0hjvbTLFg tyObject_TType__facALICuu8zUj0hjvbTLFg;
29 typedef struct tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA;
30 typedef struct tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q;
31 typedef struct tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA;
32 typedef struct tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA;
33 typedef struct tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA;
34 typedef struct tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A;
35 typedef struct NimStringDesc NimStringDesc;
36 typedef struct TGenericSeq TGenericSeq;
37 typedef struct tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ;
38 typedef struct tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ;
39 typedef struct tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q;
40 typedef struct tySequence__4mZLwkxT8rbt9bf3wXrXYNQ tySequence__4mZLwkxT8rbt9bf3wXrXYNQ;
41 typedef struct tySequence__rQHmYk1HzcwNxKBymIFHpA tySequence__rQHmYk1HzcwNxKBymIFHpA;
42 typedef struct tySequence__XMM60DtBsc6xYsIpNANkrA tySequence__XMM60DtBsc6xYsIpNANkrA;
43 typedef struct tyObject_Table__ZqXrnX212T9bCb4lhpQ9bFBw tyObject_Table__ZqXrnX212T9bCb4lhpQ9bFBw;
44 typedef struct tySequence__ChDZ6dokJ9aj9cg3KBoCU5vg tySequence__ChDZ6dokJ9aj9cg3KBoCU5vg;
45 typedef struct tyObject_Table__UVZI5J9aS51B4B0eYPpW1Rg tyObject_Table__UVZI5J9aS51B4B0eYPpW1Rg;
46 typedef struct tySequence__mWRMiYLthG9coLjkbElCxkw tySequence__mWRMiYLthG9coLjkbElCxkw;
47 typedef struct tyObject_Table__iowAVDkco3qpbEH0z8OmkQ tyObject_Table__iowAVDkco3qpbEH0z8OmkQ;
48 typedef struct tySequence__bTDCDwD2P7TodzbAefLcSw tySequence__bTDCDwD2P7TodzbAefLcSw;
49 typedef struct tyObject_Table__KUYGGgSxi8wBr0SXET9bi3w tyObject_Table__KUYGGgSxi8wBr0SXET9bi3w;
50 typedef struct tySequence__3MPVXAHA08SszBrU4ffqEg tySequence__3MPVXAHA08SszBrU4ffqEg;
51 typedef struct tyObject_Table__KcymdZjUsmGSK8BxmvoJgw tyObject_Table__KcymdZjUsmGSK8BxmvoJgw;
52 typedef struct tySequence__YCf5zJHm4JI06qpmKwPUWg tySequence__YCf5zJHm4JI06qpmKwPUWg;
53 typedef struct tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA;
54 typedef struct tySequence__7lEisrXlQEzwtUKW5pzRCw tySequence__7lEisrXlQEzwtUKW5pzRCw;
55 typedef struct tyObject_PackedConfig__McwvRupqDAJbGrinIDFZJQ tyObject_PackedConfig__McwvRupqDAJbGrinIDFZJQ;
56 typedef struct tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA;
57 typedef struct tySequence__eHqUwlHGGaPw0TDPDeL79cQ tySequence__eHqUwlHGGaPw0TDPDeL79cQ;
58 typedef struct tyObject_Table__hd3qB0wXU9bWPJR7fjShhbA tyObject_Table__hd3qB0wXU9bWPJR7fjShhbA;
59 typedef struct tySequence__61s9cbAniKuBrdHwBhMDfQg tySequence__61s9cbAniKuBrdHwBhMDfQg;
60 typedef struct tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA;
61 typedef struct tyObject_TrunkcolonObjectType___POcWT53G7t0BSUjc31o0iA tyObject_TrunkcolonObjectType___POcWT53G7t0BSUjc31o0iA;
62 typedef struct tySequence__Bre9bNyuQOg1EJKitjSzn8w tySequence__Bre9bNyuQOg1EJKitjSzn8w;
63 typedef struct tyObject_Table__fdKWDDO1P17zvuQPReVgRA tyObject_Table__fdKWDDO1P17zvuQPReVgRA;
64 typedef struct tySequence__fdmz6VkIf1ewwrssKYqRFg tySequence__fdmz6VkIf1ewwrssKYqRFg;
65 typedef struct tyObject_Table__e2Ciu0s1q49aVQ7ULXy7l9bQ tyObject_Table__e2Ciu0s1q49aVQ7ULXy7l9bQ;
66 typedef struct tySequence__kxu4GK0onha2t9bo86mdVAg tySequence__kxu4GK0onha2t9bo86mdVAg;
67 typedef struct tySequence__48JTohSgTy339bRxHzUD8KA tySequence__48JTohSgTy339bRxHzUD8KA;
68 typedef struct tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw;
69 typedef struct tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw;
70 typedef struct tySequence__s9byh6WFJ16lPMcmqdaMTHA tySequence__s9byh6WFJ16lPMcmqdaMTHA;
71 typedef struct tyObject_Table__Ue6w4c82v7gc7t2qntTbAw tyObject_Table__Ue6w4c82v7gc7t2qntTbAw;
72 typedef struct tySequence__1U9bG8RcAedEeYkQLZjVFKA tySequence__1U9bG8RcAedEeYkQLZjVFKA;
73 typedef struct tyObject_Table__G1v8c16HePOldLeucwe05Q tyObject_Table__G1v8c16HePOldLeucwe05Q;
74 typedef struct tySequence__fIB1rTQ55aFonoft9a9bmljQ tySequence__fIB1rTQ55aFonoft9a9bmljQ;
75 typedef struct tyObject_Table__0Y2brGGKD9bV6GJLXT9aUDgA tyObject_Table__0Y2brGGKD9bV6GJLXT9aUDgA;
76 typedef struct tySequence__23SMqauuRsbDANhthj9bWlA tySequence__23SMqauuRsbDANhthj9bWlA;
77 typedef struct tyObject_Table__NttoEzoiq5CiphZe81oadg tyObject_Table__NttoEzoiq5CiphZe81oadg;
78 typedef struct tySequence__squ9b9bUH4OLHf6cEMrt6hVA tySequence__squ9b9bUH4OLHf6cEMrt6hVA;
79 typedef struct tyObject_Table__nagDFX4QHx0s6Fvma9blmSg tyObject_Table__nagDFX4QHx0s6Fvma9blmSg;
80 typedef struct tySequence__pHNq3oXj9av2sEUdqaqeZjw tySequence__pHNq3oXj9av2sEUdqaqeZjw;
81 typedef struct tySequence__MAQKEADohlpnXTModtugbQ tySequence__MAQKEADohlpnXTModtugbQ;
82 typedef struct tyObject_Operators__EbMP71azE1HSvYAQoCH9cXA tyObject_Operators__EbMP71azE1HSvYAQoCH9cXA;
83 typedef struct tyObject_Target__9abOl5DLX8suLujOaHSvGzw tyObject_Target__9abOl5DLX8suLujOaHSvGzw;
84 typedef struct tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg;
85 typedef struct tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A;
86 typedef struct tySequence__tNFrR3kRuS1FSwuiLGoSSA tySequence__tNFrR3kRuS1FSwuiLGoSSA;
87 typedef struct tySequence__Zi9cGbCWofbtABoHJ5RbLNQ tySequence__Zi9cGbCWofbtABoHJ5RbLNQ;
88 typedef struct tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg;
89 typedef struct tySequence__4eRCaZmrYLLw2k30GPTiMw tySequence__4eRCaZmrYLLw2k30GPTiMw;
90 typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
91 typedef struct tyTuple__47w2DboNEPf69aPgubZdd7Q tyTuple__47w2DboNEPf69aPgubZdd7Q;
92 typedef struct tySequence__pK3qSsBZwdXd6qyUMkd5Jw tySequence__pK3qSsBZwdXd6qyUMkd5Jw;
93 typedef struct tyObject_SuggestcolonObjectType___bkMuTTb2G70XfpzAiyNrnQ tyObject_SuggestcolonObjectType___bkMuTTb2G70XfpzAiyNrnQ;
94 typedef struct tyObject_ProfileDatacolonObjectType___rPBBfFL4X0b9cQ6rfMNPXig tyObject_ProfileDatacolonObjectType___rPBBfFL4X0b9cQ6rfMNPXig;
95 typedef struct tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ;
96 typedef struct tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ;
97 typedef struct tySequence__KHtASjJ36dOrANNiImdvag tySequence__KHtASjJ36dOrANNiImdvag;
98 typedef struct tyTuple__jy9cqXDNMQDkZGlO5foeORw tyTuple__jy9cqXDNMQDkZGlO5foeORw;
99 typedef struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g;
100 typedef struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w;
101 typedef struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ;
102 typedef struct tyObject_GcStack__7fytPA5bBsob6See21YMRA tyObject_GcStack__7fytPA5bBsob6See21YMRA;
103 typedef struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg;
104 typedef struct tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ;
105 typedef struct tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg;
106 typedef struct tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw;
107 typedef struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA;
108 typedef struct tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw;
109 typedef struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw;
110 typedef struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg;
111 typedef struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyTuple__ujsjpB2O9cjj3uDHsXbnSzg;
112 typedef struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg;
113 typedef struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ;
114 typedef struct tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg;
115 typedef struct tyTuple__kN8up2W6YKc5YA9avn5mV5w tyTuple__kN8up2W6YKc5YA9avn5mV5w;
116 typedef struct tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw;
117 typedef struct tyObject_Table__JrI9bTpOVccKpiJXKOskjFg tyObject_Table__JrI9bTpOVccKpiJXKOskjFg;
118 typedef struct tySequence__YuKuU17u5ApAIki23DK9bJw tySequence__YuKuU17u5ApAIki23DK9bJw;
119 typedef struct tyTuple__Wymbvuvlf49clEgp9bKoFN9bw tyTuple__Wymbvuvlf49clEgp9bKoFN9bw;
120 typedef struct tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug;
121 typedef struct tyObject_Iface__uvkV248cZcsEQKaQm7C9aEA tyObject_Iface__uvkV248cZcsEQKaQm7C9aEA;
122 typedef struct tySequence__vv5mGmK03BCr5e3LTZA5Hw tySequence__vv5mGmK03BCr5e3LTZA5Hw;
123 typedef struct tyObject_LoadedModule__14iJKkvOiWT62KF2D8f9c5w tyObject_LoadedModule__14iJKkvOiWT62KF2D8f9c5w;
124 typedef struct tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ;
125 typedef struct tySequence__PXIzfWocnrafGz5p3CP5LA tySequence__PXIzfWocnrafGz5p3CP5LA;
126 typedef struct tySequence__9bAGqSvkAaFL9bWjsEPslrFA tySequence__9bAGqSvkAaFL9bWjsEPslrFA;
127 typedef struct tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw;
128 typedef struct tySequence__29bS0n2QNyO1R7e0qMMOvLA tySequence__29bS0n2QNyO1R7e0qMMOvLA;
129 typedef struct tySequence__b89aLriiJnVTD186H6zNIgg tySequence__b89aLriiJnVTD186H6zNIgg;
130 typedef struct tySequence__REuPuHuSlOkZ0Q5oqzDrQg tySequence__REuPuHuSlOkZ0Q5oqzDrQg;
131 typedef struct tySequence__I9aQmO9asXXWJ58UI9c8BCSzA tySequence__I9aQmO9asXXWJ58UI9c8BCSzA;
132 typedef struct tySequence__NyaOkf8ZwxP6rkRF5TOkew tySequence__NyaOkf8ZwxP6rkRF5TOkew;
133 typedef struct tySequence__L9bOt8CaTEmIjgtuZvp6syg tySequence__L9bOt8CaTEmIjgtuZvp6syg;
134 typedef struct tySequence__im8UB2GsZvUaQ4a1wKGWhQ tySequence__im8UB2GsZvUaQ4a1wKGWhQ;
135 typedef struct tySequence__xxnXDLpoqBo8zJzP9b1073g tySequence__xxnXDLpoqBo8zJzP9b1073g;
136 typedef struct tySequence__DfmUmNgVGnYaiV1I6227tw tySequence__DfmUmNgVGnYaiV1I6227tw;
137 typedef struct tySequence__t8Uv4lEJ4lkuECvP9c6JMhA tySequence__t8Uv4lEJ4lkuECvP9c6JMhA;
138 typedef struct tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg;
139 typedef struct tyObject_BiTable__DyMEQOe8VsqcG49bIhU69bBQ tyObject_BiTable__DyMEQOe8VsqcG49bIhU69bBQ;
140 typedef struct tySequence__IHUFRsFxZNv7YydiUO2esQ tySequence__IHUFRsFxZNv7YydiUO2esQ;
141 typedef struct tyObject_Table__CE4eiu6FavV1vmUiTXQ70g tyObject_Table__CE4eiu6FavV1vmUiTXQ70g;
142 typedef struct tySequence__9bT7o0CflHuiE4VhmtqBPCw tySequence__9bT7o0CflHuiE4VhmtqBPCw;
143 typedef struct tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw;
144 typedef struct tyObject_Table__TRm6MPqklA8EYBmBMY117Q tyObject_Table__TRm6MPqklA8EYBmBMY117Q;
145 typedef struct tySequence__9cnx3zXnWzeclW8Ko4oUgAQ tySequence__9cnx3zXnWzeclW8Ko4oUgAQ;
146 typedef struct tyTuple__l7R9cf53SDCcRmz9aWTyEKqQ tyTuple__l7R9cf53SDCcRmz9aWTyEKqQ;
147 typedef struct tySequence__O5RcspOP32YJ4YtU5ppxxA tySequence__O5RcspOP32YJ4YtU5ppxxA;
148 typedef struct tyObject_LazyType__Q19c34D32PKyTKlx6R6yODg tyObject_LazyType__Q19c34D32PKyTKlx6R6yODg;
149 typedef struct tyObject_FullId__pfGm9bmVgXcP2kl6OfHhZgQ tyObject_FullId__pfGm9bmVgXcP2kl6OfHhZgQ;
150 typedef struct tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ;
151 typedef struct tyTuple__o67sDX0wYbEuhI9cJYAbDtg tyTuple__o67sDX0wYbEuhI9cJYAbDtg;
152 typedef struct tySequence__Or1y9bNpmj8PM8AcK9c9cg7RA tySequence__Or1y9bNpmj8PM8AcK9c9cg7RA;
153 typedef struct tyObject_LazyInstantiation__rlce0Sj8mBfLfm69c2yVTZg tyObject_LazyInstantiation__rlce0Sj8mBfLfm69c2yVTZg;
154 typedef struct tySequence__ipEvhpHAmm8ZCn9bZAOdNYA tySequence__ipEvhpHAmm8ZCn9bZAOdNYA;
155 typedef struct tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA;
156 typedef struct tyTuple__9aNnDWBFMF44sfFinBpMT4Q tyTuple__9aNnDWBFMF44sfFinBpMT4Q;
157 typedef struct tyTuple__dT8l9anHpNRgQSBAI9ctQ2wg tyTuple__dT8l9anHpNRgQSBAI9ctQ2wg;
158 typedef struct tySequence__159bHWBGAOOs6U7OZ9cQlO0g tySequence__159bHWBGAOOs6U7OZ9cQlO0g;
159 typedef struct tyTuple__VrD6plbUKJjYKM0lCr3hGQ tyTuple__VrD6plbUKJjYKM0lCr3hGQ;
160 typedef struct tyObject_LazySym__rhF4Xi6CELPmWy539c1l6fA tyObject_LazySym__rhF4Xi6CELPmWy539c1l6fA;
161 typedef struct tyTuple__1ZbjBgxAbnye0IFMZ6w4OA tyTuple__1ZbjBgxAbnye0IFMZ6w4OA;
162 typedef struct tyTuple__xYhUhS7X82rKTqbT9bRfCnw tyTuple__xYhUhS7X82rKTqbT9bRfCnw;
163 typedef struct tyTuple__rplX06U9bjhu9asm5pWdgqsA tyTuple__rplX06U9bjhu9asm5pWdgqsA;
164 typedef struct tyTuple__1mtQ8sCEE7DbfIuQciv9b5Q tyTuple__1mtQ8sCEE7DbfIuQciv9b5Q;
165 typedef struct tyTuple__xDU9bZmv1ZbZkJDaATBekIQ tyTuple__xDU9bZmv1ZbZkJDaATBekIQ;
166 typedef struct tyTuple__a9bBCAQ2tegdUQVlHYxdJ2A tyTuple__a9bBCAQ2tegdUQVlHYxdJ2A;
167 typedef struct tyTuple__3i6hlQmqrn6m7tuVN8FHjQ tyTuple__3i6hlQmqrn6m7tuVN8FHjQ;
168 typedef struct tyTuple__OJFzEczluV8Jmo9bRpBfkzw tyTuple__OJFzEczluV8Jmo9bRpBfkzw;
169 typedef struct tyTuple__2SGm9aGCXuo7XSQ9bqD29axXw tyTuple__2SGm9aGCXuo7XSQ9bqD29axXw;
170 typedef struct tyTuple__F3gkSrMB1qp2Tvf9bixVXwg tyTuple__F3gkSrMB1qp2Tvf9bixVXwg;
171 typedef struct tyTuple__wcNatyuf8WOqAhGLhSvgiw tyTuple__wcNatyuf8WOqAhGLhSvgiw;
172 typedef struct tyObject_BTree__VZdzO0Tlflp7WMN4gS8oPg tyObject_BTree__VZdzO0Tlflp7WMN4gS8oPg;
173 typedef struct tyObject_NodecolonObjectType___dNELmBSmY7nthjhZupWO6g tyObject_NodecolonObjectType___dNELmBSmY7nthjhZupWO6g;
174 typedef struct tyTuple__4o9cW9aUwdGqgZI9bSHHYnbaQ tyTuple__4o9cW9aUwdGqgZI9bSHHYnbaQ;
175 typedef struct tyObject_TPassContext__Hb6rFM0ecvtlLf2kv9aU75w tyObject_TPassContext__Hb6rFM0ecvtlLf2kv9aU75w;
176 typedef struct tyTuple__z822nu9bFF1AlQnLrHjdwpA tyTuple__z822nu9bFF1AlQnLrHjdwpA;
177 typedef struct tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw;
178 typedef struct tyTuple__QeWl6B6ffS4pU6WWrtcrDw tyTuple__QeWl6B6ffS4pU6WWrtcrDw;
179 typedef struct tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg;
180 typedef struct tyTuple__0q9cmhneJEKnQERTpXXdz6Q tyTuple__0q9cmhneJEKnQERTpXXdz6Q;
181 typedef struct tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow;
182 typedef struct tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg;
183 typedef struct tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ;
184 typedef struct tyTuple__Q7r9caOmeWqQGZCIBHhGRUA tyTuple__Q7r9caOmeWqQGZCIBHhGRUA;
185 typedef struct tyTuple__7Wlwbz8zSe7Udyf7mmsd9cg tyTuple__7Wlwbz8zSe7Udyf7mmsd9cg;
186 typedef struct tyTuple__XyJ8LOAZzVVXSsmt09b8uWw tyTuple__XyJ8LOAZzVVXSsmt09b8uWw;
187 typedef struct tyObject_PackedInstantiation__39cWRURu69agjI9c1ohiUmxiA tyObject_PackedInstantiation__39cWRURu69agjI9c1ohiUmxiA;
188 typedef struct tySequence__vC9cvg0R8tfBaOXXi3sfMzw tySequence__vC9cvg0R8tfBaOXXi3sfMzw;
189 typedef struct tyTuple__9aoobCDZB4x41HJSOmh0mwA tyTuple__9aoobCDZB4x41HJSOmh0mwA;
190 typedef struct tyTuple__g0Q6Qx15nK53ce9aLo7YyrA tyTuple__g0Q6Qx15nK53ce9aLo7YyrA;
191 typedef struct tyObject_PackedSym__XjVn21MwvH8ij6CfopYZWw tyObject_PackedSym__XjVn21MwvH8ij6CfopYZWw;
192 typedef struct tyObject_PackedLib__oa01YzfeXO9bbIDH9cIki4Hw tyObject_PackedLib__oa01YzfeXO9bbIDH9cIki4Hw;
193 typedef struct tyObject_PackedType__IhXsK7mrwumUBtEqbZ2BqA tyObject_PackedType__IhXsK7mrwumUBtEqbZ2BqA;
194 typedef struct tyTuple__8x6vq4Dc9aLvKX9actMeR9avQ tyTuple__8x6vq4Dc9aLvKX9actMeR9avQ;
195 typedef struct tyTuple__UvldbCB6B9ayi9bGYW7vJNLA tyTuple__UvldbCB6B9ayi9bGYW7vJNLA;
196 typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
197 typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
198 typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
199 typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
200 struct TNimType {
201 NI size;
202 NI align;
203 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
204 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
205 TNimType* base;
206 TNimNode* node;
207 void* finalizer;
208 tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
209 tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
210 };
211 struct RootObj {
212 TNimType* m_type;
213 };
214 struct tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g {
215 NI32 module;
216 NI32 item;
217 };
218 struct tyObject_TIdObj__KUwfjfUQEwGHguQbTcXu7w {
219   RootObj Sup;
220 tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g itemId;
221 };
222 typedef NU8 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw;
223 typedef NU16 tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg;
224 struct tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q {
225 NU16 line;
226 NI16 col;
227 NI32 fileIndex;
228 };
229 typedef NU64 tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw;
230 typedef NU32 tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg;
231 typedef NU8 tyEnum_TLocKind__O7PRFZKuiBBWbku09cayVBg;
232 typedef NU8 tyEnum_TStorageLoc__JK9cKMX3XnqHaUky9b6gkGEw;
233 typedef NU16 tySet_tyEnum_TLocFlag__o2bqJgR4ceIupnUSpxiudA;
234 struct tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA {
235 tyEnum_TLocKind__O7PRFZKuiBBWbku09cayVBg k;
236 tyEnum_TStorageLoc__JK9cKMX3XnqHaUky9b6gkGEw storage;
237 tySet_tyEnum_TLocFlag__o2bqJgR4ceIupnUSpxiudA flags;
238 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* lode;
239 tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* r;
240 };
241 struct tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ {
242   tyObject_TIdObj__KUwfjfUQEwGHguQbTcXu7w Sup;
243 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw kind;
244 union{
245 struct {tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* gcUnsafetyReason;
246 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* transformedBody;
247 } _kind_1;
248 struct {tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* guard;
249 NI bitsize;
250 NI alignment;
251 } _kind_2;
252 };
253 tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg magic;
254 tyObject_TType__facALICuu8zUj0hjvbTLFg* typ;
255 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* name;
256 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info;
257 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner;
258 tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw flags;
259 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ast;
260 tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg options;
261 NI position;
262 NI offset;
263 tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA loc;
264 tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA* annex;
265 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* constraint;
266 };
267 typedef NU8 tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw;
268 typedef NU8 tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag;
269 typedef NU8 tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA;
270 typedef NU64 tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw;
271 struct tyObject_TType__facALICuu8zUj0hjvbTLFg {
272   tyObject_TIdObj__KUwfjfUQEwGHguQbTcXu7w Sup;
273 tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag kind;
274 tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA callConv;
275 tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw flags;
276 tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A* sons;
277 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n;
278 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner;
279 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* sym;
280 NI64 size;
281 NI16 align;
282 NI16 paddingAtEnd;
283 NI16 lockLevel;
284 tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA loc;
285 tyObject_TType__facALICuu8zUj0hjvbTLFg* typeInst;
286 tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g uniqueId;
287 };
288 typedef NU32 tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg;
289 typedef NU8 tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw;
290 struct TGenericSeq {
291 NI len;
292 NI reserved;
293 };
294 struct NimStringDesc {
295   TGenericSeq Sup;
296 NIM_CHAR data[SEQ_DECL_SIZE];
297 };
298 struct tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw {
299 tyObject_TType__facALICuu8zUj0hjvbTLFg* typ;
300 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info;
301 tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg flags;
302 tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind;
303 union{
304 struct {NI64 intVal;
305 } _kind_1;
306 struct {NF floatVal;
307 } _kind_2;
308 struct {NimStringDesc* strVal;
309 } _kind_3;
310 struct {tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* sym;
311 } _kind_4;
312 struct {tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* ident;
313 } _kind_5;
314 struct {tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ* sons;
315 } _kind_6;
316 };
317 };
318 typedef NU8 tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw;
319 struct tyObject_Table__ZqXrnX212T9bCb4lhpQ9bFBw {
320 tySequence__ChDZ6dokJ9aj9cg3KBoCU5vg* data;
321 NI counter;
322 };
323 struct tyObject_Table__UVZI5J9aS51B4B0eYPpW1Rg {
324 tySequence__mWRMiYLthG9coLjkbElCxkw* data;
325 NI counter;
326 };
327 struct tyObject_Table__iowAVDkco3qpbEH0z8OmkQ {
328 tySequence__bTDCDwD2P7TodzbAefLcSw* data;
329 NI counter;
330 };
331 typedef tyObject_Table__iowAVDkco3qpbEH0z8OmkQ tyArray__pxY9cgs6r9cBvGwlO8XZ9ccbQ[5];
332 struct tyObject_Table__KUYGGgSxi8wBr0SXET9bi3w {
333 tySequence__3MPVXAHA08SszBrU4ffqEg* data;
334 NI counter;
335 };
336 struct tyObject_Table__KcymdZjUsmGSK8BxmvoJgw {
337 tySequence__YCf5zJHm4JI06qpmKwPUWg* data;
338 NI counter;
339 };
340 struct tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA {
341 tySequence__7lEisrXlQEzwtUKW5pzRCw* data;
342 NI counter;
343 };
344 typedef NU8 tyEnum_TBackend__4OBsgZ9cscH2JLUE5Wcz01g;
345 typedef NU8 tyEnum_TGCMode__tkz389aDYNd8ykeZszCuBSw;
346 typedef NU8 tyEnum_TSystemCC__1eWBJUonHMOnlBwsOvpFmA;
347 typedef NU64 tySet_tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw;
348 struct tyObject_PackedConfig__McwvRupqDAJbGrinIDFZJQ {
349 tyEnum_TBackend__4OBsgZ9cscH2JLUE5Wcz01g backend;
350 tyEnum_TGCMode__tkz389aDYNd8ykeZszCuBSw selectedGC;
351 tyEnum_TSystemCC__1eWBJUonHMOnlBwsOvpFmA cCompiler;
352 tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg options;
353 tySet_tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw globalOptions;
354 };
355 struct tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA {
356 NI counter;
357 tySequence__eHqUwlHGGaPw0TDPDeL79cQ* data;
358 };
359 struct tyObject_Table__hd3qB0wXU9bWPJR7fjShhbA {
360 tySequence__61s9cbAniKuBrdHwBhMDfQg* data;
361 NI counter;
362 };
363 typedef NI tyArray__emiAJ8okywrJw7ZHLzlXbQ[34];
364 struct tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA {
365 NI elems;
366 NI counter;
367 NI max;
368 tyObject_TrunkcolonObjectType___POcWT53G7t0BSUjc31o0iA* head;
369 tySequence__Bre9bNyuQOg1EJKitjSzn8w* data;
370 tyArray__emiAJ8okywrJw7ZHLzlXbQ a;
371 };
372 struct tyObject_Table__fdKWDDO1P17zvuQPReVgRA {
373 tySequence__fdmz6VkIf1ewwrssKYqRFg* data;
374 NI counter;
375 };
376 struct tyObject_Table__e2Ciu0s1q49aVQ7ULXy7l9bQ {
377 tySequence__kxu4GK0onha2t9bo86mdVAg* data;
378 NI counter;
379 };
380 typedef struct {
381 N_NIMCALL_PTR(NIM_BOOL, ClP_0) (void* ClE_0);
382 void* ClE_0;
383 } tyProc__In3g79a0qTcRmbTbJp9ba9ctg;
384 typedef tyObject_TType__facALICuu8zUj0hjvbTLFg* tyArray__9bjuenwQUcqO3lbmS2wX7uA[65];
385 struct tyObject_Table__Ue6w4c82v7gc7t2qntTbAw {
386 tySequence__1U9bG8RcAedEeYkQLZjVFKA* data;
387 NI counter;
388 };
389 struct tyObject_Table__G1v8c16HePOldLeucwe05Q {
390 tySequence__fIB1rTQ55aFonoft9a9bmljQ* data;
391 NI counter;
392 };
393 typedef N_NIMCALL_PTR(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, tyProc__VHDwJFdIqpwtpUGuxiXUwg) (tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* graph, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* m, NI32 fileIdx);
394 typedef N_NIMCALL_PTR(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, tyProc__mjUN9alLJ31lnSKkUsuyWMw) (tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* graph, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* m, NI32 fileIdx);
395 struct tyObject_Table__0Y2brGGKD9bV6GJLXT9aUDgA {
396 tySequence__23SMqauuRsbDANhthj9bWlA* data;
397 NI counter;
398 };
399 struct tyObject_Table__NttoEzoiq5CiphZe81oadg {
400 tySequence__squ9b9bUH4OLHf6cEMrt6hVA* data;
401 NI counter;
402 };
403 struct tyObject_Table__nagDFX4QHx0s6Fvma9blmSg {
404 tySequence__pHNq3oXj9av2sEUdqaqeZjw* data;
405 NI counter;
406 };
407 typedef N_NIMCALL_PTR(void, tyProc__TjycsqkDBjsxd4da6KYTng) (tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* graph, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
408 typedef N_NIMCALL_PTR(void, tyProc__Mrj9cEgtPER9bAXMDB9cTXrfQ) (tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* graph, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* body);
409 typedef N_NIMCALL_PTR(NIM_BOOL, tyProc__J7Jq15ZScfKLqcLx8sEz9cA) (tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* graph, tyObject_TType__facALICuu8zUj0hjvbTLFg* formal, tyObject_TType__facALICuu8zUj0hjvbTLFg* actual);
410 struct tyObject_Operators__EbMP71azE1HSvYAQoCH9cXA {
411 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* opNot;
412 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* opContains;
413 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* opLe;
414 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* opLt;
415 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* opAnd;
416 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* opOr;
417 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* opIsNil;
418 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* opEq;
419 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* opAdd;
420 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* opSub;
421 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* opMul;
422 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* opDiv;
423 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* opLen;
424 };
425 struct tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ {
426 tySequence__4mZLwkxT8rbt9bf3wXrXYNQ* ifaces;
427 tySequence__rQHmYk1HzcwNxKBymIFHpA* packed_0;
428 tySequence__XMM60DtBsc6xYsIpNANkrA* encoders;
429 tyObject_Table__ZqXrnX212T9bCb4lhpQ9bFBw typeInstCache;
430 tyObject_Table__UVZI5J9aS51B4B0eYPpW1Rg procInstCache;
431 tyArray__pxY9cgs6r9cBvGwlO8XZ9ccbQ attachedOps;
432 tyObject_Table__KUYGGgSxi8wBr0SXET9bi3w methodsPerType;
433 tyObject_Table__KcymdZjUsmGSK8BxmvoJgw enumToStringProcs;
434 tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA emittedTypeInfo;
435 tyObject_PackedConfig__McwvRupqDAJbGrinIDFZJQ startupPackedConfig;
436 tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA packageSyms;
437 tyObject_Table__hd3qB0wXU9bWPJR7fjShhbA modulesPerPackage;
438 tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA deps;
439 tyObject_Table__fdKWDDO1P17zvuQPReVgRA importDeps;
440 NIM_BOOL suggestMode;
441 NIM_BOOL invalidTransitiveClosure;
442 tyObject_Table__e2Ciu0s1q49aVQ7ULXy7l9bQ inclToMod;
443 tySequence__48JTohSgTy339bRxHzUD8KA* importStack;
444 RootObj* backend;
445 tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config;
446 tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache;
447 RootObj* vm;
448 tyProc__In3g79a0qTcRmbTbJp9ba9ctg doStopCompile;
449 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* usageSym;
450 tySequence__eHqUwlHGGaPw0TDPDeL79cQ* owners;
451 tySequence__s9byh6WFJ16lPMcmqdaMTHA* methods;
452 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* systemModule;
453 tyArray__9bjuenwQUcqO3lbmS2wX7uA sysTypes;
454 tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA compilerprocs;
455 tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA exposed;
456 tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA packageTypes;
457 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* emptyNode;
458 tyObject_Table__Ue6w4c82v7gc7t2qntTbAw canonTypes;
459 tyObject_Table__G1v8c16HePOldLeucwe05Q symBodyHashes;
460 tyProc__VHDwJFdIqpwtpUGuxiXUwg importModuleCallback;
461 tyProc__mjUN9alLJ31lnSKkUsuyWMw includeFileCallback;
462 tyObject_Table__0Y2brGGKD9bV6GJLXT9aUDgA cacheSeqs;
463 tyObject_Table__NttoEzoiq5CiphZe81oadg cacheCounters;
464 tyObject_Table__nagDFX4QHx0s6Fvma9blmSg cacheTables;
465 tySequence__MAQKEADohlpnXTModtugbQ* passes;
466 tyProc__TjycsqkDBjsxd4da6KYTng onDefinition;
467 tyProc__TjycsqkDBjsxd4da6KYTng onDefinitionResolveForward;
468 tyProc__TjycsqkDBjsxd4da6KYTng onUsage;
469 tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ* globalDestructors;
470 tyProc__Mrj9cEgtPER9bAXMDB9cTXrfQ strongSemCheck;
471 tyProc__J7Jq15ZScfKLqcLx8sEz9cA compatibleProps;
472 tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen;
473 tyObject_Operators__EbMP71azE1HSvYAQoCH9cXA operators;
474 };
475 typedef NU8 tyEnum_TSystemCPU__XYDt7D1G3qcClFyZy1Ky9ag;
476 typedef NU8 tyEnum_TSystemOS__s7Mlr1t66SUqP6BKJMXLaQ;
477 struct tyObject_Target__9abOl5DLX8suLujOaHSvGzw {
478 tyEnum_TSystemCPU__XYDt7D1G3qcClFyZy1Ky9ag targetCPU;
479 tyEnum_TSystemCPU__XYDt7D1G3qcClFyZy1Ky9ag hostCPU;
480 tyEnum_TSystemOS__s7Mlr1t66SUqP6BKJMXLaQ targetOS;
481 tyEnum_TSystemOS__s7Mlr1t66SUqP6BKJMXLaQ hostOS;
482 NI intSize;
483 NI floatSize;
484 NI ptrSize;
485 NimStringDesc* tnl;
486 };
487 typedef NU8 tySet_tyEnum_TErrorOutput__fBf8Teueoz9aAkO5cXaxrpA;
488 struct tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A {
489 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q trackPos;
490 NIM_BOOL trackPosAttached;
491 tySet_tyEnum_TErrorOutput__fBf8Teueoz9aAkO5cXaxrpA errorOutputs;
492 tySequence__tNFrR3kRuS1FSwuiLGoSSA* msgContext;
493 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q lastError;
494 tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA filenameToIndexTbl;
495 tySequence__Zi9cGbCWofbtABoHJ5RbLNQ* fileInfos;
496 NI32 systemFileIdx;
497 };
498 typedef NU8 tyEnum_FilenameOption__eL86bAtPxXWHj24F5gOMFQ;
499 typedef NU8 tyEnum_Command__0zjcIQ623TIRGPdtjLwTFA;
500 typedef NU8 tyEnum_ExceptionSystem__1mkAogyaDAT7g9cQjzsgKLQ;
501 typedef NU8 tyEnum_SymbolFilesOption__gBES9bqm1ru9ape8SeMRAFgQ;
502 struct tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg {
503 tySequence__4eRCaZmrYLLw2k30GPTiMw* data;
504 NI counter;
505 };
506 typedef NU32 tySet_tyEnum_Feature__01UoAKYz1MxZiuG1X2VhNQ;
507 typedef NU8 tySet_tyEnum_LegacyFeature__hGCD9aOrxPvpXn4Ne6W6OVA;
508 typedef NU8 tyEnum_IdeCmd__1Ced39bl5eePmZ1PKMPXigQ;
509 typedef NU8 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug[11];
510 struct tyTuple__47w2DboNEPf69aPgubZdd7Q {
511 NI Field0;
512 NI Field1;
513 NI Field2;
514 };
515 typedef NU8 tySet_tyEnum_StdOrrKind__6cbmyTzDPaZU9afMe4mz3Ug;
516 typedef struct {
517 N_NIMCALL_PTR(void, ClP_0) (tyObject_SuggestcolonObjectType___bkMuTTb2G70XfpzAiyNrnQ* result, void* ClE_0);
518 void* ClE_0;
519 } tyProc__YD0MR9bJ2x4beJkZdnjXN9cA;
520 typedef struct {
521 N_NIMCALL_PTR(void, ClP_0) (NimStringDesc* output, void* ClE_0);
522 void* ClE_0;
523 } tyProc__k2HFjxisIgDALbEUFojxaQ;
524 typedef NU8 tyEnum_Severity__x5BWBPGAbIH9clm5pmNp5DA;
525 typedef struct {
526 N_NIMCALL_PTR(void, ClP_0) (tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, NimStringDesc* msg, tyEnum_Severity__x5BWBPGAbIH9clm5pmNp5DA severity, void* ClE_0);
527 void* ClE_0;
528 } tyProc__oL9coyIA2VDTGdUcur9aL9bew;
529 struct tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw {
530 tyEnum_TBackend__4OBsgZ9cscH2JLUE5Wcz01g backend;
531 tyObject_Target__9abOl5DLX8suLujOaHSvGzw target;
532 NI linesCompiled;
533 tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg options;
534 tySet_tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw globalOptions;
535 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* macrosToExpand;
536 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* arcToExpand;
537 tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A m;
538 tyEnum_FilenameOption__eL86bAtPxXWHj24F5gOMFQ filenameOption;
539 NimStringDesc* unitSep;
540 NI evalTemplateCounter;
541 NI evalMacroCounter;
542 NI8 exitcode;
543 tyEnum_Command__0zjcIQ623TIRGPdtjLwTFA cmd;
544 NimStringDesc* cmdInput;
545 NIM_BOOL projectIsCmd;
546 NIM_BOOL implicitCmd;
547 tyEnum_TGCMode__tkz389aDYNd8ykeZszCuBSw selectedGC;
548 tyEnum_ExceptionSystem__1mkAogyaDAT7g9cQjzsgKLQ exc;
549 NIM_BOOL hintProcessingDots;
550 NI verbosity;
551 NI numberOfProcessors;
552 NF lastCmdTime;
553 tyEnum_SymbolFilesOption__gBES9bqm1ru9ape8SeMRAFgQ symbolFiles;
554 NI spellSuggestMax;
555 tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg cppDefines;
556 NimStringDesc* headerFile;
557 tySet_tyEnum_Feature__01UoAKYz1MxZiuG1X2VhNQ features;
558 tySet_tyEnum_LegacyFeature__hGCD9aOrxPvpXn4Ne6W6OVA legacyFeatures;
559 NimStringDesc* arguments;
560 tyEnum_IdeCmd__1Ced39bl5eePmZ1PKMPXigQ ideCmd;
561 NIM_BOOL oldNewlines;
562 tyEnum_TSystemCC__1eWBJUonHMOnlBwsOvpFmA cCompiler;
563 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug modifiedyNotes;
564 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug cmdlineNotes;
565 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug foreignPackageNotes;
566 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug notes;
567 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug warningAsErrors;
568 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug mainPackageNotes;
569 NI mainPackageId;
570 NI errorCounter;
571 NI hintCounter;
572 NI warnCounter;
573 NI errorMax;
574 NI maxLoopIterationsVM;
575 NIM_BOOL isVmTrace;
576 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* configVars;
577 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* symbols;
578 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* packageCache;
579 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* nimblePaths;
580 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* searchPaths;
581 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* lazyPaths;
582 NimStringDesc* outFile;
583 NimStringDesc* outDir;
584 NimStringDesc* jsonBuildFile;
585 NimStringDesc* prefixDir;
586 NimStringDesc* libpath;
587 NimStringDesc* nimcacheDir;
588 tyTuple__47w2DboNEPf69aPgubZdd7Q nimStdlibVersion;
589 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* dllOverrides;
590 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* moduleOverrides;
591 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* cfileSpecificOptions;
592 NimStringDesc* projectName;
593 NimStringDesc* projectPath;
594 NimStringDesc* projectFull;
595 NIM_BOOL projectIsStdin;
596 tySet_tyEnum_StdOrrKind__6cbmyTzDPaZU9afMe4mz3Ug lastMsgWasDot;
597 NI32 projectMainIdx;
598 NI32 projectMainIdx2;
599 NimStringDesc* command;
600 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* commandArgs;
601 NimStringDesc* commandLine;
602 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* extraCmds;
603 NIM_BOOL keepComments;
604 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* implicitImports;
605 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* implicitIncludes;
606 NimStringDesc* docSeeSrcUrl;
607 NimStringDesc* docRoot;
608 NimStringDesc* docCmd;
609 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* configFiles;
610 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cIncludes;
611 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cLibs;
612 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cLinkedLibs;
613 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* externalToLink;
614 NimStringDesc* linkOptionsCmd;
615 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* compileOptionsCmd;
616 NimStringDesc* linkOptions;
617 NimStringDesc* compileOptions;
618 NimStringDesc* cCompilerPath;
619 tySequence__pK3qSsBZwdXd6qyUMkd5Jw* toCompile;
620 tyProc__YD0MR9bJ2x4beJkZdnjXN9cA suggestionResultHook;
621 NI suggestVersion;
622 NI suggestMaxResults;
623 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q lastLineInfo;
624 tyProc__k2HFjxisIgDALbEUFojxaQ writelnHook;
625 tyProc__oL9coyIA2VDTGdUcur9aL9bew structuredErrorHook;
626 NimStringDesc* cppCustomNamespace;
627 NimStringDesc* nimMainPrefix;
628 tyObject_ProfileDatacolonObjectType___rPBBfFL4X0b9cQ6rfMNPXig* vmProfileData;
629 };
630 struct tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ {
631 tySequence__KHtASjJ36dOrANNiImdvag* data;
632 NI counter;
633 };
634 struct tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ {
635 tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA processed;
636 tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA capturedVars;
637 tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ ownerToType;
638 NIM_BOOL somethingToDo;
639 tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* graph;
640 tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen;
641 };
642 struct tyTuple__jy9cqXDNMQDkZGlO5foeORw {
643 NI Field0;
644 NI Field1;
645 tyObject_TType__facALICuu8zUj0hjvbTLFg* Field2;
646 };
647 typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
648 struct TNimNode {
649 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
650 NI offset;
651 TNimType* typ;
652 NCSTRING name;
653 NI len;
654 TNimNode** sons;
655 };
656 struct tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q {
657 NI32 module;
658 NI32 symId;
659 NI32 typeId_0;
660 NIM_BOOL sealed;
661 };
662 struct tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA {
663 NI id;
664 NimStringDesc* s;
665 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* next;
666 NI h;
667 };
668 struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {
669 NI refcount;
670 TNimType* typ;
671 };
672 struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {
673 void* bottom;
674 };
675 struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {
676 NI len;
677 NI cap;
678 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
679 };
680 typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SPr7N6UKfuF549bNPiUvSRw[256];
681 typedef NU32 tyArray__BHbOSqU1t9b3Gt7K2c6fQig[24];
682 typedef tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* tyArray__N1u1nqOgmuJN9cSZrnMHgOQ[32];
683 typedef tyArray__N1u1nqOgmuJN9cSZrnMHgOQ tyArray__B6durA4ZCi1xjJvRtyYxMg[24];
684 typedef tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* tyArray__lh2A89ahMmYg9bCmpVaplLbA[256];
685 struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA {
686 tyArray__lh2A89ahMmYg9bCmpVaplLbA data;
687 };
688 typedef tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* tyArray__0aOLqZchNi8nWtMTi8ND8w[2];
689 struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw {
690 tyArray__0aOLqZchNi8nWtMTi8ND8w link;
691 NI key;
692 NI upperBound;
693 NI level;
694 };
695 struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg {
696 tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* Field0;
697 NI Field1;
698 };
699 typedef tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyArray__LzOv2eCDGiceMKQstCLmhw[30];
700 struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg {
701 NI len;
702 tyArray__LzOv2eCDGiceMKQstCLmhw chunks;
703 tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* next;
704 };
705 struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg {
706 NI minLargeObj;
707 NI maxLargeObj;
708 tyArray__SPr7N6UKfuF549bNPiUvSRw freeSmallChunks;
709 NU32 flBitmap;
710 tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
711 tyArray__B6durA4ZCi1xjJvRtyYxMg matrix;
712 tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem;
713 NI currMem;
714 NI maxMem;
715 NI freeMem;
716 NI occ;
717 NI lastSize;
718 tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
719 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root;
720 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted;
721 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last;
722 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
723 NIM_BOOL locked;
724 NIM_BOOL blockChunkSizeIncrease;
725 NI nextChunkSize;
726 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData;
727 tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
728 };
729 struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {
730 NI stackScans;
731 NI cycleCollections;
732 NI maxThreshold;
733 NI maxStackSize;
734 NI maxStackCells;
735 NI cycleTableSize;
736 NI64 maxPause;
737 };
738 struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {
739 NI counter;
740 NI max;
741 tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head;
742 tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data;
743 };
744 struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {
745 tyObject_GcStack__7fytPA5bBsob6See21YMRA stack;
746 NI cycleThreshold;
747 NI zctThreshold;
748 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct;
749 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack;
750 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack;
751 NI recGcLock;
752 tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region;
753 tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat;
754 tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked;
755 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots;
756 NI gcThreadId;
757 };
758 typedef NU8 tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w;
759 typedef NU8 tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw;
760 struct tyTuple__kN8up2W6YKc5YA9avn5mV5w {
761 NimStringDesc* Field0;
762 NI Field1;
763 NI Field2;
764 };
765 typedef NU8 tySet_tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag[9];
766 typedef NU8 tyEnum_ViewTypeKind__3S4FAWaxPP9ahVaUnMsznog;
767 typedef NimStringDesc* tyArray__24KAM9afIUgUaqBaEBB6r9bg[3];
768 typedef NU8 tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw;
769 struct tyObject_Table__JrI9bTpOVccKpiJXKOskjFg {
770 tySequence__YuKuU17u5ApAIki23DK9bJw* data;
771 NI counter;
772 };
773 struct tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw {
774 tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA processed;
775 tyObject_Table__JrI9bTpOVccKpiJXKOskjFg envVars;
776 NI inContainer;
777 tyObject_Table__JrI9bTpOVccKpiJXKOskjFg unownedEnvVars;
778 };
779 struct tyTuple__Wymbvuvlf49clEgp9bKoFN9bw {
780 NI Field0;
781 NI Field1;
782 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* Field2;
783 };
784 typedef tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* tyArray__AB6yfoUgfWM2NtGe9bzkCmw[2];
785 typedef NU8 tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw;
786 typedef NU8 tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg;
787 typedef NU8 tyEnum_TSymKind__uwRDzlpaGW5WJzgBn4R8Eg;
788 struct tyObject_Iface__uvkV248cZcsEQKaQm7C9aEA {
789 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* module;
790 tySequence__vv5mGmK03BCr5e3LTZA5Hw* converters;
791 tySequence__vv5mGmK03BCr5e3LTZA5Hw* patterns;
792 tySequence__vv5mGmK03BCr5e3LTZA5Hw* pureEnums;
793 tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA interf;
794 tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA interfHidden;
795 tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* uniqueName;
796 };
797 typedef NU8 tyEnum_ModuleStatus__MgSLMPwZ4GVYYz7Kn9bmm6Q;
798 struct tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw {
799 tySequence__29bS0n2QNyO1R7e0qMMOvLA* nodes;
800 };
801 typedef NU8 tySet_tyEnum_ModuleBackendFlag__fgnyOEZ7Q9aYVj8O59afcT4g;
802 struct tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg {
803 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* vals;
804 tySequence__9bAGqSvkAaFL9bWjsEPslrFA* keys;
805 };
806 struct tyObject_BiTable__DyMEQOe8VsqcG49bIhU69bBQ {
807 tySequence__IHUFRsFxZNv7YydiUO2esQ* vals;
808 tySequence__9bAGqSvkAaFL9bWjsEPslrFA* keys;
809 };
810 struct tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ {
811 NimStringDesc* definedSymbols;
812 tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw moduleFlags;
813 tySequence__PXIzfWocnrafGz5p3CP5LA* includes;
814 tySequence__9bAGqSvkAaFL9bWjsEPslrFA* imports;
815 tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw toReplay;
816 tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw topLevel;
817 tyObject_PackedTree__8otSrA7MENGYESDkEP7nnw bodies;
818 tySequence__b89aLriiJnVTD186H6zNIgg* exports;
819 tySequence__b89aLriiJnVTD186H6zNIgg* hidden;
820 tySequence__REuPuHuSlOkZ0Q5oqzDrQg* reexports;
821 tySequence__b89aLriiJnVTD186H6zNIgg* compilerProcs;
822 tySequence__48JTohSgTy339bRxHzUD8KA* converters;
823 tySequence__48JTohSgTy339bRxHzUD8KA* methods;
824 tySequence__48JTohSgTy339bRxHzUD8KA* trmacros;
825 tySequence__48JTohSgTy339bRxHzUD8KA* pureEnums;
826 tySequence__I9aQmO9asXXWJ58UI9c8BCSzA* macroUsages;
827 tySequence__NyaOkf8ZwxP6rkRF5TOkew* typeInstCache;
828 tySequence__L9bOt8CaTEmIjgtuZvp6syg* procInstCache;
829 tySequence__im8UB2GsZvUaQ4a1wKGWhQ* attachedOps;
830 tySequence__xxnXDLpoqBo8zJzP9b1073g* methodsPerType;
831 tySequence__NyaOkf8ZwxP6rkRF5TOkew* enumToStringProcs;
832 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* emittedTypeInfo;
833 tySet_tyEnum_ModuleBackendFlag__fgnyOEZ7Q9aYVj8O59afcT4g backendFlags;
834 tySequence__DfmUmNgVGnYaiV1I6227tw* syms;
835 tySequence__t8Uv4lEJ4lkuECvP9c6JMhA* types;
836 tyObject_BiTable__SMd2CpsYscvX1veKoGcqmg strings;
837 tyObject_BiTable__DyMEQOe8VsqcG49bIhU69bBQ numbers;
838 tyObject_PackedConfig__McwvRupqDAJbGrinIDFZJQ cfg;
839 };
840 struct tyObject_Table__CE4eiu6FavV1vmUiTXQ70g {
841 tySequence__9bT7o0CflHuiE4VhmtqBPCw* data;
842 NI counter;
843 };
844 struct tyObject_LoadedModule__14iJKkvOiWT62KF2D8f9c5w {
845 tyEnum_ModuleStatus__MgSLMPwZ4GVYYz7Kn9bmm6Q status;
846 NIM_BOOL symsInit;
847 NIM_BOOL typesInit;
848 NIM_BOOL loadedButAliveSetChanged;
849 tyObject_PackedModule__ZSxNoR2V6oK5xosmtvhjNQ fromDisk;
850 tySequence__eHqUwlHGGaPw0TDPDeL79cQ* syms;
851 tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A* types;
852 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* module;
853 tyObject_Table__CE4eiu6FavV1vmUiTXQ70g iface;
854 tyObject_Table__CE4eiu6FavV1vmUiTXQ70g ifaceHidden;
855 };
856 struct tyObject_Table__TRm6MPqklA8EYBmBMY117Q {
857 tySequence__9cnx3zXnWzeclW8Ko4oUgAQ* data;
858 NI counter;
859 };
860 struct tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw {
861 NI32 thisModule;
862 NI32 lastFile;
863 NU32 lastLit;
864 tyObject_Table__TRm6MPqklA8EYBmBMY117Q filenames;
865 tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A* pendingTypes;
866 tySequence__eHqUwlHGGaPw0TDPDeL79cQ* pendingSyms;
867 tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA typeMarker;
868 tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA symMarker;
869 tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config;
870 };
871 struct tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ {
872 NU32 module;
873 NI32 item;
874 };
875 struct tyObject_FullId__pfGm9bmVgXcP2kl6OfHhZgQ {
876 NI module;
877 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ packed_0;
878 };
879 struct tyObject_LazyType__Q19c34D32PKyTKlx6R6yODg {
880 tyObject_FullId__pfGm9bmVgXcP2kl6OfHhZgQ id;
881 tyObject_TType__facALICuu8zUj0hjvbTLFg* typ;
882 };
883 struct tyTuple__l7R9cf53SDCcRmz9aWTyEKqQ {
884 NI Field0;
885 tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g Field1;
886 tySequence__O5RcspOP32YJ4YtU5ppxxA* Field2;
887 };
888 struct tyObject_LazyInstantiation__rlce0Sj8mBfLfm69c2yVTZg {
889 NI module;
890 tyObject_FullId__pfGm9bmVgXcP2kl6OfHhZgQ sym;
891 tySequence__ipEvhpHAmm8ZCn9bZAOdNYA* concreteTypes;
892 tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA* inst;
893 };
894 struct tyTuple__o67sDX0wYbEuhI9cJYAbDtg {
895 NI Field0;
896 tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g Field1;
897 tySequence__Or1y9bNpmj8PM8AcK9c9cg7RA* Field2;
898 };
899 struct tyTuple__9aNnDWBFMF44sfFinBpMT4Q {
900 NI Field0;
901 tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g Field1;
902 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* Field2;
903 };
904 struct tyObject_LazySym__rhF4Xi6CELPmWy539c1l6fA {
905 tyObject_FullId__pfGm9bmVgXcP2kl6OfHhZgQ id;
906 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* sym;
907 };
908 struct tyTuple__VrD6plbUKJjYKM0lCr3hGQ {
909 NI Field0;
910 tyObject_LazySym__rhF4Xi6CELPmWy539c1l6fA Field1;
911 };
912 struct tyTuple__dT8l9anHpNRgQSBAI9ctQ2wg {
913 NI Field0;
914 tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g Field1;
915 tySequence__159bHWBGAOOs6U7OZ9cQlO0g* Field2;
916 };
917 struct tyTuple__1ZbjBgxAbnye0IFMZ6w4OA {
918 NI Field0;
919 tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g Field1;
920 tyObject_LazySym__rhF4Xi6CELPmWy539c1l6fA Field2;
921 };
922 struct tyTuple__xYhUhS7X82rKTqbT9bRfCnw {
923 NI Field0;
924 NimStringDesc* Field1;
925 NI32 Field2;
926 };
927 struct tyTuple__rplX06U9bjhu9asm5pWdgqsA {
928 NI Field0;
929 tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g Field1;
930 tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA Field2;
931 };
932 struct tyTuple__1mtQ8sCEE7DbfIuQciv9b5Q {
933 NI Field0;
934 NI32 Field1;
935 tySequence__48JTohSgTy339bRxHzUD8KA* Field2;
936 };
937 struct tyTuple__xDU9bZmv1ZbZkJDaATBekIQ {
938 NI Field0;
939 NI32 Field1;
940 NI32 Field2;
941 };
942 struct tyTuple__a9bBCAQ2tegdUQVlHYxdJ2A {
943 tySequence__eHqUwlHGGaPw0TDPDeL79cQ* Field0;
944 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* Field1;
945 };
946 typedef NU8 tyArray__qtqsWM5aXmcpMIVmvq3kAA[16];
947 struct tyTuple__3i6hlQmqrn6m7tuVN8FHjQ {
948 NI Field0;
949 tyArray__qtqsWM5aXmcpMIVmvq3kAA Field1;
950 tyObject_TType__facALICuu8zUj0hjvbTLFg* Field2;
951 };
952 struct tyTuple__OJFzEczluV8Jmo9bRpBfkzw {
953 NI Field0;
954 NI Field1;
955 tyArray__qtqsWM5aXmcpMIVmvq3kAA Field2;
956 };
957 struct tyTuple__2SGm9aGCXuo7XSQ9bqD29axXw {
958 NI Field0;
959 NimStringDesc* Field1;
960 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* Field2;
961 };
962 struct tyTuple__F3gkSrMB1qp2Tvf9bixVXwg {
963 NI Field0;
964 NimStringDesc* Field1;
965 NI64 Field2;
966 };
967 struct tyObject_BTree__VZdzO0Tlflp7WMN4gS8oPg {
968 tyObject_NodecolonObjectType___dNELmBSmY7nthjhZupWO6g* root;
969 NI entries;
970 };
971 struct tyTuple__wcNatyuf8WOqAhGLhSvgiw {
972 NI Field0;
973 NimStringDesc* Field1;
974 tyObject_BTree__VZdzO0Tlflp7WMN4gS8oPg Field2;
975 };
976 typedef N_NIMCALL_PTR(tyObject_TPassContext__Hb6rFM0ecvtlLf2kv9aU75w*, tyProc__jkSFMhvPZ1AdGcvT2dK9a2w) (tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* graph, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* module, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen);
977 typedef N_NIMCALL_PTR(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, tyProc__A7Sdoem70tRxSEmKrf9cmyg) (tyObject_TPassContext__Hb6rFM0ecvtlLf2kv9aU75w* p, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* topLevelStmt);
978 typedef N_NIMCALL_PTR(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, tyProc__EAEKmBUgKFg29agoUGtzDEQ) (tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* graph, tyObject_TPassContext__Hb6rFM0ecvtlLf2kv9aU75w* p, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
979 struct tyTuple__4o9cW9aUwdGqgZI9bSHHYnbaQ {
980 tyProc__jkSFMhvPZ1AdGcvT2dK9a2w Field0;
981 tyProc__A7Sdoem70tRxSEmKrf9cmyg Field1;
982 tyProc__EAEKmBUgKFg29agoUGtzDEQ Field2;
983 NIM_BOOL Field3;
984 };
985 struct tyTuple__z822nu9bFF1AlQnLrHjdwpA {
986 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q Field0;
987 NimStringDesc* Field1;
988 };
989 struct tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw {
990 NimStringDesc* fullPath;
991 NimStringDesc* projPath;
992 NimStringDesc* shortName;
993 tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* quotedName;
994 tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* quotedFullName;
995 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* lines;
996 NimStringDesc* dirtyFile;
997 NimStringDesc* hash;
998 NIM_BOOL dirty;
999 };
1000 struct tyTuple__QeWl6B6ffS4pU6WWrtcrDw {
1001 NI Field0;
1002 NimStringDesc* Field1;
1003 };
1004 typedef NU8 tySet_tyEnum_CfileFlag__Vl9c9ayddDuXiWtnWTsEYGsA;
1005 struct tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg {
1006 NimStringDesc* nimname;
1007 NimStringDesc* cname;
1008 NimStringDesc* obj;
1009 tySet_tyEnum_CfileFlag__Vl9c9ayddDuXiWtnWTsEYGsA flags;
1010 NimStringDesc* customArgs;
1011 };
1012 struct tyTuple__0q9cmhneJEKnQERTpXXdz6Q {
1013 NU32 Field0;
1014 NimStringDesc* Field1;
1015 };
1016 struct tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg {
1017 NU16 line;
1018 NI16 col;
1019 NU32 file;
1020 };
1021 struct tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow {
1022 tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind;
1023 tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg flags;
1024 NI32 operand;
1025 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ typeId_0;
1026 tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg info;
1027 };
1028 struct tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ {
1029 NU32 Field0;
1030 NI32 Field1;
1031 };
1032 struct tyTuple__Q7r9caOmeWqQGZCIBHhGRUA {
1033 NU32 Field0;
1034 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ Field1;
1035 };
1036 struct tyTuple__7Wlwbz8zSe7Udyf7mmsd9cg {
1037 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ Field0;
1038 tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg Field1;
1039 };
1040 struct tyTuple__XyJ8LOAZzVVXSsmt09b8uWw {
1041 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ Field0;
1042 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ Field1;
1043 };
1044 struct tyObject_PackedInstantiation__39cWRURu69agjI9c1ohiUmxiA {
1045 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ key;
1046 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ sym;
1047 tySequence__vC9cvg0R8tfBaOXXi3sfMzw* concreteTypes;
1048 };
1049 typedef NU8 tyEnum_TTypeAttachedOp__Rp5P9bWYldQTLkZ7DytmxOg;
1050 struct tyTuple__9aoobCDZB4x41HJSOmh0mwA {
1051 tyEnum_TTypeAttachedOp__Rp5P9bWYldQTLkZ7DytmxOg Field0;
1052 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ Field1;
1053 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ Field2;
1054 };
1055 struct tyTuple__g0Q6Qx15nK53ce9aLo7YyrA {
1056 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ Field0;
1057 NI Field1;
1058 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ Field2;
1059 };
1060 typedef NU8 tyEnum_TLibKind__9b8v60kso59bBaw9cp8B9a9apKQ;
1061 struct tyObject_PackedLib__oa01YzfeXO9bbIDH9cIki4Hw {
1062 tyEnum_TLibKind__9b8v60kso59bBaw9cp8B9a9apKQ kind;
1063 NIM_BOOL generated;
1064 NIM_BOOL isOverriden;
1065 NU32 name;
1066 NI32 path;
1067 };
1068 struct tyObject_PackedSym__XjVn21MwvH8ij6CfopYZWw {
1069 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw kind;
1070 NU32 name;
1071 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ typ;
1072 tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw flags;
1073 tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg magic;
1074 tyObject_PackedLineInfo__Q9bbXLBurHo2r5TyF6UBshg info;
1075 NI32 ast;
1076 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ owner;
1077 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ guard;
1078 NI bitsize;
1079 NI alignment;
1080 tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg options;
1081 NI position;
1082 NI offset;
1083 NU32 externalName;
1084 tySet_tyEnum_TLocFlag__o2bqJgR4ceIupnUSpxiudA locFlags;
1085 tyObject_PackedLib__oa01YzfeXO9bbIDH9cIki4Hw annex;
1086 NI32 constraint;
1087 };
1088 struct tyObject_PackedType__IhXsK7mrwumUBtEqbZ2BqA {
1089 tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag kind;
1090 tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA callConv;
1091 tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw flags;
1092 tySequence__vC9cvg0R8tfBaOXXi3sfMzw* types;
1093 NI32 n;
1094 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ sym;
1095 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ owner;
1096 NI64 size;
1097 NI16 align;
1098 NI16 paddingAtEnd;
1099 NI16 lockLevel;
1100 tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ typeInst;
1101 NI32 nonUniqueId;
1102 };
1103 struct tyTuple__8x6vq4Dc9aLvKX9actMeR9avQ {
1104 NI Field0;
1105 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* Field1;
1106 tySequence__vC9cvg0R8tfBaOXXi3sfMzw* Field2;
1107 };
1108 struct tyTuple__UvldbCB6B9ayi9bGYW7vJNLA {
1109 NI Field0;
1110 NI32 Field1;
1111 NU32 Field2;
1112 };
1113 struct tySequence__KHtASjJ36dOrANNiImdvag {
1114   TGenericSeq Sup;
1115   tyTuple__jy9cqXDNMQDkZGlO5foeORw data[SEQ_DECL_SIZE];
1116 };
1117 struct tySequence__YuKuU17u5ApAIki23DK9bJw {
1118   TGenericSeq Sup;
1119   tyTuple__Wymbvuvlf49clEgp9bKoFN9bw data[SEQ_DECL_SIZE];
1120 };
1121 struct tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A {
1122   TGenericSeq Sup;
1123   tyObject_TType__facALICuu8zUj0hjvbTLFg* data[SEQ_DECL_SIZE];
1124 };
1125 struct tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ {
1126   TGenericSeq Sup;
1127   tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* data[SEQ_DECL_SIZE];
1128 };
1129 struct tySequence__4mZLwkxT8rbt9bf3wXrXYNQ {
1130   TGenericSeq Sup;
1131   tyObject_Iface__uvkV248cZcsEQKaQm7C9aEA data[SEQ_DECL_SIZE];
1132 };
1133 struct tySequence__rQHmYk1HzcwNxKBymIFHpA {
1134   TGenericSeq Sup;
1135   tyObject_LoadedModule__14iJKkvOiWT62KF2D8f9c5w data[SEQ_DECL_SIZE];
1136 };
1137 struct tySequence__XMM60DtBsc6xYsIpNANkrA {
1138   TGenericSeq Sup;
1139   tyObject_PackedEncoder__B9cE9a0GbvqWW9aHf4N7RAaIw data[SEQ_DECL_SIZE];
1140 };
1141 struct tySequence__O5RcspOP32YJ4YtU5ppxxA {
1142   TGenericSeq Sup;
1143   tyObject_LazyType__Q19c34D32PKyTKlx6R6yODg data[SEQ_DECL_SIZE];
1144 };
1145 struct tySequence__ChDZ6dokJ9aj9cg3KBoCU5vg {
1146   TGenericSeq Sup;
1147   tyTuple__l7R9cf53SDCcRmz9aWTyEKqQ data[SEQ_DECL_SIZE];
1148 };
1149 struct tySequence__Or1y9bNpmj8PM8AcK9c9cg7RA {
1150   TGenericSeq Sup;
1151   tyObject_LazyInstantiation__rlce0Sj8mBfLfm69c2yVTZg data[SEQ_DECL_SIZE];
1152 };
1153 struct tySequence__mWRMiYLthG9coLjkbElCxkw {
1154   TGenericSeq Sup;
1155   tyTuple__o67sDX0wYbEuhI9cJYAbDtg data[SEQ_DECL_SIZE];
1156 };
1157 struct tySequence__bTDCDwD2P7TodzbAefLcSw {
1158   TGenericSeq Sup;
1159   tyTuple__9aNnDWBFMF44sfFinBpMT4Q data[SEQ_DECL_SIZE];
1160 };
1161 struct tySequence__159bHWBGAOOs6U7OZ9cQlO0g {
1162   TGenericSeq Sup;
1163   tyTuple__VrD6plbUKJjYKM0lCr3hGQ data[SEQ_DECL_SIZE];
1164 };
1165 struct tySequence__3MPVXAHA08SszBrU4ffqEg {
1166   TGenericSeq Sup;
1167   tyTuple__dT8l9anHpNRgQSBAI9ctQ2wg data[SEQ_DECL_SIZE];
1168 };
1169 struct tySequence__YCf5zJHm4JI06qpmKwPUWg {
1170   TGenericSeq Sup;
1171   tyTuple__1ZbjBgxAbnye0IFMZ6w4OA data[SEQ_DECL_SIZE];
1172 };
1173 struct tySequence__7lEisrXlQEzwtUKW5pzRCw {
1174   TGenericSeq Sup;
1175   tyTuple__xYhUhS7X82rKTqbT9bRfCnw data[SEQ_DECL_SIZE];
1176 };
1177 struct tySequence__eHqUwlHGGaPw0TDPDeL79cQ {
1178   TGenericSeq Sup;
1179   tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* data[SEQ_DECL_SIZE];
1180 };
1181 struct tySequence__61s9cbAniKuBrdHwBhMDfQg {
1182   TGenericSeq Sup;
1183   tyTuple__rplX06U9bjhu9asm5pWdgqsA data[SEQ_DECL_SIZE];
1184 };
1185 struct tySequence__Bre9bNyuQOg1EJKitjSzn8w {
1186   TGenericSeq Sup;
1187   tyObject_TrunkcolonObjectType___POcWT53G7t0BSUjc31o0iA* data[SEQ_DECL_SIZE];
1188 };
1189 struct tySequence__48JTohSgTy339bRxHzUD8KA {
1190   TGenericSeq Sup;
1191   NI32 data[SEQ_DECL_SIZE];
1192 };
1193 struct tySequence__fdmz6VkIf1ewwrssKYqRFg {
1194   TGenericSeq Sup;
1195   tyTuple__1mtQ8sCEE7DbfIuQciv9b5Q data[SEQ_DECL_SIZE];
1196 };
1197 struct tySequence__kxu4GK0onha2t9bo86mdVAg {
1198   TGenericSeq Sup;
1199   tyTuple__xDU9bZmv1ZbZkJDaATBekIQ data[SEQ_DECL_SIZE];
1200 };
1201 struct tySequence__s9byh6WFJ16lPMcmqdaMTHA {
1202   TGenericSeq Sup;
1203   tyTuple__a9bBCAQ2tegdUQVlHYxdJ2A data[SEQ_DECL_SIZE];
1204 };
1205 struct tySequence__1U9bG8RcAedEeYkQLZjVFKA {
1206   TGenericSeq Sup;
1207   tyTuple__3i6hlQmqrn6m7tuVN8FHjQ data[SEQ_DECL_SIZE];
1208 };
1209 struct tySequence__fIB1rTQ55aFonoft9a9bmljQ {
1210   TGenericSeq Sup;
1211   tyTuple__OJFzEczluV8Jmo9bRpBfkzw data[SEQ_DECL_SIZE];
1212 };
1213 struct tySequence__23SMqauuRsbDANhthj9bWlA {
1214   TGenericSeq Sup;
1215   tyTuple__2SGm9aGCXuo7XSQ9bqD29axXw data[SEQ_DECL_SIZE];
1216 };
1217 struct tySequence__squ9b9bUH4OLHf6cEMrt6hVA {
1218   TGenericSeq Sup;
1219   tyTuple__F3gkSrMB1qp2Tvf9bixVXwg data[SEQ_DECL_SIZE];
1220 };
1221 struct tySequence__pHNq3oXj9av2sEUdqaqeZjw {
1222   TGenericSeq Sup;
1223   tyTuple__wcNatyuf8WOqAhGLhSvgiw data[SEQ_DECL_SIZE];
1224 };
1225 struct tySequence__MAQKEADohlpnXTModtugbQ {
1226   TGenericSeq Sup;
1227   tyTuple__4o9cW9aUwdGqgZI9bSHHYnbaQ data[SEQ_DECL_SIZE];
1228 };
1229 struct tySequence__tNFrR3kRuS1FSwuiLGoSSA {
1230   TGenericSeq Sup;
1231   tyTuple__z822nu9bFF1AlQnLrHjdwpA data[SEQ_DECL_SIZE];
1232 };
1233 struct tySequence__Zi9cGbCWofbtABoHJ5RbLNQ {
1234   TGenericSeq Sup;
1235   tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw data[SEQ_DECL_SIZE];
1236 };
1237 struct tySequence__4eRCaZmrYLLw2k30GPTiMw {
1238   TGenericSeq Sup;
1239   tyTuple__QeWl6B6ffS4pU6WWrtcrDw data[SEQ_DECL_SIZE];
1240 };
1241 struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ {
1242   TGenericSeq Sup;
1243   NimStringDesc* data[SEQ_DECL_SIZE];
1244 };
1245 struct tySequence__pK3qSsBZwdXd6qyUMkd5Jw {
1246   TGenericSeq Sup;
1247   tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg data[SEQ_DECL_SIZE];
1248 };
1249 struct tySequence__vv5mGmK03BCr5e3LTZA5Hw {
1250   TGenericSeq Sup;
1251   tyObject_LazySym__rhF4Xi6CELPmWy539c1l6fA data[SEQ_DECL_SIZE];
1252 };
1253 struct tySequence__PXIzfWocnrafGz5p3CP5LA {
1254   TGenericSeq Sup;
1255   tyTuple__0q9cmhneJEKnQERTpXXdz6Q data[SEQ_DECL_SIZE];
1256 };
1257 struct tySequence__9bAGqSvkAaFL9bWjsEPslrFA {
1258   TGenericSeq Sup;
1259   NU32 data[SEQ_DECL_SIZE];
1260 };
1261 struct tySequence__29bS0n2QNyO1R7e0qMMOvLA {
1262   TGenericSeq Sup;
1263   tyObject_PackedNode__7lDGAZiNp4zbO65GEpoKow data[SEQ_DECL_SIZE];
1264 };
1265 struct tySequence__b89aLriiJnVTD186H6zNIgg {
1266   TGenericSeq Sup;
1267   tyTuple__Izx9aRSX9a0diDXD84jOS9aMQ data[SEQ_DECL_SIZE];
1268 };
1269 struct tySequence__REuPuHuSlOkZ0Q5oqzDrQg {
1270   TGenericSeq Sup;
1271   tyTuple__Q7r9caOmeWqQGZCIBHhGRUA data[SEQ_DECL_SIZE];
1272 };
1273 struct tySequence__I9aQmO9asXXWJ58UI9c8BCSzA {
1274   TGenericSeq Sup;
1275   tyTuple__7Wlwbz8zSe7Udyf7mmsd9cg data[SEQ_DECL_SIZE];
1276 };
1277 struct tySequence__NyaOkf8ZwxP6rkRF5TOkew {
1278   TGenericSeq Sup;
1279   tyTuple__XyJ8LOAZzVVXSsmt09b8uWw data[SEQ_DECL_SIZE];
1280 };
1281 struct tySequence__L9bOt8CaTEmIjgtuZvp6syg {
1282   TGenericSeq Sup;
1283   tyObject_PackedInstantiation__39cWRURu69agjI9c1ohiUmxiA data[SEQ_DECL_SIZE];
1284 };
1285 struct tySequence__im8UB2GsZvUaQ4a1wKGWhQ {
1286   TGenericSeq Sup;
1287   tyTuple__9aoobCDZB4x41HJSOmh0mwA data[SEQ_DECL_SIZE];
1288 };
1289 struct tySequence__xxnXDLpoqBo8zJzP9b1073g {
1290   TGenericSeq Sup;
1291   tyTuple__g0Q6Qx15nK53ce9aLo7YyrA data[SEQ_DECL_SIZE];
1292 };
1293 struct tySequence__DfmUmNgVGnYaiV1I6227tw {
1294   TGenericSeq Sup;
1295   tyObject_PackedSym__XjVn21MwvH8ij6CfopYZWw data[SEQ_DECL_SIZE];
1296 };
1297 struct tySequence__t8Uv4lEJ4lkuECvP9c6JMhA {
1298   TGenericSeq Sup;
1299   tyObject_PackedType__IhXsK7mrwumUBtEqbZ2BqA data[SEQ_DECL_SIZE];
1300 };
1301 struct tySequence__IHUFRsFxZNv7YydiUO2esQ {
1302   TGenericSeq Sup;
1303   NI64 data[SEQ_DECL_SIZE];
1304 };
1305 struct tySequence__vC9cvg0R8tfBaOXXi3sfMzw {
1306   TGenericSeq Sup;
1307   tyObject_PackedItemId__FzcXUzSZ9cNfGYsfibgjWlQ data[SEQ_DECL_SIZE];
1308 };
1309 struct tySequence__9bT7o0CflHuiE4VhmtqBPCw {
1310   TGenericSeq Sup;
1311   tyTuple__8x6vq4Dc9aLvKX9actMeR9avQ data[SEQ_DECL_SIZE];
1312 };
1313 struct tySequence__9cnx3zXnWzeclW8Ko4oUgAQ {
1314   TGenericSeq Sup;
1315   tyTuple__UvldbCB6B9ayi9bGYW7vJNLA data[SEQ_DECL_SIZE];
1316 };
1317 struct tySequence__ipEvhpHAmm8ZCn9bZAOdNYA {
1318   TGenericSeq Sup;
1319   tyObject_FullId__pfGm9bmVgXcP2kl6OfHhZgQ data[SEQ_DECL_SIZE];
1320 };
1321 static N_INLINE(NIM_BOOL, interestingVar__lambdalifting_151)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s);
1322 static N_INLINE(NIM_BOOL, isGenericRoutine__ast_4646)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s);
1323 static N_INLINE(NIM_BOOL, isGenericRoutine__ast_4627)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1324 static N_INLINE(NIM_BOOL, isGenericParams__ast_4616)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1325 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, skipGenericOwner__ast_4658)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s);
1326 N_LIB_PRIVATE N_NIMCALL(void, propagateClosure__lambdalifting_4998)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* start, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* last);
1327 static N_INLINE(void, nimZeroMem)(void* p, NI size);
1328 static N_INLINE(void, nimSetMem__systemZmemory_7)(void* a, int v, NI size);
1329 N_LIB_PRIVATE N_NIMCALL(void, initDetectionPass__lambdalifting_396)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* fn, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* Result);
1330 N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
1331 static N_INLINE(void, initIntSet__pureZcollectionsZintsets_238)(tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA* Result);
1332 N_LIB_PRIVATE N_NIMCALL(void, initPackedSet__pureZcollectionsZintsets_16)(tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA* Result);
1333 N_LIB_PRIVATE N_NIMCALL(void, initTable__lambdalifting_401)(NI initialSize, tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ* Result);
1334 static N_INLINE(NI, slotsNeeded__pureZcollectionsZtables_42)(NI count);
1335 N_LIB_PRIVATE N_NIMCALL(NI, nextPowerOfTwo__pureZmath_177)(NI x);
1336 N_LIB_PRIVATE N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
1337 N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op);
1338 static N_NIMCALL(void, Marker_tySequence__KHtASjJ36dOrANNiImdvag)(void* p, NI op);
1339 N_LIB_PRIVATE N_NIMCALL(void, incl__pureZcollectionsZintsets_55)(tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA* s, NI key);
1340 N_LIB_PRIVATE N_NIMCALL(void, detectCapturedVars__lambdalifting_1998)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* c);
1341 N_LIB_PRIVATE N_NIMCALL(void, addClosureParam__lambdalifting_1971)(tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* c, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* fn, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1342 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, getEnvParam__lambdalifting_131)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* routine);
1343 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, lastSon__ast_4832)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1344 static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
1345 static N_INLINE(NIM_BOOL, equalMem__system_1735)(void* a, void* b, NI size);
1346 static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
1347 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, getEnvTypeForOwner__lambdalifting_440)(tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* c, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1348 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, getOrDefault__lambdalifting_540)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ t, NI key);
1349 static N_INLINE(NI, rawGet__lambdalifting_549)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ t, NI key, NI* hc);
1350 static N_INLINE(NI, hash__pureZhashes_128)(NI x);
1351 static N_INLINE(NI, hashWangYi1__pureZhashes_136)(NU64 x);
1352 static N_INLINE(NU64, hiXorLo__pureZhashes_79)(NU64 a, NU64 b);
1353 static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZtables_31)(NI hcode);
1354 static N_INLINE(NI, nextTry__pureZcollectionsZtables_34)(NI h, NI maxHash);
1355 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, newType__ast_3896)(tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag kind, tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g id, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner);
1356 static N_INLINE(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g, nextTypeId__ast_3151)(tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* x);
1357 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, createEnvObj__lambdalifting_56)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1358 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, createObj__lowerings_288)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, NIM_BOOL final);
1359 N_LIB_PRIVATE N_NIMCALL(void, rawAddField__lowerings_309)(tyObject_TType__facALICuu8zUj0hjvbTLFg* obj, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* field);
1360 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, createStateField__lambdalifting_51)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* iter, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen);
1361 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);
1362 N_LIB_PRIVATE N_NIMCALL(tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA*, getIdent__idents_143)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* ic, NimStringDesc* identifier);
1363 static N_INLINE(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g, nextSymId__ast_3132)(tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* x);
1364 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, createClosureIterStateType__lambdalifting_33)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* iter, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen);
1365 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newNodeI__ast_3356)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1366 N_LIB_PRIVATE N_NIMCALL(void, add__ast_4797)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* father, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* son);
1367 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newIntNode__ast_3723)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, NI64 intVal);
1368 static N_INLINE(void, asgnRef)(void** dest, void* src);
1369 static N_INLINE(void, incRef__system_5309)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
1370 static N_INLINE(NI, pluspercent___system_696)(NI x, NI y);
1371 static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__system_5271)(void* usr);
1372 static N_INLINE(NI, minuspercent___system_716)(NI x, NI y);
1373 static N_INLINE(void, decRef__system_5316)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
1374 static N_INLINE(NIM_BOOL, ltpercent___system_1005)(NI x, NI y);
1375 static N_INLINE(void, rtlAddZCT__system_5314)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
1376 N_LIB_PRIVATE N_NOINLINE(void, addZCT__system_5265)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
1377 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, nilOrSysInt__magicsys_8)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g);
1378 N_LIB_PRIVATE N_NIMCALL(void, rawAddSon__ast_4288)(tyObject_TType__facALICuu8zUj0hjvbTLFg* father, tyObject_TType__facALICuu8zUj0hjvbTLFg* son, NIM_BOOL propagateHasAsgn);
1379 N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___lambdalifting_891)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ* t, NI key, tyObject_TType__facALICuu8zUj0hjvbTLFg* val);
1380 static N_INLINE(NIM_BOOL, mustRehash__lambdalifting_1064)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ t);
1381 N_LIB_PRIVATE N_NIMCALL(void, enlarge__lambdalifting_1217)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ* t);
1382 N_LIB_PRIVATE N_NIMCALL(void, rawInsert__lambdalifting_1517)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ* t, tySequence__KHtASjJ36dOrANNiImdvag** data, NI key, tyObject_TType__facALICuu8zUj0hjvbTLFg* val, NI hc, NI h);
1383 static N_INLINE(NI, rawGetKnownHC__lambdalifting_1686)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ t, NI key, NI hc);
1384 N_LIB_PRIVATE N_NIMCALL(void, addHiddenParam__lambdalifting_80)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* routine, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* param);
1385 static N_INLINE(NI, len__ast_3198)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1386 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newSymNode__ast_3716)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* sym);
1387 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);
1388 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isInnerProc__lambdalifting_177)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s);
1389 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, containsOrIncl__astalgo_402)(tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA* s, NI key);
1390 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, transformBody__transf_16)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* prc, NIM_BOOL cache);
1391 static N_INLINE(NIM_BOOL, interestingIterVar__lambdalifting_238)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s);
1392 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, skipTypes__ast_3735)(tyObject_TType__facALICuu8zUj0hjvbTLFg* t, tySet_tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag kinds);
1393 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, getHiddenParam__lambdalifting_106)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* routine);
1394 static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
1395 static N_INLINE(void, copyMem__system_1727)(void* dest, void* source, NI size);
1396 static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
1397 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
1398 N_LIB_PRIVATE N_NIMCALL(void, addField__lowerings_415)(tyObject_TType__facALICuu8zUj0hjvbTLFg* obj, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen);
1399 N_LIB_PRIVATE N_NIMCALL(void, markAsClosure__lambdalifting_358)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1400 static N_INLINE(NIM_BOOL, illegalCapture__lambdalifting_166)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s);
1401 N_LIB_PRIVATE N_NIMCALL(tyEnum_ViewTypeKind__3S4FAWaxPP9ahVaUnMsznog, classifyViewType__typeallowed_564)(tyObject_TType__facALICuu8zUj0hjvbTLFg* t);
1402 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuFormatOpenArray)(NimStringDesc* formatstr, NimStringDesc** a, NI aLen_0);
1403 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
1404 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, typeToString__types_50)(tyObject_TType__facALICuu8zUj0hjvbTLFg* typ, tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw prefer);
1405 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___msgs_624)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1406 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprEnum)(NI e, TNimType* typ);
1407 N_LIB_PRIVATE N_NIMCALL(void, createUpField__lambdalifting_1948)(tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* c, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* dest, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* dep, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1408 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isDefined__options_2279)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* symbol);
1409 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, getEnvTypeForOwnerUp__lambdalifting_1942)(tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* c, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1410 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, lookupInRecord__astalgo_84)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* field);
1411 N_LIB_PRIVATE N_NIMCALL(void, initLiftingPass__lambdalifting_2151)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* fn, tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw* Result);
1412 N_LIB_PRIVATE N_NIMCALL(void, initTable__lambdalifting_2164)(NI initialSize, tyObject_Table__JrI9bTpOVccKpiJXKOskjFg* Result);
1413 static N_NIMCALL(void, Marker_tySequence__YuKuU17u5ApAIki23DK9bJw)(void* p, NI op);
1414 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, liftCapturedVars__lambdalifting_4665)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* d, tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw* c);
1415 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, getOrDefault__lambdalifting_2340)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg t, NI key);
1416 static N_INLINE(NI, rawGet__lambdalifting_2349)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg t, NI key, NI* hc);
1417 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newTree__ast_3392)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw** children, NI childrenLen_0);
1418 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, rawClosureCreation__lambdalifting_3910)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* d, tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw* c, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1419 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, setupEnvVar__lambdalifting_2231)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* d, tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw* c, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1420 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newEnvVar__lambdalifting_2223)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_TType__facALICuu8zUj0hjvbTLFg* typ, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen);
1421 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, asOwnedRef__lambdalifting_1923)(tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* c, tyObject_TType__facALICuu8zUj0hjvbTLFg* t);
1422 N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___lambdalifting_2794)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg* t, NI key, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* val);
1423 static N_INLINE(NIM_BOOL, mustRehash__lambdalifting_2967)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg t);
1424 N_LIB_PRIVATE N_NIMCALL(void, enlarge__lambdalifting_3120)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg* t);
1425 N_LIB_PRIVATE N_NIMCALL(void, rawInsert__lambdalifting_3424)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg* t, tySequence__YuKuU17u5ApAIki23DK9bJw** data, NI key, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* val, NI hc, NI h);
1426 static N_INLINE(NI, rawGetKnownHC__lambdalifting_3593)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg t, NI key, NI hc);
1427 N_LIB_PRIVATE N_NIMCALL(void, addVar__lowerings_63)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* father, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* v);
1428 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw**, X5BX5D___lambdalifting_4026)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg* t, NI key);
1429 N_LIB_PRIVATE N_NOINLINE(void, raiseKeyError__ast_1357)(NI key) __attribute__((noreturn));
1430 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newCall__lambdalifting_21)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* a, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* b);
1431 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, getSysSym__magicsys_16)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, NimStringDesc* name);
1432 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, copyTree__ast_4431)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* src);
1433 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newAsgnStmt__lambdalifting_192)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* le, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ri, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1434 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newNodeI__ast_3360)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, NI children);
1435 N_LIB_PRIVATE N_NIMCALL(void, createTypeBoundOpsLL__lambdalifting_268)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TType__facALICuu8zUj0hjvbTLFg* refType, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner);
1436 N_LIB_PRIVATE N_NIMCALL(void, createTypeBoundOps__liftdestructors_47)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug* c, tyObject_TType__facALICuu8zUj0hjvbTLFg* orig, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen);
1437 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, lastSon__ast_3743)(tyObject_TType__facALICuu8zUj0hjvbTLFg* n);
1438 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__astalgo_3496)(tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA* s, NI key);
1439 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, indirectAccess__lowerings_610)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* b, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1440 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, getUpViaParam__lambdalifting_3892)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner);
1441 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, rawIndirectAccess__lowerings_326)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* field, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1442 N_LIB_PRIVATE N_NIMCALL(void, finishClosureCreation__lambdalifting_4321)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* d, tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw* c, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* res);
1443 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, X5BX5D___lambdalifting_4419)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg t, NI key);
1444 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newNodeIT__ast_3378)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyObject_TType__facALICuu8zUj0hjvbTLFg* typ);
1445 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, symToClosure__lambdalifting_4670)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* d, tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw* c);
1446 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, makeClosure__lambdalifting_199)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* prc, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* env, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1447 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, getSysType__magicsys_60)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag kind);
1448 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, skipConv__types_3597)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1449 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, closureCreationForIter__lambdalifting_4502)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* iter, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* d, tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw* c);
1450 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, addUniqueField__lowerings_443)(tyObject_TType__facALICuu8zUj0hjvbTLFg* obj, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen);
1451 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, accessViaEnvParam__lambdalifting_2193)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner);
1452 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, getFieldFromObj__lowerings_582)(tyObject_TType__facALICuu8zUj0hjvbTLFg* t, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* v);
1453 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, accessViaEnvVar__lambdalifting_4550)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* d, tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw* c);
1454 static N_INLINE(NIM_BOOL, liftingHarmful__lambdalifting_251)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner);
1455 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newIntTypeNode__ast_3783)(NI64 intVal, tyObject_TType__facALICuu8zUj0hjvbTLFg* typ);
1456 N_LIB_PRIVATE N_NIMCALL(void, transitionToLet__ast_4406)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s);
1457 N_LIB_PRIVATE N_NIMCALL(void, transitionRoutineSymKind__ast_4393)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s, tyEnum_TSymKind__uwRDzlpaGW5WJzgBn4R8Eg kind);
1458 N_LIB_PRIVATE TNimType NTIkeyvaluepair__jy9cqXDNMQDkZGlO5foeORw_;
1459 extern TNimType NTIint__rR5Bzr1D5krxoo1NcNyeMA_;
1460 extern TNimType NTIptype__qt2Wh0elFEz5fH0l7yusLw_;
1461 N_LIB_PRIVATE TNimType NTIkeyvaluepairseq__KHtASjJ36dOrANNiImdvag_;
1462 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_3, ":envP", 5);
1463 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_4, ":state", 6);
1464 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_5, "internal error: inconsistent environment type", 45);
1465 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_7, "/home/runner/work/nightlies/nightlies/nim/compiler/lambdalifting.nim", 68);
1466 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_6 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1467 ((NI) 419),
1468 ((NI) 14)}
1469 ;
1470 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_8, "internal error: could not find env param for ", 45);
1471 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_9 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1472 ((NI) 178),
1473 ((NI) 14)}
1474 ;
1475 static NIM_CONST tySet_tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag TM__PI7oJkFuxeeTWjPTjlNxqg_10 = {
1476 0x00, 0x00, 0x60, 0x00, 0x00, 0x20, 0x00, 0x00,
1477 0x00}
1478 ;
1479 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_11, "\'$1\' is of type <$2> which cannot be captured as it would violate memory safety, declared here: $3; using \'-d:nimNoLentIterators\' helps in some cases", 149);
1480 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_12 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1481 ((NI) 291),
1482 ((NI) 14)}
1483 ;
1484 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_13, "illegal capture \'$1\' because \'$2\' has the calling convention: <$3>", 66);
1485 extern TNimType NTItcallingconvention__yjAJ8w0h1PBaSwSGJ3P7IA_;
1486 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_14 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1487 ((NI) 296),
1488 ((NI) 14)}
1489 ;
1490 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_15, "nimCycleBreaker", 15);
1491 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_16, "internal error: invalid up reference computed", 45);
1492 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_17 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1493 ((NI) 364),
1494 ((NI) 14)}
1495 ;
1496 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_18, ":up", 3);
1497 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_19, "internal error: up references do not agree", 42);
1498 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_20 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1499 ((NI) 370),
1500 ((NI) 16)}
1501 ;
1502 N_LIB_PRIVATE TNimType NTIkeyvaluepair__Wymbvuvlf49clEgp9bKoFN9bw_;
1503 extern TNimType NTIpnode__fKfcLzXYiz5jNu3NH3Tv8Q_;
1504 N_LIB_PRIVATE TNimType NTIkeyvaluepairseq__YuKuU17u5ApAIki23DK9bJw_;
1505 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_22, "internal error: could not determine closure type", 48);
1506 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_23 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1507 ((NI) 561),
1508 ((NI) 17)}
1509 ;
1510 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_24, ":env", 4);
1511 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_25, ":envAlt", 7);
1512 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_26, "internalNew", 11);
1513 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_27, "could not find up reference for closure iter", 44);
1514 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_28 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1515 ((NI) 576),
1516 ((NI) 16)}
1517 ;
1518 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_29, "internal error: cannot create up reference", 42);
1519 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_30 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1520 ((NI) 631),
1521 ((NI) 16)}
1522 ;
1523 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_31, "internal error: taking closure of closure", 41);
1524 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_32 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1525 ((NI) 217),
1526 ((NI) 16)}
1527 ;
1528 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_33, "internal error: cannot create up reference for iter", 51);
1529 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_34 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1530 ((NI) 672),
1531 ((NI) 16)}
1532 ;
1533 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_35, "internal error: no environment found", 36);
1534 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_36 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1535 ((NI) 717),
1536 ((NI) 18)}
1537 ;
1538 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_37, "internal error: environment misses: ", 36);
1539 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_38 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1540 ((NI) 537),
1541 ((NI) 12)}
1542 ;
1543 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_39, "internal error: not part of closure object type", 47);
1544 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_40 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1545 ((NI) 685),
1546 ((NI) 14)}
1547 ;
1548 static NIM_CONST tySet_tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag TM__PI7oJkFuxeeTWjPTjlNxqg_41 = {
1549 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00,
1550 0x00}
1551 ;
1552 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_42, "ignored invalid for loop", 24);
1553 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_43 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1554 ((NI) 925),
1555 ((NI) 14)}
1556 ;
1557 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_44, "internal error: cannot generate fresh variable", 46);
1558 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_45 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1559 ((NI) 283),
1560 ((NI) 14)}
1561 ;
1562 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_46, ":result", 7);
1563 extern tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__system_5218;
N_INLINE(NIM_BOOL,interestingVar__lambdalifting_151)1564 static N_INLINE(NIM_BOOL, interestingVar__lambdalifting_151)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s) {
1565 	NIM_BOOL result;
1566 	NIM_BOOL T1_;
1567 	NIM_BOOL T2_;
1568 	result = (NIM_BOOL)0;
1569 	T1_ = (NIM_BOOL)0;
1570 	T2_ = (NIM_BOOL)0;
1571 	T2_ = ((2100008 &((NU32)1<<((NU)((*s).kind)&31U)))!=0);
1572 	if (!(T2_)) goto LA3_;
1573 	T2_ = !((((*s).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 3))&63U)))!=0));
1574 	LA3_: ;
1575 	T1_ = T2_;
1576 	if (!(T1_)) goto LA4_;
1577 	T1_ = !(((*(*s).typ).kind == ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 60) || (*(*s).typ).kind == ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 8)));
1578 	LA4_: ;
1579 	result = T1_;
1580 	return result;
1581 }
N_INLINE(NIM_BOOL,isGenericParams__ast_4616)1582 static N_INLINE(NIM_BOOL, isGenericParams__ast_4616)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
1583 	NIM_BOOL result;
1584 	NIM_BOOL T1_;
1585 	result = (NIM_BOOL)0;
1586 	T1_ = (NIM_BOOL)0;
1587 	T1_ = !((n == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)));
1588 	if (!(T1_)) goto LA2_;
1589 	T1_ = ((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 75));
1590 	LA2_: ;
1591 	result = T1_;
1592 	return result;
1593 }
N_INLINE(NIM_BOOL,isGenericRoutine__ast_4627)1594 static N_INLINE(NIM_BOOL, isGenericRoutine__ast_4627)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
1595 	NIM_BOOL result;
1596 	NIM_BOOL T1_;
1597 	NIM_BOOL T2_;
1598 	result = (NIM_BOOL)0;
1599 	T1_ = (NIM_BOOL)0;
1600 	T2_ = (NIM_BOOL)0;
1601 	T2_ = !((n == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)));
1602 	if (!(T2_)) goto LA3_;
1603 	T2_ = ((*n).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 51) && (*n).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 52) || (*n).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 79) && (*n).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 84) || (*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 159));
1604 	LA3_: ;
1605 	T1_ = T2_;
1606 	if (!(T1_)) goto LA4_;
1607 	T1_ = isGenericParams__ast_4616((*n)._kind_6.sons->data[((NI) 2)]);
1608 	LA4_: ;
1609 	result = T1_;
1610 	return result;
1611 }
N_INLINE(NIM_BOOL,isGenericRoutine__ast_4646)1612 static N_INLINE(NIM_BOOL, isGenericRoutine__ast_4646)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s) {
1613 	NIM_BOOL result;
1614 	NIM_BOOL T1_;
1615 	NIM_BOOL T3_;
1616 	result = (NIM_BOOL)0;
1617 	T1_ = (NIM_BOOL)0;
1618 	T1_ = ((520192 &((NU32)1<<((NU)((*s).kind)&31U)))!=0);
1619 	if (!(T1_)) goto LA2_;
1620 	T3_ = (NIM_BOOL)0;
1621 	T3_ = (((*s).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 2))&63U)))!=0);
1622 	if (T3_) goto LA4_;
1623 	T3_ = isGenericRoutine__ast_4627((*s).ast);
1624 	LA4_: ;
1625 	T1_ = T3_;
1626 	LA2_: ;
1627 	result = T1_;
1628 	return result;
1629 }
N_NIMCALL(void,propagateClosure__lambdalifting_4998)1630 N_LIB_PRIVATE N_NIMCALL(void, propagateClosure__lambdalifting_4998)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* start, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* last) {
1631 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* o;
1632 	o = start;
1633 	{
1634 		while (1) {
1635 			NIM_BOOL T3_;
1636 			T3_ = (NIM_BOOL)0;
1637 			T3_ = !((o == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)));
1638 			if (!(T3_)) goto LA4_;
1639 			T3_ = !(((*o).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6)));
1640 			LA4_: ;
1641 			if (!T3_) goto LA2;
1642 			{
1643 				if (!(o == last)) goto LA7_;
1644 				goto LA1;
1645 			}
1646 			LA7_: ;
1647 			(*(*o).typ).callConv = ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9);
1648 			o = skipGenericOwner__ast_4658(o);
1649 		} LA2: ;
1650 	} LA1: ;
1651 }
N_NIMCALL(void,semCaptureSym__lambdalifting_4995)1652 N_LIB_PRIVATE N_NIMCALL(void, semCaptureSym__lambdalifting_4995)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner) {
1653 	{
1654 		NIM_BOOL T3_;
1655 		T3_ = (NIM_BOOL)0;
1656 		T3_ = interestingVar__lambdalifting_151(s);
1657 		if (!(T3_)) goto LA4_;
1658 		T3_ = !(((*s).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 11)));
1659 		LA4_: ;
1660 		if (!T3_) goto LA5_;
1661 		{
1662 			NIM_BOOL T9_;
1663 			NIM_BOOL T11_;
1664 			tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* o;
1665 			T9_ = (NIM_BOOL)0;
1666 			T9_ = !(((*owner).typ == ((tyObject_TType__facALICuu8zUj0hjvbTLFg*) NIM_NIL)));
1667 			if (!(T9_)) goto LA10_;
1668 			T11_ = (NIM_BOOL)0;
1669 			T11_ = isGenericRoutine__ast_4646(owner);
1670 			T9_ = !(T11_);
1671 			LA10_: ;
1672 			if (!T9_) goto LA12_;
1673 			o = skipGenericOwner__ast_4658(owner);
1674 			{
1675 				while (1) {
1676 					NIM_BOOL T16_;
1677 					T16_ = (NIM_BOOL)0;
1678 					T16_ = !((o == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)));
1679 					if (!(T16_)) goto LA17_;
1680 					T16_ = !(((*o).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6)));
1681 					LA17_: ;
1682 					if (!T16_) goto LA15;
1683 					{
1684 						if (!((*s).owner == o)) goto LA20_;
1685 						{
1686 							NIM_BOOL T24_;
1687 							NIM_BOOL T25_;
1688 							NIM_BOOL T28_;
1689 							tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T32_;
1690 							T24_ = (NIM_BOOL)0;
1691 							T25_ = (NIM_BOOL)0;
1692 							T25_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
1693 							if (T25_) goto LA26_;
1694 							T25_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
1695 							LA26_: ;
1696 							T24_ = T25_;
1697 							if (T24_) goto LA27_;
1698 							T28_ = (NIM_BOOL)0;
1699 							T28_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 0));
1700 							if (!(T28_)) goto LA29_;
1701 							T28_ = !((((*(*owner).typ).flags &((NU64)1<<((NU)(((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 42))&63U)))!=0));
1702 							LA29_: ;
1703 							T24_ = T28_;
1704 							LA27_: ;
1705 							if (!T24_) goto LA30_;
1706 							(*(*owner).typ).callConv = ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9);
1707 							T32_ = NIM_NIL;
1708 							T32_ = skipGenericOwner__ast_4658(owner);
1709 							propagateClosure__lambdalifting_4998(T32_, (*s).owner);
1710 						}
1711 						goto LA22_;
1712 						LA30_: ;
1713 						{
1714 						}
1715 						LA22_: ;
1716 					}
1717 					LA20_: ;
1718 					o = skipGenericOwner__ast_4658(o);
1719 				} LA15: ;
1720 			}
1721 		}
1722 		LA12_: ;
1723 	}
1724 	LA5_: ;
1725 }
N_INLINE(void,nimSetMem__systemZmemory_7)1726 static N_INLINE(void, nimSetMem__systemZmemory_7)(void* a, int v, NI size) {
1727 	void* T1_;
1728 	T1_ = (void*)0;
1729 	T1_ = memset(a, v, ((size_t) (size)));
1730 }
N_INLINE(void,nimZeroMem)1731 static N_INLINE(void, nimZeroMem)(void* p, NI size) {
1732 	nimSetMem__systemZmemory_7(p, ((int) 0), size);
1733 }
N_INLINE(void,initIntSet__pureZcollectionsZintsets_238)1734 static N_INLINE(void, initIntSet__pureZcollectionsZintsets_238)(tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA* Result) {
1735 	initPackedSet__pureZcollectionsZintsets_16(Result);
1736 }
N_INLINE(NI,slotsNeeded__pureZcollectionsZtables_42)1737 static N_INLINE(NI, slotsNeeded__pureZcollectionsZtables_42)(NI count) {
1738 	NI result;
1739 	result = (NI)0;
1740 	result = nextPowerOfTwo__pureZmath_177((NI)((NI)((NI)(((NI) (count)) * ((NI) 3)) / ((NI) 2)) + ((NI) 4)));
1741 	return result;
1742 }
N_NIMCALL(void,Marker_tySequence__KHtASjJ36dOrANNiImdvag)1743 static N_NIMCALL(void, Marker_tySequence__KHtASjJ36dOrANNiImdvag)(void* p, NI op) {
1744 	tySequence__KHtASjJ36dOrANNiImdvag* a;
1745 	NI T1_;
1746 	a = (tySequence__KHtASjJ36dOrANNiImdvag*)p;
1747 	T1_ = (NI)0;
1748 	for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
1749 	nimGCvisit((void*)a->data[T1_].Field2, op);
1750 	}
1751 }
N_NIMCALL(void,initTable__lambdalifting_401)1752 N_LIB_PRIVATE N_NIMCALL(void, initTable__lambdalifting_401)(NI initialSize, tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ* Result) {
1753 	NI correctSizeX60gensym51_;
1754 	unsureAsgnRef((void**)&(*Result).data, NIM_NIL);
1755 	(*Result).counter = 0;
1756 	correctSizeX60gensym51_ = slotsNeeded__pureZcollectionsZtables_42(((NI) (initialSize)));
1757 	(*Result).counter = ((NI) 0);
1758 	unsureAsgnRef((void**) (&(*Result).data), (tySequence__KHtASjJ36dOrANNiImdvag*) newSeq((&NTIkeyvaluepairseq__KHtASjJ36dOrANNiImdvag_), ((NI) (correctSizeX60gensym51_))));
1759 }
N_NIMCALL(void,initDetectionPass__lambdalifting_396)1760 N_LIB_PRIVATE N_NIMCALL(void, initDetectionPass__lambdalifting_396)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* fn, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* Result) {
1761 	NI T1_;
1762 	NI T2_;
1763 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym53_;
1764 	(*Result).processed.elems = 0;
1765 	(*Result).processed.counter = 0;
1766 	(*Result).processed.max = 0;
1767 	unsureAsgnRef((void**)&(*Result).processed.head, NIM_NIL);
1768 	unsureAsgnRef((void**)&(*Result).processed.data, NIM_NIL);
1769 	T1_ = (NI)0;
1770 	for (T1_ = 0; T1_ < 34; T1_++) {
1771 	(*Result).processed.a[T1_] = 0;
1772 	}
1773 	(*Result).capturedVars.elems = 0;
1774 	(*Result).capturedVars.counter = 0;
1775 	(*Result).capturedVars.max = 0;
1776 	unsureAsgnRef((void**)&(*Result).capturedVars.head, NIM_NIL);
1777 	unsureAsgnRef((void**)&(*Result).capturedVars.data, NIM_NIL);
1778 	T2_ = (NI)0;
1779 	for (T2_ = 0; T2_ < 34; T2_++) {
1780 	(*Result).capturedVars.a[T2_] = 0;
1781 	}
1782 	unsureAsgnRef((void**)&(*Result).ownerToType.data, NIM_NIL);
1783 	(*Result).ownerToType.counter = 0;
1784 	(*Result).somethingToDo = 0;
1785 	unsureAsgnRef((void**)&(*Result).graph, NIM_NIL);
1786 	unsureAsgnRef((void**)&(*Result).idgen, NIM_NIL);
1787 	initIntSet__pureZcollectionsZintsets_238((&(*Result).processed));
1788 	initIntSet__pureZcollectionsZintsets_238((&(*Result).capturedVars));
1789 	initTable__lambdalifting_401(((NI) 32), (&(*Result).ownerToType));
1790 	xX60gensym53_ = fn;
1791 	incl__pureZcollectionsZintsets_55((&(*Result).processed), (NI)((NI)((NU64)(((NI) ((*xX60gensym53_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym53_).Sup.itemId.item))));
1792 	unsureAsgnRef((void**) (&(*Result).graph), g);
1793 	unsureAsgnRef((void**) (&(*Result).idgen), idgen);
1794 }
N_INLINE(int,nimCmpMem)1795 static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size) {
1796 	int result;
1797 	result = (int)0;
1798 	result = memcmp(a, b, ((size_t) (size)));
1799 	return result;
1800 }
N_INLINE(NIM_BOOL,equalMem__system_1735)1801 static N_INLINE(NIM_BOOL, equalMem__system_1735)(void* a, void* b, NI size) {
1802 	NIM_BOOL result;
1803 	int T1_;
1804 	result = (NIM_BOOL)0;
1805 	T1_ = (int)0;
1806 	T1_ = nimCmpMem(a, b, size);
1807 	result = (T1_ == ((NI32) 0));
1808 	return result;
1809 }
N_INLINE(NIM_BOOL,eqStrings)1810 static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b) {
1811 	NIM_BOOL result;
1812 	NI alen;
1813 	NI blen;
1814 {	result = (NIM_BOOL)0;
1815 	alen = (a ? a->Sup.len : 0);
1816 	blen = (b ? b->Sup.len : 0);
1817 	{
1818 		if (!(alen == blen)) goto LA3_;
1819 		{
1820 			if (!(alen == ((NI) 0))) goto LA7_;
1821 			result = NIM_TRUE;
1822 			goto BeforeRet_;
1823 		}
1824 		LA7_: ;
1825 		result = equalMem__system_1735(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen)));
1826 		goto BeforeRet_;
1827 	}
1828 	LA3_: ;
1829 	}BeforeRet_: ;
1830 	return result;
1831 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,getEnvParam__lambdalifting_131)1832 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, getEnvParam__lambdalifting_131)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* routine) {
1833 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
1834 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* params;
1835 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* hidden;
1836 	result = NIM_NIL;
1837 	params = (*(*routine).ast)._kind_6.sons->data[((NI) 3)];
1838 	hidden = lastSon__ast_4832(params);
1839 	{
1840 		NIM_BOOL T3_;
1841 		T3_ = (NIM_BOOL)0;
1842 		T3_ = ((*hidden).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
1843 		if (!(T3_)) goto LA4_;
1844 		T3_ = eqStrings((*(*(*hidden)._kind_4.sym).name).s, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_3));
1845 		LA4_: ;
1846 		if (!T3_) goto LA5_;
1847 		result = (*hidden)._kind_4.sym;
1848 	}
1849 	LA5_: ;
1850 	return result;
1851 }
N_INLINE(NU64,hiXorLo__pureZhashes_79)1852 static N_INLINE(NU64, hiXorLo__pureZhashes_79)(NU64 a, NU64 b) {
1853 	NU64 result;
1854 	result = (NU64)0;
1855 	__uint128_t r = a; r *= b; result = (r >> 64) ^ r;
1856 	return result;
1857 }
N_INLINE(NI,hashWangYi1__pureZhashes_136)1858 static N_INLINE(NI, hashWangYi1__pureZhashes_136)(NU64 x) {
1859 	NI result;
1860 	NU64 T1_;
1861 	NU64 T2_;
1862 	result = (NI)0;
1863 	T1_ = (NU64)0;
1864 	T1_ = hiXorLo__pureZhashes_79(11562461410679940143ULL, (NU64)(x ^ 16646288086500911323ULL));
1865 	T2_ = (NU64)0;
1866 	T2_ = hiXorLo__pureZhashes_79(T1_, 16952864883938283885ULL);
1867 	result = ((NI) (T2_));
1868 	return result;
1869 }
N_INLINE(NI,hash__pureZhashes_128)1870 static N_INLINE(NI, hash__pureZhashes_128)(NI x) {
1871 	NI result;
1872 	result = (NI)0;
1873 	result = hashWangYi1__pureZhashes_136(((NU64) (x)));
1874 	return result;
1875 }
N_INLINE(NIM_BOOL,isFilled__pureZcollectionsZtables_31)1876 static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZtables_31)(NI hcode) {
1877 	NIM_BOOL result;
1878 	result = (NIM_BOOL)0;
1879 	result = !((hcode == ((NI) 0)));
1880 	return result;
1881 }
N_INLINE(NI,nextTry__pureZcollectionsZtables_34)1882 static N_INLINE(NI, nextTry__pureZcollectionsZtables_34)(NI h, NI maxHash) {
1883 	NI result;
1884 	result = (NI)0;
1885 	result = (NI)((NI)(h + ((NI) 1)) & maxHash);
1886 	return result;
1887 }
N_INLINE(NI,rawGet__lambdalifting_549)1888 static N_INLINE(NI, rawGet__lambdalifting_549)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ t, NI key, NI* hc) {
1889 	NI result;
1890 	NI h;
1891 	NI T10_;
1892 {	result = (NI)0;
1893 	(*hc) = hash__pureZhashes_128(key);
1894 	{
1895 		if (!((*hc) == ((NI) 0))) goto LA3_;
1896 		(*hc) = ((NI) 314159265);
1897 	}
1898 	LA3_: ;
1899 	{
1900 		NI T7_;
1901 		T7_ = (t.data ? t.data->Sup.len : 0);
1902 		if (!(T7_ == ((NI) 0))) goto LA8_;
1903 		result = ((NI) -1);
1904 		goto BeforeRet_;
1905 	}
1906 	LA8_: ;
1907 	T10_ = ((t.data ? t.data->Sup.len : 0)-1);
1908 	h = (NI)((*hc) & T10_);
1909 	{
1910 		while (1) {
1911 			NIM_BOOL T13_;
1912 			NI T20_;
1913 			T13_ = (NIM_BOOL)0;
1914 			T13_ = isFilled__pureZcollectionsZtables_31(t.data->data[h].Field0);
1915 			if (!T13_) goto LA12;
1916 			{
1917 				NIM_BOOL T16_;
1918 				T16_ = (NIM_BOOL)0;
1919 				T16_ = (t.data->data[h].Field0 == (*hc));
1920 				if (!(T16_)) goto LA17_;
1921 				T16_ = (t.data->data[h].Field1 == key);
1922 				LA17_: ;
1923 				if (!T16_) goto LA18_;
1924 				result = h;
1925 				goto BeforeRet_;
1926 			}
1927 			LA18_: ;
1928 			T20_ = ((t.data ? t.data->Sup.len : 0)-1);
1929 			h = nextTry__pureZcollectionsZtables_34(h, T20_);
1930 		} LA12: ;
1931 	}
1932 	result = (NI)(((NI) -1) - h);
1933 	}BeforeRet_: ;
1934 	return result;
1935 }
N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg *,getOrDefault__lambdalifting_540)1936 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, getOrDefault__lambdalifting_540)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ t, NI key) {
1937 	tyObject_TType__facALICuu8zUj0hjvbTLFg* result;
1938 	NI hcX60gensym55_;
1939 	NI indexX60gensym55_;
1940 	result = NIM_NIL;
1941 	hcX60gensym55_ = (NI)0;
1942 	indexX60gensym55_ = rawGet__lambdalifting_549(t, key, (&hcX60gensym55_));
1943 	{
1944 		if (!(((NI) 0) <= indexX60gensym55_)) goto LA3_;
1945 		result = t.data->data[indexX60gensym55_].Field2;
1946 	}
1947 	LA3_: ;
1948 	return result;
1949 }
N_INLINE(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g,nextTypeId__ast_3151)1950 static N_INLINE(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g, nextTypeId__ast_3151)(tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* x) {
1951 	tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g result;
1952 	nimZeroMem((void*)(&result), sizeof(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g));
1953 	(*x).typeId_0 += ((NI) 1);
1954 	nimZeroMem((void*)(&result), sizeof(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g));
1955 	result.module = (*x).module;
1956 	result.item = (*x).typeId_0;
1957 	return result;
1958 }
N_INLINE(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g,nextSymId__ast_3132)1959 static N_INLINE(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g, nextSymId__ast_3132)(tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* x) {
1960 	tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g result;
1961 	nimZeroMem((void*)(&result), sizeof(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g));
1962 	(*x).symId += ((NI) 1);
1963 	nimZeroMem((void*)(&result), sizeof(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g));
1964 	result.module = (*x).module;
1965 	result.item = (*x).symId;
1966 	return result;
1967 }
N_INLINE(NI,pluspercent___system_696)1968 static N_INLINE(NI, pluspercent___system_696)(NI x, NI y) {
1969 	NI result;
1970 	result = (NI)0;
1971 	result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y))))));
1972 	return result;
1973 }
N_INLINE(void,incRef__system_5309)1974 static N_INLINE(void, incRef__system_5309)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
1975 	(*c).refcount = pluspercent___system_696((*c).refcount, ((NI) 8));
1976 }
N_INLINE(NI,minuspercent___system_716)1977 static N_INLINE(NI, minuspercent___system_716)(NI x, NI y) {
1978 	NI result;
1979 	result = (NI)0;
1980 	result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y))))));
1981 	return result;
1982 }
N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g *,usrToCell__system_5271)1983 static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__system_5271)(void* usr) {
1984 	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result;
1985 	NI T1_;
1986 	result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
1987 	T1_ = (NI)0;
1988 	T1_ = minuspercent___system_716(((NI) (ptrdiff_t) (usr)), ((NI) 16));
1989 	result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_));
1990 	return result;
1991 }
N_INLINE(NIM_BOOL,ltpercent___system_1005)1992 static N_INLINE(NIM_BOOL, ltpercent___system_1005)(NI x, NI y) {
1993 	NIM_BOOL result;
1994 	result = (NIM_BOOL)0;
1995 	result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y))));
1996 	return result;
1997 }
N_INLINE(void,rtlAddZCT__system_5314)1998 static N_INLINE(void, rtlAddZCT__system_5314)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
1999 	addZCT__system_5265((&gch__system_5218.zct), c);
2000 }
N_INLINE(void,decRef__system_5316)2001 static N_INLINE(void, decRef__system_5316)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
2002 	(*c).refcount = minuspercent___system_716((*c).refcount, ((NI) 8));
2003 	{
2004 		NIM_BOOL T3_;
2005 		T3_ = (NIM_BOOL)0;
2006 		T3_ = ltpercent___system_1005((*c).refcount, ((NI) 8));
2007 		if (!T3_) goto LA4_;
2008 		rtlAddZCT__system_5314(c);
2009 	}
2010 	LA4_: ;
2011 }
N_INLINE(void,asgnRef)2012 static N_INLINE(void, asgnRef)(void** dest, void* src) {
2013 	{
2014 		tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
2015 		if (!!((src == NIM_NIL))) goto LA3_;
2016 		T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
2017 		T5_ = usrToCell__system_5271(src);
2018 		incRef__system_5309(T5_);
2019 	}
2020 	LA3_: ;
2021 	{
2022 		tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
2023 		if (!!(((*dest) == NIM_NIL))) goto LA8_;
2024 		T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
2025 		T10_ = usrToCell__system_5271((*dest));
2026 		decRef__system_5316(T10_);
2027 	}
2028 	LA8_: ;
2029 	(*dest) = src;
2030 }
N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg *,createClosureIterStateType__lambdalifting_33)2031 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, createClosureIterStateType__lambdalifting_33)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* iter, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen) {
2032 	tyObject_TType__facALICuu8zUj0hjvbTLFg* result;
2033 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n;
2034 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T1_;
2035 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T2_;
2036 	tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T3_;
2037 	tyObject_TType__facALICuu8zUj0hjvbTLFg* intType;
2038 	result = NIM_NIL;
2039 	n = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 44), (*iter).info);
2040 	T1_ = NIM_NIL;
2041 	T1_ = newIntNode__ast_3723(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 6), IL64(-1));
2042 	add__ast_4797(n, T1_);
2043 	T2_ = NIM_NIL;
2044 	T2_ = newIntNode__ast_3723(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 6), IL64(0));
2045 	add__ast_4797(n, T2_);
2046 	T3_ = nextTypeId__ast_3151(idgen);
2047 	result = newType__ast_3896(((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 20), T3_, iter);
2048 	asgnRef((void**) (&(*result).n), n);
2049 	intType = nilOrSysInt__magicsys_8(g);
2050 	{
2051 		tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T8_;
2052 		if (!(intType == 0)) goto LA6_;
2053 		T8_ = nextTypeId__ast_3151(idgen);
2054 		intType = newType__ast_3896(((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 31), T8_, iter);
2055 	}
2056 	LA6_: ;
2057 	rawAddSon__ast_4288(result, intType, NIM_TRUE);
2058 	return result;
2059 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,createStateField__lambdalifting_51)2060 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, createStateField__lambdalifting_51)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* iter, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen) {
2061 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
2062 	tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T1_;
2063 	tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T2_;
2064 	result = NIM_NIL;
2065 	T1_ = NIM_NIL;
2066 	T1_ = getIdent__idents_143((*g).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_4));
2067 	T2_ = nextSymId__ast_3132(idgen);
2068 	result = newSym__ast_3445(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19), T1_, T2_, iter, (*iter).info, 0);
2069 	asgnRef((void**) (&(*result).typ), createClosureIterStateType__lambdalifting_33(g, iter, idgen));
2070 	return result;
2071 }
N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg *,createEnvObj__lambdalifting_56)2072 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, createEnvObj__lambdalifting_56)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {
2073 	tyObject_TType__facALICuu8zUj0hjvbTLFg* result;
2074 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T1_;
2075 	result = NIM_NIL;
2076 	result = createObj__lowerings_288(g, idgen, owner, info, NIM_FALSE);
2077 	T1_ = NIM_NIL;
2078 	T1_ = createStateField__lambdalifting_51(g, owner, idgen);
2079 	rawAddField__lowerings_309(result, T1_);
2080 	return result;
2081 }
N_INLINE(NIM_BOOL,mustRehash__lambdalifting_1064)2082 static N_INLINE(NIM_BOOL, mustRehash__lambdalifting_1064)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ t) {
2083 	NIM_BOOL result;
2084 	NIM_BOOL T1_;
2085 	NI T2_;
2086 	NI T4_;
2087 	result = (NIM_BOOL)0;
2088 	T1_ = (NIM_BOOL)0;
2089 	T2_ = (t.data ? t.data->Sup.len : 0);
2090 	T1_ = ((NI)(T2_ * ((NI) 2)) < (NI)(t.counter * ((NI) 3)));
2091 	if (T1_) goto LA3_;
2092 	T4_ = (t.data ? t.data->Sup.len : 0);
2093 	T1_ = ((NI)(T4_ - t.counter) < ((NI) 4));
2094 	LA3_: ;
2095 	result = T1_;
2096 	return result;
2097 }
N_NIMCALL(void,rawInsert__lambdalifting_1517)2098 N_LIB_PRIVATE N_NIMCALL(void, rawInsert__lambdalifting_1517)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ* t, tySequence__KHtASjJ36dOrANNiImdvag** data, NI key, tyObject_TType__facALICuu8zUj0hjvbTLFg* val, NI hc, NI h) {
2099 	(*data)->data[h].Field1 = key;
2100 	asgnRef((void**) (&(*data)->data[h].Field2), val);
2101 	(*data)->data[h].Field0 = hc;
2102 }
N_NIMCALL(void,enlarge__lambdalifting_1217)2103 N_LIB_PRIVATE N_NIMCALL(void, enlarge__lambdalifting_1217)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ* t) {
2104 	tySequence__KHtASjJ36dOrANNiImdvag* n;
2105 	NI T1_;
2106 	tySequence__KHtASjJ36dOrANNiImdvag* T2_;
2107 	n = NIM_NIL;
2108 	T1_ = ((*t).data ? (*t).data->Sup.len : 0);
2109 	n = (tySequence__KHtASjJ36dOrANNiImdvag*) newSeq((&NTIkeyvaluepairseq__KHtASjJ36dOrANNiImdvag_), ((NI) ((NI)(T1_ * ((NI) 2)))));
2110 	T2_ = NIM_NIL;
2111 	T2_ = (*t).data;
2112 	unsureAsgnRef((void**) (&(*t).data), n);
2113 	n = T2_;
2114 	{
2115 		NI i;
2116 		NI colontmp_;
2117 		NI T4_;
2118 		NI res;
2119 		i = (NI)0;
2120 		colontmp_ = (NI)0;
2121 		T4_ = ((n ? n->Sup.len : 0)-1);
2122 		colontmp_ = T4_;
2123 		res = ((NI) 0);
2124 		{
2125 			while (1) {
2126 				NI eh;
2127 				if (!(res <= colontmp_)) goto LA6;
2128 				i = res;
2129 				eh = n->data[i].Field0;
2130 				{
2131 					NIM_BOOL T9_;
2132 					NI j;
2133 					NI T12_;
2134 					NI T17_;
2135 					tyObject_TType__facALICuu8zUj0hjvbTLFg* T18_;
2136 					T9_ = (NIM_BOOL)0;
2137 					T9_ = isFilled__pureZcollectionsZtables_31(eh);
2138 					if (!T9_) goto LA10_;
2139 					T12_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
2140 					j = (NI)(eh & T12_);
2141 					{
2142 						while (1) {
2143 							NIM_BOOL T15_;
2144 							NI T16_;
2145 							T15_ = (NIM_BOOL)0;
2146 							T15_ = isFilled__pureZcollectionsZtables_31((*t).data->data[j].Field0);
2147 							if (!T15_) goto LA14;
2148 							T16_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
2149 							j = nextTry__pureZcollectionsZtables_34(j, T16_);
2150 						} LA14: ;
2151 					}
2152 					T17_ = (NI)0;
2153 					T17_ = n->data[i].Field1;
2154 					n->data[i].Field1 = 0;
2155 					T18_ = NIM_NIL;
2156 					T18_ = n->data[i].Field2;
2157 					asgnRef((void**) (&n->data[i].Field2), NIM_NIL);
2158 					rawInsert__lambdalifting_1517(t, (&(*t).data), T17_, T18_, eh, j);
2159 				}
2160 				LA10_: ;
2161 				res += ((NI) 1);
2162 			} LA6: ;
2163 		}
2164 	}
2165 }
N_INLINE(NI,rawGetKnownHC__lambdalifting_1686)2166 static N_INLINE(NI, rawGetKnownHC__lambdalifting_1686)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ t, NI key, NI hc) {
2167 	NI result;
2168 	NI h;
2169 	NI T6_;
2170 {	result = (NI)0;
2171 	{
2172 		NI T3_;
2173 		T3_ = (t.data ? t.data->Sup.len : 0);
2174 		if (!(T3_ == ((NI) 0))) goto LA4_;
2175 		result = ((NI) -1);
2176 		goto BeforeRet_;
2177 	}
2178 	LA4_: ;
2179 	T6_ = ((t.data ? t.data->Sup.len : 0)-1);
2180 	h = (NI)(hc & T6_);
2181 	{
2182 		while (1) {
2183 			NIM_BOOL T9_;
2184 			NI T16_;
2185 			T9_ = (NIM_BOOL)0;
2186 			T9_ = isFilled__pureZcollectionsZtables_31(t.data->data[h].Field0);
2187 			if (!T9_) goto LA8;
2188 			{
2189 				NIM_BOOL T12_;
2190 				T12_ = (NIM_BOOL)0;
2191 				T12_ = (t.data->data[h].Field0 == hc);
2192 				if (!(T12_)) goto LA13_;
2193 				T12_ = (t.data->data[h].Field1 == key);
2194 				LA13_: ;
2195 				if (!T12_) goto LA14_;
2196 				result = h;
2197 				goto BeforeRet_;
2198 			}
2199 			LA14_: ;
2200 			T16_ = ((t.data ? t.data->Sup.len : 0)-1);
2201 			h = nextTry__pureZcollectionsZtables_34(h, T16_);
2202 		} LA8: ;
2203 	}
2204 	result = (NI)(((NI) -1) - h);
2205 	}BeforeRet_: ;
2206 	return result;
2207 }
N_NIMCALL(void,X5BX5Deq___lambdalifting_891)2208 N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___lambdalifting_891)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ* t, NI key, tyObject_TType__facALICuu8zUj0hjvbTLFg* val) {
2209 	NI hc;
2210 	NI index;
2211 	{
2212 		NI T3_;
2213 		NI correctSizeX60gensym61_;
2214 		T3_ = ((*t).data ? (*t).data->Sup.len : 0);
2215 		if (!(T3_ == ((NI) 0))) goto LA4_;
2216 		correctSizeX60gensym61_ = slotsNeeded__pureZcollectionsZtables_42(((NI) 32));
2217 		(*t).counter = ((NI) 0);
2218 		unsureAsgnRef((void**) (&(*t).data), (tySequence__KHtASjJ36dOrANNiImdvag*) newSeq((&NTIkeyvaluepairseq__KHtASjJ36dOrANNiImdvag_), ((NI) (correctSizeX60gensym61_))));
2219 	}
2220 	LA4_: ;
2221 	hc = (NI)0;
2222 	index = rawGet__lambdalifting_549((*t), key, (&hc));
2223 	{
2224 		if (!(((NI) 0) <= index)) goto LA8_;
2225 		asgnRef((void**) (&(*t).data->data[index].Field2), val);
2226 	}
2227 	goto LA6_;
2228 	LA8_: ;
2229 	{
2230 		{
2231 			NI T13_;
2232 			NI correctSizeX60gensym64_;
2233 			T13_ = ((*t).data ? (*t).data->Sup.len : 0);
2234 			if (!(T13_ == ((NI) 0))) goto LA14_;
2235 			correctSizeX60gensym64_ = slotsNeeded__pureZcollectionsZtables_42(((NI) 32));
2236 			(*t).counter = ((NI) 0);
2237 			unsureAsgnRef((void**) (&(*t).data), (tySequence__KHtASjJ36dOrANNiImdvag*) newSeq((&NTIkeyvaluepairseq__KHtASjJ36dOrANNiImdvag_), ((NI) (correctSizeX60gensym64_))));
2238 		}
2239 		LA14_: ;
2240 		{
2241 			NIM_BOOL T18_;
2242 			T18_ = (NIM_BOOL)0;
2243 			T18_ = mustRehash__lambdalifting_1064((*t));
2244 			if (!T18_) goto LA19_;
2245 			enlarge__lambdalifting_1217(t);
2246 			index = rawGetKnownHC__lambdalifting_1686((*t), key, hc);
2247 		}
2248 		LA19_: ;
2249 		index = (NI)(((NI) -1) - index);
2250 		rawInsert__lambdalifting_1517(t, (&(*t).data), key, val, hc, index);
2251 		(*t).counter += ((NI) 1);
2252 	}
2253 	LA6_: ;
2254 }
N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg *,getEnvTypeForOwner__lambdalifting_440)2255 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, getEnvTypeForOwner__lambdalifting_440)(tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* c, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {
2256 	tyObject_TType__facALICuu8zUj0hjvbTLFg* result;
2257 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym54_;
2258 	result = NIM_NIL;
2259 	xX60gensym54_ = owner;
2260 	result = getOrDefault__lambdalifting_540((*c).ownerToType, (NI)((NI)((NU64)(((NI) ((*xX60gensym54_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym54_).Sup.itemId.item))));
2261 	{
2262 		tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T5_;
2263 		tyObject_TType__facALICuu8zUj0hjvbTLFg* obj;
2264 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym59_;
2265 		if (!(result == 0)) goto LA3_;
2266 		T5_ = nextTypeId__ast_3151((*c).idgen);
2267 		result = newType__ast_3896(((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 22), T5_, owner);
2268 		obj = createEnvObj__lambdalifting_56((*c).graph, (*c).idgen, owner, info);
2269 		rawAddSon__ast_4288(result, obj, NIM_TRUE);
2270 		xX60gensym59_ = owner;
2271 		X5BX5Deq___lambdalifting_891((&(*c).ownerToType), (NI)((NI)((NU64)(((NI) ((*xX60gensym59_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym59_).Sup.itemId.item))), result);
2272 	}
2273 	LA3_: ;
2274 	return result;
2275 }
N_INLINE(NI,len__ast_3198)2276 static N_INLINE(NI, len__ast_3198)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
2277 	NI result;
2278 	NI T1_;
2279 	result = (NI)0;
2280 	T1_ = ((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0);
2281 	result = T1_;
2282 	return result;
2283 }
N_NIMCALL(void,addHiddenParam__lambdalifting_80)2284 N_LIB_PRIVATE N_NIMCALL(void, addHiddenParam__lambdalifting_80)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* routine, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* param) {
2285 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* params;
2286 	NI T1_;
2287 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T2_;
2288 	params = (*(*routine).ast)._kind_6.sons->data[((NI) 3)];
2289 	T1_ = (NI)0;
2290 	T1_ = len__ast_3198((*(*routine).typ).n);
2291 	(*param).position = (NI)(T1_ - ((NI) 1));
2292 	T2_ = NIM_NIL;
2293 	T2_ = newSymNode__ast_3716(param);
2294 	add__ast_4797(params, T2_);
2295 }
N_NIMCALL(void,addClosureParam__lambdalifting_1971)2296 N_LIB_PRIVATE N_NIMCALL(void, addClosureParam__lambdalifting_1971)(tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* c, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* fn, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {
2297 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* cp;
2298 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner;
2299 	tyObject_TType__facALICuu8zUj0hjvbTLFg* t;
2300 	cp = getEnvParam__lambdalifting_131(fn);
2301 	{
2302 		if (!((*fn).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15))) goto LA3_;
2303 		owner = fn;
2304 	}
2305 	goto LA1_;
2306 	LA3_: ;
2307 	{
2308 		owner = skipGenericOwner__ast_4658(fn);
2309 	}
2310 	LA1_: ;
2311 	t = getEnvTypeForOwner__lambdalifting_440(c, owner, info);
2312 	{
2313 		tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T10_;
2314 		tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T11_;
2315 		if (!(cp == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL))) goto LA8_;
2316 		T10_ = NIM_NIL;
2317 		T10_ = getIdent__idents_143((*(*c).graph).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_3));
2318 		T11_ = nextSymId__ast_3132((*c).idgen);
2319 		cp = newSym__ast_3445(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 3), T10_, T11_, fn, (*fn).info, 0);
2320 		(*cp).flags |= ((NU64)1)<<((((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 2)) & 63);
2321 		asgnRef((void**) (&(*cp).typ), t);
2322 		addHiddenParam__lambdalifting_80(fn, cp);
2323 	}
2324 	goto LA6_;
2325 	LA8_: ;
2326 	{
2327 		NIM_BOOL T13_;
2328 		T13_ = (NIM_BOOL)0;
2329 		T13_ = !(((*cp).typ == t));
2330 		if (!(T13_)) goto LA14_;
2331 		T13_ = !(((*fn).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15)));
2332 		LA14_: ;
2333 		if (!T13_) goto LA15_;
2334 		liMessage__msgs_1118((*(*c).graph).config, (*fn).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_5), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_6, NIM_FALSE);
2335 	}
2336 	goto LA6_;
2337 	LA15_: ;
2338 	LA6_: ;
2339 }
N_NIMCALL(NIM_BOOL,isInnerProc__lambdalifting_177)2340 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isInnerProc__lambdalifting_177)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s) {
2341 	NIM_BOOL result;
2342 	result = (NIM_BOOL)0;
2343 	{
2344 		NIM_BOOL T3_;
2345 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T7_;
2346 		T3_ = (NIM_BOOL)0;
2347 		T3_ = ((126976 &((NU32)1<<((NU)((*s).kind)&31U)))!=0);
2348 		if (!(T3_)) goto LA4_;
2349 		T3_ = ((*s).magic == ((tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg) 0));
2350 		LA4_: ;
2351 		if (!T3_) goto LA5_;
2352 		T7_ = NIM_NIL;
2353 		T7_ = skipGenericOwner__ast_4658(s);
2354 		result = ((520192 &((NU32)1<<((NU)((*T7_).kind)&31U)))!=0);
2355 	}
2356 	LA5_: ;
2357 	return result;
2358 }
N_INLINE(NIM_BOOL,interestingIterVar__lambdalifting_238)2359 static N_INLINE(NIM_BOOL, interestingIterVar__lambdalifting_238)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s) {
2360 	NIM_BOOL result;
2361 	NIM_BOOL T1_;
2362 	result = (NIM_BOOL)0;
2363 	T1_ = (NIM_BOOL)0;
2364 	T1_ = ((2100000 &((NU32)1<<((NU)((*s).kind)&31U)))!=0);
2365 	if (!(T1_)) goto LA2_;
2366 	T1_ = !((((*s).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 3))&63U)))!=0));
2367 	LA2_: ;
2368 	result = T1_;
2369 	return result;
2370 }
N_INLINE(void,nimCopyMem)2371 static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) {
2372 	void* T1_;
2373 	T1_ = (void*)0;
2374 	T1_ = memcpy(dest, source, ((size_t) (size)));
2375 }
N_INLINE(void,copyMem__system_1727)2376 static N_INLINE(void, copyMem__system_1727)(void* dest, void* source, NI size) {
2377 	nimCopyMem(dest, source, size);
2378 }
N_INLINE(void,appendString)2379 static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
2380 	{
2381 		if (!!((src == ((NimStringDesc*) NIM_NIL)))) goto LA3_;
2382 		copyMem__system_1727(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
2383 		(*dest).Sup.len += (*src).Sup.len;
2384 	}
2385 	LA3_: ;
2386 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,getHiddenParam__lambdalifting_106)2387 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, getHiddenParam__lambdalifting_106)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* routine) {
2388 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
2389 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* params;
2390 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* hidden;
2391 	result = NIM_NIL;
2392 	params = (*(*routine).ast)._kind_6.sons->data[((NI) 3)];
2393 	hidden = lastSon__ast_4832(params);
2394 	{
2395 		NIM_BOOL T3_;
2396 		NIM_BOOL T4_;
2397 		T3_ = (NIM_BOOL)0;
2398 		T4_ = (NIM_BOOL)0;
2399 		T4_ = ((*hidden).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
2400 		if (!(T4_)) goto LA5_;
2401 		T4_ = ((*(*hidden)._kind_4.sym).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 3));
2402 		LA5_: ;
2403 		T3_ = T4_;
2404 		if (!(T3_)) goto LA6_;
2405 		T3_ = eqStrings((*(*(*hidden)._kind_4.sym).name).s, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_3));
2406 		LA6_: ;
2407 		if (!T3_) goto LA7_;
2408 		result = (*hidden)._kind_4.sym;
2409 	}
2410 	goto LA1_;
2411 	LA7_: ;
2412 	{
2413 		NimStringDesc* T10_;
2414 		T10_ = NIM_NIL;
2415 		T10_ = rawNewString(((*(*routine).name).s ? (*(*routine).name).s->Sup.len : 0) + 45);
2416 appendString(T10_, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_8));
2417 appendString(T10_, (*(*routine).name).s);
2418 		liMessage__msgs_1118((*g).config, (*routine).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), T10_, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_9, NIM_FALSE);
2419 		result = routine;
2420 	}
2421 	LA1_: ;
2422 	return result;
2423 }
N_INLINE(NIM_BOOL,illegalCapture__lambdalifting_166)2424 static N_INLINE(NIM_BOOL, illegalCapture__lambdalifting_166)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s) {
2425 	NIM_BOOL result;
2426 	NIM_BOOL T1_;
2427 	tyEnum_ViewTypeKind__3S4FAWaxPP9ahVaUnMsznog T2_;
2428 	result = (NIM_BOOL)0;
2429 	T1_ = (NIM_BOOL)0;
2430 	T2_ = (tyEnum_ViewTypeKind__3S4FAWaxPP9ahVaUnMsznog)0;
2431 	T2_ = classifyViewType__typeallowed_564((*s).typ);
2432 	T1_ = !((T2_ == ((tyEnum_ViewTypeKind__3S4FAWaxPP9ahVaUnMsznog) 0)));
2433 	if (T1_) goto LA3_;
2434 	T1_ = ((*s).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 11));
2435 	LA3_: ;
2436 	result = T1_;
2437 	return result;
2438 }
N_NIMCALL(void,markAsClosure__lambdalifting_358)2439 N_LIB_PRIVATE N_NIMCALL(void, markAsClosure__lambdalifting_358)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
2440 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s;
2441 	s = (*n)._kind_4.sym;
2442 	{
2443 		NIM_BOOL T3_;
2444 		tyArray__24KAM9afIUgUaqBaEBB6r9bg T6_;
2445 		NimStringDesc* T7_;
2446 		T3_ = (NIM_BOOL)0;
2447 		T3_ = illegalCapture__lambdalifting_166(s);
2448 		if (!T3_) goto LA4_;
2449 		nimZeroMem((void*)T6_, sizeof(tyArray__24KAM9afIUgUaqBaEBB6r9bg));
2450 		T6_[0] = copyString((*(*s).name).s);
2451 		T6_[1] = typeToString__types_50((*s).typ, ((tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw) 0));
2452 		T6_[2] = dollar___msgs_624((*g).config, (*s).info);
2453 		T7_ = NIM_NIL;
2454 		T7_ = nsuFormatOpenArray(((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_11), T6_, 3);
2455 		liMessage__msgs_1118((*g).config, (*n).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), T7_, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_12, NIM_FALSE);
2456 	}
2457 	goto LA1_;
2458 	LA4_: ;
2459 	{
2460 		NIM_BOOL T9_;
2461 		NIM_BOOL T11_;
2462 		tyArray__24KAM9afIUgUaqBaEBB6r9bg T15_;
2463 		NimStringDesc* T16_;
2464 		T9_ = (NIM_BOOL)0;
2465 		T9_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
2466 		if (T9_) goto LA10_;
2467 		T11_ = (NIM_BOOL)0;
2468 		T11_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 0));
2469 		if (!(T11_)) goto LA12_;
2470 		T11_ = !((((*(*owner).typ).flags &((NU64)1<<((NU)(((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 42))&63U)))!=0));
2471 		LA12_: ;
2472 		T9_ = T11_;
2473 		LA10_: ;
2474 		if (!!(T9_)) goto LA13_;
2475 		nimZeroMem((void*)T15_, sizeof(tyArray__24KAM9afIUgUaqBaEBB6r9bg));
2476 		T15_[0] = copyString((*(*s).name).s);
2477 		T15_[1] = copyString((*(*owner).name).s);
2478 		T15_[2] = reprEnum((NI)(*(*owner).typ).callConv, (&NTItcallingconvention__yjAJ8w0h1PBaSwSGJ3P7IA_));
2479 		T16_ = NIM_NIL;
2480 		T16_ = nsuFormatOpenArray(((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_13), T15_, 3);
2481 		liMessage__msgs_1118((*g).config, (*n).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), T16_, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_14, NIM_FALSE);
2482 	}
2483 	goto LA1_;
2484 	LA13_: ;
2485 	LA1_: ;
2486 	(*(*owner).typ).flags |= ((NU64)1)<<((((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 12)) & 63);
2487 	(*(*owner).typ).callConv = ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9);
2488 }
N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg *,getEnvTypeForOwnerUp__lambdalifting_1942)2489 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, getEnvTypeForOwnerUp__lambdalifting_1942)(tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* c, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {
2490 	tyObject_TType__facALICuu8zUj0hjvbTLFg* result;
2491 	tyObject_TType__facALICuu8zUj0hjvbTLFg* r;
2492 	tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T1_;
2493 	tyObject_TType__facALICuu8zUj0hjvbTLFg* T2_;
2494 	result = NIM_NIL;
2495 	r = getEnvTypeForOwner__lambdalifting_440(c, owner, info);
2496 	T1_ = nextTypeId__ast_3151((*c).idgen);
2497 	result = newType__ast_3896(((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 21), T1_, owner);
2498 	T2_ = NIM_NIL;
2499 	T2_ = skipTypes__ast_3735(r, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
2500 	rawAddSon__ast_4288(result, T2_, NIM_TRUE);
2501 	return result;
2502 }
N_NIMCALL(void,createUpField__lambdalifting_1948)2503 N_LIB_PRIVATE N_NIMCALL(void, createUpField__lambdalifting_1948)(tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* c, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* dest, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* dep, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {
2504 	tyObject_TType__facALICuu8zUj0hjvbTLFg* refObj;
2505 	tyObject_TType__facALICuu8zUj0hjvbTLFg* obj;
2506 	tyObject_TType__facALICuu8zUj0hjvbTLFg* fieldType;
2507 	tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* upIdent;
2508 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* upField;
2509 	refObj = getEnvTypeForOwner__lambdalifting_440(c, dest, info);
2510 	obj = skipTypes__ast_3735(refObj, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
2511 	{
2512 		NIM_BOOL T3_;
2513 		T3_ = (NIM_BOOL)0;
2514 		T3_ = isDefined__options_2279((*(*c).graph).config, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_15));
2515 		if (!T3_) goto LA4_;
2516 		fieldType = getEnvTypeForOwnerUp__lambdalifting_1942(c, dep, info);
2517 	}
2518 	goto LA1_;
2519 	LA4_: ;
2520 	{
2521 		fieldType = getEnvTypeForOwner__lambdalifting_440(c, dep, info);
2522 	}
2523 	LA1_: ;
2524 	{
2525 		if (!(refObj == fieldType)) goto LA9_;
2526 		liMessage__msgs_1118((*(*c).graph).config, (*dep).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_16), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_17, NIM_FALSE);
2527 	}
2528 	LA9_: ;
2529 	upIdent = getIdent__idents_143((*(*c).graph).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_18));
2530 	upField = lookupInRecord__astalgo_84((*obj).n, upIdent);
2531 	{
2532 		if (!!((upField == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)))) goto LA13_;
2533 		{
2534 			tyObject_TType__facALICuu8zUj0hjvbTLFg* T17_;
2535 			tyObject_TType__facALICuu8zUj0hjvbTLFg* T18_;
2536 			T17_ = NIM_NIL;
2537 			T17_ = skipTypes__ast_3735((*upField).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
2538 			T18_ = NIM_NIL;
2539 			T18_ = skipTypes__ast_3735(fieldType, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
2540 			if (!!((T17_ == T18_))) goto LA19_;
2541 			liMessage__msgs_1118((*(*c).graph).config, (*dep).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_19), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_20, NIM_FALSE);
2542 		}
2543 		LA19_: ;
2544 	}
2545 	goto LA11_;
2546 	LA13_: ;
2547 	{
2548 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
2549 		tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T22_;
2550 		T22_ = nextSymId__ast_3132((*c).idgen);
2551 		result = newSym__ast_3445(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19), upIdent, T22_, (*obj).owner, (*(*obj).owner).info, 0);
2552 		asgnRef((void**) (&(*result).typ), fieldType);
2553 		rawAddField__lowerings_309(obj, result);
2554 	}
2555 	LA11_: ;
2556 }
N_NIMCALL(void,detectCapturedVars__lambdalifting_1998)2557 N_LIB_PRIVATE N_NIMCALL(void, detectCapturedVars__lambdalifting_1998)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* c) {
2558 	switch ((*n).kind) {
2559 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3):
2560 	{
2561 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s;
2562 		NIM_BOOL innerProc;
2563 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* ow;
2564 		s = (*n)._kind_4.sym;
2565 		{
2566 			NIM_BOOL T4_;
2567 			NIM_BOOL T5_;
2568 			T4_ = (NIM_BOOL)0;
2569 			T5_ = (NIM_BOOL)0;
2570 			T5_ = ((126976 &((NU32)1<<((NU)((*s).kind)&31U)))!=0);
2571 			if (!(T5_)) goto LA6_;
2572 			T5_ = !(((*s).typ == ((tyObject_TType__facALICuu8zUj0hjvbTLFg*) NIM_NIL)));
2573 			LA6_: ;
2574 			T4_ = T5_;
2575 			if (!(T4_)) goto LA7_;
2576 			T4_ = ((*(*s).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
2577 			LA7_: ;
2578 			if (!T4_) goto LA8_;
2579 			addClosureParam__lambdalifting_1971(c, s, (*n).info);
2580 			(*c).somethingToDo = NIM_TRUE;
2581 		}
2582 		LA8_: ;
2583 		innerProc = isInnerProc__lambdalifting_177(s);
2584 		{
2585 			if (!innerProc) goto LA12_;
2586 			{
2587 				NIM_BOOL T16_;
2588 				T16_ = (NIM_BOOL)0;
2589 				T16_ = ((*s).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
2590 				if (!(T16_)) goto LA17_;
2591 				T16_ = ((*(*s).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
2592 				LA17_: ;
2593 				if (!T16_) goto LA18_;
2594 				(*c).somethingToDo = NIM_TRUE;
2595 			}
2596 			LA18_: ;
2597 			{
2598 				tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym88_;
2599 				NIM_BOOL T22_;
2600 				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* body;
2601 				xX60gensym88_ = s;
2602 				T22_ = (NIM_BOOL)0;
2603 				T22_ = containsOrIncl__astalgo_402((&(*c).processed), (NI)((NI)((NU64)(((NI) ((*xX60gensym88_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym88_).Sup.itemId.item))));
2604 				if (!!(T22_)) goto LA23_;
2605 				body = transformBody__transf_16((*c).graph, (*c).idgen, s, NIM_TRUE);
2606 				detectCapturedVars__lambdalifting_1998(body, s, c);
2607 			}
2608 			LA23_: ;
2609 		}
2610 		LA12_: ;
2611 		ow = skipGenericOwner__ast_4658(s);
2612 		{
2613 			if (!(ow == owner)) goto LA27_;
2614 			{
2615 				NIM_BOOL T31_;
2616 				T31_ = (NIM_BOOL)0;
2617 				T31_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
2618 				if (!(T31_)) goto LA32_;
2619 				T31_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
2620 				LA32_: ;
2621 				if (!T31_) goto LA33_;
2622 				(*c).somethingToDo = NIM_TRUE;
2623 				addClosureParam__lambdalifting_1971(c, owner, (*n).info);
2624 				{
2625 					NIM_BOOL T37_;
2626 					T37_ = (NIM_BOOL)0;
2627 					T37_ = interestingIterVar__lambdalifting_238(s);
2628 					if (!T37_) goto LA38_;
2629 					{
2630 						tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym90_;
2631 						NIM_BOOL T42_;
2632 						tyObject_TType__facALICuu8zUj0hjvbTLFg* obj;
2633 						tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T45_;
2634 						xX60gensym90_ = s;
2635 						T42_ = (NIM_BOOL)0;
2636 						T42_ = containsOrIncl__astalgo_402((&(*c).capturedVars), (NI)((NI)((NU64)(((NI) ((*xX60gensym90_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym90_).Sup.itemId.item))));
2637 						if (!!(T42_)) goto LA43_;
2638 						T45_ = NIM_NIL;
2639 						T45_ = getHiddenParam__lambdalifting_106((*c).graph, owner);
2640 						obj = skipTypes__ast_3735((*T45_).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
2641 						{
2642 							tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T48_;
2643 							tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T51_;
2644 							T48_ = NIM_NIL;
2645 							T48_ = getIdent__idents_143((*(*c).graph).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_4));
2646 							if (!((*(*s).name).id == (*T48_).id)) goto LA49_;
2647 							nimZeroMem((void*)(&T51_), sizeof(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g));
2648 							T51_.module = (*s).Sup.itemId.module;
2649 							T51_.item = ((NI32)-((*s).Sup.itemId.item));
2650 							(*(*(*(*obj).n)._kind_6.sons->data[((NI) 0)])._kind_4.sym).Sup.itemId = T51_;
2651 						}
2652 						goto LA46_;
2653 						LA49_: ;
2654 						{
2655 							addField__lowerings_415(obj, s, (*(*c).graph).cache, (*c).idgen);
2656 						}
2657 						LA46_: ;
2658 					}
2659 					LA43_: ;
2660 				}
2661 				LA38_: ;
2662 			}
2663 			LA33_: ;
2664 		}
2665 		goto LA25_;
2666 		LA27_: ;
2667 		{
2668 			NIM_BOOL T54_;
2669 			NIM_BOOL T55_;
2670 			tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* w;
2671 			T54_ = (NIM_BOOL)0;
2672 			T55_ = (NIM_BOOL)0;
2673 			T55_ = innerProc;
2674 			if (!(T55_)) goto LA56_;
2675 			T55_ = ((*(*s).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
2676 			LA56_: ;
2677 			T54_ = T55_;
2678 			if (T54_) goto LA57_;
2679 			T54_ = interestingVar__lambdalifting_151(s);
2680 			LA57_: ;
2681 			if (!T54_) goto LA58_;
2682 			(*c).somethingToDo = NIM_TRUE;
2683 			markAsClosure__lambdalifting_358((*c).graph, owner, n);
2684 			addClosureParam__lambdalifting_1971(c, owner, (*n).info);
2685 			{
2686 				NIM_BOOL T62_;
2687 				tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym92_;
2688 				NIM_BOOL T64_;
2689 				tyObject_TType__facALICuu8zUj0hjvbTLFg* obj_2;
2690 				tyObject_TType__facALICuu8zUj0hjvbTLFg* T67_;
2691 				T62_ = (NIM_BOOL)0;
2692 				T62_ = interestingVar__lambdalifting_151(s);
2693 				if (!(T62_)) goto LA63_;
2694 				xX60gensym92_ = s;
2695 				T64_ = (NIM_BOOL)0;
2696 				T64_ = containsOrIncl__astalgo_402((&(*c).capturedVars), (NI)((NI)((NU64)(((NI) ((*xX60gensym92_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym92_).Sup.itemId.item))));
2697 				T62_ = !(T64_);
2698 				LA63_: ;
2699 				if (!T62_) goto LA65_;
2700 				T67_ = NIM_NIL;
2701 				T67_ = getEnvTypeForOwner__lambdalifting_440(c, ow, (*n).info);
2702 				obj_2 = skipTypes__ast_3735(T67_, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
2703 				addField__lowerings_415(obj_2, s, (*(*c).graph).cache, (*c).idgen);
2704 			}
2705 			LA65_: ;
2706 			w = skipGenericOwner__ast_4658(owner);
2707 			{
2708 				NIM_BOOL T70_;
2709 				NIM_BOOL T72_;
2710 				tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* last;
2711 				T70_ = (NIM_BOOL)0;
2712 				T70_ = isInnerProc__lambdalifting_177(w);
2713 				if (T70_) goto LA71_;
2714 				T72_ = (NIM_BOOL)0;
2715 				T72_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
2716 				if (!(T72_)) goto LA73_;
2717 				T72_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
2718 				LA73_: ;
2719 				T70_ = T72_;
2720 				LA71_: ;
2721 				if (!T70_) goto LA74_;
2722 				{
2723 					NIM_BOOL T78_;
2724 					T78_ = (NIM_BOOL)0;
2725 					T78_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
2726 					if (!(T78_)) goto LA79_;
2727 					T78_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
2728 					LA79_: ;
2729 					if (!T78_) goto LA80_;
2730 					w = owner;
2731 				}
2732 				LA80_: ;
2733 				{
2734 					NIM_BOOL T84_;
2735 					T84_ = (NIM_BOOL)0;
2736 					T84_ = ((*ow).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
2737 					if (!(T84_)) goto LA85_;
2738 					T84_ = ((*(*ow).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
2739 					LA85_: ;
2740 					if (!T84_) goto LA86_;
2741 					last = skipGenericOwner__ast_4658(ow);
2742 				}
2743 				goto LA82_;
2744 				LA86_: ;
2745 				{
2746 					last = ow;
2747 				}
2748 				LA82_: ;
2749 				{
2750 					while (1) {
2751 						NIM_BOOL T91_;
2752 						NIM_BOOL T92_;
2753 						tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* up;
2754 						T91_ = (NIM_BOOL)0;
2755 						T92_ = (NIM_BOOL)0;
2756 						T92_ = !((w == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)));
2757 						if (!(T92_)) goto LA93_;
2758 						T92_ = !(((*w).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6)));
2759 						LA93_: ;
2760 						T91_ = T92_;
2761 						if (!(T91_)) goto LA94_;
2762 						T91_ = !((last == w));
2763 						LA94_: ;
2764 						if (!T91_) goto LA90;
2765 						up = skipGenericOwner__ast_4658(w);
2766 						markAsClosure__lambdalifting_358((*c).graph, w, n);
2767 						addClosureParam__lambdalifting_1971(c, w, (*n).info);
2768 						createUpField__lambdalifting_1948(c, w, up, (*n).info);
2769 						w = up;
2770 					} LA90: ;
2771 				}
2772 			}
2773 			LA74_: ;
2774 		}
2775 		goto LA25_;
2776 		LA58_: ;
2777 		LA25_: ;
2778 	}
2779 	break;
2780 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 2):
2781 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 4) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23):
2782 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 83):
2783 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 98):
2784 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 79):
2785 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 80):
2786 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 81):
2787 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 82):
2788 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 159):
2789 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 125):
2790 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 132):
2791 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 123):
2792 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 122):
2793 	{
2794 	}
2795 	break;
2796 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 51) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 52):
2797 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 84):
2798 	{
2799 		{
2800 			if (!!(((*n).typ == ((tyObject_TType__facALICuu8zUj0hjvbTLFg*) NIM_NIL)))) goto LA99_;
2801 			detectCapturedVars__lambdalifting_1998((*n)._kind_6.sons->data[((NI) 0)], owner, c);
2802 		}
2803 		LA99_: ;
2804 	}
2805 	break;
2806 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 109):
2807 	{
2808 		detectCapturedVars__lambdalifting_1998((*n)._kind_6.sons->data[((NI) 0)], owner, c);
2809 	}
2810 	break;
2811 	default:
2812 	{
2813 		{
2814 			NI i;
2815 			NI colontmp_;
2816 			NI i_2;
2817 			i = (NI)0;
2818 			colontmp_ = (NI)0;
2819 			colontmp_ = len__ast_3198(n);
2820 			i_2 = ((NI) 0);
2821 			{
2822 				while (1) {
2823 					if (!(i_2 < colontmp_)) goto LA105;
2824 					i = i_2;
2825 					detectCapturedVars__lambdalifting_1998((*n)._kind_6.sons->data[i], owner, c);
2826 					i_2 += ((NI) 1);
2827 				} LA105: ;
2828 			}
2829 		}
2830 	}
2831 	break;
2832 	}
2833 }
N_NIMCALL(void,Marker_tySequence__YuKuU17u5ApAIki23DK9bJw)2834 static N_NIMCALL(void, Marker_tySequence__YuKuU17u5ApAIki23DK9bJw)(void* p, NI op) {
2835 	tySequence__YuKuU17u5ApAIki23DK9bJw* a;
2836 	NI T1_;
2837 	a = (tySequence__YuKuU17u5ApAIki23DK9bJw*)p;
2838 	T1_ = (NI)0;
2839 	for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
2840 	nimGCvisit((void*)a->data[T1_].Field2, op);
2841 	}
2842 }
N_NIMCALL(void,initTable__lambdalifting_2164)2843 N_LIB_PRIVATE N_NIMCALL(void, initTable__lambdalifting_2164)(NI initialSize, tyObject_Table__JrI9bTpOVccKpiJXKOskjFg* Result) {
2844 	NI correctSizeX60gensym104_;
2845 	unsureAsgnRef((void**)&(*Result).data, NIM_NIL);
2846 	(*Result).counter = 0;
2847 	correctSizeX60gensym104_ = slotsNeeded__pureZcollectionsZtables_42(((NI) (initialSize)));
2848 	(*Result).counter = ((NI) 0);
2849 	unsureAsgnRef((void**) (&(*Result).data), (tySequence__YuKuU17u5ApAIki23DK9bJw*) newSeq((&NTIkeyvaluepairseq__YuKuU17u5ApAIki23DK9bJw_), ((NI) (correctSizeX60gensym104_))));
2850 }
N_NIMCALL(void,initLiftingPass__lambdalifting_2151)2851 N_LIB_PRIVATE N_NIMCALL(void, initLiftingPass__lambdalifting_2151)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* fn, tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw* Result) {
2852 	NI T1_;
2853 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym103_;
2854 	(*Result).processed.elems = 0;
2855 	(*Result).processed.counter = 0;
2856 	(*Result).processed.max = 0;
2857 	unsureAsgnRef((void**)&(*Result).processed.head, NIM_NIL);
2858 	unsureAsgnRef((void**)&(*Result).processed.data, NIM_NIL);
2859 	T1_ = (NI)0;
2860 	for (T1_ = 0; T1_ < 34; T1_++) {
2861 	(*Result).processed.a[T1_] = 0;
2862 	}
2863 	unsureAsgnRef((void**)&(*Result).envVars.data, NIM_NIL);
2864 	(*Result).envVars.counter = 0;
2865 	(*Result).inContainer = 0;
2866 	unsureAsgnRef((void**)&(*Result).unownedEnvVars.data, NIM_NIL);
2867 	(*Result).unownedEnvVars.counter = 0;
2868 	initIntSet__pureZcollectionsZintsets_238((&(*Result).processed));
2869 	xX60gensym103_ = fn;
2870 	incl__pureZcollectionsZintsets_55((&(*Result).processed), (NI)((NI)((NU64)(((NI) ((*xX60gensym103_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym103_).Sup.itemId.item))));
2871 	initTable__lambdalifting_2164(((NI) 32), (&(*Result).envVars));
2872 }
N_INLINE(NI,rawGet__lambdalifting_2349)2873 static N_INLINE(NI, rawGet__lambdalifting_2349)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg t, NI key, NI* hc) {
2874 	NI result;
2875 	NI h;
2876 	NI T10_;
2877 {	result = (NI)0;
2878 	(*hc) = hash__pureZhashes_128(key);
2879 	{
2880 		if (!((*hc) == ((NI) 0))) goto LA3_;
2881 		(*hc) = ((NI) 314159265);
2882 	}
2883 	LA3_: ;
2884 	{
2885 		NI T7_;
2886 		T7_ = (t.data ? t.data->Sup.len : 0);
2887 		if (!(T7_ == ((NI) 0))) goto LA8_;
2888 		result = ((NI) -1);
2889 		goto BeforeRet_;
2890 	}
2891 	LA8_: ;
2892 	T10_ = ((t.data ? t.data->Sup.len : 0)-1);
2893 	h = (NI)((*hc) & T10_);
2894 	{
2895 		while (1) {
2896 			NIM_BOOL T13_;
2897 			NI T20_;
2898 			T13_ = (NIM_BOOL)0;
2899 			T13_ = isFilled__pureZcollectionsZtables_31(t.data->data[h].Field0);
2900 			if (!T13_) goto LA12;
2901 			{
2902 				NIM_BOOL T16_;
2903 				T16_ = (NIM_BOOL)0;
2904 				T16_ = (t.data->data[h].Field0 == (*hc));
2905 				if (!(T16_)) goto LA17_;
2906 				T16_ = (t.data->data[h].Field1 == key);
2907 				LA17_: ;
2908 				if (!T16_) goto LA18_;
2909 				result = h;
2910 				goto BeforeRet_;
2911 			}
2912 			LA18_: ;
2913 			T20_ = ((t.data ? t.data->Sup.len : 0)-1);
2914 			h = nextTry__pureZcollectionsZtables_34(h, T20_);
2915 		} LA12: ;
2916 	}
2917 	result = (NI)(((NI) -1) - h);
2918 	}BeforeRet_: ;
2919 	return result;
2920 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,getOrDefault__lambdalifting_2340)2921 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, getOrDefault__lambdalifting_2340)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg t, NI key) {
2922 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
2923 	NI hcX60gensym114_;
2924 	NI indexX60gensym114_;
2925 	result = NIM_NIL;
2926 	hcX60gensym114_ = (NI)0;
2927 	indexX60gensym114_ = rawGet__lambdalifting_2349(t, key, (&hcX60gensym114_));
2928 	{
2929 		if (!(((NI) 0) <= indexX60gensym114_)) goto LA3_;
2930 		result = t.data->data[indexX60gensym114_].Field2;
2931 	}
2932 	LA3_: ;
2933 	return result;
2934 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,newEnvVar__lambdalifting_2223)2935 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newEnvVar__lambdalifting_2223)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_TType__facALICuu8zUj0hjvbTLFg* typ, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen) {
2936 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
2937 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* v;
2938 	tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T1_;
2939 	tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T2_;
2940 	result = NIM_NIL;
2941 	T1_ = NIM_NIL;
2942 	T1_ = getIdent__idents_143(cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_24));
2943 	T2_ = nextSymId__ast_3132(idgen);
2944 	v = newSym__ast_3445(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 8), T1_, T2_, owner, info, 0);
2945 	(*v).flags = IL64(549789368320);
2946 	asgnRef((void**) (&(*v).typ), typ);
2947 	result = newSymNode__ast_3716(v);
2948 	return result;
2949 }
N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg *,asOwnedRef__lambdalifting_1923)2950 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, asOwnedRef__lambdalifting_1923)(tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* c, tyObject_TType__facALICuu8zUj0hjvbTLFg* t) {
2951 	tyObject_TType__facALICuu8zUj0hjvbTLFg* result;
2952 	result = NIM_NIL;
2953 	{
2954 		tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T5_;
2955 		if (!(((*(*(*c).graph).config).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 42))&63U)))!=0)) goto LA3_;
2956 		T5_ = nextTypeId__ast_3151((*c).idgen);
2957 		result = newType__ast_3896(((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 45), T5_, (*t).owner);
2958 		(*result).flags |= ((NU64)1)<<((((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 4)) & 63);
2959 		rawAddSon__ast_4288(result, t, NIM_TRUE);
2960 	}
2961 	goto LA1_;
2962 	LA3_: ;
2963 	{
2964 		result = t;
2965 	}
2966 	LA1_: ;
2967 	return result;
2968 }
N_INLINE(NIM_BOOL,mustRehash__lambdalifting_2967)2969 static N_INLINE(NIM_BOOL, mustRehash__lambdalifting_2967)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg t) {
2970 	NIM_BOOL result;
2971 	NIM_BOOL T1_;
2972 	NI T2_;
2973 	NI T4_;
2974 	result = (NIM_BOOL)0;
2975 	T1_ = (NIM_BOOL)0;
2976 	T2_ = (t.data ? t.data->Sup.len : 0);
2977 	T1_ = ((NI)(T2_ * ((NI) 2)) < (NI)(t.counter * ((NI) 3)));
2978 	if (T1_) goto LA3_;
2979 	T4_ = (t.data ? t.data->Sup.len : 0);
2980 	T1_ = ((NI)(T4_ - t.counter) < ((NI) 4));
2981 	LA3_: ;
2982 	result = T1_;
2983 	return result;
2984 }
N_NIMCALL(void,rawInsert__lambdalifting_3424)2985 N_LIB_PRIVATE N_NIMCALL(void, rawInsert__lambdalifting_3424)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg* t, tySequence__YuKuU17u5ApAIki23DK9bJw** data, NI key, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* val, NI hc, NI h) {
2986 	(*data)->data[h].Field1 = key;
2987 	asgnRef((void**) (&(*data)->data[h].Field2), val);
2988 	(*data)->data[h].Field0 = hc;
2989 }
N_NIMCALL(void,enlarge__lambdalifting_3120)2990 N_LIB_PRIVATE N_NIMCALL(void, enlarge__lambdalifting_3120)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg* t) {
2991 	tySequence__YuKuU17u5ApAIki23DK9bJw* n;
2992 	NI T1_;
2993 	tySequence__YuKuU17u5ApAIki23DK9bJw* T2_;
2994 	n = NIM_NIL;
2995 	T1_ = ((*t).data ? (*t).data->Sup.len : 0);
2996 	n = (tySequence__YuKuU17u5ApAIki23DK9bJw*) newSeq((&NTIkeyvaluepairseq__YuKuU17u5ApAIki23DK9bJw_), ((NI) ((NI)(T1_ * ((NI) 2)))));
2997 	T2_ = NIM_NIL;
2998 	T2_ = (*t).data;
2999 	unsureAsgnRef((void**) (&(*t).data), n);
3000 	n = T2_;
3001 	{
3002 		NI i;
3003 		NI colontmp_;
3004 		NI T4_;
3005 		NI res;
3006 		i = (NI)0;
3007 		colontmp_ = (NI)0;
3008 		T4_ = ((n ? n->Sup.len : 0)-1);
3009 		colontmp_ = T4_;
3010 		res = ((NI) 0);
3011 		{
3012 			while (1) {
3013 				NI eh;
3014 				if (!(res <= colontmp_)) goto LA6;
3015 				i = res;
3016 				eh = n->data[i].Field0;
3017 				{
3018 					NIM_BOOL T9_;
3019 					NI j;
3020 					NI T12_;
3021 					NI T17_;
3022 					tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T18_;
3023 					T9_ = (NIM_BOOL)0;
3024 					T9_ = isFilled__pureZcollectionsZtables_31(eh);
3025 					if (!T9_) goto LA10_;
3026 					T12_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
3027 					j = (NI)(eh & T12_);
3028 					{
3029 						while (1) {
3030 							NIM_BOOL T15_;
3031 							NI T16_;
3032 							T15_ = (NIM_BOOL)0;
3033 							T15_ = isFilled__pureZcollectionsZtables_31((*t).data->data[j].Field0);
3034 							if (!T15_) goto LA14;
3035 							T16_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
3036 							j = nextTry__pureZcollectionsZtables_34(j, T16_);
3037 						} LA14: ;
3038 					}
3039 					T17_ = (NI)0;
3040 					T17_ = n->data[i].Field1;
3041 					n->data[i].Field1 = 0;
3042 					T18_ = NIM_NIL;
3043 					T18_ = n->data[i].Field2;
3044 					asgnRef((void**) (&n->data[i].Field2), NIM_NIL);
3045 					rawInsert__lambdalifting_3424(t, (&(*t).data), T17_, T18_, eh, j);
3046 				}
3047 				LA10_: ;
3048 				res += ((NI) 1);
3049 			} LA6: ;
3050 		}
3051 	}
3052 }
N_INLINE(NI,rawGetKnownHC__lambdalifting_3593)3053 static N_INLINE(NI, rawGetKnownHC__lambdalifting_3593)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg t, NI key, NI hc) {
3054 	NI result;
3055 	NI h;
3056 	NI T6_;
3057 {	result = (NI)0;
3058 	{
3059 		NI T3_;
3060 		T3_ = (t.data ? t.data->Sup.len : 0);
3061 		if (!(T3_ == ((NI) 0))) goto LA4_;
3062 		result = ((NI) -1);
3063 		goto BeforeRet_;
3064 	}
3065 	LA4_: ;
3066 	T6_ = ((t.data ? t.data->Sup.len : 0)-1);
3067 	h = (NI)(hc & T6_);
3068 	{
3069 		while (1) {
3070 			NIM_BOOL T9_;
3071 			NI T16_;
3072 			T9_ = (NIM_BOOL)0;
3073 			T9_ = isFilled__pureZcollectionsZtables_31(t.data->data[h].Field0);
3074 			if (!T9_) goto LA8;
3075 			{
3076 				NIM_BOOL T12_;
3077 				T12_ = (NIM_BOOL)0;
3078 				T12_ = (t.data->data[h].Field0 == hc);
3079 				if (!(T12_)) goto LA13_;
3080 				T12_ = (t.data->data[h].Field1 == key);
3081 				LA13_: ;
3082 				if (!T12_) goto LA14_;
3083 				result = h;
3084 				goto BeforeRet_;
3085 			}
3086 			LA14_: ;
3087 			T16_ = ((t.data ? t.data->Sup.len : 0)-1);
3088 			h = nextTry__pureZcollectionsZtables_34(h, T16_);
3089 		} LA8: ;
3090 	}
3091 	result = (NI)(((NI) -1) - h);
3092 	}BeforeRet_: ;
3093 	return result;
3094 }
N_NIMCALL(void,X5BX5Deq___lambdalifting_2794)3095 N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___lambdalifting_2794)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg* t, NI key, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* val) {
3096 	NI hc;
3097 	NI index;
3098 	{
3099 		NI T3_;
3100 		NI correctSizeX60gensym123_;
3101 		T3_ = ((*t).data ? (*t).data->Sup.len : 0);
3102 		if (!(T3_ == ((NI) 0))) goto LA4_;
3103 		correctSizeX60gensym123_ = slotsNeeded__pureZcollectionsZtables_42(((NI) 32));
3104 		(*t).counter = ((NI) 0);
3105 		unsureAsgnRef((void**) (&(*t).data), (tySequence__YuKuU17u5ApAIki23DK9bJw*) newSeq((&NTIkeyvaluepairseq__YuKuU17u5ApAIki23DK9bJw_), ((NI) (correctSizeX60gensym123_))));
3106 	}
3107 	LA4_: ;
3108 	hc = (NI)0;
3109 	index = rawGet__lambdalifting_2349((*t), key, (&hc));
3110 	{
3111 		if (!(((NI) 0) <= index)) goto LA8_;
3112 		asgnRef((void**) (&(*t).data->data[index].Field2), val);
3113 	}
3114 	goto LA6_;
3115 	LA8_: ;
3116 	{
3117 		{
3118 			NI T13_;
3119 			NI correctSizeX60gensym126_;
3120 			T13_ = ((*t).data ? (*t).data->Sup.len : 0);
3121 			if (!(T13_ == ((NI) 0))) goto LA14_;
3122 			correctSizeX60gensym126_ = slotsNeeded__pureZcollectionsZtables_42(((NI) 32));
3123 			(*t).counter = ((NI) 0);
3124 			unsureAsgnRef((void**) (&(*t).data), (tySequence__YuKuU17u5ApAIki23DK9bJw*) newSeq((&NTIkeyvaluepairseq__YuKuU17u5ApAIki23DK9bJw_), ((NI) (correctSizeX60gensym126_))));
3125 		}
3126 		LA14_: ;
3127 		{
3128 			NIM_BOOL T18_;
3129 			T18_ = (NIM_BOOL)0;
3130 			T18_ = mustRehash__lambdalifting_2967((*t));
3131 			if (!T18_) goto LA19_;
3132 			enlarge__lambdalifting_3120(t);
3133 			index = rawGetKnownHC__lambdalifting_3593((*t), key, hc);
3134 		}
3135 		LA19_: ;
3136 		index = (NI)(((NI) -1) - index);
3137 		rawInsert__lambdalifting_3424(t, (&(*t).data), key, val, hc, index);
3138 		(*t).counter += ((NI) 1);
3139 	}
3140 	LA6_: ;
3141 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,setupEnvVar__lambdalifting_2231)3142 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, setupEnvVar__lambdalifting_2231)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* d, tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw* c, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {
3143 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3144 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym113_;
3145 {	result = NIM_NIL;
3146 	{
3147 		NIM_BOOL T3_;
3148 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T7_;
3149 		T3_ = (NIM_BOOL)0;
3150 		T3_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
3151 		if (!(T3_)) goto LA4_;
3152 		T3_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
3153 		LA4_: ;
3154 		if (!T3_) goto LA5_;
3155 		T7_ = NIM_NIL;
3156 		T7_ = getHiddenParam__lambdalifting_106((*d).graph, owner);
3157 		result = newSymNode__ast_3716(T7_);
3158 		goto BeforeRet_;
3159 	}
3160 	LA5_: ;
3161 	xX60gensym113_ = owner;
3162 	result = getOrDefault__lambdalifting_2340((*c).envVars, (NI)((NI)((NU64)(((NI) ((*xX60gensym113_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym113_).Sup.itemId.item))));
3163 	{
3164 		tyObject_TType__facALICuu8zUj0hjvbTLFg* envVarType;
3165 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym118_;
3166 		tyObject_TType__facALICuu8zUj0hjvbTLFg* T16_;
3167 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym121_;
3168 		if (!(result == 0)) goto LA10_;
3169 		xX60gensym118_ = owner;
3170 		envVarType = getOrDefault__lambdalifting_540((*d).ownerToType, (NI)((NI)((NU64)(((NI) ((*xX60gensym118_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym118_).Sup.itemId.item))));
3171 		{
3172 			if (!(envVarType == 0)) goto LA14_;
3173 			liMessage__msgs_1118((*(*d).graph).config, (*owner).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_22), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_23, NIM_FALSE);
3174 		}
3175 		LA14_: ;
3176 		T16_ = NIM_NIL;
3177 		T16_ = asOwnedRef__lambdalifting_1923(d, envVarType);
3178 		result = newEnvVar__lambdalifting_2223((*(*d).graph).cache, owner, T16_, info, (*d).idgen);
3179 		xX60gensym121_ = owner;
3180 		X5BX5Deq___lambdalifting_2794((&(*c).envVars), (NI)((NI)((NU64)(((NI) ((*xX60gensym121_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym121_).Sup.itemId.item))), result);
3181 		{
3182 			tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* v;
3183 			tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T21_;
3184 			tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T22_;
3185 			tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym135_;
3186 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T23_;
3187 			if (!(((*(*(*d).graph).config).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 42))&63U)))!=0)) goto LA19_;
3188 			T21_ = NIM_NIL;
3189 			T21_ = getIdent__idents_143((*(*d).graph).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_25));
3190 			T22_ = nextSymId__ast_3132((*d).idgen);
3191 			v = newSym__ast_3445(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 8), T21_, T22_, owner, info, 0);
3192 			(*v).flags = IL64(549789368320);
3193 			asgnRef((void**) (&(*v).typ), envVarType);
3194 			xX60gensym135_ = owner;
3195 			T23_ = NIM_NIL;
3196 			T23_ = newSymNode__ast_3716(v);
3197 			X5BX5Deq___lambdalifting_2794((&(*c).unownedEnvVars), (NI)((NI)((NU64)(((NI) ((*xX60gensym135_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym135_).Sup.itemId.item))), T23_);
3198 		}
3199 		LA19_: ;
3200 	}
3201 	LA10_: ;
3202 	}BeforeRet_: ;
3203 	return result;
3204 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw **,X5BX5D___lambdalifting_4026)3205 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw**, X5BX5D___lambdalifting_4026)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg* t, NI key) {
3206 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw** result;
3207 	NI hcX60gensym22_;
3208 	NI indexX60gensym22_;
3209 	result = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw**)0;
3210 	hcX60gensym22_ = (NI)0;
3211 	indexX60gensym22_ = rawGet__lambdalifting_2349((*t), key, (&hcX60gensym22_));
3212 	{
3213 		if (!(((NI) 0) <= indexX60gensym22_)) goto LA3_;
3214 		result = &(*t).data->data[indexX60gensym22_].Field2;
3215 	}
3216 	goto LA1_;
3217 	LA3_: ;
3218 	{
3219 		raiseKeyError__ast_1357(key);
3220 	}
3221 	LA1_: ;
3222 	return result;
3223 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,newCall__lambdalifting_21)3224 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newCall__lambdalifting_21)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* a, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* b) {
3225 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3226 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T1_;
3227 	result = NIM_NIL;
3228 	result = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 27), (*a).info);
3229 	T1_ = NIM_NIL;
3230 	T1_ = newSymNode__ast_3716(a);
3231 	add__ast_4797(result, T1_);
3232 	add__ast_4797(result, b);
3233 	return result;
3234 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,newAsgnStmt__lambdalifting_192)3235 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newAsgnStmt__lambdalifting_192)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* le, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ri, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {
3236 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3237 	result = NIM_NIL;
3238 	result = newNodeI__ast_3360(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 73), info, ((NI) 2));
3239 	asgnRef((void**) (&(*result)._kind_6.sons->data[((NI) 0)]), le);
3240 	asgnRef((void**) (&(*result)._kind_6.sons->data[((NI) 1)]), ri);
3241 	return result;
3242 }
N_NIMCALL(void,createTypeBoundOpsLL__lambdalifting_268)3243 N_LIB_PRIVATE N_NIMCALL(void, createTypeBoundOpsLL__lambdalifting_268)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TType__facALICuu8zUj0hjvbTLFg* refType, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner) {
3244 	{
3245 		tyObject_TType__facALICuu8zUj0hjvbTLFg* T5_;
3246 		if (!!(((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 17)))) goto LA3_;
3247 		T5_ = NIM_NIL;
3248 		T5_ = lastSon__ast_3743(refType);
3249 		createTypeBoundOps__liftdestructors_47(g, ((tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug*) NIM_NIL), T5_, info, idgen);
3250 		createTypeBoundOps__liftdestructors_47(g, ((tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug*) NIM_NIL), refType, info, idgen);
3251 		{
3252 			NIM_BOOL T8_;
3253 			T8_ = (NIM_BOOL)0;
3254 			T8_ = (((*refType).flags &((NU64)1<<((NU)(((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 31))&63U)))!=0);
3255 			if (T8_) goto LA9_;
3256 			T8_ = (((*(*g).config).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 40))&63U)))!=0);
3257 			LA9_: ;
3258 			if (!T8_) goto LA10_;
3259 			(*owner).flags |= ((NU64)1)<<((((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 42)) & 63);
3260 		}
3261 		LA10_: ;
3262 	}
3263 	LA3_: ;
3264 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,getUpViaParam__lambdalifting_3892)3265 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, getUpViaParam__lambdalifting_3892)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner) {
3266 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3267 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* p;
3268 	result = NIM_NIL;
3269 	p = getHiddenParam__lambdalifting_106(g, owner);
3270 	result = newSymNode__ast_3716(p);
3271 	{
3272 		NIM_BOOL T3_;
3273 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* upField;
3274 		tyObject_TType__facALICuu8zUj0hjvbTLFg* T7_;
3275 		tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T8_;
3276 		T3_ = (NIM_BOOL)0;
3277 		T3_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
3278 		if (!(T3_)) goto LA4_;
3279 		T3_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
3280 		LA4_: ;
3281 		if (!T3_) goto LA5_;
3282 		T7_ = NIM_NIL;
3283 		T7_ = skipTypes__ast_3735((*p).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
3284 		T8_ = NIM_NIL;
3285 		T8_ = getIdent__idents_143((*g).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_18));
3286 		upField = lookupInRecord__astalgo_84((*T7_).n, T8_);
3287 		{
3288 			if (!(upField == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL))) goto LA11_;
3289 			liMessage__msgs_1118((*g).config, (*owner).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_27), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_28, NIM_FALSE);
3290 		}
3291 		goto LA9_;
3292 		LA11_: ;
3293 		{
3294 			result = rawIndirectAccess__lowerings_326(result, upField, (*p).info);
3295 		}
3296 		LA9_: ;
3297 	}
3298 	LA5_: ;
3299 	return result;
3300 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,rawClosureCreation__lambdalifting_3910)3301 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, rawClosureCreation__lambdalifting_3910)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* d, tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw* c, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {
3302 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3303 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* env;
3304 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* upField;
3305 	tyObject_TType__facALICuu8zUj0hjvbTLFg* T46_;
3306 	tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T47_;
3307 	result = NIM_NIL;
3308 	result = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115), (*owner).info);
3309 	env = NIM_NIL;
3310 	{
3311 		NIM_BOOL T3_;
3312 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T7_;
3313 		T3_ = (NIM_BOOL)0;
3314 		T3_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
3315 		if (!(T3_)) goto LA4_;
3316 		T3_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
3317 		LA4_: ;
3318 		if (!T3_) goto LA5_;
3319 		T7_ = NIM_NIL;
3320 		T7_ = getHiddenParam__lambdalifting_106((*d).graph, owner);
3321 		env = newSymNode__ast_3716(T7_);
3322 	}
3323 	goto LA1_;
3324 	LA5_: ;
3325 	{
3326 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T18_;
3327 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T19_;
3328 		env = setupEnvVar__lambdalifting_2231(owner, d, c, info);
3329 		{
3330 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* v;
3331 			if (!((*env).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3))) goto LA11_;
3332 			v = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 99), (*env).info);
3333 			addVar__lowerings_63(v, env);
3334 			add__ast_4797(result, v);
3335 			{
3336 				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* unowned;
3337 				tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym141_;
3338 				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw** T17_;
3339 				if (!(((*(*(*d).graph).config).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 42))&63U)))!=0)) goto LA15_;
3340 				xX60gensym141_ = owner;
3341 				T17_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw**)0;
3342 				T17_ = X5BX5D___lambdalifting_4026((&(*c).unownedEnvVars), (NI)((NI)((NU64)(((NI) ((*xX60gensym141_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym141_).Sup.itemId.item))));
3343 				unowned = (*T17_);
3344 				addVar__lowerings_63(v, unowned);
3345 			}
3346 			LA15_: ;
3347 		}
3348 		LA11_: ;
3349 		T18_ = NIM_NIL;
3350 		T18_ = getSysSym__magicsys_16((*d).graph, (*env).info, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_26));
3351 		T19_ = NIM_NIL;
3352 		T19_ = newCall__lambdalifting_21(T18_, env);
3353 		add__ast_4797(result, T19_);
3354 		{
3355 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* unowned_2;
3356 			tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym146_;
3357 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw** T24_;
3358 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* env2;
3359 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T25_;
3360 			if (!(((*(*(*d).graph).config).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 42))&63U)))!=0)) goto LA22_;
3361 			xX60gensym146_ = owner;
3362 			T24_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw**)0;
3363 			T24_ = X5BX5D___lambdalifting_4026((&(*c).unownedEnvVars), (NI)((NI)((NU64)(((NI) ((*xX60gensym146_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym146_).Sup.itemId.item))));
3364 			unowned_2 = (*T24_);
3365 			env2 = copyTree__ast_4431(env);
3366 			asgnRef((void**) (&(*env2).typ), (*unowned_2).typ);
3367 			T25_ = NIM_NIL;
3368 			T25_ = newAsgnStmt__lambdalifting_192(unowned_2, env2, (*env).info);
3369 			add__ast_4797(result, T25_);
3370 			createTypeBoundOpsLL__lambdalifting_268((*d).graph, (*unowned_2).typ, (*env).info, (*d).idgen, owner);
3371 		}
3372 		LA22_: ;
3373 		{
3374 			NI i;
3375 			NI colontmp_;
3376 			NI i_2;
3377 			i = (NI)0;
3378 			colontmp_ = (NI)0;
3379 			colontmp_ = len__ast_3198((*(*owner).typ).n);
3380 			i_2 = ((NI) 1);
3381 			{
3382 				while (1) {
3383 					tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* local;
3384 					if (!(i_2 < colontmp_)) goto LA28;
3385 					i = i_2;
3386 					local = (*(*(*(*owner).typ).n)._kind_6.sons->data[i])._kind_4.sym;
3387 					{
3388 						tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym152_;
3389 						NIM_BOOL T31_;
3390 						tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* fieldAccess;
3391 						tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T34_;
3392 						tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T35_;
3393 						xX60gensym152_ = local;
3394 						T31_ = (NIM_BOOL)0;
3395 						T31_ = contains__astalgo_3496((&(*d).capturedVars), (NI)((NI)((NU64)(((NI) ((*xX60gensym152_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym152_).Sup.itemId.item))));
3396 						if (!T31_) goto LA32_;
3397 						fieldAccess = indirectAccess__lowerings_610(env, local, (*env).info);
3398 						T34_ = NIM_NIL;
3399 						T34_ = newSymNode__ast_3716(local);
3400 						T35_ = NIM_NIL;
3401 						T35_ = newAsgnStmt__lambdalifting_192(fieldAccess, T34_, (*env).info);
3402 						add__ast_4797(result, T35_);
3403 						{
3404 							if (!!(((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 17)))) goto LA38_;
3405 							createTypeBoundOps__liftdestructors_47((*d).graph, ((tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug*) NIM_NIL), (*fieldAccess).typ, (*env).info, (*d).idgen);
3406 						}
3407 						LA38_: ;
3408 						{
3409 							NIM_BOOL T42_;
3410 							T42_ = (NIM_BOOL)0;
3411 							T42_ = (((*(*fieldAccess).typ).flags &((NU64)1<<((NU)(((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 31))&63U)))!=0);
3412 							if (T42_) goto LA43_;
3413 							T42_ = (((*(*(*d).graph).config).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 40))&63U)))!=0);
3414 							LA43_: ;
3415 							if (!T42_) goto LA44_;
3416 							(*owner).flags |= ((NU64)1)<<((((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 42)) & 63);
3417 						}
3418 						LA44_: ;
3419 					}
3420 					LA32_: ;
3421 					i_2 += ((NI) 1);
3422 				} LA28: ;
3423 			}
3424 		}
3425 	}
3426 	LA1_: ;
3427 	T46_ = NIM_NIL;
3428 	T46_ = skipTypes__ast_3735((*env).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
3429 	T47_ = NIM_NIL;
3430 	T47_ = getIdent__idents_143((*(*d).graph).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_18));
3431 	upField = lookupInRecord__astalgo_84((*T46_).n, T47_);
3432 	{
3433 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* up;
3434 		if (!!((upField == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)))) goto LA50_;
3435 		up = getUpViaParam__lambdalifting_3892((*d).graph, owner);
3436 		{
3437 			NIM_BOOL T54_;
3438 			tyObject_TType__facALICuu8zUj0hjvbTLFg* T56_;
3439 			tyObject_TType__facALICuu8zUj0hjvbTLFg* T57_;
3440 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T60_;
3441 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T61_;
3442 			T54_ = (NIM_BOOL)0;
3443 			T54_ = !((up == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)));
3444 			if (!(T54_)) goto LA55_;
3445 			T56_ = NIM_NIL;
3446 			T56_ = skipTypes__ast_3735((*upField).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
3447 			T57_ = NIM_NIL;
3448 			T57_ = skipTypes__ast_3735((*up).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
3449 			T54_ = (T56_ == T57_);
3450 			LA55_: ;
3451 			if (!T54_) goto LA58_;
3452 			T60_ = NIM_NIL;
3453 			T60_ = rawIndirectAccess__lowerings_326(env, upField, (*env).info);
3454 			T61_ = NIM_NIL;
3455 			T61_ = newAsgnStmt__lambdalifting_192(T60_, up, (*env).info);
3456 			add__ast_4797(result, T61_);
3457 		}
3458 		goto LA52_;
3459 		LA58_: ;
3460 		{
3461 			liMessage__msgs_1118((*(*d).graph).config, (*env).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_29), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_30, NIM_FALSE);
3462 		}
3463 		LA52_: ;
3464 	}
3465 	LA50_: ;
3466 	createTypeBoundOpsLL__lambdalifting_268((*d).graph, (*env).typ, (*owner).info, (*d).idgen, owner);
3467 	return result;
3468 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,X5BX5D___lambdalifting_4419)3469 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, X5BX5D___lambdalifting_4419)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg t, NI key) {
3470 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3471 	NI hcX60gensym20_;
3472 	NI indexX60gensym20_;
3473 	result = NIM_NIL;
3474 	hcX60gensym20_ = (NI)0;
3475 	indexX60gensym20_ = rawGet__lambdalifting_2349(t, key, (&hcX60gensym20_));
3476 	{
3477 		if (!(((NI) 0) <= indexX60gensym20_)) goto LA3_;
3478 		result = t.data->data[indexX60gensym20_].Field2;
3479 	}
3480 	goto LA1_;
3481 	LA3_: ;
3482 	{
3483 		raiseKeyError__ast_1357(key);
3484 	}
3485 	LA1_: ;
3486 	return result;
3487 }
N_NIMCALL(void,finishClosureCreation__lambdalifting_4321)3488 N_LIB_PRIVATE N_NIMCALL(void, finishClosureCreation__lambdalifting_4321)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* d, tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw* c, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* res) {
3489 	{
3490 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* unowned;
3491 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym161_;
3492 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* nilLit;
3493 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T5_;
3494 		if (!(((*(*(*d).graph).config).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 42))&63U)))!=0)) goto LA3_;
3495 		xX60gensym161_ = owner;
3496 		unowned = X5BX5D___lambdalifting_4419((*c).unownedEnvVars, (NI)((NI)((NU64)(((NI) ((*xX60gensym161_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym161_).Sup.itemId.item))));
3497 		nilLit = newNodeIT__ast_3378(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23), info, (*unowned).typ);
3498 		T5_ = NIM_NIL;
3499 		T5_ = newAsgnStmt__lambdalifting_192(unowned, nilLit, info);
3500 		add__ast_4797(res, T5_);
3501 		createTypeBoundOpsLL__lambdalifting_268((*d).graph, (*unowned).typ, info, (*d).idgen, owner);
3502 	}
3503 	LA3_: ;
3504 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,makeClosure__lambdalifting_199)3505 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, makeClosure__lambdalifting_199)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* prc, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* env, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {
3506 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3507 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T1_;
3508 	result = NIM_NIL;
3509 	result = newNodeIT__ast_3378(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 155), info, (*prc).typ);
3510 	T1_ = NIM_NIL;
3511 	T1_ = newSymNode__ast_3716(prc);
3512 	add__ast_4797(result, T1_);
3513 	{
3514 		tyObject_TType__facALICuu8zUj0hjvbTLFg* T6_;
3515 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T7_;
3516 		if (!(env == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL))) goto LA4_;
3517 		T6_ = NIM_NIL;
3518 		T6_ = getSysType__magicsys_60(g, info, ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 5));
3519 		T7_ = NIM_NIL;
3520 		T7_ = newNodeIT__ast_3378(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23), info, T6_);
3521 		add__ast_4797(result, T7_);
3522 	}
3523 	goto LA2_;
3524 	LA4_: ;
3525 	{
3526 		{
3527 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T11_;
3528 			T11_ = NIM_NIL;
3529 			T11_ = skipConv__types_3597(env);
3530 			if (!((*T11_).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 155))) goto LA12_;
3531 			liMessage__msgs_1118((*g).config, info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_31), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_32, NIM_FALSE);
3532 		}
3533 		LA12_: ;
3534 		add__ast_4797(result, env);
3535 	}
3536 	LA2_: ;
3537 	createTypeBoundOps__liftdestructors_47(g, ((tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug*) NIM_NIL), (*result).typ, info, idgen);
3538 	{
3539 		NIM_BOOL T16_;
3540 		T16_ = (NIM_BOOL)0;
3541 		T16_ = (((*(*result).typ).flags &((NU64)1<<((NU)(((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 31))&63U)))!=0);
3542 		if (T16_) goto LA17_;
3543 		T16_ = (((*(*g).config).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 40))&63U)))!=0);
3544 		LA17_: ;
3545 		if (!T16_) goto LA18_;
3546 		(*prc).flags |= ((NU64)1)<<((((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 42)) & 63);
3547 	}
3548 	LA18_: ;
3549 	return result;
3550 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,closureCreationForIter__lambdalifting_4502)3551 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, closureCreationForIter__lambdalifting_4502)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* iter, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* d, tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw* c) {
3552 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3553 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner;
3554 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* v;
3555 	tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T1_;
3556 	tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T2_;
3557 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T3_;
3558 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* vnode;
3559 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T14_;
3560 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T15_;
3561 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* upField;
3562 	tyObject_TType__facALICuu8zUj0hjvbTLFg* T16_;
3563 	tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T17_;
3564 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T31_;
3565 	result = NIM_NIL;
3566 	result = newNodeIT__ast_3378(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 126), (*iter).info, (*(*iter)._kind_4.sym).typ);
3567 	owner = skipGenericOwner__ast_4658((*iter)._kind_4.sym);
3568 	T1_ = NIM_NIL;
3569 	T1_ = getIdent__idents_143((*(*d).graph).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_24));
3570 	T2_ = nextSymId__ast_3132((*d).idgen);
3571 	v = newSym__ast_3445(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 8), T1_, T2_, owner, (*iter).info, 0);
3572 	(*v).flags |= ((NU64)1)<<((((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 25)) & 63);
3573 	T3_ = NIM_NIL;
3574 	T3_ = getHiddenParam__lambdalifting_106((*d).graph, (*iter)._kind_4.sym);
3575 	asgnRef((void**) (&(*v).typ), asOwnedRef__lambdalifting_1923(d, (*T3_).typ));
3576 	vnode = NIM_NIL;
3577 	{
3578 		NIM_BOOL T6_;
3579 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* it;
3580 		tyObject_TType__facALICuu8zUj0hjvbTLFg* T10_;
3581 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T11_;
3582 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T12_;
3583 		T6_ = (NIM_BOOL)0;
3584 		T6_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
3585 		if (!(T6_)) goto LA7_;
3586 		T6_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
3587 		LA7_: ;
3588 		if (!T6_) goto LA8_;
3589 		it = getHiddenParam__lambdalifting_106((*d).graph, owner);
3590 		T10_ = NIM_NIL;
3591 		T10_ = skipTypes__ast_3735((*it).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
3592 		T11_ = NIM_NIL;
3593 		T11_ = addUniqueField__lowerings_443(T10_, v, (*(*d).graph).cache, (*d).idgen);
3594 		T12_ = NIM_NIL;
3595 		T12_ = newSymNode__ast_3716(it);
3596 		vnode = indirectAccess__lowerings_610(T12_, v, (*v).info);
3597 	}
3598 	goto LA4_;
3599 	LA8_: ;
3600 	{
3601 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* vs;
3602 		vnode = newSymNode__ast_3716(v);
3603 		vs = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 99), (*iter).info);
3604 		addVar__lowerings_63(vs, vnode);
3605 		add__ast_4797(result, vs);
3606 	}
3607 	LA4_: ;
3608 	T14_ = NIM_NIL;
3609 	T14_ = getSysSym__magicsys_16((*d).graph, (*iter).info, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_26));
3610 	T15_ = NIM_NIL;
3611 	T15_ = newCall__lambdalifting_21(T14_, vnode);
3612 	add__ast_4797(result, T15_);
3613 	createTypeBoundOpsLL__lambdalifting_268((*d).graph, (*vnode).typ, (*iter).info, (*d).idgen, owner);
3614 	T16_ = NIM_NIL;
3615 	T16_ = skipTypes__ast_3735((*v).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
3616 	T17_ = NIM_NIL;
3617 	T17_ = getIdent__idents_143((*(*d).graph).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_18));
3618 	upField = lookupInRecord__astalgo_84((*T16_).n, T17_);
3619 	{
3620 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* u;
3621 		if (!!((upField == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)))) goto LA20_;
3622 		u = setupEnvVar__lambdalifting_2231(owner, d, c, (*iter).info);
3623 		{
3624 			tyObject_TType__facALICuu8zUj0hjvbTLFg* T24_;
3625 			tyObject_TType__facALICuu8zUj0hjvbTLFg* T25_;
3626 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T28_;
3627 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T29_;
3628 			T24_ = NIM_NIL;
3629 			T24_ = skipTypes__ast_3735((*u).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
3630 			T25_ = NIM_NIL;
3631 			T25_ = skipTypes__ast_3735((*upField).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
3632 			if (!(T24_ == T25_)) goto LA26_;
3633 			T28_ = NIM_NIL;
3634 			T28_ = rawIndirectAccess__lowerings_326(vnode, upField, (*iter).info);
3635 			T29_ = NIM_NIL;
3636 			T29_ = newAsgnStmt__lambdalifting_192(T28_, u, (*iter).info);
3637 			add__ast_4797(result, T29_);
3638 		}
3639 		goto LA22_;
3640 		LA26_: ;
3641 		{
3642 			liMessage__msgs_1118((*(*d).graph).config, (*iter).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_33), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_34, NIM_FALSE);
3643 		}
3644 		LA22_: ;
3645 	}
3646 	LA20_: ;
3647 	T31_ = NIM_NIL;
3648 	T31_ = makeClosure__lambdalifting_199((*d).graph, (*d).idgen, (*iter)._kind_4.sym, vnode, (*iter).info);
3649 	add__ast_4797(result, T31_);
3650 	return result;
3651 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,symToClosure__lambdalifting_4670)3652 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, symToClosure__lambdalifting_4670)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* d, tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw* c) {
3653 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3654 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s;
3655 {	result = NIM_NIL;
3656 	s = (*n)._kind_4.sym;
3657 	{
3658 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* available;
3659 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T5_;
3660 		if (!(s == owner)) goto LA3_;
3661 		available = getHiddenParam__lambdalifting_106((*d).graph, owner);
3662 		T5_ = NIM_NIL;
3663 		T5_ = newSymNode__ast_3716(available);
3664 		result = makeClosure__lambdalifting_199((*d).graph, (*d).idgen, s, T5_, (*n).info);
3665 	}
3666 	goto LA1_;
3667 	LA3_: ;
3668 	{
3669 		NIM_BOOL T7_;
3670 		T7_ = (NIM_BOOL)0;
3671 		T7_ = ((*s).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
3672 		if (!(T7_)) goto LA8_;
3673 		T7_ = ((*(*s).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
3674 		LA8_: ;
3675 		if (!T7_) goto LA9_;
3676 		result = closureCreationForIter__lambdalifting_4502(n, d, c);
3677 	}
3678 	goto LA1_;
3679 	LA9_: ;
3680 	{
3681 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T12_;
3682 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T15_;
3683 		T12_ = NIM_NIL;
3684 		T12_ = skipGenericOwner__ast_4658(s);
3685 		if (!(T12_ == owner)) goto LA13_;
3686 		T15_ = NIM_NIL;
3687 		T15_ = setupEnvVar__lambdalifting_2231(owner, d, c, (*n).info);
3688 		result = makeClosure__lambdalifting_199((*d).graph, (*d).idgen, s, T15_, (*n).info);
3689 	}
3690 	goto LA1_;
3691 	LA13_: ;
3692 	{
3693 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* available_2;
3694 		tyObject_TType__facALICuu8zUj0hjvbTLFg* wanted;
3695 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T17_;
3696 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* access;
3697 		available_2 = getHiddenParam__lambdalifting_106((*d).graph, owner);
3698 		T17_ = NIM_NIL;
3699 		T17_ = getHiddenParam__lambdalifting_106((*d).graph, s);
3700 		wanted = (*T17_).typ;
3701 		access = newSymNode__ast_3716(available_2);
3702 		{
3703 			while (1) {
3704 				tyObject_TType__facALICuu8zUj0hjvbTLFg* obj;
3705 				tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* upField;
3706 				tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T24_;
3707 				{
3708 					if (!((*access).typ == wanted)) goto LA22_;
3709 					result = makeClosure__lambdalifting_199((*d).graph, (*d).idgen, s, access, (*n).info);
3710 					goto BeforeRet_;
3711 				}
3712 				LA22_: ;
3713 				obj = skipTypes__ast_3735((*access).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
3714 				T24_ = NIM_NIL;
3715 				T24_ = getIdent__idents_143((*(*d).graph).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_18));
3716 				upField = lookupInRecord__astalgo_84((*obj).n, T24_);
3717 				{
3718 					if (!(upField == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL))) goto LA27_;
3719 					liMessage__msgs_1118((*(*d).graph).config, (*n).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_35), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_36, NIM_FALSE);
3720 					result = n;
3721 					goto BeforeRet_;
3722 				}
3723 				LA27_: ;
3724 				access = rawIndirectAccess__lowerings_326(access, upField, (*n).info);
3725 			}
3726 		}
3727 	}
3728 	LA1_: ;
3729 	}BeforeRet_: ;
3730 	return result;
3731 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,accessViaEnvParam__lambdalifting_2193)3732 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, accessViaEnvParam__lambdalifting_2193)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner) {
3733 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3734 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s;
3735 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* envParam;
3736 	NimStringDesc* T16_;
3737 {	result = NIM_NIL;
3738 	s = (*n)._kind_4.sym;
3739 	envParam = getHiddenParam__lambdalifting_106(g, owner);
3740 	{
3741 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* access;
3742 		if (!!((envParam == 0))) goto LA3_;
3743 		access = newSymNode__ast_3716(envParam);
3744 		{
3745 			while (1) {
3746 				tyObject_TType__facALICuu8zUj0hjvbTLFg* obj;
3747 				tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* field;
3748 				tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* upField;
3749 				tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T11_;
3750 				obj = (*(*access).typ).sons->data[((NI) 0)];
3751 				field = getFieldFromObj__lowerings_582(obj, s);
3752 				{
3753 					if (!!((field == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)))) goto LA9_;
3754 					result = rawIndirectAccess__lowerings_326(access, field, (*n).info);
3755 					goto BeforeRet_;
3756 				}
3757 				LA9_: ;
3758 				T11_ = NIM_NIL;
3759 				T11_ = getIdent__idents_143((*g).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_18));
3760 				upField = lookupInRecord__astalgo_84((*obj).n, T11_);
3761 				{
3762 					if (!(upField == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL))) goto LA14_;
3763 					goto LA5;
3764 				}
3765 				LA14_: ;
3766 				access = rawIndirectAccess__lowerings_326(access, upField, (*n).info);
3767 			}
3768 		} LA5: ;
3769 	}
3770 	LA3_: ;
3771 	T16_ = NIM_NIL;
3772 	T16_ = rawNewString(((*(*s).name).s ? (*(*s).name).s->Sup.len : 0) + 36);
3773 appendString(T16_, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_37));
3774 appendString(T16_, (*(*s).name).s);
3775 	liMessage__msgs_1118((*g).config, (*n).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), T16_, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_38, NIM_FALSE);
3776 	result = n;
3777 	}BeforeRet_: ;
3778 	return result;
3779 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,accessViaEnvVar__lambdalifting_4550)3780 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, accessViaEnvVar__lambdalifting_4550)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* d, tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw* c) {
3781 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3782 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* access;
3783 	tyObject_TType__facALICuu8zUj0hjvbTLFg* obj;
3784 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* field;
3785 	result = NIM_NIL;
3786 	access = setupEnvVar__lambdalifting_2231(owner, d, c, (*n).info);
3787 	{
3788 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym170_;
3789 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw** T5_;
3790 		if (!(((*(*(*d).graph).config).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 42))&63U)))!=0)) goto LA3_;
3791 		xX60gensym170_ = owner;
3792 		T5_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw**)0;
3793 		T5_ = X5BX5D___lambdalifting_4026((&(*c).unownedEnvVars), (NI)((NI)((NU64)(((NI) ((*xX60gensym170_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym170_).Sup.itemId.item))));
3794 		access = (*T5_);
3795 	}
3796 	LA3_: ;
3797 	obj = skipTypes__ast_3735((*access).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
3798 	field = getFieldFromObj__lowerings_582(obj, (*n)._kind_4.sym);
3799 	{
3800 		if (!!((field == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)))) goto LA8_;
3801 		result = rawIndirectAccess__lowerings_326(access, field, (*n).info);
3802 	}
3803 	goto LA6_;
3804 	LA8_: ;
3805 	{
3806 		liMessage__msgs_1118((*(*d).graph).config, (*n).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_39), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_40, NIM_FALSE);
3807 		result = n;
3808 	}
3809 	LA6_: ;
3810 	return result;
3811 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,liftCapturedVars__lambdalifting_4665)3812 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, liftCapturedVars__lambdalifting_4665)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* d, tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw* c) {
3813 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3814 {	result = NIM_NIL;
3815 	result = n;
3816 	switch ((*n).kind) {
3817 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3):
3818 	{
3819 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s;
3820 		s = (*n)._kind_4.sym;
3821 		{
3822 			NIM_BOOL T4_;
3823 			T4_ = (NIM_BOOL)0;
3824 			T4_ = isInnerProc__lambdalifting_177(s);
3825 			if (!T4_) goto LA5_;
3826 			{
3827 				tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym178_;
3828 				NIM_BOOL T9_;
3829 				NI oldInContainer;
3830 				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* body;
3831 				xX60gensym178_ = s;
3832 				T9_ = (NIM_BOOL)0;
3833 				T9_ = containsOrIncl__astalgo_402((&(*c).processed), (NI)((NI)((NU64)(((NI) ((*xX60gensym178_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym178_).Sup.itemId.item))));
3834 				if (!!(T9_)) goto LA10_;
3835 				oldInContainer = (*c).inContainer;
3836 				(*c).inContainer = ((NI) 0);
3837 				body = transformBody__transf_16((*d).graph, (*d).idgen, s, NIM_FALSE);
3838 				body = liftCapturedVars__lambdalifting_4665(body, s, d, c);
3839 				{
3840 					tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym179_;
3841 					tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T14_;
3842 					xX60gensym179_ = s;
3843 					T14_ = NIM_NIL;
3844 					T14_ = getOrDefault__lambdalifting_2340((*c).envVars, (NI)((NI)((NU64)(((NI) ((*xX60gensym179_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym179_).Sup.itemId.item))));
3845 					if (!(T14_ == 0)) goto LA15_;
3846 					asgnRef((void**) (&(*s)._kind_1.transformedBody), body);
3847 				}
3848 				goto LA12_;
3849 				LA15_: ;
3850 				{
3851 					tyArray__AB6yfoUgfWM2NtGe9bzkCmw T18_;
3852 					nimZeroMem((void*)T18_, sizeof(tyArray__AB6yfoUgfWM2NtGe9bzkCmw));
3853 					T18_[0] = rawClosureCreation__lambdalifting_3910(s, d, c, (*n).info);
3854 					T18_[1] = body;
3855 					asgnRef((void**) (&(*s)._kind_1.transformedBody), newTree__ast_3392(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115), T18_, 2));
3856 					finishClosureCreation__lambdalifting_4321(s, d, (&(*c)), (*n).info, (*s)._kind_1.transformedBody);
3857 				}
3858 				LA12_: ;
3859 				(*c).inContainer = oldInContainer;
3860 			}
3861 			LA10_: ;
3862 			{
3863 				if (!((*(*s).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9))) goto LA21_;
3864 				result = symToClosure__lambdalifting_4670(n, owner, d, c);
3865 			}
3866 			LA21_: ;
3867 		}
3868 		goto LA2_;
3869 		LA5_: ;
3870 		{
3871 			tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym181_;
3872 			NIM_BOOL T24_;
3873 			xX60gensym181_ = s;
3874 			T24_ = (NIM_BOOL)0;
3875 			T24_ = contains__astalgo_3496((&(*d).capturedVars), (NI)((NI)((NU64)(((NI) ((*xX60gensym181_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym181_).Sup.itemId.item))));
3876 			if (!T24_) goto LA25_;
3877 			{
3878 				if (!!(((*s).owner == owner))) goto LA29_;
3879 				result = accessViaEnvParam__lambdalifting_2193((*d).graph, n, owner);
3880 			}
3881 			goto LA27_;
3882 			LA29_: ;
3883 			{
3884 				NIM_BOOL T32_;
3885 				NIM_BOOL T33_;
3886 				T32_ = (NIM_BOOL)0;
3887 				T33_ = (NIM_BOOL)0;
3888 				T33_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
3889 				if (!(T33_)) goto LA34_;
3890 				T33_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
3891 				LA34_: ;
3892 				T32_ = T33_;
3893 				if (!(T32_)) goto LA35_;
3894 				T32_ = interestingIterVar__lambdalifting_238(s);
3895 				LA35_: ;
3896 				if (!T32_) goto LA36_;
3897 				result = accessViaEnvParam__lambdalifting_2193((*d).graph, n, owner);
3898 			}
3899 			goto LA27_;
3900 			LA36_: ;
3901 			{
3902 				result = accessViaEnvVar__lambdalifting_4550(n, owner, d, c);
3903 			}
3904 			LA27_: ;
3905 		}
3906 		goto LA2_;
3907 		LA25_: ;
3908 		LA2_: ;
3909 	}
3910 	break;
3911 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 2):
3912 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 4) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23):
3913 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 24):
3914 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 83):
3915 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 98):
3916 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 79):
3917 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 80):
3918 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 81):
3919 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 82):
3920 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 159):
3921 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 123):
3922 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 122):
3923 	{
3924 	}
3925 	break;
3926 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 155):
3927 	{
3928 		{
3929 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* x;
3930 			if (!((*(*n)._kind_6.sons->data[((NI) 1)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23))) goto LA43_;
3931 			asgnRef((void**) (&(*n)._kind_6.sons->data[((NI) 0)]), liftCapturedVars__lambdalifting_4665((*n)._kind_6.sons->data[((NI) 0)], owner, d, c));
3932 			x = skipConv__types_3597((*n)._kind_6.sons->data[((NI) 0)]);
3933 			{
3934 				if (!((*x).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 155))) goto LA47_;
3935 				asgnRef((void**) (&(*n)._kind_6.sons->data[((NI) 0)]), (*x)._kind_6.sons->data[((NI) 0)]);
3936 				asgnRef((void**) (&(*n)._kind_6.sons->data[((NI) 1)]), (*x)._kind_6.sons->data[((NI) 1)]);
3937 			}
3938 			LA47_: ;
3939 		}
3940 		LA43_: ;
3941 	}
3942 	break;
3943 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 51) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 52):
3944 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 84):
3945 	{
3946 		{
3947 			NIM_BOOL T52_;
3948 			NI oldInContainer_2;
3949 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* m;
3950 			T52_ = (NIM_BOOL)0;
3951 			T52_ = !(((*n).typ == ((tyObject_TType__facALICuu8zUj0hjvbTLFg*) NIM_NIL)));
3952 			if (!(T52_)) goto LA53_;
3953 			T52_ = ((*(*n)._kind_6.sons->data[((NI) 0)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
3954 			LA53_: ;
3955 			if (!T52_) goto LA54_;
3956 			oldInContainer_2 = (*c).inContainer;
3957 			(*c).inContainer = ((NI) 0);
3958 			m = newSymNode__ast_3716((*(*n)._kind_6.sons->data[((NI) 0)])._kind_4.sym);
3959 			asgnRef((void**) (&(*m).typ), (*n).typ);
3960 			result = liftCapturedVars__lambdalifting_4665(m, owner, d, c);
3961 			(*c).inContainer = oldInContainer_2;
3962 		}
3963 		LA54_: ;
3964 	}
3965 	break;
3966 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 58):
3967 	{
3968 		{
3969 			NI T59_;
3970 			T59_ = (NI)0;
3971 			T59_ = len__ast_3198(n);
3972 			if (!(T59_ == ((NI) 2))) goto LA60_;
3973 			asgnRef((void**) (&(*n)._kind_6.sons->data[((NI) 1)]), liftCapturedVars__lambdalifting_4665((*n)._kind_6.sons->data[((NI) 1)], owner, d, c));
3974 			{
3975 				if (!((*(*n)._kind_6.sons->data[((NI) 1)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 155))) goto LA64_;
3976 				result = (*n)._kind_6.sons->data[((NI) 1)];
3977 			}
3978 			LA64_: ;
3979 		}
3980 		LA60_: ;
3981 	}
3982 	break;
3983 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 109):
3984 	{
3985 		{
3986 			if (!((*(*n)._kind_6.sons->data[((NI) 0)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 73) || (*(*n)._kind_6.sons->data[((NI) 0)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 74))) goto LA69_;
3987 			asgnRef((void**) (&(*(*n)._kind_6.sons->data[((NI) 0)])._kind_6.sons->data[((NI) 1)]), liftCapturedVars__lambdalifting_4665((*(*n)._kind_6.sons->data[((NI) 0)])._kind_6.sons->data[((NI) 1)], owner, d, c));
3988 		}
3989 		goto LA67_;
3990 		LA69_: ;
3991 		{
3992 			asgnRef((void**) (&(*n)._kind_6.sons->data[((NI) 0)]), liftCapturedVars__lambdalifting_4665((*n)._kind_6.sons->data[((NI) 0)], owner, d, c));
3993 		}
3994 		LA67_: ;
3995 	}
3996 	break;
3997 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 132):
3998 	{
3999 		result = n;
4000 	}
4001 	break;
4002 	default:
4003 	{
4004 		NIM_BOOL inContainer;
4005 		{
4006 			NIM_BOOL T76_;
4007 			T76_ = (NIM_BOOL)0;
4008 			T76_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
4009 			if (!(T76_)) goto LA77_;
4010 			T76_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
4011 			LA77_: ;
4012 			if (!T76_) goto LA78_;
4013 			{
4014 				if (!(((*n).flags &((NU32)1<<((NU)(((tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg) 8))&31U)))!=0)) goto LA82_;
4015 				asgnRef((void**) (&(*n)._kind_6.sons->data[((NI) 1)]), liftCapturedVars__lambdalifting_4665((*n)._kind_6.sons->data[((NI) 1)], owner, d, c));
4016 				goto BeforeRet_;
4017 			}
4018 			LA82_: ;
4019 		}
4020 		LA78_: ;
4021 		inContainer = ((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 38) || (*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 41));
4022 		{
4023 			if (!inContainer) goto LA86_;
4024 			(*c).inContainer += ((NI) 1);
4025 		}
4026 		LA86_: ;
4027 		{
4028 			NI i;
4029 			NI colontmp_;
4030 			NI i_2;
4031 			i = (NI)0;
4032 			colontmp_ = (NI)0;
4033 			colontmp_ = len__ast_3198(n);
4034 			i_2 = ((NI) 0);
4035 			{
4036 				while (1) {
4037 					if (!(i_2 < colontmp_)) goto LA90;
4038 					i = i_2;
4039 					asgnRef((void**) (&(*n)._kind_6.sons->data[i]), liftCapturedVars__lambdalifting_4665((*n)._kind_6.sons->data[i], owner, d, c));
4040 					i_2 += ((NI) 1);
4041 				} LA90: ;
4042 			}
4043 		}
4044 		{
4045 			if (!inContainer) goto LA93_;
4046 			(*c).inContainer -= ((NI) 1);
4047 		}
4048 		LA93_: ;
4049 	}
4050 	break;
4051 	}
4052 	}BeforeRet_: ;
4053 	return result;
4054 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,liftLambdas__lambdalifting_5137)4055 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, liftLambdas__lambdalifting_5137)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* fn, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* body, NIM_BOOL* tooEarly, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen) {
4056 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
4057 	NIM_BOOL isCompileTime;
4058 	NIM_BOOL T1_;
4059 	result = NIM_NIL;
4060 	T1_ = (NIM_BOOL)0;
4061 	T1_ = (((*fn).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 28))&63U)))!=0);
4062 	if (T1_) goto LA2_;
4063 	T1_ = ((*fn).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 17));
4064 	LA2_: ;
4065 	isCompileTime = T1_;
4066 	{
4067 		NIM_BOOL T5_;
4068 		NIM_BOOL T6_;
4069 		NIM_BOOL T8_;
4070 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T11_;
4071 		T5_ = (NIM_BOOL)0;
4072 		T6_ = (NIM_BOOL)0;
4073 		T6_ = ((*body).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1));
4074 		if (T6_) goto LA7_;
4075 		T8_ = (NIM_BOOL)0;
4076 		T8_ = ((*(*g).config).backend == ((tyEnum_TBackend__4OBsgZ9cscH2JLUE5Wcz01g) 3));
4077 		if (!(T8_)) goto LA9_;
4078 		T8_ = !(isCompileTime);
4079 		LA9_: ;
4080 		T6_ = T8_;
4081 		LA7_: ;
4082 		T5_ = T6_;
4083 		if (T5_) goto LA10_;
4084 		T11_ = NIM_NIL;
4085 		T11_ = skipGenericOwner__ast_4658(fn);
4086 		T5_ = !(((*T11_).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6)));
4087 		LA10_: ;
4088 		if (!T5_) goto LA12_;
4089 		result = body;
4090 		(*tooEarly) = NIM_TRUE;
4091 	}
4092 	goto LA3_;
4093 	LA12_: ;
4094 	{
4095 		tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ d;
4096 		nimZeroMem((void*)(&d), sizeof(tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ));
4097 		initDetectionPass__lambdalifting_396(g, fn, idgen, (&d));
4098 		detectCapturedVars__lambdalifting_1998(body, fn, (&d));
4099 		{
4100 			NIM_BOOL T17_;
4101 			NIM_BOOL T19_;
4102 			T17_ = (NIM_BOOL)0;
4103 			T17_ = !(d.somethingToDo);
4104 			if (!(T17_)) goto LA18_;
4105 			T19_ = (NIM_BOOL)0;
4106 			T19_ = ((*fn).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
4107 			if (!(T19_)) goto LA20_;
4108 			T19_ = ((*(*fn).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
4109 			LA20_: ;
4110 			T17_ = T19_;
4111 			LA18_: ;
4112 			if (!T17_) goto LA21_;
4113 			addClosureParam__lambdalifting_1971((&d), fn, (*body).info);
4114 			d.somethingToDo = NIM_TRUE;
4115 		}
4116 		LA21_: ;
4117 		{
4118 			tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw c;
4119 			if (!d.somethingToDo) goto LA25_;
4120 			nimZeroMem((void*)(&c), sizeof(tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw));
4121 			initLiftingPass__lambdalifting_2151(fn, (&c));
4122 			result = liftCapturedVars__lambdalifting_4665(body, fn, (&d), (&c));
4123 			{
4124 				tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym226_;
4125 				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T29_;
4126 				tyArray__AB6yfoUgfWM2NtGe9bzkCmw T32_;
4127 				xX60gensym226_ = fn;
4128 				T29_ = NIM_NIL;
4129 				T29_ = getOrDefault__lambdalifting_2340(c.envVars, (NI)((NI)((NU64)(((NI) ((*xX60gensym226_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym226_).Sup.itemId.item))));
4130 				if (!!((T29_ == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)))) goto LA30_;
4131 				nimZeroMem((void*)T32_, sizeof(tyArray__AB6yfoUgfWM2NtGe9bzkCmw));
4132 				T32_[0] = rawClosureCreation__lambdalifting_3910(fn, (&d), (&c), (*body).info);
4133 				T32_[1] = result;
4134 				result = newTree__ast_3392(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115), T32_, 2);
4135 				finishClosureCreation__lambdalifting_4321(fn, (&d), (&c), (*body).info, result);
4136 			}
4137 			LA30_: ;
4138 		}
4139 		goto LA23_;
4140 		LA25_: ;
4141 		{
4142 			result = body;
4143 		}
4144 		LA23_: ;
4145 	}
4146 	LA3_: ;
4147 	return result;
4148 }
N_INLINE(NIM_BOOL,liftingHarmful__lambdalifting_251)4149 static N_INLINE(NIM_BOOL, liftingHarmful__lambdalifting_251)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner) {
4150 	NIM_BOOL result;
4151 	NIM_BOOL isCompileTime;
4152 	NIM_BOOL T1_;
4153 	NIM_BOOL T3_;
4154 	result = (NIM_BOOL)0;
4155 	T1_ = (NIM_BOOL)0;
4156 	T1_ = (((*owner).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 28))&63U)))!=0);
4157 	if (T1_) goto LA2_;
4158 	T1_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 17));
4159 	LA2_: ;
4160 	isCompileTime = T1_;
4161 	T3_ = (NIM_BOOL)0;
4162 	T3_ = ((*conf).backend == ((tyEnum_TBackend__4OBsgZ9cscH2JLUE5Wcz01g) 3));
4163 	if (!(T3_)) goto LA4_;
4164 	T3_ = !(isCompileTime);
4165 	LA4_: ;
4166 	result = T3_;
4167 	return result;
4168 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,liftIterSym__lambdalifting_293)4169 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, liftIterSym__lambdalifting_293)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner) {
4170 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
4171 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* iter;
4172 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* hp;
4173 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* env;
4174 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T17_;
4175 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T18_;
4176 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T19_;
4177 {	result = NIM_NIL;
4178 	{
4179 		NIM_BOOL T3_;
4180 		T3_ = (NIM_BOOL)0;
4181 		T3_ = liftingHarmful__lambdalifting_251((*g).config, owner);
4182 		if (!T3_) goto LA4_;
4183 		result = n;
4184 		goto BeforeRet_;
4185 	}
4186 	LA4_: ;
4187 	iter = (*n)._kind_4.sym;
4188 	result = newNodeIT__ast_3378(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 126), (*n).info, (*n).typ);
4189 	hp = getHiddenParam__lambdalifting_106(g, iter);
4190 	env = NIM_NIL;
4191 	{
4192 		NIM_BOOL T8_;
4193 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* it;
4194 		tyObject_TType__facALICuu8zUj0hjvbTLFg* T12_;
4195 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T13_;
4196 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T14_;
4197 		T8_ = (NIM_BOOL)0;
4198 		T8_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
4199 		if (!(T8_)) goto LA9_;
4200 		T8_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
4201 		LA9_: ;
4202 		if (!T8_) goto LA10_;
4203 		it = getHiddenParam__lambdalifting_106(g, owner);
4204 		T12_ = NIM_NIL;
4205 		T12_ = skipTypes__ast_3735((*it).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_41);
4206 		T13_ = NIM_NIL;
4207 		T13_ = addUniqueField__lowerings_443((*T12_).sons->data[((NI) 0)], hp, (*g).cache, idgen);
4208 		T14_ = NIM_NIL;
4209 		T14_ = newSymNode__ast_3716(it);
4210 		env = indirectAccess__lowerings_610(T14_, hp, (*hp).info);
4211 	}
4212 	goto LA6_;
4213 	LA10_: ;
4214 	{
4215 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* e;
4216 		tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T16_;
4217 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* v;
4218 		T16_ = nextSymId__ast_3132(idgen);
4219 		e = newSym__ast_3445(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 9), (*iter).name, T16_, owner, (*n).info, 0);
4220 		asgnRef((void**) (&(*e).typ), (*hp).typ);
4221 		(*e).flags = (*hp).flags;
4222 		env = newSymNode__ast_3716(e);
4223 		v = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 99), (*n).info);
4224 		addVar__lowerings_63(v, env);
4225 		add__ast_4797(result, v);
4226 	}
4227 	LA6_: ;
4228 	T17_ = NIM_NIL;
4229 	T17_ = getSysSym__magicsys_16(g, (*n).info, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_26));
4230 	T18_ = NIM_NIL;
4231 	T18_ = newCall__lambdalifting_21(T17_, env);
4232 	add__ast_4797(result, T18_);
4233 	createTypeBoundOpsLL__lambdalifting_268(g, (*env).typ, (*n).info, idgen, owner);
4234 	T19_ = NIM_NIL;
4235 	T19_ = makeClosure__lambdalifting_199(g, idgen, iter, env, (*n).info);
4236 	add__ast_4797(result, T19_);
4237 	}BeforeRet_: ;
4238 	return result;
4239 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,liftForLoop__lambdalifting_5283)4240 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, liftForLoop__lambdalifting_5283)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* body, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner) {
4241 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
4242 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* call;
4243 	NI T13_;
4244 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* env;
4245 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* op;
4246 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* loopBody;
4247 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* whileLoop;
4248 	tyObject_TType__facALICuu8zUj0hjvbTLFg* T38_;
4249 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* v2;
4250 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* vpart;
4251 	tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw T39_;
4252 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T54_;
4253 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* bs;
4254 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ibs;
4255 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* elifBranch;
4256 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* br;
4257 	NI T60_;
4258 {	result = NIM_NIL;
4259 	{
4260 		NIM_BOOL T3_;
4261 		T3_ = (NIM_BOOL)0;
4262 		T3_ = liftingHarmful__lambdalifting_251((*g).config, owner);
4263 		if (!T3_) goto LA4_;
4264 		result = body;
4265 		goto BeforeRet_;
4266 	}
4267 	LA4_: ;
4268 	{
4269 		NIM_BOOL T8_;
4270 		NI T10_;
4271 		T8_ = (NIM_BOOL)0;
4272 		T8_ = ((*body).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 94));
4273 		if (!(T8_)) goto LA9_;
4274 		T10_ = (NI)0;
4275 		T10_ = len__ast_3198(body);
4276 		T8_ = ((*(*body)._kind_6.sons->data[(NI)(T10_ - ((NI) 2))]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 27) || (*(*body)._kind_6.sons->data[(NI)(T10_ - ((NI) 2))]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 29) || (*(*body)._kind_6.sons->data[(NI)(T10_ - ((NI) 2))]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 30) || (*(*body)._kind_6.sons->data[(NI)(T10_ - ((NI) 2))]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 31) || (*(*body)._kind_6.sons->data[(NI)(T10_ - ((NI) 2))]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 26) || (*(*body)._kind_6.sons->data[(NI)(T10_ - ((NI) 2))]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 28) || (*(*body)._kind_6.sons->data[(NI)(T10_ - ((NI) 2))]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 32));
4277 		LA9_: ;
4278 		if (!!(T8_)) goto LA11_;
4279 		liMessage__msgs_1118((*g).config, (*body).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_42), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_43, NIM_FALSE);
4280 		result = body;
4281 		goto BeforeRet_;
4282 	}
4283 	LA11_: ;
4284 	T13_ = (NI)0;
4285 	T13_ = len__ast_3198(body);
4286 	call = (*body)._kind_6.sons->data[(NI)(T13_ - ((NI) 2))];
4287 	result = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115), (*body).info);
4288 	env = NIM_NIL;
4289 	op = (*call)._kind_6.sons->data[((NI) 0)];
4290 	{
4291 		NIM_BOOL T16_;
4292 		NIM_BOOL T18_;
4293 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* iter;
4294 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* hp;
4295 		tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T22_;
4296 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* v;
4297 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T23_;
4298 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T24_;
4299 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T25_;
4300 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T26_;
4301 		T16_ = (NIM_BOOL)0;
4302 		T16_ = ((*op).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
4303 		if (!(T16_)) goto LA17_;
4304 		T18_ = (NIM_BOOL)0;
4305 		T18_ = ((*(*op)._kind_4.sym).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
4306 		if (!(T18_)) goto LA19_;
4307 		T18_ = ((*(*(*op)._kind_4.sym).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
4308 		LA19_: ;
4309 		T16_ = T18_;
4310 		LA17_: ;
4311 		if (!T16_) goto LA20_;
4312 		iter = (*op)._kind_4.sym;
4313 		hp = getHiddenParam__lambdalifting_106(g, iter);
4314 		T22_ = nextSymId__ast_3132(idgen);
4315 		env = newSym__ast_3445(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 9), (*iter).name, T22_, owner, (*body).info, 0);
4316 		asgnRef((void**) (&(*env).typ), (*hp).typ);
4317 		(*env).flags = (*hp).flags;
4318 		v = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 99), (*body).info);
4319 		T23_ = NIM_NIL;
4320 		T23_ = newSymNode__ast_3716(env);
4321 		addVar__lowerings_63(v, T23_);
4322 		add__ast_4797(result, v);
4323 		T24_ = NIM_NIL;
4324 		T24_ = getSysSym__magicsys_16(g, (*env).info, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_26));
4325 		T25_ = NIM_NIL;
4326 		T25_ = newSymNode__ast_3716(env);
4327 		T26_ = NIM_NIL;
4328 		T26_ = newCall__lambdalifting_21(T24_, T25_);
4329 		add__ast_4797(result, T26_);
4330 		createTypeBoundOpsLL__lambdalifting_268(g, (*env).typ, (*body).info, idgen, owner);
4331 	}
4332 	goto LA14_;
4333 	LA20_: ;
4334 	{
4335 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* closure;
4336 		if (!((*op).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 126))) goto LA28_;
4337 		closure = lastSon__ast_4832(op);
4338 		{
4339 			if (!((*closure).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 155))) goto LA32_;
4340 			asgnRef((void**) (&(*call)._kind_6.sons->data[((NI) 0)]), closure);
4341 			{
4342 				NI i;
4343 				NI colontmp_;
4344 				NI T35_;
4345 				NI i_2;
4346 				i = (NI)0;
4347 				colontmp_ = (NI)0;
4348 				T35_ = (NI)0;
4349 				T35_ = len__ast_3198(op);
4350 				colontmp_ = (NI)(T35_ - ((NI) 1));
4351 				i_2 = ((NI) 0);
4352 				{
4353 					while (1) {
4354 						if (!(i_2 < colontmp_)) goto LA37;
4355 						i = i_2;
4356 						add__ast_4797(result, (*op)._kind_6.sons->data[i]);
4357 						i_2 += ((NI) 1);
4358 					} LA37: ;
4359 				}
4360 			}
4361 		}
4362 		LA32_: ;
4363 	}
4364 	goto LA14_;
4365 	LA28_: ;
4366 	LA14_: ;
4367 	loopBody = newNodeI__ast_3360(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115), (*body).info, ((NI) 3));
4368 	whileLoop = newNodeI__ast_3360(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 96), (*body).info, ((NI) 2));
4369 	T38_ = NIM_NIL;
4370 	T38_ = getSysType__magicsys_60(g, (*body).info, ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 1));
4371 	asgnRef((void**) (&(*whileLoop)._kind_6.sons->data[((NI) 0)]), newIntTypeNode__ast_3783(IL64(1), T38_));
4372 	asgnRef((void**) (&(*whileLoop)._kind_6.sons->data[((NI) 1)]), loopBody);
4373 	add__ast_4797(result, whileLoop);
4374 	v2 = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 100), (*body).info);
4375 	T39_ = (tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw)0;
4376 	{
4377 		NI T42_;
4378 		T42_ = (NI)0;
4379 		T42_ = len__ast_3198(body);
4380 		if (!(T42_ == ((NI) 3))) goto LA43_;
4381 		T39_ = ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 35);
4382 	}
4383 	goto LA40_;
4384 	LA43_: ;
4385 	{
4386 		T39_ = ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 36);
4387 	}
4388 	LA40_: ;
4389 	vpart = newNodeI__ast_3356(T39_, (*body).info);
4390 	{
4391 		NI i_3;
4392 		NI colontmp__2;
4393 		NI T47_;
4394 		NI i_4;
4395 		i_3 = (NI)0;
4396 		colontmp__2 = (NI)0;
4397 		T47_ = (NI)0;
4398 		T47_ = len__ast_3198(body);
4399 		colontmp__2 = (NI)(T47_ - ((NI) 2));
4400 		i_4 = ((NI) 0);
4401 		{
4402 			while (1) {
4403 				if (!(i_4 < colontmp__2)) goto LA49;
4404 				i_3 = i_4;
4405 				{
4406 					if (!((*(*body)._kind_6.sons->data[i_3]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3))) goto LA52_;
4407 					transitionToLet__ast_4406((*(*body)._kind_6.sons->data[i_3])._kind_4.sym);
4408 				}
4409 				LA52_: ;
4410 				add__ast_4797(vpart, (*body)._kind_6.sons->data[i_3]);
4411 				i_4 += ((NI) 1);
4412 			} LA49: ;
4413 		}
4414 	}
4415 	T54_ = NIM_NIL;
4416 	T54_ = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1), (*body).info);
4417 	add__ast_4797(vpart, T54_);
4418 	{
4419 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T59_;
4420 		if (!!((env == 0))) goto LA57_;
4421 		T59_ = NIM_NIL;
4422 		T59_ = newSymNode__ast_3716(env);
4423 		asgnRef((void**) (&(*call)._kind_6.sons->data[((NI) 0)]), makeClosure__lambdalifting_199(g, idgen, (*(*call)._kind_6.sons->data[((NI) 0)])._kind_4.sym, T59_, (*body).info));
4424 	}
4425 	LA57_: ;
4426 	add__ast_4797(vpart, call);
4427 	add__ast_4797(v2, vpart);
4428 	asgnRef((void**) (&(*loopBody)._kind_6.sons->data[((NI) 0)]), v2);
4429 	bs = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 158), (*body).info);
4430 	add__ast_4797(bs, (*call)._kind_6.sons->data[((NI) 0)]);
4431 	ibs = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 92), (*body).info);
4432 	elifBranch = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 86), (*body).info);
4433 	add__ast_4797(elifBranch, bs);
4434 	br = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 110), (*body).info);
4435 	add__ast_4797(br, (*g).emptyNode);
4436 	add__ast_4797(elifBranch, br);
4437 	add__ast_4797(ibs, elifBranch);
4438 	asgnRef((void**) (&(*loopBody)._kind_6.sons->data[((NI) 1)]), ibs);
4439 	T60_ = (NI)0;
4440 	T60_ = len__ast_3198(body);
4441 	asgnRef((void**) (&(*loopBody)._kind_6.sons->data[((NI) 2)]), (*body)._kind_6.sons->data[(NI)(T60_ - ((NI) 1))]);
4442 	}BeforeRet_: ;
4443 	return result;
4444 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,freshVarForClosureIter__lambdalifting_337)4445 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, freshVarForClosureIter__lambdalifting_337)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner) {
4446 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
4447 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* envParam;
4448 	tyObject_TType__facALICuu8zUj0hjvbTLFg* obj;
4449 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* access;
4450 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* field;
4451 	result = NIM_NIL;
4452 	envParam = getHiddenParam__lambdalifting_106(g, owner);
4453 	obj = skipTypes__ast_3735((*envParam).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
4454 	addField__lowerings_415(obj, s, (*g).cache, idgen);
4455 	access = newSymNode__ast_3716(envParam);
4456 	field = getFieldFromObj__lowerings_582(obj, s);
4457 	{
4458 		if (!!((field == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)))) goto LA3_;
4459 		result = rawIndirectAccess__lowerings_326(access, field, (*s).info);
4460 	}
4461 	goto LA1_;
4462 	LA3_: ;
4463 	{
4464 		liMessage__msgs_1118((*g).config, (*s).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_44), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_45, NIM_FALSE);
4465 		result = access;
4466 	}
4467 	LA1_: ;
4468 	return result;
4469 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,getClosureIterResult__lambdalifting_62)4470 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, getClosureIterResult__lambdalifting_62)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* iter, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen) {
4471 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
4472 	result = NIM_NIL;
4473 	{
4474 		NI T3_;
4475 		T3_ = (NI)0;
4476 		T3_ = len__ast_3198((*iter).ast);
4477 		if (!(((NI) 7) < T3_)) goto LA4_;
4478 		result = (*(*(*iter).ast)._kind_6.sons->data[((NI) 7)])._kind_4.sym;
4479 	}
4480 	goto LA1_;
4481 	LA4_: ;
4482 	{
4483 		tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T7_;
4484 		tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T8_;
4485 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T9_;
4486 		T7_ = NIM_NIL;
4487 		T7_ = getIdent__idents_143((*g).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_46));
4488 		T8_ = nextSymId__ast_3132(idgen);
4489 		result = newSym__ast_3445(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 11), T7_, T8_, iter, (*iter).info, 0);
4490 		asgnRef((void**) (&(*result).typ), (*(*iter).typ).sons->data[((NI) 0)]);
4491 		(*result).flags |= ((NU64)1)<<((((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 0)) & 63);
4492 		T9_ = NIM_NIL;
4493 		T9_ = newSymNode__ast_3716(result);
4494 		add__ast_4797((*iter).ast, T9_);
4495 	}
4496 	LA1_: ;
4497 	return result;
4498 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,getStateField__lambdalifting_4660)4499 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, getStateField__lambdalifting_4660)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner) {
4500 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
4501 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T1_;
4502 	tyObject_TType__facALICuu8zUj0hjvbTLFg* T2_;
4503 	result = NIM_NIL;
4504 	T1_ = NIM_NIL;
4505 	T1_ = getHiddenParam__lambdalifting_106(g, owner);
4506 	T2_ = NIM_NIL;
4507 	T2_ = skipTypes__ast_3735((*T1_).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
4508 	result = (*(*(*T2_).n)._kind_6.sons->data[((NI) 0)])._kind_4.sym;
4509 	return result;
4510 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,liftIterToProc__lambdalifting_5051)4511 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, liftIterToProc__lambdalifting_5051)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* fn, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* body, tyObject_TType__facALICuu8zUj0hjvbTLFg* ptrType, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen) {
4512 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
4513 	tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ d;
4514 	tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw c;
4515 	tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw oldKind;
4516 	tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA oldCC;
4517 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym221_;
4518 	result = NIM_NIL;
4519 	nimZeroMem((void*)(&d), sizeof(tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ));
4520 	initDetectionPass__lambdalifting_396(g, fn, idgen, (&d));
4521 	nimZeroMem((void*)(&c), sizeof(tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw));
4522 	initLiftingPass__lambdalifting_2151(fn, (&c));
4523 	oldKind = (*fn).kind;
4524 	oldCC = (*(*fn).typ).callConv;
4525 	transitionRoutineSymKind__ast_4393(fn, ((tyEnum_TSymKind__uwRDzlpaGW5WJzgBn4R8Eg) 15));
4526 	(*(*fn).typ).callConv = ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9);
4527 	xX60gensym221_ = fn;
4528 	X5BX5Deq___lambdalifting_891((&d.ownerToType), (NI)((NI)((NU64)(((NI) ((*xX60gensym221_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym221_).Sup.itemId.item))), ptrType);
4529 	detectCapturedVars__lambdalifting_1998(body, fn, (&d));
4530 	result = liftCapturedVars__lambdalifting_4665(body, fn, (&d), (&c));
4531 	transitionRoutineSymKind__ast_4393(fn, ((tyEnum_TSymKind__uwRDzlpaGW5WJzgBn4R8Eg) (oldKind)));
4532 	(*(*fn).typ).callConv = oldCC;
4533 	return result;
4534 }
N_NIMCALL(void,compiler_lambdaliftingDatInit000)4535 N_LIB_PRIVATE N_NIMCALL(void, compiler_lambdaliftingDatInit000)(void) {
4536 static TNimNode* TM__PI7oJkFuxeeTWjPTjlNxqg_2_3[3];
4537 static TNimNode* TM__PI7oJkFuxeeTWjPTjlNxqg_21_3[3];
4538 static TNimNode TM__PI7oJkFuxeeTWjPTjlNxqg_0[8];
4539 NTIkeyvaluepair__jy9cqXDNMQDkZGlO5foeORw_.size = sizeof(tyTuple__jy9cqXDNMQDkZGlO5foeORw);
4540 NTIkeyvaluepair__jy9cqXDNMQDkZGlO5foeORw_.align = NIM_ALIGNOF(tyTuple__jy9cqXDNMQDkZGlO5foeORw);
4541 NTIkeyvaluepair__jy9cqXDNMQDkZGlO5foeORw_.kind = 18;
4542 NTIkeyvaluepair__jy9cqXDNMQDkZGlO5foeORw_.base = 0;
4543 TM__PI7oJkFuxeeTWjPTjlNxqg_2_3[0] = &TM__PI7oJkFuxeeTWjPTjlNxqg_0[1];
4544 TM__PI7oJkFuxeeTWjPTjlNxqg_0[1].kind = 1;
4545 TM__PI7oJkFuxeeTWjPTjlNxqg_0[1].offset = offsetof(tyTuple__jy9cqXDNMQDkZGlO5foeORw, Field0);
4546 TM__PI7oJkFuxeeTWjPTjlNxqg_0[1].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
4547 TM__PI7oJkFuxeeTWjPTjlNxqg_0[1].name = "Field0";
4548 TM__PI7oJkFuxeeTWjPTjlNxqg_2_3[1] = &TM__PI7oJkFuxeeTWjPTjlNxqg_0[2];
4549 TM__PI7oJkFuxeeTWjPTjlNxqg_0[2].kind = 1;
4550 TM__PI7oJkFuxeeTWjPTjlNxqg_0[2].offset = offsetof(tyTuple__jy9cqXDNMQDkZGlO5foeORw, Field1);
4551 TM__PI7oJkFuxeeTWjPTjlNxqg_0[2].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
4552 TM__PI7oJkFuxeeTWjPTjlNxqg_0[2].name = "Field1";
4553 TM__PI7oJkFuxeeTWjPTjlNxqg_2_3[2] = &TM__PI7oJkFuxeeTWjPTjlNxqg_0[3];
4554 TM__PI7oJkFuxeeTWjPTjlNxqg_0[3].kind = 1;
4555 TM__PI7oJkFuxeeTWjPTjlNxqg_0[3].offset = offsetof(tyTuple__jy9cqXDNMQDkZGlO5foeORw, Field2);
4556 TM__PI7oJkFuxeeTWjPTjlNxqg_0[3].typ = (&NTIptype__qt2Wh0elFEz5fH0l7yusLw_);
4557 TM__PI7oJkFuxeeTWjPTjlNxqg_0[3].name = "Field2";
4558 TM__PI7oJkFuxeeTWjPTjlNxqg_0[0].len = 3; TM__PI7oJkFuxeeTWjPTjlNxqg_0[0].kind = 2; TM__PI7oJkFuxeeTWjPTjlNxqg_0[0].sons = &TM__PI7oJkFuxeeTWjPTjlNxqg_2_3[0];
4559 NTIkeyvaluepair__jy9cqXDNMQDkZGlO5foeORw_.node = &TM__PI7oJkFuxeeTWjPTjlNxqg_0[0];
4560 NTIkeyvaluepairseq__KHtASjJ36dOrANNiImdvag_.size = sizeof(tySequence__KHtASjJ36dOrANNiImdvag*);
4561 NTIkeyvaluepairseq__KHtASjJ36dOrANNiImdvag_.align = NIM_ALIGNOF(tySequence__KHtASjJ36dOrANNiImdvag*);
4562 NTIkeyvaluepairseq__KHtASjJ36dOrANNiImdvag_.kind = 24;
4563 NTIkeyvaluepairseq__KHtASjJ36dOrANNiImdvag_.base = (&NTIkeyvaluepair__jy9cqXDNMQDkZGlO5foeORw_);
4564 NTIkeyvaluepairseq__KHtASjJ36dOrANNiImdvag_.marker = Marker_tySequence__KHtASjJ36dOrANNiImdvag;
4565 NTIkeyvaluepair__Wymbvuvlf49clEgp9bKoFN9bw_.size = sizeof(tyTuple__Wymbvuvlf49clEgp9bKoFN9bw);
4566 NTIkeyvaluepair__Wymbvuvlf49clEgp9bKoFN9bw_.align = NIM_ALIGNOF(tyTuple__Wymbvuvlf49clEgp9bKoFN9bw);
4567 NTIkeyvaluepair__Wymbvuvlf49clEgp9bKoFN9bw_.kind = 18;
4568 NTIkeyvaluepair__Wymbvuvlf49clEgp9bKoFN9bw_.base = 0;
4569 TM__PI7oJkFuxeeTWjPTjlNxqg_21_3[0] = &TM__PI7oJkFuxeeTWjPTjlNxqg_0[5];
4570 TM__PI7oJkFuxeeTWjPTjlNxqg_0[5].kind = 1;
4571 TM__PI7oJkFuxeeTWjPTjlNxqg_0[5].offset = offsetof(tyTuple__Wymbvuvlf49clEgp9bKoFN9bw, Field0);
4572 TM__PI7oJkFuxeeTWjPTjlNxqg_0[5].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
4573 TM__PI7oJkFuxeeTWjPTjlNxqg_0[5].name = "Field0";
4574 TM__PI7oJkFuxeeTWjPTjlNxqg_21_3[1] = &TM__PI7oJkFuxeeTWjPTjlNxqg_0[6];
4575 TM__PI7oJkFuxeeTWjPTjlNxqg_0[6].kind = 1;
4576 TM__PI7oJkFuxeeTWjPTjlNxqg_0[6].offset = offsetof(tyTuple__Wymbvuvlf49clEgp9bKoFN9bw, Field1);
4577 TM__PI7oJkFuxeeTWjPTjlNxqg_0[6].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
4578 TM__PI7oJkFuxeeTWjPTjlNxqg_0[6].name = "Field1";
4579 TM__PI7oJkFuxeeTWjPTjlNxqg_21_3[2] = &TM__PI7oJkFuxeeTWjPTjlNxqg_0[7];
4580 TM__PI7oJkFuxeeTWjPTjlNxqg_0[7].kind = 1;
4581 TM__PI7oJkFuxeeTWjPTjlNxqg_0[7].offset = offsetof(tyTuple__Wymbvuvlf49clEgp9bKoFN9bw, Field2);
4582 TM__PI7oJkFuxeeTWjPTjlNxqg_0[7].typ = (&NTIpnode__fKfcLzXYiz5jNu3NH3Tv8Q_);
4583 TM__PI7oJkFuxeeTWjPTjlNxqg_0[7].name = "Field2";
4584 TM__PI7oJkFuxeeTWjPTjlNxqg_0[4].len = 3; TM__PI7oJkFuxeeTWjPTjlNxqg_0[4].kind = 2; TM__PI7oJkFuxeeTWjPTjlNxqg_0[4].sons = &TM__PI7oJkFuxeeTWjPTjlNxqg_21_3[0];
4585 NTIkeyvaluepair__Wymbvuvlf49clEgp9bKoFN9bw_.node = &TM__PI7oJkFuxeeTWjPTjlNxqg_0[4];
4586 NTIkeyvaluepairseq__YuKuU17u5ApAIki23DK9bJw_.size = sizeof(tySequence__YuKuU17u5ApAIki23DK9bJw*);
4587 NTIkeyvaluepairseq__YuKuU17u5ApAIki23DK9bJw_.align = NIM_ALIGNOF(tySequence__YuKuU17u5ApAIki23DK9bJw*);
4588 NTIkeyvaluepairseq__YuKuU17u5ApAIki23DK9bJw_.kind = 24;
4589 NTIkeyvaluepairseq__YuKuU17u5ApAIki23DK9bJw_.base = (&NTIkeyvaluepair__Wymbvuvlf49clEgp9bKoFN9bw_);
4590 NTIkeyvaluepairseq__YuKuU17u5ApAIki23DK9bJw_.marker = Marker_tySequence__YuKuU17u5ApAIki23DK9bJw;
4591 }
4592 
4593