1 /* Generated by Nim Compiler v1.6.2 */
2 #define NIM_INTBITS 32
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(NU64, hiXorLoFallback64__pureZhashes_35)(NU64 a, NU64 b);
1354 static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZtables_31)(NI hcode);
1355 static N_INLINE(NI, nextTry__pureZcollectionsZtables_34)(NI h, NI maxHash);
1356 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, newType__ast_3896)(tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag kind, tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g id, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner);
1357 static N_INLINE(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g, nextTypeId__ast_3151)(tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* x);
1358 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);
1359 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);
1360 N_LIB_PRIVATE N_NIMCALL(void, rawAddField__lowerings_309)(tyObject_TType__facALICuu8zUj0hjvbTLFg* obj, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* field);
1361 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, createStateField__lambdalifting_51)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* iter, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen);
1362 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);
1363 N_LIB_PRIVATE N_NIMCALL(tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA*, getIdent__idents_143)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* ic, NimStringDesc* identifier);
1364 static N_INLINE(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g, nextSymId__ast_3132)(tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* x);
1365 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, createClosureIterStateType__lambdalifting_33)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* iter, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen);
1366 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newNodeI__ast_3356)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1367 N_LIB_PRIVATE N_NIMCALL(void, add__ast_4797)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* father, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* son);
1368 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newIntNode__ast_3723)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, NI64 intVal);
1369 static N_INLINE(void, asgnRef)(void** dest, void* src);
1370 static N_INLINE(void, incRef__system_5308)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
1371 static N_INLINE(NI, pluspercent___system_696)(NI x, NI y);
1372 static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__system_5270)(void* usr);
1373 static N_INLINE(NI, minuspercent___system_716)(NI x, NI y);
1374 static N_INLINE(void, decRef__system_5315)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
1375 static N_INLINE(NIM_BOOL, ltpercent___system_1005)(NI x, NI y);
1376 static N_INLINE(void, rtlAddZCT__system_5313)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
1377 N_LIB_PRIVATE N_NOINLINE(void, addZCT__system_5264)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
1378 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, nilOrSysInt__magicsys_8)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g);
1379 N_LIB_PRIVATE N_NIMCALL(void, rawAddSon__ast_4288)(tyObject_TType__facALICuu8zUj0hjvbTLFg* father, tyObject_TType__facALICuu8zUj0hjvbTLFg* son, NIM_BOOL propagateHasAsgn);
1380 N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___lambdalifting_891)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ* t, NI key, tyObject_TType__facALICuu8zUj0hjvbTLFg* val);
1381 static N_INLINE(NIM_BOOL, mustRehash__lambdalifting_1064)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ t);
1382 N_LIB_PRIVATE N_NIMCALL(void, enlarge__lambdalifting_1217)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ* t);
1383 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);
1384 static N_INLINE(NI, rawGetKnownHC__lambdalifting_1686)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ t, NI key, NI hc);
1385 N_LIB_PRIVATE N_NIMCALL(void, addHiddenParam__lambdalifting_80)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* routine, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* param);
1386 static N_INLINE(NI, len__ast_3198)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1387 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newSymNode__ast_3716)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* sym);
1388 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);
1389 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isInnerProc__lambdalifting_177)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s);
1390 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, containsOrIncl__astalgo_402)(tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA* s, NI key);
1391 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);
1392 static N_INLINE(NIM_BOOL, interestingIterVar__lambdalifting_238)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s);
1393 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, skipTypes__ast_3735)(tyObject_TType__facALICuu8zUj0hjvbTLFg* t, tySet_tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag kinds);
1394 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, getHiddenParam__lambdalifting_106)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* routine);
1395 static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
1396 static N_INLINE(void, copyMem__system_1727)(void* dest, void* source, NI size);
1397 static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
1398 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
1399 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);
1400 N_LIB_PRIVATE N_NIMCALL(void, markAsClosure__lambdalifting_358)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1401 static N_INLINE(NIM_BOOL, illegalCapture__lambdalifting_166)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s);
1402 N_LIB_PRIVATE N_NIMCALL(tyEnum_ViewTypeKind__3S4FAWaxPP9ahVaUnMsznog, classifyViewType__typeallowed_564)(tyObject_TType__facALICuu8zUj0hjvbTLFg* t);
1403 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuFormatOpenArray)(NimStringDesc* formatstr, NimStringDesc** a, NI aLen_0);
1404 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
1405 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, typeToString__types_50)(tyObject_TType__facALICuu8zUj0hjvbTLFg* typ, tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw prefer);
1406 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___msgs_624)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1407 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprEnum)(NI e, TNimType* typ);
1408 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);
1409 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isDefined__options_2279)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* symbol);
1410 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, getEnvTypeForOwnerUp__lambdalifting_1942)(tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* c, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1411 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, lookupInRecord__astalgo_84)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* field);
1412 N_LIB_PRIVATE N_NIMCALL(void, initLiftingPass__lambdalifting_2151)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* fn, tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw* Result);
1413 N_LIB_PRIVATE N_NIMCALL(void, initTable__lambdalifting_2164)(NI initialSize, tyObject_Table__JrI9bTpOVccKpiJXKOskjFg* Result);
1414 static N_NIMCALL(void, Marker_tySequence__YuKuU17u5ApAIki23DK9bJw)(void* p, NI op);
1415 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);
1416 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, getOrDefault__lambdalifting_2340)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg t, NI key);
1417 static N_INLINE(NI, rawGet__lambdalifting_2349)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg t, NI key, NI* hc);
1418 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newTree__ast_3392)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw** children, NI childrenLen_0);
1419 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);
1420 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);
1421 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);
1422 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, asOwnedRef__lambdalifting_1923)(tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* c, tyObject_TType__facALICuu8zUj0hjvbTLFg* t);
1423 N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___lambdalifting_2794)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg* t, NI key, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* val);
1424 static N_INLINE(NIM_BOOL, mustRehash__lambdalifting_2967)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg t);
1425 N_LIB_PRIVATE N_NIMCALL(void, enlarge__lambdalifting_3120)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg* t);
1426 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);
1427 static N_INLINE(NI, rawGetKnownHC__lambdalifting_3593)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg t, NI key, NI hc);
1428 N_LIB_PRIVATE N_NIMCALL(void, addVar__lowerings_63)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* father, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* v);
1429 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw**, X5BX5D___lambdalifting_4026)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg* t, NI key);
1430 N_LIB_PRIVATE N_NOINLINE(void, raiseKeyError__ast_1357)(NI key) __attribute__((noreturn));
1431 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newCall__lambdalifting_21)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* a, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* b);
1432 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, getSysSym__magicsys_16)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, NimStringDesc* name);
1433 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, copyTree__ast_4431)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* src);
1434 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newAsgnStmt__lambdalifting_192)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* le, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ri, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1435 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newNodeI__ast_3360)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, NI children);
1436 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);
1437 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);
1438 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, lastSon__ast_3743)(tyObject_TType__facALICuu8zUj0hjvbTLFg* n);
1439 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__astalgo_3496)(tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA* s, NI key);
1440 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, indirectAccess__lowerings_610)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* b, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1441 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, getUpViaParam__lambdalifting_3892)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner);
1442 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, rawIndirectAccess__lowerings_326)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* field, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1443 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);
1444 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, X5BX5D___lambdalifting_4419)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg t, NI key);
1445 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newNodeIT__ast_3378)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyObject_TType__facALICuu8zUj0hjvbTLFg* typ);
1446 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);
1447 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);
1448 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, getSysType__magicsys_60)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag kind);
1449 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, skipConv__types_3588)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1450 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, closureCreationForIter__lambdalifting_4502)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* iter, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* d, tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw* c);
1451 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);
1452 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, accessViaEnvParam__lambdalifting_2193)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner);
1453 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, getFieldFromObj__lowerings_582)(tyObject_TType__facALICuu8zUj0hjvbTLFg* t, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* v);
1454 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);
1455 static N_INLINE(NIM_BOOL, liftingHarmful__lambdalifting_251)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner);
1456 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newIntTypeNode__ast_3783)(NI64 intVal, tyObject_TType__facALICuu8zUj0hjvbTLFg* typ);
1457 N_LIB_PRIVATE N_NIMCALL(void, transitionToLet__ast_4406)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s);
1458 N_LIB_PRIVATE N_NIMCALL(void, transitionRoutineSymKind__ast_4393)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s, tyEnum_TSymKind__uwRDzlpaGW5WJzgBn4R8Eg kind);
1459 N_LIB_PRIVATE TNimType NTIkeyvaluepair__jy9cqXDNMQDkZGlO5foeORw_;
1460 extern TNimType NTIint__rR5Bzr1D5krxoo1NcNyeMA_;
1461 extern TNimType NTIptype__qt2Wh0elFEz5fH0l7yusLw_;
1462 N_LIB_PRIVATE TNimType NTIkeyvaluepairseq__KHtASjJ36dOrANNiImdvag_;
1463 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_3, ":envP", 5);
1464 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_4, ":state", 6);
1465 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_5, "internal error: inconsistent environment type", 45);
1466 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_7, "/home/runner/work/nightlies/nightlies/nim/compiler/lambdalifting.nim", 68);
1467 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_6 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1468 ((NI) 419),
1469 ((NI) 14)}
1470 ;
1471 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_8, "internal error: could not find env param for ", 45);
1472 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_9 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1473 ((NI) 178),
1474 ((NI) 14)}
1475 ;
1476 static NIM_CONST tySet_tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag TM__PI7oJkFuxeeTWjPTjlNxqg_10 = {
1477 0x00, 0x00, 0x60, 0x00, 0x00, 0x20, 0x00, 0x00,
1478 0x00}
1479 ;
1480 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);
1481 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_12 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1482 ((NI) 291),
1483 ((NI) 14)}
1484 ;
1485 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_13, "illegal capture \'$1\' because \'$2\' has the calling convention: <$3>", 66);
1486 extern TNimType NTItcallingconvention__yjAJ8w0h1PBaSwSGJ3P7IA_;
1487 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_14 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1488 ((NI) 296),
1489 ((NI) 14)}
1490 ;
1491 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_15, "nimCycleBreaker", 15);
1492 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_16, "internal error: invalid up reference computed", 45);
1493 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_17 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1494 ((NI) 364),
1495 ((NI) 14)}
1496 ;
1497 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_18, ":up", 3);
1498 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_19, "internal error: up references do not agree", 42);
1499 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_20 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1500 ((NI) 370),
1501 ((NI) 16)}
1502 ;
1503 N_LIB_PRIVATE TNimType NTIkeyvaluepair__Wymbvuvlf49clEgp9bKoFN9bw_;
1504 extern TNimType NTIpnode__fKfcLzXYiz5jNu3NH3Tv8Q_;
1505 N_LIB_PRIVATE TNimType NTIkeyvaluepairseq__YuKuU17u5ApAIki23DK9bJw_;
1506 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_22, "internal error: could not determine closure type", 48);
1507 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_23 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1508 ((NI) 561),
1509 ((NI) 17)}
1510 ;
1511 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_24, ":env", 4);
1512 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_25, ":envAlt", 7);
1513 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_26, "internalNew", 11);
1514 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_27, "could not find up reference for closure iter", 44);
1515 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_28 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1516 ((NI) 576),
1517 ((NI) 16)}
1518 ;
1519 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_29, "internal error: cannot create up reference", 42);
1520 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_30 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1521 ((NI) 631),
1522 ((NI) 16)}
1523 ;
1524 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_31, "internal error: taking closure of closure", 41);
1525 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_32 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1526 ((NI) 217),
1527 ((NI) 16)}
1528 ;
1529 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_33, "internal error: cannot create up reference for iter", 51);
1530 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_34 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1531 ((NI) 672),
1532 ((NI) 16)}
1533 ;
1534 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_35, "internal error: no environment found", 36);
1535 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_36 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1536 ((NI) 717),
1537 ((NI) 18)}
1538 ;
1539 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_37, "internal error: environment misses: ", 36);
1540 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_38 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1541 ((NI) 537),
1542 ((NI) 12)}
1543 ;
1544 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_39, "internal error: not part of closure object type", 47);
1545 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_40 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1546 ((NI) 685),
1547 ((NI) 14)}
1548 ;
1549 static NIM_CONST tySet_tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag TM__PI7oJkFuxeeTWjPTjlNxqg_41 = {
1550 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00,
1551 0x00}
1552 ;
1553 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_42, "ignored invalid for loop", 24);
1554 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_43 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1555 ((NI) 925),
1556 ((NI) 14)}
1557 ;
1558 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_44, "internal error: cannot generate fresh variable", 46);
1559 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__PI7oJkFuxeeTWjPTjlNxqg_45 = {((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_7),
1560 ((NI) 283),
1561 ((NI) 14)}
1562 ;
1563 STRING_LITERAL(TM__PI7oJkFuxeeTWjPTjlNxqg_46, ":result", 7);
1564 extern tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__system_5217;
N_INLINE(NIM_BOOL,interestingVar__lambdalifting_151)1565 static N_INLINE(NIM_BOOL, interestingVar__lambdalifting_151)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s) {
1566 	NIM_BOOL result;
1567 	NIM_BOOL T1_;
1568 	NIM_BOOL T2_;
1569 	result = (NIM_BOOL)0;
1570 	T1_ = (NIM_BOOL)0;
1571 	T2_ = (NIM_BOOL)0;
1572 	T2_ = ((2100008 &((NU32)1<<((NU)((*s).kind)&31U)))!=0);
1573 	if (!(T2_)) goto LA3_;
1574 	T2_ = !((((*s).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 3))&63U)))!=0));
1575 	LA3_: ;
1576 	T1_ = T2_;
1577 	if (!(T1_)) goto LA4_;
1578 	T1_ = !(((*(*s).typ).kind == ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 60) || (*(*s).typ).kind == ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 8)));
1579 	LA4_: ;
1580 	result = T1_;
1581 	return result;
1582 }
N_INLINE(NIM_BOOL,isGenericParams__ast_4616)1583 static N_INLINE(NIM_BOOL, isGenericParams__ast_4616)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
1584 	NIM_BOOL result;
1585 	NIM_BOOL T1_;
1586 	result = (NIM_BOOL)0;
1587 	T1_ = (NIM_BOOL)0;
1588 	T1_ = !((n == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)));
1589 	if (!(T1_)) goto LA2_;
1590 	T1_ = ((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 75));
1591 	LA2_: ;
1592 	result = T1_;
1593 	return result;
1594 }
N_INLINE(NIM_BOOL,isGenericRoutine__ast_4627)1595 static N_INLINE(NIM_BOOL, isGenericRoutine__ast_4627)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
1596 	NIM_BOOL result;
1597 	NIM_BOOL T1_;
1598 	NIM_BOOL T2_;
1599 	result = (NIM_BOOL)0;
1600 	T1_ = (NIM_BOOL)0;
1601 	T2_ = (NIM_BOOL)0;
1602 	T2_ = !((n == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)));
1603 	if (!(T2_)) goto LA3_;
1604 	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));
1605 	LA3_: ;
1606 	T1_ = T2_;
1607 	if (!(T1_)) goto LA4_;
1608 	T1_ = isGenericParams__ast_4616((*n)._kind_6.sons->data[((NI) 2)]);
1609 	LA4_: ;
1610 	result = T1_;
1611 	return result;
1612 }
N_INLINE(NIM_BOOL,isGenericRoutine__ast_4646)1613 static N_INLINE(NIM_BOOL, isGenericRoutine__ast_4646)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s) {
1614 	NIM_BOOL result;
1615 	NIM_BOOL T1_;
1616 	NIM_BOOL T3_;
1617 	result = (NIM_BOOL)0;
1618 	T1_ = (NIM_BOOL)0;
1619 	T1_ = ((520192 &((NU32)1<<((NU)((*s).kind)&31U)))!=0);
1620 	if (!(T1_)) goto LA2_;
1621 	T3_ = (NIM_BOOL)0;
1622 	T3_ = (((*s).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 2))&63U)))!=0);
1623 	if (T3_) goto LA4_;
1624 	T3_ = isGenericRoutine__ast_4627((*s).ast);
1625 	LA4_: ;
1626 	T1_ = T3_;
1627 	LA2_: ;
1628 	result = T1_;
1629 	return result;
1630 }
N_NIMCALL(void,propagateClosure__lambdalifting_4998)1631 N_LIB_PRIVATE N_NIMCALL(void, propagateClosure__lambdalifting_4998)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* start, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* last) {
1632 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* o;
1633 	o = start;
1634 	{
1635 		while (1) {
1636 			NIM_BOOL T3_;
1637 			T3_ = (NIM_BOOL)0;
1638 			T3_ = !((o == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)));
1639 			if (!(T3_)) goto LA4_;
1640 			T3_ = !(((*o).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6)));
1641 			LA4_: ;
1642 			if (!T3_) goto LA2;
1643 			{
1644 				if (!(o == last)) goto LA7_;
1645 				goto LA1;
1646 			}
1647 			LA7_: ;
1648 			(*(*o).typ).callConv = ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9);
1649 			o = skipGenericOwner__ast_4658(o);
1650 		} LA2: ;
1651 	} LA1: ;
1652 }
N_NIMCALL(void,semCaptureSym__lambdalifting_4995)1653 N_LIB_PRIVATE N_NIMCALL(void, semCaptureSym__lambdalifting_4995)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner) {
1654 	{
1655 		NIM_BOOL T3_;
1656 		T3_ = (NIM_BOOL)0;
1657 		T3_ = interestingVar__lambdalifting_151(s);
1658 		if (!(T3_)) goto LA4_;
1659 		T3_ = !(((*s).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 11)));
1660 		LA4_: ;
1661 		if (!T3_) goto LA5_;
1662 		{
1663 			NIM_BOOL T9_;
1664 			NIM_BOOL T11_;
1665 			tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* o;
1666 			T9_ = (NIM_BOOL)0;
1667 			T9_ = !(((*owner).typ == ((tyObject_TType__facALICuu8zUj0hjvbTLFg*) NIM_NIL)));
1668 			if (!(T9_)) goto LA10_;
1669 			T11_ = (NIM_BOOL)0;
1670 			T11_ = isGenericRoutine__ast_4646(owner);
1671 			T9_ = !(T11_);
1672 			LA10_: ;
1673 			if (!T9_) goto LA12_;
1674 			o = skipGenericOwner__ast_4658(owner);
1675 			{
1676 				while (1) {
1677 					NIM_BOOL T16_;
1678 					T16_ = (NIM_BOOL)0;
1679 					T16_ = !((o == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)));
1680 					if (!(T16_)) goto LA17_;
1681 					T16_ = !(((*o).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6)));
1682 					LA17_: ;
1683 					if (!T16_) goto LA15;
1684 					{
1685 						if (!((*s).owner == o)) goto LA20_;
1686 						{
1687 							NIM_BOOL T24_;
1688 							NIM_BOOL T25_;
1689 							NIM_BOOL T28_;
1690 							tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T32_;
1691 							T24_ = (NIM_BOOL)0;
1692 							T25_ = (NIM_BOOL)0;
1693 							T25_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
1694 							if (T25_) goto LA26_;
1695 							T25_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
1696 							LA26_: ;
1697 							T24_ = T25_;
1698 							if (T24_) goto LA27_;
1699 							T28_ = (NIM_BOOL)0;
1700 							T28_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 0));
1701 							if (!(T28_)) goto LA29_;
1702 							T28_ = !((((*(*owner).typ).flags &((NU64)1<<((NU)(((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 42))&63U)))!=0));
1703 							LA29_: ;
1704 							T24_ = T28_;
1705 							LA27_: ;
1706 							if (!T24_) goto LA30_;
1707 							(*(*owner).typ).callConv = ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9);
1708 							T32_ = NIM_NIL;
1709 							T32_ = skipGenericOwner__ast_4658(owner);
1710 							propagateClosure__lambdalifting_4998(T32_, (*s).owner);
1711 						}
1712 						goto LA22_;
1713 						LA30_: ;
1714 						{
1715 						}
1716 						LA22_: ;
1717 					}
1718 					LA20_: ;
1719 					o = skipGenericOwner__ast_4658(o);
1720 				} LA15: ;
1721 			}
1722 		}
1723 		LA12_: ;
1724 	}
1725 	LA5_: ;
1726 }
N_INLINE(void,nimSetMem__systemZmemory_7)1727 static N_INLINE(void, nimSetMem__systemZmemory_7)(void* a, int v, NI size) {
1728 	void* T1_;
1729 	T1_ = (void*)0;
1730 	T1_ = memset(a, v, ((size_t) (size)));
1731 }
N_INLINE(void,nimZeroMem)1732 static N_INLINE(void, nimZeroMem)(void* p, NI size) {
1733 	nimSetMem__systemZmemory_7(p, ((int) 0), size);
1734 }
N_INLINE(void,initIntSet__pureZcollectionsZintsets_238)1735 static N_INLINE(void, initIntSet__pureZcollectionsZintsets_238)(tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA* Result) {
1736 	initPackedSet__pureZcollectionsZintsets_16(Result);
1737 }
N_INLINE(NI,slotsNeeded__pureZcollectionsZtables_42)1738 static N_INLINE(NI, slotsNeeded__pureZcollectionsZtables_42)(NI count) {
1739 	NI result;
1740 	result = (NI)0;
1741 	result = nextPowerOfTwo__pureZmath_177((NI)((NI)((NI)(((NI) (count)) * ((NI) 3)) / ((NI) 2)) + ((NI) 4)));
1742 	return result;
1743 }
N_NIMCALL(void,Marker_tySequence__KHtASjJ36dOrANNiImdvag)1744 static N_NIMCALL(void, Marker_tySequence__KHtASjJ36dOrANNiImdvag)(void* p, NI op) {
1745 	tySequence__KHtASjJ36dOrANNiImdvag* a;
1746 	NI T1_;
1747 	a = (tySequence__KHtASjJ36dOrANNiImdvag*)p;
1748 	T1_ = (NI)0;
1749 	for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
1750 	nimGCvisit((void*)a->data[T1_].Field2, op);
1751 	}
1752 }
N_NIMCALL(void,initTable__lambdalifting_401)1753 N_LIB_PRIVATE N_NIMCALL(void, initTable__lambdalifting_401)(NI initialSize, tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ* Result) {
1754 	NI correctSizeX60gensym51_;
1755 	unsureAsgnRef((void**)&(*Result).data, NIM_NIL);
1756 	(*Result).counter = 0;
1757 	correctSizeX60gensym51_ = slotsNeeded__pureZcollectionsZtables_42(((NI) (initialSize)));
1758 	(*Result).counter = ((NI) 0);
1759 	unsureAsgnRef((void**) (&(*Result).data), (tySequence__KHtASjJ36dOrANNiImdvag*) newSeq((&NTIkeyvaluepairseq__KHtASjJ36dOrANNiImdvag_), ((NI) (correctSizeX60gensym51_))));
1760 }
N_NIMCALL(void,initDetectionPass__lambdalifting_396)1761 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) {
1762 	NI T1_;
1763 	NI T2_;
1764 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym53_;
1765 	(*Result).processed.elems = 0;
1766 	(*Result).processed.counter = 0;
1767 	(*Result).processed.max = 0;
1768 	unsureAsgnRef((void**)&(*Result).processed.head, NIM_NIL);
1769 	unsureAsgnRef((void**)&(*Result).processed.data, NIM_NIL);
1770 	T1_ = (NI)0;
1771 	for (T1_ = 0; T1_ < 34; T1_++) {
1772 	(*Result).processed.a[T1_] = 0;
1773 	}
1774 	(*Result).capturedVars.elems = 0;
1775 	(*Result).capturedVars.counter = 0;
1776 	(*Result).capturedVars.max = 0;
1777 	unsureAsgnRef((void**)&(*Result).capturedVars.head, NIM_NIL);
1778 	unsureAsgnRef((void**)&(*Result).capturedVars.data, NIM_NIL);
1779 	T2_ = (NI)0;
1780 	for (T2_ = 0; T2_ < 34; T2_++) {
1781 	(*Result).capturedVars.a[T2_] = 0;
1782 	}
1783 	unsureAsgnRef((void**)&(*Result).ownerToType.data, NIM_NIL);
1784 	(*Result).ownerToType.counter = 0;
1785 	(*Result).somethingToDo = 0;
1786 	unsureAsgnRef((void**)&(*Result).graph, NIM_NIL);
1787 	unsureAsgnRef((void**)&(*Result).idgen, NIM_NIL);
1788 	initIntSet__pureZcollectionsZintsets_238((&(*Result).processed));
1789 	initIntSet__pureZcollectionsZintsets_238((&(*Result).capturedVars));
1790 	initTable__lambdalifting_401(((NI) 32), (&(*Result).ownerToType));
1791 	xX60gensym53_ = fn;
1792 	incl__pureZcollectionsZintsets_55((&(*Result).processed), (NI)((NI)((NU32)(((NI) ((*xX60gensym53_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym53_).Sup.itemId.item))));
1793 	unsureAsgnRef((void**) (&(*Result).graph), g);
1794 	unsureAsgnRef((void**) (&(*Result).idgen), idgen);
1795 }
N_INLINE(int,nimCmpMem)1796 static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size) {
1797 	int result;
1798 	result = (int)0;
1799 	result = memcmp(a, b, ((size_t) (size)));
1800 	return result;
1801 }
N_INLINE(NIM_BOOL,equalMem__system_1735)1802 static N_INLINE(NIM_BOOL, equalMem__system_1735)(void* a, void* b, NI size) {
1803 	NIM_BOOL result;
1804 	int T1_;
1805 	result = (NIM_BOOL)0;
1806 	T1_ = (int)0;
1807 	T1_ = nimCmpMem(a, b, size);
1808 	result = (T1_ == ((NI32) 0));
1809 	return result;
1810 }
N_INLINE(NIM_BOOL,eqStrings)1811 static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b) {
1812 	NIM_BOOL result;
1813 	NI alen;
1814 	NI blen;
1815 {	result = (NIM_BOOL)0;
1816 	alen = (a ? a->Sup.len : 0);
1817 	blen = (b ? b->Sup.len : 0);
1818 	{
1819 		if (!(alen == blen)) goto LA3_;
1820 		{
1821 			if (!(alen == ((NI) 0))) goto LA7_;
1822 			result = NIM_TRUE;
1823 			goto BeforeRet_;
1824 		}
1825 		LA7_: ;
1826 		result = equalMem__system_1735(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen)));
1827 		goto BeforeRet_;
1828 	}
1829 	LA3_: ;
1830 	}BeforeRet_: ;
1831 	return result;
1832 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,getEnvParam__lambdalifting_131)1833 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, getEnvParam__lambdalifting_131)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* routine) {
1834 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
1835 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* params;
1836 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* hidden;
1837 	result = NIM_NIL;
1838 	params = (*(*routine).ast)._kind_6.sons->data[((NI) 3)];
1839 	hidden = lastSon__ast_4832(params);
1840 	{
1841 		NIM_BOOL T3_;
1842 		T3_ = (NIM_BOOL)0;
1843 		T3_ = ((*hidden).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
1844 		if (!(T3_)) goto LA4_;
1845 		T3_ = eqStrings((*(*(*hidden)._kind_4.sym).name).s, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_3));
1846 		LA4_: ;
1847 		if (!T3_) goto LA5_;
1848 		result = (*hidden)._kind_4.sym;
1849 	}
1850 	LA5_: ;
1851 	return result;
1852 }
N_INLINE(NU64,hiXorLoFallback64__pureZhashes_35)1853 static N_INLINE(NU64, hiXorLoFallback64__pureZhashes_35)(NU64 a, NU64 b) {
1854 	NU64 result;
1855 	NU64 aH;
1856 	NU64 aL;
1857 	NU64 bH;
1858 	NU64 bL;
1859 	NU64 rHH;
1860 	NU64 rHL;
1861 	NU64 rLH;
1862 	NU64 rLL;
1863 	NU64 t;
1864 	NU64 c;
1865 	NU64 lo;
1866 	NU64 T6_;
1867 	NU64 hi;
1868 {	result = (NU64)0;
1869 	aH = (NU64)((NU64)(a) >> (NU64)(((NI) 32)));
1870 	aL = (NU64)(a & 4294967295ULL);
1871 	bH = (NU64)((NU64)(b) >> (NU64)(((NI) 32)));
1872 	bL = (NU64)(b & 4294967295ULL);
1873 	rHH = (NU64)((NU64)(aH) * (NU64)(bH));
1874 	rHL = (NU64)((NU64)(aH) * (NU64)(bL));
1875 	rLH = (NU64)((NU64)(aL) * (NU64)(bH));
1876 	rLL = (NU64)((NU64)(aL) * (NU64)(bL));
1877 	t = (NU64)((NU64)(rLL) + (NU64)((NU64)((NU64)(rHL) << (NU64)(((NI) 32)))));
1878 	{
1879 		if (!((NU64)(t) < (NU64)(rLL))) goto LA3_;
1880 		c = 1ULL;
1881 	}
1882 	goto LA1_;
1883 	LA3_: ;
1884 	{
1885 		c = 0ULL;
1886 	}
1887 	LA1_: ;
1888 	lo = (NU64)((NU64)(t) + (NU64)((NU64)((NU64)(rLH) << (NU64)(((NI) 32)))));
1889 	T6_ = (NU64)0;
1890 	{
1891 		if (!((NU64)(lo) < (NU64)(t))) goto LA9_;
1892 		T6_ = 1ULL;
1893 	}
1894 	goto LA7_;
1895 	LA9_: ;
1896 	{
1897 		T6_ = 0ULL;
1898 	}
1899 	LA7_: ;
1900 	c += T6_;
1901 	hi = (NU64)((NU64)((NU64)((NU64)((NU64)((NU64)(rHH) + (NU64)((NU64)((NU64)(rHL) >> (NU64)(((NI) 32)))))) + (NU64)((NU64)((NU64)(rLH) >> (NU64)(((NI) 32)))))) + (NU64)(c));
1902 	result = (NU64)(hi ^ lo);
1903 	goto BeforeRet_;
1904 	}BeforeRet_: ;
1905 	return result;
1906 }
N_INLINE(NU64,hiXorLo__pureZhashes_79)1907 static N_INLINE(NU64, hiXorLo__pureZhashes_79)(NU64 a, NU64 b) {
1908 	NU64 result;
1909 	result = (NU64)0;
1910 	result = hiXorLoFallback64__pureZhashes_35(a, b);
1911 	return result;
1912 }
N_INLINE(NI,hashWangYi1__pureZhashes_136)1913 static N_INLINE(NI, hashWangYi1__pureZhashes_136)(NU64 x) {
1914 	NI result;
1915 	NU64 T1_;
1916 	NU64 T2_;
1917 	result = (NI)0;
1918 	T1_ = (NU64)0;
1919 	T1_ = hiXorLo__pureZhashes_79(11562461410679940143ULL, (NU64)(x ^ 16646288086500911323ULL));
1920 	T2_ = (NU64)0;
1921 	T2_ = hiXorLo__pureZhashes_79(T1_, 16952864883938283885ULL);
1922 	result = ((NI) (T2_));
1923 	return result;
1924 }
N_INLINE(NI,hash__pureZhashes_128)1925 static N_INLINE(NI, hash__pureZhashes_128)(NI x) {
1926 	NI result;
1927 	result = (NI)0;
1928 	result = hashWangYi1__pureZhashes_136(((NU64) (x)));
1929 	return result;
1930 }
N_INLINE(NIM_BOOL,isFilled__pureZcollectionsZtables_31)1931 static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZtables_31)(NI hcode) {
1932 	NIM_BOOL result;
1933 	result = (NIM_BOOL)0;
1934 	result = !((hcode == ((NI) 0)));
1935 	return result;
1936 }
N_INLINE(NI,nextTry__pureZcollectionsZtables_34)1937 static N_INLINE(NI, nextTry__pureZcollectionsZtables_34)(NI h, NI maxHash) {
1938 	NI result;
1939 	result = (NI)0;
1940 	result = (NI)((NI)(h + ((NI) 1)) & maxHash);
1941 	return result;
1942 }
N_INLINE(NI,rawGet__lambdalifting_549)1943 static N_INLINE(NI, rawGet__lambdalifting_549)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ t, NI key, NI* hc) {
1944 	NI result;
1945 	NI h;
1946 	NI T10_;
1947 {	result = (NI)0;
1948 	(*hc) = hash__pureZhashes_128(key);
1949 	{
1950 		if (!((*hc) == ((NI) 0))) goto LA3_;
1951 		(*hc) = ((NI) 314159265);
1952 	}
1953 	LA3_: ;
1954 	{
1955 		NI T7_;
1956 		T7_ = (t.data ? t.data->Sup.len : 0);
1957 		if (!(T7_ == ((NI) 0))) goto LA8_;
1958 		result = ((NI) -1);
1959 		goto BeforeRet_;
1960 	}
1961 	LA8_: ;
1962 	T10_ = ((t.data ? t.data->Sup.len : 0)-1);
1963 	h = (NI)((*hc) & T10_);
1964 	{
1965 		while (1) {
1966 			NIM_BOOL T13_;
1967 			NI T20_;
1968 			T13_ = (NIM_BOOL)0;
1969 			T13_ = isFilled__pureZcollectionsZtables_31(t.data->data[h].Field0);
1970 			if (!T13_) goto LA12;
1971 			{
1972 				NIM_BOOL T16_;
1973 				T16_ = (NIM_BOOL)0;
1974 				T16_ = (t.data->data[h].Field0 == (*hc));
1975 				if (!(T16_)) goto LA17_;
1976 				T16_ = (t.data->data[h].Field1 == key);
1977 				LA17_: ;
1978 				if (!T16_) goto LA18_;
1979 				result = h;
1980 				goto BeforeRet_;
1981 			}
1982 			LA18_: ;
1983 			T20_ = ((t.data ? t.data->Sup.len : 0)-1);
1984 			h = nextTry__pureZcollectionsZtables_34(h, T20_);
1985 		} LA12: ;
1986 	}
1987 	result = (NI)(((NI) -1) - h);
1988 	}BeforeRet_: ;
1989 	return result;
1990 }
N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg *,getOrDefault__lambdalifting_540)1991 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, getOrDefault__lambdalifting_540)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ t, NI key) {
1992 	tyObject_TType__facALICuu8zUj0hjvbTLFg* result;
1993 	NI hcX60gensym55_;
1994 	NI indexX60gensym55_;
1995 	result = NIM_NIL;
1996 	hcX60gensym55_ = (NI)0;
1997 	indexX60gensym55_ = rawGet__lambdalifting_549(t, key, (&hcX60gensym55_));
1998 	{
1999 		if (!(((NI) 0) <= indexX60gensym55_)) goto LA3_;
2000 		result = t.data->data[indexX60gensym55_].Field2;
2001 	}
2002 	LA3_: ;
2003 	return result;
2004 }
N_INLINE(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g,nextTypeId__ast_3151)2005 static N_INLINE(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g, nextTypeId__ast_3151)(tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* x) {
2006 	tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g result;
2007 	nimZeroMem((void*)(&result), sizeof(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g));
2008 	(*x).typeId_0 += ((NI) 1);
2009 	nimZeroMem((void*)(&result), sizeof(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g));
2010 	result.module = (*x).module;
2011 	result.item = (*x).typeId_0;
2012 	return result;
2013 }
N_INLINE(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g,nextSymId__ast_3132)2014 static N_INLINE(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g, nextSymId__ast_3132)(tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* x) {
2015 	tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g result;
2016 	nimZeroMem((void*)(&result), sizeof(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g));
2017 	(*x).symId += ((NI) 1);
2018 	nimZeroMem((void*)(&result), sizeof(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g));
2019 	result.module = (*x).module;
2020 	result.item = (*x).symId;
2021 	return result;
2022 }
N_INLINE(NI,pluspercent___system_696)2023 static N_INLINE(NI, pluspercent___system_696)(NI x, NI y) {
2024 	NI result;
2025 	result = (NI)0;
2026 	result = ((NI) ((NU)((NU32)(((NU) (x))) + (NU32)(((NU) (y))))));
2027 	return result;
2028 }
N_INLINE(void,incRef__system_5308)2029 static N_INLINE(void, incRef__system_5308)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
2030 	(*c).refcount = pluspercent___system_696((*c).refcount, ((NI) 8));
2031 }
N_INLINE(NI,minuspercent___system_716)2032 static N_INLINE(NI, minuspercent___system_716)(NI x, NI y) {
2033 	NI result;
2034 	result = (NI)0;
2035 	result = ((NI) ((NU)((NU32)(((NU) (x))) - (NU32)(((NU) (y))))));
2036 	return result;
2037 }
N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g *,usrToCell__system_5270)2038 static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__system_5270)(void* usr) {
2039 	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result;
2040 	NI T1_;
2041 	result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
2042 	T1_ = (NI)0;
2043 	T1_ = minuspercent___system_716(((NI) (ptrdiff_t) (usr)), ((NI) 8));
2044 	result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_));
2045 	return result;
2046 }
N_INLINE(NIM_BOOL,ltpercent___system_1005)2047 static N_INLINE(NIM_BOOL, ltpercent___system_1005)(NI x, NI y) {
2048 	NIM_BOOL result;
2049 	result = (NIM_BOOL)0;
2050 	result = ((NU32)(((NU) (x))) < (NU32)(((NU) (y))));
2051 	return result;
2052 }
N_INLINE(void,rtlAddZCT__system_5313)2053 static N_INLINE(void, rtlAddZCT__system_5313)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
2054 	addZCT__system_5264((&gch__system_5217.zct), c);
2055 }
N_INLINE(void,decRef__system_5315)2056 static N_INLINE(void, decRef__system_5315)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
2057 	(*c).refcount = minuspercent___system_716((*c).refcount, ((NI) 8));
2058 	{
2059 		NIM_BOOL T3_;
2060 		T3_ = (NIM_BOOL)0;
2061 		T3_ = ltpercent___system_1005((*c).refcount, ((NI) 8));
2062 		if (!T3_) goto LA4_;
2063 		rtlAddZCT__system_5313(c);
2064 	}
2065 	LA4_: ;
2066 }
N_INLINE(void,asgnRef)2067 static N_INLINE(void, asgnRef)(void** dest, void* src) {
2068 	{
2069 		tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
2070 		if (!!((src == NIM_NIL))) goto LA3_;
2071 		T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
2072 		T5_ = usrToCell__system_5270(src);
2073 		incRef__system_5308(T5_);
2074 	}
2075 	LA3_: ;
2076 	{
2077 		tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
2078 		if (!!(((*dest) == NIM_NIL))) goto LA8_;
2079 		T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
2080 		T10_ = usrToCell__system_5270((*dest));
2081 		decRef__system_5315(T10_);
2082 	}
2083 	LA8_: ;
2084 	(*dest) = src;
2085 }
N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg *,createClosureIterStateType__lambdalifting_33)2086 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, createClosureIterStateType__lambdalifting_33)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* iter, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen) {
2087 	tyObject_TType__facALICuu8zUj0hjvbTLFg* result;
2088 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n;
2089 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T1_;
2090 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T2_;
2091 	tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T3_;
2092 	tyObject_TType__facALICuu8zUj0hjvbTLFg* intType;
2093 	result = NIM_NIL;
2094 	n = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 44), (*iter).info);
2095 	T1_ = NIM_NIL;
2096 	T1_ = newIntNode__ast_3723(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 6), IL64(-1));
2097 	add__ast_4797(n, T1_);
2098 	T2_ = NIM_NIL;
2099 	T2_ = newIntNode__ast_3723(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 6), IL64(0));
2100 	add__ast_4797(n, T2_);
2101 	T3_ = nextTypeId__ast_3151(idgen);
2102 	result = newType__ast_3896(((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 20), T3_, iter);
2103 	asgnRef((void**) (&(*result).n), n);
2104 	intType = nilOrSysInt__magicsys_8(g);
2105 	{
2106 		tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T8_;
2107 		if (!(intType == 0)) goto LA6_;
2108 		T8_ = nextTypeId__ast_3151(idgen);
2109 		intType = newType__ast_3896(((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 31), T8_, iter);
2110 	}
2111 	LA6_: ;
2112 	rawAddSon__ast_4288(result, intType, NIM_TRUE);
2113 	return result;
2114 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,createStateField__lambdalifting_51)2115 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, createStateField__lambdalifting_51)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* iter, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen) {
2116 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
2117 	tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T1_;
2118 	tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T2_;
2119 	result = NIM_NIL;
2120 	T1_ = NIM_NIL;
2121 	T1_ = getIdent__idents_143((*g).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_4));
2122 	T2_ = nextSymId__ast_3132(idgen);
2123 	result = newSym__ast_3445(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19), T1_, T2_, iter, (*iter).info, 0);
2124 	asgnRef((void**) (&(*result).typ), createClosureIterStateType__lambdalifting_33(g, iter, idgen));
2125 	return result;
2126 }
N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg *,createEnvObj__lambdalifting_56)2127 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) {
2128 	tyObject_TType__facALICuu8zUj0hjvbTLFg* result;
2129 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T1_;
2130 	result = NIM_NIL;
2131 	result = createObj__lowerings_288(g, idgen, owner, info, NIM_FALSE);
2132 	T1_ = NIM_NIL;
2133 	T1_ = createStateField__lambdalifting_51(g, owner, idgen);
2134 	rawAddField__lowerings_309(result, T1_);
2135 	return result;
2136 }
N_INLINE(NIM_BOOL,mustRehash__lambdalifting_1064)2137 static N_INLINE(NIM_BOOL, mustRehash__lambdalifting_1064)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ t) {
2138 	NIM_BOOL result;
2139 	NIM_BOOL T1_;
2140 	NI T2_;
2141 	NI T4_;
2142 	result = (NIM_BOOL)0;
2143 	T1_ = (NIM_BOOL)0;
2144 	T2_ = (t.data ? t.data->Sup.len : 0);
2145 	T1_ = ((NI)(T2_ * ((NI) 2)) < (NI)(t.counter * ((NI) 3)));
2146 	if (T1_) goto LA3_;
2147 	T4_ = (t.data ? t.data->Sup.len : 0);
2148 	T1_ = ((NI)(T4_ - t.counter) < ((NI) 4));
2149 	LA3_: ;
2150 	result = T1_;
2151 	return result;
2152 }
N_NIMCALL(void,rawInsert__lambdalifting_1517)2153 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) {
2154 	(*data)->data[h].Field1 = key;
2155 	asgnRef((void**) (&(*data)->data[h].Field2), val);
2156 	(*data)->data[h].Field0 = hc;
2157 }
N_NIMCALL(void,enlarge__lambdalifting_1217)2158 N_LIB_PRIVATE N_NIMCALL(void, enlarge__lambdalifting_1217)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ* t) {
2159 	tySequence__KHtASjJ36dOrANNiImdvag* n;
2160 	NI T1_;
2161 	tySequence__KHtASjJ36dOrANNiImdvag* T2_;
2162 	n = NIM_NIL;
2163 	T1_ = ((*t).data ? (*t).data->Sup.len : 0);
2164 	n = (tySequence__KHtASjJ36dOrANNiImdvag*) newSeq((&NTIkeyvaluepairseq__KHtASjJ36dOrANNiImdvag_), ((NI) ((NI)(T1_ * ((NI) 2)))));
2165 	T2_ = NIM_NIL;
2166 	T2_ = (*t).data;
2167 	unsureAsgnRef((void**) (&(*t).data), n);
2168 	n = T2_;
2169 	{
2170 		NI i;
2171 		NI colontmp_;
2172 		NI T4_;
2173 		NI res;
2174 		i = (NI)0;
2175 		colontmp_ = (NI)0;
2176 		T4_ = ((n ? n->Sup.len : 0)-1);
2177 		colontmp_ = T4_;
2178 		res = ((NI) 0);
2179 		{
2180 			while (1) {
2181 				NI eh;
2182 				if (!(res <= colontmp_)) goto LA6;
2183 				i = res;
2184 				eh = n->data[i].Field0;
2185 				{
2186 					NIM_BOOL T9_;
2187 					NI j;
2188 					NI T12_;
2189 					NI T17_;
2190 					tyObject_TType__facALICuu8zUj0hjvbTLFg* T18_;
2191 					T9_ = (NIM_BOOL)0;
2192 					T9_ = isFilled__pureZcollectionsZtables_31(eh);
2193 					if (!T9_) goto LA10_;
2194 					T12_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
2195 					j = (NI)(eh & T12_);
2196 					{
2197 						while (1) {
2198 							NIM_BOOL T15_;
2199 							NI T16_;
2200 							T15_ = (NIM_BOOL)0;
2201 							T15_ = isFilled__pureZcollectionsZtables_31((*t).data->data[j].Field0);
2202 							if (!T15_) goto LA14;
2203 							T16_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
2204 							j = nextTry__pureZcollectionsZtables_34(j, T16_);
2205 						} LA14: ;
2206 					}
2207 					T17_ = (NI)0;
2208 					T17_ = n->data[i].Field1;
2209 					n->data[i].Field1 = 0;
2210 					T18_ = NIM_NIL;
2211 					T18_ = n->data[i].Field2;
2212 					asgnRef((void**) (&n->data[i].Field2), NIM_NIL);
2213 					rawInsert__lambdalifting_1517(t, (&(*t).data), T17_, T18_, eh, j);
2214 				}
2215 				LA10_: ;
2216 				res += ((NI) 1);
2217 			} LA6: ;
2218 		}
2219 	}
2220 }
N_INLINE(NI,rawGetKnownHC__lambdalifting_1686)2221 static N_INLINE(NI, rawGetKnownHC__lambdalifting_1686)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ t, NI key, NI hc) {
2222 	NI result;
2223 	NI h;
2224 	NI T6_;
2225 {	result = (NI)0;
2226 	{
2227 		NI T3_;
2228 		T3_ = (t.data ? t.data->Sup.len : 0);
2229 		if (!(T3_ == ((NI) 0))) goto LA4_;
2230 		result = ((NI) -1);
2231 		goto BeforeRet_;
2232 	}
2233 	LA4_: ;
2234 	T6_ = ((t.data ? t.data->Sup.len : 0)-1);
2235 	h = (NI)(hc & T6_);
2236 	{
2237 		while (1) {
2238 			NIM_BOOL T9_;
2239 			NI T16_;
2240 			T9_ = (NIM_BOOL)0;
2241 			T9_ = isFilled__pureZcollectionsZtables_31(t.data->data[h].Field0);
2242 			if (!T9_) goto LA8;
2243 			{
2244 				NIM_BOOL T12_;
2245 				T12_ = (NIM_BOOL)0;
2246 				T12_ = (t.data->data[h].Field0 == hc);
2247 				if (!(T12_)) goto LA13_;
2248 				T12_ = (t.data->data[h].Field1 == key);
2249 				LA13_: ;
2250 				if (!T12_) goto LA14_;
2251 				result = h;
2252 				goto BeforeRet_;
2253 			}
2254 			LA14_: ;
2255 			T16_ = ((t.data ? t.data->Sup.len : 0)-1);
2256 			h = nextTry__pureZcollectionsZtables_34(h, T16_);
2257 		} LA8: ;
2258 	}
2259 	result = (NI)(((NI) -1) - h);
2260 	}BeforeRet_: ;
2261 	return result;
2262 }
N_NIMCALL(void,X5BX5Deq___lambdalifting_891)2263 N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___lambdalifting_891)(tyObject_Table__8THwbvZjDjJdCh2k7PwMaQ* t, NI key, tyObject_TType__facALICuu8zUj0hjvbTLFg* val) {
2264 	NI hc;
2265 	NI index;
2266 	{
2267 		NI T3_;
2268 		NI correctSizeX60gensym61_;
2269 		T3_ = ((*t).data ? (*t).data->Sup.len : 0);
2270 		if (!(T3_ == ((NI) 0))) goto LA4_;
2271 		correctSizeX60gensym61_ = slotsNeeded__pureZcollectionsZtables_42(((NI) 32));
2272 		(*t).counter = ((NI) 0);
2273 		unsureAsgnRef((void**) (&(*t).data), (tySequence__KHtASjJ36dOrANNiImdvag*) newSeq((&NTIkeyvaluepairseq__KHtASjJ36dOrANNiImdvag_), ((NI) (correctSizeX60gensym61_))));
2274 	}
2275 	LA4_: ;
2276 	hc = (NI)0;
2277 	index = rawGet__lambdalifting_549((*t), key, (&hc));
2278 	{
2279 		if (!(((NI) 0) <= index)) goto LA8_;
2280 		asgnRef((void**) (&(*t).data->data[index].Field2), val);
2281 	}
2282 	goto LA6_;
2283 	LA8_: ;
2284 	{
2285 		{
2286 			NI T13_;
2287 			NI correctSizeX60gensym64_;
2288 			T13_ = ((*t).data ? (*t).data->Sup.len : 0);
2289 			if (!(T13_ == ((NI) 0))) goto LA14_;
2290 			correctSizeX60gensym64_ = slotsNeeded__pureZcollectionsZtables_42(((NI) 32));
2291 			(*t).counter = ((NI) 0);
2292 			unsureAsgnRef((void**) (&(*t).data), (tySequence__KHtASjJ36dOrANNiImdvag*) newSeq((&NTIkeyvaluepairseq__KHtASjJ36dOrANNiImdvag_), ((NI) (correctSizeX60gensym64_))));
2293 		}
2294 		LA14_: ;
2295 		{
2296 			NIM_BOOL T18_;
2297 			T18_ = (NIM_BOOL)0;
2298 			T18_ = mustRehash__lambdalifting_1064((*t));
2299 			if (!T18_) goto LA19_;
2300 			enlarge__lambdalifting_1217(t);
2301 			index = rawGetKnownHC__lambdalifting_1686((*t), key, hc);
2302 		}
2303 		LA19_: ;
2304 		index = (NI)(((NI) -1) - index);
2305 		rawInsert__lambdalifting_1517(t, (&(*t).data), key, val, hc, index);
2306 		(*t).counter += ((NI) 1);
2307 	}
2308 	LA6_: ;
2309 }
N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg *,getEnvTypeForOwner__lambdalifting_440)2310 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, getEnvTypeForOwner__lambdalifting_440)(tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* c, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {
2311 	tyObject_TType__facALICuu8zUj0hjvbTLFg* result;
2312 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym54_;
2313 	result = NIM_NIL;
2314 	xX60gensym54_ = owner;
2315 	result = getOrDefault__lambdalifting_540((*c).ownerToType, (NI)((NI)((NU32)(((NI) ((*xX60gensym54_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym54_).Sup.itemId.item))));
2316 	{
2317 		tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T5_;
2318 		tyObject_TType__facALICuu8zUj0hjvbTLFg* obj;
2319 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym59_;
2320 		if (!(result == 0)) goto LA3_;
2321 		T5_ = nextTypeId__ast_3151((*c).idgen);
2322 		result = newType__ast_3896(((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 22), T5_, owner);
2323 		obj = createEnvObj__lambdalifting_56((*c).graph, (*c).idgen, owner, info);
2324 		rawAddSon__ast_4288(result, obj, NIM_TRUE);
2325 		xX60gensym59_ = owner;
2326 		X5BX5Deq___lambdalifting_891((&(*c).ownerToType), (NI)((NI)((NU32)(((NI) ((*xX60gensym59_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym59_).Sup.itemId.item))), result);
2327 	}
2328 	LA3_: ;
2329 	return result;
2330 }
N_INLINE(NI,len__ast_3198)2331 static N_INLINE(NI, len__ast_3198)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
2332 	NI result;
2333 	NI T1_;
2334 	result = (NI)0;
2335 	T1_ = ((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0);
2336 	result = T1_;
2337 	return result;
2338 }
N_NIMCALL(void,addHiddenParam__lambdalifting_80)2339 N_LIB_PRIVATE N_NIMCALL(void, addHiddenParam__lambdalifting_80)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* routine, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* param) {
2340 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* params;
2341 	NI T1_;
2342 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T2_;
2343 	params = (*(*routine).ast)._kind_6.sons->data[((NI) 3)];
2344 	T1_ = (NI)0;
2345 	T1_ = len__ast_3198((*(*routine).typ).n);
2346 	(*param).position = (NI)(T1_ - ((NI) 1));
2347 	T2_ = NIM_NIL;
2348 	T2_ = newSymNode__ast_3716(param);
2349 	add__ast_4797(params, T2_);
2350 }
N_NIMCALL(void,addClosureParam__lambdalifting_1971)2351 N_LIB_PRIVATE N_NIMCALL(void, addClosureParam__lambdalifting_1971)(tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* c, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* fn, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {
2352 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* cp;
2353 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner;
2354 	tyObject_TType__facALICuu8zUj0hjvbTLFg* t;
2355 	cp = getEnvParam__lambdalifting_131(fn);
2356 	{
2357 		if (!((*fn).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15))) goto LA3_;
2358 		owner = fn;
2359 	}
2360 	goto LA1_;
2361 	LA3_: ;
2362 	{
2363 		owner = skipGenericOwner__ast_4658(fn);
2364 	}
2365 	LA1_: ;
2366 	t = getEnvTypeForOwner__lambdalifting_440(c, owner, info);
2367 	{
2368 		tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T10_;
2369 		tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T11_;
2370 		if (!(cp == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL))) goto LA8_;
2371 		T10_ = NIM_NIL;
2372 		T10_ = getIdent__idents_143((*(*c).graph).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_3));
2373 		T11_ = nextSymId__ast_3132((*c).idgen);
2374 		cp = newSym__ast_3445(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 3), T10_, T11_, fn, (*fn).info, 0);
2375 		(*cp).flags |= ((NU64)1)<<((((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 2)) & 63);
2376 		asgnRef((void**) (&(*cp).typ), t);
2377 		addHiddenParam__lambdalifting_80(fn, cp);
2378 	}
2379 	goto LA6_;
2380 	LA8_: ;
2381 	{
2382 		NIM_BOOL T13_;
2383 		T13_ = (NIM_BOOL)0;
2384 		T13_ = !(((*cp).typ == t));
2385 		if (!(T13_)) goto LA14_;
2386 		T13_ = !(((*fn).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15)));
2387 		LA14_: ;
2388 		if (!T13_) goto LA15_;
2389 		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);
2390 	}
2391 	goto LA6_;
2392 	LA15_: ;
2393 	LA6_: ;
2394 }
N_NIMCALL(NIM_BOOL,isInnerProc__lambdalifting_177)2395 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isInnerProc__lambdalifting_177)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s) {
2396 	NIM_BOOL result;
2397 	result = (NIM_BOOL)0;
2398 	{
2399 		NIM_BOOL T3_;
2400 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T7_;
2401 		T3_ = (NIM_BOOL)0;
2402 		T3_ = ((126976 &((NU32)1<<((NU)((*s).kind)&31U)))!=0);
2403 		if (!(T3_)) goto LA4_;
2404 		T3_ = ((*s).magic == ((tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg) 0));
2405 		LA4_: ;
2406 		if (!T3_) goto LA5_;
2407 		T7_ = NIM_NIL;
2408 		T7_ = skipGenericOwner__ast_4658(s);
2409 		result = ((520192 &((NU32)1<<((NU)((*T7_).kind)&31U)))!=0);
2410 	}
2411 	LA5_: ;
2412 	return result;
2413 }
N_INLINE(NIM_BOOL,interestingIterVar__lambdalifting_238)2414 static N_INLINE(NIM_BOOL, interestingIterVar__lambdalifting_238)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s) {
2415 	NIM_BOOL result;
2416 	NIM_BOOL T1_;
2417 	result = (NIM_BOOL)0;
2418 	T1_ = (NIM_BOOL)0;
2419 	T1_ = ((2100000 &((NU32)1<<((NU)((*s).kind)&31U)))!=0);
2420 	if (!(T1_)) goto LA2_;
2421 	T1_ = !((((*s).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 3))&63U)))!=0));
2422 	LA2_: ;
2423 	result = T1_;
2424 	return result;
2425 }
N_INLINE(void,nimCopyMem)2426 static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) {
2427 	void* T1_;
2428 	T1_ = (void*)0;
2429 	T1_ = memcpy(dest, source, ((size_t) (size)));
2430 }
N_INLINE(void,copyMem__system_1727)2431 static N_INLINE(void, copyMem__system_1727)(void* dest, void* source, NI size) {
2432 	nimCopyMem(dest, source, size);
2433 }
N_INLINE(void,appendString)2434 static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
2435 	{
2436 		if (!!((src == ((NimStringDesc*) NIM_NIL)))) goto LA3_;
2437 		copyMem__system_1727(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
2438 		(*dest).Sup.len += (*src).Sup.len;
2439 	}
2440 	LA3_: ;
2441 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,getHiddenParam__lambdalifting_106)2442 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, getHiddenParam__lambdalifting_106)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* routine) {
2443 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
2444 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* params;
2445 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* hidden;
2446 	result = NIM_NIL;
2447 	params = (*(*routine).ast)._kind_6.sons->data[((NI) 3)];
2448 	hidden = lastSon__ast_4832(params);
2449 	{
2450 		NIM_BOOL T3_;
2451 		NIM_BOOL T4_;
2452 		T3_ = (NIM_BOOL)0;
2453 		T4_ = (NIM_BOOL)0;
2454 		T4_ = ((*hidden).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
2455 		if (!(T4_)) goto LA5_;
2456 		T4_ = ((*(*hidden)._kind_4.sym).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 3));
2457 		LA5_: ;
2458 		T3_ = T4_;
2459 		if (!(T3_)) goto LA6_;
2460 		T3_ = eqStrings((*(*(*hidden)._kind_4.sym).name).s, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_3));
2461 		LA6_: ;
2462 		if (!T3_) goto LA7_;
2463 		result = (*hidden)._kind_4.sym;
2464 	}
2465 	goto LA1_;
2466 	LA7_: ;
2467 	{
2468 		NimStringDesc* T10_;
2469 		T10_ = NIM_NIL;
2470 		T10_ = rawNewString(((*(*routine).name).s ? (*(*routine).name).s->Sup.len : 0) + 45);
2471 appendString(T10_, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_8));
2472 appendString(T10_, (*(*routine).name).s);
2473 		liMessage__msgs_1118((*g).config, (*routine).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), T10_, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_9, NIM_FALSE);
2474 		result = routine;
2475 	}
2476 	LA1_: ;
2477 	return result;
2478 }
N_INLINE(NIM_BOOL,illegalCapture__lambdalifting_166)2479 static N_INLINE(NIM_BOOL, illegalCapture__lambdalifting_166)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s) {
2480 	NIM_BOOL result;
2481 	NIM_BOOL T1_;
2482 	tyEnum_ViewTypeKind__3S4FAWaxPP9ahVaUnMsznog T2_;
2483 	result = (NIM_BOOL)0;
2484 	T1_ = (NIM_BOOL)0;
2485 	T2_ = (tyEnum_ViewTypeKind__3S4FAWaxPP9ahVaUnMsznog)0;
2486 	T2_ = classifyViewType__typeallowed_564((*s).typ);
2487 	T1_ = !((T2_ == ((tyEnum_ViewTypeKind__3S4FAWaxPP9ahVaUnMsznog) 0)));
2488 	if (T1_) goto LA3_;
2489 	T1_ = ((*s).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 11));
2490 	LA3_: ;
2491 	result = T1_;
2492 	return result;
2493 }
N_NIMCALL(void,markAsClosure__lambdalifting_358)2494 N_LIB_PRIVATE N_NIMCALL(void, markAsClosure__lambdalifting_358)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
2495 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s;
2496 	s = (*n)._kind_4.sym;
2497 	{
2498 		NIM_BOOL T3_;
2499 		tyArray__24KAM9afIUgUaqBaEBB6r9bg T6_;
2500 		NimStringDesc* T7_;
2501 		T3_ = (NIM_BOOL)0;
2502 		T3_ = illegalCapture__lambdalifting_166(s);
2503 		if (!T3_) goto LA4_;
2504 		nimZeroMem((void*)T6_, sizeof(tyArray__24KAM9afIUgUaqBaEBB6r9bg));
2505 		T6_[0] = copyString((*(*s).name).s);
2506 		T6_[1] = typeToString__types_50((*s).typ, ((tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw) 0));
2507 		T6_[2] = dollar___msgs_624((*g).config, (*s).info);
2508 		T7_ = NIM_NIL;
2509 		T7_ = nsuFormatOpenArray(((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_11), T6_, 3);
2510 		liMessage__msgs_1118((*g).config, (*n).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), T7_, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_12, NIM_FALSE);
2511 	}
2512 	goto LA1_;
2513 	LA4_: ;
2514 	{
2515 		NIM_BOOL T9_;
2516 		NIM_BOOL T11_;
2517 		tyArray__24KAM9afIUgUaqBaEBB6r9bg T15_;
2518 		NimStringDesc* T16_;
2519 		T9_ = (NIM_BOOL)0;
2520 		T9_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
2521 		if (T9_) goto LA10_;
2522 		T11_ = (NIM_BOOL)0;
2523 		T11_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 0));
2524 		if (!(T11_)) goto LA12_;
2525 		T11_ = !((((*(*owner).typ).flags &((NU64)1<<((NU)(((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 42))&63U)))!=0));
2526 		LA12_: ;
2527 		T9_ = T11_;
2528 		LA10_: ;
2529 		if (!!(T9_)) goto LA13_;
2530 		nimZeroMem((void*)T15_, sizeof(tyArray__24KAM9afIUgUaqBaEBB6r9bg));
2531 		T15_[0] = copyString((*(*s).name).s);
2532 		T15_[1] = copyString((*(*owner).name).s);
2533 		T15_[2] = reprEnum((NI)(*(*owner).typ).callConv, (&NTItcallingconvention__yjAJ8w0h1PBaSwSGJ3P7IA_));
2534 		T16_ = NIM_NIL;
2535 		T16_ = nsuFormatOpenArray(((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_13), T15_, 3);
2536 		liMessage__msgs_1118((*g).config, (*n).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), T16_, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_14, NIM_FALSE);
2537 	}
2538 	goto LA1_;
2539 	LA13_: ;
2540 	LA1_: ;
2541 	(*(*owner).typ).flags |= ((NU64)1)<<((((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 12)) & 63);
2542 	(*(*owner).typ).callConv = ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9);
2543 }
N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg *,getEnvTypeForOwnerUp__lambdalifting_1942)2544 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, getEnvTypeForOwnerUp__lambdalifting_1942)(tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* c, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {
2545 	tyObject_TType__facALICuu8zUj0hjvbTLFg* result;
2546 	tyObject_TType__facALICuu8zUj0hjvbTLFg* r;
2547 	tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T1_;
2548 	tyObject_TType__facALICuu8zUj0hjvbTLFg* T2_;
2549 	result = NIM_NIL;
2550 	r = getEnvTypeForOwner__lambdalifting_440(c, owner, info);
2551 	T1_ = nextTypeId__ast_3151((*c).idgen);
2552 	result = newType__ast_3896(((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 21), T1_, owner);
2553 	T2_ = NIM_NIL;
2554 	T2_ = skipTypes__ast_3735(r, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
2555 	rawAddSon__ast_4288(result, T2_, NIM_TRUE);
2556 	return result;
2557 }
N_NIMCALL(void,createUpField__lambdalifting_1948)2558 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) {
2559 	tyObject_TType__facALICuu8zUj0hjvbTLFg* refObj;
2560 	tyObject_TType__facALICuu8zUj0hjvbTLFg* obj;
2561 	tyObject_TType__facALICuu8zUj0hjvbTLFg* fieldType;
2562 	tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* upIdent;
2563 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* upField;
2564 	refObj = getEnvTypeForOwner__lambdalifting_440(c, dest, info);
2565 	obj = skipTypes__ast_3735(refObj, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
2566 	{
2567 		NIM_BOOL T3_;
2568 		T3_ = (NIM_BOOL)0;
2569 		T3_ = isDefined__options_2279((*(*c).graph).config, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_15));
2570 		if (!T3_) goto LA4_;
2571 		fieldType = getEnvTypeForOwnerUp__lambdalifting_1942(c, dep, info);
2572 	}
2573 	goto LA1_;
2574 	LA4_: ;
2575 	{
2576 		fieldType = getEnvTypeForOwner__lambdalifting_440(c, dep, info);
2577 	}
2578 	LA1_: ;
2579 	{
2580 		if (!(refObj == fieldType)) goto LA9_;
2581 		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);
2582 	}
2583 	LA9_: ;
2584 	upIdent = getIdent__idents_143((*(*c).graph).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_18));
2585 	upField = lookupInRecord__astalgo_84((*obj).n, upIdent);
2586 	{
2587 		if (!!((upField == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)))) goto LA13_;
2588 		{
2589 			tyObject_TType__facALICuu8zUj0hjvbTLFg* T17_;
2590 			tyObject_TType__facALICuu8zUj0hjvbTLFg* T18_;
2591 			T17_ = NIM_NIL;
2592 			T17_ = skipTypes__ast_3735((*upField).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
2593 			T18_ = NIM_NIL;
2594 			T18_ = skipTypes__ast_3735(fieldType, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
2595 			if (!!((T17_ == T18_))) goto LA19_;
2596 			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);
2597 		}
2598 		LA19_: ;
2599 	}
2600 	goto LA11_;
2601 	LA13_: ;
2602 	{
2603 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
2604 		tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T22_;
2605 		T22_ = nextSymId__ast_3132((*c).idgen);
2606 		result = newSym__ast_3445(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19), upIdent, T22_, (*obj).owner, (*(*obj).owner).info, 0);
2607 		asgnRef((void**) (&(*result).typ), fieldType);
2608 		rawAddField__lowerings_309(obj, result);
2609 	}
2610 	LA11_: ;
2611 }
N_NIMCALL(void,detectCapturedVars__lambdalifting_1998)2612 N_LIB_PRIVATE N_NIMCALL(void, detectCapturedVars__lambdalifting_1998)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* c) {
2613 	switch ((*n).kind) {
2614 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3):
2615 	{
2616 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s;
2617 		NIM_BOOL innerProc;
2618 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* ow;
2619 		s = (*n)._kind_4.sym;
2620 		{
2621 			NIM_BOOL T4_;
2622 			NIM_BOOL T5_;
2623 			T4_ = (NIM_BOOL)0;
2624 			T5_ = (NIM_BOOL)0;
2625 			T5_ = ((126976 &((NU32)1<<((NU)((*s).kind)&31U)))!=0);
2626 			if (!(T5_)) goto LA6_;
2627 			T5_ = !(((*s).typ == ((tyObject_TType__facALICuu8zUj0hjvbTLFg*) NIM_NIL)));
2628 			LA6_: ;
2629 			T4_ = T5_;
2630 			if (!(T4_)) goto LA7_;
2631 			T4_ = ((*(*s).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
2632 			LA7_: ;
2633 			if (!T4_) goto LA8_;
2634 			addClosureParam__lambdalifting_1971(c, s, (*n).info);
2635 			(*c).somethingToDo = NIM_TRUE;
2636 		}
2637 		LA8_: ;
2638 		innerProc = isInnerProc__lambdalifting_177(s);
2639 		{
2640 			if (!innerProc) goto LA12_;
2641 			{
2642 				NIM_BOOL T16_;
2643 				T16_ = (NIM_BOOL)0;
2644 				T16_ = ((*s).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
2645 				if (!(T16_)) goto LA17_;
2646 				T16_ = ((*(*s).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
2647 				LA17_: ;
2648 				if (!T16_) goto LA18_;
2649 				(*c).somethingToDo = NIM_TRUE;
2650 			}
2651 			LA18_: ;
2652 			{
2653 				tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym88_;
2654 				NIM_BOOL T22_;
2655 				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* body;
2656 				xX60gensym88_ = s;
2657 				T22_ = (NIM_BOOL)0;
2658 				T22_ = containsOrIncl__astalgo_402((&(*c).processed), (NI)((NI)((NU32)(((NI) ((*xX60gensym88_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym88_).Sup.itemId.item))));
2659 				if (!!(T22_)) goto LA23_;
2660 				body = transformBody__transf_16((*c).graph, (*c).idgen, s, NIM_TRUE);
2661 				detectCapturedVars__lambdalifting_1998(body, s, c);
2662 			}
2663 			LA23_: ;
2664 		}
2665 		LA12_: ;
2666 		ow = skipGenericOwner__ast_4658(s);
2667 		{
2668 			if (!(ow == owner)) goto LA27_;
2669 			{
2670 				NIM_BOOL T31_;
2671 				T31_ = (NIM_BOOL)0;
2672 				T31_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
2673 				if (!(T31_)) goto LA32_;
2674 				T31_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
2675 				LA32_: ;
2676 				if (!T31_) goto LA33_;
2677 				(*c).somethingToDo = NIM_TRUE;
2678 				addClosureParam__lambdalifting_1971(c, owner, (*n).info);
2679 				{
2680 					NIM_BOOL T37_;
2681 					T37_ = (NIM_BOOL)0;
2682 					T37_ = interestingIterVar__lambdalifting_238(s);
2683 					if (!T37_) goto LA38_;
2684 					{
2685 						tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym90_;
2686 						NIM_BOOL T42_;
2687 						tyObject_TType__facALICuu8zUj0hjvbTLFg* obj;
2688 						tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T45_;
2689 						xX60gensym90_ = s;
2690 						T42_ = (NIM_BOOL)0;
2691 						T42_ = containsOrIncl__astalgo_402((&(*c).capturedVars), (NI)((NI)((NU32)(((NI) ((*xX60gensym90_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym90_).Sup.itemId.item))));
2692 						if (!!(T42_)) goto LA43_;
2693 						T45_ = NIM_NIL;
2694 						T45_ = getHiddenParam__lambdalifting_106((*c).graph, owner);
2695 						obj = skipTypes__ast_3735((*T45_).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
2696 						{
2697 							tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T48_;
2698 							tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T51_;
2699 							T48_ = NIM_NIL;
2700 							T48_ = getIdent__idents_143((*(*c).graph).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_4));
2701 							if (!((*(*s).name).id == (*T48_).id)) goto LA49_;
2702 							nimZeroMem((void*)(&T51_), sizeof(tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g));
2703 							T51_.module = (*s).Sup.itemId.module;
2704 							T51_.item = ((NI32)-((*s).Sup.itemId.item));
2705 							(*(*(*(*obj).n)._kind_6.sons->data[((NI) 0)])._kind_4.sym).Sup.itemId = T51_;
2706 						}
2707 						goto LA46_;
2708 						LA49_: ;
2709 						{
2710 							addField__lowerings_415(obj, s, (*(*c).graph).cache, (*c).idgen);
2711 						}
2712 						LA46_: ;
2713 					}
2714 					LA43_: ;
2715 				}
2716 				LA38_: ;
2717 			}
2718 			LA33_: ;
2719 		}
2720 		goto LA25_;
2721 		LA27_: ;
2722 		{
2723 			NIM_BOOL T54_;
2724 			NIM_BOOL T55_;
2725 			tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* w;
2726 			T54_ = (NIM_BOOL)0;
2727 			T55_ = (NIM_BOOL)0;
2728 			T55_ = innerProc;
2729 			if (!(T55_)) goto LA56_;
2730 			T55_ = ((*(*s).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
2731 			LA56_: ;
2732 			T54_ = T55_;
2733 			if (T54_) goto LA57_;
2734 			T54_ = interestingVar__lambdalifting_151(s);
2735 			LA57_: ;
2736 			if (!T54_) goto LA58_;
2737 			(*c).somethingToDo = NIM_TRUE;
2738 			markAsClosure__lambdalifting_358((*c).graph, owner, n);
2739 			addClosureParam__lambdalifting_1971(c, owner, (*n).info);
2740 			{
2741 				NIM_BOOL T62_;
2742 				tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym92_;
2743 				NIM_BOOL T64_;
2744 				tyObject_TType__facALICuu8zUj0hjvbTLFg* obj_2;
2745 				tyObject_TType__facALICuu8zUj0hjvbTLFg* T67_;
2746 				T62_ = (NIM_BOOL)0;
2747 				T62_ = interestingVar__lambdalifting_151(s);
2748 				if (!(T62_)) goto LA63_;
2749 				xX60gensym92_ = s;
2750 				T64_ = (NIM_BOOL)0;
2751 				T64_ = containsOrIncl__astalgo_402((&(*c).capturedVars), (NI)((NI)((NU32)(((NI) ((*xX60gensym92_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym92_).Sup.itemId.item))));
2752 				T62_ = !(T64_);
2753 				LA63_: ;
2754 				if (!T62_) goto LA65_;
2755 				T67_ = NIM_NIL;
2756 				T67_ = getEnvTypeForOwner__lambdalifting_440(c, ow, (*n).info);
2757 				obj_2 = skipTypes__ast_3735(T67_, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
2758 				addField__lowerings_415(obj_2, s, (*(*c).graph).cache, (*c).idgen);
2759 			}
2760 			LA65_: ;
2761 			w = skipGenericOwner__ast_4658(owner);
2762 			{
2763 				NIM_BOOL T70_;
2764 				NIM_BOOL T72_;
2765 				tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* last;
2766 				T70_ = (NIM_BOOL)0;
2767 				T70_ = isInnerProc__lambdalifting_177(w);
2768 				if (T70_) goto LA71_;
2769 				T72_ = (NIM_BOOL)0;
2770 				T72_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
2771 				if (!(T72_)) goto LA73_;
2772 				T72_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
2773 				LA73_: ;
2774 				T70_ = T72_;
2775 				LA71_: ;
2776 				if (!T70_) goto LA74_;
2777 				{
2778 					NIM_BOOL T78_;
2779 					T78_ = (NIM_BOOL)0;
2780 					T78_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
2781 					if (!(T78_)) goto LA79_;
2782 					T78_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
2783 					LA79_: ;
2784 					if (!T78_) goto LA80_;
2785 					w = owner;
2786 				}
2787 				LA80_: ;
2788 				{
2789 					NIM_BOOL T84_;
2790 					T84_ = (NIM_BOOL)0;
2791 					T84_ = ((*ow).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
2792 					if (!(T84_)) goto LA85_;
2793 					T84_ = ((*(*ow).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
2794 					LA85_: ;
2795 					if (!T84_) goto LA86_;
2796 					last = skipGenericOwner__ast_4658(ow);
2797 				}
2798 				goto LA82_;
2799 				LA86_: ;
2800 				{
2801 					last = ow;
2802 				}
2803 				LA82_: ;
2804 				{
2805 					while (1) {
2806 						NIM_BOOL T91_;
2807 						NIM_BOOL T92_;
2808 						tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* up;
2809 						T91_ = (NIM_BOOL)0;
2810 						T92_ = (NIM_BOOL)0;
2811 						T92_ = !((w == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)));
2812 						if (!(T92_)) goto LA93_;
2813 						T92_ = !(((*w).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6)));
2814 						LA93_: ;
2815 						T91_ = T92_;
2816 						if (!(T91_)) goto LA94_;
2817 						T91_ = !((last == w));
2818 						LA94_: ;
2819 						if (!T91_) goto LA90;
2820 						up = skipGenericOwner__ast_4658(w);
2821 						markAsClosure__lambdalifting_358((*c).graph, w, n);
2822 						addClosureParam__lambdalifting_1971(c, w, (*n).info);
2823 						createUpField__lambdalifting_1948(c, w, up, (*n).info);
2824 						w = up;
2825 					} LA90: ;
2826 				}
2827 			}
2828 			LA74_: ;
2829 		}
2830 		goto LA25_;
2831 		LA58_: ;
2832 		LA25_: ;
2833 	}
2834 	break;
2835 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 2):
2836 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 4) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23):
2837 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 83):
2838 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 98):
2839 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 79):
2840 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 80):
2841 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 81):
2842 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 82):
2843 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 159):
2844 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 125):
2845 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 132):
2846 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 123):
2847 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 122):
2848 	{
2849 	}
2850 	break;
2851 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 51) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 52):
2852 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 84):
2853 	{
2854 		{
2855 			if (!!(((*n).typ == ((tyObject_TType__facALICuu8zUj0hjvbTLFg*) NIM_NIL)))) goto LA99_;
2856 			detectCapturedVars__lambdalifting_1998((*n)._kind_6.sons->data[((NI) 0)], owner, c);
2857 		}
2858 		LA99_: ;
2859 	}
2860 	break;
2861 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 109):
2862 	{
2863 		detectCapturedVars__lambdalifting_1998((*n)._kind_6.sons->data[((NI) 0)], owner, c);
2864 	}
2865 	break;
2866 	default:
2867 	{
2868 		{
2869 			NI i;
2870 			NI colontmp_;
2871 			NI i_2;
2872 			i = (NI)0;
2873 			colontmp_ = (NI)0;
2874 			colontmp_ = len__ast_3198(n);
2875 			i_2 = ((NI) 0);
2876 			{
2877 				while (1) {
2878 					if (!(i_2 < colontmp_)) goto LA105;
2879 					i = i_2;
2880 					detectCapturedVars__lambdalifting_1998((*n)._kind_6.sons->data[i], owner, c);
2881 					i_2 += ((NI) 1);
2882 				} LA105: ;
2883 			}
2884 		}
2885 	}
2886 	break;
2887 	}
2888 }
N_NIMCALL(void,Marker_tySequence__YuKuU17u5ApAIki23DK9bJw)2889 static N_NIMCALL(void, Marker_tySequence__YuKuU17u5ApAIki23DK9bJw)(void* p, NI op) {
2890 	tySequence__YuKuU17u5ApAIki23DK9bJw* a;
2891 	NI T1_;
2892 	a = (tySequence__YuKuU17u5ApAIki23DK9bJw*)p;
2893 	T1_ = (NI)0;
2894 	for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
2895 	nimGCvisit((void*)a->data[T1_].Field2, op);
2896 	}
2897 }
N_NIMCALL(void,initTable__lambdalifting_2164)2898 N_LIB_PRIVATE N_NIMCALL(void, initTable__lambdalifting_2164)(NI initialSize, tyObject_Table__JrI9bTpOVccKpiJXKOskjFg* Result) {
2899 	NI correctSizeX60gensym104_;
2900 	unsureAsgnRef((void**)&(*Result).data, NIM_NIL);
2901 	(*Result).counter = 0;
2902 	correctSizeX60gensym104_ = slotsNeeded__pureZcollectionsZtables_42(((NI) (initialSize)));
2903 	(*Result).counter = ((NI) 0);
2904 	unsureAsgnRef((void**) (&(*Result).data), (tySequence__YuKuU17u5ApAIki23DK9bJw*) newSeq((&NTIkeyvaluepairseq__YuKuU17u5ApAIki23DK9bJw_), ((NI) (correctSizeX60gensym104_))));
2905 }
N_NIMCALL(void,initLiftingPass__lambdalifting_2151)2906 N_LIB_PRIVATE N_NIMCALL(void, initLiftingPass__lambdalifting_2151)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* fn, tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw* Result) {
2907 	NI T1_;
2908 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym103_;
2909 	(*Result).processed.elems = 0;
2910 	(*Result).processed.counter = 0;
2911 	(*Result).processed.max = 0;
2912 	unsureAsgnRef((void**)&(*Result).processed.head, NIM_NIL);
2913 	unsureAsgnRef((void**)&(*Result).processed.data, NIM_NIL);
2914 	T1_ = (NI)0;
2915 	for (T1_ = 0; T1_ < 34; T1_++) {
2916 	(*Result).processed.a[T1_] = 0;
2917 	}
2918 	unsureAsgnRef((void**)&(*Result).envVars.data, NIM_NIL);
2919 	(*Result).envVars.counter = 0;
2920 	(*Result).inContainer = 0;
2921 	unsureAsgnRef((void**)&(*Result).unownedEnvVars.data, NIM_NIL);
2922 	(*Result).unownedEnvVars.counter = 0;
2923 	initIntSet__pureZcollectionsZintsets_238((&(*Result).processed));
2924 	xX60gensym103_ = fn;
2925 	incl__pureZcollectionsZintsets_55((&(*Result).processed), (NI)((NI)((NU32)(((NI) ((*xX60gensym103_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym103_).Sup.itemId.item))));
2926 	initTable__lambdalifting_2164(((NI) 32), (&(*Result).envVars));
2927 }
N_INLINE(NI,rawGet__lambdalifting_2349)2928 static N_INLINE(NI, rawGet__lambdalifting_2349)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg t, NI key, NI* hc) {
2929 	NI result;
2930 	NI h;
2931 	NI T10_;
2932 {	result = (NI)0;
2933 	(*hc) = hash__pureZhashes_128(key);
2934 	{
2935 		if (!((*hc) == ((NI) 0))) goto LA3_;
2936 		(*hc) = ((NI) 314159265);
2937 	}
2938 	LA3_: ;
2939 	{
2940 		NI T7_;
2941 		T7_ = (t.data ? t.data->Sup.len : 0);
2942 		if (!(T7_ == ((NI) 0))) goto LA8_;
2943 		result = ((NI) -1);
2944 		goto BeforeRet_;
2945 	}
2946 	LA8_: ;
2947 	T10_ = ((t.data ? t.data->Sup.len : 0)-1);
2948 	h = (NI)((*hc) & T10_);
2949 	{
2950 		while (1) {
2951 			NIM_BOOL T13_;
2952 			NI T20_;
2953 			T13_ = (NIM_BOOL)0;
2954 			T13_ = isFilled__pureZcollectionsZtables_31(t.data->data[h].Field0);
2955 			if (!T13_) goto LA12;
2956 			{
2957 				NIM_BOOL T16_;
2958 				T16_ = (NIM_BOOL)0;
2959 				T16_ = (t.data->data[h].Field0 == (*hc));
2960 				if (!(T16_)) goto LA17_;
2961 				T16_ = (t.data->data[h].Field1 == key);
2962 				LA17_: ;
2963 				if (!T16_) goto LA18_;
2964 				result = h;
2965 				goto BeforeRet_;
2966 			}
2967 			LA18_: ;
2968 			T20_ = ((t.data ? t.data->Sup.len : 0)-1);
2969 			h = nextTry__pureZcollectionsZtables_34(h, T20_);
2970 		} LA12: ;
2971 	}
2972 	result = (NI)(((NI) -1) - h);
2973 	}BeforeRet_: ;
2974 	return result;
2975 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,getOrDefault__lambdalifting_2340)2976 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, getOrDefault__lambdalifting_2340)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg t, NI key) {
2977 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
2978 	NI hcX60gensym114_;
2979 	NI indexX60gensym114_;
2980 	result = NIM_NIL;
2981 	hcX60gensym114_ = (NI)0;
2982 	indexX60gensym114_ = rawGet__lambdalifting_2349(t, key, (&hcX60gensym114_));
2983 	{
2984 		if (!(((NI) 0) <= indexX60gensym114_)) goto LA3_;
2985 		result = t.data->data[indexX60gensym114_].Field2;
2986 	}
2987 	LA3_: ;
2988 	return result;
2989 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,newEnvVar__lambdalifting_2223)2990 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) {
2991 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
2992 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* v;
2993 	tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T1_;
2994 	tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T2_;
2995 	result = NIM_NIL;
2996 	T1_ = NIM_NIL;
2997 	T1_ = getIdent__idents_143(cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_24));
2998 	T2_ = nextSymId__ast_3132(idgen);
2999 	v = newSym__ast_3445(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 8), T1_, T2_, owner, info, 0);
3000 	(*v).flags = IL64(549789368320);
3001 	asgnRef((void**) (&(*v).typ), typ);
3002 	result = newSymNode__ast_3716(v);
3003 	return result;
3004 }
N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg *,asOwnedRef__lambdalifting_1923)3005 N_LIB_PRIVATE N_NIMCALL(tyObject_TType__facALICuu8zUj0hjvbTLFg*, asOwnedRef__lambdalifting_1923)(tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* c, tyObject_TType__facALICuu8zUj0hjvbTLFg* t) {
3006 	tyObject_TType__facALICuu8zUj0hjvbTLFg* result;
3007 	result = NIM_NIL;
3008 	{
3009 		tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T5_;
3010 		if (!(((*(*(*c).graph).config).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 42))&63U)))!=0)) goto LA3_;
3011 		T5_ = nextTypeId__ast_3151((*c).idgen);
3012 		result = newType__ast_3896(((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 45), T5_, (*t).owner);
3013 		(*result).flags |= ((NU64)1)<<((((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 4)) & 63);
3014 		rawAddSon__ast_4288(result, t, NIM_TRUE);
3015 	}
3016 	goto LA1_;
3017 	LA3_: ;
3018 	{
3019 		result = t;
3020 	}
3021 	LA1_: ;
3022 	return result;
3023 }
N_INLINE(NIM_BOOL,mustRehash__lambdalifting_2967)3024 static N_INLINE(NIM_BOOL, mustRehash__lambdalifting_2967)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg t) {
3025 	NIM_BOOL result;
3026 	NIM_BOOL T1_;
3027 	NI T2_;
3028 	NI T4_;
3029 	result = (NIM_BOOL)0;
3030 	T1_ = (NIM_BOOL)0;
3031 	T2_ = (t.data ? t.data->Sup.len : 0);
3032 	T1_ = ((NI)(T2_ * ((NI) 2)) < (NI)(t.counter * ((NI) 3)));
3033 	if (T1_) goto LA3_;
3034 	T4_ = (t.data ? t.data->Sup.len : 0);
3035 	T1_ = ((NI)(T4_ - t.counter) < ((NI) 4));
3036 	LA3_: ;
3037 	result = T1_;
3038 	return result;
3039 }
N_NIMCALL(void,rawInsert__lambdalifting_3424)3040 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) {
3041 	(*data)->data[h].Field1 = key;
3042 	asgnRef((void**) (&(*data)->data[h].Field2), val);
3043 	(*data)->data[h].Field0 = hc;
3044 }
N_NIMCALL(void,enlarge__lambdalifting_3120)3045 N_LIB_PRIVATE N_NIMCALL(void, enlarge__lambdalifting_3120)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg* t) {
3046 	tySequence__YuKuU17u5ApAIki23DK9bJw* n;
3047 	NI T1_;
3048 	tySequence__YuKuU17u5ApAIki23DK9bJw* T2_;
3049 	n = NIM_NIL;
3050 	T1_ = ((*t).data ? (*t).data->Sup.len : 0);
3051 	n = (tySequence__YuKuU17u5ApAIki23DK9bJw*) newSeq((&NTIkeyvaluepairseq__YuKuU17u5ApAIki23DK9bJw_), ((NI) ((NI)(T1_ * ((NI) 2)))));
3052 	T2_ = NIM_NIL;
3053 	T2_ = (*t).data;
3054 	unsureAsgnRef((void**) (&(*t).data), n);
3055 	n = T2_;
3056 	{
3057 		NI i;
3058 		NI colontmp_;
3059 		NI T4_;
3060 		NI res;
3061 		i = (NI)0;
3062 		colontmp_ = (NI)0;
3063 		T4_ = ((n ? n->Sup.len : 0)-1);
3064 		colontmp_ = T4_;
3065 		res = ((NI) 0);
3066 		{
3067 			while (1) {
3068 				NI eh;
3069 				if (!(res <= colontmp_)) goto LA6;
3070 				i = res;
3071 				eh = n->data[i].Field0;
3072 				{
3073 					NIM_BOOL T9_;
3074 					NI j;
3075 					NI T12_;
3076 					NI T17_;
3077 					tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T18_;
3078 					T9_ = (NIM_BOOL)0;
3079 					T9_ = isFilled__pureZcollectionsZtables_31(eh);
3080 					if (!T9_) goto LA10_;
3081 					T12_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
3082 					j = (NI)(eh & T12_);
3083 					{
3084 						while (1) {
3085 							NIM_BOOL T15_;
3086 							NI T16_;
3087 							T15_ = (NIM_BOOL)0;
3088 							T15_ = isFilled__pureZcollectionsZtables_31((*t).data->data[j].Field0);
3089 							if (!T15_) goto LA14;
3090 							T16_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
3091 							j = nextTry__pureZcollectionsZtables_34(j, T16_);
3092 						} LA14: ;
3093 					}
3094 					T17_ = (NI)0;
3095 					T17_ = n->data[i].Field1;
3096 					n->data[i].Field1 = 0;
3097 					T18_ = NIM_NIL;
3098 					T18_ = n->data[i].Field2;
3099 					asgnRef((void**) (&n->data[i].Field2), NIM_NIL);
3100 					rawInsert__lambdalifting_3424(t, (&(*t).data), T17_, T18_, eh, j);
3101 				}
3102 				LA10_: ;
3103 				res += ((NI) 1);
3104 			} LA6: ;
3105 		}
3106 	}
3107 }
N_INLINE(NI,rawGetKnownHC__lambdalifting_3593)3108 static N_INLINE(NI, rawGetKnownHC__lambdalifting_3593)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg t, NI key, NI hc) {
3109 	NI result;
3110 	NI h;
3111 	NI T6_;
3112 {	result = (NI)0;
3113 	{
3114 		NI T3_;
3115 		T3_ = (t.data ? t.data->Sup.len : 0);
3116 		if (!(T3_ == ((NI) 0))) goto LA4_;
3117 		result = ((NI) -1);
3118 		goto BeforeRet_;
3119 	}
3120 	LA4_: ;
3121 	T6_ = ((t.data ? t.data->Sup.len : 0)-1);
3122 	h = (NI)(hc & T6_);
3123 	{
3124 		while (1) {
3125 			NIM_BOOL T9_;
3126 			NI T16_;
3127 			T9_ = (NIM_BOOL)0;
3128 			T9_ = isFilled__pureZcollectionsZtables_31(t.data->data[h].Field0);
3129 			if (!T9_) goto LA8;
3130 			{
3131 				NIM_BOOL T12_;
3132 				T12_ = (NIM_BOOL)0;
3133 				T12_ = (t.data->data[h].Field0 == hc);
3134 				if (!(T12_)) goto LA13_;
3135 				T12_ = (t.data->data[h].Field1 == key);
3136 				LA13_: ;
3137 				if (!T12_) goto LA14_;
3138 				result = h;
3139 				goto BeforeRet_;
3140 			}
3141 			LA14_: ;
3142 			T16_ = ((t.data ? t.data->Sup.len : 0)-1);
3143 			h = nextTry__pureZcollectionsZtables_34(h, T16_);
3144 		} LA8: ;
3145 	}
3146 	result = (NI)(((NI) -1) - h);
3147 	}BeforeRet_: ;
3148 	return result;
3149 }
N_NIMCALL(void,X5BX5Deq___lambdalifting_2794)3150 N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___lambdalifting_2794)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg* t, NI key, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* val) {
3151 	NI hc;
3152 	NI index;
3153 	{
3154 		NI T3_;
3155 		NI correctSizeX60gensym123_;
3156 		T3_ = ((*t).data ? (*t).data->Sup.len : 0);
3157 		if (!(T3_ == ((NI) 0))) goto LA4_;
3158 		correctSizeX60gensym123_ = slotsNeeded__pureZcollectionsZtables_42(((NI) 32));
3159 		(*t).counter = ((NI) 0);
3160 		unsureAsgnRef((void**) (&(*t).data), (tySequence__YuKuU17u5ApAIki23DK9bJw*) newSeq((&NTIkeyvaluepairseq__YuKuU17u5ApAIki23DK9bJw_), ((NI) (correctSizeX60gensym123_))));
3161 	}
3162 	LA4_: ;
3163 	hc = (NI)0;
3164 	index = rawGet__lambdalifting_2349((*t), key, (&hc));
3165 	{
3166 		if (!(((NI) 0) <= index)) goto LA8_;
3167 		asgnRef((void**) (&(*t).data->data[index].Field2), val);
3168 	}
3169 	goto LA6_;
3170 	LA8_: ;
3171 	{
3172 		{
3173 			NI T13_;
3174 			NI correctSizeX60gensym126_;
3175 			T13_ = ((*t).data ? (*t).data->Sup.len : 0);
3176 			if (!(T13_ == ((NI) 0))) goto LA14_;
3177 			correctSizeX60gensym126_ = slotsNeeded__pureZcollectionsZtables_42(((NI) 32));
3178 			(*t).counter = ((NI) 0);
3179 			unsureAsgnRef((void**) (&(*t).data), (tySequence__YuKuU17u5ApAIki23DK9bJw*) newSeq((&NTIkeyvaluepairseq__YuKuU17u5ApAIki23DK9bJw_), ((NI) (correctSizeX60gensym126_))));
3180 		}
3181 		LA14_: ;
3182 		{
3183 			NIM_BOOL T18_;
3184 			T18_ = (NIM_BOOL)0;
3185 			T18_ = mustRehash__lambdalifting_2967((*t));
3186 			if (!T18_) goto LA19_;
3187 			enlarge__lambdalifting_3120(t);
3188 			index = rawGetKnownHC__lambdalifting_3593((*t), key, hc);
3189 		}
3190 		LA19_: ;
3191 		index = (NI)(((NI) -1) - index);
3192 		rawInsert__lambdalifting_3424(t, (&(*t).data), key, val, hc, index);
3193 		(*t).counter += ((NI) 1);
3194 	}
3195 	LA6_: ;
3196 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,setupEnvVar__lambdalifting_2231)3197 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) {
3198 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3199 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym113_;
3200 {	result = NIM_NIL;
3201 	{
3202 		NIM_BOOL T3_;
3203 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T7_;
3204 		T3_ = (NIM_BOOL)0;
3205 		T3_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
3206 		if (!(T3_)) goto LA4_;
3207 		T3_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
3208 		LA4_: ;
3209 		if (!T3_) goto LA5_;
3210 		T7_ = NIM_NIL;
3211 		T7_ = getHiddenParam__lambdalifting_106((*d).graph, owner);
3212 		result = newSymNode__ast_3716(T7_);
3213 		goto BeforeRet_;
3214 	}
3215 	LA5_: ;
3216 	xX60gensym113_ = owner;
3217 	result = getOrDefault__lambdalifting_2340((*c).envVars, (NI)((NI)((NU32)(((NI) ((*xX60gensym113_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym113_).Sup.itemId.item))));
3218 	{
3219 		tyObject_TType__facALICuu8zUj0hjvbTLFg* envVarType;
3220 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym118_;
3221 		tyObject_TType__facALICuu8zUj0hjvbTLFg* T16_;
3222 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym121_;
3223 		if (!(result == 0)) goto LA10_;
3224 		xX60gensym118_ = owner;
3225 		envVarType = getOrDefault__lambdalifting_540((*d).ownerToType, (NI)((NI)((NU32)(((NI) ((*xX60gensym118_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym118_).Sup.itemId.item))));
3226 		{
3227 			if (!(envVarType == 0)) goto LA14_;
3228 			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);
3229 		}
3230 		LA14_: ;
3231 		T16_ = NIM_NIL;
3232 		T16_ = asOwnedRef__lambdalifting_1923(d, envVarType);
3233 		result = newEnvVar__lambdalifting_2223((*(*d).graph).cache, owner, T16_, info, (*d).idgen);
3234 		xX60gensym121_ = owner;
3235 		X5BX5Deq___lambdalifting_2794((&(*c).envVars), (NI)((NI)((NU32)(((NI) ((*xX60gensym121_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym121_).Sup.itemId.item))), result);
3236 		{
3237 			tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* v;
3238 			tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T21_;
3239 			tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T22_;
3240 			tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym135_;
3241 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T23_;
3242 			if (!(((*(*(*d).graph).config).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 42))&63U)))!=0)) goto LA19_;
3243 			T21_ = NIM_NIL;
3244 			T21_ = getIdent__idents_143((*(*d).graph).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_25));
3245 			T22_ = nextSymId__ast_3132((*d).idgen);
3246 			v = newSym__ast_3445(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 8), T21_, T22_, owner, info, 0);
3247 			(*v).flags = IL64(549789368320);
3248 			asgnRef((void**) (&(*v).typ), envVarType);
3249 			xX60gensym135_ = owner;
3250 			T23_ = NIM_NIL;
3251 			T23_ = newSymNode__ast_3716(v);
3252 			X5BX5Deq___lambdalifting_2794((&(*c).unownedEnvVars), (NI)((NI)((NU32)(((NI) ((*xX60gensym135_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym135_).Sup.itemId.item))), T23_);
3253 		}
3254 		LA19_: ;
3255 	}
3256 	LA10_: ;
3257 	}BeforeRet_: ;
3258 	return result;
3259 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw **,X5BX5D___lambdalifting_4026)3260 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw**, X5BX5D___lambdalifting_4026)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg* t, NI key) {
3261 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw** result;
3262 	NI hcX60gensym22_;
3263 	NI indexX60gensym22_;
3264 	result = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw**)0;
3265 	hcX60gensym22_ = (NI)0;
3266 	indexX60gensym22_ = rawGet__lambdalifting_2349((*t), key, (&hcX60gensym22_));
3267 	{
3268 		if (!(((NI) 0) <= indexX60gensym22_)) goto LA3_;
3269 		result = &(*t).data->data[indexX60gensym22_].Field2;
3270 	}
3271 	goto LA1_;
3272 	LA3_: ;
3273 	{
3274 		raiseKeyError__ast_1357(key);
3275 	}
3276 	LA1_: ;
3277 	return result;
3278 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,newCall__lambdalifting_21)3279 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newCall__lambdalifting_21)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* a, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* b) {
3280 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3281 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T1_;
3282 	result = NIM_NIL;
3283 	result = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 27), (*a).info);
3284 	T1_ = NIM_NIL;
3285 	T1_ = newSymNode__ast_3716(a);
3286 	add__ast_4797(result, T1_);
3287 	add__ast_4797(result, b);
3288 	return result;
3289 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,newAsgnStmt__lambdalifting_192)3290 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newAsgnStmt__lambdalifting_192)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* le, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ri, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {
3291 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3292 	result = NIM_NIL;
3293 	result = newNodeI__ast_3360(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 73), info, ((NI) 2));
3294 	asgnRef((void**) (&(*result)._kind_6.sons->data[((NI) 0)]), le);
3295 	asgnRef((void**) (&(*result)._kind_6.sons->data[((NI) 1)]), ri);
3296 	return result;
3297 }
N_NIMCALL(void,createTypeBoundOpsLL__lambdalifting_268)3298 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) {
3299 	{
3300 		tyObject_TType__facALICuu8zUj0hjvbTLFg* T5_;
3301 		if (!!(((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 17)))) goto LA3_;
3302 		T5_ = NIM_NIL;
3303 		T5_ = lastSon__ast_3743(refType);
3304 		createTypeBoundOps__liftdestructors_47(g, ((tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug*) NIM_NIL), T5_, info, idgen);
3305 		createTypeBoundOps__liftdestructors_47(g, ((tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug*) NIM_NIL), refType, info, idgen);
3306 		{
3307 			NIM_BOOL T8_;
3308 			T8_ = (NIM_BOOL)0;
3309 			T8_ = (((*refType).flags &((NU64)1<<((NU)(((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 31))&63U)))!=0);
3310 			if (T8_) goto LA9_;
3311 			T8_ = (((*(*g).config).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 40))&63U)))!=0);
3312 			LA9_: ;
3313 			if (!T8_) goto LA10_;
3314 			(*owner).flags |= ((NU64)1)<<((((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 42)) & 63);
3315 		}
3316 		LA10_: ;
3317 	}
3318 	LA3_: ;
3319 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,getUpViaParam__lambdalifting_3892)3320 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, getUpViaParam__lambdalifting_3892)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner) {
3321 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3322 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* p;
3323 	result = NIM_NIL;
3324 	p = getHiddenParam__lambdalifting_106(g, owner);
3325 	result = newSymNode__ast_3716(p);
3326 	{
3327 		NIM_BOOL T3_;
3328 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* upField;
3329 		tyObject_TType__facALICuu8zUj0hjvbTLFg* T7_;
3330 		tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T8_;
3331 		T3_ = (NIM_BOOL)0;
3332 		T3_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
3333 		if (!(T3_)) goto LA4_;
3334 		T3_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
3335 		LA4_: ;
3336 		if (!T3_) goto LA5_;
3337 		T7_ = NIM_NIL;
3338 		T7_ = skipTypes__ast_3735((*p).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
3339 		T8_ = NIM_NIL;
3340 		T8_ = getIdent__idents_143((*g).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_18));
3341 		upField = lookupInRecord__astalgo_84((*T7_).n, T8_);
3342 		{
3343 			if (!(upField == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL))) goto LA11_;
3344 			liMessage__msgs_1118((*g).config, (*owner).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_27), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_28, NIM_FALSE);
3345 		}
3346 		goto LA9_;
3347 		LA11_: ;
3348 		{
3349 			result = rawIndirectAccess__lowerings_326(result, upField, (*p).info);
3350 		}
3351 		LA9_: ;
3352 	}
3353 	LA5_: ;
3354 	return result;
3355 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,rawClosureCreation__lambdalifting_3910)3356 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) {
3357 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3358 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* env;
3359 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* upField;
3360 	tyObject_TType__facALICuu8zUj0hjvbTLFg* T46_;
3361 	tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T47_;
3362 	result = NIM_NIL;
3363 	result = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115), (*owner).info);
3364 	env = NIM_NIL;
3365 	{
3366 		NIM_BOOL T3_;
3367 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T7_;
3368 		T3_ = (NIM_BOOL)0;
3369 		T3_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
3370 		if (!(T3_)) goto LA4_;
3371 		T3_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
3372 		LA4_: ;
3373 		if (!T3_) goto LA5_;
3374 		T7_ = NIM_NIL;
3375 		T7_ = getHiddenParam__lambdalifting_106((*d).graph, owner);
3376 		env = newSymNode__ast_3716(T7_);
3377 	}
3378 	goto LA1_;
3379 	LA5_: ;
3380 	{
3381 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T18_;
3382 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T19_;
3383 		env = setupEnvVar__lambdalifting_2231(owner, d, c, info);
3384 		{
3385 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* v;
3386 			if (!((*env).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3))) goto LA11_;
3387 			v = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 99), (*env).info);
3388 			addVar__lowerings_63(v, env);
3389 			add__ast_4797(result, v);
3390 			{
3391 				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* unowned;
3392 				tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym141_;
3393 				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw** T17_;
3394 				if (!(((*(*(*d).graph).config).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 42))&63U)))!=0)) goto LA15_;
3395 				xX60gensym141_ = owner;
3396 				T17_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw**)0;
3397 				T17_ = X5BX5D___lambdalifting_4026((&(*c).unownedEnvVars), (NI)((NI)((NU32)(((NI) ((*xX60gensym141_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym141_).Sup.itemId.item))));
3398 				unowned = (*T17_);
3399 				addVar__lowerings_63(v, unowned);
3400 			}
3401 			LA15_: ;
3402 		}
3403 		LA11_: ;
3404 		T18_ = NIM_NIL;
3405 		T18_ = getSysSym__magicsys_16((*d).graph, (*env).info, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_26));
3406 		T19_ = NIM_NIL;
3407 		T19_ = newCall__lambdalifting_21(T18_, env);
3408 		add__ast_4797(result, T19_);
3409 		{
3410 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* unowned_2;
3411 			tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym146_;
3412 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw** T24_;
3413 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* env2;
3414 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T25_;
3415 			if (!(((*(*(*d).graph).config).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 42))&63U)))!=0)) goto LA22_;
3416 			xX60gensym146_ = owner;
3417 			T24_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw**)0;
3418 			T24_ = X5BX5D___lambdalifting_4026((&(*c).unownedEnvVars), (NI)((NI)((NU32)(((NI) ((*xX60gensym146_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym146_).Sup.itemId.item))));
3419 			unowned_2 = (*T24_);
3420 			env2 = copyTree__ast_4431(env);
3421 			asgnRef((void**) (&(*env2).typ), (*unowned_2).typ);
3422 			T25_ = NIM_NIL;
3423 			T25_ = newAsgnStmt__lambdalifting_192(unowned_2, env2, (*env).info);
3424 			add__ast_4797(result, T25_);
3425 			createTypeBoundOpsLL__lambdalifting_268((*d).graph, (*unowned_2).typ, (*env).info, (*d).idgen, owner);
3426 		}
3427 		LA22_: ;
3428 		{
3429 			NI i;
3430 			NI colontmp_;
3431 			NI i_2;
3432 			i = (NI)0;
3433 			colontmp_ = (NI)0;
3434 			colontmp_ = len__ast_3198((*(*owner).typ).n);
3435 			i_2 = ((NI) 1);
3436 			{
3437 				while (1) {
3438 					tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* local;
3439 					if (!(i_2 < colontmp_)) goto LA28;
3440 					i = i_2;
3441 					local = (*(*(*(*owner).typ).n)._kind_6.sons->data[i])._kind_4.sym;
3442 					{
3443 						tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym152_;
3444 						NIM_BOOL T31_;
3445 						tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* fieldAccess;
3446 						tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T34_;
3447 						tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T35_;
3448 						xX60gensym152_ = local;
3449 						T31_ = (NIM_BOOL)0;
3450 						T31_ = contains__astalgo_3496((&(*d).capturedVars), (NI)((NI)((NU32)(((NI) ((*xX60gensym152_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym152_).Sup.itemId.item))));
3451 						if (!T31_) goto LA32_;
3452 						fieldAccess = indirectAccess__lowerings_610(env, local, (*env).info);
3453 						T34_ = NIM_NIL;
3454 						T34_ = newSymNode__ast_3716(local);
3455 						T35_ = NIM_NIL;
3456 						T35_ = newAsgnStmt__lambdalifting_192(fieldAccess, T34_, (*env).info);
3457 						add__ast_4797(result, T35_);
3458 						{
3459 							if (!!(((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 17)))) goto LA38_;
3460 							createTypeBoundOps__liftdestructors_47((*d).graph, ((tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug*) NIM_NIL), (*fieldAccess).typ, (*env).info, (*d).idgen);
3461 						}
3462 						LA38_: ;
3463 						{
3464 							NIM_BOOL T42_;
3465 							T42_ = (NIM_BOOL)0;
3466 							T42_ = (((*(*fieldAccess).typ).flags &((NU64)1<<((NU)(((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 31))&63U)))!=0);
3467 							if (T42_) goto LA43_;
3468 							T42_ = (((*(*(*d).graph).config).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 40))&63U)))!=0);
3469 							LA43_: ;
3470 							if (!T42_) goto LA44_;
3471 							(*owner).flags |= ((NU64)1)<<((((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 42)) & 63);
3472 						}
3473 						LA44_: ;
3474 					}
3475 					LA32_: ;
3476 					i_2 += ((NI) 1);
3477 				} LA28: ;
3478 			}
3479 		}
3480 	}
3481 	LA1_: ;
3482 	T46_ = NIM_NIL;
3483 	T46_ = skipTypes__ast_3735((*env).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
3484 	T47_ = NIM_NIL;
3485 	T47_ = getIdent__idents_143((*(*d).graph).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_18));
3486 	upField = lookupInRecord__astalgo_84((*T46_).n, T47_);
3487 	{
3488 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* up;
3489 		if (!!((upField == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)))) goto LA50_;
3490 		up = getUpViaParam__lambdalifting_3892((*d).graph, owner);
3491 		{
3492 			NIM_BOOL T54_;
3493 			tyObject_TType__facALICuu8zUj0hjvbTLFg* T56_;
3494 			tyObject_TType__facALICuu8zUj0hjvbTLFg* T57_;
3495 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T60_;
3496 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T61_;
3497 			T54_ = (NIM_BOOL)0;
3498 			T54_ = !((up == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)));
3499 			if (!(T54_)) goto LA55_;
3500 			T56_ = NIM_NIL;
3501 			T56_ = skipTypes__ast_3735((*upField).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
3502 			T57_ = NIM_NIL;
3503 			T57_ = skipTypes__ast_3735((*up).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
3504 			T54_ = (T56_ == T57_);
3505 			LA55_: ;
3506 			if (!T54_) goto LA58_;
3507 			T60_ = NIM_NIL;
3508 			T60_ = rawIndirectAccess__lowerings_326(env, upField, (*env).info);
3509 			T61_ = NIM_NIL;
3510 			T61_ = newAsgnStmt__lambdalifting_192(T60_, up, (*env).info);
3511 			add__ast_4797(result, T61_);
3512 		}
3513 		goto LA52_;
3514 		LA58_: ;
3515 		{
3516 			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);
3517 		}
3518 		LA52_: ;
3519 	}
3520 	LA50_: ;
3521 	createTypeBoundOpsLL__lambdalifting_268((*d).graph, (*env).typ, (*owner).info, (*d).idgen, owner);
3522 	return result;
3523 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,X5BX5D___lambdalifting_4419)3524 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, X5BX5D___lambdalifting_4419)(tyObject_Table__JrI9bTpOVccKpiJXKOskjFg t, NI key) {
3525 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3526 	NI hcX60gensym20_;
3527 	NI indexX60gensym20_;
3528 	result = NIM_NIL;
3529 	hcX60gensym20_ = (NI)0;
3530 	indexX60gensym20_ = rawGet__lambdalifting_2349(t, key, (&hcX60gensym20_));
3531 	{
3532 		if (!(((NI) 0) <= indexX60gensym20_)) goto LA3_;
3533 		result = t.data->data[indexX60gensym20_].Field2;
3534 	}
3535 	goto LA1_;
3536 	LA3_: ;
3537 	{
3538 		raiseKeyError__ast_1357(key);
3539 	}
3540 	LA1_: ;
3541 	return result;
3542 }
N_NIMCALL(void,finishClosureCreation__lambdalifting_4321)3543 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) {
3544 	{
3545 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* unowned;
3546 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym161_;
3547 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* nilLit;
3548 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T5_;
3549 		if (!(((*(*(*d).graph).config).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 42))&63U)))!=0)) goto LA3_;
3550 		xX60gensym161_ = owner;
3551 		unowned = X5BX5D___lambdalifting_4419((*c).unownedEnvVars, (NI)((NI)((NU32)(((NI) ((*xX60gensym161_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym161_).Sup.itemId.item))));
3552 		nilLit = newNodeIT__ast_3378(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23), info, (*unowned).typ);
3553 		T5_ = NIM_NIL;
3554 		T5_ = newAsgnStmt__lambdalifting_192(unowned, nilLit, info);
3555 		add__ast_4797(res, T5_);
3556 		createTypeBoundOpsLL__lambdalifting_268((*d).graph, (*unowned).typ, info, (*d).idgen, owner);
3557 	}
3558 	LA3_: ;
3559 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,makeClosure__lambdalifting_199)3560 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) {
3561 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3562 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T1_;
3563 	result = NIM_NIL;
3564 	result = newNodeIT__ast_3378(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 155), info, (*prc).typ);
3565 	T1_ = NIM_NIL;
3566 	T1_ = newSymNode__ast_3716(prc);
3567 	add__ast_4797(result, T1_);
3568 	{
3569 		tyObject_TType__facALICuu8zUj0hjvbTLFg* T6_;
3570 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T7_;
3571 		if (!(env == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL))) goto LA4_;
3572 		T6_ = NIM_NIL;
3573 		T6_ = getSysType__magicsys_60(g, info, ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 5));
3574 		T7_ = NIM_NIL;
3575 		T7_ = newNodeIT__ast_3378(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23), info, T6_);
3576 		add__ast_4797(result, T7_);
3577 	}
3578 	goto LA2_;
3579 	LA4_: ;
3580 	{
3581 		{
3582 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T11_;
3583 			T11_ = NIM_NIL;
3584 			T11_ = skipConv__types_3588(env);
3585 			if (!((*T11_).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 155))) goto LA12_;
3586 			liMessage__msgs_1118((*g).config, info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_31), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_32, NIM_FALSE);
3587 		}
3588 		LA12_: ;
3589 		add__ast_4797(result, env);
3590 	}
3591 	LA2_: ;
3592 	createTypeBoundOps__liftdestructors_47(g, ((tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug*) NIM_NIL), (*result).typ, info, idgen);
3593 	{
3594 		NIM_BOOL T16_;
3595 		T16_ = (NIM_BOOL)0;
3596 		T16_ = (((*(*result).typ).flags &((NU64)1<<((NU)(((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 31))&63U)))!=0);
3597 		if (T16_) goto LA17_;
3598 		T16_ = (((*(*g).config).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 40))&63U)))!=0);
3599 		LA17_: ;
3600 		if (!T16_) goto LA18_;
3601 		(*prc).flags |= ((NU64)1)<<((((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 42)) & 63);
3602 	}
3603 	LA18_: ;
3604 	return result;
3605 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,closureCreationForIter__lambdalifting_4502)3606 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, closureCreationForIter__lambdalifting_4502)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* iter, tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ* d, tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw* c) {
3607 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3608 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner;
3609 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* v;
3610 	tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T1_;
3611 	tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T2_;
3612 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T3_;
3613 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* vnode;
3614 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T14_;
3615 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T15_;
3616 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* upField;
3617 	tyObject_TType__facALICuu8zUj0hjvbTLFg* T16_;
3618 	tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T17_;
3619 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T31_;
3620 	result = NIM_NIL;
3621 	result = newNodeIT__ast_3378(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 126), (*iter).info, (*(*iter)._kind_4.sym).typ);
3622 	owner = skipGenericOwner__ast_4658((*iter)._kind_4.sym);
3623 	T1_ = NIM_NIL;
3624 	T1_ = getIdent__idents_143((*(*d).graph).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_24));
3625 	T2_ = nextSymId__ast_3132((*d).idgen);
3626 	v = newSym__ast_3445(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 8), T1_, T2_, owner, (*iter).info, 0);
3627 	(*v).flags |= ((NU64)1)<<((((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 25)) & 63);
3628 	T3_ = NIM_NIL;
3629 	T3_ = getHiddenParam__lambdalifting_106((*d).graph, (*iter)._kind_4.sym);
3630 	asgnRef((void**) (&(*v).typ), asOwnedRef__lambdalifting_1923(d, (*T3_).typ));
3631 	vnode = NIM_NIL;
3632 	{
3633 		NIM_BOOL T6_;
3634 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* it;
3635 		tyObject_TType__facALICuu8zUj0hjvbTLFg* T10_;
3636 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T11_;
3637 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T12_;
3638 		T6_ = (NIM_BOOL)0;
3639 		T6_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
3640 		if (!(T6_)) goto LA7_;
3641 		T6_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
3642 		LA7_: ;
3643 		if (!T6_) goto LA8_;
3644 		it = getHiddenParam__lambdalifting_106((*d).graph, owner);
3645 		T10_ = NIM_NIL;
3646 		T10_ = skipTypes__ast_3735((*it).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
3647 		T11_ = NIM_NIL;
3648 		T11_ = addUniqueField__lowerings_443(T10_, v, (*(*d).graph).cache, (*d).idgen);
3649 		T12_ = NIM_NIL;
3650 		T12_ = newSymNode__ast_3716(it);
3651 		vnode = indirectAccess__lowerings_610(T12_, v, (*v).info);
3652 	}
3653 	goto LA4_;
3654 	LA8_: ;
3655 	{
3656 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* vs;
3657 		vnode = newSymNode__ast_3716(v);
3658 		vs = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 99), (*iter).info);
3659 		addVar__lowerings_63(vs, vnode);
3660 		add__ast_4797(result, vs);
3661 	}
3662 	LA4_: ;
3663 	T14_ = NIM_NIL;
3664 	T14_ = getSysSym__magicsys_16((*d).graph, (*iter).info, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_26));
3665 	T15_ = NIM_NIL;
3666 	T15_ = newCall__lambdalifting_21(T14_, vnode);
3667 	add__ast_4797(result, T15_);
3668 	createTypeBoundOpsLL__lambdalifting_268((*d).graph, (*vnode).typ, (*iter).info, (*d).idgen, owner);
3669 	T16_ = NIM_NIL;
3670 	T16_ = skipTypes__ast_3735((*v).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
3671 	T17_ = NIM_NIL;
3672 	T17_ = getIdent__idents_143((*(*d).graph).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_18));
3673 	upField = lookupInRecord__astalgo_84((*T16_).n, T17_);
3674 	{
3675 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* u;
3676 		if (!!((upField == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)))) goto LA20_;
3677 		u = setupEnvVar__lambdalifting_2231(owner, d, c, (*iter).info);
3678 		{
3679 			tyObject_TType__facALICuu8zUj0hjvbTLFg* T24_;
3680 			tyObject_TType__facALICuu8zUj0hjvbTLFg* T25_;
3681 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T28_;
3682 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T29_;
3683 			T24_ = NIM_NIL;
3684 			T24_ = skipTypes__ast_3735((*u).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
3685 			T25_ = NIM_NIL;
3686 			T25_ = skipTypes__ast_3735((*upField).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
3687 			if (!(T24_ == T25_)) goto LA26_;
3688 			T28_ = NIM_NIL;
3689 			T28_ = rawIndirectAccess__lowerings_326(vnode, upField, (*iter).info);
3690 			T29_ = NIM_NIL;
3691 			T29_ = newAsgnStmt__lambdalifting_192(T28_, u, (*iter).info);
3692 			add__ast_4797(result, T29_);
3693 		}
3694 		goto LA22_;
3695 		LA26_: ;
3696 		{
3697 			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);
3698 		}
3699 		LA22_: ;
3700 	}
3701 	LA20_: ;
3702 	T31_ = NIM_NIL;
3703 	T31_ = makeClosure__lambdalifting_199((*d).graph, (*d).idgen, (*iter)._kind_4.sym, vnode, (*iter).info);
3704 	add__ast_4797(result, T31_);
3705 	return result;
3706 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,symToClosure__lambdalifting_4670)3707 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) {
3708 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3709 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s;
3710 {	result = NIM_NIL;
3711 	s = (*n)._kind_4.sym;
3712 	{
3713 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* available;
3714 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T5_;
3715 		if (!(s == owner)) goto LA3_;
3716 		available = getHiddenParam__lambdalifting_106((*d).graph, owner);
3717 		T5_ = NIM_NIL;
3718 		T5_ = newSymNode__ast_3716(available);
3719 		result = makeClosure__lambdalifting_199((*d).graph, (*d).idgen, s, T5_, (*n).info);
3720 	}
3721 	goto LA1_;
3722 	LA3_: ;
3723 	{
3724 		NIM_BOOL T7_;
3725 		T7_ = (NIM_BOOL)0;
3726 		T7_ = ((*s).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
3727 		if (!(T7_)) goto LA8_;
3728 		T7_ = ((*(*s).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
3729 		LA8_: ;
3730 		if (!T7_) goto LA9_;
3731 		result = closureCreationForIter__lambdalifting_4502(n, d, c);
3732 	}
3733 	goto LA1_;
3734 	LA9_: ;
3735 	{
3736 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T12_;
3737 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T15_;
3738 		T12_ = NIM_NIL;
3739 		T12_ = skipGenericOwner__ast_4658(s);
3740 		if (!(T12_ == owner)) goto LA13_;
3741 		T15_ = NIM_NIL;
3742 		T15_ = setupEnvVar__lambdalifting_2231(owner, d, c, (*n).info);
3743 		result = makeClosure__lambdalifting_199((*d).graph, (*d).idgen, s, T15_, (*n).info);
3744 	}
3745 	goto LA1_;
3746 	LA13_: ;
3747 	{
3748 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* available_2;
3749 		tyObject_TType__facALICuu8zUj0hjvbTLFg* wanted;
3750 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T17_;
3751 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* access;
3752 		available_2 = getHiddenParam__lambdalifting_106((*d).graph, owner);
3753 		T17_ = NIM_NIL;
3754 		T17_ = getHiddenParam__lambdalifting_106((*d).graph, s);
3755 		wanted = (*T17_).typ;
3756 		access = newSymNode__ast_3716(available_2);
3757 		{
3758 			while (1) {
3759 				tyObject_TType__facALICuu8zUj0hjvbTLFg* obj;
3760 				tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* upField;
3761 				tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T24_;
3762 				{
3763 					if (!((*access).typ == wanted)) goto LA22_;
3764 					result = makeClosure__lambdalifting_199((*d).graph, (*d).idgen, s, access, (*n).info);
3765 					goto BeforeRet_;
3766 				}
3767 				LA22_: ;
3768 				obj = skipTypes__ast_3735((*access).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
3769 				T24_ = NIM_NIL;
3770 				T24_ = getIdent__idents_143((*(*d).graph).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_18));
3771 				upField = lookupInRecord__astalgo_84((*obj).n, T24_);
3772 				{
3773 					if (!(upField == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL))) goto LA27_;
3774 					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);
3775 					result = n;
3776 					goto BeforeRet_;
3777 				}
3778 				LA27_: ;
3779 				access = rawIndirectAccess__lowerings_326(access, upField, (*n).info);
3780 			}
3781 		}
3782 	}
3783 	LA1_: ;
3784 	}BeforeRet_: ;
3785 	return result;
3786 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,accessViaEnvParam__lambdalifting_2193)3787 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, accessViaEnvParam__lambdalifting_2193)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner) {
3788 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3789 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s;
3790 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* envParam;
3791 	NimStringDesc* T16_;
3792 {	result = NIM_NIL;
3793 	s = (*n)._kind_4.sym;
3794 	envParam = getHiddenParam__lambdalifting_106(g, owner);
3795 	{
3796 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* access;
3797 		if (!!((envParam == 0))) goto LA3_;
3798 		access = newSymNode__ast_3716(envParam);
3799 		{
3800 			while (1) {
3801 				tyObject_TType__facALICuu8zUj0hjvbTLFg* obj;
3802 				tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* field;
3803 				tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* upField;
3804 				tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T11_;
3805 				obj = (*(*access).typ).sons->data[((NI) 0)];
3806 				field = getFieldFromObj__lowerings_582(obj, s);
3807 				{
3808 					if (!!((field == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)))) goto LA9_;
3809 					result = rawIndirectAccess__lowerings_326(access, field, (*n).info);
3810 					goto BeforeRet_;
3811 				}
3812 				LA9_: ;
3813 				T11_ = NIM_NIL;
3814 				T11_ = getIdent__idents_143((*g).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_18));
3815 				upField = lookupInRecord__astalgo_84((*obj).n, T11_);
3816 				{
3817 					if (!(upField == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL))) goto LA14_;
3818 					goto LA5;
3819 				}
3820 				LA14_: ;
3821 				access = rawIndirectAccess__lowerings_326(access, upField, (*n).info);
3822 			}
3823 		} LA5: ;
3824 	}
3825 	LA3_: ;
3826 	T16_ = NIM_NIL;
3827 	T16_ = rawNewString(((*(*s).name).s ? (*(*s).name).s->Sup.len : 0) + 36);
3828 appendString(T16_, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_37));
3829 appendString(T16_, (*(*s).name).s);
3830 	liMessage__msgs_1118((*g).config, (*n).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), T16_, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_38, NIM_FALSE);
3831 	result = n;
3832 	}BeforeRet_: ;
3833 	return result;
3834 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,accessViaEnvVar__lambdalifting_4550)3835 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) {
3836 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3837 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* access;
3838 	tyObject_TType__facALICuu8zUj0hjvbTLFg* obj;
3839 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* field;
3840 	result = NIM_NIL;
3841 	access = setupEnvVar__lambdalifting_2231(owner, d, c, (*n).info);
3842 	{
3843 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym170_;
3844 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw** T5_;
3845 		if (!(((*(*(*d).graph).config).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 42))&63U)))!=0)) goto LA3_;
3846 		xX60gensym170_ = owner;
3847 		T5_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw**)0;
3848 		T5_ = X5BX5D___lambdalifting_4026((&(*c).unownedEnvVars), (NI)((NI)((NU32)(((NI) ((*xX60gensym170_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym170_).Sup.itemId.item))));
3849 		access = (*T5_);
3850 	}
3851 	LA3_: ;
3852 	obj = skipTypes__ast_3735((*access).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
3853 	field = getFieldFromObj__lowerings_582(obj, (*n)._kind_4.sym);
3854 	{
3855 		if (!!((field == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)))) goto LA8_;
3856 		result = rawIndirectAccess__lowerings_326(access, field, (*n).info);
3857 	}
3858 	goto LA6_;
3859 	LA8_: ;
3860 	{
3861 		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);
3862 		result = n;
3863 	}
3864 	LA6_: ;
3865 	return result;
3866 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,liftCapturedVars__lambdalifting_4665)3867 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) {
3868 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3869 {	result = NIM_NIL;
3870 	result = n;
3871 	switch ((*n).kind) {
3872 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3):
3873 	{
3874 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s;
3875 		s = (*n)._kind_4.sym;
3876 		{
3877 			NIM_BOOL T4_;
3878 			T4_ = (NIM_BOOL)0;
3879 			T4_ = isInnerProc__lambdalifting_177(s);
3880 			if (!T4_) goto LA5_;
3881 			{
3882 				tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym178_;
3883 				NIM_BOOL T9_;
3884 				NI oldInContainer;
3885 				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* body;
3886 				xX60gensym178_ = s;
3887 				T9_ = (NIM_BOOL)0;
3888 				T9_ = containsOrIncl__astalgo_402((&(*c).processed), (NI)((NI)((NU32)(((NI) ((*xX60gensym178_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym178_).Sup.itemId.item))));
3889 				if (!!(T9_)) goto LA10_;
3890 				oldInContainer = (*c).inContainer;
3891 				(*c).inContainer = ((NI) 0);
3892 				body = transformBody__transf_16((*d).graph, (*d).idgen, s, NIM_FALSE);
3893 				body = liftCapturedVars__lambdalifting_4665(body, s, d, c);
3894 				{
3895 					tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym179_;
3896 					tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T14_;
3897 					xX60gensym179_ = s;
3898 					T14_ = NIM_NIL;
3899 					T14_ = getOrDefault__lambdalifting_2340((*c).envVars, (NI)((NI)((NU32)(((NI) ((*xX60gensym179_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym179_).Sup.itemId.item))));
3900 					if (!(T14_ == 0)) goto LA15_;
3901 					asgnRef((void**) (&(*s)._kind_1.transformedBody), body);
3902 				}
3903 				goto LA12_;
3904 				LA15_: ;
3905 				{
3906 					tyArray__AB6yfoUgfWM2NtGe9bzkCmw T18_;
3907 					nimZeroMem((void*)T18_, sizeof(tyArray__AB6yfoUgfWM2NtGe9bzkCmw));
3908 					T18_[0] = rawClosureCreation__lambdalifting_3910(s, d, c, (*n).info);
3909 					T18_[1] = body;
3910 					asgnRef((void**) (&(*s)._kind_1.transformedBody), newTree__ast_3392(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115), T18_, 2));
3911 					finishClosureCreation__lambdalifting_4321(s, d, (&(*c)), (*n).info, (*s)._kind_1.transformedBody);
3912 				}
3913 				LA12_: ;
3914 				(*c).inContainer = oldInContainer;
3915 			}
3916 			LA10_: ;
3917 			{
3918 				if (!((*(*s).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9))) goto LA21_;
3919 				result = symToClosure__lambdalifting_4670(n, owner, d, c);
3920 			}
3921 			LA21_: ;
3922 		}
3923 		goto LA2_;
3924 		LA5_: ;
3925 		{
3926 			tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym181_;
3927 			NIM_BOOL T24_;
3928 			xX60gensym181_ = s;
3929 			T24_ = (NIM_BOOL)0;
3930 			T24_ = contains__astalgo_3496((&(*d).capturedVars), (NI)((NI)((NU32)(((NI) ((*xX60gensym181_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym181_).Sup.itemId.item))));
3931 			if (!T24_) goto LA25_;
3932 			{
3933 				if (!!(((*s).owner == owner))) goto LA29_;
3934 				result = accessViaEnvParam__lambdalifting_2193((*d).graph, n, owner);
3935 			}
3936 			goto LA27_;
3937 			LA29_: ;
3938 			{
3939 				NIM_BOOL T32_;
3940 				NIM_BOOL T33_;
3941 				T32_ = (NIM_BOOL)0;
3942 				T33_ = (NIM_BOOL)0;
3943 				T33_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
3944 				if (!(T33_)) goto LA34_;
3945 				T33_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
3946 				LA34_: ;
3947 				T32_ = T33_;
3948 				if (!(T32_)) goto LA35_;
3949 				T32_ = interestingIterVar__lambdalifting_238(s);
3950 				LA35_: ;
3951 				if (!T32_) goto LA36_;
3952 				result = accessViaEnvParam__lambdalifting_2193((*d).graph, n, owner);
3953 			}
3954 			goto LA27_;
3955 			LA36_: ;
3956 			{
3957 				result = accessViaEnvVar__lambdalifting_4550(n, owner, d, c);
3958 			}
3959 			LA27_: ;
3960 		}
3961 		goto LA2_;
3962 		LA25_: ;
3963 		LA2_: ;
3964 	}
3965 	break;
3966 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 2):
3967 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 4) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23):
3968 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 24):
3969 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 83):
3970 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 98):
3971 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 79):
3972 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 80):
3973 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 81):
3974 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 82):
3975 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 159):
3976 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 123):
3977 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 122):
3978 	{
3979 	}
3980 	break;
3981 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 155):
3982 	{
3983 		{
3984 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* x;
3985 			if (!((*(*n)._kind_6.sons->data[((NI) 1)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23))) goto LA43_;
3986 			asgnRef((void**) (&(*n)._kind_6.sons->data[((NI) 0)]), liftCapturedVars__lambdalifting_4665((*n)._kind_6.sons->data[((NI) 0)], owner, d, c));
3987 			x = skipConv__types_3588((*n)._kind_6.sons->data[((NI) 0)]);
3988 			{
3989 				if (!((*x).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 155))) goto LA47_;
3990 				asgnRef((void**) (&(*n)._kind_6.sons->data[((NI) 0)]), (*x)._kind_6.sons->data[((NI) 0)]);
3991 				asgnRef((void**) (&(*n)._kind_6.sons->data[((NI) 1)]), (*x)._kind_6.sons->data[((NI) 1)]);
3992 			}
3993 			LA47_: ;
3994 		}
3995 		LA43_: ;
3996 	}
3997 	break;
3998 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 51) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 52):
3999 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 84):
4000 	{
4001 		{
4002 			NIM_BOOL T52_;
4003 			NI oldInContainer_2;
4004 			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* m;
4005 			T52_ = (NIM_BOOL)0;
4006 			T52_ = !(((*n).typ == ((tyObject_TType__facALICuu8zUj0hjvbTLFg*) NIM_NIL)));
4007 			if (!(T52_)) goto LA53_;
4008 			T52_ = ((*(*n)._kind_6.sons->data[((NI) 0)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
4009 			LA53_: ;
4010 			if (!T52_) goto LA54_;
4011 			oldInContainer_2 = (*c).inContainer;
4012 			(*c).inContainer = ((NI) 0);
4013 			m = newSymNode__ast_3716((*(*n)._kind_6.sons->data[((NI) 0)])._kind_4.sym);
4014 			asgnRef((void**) (&(*m).typ), (*n).typ);
4015 			result = liftCapturedVars__lambdalifting_4665(m, owner, d, c);
4016 			(*c).inContainer = oldInContainer_2;
4017 		}
4018 		LA54_: ;
4019 	}
4020 	break;
4021 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 58):
4022 	{
4023 		{
4024 			NI T59_;
4025 			T59_ = (NI)0;
4026 			T59_ = len__ast_3198(n);
4027 			if (!(T59_ == ((NI) 2))) goto LA60_;
4028 			asgnRef((void**) (&(*n)._kind_6.sons->data[((NI) 1)]), liftCapturedVars__lambdalifting_4665((*n)._kind_6.sons->data[((NI) 1)], owner, d, c));
4029 			{
4030 				if (!((*(*n)._kind_6.sons->data[((NI) 1)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 155))) goto LA64_;
4031 				result = (*n)._kind_6.sons->data[((NI) 1)];
4032 			}
4033 			LA64_: ;
4034 		}
4035 		LA60_: ;
4036 	}
4037 	break;
4038 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 109):
4039 	{
4040 		{
4041 			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_;
4042 			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));
4043 		}
4044 		goto LA67_;
4045 		LA69_: ;
4046 		{
4047 			asgnRef((void**) (&(*n)._kind_6.sons->data[((NI) 0)]), liftCapturedVars__lambdalifting_4665((*n)._kind_6.sons->data[((NI) 0)], owner, d, c));
4048 		}
4049 		LA67_: ;
4050 	}
4051 	break;
4052 	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 132):
4053 	{
4054 		result = n;
4055 	}
4056 	break;
4057 	default:
4058 	{
4059 		NIM_BOOL inContainer;
4060 		{
4061 			NIM_BOOL T76_;
4062 			T76_ = (NIM_BOOL)0;
4063 			T76_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
4064 			if (!(T76_)) goto LA77_;
4065 			T76_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
4066 			LA77_: ;
4067 			if (!T76_) goto LA78_;
4068 			{
4069 				if (!(((*n).flags &((NU32)1<<((NU)(((tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg) 8))&31U)))!=0)) goto LA82_;
4070 				asgnRef((void**) (&(*n)._kind_6.sons->data[((NI) 1)]), liftCapturedVars__lambdalifting_4665((*n)._kind_6.sons->data[((NI) 1)], owner, d, c));
4071 				goto BeforeRet_;
4072 			}
4073 			LA82_: ;
4074 		}
4075 		LA78_: ;
4076 		inContainer = ((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 38) || (*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 41));
4077 		{
4078 			if (!inContainer) goto LA86_;
4079 			(*c).inContainer += ((NI) 1);
4080 		}
4081 		LA86_: ;
4082 		{
4083 			NI i;
4084 			NI colontmp_;
4085 			NI i_2;
4086 			i = (NI)0;
4087 			colontmp_ = (NI)0;
4088 			colontmp_ = len__ast_3198(n);
4089 			i_2 = ((NI) 0);
4090 			{
4091 				while (1) {
4092 					if (!(i_2 < colontmp_)) goto LA90;
4093 					i = i_2;
4094 					asgnRef((void**) (&(*n)._kind_6.sons->data[i]), liftCapturedVars__lambdalifting_4665((*n)._kind_6.sons->data[i], owner, d, c));
4095 					i_2 += ((NI) 1);
4096 				} LA90: ;
4097 			}
4098 		}
4099 		{
4100 			if (!inContainer) goto LA93_;
4101 			(*c).inContainer -= ((NI) 1);
4102 		}
4103 		LA93_: ;
4104 	}
4105 	break;
4106 	}
4107 	}BeforeRet_: ;
4108 	return result;
4109 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,liftLambdas__lambdalifting_5137)4110 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) {
4111 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
4112 	NIM_BOOL isCompileTime;
4113 	NIM_BOOL T1_;
4114 	result = NIM_NIL;
4115 	T1_ = (NIM_BOOL)0;
4116 	T1_ = (((*fn).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 28))&63U)))!=0);
4117 	if (T1_) goto LA2_;
4118 	T1_ = ((*fn).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 17));
4119 	LA2_: ;
4120 	isCompileTime = T1_;
4121 	{
4122 		NIM_BOOL T5_;
4123 		NIM_BOOL T6_;
4124 		NIM_BOOL T8_;
4125 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T11_;
4126 		T5_ = (NIM_BOOL)0;
4127 		T6_ = (NIM_BOOL)0;
4128 		T6_ = ((*body).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1));
4129 		if (T6_) goto LA7_;
4130 		T8_ = (NIM_BOOL)0;
4131 		T8_ = ((*(*g).config).backend == ((tyEnum_TBackend__4OBsgZ9cscH2JLUE5Wcz01g) 3));
4132 		if (!(T8_)) goto LA9_;
4133 		T8_ = !(isCompileTime);
4134 		LA9_: ;
4135 		T6_ = T8_;
4136 		LA7_: ;
4137 		T5_ = T6_;
4138 		if (T5_) goto LA10_;
4139 		T11_ = NIM_NIL;
4140 		T11_ = skipGenericOwner__ast_4658(fn);
4141 		T5_ = !(((*T11_).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6)));
4142 		LA10_: ;
4143 		if (!T5_) goto LA12_;
4144 		result = body;
4145 		(*tooEarly) = NIM_TRUE;
4146 	}
4147 	goto LA3_;
4148 	LA12_: ;
4149 	{
4150 		tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ d;
4151 		nimZeroMem((void*)(&d), sizeof(tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ));
4152 		initDetectionPass__lambdalifting_396(g, fn, idgen, (&d));
4153 		detectCapturedVars__lambdalifting_1998(body, fn, (&d));
4154 		{
4155 			NIM_BOOL T17_;
4156 			NIM_BOOL T19_;
4157 			T17_ = (NIM_BOOL)0;
4158 			T17_ = !(d.somethingToDo);
4159 			if (!(T17_)) goto LA18_;
4160 			T19_ = (NIM_BOOL)0;
4161 			T19_ = ((*fn).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
4162 			if (!(T19_)) goto LA20_;
4163 			T19_ = ((*(*fn).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
4164 			LA20_: ;
4165 			T17_ = T19_;
4166 			LA18_: ;
4167 			if (!T17_) goto LA21_;
4168 			addClosureParam__lambdalifting_1971((&d), fn, (*body).info);
4169 			d.somethingToDo = NIM_TRUE;
4170 		}
4171 		LA21_: ;
4172 		{
4173 			tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw c;
4174 			if (!d.somethingToDo) goto LA25_;
4175 			nimZeroMem((void*)(&c), sizeof(tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw));
4176 			initLiftingPass__lambdalifting_2151(fn, (&c));
4177 			result = liftCapturedVars__lambdalifting_4665(body, fn, (&d), (&c));
4178 			{
4179 				tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym226_;
4180 				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T29_;
4181 				tyArray__AB6yfoUgfWM2NtGe9bzkCmw T32_;
4182 				xX60gensym226_ = fn;
4183 				T29_ = NIM_NIL;
4184 				T29_ = getOrDefault__lambdalifting_2340(c.envVars, (NI)((NI)((NU32)(((NI) ((*xX60gensym226_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym226_).Sup.itemId.item))));
4185 				if (!!((T29_ == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)))) goto LA30_;
4186 				nimZeroMem((void*)T32_, sizeof(tyArray__AB6yfoUgfWM2NtGe9bzkCmw));
4187 				T32_[0] = rawClosureCreation__lambdalifting_3910(fn, (&d), (&c), (*body).info);
4188 				T32_[1] = result;
4189 				result = newTree__ast_3392(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115), T32_, 2);
4190 				finishClosureCreation__lambdalifting_4321(fn, (&d), (&c), (*body).info, result);
4191 			}
4192 			LA30_: ;
4193 		}
4194 		goto LA23_;
4195 		LA25_: ;
4196 		{
4197 			result = body;
4198 		}
4199 		LA23_: ;
4200 	}
4201 	LA3_: ;
4202 	return result;
4203 }
N_INLINE(NIM_BOOL,liftingHarmful__lambdalifting_251)4204 static N_INLINE(NIM_BOOL, liftingHarmful__lambdalifting_251)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner) {
4205 	NIM_BOOL result;
4206 	NIM_BOOL isCompileTime;
4207 	NIM_BOOL T1_;
4208 	NIM_BOOL T3_;
4209 	result = (NIM_BOOL)0;
4210 	T1_ = (NIM_BOOL)0;
4211 	T1_ = (((*owner).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 28))&63U)))!=0);
4212 	if (T1_) goto LA2_;
4213 	T1_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 17));
4214 	LA2_: ;
4215 	isCompileTime = T1_;
4216 	T3_ = (NIM_BOOL)0;
4217 	T3_ = ((*conf).backend == ((tyEnum_TBackend__4OBsgZ9cscH2JLUE5Wcz01g) 3));
4218 	if (!(T3_)) goto LA4_;
4219 	T3_ = !(isCompileTime);
4220 	LA4_: ;
4221 	result = T3_;
4222 	return result;
4223 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,liftIterSym__lambdalifting_293)4224 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) {
4225 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
4226 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* iter;
4227 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* hp;
4228 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* env;
4229 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T17_;
4230 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T18_;
4231 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T19_;
4232 {	result = NIM_NIL;
4233 	{
4234 		NIM_BOOL T3_;
4235 		T3_ = (NIM_BOOL)0;
4236 		T3_ = liftingHarmful__lambdalifting_251((*g).config, owner);
4237 		if (!T3_) goto LA4_;
4238 		result = n;
4239 		goto BeforeRet_;
4240 	}
4241 	LA4_: ;
4242 	iter = (*n)._kind_4.sym;
4243 	result = newNodeIT__ast_3378(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 126), (*n).info, (*n).typ);
4244 	hp = getHiddenParam__lambdalifting_106(g, iter);
4245 	env = NIM_NIL;
4246 	{
4247 		NIM_BOOL T8_;
4248 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* it;
4249 		tyObject_TType__facALICuu8zUj0hjvbTLFg* T12_;
4250 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T13_;
4251 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T14_;
4252 		T8_ = (NIM_BOOL)0;
4253 		T8_ = ((*owner).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
4254 		if (!(T8_)) goto LA9_;
4255 		T8_ = ((*(*owner).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
4256 		LA9_: ;
4257 		if (!T8_) goto LA10_;
4258 		it = getHiddenParam__lambdalifting_106(g, owner);
4259 		T12_ = NIM_NIL;
4260 		T12_ = skipTypes__ast_3735((*it).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_41);
4261 		T13_ = NIM_NIL;
4262 		T13_ = addUniqueField__lowerings_443((*T12_).sons->data[((NI) 0)], hp, (*g).cache, idgen);
4263 		T14_ = NIM_NIL;
4264 		T14_ = newSymNode__ast_3716(it);
4265 		env = indirectAccess__lowerings_610(T14_, hp, (*hp).info);
4266 	}
4267 	goto LA6_;
4268 	LA10_: ;
4269 	{
4270 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* e;
4271 		tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T16_;
4272 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* v;
4273 		T16_ = nextSymId__ast_3132(idgen);
4274 		e = newSym__ast_3445(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 9), (*iter).name, T16_, owner, (*n).info, 0);
4275 		asgnRef((void**) (&(*e).typ), (*hp).typ);
4276 		(*e).flags = (*hp).flags;
4277 		env = newSymNode__ast_3716(e);
4278 		v = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 99), (*n).info);
4279 		addVar__lowerings_63(v, env);
4280 		add__ast_4797(result, v);
4281 	}
4282 	LA6_: ;
4283 	T17_ = NIM_NIL;
4284 	T17_ = getSysSym__magicsys_16(g, (*n).info, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_26));
4285 	T18_ = NIM_NIL;
4286 	T18_ = newCall__lambdalifting_21(T17_, env);
4287 	add__ast_4797(result, T18_);
4288 	createTypeBoundOpsLL__lambdalifting_268(g, (*env).typ, (*n).info, idgen, owner);
4289 	T19_ = NIM_NIL;
4290 	T19_ = makeClosure__lambdalifting_199(g, idgen, iter, env, (*n).info);
4291 	add__ast_4797(result, T19_);
4292 	}BeforeRet_: ;
4293 	return result;
4294 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,liftForLoop__lambdalifting_5283)4295 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) {
4296 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
4297 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* call;
4298 	NI T13_;
4299 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* env;
4300 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* op;
4301 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* loopBody;
4302 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* whileLoop;
4303 	tyObject_TType__facALICuu8zUj0hjvbTLFg* T38_;
4304 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* v2;
4305 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* vpart;
4306 	tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw T39_;
4307 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T54_;
4308 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* bs;
4309 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ibs;
4310 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* elifBranch;
4311 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* br;
4312 	NI T60_;
4313 {	result = NIM_NIL;
4314 	{
4315 		NIM_BOOL T3_;
4316 		T3_ = (NIM_BOOL)0;
4317 		T3_ = liftingHarmful__lambdalifting_251((*g).config, owner);
4318 		if (!T3_) goto LA4_;
4319 		result = body;
4320 		goto BeforeRet_;
4321 	}
4322 	LA4_: ;
4323 	{
4324 		NIM_BOOL T8_;
4325 		NI T10_;
4326 		T8_ = (NIM_BOOL)0;
4327 		T8_ = ((*body).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 94));
4328 		if (!(T8_)) goto LA9_;
4329 		T10_ = (NI)0;
4330 		T10_ = len__ast_3198(body);
4331 		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));
4332 		LA9_: ;
4333 		if (!!(T8_)) goto LA11_;
4334 		liMessage__msgs_1118((*g).config, (*body).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_42), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_43, NIM_FALSE);
4335 		result = body;
4336 		goto BeforeRet_;
4337 	}
4338 	LA11_: ;
4339 	T13_ = (NI)0;
4340 	T13_ = len__ast_3198(body);
4341 	call = (*body)._kind_6.sons->data[(NI)(T13_ - ((NI) 2))];
4342 	result = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115), (*body).info);
4343 	env = NIM_NIL;
4344 	op = (*call)._kind_6.sons->data[((NI) 0)];
4345 	{
4346 		NIM_BOOL T16_;
4347 		NIM_BOOL T18_;
4348 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* iter;
4349 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* hp;
4350 		tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T22_;
4351 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* v;
4352 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T23_;
4353 		tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T24_;
4354 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T25_;
4355 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T26_;
4356 		T16_ = (NIM_BOOL)0;
4357 		T16_ = ((*op).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
4358 		if (!(T16_)) goto LA17_;
4359 		T18_ = (NIM_BOOL)0;
4360 		T18_ = ((*(*op)._kind_4.sym).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
4361 		if (!(T18_)) goto LA19_;
4362 		T18_ = ((*(*(*op)._kind_4.sym).typ).callConv == ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9));
4363 		LA19_: ;
4364 		T16_ = T18_;
4365 		LA17_: ;
4366 		if (!T16_) goto LA20_;
4367 		iter = (*op)._kind_4.sym;
4368 		hp = getHiddenParam__lambdalifting_106(g, iter);
4369 		T22_ = nextSymId__ast_3132(idgen);
4370 		env = newSym__ast_3445(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 9), (*iter).name, T22_, owner, (*body).info, 0);
4371 		asgnRef((void**) (&(*env).typ), (*hp).typ);
4372 		(*env).flags = (*hp).flags;
4373 		v = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 99), (*body).info);
4374 		T23_ = NIM_NIL;
4375 		T23_ = newSymNode__ast_3716(env);
4376 		addVar__lowerings_63(v, T23_);
4377 		add__ast_4797(result, v);
4378 		T24_ = NIM_NIL;
4379 		T24_ = getSysSym__magicsys_16(g, (*env).info, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_26));
4380 		T25_ = NIM_NIL;
4381 		T25_ = newSymNode__ast_3716(env);
4382 		T26_ = NIM_NIL;
4383 		T26_ = newCall__lambdalifting_21(T24_, T25_);
4384 		add__ast_4797(result, T26_);
4385 		createTypeBoundOpsLL__lambdalifting_268(g, (*env).typ, (*body).info, idgen, owner);
4386 	}
4387 	goto LA14_;
4388 	LA20_: ;
4389 	{
4390 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* closure;
4391 		if (!((*op).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 126))) goto LA28_;
4392 		closure = lastSon__ast_4832(op);
4393 		{
4394 			if (!((*closure).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 155))) goto LA32_;
4395 			asgnRef((void**) (&(*call)._kind_6.sons->data[((NI) 0)]), closure);
4396 			{
4397 				NI i;
4398 				NI colontmp_;
4399 				NI T35_;
4400 				NI i_2;
4401 				i = (NI)0;
4402 				colontmp_ = (NI)0;
4403 				T35_ = (NI)0;
4404 				T35_ = len__ast_3198(op);
4405 				colontmp_ = (NI)(T35_ - ((NI) 1));
4406 				i_2 = ((NI) 0);
4407 				{
4408 					while (1) {
4409 						if (!(i_2 < colontmp_)) goto LA37;
4410 						i = i_2;
4411 						add__ast_4797(result, (*op)._kind_6.sons->data[i]);
4412 						i_2 += ((NI) 1);
4413 					} LA37: ;
4414 				}
4415 			}
4416 		}
4417 		LA32_: ;
4418 	}
4419 	goto LA14_;
4420 	LA28_: ;
4421 	LA14_: ;
4422 	loopBody = newNodeI__ast_3360(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115), (*body).info, ((NI) 3));
4423 	whileLoop = newNodeI__ast_3360(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 96), (*body).info, ((NI) 2));
4424 	T38_ = NIM_NIL;
4425 	T38_ = getSysType__magicsys_60(g, (*body).info, ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 1));
4426 	asgnRef((void**) (&(*whileLoop)._kind_6.sons->data[((NI) 0)]), newIntTypeNode__ast_3783(IL64(1), T38_));
4427 	asgnRef((void**) (&(*whileLoop)._kind_6.sons->data[((NI) 1)]), loopBody);
4428 	add__ast_4797(result, whileLoop);
4429 	v2 = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 100), (*body).info);
4430 	T39_ = (tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw)0;
4431 	{
4432 		NI T42_;
4433 		T42_ = (NI)0;
4434 		T42_ = len__ast_3198(body);
4435 		if (!(T42_ == ((NI) 3))) goto LA43_;
4436 		T39_ = ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 35);
4437 	}
4438 	goto LA40_;
4439 	LA43_: ;
4440 	{
4441 		T39_ = ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 36);
4442 	}
4443 	LA40_: ;
4444 	vpart = newNodeI__ast_3356(T39_, (*body).info);
4445 	{
4446 		NI i_3;
4447 		NI colontmp__2;
4448 		NI T47_;
4449 		NI i_4;
4450 		i_3 = (NI)0;
4451 		colontmp__2 = (NI)0;
4452 		T47_ = (NI)0;
4453 		T47_ = len__ast_3198(body);
4454 		colontmp__2 = (NI)(T47_ - ((NI) 2));
4455 		i_4 = ((NI) 0);
4456 		{
4457 			while (1) {
4458 				if (!(i_4 < colontmp__2)) goto LA49;
4459 				i_3 = i_4;
4460 				{
4461 					if (!((*(*body)._kind_6.sons->data[i_3]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3))) goto LA52_;
4462 					transitionToLet__ast_4406((*(*body)._kind_6.sons->data[i_3])._kind_4.sym);
4463 				}
4464 				LA52_: ;
4465 				add__ast_4797(vpart, (*body)._kind_6.sons->data[i_3]);
4466 				i_4 += ((NI) 1);
4467 			} LA49: ;
4468 		}
4469 	}
4470 	T54_ = NIM_NIL;
4471 	T54_ = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1), (*body).info);
4472 	add__ast_4797(vpart, T54_);
4473 	{
4474 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T59_;
4475 		if (!!((env == 0))) goto LA57_;
4476 		T59_ = NIM_NIL;
4477 		T59_ = newSymNode__ast_3716(env);
4478 		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));
4479 	}
4480 	LA57_: ;
4481 	add__ast_4797(vpart, call);
4482 	add__ast_4797(v2, vpart);
4483 	asgnRef((void**) (&(*loopBody)._kind_6.sons->data[((NI) 0)]), v2);
4484 	bs = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 158), (*body).info);
4485 	add__ast_4797(bs, (*call)._kind_6.sons->data[((NI) 0)]);
4486 	ibs = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 92), (*body).info);
4487 	elifBranch = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 86), (*body).info);
4488 	add__ast_4797(elifBranch, bs);
4489 	br = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 110), (*body).info);
4490 	add__ast_4797(br, (*g).emptyNode);
4491 	add__ast_4797(elifBranch, br);
4492 	add__ast_4797(ibs, elifBranch);
4493 	asgnRef((void**) (&(*loopBody)._kind_6.sons->data[((NI) 1)]), ibs);
4494 	T60_ = (NI)0;
4495 	T60_ = len__ast_3198(body);
4496 	asgnRef((void**) (&(*loopBody)._kind_6.sons->data[((NI) 2)]), (*body)._kind_6.sons->data[(NI)(T60_ - ((NI) 1))]);
4497 	}BeforeRet_: ;
4498 	return result;
4499 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,freshVarForClosureIter__lambdalifting_337)4500 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) {
4501 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
4502 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* envParam;
4503 	tyObject_TType__facALICuu8zUj0hjvbTLFg* obj;
4504 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* access;
4505 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* field;
4506 	result = NIM_NIL;
4507 	envParam = getHiddenParam__lambdalifting_106(g, owner);
4508 	obj = skipTypes__ast_3735((*envParam).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
4509 	addField__lowerings_415(obj, s, (*g).cache, idgen);
4510 	access = newSymNode__ast_3716(envParam);
4511 	field = getFieldFromObj__lowerings_582(obj, s);
4512 	{
4513 		if (!!((field == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)))) goto LA3_;
4514 		result = rawIndirectAccess__lowerings_326(access, field, (*s).info);
4515 	}
4516 	goto LA1_;
4517 	LA3_: ;
4518 	{
4519 		liMessage__msgs_1118((*g).config, (*s).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_44), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__PI7oJkFuxeeTWjPTjlNxqg_45, NIM_FALSE);
4520 		result = access;
4521 	}
4522 	LA1_: ;
4523 	return result;
4524 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,getClosureIterResult__lambdalifting_62)4525 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, getClosureIterResult__lambdalifting_62)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* iter, tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen) {
4526 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
4527 	result = NIM_NIL;
4528 	{
4529 		NI T3_;
4530 		T3_ = (NI)0;
4531 		T3_ = len__ast_3198((*iter).ast);
4532 		if (!(((NI) 7) < T3_)) goto LA4_;
4533 		result = (*(*(*iter).ast)._kind_6.sons->data[((NI) 7)])._kind_4.sym;
4534 	}
4535 	goto LA1_;
4536 	LA4_: ;
4537 	{
4538 		tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T7_;
4539 		tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g T8_;
4540 		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T9_;
4541 		T7_ = NIM_NIL;
4542 		T7_ = getIdent__idents_143((*g).cache, ((NimStringDesc*) &TM__PI7oJkFuxeeTWjPTjlNxqg_46));
4543 		T8_ = nextSymId__ast_3132(idgen);
4544 		result = newSym__ast_3445(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 11), T7_, T8_, iter, (*iter).info, 0);
4545 		asgnRef((void**) (&(*result).typ), (*(*iter).typ).sons->data[((NI) 0)]);
4546 		(*result).flags |= ((NU64)1)<<((((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 0)) & 63);
4547 		T9_ = NIM_NIL;
4548 		T9_ = newSymNode__ast_3716(result);
4549 		add__ast_4797((*iter).ast, T9_);
4550 	}
4551 	LA1_: ;
4552 	return result;
4553 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,getStateField__lambdalifting_4660)4554 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, getStateField__lambdalifting_4660)(tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner) {
4555 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
4556 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* T1_;
4557 	tyObject_TType__facALICuu8zUj0hjvbTLFg* T2_;
4558 	result = NIM_NIL;
4559 	T1_ = NIM_NIL;
4560 	T1_ = getHiddenParam__lambdalifting_106(g, owner);
4561 	T2_ = NIM_NIL;
4562 	T2_ = skipTypes__ast_3735((*T1_).typ, TM__PI7oJkFuxeeTWjPTjlNxqg_10);
4563 	result = (*(*(*T2_).n)._kind_6.sons->data[((NI) 0)])._kind_4.sym;
4564 	return result;
4565 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,liftIterToProc__lambdalifting_5051)4566 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) {
4567 	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
4568 	tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ d;
4569 	tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw c;
4570 	tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw oldKind;
4571 	tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA oldCC;
4572 	tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym221_;
4573 	result = NIM_NIL;
4574 	nimZeroMem((void*)(&d), sizeof(tyObject_DetectionPass__CrsGUD9a6sd4xCGl64gvIdQ));
4575 	initDetectionPass__lambdalifting_396(g, fn, idgen, (&d));
4576 	nimZeroMem((void*)(&c), sizeof(tyObject_LiftingPass__xciiuOR269bKYtnZXJZ4Npw));
4577 	initLiftingPass__lambdalifting_2151(fn, (&c));
4578 	oldKind = (*fn).kind;
4579 	oldCC = (*(*fn).typ).callConv;
4580 	transitionRoutineSymKind__ast_4393(fn, ((tyEnum_TSymKind__uwRDzlpaGW5WJzgBn4R8Eg) 15));
4581 	(*(*fn).typ).callConv = ((tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA) 9);
4582 	xX60gensym221_ = fn;
4583 	X5BX5Deq___lambdalifting_891((&d.ownerToType), (NI)((NI)((NU32)(((NI) ((*xX60gensym221_).Sup.itemId.module))) << (NU32)(((NI) 20))) + ((NI) ((*xX60gensym221_).Sup.itemId.item))), ptrType);
4584 	detectCapturedVars__lambdalifting_1998(body, fn, (&d));
4585 	result = liftCapturedVars__lambdalifting_4665(body, fn, (&d), (&c));
4586 	transitionRoutineSymKind__ast_4393(fn, ((tyEnum_TSymKind__uwRDzlpaGW5WJzgBn4R8Eg) (oldKind)));
4587 	(*(*fn).typ).callConv = oldCC;
4588 	return result;
4589 }
N_NIMCALL(void,compiler_lambdaliftingDatInit000)4590 N_LIB_PRIVATE N_NIMCALL(void, compiler_lambdaliftingDatInit000)(void) {
4591 static TNimNode* TM__PI7oJkFuxeeTWjPTjlNxqg_2_3[3];
4592 static TNimNode* TM__PI7oJkFuxeeTWjPTjlNxqg_21_3[3];
4593 static TNimNode TM__PI7oJkFuxeeTWjPTjlNxqg_0[8];
4594 NTIkeyvaluepair__jy9cqXDNMQDkZGlO5foeORw_.size = sizeof(tyTuple__jy9cqXDNMQDkZGlO5foeORw);
4595 NTIkeyvaluepair__jy9cqXDNMQDkZGlO5foeORw_.align = NIM_ALIGNOF(tyTuple__jy9cqXDNMQDkZGlO5foeORw);
4596 NTIkeyvaluepair__jy9cqXDNMQDkZGlO5foeORw_.kind = 18;
4597 NTIkeyvaluepair__jy9cqXDNMQDkZGlO5foeORw_.base = 0;
4598 TM__PI7oJkFuxeeTWjPTjlNxqg_2_3[0] = &TM__PI7oJkFuxeeTWjPTjlNxqg_0[1];
4599 TM__PI7oJkFuxeeTWjPTjlNxqg_0[1].kind = 1;
4600 TM__PI7oJkFuxeeTWjPTjlNxqg_0[1].offset = offsetof(tyTuple__jy9cqXDNMQDkZGlO5foeORw, Field0);
4601 TM__PI7oJkFuxeeTWjPTjlNxqg_0[1].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
4602 TM__PI7oJkFuxeeTWjPTjlNxqg_0[1].name = "Field0";
4603 TM__PI7oJkFuxeeTWjPTjlNxqg_2_3[1] = &TM__PI7oJkFuxeeTWjPTjlNxqg_0[2];
4604 TM__PI7oJkFuxeeTWjPTjlNxqg_0[2].kind = 1;
4605 TM__PI7oJkFuxeeTWjPTjlNxqg_0[2].offset = offsetof(tyTuple__jy9cqXDNMQDkZGlO5foeORw, Field1);
4606 TM__PI7oJkFuxeeTWjPTjlNxqg_0[2].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
4607 TM__PI7oJkFuxeeTWjPTjlNxqg_0[2].name = "Field1";
4608 TM__PI7oJkFuxeeTWjPTjlNxqg_2_3[2] = &TM__PI7oJkFuxeeTWjPTjlNxqg_0[3];
4609 TM__PI7oJkFuxeeTWjPTjlNxqg_0[3].kind = 1;
4610 TM__PI7oJkFuxeeTWjPTjlNxqg_0[3].offset = offsetof(tyTuple__jy9cqXDNMQDkZGlO5foeORw, Field2);
4611 TM__PI7oJkFuxeeTWjPTjlNxqg_0[3].typ = (&NTIptype__qt2Wh0elFEz5fH0l7yusLw_);
4612 TM__PI7oJkFuxeeTWjPTjlNxqg_0[3].name = "Field2";
4613 TM__PI7oJkFuxeeTWjPTjlNxqg_0[0].len = 3; TM__PI7oJkFuxeeTWjPTjlNxqg_0[0].kind = 2; TM__PI7oJkFuxeeTWjPTjlNxqg_0[0].sons = &TM__PI7oJkFuxeeTWjPTjlNxqg_2_3[0];
4614 NTIkeyvaluepair__jy9cqXDNMQDkZGlO5foeORw_.node = &TM__PI7oJkFuxeeTWjPTjlNxqg_0[0];
4615 NTIkeyvaluepairseq__KHtASjJ36dOrANNiImdvag_.size = sizeof(tySequence__KHtASjJ36dOrANNiImdvag*);
4616 NTIkeyvaluepairseq__KHtASjJ36dOrANNiImdvag_.align = NIM_ALIGNOF(tySequence__KHtASjJ36dOrANNiImdvag*);
4617 NTIkeyvaluepairseq__KHtASjJ36dOrANNiImdvag_.kind = 24;
4618 NTIkeyvaluepairseq__KHtASjJ36dOrANNiImdvag_.base = (&NTIkeyvaluepair__jy9cqXDNMQDkZGlO5foeORw_);
4619 NTIkeyvaluepairseq__KHtASjJ36dOrANNiImdvag_.marker = Marker_tySequence__KHtASjJ36dOrANNiImdvag;
4620 NTIkeyvaluepair__Wymbvuvlf49clEgp9bKoFN9bw_.size = sizeof(tyTuple__Wymbvuvlf49clEgp9bKoFN9bw);
4621 NTIkeyvaluepair__Wymbvuvlf49clEgp9bKoFN9bw_.align = NIM_ALIGNOF(tyTuple__Wymbvuvlf49clEgp9bKoFN9bw);
4622 NTIkeyvaluepair__Wymbvuvlf49clEgp9bKoFN9bw_.kind = 18;
4623 NTIkeyvaluepair__Wymbvuvlf49clEgp9bKoFN9bw_.base = 0;
4624 TM__PI7oJkFuxeeTWjPTjlNxqg_21_3[0] = &TM__PI7oJkFuxeeTWjPTjlNxqg_0[5];
4625 TM__PI7oJkFuxeeTWjPTjlNxqg_0[5].kind = 1;
4626 TM__PI7oJkFuxeeTWjPTjlNxqg_0[5].offset = offsetof(tyTuple__Wymbvuvlf49clEgp9bKoFN9bw, Field0);
4627 TM__PI7oJkFuxeeTWjPTjlNxqg_0[5].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
4628 TM__PI7oJkFuxeeTWjPTjlNxqg_0[5].name = "Field0";
4629 TM__PI7oJkFuxeeTWjPTjlNxqg_21_3[1] = &TM__PI7oJkFuxeeTWjPTjlNxqg_0[6];
4630 TM__PI7oJkFuxeeTWjPTjlNxqg_0[6].kind = 1;
4631 TM__PI7oJkFuxeeTWjPTjlNxqg_0[6].offset = offsetof(tyTuple__Wymbvuvlf49clEgp9bKoFN9bw, Field1);
4632 TM__PI7oJkFuxeeTWjPTjlNxqg_0[6].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
4633 TM__PI7oJkFuxeeTWjPTjlNxqg_0[6].name = "Field1";
4634 TM__PI7oJkFuxeeTWjPTjlNxqg_21_3[2] = &TM__PI7oJkFuxeeTWjPTjlNxqg_0[7];
4635 TM__PI7oJkFuxeeTWjPTjlNxqg_0[7].kind = 1;
4636 TM__PI7oJkFuxeeTWjPTjlNxqg_0[7].offset = offsetof(tyTuple__Wymbvuvlf49clEgp9bKoFN9bw, Field2);
4637 TM__PI7oJkFuxeeTWjPTjlNxqg_0[7].typ = (&NTIpnode__fKfcLzXYiz5jNu3NH3Tv8Q_);
4638 TM__PI7oJkFuxeeTWjPTjlNxqg_0[7].name = "Field2";
4639 TM__PI7oJkFuxeeTWjPTjlNxqg_0[4].len = 3; TM__PI7oJkFuxeeTWjPTjlNxqg_0[4].kind = 2; TM__PI7oJkFuxeeTWjPTjlNxqg_0[4].sons = &TM__PI7oJkFuxeeTWjPTjlNxqg_21_3[0];
4640 NTIkeyvaluepair__Wymbvuvlf49clEgp9bKoFN9bw_.node = &TM__PI7oJkFuxeeTWjPTjlNxqg_0[4];
4641 NTIkeyvaluepairseq__YuKuU17u5ApAIki23DK9bJw_.size = sizeof(tySequence__YuKuU17u5ApAIki23DK9bJw*);
4642 NTIkeyvaluepairseq__YuKuU17u5ApAIki23DK9bJw_.align = NIM_ALIGNOF(tySequence__YuKuU17u5ApAIki23DK9bJw*);
4643 NTIkeyvaluepairseq__YuKuU17u5ApAIki23DK9bJw_.kind = 24;
4644 NTIkeyvaluepairseq__YuKuU17u5ApAIki23DK9bJw_.base = (&NTIkeyvaluepair__Wymbvuvlf49clEgp9bKoFN9bw_);
4645 NTIkeyvaluepairseq__YuKuU17u5ApAIki23DK9bJw_.marker = Marker_tySequence__YuKuU17u5ApAIki23DK9bJw;
4646 }
4647 
4648