N_NIMCALL(void, settarget_145599)(NU8 o, NU8 c) { NI TMP533; NI TMP534; NI TMP535; NimStringDesc* LOC9; nimfr("setTarget", "platform.nim") nimln(198, "platform.nim"); { nimln(198, "platform.nim"); nimln(198, "platform.nim"); nimln(198, "platform.nim"); if (!!(!((c == ((NU8) 0))))) goto LA3; nimln(198, "platform.nim"); failedassertimpl_80421(((NimStringDesc*) &TMP531)); } LA3: ; nimln(199, "platform.nim"); { nimln(199, "platform.nim"); nimln(199, "platform.nim"); nimln(199, "platform.nim"); if (!!(!((o == ((NU8) 0))))) goto LA7; nimln(199, "platform.nim"); failedassertimpl_80421(((NimStringDesc*) &TMP532)); } LA7: ; nimln(201, "platform.nim"); targetcpu_145573 = c; nimln(202, "platform.nim"); targetos_145575 = o; nimln(203, "platform.nim"); nimln(203, "platform.nim"); if (c < 1 || c > 14) raiseIndexError(); TMP533 = divInt(cpu_145468[(c)- 1].Field1, 8); intsize_145590 = (NI64)(TMP533); nimln(204, "platform.nim"); nimln(204, "platform.nim"); if (c < 1 || c > 14) raiseIndexError(); TMP534 = divInt(cpu_145468[(c)- 1].Field3, 8); floatsize_145591 = (NI64)(TMP534); nimln(205, "platform.nim"); nimln(205, "platform.nim"); if (c < 1 || c > 14) raiseIndexError(); TMP535 = divInt(cpu_145468[(c)- 1].Field4, 8); ptrsize_145592 = (NI64)(TMP535); nimln(206, "platform.nim"); if (o < 1 || o > 23) raiseIndexError(); LOC9 = 0; LOC9 = tnl_145593; tnl_145593 = copyStringRC1(os_145063[(o)- 1].Field5); if (LOC9) nimGCunrefNoCycle(LOC9); popFrame(); }
N_NIMCALL(void, settarget_118586)(NU8 o, NU8 c) { NI TMP453; NI TMP454; NI TMP455; NimStringDesc* LOC9; nimfr("setTarget", "platform.nim") nimln(198, "platform.nim"); { nimln(198, "platform.nim"); nimln(198, "platform.nim"); nimln(198, "platform.nim"); if (!!(!((c == ((NU8) 0))))) goto LA3; nimln(198, "platform.nim"); hiddenraiseassert_76017(((NimStringDesc*) &TMP451)); } LA3: ; nimln(199, "platform.nim"); { nimln(199, "platform.nim"); nimln(199, "platform.nim"); nimln(199, "platform.nim"); if (!!(!((o == ((NU8) 0))))) goto LA7; nimln(199, "platform.nim"); hiddenraiseassert_76017(((NimStringDesc*) &TMP452)); } LA7: ; nimln(201, "platform.nim"); targetcpu_118560 = c; nimln(202, "platform.nim"); targetos_118562 = o; nimln(203, "platform.nim"); nimln(203, "platform.nim"); if (c < 1 || c > 14) raiseIndexError(); TMP453 = divInt(cpu_118460[(c)- 1].Field1, 8); intsize_118577 = (NI64)(TMP453); nimln(204, "platform.nim"); nimln(204, "platform.nim"); if (c < 1 || c > 14) raiseIndexError(); TMP454 = divInt(cpu_118460[(c)- 1].Field3, 8); floatsize_118578 = (NI64)(TMP454); nimln(205, "platform.nim"); nimln(205, "platform.nim"); if (c < 1 || c > 14) raiseIndexError(); TMP455 = divInt(cpu_118460[(c)- 1].Field4, 8); ptrsize_118579 = (NI64)(TMP455); nimln(206, "platform.nim"); if (o < 1 || o > 23) raiseIndexError(); LOC9 = 0; LOC9 = tnl_118580; tnl_118580 = copyStringRC1(os_118061[(o)- 1].Field5); if (LOC9) nimGCunrefNoCycle(LOC9); popFrame(); }
N_NIMCALL(struct timeval, timevalfrommilliseconds_512628)(NI timeout) { struct timeval result; nimfr("timeValFromMilliseconds", "rawsockets.nim") memset((void*)(&result), 0, sizeof(result)); nimln(369, "rawsockets.nim"); { NI seconds; NI TMP10619; NI TMP10620; NI TMP10621; NI TMP10622; if (!!((timeout == ((NI) -1)))) goto LA3; nimln(370, "rawsockets.nim"); TMP10619 = divInt(timeout, ((NI) 1000)); seconds = (NI)(TMP10619); nimln(371, "rawsockets.nim"); result.tv_sec = ((NI) (((NI32) (seconds)))); nimln(372, "rawsockets.nim"); TMP10620 = mulInt(seconds, ((NI) 1000)); TMP10621 = subInt(timeout, (NI)(TMP10620)); TMP10622 = mulInt((NI)(TMP10621), ((NI) 1000)); result.tv_usec = ((NI) (((NI32) ((NI)(TMP10622))))); } LA3: ; popFrame(); return result; }
N_NIMCALL(void, sort_362782)(tsym191843** a_362790, NI a_362790Len0, TY362801 cmp_362800, NU8 order_362803) { NI n; tsymseq191815* b; NI TMP5101; NI s; nimfr("sort", "algorithm.nim") nimln(153, "algorithm.nim"); nimln(153, "algorithm.nim"); n = a_362790Len0; b = 0; nimln(155, "algorithm.nim"); nimln(155, "algorithm.nim"); TMP5101 = divInt(n, 2); b = (tsymseq191815*) newSeq((&NTI191815), (NI32)(TMP5101)); nimln(156, "algorithm.nim"); s = 1; nimln(157, "algorithm.nim"); while (1) { NI m; NI TMP5102; NI TMP5103; NI TMP5112; nimln(157, "algorithm.nim"); if (!(s < n)) goto LA1; nimln(158, "algorithm.nim"); nimln(158, "algorithm.nim"); nimln(158, "algorithm.nim"); TMP5102 = subInt(n, 1); TMP5103 = subInt((NI32)(TMP5102), s); m = (NI32)(TMP5103); nimln(159, "algorithm.nim"); while (1) { NI TMP5108; NI TMP5109; NI TMP5110; NI TMP5111; nimln(159, "algorithm.nim"); if (!(0 <= m)) goto LA2; nimln(160, "algorithm.nim"); nimln(160, "algorithm.nim"); nimln(160, "algorithm.nim"); nimln(160, "algorithm.nim"); TMP5108 = subInt(m, s); TMP5109 = addInt((NI32)(TMP5108), 1); nimln(160, "algorithm.nim"); TMP5110 = addInt(m, s); merge_362843(a_362790, a_362790Len0, b->data, b->Sup.len, (((NI32)(TMP5109) >= 0) ? (NI32)(TMP5109) : 0), m, (NI32)(TMP5110), cmp_362800, order_362803); nimln(161, "algorithm.nim"); nimln(161, "algorithm.nim"); TMP5111 = mulInt(s, 2); m = subInt(m, (NI32)(TMP5111)); } LA2: ; nimln(162, "algorithm.nim"); nimln(162, "algorithm.nim"); TMP5112 = mulInt(s, 2); s = (NI32)(TMP5112); } LA1: ; popFrame(); }
N_NIMCALL(void, sort_356782)(tsym185843** a_356790, NI a_356790Len0, TY356801 cmp_356800, NU8 order_356803) { NI n; tsymseq185815* b; NI TMP5095; NI s; nimfr("sort", "algorithm.nim") nimln(153, "algorithm.nim"); nimln(153, "algorithm.nim"); n = a_356790Len0; b = 0; nimln(155, "algorithm.nim"); nimln(155, "algorithm.nim"); TMP5095 = divInt(n, 2); b = (tsymseq185815*) newSeq((&NTI185815), (NI32)(TMP5095)); nimln(156, "algorithm.nim"); s = 1; nimln(157, "algorithm.nim"); while (1) { NI m; NI TMP5096; NI TMP5097; NI TMP5106; nimln(157, "algorithm.nim"); if (!(s < n)) goto LA1; nimln(158, "algorithm.nim"); nimln(158, "algorithm.nim"); nimln(158, "algorithm.nim"); TMP5096 = subInt(n, 1); TMP5097 = subInt((NI32)(TMP5096), s); m = (NI32)(TMP5097); nimln(159, "algorithm.nim"); while (1) { NI TMP5102; NI TMP5103; NI TMP5104; NI TMP5105; nimln(159, "algorithm.nim"); if (!(0 <= m)) goto LA2; nimln(160, "algorithm.nim"); nimln(160, "algorithm.nim"); nimln(160, "algorithm.nim"); nimln(160, "algorithm.nim"); TMP5102 = subInt(m, s); TMP5103 = addInt((NI32)(TMP5102), 1); nimln(160, "algorithm.nim"); TMP5104 = addInt(m, s); merge_356843(a_356790, a_356790Len0, b->data, b->Sup.len, (((NI32)(TMP5103) >= 0) ? (NI32)(TMP5103) : 0), m, (NI32)(TMP5104), cmp_356800, order_356803); nimln(161, "algorithm.nim"); nimln(161, "algorithm.nim"); TMP5105 = mulInt(s, 2); m = subInt(m, (NI32)(TMP5105)); } LA2: ; nimln(162, "algorithm.nim"); nimln(162, "algorithm.nim"); TMP5106 = mulInt(s, 2); s = (NI32)(TMP5106); } LA1: ; popFrame(); }
N_NIMCALL(void, sort_360166)(tentry359566* a_360174, NI a_360174Len0, TY360185 cmp_360184, NU8 order_360187) { NI n; TY359573* b; NI TMP5114; NI s; nimfr("sort", "algorithm.nim") nimln(153, "algorithm.nim"); nimln(153, "algorithm.nim"); n = a_360174Len0; b = 0; nimln(155, "algorithm.nim"); nimln(155, "algorithm.nim"); TMP5114 = divInt(n, 2); b = (TY359573*) newSeq((&NTI359573), (NI32)(TMP5114)); nimln(156, "algorithm.nim"); s = 1; nimln(157, "algorithm.nim"); while (1) { NI m; NI TMP5115; NI TMP5116; NI TMP5124; nimln(157, "algorithm.nim"); if (!(s < n)) goto LA1; nimln(158, "algorithm.nim"); nimln(158, "algorithm.nim"); nimln(158, "algorithm.nim"); TMP5115 = subInt(n, 1); TMP5116 = subInt((NI32)(TMP5115), s); m = (NI32)(TMP5116); nimln(159, "algorithm.nim"); while (1) { NI TMP5120; NI TMP5121; NI TMP5122; NI TMP5123; nimln(159, "algorithm.nim"); if (!(0 <= m)) goto LA2; nimln(160, "algorithm.nim"); nimln(160, "algorithm.nim"); nimln(160, "algorithm.nim"); nimln(160, "algorithm.nim"); TMP5120 = subInt(m, s); TMP5121 = addInt((NI32)(TMP5120), 1); nimln(160, "algorithm.nim"); TMP5122 = addInt(m, s); merge_360227(a_360174, a_360174Len0, b->data, b->Sup.len, (((NI32)(TMP5121) >= 0) ? (NI32)(TMP5121) : 0), m, (NI32)(TMP5122), cmp_360184, order_360187); nimln(161, "algorithm.nim"); nimln(161, "algorithm.nim"); TMP5123 = mulInt(s, 2); m = subInt(m, (NI32)(TMP5123)); } LA2: ; nimln(162, "algorithm.nim"); nimln(162, "algorithm.nim"); TMP5124 = mulInt(s, 2); s = (NI32)(TMP5124); } LA1: ; popFrame(); }
N_NIMCALL(void, sort_366166)(tentry365566* a_366174, NI a_366174Len0, TY366185 cmp_366184, NU8 order_366187) { NI n; TY365573* b; NI TMP5120; NI s; nimfr("sort", "algorithm.nim") nimln(153, "algorithm.nim"); nimln(153, "algorithm.nim"); n = a_366174Len0; b = 0; nimln(155, "algorithm.nim"); nimln(155, "algorithm.nim"); TMP5120 = divInt(n, 2); b = (TY365573*) newSeq((&NTI365573), (NI32)(TMP5120)); nimln(156, "algorithm.nim"); s = 1; nimln(157, "algorithm.nim"); while (1) { NI m; NI TMP5121; NI TMP5122; NI TMP5130; nimln(157, "algorithm.nim"); if (!(s < n)) goto LA1; nimln(158, "algorithm.nim"); nimln(158, "algorithm.nim"); nimln(158, "algorithm.nim"); TMP5121 = subInt(n, 1); TMP5122 = subInt((NI32)(TMP5121), s); m = (NI32)(TMP5122); nimln(159, "algorithm.nim"); while (1) { NI TMP5126; NI TMP5127; NI TMP5128; NI TMP5129; nimln(159, "algorithm.nim"); if (!(0 <= m)) goto LA2; nimln(160, "algorithm.nim"); nimln(160, "algorithm.nim"); nimln(160, "algorithm.nim"); nimln(160, "algorithm.nim"); TMP5126 = subInt(m, s); TMP5127 = addInt((NI32)(TMP5126), 1); nimln(160, "algorithm.nim"); TMP5128 = addInt(m, s); merge_366227(a_366174, a_366174Len0, b->data, b->Sup.len, (((NI32)(TMP5127) >= 0) ? (NI32)(TMP5127) : 0), m, (NI32)(TMP5128), cmp_366184, order_366187); nimln(161, "algorithm.nim"); nimln(161, "algorithm.nim"); TMP5129 = mulInt(s, 2); m = subInt(m, (NI32)(TMP5129)); } LA2: ; nimln(162, "algorithm.nim"); nimln(162, "algorithm.nim"); TMP5130 = mulInt(s, 2); s = (NI32)(TMP5130); } LA1: ; popFrame(); }
N_NIMCALL(void, sort_319717)(tsym171689** a, NI aLen0, TY319724 cmp, NU8 order) { NI n; tsymseq171661* b; NI TMP4976; NI s; nimfr("sort", "algorithm.nim") nimln(123, "algorithm.nim"); nimln(123, "algorithm.nim"); n = aLen0; b = 0; nimln(125, "algorithm.nim"); nimln(125, "algorithm.nim"); TMP4976 = divInt(n, 2); b = (tsymseq171661*) newSeq((&NTI171661), (NI64)(TMP4976)); nimln(126, "algorithm.nim"); s = 1; nimln(127, "algorithm.nim"); while (1) { NI m; NI TMP4977; NI TMP4978; NI TMP4987; nimln(127, "algorithm.nim"); if (!(s < n)) goto LA1; nimln(128, "algorithm.nim"); nimln(128, "algorithm.nim"); nimln(128, "algorithm.nim"); TMP4977 = subInt(n, 1); TMP4978 = subInt((NI64)(TMP4977), s); m = (NI64)(TMP4978); nimln(129, "algorithm.nim"); while (1) { NI TMP4983; NI TMP4984; NI TMP4985; NI TMP4986; nimln(702, "system.nim"); if (!(0 <= m)) goto LA2; nimln(130, "algorithm.nim"); nimln(130, "algorithm.nim"); nimln(130, "algorithm.nim"); nimln(130, "algorithm.nim"); TMP4983 = subInt(m, s); TMP4984 = addInt((NI64)(TMP4983), 1); nimln(130, "algorithm.nim"); TMP4985 = addInt(m, s); merge_319761(a, aLen0, b->data, b->Sup.len, (((NI64)(TMP4984) >= 0) ? (NI64)(TMP4984) : 0), m, (NI64)(TMP4985), cmp, order); nimln(131, "algorithm.nim"); nimln(131, "algorithm.nim"); TMP4986 = mulInt(s, 2); m = subInt(m, (NI64)(TMP4986)); } LA2: ; nimln(132, "algorithm.nim"); nimln(132, "algorithm.nim"); TMP4987 = mulInt(s, 2); s = (NI64)(TMP4987); } LA1: ; popFrame(); }
N_NIMCALL(void, sort_320717)(tsym172689** a, NI aLen0, TY320724 cmp, NU8 order) { NI n; tsymseq172661* b; NI TMP4973; NI s; nimfr("sort", "algorithm.nim") nimln(123, "algorithm.nim"); nimln(123, "algorithm.nim"); n = aLen0; b = 0; nimln(125, "algorithm.nim"); nimln(125, "algorithm.nim"); TMP4973 = divInt(n, 2); b = (tsymseq172661*) newSeq((&NTI172661), (NI32)(TMP4973)); nimln(126, "algorithm.nim"); s = 1; nimln(127, "algorithm.nim"); while (1) { NI m; NI TMP4974; NI TMP4975; NI TMP4984; nimln(127, "algorithm.nim"); if (!(s < n)) goto LA1; nimln(128, "algorithm.nim"); nimln(128, "algorithm.nim"); nimln(128, "algorithm.nim"); TMP4974 = subInt(n, 1); TMP4975 = subInt((NI32)(TMP4974), s); m = (NI32)(TMP4975); nimln(129, "algorithm.nim"); while (1) { NI TMP4980; NI TMP4981; NI TMP4982; NI TMP4983; nimln(702, "system.nim"); if (!(0 <= m)) goto LA2; nimln(130, "algorithm.nim"); nimln(130, "algorithm.nim"); nimln(130, "algorithm.nim"); nimln(130, "algorithm.nim"); TMP4980 = subInt(m, s); TMP4981 = addInt((NI32)(TMP4980), 1); nimln(130, "algorithm.nim"); TMP4982 = addInt(m, s); merge_320761(a, aLen0, b->data, b->Sup.len, (((NI32)(TMP4981) >= 0) ? (NI32)(TMP4981) : 0), m, (NI32)(TMP4982), cmp, order); nimln(131, "algorithm.nim"); nimln(131, "algorithm.nim"); TMP4983 = mulInt(s, 2); m = subInt(m, (NI32)(TMP4983)); } LA2: ; nimln(132, "algorithm.nim"); nimln(132, "algorithm.nim"); TMP4984 = mulInt(s, 2); s = (NI32)(TMP4984); } LA1: ; popFrame(); }
N_NIMCALL(void, sort_319717)(tsym171689** a, NI aLen0, TY319724 cmp, NU8 order) { NI n; tsymseq171661* b; NI TMP4979; NI s; nimfr("sort", "algorithm.nim") nimln(123, "algorithm.nim"); nimln(123, "algorithm.nim"); n = aLen0; b = 0; nimln(125, "algorithm.nim"); nimln(125, "algorithm.nim"); TMP4979 = divInt(n, 2); b = (tsymseq171661*) newSeq((&NTI171661), (NI32)(TMP4979)); nimln(126, "algorithm.nim"); s = 1; nimln(127, "algorithm.nim"); while (1) { NI m; NI TMP4980; NI TMP4981; NI TMP4990; nimln(127, "algorithm.nim"); if (!(s < n)) goto LA1; nimln(128, "algorithm.nim"); nimln(128, "algorithm.nim"); nimln(128, "algorithm.nim"); TMP4980 = subInt(n, 1); TMP4981 = subInt((NI32)(TMP4980), s); m = (NI32)(TMP4981); nimln(129, "algorithm.nim"); while (1) { NI TMP4986; NI TMP4987; NI TMP4988; NI TMP4989; nimln(702, "system.nim"); if (!(0 <= m)) goto LA2; nimln(130, "algorithm.nim"); nimln(130, "algorithm.nim"); nimln(130, "algorithm.nim"); nimln(130, "algorithm.nim"); TMP4986 = subInt(m, s); TMP4987 = addInt((NI32)(TMP4986), 1); nimln(130, "algorithm.nim"); TMP4988 = addInt(m, s); merge_319761(a, aLen0, b->data, b->Sup.len, (((NI32)(TMP4987) >= 0) ? (NI32)(TMP4987) : 0), m, (NI32)(TMP4988), cmp, order); nimln(131, "algorithm.nim"); nimln(131, "algorithm.nim"); TMP4989 = mulInt(s, 2); m = subInt(m, (NI32)(TMP4989)); } LA2: ; nimln(132, "algorithm.nim"); nimln(132, "algorithm.nim"); TMP4990 = mulInt(s, 2); s = (NI32)(TMP4990); } LA1: ; popFrame(); }
N_NIMCALL(void, sort_322424)(tentry321943* a, NI aLen0, TY322431 cmp, NU8 order) { NI n; TY321950* b; NI TMP4998; NI s; nimfr("sort", "algorithm.nim") nimln(123, "algorithm.nim"); nimln(123, "algorithm.nim"); n = aLen0; b = 0; nimln(125, "algorithm.nim"); nimln(125, "algorithm.nim"); TMP4998 = divInt(n, 2); b = (TY321950*) newSeq((&NTI321950), (NI32)(TMP4998)); nimln(126, "algorithm.nim"); s = 1; nimln(127, "algorithm.nim"); while (1) { NI m; NI TMP4999; NI TMP5000; NI TMP5008; nimln(127, "algorithm.nim"); if (!(s < n)) goto LA1; nimln(128, "algorithm.nim"); nimln(128, "algorithm.nim"); nimln(128, "algorithm.nim"); TMP4999 = subInt(n, 1); TMP5000 = subInt((NI32)(TMP4999), s); m = (NI32)(TMP5000); nimln(129, "algorithm.nim"); while (1) { NI TMP5004; NI TMP5005; NI TMP5006; NI TMP5007; nimln(702, "system.nim"); if (!(0 <= m)) goto LA2; nimln(130, "algorithm.nim"); nimln(130, "algorithm.nim"); nimln(130, "algorithm.nim"); nimln(130, "algorithm.nim"); TMP5004 = subInt(m, s); TMP5005 = addInt((NI32)(TMP5004), 1); nimln(130, "algorithm.nim"); TMP5006 = addInt(m, s); merge_322468(a, aLen0, b->data, b->Sup.len, (((NI32)(TMP5005) >= 0) ? (NI32)(TMP5005) : 0), m, (NI32)(TMP5006), cmp, order); nimln(131, "algorithm.nim"); nimln(131, "algorithm.nim"); TMP5007 = mulInt(s, 2); m = subInt(m, (NI32)(TMP5007)); } LA2: ; nimln(132, "algorithm.nim"); nimln(132, "algorithm.nim"); TMP5008 = mulInt(s, 2); s = (NI32)(TMP5008); } LA1: ; popFrame(); }N_NOINLINE(void, purealgorithmInit)(void) {
N_NIMCALL(void, idsynchronizationpoint_188453)(NI idrange) { NI TMP2544; NI TMP2545; NI TMP2546; NI TMP2547; nimfr("idSynchronizationPoint", "idgen.nim") nimln(41, "idgen.nim"); TMP2544 = divInt(gfrontendid_188012, idrange); TMP2545 = addInt((NI)(TMP2544), ((NI) 1)); TMP2546 = mulInt((NI)(TMP2545), idrange); TMP2547 = addInt((NI)(TMP2546), ((NI) 1)); gfrontendid_188012 = (NI)(TMP2547); popFrame(); }
static N_INLINE(NI, rightsize_151407)(NI count) { NI result; NI TMP661; NI TMP662; NI TMP663; nimfr("rightSize", "sets.nim") result = 0; nimln(124, "sets.nim"); TMP661 = mulInt(((NI) (count)), ((NI) 3)); TMP662 = divInt(((NI)chckRange((NI)(TMP661), ((NI) (-2147483647 -1)), ((NI) 2147483647))), ((NI) 2)); TMP663 = addInt(((NI)chckRange((NI)(TMP662), ((NI) (-2147483647 -1)), ((NI) 2147483647))), ((NI) 4)); result = nextpoweroftwo_148531(((NI)chckRange((NI)(TMP663), ((NI) (-2147483647 -1)), ((NI) 2147483647)))); popFrame(); return result; }
static N_INLINE(NI, rightsize_151407)(NI count) { NI result; NI TMP660; NI TMP661; NI TMP662; nimfr("rightSize", "sets.nim") result = 0; nimln(124, "sets.nim"); TMP660 = mulInt(((NI) (count)), ((NI) 3)); TMP661 = divInt(((NI) ((NI)(TMP660))), ((NI) 2)); TMP662 = addInt(((NI) ((NI)(TMP661))), ((NI) 4)); result = nextpoweroftwo_148531(((NI) ((NI)(TMP662)))); popFrame(); return result; }
static N_INLINE(NI, rightsize_162532)(NI count) { NI result; NI TMP698; NI TMP699; NI TMP700; nimfr("rightSize", "tables.nim") result = 0; nimln(95, "tables.nim"); TMP698 = mulInt(((NI) (count)), ((NI) 3)); TMP699 = divInt(((NI) ((NI)(TMP698))), ((NI) 2)); TMP700 = addInt(((NI) ((NI)(TMP699))), ((NI) 4)); result = nextpoweroftwo_155627(((NI) ((NI)(TMP700)))); popFrame(); return result; }
N_NIMCALL(void, idsynchronizationpoint_185452)(NI idrange) { NI TMP1962; NI TMP1963; NI TMP1964; NI TMP1965; nimfr("idSynchronizationPoint", "idgen.nim") nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); TMP1962 = divInt(gfrontendid_185007, idrange); TMP1963 = addInt((NI64)(TMP1962), 1); TMP1964 = mulInt((NI64)(TMP1963), idrange); TMP1965 = addInt((NI64)(TMP1964), 1); gfrontendid_185007 = (NI64)(TMP1965); popFrame(); }
N_NIMCALL(void, idsynchronizationpoint_190452)(NI idrange) { NI TMP1967; NI TMP1968; NI TMP1969; NI TMP1970; nimfr("idSynchronizationPoint", "idgen.nim") nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); TMP1967 = divInt(gfrontendid_190007, idrange); TMP1968 = addInt((NI64)(TMP1967), 1); TMP1969 = mulInt((NI64)(TMP1968), idrange); TMP1970 = addInt((NI64)(TMP1969), 1); gfrontendid_190007 = (NI64)(TMP1970); popFrame(); }
N_NIMCALL(void, idsynchronizationpoint_169440)(NI idrange) { NI TMP1940; NI TMP1941; NI TMP1942; NI TMP1943; nimfr("IDsynchronizationPoint", "idgen.nim") nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); TMP1940 = divInt(gfrontendid_169006, idrange); TMP1941 = addInt((NI64)(TMP1940), 1); TMP1942 = mulInt((NI64)(TMP1941), idrange); TMP1943 = addInt((NI64)(TMP1942), 1); gfrontendid_169006 = (NI64)(TMP1943); popFrame(); }
N_NIMCALL(void, idsynchronizationpoint_170440)(NI idrange) { NI TMP1937; NI TMP1938; NI TMP1939; NI TMP1940; nimfr("IDsynchronizationPoint", "idgen.nim") nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); TMP1937 = divInt(gfrontendid_170006, idrange); TMP1938 = addInt((NI64)(TMP1937), 1); TMP1939 = mulInt((NI64)(TMP1938), idrange); TMP1940 = addInt((NI64)(TMP1939), 1); gfrontendid_170006 = (NI64)(TMP1940); popFrame(); }
N_NIMCALL(void, idsynchronizationpoint_170440)(NI idrange) { NI TMP1930; NI TMP1931; NI TMP1932; NI TMP1933; nimfr("IDsynchronizationPoint", "idgen.nim") nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); TMP1930 = divInt(gfrontendid_170006, idrange); TMP1931 = addInt((NI32)(TMP1930), 1); TMP1932 = mulInt((NI32)(TMP1931), idrange); TMP1933 = addInt((NI32)(TMP1932), 1); gfrontendid_170006 = (NI32)(TMP1933); popFrame(); }
N_NIMCALL(void, idsynchronizationpoint_185452)(NI idrange) { NI TMP1956; NI TMP1957; NI TMP1958; NI TMP1959; nimfr("idSynchronizationPoint", "idgen.nim") nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); TMP1956 = divInt(gfrontendid_185007, idrange); TMP1957 = addInt((NI32)(TMP1956), 1); TMP1958 = mulInt((NI32)(TMP1957), idrange); TMP1959 = addInt((NI32)(TMP1958), 1); gfrontendid_185007 = (NI32)(TMP1959); popFrame(); }
N_NIMCALL(void, idsynchronizationpoint_190452)(NI idrange) { NI TMP1958; NI TMP1959; NI TMP1960; NI TMP1961; nimfr("idSynchronizationPoint", "idgen.nim") nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); TMP1958 = divInt(gfrontendid_190007, idrange); TMP1959 = addInt((NI32)(TMP1958), 1); TMP1960 = mulInt((NI32)(TMP1959), idrange); TMP1961 = addInt((NI32)(TMP1960), 1); gfrontendid_190007 = (NI32)(TMP1961); popFrame(); }
N_NIMCALL(void, idsynchronizationpoint_170440)(NI idrange) { NI TMP1934; NI TMP1935; NI TMP1936; NI TMP1937; nimfr("IDsynchronizationPoint", "idgen.nim") nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); nimln(41, "idgen.nim"); TMP1934 = divInt(gfrontendid_170006, idrange); TMP1935 = addInt((NI64)(TMP1934), 1); TMP1936 = mulInt((NI64)(TMP1935), idrange); TMP1937 = addInt((NI64)(TMP1936), 1); gfrontendid_170006 = (NI64)(TMP1937); popFrame(); }
N_NIMCALL(void, fillbuffer_290071)(tbaselexer290016* l) { NI charsread; NI tocopy; NI s; NI oldbuflen; NI TMP4631; NI TMP4632; NI TMP4636; NI TMP4637; NI LOC13; NI TMP4638; NI TMP4639; nimfr("FillBuffer", "lexbase.nim") charsread = 0; tocopy = 0; s = 0; oldbuflen = 0; nimln(77, "lexbase.nim"); { nimln(77, "lexbase.nim"); nimln(77, "lexbase.nim"); if (!!(((*l).Sentinel < (*l).Buflen))) goto LA3; nimln(77, "lexbase.nim"); hiddenraiseassert_76017(((NimStringDesc*) &TMP4630)); } LA3: ; nimln(78, "lexbase.nim"); nimln(78, "lexbase.nim"); nimln(78, "lexbase.nim"); TMP4631 = subInt((*l).Buflen, (*l).Sentinel); TMP4632 = subInt((NI64)(TMP4631), 1); tocopy = (NI64)(TMP4632); nimln(79, "lexbase.nim"); { nimln(79, "lexbase.nim"); nimln(79, "lexbase.nim"); if (!!((0 <= tocopy))) goto LA7; nimln(79, "lexbase.nim"); hiddenraiseassert_76017(((NimStringDesc*) &TMP4633)); } LA7: ; nimln(80, "lexbase.nim"); { NI TMP4634; NI TMP4635; nimln(706, "system.nim"); if (!(0 < tocopy)) goto LA11; nimln(81, "lexbase.nim"); nimln(81, "lexbase.nim"); TMP4634 = addInt((*l).Sentinel, 1); nimln(81, "lexbase.nim"); TMP4635 = mulInt(tocopy, 1); memmove(((void*) ((*l).Buf)), ((void*) (&(*l).Buf[(NI64)(TMP4634)])), (NI64)(TMP4635)); } LA11: ; nimln(83, "lexbase.nim"); nimln(84, "lexbase.nim"); nimln(83, "lexbase.nim"); nimln(84, "lexbase.nim"); nimln(84, "lexbase.nim"); TMP4636 = addInt((*l).Sentinel, 1); TMP4637 = mulInt((NI64)(TMP4636), 1); LOC13 = 0; LOC13 = readdata_142731((*l).Input, ((void*) (&(*l).Buf[tocopy])), (NI64)(TMP4637)); TMP4638 = divInt(LOC13, 1); charsread = (NI64)(TMP4638); nimln(85, "lexbase.nim"); nimln(85, "lexbase.nim"); TMP4639 = addInt(tocopy, charsread); s = (NI64)(TMP4639); nimln(86, "lexbase.nim"); { NI TMP4640; nimln(86, "lexbase.nim"); nimln(86, "lexbase.nim"); TMP4640 = addInt((*l).Sentinel, 1); if (!(charsread < (NI64)(TMP4640))) goto LA16; nimln(87, "lexbase.nim"); (*l).Buf[s] = 0; nimln(88, "lexbase.nim"); (*l).Sentinel = s; } goto LA14; LA16: ; { nimln(91, "lexbase.nim"); s = subInt(s, 1); nimln(92, "lexbase.nim"); while (1) { nimln(93, "lexbase.nim"); { nimln(93, "lexbase.nim"); nimln(93, "lexbase.nim"); if (!!((s < (*l).Buflen))) goto LA22; nimln(93, "lexbase.nim"); hiddenraiseassert_76017(((NimStringDesc*) &TMP4641)); } LA22: ; nimln(94, "lexbase.nim"); while (1) { NIM_BOOL LOC25; nimln(94, "lexbase.nim"); LOC25 = 0; nimln(702, "system.nim"); LOC25 = (0 <= s); if (!(LOC25)) goto LA26; nimln(94, "lexbase.nim"); nimln(730, "system.nim"); LOC25 = !((((NU8)((*l).Buf[s])) == ((NU8)(13)) || ((NU8)((*l).Buf[s])) == ((NU8)(10)))); LA26: ; if (!LOC25) goto LA24; nimln(94, "lexbase.nim"); s = subInt(s, 1); } LA24: ; nimln(95, "lexbase.nim"); { nimln(702, "system.nim"); if (!(0 <= s)) goto LA29; nimln(97, "lexbase.nim"); (*l).Sentinel = s; nimln(98, "lexbase.nim"); goto LA19; } goto LA27; LA29: ; { NI TMP4642; NI TMP4643; void* LOC32; NI TMP4646; NI LOC37; NI TMP4647; NI TMP4650; nimln(102, "lexbase.nim"); oldbuflen = (*l).Buflen; nimln(103, "lexbase.nim"); nimln(103, "lexbase.nim"); TMP4642 = mulInt((*l).Buflen, 2); (*l).Buflen = (NI64)(TMP4642); nimln(104, "lexbase.nim"); nimln(104, "lexbase.nim"); nimln(104, "lexbase.nim"); TMP4643 = mulInt((*l).Buflen, 1); LOC32 = 0; LOC32 = realloc_4007(((void*) ((*l).Buf)), (NI64)(TMP4643)); (*l).Buf = ((NCSTRING) (LOC32)); nimln(105, "lexbase.nim"); { NI TMP4644; nimln(105, "lexbase.nim"); nimln(105, "lexbase.nim"); nimln(105, "lexbase.nim"); TMP4644 = subInt((*l).Buflen, oldbuflen); if (!!(((NI64)(TMP4644) == oldbuflen))) goto LA35; nimln(105, "lexbase.nim"); hiddenraiseassert_76017(((NimStringDesc*) &TMP4645)); } LA35: ; nimln(106, "lexbase.nim"); nimln(107, "lexbase.nim"); nimln(106, "lexbase.nim"); nimln(107, "lexbase.nim"); TMP4646 = mulInt(oldbuflen, 1); LOC37 = 0; LOC37 = readdata_142731((*l).Input, ((void*) (&(*l).Buf[oldbuflen])), (NI64)(TMP4646)); TMP4647 = divInt(LOC37, 1); charsread = (NI64)(TMP4647); nimln(108, "lexbase.nim"); { NI TMP4648; NI TMP4649; nimln(108, "lexbase.nim"); if (!(charsread < oldbuflen)) goto LA40; nimln(109, "lexbase.nim"); nimln(109, "lexbase.nim"); TMP4648 = addInt(oldbuflen, charsread); (*l).Buf[(NI64)(TMP4648)] = 0; nimln(110, "lexbase.nim"); nimln(110, "lexbase.nim"); TMP4649 = addInt(oldbuflen, charsread); (*l).Sentinel = (NI64)(TMP4649); nimln(111, "lexbase.nim"); goto LA19; } LA40: ; nimln(112, "lexbase.nim"); nimln(112, "lexbase.nim"); TMP4650 = subInt((*l).Buflen, 1); s = (NI64)(TMP4650); } LA27: ; } LA19: ; } LA14: ; popFrame(); }
N_NIMCALL(void, encodevintaux_178193)(NI x, NimStringDesc** result) { NIM_CHAR d_178199; NI v_178201; NI rem_178203; NI TMP2082; NI idx_178205; nimfr("encodeVIntAux", "rodutils.nim") d_178199 = 0; nimln(69, "rodutils.nim"); v_178201 = x; nimln(70, "rodutils.nim"); nimln(70, "rodutils.nim"); TMP2082 = modInt(v_178201, 190); rem_178203 = (NI32)(TMP2082); nimln(71, "rodutils.nim"); { NI TMP2083; nimln(71, "rodutils.nim"); if (!(((NI) (rem_178203)) < 0)) goto LA3; nimln(72, "rodutils.nim"); (*result) = addChar((*result), 45); nimln(73, "rodutils.nim"); nimln(73, "rodutils.nim"); nimln(73, "rodutils.nim"); TMP2083 = divInt(v_178201, 190); if ((NI32)(TMP2083) == (-2147483647 -1)) raiseOverflow(); v_178201 = ((NI32)-((NI32)(TMP2083))); nimln(74, "rodutils.nim"); nimln(74, "rodutils.nim"); if (((NI) (rem_178203)) == (-2147483647 -1)) raiseOverflow(); rem_178203 = ((NI32)-(((NI) (rem_178203)))); } goto LA1; LA3: ; { NI TMP2084; nimln(76, "rodutils.nim"); nimln(76, "rodutils.nim"); TMP2084 = divInt(v_178201, 190); v_178201 = (NI32)(TMP2084); } LA1: ; nimln(77, "rodutils.nim"); idx_178205 = ((NI) (rem_178203)); nimln(78, "rodutils.nim"); { nimln(78, "rodutils.nim"); if (!(idx_178205 < 62)) goto LA8; nimln(78, "rodutils.nim"); if ((NU)(idx_178205) > (NU)(((NimStringDesc*) &TMP2079)->Sup.len)) raiseIndexError(); d_178199 = ((NimStringDesc*) &TMP2079)->data[idx_178205]; } goto LA6; LA8: ; { NI TMP2085; NI TMP2086; nimln(79, "rodutils.nim"); nimln(79, "rodutils.nim"); nimln(79, "rodutils.nim"); nimln(79, "rodutils.nim"); TMP2085 = subInt(idx_178205, 62); TMP2086 = addInt((NI32)(TMP2085), 128); d_178199 = ((NIM_CHAR) (((NI)chckRange((NI32)(TMP2086), 0, 255)))); } LA6: ; nimln(80, "rodutils.nim"); { nimln(698, "system.nim"); nimln(698, "system.nim"); if (!!((v_178201 == 0))) goto LA13; nimln(80, "rodutils.nim"); encodevintaux_178193(v_178201, result); } LA13: ; nimln(81, "rodutils.nim"); (*result) = addChar((*result), d_178199); popFrame(); }
N_NIMCALL(void, fillbuffer_246102)(Baselexer246024* L) { NI charsread; NI tocopy; NI s; NI oldbuflen; NI TMP4229; NI TMP4230; NI TMP4234; NI TMP4235; NI LOC13; NI TMP4236; NI TMP4237; nimfr("fillBuffer", "lexbase.nim") charsread = 0; tocopy = 0; s = 0; oldbuflen = 0; nimln(79, "lexbase.nim"); { if (!!(((*L).sentinel < (*L).buflen))) goto LA3; failedassertimpl_87017(((NimStringDesc*) &TMP4228)); } LA3: ; nimln(80, "lexbase.nim"); TMP4229 = subInt((*L).buflen, (*L).sentinel); TMP4230 = subInt((NI)(TMP4229), ((NI) 1)); tocopy = (NI)(TMP4230); nimln(81, "lexbase.nim"); { if (!!((((NI) 0) <= tocopy))) goto LA7; failedassertimpl_87017(((NimStringDesc*) &TMP4231)); } LA7: ; nimln(82, "lexbase.nim"); { NI TMP4232; NI TMP4233; if (!(((NI) 0) < tocopy)) goto LA11; nimln(83, "lexbase.nim"); TMP4232 = addInt((*L).sentinel, ((NI) 1)); TMP4233 = mulInt(tocopy, ((NI) 1)); memmove(((void*) ((*L).buf)), ((void*) ((&(*L).buf[(NI)(TMP4232)]))), ((NI)chckRange((NI)(TMP4233), ((NI) 0), ((NI) 2147483647)))); } LA11: ; nimln(85, "lexbase.nim"); nimln(86, "lexbase.nim"); nimln(85, "lexbase.nim"); nimln(86, "lexbase.nim"); TMP4234 = addInt((*L).sentinel, ((NI) 1)); TMP4235 = mulInt((NI)(TMP4234), ((NI) 1)); LOC13 = 0; LOC13 = readdata_138174((*L).input, ((void*) ((&(*L).buf[tocopy]))), (NI)(TMP4235)); TMP4236 = divInt(LOC13, ((NI) 1)); charsread = (NI)(TMP4236); nimln(87, "lexbase.nim"); TMP4237 = addInt(tocopy, charsread); s = (NI)(TMP4237); nimln(88, "lexbase.nim"); { NI TMP4238; TMP4238 = addInt((*L).sentinel, ((NI) 1)); if (!(charsread < (NI)(TMP4238))) goto LA16; nimln(89, "lexbase.nim"); (*L).buf[s] = 0; nimln(90, "lexbase.nim"); (*L).sentinel = s; } goto LA14; LA16: ; { NI TMP4239; nimln(93, "lexbase.nim"); TMP4239 = subInt(s, ((NI) 1)); s = (NI)(TMP4239); { nimln(94, "lexbase.nim"); while (1) { nimln(95, "lexbase.nim"); { if (!!((s < (*L).buflen))) goto LA23; failedassertimpl_87017(((NimStringDesc*) &TMP4240)); } LA23: ; { nimln(96, "lexbase.nim"); while (1) { NIM_BOOL LOC27; NI TMP4241; LOC27 = 0; LOC27 = (((NI) 0) <= s); if (!(LOC27)) goto LA28; LOC27 = !((((NU8)((*L).buf[s])) == ((NU8)(13)) || ((NU8)((*L).buf[s])) == ((NU8)(10)))); LA28: ; if (!LOC27) goto LA26; TMP4241 = subInt(s, ((NI) 1)); s = (NI)(TMP4241); } LA26: ; } nimln(97, "lexbase.nim"); { if (!(((NI) 0) <= s)) goto LA31; nimln(99, "lexbase.nim"); (*L).sentinel = s; nimln(100, "lexbase.nim"); goto LA19; } goto LA29; LA31: ; { NI TMP4242; NI TMP4243; void* LOC34; NI TMP4246; NI LOC39; NI TMP4247; NI TMP4250; nimln(104, "lexbase.nim"); oldbuflen = (*L).buflen; nimln(105, "lexbase.nim"); TMP4242 = mulInt((*L).buflen, ((NI) 2)); (*L).buflen = (NI)(TMP4242); nimln(106, "lexbase.nim"); TMP4243 = mulInt((*L).buflen, ((NI) 1)); LOC34 = 0; LOC34 = realloc_6033(((void*) ((*L).buf)), ((NI)chckRange((NI)(TMP4243), ((NI) 0), ((NI) 2147483647)))); (*L).buf = ((NCSTRING) (LOC34)); nimln(107, "lexbase.nim"); { NI TMP4244; TMP4244 = subInt((*L).buflen, oldbuflen); if (!!(((NI)(TMP4244) == oldbuflen))) goto LA37; failedassertimpl_87017(((NimStringDesc*) &TMP4245)); } LA37: ; nimln(108, "lexbase.nim"); nimln(109, "lexbase.nim"); nimln(108, "lexbase.nim"); nimln(109, "lexbase.nim"); TMP4246 = mulInt(oldbuflen, ((NI) 1)); LOC39 = 0; LOC39 = readdata_138174((*L).input, ((void*) ((&(*L).buf[oldbuflen]))), (NI)(TMP4246)); TMP4247 = divInt(LOC39, ((NI) 1)); charsread = (NI)(TMP4247); nimln(110, "lexbase.nim"); { NI TMP4248; NI TMP4249; if (!(charsread < oldbuflen)) goto LA42; nimln(111, "lexbase.nim"); TMP4248 = addInt(oldbuflen, charsread); (*L).buf[(NI)(TMP4248)] = 0; nimln(112, "lexbase.nim"); TMP4249 = addInt(oldbuflen, charsread); (*L).sentinel = (NI)(TMP4249); nimln(113, "lexbase.nim"); goto LA19; } LA42: ; nimln(114, "lexbase.nim"); TMP4250 = subInt((*L).buflen, ((NI) 1)); s = (NI)(TMP4250); } LA29: ; } } LA19: ; } LA14: ; popFrame(); }
N_NIMCALL(void, fillbuffer_180072)(tbaselexer180018* l) { NI charsread; NI tocopy; NI s; NI oldbuflen; NI TMP1653; NI TMP1654; NI TMP1658; NI TMP1659; NI LOC13; NI TMP1660; NI TMP1661; nimfr("fillBuffer", "nimlexbase.nim") charsread = 0; tocopy = 0; s = 0; oldbuflen = 0; nimln(82, "nimlexbase.nim"); { nimln(82, "nimlexbase.nim"); nimln(82, "nimlexbase.nim"); if (!!(((*l).Sentinel < (*l).Buflen))) goto LA3; nimln(82, "nimlexbase.nim"); failedassertimpl_80421(((NimStringDesc*) &TMP1652)); } LA3: ; nimln(83, "nimlexbase.nim"); nimln(83, "nimlexbase.nim"); nimln(83, "nimlexbase.nim"); TMP1653 = subInt((*l).Buflen, (*l).Sentinel); TMP1654 = subInt((NI64)(TMP1653), 1); tocopy = (NI64)(TMP1654); nimln(84, "nimlexbase.nim"); { nimln(84, "nimlexbase.nim"); nimln(84, "nimlexbase.nim"); if (!!((0 <= tocopy))) goto LA7; nimln(84, "nimlexbase.nim"); failedassertimpl_80421(((NimStringDesc*) &TMP1655)); } LA7: ; nimln(85, "nimlexbase.nim"); { NI TMP1656; NI TMP1657; nimln(85, "nimlexbase.nim"); if (!(0 < tocopy)) goto LA11; nimln(86, "nimlexbase.nim"); nimln(86, "nimlexbase.nim"); TMP1656 = addInt((*l).Sentinel, 1); nimln(86, "nimlexbase.nim"); TMP1657 = mulInt(tocopy, 1); memmove(((void*) ((*l).Buf)), ((void*) (&(*l).Buf[(NI64)(TMP1656)])), (NI64)(TMP1657)); } LA11: ; nimln(88, "nimlexbase.nim"); nimln(89, "nimlexbase.nim"); nimln(88, "nimlexbase.nim"); nimln(89, "nimlexbase.nim"); nimln(89, "nimlexbase.nim"); TMP1658 = addInt((*l).Sentinel, 1); TMP1659 = mulInt((NI64)(TMP1658), 1); LOC13 = 0; LOC13 = llstreamread_178242((*l).Stream, ((void*) (&(*l).Buf[tocopy])), (NI64)(TMP1659)); TMP1660 = divInt(LOC13, 1); charsread = (NI64)(TMP1660); nimln(90, "nimlexbase.nim"); nimln(90, "nimlexbase.nim"); TMP1661 = addInt(tocopy, charsread); s = (NI64)(TMP1661); nimln(91, "nimlexbase.nim"); { NI TMP1662; nimln(91, "nimlexbase.nim"); nimln(91, "nimlexbase.nim"); TMP1662 = addInt((*l).Sentinel, 1); if (!(charsread < (NI64)(TMP1662))) goto LA16; nimln(92, "nimlexbase.nim"); (*l).Buf[s] = 0; nimln(93, "nimlexbase.nim"); (*l).Sentinel = s; } goto LA14; LA16: ; { nimln(96, "nimlexbase.nim"); s = subInt(s, 1); nimln(97, "nimlexbase.nim"); while (1) { nimln(98, "nimlexbase.nim"); { nimln(98, "nimlexbase.nim"); nimln(98, "nimlexbase.nim"); if (!!((s < (*l).Buflen))) goto LA22; nimln(98, "nimlexbase.nim"); failedassertimpl_80421(((NimStringDesc*) &TMP1663)); } LA22: ; nimln(99, "nimlexbase.nim"); while (1) { NIM_BOOL LOC25; nimln(99, "nimlexbase.nim"); LOC25 = 0; nimln(99, "nimlexbase.nim"); LOC25 = (0 <= s); if (!(LOC25)) goto LA26; nimln(99, "nimlexbase.nim"); nimln(99, "nimlexbase.nim"); LOC25 = !((((NU8)((*l).Buf[s])) == ((NU8)(13)) || ((NU8)((*l).Buf[s])) == ((NU8)(10)))); LA26: ; if (!LOC25) goto LA24; nimln(99, "nimlexbase.nim"); s = subInt(s, 1); } LA24: ; nimln(100, "nimlexbase.nim"); { nimln(100, "nimlexbase.nim"); if (!(0 <= s)) goto LA29; nimln(102, "nimlexbase.nim"); (*l).Sentinel = s; nimln(103, "nimlexbase.nim"); goto LA19; } goto LA27; LA29: ; { NI TMP1664; NI TMP1665; void* LOC32; NI TMP1668; NI LOC37; NI TMP1669; NI TMP1672; nimln(107, "nimlexbase.nim"); oldbuflen = (*l).Buflen; nimln(108, "nimlexbase.nim"); nimln(108, "nimlexbase.nim"); TMP1664 = mulInt((*l).Buflen, 2); (*l).Buflen = (NI64)(TMP1664); nimln(109, "nimlexbase.nim"); nimln(109, "nimlexbase.nim"); nimln(109, "nimlexbase.nim"); TMP1665 = mulInt((*l).Buflen, 1); LOC32 = 0; LOC32 = realloc_4631(((void*) ((*l).Buf)), (NI64)(TMP1665)); (*l).Buf = ((NCSTRING) (LOC32)); nimln(110, "nimlexbase.nim"); { NI TMP1666; nimln(110, "nimlexbase.nim"); nimln(110, "nimlexbase.nim"); nimln(110, "nimlexbase.nim"); TMP1666 = subInt((*l).Buflen, oldbuflen); if (!!(((NI64)(TMP1666) == oldbuflen))) goto LA35; nimln(110, "nimlexbase.nim"); failedassertimpl_80421(((NimStringDesc*) &TMP1667)); } LA35: ; nimln(111, "nimlexbase.nim"); nimln(112, "nimlexbase.nim"); nimln(111, "nimlexbase.nim"); nimln(112, "nimlexbase.nim"); TMP1668 = mulInt(oldbuflen, 1); LOC37 = 0; LOC37 = llstreamread_178242((*l).Stream, ((void*) (&(*l).Buf[oldbuflen])), (NI64)(TMP1668)); TMP1669 = divInt(LOC37, 1); charsread = (NI64)(TMP1669); nimln(113, "nimlexbase.nim"); { NI TMP1670; NI TMP1671; nimln(113, "nimlexbase.nim"); if (!(charsread < oldbuflen)) goto LA40; nimln(114, "nimlexbase.nim"); nimln(114, "nimlexbase.nim"); TMP1670 = addInt(oldbuflen, charsread); (*l).Buf[(NI64)(TMP1670)] = 0; nimln(115, "nimlexbase.nim"); nimln(115, "nimlexbase.nim"); TMP1671 = addInt(oldbuflen, charsread); (*l).Sentinel = (NI64)(TMP1671); nimln(116, "nimlexbase.nim"); goto LA19; } LA40: ; nimln(117, "nimlexbase.nim"); nimln(117, "nimlexbase.nim"); TMP1672 = subInt((*l).Buflen, 1); s = (NI64)(TMP1672); } LA27: ; } LA19: ; } LA14: ; popFrame(); }
N_NIMCALL(void, fillbuffer_276084)(tbaselexer276029* l) { NI charsread; NI tocopy; NI s; NI oldbuflen; NI TMP3618; NI TMP3619; NI TMP3623; NI TMP3624; NI LOC13; NI TMP3625; NI TMP3626; nimfr("fillBuffer", "lexbase.nim") charsread = 0; tocopy = 0; s = 0; oldbuflen = 0; nimln(77, "lexbase.nim"); { nimln(77, "lexbase.nim"); nimln(77, "lexbase.nim"); if (!!(((*l).Sentinel < (*l).Buflen))) goto LA3; nimln(77, "lexbase.nim"); failedassertimpl_79821(((NimStringDesc*) &TMP3617)); } LA3: ; nimln(78, "lexbase.nim"); nimln(78, "lexbase.nim"); nimln(78, "lexbase.nim"); TMP3618 = subInt((*l).Buflen, (*l).Sentinel); TMP3619 = subInt((NI32)(TMP3618), 1); tocopy = (NI32)(TMP3619); nimln(79, "lexbase.nim"); { nimln(79, "lexbase.nim"); nimln(79, "lexbase.nim"); if (!!((0 <= tocopy))) goto LA7; nimln(79, "lexbase.nim"); failedassertimpl_79821(((NimStringDesc*) &TMP3620)); } LA7: ; nimln(80, "lexbase.nim"); { NI TMP3621; NI TMP3622; nimln(80, "lexbase.nim"); if (!(0 < tocopy)) goto LA11; nimln(81, "lexbase.nim"); nimln(81, "lexbase.nim"); TMP3621 = addInt((*l).Sentinel, 1); nimln(81, "lexbase.nim"); TMP3622 = mulInt(tocopy, 1); memmove(((void*) ((*l).Buf)), ((void*) (&(*l).Buf[(NI32)(TMP3621)])), (NI32)(TMP3622)); } LA11: ; nimln(83, "lexbase.nim"); nimln(84, "lexbase.nim"); nimln(83, "lexbase.nim"); nimln(84, "lexbase.nim"); nimln(84, "lexbase.nim"); TMP3623 = addInt((*l).Sentinel, 1); TMP3624 = mulInt((NI32)(TMP3623), 1); LOC13 = 0; LOC13 = readdata_123733((*l).Input, ((void*) (&(*l).Buf[tocopy])), (NI32)(TMP3624)); TMP3625 = divInt(LOC13, 1); charsread = (NI32)(TMP3625); nimln(85, "lexbase.nim"); nimln(85, "lexbase.nim"); TMP3626 = addInt(tocopy, charsread); s = (NI32)(TMP3626); nimln(86, "lexbase.nim"); { NI TMP3627; nimln(86, "lexbase.nim"); nimln(86, "lexbase.nim"); TMP3627 = addInt((*l).Sentinel, 1); if (!(charsread < (NI32)(TMP3627))) goto LA16; nimln(87, "lexbase.nim"); (*l).Buf[s] = 0; nimln(88, "lexbase.nim"); (*l).Sentinel = s; } goto LA14; LA16: ; { nimln(91, "lexbase.nim"); s = subInt(s, 1); nimln(92, "lexbase.nim"); while (1) { nimln(93, "lexbase.nim"); { nimln(93, "lexbase.nim"); nimln(93, "lexbase.nim"); if (!!((s < (*l).Buflen))) goto LA22; nimln(93, "lexbase.nim"); failedassertimpl_79821(((NimStringDesc*) &TMP3628)); } LA22: ; nimln(94, "lexbase.nim"); while (1) { NIM_BOOL LOC25; nimln(94, "lexbase.nim"); LOC25 = 0; nimln(94, "lexbase.nim"); LOC25 = (0 <= s); if (!(LOC25)) goto LA26; nimln(94, "lexbase.nim"); nimln(94, "lexbase.nim"); LOC25 = !((((NU8)((*l).Buf[s])) == ((NU8)(13)) || ((NU8)((*l).Buf[s])) == ((NU8)(10)))); LA26: ; if (!LOC25) goto LA24; nimln(94, "lexbase.nim"); s = subInt(s, 1); } LA24: ; nimln(95, "lexbase.nim"); { nimln(95, "lexbase.nim"); if (!(0 <= s)) goto LA29; nimln(97, "lexbase.nim"); (*l).Sentinel = s; nimln(98, "lexbase.nim"); goto LA19; } goto LA27; LA29: ; { NI TMP3629; NI TMP3630; void* LOC32; NI TMP3633; NI LOC37; NI TMP3634; NI TMP3637; nimln(102, "lexbase.nim"); oldbuflen = (*l).Buflen; nimln(103, "lexbase.nim"); nimln(103, "lexbase.nim"); TMP3629 = mulInt((*l).Buflen, 2); (*l).Buflen = (NI32)(TMP3629); nimln(104, "lexbase.nim"); nimln(104, "lexbase.nim"); nimln(104, "lexbase.nim"); TMP3630 = mulInt((*l).Buflen, 1); LOC32 = 0; LOC32 = realloc_4631(((void*) ((*l).Buf)), (NI32)(TMP3630)); (*l).Buf = ((NCSTRING) (LOC32)); nimln(105, "lexbase.nim"); { NI TMP3631; nimln(105, "lexbase.nim"); nimln(105, "lexbase.nim"); nimln(105, "lexbase.nim"); TMP3631 = subInt((*l).Buflen, oldbuflen); if (!!(((NI32)(TMP3631) == oldbuflen))) goto LA35; nimln(105, "lexbase.nim"); failedassertimpl_79821(((NimStringDesc*) &TMP3632)); } LA35: ; nimln(106, "lexbase.nim"); nimln(107, "lexbase.nim"); nimln(106, "lexbase.nim"); nimln(107, "lexbase.nim"); TMP3633 = mulInt(oldbuflen, 1); LOC37 = 0; LOC37 = readdata_123733((*l).Input, ((void*) (&(*l).Buf[oldbuflen])), (NI32)(TMP3633)); TMP3634 = divInt(LOC37, 1); charsread = (NI32)(TMP3634); nimln(108, "lexbase.nim"); { NI TMP3635; NI TMP3636; nimln(108, "lexbase.nim"); if (!(charsread < oldbuflen)) goto LA40; nimln(109, "lexbase.nim"); nimln(109, "lexbase.nim"); TMP3635 = addInt(oldbuflen, charsread); (*l).Buf[(NI32)(TMP3635)] = 0; nimln(110, "lexbase.nim"); nimln(110, "lexbase.nim"); TMP3636 = addInt(oldbuflen, charsread); (*l).Sentinel = (NI32)(TMP3636); nimln(111, "lexbase.nim"); goto LA19; } LA40: ; nimln(112, "lexbase.nim"); nimln(112, "lexbase.nim"); TMP3637 = subInt((*l).Buflen, 1); s = (NI32)(TMP3637); } LA27: ; } LA19: ; } LA14: ; popFrame(); }
N_NIMCALL(void, fillbuffer_162072)(tbaselexer162018* l) { NI charsread; NI tocopy; NI s; NI oldbuflen; NI TMP1625; NI TMP1626; NI TMP1630; NI TMP1631; NI LOC13; NI TMP1632; NI TMP1633; nimfr("FillBuffer", "nimlexbase.nim") charsread = 0; tocopy = 0; s = 0; oldbuflen = 0; nimln(82, "nimlexbase.nim"); { nimln(82, "nimlexbase.nim"); nimln(82, "nimlexbase.nim"); if (!!(((*l).Sentinel < (*l).Buflen))) goto LA3; nimln(82, "nimlexbase.nim"); hiddenraiseassert_76017(((NimStringDesc*) &TMP1624)); } LA3: ; nimln(83, "nimlexbase.nim"); nimln(83, "nimlexbase.nim"); nimln(83, "nimlexbase.nim"); TMP1625 = subInt((*l).Buflen, (*l).Sentinel); TMP1626 = subInt((NI32)(TMP1625), 1); tocopy = (NI32)(TMP1626); nimln(84, "nimlexbase.nim"); { nimln(84, "nimlexbase.nim"); nimln(84, "nimlexbase.nim"); if (!!((0 <= tocopy))) goto LA7; nimln(84, "nimlexbase.nim"); hiddenraiseassert_76017(((NimStringDesc*) &TMP1627)); } LA7: ; nimln(85, "nimlexbase.nim"); { NI TMP1628; NI TMP1629; nimln(706, "system.nim"); if (!(0 < tocopy)) goto LA11; nimln(86, "nimlexbase.nim"); nimln(86, "nimlexbase.nim"); TMP1628 = addInt((*l).Sentinel, 1); nimln(86, "nimlexbase.nim"); TMP1629 = mulInt(tocopy, 1); memmove(((void*) ((*l).Buf)), ((void*) (&(*l).Buf[(NI32)(TMP1628)])), (NI32)(TMP1629)); } LA11: ; nimln(88, "nimlexbase.nim"); nimln(89, "nimlexbase.nim"); nimln(88, "nimlexbase.nim"); nimln(89, "nimlexbase.nim"); nimln(89, "nimlexbase.nim"); TMP1630 = addInt((*l).Sentinel, 1); TMP1631 = mulInt((NI32)(TMP1630), 1); LOC13 = 0; LOC13 = llstreamread_161242((*l).Stream, ((void*) (&(*l).Buf[tocopy])), (NI32)(TMP1631)); TMP1632 = divInt(LOC13, 1); charsread = (NI32)(TMP1632); nimln(90, "nimlexbase.nim"); nimln(90, "nimlexbase.nim"); TMP1633 = addInt(tocopy, charsread); s = (NI32)(TMP1633); nimln(91, "nimlexbase.nim"); { NI TMP1634; nimln(91, "nimlexbase.nim"); nimln(91, "nimlexbase.nim"); TMP1634 = addInt((*l).Sentinel, 1); if (!(charsread < (NI32)(TMP1634))) goto LA16; nimln(92, "nimlexbase.nim"); (*l).Buf[s] = 0; nimln(93, "nimlexbase.nim"); (*l).Sentinel = s; } goto LA14; LA16: ; { nimln(96, "nimlexbase.nim"); s = subInt(s, 1); nimln(97, "nimlexbase.nim"); while (1) { nimln(98, "nimlexbase.nim"); { nimln(98, "nimlexbase.nim"); nimln(98, "nimlexbase.nim"); if (!!((s < (*l).Buflen))) goto LA22; nimln(98, "nimlexbase.nim"); hiddenraiseassert_76017(((NimStringDesc*) &TMP1635)); } LA22: ; nimln(99, "nimlexbase.nim"); while (1) { NIM_BOOL LOC25; nimln(99, "nimlexbase.nim"); LOC25 = 0; nimln(702, "system.nim"); LOC25 = (0 <= s); if (!(LOC25)) goto LA26; nimln(99, "nimlexbase.nim"); nimln(730, "system.nim"); LOC25 = !((((NU8)((*l).Buf[s])) == ((NU8)(13)) || ((NU8)((*l).Buf[s])) == ((NU8)(10)))); LA26: ; if (!LOC25) goto LA24; nimln(99, "nimlexbase.nim"); s = subInt(s, 1); } LA24: ; nimln(100, "nimlexbase.nim"); { nimln(702, "system.nim"); if (!(0 <= s)) goto LA29; nimln(102, "nimlexbase.nim"); (*l).Sentinel = s; nimln(103, "nimlexbase.nim"); goto LA19; } goto LA27; LA29: ; { NI TMP1636; NI TMP1637; void* LOC32; NI TMP1640; NI LOC37; NI TMP1641; NI TMP1644; nimln(107, "nimlexbase.nim"); oldbuflen = (*l).Buflen; nimln(108, "nimlexbase.nim"); nimln(108, "nimlexbase.nim"); TMP1636 = mulInt((*l).Buflen, 2); (*l).Buflen = (NI32)(TMP1636); nimln(109, "nimlexbase.nim"); nimln(109, "nimlexbase.nim"); nimln(109, "nimlexbase.nim"); TMP1637 = mulInt((*l).Buflen, 1); LOC32 = 0; LOC32 = realloc_4007(((void*) ((*l).Buf)), (NI32)(TMP1637)); (*l).Buf = ((NCSTRING) (LOC32)); nimln(110, "nimlexbase.nim"); { NI TMP1638; nimln(110, "nimlexbase.nim"); nimln(110, "nimlexbase.nim"); nimln(110, "nimlexbase.nim"); TMP1638 = subInt((*l).Buflen, oldbuflen); if (!!(((NI32)(TMP1638) == oldbuflen))) goto LA35; nimln(110, "nimlexbase.nim"); hiddenraiseassert_76017(((NimStringDesc*) &TMP1639)); } LA35: ; nimln(111, "nimlexbase.nim"); nimln(112, "nimlexbase.nim"); nimln(111, "nimlexbase.nim"); nimln(112, "nimlexbase.nim"); TMP1640 = mulInt(oldbuflen, 1); LOC37 = 0; LOC37 = llstreamread_161242((*l).Stream, ((void*) (&(*l).Buf[oldbuflen])), (NI32)(TMP1640)); TMP1641 = divInt(LOC37, 1); charsread = (NI32)(TMP1641); nimln(113, "nimlexbase.nim"); { NI TMP1642; NI TMP1643; nimln(113, "nimlexbase.nim"); if (!(charsread < oldbuflen)) goto LA40; nimln(114, "nimlexbase.nim"); nimln(114, "nimlexbase.nim"); TMP1642 = addInt(oldbuflen, charsread); (*l).Buf[(NI32)(TMP1642)] = 0; nimln(115, "nimlexbase.nim"); nimln(115, "nimlexbase.nim"); TMP1643 = addInt(oldbuflen, charsread); (*l).Sentinel = (NI32)(TMP1643); nimln(116, "nimlexbase.nim"); goto LA19; } LA40: ; nimln(117, "nimlexbase.nim"); nimln(117, "nimlexbase.nim"); TMP1644 = subInt((*l).Buflen, 1); s = (NI32)(TMP1644); } LA27: ; } LA19: ; } LA14: ; popFrame(); }
N_NIMCALL(void, fillbuffer_178097)(Tbaselexer178024* L) { NI charsread; NI tocopy; NI s; NI oldbuflen; NI TMP2122; NI TMP2123; NI TMP2127; NI TMP2128; NI LOC13; NI TMP2129; NI TMP2130; nimfr("fillBuffer", "nimlexbase.nim") charsread = 0; tocopy = 0; s = 0; oldbuflen = 0; nimln(82, "nimlexbase.nim"); { if (!!(((*L).sentinel < (*L).buflen))) goto LA3; failedassertimpl_87017(((NimStringDesc*) &TMP2121)); } LA3: ; nimln(83, "nimlexbase.nim"); TMP2122 = subInt((*L).buflen, (*L).sentinel); TMP2123 = subInt((NI)(TMP2122), ((NI) 1)); tocopy = (NI)(TMP2123); nimln(84, "nimlexbase.nim"); { if (!!((((NI) 0) <= tocopy))) goto LA7; failedassertimpl_87017(((NimStringDesc*) &TMP2124)); } LA7: ; nimln(85, "nimlexbase.nim"); { NI TMP2125; NI TMP2126; if (!(((NI) 0) < tocopy)) goto LA11; nimln(86, "nimlexbase.nim"); TMP2125 = addInt((*L).sentinel, ((NI) 1)); TMP2126 = mulInt(tocopy, ((NI) 1)); memmove(((void*) ((*L).buf)), ((void*) ((&(*L).buf[(NI)(TMP2125)]))), ((NI)chckRange((NI)(TMP2126), ((NI) 0), ((NI) IL64(9223372036854775807))))); } LA11: ; nimln(88, "nimlexbase.nim"); nimln(89, "nimlexbase.nim"); nimln(88, "nimlexbase.nim"); nimln(89, "nimlexbase.nim"); TMP2127 = addInt((*L).sentinel, ((NI) 1)); TMP2128 = mulInt((NI)(TMP2127), ((NI) 1)); LOC13 = 0; LOC13 = llstreamread_177584((*L).stream, ((void*) ((&(*L).buf[tocopy]))), (NI)(TMP2128)); TMP2129 = divInt(LOC13, ((NI) 1)); charsread = (NI)(TMP2129); nimln(90, "nimlexbase.nim"); TMP2130 = addInt(tocopy, charsread); s = (NI)(TMP2130); nimln(91, "nimlexbase.nim"); { NI TMP2131; TMP2131 = addInt((*L).sentinel, ((NI) 1)); if (!(charsread < (NI)(TMP2131))) goto LA16; nimln(92, "nimlexbase.nim"); (*L).buf[s] = 0; nimln(93, "nimlexbase.nim"); (*L).sentinel = s; } goto LA14; LA16: ; { NI TMP2132; nimln(96, "nimlexbase.nim"); TMP2132 = subInt(s, ((NI) 1)); s = (NI)(TMP2132); { nimln(97, "nimlexbase.nim"); while (1) { nimln(98, "nimlexbase.nim"); { if (!!((s < (*L).buflen))) goto LA23; failedassertimpl_87017(((NimStringDesc*) &TMP2133)); } LA23: ; { nimln(99, "nimlexbase.nim"); while (1) { NIM_BOOL LOC27; NI TMP2134; LOC27 = 0; LOC27 = (((NI) 0) <= s); if (!(LOC27)) goto LA28; LOC27 = !((((NU8)((*L).buf[s])) == ((NU8)(13)) || ((NU8)((*L).buf[s])) == ((NU8)(10)))); LA28: ; if (!LOC27) goto LA26; TMP2134 = subInt(s, ((NI) 1)); s = (NI)(TMP2134); } LA26: ; } nimln(100, "nimlexbase.nim"); { if (!(((NI) 0) <= s)) goto LA31; nimln(102, "nimlexbase.nim"); (*L).sentinel = s; nimln(103, "nimlexbase.nim"); goto LA19; } goto LA29; LA31: ; { NI TMP2135; NI TMP2136; void* LOC34; NI TMP2139; NI LOC39; NI TMP2140; NI TMP2143; nimln(107, "nimlexbase.nim"); oldbuflen = (*L).buflen; nimln(108, "nimlexbase.nim"); TMP2135 = mulInt((*L).buflen, ((NI) 2)); (*L).buflen = (NI)(TMP2135); nimln(109, "nimlexbase.nim"); TMP2136 = mulInt((*L).buflen, ((NI) 1)); LOC34 = 0; LOC34 = realloc_6033(((void*) ((*L).buf)), ((NI)chckRange((NI)(TMP2136), ((NI) 0), ((NI) IL64(9223372036854775807))))); (*L).buf = ((NCSTRING) (LOC34)); nimln(110, "nimlexbase.nim"); { NI TMP2137; TMP2137 = subInt((*L).buflen, oldbuflen); if (!!(((NI)(TMP2137) == oldbuflen))) goto LA37; failedassertimpl_87017(((NimStringDesc*) &TMP2138)); } LA37: ; nimln(111, "nimlexbase.nim"); nimln(112, "nimlexbase.nim"); nimln(111, "nimlexbase.nim"); nimln(112, "nimlexbase.nim"); TMP2139 = mulInt(oldbuflen, ((NI) 1)); LOC39 = 0; LOC39 = llstreamread_177584((*L).stream, ((void*) ((&(*L).buf[oldbuflen]))), (NI)(TMP2139)); TMP2140 = divInt(LOC39, ((NI) 1)); charsread = (NI)(TMP2140); nimln(113, "nimlexbase.nim"); { NI TMP2141; NI TMP2142; if (!(charsread < oldbuflen)) goto LA42; nimln(114, "nimlexbase.nim"); TMP2141 = addInt(oldbuflen, charsread); (*L).buf[(NI)(TMP2141)] = 0; nimln(115, "nimlexbase.nim"); TMP2142 = addInt(oldbuflen, charsread); (*L).sentinel = (NI)(TMP2142); nimln(116, "nimlexbase.nim"); goto LA19; } LA42: ; nimln(117, "nimlexbase.nim"); TMP2143 = subInt((*L).buflen, ((NI) 1)); s = (NI)(TMP2143); } LA29: ; } } LA19: ; } LA14: ; popFrame(); }