text
stringlengths 4
256k
| label
stringclasses 104
values |
---|---|
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
double sqrt(double x):
0x1050 0 <return> tailcall([0x4028].q)
double cos(double arg1):
0x1060 0 <return> tailcall([0x4030].q)
void __cxa_finalize(void* d):
0x1070 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1084 0 ebp = 0
0x1086 1 r9 = rdx
0x1089 2 rsi = pop
0x108a 3 rdx = rsp {arg_8}
0x108d 4 rsp = rsp & 0xfffffffffffffff0
0x1091 5 push(rax)
0x1092 6 push(rsp)
0x1093 7 r8d = 0
0x1096 8 ecx = 0
0x1098 9 rdi = 0x1170 {"H8H="}
0x109f 10 call([0x3ff8].q)
0x109f 11 noreturn
void deregister_tm_clones():
0x10b0 0 rdi = 0x4048 {""}
0x10b7 1 rax = 0x4048 {""}
0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3
0x10d8 3 <return> jump(pop)
0x10c3 4 rax = [0x3fd8].q
0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf
0x10cf 6 <return> tailcall(rax)
void register_tm_clones():
0x10e0 0 rdi = 0x4048 {""}
0x10e7 1 rsi = 0x4048 {""}
0x10ee 2 rsi = rsi - rdi
0x10f1 3 rax = rsi
0x10f4 4 rsi = rsi u>> 0x3f
0x10f8 5 rax = rax s>> 3
0x10fc 6 rsi = rsi + rax
0x10ff 7 rsi = rsi s>> 1
0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104
0x1118 9 <return> jump(pop)
0x1104 10 rax = [0x3ff0].q
0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110
0x1110 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d
0x1158 1 <return> jump(pop)
0x112d 2 push(rbp)
0x112e 3 cond:0 = [0x3fe0].q == 0
0x1136 4 rbp = rsp {__saved_rbp}
0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b
0x1147 6 call(0x10b0)
0x114c 7 [0x4048].b = 1
0x1153 8 rbp = pop
0x1154 9 <return> jump(pop)
0x113b 10 rdi = [0x4040].q
0x1142 11 call(0x1070)
0x1142 12 goto 6 @ 0x1147
int64_t frame_dummy():
0x1164 0 <return> tailcall(0x10e0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1170 0 rsp = rsp - 0x38
0x1174 1 rdi = 0x2028 {"%f\n%f\n%f\n%f\n%f"}
0x117b 2 rsi = rsp + 0x14 {var_24}
0x1180 3 rdx = rsp + 0x10 {var_28}
0x1185 4 rcx = rsp + 0xc {var_2c}
0x118a 5 r8 = rsp + 8 {var_30}
0x118f 6 r9 = rsp + 4 {var_34}
0x1194 7 eax = 0
0x1196 8 call(0x1040)
0x119b 9 xmm0 = [rsp + 0x14 {var_24}].d
0x11a1 10 xmm1 = [rsp + 0x10 {var_28}].d
0x11a7 11 xmm6 = xmm0
0x11aa 12 xmm6.d = xmm6.d f+ xmm1.d
0x11ae 13 xmm2 = [rsp + 0xc {var_2c}].d
0x11b4 14 xmm6.d = xmm6.d f+ xmm2.d
0x11b8 15 xmm3 = [rsp + 8 {var_30}].d
0x11be 16 xmm6.d = xmm6.d f+ xmm3.d
0x11c2 17 xmm6.d = xmm6.d f* fconvert.t([0x2004].d)
0x11ca 18 xmm4 = xmm6
0x11cd 19 xmm4.d = xmm4.d f- xmm0.d
0x11d1 20 xmm5 = xmm6
0x11d4 21 xmm5.d = xmm5.d f- xmm1.d
0x11d8 22 xmm5.d = xmm5.d f* xmm4.d
0x11dc 23 xmm4 = xmm6
0x11df 24 xmm4.d = xmm4.d f- xmm2.d
0x11e3 25 xmm4.d = xmm4.d f* xmm5.d
0x11e7 26 [rsp + 0x30 {var_8}].d = xmm6.d
0x11ed 27 xmm5 = xmm6
0x11f0 28 xmm5.d = xmm5.d f- xmm3.d
0x11f4 29 xmm5.d = xmm5.d f* xmm4.d
0x11f8 30 xmm4 = 0
0x11fb 31 xmm4.q = fconvert.d(xmm5.d)
0x11ff 32 [rsp + 0x28 {var_10}].q = xmm4.q
0x1205 33 xmm0.d = xmm0.d f* xmm1.d
0x1209 34 xmm0.d = xmm0.d f* xmm2.d
0x120d 35 xmm0.d = xmm0.d f* xmm3.d
0x1211 36 xmm0.q = fconvert.d(xmm0.d)
0x1215 37 [rsp + 0x20 {var_18}].q = xmm0.q
0x121b 38 xmm0 = [rsp + 4 {var_34}].d
0x1221 39 xmm0.q = fconvert.d(xmm0.d)
0x1225 40 xmm0.q = xmm0.q f* fconvert.t([0x2008].q)
0x122d 41 xmm0.q = xmm0.q f/ fconvert.t([0x2010].q)
0x1235 42 call(0x1060)
0x123a 43 [rsp + 0x18 {var_20}].q = xmm0.q
0x1240 44 xmm0 = [rsp + 4 {var_34}].d
0x1246 45 xmm0.q = fconvert.d(xmm0.d)
0x124a 46 xmm0.q = xmm0.q f* fconvert.t([0x2008].q)
0x1252 47 xmm0.q = xmm0.q f/ fconvert.t([0x2010].q)
0x125a 48 call(0x1060)
0x125f 49 xmm1 = zx.o([rsp + 0x18 {var_20}].q)
0x1265 50 xmm1.q = xmm1.q f* fconvert.t([rsp + 0x20 {var_18}].q)
0x126b 51 xmm1.q = xmm1.q f* xmm0.q
0x126f 52 xmm0 = xmm1
0x1273 53 xmm1 = zx.o([rsp + 0x28 {var_10}].q)
0x1279 54 xmm1.q = xmm1.q f- xmm0.q
0x127d 55 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x1281 56 flag:p = is_unordered.q(xmm1.q, xmm0.q)
0x1281 57 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1281 58 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1281 59 flag:s = 0
0x1281 60 flag:o = 0
0x1281 61 flag:a = 0
0x1285 62 xmm0 = xmm1
0x1289 63 if (flag:c) then 64 @ 0x1291 else 66 @ 0x128b
0x1291 64 call(0x1050)
0x1291 65 goto 68 @ 0x1296
0x128b 66 xmm0 = _mm_sqrt_sd(xmm0.q)
0x128f 67 goto 68 @ 0x1296
0x1296 68 [rsp + 0x18 {var_20_1}].q = xmm0.q
0x129c 69 xmm0 = [rsp + 0x14 {var_24}].d
0x12a2 70 xmm5 = [rsp + 0x30 {var_8}].d
0x12a8 71 xmm1 = xmm5
0x12ab 72 xmm1.d = xmm1.d f- xmm0.d
0x12af 73 xmm2 = [rsp + 0x10 {var_28}].d
0x12b5 74 xmm3 = xmm5
0x12b8 75 xmm3.d = xmm3.d f- xmm2.d
0x12bc 76 xmm3.d = xmm3.d f* xmm1.d
0x12c0 77 xmm1 = [rsp + 0xc {var_2c}].d
0x12c6 78 xmm4 = xmm5
0x12c9 79 xmm4.d = xmm4.d f- xmm1.d
0x12cd 80 xmm4.d = xmm4.d f* xmm3.d
0x12d1 81 xmm3 = [rsp + 8 {var_30}].d
0x12d7 82 xmm5.d = xmm5.d f- xmm3.d
0x12db 83 xmm5.d = xmm5.d f* xmm4.d
0x12df 84 xmm4 = 0
0x12e2 85 xmm4.q = fconvert.d(xmm5.d)
0x12e6 86 [rsp + 0x30 {var_8}].q = xmm4.q
0x12ec 87 xmm0.d = xmm0.d f* xmm2.d
0x12f0 88 xmm0.d = xmm0.d f* xmm1.d
0x12f4 89 xmm0.d = xmm0.d f* xmm3.d
0x12f8 90 xmm0.q = fconvert.d(xmm0.d)
0x12fc 91 [rsp + 0x28 {var_10_1}].q = xmm0.q
0x1302 92 xmm0 = [rsp + 4 {var_34}].d
0x1308 93 xmm0.q = fconvert.d(xmm0.d)
0x130c 94 xmm1 = zx.o([0x2008].q)
0x1314 95 xmm0.q = xmm0.q f* xmm1.q
0x1318 96 xmm0.q = xmm0.q f/ fconvert.t([0x2018].q)
0x1320 97 call(0x1060)
0x1325 98 [rsp + 0x20 {var_18_1}].q = xmm0.q
0x132b 99 xmm0 = [rsp + 4 {var_34}].d
0x1331 100 xmm0.q = fconvert.d(xmm0.d)
0x1335 101 xmm0.q = xmm0.q f* fconvert.t([0x2008].q)
0x133d 102 xmm0.q = xmm0.q f/ fconvert.t([0x2018].q)
0x1345 103 call(0x1060)
0x134a 104 xmm1 = zx.o([rsp + 0x20 {var_18_1}].q)
0x1350 105 xmm1.q = xmm1.q f* fconvert.t([rsp + 0x28 {var_10_1}].q)
0x1356 106 xmm1.q = xmm1.q f* xmm0.q
0x135a 107 xmm0 = zx.o([rsp + 0x30 {var_8}].q)
0x1360 108 xmm0.q = xmm0.q f- xmm1.q
0x1364 109 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2020].q))
0x1364 110 flag:c = xmm0.q f< fconvert.t([0x2020].q) | is_unordered.q(xmm0.q, fconvert.t([0x2020].q))
0x1364 111 flag:z = xmm0.q f== fconvert.t([0x2020].q) | is_unordered.q(xmm0.q, fconvert.t([0x2020].q))
0x1364 112 flag:s = 0
0x1364 113 flag:o = 0
0x1364 114 flag:a = 0
0x136c 115 if (not(flag:c)) then 116 @ 0x137e else 123 @ 0x136e
0x137e 116 xmm0 = zx.o([rsp + 0x18 {var_20_1}].q)
0x1384 117 xmm0.d = fconvert.s(xmm0.q)
0x1388 118 xmm0.q = fconvert.d(xmm0.d)
0x138c 119 rdi = 0x2037 {"%.4f"}
0x1393 120 al = 1
0x1395 121 call(0x1030)
0x1395 122 goto 127 @ 0x139a
0x136e 123 rdi = 0x203c {"Invalid input"}
0x1375 124 eax = 0
0x1377 125 call(0x1030)
0x137c 126 goto 127 @ 0x139a
0x139a 127 eax = 0
0x139c 128 rsp = rsp + 0x38
0x13a0 129 <return> jump(pop)
int64_t _fini():
0x13a8 0 rsp = rsp - 8
0x13ac 1 rsp = rsp + 8
0x13b0 2 <return> jump(pop)
| POJ_40 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
uint64_t strlen(char const* arg1):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
char* gets(char* buf):
0x1050 0 <return> tailcall([0x4028].q)
int32_t puts(char const* str):
0x1060 0 <return> tailcall([0x4030].q)
void __cxa_finalize(void* d):
0x1070 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1084 0 ebp = 0
0x1086 1 r9 = rdx
0x1089 2 rsi = pop
0x108a 3 rdx = rsp {arg_8}
0x108d 4 rsp = rsp & 0xfffffffffffffff0
0x1091 5 push(rax)
0x1092 6 push(rsp)
0x1093 7 r8d = 0
0x1096 8 ecx = 0
0x1098 9 rdi = 0x1170 {"AVSHxH="}
0x109f 10 call([0x3ff8].q)
0x109f 11 noreturn
void deregister_tm_clones():
0x10b0 0 rdi = 0x4048 {""}
0x10b7 1 rax = 0x4048 {""}
0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3
0x10d8 3 <return> jump(pop)
0x10c3 4 rax = [0x3fd8].q
0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf
0x10cf 6 <return> tailcall(rax)
void register_tm_clones():
0x10e0 0 rdi = 0x4048 {""}
0x10e7 1 rsi = 0x4048 {""}
0x10ee 2 rsi = rsi - rdi
0x10f1 3 rax = rsi
0x10f4 4 rsi = rsi u>> 0x3f
0x10f8 5 rax = rax s>> 3
0x10fc 6 rsi = rsi + rax
0x10ff 7 rsi = rsi s>> 1
0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104
0x1118 9 <return> jump(pop)
0x1104 10 rax = [0x3ff0].q
0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110
0x1110 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d
0x1158 1 <return> jump(pop)
0x112d 2 push(rbp)
0x112e 3 cond:0 = [0x3fe0].q == 0
0x1136 4 rbp = rsp {__saved_rbp}
0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b
0x1147 6 call(0x10b0)
0x114c 7 [0x4048].b = 1
0x1153 8 rbp = pop
0x1154 9 <return> jump(pop)
0x113b 10 rdi = [0x4040].q
0x1142 11 call(0x1070)
0x1142 12 goto 6 @ 0x1147
int64_t frame_dummy():
0x1164 0 <return> tailcall(0x10e0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1170 0 push(r14)
0x1172 1 push(rbx)
0x1173 2 rsp = rsp - 0x78
0x1177 3 rdi = 0x2004 {"%d%*c"}
0x117e 4 rsi = rsp + 0xc {var_7c}
0x1183 5 eax = 0
0x1185 6 call(0x1040)
0x118f 7 if ([rsp + 0xc {var_7c}].d s<= 0) then 8 @ 0x12f2 else 13 @ 0x1195
0x12f2 8 eax = 0
0x12f4 9 rsp = rsp + 0x78
0x12f8 10 rbx = pop
0x12f9 11 r14 = pop
0x12fb 12 <return> jump(pop)
0x1195 13 r14 = rsp + 0x10 {var_78}
0x119a 14 goto 15 @ 0x11c4
0x11c4 15 rdi = r14 {var_78}
0x11c7 16 eax = 0
0x11c9 17 call(0x1050)
0x11ce 18 rdi = r14 {var_78}
0x11d1 19 eax = 0
0x11d3 20 call(0x1060)
0x11d8 21 rdi = r14 {var_78}
0x11db 22 call(0x1030)
0x11e0 23 temp0.d = eax
0x11e0 24 cond:0 = temp0.d != 0
0x11e2 25 if (temp0.d s<= 0) then 26 @ 0x11a0 else 27 @ 0x11e4
0x11a0 26 if (cond:0) then 29 @ 0x12f0 else 30 @ 0x11a6
0x11e4 27 r8d = eax
0x11e7 28 goto 37 @ 0x11fb
0x12f0 29 goto 29
0x11a6 30 rdi = r14 {var_78}
0x11a9 31 eax = 0
0x11ab 32 call(0x1060)
0x11b0 33 eax = [rsp + 0xc {var_7c}].d
0x11b4 34 ecx = (rax - 1).d
0x11b7 35 [rsp + 0xc {var_7c}].d = ecx
0x11be 36 if (eax s<= 1) then 8 @ 0x12f2 else 15 @ 0x11c4
0x11fb 37 edx = 0
0x11fb 38 goto 39 @ 0x1202
0x1202 39 if ([rsp + rdx + 0x10].b == 0x29) then 40 @ 0x1212 else 41 @ 0x1204
0x1212 40 if (edx == eax) then 43 @ 0x1252 else 44 @ 0x1214
0x1204 41 rdx = rdx + 1
0x120b 42 if (rdx != r8) then 39 @ 0x1202 else 46 @ 0x120d
0x1252 43 if (eax s<= 0) then 30 @ 0x11a6 else 47 @ 0x1258
0x1214 44 bl = 0x3f {""}
0x1218 45 if (edx s< 0) then 50 @ 0x11f5 else 53 @ 0x121a
0x120d 46 goto 43 @ 0x1252
0x1258 47 edx = eax
0x125a 48 eax = eax & 1
0x1261 49 if (rdx != 1) then 58 @ 0x1282 else 61 @ 0x1263
0x11f5 50 ecx = edx
0x11f7 51 [rsp + rcx + 0x10].b = bl
0x11f7 52 goto 37 @ 0x11fb
0x121a 53 ecx = edx
0x121c 54 rsi = rsp + rcx
0x1220 55 rsi = rsi + 0x10
0x1224 56 edi = edx
0x1226 57 goto 63 @ 0x1230
0x1282 58 rdx = rdx - rax
0x1285 59 ecx = 0
0x1287 60 goto 65 @ 0x129f
0x1263 61 ecx = 0
0x1263 62 goto 67 @ 0x1268
0x1230 63 ecx = edi
0x1237 64 if ([rsp + rcx + 0x10].b == 0x28) then 68 @ 0x11f0 else 71 @ 0x1239
0x129f 65 ebx = zx.d([rsp + rcx + 0x10].b)
0x12a7 66 if (bl == 0x28) then 76 @ 0x12c0 else 78 @ 0x12ac
0x1268 67 if (rax == 0) then 30 @ 0x11a6 else 79 @ 0x126e
0x11f0 68 [rsi].b = 0x20 {"@"}
0x11f3 69 bl = 0x20 {"@"}
0x11f3 70 goto 50 @ 0x11f5
0x1239 71 ecx = (rdi - 1).d
0x123c 72 rsi = rsi - 1
0x1240 73 cond:1 = edi s> 0
0x1242 74 edi = ecx
0x1244 75 if (cond:1) then 63 @ 0x1230 else 81 @ 0x1246
0x12c0 76 bl = 0x24 {""}
0x12c0 77 goto 82 @ 0x12c2
0x12ac 78 if (bl == 0x3f) then 84 @ 0x12c6 else 86 @ 0x12ae
0x126e 79 al = [rsp + rcx + 0x10].b
0x1274 80 if (al == 0x28) then 88 @ 0x12d9 else 90 @ 0x1278
0x1246 81 goto 50 @ 0x11f5
0x12c2 82 [rsp + rcx + 0x10].b = bl
0x12c2 83 goto 84 @ 0x12c6
0x12c6 84 ebx = zx.d([rsp + rcx + 0x11].b)
0x12ce 85 if (bl == 0x28) then 91 @ 0x1290 else 93 @ 0x12d3
0x12ae 86 bl = 0x20 {"@"}
0x12b0 87 goto 82 @ 0x12c2
0x12d9 88 al = 0x24 {""}
0x12d9 89 goto 94 @ 0x12db
0x1278 90 if (al == 0x3f) then 30 @ 0x11a6 else 96 @ 0x127e
0x1290 91 bl = 0x24 {""}
0x1290 92 goto 98 @ 0x1292
0x12d3 93 if (bl == 0x3f) then 100 @ 0x1296 else 102 @ 0x12d5
0x12db 94 [rsp + rcx + 0x10].b = al
0x12df 95 goto 30 @ 0x11a6
0x127e 96 al = 0x20 {"@"}
0x1280 97 goto 94 @ 0x12db
0x1292 98 [rsp + rcx + 0x11].b = bl
0x1292 99 goto 100 @ 0x1296
0x1296 100 rcx = rcx + 2
0x129d 101 if (rdx == rcx) then 67 @ 0x1268 else 65 @ 0x129f
0x12d5 102 bl = 0x20 {"@"}
0x12d7 103 goto 98 @ 0x1292
int64_t _fini():
0x1300 0 rsp = rsp - 8
0x1304 1 rsp = rsp + 8
0x1308 2 <return> jump(pop)
| POJ_17 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
uint64_t strlen(char const* arg1):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
int32_t puts(char const* str):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"AWAVAUATSH"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(r15)
0x1162 1 push(r14)
0x1164 2 push(r13)
0x1166 3 push(r12)
0x1168 4 push(rbx)
0x1169 5 rsp = rsp - 0x210
0x1170 6 rdi = 0x2004 {"%d"}
0x1177 7 rsi = rsp + 0xc {var_22c}
0x117c 8 eax = 0
0x117e 9 call(0x1040)
0x1188 10 if ([rsp + 0xc {var_22c}].d s<= 0) then 11 @ 0x1269 else 19 @ 0x118e
0x1269 11 eax = 0
0x126b 12 rsp = rsp + 0x210
0x1272 13 rbx = pop
0x1273 14 r12 = pop
0x1275 15 r13 = pop
0x1277 16 r14 = pop
0x1279 17 r15 = pop
0x127b 18 <return> jump(pop)
0x118e 19 ebx = 1
0x1193 20 r14 = 0x2007 {"%s"}
0x119a 21 r15 = rsp + 0x10 {var_228}
0x119f 22 r12 = 0x200e {"no"}
0x11a6 23 r13 = 0x200a {"yes"}
0x11ad 24 goto 25 @ 0x11ce
0x11ce 25 rdi = r14
0x11d1 26 rsi = r15 {var_228}
0x11d4 27 eax = 0
0x11d6 28 call(0x1040)
0x11db 29 al = [rsp + 0x10 {var_228}].b
0x11df 30 ecx = (rax - 0x7b).d
0x11e5 31 if (cl u> -0x1b) then 32 @ 0x1200 else 36 @ 0x11e9
0x1200 32 rdi = r15 {var_228}
0x1203 33 call(0x1030)
0x1208 34 rdi = r13
0x120f 35 if (rax == 1) then 37 @ 0x11ba else 42 @ 0x1211
0x11e9 36 if (al == 0x5f) then 32 @ 0x1200 else 44 @ 0x11eb
0x11ba 37 call(0x1050)
0x11bf 38 eax = (rbx + 1).d
0x11c2 39 cond:0 = ebx s>= [rsp + 0xc {var_22c}].d
0x11c6 40 ebx = eax
0x11c8 41 if (cond:0) then 11 @ 0x1269 else 25 @ 0x11ce
0x1211 42 ecx = 1
0x1219 43 if (eax s< 2) then 47 @ 0x11b1 else 50 @ 0x121b
0x11eb 44 al = al - 0x5b
0x11ed 45 rdi = r12
0x11f2 46 if (al u< -0x1a) then 37 @ 0x11ba else 53 @ 0x11fe
0x11b1 47 cond:1 = ecx == eax
0x11b3 48 rdi = r12
0x11b6 49 if (cond:1) then 54 else 56
0x121b 50 edx = eax
0x121d 51 ecx = 1
0x1222 52 goto 57 @ 0x123d
0x11fe 53 goto 32 @ 0x1200
0x11b6 54 rdi = r13
0x11b6 55 goto 56
0x11b6 56 goto 37 @ 0x11ba
0x123d 57 esi = zx.d([rsp + rcx + 0x10].b)
0x1242 58 edi = (rsi - 0x7b).d
0x1249 59 if (dil u> -0x1b) then 60 @ 0x1230 else 62 @ 0x124f
0x1230 60 rcx = rcx + 1
0x1237 61 if (rdx == rcx) then 63 @ 0x11af else 57 @ 0x123d
0x124f 62 if (sil == 0x5f) then 60 @ 0x1230 else 65 @ 0x1251
0x11af 63 ecx = eax
0x11af 64 goto 47 @ 0x11b1
0x1251 65 edi = (rsi - 0x5b).d
0x1258 66 if (dil u> -0x1b) then 60 @ 0x1230 else 67 @ 0x125a
0x125a 67 sil = sil - 0x3a
0x1262 68 if (sil u>= -0xa) then 60 @ 0x1230 else 69 @ 0x1264
0x1264 69 goto 47 @ 0x11b1
int64_t _fini():
0x1280 0 rsp = rsp - 8
0x1284 1 rsp = rsp + 8
0x1288 2 <return> jump(pop)
| POJ_85 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"AWAVATSHH="}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(r15)
0x1152 1 push(r14)
0x1154 2 push(r12)
0x1156 3 push(rbx)
0x1157 4 rsp = rsp - 0x18
0x115b 5 rdi = 0x2004 {"%d%c"}
0x1162 6 rsi = rsp + 0x10 {var_28}
0x1167 7 rdx = rsp + 0xf {var_29}
0x116c 8 eax = 0
0x116e 9 call(0x1040)
0x1178 10 if ([rsp + 0xf {var_29}].b != 0x2c) then 11 @ 0x11e0 else 15 @ 0x117a
0x11e0 11 rdi = 0x200c {"No"}
0x11e7 12 eax = 0
0x11e9 13 call(0x1030)
0x11e9 14 goto 20 @ 0x11ee
0x117a 15 r14 = 0x2004 {"%d%c"}
0x1181 16 r15 = rsp + 0x14 {var_24}
0x1186 17 r12 = rsp + 0xf {var_29}
0x118b 18 ebx = 0
0x118d 19 goto 27 @ 0x11a1
0x11ee 20 eax = 0
0x11f0 21 rsp = rsp + 0x18
0x11f4 22 rbx = pop
0x11f5 23 r12 = pop
0x11f7 24 r14 = pop
0x11f9 25 r15 = pop
0x11fb 26 <return> jump(pop)
0x11a1 27 rdi = r14
0x11a4 28 rsi = r15 {var_24}
0x11a7 29 rdx = r12 {var_29}
0x11aa 30 eax = 0
0x11ac 31 call(0x1040)
0x11b1 32 eax = [rsp + 0x14 {var_24}].d
0x11b5 33 ecx = [rsp + 0x10 {var_28}].d
0x11b9 34 cond:0 = eax == ecx
0x11bb 35 if (eax s<= ecx) then 36 @ 0x1190 else 38 @ 0x11bd
0x1190 36 ecx = eax
0x1192 37 if (cond:0) then 41 else 43 @ 0x1197
0x11bd 38 [rsp + 0x10 {var_28}].d = eax
0x11c1 39 ebx = ecx
0x11c8 40 if ([rsp + 0xf {var_29}].b == 0x2c) then 27 @ 0x11a1 else 44 @ 0x11cc
0x1192 41 ecx = ebx
0x1192 42 goto 43 @ 0x1197
0x1197 43 if (eax s> ebx) then 45 else 47 @ 0x119f
0x11cc 44 if (ebx == 0) then 11 @ 0x11e0 else 48 @ 0x11ce
0x1197 45 ebx = ecx
0x1197 46 goto 47 @ 0x119f
0x119f 47 if ([rsp + 0xf {var_29}].b != 0x2c) then 44 @ 0x11cc else 27 @ 0x11a1
0x11ce 48 rdi = 0x2009 {"%d"}
0x11d5 49 esi = ebx
0x11d7 50 eax = 0
0x11d9 51 call(0x1030)
0x11de 52 goto 20 @ 0x11ee
int64_t _fini():
0x1200 0 rsp = rsp - 8
0x1204 1 rsp = rsp + 8
0x1208 2 <return> jump(pop)
| POJ_22 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UAWAVAUATSHhL="}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 push(r15)
0x1153 2 push(r14)
0x1155 3 push(r13)
0x1157 4 push(r12)
0x1159 5 push(rbx)
0x115a 6 rsp = rsp - 0x68
0x115e 7 r15 = 0x200a {"%d"}
0x1165 8 r14d = 0
0x1168 9 rsi = rsp {var_98}
0x116b 10 rdi = r15
0x116e 11 eax = 0
0x1170 12 call(0x1040)
0x1175 13 rsi = rsp + 4 {var_94}
0x117a 14 rdi = r15
0x117d 15 eax = 0
0x117f 16 call(0x1040)
0x1184 17 rsi = rsp + 8 {var_90}
0x1189 18 rdi = r15
0x118c 19 eax = 0
0x118e 20 call(0x1040)
0x1193 21 rsi = rsp + 0xc {var_8c}
0x1198 22 rdi = r15
0x119b 23 eax = 0
0x119d 24 call(0x1040)
0x11a2 25 rbx = rsp + 0x10 {var_88}
0x11a7 26 rdi = r15
0x11aa 27 rsi = rbx {var_88}
0x11ad 28 eax = 0
0x11af 29 call(0x1040)
0x11b4 30 rsi = rsp + 0x14 {var_84}
0x11b9 31 rdi = r15
0x11bc 32 eax = 0
0x11be 33 call(0x1040)
0x11c3 34 rsi = rsp + 0x18 {var_80}
0x11c8 35 rdi = r15
0x11cb 36 eax = 0
0x11cd 37 call(0x1040)
0x11d2 38 rsi = rsp + 0x1c {var_7c}
0x11d7 39 rdi = r15
0x11da 40 eax = 0
0x11dc 41 call(0x1040)
0x11e1 42 rsi = rsp + 0x20 {var_78}
0x11e6 43 rdi = r15
0x11e9 44 eax = 0
0x11eb 45 call(0x1040)
0x11f0 46 rsi = rsp + 0x24 {var_74}
0x11f5 47 rdi = r15
0x11f8 48 eax = 0
0x11fa 49 call(0x1040)
0x11ff 50 rsi = rsp + 0x28 {var_70}
0x1204 51 rdi = r15
0x1207 52 eax = 0
0x1209 53 call(0x1040)
0x120e 54 rsi = rsp + 0x2c {var_6c}
0x1213 55 rdi = r15
0x1216 56 eax = 0
0x1218 57 call(0x1040)
0x121d 58 rsi = rsp + 0x30 {var_68}
0x1222 59 rdi = r15
0x1225 60 eax = 0
0x1227 61 call(0x1040)
0x122c 62 rsi = rsp + 0x34 {var_64}
0x1231 63 rdi = r15
0x1234 64 eax = 0
0x1236 65 call(0x1040)
0x123b 66 rsi = rsp + 0x38 {var_60}
0x1240 67 rdi = r15
0x1243 68 eax = 0
0x1245 69 call(0x1040)
0x124a 70 rsi = rsp + 0x3c {var_5c}
0x124f 71 rdi = r15
0x1252 72 eax = 0
0x1254 73 call(0x1040)
0x1259 74 rsi = rsp + 0x40 {var_58}
0x125e 75 rdi = r15
0x1261 76 eax = 0
0x1263 77 call(0x1040)
0x1268 78 rsi = rsp + 0x44 {var_54}
0x126d 79 rdi = r15
0x1270 80 eax = 0
0x1272 81 call(0x1040)
0x1277 82 rsi = rsp + 0x48 {var_50}
0x127c 83 rdi = r15
0x127f 84 eax = 0
0x1281 85 call(0x1040)
0x1286 86 rsi = rsp + 0x4c {var_4c}
0x128b 87 rdi = r15
0x128e 88 eax = 0
0x1290 89 call(0x1040)
0x1295 90 rsi = rsp + 0x50 {var_48}
0x129a 91 rdi = r15
0x129d 92 eax = 0
0x129f 93 call(0x1040)
0x12a4 94 rsi = rsp + 0x54 {var_44}
0x12a9 95 rdi = r15
0x12ac 96 eax = 0
0x12ae 97 call(0x1040)
0x12b3 98 rsi = rsp + 0x58 {var_40}
0x12b8 99 rdi = r15
0x12bb 100 eax = 0
0x12bd 101 call(0x1040)
0x12c2 102 rsi = rsp + 0x5c {var_3c}
0x12c7 103 rdi = r15
0x12ca 104 eax = 0
0x12cc 105 call(0x1040)
0x12d1 106 rsi = rsp + 0x60 {var_38}
0x12d6 107 rdi = r15
0x12d9 108 eax = 0
0x12db 109 call(0x1040)
0x12e0 110 r13b = 1
0x12e3 111 r12 = 0x100000000 {""}
0x12e3 112 goto 113 @ 0x12ed
0x12ed 113 r9 = r14
0x12f0 114 rax = r14 + (r14 << 2)
0x12f4 115 r14 = r14 + 1
0x12f8 116 r9 = r9 << 0x20
0x12fc 117 r15 = rbx {var_88}
0x12ff 118 rsi = rbx + (rax << 2)
0x1303 119 goto 120 @ 0x1325
0x1325 120 ebx = [rsi - 0x10].d
0x1328 121 ecx = [rsi - 0xc].d
0x132b 122 eax = 0
0x132d 123 cond:0 = ebx s< ecx
0x132f 124 al = ebx s< ecx
0x1332 125 if (cond:0) then 126 else 128 @ 0x1335
0x1332 126 ebx = ecx
0x1332 127 goto 128 @ 0x1335
0x1335 128 ebp = [rsi - 8].d
0x1338 129 cond:1 = ebx s< ebp
0x1338 130 cond:2 = ebx s< ebp
0x133a 131 r10d = 2
0x1340 132 if (cond:1) then 133 else 135 @ 0x1344
0x1340 133 eax = r10d
0x1340 134 goto 135 @ 0x1344
0x1344 135 if (cond:2) then 136 else 138 @ 0x1347
0x1344 136 ebx = ebp
0x1344 137 goto 138 @ 0x1347
0x1347 138 ecx = [rsi - 4].d
0x134a 139 cond:3 = ebx s< ecx
0x134a 140 cond:4 = ebx s< ecx
0x134c 141 edx = 3
0x1351 142 if (cond:3) then 143 else 145 @ 0x1354
0x1351 143 eax = edx
0x1351 144 goto 145 @ 0x1354
0x1354 145 if (cond:4) then 146 else 148 @ 0x1357
0x1354 146 ebx = ecx
0x1354 147 goto 148 @ 0x1357
0x1357 148 edi = [rsi].d
0x1359 149 cond:5 = ebx s< edi
0x1359 150 cond:6 = ebx s< edi
0x135b 151 r8d = 4
0x1361 152 if (cond:5) then 153 else 155 @ 0x1365
0x1361 153 eax = r8d
0x1361 154 goto 155 @ 0x1365
0x1365 155 if (cond:6) then 156 else 158 @ 0x136a
0x1365 156 ebx = edi
0x1365 157 goto 158 @ 0x136a
0x136a 158 if (ebx s< ebp) then 159 @ 0x1371 else 162 @ 0x136c
0x1371 159 r11d = 3
0x1377 160 ebx = ecx
0x137b 161 if (ebp s< ecx) then 165 @ 0x1382 else 168 @ 0x137d
0x136c 162 r10d = eax
0x136f 163 ebp = ebx
0x136f 164 goto 159 @ 0x1371
0x1382 165 ebp = 4
0x1387 166 eax = edi
0x138b 167 if (ebx s< edi) then 171 @ 0x1394 else 172 @ 0x138d
0x137d 168 r11d = r10d
0x1380 169 ebx = ebp
0x1380 170 goto 165 @ 0x1382
0x1394 171 if (eax s< ecx) then 175 @ 0x139a else 177 @ 0x1396
0x138d 172 ebp = r11d
0x1390 173 eax = ebx
0x1390 174 goto 171 @ 0x1394
0x139a 175 cond:7 = ecx s< edi
0x139c 176 if (ecx s< edi) then 180 else 182 @ 0x13a0
0x1396 177 edx = ebp
0x1398 178 ecx = eax
0x1398 179 goto 175 @ 0x139a
0x139c 180 edx = r8d
0x139c 181 goto 182 @ 0x13a0
0x13a0 182 if (cond:7) then 183 else 185 @ 0x13a6
0x13a0 183 ecx = edi
0x13a0 184 goto 185 @ 0x13a6
0x13a6 185 if (ecx s> [rsp + (rdx << 2)].d) then 186 @ 0x1310 else 190 @ 0x13ac
0x1310 186 r14 = r14 + 1
0x1314 187 r9 = r9 + r12
0x1317 188 rsi = rsi + 0x14
0x131f 189 if (r14 == 6) then 196 @ 0x1410 else 120 @ 0x1325
0x13ac 190 rax = r9
0x13af 191 rax = rax s>> 0x20
0x13b3 192 rax = rax + (rax << 2)
0x13b7 193 rax = rsp + (rax << 2)
0x13bb 194 eax = [rax + (rdx << 2)].d
0x13c2 195 if (eax s> [rsp + (rdx << 2) + 0x14].d) then 186 @ 0x1310 else 197 @ 0x13cc
0x1410 196 if ((r13b & 1) == 0) then 198 @ 0x1420 else 207 @ 0x1412
0x13cc 197 if (eax s> [rsp + (rdx << 2) + 0x28].d) then 186 @ 0x1310 else 211 @ 0x13d6
0x1420 198 eax = 0
0x1422 199 rsp = rsp + 0x68
0x1426 200 rbx = pop
0x1427 201 r12 = pop
0x1429 202 r13 = pop
0x142b 203 r14 = pop
0x142d 204 r15 = pop
0x142f 205 rbp = pop
0x1430 206 <return> jump(pop)
0x1412 207 rdi = 0x200d {"not found"}
0x1419 208 eax = 0
0x141b 209 call(0x1030)
0x141b 210 goto 198 @ 0x1420
0x13d6 211 if (eax s> [rsp + (rdx << 2) + 0x3c].d) then 186 @ 0x1310 else 212 @ 0x13e0
0x13e0 212 if (eax s> [rsp + (rdx << 2) + 0x50].d) then 186 @ 0x1310 else 213 @ 0x13e6
0x13e6 213 edx = edx + 1
0x13e9 214 r13d = 0
0x13ec 215 rdi = 0x2004 {"%d %d %d"}
0x13f3 216 esi = r14d
0x13f6 217 eax = 0
0x13f8 218 call(0x1030)
0x13fd 219 cond:8 = r14 != 5
0x1401 220 rbx = r15 {var_88}
0x1404 221 if (cond:8) then 113 @ 0x12ed else 222 @ 0x140a
0x140a 222 goto 198 @ 0x1420
int64_t _fini():
0x1438 0 rsp = rsp - 8
0x143c 1 rsp = rsp + 8
0x1440 2 <return> jump(pop)
| POJ_73 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t scanf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t puts(char const* str):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"HH="}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 rsp = rsp - 0x18
0x1154 1 rdi = 0x2004 {"%d %d %d"}
0x115b 2 rsi = rsp + 0x14 {var_4}
0x1160 3 rdx = rsp + 0x10 {var_8}
0x1165 4 rcx = rsp + 0xc {var_c}
0x116a 5 eax = 0
0x116c 6 call(0x1030)
0x1171 7 edi = [rsp + 0x14 {var_4}].d
0x1175 8 edx = (rdi - 1).d
0x1178 9 rax = sx.q(edx)
0x117b 10 rsi = rax * 0x51eb851f
0x1182 11 rax = rsi
0x1185 12 rax = rax s>> 0x27
0x1189 13 r8 = rsi
0x118c 14 r8 = r8 u>> 0x3f
0x1190 15 eax = eax + r8d
0x1193 16 eax = eax * 0x190
0x1199 17 eax = neg.d(eax)
0x119b 18 eax = eax + edi
0x119d 19 eax = eax - 1
0x11a0 20 ecx = edi
0x11a2 21 ecx = ecx - eax
0x11a4 22 ecx = ecx + 0x63
0x11a9 23 if (edi s> ecx) then 24 else 26 @ 0x11ac
0x11a9 24 ecx = edi
0x11a9 25 goto 26 @ 0x11ac
0x11ac 26 ecx = ecx + eax
0x11ae 27 ecx = ecx - edi
0x11b0 28 eax = 0
0x11b2 29 temp0.d = ecx
0x11b2 30 ecx = ecx - 0x63
0x11b5 31 al = temp0.d != 0x63
0x11b8 32 ecx = ecx - eax
0x11ba 33 rcx = rcx * 0x51eb851f
0x11c1 34 rcx = rcx u>> 0x25
0x11c5 35 ecx = ecx + eax
0x11c7 36 eax = (rcx + (rcx << 2)).d
0x11ca 37 rsi = rsi s>> 0x25
0x11ce 38 esi = esi + r8d
0x11d1 39 esi = esi * 0x64
0x11d4 40 ecx = (rsi + 1).d
0x11d9 41 if (ecx s>= edi) then 42 @ 0x11f5 else 44 @ 0x11db
0x11f5 42 r9d = [rsp + 0x10 {var_8}].d
0x11fe 43 if (r9d s< 2) then 47 @ 0x1292 else 60 @ 0x1208
0x11db 44 edx = edx - esi
0x11dd 45 edx = neg.d(edx)
0x11df 46 goto 75 @ 0x11e0
0x1292 47 eax = eax + [rsp + 0xc {var_c}].d
0x1296 48 rcx = sx.q(eax)
0x1299 49 rax = rcx * -0x6db6db6d
0x12a0 50 rax = rax u>> 0x20
0x12a4 51 eax = eax + ecx
0x12a6 52 edx = eax
0x12a8 53 edx = edx u>> 0x1f
0x12ab 54 eax = eax s>> 2
0x12ae 55 eax = eax + edx
0x12b0 56 edx = (rax << 3).d
0x12b7 57 eax = eax - edx
0x12b9 58 eax = eax + ecx
0x12be 59 if (eax u> 6) then 83 @ 0x12d5 else 86 @ 0x12c0
0x1208 60 r8b = (dil & 3) != 0
0x120c 61 esi = edi * -0x3d70a3d7
0x1212 62 esi = esi + 0x51eb850
0x1218 63 edi = esi
0x121a 64 edi = ror.d(edi, 4)
0x1223 65 dil = edi u>= 0xa3d70b
0x1227 66 esi = ror.d(esi, 2)
0x122a 67 flag:c = esi u< 0x28f5c29
0x1230 68 cl = flag:c
0x1233 69 cl = cl & dil
0x1236 70 cl = cl | r8b
0x1239 71 r8d = zx.d(cl)
0x123d 72 r8d = r8d ^ 0x1d
0x1241 73 ecx = 1
0x1246 74 goto 92 @ 0x125a
0x11e0 75 ecx = (rdi + rdx).d
0x11e3 76 ecx = ecx & 3
0x11e6 77 flag:c = ecx u< 1
0x11e9 78 eax = adc.d(eax, 0, flag:c)
0x11ec 79 eax = eax + 0x16d
0x11f1 80 temp1.d = edx
0x11f1 81 edx = edx + 1
0x11f3 82 if (temp1.d != -1) then 75 @ 0x11e0 else 42 @ 0x11f5
0x12d5 83 eax = 0
0x12d7 84 rsp = rsp + 0x18
0x12db 85 <return> jump(pop)
0x12c0 86 rax = sx.q(eax)
0x12c2 87 rcx = 0x2030 {";("}
0x12c9 88 rdi = sx.q([rcx + (rax << 2)].d)
0x12cd 89 rdi = rdi + rcx
0x12d0 90 call(0x1040)
0x12d0 91 goto 83 @ 0x12d5
0x125a 92 edx = ecx
0x125c 93 edx = edx & 0x7ffffffd
0x1262 94 edi = 0x1f {""}
0x126a 95 if (edx == 8) then 96 @ 0x1250 else 99 @ 0x126c
0x1250 96 eax = eax + edi
0x1252 97 ecx = ecx + 1
0x1258 98 if (r9d == ecx) then 47 @ 0x1292 else 92 @ 0x125a
0x126c 99 esi = ecx
0x126e 100 esi = esi & 0x7ffffff9
0x1277 101 if (esi == 1) then 96 @ 0x1250 else 102 @ 0x127c
0x127c 102 if (ecx == 0xc) then 96 @ 0x1250 else 103 @ 0x127e
0x127e 103 edi = 0x1e {""}
0x1286 104 if (edx == 4) then 96 @ 0x1250 else 105 @ 0x128b
0x128b 105 if (edx == 9) then 96 @ 0x1250 else 106 @ 0x128d
0x128d 106 edi = r8d
0x1290 107 goto 96 @ 0x1250
int64_t _fini():
0x12e0 0 rsp = rsp - 8
0x12e4 1 rsp = rsp + 8
0x12e8 2 <return> jump(pop)
| POJ_66 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"SHH="}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbx)
0x1151 1 rsp = rsp - 0x10
0x1155 2 rdi = 0x2004 {"%d"}
0x115c 3 ebx = 0
0x115e 4 rsi = rsp + 0xc {var_c}
0x1163 5 eax = 0
0x1165 6 call(0x1040)
0x116a 7 r10d = [rsp + 0xc {var_c}].d
0x1172 8 if (r10d s<= 0) then 9 @ 0x11fa else 17 @ 0x1178
0x11fa 9 rdi = 0x2004 {"%d"}
0x1201 10 esi = ebx
0x1203 11 eax = 0
0x1205 12 call(0x1030)
0x120a 13 eax = 0
0x120c 14 rsp = rsp + 0x10
0x1210 15 rbx = pop
0x1211 16 <return> jump(pop)
0x1178 17 r10d = neg.d(r10d)
0x117b 18 esi = 1
0x1180 19 r9d = 0
0x1183 20 r8d = 0xcccccccd {""}
0x1189 21 ebx = 0
0x118b 22 goto 23 @ 0x11b3
0x11b3 23 ecx = esi
0x11b5 24 rdx = rcx * 0x24924925
0x11bc 25 rdx = rdx u>> 0x20
0x11c0 26 edi = esi
0x11c2 27 edi = edi - edx
0x11c4 28 edi = edi u>> 1
0x11c6 29 edi = edi + edx
0x11c8 30 edi = edi u>> 2
0x11cb 31 edx = (rdi << 3).d
0x11d2 32 rcx = rcx * r8
0x11d6 33 rcx = rcx u>> 0x23
0x11da 34 ecx = ecx + ecx
0x11dc 35 eax = (rcx + (rcx << 2)).d
0x11df 36 edi = edi - edx
0x11e1 37 r11d = (rsi - 0x46).d
0x11e5 38 ecx = esi
0x11e7 39 ecx = ecx - eax
0x11e9 40 edx = 0
0x11f1 41 if (ecx == 7) then 42 @ 0x1194 else 43 @ 0x11f3
0x1194 42 if (r11d u< 0xa) then 46 else 48 @ 0x1198
0x11f3 43 edx = esi
0x11f5 44 edx = edx * esi
0x11f8 45 goto 42 @ 0x1194
0x1194 46 edx = r9d
0x1194 47 goto 48 @ 0x1198
0x1198 48 temp0.d = edi
0x1198 49 edi = edi + esi
0x119a 50 if (temp0.d == neg.d(esi)) then 51 else 53 @ 0x119e
0x119a 51 edx = r9d
0x119a 52 goto 53 @ 0x119e
0x119e 53 ebx = ebx + edx
0x11a0 54 eax = (r10 + rsi).d
0x11a4 55 eax = eax + 1
0x11a7 56 ecx = esi
0x11a9 57 ecx = ecx + 1
0x11ac 58 esi = ecx
0x11b1 59 if (eax == 1) then 9 @ 0x11fa else 23 @ 0x11b3
int64_t _fini():
0x1218 0 rsp = rsp - 8
0x121c 1 rsp = rsp + 8
0x1220 2 <return> jump(pop)
| POJ_30 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1190 {"UAWAVAUATSHH=_"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
uint64_t fblq(int32_t arg1):
0x1150 0 push(rbp)
0x1151 1 push(rbx)
0x1152 2 push(rax)
0x1153 3 ebx = edi
0x1155 4 ebp = 0
0x1159 5 if (ebx == 0) then 6 @ 0x1176 else 8 @ 0x115b
0x1176 6 eax = 1
0x117b 7 goto 9 @ 0x1182
0x115b 8 goto 14 @ 0x1163
0x1182 9 eax = eax + ebp
0x1184 10 rsp = rsp + 8
0x1188 11 rbx = pop
0x1189 12 rbp = pop
0x118a 13 <return> jump(pop)
0x1163 14 if (ebx == 1) then 15 @ 0x117d else 17 @ 0x1165
0x117d 15 eax = 2
0x117d 16 goto 9 @ 0x1182
0x1165 17 edi = (rbx - 1).d
0x1168 18 call(0x1150)
0x116d 19 ebp = ebp + eax
0x116f 20 ebx = ebx - 2
0x1174 21 if (ebx != 0) then 14 @ 0x1163 else 6 @ 0x1176
int32_t main(int32_t argc, char** argv, char** envp):
0x1190 0 push(rbp)
0x1191 1 push(r15)
0x1193 2 push(r14)
0x1195 3 push(r13)
0x1197 4 push(r12)
0x1199 5 push(rbx)
0x119a 6 rsp = rsp - 0x18
0x119e 7 rdi = 0x2004 {"%d"}
0x11a5 8 rsi = rsp {var_48}
0x11a8 9 eax = 0
0x11aa 10 call(0x1040)
0x11b3 11 if ([rsp {var_48}].d s<= 0) then 12 @ 0x126b else 21 @ 0x11b9
0x126b 12 eax = 0
0x126d 13 rsp = rsp + 0x18
0x1271 14 rbx = pop
0x1272 15 r12 = pop
0x1274 16 r13 = pop
0x1276 17 r14 = pop
0x1278 18 r15 = pop
0x127a 19 rbp = pop
0x127b 20 <return> jump(pop)
0x11b9 21 r14 = 0x2004 {"%d"}
0x11c0 22 r15 = rsp + 4 {var_44}
0x11c5 23 r12 = 0x2007 {"%.3lf\n"}
0x11cc 24 r13d = 0
0x11cf 25 goto 26 @ 0x11f4
0x11f4 26 rdi = r14
0x11f7 27 rsi = r15 {var_44}
0x11fa 28 eax = 0
0x11fc 29 call(0x1040)
0x1201 30 ebp = [rsp + 4 {var_44}].d
0x1205 31 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x120b 32 if (ebp s<= 0) then 33 @ 0x11e0 else 38 @ 0x120d
0x11e0 33 rdi = r12
0x11e3 34 al = 1
0x11e5 35 call(0x1030)
0x11ea 36 r13d = r13d + 1
0x11f2 37 if (r13d s>= [rsp {var_48}].d) then 12 @ 0x126b else 26 @ 0x11f4
0x120d 38 ebx = 1
0x121c 39 goto 40 @ 0x1220
0x1220 40 [rsp + 0x10 {var_38_1}].q = xmm0.q
0x1226 41 edi = ebx
0x1228 42 call(0x1150)
0x122d 43 xmm0 = 0
0x1230 44 xmm0.q = float.d(eax)
0x1234 45 [rsp + 8 {var_40_1}].q = xmm0.q
0x123a 46 edi = (rbx - 1).d
0x123d 47 call(0x1150)
0x1242 48 xmm0 = 0
0x1245 49 xmm0.q = float.d(eax)
0x1249 50 xmm1 = zx.o([rsp + 8 {var_40_1}].q)
0x124f 51 xmm1.q = xmm1.q f/ xmm0.q
0x1253 52 xmm0 = zx.o([rsp + 0x10 {var_38_1}].q)
0x1259 53 xmm0.q = xmm0.q f+ xmm1.q
0x125d 54 eax = (rbx + 1).d
0x1260 55 cond:0 = ebx != ebp
0x1262 56 ebx = eax
0x1264 57 if (cond:0) then 40 @ 0x1220 else 58 @ 0x1266
0x1266 58 goto 33 @ 0x11e0
int64_t _fini():
0x1280 0 rsp = rsp - 8
0x1284 1 rsp = rsp + 8
0x1288 2 <return> jump(pop)
| POJ_29 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t getchar():
0x1040 0 <return> tailcall([0x4020].q)
int64_t memset(void* arg1, int32_t arg2, uint64_t arg3):
0x1050 0 <return> tailcall([0x4028].q)
int32_t scanf(char const* format, ...):
0x1060 0 <return> tailcall([0x4030].q)
void __cxa_finalize(void* d):
0x1070 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1084 0 ebp = 0
0x1086 1 r9 = rdx
0x1089 2 rsi = pop
0x108a 3 rdx = rsp {arg_8}
0x108d 4 rsp = rsp & 0xfffffffffffffff0
0x1091 5 push(rax)
0x1092 6 push(rsp)
0x1093 7 r8d = 0
0x1096 8 ecx = 0
0x1098 9 rdi = 0x11b0 {"UAWAVAUATSHh"}
0x109f 10 call([0x3ff8].q)
0x109f 11 noreturn
void deregister_tm_clones():
0x10b0 0 rdi = 0x4048 {""}
0x10b7 1 rax = 0x4048 {""}
0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3
0x10d8 3 <return> jump(pop)
0x10c3 4 rax = [0x3fd8].q
0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf
0x10cf 6 <return> tailcall(rax)
void register_tm_clones():
0x10e0 0 rdi = 0x4048 {""}
0x10e7 1 rsi = 0x4048 {""}
0x10ee 2 rsi = rsi - rdi
0x10f1 3 rax = rsi
0x10f4 4 rsi = rsi u>> 0x3f
0x10f8 5 rax = rax s>> 3
0x10fc 6 rsi = rsi + rax
0x10ff 7 rsi = rsi s>> 1
0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104
0x1118 9 <return> jump(pop)
0x1104 10 rax = [0x3ff0].q
0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110
0x1110 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d
0x1158 1 <return> jump(pop)
0x112d 2 push(rbp)
0x112e 3 cond:0 = [0x3fe0].q == 0
0x1136 4 rbp = rsp {__saved_rbp}
0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b
0x1147 6 call(0x10b0)
0x114c 7 [0x4048].b = 1
0x1153 8 rbp = pop
0x1154 9 <return> jump(pop)
0x113b 10 rdi = [0x4040].q
0x1142 11 call(0x1070)
0x1142 12 goto 6 @ 0x1147
int64_t frame_dummy():
0x1164 0 <return> tailcall(0x10e0)
int64_t f(int64_t arg1, int32_t arg2, int32_t arg3):
0x1170 0 rax = sx.q(edx)
0x1173 1 edx = edx - 1
0x1176 2 r8d = [rdi + (rax << 2) - 4].d
0x117b 3 rcx = sx.q(esi)
0x1180 4 if (edx s<= esi) then 5 @ 0x11a3 else 7 @ 0x1182
0x11a3 5 [rdi + (rcx << 2)].d = r8d
0x11a7 6 <return> jump(pop)
0x1182 7 rax = rax - 1
0x1186 8 goto 9 @ 0x1190
0x1190 9 edx = [rdi + (rax << 2) - 4].d
0x1194 10 [rdi + (rax << 2)].d = edx
0x1197 11 rdx = rax - 1
0x119b 12 rax = rdx
0x11a1 13 if (rdx s> rcx) then 9 @ 0x1190 else 5 @ 0x11a3
int32_t main(int32_t argc, char** argv, char** envp):
0x11b0 0 push(rbp)
0x11b1 1 push(r15)
0x11b3 2 push(r14)
0x11b5 3 push(r13)
0x11b7 4 push(r12)
0x11b9 5 push(rbx)
0x11ba 6 rsp = rsp - 0x1f68
0x11c1 7 rdi = 0x2004 {"%d"}
0x11c8 8 rsi = rsp + 0xc {var_1f8c}
0x11cd 9 eax = 0
0x11cf 10 call(0x1060)
0x11d9 11 if ([rsp + 0xc {var_1f8c}].d == 0) then 12 @ 0x1468 else 25 @ 0x11df
0x1468 12 eax = 0
0x146a 13 call(0x1040)
0x146f 14 eax = 0
0x1471 15 call(0x1040)
0x1476 16 eax = 0
0x1478 17 rsp = rsp + 0x1f68
0x147f 18 rbx = pop
0x1480 19 r12 = pop
0x1482 20 r13 = pop
0x1484 21 r14 = pop
0x1486 22 r15 = pop
0x1488 23 rbp = pop
0x1489 24 <return> jump(pop)
0x11df 25 r12 = 0x2004 {"%d"}
0x11e6 26 goto 27 @ 0x1222
0x1222 27 edx = 0xfa4 {""}
0x1227 28 rdi = rsp + 0x10 {var_1f88}
0x122c 29 esi = 0
0x122e 30 call(0x1050)
0x1233 31 edx = 0xfa4 {""}
0x1238 32 rdi = rsp + 0xfc0 {var_fd8}
0x1240 33 esi = 0
0x1242 34 call(0x1050)
0x124c 35 if ([rsp + 0xc {var_1f8c}].d s<= 0) then 36 @ 0x127f else 38 @ 0x124e
0x127f 36 ecx = [rsp + 0xc {var_1f8c}].d
0x1285 37 if (ecx s<= 0) then 41 @ 0x12c2 else 42 @ 0x1287
0x124e 38 rbp = rsp + 0x10 {var_1f88}
0x1253 39 ebx = 0
0x125f 40 goto 45 @ 0x1260
0x12c2 41 if (ecx s< 2) then 53 @ 0x1342 else 54 @ 0x12c4
0x1287 42 rbp = rsp + 0xfc0 {var_fd8}
0x128f 43 ebx = 0
0x129b 44 goto 57 @ 0x12a0
0x1260 45 rdi = r12
0x1263 46 rsi = rbp
0x1266 47 eax = 0
0x1268 48 call(0x1060)
0x126d 49 rbx = rbx + 1
0x1271 50 rax = sx.q([rsp + 0xc {var_1f8c}].d)
0x1276 51 rbp = rbp + 4
0x127d 52 if (rbx s< rax) then 45 @ 0x1260 else 36 @ 0x127f
0x1342 53 if (ecx s<= 0) then 65 @ 0x1460 else 67 @ 0x1348
0x12c4 54 edx = (rcx - 2).d
0x12c7 55 eax = (rcx - 1).d
0x12ca 56 goto 79 @ 0x12dd
0x12a0 57 rdi = r12
0x12a3 58 rsi = rbp
0x12a6 59 eax = 0
0x12a8 60 call(0x1060)
0x12ad 61 rbx = rbx + 1
0x12b1 62 rcx = sx.q([rsp + 0xc {var_1f8c}].d)
0x12b6 63 rbp = rbp + 4
0x12bd 64 if (rbx s< rcx) then 57 @ 0x12a0 else 41 @ 0x12c2
0x1460 65 r11d = 0
0x1463 66 goto 81 @ 0x11f3
0x1348 67 eax = (rcx - 1).d
0x134b 68 rdx = sx.q(eax)
0x134e 69 r8 = sx.q(ecx)
0x1351 70 r8 = r8 - 1
0x1355 71 r10d = ecx
0x1358 72 edi = 0
0x135a 73 rbp = rsp + 0x14 {var_1f84}
0x135f 74 rcx = rsp + 0xfc4 {var_fd4}
0x1367 75 ebx = 0
0x1369 76 r9d = 0
0x136c 77 r11d = 0
0x136f 78 goto 90 @ 0x139d
0x12dd 79 esi = 0
0x12df 80 goto 93 @ 0x12f8
0x11f3 81 esi = r11d * 0xc8
0x11fa 82 rdi = 0x2007 {"%d\n"}
0x1201 83 eax = 0
0x1203 84 call(0x1030)
0x1208 85 rdi = r12
0x120b 86 rsi = rsp + 0xc {var_1f8c}
0x1210 87 eax = 0
0x1212 88 call(0x1060)
0x121c 89 if ([rsp + 0xc {var_1f8c}].d == 0) then 12 @ 0x1468 else 27 @ 0x1222
0x139d 90 cond:0 = ebx s> edx
0x139f 91 eax = edx
0x13a1 92 if (cond:0) then 96 else 98 @ 0x13a4
0x12f8 93 edi = [rsp + (rsi << 2) + 0x10].d
0x12fc 94 ebp = [rsp + (rsi << 2) + 0x14].d
0x1302 95 if (edi s>= ebp) then 103 @ 0x130c else 107 @ 0x1304
0x13a1 96 eax = ebx
0x13a1 97 goto 98 @ 0x13a4
0x13a4 98 rax = rax + rdi
0x13a7 99 esi = [rsp + (rbx << 2) + 0x10].d
0x13ab 100 temp0.d = [rsp + (rbx << 2) + 0xfc0].d
0x13ab 101 cond:1 = esi s>= temp0.d
0x13b2 102 if (esi s> temp0.d) then 110 @ 0x1380 else 112 @ 0x13b4
0x130c 103 rdi = rsi + 1
0x1310 104 ebp = [rsp + (rsi << 2) + 0xfc0].d
0x1317 105 ebx = [rsp + (rsi << 2) + 0xfc4].d
0x1320 106 if (ebp s>= ebx) then 113 @ 0x12f0 else 115 @ 0x1322
0x1304 107 [rsp + (rsi << 2) + 0x10].d = ebp
0x1308 108 [rsp + (rsi << 2) + 0x14].d = edi
0x1308 109 goto 103 @ 0x130c
0x1380 110 r11d = r11d + 1
0x1380 111 goto 118 @ 0x1384
0x13b4 112 if (cond:1) then 123 @ 0x13f0 else 125 @ 0x13b6
0x12f0 113 rsi = rdi
0x12f6 114 if (rax == rdi) then 127 @ 0x12d0 else 93 @ 0x12f8
0x1322 115 [rsp + (rsi << 2) + 0xfc0].d = ebx
0x1329 116 [rsp + (rsi << 2) + 0xfc4].d = ebp
0x1330 117 goto 113 @ 0x12f0
0x1384 118 rbx = rbx + 1
0x1388 119 rdi = rdi - 1
0x138c 120 rcx = rcx + 4
0x1390 121 rbp = rbp + 4
0x1397 122 if (rbx == r10) then 132 @ 0x11f0 else 90 @ 0x139d
0x13f0 123 r13d = 0
0x13fd 124 goto 134 @ 0x1403
0x13b6 125 r14d = [rsp + (rdx << 2) + 0x10].d
0x13be 126 if (rbx s>= rdx) then 135 @ 0x1450 else 138 @ 0x13c4
0x12d0 127 esi = (rdx - 1).d
0x12d3 128 rax = rax - 1
0x12d7 129 cond:3 = edx s<= 0
0x12d9 130 edx = esi
0x12db 131 if (cond:3) then 53 @ 0x1342 else 79 @ 0x12dd
0x11f0 132 r11d = r11d - r9d
0x11f0 133 goto 81 @ 0x11f3
0x1403 134 if (rax == r13) then 118 @ 0x1384 else 140 @ 0x1409
0x1450 135 [rsp + (rbx << 2) + 0x10].d = r14d
0x1455 136 r9d = r9d + 1
0x1459 137 goto 118 @ 0x1384
0x13c4 138 rsi = r8
0x13c7 139 goto 145 @ 0x13d0
0x1409 140 r14d = [rbp + (r13 << 2)].d
0x140e 141 r15 = r13 + 1
0x1412 142 cond:2 = r14d s> [rcx + (r13 << 2)].d
0x1416 143 r13 = r15
0x1419 144 if (cond:2) then 134 @ 0x1403 else 150 @ 0x141b
0x13d0 145 eax = [rsp + (rsi << 2) + 0xc].d
0x13d4 146 [rsp + (rsi << 2) + 0x10].d = eax
0x13d8 147 rax = rsi - 1
0x13dc 148 rsi = rax
0x13e2 149 if (rax s> rbx) then 145 @ 0x13d0 else 152 @ 0x13e4
0x141b 150 r13 = r15
0x1421 151 if (r14d == esi) then 134 @ 0x1403 else 153 @ 0x1423
0x13e4 152 goto 135 @ 0x1450
0x1423 153 r14d = [rsp + (rdx << 2) + 0x10].d
0x142b 154 if (rbx s>= rdx) then 135 @ 0x1450 else 155 @ 0x142d
0x142d 155 rsi = r8
0x142d 156 goto 157 @ 0x1430
0x1430 157 eax = [rsp + (rsi << 2) + 0xc].d
0x1434 158 [rsp + (rsi << 2) + 0x10].d = eax
0x1438 159 rax = rsi - 1
0x143c 160 rsi = rax
0x1442 161 if (rax s> rbx) then 157 @ 0x1430 else 162 @ 0x144e
0x144e 162 goto 135 @ 0x1450
int64_t _fini():
0x1490 0 rsp = rsp - 8
0x1494 1 rsp = rsp + 8
0x1498 2 <return> jump(pop)
| POJ_92 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
int32_t putchar(int32_t c):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UAWAVSPH="}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 push(r15)
0x1163 2 push(r14)
0x1165 3 push(rbx)
0x1166 4 push(rax)
0x1167 5 rdi = 0x2004 {"%d"}
0x116e 6 rsi = rsp + 4 {var_28+0x4}
0x1173 7 eax = 0
0x1175 8 call(0x1040)
0x117a 9 rax = sx.q([rsp + 4 {var_28+0x4}].d)
0x117f 10 rcx = rax * 0x55555556
0x1186 11 rdx = rcx
0x1189 12 rdx = rdx u>> 0x3f
0x118d 13 rcx = rcx u>> 0x20
0x1191 14 ecx = ecx + edx
0x1193 15 ecx = (rcx + (rcx << 1)).d
0x1196 16 r15d = eax
0x1199 17 temp0.d = r15d
0x1199 18 r15d = r15d - ecx
0x119c 19 cl = temp0.d == ecx
0x119f 20 rdx = rax * 0x66666667
0x11a6 21 rsi = rdx
0x11a9 22 rsi = rsi u>> 0x3f
0x11ad 23 rdx = rdx u>> 0x20
0x11b1 24 edx = edx s>> 1
0x11b3 25 edx = edx + esi
0x11b5 26 edx = (rdx + (rdx << 2)).d
0x11b8 27 ebp = eax
0x11ba 28 temp1.d = ebp
0x11ba 29 ebp = ebp - edx
0x11bc 30 r14b = temp1.d == edx
0x11c0 31 rbx = rax * -0x6db6db6d
0x11c7 32 rbx = rbx u>> 0x20
0x11cb 33 ebx = ebx + eax
0x11cd 34 edx = ebx
0x11cf 35 edx = edx u>> 0x1f
0x11d2 36 ebx = ebx s>> 2
0x11d5 37 ebx = ebx + edx
0x11d7 38 edx = (rbx << 3).d
0x11de 39 ebx = ebx - edx
0x11e0 40 ebx = ebx + eax
0x11e2 41 r14b = r14b | cl
0x11e5 42 if (r14b != 0) then 43 @ 0x11f8 else 44 @ 0x11e9
0x11f8 43 if (r15d == 0) then 45 @ 0x120e else 48 @ 0x11fc
0x11e9 44 if (ebx == 0) then 43 @ 0x11f8 else 49 @ 0x11eb
0x120e 45 edi = 0x33 {""}
0x1213 46 call(0x1050)
0x121a 47 if (ebp == 0) then 52 @ 0x1241 else 56 @ 0x121e
0x11fc 48 if (ebp != 0) then 56 @ 0x121e else 57 @ 0x11fe
0x11eb 49 edi = 0x6e {""}
0x11f0 50 call(0x1050)
0x11f0 51 goto 43 @ 0x11f8
0x1241 52 rdi = 0x2007 {" 5"}
0x1248 53 eax = 0
0x124a 54 call(0x1030)
0x1251 55 if (ebx == 0) then 60 @ 0x1223 else 61 @ 0x1253
0x121e 56 if (ebx != 0) then 61 @ 0x1253 else 60 @ 0x1223
0x11fe 57 edi = 0x35 {""}
0x1203 58 call(0x1050)
0x120a 59 if (ebx != 0) then 61 @ 0x1253 else 68 @ 0x120c
0x1223 60 if (r14b == 0) then 69 @ 0x1235 else 72 @ 0x1225
0x1253 61 eax = 0
0x1255 62 rsp = rsp + 8
0x1259 63 rbx = pop
0x125a 64 r14 = pop
0x125c 65 r15 = pop
0x125e 66 rbp = pop
0x125f 67 <return> jump(pop)
0x120c 68 goto 60 @ 0x1223
0x1235 69 edi = 0x37 {""}
0x123a 70 call(0x1050)
0x123f 71 goto 61 @ 0x1253
0x1225 72 rdi = 0x200a {" 7"}
0x122c 73 eax = 0
0x122e 74 call(0x1030)
0x1233 75 goto 61 @ 0x1253
int64_t _fini():
0x1264 0 rsp = rsp - 8
0x1268 1 rsp = rsp + 8
0x126c 2 <return> jump(pop)
| POJ_93 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t getchar():
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UAWAVATSHP"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 push(r15)
0x1163 2 push(r14)
0x1165 3 push(r12)
0x1167 4 push(rbx)
0x1168 5 rsp = rsp - 0x1f50
0x116f 6 rdi = 0x2008 {"%d"}
0x1176 7 rsi = rsp + 8 {var_1f70}
0x117b 8 eax = 0
0x117d 9 call(0x1050)
0x1182 10 rax = 0x4040000040000000 {""}
0x118c 11 [rsp + 0xfb0 {var_fc8}].q = rax
0x1194 12 rax = 0x400000003f800000 {""}
0x119e 13 [rsp + 0x10 {var_1f68}].q = rax
0x11a8 14 if ([rsp + 8 {var_1f70}].d s<= 0) then 15 @ 0x12ef else 27 @ 0x11ae
0x12ef 15 eax = 0
0x12f1 16 call(0x1040)
0x12f6 17 eax = 0
0x12f8 18 call(0x1040)
0x12fd 19 eax = 0
0x12ff 20 rsp = rsp + 0x1f50
0x1306 21 rbx = pop
0x1307 22 r12 = pop
0x1309 23 r14 = pop
0x130b 24 r15 = pop
0x130d 25 rbp = pop
0x130e 26 <return> jump(pop)
0x11ae 27 rbx = 0x100000000 {""}
0x11b8 28 r14 = 0x2008 {"%d"}
0x11bf 29 r15 = rsp + 0xc {var_1f6c}
0x11c4 30 r12 = 0x200b {"%.3f\n"}
0x11cb 31 ebp = 0
0x11cd 32 goto 33 @ 0x11ee
0x11ee 33 rdi = r14
0x11f1 34 rsi = r15 {var_1f6c}
0x11f4 35 eax = 0
0x11f6 36 call(0x1050)
0x11fb 37 eax = [rsp + 0xc {var_1f6c}].d
0x1201 38 if (eax s<= 0) then 39 @ 0x11d0 else 41 @ 0x1203
0x11d0 39 xmm0 = 0
0x11d0 40 goto 43 @ 0x11d3
0x1203 41 xmm0 = [0x2004].d
0x120e 42 if (eax == 1) then 43 @ 0x11d3 else 49 @ 0x1210
0x11d3 43 xmm0.q = fconvert.d(xmm0.d)
0x11d7 44 rdi = r12
0x11da 45 al = 1
0x11dc 46 call(0x1030)
0x11e1 47 ebp = ebp + 1
0x11e8 48 if (ebp s>= [rsp + 8 {var_1f70}].d) then 15 @ 0x12ef else 33 @ 0x11ee
0x1210 49 xmm0 = [rsp + 0xfb4 {var_fc8+0x4}].d
0x1219 50 xmm0.d = xmm0.d f/ fconvert.t([rsp + 0x14 {var_1f68+0x4}].d)
0x121f 51 xmm0.d = xmm0.d f+ fconvert.t([0x2004].d)
0x122a 52 if (eax == 2) then 43 @ 0x11d3 else 53 @ 0x122c
0x122c 53 rcx = rax - 3
0x1233 54 if (ecx == -1) then 55 @ 0x128a else 58 @ 0x1235
0x128a 55 ecx = 2
0x128f 56 rdx = rbx
0x129c 57 goto 60 @ 0x12a0
0x1235 58 rcx = rcx u>> 0x20
0x1239 59 if (rcx != 0) then 55 @ 0x128a else 74 @ 0x123b
0x12a0 60 esi = edx
0x12a2 61 rdx = rdx + 1
0x12a6 62 edi = edx
0x12a8 63 xmm1 = [rsp + (rdi << 2) + 0xfb0].d
0x12b1 64 rsi = rsi << 2
0x12b5 65 xmm1.d = xmm1.d f+ fconvert.t([rsp + rsi + 0xfb0].d)
0x12be 66 [rsp + (rcx << 2) + 0xfb0].d = xmm1.d
0x12c7 67 xmm2 = [rsp + (rdi << 2) + 0x10].d
0x12cd 68 xmm2.d = xmm2.d f+ fconvert.t([rsp + rsi + 0x10].d)
0x12d3 69 [rsp + (rcx << 2) + 0x10].d = xmm2.d
0x12d9 70 xmm1.d = xmm1.d f/ xmm2.d
0x12dd 71 xmm0.d = xmm0.d f+ xmm1.d
0x12e1 72 rcx = rcx + 1
0x12e8 73 if (rax != rcx) then 60 @ 0x12a0 else 79 @ 0x12ea
0x123b 74 xmm1 = [rsp + 0x14 {var_1f68+0x4}].d
0x1241 75 xmm2 = [rsp + 0xfb4 {var_fc8+0x4}].d
0x124a 76 rax = rax - 2
0x124e 77 ecx = 0
0x124e 78 goto 80 @ 0x1250
0x12ea 79 goto 43 @ 0x11d3
0x1250 80 edx = (rcx + rbx).d
0x1253 81 xmm2.d = xmm2.d f+ fconvert.t([rsp + (rdx << 2) + 0xfb0].d)
0x125c 82 [rsp + (rcx << 2) + 0xfb8].d = xmm2.d
0x1265 83 xmm1.d = xmm1.d f+ fconvert.t([rsp + (rdx << 2) + 0x10].d)
0x126b 84 [rsp + (rcx << 2) + 0x18].d = xmm1.d
0x1271 85 xmm3 = xmm2
0x1274 86 xmm3.d = xmm3.d f/ xmm1.d
0x1278 87 xmm0.d = xmm0.d f+ xmm3.d
0x127c 88 rcx = rcx + 1
0x1283 89 if (rax != rcx) then 80 @ 0x1250 else 90 @ 0x1285
0x1285 90 goto 43 @ 0x11d3
int64_t _fini():
0x1314 0 rsp = rsp - 8
0x1318 1 rsp = rsp + 8
0x131c 2 <return> jump(pop)
| POJ_29 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"AWAVSHH="}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(r15)
0x1152 1 push(r14)
0x1154 2 push(rbx)
0x1155 3 rsp = rsp - 0x10
0x1159 4 rdi = 0x2004 {"%d"}
0x1160 5 rsi = rsp + 0xc {var_1c}
0x1165 6 eax = 0
0x1167 7 call(0x1040)
0x116c 8 esi = [rsp + 0xc {var_1c}].d
0x1173 9 if (esi != 1) then 10 @ 0x118f else 14 @ 0x1175
0x118f 10 r14 = 0x2013 {"%d/2="}
0x1196 11 rbx = 0x200f {"%d\n"}
0x119d 12 r15 = 0x2007 {"%d*3+1="}
0x11a4 13 goto 23 @ 0x11e2
0x1175 14 rdi = 0x2019 {"End"}
0x117c 15 eax = 0
0x117e 16 call(0x1030)
0x1183 17 eax = 0
0x1185 18 rsp = rsp + 0x10
0x1189 19 rbx = pop
0x118a 20 r14 = pop
0x118c 21 r15 = pop
0x118e 22 <return> jump(pop)
0x11e2 23 if ((sil & 1) == 0) then 24 @ 0x11b0 else 33 @ 0x11e4
0x11b0 24 rdi = r14
0x11b3 25 eax = 0
0x11b5 26 call(0x1030)
0x11ba 27 eax = [rsp + 0xc {var_1c}].d
0x11be 28 esi = eax
0x11c0 29 esi = esi u>> 0x1f
0x11c3 30 esi = esi + eax
0x11c5 31 esi = esi s>> 1
0x11c5 32 goto 40 @ 0x11c7
0x11e4 33 rdi = r15
0x11e7 34 eax = 0
0x11e9 35 call(0x1030)
0x11ee 36 eax = [rsp + 0xc {var_1c}].d
0x11f2 37 esi = (rax + (rax << 1)).d
0x11f5 38 esi = esi + 1
0x11f8 39 goto 40 @ 0x11c7
0x11c7 40 [rsp + 0xc {var_1c}].d = esi
0x11cb 41 rdi = rbx
0x11ce 42 eax = 0
0x11d0 43 call(0x1030)
0x11d5 44 esi = [rsp + 0xc {var_1c}].d
0x11dc 45 if (esi == 1) then 14 @ 0x1175 else 23 @ 0x11e2
int64_t _fini():
0x1200 0 rsp = rsp - 8
0x1204 1 rsp = rsp + 8
0x1208 2 <return> jump(pop)
| POJ_34 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
uint64_t strlen(char const* arg1):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1180 {"UAWAVAUATSH}"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
uint64_t trans(char arg1):
0x1160 0 dil = dil - 0x41
0x1164 1 cond:0 = dil u< 0x1a
0x1168 2 eax = zx.d(dil)
0x116c 3 ecx = 0x1a {""}
0x1171 4 if (cond:0) then 5 else 7 @ 0x1174
0x1171 5 ecx = eax
0x1171 6 goto 7 @ 0x1174
0x1174 7 eax = zx.d(cl)
0x1177 8 <return> jump(pop)
int32_t main(int32_t argc, char** argv, char** envp):
0x1180 0 push(rbp)
0x1181 1 push(r15)
0x1183 2 push(r14)
0x1185 3 push(r13)
0x1187 4 push(r12)
0x1189 5 push(rbx)
0x118a 6 rsp = rsp - 0x7d88
0x1191 7 rdi = 0x2004 {"%d"}
0x1198 8 rsi = rsp + 0xc {var_7dac}
0x119d 9 eax = 0
0x119f 10 call(0x1050)
0x11a4 11 xmm0 = 0
0x11a7 12 [rsp + 0x60 {var_7d58}].o = xmm0
0x11ac 13 [rsp + 0x50 {var_7d68}].o = xmm0
0x11b1 14 [rsp + 0x40 {var_7d78}].o = xmm0
0x11b6 15 [rsp + 0x30 {var_7d88}].o = xmm0
0x11bb 16 [rsp + 0x20 {var_7d98}].o = xmm0
0x11c0 17 [rsp + 0x10 {var_7da8}].o = xmm0
0x11c5 18 [rsp + 0x70 {var_7d48}].q = 0
0x11d3 19 if ([rsp + 0xc {var_7dac}].d s<= 0) then 20 @ 0x12fe else 25 @ 0x11d9
0x12fe 20 ebx = [rsp + 0x10 {var_7da8}].d
0x1302 21 eax = [rsp + 0x14 {var_7da8+0x4}].d
0x1306 22 cond:0 = ebx s< 0
0x1308 23 ecx = 0
0x130d 24 if (cond:0) then 29 else 31 @ 0x1310
0x11d9 25 rbx = rsp + 0x80 {var_7d38}
0x11e1 26 r15 = 0x2007 {"%d%s"}
0x11e8 27 ebp = 0
0x11ea 28 goto 35 @ 0x11f0
0x130d 29 ebx = ecx
0x130d 30 goto 31 @ 0x1310
0x1310 31 ecx = 0
0x1312 32 cond:1 = eax s> ebx
0x1314 33 cl = eax s> ebx
0x1317 34 if (cond:1) then 44 else 46 @ 0x131a
0x11f0 35 rdx = rbx + 4
0x11f4 36 rdi = r15
0x11f7 37 rsi = rbx
0x11fa 38 eax = 0
0x11fc 39 call(0x1050)
0x1201 40 rbp = rbp + 1
0x1205 41 rax = sx.q([rsp + 0xc {var_7dac}].d)
0x120a 42 rbx = rbx + 0x20
0x1211 43 if (rbp s< rax) then 35 @ 0x11f0 else 50 @ 0x1213
0x1317 44 ebx = eax
0x1317 45 goto 46 @ 0x131a
0x131a 46 eax = [rsp + 0x18 {var_7da8+0x8}].d
0x131e 47 ecx = ecx + 0x41
0x1321 48 cond:2 = eax s<= ebx
0x1323 49 if (eax s> ebx) then 52 else 54 @ 0x1326
0x1213 50 r15d = eax
0x1219 51 if (r15d s<= 0) then 20 @ 0x12fe else 56 @ 0x121f
0x1323 52 ebx = eax
0x1323 53 goto 54 @ 0x1326
0x1326 54 eax = 0x43 {""}
0x132b 55 if (cond:2) then 60 else 62 @ 0x132e
0x121f 56 rbp = rsp + 0x85 {var_7d33}
0x1227 57 r12d = 0
0x122a 58 r14d = 0x1a {""}
0x1230 59 goto 65 @ 0x1251
0x132b 60 eax = ecx
0x132b 61 goto 62 @ 0x132e
0x132e 62 ecx = [rsp + 0x1c {var_7da8+0xc}].d
0x1332 63 cond:3 = ecx s<= ebx
0x1334 64 if (ecx s> ebx) then 71 else 73 @ 0x1337
0x1251 65 r13 = r12
0x1254 66 r13 = r13 << 5
0x1258 67 rdi = rsp + r13
0x125c 68 rdi = rdi + 0x84
0x1263 69 call(0x1040)
0x126a 70 if (eax s<= 0) then 75 @ 0x1240 else 78 @ 0x126c
0x1334 71 ebx = ecx
0x1334 72 goto 73 @ 0x1337
0x1337 73 ecx = 0x44 {""}
0x133c 74 if (cond:3) then 81 else 83 @ 0x133f
0x1240 75 r12 = r12 + 1
0x1244 76 rbp = rbp + 0x20
0x124b 77 if (r12 == r15) then 20 @ 0x12fe else 65 @ 0x1251
0x126c 78 ecx = eax
0x126e 79 eax = eax & 1
0x1275 80 if (rcx != 1) then 86 @ 0x1280 else 89 @ 0x1277
0x133c 81 ecx = eax
0x133c 82 goto 83 @ 0x133f
0x133f 83 eax = [rsp + 0x20 {var_7d98}].d
0x1343 84 cond:4 = eax s<= ebx
0x1345 85 if (eax s> ebx) then 91 else 93 @ 0x1348
0x1280 86 rcx = rcx - rax
0x1283 87 edx = 0
0x128f 88 goto 95 @ 0x1290
0x1277 89 edx = 0
0x1279 90 goto 100 @ 0x12d2
0x1345 91 ebx = eax
0x1345 92 goto 93 @ 0x1348
0x1348 93 eax = 0x45 {""}
0x134d 94 if (cond:4) then 101 else 103 @ 0x1350
0x1290 95 ebx = zx.d([rbp + rdx - 1].b)
0x1295 96 bl = bl - 0x41
0x1298 97 cond:26 = bl u>= 0x1a
0x129b 98 esi = zx.d(bl)
0x129e 99 if (cond:26) then 106 else 108 @ 0x12a2
0x12d2 100 if (rax == 0) then 75 @ 0x1240 else 115 @ 0x12d8
0x134d 101 eax = ecx
0x134d 102 goto 103 @ 0x1350
0x1350 103 ecx = [rsp + 0x24 {var_7d98+0x4}].d
0x1354 104 cond:5 = ecx s<= ebx
0x1356 105 if (ecx s> ebx) then 122 else 124 @ 0x1359
0x129e 106 esi = r14d
0x129e 107 goto 108 @ 0x12a2
0x12a2 108 esi = zx.d(sil)
0x12a6 109 [rsp + (rsi << 2) + 0x10].d = [rsp + (rsi << 2) + 0x10].d + 1
0x12ab 110 ebx = zx.d([rbp + rdx].b)
0x12b0 111 bl = bl - 0x41
0x12b3 112 cond:27 = bl u>= 0x1a
0x12b6 113 esi = zx.d(bl)
0x12b9 114 if (cond:27) then 126 else 128 @ 0x12bd
0x12d8 115 rax = rsp + r13
0x12dc 116 rax = rax + 0x80
0x12e2 117 al = [rdx + rax + 4].b
0x12e6 118 al = al - 0x41
0x12e8 119 cond:28 = al u>= 0x1a
0x12ea 120 eax = zx.d(al)
0x12ed 121 if (cond:28) then 132 else 134 @ 0x12f1
0x1356 122 ebx = ecx
0x1356 123 goto 124 @ 0x1359
0x1359 124 ecx = 0x46 {""}
0x135e 125 if (cond:5) then 137 else 139 @ 0x1361
0x12b9 126 esi = r14d
0x12b9 127 goto 128 @ 0x12bd
0x12bd 128 esi = zx.d(sil)
0x12c1 129 [rsp + (rsi << 2) + 0x10].d = [rsp + (rsi << 2) + 0x10].d + 1
0x12c6 130 rdx = rdx + 2
0x12cd 131 if (rcx != rdx) then 95 @ 0x1290 else 100 @ 0x12d2
0x12ed 132 eax = r14d
0x12ed 133 goto 134 @ 0x12f1
0x12f1 134 eax = zx.d(al)
0x12f4 135 [rsp + (rax << 2) + 0x10].d = [rsp + (rax << 2) + 0x10].d + 1
0x12f9 136 goto 75 @ 0x1240
0x135e 137 ecx = eax
0x135e 138 goto 139 @ 0x1361
0x1361 139 eax = [rsp + 0x28 {var_7d98+0x8}].d
0x1365 140 cond:6 = eax s<= ebx
0x1367 141 if (eax s> ebx) then 142 else 144 @ 0x136a
0x1367 142 ebx = eax
0x1367 143 goto 144 @ 0x136a
0x136a 144 eax = 0x47 {""}
0x136f 145 if (cond:6) then 146 else 148 @ 0x1372
0x136f 146 eax = ecx
0x136f 147 goto 148 @ 0x1372
0x1372 148 ecx = [rsp + 0x2c {var_7d98+0xc}].d
0x1376 149 cond:7 = ecx s<= ebx
0x1378 150 if (ecx s> ebx) then 151 else 153 @ 0x137b
0x1378 151 ebx = ecx
0x1378 152 goto 153 @ 0x137b
0x137b 153 ecx = 0x48 {"@"}
0x1380 154 if (cond:7) then 155 else 157 @ 0x1383
0x1380 155 ecx = eax
0x1380 156 goto 157 @ 0x1383
0x1383 157 eax = [rsp + 0x30 {var_7d88}].d
0x1387 158 cond:8 = eax s<= ebx
0x1389 159 if (eax s> ebx) then 160 else 162 @ 0x138c
0x1389 160 ebx = eax
0x1389 161 goto 162 @ 0x138c
0x138c 162 eax = 0x49 {""}
0x1391 163 if (cond:8) then 164 else 166 @ 0x1394
0x1391 164 eax = ecx
0x1391 165 goto 166 @ 0x1394
0x1394 166 ecx = [rsp + 0x34 {var_7d88+0x4}].d
0x1398 167 cond:9 = ecx s<= ebx
0x139a 168 if (ecx s> ebx) then 169 else 171 @ 0x139d
0x139a 169 ebx = ecx
0x139a 170 goto 171 @ 0x139d
0x139d 171 ecx = 0x4a {""}
0x13a2 172 if (cond:9) then 173 else 175 @ 0x13a5
0x13a2 173 ecx = eax
0x13a2 174 goto 175 @ 0x13a5
0x13a5 175 eax = [rsp + 0x38 {var_7d88+0x8}].d
0x13a9 176 cond:10 = eax s<= ebx
0x13ab 177 if (eax s> ebx) then 178 else 180 @ 0x13ae
0x13ab 178 ebx = eax
0x13ab 179 goto 180 @ 0x13ae
0x13ae 180 eax = 0x4b {""}
0x13b3 181 if (cond:10) then 182 else 184 @ 0x13b6
0x13b3 182 eax = ecx
0x13b3 183 goto 184 @ 0x13b6
0x13b6 184 ecx = [rsp + 0x3c {var_7d88+0xc}].d
0x13ba 185 cond:11 = ecx s<= ebx
0x13bc 186 if (ecx s> ebx) then 187 else 189 @ 0x13bf
0x13bc 187 ebx = ecx
0x13bc 188 goto 189 @ 0x13bf
0x13bf 189 ecx = 0x4c {""}
0x13c4 190 if (cond:11) then 191 else 193 @ 0x13c7
0x13c4 191 ecx = eax
0x13c4 192 goto 193 @ 0x13c7
0x13c7 193 eax = [rsp + 0x40 {var_7d78}].d
0x13cb 194 cond:12 = eax s<= ebx
0x13cd 195 if (eax s> ebx) then 196 else 198 @ 0x13d0
0x13cd 196 ebx = eax
0x13cd 197 goto 198 @ 0x13d0
0x13d0 198 eax = 0x4d {""}
0x13d5 199 if (cond:12) then 200 else 202 @ 0x13d8
0x13d5 200 eax = ecx
0x13d5 201 goto 202 @ 0x13d8
0x13d8 202 ecx = [rsp + 0x44 {var_7d78+0x4}].d
0x13dc 203 cond:13 = ecx s<= ebx
0x13de 204 if (ecx s> ebx) then 205 else 207 @ 0x13e1
0x13de 205 ebx = ecx
0x13de 206 goto 207 @ 0x13e1
0x13e1 207 ecx = 0x4e {""}
0x13e6 208 if (cond:13) then 209 else 211 @ 0x13e9
0x13e6 209 ecx = eax
0x13e6 210 goto 211 @ 0x13e9
0x13e9 211 eax = [rsp + 0x48 {var_7d78+0x8}].d
0x13ed 212 cond:14 = eax s<= ebx
0x13ef 213 if (eax s> ebx) then 214 else 216 @ 0x13f2
0x13ef 214 ebx = eax
0x13ef 215 goto 216 @ 0x13f2
0x13f2 216 eax = 0x4f {""}
0x13f7 217 if (cond:14) then 218 else 220 @ 0x13fa
0x13f7 218 eax = ecx
0x13f7 219 goto 220 @ 0x13fa
0x13fa 220 ecx = [rsp + 0x4c {var_7d78+0xc}].d
0x13fe 221 cond:15 = ecx s<= ebx
0x1400 222 if (ecx s> ebx) then 223 else 225 @ 0x1403
0x1400 223 ebx = ecx
0x1400 224 goto 225 @ 0x1403
0x1403 225 ecx = 0x50 {"@"}
0x1408 226 if (cond:15) then 227 else 229 @ 0x140b
0x1408 227 ecx = eax
0x1408 228 goto 229 @ 0x140b
0x140b 229 eax = [rsp + 0x50 {var_7d68}].d
0x140f 230 cond:16 = eax s<= ebx
0x1411 231 if (eax s> ebx) then 232 else 234 @ 0x1414
0x1411 232 ebx = eax
0x1411 233 goto 234 @ 0x1414
0x1414 234 eax = 0x51 {""}
0x1419 235 if (cond:16) then 236 else 238 @ 0x141c
0x1419 236 eax = ecx
0x1419 237 goto 238 @ 0x141c
0x141c 238 ecx = [rsp + 0x54 {var_7d68+0x4}].d
0x1420 239 cond:17 = ecx s<= ebx
0x1422 240 if (ecx s> ebx) then 241 else 243 @ 0x1425
0x1422 241 ebx = ecx
0x1422 242 goto 243 @ 0x1425
0x1425 243 ecx = 0x52 {""}
0x142a 244 if (cond:17) then 245 else 247 @ 0x142d
0x142a 245 ecx = eax
0x142a 246 goto 247 @ 0x142d
0x142d 247 eax = [rsp + 0x58 {var_7d68+0x8}].d
0x1431 248 cond:18 = eax s<= ebx
0x1433 249 if (eax s> ebx) then 250 else 252 @ 0x1436
0x1433 250 ebx = eax
0x1433 251 goto 252 @ 0x1436
0x1436 252 eax = 0x53 {""}
0x143b 253 if (cond:18) then 254 else 256 @ 0x143e
0x143b 254 eax = ecx
0x143b 255 goto 256 @ 0x143e
0x143e 256 ecx = [rsp + 0x5c {var_7d68+0xc}].d
0x1442 257 cond:19 = ecx s<= ebx
0x1444 258 if (ecx s> ebx) then 259 else 261 @ 0x1447
0x1444 259 ebx = ecx
0x1444 260 goto 261 @ 0x1447
0x1447 261 ecx = 0x54 {""}
0x144c 262 if (cond:19) then 263 else 265 @ 0x144f
0x144c 263 ecx = eax
0x144c 264 goto 265 @ 0x144f
0x144f 265 eax = [rsp + 0x60 {var_7d58}].d
0x1453 266 cond:20 = eax s<= ebx
0x1455 267 if (eax s> ebx) then 268 else 270 @ 0x1458
0x1455 268 ebx = eax
0x1455 269 goto 270 @ 0x1458
0x1458 270 eax = 0x55 {""}
0x145d 271 if (cond:20) then 272 else 274 @ 0x1460
0x145d 272 eax = ecx
0x145d 273 goto 274 @ 0x1460
0x1460 274 ecx = [rsp + 0x64 {var_7d58+0x4}].d
0x1464 275 cond:21 = ecx s<= ebx
0x1466 276 if (ecx s> ebx) then 277 else 279 @ 0x1469
0x1466 277 ebx = ecx
0x1466 278 goto 279 @ 0x1469
0x1469 279 ecx = 0x56 {""}
0x146e 280 if (cond:21) then 281 else 283 @ 0x1471
0x146e 281 ecx = eax
0x146e 282 goto 283 @ 0x1471
0x1471 283 eax = [rsp + 0x68 {var_7d58+0x8}].d
0x1475 284 cond:22 = eax s<= ebx
0x1477 285 if (eax s> ebx) then 286 else 288 @ 0x147a
0x1477 286 ebx = eax
0x1477 287 goto 288 @ 0x147a
0x147a 288 eax = 0x57 {""}
0x147f 289 if (cond:22) then 290 else 292 @ 0x1482
0x147f 290 eax = ecx
0x147f 291 goto 292 @ 0x1482
0x1482 292 ecx = [rsp + 0x6c {var_7d58+0xc}].d
0x1486 293 cond:23 = ecx s<= ebx
0x1488 294 if (ecx s> ebx) then 295 else 297 @ 0x148b
0x1488 295 ebx = ecx
0x1488 296 goto 297 @ 0x148b
0x148b 297 ecx = 0x58 {"@"}
0x1490 298 if (cond:23) then 299 else 301 @ 0x1493
0x1490 299 ecx = eax
0x1490 300 goto 301 @ 0x1493
0x1493 301 eax = [rsp + 0x70 {var_7d48}].d
0x1497 302 cond:24 = eax s<= ebx
0x1499 303 if (eax s> ebx) then 304 else 306 @ 0x149c
0x1499 304 ebx = eax
0x1499 305 goto 306 @ 0x149c
0x149c 306 eax = 0x59 {""}
0x14a1 307 if (cond:24) then 308 else 310 @ 0x14a4
0x14a1 308 eax = ecx
0x14a1 309 goto 310 @ 0x14a4
0x14a4 310 ecx = [rsp + 0x74 {var_7d48+0x4}].d
0x14a8 311 cond:25 = ecx s<= ebx
0x14aa 312 if (ecx s> ebx) then 313 else 315 @ 0x14ad
0x14aa 313 ebx = ecx
0x14aa 314 goto 315 @ 0x14ad
0x14ad 315 r12d = 0x5a {""}
0x14b3 316 if (cond:25) then 317 else 319 @ 0x14b7
0x14b3 317 r12d = eax
0x14b3 318 goto 319 @ 0x14b7
0x14b7 319 rdi = 0x200c {"%c\n"}
0x14be 320 esi = r12d
0x14c1 321 eax = 0
0x14c3 322 call(0x1030)
0x14c8 323 rdi = 0x2010 {"%d\n"}
0x14cf 324 esi = ebx
0x14d1 325 eax = 0
0x14d3 326 call(0x1030)
0x14d8 327 r15d = [rsp + 0xc {var_7dac}].d
0x14e0 328 if (r15d s<= 0) then 329 @ 0x1564 else 338 @ 0x14e6
0x1564 329 eax = 0
0x1566 330 rsp = rsp + 0x7d88
0x156d 331 rbx = pop
0x156e 332 r12 = pop
0x1570 333 r13 = pop
0x1572 334 r14 = pop
0x1574 335 r15 = pop
0x1576 336 rbp = pop
0x1577 337 <return> jump(pop)
0x14e6 338 rbx = rsp + 0x84 {var_7d34}
0x14ee 339 r14 = 0x2010 {"%d\n"}
0x14f5 340 ebp = 0
0x14f7 341 goto 342 @ 0x1527
0x1527 342 r13 = rbp
0x152a 343 r13 = r13 << 5
0x152e 344 rdi = rsp + r13
0x1532 345 rdi = rdi + 0x84
0x1539 346 call(0x1040)
0x1540 347 if (eax s<= 0) then 348 @ 0x1517 else 352 @ 0x1542
0x1517 348 rbp = rbp + 1
0x151b 349 rax = sx.q(r15d)
0x151e 350 rbx = rbx + 0x20
0x1525 351 if (rbp s>= rax) then 329 @ 0x1564 else 342 @ 0x1527
0x1542 352 eax = eax
0x1544 353 ecx = 0
0x1546 354 goto 355 @ 0x1550
0x1550 355 edx = sx.d([rbx + rcx].b)
0x1557 356 if (r12d == edx) then 357 @ 0x1500 else 363 @ 0x1559
0x1500 357 esi = [rsp + r13 + 0x80].d
0x1508 358 rdi = r14
0x150b 359 eax = 0
0x150d 360 call(0x1030)
0x1512 361 r15d = [rsp + 0xc {var_7dac}].d
0x1512 362 goto 348 @ 0x1517
0x1559 363 rcx = rcx + 1
0x1560 364 if (rax != rcx) then 355 @ 0x1550 else 365 @ 0x1562
0x1562 365 goto 348 @ 0x1517
int64_t _fini():
0x157c 0 rsp = rsp - 8
0x1580 1 rsp = rsp + 8
0x1584 2 <return> jump(pop)
| POJ_2 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1210 {"UHH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
uint64_t Bubble(int64_t arg1, int32_t arg2):
0x1150 0 push(rbp)
0x1151 1 rbp = rsp {__saved_rbp}
0x1154 2 [rbp - 8 {var_10}].q = rdi
0x1158 3 [rbp - 0xc {var_14}].d = esi
0x115b 4 [rbp - 0x10 {var_18}].d = 1
0x115b 5 goto 6 @ 0x1162
0x1162 6 eax = [rbp - 0x10 {var_18}].d
0x1168 7 if (eax s>= [rbp - 0xc {var_14}].d) then 8 @ 0x1209 else 10 @ 0x116e
0x1209 8 rbp = pop
0x120a 9 <return> jump(pop)
0x116e 10 [rbp - 0x14 {var_1c_1}].d = 0
0x116e 11 goto 12 @ 0x1175
0x1175 12 eax = [rbp - 0x14 {var_1c_1}].d
0x1178 13 ecx = [rbp - 0xc {var_14}].d
0x117b 14 ecx = ecx - [rbp - 0x10 {var_18}].d
0x1180 15 if (eax s>= ecx) then 16 @ 0x11f6 else 17 @ 0x1186
0x11f6 16 goto 25 @ 0x11fb
0x1186 17 rax = [rbp - 8 {var_10}].q
0x118a 18 rcx = sx.q([rbp - 0x14 {var_1c_1}].d)
0x118e 19 eax = [rax + (rcx << 2)].d
0x1191 20 rcx = [rbp - 8 {var_10}].q
0x1195 21 edx = [rbp - 0x14 {var_1c_1}].d
0x1198 22 edx = edx + 1
0x119b 23 rdx = sx.q(edx)
0x11a1 24 if (eax s<= [rcx + (rdx << 2)].d) then 29 @ 0x11e3 else 30 @ 0x11a7
0x11fb 25 eax = [rbp - 0x10 {var_18}].d
0x11fe 26 eax = eax + 1
0x1201 27 [rbp - 0x10 {var_18}].d = eax
0x1204 28 goto 6 @ 0x1162
0x11e3 29 goto 49 @ 0x11e8
0x11a7 30 rax = [rbp - 8 {var_10}].q
0x11ab 31 rcx = sx.q([rbp - 0x14 {var_1c_1}].d)
0x11af 32 eax = [rax + (rcx << 2)].d
0x11b2 33 [rbp - 0x18 {var_20_1}].d = eax
0x11b5 34 rax = [rbp - 8 {var_10}].q
0x11b9 35 ecx = [rbp - 0x14 {var_1c_1}].d
0x11bc 36 ecx = ecx + 1
0x11bf 37 rcx = sx.q(ecx)
0x11c2 38 edx = [rax + (rcx << 2)].d
0x11c5 39 rax = [rbp - 8 {var_10}].q
0x11c9 40 rcx = sx.q([rbp - 0x14 {var_1c_1}].d)
0x11cd 41 [rax + (rcx << 2)].d = edx
0x11d0 42 edx = [rbp - 0x18 {var_20_1}].d
0x11d3 43 rax = [rbp - 8 {var_10}].q
0x11d7 44 ecx = [rbp - 0x14 {var_1c_1}].d
0x11da 45 ecx = ecx + 1
0x11dd 46 rcx = sx.q(ecx)
0x11e0 47 [rax + (rcx << 2)].d = edx
0x11e0 48 goto 29 @ 0x11e3
0x11e8 49 eax = [rbp - 0x14 {var_1c_1}].d
0x11eb 50 eax = eax + 1
0x11ee 51 [rbp - 0x14 {var_1c_1}].d = eax
0x11f1 52 goto 12 @ 0x1175
int32_t main(int32_t argc, char** argv, char** envp):
0x1210 0 push(rbp)
0x1211 1 rbp = rsp {__saved_rbp}
0x1214 2 rsp = rsp - 0xfb0
0x121b 3 [rbp - 0xc {var_14}].d = 0
0x1222 4 rdi = 0x2004 {"%d"}
0x1229 5 rsi = rbp - 8 {var_10}
0x122d 6 al = 0
0x122f 7 call(0x1040)
0x1234 8 [rbp - 4 {var_c}].d = 0
0x1234 9 goto 10 @ 0x123b
0x123b 10 eax = [rbp - 4 {var_c}].d
0x1241 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x12b5 else 17 @ 0x1247
0x12b5 12 rdi = rbp - 0xfb0 {var_fb8}
0x12bc 13 esi = [rbp - 0xc {var_14}].d
0x12bf 14 call(0x1150)
0x12c4 15 [rbp - 4 {var_c_1}].d = 0
0x12c4 16 goto 39 @ 0x12cb
0x1247 17 rax = sx.q([rbp - 4 {var_c}].d)
0x124b 18 rsi = rbp - 0x7e0 {var_7e8}
0x1252 19 rax = rax << 2
0x1256 20 rsi = rsi + rax
0x1259 21 rdi = 0x2004 {"%d"}
0x1260 22 al = 0
0x1262 23 call(0x1040)
0x1267 24 rax = sx.q([rbp - 4 {var_c}].d)
0x126b 25 eax = [rbp + (rax << 2) - 0x7e0].d
0x1272 26 ecx = 2
0x1277 27 temp2.d:temp3.d = sx.q(eax)
0x1277 28 edx = temp2.d
0x1277 29 eax = temp3.d
0x1278 30 temp4.d = edx
0x1278 31 temp5.d = eax
0x1278 32 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x1278 33 temp6.d = edx
0x1278 34 temp7.d = eax
0x1278 35 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x1278 36 eax = temp0.d
0x1278 37 edx = temp1.d
0x127d 38 if (edx == 0) then 41 @ 0x12a2 else 42 @ 0x1283
0x12cb 39 eax = [rbp - 4 {var_c_1}].d
0x12d1 40 if (eax s>= [rbp - 0xc {var_14}].d) then 50 @ 0x1316 else 53 @ 0x12d7
0x12a2 41 goto 61 @ 0x12a7
0x1283 42 rax = sx.q([rbp - 4 {var_c}].d)
0x1287 43 ecx = [rbp + (rax << 2) - 0x7e0].d
0x128e 44 rax = sx.q([rbp - 0xc {var_14}].d)
0x1292 45 [rbp + (rax << 2) - 0xfb0].d = ecx
0x1299 46 eax = [rbp - 0xc {var_14}].d
0x129c 47 eax = eax + 1
0x129f 48 [rbp - 0xc {var_14}].d = eax
0x129f 49 goto 41 @ 0x12a2
0x1316 50 rsp = rsp + 0xfb0
0x131d 51 rbp = pop
0x131e 52 <return> jump(pop)
0x12d7 53 rax = sx.q([rbp - 4 {var_c_1}].d)
0x12db 54 esi = [rbp + (rax << 2) - 0xfb0].d
0x12e2 55 ecx = [rbp - 4 {var_c_1}].d
0x12e5 56 edi = [rbp - 0xc {var_14}].d
0x12e8 57 edi = edi - 1
0x12eb 58 edx = 0x2c {""}
0x12f0 59 eax = 0xa {""}
0x12f7 60 if (ecx == edi) then 65 else 67 @ 0x12fa
0x12a7 61 eax = [rbp - 4 {var_c}].d
0x12aa 62 eax = eax + 1
0x12ad 63 [rbp - 4 {var_c}].d = eax
0x12b0 64 goto 10 @ 0x123b
0x12f7 65 edx = eax
0x12f7 66 goto 67 @ 0x12fa
0x12fa 67 rdi = 0x2007 {"%d%c"}
0x1301 68 al = 0
0x1303 69 call(0x1030)
0x1308 70 eax = [rbp - 4 {var_c_1}].d
0x130b 71 eax = eax + 1
0x130e 72 [rbp - 4 {var_c_1}].d = eax
0x1311 73 goto 39 @ 0x12cb
int64_t _fini():
0x1324 0 rsp = rsp - 8
0x1328 1 rsp = rsp + 8
0x132c 2 <return> jump(pop)
| POJ_94 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UHH \t="}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 rbp = rsp {__saved_rbp}
0x1154 2 rsp = rsp - 0x3d0920
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 [rbp - 0x3d0914 {var_3d091c}].d = 0
0x116c 5 rdi = 0x2004 {"%d"}
0x1173 6 rsi = rbp - 8 {var_10}
0x1177 7 al = 0
0x1179 8 call(0x1040)
0x117e 9 [rbp - 0xc {var_14}].d = 1
0x117e 10 goto 11 @ 0x1185
0x1185 11 eax = [rbp - 0xc {var_14}].d
0x118b 12 if (eax s> [rbp - 8 {var_10}].d) then 13 @ 0x11f3 else 15 @ 0x1191
0x11f3 13 [rbp - 0xc {var_14_1}].d = 1
0x11f3 14 goto 17 @ 0x11fa
0x1191 15 [rbp - 0x10 {var_18_1}].d = 1
0x1191 16 goto 19 @ 0x1198
0x11fa 17 eax = [rbp - 0xc {var_14_1}].d
0x1200 18 if (eax s> [rbp - 8 {var_10}].d) then 21 @ 0x1341 else 29 @ 0x1206
0x1198 19 eax = [rbp - 0x10 {var_18_1}].d
0x119e 20 if (eax s> [rbp - 8 {var_10}].d) then 31 @ 0x11e0 else 32 @ 0x11a4
0x1341 21 esi = [rbp - 0x3d0914 {var_3d091c}].d
0x1347 22 rdi = 0x2007 {"%d\n"}
0x134e 23 al = 0
0x1350 24 call(0x1030)
0x1355 25 eax = 0
0x1357 26 rsp = rsp + 0x3d0920
0x135e 27 rbp = pop
0x135f 28 <return> jump(pop)
0x1206 29 [rbp - 0x10 {var_18_2}].d = 1
0x1206 30 goto 46 @ 0x120d
0x11e0 31 goto 48 @ 0x11e5
0x11a4 32 rax = sx.q([rbp - 0xc {var_14}].d)
0x11a8 33 rsi = rbp - 0x3d0910 {var_3d0918}
0x11af 34 rax = rax * 0xfa0
0x11b6 35 rsi = rsi + rax
0x11b9 36 rax = sx.q([rbp - 0x10 {var_18_1}].d)
0x11bd 37 rax = rax << 2
0x11c1 38 rsi = rsi + rax
0x11c4 39 rdi = 0x2004 {"%d"}
0x11cb 40 al = 0
0x11cd 41 call(0x1040)
0x11d2 42 eax = [rbp - 0x10 {var_18_1}].d
0x11d5 43 eax = eax + 1
0x11d8 44 [rbp - 0x10 {var_18_1}].d = eax
0x11db 45 goto 19 @ 0x1198
0x120d 46 eax = [rbp - 0x10 {var_18_2}].d
0x1213 47 if (eax s> [rbp - 8 {var_10}].d) then 52 @ 0x127c else 57 @ 0x1219
0x11e5 48 eax = [rbp - 0xc {var_14}].d
0x11e8 49 eax = eax + 1
0x11eb 50 [rbp - 0xc {var_14}].d = eax
0x11ee 51 goto 11 @ 0x1185
0x127c 52 eax = [rbp - 0x10 {var_18_2}].d
0x127f 53 [rbp - 0x3d0918 {var_3d0920_1}].d = eax
0x1285 54 eax = [rbp - 8 {var_10}].d
0x1288 55 [rbp - 0x10 {var_18_3}].d = eax
0x1288 56 goto 63 @ 0x128f
0x1219 57 rcx = sx.q([rbp - 0xc {var_14_1}].d)
0x121d 58 rax = rbp - 0x3d0910 {var_3d0918}
0x1224 59 rcx = rcx * 0xfa0
0x122b 60 rax = rax + rcx
0x122e 61 rcx = sx.q([rbp - 0x10 {var_18_2}].d)
0x1236 62 if ([rax + (rcx << 2)].d != 0) then 64 @ 0x1269 else 65 @ 0x123c
0x128f 63 if ([rbp - 0x10 {var_18_3}].d s< 0) then 73 @ 0x12f8 else 77 @ 0x1295
0x1269 64 goto 83 @ 0x126e
0x123c 65 rcx = sx.q([rbp - 0xc {var_14_1}].d)
0x1240 66 rax = rbp - 0x3d0910 {var_3d0918}
0x1247 67 rcx = rcx * 0xfa0
0x124e 68 rax = rax + rcx
0x1251 69 ecx = [rbp - 0x10 {var_18_2}].d
0x1254 70 ecx = ecx + 1
0x1257 71 rcx = sx.q(ecx)
0x125e 72 if ([rax + (rcx << 2)].d == 0) then 64 @ 0x1269 else 87 @ 0x1264
0x12f8 73 eax = [rbp - 0x10 {var_18_3}].d
0x12fb 74 [rbp - 0x3d091c {var_3d0924_1}].d = eax
0x1301 75 eax = [rbp - 0x3d091c {var_3d0924_1}].d
0x130d 76 if (eax s<= [rbp - 0x3d0918 {var_3d0920_1}].d) then 88 @ 0x132e else 89 @ 0x1313
0x1295 77 rcx = sx.q([rbp - 0xc {var_14_1}].d)
0x1299 78 rax = rbp - 0x3d0910 {var_3d0918}
0x12a0 79 rcx = rcx * 0xfa0
0x12a7 80 rax = rax + rcx
0x12aa 81 rcx = sx.q([rbp - 0x10 {var_18_3}].d)
0x12b2 82 if ([rax + (rcx << 2)].d != 0) then 95 @ 0x12e5 else 96 @ 0x12b8
0x126e 83 eax = [rbp - 0x10 {var_18_2}].d
0x1271 84 eax = eax + 1
0x1274 85 [rbp - 0x10 {var_18_2}].d = eax
0x1277 86 goto 46 @ 0x120d
0x1264 87 goto 52 @ 0x127c
0x132e 88 goto 104 @ 0x1333
0x1313 89 eax = [rbp - 0x3d0914 {var_3d091c}].d
0x1319 90 eax = eax + [rbp - 0x3d091c {var_3d0924_1}].d
0x131f 91 eax = eax - [rbp - 0x3d0918 {var_3d0920_1}].d
0x1325 92 eax = eax - 1
0x1328 93 [rbp - 0x3d0914 {var_3d091c}].d = eax
0x1328 94 goto 88 @ 0x132e
0x12e5 95 goto 108 @ 0x12ea
0x12b8 96 rcx = sx.q([rbp - 0xc {var_14_1}].d)
0x12bc 97 rax = rbp - 0x3d0910 {var_3d0918}
0x12c3 98 rcx = rcx * 0xfa0
0x12ca 99 rax = rax + rcx
0x12cd 100 ecx = [rbp - 0x10 {var_18_3}].d
0x12d0 101 ecx = ecx - 1
0x12d3 102 rcx = sx.q(ecx)
0x12da 103 if ([rax + (rcx << 2)].d == 0) then 95 @ 0x12e5 else 112 @ 0x12e0
0x1333 104 eax = [rbp - 0xc {var_14_1}].d
0x1336 105 eax = eax + 1
0x1339 106 [rbp - 0xc {var_14_1}].d = eax
0x133c 107 goto 17 @ 0x11fa
0x12ea 108 eax = [rbp - 0x10 {var_18_3}].d
0x12ed 109 eax = eax - 1
0x12f0 110 [rbp - 0x10 {var_18_3}].d = eax
0x12f3 111 goto 63 @ 0x128f
0x12e0 112 goto 73 @ 0x12f8
int64_t _fini():
0x1364 0 rsp = rsp - 8
0x1368 1 rsp = rsp + 8
0x136c 2 <return> jump(pop)
| POJ_15 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
int64_t malloc(uint64_t bytes):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UHH E"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 rbp = rsp {__saved_rbp}
0x1164 2 rsp = rsp - 0x20
0x1168 3 [rbp - 4 {var_c}].d = 0
0x116f 4 rdi = 0x2004 {"%d%d"}
0x1176 5 rsi = rbp - 8 {var_10}
0x117a 6 rdx = rbp - 0xc {var_14}
0x117e 7 al = 0
0x1180 8 call(0x1040)
0x1180 9 goto 10 @ 0x1189
0x1189 10 if ([rbp - 8 {var_10}].d == 0) then 11 @ 0x120c else 15 @ 0x1193
0x120c 11 eax = 0
0x120e 12 rsp = rsp + 0x20
0x1212 13 rbp = pop
0x1213 14 <return> jump(pop)
0x1193 15 if ([rbp - 0xc {var_14}].d != 1) then 16 @ 0x11af else 20 @ 0x1199
0x11af 16 edi = [rbp - 8 {var_10}].d
0x11b2 17 call(0x1220)
0x11b7 18 [rbp - 0x18 {var_20_1}].q = rax
0x11b7 19 goto 25 @ 0x11bb
0x1199 20 esi = [rbp - 8 {var_10}].d
0x119c 21 rdi = 0x2009 {"%d\n"}
0x11a3 22 al = 0
0x11a5 23 call(0x1030)
0x11aa 24 goto 27 @ 0x11f1
0x11bb 25 rax = [rbp - 0x18 {var_20_1}].q
0x11c2 26 if ([rax].d == 0) then 33 @ 0x11d9 else 40 @ 0x11c8
0x11f1 27 rdi = 0x2004 {"%d%d"}
0x11f8 28 rsi = rbp - 8 {var_10}
0x11fc 29 rdx = rbp - 0xc {var_14}
0x1200 30 al = 0
0x1202 31 call(0x1040)
0x1207 32 goto 10 @ 0x1189
0x11d9 33 rax = [rbp - 0x18 {var_20_1}].q
0x11dd 34 rax = [rax + 8].q
0x11e1 35 esi = [rax].d
0x11e3 36 rdi = 0x2009 {"%d\n"}
0x11ea 37 al = 0
0x11ec 38 call(0x1030)
0x11ec 39 goto 27 @ 0x11f1
0x11c8 40 rdi = [rbp - 0x18 {var_20_1}].q
0x11cc 41 esi = [rbp - 0xc {var_14}].d
0x11cf 42 call(0x12d0)
0x11d4 43 goto 25 @ 0x11bb
int32_t* creat(int32_t arg1):
0x1220 0 push(rbp)
0x1221 1 rbp = rsp {__saved_rbp}
0x1224 2 rsp = rsp - 0x20
0x1228 3 [rbp - 4 {var_c}].d = edi
0x122b 4 [rbp - 8 {var_10}].d = 1
0x1232 5 edi = 0x10 {""}
0x1237 6 call(0x1050)
0x123c 7 [rbp - 0x10 {var_18}].q = rax
0x1240 8 edi = 0x10 {""}
0x1245 9 call(0x1050)
0x124a 10 [rbp - 0x18 {var_20}].q = rax
0x124e 11 [rbp - 0x20 {var_28}].q = rax
0x1252 12 ecx = [rbp - 4 {var_c}].d
0x1255 13 rax = [rbp - 0x10 {var_18}].q
0x1259 14 [rax].d = ecx
0x125b 15 rcx = [rbp - 0x18 {var_20}].q
0x125f 16 rax = [rbp - 0x10 {var_18}].q
0x1263 17 [rax + 8].q = rcx
0x1263 18 goto 19 @ 0x1267
0x1267 19 eax = [rbp - 8 {var_10}].d
0x126d 20 if (eax s>= [rbp - 4 {var_c}].d) then 21 @ 0x12ab else 31 @ 0x1273
0x12ab 21 ecx = [rbp - 8 {var_10}].d
0x12ae 22 rax = [rbp - 0x20 {var_28}].q
0x12b2 23 [rax].d = ecx
0x12b4 24 rcx = [rbp - 0x18 {var_20}].q
0x12b8 25 rax = [rbp - 0x20 {var_28}].q
0x12bc 26 [rax + 8].q = rcx
0x12c0 27 rax = [rbp - 0x10 {var_18}].q
0x12c4 28 rsp = rsp + 0x20
0x12c8 29 rbp = pop
0x12c9 30 <return> jump(pop)
0x1273 31 ecx = [rbp - 8 {var_10}].d
0x1276 32 rax = [rbp - 0x20 {var_28}].q
0x127a 33 [rax].d = ecx
0x127c 34 edi = 0x10 {""}
0x1281 35 call(0x1050)
0x1286 36 rcx = rax
0x1289 37 rax = [rbp - 0x20 {var_28}].q
0x128d 38 [rax + 8].q = rcx
0x1291 39 rax = [rbp - 0x20 {var_28}].q
0x1295 40 rax = [rax + 8].q
0x1299 41 [rbp - 0x20 {var_28}].q = rax
0x129d 42 eax = [rbp - 8 {var_10}].d
0x12a0 43 eax = eax + 1
0x12a3 44 [rbp - 8 {var_10}].d = eax
0x12a6 45 goto 19 @ 0x1267
int32_t* cry_123(int32_t* arg1, int32_t arg2):
0x12d0 0 push(rbp)
0x12d1 1 rbp = rsp {__saved_rbp}
0x12d4 2 [rbp - 8 {var_10}].q = rdi
0x12d8 3 [rbp - 0xc {var_14}].d = esi
0x12db 4 [rbp - 0x10 {var_18}].d = 1
0x12e2 5 rax = [rbp - 8 {var_10}].q
0x12e6 6 rax = [rax + 8].q
0x12ea 7 [rbp - 0x18 {var_20}].q = rax
0x12ee 8 [rbp - 0x10 {var_18_1}].d = 1
0x12ee 9 goto 10 @ 0x12f5
0x12f5 10 eax = [rbp - 0x10 {var_18_1}].d
0x12fb 11 if (eax == [rbp - 0xc {var_14}].d) then 12 @ 0x133a else 29 @ 0x1305
0x133a 12 rax = [rbp - 0x18 {var_20}].q
0x133e 13 rax = [rax + 8].q
0x1342 14 rax = [rax + 8].q
0x1346 15 [rbp - 0x20 {var_28}].q = rax
0x134a 16 rcx = [rbp - 0x20 {var_28}].q
0x134e 17 rax = [rbp - 0x18 {var_20}].q
0x1352 18 [rax + 8].q = rcx
0x1356 19 rax = [rbp - 8 {var_10}].q
0x135a 20 ecx = [rax].d
0x135c 21 ecx = ecx - 1
0x135f 22 [rax].d = ecx
0x1361 23 rax = [rbp - 0x18 {var_20}].q
0x1365 24 rcx = [rax + 8].q
0x1369 25 rax = [rbp - 8 {var_10}].q
0x136d 26 [rax + 8].q = rcx
0x1371 27 rbp = pop
0x1372 28 <return> jump(pop)
0x1305 29 if ([rbp - 0x10 {var_18_1}].d != 1) then 30 @ 0x1318 else 34 @ 0x130b
0x1318 30 rax = [rbp - 0x18 {var_20}].q
0x131c 31 rax = [rax + 8].q
0x1320 32 [rbp - 0x28 {var_30_1}].q = rax
0x1320 33 goto 37 @ 0x1324
0x130b 34 rax = [rbp - 0x18 {var_20}].q
0x130f 35 [rbp - 0x28 {var_30_1}].q = rax
0x1313 36 goto 37 @ 0x1324
0x1324 37 rax = [rbp - 0x28 {var_30_1}].q
0x1328 38 [rbp - 0x18 {var_20}].q = rax
0x132c 39 eax = [rbp - 0x10 {var_18_1}].d
0x132f 40 eax = eax + 1
0x1332 41 [rbp - 0x10 {var_18_1}].d = eax
0x1335 42 goto 10 @ 0x12f5
int64_t _fini():
0x1378 0 rsp = rsp - 8
0x137c 1 rsp = rsp + 8
0x1380 2 <return> jump(pop)
| POJ_79 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"AWAVSH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(r15)
0x1152 1 push(r14)
0x1154 2 push(rbx)
0x1155 3 rsp = rsp - 0x4c0
0x115c 4 rdi = 0x2005 {"%d"}
0x1163 5 rsi = rsp + 0xc {var_4cc}
0x1168 6 eax = 0
0x116a 7 call(0x1040)
0x1174 8 if ([rsp + 0xc {var_4cc}].d s<= 0) then 9 @ 0x1201 else 15 @ 0x117a
0x1201 9 esi = [rsp + 0x10 {var_4c8}].d
0x1205 10 rdi = 0x2005 {"%d"}
0x120c 11 eax = 0
0x120e 12 call(0x1030)
0x1213 13 eax = [rsp + 0xc {var_4cc}].d
0x121a 14 if (eax s< 2) then 19 @ 0x1254 else 25 @ 0x121c
0x117a 15 r15 = rsp + 0x10 {var_4c8}
0x117f 16 r14 = 0x2005 {"%d"}
0x1186 17 ebx = 0
0x1188 18 goto 28 @ 0x1190
0x1254 19 eax = 0
0x1256 20 rsp = rsp + 0x4c0
0x125d 21 rbx = pop
0x125e 22 r14 = pop
0x1260 23 r15 = pop
0x1262 24 <return> jump(pop)
0x121c 25 ebx = 1
0x1221 26 r14 = 0x2004 {",%d"}
0x1228 27 goto 36 @ 0x123c
0x1190 28 rdi = r14
0x1193 29 rsi = r15
0x1196 30 eax = 0
0x1198 31 call(0x1040)
0x119d 32 rbx = rbx + 1
0x11a1 33 rax = sx.q([rsp + 0xc {var_4cc}].d)
0x11a6 34 r15 = r15 + 4
0x11ad 35 if (rbx s< rax) then 28 @ 0x1190 else 38 @ 0x11af
0x123c 36 esi = [rsp + (rbx << 2) + 0x10].d
0x1242 37 if (esi s<= 0) then 40 @ 0x1230 else 43 @ 0x1244
0x11af 38 eax = eax
0x11b3 39 if (eax s<= 0) then 9 @ 0x1201 else 48 @ 0x11b5
0x1230 40 rbx = rbx + 1
0x1234 41 rcx = sx.q(eax)
0x123a 42 if (rbx s>= rcx) then 19 @ 0x1254 else 36 @ 0x123c
0x1244 43 rdi = r14
0x1247 44 eax = 0
0x1249 45 call(0x1030)
0x124e 46 eax = [rsp + 0xc {var_4cc}].d
0x1252 47 goto 40 @ 0x1230
0x11b5 48 ecx = (rax - 1).d
0x11b8 49 rdx = rax - 1
0x11bc 50 esi = 0
0x11be 51 goto 52 @ 0x11cc
0x11cc 52 if (rsi u>= rcx) then 53 @ 0x11c0 else 55 @ 0x11ce
0x11c0 53 rsi = rsi + 1
0x11c7 54 if (rsi == rax) then 9 @ 0x1201 else 52 @ 0x11cc
0x11ce 55 rdi = rdx
0x11d1 56 goto 57 @ 0x11e9
0x11e9 57 ebx = [rsp + (rsi << 2) + 0x10].d
0x11ef 58 if (ebx == 0) then 59 @ 0x11e0 else 61 @ 0x11f5
0x11e0 59 rdi = rdi - 1
0x11e7 60 if (rdi s<= rsi) then 53 @ 0x11c0 else 57 @ 0x11e9
0x11f5 61 if (ebx != [rsp + (rdi << 2) + 0x10].d) then 59 @ 0x11e0 else 62 @ 0x11f7
0x11f7 62 [rsp + (rdi << 2) + 0x10].d = 0
0x11ff 63 goto 59 @ 0x11e0
int64_t _fini():
0x1268 0 rsp = rsp - 8
0x126c 1 rsp = rsp + 8
0x1270 2 <return> jump(pop)
| POJ_53 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x11a0 {"PH=\"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int64_t work(int32_t arg1, int32_t arg2, int64_t arg3, uint64_t arg4):
0x1150 0 eax = edi
0x1154 1 if (edi != esi) then 2 @ 0x1176 else 3 @ 0x1156
0x1176 2 if (eax s> esi) then 7 @ 0x1180 else 13 @ 0x117a
0x1156 3 rdi = 0x2007 {"%d"}
0x115d 4 esi = eax
0x115f 5 eax = 0
0x1161 6 <return> tailcall(0x1030)
0x1180 7 ecx = eax
0x1182 8 ecx = ecx u>> 0x1f
0x1185 9 ecx = ecx + eax
0x1187 10 ecx = ecx s>> 1
0x1189 11 eax = ecx
0x118d 12 if (eax s>= esi) then 14 @ 0x1172 else 15 @ 0x118f
0x117a 13 if (eax s>= esi) then 14 @ 0x1172 else 21 @ 0x117c
0x1172 14 if (eax == esi) then 3 @ 0x1156 else 2 @ 0x1176
0x118f 15 ecx = esi
0x1191 16 ecx = ecx u>> 0x1f
0x1194 17 ecx = ecx + esi
0x1196 18 ecx = ecx s>> 1
0x1198 19 esi = ecx
0x119a 20 goto 14 @ 0x1172
0x117c 21 goto 15 @ 0x118f
int32_t main(int32_t argc, char** argv, char** envp):
0x11a0 0 push(rax)
0x11a1 1 rdi = 0x2004 {"%d %d"}
0x11a8 2 rsi = rsp + 4 {var_8+0x4}
0x11ad 3 rdx = rsp {var_8}
0x11b0 4 eax = 0
0x11b2 5 call(0x1040)
0x11b7 6 esi = [rsp + 4 {var_8+0x4}].d
0x11bb 7 eax = [rsp {var_8}].d
0x11be 8 goto 9 @ 0x11c2
0x11c2 9 if (esi == eax) then 10 @ 0x11ec else 16 @ 0x11c6
0x11ec 10 rdi = 0x2007 {"%d"}
0x11f3 11 eax = 0
0x11f5 12 call(0x1030)
0x11fa 13 eax = 0
0x11fc 14 rcx = pop
0x11fd 15 <return> jump(pop)
0x11c6 16 if (esi s> eax) then 17 @ 0x11d0 else 23 @ 0x11ca
0x11d0 17 ecx = esi
0x11d2 18 ecx = ecx u>> 0x1f
0x11d5 19 ecx = ecx + esi
0x11d7 20 ecx = ecx s>> 1
0x11d9 21 esi = ecx
0x11dd 22 if (esi s>= eax) then 9 @ 0x11c2 else 24 @ 0x11df
0x11ca 23 if (esi s>= eax) then 9 @ 0x11c2 else 30 @ 0x11cc
0x11df 24 ecx = eax
0x11e1 25 ecx = ecx u>> 0x1f
0x11e4 26 ecx = ecx + eax
0x11e6 27 ecx = ecx s>> 1
0x11e8 28 eax = ecx
0x11ea 29 goto 9 @ 0x11c2
0x11cc 30 goto 24 @ 0x11df
int64_t _fini():
0x1204 0 rsp = rsp - 8
0x1208 1 rsp = rsp + 8
0x120c 2 <return> jump(pop)
| POJ_104 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int64_t memset(void* arg1, int32_t arg2, uint64_t arg3):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UAWAVAUATSHX"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 push(r15)
0x1163 2 push(r14)
0x1165 3 push(r13)
0x1167 4 push(r12)
0x1169 5 push(rbx)
0x116a 6 rsp = rsp - 0x9c58
0x1171 7 rdi = rsp + 0x10 {var_9c78}
0x1176 8 edx = 0x9c40 {""}
0x117b 9 esi = 0
0x117d 10 call(0x1040)
0x1182 11 rdi = 0x2023 {"%d"}
0x1189 12 rsi = rsp + 4 {var_9c84}
0x118e 13 eax = 0
0x1190 14 call(0x1050)
0x119a 15 if ([rsp + 4 {var_9c84}].d s<= 0) then 16 @ 0x14e0 else 19 @ 0x11a0
0x14e0 16 ebp = 1
0x14e5 17 ebx = 0xc350 {""}
0x14e5 18 goto 26 @ 0x14ea
0x11a0 19 ebp = 1
0x11a5 20 ebx = 0xc350 {""}
0x11aa 21 r14 = 0x2020 {"%d %d"}
0x11b1 22 r15 = rsp + 0xc {var_9c7c}
0x11b6 23 r12 = rsp + 8 {var_9c80}
0x11bb 24 r13d = 1
0x11c1 25 goto 32 @ 0x11e2
0x14ea 26 rdi = 0x2020 {"%d %d"}
0x14f1 27 esi = ebx
0x14f3 28 edx = ebp
0x14f5 29 eax = 0
0x14f7 30 call(0x1030)
0x14f7 31 goto 40 @ 0x14fc
0x11e2 32 rdi = r14
0x11e5 33 rsi = r15 {var_9c7c}
0x11e8 34 rdx = r12 {var_9c80}
0x11eb 35 eax = 0
0x11ed 36 call(0x1050)
0x11f2 37 rax = sx.q([rsp + 0xc {var_9c7c}].d)
0x11f7 38 rcx = sx.q([rsp + 8 {var_9c80}].d)
0x11fe 39 if (eax s>= ecx) then 49 @ 0x11d0 else 53 @ 0x1200
0x14fc 40 eax = 0
0x14fe 41 rsp = rsp + 0x9c58
0x1505 42 rbx = pop
0x1506 43 r12 = pop
0x1508 44 r13 = pop
0x150a 45 r14 = pop
0x150c 46 r15 = pop
0x150e 47 rbp = pop
0x150f 48 <return> jump(pop)
0x11d0 49 eax = (r13 + 1).d
0x11d4 50 cond:0 = r13d s>= [rsp + 4 {var_9c84}].d
0x11d9 51 r13d = eax
0x11dc 52 if (cond:0) then 56 @ 0x1498 else 32 @ 0x11e2
0x1200 53 r8 = rcx
0x1203 54 r8 = r8 - rax
0x120a 55 if (r8 u>= 8) then 61 @ 0x1220 else 78 @ 0x120c
0x1498 56 rdx = sx.q(ebx)
0x149b 57 [rsp + (rdx << 2) + 0x10].d = 1
0x14a3 58 rax = sx.q(ebp)
0x14a6 59 [rsp + (rax << 2) + 0x10].d = 1
0x14b0 60 if (edx s> eax) then 26 @ 0x14ea else 80 @ 0x14b2
0x1220 61 rdx = r8
0x1223 62 rdx = rdx & 0xfffffffffffffff8
0x1227 63 xmm0 = ebx
0x122b 64 xmm0 = _mm_shuffle_epi32(xmm0, 0)
0x1230 65 xmm1 = ebp
0x1234 66 xmm4 = _mm_shuffle_epi32(xmm1, 0)
0x1239 67 xmm1 = eax
0x123d 68 xmm9 = _mm_shuffle_epi32(xmm1, 0)
0x1243 69 xmm1 = ecx
0x1247 70 xmm8 = _mm_shuffle_epi32(xmm1, 0)
0x124d 71 rsi = rdx - 8
0x1251 72 rbx = rsi
0x1254 73 rbx = rbx u>> 3
0x1258 74 rbx = rbx + 1
0x125c 75 cond:1 = rsi == 0
0x125f 76 xmm10 = [0x2010].o
0x1267 77 if (cond:1) then 87 @ 0x1480 else 91 @ 0x126d
0x120c 78 rdx = rax
0x120f 79 goto 102 @ 0x1460
0x14b2 80 rax = rsp + (rdx << 2)
0x14b6 81 rax = rax + 0x10
0x14ba 82 ecx = ebp
0x14bc 83 ecx = ecx - edx
0x14be 84 ecx = ecx + 1
0x14c1 85 edx = 0
0x14cd 86 goto 104 @ 0x14d4
0x1480 87 ebp = 0
0x1482 88 xmm2 = xmm0
0x1486 89 xmm5 = xmm4
0x148d 90 if ((bl & 1) != 0) then 105 @ 0x133e else 135 @ 0x1493
0x126d 91 rdi = rbx
0x1270 92 rdi = rdi & 0xfffffffffffffffe
0x1274 93 rsi = rsp + 0x40 {var_9c48}
0x1279 94 rsi = rsi + (rax << 2)
0x127d 95 ebp = 0
0x127f 96 xmm3 = xmm0
0x1283 97 xmm1 = xmm0
0x1287 98 xmm7 = xmm4
0x128b 99 xmm6 = xmm4
0x128f 100 xmm2 = xmm0
0x129d 101 goto 136 @ 0x12a0
0x1460 102 [rsp + (rdx << 2) + 0x10].d = 1
0x146a 103 if (eax s< ebx) then 170 else 172 @ 0x146f
0x14d4 104 if ([rax + (rdx << 2)].d == 0) then 173 @ 0x1510 else 177 @ 0x14d6
0x133e 105 rbp = rbp + rax
0x1341 106 [rsp + (rbp << 2) + 0x10].o = xmm10
0x1347 107 [rsp + (rbp << 2) + 0x20].o = xmm10
0x134d 108 xmm1 = xmm0
0x1351 109 xmm1 = _mm_cmpgt_epi32(xmm1, xmm9)
0x1356 110 xmm3 = xmm9
0x135b 111 xmm3 = xmm3 & xmm1
0x135f 112 xmm1 = xmm1 & not.o(xmm0)
0x1363 113 xmm1 = xmm1 | xmm3
0x1367 114 xmm3 = xmm2
0x136b 115 xmm3 = _mm_cmpgt_epi32(xmm3, xmm9)
0x1370 116 xmm9 = xmm9 & xmm3
0x1375 117 xmm3 = xmm3 & not.o(xmm2)
0x1379 118 xmm3 = xmm3 | xmm9
0x137e 119 xmm6 = xmm8
0x1383 120 xmm6 = _mm_cmpgt_epi32(xmm6, xmm4)
0x1387 121 xmm0 = xmm8
0x138c 122 xmm0 = xmm0 & xmm6
0x1390 123 xmm6 = xmm6 & not.o(xmm4)
0x1394 124 xmm6 = xmm6 | xmm0
0x1398 125 xmm7 = xmm8
0x139d 126 xmm7 = _mm_cmpgt_epi32(xmm7, xmm5)
0x13a1 127 xmm8 = xmm8 & xmm7
0x13a6 128 xmm7 = xmm7 & not.o(xmm5)
0x13aa 129 xmm7 = xmm7 | xmm8
0x13af 130 xmm0 = xmm1
0x13b3 131 xmm2 = xmm3
0x13b7 132 xmm4 = xmm6
0x13bb 133 xmm5 = xmm7
0x13bb 134 goto 179 @ 0x13bf
0x1493 135 goto 179 @ 0x13bf
0x12a0 136 [rsi + (rbp << 2) - 0x30].o = xmm10
0x12a6 137 [rsi + (rbp << 2) - 0x20].o = xmm10
0x12ac 138 xmm0 = _mm_cmpgt_epi32(xmm0, xmm9)
0x12b1 139 xmm4 = xmm9
0x12b6 140 xmm4 = xmm4 & xmm0
0x12ba 141 xmm0 = xmm0 & not.o(xmm3)
0x12be 142 xmm0 = xmm0 | xmm4
0x12c2 143 xmm2 = _mm_cmpgt_epi32(xmm2, xmm9)
0x12c7 144 xmm3 = xmm9
0x12cc 145 xmm3 = xmm3 & xmm2
0x12d0 146 xmm2 = xmm2 & not.o(xmm1)
0x12d4 147 xmm2 = xmm2 | xmm3
0x12d8 148 xmm4 = xmm8
0x12dd 149 xmm4 = _mm_cmpgt_epi32(xmm4, xmm7)
0x12e1 150 xmm1 = xmm8
0x12e6 151 xmm1 = xmm1 & xmm4
0x12ea 152 xmm4 = xmm4 & not.o(xmm7)
0x12ee 153 xmm4 = xmm4 | xmm1
0x12f2 154 xmm5 = xmm8
0x12f7 155 xmm5 = _mm_cmpgt_epi32(xmm5, xmm6)
0x12fb 156 xmm1 = xmm8
0x1300 157 xmm1 = xmm1 & xmm5
0x1304 158 xmm5 = xmm5 & not.o(xmm6)
0x1308 159 xmm5 = xmm5 | xmm1
0x130c 160 [rsi + (rbp << 2) - 0x10].o = xmm10
0x1312 161 [rsi + (rbp << 2)].o = xmm10
0x1317 162 rbp = rbp + 0x10
0x131b 163 xmm3 = xmm0
0x131f 164 xmm1 = xmm2
0x1323 165 xmm7 = xmm4
0x1327 166 xmm6 = xmm5
0x132b 167 temp0.q = rdi
0x132b 168 rdi = rdi - 2
0x132f 169 if (temp0.q != 2) then 136 @ 0x12a0 else 216 @ 0x1338
0x146a 170 ebx = eax
0x146a 171 goto 172 @ 0x146f
0x146f 172 if (ecx s> ebp) then 217 else 219 @ 0x1472
0x1510 173 rdi = 0x2026 {"no"}
0x1517 174 eax = 0
0x1519 175 call(0x1030)
0x151e 176 goto 40 @ 0x14fc
0x14d6 177 rdx = rdx + 1
0x14dc 178 if (ecx != edx) then 104 @ 0x14d4 else 221 @ 0x14de
0x13bf 179 xmm1 = xmm4
0x13c3 180 xmm1 = _mm_cmpgt_epi32(xmm1, xmm5)
0x13c7 181 xmm4 = xmm4 & xmm1
0x13cb 182 xmm1 = xmm1 & not.o(xmm5)
0x13cf 183 xmm1 = xmm1 | xmm4
0x13d3 184 xmm3 = _mm_shuffle_epi32(xmm1, 0xee)
0x13d8 185 xmm4 = xmm1
0x13dc 186 xmm4 = _mm_cmpgt_epi32(xmm4, xmm3)
0x13e0 187 xmm1 = xmm1 & xmm4
0x13e4 188 xmm4 = xmm4 & not.o(xmm3)
0x13e8 189 xmm4 = xmm4 | xmm1
0x13ec 190 xmm1 = _mm_shuffle_epi32(xmm4, 0x55)
0x13f1 191 xmm3 = xmm4
0x13f5 192 xmm3 = _mm_cmpgt_epi32(xmm3, xmm1)
0x13f9 193 xmm4 = xmm4 & xmm3
0x13fd 194 xmm3 = xmm3 & not.o(xmm1)
0x1401 195 xmm3 = xmm3 | xmm4
0x1405 196 ebp = xmm3.d
0x1409 197 xmm1 = xmm2
0x140d 198 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0)
0x1411 199 xmm0 = xmm0 & xmm1
0x1415 200 xmm1 = xmm1 & not.o(xmm2)
0x1419 201 xmm1 = xmm1 | xmm0
0x141d 202 xmm0 = _mm_shuffle_epi32(xmm1, 0xee)
0x1422 203 xmm2 = xmm0
0x1426 204 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x142a 205 xmm1 = xmm1 & xmm2
0x142e 206 xmm2 = xmm2 & not.o(xmm0)
0x1432 207 xmm2 = xmm2 | xmm1
0x1436 208 xmm0 = _mm_shuffle_epi32(xmm2, 0x55)
0x143b 209 xmm1 = xmm0
0x143f 210 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2)
0x1443 211 xmm2 = xmm2 & xmm1
0x1447 212 xmm1 = xmm1 & not.o(xmm0)
0x144b 213 xmm1 = xmm1 | xmm2
0x144f 214 ebx = xmm1.d
0x1456 215 if (r8 == rdx) then 49 @ 0x11d0 else 222 @ 0x145c
0x1338 216 if ((bl & 1) == 0) then 179 @ 0x13bf else 105 @ 0x133e
0x146f 217 ebp = ecx
0x146f 218 goto 219 @ 0x1472
0x1472 219 rdx = rdx + 1
0x1479 220 if (rcx != rdx) then 102 @ 0x1460 else 224 @ 0x147b
0x14de 221 goto 26 @ 0x14ea
0x145c 222 rdx = rdx + rax
0x145f 223 goto 102 @ 0x1460
0x147b 224 goto 49 @ 0x11d0
int64_t _fini():
0x1524 0 rsp = rsp - 8
0x1528 1 rsp = rsp + 8
0x152c 2 <return> jump(pop)
| POJ_76 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
uint64_t strlen(char const* arg1):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
char* gets(char* buf):
0x1040 0 <return> tailcall([0x4020].q)
int32_t putchar(int32_t c):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"AVSH"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(r14)
0x1162 1 push(rbx)
0x1163 2 rsp = rsp - 0xa8
0x116a 3 rbx = rsp + 0x50 {var_68}
0x116f 4 rdi = rbx {var_68}
0x1172 5 eax = 0
0x1174 6 call(0x1040)
0x1179 7 r14 = rsp {var_b8}
0x117c 8 rdi = r14 {var_b8}
0x117f 9 eax = 0
0x1181 10 call(0x1040)
0x1186 11 rdi = rbx {var_68}
0x1189 12 call(0x1030)
0x118e 13 rbx = rax
0x1191 14 rdi = r14 {var_b8}
0x1194 15 call(0x1030)
0x119b 16 if (ebx s< eax) then 17 else 19 @ 0x119e
0x119b 17 ebx = eax
0x119b 18 goto 19 @ 0x119e
0x119e 19 edi = 0x3d {""}
0x11a5 20 if (ebx s<= 0) then 21 @ 0x11ed else 27 @ 0x11a7
0x11ed 21 call(0x1050)
0x11f2 22 eax = 0
0x11f4 23 rsp = rsp + 0xa8
0x11fb 24 rbx = pop
0x11fc 25 r14 = pop
0x11fe 26 <return> jump(pop)
0x11a7 27 eax = ebx
0x11a9 28 ecx = 0
0x11ab 29 goto 30 @ 0x11b0
0x11b0 30 edx = zx.d([rsp + rcx + 0x50].b)
0x11b8 31 if (dl s> 0x5a) then 32 @ 0x11c1 else 34 @ 0x11ba
0x11c1 32 ebx = zx.d([rsp + rcx].b)
0x11c8 33 if (bl s> 0x5a) then 37 @ 0x11d0 else 39 @ 0x11ca
0x11ba 34 dl = dl + 0x20
0x11bd 35 [rsp + rcx + 0x50].b = dl
0x11bd 36 goto 32 @ 0x11c1
0x11d0 37 cond:0 = dl s< bl
0x11d2 38 if (dl s> bl) then 42 @ 0x11e1 else 44 @ 0x11d4
0x11ca 39 bl = bl + 0x20
0x11cd 40 [rsp + rcx].b = bl
0x11cd 41 goto 37 @ 0x11d0
0x11e1 42 edi = 0x3e {""}
0x11e6 43 goto 21 @ 0x11ed
0x11d4 44 if (cond:0) then 45 @ 0x11e8 else 47 @ 0x11d6
0x11e8 45 edi = 0x3c {""}
0x11e8 46 goto 21 @ 0x11ed
0x11d6 47 rcx = rcx + 1
0x11dd 48 if (rax != rcx) then 30 @ 0x11b0 else 49 @ 0x11df
0x11df 49 goto 21 @ 0x11ed
int64_t _fini():
0x1204 0 rsp = rsp - 8
0x1208 1 rsp = rsp + 8
0x120c 2 <return> jump(pop)
| POJ_95 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
uint64_t strlen(char const* arg1):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
int32_t putchar(int32_t c):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"SH`H="}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbx)
0x1161 1 rsp = rsp - 0x60
0x1165 2 rdi = 0x2004 {"%d%s%d"}
0x116c 3 rsi = rsp + 0xc {var_5c}
0x1171 4 rbx = rsp + 0x10 {var_58}
0x1176 5 rcx = rsp + 8 {var_60}
0x117b 6 rdx = rbx {var_58}
0x117e 7 eax = 0
0x1180 8 call(0x1040)
0x1185 9 rdi = rbx {var_58}
0x1188 10 call(0x1030)
0x118f 11 if (eax s<= 0) then 12 @ 0x1241 else 15 @ 0x1195
0x1241 12 edi = 0x30 {""}
0x1246 13 call(0x1050)
0x124b 14 goto 22 @ 0x1277
0x1195 15 r9 = sx.q([rsp + 0xc {var_5c}].d)
0x119a 16 edx = eax
0x119c 17 rdx = rdx + 1
0x11a0 18 esi = 1
0x11a5 19 eax = 0
0x11a7 20 r8d = 0xa9 {""}
0x11ad 21 goto 25 @ 0x11d9
0x1277 22 rsp = rsp + 0x60
0x127b 23 rbx = pop
0x127c 24 <return> jump(pop)
0x11d9 25 r11d = (rdx - 2).d
0x11dd 26 edi = zx.d([rsp + r11 + 0x10].b)
0x11e3 27 r10d = (rdi - 0x61).d
0x11e7 28 ebx = (rdi - 0x41).d
0x11ea 29 ecx = 0xc9 {""}
0x11f2 30 if (bl u< 0x1a) then 31 @ 0x11b4 else 32 @ 0x11f4
0x11b4 31 if (r10b u< 0x1a) then 34 else 36 @ 0x11b8
0x11f4 32 ecx = 0xd0 {""}
0x11f9 33 goto 31 @ 0x11b4
0x11b4 34 ecx = r8d
0x11b4 35 goto 36 @ 0x11b8
0x11b8 36 dil = dil + cl
0x11bb 37 [rsp + r11 + 0x10].b = dil
0x11c0 38 rcx = sx.q(dil)
0x11c4 39 rcx = rcx * rsi
0x11c8 40 rax = rax + rcx
0x11cb 41 rsi = rsi * r9
0x11cf 42 rdx = rdx - 1
0x11d7 43 if (rdx u<= 1) then 44 @ 0x11fe else 25 @ 0x11d9
0x11fe 44 if (rax == 0) then 12 @ 0x1241 else 45 @ 0x1200
0x1200 45 rsi = sx.q([rsp + 8 {var_60}].d)
0x1205 46 ecx = 0
0x1207 47 edi = 0x30 {""}
0x120c 48 goto 49 @ 0x122f
0x122f 49 rdx = rax
0x1232 50 rdx = rdx | rsi
0x1235 51 rdx = rdx u>> 0x20
0x1239 52 if (rdx != 0) then 53 @ 0x1210 else 59 @ 0x123b
0x1210 53 rdx:rax = sx.o(rax)
0x1212 54 temp0.q = divs.dp.q(rdx:rax, rsi)
0x1212 55 temp1.q = mods.dp.q(rdx:rax, rsi)
0x1212 56 rax = temp0.q
0x1212 57 rdx = temp1.q
0x1212 58 goto 70 @ 0x1215
0x123b 59 edx = 0
0x123d 60 temp2.d = esi
0x123d 61 temp3.d = edx
0x123d 62 temp4.d = eax
0x123d 63 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d)
0x123d 64 temp5.d = edx
0x123d 65 temp6.d = eax
0x123d 66 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d)
0x123d 67 eax = temp0.d
0x123d 68 edx = temp1.d
0x123f 69 goto 70 @ 0x1215
0x1215 70 cond:0 = dl s< 0xa
0x1218 71 ebx = 0x37 {""}
0x121d 72 if (cond:0) then 73 else 75 @ 0x1220
0x121d 73 ebx = edi
0x121d 74 goto 75 @ 0x1220
0x1220 75 bl = bl + dl
0x1222 76 [rsp + rcx + 0x10].b = bl
0x1226 77 rcx = rcx + 1
0x122d 78 if (rax == 0) then 79 @ 0x124f else 49 @ 0x122f
0x124f 79 if (ecx s<= 0) then 22 @ 0x1277 else 80 @ 0x1251
0x1251 80 ebx = ecx
0x1253 81 rbx = rbx + 1
0x1257 82 goto 83 @ 0x1260
0x1260 83 eax = (rbx - 2).d
0x1263 84 edi = sx.d([rsp + rax + 0x10].b)
0x1268 85 call(0x1050)
0x126d 86 rbx = rbx - 1
0x1275 87 if (rbx u> 1) then 83 @ 0x1260 else 22 @ 0x1277
int64_t _fini():
0x1284 0 rsp = rsp - 8
0x1288 1 rsp = rsp + 8
0x128c 2 <return> jump(pop)
| POJ_55 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UHH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 rbp = rsp {__saved_rbp}
0x1154 2 rsp = rsp - 0x1910
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 [rbp - 8 {var_10}].d = 0
0x1162 5 goto 6 @ 0x116d
0x116d 6 if ([rbp - 8 {var_10}].d s>= 0x64) then 7 @ 0x127c else 9 @ 0x1173
0x127c 7 [rbp - 0x10 {var_18}].d = 0
0x127c 8 goto 11 @ 0x1283
0x1173 9 [rbp - 0xc {var_14_1}].d = 0
0x1173 10 goto 13 @ 0x117e
0x1283 11 eax = [rbp - 0x10 {var_18}].d
0x1289 12 if (eax s>= [rbp - 8 {var_10}].d) then 14 @ 0x1347 else 16 @ 0x128f
0x117e 13 if ([rbp - 0xc {var_14_1}].d s>= 6) then 62 @ 0x11bd else 67 @ 0x1184
0x1347 14 [rbp - 0x10 {var_18_1}].d = 0
0x1347 15 goto 81 @ 0x134e
0x128f 16 rcx = sx.q([rbp - 0x10 {var_18}].d)
0x1293 17 rax = rbp - 0x970 {var_978}
0x129a 18 rcx = rcx * 0x18
0x129e 19 rax = rax + rcx
0x12a1 20 ecx = 0x3c {""}
0x12a6 21 ecx = ecx - [rax + 8].d
0x12a9 22 rdx = sx.q([rbp - 0x10 {var_18}].d)
0x12ad 23 rax = rbp - 0x970 {var_978}
0x12b4 24 rdx = rdx * 0x18
0x12b8 25 rax = rax + rdx
0x12bb 26 ecx = ecx + [rax + 0x14].d
0x12be 27 rax = sx.q([rbp - 0x10 {var_18}].d)
0x12c2 28 rdx = rbp - 0x970 {var_978}
0x12c9 29 rax = rax * 0x18
0x12cd 30 rdx = rdx + rax
0x12d0 31 eax = 0x3c {""}
0x12d5 32 eax = eax - [rdx + 4].d
0x12d8 33 eax = eax - 1
0x12db 34 rsi = sx.q([rbp - 0x10 {var_18}].d)
0x12df 35 rdx = rbp - 0x970 {var_978}
0x12e6 36 rsi = rsi * 0x18
0x12ea 37 rdx = rdx + rsi
0x12ed 38 eax = eax + [rdx + 0x10].d
0x12f0 39 eax = eax * 0x3c
0x12f3 40 ecx = ecx + eax
0x12f5 41 rax = sx.q([rbp - 0x10 {var_18}].d)
0x12f9 42 rdx = rbp - 0x970 {var_978}
0x1300 43 rax = rax * 0x18
0x1304 44 rdx = rdx + rax
0x1307 45 eax = 0xc {""}
0x130c 46 eax = eax - [rdx].d
0x130e 47 eax = eax - 1
0x1311 48 rsi = sx.q([rbp - 0x10 {var_18}].d)
0x1315 49 rdx = rbp - 0x970 {var_978}
0x131c 50 rsi = rsi * 0x18
0x1320 51 rdx = rdx + rsi
0x1323 52 eax = eax + [rdx + 0xc].d
0x1326 53 eax = eax * 0x3c
0x1329 54 eax = eax * 0x3c
0x132c 55 ecx = ecx + eax
0x132e 56 rax = sx.q([rbp - 0x10 {var_18}].d)
0x1332 57 [rbp + (rax << 2) - 0x1910].d = ecx
0x1339 58 eax = [rbp - 0x10 {var_18}].d
0x133c 59 eax = eax + 1
0x133f 60 [rbp - 0x10 {var_18}].d = eax
0x1342 61 goto 11 @ 0x1283
0x11bd 62 rcx = sx.q([rbp - 8 {var_10}].d)
0x11c1 63 rax = rbp - 0x970 {var_978}
0x11c8 64 rcx = rcx * 0x18
0x11cc 65 rax = rax + rcx
0x11d2 66 if ([rax].d != 0) then 83 @ 0x1269 else 84 @ 0x11d8
0x1184 67 rax = sx.q([rbp - 8 {var_10}].d)
0x1188 68 rsi = rbp - 0x970 {var_978}
0x118f 69 rax = rax * 0x18
0x1193 70 rsi = rsi + rax
0x1196 71 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x119a 72 rax = rax << 2
0x119e 73 rsi = rsi + rax
0x11a1 74 rdi = 0x2004 {"%d"}
0x11a8 75 al = 0
0x11aa 76 call(0x1040)
0x11af 77 eax = [rbp - 0xc {var_14_1}].d
0x11b2 78 eax = eax + 1
0x11b5 79 [rbp - 0xc {var_14_1}].d = eax
0x11b8 80 goto 13 @ 0x117e
0x134e 81 eax = [rbp - 0x10 {var_18_1}].d
0x1354 82 if (eax s>= [rbp - 8 {var_10}].d) then 89 @ 0x1381 else 93 @ 0x135a
0x1269 83 goto 102 @ 0x126e
0x11d8 84 rcx = sx.q([rbp - 8 {var_10}].d)
0x11dc 85 rax = rbp - 0x970 {var_978}
0x11e3 86 rcx = rcx * 0x18
0x11e7 87 rax = rax + rcx
0x11ee 88 if ([rax + 4].d != 0) then 83 @ 0x1269 else 106 @ 0x11f4
0x1381 89 eax = 0
0x1383 90 rsp = rsp + 0x1910
0x138a 91 rbp = pop
0x138b 92 <return> jump(pop)
0x135a 93 rax = sx.q([rbp - 0x10 {var_18_1}].d)
0x135e 94 esi = [rbp + (rax << 2) - 0x1910].d
0x1365 95 rdi = 0x2007 {"%d\n"}
0x136c 96 al = 0
0x136e 97 call(0x1030)
0x1373 98 eax = [rbp - 0x10 {var_18_1}].d
0x1376 99 eax = eax + 1
0x1379 100 [rbp - 0x10 {var_18_1}].d = eax
0x137c 101 goto 81 @ 0x134e
0x126e 102 eax = [rbp - 8 {var_10}].d
0x1271 103 eax = eax + 1
0x1274 104 [rbp - 8 {var_10}].d = eax
0x1277 105 goto 6 @ 0x116d
0x11f4 106 rcx = sx.q([rbp - 8 {var_10}].d)
0x11f8 107 rax = rbp - 0x970 {var_978}
0x11ff 108 rcx = rcx * 0x18
0x1203 109 rax = rax + rcx
0x120a 110 if ([rax + 8].d != 0) then 83 @ 0x1269 else 111 @ 0x1210
0x1210 111 rcx = sx.q([rbp - 8 {var_10}].d)
0x1214 112 rax = rbp - 0x970 {var_978}
0x121b 113 rcx = rcx * 0x18
0x121f 114 rax = rax + rcx
0x1226 115 if ([rax + 0xc].d != 0) then 83 @ 0x1269 else 116 @ 0x122c
0x122c 116 rcx = sx.q([rbp - 8 {var_10}].d)
0x1230 117 rax = rbp - 0x970 {var_978}
0x1237 118 rcx = rcx * 0x18
0x123b 119 rax = rax + rcx
0x1242 120 if ([rax + 0x10].d != 0) then 83 @ 0x1269 else 121 @ 0x1248
0x1248 121 rcx = sx.q([rbp - 8 {var_10}].d)
0x124c 122 rax = rbp - 0x970 {var_978}
0x1253 123 rcx = rcx * 0x18
0x1257 124 rax = rax + rcx
0x125e 125 if ([rax + 0x14].d != 0) then 83 @ 0x1269 else 126 @ 0x1264
0x1264 126 goto 7 @ 0x127c
int64_t _fini():
0x1390 0 rsp = rsp - 8
0x1394 1 rsp = rsp + 8
0x1398 2 <return> jump(pop)
| POJ_87 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
uint64_t strlen(char const* arg1):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
int32_t putchar(int32_t c):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"AWAVAUATSH"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(r15)
0x1162 1 push(r14)
0x1164 2 push(r13)
0x1166 3 push(r12)
0x1168 4 push(rbx)
0x1169 5 rsp = rsp - 0x1a0
0x1170 6 rdi = 0x2004 {"%d"}
0x1177 7 rsi = rsp + 0xc {var_1bc}
0x117c 8 eax = 0
0x117e 9 call(0x1040)
0x1188 10 if ([rsp + 0xc {var_1bc}].d s<= 0) then 11 @ 0x11c4 else 12 @ 0x118a
0x11c4 11 if ([rsp + 0xc {var_1bc}].d s<= 0) then 16 @ 0x12c9 else 24 @ 0x11ca
0x118a 12 r15 = rsp + 0x10 {var_1b8}
0x118f 13 r14 = 0x2007 {"%s"}
0x1196 14 ebx = 0
0x1198 15 goto 28 @ 0x11a0
0x12c9 16 eax = 0
0x12cb 17 rsp = rsp + 0x1a0
0x12d2 18 rbx = pop
0x12d3 19 r12 = pop
0x12d5 20 r13 = pop
0x12d7 21 r14 = pop
0x12d9 22 r15 = pop
0x12db 23 <return> jump(pop)
0x11ca 24 r13 = rsp + 0x10 {var_1b8}
0x11cf 25 r15d = 0xfffffffe {""}
0x11d5 26 r12d = 0
0x11d8 27 goto 36 @ 0x1200
0x11a0 28 rdi = r14
0x11a3 29 rsi = r15
0x11a6 30 eax = 0
0x11a8 31 call(0x1040)
0x11ad 32 rbx = rbx + 1
0x11b1 33 rax = sx.q([rsp + 0xc {var_1bc}].d)
0x11b6 34 r15 = r15 + 0x14
0x11bd 35 if (rbx s< rax) then 28 @ 0x11a0 else 11 @ 0x11c4
0x1200 36 rax = r12 + (r12 << 2)
0x1204 37 r14 = rsp + (rax << 2)
0x1208 38 r14 = r14 + 0x10
0x120c 39 rdi = r14
0x120f 40 call(0x1030)
0x1214 41 ecx = (rax - 1).d
0x1217 42 rcx = sx.q(ecx)
0x121a 43 cl = [rcx + r14].b
0x1221 44 if (cl == 0x72) then 45 @ 0x1263 else 46 @ 0x1226
0x1263 45 if (eax s< 3) then 47 @ 0x11e0 else 53 @ 0x1269
0x1226 46 if (cl != 0x79) then 56 @ 0x1293 else 57 @ 0x122b
0x11e0 47 edi = 0xa {""}
0x11e5 48 call(0x1050)
0x11ea 49 r12 = r12 + 1
0x11ee 50 rax = sx.q([rsp + 0xc {var_1bc}].d)
0x11f3 51 r13 = r13 + 0x14
0x11fa 52 if (r12 s>= rax) then 16 @ 0x12c9 else 36 @ 0x1200
0x1269 53 r14d = (rax + r15).d
0x126d 54 ebx = 0
0x126f 55 goto 58 @ 0x1270
0x1293 56 if (eax s< 4) then 47 @ 0x11e0 else 62 @ 0x1299
0x122b 57 if (eax s< 3) then 47 @ 0x11e0 else 66 @ 0x122d
0x1270 58 edi = sx.d([r13 + rbx].b)
0x1276 59 call(0x1050)
0x127b 60 rbx = rbx + 1
0x1282 61 if (r14 != rbx) then 58 @ 0x1270 else 69 @ 0x1284
0x1299 62 r14d = (r15 + rax).d
0x129d 63 r14d = r14d - 1
0x12a1 64 ebx = 0
0x12ad 65 goto 70 @ 0x12b0
0x122d 66 r14d = (rax + r15).d
0x1231 67 ebx = 0
0x123d 68 goto 74 @ 0x1240
0x1284 69 goto 47 @ 0x11e0
0x12b0 70 edi = sx.d([r13 + rbx].b)
0x12b6 71 call(0x1050)
0x12bb 72 rbx = rbx + 1
0x12c2 73 if (r14 != rbx) then 70 @ 0x12b0 else 78 @ 0x12c4
0x1240 74 edi = sx.d([r13 + rbx].b)
0x1246 75 call(0x1050)
0x124b 76 rbx = rbx + 1
0x1252 77 if (r14 != rbx) then 74 @ 0x1240 else 79 @ 0x1254
0x12c4 78 goto 47 @ 0x11e0
0x1254 79 goto 47 @ 0x11e0
int64_t _fini():
0x12e0 0 rsp = rsp - 8
0x12e4 1 rsp = rsp + 8
0x12e8 2 <return> jump(pop)
| POJ_57 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UAWAVAUATSH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 push(r15)
0x1153 2 push(r14)
0x1155 3 push(r13)
0x1157 4 push(r12)
0x1159 5 push(rbx)
0x115a 6 rsp = rsp - 0x186b8
0x1161 7 rdi = 0x200a {"%d"}
0x1168 8 rsi = rsp + 8 {var_186e0}
0x116d 9 eax = 0
0x116f 10 call(0x1040)
0x1174 11 edx = 0
0x1176 12 cond:0 = [rsp + 8 {var_186e0}].d s<= 0
0x117b 13 r15d = 0
0x1181 14 r12d = 0
0x1187 15 esi = 0
0x118c 16 r14d = 0
0x1192 17 ecx = 0
0x1197 18 if (cond:0) then 19 @ 0x1282 else 43 @ 0x119d
0x1282 19 r13 = 0x200d {"%d %d\n"}
0x1289 20 rdi = r13
0x128c 21 eax = 0
0x128e 22 ebx = ecx
0x1290 23 call(0x1030)
0x1295 24 rdi = r13
0x1298 25 esi = r14d
0x129b 26 edx = r15d
0x129e 27 eax = 0
0x12a0 28 call(0x1030)
0x12a5 29 rdi = r13
0x12a8 30 esi = ebx
0x12aa 31 edx = r12d
0x12ad 32 eax = 0
0x12af 33 call(0x1030)
0x12b4 34 eax = 0
0x12b6 35 rsp = rsp + 0x186b8
0x12bd 36 rbx = pop
0x12be 37 r12 = pop
0x12c0 38 r13 = pop
0x12c2 39 r14 = pop
0x12c4 40 r15 = pop
0x12c6 41 rbp = pop
0x12c7 42 <return> jump(pop)
0x119d 43 r13d = 0
0x11a0 44 ecx = 0
0x11a2 45 r14d = 0
0x11a5 46 ebp = 0
0x11a7 47 r12d = 0
0x11aa 48 r15d = 0
0x11ad 49 ebx = 0
0x11af 50 goto 51 @ 0x11e0
0x11e0 51 [rsp + 0xc {var_186dc_1}].d = ecx
0x11e4 52 r13d = r13d + 1
0x11e8 53 rdi = 0x2004 {"%s %d %d"}
0x11ef 54 rsi = rsp + 0x10 {var_186d8}
0x11f4 55 rdx = rsp + 0x186b0 {var_38}
0x11fc 56 rcx = rsp + 0x186b4 {var_34}
0x1204 57 eax = 0
0x1206 58 call(0x1040)
0x120b 59 eax = [rsp + 0x186b4 {var_34}].d
0x1212 60 eax = eax + [rsp + 0x186b0 {var_38}].d
0x1219 61 cond:1 = eax != ebx
0x121b 62 if (eax s> ebx) then 63 @ 0x11c0 else 66 @ 0x121d
0x11c0 63 edx = eax
0x11c2 64 esi = r13d
0x11c2 65 goto 67 @ 0x11c5
0x121d 66 if (cond:1) then 74 @ 0x1230 else 77 @ 0x121f
0x11c5 67 ecx = r14d
0x11c8 68 r14d = ebp
0x11cb 69 r12d = r15d
0x11ce 70 r15d = ebx
0x11d1 71 ebp = esi
0x11d3 72 ebx = edx
0x11da 73 if (r13d s>= [rsp + 8 {var_186e0}].d) then 19 @ 0x1282 else 51 @ 0x11e0
0x1230 74 cond:2 = eax != r15d
0x1230 75 cond:3 = eax s< r15d
0x1233 76 if (eax s<= r15d) then 81 @ 0x1240 else 82 @ 0x1235
0x121f 77 edx = ebx
0x1221 78 esi = ebp
0x1223 79 ebp = r13d
0x1226 80 goto 67 @ 0x11c5
0x1240 81 if (cond:2) then 87 @ 0x1254 else 91 @ 0x1242
0x1235 82 edx = ebx
0x1237 83 ebx = eax
0x1239 84 esi = ebp
0x123b 85 ebp = r14d
0x123e 86 goto 67 @ 0x11c5
0x1254 87 sil = cond:3
0x125b 88 dl = eax s> r12d
0x125e 89 ecx = r13d
0x1264 90 if ((sil & dl) != 0) then 97 @ 0x126d else 104 @ 0x1266
0x1242 91 edx = ebx
0x1244 92 ebx = r15d
0x1247 93 esi = ebp
0x1249 94 ebp = r14d
0x124c 95 r14d = r13d
0x124f 96 goto 67 @ 0x11c5
0x126d 97 edx = ebx
0x126f 98 ebx = r15d
0x1272 99 r15d = eax
0x1275 100 esi = ebp
0x1277 101 ebp = r14d
0x127a 102 r14d = ecx
0x127d 103 goto 67 @ 0x11c5
0x1266 104 eax = r12d
0x1269 105 ecx = [rsp + 0xc {var_186dc_1}].d
0x1269 106 goto 97 @ 0x126d
int64_t _fini():
0x12cc 0 rsp = rsp - 8
0x12d0 1 rsp = rsp + 8
0x12d4 2 <return> jump(pop)
| POJ_14 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int64_t memset(void* arg1, int32_t arg2, uint64_t arg3):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
int32_t puts(char const* str):
0x1060 0 <return> tailcall([0x4030].q)
void __cxa_finalize(void* d):
0x1070 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1084 0 ebp = 0
0x1086 1 r9 = rdx
0x1089 2 rsi = pop
0x108a 3 rdx = rsp {arg_8}
0x108d 4 rsp = rsp & 0xfffffffffffffff0
0x1091 5 push(rax)
0x1092 6 push(rsp)
0x1093 7 r8d = 0
0x1096 8 ecx = 0
0x1098 9 rdi = 0x1170 {"AWAVSH
"}
0x109f 10 call([0x3ff8].q)
0x109f 11 noreturn
void deregister_tm_clones():
0x10b0 0 rdi = 0x4048 {""}
0x10b7 1 rax = 0x4048 {""}
0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3
0x10d8 3 <return> jump(pop)
0x10c3 4 rax = [0x3fd8].q
0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf
0x10cf 6 <return> tailcall(rax)
void register_tm_clones():
0x10e0 0 rdi = 0x4048 {""}
0x10e7 1 rsi = 0x4048 {""}
0x10ee 2 rsi = rsi - rdi
0x10f1 3 rax = rsi
0x10f4 4 rsi = rsi u>> 0x3f
0x10f8 5 rax = rax s>> 3
0x10fc 6 rsi = rsi + rax
0x10ff 7 rsi = rsi s>> 1
0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104
0x1118 9 <return> jump(pop)
0x1104 10 rax = [0x3ff0].q
0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110
0x1110 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d
0x1158 1 <return> jump(pop)
0x112d 2 push(rbp)
0x112e 3 cond:0 = [0x3fe0].q == 0
0x1136 4 rbp = rsp {__saved_rbp}
0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b
0x1147 6 call(0x10b0)
0x114c 7 [0x4048].b = 1
0x1153 8 rbp = pop
0x1154 9 <return> jump(pop)
0x113b 10 rdi = [0x4040].q
0x1142 11 call(0x1070)
0x1142 12 goto 6 @ 0x1147
int64_t frame_dummy():
0x1164 0 <return> tailcall(0x10e0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1170 0 push(r15)
0x1172 1 push(r14)
0x1174 2 push(rbx)
0x1175 3 rsp = rsp - 0xdf0
0x117c 4 rdi = 0x2004 {"%s"}
0x1183 5 r14d = 0
0x1186 6 rsi = rsp + 0x40 {var_dc8}
0x118b 7 eax = 0
0x118d 8 call(0x1050)
0x1192 9 rdi = rsp + 0x170 {var_c98}
0x119a 10 edx = 0xc80 {""}
0x119f 11 esi = 0
0x11a1 12 call(0x1040)
0x11a6 13 cl = [rsp + 0x40 {var_dc8}].b
0x11ac 14 if (cl == 0) then 15 @ 0x11f5 else 16 @ 0x11ae
0x11f5 15 if (r14d s< 2) then 19 @ 0x1252 else 22 @ 0x11f7
0x11ae 16 rax = rsp + 0x41 {var_dc7}
0x11b3 17 r14d = 0
0x11b6 18 goto 25 @ 0x11cb
0x1252 19 temp0.d = r14d
0x1252 20 cond:0 = temp0.d s<= 0
0x1255 21 if (temp0.d == 0) then 29 @ 0x12a0 else 32 @ 0x1257
0x11f7 22 eax = (r14 - 1).d
0x11fb 23 edi = 1
0x1200 24 goto 33 @ 0x121b
0x11cb 25 edx = ecx
0x11cd 26 dl = dl & 0xdf
0x11d0 27 dl = dl - 0x41
0x11d6 28 if (dl u> 0x19) then 35 @ 0x11c0 else 38 @ 0x11d8
0x12a0 29 rdi = 0x200e {"No"}
0x12a7 30 call(0x1060)
0x12a7 31 goto 44 @ 0x12ac
0x1257 32 if (cond:0) then 44 @ 0x12ac else 50 @ 0x1259
0x121b 33 eax = eax
0x1220 34 if (r14d s<= edi) then 54 @ 0x1210 else 57 @ 0x1222
0x11c0 35 ecx = zx.d([rax].b)
0x11c3 36 rax = rax + 1
0x11c9 37 if (cl == 0) then 15 @ 0x11f5 else 25 @ 0x11cb
0x11d8 38 r14 = sx.q(r14d)
0x11db 39 [rsp + r14].b = cl
0x11df 40 rcx = sx.q(cl)
0x11e3 41 [rsp + (rcx << 2) + 0x170].d = [rsp + (rcx << 2) + 0x170].d + 1
0x11eb 42 r14d = r14d + 1
0x11ef 43 goto 35 @ 0x11c0
0x12ac 44 eax = 0
0x12ae 45 rsp = rsp + 0xdf0
0x12b5 46 rbx = pop
0x12b6 47 r14 = pop
0x12b8 48 r15 = pop
0x12ba 49 <return> jump(pop)
0x1259 50 r15d = r14d
0x125c 51 r14 = 0x2007 {"%c=%d\n"}
0x1263 52 ebx = 0
0x1265 53 goto 59 @ 0x1292
0x1210 54 edi = edi + 1
0x1213 55 eax = eax - 1
0x1219 56 if (edi == r14d) then 19 @ 0x1252 else 33 @ 0x121b
0x1222 57 edx = 0
0x1224 58 goto 60 @ 0x1238
0x1292 59 if (rbx == 0) then 64 @ 0x1270 else 70 @ 0x1294
0x1238 60 ebx = zx.d([rsp + rdx].b)
0x123c 61 ecx = zx.d([rsp + rdx + 1].b)
0x1241 62 rsi = rdx + 1
0x1247 63 if (bl s<= cl) then 72 @ 0x1230 else 74 @ 0x1249
0x1270 64 rsi = sx.q([rsp + rbx].b)
0x1275 65 edx = [rsp + (rsi << 2) + 0x170].d
0x127c 66 rdi = r14
0x127f 67 eax = 0
0x1281 68 call(0x1030)
0x1281 69 goto 77 @ 0x1286
0x1294 70 eax = zx.d([rsp + rbx - 1].b)
0x129c 71 if (al != [rsp + rbx].b) then 64 @ 0x1270 else 79 @ 0x129e
0x1230 72 rdx = rsi
0x1236 73 if (rax == rsi) then 54 @ 0x1210 else 60 @ 0x1238
0x1249 74 [rsp + rdx + 1].b = bl
0x124d 75 [rsp + rdx].b = cl
0x1250 76 goto 72 @ 0x1230
0x1286 77 rbx = rbx + 1
0x128d 78 if (r15 == rbx) then 44 @ 0x12ac else 59 @ 0x1292
0x129e 79 goto 77 @ 0x1286
int64_t _fini():
0x12c0 0 rsp = rsp - 8
0x12c4 1 rsp = rsp + 8
0x12c8 2 <return> jump(pop)
| POJ_100 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
uint64_t strlen(char const* arg1):
0x1040 0 <return> tailcall([0x4020].q)
char* gets(char* buf):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UHH@'"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 rbp = rsp {__saved_rbp}
0x1164 2 rsp = rsp - 0x2740
0x116b 3 [rbp - 4 {var_c}].d = 0
0x1172 4 [rbp - 0x2724 {var_272c}].d = 0
0x117c 5 [rbp - 0x2730 {var_2738}].d = 0
0x1186 6 [rbp - 0x2734 {var_273c}].d = 0
0x1190 7 rdi = rbp - 0x2720 {var_2728}
0x1197 8 al = 0
0x1199 9 call(0x1050)
0x119e 10 rdi = rbp - 0x2720 {var_2728}
0x11a5 11 call(0x1040)
0x11aa 12 [rbp - 0x272c {var_2734}].d = eax
0x11b0 13 rax = sx.q([rbp - 0x272c {var_2734}].d)
0x11b7 14 [rbp + rax - 0x2720].b = 0x20 {"@"}
0x11bf 15 [rbp - 0x2728 {var_2730}].d = 0
0x11bf 16 goto 17 @ 0x11c9
0x11c9 17 eax = [rbp - 0x2728 {var_2730}].d
0x11d5 18 if (eax s> [rbp - 0x272c {var_2734}].d) then 19 @ 0x127c else 23 @ 0x11db
0x127c 19 eax = [rbp - 0x2728 {var_2730}].d
0x1282 20 eax = eax + 1
0x1285 21 [rbp - 0x2728 {var_2730_1}].d = eax
0x1285 22 goto 26 @ 0x128b
0x11db 23 rax = sx.q([rbp - 0x2728 {var_2730}].d)
0x11e2 24 eax = sx.d([rbp + rax - 0x2720].b)
0x11ed 25 if (eax == 0x20) then 28 @ 0x1207 else 31 @ 0x11f3
0x128b 26 eax = [rbp - 0x2728 {var_2730_1}].d
0x1297 27 if (eax s> [rbp - 0x272c {var_2734}].d) then 35 @ 0x1334 else 39 @ 0x129d
0x1207 28 rax = sx.q([rbp - 0x2728 {var_2730}].d)
0x120e 29 eax = sx.d([rbp + rax - 0x2720].b)
0x1219 30 if (eax != 0x20) then 42 @ 0x125e else 43 @ 0x121f
0x11f3 31 eax = [rbp - 0x2724 {var_272c}].d
0x11f9 32 eax = eax + 1
0x11fc 33 [rbp - 0x2724 {var_272c}].d = eax
0x1202 34 goto 48 @ 0x1263
0x1334 35 eax = 0
0x1336 36 rsp = rsp + 0x2740
0x133d 37 rbp = pop
0x133e 38 <return> jump(pop)
0x129d 39 rax = sx.q([rbp - 0x2728 {var_2730_1}].d)
0x12a4 40 eax = sx.d([rbp + rax - 0x2720].b)
0x12af 41 if (eax == 0x20) then 49 @ 0x12c9 else 52 @ 0x12b5
0x125e 42 goto 48 @ 0x1263
0x121f 43 eax = [rbp - 0x2728 {var_2730}].d
0x1225 44 eax = eax - 1
0x1228 45 rax = sx.q(eax)
0x122a 46 eax = sx.d([rbp + rax - 0x2720].b)
0x1235 47 if (eax == 0x20) then 42 @ 0x125e else 56 @ 0x123b
0x1263 48 goto 62 @ 0x1268
0x12c9 49 rax = sx.q([rbp - 0x2728 {var_2730_1}].d)
0x12d0 50 eax = sx.d([rbp + rax - 0x2720].b)
0x12db 51 if (eax != 0x20) then 66 @ 0x131b else 67 @ 0x12e1
0x12b5 52 eax = [rbp - 0x2724 {var_272c}].d
0x12bb 53 eax = eax + 1
0x12be 54 [rbp - 0x2724 {var_272c}].d = eax
0x12c4 55 goto 72 @ 0x1320
0x123b 56 esi = [rbp - 0x2724 {var_272c}].d
0x1241 57 rdi = 0x2005 {"%d"}
0x1248 58 al = 0
0x124a 59 call(0x1030)
0x124f 60 [rbp - 0x2724 {var_272c}].d = 0
0x1259 61 goto 19 @ 0x127c
0x1268 62 eax = [rbp - 0x2728 {var_2730}].d
0x126e 63 eax = eax + 1
0x1271 64 [rbp - 0x2728 {var_2730}].d = eax
0x1277 65 goto 17 @ 0x11c9
0x131b 66 goto 72 @ 0x1320
0x12e1 67 eax = [rbp - 0x2728 {var_2730_1}].d
0x12e7 68 eax = eax - 1
0x12ea 69 rax = sx.q(eax)
0x12ec 70 eax = sx.d([rbp + rax - 0x2720].b)
0x12f7 71 if (eax == 0x20) then 66 @ 0x131b else 76 @ 0x12fd
0x1320 72 eax = [rbp - 0x2728 {var_2730_1}].d
0x1326 73 eax = eax + 1
0x1329 74 [rbp - 0x2728 {var_2730_1}].d = eax
0x132f 75 goto 26 @ 0x128b
0x12fd 76 esi = [rbp - 0x2724 {var_272c}].d
0x1303 77 rdi = 0x2004 {",%d"}
0x130a 78 al = 0
0x130c 79 call(0x1030)
0x1311 80 [rbp - 0x2724 {var_272c}].d = 0
0x1311 81 goto 66 @ 0x131b
int64_t _fini():
0x1344 0 rsp = rsp - 8
0x1348 1 rsp = rsp + 8
0x134c 2 <return> jump(pop)
| POJ_28 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void qsort(void* b, uint64_t n, uint64_t s, __compar_fn_t cmp):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1170 {"UAWAVAUATSH."}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
uint64_t cmp(int32_t* arg1, int32_t* arg2):
0x1160 0 eax = [rsi].d
0x1162 1 eax = eax - [rdi].d
0x1164 2 <return> jump(pop)
int32_t main(int32_t argc, char** argv, char** envp):
0x1170 0 push(rbp)
0x1171 1 push(r15)
0x1173 2 push(r14)
0x1175 3 push(r13)
0x1177 4 push(r12)
0x1179 5 push(rbx)
0x117a 6 rsp = rsp - 0x2ef8
0x1181 7 rdi = 0x2004 {"%d"}
0x1188 8 rsi = rsp + 0xc {var_2f1c}
0x118d 9 eax = 0
0x118f 10 call(0x1040)
0x1194 11 esi = [rsp + 0xc {var_2f1c}].d
0x119a 12 if (esi == 0) then 13 @ 0x13b7 else 22 @ 0x11a0
0x13b7 13 eax = 0
0x13b9 14 rsp = rsp + 0x2ef8
0x13c0 15 rbx = pop
0x13c1 16 r12 = pop
0x13c3 17 r13 = pop
0x13c5 18 r14 = pop
0x13c7 19 r15 = pop
0x13c9 20 rbp = pop
0x13ca 21 <return> jump(pop)
0x11a0 22 r14 = rsp + 0xfb0 {var_1f78}
0x11a8 23 r13 = 0x2004 {"%d"}
0x11af 24 r12 = 0x1160 {"+f."}
0x11b6 25 r15d = 1
0x11bc 26 goto 27 @ 0x11f3
0x11f3 27 if (esi s<= 0) then 28 @ 0x124f else 42 @ 0x11f5
0x124f 28 ebp = 0
0x1251 29 edx = 4
0x1256 30 rdi = r14 {var_1f78}
0x1259 31 rcx = r12
0x125c 32 eax = 0
0x125e 33 call(0x1050)
0x1263 34 esi = [rsp + 0xc {var_2f1c}].d
0x1267 35 edx = 4
0x126c 36 rdi = rsp + 0x10 {var_2f18}
0x1271 37 rcx = r12
0x1274 38 eax = 0
0x1276 39 call(0x1050)
0x127b 40 r8d = [rsp + 0xc {var_2f1c}].d
0x1283 41 if (r8d s<= 0) then 45 @ 0x11c2 else 55 @ 0x1289
0x11f5 42 rbx = r14 {var_1f78}
0x11f8 43 ebp = 0
0x11fa 44 goto 60 @ 0x1200
0x11c2 45 esi = ebp * 0xc8
0x11c8 46 rdi = 0x2007 {"%d\n"}
0x11cf 47 eax = 0
0x11d1 48 call(0x1030)
0x11d6 49 rdi = r13
0x11d9 50 rsi = rsp + 0xc {var_2f1c}
0x11de 51 eax = 0
0x11e0 52 call(0x1040)
0x11e5 53 esi = [rsp + 0xc {var_2f1c}].d
0x11eb 54 if (esi == 0) then 13 @ 0x13b7 else 27 @ 0x11f3
0x1289 55 ecx = (r8 - 1).d
0x128d 56 edi = 0
0x128f 57 edx = ecx
0x1291 58 esi = 0
0x1293 59 goto 68 @ 0x12b3
0x1200 60 rdi = r13
0x1203 61 rsi = r14
0x1206 62 eax = 0
0x1208 63 call(0x1040)
0x120d 64 rbp = rbp + 1
0x1211 65 rsi = sx.q([rsp + 0xc {var_2f1c}].d)
0x1216 66 r14 = r14 + 4
0x121d 67 if (rbp s< rsi) then 60 @ 0x1200 else 72 @ 0x121f
0x12b3 68 rbp = sx.q(esi)
0x12b6 69 eax = [rsp + (rbp << 2) + 0xfb0].d
0x12bd 70 rbx = sx.q(edi)
0x12c4 71 if (eax s> [rsp + (rbx << 2) + 0x10].d) then 75 @ 0x12a0 else 80 @ 0x12c6
0x121f 72 cond:0 = esi s<= 0
0x1221 73 r14 = rbx {var_1f78}
0x1224 74 if (cond:0) then 28 @ 0x124f else 84 @ 0x1226
0x12a0 75 eax = edi
0x12a2 76 edi = edi + 1
0x12a5 77 esi = esi + 1
0x12a8 78 [rsp + (rbp << 2) + 0x1f50].d = eax
0x12b1 79 if (esi s> edx) then 87 @ 0x1306 else 68 @ 0x12b3
0x12c6 80 rbp = sx.q(edx)
0x12c9 81 eax = [rsp + (rbp << 2) + 0xfb0].d
0x12d0 82 rbx = sx.q(ecx)
0x12d7 83 if (eax s<= [rsp + (rbx << 2) + 0x10].d) then 88 @ 0x12f0 else 93 @ 0x12d9
0x1226 84 rbp = rsp + 0x10 {var_2f18}
0x122b 85 ebx = 0
0x122d 86 goto 98 @ 0x1230
0x1306 87 if (r8d s<= 0) then 106 @ 0x11c0 else 108 @ 0x1310
0x12f0 88 eax = edi
0x12f2 89 edi = edi + 1
0x12f5 90 edx = edx - 1
0x12f8 91 [rsp + (rbp << 2) + 0x1f50].d = eax
0x1301 92 if (esi s<= edx) then 68 @ 0x12b3 else 87 @ 0x1306
0x12d9 93 eax = ecx
0x12db 94 ecx = ecx - 1
0x12de 95 edx = edx - 1
0x12e1 96 [rsp + (rbp << 2) + 0x1f50].d = eax
0x12ea 97 if (esi s<= edx) then 68 @ 0x12b3 else 109 @ 0x12ec
0x1230 98 rdi = r13
0x1233 99 rsi = rbp
0x1236 100 eax = 0
0x1238 101 call(0x1040)
0x123d 102 rbx = rbx + 1
0x1241 103 rsi = sx.q([rsp + 0xc {var_2f1c}].d)
0x1246 104 rbp = rbp + 4
0x124d 105 if (rbx s< rsi) then 98 @ 0x1230 else 28 @ 0x124f
0x11c0 106 ebp = 0
0x11c0 107 goto 45 @ 0x11c2
0x1310 108 if (r8d != 1) then 110 @ 0x1318 else 115 @ 0x1312
0x12ec 109 goto 87 @ 0x1306
0x1318 110 edx = r8d
0x131b 111 edx = edx & 0xfffffffe
0x131e 112 ecx = 0
0x1320 113 esi = 0
0x132c 114 goto 118 @ 0x1330
0x1312 115 ecx = 0
0x1314 116 ebp = 0
0x1316 117 goto 128 @ 0x1388
0x1330 118 eax = [rsp + (rcx << 2) + 0xfb0].d
0x1337 119 edi = [rsp + (rcx << 2) + 0xfb4].d
0x133e 120 rbp = sx.q([rsp + (rcx << 2) + 0x1f54].d)
0x1346 121 ebp = [rsp + (rbp << 2) + 0x10].d
0x134a 122 ebx = 0
0x134e 123 bl = edi s< ebp
0x1351 124 ebx = neg.d(ebx)
0x1353 125 cond:1 = edi s> ebp
0x1355 126 rdi = sx.q([rsp + (rcx << 2) + 0x1f50].d)
0x135d 127 if (cond:1) then 129 else 131 @ 0x1361
0x1388 128 if ((r8b & 1) == 0) then 45 @ 0x11c2 else 136 @ 0x138e
0x135d 129 ebx = r15d
0x135d 130 goto 131 @ 0x1361
0x1361 131 edi = [rsp + (rdi << 2) + 0x10].d
0x1365 132 ebp = 0
0x1369 133 bpl = eax s< edi
0x136d 134 ebp = neg.d(ebp)
0x1371 135 if (eax s> edi) then 143 else 145 @ 0x1375
0x138e 136 eax = [rsp + (rcx << 2) + 0xfb0].d
0x1395 137 rcx = sx.q([rsp + (rcx << 2) + 0x1f50].d)
0x139d 138 ecx = [rsp + (rcx << 2) + 0x10].d
0x13a1 139 edx = 0
0x13a5 140 dl = eax s< ecx
0x13a8 141 edx = neg.d(edx)
0x13ac 142 if (eax s> ecx) then 150 else 152 @ 0x13b0
0x1371 143 ebp = r15d
0x1371 144 goto 145 @ 0x1375
0x1375 145 ebp = ebp + esi
0x1377 146 ebp = ebp + ebx
0x1379 147 rcx = rcx + 2
0x137d 148 esi = ebp
0x1382 149 if (rdx != rcx) then 118 @ 0x1330 else 128 @ 0x1388
0x13ac 150 edx = r15d
0x13ac 151 goto 152 @ 0x13b0
0x13b0 152 ebp = ebp + edx
0x13b2 153 goto 45 @ 0x11c2
int64_t _fini():
0x13d0 0 rsp = rsp - 8
0x13d4 1 rsp = rsp + 8
0x13d8 2 <return> jump(pop)
| POJ_92 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UHH@"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 rbp = rsp {__saved_rbp}
0x1154 2 rsp = rsp - 0x340
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 rdi = 0x2010 {"%d"}
0x1169 5 rsi = rbp - 8 {var_10}
0x116d 6 al = 0
0x116f 7 call(0x1040)
0x1174 8 [rbp - 0xc {var_14}].d = 0
0x1174 9 goto 10 @ 0x117b
0x117b 10 eax = [rbp - 0xc {var_14}].d
0x1181 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x11c2 else 14 @ 0x1187
0x11c2 12 [rbp - 0xc {var_14_1}].d = 1
0x11c2 13 goto 27 @ 0x11c9
0x1187 14 rdi = 0x2013 {"%lf %lf"}
0x118e 15 rsi = rbp - 0x18 {var_20}
0x1192 16 rdx = rbp - 0x20 {var_28}
0x1196 17 al = 0
0x1198 18 call(0x1040)
0x119d 19 xmm0 = zx.o([rbp - 0x20 {var_28}].q)
0x11a2 20 xmm0.q = xmm0.q f/ fconvert.t([rbp - 0x18 {var_20}].q)
0x11a7 21 rax = sx.q([rbp - 0xc {var_14}].d)
0x11ab 22 [rbp + (rax << 3) - 0x340].q = xmm0.q
0x11b4 23 eax = [rbp - 0xc {var_14}].d
0x11b7 24 eax = eax + 1
0x11ba 25 [rbp - 0xc {var_14}].d = eax
0x11bd 26 goto 10 @ 0x117b
0x11c9 27 eax = [rbp - 0xc {var_14_1}].d
0x11cf 28 if (eax s>= [rbp - 8 {var_10}].d) then 29 @ 0x126f else 33 @ 0x11d5
0x126f 29 eax = [rbp - 4 {var_c}].d
0x1272 30 rsp = rsp + 0x340
0x1279 31 rbp = pop
0x127a 32 <return> jump(pop)
0x11d5 33 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x11d9 34 xmm0 = zx.o([rbp + (rax << 3) - 0x340].q)
0x11e2 35 xmm0.q = xmm0.q f- fconvert.t([rbp - 0x340 {var_348}].q)
0x11ea 36 xmm1 = zx.o([0x2008].q)
0x11f2 37 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x11f2 38 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x11f2 39 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x11f2 40 flag:s = 0
0x11f2 41 flag:o = 0
0x11f2 42 flag:a = 0
0x11f6 43 if (flag:z || flag:c) then 44 @ 0x120f else 55 @ 0x11fc
0x120f 44 xmm0 = zx.o([rbp - 0x340 {var_348}].q)
0x1217 45 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x121b 46 xmm0.q = xmm0.q f- fconvert.t([rbp + (rax << 3) - 0x340].q)
0x1224 47 xmm1 = zx.o([0x2008].q)
0x122c 48 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x122c 49 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x122c 50 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x122c 51 flag:s = 0
0x122c 52 flag:o = 0
0x122c 53 flag:a = 0
0x1230 54 if (flag:z || flag:c) then 59 @ 0x1249 else 63 @ 0x1236
0x11fc 55 rdi = 0x201b {"better\n"}
0x1203 56 al = 0
0x1205 57 call(0x1030)
0x120a 58 goto 67 @ 0x125c
0x1249 59 rdi = 0x202a {"same\n"}
0x1250 60 al = 0
0x1252 61 call(0x1030)
0x1252 62 goto 68 @ 0x1257
0x1236 63 rdi = 0x2023 {"worse\n"}
0x123d 64 al = 0
0x123f 65 call(0x1030)
0x1244 66 goto 68 @ 0x1257
0x125c 67 goto 69 @ 0x1261
0x1257 68 goto 67 @ 0x125c
0x1261 69 eax = [rbp - 0xc {var_14_1}].d
0x1264 70 eax = eax + 1
0x1267 71 [rbp - 0xc {var_14_1}].d = eax
0x126a 72 goto 27 @ 0x11c9
int64_t _fini():
0x1280 0 rsp = rsp - 8
0x1284 1 rsp = rsp + 8
0x1288 2 <return> jump(pop)
| POJ_67 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
uint64_t strlen(char const* arg1):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
int32_t puts(char const* str):
0x1060 0 <return> tailcall([0x4030].q)
void __cxa_finalize(void* d):
0x1070 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1084 0 ebp = 0
0x1086 1 r9 = rdx
0x1089 2 rsi = pop
0x108a 3 rdx = rsp {arg_8}
0x108d 4 rsp = rsp & 0xfffffffffffffff0
0x1091 5 push(rax)
0x1092 6 push(rsp)
0x1093 7 r8d = 0
0x1096 8 ecx = 0
0x1098 9 rdi = 0x1170 {"UAWAVAUATSHJ"}
0x109f 10 call([0x3ff8].q)
0x109f 11 noreturn
void deregister_tm_clones():
0x10b0 0 rdi = 0x4048 {""}
0x10b7 1 rax = 0x4048 {""}
0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3
0x10d8 3 <return> jump(pop)
0x10c3 4 rax = [0x3fd8].q
0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf
0x10cf 6 <return> tailcall(rax)
void register_tm_clones():
0x10e0 0 rdi = 0x4048 {""}
0x10e7 1 rsi = 0x4048 {""}
0x10ee 2 rsi = rsi - rdi
0x10f1 3 rax = rsi
0x10f4 4 rsi = rsi u>> 0x3f
0x10f8 5 rax = rax s>> 3
0x10fc 6 rsi = rsi + rax
0x10ff 7 rsi = rsi s>> 1
0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104
0x1118 9 <return> jump(pop)
0x1104 10 rax = [0x3ff0].q
0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110
0x1110 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d
0x1158 1 <return> jump(pop)
0x112d 2 push(rbp)
0x112e 3 cond:0 = [0x3fe0].q == 0
0x1136 4 rbp = rsp {__saved_rbp}
0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b
0x1147 6 call(0x10b0)
0x114c 7 [0x4048].b = 1
0x1153 8 rbp = pop
0x1154 9 <return> jump(pop)
0x113b 10 rdi = [0x4040].q
0x1142 11 call(0x1070)
0x1142 12 goto 6 @ 0x1147
int64_t frame_dummy():
0x1164 0 <return> tailcall(0x10e0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1170 0 push(rbp)
0x1171 1 push(r15)
0x1173 2 push(r14)
0x1175 3 push(r13)
0x1177 4 push(r12)
0x1179 5 push(rbx)
0x117a 6 rsp = rsp - 0x24a88
0x1181 7 rdi = 0x2004 {"%d\n"}
0x1188 8 rsi = rsp + 0xc {var_24aac}
0x118d 9 eax = 0
0x118f 10 call(0x1050)
0x1199 11 if ([rsp + 0xc {var_24aac}].d s<= 0) then 12 @ 0x1361 else 21 @ 0x119f
0x1361 12 eax = 0
0x1363 13 rsp = rsp + 0x24a88
0x136a 14 rbx = pop
0x136b 15 r12 = pop
0x136d 16 r13 = pop
0x136f 17 r14 = pop
0x1371 18 r15 = pop
0x1373 19 rbp = pop
0x1374 20 <return> jump(pop)
0x119f 21 r15d = 1
0x11a5 22 r14 = 0x2008 {"%s"}
0x11ac 23 r13 = rsp + 0x90 {var_24a28}
0x11b4 24 r12 = 0x200b {"%c\n"}
0x11bb 25 ebp = 0xfffffffe {""}
0x11c0 26 goto 27 @ 0x11f7
0x11f7 27 rdi = r14
0x11fa 28 rsi = r13 {var_24a28}
0x11fd 29 eax = 0
0x11ff 30 call(0x1050)
0x1204 31 xmm0 = _mm_cmpeq_epi32(xmm0, xmm0)
0x1208 32 [rsp + 0x10 {var_24aa8}].o = xmm0
0x120e 33 [rsp + 0x20 {var_24a98_1}].o = xmm0
0x1214 34 [rsp + 0x30 {var_24a88_1}].o = xmm0
0x121a 35 [rsp + 0x40 {var_24a78_1}].o = xmm0
0x1220 36 [rsp + 0x50 {var_24a68_1}].o = xmm0
0x1226 37 [rsp + 0x60 {var_24a58_1}].o = xmm0
0x122c 38 [rsp + 0x70 {var_24a48_1}].o = xmm0
0x1232 39 [rsp + 0x80 {var_24a38_1}].q = -1
0x123e 40 [rsp + 0x10 {var_24aa8[0]}].d = 0xf4240 {""}
0x1246 41 rdi = r13 {var_24a28}
0x1249 42 call(0x1040)
0x1251 43 if (rax == 0) then 44 @ 0x1306 else 48 @ 0x125b
0x1306 44 esi = 0
0x1308 45 eax = 2
0x130d 46 ecx = 1
0x1312 47 goto 49 @ 0x1333
0x125b 48 if (rax != 1) then 51 @ 0x1290 else 55 @ 0x125d
0x1333 49 edx = [rsp + (rax << 2) + 0xc].d
0x1339 50 if (edx s< 0) then 57 @ 0x134a else 59 @ 0x133b
0x1290 51 rdx = rax
0x1293 52 rdx = rdx & 0xfffffffffffffffe
0x1297 53 ecx = 0
0x1299 54 goto 62 @ 0x12a0
0x125d 55 ecx = 0
0x125f 56 goto 66 @ 0x12e9
0x134a 57 edx = [rsp + (rax << 2) + 0x10].d
0x1350 58 if (edx s< 0) then 67 @ 0x1322 else 70 @ 0x1352
0x133b 59 rbx = sx.q(esi)
0x133e 60 edi = ecx
0x1344 61 if (edx s< [rsp + (rbx << 2) + 0x10].d) then 73 @ 0x1348 else 75 @ 0x1346
0x12a0 62 rsi = sx.q([rsp + rcx + 0x90].b)
0x12a9 63 cond:0 = [rsp + (rsi << 2) - 0x170].d == -1
0x12b1 64 edi = 0xfffffffe {""}
0x12b6 65 if (cond:0) then 77 else 79 @ 0x12b9
0x12e9 66 if ((al & 1) == 0) then 44 @ 0x1306 else 83 @ 0x12eb
0x1322 67 rax = rax + 2
0x1326 68 ecx = ecx + 2
0x132d 69 if (rax == 0x1c) then 85 @ 0x11d2 else 49 @ 0x1333
0x1352 70 rbx = sx.q(esi)
0x1355 71 edi = eax
0x135b 72 if (edx s< [rsp + (rbx << 2) + 0x10].d) then 86 @ 0x1320 else 88 @ 0x135d
0x1348 73 esi = edi
0x1348 74 goto 57 @ 0x134a
0x1346 75 edi = esi
0x1346 76 goto 73 @ 0x1348
0x12b6 77 edi = ecx
0x12b6 78 goto 79 @ 0x12b9
0x12b9 79 [rsp + (rsi << 2) - 0x170].d = edi
0x12c0 80 rsi = sx.q([rsp + rcx + 0x91].b)
0x12c9 81 edi = (rcx + 1).d
0x12d4 82 if ([rsp + (rsi << 2) - 0x170].d != -1) then 90 else 92 @ 0x12d7
0x12eb 83 rax = sx.q([rsp + rcx + 0x90].b)
0x12fc 84 if ([rsp + (rax << 2) - 0x170].d != -1) then 95 else 97 @ 0x12ff
0x11d2 85 if (esi == 0) then 99 @ 0x1270 else 102 @ 0x11d8
0x1320 86 esi = edi
0x1320 87 goto 67 @ 0x1322
0x135d 88 edi = esi
0x135f 89 goto 86 @ 0x1320
0x12d4 90 edi = ebp
0x12d4 91 goto 92 @ 0x12d7
0x12d7 92 [rsp + (rsi << 2) - 0x170].d = edi
0x12de 93 rcx = rcx + 2
0x12e5 94 if (rcx != rdx) then 62 @ 0x12a0 else 66 @ 0x12e9
0x12fc 95 ecx = ebp
0x12fc 96 goto 97 @ 0x12ff
0x12ff 97 [rsp + (rax << 2) - 0x170].d = ecx
0x12ff 98 goto 44 @ 0x1306
0x1270 99 rdi = 0x200f {"no"}
0x1277 100 call(0x1060)
0x127c 101 goto 107 @ 0x11e5
0x11d8 102 esi = esi + 0x60
0x11db 103 rdi = r12
0x11de 104 eax = 0
0x11e0 105 call(0x1030)
0x11e0 106 goto 107 @ 0x11e5
0x11e5 107 eax = (r15 + 1).d
0x11e9 108 cond:1 = r15d s>= [rsp + 0xc {var_24aac}].d
0x11ee 109 r15d = eax
0x11f1 110 if (cond:1) then 12 @ 0x1361 else 27 @ 0x11f7
int64_t _fini():
0x137c 0 rsp = rsp - 8
0x1380 1 rsp = rsp + 8
0x1384 2 <return> jump(pop)
| POJ_37 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
uint64_t strlen(char const* arg1):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
char* gets(char* buf):
0x1040 0 <return> tailcall([0x4020].q)
int32_t putchar(int32_t c):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"AWAVATSH"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(r15)
0x1162 1 push(r14)
0x1164 2 push(r12)
0x1166 3 push(rbx)
0x1167 4 rsp = rsp - 0x208
0x116e 5 rbx = rsp {var_228}
0x1171 6 rdi = rbx {var_228}
0x1174 7 eax = 0
0x1176 8 call(0x1040)
0x117b 9 [rsp + 0x70 {var_1b8}].d = 0
0x1183 10 rdi = rbx {var_228}
0x1186 11 call(0x1030)
0x118d 12 if (eax s<= 0) then 13 @ 0x11bb else 15 @ 0x118f
0x11bb 13 ecx = 1
0x11bb 14 goto 19 @ 0x11c0
0x118f 15 edx = eax
0x1191 16 ecx = 1
0x1196 17 esi = 0
0x1198 18 goto 22 @ 0x11ad
0x11c0 19 r14 = sx.q(ecx)
0x11c3 20 [rsp + (r14 << 2) + 0x70].d = eax
0x11cc 21 if (r14d s>= 2) then 23 @ 0x1227 else 27 @ 0x11ce
0x11ad 22 if ([rsp + rsi].b != 0x20) then 29 @ 0x11a0 else 31 @ 0x11af
0x1227 23 r12d = [rsp + (r14 << 2) + 0x6c].d
0x122c 24 eax = [rsp + (r14 << 2) + 0x70].d
0x1231 25 ecx = (r12 + 1).d
0x1238 26 if (ecx s>= eax) then 35 @ 0x1210 else 41 @ 0x123a
0x11ce 27 r14d = [rsp + 0x74 {var_1b4}].d
0x11d6 28 if (r14d s<= 0) then 47 @ 0x11f2 else 53 @ 0x11d8
0x11a0 29 rsi = rsi + 1
0x11a7 30 if (rdx == rsi) then 19 @ 0x11c0 else 22 @ 0x11ad
0x11af 31 rcx = sx.q(ecx)
0x11b2 32 [rsp + (rcx << 2) + 0x70].d = esi
0x11b6 33 ecx = ecx + 1
0x11b9 34 goto 29 @ 0x11a0
0x1210 35 rbx = r14 - 1
0x1214 36 edi = 0x20 {"@"}
0x1219 37 call(0x1050)
0x121e 38 cond:0 = r14 s<= 2
0x1222 39 r14 = rbx
0x1225 40 if (cond:0) then 27 @ 0x11ce else 23 @ 0x1227
0x123a 41 rcx = sx.q(ecx)
0x123d 42 r15 = rsp + rcx
0x1241 43 r12d = not.d(r12d)
0x1244 44 r12d = r12d + eax
0x1247 45 ebx = 0
0x1249 46 goto 55 @ 0x1250
0x11f2 47 rsp = rsp + 0x208
0x11f9 48 rbx = pop
0x11fa 49 r12 = pop
0x11fc 50 r14 = pop
0x11fe 51 r15 = pop
0x1200 52 <return> jump(pop)
0x11d8 53 ebx = 0
0x11da 54 goto 59 @ 0x11e0
0x1250 55 edi = sx.d([r15 + rbx].b)
0x1255 56 call(0x1050)
0x125a 57 rbx = rbx + 1
0x1261 58 if (r12d != ebx) then 55 @ 0x1250 else 63 @ 0x1263
0x11e0 59 edi = sx.d([rsp + rbx].b)
0x11e4 60 call(0x1050)
0x11e9 61 rbx = rbx + 1
0x11f0 62 if (r14 != rbx) then 59 @ 0x11e0 else 47 @ 0x11f2
0x1263 63 goto 35 @ 0x1210
int64_t _fini():
0x126c 0 rsp = rsp - 8
0x1270 1 rsp = rsp + 8
0x1274 2 <return> jump(pop)
| POJ_23 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
double sqrt(double x):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UAWAVAUATSH\t"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 push(r15)
0x1163 2 push(r14)
0x1165 3 push(r13)
0x1167 4 push(r12)
0x1169 5 push(rbx)
0x116a 6 rsp = rsp - 0x998
0x1171 7 rdi = 0x2060 {"%d\n"}
0x1178 8 rsi = rsp + 0xc {var_9bc}
0x117d 9 eax = 0
0x117f 10 call(0x1040)
0x1189 11 if ([rsp + 0xc {var_9bc}].d s<= 0) then 12 @ 0x11fa else 13 @ 0x118b
0x11fa 12 if ([rsp + 0xc {var_9bc}].d s<= 0) then 20 @ 0x1467 else 29 @ 0x1200
0x118b 13 rbx = rsp + 0x60 {var_968}
0x1190 14 r14 = 0x2064 {"%lf %lf %lf\n"}
0x1197 15 r15 = rsp + 0x10 {var_9b8}
0x119c 16 r12 = rsp + 0x18 {var_9b0}
0x11a1 17 r13 = rsp + 0x38 {var_990}
0x11a6 18 ebp = 0
0x11a8 19 goto 36 @ 0x11b0
0x1467 20 eax = 0
0x1469 21 rsp = rsp + 0x998
0x1470 22 rbx = pop
0x1471 23 r12 = pop
0x1473 24 r13 = pop
0x1475 25 r14 = pop
0x1477 26 r15 = pop
0x1479 27 rbp = pop
0x147a 28 <return> jump(pop)
0x1200 29 rbx = rsp + 0x60 {var_968}
0x1205 30 r13d = 0
0x1208 31 xmm3 = zx.o([0x2010].q)
0x1210 32 r14 = 0x2071 {"x1=x2=%.5f\n"}
0x1217 33 r12 = 0x208e {"x1=%.5f+%.5fi;x2=%.5f-%.5fi\n"}
0x121e 34 r15 = 0x207d {"x1=%.5f;x2=%.5f\n"}
0x1225 35 goto 52 @ 0x12b6
0x11b0 36 rdi = r14
0x11b3 37 rsi = r15 {var_9b8}
0x11b6 38 rdx = r12 {var_9b0}
0x11b9 39 rcx = r13 {var_990}
0x11bc 40 eax = 0
0x11be 41 call(0x1040)
0x11c3 42 xmm0 = zx.o([rsp + 0x10 {var_9b8}].q)
0x11c9 43 [rbx - 0x10].q = xmm0.q
0x11ce 44 xmm0 = zx.o([rsp + 0x18 {var_9b0}].q)
0x11d4 45 [rbx - 8].q = xmm0.q
0x11d9 46 xmm0 = zx.o([rsp + 0x38 {var_990}].q)
0x11df 47 [rbx].q = xmm0.q
0x11e3 48 rbp = rbp + 1
0x11e7 49 rax = sx.q([rsp + 0xc {var_9bc}].d)
0x11ec 50 rbx = rbx + 0x18
0x11f3 51 if (rbp s< rax) then 36 @ 0x11b0 else 12 @ 0x11fa
0x12b6 52 xmm0 = zx.o([rbx - 0x10].q)
0x12bb 53 [rsp + 0x10 {var_9b8}].q = xmm0.q
0x12c1 54 xmm5 = zx.o([rbx - 8].q)
0x12c6 55 [rsp + 0x18 {var_9b0}].q = xmm5.q
0x12cc 56 xmm1 = zx.o([rbx].q)
0x12d0 57 [rsp + 0x38 {var_990}].q = xmm1.q
0x12d6 58 xmm2 = xmm0
0x12da 59 xmm2.q = xmm2.q f* fconvert.t([0x2008].q)
0x12e2 60 xmm2.q = xmm2.q f* xmm1.q
0x12e6 61 xmm4 = xmm5
0x12ea 62 xmm4.q = xmm4.q f* xmm5.q
0x12ee 63 xmm4.q = xmm4.q f+ xmm2.q
0x12f2 64 xmm1 = xmm4
0x12f6 65 xmm1 = __andpd_xmmxuq_memxuq(xmm1, [0x2040].o)
0x12fe 66 flag:p = is_unordered.q(xmm3.q, xmm1.q)
0x12fe 67 flag:c = xmm3.q f< xmm1.q | is_unordered.q(xmm3.q, xmm1.q)
0x12fe 68 flag:z = xmm3.q f== xmm1.q | is_unordered.q(xmm3.q, xmm1.q)
0x12fe 69 flag:s = 0
0x12fe 70 flag:o = 0
0x12fe 71 flag:a = 0
0x1302 72 if (flag:z || flag:c) then 73 @ 0x1340 else 80 @ 0x1304
0x1340 73 flag:p = is_unordered.q(xmm4.q, xmm3.q)
0x1340 74 flag:c = xmm4.q f< xmm3.q | is_unordered.q(xmm4.q, xmm3.q)
0x1340 75 flag:z = xmm4.q f== xmm3.q | is_unordered.q(xmm4.q, xmm3.q)
0x1340 76 flag:s = 0
0x1340 77 flag:o = 0
0x1340 78 flag:a = 0
0x1344 79 if (flag:z || flag:c) then 90 @ 0x141b else 98 @ 0x134a
0x1304 80 xmm5.q = xmm5.q f* fconvert.t([0x2020].q)
0x130c 81 xmm5.q = xmm5.q f/ xmm0.q
0x1310 82 rdi = r14
0x1313 83 xmm0 = xmm5
0x1317 84 al = 1
0x1319 85 [rsp + 0x20 {var_9a8_2}].o = xmm4
0x131f 86 call(0x1030)
0x1324 87 xmm4 = [rsp + 0x20 {var_9a8_2}].o
0x132a 88 xmm3 = zx.o([0x2010].q)
0x1332 89 goto 90 @ 0x141b
0x141b 90 xmm0 = zx.o([0x2028].q)
0x1423 91 flag:p = is_unordered.q(xmm0.q, xmm4.q)
0x1423 92 flag:c = xmm0.q f< xmm4.q | is_unordered.q(xmm0.q, xmm4.q)
0x1423 93 flag:z = xmm0.q f== xmm4.q | is_unordered.q(xmm0.q, xmm4.q)
0x1423 94 flag:s = 0
0x1423 95 flag:o = 0
0x1423 96 flag:a = 0
0x1427 97 if (flag:z || flag:c) then 110 @ 0x12a0 else 114 @ 0x142d
0x134a 98 xmm3 = 0
0x134d 99 xmm3 = _mm_sqrt_sd(xmm4.q)
0x1351 100 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x1355 101 flag:p = is_unordered.q(xmm4.q, xmm0.q)
0x1355 102 flag:c = xmm4.q f< xmm0.q | is_unordered.q(xmm4.q, xmm0.q)
0x1355 103 flag:z = xmm4.q f== xmm0.q | is_unordered.q(xmm4.q, xmm0.q)
0x1355 104 flag:s = 0
0x1355 105 flag:o = 0
0x1355 106 flag:a = 0
0x1359 107 xmm2 = xmm3
0x135d 108 [rsp + 0x20 {var_9a8_3}].o = xmm4
0x1363 109 if (not(flag:c)) then 126 @ 0x1394 else 138 @ 0x1365
0x12a0 110 r13 = r13 + 1
0x12a4 111 rax = sx.q([rsp + 0xc {var_9bc}].d)
0x12a9 112 rbx = rbx + 0x18
0x12b0 113 if (r13 s>= rax) then 20 @ 0x1467 else 52 @ 0x12b6
0x142d 114 xmm5 = zx.o([rsp + 0x18 {var_9b0}].q)
0x1433 115 xmm5.q = xmm5.q f* fconvert.t([0x2020].q)
0x143b 116 xmm5.q = xmm5.q f/ fconvert.t([rsp + 0x10 {var_9b8}].q)
0x1441 117 xmm0 = zx.o([0x2030].q)
0x1449 118 flag:p = is_unordered.q(xmm0.q, xmm4.q)
0x1449 119 flag:c = xmm0.q f< xmm4.q | is_unordered.q(xmm0.q, xmm4.q)
0x1449 120 flag:z = xmm0.q f== xmm4.q | is_unordered.q(xmm0.q, xmm4.q)
0x1449 121 flag:s = 0
0x1449 122 flag:o = 0
0x1449 123 flag:a = 0
0x144d 124 xmm4 = __xorpd_xmmxuq_memxuq(xmm4, [0x2050].o)
0x1455 125 if (flag:c) then 148 @ 0x1230 else 155 @ 0x145b
0x1394 126 xmm2.q = xmm2.q f- xmm5.q
0x1398 127 xmm1 = zx.o([0x2018].q)
0x13a0 128 xmm2.q = xmm2.q f* xmm1.q
0x13a4 129 xmm2.q = xmm2.q f/ fconvert.t([rsp + 0x10 {var_9b8}].q)
0x13aa 130 xmm5 = zx.o([rsp + 0x18 {var_9b0}].q)
0x13b0 131 flag:p = is_unordered.q(xmm4.q, xmm0.q)
0x13b0 132 flag:c = xmm4.q f< xmm0.q | is_unordered.q(xmm4.q, xmm0.q)
0x13b0 133 flag:z = xmm4.q f== xmm0.q | is_unordered.q(xmm4.q, xmm0.q)
0x13b0 134 flag:s = 0
0x13b0 135 flag:o = 0
0x13b0 136 flag:a = 0
0x13b4 137 if (not(flag:c)) then 158 @ 0x13e5 else 170 @ 0x13b6
0x1365 138 xmm0 = xmm4
0x1369 139 [rsp + 0x30 {var_998_1}].q = xmm5.q
0x136f 140 [rsp + 0x40 {var_988}].q = xmm3.q
0x1375 141 call(0x1050)
0x137a 142 xmm3 = zx.o([rsp + 0x40 {var_988}].q)
0x1380 143 xmm5 = zx.o([rsp + 0x30 {var_998_1}].q)
0x1386 144 xmm4 = [rsp + 0x20 {var_9a8_3}].o
0x138c 145 xmm2 = xmm0
0x1390 146 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x1390 147 goto 126 @ 0x1394
0x1230 148 xmm0 = xmm4
0x1234 149 [rsp + 0x20 {var_9a8_1}].o = xmm5
0x123a 150 call(0x1050)
0x123f 151 xmm5 = [rsp + 0x20 {var_9a8_1}].o
0x1245 152 xmm3 = zx.o([0x2010].q)
0x124d 153 xmm1 = xmm0
0x124d 154 goto 179 @ 0x1251
0x145b 155 xmm1 = 0
0x145e 156 xmm1 = _mm_sqrt_sd(xmm4.q)
0x1462 157 goto 179 @ 0x1251
0x13e5 158 xmm5 = __xorpd_xmmxuq_memxuq(xmm5, [0x2050].o)
0x13ed 159 xmm5.q = xmm5.q f- xmm3.q
0x13f1 160 xmm5.q = xmm5.q f* xmm1.q
0x13f5 161 xmm5.q = xmm5.q f/ fconvert.t([rsp + 0x10 {var_9b8}].q)
0x13fb 162 rdi = r15
0x13fe 163 xmm0 = xmm2
0x1402 164 xmm1 = xmm5
0x1406 165 al = 2
0x1408 166 call(0x1030)
0x140d 167 xmm3 = zx.o([0x2010].q)
0x1415 168 xmm4 = [rsp + 0x20 {var_9a8_3}].o
0x1415 169 goto 90 @ 0x141b
0x13b6 170 xmm0 = [rsp + 0x20 {var_9a8_3}].o
0x13bc 171 [rsp + 0x30 {var_998_2}].q = xmm2.q
0x13c2 172 [rsp + 0x40 {var_988}].o = xmm5
0x13c8 173 call(0x1050)
0x13cd 174 xmm5 = [rsp + 0x40 {var_988}].o
0x13d3 175 xmm2 = zx.o([rsp + 0x30 {var_998_2}].q)
0x13d9 176 xmm1 = zx.o([0x2018].q)
0x13e1 177 xmm3 = xmm0
0x13e1 178 goto 158 @ 0x13e5
0x1251 179 xmm1.q = xmm1.q f* fconvert.t([0x2018].q)
0x1259 180 xmm1.q = xmm1.q f/ fconvert.t([rsp + 0x10 {var_9b8}].q)
0x125f 181 xmm0 = zx.o([rsp + 0x18 {var_9b0}].q)
0x1265 182 xmm2 = [0x2040].o
0x126d 183 xmm0 = _mm_and_pd(xmm0, xmm2)
0x1271 184 xmm0 = _mm_cmpeq_sd(xmm0.q, xmm3.q, 1)
0x1276 185 xmm2 = _mm_and_pd(xmm2, xmm0)
0x127a 186 xmm2 = _mm_and_pd(xmm2, xmm5)
0x127e 187 xmm0 = _mm_andnot_pd(xmm0, xmm5)
0x1282 188 xmm0 = _mm_or_pd(xmm0, xmm2)
0x1286 189 rdi = r12
0x1289 190 xmm2 = xmm0
0x128d 191 xmm3 = xmm1
0x1291 192 al = 4
0x1293 193 call(0x1030)
0x1298 194 xmm3 = zx.o([0x2010].q)
0x1298 195 goto 110 @ 0x12a0
int64_t _fini():
0x1480 0 rsp = rsp - 8
0x1484 1 rsp = rsp + 8
0x1488 2 <return> jump(pop)
| POJ_27 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"AWAVSHP"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(r15)
0x1152 1 push(r14)
0x1154 2 push(rbx)
0x1155 3 rsp = rsp - 0x650
0x115c 4 rdi = 0x2040 {"%d"}
0x1163 5 rsi = rsp + 4 {var_664}
0x1168 6 eax = 0
0x116a 7 call(0x1040)
0x116f 8 eax = [rsp + 4 {var_664}].d
0x1175 9 if (eax s<= 0) then 10 @ 0x11b1 else 11 @ 0x1177
0x11b1 10 if (eax s<= 0) then 15 @ 0x11d3 else 17 @ 0x11b3
0x1177 11 r15 = rsp + 0x10 {var_658}
0x117c 12 r14 = 0x2040 {"%d"}
0x1183 13 ebx = 0
0x118f 14 goto 21 @ 0x1190
0x11d3 15 xmm6 = _mm_xor_pd(xmm6, xmm6)
0x11d3 16 goto 29 @ 0x11d7
0x11b3 17 eax = eax
0x11b5 18 ecx = 0
0x11b7 19 edx = 0
0x11b9 20 goto 31 @ 0x11c0
0x1190 21 rdi = r14
0x1193 22 rsi = r15
0x1196 23 eax = 0
0x1198 24 call(0x1040)
0x119d 25 rbx = rbx + 1
0x11a1 26 rax = sx.q([rsp + 4 {var_664}].d)
0x11a6 27 r15 = r15 + 4
0x11ad 28 if (rbx s< rax) then 21 @ 0x1190 else 10 @ 0x11b1
0x11d7 29 ecx = [rsp + 4 {var_664}].d
0x11dd 30 if (ecx s<= 0) then 34 @ 0x1225 else 36 @ 0x11df
0x11c0 31 edx = edx + [rsp + (rcx << 2) + 0x10].d
0x11c4 32 rcx = rcx + 1
0x11cb 33 if (rax != rcx) then 31 @ 0x11c0 else 41 @ 0x11cd
0x1225 34 eax = ecx
0x1229 35 if (ecx s<= 0) then 43 @ 0x135d else 45 @ 0x122f
0x11df 36 [rsp + 8 {var_660_1}].q = xmm6.q
0x11e5 37 r15 = rsp + 0x1a0 {var_4c8}
0x11ed 38 r14 = 0x2040 {"%d"}
0x11f4 39 ebx = 0
0x11f6 40 goto 54 @ 0x1200
0x11cd 41 xmm6.q = float.d(edx)
0x11d1 42 goto 29 @ 0x11d7
0x135d 43 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x1363 44 if (ecx s<= 0) then 62 @ 0x1382 else 72 @ 0x1365
0x122f 45 edx = 0
0x1231 46 xmm0 = zx.o([0x2038].q)
0x1239 47 xmm1 = zx.o([0x2030].q)
0x1241 48 xmm2 = zx.o([0x2028].q)
0x1249 49 xmm3 = zx.o([0x2020].q)
0x1251 50 xmm4 = zx.o([0x2018].q)
0x1259 51 xmm5 = zx.o([0x2010].q)
0x1261 52 xmm8 = zx.o([0x2008].q)
0x126a 53 goto 74 @ 0x1293
0x1200 54 rdi = r14
0x1203 55 rsi = r15
0x1206 56 eax = 0
0x1208 57 call(0x1040)
0x120d 58 rbx = rbx + 1
0x1211 59 rcx = sx.q([rsp + 4 {var_664}].d)
0x1216 60 r15 = r15 + 4
0x121d 61 if (rbx s< rcx) then 54 @ 0x1200 else 76 @ 0x121f
0x1382 62 xmm0.q = xmm0.q f/ xmm6.q
0x1386 63 rdi = 0x2043 {"%.2lf"}
0x138d 64 al = 1
0x138f 65 call(0x1030)
0x1394 66 eax = 0
0x1396 67 rsp = rsp + 0x650
0x139d 68 rbx = pop
0x139e 69 r14 = pop
0x13a0 70 r15 = pop
0x13a2 71 <return> jump(pop)
0x1365 72 ecx = 0
0x1367 73 goto 78 @ 0x1370
0x1293 74 esi = [rsp + (rdx << 2) + 0x1a0].d
0x129d 75 if (esi s>= 0x5a) then 81 @ 0x1270 else 85 @ 0x12a2
0x121f 76 xmm6 = zx.o([rsp + 8 {var_660_1}].q)
0x121f 77 goto 34 @ 0x1225
0x1370 78 xmm0.q = xmm0.q f+ fconvert.t([rsp + (rcx << 3) + 0x330].q)
0x1379 79 rcx = rcx + 1
0x1380 80 if (rax != rcx) then 78 @ 0x1370 else 62 @ 0x1382
0x1270 81 xmm7 = 0
0x1273 82 xmm7.q = float.d([rsp + (rdx << 2) + 0x10].d)
0x1279 83 xmm7.q = xmm7.q f* xmm0.q
0x1279 84 goto 86 @ 0x127d
0x12a2 85 if (esi s< 0x55) then 89 @ 0x12c3 else 90 @ 0x12a4
0x127d 86 [rsp + (rdx << 3) + 0x330].q = xmm7.q
0x1286 87 rdx = rdx + 1
0x128d 88 if (rax == rdx) then 43 @ 0x135d else 74 @ 0x1293
0x12c3 89 if (esi s< 0x52) then 94 @ 0x12d7 else 95 @ 0x12c5
0x12a4 90 xmm7 = 0
0x12a7 91 xmm7.q = float.d([rsp + (rdx << 2) + 0x10].d)
0x12ad 92 xmm7.q = xmm7.q f* xmm1.q
0x12b1 93 goto 86 @ 0x127d
0x12d7 94 if (esi s< 0x4e) then 99 @ 0x12eb else 100 @ 0x12d9
0x12c5 95 xmm7 = 0
0x12c8 96 xmm7.q = float.d([rsp + (rdx << 2) + 0x10].d)
0x12ce 97 xmm7.q = xmm7.q f* xmm2.q
0x12d2 98 goto 86 @ 0x127d
0x12eb 99 if (esi s< 0x4b) then 104 @ 0x12ff else 105 @ 0x12ed
0x12d9 100 xmm7 = 0
0x12dc 101 xmm7.q = float.d([rsp + (rdx << 2) + 0x10].d)
0x12e2 102 xmm7.q = xmm7.q f* xmm3.q
0x12e6 103 goto 86 @ 0x127d
0x12ff 104 if (esi s< 0x48) then 109 @ 0x1316 else 110 @ 0x1301
0x12ed 105 xmm7 = 0
0x12f0 106 xmm7.q = float.d([rsp + (rdx << 2) + 0x10].d)
0x12f6 107 xmm7.q = xmm7.q f* xmm4.q
0x12fa 108 goto 86 @ 0x127d
0x1316 109 if (esi s< 0x44) then 114 @ 0x132d else 115 @ 0x1318
0x1301 110 xmm7 = 0
0x1304 111 xmm7.q = float.d([rsp + (rdx << 2) + 0x10].d)
0x130a 112 xmm7.q = xmm7.q f* xmm5.q
0x130e 113 goto 86 @ 0x127d
0x132d 114 if (esi s< 0x40) then 119 @ 0x1342 else 121 @ 0x132f
0x1318 115 xmm7 = 0
0x131b 116 xmm7.q = float.d([rsp + (rdx << 2) + 0x10].d)
0x1321 117 xmm7.q = xmm7.q f+ xmm7.q
0x1325 118 goto 86 @ 0x127d
0x1342 119 xmm7 = _mm_xor_pd(xmm7, xmm7)
0x1349 120 if (esi s< 0x3c) then 86 @ 0x127d else 125 @ 0x134f
0x132f 121 xmm7 = 0
0x1332 122 xmm7.q = float.d([rsp + (rdx << 2) + 0x10].d)
0x1338 123 xmm7.q = xmm7.q f* xmm8.q
0x133d 124 goto 86 @ 0x127d
0x134f 125 xmm7 = 0
0x1352 126 xmm7.q = float.d([rsp + (rdx << 2) + 0x10].d)
0x1358 127 goto 86 @ 0x127d
int64_t _fini():
0x13a8 0 rsp = rsp - 8
0x13ac 1 rsp = rsp + 8
0x13b0 2 <return> jump(pop)
| POJ_83 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int64_t memset(void* arg1, int32_t arg2, uint64_t arg3):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"AVSH"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(r14)
0x1162 1 push(rbx)
0x1163 2 rsp = rsp - 0x1a8
0x116a 3 rdi = rsp + 0x10 {var_1a8}
0x116f 4 ebx = 0
0x1171 5 edx = 0x190 {""}
0x1176 6 esi = 0
0x1178 7 call(0x1040)
0x117d 8 rdi = 0x2004 {"%d"}
0x1184 9 rsi = rsp + 0xc {var_1ac}
0x1189 10 eax = 0
0x118b 11 call(0x1050)
0x1190 12 [rsp + 0x19c {var_1c}].d = 1
0x119b 13 eax = [rsp + 0xc {var_1ac}].d
0x11a1 14 if (eax s> 0) then 15 @ 0x1207 else 92 @ 0x11a3
0x1207 15 xmm0 = [rsp + 0x190 {var_28}].o
0x1210 16 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x1214 17 [rsp + 0x190 {var_28}].o = xmm0
0x121d 18 xmm0 = [rsp + 0x180 {var_38}].o
0x1226 19 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x122a 20 [rsp + 0x180 {var_38}].o = xmm0
0x1233 21 xmm0 = [rsp + 0x170 {var_48}].o
0x123c 22 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x1240 23 [rsp + 0x170 {var_48}].o = xmm0
0x1249 24 xmm0 = [rsp + 0x160 {var_58}].o
0x1252 25 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x1256 26 [rsp + 0x160 {var_58}].o = xmm0
0x125f 27 xmm0 = [rsp + 0x150 {var_68}].o
0x1268 28 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x126c 29 [rsp + 0x150 {var_68}].o = xmm0
0x1275 30 xmm0 = [rsp + 0x140 {var_78}].o
0x127e 31 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x1282 32 [rsp + 0x140 {var_78}].o = xmm0
0x128b 33 xmm0 = [rsp + 0x100 {var_b8}].o
0x1294 34 xmm1 = [rsp + 0x110 {var_a8}].o
0x129d 35 xmm2 = [rsp + 0x120 {var_98}].o
0x12a6 36 xmm3 = [rsp + 0x130 {var_88}].o
0x12af 37 xmm3 = _mm_add_epi32(xmm3, xmm3)
0x12b3 38 [rsp + 0x130 {var_88}].o = xmm3
0x12bc 39 xmm2 = _mm_add_epi32(xmm2, xmm2)
0x12c0 40 [rsp + 0x120 {var_98}].o = xmm2
0x12c9 41 xmm1 = _mm_add_epi32(xmm1, xmm1)
0x12cd 42 [rsp + 0x110 {var_a8}].o = xmm1
0x12d6 43 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x12da 44 [rsp + 0x100 {var_b8}].o = xmm0
0x12e3 45 xmm0 = [rsp + 0xf0 {var_c8}].o
0x12ec 46 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x12f0 47 [rsp + 0xf0 {var_c8}].o = xmm0
0x12f9 48 xmm0 = [rsp + 0xe0 {var_d8}].o
0x1302 49 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x1306 50 [rsp + 0xe0 {var_d8}].o = xmm0
0x130f 51 xmm0 = [rsp + 0xd0 {var_e8}].o
0x1318 52 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x131c 53 [rsp + 0xd0 {var_e8}].o = xmm0
0x1325 54 xmm0 = [rsp + 0xc0 {var_f8}].o
0x132e 55 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x1332 56 [rsp + 0xc0 {var_f8}].o = xmm0
0x133b 57 xmm0 = [rsp + 0xb0 {var_108}].o
0x1344 58 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x1348 59 [rsp + 0xb0 {var_108}].o = xmm0
0x1351 60 xmm0 = [rsp + 0xa0 {var_118}].o
0x135a 61 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x135e 62 [rsp + 0xa0 {var_118}].o = xmm0
0x1367 63 xmm0 = [rsp + 0x90 {var_128}].o
0x1370 64 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x1374 65 [rsp + 0x90 {var_128}].o = xmm0
0x137d 66 xmm0 = [rsp + 0x80 {var_138}].o
0x1386 67 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x138a 68 [rsp + 0x80 {var_138}].o = xmm0
0x1393 69 xmm0 = [rsp + 0x70 {var_148}].o
0x1399 70 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x139d 71 [rsp + 0x70 {var_148}].o = xmm0
0x13a3 72 xmm0 = [rsp + 0x60 {var_158}].o
0x13a9 73 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x13ad 74 [rsp + 0x60 {var_158}].o = xmm0
0x13b3 75 xmm0 = [rsp + 0x50 {var_168}].o
0x13b9 76 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x13bd 77 [rsp + 0x50 {var_168}].o = xmm0
0x13c3 78 xmm0 = [rsp + 0x40 {var_178}].o
0x13c9 79 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x13cd 80 [rsp + 0x40 {var_178}].o = xmm0
0x13d3 81 xmm0 = [rsp + 0x30 {var_188}].o
0x13d9 82 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x13dd 83 [rsp + 0x30 {var_188}].o = xmm0
0x13e3 84 xmm0 = [rsp + 0x20 {var_198}].o
0x13e9 85 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x13ed 86 [rsp + 0x20 {var_198}].o = xmm0
0x13f3 87 xmm0 = [rsp + 0x10 {var_1a8}].o
0x13f9 88 xmm0 = _mm_add_epi32(xmm0, xmm0)
0x13fd 89 [rsp + 0x10 {var_1a8}].o = xmm0
0x1403 90 ecx = 0x63 {""}
0x1408 91 goto 94 @ 0x142c
0x11a3 92 eax = 4
0x11a8 93 goto 96 @ 0x11b4
0x142c 94 edx = [rsp + (rcx << 2) + 0x10].d
0x1433 95 if (edx s> 9) then 97 @ 0x1410 else 104 @ 0x1435
0x11b4 96 if ([rsp + (rax << 2)].d s> 0) then 108 @ 0x1446 else 110 @ 0x11bf
0x1410 97 edx = edx - 0xa
0x1413 98 [rsp + (rcx << 2) + 0x10].d = edx
0x1417 99 rdx = rcx - 1
0x141b 100 [rsp + (rcx << 2) + 0xc].d = [rsp + (rcx << 2) + 0xc].d + 1
0x1420 101 cond:0 = rcx == 0
0x1423 102 rcx = rdx
0x1426 103 if (cond:0) then 111 @ 0x1200 else 94 @ 0x142c
0x1435 104 rdx = rcx - 1
0x1439 105 cond:1 = rcx != 0
0x143c 106 rcx = rdx
0x143f 107 if (cond:1) then 94 @ 0x142c else 113 @ 0x1441
0x1446 108 rax = rax - 4
0x144d 109 if (eax u<= 0x63) then 114 @ 0x1465 else 117 @ 0x144f
0x11bf 110 if ([rsp + (rax << 2) + 4].d s> 0) then 118 @ 0x1451 else 120 @ 0x11ca
0x1200 111 ebx = ebx + 1
0x1205 112 if (ebx == eax) then 92 @ 0x11a3 else 15 @ 0x1207
0x1441 113 goto 111 @ 0x1200
0x1465 114 ebx = eax
0x1467 115 r14 = 0x2004 {"%d"}
0x146e 116 goto 121 @ 0x1470
0x144f 117 goto 127 @ 0x1488
0x1451 118 rax = rax - 3
0x1458 119 if (eax u<= 0x63) then 114 @ 0x1465 else 132 @ 0x145a
0x11ca 120 if ([rsp + (rax << 2) + 8].d s> 0) then 133 @ 0x145c else 135 @ 0x11d5
0x1470 121 esi = [rsp + (rbx << 2) + 0x10].d
0x1474 122 rdi = r14
0x1477 123 eax = 0
0x1479 124 call(0x1030)
0x147e 125 rbx = rbx + 1
0x1486 126 if (rbx != 0x64) then 121 @ 0x1470 else 127 @ 0x1488
0x1488 127 eax = 0
0x148a 128 rsp = rsp + 0x1a8
0x1491 129 rbx = pop
0x1492 130 r14 = pop
0x1494 131 <return> jump(pop)
0x145a 132 goto 127 @ 0x1488
0x145c 133 rax = rax - 2
0x145c 134 goto 136 @ 0x1463
0x11d5 135 if ([rsp + (rax << 2) + 0xc].d s> 0) then 137 @ 0x1495 else 139 @ 0x11e0
0x1463 136 if (eax u> 0x63) then 127 @ 0x1488 else 114 @ 0x1465
0x1495 137 rax = rax - 1
0x149c 138 if (eax u<= 0x63) then 114 @ 0x1465 else 140 @ 0x149e
0x11e0 139 if ([rsp + (rax << 2) + 0x10].d s> 0) then 136 @ 0x1463 else 141 @ 0x11e6
0x149e 140 goto 127 @ 0x1488
0x11e6 141 rax = rax + 5
0x11ee 142 if (rax != 0x68) then 96 @ 0x11b4 else 143 @ 0x11f0
0x11f0 143 goto 127 @ 0x1488
int64_t _fini():
0x14a4 0 rsp = rsp - 8
0x14a8 1 rsp = rsp + 8
0x14ac 2 <return> jump(pop)
| POJ_25 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UAWAVAUATSH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 push(r15)
0x1153 2 push(r14)
0x1155 3 push(r13)
0x1157 4 push(r12)
0x1159 5 push(rbx)
0x115a 6 rsp = rsp - 0x208
0x1161 7 rdi = 0x2004 {"%d"}
0x1168 8 rsi = rsp + 0xc {var_22c}
0x116d 9 eax = 0
0x116f 10 call(0x1040)
0x1174 11 [rsp + 8 {var_230}].d = 0
0x1181 12 if ([rsp + 0xc {var_22c}].d s<= 0) then 13 @ 0x126c else 22 @ 0x1187
0x126c 13 eax = 0
0x126e 14 rsp = rsp + 0x208
0x1275 15 rbx = pop
0x1276 16 r12 = pop
0x1278 17 r13 = pop
0x127a 18 r14 = pop
0x127c 19 r15 = pop
0x127e 20 rbp = pop
0x127f 21 <return> jump(pop)
0x1187 22 r13d = 1
0x118d 23 r12 = rsp + 0x14 {var_224}
0x1192 24 r15 = 0x2004 {"%d"}
0x1199 25 r14 = rsp + 8 {var_230}
0x119e 26 goto 27 @ 0x11bf
0x11bf 27 rdi = r15
0x11c2 28 rsi = r14 {var_230}
0x11c5 29 eax = 0
0x11c7 30 call(0x1040)
0x11cc 31 r8d = [rsp + 8 {var_230}].d
0x11d1 32 temp0.d = r8d
0x11d1 33 cond:0 = temp0.d s<= 0
0x11d4 34 if (temp0.d == 0) then 35 @ 0x11a0 else 37 @ 0x11d6
0x11a0 35 ecx = 0x3c {""}
0x11a0 36 goto 38 @ 0x11a5
0x11d6 37 if (cond:0) then 44 @ 0x11ff else 48 @ 0x11d8
0x11a5 38 [rsp + (r13 << 2) + 0x70].d = ecx
0x11aa 39 rcx = r13 + 1
0x11ae 40 rax = sx.q([rsp + 0xc {var_22c}].d)
0x11b3 41 cond:1 = r13 s>= rax
0x11b6 42 r13 = rcx
0x11b9 43 if (cond:1) then 51 @ 0x123f else 27 @ 0x11bf
0x11ff 44 ecx = 0
0x1201 45 edx = 1
0x1206 46 esi = 0
0x1208 47 goto 52 @ 0x1210
0x11d8 48 rbx = r12 {var_224}
0x11db 49 ebp = 0
0x11dd 50 goto 64 @ 0x11e0
0x123f 51 if (eax s<= 0) then 13 @ 0x126c else 72 @ 0x1241
0x1210 52 edi = edx
0x1216 53 bl = ecx != [rsp + (rdi << 2) + 0x10].d
0x121c 54 al = edx s> r8d
0x121f 55 al = al | bl
0x1221 56 edi = zx.d(al)
0x1224 57 al = al ^ 1
0x1226 58 eax = zx.d(al)
0x1229 59 esi = (rsi + (rax << 1)).d
0x122c 60 esi = esi + 1
0x122f 61 ecx = ecx + edi
0x1231 62 edx = edx + eax
0x1236 63 if (esi u< 0x3c) then 52 @ 0x1210 else 75 @ 0x1238
0x11e0 64 rdi = r15
0x11e3 65 rsi = rbx
0x11e6 66 eax = 0
0x11e8 67 call(0x1040)
0x11ed 68 r8 = sx.q([rsp + 8 {var_230}].d)
0x11f2 69 rbp = rbp + 1
0x11f6 70 rbx = rbx + 4
0x11fd 71 if (rbp s< r8) then 64 @ 0x11e0 else 44 @ 0x11ff
0x1241 72 rbx = 0x2007 {"%d\n"}
0x1248 73 ebp = 0
0x124a 74 goto 76 @ 0x1250
0x1238 75 goto 38 @ 0x11a5
0x1250 76 esi = [rsp + (rbp << 2) + 0x74].d
0x1254 77 rdi = rbx
0x1257 78 eax = 0
0x1259 79 call(0x1030)
0x125e 80 rax = sx.q([rsp + 0xc {var_22c}].d)
0x1263 81 rbp = rbp + 1
0x126a 82 if (rbp s< rax) then 76 @ 0x1250 else 13 @ 0x126c
int64_t _fini():
0x1284 0 rsp = rsp - 8
0x1288 1 rsp = rsp + 8
0x128c 2 <return> jump(pop)
| POJ_86 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t scanf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t puts(char const* str):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UAWAVAUATSHH="}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 push(r15)
0x1153 2 push(r14)
0x1155 3 push(r13)
0x1157 4 push(r12)
0x1159 5 push(rbx)
0x115a 6 rsp = rsp - 0x18
0x115e 7 rdi = 0x2012 {"%d"}
0x1165 8 rsi = rsp + 0x14 {var_34}
0x116a 9 eax = 0
0x116c 10 call(0x1030)
0x1171 11 rdi = 0x2010 {"%d%d"}
0x1178 12 rsi = rsp + 0xc {var_3c}
0x117d 13 rdx = rsp + 8 {var_40}
0x1182 14 eax = 0
0x1184 15 call(0x1030)
0x118e 16 if ([rsp + 0x14 {var_34}].d s< 2) then 17 @ 0x12a0 else 26 @ 0x1194
0x12a0 17 eax = 0
0x12a2 18 rsp = rsp + 0x18
0x12a6 19 rbx = pop
0x12a7 20 r12 = pop
0x12a9 21 r13 = pop
0x12ab 22 r14 = pop
0x12ad 23 r15 = pop
0x12af 24 rbp = pop
0x12b0 25 <return> jump(pop)
0x1194 26 xmm0.q = float.d([rsp + 8 {var_40}].d)
0x119a 27 xmm1.q = float.d([rsp + 0xc {var_3c}].d)
0x11a0 28 xmm0.q = xmm0.q f/ xmm1.q
0x11a4 29 xmm0.d = fconvert.s(xmm0.q)
0x11a8 30 [rsp + 0x10 {var_38_1}].d = xmm0.d
0x11ae 31 r14 = 0x2010 {"%d%d"}
0x11b5 32 r15 = rsp + 0xc {var_3c}
0x11ba 33 r12 = rsp + 8 {var_40}
0x11bf 34 rbx = 0x2020 {"better"}
0x11c6 35 r13 = 0x201a {"worse"}
0x11cd 36 ebp = 0
0x11cf 37 goto 38 @ 0x11f7
0x11f7 38 [rsp + 0xc {var_3c}].d = 0
0x11ff 39 [rsp + 8 {var_40}].d = 0
0x1207 40 rdi = r14
0x120a 41 rsi = r15 {var_3c}
0x120d 42 rdx = r12 {var_40}
0x1210 43 eax = 0
0x1212 44 call(0x1030)
0x1217 45 xmm0 = 0
0x121a 46 xmm0.q = float.d([rsp + 8 {var_40}].d)
0x1220 47 xmm1 = 0
0x1223 48 xmm1.q = float.d([rsp + 0xc {var_3c}].d)
0x1229 49 xmm0.q = xmm0.q f/ xmm1.q
0x122d 50 xmm1 = 0
0x1230 51 xmm1.d = fconvert.s(xmm0.q)
0x1234 52 xmm0 = xmm1
0x1237 53 xmm0.d = xmm0.d f- fconvert.t([rsp + 0x10 {var_38_1}].d)
0x123d 54 xmm0.q = fconvert.d(xmm0.d)
0x1241 55 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x1241 56 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x1241 57 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x1241 58 flag:s = 0
0x1241 59 flag:o = 0
0x1241 60 flag:a = 0
0x1249 61 rdi = rbx
0x124c 62 if (not(flag:z) && not(flag:c)) then 63 @ 0x11e0 else 65 @ 0x124e
0x11e0 63 call(0x1040)
0x11e0 64 goto 77 @ 0x11e5
0x124e 65 xmm2 = [rsp + 0x10 {var_38_1}].d
0x1254 66 xmm2.d = xmm2.d f- xmm1.d
0x1258 67 xmm1 = 0
0x125b 68 xmm1.q = fconvert.d(xmm2.d)
0x125f 69 flag:p = is_unordered.q(xmm1.q, fconvert.t([0x2008].q))
0x125f 70 flag:c = xmm1.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm1.q, fconvert.t([0x2008].q))
0x125f 71 flag:z = xmm1.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm1.q, fconvert.t([0x2008].q))
0x125f 72 flag:s = 0
0x125f 73 flag:o = 0
0x125f 74 flag:a = 0
0x1267 75 rdi = r13
0x126a 76 if (not(flag:z) && not(flag:c)) then 63 @ 0x11e0 else 81 @ 0x1270
0x11e5 77 ebp = ebp + 1
0x11e8 78 eax = [rsp + 0x14 {var_34}].d
0x11ec 79 eax = eax - 1
0x11f1 80 if (ebp s>= eax) then 17 @ 0x12a0 else 38 @ 0x11f7
0x1270 81 xmm2 = zx.o([0x2008].q)
0x1278 82 flag:p = is_unordered.q(xmm2.q, xmm0.q)
0x1278 83 flag:c = xmm2.q f< xmm0.q | is_unordered.q(xmm2.q, xmm0.q)
0x1278 84 flag:z = xmm2.q f== xmm0.q | is_unordered.q(xmm2.q, xmm0.q)
0x1278 85 flag:s = 0
0x1278 86 flag:o = 0
0x1278 87 flag:a = 0
0x127c 88 if (flag:c) then 77 @ 0x11e5 else 89 @ 0x1282
0x1282 89 xmm0 = zx.o([0x2008].q)
0x128a 90 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x128a 91 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x128a 92 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x128a 93 flag:s = 0
0x128a 94 flag:o = 0
0x128a 95 flag:a = 0
0x128e 96 rdi = 0x2015 {"same"}
0x1295 97 if (not(flag:c)) then 63 @ 0x11e0 else 98 @ 0x129b
0x129b 98 goto 77 @ 0x11e5
int64_t _fini():
0x12b8 0 rsp = rsp - 8
0x12bc 1 rsp = rsp + 8
0x12c0 2 <return> jump(pop)
| POJ_67 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UAWAVAUATSHh"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 push(r15)
0x1153 2 push(r14)
0x1155 3 push(r13)
0x1157 4 push(r12)
0x1159 5 push(rbx)
0x115a 6 rsp = rsp - 0x668
0x1161 7 rdi = 0x2004 {"%d"}
0x1168 8 rsi = rsp + 0xc {var_68c}
0x116d 9 eax = 0
0x116f 10 call(0x1040)
0x1179 11 if ([rsp + 0xc {var_68c}].d s<= 0) then 12 @ 0x138d else 17 @ 0x117f
0x138d 12 xmm0 = zx.o([rsp + 0x20 {var_678}].q)
0x1393 13 rdi = 0x200e {"%.2lf"}
0x139a 14 al = 1
0x139c 15 call(0x1030)
0x13a1 16 goto 24 @ 0x141c
0x117f 17 r14 = 0x2007 {"%s%lf"}
0x1186 18 r15 = rsp + 0x19 {var_67f}
0x118b 19 r12 = rsp + 0x10 {var_688}
0x1190 20 r13d = 0
0x1193 21 ebx = 0
0x1195 22 ebp = 0
0x1197 23 goto 33 @ 0x11c0
0x141c 24 eax = 0
0x141e 25 rsp = rsp + 0x668
0x1425 26 rbx = pop
0x1426 27 r12 = pop
0x1428 28 r13 = pop
0x142a 29 r14 = pop
0x142c 30 r15 = pop
0x142e 31 rbp = pop
0x142f 32 <return> jump(pop)
0x11c0 33 rdi = r14
0x11c3 34 rsi = r15 {var_67f}
0x11c6 35 rdx = r12 {var_688}
0x11c9 36 eax = 0
0x11cb 37 call(0x1040)
0x11d0 38 eax = zx.d([rsp + 0x19 {var_67f}].b)
0x11d7 39 if (al == 0x66) then 40 @ 0x11a0 else 45 @ 0x11db
0x11a0 40 xmm0 = zx.o([rsp + 0x10 {var_688}].q)
0x11a6 41 r13 = sx.q(r13d)
0x11a9 42 [rsp + (r13 << 3) + 0x340].q = xmm0.q
0x11b3 43 r13d = r13d + 1
0x11b3 44 goto 46 @ 0x11b7
0x11db 45 if (al != 0x6d) then 46 @ 0x11b7 else 48 @ 0x11dd
0x11b7 46 ebp = ebp + 1
0x11be 47 if (ebp s>= [rsp + 0xc {var_68c}].d) then 53 @ 0x11f3 else 33 @ 0x11c0
0x11dd 48 xmm0 = zx.o([rsp + 0x10 {var_688}].q)
0x11e3 49 rbx = sx.q(ebx)
0x11e6 50 [rsp + (rbx << 3) + 0x20].q = xmm0.q
0x11ec 51 ebx = ebx + 1
0x11ef 52 goto 46 @ 0x11b7
0x11f3 53 if (ebx s<= 0) then 54 @ 0x12aa else 59 @ 0x11f9
0x12aa 54 eax = 0
0x12ac 55 temp0.d = r13d
0x12ac 56 cond:0 = temp0.d s<= 0
0x12af 57 r15b = temp0.d s> 0
0x12b3 58 if (cond:0) then 64 @ 0x13a3 else 66 @ 0x12b9
0x11f9 59 eax = (rbx - 1).d
0x11fc 60 ecx = eax
0x11fe 61 ecx = ecx & 0xfffffffe
0x1201 62 edx = 0
0x1203 63 goto 70 @ 0x121e
0x13a3 64 r15d = 0
0x13a3 65 goto 71 @ 0x13a6
0x12b9 66 ecx = (r13 - 1).d
0x12bd 67 edx = ecx
0x12bf 68 edx = edx & 0xfffffffe
0x12c2 69 goto 76 @ 0x12e0
0x121e 70 if (ebx == 1) then 77 @ 0x1210 else 79 @ 0x1220
0x13a6 71 xmm0 = zx.o([rsp + 0x20 {var_678}].q)
0x13ac 72 rdi = 0x200e {"%.2lf"}
0x13b3 73 al = 1
0x13b5 74 call(0x1030)
0x13bd 75 if (ebx s< 2) then 81 @ 0x13ec else 82 @ 0x13bf
0x12e0 76 if (r13d == 1) then 86 @ 0x12d0 else 88 @ 0x12e2
0x1210 77 edx = edx + 1
0x1215 78 if (edx == ebx) then 54 @ 0x12aa else 70 @ 0x121e
0x1220 79 xmm0 = zx.o([rsp + 0x20 {var_678}].q)
0x1229 80 if (eax != 1) then 90 @ 0x1250 else 92 @ 0x122b
0x13ec 81 if (r15b == 0) then 24 @ 0x141c else 94 @ 0x13ee
0x13bf 82 ebx = ebx
0x13c1 83 ebp = 1
0x13c6 84 r14 = 0x200d {" %.2lf"}
0x13cd 85 goto 98 @ 0x13d0
0x12d0 86 eax = eax + 1
0x12d6 87 if (eax == r13d) then 71 @ 0x13a6 else 76 @ 0x12e0
0x12e2 88 xmm0 = zx.o([rsp + 0x340 {var_358}].q)
0x12ee 89 if (ecx != 1) then 104 @ 0x1320 else 106 @ 0x12f0
0x1250 90 edi = 0
0x1252 91 goto 108 @ 0x1274
0x122b 92 esi = 0
0x122b 93 goto 116 @ 0x122f
0x13ee 94 ebp = r13d
0x13f1 95 ebx = 0
0x13f3 96 r14 = 0x200d {" %.2lf"}
0x13fa 97 goto 117 @ 0x1400
0x13d0 98 xmm0 = zx.o([rsp + (rbp << 3) + 0x20].q)
0x13d6 99 rdi = r14
0x13d9 100 al = 1
0x13db 101 call(0x1030)
0x13e0 102 rbp = rbp + 1
0x13e7 103 if (rbx != rbp) then 98 @ 0x13d0 else 81 @ 0x13ec
0x1320 104 edi = 0
0x1322 105 goto 123 @ 0x134a
0x12f0 106 esi = 0
0x12f0 107 goto 131 @ 0x12f5
0x1274 108 xmm1 = zx.o([rsp + (rdi << 3) + 0x28].q)
0x127a 109 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x127a 110 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x127a 111 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x127a 112 flag:s = 0
0x127a 113 flag:o = 0
0x127a 114 flag:a = 0
0x127e 115 if (flag:z || flag:c) then 132 @ 0x1290 else 134 @ 0x1280
0x122f 116 if ((al & 1) == 0) then 77 @ 0x1210 else 137 @ 0x1231
0x1400 117 xmm0 = zx.o([rsp + (rbx << 3) + 0x340].q)
0x1409 118 rdi = r14
0x140c 119 al = 1
0x140e 120 call(0x1030)
0x1413 121 rbx = rbx + 1
0x141a 122 if (rbp != rbx) then 117 @ 0x1400 else 24 @ 0x141c
0x134a 123 xmm1 = zx.o([rsp + (rdi << 3) + 0x348].q)
0x1353 124 flag:p = is_unordered.q(xmm1.q, xmm0.q)
0x1353 125 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1353 126 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1353 127 flag:s = 0
0x1353 128 flag:o = 0
0x1353 129 flag:a = 0
0x1357 130 if (flag:z || flag:c) then 145 @ 0x1370 else 147 @ 0x1359
0x12f5 131 if ((cl & 1) == 0) then 86 @ 0x12d0 else 150 @ 0x12f7
0x1290 132 xmm0 = xmm1
0x1290 133 goto 158 @ 0x1294
0x1280 134 [rsp + (rdi << 3) + 0x20].q = xmm1.q
0x1286 135 [rsp + (rdi << 3) + 0x28].q = xmm0.q
0x128c 136 goto 158 @ 0x1294
0x1231 137 xmm1 = zx.o([rsp + (rsi << 3) + 0x28].q)
0x1237 138 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x1237 139 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1237 140 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1237 141 flag:s = 0
0x1237 142 flag:o = 0
0x1237 143 flag:a = 0
0x123b 144 if (flag:z || flag:c) then 77 @ 0x1210 else 167 @ 0x123d
0x1370 145 xmm0 = xmm1
0x1370 146 goto 170 @ 0x1374
0x1359 147 [rsp + (rdi << 3) + 0x340].q = xmm1.q
0x1362 148 [rsp + (rdi << 3) + 0x348].q = xmm0.q
0x136b 149 goto 170 @ 0x1374
0x12f7 150 xmm1 = zx.o([rsp + (rsi << 3) + 0x348].q)
0x1300 151 flag:p = is_unordered.q(xmm1.q, xmm0.q)
0x1300 152 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1300 153 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1300 154 flag:s = 0
0x1300 155 flag:o = 0
0x1300 156 flag:a = 0
0x1304 157 if (flag:z || flag:c) then 86 @ 0x12d0 else 179 @ 0x1306
0x1294 158 rsi = rdi + 2
0x1298 159 xmm1 = zx.o([rsp + (rdi << 3) + 0x30].q)
0x129e 160 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x129e 161 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x129e 162 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x129e 163 flag:s = 0
0x129e 164 flag:o = 0
0x129e 165 flag:a = 0
0x12a2 166 if (not(flag:z) && not(flag:c)) then 182 @ 0x1260 else 185 @ 0x12a4
0x123d 167 [rsp + (rsi << 3) + 0x20].q = xmm1.q
0x1243 168 [rsp + (rsi << 3) + 0x28].q = xmm0.q
0x1249 169 goto 77 @ 0x1210
0x1374 170 rsi = rdi + 2
0x1378 171 xmm1 = zx.o([rsp + (rdi << 3) + 0x350].q)
0x1381 172 flag:p = is_unordered.q(xmm1.q, xmm0.q)
0x1381 173 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1381 174 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1381 175 flag:s = 0
0x1381 176 flag:o = 0
0x1381 177 flag:a = 0
0x1385 178 if (not(flag:z) && not(flag:c)) then 187 @ 0x1330 else 190 @ 0x1387
0x1306 179 [rsp + (rsi << 3) + 0x340].q = xmm1.q
0x130f 180 [rsp + (rsi << 3) + 0x348].q = xmm0.q
0x1318 181 goto 86 @ 0x12d0
0x1260 182 [rsp + (rdi << 3) + 0x28].q = xmm1.q
0x1266 183 [rsp + (rdi << 3) + 0x30].q = xmm0.q
0x1266 184 goto 192 @ 0x126c
0x12a4 185 xmm0 = xmm1
0x12a8 186 goto 192 @ 0x126c
0x1330 187 [rsp + (rdi << 3) + 0x348].q = xmm1.q
0x1339 188 [rsp + (rdi << 3) + 0x350].q = xmm0.q
0x1339 189 goto 194 @ 0x1342
0x1387 190 xmm0 = xmm1
0x138b 191 goto 194 @ 0x1342
0x126c 192 rdi = rsi
0x1272 193 if (rcx == rsi) then 116 @ 0x122f else 108 @ 0x1274
0x1342 194 rdi = rsi
0x1348 195 if (rdx == rsi) then 131 @ 0x12f5 else 123 @ 0x134a
int64_t _fini():
0x1434 0 rsp = rsp - 8
0x1438 1 rsp = rsp + 8
0x143c 2 <return> jump(pop)
| POJ_102 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UAVSHH="}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 push(r14)
0x1153 2 push(rbx)
0x1154 3 rsp = rsp - 0x10
0x1158 4 rdi = 0x2004 {"%d"}
0x115f 5 rsi = rsp + 0xc {var_1c}
0x1164 6 eax = 0
0x1166 7 call(0x1040)
0x116b 8 esi = [rsp + 0xc {var_1c}].d
0x1172 9 if (esi != 1) then 10 @ 0x118b else 13 @ 0x1174
0x118b 10 r14 = 0x2017 {"%d/2=%d\n\n"}
0x1192 11 rbx = 0x200b {"%d*3+1=%d\n\n"}
0x1199 12 goto 21 @ 0x11c0
0x1174 13 rdi = 0x2007 {"End"}
0x117b 14 eax = 0
0x117d 15 call(0x1030)
0x1182 16 rsp = rsp + 0x10
0x1186 17 rbx = pop
0x1187 18 r14 = pop
0x1189 19 rbp = pop
0x118a 20 <return> jump(pop)
0x11c0 21 if ((sil & 1) == 0) then 22 @ 0x11a0 else 28 @ 0x11c2
0x11a0 22 ebp = esi
0x11a2 23 ebp = ebp u>> 0x1f
0x11a5 24 ebp = ebp + esi
0x11a7 25 ebp = ebp s>> 1
0x11a9 26 rdi = r14
0x11a9 27 goto 32 @ 0x11ac
0x11c2 28 ebp = (rsi + (rsi << 1)).d
0x11c5 29 ebp = ebp + 1
0x11c8 30 rdi = rbx
0x11cb 31 goto 32 @ 0x11ac
0x11ac 32 edx = ebp
0x11ae 33 eax = 0
0x11b0 34 call(0x1030)
0x11b5 35 esi = ebp
0x11ba 36 if (ebp == 1) then 13 @ 0x1174 else 21 @ 0x11c0
int64_t _fini():
0x11d4 0 rsp = rsp - 8
0x11d8 1 rsp = rsp + 8
0x11dc 2 <return> jump(pop)
| POJ_34 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
double sqrt(double x):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UAWAVAUATSHhH="}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 push(r15)
0x1163 2 push(r14)
0x1165 3 push(r13)
0x1167 4 push(r12)
0x1169 5 push(rbx)
0x116a 6 rsp = rsp - 0x68
0x116e 7 rdi = 0x2030 {"%d"}
0x1175 8 rsi = rsp + 4 {var_94}
0x117a 9 eax = 0
0x117c 10 call(0x1040)
0x1186 11 if ([rsp + 4 {var_94}].d s<= 0) then 12 @ 0x1393 else 21 @ 0x118c
0x1393 12 eax = 0
0x1395 13 rsp = rsp + 0x68
0x1399 14 rbx = pop
0x139a 15 r12 = pop
0x139c 16 r13 = pop
0x139e 17 r14 = pop
0x13a0 18 r15 = pop
0x13a2 19 rbp = pop
0x13a3 20 <return> jump(pop)
0x118c 21 r14 = 0x2033 {"%lf%lf%lf"}
0x1193 22 r15 = rsp + 8 {var_90}
0x1198 23 r12 = rsp + 0x38 {var_60}
0x119d 24 rbx = rsp + 0x60 {var_38}
0x11a2 25 r13 = 0x203d {"x1=%.5lf;x2=%.5lf\n"}
0x11a9 26 ebp = 0
0x11ab 27 goto 28 @ 0x11f1
0x11f1 28 rdi = r14
0x11f4 29 rsi = r15 {var_90}
0x11f7 30 rdx = r12 {var_60}
0x11fa 31 rcx = rbx {var_38}
0x11fd 32 eax = 0
0x11ff 33 call(0x1040)
0x1204 34 xmm4 = zx.o([rsp + 0x38 {var_60}].q)
0x120a 35 xmm2 = zx.o([rsp + 8 {var_90}].q)
0x1210 36 xmm0 = xmm2
0x1214 37 xmm0.q = xmm0.q f* fconvert.t([0x2008].q)
0x121c 38 xmm0.q = xmm0.q f* fconvert.t([rsp + 0x60 {var_38}].q)
0x1222 39 xmm3 = xmm4
0x1226 40 xmm3.q = xmm3.q f* xmm4.q
0x122a 41 xmm3.q = xmm3.q f+ xmm0.q
0x122e 42 flag:p = is_unordered.q(xmm3.q, fconvert.t([0x2018].q))
0x122e 43 flag:c = xmm3.q f< fconvert.t([0x2018].q) | is_unordered.q(xmm3.q, fconvert.t([0x2018].q))
0x122e 44 flag:z = xmm3.q f== fconvert.t([0x2018].q) | is_unordered.q(xmm3.q, fconvert.t([0x2018].q))
0x122e 45 flag:s = 0
0x122e 46 flag:o = 0
0x122e 47 flag:a = 0
0x1236 48 if (flag:z || flag:c) then 49 @ 0x12d0 else 50 @ 0x123c
0x12d0 49 if (not(flag:z)) then 55 @ 0x12fb else 64 @ 0x12d2
0x123c 50 xmm0 = 0
0x123f 51 xmm0 = _mm_sqrt_sd(xmm3.q)
0x1243 52 xmm2 = xmm0
0x1247 53 [rsp + 0x20 {var_78_1}].o = xmm4
0x124d 54 if (not(flag:c)) then 65 @ 0x127a else 74 @ 0x124f
0x12fb 55 xmm0 = zx.o([0x2010].q)
0x1303 56 flag:p = is_unordered.q(xmm0.q, xmm3.q)
0x1303 57 flag:c = xmm0.q f< xmm3.q | is_unordered.q(xmm0.q, xmm3.q)
0x1303 58 flag:z = xmm0.q f== xmm3.q | is_unordered.q(xmm0.q, xmm3.q)
0x1303 59 flag:s = 0
0x1303 60 flag:o = 0
0x1303 61 flag:a = 0
0x1307 62 xmm3 = _mm_xor_pd(xmm3, xmm0)
0x130b 63 if (flag:c) then 83 @ 0x1316 else 91 @ 0x130d
0x12d2 64 if (flag:p) then 55 @ 0x12fb else 94 @ 0x12d4
0x127a 65 xmm5 = zx.o([rsp + 8 {var_90}].q)
0x1280 66 xmm1 = zx.o([rsp + 0x38 {var_60}].q)
0x1286 67 flag:p = is_unordered.q(xmm3.q, fconvert.t([0x2018].q))
0x1286 68 flag:c = xmm3.q f< fconvert.t([0x2018].q) | is_unordered.q(xmm3.q, fconvert.t([0x2018].q))
0x1286 69 flag:z = xmm3.q f== fconvert.t([0x2018].q) | is_unordered.q(xmm3.q, fconvert.t([0x2018].q))
0x1286 70 flag:s = 0
0x1286 71 flag:o = 0
0x1286 72 flag:a = 0
0x128e 73 if (not(flag:c)) then 102 @ 0x11b0 else 113 @ 0x1294
0x124f 74 [rsp + 0x40 {var_58}].q = xmm0.q
0x1255 75 xmm0 = xmm3
0x1259 76 [rsp + 0x10 {var_88}].o = xmm3
0x125f 77 call(0x1050)
0x1264 78 xmm3 = [rsp + 0x10 {var_88}].o
0x126a 79 xmm4 = [rsp + 0x20 {var_78_1}].o
0x1270 80 xmm2 = xmm0
0x1274 81 xmm0 = zx.o([rsp + 0x40 {var_58}].q)
0x1274 82 goto 65 @ 0x127a
0x1316 83 xmm0 = xmm3
0x131a 84 [rsp + 0x20 {var_78_2}].o = xmm4
0x1320 85 [rsp + 0x10 {var_88}].q = xmm2.q
0x1326 86 call(0x1050)
0x132b 87 xmm2 = zx.o([rsp + 0x10 {var_88}].q)
0x1331 88 xmm4 = [rsp + 0x20 {var_78_2}].o
0x1337 89 xmm1 = xmm0
0x1337 90 goto 123 @ 0x133b
0x130d 91 xmm1 = 0
0x1310 92 xmm1 = _mm_sqrt_sd(xmm3.q)
0x1314 93 goto 123 @ 0x133b
0x12d4 94 xmm4 = __xorpd_xmmxuq_memxuq(xmm4, [0x2020].o)
0x12dc 95 xmm2.q = xmm2.q f+ xmm2.q
0x12e0 96 xmm4.q = xmm4.q f/ xmm2.q
0x12e4 97 rdi = 0x2050 {"x1=x2=%.5lf\n"}
0x12eb 98 xmm0 = xmm4
0x12ef 99 al = 1
0x12f1 100 call(0x1030)
0x12f6 101 goto 140 @ 0x11e4
0x11b0 102 xmm2.q = xmm2.q f- xmm4.q
0x11b4 103 xmm5.q = xmm5.q f+ xmm5.q
0x11b8 104 xmm2.q = xmm2.q f/ xmm5.q
0x11bc 105 xmm1 = __xorpd_xmmxuq_memxuq(xmm1, [0x2020].o)
0x11c4 106 xmm1.q = xmm1.q f- xmm0.q
0x11c8 107 xmm0 = zx.o([rsp + 8 {var_90}].q)
0x11ce 108 xmm0.q = xmm0.q f+ xmm0.q
0x11d2 109 xmm1.q = xmm1.q f/ xmm0.q
0x11d6 110 rdi = r13
0x11d9 111 xmm0 = xmm2
0x11d9 112 goto 142 @ 0x11dd
0x1294 113 xmm0 = xmm3
0x1298 114 [rsp + 0x10 {var_88}].q = xmm2.q
0x129e 115 [rsp + 0x40 {var_58}].o = xmm1
0x12a4 116 [rsp + 0x58 {var_40_1}].q = xmm5.q
0x12aa 117 call(0x1050)
0x12af 118 xmm5 = zx.o([rsp + 0x58 {var_40_1}].q)
0x12b5 119 xmm1 = [rsp + 0x40 {var_58}].o
0x12bb 120 xmm2 = zx.o([rsp + 0x10 {var_88}].q)
0x12c1 121 xmm4 = [rsp + 0x20 {var_78_1}].o
0x12c7 122 goto 102 @ 0x11b0
0x133b 123 xmm0 = zx.o([0x2010].q)
0x1343 124 xmm4 = _mm_xor_pd(xmm4, xmm0)
0x1347 125 xmm2.q = xmm2.q f+ xmm2.q
0x134b 126 xmm4.q = xmm4.q f/ xmm2.q
0x134f 127 [rsp + 0x20 {var_78_3}].o = xmm4
0x1355 128 xmm0 = zx.o([rsp + 8 {var_90}].q)
0x135b 129 xmm0.q = xmm0.q f+ xmm0.q
0x135f 130 xmm1.q = xmm1.q f/ xmm0.q
0x1363 131 rdi = 0x205d {"x1=%.5lf+%.5lfi;"}
0x136a 132 xmm0 = xmm4
0x136e 133 [rsp + 0x10 {var_88}].q = xmm1.q
0x1374 134 al = 2
0x1376 135 call(0x1030)
0x137b 136 rdi = 0x206e {"x2=%.5lf-%.5lfi\n"}
0x1382 137 xmm0 = [rsp + 0x20 {var_78_3}].o
0x1388 138 xmm1 = zx.o([rsp + 0x10 {var_88}].q)
0x138e 139 goto 142 @ 0x11dd
0x11e4 140 ebp = ebp + 1
0x11eb 141 if (ebp s>= [rsp + 4 {var_94}].d) then 12 @ 0x1393 else 28 @ 0x11f1
0x11dd 142 al = 2
0x11df 143 call(0x1030)
0x11df 144 goto 140 @ 0x11e4
int64_t _fini():
0x13a8 0 rsp = rsp - 8
0x13ac 1 rsp = rsp + 8
0x13b0 2 <return> jump(pop)
| POJ_27 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"AWAVATSH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(r15)
0x1152 1 push(r14)
0x1154 2 push(r12)
0x1156 3 push(rbx)
0x1157 4 rsp = rsp - 0x61a98
0x115e 5 rdi = 0x200f {"%d"}
0x1165 6 rsi = rsp + 0xc {var_61aac}
0x116a 7 eax = 0
0x116c 8 call(0x1040)
0x1171 9 r8d = [rsp + 0xc {var_61aac}].d
0x1179 10 if (r8d s<= 0) then 11 @ 0x11c9 else 12 @ 0x117b
0x11c9 11 if (r8d s<= 0) then 17 @ 0x1234 else 19 @ 0x11cb
0x117b 12 r14 = rsp + 0x10 {var_61aa8}
0x1180 13 r12 = rsp + 0x30d50 {var_30d68}
0x1188 14 r15 = 0x2004 {"%d%d"}
0x118f 15 ebx = 0
0x119b 16 goto 22 @ 0x11a0
0x1234 17 ebx = 0
0x123a 18 if (r8d s< 2) then 32 @ 0x128d else 35 @ 0x123c
0x11cb 19 ecx = (r8 - 1).d
0x11cf 20 edx = 0
0x11d1 21 goto 38 @ 0x11eb
0x11a0 22 rdi = r15
0x11a3 23 rsi = r12
0x11a6 24 rdx = r14
0x11a9 25 eax = 0
0x11ab 26 call(0x1040)
0x11b0 27 rbx = rbx + 1
0x11b4 28 r8 = sx.q([rsp + 0xc {var_61aac}].d)
0x11b9 29 r14 = r14 + 4
0x11bd 30 r12 = r12 + 4
0x11c4 31 if (rbx s< r8) then 22 @ 0x11a0 else 11 @ 0x11c9
0x128d 32 rax = sx.q([rsp + 0xc {var_61aac}].d)
0x1292 33 ecx = (rax - 1).d
0x1297 34 if (ebx != ecx) then 43 @ 0x12b2 else 50 @ 0x1299
0x123c 35 r8d = r8d - 1
0x1240 36 ebx = 0
0x1242 37 goto 56 @ 0x1258
0x11eb 38 ecx = ecx
0x11ed 39 eax = edx
0x11ef 40 eax = not.d(eax)
0x11f1 41 eax = eax + r8d
0x11f6 42 if (eax s<= 0) then 58 @ 0x11e0 else 61 @ 0x11f8
0x12b2 43 eax = 0
0x12b4 44 rsp = rsp + 0x61a98
0x12bb 45 rbx = pop
0x12bc 46 r12 = pop
0x12be 47 r14 = pop
0x12c0 48 r15 = pop
0x12c2 49 <return> jump(pop)
0x1299 50 esi = [rsp + 0x30d50 {var_30d68}].d
0x12a0 51 edx = [rsp + (rax << 2) + 0xc].d
0x12a4 52 rdi = 0x200c {"%d %d"}
0x12ab 53 eax = 0
0x12ad 54 call(0x1030)
0x12ad 55 goto 43 @ 0x12b2
0x1258 56 edx = [rsp + (rbx << 2) + 0x10].d
0x1263 57 if (edx s< [rsp + (rbx << 2) + 0x30d54].d) then 63 @ 0x127f else 67 @ 0x1265
0x11e0 58 edx = edx + 1
0x11e3 59 ecx = ecx - 1
0x11e9 60 if (edx == r8d) then 17 @ 0x1234 else 38 @ 0x11eb
0x11f8 61 esi = 0
0x11fa 62 goto 70 @ 0x1208
0x127f 63 rdi = 0x2009 {"no"}
0x1286 64 eax = 0
0x1288 65 call(0x1030)
0x1288 66 goto 32 @ 0x128d
0x1265 67 rcx = rbx + 1
0x1269 68 eax = [rsp + (rbx << 2) + 0x14].d
0x126f 69 if (eax s>= edx) then 74 @ 0x1250 else 76 @ 0x1271
0x1208 70 ebx = [rsp + (rsi << 2) + 0x30d50].d
0x120f 71 eax = [rsp + (rsi << 2) + 0x30d54].d
0x1216 72 rdi = rsi + 1
0x121c 73 if (ebx s<= eax) then 79 @ 0x1200 else 81 @ 0x121e
0x1250 74 rbx = rcx
0x1256 75 if (r8 == rcx) then 85 @ 0x127b else 56 @ 0x1258
0x1271 76 [rsp + (rbx << 2) + 0x10].d = eax
0x1275 77 [rsp + (rbx << 2) + 0x14].d = edx
0x1279 78 goto 74 @ 0x1250
0x1200 79 rsi = rdi
0x1206 80 if (rcx == rdi) then 58 @ 0x11e0 else 70 @ 0x1208
0x121e 81 [rsp + (rsi << 2) + 0x30d50].d = eax
0x1225 82 [rsp + (rsi << 2) + 0x30d54].d = ebx
0x122c 83 [rsp + (rsi << 2) + 0x10].q = rol.q([rsp + (rsi << 2) + 0x10].q, 0x20)
0x1232 84 goto 79 @ 0x1200
0x127b 85 ebx = ecx
0x127d 86 goto 32 @ 0x128d
int64_t _fini():
0x12c8 0 rsp = rsp - 8
0x12cc 1 rsp = rsp + 8
0x12d0 2 <return> jump(pop)
| POJ_76 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UAWAVSH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 push(r15)
0x1153 2 push(r14)
0x1155 3 push(rbx)
0x1156 4 rsp = rsp - 0x1a8
0x115d 5 rdi = 0x2004 {"%d"}
0x1164 6 r14d = 0
0x1167 7 rsi = rsp + 0xc {var_1bc}
0x116c 8 eax = 0
0x116e 9 call(0x1040)
0x1173 10 cond:0 = [rsp + 0xc {var_1bc}].d s<= 0
0x1178 11 ebp = 0
0x117d 12 if (cond:0) then 13 @ 0x1332 else 19 @ 0x1183
0x1332 13 rdi = 0x2007 {"%d\n"}
0x1339 14 esi = ebp
0x133b 15 eax = 0
0x133d 16 call(0x1030)
0x1342 17 eax = [rsp + 0xc {var_1bc}].d
0x1348 18 if (eax s<= 0) then 23 @ 0x13e8 else 33 @ 0x1351
0x1183 19 rbp = rsp + 0x10 {var_1b8}
0x1188 20 r15 = 0x2004 {"%d"}
0x118f 21 ebx = 0
0x119b 22 goto 34 @ 0x11a0
0x13e8 23 rdi = 0x2004 {"%d"}
0x13ef 24 esi = r14d
0x13f2 25 eax = 0
0x13f4 26 call(0x1030)
0x13f9 27 rsp = rsp + 0x1a8
0x1400 28 rbx = pop
0x1401 29 r14 = pop
0x1403 30 r15 = pop
0x1405 31 rbp = pop
0x1406 32 <return> jump(pop)
0x1351 33 if (eax != 1) then 42 @ 0x135a else 47 @ 0x1353
0x11a0 34 rdi = r15
0x11a3 35 rsi = rbp
0x11a6 36 eax = 0
0x11a8 37 call(0x1040)
0x11ad 38 rbx = rbx + 1
0x11b1 39 rax = sx.q([rsp + 0xc {var_1bc}].d)
0x11b6 40 rbp = rbp + 4
0x11bd 41 if (rbx s< rax) then 34 @ 0x11a0 else 50 @ 0x11bf
0x135a 42 edx = eax
0x135c 43 edx = edx & 0xfffffffe
0x135f 44 ecx = 0
0x1361 45 r14d = 0
0x1364 46 goto 52 @ 0x137c
0x1353 47 ecx = 0
0x1355 48 r14d = 0
0x1358 49 goto 55 @ 0x13cd
0x11bf 50 eax = eax
0x11c3 51 if (eax s<= 0) then 56 @ 0x11d3 else 58 @ 0x11c8
0x137c 52 esi = [rsp + (rcx << 2) + 0x10].d
0x1380 53 cond:1 = esi s< ebp
0x1382 54 if (esi != ebp) then 59 @ 0x13a0 else 61 @ 0x1384
0x13cd 55 if ((al & 1) == 0) then 23 @ 0x13e8 else 65 @ 0x13cf
0x11d3 56 ebp = 0
0x11d5 57 goto 13 @ 0x1332
0x11c8 58 if (eax u>= 8) then 69 @ 0x11da else 76 @ 0x11ca
0x13a0 59 edi = r14d
0x13a3 60 if (cond:1) then 79 else 81 @ 0x13a9
0x1384 61 ebp = ebp + 1
0x1387 62 esi = [rsp + (rcx << 2) + 0x14].d
0x138b 63 cond:3 = esi s< ebp
0x138d 64 if (esi == ebp) then 82 @ 0x1370 else 85 @ 0x138f
0x13cf 65 eax = [rsp + (rcx << 2) + 0x10].d
0x13d3 66 cond:2 = eax s< ebp
0x13d5 67 ecx = r14d
0x13d8 68 if (cond:2) then 86 else 88 @ 0x13de
0x11da 69 ecx = eax
0x11dc 70 ecx = ecx & 0xfffffff8
0x11df 71 rsi = rcx - 8
0x11e3 72 rdx = rsi
0x11e6 73 rdx = rdx u>> 3
0x11ea 74 rdx = rdx + 1
0x11f1 75 if (rsi == 0) then 89 @ 0x1407 else 93 @ 0x11f7
0x11ca 76 ecx = 0
0x11cc 77 ebp = 0
0x11ce 78 goto 99 @ 0x1320
0x13a3 79 edi = esi
0x13a3 80 goto 81 @ 0x13a9
0x13a9 81 if (esi s>= r14d) then 101 else 103 @ 0x13ad
0x1370 82 ebp = ebp + 1
0x1373 83 rcx = rcx + 2
0x137a 84 if (rdx == rcx) then 55 @ 0x13cd else 52 @ 0x137c
0x138f 85 goto 106 @ 0x13b5
0x13d8 86 ecx = eax
0x13d8 87 goto 88 @ 0x13de
0x13de 88 if (eax s< r14d) then 108 else 110 @ 0x13e4
0x1407 89 xmm0 = 0
0x140b 90 esi = 0
0x140d 91 xmm1 = 0
0x1414 92 if ((dl & 1) != 0) then 111 @ 0x1287 else 126 @ 0x141a
0x11f7 93 rdi = rdx
0x11fa 94 rdi = rdi & 0xfffffffffffffffe
0x11fe 95 xmm0 = 0
0x1202 96 esi = 0
0x1204 97 xmm1 = 0
0x1208 98 goto 127 @ 0x1210
0x1320 99 edx = [rsp + (rcx << 2) + 0x10].d
0x1326 100 if (edx s>= ebp) then 155 else 157 @ 0x1329
0x13a9 101 r14d = edi
0x13a9 102 goto 103 @ 0x13ad
0x13ad 103 esi = [rsp + (rcx << 2) + 0x14].d
0x13b1 104 cond:3 = esi s< ebp
0x13b3 105 if (esi == ebp) then 82 @ 0x1370 else 106 @ 0x13b5
0x13b5 106 edi = r14d
0x13b8 107 if (cond:3) then 159 else 161 @ 0x13be
0x13de 108 ecx = r14d
0x13de 109 goto 110 @ 0x13e4
0x13e4 110 if (eax != ebp) then 162 else 164
0x1287 111 xmm2 = [rsp + (rsi << 2) + 0x10].o
0x128d 112 xmm3 = [rsp + (rsi << 2) + 0x20].o
0x1293 113 xmm4 = xmm2
0x1297 114 xmm4 = _mm_cmpgt_epi32(xmm4, xmm0)
0x129b 115 xmm2 = xmm2 & xmm4
0x129f 116 xmm4 = xmm4 & not.o(xmm0)
0x12a3 117 xmm4 = xmm4 | xmm2
0x12a7 118 xmm2 = xmm3
0x12ab 119 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x12af 120 xmm3 = xmm3 & xmm2
0x12b3 121 xmm2 = xmm2 & not.o(xmm1)
0x12b7 122 xmm2 = xmm2 | xmm3
0x12bb 123 xmm0 = xmm4
0x12bf 124 xmm1 = xmm2
0x12bf 125 goto 165 @ 0x12c3
0x141a 126 goto 165 @ 0x12c3
0x1210 127 xmm2 = [rsp + (rsi << 2) + 0x10].o
0x1216 128 xmm3 = [rsp + (rsi << 2) + 0x20].o
0x121c 129 xmm4 = [rsp + (rsi << 2) + 0x30].o
0x1222 130 xmm5 = [rsp + (rsi << 2) + 0x40].o
0x1228 131 xmm6 = xmm2
0x122c 132 xmm6 = _mm_cmpgt_epi32(xmm6, xmm0)
0x1230 133 xmm2 = xmm2 & xmm6
0x1234 134 xmm6 = xmm6 & not.o(xmm0)
0x1238 135 xmm6 = xmm6 | xmm2
0x123c 136 xmm2 = xmm3
0x1240 137 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x1244 138 xmm3 = xmm3 & xmm2
0x1248 139 xmm2 = xmm2 & not.o(xmm1)
0x124c 140 xmm2 = xmm2 | xmm3
0x1250 141 xmm0 = xmm4
0x1254 142 xmm0 = _mm_cmpgt_epi32(xmm0, xmm6)
0x1258 143 xmm4 = xmm4 & xmm0
0x125c 144 xmm0 = xmm0 & not.o(xmm6)
0x1260 145 xmm0 = xmm0 | xmm4
0x1264 146 xmm1 = xmm5
0x1268 147 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2)
0x126c 148 xmm5 = xmm5 & xmm1
0x1270 149 xmm1 = xmm1 & not.o(xmm2)
0x1274 150 xmm1 = xmm1 | xmm5
0x1278 151 rsi = rsi + 0x10
0x127c 152 temp0.q = rdi
0x127c 153 rdi = rdi - 2
0x1280 154 if (temp0.q != 2) then 127 @ 0x1210 else 184 @ 0x1285
0x1326 155 ebp = edx
0x1326 156 goto 157 @ 0x1329
0x1329 157 rcx = rcx + 1
0x1330 158 if (rax != rcx) then 99 @ 0x1320 else 13 @ 0x1332
0x13b8 159 edi = esi
0x13b8 160 goto 161 @ 0x13be
0x13be 161 if (esi s>= r14d) then 185 else 187 @ 0x13c2
0x13e4 162 r14d = ecx
0x13e4 163 goto 164
0x13e4 164 goto 23 @ 0x13e8
0x12c3 165 xmm2 = xmm0
0x12c7 166 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x12cb 167 xmm0 = xmm0 & xmm2
0x12cf 168 xmm2 = xmm2 & not.o(xmm1)
0x12d3 169 xmm2 = xmm2 | xmm0
0x12d7 170 xmm0 = _mm_shuffle_epi32(xmm2, 0xee)
0x12dc 171 xmm1 = xmm2
0x12e0 172 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0)
0x12e4 173 xmm2 = xmm2 & xmm1
0x12e8 174 xmm1 = xmm1 & not.o(xmm0)
0x12ec 175 xmm1 = xmm1 | xmm2
0x12f0 176 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x12f5 177 xmm2 = xmm1
0x12f9 178 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0)
0x12fd 179 xmm1 = xmm1 & xmm2
0x1301 180 xmm2 = xmm2 & not.o(xmm0)
0x1305 181 xmm2 = xmm2 | xmm1
0x1309 182 ebp = xmm2.d
0x1310 183 if (rcx == rax) then 13 @ 0x1332 else 189 @ 0x131c
0x1285 184 if ((dl & 1) == 0) then 165 @ 0x12c3 else 111 @ 0x1287
0x13be 185 r14d = edi
0x13be 186 goto 187 @ 0x13c2
0x13c2 187 rcx = rcx + 2
0x13c9 188 if (rdx != rcx) then 52 @ 0x137c else 55 @ 0x13cd
0x131c 189 goto 99 @ 0x1320
int64_t _fini():
0x1424 0 rsp = rsp - 8
0x1428 1 rsp = rsp + 8
0x142c 2 <return> jump(pop)
| POJ_84 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UAWAVAUATSH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 push(r15)
0x1153 2 push(r14)
0x1155 3 push(r13)
0x1157 4 push(r12)
0x1159 5 push(rbx)
0x115a 6 rsp = rsp - 0x3a998
0x1161 7 r14d = 0
0x1164 8 ebp = 0
0x1166 9 goto 10 @ 0x1185
0x1185 10 rsi = rsp + r14
0x1189 11 rsi = rsi + 0x10
0x118d 12 rbx = rsp + r14 + 0x30d50
0x1195 13 r13 = rsp + r14 + 0x27110
0x119d 14 r12 = rsp + r14 + 0x1d4d0
0x11a5 15 r15 = rsp + r14 + 0x13890
0x11ad 16 rax = rsp + r14 + 0x9c50
0x11b5 17 [rsp + 8 {var_3a9c0_1}].q = rax
0x11ba 18 [rsp {var_3a9c8}].q = rax
0x11be 19 rdi = 0x2004 {"%d%d%d%d%d%d"}
0x11c5 20 rdx = rbx
0x11c8 21 rcx = r13
0x11cb 22 r8 = r12
0x11ce 23 r9 = r15
0x11d1 24 eax = 0
0x11d3 25 call(0x1040)
0x11de 26 if ([rsp + r14 + 0x10].d != 0) then 27 @ 0x1170 else 30 @ 0x11e3
0x1170 27 rbp = rbp + 1
0x1174 28 r14 = r14 + 4
0x117f 29 if (r14 == 0x9c40) then 31 @ 0x1216 else 10 @ 0x1185
0x11e3 30 if ([rbx].d != 0) then 27 @ 0x1170 else 33 @ 0x11ea
0x1216 31 ebp = 0x2710 {""}
0x1216 32 goto 34 @ 0x121b
0x11ea 33 if ([r13].d != 0) then 27 @ 0x1170 else 37 @ 0x11f1
0x121b 34 r14 = 0x2011 {"%d\n"}
0x1222 35 ebx = 0
0x122e 36 goto 38 @ 0x1230
0x11f1 37 if ([r12].d != 0) then 27 @ 0x1170 else 54 @ 0x11fb
0x1230 38 eax = [rsp + (rbx << 2) + 0x1d4d0].d
0x1237 39 ecx = [rsp + (rbx << 2) + 0x13890].d
0x123e 40 edx = [rsp + (rbx << 2) + 0x9c50].d
0x1245 41 ecx = ecx - [rsp + (rbx << 2) + 0x30d50].d
0x124c 42 ecx = ecx * 0x3c
0x124f 43 eax = eax - [rsp + (rbx << 2) + 0x10].d
0x1253 44 eax = eax * 0xe10
0x1259 45 edx = edx - [rsp + (rbx << 2) + 0x27110].d
0x1260 46 edx = edx + eax
0x1262 47 esi = (rcx + rdx).d
0x1265 48 esi = esi + 0xa8c0
0x126b 49 rdi = r14
0x126e 50 eax = 0
0x1270 51 call(0x1030)
0x1275 52 rbx = rbx + 1
0x127c 53 if (rbp != rbx) then 38 @ 0x1230 else 55 @ 0x127e
0x11fb 54 if ([r15].d != 0) then 27 @ 0x1170 else 64 @ 0x1201
0x127e 55 eax = 0
0x1280 56 rsp = rsp + 0x3a998
0x1287 57 rbx = pop
0x1288 58 r12 = pop
0x128a 59 r13 = pop
0x128c 60 r14 = pop
0x128e 61 r15 = pop
0x1290 62 rbp = pop
0x1291 63 <return> jump(pop)
0x1201 64 rax = [rsp + 8 {var_3a9c0_1}].q
0x1209 65 if ([rax].d != 0) then 27 @ 0x1170 else 66 @ 0x1212
0x1212 66 if (r14d != 0) then 34 @ 0x121b else 67 @ 0x1214
0x1214 67 goto 55 @ 0x127e
int64_t _fini():
0x1298 0 rsp = rsp - 8
0x129c 1 rsp = rsp + 8
0x12a0 2 <return> jump(pop)
| POJ_87 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UHHE"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 rbp = rsp {__saved_rbp}
0x1154 2 rsp = rsp - 0x10
0x1158 3 [rbp - 4 {var_c}].d = 0
0x115f 4 rdi = 0x2004 {"%d%d"}
0x1166 5 rsi = rbp - 8 {var_10}
0x116a 6 rdx = rbp - 0xc {var_14}
0x116e 7 al = 0
0x1170 8 call(0x1040)
0x1170 9 goto 10 @ 0x1175
0x1175 10 eax = [rbp - 8 {var_10}].d
0x117b 11 if (eax != [rbp - 0xc {var_14}].d) then 12 @ 0x1186 else 14 @ 0x1181
0x1186 12 eax = [rbp - 8 {var_10}].d
0x118c 13 if (eax s<= [rbp - 0xc {var_14}].d) then 15 @ 0x11a5 else 30 @ 0x1192
0x1181 14 goto 45 @ 0x11c7
0x11a5 15 eax = [rbp - 0xc {var_14}].d
0x11a8 16 ecx = 2
0x11ad 17 temp2.d:temp3.d = sx.q(eax)
0x11ad 18 edx = temp2.d
0x11ad 19 eax = temp3.d
0x11ae 20 temp4.d = edx
0x11ae 21 temp5.d = eax
0x11ae 22 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x11ae 23 temp6.d = edx
0x11ae 24 temp7.d = eax
0x11ae 25 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x11ae 26 eax = temp0.d
0x11ae 27 edx = temp1.d
0x11b0 28 [rbp - 0xc {var_14}].d = eax
0x11b0 29 goto 53 @ 0x11b3
0x1192 30 eax = [rbp - 8 {var_10}].d
0x1195 31 ecx = 2
0x119a 32 temp8.d:temp9.d = sx.q(eax)
0x119a 33 edx = temp8.d
0x119a 34 eax = temp9.d
0x119b 35 temp10.d = edx
0x119b 36 temp11.d = eax
0x119b 37 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx)
0x119b 38 temp12.d = edx
0x119b 39 temp13.d = eax
0x119b 40 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx)
0x119b 41 eax = temp0.d
0x119b 42 edx = temp1.d
0x119d 43 [rbp - 8 {var_10}].d = eax
0x11a0 44 goto 53 @ 0x11b3
0x11c7 45 esi = [rbp - 8 {var_10}].d
0x11ca 46 rdi = 0x2006 {"%d"}
0x11d1 47 al = 0
0x11d3 48 call(0x1030)
0x11d8 49 eax = 0
0x11da 50 rsp = rsp + 0x10
0x11de 51 rbp = pop
0x11df 52 <return> jump(pop)
0x11b3 53 goto 54 @ 0x11b8
0x11b8 54 al = 1
0x11bc 55 if ((al & 1) != 0) then 10 @ 0x1175 else 56 @ 0x11c2
0x11c2 56 goto 45 @ 0x11c7
int64_t _fini():
0x11e4 0 rsp = rsp - 8
0x11e8 1 rsp = rsp + 8
0x11ec 2 <return> jump(pop)
| POJ_104 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
uint64_t strlen(char const* arg1):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
int32_t putchar(int32_t c):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"AWAVAUATSH'"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(r15)
0x1162 1 push(r14)
0x1164 2 push(r13)
0x1166 3 push(r12)
0x1168 4 push(rbx)
0x1169 5 rsp = rsp - 0x2790
0x1170 6 rdi = 0x2004 {"%d"}
0x1177 7 rsi = rsp + 0xc {var_27ac}
0x117c 8 eax = 0
0x117e 9 call(0x1040)
0x1188 10 if ([rsp + 0xc {var_27ac}].d s<= 0) then 11 @ 0x12c9 else 19 @ 0x118e
0x12c9 11 eax = 0
0x12cb 12 rsp = rsp + 0x2790
0x12d2 13 rbx = pop
0x12d3 14 r12 = pop
0x12d5 15 r13 = pop
0x12d7 16 r14 = pop
0x12d9 17 r15 = pop
0x12db 18 <return> jump(pop)
0x118e 19 r15 = rsp + 0x80 {var_2738}
0x1196 20 r14 = 0x2007 {"%s"}
0x119d 21 ebx = 0
0x119f 22 goto 23 @ 0x11a0
0x11a0 23 rdi = r14
0x11a3 24 rsi = r15
0x11a6 25 eax = 0
0x11a8 26 call(0x1040)
0x11ad 27 rdi = r15
0x11b0 28 call(0x1030)
0x11b5 29 [rsp + rbx + 0x10].b = al
0x11b9 30 rbx = rbx + 1
0x11bd 31 rax = sx.q([rsp + 0xc {var_27ac}].d)
0x11c2 32 r15 = r15 + 0x64
0x11c9 33 if (rbx s< rax) then 23 @ 0x11a0 else 34 @ 0x11cd
0x11cd 34 if (eax s<= 0) then 11 @ 0x12c9 else 35 @ 0x11d3
0x11d3 35 r13 = rsp + 0x80 {var_2738}
0x11db 36 r14d = 0xfffffffe {""}
0x11e1 37 r15d = 0
0x11e4 38 goto 39 @ 0x1210
0x1210 39 rcx = sx.q([rsp + r15 + 0x10].b)
0x1216 40 eax = zx.d(cl)
0x1219 41 rdx = r15 * 0x64
0x121d 42 rdx = rdx + rsp
0x1220 43 rdx = rdx + 0x80
0x1227 44 cl = [rcx + rdx - 1].b
0x122e 45 if (cl == 0x72) then 46 @ 0x1262 else 47 @ 0x1233
0x1262 46 if (al s< 3) then 48 @ 0x11f0 else 54 @ 0x1264
0x1233 47 if (cl != 0x79) then 57 @ 0x1292 else 58 @ 0x1237
0x11f0 48 edi = 0xa {""}
0x11f5 49 call(0x1050)
0x11fa 50 r15 = r15 + 1
0x11fe 51 rax = sx.q([rsp + 0xc {var_27ac}].d)
0x1203 52 r13 = r13 + 0x64
0x120a 53 if (r15 s>= rax) then 11 @ 0x12c9 else 39 @ 0x1210
0x1264 54 r12d = (rax + r14).d
0x1268 55 ebx = 0
0x126a 56 goto 59 @ 0x1270
0x1292 57 if (al s< 4) then 48 @ 0x11f0 else 63 @ 0x1298
0x1237 58 if (al s< 3) then 48 @ 0x11f0 else 67 @ 0x1239
0x1270 59 edi = sx.d([r13 + rbx].b)
0x1276 60 call(0x1050)
0x127b 61 rbx = rbx + 1
0x1282 62 if (r12 != rbx) then 59 @ 0x1270 else 70 @ 0x1284
0x1298 63 r12d = (r14 + rax).d
0x129c 64 r12d = r12d - 1
0x12a0 65 ebx = 0
0x12ac 66 goto 71 @ 0x12b0
0x1239 67 r12d = (rax + r14).d
0x123d 68 ebx = 0
0x123f 69 goto 75 @ 0x1240
0x1284 70 goto 48 @ 0x11f0
0x12b0 71 edi = sx.d([r13 + rbx].b)
0x12b6 72 call(0x1050)
0x12bb 73 rbx = rbx + 1
0x12c2 74 if (r12 != rbx) then 71 @ 0x12b0 else 79 @ 0x12c4
0x1240 75 edi = sx.d([r13 + rbx].b)
0x1246 76 call(0x1050)
0x124b 77 rbx = rbx + 1
0x1252 78 if (r12 != rbx) then 75 @ 0x1240 else 80 @ 0x1254
0x12c4 79 goto 48 @ 0x11f0
0x1254 80 goto 48 @ 0x11f0
int64_t _fini():
0x12e0 0 rsp = rsp - 8
0x12e4 1 rsp = rsp + 8
0x12e8 2 <return> jump(pop)
| POJ_57 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
uint64_t strlen(char const* arg1):
0x1040 0 <return> tailcall([0x4020].q)
char* gets(char* buf):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UHH"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 rbp = rsp {__saved_rbp}
0x1164 2 rsp = rsp - 0x80
0x116b 3 [rbp - 4 {var_c}].d = 0
0x1172 4 rdi = rbp - 0x70 {var_78}
0x1176 5 al = 0
0x1178 6 call(0x1050)
0x117d 7 rdi = rbp - 0x70 {var_78}
0x1181 8 call(0x1040)
0x1186 9 [rbp - 0x78 {var_80}].d = eax
0x1189 10 [rbp - 0x74 {var_7c}].d = 0
0x1189 11 goto 12 @ 0x1190
0x1190 12 eax = [rbp - 0x74 {var_7c}].d
0x1193 13 eax = eax + 1
0x1199 14 if (eax s>= [rbp - 0x78 {var_80}].d) then 15 @ 0x11da else 30 @ 0x119f
0x11da 15 eax = [rbp - 0x78 {var_80}].d
0x11dd 16 eax = eax - 1
0x11e0 17 rax = sx.q(eax)
0x11e2 18 eax = sx.d([rbp + rax - 0x70].b)
0x11e7 19 ecx = sx.d([rbp - 0x70 {var_78}].b)
0x11eb 20 eax = eax + ecx
0x11ed 21 [rbp - 0x7c {var_84_2}].d = eax
0x11f0 22 esi = [rbp - 0x7c {var_84_2}].d
0x11f3 23 rdi = 0x2004 {"%c"}
0x11fa 24 al = 0
0x11fc 25 call(0x1030)
0x1201 26 eax = 0
0x1203 27 rsp = rsp + 0x80
0x120a 28 rbp = pop
0x120b 29 <return> jump(pop)
0x119f 30 rax = sx.q([rbp - 0x74 {var_7c}].d)
0x11a3 31 eax = sx.d([rbp + rax - 0x70].b)
0x11a8 32 ecx = [rbp - 0x74 {var_7c}].d
0x11ab 33 ecx = ecx + 1
0x11ae 34 rcx = sx.q(ecx)
0x11b1 35 ecx = sx.d([rbp + rcx - 0x70].b)
0x11b6 36 eax = eax + ecx
0x11b8 37 [rbp - 0x7c {var_84_1}].d = eax
0x11bb 38 esi = [rbp - 0x7c {var_84_1}].d
0x11be 39 rdi = 0x2004 {"%c"}
0x11c5 40 al = 0
0x11c7 41 call(0x1030)
0x11cc 42 eax = [rbp - 0x74 {var_7c}].d
0x11cf 43 eax = eax + 1
0x11d2 44 [rbp - 0x74 {var_7c}].d = eax
0x11d5 45 goto 12 @ 0x1190
int64_t _fini():
0x1210 0 rsp = rsp - 8
0x1214 1 rsp = rsp + 8
0x1218 2 <return> jump(pop)
| POJ_91 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
uint64_t strlen(char const* arg1):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UAWAVATSH@H="}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 push(r15)
0x1163 2 push(r14)
0x1165 3 push(r12)
0x1167 4 push(rbx)
0x1168 5 rsp = rsp - 0x40
0x116c 6 rdi = 0x2004 {"%s%s"}
0x1173 7 r12 = rsp + 0x20 {var_48}
0x1178 8 r15 = rsp {var_68}
0x117b 9 rsi = r12 {var_48}
0x117e 10 rdx = r15 {var_68}
0x1181 11 eax = 0
0x1183 12 call(0x1050)
0x1188 13 rdi = r12 {var_48}
0x118b 14 call(0x1040)
0x1190 15 r14 = rax
0x1193 16 rdi = r15 {var_68}
0x1196 17 call(0x1040)
0x119e 18 if (eax s< r14d) then 19 @ 0x1221 else 26 @ 0x11a4
0x1221 19 rsp = rsp + 0x40
0x1225 20 rbx = pop
0x1226 21 r12 = pop
0x1228 22 r14 = pop
0x122a 23 r15 = pop
0x122c 24 rbp = pop
0x122d 25 <return> jump(pop)
0x11a4 26 r9b = [rsp + 0x20 {var_48}].b
0x11a9 27 r10d = (r14 - 1).d
0x11ad 28 r8 = sx.q(r14d)
0x11b0 29 eax = eax - r8d
0x11b3 30 eax = eax + 1
0x11b6 31 r11d = 1
0x11bc 32 esi = 0
0x11be 33 goto 34 @ 0x11c0
0x11c0 34 ecx = 0
0x11c9 35 if ([rsp + rsi].b != r9b) then 36 @ 0x11fe else 37 @ 0x11cb
0x11fe 36 if (ecx == r10d) then 39 @ 0x1213 else 43 @ 0x1200
0x11cb 37 ecx = 0
0x11d4 38 if (r14d s< 2) then 36 @ 0x11fe else 47 @ 0x11d6
0x1213 39 rdi = 0x2009 {"%d\n"}
0x121a 40 eax = 0
0x121c 41 call(0x1030)
0x121c 42 goto 19 @ 0x1221
0x1200 43 rsi = rsi + 1
0x1204 44 r11d = r11d + 1
0x1208 45 r12 = r12 - 1
0x120f 46 if (rsi != rax) then 34 @ 0x11c0 else 51 @ 0x1211
0x11d6 47 r15 = rsi + r8
0x11da 48 rdi = sx.q(r11d)
0x11dd 49 ecx = 0
0x11df 50 goto 52 @ 0x11e0
0x1211 51 goto 19 @ 0x1221
0x11e0 52 ebx = zx.d([r12 + rdi].b)
0x11e5 53 edx = edi
0x11e7 54 ebp = 0
0x11ec 55 bpl = bl == [rsp + rdx].b
0x11f0 56 ecx = ecx + ebp
0x11f2 57 rdi = rdi + 1
0x11f9 58 if (rdi s< r15) then 52 @ 0x11e0 else 36 @ 0x11fe
int64_t _fini():
0x1234 0 rsp = rsp - 8
0x1238 1 rsp = rsp + 8
0x123c 2 <return> jump(pop)
| POJ_45 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t getchar():
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UHH E"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 rbp = rsp {__saved_rbp}
0x1164 2 rsp = rsp - 0x20
0x1168 3 [rbp - 4 {var_c}].d = 0
0x116f 4 [rbp - 0x20 {var_28}].d = 0
0x1176 5 rdi = 0x2004 {"%d"}
0x117d 6 rsi = rbp - 8 {var_10}
0x1181 7 al = 0
0x1183 8 call(0x1050)
0x118c 9 if ([rbp - 8 {var_10}].d s<= 4) then 10 @ 0x11a9 else 12 @ 0x1192
0x11a9 10 [rbp - 0xc {var_14}].d = 2
0x11a9 11 goto 19 @ 0x11b0
0x1192 12 eax = [rbp - 0x20 {var_28}].d
0x1195 13 eax = eax + 1
0x1198 14 [rbp - 0x20 {var_28}].d = eax
0x119b 15 rdi = 0x2007 {"3 5\n"}
0x11a2 16 al = 0
0x11a4 17 call(0x1030)
0x11a4 18 goto 10 @ 0x11a9
0x11b0 19 eax = [rbp - 0xc {var_14}].d
0x11b3 20 ecx = [rbp - 8 {var_10}].d
0x11b6 21 ecx = ecx - 2
0x11bb 22 if (eax s> ecx) then 23 @ 0x12c0 else 24 @ 0x11c1
0x12c0 23 if ([rbp - 0x20 {var_28}].d != 0) then 41 @ 0x12d4 else 61 @ 0x12c6
0x11c1 24 eax = [rbp - 0xc {var_14}].d
0x11c4 25 ecx = 2
0x11c9 26 temp2.d:temp3.d = sx.q(eax)
0x11c9 27 edx = temp2.d
0x11c9 28 eax = temp3.d
0x11ca 29 temp4.d = edx
0x11ca 30 temp5.d = eax
0x11ca 31 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x11ca 32 temp6.d = edx
0x11ca 33 temp7.d = eax
0x11ca 34 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x11ca 35 eax = temp0.d
0x11ca 36 edx = temp1.d
0x11cc 37 [rbp - 0x10 {var_18_1}].d = eax
0x11cf 38 [rbp - 0x14 {var_1c_1}].d = 2
0x11d6 39 [rbp - 0x1c {var_24_1}].d = 0
0x11d6 40 goto 65 @ 0x11dd
0x12d4 41 al = 0
0x12d6 42 call(0x1040)
0x12db 43 al = 0
0x12dd 44 call(0x1040)
0x12e2 45 al = 0
0x12e4 46 call(0x1040)
0x12e9 47 al = 0
0x12eb 48 call(0x1040)
0x12f0 49 al = 0
0x12f2 50 call(0x1040)
0x12f7 51 al = 0
0x12f9 52 call(0x1040)
0x12fe 53 al = 0
0x1300 54 call(0x1040)
0x1305 55 al = 0
0x1307 56 call(0x1040)
0x130c 57 eax = [rbp - 4 {var_c}].d
0x130f 58 rsp = rsp + 0x20
0x1313 59 rbp = pop
0x1314 60 <return> jump(pop)
0x12c6 61 rdi = 0x2013 {"empty"}
0x12cd 62 al = 0
0x12cf 63 call(0x1030)
0x12cf 64 goto 41 @ 0x12d4
0x11dd 65 eax = [rbp - 0x14 {var_1c_1}].d
0x11e3 66 if (eax s> [rbp - 0x10 {var_18_1}].d) then 67 @ 0x1218 else 68 @ 0x11e9
0x1218 67 if ([rbp - 0x1c {var_24_1}].d != 0) then 82 @ 0x12a9 else 83 @ 0x121e
0x11e9 68 eax = [rbp - 0xc {var_14}].d
0x11ec 69 temp8.d:temp9.d = sx.q(eax)
0x11ec 70 edx = temp8.d
0x11ec 71 eax = temp9.d
0x11ed 72 temp10.d = edx
0x11ed 73 temp11.d = eax
0x11ed 74 temp0.d = divs.dp.d(temp10.d:temp11.d, [rbp - 0x14 {var_1c_1}].d)
0x11ed 75 temp12.d = edx
0x11ed 76 temp13.d = eax
0x11ed 77 temp1.d = mods.dp.d(temp12.d:temp13.d, [rbp - 0x14 {var_1c_1}].d)
0x11ed 78 eax = temp0.d
0x11ed 79 edx = temp1.d
0x11f0 80 [rbp - 0x18 {var_20_1}].d = edx
0x11f7 81 if ([rbp - 0x18 {var_20_1}].d != 0) then 103 @ 0x1206 else 107 @ 0x11fd
0x12a9 82 goto 111 @ 0x12ae
0x121e 83 eax = [rbp - 0xc {var_14}].d
0x1221 84 eax = eax + 2
0x1224 85 [rbp - 0xc {var_14}].d = eax
0x1227 86 eax = [rbp - 0xc {var_14}].d
0x122a 87 ecx = 2
0x122f 88 temp14.d:temp15.d = sx.q(eax)
0x122f 89 edx = temp14.d
0x122f 90 eax = temp15.d
0x1230 91 temp16.d = edx
0x1230 92 temp17.d = eax
0x1230 93 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx)
0x1230 94 temp18.d = edx
0x1230 95 temp19.d = eax
0x1230 96 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx)
0x1230 97 eax = temp0.d
0x1230 98 edx = temp1.d
0x1232 99 [rbp - 0x10 {var_18_2}].d = eax
0x1235 100 [rbp - 0x14 {var_1c_2}].d = 2
0x123c 101 [rbp - 0x1c {var_24_2}].d = 0
0x123c 102 goto 115 @ 0x1243
0x1206 103 eax = [rbp - 0x14 {var_1c_1}].d
0x1209 104 eax = eax + 1
0x120c 105 [rbp - 0x14 {var_1c_1}].d = eax
0x120f 106 goto 65 @ 0x11dd
0x11fd 107 eax = [rbp - 0x1c {var_24_1}].d
0x1200 108 eax = eax + 1
0x1203 109 [rbp - 0x1c {var_24_1}].d = eax
0x1203 110 goto 103 @ 0x1206
0x12ae 111 eax = [rbp - 0xc {var_14}].d
0x12b1 112 eax = eax + 1
0x12b4 113 [rbp - 0xc {var_14}].d = eax
0x12b7 114 goto 19 @ 0x11b0
0x1243 115 eax = [rbp - 0x14 {var_1c_2}].d
0x1249 116 if (eax s> [rbp - 0x10 {var_18_2}].d) then 117 @ 0x127e else 118 @ 0x124f
0x127e 117 if ([rbp - 0x1c {var_24_2}].d != 0) then 132 @ 0x12a4 else 133 @ 0x1284
0x124f 118 eax = [rbp - 0xc {var_14}].d
0x1252 119 temp20.d:temp21.d = sx.q(eax)
0x1252 120 edx = temp20.d
0x1252 121 eax = temp21.d
0x1253 122 temp22.d = edx
0x1253 123 temp23.d = eax
0x1253 124 temp0.d = divs.dp.d(temp22.d:temp23.d, [rbp - 0x14 {var_1c_2}].d)
0x1253 125 temp24.d = edx
0x1253 126 temp25.d = eax
0x1253 127 temp1.d = mods.dp.d(temp24.d:temp25.d, [rbp - 0x14 {var_1c_2}].d)
0x1253 128 eax = temp0.d
0x1253 129 edx = temp1.d
0x1256 130 [rbp - 0x18 {var_20_2}].d = edx
0x125d 131 if ([rbp - 0x18 {var_20_2}].d != 0) then 143 @ 0x126c else 147 @ 0x1263
0x12a4 132 goto 82 @ 0x12a9
0x1284 133 eax = [rbp - 0x20 {var_28}].d
0x1287 134 eax = eax + 1
0x128a 135 [rbp - 0x20 {var_28}].d = eax
0x128d 136 esi = [rbp - 0xc {var_14}].d
0x1290 137 esi = esi - 2
0x1293 138 edx = [rbp - 0xc {var_14}].d
0x1296 139 rdi = 0x200c {"%d %d\n"}
0x129d 140 al = 0
0x129f 141 call(0x1030)
0x129f 142 goto 132 @ 0x12a4
0x126c 143 eax = [rbp - 0x14 {var_1c_2}].d
0x126f 144 eax = eax + 1
0x1272 145 [rbp - 0x14 {var_1c_2}].d = eax
0x1275 146 goto 115 @ 0x1243
0x1263 147 eax = [rbp - 0x1c {var_24_2}].d
0x1266 148 eax = eax + 1
0x1269 149 [rbp - 0x1c {var_24_2}].d = eax
0x1269 150 goto 143 @ 0x126c
int64_t _fini():
0x131c 0 rsp = rsp - 8
0x1320 1 rsp = rsp + 8
0x1324 2 <return> jump(pop)
| POJ_60 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
int32_t putchar(int32_t c):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"AVSHxH"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(r14)
0x1162 1 push(rbx)
0x1163 2 rsp = rsp - 0x78
0x1167 3 rbx = 0x2007 {"%d"}
0x116e 4 rsi = rsp {var_88}
0x1171 5 rdi = rbx
0x1174 6 eax = 0
0x1176 7 call(0x1040)
0x117b 8 rsi = rsp + 4 {var_84}
0x1180 9 rdi = rbx
0x1183 10 eax = 0
0x1185 11 call(0x1040)
0x118a 12 rsi = rsp + 8 {var_80}
0x118f 13 rdi = rbx
0x1192 14 eax = 0
0x1194 15 call(0x1040)
0x1199 16 rsi = rsp + 0xc {var_7c}
0x119e 17 rdi = rbx
0x11a1 18 eax = 0
0x11a3 19 call(0x1040)
0x11a8 20 rsi = rsp + 0x10 {var_78}
0x11ad 21 rdi = rbx
0x11b0 22 eax = 0
0x11b2 23 call(0x1040)
0x11b7 24 rsi = rsp + 0x14 {var_74}
0x11bc 25 rdi = rbx
0x11bf 26 eax = 0
0x11c1 27 call(0x1040)
0x11c6 28 rsi = rsp + 0x18 {var_70}
0x11cb 29 rdi = rbx
0x11ce 30 eax = 0
0x11d0 31 call(0x1040)
0x11d5 32 rsi = rsp + 0x1c {var_6c}
0x11da 33 rdi = rbx
0x11dd 34 eax = 0
0x11df 35 call(0x1040)
0x11e4 36 rsi = rsp + 0x20 {var_68}
0x11e9 37 rdi = rbx
0x11ec 38 eax = 0
0x11ee 39 call(0x1040)
0x11f3 40 rsi = rsp + 0x24 {var_64}
0x11f8 41 rdi = rbx
0x11fb 42 eax = 0
0x11fd 43 call(0x1040)
0x1202 44 rsi = rsp + 0x28 {var_60}
0x1207 45 rdi = rbx
0x120a 46 eax = 0
0x120c 47 call(0x1040)
0x1211 48 rsi = rsp + 0x2c {var_5c}
0x1216 49 rdi = rbx
0x1219 50 eax = 0
0x121b 51 call(0x1040)
0x1220 52 rsi = rsp + 0x30 {var_58}
0x1225 53 rdi = rbx
0x1228 54 eax = 0
0x122a 55 call(0x1040)
0x122f 56 rsi = rsp + 0x34 {var_54}
0x1234 57 rdi = rbx
0x1237 58 eax = 0
0x1239 59 call(0x1040)
0x123e 60 rsi = rsp + 0x38 {var_50}
0x1243 61 rdi = rbx
0x1246 62 eax = 0
0x1248 63 call(0x1040)
0x124d 64 rsi = rsp + 0x3c {var_4c}
0x1252 65 rdi = rbx
0x1255 66 eax = 0
0x1257 67 call(0x1040)
0x125c 68 rsi = rsp + 0x40 {var_48}
0x1261 69 rdi = rbx
0x1264 70 eax = 0
0x1266 71 call(0x1040)
0x126b 72 rsi = rsp + 0x44 {var_44}
0x1270 73 rdi = rbx
0x1273 74 eax = 0
0x1275 75 call(0x1040)
0x127a 76 rsi = rsp + 0x48 {var_40}
0x127f 77 rdi = rbx
0x1282 78 eax = 0
0x1284 79 call(0x1040)
0x1289 80 rsi = rsp + 0x4c {var_3c}
0x128e 81 rdi = rbx
0x1291 82 eax = 0
0x1293 83 call(0x1040)
0x1298 84 rsi = rsp + 0x50 {var_38}
0x129d 85 rdi = rbx
0x12a0 86 eax = 0
0x12a2 87 call(0x1040)
0x12a7 88 rsi = rsp + 0x54 {var_34}
0x12ac 89 rdi = rbx
0x12af 90 eax = 0
0x12b1 91 call(0x1040)
0x12b6 92 rsi = rsp + 0x58 {var_30}
0x12bb 93 rdi = rbx
0x12be 94 eax = 0
0x12c0 95 call(0x1040)
0x12c5 96 rsi = rsp + 0x5c {var_2c}
0x12ca 97 rdi = rbx
0x12cd 98 eax = 0
0x12cf 99 call(0x1040)
0x12d4 100 rsi = rsp + 0x60 {var_28}
0x12d9 101 rdi = rbx
0x12dc 102 eax = 0
0x12de 103 call(0x1040)
0x12e3 104 rdi = 0x2004 {"%d %d"}
0x12ea 105 rsi = rsp + 0x74 {var_14}
0x12ef 106 rdx = rsp + 0x70 {var_18}
0x12f4 107 eax = 0
0x12f6 108 call(0x1040)
0x12fb 109 eax = [rsp + 0x74 {var_14}].d
0x1303 110 if (rax u> 4) then 111 @ 0x14e5 else 115 @ 0x1309
0x14e5 111 rdi = 0x200a {"error"}
0x14ec 112 eax = 0
0x14ee 113 call(0x1030)
0x14ee 114 goto 117 @ 0x14f3
0x1309 115 ecx = [rsp + 0x70 {var_18}].d
0x130f 116 if (ecx s< 0) then 111 @ 0x14e5 else 122 @ 0x1318
0x14f3 117 eax = 0
0x14f5 118 rsp = rsp + 0x78
0x14f9 119 rbx = pop
0x14fa 120 r14 = pop
0x14fc 121 <return> jump(pop)
0x1318 122 if (ecx s> 4) then 111 @ 0x14e5 else 123 @ 0x131e
0x131e 123 rcx = rcx + (rcx << 2)
0x1322 124 rax = rax + (rax << 2)
0x1326 125 xmm0 = [rsp + (rcx << 2)].o
0x132a 126 xmm1 = [rsp + (rax << 2)].o
0x132e 127 [rsp + (rcx << 2)].o = xmm1
0x1332 128 [rsp + (rax << 2)].o = xmm0
0x1336 129 edx = [rsp + (rcx << 2) + 0x10].d
0x133a 130 esi = [rsp + (rax << 2) + 0x10].d
0x133e 131 [rsp + (rcx << 2) + 0x10].d = esi
0x1342 132 [rsp + (rax << 2) + 0x10].d = edx
0x1346 133 esi = [rsp {var_88}].d
0x1349 134 r14 = 0x2007 {"%d"}
0x1350 135 rdi = r14
0x1353 136 eax = 0
0x1355 137 call(0x1030)
0x135a 138 esi = [rsp + 4 {var_84}].d
0x135e 139 rbx = 0x2006 {" %d"}
0x1365 140 rdi = rbx
0x1368 141 eax = 0
0x136a 142 call(0x1030)
0x136f 143 esi = [rsp + 8 {var_80}].d
0x1373 144 rdi = rbx
0x1376 145 eax = 0
0x1378 146 call(0x1030)
0x137d 147 esi = [rsp + 0xc {var_7c}].d
0x1381 148 rdi = rbx
0x1384 149 eax = 0
0x1386 150 call(0x1030)
0x138b 151 esi = [rsp + 0x10 {var_78}].d
0x138f 152 rdi = rbx
0x1392 153 eax = 0
0x1394 154 call(0x1030)
0x1399 155 edi = 0xa {""}
0x139e 156 call(0x1050)
0x13a3 157 esi = [rsp + 0x14 {var_74}].d
0x13a7 158 rdi = r14
0x13aa 159 eax = 0
0x13ac 160 call(0x1030)
0x13b1 161 esi = [rsp + 0x18 {var_70}].d
0x13b5 162 rdi = rbx
0x13b8 163 eax = 0
0x13ba 164 call(0x1030)
0x13bf 165 esi = [rsp + 0x1c {var_6c}].d
0x13c3 166 rdi = rbx
0x13c6 167 eax = 0
0x13c8 168 call(0x1030)
0x13cd 169 esi = [rsp + 0x20 {var_68}].d
0x13d1 170 rdi = rbx
0x13d4 171 eax = 0
0x13d6 172 call(0x1030)
0x13db 173 esi = [rsp + 0x24 {var_64}].d
0x13df 174 rdi = rbx
0x13e2 175 eax = 0
0x13e4 176 call(0x1030)
0x13e9 177 edi = 0xa {""}
0x13ee 178 call(0x1050)
0x13f3 179 esi = [rsp + 0x28 {var_60}].d
0x13f7 180 rdi = r14
0x13fa 181 eax = 0
0x13fc 182 call(0x1030)
0x1401 183 esi = [rsp + 0x2c {var_5c}].d
0x1405 184 rdi = rbx
0x1408 185 eax = 0
0x140a 186 call(0x1030)
0x140f 187 esi = [rsp + 0x30 {var_58}].d
0x1413 188 rdi = rbx
0x1416 189 eax = 0
0x1418 190 call(0x1030)
0x141d 191 esi = [rsp + 0x34 {var_54}].d
0x1421 192 rdi = rbx
0x1424 193 eax = 0
0x1426 194 call(0x1030)
0x142b 195 esi = [rsp + 0x38 {var_50}].d
0x142f 196 rdi = rbx
0x1432 197 eax = 0
0x1434 198 call(0x1030)
0x1439 199 edi = 0xa {""}
0x143e 200 call(0x1050)
0x1443 201 esi = [rsp + 0x3c {var_4c}].d
0x1447 202 rdi = r14
0x144a 203 eax = 0
0x144c 204 call(0x1030)
0x1451 205 esi = [rsp + 0x40 {var_48}].d
0x1455 206 rdi = rbx
0x1458 207 eax = 0
0x145a 208 call(0x1030)
0x145f 209 esi = [rsp + 0x44 {var_44}].d
0x1463 210 rdi = rbx
0x1466 211 eax = 0
0x1468 212 call(0x1030)
0x146d 213 esi = [rsp + 0x48 {var_40}].d
0x1471 214 rdi = rbx
0x1474 215 eax = 0
0x1476 216 call(0x1030)
0x147b 217 esi = [rsp + 0x4c {var_3c}].d
0x147f 218 rdi = rbx
0x1482 219 eax = 0
0x1484 220 call(0x1030)
0x1489 221 edi = 0xa {""}
0x148e 222 call(0x1050)
0x1493 223 esi = [rsp + 0x50 {var_38}].d
0x1497 224 rdi = r14
0x149a 225 eax = 0
0x149c 226 call(0x1030)
0x14a1 227 esi = [rsp + 0x54 {var_34}].d
0x14a5 228 rdi = rbx
0x14a8 229 eax = 0
0x14aa 230 call(0x1030)
0x14af 231 esi = [rsp + 0x58 {var_30}].d
0x14b3 232 rdi = rbx
0x14b6 233 eax = 0
0x14b8 234 call(0x1030)
0x14bd 235 esi = [rsp + 0x5c {var_2c}].d
0x14c1 236 rdi = rbx
0x14c4 237 eax = 0
0x14c6 238 call(0x1030)
0x14cb 239 esi = [rsp + 0x60 {var_28}].d
0x14cf 240 rdi = rbx
0x14d2 241 eax = 0
0x14d4 242 call(0x1030)
0x14d9 243 edi = 0xa {""}
0x14de 244 call(0x1050)
0x14e3 245 goto 117 @ 0x14f3
int64_t _fini():
0x1504 0 rsp = rsp - 8
0x1508 1 rsp = rsp + 8
0x150c 2 <return> jump(pop)
| POJ_81 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
int32_t putchar(int32_t c):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UAWAVAUATSHH="}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 push(r15)
0x1163 2 push(r14)
0x1165 3 push(r13)
0x1167 4 push(r12)
0x1169 5 push(rbx)
0x116a 6 rsp = rsp - 0x18
0x116e 7 rdi = 0x2006 {"%d"}
0x1175 8 rsi = rsp + 0xc {var_3c}
0x117a 9 eax = 0
0x117c 10 call(0x1040)
0x1186 11 if ([rsp + 0xc {var_3c}].d s<= 0) then 12 @ 0x1209 else 16 @ 0x118c
0x1209 12 rdi = 0x2009 {"Tie"}
0x1210 13 eax = 0
0x1212 14 call(0x1030)
0x1212 15 goto 23 @ 0x1217
0x118c 16 r14 = 0x2004 {"%d%d"}
0x1193 17 r15 = rsp + 0x14 {var_34}
0x1198 18 r13 = rsp + 0x10 {var_38}
0x119d 19 r12d = 0
0x11a0 20 ebp = 0
0x11a2 21 ebx = 0
0x11a4 22 goto 32 @ 0x11bc
0x1217 23 eax = 0
0x1219 24 rsp = rsp + 0x18
0x121d 25 rbx = pop
0x121e 26 r12 = pop
0x1220 27 r13 = pop
0x1222 28 r14 = pop
0x1224 29 r15 = pop
0x1226 30 rbp = pop
0x1227 31 <return> jump(pop)
0x11bc 32 rdi = r14
0x11bf 33 rsi = r15 {var_34}
0x11c2 34 rdx = r13 {var_38}
0x11c5 35 eax = 0
0x11c7 36 call(0x1040)
0x11cc 37 ecx = [rsp + 0x14 {var_34}].d
0x11d0 38 eax = [rsp + 0x10 {var_38}].d
0x11d6 39 if (ecx == eax) then 40 @ 0x11b3 else 42 @ 0x11da
0x11b3 40 ebx = ebx + 1
0x11ba 41 if (ebx s>= [rsp + 0xc {var_3c}].d) then 43 @ 0x11fd else 32 @ 0x11bc
0x11da 42 if (ecx != 0) then 44 @ 0x11e4 else 45 @ 0x11df
0x11fd 43 if (ebp s> r12d) then 46 @ 0x1228 else 49 @ 0x1202
0x11e4 44 if (ecx != 1) then 50 @ 0x11ee else 51 @ 0x11e9
0x11df 45 if (eax == 1) then 52 @ 0x11b0 else 44 @ 0x11e4
0x1228 46 edi = 0x41 {""}
0x122d 47 call(0x1050)
0x1235 48 if (r12d s<= ebp) then 54 @ 0x1207 else 55 @ 0x1237
0x1202 49 if (r12d s> ebp) then 55 @ 0x1237 else 54 @ 0x1207
0x11ee 50 if (ecx != 2) then 58 @ 0x11f4 else 60 @ 0x11f2
0x11e9 51 if (eax == 2) then 52 @ 0x11b0 else 50 @ 0x11ee
0x11b0 52 ebp = ebp + 1
0x11b0 53 goto 40 @ 0x11b3
0x1207 54 if (ebp != r12d) then 23 @ 0x1217 else 12 @ 0x1209
0x1237 55 edi = 0x42 {""}
0x123c 56 call(0x1050)
0x1244 57 if (ebp == r12d) then 12 @ 0x1209 else 61 @ 0x1246
0x11f4 58 r12d = r12d + 1
0x11f8 59 goto 40 @ 0x11b3
0x11f2 60 if (eax == 0) then 52 @ 0x11b0 else 58 @ 0x11f4
0x1246 61 goto 23 @ 0x1217
int64_t _fini():
0x124c 0 rsp = rsp - 8
0x1250 1 rsp = rsp + 8
0x1254 2 <return> jump(pop)
| POJ_65 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t getchar():
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x11a0 {"UHH"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int64_t exp(int32_t arg1):
0x1160 0 push(rbp)
0x1161 1 rbp = rsp {__saved_rbp}
0x1164 2 [rbp - 4 {var_c}].d = edi
0x1167 3 [rbp - 0xc {var_14}].d = 1
0x116e 4 [rbp - 8 {var_10}].d = 1
0x116e 5 goto 6 @ 0x1175
0x1175 6 eax = [rbp - 8 {var_10}].d
0x117b 7 if (eax s> [rbp - 4 {var_c}].d) then 8 @ 0x1196 else 11 @ 0x1181
0x1196 8 rax = sx.q([rbp - 0xc {var_14}].d)
0x119a 9 rbp = pop
0x119b 10 <return> jump(pop)
0x1181 11 eax = [rbp - 0xc {var_14}].d * 0xa
0x1185 12 [rbp - 0xc {var_14}].d = eax
0x1188 13 eax = [rbp - 8 {var_10}].d
0x118b 14 eax = eax + 1
0x118e 15 [rbp - 8 {var_10}].d = eax
0x1191 16 goto 6 @ 0x1175
int32_t main(int32_t argc, char** argv, char** envp):
0x11a0 0 push(rbp)
0x11a1 1 rbp = rsp {__saved_rbp}
0x11a4 2 rsp = rsp - 0xe0
0x11ab 3 [rbp - 4 {var_c}].d = 0
0x11b2 4 [rbp - 0x1c {var_24}].d = 0
0x11b9 5 [rbp - 0x20 {var_28}].d = 0
0x11c0 6 [rbp - 0x24 {var_2c}].d = 0
0x11c7 7 [rbp - 0x28 {var_30}].d = 1
0x11ce 8 rdi = 0x2007 {"%d"}
0x11d5 9 eax = 0
0x11d7 10 [rbp - 0xc1 {var_c9}].b = al
0x11dd 11 rsi = rbp - 8 {var_10}
0x11e1 12 call(0x1050)
0x11e6 13 al = [rbp - 0xc1 {var_c9}].b
0x11ec 14 ecx = [rbp - 8 {var_10}].d
0x11ef 15 ecx = ecx + 1
0x11f2 16 rdx = rsp {var_e8}
0x11f5 17 [rbp - 0x50 {var_58}].q = rdx {var_e8}
0x11f9 18 rsi = (rcx << 2) + 0xf
0x1201 19 rsi = rsi & 0xfffffffffffffff0
0x1205 20 rdx = rsp {var_e8}
0x1208 21 rdx = rdx - rsi
0x120b 22 [rbp - 0xc0 {var_c8}].q = rdx
0x1212 23 rsp = rdx
0x1215 24 [rbp - 0x58 {var_60}].q = rcx
0x1219 25 ecx = [rbp - 8 {var_10}].d
0x121c 26 ecx = ecx + 1
0x121f 27 rsi = (rcx << 2) + 0xf
0x1227 28 rsi = rsi & 0xfffffffffffffff0
0x122b 29 rdx = rsp
0x122e 30 rdx = rdx - rsi
0x1231 31 [rbp - 0xb8 {var_c0}].q = rdx
0x1238 32 rsp = rdx
0x123b 33 [rbp - 0x60 {var_68}].q = rcx
0x123f 34 ecx = [rbp - 8 {var_10}].d
0x1242 35 ecx = ecx + 1
0x1245 36 rsi = (rcx << 2) + 0xf
0x124d 37 rsi = rsi & 0xfffffffffffffff0
0x1251 38 rdx = rsp
0x1254 39 rdx = rdx - rsi
0x1257 40 [rbp - 0xb0 {var_b8}].q = rdx
0x125e 41 rsp = rdx
0x1261 42 [rbp - 0x68 {var_70}].q = rcx
0x1265 43 ecx = [rbp - 8 {var_10}].d
0x1268 44 ecx = ecx + 1
0x126b 45 rsi = (rcx << 2) + 0xf
0x1273 46 rsi = rsi & 0xfffffffffffffff0
0x1277 47 rdx = rsp
0x127a 48 rdx = rdx - rsi
0x127d 49 [rbp - 0xa8 {var_b0}].q = rdx
0x1284 50 rsp = rdx
0x1287 51 [rbp - 0x70 {var_78}].q = rcx
0x128b 52 ecx = [rbp - 8 {var_10}].d
0x128e 53 ecx = ecx + 1
0x1291 54 rsi = (rcx << 2) + 0xf
0x1299 55 rsi = rsi & 0xfffffffffffffff0
0x129d 56 rdx = rsp
0x12a0 57 rdx = rdx - rsi
0x12a3 58 [rbp - 0xa0 {var_a8}].q = rdx
0x12aa 59 rsp = rdx
0x12ad 60 [rbp - 0x78 {var_80}].q = rcx
0x12b1 61 ecx = [rbp - 8 {var_10}].d
0x12b4 62 ecx = ecx + 1
0x12b7 63 rsi = (rcx << 2) + 0xf
0x12bf 64 rsi = rsi & 0xfffffffffffffff0
0x12c3 65 rdx = rsp
0x12c6 66 rdx = rdx - rsi
0x12c9 67 [rbp - 0x98 {var_a0}].q = rdx
0x12d0 68 rsp = rdx
0x12d3 69 [rbp - 0x80 {var_88}].q = rcx
0x12d7 70 call(0x1040)
0x12dc 71 eax = [rbp - 8 {var_10}].d
0x12df 72 eax = eax + 1
0x12e2 73 rdx = (rax << 3) + 0xf
0x12ea 74 rdx = rdx & 0xfffffffffffffff0
0x12ee 75 rcx = rsp
0x12f1 76 rcx = rcx - rdx
0x12f4 77 [rbp - 0x90 {var_98}].q = rcx
0x12fb 78 rsp = rcx
0x12fe 79 [rbp - 0x88 {var_90}].q = rax
0x1305 80 [rbp - 0xc {var_14}].d = 1
0x1305 81 goto 82 @ 0x130c
0x130c 82 eax = [rbp - 0xc {var_14}].d
0x1312 83 if (eax s> [rbp - 8 {var_10}].d) then 84 @ 0x136a else 86 @ 0x1318
0x136a 84 [rbp - 0xc {var_14_1}].d = 1
0x136a 85 goto 103 @ 0x1371
0x1318 86 rax = [rbp - 0x98 {var_a0}].q
0x131f 87 rcx = [rbp - 0xa8 {var_b0}].q
0x1326 88 rdx = [rbp - 0xb0 {var_b8}].q
0x132d 89 rsi = [rbp - 0xa0 {var_a8}].q
0x1334 90 edi = [rbp - 0xc {var_14}].d
0x1337 91 r8 = sx.q([rbp - 0xc {var_14}].d)
0x133b 92 [rsi + (r8 << 2)].d = edi
0x133f 93 rsi = sx.q([rbp - 0xc {var_14}].d)
0x1343 94 [rdx + (rsi << 2)].d = edi
0x1346 95 rdx = sx.q([rbp - 0xc {var_14}].d)
0x134a 96 [rcx + (rdx << 2)].d = 0
0x1351 97 rcx = sx.q([rbp - 0xc {var_14}].d)
0x1355 98 [rax + (rcx << 2)].d = 0
0x135c 99 eax = [rbp - 0xc {var_14}].d
0x135f 100 eax = eax + 1
0x1362 101 [rbp - 0xc {var_14}].d = eax
0x1365 102 goto 82 @ 0x130c
0x1371 103 eax = [rbp - 0xc {var_14_1}].d
0x1377 104 if (eax s> [rbp - 8 {var_10}].d) then 105 @ 0x13bd else 107 @ 0x137d
0x13bd 105 [rbp - 0xc {var_14_2}].d = 1
0x13bd 106 goto 122 @ 0x13c4
0x137d 107 rdx = [rbp - 0xc0 {var_c8}].q
0x1384 108 rsi = [rbp - 0x90 {var_98}].q
0x138b 109 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x138f 110 rax = rax << 3
0x1393 111 rsi = rsi + rax
0x1396 112 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x139a 113 rax = rax << 2
0x139e 114 rdx = rdx + rax
0x13a1 115 rdi = 0x2004 {"%d %d"}
0x13a8 116 al = 0
0x13aa 117 call(0x1050)
0x13af 118 eax = [rbp - 0xc {var_14_1}].d
0x13b2 119 eax = eax + 1
0x13b5 120 [rbp - 0xc {var_14_1}].d = eax
0x13b8 121 goto 103 @ 0x1371
0x13c4 122 eax = [rbp - 0xc {var_14_2}].d
0x13ca 123 if (eax s> [rbp - 8 {var_10}].d) then 124 @ 0x145d else 126 @ 0x13d0
0x145d 124 [rbp - 0xc {var_14_3}].d = 1
0x145d 125 goto 129 @ 0x1464
0x13d0 126 rax = [rbp - 0xc0 {var_c8}].q
0x13d7 127 rcx = sx.q([rbp - 0xc {var_14_2}].d)
0x13df 128 if ([rax + (rcx << 2)].d s< 0x3c) then 131 @ 0x1438 else 135 @ 0x13e5
0x1464 129 eax = [rbp - 0xc {var_14_3}].d
0x146a 130 if (eax s> [rbp - 8 {var_10}].d) then 153 @ 0x14aa else 155 @ 0x1470
0x1438 131 rax = [rbp - 0xb8 {var_c0}].q
0x143f 132 rcx = sx.q([rbp - 0xc {var_14_2}].d)
0x1443 133 [rax + (rcx << 2)].d = 0
0x1443 134 goto 169 @ 0x144a
0x13e5 135 rax = [rbp - 0x98 {var_a0}].q
0x13ec 136 rcx = [rbp - 0xc0 {var_c8}].q
0x13f3 137 rdx = [rbp - 0xb8 {var_c0}].q
0x13fa 138 rsi = sx.q([rbp - 0xc {var_14_2}].d)
0x13fe 139 [rdx + (rsi << 2)].d = 1
0x1405 140 rdx = sx.q([rbp - 0xc {var_14_2}].d)
0x1409 141 edx = [rcx + (rdx << 2)].d * 0x3e8
0x1410 142 rcx = sx.q([rbp - 0xc {var_14_2}].d)
0x1414 143 edx = edx + [rax + (rcx << 2)].d
0x1417 144 [rax + (rcx << 2)].d = edx
0x141a 145 rcx = sx.q([rbp - 0xc {var_14_2}].d)
0x141e 146 edx = [rax + (rcx << 2)].d
0x1421 147 edx = edx + 0xf4240
0x1427 148 [rax + (rcx << 2)].d = edx
0x142a 149 eax = [rbp - 0x24 {var_2c}].d
0x142d 150 eax = eax + 1
0x1430 151 [rbp - 0x24 {var_2c}].d = eax
0x1433 152 goto 169 @ 0x144a
0x14aa 153 [rbp - 0xc {var_14_4}].d = 1
0x14aa 154 goto 170 @ 0x14b1
0x1470 155 rax = [rbp - 0xa8 {var_b0}].q
0x1477 156 rcx = [rbp - 0x98 {var_a0}].q
0x147e 157 esi = [rbp - 8 {var_10}].d
0x1481 158 esi = esi - [rbp - 0xc {var_14_3}].d
0x1484 159 esi = esi + 1
0x1487 160 rdx = sx.q([rbp - 0xc {var_14_3}].d)
0x148b 161 esi = esi + [rcx + (rdx << 2)].d
0x148e 162 [rcx + (rdx << 2)].d = esi
0x1491 163 rcx = sx.q([rbp - 0xc {var_14_3}].d)
0x1495 164 [rax + (rcx << 2)].d = 0
0x149c 165 eax = [rbp - 0xc {var_14_3}].d
0x149f 166 eax = eax + 1
0x14a2 167 [rbp - 0xc {var_14_3}].d = eax
0x14a5 168 goto 129 @ 0x1464
0x144a 169 goto 172 @ 0x144f
0x14b1 170 eax = [rbp - 0xc {var_14_4}].d
0x14b7 171 if (eax s> [rbp - 8 {var_10}].d) then 176 @ 0x155e else 178 @ 0x14bd
0x144f 172 eax = [rbp - 0xc {var_14_2}].d
0x1452 173 eax = eax + 1
0x1455 174 [rbp - 0xc {var_14_2}].d = eax
0x1458 175 goto 122 @ 0x13c4
0x155e 176 [rbp - 0x18 {var_20}].d = 1
0x155e 177 goto 181 @ 0x1565
0x14bd 178 [rbp - 0x44 {var_4c_1}].d = 0
0x14c4 179 [rbp - 0x10 {var_18_1}].d = 1
0x14c4 180 goto 183 @ 0x14cb
0x1565 181 eax = [rbp - 0x20 {var_28}].d
0x156b 182 if (eax == [rbp - 8 {var_10}].d) then 185 @ 0x15ee else 190 @ 0x1571
0x14cb 183 eax = [rbp - 0x10 {var_18_1}].d
0x14d1 184 if (eax s> [rbp - 8 {var_10}].d) then 193 @ 0x152d else 204 @ 0x14d7
0x15ee 185 eax = [rbp - 0x18 {var_20}].d
0x15f1 186 eax = eax - 1
0x15f4 187 [rbp - 0x18 {var_20_1}].d = eax
0x15f7 188 [rbp - 0xc {var_14_5}].d = 1
0x15f7 189 goto 208 @ 0x15fe
0x1571 190 [rbp - 0x20 {var_28}].d = 0
0x1578 191 [rbp - 0x10 {var_18_2}].d = 1
0x1578 192 goto 210 @ 0x157f
0x152d 193 rax = [rbp - 0xa8 {var_b0}].q
0x1534 194 rcx = [rbp - 0xb0 {var_b8}].q
0x153b 195 esi = [rbp - 0x40 {var_48}].d
0x153e 196 rdx = sx.q([rbp - 0xc {var_14_4}].d)
0x1542 197 [rcx + (rdx << 2)].d = esi
0x1545 198 rcx = sx.q([rbp - 0x40 {var_48}].d)
0x1549 199 [rax + (rcx << 2)].d = 1
0x1550 200 eax = [rbp - 0xc {var_14_4}].d
0x1553 201 eax = eax + 1
0x1556 202 [rbp - 0xc {var_14_4}].d = eax
0x1559 203 goto 170 @ 0x14b1
0x14d7 204 rax = [rbp - 0x98 {var_a0}].q
0x14de 205 rcx = sx.q([rbp - 0x10 {var_18_1}].d)
0x14e2 206 eax = [rax + (rcx << 2)].d
0x14e8 207 if (eax s<= [rbp - 0x44 {var_4c_1}].d) then 212 @ 0x151a else 213 @ 0x14ee
0x15fe 208 eax = [rbp - 0xc {var_14_5}].d
0x1604 209 if (eax s> [rbp - 8 {var_10}].d) then 216 @ 0x16b6 else 227 @ 0x160a
0x157f 210 eax = [rbp - 0x10 {var_18_2}].d
0x1585 211 if (eax s> [rbp - 8 {var_10}].d) then 229 @ 0x15db else 230 @ 0x158b
0x151a 212 goto 240 @ 0x151f
0x14ee 213 rax = [rbp - 0xa8 {var_b0}].q
0x14f5 214 rcx = sx.q([rbp - 0x10 {var_18_1}].d)
0x14fd 215 if ([rax + (rcx << 2)].d != 0) then 212 @ 0x151a else 244 @ 0x1503
0x16b6 216 al = 0
0x16b8 217 call(0x1040)
0x16bd 218 al = 0
0x16bf 219 call(0x1040)
0x16c4 220 [rbp - 4 {var_c_1}].d = 0
0x16cb 221 rax = [rbp - 0x50].q {var_e8}
0x16cf 222 rsp = rax
0x16d2 223 eax = [rbp - 4 {var_c_1}].d
0x16d5 224 rsp = rbp
0x16d8 225 rbp = pop
0x16d9 226 <return> jump(pop)
0x160a 227 [rbp - 0x10 {var_18_3}].d = 1
0x160a 228 goto 251 @ 0x1611
0x15db 229 goto 253 @ 0x15e0
0x158b 230 rax = [rbp - 0x90 {var_98}].q
0x1592 231 rcx = sx.q([rbp - 0x10 {var_18_2}].d)
0x1596 232 rax = [rax + (rcx << 3)].q
0x159a 233 [rbp - 0xd0 {var_d8_1}].q = rax
0x15a1 234 edi = [rbp - 0x18 {var_20}].d
0x15a4 235 edi = edi - 1
0x15a7 236 call(0x1160)
0x15ac 237 rcx = rax
0x15af 238 rax = [rbp - 0xd0 {var_d8_1}].q
0x15b9 239 if (rax s>= rcx) then 257 @ 0x15c8 else 258 @ 0x15bf
0x151f 240 eax = [rbp - 0x10 {var_18_1}].d
0x1522 241 eax = eax + 1
0x1525 242 [rbp - 0x10 {var_18_1}].d = eax
0x1528 243 goto 183 @ 0x14cb
0x1503 244 rax = [rbp - 0x98 {var_a0}].q
0x150a 245 rcx = sx.q([rbp - 0x10 {var_18_1}].d)
0x150e 246 eax = [rax + (rcx << 2)].d
0x1511 247 [rbp - 0x44 {var_4c_1}].d = eax
0x1514 248 eax = [rbp - 0x10 {var_18_1}].d
0x1517 249 [rbp - 0x40 {var_48}].d = eax
0x1517 250 goto 212 @ 0x151a
0x1611 251 eax = [rbp - 0x10 {var_18_3}].d
0x1617 252 if (eax s> [rbp - 0x18 {var_20_1}].d) then 262 @ 0x1680 else 274 @ 0x161d
0x15e0 253 eax = [rbp - 0x18 {var_20}].d
0x15e3 254 eax = eax + 1
0x15e6 255 [rbp - 0x18 {var_20}].d = eax
0x15e9 256 goto 181 @ 0x1565
0x15c8 257 goto 287 @ 0x15cd
0x15bf 258 eax = [rbp - 0x20 {var_28}].d
0x15c2 259 eax = eax + 1
0x15c5 260 [rbp - 0x20 {var_28}].d = eax
0x15c5 261 goto 257 @ 0x15c8
0x1680 262 rax = [rbp - 0x90 {var_98}].q
0x1687 263 rcx = [rbp - 0xb0 {var_b8}].q
0x168e 264 rdx = sx.q([rbp - 0xc {var_14_5}].d)
0x1692 265 rcx = sx.q([rcx + (rdx << 2)].d)
0x1696 266 rsi = [rax + (rcx << 3)].q
0x169a 267 rdi = 0x200c {"%d\n"}
0x16a1 268 al = 0
0x16a3 269 call(0x1030)
0x16a8 270 eax = [rbp - 0xc {var_14_5}].d
0x16ab 271 eax = eax + 1
0x16ae 272 [rbp - 0xc {var_14_5}].d = eax
0x16b1 273 goto 208 @ 0x15fe
0x161d 274 rax = [rbp - 0x90 {var_98}].q
0x1624 275 rcx = [rbp - 0xb0 {var_b8}].q
0x162b 276 rdx = sx.q([rbp - 0xc {var_14_5}].d)
0x162f 277 rcx = sx.q([rcx + (rdx << 2)].d)
0x1633 278 rax = [rax + (rcx << 3)].q
0x1637 279 [rbp - 0xd8 {var_e0_1}].q = rax
0x163e 280 edi = [rbp - 0x18 {var_20_1}].d
0x1641 281 edi = edi - [rbp - 0x10 {var_18_3}].d
0x1644 282 edi = edi - 1
0x1647 283 call(0x1160)
0x164c 284 rcx = rax
0x164f 285 rax = [rbp - 0xd8 {var_e0_1}].q
0x1659 286 if (rax s>= rcx) then 291 @ 0x166d else 292 @ 0x165f
0x15cd 287 eax = [rbp - 0x10 {var_18_2}].d
0x15d0 288 eax = eax + 1
0x15d3 289 [rbp - 0x10 {var_18_2}].d = eax
0x15d6 290 goto 210 @ 0x157f
0x166d 291 goto 296 @ 0x1672
0x165f 292 rdi = 0x200a {"0"}
0x1666 293 al = 0
0x1668 294 call(0x1030)
0x1668 295 goto 291 @ 0x166d
0x1672 296 eax = [rbp - 0x10 {var_18_3}].d
0x1675 297 eax = eax + 1
0x1678 298 [rbp - 0x10 {var_18_3}].d = eax
0x167b 299 goto 251 @ 0x1611
int64_t _fini():
0x16e0 0 rsp = rsp - 8
0x16e4 1 rsp = rsp + 8
0x16e8 2 <return> jump(pop)
| POJ_9 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
char* gets(char* buf):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UHH`B"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 rbp = rsp {__saved_rbp}
0x1164 2 rsp = rsp - 0xf4260
0x116b 3 rdi = 0x2004 {"%d\n"}
0x1172 4 rsi = rbp - 0xf425c {var_f4264}
0x1179 5 al = 0
0x117b 6 call(0x1040)
0x1180 7 rax = rbp - 0xf4240 {var_f4248}
0x1187 8 [rbp - 0xf4248 {var_f4250}].q = rax {var_f4248}
0x1187 9 goto 10 @ 0x118e
0x118e 10 rax = [rbp - 0xf4248 {var_f4250}].q
0x1195 11 rcx = rbp - 0xf4240 {var_f4248}
0x119c 12 rdx = sx.q([rbp - 0xf425c {var_f4264}].d)
0x11a3 13 rdx = rdx * 0x186a0
0x11aa 14 rcx = rcx + rdx
0x11b0 15 if (rax u>= rcx) then 16 @ 0x11dd else 19 @ 0x11b6
0x11dd 16 rax = rbp - 0xf4240 {var_f4248}
0x11e4 17 [rbp - 0xf4248 {var_f4250_1}].q = rax {var_f4248}
0x11e4 18 goto 26 @ 0x11eb
0x11b6 19 rdi = [rbp - 0xf4248 {var_f4250}].q
0x11bd 20 al = 0
0x11bf 21 call(0x1050)
0x11c4 22 rax = [rbp - 0xf4248 {var_f4250}].q
0x11cb 23 rax = rax + 0x186a0
0x11d1 24 [rbp - 0xf4248 {var_f4250}].q = rax
0x11d8 25 goto 10 @ 0x118e
0x11eb 26 rax = [rbp - 0xf4248 {var_f4250_1}].q
0x11f2 27 rcx = rbp - 0xf4240 {var_f4248}
0x11f9 28 rdx = sx.q([rbp - 0xf425c {var_f4264}].d)
0x1200 29 rdx = rdx * 0x186a0
0x1207 30 rcx = rcx + rdx
0x120d 31 if (rax u>= rcx) then 32 @ 0x1325 else 35 @ 0x1213
0x1325 32 rsp = rsp + 0xf4260
0x132c 33 rbp = pop
0x132d 34 <return> jump(pop)
0x1213 35 rax = [rbp - 0xf4248 {var_f4250_1}].q
0x121a 36 [rbp - 0xf4250 {var_f4258_1}].q = rax
0x121a 37 goto 38 @ 0x1221
0x1221 38 rax = [rbp - 0xf4250 {var_f4258_1}].q
0x1228 39 eax = sx.d([rax].b)
0x122e 40 if (eax == 0) then 41 @ 0x12f3 else 42 @ 0x1234
0x12f3 41 if ([rbp - 0xf4260 {var_f4268}].d == 1) then 46 @ 0x1307 else 47 @ 0x12f9
0x1234 42 [rbp - 0xf4260 {var_f4268}].d = 0
0x123e 43 rax = [rbp - 0xf4248 {var_f4250_1}].q
0x1245 44 [rbp - 0xf4258 {var_f4260_1}].q = rax
0x1245 45 goto 51 @ 0x124c
0x1307 46 goto 54 @ 0x130c
0x12f9 47 rdi = 0x200c {"no\n"}
0x1300 48 al = 0
0x1302 49 call(0x1030)
0x1302 50 goto 46 @ 0x1307
0x124c 51 rax = [rbp - 0xf4258 {var_f4260_1}].q
0x1253 52 eax = sx.d([rax].b)
0x1259 53 if (eax == 0) then 58 @ 0x12ad else 59 @ 0x125f
0x130c 54 rax = [rbp - 0xf4248 {var_f4250_1}].q
0x1313 55 rax = rax + 0x186a0
0x1319 56 [rbp - 0xf4248 {var_f4250_1}].q = rax
0x1320 57 goto 26 @ 0x11eb
0x12ad 58 if ([rbp - 0xf4260 {var_f4268}].d != 1) then 64 @ 0x12d0 else 65 @ 0x12b3
0x125f 59 rax = [rbp - 0xf4250 {var_f4258_1}].q
0x1266 60 eax = sx.d([rax].b)
0x1269 61 rcx = [rbp - 0xf4258 {var_f4260_1}].q
0x1270 62 ecx = sx.d([rcx].b)
0x1275 63 if (eax != ecx) then 71 @ 0x128a else 72 @ 0x127b
0x12d0 64 goto 76 @ 0x12d5
0x12b3 65 rax = [rbp - 0xf4250 {var_f4258_1}].q
0x12ba 66 esi = sx.d([rax].b)
0x12bd 67 rdi = 0x2008 {"%c\n"}
0x12c4 68 al = 0
0x12c6 69 call(0x1030)
0x12cb 70 goto 41 @ 0x12f3
0x128a 71 goto 80 @ 0x128f
0x127b 72 eax = [rbp - 0xf4260 {var_f4268}].d
0x1281 73 eax = eax + 1
0x1284 74 [rbp - 0xf4260 {var_f4268}].d = eax
0x1284 75 goto 71 @ 0x128a
0x12d5 76 rax = [rbp - 0xf4250 {var_f4258_1}].q
0x12dc 77 rax = rax + 1
0x12e0 78 [rbp - 0xf4250 {var_f4258_1}].q = rax
0x12e7 79 goto 38 @ 0x1221
0x128f 80 rax = [rbp - 0xf4258 {var_f4260_1}].q
0x1296 81 rax = rax + 1
0x129a 82 [rbp - 0xf4258 {var_f4260_1}].q = rax
0x12a1 83 goto 51 @ 0x124c
int64_t _fini():
0x1334 0 rsp = rsp - 8
0x1338 1 rsp = rsp + 8
0x133c 2 <return> jump(pop)
| POJ_37 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
char* gets(char* buf):
0x1040 0 <return> tailcall([0x4020].q)
int32_t puts(char const* str):
0x1050 0 <return> tailcall([0x4028].q)
int32_t putchar(int32_t c):
0x1060 0 <return> tailcall([0x4030].q)
void __cxa_finalize(void* d):
0x1070 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1084 0 ebp = 0
0x1086 1 r9 = rdx
0x1089 2 rsi = pop
0x108a 3 rdx = rsp {arg_8}
0x108d 4 rsp = rsp & 0xfffffffffffffff0
0x1091 5 push(rax)
0x1092 6 push(rsp)
0x1093 7 r8d = 0
0x1096 8 ecx = 0
0x1098 9 rdi = 0x1170 {"AWAVSH"}
0x109f 10 call([0x3ff8].q)
0x109f 11 noreturn
void deregister_tm_clones():
0x10b0 0 rdi = 0x4048 {""}
0x10b7 1 rax = 0x4048 {""}
0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3
0x10d8 3 <return> jump(pop)
0x10c3 4 rax = [0x3fd8].q
0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf
0x10cf 6 <return> tailcall(rax)
void register_tm_clones():
0x10e0 0 rdi = 0x4048 {""}
0x10e7 1 rsi = 0x4048 {""}
0x10ee 2 rsi = rsi - rdi
0x10f1 3 rax = rsi
0x10f4 4 rsi = rsi u>> 0x3f
0x10f8 5 rax = rax s>> 3
0x10fc 6 rsi = rsi + rax
0x10ff 7 rsi = rsi s>> 1
0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104
0x1118 9 <return> jump(pop)
0x1104 10 rax = [0x3ff0].q
0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110
0x1110 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d
0x1158 1 <return> jump(pop)
0x112d 2 push(rbp)
0x112e 3 cond:0 = [0x3fe0].q == 0
0x1136 4 rbp = rsp {__saved_rbp}
0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b
0x1147 6 call(0x10b0)
0x114c 7 [0x4048].b = 1
0x1153 8 rbp = pop
0x1154 9 <return> jump(pop)
0x113b 10 rdi = [0x4040].q
0x1142 11 call(0x1070)
0x1142 12 goto 6 @ 0x1147
int64_t frame_dummy():
0x1164 0 <return> tailcall(0x10e0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1170 0 push(r15)
0x1172 1 push(r14)
0x1174 2 push(rbx)
0x1175 3 rsp = rsp - 0xe0
0x117c 4 rdi = rsp {var_f8}
0x117f 5 eax = 0
0x1181 6 call(0x1040)
0x1186 7 al = [rsp + 1 {var_f7}].b
0x118c 8 if (al == 0) then 9 @ 0x11c9 else 14 @ 0x118e
0x11c9 9 rdi = 0x200a {"0"}
0x11d0 10 call(0x1050)
0x11d5 11 edi = sx.d([rsp {var_f8}].b)
0x11d9 12 call(0x1060)
0x11de 13 goto 17 @ 0x1349
0x118e 14 cond:0 = [rsp + 2 {var_f6}].b != 0
0x1193 15 cl = [rsp {var_f8}].b
0x1196 16 if (cond:0) then 23 @ 0x11e3 else 38 @ 0x119b
0x1349 17 eax = 0
0x134b 18 rsp = rsp + 0xe0
0x1352 19 rbx = pop
0x1353 20 r14 = pop
0x1355 21 r15 = pop
0x1357 22 <return> jump(pop)
0x11e3 23 eax = sx.d(cl)
0x11e6 24 eax = eax - 0x30
0x11e9 25 r15 = sx.q(eax)
0x11ec 26 rax = r15 * 0x4ec4ec4f
0x11f3 27 rcx = rax
0x11f6 28 rcx = rcx u>> 0x3f
0x11fa 29 rax = rax s>> 0x22
0x11fe 30 eax = eax + ecx
0x1200 31 ecx = (rax + (rax << 1)).d
0x1203 32 ecx = (rax + (rcx << 2)).d
0x1206 33 r15d = r15d - ecx
0x1209 34 cl = [rsp + 1 {var_f7}].b
0x120d 35 al = al + 0x30
0x120f 36 [rsp + 0x70 {var_88_1}].b = al
0x1215 37 if (cl == 0) then 39 @ 0x1261 else 42 @ 0x1217
0x119b 38 if (cl != 0x31) then 23 @ 0x11e3 else 44 @ 0x119f
0x1261 39 al = [rsp + 0x70 {var_88_1}].b
0x1265 40 cl = [rsp + 0x71 {var_87}].b
0x126b 41 if (al != 0x30) then 45 @ 0x12ad else 46 @ 0x1270
0x1217 42 eax = 0
0x1219 43 goto 47 @ 0x1220
0x119f 44 if (al s> 0x32) then 65 @ 0x12e9 else 71 @ 0x11a5
0x12ad 45 if (al != 0x30) then 78 @ 0x1306 else 80 @ 0x12b2
0x1270 46 if (cl == 0x30) then 45 @ 0x12ad else 81 @ 0x1272
0x1220 47 edx = (r15 + (r15 << 2)).d
0x1224 48 ecx = sx.d(cl)
0x1227 49 ecx = (rcx + (rdx << 1)).d
0x122a 50 ecx = ecx - 0x30
0x122d 51 r15 = sx.q(ecx)
0x1230 52 rdx = r15 * 0x4ec4ec4f
0x1237 53 rcx = rdx
0x123a 54 rcx = rcx u>> 0x3f
0x123e 55 rdx = rdx s>> 0x22
0x1242 56 edx = edx + ecx
0x1244 57 ecx = (rdx + (rdx << 1)).d
0x1247 58 ecx = (rdx + (rcx << 2)).d
0x124a 59 r15d = r15d - ecx
0x124d 60 ecx = zx.d([rsp + rax + 2].b)
0x1252 61 dl = dl + 0x30
0x1255 62 [rsp + rax + 0x71].b = dl
0x1259 63 rax = rax + 1
0x125f 64 if (cl != 0) then 47 @ 0x1220 else 39 @ 0x1261
0x12e9 65 rdi = 0x2008 {"1"}
0x12f0 66 call(0x1050)
0x12f5 67 esi = sx.d([rsp + 1 {var_f7}].b)
0x12fa 68 esi = esi - 0x33
0x12fd 69 rdi = 0x2005 {"%d"}
0x1304 70 goto 83 @ 0x1342
0x11a5 71 rdi = 0x200a {"0"}
0x11ac 72 call(0x1050)
0x11b1 73 edi = sx.d([rsp {var_f8}].b)
0x11b5 74 call(0x1060)
0x11ba 75 edi = sx.d([rsp + 1 {var_f7}].b)
0x11bf 76 call(0x1060)
0x11c4 77 goto 17 @ 0x1349
0x1306 78 ecx = (rax - 0x30).d
0x130c 79 if (cl u> 9) then 86 @ 0x1338 else 89 @ 0x130e
0x12b2 80 if (cl != 0x30) then 78 @ 0x1306 else 91 @ 0x12b4
0x1272 81 eax = (rcx - 0x30).d
0x1277 82 if (al u> 9) then 86 @ 0x1338 else 94 @ 0x127d
0x1342 83 eax = 0
0x1344 84 call(0x1030)
0x1344 85 goto 17 @ 0x1349
0x1338 86 rdi = 0x2004 {"\n%d"}
0x133f 87 esi = r15d
0x133f 88 goto 83 @ 0x1342
0x130e 89 r14 = rsp + 0x71 {var_87}
0x131d 90 goto 96 @ 0x1320
0x12b4 91 al = [rsp + 0x72 {var_86}].b
0x12b8 92 ecx = (rax - 0x30).d
0x12be 93 if (cl u> 9) then 86 @ 0x1338 else 102 @ 0x12c0
0x127d 94 rbx = rsp + 0x72 {var_86}
0x128c 95 goto 104 @ 0x1290
0x1320 96 edi = zx.d(al)
0x1323 97 call(0x1060)
0x1328 98 eax = zx.d([r14].b)
0x132c 99 ecx = (rax - 0x30).d
0x132f 100 r14 = r14 + 1
0x1336 101 if (cl u< 0xa) then 96 @ 0x1320 else 86 @ 0x1338
0x12c0 102 rbx = rsp + 0x73 {var_85}
0x12cf 103 goto 110 @ 0x12d0
0x1290 104 edi = zx.d(cl)
0x1293 105 call(0x1060)
0x1298 106 ecx = zx.d([rbx].b)
0x129b 107 eax = (rcx - 0x30).d
0x129e 108 rbx = rbx + 1
0x12a4 109 if (al u< 0xa) then 104 @ 0x1290 else 116 @ 0x12a6
0x12d0 110 edi = zx.d(al)
0x12d3 111 call(0x1060)
0x12d8 112 eax = zx.d([rbx].b)
0x12db 113 ecx = (rax - 0x30).d
0x12de 114 rbx = rbx + 1
0x12e5 115 if (cl u< 0xa) then 110 @ 0x12d0 else 117 @ 0x12e7
0x12a6 116 goto 86 @ 0x1338
0x12e7 117 goto 86 @ 0x1338
int64_t _fini():
0x135c 0 rsp = rsp - 8
0x1360 1 rsp = rsp + 8
0x1364 2 <return> jump(pop)
| POJ_96 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int64_t memset(void* arg1, int32_t arg2, uint64_t arg3):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UAWAVSH."}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 push(r15)
0x1163 2 push(r14)
0x1165 3 push(rbx)
0x1166 4 rsp = rsp - 0x2ef8
0x116d 5 rdi = rsp + 0x10 {var_2f08}
0x1172 6 edx = 0xfa0 {""}
0x1177 7 esi = 0
0x1179 8 call(0x1040)
0x117e 9 rbx = rsp + 0x1f54 {var_fc4}
0x1186 10 r14 = 0x2004 {"%d%c"}
0x118d 11 r15 = rsp + 0xf {var_2f09}
0x1192 12 ebp = 0
0x119e 13 goto 14 @ 0x11a0
0x11a0 14 rdi = r14
0x11a3 15 rsi = rbx
0x11a6 16 rdx = r15 {var_2f09}
0x11a9 17 eax = 0
0x11ab 18 call(0x1050)
0x11b0 19 ebp = ebp + 1
0x11b3 20 rbx = rbx + 4
0x11bc 21 if ([rsp + 0xf {var_2f09}].b != 0xa) then 14 @ 0x11a0 else 22 @ 0x11be
0x11be 22 rbx = rsp + 0xfb4 {var_1f64}
0x11c6 23 r14 = 0x2004 {"%d%c"}
0x11cd 24 r15 = rsp + 0xe {var_2f0a}
0x11dc 25 goto 26 @ 0x11e0
0x11e0 26 rdi = r14
0x11e3 27 rsi = rbx
0x11e6 28 rdx = r15 {var_2f0a}
0x11e9 29 eax = 0
0x11eb 30 call(0x1050)
0x11f0 31 rbx = rbx + 4
0x11f9 32 if ([rsp + 0xe {var_2f0a}].b != 0xa) then 26 @ 0x11e0 else 33 @ 0x11fb
0x11fb 33 rdi = 0x2009 {"%d "}
0x1202 34 esi = ebp
0x1204 35 eax = 0
0x1206 36 call(0x1030)
0x120b 37 cond:0 = ebp u>= 2
0x120e 38 eax = 1
0x1213 39 if (cond:0) then 40 else 42 @ 0x1216
0x1213 40 eax = ebp
0x1213 41 goto 42 @ 0x1216
0x1216 42 eax = eax + 1
0x1219 43 rcx = rax - 1
0x121d 44 rdx = rcx
0x1220 45 rdx = rdx & 0xfffffffffffffffe
0x1224 46 rdx = neg.q(rdx)
0x1227 47 esi = 1
0x122c 48 goto 49 @ 0x1241
0x1241 49 edi = 1
0x1249 50 if (eax != 2) then 51 @ 0x1280 else 53 @ 0x124e
0x1280 51 edi = 1
0x1285 52 goto 54 @ 0x12a2
0x124e 53 if ((cl & 1) == 0) then 56 @ 0x1230 else 58 @ 0x1250
0x12a2 54 rbp = sx.q([rsp + (rdi << 2) + 0x1f50].d)
0x12ad 55 if (rsi s< rbp) then 60 @ 0x12c1 else 62 @ 0x12af
0x1230 56 rsi = rsi + 1
0x123b 57 if (rsi == 0x3e8) then 64 @ 0x12e2 else 49 @ 0x1241
0x1250 58 rbp = sx.q([rsp + (rdi << 2) + 0x1f50].d)
0x125b 59 if (rsi s< rbp) then 56 @ 0x1230 else 69 @ 0x125d
0x12c1 60 rbp = sx.q([rsp + (rdi << 2) + 0x1f54].d)
0x12cc 61 if (rsi s< rbp) then 71 @ 0x1290 else 75 @ 0x12ce
0x12af 62 rbp = sx.q([rsp + (rdi << 2) + 0xfb0].d)
0x12ba 63 if (rsi s>= rbp) then 60 @ 0x12c1 else 77 @ 0x12bc
0x12e2 64 xmm0 = [rsp + 0x14 {var_2f04}].o
0x12e8 65 xmm0 = _mm_shuffle_epi32(xmm0, 0)
0x12ed 66 eax = 0xe {""}
0x12f2 67 xmm1 = xmm0
0x12f6 68 goto 79 @ 0x1300
0x125d 69 rdi = sx.q([rsp + (rdi << 2) + 0xfb0].d)
0x1268 70 if (rsi s>= rdi) then 56 @ 0x1230 else 105 @ 0x126a
0x1290 71 rbp = rdx + rdi
0x1294 72 rbp = rbp + 2
0x1298 73 rdi = rdi + 2
0x12a0 74 if (rbp == 1) then 53 @ 0x124e else 54 @ 0x12a2
0x12ce 75 rbp = sx.q([rsp + (rdi << 2) + 0xfb4].d)
0x12d9 76 if (rsi s>= rbp) then 71 @ 0x1290 else 107 @ 0x12db
0x12bc 77 [rsp + (rsi << 2) + 0x10].d = [rsp + (rsi << 2) + 0x10].d + 1
0x12bc 78 goto 60 @ 0x12c1
0x1300 79 xmm2 = [rsp + (rax << 2) - 0x20].o
0x1306 80 xmm3 = [rsp + (rax << 2) - 0x10].o
0x130c 81 xmm4 = [rsp + (rax << 2)].o
0x1311 82 xmm5 = [rsp + (rax << 2) + 0x10].o
0x1317 83 xmm6 = xmm0
0x131b 84 xmm6 = _mm_cmpgt_epi32(xmm6, xmm2)
0x131f 85 xmm0 = xmm0 & xmm6
0x1323 86 xmm6 = xmm6 & not.o(xmm2)
0x1327 87 xmm6 = xmm6 | xmm0
0x132b 88 xmm2 = xmm1
0x132f 89 xmm2 = _mm_cmpgt_epi32(xmm2, xmm3)
0x1333 90 xmm1 = xmm1 & xmm2
0x1337 91 xmm2 = xmm2 & not.o(xmm3)
0x133b 92 xmm2 = xmm2 | xmm1
0x133f 93 xmm0 = xmm6
0x1343 94 xmm0 = _mm_cmpgt_epi32(xmm0, xmm4)
0x1347 95 xmm6 = xmm6 & xmm0
0x134b 96 xmm0 = xmm0 & not.o(xmm4)
0x134f 97 xmm0 = xmm0 | xmm6
0x1353 98 xmm1 = xmm2
0x1357 99 xmm1 = _mm_cmpgt_epi32(xmm1, xmm5)
0x135b 100 xmm2 = xmm2 & xmm1
0x135f 101 xmm1 = xmm1 & not.o(xmm5)
0x1363 102 xmm1 = xmm1 | xmm2
0x1367 103 rax = rax + 0x10
0x1371 104 if (rax != 0x3ee) then 79 @ 0x1300 else 109 @ 0x1373
0x126a 105 [rsp + (rsi << 2) + 0x10].d = [rsp + (rsi << 2) + 0x10].d + 1
0x126f 106 goto 56 @ 0x1230
0x12db 107 [rsp + (rsi << 2) + 0x10].d = [rsp + (rsi << 2) + 0x10].d + 1
0x12e0 108 goto 71 @ 0x1290
0x1373 109 xmm2 = xmm0
0x1377 110 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x137b 111 xmm0 = xmm0 & xmm2
0x137f 112 xmm2 = xmm2 & not.o(xmm1)
0x1383 113 xmm2 = xmm2 | xmm0
0x1387 114 xmm0 = _mm_shuffle_epi32(xmm2, 0xee)
0x138c 115 xmm1 = xmm2
0x1390 116 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0)
0x1394 117 xmm2 = xmm2 & xmm1
0x1398 118 xmm1 = xmm1 & not.o(xmm0)
0x139c 119 xmm1 = xmm1 | xmm2
0x13a0 120 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x13a5 121 xmm2 = xmm1
0x13a9 122 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0)
0x13ad 123 xmm1 = xmm1 & xmm2
0x13b1 124 xmm2 = xmm2 & not.o(xmm0)
0x13b5 125 xmm2 = xmm2 | xmm1
0x13b9 126 esi = xmm2.d
0x13bd 127 eax = [rsp + 0xf98 {var_1f80}].d
0x13c6 128 if (esi s< eax) then 129 else 131 @ 0x13c9
0x13c6 129 esi = eax
0x13c6 130 goto 131 @ 0x13c9
0x13c9 131 eax = [rsp + 0xf9c {var_1f7c}].d
0x13d2 132 if (esi s< eax) then 133 else 135 @ 0x13d5
0x13d2 133 esi = eax
0x13d2 134 goto 135 @ 0x13d5
0x13d5 135 eax = [rsp + 0xfa0 {var_1f78}].d
0x13de 136 if (esi s< eax) then 137 else 139 @ 0x13e1
0x13de 137 esi = eax
0x13de 138 goto 139 @ 0x13e1
0x13e1 139 eax = [rsp + 0xfa4 {var_1f74}].d
0x13ea 140 if (esi s< eax) then 141 else 143 @ 0x13ed
0x13ea 141 esi = eax
0x13ea 142 goto 143 @ 0x13ed
0x13ed 143 eax = [rsp + 0xfa8 {var_1f70}].d
0x13f6 144 if (esi s< eax) then 145 else 147 @ 0x13f9
0x13f6 145 esi = eax
0x13f6 146 goto 147 @ 0x13f9
0x13f9 147 eax = [rsp + 0xfac {var_1f6c}].d
0x1402 148 if (esi s< eax) then 149 else 151 @ 0x1405
0x1402 149 esi = eax
0x1402 150 goto 151 @ 0x1405
0x1405 151 rdi = 0x200d {"%d"}
0x140c 152 eax = 0
0x140e 153 call(0x1030)
0x1413 154 eax = 0
0x1415 155 rsp = rsp + 0x2ef8
0x141c 156 rbx = pop
0x141d 157 r14 = pop
0x141f 158 r15 = pop
0x1421 159 rbp = pop
0x1422 160 <return> jump(pop)
int64_t _fini():
0x1428 0 rsp = rsp - 8
0x142c 1 rsp = rsp + 8
0x1430 2 <return> jump(pop)
| POJ_75 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
uint64_t strlen(char const* arg1):
0x1040 0 <return> tailcall([0x4020].q)
char* gets(char* buf):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"AWAVSH"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(r15)
0x1162 1 push(r14)
0x1164 2 push(rbx)
0x1165 3 rsp = rsp - 0x3f0
0x116c 4 rbx = rsp {var_408}
0x116f 5 rdi = rbx {var_408}
0x1172 6 eax = 0
0x1174 7 call(0x1050)
0x1179 8 rdi = rbx {var_408}
0x117c 9 call(0x1040)
0x1184 10 if (eax s< 2) then 11 @ 0x1301 else 17 @ 0x118a
0x1301 11 eax = 0
0x1303 12 rsp = rsp + 0x3f0
0x130a 13 rbx = pop
0x130b 14 r14 = pop
0x130d 15 r15 = pop
0x130f 16 <return> jump(pop)
0x118a 17 r11b = [rsp {var_408}].b
0x118e 18 edx = eax
0x1190 19 esi = 1
0x119f 20 goto 21 @ 0x11a0
0x11a0 21 r9d = sx.d([rsp + rsi].b)
0x11a8 22 if (r9b != r11b) then 23 @ 0x11b9 else 24 @ 0x11aa
0x11b9 23 if (eax s< 2) then 11 @ 0x1301 else 26 @ 0x11bf
0x11aa 24 rsi = rsi + 1
0x11b1 25 if (rdx != rsi) then 21 @ 0x11a0 else 31 @ 0x11b3
0x11bf 26 r8 = sx.q(eax)
0x11c2 27 edi = r8d
0x11c5 28 ebx = 1
0x11ca 29 r10d = 1
0x11d0 30 goto 33 @ 0x11e9
0x11b3 31 r9d = 0
0x11b3 32 goto 23 @ 0x11b9
0x11e9 33 rdx = rsp + r10
0x11ed 34 esi = 0
0x11ef 35 goto 36 @ 0x120d
0x120d 36 if ([rsp + rsi].b != r11b) then 37 @ 0x1200 else 39 @ 0x120f
0x1200 37 rsi = rsi + 1
0x1207 38 if (rdi == rsi) then 41 @ 0x11e0 else 36 @ 0x120d
0x120f 39 ecx = sx.d([rdx + rsi].b)
0x1216 40 if (r9d != ecx) then 37 @ 0x1200 else 43 @ 0x1218
0x11e0 41 r10 = r10 + 2
0x11e7 42 if (r10 s>= r8) then 51 @ 0x123d else 33 @ 0x11e9
0x1218 43 [rsp + rsi].b = 0x61 {""}
0x121c 44 [rdx + rsi].b = 0x61 {""}
0x1220 45 rbx = sx.q(ebx)
0x1223 46 [rsp + (rbx << 2) + 0x260].d = esi
0x122a 47 ecx = (r10 + rsi).d
0x122e 48 [rsp + (rbx << 2) + 0xd0].d = ecx
0x1235 49 ebx = ebx + 1
0x1238 50 goto 37 @ 0x1200
0x123d 51 if (eax s< 2) then 11 @ 0x1301 else 52 @ 0x1243
0x1243 52 r15d = eax
0x1246 53 r15d = r15d u>> 0x1f
0x124a 54 r15d = r15d + eax
0x124d 55 r15d = r15d s>> 1
0x1250 56 r8d = 1
0x1256 57 ecx = r15d
0x1259 58 goto 59 @ 0x126f
0x126f 59 ecx = ecx
0x1274 60 if (r15d s<= r8d) then 61 @ 0x1260 else 66 @ 0x1276
0x1260 61 edx = (r8 + 1).d
0x1264 62 ecx = ecx - 1
0x1267 63 cond:0 = r8d == r15d
0x126a 64 r8d = edx
0x126d 65 if (cond:0) then 69 @ 0x12cd else 59 @ 0x126f
0x1276 66 edi = 1
0x127b 67 edx = [rsp + 0xd4 {var_334}].d
0x1282 68 goto 70 @ 0x12af
0x12cd 69 if (eax s< 2) then 11 @ 0x1301 else 73 @ 0x12cf
0x12af 70 rbx = rdi + 1
0x12b3 71 esi = [rsp + (rdi << 2) + 0xd4].d
0x12bc 72 if (edx s> esi) then 77 @ 0x1290 else 82 @ 0x12be
0x12cf 73 r15d = r15d + 1
0x12d3 74 ebx = 1
0x12d8 75 r14 = 0x2004 {"%d %d\n"}
0x12df 76 goto 85 @ 0x12e0
0x1290 77 [rsp + (rdi << 2) + 0xd0].d = esi
0x1297 78 [rsp + (rdi << 2) + 0xd4].d = edx
0x129e 79 [rsp + (rdi << 2) + 0x260].q = rol.q([rsp + (rdi << 2) + 0x260].q, 0x20)
0x12a7 80 rdi = rbx
0x12ad 81 if (rcx == rbx) then 61 @ 0x1260 else 70 @ 0x12af
0x12be 82 edx = esi
0x12c0 83 rdi = rbx
0x12c6 84 if (rcx != rbx) then 70 @ 0x12af else 92 @ 0x12c8
0x12e0 85 esi = [rsp + (rbx << 2) + 0x260].d
0x12e7 86 edx = [rsp + (rbx << 2) + 0xd0].d
0x12ee 87 rdi = r14
0x12f1 88 eax = 0
0x12f3 89 call(0x1030)
0x12f8 90 rbx = rbx + 1
0x12ff 91 if (r15 != rbx) then 85 @ 0x12e0 else 11 @ 0x1301
0x12c8 92 goto 61 @ 0x1260
int64_t _fini():
0x1314 0 rsp = rsp - 8
0x1318 1 rsp = rsp + 8
0x131c 2 <return> jump(pop)
| POJ_77 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"AWAVSHpH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(r15)
0x1152 1 push(r14)
0x1154 2 push(rbx)
0x1155 3 rsp = rsp - 0x70
0x1159 4 rbx = 0x2007 {"%d"}
0x1160 5 rsi = rsp {var_88}
0x1163 6 rdi = rbx
0x1166 7 eax = 0
0x1168 8 call(0x1040)
0x116d 9 rsi = rsp + 4 {var_84}
0x1172 10 rdi = rbx
0x1175 11 eax = 0
0x1177 12 call(0x1040)
0x117c 13 rsi = rsp + 8 {var_80}
0x1181 14 rdi = rbx
0x1184 15 eax = 0
0x1186 16 call(0x1040)
0x118b 17 rsi = rsp + 0xc {var_7c}
0x1190 18 rdi = rbx
0x1193 19 eax = 0
0x1195 20 call(0x1040)
0x119a 21 rsi = rsp + 0x10 {var_78}
0x119f 22 rdi = rbx
0x11a2 23 eax = 0
0x11a4 24 call(0x1040)
0x11a9 25 rsi = rsp + 0x14 {var_74}
0x11ae 26 rdi = rbx
0x11b1 27 eax = 0
0x11b3 28 call(0x1040)
0x11b8 29 rsi = rsp + 0x18 {var_70}
0x11bd 30 rdi = rbx
0x11c0 31 eax = 0
0x11c2 32 call(0x1040)
0x11c7 33 rsi = rsp + 0x1c {var_6c}
0x11cc 34 rdi = rbx
0x11cf 35 eax = 0
0x11d1 36 call(0x1040)
0x11d6 37 rsi = rsp + 0x20 {var_68}
0x11db 38 rdi = rbx
0x11de 39 eax = 0
0x11e0 40 call(0x1040)
0x11e5 41 rsi = rsp + 0x24 {var_64}
0x11ea 42 rdi = rbx
0x11ed 43 eax = 0
0x11ef 44 call(0x1040)
0x11f4 45 rsi = rsp + 0x28 {var_60}
0x11f9 46 rdi = rbx
0x11fc 47 eax = 0
0x11fe 48 call(0x1040)
0x1203 49 rsi = rsp + 0x2c {var_5c}
0x1208 50 rdi = rbx
0x120b 51 eax = 0
0x120d 52 call(0x1040)
0x1212 53 rsi = rsp + 0x30 {var_58}
0x1217 54 rdi = rbx
0x121a 55 eax = 0
0x121c 56 call(0x1040)
0x1221 57 rsi = rsp + 0x34 {var_54}
0x1226 58 rdi = rbx
0x1229 59 eax = 0
0x122b 60 call(0x1040)
0x1230 61 rsi = rsp + 0x38 {var_50}
0x1235 62 rdi = rbx
0x1238 63 eax = 0
0x123a 64 call(0x1040)
0x123f 65 rsi = rsp + 0x3c {var_4c}
0x1244 66 rdi = rbx
0x1247 67 eax = 0
0x1249 68 call(0x1040)
0x124e 69 rsi = rsp + 0x40 {var_48}
0x1253 70 rdi = rbx
0x1256 71 eax = 0
0x1258 72 call(0x1040)
0x125d 73 rsi = rsp + 0x44 {var_44}
0x1262 74 rdi = rbx
0x1265 75 eax = 0
0x1267 76 call(0x1040)
0x126c 77 rsi = rsp + 0x48 {var_40}
0x1271 78 rdi = rbx
0x1274 79 eax = 0
0x1276 80 call(0x1040)
0x127b 81 rsi = rsp + 0x4c {var_3c}
0x1280 82 rdi = rbx
0x1283 83 eax = 0
0x1285 84 call(0x1040)
0x128a 85 rsi = rsp + 0x50 {var_38}
0x128f 86 rdi = rbx
0x1292 87 eax = 0
0x1294 88 call(0x1040)
0x1299 89 rsi = rsp + 0x54 {var_34}
0x129e 90 rdi = rbx
0x12a1 91 eax = 0
0x12a3 92 call(0x1040)
0x12a8 93 rsi = rsp + 0x58 {var_30}
0x12ad 94 rdi = rbx
0x12b0 95 eax = 0
0x12b2 96 call(0x1040)
0x12b7 97 rsi = rsp + 0x5c {var_2c}
0x12bc 98 rdi = rbx
0x12bf 99 eax = 0
0x12c1 100 call(0x1040)
0x12c6 101 rsi = rsp + 0x60 {var_28}
0x12cb 102 rdi = rbx
0x12ce 103 eax = 0
0x12d0 104 call(0x1040)
0x12d5 105 rdi = 0x2004 {"%d %d"}
0x12dc 106 rsi = rsp + 0x6c {var_1c}
0x12e1 107 rdx = rsp + 0x68 {var_20}
0x12e6 108 eax = 0
0x12e8 109 call(0x1040)
0x12ed 110 eax = [rsp + 0x6c {var_1c}].d
0x12f5 111 if (rax u> 4) then 112 @ 0x14ac else 116 @ 0x12fb
0x14ac 112 rdi = 0x200f {"error"}
0x14b3 113 eax = 0
0x14b5 114 call(0x1030)
0x14b5 115 goto 118 @ 0x14ba
0x12fb 116 ecx = [rsp + 0x68 {var_20}].d
0x1301 117 if (ecx s< 0) then 112 @ 0x14ac else 124 @ 0x130a
0x14ba 118 eax = 0
0x14bc 119 rsp = rsp + 0x70
0x14c0 120 rbx = pop
0x14c1 121 r14 = pop
0x14c3 122 r15 = pop
0x14c5 123 <return> jump(pop)
0x130a 124 if (ecx s> 4) then 112 @ 0x14ac else 125 @ 0x1310
0x1310 125 rax = rax + (rax << 2)
0x1314 126 rcx = rcx + (rcx << 2)
0x1318 127 xmm0 = [rsp + (rax << 2)].o
0x131c 128 xmm1 = [rsp + (rcx << 2)].o
0x1320 129 [rsp + (rax << 2)].o = xmm1
0x1324 130 [rsp + (rcx << 2)].o = xmm0
0x1328 131 edx = [rsp + (rax << 2) + 0x10].d
0x132c 132 esi = [rsp + (rcx << 2) + 0x10].d
0x1330 133 [rsp + (rax << 2) + 0x10].d = esi
0x1334 134 [rsp + (rcx << 2) + 0x10].d = edx
0x1338 135 esi = [rsp {var_88}].d
0x133b 136 r14 = 0x2007 {"%d"}
0x1342 137 rdi = r14
0x1345 138 eax = 0
0x1347 139 call(0x1030)
0x134c 140 esi = [rsp + 4 {var_84}].d
0x1350 141 rbx = 0x2006 {" %d"}
0x1357 142 rdi = rbx
0x135a 143 eax = 0
0x135c 144 call(0x1030)
0x1361 145 esi = [rsp + 8 {var_80}].d
0x1365 146 rdi = rbx
0x1368 147 eax = 0
0x136a 148 call(0x1030)
0x136f 149 esi = [rsp + 0xc {var_7c}].d
0x1373 150 rdi = rbx
0x1376 151 eax = 0
0x1378 152 call(0x1030)
0x137d 153 esi = [rsp + 0x10 {var_78}].d
0x1381 154 r15 = 0x200a {" %d\n"}
0x1388 155 rdi = r15
0x138b 156 eax = 0
0x138d 157 call(0x1030)
0x1392 158 esi = [rsp + 0x14 {var_74}].d
0x1396 159 rdi = r14
0x1399 160 eax = 0
0x139b 161 call(0x1030)
0x13a0 162 esi = [rsp + 0x18 {var_70}].d
0x13a4 163 rdi = rbx
0x13a7 164 eax = 0
0x13a9 165 call(0x1030)
0x13ae 166 esi = [rsp + 0x1c {var_6c}].d
0x13b2 167 rdi = rbx
0x13b5 168 eax = 0
0x13b7 169 call(0x1030)
0x13bc 170 esi = [rsp + 0x20 {var_68}].d
0x13c0 171 rdi = rbx
0x13c3 172 eax = 0
0x13c5 173 call(0x1030)
0x13ca 174 esi = [rsp + 0x24 {var_64}].d
0x13ce 175 rdi = r15
0x13d1 176 eax = 0
0x13d3 177 call(0x1030)
0x13d8 178 esi = [rsp + 0x28 {var_60}].d
0x13dc 179 rdi = r14
0x13df 180 eax = 0
0x13e1 181 call(0x1030)
0x13e6 182 esi = [rsp + 0x2c {var_5c}].d
0x13ea 183 rdi = rbx
0x13ed 184 eax = 0
0x13ef 185 call(0x1030)
0x13f4 186 esi = [rsp + 0x30 {var_58}].d
0x13f8 187 rdi = rbx
0x13fb 188 eax = 0
0x13fd 189 call(0x1030)
0x1402 190 esi = [rsp + 0x34 {var_54}].d
0x1406 191 rdi = rbx
0x1409 192 eax = 0
0x140b 193 call(0x1030)
0x1410 194 esi = [rsp + 0x38 {var_50}].d
0x1414 195 rdi = r15
0x1417 196 eax = 0
0x1419 197 call(0x1030)
0x141e 198 esi = [rsp + 0x3c {var_4c}].d
0x1422 199 rdi = r14
0x1425 200 eax = 0
0x1427 201 call(0x1030)
0x142c 202 esi = [rsp + 0x40 {var_48}].d
0x1430 203 rdi = rbx
0x1433 204 eax = 0
0x1435 205 call(0x1030)
0x143a 206 esi = [rsp + 0x44 {var_44}].d
0x143e 207 rdi = rbx
0x1441 208 eax = 0
0x1443 209 call(0x1030)
0x1448 210 esi = [rsp + 0x48 {var_40}].d
0x144c 211 rdi = rbx
0x144f 212 eax = 0
0x1451 213 call(0x1030)
0x1456 214 esi = [rsp + 0x4c {var_3c}].d
0x145a 215 rdi = r15
0x145d 216 eax = 0
0x145f 217 call(0x1030)
0x1464 218 esi = [rsp + 0x50 {var_38}].d
0x1468 219 rdi = r14
0x146b 220 eax = 0
0x146d 221 call(0x1030)
0x1472 222 esi = [rsp + 0x54 {var_34}].d
0x1476 223 rdi = rbx
0x1479 224 eax = 0
0x147b 225 call(0x1030)
0x1480 226 esi = [rsp + 0x58 {var_30}].d
0x1484 227 rdi = rbx
0x1487 228 eax = 0
0x1489 229 call(0x1030)
0x148e 230 esi = [rsp + 0x5c {var_2c}].d
0x1492 231 rdi = rbx
0x1495 232 eax = 0
0x1497 233 call(0x1030)
0x149c 234 esi = [rsp + 0x60 {var_28}].d
0x14a0 235 rdi = r15
0x14a3 236 eax = 0
0x14a5 237 call(0x1030)
0x14aa 238 goto 118 @ 0x14ba
int64_t _fini():
0x14cc 0 rsp = rsp - 8
0x14d0 1 rsp = rsp + 8
0x14d4 2 <return> jump(pop)
| POJ_81 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"HH="}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 rsp = rsp - 0x18
0x1154 1 rdi = 0x2004 {"%d"}
0x115b 2 rsi = rsp + 0x14 {var_4}
0x1160 3 eax = 0
0x1162 4 call(0x1040)
0x1167 5 eax = [rsp + 0x14 {var_4}].d
0x116b 6 ecx = (rax - 0x3e9).d
0x1177 7 if (ecx u> -0x3e9) then 8 @ 0x118c else 53 @ 0x1179
0x118c 8 ecx = zx.d(ax)
0x118f 9 edx = ecx
0x1191 10 edx = edx u>> 2
0x1194 11 esi = edx * 0x147b
0x119a 12 esi = esi u>> 0x11
0x119d 13 ecx = ecx u>> 1
0x119f 14 edx = ecx * 0x147b
0x11a5 15 edx = edx u>> 0x11
0x11a8 16 edx = edx - esi
0x11aa 17 edx = edx - esi
0x11ac 18 ecx = esi * -0x64
0x11af 19 ecx = ecx + eax
0x11b1 20 eax = edx * -0x32
0x11b4 21 eax = eax + ecx
0x11b6 22 ecx = sx.d(ax)
0x11b9 23 ecx = ecx * 0x6667
0x11bf 24 edi = ecx
0x11c1 25 edi = edi u>> 0x1f
0x11c4 26 ecx = ecx s>> 0x13
0x11c7 27 ecx = ecx + edi
0x11c9 28 edi = (rcx << 2).d
0x11d0 29 edi = (rdi + (rdi << 2)).d
0x11d3 30 eax = eax - edi
0x11d5 31 edi = sx.d(ax)
0x11d8 32 r8d = edi * 0x6667
0x11df 33 edi = r8d
0x11e2 34 edi = edi u>> 0x1f
0x11e5 35 r8d = r8d s>> 0x12
0x11e9 36 r8d = r8d + edi
0x11ec 37 edi = (r8 + r8).d
0x11f0 38 edi = (rdi + (rdi << 2)).d
0x11f3 39 eax = eax - edi
0x11f5 40 edi = sx.d(ax)
0x11f8 41 r9d = edi * 0x6667
0x11ff 42 edi = r9d
0x1202 43 edi = edi u>> 0x1f
0x1205 44 r9d = r9d s>> 0x11
0x1209 45 r9d = r9d + edi
0x120c 46 edi = (r9 + (r9 << 2)).d
0x1210 47 eax = eax - edi
0x1212 48 [rsp {var_18_1}].d = eax
0x1215 49 rdi = 0x200d {"%d\n%d\n%d\n%d\n%d\n%d\n"}
0x121c 50 eax = 0
0x121e 51 call(0x1030)
0x121e 52 goto 57 @ 0x1223
0x1179 53 rdi = 0x2007 {"error"}
0x1180 54 eax = 0
0x1182 55 call(0x1030)
0x1187 56 goto 57 @ 0x1223
0x1223 57 eax = 0
0x1225 58 rsp = rsp + 0x18
0x1229 59 <return> jump(pop)
int64_t _fini():
0x1230 0 rsp = rsp - 8
0x1234 1 rsp = rsp + 8
0x1238 2 <return> jump(pop)
| POJ_97 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"HH="}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 rsp = rsp - 0x18
0x1154 1 rdi = 0x2004 {"%d %d %d"}
0x115b 2 rsi = rsp + 0x14 {var_4}
0x1160 3 rdx = rsp + 0x10 {var_8}
0x1165 4 rcx = rsp + 0xc {var_c}
0x116a 5 eax = 0
0x116c 6 call(0x1040)
0x1171 7 eax = [rsp + 0x14 {var_4}].d
0x1177 8 cl = (al & 3) == 0
0x117a 9 eax = eax * -0x3d70a3d7
0x1180 10 eax = eax + 0x51eb850
0x1185 11 edx = eax
0x1187 12 edx = ror.d(edx, 2)
0x1190 13 dl = edx u>= 0x28f5c29
0x1193 14 dl = dl & cl
0x1195 15 eax = ror.d(eax, 4)
0x1198 16 flag:c = eax u< 0xa3d70b
0x119d 17 r8b = flag:c
0x11a1 18 r8b = r8b | dl
0x11a4 19 edx = [rsp + 0x10 {var_8}].d
0x11a8 20 ecx = [rsp + 0xc {var_c}].d
0x11ac 21 eax = (rcx + 0x1f).d
0x11b2 22 if (edx != 2) then 23 else 25 @ 0x11b5
0x11b2 23 eax = ecx
0x11b2 24 goto 25 @ 0x11b5
0x11b5 25 edi = (rcx + 0x3b).d
0x11b8 26 esi = (rcx + 0x5a).d
0x11bb 27 cond:0 = edx s>= 3
0x11be 28 if (edx != 3) then 29 else 31 @ 0x11c1
0x11be 29 edi = eax
0x11be 30 goto 31 @ 0x11c1
0x11c1 31 al = cond:0
0x11c7 32 if (edx == 4) then 33 else 35 @ 0x11ca
0x11c7 33 edi = esi
0x11c7 34 goto 35 @ 0x11ca
0x11ca 35 esi = (rcx + 0x78).d
0x11d0 36 if (edx != 5) then 37 else 39 @ 0x11d3
0x11d0 37 esi = edi
0x11d0 38 goto 39 @ 0x11d3
0x11d3 39 edi = (rcx + 0x97).d
0x11dc 40 if (edx != 6) then 41 else 43 @ 0x11df
0x11dc 41 edi = esi
0x11dc 42 goto 43 @ 0x11df
0x11df 43 esi = (rcx + 0xb5).d
0x11e8 44 if (edx != 7) then 45 else 47 @ 0x11eb
0x11e8 45 esi = edi
0x11e8 46 goto 47 @ 0x11eb
0x11eb 47 edi = (rcx + 0xd4).d
0x11f4 48 if (edx != 8) then 49 else 51 @ 0x11f7
0x11f4 49 edi = esi
0x11f4 50 goto 51 @ 0x11f7
0x11f7 51 esi = (rcx + 0xf3).d
0x1200 52 if (edx != 9) then 53 else 55 @ 0x1203
0x1200 53 esi = edi
0x1200 54 goto 55 @ 0x1203
0x1203 55 edi = (rcx + 0x111).d
0x120c 56 if (edx != 0xa) then 57 else 59 @ 0x120f
0x120c 57 edi = esi
0x120c 58 goto 59 @ 0x120f
0x120f 59 ecx = ecx + 0x130
0x1218 60 if (edx != 0xb) then 61 else 63 @ 0x121b
0x1218 61 ecx = edi
0x1218 62 goto 63 @ 0x121b
0x121b 63 cond:1 = edx != 0xc
0x121e 64 edx = 0x15a {""}
0x1223 65 if (cond:1) then 66 else 68 @ 0x1226
0x1223 66 edx = ecx
0x1223 67 goto 68 @ 0x1226
0x1226 68 al = al & r8b
0x1229 69 esi = zx.d(al)
0x122c 70 esi = esi + edx
0x122e 71 rdi = 0x200a {"%d"}
0x1235 72 eax = 0
0x1237 73 call(0x1030)
0x123c 74 rsp = rsp + 0x18
0x1240 75 <return> jump(pop)
int64_t _fini():
0x1248 0 rsp = rsp - 8
0x124c 1 rsp = rsp + 8
0x1250 2 <return> jump(pop)
| POJ_11 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UHH E"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 rbp = rsp {__saved_rbp}
0x1154 2 rsp = rsp - 0x20
0x1158 3 [rbp - 4 {var_c}].d = 0
0x115f 4 rdi = 0x2004 {"%d %d"}
0x1166 5 rsi = rbp - 8 {var_10}
0x116a 6 rdx = rbp - 0xc {var_14}
0x116e 7 al = 0
0x1170 8 call(0x1040)
0x1175 9 edi = [rbp - 8 {var_10}].d
0x1178 10 edi = edi - 1
0x117b 11 call(0x11f0)
0x1183 12 if (eax s<= [rbp - 0xc {var_14}].d) then 13 @ 0x11ae else 25 @ 0x1189
0x11ae 13 edi = [rbp - 8 {var_10}].d
0x11b1 14 call(0x11f0)
0x11b6 15 eax = eax * [rbp - 8 {var_10}].d
0x11ba 16 [rbp - 0x18 {var_20_1}].d = eax
0x11bd 17 edi = [rbp - 8 {var_10}].d
0x11c0 18 esi = [rbp - 0xc {var_14}].d
0x11c3 19 call(0x1230)
0x11c8 20 ecx = eax
0x11ca 21 eax = [rbp - 0x18 {var_20_1}].d
0x11cd 22 eax = eax - ecx
0x11cf 23 [rbp - 0x10 {var_18}].d = eax
0x11cf 24 goto 36 @ 0x11d2
0x1189 25 edi = [rbp - 8 {var_10}].d
0x118c 26 call(0x11f0)
0x1191 27 [rbp - 0x14 {var_1c_1}].d = eax
0x1194 28 edi = [rbp - 8 {var_10}].d
0x1197 29 esi = [rbp - 0xc {var_14}].d
0x119a 30 call(0x1230)
0x119f 31 ecx = eax
0x11a1 32 eax = [rbp - 0x14 {var_1c_1}].d
0x11a4 33 eax = eax - ecx
0x11a6 34 [rbp - 0x10 {var_18}].d = eax
0x11a9 35 goto 36 @ 0x11d2
0x11d2 36 esi = [rbp - 0x10 {var_18}].d
0x11d5 37 rdi = 0x200a {"%d\n"}
0x11dc 38 al = 0
0x11de 39 call(0x1030)
0x11e3 40 eax = 0
0x11e5 41 rsp = rsp + 0x20
0x11e9 42 rbp = pop
0x11ea 43 <return> jump(pop)
uint64_t f_1(int32_t arg1):
0x11f0 0 push(rbp)
0x11f1 1 rbp = rsp {__saved_rbp}
0x11f4 2 [rbp - 4 {var_c}].d = edi
0x11f7 3 [rbp - 0xc {var_14}].d = 1
0x11fe 4 [rbp - 8 {var_10}].d = 0
0x11fe 5 goto 6 @ 0x1205
0x1205 6 eax = [rbp - 8 {var_10}].d
0x120b 7 if (eax s>= [rbp - 4 {var_c}].d) then 8 @ 0x1229 else 11 @ 0x1211
0x1229 8 eax = [rbp - 0xc {var_14}].d
0x122c 9 rbp = pop
0x122d 10 <return> jump(pop)
0x1211 11 eax = [rbp - 4 {var_c}].d
0x1214 12 eax = eax * [rbp - 0xc {var_14}].d
0x1218 13 [rbp - 0xc {var_14}].d = eax
0x121b 14 eax = [rbp - 8 {var_10}].d
0x121e 15 eax = eax + 1
0x1221 16 [rbp - 8 {var_10}].d = eax
0x1224 17 goto 6 @ 0x1205
uint64_t f_2(int32_t arg1, int32_t arg2):
0x1230 0 push(rbp)
0x1231 1 rbp = rsp {__saved_rbp}
0x1234 2 [rbp - 4 {var_c}].d = edi
0x1237 3 [rbp - 8 {var_10}].d = esi
0x123a 4 eax = [rbp - 4 {var_c}].d
0x123d 5 eax = eax - 1
0x1240 6 eax = eax * [rbp - 8 {var_10}].d
0x1244 7 [rbp - 0xc {var_14}].d = eax
0x1247 8 eax = [rbp - 0xc {var_14}].d
0x124a 9 rbp = pop
0x124b 10 <return> jump(pop)
int64_t _fini():
0x1250 0 rsp = rsp - 8
0x1254 1 rsp = rsp + 8
0x1258 2 <return> jump(pop)
| POJ_54 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int64_t memcpy(void* arg1, void const* arg2, uint64_t arg3):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
double sqrt(double x):
0x1060 0 <return> tailcall([0x4030].q)
void __cxa_finalize(void* d):
0x1070 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1084 0 ebp = 0
0x1086 1 r9 = rdx
0x1089 2 rsi = pop
0x108a 3 rdx = rsp {arg_8}
0x108d 4 rsp = rsp & 0xfffffffffffffff0
0x1091 5 push(rax)
0x1092 6 push(rsp)
0x1093 7 r8d = 0
0x1096 8 ecx = 0
0x1098 9 rdi = 0x1170 {"UAWAVAUATSH\n"}
0x109f 10 call([0x3ff8].q)
0x109f 11 noreturn
void deregister_tm_clones():
0x10b0 0 rdi = 0x4048 {""}
0x10b7 1 rax = 0x4048 {""}
0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3
0x10d8 3 <return> jump(pop)
0x10c3 4 rax = [0x3fd8].q
0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf
0x10cf 6 <return> tailcall(rax)
void register_tm_clones():
0x10e0 0 rdi = 0x4048 {""}
0x10e7 1 rsi = 0x4048 {""}
0x10ee 2 rsi = rsi - rdi
0x10f1 3 rax = rsi
0x10f4 4 rsi = rsi u>> 0x3f
0x10f8 5 rax = rax s>> 3
0x10fc 6 rsi = rsi + rax
0x10ff 7 rsi = rsi s>> 1
0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104
0x1118 9 <return> jump(pop)
0x1104 10 rax = [0x3ff0].q
0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110
0x1110 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d
0x1158 1 <return> jump(pop)
0x112d 2 push(rbp)
0x112e 3 cond:0 = [0x3fe0].q == 0
0x1136 4 rbp = rsp {__saved_rbp}
0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b
0x1147 6 call(0x10b0)
0x114c 7 [0x4048].b = 1
0x1153 8 rbp = pop
0x1154 9 <return> jump(pop)
0x113b 10 rdi = [0x4040].q
0x1142 11 call(0x1070)
0x1142 12 goto 6 @ 0x1147
int64_t frame_dummy():
0x1164 0 <return> tailcall(0x10e0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1170 0 push(rbp)
0x1171 1 push(r15)
0x1173 2 push(r14)
0x1175 3 push(r13)
0x1177 4 push(r12)
0x1179 5 push(rbx)
0x117a 6 rsp = rsp - 0xa88
0x1181 7 rdi = 0x2008 {"%d"}
0x1188 8 rsi = rsp + 0x14 {var_aa4}
0x118d 9 eax = 0
0x118f 10 call(0x1050)
0x1199 11 if ([rsp + 0x14 {var_aa4}].d s<= 0) then 12 @ 0x168b else 21 @ 0x119f
0x168b 12 eax = 0
0x168d 13 rsp = rsp + 0xa88
0x1694 14 rbx = pop
0x1695 15 r12 = pop
0x1697 16 r13 = pop
0x1699 17 r14 = pop
0x169b 18 r15 = pop
0x169d 19 rbp = pop
0x169e 20 <return> jump(pop)
0x119f 21 r14 = rsp + 0x60 {var_a58}
0x11a4 22 r15 = rsp + 0x90 {var_a28}
0x11ac 23 r13 = rsp + 0xc0 {var_9f8}
0x11b4 24 rbx = 0x2004 {"%d%d%d"}
0x11bb 25 ebp = 0
0x11bd 26 goto 27 @ 0x11c0
0x11c0 27 rdi = rbx
0x11c3 28 rsi = r13
0x11c6 29 rdx = r15
0x11c9 30 rcx = r14
0x11cc 31 eax = 0
0x11ce 32 call(0x1050)
0x11d3 33 rbp = rbp + 1
0x11d7 34 r12 = sx.q([rsp + 0x14 {var_aa4}].d)
0x11dc 35 r14 = r14 + 4
0x11e0 36 r15 = r15 + 4
0x11e4 37 r13 = r13 + 4
0x11eb 38 if (rbp s< r12) then 27 @ 0x11c0 else 39 @ 0x11f0
0x11f0 39 if (r12d s<= 0) then 12 @ 0x168b else 40 @ 0x11f6
0x11f6 40 r14 = rsp + 0x760 {var_358}
0x11fe 41 ebp = 0
0x1200 42 xmm1 = _mm_xor_pd(xmm1, xmm1)
0x1204 43 goto 44 @ 0x1223
0x1223 44 if (r12d s<= 0) then 45 @ 0x1210 else 49 @ 0x1225
0x1210 45 rax = sx.q(r12d)
0x1213 46 rbp = rbp + 1
0x1217 47 r14 = r14 + 0x50
0x121e 48 if (rbp s>= rax) then 51 @ 0x1294 else 44 @ 0x1223
0x1225 49 ebx = 0
0x1227 50 goto 52 @ 0x124d
0x1294 51 if (r12d s<= 0) then 12 @ 0x168b else 72 @ 0x129a
0x124d 52 eax = [rsp + (rbp << 2) + 0xc0].d
0x1254 53 eax = eax - [rsp + (rbx << 2) + 0xc0].d
0x125b 54 ecx = [rsp + (rbp << 2) + 0x90].d
0x1262 55 ecx = ecx - [rsp + (rbx << 2) + 0x90].d
0x1269 56 eax = eax * eax
0x126c 57 ecx = ecx * ecx
0x126f 58 ecx = ecx + eax
0x1271 59 eax = [rsp + (rbp << 2) + 0x60].d
0x1275 60 eax = eax - [rsp + (rbx << 2) + 0x60].d
0x1279 61 eax = eax * eax
0x127c 62 eax = eax + ecx
0x127e 63 xmm0 = 0
0x1281 64 xmm0.q = float.d(eax)
0x1285 65 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x1285 66 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1285 67 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1285 68 flag:s = 0
0x1285 69 flag:o = 0
0x1285 70 flag:a = 0
0x1289 71 if (flag:c) then 80 @ 0x1230 else 83 @ 0x128b
0x129a 72 r9d = r12d
0x129d 73 r12d = r12d - 2
0x12a1 74 r10 = r9 - 9
0x12a5 75 edi = 0
0x12a7 76 ecx = 1
0x12ac 77 ebp = 0
0x12ae 78 [rsp + 0x28 {var_a90_1}].q = r9
0x12b3 79 goto 85 @ 0x12d1
0x1230 80 call(0x1060)
0x1235 81 xmm1 = _mm_xor_pd(xmm1, xmm1)
0x1235 82 goto 88 @ 0x1239
0x128b 83 xmm0 = _mm_sqrt_sd(xmm0.q)
0x128f 84 goto 88 @ 0x1239
0x12d1 85 rax = rdi
0x12d4 86 rdi = rdi + 1
0x12db 87 if (rdi u>= r9) then 92 @ 0x12c0 else 95 @ 0x12dd
0x1239 88 [r14 + (rbx << 3)].q = xmm0.q
0x123f 89 rbx = rbx + 1
0x1243 90 r12 = sx.q([rsp + 0x14 {var_aa4}].d)
0x124b 91 if (rbx s>= r12) then 45 @ 0x1210 else 52 @ 0x124d
0x12c0 92 rcx = rcx + 1
0x12c4 93 r10 = r10 - 1
0x12cb 94 if (rdi == r9) then 141 @ 0x1568 else 85 @ 0x12d1
0x12dd 95 [rsp + 0x18 {var_aa0_1}].q = rcx
0x12e2 96 [rsp + 0x20 {var_a98_1}].q = r10
0x12e7 97 rcx = rax
0x12ea 98 rcx = not.q(rcx)
0x12ed 99 [rsp + 0x38 {var_a80_1}].q = rcx
0x12f2 100 rcx = rcx + r9
0x12f5 101 [rsp + 0x58 {var_a60_1}].q = rcx
0x12fa 102 ecx = r12d
0x12fd 103 ecx = ecx - eax
0x12ff 104 r13 = (rcx << 2) + 4
0x1307 105 rdx = (rcx << 3) + 8
0x130f 106 rcx = rax * 0x58
0x1313 107 rsi = rsp + 0x760 {var_358}
0x131b 108 rsi = rsi + rcx
0x131e 109 rsi = rsi + 8
0x1322 110 rcx = rsp + (rdi << 2) + 0xc0
0x132a 111 [rsp + 0x40 {var_a78_1}].q = rcx
0x132f 112 rcx = rsp + (rdi << 2) + 0x90
0x1337 113 [rsp + 0x48 {var_a70_1}].q = rcx
0x133c 114 [rsp + 0x30 {var_a88_1}].q = rdi
0x1341 115 rcx = rsp + (rdi << 2) + 0x60
0x1346 116 [rsp + 0x50 {var_a68_1}].q = rcx
0x134b 117 r14d = [rsp + (rax << 2) + 0xc0].d
0x1353 118 ebx = [rsp + (rax << 2) + 0x90].d
0x135a 119 r15d = [rsp + (rax << 2) + 0x60].d
0x135f 120 rbp = sx.q(ebp)
0x1362 121 rdi = rsp + (rbp << 3)
0x1366 122 rdi = rdi + 0x360
0x136d 123 call(0x1040)
0x1372 124 rdi = rsp + (rbp << 2)
0x1376 125 rdi = rdi + 0x690
0x137d 126 rsi = [rsp + 0x40 {var_a78_1}].q
0x1382 127 rdx = r13
0x1385 128 call(0x1040)
0x138a 129 rdi = rsp + (rbp << 2)
0x138e 130 rdi = rdi + 0x5c0
0x1395 131 rsi = [rsp + 0x48 {var_a70_1}].q
0x139a 132 rdx = r13
0x139d 133 call(0x1040)
0x13a2 134 rdi = rsp + (rbp << 2)
0x13a6 135 rdi = rdi + 0x4f0
0x13ad 136 rsi = [rsp + 0x50 {var_a68_1}].q
0x13b2 137 rdx = r13
0x13b5 138 call(0x1040)
0x13ba 139 r11 = [rsp + 0x58 {var_a60_1}].q
0x13c3 140 if (r11 u>= 8) then 142 @ 0x13f0 else 156 @ 0x13c5
0x1568 141 if (ebp s< 0) then 12 @ 0x168b else 162 @ 0x1571
0x13f0 142 rax = [rsp + 0x38 {var_a80_1}].q
0x13f5 143 r9 = [rsp + 0x28 {var_a90_1}].q
0x13fa 144 rax = rax + r9
0x13fd 145 rax = rax - 8
0x1401 146 r8 = rax
0x1404 147 r8 = r8 u>> 3
0x1408 148 r8 = r8 + 1
0x140c 149 xmm0 = r14d
0x1411 150 xmm0 = _mm_shuffle_epi32(xmm0, 0)
0x1416 151 xmm1 = ebx
0x141a 152 xmm1 = _mm_shuffle_epi32(xmm1, 0)
0x141f 153 xmm2 = r15d
0x1424 154 xmm2 = _mm_shuffle_epi32(xmm2, 0)
0x142d 155 if (rax u>= 8) then 163 @ 0x143b else 176 @ 0x142f
0x13c5 156 rcx = [rsp + 0x18 {var_aa0_1}].q
0x13ca 157 rdx = rcx
0x13cd 158 r9 = [rsp + 0x28 {var_a90_1}].q
0x13d2 159 r10 = [rsp + 0x20 {var_a98_1}].q
0x13d7 160 rdi = [rsp + 0x30 {var_a88_1}].q
0x13dc 161 goto 179 @ 0x152e
0x1571 162 if (ebp u< 2) then 182 @ 0x1624 else 183 @ 0x1577
0x143b 163 r10 = [rsp + 0x20 {var_a98_1}].q
0x1440 164 rdx = r10
0x1443 165 rdx = rdx u>> 3
0x1447 166 rdx = rdx + 1
0x144b 167 rdx = rdx & 0xfffffffffffffffe
0x144f 168 rax = rsp + 0x120 {var_998}
0x1457 169 rsi = rax + (rbp << 2)
0x145b 170 rax = rsp + 0x1f0 {var_8c8}
0x1463 171 rdi = rax + (rbp << 2)
0x1467 172 rax = rsp + 0x2c0 {var_7f8}
0x146f 173 rax = rax + (rbp << 2)
0x1473 174 ecx = 0
0x147f 175 goto 188 @ 0x1480
0x142f 176 ecx = 0
0x1431 177 r10 = [rsp + 0x20 {var_a98_1}].q
0x1436 178 goto 204 @ 0x14cf
0x152e 179 rax = r9
0x1531 180 rax = rax - rdx
0x153e 181 goto 207 @ 0x1540
0x1624 182 if (ebp s<= 0) then 12 @ 0x168b else 214 @ 0x1626
0x1577 183 eax = (rbp - 1).d
0x157a 184 ecx = (rbp + 1).d
0x157d 185 rax = rax << 2
0x1581 186 edx = 1
0x1586 187 goto 219 @ 0x159d
0x1480 188 [rax + (rcx << 2) - 0x30].o = xmm0
0x1486 189 [rax + (rcx << 2) - 0x20].o = xmm0
0x148c 190 [rdi + (rcx << 2) - 0x30].o = xmm1
0x1492 191 [rdi + (rcx << 2) - 0x20].o = xmm1
0x1498 192 [rsi + (rcx << 2) - 0x30].o = xmm2
0x149e 193 [rsi + (rcx << 2) - 0x20].o = xmm2
0x14a4 194 [rax + (rcx << 2) - 0x10].o = xmm0
0x14aa 195 [rax + (rcx << 2)].o = xmm0
0x14af 196 [rdi + (rcx << 2) - 0x10].o = xmm1
0x14b5 197 [rdi + (rcx << 2)].o = xmm1
0x14ba 198 [rsi + (rcx << 2) - 0x10].o = xmm2
0x14c0 199 [rsi + (rcx << 2)].o = xmm2
0x14c5 200 rcx = rcx + 0x10
0x14c9 201 temp0.q = rdx
0x14c9 202 rdx = rdx - 2
0x14cd 203 if (temp0.q != 2) then 188 @ 0x1480 else 204 @ 0x14cf
0x14cf 204 rdx = r11
0x14d2 205 rdx = rdx & 0xfffffffffffffff8
0x14da 206 if ((r8b & 1) == 0) then 222 @ 0x1515 else 226 @ 0x14dc
0x1540 207 [rsp + (rbp << 2) + 0x290].d = r14d
0x1548 208 [rsp + (rbp << 2) + 0x1c0].d = ebx
0x154f 209 [rsp + (rbp << 2) + 0xf0].d = r15d
0x1557 210 rbp = rbp + 1
0x155b 211 temp1.q = rax
0x155b 212 rax = rax - 1
0x155f 213 if (temp1.q != 1) then 207 @ 0x1540 else 234 @ 0x1561
0x1626 214 ebp = ebp
0x1628 215 rbp = rbp << 2
0x162c 216 ebx = 0
0x162e 217 r14 = 0x200b {"(%d,%d,%d)-(%d,%d,%d)=%.2lf\n"}
0x163f 218 goto 235 @ 0x1640
0x159d 219 xmm0 = zx.o([rsp + 0x360 {var_758}].q)
0x15a6 220 esi = 0
0x15a8 221 goto 248 @ 0x1601
0x1515 222 rbp = rbp + rdx
0x1518 223 cond:0 = r11 == rdx
0x151b 224 rdi = [rsp + 0x30 {var_a88_1}].q
0x1520 225 if (cond:0) then 256 @ 0x12b5 else 258 @ 0x1526
0x14dc 226 rcx = rcx + rbp
0x14df 227 [rsp + (rcx << 2) + 0x290].o = xmm0
0x14e8 228 [rsp + (rcx << 2) + 0x2a0].o = xmm0
0x14f1 229 [rsp + (rcx << 2) + 0x1c0].o = xmm1
0x14fa 230 [rsp + (rcx << 2) + 0x1d0].o = xmm1
0x1503 231 [rsp + (rcx << 2) + 0xf0].o = xmm2
0x150c 232 [rsp + (rcx << 2) + 0x100].o = xmm2
0x150c 233 goto 222 @ 0x1515
0x1561 234 goto 92 @ 0x12c0
0x1640 235 esi = [rsp + rbx + 0x290].d
0x1647 236 edx = [rsp + rbx + 0x1c0].d
0x164e 237 ecx = [rsp + rbx + 0xf0].d
0x1655 238 r8d = [rsp + rbx + 0x690].d
0x165d 239 r9d = [rsp + rbx + 0x5c0].d
0x1665 240 eax = [rsp + rbx + 0x4f0].d
0x166c 241 xmm0 = zx.o([rsp + (rbx << 1) + 0x360].q)
0x1675 242 [rsp {var_ab8}].d = eax
0x1678 243 rdi = r14
0x167b 244 al = 1
0x167d 245 call(0x1030)
0x1682 246 rbx = rbx + 4
0x1689 247 if (rbp != rbx) then 235 @ 0x1640 else 12 @ 0x168b
0x1601 248 xmm1 = zx.o([rsp + (rsi << 1) + 0x368].q)
0x160a 249 flag:p = is_unordered.q(xmm1.q, xmm0.q)
0x160a 250 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x160a 251 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x160a 252 flag:s = 0
0x160a 253 flag:o = 0
0x160a 254 flag:a = 0
0x160e 255 if (not(flag:z) && not(flag:c)) then 261 @ 0x15b0 else 271 @ 0x1610
0x12b5 256 rcx = [rsp + 0x18 {var_aa0_1}].q
0x12ba 257 goto 92 @ 0x12c0
0x1526 258 rcx = [rsp + 0x18 {var_aa0_1}].q
0x152b 259 rdx = rdx + rcx
0x152b 260 goto 179 @ 0x152e
0x15b0 261 [rsp + rsi + 0x290].q = rol.q([rsp + rsi + 0x290].q, 0x20)
0x15b9 262 [rsp + rsi + 0x1c0].q = rol.q([rsp + rsi + 0x1c0].q, 0x20)
0x15c2 263 [rsp + rsi + 0xf0].q = rol.q([rsp + rsi + 0xf0].q, 0x20)
0x15cb 264 [rsp + rsi + 0x690].q = rol.q([rsp + rsi + 0x690].q, 0x20)
0x15d4 265 [rsp + rsi + 0x5c0].q = rol.q([rsp + rsi + 0x5c0].q, 0x20)
0x15dd 266 [rsp + (rsi << 1) + 0x368].q = xmm0.q
0x15e6 267 [rsp + (rsi << 1) + 0x360].q = xmm1.q
0x15ef 268 [rsp + rsi + 0x4f0].q = rol.q([rsp + rsi + 0x4f0].q, 0x20)
0x15f8 269 rsi = rsi + 4
0x15ff 270 if (rax == rsi) then 274 @ 0x1590 else 248 @ 0x1601
0x1610 271 xmm0 = xmm1
0x1614 272 rsi = rsi + 4
0x161b 273 if (rax != rsi) then 248 @ 0x1601 else 278 @ 0x161d
0x1590 274 esi = (rdx + 1).d
0x1593 275 cond:1 = edx == ecx
0x1595 276 edx = esi
0x1597 277 if (cond:1) then 182 @ 0x1624 else 219 @ 0x159d
0x161d 278 goto 274 @ 0x1590
int64_t _fini():
0x16a4 0 rsp = rsp - 8
0x16a8 1 rsp = rsp + 8
0x16ac 2 <return> jump(pop)
| POJ_64 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t scanf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t puts(char const* str):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UAWAVAUATSHH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 push(r15)
0x1153 2 push(r14)
0x1155 3 push(r13)
0x1157 4 push(r12)
0x1159 5 push(rbx)
0x115a 6 rsp = rsp - 0x48
0x115e 7 eax = [0x2040].d
0x1164 8 [rsp + 0x40 {var_38}].d = eax
0x1168 9 xmm0 = [0x2030].o
0x116f 10 [rsp + 0x30 {var_48}].o = xmm0
0x1174 11 xmm0 = [0x2020].o
0x117b 12 [rsp + 0x20 {var_58}].o = xmm0
0x1180 13 xmm0 = [0x2010].o
0x1188 14 [rsp + 0x10 {var_68}].o = xmm0
0x118e 15 rdi = 0x204a {"%d"}
0x1195 16 rsi = rsp {var_78}
0x1198 17 eax = 0
0x119a 18 call(0x1030)
0x11a3 19 if ([rsp {var_78}].d s<= 0) then 20 @ 0x1512 else 29 @ 0x11a9
0x1512 20 eax = 0
0x1514 21 rsp = rsp + 0x48
0x1518 22 rbx = pop
0x1519 23 r12 = pop
0x151b 24 r13 = pop
0x151d 25 r14 = pop
0x151f 26 r15 = pop
0x1521 27 rbp = pop
0x1522 28 <return> jump(pop)
0x11a9 29 rbx = 0x2044 {"%d %d %d"}
0x11b0 30 r15 = rsp + 0xc {var_6c}
0x11b5 31 r12 = rsp + 8 {var_70}
0x11ba 32 r14 = rsp + 4 {var_74}
0x11bf 33 r13 = 0x2050 {"YES"}
0x11c6 34 ebp = 0
0x11c8 35 goto 36 @ 0x11fd
0x11fd 36 rdi = rbx
0x1200 37 rsi = r15 {var_6c}
0x1203 38 rdx = r12 {var_70}
0x1206 39 rcx = r14 {var_74}
0x1209 40 eax = 0
0x120b 41 call(0x1030)
0x1210 42 eax = [rsp + 0xc {var_6c}].d
0x1216 43 cl = (al & 3) == 0
0x1219 44 eax = eax * -0x3d70a3d7
0x121f 45 eax = eax + 0x51eb850
0x1224 46 edx = eax
0x1226 47 edx = ror.d(edx, 2)
0x122f 48 dl = edx u>= 0x28f5c29
0x1232 49 dl = dl & cl
0x1234 50 eax = ror.d(eax, 4)
0x1237 51 flag:c = eax u< 0xa3d70b
0x123c 52 al = flag:c
0x123f 53 al = al | dl
0x1241 54 eax = zx.d(al)
0x1244 55 eax = eax | 0x1c
0x1247 56 [rsp + 0x18 {var_68[2]}].d = eax
0x124b 57 rax = sx.q([rsp + 8 {var_70}].d)
0x1250 58 rcx = sx.q([rsp + 4 {var_74}].d)
0x1257 59 if (eax s>= ecx) then 60 @ 0x12a0 else 62 @ 0x1259
0x12a0 60 rdi = r13
0x12a5 61 if (ecx s>= eax) then 66 @ 0x11ec else 69 @ 0x12ab
0x1259 62 r9 = rcx
0x125c 63 r9 = r9 - rax
0x125f 64 edi = 0
0x1265 65 if (r9 u< 8) then 72 @ 0x13c0 else 75 @ 0x126b
0x11ec 66 call(0x1040)
0x11f1 67 ebp = ebp + 1
0x11f7 68 if (ebp s>= [rsp {var_78}].d) then 20 @ 0x1512 else 36 @ 0x11fd
0x12ab 69 r9 = rax
0x12ae 70 r9 = r9 - rcx
0x12b5 71 if (r9 u>= 8) then 84 @ 0x13d2 else 93 @ 0x12bb
0x13c0 72 edi = edi + [rsp + (rax << 2) + 0x10].d
0x13c4 73 rax = rax + 1
0x13cb 74 if (rcx != rax) then 72 @ 0x13c0 else 95 @ 0x13cd
0x126b 75 r8 = r9
0x126e 76 r8 = r8 & 0xfffffffffffffff8
0x1272 77 rdx = r8 - 8
0x1276 78 rdi = rdx
0x1279 79 rdi = rdi u>> 3
0x127d 80 rdi = rdi + 1
0x1281 81 esi = edi
0x1283 82 esi = esi & 3
0x128a 83 if (rdx u>= 0x18) then 96 @ 0x12c2 else 104 @ 0x128c
0x13d2 84 r8 = r9
0x13d5 85 r8 = r8 & 0xfffffffffffffff8
0x13d9 86 rdx = r8 - 8
0x13dd 87 rdi = rdx
0x13e0 88 rdi = rdi u>> 3
0x13e4 89 rdi = rdi + 1
0x13e8 90 esi = edi
0x13ea 91 esi = esi & 3
0x13f1 92 if (rdx u>= 0x18) then 108 @ 0x1402 else 116 @ 0x13f3
0x12bb 93 edi = 0
0x12bd 94 goto 120 @ 0x1500
0x13cd 95 goto 123 @ 0x11d1
0x12c2 96 rdx = 0x3ffffffffffffffc {""}
0x12cc 97 rdi = rdi & rdx
0x12cf 98 rdx = rsp + 0x80 {arg_8}
0x12d7 99 rdx = rdx + (rax << 2)
0x12db 100 xmm0 = 0
0x12df 101 ebx = 0
0x12e1 102 xmm1 = 0
0x12ef 103 goto 128 @ 0x12f0
0x128c 104 xmm0 = 0
0x1290 105 ebx = 0
0x1292 106 xmm1 = 0
0x1296 107 goto 148 @ 0x134c
0x1402 108 rdx = 0x3ffffffffffffffc {""}
0x140c 109 rdi = rdi & rdx
0x140f 110 rdx = rsp + 0x80 {arg_8}
0x1417 111 rdx = rdx + (rcx << 2)
0x141b 112 xmm0 = 0
0x141f 113 ebx = 0
0x1421 114 xmm1 = 0
0x142f 115 goto 149 @ 0x1430
0x13f3 116 xmm0 = 0
0x13f7 117 ebx = 0
0x13f9 118 xmm1 = 0
0x13fd 119 goto 169 @ 0x148c
0x1500 120 edi = edi + [rsp + (rcx << 2) + 0x10].d
0x1504 121 rcx = rcx + 1
0x150b 122 if (rax != rcx) then 120 @ 0x1500 else 170 @ 0x150d
0x11d1 123 eax = edi * -0x49249249
0x11d7 124 eax = eax + 0x12492492
0x11dc 125 cond:0 = eax u< 0x24924925
0x11e1 126 rdi = 0x204d {"NO"}
0x11e8 127 if (cond:0) then 171 else 173
0x12f0 128 xmm2 = [rdx + (rbx << 2) - 0x70].o
0x12f6 129 xmm2 = _mm_add_epi32(xmm2, xmm0)
0x12fa 130 xmm0 = [rdx + (rbx << 2) - 0x60].o
0x1300 131 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x1304 132 xmm1 = [rdx + (rbx << 2) - 0x50].o
0x130a 133 xmm3 = [rdx + (rbx << 2) - 0x40].o
0x1310 134 xmm4 = [rdx + (rbx << 2) - 0x30].o
0x1316 135 xmm4 = _mm_add_epi32(xmm4, xmm1)
0x131a 136 xmm4 = _mm_add_epi32(xmm4, xmm2)
0x131e 137 xmm2 = [rdx + (rbx << 2) - 0x20].o
0x1324 138 xmm2 = _mm_add_epi32(xmm2, xmm3)
0x1328 139 xmm2 = _mm_add_epi32(xmm2, xmm0)
0x132c 140 xmm0 = [rdx + (rbx << 2) - 0x10].o
0x1332 141 xmm0 = _mm_add_epi32(xmm0, xmm4)
0x1336 142 xmm1 = [rdx + (rbx << 2)].o
0x133b 143 xmm1 = _mm_add_epi32(xmm1, xmm2)
0x133f 144 rbx = rbx + 0x20
0x1343 145 temp0.q = rdi
0x1343 146 rdi = rdi - 4
0x1347 147 if (temp0.q != 4) then 128 @ 0x12f0 else 148 @ 0x134c
0x134c 148 if (rsi == 0) then 174 @ 0x138c else 181 @ 0x134e
0x1430 149 xmm2 = [rdx + (rbx << 2) - 0x70].o
0x1436 150 xmm2 = _mm_add_epi32(xmm2, xmm0)
0x143a 151 xmm0 = [rdx + (rbx << 2) - 0x60].o
0x1440 152 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x1444 153 xmm1 = [rdx + (rbx << 2) - 0x50].o
0x144a 154 xmm3 = [rdx + (rbx << 2) - 0x40].o
0x1450 155 xmm4 = [rdx + (rbx << 2) - 0x30].o
0x1456 156 xmm4 = _mm_add_epi32(xmm4, xmm1)
0x145a 157 xmm4 = _mm_add_epi32(xmm4, xmm2)
0x145e 158 xmm2 = [rdx + (rbx << 2) - 0x20].o
0x1464 159 xmm2 = _mm_add_epi32(xmm2, xmm3)
0x1468 160 xmm2 = _mm_add_epi32(xmm2, xmm0)
0x146c 161 xmm0 = [rdx + (rbx << 2) - 0x10].o
0x1472 162 xmm0 = _mm_add_epi32(xmm0, xmm4)
0x1476 163 xmm1 = [rdx + (rbx << 2)].o
0x147b 164 xmm1 = _mm_add_epi32(xmm1, xmm2)
0x147f 165 rbx = rbx + 0x20
0x1483 166 temp1.q = rdi
0x1483 167 rdi = rdi - 4
0x1487 168 if (temp1.q != 4) then 149 @ 0x1430 else 169 @ 0x148c
0x148c 169 if (rsi == 0) then 188 @ 0x14cc else 195 @ 0x148e
0x150d 170 goto 123 @ 0x11d1
0x11e8 171 rdi = r13
0x11e8 172 goto 173
0x11e8 173 goto 66 @ 0x11ec
0x138c 174 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x1390 175 xmm1 = _mm_shuffle_epi32(xmm0, 0xee)
0x1395 176 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x1399 177 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x139e 178 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x13a2 179 edi = xmm0.d
0x13a9 180 if (r9 == r8) then 202 @ 0x11ca else 204 @ 0x13af
0x134e 181 rbx = rbx + rax
0x1351 182 rdx = rsp + 0x80 {arg_8}
0x1359 183 rdx = rdx + (rbx << 2)
0x135d 184 rdx = rdx - 0x60
0x1361 185 rsi = rsi << 5
0x1365 186 edi = 0
0x1367 187 goto 207 @ 0x1370
0x14cc 188 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x14d0 189 xmm1 = _mm_shuffle_epi32(xmm0, 0xee)
0x14d5 190 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x14d9 191 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x14de 192 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x14e2 193 edi = xmm0.d
0x14e9 194 if (r9 == r8) then 202 @ 0x11ca else 213 @ 0x14ef
0x148e 195 rbx = rbx + rcx
0x1491 196 rdx = rsp + 0x80 {arg_8}
0x1499 197 rdx = rdx + (rbx << 2)
0x149d 198 rdx = rdx - 0x60
0x14a1 199 rsi = rsi << 5
0x14a5 200 edi = 0
0x14a7 201 goto 216 @ 0x14b0
0x11ca 202 rbx = 0x2044 {"%d %d %d"}
0x11ca 203 goto 123 @ 0x11d1
0x13af 204 rax = rax + r8
0x13b2 205 rbx = 0x2044 {"%d %d %d"}
0x13b9 206 goto 72 @ 0x13c0
0x1370 207 xmm2 = [rdx + rdi - 0x10].o
0x1376 208 xmm0 = _mm_add_epi32(xmm0, xmm2)
0x137a 209 xmm2 = [rdx + rdi].o
0x137f 210 xmm1 = _mm_add_epi32(xmm1, xmm2)
0x1383 211 rdi = rdi + 0x20
0x138a 212 if (rsi != rdi) then 207 @ 0x1370 else 174 @ 0x138c
0x14ef 213 rcx = rcx + r8
0x14f2 214 rbx = 0x2044 {"%d %d %d"}
0x14f9 215 goto 120 @ 0x1500
0x14b0 216 xmm2 = [rdx + rdi - 0x10].o
0x14b6 217 xmm0 = _mm_add_epi32(xmm0, xmm2)
0x14ba 218 xmm2 = [rdx + rdi].o
0x14bf 219 xmm1 = _mm_add_epi32(xmm1, xmm2)
0x14c3 220 rdi = rdi + 0x20
0x14ca 221 if (rsi != rdi) then 216 @ 0x14b0 else 188 @ 0x14cc
int64_t _fini():
0x1528 0 rsp = rsp - 8
0x152c 1 rsp = rsp + 8
0x1530 2 <return> jump(pop)
| POJ_71 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t scanf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t puts(char const* str):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UAWAVSH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 push(r15)
0x1153 2 push(r14)
0x1155 3 push(rbx)
0x1156 4 rsp = rsp - 0x808
0x115d 5 rdi = 0x2007 {"%d"}
0x1164 6 rsi = rsp + 0xc {var_81c}
0x1169 7 eax = 0
0x116b 8 call(0x1030)
0x1170 9 eax = [rsp + 0xc {var_81c}].d
0x1176 10 if (eax s<= 0) then 11 @ 0x11b9 else 12 @ 0x1178
0x11b9 11 if (eax s<= 0) then 16 @ 0x12bd else 17 @ 0x11bf
0x1178 12 rbx = rsp + 0x38 {var_7f0}
0x117d 13 r14 = 0x2004 {"%s %d"}
0x1184 14 r15d = 0
0x1187 15 goto 23 @ 0x1190
0x12bd 16 if ([rsp + 0xc {var_81c}].d s<= 0) then 33 @ 0x12ea else 40 @ 0x12bf
0x11bf 17 r8 = sx.q(eax)
0x11c2 18 r9d = eax
0x11c5 19 r11 = rsp + 0x44 {var_7e4}
0x11ca 20 r15d = 1
0x11d0 21 r10d = 0
0x11d3 22 goto 43 @ 0x11f1
0x1190 23 rdx = rbx - 8
0x1194 24 rdi = r14
0x1197 25 rsi = rbx
0x119a 26 eax = 0
0x119c 27 call(0x1030)
0x11a1 28 r15 = r15 + 1
0x11a5 29 [rbx - 4].d = r15d
0x11a9 30 rax = sx.q([rsp + 0xc {var_81c}].d)
0x11ae 31 rbx = rbx + 0x14
0x11b5 32 if (r15 s< rax) then 23 @ 0x1190 else 11 @ 0x11b9
0x12ea 33 eax = 0
0x12ec 34 rsp = rsp + 0x808
0x12f3 35 rbx = pop
0x12f4 36 r14 = pop
0x12f6 37 r15 = pop
0x12f8 38 rbp = pop
0x12f9 39 <return> jump(pop)
0x12bf 40 r14 = rsp + 0x38 {var_7f0}
0x12c4 41 ebx = 0
0x12c6 42 goto 46 @ 0x12d0
0x11f1 43 rax = r10
0x11f4 44 r10 = r10 + 1
0x11fb 45 if (r10 s>= r8) then 52 @ 0x11e0 else 55 @ 0x11fd
0x12d0 46 rdi = r14
0x12d3 47 call(0x1040)
0x12d8 48 rbx = rbx + 1
0x12dc 49 rax = sx.q([rsp + 0xc {var_81c}].d)
0x12e1 50 r14 = r14 + 0x14
0x12e8 51 if (rbx s< rax) then 46 @ 0x12d0 else 33 @ 0x12ea
0x11e0 52 r15 = r15 + 1
0x11e4 53 r11 = r11 + 0x14
0x11eb 54 if (r10 == r9) then 16 @ 0x12bd else 43 @ 0x11f1
0x11fd 55 rax = rax + (rax << 2)
0x1201 56 rbx = rsp + (rax << 2)
0x1205 57 rbx = rbx + 0x30
0x1209 58 r14 = rsp + (rax << 2) + 0x34
0x120e 59 rcx = r9
0x1211 60 rdx = r11
0x1214 61 rsi = r15
0x1217 62 goto 63 @ 0x125b
0x125b 63 ebp = [rbx].d
0x1260 64 if (ebp s> 0x3b) then 65 @ 0x1267 else 71 @ 0x1265
0x1267 65 rax = rsi + (rsi << 2)
0x126b 66 rax = rsp + (rax << 2)
0x126f 67 rax = rax + 0x30
0x1273 68 edi = [rdx].d
0x1275 69 cond:0 = edi != ebp
0x1277 70 if (edi s> ebp) then 72 @ 0x1220 else 81 @ 0x1279
0x1265 71 if ([rdx].d s< 0x3c) then 82 @ 0x1290 else 65 @ 0x1267
0x1220 72 edi = [rbx + 0x10].d
0x1223 73 [rsp + 0x20 {var_808_1}].d = edi
0x1227 74 xmm0 = [rbx].o
0x122a 75 [rsp + 0x10 {var_818_1}].o = xmm0
0x122f 76 xmm0 = [rdx].o
0x1232 77 [rbx].o = xmm0
0x1235 78 edi = [rdx + 0x10].d
0x1238 79 [rbx + 0x10].d = edi
0x1238 80 goto 84 @ 0x123b
0x1279 81 if (cond:0) then 89 @ 0x124a else 93 @ 0x127b
0x1290 82 eax = [rdx + 4].d
0x1296 83 if (eax s>= [r14].d) then 89 @ 0x124a else 95 @ 0x1298
0x123b 84 edi = [rsp + 0x20 {var_808_1}].d
0x123f 85 [rax + 0x10].d = edi
0x1242 86 xmm0 = [rsp + 0x10 {var_818_1}].o
0x1247 87 [rax].o = xmm0
0x1247 88 goto 89 @ 0x124a
0x124a 89 rsi = rsi + 1
0x124e 90 rdx = rdx + 0x14
0x1252 91 rcx = rcx - 1
0x1259 92 if (r15 == rcx) then 52 @ 0x11e0 else 63 @ 0x125b
0x127b 93 edi = [rdx + 4].d
0x1281 94 if (edi s< [r14].d) then 72 @ 0x1220 else 105 @ 0x1283
0x1298 95 eax = [rbx + 0x10].d
0x129b 96 [rsp + 0x20 {var_808_1}].d = eax
0x129f 97 xmm0 = [rbx].o
0x12a2 98 [rsp + 0x10 {var_818_1}].o = xmm0
0x12a7 99 xmm0 = [rdx].o
0x12aa 100 [rbx].o = xmm0
0x12ad 101 eax = [rdx + 0x10].d
0x12b0 102 [rbx + 0x10].d = eax
0x12b3 103 rax = rdx
0x12b6 104 goto 84 @ 0x123b
0x1283 105 goto 89 @ 0x124a
int64_t _fini():
0x1300 0 rsp = rsp - 8
0x1304 1 rsp = rsp + 8
0x1308 2 <return> jump(pop)
| POJ_9 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t getchar():
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
uint64_t strlen(char const* arg1):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
int32_t putchar(int32_t c):
0x1060 0 <return> tailcall([0x4030].q)
void __cxa_finalize(void* d):
0x1070 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1084 0 ebp = 0
0x1086 1 r9 = rdx
0x1089 2 rsi = pop
0x108a 3 rdx = rsp {arg_8}
0x108d 4 rsp = rsp & 0xfffffffffffffff0
0x1091 5 push(rax)
0x1092 6 push(rsp)
0x1093 7 r8d = 0
0x1096 8 ecx = 0
0x1098 9 rdi = 0x1170 {"SH"}
0x109f 10 call([0x3ff8].q)
0x109f 11 noreturn
void deregister_tm_clones():
0x10b0 0 rdi = 0x4048 {""}
0x10b7 1 rax = 0x4048 {""}
0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3
0x10d8 3 <return> jump(pop)
0x10c3 4 rax = [0x3fd8].q
0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf
0x10cf 6 <return> tailcall(rax)
void register_tm_clones():
0x10e0 0 rdi = 0x4048 {""}
0x10e7 1 rsi = 0x4048 {""}
0x10ee 2 rsi = rsi - rdi
0x10f1 3 rax = rsi
0x10f4 4 rsi = rsi u>> 0x3f
0x10f8 5 rax = rax s>> 3
0x10fc 6 rsi = rsi + rax
0x10ff 7 rsi = rsi s>> 1
0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104
0x1118 9 <return> jump(pop)
0x1104 10 rax = [0x3ff0].q
0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110
0x1110 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d
0x1158 1 <return> jump(pop)
0x112d 2 push(rbp)
0x112e 3 cond:0 = [0x3fe0].q == 0
0x1136 4 rbp = rsp {__saved_rbp}
0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b
0x1147 6 call(0x10b0)
0x114c 7 [0x4048].b = 1
0x1153 8 rbp = pop
0x1154 9 <return> jump(pop)
0x113b 10 rdi = [0x4040].q
0x1142 11 call(0x1070)
0x1142 12 goto 6 @ 0x1147
int64_t frame_dummy():
0x1164 0 <return> tailcall(0x10e0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1170 0 push(rbx)
0x1171 1 rsp = rsp - 0x12d0
0x1178 2 rbx = 0x2004 {"%d"}
0x117f 3 rsi = rsp + 0xc {var_12cc}
0x1184 4 rdi = rbx
0x1187 5 eax = 0
0x1189 6 call(0x1050)
0x118e 7 rdi = 0x2007 {"%s"}
0x1195 8 rsi = rsp + 0x10 {var_12c8}
0x119a 9 eax = 0
0x119c 10 call(0x1050)
0x11a1 11 rsi = rsp + 8 {var_12d0}
0x11a6 12 rdi = rbx
0x11a9 13 eax = 0
0x11ab 14 call(0x1050)
0x11b5 15 if ([rsp + 0x10 {var_12c8}].b != 0x30) then 16 @ 0x11da else 19 @ 0x11b7
0x11da 16 rdi = rsp + 0x10 {var_12c8}
0x11df 17 call(0x1040)
0x11e7 18 if (rax s<= 0) then 22 @ 0x122a else 23 @ 0x11e9
0x11b7 19 edi = 0x30 {""}
0x11bc 20 call(0x1060)
0x11bc 21 goto 25 @ 0x11c1
0x122a 22 if (rax s<= 0) then 33 @ 0x125b else 35 @ 0x122c
0x11e9 23 ecx = 0
0x11eb 24 goto 39 @ 0x11ff
0x11c1 25 eax = 0
0x11c3 26 call(0x1030)
0x11c8 27 eax = 0
0x11ca 28 call(0x1030)
0x11cf 29 eax = 0
0x11d1 30 rsp = rsp + 0x12d0
0x11d8 31 rbx = pop
0x11d9 32 <return> jump(pop)
0x125b 33 ecx = 0
0x125b 34 goto 43 @ 0x125d
0x122c 35 rdx = sx.q([rsp + 0xc {var_12cc}].d)
0x1231 36 esi = 0
0x1233 37 edi = 0
0x123f 38 goto 46 @ 0x1240
0x11ff 39 edx = zx.d([rsp + rcx + 0x10].b)
0x1204 40 esi = (rdx - 0x41).d
0x1207 41 bl = 0xc9 {""}
0x120d 42 if (sil u< 0x1a) then 52 @ 0x11f0 else 55 @ 0x120f
0x125d 43 rdi = sx.q([rsp + 8 {var_12d0}].d)
0x1262 44 esi = 0
0x126e 45 goto 58 @ 0x1270
0x1240 46 rdi = rdi * rdx
0x1244 47 rcx = sx.q([rsp + rsi + 0x10].b)
0x124a 48 rcx = rcx + rdi
0x124d 49 rsi = rsi + 1
0x1251 50 rdi = rcx
0x1257 51 if (rax != rsi) then 46 @ 0x1240 else 68 @ 0x1259
0x11f0 52 dl = dl + bl
0x11f2 53 [rsp + rcx + 0x10].b = dl
0x11f2 54 goto 69 @ 0x11f6
0x120f 55 esi = (rdx - 0x61).d
0x1212 56 bl = 0xa9 {""}
0x1218 57 if (sil u< 0x1a) then 52 @ 0x11f0 else 71 @ 0x121a
0x1270 58 rax = rcx
0x1273 59 rdx:rax = sx.o(rax)
0x1275 60 temp0.q = divs.dp.q(rdx:rax, rdi)
0x1275 61 temp1.q = mods.dp.q(rdx:rax, rdi)
0x1275 62 rax = temp0.q
0x1275 63 rdx = temp1.q
0x1278 64 [rsp + (rsi << 2) + 0x330].d = edx
0x127f 65 rsi = rsi + 1
0x1283 66 rcx = rax
0x1289 67 if (rax s>= rdi) then 58 @ 0x1270 else 74 @ 0x128b
0x1259 68 goto 43 @ 0x125d
0x11f6 69 rcx = rcx + 1
0x11fd 70 if (rax == rcx) then 22 @ 0x122a else 39 @ 0x11ff
0x121a 71 esi = (rdx - 0x30).d
0x121d 72 bl = 0xd0 {""}
0x1223 73 if (sil u<= 9) then 52 @ 0x11f0 else 88 @ 0x1225
0x128b 74 rax = rcx
0x128e 75 rdx:rax = sx.o(rax)
0x1290 76 temp0.q = divs.dp.q(rdx:rax, rdi)
0x1290 77 temp1.q = mods.dp.q(rdx:rax, rdi)
0x1290 78 rax = temp0.q
0x1290 79 rdx = temp1.q
0x1293 80 eax = esi
0x1295 81 [rsp + (rax << 2) + 0x330].d = edx
0x129c 82 eax = (rsi + 1).d
0x129f 83 [rsp + (rax << 2) + 0x330].d = 0
0x12aa 84 esi = esi - 1
0x12ad 85 rbx = sx.q(esi)
0x12b0 86 rbx = rbx + 2
0x12b4 87 goto 89 @ 0x12d2
0x1225 88 goto 69 @ 0x11f6
0x12d2 89 edi = [rsp + (rbx << 2) + 0x32c].d
0x12dc 90 if (edi s< 0xa) then 91 @ 0x12c0 else 93 @ 0x12de
0x12c0 91 edi = edi + 0x30
0x12c0 92 goto 96 @ 0x12c3
0x12de 93 edi = edi + 0x37
0x12e1 94 [rsp + (rbx << 2) + 0x32c].d = edi
0x12e8 95 goto 96 @ 0x12c3
0x12c3 96 call(0x1060)
0x12c8 97 temp2.q = rbx
0x12c8 98 rbx = rbx - 1
0x12cc 99 if (temp2.q s<= 1) then 25 @ 0x11c1 else 89 @ 0x12d2
int64_t _fini():
0x12f0 0 rsp = rsp - 8
0x12f4 1 rsp = rsp + 8
0x12f8 2 <return> jump(pop)
| POJ_55 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UAWAVAUATSHH="}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 push(r15)
0x1153 2 push(r14)
0x1155 3 push(r13)
0x1157 4 push(r12)
0x1159 5 push(rbx)
0x115a 6 rsp = rsp - 0x18
0x115e 7 rdi = 0x2008 {"%d"}
0x1165 8 rsi = rsp + 0x14 {var_34}
0x116a 9 eax = 0
0x116c 10 call(0x1040)
0x1171 11 esi = 0
0x1173 12 cond:0 = [rsp + 0x14 {var_34}].d s<= 0
0x1178 13 edx = 0
0x117d 14 r15d = 0
0x1183 15 r14d = 0
0x1189 16 eax = 0
0x118e 17 r12d = 0
0x1194 18 if (cond:0) then 19 @ 0x1231 else 43 @ 0x119a
0x1231 19 r13 = 0x200b {"%d %d\n"}
0x1238 20 rdi = r13
0x123b 21 ebx = eax
0x123d 22 eax = 0
0x123f 23 call(0x1030)
0x1244 24 rdi = r13
0x1247 25 esi = r15d
0x124a 26 edx = r14d
0x124d 27 eax = 0
0x124f 28 call(0x1030)
0x1254 29 rdi = r13
0x1257 30 esi = ebx
0x1259 31 edx = r12d
0x125c 32 eax = 0
0x125e 33 call(0x1030)
0x1263 34 eax = 0
0x1265 35 rsp = rsp + 0x18
0x1269 36 rbx = pop
0x126a 37 r12 = pop
0x126c 38 r13 = pop
0x126e 39 r14 = pop
0x1270 40 r15 = pop
0x1272 41 rbp = pop
0x1273 42 <return> jump(pop)
0x119a 43 r12d = 0
0x119d 44 eax = 0
0x119f 45 r14d = 0
0x11a2 46 r15d = 0
0x11a5 47 ebx = 0
0x11a7 48 ebp = 0
0x11a9 49 r13d = 0
0x11ac 50 goto 51 @ 0x11d0
0x11d0 51 [rsp + 0x10 {var_38_1}].d = eax
0x11d4 52 rdi = 0x2004 {"%d%d%d"}
0x11db 53 rsi = rsp {var_48}
0x11de 54 rdx = rsp + 4 {var_44}
0x11e3 55 rcx = rsp + 8 {var_40}
0x11e8 56 eax = 0
0x11ea 57 call(0x1040)
0x11ef 58 eax = [rsp + 8 {var_40}].d
0x11f3 59 eax = eax + [rsp + 4 {var_44}].d
0x11f9 60 if (eax s> ebx) then 61 @ 0x11b0 else 64 @ 0x11fe
0x11b0 61 esi = [rsp {var_48}].d
0x11b3 62 edx = eax
0x11b3 63 goto 65 @ 0x11b5
0x11fe 64 if (eax s<= r14d) then 73 @ 0x1210 else 76 @ 0x1200
0x11b5 65 r12d = r14d
0x11b8 66 eax = r15d
0x11bb 67 r14d = ebx
0x11be 68 r15d = ebp
0x11c1 69 r13d = r13d + 1
0x11c5 70 ebx = edx
0x11c7 71 ebp = esi
0x11ce 72 if (r13d s>= [rsp + 0x14 {var_34}].d) then 19 @ 0x1231 else 51 @ 0x11d0
0x1210 73 cond:1 = eax s<= r12d
0x1213 74 ecx = [rsp + 0x10 {var_38_1}].d
0x1217 75 if (cond:1) then 81 @ 0x121f else 88 @ 0x1219
0x1200 76 esi = ebp
0x1202 77 ebp = [rsp {var_48}].d
0x1205 78 edx = ebx
0x1207 79 ebx = eax
0x1209 80 goto 65 @ 0x11b5
0x121f 81 esi = ebp
0x1221 82 edx = ebx
0x1223 83 ebp = r15d
0x1226 84 ebx = r14d
0x1229 85 r15d = ecx
0x122c 86 r14d = r12d
0x122f 87 goto 65 @ 0x11b5
0x1219 88 ecx = [rsp {var_48}].d
0x121c 89 r12d = eax
0x121c 90 goto 81 @ 0x121f
int64_t _fini():
0x1278 0 rsp = rsp - 8
0x127c 1 rsp = rsp + 8
0x1280 2 <return> jump(pop)
| POJ_14 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
uint64_t strlen(char const* arg1):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
char* strstr(char const* arg1, char const* arg2):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
int32_t puts(char const* str):
0x1060 0 <return> tailcall([0x4030].q)
int32_t putchar(int32_t c):
0x1070 0 <return> tailcall([0x4038].q)
void __cxa_finalize(void* d):
0x1080 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1094 0 ebp = 0
0x1096 1 r9 = rdx
0x1099 2 rsi = pop
0x109a 3 rdx = rsp {arg_8}
0x109d 4 rsp = rsp & 0xfffffffffffffff0
0x10a1 5 push(rax)
0x10a2 6 push(rsp)
0x10a3 7 r8d = 0
0x10a6 8 ecx = 0
0x10a8 9 rdi = 0x1180 {"UAWAVAUATSH"}
0x10af 10 call([0x3ff8].q)
0x10af 11 noreturn
void deregister_tm_clones():
0x10c0 0 rdi = 0x4050 {""}
0x10c7 1 rax = 0x4050 {""}
0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3
0x10e8 3 <return> jump(pop)
0x10d3 4 rax = [0x3fd8].q
0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df
0x10df 6 <return> tailcall(rax)
void register_tm_clones():
0x10f0 0 rdi = 0x4050 {""}
0x10f7 1 rsi = 0x4050 {""}
0x10fe 2 rsi = rsi - rdi
0x1101 3 rax = rsi
0x1104 4 rsi = rsi u>> 0x3f
0x1108 5 rax = rax s>> 3
0x110c 6 rsi = rsi + rax
0x110f 7 rsi = rsi s>> 1
0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114
0x1128 9 <return> jump(pop)
0x1114 10 rax = [0x3ff0].q
0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120
0x1120 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d
0x1168 1 <return> jump(pop)
0x113d 2 push(rbp)
0x113e 3 cond:0 = [0x3fe0].q == 0
0x1146 4 rbp = rsp {__saved_rbp}
0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b
0x1157 6 call(0x10c0)
0x115c 7 [0x4050].b = 1
0x1163 8 rbp = pop
0x1164 9 <return> jump(pop)
0x114b 10 rdi = [0x4048].q
0x1152 11 call(0x1080)
0x1152 12 goto 6 @ 0x1157
int64_t frame_dummy():
0x1174 0 <return> tailcall(0x10f0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1180 0 push(rbp)
0x1181 1 push(r15)
0x1183 2 push(r14)
0x1185 3 push(r13)
0x1187 4 push(r12)
0x1189 5 push(rbx)
0x118a 6 rsp = rsp - 0x308
0x1191 7 rdi = 0x2004 {"%s %s %s"}
0x1198 8 rbx = rsp {var_338}
0x119b 9 r14 = rsp + 0x200 {var_138}
0x11a3 10 rcx = rsp + 0x100 {var_238}
0x11ab 11 rsi = rbx {var_338}
0x11ae 12 rdx = r14 {var_138}
0x11b1 13 eax = 0
0x11b3 14 call(0x1050)
0x11b8 15 rdi = rbx {var_338}
0x11bb 16 rsi = r14 {var_138}
0x11be 17 call(0x1040)
0x11c6 18 if (rax == 0) then 19 @ 0x128c else 22 @ 0x11cc
0x128c 19 rdi = rsp {var_338}
0x128f 20 call(0x1060)
0x128f 21 goto 37 @ 0x1294
0x11cc 22 rbx = rax
0x11cf 23 rdi = rsp {var_338}
0x11d2 24 call(0x1030)
0x11d7 25 r15 = rax
0x11da 26 rdi = rbx
0x11dd 27 call(0x1030)
0x11e2 28 r15 = r15 - rax
0x11e5 29 rdi = rsp + 0x200 {var_138}
0x11ed 30 call(0x1030)
0x11f2 31 r14 = rax
0x11f5 32 rbx = rsp + 0x100 {var_238}
0x11fd 33 rdi = rbx {var_238}
0x1200 34 call(0x1030)
0x1205 35 r12 = rax
0x120b 36 if (r15d s<= 0) then 46 @ 0x1235 else 47 @ 0x120d
0x1294 37 eax = 0
0x1296 38 rsp = rsp + 0x308
0x129d 39 rbx = pop
0x129e 40 r12 = pop
0x12a0 41 r13 = pop
0x12a2 42 r14 = pop
0x12a4 43 r15 = pop
0x12a6 44 rbp = pop
0x12a7 45 <return> jump(pop)
0x1235 46 if (r12d s<= 0) then 50 @ 0x1254 else 55 @ 0x1237
0x120d 47 r13d = r15d
0x1210 48 ebp = 0
0x121c 49 goto 58 @ 0x1220
0x1254 50 r15d = r15d + r14d
0x1257 51 rbx = sx.q(r15d)
0x125a 52 rdi = rsp {var_338}
0x125d 53 call(0x1030)
0x1265 54 if (rax u<= rbx) then 37 @ 0x1294 else 62 @ 0x1267
0x1237 55 r12d = r12d + r15d
0x123a 56 ebp = r15d
0x123d 57 goto 64 @ 0x1240
0x1220 58 edi = sx.d([rsp + rbp].b)
0x1224 59 call(0x1070)
0x1229 60 rbp = rbp + 1
0x1230 61 if (r13 != rbp) then 58 @ 0x1220 else 46 @ 0x1235
0x1267 62 r14 = rsp {var_338}
0x126a 63 goto 69 @ 0x1270
0x1240 64 edi = sx.d([rbx].b)
0x1243 65 call(0x1070)
0x1248 66 ebp = ebp + 1
0x124b 67 rbx = rbx + 1
0x1252 68 if (ebp s< r12d) then 64 @ 0x1240 else 50 @ 0x1254
0x1270 69 edi = sx.d([rsp + rbx].b)
0x1274 70 call(0x1070)
0x1279 71 rbx = rbx + 1
0x127d 72 rdi = r14 {var_338}
0x1280 73 call(0x1030)
0x1288 74 if (rax u> rbx) then 69 @ 0x1270 else 75 @ 0x128a
0x128a 75 goto 37 @ 0x1294
int64_t _fini():
0x12ac 0 rsp = rsp - 8
0x12b0 1 rsp = rsp + 8
0x12b4 2 <return> jump(pop)
| POJ_7 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
uint64_t strlen(char const* arg1):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
char* gets(char* buf):
0x1040 0 <return> tailcall([0x4020].q)
int32_t putchar(int32_t c):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1170 {"AVSH"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
uint64_t trans(int32_t arg1):
0x1160 0 eax = (rdi - 0x61).d
0x1163 1 ecx = (rdi - 0x20).d
0x1166 2 cond:0 = al u>= 0x1a
0x1168 3 eax = zx.d(cl)
0x116b 4 if (cond:0) then 5 else 7 @ 0x116e
0x116b 5 eax = edi
0x116b 6 goto 7 @ 0x116e
0x116e 7 <return> jump(pop)
int32_t main(int32_t argc, char** argv, char** envp):
0x1170 0 push(r14)
0x1172 1 push(rbx)
0x1173 2 rsp = rsp - 0xd8
0x117a 3 rbx = rsp + 0x70 {var_78}
0x117f 4 rdi = rbx {var_78}
0x1182 5 eax = 0
0x1184 6 call(0x1040)
0x1189 7 r14 = rsp {var_e8}
0x118c 8 rdi = r14 {var_e8}
0x118f 9 eax = 0
0x1191 10 call(0x1040)
0x1196 11 rdi = rbx {var_78}
0x1199 12 call(0x1030)
0x119e 13 rbx = rax
0x11a1 14 rdi = r14 {var_e8}
0x11a4 15 call(0x1030)
0x11a9 16 edi = 0x3d {""}
0x11b0 17 if (ebx s<= 0) then 18 @ 0x1223 else 24 @ 0x11b4
0x1223 18 call(0x1050)
0x1228 19 eax = 0
0x122a 20 rsp = rsp + 0xd8
0x1231 21 rbx = pop
0x1232 22 r14 = pop
0x1234 23 <return> jump(pop)
0x11b4 24 if (eax s<= 0) then 18 @ 0x1223 else 25 @ 0x11b6
0x11b6 25 r8 = sx.q(eax)
0x11b9 26 r9 = sx.q(ebx)
0x11bc 27 edx = 1
0x11cb 28 goto 29 @ 0x11d0
0x11d0 29 esi = zx.d([rsp + rdx + 0x6f].b)
0x11d5 30 ebx = (rsi - 0x61).d
0x11d8 31 eax = (rsi - 0x20).d
0x11db 32 cond:2 = bl u>= 0x1a
0x11de 33 eax = zx.d(al)
0x11e1 34 if (cond:2) then 35 else 37 @ 0x11e4
0x11e1 35 eax = esi
0x11e1 36 goto 37 @ 0x11e4
0x11e4 37 [rsp + rdx + 0x6f].b = al
0x11e8 38 esi = zx.d([rsp + rdx - 1].b)
0x11ed 39 ebx = (rsi - 0x61).d
0x11f0 40 ecx = (rsi - 0x20).d
0x11f3 41 cond:3 = bl u>= 0x1a
0x11f6 42 ecx = zx.d(cl)
0x11f9 43 if (cond:3) then 44 else 46 @ 0x11fc
0x11f9 44 ecx = esi
0x11f9 45 goto 46 @ 0x11fc
0x11fc 46 [rsp + rdx - 1].b = cl
0x1200 47 cond:0 = al s> cl
0x1202 48 if (al != cl) then 49 @ 0x1217 else 54 @ 0x1207
0x1217 49 al = cond:0
0x121a 50 eax = zx.d(al)
0x121d 51 edi = (rax + rax).d
0x1220 52 edi = edi + 0x3c
0x1220 53 goto 18 @ 0x1223
0x1207 54 if (rdx s>= r9) then 18 @ 0x1223 else 55 @ 0x1209
0x1209 55 rsi = rdx + 1
0x120d 56 cond:1 = rdx s< r8
0x1210 57 rdx = rsi
0x1213 58 if (cond:1) then 29 @ 0x11d0 else 59 @ 0x1215
0x1215 59 goto 18 @ 0x1223
int64_t _fini():
0x123c 0 rsp = rsp - 8
0x1240 1 rsp = rsp + 8
0x1244 2 <return> jump(pop)
| POJ_95 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"AWAVATSH8"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(r15)
0x1152 1 push(r14)
0x1154 2 push(r12)
0x1156 3 push(rbx)
0x1157 4 rsp = rsp - 0x338
0x115e 5 rdi = 0x2006 {"%d"}
0x1165 6 ebx = 0
0x1167 7 rsi = rsp + 0xc {var_34c}
0x116c 8 eax = 0
0x116e 9 call(0x1040)
0x1173 10 eax = [rsp + 0xc {var_34c}].d
0x1179 11 if (eax s<= 0) then 12 @ 0x1210 else 14 @ 0x117f
0x1210 12 eax = eax - 1
0x1210 13 goto 19 @ 0x1213
0x117f 14 r14 = rsp + 0x10 {var_348}
0x1184 15 r12 = rsp + 0x1a0 {var_1b8}
0x118c 16 r15 = 0x2004 {"%d%d"}
0x1193 17 ebx = 0
0x119f 18 goto 21 @ 0x11a0
0x1213 19 esi = 0
0x1213 20 goto 31 @ 0x1215
0x11a0 21 rdi = r15
0x11a3 22 rsi = r12
0x11a6 23 rdx = r14
0x11a9 24 eax = 0
0x11ab 25 call(0x1040)
0x11b0 26 rbx = rbx + 1
0x11b4 27 rcx = sx.q([rsp + 0xc {var_34c}].d)
0x11b9 28 r14 = r14 + 4
0x11bd 29 r12 = r12 + 4
0x11c4 30 if (rbx s< rcx) then 21 @ 0x11a0 else 35 @ 0x11c6
0x1215 31 rax = sx.q(eax)
0x1217 32 ecx = [rsp + (rax << 2) + 0x1a0].d
0x121e 33 ecx = ecx - 0x5a
0x1224 34 if (ecx u> 0x32) then 38 @ 0x123b else 48 @ 0x1226
0x11c6 35 eax = (rcx - 1).d
0x11c9 36 ebx = 0
0x11ce 37 if (ecx s< 2) then 19 @ 0x1213 else 52 @ 0x11d0
0x123b 38 rdi = 0x2006 {"%d"}
0x1242 39 eax = 0
0x1244 40 call(0x1030)
0x1249 41 eax = 0
0x124b 42 rsp = rsp + 0x338
0x1252 43 rbx = pop
0x1253 44 r12 = pop
0x1255 45 r14 = pop
0x1257 46 r15 = pop
0x1259 47 <return> jump(pop)
0x1226 48 eax = [rsp + (rax << 2) + 0x10].d
0x122a 49 eax = eax - 0x5b
0x122d 50 ecx = (rbx + 1).d
0x1232 51 if (ebx s< esi) then 57 else 59 @ 0x1238
0x11d0 52 ecx = eax
0x11d2 53 edx = 0
0x11d4 54 esi = 0
0x11d6 55 ebx = 0
0x11d8 56 goto 60 @ 0x11f0
0x1232 57 ecx = esi
0x1232 58 goto 59 @ 0x1238
0x1238 59 if (eax u>= -0x1f) then 63 else 65
0x11f0 60 edi = [rsp + (rdx << 2) + 0x1a0].d
0x11f7 61 edi = edi - 0x5a
0x11fd 62 if (edi u> 0x32) then 66 @ 0x11e2 else 67 @ 0x11ff
0x1238 63 esi = ecx
0x1238 64 goto 65
0x1238 65 goto 38 @ 0x123b
0x11e2 66 if (ebx s> esi) then 70 else 72 @ 0x11e5
0x11ff 67 edi = [rsp + (rdx << 2) + 0x10].d
0x1203 68 edi = edi - 0x3c
0x1209 69 if (edi u> 0x1e) then 66 @ 0x11e2 else 74 @ 0x120b
0x11e2 70 esi = ebx
0x11e2 71 goto 72 @ 0x11e5
0x11e5 72 ebx = 0
0x11e5 73 goto 76 @ 0x11e7
0x120b 74 ebx = ebx + 1
0x120e 75 goto 76 @ 0x11e7
0x11e7 76 rdx = rdx + 1
0x11ee 77 if (rcx == rdx) then 31 @ 0x1215 else 60 @ 0x11f0
int64_t _fini():
0x1260 0 rsp = rsp - 8
0x1264 1 rsp = rsp + 8
0x1268 2 <return> jump(pop)
| POJ_82 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
uint64_t strlen(char const* arg1):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
int64_t malloc(uint64_t bytes):
0x1060 0 <return> tailcall([0x4030].q)
int32_t putchar(int32_t c):
0x1070 0 <return> tailcall([0x4038].q)
void __cxa_finalize(void* d):
0x1080 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1094 0 ebp = 0
0x1096 1 r9 = rdx
0x1099 2 rsi = pop
0x109a 3 rdx = rsp {arg_8}
0x109d 4 rsp = rsp & 0xfffffffffffffff0
0x10a1 5 push(rax)
0x10a2 6 push(rsp)
0x10a3 7 r8d = 0
0x10a6 8 ecx = 0
0x10a8 9 rdi = 0x1180 {"UAWAVAUATSPH=r"}
0x10af 10 call([0x3ff8].q)
0x10af 11 noreturn
void deregister_tm_clones():
0x10c0 0 rdi = 0x4050 {""}
0x10c7 1 rax = 0x4050 {""}
0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3
0x10e8 3 <return> jump(pop)
0x10d3 4 rax = [0x3fd8].q
0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df
0x10df 6 <return> tailcall(rax)
void register_tm_clones():
0x10f0 0 rdi = 0x4050 {""}
0x10f7 1 rsi = 0x4050 {""}
0x10fe 2 rsi = rsi - rdi
0x1101 3 rax = rsi
0x1104 4 rsi = rsi u>> 0x3f
0x1108 5 rax = rax s>> 3
0x110c 6 rsi = rsi + rax
0x110f 7 rsi = rsi s>> 1
0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114
0x1128 9 <return> jump(pop)
0x1114 10 rax = [0x3ff0].q
0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120
0x1120 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d
0x1168 1 <return> jump(pop)
0x113d 2 push(rbp)
0x113e 3 cond:0 = [0x3fe0].q == 0
0x1146 4 rbp = rsp {__saved_rbp}
0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b
0x1157 6 call(0x10c0)
0x115c 7 [0x4050].b = 1
0x1163 8 rbp = pop
0x1164 9 <return> jump(pop)
0x114b 10 rdi = [0x4048].q
0x1152 11 call(0x1080)
0x1152 12 goto 6 @ 0x1157
int64_t frame_dummy():
0x1174 0 <return> tailcall(0x10f0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1180 0 push(rbp)
0x1181 1 push(r15)
0x1183 2 push(r14)
0x1185 3 push(r13)
0x1187 4 push(r12)
0x1189 5 push(rbx)
0x118a 6 push(rax)
0x118b 7 rdi = 0x2004 {"%d"}
0x1192 8 rsi = rsp + 4 {var_38+0x4}
0x1197 9 eax = 0
0x1199 10 call(0x1050)
0x119e 11 rbx = sx.q([rsp + 4 {var_38+0x4}].d)
0x11a3 12 rax = rbx + (rbx << 2)
0x11a7 13 rdi = rbx + (rax << 3)
0x11ab 14 call(0x1060)
0x11b0 15 [0x4058].q = rax
0x11ba 16 if (rbx s<= 0) then 17 @ 0x12ac else 26 @ 0x11c0
0x12ac 17 eax = 0
0x12ae 18 rsp = rsp + 8
0x12b2 19 rbx = pop
0x12b3 20 r12 = pop
0x12b5 21 r13 = pop
0x12b7 22 r14 = pop
0x12b9 23 r15 = pop
0x12bb 24 rbp = pop
0x12bc 25 <return> jump(pop)
0x11c0 26 rdi = 0x2008 {"%s"}
0x11c7 27 rsi = rax
0x11ca 28 eax = 0
0x11cc 29 call(0x1050)
0x11d1 30 eax = [rsp + 4 {var_38+0x4}].d
0x11d8 31 if (eax s< 2) then 32 @ 0x1218 else 33 @ 0x11da
0x1218 32 if (eax s<= 0) then 17 @ 0x12ac else 37 @ 0x121e
0x11da 33 ebp = 1
0x11df 34 ebx = 0x29 {"7"}
0x11e4 35 r14 = 0x2008 {"%s"}
0x11eb 36 goto 41 @ 0x11f0
0x121e 37 ebp = 0
0x1220 38 r14d = 0
0x1223 39 r12d = 0
0x1226 40 goto 50 @ 0x1256
0x11f0 41 rsi = [0x4058].q
0x11f7 42 rsi = rsi + rbx
0x11fa 43 rdi = r14
0x11fd 44 eax = 0
0x11ff 45 call(0x1050)
0x1204 46 rbp = rbp + 1
0x1208 47 rax = sx.q([rsp + 4 {var_38+0x4}].d)
0x120d 48 rbx = rbx + 0x29
0x1214 49 if (rbp s< rax) then 41 @ 0x11f0 else 32 @ 0x1218
0x1256 50 rbx = [0x4058].q
0x125d 51 r13 = rbx + rbp
0x1261 52 rdi = r13
0x1264 53 call(0x1040)
0x1269 54 r15 = rax
0x126c 55 eax = eax + r12d
0x1272 56 if (eax s> 0x4f) then 57 @ 0x1230 else 62 @ 0x1277
0x1230 57 rdi = 0x2007 {"\n%s"}
0x1237 58 rsi = r13
0x123a 59 eax = 0
0x123c 60 call(0x1030)
0x123c 61 goto 63 @ 0x1241
0x1277 62 if (r12d s<= 0) then 68 @ 0x1291 else 76 @ 0x1279
0x1241 63 r14 = r14 + 1
0x1245 64 rax = sx.q([rsp + 4 {var_38+0x4}].d)
0x124a 65 rbp = rbp + 0x29
0x124e 66 r12d = r15d
0x1254 67 if (r14 s>= rax) then 17 @ 0x12ac else 50 @ 0x1256
0x1291 68 rbx = rbx + rbp
0x1294 69 rdi = 0x2008 {"%s"}
0x129b 70 rsi = rbx
0x129e 71 ebx = eax
0x12a0 72 eax = 0
0x12a2 73 call(0x1030)
0x12a7 74 r15d = ebx
0x12aa 75 goto 63 @ 0x1241
0x1279 76 edi = 0x20 {"@"}
0x127e 77 call(0x1070)
0x1283 78 rbx = [0x4058].q
0x128a 79 eax = (r12 + r15).d
0x128e 80 eax = eax + 1
0x128e 81 goto 68 @ 0x1291
int64_t _fini():
0x12c4 0 rsp = rsp - 8
0x12c8 1 rsp = rsp + 8
0x12cc 2 <return> jump(pop)
| POJ_98 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
uint64_t strlen(char const* arg1):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
int32_t strcmp(char const* arg1, char const* arg2):
0x1060 0 <return> tailcall([0x4030].q)
void __cxa_finalize(void* d):
0x1070 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1084 0 ebp = 0
0x1086 1 r9 = rdx
0x1089 2 rsi = pop
0x108a 3 rdx = rsp {arg_8}
0x108d 4 rsp = rsp & 0xfffffffffffffff0
0x1091 5 push(rax)
0x1092 6 push(rsp)
0x1093 7 r8d = 0
0x1096 8 ecx = 0
0x1098 9 rdi = 0x1170 {"UHH"}
0x109f 10 call([0x3ff8].q)
0x109f 11 noreturn
void deregister_tm_clones():
0x10b0 0 rdi = 0x4048 {""}
0x10b7 1 rax = 0x4048 {""}
0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3
0x10d8 3 <return> jump(pop)
0x10c3 4 rax = [0x3fd8].q
0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf
0x10cf 6 <return> tailcall(rax)
void register_tm_clones():
0x10e0 0 rdi = 0x4048 {""}
0x10e7 1 rsi = 0x4048 {""}
0x10ee 2 rsi = rsi - rdi
0x10f1 3 rax = rsi
0x10f4 4 rsi = rsi u>> 0x3f
0x10f8 5 rax = rax s>> 3
0x10fc 6 rsi = rsi + rax
0x10ff 7 rsi = rsi s>> 1
0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104
0x1118 9 <return> jump(pop)
0x1104 10 rax = [0x3ff0].q
0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110
0x1110 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d
0x1158 1 <return> jump(pop)
0x112d 2 push(rbp)
0x112e 3 cond:0 = [0x3fe0].q == 0
0x1136 4 rbp = rsp {__saved_rbp}
0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b
0x1147 6 call(0x10b0)
0x114c 7 [0x4048].b = 1
0x1153 8 rbp = pop
0x1154 9 <return> jump(pop)
0x113b 10 rdi = [0x4040].q
0x1142 11 call(0x1070)
0x1142 12 goto 6 @ 0x1147
int64_t frame_dummy():
0x1164 0 <return> tailcall(0x10e0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1170 0 push(rbp)
0x1171 1 rbp = rsp {__saved_rbp}
0x1174 2 rsp = rsp - 0x4d0
0x117b 3 rsi = rbp - 0x130 {var_138}
0x1182 4 rdx = rbp - 0x260 {var_268}
0x1189 5 rcx = rbp - 0x390 {var_398}
0x1190 6 rdi = 0x2004 {"%s\n%s\n%s"}
0x1197 7 al = 0
0x1199 8 call(0x1050)
0x119e 9 rdi = rbp - 0x130 {var_138}
0x11a5 10 call(0x1040)
0x11aa 11 [rbp - 0x4c8 {var_4d0}].d = eax
0x11b0 12 rdi = rbp - 0x260 {var_268}
0x11b7 13 call(0x1040)
0x11bc 14 [rbp - 0x4c4 {var_4cc}].d = eax
0x11c2 15 [rbp - 0x4cc {var_4d4}].d = 0
0x11c2 16 goto 17 @ 0x11cc
0x11cc 17 eax = [rbp - 0x4cc {var_4d4}].d
0x11d2 18 ecx = [rbp - 0x4c8 {var_4d0}].d
0x11d8 19 ecx = ecx - [rbp - 0x4c4 {var_4cc}].d
0x11e0 20 if (eax s> ecx) then 21 @ 0x12d2 else 22 @ 0x11e6
0x12d2 21 goto 24 @ 0x12d7
0x11e6 22 [rbp - 0x4d0 {var_4d8_1}].d = 1
0x11e6 23 goto 28 @ 0x11f0
0x12d7 24 eax = [rbp - 0x4cc {var_4d4}].d
0x12dd 25 ecx = [rbp - 0x4c8 {var_4d0}].d
0x12e3 26 ecx = ecx - 1
0x12e8 27 if (eax s> ecx) then 30 @ 0x131f else 33 @ 0x12ee
0x11f0 28 eax = [rbp - 0x4d0 {var_4d8_1}].d
0x11fc 29 if (eax s> [rbp - 0x4c4 {var_4cc}].d) then 42 @ 0x124f else 46 @ 0x1202
0x131f 30 rsp = rsp + 0x4d0
0x1326 31 rbp = pop
0x1327 32 <return> jump(pop)
0x12ee 33 rax = sx.q([rbp - 0x4cc {var_4d4}].d)
0x12f5 34 esi = sx.d([rbp + rax - 0x130].b)
0x12fd 35 rdi = 0x200d {"%c"}
0x1304 36 al = 0
0x1306 37 call(0x1030)
0x130b 38 eax = [rbp - 0x4cc {var_4d4}].d
0x1311 39 eax = eax + 1
0x1314 40 [rbp - 0x4cc {var_4d4}].d = eax
0x131a 41 goto 24 @ 0x12d7
0x124f 42 rdi = rbp - 0x4c0 {var_4c8}
0x1256 43 rsi = rbp - 0x260 {var_268}
0x125d 44 call(0x1060)
0x1265 45 if (eax == 0) then 61 @ 0x128d else 69 @ 0x126b
0x1202 46 eax = [rbp - 0x4cc {var_4d4}].d
0x1208 47 eax = eax + [rbp - 0x4d0 {var_4d8_1}].d
0x120e 48 eax = eax - 1
0x1211 49 rax = sx.q(eax)
0x1213 50 cl = [rbp + rax - 0x130].b
0x121a 51 eax = [rbp - 0x4d0 {var_4d8_1}].d
0x1220 52 eax = eax - 1
0x1223 53 rax = sx.q(eax)
0x1225 54 [rbp + rax - 0x4c0].b = cl
0x122c 55 rax = sx.q([rbp - 0x4d0 {var_4d8_1}].d)
0x1233 56 [rbp + rax - 0x4c0].b = 0
0x123b 57 eax = [rbp - 0x4d0 {var_4d8_1}].d
0x1241 58 eax = eax + 1
0x1244 59 [rbp - 0x4d0 {var_4d8_1}].d = eax
0x124a 60 goto 28 @ 0x11f0
0x128d 61 rsi = rbp - 0x390 {var_398}
0x1294 62 rdi = 0x200a {"%s"}
0x129b 63 al = 0
0x129d 64 call(0x1030)
0x12a2 65 eax = [rbp - 0x4c4 {var_4cc}].d
0x12a8 66 eax = eax + [rbp - 0x4cc {var_4d4}].d
0x12ae 67 [rbp - 0x4cc {var_4d4}].d = eax
0x12b4 68 goto 21 @ 0x12d2
0x126b 69 rax = sx.q([rbp - 0x4cc {var_4d4}].d)
0x1272 70 esi = sx.d([rbp + rax - 0x130].b)
0x127a 71 rdi = 0x200d {"%c"}
0x1281 72 al = 0
0x1283 73 call(0x1030)
0x1288 74 goto 75 @ 0x12b9
0x12b9 75 goto 76 @ 0x12be
0x12be 76 eax = [rbp - 0x4cc {var_4d4}].d
0x12c4 77 eax = eax + 1
0x12c7 78 [rbp - 0x4cc {var_4d4}].d = eax
0x12cd 79 goto 17 @ 0x11cc
int64_t _fini():
0x132c 0 rsp = rsp - 8
0x1330 1 rsp = rsp + 8
0x1334 2 <return> jump(pop)
| POJ_7 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t scanf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t puts(char const* str):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"AWAVSH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(r15)
0x1152 1 push(r14)
0x1154 2 push(rbx)
0x1155 3 rsp = rsp - 0xfb0
0x115c 4 rdi = 0x2006 {"%d"}
0x1163 5 rsi = rsp + 0xc {var_fbc}
0x1168 6 eax = 0
0x116a 7 call(0x1030)
0x1174 8 if ([rsp + 0xc {var_fbc}].d s<= 0) then 9 @ 0x12e7 else 14 @ 0x117a
0x12e7 9 rsp = rsp + 0xfb0
0x12ee 10 rbx = pop
0x12ef 11 r14 = pop
0x12f1 12 r15 = pop
0x12f3 13 <return> jump(pop)
0x117a 14 rbx = rsp + 0x330 {var_c98}
0x1182 15 r14 = 0x2004 {"%s%d"}
0x1189 16 r15d = 0
0x118c 17 goto 18 @ 0x1190
0x1190 18 rdx = rbx + 0xc
0x1194 19 rdi = r14
0x1197 20 rsi = rbx
0x119a 21 eax = 0
0x119c 22 call(0x1030)
0x11a1 23 r15 = r15 + 1
0x11a5 24 rax = sx.q([rsp + 0xc {var_fbc}].d)
0x11aa 25 rbx = rbx + 0x10
0x11b1 26 if (r15 s< rax) then 18 @ 0x1190 else 27 @ 0x11b3
0x11b3 27 r8d = eax
0x11b6 28 [rsp + 0x10 {var_fb8}].d = 0
0x11c1 29 if (r8d s<= 0) then 9 @ 0x12e7 else 30 @ 0x11c7
0x11c7 30 rcx = rsp + 0x10 {var_fb8}
0x11cc 31 r11d = 0
0x11cf 32 edi = 0
0x11d1 33 goto 34 @ 0x11fa
0x11fa 34 rax = rdi
0x11fd 35 rax = rax << 4
0x1201 36 esi = [rsp + rax + 0x33c].d
0x1208 37 r10 = rdi
0x120e 38 if (esi s< 0x3c) then 39 @ 0x11e0 else 44 @ 0x1210
0x11e0 39 [rsp + (r10 << 2) + 0x10].d = edi
0x11e5 40 rdi = rdi + 1
0x11e9 41 rcx = rcx + 4
0x11ed 42 r11 = r11 - 1
0x11f4 43 if (rdi == r8) then 46 @ 0x12ad else 34 @ 0x11fa
0x1210 44 eax = 0
0x1215 45 if (rdi == 0) then 47 @ 0x123e else 49 @ 0x1217
0x12ad 46 if (r8d s<= 0) then 9 @ 0x12e7 else 50 @ 0x12af
0x123e 47 r10d = eax
0x1244 48 if (rdi u<= r10) then 39 @ 0x11e0 else 52 @ 0x1246
0x1217 49 goto 60 @ 0x1220
0x12af 50 ebx = 0
0x12bb 51 goto 63 @ 0x12c0
0x1246 52 rbx = sx.q(r10d)
0x1249 53 eax = edi
0x124b 54 eax = eax - ebx
0x124d 55 r9 = rbx
0x1250 56 r9 = not.q(r9)
0x1253 57 r9 = r9 + rdi
0x1256 58 rsi = rdi
0x125b 59 if ((al & 3) == 0) then 71 @ 0x1287 else 72 @ 0x125d
0x1220 60 rbx = sx.q([rsp + (rax << 2) + 0x10].d)
0x1225 61 rbx = rbx << 4
0x1230 62 if ([rsp + rbx + 0x33c].d s< esi) then 47 @ 0x123e else 79 @ 0x1232
0x12c0 63 rax = sx.q([rsp + (rbx << 2) + 0x10].d)
0x12c5 64 rax = rax << 4
0x12c9 65 rdi = rsp + rax
0x12cd 66 rdi = rdi + 0x330
0x12d4 67 call(0x1040)
0x12d9 68 rbx = rbx + 1
0x12dd 69 rax = sx.q([rsp + 0xc {var_fbc}].d)
0x12e5 70 if (rbx s< rax) then 63 @ 0x12c0 else 9 @ 0x12e7
0x1287 71 if (r9 u< 3) then 39 @ 0x11e0 else 81 @ 0x128d
0x125d 72 eax = edi
0x125f 73 al = al - r10b
0x1262 74 eax = zx.d(al)
0x1265 75 eax = eax & 3
0x1268 76 rax = neg.q(rax)
0x126b 77 esi = 0
0x126d 78 goto 82 @ 0x1270
0x1232 79 rax = rax + 1
0x1239 80 if (rdi != rax) then 60 @ 0x1220 else 86 @ 0x123b
0x128d 81 goto 88 @ 0x1290
0x1270 82 edx = [rcx + (rsi << 2) - 4].d
0x1274 83 [rcx + (rsi << 2)].d = edx
0x1277 84 rsi = rsi - 1
0x127e 85 if (rax != rsi) then 82 @ 0x1270 else 93 @ 0x1280
0x123b 86 rax = rdi
0x123b 87 goto 47 @ 0x123e
0x1290 88 xmm0 = [rsp + (rsi << 2)].o
0x1294 89 [rsp + (rsi << 2) + 4].o = xmm0
0x1299 90 rax = rsi - 4
0x129d 91 rsi = rax
0x12a3 92 if (rax s> rbx) then 88 @ 0x1290 else 95 @ 0x12a5
0x1280 93 rsi = rsi - r11
0x1280 94 goto 71 @ 0x1287
0x12a5 95 goto 39 @ 0x11e0
int64_t _fini():
0x12f8 0 rsp = rsp - 8
0x12fc 1 rsp = rsp + 8
0x1300 2 <return> jump(pop)
| POJ_9 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UAWAVAUATSH(\t="}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 push(r15)
0x1153 2 push(r14)
0x1155 3 push(r13)
0x1157 4 push(r12)
0x1159 5 push(rbx)
0x115a 6 rsp = rsp - 0x3d0928
0x1161 7 rdi = 0x2004 {"%d"}
0x1168 8 rsi = rsp + 8 {var_3d0950}
0x116d 9 eax = 0
0x116f 10 call(0x1040)
0x1174 11 eax = [rsp + 8 {var_3d0950}].d
0x117a 12 if (eax s<= 0) then 13 @ 0x124c else 30 @ 0x1180
0x124c 13 esi = esi - ebp
0x124e 14 edx = edx - r10d
0x1251 15 edx = edx + 1
0x1254 16 esi = esi + 1
0x1257 17 esi = esi * edx
0x125a 18 rdi = 0x2004 {"%d"}
0x1261 19 eax = 0
0x1263 20 call(0x1030)
0x1268 21 eax = 0
0x126a 22 rsp = rsp + 0x3d0928
0x1271 23 rbx = pop
0x1272 24 r12 = pop
0x1274 25 r13 = pop
0x1276 26 r14 = pop
0x1278 27 r15 = pop
0x127a 28 rbp = pop
0x127b 29 <return> jump(pop)
0x1180 30 rbx = rsp + 0x20 {var_3d0938}
0x1185 31 r14 = 0x2004 {"%d"}
0x118c 32 ecx = 0
0x118e 33 [rsp {var_3d0958_1}].q = rcx
0x1192 34 r12d = 0
0x1195 35 goto 36 @ 0x11b7
0x11b7 36 rcx = [rsp {var_3d0958_1}].q
0x11bb 37 r13 = rcx + 1
0x11c1 38 if (eax s<= 0) then 39 @ 0x11a0 else 43 @ 0x11c3
0x11a0 39 rcx = sx.q(eax)
0x11a3 40 rbx = rbx + 0xfa0
0x11aa 41 [rsp {var_3d0958_1}].q = r13
0x11b1 42 if (r13 s>= rcx) then 13 @ 0x124c else 36 @ 0x11b7
0x11c3 43 rax = [rsp {var_3d0958_1}].q
0x11c7 44 eax = eax - 1
0x11ca 45 [rsp {var_3d0958_2}].q = rax
0x11ce 46 [rsp + 0x18 {var_3d0940_1}].q = rbx
0x11d3 47 r15d = 0
0x11d6 48 goto 49 @ 0x11e0
0x11e0 49 [rsp + 0xc {var_3d094c_1}].d = esi
0x11e4 50 [rsp + 0x10 {var_3d0948_1}].d = r10d
0x11e9 51 [rsp + 0x14 {var_3d0944_1}].d = edx
0x11ed 52 rdi = r14
0x11f0 53 rsi = rbx
0x11f3 54 eax = 0
0x11f5 55 call(0x1040)
0x11fa 56 r8d = 1
0x1200 57 r10d = [rsp + 0x10 {var_3d0948_1}].d
0x1205 58 esi = [rsp + 0xc {var_3d094c_1}].d
0x1209 59 eax = [rbx].d
0x120b 60 rcx = r15 + 1
0x120f 61 edx = eax
0x1211 62 edx = edx | r12d
0x1211 63 cond:0 = edx == 0
0x1211 64 cond:1 = edx == 0
0x1211 65 cond:2 = edx == 0
0x1214 66 edx = [rsp + 0x14 {var_3d0944_1}].d
0x1218 67 if (cond:0) then 68 else 70 @ 0x121c
0x1218 68 r10d = r13d
0x1218 69 goto 70 @ 0x121c
0x121c 70 if (cond:1) then 71 else 73 @ 0x121f
0x121c 71 ebp = ecx
0x121c 72 goto 73 @ 0x121f
0x121f 73 if (cond:2) then 74 else 76 @ 0x1223
0x121f 74 r12d = r8d
0x121f 75 goto 76 @ 0x1223
0x1223 76 r15d = r15d - 1
0x1227 77 temp0.d = eax
0x1227 78 cond:3 = temp0.d == 0
0x1229 79 if (temp0.d == 0) then 80 else 82 @ 0x122d
0x1229 80 edx = [rsp {var_3d0958_2}].d
0x1229 81 goto 82 @ 0x122d
0x122d 82 if (cond:3) then 83 else 85 @ 0x1231
0x122d 83 esi = r15d
0x122d 84 goto 85 @ 0x1231
0x1231 85 rax = sx.q([rsp + 8 {var_3d0950}].d)
0x1236 86 rbx = rbx + 4
0x123a 87 r15 = rcx
0x1240 88 if (rcx s< rax) then 49 @ 0x11e0 else 89 @ 0x1242
0x1242 89 rbx = [rsp + 0x18 {var_3d0940_1}].q
0x1247 90 goto 39 @ 0x11a0
int64_t _fini():
0x1280 0 rsp = rsp - 8
0x1284 1 rsp = rsp + 8
0x1288 2 <return> jump(pop)
| POJ_15 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
int32_t putchar(int32_t c):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UAWAVAUATSHX"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 push(r15)
0x1163 2 push(r14)
0x1165 3 push(r13)
0x1167 4 push(r12)
0x1169 5 push(rbx)
0x116a 6 rsp = rsp - 0x658
0x1171 7 rdi = 0x2006 {"%d"}
0x1178 8 rsi = rsp + 0xc {var_67c}
0x117d 9 eax = 0
0x117f 10 call(0x1040)
0x1189 11 if ([rsp + 0xc {var_67c}].d s<= 0) then 12 @ 0x1262 else 16 @ 0x118f
0x1262 12 rdi = 0x2009 {"Tie"}
0x1269 13 eax = 0
0x126b 14 call(0x1030)
0x126b 15 goto 23 @ 0x1270
0x118f 16 r14 = rsp + 0x10 {var_678}
0x1194 17 rbx = rsp + 0x330 {var_358}
0x119c 18 r15 = 0x2004 {"%d%d"}
0x11a3 19 ebp = 0
0x11a5 20 r12d = 0
0x11a8 21 r13d = 0
0x11ab 22 goto 32 @ 0x11ce
0x1270 23 eax = 0
0x1272 24 rsp = rsp + 0x658
0x1279 25 rbx = pop
0x127a 26 r12 = pop
0x127c 27 r13 = pop
0x127e 28 r14 = pop
0x1280 29 r15 = pop
0x1282 30 rbp = pop
0x1283 31 <return> jump(pop)
0x11ce 32 rdi = r15
0x11d1 33 rsi = rbx
0x11d4 34 rdx = r14
0x11d7 35 eax = 0
0x11d9 36 call(0x1040)
0x11de 37 eax = [rbx].d
0x11e2 38 if (eax == 0) then 39 @ 0x1210 else 41 @ 0x11e7
0x1210 39 ecx = [r14].d
0x1216 40 if (ecx == 1) then 42 @ 0x11b0 else 44 @ 0x121a
0x11e7 41 if (eax == 1) then 45 @ 0x1220 else 47 @ 0x11ec
0x11b0 42 r13d = r13d + 1
0x11b0 43 goto 48 @ 0x11b4
0x121a 44 if (ecx != 0) then 53 @ 0x123b else 55 @ 0x121c
0x1220 45 ecx = [r14].d
0x1225 46 if (ecx == 0) then 56 @ 0x124a else 58 @ 0x122a
0x11ec 47 if (eax != 2) then 59 @ 0x1230 else 61 @ 0x11ee
0x11b4 48 rbp = rbp + 1
0x11b8 49 rax = sx.q([rsp + 0xc {var_67c}].d)
0x11bd 50 r14 = r14 + 4
0x11c1 51 rbx = rbx + 4
0x11c8 52 if (rbp s>= rax) then 64 @ 0x1256 else 32 @ 0x11ce
0x123b 53 edx = 0
0x1240 54 if (ecx != 2) then 65 @ 0x11ff else 66 @ 0x1244
0x121c 55 goto 48 @ 0x11b4
0x124a 56 r12d = r12d + 1
0x124e 57 goto 48 @ 0x11b4
0x122a 58 if (ecx == 2) then 42 @ 0x11b0 else 67 @ 0x122c
0x1230 59 ecx = [r14].d
0x1235 60 if (ecx == 0) then 48 @ 0x11b4 else 53 @ 0x123b
0x11ee 61 ecx = [r14].d
0x11f1 62 dl = 1
0x11f5 63 if (ecx == 0) then 42 @ 0x11b0 else 68 @ 0x11fa
0x1256 64 if (r13d s> r12d) then 69 @ 0x1284 else 72 @ 0x125b
0x11ff 65 if (ecx != 1) then 48 @ 0x11b4 else 73 @ 0x1203
0x1244 66 if (eax != 0) then 48 @ 0x11b4 else 56 @ 0x124a
0x122c 67 goto 53 @ 0x123b
0x11fa 68 if (ecx == 2) then 66 @ 0x1244 else 65 @ 0x11ff
0x1284 69 edi = 0x41 {""}
0x1289 70 call(0x1050)
0x1291 71 if (r13d s>= r12d) then 74 @ 0x1260 else 75 @ 0x1293
0x125b 72 if (r13d s< r12d) then 75 @ 0x1293 else 74 @ 0x1260
0x1203 73 if (dl == 0) then 48 @ 0x11b4 else 78 @ 0x1205
0x1260 74 if (r13d != r12d) then 23 @ 0x1270 else 12 @ 0x1262
0x1293 75 edi = 0x42 {""}
0x1298 76 call(0x1050)
0x12a0 77 if (r13d == r12d) then 12 @ 0x1262 else 79 @ 0x12a2
0x1205 78 goto 56 @ 0x124a
0x12a2 79 goto 23 @ 0x1270
int64_t _fini():
0x12a8 0 rsp = rsp - 8
0x12ac 1 rsp = rsp + 8
0x12b0 2 <return> jump(pop)
| POJ_65 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UAWAVATSH8"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 push(r15)
0x1153 2 push(r14)
0x1155 3 push(r12)
0x1157 4 push(rbx)
0x1158 5 rsp = rsp - 0x13890
0x115f 6 rdi = 0x2005 {"%d"}
0x1166 7 rsi = rsp + 0xc {var_138ac}
0x116b 8 eax = 0
0x116d 9 call(0x1040)
0x1177 10 if ([rsp + 0xc {var_138ac}].d s<= 0) then 11 @ 0x138a else 19 @ 0x117d
0x138a 11 eax = 0
0x138c 12 rsp = rsp + 0x13890
0x1393 13 rbx = pop
0x1394 14 r12 = pop
0x1396 15 r14 = pop
0x1398 16 r15 = pop
0x139a 17 rbp = pop
0x139b 18 <return> jump(pop)
0x117d 19 rbx = rsp + 0x10 {var_138a8}
0x1182 20 r14 = 0x2005 {"%d"}
0x1189 21 ebp = 0
0x118b 22 goto 23 @ 0x1190
0x1190 23 rdi = r14
0x1193 24 rsi = rbx
0x1196 25 eax = 0
0x1198 26 call(0x1040)
0x119d 27 rbp = rbp + 1
0x11a1 28 rax = sx.q([rsp + 0xc {var_138ac}].d)
0x11a6 29 rbx = rbx + 4
0x11ad 30 if (rbp s< rax) then 23 @ 0x1190 else 31 @ 0x11b1
0x11b1 31 if (eax s<= 0) then 11 @ 0x138a else 32 @ 0x11b7
0x11b7 32 r15 = 0x7ffffffffffffff8 {""}
0x11c1 33 r12 = 0x2005 {"%d"}
0x11c8 34 r14 = 0x2004 {" %d"}
0x11cf 35 ebp = 1
0x11d4 36 ebx = 0
0x11d6 37 goto 38 @ 0x1200
0x1200 38 edx = 0
0x1208 39 if (rbx == 0) then 40 @ 0x1362 else 41 @ 0x120e
0x1362 40 if (edx != 0) then 43 @ 0x136f else 44 @ 0x1367
0x120e 41 eax = [rsp + (rbx << 2) + 0x10].d
0x1216 42 if (rbx u>= 8) then 45 @ 0x1230 else 54 @ 0x1218
0x136f 43 if (edx != 0) then 57 @ 0x11ee else 60 @ 0x1378
0x1367 44 if (rbx == 0) then 61 @ 0x11e0 else 43 @ 0x136f
0x1230 45 rcx = rbx
0x1233 46 rcx = rcx & r15
0x1236 47 rsi = rcx - 8
0x123a 48 rdx = rsi
0x123d 49 rdx = rdx u>> 3
0x1241 50 rdx = rdx + 1
0x1245 51 xmm0 = eax
0x1249 52 xmm0 = _mm_shuffle_epi32(xmm0, 0)
0x1251 53 if (rsi == 0) then 64 @ 0x133c else 68 @ 0x1257
0x1218 54 ecx = 0
0x121a 55 edx = 0
0x121c 56 goto 78 @ 0x1354
0x11ee 57 rbx = rbx + 1
0x11f2 58 rax = sx.q([rsp + 0xc {var_138ac}].d)
0x11fa 59 if (rbx s>= rax) then 11 @ 0x138a else 38 @ 0x1200
0x1378 60 if (rbx == 0) then 57 @ 0x11ee else 79 @ 0x137e
0x11e0 61 esi = [rsp + 0x10 {var_138a8}].d
0x11e4 62 rdi = r12
0x11e4 63 goto 82 @ 0x11e7
0x133c 64 xmm1 = 0
0x1340 65 esi = 0
0x1342 66 xmm2 = 0
0x1349 67 if ((dl & 1) != 0) then 85 @ 0x12df else 98 @ 0x134b
0x1257 68 rdi = rbx
0x125a 69 rdi = rdi & 0xfffffffffffffff8
0x125e 70 rdi = rdi - 8
0x1262 71 rdi = rdi u>> 3
0x1266 72 rdi = rdi + 1
0x126a 73 rdi = rdi & 0xfffffffffffffffe
0x126e 74 xmm3 = 0
0x1272 75 esi = 0
0x1274 76 xmm4 = 0
0x1278 77 goto 99 @ 0x1280
0x1354 78 if ([rsp + (rcx << 2) + 0x10].d == eax) then 121 else 123 @ 0x1357
0x137e 79 esi = [rsp + (rbx << 2) + 0x10].d
0x1382 80 rdi = r14
0x1385 81 goto 82 @ 0x11e7
0x11e7 82 eax = 0
0x11e9 83 call(0x1030)
0x11e9 84 goto 57 @ 0x11ee
0x12df 85 xmm3 = xmm0
0x12e3 86 xmm3 = __pcmpeqd_xmmdq_memdq(xmm3, [rsp + (rsi << 2) + 0x10].o)
0x12e9 87 xmm4 = [rsp + (rsi << 2) + 0x20].o
0x12ef 88 xmm4 = _mm_cmpeq_epi32(xmm4, xmm0)
0x12f3 89 xmm0 = xmm3
0x12f7 90 xmm0 = xmm0 & not.o(xmm1)
0x12fb 91 xmm0 = _mm_sub_epi32(xmm0, xmm3)
0x12ff 92 xmm3 = xmm4
0x1303 93 xmm3 = xmm3 & not.o(xmm2)
0x1307 94 xmm3 = _mm_sub_epi32(xmm3, xmm4)
0x130b 95 xmm1 = xmm0
0x130f 96 xmm2 = xmm3
0x130f 97 goto 125 @ 0x1313
0x134b 98 goto 125 @ 0x1313
0x1280 99 xmm1 = [rsp + (rsi << 2) + 0x10].o
0x1286 100 xmm1 = _mm_cmpeq_epi32(xmm1, xmm0)
0x128a 101 xmm2 = [rsp + (rsi << 2) + 0x20].o
0x1290 102 xmm2 = _mm_cmpeq_epi32(xmm2, xmm0)
0x1294 103 xmm5 = [rsp + (rsi << 2) + 0x30].o
0x129a 104 xmm5 = _mm_cmpeq_epi32(xmm5, xmm0)
0x129e 105 xmm5 = xmm5 | xmm1
0x12a2 106 xmm6 = [rsp + (rsi << 2) + 0x40].o
0x12a8 107 xmm6 = _mm_cmpeq_epi32(xmm6, xmm0)
0x12ac 108 xmm6 = xmm6 | xmm2
0x12b0 109 xmm1 = xmm5
0x12b4 110 xmm1 = xmm1 & not.o(xmm3)
0x12b8 111 xmm1 = _mm_sub_epi32(xmm1, xmm5)
0x12bc 112 xmm2 = xmm6
0x12c0 113 xmm2 = xmm2 & not.o(xmm4)
0x12c4 114 xmm2 = _mm_sub_epi32(xmm2, xmm6)
0x12c8 115 rsi = rsi + 0x10
0x12cc 116 xmm3 = xmm1
0x12d0 117 xmm4 = xmm2
0x12d4 118 temp0.q = rdi
0x12d4 119 rdi = rdi - 2
0x12d8 120 if (temp0.q != 2) then 99 @ 0x1280 else 136 @ 0x12dd
0x1354 121 edx = ebp
0x1354 122 goto 123 @ 0x1357
0x1357 123 rcx = rcx + 1
0x1357 124 goto 137 @ 0x135e
0x1313 125 xmm0 = xmm1
0x1317 126 xmm3 = 0
0x131b 127 xmm0 = _mm_cmpeq_epi32(xmm0, xmm3)
0x131f 128 xmm2 = xmm2 & xmm0
0x1323 129 xmm0 = xmm0 & not.o(xmm1)
0x1327 130 xmm0 = xmm0 | xmm2
0x132b 131 xmm0 = _mm_cmpeq_epi32(xmm0, xmm3)
0x132f 132 esi = _mm_movemask_ps(xmm0)
0x1332 133 edx = 0
0x1337 134 dl = esi != 0xf
0x133a 135 goto 137 @ 0x135e
0x12dd 136 if ((dl & 1) == 0) then 125 @ 0x1313 else 85 @ 0x12df
0x135e 137 if (rbx != rcx) then 78 @ 0x1354 else 40 @ 0x1362
int64_t _fini():
0x13a0 0 rsp = rsp - 8
0x13a4 1 rsp = rsp + 8
0x13a8 2 <return> jump(pop)
| POJ_13 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UHHPE"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 rbp = rsp {__saved_rbp}
0x1154 2 rsp = rsp - 0x50
0x1158 3 [rbp - 4 {var_c}].d = 0
0x115f 4 rdi = 0x2004 {"%d"}
0x1166 5 eax = 0
0x1168 6 rsi = rbp - 8 {var_10}
0x116c 7 call(0x1040)
0x1171 8 eax = [rbp - 8 {var_10}].d
0x1174 9 ecx = eax
0x1176 10 rax = rcx
0x1179 11 [rbp - 0x50 {var_58}].q = rax
0x117d 12 rdx = rsp {var_58}
0x1180 13 [rbp - 0x10 {var_18}].q = rdx {var_58}
0x1184 14 rdx = rcx
0x1187 15 rdx = rdx * rdx
0x118b 16 rsi = (rdx << 2) + 0xf
0x1193 17 rsi = rsi & 0xfffffffffffffff0
0x1197 18 rdx = rsp {var_58}
0x119a 19 rdx = rdx - rsi
0x119d 20 [rbp - 0x48 {var_50}].q = rdx
0x11a1 21 rsp = rdx
0x11a4 22 [rbp - 0x18 {var_20}].q = rcx
0x11a8 23 [rbp - 0x20 {var_28}].q = rax
0x11ac 24 [rbp - 0x24 {var_2c}].d = 0
0x11ac 25 goto 26 @ 0x11b3
0x11b3 26 eax = [rbp - 0x24 {var_2c}].d
0x11b9 27 if (eax s>= [rbp - 8 {var_10}].d) then 28 @ 0x1223 else 30 @ 0x11bf
0x1223 28 [rbp - 0x24 {var_2c_1}].d = 0
0x1223 29 goto 32 @ 0x122a
0x11bf 30 [rbp - 0x28 {var_30_1}].d = 0
0x11bf 31 goto 34 @ 0x11c6
0x122a 32 eax = [rbp - 0x24 {var_2c_1}].d
0x1230 33 if (eax s>= [rbp - 8 {var_10}].d) then 36 @ 0x12b6 else 40 @ 0x1236
0x11c6 34 eax = [rbp - 0x28 {var_30_1}].d
0x11cc 35 if (eax s>= [rbp - 8 {var_10}].d) then 42 @ 0x1210 else 43 @ 0x11d2
0x12b6 36 eax = [rbp - 8 {var_10}].d
0x12b9 37 eax = eax - 1
0x12bc 38 [rbp - 0x24 {var_2c_2}].d = eax
0x12bc 39 goto 59 @ 0x12c3
0x1236 40 [rbp - 0x28 {var_30_2}].d = 0
0x1236 41 goto 60 @ 0x123d
0x1210 42 goto 62 @ 0x1215
0x11d2 43 rsi = [rbp - 0x48 {var_50}].q
0x11d6 44 rcx = [rbp - 0x50 {var_58}].q
0x11da 45 rax = sx.q([rbp - 0x24 {var_2c}].d)
0x11de 46 rax = rax * rcx
0x11e2 47 rax = rax << 2
0x11e6 48 rsi = rsi + rax
0x11e9 49 rax = sx.q([rbp - 0x28 {var_30_1}].d)
0x11ed 50 rax = rax << 2
0x11f1 51 rsi = rsi + rax
0x11f4 52 rdi = 0x2004 {"%d"}
0x11fb 53 al = 0
0x11fd 54 call(0x1040)
0x1202 55 eax = [rbp - 0x28 {var_30_1}].d
0x1205 56 eax = eax + 1
0x1208 57 [rbp - 0x28 {var_30_1}].d = eax
0x120b 58 goto 34 @ 0x11c6
0x12c3 59 if ([rbp - 0x24 {var_2c_2}].d s< 0) then 66 @ 0x1347 else 85 @ 0x12c9
0x123d 60 eax = [rbp - 0x28 {var_30_2}].d
0x1243 61 if (eax s>= [rbp - 8 {var_10}].d) then 89 @ 0x1292 else 91 @ 0x1249
0x1215 62 eax = [rbp - 0x24 {var_2c}].d
0x1218 63 eax = eax + 1
0x121b 64 [rbp - 0x24 {var_2c}].d = eax
0x121e 65 goto 26 @ 0x11b3
0x1347 66 eax = [rbp - 0x30 {var_38}].d
0x134a 67 eax = eax - [rbp - 0x2c {var_34}].d
0x134d 68 eax = eax - 1
0x1350 69 ecx = [rbp - 0x38 {var_40}].d
0x1353 70 ecx = ecx - [rbp - 0x34 {var_3c}].d
0x1356 71 ecx = ecx - 1
0x1359 72 eax = eax * ecx
0x135c 73 [rbp - 0x3c {var_44}].d = eax
0x135f 74 esi = [rbp - 0x3c {var_44}].d
0x1362 75 rdi = 0x2004 {"%d"}
0x1369 76 al = 0
0x136b 77 call(0x1030)
0x1370 78 [rbp - 4 {var_c_1}].d = 0
0x1377 79 rax = [rbp - 0x10].q {var_58}
0x137b 80 rsp = rax
0x137e 81 eax = [rbp - 4 {var_c_1}].d
0x1381 82 rsp = rbp
0x1384 83 rbp = pop
0x1385 84 <return> jump(pop)
0x12c9 85 eax = [rbp - 8 {var_10}].d
0x12cc 86 eax = eax - 1
0x12cf 87 [rbp - 0x28 {var_30_3}].d = eax
0x12cf 88 goto 99 @ 0x12d6
0x1292 89 eax = [rbp - 0x28 {var_30_2}].d
0x1298 90 if (eax s>= [rbp - 8 {var_10}].d) then 100 @ 0x12a3 else 101 @ 0x129e
0x1249 91 rax = [rbp - 0x48 {var_50}].q
0x124d 92 rdx = [rbp - 0x50 {var_58}].q
0x1251 93 rcx = sx.q([rbp - 0x24 {var_2c_1}].d)
0x1255 94 rcx = rcx * rdx
0x1259 95 rcx = rcx << 2
0x125d 96 rax = rax + rcx
0x1260 97 rcx = sx.q([rbp - 0x28 {var_30_2}].d)
0x1268 98 if ([rax + (rcx << 2)].d != 0) then 102 @ 0x127f else 103 @ 0x126e
0x12d6 99 if ([rbp - 0x28 {var_30_3}].d s< 0) then 108 @ 0x1329 else 109 @ 0x12dc
0x12a3 100 goto 117 @ 0x12a8
0x129e 101 goto 36 @ 0x12b6
0x127f 102 goto 121 @ 0x1284
0x126e 103 eax = [rbp - 0x24 {var_2c_1}].d
0x1271 104 [rbp - 0x2c {var_34}].d = eax
0x1274 105 eax = [rbp - 0x28 {var_30_2}].d
0x1277 106 [rbp - 0x34 {var_3c}].d = eax
0x127a 107 goto 89 @ 0x1292
0x1329 108 if ([rbp - 0x28 {var_30_3}].d s< 0) then 125 @ 0x1334 else 126 @ 0x132f
0x12dc 109 rax = [rbp - 0x48 {var_50}].q
0x12e0 110 rdx = [rbp - 0x50 {var_58}].q
0x12e4 111 rcx = sx.q([rbp - 0x24 {var_2c_2}].d)
0x12e8 112 rcx = rcx * rdx
0x12ec 113 rcx = rcx << 2
0x12f0 114 rax = rax + rcx
0x12f3 115 rcx = sx.q([rbp - 0x28 {var_30_3}].d)
0x12fb 116 if ([rax + (rcx << 2)].d != 0) then 127 @ 0x1312 else 128 @ 0x1301
0x12a8 117 eax = [rbp - 0x24 {var_2c_1}].d
0x12ab 118 eax = eax + 1
0x12ae 119 [rbp - 0x24 {var_2c_1}].d = eax
0x12b1 120 goto 32 @ 0x122a
0x1284 121 eax = [rbp - 0x28 {var_30_2}].d
0x1287 122 eax = eax + 1
0x128a 123 [rbp - 0x28 {var_30_2}].d = eax
0x128d 124 goto 60 @ 0x123d
0x1334 125 goto 133 @ 0x1339
0x132f 126 goto 66 @ 0x1347
0x1312 127 goto 137 @ 0x1317
0x1301 128 eax = [rbp - 0x24 {var_2c_2}].d
0x1304 129 [rbp - 0x30 {var_38}].d = eax
0x1307 130 eax = [rbp - 0x28 {var_30_3}].d
0x130a 131 [rbp - 0x38 {var_40}].d = eax
0x130d 132 goto 108 @ 0x1329
0x1339 133 eax = [rbp - 0x24 {var_2c_2}].d
0x133c 134 eax = eax - 1
0x133f 135 [rbp - 0x24 {var_2c_2}].d = eax
0x1342 136 goto 59 @ 0x12c3
0x1317 137 eax = [rbp - 0x28 {var_30_3}].d
0x131a 138 eax = eax - 1
0x131d 139 [rbp - 0x28 {var_30_3}].d = eax
0x1320 140 goto 99 @ 0x12d6
int64_t _fini():
0x138c 0 rsp = rsp - 8
0x1390 1 rsp = rsp + 8
0x1394 2 <return> jump(pop)
| POJ_15 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UAWAVAUATSHH="}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 push(r15)
0x1153 2 push(r14)
0x1155 3 push(r13)
0x1157 4 push(r12)
0x1159 5 push(rbx)
0x115a 6 rsp = rsp - 0x18
0x115e 7 rdi = 0x2007 {"%d\n"}
0x1165 8 rsi = rsp + 8 {var_40}
0x116a 9 eax = 0
0x116c 10 call(0x1040)
0x1171 11 rdi = 0x2004 {"%d\n%d\n"}
0x1178 12 rsi = rsp + 0x14 {var_34}
0x117d 13 rdx = rsp + 0x10 {var_38}
0x1182 14 eax = 0
0x1184 15 call(0x1040)
0x1189 16 r12d = [rsp + 0x14 {var_34}].d
0x118e 17 eax = [rsp + 0x10 {var_38}].d
0x1192 18 cond:0 = r12d s> eax
0x1192 19 cond:1 = r12d s> eax
0x1195 20 r13d = eax
0x1198 21 if (cond:0) then 22 else 24 @ 0x119c
0x1198 22 r13d = r12d
0x1198 23 goto 24 @ 0x119c
0x119c 24 if (cond:1) then 25 else 27 @ 0x11a5
0x119c 25 r12d = eax
0x119c 26 goto 27 @ 0x11a5
0x11a5 27 if ([rsp + 8 {var_40}].d s>= 3) then 28 @ 0x11af else 33 @ 0x11a7
0x11af 28 r14 = 0x200e {"%d"}
0x11b6 29 r15 = rsp + 0xc {var_3c}
0x11bb 30 ebp = 0
0x11bd 31 ebx = r12d
0x11bd 32 goto 36 @ 0x11c0
0x11a7 33 esi = r13d
0x11aa 34 ebx = r12d
0x11ad 35 goto 42 @ 0x11fa
0x11c0 36 rdi = r14
0x11c3 37 rsi = r15 {var_3c}
0x11c6 38 eax = 0
0x11c8 39 call(0x1040)
0x11cd 40 esi = [rsp + 0xc {var_3c}].d
0x11d4 41 if (esi s> r12d) then 55 else 57 @ 0x11d7
0x11fa 42 rdi = 0x200b {"%d\n%d"}
0x1201 43 edx = ebx
0x1203 44 eax = 0
0x1205 45 call(0x1030)
0x120a 46 eax = 0
0x120c 47 rsp = rsp + 0x18
0x1210 48 rbx = pop
0x1211 49 r12 = pop
0x1213 50 r13 = pop
0x1215 51 r14 = pop
0x1217 52 r15 = pop
0x1219 53 rbp = pop
0x121a 54 <return> jump(pop)
0x11d4 55 ebx = esi
0x11d4 56 goto 57 @ 0x11d7
0x11d7 57 cond:2 = esi s<= r13d
0x11d7 58 cond:3 = esi s> r13d
0x11da 59 if (esi s>= r13d) then 60 else 62 @ 0x11de
0x11da 60 ebx = r12d
0x11da 61 goto 62 @ 0x11de
0x11de 62 if (cond:2) then 63 else 65 @ 0x11e2
0x11de 63 esi = r13d
0x11de 64 goto 65 @ 0x11e2
0x11e2 65 if (cond:3) then 66 else 68 @ 0x11e6
0x11e2 66 ebx = r13d
0x11e2 67 goto 68 @ 0x11e6
0x11e6 68 eax = [rsp + 8 {var_40}].d
0x11ea 69 eax = eax - 2
0x11ed 70 ebp = ebp + 1
0x11f0 71 r12d = ebx
0x11f3 72 r13d = esi
0x11f8 73 if (ebp s< eax) then 36 @ 0x11c0 else 42 @ 0x11fa
int64_t _fini():
0x1220 0 rsp = rsp - 8
0x1224 1 rsp = rsp + 8
0x1228 2 <return> jump(pop)
| POJ_84 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t getchar():
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
int32_t puts(char const* str):
0x1060 0 <return> tailcall([0x4030].q)
void __cxa_finalize(void* d):
0x1070 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1084 0 ebp = 0
0x1086 1 r9 = rdx
0x1089 2 rsi = pop
0x108a 3 rdx = rsp {arg_8}
0x108d 4 rsp = rsp & 0xfffffffffffffff0
0x1091 5 push(rax)
0x1092 6 push(rsp)
0x1093 7 r8d = 0
0x1096 8 ecx = 0
0x1098 9 rdi = 0x1170 {"UAWAVAUATSHO"}
0x109f 10 call([0x3ff8].q)
0x109f 11 noreturn
void deregister_tm_clones():
0x10b0 0 rdi = 0x4048 {""}
0x10b7 1 rax = 0x4048 {""}
0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3
0x10d8 3 <return> jump(pop)
0x10c3 4 rax = [0x3fd8].q
0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf
0x10cf 6 <return> tailcall(rax)
void register_tm_clones():
0x10e0 0 rdi = 0x4048 {""}
0x10e7 1 rsi = 0x4048 {""}
0x10ee 2 rsi = rsi - rdi
0x10f1 3 rax = rsi
0x10f4 4 rsi = rsi u>> 0x3f
0x10f8 5 rax = rax s>> 3
0x10fc 6 rsi = rsi + rax
0x10ff 7 rsi = rsi s>> 1
0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104
0x1118 9 <return> jump(pop)
0x1104 10 rax = [0x3ff0].q
0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110
0x1110 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d
0x1158 1 <return> jump(pop)
0x112d 2 push(rbp)
0x112e 3 cond:0 = [0x3fe0].q == 0
0x1136 4 rbp = rsp {__saved_rbp}
0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b
0x1147 6 call(0x10b0)
0x114c 7 [0x4048].b = 1
0x1153 8 rbp = pop
0x1154 9 <return> jump(pop)
0x113b 10 rdi = [0x4040].q
0x1142 11 call(0x1070)
0x1142 12 goto 6 @ 0x1147
int64_t frame_dummy():
0x1164 0 <return> tailcall(0x10e0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1170 0 push(rbp)
0x1171 1 push(r15)
0x1173 2 push(r14)
0x1175 3 push(r13)
0x1177 4 push(r12)
0x1179 5 push(rbx)
0x117a 6 rsp = rsp - 0x124f98
0x1181 7 rdi = 0x20a3 {"%d"}
0x1188 8 rsi = rsp + 0xc {var_124fbc}
0x118d 9 eax = 0
0x118f 10 call(0x1050)
0x1194 11 rbx = rsp + 0x61a94 {var_c3534}
0x119c 12 r14 = 0x20a0 {"%d %d"}
0x11a3 13 r15d = 0
0x11a6 14 goto 15 @ 0x11b8
0x11b8 15 rsi = rbx - 4
0x11bc 16 rdi = r14
0x11bf 17 rdx = rbx
0x11c2 18 eax = 0
0x11c4 19 call(0x1050)
0x11cd 20 if ([rbx - 4].d != 0) then 21 @ 0x11b0 else 24 @ 0x11d2
0x11b0 21 r15 = r15 + 1
0x11b4 22 rbx = rbx + 8
0x11b4 23 goto 15 @ 0x11b8
0x11d2 24 if ([rbx].d != 0) then 21 @ 0x11b0 else 25 @ 0x11d4
0x11d4 25 eax = [rsp + 0xc {var_124fbc}].d
0x11da 26 if (eax s<= 0) then 27 @ 0x151b else 30 @ 0x11e3
0x151b 27 rdi = 0x20aa {"NOT FOUND"}
0x1522 28 call(0x1060)
0x1522 29 goto 31 @ 0x1527
0x11e3 30 if (r15d == 0) then 46 @ 0x123a else 47 @ 0x11e5
0x1527 31 eax = 0
0x1529 32 call(0x1040)
0x152e 33 eax = 0
0x1530 34 call(0x1040)
0x1535 35 eax = 0
0x1537 36 call(0x1040)
0x153c 37 eax = 0
0x153e 38 rsp = rsp + 0x124f98
0x1545 39 rbx = pop
0x1546 40 r12 = pop
0x1548 41 r13 = pop
0x154a 42 r14 = pop
0x154c 43 r15 = pop
0x154e 44 rbp = pop
0x154f 45 <return> jump(pop)
0x123a 46 if (eax u>= 8) then 51 @ 0x1243 else 60 @ 0x123c
0x11e5 47 edx = r15d
0x11e8 48 ecx = 0
0x11ea 49 esi = 0
0x11ec 50 goto 62 @ 0x1205
0x1243 51 ecx = eax
0x1245 52 ecx = ecx & 0xfffffff8
0x1248 53 rdi = rcx - 8
0x124c 54 rsi = rdi
0x124f 55 rsi = rsi u>> 3
0x1253 56 rsi = rsi + 1
0x1257 57 edx = esi
0x1259 58 edx = edx & 3
0x1260 59 if (rdi u>= 0x18) then 64 @ 0x1271 else 76 @ 0x1262
0x123c 60 ecx = 0
0x123e 61 goto 79 @ 0x13a0
0x1205 62 edi = 0
0x1207 63 goto 82 @ 0x1217
0x1271 64 rsi = rsi & 0xfffffffffffffffc
0x1275 65 xmm0 = [0x2010].o
0x127d 66 edi = 0
0x127f 67 xmm8 = [0x2020].o
0x1288 68 xmm9 = [0x2030].o
0x1291 69 xmm10 = [0x2040].o
0x129a 70 xmm4 = [0x2050].o
0x12a2 71 xmm5 = [0x2060].o
0x12aa 72 xmm6 = [0x2070].o
0x12b2 73 xmm7 = [0x2080].o
0x12ba 74 xmm1 = [0x2090].o
0x12cc 75 goto 83 @ 0x12d0
0x1262 76 xmm0 = [0x2010].o
0x126a 77 edi = 0
0x126c 78 goto 110 @ 0x134f
0x13a0 79 [rsp + (rcx << 2) + 0x10].d = ecx
0x13a4 80 rcx = rcx + 1
0x13ab 81 if (rax != rcx) then 79 @ 0x13a0 else 111 @ 0x13ad
0x1217 82 if (esi == [rsp + (rdi << 3) + 0x61a90].d) then 113 @ 0x1233 else 114 @ 0x1219
0x12d0 83 xmm2 = xmm0
0x12d4 84 xmm2 = _mm_add_epi32(xmm2, xmm8)
0x12d9 85 [rsp + (rdi << 2) + 0x10].o = xmm0
0x12df 86 [rsp + (rdi << 2) + 0x20].o = xmm2
0x12e5 87 xmm2 = xmm0
0x12e9 88 xmm2 = _mm_add_epi32(xmm2, xmm9)
0x12ee 89 xmm3 = xmm0
0x12f2 90 xmm3 = _mm_add_epi32(xmm3, xmm10)
0x12f7 91 [rsp + (rdi << 2) + 0x30].o = xmm2
0x12fd 92 [rsp + (rdi << 2) + 0x40].o = xmm3
0x1303 93 xmm2 = xmm0
0x1307 94 xmm2 = _mm_add_epi32(xmm2, xmm4)
0x130b 95 xmm3 = xmm0
0x130f 96 xmm3 = _mm_add_epi32(xmm3, xmm5)
0x1313 97 [rsp + (rdi << 2) + 0x50].o = xmm2
0x1319 98 [rsp + (rdi << 2) + 0x60].o = xmm3
0x131f 99 xmm2 = xmm0
0x1323 100 xmm2 = _mm_add_epi32(xmm2, xmm6)
0x1327 101 xmm3 = xmm0
0x132b 102 xmm3 = _mm_add_epi32(xmm3, xmm7)
0x132f 103 [rsp + (rdi << 2) + 0x70].o = xmm2
0x1335 104 [rsp + (rdi << 2) + 0x80].o = xmm3
0x133e 105 rdi = rdi + 0x20
0x1342 106 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x1346 107 temp0.q = rsi
0x1346 108 rsi = rsi - 4
0x134a 109 if (temp0.q != 4) then 83 @ 0x12d0 else 110 @ 0x134f
0x134f 110 if (rdx == 0) then 116 @ 0x1393 else 117 @ 0x1351
0x13ad 111 ecx = eax
0x13ad 112 goto 124 @ 0x13b1
0x1233 113 if (r15d == edi) then 125 @ 0x11f0 else 129 @ 0x1235
0x1219 114 rdi = rdi + 1
0x1220 115 if (rdx != rdi) then 82 @ 0x1217 else 130 @ 0x1222
0x1393 116 if (rcx == rax) then 111 @ 0x13ad else 131 @ 0x139f
0x1351 117 rsi = rsp + (rdi << 2)
0x1355 118 rsi = rsi + 0x20
0x1359 119 rdx = rdx << 5
0x135d 120 edi = 0
0x135f 121 xmm1 = [0x2020].o
0x1367 122 xmm2 = [0x2030].o
0x136f 123 goto 132 @ 0x1370
0x13b1 124 if (ecx s<= 0) then 27 @ 0x151b else 139 @ 0x13b7
0x11f0 125 rcx = sx.q(ecx)
0x11f3 126 [rsp + (rcx << 2) + 0x10].d = esi
0x11f7 127 ecx = ecx + 1
0x11f7 128 goto 141 @ 0x11fa
0x1235 129 goto 141 @ 0x11fa
0x1222 130 goto 125 @ 0x11f0
0x139f 131 goto 79 @ 0x13a0
0x1370 132 xmm3 = xmm0
0x1374 133 xmm3 = _mm_add_epi32(xmm3, xmm1)
0x1378 134 [rsi + rdi - 0x10].o = xmm0
0x137e 135 [rsi + rdi].o = xmm3
0x1383 136 xmm0 = _mm_add_epi32(xmm0, xmm2)
0x1387 137 rdi = rdi + 0x20
0x138e 138 if (rdx != rdi) then 132 @ 0x1370 else 116 @ 0x1393
0x13b7 139 r12d = ecx
0x13bd 140 if (r15d == 0) then 143 @ 0x14cf else 148 @ 0x13c3
0x11fa 141 esi = esi + 1
0x11ff 142 if (esi == eax) then 124 @ 0x13b1 else 62 @ 0x1205
0x14cf 143 r12 = r12 - 1
0x14d3 144 r14 = 0x20a6 {"%d\n"}
0x14da 145 ebx = 0
0x14dc 146 r15d = 0
0x14e2 147 if (eax != 1) then 153 @ 0x1505 else 154 @ 0x14ee
0x13c3 148 ebx = r15d
0x13c6 149 r15d = r15d & 7
0x13ca 150 cond:0 = r15 != 0
0x13cd 151 eax = 8
0x13d2 152 if (cond:0) then 155 else 157 @ 0x13d6
0x1505 153 if (r12 == rbx) then 163 @ 0x1519 else 164 @ 0x1507
0x14ee 154 goto 167 @ 0x14f0
0x13d2 155 rax = r15
0x13d2 156 goto 157 @ 0x13d6
0x13d6 157 rbp = rbx
0x13d9 158 rbp = rbp - rax
0x13dc 159 r13d = 0
0x13df 160 r15d = 0
0x13e2 161 r14d = 0
0x13e5 162 goto 173 @ 0x13fd
0x1519 163 if (r15d != 0) then 31 @ 0x1527 else 27 @ 0x151b
0x1507 164 eax = [rsp + 0xc {var_124fbc}].d
0x150b 165 rbx = rbx + 1
0x1512 166 if (eax == 1) then 167 @ 0x14f0 else 175 @ 0x1514
0x14f0 167 esi = [rsp + (rbx << 2) + 0x10].d
0x14f4 168 rdi = r14
0x14f7 169 eax = 0
0x14f9 170 call(0x1030)
0x14fe 171 r15d = r15d + 1
0x14fe 172 goto 153 @ 0x1505
0x13fd 173 esi = [rsp + (r13 << 2) + 0x10].d
0x1405 174 if (ebx u>= 9) then 176 @ 0x1410 else 182 @ 0x1407
0x1514 175 goto 153 @ 0x1505
0x1410 176 xmm0 = r14d
0x1415 177 xmm1 = esi
0x1419 178 xmm2 = _mm_shuffle_epi32(xmm1, 0)
0x141e 179 xmm1 = 0
0x1422 180 eax = 0
0x142e 181 goto 184 @ 0x1430
0x1407 182 eax = 0
0x1409 183 goto 196 @ 0x1490
0x1430 184 xmm3 = [rsp + (rax << 3) + 0x61a94].o
0x1438 185 xmm4 = [rsp + (rax << 3) + 0x61aa4].o
0x1440 186 xmm3 = _mm_shuffle_ps(xmm3, xmm4, 0x88)
0x1444 187 xmm4 = [rsp + (rax << 3) + 0x61ab4].o
0x144c 188 xmm5 = [rsp + (rax << 3) + 0x61ac4].o
0x1454 189 xmm4 = _mm_shuffle_ps(xmm4, xmm5, 0x88)
0x1458 190 xmm3 = _mm_cmpeq_epi32(xmm3, xmm2)
0x145c 191 xmm0 = _mm_sub_epi32(xmm0, xmm3)
0x1460 192 xmm4 = _mm_cmpeq_epi32(xmm4, xmm2)
0x1464 193 xmm1 = _mm_sub_epi32(xmm1, xmm4)
0x1468 194 rax = rax + 8
0x146f 195 if (rbp != rax) then 184 @ 0x1430 else 201 @ 0x1471
0x1490 196 ecx = 0
0x1499 197 cl = [rsp + (rax << 3) + 0x61a94].d == esi
0x149c 198 r14d = r14d + ecx
0x149f 199 rax = rax + 1
0x14a6 200 if (rbx != rax) then 196 @ 0x1490 else 209 @ 0x14a8
0x1471 201 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x1475 202 xmm0 = _mm_shuffle_epi32(xmm1, 0xee)
0x147a 203 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x147e 204 xmm1 = _mm_shuffle_epi32(xmm0, 0x55)
0x1483 205 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x1487 206 r14d = xmm1.d
0x148c 207 rax = rbp
0x148f 208 goto 196 @ 0x1490
0x14a8 209 eax = [rsp + 0xc {var_124fbc}].d
0x14ac 210 eax = eax - 1
0x14b2 211 if (r14d != eax) then 212 @ 0x13f0 else 214 @ 0x14b8
0x13f0 212 r13 = r13 + 1
0x13f7 213 if (r13 == r12) then 163 @ 0x1519 else 173 @ 0x13fd
0x14b8 214 rdi = 0x20a6 {"%d\n"}
0x14bf 215 eax = 0
0x14c1 216 call(0x1030)
0x14c6 217 r15d = r15d + 1
0x14ca 218 goto 212 @ 0x13f0
int64_t _fini():
0x1554 0 rsp = rsp - 8
0x1558 1 rsp = rsp + 8
0x155c 2 <return> jump(pop)
| POJ_89 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UHH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 rbp = rsp {__saved_rbp}
0x1154 2 rsp = rsp - 0xb0
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 [rbp - 0x9c {var_a4}].d = 0
0x1162 5 goto 6 @ 0x1173
0x1173 6 if ([rbp - 0x9c {var_a4}].d s>= 5) then 7 @ 0x11eb else 18 @ 0x1179
0x11eb 7 rdi = 0x2004 {"%d %d"}
0x11f2 8 rsi = rbp - 0x94 {var_9c}
0x11f9 9 rdx = rbp - 0x98 {var_a0}
0x1200 10 al = 0
0x1202 11 call(0x1040)
0x1207 12 rdi = rbp - 0x70 {var_78}
0x120b 13 esi = [rbp - 0x94 {var_9c}].d
0x1211 14 edx = [rbp - 0x98 {var_a0}].d
0x1217 15 call(0x1310)
0x121c 16 [rbp - 0xa4 {var_ac}].d = eax
0x1229 17 if ([rbp - 0xa4 {var_ac}].d != 0) then 20 @ 0x1249 else 21 @ 0x122f
0x1179 18 [rbp - 0xa0 {var_a8_1}].d = 0
0x1179 19 goto 25 @ 0x118a
0x1249 20 if ([rbp - 0xa4 {var_ac}].d != 1) then 26 @ 0x12f7 else 27 @ 0x124f
0x122f 21 rdi = 0x200a {"error"}
0x1236 22 al = 0
0x1238 23 call(0x1030)
0x123d 24 goto 29 @ 0x12fc
0x118a 25 if ([rbp - 0xa0 {var_a8_1}].d s>= 5) then 33 @ 0x11d2 else 34 @ 0x1190
0x12f7 26 goto 29 @ 0x12fc
0x124f 27 [rbp - 0x9c {var_a4_1}].d = 0
0x124f 28 goto 48 @ 0x1260
0x12fc 29 eax = 0
0x12fe 30 rsp = rsp + 0xb0
0x1305 31 rbp = pop
0x1306 32 <return> jump(pop)
0x11d2 33 goto 49 @ 0x11d7
0x1190 34 rax = sx.q([rbp - 0x9c {var_a4}].d)
0x1197 35 rsi = rbp - 0x70 {var_78}
0x119b 36 rax = rax * 0x14
0x119f 37 rsi = rsi + rax
0x11a2 38 rax = sx.q([rbp - 0xa0 {var_a8_1}].d)
0x11a9 39 rax = rax << 2
0x11ad 40 rsi = rsi + rax
0x11b0 41 rdi = 0x2007 {"%d"}
0x11b7 42 al = 0
0x11b9 43 call(0x1040)
0x11be 44 eax = [rbp - 0xa0 {var_a8_1}].d
0x11c4 45 eax = eax + 1
0x11c7 46 [rbp - 0xa0 {var_a8_1}].d = eax
0x11cd 47 goto 25 @ 0x118a
0x1260 48 if ([rbp - 0x9c {var_a4_1}].d s>= 5) then 53 @ 0x12f2 else 54 @ 0x1266
0x11d7 49 eax = [rbp - 0x9c {var_a4}].d
0x11dd 50 eax = eax + 1
0x11e0 51 [rbp - 0x9c {var_a4}].d = eax
0x11e6 52 goto 6 @ 0x1173
0x12f2 53 goto 26 @ 0x12f7
0x1266 54 [rbp - 0xa0 {var_a8_2}].d = 0
0x1266 55 goto 56 @ 0x1277
0x1277 56 if ([rbp - 0xa0 {var_a8_2}].d s>= 4) then 57 @ 0x12bb else 69 @ 0x127d
0x12bb 57 rcx = sx.q([rbp - 0x9c {var_a4_1}].d)
0x12c2 58 rax = rbp - 0x70 {var_78}
0x12c6 59 rcx = rcx * 0x14
0x12ca 60 rax = rax + rcx
0x12cd 61 esi = [rax + 0x10].d
0x12d0 62 rdi = 0x2014 {"%d\n"}
0x12d7 63 al = 0
0x12d9 64 call(0x1030)
0x12de 65 eax = [rbp - 0x9c {var_a4_1}].d
0x12e4 66 eax = eax + 1
0x12e7 67 [rbp - 0x9c {var_a4_1}].d = eax
0x12ed 68 goto 48 @ 0x1260
0x127d 69 rcx = sx.q([rbp - 0x9c {var_a4_1}].d)
0x1284 70 rax = rbp - 0x70 {var_78}
0x1288 71 rcx = rcx * 0x14
0x128c 72 rax = rax + rcx
0x128f 73 rcx = sx.q([rbp - 0xa0 {var_a8_2}].d)
0x1296 74 esi = [rax + (rcx << 2)].d
0x1299 75 rdi = 0x2010 {"%d "}
0x12a0 76 al = 0
0x12a2 77 call(0x1030)
0x12a7 78 eax = [rbp - 0xa0 {var_a8_2}].d
0x12ad 79 eax = eax + 1
0x12b0 80 [rbp - 0xa0 {var_a8_2}].d = eax
0x12b6 81 goto 56 @ 0x1277
uint64_t panduan(int64_t arg1, int32_t arg2, int32_t arg3):
0x1310 0 push(rbp)
0x1311 1 rbp = rsp {__saved_rbp}
0x1314 2 [rbp - 8 {var_10}].q = rdi
0x1318 3 [rbp - 0xc {var_14}].d = esi
0x131b 4 [rbp - 0x10 {var_18}].d = edx
0x131e 5 eax = 0
0x1323 6 if (eax s> [rbp - 0xc {var_14}].d) then 7 @ 0x1419 else 9 @ 0x132d
0x1419 7 [rbp - 0x14 {var_1c}].d = 0
0x1419 8 goto 10 @ 0x1420
0x132d 9 if ([rbp - 0xc {var_14}].d s>= 5) then 7 @ 0x1419 else 13 @ 0x1333
0x1420 10 eax = [rbp - 0x14 {var_1c}].d
0x1423 11 rbp = pop
0x1424 12 <return> jump(pop)
0x1333 13 eax = 0
0x1338 14 if (eax s> [rbp - 0x10 {var_18}].d) then 7 @ 0x1419 else 15 @ 0x1342
0x1342 15 if ([rbp - 0x10 {var_18}].d s>= 5) then 7 @ 0x1419 else 16 @ 0x1348
0x1348 16 [rbp - 0x14 {var_1c}].d = 1
0x134f 17 [rbp - 0x34 {var_3c_1}].d = 0
0x134f 18 goto 19 @ 0x135a
0x135a 19 if ([rbp - 0x34 {var_3c_1}].d s>= 5) then 20 @ 0x138c else 22 @ 0x1360
0x138c 20 [rbp - 0x34 {var_3c_2}].d = 0
0x138c 21 goto 34 @ 0x1397
0x1360 22 rax = [rbp - 8 {var_10}].q
0x1364 23 rcx = sx.q([rbp - 0xc {var_14}].d)
0x1368 24 rcx = rcx * 0x14
0x136c 25 rax = rax + rcx
0x136f 26 rcx = sx.q([rbp - 0x34 {var_3c_1}].d)
0x1373 27 ecx = [rax + (rcx << 2)].d
0x1376 28 rax = sx.q([rbp - 0x34 {var_3c_1}].d)
0x137a 29 [rbp + (rax << 2) - 0x30].d = ecx
0x137e 30 eax = [rbp - 0x34 {var_3c_1}].d
0x1381 31 eax = eax + 1
0x1384 32 [rbp - 0x34 {var_3c_1}].d = eax
0x1387 33 goto 19 @ 0x135a
0x1397 34 if ([rbp - 0x34 {var_3c_2}].d s>= 5) then 35 @ 0x13d7 else 37 @ 0x139d
0x13d7 35 [rbp - 0x34 {var_3c_3}].d = 0
0x13d7 36 goto 53 @ 0x13e2
0x139d 37 rax = [rbp - 8 {var_10}].q
0x13a1 38 rcx = sx.q([rbp - 0x10 {var_18}].d)
0x13a5 39 rcx = rcx * 0x14
0x13a9 40 rax = rax + rcx
0x13ac 41 rcx = sx.q([rbp - 0x34 {var_3c_2}].d)
0x13b0 42 edx = [rax + (rcx << 2)].d
0x13b3 43 rax = [rbp - 8 {var_10}].q
0x13b7 44 rcx = sx.q([rbp - 0xc {var_14}].d)
0x13bb 45 rcx = rcx * 0x14
0x13bf 46 rax = rax + rcx
0x13c2 47 rcx = sx.q([rbp - 0x34 {var_3c_2}].d)
0x13c6 48 [rax + (rcx << 2)].d = edx
0x13c9 49 eax = [rbp - 0x34 {var_3c_2}].d
0x13cc 50 eax = eax + 1
0x13cf 51 [rbp - 0x34 {var_3c_2}].d = eax
0x13d2 52 goto 34 @ 0x1397
0x13e2 53 if ([rbp - 0x34 {var_3c_3}].d s>= 5) then 54 @ 0x1414 else 55 @ 0x13e8
0x1414 54 goto 10 @ 0x1420
0x13e8 55 rax = sx.q([rbp - 0x34 {var_3c_3}].d)
0x13ec 56 edx = [rbp + (rax << 2) - 0x30].d
0x13f0 57 rax = [rbp - 8 {var_10}].q
0x13f4 58 rcx = sx.q([rbp - 0x10 {var_18}].d)
0x13f8 59 rcx = rcx * 0x14
0x13fc 60 rax = rax + rcx
0x13ff 61 rcx = sx.q([rbp - 0x34 {var_3c_3}].d)
0x1403 62 [rax + (rcx << 2)].d = edx
0x1406 63 eax = [rbp - 0x34 {var_3c_3}].d
0x1409 64 eax = eax + 1
0x140c 65 [rbp - 0x34 {var_3c_3}].d = eax
0x140f 66 goto 53 @ 0x13e2
int64_t _fini():
0x142c 0 rsp = rsp - 8
0x1430 1 rsp = rsp + 8
0x1434 2 <return> jump(pop)
| POJ_81 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UAWAVAUATSH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 push(r15)
0x1153 2 push(r14)
0x1155 3 push(r13)
0x1157 4 push(r12)
0x1159 5 push(rbx)
0x115a 6 rsp = rsp - 0x9ca8
0x1161 7 rdi = 0x2004 {"%d%d"}
0x1168 8 rsi = rsp + 0xc {var_9ccc}
0x116d 9 rdx = rsp + 8 {var_9cd0}
0x1172 10 eax = 0
0x1174 11 call(0x1040)
0x1179 12 eax = [rsp + 0xc {var_9ccc}].d
0x117f 13 if (eax s<= 0) then 14 @ 0x11f1 else 17 @ 0x1181
0x11f1 14 edx = [rsp + 8 {var_9cd0}].d
0x11f5 15 cond:0 = eax == edx
0x11f7 16 if (eax s< edx) then 21 else 23 @ 0x11fa
0x1181 17 r15 = rsp + 0x60 {var_9c78}
0x1186 18 r14 = 0x2006 {"%d"}
0x118d 19 r12d = 0
0x1190 20 goto 34 @ 0x11ba
0x11f7 21 edx = eax
0x11f7 22 goto 23 @ 0x11fa
0x11fa 23 al = cond:0
0x11fd 24 ecx = (rdx + 1).d
0x1200 25 ecx = ecx u>> 0x1f
0x1203 26 ecx = ecx + edx
0x1205 27 ecx = ecx + 1
0x1208 28 ecx = ecx s>> 1
0x120a 29 [rsp + 0x28 {var_9cb0}].q = rcx
0x120f 30 [rsp + 0x58 {var_9c80}].q = rdx
0x1217 31 cl = (dl & 1) == 0
0x121a 32 cl = cl | al
0x121f 33 if (cl != 1) then 35 @ 0x1421 else 40 @ 0x122a
0x11ba 34 if ([rsp + 8 {var_9cd0}].d s<= 0) then 41 @ 0x11a0 else 45 @ 0x11bc
0x1421 35 eax = [rsp + 0xc {var_9ccc}].d
0x1425 36 ecx = [rsp + 8 {var_9cd0}].d
0x1429 37 cond:1 = eax == ecx
0x142b 38 r12 = [rsp + 0x58 {var_9c80}].q
0x1430 39 if (cond:1) then 48 @ 0x1995 else 56 @ 0x1436
0x122a 40 if ([rsp + 0x58 {var_9c80}].d s<= 0) then 35 @ 0x1421 else 59 @ 0x1230
0x11a0 41 r12 = r12 + 1
0x11a4 42 rax = sx.q([rsp + 0xc {var_9ccc}].d)
0x11a9 43 r15 = r15 + 0x190
0x11b3 44 if (r12 s>= rax) then 14 @ 0x11f1 else 34 @ 0x11ba
0x11bc 45 rbx = r15
0x11bf 46 ebp = 0
0x11cb 47 goto 63 @ 0x11d0
0x1995 48 rsp = rsp + 0x9ca8
0x199c 49 rbx = pop
0x199d 50 r12 = pop
0x199f 51 r13 = pop
0x19a1 52 r14 = pop
0x19a3 53 r15 = pop
0x19a5 54 rbp = pop
0x19a6 55 <return> jump(pop)
0x1436 56 edx = r12d
0x1439 57 edx = edx & 1
0x143c 58 if (edx == 0) then 48 @ 0x1995 else 71 @ 0x1444
0x1230 59 rax = [rsp + 0x28 {var_9cb0}].q
0x1235 60 cond:2 = eax s>= 2
0x1238 61 ecx = 1
0x123d 62 if (cond:2) then 72 else 74 @ 0x1240
0x11d0 63 rdi = r14
0x11d3 64 rsi = rbx
0x11d6 65 eax = 0
0x11d8 66 call(0x1040)
0x11dd 67 rbp = rbp + 1
0x11e1 68 rax = sx.q([rsp + 8 {var_9cd0}].d)
0x11e6 69 rbx = rbx + 4
0x11ed 70 if (rbp s< rax) then 63 @ 0x11d0 else 87 @ 0x11ef
0x1444 71 if (ecx s<= eax) then 88 @ 0x16e2 else 90 @ 0x144e
0x123d 72 ecx = eax
0x123d 73 goto 74 @ 0x1240
0x1240 74 [rsp + 0x30 {var_9ca8}].q = rcx
0x1245 75 [rsp + 0x20 {var_9cb8}].d = 1
0x124d 76 rax = rsp + 0x1f0 {var_9ae8}
0x1255 77 [rsp + 0x18 {var_9cc0_1}].q = rax {var_9ae8}
0x125a 78 r13d = 0xfffffffe {""}
0x1260 79 rax = rsp + 0x60 {var_9c78}
0x1265 80 r12d = 0xffffffff {""}
0x126b 81 r15 = 0x2009 {"%d\n"}
0x1272 82 [rsp + 0x40 {var_9c98_1}].q = rax {var_9c78}
0x1277 83 rbp = rax {var_9c78}
0x127a 84 r14d = 0
0x127d 85 eax = 0
0x127f 86 goto 91 @ 0x12ce
0x11ef 87 goto 41 @ 0x11a0
0x16e2 88 eax = [rsp + 0xc {var_9ccc}].d
0x16ea 89 if (eax s<= [rsp + 8 {var_9cd0}].d) then 48 @ 0x1995 else 96 @ 0x16f4
0x144e 90 if (r12d != 1) then 97 @ 0x1491 else 101 @ 0x1455
0x12ce 91 [rsp + 0x48 {var_9c90_1}].q = rax
0x12d3 92 [rsp + 0x38 {var_9ca0}].d = r13d
0x12d8 93 rax = sx.q([rsp + 8 {var_9cd0}].d)
0x12dd 94 rax = rax - r14
0x12e3 95 if (r14 s>= rax) then 102 @ 0x1311 else 109 @ 0x12e5
0x16f4 96 if (r12d != 1) then 111 @ 0x1737 else 115 @ 0x16fb
0x1491 97 rax = [rsp + 0x28 {var_9cb0}].q
0x1496 98 eax = eax - 1
0x1499 99 [rsp + 0x30 {var_9ca8}].d = eax
0x14a1 100 if (r12d s< 3) then 116 @ 0x1681 else 121 @ 0x14a7
0x1455 101 if ([rsp + 8 {var_9cd0}].d s<= 0) then 88 @ 0x16e2 else 125 @ 0x145b
0x1311 102 [rsp + 0x10 {var_9cc8}].q = rbp
0x1316 103 rdx = r14 + 1
0x131a 104 rax = sx.q([rsp + 0xc {var_9ccc}].d)
0x131f 105 rcx = sx.q(r14d)
0x1322 106 rax = rax - rcx
0x1325 107 [rsp + 0x50 {var_9c88_1}].q = rdx
0x132d 108 if (rdx s>= rax) then 128 @ 0x136d else 136 @ 0x132f
0x12e5 109 ebx = 0
0x12e7 110 goto 139 @ 0x12f0
0x1737 111 rax = [rsp + 0x28 {var_9cb0}].q
0x173c 112 eax = eax - 1
0x173f 113 [rsp + 0x30 {var_9ca8}].d = eax
0x1747 114 if (r12d s< 3) then 148 @ 0x1931 else 151 @ 0x174d
0x16fb 115 if ([rsp + 0xc {var_9ccc}].d s<= 0) then 48 @ 0x1995 else 155 @ 0x1701
0x1681 116 eax = [rsp + 8 {var_9cd0}].d
0x1685 117 eax = eax - [rsp + 0x28 {var_9cb0}].d
0x1689 118 cond:4 = [rsp + 0x30 {var_9ca8}].d s> eax
0x168d 119 r12 = [rsp + 0x58 {var_9c80}].q
0x1692 120 if (cond:4) then 88 @ 0x16e2 else 159 @ 0x1694
0x14a7 121 eax = [rsp + 0x30 {var_9ca8}].d
0x14ab 122 cond:5 = eax s>= 2
0x14ae 123 ecx = 1
0x14b3 124 if (cond:5) then 167 else 169 @ 0x14b6
0x145b 125 rbx = 0x2009 {"%d\n"}
0x1462 126 ebp = 0
0x146e 127 goto 183 @ 0x1470
0x136d 128 eax = [rsp + 8 {var_9cd0}].d
0x1371 129 rbx = [rsp + 0x48 {var_9c90_1}].q
0x1376 130 ecx = (rbx + rax).d
0x1379 131 ecx = ecx - 2
0x137c 132 rcx = sx.q(ecx)
0x137f 133 cond:3 = r14 s> rcx
0x1382 134 r13d = [rsp + 0x38 {var_9ca0}].d
0x1387 135 if (cond:3) then 190 @ 0x13ce else 195 @ 0x1389
0x132f 136 ebp = [rsp + 0x20 {var_9cb8}].d
0x1333 137 r13 = [rsp + 0x18 {var_9cc0_1}].q
0x1338 138 goto 199 @ 0x1340
0x12f0 139 esi = [rbp + (rbx << 2)].d
0x12f4 140 rdi = r15
0x12f7 141 eax = 0
0x12f9 142 call(0x1030)
0x12fe 143 eax = [rsp + 8 {var_9cd0}].d
0x1302 144 eax = eax - r14d
0x1305 145 rbx = rbx + 1
0x1309 146 ecx = (rbx + r14).d
0x130f 147 if (eax s> ecx) then 139 @ 0x12f0 else 102 @ 0x1311
0x1931 148 eax = [rsp + 0xc {var_9ccc}].d
0x1935 149 eax = eax - [rsp + 0x28 {var_9cb0}].d
0x193d 150 if ([rsp + 0x30 {var_9ca8}].d s> eax) then 48 @ 0x1995 else 211 @ 0x193f
0x174d 151 eax = [rsp + 0x30 {var_9ca8}].d
0x1751 152 cond:6 = eax s>= 2
0x1754 153 ecx = 1
0x1759 154 if (cond:6) then 219 else 221 @ 0x175c
0x1701 155 rbp = rsp + 0x60 {var_9c78}
0x1706 156 r14 = 0x2009 {"%d\n"}
0x170d 157 ebx = 0
0x170f 158 goto 235 @ 0x1710
0x1694 159 r15 = sx.q([rsp + 0x28 {var_9cb0}].d)
0x1699 160 rax = r15 * 0x194
0x16a0 161 rbx = r15 - 2
0x16a4 162 rcx = rsp + 0x60 {var_9c78}
0x16a9 163 rbp = rax + rcx
0x16ad 164 rbp = rbp - 0x194
0x16b4 165 r14 = 0x2009 {"%d\n"}
0x16bb 166 goto 243 @ 0x16c0
0x14b3 167 ecx = eax
0x14b3 168 goto 169 @ 0x14b6
0x14b6 169 [rsp + 0x40 {var_9c98_2}].q = rcx
0x14bb 170 r14d = 1
0x14c1 171 rax = rsp + 0x1f0 {var_9ae8}
0x14c9 172 [rsp + 0x20 {var_9cb8}].q = rax {var_9ae8}
0x14ce 173 [rsp + 0x10 {var_9cc8}].d = -2
0x14d6 174 rax = rsp + 0x60 {var_9c78}
0x14db 175 r15d = 0xffffffff {""}
0x14e1 176 r13 = 0x2009 {"%d\n"}
0x14e8 177 [rsp + 0x18 {var_9cc0_2}].q = rax {var_9c78}
0x14ed 178 rbx = rax {var_9c78}
0x14f0 179 r12d = 0
0x14f3 180 eax = 0
0x14f5 181 [rsp + 0x38 {var_9ca0}].q = rax
0x14fa 182 goto 252 @ 0x1540
0x1470 183 esi = [rsp + (rbp << 2) + 0x60].d
0x1474 184 rdi = rbx
0x1477 185 eax = 0
0x1479 186 call(0x1030)
0x147e 187 rbp = rbp + 1
0x1482 188 rax = sx.q([rsp + 8 {var_9cd0}].d)
0x148a 189 if (rbp s< rax) then 183 @ 0x1470 else 255 @ 0x148c
0x13ce 190 eax = [rsp + 0xc {var_9ccc}].d
0x13d2 191 ecx = (rbx + rax).d
0x13d5 192 ecx = ecx - 2
0x13d8 193 rcx = sx.q(ecx)
0x13de 194 if (r14 s>= rcx) then 256 @ 0x1290 else 267 @ 0x13e4
0x1389 195 eax = eax + r13d
0x138c 196 rbp = sx.q(eax)
0x138f 197 rbp = rbp + 1
0x139d 198 goto 272 @ 0x13a0
0x1340 199 eax = [rsp + 8 {var_9cd0}].d
0x1344 200 eax = eax + r12d
0x1347 201 rax = sx.q(eax)
0x1349 202 esi = [r13 + (rax << 2)].d
0x134e 203 rdi = r15
0x1351 204 eax = 0
0x1353 205 call(0x1030)
0x1358 206 eax = [rsp + 0xc {var_9ccc}].d
0x135c 207 eax = eax - r14d
0x135f 208 r13 = r13 + 0x190
0x1366 209 ebp = ebp + 1
0x136b 210 if (eax s> ebp) then 199 @ 0x1340 else 128 @ 0x136d
0x193f 211 r15 = sx.q([rsp + 0x28 {var_9cb0}].d)
0x1944 212 rax = r15 * 0x194
0x194b 213 rbx = r15 - 2
0x194f 214 rcx = rsp + 0x60 {var_9c78}
0x1954 215 rbp = rax + rcx
0x1958 216 rbp = rbp - 0x194
0x195f 217 r14 = 0x2009 {"%d\n"}
0x1966 218 goto 284 @ 0x1970
0x1759 219 ecx = eax
0x1759 220 goto 221 @ 0x175c
0x175c 221 [rsp + 0x40 {var_9c98_3}].q = rcx
0x1761 222 r13d = 1
0x1767 223 rax = rsp + 0x1f0 {var_9ae8}
0x176f 224 [rsp + 0x20 {var_9cb8}].q = rax {var_9ae8}
0x1774 225 [rsp + 0x10 {var_9cc8}].d = -2
0x177c 226 rax = rsp + 0x60 {var_9c78}
0x1781 227 r15d = 0xffffffff {""}
0x1787 228 r12 = 0x2009 {"%d\n"}
0x178e 229 [rsp + 0x18 {var_9cc0_3}].q = rax {var_9c78}
0x1793 230 rbx = rax {var_9c78}
0x1796 231 r14d = 0
0x1799 232 eax = 0
0x179b 233 [rsp + 0x38 {var_9ca0}].q = rax
0x17a0 234 goto 293 @ 0x17f0
0x1710 235 esi = [rbp].d
0x1713 236 rdi = r14
0x1716 237 eax = 0
0x1718 238 call(0x1030)
0x171d 239 rbx = rbx + 1
0x1721 240 rax = sx.q([rsp + 0xc {var_9ccc}].d)
0x1726 241 rbp = rbp + 0x190
0x1730 242 if (rbx s< rax) then 235 @ 0x1710 else 296 @ 0x1732
0x16c0 243 esi = [rbp].d
0x16c3 244 rdi = r14
0x16c6 245 eax = 0
0x16c8 246 call(0x1030)
0x16cd 247 rax = sx.q([rsp + 8 {var_9cd0}].d)
0x16d2 248 rax = rax - r15
0x16d5 249 rbx = rbx + 1
0x16d9 250 rbp = rbp + 4
0x16e0 251 if (rbx s< rax) then 243 @ 0x16c0 else 88 @ 0x16e2
0x1540 252 rax = sx.q([rsp + 8 {var_9cd0}].d)
0x1545 253 rax = rax - r12
0x154b 254 if (r12 s>= rax) then 297 @ 0x1570 else 306 @ 0x154d
0x148c 255 goto 88 @ 0x16e2
0x1290 256 r14d = not.d(r14d)
0x1293 257 r13d = r13d - 1
0x1297 258 rbp = [rsp + 0x10 {var_9cc8}].q
0x129c 259 rbp = rbp + 0x194
0x12a3 260 r12d = r12d - 1
0x12a7 261 [rsp + 0x18 {var_9cc0_1}].q = [rsp + 0x18 {var_9cc0_1}].q + 0x190
0x12b0 262 [rsp + 0x20 {var_9cb8}].d = [rsp + 0x20 {var_9cb8}].d + 1
0x12b5 263 [rsp + 0x40 {var_9c98_1}].q = [rsp + 0x40 {var_9c98_1}].q + 4
0x12bb 264 eax = r14d
0x12be 265 r14 = [rsp + 0x50 {var_9c88_1}].q
0x12c8 266 if (r14 == [rsp + 0x30 {var_9ca8}].q) then 35 @ 0x1421 else 91 @ 0x12ce
0x13e4 267 eax = eax + r13d
0x13e7 268 rbp = sx.q(eax)
0x13ea 269 rbx = rbp * 0x190
0x13f1 270 rbx = rbx + [rsp + 0x40 {var_9c98_1}].q
0x13f6 271 goto 308 @ 0x1400
0x13a0 272 eax = [rsp + 0xc {var_9ccc}].d
0x13a4 273 eax = eax + r12d
0x13a7 274 rax = sx.q(eax)
0x13a9 275 rax = rax * 0x190
0x13b0 276 rax = rax + rsp
0x13b3 277 rax = rax + 0x60
0x13b7 278 esi = [rax + (rbp << 2) - 4].d
0x13bb 279 rdi = r15
0x13be 280 eax = 0
0x13c0 281 call(0x1030)
0x13c5 282 rbp = rbp - 1
0x13cc 283 if (rbp s> r14) then 272 @ 0x13a0 else 190 @ 0x13ce
0x1970 284 esi = [rbp].d
0x1973 285 rdi = r14
0x1976 286 eax = 0
0x1978 287 call(0x1030)
0x197d 288 rax = sx.q([rsp + 0xc {var_9ccc}].d)
0x1982 289 rax = rax - r15
0x1985 290 rbx = rbx + 1
0x1989 291 rbp = rbp + 0x190
0x1993 292 if (rbx s< rax) then 284 @ 0x1970 else 48 @ 0x1995
0x17f0 293 rax = sx.q([rsp + 8 {var_9cd0}].d)
0x17f5 294 rax = rax - r14
0x17fb 295 if (r14 s>= rax) then 315 @ 0x1820 else 324 @ 0x17fd
0x1732 296 goto 48 @ 0x1995
0x1570 297 [rsp + 0x50 {var_9c88_2}].q = rbx
0x1575 298 rdx = r12 + 1
0x157a 299 rax = sx.q([rsp + 0xc {var_9ccc}].d)
0x157f 300 rcx = sx.q(r12d)
0x1582 301 rax = rax - rcx
0x1585 302 [rsp + 0x48 {var_9c90_2}].q = rdx
0x158a 303 cond:7 = rdx s>= rax
0x158d 304 ebx = r14d
0x1590 305 if (cond:7) then 326 @ 0x15ce else 333 @ 0x1592
0x154d 306 ebp = 0
0x154f 307 goto 336 @ 0x1550
0x1400 308 esi = [rbx].d
0x1402 309 rdi = r15
0x1405 310 eax = 0
0x1407 311 call(0x1030)
0x140c 312 rbp = rbp - 1
0x1410 313 rbx = rbx - 0x190
0x141a 314 if (rbp s> r14) then 308 @ 0x1400 else 345 @ 0x141c
0x1820 315 [rsp + 0x50 {var_9c88_3}].q = rbx
0x1825 316 rdx = r14 + 1
0x1829 317 rax = sx.q([rsp + 0xc {var_9ccc}].d)
0x182e 318 rcx = sx.q(r14d)
0x1831 319 rax = rax - rcx
0x1834 320 [rsp + 0x48 {var_9c90_3}].q = rdx
0x1839 321 cond:8 = rdx s>= rax
0x183c 322 ebx = r13d
0x183f 323 if (cond:8) then 346 @ 0x187d else 353 @ 0x1841
0x17fd 324 ebp = 0
0x17ff 325 goto 356 @ 0x1800
0x15ce 326 r14d = ebx
0x15d1 327 eax = [rsp + 8 {var_9cd0}].d
0x15d5 328 rbx = [rsp + 0x38 {var_9ca0}].q
0x15da 329 ecx = (rbx + rax).d
0x15dd 330 ecx = ecx - 2
0x15e0 331 rcx = sx.q(ecx)
0x15e6 332 if (r12 s> rcx) then 365 @ 0x162e else 370 @ 0x15e8
0x1592 333 r14d = ebx
0x1595 334 rbp = [rsp + 0x20 {var_9cb8}].q
0x159a 335 goto 374 @ 0x15a0
0x1550 336 esi = [rbx + (rbp << 2)].d
0x1553 337 rdi = r13
0x1556 338 eax = 0
0x1558 339 call(0x1030)
0x155d 340 eax = [rsp + 8 {var_9cd0}].d
0x1561 341 eax = eax - r12d
0x1564 342 rbp = rbp + 1
0x1568 343 ecx = (r12 + rbp).d
0x156e 344 if (eax s> ecx) then 336 @ 0x1550 else 297 @ 0x1570
0x141c 345 goto 256 @ 0x1290
0x187d 346 r13d = ebx
0x1880 347 eax = [rsp + 8 {var_9cd0}].d
0x1884 348 rbx = [rsp + 0x38 {var_9ca0}].q
0x1889 349 ecx = (rbx + rax).d
0x188c 350 ecx = ecx - 2
0x188f 351 rcx = sx.q(ecx)
0x1895 352 if (r14 s> rcx) then 386 @ 0x18de else 391 @ 0x1897
0x1841 353 ebp = ebx
0x1843 354 r13 = [rsp + 0x20 {var_9cb8}].q
0x1848 355 goto 395 @ 0x1850
0x1800 356 esi = [rbx + (rbp << 2)].d
0x1803 357 rdi = r12
0x1806 358 eax = 0
0x1808 359 call(0x1030)
0x180d 360 eax = [rsp + 8 {var_9cd0}].d
0x1811 361 eax = eax - r14d
0x1814 362 rbp = rbp + 1
0x1818 363 ecx = (r14 + rbp).d
0x181e 364 if (eax s> ecx) then 356 @ 0x1800 else 315 @ 0x1820
0x162e 365 eax = [rsp + 0xc {var_9ccc}].d
0x1632 366 ecx = (rbx + rax).d
0x1635 367 ecx = ecx - 2
0x1638 368 rcx = sx.q(ecx)
0x163e 369 if (r12 s>= rcx) then 407 @ 0x1500 else 418 @ 0x1644
0x15e8 370 eax = eax + [rsp + 0x10 {var_9cc8}].d
0x15ec 371 rbp = sx.q(eax)
0x15ef 372 rbp = rbp + 1
0x15fd 373 goto 423 @ 0x1600
0x15a0 374 eax = [rsp + 8 {var_9cd0}].d
0x15a4 375 eax = eax + r15d
0x15a7 376 rax = sx.q(eax)
0x15a9 377 esi = [rbp + (rax << 2)].d
0x15ad 378 rdi = r13
0x15b0 379 eax = 0
0x15b2 380 call(0x1030)
0x15b7 381 eax = [rsp + 0xc {var_9ccc}].d
0x15bb 382 eax = eax - r12d
0x15be 383 rbp = rbp + 0x190
0x15c5 384 r14d = r14d + 1
0x15cc 385 if (eax s> r14d) then 374 @ 0x15a0 else 326 @ 0x15ce
0x18de 386 eax = [rsp + 0xc {var_9ccc}].d
0x18e2 387 ecx = (rbx + rax).d
0x18e5 388 ecx = ecx - 2
0x18e8 389 rcx = sx.q(ecx)
0x18ee 390 if (r14 s>= rcx) then 435 @ 0x17b0 else 446 @ 0x18f4
0x1897 391 eax = eax + [rsp + 0x10 {var_9cc8}].d
0x189b 392 rbp = sx.q(eax)
0x189e 393 rbp = rbp + 1
0x18ac 394 goto 451 @ 0x18b0
0x1850 395 eax = [rsp + 8 {var_9cd0}].d
0x1854 396 eax = eax + r15d
0x1857 397 rax = sx.q(eax)
0x1859 398 esi = [r13 + (rax << 2)].d
0x185e 399 rdi = r12
0x1861 400 eax = 0
0x1863 401 call(0x1030)
0x1868 402 eax = [rsp + 0xc {var_9ccc}].d
0x186c 403 eax = eax - r14d
0x186f 404 r13 = r13 + 0x190
0x1876 405 ebp = ebp + 1
0x187b 406 if (eax s> ebp) then 395 @ 0x1850 else 346 @ 0x187d
0x1500 407 r12d = not.d(r12d)
0x1503 408 [rsp + 0x10 {var_9cc8}].d = [rsp + 0x10 {var_9cc8}].d - 1
0x1508 409 rbx = [rsp + 0x50 {var_9c88_2}].q
0x150d 410 rbx = rbx + 0x194
0x1514 411 r15d = r15d - 1
0x1518 412 [rsp + 0x20 {var_9cb8}].q = [rsp + 0x20 {var_9cb8}].q + 0x190
0x1521 413 r14d = r14d + 1
0x1525 414 [rsp + 0x18 {var_9cc0_2}].q = [rsp + 0x18 {var_9cc0_2}].q + 4
0x152b 415 [rsp + 0x38 {var_9ca0}].q = r12
0x1530 416 r12 = [rsp + 0x48 {var_9c90_2}].q
0x153a 417 if (r12 == [rsp + 0x40 {var_9c98_2}].q) then 116 @ 0x1681 else 252 @ 0x1540
0x1644 418 eax = eax + [rsp + 0x10 {var_9cc8}].d
0x1648 419 rbp = sx.q(eax)
0x164b 420 rbx = rbp * 0x190
0x1652 421 rbx = rbx + [rsp + 0x18 {var_9cc0_2}].q
0x1657 422 goto 463 @ 0x1660
0x1600 423 eax = [rsp + 0xc {var_9ccc}].d
0x1604 424 eax = eax + r15d
0x1607 425 rax = sx.q(eax)
0x1609 426 rax = rax * 0x190
0x1610 427 rax = rax + rsp
0x1613 428 rax = rax + 0x60
0x1617 429 esi = [rax + (rbp << 2) - 4].d
0x161b 430 rdi = r13
0x161e 431 eax = 0
0x1620 432 call(0x1030)
0x1625 433 rbp = rbp - 1
0x162c 434 if (rbp s> r12) then 423 @ 0x1600 else 365 @ 0x162e
0x17b0 435 r14d = not.d(r14d)
0x17b3 436 [rsp + 0x10 {var_9cc8}].d = [rsp + 0x10 {var_9cc8}].d - 1
0x17b8 437 rbx = [rsp + 0x50 {var_9c88_3}].q
0x17bd 438 rbx = rbx + 0x194
0x17c4 439 r15d = r15d - 1
0x17c8 440 [rsp + 0x20 {var_9cb8}].q = [rsp + 0x20 {var_9cb8}].q + 0x190
0x17d1 441 r13d = r13d + 1
0x17d5 442 [rsp + 0x18 {var_9cc0_3}].q = [rsp + 0x18 {var_9cc0_3}].q + 4
0x17db 443 [rsp + 0x38 {var_9ca0}].q = r14
0x17e0 444 r14 = [rsp + 0x48 {var_9c90_3}].q
0x17ea 445 if (r14 == [rsp + 0x40 {var_9c98_3}].q) then 148 @ 0x1931 else 293 @ 0x17f0
0x18f4 446 eax = eax + [rsp + 0x10 {var_9cc8}].d
0x18f8 447 rbp = sx.q(eax)
0x18fb 448 rbx = rbp * 0x190
0x1902 449 rbx = rbx + [rsp + 0x18 {var_9cc0_3}].q
0x1907 450 goto 470 @ 0x1910
0x18b0 451 eax = [rsp + 0xc {var_9ccc}].d
0x18b4 452 eax = eax + r15d
0x18b7 453 rax = sx.q(eax)
0x18b9 454 rax = rax * 0x190
0x18c0 455 rax = rax + rsp
0x18c3 456 rax = rax + 0x60
0x18c7 457 esi = [rax + (rbp << 2) - 4].d
0x18cb 458 rdi = r12
0x18ce 459 eax = 0
0x18d0 460 call(0x1030)
0x18d5 461 rbp = rbp - 1
0x18dc 462 if (rbp s> r14) then 451 @ 0x18b0 else 386 @ 0x18de
0x1660 463 esi = [rbx].d
0x1662 464 rdi = r13
0x1665 465 eax = 0
0x1667 466 call(0x1030)
0x166c 467 rbp = rbp - 1
0x1670 468 rbx = rbx - 0x190
0x167a 469 if (rbp s> r12) then 463 @ 0x1660 else 477 @ 0x167c
0x1910 470 esi = [rbx].d
0x1912 471 rdi = r12
0x1915 472 eax = 0
0x1917 473 call(0x1030)
0x191c 474 rbp = rbp - 1
0x1920 475 rbx = rbx - 0x190
0x192a 476 if (rbp s> r14) then 470 @ 0x1910 else 478 @ 0x192c
0x167c 477 goto 407 @ 0x1500
0x192c 478 goto 435 @ 0x17b0
int64_t _fini():
0x19ac 0 rsp = rsp - 8
0x19b0 1 rsp = rsp + 8
0x19b4 2 <return> jump(pop)
| POJ_46 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int64_t memset(void* arg1, int32_t arg2, uint64_t arg3):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
uint64_t strlen(char const* arg1):
0x1040 0 <return> tailcall([0x4020].q)
char* gets(char* buf):
0x1050 0 <return> tailcall([0x4028].q)
int32_t puts(char const* str):
0x1060 0 <return> tailcall([0x4030].q)
int32_t putchar(int32_t c):
0x1070 0 <return> tailcall([0x4038].q)
void __cxa_finalize(void* d):
0x1080 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1094 0 ebp = 0
0x1096 1 r9 = rdx
0x1099 2 rsi = pop
0x109a 3 rdx = rsp {arg_8}
0x109d 4 rsp = rsp & 0xfffffffffffffff0
0x10a1 5 push(rax)
0x10a2 6 push(rsp)
0x10a3 7 r8d = 0
0x10a6 8 ecx = 0
0x10a8 9 rdi = 0x11f0 {"UAWAVATSHpH1J<$"}
0x10af 10 call([0x3ff8].q)
0x10af 11 noreturn
void deregister_tm_clones():
0x10c0 0 rdi = 0x4050 {""}
0x10c7 1 rax = 0x4050 {""}
0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3
0x10e8 3 <return> jump(pop)
0x10d3 4 rax = [0x3fd8].q
0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df
0x10df 6 <return> tailcall(rax)
void register_tm_clones():
0x10f0 0 rdi = 0x4050 {""}
0x10f7 1 rsi = 0x4050 {""}
0x10fe 2 rsi = rsi - rdi
0x1101 3 rax = rsi
0x1104 4 rsi = rsi u>> 0x3f
0x1108 5 rax = rax s>> 3
0x110c 6 rsi = rsi + rax
0x110f 7 rsi = rsi s>> 1
0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114
0x1128 9 <return> jump(pop)
0x1114 10 rax = [0x3ff0].q
0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120
0x1120 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d
0x1168 1 <return> jump(pop)
0x113d 2 push(rbp)
0x113e 3 cond:0 = [0x3fe0].q == 0
0x1146 4 rbp = rsp {__saved_rbp}
0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b
0x1157 6 call(0x10c0)
0x115c 7 [0x4050].b = 1
0x1163 8 rbp = pop
0x1164 9 <return> jump(pop)
0x114b 10 rdi = [0x4048].q
0x1152 11 call(0x1080)
0x1152 12 goto 6 @ 0x1157
int64_t frame_dummy():
0x1174 0 <return> tailcall(0x10f0)
int64_t pipei(char* arg1, int32_t arg2):
0x1180 0 push(rbp)
0x1181 1 push(r15)
0x1183 2 push(r14)
0x1185 3 push(rbx)
0x1186 4 push(rax)
0x1189 5 if (esi s<= 0) then 6 @ 0x11cd else 13 @ 0x118b
0x11cd 6 edi = 0xa {""}
0x11d2 7 rsp = rsp + 8
0x11d6 8 rbx = pop
0x11d7 9 r14 = pop
0x11d9 10 r15 = pop
0x11db 11 rbp = pop
0x11dc 12 <return> tailcall(0x1070)
0x118b 13 r14 = rdi
0x118e 14 r15d = esi
0x1191 15 ebx = 0
0x1193 16 ebp = 0x20 {"@"}
0x1198 17 goto 18 @ 0x11b3
0x11b3 18 ecx = zx.d([r14 + rbx].b)
0x11b8 19 eax = ecx
0x11ba 20 al = al & 0xfe
0x11bc 21 edi = 0x24 {""}
0x11c4 22 if (cl == 0x28) then 23 @ 0x11a2 else 24 @ 0x11c6
0x11a2 23 if (al != 0x28) then 26 else 28 @ 0x11a5
0x11c6 24 edi = 0x3f {""}
0x11cb 25 goto 23 @ 0x11a2
0x11a2 26 edi = ebp
0x11a2 27 goto 28 @ 0x11a5
0x11a5 28 call(0x1070)
0x11aa 29 rbx = rbx + 1
0x11b1 30 if (r15 == rbx) then 6 @ 0x11cd else 18 @ 0x11b3
int32_t main(int32_t argc, char** argv, char** envp):
0x11f0 0 push(rbp)
0x11f1 1 push(r15)
0x11f3 2 push(r14)
0x11f5 3 push(r12)
0x11f7 4 push(rbx)
0x11f8 5 rsp = rsp - 0x70
0x11fc 6 rdi = rsp {var_98}
0x11ff 7 eax = 0
0x1201 8 call(0x1050)
0x120a 9 if ([rsp {var_98}].b == 0) then 10 @ 0x12b1 else 18 @ 0x1210
0x12b1 10 eax = 0
0x12b3 11 rsp = rsp + 0x70
0x12b7 12 rbx = pop
0x12b8 13 r12 = pop
0x12ba 14 r14 = pop
0x12bc 15 r15 = pop
0x12be 16 rbp = pop
0x12bf 17 <return> jump(pop)
0x1210 18 r14 = rsp {var_98}
0x1213 19 r12d = 0x20 {"@"}
0x1219 20 goto 21 @ 0x123a
0x123a 21 rdi = r14 {var_98}
0x123d 22 call(0x1040)
0x1242 23 r15 = rax
0x1245 24 rdi = r14 {var_98}
0x1248 25 eax = 0
0x124a 26 call(0x1060)
0x1252 27 if (r15d s<= 0) then 28 @ 0x1220 else 31 @ 0x1254
0x1220 28 edi = 0xa {""}
0x1225 29 call(0x1070)
0x1225 30 goto 34 @ 0x122a
0x1254 31 ebx = r15d
0x1257 32 ebp = 0
0x1259 33 goto 38 @ 0x1274
0x122a 34 rdi = r14 {var_98}
0x122d 35 eax = 0
0x122f 36 call(0x1050)
0x1238 37 if ([rsp {var_98}].b == 0) then 10 @ 0x12b1 else 21 @ 0x123a
0x1274 38 ecx = zx.d([rsp + rbp].b)
0x1278 39 eax = ecx
0x127a 40 al = al & 0xfe
0x127c 41 edi = 0x24 {""}
0x1284 42 if (cl == 0x28) then 43 @ 0x1262 else 44 @ 0x1286
0x1262 43 if (al != 0x28) then 46 else 48 @ 0x1266
0x1286 44 edi = 0x3f {""}
0x128b 45 goto 43 @ 0x1262
0x1262 46 edi = r12d
0x1262 47 goto 48 @ 0x1266
0x1266 48 call(0x1070)
0x126b 49 rbp = rbp + 1
0x1272 50 if (rbx == rbp) then 51 @ 0x1290 else 38 @ 0x1274
0x1290 51 edi = 0xa {""}
0x1295 52 call(0x1070)
0x129d 53 if (r15d s<= 0) then 34 @ 0x122a else 54 @ 0x129f
0x129f 54 edx = r15d
0x12a2 55 rdi = r14 {var_98}
0x12a5 56 esi = 0
0x12a7 57 call(0x1030)
0x12ac 58 goto 34 @ 0x122a
int64_t _fini():
0x12c4 0 rsp = rsp - 8
0x12c8 1 rsp = rsp + 8
0x12cc 2 <return> jump(pop)
| POJ_17 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UAWAVSH8"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 push(r15)
0x1153 2 push(r14)
0x1155 3 push(rbx)
0x1156 4 rsp = rsp - 0x338
0x115d 5 rdi = 0x2004 {"%d"}
0x1164 6 r15d = 0
0x1167 7 rsi = rsp + 0xc {var_34c}
0x116c 8 eax = 0
0x116e 9 call(0x1040)
0x1178 10 if ([rsp + 0xc {var_34c}].d s<= 0) then 11 @ 0x129b else 14 @ 0x117e
0x129b 11 r15d = r15d - 1
0x129f 12 r14d = r15d
0x12a2 13 goto 19 @ 0x12d7
0x117e 14 rbx = rsp + 0x1a0 {var_1b8}
0x1186 15 r14 = 0x2004 {"%d"}
0x118d 16 ebp = 0
0x118f 17 r15d = 0
0x1192 18 goto 31 @ 0x11b2
0x12d7 19 rax = sx.q(r14d)
0x12da 20 esi = [rsp + (rax << 2) + 0x10].d
0x12de 21 rdi = 0x2004 {"%d"}
0x12e5 22 eax = 0
0x12e7 23 call(0x1030)
0x12ec 24 eax = 0
0x12ee 25 rsp = rsp + 0x338
0x12f5 26 rbx = pop
0x12f6 27 r14 = pop
0x12f8 28 r15 = pop
0x12fa 29 rbp = pop
0x12fb 30 <return> jump(pop)
0x11b2 31 rdi = r14
0x11b5 32 rsi = rbx
0x11b8 33 eax = 0
0x11ba 34 call(0x1040)
0x11bf 35 eax = [rbx].d
0x11c3 36 if ((al & 1) == 0) then 37 @ 0x11a0 else 41 @ 0x11c5
0x11a0 37 rbp = rbp + 1
0x11a4 38 rax = sx.q([rsp + 0xc {var_34c}].d)
0x11a9 39 rbx = rbx + 4
0x11b0 40 if (rbp s>= rax) then 45 @ 0x11d6 else 31 @ 0x11b2
0x11c5 41 r15 = sx.q(r15d)
0x11c8 42 [rsp + (r15 << 2) + 0x10].d = eax
0x11cd 43 r15d = r15d + 1
0x11d1 44 goto 37 @ 0x11a0
0x11d6 45 if (r15d s<= 0) then 11 @ 0x129b else 46 @ 0x11dc
0x11dc 46 r14d = (r15 - 1).d
0x11e0 47 r9d = 1
0x11e6 48 eax = 0
0x11e8 49 ebx = r14d
0x11eb 50 goto 51 @ 0x1209
0x1209 51 if (r15d s<= r9d) then 52 @ 0x11f0 else 58 @ 0x120b
0x11f0 52 ecx = (r9 + 1).d
0x11f4 53 eax = eax + 1
0x11f7 54 ebx = ebx - 1
0x11fa 55 cond:0 = r9d == r15d
0x11fd 56 r9d = ecx
0x1200 57 if (cond:0) then 62 @ 0x12a8 else 51 @ 0x1209
0x120b 58 r8d = r14d
0x120e 59 r8d = r8d - eax
0x1211 60 edx = [rsp + 0x10 {var_348}].d
0x1219 61 if (r8d != 1) then 63 @ 0x1220 else 67 @ 0x121b
0x12a8 62 if (r15d s< 2) then 19 @ 0x12d7 else 69 @ 0x12aa
0x1220 63 ecx = ebx
0x1222 64 ecx = ecx & 0xfffffffe
0x1225 65 ebp = 0
0x1227 66 goto 73 @ 0x1240
0x121b 67 edi = 0
0x121d 68 goto 75 @ 0x127c
0x12aa 69 ebp = r14d
0x12ad 70 r15 = 0x2007 {"%d,"}
0x12b4 71 ebx = 0
0x12b6 72 goto 76 @ 0x12c0
0x1240 73 edi = [rsp + (rbp << 2) + 0x14].d
0x1246 74 if (edx s<= edi) then 82 @ 0x1260 else 86 @ 0x1248
0x127c 75 if ((r8b & 1) == 0) then 52 @ 0x11f0 else 91 @ 0x1282
0x12c0 76 esi = [rsp + (rbx << 2) + 0x10].d
0x12c4 77 rdi = r15
0x12c7 78 eax = 0
0x12c9 79 call(0x1030)
0x12ce 80 rbx = rbx + 1
0x12d5 81 if (rbp != rbx) then 76 @ 0x12c0 else 19 @ 0x12d7
0x1260 82 edx = edi
0x1262 83 rdi = rbp + 2
0x1266 84 esi = [rsp + (rbp << 2) + 0x18].d
0x126c 85 if (edx s> esi) then 93 @ 0x1230 else 97 @ 0x126e
0x1248 86 [rsp + (rbp << 2) + 0x14].d = edx
0x124c 87 [rsp + (rbp << 2) + 0x10].d = edi
0x1250 88 rdi = rbp + 2
0x1254 89 esi = [rsp + (rbp << 2) + 0x18].d
0x125a 90 if (edx s> esi) then 93 @ 0x1230 else 100 @ 0x125c
0x1282 91 ecx = [rsp + (rdi << 2) + 0x14].d
0x1288 92 if (edx s<= ecx) then 52 @ 0x11f0 else 101 @ 0x128e
0x1230 93 [rsp + (rbp << 2) + 0x18].d = edx
0x1234 94 [rsp + (rbp << 2) + 0x14].d = esi
0x1238 95 rbp = rdi
0x123e 96 if (rcx == rdi) then 75 @ 0x127c else 73 @ 0x1240
0x126e 97 edx = esi
0x1270 98 rbp = rdi
0x1276 99 if (rcx != rdi) then 73 @ 0x1240 else 75 @ 0x127c
0x125c 100 goto 97 @ 0x126e
0x128e 101 [rsp + (rdi << 2) + 0x14].d = edx
0x1292 102 [rsp + (rdi << 2) + 0x10].d = ecx
0x1296 103 goto 52 @ 0x11f0
int64_t _fini():
0x1300 0 rsp = rsp - 8
0x1304 1 rsp = rsp + 8
0x1308 2 <return> jump(pop)
| POJ_94 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UAWAVSPH="}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 push(r15)
0x1153 2 push(r14)
0x1155 3 push(rbx)
0x1156 4 push(rax)
0x1157 5 rdi = 0x2004 {"%d"}
0x115e 6 rsi = rsp + 4 {var_28+0x4}
0x1163 7 eax = 0
0x1165 8 call(0x1040)
0x116a 9 r8d = [rsp + 4 {var_28+0x4}].d
0x1173 10 if (r8d s>= 6) then 11 @ 0x1182 else 16 @ 0x1175
0x1182 11 ebx = 3
0x1187 12 r15d = 0xffffffff {""}
0x118d 13 ebp = 5
0x1192 14 r14 = 0x2007 {"%d %d\n"}
0x1199 15 goto 23 @ 0x11cc
0x1175 16 eax = 0
0x1177 17 rsp = rsp + 8
0x117b 18 rbx = pop
0x117c 19 r14 = pop
0x117e 20 r15 = pop
0x1180 21 rbp = pop
0x1181 22 <return> jump(pop)
0x11cc 23 ecx = 2
0x11db 24 goto 25 @ 0x11e0
0x11e0 25 eax = ebx
0x11e2 26 edx = 0
0x11e4 27 temp2.d = ecx
0x11e4 28 temp3.d = edx
0x11e4 29 temp4.d = eax
0x11e4 30 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d)
0x11e4 31 temp5.d = edx
0x11e4 32 temp6.d = eax
0x11e4 33 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d)
0x11e4 34 eax = temp0.d
0x11e4 35 edx = temp1.d
0x11e8 36 if (edx == 0) then 37 @ 0x11b3 else 45 @ 0x11ea
0x11b3 37 ebx = ebx + 2
0x11b6 38 eax = r8d
0x11b9 39 eax = eax u>> 0x1f
0x11bc 40 eax = eax + r8d
0x11bf 41 eax = eax s>> 1
0x11c1 42 r15d = r15d - 2
0x11c5 43 ebp = ebp + 2
0x11ca 44 if (ebx s> eax) then 16 @ 0x1175 else 23 @ 0x11cc
0x11ea 45 ecx = ecx + 1
0x11ed 46 eax = (r15 + rcx).d
0x11f4 47 if (eax != 2) then 25 @ 0x11e0 else 48 @ 0x11f6
0x11f6 48 ecx = r8d
0x11f9 49 ecx = ecx - ebx
0x11fe 50 if (ecx s< 3) then 51 @ 0x11a0 else 58 @ 0x1200
0x11a0 51 rdi = r14
0x11a3 52 esi = ebx
0x11a5 53 edx = ecx
0x11a7 54 eax = 0
0x11a9 55 call(0x1030)
0x11ae 56 r8d = [rsp + 4 {var_28+0x4}].d
0x11ae 57 goto 37 @ 0x11b3
0x1200 58 edi = ebp
0x1202 59 edi = edi - r8d
0x1205 60 esi = 2
0x120a 61 goto 62 @ 0x1210
0x1210 62 eax = ecx
0x1212 63 temp7.d:temp8.d = sx.q(eax)
0x1212 64 edx = temp7.d
0x1212 65 eax = temp8.d
0x1213 66 temp9.d = edx
0x1213 67 temp10.d = eax
0x1213 68 temp0.d = divs.dp.d(temp9.d:temp10.d, esi)
0x1213 69 temp11.d = edx
0x1213 70 temp12.d = eax
0x1213 71 temp1.d = mods.dp.d(temp11.d:temp12.d, esi)
0x1213 72 eax = temp0.d
0x1213 73 edx = temp1.d
0x1217 74 if (edx == 0) then 37 @ 0x11b3 else 75 @ 0x1219
0x1219 75 esi = esi + 1
0x121c 76 eax = (rdi + rsi).d
0x1222 77 if (eax != 2) then 62 @ 0x1210 else 78 @ 0x1224
0x1224 78 goto 51 @ 0x11a0
int64_t _fini():
0x1230 0 rsp = rsp - 8
0x1234 1 rsp = rsp + 8
0x1238 2 <return> jump(pop)
| POJ_43 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"AWAVSH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(r15)
0x1152 1 push(r14)
0x1154 2 push(rbx)
0x1155 3 rsp = rsp - 0x1b0
0x115c 4 rdi = 0x20c0 {"%d"}
0x1163 5 rsi = rsp + 0xc {var_1bc}
0x1168 6 eax = 0
0x116a 7 call(0x1040)
0x116f 8 eax = [rsp + 0xc {var_1bc}].d
0x1173 9 xmm1 = 0
0x1179 10 if (eax s<= 0) then 11 @ 0x13ec else 56 @ 0x117f
0x13ec 11 xmm0 = 0
0x13ef 12 xmm0.d = float.s(eax)
0x13f3 13 [rsp + 0x10 {var_1b8}].o = xmm1
0x13f8 14 xmm1.d = xmm1.d f/ xmm0.d
0x13fc 15 xmm0 = 0
0x13ff 16 xmm0.q = fconvert.d(xmm1.d)
0x1403 17 rdi = 0x20c3 {"1-18: %.2f%%\n"}
0x140a 18 al = 1
0x140c 19 call(0x1030)
0x1411 20 xmm0 = 0
0x1414 21 xmm0.d = float.s([rsp + 0xc {var_1bc}].d)
0x141a 22 xmm1 = [rsp + 0x10 {var_1b8}].o
0x141f 23 xmm1 = _mm_shuffle_ps(xmm1, xmm1, 0x55)
0x1423 24 xmm1.d = xmm1.d f/ xmm0.d
0x1427 25 xmm0 = 0
0x142a 26 xmm0.q = fconvert.d(xmm1.d)
0x142e 27 rdi = 0x20d1 {"19-35: %.2f%%\n"}
0x1435 28 al = 1
0x1437 29 call(0x1030)
0x143c 30 xmm0 = 0
0x143f 31 xmm0.d = float.s([rsp + 0xc {var_1bc}].d)
0x1445 32 xmm1 = [rsp + 0x10 {var_1b8}].o
0x144a 33 xmm1.q = xmm1 u>> 0x40
0x144d 34 xmm1.d = xmm1.d f/ xmm0.d
0x1451 35 xmm0 = 0
0x1454 36 xmm0.q = fconvert.d(xmm1.d)
0x1458 37 rdi = 0x20e0 {"36-60: %.2f%%\n"}
0x145f 38 al = 1
0x1461 39 call(0x1030)
0x1466 40 xmm0 = 0
0x1469 41 xmm0.d = float.s([rsp + 0xc {var_1bc}].d)
0x146f 42 xmm1 = [rsp + 0x10 {var_1b8}].o
0x1474 43 xmm1 = _mm_shuffle_ps(xmm1, xmm1, 0xff)
0x1478 44 xmm1.d = xmm1.d f/ xmm0.d
0x147c 45 xmm0 = 0
0x147f 46 xmm0.q = fconvert.d(xmm1.d)
0x1483 47 rdi = 0x20ef {"60??: %.2f%%\n"}
0x148a 48 al = 1
0x148c 49 call(0x1030)
0x1491 50 eax = 0
0x1493 51 rsp = rsp + 0x1b0
0x149a 52 rbx = pop
0x149b 53 r14 = pop
0x149d 54 r15 = pop
0x149f 55 <return> jump(pop)
0x117f 56 r15 = rsp + 0x20 {var_1a8}
0x1184 57 r14 = 0x20c0 {"%d"}
0x118b 58 ebx = 0
0x118d 59 goto 60 @ 0x1190
0x1190 60 rdi = r14
0x1193 61 rsi = r15
0x1196 62 eax = 0
0x1198 63 call(0x1040)
0x119d 64 rbx = rbx + 1
0x11a1 65 rax = sx.q([rsp + 0xc {var_1bc}].d)
0x11a6 66 r15 = r15 + 4
0x11ad 67 if (rbx s< rax) then 60 @ 0x1190 else 68 @ 0x11b1
0x11b1 68 if (eax s<= 0) then 69 @ 0x11c5 else 71 @ 0x11b3
0x11c5 69 xmm1 = 0
0x11c9 70 goto 11 @ 0x13ec
0x11b3 71 ecx = eax
0x11b8 72 if (eax u>= 8) then 73 @ 0x11ce else 89 @ 0x11ba
0x11ce 73 edx = ecx
0x11d0 74 edx = edx & 0xfffffff8
0x11d3 75 rsi = rcx << 2
0x11db 76 rsi = rsi & 0xffffffffffffffe0
0x11df 77 xmm15 = 0
0x11e4 78 edi = 0
0x11e6 79 xmm14 = [0x2030].o
0x11ef 80 xmm13 = [0x2060].o
0x11f8 81 xmm10 = 0
0x11fd 82 xmm4 = 0
0x1201 83 xmm11 = 0
0x1206 84 xmm5 = 0
0x120a 85 xmm6 = 0
0x120e 86 xmm2 = 0
0x1212 87 xmm7 = 0
0x1216 88 goto 92 @ 0x1220
0x11ba 89 xmm2 = 0
0x11be 90 edx = 0
0x11c0 91 goto 133 @ 0x136a
0x1220 92 xmm8 = [rsp + rdi + 0x20].o
0x1227 93 xmm0 = [rsp + rdi + 0x30].o
0x122d 94 xmm1 = [0x2010].o
0x1235 95 xmm9 = xmm1
0x123a 96 xmm9 = _mm_cmpgt_epi32(xmm9, xmm8)
0x123f 97 xmm2 = _mm_sub_epi32(xmm2, xmm9)
0x1244 98 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0)
0x1248 99 xmm7 = _mm_sub_epi32(xmm7, xmm1)
0x124c 100 xmm1 = xmm8
0x1251 101 xmm9 = [0x2020].o
0x125a 102 xmm1 = _mm_add_epi32(xmm1, xmm9)
0x125f 103 xmm1 = xmm1 ^ xmm14
0x1264 104 xmm12 = [0x2040].o
0x126d 105 xmm3 = xmm12
0x1272 106 xmm3 = _mm_cmpgt_epi32(xmm3, xmm1)
0x1276 107 xmm1 = xmm0
0x127a 108 xmm1 = _mm_add_epi32(xmm1, xmm9)
0x127f 109 xmm5 = _mm_sub_epi32(xmm5, xmm3)
0x1283 110 xmm1 = xmm1 ^ xmm14
0x1288 111 xmm12 = _mm_cmpgt_epi32(xmm12, xmm1)
0x128d 112 xmm6 = _mm_sub_epi32(xmm6, xmm12)
0x1292 113 xmm1 = xmm8
0x1297 114 xmm9 = [0x2050].o
0x12a0 115 xmm1 = _mm_add_epi32(xmm1, xmm9)
0x12a5 116 xmm1 = xmm1 ^ xmm14
0x12aa 117 xmm3 = xmm13
0x12af 118 xmm3 = _mm_cmpgt_epi32(xmm3, xmm1)
0x12b3 119 xmm1 = xmm0
0x12b7 120 xmm1 = _mm_add_epi32(xmm1, xmm9)
0x12bc 121 xmm4 = _mm_sub_epi32(xmm4, xmm3)
0x12c0 122 xmm1 = xmm1 ^ xmm14
0x12c5 123 xmm3 = xmm13
0x12ca 124 xmm3 = _mm_cmpgt_epi32(xmm3, xmm1)
0x12ce 125 xmm11 = _mm_sub_epi32(xmm11, xmm3)
0x12d3 126 xmm1 = [0x2070].o
0x12db 127 xmm8 = _mm_cmpgt_epi32(xmm8, xmm1)
0x12e0 128 xmm15 = _mm_sub_epi32(xmm15, xmm8)
0x12e5 129 xmm0 = _mm_cmpgt_epi32(xmm0, xmm1)
0x12e9 130 xmm10 = _mm_sub_epi32(xmm10, xmm0)
0x12ee 131 rdi = rdi + 0x20
0x12f5 132 if (rsi != rdi) then 92 @ 0x1220 else 138 @ 0x12fb
0x136a 133 xmm0 = [0x2080].o
0x1372 134 xmm1 = [0x2030].o
0x137a 135 xmm3 = [0x2090].o
0x1382 136 xmm4 = [0x20a0].o
0x1389 137 goto 162 @ 0x1390
0x12fb 138 xmm7 = _mm_add_epi32(xmm7, xmm2)
0x12ff 139 xmm2 = _mm_shuffle_epi32(xmm7, 0xee)
0x1304 140 xmm2 = _mm_add_epi32(xmm2, xmm7)
0x1308 141 xmm0 = _mm_shuffle_epi32(xmm2, 0x55)
0x130d 142 xmm6 = _mm_add_epi32(xmm6, xmm5)
0x1311 143 xmm1 = _mm_shuffle_epi32(xmm6, 0xee)
0x1316 144 xmm1 = _mm_add_epi32(xmm1, xmm6)
0x131a 145 xmm3 = _mm_shuffle_epi32(xmm1, 0x55)
0x131f 146 xmm0 = _mm_unpacklo_epi32(xmm0, xmm3.q)
0x1323 147 xmm11 = _mm_add_epi32(xmm11, xmm4)
0x1328 148 xmm3 = _mm_shuffle_epi32(xmm11, 0xee)
0x132e 149 xmm3 = _mm_add_epi32(xmm3, xmm11)
0x1333 150 xmm4 = _mm_shuffle_epi32(xmm3, 0x55)
0x1338 151 xmm10 = _mm_add_epi32(xmm10, xmm15)
0x133d 152 xmm5 = _mm_shuffle_epi32(xmm10, 0xee)
0x1343 153 xmm5 = _mm_add_epi32(xmm5, xmm10)
0x1348 154 xmm6 = _mm_shuffle_epi32(xmm5, 0x55)
0x134d 155 xmm4 = _mm_unpacklo_epi32(xmm4, xmm6.q)
0x1351 156 xmm0 = _mm_unpacklo_epi64(xmm0, xmm4.q)
0x1355 157 xmm3 = _mm_unpacklo_epi32(xmm3, xmm5.q)
0x1359 158 xmm2 = _mm_unpacklo_epi32(xmm2, xmm1.q)
0x135d 159 xmm2 = _mm_unpacklo_epi64(xmm2, xmm3.q)
0x1361 160 xmm2 = _mm_add_epi32(xmm2, xmm0)
0x1368 161 if (rdx == rcx) then 182 @ 0x13e2 else 133 @ 0x136a
0x1390 162 esi = [rsp + (rdx << 2) + 0x20].d
0x1394 163 edi = 0
0x1399 164 dil = esi s< 0x13
0x139d 165 xmm5 = esi
0x13a1 166 xmm5 = _mm_shuffle_epi32(xmm5, 0x50)
0x13a6 167 xmm5 = _mm_add_epi32(xmm5, xmm0)
0x13aa 168 xmm5 = xmm5 ^ xmm1
0x13ae 169 xmm6 = xmm3
0x13b2 170 xmm6 = _mm_cmpgt_epi32(xmm6, xmm5)
0x13b6 171 ebx = 0
0x13bb 172 bl = esi s>= 0x3d
0x13be 173 xmm5 = edi
0x13c2 174 xmm7 = ebx
0x13c6 175 xmm7 = _mm_shuffle_ps(xmm7, xmm6, 0xd4)
0x13ca 176 xmm5 = _mm_unpacklo_epi32(xmm5, xmm6.q)
0x13ce 177 xmm5 = _mm_shuffle_ps(xmm5, xmm7, 0x24)
0x13d2 178 xmm5 = _mm_and_ps(xmm5, xmm4)
0x13d5 179 xmm2 = _mm_add_epi32(xmm2, xmm5)
0x13d9 180 rdx = rdx + 1
0x13e0 181 if (rcx != rdx) then 162 @ 0x1390 else 182 @ 0x13e2
0x13e2 182 xmm1 = _mm_cvtepi32_ps(xmm2)
0x13e5 183 xmm1 = __mulps_xmmps_memps(xmm1, [0x20b0].o)
0x13e5 184 goto 11 @ 0x13ec
int64_t _fini():
0x14a4 0 rsp = rsp - 8
0x14a8 1 rsp = rsp + 8
0x14ac 2 <return> jump(pop)
| POJ_99 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"USPH="}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 push(rbx)
0x1152 2 push(rax)
0x1153 3 rdi = 0x2004 {"%d"}
0x115a 4 ebp = 0
0x115c 5 rsi = rsp + 4 {var_18+0x4}
0x1161 6 eax = 0
0x1163 7 call(0x1040)
0x1168 8 eax = [rsp + 4 {var_18+0x4}].d
0x116e 9 if (eax s<= 0) then 10 @ 0x1211 else 18 @ 0x1174
0x1211 10 rdi = 0x2004 {"%d"}
0x1218 11 esi = ebp
0x121a 12 eax = 0
0x121c 13 call(0x1030)
0x1221 14 rsp = rsp + 8
0x1225 15 rbx = pop
0x1226 16 rbp = pop
0x1227 17 <return> jump(pop)
0x1174 18 eax = neg.d(eax)
0x1176 19 ebp = 0
0x1178 20 ebx = 1
0x117d 21 r8d = 0xcccccccd {""}
0x1183 22 esi = 0
0x1185 23 goto 24 @ 0x11ac
0x11ac 24 if (ebx u> 9) then 25 @ 0x11b6 else 26 @ 0x11b1
0x11b6 25 if (ebx u< 0xa) then 27 @ 0x1197 else 33 @ 0x11b8
0x11b1 26 if (ebx != 7) then 48 @ 0x1190 else 25 @ 0x11b6
0x1197 27 ecx = (rax + rbx).d
0x119a 28 ecx = ecx + 1
0x119d 29 edx = ebx
0x119f 30 edx = edx + 1
0x11a2 31 ebx = edx
0x11a7 32 if (ecx == 1) then 52 @ 0x120f else 24 @ 0x11ac
0x11b8 33 edi = ebx
0x11ba 34 rcx = rdi * 0x24924925
0x11c1 35 rcx = rcx u>> 0x20
0x11c5 36 edx = ebx
0x11c7 37 edx = edx - ecx
0x11c9 38 edx = edx u>> 1
0x11cb 39 edx = edx + ecx
0x11cd 40 edx = edx u>> 2
0x11d0 41 ecx = edx
0x11d2 42 ecx = ecx << 3
0x11d5 43 ecx = neg.d(ecx)
0x11d7 44 ecx = ecx + edx
0x11d9 45 ecx = ecx + 1
0x11dc 46 ecx = ecx + ebx
0x11e1 47 if (ecx == 1) then 27 @ 0x1197 else 54 @ 0x11e3
0x1190 48 edi = ebx
0x1192 49 edi = edi * ebx
0x1195 50 esi = esi + edi
0x1195 51 goto 27 @ 0x1197
0x120f 52 ebp = ebp + esi
0x120f 53 goto 10 @ 0x1211
0x11e3 54 ecx = (rbx - 0x46).d
0x11e9 55 if (ecx u< 0xa) then 27 @ 0x1197 else 56 @ 0x11eb
0x11eb 56 rdi = rdi * r8
0x11ef 57 rdi = rdi u>> 0x23
0x11f3 58 edi = edi + edi
0x11f5 59 ecx = (rdi + (rdi << 2)).d
0x11f8 60 edx = 0xfffffffa {""}
0x11fd 61 edx = edx - ecx
0x11ff 62 edx = edx + ebx
0x1204 63 if (edx == 1) then 27 @ 0x1197 else 64 @ 0x1206
0x1206 64 ecx = ebx
0x1208 65 ecx = ecx * ebx
0x120b 66 ebp = ebp + ecx
0x120d 67 goto 27 @ 0x1197
int64_t _fini():
0x122c 0 rsp = rsp - 8
0x1230 1 rsp = rsp + 8
0x1234 2 <return> jump(pop)
| POJ_30 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int64_t memset(void* arg1, int32_t arg2, uint64_t arg3):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UHH@"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 rbp = rsp {__saved_rbp}
0x1164 2 rsp = rsp - 0x740
0x116b 3 [rbp - 4 {var_c}].d = 0
0x1172 4 [rbp - 0x24 {var_2c}].d = 1
0x1179 5 rdi = rbp - 0x1c0 {var_1c8}
0x1180 6 esi = 0
0x1182 7 edx = 0x190 {""}
0x1187 8 call(0x1040)
0x118c 9 rdi = rbp - 0x350 {var_358}
0x1193 10 esi = 0
0x1195 11 edx = 0x190 {""}
0x119a 12 call(0x1040)
0x119f 13 rdi = rbp - 0x740 {var_748}
0x11a6 14 esi = 0
0x11a8 15 edx = 0x3e8 {""}
0x11ad 16 call(0x1040)
0x11b2 17 [rbp - 0x740 {var_748}].b = 0x30 {""}
0x11b9 18 rdi = 0x2006 {"%d"}
0x11c0 19 rsi = rbp - 8 {var_10}
0x11c4 20 al = 0
0x11c6 21 call(0x1050)
0x11cb 22 [rbp - 0xc {var_14}].d = 0
0x11cb 23 goto 24 @ 0x11d2
0x11d2 24 eax = [rbp - 0xc {var_14}].d
0x11d8 25 if (eax s>= [rbp - 8 {var_10}].d) then 26 @ 0x122c else 28 @ 0x11de
0x122c 26 [rbp - 0xc {var_14_1}].d = 0
0x122c 27 goto 46 @ 0x1237
0x11de 28 ecx = [rbp - 0xc {var_14}].d
0x11e1 29 rax = sx.q([rbp - 0xc {var_14}].d)
0x11e5 30 [rbp + (rax << 2) - 0x350].d = ecx
0x11ec 31 rax = sx.q([rbp - 0xc {var_14}].d)
0x11f0 32 rsi = rbp - 0x740 {var_748}
0x11f7 33 rax = rax * 0xa
0x11fb 34 rsi = rsi + rax
0x11fe 35 rax = sx.q([rbp - 0xc {var_14}].d)
0x1202 36 rdx = rbp - 0x1c0 {var_1c8}
0x1209 37 rax = rax << 2
0x120d 38 rdx = rdx + rax
0x1210 39 rdi = 0x2004 {"%s%d"}
0x1217 40 al = 0
0x1219 41 call(0x1050)
0x121e 42 eax = [rbp - 0xc {var_14}].d
0x1221 43 eax = eax + 1
0x1224 44 [rbp - 0xc {var_14}].d = eax
0x1227 45 goto 24 @ 0x11d2
0x1237 46 if ([rbp - 0x24 {var_2c}].d == 0) then 47 @ 0x13a2 else 49 @ 0x123d
0x13a2 47 [rbp - 0xc {var_14_2}].d = 0
0x13a2 48 goto 56 @ 0x13a9
0x123d 49 [rbp - 0x20 {var_28_1}].d = 0
0x1244 50 [rbp - 0x24 {var_2c}].d = 0
0x124b 51 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x124f 52 eax = [rbp + (rax << 2) - 0x350].d
0x1256 53 [rbp - 0x18 {var_20_1}].d = eax
0x1259 54 [rbp - 0x10 {var_18_1}].d = 0
0x1259 55 goto 58 @ 0x1260
0x13a9 56 eax = [rbp - 0xc {var_14_2}].d
0x13af 57 if (eax s>= [rbp - 8 {var_10}].d) then 60 @ 0x13eb else 64 @ 0x13b5
0x1260 58 eax = [rbp - 0x10 {var_18_1}].d
0x1266 59 if (eax s>= [rbp - 8 {var_10}].d) then 76 @ 0x12c8 else 80 @ 0x126c
0x13eb 60 eax = [rbp - 4 {var_c}].d
0x13ee 61 rsp = rsp + 0x740
0x13f5 62 rbp = pop
0x13f6 63 <return> jump(pop)
0x13b5 64 rax = sx.q([rbp - 0xc {var_14_2}].d)
0x13b9 65 rax = sx.q([rbp + (rax << 2) - 0x350].d)
0x13c1 66 rsi = rbp - 0x740 {var_748}
0x13c8 67 rax = rax * 0xa
0x13cc 68 rsi = rsi + rax
0x13cf 69 rdi = 0x2009 {"%s\n"}
0x13d6 70 al = 0
0x13d8 71 call(0x1030)
0x13dd 72 eax = [rbp - 0xc {var_14_2}].d
0x13e0 73 eax = eax + 1
0x13e3 74 [rbp - 0xc {var_14_2}].d = eax
0x13e6 75 goto 56 @ 0x13a9
0x12c8 76 eax = [rbp - 0xc {var_14_1}].d
0x12cb 77 eax = eax + 1
0x12ce 78 [rbp - 0x1c {var_24_1}].d = eax
0x12ce 79 goto 82 @ 0x12d1
0x126c 80 rax = sx.q([rbp - 0x10 {var_18_1}].d)
0x1278 81 if ([rbp + (rax << 2) - 0x1c0].d s< 0x3c) then 84 @ 0x12b5 else 85 @ 0x127e
0x12d1 82 eax = [rbp - 0x1c {var_24_1}].d
0x12d7 83 if (eax s>= [rbp - 8 {var_10}].d) then 88 @ 0x1311 else 92 @ 0x12dd
0x12b5 84 goto 96 @ 0x12ba
0x127e 85 rax = sx.q([rbp - 0x10 {var_18_1}].d)
0x1282 86 eax = [rbp + (rax << 2) - 0x1c0].d
0x128c 87 if (eax s<= [rbp - 0x20 {var_28_1}].d) then 84 @ 0x12b5 else 100 @ 0x1292
0x1311 88 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x1315 89 rax = sx.q([rbp + (rax << 2) - 0x350].d)
0x131d 90 [rbp + (rax << 2) - 0x1c0].d = 0
0x132c 91 if ([rbp - 0x24 {var_2c}].d == 0) then 108 @ 0x1394 else 112 @ 0x1332
0x12dd 92 rax = sx.q([rbp - 0x1c {var_24_1}].d)
0x12e1 93 eax = [rbp + (rax << 2) - 0x350].d
0x12e8 94 rcx = sx.q([rbp - 0xc {var_14_1}].d)
0x12f3 95 if (eax != [rbp + (rcx << 2) - 0x350].d) then 114 @ 0x12fe else 115 @ 0x12f9
0x12ba 96 eax = [rbp - 0x10 {var_18_1}].d
0x12bd 97 eax = eax + 1
0x12c0 98 [rbp - 0x10 {var_18_1}].d = eax
0x12c3 99 goto 58 @ 0x1260
0x1292 100 [rbp - 0x24 {var_2c}].d = 1
0x1299 101 rax = sx.q([rbp - 0x10 {var_18_1}].d)
0x129d 102 eax = [rbp + (rax << 2) - 0x1c0].d
0x12a4 103 [rbp - 0x20 {var_28_1}].d = eax
0x12a7 104 ecx = [rbp - 0x10 {var_18_1}].d
0x12aa 105 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x12ae 106 [rbp + (rax << 2) - 0x350].d = ecx
0x12ae 107 goto 84 @ 0x12b5
0x1394 108 eax = [rbp - 0xc {var_14_1}].d
0x1397 109 eax = eax + 1
0x139a 110 [rbp - 0xc {var_14_1}].d = eax
0x139d 111 goto 46 @ 0x1237
0x1332 112 eax = [rbp - 0x1c {var_24_1}].d
0x1338 113 if (eax == [rbp - 8 {var_10}].d) then 116 @ 0x138f else 117 @ 0x133e
0x12fe 114 goto 120 @ 0x1303
0x12f9 115 goto 88 @ 0x1311
0x138f 116 goto 108 @ 0x1394
0x133e 117 eax = [rbp - 0x1c {var_24_1}].d
0x1341 118 [rbp - 0x14 {var_1c_1}].d = eax
0x1341 119 goto 124 @ 0x1344
0x1303 120 eax = [rbp - 0x1c {var_24_1}].d
0x1306 121 eax = eax + 1
0x1309 122 [rbp - 0x1c {var_24_1}].d = eax
0x130c 123 goto 82 @ 0x12d1
0x1344 124 eax = [rbp - 0x14 {var_1c_1}].d
0x1347 125 ecx = [rbp - 0xc {var_14_1}].d
0x134a 126 ecx = ecx + 1
0x134f 127 if (eax s< ecx) then 128 @ 0x137d else 134 @ 0x1355
0x137d 128 ecx = [rbp - 0x18 {var_20_1}].d
0x1380 129 eax = [rbp - 0xc {var_14_1}].d
0x1383 130 eax = eax + 1
0x1386 131 rax = sx.q(eax)
0x1388 132 [rbp + (rax << 2) - 0x350].d = ecx
0x1388 133 goto 116 @ 0x138f
0x1355 134 eax = [rbp - 0x14 {var_1c_1}].d
0x1358 135 eax = eax - 1
0x135b 136 rax = sx.q(eax)
0x135d 137 ecx = [rbp + (rax << 2) - 0x350].d
0x1364 138 rax = sx.q([rbp - 0x14 {var_1c_1}].d)
0x1368 139 [rbp + (rax << 2) - 0x350].d = ecx
0x136f 140 eax = [rbp - 0x14 {var_1c_1}].d
0x1372 141 eax = eax - 1
0x1375 142 [rbp - 0x14 {var_1c_1}].d = eax
0x1378 143 goto 124 @ 0x1344
int64_t _fini():
0x13fc 0 rsp = rsp - 8
0x1400 1 rsp = rsp + 8
0x1404 2 <return> jump(pop)
| POJ_9 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
int32_t puts(char const* str):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"AWAVSH"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(r15)
0x1162 1 push(r14)
0x1164 2 push(rbx)
0x1165 3 rsp = rsp - 0x1a0
0x116c 4 rdi = 0x2004 {"%d"}
0x1173 5 rsi = rsp + 0xc {var_1ac}
0x1178 6 eax = 0
0x117a 7 call(0x1040)
0x117f 8 r11d = [rsp + 0xc {var_1ac}].d
0x1187 9 if (r11d s<= 0) then 10 @ 0x1230 else 12 @ 0x118d
0x1230 10 r11d = r11d + r11d
0x1230 11 goto 16 @ 0x1233
0x118d 12 r15 = rsp + 0x10 {var_1a8}
0x1192 13 r14 = 0x2004 {"%d"}
0x1199 14 ebx = 0
0x119b 15 goto 19 @ 0x11a0
0x1233 16 esi = [rsp + 0x10 {var_1a8}].d
0x1237 17 edx = [rsp + 0x14 {var_1a4}].d
0x123f 18 if (r11d s< 3) then 29 @ 0x1268 else 33 @ 0x1241
0x11a0 19 rdi = r14
0x11a3 20 rsi = r15
0x11a6 21 eax = 0
0x11a8 22 call(0x1040)
0x11ad 23 rbx = rbx + 1
0x11b1 24 r9d = [rsp + 0xc {var_1ac}].d
0x11b6 25 r11 = sx.q(r9d)
0x11b9 26 r11 = r11 + r11
0x11bc 27 r15 = r15 + 4
0x11c3 28 if (rbx s< r11) then 19 @ 0x11a0 else 36 @ 0x11c8
0x1268 29 rdi = 0x2007 {"%d %d\n"}
0x126f 30 eax = 0
0x1271 31 call(0x1030)
0x1276 32 goto 37 @ 0x1284
0x1241 33 r11d = r11d - 2
0x1245 34 ecx = 0
0x1247 35 goto 43 @ 0x1254
0x11c8 36 if (r9d s<= 0) then 16 @ 0x1233 else 44 @ 0x11ca
0x1284 37 eax = 0
0x1286 38 rsp = rsp + 0x1a0
0x128d 39 rbx = pop
0x128e 40 r14 = pop
0x1290 41 r15 = pop
0x1292 42 <return> jump(pop)
0x1254 43 if ([rsp + (rcx << 2) + 0x18].d s> edx) then 47 @ 0x1278 else 50 @ 0x1256
0x11ca 44 r8 = r9 + 1
0x11ce 45 r10d = 1
0x11d4 46 goto 53 @ 0x11e9
0x1278 47 rdi = 0x200e {"no"}
0x127f 48 call(0x1050)
0x127f 49 goto 37 @ 0x1284
0x1256 50 eax = [rsp + (rcx << 2) + 0x1c].d
0x125a 51 rcx = rcx + 2
0x1260 52 if (eax s>= edx) then 57 else 59 @ 0x1266
0x11e9 53 rcx = r9
0x11ec 54 temp0.q = rcx
0x11ec 55 rcx = rcx - r10
0x11ef 56 if (temp0.q s<= r10) then 60 @ 0x11e0 else 62 @ 0x11f1
0x1260 57 edx = eax
0x1260 58 goto 59 @ 0x1266
0x1266 59 if (rcx u< r11) then 43 @ 0x1254 else 29 @ 0x1268
0x11e0 60 r10 = r10 + 1
0x11e7 61 if (r10 == r8) then 16 @ 0x1233 else 53 @ 0x11e9
0x11f1 62 ecx = ecx + ecx
0x11f3 63 rdi = sx.q(ecx)
0x11f6 64 esi = [rsp + 0x10 {var_1a8}].d
0x11fa 65 edx = 0
0x11fc 66 goto 67 @ 0x1220
0x1220 67 rcx = rdx + 2
0x1224 68 ebx = [rsp + (rdx << 2) + 0x18].d
0x122a 69 if (esi s> ebx) then 70 @ 0x1200 else 77 @ 0x122c
0x1200 70 [rsp + (rdx << 2) + 0x10].d = ebx
0x1204 71 [rsp + (rdx << 2) + 0x18].d = esi
0x1208 72 ebx = [rsp + (rdx << 2) + 0x14].d
0x120c 73 eax = [rsp + (rdx << 2) + 0x1c].d
0x1210 74 [rsp + (rdx << 2) + 0x14].d = eax
0x1214 75 [rsp + (rdx << 2) + 0x1c].d = ebx
0x1214 76 goto 79 @ 0x1218
0x122c 77 esi = ebx
0x122e 78 goto 79 @ 0x1218
0x1218 79 rdx = rcx
0x121e 80 if (rcx s>= rdi) then 60 @ 0x11e0 else 67 @ 0x1220
int64_t _fini():
0x1298 0 rsp = rsp - 8
0x129c 1 rsp = rsp + 8
0x12a0 2 <return> jump(pop)
| POJ_76 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
char* gets(char* buf):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"AWAVSH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(r15)
0x1152 1 push(r14)
0x1154 2 push(rbx)
0x1155 3 rsp = rsp - 0x480
0x115c 4 ebx = 0
0x115e 5 rdi = rsp + 0x90 {var_408}
0x1166 6 eax = 0
0x1168 7 call(0x1040)
0x116d 8 r9b = [rsp + 0x90 {var_408}].b
0x1178 9 if (r9b == 0) then 10 @ 0x125d else 14 @ 0x117e
0x125d 10 rdi = 0x2004 {"No"}
0x1264 11 eax = 0
0x1266 12 call(0x1030)
0x1266 13 goto 17 @ 0x126b
0x117e 14 cl = 0x61 {""}
0x1180 15 r8 = rsp + 0x91 {var_407}
0x1188 16 goto 22 @ 0x119b
0x126b 17 rsp = rsp + 0x480
0x1272 18 rbx = pop
0x1273 19 r14 = pop
0x1275 20 r15 = pop
0x1277 21 <return> jump(pop)
0x119b 22 edi = 0
0x119d 23 eax = 0
0x119f 24 edx = r9d
0x11ac 25 goto 26 @ 0x11b2
0x11b2 26 if (dl == cl) then 27 @ 0x11d0 else 33 @ 0x11b4
0x11d0 27 rsi = sx.q(ebx)
0x11d3 28 [rsp + rsi].b = cl
0x11d6 29 [rsp + (rsi << 2) + 0x20].d = 0
0x11de 30 eax = eax
0x11e0 31 al = [rsp + rax + 0x90].b
0x11e9 32 if (al == 0) then 37 @ 0x1190 else 39 @ 0x11eb
0x11b4 33 edx = zx.d([rsp + rax + 0x91].b)
0x11bc 34 rax = rax + 1
0x11c0 35 edi = edi + 1
0x11c5 36 if (dl != 0) then 26 @ 0x11b2 else 43 @ 0x11c7
0x1190 37 ebx = ebx + 1
0x1190 38 goto 44 @ 0x1193
0x11eb 39 edi = edi
0x11ed 40 rdi = rdi + r8
0x11f0 41 edx = 0
0x11f2 42 goto 46 @ 0x120d
0x11c7 43 goto 44 @ 0x1193
0x1193 44 cl = cl + 1
0x1199 45 if (cl == 0x7b) then 47 @ 0x1218 else 22 @ 0x119b
0x120d 46 if (al != cl) then 50 @ 0x1200 else 53 @ 0x120f
0x1218 47 temp0.d = ebx
0x1218 48 cond:0 = temp0.d s<= 0
0x121a 49 if (temp0.d == 0) then 10 @ 0x125d else 56 @ 0x121c
0x1200 50 eax = zx.d([rdi].b)
0x1203 51 rdi = rdi + 1
0x1209 52 if (al == 0) then 37 @ 0x1190 else 46 @ 0x120d
0x120f 53 edx = edx + 1
0x1212 54 [rsp + (rsi << 2) + 0x20].d = edx
0x1216 55 goto 50 @ 0x1200
0x121c 56 rax = sx.q(ebx)
0x121f 57 [rsp + rax].b = 0
0x1223 58 if (cond:0) then 17 @ 0x126b else 59 @ 0x1225
0x1225 59 r15d = ebx
0x1228 60 r14 = 0x2007 {"%c=%d\n"}
0x122f 61 ebx = 0
0x123b 62 goto 63 @ 0x1240
0x1240 63 esi = sx.d([rsp + rbx].b)
0x1244 64 edx = [rsp + (rbx << 2) + 0x20].d
0x1248 65 rdi = r14
0x124b 66 eax = 0
0x124d 67 call(0x1030)
0x1252 68 rbx = rbx + 1
0x1259 69 if (r15 != rbx) then 63 @ 0x1240 else 70 @ 0x125b
0x125b 70 goto 17 @ 0x126b
int64_t _fini():
0x127c 0 rsp = rsp - 8
0x1280 1 rsp = rsp + 8
0x1284 2 <return> jump(pop)
| POJ_100 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UAWAVAUATSH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 push(r15)
0x1153 2 push(r14)
0x1155 3 push(r13)
0x1157 4 push(r12)
0x1159 5 push(rbx)
0x115a 6 rsp = rsp - 0xfb8
0x1161 7 rdi = 0x2013 {"%d"}
0x1168 8 ebx = 0
0x116a 9 rsi = rsp + 0xc {var_fdc}
0x116f 10 eax = 0
0x1171 11 call(0x1040)
0x1176 12 ecx = [rsp + 0xc {var_fdc}].d
0x117c 13 if (ecx s<= 0) then 14 @ 0x1247 else 17 @ 0x1182
0x1247 14 edx = [rsp + 0x34 {var_fb4}].d
0x124b 15 eax = (rcx - 1).d
0x1251 16 if (ecx s< 2) then 20 @ 0x1288 else 21 @ 0x1253
0x1182 17 rbx = rsp + 0x24 {var_fc4}
0x1187 18 r14d = 0
0x118a 19 goto 27 @ 0x11a6
0x1288 20 if (ecx s<= 0) then 43 @ 0x12cb else 51 @ 0x128a
0x1253 21 esi = eax
0x1255 22 rsi = rsi << 3
0x1259 23 rsi = rsi + (rsi << 2)
0x125d 24 edi = 0
0x125f 25 ebx = 0
0x126b 26 goto 54 @ 0x1270
0x11a6 27 rsi = rbx - 0x14
0x11aa 28 rbp = rbx + 4
0x11ae 29 r12 = rbx + 8
0x11b2 30 r13 = rbx + 9
0x11b6 31 r15 = rbx + 0xc
0x11ba 32 [rsp {var_fe8_1}].q = r15
0x11be 33 rdi = 0x2004 {"%s %d %d %c %c %d"}
0x11c5 34 rdx = rbx
0x11c8 35 rcx = rbp
0x11cb 36 r8 = r12
0x11ce 37 r9 = r13
0x11d1 38 eax = 0
0x11d3 39 call(0x1040)
0x11d8 40 [rbx + 0x10].d = 0
0x11df 41 eax = [rbx].d
0x11e4 42 if (eax s< 0x51) then 57 @ 0x11f6 else 58 @ 0x11ea
0x12cb 43 rsp = rsp + 0xfb8
0x12d2 44 rbx = pop
0x12d3 45 r12 = pop
0x12d5 46 r13 = pop
0x12d7 47 r14 = pop
0x12d9 48 r15 = pop
0x12db 49 rbp = pop
0x12dc 50 <return> jump(pop)
0x128a 51 ecx = ecx
0x128c 52 rsi = rsp + 0x10 {var_fd8}
0x129b 53 goto 59 @ 0x12a3
0x1270 54 ebx = ebx + [rsp + rdi + 0x34].d
0x1274 55 ebp = [rsp + rdi + 0x5c].d
0x127a 56 if (ebp s> edx) then 60 else 62 @ 0x127d
0x11f6 57 if (eax s< 0x56) then 64 @ 0x1208 else 65 @ 0x11fc
0x11ea 58 if ([r15].d s<= 0) then 57 @ 0x11f6 else 66 @ 0x11ec
0x12a3 59 if ([rsi + 0x24].d == edx) then 68 @ 0x12b1 else 76 @ 0x12a5
0x127a 60 edx = ebp
0x127a 61 goto 62 @ 0x127d
0x127d 62 rdi = rdi + 0x28
0x1284 63 if (rsi != rdi) then 54 @ 0x1270 else 20 @ 0x1288
0x1208 64 if (eax s< 0x5b) then 80 @ 0x1214 else 81 @ 0x120a
0x11fc 65 if ([rbp].d s< 0x51) then 64 @ 0x1208 else 83 @ 0x11fe
0x11ec 66 [rbx + 0x10].d = 0x1f40 {""}
0x11ec 67 goto 57 @ 0x11f6
0x12b1 68 rax = sx.q(eax)
0x12b3 69 rax = rax + (rax << 2)
0x12b7 70 ebx = ebx + [rsp + (rax << 3) + 0x34].d
0x12bb 71 rdi = 0x2016 {"%s\n%d\n%d\n"}
0x12c2 72 ecx = ebx
0x12c4 73 eax = 0
0x12c6 74 call(0x1030)
0x12c6 75 goto 43 @ 0x12cb
0x12a5 76 rsi = rsi + 0x28
0x12a9 77 temp0.q = rcx
0x12a9 78 rcx = rcx - 1
0x12ad 79 if (temp0.q != 1) then 59 @ 0x12a3 else 85 @ 0x12af
0x1214 80 if (eax s< 0x56) then 86 @ 0x1228 else 87 @ 0x121b
0x120a 81 [rbx + 0x10].d = [rbx + 0x10].d + 0x7d0
0x120a 82 goto 80 @ 0x1214
0x11fe 83 [rbx + 0x10].d = [rbx + 0x10].d + 0xfa0
0x11fe 84 goto 64 @ 0x1208
0x12af 85 goto 43 @ 0x12cb
0x1228 86 if ([rbp].d s< 0x51) then 88 @ 0x1190 else 92 @ 0x1233
0x121b 87 if ([r13].b != 0x59) then 86 @ 0x1228 else 93 @ 0x121d
0x1190 88 r14 = r14 + 1
0x1194 89 rcx = sx.q([rsp + 0xc {var_fdc}].d)
0x1199 90 rbx = rbx + 0x28
0x11a0 91 if (r14 s>= rcx) then 95 @ 0x1245 else 27 @ 0x11a6
0x1233 92 if ([r12].b != 0x59) then 88 @ 0x1190 else 97 @ 0x1239
0x121d 93 [rbx + 0x10].d = [rbx + 0x10].d + 0x3e8
0x121d 94 goto 86 @ 0x1228
0x1245 95 ebx = 0
0x1245 96 goto 14 @ 0x1247
0x1239 97 [rbx + 0x10].d = [rbx + 0x10].d + 0x352
0x1240 98 goto 88 @ 0x1190
int64_t _fini():
0x12e4 0 rsp = rsp - 8
0x12e8 1 rsp = rsp + 8
0x12ec 2 <return> jump(pop)
| POJ_39 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
char* strcpy(char* arg1, char const* arg2):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UAWAVAUATSH"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 push(r15)
0x1163 2 push(r14)
0x1165 3 push(r13)
0x1167 4 push(r12)
0x1169 5 push(rbx)
0x116a 6 rsp = rsp - 0x1188
0x1171 7 rdi = 0x200e {"%d"}
0x1178 8 r14d = 0
0x117b 9 rsi = rsp + 0x14 {var_11a4}
0x1180 10 eax = 0
0x1182 11 call(0x1050)
0x118c 12 if ([rsp + 0x14 {var_11a4}].d s<= 0) then 13 @ 0x147f else 28 @ 0x1192
0x147f 13 edx = [0x4050].d
0x1485 14 rdi = 0x2011 {"%s\n%d\n%d\n"}
0x148c 15 rsi = rsp + 0x5d0 {var_be8}
0x1494 16 ecx = r14d
0x1497 17 eax = 0
0x1499 18 call(0x1030)
0x149e 19 eax = 0
0x14a0 20 rsp = rsp + 0x1188
0x14a7 21 rbx = pop
0x14a8 22 r12 = pop
0x14aa 23 r13 = pop
0x14ac 24 r14 = pop
0x14ae 25 r15 = pop
0x14b0 26 rbp = pop
0x14b1 27 <return> jump(pop)
0x1192 28 r14 = rsp + 0x40 {var_1178}
0x1197 29 rbx = rsp + 0xb0 {var_1108}
0x119f 30 r15 = rsp + 0x5d0 {var_be8}
0x11a7 31 ebp = 0
0x11a9 32 r12d = 0
0x11ac 33 goto 34 @ 0x11d2
0x11d2 34 rdx = rsp + rbp
0x11d6 35 rdx = rdx + 0x120
0x11dd 36 r13 = rsp + rbp + 0x440
0x11e5 37 rax = rsp + rbp + 0x2b0
0x11ed 38 [rsp + 0x18 {var_11a0_1}].q = rax
0x11f2 39 [rsp {var_11b8}].q = rax
0x11f6 40 rdi = 0x2004 {"%s%d%d%s%s%d"}
0x11fd 41 rsi = r15
0x1200 42 rcx = r13
0x1203 43 r8 = rbx
0x1206 44 r9 = r14
0x1209 45 eax = 0
0x120b 46 call(0x1050)
0x1210 47 eax = [rsp + rbp + 0x120].d
0x121a 48 if (eax s< 0x51) then 49 @ 0x1265 else 50 @ 0x121c
0x1265 49 if ([r13].d s< 0x51) then 52 @ 0x11b0 else 59 @ 0x126e
0x121c 50 rcx = [rsp + 0x18 {var_11a0_1}].q
0x1224 51 if ([rcx].d == 0) then 60 @ 0x1238 else 61 @ 0x1226
0x11b0 52 r12 = r12 + 1
0x11b4 53 rax = sx.q([rsp + 0x14 {var_11a4}].d)
0x11b9 54 rbp = rbp + 4
0x11bd 55 r14 = r14 + 1
0x11c1 56 rbx = rbx + 1
0x11c5 57 r15 = r15 + 0x1e
0x11cc 58 if (r12 s>= rax) then 64 @ 0x12b3 else 34 @ 0x11d2
0x126e 59 if ([rbx].b != 0x59) then 52 @ 0x11b0 else 66 @ 0x1274
0x1238 60 if (eax u< 0x56) then 49 @ 0x1265 else 69 @ 0x123f
0x1226 61 rcx = 0x4050 {""}
0x122d 62 [rbp + rcx].d = [rbp + rcx].d + 0x1f40
0x122d 63 goto 60 @ 0x1238
0x12b3 64 r13d = eax
0x12b9 65 if (r13d s<= 0) then 70 @ 0x12d2 else 72 @ 0x12bf
0x1274 66 rax = 0x4050 {""}
0x127b 67 [rbp + rax].d = [rbp + rax].d + 0x352
0x1283 68 goto 52 @ 0x11b0
0x123f 69 if ([r13].d s>= 0x51) then 73 @ 0x1288 else 76 @ 0x1244
0x12d2 70 r14d = 0
0x12d5 71 goto 13 @ 0x147f
0x12bf 72 if (r13d u>= 8) then 77 @ 0x12da else 88 @ 0x12c1
0x1288 73 rcx = 0x4050 {""}
0x128f 74 [rbp + rcx].d = [rbp + rcx].d + 0xfa0
0x129a 75 if (eax u< 0x5b) then 92 @ 0x124a else 93 @ 0x129c
0x1244 76 if (eax u>= 0x5b) then 93 @ 0x129c else 92 @ 0x124a
0x12da 77 eax = r13d
0x12dd 78 eax = eax & 0xfffffff8
0x12e0 79 rdx = rax - 8
0x12e4 80 rsi = rdx
0x12e7 81 rsi = rsi u>> 3
0x12eb 82 rsi = rsi + 1
0x12ef 83 ecx = esi
0x12f1 84 ecx = ecx & 3
0x12f4 85 cond:0 = rdx u>= 0x18
0x12f8 86 r15 = 0x4050 {""}
0x12ff 87 if (cond:0) then 96 @ 0x130d else 101 @ 0x1301
0x12c1 88 eax = 0
0x12c3 89 r14d = 0
0x12c6 90 r15 = 0x4050 {""}
0x12cd 91 goto 105 @ 0x13b4
0x124a 92 if ([r14].b != 0x59) then 49 @ 0x1265 else 110 @ 0x124c
0x129c 93 rax = 0x4050 {""}
0x12a3 94 [rbp + rax].d = [rbp + rax].d + 0x7d0
0x12af 95 if ([r14].b == 0x59) then 110 @ 0x124c else 113 @ 0x12b1
0x130d 96 rsi = rsi & 0xfffffffffffffffc
0x1311 97 xmm0 = 0
0x1315 98 edx = 0
0x1317 99 xmm1 = 0
0x131b 100 goto 114 @ 0x1320
0x1301 101 xmm0 = 0
0x1305 102 edx = 0
0x1307 103 xmm1 = 0
0x130b 104 goto 126 @ 0x1364
0x13b4 105 rcx = r15 + (rax << 2)
0x13b8 106 rdx = r13
0x13bb 107 rdx = rdx - rax
0x13be 108 eax = 0
0x13be 109 goto 127 @ 0x13c0
0x124c 110 rax = 0x4050 {""}
0x1253 111 [rbp + rax].d = [rbp + rax].d + 0x3e8
0x125b 112 goto 49 @ 0x1265
0x12b1 113 goto 49 @ 0x1265
0x1320 114 xmm0 = __paddd_xmmdq_memdq(xmm0, [r15 + (rdx << 2)].o)
0x1326 115 xmm1 = __paddd_xmmdq_memdq(xmm1, [r15 + (rdx << 2) + 0x10].o)
0x132d 116 xmm0 = __paddd_xmmdq_memdq(xmm0, [r15 + (rdx << 2) + 0x20].o)
0x1334 117 xmm1 = __paddd_xmmdq_memdq(xmm1, [r15 + (rdx << 2) + 0x30].o)
0x133b 118 xmm0 = __paddd_xmmdq_memdq(xmm0, [r15 + (rdx << 2) + 0x40].o)
0x1342 119 xmm1 = __paddd_xmmdq_memdq(xmm1, [r15 + (rdx << 2) + 0x50].o)
0x1349 120 xmm0 = __paddd_xmmdq_memdq(xmm0, [r15 + (rdx << 2) + 0x60].o)
0x1350 121 xmm1 = __paddd_xmmdq_memdq(xmm1, [r15 + (rdx << 2) + 0x70].o)
0x1357 122 rdx = rdx + 0x20
0x135b 123 temp0.q = rsi
0x135b 124 rsi = rsi - 4
0x135f 125 if (temp0.q != 4) then 114 @ 0x1320 else 126 @ 0x1364
0x1364 126 if (rcx == 0) then 130 @ 0x1394 else 137 @ 0x1366
0x13c0 127 r14d = r14d + [rcx + (rax << 2)].d
0x13c4 128 rax = rax + 1
0x13cb 129 if (rdx != rax) then 127 @ 0x13c0 else 142 @ 0x13d1
0x1394 130 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x1398 131 xmm1 = _mm_shuffle_epi32(xmm0, 0xee)
0x139d 132 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x13a1 133 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x13a6 134 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x13aa 135 r14d = xmm0.d
0x13b2 136 if (rax == r13) then 142 @ 0x13d1 else 105 @ 0x13b4
0x1366 137 rdx = r15 + (rdx << 2)
0x136a 138 rdx = rdx + 0x10
0x136e 139 rcx = rcx << 5
0x1372 140 esi = 0
0x137e 141 goto 143 @ 0x1380
0x13d1 142 if (r13d s< 2) then 13 @ 0x147f else 147 @ 0x13d7
0x1380 143 xmm0 = __paddd_xmmdq_memdq(xmm0, [rdx + rsi - 0x10].o)
0x1386 144 xmm1 = __paddd_xmmdq_memdq(xmm1, [rdx + rsi].o)
0x138b 145 rsi = rsi + 0x20
0x1392 146 if (rcx != rsi) then 143 @ 0x1380 else 130 @ 0x1394
0x13d7 147 ebp = 0xfffffffe {""}
0x13dc 148 rbp = rbp + r13
0x13df 149 r13 = r13 - 1
0x13e3 150 goto 151 @ 0x1405
0x1405 151 eax = r13d
0x1408 152 ecx = [r15 + (rax << 2)].d
0x140c 153 ebx = ebp
0x140e 154 edx = [r15 + (rbx << 2)].d
0x1414 155 if (ecx s<= edx) then 156 @ 0x13f0 else 162 @ 0x1416
0x13f0 156 rbp = rbp - 1
0x13f4 157 rax = r13 - 1
0x13f8 158 r13 = r13 + 1
0x13fc 159 cond:1 = r13 u<= 2
0x1400 160 r13 = rax
0x1403 161 if (cond:1) then 13 @ 0x147f else 151 @ 0x1405
0x1416 162 [r15 + (rax << 2)].d = edx
0x141a 163 [r15 + (rbx << 2)].d = ecx
0x141e 164 rcx = rax
0x1421 165 rcx = rcx << 5
0x1425 166 rcx = rcx - rax
0x1428 167 rcx = rcx - rax
0x142b 168 r15 = rsp + rcx
0x142f 169 r15 = r15 + 0x5d0
0x1436 170 rdi = rsp + 0x20 {var_1198}
0x143b 171 rsi = r15
0x143e 172 call(0x1040)
0x1443 173 rax = rbx
0x1446 174 rax = rax << 5
0x144a 175 rax = rax - rbx
0x144d 176 rax = rax - rbx
0x1450 177 r12 = rsp + rax
0x1454 178 r12 = r12 + 0x5d0
0x145b 179 rdi = r15
0x145e 180 r15 = 0x4050 {""}
0x1465 181 rsi = r12
0x1468 182 call(0x1040)
0x146d 183 rdi = r12
0x1470 184 rsi = rsp + 0x20 {var_1198}
0x1475 185 call(0x1040)
0x147a 186 goto 156 @ 0x13f0
int64_t _fini():
0x14b8 0 rsp = rsp - 8
0x14bc 1 rsp = rsp + 8
0x14c0 2 <return> jump(pop)
| POJ_39 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
char* gets(char* buf):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"AWAVAUATSH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(r15)
0x1152 1 push(r14)
0x1154 2 push(r13)
0x1156 3 push(r12)
0x1158 4 push(rbx)
0x1159 5 rsp = rsp - 0xb0
0x1160 6 rdi = rsp {var_d8}
0x1163 7 eax = 0
0x1165 8 call(0x1040)
0x116a 9 al = [rsp {var_d8}].b
0x116f 10 if (al != 0x2d) then 11 @ 0x117c else 16 @ 0x1176
0x117c 11 r15 = rsp + 1 {var_d7}
0x1181 12 r14 = 0x2004 {"%d\n"}
0x1188 13 r13 = rsp {var_d8}
0x118b 14 r12 = rsp + 0x70 {var_68}
0x118b 15 goto 17 @ 0x1190
0x1176 16 if ([rsp + 1 {var_d7}].b == 0x31) then 19 @ 0x128a else 11 @ 0x117c
0x1190 17 esi = 0
0x1197 18 if (al == 0x30) then 27 @ 0x1260 else 35 @ 0x119d
0x128a 19 eax = 0
0x128c 20 rsp = rsp + 0xb0
0x1293 21 rbx = pop
0x1294 22 r12 = pop
0x1296 23 r13 = pop
0x1298 24 r14 = pop
0x129a 25 r15 = pop
0x129c 26 <return> jump(pop)
0x1260 27 rdi = r14
0x1263 28 eax = 0
0x1265 29 call(0x1030)
0x126a 30 rdi = r13 {var_d8}
0x126d 31 eax = 0
0x126f 32 call(0x1040)
0x1274 33 al = [rsp {var_d8}].b
0x1279 34 if (al != 0x2d) then 17 @ 0x1190 else 39 @ 0x1284
0x119d 35 ecx = 0
0x119f 36 rdx = r15 {var_d7}
0x11a2 37 esi = 0
0x11a4 38 goto 40 @ 0x11c7
0x1284 39 if ([rsp + 1 {var_d7}].b != 0x31) then 17 @ 0x1190 else 19 @ 0x128a
0x11c7 40 edi = (rax - 0x31).d
0x11ce 41 if (dil u> 8) then 42 @ 0x11b0 else 47 @ 0x11d0
0x11b0 42 rcx = sx.q(ecx)
0x11b3 43 [rsp + (rcx << 2) + 0x70].d = esi
0x11b7 44 ecx = ecx + 1
0x11ba 45 esi = 0
0x11ba 46 goto 52 @ 0x11bc
0x11d0 47 eax = zx.d(al)
0x11d3 48 esi = (rsi + (rsi << 2)).d
0x11d6 49 esi = (rax + (rsi << 1)).d
0x11d9 50 esi = esi - 0x30
0x11dc 51 goto 52 @ 0x11bc
0x11bc 52 eax = zx.d([rdx].b)
0x11bf 53 rdx = rdx + 1
0x11c5 54 if (al == 0x30) then 55 @ 0x11e2 else 40 @ 0x11c7
0x11e2 55 if (ecx s<= 0) then 56 @ 0x125e else 58 @ 0x11e4
0x125e 56 esi = 0
0x125e 57 goto 27 @ 0x1260
0x11e4 58 r8d = ecx
0x11e7 59 r10d = 0
0x11ea 60 r9 = r8
0x11ed 61 r11 = r12 {var_68}
0x11f0 62 esi = 0
0x11f2 63 goto 64 @ 0x120d
0x120d 64 rax = r10
0x1210 65 r10 = r10 + 1
0x1217 66 if (r10 u>= r8) then 67 @ 0x1200 else 70 @ 0x1219
0x1200 67 r11 = r11 + 4
0x1204 68 r9 = r9 - 1
0x120b 69 if (r10 == r8) then 27 @ 0x1260 else 64 @ 0x120d
0x1219 70 ecx = [rsp + (rax << 2) + 0x70].d
0x121d 71 ebx = 1
0x1222 72 goto 73 @ 0x123c
0x123c 73 edi = [r11 + (rbx << 2)].d
0x1240 74 eax = ecx
0x1242 75 temp2.d:temp3.d = sx.q(eax)
0x1242 76 edx = temp2.d
0x1242 77 eax = temp3.d
0x1243 78 temp4.d = edx
0x1243 79 temp5.d = eax
0x1243 80 temp0.d = divs.dp.d(temp4.d:temp5.d, edi)
0x1243 81 temp6.d = edx
0x1243 82 temp7.d = eax
0x1243 83 temp1.d = mods.dp.d(temp6.d:temp7.d, edi)
0x1243 84 eax = temp0.d
0x1243 85 edx = temp1.d
0x1248 86 if (eax != 2) then 87 @ 0x124e else 100 @ 0x124c
0x124e 87 eax = edi
0x1250 88 temp8.d:temp9.d = sx.q(eax)
0x1250 89 edx = temp8.d
0x1250 90 eax = temp9.d
0x1251 91 temp10.d = edx
0x1251 92 temp11.d = eax
0x1251 93 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx)
0x1251 94 temp12.d = edx
0x1251 95 temp13.d = eax
0x1251 96 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx)
0x1251 97 eax = temp0.d
0x1251 98 edx = temp1.d
0x1256 99 if (eax != 2) then 101 @ 0x1233 else 103 @ 0x125a
0x124c 100 if (edx == 0) then 104 @ 0x1230 else 87 @ 0x124e
0x1233 101 rbx = rbx + 1
0x123a 102 if (r9 == rbx) then 67 @ 0x1200 else 73 @ 0x123c
0x125a 103 if (edx == 0) then 104 @ 0x1230 else 106 @ 0x125c
0x1230 104 esi = esi + 1
0x1230 105 goto 101 @ 0x1233
0x125c 106 goto 101 @ 0x1233
int64_t _fini():
0x12a4 0 rsp = rsp - 8
0x12a8 1 rsp = rsp + 8
0x12ac 2 <return> jump(pop)
| POJ_12 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
uint64_t strlen(char const* arg1):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UHHp"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 rbp = rsp {__saved_rbp}
0x1164 2 rsp = rsp - 0x370
0x116b 3 [rbp - 4 {var_c}].d = 0
0x1172 4 rsi = rbp - 0x170 {var_178}
0x1179 5 rdi = 0x2004 {"%s"}
0x1180 6 al = 0
0x1182 7 call(0x1050)
0x1187 8 rdi = rbp - 0x170 {var_178}
0x118e 9 call(0x1040)
0x1193 10 [rbp - 0x17c {var_184}].d = eax
0x1199 11 [rbp - 0x174 {var_17c}].d = 0
0x1199 12 goto 13 @ 0x11aa
0x11aa 13 if ([rbp - 0x174 {var_17c}].d s>= 0x7b) then 14 @ 0x11d6 else 16 @ 0x11b0
0x11d6 14 [rbp - 0x174 {var_17c_1}].d = 0
0x11d6 15 goto 22 @ 0x11e0
0x11b0 16 rax = sx.q([rbp - 0x174 {var_17c}].d)
0x11b7 17 [rbp + (rax << 2) - 0x370].d = 0
0x11c2 18 eax = [rbp - 0x174 {var_17c}].d
0x11c8 19 eax = eax + 1
0x11cb 20 [rbp - 0x174 {var_17c}].d = eax
0x11d1 21 goto 13 @ 0x11aa
0x11e0 22 eax = [rbp - 0x174 {var_17c_1}].d
0x11ec 23 if (eax s>= [rbp - 0x17c {var_184}].d) then 24 @ 0x125c else 27 @ 0x11f2
0x125c 24 [rbp - 0x178 {var_180}].d = 1
0x1266 25 [rbp - 0x174 {var_17c_2}].d = 0x41 {""}
0x1266 26 goto 30 @ 0x1277
0x11f2 27 rax = sx.q([rbp - 0x174 {var_17c_1}].d)
0x11f9 28 eax = sx.d([rbp + rax - 0x170].b)
0x1204 29 if (eax s<= 0x40) then 31 @ 0x1243 else 32 @ 0x120a
0x1277 30 if ([rbp - 0x174 {var_17c_2}].d s> 0x5a) then 35 @ 0x12d7 else 37 @ 0x127d
0x1243 31 goto 39 @ 0x1248
0x120a 32 rax = sx.q([rbp - 0x174 {var_17c_1}].d)
0x1211 33 eax = sx.d([rbp + rax - 0x170].b)
0x121c 34 if (eax s>= 0x7b) then 31 @ 0x1243 else 43 @ 0x1222
0x12d7 35 [rbp - 0x174 {var_17c_3}].d = 0x61 {""}
0x12d7 36 goto 49 @ 0x12e8
0x127d 37 rax = sx.q([rbp - 0x174 {var_17c_2}].d)
0x128c 38 if ([rbp + (rax << 2) - 0x370].d s<= 0) then 50 @ 0x12be else 51 @ 0x1292
0x1248 39 eax = [rbp - 0x174 {var_17c_1}].d
0x124e 40 eax = eax + 1
0x1251 41 [rbp - 0x174 {var_17c_1}].d = eax
0x1257 42 goto 22 @ 0x11e0
0x1222 43 rax = sx.q([rbp - 0x174 {var_17c_1}].d)
0x1229 44 rax = sx.q([rbp + rax - 0x170].b)
0x1232 45 ecx = [rbp + (rax << 2) - 0x370].d
0x1239 46 ecx = ecx + 1
0x123c 47 [rbp + (rax << 2) - 0x370].d = ecx
0x123c 48 goto 31 @ 0x1243
0x12e8 49 if ([rbp - 0x174 {var_17c_3}].d s> 0x7a) then 59 @ 0x134f else 60 @ 0x12ee
0x12be 50 goto 62 @ 0x12c3
0x1292 51 esi = [rbp - 0x174 {var_17c_2}].d
0x1298 52 rax = sx.q([rbp - 0x174 {var_17c_2}].d)
0x129f 53 edx = [rbp + (rax << 2) - 0x370].d
0x12a6 54 rdi = 0x2007 {"%c=%d\n"}
0x12ad 55 al = 0
0x12af 56 call(0x1030)
0x12b4 57 [rbp - 0x178 {var_180}].d = 0
0x12b4 58 goto 50 @ 0x12be
0x134f 59 if ([rbp - 0x178 {var_180}].d == 0) then 66 @ 0x1363 else 70 @ 0x1355
0x12ee 60 rax = sx.q([rbp - 0x174 {var_17c_3}].d)
0x12fd 61 if ([rbp + (rax << 2) - 0x370].d s<= 0) then 74 @ 0x132f else 75 @ 0x1303
0x12c3 62 eax = [rbp - 0x174 {var_17c_2}].d
0x12c9 63 eax = eax + 1
0x12cc 64 [rbp - 0x174 {var_17c_2}].d = eax
0x12d2 65 goto 30 @ 0x1277
0x1363 66 eax = 0
0x1365 67 rsp = rsp + 0x370
0x136c 68 rbp = pop
0x136d 69 <return> jump(pop)
0x1355 70 rdi = 0x200e {"No"}
0x135c 71 al = 0
0x135e 72 call(0x1030)
0x135e 73 goto 66 @ 0x1363
0x132f 74 goto 83 @ 0x1334
0x1303 75 esi = [rbp - 0x174 {var_17c_3}].d
0x1309 76 rax = sx.q([rbp - 0x174 {var_17c_3}].d)
0x1310 77 edx = [rbp + (rax << 2) - 0x370].d
0x1317 78 rdi = 0x2007 {"%c=%d\n"}
0x131e 79 al = 0
0x1320 80 call(0x1030)
0x1325 81 [rbp - 0x178 {var_180}].d = 0
0x1325 82 goto 74 @ 0x132f
0x1334 83 eax = [rbp - 0x174 {var_17c_3}].d
0x133a 84 eax = eax + 1
0x133d 85 [rbp - 0x174 {var_17c_3}].d = eax
0x1343 86 goto 49 @ 0x12e8
int64_t _fini():
0x1374 0 rsp = rsp - 8
0x1378 1 rsp = rsp + 8
0x137c 2 <return> jump(pop)
| POJ_100 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t toupper(int32_t c):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
uint64_t strlen(char const* arg1):
0x1040 0 <return> tailcall([0x4020].q)
char* gets(char* buf):
0x1050 0 <return> tailcall([0x4028].q)
int32_t strcmp(char const* arg1, char const* arg2):
0x1060 0 <return> tailcall([0x4030].q)
int32_t putchar(int32_t c):
0x1070 0 <return> tailcall([0x4038].q)
void __cxa_finalize(void* d):
0x1080 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1094 0 ebp = 0
0x1096 1 r9 = rdx
0x1099 2 rsi = pop
0x109a 3 rdx = rsp {arg_8}
0x109d 4 rsp = rsp & 0xfffffffffffffff0
0x10a1 5 push(rax)
0x10a2 6 push(rsp)
0x10a3 7 r8d = 0
0x10a6 8 ecx = 0
0x10a8 9 rdi = 0x1180 {"AWAVSH"}
0x10af 10 call([0x3ff8].q)
0x10af 11 noreturn
void deregister_tm_clones():
0x10c0 0 rdi = 0x4050 {""}
0x10c7 1 rax = 0x4050 {""}
0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3
0x10e8 3 <return> jump(pop)
0x10d3 4 rax = [0x3fd8].q
0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df
0x10df 6 <return> tailcall(rax)
void register_tm_clones():
0x10f0 0 rdi = 0x4050 {""}
0x10f7 1 rsi = 0x4050 {""}
0x10fe 2 rsi = rsi - rdi
0x1101 3 rax = rsi
0x1104 4 rsi = rsi u>> 0x3f
0x1108 5 rax = rax s>> 3
0x110c 6 rsi = rsi + rax
0x110f 7 rsi = rsi s>> 1
0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114
0x1128 9 <return> jump(pop)
0x1114 10 rax = [0x3ff0].q
0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120
0x1120 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d
0x1168 1 <return> jump(pop)
0x113d 2 push(rbp)
0x113e 3 cond:0 = [0x3fe0].q == 0
0x1146 4 rbp = rsp {__saved_rbp}
0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b
0x1157 6 call(0x10c0)
0x115c 7 [0x4050].b = 1
0x1163 8 rbp = pop
0x1164 9 <return> jump(pop)
0x114b 10 rdi = [0x4048].q
0x1152 11 call(0x1080)
0x1152 12 goto 6 @ 0x1157
int64_t frame_dummy():
0x1174 0 <return> tailcall(0x10f0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1180 0 push(r15)
0x1182 1 push(r14)
0x1184 2 push(rbx)
0x1185 3 rsp = rsp - 0xc0
0x118c 4 xmm0 = 0
0x118f 5 [rsp + 0xa0 {var_38}].o = xmm0
0x1197 6 [rsp + 0x90 {var_48}].o = xmm0
0x119f 7 [rsp + 0x80 {var_58}].o = xmm0
0x11a7 8 [rsp + 0x70 {var_68}].o = xmm0
0x11ac 9 [rsp + 0x60 {var_78}].o = xmm0
0x11b1 10 [rsp + 0xb0 {var_28}].b = 0
0x11b9 11 [rsp + 0x40 {var_98}].o = xmm0
0x11be 12 [rsp + 0x30 {var_a8}].o = xmm0
0x11c3 13 [rsp + 0x20 {var_b8}].o = xmm0
0x11c8 14 [rsp + 0x10 {var_c8}].o = xmm0
0x11cd 15 [rsp {var_d8}].o = xmm0
0x11d1 16 [rsp + 0x50 {var_88}].b = 0
0x11d6 17 rbx = rsp + 0x60 {var_78}
0x11db 18 rdi = rbx {var_78}
0x11de 19 eax = 0
0x11e0 20 call(0x1050)
0x11e5 21 r14 = rsp {var_d8}
0x11e8 22 rdi = r14 {var_d8}
0x11eb 23 eax = 0
0x11ed 24 call(0x1050)
0x11f2 25 rdi = rbx {var_78}
0x11f5 26 call(0x1040)
0x11fa 27 rbx = rax
0x11fd 28 rdi = r14 {var_d8}
0x1200 29 call(0x1040)
0x1205 30 r14 = rax
0x120a 31 if (ebx s<= 0) then 32 @ 0x123a else 33 @ 0x120c
0x123a 32 if (r14d s<= 0) then 36 @ 0x1265 else 45 @ 0x123c
0x120c 33 r15d = ebx
0x120f 34 ebx = 0
0x121b 35 goto 48 @ 0x1220
0x1265 36 rdi = rsp + 0x60 {var_78}
0x126a 37 rsi = rsp {var_d8}
0x126d 38 call(0x1060)
0x1272 39 ecx = eax
0x1274 40 ecx = ecx s>> 0x1f
0x1277 41 ecx = ecx + 0x3d
0x127a 42 cond:0 = eax s<= 0
0x127c 43 edi = 0x3e {""}
0x1281 44 if (cond:0) then 53 else 55 @ 0x1284
0x123c 45 r14d = r14d
0x123f 46 ebx = 0
0x124b 47 goto 62 @ 0x1250
0x1220 48 edi = sx.d([rsp + rbx + 0x60].b)
0x1225 49 call(0x1030)
0x122a 50 [rsp + rbx + 0x60].b = al
0x122e 51 rbx = rbx + 1
0x1235 52 if (r15 != rbx) then 48 @ 0x1220 else 32 @ 0x123a
0x1281 53 edi = ecx
0x1281 54 goto 55 @ 0x1284
0x1284 55 call(0x1070)
0x1289 56 eax = 0
0x128b 57 rsp = rsp + 0xc0
0x1292 58 rbx = pop
0x1293 59 r14 = pop
0x1295 60 r15 = pop
0x1297 61 <return> jump(pop)
0x1250 62 edi = sx.d([rsp + rbx].b)
0x1254 63 call(0x1030)
0x1259 64 [rsp + rbx].b = al
0x125c 65 rbx = rbx + 1
0x1263 66 if (r14 != rbx) then 62 @ 0x1250 else 36 @ 0x1265
int64_t _fini():
0x129c 0 rsp = rsp - 8
0x12a0 1 rsp = rsp + 8
0x12a4 2 <return> jump(pop)
| POJ_95 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UHH ="}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 rbp = rsp {__saved_rbp}
0x1154 2 rsp = rsp - 0x3d2090
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 rdi = 0x2006 {"%d"}
0x1169 5 rsi = rbp - 0x7f0 {var_7f8}
0x1170 6 al = 0
0x1172 7 call(0x1040)
0x1177 8 [rbp - 0x7e4 {var_7ec}].d = 0
0x1177 9 goto 10 @ 0x1181
0x1181 10 eax = [rbp - 0x7e4 {var_7ec}].d
0x118d 11 if (eax s>= [rbp - 0x7f0 {var_7f8}].d) then 12 @ 0x1359 else 14 @ 0x1193
0x1359 12 [rbp - 0x7e4 {var_7ec_1}].d = 0
0x1359 13 goto 30 @ 0x1363
0x1193 14 rax = sx.q([rbp - 0x7e4 {var_7ec}].d)
0x119a 15 [rbp + (rax << 2) - 0x7e0].d = 0
0x11a5 16 rax = sx.q([rbp - 0x7e4 {var_7ec}].d)
0x11ac 17 rsi = rbp - 0x3d2090 {var_3d2098}
0x11b3 18 rax = rax << 3
0x11b7 19 rsi = rsi + rax
0x11ba 20 rax = sx.q([rbp - 0x7e4 {var_7ec}].d)
0x11c1 21 rdx = rbp - 0x3d2090 {var_3d2098}
0x11c8 22 rax = rax << 3
0x11cc 23 rdx = rdx + rax
0x11cf 24 rdx = rdx + 4
0x11d3 25 rdi = 0x2004 {"%d%d"}
0x11da 26 al = 0
0x11dc 27 call(0x1040)
0x11e1 28 [rbp - 0x7e8 {var_7f0_1}].d = 0
0x11e1 29 goto 32 @ 0x11eb
0x1363 30 eax = [rbp - 0x7e4 {var_7ec_1}].d
0x136f 31 if (eax s>= [rbp - 0x7f0 {var_7f8}].d) then 35 @ 0x13a5 else 39 @ 0x1375
0x11eb 32 eax = [rbp - 0x7e8 {var_7f0_1}].d
0x11f1 33 rcx = sx.q([rbp - 0x7e4 {var_7ec}].d)
0x11ff 34 if (eax s>= [rbp + (rcx << 3) - 0x3d2090].d) then 48 @ 0x1340 else 49 @ 0x1205
0x13a5 35 eax = 0
0x13a7 36 rsp = rsp + 0x3d2090
0x13ae 37 rbp = pop
0x13af 38 <return> jump(pop)
0x1375 39 rax = sx.q([rbp - 0x7e4 {var_7ec_1}].d)
0x137c 40 esi = [rbp + (rax << 2) - 0x7e0].d
0x1383 41 rdi = 0x2009 {"%d\n"}
0x138a 42 al = 0
0x138c 43 call(0x1030)
0x1391 44 eax = [rbp - 0x7e4 {var_7ec_1}].d
0x1397 45 eax = eax + 1
0x139a 46 [rbp - 0x7e4 {var_7ec_1}].d = eax
0x13a0 47 goto 30 @ 0x1363
0x1340 48 goto 51 @ 0x1345
0x1205 49 [rbp - 0x7ec {var_7f4_1}].d = 0
0x1205 50 goto 55 @ 0x120f
0x1345 51 eax = [rbp - 0x7e4 {var_7ec}].d
0x134b 52 eax = eax + 1
0x134e 53 [rbp - 0x7e4 {var_7ec}].d = eax
0x1354 54 goto 10 @ 0x1181
0x120f 55 eax = [rbp - 0x7ec {var_7f4_1}].d
0x1215 56 rcx = sx.q([rbp - 0x7e4 {var_7ec}].d)
0x1223 57 if (eax s>= [rbp + (rcx << 3) - 0x3d208c].d) then 58 @ 0x1327 else 59 @ 0x1229
0x1327 58 goto 73 @ 0x132c
0x1229 59 rax = sx.q([rbp - 0x7e4 {var_7ec}].d)
0x1230 60 rsi = rbp - 0x3d10f0 {var_3d10f8}
0x1237 61 rax = rax * 0x9c40
0x123e 62 rsi = rsi + rax
0x1241 63 rax = sx.q([rbp - 0x7e8 {var_7f0_1}].d)
0x1248 64 rax = rax * 0x190
0x124f 65 rsi = rsi + rax
0x1252 66 rax = sx.q([rbp - 0x7ec {var_7f4_1}].d)
0x1259 67 rax = rax << 2
0x125d 68 rsi = rsi + rax
0x1260 69 rdi = 0x2006 {"%d"}
0x1267 70 al = 0
0x1269 71 call(0x1040)
0x1275 72 if ([rbp - 0x7e8 {var_7f0_1}].d == 0) then 77 @ 0x12c6 else 90 @ 0x1282
0x132c 73 eax = [rbp - 0x7e8 {var_7f0_1}].d
0x1332 74 eax = eax + 1
0x1335 75 [rbp - 0x7e8 {var_7f0_1}].d = eax
0x133b 76 goto 32 @ 0x11eb
0x12c6 77 rcx = sx.q([rbp - 0x7e4 {var_7ec}].d)
0x12cd 78 rax = rbp - 0x3d10f0 {var_3d10f8}
0x12d4 79 rcx = rcx * 0x9c40
0x12db 80 rax = rax + rcx
0x12de 81 rcx = sx.q([rbp - 0x7e8 {var_7f0_1}].d)
0x12e5 82 rcx = rcx * 0x190
0x12ec 83 rax = rax + rcx
0x12ef 84 rcx = sx.q([rbp - 0x7ec {var_7f4_1}].d)
0x12f6 85 ecx = [rax + (rcx << 2)].d
0x12f9 86 rax = sx.q([rbp - 0x7e4 {var_7ec}].d)
0x1300 87 ecx = ecx + [rbp + (rax << 2) - 0x7e0].d
0x1307 88 [rbp + (rax << 2) - 0x7e0].d = ecx
0x1307 89 goto 91 @ 0x130e
0x1282 90 if ([rbp - 0x7ec {var_7f4_1}].d == 0) then 77 @ 0x12c6 else 92 @ 0x1288
0x130e 91 goto 97 @ 0x1313
0x1288 92 eax = [rbp - 0x7e8 {var_7f0_1}].d
0x128e 93 rcx = sx.q([rbp - 0x7e4 {var_7ec}].d)
0x1295 94 ecx = [rbp + (rcx << 3) - 0x3d2090].d
0x129c 95 ecx = ecx - 1
0x12a1 96 if (eax == ecx) then 77 @ 0x12c6 else 101 @ 0x12a7
0x1313 97 eax = [rbp - 0x7ec {var_7f4_1}].d
0x1319 98 eax = eax + 1
0x131c 99 [rbp - 0x7ec {var_7f4_1}].d = eax
0x1322 100 goto 55 @ 0x120f
0x12a7 101 eax = [rbp - 0x7ec {var_7f4_1}].d
0x12ad 102 rcx = sx.q([rbp - 0x7e4 {var_7ec}].d)
0x12b4 103 ecx = [rbp + (rcx << 3) - 0x3d208c].d
0x12bb 104 ecx = ecx - 1
0x12c0 105 if (eax != ecx) then 91 @ 0x130e else 77 @ 0x12c6
int64_t _fini():
0x13b4 0 rsp = rsp - 8
0x13b8 1 rsp = rsp + 8
0x13bc 2 <return> jump(pop)
| POJ_6 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t getchar():
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UAWAVSH\t"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 push(r15)
0x1163 2 push(r14)
0x1165 3 push(rbx)
0x1166 4 rsp = rsp - 0x988
0x116d 5 rdi = 0x2020 {"%d"}
0x1174 6 rsi = rsp + 0xc {var_99c}
0x1179 7 eax = 0
0x117b 8 call(0x1050)
0x1180 9 ecx = [rsp + 0xc {var_99c}].d
0x1184 10 xmm2 = 0
0x1187 11 xmm3 = 0
0x118c 12 if (ecx s<= 0) then 13 @ 0x11d0 else 15 @ 0x118e
0x11d0 13 eax = ecx
0x11d4 14 if (ecx s<= 0) then 20 @ 0x1217 else 21 @ 0x11d6
0x118e 15 xmm3 = 0
0x1191 16 rbx = rsp + 0x20 {var_988}
0x1196 17 r14 = 0x2023 {"%f"}
0x119d 18 ebp = 0
0x119f 19 goto 27 @ 0x11a0
0x1217 20 if (ecx s<= 0) then 38 @ 0x1249 else 40 @ 0x1219
0x11d6 21 xmm0.d = float.s(ecx)
0x11da 22 xmm3.d = xmm3.d f/ xmm0.d
0x11de 23 xmm1 = 0
0x11e1 24 edx = 0
0x11e3 25 xmm0 = [0x2010].o
0x11ea 26 goto 43 @ 0x11f0
0x11a0 27 [rsp + 0x10 {var_998_1}].o = xmm3
0x11a5 28 rdi = r14
0x11a8 29 rsi = rbx
0x11ab 30 eax = 0
0x11ad 31 call(0x1050)
0x11b2 32 xmm3 = [rsp + 0x10 {var_998_1}].o
0x11b7 33 xmm3.d = xmm3.d f+ fconvert.t([rbx].d)
0x11bb 34 rbp = rbp + 1
0x11bf 35 rcx = sx.q([rsp + 0xc {var_99c}].d)
0x11c4 36 rbx = rbx + 4
0x11cb 37 if (rbp s< rcx) then 27 @ 0x11a0 else 51 @ 0x11cd
0x1249 38 ebp = 0
0x1250 39 if ([rsp + 0xc {var_99c}].d s<= 0) then 53 @ 0x12db else 63 @ 0x1256
0x1219 40 ecx = 0
0x121b 41 ebp = 0
0x121d 42 goto 68 @ 0x1220
0x11f0 43 xmm2 = xmm3
0x11f3 44 xmm2.d = xmm2.d f- fconvert.t([rsp + (rdx << 2) + 0x20].d)
0x11f9 45 xmm2 = _mm_and_ps(xmm2, xmm0)
0x11fc 46 [rsp + (rdx << 2) + 0x4d0].d = xmm2.d
0x1205 47 xmm2 = _mm_max_ss(xmm2.d, xmm1.d)
0x1209 48 rdx = rdx + 1
0x120d 49 xmm1 = xmm2
0x1213 50 if (rax != rdx) then 43 @ 0x11f0 else 20 @ 0x1217
0x11cd 51 xmm2 = 0
0x11cd 52 goto 13 @ 0x11d0
0x12db 53 eax = 0
0x12dd 54 call(0x1040)
0x12e2 55 eax = 0
0x12e4 56 call(0x1040)
0x12e9 57 rsp = rsp + 0x988
0x12f0 58 rbx = pop
0x12f1 59 r14 = pop
0x12f3 60 r15 = pop
0x12f5 61 rbp = pop
0x12f6 62 <return> jump(pop)
0x1256 63 ebx = 0
0x1258 64 r15 = 0x2026 {"%.0f,"}
0x125f 65 r14 = 0x202c {"%.0f"}
0x1266 66 [rsp + 0x10 {var_998_2}].o = xmm2
0x126b 67 goto 74 @ 0x129a
0x1220 68 xmm0 = [rsp + (rcx << 2) + 0x4d0].d
0x1229 69 xmm0 = _mm_cmpeq_ss(xmm0.d, xmm2.d, 0)
0x122e 70 edx = xmm0.d
0x1232 71 ebp = ebp - edx
0x1234 72 rcx = rcx + 1
0x123b 73 if (rax != rcx) then 68 @ 0x1220 else 82 @ 0x1242
0x129a 74 xmm0 = [rsp + (rbx << 2) + 0x4d0].d
0x12a3 75 flag:p = is_unordered.d(xmm0.d, xmm2.d)
0x12a3 76 flag:c = xmm0.d f< xmm2.d | is_unordered.d(xmm0.d, xmm2.d)
0x12a3 77 flag:z = xmm0.d f== xmm2.d | is_unordered.d(xmm0.d, xmm2.d)
0x12a3 78 flag:s = 0
0x12a3 79 flag:o = 0
0x12a3 80 flag:a = 0
0x12a6 81 if (not(flag:z)) then 83 @ 0x12af else 90 @ 0x12a8
0x1242 82 if ([rsp + 0xc {var_99c}].d s> 0) then 63 @ 0x1256 else 91 @ 0x1244
0x12af 83 flag:p = is_unordered.d(xmm0.d, xmm2.d)
0x12af 84 flag:c = xmm0.d f< xmm2.d | is_unordered.d(xmm0.d, xmm2.d)
0x12af 85 flag:z = xmm0.d f== xmm2.d | is_unordered.d(xmm0.d, xmm2.d)
0x12af 86 flag:s = 0
0x12af 87 flag:o = 0
0x12af 88 flag:a = 0
0x12b2 89 if (not(flag:z)) then 92 @ 0x128c else 95 @ 0x12b4
0x12a8 90 if (flag:p) then 83 @ 0x12af else 96 @ 0x12ad
0x1244 91 goto 53 @ 0x12db
0x128c 92 rbx = rbx + 1
0x1290 93 rax = sx.q([rsp + 0xc {var_99c}].d)
0x1298 94 if (rbx s>= rax) then 53 @ 0x12db else 74 @ 0x129a
0x12b4 95 if (flag:p) then 92 @ 0x128c else 97 @ 0x12b9
0x12ad 96 if (ebp != 1) then 98 @ 0x1270 else 83 @ 0x12af
0x12b9 97 if (ebp != 1) then 92 @ 0x128c else 106 @ 0x12bb
0x1270 98 xmm0 = [rsp + (rbx << 2) + 0x20].d
0x1276 99 xmm0.q = fconvert.d(xmm0.d)
0x127a 100 rdi = r15
0x127d 101 al = 1
0x127f 102 call(0x1030)
0x1284 103 xmm2 = [rsp + 0x10 {var_998_2}].o
0x1289 104 ebp = ebp - 1
0x1289 105 goto 92 @ 0x128c
0x12bb 106 xmm0 = [rsp + (rbx << 2) + 0x20].d
0x12c1 107 xmm0.q = fconvert.d(xmm0.d)
0x12c5 108 rdi = r14
0x12c8 109 al = 1
0x12ca 110 call(0x1030)
0x12cf 111 xmm2 = [rsp + 0x10 {var_998_2}].o
0x12d4 112 ebp = 1
0x12d9 113 goto 92 @ 0x128c
int64_t _fini():
0x12fc 0 rsp = rsp - 8
0x1300 1 rsp = rsp + 8
0x1304 2 <return> jump(pop)
| POJ_21 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
int32_t putchar(int32_t c):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UAWAVAUATSH"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 push(r15)
0x1163 2 push(r14)
0x1165 3 push(r13)
0x1167 4 push(r12)
0x1169 5 push(rbx)
0x116a 6 rsp = rsp - 0x9c88
0x1171 7 rdi = 0x2004 {"%d%d"}
0x1178 8 rsi = rsp + 4 {var_9cb4}
0x117d 9 rdx = rsp {var_9cb8}
0x1180 10 eax = 0
0x1182 11 call(0x1040)
0x1187 12 ecx = [rsp + 4 {var_9cb4}].d
0x118d 13 if (ecx s<= 0) then 14 @ 0x11f4 else 28 @ 0x118f
0x11f4 14 rax = rsp + 0x360 {var_9958}
0x11fc 15 [rsp + 0x20 {var_9c98}].q = rax {var_9958}
0x1201 16 eax = 1
0x1206 17 [rsp + 0x30 {var_9c88}].q = rax
0x120b 18 [rsp + 8 {var_9cb0}].d = -2
0x1213 19 rax = rsp + 0x40 {var_9c78}
0x1218 20 [rsp + 0xc {var_9cac}].d = 2
0x1220 21 r14d = 0xffffffff {""}
0x1226 22 r15 = 0x2009 {"%d\n"}
0x122d 23 [rsp + 0x28 {var_9c90}].q = rax {var_9c78}
0x1232 24 [rsp + 0x10 {var_9ca8}].q = rax {var_9c78}
0x1237 25 r12d = 0
0x123a 26 r13d = 0
0x123d 27 goto 30 @ 0x129d
0x118f 28 eax = [rsp {var_9cb8}].d
0x1194 29 if (eax s<= 0) then 14 @ 0x11f4 else 31 @ 0x1196
0x129d 30 if (r12 == 0x64) then 35 @ 0x14a6 else 44 @ 0x12a3
0x1196 31 r15 = rsp + 0x40 {var_9c78}
0x119b 32 r14 = 0x2006 {"%d"}
0x11a2 33 r12d = 0
0x11a5 34 goto 48 @ 0x11c5
0x14a6 35 eax = 0
0x14a8 36 rsp = rsp + 0x9c88
0x14af 37 rbx = pop
0x14b0 38 r12 = pop
0x14b2 39 r13 = pop
0x14b4 40 r14 = pop
0x14b6 41 r15 = pop
0x14b8 42 rbp = pop
0x14b9 43 <return> jump(pop)
0x12a3 44 rax = sx.q([rsp {var_9cb8}].d)
0x12a7 45 rcx = sx.q(r12d)
0x12aa 46 rax = rax - rcx
0x12b0 47 if (r12 s>= rax) then 49 @ 0x12e3 else 56 @ 0x12b2
0x11c5 48 if (eax s<= 0) then 59 @ 0x11b0 else 63 @ 0x11c7
0x12e3 49 edi = 0xa {""}
0x12e8 50 call(0x1050)
0x12ed 51 rcx = sx.q([rsp + 4 {var_9cb4}].d)
0x12f2 52 eax = [rsp {var_9cb8}].d
0x12f5 53 edx = eax
0x12f7 54 edx = edx * ecx
0x12fd 55 if (r13d == edx) then 35 @ 0x14a6 else 66 @ 0x1303
0x12b2 56 ebx = 0
0x12b4 57 rbp = [rsp + 0x10 {var_9ca8}].q
0x12b9 58 goto 71 @ 0x12c0
0x11b0 59 r12 = r12 + 1
0x11b4 60 rdx = sx.q(ecx)
0x11b7 61 r15 = r15 + 0x190
0x11c1 62 if (r12 s>= rdx) then 14 @ 0x11f4 else 48 @ 0x11c5
0x11c7 63 rbx = r15
0x11ca 64 ebp = 0
0x11cc 65 goto 80 @ 0x11d0
0x1303 66 rbp = r12 + 1
0x1308 67 rcx = rcx - r12
0x130b 68 cond:0 = rbp s>= rcx
0x130e 69 [rsp + 0x38 {var_9c80_1}].q = rbp
0x1313 70 if (cond:0) then 88 @ 0x138e else 95 @ 0x1315
0x12c0 71 esi = [rbp + (rbx << 2)].d
0x12c4 72 rdi = r15
0x12c7 73 eax = 0
0x12c9 74 call(0x1030)
0x12ce 75 eax = [rsp {var_9cb8}].d
0x12d1 76 eax = eax - r12d
0x12d4 77 rbx = rbx + 1
0x12d8 78 ecx = (rbx + r12).d
0x12de 79 if (eax s> ecx) then 71 @ 0x12c0 else 112 @ 0x12e0
0x11d0 80 rdi = r14
0x11d3 81 rsi = rbx
0x11d6 82 eax = 0
0x11d8 83 call(0x1040)
0x11dd 84 rbp = rbp + 1
0x11e1 85 rax = sx.q([rsp {var_9cb8}].d)
0x11e5 86 rbx = rbx + 4
0x11ec 87 if (rbp s< rax) then 80 @ 0x11d0 else 114 @ 0x11ee
0x138e 88 edi = 0xa {""}
0x1393 89 call(0x1050)
0x1398 90 eax = [rsp + 4 {var_9cb4}].d
0x139c 91 ecx = [rsp {var_9cb8}].d
0x139f 92 edx = ecx
0x13a1 93 edx = edx * eax
0x13a7 94 if (r13d == edx) then 35 @ 0x14a6 else 116 @ 0x13ad
0x1315 95 ecx = r12d
0x1318 96 ecx = not.d(ecx)
0x131a 97 eax = eax + ecx
0x131c 98 rax = sx.q(eax)
0x131e 99 rbx = [rsp + 0x30 {var_9c88}].q
0x1323 100 rcx = rbx * 0x190
0x132a 101 rcx = rcx + rsp
0x132d 102 rcx = rcx + 0x40
0x1331 103 esi = [rcx + (rax << 2)].d
0x1334 104 rdi = r15
0x1337 105 eax = 0
0x1339 106 call(0x1030)
0x133e 107 r13d = r13d + 1
0x1342 108 eax = (rbx + 1).d
0x1345 109 ecx = [rsp + 4 {var_9cb4}].d
0x1349 110 ecx = ecx - r12d
0x134e 111 if (ecx s<= eax) then 88 @ 0x138e else 122 @ 0x1350
0x12e0 112 r13d = r13d + ebx
0x12e0 113 goto 49 @ 0x12e3
0x11ee 114 ecx = [rsp + 4 {var_9cb4}].d
0x11f2 115 goto 59 @ 0x11b0
0x13ad 116 ebx = 0xfffffffe {""}
0x13b2 117 ebx = ebx - r12d
0x13b5 118 edx = (rbx + rcx).d
0x13b8 119 rdx = sx.q(edx)
0x13bb 120 ebp = r14d
0x13c1 121 if (r12 s> rdx) then 125 @ 0x1432 else 131 @ 0x13c3
0x1350 122 rbx = [rsp + 0x20 {var_9c98}].q
0x1355 123 ebp = [rsp + 0xc {var_9cac}].d
0x1359 124 goto 146 @ 0x1360
0x1432 125 edi = 0xa {""}
0x1437 126 call(0x1050)
0x143c 127 eax = [rsp + 4 {var_9cb4}].d
0x1440 128 ecx = [rsp {var_9cb8}].d
0x1443 129 ecx = ecx * eax
0x1449 130 if (r13d == ecx) then 35 @ 0x14a6 else 159 @ 0x144b
0x13c3 131 ecx = ecx + [rsp + 8 {var_9cb0}].d
0x13c7 132 r14 = sx.q(ecx)
0x13ca 133 ecx = r12d
0x13cd 134 ecx = not.d(ecx)
0x13cf 135 eax = eax + ecx
0x13d1 136 rax = sx.q(eax)
0x13d3 137 rax = rax * 0x190
0x13da 138 rax = rax + rsp
0x13dd 139 rax = rax + 0x40
0x13e1 140 esi = [rax + (r14 << 2)].d
0x13e5 141 rdi = r15
0x13e8 142 eax = 0
0x13ea 143 call(0x1030)
0x13ef 144 r13d = r13d + 1
0x13f6 145 if (r12 s>= r14) then 125 @ 0x1432 else 163 @ 0x13f8
0x1360 146 eax = [rsp {var_9cb8}].d
0x1363 147 eax = eax + r14d
0x1366 148 rax = sx.q(eax)
0x1368 149 esi = [rbx + (rax << 2)].d
0x136b 150 rdi = r15
0x136e 151 eax = 0
0x1370 152 call(0x1030)
0x1375 153 r13d = r13d + 1
0x1379 154 eax = [rsp + 4 {var_9cb4}].d
0x137d 155 eax = eax - r12d
0x1380 156 ebp = ebp + 1
0x1383 157 rbx = rbx + 0x190
0x138c 158 if (eax s> ebp) then 146 @ 0x1360 else 88 @ 0x138e
0x144b 159 [rsp + 0x1c {var_9c9c_1}].d = ebp
0x144f 160 ebx = ebx + eax
0x1451 161 rcx = sx.q(ebx)
0x1457 162 if (r12 s>= rcx) then 164 @ 0x1240 else 166 @ 0x145d
0x13f8 163 goto 172 @ 0x1400
0x1240 164 r14 = [rsp + 0x10 {var_9ca8}].q
0x1240 165 goto 185 @ 0x1245
0x145d 166 eax = eax + [rsp + 8 {var_9cb0}].d
0x1461 167 rbx = sx.q(eax)
0x1464 168 rbp = rbx * 0x190
0x146b 169 rbp = rbp + [rsp + 0x28 {var_9c90}].q
0x1470 170 r14 = [rsp + 0x10 {var_9ca8}].q
0x147f 171 goto 200 @ 0x1480
0x1400 172 eax = [rsp + 4 {var_9cb4}].d
0x1404 173 eax = eax + ebp
0x1406 174 rax = sx.q(eax)
0x1408 175 rax = rax * 0x190
0x140f 176 rax = rax + rsp
0x1412 177 rax = rax + 0x40
0x1416 178 esi = [rax + (r14 << 2) - 4].d
0x141b 179 r14 = r14 - 1
0x141f 180 rdi = r15
0x1422 181 eax = 0
0x1424 182 call(0x1030)
0x1429 183 r13d = r13d + 1
0x1430 184 if (r14 s> r12) then 172 @ 0x1400 else 125 @ 0x1432
0x1245 185 edi = 0xa {""}
0x124a 186 call(0x1050)
0x124f 187 eax = [rsp {var_9cb8}].d
0x1252 188 eax = eax * [rsp + 4 {var_9cb4}].d
0x1257 189 [rsp + 0x30 {var_9c88}].q = [rsp + 0x30 {var_9c88}].q + 1
0x125d 190 [rsp + 8 {var_9cb0}].d = [rsp + 8 {var_9cb0}].d - 1
0x1262 191 r14 = r14 + 0x194
0x1269 192 [rsp + 0x10 {var_9ca8}].q = r14
0x126e 193 [rsp + 0xc {var_9cac}].d = [rsp + 0xc {var_9cac}].d + 1
0x1273 194 r14d = [rsp + 0x1c {var_9c9c_1}].d
0x1278 195 r14d = r14d - 1
0x127c 196 [rsp + 0x20 {var_9c98}].q = [rsp + 0x20 {var_9c98}].q + 0x190
0x1285 197 [rsp + 0x28 {var_9c90}].q = [rsp + 0x28 {var_9c90}].q + 4
0x128b 198 r12 = [rsp + 0x38 {var_9c80_1}].q
0x1293 199 if (r13d == eax) then 35 @ 0x14a6 else 30 @ 0x129d
0x1480 200 esi = [rbp].d
0x1483 201 rdi = r15
0x1486 202 eax = 0
0x1488 203 call(0x1030)
0x148d 204 r13d = r13d + 1
0x1491 205 rbx = rbx - 1
0x1495 206 rbp = rbp - 0x190
0x149f 207 if (rbx s> r12) then 200 @ 0x1480 else 208 @ 0x14a1
0x14a1 208 goto 185 @ 0x1245
int64_t _fini():
0x14c0 0 rsp = rsp - 8
0x14c4 1 rsp = rsp + 8
0x14c8 2 <return> jump(pop)
| POJ_46 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"AWAVAUATSH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(r15)
0x1152 1 push(r14)
0x1154 2 push(r13)
0x1156 3 push(r12)
0x1158 4 push(rbx)
0x1159 5 rsp = rsp - 0x4f0
0x1160 6 rdi = 0x2006 {"%d"}
0x1167 7 ebx = 0
0x1169 8 rsi = rsp + 0xc {var_50c}
0x116e 9 eax = 0
0x1170 10 call(0x1040)
0x117a 11 if ([rsp + 0xc {var_50c}].d s<= 0) then 12 @ 0x1280 else 24 @ 0x1180
0x1280 12 rdi = 0x2006 {"%d"}
0x1287 13 esi = ebx
0x1289 14 eax = 0
0x128b 15 call(0x1030)
0x1290 16 eax = 0
0x1292 17 rsp = rsp + 0x4f0
0x1299 18 rbx = pop
0x129a 19 r12 = pop
0x129c 20 r13 = pop
0x129e 21 r14 = pop
0x12a0 22 r15 = pop
0x12a2 23 <return> jump(pop)
0x1180 24 r12 = rsp + 0x10 {var_508}
0x1185 25 r14 = rsp + 0x1b0 {var_368}
0x118d 26 rbx = rsp + 0x350 {var_1c8}
0x1195 27 r15 = 0x2004 {"%d%d"}
0x119c 28 r13d = 0
0x119f 29 goto 30 @ 0x11d0
0x11d0 30 rdi = r15
0x11d3 31 rsi = rbx
0x11d6 32 rdx = r14
0x11d9 33 eax = 0
0x11db 34 call(0x1040)
0x11e0 35 eax = [rbx].d
0x11e2 36 eax = eax - 0x5a
0x11e8 37 if (eax u> 0x32) then 38 @ 0x11b0 else 40 @ 0x11ea
0x11b0 38 eax = 0
0x11b0 39 goto 44 @ 0x11b2
0x11ea 40 ecx = [r14].d
0x11ed 41 ecx = ecx - 0x3c
0x11f0 42 eax = 1
0x11f8 43 if (ecx u>= 0x1f) then 38 @ 0x11b0 else 51 @ 0x11fa
0x11b2 44 [r12].d = eax
0x11b6 45 r13 = r13 + 1
0x11ba 46 rax = sx.q([rsp + 0xc {var_50c}].d)
0x11bf 47 r12 = r12 + 4
0x11c3 48 r14 = r14 + 4
0x11c7 49 rbx = rbx + 4
0x11ce 50 if (r13 s>= rax) then 52 @ 0x11fc else 30 @ 0x11d0
0x11fa 51 goto 44 @ 0x11b2
0x11fc 52 r8d = eax
0x1202 53 if (r8d s<= 0) then 54 @ 0x1212 else 56 @ 0x1208
0x1212 54 ebx = 0
0x1214 55 goto 12 @ 0x1280
0x1208 56 if (r8d != 1) then 57 @ 0x1216 else 63 @ 0x120a
0x1216 57 r9d = r8d
0x1219 58 r9d = r9d & 0xfffffffe
0x121d 59 ecx = 0
0x121f 60 edx = 0
0x1221 61 ebx = 0
0x122d 62 goto 67 @ 0x1230
0x120a 63 ecx = 0
0x120c 64 edx = 0
0x120e 65 ebx = 0
0x1210 66 goto 72 @ 0x126d
0x1230 67 edi = [rsp + (rcx << 2) + 0x10].d
0x1234 68 eax = 0
0x1239 69 al = edi == 1
0x123c 70 eax = eax + edx
0x1240 71 if (eax s> ebx) then 73 else 75 @ 0x1243
0x126d 72 if ((r8b & 1) == 0) then 12 @ 0x1280 else 77 @ 0x126f
0x1240 73 ebx = eax
0x1240 74 goto 75 @ 0x1243
0x1243 75 esi = [rsp + (rcx << 2) + 0x14].d
0x1249 76 if (edi == 0) then 81 else 83 @ 0x124c
0x126f 77 eax = 0
0x1276 78 al = [rsp + (rcx << 2) + 0x10].d == 1
0x1279 79 edx = edx + eax
0x127d 80 if (edx s> ebx) then 87 else 89
0x1249 81 eax = edi
0x1249 82 goto 83 @ 0x124c
0x124c 83 edx = 0
0x1251 84 dl = esi == 1
0x1254 85 edx = edx + eax
0x1258 86 if (edx s> ebx) then 90 else 92 @ 0x125d
0x127d 87 ebx = edx
0x127d 88 goto 89
0x127d 89 goto 12 @ 0x1280
0x1258 90 ebx = edx
0x1258 91 goto 92 @ 0x125d
0x125d 92 if (esi == 0) then 93 else 95 @ 0x1260
0x125d 93 edx = esi
0x125d 94 goto 95 @ 0x1260
0x1260 95 rcx = rcx + 2
0x1267 96 if (r9 != rcx) then 67 @ 0x1230 else 72 @ 0x126d
int64_t _fini():
0x12a8 0 rsp = rsp - 8
0x12ac 1 rsp = rsp + 8
0x12b0 2 <return> jump(pop)
| POJ_82 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t scanf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t puts(char const* str):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UAWAVAUATSH\t"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 push(r15)
0x1153 2 push(r14)
0x1155 3 push(r13)
0x1157 4 push(r12)
0x1159 5 push(rbx)
0x115a 6 rsp = rsp - 0x9a8
0x1161 7 [rsp + 0x14 {var_9c4}].d = 0x1f {""}
0x1169 8 [rsp + 0x40 {var_998}].d = 0x1f {""}
0x1171 9 xmm0 = [0x2010].o
0x1178 10 [rsp + 0x1c {var_9bc}].o = xmm0
0x117d 11 xmm0 = [0x2020].o
0x1184 12 [rsp + 0x2c {var_9ac}].o = xmm0
0x1189 13 [rsp + 0x3c {var_99c}].d = 0x1e {""}
0x1191 14 rdi = 0x2034 {"%d"}
0x1198 15 rsi = rsp + 0xc {var_9cc}
0x119d 16 eax = 0
0x119f 17 call(0x1030)
0x11a9 18 if ([rsp + 0xc {var_9cc}].d s<= 0) then 19 @ 0x1313 else 28 @ 0x11af
0x1313 19 eax = 0
0x1315 20 rsp = rsp + 0x9a8
0x131c 21 rbx = pop
0x131d 22 r12 = pop
0x131f 23 r13 = pop
0x1321 24 r14 = pop
0x1323 25 r15 = pop
0x1325 26 rbp = pop
0x1326 27 <return> jump(pop)
0x11af 28 r14 = rsp + 0x44 {var_994}
0x11b4 29 r15 = rsp + 0x364 {var_674}
0x11bc 30 r13 = rsp + 0x684 {var_354}
0x11c4 31 r12 = 0x2030 {"%d%d%d"}
0x11cb 32 ebx = 0
0x11cd 33 goto 34 @ 0x11d0
0x11d0 34 rdi = r12
0x11d3 35 rsi = r13
0x11d6 36 rdx = r15
0x11d9 37 rcx = r14
0x11dc 38 eax = 0
0x11de 39 call(0x1030)
0x11e3 40 rax = sx.q([rsp + 0xc {var_9cc}].d)
0x11e8 41 rbx = rbx + 1
0x11ec 42 r14 = r14 + 4
0x11f0 43 r15 = r15 + 4
0x11f4 44 r13 = r13 + 4
0x11fb 45 if (rbx s< rax) then 34 @ 0x11d0 else 46 @ 0x11ff
0x11ff 46 if (eax s<= 0) then 19 @ 0x1313 else 47 @ 0x1205
0x1205 47 r12d = 1
0x120b 48 r15 = 0x203a {"YES"}
0x1212 49 r14 = 0x2034 {"%d"}
0x1219 50 goto 51 @ 0x123b
0x123b 51 eax = [rsp + (r12 << 2) + 0x680].d
0x1245 52 cl = (al & 3) == 0
0x1248 53 eax = eax * -0x3d70a3d7
0x124e 54 eax = eax + 0x51eb850
0x1253 55 edx = eax
0x1255 56 edx = ror.d(edx, 2)
0x125e 57 dl = edx u>= 0x28f5c29
0x1261 58 dl = dl & cl
0x1263 59 eax = ror.d(eax, 4)
0x1266 60 flag:c = eax u< 0xa3d70b
0x126b 61 al = flag:c
0x126e 62 al = al | dl
0x1270 63 eax = zx.d(al)
0x1273 64 eax = eax | 0x1c
0x1276 65 [rsp + 0x18 {var_9c0_1}].d = eax
0x127a 66 edx = [rsp + (r12 << 2) + 0x360].d
0x1282 67 eax = [rsp + (r12 << 2) + 0x40].d
0x1289 68 if (edx s<= eax) then 69 @ 0x12b0 else 73 @ 0x128b
0x12b0 69 ecx = eax
0x12b2 70 eax = edx
0x12b4 71 rdi = r15
0x12b9 72 if (eax s>= ecx) then 78 @ 0x1220 else 84 @ 0x12bf
0x128b 73 [rsp + (r12 << 2) + 0x360].d = eax
0x1293 74 [rsp + (r12 << 2) + 0x40].d = edx
0x1298 75 ecx = edx
0x129a 76 rdi = r15
0x129f 77 if (eax s>= ecx) then 78 @ 0x1220 else 89 @ 0x12a5
0x1220 78 call(0x1040)
0x1225 79 rax = r12 + 1
0x122a 80 rcx = sx.q([rsp + 0xc {var_9cc}].d)
0x122f 81 cond:0 = r12 s>= rcx
0x1232 82 r12 = rax
0x1235 83 if (cond:0) then 19 @ 0x1313 else 51 @ 0x123b
0x12bf 84 rbp = sx.q(eax)
0x12c2 85 rbx = rsp + (rbp << 2)
0x12c6 86 rbx = rbx + 0x10
0x12ca 87 r13d = 0
0x12cd 88 goto 90 @ 0x12d0
0x12a5 89 goto 84 @ 0x12bf
0x12d0 90 rdi = r14
0x12d3 91 rsi = rbx
0x12d6 92 eax = 0
0x12d8 93 call(0x1030)
0x12dd 94 r13d = r13d + [rbx].d
0x12e0 95 rbp = rbp + 1
0x12e4 96 rax = sx.q([rsp + (r12 << 2) + 0x40].d)
0x12e9 97 rbx = rbx + 4
0x12f0 98 if (rbp s< rax) then 90 @ 0x12d0 else 99 @ 0x12f2
0x12f2 99 eax = r13d * -0x49249249
0x12f9 100 eax = eax + 0x12492492
0x12fe 101 cond:1 = eax u< 0x24924925
0x1303 102 rdi = 0x2037 {"NO"}
0x130a 103 if (cond:1) then 104 else 106 @ 0x130e
0x130a 104 rdi = r15
0x130a 105 goto 106 @ 0x130e
0x130e 106 goto 78 @ 0x1220
int64_t _fini():
0x132c 0 rsp = rsp - 8
0x1330 1 rsp = rsp + 8
0x1334 2 <return> jump(pop)
| POJ_71 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1180 {"UHH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
uint64_t max(int32_t arg1, int32_t arg2):
0x1150 0 push(rbp)
0x1151 1 rbp = rsp {__saved_rbp}
0x1154 2 [rbp - 8 {var_10}].d = edi
0x1157 3 [rbp - 0xc {var_14}].d = esi
0x115a 4 eax = [rbp - 8 {var_10}].d
0x1160 5 if (eax s< [rbp - 0xc {var_14}].d) then 6 @ 0x1171 else 9 @ 0x1166
0x1171 6 eax = [rbp - 0xc {var_14}].d
0x1174 7 [rbp - 4 {var_c}].d = eax
0x1174 8 goto 12 @ 0x1177
0x1166 9 eax = [rbp - 8 {var_10}].d
0x1169 10 [rbp - 4 {var_c}].d = eax
0x116c 11 goto 12 @ 0x1177
0x1177 12 eax = [rbp - 4 {var_c}].d
0x117a 13 rbp = pop
0x117b 14 <return> jump(pop)
int32_t main(int32_t argc, char** argv, char** envp):
0x1180 0 push(rbp)
0x1181 1 rbp = rsp {__saved_rbp}
0x1184 2 rsp = rsp - 0xf0
0x118b 3 [rbp - 4 {var_c}].d = 0
0x1192 4 [rbp - 0xec {var_f4}].d = 0
0x119c 5 [rbp - 0xe4 {var_ec}].d = 0
0x119c 6 goto 7 @ 0x11ad
0x11ad 7 if ([rbp - 0xe4 {var_ec}].d s>= 5) then 8 @ 0x1225 else 10 @ 0x11b3
0x1225 8 [rbp - 0xe4 {var_ec_1}].d = 0
0x1225 9 goto 12 @ 0x1236
0x11b3 10 [rbp - 0xe8 {var_f0_1}].d = 0
0x11b3 11 goto 13 @ 0x11c4
0x1236 12 if ([rbp - 0xe4 {var_ec_1}].d s>= 5) then 14 @ 0x12a3 else 16 @ 0x123c
0x11c4 13 if ([rbp - 0xe8 {var_f0_1}].d s>= 5) then 18 @ 0x120c else 19 @ 0x11ca
0x12a3 14 [rbp - 0xe4 {var_ec_2}].d = 0
0x12a3 15 goto 33 @ 0x12b4
0x123c 16 [rbp - 0xe8 {var_f0_2}].d = 0
0x123c 17 goto 34 @ 0x124d
0x120c 18 goto 35 @ 0x1211
0x11ca 19 rax = sx.q([rbp - 0xe4 {var_ec}].d)
0x11d1 20 rsi = rbp - 0x70 {var_78}
0x11d5 21 rax = rax * 0x14
0x11d9 22 rsi = rsi + rax
0x11dc 23 rax = sx.q([rbp - 0xe8 {var_f0_1}].d)
0x11e3 24 rax = rax << 2
0x11e7 25 rsi = rsi + rax
0x11ea 26 rdi = 0x2004 {"%d"}
0x11f1 27 al = 0
0x11f3 28 call(0x1040)
0x11f8 29 eax = [rbp - 0xe8 {var_f0_1}].d
0x11fe 30 eax = eax + 1
0x1201 31 [rbp - 0xe8 {var_f0_1}].d = eax
0x1207 32 goto 13 @ 0x11c4
0x12b4 33 if ([rbp - 0xe4 {var_ec_2}].d s>= 5) then 39 @ 0x143a else 41 @ 0x12ba
0x124d 34 if ([rbp - 0xe8 {var_f0_2}].d s>= 5) then 43 @ 0x128a else 44 @ 0x1253
0x1211 35 eax = [rbp - 0xe4 {var_ec}].d
0x1217 36 eax = eax + 1
0x121a 37 [rbp - 0xe4 {var_ec}].d = eax
0x1220 38 goto 7 @ 0x11ad
0x143a 39 [rbp - 0xe4 {var_ec_3}].d = 0
0x143a 40 goto 54 @ 0x144b
0x12ba 41 [rbp - 0xe8 {var_f0_3}].d = 0
0x12ba 42 goto 55 @ 0x12cb
0x128a 43 goto 56 @ 0x128f
0x1253 44 rcx = sx.q([rbp - 0xe4 {var_ec_1}].d)
0x125a 45 rax = rbp - 0xe0 {var_e8}
0x1261 46 rcx = rcx * 0x14
0x1265 47 rax = rax + rcx
0x1268 48 rcx = sx.q([rbp - 0xe8 {var_f0_2}].d)
0x126f 49 [rax + (rcx << 2)].d = 0
0x1276 50 eax = [rbp - 0xe8 {var_f0_2}].d
0x127c 51 eax = eax + 1
0x127f 52 [rbp - 0xe8 {var_f0_2}].d = eax
0x1285 53 goto 34 @ 0x124d
0x144b 54 if ([rbp - 0xe4 {var_ec_3}].d s>= 5) then 60 @ 0x15a0 else 62 @ 0x1451
0x12cb 55 if ([rbp - 0xe8 {var_f0_3}].d s>= 5) then 64 @ 0x1421 else 65 @ 0x12d1
0x128f 56 eax = [rbp - 0xe4 {var_ec_1}].d
0x1295 57 eax = eax + 1
0x1298 58 [rbp - 0xe4 {var_ec_1}].d = eax
0x129e 59 goto 12 @ 0x1236
0x15a0 60 [rbp - 0xe4 {var_ec_4}].d = 0
0x15a0 61 goto 76 @ 0x15b1
0x1451 62 [rbp - 0xe8 {var_f0_4}].d = 0
0x1451 63 goto 77 @ 0x1462
0x1421 64 goto 78 @ 0x1426
0x12d1 65 rcx = sx.q([rbp - 0xe4 {var_ec_2}].d)
0x12d8 66 rax = rbp - 0x70 {var_78}
0x12dc 67 rcx = rcx * 0x14
0x12e0 68 rax = rax + rcx
0x12e3 69 rcx = sx.q([rbp - 0xe8 {var_f0_3}].d)
0x12ea 70 eax = [rax + (rcx << 2)].d
0x12ed 71 rdx = sx.q([rbp - 0xe4 {var_ec_2}].d)
0x12f4 72 rcx = rbp - 0x70 {var_78}
0x12f8 73 rdx = rdx * 0x14
0x12fc 74 rcx = rcx + rdx
0x1301 75 if (eax s< [rcx].d) then 82 @ 0x1408 else 83 @ 0x1307
0x15b1 76 if ([rbp - 0xe4 {var_ec_4}].d s>= 5) then 94 @ 0x1673 else 95 @ 0x15b7
0x1462 77 if ([rbp - 0xe8 {var_f0_4}].d s>= 5) then 97 @ 0x1587 else 98 @ 0x1468
0x1426 78 eax = [rbp - 0xe4 {var_ec_2}].d
0x142c 79 eax = eax + 1
0x142f 80 [rbp - 0xe4 {var_ec_2}].d = eax
0x1435 81 goto 33 @ 0x12b4
0x1408 82 goto 106 @ 0x140d
0x1307 83 rcx = sx.q([rbp - 0xe4 {var_ec_2}].d)
0x130e 84 rax = rbp - 0x70 {var_78}
0x1312 85 rcx = rcx * 0x14
0x1316 86 rax = rax + rcx
0x1319 87 rcx = sx.q([rbp - 0xe8 {var_f0_3}].d)
0x1320 88 eax = [rax + (rcx << 2)].d
0x1323 89 rdx = sx.q([rbp - 0xe4 {var_ec_2}].d)
0x132a 90 rcx = rbp - 0x70 {var_78}
0x132e 91 rdx = rdx * 0x14
0x1332 92 rcx = rcx + rdx
0x1338 93 if (eax s< [rcx + 4].d) then 82 @ 0x1408 else 110 @ 0x133e
0x1673 94 if ([rbp - 0xec {var_f4}].d != 0) then 121 @ 0x1687 else 125 @ 0x1679
0x15b7 95 [rbp - 0xe8 {var_f0_5}].d = 0
0x15b7 96 goto 129 @ 0x15c8
0x1587 97 goto 130 @ 0x158c
0x1468 98 rcx = sx.q([rbp - 0xe4 {var_ec_3}].d)
0x146f 99 rax = rbp - 0x70 {var_78}
0x1473 100 rcx = rcx * 0x14
0x1477 101 rax = rax + rcx
0x147a 102 rcx = sx.q([rbp - 0xe8 {var_f0_4}].d)
0x1481 103 eax = [rax + (rcx << 2)].d
0x1484 104 rcx = sx.q([rbp - 0xe8 {var_f0_4}].d)
0x148f 105 if (eax s> [rbp + (rcx << 2) - 0x70].d) then 134 @ 0x156e else 135 @ 0x1495
0x140d 106 eax = [rbp - 0xe8 {var_f0_3}].d
0x1413 107 eax = eax + 1
0x1416 108 [rbp - 0xe8 {var_f0_3}].d = eax
0x141c 109 goto 55 @ 0x12cb
0x133e 110 rcx = sx.q([rbp - 0xe4 {var_ec_2}].d)
0x1345 111 rax = rbp - 0x70 {var_78}
0x1349 112 rcx = rcx * 0x14
0x134d 113 rax = rax + rcx
0x1350 114 rcx = sx.q([rbp - 0xe8 {var_f0_3}].d)
0x1357 115 eax = [rax + (rcx << 2)].d
0x135a 116 rdx = sx.q([rbp - 0xe4 {var_ec_2}].d)
0x1361 117 rcx = rbp - 0x70 {var_78}
0x1365 118 rdx = rdx * 0x14
0x1369 119 rcx = rcx + rdx
0x136f 120 if (eax s< [rcx + 8].d) then 82 @ 0x1408 else 143 @ 0x1375
0x1687 121 eax = [rbp - 4 {var_c}].d
0x168a 122 rsp = rsp + 0xf0
0x1691 123 rbp = pop
0x1692 124 <return> jump(pop)
0x1679 125 rdi = 0x2011 {"not found\n"}
0x1680 126 al = 0
0x1682 127 call(0x1030)
0x1682 128 goto 121 @ 0x1687
0x15c8 129 if ([rbp - 0xe8 {var_f0_5}].d s>= 5) then 154 @ 0x1653 else 155 @ 0x15ce
0x158c 130 eax = [rbp - 0xe4 {var_ec_3}].d
0x1592 131 eax = eax + 1
0x1595 132 [rbp - 0xe4 {var_ec_3}].d = eax
0x159b 133 goto 54 @ 0x144b
0x156e 134 goto 161 @ 0x1573
0x1495 135 rcx = sx.q([rbp - 0xe4 {var_ec_3}].d)
0x149c 136 rax = rbp - 0x70 {var_78}
0x14a0 137 rcx = rcx * 0x14
0x14a4 138 rax = rax + rcx
0x14a7 139 rcx = sx.q([rbp - 0xe8 {var_f0_4}].d)
0x14ae 140 eax = [rax + (rcx << 2)].d
0x14b1 141 rcx = sx.q([rbp - 0xe8 {var_f0_4}].d)
0x14bc 142 if (eax s> [rbp + (rcx << 2) - 0x5c].d) then 134 @ 0x156e else 165 @ 0x14c2
0x1375 143 rcx = sx.q([rbp - 0xe4 {var_ec_2}].d)
0x137c 144 rax = rbp - 0x70 {var_78}
0x1380 145 rcx = rcx * 0x14
0x1384 146 rax = rax + rcx
0x1387 147 rcx = sx.q([rbp - 0xe8 {var_f0_3}].d)
0x138e 148 eax = [rax + (rcx << 2)].d
0x1391 149 rdx = sx.q([rbp - 0xe4 {var_ec_2}].d)
0x1398 150 rcx = rbp - 0x70 {var_78}
0x139c 151 rdx = rdx * 0x14
0x13a0 152 rcx = rcx + rdx
0x13a6 153 if (eax s< [rcx + 0xc].d) then 82 @ 0x1408 else 173 @ 0x13ac
0x1653 154 goto 184 @ 0x1658
0x15ce 155 rcx = sx.q([rbp - 0xe4 {var_ec_4}].d)
0x15d5 156 rax = rbp - 0xe0 {var_e8}
0x15dc 157 rcx = rcx * 0x14
0x15e0 158 rax = rax + rcx
0x15e3 159 rcx = sx.q([rbp - 0xe8 {var_f0_5}].d)
0x15ee 160 if ([rax + (rcx << 2)].d != 2) then 188 @ 0x163a else 189 @ 0x15f4
0x1573 161 eax = [rbp - 0xe8 {var_f0_4}].d
0x1579 162 eax = eax + 1
0x157c 163 [rbp - 0xe8 {var_f0_4}].d = eax
0x1582 164 goto 77 @ 0x1462
0x14c2 165 rcx = sx.q([rbp - 0xe4 {var_ec_3}].d)
0x14c9 166 rax = rbp - 0x70 {var_78}
0x14cd 167 rcx = rcx * 0x14
0x14d1 168 rax = rax + rcx
0x14d4 169 rcx = sx.q([rbp - 0xe8 {var_f0_4}].d)
0x14db 170 eax = [rax + (rcx << 2)].d
0x14de 171 rcx = sx.q([rbp - 0xe8 {var_f0_4}].d)
0x14e9 172 if (eax s> [rbp + (rcx << 2) - 0x48].d) then 134 @ 0x156e else 204 @ 0x14ef
0x13ac 173 rcx = sx.q([rbp - 0xe4 {var_ec_2}].d)
0x13b3 174 rax = rbp - 0x70 {var_78}
0x13b7 175 rcx = rcx * 0x14
0x13bb 176 rax = rax + rcx
0x13be 177 rcx = sx.q([rbp - 0xe8 {var_f0_3}].d)
0x13c5 178 eax = [rax + (rcx << 2)].d
0x13c8 179 rdx = sx.q([rbp - 0xe4 {var_ec_2}].d)
0x13cf 180 rcx = rbp - 0x70 {var_78}
0x13d3 181 rdx = rdx * 0x14
0x13d7 182 rcx = rcx + rdx
0x13dd 183 if (eax s< [rcx + 0x10].d) then 82 @ 0x1408 else 212 @ 0x13e3
0x1658 184 eax = [rbp - 0xe4 {var_ec_4}].d
0x165e 185 eax = eax + 1
0x1661 186 [rbp - 0xe4 {var_ec_4}].d = eax
0x1667 187 goto 76 @ 0x15b1
0x163a 188 goto 221 @ 0x163f
0x15f4 189 esi = [rbp - 0xe4 {var_ec_4}].d
0x15fa 190 esi = esi + 1
0x15fd 191 edx = [rbp - 0xe8 {var_f0_5}].d
0x1603 192 edx = edx + 1
0x1606 193 rcx = sx.q([rbp - 0xe4 {var_ec_4}].d)
0x160d 194 rax = rbp - 0x70 {var_78}
0x1611 195 rcx = rcx * 0x14
0x1615 196 rax = rax + rcx
0x1618 197 rcx = sx.q([rbp - 0xe8 {var_f0_5}].d)
0x161f 198 ecx = [rax + (rcx << 2)].d
0x1622 199 rdi = 0x2007 {"%d %d %d\n"}
0x1629 200 al = 0
0x162b 201 call(0x1030)
0x1630 202 [rbp - 0xec {var_f4}].d = 1
0x1630 203 goto 188 @ 0x163a
0x14ef 204 rcx = sx.q([rbp - 0xe4 {var_ec_3}].d)
0x14f6 205 rax = rbp - 0x70 {var_78}
0x14fa 206 rcx = rcx * 0x14
0x14fe 207 rax = rax + rcx
0x1501 208 rcx = sx.q([rbp - 0xe8 {var_f0_4}].d)
0x1508 209 eax = [rax + (rcx << 2)].d
0x150b 210 rcx = sx.q([rbp - 0xe8 {var_f0_4}].d)
0x1516 211 if (eax s> [rbp + (rcx << 2) - 0x34].d) then 134 @ 0x156e else 225 @ 0x151c
0x13e3 212 rcx = sx.q([rbp - 0xe4 {var_ec_2}].d)
0x13ea 213 rax = rbp - 0xe0 {var_e8}
0x13f1 214 rcx = rcx * 0x14
0x13f5 215 rax = rax + rcx
0x13f8 216 rcx = sx.q([rbp - 0xe8 {var_f0_3}].d)
0x13ff 217 edx = [rax + (rcx << 2)].d
0x1402 218 edx = edx + 1
0x1405 219 [rax + (rcx << 2)].d = edx
0x1405 220 goto 82 @ 0x1408
0x163f 221 eax = [rbp - 0xe8 {var_f0_5}].d
0x1645 222 eax = eax + 1
0x1648 223 [rbp - 0xe8 {var_f0_5}].d = eax
0x164e 224 goto 129 @ 0x15c8
0x151c 225 rcx = sx.q([rbp - 0xe4 {var_ec_3}].d)
0x1523 226 rax = rbp - 0x70 {var_78}
0x1527 227 rcx = rcx * 0x14
0x152b 228 rax = rax + rcx
0x152e 229 rcx = sx.q([rbp - 0xe8 {var_f0_4}].d)
0x1535 230 eax = [rax + (rcx << 2)].d
0x1538 231 rcx = sx.q([rbp - 0xe8 {var_f0_4}].d)
0x1543 232 if (eax s> [rbp + (rcx << 2) - 0x20].d) then 134 @ 0x156e else 233 @ 0x1549
0x1549 233 rcx = sx.q([rbp - 0xe4 {var_ec_3}].d)
0x1550 234 rax = rbp - 0xe0 {var_e8}
0x1557 235 rcx = rcx * 0x14
0x155b 236 rax = rax + rcx
0x155e 237 rcx = sx.q([rbp - 0xe8 {var_f0_4}].d)
0x1565 238 edx = [rax + (rcx << 2)].d
0x1568 239 edx = edx + 1
0x156b 240 [rax + (rcx << 2)].d = edx
0x156b 241 goto 134 @ 0x156e
int64_t _fini():
0x1698 0 rsp = rsp - 8
0x169c 1 rsp = rsp + 8
0x16a0 2 <return> jump(pop)
| POJ_73 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
int32_t putchar(int32_t c):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UHAWAVAUATSH"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 rbp = rsp {__saved_rbp}
0x1164 2 push(r15)
0x1166 3 push(r14)
0x1168 4 push(r13)
0x116a 5 push(r12)
0x116c 6 push(rbx)
0x116d 7 rsp = rsp - 0xe8
0x1174 8 rdi = 0x2004 {"%d %d"}
0x117b 9 rsi = rbp - 0x30 {var_38}
0x117f 10 rdx = rbp - 0x38 {var_40}
0x1183 11 eax = 0
0x1185 12 call(0x1040)
0x118a 13 [rbp - 0x98 {var_a0}].q = rsp {var_118}
0x1191 14 eax = [rbp - 0x30 {var_38}].d
0x1194 15 edx = [rbp - 0x38 {var_40}].d
0x1197 16 rcx = rdx
0x119a 17 [rbp - 0x68 {var_70}].q = rdx
0x119e 18 rax = rax * rdx
0x11a2 19 rax = (rax << 2) + 0xf
0x11aa 20 rax = rax & 0xfffffffffffffff0
0x11ae 21 rcx = rsp {var_118}
0x11b1 22 rcx = rcx - rax
0x11b4 23 [rbp - 0x60 {var_68}].q = rcx
0x11b8 24 rsp = rcx
0x11bb 25 ecx = [rbp - 0x30 {var_38}].d
0x11c0 26 if (ecx s<= 0) then 27 @ 0x1233 else 45 @ 0x11c2
0x1233 27 rdi = 0x2004 {"%d %d"}
0x123a 28 rsi = rbp - 0x44 {var_4c}
0x123e 29 rdx = rbp - 0x34 {var_3c}
0x1242 30 eax = 0
0x1244 31 call(0x1040)
0x1249 32 eax = [rbp - 0x44 {var_4c}].d
0x124c 33 edx = [rbp - 0x34 {var_3c}].d
0x124f 34 rcx = rax
0x1252 35 rcx = rcx * rdx
0x1256 36 rcx = (rcx << 2) + 0xf
0x125e 37 rcx = rcx & 0xfffffffffffffff0
0x1262 38 rsi = rsp
0x1265 39 rsi = rsi - rcx
0x1268 40 [rbp - 0x50 {var_58}].q = rsi
0x126c 41 rsp = rsi
0x126f 42 r9 = rdx
0x1272 43 [rbp - 0x58 {var_60}].q = rdx
0x1278 44 if (eax s<= 0) then 53 @ 0x12e6 else 62 @ 0x127a
0x11c2 45 eax = [rbp - 0x38 {var_40}].d
0x11c5 46 rdx = [rbp - 0x68 {var_70}].q
0x11c9 47 rdx = rdx << 2
0x11d1 48 [rbp - 0x40 {var_48_1}].q = rdx
0x11d5 49 r14 = 0x2007 {"%d"}
0x11dc 50 r12 = [rbp - 0x60 {var_68}].q
0x11e0 51 r13d = 0
0x11e3 52 goto 69 @ 0x1202
0x12e6 53 edi = [rbp - 0x30 {var_38}].d
0x12e9 54 rax = r9
0x12ec 55 rax = rax * rdi
0x12f0 56 rax = (rax << 2) + 0xf
0x12f8 57 rax = rax & 0xfffffffffffffff0
0x12fc 58 rcx = rsp
0x12ff 59 rcx = rcx - rax
0x1302 60 rsp = rcx
0x1307 61 if (edi s<= 0) then 70 @ 0x17fc else 80 @ 0x130d
0x127a 62 rdx = [rbp - 0x58 {var_60}].q
0x127e 63 rcx = rdx << 2
0x1286 64 [rbp - 0x40 {var_48_2}].q = rcx
0x128a 65 r14 = 0x2007 {"%d"}
0x1291 66 r12 = [rbp - 0x50 {var_58}].q
0x1295 67 r13d = 0
0x1298 68 goto 125 @ 0x12b2
0x1202 69 if (eax s<= 0) then 126 @ 0x11f0 else 130 @ 0x1204
0x17fc 70 rsp = [rbp - 0x98].q
0x1803 71 eax = 0
0x1805 72 rsp = rbp - 0x28
0x1809 73 rbx = pop
0x180a 74 r12 = pop
0x180c 75 r13 = pop
0x180e 76 r14 = pop
0x1810 77 r15 = pop
0x1812 78 rbp = pop
0x1813 79 <return> jump(pop)
0x130d 80 [rbp - 0x88 {var_90_1}].q = rcx
0x1314 81 [rbp - 0x90 {var_98_1}].q = rdx
0x131b 82 edx = [rbp - 0x38 {var_40}].d
0x1322 83 r8b = rdx u>= 8
0x1326 84 ecx = edx
0x1328 85 ecx = ecx & 0xfffffff8
0x132b 86 [rbp - 0xe0 {var_e8_1}].q = rcx
0x1332 87 rcx = rcx - 8
0x1336 88 [rbp - 0xd8 {var_e0_1}].q = rcx
0x133d 89 rcx = rcx u>> 3
0x1341 90 rcx = rcx + 1
0x1345 91 rbx = [rbp - 0x58 {var_60}].q
0x134c 92 al = ebx == 1
0x134f 93 al = al & r8b
0x1352 94 [rbp - 0x29 {var_31_1}].b = al
0x1355 95 rax = rcx
0x1358 96 [rbp - 0xd0 {var_d8_1}].q = rcx
0x135f 97 rcx = rcx & 0xfffffffffffffffe
0x1363 98 [rbp - 0xc8 {var_d0_1}].q = rcx
0x136a 99 [rbp - 0x40 {var_48_3}].q = rdx
0x136e 100 edx = edx & 3
0x1371 101 [rbp - 0xf0 {var_f8_1}].q = rdx
0x1378 102 r11 = [rbp - 0x60 {var_68}].q
0x137c 103 r8 = r11 + 0x30
0x1380 104 rax = [rbp - 0x68 {var_70}].q
0x1384 105 rax = rax << 2
0x138c 106 [rbp - 0xa8 {var_b0_1}].q = rax
0x1393 107 r15 = rbx
0x1396 108 r15 = r15 << 5
0x139a 109 rax = [rbp - 0x50 {var_58}].q
0x139e 110 rax = rax + 0x10
0x13a2 111 [rbp - 0xa0 {var_a8_1}].q = rax
0x13a9 112 rax = rbx
0x13ac 113 rax = rax << 6
0x13b0 114 [rbp - 0xc0 {var_c8_1}].q = rax
0x13b7 115 rax = rbx
0x13ba 116 rax = rax << 4
0x13be 117 [rbp - 0xe8 {var_f0_1}].q = rax
0x13c5 118 r10 = rbx << 2
0x13cd 119 eax = 0
0x13cf 120 [rbp - 0x70 {var_78_1}].q = rax
0x13d3 121 [rbp - 0x78 {var_80_1}].q = r9
0x13d7 122 [rbp - 0xb0 {var_b8_1}].q = rdi
0x13de 123 r13 = [rbp - 0xe8 {var_f0_1}].q
0x13e5 124 goto 133 @ 0x141c
0x12b2 125 if (edx s<= 0) then 136 @ 0x12a0 else 140 @ 0x12b4
0x11f0 126 r13 = r13 + 1
0x11f4 127 rdx = sx.q(ecx)
0x11f7 128 r12 = r12 + [rbp - 0x40 {var_48_1}].q
0x11fe 129 if (r13 s>= rdx) then 27 @ 0x1233 else 69 @ 0x1202
0x1204 130 rbx = r12
0x1207 131 r15d = 0
0x120a 132 goto 143 @ 0x1210
0x141c 133 cond:0 = [rbp - 0x90 {var_98_1}].d s<= 0
0x1423 134 rdi = [rbp - 0x40 {var_48_3}].q
0x1427 135 if (cond:0) then 151 @ 0x13f0 else 160 @ 0x1429
0x12a0 136 r13 = r13 + 1
0x12a4 137 rcx = sx.q(eax)
0x12a7 138 r12 = r12 + [rbp - 0x40 {var_48_2}].q
0x12ae 139 if (r13 s>= rcx) then 175 @ 0x12e3 else 125 @ 0x12b2
0x12b4 140 rbx = r12
0x12b7 141 r15d = 0
0x12ba 142 goto 177 @ 0x12c0
0x1210 143 rdi = r14
0x1213 144 rsi = rbx
0x1216 145 eax = 0
0x1218 146 call(0x1040)
0x121d 147 r15 = r15 + 1
0x1221 148 rax = sx.q([rbp - 0x38 {var_40}].d)
0x1225 149 rbx = rbx + 4
0x122c 150 if (r15 s< rax) then 143 @ 0x1210 else 185 @ 0x122e
0x13f0 151 rcx = [rbp - 0x70 {var_78_1}].q
0x13f4 152 rcx = rcx + 1
0x13f8 153 rax = [rbp - 0xa8 {var_b0_1}].q
0x13ff 154 r8 = r8 + rax
0x1402 155 r11 = r11 + rax
0x1405 156 rdi = [rbp - 0xb0 {var_b8_1}].q
0x140c 157 rax = rcx
0x140f 158 [rbp - 0x70 {var_78_1}].q = rcx
0x1416 159 if (rcx == rdi) then 187 @ 0x1761 else 133 @ 0x141c
0x1429 160 rdx = [rbp - 0x70 {var_78_1}].q
0x142d 161 rax = rdx
0x1430 162 rax = rax * r9
0x1434 163 rcx = [rbp - 0x88 {var_90_1}].q
0x143b 164 rbx = rcx + (rax << 2)
0x143f 165 rax = rdx
0x1442 166 rax = rax * [rbp - 0x68 {var_70}].q
0x1447 167 rcx = [rbp - 0x60 {var_68}].q
0x144b 168 rax = rcx + (rax << 2)
0x144f 169 [rbp - 0xb8 {var_c0_1}].q = rax
0x1456 170 rax = [rbp - 0x50 {var_58}].q
0x145a 171 rcx = [rbp - 0xa0 {var_a8_1}].q
0x1461 172 esi = 0
0x1463 173 [rbp - 0xf8 {var_100_1}].q = rbx
0x146a 174 goto 191 @ 0x14a6
0x12e3 175 r9d = edx
0x12e3 176 goto 53 @ 0x12e6
0x12c0 177 rdi = r14
0x12c3 178 rsi = rbx
0x12c6 179 eax = 0
0x12c8 180 call(0x1040)
0x12cd 181 r15 = r15 + 1
0x12d1 182 rdx = sx.q([rbp - 0x34 {var_3c}].d)
0x12d5 183 rbx = rbx + 4
0x12dc 184 if (r15 s< rdx) then 177 @ 0x12c0 else 193 @ 0x12de
0x122e 185 ecx = [rbp - 0x30 {var_38}].d
0x1231 186 goto 126 @ 0x11f0
0x1761 187 cond:1 = edi s<= 0
0x1763 188 rcx = [rbp - 0x90 {var_98_1}].q
0x176a 189 r13 = [rbp - 0x88 {var_90_1}].q
0x1771 190 if (cond:1) then 70 @ 0x17fc else 195 @ 0x1777
0x14a6 191 [rbx + (rsi << 2)].d = 0
0x14af 192 if (edi s<= 0) then 201 @ 0x1491 else 205 @ 0x14b1
0x12de 193 eax = [rbp - 0x44 {var_4c}].d
0x12e1 194 goto 136 @ 0x12a0
0x1777 195 r9 = r9 << 2
0x177b 196 r14 = 0x2007 {"%d"}
0x1782 197 r12d = 0xa {""}
0x1788 198 r15d = 0
0x178b 199 [rbp - 0x78 {var_80_2}].q = r9
0x178f 200 goto 210 @ 0x17b1
0x1491 201 rsi = rsi + 1
0x1495 202 rcx = rcx + 4
0x1499 203 rax = rax + 4
0x14a0 204 if (rsi == r9) then 151 @ 0x13f0 else 191 @ 0x14a6
0x14b1 205 cond:2 = [rbp - 0x29 {var_31_1}].b == 0
0x14b5 206 [rbp - 0x80 {var_88_1}].q = rax
0x14b9 207 [rbp - 0x108 {var_110_1}].q = rcx
0x14c0 208 [rbp - 0x100 {var_108_1}].q = rsi
0x14c7 209 if (cond:2) then 211 @ 0x1680 else 214 @ 0x14d5
0x17b1 210 if (ecx s<= 0) then 215 @ 0x17a0 else 219 @ 0x17b3
0x1680 211 ebx = 0
0x1682 212 r14d = 0
0x1682 213 goto 221 @ 0x1685
0x14d5 214 if ([rbp - 0xd8 {var_e0_1}].q == 0) then 226 @ 0x1745 else 230 @ 0x14db
0x17a0 215 r15 = r15 + 1
0x17a4 216 rax = sx.q(edi)
0x17a7 217 r13 = r13 + r9
0x17ad 218 if (r15 s>= rax) then 70 @ 0x17fc else 210 @ 0x17b1
0x17b3 219 ebx = 0
0x17bf 220 goto 236 @ 0x17c0
0x1685 221 rax = rbx
0x1688 222 rax = not.q(rax)
0x168b 223 rax = rax + rdi
0x168e 224 rsi = [rbp - 0xf0 {var_f8_1}].q
0x1698 225 if (rsi == 0) then 245 @ 0x16cb else 246 @ 0x169a
0x1745 226 xmm0 = 0
0x1749 227 ebx = 0
0x174b 228 xmm1 = 0
0x1756 229 if (([rbp - 0xd0 {var_d8_1}].b & 1) != 0) then 251 @ 0x15dd else 276 @ 0x175c
0x14db 230 xmm0 = 0
0x14df 231 rax = [rbp - 0xc8 {var_d0_1}].q
0x14e6 232 ebx = 0
0x14e8 233 xmm1 = 0
0x14ec 234 rdx = [rbp - 0xc0 {var_c8_1}].q
0x14fd 235 goto 277 @ 0x1500
0x17c0 236 esi = [r13 + (rbx << 2)].d
0x17c5 237 rdi = r14
0x17c8 238 eax = 0
0x17ca 239 call(0x1030)
0x17cf 240 eax = [rbp - 0x34 {var_3c}].d
0x17d2 241 eax = eax - 1
0x17d5 242 cond:3 = rbx == rax
0x17d8 243 edi = 0x20 {"@"}
0x17dd 244 if (cond:3) then 322 else 324 @ 0x17e1
0x16cb 245 if (rax u< 3) then 328 @ 0x1470 else 335 @ 0x16d1
0x169a 246 rcx = [rbp - 0x58 {var_60}].q
0x169e 247 rcx = rcx * rbx
0x16a2 248 rdx = [rbp - 0x80 {var_88_1}].q
0x16a6 249 rcx = rdx + (rcx << 2)
0x16aa 250 goto 345 @ 0x16b0
0x15dd 251 rax = [rbp - 0x50 {var_58}].q
0x15e1 252 rax = rax + (rsi << 2)
0x15e5 253 rcx = [rbp - 0xb8 {var_c0_1}].q
0x15ec 254 xmm2 = [rcx + (rbx << 2)].o
0x15f1 255 xmm3 = [rcx + (rbx << 2) + 0x10].o
0x15f7 256 rbx = rbx * [rbp - 0x58 {var_60}].q
0x15fc 257 xmm4 = [rax + (rbx << 2)].o
0x1601 258 xmm5 = [rax + (rbx << 2) + 0x10].o
0x1607 259 xmm6 = _mm_shuffle_epi32(xmm4, 0xf5)
0x160c 260 xmm4 = _mm_mul_epu32(xmm4, xmm2)
0x1610 261 xmm4 = _mm_shuffle_epi32(xmm4, 0xe8)
0x1615 262 xmm2 = _mm_shuffle_epi32(xmm2, 0xf5)
0x161a 263 xmm2 = _mm_mul_epu32(xmm2, xmm6)
0x161e 264 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8)
0x1623 265 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q)
0x1627 266 xmm0 = _mm_add_epi32(xmm0, xmm4)
0x162b 267 xmm2 = _mm_shuffle_epi32(xmm5, 0xf5)
0x1630 268 xmm5 = _mm_mul_epu32(xmm5, xmm3)
0x1634 269 xmm4 = _mm_shuffle_epi32(xmm5, 0xe8)
0x1639 270 xmm3 = _mm_shuffle_epi32(xmm3, 0xf5)
0x163e 271 xmm3 = _mm_mul_epu32(xmm3, xmm2)
0x1642 272 xmm2 = _mm_shuffle_epi32(xmm3, 0xe8)
0x1647 273 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q)
0x164b 274 xmm1 = _mm_add_epi32(xmm1, xmm4)
0x164b 275 goto 353 @ 0x164f
0x175c 276 goto 353 @ 0x164f
0x1500 277 xmm3 = [rcx - 0x10].o
0x1505 278 xmm4 = [rcx].o
0x1509 279 xmm5 = [r8 + (rbx << 2) - 0x30].o
0x1510 280 xmm6 = [r8 + (rbx << 2) - 0x20].o
0x1517 281 xmm7 = [r8 + (rbx << 2) - 0x10].o
0x151e 282 xmm8 = [r8 + (rbx << 2)].o
0x1524 283 xmm2 = _mm_shuffle_epi32(xmm3, 0xf5)
0x1529 284 xmm3 = _mm_mul_epu32(xmm3, xmm5)
0x152d 285 xmm3 = _mm_shuffle_epi32(xmm3, 0xe8)
0x1532 286 xmm5 = _mm_shuffle_epi32(xmm5, 0xf5)
0x1537 287 xmm5 = _mm_mul_epu32(xmm5, xmm2)
0x153b 288 xmm2 = _mm_shuffle_epi32(xmm5, 0xe8)
0x1540 289 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q)
0x1544 290 xmm3 = _mm_add_epi32(xmm3, xmm0)
0x1548 291 xmm0 = _mm_shuffle_epi32(xmm4, 0xf5)
0x154d 292 xmm4 = _mm_mul_epu32(xmm4, xmm6)
0x1551 293 xmm4 = _mm_shuffle_epi32(xmm4, 0xe8)
0x1556 294 xmm2 = _mm_shuffle_epi32(xmm6, 0xf5)
0x155b 295 xmm2 = _mm_mul_epu32(xmm2, xmm0)
0x155f 296 xmm0 = _mm_shuffle_epi32(xmm2, 0xe8)
0x1564 297 xmm4 = _mm_unpacklo_epi32(xmm4, xmm0.q)
0x1568 298 xmm4 = _mm_add_epi32(xmm4, xmm1)
0x156c 299 xmm0 = [rcx + r15 - 0x10].o
0x1573 300 xmm1 = [rcx + r15].o
0x1579 301 xmm2 = _mm_shuffle_epi32(xmm0, 0xf5)
0x157e 302 xmm0 = _mm_mul_epu32(xmm0, xmm7)
0x1582 303 xmm0 = _mm_shuffle_epi32(xmm0, 0xe8)
0x1587 304 xmm5 = _mm_shuffle_epi32(xmm7, 0xf5)
0x158c 305 xmm5 = _mm_mul_epu32(xmm5, xmm2)
0x1590 306 xmm2 = _mm_shuffle_epi32(xmm5, 0xe8)
0x1595 307 xmm0 = _mm_unpacklo_epi32(xmm0, xmm2.q)
0x1599 308 xmm0 = _mm_add_epi32(xmm0, xmm3)
0x159d 309 xmm2 = _mm_shuffle_epi32(xmm1, 0xf5)
0x15a2 310 xmm1 = _mm_mul_epu32(xmm1, xmm8)
0x15a7 311 xmm1 = _mm_shuffle_epi32(xmm1, 0xe8)
0x15ac 312 xmm3 = _mm_shuffle_epi32(xmm8, 0xf5)
0x15b2 313 xmm3 = _mm_mul_epu32(xmm3, xmm2)
0x15b6 314 xmm2 = _mm_shuffle_epi32(xmm3, 0xe8)
0x15bb 315 xmm1 = _mm_unpacklo_epi32(xmm1, xmm2.q)
0x15bf 316 xmm1 = _mm_add_epi32(xmm1, xmm4)
0x15c3 317 rbx = rbx + 0x10
0x15c7 318 rcx = rcx + rdx
0x15ca 319 temp0.q = rax
0x15ca 320 rax = rax - 2
0x15ce 321 if (temp0.q != 2) then 277 @ 0x1500 else 362 @ 0x15db
0x17dd 322 edi = r12d
0x17dd 323 goto 324 @ 0x17e1
0x17e1 324 call(0x1050)
0x17e6 325 rbx = rbx + 1
0x17ea 326 rcx = sx.q([rbp - 0x34 {var_3c}].d)
0x17f1 327 if (rbx s< rcx) then 236 @ 0x17c0 else 363 @ 0x17f3
0x1470 328 rbx = [rbp - 0xf8 {var_100_1}].q
0x1477 329 rsi = [rbp - 0x100 {var_108_1}].q
0x147e 330 [rbx + (rsi << 2)].d = r14d
0x1482 331 r9 = [rbp - 0x78 {var_80_1}].q
0x1486 332 rax = [rbp - 0x80 {var_88_1}].q
0x148a 333 rcx = [rbp - 0x108 {var_110_1}].q
0x148a 334 goto 201 @ 0x1491
0x16d1 335 rax = rbx + 3
0x16d5 336 rax = rax * r10
0x16d9 337 rcx = rbx + 1
0x16dd 338 rcx = rcx * r10
0x16e1 339 r12 = rbx + 2
0x16e5 340 r12 = r12 * r10
0x16e9 341 r9 = r10
0x16ec 342 r9 = r9 * rbx
0x16f0 343 rsi = [rbp - 0x80 {var_88_1}].q
0x16fe 344 goto 366 @ 0x1700
0x16b0 345 edx = [rcx].d
0x16b2 346 edx = edx * [r11 + (rbx << 2)].d
0x16b7 347 r14d = r14d + edx
0x16ba 348 rbx = rbx + 1
0x16be 349 rcx = rcx + r10
0x16c1 350 temp1.q = rsi
0x16c1 351 rsi = rsi - 1
0x16c5 352 if (temp1.q != 1) then 345 @ 0x16b0 else 245 @ 0x16cb
0x164f 353 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x1653 354 xmm1 = _mm_shuffle_epi32(xmm0, 0xee)
0x1658 355 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x165c 356 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x1661 357 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x1665 358 r14d = xmm0.d
0x166a 359 rax = [rbp - 0xe0 {var_e8_1}].q
0x1671 360 rbx = rax
0x1677 361 if (rax == rdi) then 328 @ 0x1470 else 382 @ 0x167d
0x15db 362 if (([rbp - 0xd0 {var_d8_1}].b & 1) == 0) then 353 @ 0x164f else 251 @ 0x15dd
0x17f3 363 edi = [rbp - 0x30 {var_38}].d
0x17f6 364 r9 = [rbp - 0x78 {var_80_2}].q
0x17fa 365 goto 215 @ 0x17a0
0x1700 366 edx = [rsi + r9].d
0x1704 367 edx = edx * [r11 + (rbx << 2)].d
0x1709 368 edx = edx + r14d
0x170c 369 edi = [rsi + rcx].d
0x170f 370 edi = edi * [r11 + (rbx << 2) + 4].d
0x1715 371 edi = edi + edx
0x1717 372 edx = [rsi + r12].d
0x171b 373 edx = edx * [r11 + (rbx << 2) + 8].d
0x1721 374 edx = edx + edi
0x1723 375 rdi = [rbp - 0x40 {var_48_3}].q
0x1727 376 r14d = [rsi + rax].d
0x172b 377 r14d = r14d * [r11 + (rbx << 2) + 0xc].d
0x1731 378 r14d = r14d + edx
0x1734 379 rbx = rbx + 4
0x1738 380 rsi = rsi + r13
0x173e 381 if (rdi != rbx) then 366 @ 0x1700 else 383 @ 0x1740
0x167d 382 goto 221 @ 0x1685
0x1740 383 goto 328 @ 0x1470
int64_t _fini():
0x1818 0 rsp = rsp - 8
0x181c 1 rsp = rsp + 8
0x1820 2 <return> jump(pop)
| POJ_63 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
uint64_t strlen(char const* arg1):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UHH"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 rbp = rsp {__saved_rbp}
0x1164 2 rsp = rsp - 0xf0
0x116b 3 [rbp - 4 {var_c}].d = 0
0x1172 4 [rbp - 0xe4 {var_ec}].d = 1
0x117c 5 [rbp - 0xe8 {var_f0}].d = 1
0x1186 6 [rbp - 0xec {var_f4}].d = 1
0x1190 7 [rbp - 0xf0 {var_f8}].d = 0
0x119a 8 rsi = rbp - 0x70 {var_78}
0x119e 9 rdi = 0x2008 {"%s"}
0x11a5 10 al = 0
0x11a7 11 call(0x1050)
0x11ac 12 rdi = rbp - 0x70 {var_78}
0x11b0 13 call(0x1040)
0x11b9 14 if (rax u>= 2) then 15 @ 0x11d6 else 18 @ 0x11bf
0x11d6 15 rdi = rbp - 0x70 {var_78}
0x11da 16 call(0x1040)
0x11e3 17 if (rax u>= 3) then 23 @ 0x1233 else 32 @ 0x11e9
0x11bf 18 esi = sx.d([rbp - 0x70 {var_78}].b)
0x11c3 19 rdi = 0x200b {"0\n%c"}
0x11ca 20 al = 0
0x11cc 21 call(0x1030)
0x11d1 22 goto 70 @ 0x140b
0x1233 23 eax = sx.d([rbp - 0x70 {var_78}].b)
0x1237 24 eax = eax - 0x30
0x123a 25 [rbp - 0xe4 {var_ec_1}].d = eax
0x1240 26 eax = [rbp - 0xe4 {var_ec_1}].d * 0xa
0x1247 27 ecx = sx.d([rbp - 0x6f {var_77}].b)
0x124b 28 ecx = ecx - 0x30
0x124e 29 eax = eax + ecx
0x1250 30 [rbp - 0xe4 {var_ec_2}].d = eax
0x125d 31 if ([rbp - 0xe4 {var_ec_2}].d s>= 0xd) then 74 @ 0x1322 else 105 @ 0x1263
0x11e9 32 eax = sx.d([rbp - 0x70 {var_78}].b)
0x11ed 33 eax = eax - 0x30
0x11f0 34 eax = eax * 0xa
0x11f3 35 ecx = sx.d([rbp - 0x6f {var_77}].b)
0x11f7 36 ecx = ecx - 0x30
0x11fa 37 eax = eax + ecx
0x11fc 38 [rbp - 0xec {var_f4_1}].d = eax
0x1202 39 eax = [rbp - 0xec {var_f4_1}].d
0x1208 40 ecx = 0xd {""}
0x120d 41 temp2.d:temp3.d = sx.q(eax)
0x120d 42 edx = temp2.d
0x120d 43 eax = temp3.d
0x120e 44 temp4.d = edx
0x120e 45 temp5.d = eax
0x120e 46 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x120e 47 temp6.d = edx
0x120e 48 temp7.d = eax
0x120e 49 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x120e 50 eax = temp0.d
0x120e 51 edx = temp1.d
0x1210 52 esi = eax
0x1212 53 eax = [rbp - 0xec {var_f4_1}].d
0x1218 54 ecx = 0xd {""}
0x121d 55 temp8.d:temp9.d = sx.q(eax)
0x121d 56 edx = temp8.d
0x121d 57 eax = temp9.d
0x121e 58 temp10.d = edx
0x121e 59 temp11.d = eax
0x121e 60 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx)
0x121e 61 temp12.d = edx
0x121e 62 temp13.d = eax
0x121e 63 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx)
0x121e 64 eax = temp0.d
0x121e 65 edx = temp1.d
0x1220 66 rdi = 0x2010 {"%d\n%d"}
0x1227 67 al = 0
0x1229 68 call(0x1030)
0x122e 69 goto 121 @ 0x1406
0x140b 70 eax = 0
0x140d 71 rsp = rsp + 0xf0
0x1414 72 rbp = pop
0x1415 73 <return> jump(pop)
0x1322 74 eax = [rbp - 0xe4 {var_ec_2}].d
0x1328 75 ecx = 0xd {""}
0x132d 76 temp14.d:temp15.d = sx.q(eax)
0x132d 77 edx = temp14.d
0x132d 78 eax = temp15.d
0x132e 79 temp16.d = edx
0x132e 80 temp17.d = eax
0x132e 81 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx)
0x132e 82 temp18.d = edx
0x132e 83 temp19.d = eax
0x132e 84 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx)
0x132e 85 eax = temp0.d
0x132e 86 edx = temp1.d
0x1330 87 eax = eax + 0x30
0x1333 88 [rbp - 0xe0 {var_e8}].b = al
0x1339 89 eax = [rbp - 0xe4 {var_ec_2}].d
0x133f 90 ecx = 0xd {""}
0x1344 91 temp20.d:temp21.d = sx.q(eax)
0x1344 92 edx = temp20.d
0x1344 93 eax = temp21.d
0x1345 94 temp22.d = edx
0x1345 95 temp23.d = eax
0x1345 96 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx)
0x1345 97 temp24.d = edx
0x1345 98 temp25.d = eax
0x1345 99 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx)
0x1345 100 eax = temp0.d
0x1345 101 edx = temp1.d
0x1347 102 [rbp - 0xe4 {var_ec_3}].d = edx
0x134d 103 [rbp - 0xf0 {var_f8_2}].d = 1
0x134d 104 goto 122 @ 0x1357
0x1263 105 eax = [rbp - 0xe4 {var_ec_2}].d
0x1269 106 ecx = 0xd {""}
0x126e 107 temp26.d:temp27.d = sx.q(eax)
0x126e 108 edx = temp26.d
0x126e 109 eax = temp27.d
0x126f 110 temp28.d = edx
0x126f 111 temp29.d = eax
0x126f 112 temp0.d = divs.dp.d(temp28.d:temp29.d, ecx)
0x126f 113 temp30.d = edx
0x126f 114 temp31.d = eax
0x126f 115 temp1.d = mods.dp.d(temp30.d:temp31.d, ecx)
0x126f 116 eax = temp0.d
0x126f 117 edx = temp1.d
0x1271 118 [rbp - 0xe4 {var_ec_3}].d = edx
0x1277 119 [rbp - 0xf0 {var_f8_1}].d = 1
0x1277 120 goto 127 @ 0x1281
0x1406 121 goto 70 @ 0x140b
0x1357 122 eax = [rbp - 0xf0 {var_f8_2}].d
0x135d 123 eax = eax + 1
0x1360 124 rax = sx.q(eax)
0x1362 125 eax = sx.d([rbp + rax - 0x70].b)
0x136a 126 if (eax == 0) then 132 @ 0x13dc else 135 @ 0x1370
0x1281 127 eax = [rbp - 0xf0 {var_f8_1}].d
0x1287 128 eax = eax + 1
0x128a 129 rax = sx.q(eax)
0x128c 130 eax = sx.d([rbp + rax - 0x70].b)
0x1294 131 if (eax == 0) then 178 @ 0x130a else 183 @ 0x129a
0x13dc 132 rax = sx.q([rbp - 0xf0 {var_f8_2}].d)
0x13e3 133 [rbp + rax - 0xe0].b = 0
0x13e3 134 goto 228 @ 0x13eb
0x1370 135 eax = [rbp - 0xe4 {var_ec_3}].d * 0xa
0x1377 136 ecx = [rbp - 0xf0 {var_f8_2}].d
0x137d 137 ecx = ecx + 1
0x1380 138 rcx = sx.q(ecx)
0x1383 139 ecx = sx.d([rbp + rcx - 0x70].b)
0x1388 140 ecx = ecx - 0x30
0x138b 141 eax = eax + ecx
0x138d 142 [rbp - 0xe4 {var_ec_5}].d = eax
0x1393 143 eax = [rbp - 0xe4 {var_ec_5}].d
0x1399 144 ecx = 0xd {""}
0x139e 145 temp32.d:temp33.d = sx.q(eax)
0x139e 146 edx = temp32.d
0x139e 147 eax = temp33.d
0x139f 148 temp34.d = edx
0x139f 149 temp35.d = eax
0x139f 150 temp0.d = divs.dp.d(temp34.d:temp35.d, ecx)
0x139f 151 temp36.d = edx
0x139f 152 temp37.d = eax
0x139f 153 temp1.d = mods.dp.d(temp36.d:temp37.d, ecx)
0x139f 154 eax = temp0.d
0x139f 155 edx = temp1.d
0x13a1 156 eax = eax + 0x30
0x13a4 157 cl = al
0x13a6 158 rax = sx.q([rbp - 0xf0 {var_f8_2}].d)
0x13ad 159 [rbp + rax - 0xe0].b = cl
0x13b4 160 eax = [rbp - 0xe4 {var_ec_5}].d
0x13ba 161 ecx = 0xd {""}
0x13bf 162 temp38.d:temp39.d = sx.q(eax)
0x13bf 163 edx = temp38.d
0x13bf 164 eax = temp39.d
0x13c0 165 temp40.d = edx
0x13c0 166 temp41.d = eax
0x13c0 167 temp0.d = divs.dp.d(temp40.d:temp41.d, ecx)
0x13c0 168 temp42.d = edx
0x13c0 169 temp43.d = eax
0x13c0 170 temp1.d = mods.dp.d(temp42.d:temp43.d, ecx)
0x13c0 171 eax = temp0.d
0x13c0 172 edx = temp1.d
0x13c2 173 [rbp - 0xe4 {var_ec_3}].d = edx
0x13c8 174 eax = [rbp - 0xf0 {var_f8_2}].d
0x13ce 175 eax = eax + 1
0x13d1 176 [rbp - 0xf0 {var_f8_2}].d = eax
0x13d7 177 goto 122 @ 0x1357
0x130a 178 eax = [rbp - 0xf0 {var_f8_1}].d
0x1310 179 eax = eax - 1
0x1313 180 rax = sx.q(eax)
0x1315 181 [rbp + rax - 0xe0].b = 0
0x131d 182 goto 228 @ 0x13eb
0x129a 183 eax = [rbp - 0xe4 {var_ec_3}].d * 0xa
0x12a1 184 ecx = [rbp - 0xf0 {var_f8_1}].d
0x12a7 185 ecx = ecx + 1
0x12aa 186 rcx = sx.q(ecx)
0x12ad 187 ecx = sx.d([rbp + rcx - 0x70].b)
0x12b2 188 ecx = ecx - 0x30
0x12b5 189 eax = eax + ecx
0x12b7 190 [rbp - 0xe4 {var_ec_4}].d = eax
0x12bd 191 eax = [rbp - 0xe4 {var_ec_4}].d
0x12c3 192 ecx = 0xd {""}
0x12c8 193 temp44.d:temp45.d = sx.q(eax)
0x12c8 194 edx = temp44.d
0x12c8 195 eax = temp45.d
0x12c9 196 temp46.d = edx
0x12c9 197 temp47.d = eax
0x12c9 198 temp0.d = divs.dp.d(temp46.d:temp47.d, ecx)
0x12c9 199 temp48.d = edx
0x12c9 200 temp49.d = eax
0x12c9 201 temp1.d = mods.dp.d(temp48.d:temp49.d, ecx)
0x12c9 202 eax = temp0.d
0x12c9 203 edx = temp1.d
0x12cb 204 eax = eax + 0x30
0x12ce 205 cl = al
0x12d0 206 eax = [rbp - 0xf0 {var_f8_1}].d
0x12d6 207 eax = eax - 1
0x12d9 208 rax = sx.q(eax)
0x12db 209 [rbp + rax - 0xe0].b = cl
0x12e2 210 eax = [rbp - 0xe4 {var_ec_4}].d
0x12e8 211 ecx = 0xd {""}
0x12ed 212 temp50.d:temp51.d = sx.q(eax)
0x12ed 213 edx = temp50.d
0x12ed 214 eax = temp51.d
0x12ee 215 temp52.d = edx
0x12ee 216 temp53.d = eax
0x12ee 217 temp0.d = divs.dp.d(temp52.d:temp53.d, ecx)
0x12ee 218 temp54.d = edx
0x12ee 219 temp55.d = eax
0x12ee 220 temp1.d = mods.dp.d(temp54.d:temp55.d, ecx)
0x12ee 221 eax = temp0.d
0x12ee 222 edx = temp1.d
0x12f0 223 [rbp - 0xe4 {var_ec_3}].d = edx
0x12f6 224 eax = [rbp - 0xf0 {var_f8_1}].d
0x12fc 225 eax = eax + 1
0x12ff 226 [rbp - 0xf0 {var_f8_1}].d = eax
0x1305 227 goto 127 @ 0x1281
0x13eb 228 rsi = rbp - 0xe0 {var_e8}
0x13f2 229 edx = [rbp - 0xe4 {var_ec_3}].d
0x13f8 230 rdi = 0x2016 {"%s\n%d"}
0x13ff 231 al = 0
0x1401 232 call(0x1030)
0x1401 233 goto 121 @ 0x1406
int64_t _fini():
0x141c 0 rsp = rsp - 8
0x1420 1 rsp = rsp + 8
0x1424 2 <return> jump(pop)
| POJ_96 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int64_t memset(void* arg1, int32_t arg2, uint64_t arg3):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
int32_t putchar(int32_t c):
0x1060 0 <return> tailcall([0x4030].q)
void __cxa_finalize(void* d):
0x1070 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1084 0 ebp = 0
0x1086 1 r9 = rdx
0x1089 2 rsi = pop
0x108a 3 rdx = rsp {arg_8}
0x108d 4 rsp = rsp & 0xfffffffffffffff0
0x1091 5 push(rax)
0x1092 6 push(rsp)
0x1093 7 r8d = 0
0x1096 8 ecx = 0
0x1098 9 rdi = 0x1170 {"AWAVSHp\t"}
0x109f 10 call([0x3ff8].q)
0x109f 11 noreturn
void deregister_tm_clones():
0x10b0 0 rdi = 0x4048 {""}
0x10b7 1 rax = 0x4048 {""}
0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3
0x10d8 3 <return> jump(pop)
0x10c3 4 rax = [0x3fd8].q
0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf
0x10cf 6 <return> tailcall(rax)
void register_tm_clones():
0x10e0 0 rdi = 0x4048 {""}
0x10e7 1 rsi = 0x4048 {""}
0x10ee 2 rsi = rsi - rdi
0x10f1 3 rax = rsi
0x10f4 4 rsi = rsi u>> 0x3f
0x10f8 5 rax = rax s>> 3
0x10fc 6 rsi = rsi + rax
0x10ff 7 rsi = rsi s>> 1
0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104
0x1118 9 <return> jump(pop)
0x1104 10 rax = [0x3ff0].q
0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110
0x1110 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d
0x1158 1 <return> jump(pop)
0x112d 2 push(rbp)
0x112e 3 cond:0 = [0x3fe0].q == 0
0x1136 4 rbp = rsp {__saved_rbp}
0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b
0x1147 6 call(0x10b0)
0x114c 7 [0x4048].b = 1
0x1153 8 rbp = pop
0x1154 9 <return> jump(pop)
0x113b 10 rdi = [0x4040].q
0x1142 11 call(0x1070)
0x1142 12 goto 6 @ 0x1147
int64_t frame_dummy():
0x1164 0 <return> tailcall(0x10e0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1170 0 push(r15)
0x1172 1 push(r14)
0x1174 2 push(rbx)
0x1175 3 rsp = rsp - 0x970
0x117c 4 r15 = rsp + 0x4c0 {var_4c8}
0x1184 5 edx = 0x4b0 {"F"}
0x1189 6 rdi = r15 {var_4c8}
0x118c 7 esi = 0
0x118e 8 call(0x1040)
0x1193 9 rdi = rsp + 0x10 {var_978}
0x1198 10 edx = 0x4b0 {"F"}
0x119d 11 esi = 0
0x119f 12 call(0x1040)
0x11a4 13 rdi = 0x2004 {"%d"}
0x11ab 14 rsi = rsp + 0xc {var_97c}
0x11b0 15 eax = 0
0x11b2 16 call(0x1050)
0x11bc 17 if ([rsp + 0xc {var_97c}].d s<= 0) then 18 @ 0x12cd else 23 @ 0x11c2
0x12cd 18 rsp = rsp + 0x970
0x12d4 19 rbx = pop
0x12d5 20 r14 = pop
0x12d7 21 r15 = pop
0x12d9 22 <return> jump(pop)
0x11c2 23 r14 = 0x2004 {"%d"}
0x11c9 24 ebx = 0
0x11cb 25 goto 26 @ 0x11d0
0x11d0 26 rdi = r14
0x11d3 27 rsi = r15
0x11d6 28 eax = 0
0x11d8 29 call(0x1050)
0x11dd 30 rbx = rbx + 1
0x11e1 31 rax = sx.q([rsp + 0xc {var_97c}].d)
0x11e6 32 r15 = r15 + 4
0x11ed 33 if (rbx s< rax) then 26 @ 0x11d0 else 34 @ 0x11ef
0x11ef 34 r8d = eax
0x11f6 35 if (r8d s< 2) then 36 @ 0x1251 else 37 @ 0x11f8
0x1251 36 if (r8d s<= 0) then 18 @ 0x12cd else 42 @ 0x1257
0x11f8 37 r9d = (r8 - 1).d
0x11fc 38 rdx = rsp + 0x4c0 {var_4c8}
0x1204 39 ebx = 0
0x1206 40 rsi = r8
0x1209 41 goto 43 @ 0x121d
0x1257 42 if (r8d != 1) then 46 @ 0x12da else 51 @ 0x125d
0x121d 43 rdi = rbx
0x1220 44 rbx = rbx + 1
0x1227 45 if (rbx u>= r8) then 54 @ 0x1210 else 57 @ 0x1229
0x12da 46 esi = r8d
0x12dd 47 esi = esi & 0xfffffffe
0x12e0 48 ecx = 0
0x12e2 49 edx = 0
0x12e4 50 goto 59 @ 0x12fd
0x125d 51 ecx = 0
0x125f 52 edx = 0
0x125f 53 goto 61 @ 0x1265
0x1210 54 rdx = rdx + 4
0x1214 55 rsi = rsi - 1
0x121b 56 if (rbx == r9) then 36 @ 0x1251 else 43 @ 0x121d
0x1229 57 eax = 1
0x122e 58 goto 62 @ 0x1239
0x12fd 59 eax = [rsp + (rcx << 2) + 0x4c0].d
0x1306 60 if (eax == 0) then 64 @ 0x1312 else 66 @ 0x1308
0x1265 61 if ((r8b & 1) == 0) then 70 @ 0x127c else 71 @ 0x1267
0x1239 62 ecx = [rsp + (rdi << 2) + 0x4c0].d
0x1243 63 if (ecx != [rdx + (rax << 2)].d) then 73 @ 0x1230 else 75 @ 0x1245
0x1312 64 eax = [rsp + (rcx << 2) + 0x4c4].d
0x131b 65 if (eax == 0) then 77 @ 0x12f0 else 79 @ 0x131d
0x1308 66 rdx = sx.q(edx)
0x130b 67 [rsp + (rdx << 2) + 0x10].d = eax
0x130f 68 edx = edx + 1
0x130f 69 goto 64 @ 0x1312
0x127c 70 if (r8d s<= 0) then 18 @ 0x12cd else 83 @ 0x127e
0x1267 71 eax = [rsp + (rcx << 2) + 0x4c0].d
0x1270 72 if (eax == 0) then 70 @ 0x127c else 86 @ 0x1272
0x1230 73 rax = rax + 1
0x1237 74 if (rsi == rax) then 54 @ 0x1210 else 62 @ 0x1239
0x1245 75 [rdx + (rax << 2)].d = 0
0x124c 76 goto 73 @ 0x1230
0x12f0 77 rcx = rcx + 2
0x12f7 78 if (rsi == rcx) then 61 @ 0x1265 else 59 @ 0x12fd
0x131d 79 rdx = sx.q(edx)
0x1320 80 [rsp + (rdx << 2) + 0x10].d = eax
0x1324 81 edx = edx + 1
0x1327 82 goto 77 @ 0x12f0
0x127e 83 r14 = 0x2004 {"%d"}
0x1285 84 ebx = 0
0x1287 85 goto 89 @ 0x12a4
0x1272 86 rcx = sx.q(edx)
0x1275 87 [rsp + (rcx << 2) + 0x10].d = eax
0x1275 88 goto 70 @ 0x127c
0x12a4 89 esi = [rsp + (rbx << 2) + 0x10].d
0x12aa 90 if (esi == 0) then 91 @ 0x1290 else 94 @ 0x12ac
0x1290 91 rbx = rbx + 1
0x1294 92 r15 = rbx
0x1294 93 goto 99 @ 0x1297
0x12ac 94 rdi = r14
0x12af 95 eax = 0
0x12b1 96 call(0x1030)
0x12b6 97 r15 = rbx + 1
0x12bf 98 if ([rsp + (rbx << 2) + 0x14].d == 0) then 99 @ 0x1297 else 102 @ 0x12c1
0x1297 99 rax = sx.q([rsp + 0xc {var_97c}].d)
0x129c 100 rbx = r15
0x12a2 101 if (r15 s>= rax) then 18 @ 0x12cd else 89 @ 0x12a4
0x12c1 102 edi = 0x2c {""}
0x12c6 103 call(0x1060)
0x12cb 104 goto 99 @ 0x1297
int64_t _fini():
0x1330 0 rsp = rsp - 8
0x1334 1 rsp = rsp + 8
0x1338 2 <return> jump(pop)
| POJ_53 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
double sqrt(double x):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UAWAVAUATSHm"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 push(r15)
0x1163 2 push(r14)
0x1165 3 push(r13)
0x1167 4 push(r12)
0x1169 5 push(rbx)
0x116a 6 rsp = rsp - 0x6da8
0x1171 7 rdi = 0x2008 {"%d"}
0x1178 8 rsi = rsp + 0x14 {var_6dc4}
0x117d 9 eax = 0
0x117f 10 call(0x1040)
0x1189 11 if ([rsp + 0x14 {var_6dc4}].d s<= 0) then 12 @ 0x1425 else 21 @ 0x118f
0x1425 12 eax = 0
0x1427 13 rsp = rsp + 0x6da8
0x142e 14 rbx = pop
0x142f 15 r12 = pop
0x1431 16 r13 = pop
0x1433 17 r14 = pop
0x1435 18 r15 = pop
0x1437 19 rbp = pop
0x1438 20 <return> jump(pop)
0x118f 21 r14 = rsp + 0x40 {var_6d98}
0x1194 22 r15 = rsp + 0xfe0 {var_5df8}
0x119c 23 rbx = rsp + 0x1f80 {var_4e58}
0x11a4 24 r12 = 0x2004 {"%d%d%d"}
0x11ab 25 ebp = 0
0x11ad 26 goto 27 @ 0x11b0
0x11b0 27 rdi = r12
0x11b3 28 rsi = rbx
0x11b6 29 rdx = r15
0x11b9 30 rcx = r14
0x11bc 31 eax = 0
0x11be 32 call(0x1040)
0x11c3 33 rbp = rbp + 1
0x11c7 34 rax = sx.q([rsp + 0x14 {var_6dc4}].d)
0x11cc 35 r14 = r14 + 4
0x11d0 36 r15 = r15 + 4
0x11d4 37 rbx = rbx + 4
0x11db 38 if (rbp s< rax) then 27 @ 0x11b0 else 39 @ 0x11e0
0x11e0 39 if (eax s< 2) then 12 @ 0x1425 else 40 @ 0x11e6
0x11e6 40 r14 = rsp + 0x44 {var_6d94}
0x11eb 41 r12 = rsp + 0xfe4 {var_5df4}
0x11f3 42 r13 = rsp + 0x1f84 {var_4e54}
0x11fb 43 r9d = 0
0x11fe 44 ebx = 1
0x1203 45 xmm2 = _mm_xor_pd(xmm2, xmm2)
0x1207 46 r8d = 0
0x120a 47 goto 48 @ 0x123c
0x123c 48 rbp = r9
0x123f 49 r9 = r9 + 1
0x1243 50 rcx = sx.q(eax)
0x1249 51 if (r9 s>= rcx) then 52 @ 0x121d else 59 @ 0x124b
0x121d 52 ecx = (rax - 1).d
0x1220 53 rcx = sx.q(ecx)
0x1223 54 rbx = rbx + 1
0x1227 55 r14 = r14 + 4
0x122b 56 r12 = r12 + 4
0x122f 57 r13 = r13 + 4
0x1236 58 if (r9 s>= rcx) then 73 @ 0x1329 else 48 @ 0x123c
0x124b 59 [rsp + 0x18 {var_6dc0_1}].q = r9
0x1250 60 [rsp + 0x20 {var_6db8_1}].q = r8
0x1255 61 rax = sx.q(r8d)
0x1258 62 rdx = rsp + (rax << 3)
0x125c 63 rdx = rdx + 0x2f20
0x1263 64 rdi = rsp + (rax << 2)
0x1267 65 rdi = rdi + 0x5e00
0x126e 66 rsi = rsp + (rax << 2)
0x1272 67 rsi = rsi + 0x4e60
0x1279 68 r15d = 0
0x127c 69 [rsp + 0x38 {var_6da0_1}].q = rdx
0x1281 70 [rsp + 0x30 {var_6da8_1}].q = rdi
0x1286 71 [rsp + 0x28 {var_6db0_1}].q = rsi
0x128b 72 goto 74 @ 0x12ce
0x1329 73 if (r8d s<= 0) then 12 @ 0x1425 else 98 @ 0x132f
0x12ce 74 eax = [rsp + (rbp << 2) + 0x1f80].d
0x12d5 75 eax = eax - [r13 + (r15 << 2)].d
0x12da 76 xmm0 = 0
0x12dd 77 xmm0.q = float.d(eax)
0x12e1 78 eax = [rsp + (rbp << 2) + 0xfe0].d
0x12e8 79 eax = eax - [r12 + (r15 << 2)].d
0x12ec 80 xmm1 = 0
0x12ef 81 xmm1.q = float.d(eax)
0x12f3 82 xmm0.q = xmm0.q f* xmm0.q
0x12f7 83 xmm1.q = xmm1.q f* xmm1.q
0x12fb 84 xmm1.q = xmm1.q f+ xmm0.q
0x12ff 85 eax = [rsp + (rbp << 2) + 0x40].d
0x1303 86 eax = eax - [r14 + (r15 << 2)].d
0x1307 87 xmm0 = 0
0x130a 88 xmm0.q = float.d(eax)
0x130e 89 xmm0.q = xmm0.q f* xmm0.q
0x1312 90 xmm0.q = xmm0.q f+ xmm1.q
0x1316 91 flag:p = is_unordered.q(xmm0.q, xmm2.q)
0x1316 92 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q)
0x1316 93 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q)
0x1316 94 flag:s = 0
0x1316 95 flag:o = 0
0x1316 96 flag:a = 0
0x131a 97 if (flag:c) then 101 @ 0x1290 else 107 @ 0x1320
0x132f 98 eax = (r8 - 1).d
0x1333 99 ecx = 1
0x1338 100 goto 109 @ 0x134d
0x1290 101 call(0x1050)
0x1295 102 rsi = [rsp + 0x28 {var_6db0_1}].q
0x129a 103 rdi = [rsp + 0x30 {var_6da8_1}].q
0x129f 104 rdx = [rsp + 0x38 {var_6da0_1}].q
0x12a4 105 xmm2 = _mm_xor_pd(xmm2, xmm2)
0x12a4 106 goto 111 @ 0x12a8
0x1320 107 xmm0 = _mm_sqrt_sd(xmm0.q)
0x1324 108 goto 111 @ 0x12a8
0x134d 109 eax = eax
0x1352 110 if (r8d s<= ecx) then 119 @ 0x1340 else 124 @ 0x1354
0x12a8 111 [rdx + (r15 << 3)].q = xmm0.q
0x12ae 112 [rdi + (r15 << 2)].d = ebp
0x12b2 113 eax = (rbx + r15).d
0x12b6 114 [rsi + (r15 << 2)].d = eax
0x12ba 115 eax = [rsp + 0x14 {var_6dc4}].d
0x12be 116 r15 = r15 + 1
0x12c2 117 ecx = (r15 + rbx).d
0x12c8 118 if (eax s<= ecx) then 127 @ 0x1210 else 74 @ 0x12ce
0x1340 119 edx = (rcx + 1).d
0x1343 120 eax = eax - 1
0x1346 121 cond:0 = ecx == r8d
0x1349 122 ecx = edx
0x134b 123 if (cond:0) then 131 @ 0x13c0 else 109 @ 0x134d
0x1354 124 xmm0 = zx.o([rsp + 0x2f20 {var_3eb8}].q)
0x135d 125 esi = 0
0x135f 126 goto 132 @ 0x139c
0x1210 127 r8 = [rsp + 0x20 {var_6db8_1}].q
0x1215 128 r8d = r8d + r15d
0x1218 129 r9 = [rsp + 0x18 {var_6dc0_1}].q
0x1218 130 goto 52 @ 0x121d
0x13c0 131 if (r8d s<= 0) then 12 @ 0x1425 else 141 @ 0x13c2
0x139c 132 rdx = rsi + 1
0x13a0 133 xmm1 = zx.o([rsp + (rsi << 3) + 0x2f28].q)
0x13a9 134 flag:p = is_unordered.q(xmm1.q, xmm0.q)
0x13a9 135 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x13a9 136 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x13a9 137 flag:s = 0
0x13a9 138 flag:o = 0
0x13a9 139 flag:a = 0
0x13ad 140 if (not(flag:z) && not(flag:c)) then 145 @ 0x1370 else 151 @ 0x13af
0x13c2 141 ebp = r8d
0x13c5 142 ebx = 0
0x13c7 143 r14 = 0x200b {"(%d,%d,%d)-(%d,%d,%d)=%.2lf\n"}
0x13ce 144 goto 154 @ 0x13d0
0x1370 145 [rsp + (rsi << 2) + 0x5e00].q = rol.q([rsp + (rsi << 2) + 0x5e00].q, 0x20)
0x1379 146 [rsp + (rsi << 3) + 0x2f20].q = xmm1.q
0x1382 147 [rsp + (rsi << 3) + 0x2f28].q = xmm0.q
0x138b 148 [rsp + (rsi << 2) + 0x4e60].q = rol.q([rsp + (rsi << 2) + 0x4e60].q, 0x20)
0x1394 149 rsi = rdx
0x139a 150 if (rax == rdx) then 119 @ 0x1340 else 132 @ 0x139c
0x13af 151 xmm0 = xmm1
0x13b3 152 rsi = rdx
0x13b9 153 if (rax != rdx) then 132 @ 0x139c else 169 @ 0x13bb
0x13d0 154 rax = sx.q([rsp + (rbx << 2) + 0x5e00].d)
0x13d8 155 esi = [rsp + (rax << 2) + 0x1f80].d
0x13df 156 edx = [rsp + (rax << 2) + 0xfe0].d
0x13e6 157 ecx = [rsp + (rax << 2) + 0x40].d
0x13ea 158 rax = sx.q([rsp + (rbx << 2) + 0x4e60].d)
0x13f2 159 r8d = [rsp + (rax << 2) + 0x1f80].d
0x13fa 160 r9d = [rsp + (rax << 2) + 0xfe0].d
0x1402 161 eax = [rsp + (rax << 2) + 0x40].d
0x1406 162 xmm0 = zx.o([rsp + (rbx << 3) + 0x2f20].q)
0x140f 163 [rsp {var_6dd8}].d = eax
0x1412 164 rdi = r14
0x1415 165 al = 1
0x1417 166 call(0x1030)
0x141c 167 rbx = rbx + 1
0x1423 168 if (rbp != rbx) then 154 @ 0x13d0 else 12 @ 0x1425
0x13bb 169 goto 119 @ 0x1340
int64_t _fini():
0x1440 0 rsp = rsp - 8
0x1444 1 rsp = rsp + 8
0x1448 2 <return> jump(pop)
| POJ_64 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int64_t memset(void* arg1, int32_t arg2, uint64_t arg3):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"UAWAVATSHP"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 push(r15)
0x1163 2 push(r14)
0x1165 3 push(r12)
0x1167 4 push(rbx)
0x1168 5 rsp = rsp - 0x9c50
0x116f 6 rdi = 0x2007 {"%d"}
0x1176 7 ebp = 0
0x1178 8 rsi = rsp + 0xc {var_9c6c}
0x117d 9 eax = 0
0x117f 10 call(0x1050)
0x1184 11 rdi = 0x2004 {"%d %d"}
0x118b 12 rsi = rsp + 8 {var_9c70}
0x1190 13 rdx = rsp + 4 {var_9c74}
0x1195 14 eax = 0
0x1197 15 call(0x1050)
0x119c 16 edx = [rsp + 0xc {var_9c6c}].d
0x11a2 17 if (edx s<= 0) then 18 @ 0x11b4 else 22 @ 0x11a4
0x11b4 18 esi = [rsp + 4 {var_9c74}].d
0x11b8 19 eax = [rsp + 8 {var_9c70}].d
0x11bc 20 eax = eax | esi
0x11be 21 if (eax == 0) then 27 @ 0x1226 else 28 @ 0x11c0
0x11a4 22 rdx = rdx << 2
0x11a8 23 rdi = rsp + 0x10 {var_9c68}
0x11ad 24 esi = 0
0x11af 25 call(0x1040)
0x11af 26 goto 18 @ 0x11b4
0x1226 27 if (ebp != 0) then 34 @ 0x1236 else 42 @ 0x1228
0x11c0 28 r14 = 0x200a {"%d\n"}
0x11c7 29 r15 = 0x2004 {"%d %d"}
0x11ce 30 r12 = rsp + 8 {var_9c70}
0x11d3 31 rbx = rsp + 4 {var_9c74}
0x11d8 32 ebp = 0
0x11da 33 goto 46 @ 0x11fc
0x1236 34 eax = 0
0x1238 35 rsp = rsp + 0x9c50
0x123f 36 rbx = pop
0x1240 37 r12 = pop
0x1242 38 r14 = pop
0x1244 39 r15 = pop
0x1246 40 rbp = pop
0x1247 41 <return> jump(pop)
0x1228 42 rdi = 0x200e {"NOT FOUND"}
0x122f 43 eax = 0
0x1231 44 call(0x1030)
0x1231 45 goto 34 @ 0x1236
0x11fc 46 rax = sx.q(esi)
0x11ff 47 ecx = [rsp + (rax << 2) + 0x10].d
0x1203 48 ecx = ecx + 1
0x1206 49 [rsp + (rax << 2) + 0x10].d = ecx
0x120a 50 eax = [rsp + 0xc {var_9c6c}].d
0x120e 51 eax = eax - 1
0x1213 52 if (ecx != eax) then 53 @ 0x11e0 else 62 @ 0x1215
0x11e0 53 rdi = r15
0x11e3 54 rsi = r12 {var_9c70}
0x11e6 55 rdx = rbx {var_9c74}
0x11e9 56 eax = 0
0x11eb 57 call(0x1050)
0x11f0 58 esi = [rsp + 4 {var_9c74}].d
0x11f4 59 eax = [rsp + 8 {var_9c70}].d
0x11f8 60 eax = eax | esi
0x11fa 61 if (eax == 0) then 27 @ 0x1226 else 46 @ 0x11fc
0x1215 62 rdi = r14
0x1218 63 eax = 0
0x121a 64 call(0x1030)
0x121f 65 ebp = ebp + 1
0x1222 66 goto 53 @ 0x11e0
int64_t _fini():
0x124c 0 rsp = rsp - 8
0x1250 1 rsp = rsp + 8
0x1254 2 <return> jump(pop)
| POJ_89 |
Subsets and Splits