2013-07-17 03:24:37 +04:00
|
|
|
function lin() {
|
|
|
|
c(1);
|
|
|
|
c(2);
|
|
|
|
c(3);
|
|
|
|
c(4);
|
|
|
|
lin$1(sp);
|
|
|
|
lin$0(sp);
|
|
|
|
}
|
2013-07-17 03:40:56 +04:00
|
|
|
function lin2() {
|
|
|
|
while (1) {
|
|
|
|
c(1);
|
|
|
|
c(2);
|
|
|
|
c(3);
|
|
|
|
c(4);
|
|
|
|
lin2$1(sp);
|
|
|
|
lin2$0(sp);
|
|
|
|
}
|
|
|
|
}
|
2013-07-17 03:46:06 +04:00
|
|
|
function lin3() {
|
|
|
|
while (1) {
|
|
|
|
c(1);
|
|
|
|
c(2);
|
|
|
|
c(3);
|
|
|
|
c(4);
|
|
|
|
c(5);
|
|
|
|
lin3$1(sp);
|
|
|
|
lin3$0(sp);
|
|
|
|
if (HEAP32[sp + 0 >> 2] == 5) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (HEAP32[sp + 0 >> 2] == 6) {
|
|
|
|
return HEAP32[sp + 8 >> 2];
|
|
|
|
}
|
|
|
|
if (HEAP32[sp + 0 >> 2] == 7) {
|
|
|
|
return HEAPF32[sp + 8 >> 2];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return 20;
|
|
|
|
}
|
2013-07-17 04:42:40 +04:00
|
|
|
function lin4() {
|
|
|
|
while (1) {
|
|
|
|
c(1);
|
|
|
|
c(2);
|
|
|
|
c(3);
|
|
|
|
c(4);
|
|
|
|
lin4$1(sp);
|
|
|
|
lin4$0(sp);
|
|
|
|
if (HEAP32[sp + 0 >> 2] == 1) {
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return 20;
|
|
|
|
}
|
2013-07-17 04:49:40 +04:00
|
|
|
function lin5() {
|
|
|
|
while (1) {
|
|
|
|
c(1);
|
|
|
|
c(2);
|
|
|
|
c(3);
|
|
|
|
c(4);
|
|
|
|
lin5$1(sp);
|
|
|
|
lin5$0(sp);
|
|
|
|
if (HEAP32[sp + 0 >> 2] == 3) {
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return 20;
|
|
|
|
}
|
2013-07-17 05:14:49 +04:00
|
|
|
function mix() {
|
|
|
|
main : while (1) {
|
|
|
|
c(1);
|
|
|
|
c(2);
|
|
|
|
c(3);
|
|
|
|
c(4);
|
|
|
|
c(5);
|
|
|
|
c(6);
|
2013-07-17 05:17:54 +04:00
|
|
|
c(7);
|
2013-07-17 05:14:49 +04:00
|
|
|
mix$1(sp);
|
|
|
|
mix$0(sp);
|
|
|
|
if (HEAP32[sp + 0 >> 2] == 1) {
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
if (HEAP32[sp + 0 >> 2] == 2) {
|
|
|
|
switch (HEAP32[sp + 8 >> 2]) {
|
2013-07-17 05:17:54 +04:00
|
|
|
case 2:
|
2013-07-17 05:14:49 +04:00
|
|
|
break main;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (HEAP32[sp + 0 >> 2] == 3) {
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
if (HEAP32[sp + 0 >> 2] == 4) {
|
|
|
|
switch (HEAP32[sp + 8 >> 2]) {
|
2013-07-17 05:17:54 +04:00
|
|
|
case 3:
|
2013-07-17 05:14:49 +04:00
|
|
|
continue main;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return 20;
|
|
|
|
}
|
2013-07-17 05:24:44 +04:00
|
|
|
function vars(x, y) {
|
|
|
|
x = x | 0;
|
|
|
|
y = +y;
|
|
|
|
HEAP32[sp + 0 >> 2] = x;
|
|
|
|
HEAPF32[sp + 8 >> 2] = y;
|
|
|
|
vars$1(sp);
|
|
|
|
HEAP32[sp + 0 >> 2] = x;
|
|
|
|
HEAPF32[sp + 8 >> 2] = y;
|
|
|
|
vars$0(sp);
|
|
|
|
}
|
2013-07-17 22:01:03 +04:00
|
|
|
function vars2(x, y) {
|
|
|
|
x = x | 0;
|
|
|
|
y = +y;
|
|
|
|
var a = 0, b = +0;
|
|
|
|
a = x + y;
|
|
|
|
b = y * x;
|
|
|
|
a = c(1 + a);
|
|
|
|
b = c(2 + b);
|
|
|
|
HEAP32[sp + 16 >> 2] = a;
|
|
|
|
HEAPF32[sp + 24 >> 2] = b;
|
|
|
|
vars2$0(sp);
|
|
|
|
a = HEAP32[sp + 16 >> 2];
|
|
|
|
b = HEAPF32[sp + 24 >> 2];
|
|
|
|
}
|
2013-07-17 22:03:46 +04:00
|
|
|
function vars3(x, y) {
|
|
|
|
x = x | 0;
|
|
|
|
y = +y;
|
|
|
|
var a = 0;
|
|
|
|
HEAP32[sp + 16 >> 2] = a;
|
|
|
|
HEAP32[sp + 0 >> 2] = x;
|
|
|
|
HEAPF32[sp + 8 >> 2] = y;
|
|
|
|
vars3$1(sp);
|
|
|
|
a = HEAP32[sp + 16 >> 2];
|
|
|
|
HEAP32[sp + 16 >> 2] = a;
|
|
|
|
HEAPF32[sp + 8 >> 2] = y;
|
|
|
|
HEAP32[sp + 0 >> 2] = x;
|
|
|
|
vars3$0(sp);
|
|
|
|
a = HEAP32[sp + 16 >> 2];
|
|
|
|
}
|
2013-07-17 03:24:37 +04:00
|
|
|
function lin$0(sp) {
|
|
|
|
sp = sp | 0;
|
|
|
|
c(13);
|
|
|
|
c(14);
|
|
|
|
c(15);
|
|
|
|
c(16);
|
|
|
|
c(17);
|
|
|
|
c(18);
|
|
|
|
c(19);
|
|
|
|
c(20);
|
|
|
|
}
|
|
|
|
function lin$1(sp) {
|
|
|
|
sp = sp | 0;
|
|
|
|
c(5);
|
|
|
|
c(6);
|
|
|
|
c(7);
|
|
|
|
c(8);
|
|
|
|
c(9);
|
|
|
|
c(10);
|
|
|
|
c(11);
|
|
|
|
c(12);
|
|
|
|
}
|
2013-07-17 03:40:56 +04:00
|
|
|
function lin2$0(sp) {
|
|
|
|
sp = sp | 0;
|
|
|
|
c(13);
|
|
|
|
c(14);
|
|
|
|
c(15);
|
|
|
|
c(16);
|
|
|
|
c(17);
|
|
|
|
c(18);
|
|
|
|
c(19);
|
|
|
|
c(20);
|
|
|
|
}
|
|
|
|
function lin2$1(sp) {
|
|
|
|
sp = sp | 0;
|
|
|
|
c(5);
|
|
|
|
c(6);
|
|
|
|
c(7);
|
|
|
|
c(8);
|
|
|
|
c(9);
|
|
|
|
c(10);
|
|
|
|
c(11);
|
|
|
|
c(12);
|
|
|
|
}
|
2013-07-17 03:46:06 +04:00
|
|
|
function lin3$0(sp) {
|
|
|
|
sp = sp | 0;
|
|
|
|
OL : do {
|
|
|
|
c(14);
|
|
|
|
c(15);
|
|
|
|
c(16);
|
|
|
|
c(17);
|
|
|
|
c(18);
|
|
|
|
c(19);
|
|
|
|
c(20);
|
|
|
|
HEAP32[sp + 8 >> 2] = 10, HEAP32[sp + 0 >> 2] = 6, break OL;
|
|
|
|
} while (0);
|
|
|
|
}
|
|
|
|
function lin3$1(sp) {
|
|
|
|
sp = sp | 0;
|
|
|
|
c(6);
|
|
|
|
c(7);
|
|
|
|
c(8);
|
|
|
|
c(9);
|
|
|
|
c(10);
|
|
|
|
c(11);
|
|
|
|
c(12);
|
|
|
|
c(13);
|
|
|
|
}
|
2013-07-17 04:42:40 +04:00
|
|
|
function lin4$0(sp) {
|
|
|
|
sp = sp | 0;
|
|
|
|
OL : do {
|
|
|
|
c(13);
|
|
|
|
c(14);
|
|
|
|
c(15);
|
|
|
|
c(16);
|
|
|
|
c(17);
|
|
|
|
c(18);
|
|
|
|
c(19);
|
|
|
|
c(20);
|
|
|
|
HEAP32[sp + 0 >> 2] = 1, break OL;
|
|
|
|
} while (0);
|
|
|
|
}
|
|
|
|
function lin4$1(sp) {
|
|
|
|
sp = sp | 0;
|
|
|
|
c(5);
|
|
|
|
c(6);
|
|
|
|
c(7);
|
|
|
|
c(8);
|
|
|
|
c(9);
|
|
|
|
c(10);
|
|
|
|
c(11);
|
|
|
|
c(12);
|
|
|
|
}
|
2013-07-17 04:49:40 +04:00
|
|
|
function lin5$0(sp) {
|
|
|
|
sp = sp | 0;
|
|
|
|
OL : do {
|
|
|
|
c(13);
|
|
|
|
c(14);
|
|
|
|
c(15);
|
|
|
|
c(16);
|
|
|
|
c(17);
|
|
|
|
c(18);
|
|
|
|
c(19);
|
|
|
|
c(20);
|
|
|
|
HEAP32[sp + 0 >> 2] = 3, break OL;
|
|
|
|
} while (0);
|
|
|
|
}
|
|
|
|
function lin5$1(sp) {
|
|
|
|
sp = sp | 0;
|
|
|
|
c(5);
|
|
|
|
c(6);
|
|
|
|
c(7);
|
|
|
|
c(8);
|
|
|
|
c(9);
|
|
|
|
c(10);
|
|
|
|
c(11);
|
|
|
|
c(12);
|
|
|
|
}
|
2013-07-17 05:14:49 +04:00
|
|
|
function mix$0(sp) {
|
|
|
|
sp = sp | 0;
|
|
|
|
OL : do {
|
|
|
|
c(16);
|
|
|
|
c(17);
|
2013-07-17 05:17:54 +04:00
|
|
|
HEAP32[sp + 8 >> 2] = 2, HEAP32[sp + 0 >> 2] = 2, break OL;
|
2013-07-17 05:14:49 +04:00
|
|
|
c(18);
|
|
|
|
HEAP32[sp + 0 >> 2] = 1, break OL;
|
|
|
|
while (1) {
|
|
|
|
break;
|
|
|
|
}
|
2013-07-17 05:17:54 +04:00
|
|
|
inner : while (1) {
|
|
|
|
break inner;
|
|
|
|
}
|
2013-07-17 05:14:49 +04:00
|
|
|
c(19);
|
|
|
|
HEAP32[sp + 0 >> 2] = 3, break OL;
|
|
|
|
c(20);
|
2013-07-17 05:17:54 +04:00
|
|
|
HEAP32[sp + 8 >> 2] = 3, HEAP32[sp + 0 >> 2] = 4, break OL;
|
2013-07-17 05:14:49 +04:00
|
|
|
} while (0);
|
|
|
|
}
|
|
|
|
function mix$1(sp) {
|
|
|
|
sp = sp | 0;
|
|
|
|
c(8);
|
|
|
|
c(9);
|
|
|
|
c(10);
|
|
|
|
c(11);
|
|
|
|
c(12);
|
|
|
|
c(13);
|
|
|
|
c(14);
|
2013-07-17 05:17:54 +04:00
|
|
|
c(15);
|
2013-07-17 05:14:49 +04:00
|
|
|
}
|
2013-07-17 05:24:44 +04:00
|
|
|
function vars$0(sp) {
|
|
|
|
sp = sp | 0;
|
|
|
|
var x = 0, y = +0;
|
|
|
|
y = HEAPF32[sp + 8 >> 2];
|
|
|
|
x = HEAP32[sp + 0 >> 2];
|
|
|
|
c(5 + (x + y));
|
|
|
|
c(6 + y * x);
|
|
|
|
c(7 + (x + y));
|
|
|
|
c(8 + y * x);
|
|
|
|
}
|
|
|
|
function vars$1(sp) {
|
|
|
|
sp = sp | 0;
|
|
|
|
var x = 0, y = +0;
|
|
|
|
y = HEAPF32[sp + 8 >> 2];
|
|
|
|
x = HEAP32[sp + 0 >> 2];
|
|
|
|
c(1 + (x + y));
|
|
|
|
c(2 + y * x);
|
|
|
|
c(3 + (x + y));
|
|
|
|
c(4 + y * x);
|
|
|
|
}
|
2013-07-17 22:01:03 +04:00
|
|
|
function vars2$0(sp) {
|
|
|
|
sp = sp | 0;
|
|
|
|
var a = 0, b = +0;
|
|
|
|
b = HEAPF32[sp + 24 >> 2];
|
|
|
|
a = HEAP32[sp + 16 >> 2];
|
|
|
|
a = c(3 + a);
|
|
|
|
b = c(4 + b);
|
|
|
|
a = c(5 + a);
|
|
|
|
b = c(6 + b);
|
|
|
|
HEAP32[sp + 16 >> 2] = a;
|
|
|
|
HEAPF32[sp + 24 >> 2] = b;
|
|
|
|
}
|
2013-07-17 22:03:46 +04:00
|
|
|
function vars3$0(sp) {
|
|
|
|
sp = sp | 0;
|
|
|
|
var a = 0, y = +0, x = 0;
|
|
|
|
x = HEAP32[sp + 0 >> 2];
|
|
|
|
y = HEAPF32[sp + 8 >> 2];
|
|
|
|
a = HEAP32[sp + 16 >> 2];
|
|
|
|
a = c(4 + y * x);
|
|
|
|
a = c(5 + a);
|
|
|
|
a = c(6 + y * x);
|
|
|
|
a = c(7 + a);
|
|
|
|
HEAP32[sp + 16 >> 2] = a;
|
|
|
|
}
|
|
|
|
function vars3$1(sp) {
|
|
|
|
sp = sp | 0;
|
|
|
|
var a = 0, x = 0, y = +0;
|
|
|
|
y = HEAPF32[sp + 8 >> 2];
|
|
|
|
x = HEAP32[sp + 0 >> 2];
|
|
|
|
a = HEAP32[sp + 16 >> 2];
|
|
|
|
a = x + y;
|
|
|
|
a = c(1 + a);
|
|
|
|
a = c(2 + y * x);
|
|
|
|
a = c(3 + a);
|
|
|
|
HEAP32[sp + 16 >> 2] = a;
|
|
|
|
}
|
2013-07-17 03:24:37 +04:00
|
|
|
|