23
var ck = f(), ck2 = 100, ck3 = 1000, ck4 = 100000;
33
var $conv1 = $curri_01 | 0;
34
var $call = _sqrtf($conv1);
39
var $cmp2 = $conv < $call;
44
var $rem = ($curri_01 | 0) % ($j_0 | 0);
45
var $cmp3 = ($rem | 0) == 0;
50
var $inc = $j_0 + 1 | 0;
54
var $inc5_primes_0 = $ok_0 + $primes_02 | 0;
55
var $inc7 = $curri_01 + 1 | 0;
56
var $cmp = ($inc5_primes_0 | 0) < 1e5;
58
var $curri_01 = $inc7;
59
var $primes_02 = $inc5_primes_0;
64
var $call8 = _printf(STRING_TABLE.__str | 0, (tempInt = STACKTOP, STACKTOP += 4, HEAP32[tempInt >> 2] = $curri_01, tempInt));
70
var __stackBase__ = STACKTOP;
72
var $x$s2 = __stackBase__ >> 2;
74
var $0 = (tempValue = HEAP32[$x$s2], HEAP32[$x$s2] == 10 && (HEAP32[$x$s2] = 7), tempValue);
75
var $conv = ($0 | 0) == 10 & 1;
76
var $2 = HEAP32[$x$s2];
77
var $call = _printf(STRING_TABLE.__str | 0, (tempInt = STACKTOP, STACKTOP += 8, HEAP32[tempInt >> 2] = $2, HEAP32[tempInt + 4 >> 2] = $conv, tempInt));
78
STACKTOP = __stackBase__;
82
function fcntl_open() {
85
var __stackBase__ = STACKTOP;
87
var $s = __stackBase__;
88
var $nonexistent_name = __stackBase__ + 72;
89
var $0 = $nonexistent_name | 0;
90
for (var $$src = STRING_TABLE.__ZZ4mainE16nonexistent_name | 0, $$dest = $0, $$stop = $$src + 12; $$src < $$stop; $$src++, $$dest++) {
91
HEAP8[$$dest] = HEAP8[$$src];
93
var $st_mode$s2 = ($s + 8 | 0) >> 2;
94
var $1$s2 = $s >> 2; // critical variable, becomes r8
95
var $arrayidx43 = $nonexistent_name + 9 | 0;
96
var $arrayidx46 = $nonexistent_name + 10 | 0;
100
var $2 = HEAP32[__ZZ4mainE5modes + ($i_04 << 2) >> 2];
102
var $conv42 = $i_04 + 97 & 255;
106
var $flags_0 = ($j_03 & 1 | 0) == 0 ? $2 : $or;
107
var $flags_0_or7 = ($j_03 & 2 | 0) == 0 ? $flags_0 : $flags_0 | 2048;
108
var $flags_2 = ($j_03 & 4 | 0) == 0 ? $flags_0_or7 : $flags_0_or7 | 1024;
109
var $flags_2_or17 = ($j_03 & 8 | 0) == 0 ? $flags_2 : $flags_2 | 8;
110
var $call = _printf(STRING_TABLE.__str | 0, (tempInt = STACKTOP, STACKTOP += 8, HEAP32[tempInt >> 2] = $i_04, HEAP32[tempInt + 4 >> 2] = $j_03, tempInt));
111
var $call19 = _open(STRING_TABLE.__str2 | 0, $flags_2_or17, (tempInt = STACKTOP, STACKTOP += 4, HEAP32[tempInt >> 2] = 511, tempInt));
112
var $conv = ($call19 | 0) != -1 & 1;
113
var $call21 = _printf(STRING_TABLE.__str1 | 0, (tempInt = STACKTOP, STACKTOP += 4, HEAP32[tempInt >> 2] = $conv, tempInt));
114
var $call22 = ___errno();
115
var $3 = HEAP32[$call22 >> 2];
116
var $call23 = _printf(STRING_TABLE.__str3 | 0, (tempInt = STACKTOP, STACKTOP += 4, HEAP32[tempInt >> 2] = $3, tempInt));
117
var $call24 = _stat(STRING_TABLE.__str2 | 0, $s);
118
var $and25 = HEAP32[$st_mode$s2] & -512;
119
var $call26 = _printf(STRING_TABLE.__str4 | 0, (tempInt = STACKTOP, STACKTOP += 4, HEAP32[tempInt >> 2] = $and25, tempInt));
120
for (var $$dest = $1$s2, $$stop = $$dest + 18; $$dest < $$stop; $$dest++) {
123
var $putchar = _putchar(10);
124
var $call28 = ___errno();
125
HEAP32[$call28 >> 2] = 0;
126
var $call29 = _printf(STRING_TABLE.__str6 | 0, (tempInt = STACKTOP, STACKTOP += 8, HEAP32[tempInt >> 2] = $i_04, HEAP32[tempInt + 4 >> 2] = $j_03, tempInt));
127
var $call30 = _open(STRING_TABLE.__str7 | 0, $flags_2_or17, (tempInt = STACKTOP, STACKTOP += 4, HEAP32[tempInt >> 2] = 511, tempInt));
128
var $conv32 = ($call30 | 0) != -1 & 1;
129
var $call33 = _printf(STRING_TABLE.__str1 | 0, (tempInt = STACKTOP, STACKTOP += 4, HEAP32[tempInt >> 2] = $conv32, tempInt));
130
var $call34 = ___errno();
131
var $5 = HEAP32[$call34 >> 2];
132
var $call35 = _printf(STRING_TABLE.__str3 | 0, (tempInt = STACKTOP, STACKTOP += 4, HEAP32[tempInt >> 2] = $5, tempInt));
133
var $call36 = _stat(STRING_TABLE.__str7 | 0, $s);
134
var $and38 = HEAP32[$st_mode$s2] & -512;
135
var $call39 = _printf(STRING_TABLE.__str4 | 0, (tempInt = STACKTOP, STACKTOP += 4, HEAP32[tempInt >> 2] = $and38, tempInt));
136
for (var $$dest = $1$s2, $$stop = $$dest + 18; $$dest < $$stop; $$dest++) {
139
var $putchar1 = _putchar(10);
140
var $call41 = ___errno();
141
HEAP32[$call41 >> 2] = 0;
142
HEAP8[$arrayidx43] = $conv42;
143
HEAP8[$arrayidx46] = $j_03 + 97 & 255;
144
var $call47 = _printf(STRING_TABLE.__str8 | 0, (tempInt = STACKTOP, STACKTOP += 8, HEAP32[tempInt >> 2] = $i_04, HEAP32[tempInt + 4 >> 2] = $j_03, tempInt));
145
var $call48 = _open($0, $flags_2_or17, (tempInt = STACKTOP, STACKTOP += 4, HEAP32[tempInt >> 2] = 511, tempInt));
146
var $conv50 = ($call48 | 0) != -1 & 1;
147
var $call51 = _printf(STRING_TABLE.__str1 | 0, (tempInt = STACKTOP, STACKTOP += 4, HEAP32[tempInt >> 2] = $conv50, tempInt));
148
var $call52 = ___errno();
149
var $7 = HEAP32[$call52 >> 2];
150
var $call53 = _printf(STRING_TABLE.__str3 | 0, (tempInt = STACKTOP, STACKTOP += 4, HEAP32[tempInt >> 2] = $7, tempInt));
151
var $call55 = _stat($0, $s);
152
var $and57 = HEAP32[$st_mode$s2] & -512;
153
var $call58 = _printf(STRING_TABLE.__str4 | 0, (tempInt = STACKTOP, STACKTOP += 4, HEAP32[tempInt >> 2] = $and57, tempInt));
154
for (var $$dest = $1$s2, $$stop = $$dest + 18; $$dest < $$stop; $$dest++) {
157
var $putchar2 = _putchar(10);
158
var $call60 = ___errno();
159
HEAP32[$call60 >> 2] = 0;
160
var $inc = $j_03 + 1 | 0;
161
if (($inc | 0) == 16) {
166
var $inc62 = $i_04 + 1 | 0;
167
if (($inc62 | 0) == 3) {
172
var $puts = _puts(STRING_TABLE._str | 0);
173
var $call65 = _creat(STRING_TABLE.__str10 | 0, 511);
174
var $conv67 = ($call65 | 0) != -1 & 1;
175
var $call68 = _printf(STRING_TABLE.__str1 | 0, (tempInt = STACKTOP, STACKTOP += 4, HEAP32[tempInt >> 2] = $conv67, tempInt));
176
var $call69 = ___errno();
177
var $9 = HEAP32[$call69 >> 2];
178
var $call70 = _printf(STRING_TABLE.__str3 | 0, (tempInt = STACKTOP, STACKTOP += 4, HEAP32[tempInt >> 2] = $9, tempInt));
179
STACKTOP = __stackBase__;
184
var __stackBase__ = STACKTOP;
186
var $e1 = __stackBase__;
187
var $puts = _puts(STRING_TABLE._str17 | 0);
192
var $call1 = _printf(STRING_TABLE.__str15 | 0, (tempInt = STACKTOP, STACKTOP += 4, HEAP32[tempInt >> 2] = $i_04, tempInt));
196
return __Z5magici($i_04);
198
if (typeof e != "number") throw e;
206
function switchey(x) {
209
switch (x = f(x, a)) {
233
function __ZN14NetworkAddressC1EPKcti($this) {
234
__ZN14NetworkAddressC2EPKcti($this);
237
// EMSCRIPTEN_GENERATED_FUNCTIONS: ["test", "primes", "atomic", "fcntl_open", "ex", "switchey", "__ZN14NetworkAddressC1EPKcti"]