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)
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 - 0xb08
0x115e 5 r15d = 0xffffffff {""}
0x1164 6 r14 = 0x2004 {"%d%d%d%d%d%d"}
0x116b 7 ebx = 0
0x116d 8 goto 9 @ 0x11b4
0x11b4 9 rsi = rsp + rbx
0x11b8 10 rsi = rsi + 0x970
0x11bf 11 rdx = rsp + rbx + 0x7e0
0x11c7 12 rcx = rsp + rbx + 0x650
0x11cf 13 r8 = rsp + rbx + 0x4c0
0x11d7 14 r9 = rsp + rbx + 0x330
0x11df 15 rax = rsp + rbx
0x11e3 16 rax = rax + 0x1a0
0x11e9 17 [rsp {var_b28}].q = rax
0x11ed 18 rdi = r14
0x11f0 19 eax = 0
0x11f2 20 call(0x1040)
0x11f7 21 eax = [rsp + rbx + 0x970].d
0x1200 22 if (eax != 0) then 23 @ 0x1170 else 38 @ 0x120e
0x1170 23 ecx = [rsp + rbx + 0x4c0].d
0x1177 24 edx = [rsp + rbx + 0x330].d
0x117e 25 esi = [rsp + rbx + 0x1a0].d
0x1185 26 edx = edx - [rsp + rbx + 0x7e0].d
0x118c 27 edx = edx * 0x3c
0x118f 28 ecx = ecx - eax
0x1191 29 eax = ecx * 0xe10
0x1197 30 esi = esi - [rsp + rbx + 0x650].d
0x119e 31 esi = esi + eax
0x11a0 32 eax = (rdx + rsi).d
0x11a3 33 eax = eax + 0xa8c0
0x11a8 34 [rsp + rbx + 0x10].d = eax
0x11ac 35 r15d = r15d + 1
0x11b0 36 rbx = rbx + 4
0x11b0 37 goto 9 @ 0x11b4
0x120e 38 if ([rsp + rbx + 0x7e0].d != 0) then 23 @ 0x1170 else 39 @ 0x121c
0x121c 39 if ([rsp + rbx + 0x650].d != 0) then 23 @ 0x1170 else 40 @ 0x122a
0x122a 40 if ([rsp + rbx + 0x4c0].d != 0) then 23 @ 0x1170 else 41 @ 0x1238
0x1238 41 if ([rsp + rbx + 0x330].d != 0) then 23 @ 0x1170 else 42 @ 0x1246
0x1246 42 if ([rsp + rbx + 0x1a0].d != 0) then 23 @ 0x1170 else 43 @ 0x124c
0x124c 43 eax = (r15 + 1).d
0x1253 44 if (eax u< 2) then 45 @ 0x1287 else 57 @ 0x1255
0x1287 45 rax = sx.q(r15d)
0x128a 46 esi = [rsp + (rax << 2) + 0x10].d
0x128e 47 rdi = 0x200e {"%d"}
0x1295 48 eax = 0
0x1297 49 call(0x1030)
0x129c 50 eax = 0
0x129e 51 rsp = rsp + 0xb08
0x12a5 52 rbx = pop
0x12a6 53 r12 = pop
0x12a8 54 r14 = pop
0x12aa 55 r15 = pop
0x12ac 56 <return> jump(pop)
0x1255 57 cond:0 = r15d s>= 2
0x1259 58 r12d = 1
0x125f 59 if (cond:0) then 60 else 62 @ 0x1263
0x125f 60 r12d = r15d
0x125f 61 goto 62 @ 0x1263
0x1263 62 r14 = 0x2011 {"%d\n"}
0x126a 63 ebx = 0
0x126c 64 goto 65 @ 0x1270
0x1270 65 esi = [rsp + (rbx << 2) + 0x10].d
0x1274 66 rdi = r14
0x1277 67 eax = 0
0x1279 68 call(0x1030)
0x127e 69 rbx = rbx + 1
0x1285 70 if (r12 != rbx) then 65 @ 0x1270 else 45 @ 0x1287
int64_t _fini():
0x12b4 0 rsp = rsp - 8
0x12b8 1 rsp = rsp + 8
0x12bc 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 {"UAWAVSHX"}
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 - 0x9c58
0x115d 5 rdi = 0x2004 {"%d %d\n"}
0x1164 6 rsi = rsp + 8 {var_9c70}
0x1169 7 rdx = rsp + 0xc {var_9c6c}
0x116e 8 eax = 0
0x1170 9 call(0x1040)
0x1175 10 eax = [rsp + 8 {var_9c70}].d
0x117b 11 if (eax s<= 0) then 12 @ 0x11af else 17 @ 0x117d
0x11af 12 r10d = (rax + rax).d
0x11b3 13 r11d = [rsp + 0xc {var_9c6c}].d
0x11b8 14 r15d = r10d
0x11bb 15 r15d = r15d - r11d
0x11c1 16 if (eax s>= r15d) then 21 @ 0x1384 else 25 @ 0x11c7
0x117d 17 r15 = rsp + 0x10 {var_9c68}
0x1182 18 r14 = 0x200b {"%d "}
0x1189 19 ebx = 0
0x118b 20 goto 31 @ 0x1190
0x1384 21 eax = eax - r11d
0x1387 22 r11d = not.d(r11d)
0x138a 23 r10d = r10d + r11d
0x1390 24 if (eax s>= r10d) then 39 @ 0x13c8 else 41 @ 0x1392
0x11c7 25 rsi = sx.q(eax)
0x11ca 26 rdi = sx.q(r15d)
0x11cd 27 r9 = rdi
0x11d0 28 r9 = r9 - rsi
0x11d3 29 r8 = rsi
0x11da 30 if (r9 u< 8) then 44 @ 0x12f7 else 50 @ 0x11e0
0x1190 31 rdi = r14
0x1193 32 rsi = r15
0x1196 33 eax = 0
0x1198 34 call(0x1040)
0x119d 35 rbx = rbx + 1
0x11a1 36 rax = sx.q([rsp + 8 {var_9c70}].d)
0x11a6 37 r15 = r15 + 4
0x11ad 38 if (rbx s< rax) then 31 @ 0x1190 else 12 @ 0x11af
0x13c8 39 rax = sx.q(r10d)
0x13c8 40 goto 60 @ 0x13cb
0x1392 41 rbx = sx.q(eax)
0x1395 42 r14 = 0x200b {"%d "}
0x139c 43 goto 71 @ 0x13a0
0x12f7 44 r15d = r15d - r8d
0x12fa 45 r9 = r8
0x12fd 46 r9 = not.q(r9)
0x1300 47 r9 = r9 + rdi
0x1303 48 r15 = r15 & 3
0x1307 49 if (r15 == 0) then 82 @ 0x1349 else 83 @ 0x1309
0x11e0 50 r8 = rsp + (rsi << 2)
0x11e4 51 r8 = r8 + 0x10
0x11e8 52 rcx = rsp + (rdi << 2)
0x11ec 53 rcx = rcx + 0x10
0x11f0 54 rbx = rsp + (r9 << 2)
0x11f4 55 rbx = rbx + 0x10
0x11f8 56 rdx = rsp + 0x10 {var_9c68}
0x11fd 57 flag:c = rdx u< rcx
0x1200 58 cl = flag:c
0x1206 59 if (r8 u>= rbx) then 90 @ 0x1213 else 99 @ 0x1208
0x13cb 60 esi = [rsp + (rax << 2) + 0x10].d
0x13cf 61 rdi = 0x200f {"%d"}
0x13d6 62 eax = 0
0x13d8 63 call(0x1030)
0x13dd 64 eax = 0
0x13df 65 rsp = rsp + 0x9c58
0x13e6 66 rbx = pop
0x13e7 67 r14 = pop
0x13e9 68 r15 = pop
0x13eb 69 rbp = pop
0x13ec 70 <return> jump(pop)
0x13a0 71 esi = [rsp + (rbx << 2) + 0x10].d
0x13a4 72 rdi = r14
0x13a7 73 eax = 0
0x13a9 74 call(0x1030)
0x13ae 75 rbx = rbx + 1
0x13b2 76 eax = [rsp + 8 {var_9c70}].d
0x13b6 77 ecx = [rsp + 0xc {var_9c6c}].d
0x13ba 78 ecx = not.d(ecx)
0x13bc 79 eax = (rcx + (rax << 1)).d
0x13bf 80 rax = sx.q(eax)
0x13c4 81 if (rbx s< rax) then 71 @ 0x13a0 else 101 @ 0x13c6
0x1349 82 if (r9 u< 3) then 21 @ 0x1384 else 102 @ 0x134b
0x1309 83 rdx = rsp + (r8 << 2)
0x130d 84 rdx = rdx + 0x10
0x1311 85 rbx = rsi << 2
0x1319 86 rbx = neg.q(rbx)
0x131c 87 r15 = neg.q(r15)
0x131f 88 ecx = 0
0x132b 89 goto 108 @ 0x1330
0x1213 90 r8 = r9
0x1216 91 r8 = r8 & 0xfffffffffffffff8
0x121a 92 rdx = r8 - 8
0x121e 93 rcx = rdx
0x1221 94 rcx = rcx u>> 3
0x1225 95 rcx = rcx + 1
0x1229 96 r14d = ecx
0x122c 97 r14d = r14d & 3
0x1234 98 if (rdx u>= 0x18) then 113 @ 0x123a else 118 @ 0x1236
0x1208 99 r8 = rsi
0x120d 100 if (cl != 0) then 44 @ 0x12f7 else 90 @ 0x1213
0x13c6 101 goto 60 @ 0x13cb
0x134b 102 rdi = rdi - r8
0x134e 103 rcx = rsp + (r8 << 2)
0x1352 104 rcx = rcx + 0x1c
0x1356 105 rsi = rsi << 2
0x135a 106 rsi = neg.q(rsi)
0x135d 107 goto 120 @ 0x1360
0x1330 108 ebp = [rdx + rbx].d
0x1333 109 [rdx].d = ebp
0x1335 110 rcx = rcx - 1
0x1339 111 rdx = rdx + 4
0x1340 112 if (r15 != rcx) then 108 @ 0x1330 else 132 @ 0x1342
0x123a 113 rcx = rcx & 0xfffffffffffffffc
0x123e 114 rbx = rsp + (rsi << 2)
0x1242 115 rbx = rbx + 0x80
0x1249 116 edx = 0
0x124b 117 goto 134 @ 0x1250
0x1236 118 edx = 0
0x1238 119 goto 154 @ 0x12af
0x1360 120 edx = [rcx + rsi - 0xc].d
0x1364 121 [rcx - 0xc].d = edx
0x1367 122 edx = [rcx + rsi - 8].d
0x136b 123 [rcx - 8].d = edx
0x136e 124 edx = [rcx + rsi - 4].d
0x1372 125 [rcx - 4].d = edx
0x1375 126 edx = [rcx + rsi].d
0x1378 127 [rcx].d = edx
0x137a 128 rcx = rcx + 0x10
0x137e 129 temp0.q = rdi
0x137e 130 rdi = rdi - 4
0x1382 131 if (temp0.q != 4) then 120 @ 0x1360 else 21 @ 0x1384
0x1342 132 r8 = r8 - rcx
0x1342 133 goto 82 @ 0x1349
0x1250 134 xmm0 = [rsp + (rdx << 2) + 0x10].o
0x1255 135 xmm1 = [rsp + (rdx << 2) + 0x20].o
0x125a 136 [rbx + (rdx << 2) - 0x70].o = xmm0
0x125f 137 [rbx + (rdx << 2) - 0x60].o = xmm1
0x1264 138 xmm0 = [rsp + (rdx << 2) + 0x30].o
0x1269 139 xmm1 = [rsp + (rdx << 2) + 0x40].o
0x126e 140 [rbx + (rdx << 2) - 0x50].o = xmm0
0x1273 141 [rbx + (rdx << 2) - 0x40].o = xmm1
0x1278 142 xmm0 = [rsp + (rdx << 2) + 0x50].o
0x127d 143 xmm1 = [rsp + (rdx << 2) + 0x60].o
0x1282 144 [rbx + (rdx << 2) - 0x30].o = xmm0
0x1287 145 [rbx + (rdx << 2) - 0x20].o = xmm1
0x128c 146 xmm0 = [rsp + (rdx << 2) + 0x70].o
0x1291 147 xmm1 = [rsp + (rdx << 2) + 0x80].o
0x1299 148 [rbx + (rdx << 2) - 0x10].o = xmm0
0x129e 149 [rbx + (rdx << 2)].o = xmm1
0x12a2 150 rdx = rdx + 0x20
0x12a6 151 temp1.q = rcx
0x12a6 152 rcx = rcx - 4
0x12aa 153 if (temp1.q != 4) then 134 @ 0x1250 else 154 @ 0x12af
0x12af 154 if (r14 == 0) then 155 @ 0x12ee else 156 @ 0x12b1
0x12ee 155 if (r9 == r8) then 21 @ 0x1384 else 162 @ 0x12f4
0x12b1 156 rcx = rsp + (rdx << 2)
0x12b5 157 rcx = rcx + 0x20
0x12b9 158 rdx = rcx + (rsi << 2)
0x12bd 159 r14 = r14 << 5
0x12c1 160 ebx = 0
0x12cd 161 goto 164 @ 0x12d0
0x12f4 162 r8 = r8 + rsi
0x12f4 163 goto 44 @ 0x12f7
0x12d0 164 xmm0 = [rcx + rbx - 0x10].o
0x12d5 165 xmm1 = [rcx + rbx].o
0x12d9 166 [rdx + rbx - 0x10].o = xmm0
0x12de 167 [rdx + rbx].o = xmm1
0x12e2 168 rbx = rbx + 0x20
0x12e9 169 if (r14 != rbx) then 164 @ 0x12d0 else 155 @ 0x12ee
int64_t _fini():
0x13f4 0 rsp = rsp - 8
0x13f8 1 rsp = rsp + 8
0x13fc 2 <return> jump(pop)
| POJ_52 |
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(H="}
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 - 0x28
0x115e 7 rdi = 0x201b {"%d\n"}
0x1165 8 rsi = rsp + 0xc {var_4c}
0x116a 9 eax = 0
0x116c 10 call(0x1030)
0x1171 11 rdi = 0x2018 {"%d %d\n"}
0x1178 12 rsi = rsp + 8 {var_50}
0x117d 13 rdx = rsp + 4 {var_54}
0x1182 14 eax = 0
0x1184 15 call(0x1030)
0x118e 16 if ([rsp + 0xc {var_4c}].d s>= 2) then 17 @ 0x11a1 else 28 @ 0x1190
0x11a1 17 xmm1.q = float.d([rsp + 4 {var_54}].d)
0x11a7 18 xmm0.q = float.d([rsp + 8 {var_50}].d)
0x11ad 19 xmm1.q = xmm1.q f/ xmm0.q
0x11b1 20 [rsp + 0x10 {var_48_1}].q = xmm1.q
0x11b7 21 r12d = 1
0x11bd 22 r14 = 0x2018 {"%d %d\n"}
0x11c4 23 r15 = rsp + 8 {var_50}
0x11c9 24 rbx = rsp + 4 {var_54}
0x11ce 25 r13 = 0x2024 {"worse"}
0x11d5 26 rbp = 0x201f {"same"}
0x11dc 27 goto 37 @ 0x11eb
0x1190 28 eax = 0
0x1192 29 rsp = rsp + 0x28
0x1196 30 rbx = pop
0x1197 31 r12 = pop
0x1199 32 r13 = pop
0x119b 33 r14 = pop
0x119d 34 r15 = pop
0x119f 35 rbp = pop
0x11a0 36 <return> jump(pop)
0x11eb 37 rdi = r14
0x11ee 38 rsi = r15 {var_50}
0x11f1 39 rdx = rbx {var_54}
0x11f4 40 eax = 0
0x11f6 41 call(0x1030)
0x11fb 42 xmm1 = zx.o([0x2008].q)
0x1203 43 xmm3 = 0
0x1206 44 xmm3.q = float.d([rsp + 4 {var_54}].d)
0x120c 45 xmm0 = 0
0x120f 46 xmm0.q = float.d([rsp + 8 {var_50}].d)
0x1215 47 xmm3.q = xmm3.q f/ xmm0.q
0x1219 48 xmm2 = xmm3
0x121d 49 xmm0 = zx.o([rsp + 0x10 {var_48_1}].q)
0x1223 50 xmm2.q = xmm2.q f- xmm0.q
0x1227 51 flag:p = is_unordered.q(xmm2.q, xmm1.q)
0x1227 52 flag:c = xmm2.q f< xmm1.q | is_unordered.q(xmm2.q, xmm1.q)
0x1227 53 flag:z = xmm2.q f== xmm1.q | is_unordered.q(xmm2.q, xmm1.q)
0x1227 54 flag:s = 0
0x1227 55 flag:o = 0
0x1227 56 flag:a = 0
0x122b 57 [rsp + 0x18 {var_40_1}].q = xmm2.q
0x1231 58 if (not(flag:z) && not(flag:c)) then 59 @ 0x1260 else 74 @ 0x1233
0x1260 59 rdi = 0x202a {"better"}
0x1267 60 [rsp + 0x20 {var_38_1}].q = xmm3.q
0x126d 61 call(0x1040)
0x1272 62 xmm3 = zx.o([rsp + 0x20 {var_38_1}].q)
0x1278 63 xmm2 = zx.o([rsp + 0x18 {var_40_1}].q)
0x127e 64 xmm1 = zx.o([0x2008].q)
0x1286 65 xmm0 = zx.o([rsp + 0x10 {var_48_1}].q)
0x128c 66 xmm0.q = xmm0.q f- xmm3.q
0x1290 67 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x1290 68 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1290 69 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1290 70 flag:s = 0
0x1290 71 flag:o = 0
0x1290 72 flag:a = 0
0x1294 73 if (flag:z || flag:c) then 82 @ 0x123d else 91 @ 0x1296
0x1233 74 xmm0.q = xmm0.q f- xmm3.q
0x1237 75 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x1237 76 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1237 77 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1237 78 flag:s = 0
0x1237 79 flag:o = 0
0x1237 80 flag:a = 0
0x123b 81 if (not(flag:z) && not(flag:c)) then 91 @ 0x1296 else 82 @ 0x123d
0x123d 82 xmm2.q = xmm2.q f* xmm2.q
0x1241 83 xmm0 = zx.o([0x2010].q)
0x1249 84 flag:p = is_unordered.q(xmm0.q, xmm2.q)
0x1249 85 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q)
0x1249 86 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q)
0x1249 87 flag:s = 0
0x1249 88 flag:o = 0
0x1249 89 flag:a = 0
0x124d 90 if (flag:c) then 103 @ 0x11e0 else 105 @ 0x124f
0x1296 91 rdi = r13
0x1299 92 call(0x1040)
0x129e 93 xmm2 = zx.o([rsp + 0x18 {var_40_1}].q)
0x12a4 94 xmm2.q = xmm2.q f* xmm2.q
0x12a8 95 xmm0 = zx.o([0x2010].q)
0x12b0 96 flag:p = is_unordered.q(xmm0.q, xmm2.q)
0x12b0 97 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q)
0x12b0 98 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q)
0x12b0 99 flag:s = 0
0x12b0 100 flag:o = 0
0x12b0 101 flag:a = 0
0x12b4 102 if (flag:c) then 103 @ 0x11e0 else 106 @ 0x12ba
0x11e0 103 r12d = r12d + 1
0x11e9 104 if (r12d s>= [rsp + 0xc {var_4c}].d) then 28 @ 0x1190 else 37 @ 0x11eb
0x124f 105 goto 106 @ 0x12ba
0x12ba 106 rdi = rbp
0x12bd 107 call(0x1040)
0x12c2 108 goto 103 @ 0x11e0
int64_t _fini():
0x12cc 0 rsp = rsp - 8
0x12d0 1 rsp = rsp + 8
0x12d4 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)
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 = 0x12d0 {"AWAVSHH=(
"}
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 S(double arg1, uint64_t arg2[0x2] @ zmm0, uint64_t arg3[0x2] @ zmm4):
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 - 0x18
0x1171 8 r14d = edi
0x1174 9 r12 = rsp {var_48}
0x1177 10 rax = (r14 << 3) + 0xf
0x117f 11 rax = rax & 0xfffffffffffffff0
0x1183 12 r12 = r12 - rax
0x1186 13 rsp = r12
0x118b 14 if (edi s<= 0) then 15 @ 0x11fc else 17 @ 0x118d
0x11fc 15 xmm1.q = float.d(edi)
0x11fc 16 goto 23 @ 0x1200
0x118d 17 [rbp - 0x2c {var_34_1}].d = edi
0x1190 18 xmm4 = _mm_xor_pd(xmm4, xmm4)
0x1194 19 r15 = 0x2004 {"%lf"}
0x119b 20 r13 = r14
0x119e 21 rbx = r12
0x11ab 22 goto 25 @ 0x11b0
0x1200 23 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x1204 24 goto 36 @ 0x129a
0x11b0 25 [rbp - 0x38 {var_40_1}].q = xmm4.q
0x11b5 26 rdi = r15
0x11b8 27 rsi = rbx
0x11bb 28 eax = 0
0x11bd 29 call(0x1040)
0x11c2 30 xmm4 = zx.o([rbp - 0x38 {var_40_1}].q)
0x11c7 31 xmm4.q = xmm4.q f+ fconvert.t([rbx].q)
0x11cb 32 rbx = rbx + 8
0x11cf 33 temp0.q = r13
0x11cf 34 r13 = r13 - 1
0x11d3 35 if (temp0.q != 1) then 25 @ 0x11b0 else 45 @ 0x11d5
0x129a 36 xmm0.q = xmm0.q f/ xmm1.q
0x129e 37 xmm1 = _mm_xor_pd(xmm1, xmm1)
0x12a2 38 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x12a2 39 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x12a2 40 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x12a2 41 flag:s = 0
0x12a2 42 flag:o = 0
0x12a2 43 flag:a = 0
0x12a6 44 if (flag:c) then 48 @ 0x12ae else 50 @ 0x12a8
0x11d5 45 eax = [rbp - 0x2c {var_34_1}].d
0x11d8 46 xmm1.q = float.d(eax)
0x11de 47 if (eax s<= 0) then 23 @ 0x1200 else 52 @ 0x11e0
0x12ae 48 call(0x1050)
0x12ae 49 goto 57 @ 0x12b3
0x12a8 50 xmm0 = _mm_sqrt_sd(xmm0.q)
0x12ac 51 goto 57 @ 0x12b3
0x11e0 52 xmm4.q = xmm4.q f/ xmm1.q
0x11e4 53 rcx = r14 - 1
0x11e8 54 eax = r14d
0x11eb 55 eax = eax & 3
0x11f2 56 if (rcx u>= 3) then 65 @ 0x1209 else 69 @ 0x11f4
0x12b3 57 rsp = rbp - 0x28
0x12b7 58 rbx = pop
0x12b8 59 r12 = pop
0x12ba 60 r13 = pop
0x12bc 61 r14 = pop
0x12be 62 r15 = pop
0x12c0 63 rbp = pop
0x12c1 64 <return> jump(pop)
0x1209 65 r14d = r14d & 0xfffffffc
0x120d 66 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x1211 67 ecx = 0
0x121d 68 goto 72 @ 0x1220
0x11f4 69 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x11f8 70 ecx = 0
0x11fa 71 goto 90 @ 0x1277
0x1220 72 xmm2 = zx.o([r12 + (rcx << 3)].q)
0x1226 73 xmm3 = zx.o([r12 + (rcx << 3) + 8].q)
0x122d 74 xmm2.q = xmm2.q f- xmm4.q
0x1231 75 xmm2.q = xmm2.q f* xmm2.q
0x1235 76 xmm2.q = xmm2.q f+ xmm0.q
0x1239 77 xmm3.q = xmm3.q f- xmm4.q
0x123d 78 xmm3.q = xmm3.q f* xmm3.q
0x1241 79 xmm3.q = xmm3.q f+ xmm2.q
0x1245 80 xmm2 = zx.o([r12 + (rcx << 3) + 0x10].q)
0x124c 81 xmm2.q = xmm2.q f- xmm4.q
0x1250 82 xmm2.q = xmm2.q f* xmm2.q
0x1254 83 xmm2.q = xmm2.q f+ xmm3.q
0x1258 84 xmm0 = zx.o([r12 + (rcx << 3) + 0x18].q)
0x125f 85 xmm0.q = xmm0.q f- xmm4.q
0x1263 86 xmm0.q = xmm0.q f* xmm0.q
0x1267 87 xmm0.q = xmm0.q f+ xmm2.q
0x126b 88 rcx = rcx + 4
0x1272 89 if (r14 != rcx) then 72 @ 0x1220 else 90 @ 0x1277
0x1277 90 if (rax == 0) then 36 @ 0x129a else 91 @ 0x1279
0x1279 91 rcx = r12 + (rcx << 3)
0x127d 92 edx = 0
0x127f 93 goto 94 @ 0x1280
0x1280 94 xmm2 = zx.o([rcx + (rdx << 3)].q)
0x1285 95 xmm2.q = xmm2.q f- xmm4.q
0x1289 96 xmm2.q = xmm2.q f* xmm2.q
0x128d 97 xmm0.q = xmm0.q f+ xmm2.q
0x1291 98 rdx = rdx + 1
0x1298 99 if (rax != rdx) then 94 @ 0x1280 else 36 @ 0x129a
int32_t main(int32_t argc, char** argv, char** envp):
0x12d0 0 push(r15)
0x12d2 1 push(r14)
0x12d4 2 push(rbx)
0x12d5 3 rsp = rsp - 0x10
0x12d9 4 rdi = 0x2008 {"%d"}
0x12e0 5 rsi = rsp + 8 {var_20}
0x12e5 6 eax = 0
0x12e7 7 call(0x1040)
0x12f1 8 if ([rsp + 8 {var_20}].d s<= 0) then 9 @ 0x1340 else 15 @ 0x12f3
0x1340 9 eax = 0
0x1342 10 rsp = rsp + 0x10
0x1346 11 rbx = pop
0x1347 12 r14 = pop
0x1349 13 r15 = pop
0x134b 14 <return> jump(pop)
0x12f3 15 r14 = 0x2008 {"%d"}
0x12fa 16 r15 = rsp + 0xc {var_1c}
0x12ff 17 rbx = 0x200b {"%.5f\n"}
0x1306 18 goto 19 @ 0x1310
0x1310 19 rdi = r14
0x1313 20 rsi = r15 {var_1c}
0x1316 21 eax = 0
0x1318 22 call(0x1040)
0x131d 23 edi = [rsp + 0xc {var_1c}].d
0x1321 24 call(0x1160)
0x1326 25 rdi = rbx
0x1329 26 al = 1
0x132b 27 call(0x1030)
0x1330 28 eax = [rsp + 8 {var_20}].d
0x1334 29 ecx = (rax - 1).d
0x1337 30 [rsp + 8 {var_20}].d = ecx
0x133e 31 if (eax s> 1) then 19 @ 0x1310 else 9 @ 0x1340
int64_t _fini():
0x1350 0 rsp = rsp - 8
0x1354 1 rsp = rsp + 8
0x1358 2 <return> jump(pop)
| POJ_38 |
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 {"SH"}
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 - 0x3f0
0x1158 2 ebx = 0
0x115a 3 rdi = rsp {var_3f8}
0x115d 4 eax = 0
0x115f 5 call(0x1040)
0x1164 6 rax = rsp + 1 {var_3f7}
0x1169 7 goto 8 @ 0x1178
0x1178 8 ecx = 0
0x117a 9 dl = [rsp + rcx {var_3f8}].b
0x1180 10 if (dl != 0x20) then 11 @ 0x11a9 else 12 @ 0x118c
0x11a9 11 if (dl == 0) then 13 @ 0x1170 else 15 @ 0x11ab
0x118c 12 goto 18 @ 0x1190
0x1170 13 ebx = ebx + 1
0x1176 14 if (ebx == 0x64) then 22 @ 0x11e0 else 8 @ 0x1178
0x11ab 15 rcx = rcx + 1
0x11af 16 edx = zx.d([rsp + rcx].b)
0x11b6 17 if (dl != 0x20) then 11 @ 0x11a9 else 30 @ 0x11b8
0x1190 18 rdx = rcx + 1
0x1194 19 cond:0 = [rsp + rcx + 1].b == 0x20
0x1199 20 rcx = rdx
0x119c 21 if (cond:0) then 31 @ 0x11c0 else 33 @ 0x119e
0x11e0 22 rdi = 0x2004 {"%s"}
0x11e7 23 rsi = rsp {var_3f8}
0x11ea 24 eax = 0
0x11ec 25 call(0x1030)
0x11f1 26 eax = 0
0x11f3 27 rsp = rsp + 0x3f0
0x11fa 28 rbx = pop
0x11fb 29 <return> jump(pop)
0x11b8 30 goto 18 @ 0x1190
0x11c0 31 ecx = edx
0x11c6 32 if ([rsp + rcx].b == 0) then 13 @ 0x1170 else 35 @ 0x11c8
0x119e 33 edx = zx.d([rsp + rcx].b)
0x11a5 34 if (dl == 0x20) then 18 @ 0x1190 else 11 @ 0x11a9
0x11c8 35 rcx = rcx + rax
0x11cb 36 goto 37 @ 0x11d0
0x11d0 37 edx = zx.d([rcx].b)
0x11d3 38 [rcx - 1].b = dl
0x11d6 39 rcx = rcx + 1
0x11dc 40 if (dl != 0) then 37 @ 0x11d0 else 41 @ 0x11de
0x11de 41 goto 13 @ 0x1170
int64_t _fini():
0x1200 0 rsp = rsp - 8
0x1204 1 rsp = rsp + 8
0x1208 2 <return> jump(pop)
| POJ_62 |
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 - 0x80
0x1160 6 r12 = rsp + 0x10 {var_98}
0x1165 7 r14 = 0x2004 {"%d "}
0x116c 8 r15d = 0
0x116f 9 goto 10 @ 0x1170
0x1170 10 ebx = 0
0x117c 11 goto 12 @ 0x1180
0x1180 12 rsi = r12 + rbx
0x1184 13 rdi = r14
0x1187 14 eax = 0
0x1189 15 call(0x1040)
0x118e 16 rbx = rbx + 4
0x1196 17 if (rbx != 0x14) then 12 @ 0x1180 else 18 @ 0x1198
0x1198 18 r15 = r15 + 1
0x119c 19 r12 = r12 + 0x14
0x11a4 20 if (r15 != 5) then 10 @ 0x1170 else 21 @ 0x11a6
0x11a6 21 rdi = 0x2008 {"%d%d"}
0x11ad 22 rsi = rsp + 0xc {var_9c}
0x11b2 23 rdx = rsp + 8 {var_a0}
0x11b7 24 eax = 0
0x11b9 25 call(0x1040)
0x11be 26 rcx = sx.q([rsp + 0xc {var_9c}].d)
0x11c7 27 if (rcx s> 4) then 28 @ 0x127b else 32 @ 0x11cd
0x127b 28 rdi = 0x200d {"error"}
0x1282 29 eax = 0
0x1284 30 call(0x1030)
0x1284 31 goto 34 @ 0x1289
0x11cd 32 eax = [rsp + 8 {var_a0}].d
0x11d4 33 if (eax s> 4) then 28 @ 0x127b else 42 @ 0x11da
0x1289 34 eax = 0
0x128b 35 rsp = rsp + 0x80
0x1292 36 rbx = pop
0x1293 37 r12 = pop
0x1295 38 r13 = pop
0x1297 39 r14 = pop
0x1299 40 r15 = pop
0x129b 41 <return> jump(pop)
0x11da 42 rax = sx.q(eax)
0x11dc 43 rax = rax + (rax << 2)
0x11e0 44 rax = rsp + (rax << 2)
0x11e4 45 rax = rax + 0x10
0x11e8 46 rcx = rcx + (rcx << 2)
0x11ec 47 rcx = rsp + (rcx << 2)
0x11f0 48 rcx = rcx + 0x10
0x11f4 49 edx = 0
0x11f6 50 goto 51 @ 0x1200
0x1200 51 esi = [rcx + (rdx << 2)].d
0x1203 52 edi = [rax + (rdx << 2)].d
0x1206 53 [rcx + (rdx << 2)].d = edi
0x1209 54 [rax + (rdx << 2)].d = esi
0x120c 55 rdx = rdx + 1
0x1214 56 if (rdx != 5) then 51 @ 0x1200 else 57 @ 0x1216
0x1216 57 r13 = rsp + 0x10 {var_98}
0x121b 58 r15 = 0x2004 {"%d "}
0x1222 59 r14 = 0x2013 {"%d\n"}
0x1229 60 r12d = 0
0x122c 61 goto 62 @ 0x1230
0x1230 62 ebx = 0
0x123c 63 goto 64 @ 0x1240
0x1240 64 esi = [r13 + (rbx << 2)].d
0x1245 65 rdi = r15
0x1248 66 eax = 0
0x124a 67 call(0x1030)
0x124f 68 rbx = rbx + 1
0x1257 69 if (rbx != 4) then 64 @ 0x1240 else 70 @ 0x1259
0x1259 70 rax = r12 + (r12 << 2)
0x125d 71 esi = [rsp + (rax << 2) + 0x20].d
0x1261 72 rdi = r14
0x1264 73 eax = 0
0x1266 74 call(0x1030)
0x126b 75 r12 = r12 + 1
0x126f 76 r13 = r13 + 0x14
0x1277 77 if (r12 != 5) then 62 @ 0x1230 else 78 @ 0x1279
0x1279 78 goto 34 @ 0x1289
uint64_t jhsz(void* arg1, int32_t arg2, int32_t arg3):
0x12a0 0 push(rbp)
0x12a1 1 push(r15)
0x12a3 2 push(r14)
0x12a5 3 push(r13)
0x12a7 4 push(r12)
0x12a9 5 push(rbx)
0x12aa 6 push(rax)
0x12ab 7 r14 = rdi
0x12b1 8 if (esi s> 4) then 9 @ 0x1361 else 13 @ 0x12ba
0x1361 9 rdi = 0x200d {"error"}
0x1368 10 eax = 0
0x136a 11 call(0x1030)
0x136a 12 goto 14 @ 0x136f
0x12ba 13 if (edx s> 4) then 9 @ 0x1361 else 23 @ 0x12c0
0x136f 14 eax = [r14 + 0x78].d
0x1373 15 rsp = rsp + 8
0x1377 16 rbx = pop
0x1378 17 r12 = pop
0x137a 18 r13 = pop
0x137c 19 r14 = pop
0x137e 20 r15 = pop
0x1380 21 rbp = pop
0x1381 22 <return> jump(pop)
0x12c0 23 rcx = sx.q(esi)
0x12c3 24 rax = sx.q(edx)
0x12c6 25 rax = rax + (rax << 2)
0x12ca 26 rax = r14 + (rax << 2)
0x12ce 27 rcx = rcx + (rcx << 2)
0x12d2 28 rcx = r14 + (rcx << 2)
0x12d6 29 edx = 0
0x12d8 30 goto 31 @ 0x12e0
0x12e0 31 esi = [rcx + (rdx << 2)].d
0x12e3 32 edi = [rax + (rdx << 2)].d
0x12e6 33 [rcx + (rdx << 2)].d = edi
0x12e9 34 [rax + (rdx << 2)].d = esi
0x12ec 35 rdx = rdx + 1
0x12f4 36 if (rdx != 5) then 31 @ 0x12e0 else 37 @ 0x12f6
0x12f6 37 r12 = 0x2004 {"%d "}
0x12fd 38 r15 = 0x2013 {"%d\n"}
0x1304 39 rbx = r14
0x1307 40 r13d = 0
0x130a 41 goto 42 @ 0x1310
0x1310 42 ebp = 0
0x131c 43 goto 44 @ 0x1320
0x1320 44 esi = [rbx + (rbp << 2)].d
0x1323 45 rdi = r12
0x1326 46 eax = 0
0x1328 47 call(0x1030)
0x132d 48 rbp = rbp + 1
0x1335 49 if (rbp != 4) then 44 @ 0x1320 else 50 @ 0x1337
0x1337 50 rax = r13 << 2
0x133f 51 rax = rax + r13
0x1342 52 esi = [r14 + (rax << 2) + 0x10].d
0x1347 53 rdi = r15
0x134a 54 eax = 0
0x134c 55 call(0x1030)
0x1351 56 r13 = r13 + 1
0x1355 57 rbx = rbx + 0x14
0x135d 58 if (r13 != 5) then 42 @ 0x1310 else 59 @ 0x135f
0x135f 59 goto 14 @ 0x136f
int64_t _fini():
0x1388 0 rsp = rsp - 8
0x138c 1 rsp = rsp + 8
0x1390 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 {"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 = 0x2004 {"%d"}
0x1165 8 rsi = rsp + 0x10 {var_38}
0x116a 9 eax = 0
0x116c 10 call(0x1040)
0x1176 11 if ([rsp + 0x10 {var_38}].d s<= 0) then 12 @ 0x1220 else 21 @ 0x117c
0x1220 12 eax = 0
0x1222 13 rsp = rsp + 0x18
0x1226 14 rbx = pop
0x1227 15 r12 = pop
0x1229 16 r13 = pop
0x122b 17 r14 = pop
0x122d 18 r15 = pop
0x122f 19 rbp = pop
0x1230 20 <return> jump(pop)
0x117c 21 ebp = 1
0x1181 22 r13 = 0x2004 {"%d"}
0x1188 23 r12 = rsp + 0x14 {var_34}
0x118d 24 goto 25 @ 0x11b0
0x11b0 25 rdi = r13
0x11b3 26 rsi = rsp + 0xc {var_3c}
0x11b8 27 eax = 0
0x11ba 28 call(0x1040)
0x11c4 29 if ([rsp + 0xc {var_3c}].d s<= 0) then 30 @ 0x1190 else 32 @ 0x11c6
0x1190 30 ebx = 0x3c {""}
0x1190 31 goto 36 @ 0x1195
0x11c6 32 ebx = 0x3c {""}
0x11cb 33 r14d = 0
0x11ce 34 r15d = 0
0x11d1 35 goto 44 @ 0x11ee
0x1195 36 rdi = 0x2007 {"%d\n"}
0x119c 37 esi = ebx
0x119e 38 eax = 0
0x11a0 39 call(0x1030)
0x11a5 40 eax = (rbp + 1).d
0x11a8 41 cond:0 = ebp s>= [rsp + 0x10 {var_38}].d
0x11ac 42 ebp = eax
0x11ae 43 if (cond:0) then 12 @ 0x1220 else 25 @ 0x11b0
0x11ee 44 rdi = r13
0x11f1 45 rsi = r12 {var_34}
0x11f4 46 eax = 0
0x11f6 47 call(0x1040)
0x11fb 48 eax = [rsp + 0x14 {var_34}].d
0x11ff 49 ecx = (rax + r15).d
0x1206 50 if (ecx s> 0x3c) then 51 @ 0x11e3 else 53 @ 0x1208
0x11e3 51 r14d = r14d + 1
0x11ec 52 if (r14d s>= [rsp + 0xc {var_3c}].d) then 36 @ 0x1195 else 44 @ 0x11ee
0x1208 53 ecx = r15d
0x120b 54 r15d = r15d + 3
0x120f 55 eax = eax + ecx
0x1211 56 eax = eax + 3
0x1217 57 if (eax s< 0x3d) then 58 @ 0x11e0 else 60 @ 0x1219
0x11e0 58 ebx = ebx - 3
0x11e0 59 goto 51 @ 0x11e3
0x1219 60 ebx = ebx + eax
0x121b 61 ebx = ebx - 0x3f
0x121e 62 goto 51 @ 0x11e3
int64_t _fini():
0x1238 0 rsp = rsp - 8
0x123c 1 rsp = rsp + 8
0x1240 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 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 = 0x11d0 {"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 tiffany(int32_t arg1):
0x1150 0 push(rbp)
0x1151 1 push(rbx)
0x1152 2 push(rax)
0x1156 3 if (edi == 1) then 4 @ 0x1166 else 6 @ 0x1158
0x1166 4 eax = 2
0x116b 5 goto 8 @ 0x1183
0x1158 6 ebx = edi
0x115d 7 if (edi != 2) then 12 @ 0x116d else 20 @ 0x115f
0x1183 8 rsp = rsp + 8
0x1187 9 rbx = pop
0x1188 10 rbp = pop
0x1189 11 <return> jump(pop)
0x116d 12 edi = (rbx - 1).d
0x1170 13 call(0x1150)
0x1175 14 ebp = eax
0x1177 15 ebx = ebx - 2
0x117a 16 edi = ebx
0x117c 17 call(0x1150)
0x1181 18 eax = eax + ebp
0x1181 19 goto 8 @ 0x1183
0x115f 20 eax = 3
0x1164 21 goto 8 @ 0x1183
uint64_t chanel(int32_t arg1):
0x1190 0 push(rbp)
0x1191 1 push(rbx)
0x1192 2 push(rax)
0x1193 3 ebx = edi
0x1198 4 if (edi == 1) then 5 @ 0x11be else 10 @ 0x119d
0x11be 5 eax = ebx
0x11c0 6 rsp = rsp + 8
0x11c4 7 rbx = pop
0x11c5 8 rbp = pop
0x11c6 9 <return> jump(pop)
0x119d 10 if (ebx != 2) then 11 @ 0x11a6 else 20 @ 0x119f
0x11a6 11 edi = (rbx - 1).d
0x11a9 12 call(0x1190)
0x11ae 13 ebp = eax
0x11b0 14 ebx = ebx - 2
0x11b3 15 edi = ebx
0x11b5 16 call(0x1190)
0x11ba 17 ebx = eax
0x11bc 18 ebx = ebx + ebp
0x11bc 19 goto 5 @ 0x11be
0x119f 20 ebx = 2
0x11a4 21 goto 5 @ 0x11be
int32_t main(int32_t argc, char** argv, char** envp):
0x11d0 0 push(rbp)
0x11d1 1 push(r15)
0x11d3 2 push(r14)
0x11d5 3 push(r13)
0x11d7 4 push(r12)
0x11d9 5 push(rbx)
0x11da 6 rsp = rsp - 0x18
0x11de 7 rdi = 0x2004 {"%d"}
0x11e5 8 rsi = rsp + 4 {var_44}
0x11ea 9 eax = 0
0x11ec 10 call(0x1040)
0x11f6 11 if ([rsp + 4 {var_44}].d s<= 0) then 12 @ 0x12b6 else 21 @ 0x11fc
0x12b6 12 eax = 0
0x12b8 13 rsp = rsp + 0x18
0x12bc 14 rbx = pop
0x12bd 15 r12 = pop
0x12bf 16 r13 = pop
0x12c1 17 r14 = pop
0x12c3 18 r15 = pop
0x12c5 19 rbp = pop
0x12c6 20 <return> jump(pop)
0x11fc 21 r13d = 1
0x1202 22 r15 = rsp + 0x14 {var_34}
0x1207 23 r12 = 0x2007 {"%.3f\n"}
0x120e 24 goto 25 @ 0x122f
0x122f 25 rdi = 0x2004 {"%d"}
0x1236 26 rsi = r15 {var_34}
0x1239 27 eax = 0
0x123b 28 call(0x1040)
0x1240 29 r14d = [rsp + 0x14 {var_34}].d
0x1248 30 if (r14d s<= 0) then 31 @ 0x1210 else 33 @ 0x124a
0x1210 31 xmm0 = 0
0x1210 32 goto 37 @ 0x1213
0x124a 33 r14d = neg.d(r14d)
0x124d 34 ebx = 1
0x1252 35 xmm0 = 0
0x125f 36 goto 44 @ 0x1260
0x1213 37 rdi = r12
0x1216 38 al = 1
0x1218 39 call(0x1030)
0x121d 40 eax = (r13 + 1).d
0x1221 41 cond:0 = r13d s>= [rsp + 4 {var_44}].d
0x1226 42 r13d = eax
0x1229 43 if (cond:0) then 12 @ 0x12b6 else 25 @ 0x122f
0x1260 44 [rsp + 8 {var_40_1}].q = xmm0.q
0x1266 45 edi = ebx
0x1268 46 call(0x1150)
0x126d 47 ebp = eax
0x126f 48 edi = ebx
0x1271 49 call(0x1190)
0x1276 50 xmm0 = 0
0x1279 51 xmm0.q = float.d(ebp)
0x127d 52 xmm1 = 0
0x1280 53 xmm1.q = float.d(eax)
0x1284 54 xmm0.q = xmm0.q f/ xmm1.q
0x1288 55 xmm1 = zx.o([rsp + 8 {var_40_1}].q)
0x128e 56 xmm1.q = xmm1.q f+ xmm0.q
0x1292 57 [rsp + 8 {var_40_2}].q = xmm1.q
0x1298 58 xmm0 = zx.o([rsp + 8 {var_40_2}].q)
0x129e 59 eax = (r14 + rbx).d
0x12a2 60 eax = eax + 1
0x12a5 61 ecx = ebx
0x12a7 62 ecx = ecx + 1
0x12aa 63 ebx = ecx
0x12af 64 if (eax != 1) then 44 @ 0x1260 else 65 @ 0x12b1
0x12b1 65 goto 37 @ 0x1213
int64_t _fini():
0x12cc 0 rsp = rsp - 8
0x12d0 1 rsp = rsp + 8
0x12d4 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)
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 {"PH="}
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(rax)
0x1161 1 rdi = 0x2004 {"%d"}
0x1168 2 rsi = rsp + 4 {var_8+0x4}
0x116d 3 eax = 0
0x116f 4 call(0x1040)
0x1174 5 rax = sx.q([rsp + 4 {var_8+0x4}].d)
0x1179 6 rcx = rax * 0x55555556
0x1180 7 rdx = rcx
0x1183 8 rdx = rdx u>> 0x3f
0x1187 9 rcx = rcx u>> 0x20
0x118b 10 ecx = ecx + edx
0x118d 11 r8d = (rcx + (rcx << 1)).d
0x1191 12 rdi = rax * 0x66666667
0x1198 13 ecx = eax
0x119a 14 rdx = rax * -0x6db6db6d
0x11a1 15 rdx = rdx u>> 0x20
0x11a5 16 edx = edx + eax
0x11a7 17 esi = edx
0x11a9 18 esi = esi u>> 0x1f
0x11ac 19 edx = edx s>> 2
0x11af 20 edx = edx + esi
0x11b1 21 esi = (rdx << 3).d
0x11b8 22 edx = edx - esi
0x11ba 23 edx = edx + eax
0x11bc 24 eax = eax - r8d
0x11bf 25 rsi = rdi
0x11c2 26 rsi = rsi u>> 0x3f
0x11c6 27 rdi = rdi u>> 0x20
0x11ca 28 edi = edi s>> 1
0x11cc 29 edi = edi + esi
0x11ce 30 esi = (rdi + (rdi << 2)).d
0x11d1 31 ecx = ecx - esi
0x11d3 32 esi = eax
0x11d5 33 esi = esi | ecx
0x11d7 34 edi = esi
0x11d9 35 edi = edi | edx
0x11db 36 if (edi != 0) then 37 @ 0x11e8 else 38 @ 0x11dd
0x11e8 37 if (esi == 0) then 40 @ 0x1209 else 42 @ 0x11ea
0x11dd 38 rdi = 0x2007 {"3 5 7"}
0x11e4 39 goto 45 @ 0x1222
0x1209 40 rdi = 0x200d {"3 5"}
0x1210 41 goto 45 @ 0x1222
0x11ea 42 esi = ecx
0x11ec 43 esi = esi | edx
0x11ee 44 if (esi == 0) then 48 @ 0x1212 else 50 @ 0x11f0
0x1222 45 eax = 0
0x1224 46 call(0x1030)
0x1224 47 goto 53 @ 0x1229
0x1212 48 rdi = 0x2009 {"5 7"}
0x1219 49 goto 45 @ 0x1222
0x11f0 50 esi = eax
0x11f2 51 esi = esi | edx
0x11f4 52 if (esi == 0) then 56 @ 0x121b else 58 @ 0x11f8
0x1229 53 eax = 0
0x122b 54 rcx = pop
0x122c 55 <return> jump(pop)
0x121b 56 rdi = 0x2011 {"3 7"}
0x121b 57 goto 45 @ 0x1222
0x11f8 58 if (eax == 0) then 59 @ 0x122d else 61 @ 0x11fc
0x122d 59 edi = 0x33 {""}
0x1232 60 goto 62 @ 0x1240
0x11fc 61 if (ecx == 0) then 64 @ 0x1234 else 66 @ 0x1200
0x1240 62 call(0x1050)
0x1245 63 goto 53 @ 0x1229
0x1234 64 edi = 0x35 {""}
0x1239 65 goto 62 @ 0x1240
0x1200 66 if (edx == 0) then 67 @ 0x123b else 69 @ 0x1202
0x123b 67 edi = 0x37 {""}
0x123b 68 goto 62 @ 0x1240
0x1202 69 edi = 0x6e {""}
0x1207 70 goto 62 @ 0x1240
int64_t _fini():
0x124c 0 rsp = rsp - 8
0x1250 1 rsp = rsp + 8
0x1254 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)
int64_t memcpy(void* arg1, void const* arg2, uint64_t arg3):
0x1040 0 <return> tailcall([0x4020].q)
uint64_t strlen(char const* arg1):
0x1050 0 <return> tailcall([0x4028].q)
int32_t scanf(char const* format, ...):
0x1060 0 <return> tailcall([0x4030].q)
int32_t strcmp(char const* arg1, char const* arg2):
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 - 0xc8
0x1191 7 xmm0 = 0
0x1194 8 [rsp + 0x2c {var_cc}].o = xmm0
0x1199 9 [rsp + 0x20 {var_d8}].o = xmm0
0x119e 10 [rsp + 0x10 {var_e8}].o = xmm0
0x11a3 11 [rsp {var_f8}].o = xmm0
0x11a7 12 rdi = 0x2004 {"%s %s"}
0x11ae 13 rbx = rsp + 0x80 {var_78}
0x11b6 14 r15 = rsp + 0x40 {var_b8}
0x11bb 15 rsi = rbx {var_78}
0x11be 16 rdx = r15 {var_b8}
0x11c1 17 eax = 0
0x11c3 18 call(0x1060)
0x11c8 19 rdi = rbx {var_78}
0x11cb 20 call(0x1050)
0x11d0 21 r14 = rax
0x11d3 22 rdi = r15 {var_b8}
0x11d6 23 call(0x1050)
0x11dd 24 if (eax s<= 0) then 25 @ 0x124e else 33 @ 0x11df
0x124e 25 rsp = rsp + 0xc8
0x1255 26 rbx = pop
0x1256 27 r12 = pop
0x1258 28 r13 = pop
0x125a 29 r14 = pop
0x125c 30 r15 = pop
0x125e 31 rbp = pop
0x125f 32 <return> jump(pop)
0x11df 33 r15d = r14d
0x11e2 34 rbp = sx.q(eax)
0x11e5 35 r13b = [rsp + 0x80 {var_78}].b
0x11ed 36 ebx = 0
0x11ef 37 r12 = rsp {var_f8}
0x11f2 38 goto 39 @ 0x1222
0x1222 39 if ([rsp + rbx + 0x40].b != r13b) then 40 @ 0x1214 else 42 @ 0x1227
0x1214 40 rbx = rbx + 1
0x121b 41 if (rbx s>= rbp) then 25 @ 0x124e else 39 @ 0x1222
0x1227 42 if (r14d s<= 0) then 43 @ 0x1200 else 47 @ 0x1229
0x1200 43 rdi = r12 {var_f8}
0x1203 44 rsi = rsp + 0x80 {var_78}
0x120b 45 call(0x1070)
0x1212 46 if (eax == 0) then 53 @ 0x123e else 40 @ 0x1214
0x1229 47 rsi = rsp + rbx
0x122d 48 rsi = rsi + 0x40
0x1231 49 rdi = r12 {var_f8}
0x1234 50 rdx = r15
0x1237 51 call(0x1040)
0x123c 52 goto 43 @ 0x1200
0x123e 53 rdi = 0x200a {"%d\n"}
0x1245 54 esi = ebx
0x1247 55 eax = 0
0x1249 56 call(0x1030)
0x1249 57 goto 25 @ 0x124e
int64_t _fini():
0x1264 0 rsp = rsp - 8
0x1268 1 rsp = rsp + 8
0x126c 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 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 {"UAWAVATSH"}
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 - 0x1a0
0x115f 6 rdi = 0x2004 {"%d %d"}
0x1166 7 r12d = 0
0x1169 8 rsi = rsp + 0xc {var_1bc}
0x116e 9 rdx = rsp + 8 {var_1c0}
0x1173 10 eax = 0
0x1175 11 call(0x1040)
0x117a 12 ecx = [rsp + 0xc {var_1bc}].d
0x117e 13 esi = [rsp + 8 {var_1c0}].d
0x1184 14 if (ecx s<= esi) then 15 @ 0x11a0 else 16 @ 0x1186
0x11a0 15 if (ecx s< 4) then 17 @ 0x11cb else 19 @ 0x11a2
0x1186 16 goto 24 @ 0x127e
0x11cb 17 edx = 0
0x11cf 18 if (ecx == 0) then 28 @ 0x1211 else 29 @ 0x11d1
0x11a2 19 edi = ecx
0x11a4 20 edi = edi u>> 1
0x11a6 21 edi = neg.d(edi)
0x11a8 22 ebx = 2
0x11ad 23 goto 31 @ 0x11b0
0x127e 24 rdi = 0x200e {"no"}
0x1285 25 eax = 0
0x1287 26 call(0x1030)
0x1287 27 goto 44 @ 0x128c
0x1211 28 if (edx != ecx) then 51 @ 0x1190 else 55 @ 0x1217
0x11d1 29 eax = ecx
0x11dd 30 goto 59 @ 0x11e0
0x11b0 31 eax = ecx
0x11b2 32 temp2.d:temp3.d = sx.q(eax)
0x11b2 33 edx = temp2.d
0x11b2 34 eax = temp3.d
0x11b3 35 temp4.d = edx
0x11b3 36 temp5.d = eax
0x11b3 37 temp0.d = divs.dp.d(temp4.d:temp5.d, ebx)
0x11b3 38 temp6.d = edx
0x11b3 39 temp7.d = eax
0x11b3 40 temp1.d = mods.dp.d(temp6.d:temp7.d, ebx)
0x11b3 41 eax = temp0.d
0x11b3 42 edx = temp1.d
0x11b7 43 if (edx == 0) then 51 @ 0x1190 else 73 @ 0x11b9
0x128c 44 rsp = rsp + 0x1a0
0x1293 45 rbx = pop
0x1294 46 r12 = pop
0x1296 47 r14 = pop
0x1298 48 r15 = pop
0x129a 49 rbp = pop
0x129b 50 <return> jump(pop)
0x1190 51 eax = (rcx + 1).d
0x1193 52 cond:0 = ecx == esi
0x1195 53 ecx = eax
0x1197 54 if (cond:0) then 79 @ 0x122a else 15 @ 0x11a0
0x1217 55 rax = sx.q(r12d)
0x121a 56 r12d = r12d + 1
0x121e 57 [rsp + (rax << 2) + 0x14].d = ecx
0x1222 58 goto 51 @ 0x1190
0x11e0 59 edx = (rdx + (rdx << 2)).d
0x11e3 60 rbp = sx.q(eax)
0x11e6 61 rax = rbp * 0x66666667
0x11ed 62 rbx = rax
0x11f0 63 rbx = rbx u>> 0x3f
0x11f4 64 rax = rax s>> 0x22
0x11f8 65 eax = eax + ebx
0x11fa 66 ebx = (rax + rax).d
0x11fd 67 ebx = (rbx + (rbx << 2)).d
0x1200 68 edi = ebp
0x1202 69 edi = edi - ebx
0x1204 70 edx = (rdi + (rdx << 1)).d
0x1207 71 ebp = ebp + 9
0x120d 72 if (ebp u> 0x12) then 59 @ 0x11e0 else 28 @ 0x1211
0x11b9 73 eax = (rdi + rbx).d
0x11bc 74 eax = eax + 1
0x11bf 75 edx = ebx
0x11c1 76 edx = edx + 1
0x11c4 77 ebx = edx
0x11c9 78 if (eax != 1) then 31 @ 0x11b0 else 17 @ 0x11cb
0x122a 79 if (r12d == 0) then 24 @ 0x127e else 80 @ 0x1230
0x1230 80 if (r12d s< 2) then 81 @ 0x1267 else 87 @ 0x1232
0x1267 81 rax = sx.q(r12d)
0x126a 82 esi = [rsp + (rax << 2) + 0x10].d
0x126e 83 rdi = 0x2007 {"%d"}
0x1275 84 eax = 0
0x1277 85 call(0x1030)
0x127c 86 goto 44 @ 0x128c
0x1232 87 r15d = r12d
0x1235 88 ebx = 1
0x123a 89 r14 = 0x200a {"%d,"}
0x124b 90 goto 91 @ 0x1250
0x1250 91 esi = [rsp + (rbx << 2) + 0x10].d
0x1254 92 rdi = r14
0x1257 93 eax = 0
0x1259 94 call(0x1030)
0x125e 95 rbx = rbx + 1
0x1265 96 if (r15 != rbx) then 91 @ 0x1250 else 81 @ 0x1267
int64_t _fini():
0x12a0 0 rsp = rsp - 8
0x12a4 1 rsp = rsp + 8
0x12a8 2 <return> jump(pop)
| POJ_74 |
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 {"UHHp"}
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 - 0x670
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 rdi = 0x2004 {"%d%d"}
0x1169 5 rsi = rbp - 0x654 {var_65c}
0x1170 6 rdx = rbp - 0x658 {var_660}
0x1177 7 al = 0
0x1179 8 call(0x1040)
0x117e 9 [rbp - 0x65c {var_664}].d = 0
0x117e 10 goto 11 @ 0x1188
0x1188 11 eax = [rbp - 0x65c {var_664}].d
0x118e 12 ecx = [rbp - 0x654 {var_65c}].d
0x1194 13 ecx = ecx - 1
0x1199 14 if (eax s> ecx) then 15 @ 0x121e else 17 @ 0x119f
0x121e 15 [rbp - 0x664 {var_66c}].d = 0
0x121e 16 goto 19 @ 0x1228
0x119f 17 [rbp - 0x660 {var_668_1}].d = 0
0x119f 18 goto 23 @ 0x11a9
0x1228 19 eax = [rbp - 0x664 {var_66c}].d
0x122e 20 ecx = [rbp - 0x654 {var_65c}].d
0x1234 21 ecx = ecx - 1
0x1239 22 if (eax s> ecx) then 27 @ 0x1b79 else 31 @ 0x123f
0x11a9 23 eax = [rbp - 0x660 {var_668_1}].d
0x11af 24 ecx = [rbp - 0x658 {var_660}].d
0x11b5 25 ecx = ecx - 1
0x11ba 26 if (eax s> ecx) then 33 @ 0x1205 else 34 @ 0x11c0
0x1b79 27 eax = 0
0x1b7b 28 rsp = rsp + 0x670
0x1b82 29 rbp = pop
0x1b83 30 <return> jump(pop)
0x123f 31 [rbp - 0x668 {var_670_1}].d = 0
0x123f 32 goto 48 @ 0x1249
0x1205 33 goto 52 @ 0x120a
0x11c0 34 rax = sx.q([rbp - 0x65c {var_664}].d)
0x11c7 35 rsi = rbp - 0x650 {var_658}
0x11ce 36 rax = rax * 0x50
0x11d2 37 rsi = rsi + rax
0x11d5 38 rax = sx.q([rbp - 0x660 {var_668_1}].d)
0x11dc 39 rax = rax << 2
0x11e0 40 rsi = rsi + rax
0x11e3 41 rdi = 0x2006 {"%d"}
0x11ea 42 al = 0
0x11ec 43 call(0x1040)
0x11f1 44 eax = [rbp - 0x660 {var_668_1}].d
0x11f7 45 eax = eax + 1
0x11fa 46 [rbp - 0x660 {var_668_1}].d = eax
0x1200 47 goto 23 @ 0x11a9
0x1249 48 eax = [rbp - 0x668 {var_670_1}].d
0x124f 49 ecx = [rbp - 0x658 {var_660}].d
0x1255 50 ecx = ecx - 1
0x125a 51 if (eax s> ecx) then 56 @ 0x1b60 else 57 @ 0x1267
0x120a 52 eax = [rbp - 0x65c {var_664}].d
0x1210 53 eax = eax + 1
0x1213 54 [rbp - 0x65c {var_664}].d = eax
0x1219 55 goto 11 @ 0x1188
0x1b60 56 goto 58 @ 0x1b65
0x1267 57 if ([rbp - 0x664 {var_66c}].d != 0) then 62 @ 0x151a else 63 @ 0x1274
0x1b65 58 eax = [rbp - 0x664 {var_66c}].d
0x1b6b 59 eax = eax + 1
0x1b6e 60 [rbp - 0x664 {var_66c}].d = eax
0x1b74 61 goto 19 @ 0x1228
0x151a 62 if ([rbp - 0x664 {var_66c}].d == 0) then 64 @ 0x18bf else 65 @ 0x1520
0x1274 63 if ([rbp - 0x668 {var_670_1}].d != 0) then 69 @ 0x132b else 73 @ 0x127a
0x18bf 64 if ([rbp - 0x668 {var_670_1}].d != 0) then 87 @ 0x1976 else 91 @ 0x18c5
0x1520 65 eax = [rbp - 0x664 {var_66c}].d
0x1526 66 ecx = [rbp - 0x654 {var_65c}].d
0x152c 67 ecx = ecx - 1
0x1531 68 if (eax == ecx) then 64 @ 0x18bf else 105 @ 0x153e
0x132b 69 eax = [rbp - 0x668 {var_670_1}].d
0x1331 70 ecx = [rbp - 0x658 {var_660}].d
0x1337 71 ecx = ecx - 2
0x133c 72 if (eax s> ecx) then 106 @ 0x143c else 110 @ 0x1342
0x127a 73 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x1281 74 rax = rbp - 0x650 {var_658}
0x1288 75 rcx = rcx * 0x50
0x128c 76 rax = rax + rcx
0x128f 77 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x1296 78 eax = [rax + (rcx << 2)].d
0x1299 79 rdx = sx.q([rbp - 0x664 {var_66c}].d)
0x12a0 80 rcx = rbp - 0x650 {var_658}
0x12a7 81 rdx = rdx * 0x50
0x12ab 82 rcx = rcx + rdx
0x12ae 83 edx = [rbp - 0x668 {var_670_1}].d
0x12b4 84 edx = edx + 1
0x12b7 85 rdx = sx.q(edx)
0x12bd 86 if (eax s< [rcx + (rdx << 2)].d) then 124 @ 0x1326 else 125 @ 0x12c3
0x1976 87 eax = [rbp - 0x668 {var_670_1}].d
0x197c 88 ecx = [rbp - 0x658 {var_660}].d
0x1982 89 ecx = ecx - 1
0x1987 90 if (eax == ecx) then 139 @ 0x1a87 else 153 @ 0x198d
0x18c5 91 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x18cc 92 rax = rbp - 0x650 {var_658}
0x18d3 93 rcx = rcx * 0x50
0x18d7 94 rax = rax + rcx
0x18da 95 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x18e1 96 eax = [rax + (rcx << 2)].d
0x18e4 97 rdx = sx.q([rbp - 0x664 {var_66c}].d)
0x18eb 98 rcx = rbp - 0x650 {var_658}
0x18f2 99 rdx = rdx * 0x50
0x18f6 100 rcx = rcx + rdx
0x18f9 101 edx = [rbp - 0x668 {var_670_1}].d
0x18ff 102 edx = edx + 1
0x1902 103 rdx = sx.q(edx)
0x1908 104 if (eax s< [rcx + (rdx << 2)].d) then 167 @ 0x1971 else 168 @ 0x190e
0x153e 105 if ([rbp - 0x668 {var_670_1}].d != 0) then 182 @ 0x163e else 186 @ 0x1544
0x143c 106 eax = [rbp - 0x668 {var_670_1}].d
0x1442 107 ecx = [rbp - 0x658 {var_660}].d
0x1448 108 ecx = ecx - 1
0x144d 109 if (eax != ecx) then 200 @ 0x1504 else 201 @ 0x1453
0x1342 110 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x1349 111 rax = rbp - 0x650 {var_658}
0x1350 112 rcx = rcx * 0x50
0x1354 113 rax = rax + rcx
0x1357 114 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x135e 115 eax = [rax + (rcx << 2)].d
0x1361 116 rdx = sx.q([rbp - 0x664 {var_66c}].d)
0x1368 117 rcx = rbp - 0x650 {var_658}
0x136f 118 rdx = rdx * 0x50
0x1373 119 rcx = rcx + rdx
0x1376 120 edx = [rbp - 0x668 {var_670_1}].d
0x137c 121 edx = edx + 1
0x137f 122 rdx = sx.q(edx)
0x1385 123 if (eax s< [rcx + (rdx << 2)].d) then 215 @ 0x1437 else 216 @ 0x138b
0x1326 124 goto 230 @ 0x150e
0x12c3 125 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x12ca 126 rax = rbp - 0x650 {var_658}
0x12d1 127 rcx = rcx * 0x50
0x12d5 128 rax = rax + rcx
0x12d8 129 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x12df 130 eax = [rax + (rcx << 2)].d
0x12e2 131 ecx = [rbp - 0x664 {var_66c}].d
0x12e8 132 ecx = ecx + 1
0x12eb 133 rdx = sx.q(ecx)
0x12ee 134 rcx = rbp - 0x650 {var_658}
0x12f5 135 rdx = rdx * 0x50
0x12f9 136 rcx = rcx + rdx
0x12fc 137 rdx = sx.q([rbp - 0x668 {var_670_1}].d)
0x1306 138 if (eax s< [rcx + (rdx << 2)].d) then 124 @ 0x1326 else 231 @ 0x130c
0x1a87 139 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x1a8e 140 rax = rbp - 0x650 {var_658}
0x1a95 141 rcx = rcx * 0x50
0x1a99 142 rax = rax + rcx
0x1a9c 143 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x1aa3 144 eax = [rax + (rcx << 2)].d
0x1aa6 145 rdx = sx.q([rbp - 0x664 {var_66c}].d)
0x1aad 146 rcx = rbp - 0x650 {var_658}
0x1ab4 147 rdx = rdx * 0x50
0x1ab8 148 rcx = rcx + rdx
0x1abb 149 edx = [rbp - 0x668 {var_670_1}].d
0x1ac1 150 edx = edx - 1
0x1ac4 151 rdx = sx.q(edx)
0x1aca 152 if (eax s< [rcx + (rdx << 2)].d) then 237 @ 0x1b33 else 238 @ 0x1ad0
0x198d 153 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x1994 154 rax = rbp - 0x650 {var_658}
0x199b 155 rcx = rcx * 0x50
0x199f 156 rax = rax + rcx
0x19a2 157 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x19a9 158 eax = [rax + (rcx << 2)].d
0x19ac 159 rdx = sx.q([rbp - 0x664 {var_66c}].d)
0x19b3 160 rcx = rbp - 0x650 {var_658}
0x19ba 161 rdx = rdx * 0x50
0x19be 162 rcx = rcx + rdx
0x19c1 163 edx = [rbp - 0x668 {var_670_1}].d
0x19c7 164 edx = edx - 1
0x19ca 165 rdx = sx.q(edx)
0x19d0 166 if (eax s< [rcx + (rdx << 2)].d) then 252 @ 0x1a82 else 253 @ 0x19d6
0x1971 167 goto 267 @ 0x1b3d
0x190e 168 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x1915 169 rax = rbp - 0x650 {var_658}
0x191c 170 rcx = rcx * 0x50
0x1920 171 rax = rax + rcx
0x1923 172 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x192a 173 eax = [rax + (rcx << 2)].d
0x192d 174 ecx = [rbp - 0x664 {var_66c}].d
0x1933 175 ecx = ecx - 1
0x1936 176 rdx = sx.q(ecx)
0x1939 177 rcx = rbp - 0x650 {var_658}
0x1940 178 rdx = rdx * 0x50
0x1944 179 rcx = rcx + rdx
0x1947 180 rdx = sx.q([rbp - 0x668 {var_670_1}].d)
0x1951 181 if (eax s< [rcx + (rdx << 2)].d) then 167 @ 0x1971 else 268 @ 0x1957
0x163e 182 eax = [rbp - 0x668 {var_670_1}].d
0x1644 183 ecx = [rbp - 0x658 {var_660}].d
0x164a 184 ecx = ecx - 2
0x164f 185 if (eax s> ecx) then 274 @ 0x1798 else 278 @ 0x1655
0x1544 186 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x154b 187 rax = rbp - 0x650 {var_658}
0x1552 188 rcx = rcx * 0x50
0x1556 189 rax = rax + rcx
0x1559 190 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x1560 191 eax = [rax + (rcx << 2)].d
0x1563 192 ecx = [rbp - 0x664 {var_66c}].d
0x1569 193 ecx = ecx + 1
0x156c 194 rdx = sx.q(ecx)
0x156f 195 rcx = rbp - 0x650 {var_658}
0x1576 196 rdx = rdx * 0x50
0x157a 197 rcx = rcx + rdx
0x157d 198 rdx = sx.q([rbp - 0x668 {var_670_1}].d)
0x1587 199 if (eax s< [rcx + (rdx << 2)].d) then 292 @ 0x1639 else 293 @ 0x158d
0x1504 200 goto 307 @ 0x1509
0x1453 201 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x145a 202 rax = rbp - 0x650 {var_658}
0x1461 203 rcx = rcx * 0x50
0x1465 204 rax = rax + rcx
0x1468 205 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x146f 206 eax = [rax + (rcx << 2)].d
0x1472 207 rdx = sx.q([rbp - 0x664 {var_66c}].d)
0x1479 208 rcx = rbp - 0x650 {var_658}
0x1480 209 rdx = rdx * 0x50
0x1484 210 rcx = rcx + rdx
0x1487 211 edx = [rbp - 0x668 {var_670_1}].d
0x148d 212 edx = edx - 1
0x1490 213 rdx = sx.q(edx)
0x1496 214 if (eax s< [rcx + (rdx << 2)].d) then 308 @ 0x14ff else 309 @ 0x149c
0x1437 215 goto 307 @ 0x1509
0x138b 216 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x1392 217 rax = rbp - 0x650 {var_658}
0x1399 218 rcx = rcx * 0x50
0x139d 219 rax = rax + rcx
0x13a0 220 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x13a7 221 eax = [rax + (rcx << 2)].d
0x13aa 222 rdx = sx.q([rbp - 0x664 {var_66c}].d)
0x13b1 223 rcx = rbp - 0x650 {var_658}
0x13b8 224 rdx = rdx * 0x50
0x13bc 225 rcx = rcx + rdx
0x13bf 226 edx = [rbp - 0x668 {var_670_1}].d
0x13c5 227 edx = edx - 1
0x13c8 228 rdx = sx.q(edx)
0x13ce 229 if (eax s< [rcx + (rdx << 2)].d) then 215 @ 0x1437 else 323 @ 0x13d4
0x150e 230 goto 337 @ 0x1b47
0x130c 231 esi = [rbp - 0x664 {var_66c}].d
0x1312 232 edx = [rbp - 0x668 {var_670_1}].d
0x1318 233 rdi = 0x2009 {"%d %d\n"}
0x131f 234 al = 0
0x1321 235 call(0x1030)
0x1321 236 goto 124 @ 0x1326
0x1b33 237 goto 338 @ 0x1b38
0x1ad0 238 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x1ad7 239 rax = rbp - 0x650 {var_658}
0x1ade 240 rcx = rcx * 0x50
0x1ae2 241 rax = rax + rcx
0x1ae5 242 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x1aec 243 eax = [rax + (rcx << 2)].d
0x1aef 244 ecx = [rbp - 0x664 {var_66c}].d
0x1af5 245 ecx = ecx - 1
0x1af8 246 rdx = sx.q(ecx)
0x1afb 247 rcx = rbp - 0x650 {var_658}
0x1b02 248 rdx = rdx * 0x50
0x1b06 249 rcx = rcx + rdx
0x1b09 250 rdx = sx.q([rbp - 0x668 {var_670_1}].d)
0x1b13 251 if (eax s< [rcx + (rdx << 2)].d) then 237 @ 0x1b33 else 339 @ 0x1b19
0x1a82 252 goto 338 @ 0x1b38
0x19d6 253 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x19dd 254 rax = rbp - 0x650 {var_658}
0x19e4 255 rcx = rcx * 0x50
0x19e8 256 rax = rax + rcx
0x19eb 257 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x19f2 258 eax = [rax + (rcx << 2)].d
0x19f5 259 rdx = sx.q([rbp - 0x664 {var_66c}].d)
0x19fc 260 rcx = rbp - 0x650 {var_658}
0x1a03 261 rdx = rdx * 0x50
0x1a07 262 rcx = rcx + rdx
0x1a0a 263 edx = [rbp - 0x668 {var_670_1}].d
0x1a10 264 edx = edx + 1
0x1a13 265 rdx = sx.q(edx)
0x1a19 266 if (eax s< [rcx + (rdx << 2)].d) then 252 @ 0x1a82 else 345 @ 0x1a1f
0x1b3d 267 goto 359 @ 0x1b42
0x1957 268 esi = [rbp - 0x664 {var_66c}].d
0x195d 269 edx = [rbp - 0x668 {var_670_1}].d
0x1963 270 rdi = 0x2009 {"%d %d\n"}
0x196a 271 al = 0
0x196c 272 call(0x1030)
0x196c 273 goto 167 @ 0x1971
0x1798 274 eax = [rbp - 0x668 {var_670_1}].d
0x179e 275 ecx = [rbp - 0x658 {var_660}].d
0x17a4 276 ecx = ecx - 1
0x17a9 277 if (eax != ecx) then 360 @ 0x18a9 else 361 @ 0x17af
0x1655 278 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x165c 279 rax = rbp - 0x650 {var_658}
0x1663 280 rcx = rcx * 0x50
0x1667 281 rax = rax + rcx
0x166a 282 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x1671 283 eax = [rax + (rcx << 2)].d
0x1674 284 rdx = sx.q([rbp - 0x664 {var_66c}].d)
0x167b 285 rcx = rbp - 0x650 {var_658}
0x1682 286 rdx = rdx * 0x50
0x1686 287 rcx = rcx + rdx
0x1689 288 edx = [rbp - 0x668 {var_670_1}].d
0x168f 289 edx = edx + 1
0x1692 290 rdx = sx.q(edx)
0x1698 291 if (eax s< [rcx + (rdx << 2)].d) then 375 @ 0x1793 else 376 @ 0x169e
0x1639 292 goto 390 @ 0x18b3
0x158d 293 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x1594 294 rax = rbp - 0x650 {var_658}
0x159b 295 rcx = rcx * 0x50
0x159f 296 rax = rax + rcx
0x15a2 297 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x15a9 298 eax = [rax + (rcx << 2)].d
0x15ac 299 ecx = [rbp - 0x664 {var_66c}].d
0x15b2 300 ecx = ecx - 1
0x15b5 301 rdx = sx.q(ecx)
0x15b8 302 rcx = rbp - 0x650 {var_658}
0x15bf 303 rdx = rdx * 0x50
0x15c3 304 rcx = rcx + rdx
0x15c6 305 rdx = sx.q([rbp - 0x668 {var_670_1}].d)
0x15d0 306 if (eax s< [rcx + (rdx << 2)].d) then 292 @ 0x1639 else 391 @ 0x15d6
0x1509 307 goto 230 @ 0x150e
0x14ff 308 goto 200 @ 0x1504
0x149c 309 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x14a3 310 rax = rbp - 0x650 {var_658}
0x14aa 311 rcx = rcx * 0x50
0x14ae 312 rax = rax + rcx
0x14b1 313 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x14b8 314 eax = [rax + (rcx << 2)].d
0x14bb 315 ecx = [rbp - 0x664 {var_66c}].d
0x14c1 316 ecx = ecx + 1
0x14c4 317 rdx = sx.q(ecx)
0x14c7 318 rcx = rbp - 0x650 {var_658}
0x14ce 319 rdx = rdx * 0x50
0x14d2 320 rcx = rcx + rdx
0x14d5 321 rdx = sx.q([rbp - 0x668 {var_670_1}].d)
0x14df 322 if (eax s< [rcx + (rdx << 2)].d) then 308 @ 0x14ff else 405 @ 0x14e5
0x13d4 323 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x13db 324 rax = rbp - 0x650 {var_658}
0x13e2 325 rcx = rcx * 0x50
0x13e6 326 rax = rax + rcx
0x13e9 327 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x13f0 328 eax = [rax + (rcx << 2)].d
0x13f3 329 ecx = [rbp - 0x664 {var_66c}].d
0x13f9 330 ecx = ecx + 1
0x13fc 331 rdx = sx.q(ecx)
0x13ff 332 rcx = rbp - 0x650 {var_658}
0x1406 333 rdx = rdx * 0x50
0x140a 334 rcx = rcx + rdx
0x140d 335 rdx = sx.q([rbp - 0x668 {var_670_1}].d)
0x1417 336 if (eax s< [rcx + (rdx << 2)].d) then 215 @ 0x1437 else 411 @ 0x141d
0x1b47 337 goto 417 @ 0x1b4c
0x1b38 338 goto 267 @ 0x1b3d
0x1b19 339 esi = [rbp - 0x664 {var_66c}].d
0x1b1f 340 edx = [rbp - 0x668 {var_670_1}].d
0x1b25 341 rdi = 0x2009 {"%d %d\n"}
0x1b2c 342 al = 0
0x1b2e 343 call(0x1030)
0x1b2e 344 goto 237 @ 0x1b33
0x1a1f 345 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x1a26 346 rax = rbp - 0x650 {var_658}
0x1a2d 347 rcx = rcx * 0x50
0x1a31 348 rax = rax + rcx
0x1a34 349 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x1a3b 350 eax = [rax + (rcx << 2)].d
0x1a3e 351 ecx = [rbp - 0x664 {var_66c}].d
0x1a44 352 ecx = ecx - 1
0x1a47 353 rdx = sx.q(ecx)
0x1a4a 354 rcx = rbp - 0x650 {var_658}
0x1a51 355 rdx = rdx * 0x50
0x1a55 356 rcx = rcx + rdx
0x1a58 357 rdx = sx.q([rbp - 0x668 {var_670_1}].d)
0x1a62 358 if (eax s< [rcx + (rdx << 2)].d) then 252 @ 0x1a82 else 421 @ 0x1a68
0x1b42 359 goto 337 @ 0x1b47
0x18a9 360 goto 427 @ 0x18ae
0x17af 361 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x17b6 362 rax = rbp - 0x650 {var_658}
0x17bd 363 rcx = rcx * 0x50
0x17c1 364 rax = rax + rcx
0x17c4 365 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x17cb 366 eax = [rax + (rcx << 2)].d
0x17ce 367 rdx = sx.q([rbp - 0x664 {var_66c}].d)
0x17d5 368 rcx = rbp - 0x650 {var_658}
0x17dc 369 rdx = rdx * 0x50
0x17e0 370 rcx = rcx + rdx
0x17e3 371 edx = [rbp - 0x668 {var_670_1}].d
0x17e9 372 edx = edx - 1
0x17ec 373 rdx = sx.q(edx)
0x17f2 374 if (eax s< [rcx + (rdx << 2)].d) then 428 @ 0x18a4 else 429 @ 0x17f8
0x1793 375 goto 427 @ 0x18ae
0x169e 376 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x16a5 377 rax = rbp - 0x650 {var_658}
0x16ac 378 rcx = rcx * 0x50
0x16b0 379 rax = rax + rcx
0x16b3 380 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x16ba 381 eax = [rax + (rcx << 2)].d
0x16bd 382 rdx = sx.q([rbp - 0x664 {var_66c}].d)
0x16c4 383 rcx = rbp - 0x650 {var_658}
0x16cb 384 rdx = rdx * 0x50
0x16cf 385 rcx = rcx + rdx
0x16d2 386 edx = [rbp - 0x668 {var_670_1}].d
0x16d8 387 edx = edx - 1
0x16db 388 rdx = sx.q(edx)
0x16e1 389 if (eax s< [rcx + (rdx << 2)].d) then 375 @ 0x1793 else 443 @ 0x16e7
0x18b3 390 goto 359 @ 0x1b42
0x15d6 391 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x15dd 392 rax = rbp - 0x650 {var_658}
0x15e4 393 rcx = rcx * 0x50
0x15e8 394 rax = rax + rcx
0x15eb 395 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x15f2 396 eax = [rax + (rcx << 2)].d
0x15f5 397 rdx = sx.q([rbp - 0x664 {var_66c}].d)
0x15fc 398 rcx = rbp - 0x650 {var_658}
0x1603 399 rdx = rdx * 0x50
0x1607 400 rcx = rcx + rdx
0x160a 401 edx = [rbp - 0x668 {var_670_1}].d
0x1610 402 edx = edx + 1
0x1613 403 rdx = sx.q(edx)
0x1619 404 if (eax s< [rcx + (rdx << 2)].d) then 292 @ 0x1639 else 457 @ 0x161f
0x14e5 405 esi = [rbp - 0x664 {var_66c}].d
0x14eb 406 edx = [rbp - 0x668 {var_670_1}].d
0x14f1 407 rdi = 0x2009 {"%d %d\n"}
0x14f8 408 al = 0
0x14fa 409 call(0x1030)
0x14fa 410 goto 308 @ 0x14ff
0x141d 411 esi = [rbp - 0x664 {var_66c}].d
0x1423 412 edx = [rbp - 0x668 {var_670_1}].d
0x1429 413 rdi = 0x2009 {"%d %d\n"}
0x1430 414 al = 0
0x1432 415 call(0x1030)
0x1432 416 goto 215 @ 0x1437
0x1b4c 417 eax = [rbp - 0x668 {var_670_1}].d
0x1b52 418 eax = eax + 1
0x1b55 419 [rbp - 0x668 {var_670_1}].d = eax
0x1b5b 420 goto 48 @ 0x1249
0x1a68 421 esi = [rbp - 0x664 {var_66c}].d
0x1a6e 422 edx = [rbp - 0x668 {var_670_1}].d
0x1a74 423 rdi = 0x2009 {"%d %d\n"}
0x1a7b 424 al = 0
0x1a7d 425 call(0x1030)
0x1a7d 426 goto 252 @ 0x1a82
0x18ae 427 goto 390 @ 0x18b3
0x18a4 428 goto 360 @ 0x18a9
0x17f8 429 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x17ff 430 rax = rbp - 0x650 {var_658}
0x1806 431 rcx = rcx * 0x50
0x180a 432 rax = rax + rcx
0x180d 433 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x1814 434 eax = [rax + (rcx << 2)].d
0x1817 435 ecx = [rbp - 0x664 {var_66c}].d
0x181d 436 ecx = ecx - 1
0x1820 437 rdx = sx.q(ecx)
0x1823 438 rcx = rbp - 0x650 {var_658}
0x182a 439 rdx = rdx * 0x50
0x182e 440 rcx = rcx + rdx
0x1831 441 rdx = sx.q([rbp - 0x668 {var_670_1}].d)
0x183b 442 if (eax s< [rcx + (rdx << 2)].d) then 428 @ 0x18a4 else 463 @ 0x1841
0x16e7 443 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x16ee 444 rax = rbp - 0x650 {var_658}
0x16f5 445 rcx = rcx * 0x50
0x16f9 446 rax = rax + rcx
0x16fc 447 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x1703 448 eax = [rax + (rcx << 2)].d
0x1706 449 ecx = [rbp - 0x664 {var_66c}].d
0x170c 450 ecx = ecx + 1
0x170f 451 rdx = sx.q(ecx)
0x1712 452 rcx = rbp - 0x650 {var_658}
0x1719 453 rdx = rdx * 0x50
0x171d 454 rcx = rcx + rdx
0x1720 455 rdx = sx.q([rbp - 0x668 {var_670_1}].d)
0x172a 456 if (eax s< [rcx + (rdx << 2)].d) then 375 @ 0x1793 else 477 @ 0x1730
0x161f 457 esi = [rbp - 0x664 {var_66c}].d
0x1625 458 edx = [rbp - 0x668 {var_670_1}].d
0x162b 459 rdi = 0x2009 {"%d %d\n"}
0x1632 460 al = 0
0x1634 461 call(0x1030)
0x1634 462 goto 292 @ 0x1639
0x1841 463 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x1848 464 rax = rbp - 0x650 {var_658}
0x184f 465 rcx = rcx * 0x50
0x1853 466 rax = rax + rcx
0x1856 467 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x185d 468 eax = [rax + (rcx << 2)].d
0x1860 469 ecx = [rbp - 0x664 {var_66c}].d
0x1866 470 ecx = ecx + 1
0x1869 471 rdx = sx.q(ecx)
0x186c 472 rcx = rbp - 0x650 {var_658}
0x1873 473 rdx = rdx * 0x50
0x1877 474 rcx = rcx + rdx
0x187a 475 rdx = sx.q([rbp - 0x668 {var_670_1}].d)
0x1884 476 if (eax s< [rcx + (rdx << 2)].d) then 428 @ 0x18a4 else 491 @ 0x188a
0x1730 477 rcx = sx.q([rbp - 0x664 {var_66c}].d)
0x1737 478 rax = rbp - 0x650 {var_658}
0x173e 479 rcx = rcx * 0x50
0x1742 480 rax = rax + rcx
0x1745 481 rcx = sx.q([rbp - 0x668 {var_670_1}].d)
0x174c 482 eax = [rax + (rcx << 2)].d
0x174f 483 ecx = [rbp - 0x664 {var_66c}].d
0x1755 484 ecx = ecx - 1
0x1758 485 rdx = sx.q(ecx)
0x175b 486 rcx = rbp - 0x650 {var_658}
0x1762 487 rdx = rdx * 0x50
0x1766 488 rcx = rcx + rdx
0x1769 489 rdx = sx.q([rbp - 0x668 {var_670_1}].d)
0x1773 490 if (eax s< [rcx + (rdx << 2)].d) then 375 @ 0x1793 else 497 @ 0x1779
0x188a 491 esi = [rbp - 0x664 {var_66c}].d
0x1890 492 edx = [rbp - 0x668 {var_670_1}].d
0x1896 493 rdi = 0x2009 {"%d %d\n"}
0x189d 494 al = 0
0x189f 495 call(0x1030)
0x189f 496 goto 428 @ 0x18a4
0x1779 497 esi = [rbp - 0x664 {var_66c}].d
0x177f 498 edx = [rbp - 0x668 {var_670_1}].d
0x1785 499 rdi = 0x2009 {"%d %d\n"}
0x178c 500 al = 0
0x178e 501 call(0x1030)
0x178e 502 goto 375 @ 0x1793
int64_t _fini():
0x1b88 0 rsp = rsp - 8
0x1b8c 1 rsp = rsp + 8
0x1b90 2 <return> jump(pop)
| POJ_72 |
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 {"SH"}
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 - 0xe0
0x1168 2 rbx = rsp {var_e8}
0x116b 3 rdi = rbx {var_e8}
0x116e 4 eax = 0
0x1170 5 call(0x1050)
0x1175 6 rdi = rbx {var_e8}
0x1178 7 call(0x1040)
0x117d 8 r8d = (rax - 1).d
0x1184 9 if (eax s<= 1) then 10 @ 0x119d else 12 @ 0x1186
0x119d 10 r9b = [rsp {var_e8}].b
0x11a1 11 goto 15 @ 0x1239
0x1186 12 edx = r8d
0x1189 13 r9b = [rsp {var_e8}].b
0x1191 14 if (r8d u>= 0x20) then 28 @ 0x11a6 else 35 @ 0x1193
0x1239 15 rcx = sx.q(r8d)
0x123c 16 r9b = r9b + [rsp + rcx].b
0x1240 17 [rsp + rcx + 0x70].b = r9b
0x1245 18 rax = sx.q(eax)
0x1247 19 [rsp + rax + 0x70].b = 0
0x124c 20 rdi = 0x2004 {"%s"}
0x1253 21 rsi = rsp + 0x70 {var_78}
0x1258 22 eax = 0
0x125a 23 call(0x1030)
0x125f 24 eax = 0
0x1261 25 rsp = rsp + 0xe0
0x1268 26 rbx = pop
0x1269 27 <return> jump(pop)
0x11a6 28 esi = edx
0x11a8 29 esi = esi & 0xffffffe0
0x11ab 30 ebx = zx.d(r9b)
0x11af 31 xmm0 = ebx
0x11b3 32 xmm0 = _mm_slli_si128(xmm0, 0xf)
0x11b8 33 ebx = 0
0x11ba 34 goto 38 @ 0x11c0
0x1193 35 esi = 0
0x1195 36 ebx = r9d
0x1198 37 goto 54 @ 0x1220
0x11c0 38 xmm1 = [rsp + rbx + 1].o
0x11c6 39 xmm0 = _mm_bsrli_si128(xmm0, 0xf)
0x11cb 40 xmm2 = xmm1
0x11cf 41 xmm2 = _mm_slli_si128(xmm2, 1)
0x11d4 42 xmm2 = xmm2 | xmm0
0x11d8 43 xmm0 = [rsp + rbx + 0x11].o
0x11de 44 xmm2 = _mm_add_epi8(xmm2, xmm1)
0x11e2 45 xmm1 = _mm_bsrli_si128(xmm1, 0xf)
0x11e7 46 xmm3 = xmm0
0x11eb 47 xmm3 = _mm_slli_si128(xmm3, 1)
0x11f0 48 xmm3 = xmm3 | xmm1
0x11f4 49 xmm3 = _mm_add_epi8(xmm3, xmm0)
0x11f8 50 [rsp + rbx + 0x70].o = xmm2
0x11fe 51 [rsp + rbx + 0x80].o = xmm3
0x1207 52 rbx = rbx + 0x20
0x120e 53 if (rsi != rbx) then 38 @ 0x11c0 else 61 @ 0x1213
0x1220 54 ecx = zx.d([rsp + rsi + 1].b)
0x1225 55 bl = bl + cl
0x1227 56 [rsp + rsi + 0x70].b = bl
0x122b 57 rdi = rsi + 1
0x122f 58 ebx = ecx
0x1231 59 rsi = rdi
0x1237 60 if (rdx != rdi) then 54 @ 0x1220 else 15 @ 0x1239
0x1213 61 if (rsi == rdx) then 15 @ 0x1239 else 62 @ 0x1215
0x1215 62 ebx = _mm_extract_epi16(xmm0, 7)
0x121a 63 ebx = ebx u>> 8
0x121d 64 goto 54 @ 0x1220
int64_t _fini():
0x1270 0 rsp = rsp - 8
0x1274 1 rsp = rsp + 8
0x1278 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
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)
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 - 0xf0
0x117c 4 rdi = 0x2004 {"%d %s %d"}
0x1183 5 ebx = 0
0x1185 6 rsi = rsp + 0xc {var_fc}
0x118a 7 r14 = rsp + 0x10 {var_f8}
0x118f 8 rcx = rsp + 8 {var_100}
0x1194 9 rdx = r14 {var_f8}
0x1197 10 eax = 0
0x1199 11 call(0x1040)
0x119e 12 rdi = r14 {var_f8}
0x11a1 13 call(0x1030)
0x11a8 14 if (eax s<= 0) then 15 @ 0x12e4 else 18 @ 0x11ae
0x12e4 15 rdi = 0x200d {"0"}
0x12eb 16 call(0x1050)
0x12eb 17 goto 22 @ 0x12f0
0x11ae 18 r10d = [rsp + 0xc {var_fc}].d
0x11b3 19 r9d = eax
0x11b6 20 eax = eax & 1
0x11bd 21 if (r9 != 1) then 27 @ 0x11c3 else 32 @ 0x11bf
0x12f0 22 rsp = rsp + 0xf0
0x12f7 23 rbx = pop
0x12f8 24 r14 = pop
0x12fa 25 r15 = pop
0x12fc 26 <return> jump(pop)
0x11c3 27 r9 = r9 - rax
0x11c6 28 edx = 0
0x11c8 29 r8d = 0xffffffd0 {""}
0x11ce 30 ebx = 0
0x11ce 31 goto 34 @ 0x11d0
0x11bf 32 edx = 0
0x11c1 33 goto 43 @ 0x1232
0x11d0 34 ebx = ebx * r10d
0x11d4 35 esi = sx.d([rsp + rdx + 0x10].b)
0x11d9 36 r11d = (rsi - 0x30).d
0x11dd 37 ecx = (rsi - 0x61).d
0x11e0 38 edi = 0
0x11e5 39 dil = cl u>= 0x1a
0x11e9 40 edi = edi << 5
0x11ec 41 edi = edi - 0x57
0x11f3 42 if (r11b u< 0xa) then 44 else 46 @ 0x11f7
0x1232 43 if (rax == 0) then 57 @ 0x1264 else 58 @ 0x1234
0x11f3 44 edi = r8d
0x11f3 45 goto 46 @ 0x11f7
0x11f7 46 edi = edi + esi
0x11f9 47 edi = edi + ebx
0x11fb 48 edi = edi * r10d
0x11ff 49 ecx = sx.d([rsp + rdx + 0x11].b)
0x1204 50 r11d = (rcx - 0x30).d
0x1208 51 esi = (rcx - 0x61).d
0x120b 52 ebx = 0
0x1211 53 bl = sil u>= 0x1a
0x1214 54 ebx = ebx << 5
0x1217 55 ebx = ebx - 0x57
0x121e 56 if (r11b u< 0xa) then 69 else 71 @ 0x1222
0x1264 57 if (ebx == 0) then 15 @ 0x12e4 else 75 @ 0x1266
0x1234 58 r10d = r10d * ebx
0x1238 59 eax = sx.d([rsp + rdx + 0x10].b)
0x123d 60 ecx = (rax - 0x30).d
0x1240 61 edx = (rax - 0x61).d
0x1243 62 esi = 0
0x1248 63 sil = dl u>= 0x1a
0x124c 64 esi = esi << 5
0x124f 65 esi = esi - 0x57
0x1252 66 cond:0 = cl u>= 0xa
0x1255 67 ebx = 0xffffffd0 {""}
0x125a 68 if (cond:0) then 79 else 81 @ 0x125d
0x121e 69 ebx = r8d
0x121e 70 goto 71 @ 0x1222
0x1222 71 ebx = ebx + ecx
0x1224 72 ebx = ebx + edi
0x1226 73 rdx = rdx + 2
0x122d 74 if (r9 != rdx) then 34 @ 0x11d0 else 43 @ 0x1232
0x1266 75 ecx = [rsp + 8 {var_100}].d
0x126a 76 r14d = 0
0x126d 77 esi = 0x30 {""}
0x127c 78 goto 84 @ 0x1280
0x125a 79 ebx = esi
0x125a 80 goto 81 @ 0x125d
0x125d 81 ebx = ebx + eax
0x125f 82 ebx = ebx + r10d
0x125f 83 goto 57 @ 0x1264
0x1280 84 eax = ebx
0x1282 85 temp2.d:temp3.d = sx.q(eax)
0x1282 86 edx = temp2.d
0x1282 87 eax = temp3.d
0x1283 88 temp4.d = edx
0x1283 89 temp5.d = eax
0x1283 90 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x1283 91 temp6.d = edx
0x1283 92 temp7.d = eax
0x1283 93 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x1283 94 eax = temp0.d
0x1283 95 edx = temp1.d
0x1285 96 cond:1 = edx u< 0xa
0x1288 97 edi = 0x37 {""}
0x128d 98 if (cond:1) then 99 else 101 @ 0x1290
0x128d 99 edi = esi
0x128d 100 goto 101 @ 0x1290
0x1290 101 dil = dil + dl
0x1293 102 [rsp + r14 + 0x80].b = dil
0x129b 103 r14 = r14 + 1
0x129f 104 ebx = eax
0x12a3 105 if (eax != 0) then 84 @ 0x1280 else 106 @ 0x12a5
0x12a5 106 r14 = r14 - 1
0x12a9 107 eax = r14d
0x12ac 108 r15 = rsp + rax
0x12b0 109 r15 = r15 + 0x80
0x12b7 110 ebx = 0
0x12b9 111 goto 112 @ 0x12c0
0x12c0 112 edi = sx.d([r15 + rbx].b)
0x12c5 113 call(0x1060)
0x12ca 114 rax = rbx - 1
0x12ce 115 ebx = ebx + r14d
0x12d1 116 cond:2 = ebx s> 0
0x12d3 117 rbx = rax
0x12d6 118 if (cond:2) then 112 @ 0x12c0 else 119 @ 0x12d8
0x12d8 119 edi = 0xa {""}
0x12dd 120 call(0x1060)
0x12e2 121 goto 22 @ 0x12f0
int64_t _fini():
0x1304 0 rsp = rsp - 8
0x1308 1 rsp = rsp + 8
0x130c 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 {"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 - 0x61a98
0x115d 5 rdi = 0x201b {"%d"}
0x1164 6 rsi = rsp + 0xc {var_61aac}
0x1169 7 eax = 0
0x116b 8 call(0x1040)
0x1170 9 ecx = [rsp + 0xc {var_61aac}].d
0x1176 10 if (ecx s<= 0) then 11 @ 0x155a else 12 @ 0x117c
0x155a 11 if (ecx == 0) then 17 @ 0x156e else 19 @ 0x155c
0x117c 12 r15 = rsp + 0x10 {var_61aa8}
0x1181 13 rbp = rsp + 0x30d50 {var_30d68}
0x1189 14 r14 = 0x2010 {"%d%d"}
0x1190 15 ebx = 0
0x119c 16 goto 21 @ 0x11a0
0x156e 17 ebx = ebp
0x156e 18 goto 31 @ 0x1570
0x155c 19 r14d = (r15 + 1).d
0x155c 20 goto 37 @ 0x1560
0x11a0 21 rdi = r14
0x11a3 22 rsi = rbp
0x11a6 23 rdx = r15
0x11a9 24 eax = 0
0x11ab 25 call(0x1040)
0x11b0 26 rbx = rbx + 1
0x11b4 27 rcx = sx.q([rsp + 0xc {var_61aac}].d)
0x11b9 28 r15 = r15 + 4
0x11bd 29 rbp = rbp + 4
0x11c4 30 if (rbx s< rcx) then 21 @ 0x11a0 else 39 @ 0x11c6
0x1570 31 rdi = 0x2015 {"no"}
0x1577 32 eax = 0
0x1579 33 call(0x1030)
0x157e 34 r14d = ebx
0x1581 35 eax = (r15 + 1).d
0x1588 36 if (r14d != eax) then 43 @ 0x1612 else 44 @ 0x158e
0x1560 37 eax = (r15 + 1).d
0x1567 38 if (r14d == eax) then 44 @ 0x158e else 46 @ 0x1569
0x11c6 39 eax = ecx
0x11c8 40 ebp = [rsp + 0x30d50 {var_30d68}].d
0x11cf 41 r15d = [rsp + 0x10 {var_61aa8}].d
0x11d6 42 if (ecx s<= 0) then 47 @ 0x151a else 49 @ 0x11df
0x1612 43 if (r14d != r15d) then 50 @ 0x1627 else 57 @ 0x1614
0x158e 44 r14d = ebp
0x1594 45 if (ebp s>= r15d) then 43 @ 0x1612 else 63 @ 0x159a
0x1569 46 goto 43 @ 0x1612
0x151a 47 edx = 0
0x151f 48 if (ebp s> r15d) then 65 @ 0x1509 else 68 @ 0x1523
0x11df 49 if (ecx == 1) then 69 @ 0x1377 else 70 @ 0x11e5
0x1627 50 eax = 0
0x1629 51 rsp = rsp + 0x61a98
0x1630 52 rbx = pop
0x1631 53 r14 = pop
0x1633 54 r15 = pop
0x1635 55 rbp = pop
0x1636 56 <return> jump(pop)
0x1614 57 rdi = 0x2018 {"%d %d"}
0x161b 58 esi = ebp
0x161d 59 edx = r15d
0x1620 60 eax = 0
0x1622 61 call(0x1030)
0x1622 62 goto 50 @ 0x1627
0x159a 63 eax = [rsp + 0xc {var_61aac}].d
0x15a0 64 if (eax s<= 0) then 73 @ 0x15f9 else 75 @ 0x15a2
0x1509 65 r14d = ebp
0x150c 66 eax = (r15 + 1).d
0x1513 67 if (r14d == eax) then 44 @ 0x158e else 78 @ 0x1515
0x1523 68 if (dl == 0) then 11 @ 0x155a else 79 @ 0x1525
0x1377 69 if (ecx s<= 0) then 47 @ 0x151a else 82 @ 0x137d
0x11e5 70 r8 = rax - 1
0x11e9 71 edx = 1
0x11f2 72 if (r8 u< 8) then 84 @ 0x1360 else 86 @ 0x11f8
0x15f9 73 r14d = ebp
0x15ff 74 if (rax != 0) then 57 @ 0x1614 else 95 @ 0x1601
0x15a2 75 xmm0 = zx.o([0x2008].q)
0x15aa 76 r14d = ebp
0x15aa 77 goto 99 @ 0x15ad
0x1515 78 goto 43 @ 0x1612
0x1525 79 r14d = (r15 + 1).d
0x1529 80 ebx = ebp
0x1529 81 goto 104 @ 0x152b
0x137d 82 dl = 1
0x1382 83 if (ecx == 1) then 106 @ 0x1507 else 107 @ 0x1388
0x1360 84 esi = [rsp + (rdx << 2) + 0x30d50].d
0x1369 85 if (esi s< ebp) then 110 else 112 @ 0x136c
0x11f8 86 rdx = r8
0x11fb 87 rdx = rdx & 0xfffffffffffffff8
0x11ff 88 xmm0 = ebp
0x1203 89 xmm0 = _mm_shuffle_epi32(xmm0, 0)
0x1208 90 rdi = rdx - 8
0x120c 91 rsi = rdi
0x120f 92 rsi = rsi u>> 3
0x1213 93 rsi = rsi + 1
0x121a 94 if (rdi == 0) then 114 @ 0x1637 else 117 @ 0x1220
0x1601 95 rdi = 0x2015 {"no"}
0x1608 96 eax = 0
0x160a 97 call(0x1030)
0x160a 98 goto 43 @ 0x1612
0x15ad 99 xmm1 = 0
0x15b0 100 xmm1.q = float.d(r14d)
0x15b5 101 xmm1.q = xmm1.q f+ xmm0.q
0x15b9 102 ecx = 0
0x15bb 103 goto 122 @ 0x15c9
0x152b 104 ecx = 0
0x152d 105 goto 131 @ 0x1540
0x1507 106 if (ebp s<= r15d) then 68 @ 0x1523 else 65 @ 0x1509
0x1388 107 r8 = rax - 1
0x138c 108 esi = 1
0x1395 109 if (r8 u< 8) then 132 @ 0x14f0 else 134 @ 0x139b
0x1369 110 ebp = esi
0x1369 111 goto 112 @ 0x136c
0x136c 112 rdx = rdx + 1
0x1373 113 if (rax != rdx) then 84 @ 0x1360 else 69 @ 0x1377
0x1637 114 edi = 0
0x1639 115 xmm1 = xmm0
0x1641 116 if ((sil & 1) != 0) then 143 @ 0x12b4 else 160 @ 0x1647
0x1220 117 rbp = rsi
0x1223 118 rbp = rbp & 0xfffffffffffffffe
0x1227 119 edi = 0
0x1229 120 xmm1 = xmm0
0x122d 121 goto 161 @ 0x1230
0x15c9 122 xmm2 = 0
0x15cc 123 xmm2.q = float.d([rsp + (rcx << 2) + 0x30d50].d)
0x15d5 124 flag:p = is_unordered.q(xmm1.q, xmm2.q)
0x15d5 125 flag:c = xmm1.q f< xmm2.q | is_unordered.q(xmm1.q, xmm2.q)
0x15d5 126 flag:z = xmm1.q f== xmm2.q | is_unordered.q(xmm1.q, xmm2.q)
0x15d5 127 flag:s = 0
0x15d5 128 flag:o = 0
0x15d5 129 flag:a = 0
0x15d9 130 if (flag:c) then 189 @ 0x15c0 else 191 @ 0x15db
0x1540 131 if (ebx s< [rsp + (rcx << 2) + 0x30d50].d) then 200 @ 0x1530 else 202 @ 0x1546
0x14f0 132 edi = [rsp + (rsi << 2) + 0x10].d
0x14f7 133 if (edi s> r15d) then 203 else 205 @ 0x14fb
0x139b 134 rsi = r8
0x139e 135 rsi = rsi & 0xfffffffffffffff8
0x13a2 136 xmm0 = r15d
0x13a7 137 xmm0 = _mm_shuffle_epi32(xmm0, 0)
0x13ac 138 rdi = rsi - 8
0x13b0 139 r9 = rdi
0x13b3 140 r9 = r9 u>> 3
0x13b7 141 r9 = r9 + 1
0x13be 142 if (rdi == 0) then 207 @ 0x164c else 210 @ 0x13c4
0x12b4 143 rdi = rdi << 2
0x12b8 144 rdi = rdi | 4
0x12bc 145 xmm2 = [rsp + rdi + 0x30d50].o
0x12c5 146 xmm3 = [rsp + rdi + 0x30d60].o
0x12ce 147 xmm4 = xmm0
0x12d2 148 xmm4 = _mm_cmpgt_epi32(xmm4, xmm2)
0x12d6 149 xmm2 = xmm2 & xmm4
0x12da 150 xmm4 = xmm4 & not.o(xmm0)
0x12de 151 xmm4 = xmm4 | xmm2
0x12e2 152 xmm2 = xmm1
0x12e6 153 xmm2 = _mm_cmpgt_epi32(xmm2, xmm3)
0x12ea 154 xmm3 = xmm3 & xmm2
0x12ee 155 xmm2 = xmm2 & not.o(xmm1)
0x12f2 156 xmm2 = xmm2 | xmm3
0x12f6 157 xmm0 = xmm4
0x12fa 158 xmm1 = xmm2
0x12fa 159 goto 215 @ 0x12fe
0x1647 160 goto 215 @ 0x12fe
0x1230 161 xmm2 = [rsp + (rdi << 2) + 0x30d54].o
0x1239 162 xmm3 = [rsp + (rdi << 2) + 0x30d64].o
0x1242 163 xmm4 = [rsp + (rdi << 2) + 0x30d74].o
0x124b 164 xmm5 = [rsp + (rdi << 2) + 0x30d84].o
0x1254 165 xmm6 = xmm0
0x1258 166 xmm6 = _mm_cmpgt_epi32(xmm6, xmm2)
0x125c 167 xmm2 = xmm2 & xmm6
0x1260 168 xmm6 = xmm6 & not.o(xmm0)
0x1264 169 xmm6 = xmm6 | xmm2
0x1268 170 xmm2 = xmm1
0x126c 171 xmm2 = _mm_cmpgt_epi32(xmm2, xmm3)
0x1270 172 xmm3 = xmm3 & xmm2
0x1274 173 xmm2 = xmm2 & not.o(xmm1)
0x1278 174 xmm2 = xmm2 | xmm3
0x127c 175 xmm0 = xmm6
0x1280 176 xmm0 = _mm_cmpgt_epi32(xmm0, xmm4)
0x1284 177 xmm4 = xmm4 & xmm0
0x1288 178 xmm0 = xmm0 & not.o(xmm6)
0x128c 179 xmm0 = xmm0 | xmm4
0x1290 180 xmm1 = xmm2
0x1294 181 xmm1 = _mm_cmpgt_epi32(xmm1, xmm5)
0x1298 182 xmm5 = xmm5 & xmm1
0x129c 183 xmm1 = xmm1 & not.o(xmm2)
0x12a0 184 xmm1 = xmm1 | xmm5
0x12a4 185 rdi = rdi + 0x10
0x12a8 186 temp0.q = rbp
0x12a8 187 rbp = rbp - 2
0x12ac 188 if (temp0.q != 2) then 161 @ 0x1230 else 234 @ 0x12b2
0x15c0 189 rcx = rcx + 1
0x15c7 190 if (rax == rcx) then 95 @ 0x1601 else 122 @ 0x15c9
0x15db 191 xmm2 = 0
0x15de 192 xmm2.q = float.d([rsp + (rcx << 2) + 0x10].d)
0x15e4 193 flag:p = is_unordered.q(xmm2.q, xmm1.q)
0x15e4 194 flag:c = xmm2.q f< xmm1.q | is_unordered.q(xmm2.q, xmm1.q)
0x15e4 195 flag:z = xmm2.q f== xmm1.q | is_unordered.q(xmm2.q, xmm1.q)
0x15e4 196 flag:s = 0
0x15e4 197 flag:o = 0
0x15e4 198 flag:a = 0
0x15e8 199 if (flag:c) then 189 @ 0x15c0 else 235 @ 0x15ec
0x1530 200 rcx = rcx + 1
0x1537 201 if (rax == rcx) then 31 @ 0x1570 else 131 @ 0x1540
0x1546 202 if (ebx s> [rsp + (rcx << 2) + 0x10].d) then 200 @ 0x1530 else 236 @ 0x154a
0x14f7 203 r15d = edi
0x14f7 204 goto 205 @ 0x14fb
0x14fb 205 rsi = rsi + 1
0x1502 206 if (rax != rsi) then 132 @ 0x14f0 else 106 @ 0x1507
0x164c 207 edi = 1
0x1651 208 xmm1 = xmm0
0x1659 209 if ((r9b & 1) != 0) then 237 @ 0x1458 else 252 @ 0x165f
0x13c4 210 rbx = r9
0x13c7 211 rbx = rbx & 0xfffffffffffffffe
0x13cb 212 edi = 1
0x13d0 213 xmm1 = xmm0
0x13de 214 goto 253 @ 0x13e0
0x12fe 215 xmm2 = xmm1
0x1302 216 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0)
0x1306 217 xmm0 = xmm0 & xmm2
0x130a 218 xmm2 = xmm2 & not.o(xmm1)
0x130e 219 xmm2 = xmm2 | xmm0
0x1312 220 xmm0 = _mm_shuffle_epi32(xmm2, 0xee)
0x1317 221 xmm1 = xmm0
0x131b 222 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2)
0x131f 223 xmm2 = xmm2 & xmm1
0x1323 224 xmm1 = xmm1 & not.o(xmm0)
0x1327 225 xmm1 = xmm1 | xmm2
0x132b 226 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x1330 227 xmm2 = xmm0
0x1334 228 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x1338 229 xmm1 = xmm1 & xmm2
0x133c 230 xmm2 = xmm2 & not.o(xmm0)
0x1340 231 xmm2 = xmm2 | xmm1
0x1344 232 ebp = xmm2.d
0x134b 233 if (r8 == rdx) then 69 @ 0x1377 else 281 @ 0x134d
0x12b2 234 if ((sil & 1) == 0) then 215 @ 0x12fe else 143 @ 0x12b4
0x15ec 235 if (eax == ecx) then 95 @ 0x1601 else 283 @ 0x15ee
0x154a 236 if (eax == ecx) then 31 @ 0x1570 else 285 @ 0x154c
0x1458 237 xmm2 = [rsp + (rdi << 2) + 0x10].o
0x145e 238 xmm3 = [rsp + (rdi << 2) + 0x20].o
0x1464 239 xmm4 = xmm2
0x1468 240 xmm4 = _mm_cmpgt_epi32(xmm4, xmm0)
0x146c 241 xmm2 = xmm2 & xmm4
0x1470 242 xmm4 = xmm4 & not.o(xmm0)
0x1474 243 xmm4 = xmm4 | xmm2
0x1478 244 xmm2 = xmm3
0x147c 245 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x1480 246 xmm3 = xmm3 & xmm2
0x1484 247 xmm2 = xmm2 & not.o(xmm1)
0x1488 248 xmm2 = xmm2 | xmm3
0x148c 249 xmm0 = xmm4
0x1490 250 xmm1 = xmm2
0x1490 251 goto 289 @ 0x1494
0x165f 252 goto 289 @ 0x1494
0x13e0 253 xmm2 = [rsp + (rdi << 2) + 0x10].o
0x13e6 254 xmm3 = [rsp + (rdi << 2) + 0x20].o
0x13ec 255 xmm4 = [rsp + (rdi << 2) + 0x30].o
0x13f2 256 xmm5 = [rsp + (rdi << 2) + 0x40].o
0x13f8 257 xmm6 = xmm2
0x13fc 258 xmm6 = _mm_cmpgt_epi32(xmm6, xmm0)
0x1400 259 xmm2 = xmm2 & xmm6
0x1404 260 xmm6 = xmm6 & not.o(xmm0)
0x1408 261 xmm6 = xmm6 | xmm2
0x140c 262 xmm2 = xmm3
0x1410 263 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x1414 264 xmm3 = xmm3 & xmm2
0x1418 265 xmm2 = xmm2 & not.o(xmm1)
0x141c 266 xmm2 = xmm2 | xmm3
0x1420 267 xmm0 = xmm4
0x1424 268 xmm0 = _mm_cmpgt_epi32(xmm0, xmm6)
0x1428 269 xmm4 = xmm4 & xmm0
0x142c 270 xmm0 = xmm0 & not.o(xmm6)
0x1430 271 xmm0 = xmm0 | xmm4
0x1434 272 xmm1 = xmm5
0x1438 273 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2)
0x143c 274 xmm5 = xmm5 & xmm1
0x1440 275 xmm1 = xmm1 & not.o(xmm2)
0x1444 276 xmm1 = xmm1 | xmm5
0x1448 277 rdi = rdi + 0x10
0x144c 278 temp1.q = rbx
0x144c 279 rbx = rbx - 2
0x1450 280 if (temp1.q != 2) then 253 @ 0x13e0 else 308 @ 0x1456
0x134d 281 rdx = rdx | 1
0x135b 282 goto 84 @ 0x1360
0x15ee 283 r14d = r14d + 1
0x15f5 284 if (r14d != r15d) then 99 @ 0x15ad else 309 @ 0x15f7
0x154c 285 ecx = (rbx + 1).d
0x154f 286 cond:0 = ebx != r15d
0x1552 287 ebx = ecx
0x1554 288 if (cond:0) then 104 @ 0x152b else 310 @ 0x1556
0x1494 289 xmm2 = xmm0
0x1498 290 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x149c 291 xmm0 = xmm0 & xmm2
0x14a0 292 xmm2 = xmm2 & not.o(xmm1)
0x14a4 293 xmm2 = xmm2 | xmm0
0x14a8 294 xmm0 = _mm_shuffle_epi32(xmm2, 0xee)
0x14ad 295 xmm1 = xmm2
0x14b1 296 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0)
0x14b5 297 xmm2 = xmm2 & xmm1
0x14b9 298 xmm1 = xmm1 & not.o(xmm0)
0x14bd 299 xmm1 = xmm1 | xmm2
0x14c1 300 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x14c6 301 xmm2 = xmm1
0x14ca 302 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0)
0x14ce 303 xmm1 = xmm1 & xmm2
0x14d2 304 xmm2 = xmm2 & not.o(xmm0)
0x14d6 305 xmm2 = xmm2 | xmm1
0x14da 306 r15d = xmm2.d
0x14e2 307 if (r8 == rsi) then 106 @ 0x1507 else 311 @ 0x14e4
0x1456 308 if ((r9b & 1) == 0) then 289 @ 0x1494 else 237 @ 0x1458
0x15f7 309 goto 57 @ 0x1614
0x1556 310 goto 37 @ 0x1560
0x14e4 311 rsi = rsi | 1
0x14e8 312 goto 132 @ 0x14f0
int64_t _fini():
0x1668 0 rsp = rsp - 8
0x166c 1 rsp = rsp + 8
0x1670 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 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 putchar(int32_t c):
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 {"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)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rax)
0x1151 1 rdi = 0x2004 {"%d"}
0x1158 2 rsi = rsp + 4 {var_8+0x4}
0x115d 3 eax = 0
0x115f 4 call(0x1030)
0x1164 5 eax = [rsp + 4 {var_8+0x4}].d * -0x55555555
0x116c 6 eax = eax + 0x2aaaaaaa
0x1176 7 if (eax u> 0x55555554) then 8 @ 0x1182 else 12 @ 0x1178
0x1182 8 eax = [rsp + 4 {var_8+0x4}].d
0x1186 9 ecx = eax * -0x33333333
0x118c 10 ecx = ecx + 0x19999999
0x1198 11 if (ecx u> 0x33333332) then 15 @ 0x11c0 else 28 @ 0x119a
0x1178 12 edi = 0x33 {""}
0x117d 13 call(0x1040)
0x117d 14 goto 8 @ 0x1182
0x11c0 15 eax = [rsp + 4 {var_8+0x4}].d
0x11c4 16 ecx = eax * -0x49249249
0x11ca 17 ecx = ecx + 0x12492492
0x11d0 18 edx = eax * -0x55555555
0x11d6 19 edx = edx + 0x2aaaaaaa
0x11dc 20 flag:c = edx u< 0x55555555
0x11e2 21 dl = flag:c
0x11e5 22 eax = eax * -0x33333333
0x11eb 23 eax = eax + 0x19999999
0x11f0 24 flag:c = eax u< 0x33333333
0x11f5 25 al = flag:c
0x11f8 26 al = al | dl
0x1200 27 if (ecx u<= 0x24924924) then 31 @ 0x1216 else 32 @ 0x1204
0x119a 28 eax = eax * -0x55555555
0x11a0 29 eax = eax + 0x2aaaaaaa
0x11aa 30 if (eax u> 0x55555554) then 33 @ 0x11b6 else 36 @ 0x11ac
0x1216 31 if (al == 0) then 39 @ 0x1222 else 43 @ 0x1218
0x1204 32 if (al != 0) then 46 @ 0x1212 else 48 @ 0x1206
0x11b6 33 edi = 0x35 {""}
0x11bb 34 call(0x1040)
0x11bb 35 goto 15 @ 0x11c0
0x11ac 36 edi = 0x20 {"@"}
0x11b1 37 call(0x1040)
0x11b1 38 goto 33 @ 0x11b6
0x1222 39 edi = 0x37 {""}
0x1227 40 call(0x1040)
0x122c 41 rax = pop
0x122d 42 <return> jump(pop)
0x1218 43 edi = 0x20 {"@"}
0x121d 44 call(0x1040)
0x121d 45 goto 39 @ 0x1222
0x1212 46 rax = pop
0x1213 47 <return> jump(pop)
0x1206 48 edi = 0x6e {""}
0x120b 49 eax = 0
0x120d 50 call(0x1040)
0x120d 51 goto 46 @ 0x1212
int64_t _fini():
0x1234 0 rsp = rsp - 8
0x1238 1 rsp = rsp + 8
0x123c 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 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)
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 = 0x1180 {"UAWAVAUATSH"}
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 ([0x4050].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 [0x4050].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)
uint64_t pfCompare(int32_t* arg1, int32_t* arg2):
0x1170 0 eax = [rdi].d
0x1172 1 eax = eax - [rsi].d
0x1174 2 <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 - 0x61a98
0x1191 7 rdi = 0x2007 {"%d"}
0x1198 8 rsi = rsp + 0xc {var_61abc}
0x119d 9 eax = 0
0x119f 10 call(0x1040)
0x11a4 11 esi = [rsp + 0xc {var_61abc}].d
0x11aa 12 if (esi s<= 0) then 13 @ 0x11fd else 14 @ 0x11ac
0x11fd 13 if (esi s<= 0) then 18 @ 0x1226 else 26 @ 0x11ff
0x11ac 14 rbx = 0x4060 {""}
0x11b3 15 r14 = 0x2007 {"%d"}
0x11ba 16 ebp = 0
0x11bc 17 goto 30 @ 0x11c0
0x1226 18 rcx = 0x1170 {"+f."}
0x122d 19 r12d = 0
0x1230 20 rdi = rsp + 0x10 {var_61ab8}
0x1235 21 edx = 4
0x123a 22 eax = 0
0x123c 23 call(0x1050)
0x1241 24 eax = [rsp + 0xc {var_61abc}].d
0x1247 25 if (eax s<= 0) then 46 @ 0x12aa else 52 @ 0x1249
0x11ff 26 eax = esi
0x1201 27 rcx = 0x4068 {""}
0x1208 28 edx = 0
0x120a 29 goto 57 @ 0x1210
0x11c0 30 rdi = r14
0x11c3 31 rsi = rbx
0x11c6 32 eax = 0
0x11c8 33 call(0x1040)
0x11cd 34 rsi = rbx + 4
0x11d1 35 rdi = r14
0x11d4 36 eax = 0
0x11d6 37 call(0x1040)
0x11db 38 rsi = rbx + 8
0x11df 39 rdi = r14
0x11e2 40 eax = 0
0x11e4 41 call(0x1040)
0x11e9 42 rbp = rbp + 1
0x11ed 43 rsi = sx.q([rsp + 0xc {var_61abc}].d)
0x11f2 44 rbx = rbx + 0xc
0x11f9 45 if (rbp s< rsi) then 30 @ 0x11c0 else 13 @ 0x11fd
0x12aa 46 eax = [rsp + 0xc {var_61abc}].d
0x12ae 47 eax = eax - 2
0x12b1 48 r13 = sx.q(eax)
0x12b4 49 r14 = 0x4068 {""}
0x12bb 50 r15 = 0x2004 {"%d %d"}
0x12c2 51 goto 63 @ 0x12e5
0x1249 52 rbx = 0x4068 {""}
0x1250 53 r14 = 0x2004 {"%d %d"}
0x1257 54 r15d = 0
0x125a 55 r12d = 0
0x125d 56 goto 65 @ 0x1260
0x1210 57 edi = [rcx].d
0x1212 58 edi = edi + [rcx - 4].d
0x1215 59 [rsp + (rdx << 2) + 0x10].d = edi
0x1219 60 rdx = rdx + 1
0x121d 61 rcx = rcx + 0xc
0x1224 62 if (rax != rdx) then 57 @ 0x1210 else 18 @ 0x1226
0x12e5 63 eax = [rsp + (r13 << 2) + 0x10].d
0x12ef 64 if (eax == [rsp + (r13 << 2) + 0x14].d) then 70 @ 0x12d0 else 76 @ 0x12f6
0x1260 65 rax = sx.q(eax)
0x1262 66 edx = [rsp + (rax << 2) + 0xc].d
0x1266 67 eax = [rbx].d
0x1268 68 eax = eax + [rbx - 4].d
0x126d 69 if (edx != eax) then 77 @ 0x128e else 78 @ 0x126f
0x12d0 70 rax = r13 - 1
0x12d4 71 rcx = sx.q([rsp + 0xc {var_61abc}].d)
0x12d9 72 rcx = rcx - 3
0x12dd 73 cond:0 = r13 s<= rcx
0x12e0 74 r13 = rax
0x12e3 75 if (cond:0) then 86 @ 0x1344 else 63 @ 0x12e5
0x12f6 76 if ([rsp + 0xc {var_61abc}].d s<= 0) then 95 @ 0x12ce else 96 @ 0x12f8
0x128e 77 if (r12d == 3) then 99 @ 0x12a4 else 101 @ 0x1290
0x126f 78 esi = [rbx - 8].d
0x1272 79 rdi = r14
0x1275 80 eax = 0
0x1277 81 call(0x1030)
0x127c 82 edi = 0xa {""}
0x1281 83 call(0x1060)
0x1286 84 r12d = r12d + 1
0x1286 85 goto 77 @ 0x128e
0x1344 86 eax = 0
0x1346 87 rsp = rsp + 0x61a98
0x134d 88 rbx = pop
0x134e 89 r12 = pop
0x1350 90 r13 = pop
0x1352 91 r14 = pop
0x1354 92 r15 = pop
0x1356 93 rbp = pop
0x1357 94 <return> jump(pop)
0x12ce 95 if (r12d == 3) then 86 @ 0x1344 else 70 @ 0x12d0
0x12f8 96 rbp = r14
0x12fb 97 ebx = 0
0x12fd 98 goto 105 @ 0x1300
0x12a4 99 r12d = 3
0x12a4 100 goto 46 @ 0x12aa
0x1290 101 r15 = r15 + 1
0x1294 102 rax = sx.q([rsp + 0xc {var_61abc}].d)
0x1299 103 rbx = rbx + 0xc
0x12a0 104 if (r15 s< rax) then 65 @ 0x1260 else 109 @ 0x12a2
0x1300 105 edx = [rsp + (r13 << 2) + 0x10].d
0x1305 106 eax = [rbp].d
0x1308 107 eax = eax + [rbp - 4].d
0x130d 108 if (edx != eax) then 110 @ 0x132e else 111 @ 0x130f
0x12a2 109 goto 46 @ 0x12aa
0x132e 110 if (r12d == 3) then 119 @ 0x12c4 else 121 @ 0x1330
0x130f 111 esi = [rbp - 8].d
0x1312 112 rdi = r15
0x1315 113 eax = 0
0x1317 114 call(0x1030)
0x131c 115 edi = 0xa {""}
0x1321 116 call(0x1060)
0x1326 117 r12d = r12d + 1
0x1326 118 goto 110 @ 0x132e
0x12c4 119 r12d = 3
0x12c4 120 goto 95 @ 0x12ce
0x1330 121 rbx = rbx + 1
0x1334 122 rax = sx.q([rsp + 0xc {var_61abc}].d)
0x1339 123 rbp = rbp + 0xc
0x1340 124 if (rbx s< rax) then 105 @ 0x1300 else 125 @ 0x1342
0x1342 125 goto 95 @ 0x12ce
int64_t _fini():
0x135c 0 rsp = rsp - 8
0x1360 1 rsp = rsp + 8
0x1364 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)
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 = 0x11e0 {"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)
uint64_t f(int32_t arg1, int32_t arg2):
0x1150 0 push(rbp)
0x1151 1 rbp = rsp {__saved_rbp}
0x1154 2 rsp = rsp - 0x10
0x1158 3 [rbp - 4 {var_c}].d = edi
0x115b 4 [rbp - 8 {var_10}].d = esi
0x115e 5 [rbp - 0xc {var_14}].d = 0
0x115e 6 goto 7 @ 0x1165
0x1165 7 eax = [rbp - 8 {var_10}].d
0x116b 8 if (eax s> [rbp - 4 {var_c}].d) then 9 @ 0x11d4 else 13 @ 0x1171
0x11d4 9 eax = [rbp - 0xc {var_14}].d
0x11d7 10 rsp = rsp + 0x10
0x11db 11 rbp = pop
0x11dc 12 <return> jump(pop)
0x1171 13 eax = [rbp - 8 {var_10}].d
0x1177 14 if (eax != [rbp - 4 {var_c}].d) then 15 @ 0x118f else 16 @ 0x117d
0x118f 15 if ([rbp - 8 {var_10}].d s<= 1) then 20 @ 0x11bc else 21 @ 0x1195
0x117d 16 eax = [rbp - 0xc {var_14}].d
0x1180 17 eax = eax + 1
0x1183 18 [rbp - 0xc {var_14}].d = eax
0x1186 19 goto 34 @ 0x11c1
0x11bc 20 goto 34 @ 0x11c1
0x1195 21 eax = [rbp - 4 {var_c}].d
0x1198 22 temp2.d:temp3.d = sx.q(eax)
0x1198 23 edx = temp2.d
0x1198 24 eax = temp3.d
0x1199 25 temp4.d = edx
0x1199 26 temp5.d = eax
0x1199 27 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp - 8 {var_10}].d)
0x1199 28 temp6.d = edx
0x1199 29 temp7.d = eax
0x1199 30 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp - 8 {var_10}].d)
0x1199 31 eax = temp0.d
0x1199 32 edx = temp1.d
0x119f 33 if (edx != 0) then 20 @ 0x11bc else 35 @ 0x11a5
0x11c1 34 goto 53 @ 0x11c6
0x11a5 35 eax = [rbp - 4 {var_c}].d
0x11a8 36 temp8.d:temp9.d = sx.q(eax)
0x11a8 37 edx = temp8.d
0x11a8 38 eax = temp9.d
0x11a9 39 temp10.d = edx
0x11a9 40 temp11.d = eax
0x11a9 41 temp0.d = divs.dp.d(temp10.d:temp11.d, [rbp - 8 {var_10}].d)
0x11a9 42 temp12.d = edx
0x11a9 43 temp13.d = eax
0x11a9 44 temp1.d = mods.dp.d(temp12.d:temp13.d, [rbp - 8 {var_10}].d)
0x11a9 45 eax = temp0.d
0x11a9 46 edx = temp1.d
0x11ac 47 edi = eax
0x11ae 48 esi = [rbp - 8 {var_10}].d
0x11b1 49 call(0x1150)
0x11b6 50 eax = eax + [rbp - 0xc {var_14}].d
0x11b9 51 [rbp - 0xc {var_14}].d = eax
0x11b9 52 goto 20 @ 0x11bc
0x11c6 53 eax = [rbp - 8 {var_10}].d
0x11c9 54 eax = eax + 1
0x11cc 55 [rbp - 8 {var_10}].d = eax
0x11cf 56 goto 7 @ 0x1165
int32_t main(int32_t argc, char** argv, char** envp):
0x11e0 0 push(rbp)
0x11e1 1 rbp = rsp {__saved_rbp}
0x11e4 2 rsp = rsp - 0x10
0x11e8 3 [rbp - 4 {var_c}].d = 0
0x11ef 4 rdi = 0x2004 {"%d"}
0x11f6 5 rsi = rbp - 8 {var_10}
0x11fa 6 al = 0
0x11fc 7 call(0x1040)
0x1201 8 [rbp - 0xc {var_14}].d = 0
0x1201 9 goto 10 @ 0x1208
0x1208 10 eax = [rbp - 0xc {var_14}].d
0x120e 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x1251 else 16 @ 0x1214
0x1251 12 eax = [rbp - 4 {var_c}].d
0x1254 13 rsp = rsp + 0x10
0x1258 14 rbp = pop
0x1259 15 <return> jump(pop)
0x1214 16 rdi = 0x2004 {"%d"}
0x121b 17 rsi = rbp - 0x10 {var_18}
0x121f 18 al = 0
0x1221 19 call(0x1040)
0x1226 20 edi = [rbp - 0x10 {var_18}].d
0x1229 21 esi = 1
0x122e 22 call(0x1150)
0x1233 23 esi = eax
0x1235 24 rdi = 0x2007 {"%d\n"}
0x123c 25 al = 0
0x123e 26 call(0x1030)
0x1243 27 eax = [rbp - 0xc {var_14}].d
0x1246 28 eax = eax + 1
0x1249 29 [rbp - 0xc {var_14}].d = eax
0x124c 30 goto 10 @ 0x1208
int64_t _fini():
0x1260 0 rsp = rsp - 8
0x1264 1 rsp = rsp + 8
0x1268 2 <return> jump(pop)
| POJ_1 |
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 - 0x40
0x1158 3 [rbp - 4 {var_c}].d = 0
0x115f 4 [rbp - 8 {var_10}].d = edi
0x1162 5 [rbp - 0x10 {var_18}].q = rsi
0x1166 6 rdi = 0x2004 {"%d"}
0x116d 7 rsi = rbp - 0x14 {var_1c}
0x1171 8 al = 0
0x1173 9 call(0x1040)
0x1178 10 eax = [rbp - 0x14 {var_1c}].d
0x117b 11 ecx = 0x64 {""}
0x1180 12 temp2.d:temp3.d = sx.q(eax)
0x1180 13 edx = temp2.d
0x1180 14 eax = temp3.d
0x1181 15 temp4.d = edx
0x1181 16 temp5.d = eax
0x1181 17 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x1181 18 temp6.d = edx
0x1181 19 temp7.d = eax
0x1181 20 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x1181 21 eax = temp0.d
0x1181 22 edx = temp1.d
0x1183 23 [rbp - 0x18 {var_20}].d = eax
0x1186 24 eax = [rbp - 0x14 {var_1c}].d
0x1189 25 ecx = 0x64 {""}
0x118e 26 temp8.d:temp9.d = sx.q(eax)
0x118e 27 edx = temp8.d
0x118e 28 eax = temp9.d
0x118f 29 temp10.d = edx
0x118f 30 temp11.d = eax
0x118f 31 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx)
0x118f 32 temp12.d = edx
0x118f 33 temp13.d = eax
0x118f 34 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx)
0x118f 35 eax = temp0.d
0x118f 36 edx = temp1.d
0x1191 37 [rbp - 0x14 {var_1c}].d = edx
0x1194 38 eax = [rbp - 0x14 {var_1c}].d
0x1197 39 ecx = 0x32 {""}
0x119c 40 temp14.d:temp15.d = sx.q(eax)
0x119c 41 edx = temp14.d
0x119c 42 eax = temp15.d
0x119d 43 temp16.d = edx
0x119d 44 temp17.d = eax
0x119d 45 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx)
0x119d 46 temp18.d = edx
0x119d 47 temp19.d = eax
0x119d 48 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx)
0x119d 49 eax = temp0.d
0x119d 50 edx = temp1.d
0x119f 51 [rbp - 0x1c {var_24}].d = eax
0x11a2 52 eax = [rbp - 0x14 {var_1c}].d
0x11a5 53 ecx = 0x32 {""}
0x11aa 54 temp20.d:temp21.d = sx.q(eax)
0x11aa 55 edx = temp20.d
0x11aa 56 eax = temp21.d
0x11ab 57 temp22.d = edx
0x11ab 58 temp23.d = eax
0x11ab 59 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx)
0x11ab 60 temp24.d = edx
0x11ab 61 temp25.d = eax
0x11ab 62 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx)
0x11ab 63 eax = temp0.d
0x11ab 64 edx = temp1.d
0x11ad 65 [rbp - 0x14 {var_1c}].d = edx
0x11b0 66 eax = [rbp - 0x14 {var_1c}].d
0x11b3 67 ecx = 0x14 {""}
0x11b8 68 temp26.d:temp27.d = sx.q(eax)
0x11b8 69 edx = temp26.d
0x11b8 70 eax = temp27.d
0x11b9 71 temp28.d = edx
0x11b9 72 temp29.d = eax
0x11b9 73 temp0.d = divs.dp.d(temp28.d:temp29.d, ecx)
0x11b9 74 temp30.d = edx
0x11b9 75 temp31.d = eax
0x11b9 76 temp1.d = mods.dp.d(temp30.d:temp31.d, ecx)
0x11b9 77 eax = temp0.d
0x11b9 78 edx = temp1.d
0x11bb 79 [rbp - 0x20 {var_28}].d = eax
0x11be 80 eax = [rbp - 0x14 {var_1c}].d
0x11c1 81 ecx = 0x14 {""}
0x11c6 82 temp32.d:temp33.d = sx.q(eax)
0x11c6 83 edx = temp32.d
0x11c6 84 eax = temp33.d
0x11c7 85 temp34.d = edx
0x11c7 86 temp35.d = eax
0x11c7 87 temp0.d = divs.dp.d(temp34.d:temp35.d, ecx)
0x11c7 88 temp36.d = edx
0x11c7 89 temp37.d = eax
0x11c7 90 temp1.d = mods.dp.d(temp36.d:temp37.d, ecx)
0x11c7 91 eax = temp0.d
0x11c7 92 edx = temp1.d
0x11c9 93 [rbp - 0x14 {var_1c}].d = edx
0x11cc 94 eax = [rbp - 0x14 {var_1c}].d
0x11cf 95 ecx = 0xa {""}
0x11d4 96 temp38.d:temp39.d = sx.q(eax)
0x11d4 97 edx = temp38.d
0x11d4 98 eax = temp39.d
0x11d5 99 temp40.d = edx
0x11d5 100 temp41.d = eax
0x11d5 101 temp0.d = divs.dp.d(temp40.d:temp41.d, ecx)
0x11d5 102 temp42.d = edx
0x11d5 103 temp43.d = eax
0x11d5 104 temp1.d = mods.dp.d(temp42.d:temp43.d, ecx)
0x11d5 105 eax = temp0.d
0x11d5 106 edx = temp1.d
0x11d7 107 [rbp - 0x24 {var_2c}].d = eax
0x11da 108 eax = [rbp - 0x14 {var_1c}].d
0x11dd 109 ecx = 0xa {""}
0x11e2 110 temp44.d:temp45.d = sx.q(eax)
0x11e2 111 edx = temp44.d
0x11e2 112 eax = temp45.d
0x11e3 113 temp46.d = edx
0x11e3 114 temp47.d = eax
0x11e3 115 temp0.d = divs.dp.d(temp46.d:temp47.d, ecx)
0x11e3 116 temp48.d = edx
0x11e3 117 temp49.d = eax
0x11e3 118 temp1.d = mods.dp.d(temp48.d:temp49.d, ecx)
0x11e3 119 eax = temp0.d
0x11e3 120 edx = temp1.d
0x11e5 121 [rbp - 0x14 {var_1c}].d = edx
0x11e8 122 eax = [rbp - 0x14 {var_1c}].d
0x11eb 123 ecx = 5
0x11f0 124 temp50.d:temp51.d = sx.q(eax)
0x11f0 125 edx = temp50.d
0x11f0 126 eax = temp51.d
0x11f1 127 temp52.d = edx
0x11f1 128 temp53.d = eax
0x11f1 129 temp0.d = divs.dp.d(temp52.d:temp53.d, ecx)
0x11f1 130 temp54.d = edx
0x11f1 131 temp55.d = eax
0x11f1 132 temp1.d = mods.dp.d(temp54.d:temp55.d, ecx)
0x11f1 133 eax = temp0.d
0x11f1 134 edx = temp1.d
0x11f3 135 [rbp - 0x28 {var_30}].d = eax
0x11f6 136 eax = [rbp - 0x14 {var_1c}].d
0x11f9 137 ecx = 5
0x11fe 138 temp56.d:temp57.d = sx.q(eax)
0x11fe 139 edx = temp56.d
0x11fe 140 eax = temp57.d
0x11ff 141 temp58.d = edx
0x11ff 142 temp59.d = eax
0x11ff 143 temp0.d = divs.dp.d(temp58.d:temp59.d, ecx)
0x11ff 144 temp60.d = edx
0x11ff 145 temp61.d = eax
0x11ff 146 temp1.d = mods.dp.d(temp60.d:temp61.d, ecx)
0x11ff 147 eax = temp0.d
0x11ff 148 edx = temp1.d
0x1201 149 [rbp - 0x14 {var_1c}].d = edx
0x1204 150 eax = [rbp - 0x14 {var_1c}].d
0x1207 151 [rbp - 0x2c {var_34}].d = eax
0x120a 152 esi = [rbp - 0x18 {var_20}].d
0x120d 153 edx = [rbp - 0x1c {var_24}].d
0x1210 154 ecx = [rbp - 0x20 {var_28}].d
0x1213 155 r8d = [rbp - 0x24 {var_2c}].d
0x1217 156 r9d = [rbp - 0x28 {var_30}].d
0x121b 157 eax = [rbp - 0x2c {var_34}].d
0x121e 158 rdi = 0x2007 {"%d\n%d\n%d\n%d\n%d\n%d\n"}
0x1225 159 [rsp {var_48}].d = eax
0x1228 160 al = 0
0x122a 161 call(0x1030)
0x122f 162 eax = 0
0x1231 163 rsp = rsp + 0x40
0x1235 164 rbp = pop
0x1236 165 <return> jump(pop)
int64_t _fini():
0x123c 0 rsp = rsp - 8
0x1240 1 rsp = rsp + 8
0x1244 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 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 {"UAWAVATSHP"}
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 - 0x1f50
0x115f 6 rdi = 0x2004 {"%d%d"}
0x1166 7 r15d = 0
0x1169 8 rsi = rsp + 8 {var_1f70}
0x116e 9 rdx = rsp + 0xc {var_1f6c}
0x1173 10 eax = 0
0x1175 11 call(0x1030)
0x117a 12 ecx = [rsp + 8 {var_1f70}].d
0x1180 13 if (ecx s<= 0) then 14 @ 0x11cb else 15 @ 0x1182
0x11cb 14 if (ecx s<= 0) then 20 @ 0x1215 else 24 @ 0x11cd
0x1182 15 r12 = rsp + 0x10 {var_1f68}
0x1187 16 rbx = rsp + 0xfb0 {var_fc8}
0x118f 17 r14 = 0x2006 {"%d"}
0x1196 18 ebp = 0
0x1198 19 goto 29 @ 0x11a0
0x1215 20 cond:0 = r15d == 1
0x1219 21 rax = 0x200c {"yes"}
0x1220 22 rdi = 0x2009 {"no"}
0x1227 23 if (cond:0) then 40 else 42 @ 0x122b
0x11cd 24 eax = [rsp + 0xc {var_1f6c}].d
0x11d1 25 ecx = ecx
0x11d3 26 edx = 0
0x11d5 27 r15d = 0
0x11d8 28 goto 51 @ 0x11ef
0x11a0 29 rdi = r14
0x11a3 30 rsi = rbx
0x11a6 31 eax = 0
0x11a8 32 call(0x1030)
0x11ad 33 eax = [rbx].d
0x11af 34 [r12].d = eax
0x11b3 35 rbp = rbp + 1
0x11b7 36 rcx = sx.q([rsp + 8 {var_1f70}].d)
0x11bc 37 r12 = r12 + 4
0x11c0 38 rbx = rbx + 4
0x11c7 39 if (rbp s< rcx) then 29 @ 0x11a0 else 14 @ 0x11cb
0x1227 40 rdi = rax
0x1227 41 goto 42 @ 0x122b
0x122b 42 call(0x1040)
0x1230 43 eax = 0
0x1232 44 rsp = rsp + 0x1f50
0x1239 45 rbx = pop
0x123a 46 r12 = pop
0x123c 47 r14 = pop
0x123e 48 r15 = pop
0x1240 49 rbp = pop
0x1241 50 <return> jump(pop)
0x11ef 51 esi = [rsp + (rdx << 2) + 0xfb0].d
0x11f6 52 edi = 0
0x11f8 53 goto 54 @ 0x1200
0x1200 54 ebp = [rsp + (rdi << 2) + 0x10].d
0x1204 55 ebp = ebp + esi
0x1208 56 if (ebp == eax) then 57 @ 0x11e0 else 59 @ 0x120a
0x11e0 57 r15d = 1
0x11e0 58 goto 61 @ 0x11e6
0x120a 59 rdi = rdi + 1
0x1211 60 if (rcx != rdi) then 54 @ 0x1200 else 63 @ 0x1213
0x11e6 61 rdx = rdx + 1
0x11ed 62 if (rdx == rcx) then 20 @ 0x1215 else 51 @ 0x11ef
0x1213 63 goto 61 @ 0x11e6
int64_t _fini():
0x1248 0 rsp = rsp - 8
0x124c 1 rsp = rsp + 8
0x1250 2 <return> jump(pop)
| POJ_3 |
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)
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 {"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 rbx = 0x2006 {"%d"}
0x117e 4 rsi = rsp + 0x10 {var_78}
0x1183 5 rdi = rbx
0x1186 6 eax = 0
0x1188 7 call(0x1040)
0x118d 8 rsi = rsp + 0x14 {var_74}
0x1192 9 rdi = rbx
0x1195 10 eax = 0
0x1197 11 call(0x1040)
0x119c 12 rsi = rsp + 0x18 {var_70}
0x11a1 13 rdi = rbx
0x11a4 14 eax = 0
0x11a6 15 call(0x1040)
0x11ab 16 rsi = rsp + 0x1c {var_6c}
0x11b0 17 rdi = rbx
0x11b3 18 eax = 0
0x11b5 19 call(0x1040)
0x11ba 20 rsi = rsp + 0x20 {var_68}
0x11bf 21 rdi = rbx
0x11c2 22 eax = 0
0x11c4 23 call(0x1040)
0x11c9 24 rsi = rsp + 0x24 {var_64}
0x11ce 25 rdi = rbx
0x11d1 26 eax = 0
0x11d3 27 call(0x1040)
0x11d8 28 rsi = rsp + 0x28 {var_60}
0x11dd 29 rdi = rbx
0x11e0 30 eax = 0
0x11e2 31 call(0x1040)
0x11e7 32 rsi = rsp + 0x2c {var_5c}
0x11ec 33 rdi = rbx
0x11ef 34 eax = 0
0x11f1 35 call(0x1040)
0x11f6 36 rsi = rsp + 0x30 {var_58}
0x11fb 37 rdi = rbx
0x11fe 38 eax = 0
0x1200 39 call(0x1040)
0x1205 40 rsi = rsp + 0x34 {var_54}
0x120a 41 rdi = rbx
0x120d 42 eax = 0
0x120f 43 call(0x1040)
0x1214 44 rsi = rsp + 0x38 {var_50}
0x1219 45 rdi = rbx
0x121c 46 eax = 0
0x121e 47 call(0x1040)
0x1223 48 rsi = rsp + 0x3c {var_4c}
0x1228 49 rdi = rbx
0x122b 50 eax = 0
0x122d 51 call(0x1040)
0x1232 52 rsi = rsp + 0x40 {var_48}
0x1237 53 rdi = rbx
0x123a 54 eax = 0
0x123c 55 call(0x1040)
0x1241 56 rsi = rsp + 0x44 {var_44}
0x1246 57 rdi = rbx
0x1249 58 eax = 0
0x124b 59 call(0x1040)
0x1250 60 rsi = rsp + 0x48 {var_40}
0x1255 61 rdi = rbx
0x1258 62 eax = 0
0x125a 63 call(0x1040)
0x125f 64 rsi = rsp + 0x4c {var_3c}
0x1264 65 rdi = rbx
0x1267 66 eax = 0
0x1269 67 call(0x1040)
0x126e 68 rsi = rsp + 0x50 {var_38}
0x1273 69 rdi = rbx
0x1276 70 eax = 0
0x1278 71 call(0x1040)
0x127d 72 rsi = rsp + 0x54 {var_34}
0x1282 73 rdi = rbx
0x1285 74 eax = 0
0x1287 75 call(0x1040)
0x128c 76 rsi = rsp + 0x58 {var_30}
0x1291 77 rdi = rbx
0x1294 78 eax = 0
0x1296 79 call(0x1040)
0x129b 80 rsi = rsp + 0x5c {var_2c}
0x12a0 81 rdi = rbx
0x12a3 82 eax = 0
0x12a5 83 call(0x1040)
0x12aa 84 rsi = rsp + 0x60 {var_28}
0x12af 85 rdi = rbx
0x12b2 86 eax = 0
0x12b4 87 call(0x1040)
0x12b9 88 rsi = rsp + 0x64 {var_24}
0x12be 89 rdi = rbx
0x12c1 90 eax = 0
0x12c3 91 call(0x1040)
0x12c8 92 rsi = rsp + 0x68 {var_20}
0x12cd 93 rdi = rbx
0x12d0 94 eax = 0
0x12d2 95 call(0x1040)
0x12d7 96 rsi = rsp + 0x6c {var_1c}
0x12dc 97 rdi = rbx
0x12df 98 eax = 0
0x12e1 99 call(0x1040)
0x12e6 100 rsi = rsp + 0x70 {var_18}
0x12eb 101 rdi = rbx
0x12ee 102 eax = 0
0x12f0 103 call(0x1040)
0x12f5 104 rdi = 0x2004 {"%d%d"}
0x12fc 105 rsi = rsp + 0xc {var_7c}
0x1301 106 rdx = rsp + 8 {var_80}
0x1306 107 eax = 0
0x1308 108 call(0x1040)
0x130d 109 eax = [rsp + 0xc {var_7c}].d
0x1313 110 if (eax s< 0) then 111 @ 0x1327 else 116 @ 0x1318
0x1327 111 rdi = 0x200d {"error"}
0x132e 112 call(0x1050)
0x1333 113 eax = [rsp + 0xc {var_7c}].d
0x1337 114 ecx = [rsp + 8 {var_80}].d
0x1337 115 goto 117 @ 0x133e
0x1318 116 if (eax s> 4) then 111 @ 0x1327 else 118 @ 0x131a
0x133e 117 if (eax u> 4) then 120 @ 0x1523 else 124 @ 0x1346
0x131a 118 ecx = [rsp + 8 {var_80}].d
0x1321 119 if (ecx s> 4) then 111 @ 0x1327 else 125 @ 0x1325
0x1523 120 rsp = rsp + 0x78
0x1527 121 rbx = pop
0x1528 122 r14 = pop
0x152a 123 <return> jump(pop)
0x1346 124 if (ecx s< 0) then 120 @ 0x1523 else 126 @ 0x134f
0x1325 125 if (ecx s>= 0) then 117 @ 0x133e else 111 @ 0x1327
0x134f 126 if (ecx s> 4) then 120 @ 0x1523 else 127 @ 0x1355
0x1355 127 eax = eax
0x1357 128 ecx = ecx
0x1359 129 rax = rax + (rax << 2)
0x135d 130 rcx = rcx + (rcx << 2)
0x1361 131 xmm0 = [rsp + (rax << 2) + 0x10].o
0x1366 132 xmm1 = [rsp + (rcx << 2) + 0x10].o
0x136b 133 [rsp + (rax << 2) + 0x10].o = xmm1
0x1370 134 [rsp + (rcx << 2) + 0x10].o = xmm0
0x1375 135 edx = [rsp + (rax << 2) + 0x20].d
0x1379 136 esi = [rsp + (rcx << 2) + 0x20].d
0x137d 137 [rsp + (rax << 2) + 0x20].d = esi
0x1381 138 [rsp + (rcx << 2) + 0x20].d = edx
0x1385 139 esi = [rsp + 0x10 {var_78}].d
0x1389 140 rbx = 0x2009 {"%d "}
0x1390 141 rdi = rbx
0x1393 142 eax = 0
0x1395 143 call(0x1030)
0x139a 144 esi = [rsp + 0x14 {var_74}].d
0x139e 145 rdi = rbx
0x13a1 146 eax = 0
0x13a3 147 call(0x1030)
0x13a8 148 esi = [rsp + 0x18 {var_70}].d
0x13ac 149 rdi = rbx
0x13af 150 eax = 0
0x13b1 151 call(0x1030)
0x13b6 152 esi = [rsp + 0x1c {var_6c}].d
0x13ba 153 rdi = rbx
0x13bd 154 eax = 0
0x13bf 155 call(0x1030)
0x13c4 156 esi = [rsp + 0x20 {var_68}].d
0x13c8 157 r14 = 0x2006 {"%d"}
0x13cf 158 rdi = r14
0x13d2 159 eax = 0
0x13d4 160 call(0x1030)
0x13d9 161 edi = 0xa {""}
0x13de 162 call(0x1060)
0x13e3 163 esi = [rsp + 0x24 {var_64}].d
0x13e7 164 rdi = rbx
0x13ea 165 eax = 0
0x13ec 166 call(0x1030)
0x13f1 167 esi = [rsp + 0x28 {var_60}].d
0x13f5 168 rdi = rbx
0x13f8 169 eax = 0
0x13fa 170 call(0x1030)
0x13ff 171 esi = [rsp + 0x2c {var_5c}].d
0x1403 172 rdi = rbx
0x1406 173 eax = 0
0x1408 174 call(0x1030)
0x140d 175 esi = [rsp + 0x30 {var_58}].d
0x1411 176 rdi = rbx
0x1414 177 eax = 0
0x1416 178 call(0x1030)
0x141b 179 esi = [rsp + 0x34 {var_54}].d
0x141f 180 rdi = r14
0x1422 181 eax = 0
0x1424 182 call(0x1030)
0x1429 183 edi = 0xa {""}
0x142e 184 call(0x1060)
0x1433 185 esi = [rsp + 0x38 {var_50}].d
0x1437 186 rdi = rbx
0x143a 187 eax = 0
0x143c 188 call(0x1030)
0x1441 189 esi = [rsp + 0x3c {var_4c}].d
0x1445 190 rdi = rbx
0x1448 191 eax = 0
0x144a 192 call(0x1030)
0x144f 193 esi = [rsp + 0x40 {var_48}].d
0x1453 194 rdi = rbx
0x1456 195 eax = 0
0x1458 196 call(0x1030)
0x145d 197 esi = [rsp + 0x44 {var_44}].d
0x1461 198 rdi = rbx
0x1464 199 eax = 0
0x1466 200 call(0x1030)
0x146b 201 esi = [rsp + 0x48 {var_40}].d
0x146f 202 rdi = r14
0x1472 203 eax = 0
0x1474 204 call(0x1030)
0x1479 205 edi = 0xa {""}
0x147e 206 call(0x1060)
0x1483 207 esi = [rsp + 0x4c {var_3c}].d
0x1487 208 rdi = rbx
0x148a 209 eax = 0
0x148c 210 call(0x1030)
0x1491 211 esi = [rsp + 0x50 {var_38}].d
0x1495 212 rdi = rbx
0x1498 213 eax = 0
0x149a 214 call(0x1030)
0x149f 215 esi = [rsp + 0x54 {var_34}].d
0x14a3 216 rdi = rbx
0x14a6 217 eax = 0
0x14a8 218 call(0x1030)
0x14ad 219 esi = [rsp + 0x58 {var_30}].d
0x14b1 220 rdi = rbx
0x14b4 221 eax = 0
0x14b6 222 call(0x1030)
0x14bb 223 esi = [rsp + 0x5c {var_2c}].d
0x14bf 224 rdi = r14
0x14c2 225 eax = 0
0x14c4 226 call(0x1030)
0x14c9 227 edi = 0xa {""}
0x14ce 228 call(0x1060)
0x14d3 229 esi = [rsp + 0x60 {var_28}].d
0x14d7 230 rdi = rbx
0x14da 231 eax = 0
0x14dc 232 call(0x1030)
0x14e1 233 esi = [rsp + 0x64 {var_24}].d
0x14e5 234 rdi = rbx
0x14e8 235 eax = 0
0x14ea 236 call(0x1030)
0x14ef 237 esi = [rsp + 0x68 {var_20}].d
0x14f3 238 rdi = rbx
0x14f6 239 eax = 0
0x14f8 240 call(0x1030)
0x14fd 241 esi = [rsp + 0x6c {var_1c}].d
0x1501 242 rdi = rbx
0x1504 243 eax = 0
0x1506 244 call(0x1030)
0x150b 245 esi = [rsp + 0x70 {var_18}].d
0x150f 246 rdi = r14
0x1512 247 eax = 0
0x1514 248 call(0x1030)
0x1519 249 edi = 0xa {""}
0x151e 250 call(0x1060)
0x151e 251 goto 120 @ 0x1523
int64_t _fini():
0x1530 0 rsp = rsp - 8
0x1534 1 rsp = rsp + 8
0x1538 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 {"AVSH8HD$H$H="}
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(r14)
0x1152 1 push(rbx)
0x1153 2 rsp = rsp - 0x38
0x1157 3 rax = rsp + 8 {var_40}
0x115c 4 [rsp {var_48}].q = rax {var_40}
0x1160 5 rdi = 0x2004 {"%ld\n%ld\n%ld\n%ld\n%ld\n%ld"}
0x1167 6 r14d = 0
0x116a 7 rsi = rsp + 0x30 {var_18}
0x116f 8 rdx = rsp + 0x28 {var_20}
0x1174 9 rcx = rsp + 0x20 {var_28}
0x1179 10 r8 = rsp + 0x18 {var_30}
0x117e 11 r9 = rsp + 0x10 {var_38}
0x1183 12 eax = 0
0x1185 13 call(0x1040)
0x118a 14 rbx = [rsp + 0x30 {var_18}].q
0x118f 15 r10 = 0x6666666666666667 {""}
0x119c 16 if (rbx == 0) then 17 @ 0x11e7 else 20 @ 0x119e
0x11e7 17 rdi = [rsp + 0x28 {var_20}].q
0x11ec 18 r11d = 0
0x11f2 19 if (rdi == 0) then 22 @ 0x1237 else 25 @ 0x11fe
0x119e 20 r14d = 0
0x11ab 21 goto 26 @ 0x11b0
0x1237 22 rsi = [rsp + 0x20 {var_28}].q
0x123c 23 ecx = 0
0x1241 24 if (rsi == 0) then 42 @ 0x1287 else 45 @ 0x124d
0x11fe 25 goto 46 @ 0x1200
0x11b0 26 rsi = r14 + (r14 << 2)
0x11b4 27 rax = rbx
0x11b7 28 rdx:rax = muls.dp.q(rax, r10)
0x11ba 29 rax = rdx
0x11bd 30 rax = rax u>> 0x3f
0x11c1 31 rdx = rdx s>> 2
0x11c5 32 rdx = rdx + rax
0x11c8 33 rax = rdx + rdx
0x11cc 34 rax = rax + (rax << 2)
0x11d0 35 rcx = rbx
0x11d3 36 rcx = rcx - rax
0x11d6 37 r14 = rcx + (rsi << 1)
0x11da 38 rbx = rbx + 9
0x11de 39 cond:0 = rbx u> 0x12
0x11e2 40 rbx = rdx
0x11e5 41 if (cond:0) then 26 @ 0x11b0 else 17 @ 0x11e7
0x1287 42 rbx = [rsp + 0x18 {var_30}].q
0x128c 43 r8d = 0
0x1292 44 if (rbx == 0) then 62 @ 0x12d7 else 65 @ 0x129e
0x124d 45 goto 66 @ 0x1250
0x1200 46 rsi = r11 + (r11 << 2)
0x1204 47 rax = rdi
0x1207 48 rdx:rax = muls.dp.q(rax, r10)
0x120a 49 rax = rdx
0x120d 50 rax = rax u>> 0x3f
0x1211 51 rdx = rdx s>> 2
0x1215 52 rdx = rdx + rax
0x1218 53 rax = rdx + rdx
0x121c 54 rax = rax + (rax << 2)
0x1220 55 rcx = rdi
0x1223 56 rcx = rcx - rax
0x1226 57 r11 = rcx + (rsi << 1)
0x122a 58 rdi = rdi + 9
0x122e 59 cond:1 = rdi u> 0x12
0x1232 60 rdi = rdx
0x1235 61 if (cond:1) then 46 @ 0x1200 else 22 @ 0x1237
0x12d7 62 rbx = [rsp + 0x10 {var_38}].q
0x12dc 63 r9d = 0
0x12e2 64 if (rbx == 0) then 82 @ 0x1327 else 85 @ 0x12ee
0x129e 65 goto 86 @ 0x12a0
0x1250 66 rcx = rcx + (rcx << 2)
0x1254 67 rax = rsi
0x1257 68 rdx:rax = muls.dp.q(rax, r10)
0x125a 69 rax = rdx
0x125d 70 rax = rax u>> 0x3f
0x1261 71 rdx = rdx s>> 2
0x1265 72 rdx = rdx + rax
0x1268 73 rax = rdx + rdx
0x126c 74 rax = rax + (rax << 2)
0x1270 75 rdi = rsi
0x1273 76 rdi = rdi - rax
0x1276 77 rcx = rdi + (rcx << 1)
0x127a 78 rsi = rsi + 9
0x127e 79 cond:2 = rsi u> 0x12
0x1282 80 rsi = rdx
0x1285 81 if (cond:2) then 66 @ 0x1250 else 42 @ 0x1287
0x1327 82 rsi = [rsp + 8 {var_40}].q
0x132c 83 eax = 0
0x1331 84 if (rsi == 0) then 102 @ 0x1377 else 112 @ 0x133d
0x12ee 85 goto 113 @ 0x12f0
0x12a0 86 rdi = r8 + (r8 << 2)
0x12a4 87 rax = rbx
0x12a7 88 rdx:rax = muls.dp.q(rax, r10)
0x12aa 89 rax = rdx
0x12ad 90 rax = rax u>> 0x3f
0x12b1 91 rdx = rdx s>> 2
0x12b5 92 rdx = rdx + rax
0x12b8 93 rax = rdx + rdx
0x12bc 94 rax = rax + (rax << 2)
0x12c0 95 rsi = rbx
0x12c3 96 rsi = rsi - rax
0x12c6 97 r8 = rsi + (rdi << 1)
0x12ca 98 rbx = rbx + 9
0x12ce 99 cond:3 = rbx u> 0x12
0x12d2 100 rbx = rdx
0x12d5 101 if (cond:3) then 86 @ 0x12a0 else 62 @ 0x12d7
0x1377 102 [rsp {var_48_1}].q = rax
0x137b 103 rdi = 0x201c {"%ld\n%ld\n%ld\n%ld\n%ld\n%ld\n"}
0x1382 104 rsi = r14
0x1385 105 rdx = r11
0x1388 106 eax = 0
0x138a 107 call(0x1030)
0x138f 108 rsp = rsp + 0x38
0x1393 109 rbx = pop
0x1394 110 r14 = pop
0x1396 111 <return> jump(pop)
0x133d 112 goto 129 @ 0x1340
0x12f0 113 rdi = r9 + (r9 << 2)
0x12f4 114 rax = rbx
0x12f7 115 rdx:rax = muls.dp.q(rax, r10)
0x12fa 116 rax = rdx
0x12fd 117 rax = rax u>> 0x3f
0x1301 118 rdx = rdx s>> 2
0x1305 119 rdx = rdx + rax
0x1308 120 rax = rdx + rdx
0x130c 121 rax = rax + (rax << 2)
0x1310 122 rsi = rbx
0x1313 123 rsi = rsi - rax
0x1316 124 r9 = rsi + (rdi << 1)
0x131a 125 rbx = rbx + 9
0x131e 126 cond:4 = rbx u> 0x12
0x1322 127 rbx = rdx
0x1325 128 if (cond:4) then 113 @ 0x12f0 else 82 @ 0x1327
0x1340 129 rdi = rax + (rax << 2)
0x1344 130 rax = rsi
0x1347 131 rdx:rax = muls.dp.q(rax, r10)
0x134a 132 rax = rdx
0x134d 133 rax = rax u>> 0x3f
0x1351 134 rdx = rdx s>> 2
0x1355 135 rdx = rdx + rax
0x1358 136 rax = rdx + rdx
0x135c 137 rax = rax + (rax << 2)
0x1360 138 rbx = rsi
0x1363 139 rbx = rbx - rax
0x1366 140 rax = rbx + (rdi << 1)
0x136a 141 rsi = rsi + 9
0x136e 142 cond:5 = rsi u> 0x12
0x1372 143 rsi = rdx
0x1375 144 if (cond:5) then 129 @ 0x1340 else 102 @ 0x1377
int64_t reverse(int64_t arg1):
0x13a3 0 if (rdi == 0) then 1 @ 0x13f8 else 3 @ 0x13a5
0x13f8 1 eax = 0
0x13fa 2 <return> jump(pop)
0x13a5 3 rcx = rdi
0x13a8 4 eax = 0
0x13aa 5 r8 = 0x6666666666666667 {""}
0x13be 6 goto 7 @ 0x13c0
0x13c0 7 rsi = rax + (rax << 2)
0x13c4 8 rax = rcx
0x13c7 9 rdx:rax = muls.dp.q(rax, r8)
0x13ca 10 rax = rdx
0x13cd 11 rax = rax u>> 0x3f
0x13d1 12 rdx = rdx s>> 2
0x13d5 13 rdx = rdx + rax
0x13d8 14 rax = rdx + rdx
0x13dc 15 rax = rax + (rax << 2)
0x13e0 16 rdi = rcx
0x13e3 17 rdi = rdi - rax
0x13e6 18 rax = rdi + (rsi << 1)
0x13ea 19 rcx = rcx + 9
0x13ee 20 cond:0 = rcx u> 0x12
0x13f2 21 rcx = rdx
0x13f5 22 if (cond:0) then 7 @ 0x13c0 else 23 @ 0x13f7
0x13f7 23 <return> jump(pop)
int64_t _fini():
0x1400 0 rsp = rsp - 8
0x1404 1 rsp = rsp + 8
0x1408 2 <return> jump(pop)
| POJ_44 |
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"}
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 - 0x398
0x1171 7 rdi = 0x200a {"%d"}
0x1178 8 rsi = rsp + 8 {var_3c0}
0x117d 9 eax = 0
0x117f 10 call(0x1040)
0x1184 11 eax = [rsp + 8 {var_3c0}].d
0x118a 12 if (eax s<= 0) then 13 @ 0x12e2 else 16 @ 0x1190
0x12e2 13 r8d = (rax - 1).d
0x12e6 14 r8d = r8d * eax
0x12ee 15 if (r8d s< 4) then 20 @ 0x1395 else 21 @ 0x12f4
0x1190 16 rbx = rsp + 0x30 {var_398}
0x1195 17 r14 = 0x2004 {"%d %d %d"}
0x119c 18 ebp = 0
0x119e 19 goto 25 @ 0x11a0
0x1395 20 if (r8d s< 2) then 35 @ 0x1406 else 44 @ 0x1397
0x12f4 21 eax = r8d
0x12f7 22 eax = eax u>> 1
0x12f9 23 edx = 1
0x12fe 24 goto 47 @ 0x1314
0x11a0 25 rdx = rbx + 4
0x11a4 26 rcx = rbx + 8
0x11a8 27 rdi = r14
0x11ab 28 rsi = rbx
0x11ae 29 eax = 0
0x11b0 30 call(0x1040)
0x11b5 31 rbp = rbp + 1
0x11b9 32 rax = sx.q([rsp + 8 {var_3c0}].d)
0x11be 33 rbx = rbx + 0xc
0x11c5 34 if (rbp s< rax) then 25 @ 0x11a0 else 50 @ 0x11c9
0x1406 35 eax = 0
0x1408 36 rsp = rsp + 0x398
0x140f 37 rbx = pop
0x1410 38 r12 = pop
0x1412 39 r13 = pop
0x1414 40 r14 = pop
0x1416 41 r15 = pop
0x1418 42 rbp = pop
0x1419 43 <return> jump(pop)
0x1397 44 ebp = 0
0x1399 45 rbx = 0x200d {"(%d,%d,%d)-(%d,%d,%d)=%.2f\n"}
0x1399 46 goto 51 @ 0x13a0
0x1314 47 xmm0 = zx.o([rsp + (rdx << 3) + 0x230].q)
0x131d 48 rsi = rdx
0x131d 49 goto 76 @ 0x1320
0x11c9 50 if (eax s<= 0) then 13 @ 0x12e2 else 86 @ 0x11cf
0x13a0 51 rax = sx.q([rsp + (rbp << 2) + 0x170].d)
0x13a8 52 rax = rax + (rax << 1)
0x13ac 53 esi = [rsp + (rax << 2) + 0x30].d
0x13b0 54 edx = [rsp + (rax << 2) + 0x34].d
0x13b4 55 ecx = [rsp + (rax << 2) + 0x38].d
0x13b8 56 rax = sx.q([rsp + (rbp << 2) + 0xb0].d)
0x13c0 57 rax = rax + (rax << 1)
0x13c4 58 r8d = [rsp + (rax << 2) + 0x30].d
0x13c9 59 r9d = [rsp + (rax << 2) + 0x34].d
0x13ce 60 eax = [rsp + (rax << 2) + 0x38].d
0x13d2 61 xmm0 = zx.o([rsp + (rbp << 3) + 0x230].q)
0x13db 62 [rsp {var_3c8}].d = eax
0x13de 63 rdi = rbx
0x13e1 64 al = 1
0x13e3 65 call(0x1030)
0x13e8 66 rbp = rbp + 1
0x13ec 67 eax = [rsp + 8 {var_3c0}].d
0x13f0 68 ecx = (rax - 1).d
0x13f3 69 ecx = ecx * eax
0x13f6 70 eax = ecx
0x13f8 71 eax = eax u>> 0x1f
0x13fb 72 eax = eax + ecx
0x13fd 73 eax = eax s>> 1
0x13ff 74 rax = sx.q(eax)
0x1404 75 if (rbp s< rax) then 51 @ 0x13a0 else 35 @ 0x1406
0x1320 76 rdi = rsi - 1
0x1324 77 ebp = edi
0x1326 78 xmm1 = zx.o([rsp + (rbp << 3) + 0x230].q)
0x132f 79 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x132f 80 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x132f 81 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x132f 82 flag:s = 0
0x132f 83 flag:o = 0
0x132f 84 flag:a = 0
0x1333 85 if (flag:z || flag:c) then 92 @ 0x1300 else 95 @ 0x1335
0x11cf 86 r13 = rsp + 0x44 {var_384}
0x11d4 87 edx = 0
0x11d6 88 edi = 1
0x11db 89 xmm1 = _mm_xor_pd(xmm1, xmm1)
0x11df 90 esi = 0
0x11e1 91 goto 108 @ 0x1215
0x1300 92 ecx = esi
0x1302 93 [rsp + (rcx << 3) + 0x230].q = xmm0.q
0x1302 94 goto 112 @ 0x130b
0x1335 95 [rsp + (rsi << 3) + 0x230].q = xmm1.q
0x133e 96 [rsp + (rbp << 3) + 0x230].q = xmm0.q
0x1347 97 ebx = [rsp + (rbp << 2) + 0x170].d
0x134e 98 ecx = [rsp + (rsi << 2) + 0x170].d
0x1355 99 [rsp + (rbp << 2) + 0x170].d = ecx
0x135c 100 [rsp + (rsi << 2) + 0x170].d = ebx
0x1363 101 ecx = [rsp + (rbp << 2) + 0xb0].d
0x136a 102 ebx = [rsp + (rsi << 2) + 0xb0].d
0x1371 103 [rsp + (rbp << 2) + 0xb0].d = ebx
0x1378 104 [rsp + (rsi << 2) + 0xb0].d = ecx
0x137f 105 rcx = rdi + 1
0x1383 106 rsi = rdi
0x138a 107 if (rcx s> 1) then 76 @ 0x1320 else 114 @ 0x138c
0x1215 108 r14 = rdx
0x1218 109 rdx = rdx + 1
0x121c 110 rcx = sx.q(eax)
0x1222 111 if (rdx s>= rcx) then 115 @ 0x1204 else 118 @ 0x1224
0x130b 112 rdx = rdx + 1
0x1312 113 if (rdx == rax) then 20 @ 0x1395 else 47 @ 0x1314
0x138c 114 goto 112 @ 0x130b
0x1204 115 rdi = rdi + 1
0x1208 116 r13 = r13 + 0xc
0x120f 117 if (rdx s>= rcx) then 13 @ 0x12e2 else 108 @ 0x1215
0x1224 118 [rsp + 0x10 {var_3b8_1}].q = rdx
0x1229 119 rax = r14 + (r14 << 1)
0x122d 120 rbp = rsp + (rax << 2)
0x1231 121 rbp = rbp + 0x34
0x1235 122 [rsp + 0xc {var_3bc_1}].d = esi
0x1239 123 rax = sx.q(esi)
0x123c 124 r12 = rsp + (rax << 3) + 0x230
0x1244 125 rbx = rsp + (rax << 2)
0x1248 126 rbx = rbx + 0x170
0x124f 127 rsi = rsp + (rax << 2)
0x1253 128 rsi = rsi + 0xb0
0x125a 129 [rsp + 0x18 {var_3b0_1}].q = r13
0x125f 130 r15d = 0
0x1262 131 [rsp + 0x28 {var_3a0_1}].q = rdi
0x1267 132 [rsp + 0x20 {var_3a8_1}].q = rsi
0x126c 133 goto 134 @ 0x12ad
0x12ad 134 eax = [rbp].d
0x12b0 135 eax = eax - [r13 - 4].d
0x12b4 136 ecx = [rbp + 4].d
0x12b7 137 ecx = ecx - [r13].d
0x12bb 138 eax = eax * eax
0x12be 139 ecx = ecx * ecx
0x12c1 140 ecx = ecx + eax
0x12c3 141 eax = [rbp - 4].d
0x12c6 142 eax = eax - [r13 - 8].d
0x12ca 143 eax = eax * eax
0x12cd 144 eax = eax + ecx
0x12cf 145 xmm0 = 0
0x12d2 146 xmm0.q = float.d(eax)
0x12d6 147 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x12d6 148 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x12d6 149 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x12d6 150 flag:s = 0
0x12d6 151 flag:o = 0
0x12d6 152 flag:a = 0
0x12da 153 if (flag:c) then 154 @ 0x1270 else 159 @ 0x12dc
0x1270 154 call(0x1050)
0x1275 155 rsi = [rsp + 0x20 {var_3a8_1}].q
0x127a 156 rdi = [rsp + 0x28 {var_3a0_1}].q
0x127f 157 xmm1 = _mm_xor_pd(xmm1, xmm1)
0x127f 158 goto 161 @ 0x1283
0x12dc 159 xmm0 = _mm_sqrt_sd(xmm0.q)
0x12e0 160 goto 161 @ 0x1283
0x1283 161 [r12 + (r15 << 3)].q = xmm0.q
0x1289 162 [rbx + (r15 << 2)].d = r14d
0x128d 163 eax = (rdi + r15).d
0x1291 164 [rsi + (r15 << 2)].d = eax
0x1295 165 eax = [rsp + 8 {var_3c0}].d
0x1299 166 r15 = r15 + 1
0x129d 167 ecx = (r15 + rdi).d
0x12a1 168 r13 = r13 + 0xc
0x12a7 169 if (eax s<= ecx) then 170 @ 0x11f0 else 134 @ 0x12ad
0x11f0 170 rcx = sx.q(eax)
0x11f3 171 esi = [rsp + 0xc {var_3bc_1}].d
0x11f7 172 esi = esi + r15d
0x11fa 173 r13 = [rsp + 0x18 {var_3b0_1}].q
0x11ff 174 rdx = [rsp + 0x10 {var_3b8_1}].q
0x11ff 175 goto 115 @ 0x1204
int64_t _fini():
0x1420 0 rsp = rsp - 8
0x1424 1 rsp = rsp + 8
0x1428 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)
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 {"AWAVSHH=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)
void work(int32_t arg1, int32_t arg2):
0x1150 0 push(rbp)
0x1151 1 push(r14)
0x1153 2 push(rbx)
0x1157 3 if (edi != 1) then 4 @ 0x1162 else 7 @ 0x1159
0x1162 4 ebx = esi
0x1164 5 r14d = edi
0x1169 6 if (esi s<= edi) then 9 @ 0x1170 else 11 @ 0x116b
0x1159 7 [0x403c].d = [0x403c].d + 1
0x1160 8 goto 11 @ 0x116b
0x1170 9 ebp = (r14 + 1).d
0x1174 10 goto 15 @ 0x1187
0x116b 11 rbx = pop
0x116c 12 r14 = pop
0x116e 13 rbp = pop
0x116f 14 <return> jump(pop)
0x1187 15 eax = r14d
0x118a 16 temp2.d:temp3.d = sx.q(eax)
0x118a 17 edx = temp2.d
0x118a 18 eax = temp3.d
0x118b 19 temp4.d = edx
0x118b 20 temp5.d = eax
0x118b 21 temp0.d = divs.dp.d(temp4.d:temp5.d, ebx)
0x118b 22 temp6.d = edx
0x118b 23 temp7.d = eax
0x118b 24 temp1.d = mods.dp.d(temp6.d:temp7.d, ebx)
0x118b 25 eax = temp0.d
0x118b 26 edx = temp1.d
0x118f 27 if (edx != 0) then 28 @ 0x1180 else 30 @ 0x1191
0x1180 28 ebx = ebx + 1
0x1185 29 if (ebp == ebx) then 11 @ 0x116b else 15 @ 0x1187
0x1191 30 edi = eax
0x1193 31 esi = ebx
0x1195 32 call(0x1150)
0x119a 33 goto 28 @ 0x1180
int32_t main(int32_t argc, char** argv, char** envp):
0x11a0 0 push(r15)
0x11a2 1 push(r14)
0x11a4 2 push(rbx)
0x11a5 3 rsp = rsp - 0x10
0x11a9 4 rdi = 0x2004 {"%d"}
0x11b0 5 rsi = rsp + 8 {var_20}
0x11b5 6 eax = 0
0x11b7 7 call(0x1040)
0x11bc 8 temp0.d = [rsp + 8 {var_20}].d
0x11bc 9 [rsp + 8 {var_20}].d = [rsp + 8 {var_20}].d - 1
0x11c1 10 if (temp0.d u< 1) then 11 @ 0x121c else 17 @ 0x11c3
0x121c 11 eax = 0
0x121e 12 rsp = rsp + 0x10
0x1222 13 rbx = pop
0x1223 14 r14 = pop
0x1225 15 r15 = pop
0x1227 16 <return> jump(pop)
0x11c3 17 r14 = 0x2004 {"%d"}
0x11ca 18 r15 = rsp + 0xc {var_1c}
0x11cf 19 rbx = 0x2007 {"%d\n"}
0x11d6 20 goto 21 @ 0x11e0
0x11e0 21 [0x403c].d = 0
0x11ea 22 rdi = r14
0x11ed 23 rsi = r15 {var_1c}
0x11f0 24 eax = 0
0x11f2 25 call(0x1040)
0x11f7 26 edi = [rsp + 0xc {var_1c}].d
0x11fb 27 esi = 2
0x1200 28 call(0x1150)
0x1205 29 esi = [0x403c].d
0x120b 30 rdi = rbx
0x120e 31 eax = 0
0x1210 32 call(0x1030)
0x1215 33 temp1.d = [rsp + 8 {var_20}].d
0x1215 34 [rsp + 8 {var_20}].d = [rsp + 8 {var_20}].d - 1
0x121a 35 if (temp1.d u>= 1) then 21 @ 0x11e0 else 11 @ 0x121c
int64_t _fini():
0x122c 0 rsp = rsp - 8
0x1230 1 rsp = rsp + 8
0x1234 2 <return> jump(pop)
| POJ_1 |
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 {"UAWAVAUATSPH="}
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 push(rax)
0x115b 7 rdi = 0x200c {"%d"}
0x1162 8 rsi = rsp + 4 {var_38+0x4}
0x1167 9 eax = 0
0x1169 10 call(0x1040)
0x116e 11 rax = sx.q([rsp + 4 {var_38+0x4}].d)
0x1173 12 r9 = rax * 0x68db8bad
0x117a 13 rcx = r9
0x117d 14 rcx = rcx u>> 0x3f
0x1181 15 r9 = r9 s>> 0x2c
0x1185 16 r9d = r9d + ecx
0x1188 17 ebx = r9d * -0x2710
0x118f 18 ebx = ebx + eax
0x1191 19 rcx = sx.q(ebx)
0x1194 20 r8 = rcx * 0x10624dd3
0x119b 21 rcx = r8
0x119e 22 rcx = rcx u>> 0x3f
0x11a2 23 r8 = r8 s>> 0x26
0x11a6 24 r8d = r8d + ecx
0x11a9 25 r13d = r8d * -0x3e8
0x11b0 26 r13d = r13d + ebx
0x11b3 27 rcx = sx.q(r13d)
0x11b6 28 rcx = rcx * 0x51eb851f
0x11bd 29 rdx = rcx
0x11c0 30 rdx = rdx u>> 0x3f
0x11c4 31 rcx = rcx s>> 0x25
0x11c8 32 ecx = ecx + edx
0x11ca 33 r15d = ecx * -0x64
0x11ce 34 r15d = r15d + r13d
0x11d1 35 r14 = sx.q(r15d)
0x11d4 36 r12 = r14 * 0x66666667
0x11db 37 rdx = r12
0x11de 38 rdx = rdx u>> 0x3f
0x11e2 39 r12 = r12 s>> 0x22
0x11e6 40 r12d = r12d + edx
0x11e9 41 edx = (r12 + r12).d
0x11ed 42 edx = (rdx + (rdx << 2)).d
0x11f0 43 r14d = r14d - edx
0x11f3 44 ebp = (rax + 0x270f).d
0x11ff 45 if (ebp u>= 0x4e1f) then 46 @ 0x1228 else 52 @ 0x1201
0x1228 46 rdi = 0x2004 {"%d%d%d%d%d"}
0x122f 47 esi = r14d
0x1232 48 edx = r12d
0x1235 49 eax = 0
0x1237 50 call(0x1030)
0x1237 51 goto 54 @ 0x123c
0x1201 52 eax = (rbx - 0x3e8).d
0x120c 53 if (eax u> -0x7d0) then 61 @ 0x12b2 else 64 @ 0x1212
0x123c 54 flag:c = ebp u< 0x4e1f
0x1242 55 al = flag:c
0x1245 56 ebx = ebx + 0x3e7
0x124b 57 flag:c = ebx u< 0x7cf
0x1251 58 dl = flag:c
0x1254 59 dl = dl & al
0x1254 60 goto 70 @ 0x1256
0x12b2 61 eax = (r13 - 0x64).d
0x12b6 62 dl = 1
0x12bd 63 if (eax u> -0xc8) then 70 @ 0x1256 else 75 @ 0x12bf
0x1212 64 rdi = 0x2006 {"%d%d%d%d"}
0x1219 65 esi = r14d
0x121c 66 edx = r12d
0x121f 67 eax = 0
0x1221 68 call(0x1030)
0x1226 69 goto 54 @ 0x123c
0x1256 70 r13d = r13d + 0x63
0x125a 71 flag:c = r13d u< 0xc7
0x1261 72 al = flag:c
0x1264 73 al = al & dl
0x1268 74 if (al != 1) then 81 @ 0x1289 else 86 @ 0x126a
0x12bf 75 rdi = 0x2008 {"%d%d%d"}
0x12c6 76 esi = r14d
0x12c9 77 edx = r12d
0x12cc 78 eax = 0
0x12ce 79 call(0x1030)
0x12ce 80 goto 88 @ 0x12d3
0x1289 81 r15d = r15d + 9
0x128d 82 flag:c = r15d u< 0x13
0x1291 83 cl = flag:c
0x1294 84 al = al & cl
0x1298 85 if (al != 1) then 88 @ 0x12d3 else 97 @ 0x129d
0x126a 86 ecx = (r15 - 0xa).d
0x1271 87 if (ecx u> -0x14) then 81 @ 0x1289 else 98 @ 0x1273
0x12d3 88 eax = 0
0x12d5 89 rsp = rsp + 8
0x12d9 90 rbx = pop
0x12da 91 r12 = pop
0x12dc 92 r13 = pop
0x12de 93 r14 = pop
0x12e0 94 r15 = pop
0x12e2 95 rbp = pop
0x12e3 96 <return> jump(pop)
0x129d 97 if (r14d == 0) then 88 @ 0x12d3 else 104 @ 0x129f
0x1273 98 rdi = 0x200a {"%d%d"}
0x127a 99 esi = r14d
0x127d 100 edx = r12d
0x1280 101 eax = 0
0x1282 102 call(0x1030)
0x1287 103 goto 88 @ 0x12d3
0x129f 104 rdi = 0x200c {"%d"}
0x12a6 105 esi = r14d
0x12a9 106 eax = 0
0x12ab 107 call(0x1030)
0x12b0 108 goto 88 @ 0x12d3
int64_t _fini():
0x12e8 0 rsp = rsp - 8
0x12ec 1 rsp = rsp + 8
0x12f0 2 <return> jump(pop)
| POJ_56 |
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 {"UAWAVSPH=V"}
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)
void f(int32_t arg1, int32_t arg2):
0x1150 0 push(rbp)
0x1151 1 push(r14)
0x1153 2 push(rbx)
0x1157 3 if (edi != 1) then 4 @ 0x1162 else 7 @ 0x1159
0x1162 4 ebx = esi
0x1164 5 r14d = edi
0x1169 6 if (esi s<= edi) then 9 @ 0x1170 else 11 @ 0x116b
0x1159 7 [0x403c].d = [0x403c].d + 1
0x1160 8 goto 11 @ 0x116b
0x1170 9 ebp = (r14 + 1).d
0x1174 10 goto 15 @ 0x1187
0x116b 11 rbx = pop
0x116c 12 r14 = pop
0x116e 13 rbp = pop
0x116f 14 <return> jump(pop)
0x1187 15 eax = r14d
0x118a 16 temp2.d:temp3.d = sx.q(eax)
0x118a 17 edx = temp2.d
0x118a 18 eax = temp3.d
0x118b 19 temp4.d = edx
0x118b 20 temp5.d = eax
0x118b 21 temp0.d = divs.dp.d(temp4.d:temp5.d, ebx)
0x118b 22 temp6.d = edx
0x118b 23 temp7.d = eax
0x118b 24 temp1.d = mods.dp.d(temp6.d:temp7.d, ebx)
0x118b 25 eax = temp0.d
0x118b 26 edx = temp1.d
0x118f 27 if (edx != 0) then 28 @ 0x1180 else 30 @ 0x1191
0x1180 28 ebx = ebx + 1
0x1185 29 if (ebp == ebx) then 11 @ 0x116b else 15 @ 0x1187
0x1191 30 edi = eax
0x1193 31 esi = ebx
0x1195 32 call(0x1150)
0x119a 33 goto 28 @ 0x1180
int32_t main(int32_t argc, char** argv, char** envp):
0x11a0 0 push(rbp)
0x11a1 1 push(r15)
0x11a3 2 push(r14)
0x11a5 3 push(rbx)
0x11a6 4 push(rax)
0x11a7 5 rdi = 0x2004 {"%d"}
0x11ae 6 rsi = rsp {var_28}
0x11b1 7 eax = 0
0x11b3 8 call(0x1040)
0x11bc 9 if ([rsp {var_28}].d s<= 0) then 10 @ 0x121d else 17 @ 0x11be
0x121d 10 eax = 0
0x121f 11 rsp = rsp + 8
0x1223 12 rbx = pop
0x1224 13 r14 = pop
0x1226 14 r15 = pop
0x1228 15 rbp = pop
0x1229 16 <return> jump(pop)
0x11be 17 r14 = 0x2004 {"%d"}
0x11c5 18 r15 = rsp + 4 {var_28+0x4}
0x11ca 19 rbx = 0x2007 {"%d\n"}
0x11d1 20 ebp = 0
0x11dd 21 goto 22 @ 0x11e0
0x11e0 22 [0x403c].d = 0
0x11ea 23 rdi = r14
0x11ed 24 rsi = r15 {var_28+0x4}
0x11f0 25 eax = 0
0x11f2 26 call(0x1040)
0x11f7 27 edi = [rsp + 4 {var_28+0x4}].d
0x11fb 28 esi = 2
0x1200 29 call(0x1150)
0x1205 30 esi = [0x403c].d
0x120b 31 rdi = rbx
0x120e 32 eax = 0
0x1210 33 call(0x1030)
0x1215 34 ebp = ebp + 1
0x121b 35 if (ebp s< [rsp {var_28}].d) then 22 @ 0x11e0 else 10 @ 0x121d
int64_t _fini():
0x1230 0 rsp = rsp - 8
0x1234 1 rsp = rsp + 8
0x1238 2 <return> jump(pop)
| POJ_1 |
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 - 0x500
0x115b 3 rsi = rbp - 0x4e0 {var_4e8}
0x1162 4 rsi = rsi + 4 {var_4e4}
0x1166 5 rdi = 0x2004 {"%d%c"}
0x116d 6 rdx = rbp - 0x4f1 {var_4f9}
0x1174 7 al = 0
0x1176 8 call(0x1040)
0x117b 9 eax = sx.d([rbp - 0x4f1 {var_4f9}].b)
0x1185 10 if (eax != 0xa) then 11 @ 0x119e else 13 @ 0x118b
0x119e 11 [rbp - 0x4e8 {var_4f0_1}].d = 2
0x119e 12 goto 17 @ 0x11a8
0x118b 13 rdi = 0x2009 {"No\n"}
0x1192 14 al = 0
0x1194 15 call(0x1030)
0x1199 16 goto 27 @ 0x1382
0x11a8 17 rax = sx.q([rbp - 0x4e8 {var_4f0_1}].d)
0x11af 18 rsi = rbp - 0x4e0 {var_4e8}
0x11b6 19 rax = rax << 2
0x11ba 20 rsi = rsi + rax
0x11bd 21 rdi = 0x2004 {"%d%c"}
0x11c4 22 rdx = rbp - 0x4f1 {var_4f9}
0x11cb 23 al = 0
0x11cd 24 call(0x1040)
0x11d2 25 eax = sx.d([rbp - 0x4f1 {var_4f9}].b)
0x11dc 26 if (eax != 0xa) then 30 @ 0x11e7 else 31 @ 0x11e2
0x1382 27 rsp = rsp + 0x500
0x1389 28 rbp = pop
0x138a 29 <return> jump(pop)
0x11e7 30 goto 32 @ 0x11ec
0x11e2 31 goto 36 @ 0x1200
0x11ec 32 eax = [rbp - 0x4e8 {var_4f0_1}].d
0x11f2 33 eax = eax + 1
0x11f5 34 [rbp - 0x4e8 {var_4f0_1}].d = eax
0x11fb 35 goto 17 @ 0x11a8
0x1200 36 [rbp - 0x4ec {var_4f4_1}].d = 1
0x1200 37 goto 38 @ 0x120a
0x120a 38 eax = [rbp - 0x4ec {var_4f4_1}].d
0x1216 39 if (eax s> [rbp - 0x4e8 {var_4f0_1}].d) then 40 @ 0x12e5 else 44 @ 0x121c
0x12e5 40 eax = [rbp - 0x4e8 {var_4f0_1}].d
0x12eb 41 eax = eax - 1
0x12ee 42 [rbp - 0x4ec {var_4f4_2}].d = eax
0x12ee 43 goto 46 @ 0x12fb
0x121c 44 [rbp - 0x4f0 {var_4f8_1}].d = 1
0x121c 45 goto 47 @ 0x1226
0x12fb 46 if ([rbp - 0x4ec {var_4f4_2}].d s< 1) then 51 @ 0x1348 else 52 @ 0x1301
0x1226 47 eax = [rbp - 0x4f0 {var_4f8_1}].d
0x122c 48 ecx = [rbp - 0x4e8 {var_4f0_1}].d
0x1232 49 ecx = ecx - [rbp - 0x4ec {var_4f4_1}].d
0x123a 50 if (eax s> ecx) then 56 @ 0x12cc else 57 @ 0x1240
0x1348 51 if ([rbp - 0x4ec {var_4f4_2}].d s< 1) then 63 @ 0x136f else 67 @ 0x134e
0x1301 52 rax = sx.q([rbp - 0x4ec {var_4f4_2}].d)
0x1308 53 eax = [rbp + (rax << 2) - 0x4e0].d
0x130f 54 rcx = sx.q([rbp - 0x4e8 {var_4f0_1}].d)
0x131d 55 if (eax s>= [rbp + (rcx << 2) - 0x4e0].d) then 73 @ 0x1328 else 74 @ 0x1323
0x12cc 56 goto 75 @ 0x12d1
0x1240 57 rax = sx.q([rbp - 0x4f0 {var_4f8_1}].d)
0x1247 58 eax = [rbp + (rax << 2) - 0x4e0].d
0x124e 59 ecx = [rbp - 0x4f0 {var_4f8_1}].d
0x1254 60 ecx = ecx + 1
0x1257 61 rcx = sx.q(ecx)
0x1261 62 if (eax s<= [rbp + (rcx << 2) - 0x4e0].d) then 79 @ 0x12b3 else 80 @ 0x1267
0x136f 63 rdi = 0x2009 {"No\n"}
0x1376 64 al = 0
0x1378 65 call(0x1030)
0x1378 66 goto 95 @ 0x137d
0x134e 67 rax = sx.q([rbp - 0x4ec {var_4f4_2}].d)
0x1355 68 esi = [rbp + (rax << 2) - 0x4e0].d
0x135c 69 rdi = 0x200d {"%d\n"}
0x1363 70 al = 0
0x1365 71 call(0x1030)
0x136a 72 goto 95 @ 0x137d
0x1328 73 goto 96 @ 0x132d
0x1323 74 goto 51 @ 0x1348
0x12d1 75 eax = [rbp - 0x4ec {var_4f4_1}].d
0x12d7 76 eax = eax + 1
0x12da 77 [rbp - 0x4ec {var_4f4_1}].d = eax
0x12e0 78 goto 38 @ 0x120a
0x12b3 79 goto 100 @ 0x12b8
0x1267 80 rax = sx.q([rbp - 0x4f0 {var_4f8_1}].d)
0x126e 81 eax = [rbp + (rax << 2) - 0x4e0].d
0x1275 82 [rbp - 0x4e4 {var_4ec_1}].d = eax
0x127b 83 eax = [rbp - 0x4f0 {var_4f8_1}].d
0x1281 84 eax = eax + 1
0x1284 85 rax = sx.q(eax)
0x1286 86 ecx = [rbp + (rax << 2) - 0x4e0].d
0x128d 87 rax = sx.q([rbp - 0x4f0 {var_4f8_1}].d)
0x1294 88 [rbp + (rax << 2) - 0x4e0].d = ecx
0x129b 89 ecx = [rbp - 0x4e4 {var_4ec_1}].d
0x12a1 90 eax = [rbp - 0x4f0 {var_4f8_1}].d
0x12a7 91 eax = eax + 1
0x12aa 92 rax = sx.q(eax)
0x12ac 93 [rbp + (rax << 2) - 0x4e0].d = ecx
0x12ac 94 goto 79 @ 0x12b3
0x137d 95 goto 27 @ 0x1382
0x132d 96 eax = [rbp - 0x4ec {var_4f4_2}].d
0x1333 97 eax = eax - 1
0x1336 98 [rbp - 0x4ec {var_4f4_2}].d = eax
0x133c 99 goto 46 @ 0x12fb
0x12b8 100 eax = [rbp - 0x4f0 {var_4f8_1}].d
0x12be 101 eax = eax + 1
0x12c1 102 [rbp - 0x4f0 {var_4f8_1}].d = eax
0x12c7 103 goto 47 @ 0x1226
int64_t _fini():
0x1390 0 rsp = rsp - 8
0x1394 1 rsp = rsp + 8
0x1398 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)
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 - 0xfa8b0
0x116b 3 rdi = rbp - 0x80 {var_88}
0x116f 4 esi = 0
0x1171 5 edx = 0x6c {""}
0x1176 6 call(0x1040)
0x117b 7 rdi = rbp - 0xf0 {var_f8}
0x1182 8 esi = 0
0x1184 9 edx = 0x6c {""}
0x1189 10 call(0x1040)
0x118e 11 rdi = 0x2004 {"%d"}
0x1195 12 rsi = rbp - 4 {var_c}
0x1199 13 al = 0
0x119b 14 call(0x1050)
0x11a0 15 rdi = rbp - 0xfa8b0 {var_fa8b8}
0x11a7 16 esi = 0
0x11a9 17 edx = 0xfa7b5 {""}
0x11ae 18 call(0x1040)
0x11b3 19 [rbp - 8 {var_10}].d = 0
0x11b3 20 goto 21 @ 0x11ba
0x11ba 21 eax = [rbp - 8 {var_10}].d
0x11c0 22 if (eax s>= [rbp - 4 {var_c}].d) then 23 @ 0x1213 else 25 @ 0x11c6
0x1213 23 [rbp - 8 {var_10_1}].d = 0
0x1213 24 goto 41 @ 0x121a
0x11c6 25 rax = sx.q([rbp - 8 {var_10}].d)
0x11ca 26 rsi = rbp - 0xfa8b0 {var_fa8b8}
0x11d1 27 rax = rax * 0x403
0x11d8 28 rsi = rsi + rax
0x11db 29 rax = sx.q([rbp - 8 {var_10}].d)
0x11df 30 rdx = rbp - 0xfa8b0 {var_fa8b8}
0x11e6 31 rax = rax * 0x403
0x11ed 32 rdx = rdx + rax
0x11f0 33 rdx = rdx + 0x3e8
0x11f7 34 rdi = 0x2007 {"%s%s"}
0x11fe 35 al = 0
0x1200 36 call(0x1050)
0x1205 37 eax = [rbp - 8 {var_10}].d
0x1208 38 eax = eax + 1
0x120b 39 [rbp - 8 {var_10}].d = eax
0x120e 40 goto 21 @ 0x11ba
0x121a 41 eax = [rbp - 8 {var_10_1}].d
0x1220 42 if (eax s>= [rbp - 4 {var_c}].d) then 43 @ 0x12e8 else 45 @ 0x1226
0x12e8 43 [rbp - 8 {var_10_2}].d = 1
0x12e8 44 goto 47 @ 0x12f3
0x1226 45 [rbp - 0x10 {var_18_1}].d = 0
0x1226 46 goto 48 @ 0x122d
0x12f3 47 if ([rbp - 8 {var_10_2}].d s> 0x1a) then 62 @ 0x131a else 64 @ 0x12f9
0x122d 48 rcx = sx.q([rbp - 8 {var_10_1}].d)
0x1231 49 rax = rbp - 0xfa8b0 {var_fa8b8}
0x1238 50 rcx = rcx * 0x403
0x123f 51 rax = rax + rcx
0x1242 52 rcx = sx.q([rbp - 0x10 {var_18_1}].d)
0x1246 53 eax = sx.d([rax + rcx + 0x3e8].b)
0x124e 54 [rbp - 0xc {var_14_1}].d = eax
0x1251 55 rcx = sx.q([rbp - 8 {var_10_1}].d)
0x1255 56 rax = rbp - 0xfa8b0 {var_fa8b8}
0x125c 57 rcx = rcx * 0x403
0x1263 58 rax = rax + rcx
0x1266 59 rcx = sx.q([rbp - 0x10 {var_18_1}].d)
0x126a 60 eax = sx.d([rax + rcx + 0x3e8].b)
0x1275 61 if (eax s> 0x5a) then 72 @ 0x12bd else 73 @ 0x127b
0x131a 62 [rbp - 8 {var_10_3}].d = 1
0x131a 63 goto 80 @ 0x1325
0x12f9 64 rax = sx.q([rbp - 8 {var_10_2}].d)
0x12fd 65 ecx = [rbp + (rax << 2) - 0x80].d
0x1301 66 rax = sx.q([rbp - 8 {var_10_2}].d)
0x1305 67 [rbp + (rax << 2) - 0xf0].d = ecx
0x130c 68 eax = [rbp - 8 {var_10_2}].d
0x130f 69 eax = eax + 1
0x1312 70 [rbp - 8 {var_10_2}].d = eax
0x1315 71 goto 47 @ 0x12f3
0x12bd 72 goto 81 @ 0x12d5
0x127b 73 rcx = sx.q([rbp - 8 {var_10_1}].d)
0x127f 74 rax = rbp - 0xfa8b0 {var_fa8b8}
0x1286 75 rcx = rcx * 0x403
0x128d 76 rax = rax + rcx
0x1290 77 rcx = sx.q([rbp - 0x10 {var_18_1}].d)
0x1294 78 eax = sx.d([rax + rcx + 0x3e8].b)
0x129f 79 if (eax s< 0x41) then 72 @ 0x12bd else 82 @ 0x12a5
0x1325 80 if ([rbp - 8 {var_10_3}].d s>= 0x1a) then 89 @ 0x1387 else 91 @ 0x132b
0x12d5 81 goto 97 @ 0x12da
0x12a5 82 eax = [rbp - 0xc {var_14_1}].d
0x12a8 83 eax = eax - 0x40
0x12ab 84 rax = sx.q(eax)
0x12ad 85 ecx = [rbp + (rax << 2) - 0x80].d
0x12b1 86 ecx = ecx + 1
0x12b4 87 [rbp + (rax << 2) - 0x80].d = ecx
0x12b8 88 goto 101 @ 0x12c2
0x1387 89 [rbp - 8 {var_10_4}].d = 1
0x1387 90 goto 102 @ 0x1392
0x132b 91 rax = sx.q([rbp - 8 {var_10_3}].d)
0x132f 92 eax = [rbp + (rax << 2) - 0x80].d
0x1333 93 ecx = [rbp - 8 {var_10_3}].d
0x1336 94 ecx = ecx + 1
0x1339 95 rcx = sx.q(ecx)
0x1340 96 if (eax s<= [rbp + (rcx << 2) - 0x80].d) then 103 @ 0x1374 else 104 @ 0x1346
0x12da 97 eax = [rbp - 8 {var_10_1}].d
0x12dd 98 eax = eax + 1
0x12e0 99 [rbp - 8 {var_10_1}].d = eax
0x12e3 100 goto 41 @ 0x121a
0x12c2 101 goto 119 @ 0x12c7
0x1392 102 if ([rbp - 8 {var_10_4}].d s> 0x1a) then 123 @ 0x13c5 else 134 @ 0x1398
0x1374 103 goto 137 @ 0x1379
0x1346 104 rax = sx.q([rbp - 8 {var_10_3}].d)
0x134a 105 eax = [rbp + (rax << 2) - 0x80].d
0x134e 106 [rbp - 0xc {var_14_2}].d = eax
0x1351 107 eax = [rbp - 8 {var_10_3}].d
0x1354 108 eax = eax + 1
0x1357 109 rax = sx.q(eax)
0x1359 110 ecx = [rbp + (rax << 2) - 0x80].d
0x135d 111 rax = sx.q([rbp - 8 {var_10_3}].d)
0x1361 112 [rbp + (rax << 2) - 0x80].d = ecx
0x1365 113 ecx = [rbp - 0xc {var_14_2}].d
0x1368 114 eax = [rbp - 8 {var_10_3}].d
0x136b 115 eax = eax + 1
0x136e 116 rax = sx.q(eax)
0x1370 117 [rbp + (rax << 2) - 0x80].d = ecx
0x1370 118 goto 103 @ 0x1374
0x12c7 119 eax = [rbp - 0x10 {var_18_1}].d
0x12ca 120 eax = eax + 1
0x12cd 121 [rbp - 0x10 {var_18_1}].d = eax
0x12d0 122 goto 48 @ 0x122d
0x13c5 123 eax = [rbp - 0x14 {var_1c}].d
0x13c8 124 eax = eax + 0x41
0x13cb 125 eax = eax - 1
0x13ce 126 [rbp - 0xf1 {var_f9}].b = al
0x13d4 127 esi = sx.d([rbp - 0xf1 {var_f9}].b)
0x13db 128 edx = [rbp - 0x18 {var_20}].d
0x13de 129 rdi = 0x200c {"%c\n%d\n"}
0x13e5 130 al = 0
0x13e7 131 call(0x1030)
0x13ec 132 [rbp - 8 {var_10_5}].d = 0
0x13ec 133 goto 141 @ 0x13f3
0x1398 134 rax = sx.q([rbp - 8 {var_10_4}].d)
0x139c 135 eax = [rbp + (rax << 2) - 0xf0].d
0x13a6 136 if (eax != [rbp - 0x18 {var_20}].d) then 143 @ 0x13b2 else 144 @ 0x13ac
0x1379 137 eax = [rbp - 8 {var_10_3}].d
0x137c 138 eax = eax + 1
0x137f 139 [rbp - 8 {var_10_3}].d = eax
0x1382 140 goto 80 @ 0x1325
0x13f3 141 eax = [rbp - 8 {var_10_5}].d
0x13f9 142 if (eax s>= [rbp - 4 {var_c}].d) then 147 @ 0x14b3 else 150 @ 0x13ff
0x13b2 143 goto 152 @ 0x13b7
0x13ac 144 eax = [rbp - 8 {var_10_4}].d
0x13af 145 [rbp - 0x14 {var_1c}].d = eax
0x13af 146 goto 143 @ 0x13b2
0x14b3 147 rsp = rsp + 0xfa8b0
0x14ba 148 rbp = pop
0x14bb 149 <return> jump(pop)
0x13ff 150 [rbp - 0x10 {var_18_2}].d = 0
0x13ff 151 goto 156 @ 0x1406
0x13b7 152 eax = [rbp - 8 {var_10_4}].d
0x13ba 153 eax = eax + 1
0x13bd 154 [rbp - 8 {var_10_4}].d = eax
0x13c0 155 goto 102 @ 0x1392
0x1406 156 rcx = sx.q([rbp - 8 {var_10_5}].d)
0x140a 157 rax = rbp - 0xfa8b0 {var_fa8b8}
0x1411 158 rcx = rcx * 0x403
0x1418 159 rax = rax + rcx
0x141b 160 rcx = sx.q([rbp - 0x10 {var_18_2}].d)
0x141f 161 eax = sx.d([rax + rcx + 0x3e8].b)
0x142a 162 if (eax != 0) then 163 @ 0x1435 else 171 @ 0x1430
0x1435 163 rcx = sx.q([rbp - 8 {var_10_5}].d)
0x1439 164 rax = rbp - 0xfa8b0 {var_fa8b8}
0x1440 165 rcx = rcx * 0x403
0x1447 166 rax = rax + rcx
0x144a 167 rcx = sx.q([rbp - 0x10 {var_18_2}].d)
0x144e 168 eax = sx.d([rax + rcx + 0x3e8].b)
0x1456 169 ecx = sx.d([rbp - 0xf1 {var_f9}].b)
0x145f 170 if (eax != ecx) then 172 @ 0x1488 else 173 @ 0x1465
0x1430 171 goto 181 @ 0x14a0
0x1488 172 goto 182 @ 0x148d
0x1465 173 rax = sx.q([rbp - 8 {var_10_5}].d)
0x1469 174 rsi = rbp - 0xfa8b0 {var_fa8b8}
0x1470 175 rax = rax * 0x403
0x1477 176 rsi = rsi + rax
0x147a 177 rdi = 0x2013 {"%s\n"}
0x1481 178 al = 0
0x1483 179 call(0x1030)
0x1483 180 goto 172 @ 0x1488
0x14a0 181 goto 183 @ 0x14a5
0x148d 182 goto 187 @ 0x1492
0x14a5 183 eax = [rbp - 8 {var_10_5}].d
0x14a8 184 eax = eax + 1
0x14ab 185 [rbp - 8 {var_10_5}].d = eax
0x14ae 186 goto 141 @ 0x13f3
0x1492 187 eax = [rbp - 0x10 {var_18_2}].d
0x1495 188 eax = eax + 1
0x1498 189 [rbp - 0x10 {var_18_2}].d = eax
0x149b 190 goto 156 @ 0x1406
int64_t _fini():
0x14c0 0 rsp = rsp - 8
0x14c4 1 rsp = rsp + 8
0x14c8 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 = 0x1150 {"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)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rax)
0x1151 1 rdi = 0x200c {"%d"}
0x1158 2 rsi = rsp + 4 {var_8+0x4}
0x115d 3 eax = 0
0x115f 4 call(0x1040)
0x1164 5 rsi = sx.q([rsp + 4 {var_8+0x4}].d)
0x1169 6 eax = (rsi + 9).d
0x116f 7 if (eax u> 0x12) then 8 @ 0x1181 else 10 @ 0x1171
0x1181 8 eax = (rsi + 0x63).d
0x1189 9 if (eax u> 0xc6) then 15 @ 0x11b7 else 18 @ 0x118b
0x1171 10 rdi = 0x200c {"%d"}
0x1178 11 eax = 0
0x117a 12 call(0x1030)
0x117f 13 rax = pop
0x1180 14 <return> jump(pop)
0x11b7 15 rax = sx.q(esi)
0x11ba 16 ecx = (rsi + 0x3e7).d
0x11c6 17 if (ecx u> 0x7ce) then 31 @ 0x1210 else 33 @ 0x11c8
0x118b 18 rdx = rsi * 0x66666667
0x1192 19 rax = rdx
0x1195 20 rax = rax u>> 0x3f
0x1199 21 rdx = rdx s>> 0x22
0x119d 22 edx = edx + eax
0x119f 23 eax = (rdx + rdx).d
0x11a2 24 eax = (rax + (rax << 2)).d
0x11a5 25 esi = esi - eax
0x11a7 26 rdi = 0x200a {"%d%d"}
0x11ae 27 eax = 0
0x11b0 28 call(0x1030)
0x11b5 29 rax = pop
0x11b6 30 <return> jump(pop)
0x1210 31 ecx = (rsi + 0x270f).d
0x121c 32 if (ecx u> 0x4e1e) then 54 @ 0x1286 else 56 @ 0x121e
0x11c8 33 rcx = rax * 0x51eb851f
0x11cf 34 rax = rcx
0x11d2 35 rax = rax u>> 0x3f
0x11d6 36 rcx = rcx s>> 0x25
0x11da 37 ecx = ecx + eax
0x11dc 38 eax = ecx * -0x64
0x11df 39 eax = eax + esi
0x11e1 40 rsi = sx.q(eax)
0x11e4 41 rdx = rsi * 0x66666667
0x11eb 42 rax = rdx
0x11ee 43 rax = rax u>> 0x3f
0x11f2 44 rdx = rdx s>> 0x22
0x11f6 45 edx = edx + eax
0x11f8 46 eax = (rdx + rdx).d
0x11fb 47 eax = (rax + (rax << 2)).d
0x11fe 48 esi = esi - eax
0x1200 49 rdi = 0x2008 {"%d%d%d"}
0x1207 50 eax = 0
0x1209 51 call(0x1030)
0x120e 52 rax = pop
0x120f 53 <return> jump(pop)
0x1286 54 ecx = (rsi + 0x1869f).d
0x1292 55 if (ecx u> 0x30d3e) then 85 @ 0x131e else 87 @ 0x1298
0x121e 56 r8 = rax * 0x10624dd3
0x1225 57 rax = r8
0x1228 58 rax = rax u>> 0x3f
0x122c 59 r8 = r8 s>> 0x26
0x1230 60 r8d = r8d + eax
0x1233 61 eax = r8d * -0x3e8
0x123a 62 eax = eax + esi
0x123c 63 rax = sx.q(eax)
0x123e 64 rcx = rax * 0x51eb851f
0x1245 65 rdx = rcx
0x1248 66 rdx = rdx u>> 0x3f
0x124c 67 rcx = rcx s>> 0x25
0x1250 68 ecx = ecx + edx
0x1252 69 edx = ecx * -0x64
0x1255 70 eax = eax + edx
0x1257 71 rsi = sx.q(eax)
0x125a 72 rdx = rsi * 0x66666667
0x1261 73 rax = rdx
0x1264 74 rax = rax u>> 0x3f
0x1268 75 rdx = rdx s>> 0x22
0x126c 76 edx = edx + eax
0x126e 77 eax = (rdx + rdx).d
0x1271 78 eax = (rax + (rax << 2)).d
0x1274 79 esi = esi - eax
0x1276 80 rdi = 0x2006 {"%d%d%d%d"}
0x127d 81 eax = 0
0x127f 82 call(0x1030)
0x1284 83 rax = pop
0x1285 84 <return> jump(pop)
0x131e 85 rax = pop
0x131f 86 <return> jump(pop)
0x1298 87 r9 = rax * 0x68db8bad
0x129f 88 rax = r9
0x12a2 89 rax = rax u>> 0x3f
0x12a6 90 r9 = r9 s>> 0x2c
0x12aa 91 r9d = r9d + eax
0x12ad 92 eax = r9d * -0x2710
0x12b4 93 eax = eax + esi
0x12b6 94 rax = sx.q(eax)
0x12b8 95 r8 = rax * 0x10624dd3
0x12bf 96 rcx = r8
0x12c2 97 rcx = rcx u>> 0x3f
0x12c6 98 r8 = r8 s>> 0x26
0x12ca 99 r8d = r8d + ecx
0x12cd 100 ecx = r8d * -0x3e8
0x12d4 101 eax = eax + ecx
0x12d6 102 rax = sx.q(eax)
0x12d8 103 rcx = rax * 0x51eb851f
0x12df 104 rdx = rcx
0x12e2 105 rdx = rdx u>> 0x3f
0x12e6 106 rcx = rcx s>> 0x25
0x12ea 107 ecx = ecx + edx
0x12ec 108 edx = ecx * -0x64
0x12ef 109 eax = eax + edx
0x12f1 110 rsi = sx.q(eax)
0x12f4 111 rdx = rsi * 0x66666667
0x12fb 112 rax = rdx
0x12fe 113 rax = rax u>> 0x3f
0x1302 114 rdx = rdx s>> 0x22
0x1306 115 edx = edx + eax
0x1308 116 eax = (rdx + rdx).d
0x130b 117 eax = (rax + (rax << 2)).d
0x130e 118 esi = esi - eax
0x1310 119 rdi = 0x2004 {"%d%d%d%d%d"}
0x1317 120 eax = 0
0x1319 121 call(0x1030)
0x1319 122 goto 85 @ 0x131e
int64_t _fini():
0x1324 0 rsp = rsp - 8
0x1328 1 rsp = rsp + 8
0x132c 2 <return> jump(pop)
| POJ_56 |
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 [rbp - 0x33c {var_344}].d = -1
0x116c 5 [rbp - 0x340 {var_348}].d = -1
0x1176 6 rdi = 0x2004 {"%d"}
0x117d 7 rsi = rbp - 8 {var_10}
0x1181 8 al = 0
0x1183 9 call(0x1040)
0x1188 10 [rbp - 0x334 {var_33c}].d = 0
0x1188 11 goto 12 @ 0x1192
0x1192 12 eax = [rbp - 0x334 {var_33c}].d
0x119b 13 if (eax s>= [rbp - 8 {var_10}].d) then 14 @ 0x1216 else 16 @ 0x11a1
0x1216 14 [rbp - 0x334 {var_33c_1}].d = 0
0x1216 15 goto 18 @ 0x1220
0x11a1 16 [rbp - 0x338 {var_340_1}].d = 0
0x11a1 17 goto 20 @ 0x11b2
0x1220 18 eax = [rbp - 0x334 {var_33c_1}].d
0x1229 19 if (eax s>= [rbp - 8 {var_10}].d) then 21 @ 0x12f9 else 32 @ 0x122f
0x11b2 20 if ([rbp - 0x338 {var_340_1}].d s>= 2) then 34 @ 0x11fd else 35 @ 0x11b8
0x12f9 21 eax = [rbp - 0x340 {var_348}].d
0x12ff 22 eax = eax + 1
0x1302 23 [rbp - 0x340 {var_348_1}].d = eax
0x1308 24 esi = [rbp - 0x340 {var_348_1}].d
0x130e 25 rdi = 0x2004 {"%d"}
0x1315 26 al = 0
0x1317 27 call(0x1030)
0x131c 28 eax = 0
0x131e 29 rsp = rsp + 0x340
0x1325 30 rbp = pop
0x1326 31 <return> jump(pop)
0x122f 32 rax = sx.q([rbp - 0x334 {var_33c_1}].d)
0x1241 33 if ([rbp + (rax << 3) - 0x330].d s> 0x8c) then 49 @ 0x12b8 else 51 @ 0x1247
0x11fd 34 goto 53 @ 0x1202
0x11b8 35 rax = sx.q([rbp - 0x334 {var_33c}].d)
0x11bf 36 rsi = rbp - 0x330 {var_338}
0x11c6 37 rax = rax << 3
0x11ca 38 rsi = rsi + rax
0x11cd 39 rax = sx.q([rbp - 0x338 {var_340_1}].d)
0x11d4 40 rax = rax << 2
0x11d8 41 rsi = rsi + rax
0x11db 42 rdi = 0x2004 {"%d"}
0x11e2 43 al = 0
0x11e4 44 call(0x1040)
0x11e9 45 eax = [rbp - 0x338 {var_340_1}].d
0x11ef 46 eax = eax + 1
0x11f2 47 [rbp - 0x338 {var_340_1}].d = eax
0x11f8 48 goto 20 @ 0x11b2
0x12b8 49 eax = [rbp - 0x340 {var_348}].d
0x12c4 50 if (eax s>= [rbp - 0x33c {var_344}].d) then 57 @ 0x12d6 else 59 @ 0x12ca
0x1247 51 rax = sx.q([rbp - 0x334 {var_33c_1}].d)
0x1256 52 if ([rbp + (rax << 3) - 0x330].d s< 0x5a) then 49 @ 0x12b8 else 62 @ 0x125c
0x1202 53 eax = [rbp - 0x334 {var_33c}].d
0x1208 54 eax = eax + 1
0x120b 55 [rbp - 0x334 {var_33c}].d = eax
0x1211 56 goto 12 @ 0x1192
0x12d6 57 [rbp - 0x33c {var_344}].d = -1
0x12d6 58 goto 64 @ 0x12e0
0x12ca 59 eax = [rbp - 0x33c {var_344}].d
0x12d0 60 [rbp - 0x340 {var_348}].d = eax
0x12d0 61 goto 57 @ 0x12d6
0x125c 62 rax = sx.q([rbp - 0x334 {var_33c_1}].d)
0x126b 63 if ([rbp + (rax << 3) - 0x32c].d s> 0x5a) then 49 @ 0x12b8 else 65 @ 0x1271
0x12e0 64 goto 67 @ 0x12e5
0x1271 65 rax = sx.q([rbp - 0x334 {var_33c_1}].d)
0x1280 66 if ([rbp + (rax << 3) - 0x32c].d s< 0x3c) then 49 @ 0x12b8 else 71 @ 0x1286
0x12e5 67 eax = [rbp - 0x334 {var_33c_1}].d
0x12eb 68 eax = eax + 1
0x12ee 69 [rbp - 0x334 {var_33c_1}].d = eax
0x12f4 70 goto 18 @ 0x1220
0x1286 71 eax = [rbp - 0x33c {var_344}].d
0x128c 72 eax = eax + 1
0x128f 73 [rbp - 0x33c {var_344}].d = eax
0x1295 74 eax = [rbp - 0x340 {var_348}].d
0x12a1 75 if (eax s>= [rbp - 0x33c {var_344}].d) then 76 @ 0x12b3 else 77 @ 0x12a7
0x12b3 76 goto 64 @ 0x12e0
0x12a7 77 eax = [rbp - 0x33c {var_344}].d
0x12ad 78 [rbp - 0x340 {var_348}].d = eax
0x12ad 79 goto 76 @ 0x12b3
int64_t _fini():
0x132c 0 rsp = rsp - 8
0x1330 1 rsp = rsp + 8
0x1334 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)
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"}
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 - 0xd0
0x116b 3 [rbp - 4 {var_c}].d = 0
0x1172 4 [rbp - 8 {var_10}].d = 0
0x1179 5 [rbp - 0xc4 {var_cc}].d = 0
0x1179 6 goto 7 @ 0x1183
0x1183 7 rax = sx.q([rbp - 0xc4 {var_cc}].d)
0x118a 8 rsi = rbp - 0x60 {var_68}
0x118e 9 rax = rax << 2
0x1192 10 rsi = rsi + rax
0x1195 11 rax = sx.q([rbp - 0xc4 {var_cc}].d)
0x119c 12 rdx = rbp - 0xb0 {var_b8}
0x11a3 13 rax = rax << 2
0x11a7 14 rdx = rdx + rax
0x11aa 15 rdi = 0x2004 {"%d%d"}
0x11b1 16 al = 0
0x11b3 17 call(0x1050)
0x11b8 18 rdi = 0x200b {"\n"}
0x11bf 19 al = 0
0x11c1 20 call(0x1030)
0x11c6 21 eax = [rbp - 8 {var_10}].d
0x11c9 22 eax = eax + 1
0x11cc 23 [rbp - 8 {var_10}].d = eax
0x11cf 24 rax = sx.q([rbp - 0xc4 {var_cc}].d)
0x11db 25 if ([rbp + (rax << 2) - 0x60].d == 0) then 26 @ 0x11f6 else 27 @ 0x11e1
0x11f6 26 goto 29 @ 0x1214
0x11e1 27 rax = sx.q([rbp - 0xc4 {var_cc}].d)
0x11f0 28 if ([rbp + (rax << 2) - 0xb0].d != 0) then 31 @ 0x11fb else 26 @ 0x11f6
0x1214 29 [rbp - 0xbc {var_c4}].d = 0
0x1214 30 goto 32 @ 0x121e
0x11fb 31 goto 34 @ 0x1200
0x121e 32 eax = [rbp - 0xbc {var_c4}].d
0x1227 33 if (eax s> [rbp - 8 {var_10}].d) then 38 @ 0x131c else 46 @ 0x122d
0x1200 34 eax = [rbp - 0xc4 {var_cc}].d
0x1206 35 eax = eax + 1
0x1209 36 [rbp - 0xc4 {var_cc}].d = eax
0x120f 37 goto 7 @ 0x1183
0x131c 38 al = 0
0x131e 39 call(0x1040)
0x1323 40 al = 0
0x1325 41 call(0x1040)
0x132a 42 eax = [rbp - 4 {var_c}].d
0x132d 43 rsp = rsp + 0xd0
0x1334 44 rbp = pop
0x1335 45 <return> jump(pop)
0x122d 46 rcx = sx.q([rbp - 0xbc {var_c4}].d)
0x1234 47 eax = 0
0x123a 48 if (eax s>= [rbp + (rcx << 2) - 0x60].d) then 49 @ 0x1303 else 50 @ 0x1240
0x1303 49 goto 52 @ 0x1308
0x1240 50 rax = sx.q([rbp - 0xbc {var_c4}].d)
0x124f 51 if ([rbp + (rax << 2) - 0x60].d s> 0x12c) then 49 @ 0x1303 else 56 @ 0x1255
0x1308 52 eax = [rbp - 0xbc {var_c4}].d
0x130e 53 eax = eax + 1
0x1311 54 [rbp - 0xbc {var_c4}].d = eax
0x1317 55 goto 32 @ 0x121e
0x1255 56 rcx = sx.q([rbp - 0xbc {var_c4}].d)
0x125c 57 eax = 0
0x1265 58 if (eax s>= [rbp + (rcx << 2) - 0xb0].d) then 49 @ 0x1303 else 59 @ 0x126b
0x126b 59 rax = sx.q([rbp - 0xbc {var_c4}].d)
0x127d 60 if ([rbp + (rax << 2) - 0xb0].d s> 0x12c) then 49 @ 0x1303 else 61 @ 0x1283
0x1283 61 [rbp - 0xc0 {var_c8_1}].d = 0
0x128d 62 [rbp - 0xb8 {var_c0_1}].d = 2
0x128d 63 goto 64 @ 0x1297
0x1297 64 eax = [rbp - 0xb8 {var_c0_1}].d
0x129d 65 rcx = sx.q([rbp - 0xbc {var_c4}].d)
0x12a8 66 if (eax s> [rbp + (rcx << 2) - 0x60].d) then 67 @ 0x12ec else 73 @ 0x12ae
0x12ec 67 esi = [rbp - 0xc0 {var_c8_1}].d
0x12f2 68 esi = esi + 1
0x12f5 69 rdi = 0x2009 {"%d\n"}
0x12fc 70 al = 0
0x12fe 71 call(0x1030)
0x12fe 72 goto 49 @ 0x1303
0x12ae 73 rax = sx.q([rbp - 0xbc {var_c4}].d)
0x12b5 74 eax = [rbp + (rax << 2) - 0xb0].d
0x12bc 75 temp2.d:temp3.d = sx.q(eax)
0x12bc 76 edx = temp2.d
0x12bc 77 eax = temp3.d
0x12bd 78 temp4.d = edx
0x12bd 79 temp5.d = eax
0x12bd 80 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp - 0xb8 {var_c0_1}].d)
0x12bd 81 temp6.d = edx
0x12bd 82 temp7.d = eax
0x12bd 83 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp - 0xb8 {var_c0_1}].d)
0x12bd 84 eax = temp0.d
0x12bd 85 edx = temp1.d
0x12c3 86 eax = edx
0x12c5 87 eax = eax + [rbp - 0xc0 {var_c8_1}].d
0x12cb 88 temp8.d:temp9.d = sx.q(eax)
0x12cb 89 edx = temp8.d
0x12cb 90 eax = temp9.d
0x12cc 91 temp10.d = edx
0x12cc 92 temp11.d = eax
0x12cc 93 temp0.d = divs.dp.d(temp10.d:temp11.d, [rbp - 0xb8 {var_c0_1}].d)
0x12cc 94 temp12.d = edx
0x12cc 95 temp13.d = eax
0x12cc 96 temp1.d = mods.dp.d(temp12.d:temp13.d, [rbp - 0xb8 {var_c0_1}].d)
0x12cc 97 eax = temp0.d
0x12cc 98 edx = temp1.d
0x12d2 99 [rbp - 0xc0 {var_c8_1}].d = edx
0x12d8 100 eax = [rbp - 0xb8 {var_c0_1}].d
0x12de 101 eax = eax + 1
0x12e1 102 [rbp - 0xb8 {var_c0_1}].d = eax
0x12e7 103 goto 64 @ 0x1297
int64_t _fini():
0x133c 0 rsp = rsp - 8
0x1340 1 rsp = rsp + 8
0x1344 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 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 = 0x2007 {"%d"}
0x1165 8 ebp = 0
0x1167 9 rsi = rsp + 0xc {var_3c}
0x116c 10 eax = 0
0x116e 11 call(0x1030)
0x1173 12 cond:0 = [rsp + 0xc {var_3c}].d s<= 0
0x1178 13 r13d = 0
0x117e 14 if (cond:0) then 15 @ 0x120a else 17 @ 0x1184
0x120a 15 cond:1 = ebp s>= r13d
0x120d 16 if (ebp s<= r13d) then 24 @ 0x1218 else 25 @ 0x120f
0x1184 17 r14 = 0x2004 {"%d %d"}
0x118b 18 r15 = rsp + 0x14 {var_34}
0x1190 19 r12 = rsp + 0x10 {var_38}
0x1195 20 r13d = 0
0x1198 21 ebp = 0
0x119a 22 ebx = 0
0x119c 23 goto 27 @ 0x11ac
0x1218 24 if (cond:1) then 35 @ 0x1226 else 36 @ 0x121a
0x120f 25 rdi = 0x2010 {"A"}
0x1216 26 goto 38 @ 0x122f
0x11ac 27 rdi = r14
0x11af 28 rsi = r15 {var_34}
0x11b2 29 rdx = r12 {var_38}
0x11b5 30 eax = 0
0x11b7 31 call(0x1030)
0x11bc 32 eax = [rsp + 0x14 {var_34}].d
0x11c0 33 ecx = [rsp + 0x10 {var_38}].d
0x11c6 34 if (eax != 0) then 40 @ 0x11cf else 41 @ 0x11cb
0x1226 35 if (r13d == 0) then 42 @ 0x1234 else 51 @ 0x1228
0x121a 36 rdi = 0x200e {"B"}
0x1221 37 goto 38 @ 0x122f
0x122f 38 call(0x1040)
0x122f 39 goto 42 @ 0x1234
0x11cf 40 if (eax != 0) then 53 @ 0x11d9 else 54 @ 0x11d4
0x11cb 41 if (ecx == 1) then 55 @ 0x11a0 else 40 @ 0x11cf
0x1234 42 eax = 0
0x1236 43 rsp = rsp + 0x18
0x123a 44 rbx = pop
0x123b 45 r12 = pop
0x123d 46 r13 = pop
0x123f 47 r14 = pop
0x1241 48 r15 = pop
0x1243 49 rbp = pop
0x1244 50 <return> jump(pop)
0x1228 51 rdi = 0x200a {"Tie"}
0x1228 52 goto 38 @ 0x122f
0x11d9 53 if (eax != 1) then 57 @ 0x11e8 else 58 @ 0x11dd
0x11d4 54 if (ecx == 2) then 59 @ 0x11df else 53 @ 0x11d9
0x11a0 55 ebp = ebp + 1
0x11a0 56 goto 61 @ 0x11a3
0x11e8 57 if (eax != 1) then 63 @ 0x11f2 else 64 @ 0x11ed
0x11dd 58 if (ecx != 0) then 57 @ 0x11e8 else 59 @ 0x11df
0x11df 59 r13d = r13d + 1
0x11e3 60 goto 61 @ 0x11a3
0x11a3 61 ebx = ebx + 1
0x11aa 62 if (ebx s>= [rsp + 0xc {var_3c}].d) then 15 @ 0x120a else 27 @ 0x11ac
0x11f2 63 if (eax != 2) then 65 @ 0x11f8 else 72 @ 0x11f6
0x11ed 64 if (ecx == 2) then 55 @ 0x11a0 else 63 @ 0x11f2
0x11f8 65 eax = eax ^ 2
0x11fb 66 ecx = ecx ^ 1
0x11fe 67 edx = 0
0x1200 68 ecx = ecx | eax
0x1202 69 dl = ecx == 0
0x1205 70 r13d = r13d + edx
0x1208 71 goto 61 @ 0x11a3
0x11f6 72 if (ecx == 0) then 55 @ 0x11a0 else 65 @ 0x11f8
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)
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 {"UAWAVAUATSH8"}
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 - 0x738
0x1171 7 rdi = 0x2004 {"%d%d"}
0x1178 8 rsi = rsp + 0x14 {var_754}
0x117d 9 rdx = rsp + 8 {var_760}
0x1182 10 eax = 0
0x1184 11 call(0x1050)
0x1189 12 rdi = rsp + 0x30 {var_738}
0x118e 13 edx = 0x708 {"8@"}
0x1193 14 esi = 0
0x1195 15 call(0x1040)
0x119a 16 eax = [rsp + 0x14 {var_754}].d
0x119e 17 [rsp + 0xd0 {var_698}].d = eax
0x11a5 18 ecx = [rsp + 8 {var_760}].d
0x11a9 19 rax = rcx
0x11ac 20 [rsp + 0x18 {var_750}].q = rcx
0x11b3 21 if (ecx s<= 0) then 22 @ 0x12f4 else 206 @ 0x11b9
0x12f4 22 rax = [rsp + 0x18 {var_750}].q
0x12f9 23 eax = (rax + (rax << 3)).d
0x12fc 24 rax = sx.q(eax)
0x12fe 25 rax = rax + (rax << 3)
0x1302 26 esi = [rsp + (rax << 2) + 0x30].d
0x1306 27 edx = [rsp + (rax << 2) + 0x34].d
0x130a 28 ecx = [rsp + (rax << 2) + 0x38].d
0x130e 29 r8d = [rsp + (rax << 2) + 0x3c].d
0x1313 30 r9d = [rsp + (rax << 2) + 0x40].d
0x1318 31 r10d = [rsp + (rax << 2) + 0x44].d
0x131d 32 r11d = [rsp + (rax << 2) + 0x48].d
0x1322 33 ebp = [rsp + (rax << 2) + 0x4c].d
0x1326 34 ebx = [rsp + (rax << 2) + 0x50].d
0x132a 35 r14 = 0x2009 {"%d %d %d %d %d %d %d %d %d\n"}
0x1331 36 rdi = r14
0x1334 37 eax = 0
0x1336 38 push(rbx)
0x1337 39 push(rbp)
0x1338 40 push(r11)
0x133a 41 push(r10)
0x133c 42 call(0x1030)
0x1341 43 rsp = rsp + 0x20
0x1345 44 rax = sx.q([rsp + 8 {var_760}].d)
0x134a 45 rax = rax * 0x144
0x1351 46 rbp = rsp + 0x30 {var_738}
0x1356 47 esi = [rax + rbp + 0x24].d
0x135a 48 edx = [rax + rbp + 0x28].d
0x135e 49 ecx = [rax + rbp + 0x2c].d
0x1362 50 r8d = [rax + rbp + 0x30].d
0x1367 51 r9d = [rax + rbp + 0x34].d
0x136c 52 r10d = [rax + rbp + 0x38].d
0x1371 53 r11d = [rax + rbp + 0x3c].d
0x1376 54 r15d = [rax + rbp + 0x40].d
0x137b 55 ebx = [rax + rbp + 0x44].d
0x137f 56 rdi = r14
0x1382 57 eax = 0
0x1384 58 push(rbx)
0x1385 59 push(r15)
0x1387 60 push(r11)
0x1389 61 push(r10)
0x138b 62 call(0x1030)
0x1390 63 rsp = rsp + 0x20
0x1394 64 rax = sx.q([rsp + 8 {var_760}].d)
0x1399 65 rax = rax * 0x144
0x13a0 66 esi = [rax + rbp + 0x48].d
0x13a4 67 edx = [rax + rbp + 0x4c].d
0x13a8 68 ecx = [rax + rbp + 0x50].d
0x13ac 69 r8d = [rax + rbp + 0x54].d
0x13b1 70 r9d = [rax + rbp + 0x58].d
0x13b6 71 r10d = [rax + rbp + 0x5c].d
0x13bb 72 r11d = [rax + rbp + 0x60].d
0x13c0 73 r15d = [rax + rbp + 0x64].d
0x13c5 74 ebx = [rax + rbp + 0x68].d
0x13c9 75 rdi = r14
0x13cc 76 eax = 0
0x13ce 77 push(rbx)
0x13cf 78 push(r15)
0x13d1 79 push(r11)
0x13d3 80 push(r10)
0x13d5 81 call(0x1030)
0x13da 82 rsp = rsp + 0x20
0x13de 83 rax = sx.q([rsp + 8 {var_760}].d)
0x13e3 84 rax = rax * 0x144
0x13ea 85 esi = [rax + rbp + 0x6c].d
0x13ee 86 edx = [rax + rbp + 0x70].d
0x13f2 87 ecx = [rax + rbp + 0x74].d
0x13f6 88 r8d = [rax + rbp + 0x78].d
0x13fb 89 r9d = [rax + rbp + 0x7c].d
0x1400 90 r10d = [rax + rbp + 0x80].d
0x1408 91 r11d = [rax + rbp + 0x84].d
0x1410 92 r15d = [rax + rbp + 0x88].d
0x1418 93 ebx = [rax + rbp + 0x8c].d
0x141f 94 rdi = r14
0x1422 95 eax = 0
0x1424 96 push(rbx)
0x1425 97 push(r15)
0x1427 98 push(r11)
0x1429 99 push(r10)
0x142b 100 call(0x1030)
0x1430 101 rsp = rsp + 0x20
0x1434 102 rax = sx.q([rsp + 8 {var_760}].d)
0x1439 103 rax = rax * 0x144
0x1440 104 esi = [rax + rbp + 0x90].d
0x1447 105 edx = [rax + rbp + 0x94].d
0x144e 106 ecx = [rax + rbp + 0x98].d
0x1455 107 r8d = [rax + rbp + 0x9c].d
0x145d 108 r9d = [rax + rbp + 0xa0].d
0x1465 109 r10d = [rax + rbp + 0xa4].d
0x146d 110 r11d = [rax + rbp + 0xa8].d
0x1475 111 r15d = [rax + rbp + 0xac].d
0x147d 112 ebx = [rax + rbp + 0xb0].d
0x1484 113 rdi = r14
0x1487 114 eax = 0
0x1489 115 push(rbx)
0x148a 116 push(r15)
0x148c 117 push(r11)
0x148e 118 push(r10)
0x1490 119 call(0x1030)
0x1495 120 rsp = rsp + 0x20
0x1499 121 rax = sx.q([rsp + 8 {var_760}].d)
0x149e 122 rax = rax * 0x144
0x14a5 123 esi = [rax + rbp + 0xb4].d
0x14ac 124 edx = [rax + rbp + 0xb8].d
0x14b3 125 ecx = [rax + rbp + 0xbc].d
0x14ba 126 r8d = [rax + rbp + 0xc0].d
0x14c2 127 r9d = [rax + rbp + 0xc4].d
0x14ca 128 r10d = [rax + rbp + 0xc8].d
0x14d2 129 r11d = [rax + rbp + 0xcc].d
0x14da 130 r15d = [rax + rbp + 0xd0].d
0x14e2 131 ebx = [rax + rbp + 0xd4].d
0x14e9 132 rdi = r14
0x14ec 133 eax = 0
0x14ee 134 push(rbx)
0x14ef 135 push(r15)
0x14f1 136 push(r11)
0x14f3 137 push(r10)
0x14f5 138 call(0x1030)
0x14fa 139 rsp = rsp + 0x20
0x14fe 140 rax = sx.q([rsp + 8 {var_760}].d)
0x1503 141 rax = rax * 0x144
0x150a 142 esi = [rax + rbp + 0xd8].d
0x1511 143 edx = [rax + rbp + 0xdc].d
0x1518 144 ecx = [rax + rbp + 0xe0].d
0x151f 145 r8d = [rax + rbp + 0xe4].d
0x1527 146 r9d = [rax + rbp + 0xe8].d
0x152f 147 r10d = [rax + rbp + 0xec].d
0x1537 148 r11d = [rax + rbp + 0xf0].d
0x153f 149 r15d = [rax + rbp + 0xf4].d
0x1547 150 ebx = [rax + rbp + 0xf8].d
0x154e 151 rdi = r14
0x1551 152 eax = 0
0x1553 153 push(rbx)
0x1554 154 push(r15)
0x1556 155 push(r11)
0x1558 156 push(r10)
0x155a 157 call(0x1030)
0x155f 158 rsp = rsp + 0x20
0x1563 159 rax = sx.q([rsp + 8 {var_760}].d)
0x1568 160 rax = rax * 0x144
0x156f 161 esi = [rax + rbp + 0xfc].d
0x1576 162 edx = [rax + rbp + 0x100].d
0x157d 163 ecx = [rax + rbp + 0x104].d
0x1584 164 r8d = [rax + rbp + 0x108].d
0x158c 165 r9d = [rax + rbp + 0x10c].d
0x1594 166 r10d = [rax + rbp + 0x110].d
0x159c 167 r11d = [rax + rbp + 0x114].d
0x15a4 168 r15d = [rax + rbp + 0x118].d
0x15ac 169 ebx = [rax + rbp + 0x11c].d
0x15b3 170 rdi = r14
0x15b6 171 eax = 0
0x15b8 172 push(rbx)
0x15b9 173 push(r15)
0x15bb 174 push(r11)
0x15bd 175 push(r10)
0x15bf 176 call(0x1030)
0x15c4 177 rsp = rsp + 0x20
0x15c8 178 rax = sx.q([rsp + 8 {var_760}].d)
0x15cd 179 rax = rax * 0x144
0x15d4 180 esi = [rax + rbp + 0x120].d
0x15db 181 edx = [rax + rbp + 0x124].d
0x15e2 182 ecx = [rax + rbp + 0x128].d
0x15e9 183 r8d = [rax + rbp + 0x12c].d
0x15f1 184 r9d = [rax + rbp + 0x130].d
0x15f9 185 r10d = [rax + rbp + 0x134].d
0x1601 186 r11d = [rax + rbp + 0x138].d
0x1609 187 r15d = [rax + rbp + 0x13c].d
0x1611 188 ebx = [rax + rbp + 0x140].d
0x1618 189 rdi = r14
0x161b 190 eax = 0
0x161d 191 push(rbx)
0x161e 192 push(r15)
0x1620 193 push(r11)
0x1622 194 push(r10)
0x1624 195 call(0x1030)
0x1629 196 rsp = rsp + 0x20
0x162d 197 eax = 0
0x162f 198 rsp = rsp + 0x738
0x1636 199 rbx = pop
0x1637 200 r12 = pop
0x1639 201 r13 = pop
0x163b 202 r14 = pop
0x163d 203 r15 = pop
0x163f 204 rbp = pop
0x1640 205 <return> jump(pop)
0x11b9 206 rax = [rsp + 0x18 {var_750}].q
0x11be 207 rax = rax + 1
0x11c2 208 [rsp + 0x20 {var_748_1}].q = rax
0x11c7 209 eax = 1
0x11cc 210 ebp = 9
0x11d1 211 r12d = 0xa {""}
0x11d7 212 r13 = -0x900000000
0x11e1 213 r11 = -0x100000000
0x11eb 214 goto 215 @ 0x11f0
0x11f0 215 [rsp + 0x28 {var_740_1}].q = rax
0x11f5 216 r14 = rax + (rax << 3)
0x11f9 217 [rsp + 0xc {var_75c_1}].d = r12d
0x11fe 218 [rsp + 0x10 {var_758_1}].d = ebp
0x1202 219 edx = 0
0x120e 220 goto 221 @ 0x1210
0x1210 221 eax = ebp
0x1212 222 rax = rax + (rax << 3)
0x1216 223 rcx = rsp + 0x34 {var_734}
0x121b 224 rax = rcx + (rax << 2)
0x121f 225 ebx = r12d
0x1222 226 rbx = rbx + (rbx << 3)
0x1226 227 rbx = rsp + (rbx << 2)
0x122a 228 rbx = rbx + 0x30
0x122e 229 rcx = rdx + r14
0x1232 230 r8d = ecx
0x1235 231 rcx = rcx << 0x20
0x1239 232 rsi = rcx + r13
0x123d 233 rsi = rsi s>> 0x20
0x1241 234 rcx = rcx + r11
0x1244 235 rcx = rcx s>> 0x20
0x1248 236 rdi = r8 + (r8 << 3)
0x124c 237 r10d = [rsp + (rdi << 2) + 0x30].d
0x1251 238 rsi = rsi + (rsi << 3)
0x1255 239 r8 = rsp + (rsi << 2)
0x1259 240 r8 = r8 + 0x30
0x125d 241 rcx = rcx + (rcx << 3)
0x1261 242 r15 = rsp + (rcx << 2)
0x1265 243 r15 = r15 + 0x30
0x1269 244 r9d = 0
0x126c 245 goto 246 @ 0x1270
0x1270 246 ecx = [r8 + r9].d
0x1274 247 ecx = (r10 + (rcx << 1)).d
0x1278 248 [rax + r9 - 4].d = ecx
0x127d 249 ecx = [r8 + r9].d
0x1281 250 [r15 + r9 - 4].d = [r15 + r9 - 4].d + ecx
0x1286 251 [r15 + r9].d = [r15 + r9].d + ecx
0x128a 252 [r15 + r9 + 4].d = [r15 + r9 + 4].d + ecx
0x128f 253 [rax + r9 - 8].d = [rax + r9 - 8].d + ecx
0x1294 254 r10d = [rax + r9].d
0x1298 255 r10d = r10d + ecx
0x129b 256 [rax + r9].d = r10d
0x129f 257 [rbx + r9 - 4].d = [rbx + r9 - 4].d + ecx
0x12a4 258 [rbx + r9].d = [rbx + r9].d + ecx
0x12a8 259 ecx = [r8 + r9].d
0x12ac 260 [rbx + r9 + 4].d = [rbx + r9 + 4].d + ecx
0x12b1 261 r9 = r9 + 4
0x12b9 262 if (r9 != 0x24) then 246 @ 0x1270 else 263 @ 0x12bb
0x12bb 263 rdx = rdx + 1
0x12bf 264 ebp = ebp + 1
0x12c2 265 r12d = r12d + 1
0x12ca 266 if (rdx != 9) then 221 @ 0x1210 else 267 @ 0x12d0
0x12d0 267 rax = [rsp + 0x28 {var_740_1}].q
0x12d5 268 rax = rax + 1
0x12d9 269 ebp = [rsp + 0x10 {var_758_1}].d
0x12dd 270 ebp = ebp + 9
0x12e0 271 r12d = [rsp + 0xc {var_75c_1}].d
0x12e5 272 r12d = r12d + 9
0x12ee 273 if (rax != [rsp + 0x20 {var_748_1}].q) then 215 @ 0x11f0 else 22 @ 0x12f4
int64_t _fini():
0x1648 0 rsp = rsp - 8
0x164c 1 rsp = rsp + 8
0x1650 2 <return> jump(pop)
| POJ_48 |
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 {"UHHP"}
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 - 0x350
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 [rbp - 0x14 {var_1c}].d = 0
0x1169 5 [rbp - 0x10 {var_18}].d = 0
0x1170 6 rdi = 0x2006 {"%d"}
0x1177 7 rsi = rbp - 8 {var_10}
0x117b 8 al = 0
0x117d 9 call(0x1040)
0x1182 10 [rbp - 0xc {var_14}].d = 0
0x1182 11 goto 12 @ 0x1189
0x1189 12 eax = [rbp - 0xc {var_14}].d
0x118f 13 if (eax s>= [rbp - 8 {var_10}].d) then 14 @ 0x11d5 else 16 @ 0x1195
0x11d5 14 [rbp - 0xc {var_14_1}].d = 0
0x11d5 15 goto 31 @ 0x11dc
0x1195 16 rax = sx.q([rbp - 0xc {var_14}].d)
0x1199 17 rsi = rbp - 0x1b0 {var_1b8}
0x11a0 18 rax = rax << 2
0x11a4 19 rsi = rsi + rax
0x11a7 20 rax = sx.q([rbp - 0xc {var_14}].d)
0x11ab 21 rdx = rbp - 0x350 {var_358}
0x11b2 22 rax = rax << 2
0x11b6 23 rdx = rdx + rax
0x11b9 24 rdi = 0x2004 {"%d%d"}
0x11c0 25 al = 0
0x11c2 26 call(0x1040)
0x11c7 27 eax = [rbp - 0xc {var_14}].d
0x11ca 28 eax = eax + 1
0x11cd 29 [rbp - 0xc {var_14}].d = eax
0x11d0 30 goto 12 @ 0x1189
0x11dc 31 eax = [rbp - 0xc {var_14_1}].d
0x11e2 32 if (eax s>= [rbp - 8 {var_10}].d) then 33 @ 0x126d else 35 @ 0x11e8
0x126d 33 eax = [rbp - 0x14 {var_1c}].d
0x1273 34 if (eax s<= [rbp - 0x10 {var_18}].d) then 37 @ 0x128f else 39 @ 0x1279
0x11e8 35 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x11f4 36 if ([rbp + (rax << 2) - 0x1b0].d s< 0x5a) then 44 @ 0x1241 else 46 @ 0x11fa
0x128f 37 eax = [rbp - 0x14 {var_1c}].d
0x1295 38 if (eax s> [rbp - 0x10 {var_18}].d) then 48 @ 0x12ac else 49 @ 0x129b
0x1279 39 esi = [rbp - 0x14 {var_1c}].d
0x127c 40 rdi = 0x2006 {"%d"}
0x1283 41 al = 0
0x1285 42 call(0x1030)
0x128a 43 goto 54 @ 0x12b1
0x1241 44 eax = [rbp - 0x10 {var_18}].d
0x1247 45 if (eax s<= [rbp - 0x14 {var_1c}].d) then 58 @ 0x1253 else 60 @ 0x124d
0x11fa 46 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x1209 47 if ([rbp + (rax << 2) - 0x1b0].d s> 0x8c) then 44 @ 0x1241 else 63 @ 0x120f
0x12ac 48 goto 54 @ 0x12b1
0x129b 49 esi = [rbp - 0x10 {var_18}].d
0x129e 50 rdi = 0x2006 {"%d"}
0x12a5 51 al = 0
0x12a7 52 call(0x1030)
0x12a7 53 goto 48 @ 0x12ac
0x12b1 54 eax = 0
0x12b3 55 rsp = rsp + 0x350
0x12ba 56 rbp = pop
0x12bb 57 <return> jump(pop)
0x1253 58 [rbp - 0x10 {var_18}].d = 0
0x1253 59 goto 65 @ 0x125a
0x124d 60 eax = [rbp - 0x10 {var_18}].d
0x1250 61 [rbp - 0x14 {var_1c}].d = eax
0x1250 62 goto 58 @ 0x1253
0x120f 63 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x121b 64 if ([rbp + (rax << 2) - 0x350].d s< 0x3c) then 44 @ 0x1241 else 66 @ 0x1221
0x125a 65 goto 68 @ 0x125f
0x1221 66 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x122d 67 if ([rbp + (rax << 2) - 0x350].d s> 0x5a) then 44 @ 0x1241 else 72 @ 0x1233
0x125f 68 eax = [rbp - 0xc {var_14_1}].d
0x1262 69 eax = eax + 1
0x1265 70 [rbp - 0xc {var_14_1}].d = eax
0x1268 71 goto 31 @ 0x11dc
0x1233 72 eax = [rbp - 0x10 {var_18}].d
0x1236 73 eax = eax + 1
0x1239 74 [rbp - 0x10 {var_18}].d = eax
0x123c 75 goto 65 @ 0x125a
int64_t _fini():
0x12c0 0 rsp = rsp - 8
0x12c4 1 rsp = rsp + 8
0x12c8 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)
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 {"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 - 0x1a8
0x1171 7 rdi = rsp + 0x10 {var_1c8}
0x1176 8 edx = 0x190 {""}
0x117b 9 esi = 0
0x117d 10 call(0x1040)
0x1182 11 rdi = 0x2013 {"%d"}
0x1189 12 rsi = rsp + 8 {var_1d0}
0x118e 13 eax = 0
0x1190 14 call(0x1050)
0x119a 15 if ([rsp + 8 {var_1d0}].d s<= 0) then 16 @ 0x13a3 else 25 @ 0x11a0
0x13a3 16 eax = 0
0x13a5 17 rsp = rsp + 0x1a8
0x13ac 18 rbx = pop
0x13ad 19 r12 = pop
0x13af 20 r13 = pop
0x13b1 21 r14 = pop
0x13b3 22 r15 = pop
0x13b5 23 rbp = pop
0x13b6 24 <return> jump(pop)
0x11a0 25 rbx = 0x4050 {""}
0x11a7 26 r14d = 0
0x11aa 27 ecx = 0
0x11ac 28 goto 29 @ 0x11d4
0x11d4 29 [rsp + 0xc {var_1cc_1}].d = ecx
0x11d8 30 [rbx + 0x24].d = 0
0x11df 31 rdx = rbx + 0x14
0x11e3 32 rbp = rbx + 0x18
0x11e7 33 r12 = rbx + 0x1c
0x11eb 34 r13 = rbx + 0x1d
0x11ef 35 r15 = rbx + 0x20
0x11f3 36 [rsp {var_1d8_1}].q = r15
0x11f7 37 rdi = 0x2004 {"%s %d %d %c %c %d"}
0x11fe 38 rsi = rbx
0x1201 39 rcx = rbp
0x1204 40 r8 = r12
0x1207 41 r9 = r13
0x120a 42 eax = 0
0x120c 43 call(0x1050)
0x1211 44 eax = [rbx + 0x14].d
0x1217 45 if (eax s< 0x51) then 46 @ 0x1254 else 47 @ 0x121d
0x1254 46 if ([rbp].d s< 0x51) then 48 @ 0x11b0 else 56 @ 0x125f
0x121d 47 if ([r15].d s<= 0) then 57 @ 0x1229 else 58 @ 0x121f
0x11b0 48 eax = [rbx + 0x24].d
0x11b3 49 [rsp + (r14 << 2) + 0x10].d = eax
0x11b8 50 ecx = [rsp + 0xc {var_1cc_1}].d
0x11bc 51 ecx = ecx + eax
0x11be 52 r14 = r14 + 1
0x11c2 53 rax = sx.q([rsp + 8 {var_1d0}].d)
0x11c7 54 rbx = rbx + 0x28
0x11ce 55 if (r14 s>= rax) then 60 @ 0x128d else 29 @ 0x11d4
0x125f 56 if ([r12].b != 0x59) then 48 @ 0x11b0 else 63 @ 0x1265
0x1229 57 if (eax u< 0x56) then 46 @ 0x1254 else 65 @ 0x122f
0x121f 58 [rbx + 0x24].d = [rbx + 0x24].d + 0x1f40
0x121f 59 goto 57 @ 0x1229
0x128d 60 r10d = eax
0x1290 61 r11d = (r10 - 1).d
0x1298 62 if (r10d s< 2) then 66 @ 0x1363 else 67 @ 0x129e
0x1265 63 [rbx + 0x24].d = [rbx + 0x24].d + 0x352
0x126c 64 goto 48 @ 0x11b0
0x122f 65 if ([rbp].d s>= 0x51) then 72 @ 0x1271 else 74 @ 0x1234
0x1363 66 if (r10d s<= 0) then 16 @ 0x13a3 else 75 @ 0x1365
0x129e 67 edx = 0
0x12a0 68 r9 = 0x4050 {""}
0x12a7 69 r8 = 0x40c4 {""}
0x12ae 70 r15d = r11d
0x12b1 71 goto 81 @ 0x12d0
0x1271 72 [rbx + 0x24].d = [rbx + 0x24].d + 0xfa0
0x127b 73 if (eax u< 0x5b) then 85 @ 0x123b else 86 @ 0x127d
0x1234 74 if (eax u>= 0x5b) then 86 @ 0x127d else 85 @ 0x123b
0x1365 75 eax = r11d
0x1368 76 rax = rax + (rax << 2)
0x136c 77 rsi = 0x4050 {""}
0x1373 78 edx = [rsi + (rax << 3) + 0x24].d
0x1377 79 eax = 0
0x1379 80 goto 88 @ 0x1384
0x12d0 81 eax = edx
0x12d2 82 eax = not.d(eax)
0x12d4 83 eax = eax + r10d
0x12d9 84 if (eax s<= 0) then 89 @ 0x12c0 else 92 @ 0x12db
0x123b 85 if ([r13].b != 0x59) then 46 @ 0x1254 else 96 @ 0x123d
0x127d 86 [rbx + 0x24].d = [rbx + 0x24].d + 0x7d0
0x1289 87 if ([r13].b == 0x59) then 96 @ 0x123d else 98 @ 0x128b
0x1384 88 if ([rsp + (rax << 2) + 0x10].d == edx) then 99 @ 0x1395 else 103 @ 0x1386
0x12c0 89 edx = edx + 1
0x12c3 90 r15d = r15d - 1
0x12ca 91 if (edx == r11d) then 66 @ 0x1363 else 81 @ 0x12d0
0x12db 92 r14d = r11d
0x12de 93 r14d = r14d - edx
0x12e1 94 edi = [0x4074].d
0x12eb 95 if (r14d != 1) then 106 @ 0x1320 else 111 @ 0x12ed
0x123d 96 [rbx + 0x24].d = [rbx + 0x24].d + 0x3e8
0x124e 97 goto 46 @ 0x1254
0x128b 98 goto 46 @ 0x1254
0x1395 99 rdi = 0x2016 {"%s\n%d\n%d\n"}
0x139c 100 eax = 0
0x139e 101 call(0x1030)
0x139e 102 goto 16 @ 0x13a3
0x1386 103 rax = rax + 1
0x138a 104 rsi = rsi + 0x28
0x1391 105 if (r10 != rax) then 88 @ 0x1384 else 113 @ 0x1393
0x1320 106 ebp = r15d
0x1323 107 ebp = ebp & 0xfffffffe
0x1326 108 rax = r8
0x1329 109 esi = 0
0x132b 110 goto 114 @ 0x133e
0x12ed 111 esi = 0
0x12ed 112 goto 116 @ 0x12f3
0x1393 113 goto 16 @ 0x13a3
0x133e 114 ebx = [rax - 0x28].d
0x1343 115 if (edi s<= ebx) then 117 @ 0x1350 else 119 @ 0x1345
0x12f3 116 if ((r14b & 1) == 0) then 89 @ 0x12c0 else 122 @ 0x12f5
0x1350 117 edi = ebx
0x1350 118 goto 125 @ 0x1352
0x1345 119 [rax - 0x50].d = ebx
0x1348 120 [rax - 0x28].d = edi
0x134b 121 goto 125 @ 0x1352
0x12f5 122 rax = rsi + (rsi << 2)
0x12f9 123 esi = [r9 + (rax << 3) + 0x4c].d
0x1300 124 if (edi s<= esi) then 89 @ 0x12c0 else 128 @ 0x1302
0x1352 125 rsi = rsi + 2
0x1356 126 ebx = [rax].d
0x135a 127 if (edi s> ebx) then 133 @ 0x1330 else 136 @ 0x135c
0x1302 128 rbx = r9 + (rax << 3)
0x1306 129 rbx = rbx + 0x4c
0x130a 130 [r9 + (rax << 3) + 0x24].d = esi
0x130f 131 [rbx].d = edi
0x1311 132 goto 89 @ 0x12c0
0x1330 133 [rax - 0x28].d = ebx
0x1333 134 [rax].d = edi
0x1333 135 goto 138 @ 0x1335
0x135c 136 edi = ebx
0x135e 137 goto 138 @ 0x1335
0x1335 138 rax = rax + 0x50
0x133c 139 if (rbp == rsi) then 116 @ 0x12f3 else 114 @ 0x133e
int64_t _fini():
0x13bc 0 rsp = rsp - 8
0x13c0 1 rsp = rsp + 8
0x13c4 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)
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 = 0x1180 {"AVSHxHv"}
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 judge(int32_t arg1, int32_t arg2):
0x1162 0 al = edi != esi
0x1168 1 cl = edi s< 5
0x116b 2 cl = cl & al
0x1170 3 al = esi s< 5
0x1173 4 esi = esi | edi
0x1175 5 dl = esi s>= 0
0x1178 6 dl = dl & al
0x117a 7 dl = dl & cl
0x117c 8 eax = zx.d(dl)
0x117f 9 <return> jump(pop)
int32_t main(int32_t argc, char** argv, char** envp):
0x1180 0 push(r14)
0x1182 1 push(rbx)
0x1183 2 rsp = rsp - 0x78
0x1187 3 rbx = 0x2004 {"%d"}
0x118e 4 rsi = rsp + 0x10 {var_78}
0x1193 5 rdi = rbx
0x1196 6 eax = 0
0x1198 7 call(0x1040)
0x119d 8 rsi = rsp + 0x14 {var_74}
0x11a2 9 rdi = rbx
0x11a5 10 eax = 0
0x11a7 11 call(0x1040)
0x11ac 12 rsi = rsp + 0x18 {var_70}
0x11b1 13 rdi = rbx
0x11b4 14 eax = 0
0x11b6 15 call(0x1040)
0x11bb 16 rsi = rsp + 0x1c {var_6c}
0x11c0 17 rdi = rbx
0x11c3 18 eax = 0
0x11c5 19 call(0x1040)
0x11ca 20 rsi = rsp + 0x20 {var_68}
0x11cf 21 rdi = rbx
0x11d2 22 eax = 0
0x11d4 23 call(0x1040)
0x11d9 24 rsi = rsp + 0x24 {var_64}
0x11de 25 rdi = rbx
0x11e1 26 eax = 0
0x11e3 27 call(0x1040)
0x11e8 28 rsi = rsp + 0x28 {var_60}
0x11ed 29 rdi = rbx
0x11f0 30 eax = 0
0x11f2 31 call(0x1040)
0x11f7 32 rsi = rsp + 0x2c {var_5c}
0x11fc 33 rdi = rbx
0x11ff 34 eax = 0
0x1201 35 call(0x1040)
0x1206 36 rsi = rsp + 0x30 {var_58}
0x120b 37 rdi = rbx
0x120e 38 eax = 0
0x1210 39 call(0x1040)
0x1215 40 rsi = rsp + 0x34 {var_54}
0x121a 41 rdi = rbx
0x121d 42 eax = 0
0x121f 43 call(0x1040)
0x1224 44 rsi = rsp + 0x38 {var_50}
0x1229 45 rdi = rbx
0x122c 46 eax = 0
0x122e 47 call(0x1040)
0x1233 48 rsi = rsp + 0x3c {var_4c}
0x1238 49 rdi = rbx
0x123b 50 eax = 0
0x123d 51 call(0x1040)
0x1242 52 rsi = rsp + 0x40 {var_48}
0x1247 53 rdi = rbx
0x124a 54 eax = 0
0x124c 55 call(0x1040)
0x1251 56 rsi = rsp + 0x44 {var_44}
0x1256 57 rdi = rbx
0x1259 58 eax = 0
0x125b 59 call(0x1040)
0x1260 60 rsi = rsp + 0x48 {var_40}
0x1265 61 rdi = rbx
0x1268 62 eax = 0
0x126a 63 call(0x1040)
0x126f 64 rsi = rsp + 0x4c {var_3c}
0x1274 65 rdi = rbx
0x1277 66 eax = 0
0x1279 67 call(0x1040)
0x127e 68 rsi = rsp + 0x50 {var_38}
0x1283 69 rdi = rbx
0x1286 70 eax = 0
0x1288 71 call(0x1040)
0x128d 72 rsi = rsp + 0x54 {var_34}
0x1292 73 rdi = rbx
0x1295 74 eax = 0
0x1297 75 call(0x1040)
0x129c 76 rsi = rsp + 0x58 {var_30}
0x12a1 77 rdi = rbx
0x12a4 78 eax = 0
0x12a6 79 call(0x1040)
0x12ab 80 rsi = rsp + 0x5c {var_2c}
0x12b0 81 rdi = rbx
0x12b3 82 eax = 0
0x12b5 83 call(0x1040)
0x12ba 84 rsi = rsp + 0x60 {var_28}
0x12bf 85 rdi = rbx
0x12c2 86 eax = 0
0x12c4 87 call(0x1040)
0x12c9 88 rsi = rsp + 0x64 {var_24}
0x12ce 89 rdi = rbx
0x12d1 90 eax = 0
0x12d3 91 call(0x1040)
0x12d8 92 rsi = rsp + 0x68 {var_20}
0x12dd 93 rdi = rbx
0x12e0 94 eax = 0
0x12e2 95 call(0x1040)
0x12e7 96 rsi = rsp + 0x6c {var_1c}
0x12ec 97 rdi = rbx
0x12ef 98 eax = 0
0x12f1 99 call(0x1040)
0x12f6 100 rsi = rsp + 0x70 {var_18}
0x12fb 101 rdi = rbx
0x12fe 102 eax = 0
0x1300 103 call(0x1040)
0x1305 104 rsi = rsp + 0xc {var_7c}
0x130a 105 rdi = rbx
0x130d 106 eax = 0
0x130f 107 call(0x1040)
0x1314 108 rsi = rsp + 8 {var_80}
0x1319 109 rdi = rbx
0x131c 110 eax = 0
0x131e 111 call(0x1040)
0x1323 112 ecx = [rsp + 0xc {var_7c}].d
0x1327 113 eax = [rsp + 8 {var_80}].d
0x132b 114 edx = eax
0x132d 115 edx = edx | ecx
0x132f 116 if (edx s< 0) then 117 @ 0x1417 else 121 @ 0x1338
0x1417 117 rdi = 0x2007 {"error"}
0x141e 118 eax = 0
0x1420 119 call(0x1030)
0x1420 120 goto 122 @ 0x1425
0x1338 121 if (eax s> 4) then 117 @ 0x1417 else 126 @ 0x1341
0x1425 122 rsp = rsp + 0x78
0x1429 123 rbx = pop
0x142a 124 r14 = pop
0x142c 125 <return> jump(pop)
0x1341 126 if (ecx s> 4) then 117 @ 0x1417 else 127 @ 0x1349
0x1349 127 if (ecx == eax) then 117 @ 0x1417 else 128 @ 0x134f
0x134f 128 rcx = sx.q(ecx)
0x1352 129 rax = sx.q(eax)
0x1354 130 rcx = rcx + (rcx << 2)
0x1358 131 rax = rax + (rax << 2)
0x135c 132 xmm0 = [rsp + (rcx << 2) + 0x10].o
0x1361 133 xmm1 = [rsp + (rax << 2) + 0x10].o
0x1366 134 [rsp + (rcx << 2) + 0x10].o = xmm1
0x136b 135 [rsp + (rax << 2) + 0x10].o = xmm0
0x1370 136 edx = [rsp + (rcx << 2) + 0x20].d
0x1374 137 esi = [rsp + (rax << 2) + 0x20].d
0x1378 138 [rsp + (rcx << 2) + 0x20].d = esi
0x137c 139 [rsp + (rax << 2) + 0x20].d = edx
0x1380 140 ebx = 0x10 {""}
0x1385 141 r14 = 0x2004 {"%d"}
0x138c 142 goto 143 @ 0x1390
0x1390 143 esi = [rsp + rbx].d
0x1393 144 rdi = r14
0x1396 145 eax = 0
0x1398 146 call(0x1030)
0x139d 147 edi = 0x20 {"@"}
0x13a2 148 call(0x1050)
0x13a7 149 esi = [rsp + rbx + 4].d
0x13ab 150 rdi = r14
0x13ae 151 eax = 0
0x13b0 152 call(0x1030)
0x13b5 153 edi = 0x20 {"@"}
0x13ba 154 call(0x1050)
0x13bf 155 esi = [rsp + rbx + 8].d
0x13c3 156 rdi = r14
0x13c6 157 eax = 0
0x13c8 158 call(0x1030)
0x13cd 159 edi = 0x20 {"@"}
0x13d2 160 call(0x1050)
0x13d7 161 esi = [rsp + rbx + 0xc].d
0x13db 162 rdi = r14
0x13de 163 eax = 0
0x13e0 164 call(0x1030)
0x13e5 165 edi = 0x20 {"@"}
0x13ea 166 call(0x1050)
0x13ef 167 esi = [rsp + rbx + 0x10].d
0x13f3 168 rdi = r14
0x13f6 169 eax = 0
0x13f8 170 call(0x1030)
0x13fd 171 edi = 0xa {""}
0x1402 172 call(0x1050)
0x1407 173 rbx = rbx + 0x14
0x140f 174 if (rbx != 0x74) then 143 @ 0x1390 else 175 @ 0x1415
0x1415 175 goto 122 @ 0x1425
int64_t _fini():
0x1434 0 rsp = rsp - 8
0x1438 1 rsp = rsp + 8
0x143c 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 {"UAWAVATSHH="}
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 ([0x4040].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 [0x4040].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 - 0x10
0x115c 6 rdi = 0x2050 {"%d"}
0x1163 7 rsi = rsp + 8 {var_30}
0x1168 8 eax = 0
0x116a 9 call(0x1040)
0x1174 10 if ([rsp + 8 {var_30}].d s<= 0) then 11 @ 0x11b2 else 19 @ 0x1176
0x11b2 11 rdi = 0x2050 {"%d"}
0x11b9 12 ebp = 0
0x11bb 13 rsi = rsp + 0xc {var_2c}
0x11c0 14 eax = 0
0x11c2 15 call(0x1040)
0x11c7 16 r10d = [rsp + 0xc {var_2c}].d
0x11cc 17 esi = [rsp + 8 {var_30}].d
0x11d4 18 if (r10d s< 2) then 23 @ 0x14ab else 24 @ 0x11da
0x1176 19 r15 = 0x4050 {""}
0x117d 20 r14 = 0x2053 {"%s"}
0x1184 21 ebx = 0
0x1186 22 goto 33 @ 0x1190
0x14ab 23 if (esi s<= 0) then 41 @ 0x1667 else 53 @ 0x14b1
0x11da 24 r10d = r10d - 1
0x11de 25 edx = esi
0x11e0 26 edx = edx & 0xfffffff0
0x11e3 27 r11d = 0
0x11e6 28 r9 = 0x4050 {""}
0x11ed 29 r8 = 0x405f {""}
0x11f4 30 xmm0 = [0x2010].o
0x11fc 31 xmm1 = [0x2020].o
0x1204 32 goto 69 @ 0x121f
0x1190 33 rdi = r14
0x1193 34 rsi = r15
0x1196 35 eax = 0
0x1198 36 call(0x1040)
0x119d 37 rbx = rbx + 1
0x11a1 38 rax = sx.q([rsp + 8 {var_30}].d)
0x11a6 39 r15 = r15 + 0x3e9
0x11b0 40 if (rbx s< rax) then 33 @ 0x1190 else 11 @ 0x11b2
0x1667 41 rdi = 0x2056 {"%d\n"}
0x166e 42 esi = ebp
0x1670 43 eax = 0
0x1672 44 call(0x1030)
0x1677 45 eax = 0
0x1679 46 rsp = rsp + 0x10
0x167d 47 rbx = pop
0x167e 48 r12 = pop
0x1680 49 r14 = pop
0x1682 50 r15 = pop
0x1684 51 rbp = pop
0x1685 52 <return> jump(pop)
0x14b1 53 r14d = esi
0x14b4 54 r14d = r14d & 0xfffffff8
0x14b8 55 r9 = r14 - 8
0x14bc 56 r11 = r9
0x14bf 57 r11 = r11 u>> 3
0x14c3 58 r11 = r11 + 1
0x14c7 59 r8 = r11
0x14ca 60 r8 = r8 & 0xfffffffffffffffe
0x14ce 61 r12d = 0
0x14d1 62 rdx = 0x405c {""}
0x14d8 63 r10 = 0x4050 {""}
0x14df 64 xmm0 = [0x2030].o
0x14e7 65 xmm1 = [0x2040].o
0x14ef 66 r15 = r10
0x14f2 67 ebp = 0
0x14f4 68 goto 70 @ 0x151e
0x121f 69 if (esi s<= 0) then 71 @ 0x1210 else 73 @ 0x1221
0x151e 70 if (esi u>= 8) then 76 @ 0x1530 else 79 @ 0x1520
0x1210 71 r11d = r11d + 1
0x1217 72 if (r11d == r10d) then 23 @ 0x14ab else 69 @ 0x121f
0x1221 73 rcx = r9
0x1224 74 eax = 0
0x1226 75 goto 81 @ 0x123c
0x1530 76 xmm3 = ebp
0x1534 77 xmm2 = 0
0x153b 78 if (r9 == 0) then 84 @ 0x1659 else 86 @ 0x1541
0x1520 79 edi = 0
0x1522 80 goto 89 @ 0x162a
0x123c 81 rax = rax + 1
0x1240 82 edi = 0
0x1242 83 goto 94 @ 0x1261
0x1659 84 ebx = 0
0x165f 85 if ((r11b & 1) != 0) then 95 @ 0x15c7 else 110 @ 0x1665
0x1541 86 rcx = r8
0x1544 87 ebx = 0
0x1546 88 goto 111 @ 0x1550
0x162a 89 rcx = r15 + rdi
0x162e 90 rax = rsi
0x1631 91 rax = rax - rdi
0x1634 92 edi = 0
0x1636 93 goto 139 @ 0x1640
0x1261 94 if ([rcx + rdi].b != 0x2e) then 144 @ 0x1254 else 146 @ 0x126b
0x15c7 95 rax = r12 * 0x3e9
0x15ce 96 rax = rax + r10
0x15d1 97 xmm4 = [rbx + rax].d
0x15d6 98 xmm5 = [rbx + rax + 4].d
0x15dc 99 xmm4 = _mm_cmpeq_epi8(xmm4, xmm0)
0x15e0 100 xmm4 = _mm_unpacklo_epi8(xmm4, xmm4.q)
0x15e4 101 xmm4 = _mm_unpacklo_epi16(xmm4, xmm4.q)
0x15e8 102 xmm4 = xmm4 & xmm1
0x15ec 103 xmm3 = _mm_add_epi32(xmm3, xmm4)
0x15f0 104 xmm5 = _mm_cmpeq_epi8(xmm5, xmm0)
0x15f4 105 xmm5 = _mm_unpacklo_epi8(xmm5, xmm5.q)
0x15f8 106 xmm5 = _mm_unpacklo_epi16(xmm5, xmm5.q)
0x15fc 107 xmm5 = xmm5 & xmm1
0x1600 108 xmm2 = _mm_add_epi32(xmm2, xmm5)
0x1600 109 goto 147 @ 0x1604
0x1665 110 goto 147 @ 0x1604
0x1550 111 xmm5 = [rdx + rbx - 0xc].d
0x1556 112 xmm4 = [rdx + rbx - 8].d
0x155c 113 xmm5 = _mm_cmpeq_epi8(xmm5, xmm0)
0x1560 114 xmm5 = _mm_unpacklo_epi8(xmm5, xmm5.q)
0x1564 115 xmm5 = _mm_unpacklo_epi16(xmm5, xmm5.q)
0x1568 116 xmm5 = xmm5 & xmm1
0x156c 117 xmm5 = _mm_add_epi32(xmm5, xmm3)
0x1570 118 xmm4 = _mm_cmpeq_epi8(xmm4, xmm0)
0x1574 119 xmm4 = _mm_unpacklo_epi8(xmm4, xmm4.q)
0x1578 120 xmm4 = _mm_unpacklo_epi16(xmm4, xmm4.q)
0x157c 121 xmm4 = xmm4 & xmm1
0x1580 122 xmm4 = _mm_add_epi32(xmm4, xmm2)
0x1584 123 xmm3 = [rdx + rbx - 4].d
0x158a 124 xmm2 = [rdx + rbx].d
0x158f 125 xmm3 = _mm_cmpeq_epi8(xmm3, xmm0)
0x1593 126 xmm3 = _mm_unpacklo_epi8(xmm3, xmm3.q)
0x1597 127 xmm3 = _mm_unpacklo_epi16(xmm3, xmm3.q)
0x159b 128 xmm3 = xmm3 & xmm1
0x159f 129 xmm3 = _mm_add_epi32(xmm3, xmm5)
0x15a3 130 xmm2 = _mm_cmpeq_epi8(xmm2, xmm0)
0x15a7 131 xmm2 = _mm_unpacklo_epi8(xmm2, xmm2.q)
0x15ab 132 xmm2 = _mm_unpacklo_epi16(xmm2, xmm2.q)
0x15af 133 xmm2 = xmm2 & xmm1
0x15b3 134 xmm2 = _mm_add_epi32(xmm2, xmm4)
0x15b7 135 rbx = rbx + 0x10
0x15bb 136 temp0.q = rcx
0x15bb 137 rcx = rcx - 2
0x15bf 138 if (temp0.q != 2) then 111 @ 0x1550 else 155 @ 0x15c5
0x1640 139 ebx = 0
0x1646 140 bl = [rcx + rdi].b == 0x40
0x1649 141 ebp = ebp + ebx
0x164b 142 rdi = rdi + 1
0x1652 143 if (rax != rdi) then 139 @ 0x1640 else 156 @ 0x1654
0x1254 144 rdi = rdi + 1
0x125b 145 if (rsi == rdi) then 157 @ 0x1230 else 94 @ 0x1261
0x126b 146 if ([rcx + rdi - 0x3e9].b == 0x40) then 159 @ 0x1250 else 161 @ 0x1272
0x1604 147 xmm3 = _mm_add_epi32(xmm3, xmm2)
0x1608 148 xmm2 = _mm_shuffle_epi32(xmm3, 0xee)
0x160d 149 xmm2 = _mm_add_epi32(xmm2, xmm3)
0x1611 150 xmm3 = _mm_shuffle_epi32(xmm2, 0x55)
0x1616 151 xmm3 = _mm_add_epi32(xmm3, xmm2)
0x161a 152 ebp = xmm3.d
0x161e 153 rdi = r14
0x1624 154 if (r14 == rsi) then 162 @ 0x1500 else 89 @ 0x162a
0x15c5 155 if ((r11b & 1) == 0) then 147 @ 0x1604 else 95 @ 0x15c7
0x1654 156 goto 162 @ 0x1500
0x1230 157 rcx = rcx + 0x3e9
0x123a 158 if (rax == rsi) then 166 @ 0x1292 else 81 @ 0x123c
0x1250 159 [rcx + rdi].b = 0x2a {""}
0x1250 160 goto 144 @ 0x1254
0x1272 161 if ([rcx + rdi - 1].b == 0x40) then 159 @ 0x1250 else 167 @ 0x127c
0x1500 162 r12 = r12 + 1
0x1504 163 rdx = rdx + 0x3e9
0x150b 164 r15 = r15 + 0x3e9
0x1515 165 if (r12 == rsi) then 41 @ 0x1667 else 70 @ 0x151e
0x1292 166 if (esi s<= 0) then 71 @ 0x1210 else 168 @ 0x1298
0x127c 167 if ([rcx + rdi + 0x3e9].b == 0x40) then 159 @ 0x1250 else 172 @ 0x1283
0x1298 168 r14 = r9
0x129b 169 rcx = r8
0x129e 170 r15d = 0
0x12a1 171 goto 173 @ 0x12ce
0x1283 172 if ([rcx + rdi + 1].b == 0x40) then 159 @ 0x1250 else 174 @ 0x1285
0x12ce 173 if (esi u>= 0x10) then 175 @ 0x12e0 else 177 @ 0x12d0
0x1285 174 goto 144 @ 0x1254
0x12e0 175 edi = 0
0x12e2 176 goto 179 @ 0x12fd
0x12d0 177 ebx = 0
0x12d2 178 goto 184 @ 0x147c
0x12fd 179 xmm3 = [rcx + rdi - 0xf].q
0x1303 180 xmm2 = xmm3
0x1307 181 xmm2 = _mm_cmpeq_epi8(xmm2, xmm0)
0x130b 182 eax = xmm2.d
0x1311 183 if ((al & 1) == 0) then 189 @ 0x1318 else 194 @ 0x1313
0x147c 184 rdi = r14 + rbx
0x1480 185 rax = rsi
0x1483 186 rax = rax - rbx
0x1486 187 ebx = 0
0x1488 188 goto 196 @ 0x14a1
0x1318 189 xmm4 = xmm2
0x131c 190 xmm4 = _mm_slli_epi32(xmm4, 8)
0x1321 191 eax = xmm4.d
0x1325 192 eax = eax u>> 0x10
0x132a 193 if ((al & 1) == 0) then 197 @ 0x1331 else 201 @ 0x132c
0x1313 194 [rcx + rdi - 0xf].b = 0x40 {""}
0x1313 195 goto 189 @ 0x1318
0x14a1 196 if ([rdi + rbx].b != 0x2a) then 203 @ 0x1490 else 205 @ 0x14a3
0x1331 197 xmm4 = _mm_shufflelo_epi16(xmm3, 0x55)
0x1336 198 xmm4 = _mm_cmpeq_epi8(xmm4, xmm0)
0x133a 199 eax = _mm_extract_epi16(xmm4, 2)
0x1341 200 if ((al & 1) == 0) then 207 @ 0x1348 else 211 @ 0x1343
0x132c 201 [rcx + rdi - 0xe].b = 0x40 {""}
0x132c 202 goto 197 @ 0x1331
0x1490 203 rbx = rbx + 1
0x1497 204 if (rax == rbx) then 213 @ 0x12b0 else 196 @ 0x14a1
0x14a3 205 [rdi + rbx].b = 0x40 {""}
0x14a7 206 goto 203 @ 0x1490
0x1348 207 xmm4 = xmm2
0x134c 208 xmm4 = _mm_slli_epi64(xmm4, 0x18)
0x1351 209 eax = _mm_extract_epi16(xmm4, 3)
0x1358 210 if ((al & 1) == 0) then 217 @ 0x135f else 221 @ 0x135a
0x1343 211 [rcx + rdi - 0xd].b = 0x40 {""}
0x1343 212 goto 207 @ 0x1348
0x12b0 213 r15 = r15 + 1
0x12b4 214 rcx = rcx + 0x3e9
0x12bb 215 r14 = r14 + 0x3e9
0x12c5 216 if (r15 == rsi) then 71 @ 0x1210 else 173 @ 0x12ce
0x135f 217 xmm3 = _mm_shuffle_epi32(xmm3, 0x55)
0x1364 218 xmm3 = _mm_cmpeq_epi8(xmm3, xmm1)
0x1368 219 eax = _mm_extract_epi16(xmm3, 4)
0x136f 220 if ((al & 1) == 0) then 223 @ 0x1376 else 227 @ 0x1371
0x135a 221 [rcx + rdi - 0xc].b = 0x40 {""}
0x135a 222 goto 217 @ 0x135f
0x1376 223 xmm3 = xmm2
0x137a 224 xmm3 = _mm_slli_si128(xmm3, 5)
0x137f 225 eax = _mm_extract_epi16(xmm3, 5)
0x1386 226 if ((al & 1) == 0) then 229 @ 0x138d else 231 @ 0x1388
0x1371 227 [rcx + rdi - 0xb].b = 0x40 {""}
0x1371 228 goto 223 @ 0x1376
0x138d 229 eax = _mm_extract_epi16(xmm2, 3)
0x1394 230 if ((al & 1) == 0) then 233 @ 0x139b else 236 @ 0x1396
0x1388 231 [rcx + rdi - 0xa].b = 0x40 {""}
0x1388 232 goto 229 @ 0x138d
0x139b 233 xmm2 = _mm_slli_si128(xmm2, 7)
0x13a0 234 eax = _mm_extract_epi16(xmm2, 7)
0x13a7 235 if ((al & 1) == 0) then 238 @ 0x13ae else 243 @ 0x13a9
0x1396 236 [rcx + rdi - 9].b = 0x40 {""}
0x1396 237 goto 233 @ 0x139b
0x13ae 238 xmm3 = [rcx + rdi - 7].q
0x13b4 239 xmm2 = xmm3
0x13b8 240 xmm2 = _mm_cmpeq_epi8(xmm2, xmm0)
0x13bc 241 eax = xmm2.d
0x13c2 242 if ((al & 1) == 0) then 245 @ 0x13c9 else 250 @ 0x13c4
0x13a9 243 [rcx + rdi - 8].b = 0x40 {""}
0x13a9 244 goto 238 @ 0x13ae
0x13c9 245 xmm4 = xmm2
0x13cd 246 xmm4 = _mm_slli_epi32(xmm4, 8)
0x13d2 247 eax = xmm4.d
0x13d6 248 eax = eax u>> 0x10
0x13db 249 if ((al & 1) == 0) then 252 @ 0x13e2 else 256 @ 0x13dd
0x13c4 250 [rcx + rdi - 7].b = 0x40 {""}
0x13c4 251 goto 245 @ 0x13c9
0x13e2 252 xmm4 = _mm_shufflelo_epi16(xmm3, 0x55)
0x13e7 253 xmm4 = _mm_cmpeq_epi8(xmm4, xmm0)
0x13eb 254 eax = _mm_extract_epi16(xmm4, 2)
0x13f2 255 if ((al & 1) == 0) then 258 @ 0x13f9 else 262 @ 0x13f4
0x13dd 256 [rcx + rdi - 6].b = 0x40 {""}
0x13dd 257 goto 252 @ 0x13e2
0x13f9 258 xmm4 = xmm2
0x13fd 259 xmm4 = _mm_slli_epi64(xmm4, 0x18)
0x1402 260 eax = _mm_extract_epi16(xmm4, 3)
0x1409 261 if ((al & 1) == 0) then 264 @ 0x1410 else 268 @ 0x140b
0x13f4 262 [rcx + rdi - 5].b = 0x40 {""}
0x13f4 263 goto 258 @ 0x13f9
0x1410 264 xmm3 = _mm_shuffle_epi32(xmm3, 0x55)
0x1415 265 xmm3 = _mm_cmpeq_epi8(xmm3, xmm1)
0x1419 266 eax = _mm_extract_epi16(xmm3, 4)
0x1420 267 if ((al & 1) == 0) then 270 @ 0x1427 else 274 @ 0x1422
0x140b 268 [rcx + rdi - 4].b = 0x40 {""}
0x140b 269 goto 264 @ 0x1410
0x1427 270 xmm3 = xmm2
0x142b 271 xmm3 = _mm_slli_si128(xmm3, 5)
0x1430 272 eax = _mm_extract_epi16(xmm3, 5)
0x1437 273 if ((al & 1) == 0) then 276 @ 0x143e else 278 @ 0x1439
0x1422 274 [rcx + rdi - 3].b = 0x40 {""}
0x1422 275 goto 270 @ 0x1427
0x143e 276 eax = _mm_extract_epi16(xmm2, 3)
0x1445 277 if ((al & 1) == 0) then 280 @ 0x144c else 283 @ 0x1447
0x1439 278 [rcx + rdi - 2].b = 0x40 {""}
0x1439 279 goto 276 @ 0x143e
0x144c 280 xmm2 = _mm_slli_si128(xmm2, 7)
0x1451 281 eax = _mm_extract_epi16(xmm2, 7)
0x1458 282 if ((al & 1) == 0) then 285 @ 0x12f0 else 287 @ 0x145e
0x1447 283 [rcx + rdi - 1].b = 0x40 {""}
0x1447 284 goto 280 @ 0x144c
0x12f0 285 rdi = rdi + 0x10
0x12f7 286 if (rdx == rdi) then 289 @ 0x1470 else 179 @ 0x12fd
0x145e 287 [rcx + rdi].b = 0x40 {""}
0x1462 288 goto 285 @ 0x12f0
0x1470 289 rbx = rdx
0x1476 290 if (rdx == rsi) then 213 @ 0x12b0 else 184 @ 0x147c
int64_t _fini():
0x168c 0 rsp = rsp - 8
0x1690 1 rsp = rsp + 8
0x1694 2 <return> jump(pop)
| POJ_59 |
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 {"UHAWAVAUATSHH="}
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 - 0x18
0x1171 8 rdi = 0x2004 {"%d"}
0x1178 9 rsi = rbp - 0x2c {var_34}
0x117c 10 eax = 0
0x117e 11 call(0x1050)
0x1183 12 [rbp - 0x40 {var_48}].q = rsp {var_48}
0x1187 13 eax = [rbp - 0x2c {var_34}].d
0x118a 14 r13 = rsp {var_48}
0x118d 15 rax = (rax << 2) + 0xf
0x1195 16 rax = rax & 0xfffffffffffffff0
0x1199 17 r13 = r13 - rax
0x119c 18 rsp = r13
0x119f 19 r14d = [rbp - 0x2c {var_34}].d
0x11a6 20 if (r14d s<= 0) then 21 @ 0x11ba else 28 @ 0x11a8
0x11ba 21 rbx = rsp
0x11bd 22 rax = (r14 << 3) + 0xf
0x11c5 23 rax = rax & 0xfffffffffffffff0
0x11c9 24 rbx = rbx - rax
0x11cc 25 rsp = rbx
0x11cf 26 eax = [rbp - 0x2c {var_34}].d
0x11d4 27 if (eax s<= 0) then 33 @ 0x1231 else 34 @ 0x11d6
0x11a8 28 rdx = r14 << 2
0x11b0 29 rdi = r13
0x11b3 30 esi = 0
0x11b5 31 call(0x1040)
0x11b5 32 goto 21 @ 0x11ba
0x1231 33 if (eax s< 2) then 38 @ 0x1280 else 40 @ 0x1233
0x11d6 34 r12 = 0x200a {"%lf"}
0x11dd 35 r14 = rbx
0x11e0 36 r15d = 0
0x11e3 37 goto 44 @ 0x120e
0x1280 38 ecx = [rbp - 0x2c {var_34}].d
0x1285 39 if (ecx s<= 0) then 49 @ 0x12d4 else 50 @ 0x1287
0x1233 40 eax = eax - 1
0x1236 41 ecx = eax
0x1238 42 edx = 0
0x123a 43 goto 55 @ 0x1247
0x120e 44 rdi = 0x2007 {"%s"}
0x1215 45 rsi = rbp - 0x33 {var_3b}
0x1219 46 eax = 0
0x121b 47 call(0x1050)
0x1224 48 if ([rbp - 0x33 {var_3b}].b != 0x6d) then 57 @ 0x11f0 else 65 @ 0x1226
0x12d4 49 if (ecx s<= 0) then 67 @ 0x1315 else 77 @ 0x12d6
0x1287 50 r14d = 0
0x128a 51 r15 = 0x200f {"%.2lf"}
0x1291 52 r12 = 0x200e {" %.2lf"}
0x1298 53 eax = 0
0x129a 54 goto 81 @ 0x12b3
0x1247 55 esi = 0
0x1249 56 goto 82 @ 0x1258
0x11f0 57 rdi = r12
0x11f3 58 rsi = r14
0x11f6 59 eax = 0
0x11f8 60 call(0x1050)
0x11fd 61 r15 = r15 + 1
0x1201 62 rax = sx.q([rbp - 0x2c {var_34}].d)
0x1205 63 r14 = r14 + 8
0x120c 64 if (r15 s>= rax) then 33 @ 0x1231 else 44 @ 0x120e
0x1226 65 [r13 + (r15 << 2)].d = [r13 + (r15 << 2)].d + 1
0x122c 66 goto 57 @ 0x11f0
0x1315 67 rsp = [rbp - 0x40 {var_48}].q
0x1319 68 eax = 0
0x131b 69 rsp = rbp - 0x28
0x131f 70 rbx = pop
0x1320 71 r12 = pop
0x1322 72 r13 = pop
0x1324 73 r14 = pop
0x1326 74 r15 = pop
0x1328 75 rbp = pop
0x1329 76 <return> jump(pop)
0x12d6 77 r15 = sx.q(ecx)
0x12d9 78 r15 = r15 + 1
0x12dd 79 r14 = 0x200e {" %.2lf"}
0x12e4 80 goto 92 @ 0x1300
0x12b3 81 if ([r13 + (r14 << 2)].d != 1) then 93 @ 0x12a0 else 96 @ 0x12b5
0x1258 82 xmm0 = zx.o([rbx + (rsi << 3)].q)
0x125d 83 xmm1 = zx.o([rbx + (rsi << 3) + 8].q)
0x1263 84 rdi = rsi + 1
0x1267 85 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x1267 86 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1267 87 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1267 88 flag:s = 0
0x1267 89 flag:o = 0
0x1267 90 flag:a = 0
0x126b 91 if (flag:z || flag:c) then 100 @ 0x1250 else 102 @ 0x126d
0x1300 92 if ([r13 + (r15 << 2) - 8].d != 0) then 106 @ 0x12f0 else 108 @ 0x1302
0x12a0 93 r14 = r14 + 1
0x12a4 94 rcx = sx.q([rbp - 0x2c {var_34}].d)
0x12ab 95 if (r14 s>= rcx) then 49 @ 0x12d4 else 81 @ 0x12b3
0x12b5 96 cond:0 = eax == 0
0x12b7 97 xmm0 = zx.o([rbx + (r14 << 3)].q)
0x12bd 98 rdi = r12
0x12c0 99 if (cond:0) then 113 else 115 @ 0x12c4
0x1250 100 rsi = rdi
0x1256 101 if (rcx == rdi) then 119 @ 0x1240 else 82 @ 0x1258
0x126d 102 [rbx + (rsi << 3)].q = xmm1.q
0x1272 103 [rbx + (rsi << 3) + 8].q = xmm0.q
0x1278 104 [r13 + (rsi << 2)].q = rol.q([r13 + (rsi << 2)].q, 0x20)
0x127e 105 goto 100 @ 0x1250
0x12f0 106 r15 = r15 - 1
0x12f8 107 if (r15 s<= 1) then 67 @ 0x1315 else 92 @ 0x1300
0x1302 108 xmm0 = zx.o([rbx + (r15 << 3) - 0x10].q)
0x1309 109 rdi = r14
0x130c 110 al = 1
0x130e 111 call(0x1030)
0x1313 112 goto 106 @ 0x12f0
0x12c0 113 rdi = r15
0x12c0 114 goto 115 @ 0x12c4
0x12c4 115 al = 1
0x12c6 116 call(0x1030)
0x12cb 117 eax = 1
0x12d0 118 goto 93 @ 0x12a0
0x1240 119 edx = edx + 1
0x1245 120 if (edx == eax) then 38 @ 0x1280 else 55 @ 0x1247
int64_t _fini():
0x1330 0 rsp = rsp - 8
0x1334 1 rsp = rsp + 8
0x1338 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 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 = 0x1180 {"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)
uint64_t compare(int64_t* arg1, int64_t* arg2):
0x1160 0 xmm0 = zx.o([rdi].q)
0x1164 1 eax = 0
0x1166 2 flag:p = is_unordered.q(xmm0.q, fconvert.t([rsi].q))
0x1166 3 flag:c = xmm0.q f< fconvert.t([rsi].q) | is_unordered.q(xmm0.q, fconvert.t([rsi].q))
0x1166 4 flag:z = xmm0.q f== fconvert.t([rsi].q) | is_unordered.q(xmm0.q, fconvert.t([rsi].q))
0x1166 5 flag:s = 0
0x1166 6 flag:o = 0
0x1166 7 flag:a = 0
0x116a 8 al = not(flag:z) && not(flag:c)
0x116d 9 eax = eax + eax
0x116f 10 eax = eax - 1
0x1172 11 <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 - 0x478
0x1191 7 rdi = 0x2004 {"%d"}
0x1198 8 r15d = 0
0x119b 9 rsi = rsp + 0xc {var_49c}
0x11a0 10 eax = 0
0x11a2 11 call(0x1040)
0x11a7 12 cond:0 = [rsp + 0xc {var_49c}].d s<= 0
0x11ac 13 r14d = 0
0x11b2 14 if (cond:0) then 15 @ 0x1232 else 33 @ 0x11b4
0x1232 15 rbx = 0x1160 {"1f.f."}
0x1239 16 rdi = rsp + 0x10 {var_498}
0x123e 17 edx = 8
0x1243 18 esi = r15d
0x1246 19 rcx = rbx
0x1249 20 eax = 0
0x124b 21 call(0x1050)
0x1250 22 rdi = rsp + 0x150 {var_358}
0x1258 23 edx = 8
0x125d 24 esi = r14d
0x1260 25 rcx = rbx
0x1263 26 eax = 0
0x1265 27 call(0x1050)
0x126a 28 xmm0 = zx.o([rsp + 0x10 {var_498}].q)
0x1270 29 rdi = 0x200f {"%0.2lf"}
0x1277 30 al = 1
0x1279 31 call(0x1030)
0x1282 32 if (r15d s< 2) then 40 @ 0x12bc else 41 @ 0x1284
0x11b4 33 r12 = rsp + 0x330 {var_178}
0x11bc 34 rbx = rsp + 0x290 {var_218}
0x11c4 35 r13 = 0x2007 {"%s %lf"}
0x11cb 36 ebp = 0
0x11cd 37 r14d = 0
0x11d0 38 r15d = 0
0x11d3 39 goto 45 @ 0x1207
0x12bc 40 if (r14d s<= 0) then 53 @ 0x12f0 else 62 @ 0x12be
0x1284 41 ebp = r15d
0x1287 42 ebx = 1
0x128c 43 r15 = 0x200e {" %0.2lf"}
0x129d 44 goto 66 @ 0x12a0
0x1207 45 rdi = r13
0x120a 46 rsi = rbx
0x120d 47 rdx = r12
0x1210 48 eax = 0
0x1212 49 call(0x1040)
0x1217 50 cond:1 = [rbx].b != 0x6d
0x121a 51 xmm0 = zx.o([r12].q)
0x1220 52 if (cond:1) then 72 @ 0x11e0 else 76 @ 0x1222
0x12f0 53 eax = 0
0x12f2 54 rsp = rsp + 0x478
0x12f9 55 rbx = pop
0x12fa 56 r12 = pop
0x12fc 57 r13 = pop
0x12fe 58 r14 = pop
0x1300 59 r15 = pop
0x1302 60 rbp = pop
0x1303 61 <return> jump(pop)
0x12be 62 ebp = r14d
0x12c1 63 rbp = rbp + 1
0x12c5 64 rbx = 0x200e {" %0.2lf"}
0x12cc 65 goto 80 @ 0x12d0
0x12a0 66 xmm0 = zx.o([rsp + (rbx << 3) + 0x10].q)
0x12a6 67 rdi = r15
0x12a9 68 al = 1
0x12ab 69 call(0x1030)
0x12b0 70 rbx = rbx + 1
0x12b7 71 if (rbp != rbx) then 66 @ 0x12a0 else 40 @ 0x12bc
0x11e0 72 r14 = sx.q(r14d)
0x11e3 73 [rsp + (r14 << 3) + 0x150].q = xmm0.q
0x11ed 74 r14d = r14d + 1
0x11ed 75 goto 87 @ 0x11f1
0x1222 76 r15 = sx.q(r15d)
0x1225 77 [rsp + (r15 << 3) + 0x10].q = xmm0.q
0x122c 78 r15d = r15d + 1
0x1230 79 goto 87 @ 0x11f1
0x12d0 80 eax = (rbp - 2).d
0x12d3 81 xmm0 = zx.o([rsp + (rax << 3) + 0x150].q)
0x12dc 82 rdi = rbx
0x12df 83 al = 1
0x12e1 84 call(0x1030)
0x12e6 85 rbp = rbp - 1
0x12ee 86 if (rbp u> 1) then 80 @ 0x12d0 else 53 @ 0x12f0
0x11f1 87 rbp = rbp + 1
0x11f5 88 rax = sx.q([rsp + 0xc {var_49c}].d)
0x11fa 89 r12 = r12 + 8
0x11fe 90 rbx = rbx + 4
0x1205 91 if (rbp s>= rax) then 15 @ 0x1232 else 45 @ 0x1207
int64_t _fini():
0x1308 0 rsp = rsp - 8
0x130c 1 rsp = rsp + 8
0x1310 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)
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 {"UAWAVAUATSH8"}
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 - 0x338
0x1171 7 rdi = 0x2010 {"%d"}
0x1178 8 rsi = rsp + 0xc {var_35c}
0x117d 9 eax = 0
0x117f 10 call(0x1040)
0x1189 11 if ([rsp + 0xc {var_35c}].d s<= 0) then 12 @ 0x12a3 else 21 @ 0x118f
0x12a3 12 eax = 0
0x12a5 13 rsp = rsp + 0x338
0x12ac 14 rbx = pop
0x12ad 15 r12 = pop
0x12af 16 r13 = pop
0x12b1 17 r14 = pop
0x12b3 18 r15 = pop
0x12b5 19 rbp = pop
0x12b6 20 <return> jump(pop)
0x118f 21 r15 = rsp + 8 {var_360}
0x1194 22 rbp = rsp + 0x10 {var_358}
0x1199 23 r13 = 0x2013 {"%lf"}
0x11a0 24 r12 = 0x2017 {"%.5lf\n"}
0x11a7 25 r14d = 0
0x11aa 26 goto 27 @ 0x11ce
0x11ce 27 rdi = 0x2010 {"%d"}
0x11d5 28 rsi = r15 {var_360}
0x11d8 29 eax = 0
0x11da 30 call(0x1040)
0x11df 31 rcx = sx.q([rsp + 8 {var_360}].d)
0x11e7 32 if (rcx s<= 0) then 33 @ 0x1270 else 36 @ 0x11ed
0x1270 33 rax = rsp + (rcx << 3)
0x1274 34 rax = rax + 0x10
0x127b 35 if (rbp u< rax) then 38 @ 0x1218 else 41 @ 0x127d
0x11ed 36 rbx = rbp {var_358}
0x11ed 37 goto 45 @ 0x11f0
0x1218 38 xmm1 = _mm_xor_pd(xmm1, xmm1)
0x121c 39 rdx = rbp {var_358}
0x121f 40 goto 54 @ 0x1220
0x127d 41 xmm2 = 0
0x1280 42 xmm2.q = float.d(ecx)
0x1284 43 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x1284 44 goto 57 @ 0x1288
0x11f0 45 rdi = r13
0x11f3 46 rsi = rbx
0x11f6 47 eax = 0
0x11f8 48 call(0x1040)
0x11fd 49 rbx = rbx + 8
0x1201 50 rcx = sx.q([rsp + 8 {var_360}].d)
0x1206 51 rax = rsp + (rcx << 3)
0x120a 52 rax = rax + 0x10
0x1211 53 if (rbx u< rax) then 45 @ 0x11f0 else 65 @ 0x1216
0x1220 54 xmm1.q = xmm1.q f+ fconvert.t([rdx].q)
0x1224 55 rdx = rdx + 8
0x122b 56 if (rdx u< rax) then 54 @ 0x1220 else 66 @ 0x122d
0x1288 57 xmm0.q = xmm0.q f/ xmm2.q
0x128c 58 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x128c 59 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x128c 60 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x128c 61 flag:s = 0
0x128c 62 flag:o = 0
0x128c 63 flag:a = 0
0x1294 64 if (flag:c) then 70 @ 0x11b0 else 72 @ 0x129a
0x1216 65 if (rbp u>= rax) then 41 @ 0x127d else 38 @ 0x1218
0x122d 66 xmm2 = 0
0x1230 67 xmm2.q = float.d(ecx)
0x1234 68 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x123b 69 if (rbp u>= rax) then 57 @ 0x1288 else 74 @ 0x123d
0x11b0 70 call(0x1050)
0x11b0 71 goto 78 @ 0x11b5
0x129a 72 xmm0 = _mm_sqrt_sd(xmm0.q)
0x129e 73 goto 78 @ 0x11b5
0x123d 74 xmm1.q = xmm1.q f/ xmm2.q
0x1241 75 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x1245 76 rcx = rbp {var_358}
0x1248 77 goto 83 @ 0x1250
0x11b5 78 rdi = r12
0x11b8 79 al = 1
0x11ba 80 call(0x1030)
0x11bf 81 r14d = r14d + 1
0x11c8 82 if (r14d s>= [rsp + 0xc {var_35c}].d) then 12 @ 0x12a3 else 27 @ 0x11ce
0x1250 83 xmm3 = zx.o([rcx].q)
0x1254 84 xmm3.q = xmm3.q f- xmm1.q
0x1258 85 xmm3.q = xmm3.q f* xmm3.q
0x125c 86 xmm0.q = xmm0.q f+ xmm3.q
0x1260 87 rcx = rcx + 8
0x1267 88 if (rcx u< rax) then 83 @ 0x1250 else 89 @ 0x1269
0x1269 89 goto 57 @ 0x1288
int64_t _fini():
0x12bc 0 rsp = rsp - 8
0x12c0 1 rsp = rsp + 8
0x12c4 2 <return> jump(pop)
| POJ_38 |
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 = 0x2007 {"%d"}
0x1163 5 rsi = rsp + 0xc {var_4cc}
0x1168 6 eax = 0
0x116a 7 call(0x1040)
0x116f 8 r9d = [rsp + 0xc {var_4cc}].d
0x1177 9 if (r9d s<= 0) then 10 @ 0x11af else 12 @ 0x1179
0x11af 10 r8d = (r9 - 1).d
0x11b7 11 if (r9d s< 2) then 16 @ 0x1205 else 17 @ 0x11b9
0x1179 12 r15 = rsp + 0x10 {var_4c8}
0x117e 13 r14 = 0x2007 {"%d"}
0x1185 14 ebx = 0
0x1187 15 goto 20 @ 0x1190
0x1205 16 if (r9d s<= 0) then 28 @ 0x1223 else 30 @ 0x1207
0x11b9 17 edx = 0
0x11bb 18 esi = r8d
0x11be 19 goto 34 @ 0x11cb
0x1190 20 rdi = r14
0x1193 21 rsi = r15
0x1196 22 eax = 0
0x1198 23 call(0x1040)
0x119d 24 rbx = rbx + 1
0x11a1 25 r9 = sx.q([rsp + 0xc {var_4cc}].d)
0x11a6 26 r15 = r15 + 4
0x11ad 27 if (rbx s< r9) then 20 @ 0x1190 else 10 @ 0x11af
0x1223 28 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x1223 29 goto 39 @ 0x1227
0x1207 30 edx = r9d
0x120a 31 esi = 0
0x120c 32 edi = 0
0x120e 33 goto 56 @ 0x1210
0x11cb 34 esi = esi
0x11cd 35 eax = edx
0x11cf 36 eax = not.d(eax)
0x11d1 37 eax = eax + r9d
0x11d6 38 if (eax s<= 0) then 59 @ 0x11c0 else 62 @ 0x11d8
0x1227 39 esi = [rsp + 0x10 {var_4c8}].d
0x122b 40 rax = sx.q(r8d)
0x122e 41 edx = [rsp + (rax << 2) + 0x10].d
0x1232 42 xmm1.q = float.d(r9d)
0x1237 43 xmm0.q = xmm0.q f/ xmm1.q
0x123b 44 xmm2.q = float.d(esi)
0x123f 45 xmm1 = 0
0x1242 46 xmm1.q = float.d(edx)
0x1246 47 xmm1.q = xmm1.q f- xmm0.q
0x124a 48 xmm0.q = xmm0.q f- xmm2.q
0x124e 49 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x124e 50 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x124e 51 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x124e 52 flag:s = 0
0x124e 53 flag:o = 0
0x124e 54 flag:a = 0
0x1252 55 if (flag:z || flag:c) then 64 @ 0x125d else 71 @ 0x1254
0x1210 56 edi = edi + [rsp + (rsi << 2) + 0x10].d
0x1214 57 rsi = rsi + 1
0x121b 58 if (rdx != rsi) then 56 @ 0x1210 else 73 @ 0x121d
0x11c0 59 edx = edx + 1
0x11c3 60 esi = esi - 1
0x11c9 61 if (edx == r8d) then 16 @ 0x1205 else 34 @ 0x11cb
0x11d8 62 edi = 0
0x11da 63 goto 75 @ 0x11e8
0x125d 64 flag:p = is_unordered.q(xmm1.q, xmm0.q)
0x125d 65 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x125d 66 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x125d 67 flag:s = 0
0x125d 68 flag:o = 0
0x125d 69 flag:a = 0
0x1261 70 if (not(flag:z)) then 79 @ 0x1275 else 82 @ 0x1263
0x1254 71 rdi = 0x2007 {"%d"}
0x125b 72 goto 83 @ 0x127e
0x121d 73 xmm0.q = float.d(edi)
0x1221 74 goto 39 @ 0x1227
0x11e8 75 ecx = [rsp + (rdi << 2) + 0x10].d
0x11ec 76 eax = [rsp + (rdi << 2) + 0x14].d
0x11f0 77 rbx = rdi + 1
0x11f6 78 if (ecx s<= eax) then 86 @ 0x11e0 else 88 @ 0x11f8
0x1275 79 rdi = 0x2007 {"%d"}
0x127c 80 esi = edx
0x127c 81 goto 83 @ 0x127e
0x1263 82 if (flag:p) then 79 @ 0x1275 else 91 @ 0x1265
0x127e 83 eax = 0
0x1280 84 call(0x1030)
0x1280 85 goto 95 @ 0x1285
0x11e0 86 rdi = rbx
0x11e6 87 if (rsi == rbx) then 59 @ 0x11c0 else 75 @ 0x11e8
0x11f8 88 [rsp + (rdi << 2) + 0x10].d = eax
0x11fc 89 [rsp + (rdi << 2) + 0x14].d = ecx
0x1200 90 goto 86 @ 0x11e0
0x1265 91 rdi = 0x2004 {"%d,%d"}
0x126c 92 eax = 0
0x126e 93 call(0x1030)
0x1273 94 goto 95 @ 0x1285
0x1285 95 eax = 0
0x1287 96 rsp = rsp + 0x4c0
0x128e 97 rbx = pop
0x128f 98 r14 = pop
0x1291 99 r15 = pop
0x1293 100 <return> jump(pop)
int64_t _fini():
0x1298 0 rsp = rsp - 8
0x129c 1 rsp = rsp + 8
0x12a0 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)
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 [rbp - 0x18 {var_20}].d = 0
0x1166 5 rdi = 0x2004 {"%d %d %d"}
0x116d 6 rsi = rbp - 8 {var_10}
0x1171 7 rdx = rbp - 0xc {var_14}
0x1175 8 rcx = rbp - 0x10 {var_18}
0x1179 9 al = 0
0x117b 10 call(0x1040)
0x1180 11 eax = [rbp - 8 {var_10}].d
0x1183 12 eax = eax - 1
0x1186 13 ecx = 0x190 {""}
0x118b 14 temp2.d:temp3.d = sx.q(eax)
0x118b 15 edx = temp2.d
0x118b 16 eax = temp3.d
0x118c 17 temp4.d = edx
0x118c 18 temp5.d = eax
0x118c 19 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x118c 20 temp6.d = edx
0x118c 21 temp7.d = eax
0x118c 22 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x118c 23 eax = temp0.d
0x118c 24 edx = temp1.d
0x118e 25 edx = edx + 1
0x1191 26 [rbp - 0x1c {var_24}].d = edx
0x1194 27 [rbp - 0x14 {var_1c}].d = 1
0x1194 28 goto 29 @ 0x119b
0x119b 29 eax = [rbp - 0x14 {var_1c}].d
0x11a1 30 if (eax s>= [rbp - 0x1c {var_24}].d) then 31 @ 0x120d else 33 @ 0x11a7
0x120d 31 [rbp - 0x14 {var_1c_1}].d = 1
0x120d 32 goto 47 @ 0x1214
0x11a7 33 eax = [rbp - 0x14 {var_1c}].d
0x11aa 34 ecx = 4
0x11af 35 temp8.d:temp9.d = sx.q(eax)
0x11af 36 edx = temp8.d
0x11af 37 eax = temp9.d
0x11b0 38 temp10.d = edx
0x11b0 39 temp11.d = eax
0x11b0 40 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx)
0x11b0 41 temp12.d = edx
0x11b0 42 temp13.d = eax
0x11b0 43 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx)
0x11b0 44 eax = temp0.d
0x11b0 45 edx = temp1.d
0x11b5 46 if (edx != 0) then 49 @ 0x11cf else 63 @ 0x11bb
0x1214 47 eax = [rbp - 0x14 {var_1c_1}].d
0x121a 48 if (eax s>= [rbp - 0xc {var_14}].d) then 77 @ 0x1307 else 94 @ 0x1224
0x11cf 49 eax = [rbp - 0x14 {var_1c}].d
0x11d2 50 ecx = 0x190 {""}
0x11d7 51 temp14.d:temp15.d = sx.q(eax)
0x11d7 52 edx = temp14.d
0x11d7 53 eax = temp15.d
0x11d8 54 temp16.d = edx
0x11d8 55 temp17.d = eax
0x11d8 56 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx)
0x11d8 57 temp18.d = edx
0x11d8 58 temp19.d = eax
0x11d8 59 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx)
0x11d8 60 eax = temp0.d
0x11d8 61 edx = temp1.d
0x11dd 62 if (edx != 0) then 95 @ 0x11f1 else 99 @ 0x11e3
0x11bb 63 eax = [rbp - 0x14 {var_1c}].d
0x11be 64 ecx = 0x64 {""}
0x11c3 65 temp20.d:temp21.d = sx.q(eax)
0x11c3 66 edx = temp20.d
0x11c3 67 eax = temp21.d
0x11c4 68 temp22.d = edx
0x11c4 69 temp23.d = eax
0x11c4 70 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx)
0x11c4 71 temp24.d = edx
0x11c4 72 temp25.d = eax
0x11c4 73 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx)
0x11c4 74 eax = temp0.d
0x11c4 75 edx = temp1.d
0x11c9 76 if (edx != 0) then 99 @ 0x11e3 else 49 @ 0x11cf
0x1307 77 eax = [rbp - 0x10 {var_18}].d
0x130a 78 eax = eax + [rbp - 0x18 {var_20}].d
0x130d 79 [rbp - 0x18 {var_20_1}].d = eax
0x1310 80 eax = [rbp - 0x18 {var_20_1}].d
0x1313 81 ecx = 7
0x1318 82 temp26.d:temp27.d = sx.q(eax)
0x1318 83 edx = temp26.d
0x1318 84 eax = temp27.d
0x1319 85 temp28.d = edx
0x1319 86 temp29.d = eax
0x1319 87 temp0.d = divs.dp.d(temp28.d:temp29.d, ecx)
0x1319 88 temp30.d = edx
0x1319 89 temp31.d = eax
0x1319 90 temp1.d = mods.dp.d(temp30.d:temp31.d, ecx)
0x1319 91 eax = temp0.d
0x1319 92 edx = temp1.d
0x131e 93 if (edx != 0) then 103 @ 0x1332 else 117 @ 0x1324
0x1224 94 if ([rbp - 0x14 {var_1c_1}].d == 1) then 121 @ 0x1266 else 125 @ 0x122e
0x11f1 95 eax = [rbp - 0x18 {var_20}].d
0x11f4 96 eax = eax + 1
0x11f7 97 [rbp - 0x18 {var_20}].d = eax
0x11f7 98 goto 126 @ 0x11fa
0x11e3 99 eax = [rbp - 0x18 {var_20}].d
0x11e6 100 eax = eax + 2
0x11e9 101 [rbp - 0x18 {var_20}].d = eax
0x11ec 102 goto 126 @ 0x11fa
0x1332 103 eax = [rbp - 0x18 {var_20_1}].d
0x1335 104 ecx = 7
0x133a 105 temp32.d:temp33.d = sx.q(eax)
0x133a 106 edx = temp32.d
0x133a 107 eax = temp33.d
0x133b 108 temp34.d = edx
0x133b 109 temp35.d = eax
0x133b 110 temp0.d = divs.dp.d(temp34.d:temp35.d, ecx)
0x133b 111 temp36.d = edx
0x133b 112 temp37.d = eax
0x133b 113 temp1.d = mods.dp.d(temp36.d:temp37.d, ecx)
0x133b 114 eax = temp0.d
0x133b 115 edx = temp1.d
0x1340 116 if (edx != 1) then 127 @ 0x1354 else 141 @ 0x1346
0x1324 117 rdi = 0x200d {"Sun."}
0x132b 118 al = 0
0x132d 119 call(0x1030)
0x132d 120 goto 103 @ 0x1332
0x1266 121 eax = [rbp - 0x18 {var_20}].d
0x1269 122 eax = eax + 3
0x126c 123 [rbp - 0x18 {var_20}].d = eax
0x126c 124 goto 145 @ 0x1273
0x122e 125 if ([rbp - 0x14 {var_1c_1}].d == 3) then 121 @ 0x1266 else 146 @ 0x1238
0x11fa 126 goto 147 @ 0x11ff
0x1354 127 eax = [rbp - 0x18 {var_20_1}].d
0x1357 128 ecx = 7
0x135c 129 temp38.d:temp39.d = sx.q(eax)
0x135c 130 edx = temp38.d
0x135c 131 eax = temp39.d
0x135d 132 temp40.d = edx
0x135d 133 temp41.d = eax
0x135d 134 temp0.d = divs.dp.d(temp40.d:temp41.d, ecx)
0x135d 135 temp42.d = edx
0x135d 136 temp43.d = eax
0x135d 137 temp1.d = mods.dp.d(temp42.d:temp43.d, ecx)
0x135d 138 eax = temp0.d
0x135d 139 edx = temp1.d
0x1362 140 if (edx != 2) then 151 @ 0x1376 else 165 @ 0x1368
0x1346 141 rdi = 0x2012 {"Mon."}
0x134d 142 al = 0
0x134f 143 call(0x1030)
0x134f 144 goto 127 @ 0x1354
0x1273 145 if ([rbp - 0x14 {var_1c_1}].d == 4) then 169 @ 0x1297 else 173 @ 0x127d
0x1238 146 if ([rbp - 0x14 {var_1c_1}].d == 5) then 121 @ 0x1266 else 174 @ 0x1242
0x11ff 147 eax = [rbp - 0x14 {var_1c}].d
0x1202 148 eax = eax + 1
0x1205 149 [rbp - 0x14 {var_1c}].d = eax
0x1208 150 goto 29 @ 0x119b
0x1376 151 eax = [rbp - 0x18 {var_20_1}].d
0x1379 152 ecx = 7
0x137e 153 temp44.d:temp45.d = sx.q(eax)
0x137e 154 edx = temp44.d
0x137e 155 eax = temp45.d
0x137f 156 temp46.d = edx
0x137f 157 temp47.d = eax
0x137f 158 temp0.d = divs.dp.d(temp46.d:temp47.d, ecx)
0x137f 159 temp48.d = edx
0x137f 160 temp49.d = eax
0x137f 161 temp1.d = mods.dp.d(temp48.d:temp49.d, ecx)
0x137f 162 eax = temp0.d
0x137f 163 edx = temp1.d
0x1384 164 if (edx != 3) then 175 @ 0x1398 else 189 @ 0x138a
0x1368 165 rdi = 0x2017 {"Tue."}
0x136f 166 al = 0
0x1371 167 call(0x1030)
0x1371 168 goto 151 @ 0x1376
0x1297 169 eax = [rbp - 0x18 {var_20}].d
0x129a 170 eax = eax + 2
0x129d 171 [rbp - 0x18 {var_20}].d = eax
0x129d 172 goto 193 @ 0x12a4
0x127d 173 if ([rbp - 0x14 {var_1c_1}].d == 6) then 169 @ 0x1297 else 194 @ 0x1287
0x1242 174 if ([rbp - 0x14 {var_1c_1}].d == 7) then 121 @ 0x1266 else 195 @ 0x124c
0x1398 175 eax = [rbp - 0x18 {var_20_1}].d
0x139b 176 ecx = 7
0x13a0 177 temp50.d:temp51.d = sx.q(eax)
0x13a0 178 edx = temp50.d
0x13a0 179 eax = temp51.d
0x13a1 180 temp52.d = edx
0x13a1 181 temp53.d = eax
0x13a1 182 temp0.d = divs.dp.d(temp52.d:temp53.d, ecx)
0x13a1 183 temp54.d = edx
0x13a1 184 temp55.d = eax
0x13a1 185 temp1.d = mods.dp.d(temp54.d:temp55.d, ecx)
0x13a1 186 eax = temp0.d
0x13a1 187 edx = temp1.d
0x13a6 188 if (edx != 4) then 196 @ 0x13ba else 210 @ 0x13ac
0x138a 189 rdi = 0x201c {"Wed."}
0x1391 190 al = 0
0x1393 191 call(0x1030)
0x1393 192 goto 175 @ 0x1398
0x12a4 193 if ([rbp - 0x14 {var_1c_1}].d != 2) then 214 @ 0x12f4 else 215 @ 0x12aa
0x1287 194 if ([rbp - 0x14 {var_1c_1}].d == 9) then 169 @ 0x1297 else 229 @ 0x1291
0x124c 195 if ([rbp - 0x14 {var_1c_1}].d == 8) then 121 @ 0x1266 else 230 @ 0x1256
0x13ba 196 eax = [rbp - 0x18 {var_20_1}].d
0x13bd 197 ecx = 7
0x13c2 198 temp56.d:temp57.d = sx.q(eax)
0x13c2 199 edx = temp56.d
0x13c2 200 eax = temp57.d
0x13c3 201 temp58.d = edx
0x13c3 202 temp59.d = eax
0x13c3 203 temp0.d = divs.dp.d(temp58.d:temp59.d, ecx)
0x13c3 204 temp60.d = edx
0x13c3 205 temp61.d = eax
0x13c3 206 temp1.d = mods.dp.d(temp60.d:temp61.d, ecx)
0x13c3 207 eax = temp0.d
0x13c3 208 edx = temp1.d
0x13c8 209 if (edx != 5) then 231 @ 0x13dc else 245 @ 0x13ce
0x13ac 210 rdi = 0x2021 {"Thu."}
0x13b3 211 al = 0
0x13b5 212 call(0x1030)
0x13b5 213 goto 196 @ 0x13ba
0x12f4 214 goto 249 @ 0x12f9
0x12aa 215 eax = [rbp - 8 {var_10}].d
0x12ad 216 ecx = 4
0x12b2 217 temp62.d:temp63.d = sx.q(eax)
0x12b2 218 edx = temp62.d
0x12b2 219 eax = temp63.d
0x12b3 220 temp64.d = edx
0x12b3 221 temp65.d = eax
0x12b3 222 temp0.d = divs.dp.d(temp64.d:temp65.d, ecx)
0x12b3 223 temp66.d = edx
0x12b3 224 temp67.d = eax
0x12b3 225 temp1.d = mods.dp.d(temp66.d:temp67.d, ecx)
0x12b3 226 eax = temp0.d
0x12b3 227 edx = temp1.d
0x12b8 228 if (edx != 0) then 253 @ 0x12d2 else 267 @ 0x12be
0x1291 229 if ([rbp - 0x14 {var_1c_1}].d != 0xb) then 193 @ 0x12a4 else 169 @ 0x1297
0x1256 230 if ([rbp - 0x14 {var_1c_1}].d == 0xa) then 121 @ 0x1266 else 281 @ 0x1260
0x13dc 231 eax = [rbp - 0x18 {var_20_1}].d
0x13df 232 ecx = 7
0x13e4 233 temp68.d:temp69.d = sx.q(eax)
0x13e4 234 edx = temp68.d
0x13e4 235 eax = temp69.d
0x13e5 236 temp70.d = edx
0x13e5 237 temp71.d = eax
0x13e5 238 temp0.d = divs.dp.d(temp70.d:temp71.d, ecx)
0x13e5 239 temp72.d = edx
0x13e5 240 temp73.d = eax
0x13e5 241 temp1.d = mods.dp.d(temp72.d:temp73.d, ecx)
0x13e5 242 eax = temp0.d
0x13e5 243 edx = temp1.d
0x13ea 244 if (edx != 6) then 282 @ 0x13fe else 286 @ 0x13f0
0x13ce 245 rdi = 0x2026 {"Fri."}
0x13d5 246 al = 0
0x13d7 247 call(0x1030)
0x13d7 248 goto 231 @ 0x13dc
0x12f9 249 eax = [rbp - 0x14 {var_1c_1}].d
0x12fc 250 eax = eax + 1
0x12ff 251 [rbp - 0x14 {var_1c_1}].d = eax
0x1302 252 goto 47 @ 0x1214
0x12d2 253 eax = [rbp - 8 {var_10}].d
0x12d5 254 ecx = 0x190 {""}
0x12da 255 temp74.d:temp75.d = sx.q(eax)
0x12da 256 edx = temp74.d
0x12da 257 eax = temp75.d
0x12db 258 temp76.d = edx
0x12db 259 temp77.d = eax
0x12db 260 temp0.d = divs.dp.d(temp76.d:temp77.d, ecx)
0x12db 261 temp78.d = edx
0x12db 262 temp79.d = eax
0x12db 263 temp1.d = mods.dp.d(temp78.d:temp79.d, ecx)
0x12db 264 eax = temp0.d
0x12db 265 edx = temp1.d
0x12e0 266 if (edx != 0) then 290 @ 0x12ef else 291 @ 0x12e6
0x12be 267 eax = [rbp - 8 {var_10}].d
0x12c1 268 ecx = 0x64 {""}
0x12c6 269 temp80.d:temp81.d = sx.q(eax)
0x12c6 270 edx = temp80.d
0x12c6 271 eax = temp81.d
0x12c7 272 temp82.d = edx
0x12c7 273 temp83.d = eax
0x12c7 274 temp0.d = divs.dp.d(temp82.d:temp83.d, ecx)
0x12c7 275 temp84.d = edx
0x12c7 276 temp85.d = eax
0x12c7 277 temp1.d = mods.dp.d(temp84.d:temp85.d, ecx)
0x12c7 278 eax = temp0.d
0x12c7 279 edx = temp1.d
0x12cc 280 if (edx != 0) then 291 @ 0x12e6 else 253 @ 0x12d2
0x1260 281 if ([rbp - 0x14 {var_1c_1}].d != 0xc) then 145 @ 0x1273 else 121 @ 0x1266
0x13fe 282 eax = 0
0x1400 283 rsp = rsp + 0x20
0x1404 284 rbp = pop
0x1405 285 <return> jump(pop)
0x13f0 286 rdi = 0x202b {"Sat."}
0x13f7 287 al = 0
0x13f9 288 call(0x1030)
0x13f9 289 goto 282 @ 0x13fe
0x12ef 290 goto 214 @ 0x12f4
0x12e6 291 eax = [rbp - 0x18 {var_20}].d
0x12e9 292 eax = eax + 1
0x12ec 293 [rbp - 0x18 {var_20}].d = eax
0x12ec 294 goto 290 @ 0x12ef
int64_t _fini():
0x140c 0 rsp = rsp - 8
0x1410 1 rsp = rsp + 8
0x1414 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)
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 - 0x120
0x116b 3 [rbp - 4 {var_c}].d = 0
0x1172 4 rdi = 0x2004 {"%d\n"}
0x1179 5 rsi = rbp - 8 {var_10}
0x117d 6 al = 0
0x117f 7 call(0x1050)
0x1184 8 [rbp - 0xc {var_14}].d = 0
0x1184 9 goto 10 @ 0x118b
0x118b 10 eax = [rbp - 0xc {var_14}].d
0x1191 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x1306 else 16 @ 0x1197
0x1306 12 eax = 0
0x1308 13 rsp = rsp + 0x120
0x130f 14 rbp = pop
0x1310 15 <return> jump(pop)
0x1197 16 rsi = rbp - 0x120 {var_128}
0x119e 17 rdi = 0x2008 {"%s"}
0x11a5 18 al = 0
0x11a7 19 call(0x1050)
0x11ac 20 rdi = rbp - 0x120 {var_128}
0x11b3 21 call(0x1040)
0x11b8 22 [rbp - 0x10 {var_18_1}].d = eax
0x11bb 23 [rbp - 0x14 {var_1c_1}].d = 0
0x11bb 24 goto 25 @ 0x11c2
0x11c2 25 eax = [rbp - 0x14 {var_1c_1}].d
0x11c8 26 if (eax s>= [rbp - 0x10 {var_18_1}].d) then 27 @ 0x1283 else 29 @ 0x11ce
0x1283 27 [rbp - 0x14 {var_1c_2}].d = 0
0x1283 28 goto 32 @ 0x128a
0x11ce 29 rax = sx.q([rbp - 0x14 {var_1c_1}].d)
0x11d2 30 eax = sx.d([rbp + rax - 0x120].b)
0x11dd 31 if (eax != 0x41) then 34 @ 0x11f4 else 37 @ 0x11e3
0x128a 32 eax = [rbp - 0x14 {var_1c_2}].d
0x1290 33 if (eax s>= [rbp - 0x10 {var_18_1}].d) then 40 @ 0x12f3 else 41 @ 0x1296
0x11f4 34 rax = sx.q([rbp - 0x14 {var_1c_1}].d)
0x11f8 35 eax = sx.d([rbp + rax - 0x120].b)
0x1203 36 if (eax != 0x54) then 45 @ 0x121a else 48 @ 0x1209
0x11e3 37 rax = sx.q([rbp - 0x14 {var_1c_1}].d)
0x11e7 38 [rbp + rax - 0x120].b = 0x54 {""}
0x11ef 39 goto 51 @ 0x1270
0x12f3 40 goto 52 @ 0x12f8
0x1296 41 eax = [rbp - 0x14 {var_1c_2}].d
0x1299 42 ecx = [rbp - 0x10 {var_18_1}].d
0x129c 43 ecx = ecx - 1
0x12a1 44 if (eax != ecx) then 56 @ 0x12c6 else 62 @ 0x12a7
0x121a 45 rax = sx.q([rbp - 0x14 {var_1c_1}].d)
0x121e 46 eax = sx.d([rbp + rax - 0x120].b)
0x1229 47 if (eax != 0x43) then 68 @ 0x1240 else 71 @ 0x122f
0x1209 48 rax = sx.q([rbp - 0x14 {var_1c_1}].d)
0x120d 49 [rbp + rax - 0x120].b = 0x41 {""}
0x1215 50 goto 74 @ 0x126b
0x1270 51 goto 75 @ 0x1275
0x12f8 52 eax = [rbp - 0xc {var_14}].d
0x12fb 53 eax = eax + 1
0x12fe 54 [rbp - 0xc {var_14}].d = eax
0x1301 55 goto 10 @ 0x118b
0x12c6 56 rax = sx.q([rbp - 0x14 {var_1c_2}].d)
0x12ca 57 esi = sx.d([rbp + rax - 0x120].b)
0x12d2 58 rdi = 0x200f {"%c"}
0x12d9 59 al = 0
0x12db 60 call(0x1030)
0x12db 61 goto 79 @ 0x12e0
0x12a7 62 rax = sx.q([rbp - 0x14 {var_1c_2}].d)
0x12ab 63 esi = sx.d([rbp + rax - 0x120].b)
0x12b3 64 rdi = 0x200b {"%c\n"}
0x12ba 65 al = 0
0x12bc 66 call(0x1030)
0x12c1 67 goto 79 @ 0x12e0
0x1240 68 rax = sx.q([rbp - 0x14 {var_1c_1}].d)
0x1244 69 eax = sx.d([rbp + rax - 0x120].b)
0x124f 70 if (eax != 0x47) then 80 @ 0x1261 else 81 @ 0x1255
0x122f 71 rax = sx.q([rbp - 0x14 {var_1c_1}].d)
0x1233 72 [rbp + rax - 0x120].b = 0x47 {""}
0x123b 73 goto 84 @ 0x1266
0x126b 74 goto 51 @ 0x1270
0x1275 75 eax = [rbp - 0x14 {var_1c_1}].d
0x1278 76 eax = eax + 1
0x127b 77 [rbp - 0x14 {var_1c_1}].d = eax
0x127e 78 goto 25 @ 0x11c2
0x12e0 79 goto 85 @ 0x12e5
0x1261 80 goto 84 @ 0x1266
0x1255 81 rax = sx.q([rbp - 0x14 {var_1c_1}].d)
0x1259 82 [rbp + rax - 0x120].b = 0x43 {""}
0x1259 83 goto 80 @ 0x1261
0x1266 84 goto 74 @ 0x126b
0x12e5 85 eax = [rbp - 0x14 {var_1c_2}].d
0x12e8 86 eax = eax + 1
0x12eb 87 [rbp - 0x14 {var_1c_2}].d = eax
0x12ee 88 goto 32 @ 0x128a
int64_t _fini():
0x1318 0 rsp = rsp - 8
0x131c 1 rsp = rsp + 8
0x1320 2 <return> jump(pop)
| POJ_33 |
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 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 {"AWAVAUATSH0"}
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(r13)
0x1176 3 push(r12)
0x1178 4 push(rbx)
0x1179 5 rsp = rsp - 0x330
0x1180 6 rdi = 0x2004 {"%s%s%s"}
0x1187 7 rbx = rsp {var_358}
0x118a 8 r15 = rsp + 0x220 {var_138}
0x1192 9 rcx = rsp + 0x110 {var_248}
0x119a 10 rsi = rbx {var_358}
0x119d 11 rdx = r15 {var_138}
0x11a0 12 eax = 0
0x11a2 13 call(0x1050)
0x11a7 14 rdi = rbx {var_358}
0x11aa 15 call(0x1040)
0x11af 16 r14 = rax
0x11b2 17 rdi = r15 {var_138}
0x11b5 18 call(0x1040)
0x11bd 19 if (r14d s<= 0) then 20 @ 0x1294 else 25 @ 0x11c3
0x1294 20 rdi = 0x2008 {"%s"}
0x129b 21 rsi = rsp {var_358}
0x129e 22 eax = 0
0x12a0 23 call(0x1030)
0x12a0 24 goto 32 @ 0x12a5
0x11c3 25 r15 = rax
0x11c6 26 r12 = sx.q(r14d)
0x11c9 27 r8d = r12d
0x11cc 28 ecx = r15d
0x11cf 29 dl = 1
0x11d1 30 r13d = 0
0x11de 31 goto 40 @ 0x11e3
0x12a5 32 eax = 0
0x12a7 33 rsp = rsp + 0x330
0x12ae 34 rbx = pop
0x12af 35 r12 = pop
0x12b1 36 r13 = pop
0x12b3 37 r14 = pop
0x12b5 38 r15 = pop
0x12b7 39 <return> jump(pop)
0x11e3 40 if (r15d s<= 0) then 41 @ 0x1215 else 42 @ 0x11e5
0x1215 41 if (esi == r15d) then 45 @ 0x122f else 46 @ 0x1217
0x11e5 42 esi = esi + r15d
0x11e8 43 edi = 0
0x11ea 44 goto 50 @ 0x11f0
0x122f 45 if ((dl & 1) == 0) then 20 @ 0x1294 else 52 @ 0x1234
0x1217 46 r13 = r13 + 1
0x121e 47 dl = r13 s< r12
0x1221 48 rbx = rbx + 1
0x1228 49 if (r13 != r8) then 40 @ 0x11e3 else 53 @ 0x122a
0x11f0 50 eax = zx.d([rsp + rdi + 0x220].b)
0x11fb 51 if (al != [rbx + rdi].b) then 54 @ 0x1210 else 56 @ 0x11fd
0x1234 52 if (r13d == 0) then 58 @ 0x1252 else 64 @ 0x1236
0x122a 53 goto 20 @ 0x1294
0x1210 54 esi = 0
0x1210 55 goto 41 @ 0x1215
0x11fd 56 rdi = rdi + 1
0x1204 57 if (rcx != rdi) then 50 @ 0x11f0 else 66 @ 0x1206
0x1252 58 rdi = 0x2008 {"%s"}
0x1259 59 rsi = rsp + 0x110 {var_248}
0x1261 60 eax = 0
0x1263 61 call(0x1030)
0x1268 62 r15d = r15d + r13d
0x126e 63 if (r15d s>= r14d) then 32 @ 0x12a5 else 67 @ 0x1270
0x1236 64 ebx = 0
0x1238 65 goto 69 @ 0x1240
0x1206 66 goto 41 @ 0x1215
0x1270 67 rbx = sx.q(r15d)
0x127d 68 goto 73 @ 0x1280
0x1240 69 edi = sx.d([rsp + rbx].b)
0x1244 70 call(0x1060)
0x1249 71 rbx = rbx + 1
0x1250 72 if (r13 != rbx) then 69 @ 0x1240 else 58 @ 0x1252
0x1280 73 edi = sx.d([rsp + rbx].b)
0x1284 74 call(0x1060)
0x1289 75 rbx = rbx + 1
0x1290 76 if (rbx s< r12) then 73 @ 0x1280 else 77 @ 0x1292
0x1292 77 goto 32 @ 0x12a5
int64_t _fini():
0x12bc 0 rsp = rsp - 8
0x12c0 1 rsp = rsp + 8
0x12c4 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 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* strcpy(char* arg1, char const* arg2):
0x1050 0 <return> tailcall([0x4028].q)
int32_t scanf(char const* format, ...):
0x1060 0 <return> tailcall([0x4030].q)
char* gets(char* buf):
0x1070 0 <return> tailcall([0x4038].q)
int32_t strcmp(char const* arg1, char const* arg2):
0x1080 0 <return> tailcall([0x4040].q)
int32_t puts(char const* str):
0x1090 0 <return> tailcall([0x4048].q)
void __cxa_finalize(void* d):
0x10a0 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x10b4 0 ebp = 0
0x10b6 1 r9 = rdx
0x10b9 2 rsi = pop
0x10ba 3 rdx = rsp {arg_8}
0x10bd 4 rsp = rsp & 0xfffffffffffffff0
0x10c1 5 push(rax)
0x10c2 6 push(rsp)
0x10c3 7 r8d = 0
0x10c6 8 ecx = 0
0x10c8 9 rdi = 0x11a0 {"UHH"}
0x10cf 10 call([0x3ff8].q)
0x10cf 11 noreturn
void deregister_tm_clones():
0x10e0 0 rdi = 0x4060 {""}
0x10e7 1 rax = 0x4060 {""}
0x10f1 2 if (rax == rdi) then 3 @ 0x1108 else 4 @ 0x10f3
0x1108 3 <return> jump(pop)
0x10f3 4 rax = [0x3fd8].q
0x10fd 5 if (rax == 0) then 3 @ 0x1108 else 6 @ 0x10ff
0x10ff 6 <return> tailcall(rax)
void register_tm_clones():
0x1110 0 rdi = 0x4060 {""}
0x1117 1 rsi = 0x4060 {""}
0x111e 2 rsi = rsi - rdi
0x1121 3 rax = rsi
0x1124 4 rsi = rsi u>> 0x3f
0x1128 5 rax = rax s>> 3
0x112c 6 rsi = rsi + rax
0x112f 7 rsi = rsi s>> 1
0x1132 8 if (rsi == 0) then 9 @ 0x1148 else 10 @ 0x1134
0x1148 9 <return> jump(pop)
0x1134 10 rax = [0x3ff0].q
0x113e 11 if (rax == 0) then 9 @ 0x1148 else 12 @ 0x1140
0x1140 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x115b 0 if ([0x4060].b != 0) then 1 @ 0x1188 else 2 @ 0x115d
0x1188 1 <return> jump(pop)
0x115d 2 push(rbp)
0x115e 3 cond:0 = [0x3fe0].q == 0
0x1166 4 rbp = rsp {__saved_rbp}
0x1169 5 if (cond:0) then 6 @ 0x1177 else 10 @ 0x116b
0x1177 6 call(0x10e0)
0x117c 7 [0x4060].b = 1
0x1183 8 rbp = pop
0x1184 9 <return> jump(pop)
0x116b 10 rdi = [0x4058].q
0x1172 11 call(0x10a0)
0x1172 12 goto 6 @ 0x1177
int64_t frame_dummy():
0x1194 0 <return> tailcall(0x1110)
int32_t main(int32_t argc, char** argv, char** envp):
0x11a0 0 push(rbp)
0x11a1 1 rbp = rsp {__saved_rbp}
0x11a4 2 rsp = rsp - 0x15d0
0x11ab 3 rdi = 0x2004 {"%d\n"}
0x11b2 4 rsi = rbp - 0xdd4 {var_ddc}
0x11b9 5 al = 0
0x11bb 6 call(0x1060)
0x11c0 7 rdi = rbp - 0x200 {var_208}
0x11c7 8 al = 0
0x11c9 9 call(0x1070)
0x11ce 10 rdi = rbp - 0x200 {var_208}
0x11d5 11 call(0x1040)
0x11da 12 [rbp - 0xdf0 {var_df8}].d = eax
0x11e0 13 [rbp - 0xdd8 {var_de0}].d = 0
0x11e0 14 goto 15 @ 0x11ea
0x11ea 15 eax = [rbp - 0xdd8 {var_de0}].d
0x11f0 16 ecx = [rbp - 0xdf0 {var_df8}].d
0x11f6 17 ecx = ecx - [rbp - 0xdd4 {var_ddc}].d
0x11fc 18 ecx = ecx + 1
0x1201 19 if (eax s>= ecx) then 20 @ 0x1296 else 22 @ 0x1207
0x1296 20 [rbp - 0xdd8 {var_de0_1}].d = 0
0x1296 21 goto 26 @ 0x12a0
0x1207 22 rax = sx.q([rbp - 0xdd8 {var_de0}].d)
0x120e 23 [rbp + (rax << 2) - 0x15d0].d = 1
0x1219 24 [rbp - 0xdf4 {var_dfc_1}].d = 0
0x1219 25 goto 31 @ 0x1223
0x12a0 26 eax = [rbp - 0xdd8 {var_de0_1}].d
0x12a6 27 ecx = [rbp - 0xdf0 {var_df8}].d
0x12ac 28 ecx = ecx - [rbp - 0xdd4 {var_ddc}].d
0x12b2 29 ecx = ecx + 1
0x12b7 30 if (eax s>= ecx) then 33 @ 0x12f1 else 35 @ 0x12bd
0x1223 31 eax = [rbp - 0xdf4 {var_dfc_1}].d
0x122f 32 if (eax s>= [rbp - 0xdd4 {var_ddc}].d) then 45 @ 0x127d else 46 @ 0x1235
0x12f1 33 [rbp - 0xdd8 {var_de0_2}].d = 0
0x12f1 34 goto 60 @ 0x12fb
0x12bd 35 rcx = sx.q([rbp - 0xdd8 {var_de0_1}].d)
0x12c4 36 rax = rbp - 0xbd0 {var_bd8}
0x12cb 37 rcx = rcx * 5
0x12cf 38 rax = rax + rcx
0x12d2 39 rcx = sx.q([rbp - 0xdd4 {var_ddc}].d)
0x12d9 40 [rax + rcx].b = 0
0x12dd 41 eax = [rbp - 0xdd8 {var_de0_1}].d
0x12e3 42 eax = eax + 1
0x12e6 43 [rbp - 0xdd8 {var_de0_1}].d = eax
0x12ec 44 goto 26 @ 0x12a0
0x127d 45 goto 64 @ 0x1282
0x1235 46 eax = [rbp - 0xdd8 {var_de0}].d
0x123b 47 eax = eax + [rbp - 0xdf4 {var_dfc_1}].d
0x1241 48 rax = sx.q(eax)
0x1243 49 dl = [rbp + rax - 0x200].b
0x124a 50 rcx = sx.q([rbp - 0xdd8 {var_de0}].d)
0x1251 51 rax = rbp - 0xbd0 {var_bd8}
0x1258 52 rcx = rcx * 5
0x125c 53 rax = rax + rcx
0x125f 54 rcx = sx.q([rbp - 0xdf4 {var_dfc_1}].d)
0x1266 55 [rax + rcx].b = dl
0x1269 56 eax = [rbp - 0xdf4 {var_dfc_1}].d
0x126f 57 eax = eax + 1
0x1272 58 [rbp - 0xdf4 {var_dfc_1}].d = eax
0x1278 59 goto 31 @ 0x1223
0x12fb 60 eax = [rbp - 0xdd8 {var_de0_2}].d
0x1301 61 ecx = [rbp - 0xdf0 {var_df8}].d
0x1307 62 ecx = ecx - [rbp - 0xdd4 {var_ddc}].d
0x130f 63 if (eax s>= ecx) then 68 @ 0x13c3 else 70 @ 0x1315
0x1282 64 eax = [rbp - 0xdd8 {var_de0}].d
0x1288 65 eax = eax + 1
0x128b 66 [rbp - 0xdd8 {var_de0}].d = eax
0x1291 67 goto 15 @ 0x11ea
0x13c3 68 [rbp - 0xdd8 {var_de0_3}].d = 0
0x13c3 69 goto 74 @ 0x13cd
0x1315 70 eax = [rbp - 0xdd8 {var_de0_2}].d
0x131b 71 eax = eax + 1
0x131e 72 [rbp - 0xdf4 {var_dfc_2}].d = eax
0x131e 73 goto 78 @ 0x1324
0x13cd 74 eax = [rbp - 0xdd8 {var_de0_3}].d
0x13d3 75 ecx = [rbp - 0xdf0 {var_df8}].d
0x13d9 76 ecx = ecx - [rbp - 0xdd4 {var_ddc}].d
0x13e1 77 if (eax s>= ecx) then 83 @ 0x1536 else 84 @ 0x13e7
0x1324 78 eax = [rbp - 0xdf4 {var_dfc_2}].d
0x132a 79 ecx = [rbp - 0xdf0 {var_df8}].d
0x1330 80 ecx = ecx - [rbp - 0xdd4 {var_ddc}].d
0x1336 81 ecx = ecx + 1
0x133b 82 if (eax s>= ecx) then 86 @ 0x13aa else 87 @ 0x1341
0x1536 83 if ([rbp - 0x15d0 {var_15d8}].d != 1) then 97 @ 0x154f else 103 @ 0x153c
0x13e7 84 [rbp - 0xdf4 {var_dfc_3}].d = 0
0x13e7 85 goto 107 @ 0x13f1
0x13aa 86 goto 112 @ 0x13af
0x1341 87 rax = sx.q([rbp - 0xdd8 {var_de0_2}].d)
0x1348 88 rdi = rbp - 0xbd0 {var_bd8}
0x134f 89 rax = rax * 5
0x1353 90 rdi = rdi + rax
0x1356 91 rax = sx.q([rbp - 0xdf4 {var_dfc_2}].d)
0x135d 92 rsi = rbp - 0xbd0 {var_bd8}
0x1364 93 rax = rax * 5
0x1368 94 rsi = rsi + rax
0x136b 95 call(0x1080)
0x1373 96 if (eax != 0) then 116 @ 0x1391 else 117 @ 0x1379
0x154f 97 esi = [rbp - 0x15d0 {var_15d8}].d
0x1555 98 rdi = 0x2004 {"%d\n"}
0x155c 99 al = 0
0x155e 100 call(0x1030)
0x1563 101 [rbp - 0xdd8 {var_de0_4}].d = 0
0x1563 102 goto 122 @ 0x156d
0x153c 103 rdi = 0x2008 {"NO\n"}
0x1543 104 al = 0
0x1545 105 call(0x1030)
0x154a 106 goto 127 @ 0x15de
0x13f1 107 eax = [rbp - 0xdf4 {var_dfc_3}].d
0x13f7 108 ecx = [rbp - 0xdf0 {var_df8}].d
0x13fd 109 ecx = ecx - [rbp - 0xdd4 {var_ddc}].d
0x1403 110 ecx = ecx - [rbp - 0xdd8 {var_de0_3}].d
0x140b 111 if (eax s>= ecx) then 130 @ 0x1516 else 131 @ 0x1411
0x13af 112 eax = [rbp - 0xdd8 {var_de0_2}].d
0x13b5 113 eax = eax + 1
0x13b8 114 [rbp - 0xdd8 {var_de0_2}].d = eax
0x13be 115 goto 60 @ 0x12fb
0x1391 116 goto 137 @ 0x1396
0x1379 117 rax = sx.q([rbp - 0xdd8 {var_de0_2}].d)
0x1380 118 ecx = [rbp + (rax << 2) - 0x15d0].d
0x1387 119 ecx = ecx + 1
0x138a 120 [rbp + (rax << 2) - 0x15d0].d = ecx
0x138a 121 goto 116 @ 0x1391
0x156d 122 eax = [rbp - 0xdd8 {var_de0_4}].d
0x1573 123 ecx = [rbp - 0xdf0 {var_df8}].d
0x1579 124 ecx = ecx - [rbp - 0xdd4 {var_ddc}].d
0x157f 125 ecx = ecx + 1
0x1584 126 if (eax s>= ecx) then 141 @ 0x15d9 else 142 @ 0x158a
0x15de 127 rsp = rsp + 0x15d0
0x15e5 128 rbp = pop
0x15e6 129 <return> jump(pop)
0x1516 130 goto 145 @ 0x151b
0x1411 131 rax = sx.q([rbp - 0xdf4 {var_dfc_3}].d)
0x1418 132 eax = [rbp + (rax << 2) - 0x15d0].d
0x141f 133 ecx = [rbp - 0xdf4 {var_dfc_3}].d
0x1425 134 ecx = ecx + 1
0x1428 135 rcx = sx.q(ecx)
0x1432 136 if (eax s>= [rbp + (rcx << 2) - 0x15d0].d) then 149 @ 0x14fd else 150 @ 0x1438
0x1396 137 eax = [rbp - 0xdf4 {var_dfc_2}].d
0x139c 138 eax = eax + 1
0x139f 139 [rbp - 0xdf4 {var_dfc_2}].d = eax
0x13a5 140 goto 78 @ 0x1324
0x15d9 141 goto 127 @ 0x15de
0x158a 142 rax = sx.q([rbp - 0xdd8 {var_de0_4}].d)
0x1591 143 eax = [rbp + (rax << 2) - 0x15d0].d
0x159e 144 if (eax != [rbp - 0x15d0 {var_15d8}].d) then 190 @ 0x15c0 else 191 @ 0x15a4
0x151b 145 eax = [rbp - 0xdd8 {var_de0_3}].d
0x1521 146 eax = eax + 1
0x1524 147 [rbp - 0xdd8 {var_de0_3}].d = eax
0x152a 148 goto 74 @ 0x13cd
0x14fd 149 goto 198 @ 0x1502
0x1438 150 rax = sx.q([rbp - 0xdf4 {var_dfc_3}].d)
0x143f 151 eax = [rbp + (rax << 2) - 0x15d0].d
0x1446 152 [rbp - 0xdf8 {var_e00_1}].d = eax
0x144c 153 eax = [rbp - 0xdf4 {var_dfc_3}].d
0x1452 154 eax = eax + 1
0x1455 155 rax = sx.q(eax)
0x1457 156 ecx = [rbp + (rax << 2) - 0x15d0].d
0x145e 157 rax = sx.q([rbp - 0xdf4 {var_dfc_3}].d)
0x1465 158 [rbp + (rax << 2) - 0x15d0].d = ecx
0x146c 159 ecx = [rbp - 0xdf8 {var_e00_1}].d
0x1472 160 eax = [rbp - 0xdf4 {var_dfc_3}].d
0x1478 161 eax = eax + 1
0x147b 162 rax = sx.q(eax)
0x147d 163 [rbp + (rax << 2) - 0x15d0].d = ecx
0x1484 164 rdi = rbp - 0xdd0 {var_dd8}
0x148b 165 rax = sx.q([rbp - 0xdf4 {var_dfc_3}].d)
0x1492 166 rsi = rbp - 0xbd0 {var_bd8}
0x1499 167 rax = rax * 5
0x149d 168 rsi = rsi + rax
0x14a0 169 call(0x1050)
0x14a5 170 rax = sx.q([rbp - 0xdf4 {var_dfc_3}].d)
0x14ac 171 rdi = rbp - 0xbd0 {var_bd8}
0x14b3 172 rax = rax * 5
0x14b7 173 rdi = rdi + rax
0x14ba 174 eax = [rbp - 0xdf4 {var_dfc_3}].d
0x14c0 175 eax = eax + 1
0x14c3 176 rax = sx.q(eax)
0x14c5 177 rsi = rbp - 0xbd0 {var_bd8}
0x14cc 178 rax = rax * 5
0x14d0 179 rsi = rsi + rax
0x14d3 180 call(0x1050)
0x14d8 181 eax = [rbp - 0xdf4 {var_dfc_3}].d
0x14de 182 eax = eax + 1
0x14e1 183 rax = sx.q(eax)
0x14e3 184 rdi = rbp - 0xbd0 {var_bd8}
0x14ea 185 rax = rax * 5
0x14ee 186 rdi = rdi + rax
0x14f1 187 rsi = rbp - 0xdd0 {var_dd8}
0x14f8 188 call(0x1050)
0x14f8 189 goto 149 @ 0x14fd
0x15c0 190 goto 202 @ 0x15c5
0x15a4 191 rax = sx.q([rbp - 0xdd8 {var_de0_4}].d)
0x15ab 192 rdi = rbp - 0xbd0 {var_bd8}
0x15b2 193 rax = rax * 5
0x15b6 194 rdi = rdi + rax
0x15b9 195 al = 0
0x15bb 196 call(0x1090)
0x15bb 197 goto 190 @ 0x15c0
0x1502 198 eax = [rbp - 0xdf4 {var_dfc_3}].d
0x1508 199 eax = eax + 1
0x150b 200 [rbp - 0xdf4 {var_dfc_3}].d = eax
0x1511 201 goto 107 @ 0x13f1
0x15c5 202 eax = [rbp - 0xdd8 {var_de0_4}].d
0x15cb 203 eax = eax + 1
0x15ce 204 [rbp - 0xdd8 {var_de0_4}].d = eax
0x15d4 205 goto 122 @ 0x156d
int64_t _fini():
0x15ec 0 rsp = rsp - 8
0x15f0 1 rsp = rsp + 8
0x15f4 2 <return> jump(pop)
| POJ_51 |
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 - 0x9c68
0x1161 7 rbp = 0x200a {"%d"}
0x1168 8 r14d = 0
0x116b 9 rsi = rsp + 0x20 {var_9c78}
0x1170 10 rdi = rbp
0x1173 11 eax = 0
0x1175 12 call(0x1040)
0x117a 13 ebx = [rsp + 0x20 {var_9c78}].d
0x1180 14 if (ebx s< 0) then 15 else 17 @ 0x1184
0x1180 15 ebx = r14d
0x1180 16 goto 17 @ 0x1184
0x1184 17 r14d = 0
0x1187 18 rsi = rsp + 0x24 {var_9c74}
0x118c 19 rdi = rbp
0x118f 20 eax = 0
0x1191 21 call(0x1040)
0x1196 22 eax = [rsp + 0x24 {var_9c74}].d
0x119c 23 if (ebx s< eax) then 24 else 26 @ 0x119f
0x119c 24 ebx = eax
0x119c 25 goto 26 @ 0x119f
0x119f 26 rsi = rsp + 0x28 {var_9c70}
0x11a4 27 rdi = rbp
0x11a7 28 eax = 0
0x11a9 29 call(0x1040)
0x11ae 30 eax = [rsp + 0x28 {var_9c70}].d
0x11b4 31 if (ebx s< eax) then 32 else 34 @ 0x11b7
0x11b4 32 ebx = eax
0x11b4 33 goto 34 @ 0x11b7
0x11b7 34 rsi = rsp + 0x2c {var_9c6c}
0x11bc 35 rdi = rbp
0x11bf 36 eax = 0
0x11c1 37 call(0x1040)
0x11c6 38 eax = [rsp + 0x2c {var_9c6c}].d
0x11cc 39 if (ebx s< eax) then 40 else 42 @ 0x11cf
0x11cc 40 ebx = eax
0x11cc 41 goto 42 @ 0x11cf
0x11cf 42 rsi = rsp + 0x30 {var_9c68}
0x11d4 43 rdi = rbp
0x11d7 44 eax = 0
0x11d9 45 call(0x1040)
0x11de 46 eax = [rsp + 0x30 {var_9c68}].d
0x11e4 47 if (ebx s< eax) then 48 else 50 @ 0x11e7
0x11e4 48 ebx = eax
0x11e4 49 goto 50 @ 0x11e7
0x11e7 50 rsi = rsp + 0x1b0 {var_9ae8}
0x11ef 51 rdi = rbp
0x11f2 52 eax = 0
0x11f4 53 call(0x1040)
0x11f9 54 r13d = [rsp + 0x1b0 {var_9ae8}].d
0x1204 55 if (r13d s< 0) then 56 else 58 @ 0x1208
0x1204 56 r13d = r14d
0x1204 57 goto 58 @ 0x1208
0x1208 58 r14d = 0
0x120b 59 rsi = rsp + 0x1b4 {var_9ae4}
0x1213 60 rdi = rbp
0x1216 61 eax = 0
0x1218 62 call(0x1040)
0x121d 63 eax = [rsp + 0x1b4 {var_9ae4}].d
0x1227 64 if (r13d s< eax) then 65 else 67 @ 0x122b
0x1227 65 r13d = eax
0x1227 66 goto 67 @ 0x122b
0x122b 67 rsi = rsp + 0x1b8 {var_9ae0}
0x1233 68 rdi = rbp
0x1236 69 eax = 0
0x1238 70 call(0x1040)
0x123d 71 eax = [rsp + 0x1b8 {var_9ae0}].d
0x1247 72 if (r13d s< eax) then 73 else 75 @ 0x124b
0x1247 73 r13d = eax
0x1247 74 goto 75 @ 0x124b
0x124b 75 rsi = rsp + 0x1bc {var_9adc}
0x1253 76 rdi = rbp
0x1256 77 eax = 0
0x1258 78 call(0x1040)
0x125d 79 eax = [rsp + 0x1bc {var_9adc}].d
0x1267 80 if (r13d s< eax) then 81 else 83 @ 0x126b
0x1267 81 r13d = eax
0x1267 82 goto 83 @ 0x126b
0x126b 83 rsi = rsp + 0x1c0 {var_9ad8}
0x1273 84 rdi = rbp
0x1276 85 eax = 0
0x1278 86 call(0x1040)
0x127d 87 eax = [rsp + 0x1c0 {var_9ad8}].d
0x1287 88 if (r13d s< eax) then 89 else 91 @ 0x128b
0x1287 89 r13d = eax
0x1287 90 goto 91 @ 0x128b
0x128b 91 rsi = rsp + 0x340 {var_9958}
0x1293 92 rdi = rbp
0x1296 93 eax = 0
0x1298 94 call(0x1040)
0x129d 95 r12d = [rsp + 0x340 {var_9958}].d
0x12a8 96 if (r12d s< 0) then 97 else 99 @ 0x12ac
0x12a8 97 r12d = r14d
0x12a8 98 goto 99 @ 0x12ac
0x12ac 99 r14d = 0
0x12af 100 rsi = rsp + 0x344 {var_9954}
0x12b7 101 rdi = rbp
0x12ba 102 eax = 0
0x12bc 103 call(0x1040)
0x12c1 104 eax = [rsp + 0x344 {var_9954}].d
0x12cb 105 if (r12d s< eax) then 106 else 108 @ 0x12cf
0x12cb 106 r12d = eax
0x12cb 107 goto 108 @ 0x12cf
0x12cf 108 rsi = rsp + 0x348 {var_9950}
0x12d7 109 rdi = rbp
0x12da 110 eax = 0
0x12dc 111 call(0x1040)
0x12e1 112 eax = [rsp + 0x348 {var_9950}].d
0x12eb 113 if (r12d s< eax) then 114 else 116 @ 0x12ef
0x12eb 114 r12d = eax
0x12eb 115 goto 116 @ 0x12ef
0x12ef 116 rsi = rsp + 0x34c {var_994c}
0x12f7 117 rdi = rbp
0x12fa 118 eax = 0
0x12fc 119 call(0x1040)
0x1301 120 eax = [rsp + 0x34c {var_994c}].d
0x130b 121 if (r12d s< eax) then 122 else 124 @ 0x130f
0x130b 122 r12d = eax
0x130b 123 goto 124 @ 0x130f
0x130f 124 rsi = rsp + 0x350 {var_9948}
0x1317 125 rdi = rbp
0x131a 126 eax = 0
0x131c 127 call(0x1040)
0x1321 128 eax = [rsp + 0x350 {var_9948}].d
0x132b 129 if (r12d s< eax) then 130 else 132 @ 0x132f
0x132b 130 r12d = eax
0x132b 131 goto 132 @ 0x132f
0x132f 132 rsi = rsp + 0x4d0 {var_97c8}
0x1337 133 rdi = rbp
0x133a 134 eax = 0
0x133c 135 call(0x1040)
0x1341 136 r15d = [rsp + 0x4d0 {var_97c8}].d
0x134c 137 if (r15d s< 0) then 138 else 140 @ 0x1350
0x134c 138 r15d = r14d
0x134c 139 goto 140 @ 0x1350
0x1350 140 rsi = rsp + 0x4d4 {var_97c4}
0x1358 141 rdi = rbp
0x135b 142 eax = 0
0x135d 143 call(0x1040)
0x1362 144 eax = [rsp + 0x4d4 {var_97c4}].d
0x136c 145 if (r15d s< eax) then 146 else 148 @ 0x1370
0x136c 146 r15d = eax
0x136c 147 goto 148 @ 0x1370
0x1370 148 rsi = rsp + 0x4d8 {var_97c0}
0x1378 149 rdi = rbp
0x137b 150 eax = 0
0x137d 151 call(0x1040)
0x1382 152 eax = [rsp + 0x4d8 {var_97c0}].d
0x138c 153 if (r15d s< eax) then 154 else 156 @ 0x1390
0x138c 154 r15d = eax
0x138c 155 goto 156 @ 0x1390
0x1390 156 rsi = rsp + 0x4dc {var_97bc}
0x1398 157 rdi = rbp
0x139b 158 eax = 0
0x139d 159 call(0x1040)
0x13a2 160 eax = [rsp + 0x4dc {var_97bc}].d
0x13ac 161 if (r15d s< eax) then 162 else 164 @ 0x13b0
0x13ac 162 r15d = eax
0x13ac 163 goto 164 @ 0x13b0
0x13b0 164 rsi = rsp + 0x4e0 {var_97b8}
0x13b8 165 rdi = rbp
0x13bb 166 eax = 0
0x13bd 167 call(0x1040)
0x13c2 168 eax = [rsp + 0x4e0 {var_97b8}].d
0x13cc 169 if (r15d s< eax) then 170 else 172 @ 0x13d0
0x13cc 170 r15d = eax
0x13cc 171 goto 172 @ 0x13d0
0x13d0 172 rsi = rsp + 0x660 {var_9638}
0x13d8 173 rdi = rbp
0x13db 174 eax = 0
0x13dd 175 call(0x1040)
0x13e2 176 r14d = [rsp + 0x660 {var_9638}].d
0x13ea 177 cond:0 = r14d s< 0
0x13ed 178 [rsp + 0xc {var_9c8c}].d = 0
0x13f5 179 eax = 0
0x13fa 180 if (cond:0) then 181 else 183 @ 0x13fe
0x13fa 181 r14d = eax
0x13fa 182 goto 183 @ 0x13fe
0x13fe 183 rsi = rsp + 0x664 {var_9634}
0x1406 184 rdi = rbp
0x1409 185 eax = 0
0x140b 186 call(0x1040)
0x1410 187 eax = [rsp + 0x664 {var_9634}].d
0x141a 188 if (r14d s< eax) then 189 else 191 @ 0x141e
0x141a 189 r14d = eax
0x141a 190 goto 191 @ 0x141e
0x141e 191 rsi = rsp + 0x668 {var_9630}
0x1426 192 rdi = rbp
0x1429 193 eax = 0
0x142b 194 call(0x1040)
0x1430 195 eax = [rsp + 0x668 {var_9630}].d
0x143a 196 if (r14d s< eax) then 197 else 199 @ 0x143e
0x143a 197 r14d = eax
0x143a 198 goto 199 @ 0x143e
0x143e 199 rsi = rsp + 0x66c {var_962c}
0x1446 200 rdi = rbp
0x1449 201 eax = 0
0x144b 202 call(0x1040)
0x1450 203 eax = [rsp + 0x66c {var_962c}].d
0x145a 204 if (r14d s< eax) then 205 else 207 @ 0x145e
0x145a 205 r14d = eax
0x145a 206 goto 207 @ 0x145e
0x145e 207 rsi = rsp + 0x670 {var_9628}
0x1466 208 rdi = rbp
0x1469 209 eax = 0
0x146b 210 call(0x1040)
0x1470 211 ecx = [rsp + 0x670 {var_9628}].d
0x147a 212 if (r14d s< ecx) then 213 else 215 @ 0x147e
0x147a 213 r14d = ecx
0x147a 214 goto 215 @ 0x147e
0x147e 215 edx = [rsp + 0x20 {var_9c78}].d
0x1482 216 r9d = [rsp + 0x24 {var_9c74}].d
0x1487 217 cond:1 = edx s< 0x8aac
0x148d 218 eax = 0x8aac {""}
0x1492 219 if (cond:1) then 220 else 222 @ 0x1495
0x1492 220 eax = edx
0x1492 221 goto 222 @ 0x1495
0x1495 222 esi = [rsp + 0x1b0 {var_9ae8}].d
0x149e 223 if (eax s> esi) then 224 else 226 @ 0x14a1
0x149e 224 eax = esi
0x149e 225 goto 226 @ 0x14a1
0x14a1 226 esi = [rsp + 0x340 {var_9958}].d
0x14aa 227 if (eax s> esi) then 228 else 230 @ 0x14ad
0x14aa 228 eax = esi
0x14aa 229 goto 230 @ 0x14ad
0x14ad 230 esi = [rsp + 0x4d0 {var_97c8}].d
0x14b6 231 if (eax s> esi) then 232 else 234 @ 0x14b9
0x14b6 232 eax = esi
0x14b6 233 goto 234 @ 0x14b9
0x14b9 234 esi = [rsp + 0x660 {var_9638}].d
0x14c2 235 if (eax s> esi) then 236 else 238 @ 0x14c5
0x14c2 236 eax = esi
0x14c2 237 goto 238 @ 0x14c5
0x14c5 238 cond:2 = r9d s< 0x186a0
0x14cc 239 edi = 0x186a0 {""}
0x14d1 240 ebp = 0x186a0 {""}
0x14d6 241 if (cond:2) then 242 else 244 @ 0x14da
0x14d6 242 ebp = r9d
0x14d6 243 goto 244 @ 0x14da
0x14da 244 esi = [rsp + 0x1b4 {var_9ae4}].d
0x14e3 245 if (ebp s> esi) then 246 else 248 @ 0x14e6
0x14e3 246 ebp = esi
0x14e3 247 goto 248 @ 0x14e6
0x14e6 248 esi = [rsp + 0x344 {var_9954}].d
0x14ef 249 if (ebp s> esi) then 250 else 252 @ 0x14f2
0x14ef 250 ebp = esi
0x14ef 251 goto 252 @ 0x14f2
0x14f2 252 esi = [rsp + 0x4d4 {var_97c4}].d
0x14fb 253 if (ebp s> esi) then 254 else 256 @ 0x14fe
0x14fb 254 ebp = esi
0x14fb 255 goto 256 @ 0x14fe
0x14fe 256 esi = [rsp + 0x664 {var_9634}].d
0x1507 257 if (ebp s> esi) then 258 else 260 @ 0x150a
0x1507 258 ebp = esi
0x1507 259 goto 260 @ 0x150a
0x150a 260 [rsp + 0x14 {var_9c84}].d = ebp
0x150e 261 r8d = [rsp + 0x28 {var_9c70}].d
0x151a 262 if (r8d s>= 0x186a0) then 263 else 265 @ 0x151e
0x151a 263 r8d = edi
0x151a 264 goto 265 @ 0x151e
0x151e 265 esi = [rsp + 0x1b8 {var_9ae0}].d
0x1528 266 if (r8d s> esi) then 267 else 269 @ 0x152c
0x1528 267 r8d = esi
0x1528 268 goto 269 @ 0x152c
0x152c 269 esi = [rsp + 0x348 {var_9950}].d
0x1536 270 if (r8d s> esi) then 271 else 273 @ 0x153a
0x1536 271 r8d = esi
0x1536 272 goto 273 @ 0x153a
0x153a 273 esi = [rsp + 0x4d8 {var_97c0}].d
0x1544 274 if (r8d s> esi) then 275 else 277 @ 0x1548
0x1544 275 r8d = esi
0x1544 276 goto 277 @ 0x1548
0x1548 277 esi = [rsp + 0x668 {var_9630}].d
0x1552 278 if (r8d s> esi) then 279 else 281 @ 0x1556
0x1552 279 r8d = esi
0x1552 280 goto 281 @ 0x1556
0x1556 281 ebp = [rsp + 0x2c {var_9c6c}].d
0x1560 282 if (ebp s>= 0x186a0) then 283 else 285 @ 0x1563
0x1560 283 ebp = edi
0x1560 284 goto 285 @ 0x1563
0x1563 285 esi = [rsp + 0x1bc {var_9adc}].d
0x156c 286 if (ebp s> esi) then 287 else 289 @ 0x156f
0x156c 287 ebp = esi
0x156c 288 goto 289 @ 0x156f
0x156f 289 esi = [rsp + 0x34c {var_994c}].d
0x1578 290 if (ebp s> esi) then 291 else 293 @ 0x157b
0x1578 291 ebp = esi
0x1578 292 goto 293 @ 0x157b
0x157b 293 esi = [rsp + 0x4dc {var_97bc}].d
0x1584 294 if (ebp s> esi) then 295 else 297 @ 0x1587
0x1584 295 ebp = esi
0x1584 296 goto 297 @ 0x1587
0x1587 297 esi = [rsp + 0x66c {var_962c}].d
0x1590 298 if (ebp s> esi) then 299 else 301 @ 0x1593
0x1590 299 ebp = esi
0x1590 300 goto 301 @ 0x1593
0x1593 301 [rsp + 0x18 {var_9c80}].d = ebp
0x1597 302 esi = [rsp + 0x30 {var_9c68}].d
0x15a1 303 if (esi s< 0x186a0) then 304 else 306 @ 0x15a4
0x15a1 304 edi = esi
0x15a1 305 goto 306 @ 0x15a4
0x15a4 306 esi = [rsp + 0x1c0 {var_9ad8}].d
0x15ad 307 if (edi s> esi) then 308 else 310 @ 0x15b0
0x15ad 308 edi = esi
0x15ad 309 goto 310 @ 0x15b0
0x15b0 310 esi = [rsp + 0x350 {var_9948}].d
0x15b9 311 if (edi s> esi) then 312 else 314 @ 0x15bc
0x15b9 312 edi = esi
0x15b9 313 goto 314 @ 0x15bc
0x15bc 314 esi = [rsp + 0x4e0 {var_97b8}].d
0x15c5 315 if (edi s> esi) then 316 else 318 @ 0x15ca
0x15c5 316 edi = esi
0x15c5 317 goto 318 @ 0x15ca
0x15ca 318 if (edi s> ecx) then 319 else 321 @ 0x15cd
0x15ca 319 edi = ecx
0x15ca 320 goto 321 @ 0x15cd
0x15cd 321 [rsp + 0x1c {var_9c7c}].d = edi
0x15d1 322 cond:3 = edx != ebx
0x15d3 323 [rsp + 0x10 {var_9c88}].d = r8d
0x15d8 324 if (cond:3) then 325 @ 0x1a93 else 327 @ 0x15de
0x1a93 325 ebp = eax
0x1a98 326 if (r9d == ebx) then 329 @ 0x1614 else 330 @ 0x1a9e
0x15de 327 ebp = eax
0x15e2 328 if (ebx != eax) then 331 @ 0x160e else 332 @ 0x15e4
0x1614 329 if (ebx != [rsp + 0x14 {var_9c84}].d) then 341 @ 0x1639 else 342 @ 0x1616
0x1a9e 330 goto 341 @ 0x1639
0x160e 331 if (r9d != ebx) then 341 @ 0x1639 else 329 @ 0x1614
0x15e4 332 rdi = 0x2004 {"%d %d %d"}
0x15eb 333 [rsp + 0xc {var_9c8c}].d = 1
0x15f3 334 esi = 1
0x15f8 335 edx = 1
0x15fd 336 ecx = ebx
0x15ff 337 eax = 0
0x1601 338 call(0x1030)
0x1606 339 r9d = [rsp + 0x24 {var_9c74}].d
0x1606 340 goto 331 @ 0x160e
0x1639 341 if ([rsp + 0x28 {var_9c70}].d != ebx) then 350 @ 0x1664 else 351 @ 0x163f
0x1616 342 [rsp + 0xc {var_9c8c}].d = [rsp + 0xc {var_9c8c}].d + 1
0x161b 343 rdi = 0x2004 {"%d %d %d"}
0x1622 344 esi = 1
0x1627 345 edx = 2
0x162c 346 ecx = ebx
0x162e 347 eax = 0
0x1630 348 call(0x1030)
0x1630 349 goto 341 @ 0x1639
0x1664 350 if ([rsp + 0x2c {var_9c6c}].d != ebx) then 352 @ 0x168f else 353 @ 0x166a
0x163f 351 if (ebx != [rsp + 0x10 {var_9c88}].d) then 350 @ 0x1664 else 354 @ 0x1641
0x168f 352 if ([rsp + 0x30 {var_9c68}].d != ebx) then 362 @ 0x16be else 363 @ 0x1695
0x166a 353 if (ebx != [rsp + 0x18 {var_9c80}].d) then 352 @ 0x168f else 364 @ 0x166c
0x1641 354 [rsp + 0xc {var_9c8c}].d = [rsp + 0xc {var_9c8c}].d + 1
0x1646 355 rdi = 0x2004 {"%d %d %d"}
0x164d 356 esi = 1
0x1652 357 edx = 3
0x1657 358 ecx = ebx
0x1659 359 eax = 0
0x165b 360 call(0x1030)
0x165b 361 goto 350 @ 0x1664
0x16be 362 if ([rsp + 0x1b0 {var_9ae8}].d != r13d) then 372 @ 0x16f3 else 374 @ 0x16c3
0x1695 363 if (ebx != [rsp + 0x1c {var_9c7c}].d) then 362 @ 0x16be else 375 @ 0x1697
0x166c 364 [rsp + 0xc {var_9c8c}].d = [rsp + 0xc {var_9c8c}].d + 1
0x1671 365 rdi = 0x2004 {"%d %d %d"}
0x1678 366 esi = 1
0x167d 367 edx = 4
0x1682 368 ecx = ebx
0x1684 369 eax = 0
0x1686 370 call(0x1030)
0x1686 371 goto 352 @ 0x168f
0x16f3 372 ebx = [rsp + 0xc {var_9c8c}].d
0x16ff 373 if ([rsp + 0x1b4 {var_9ae4}].d != r13d) then 383 @ 0x172e else 384 @ 0x1706
0x16c3 374 if (r13d != ebp) then 372 @ 0x16f3 else 385 @ 0x16c5
0x1697 375 [rsp + 0xc {var_9c8c}].d = [rsp + 0xc {var_9c8c}].d + 1
0x169c 376 rdi = 0x2004 {"%d %d %d"}
0x16a3 377 esi = 1
0x16a8 378 edx = 5
0x16ad 379 ecx = ebx
0x16af 380 eax = 0
0x16b1 381 call(0x1030)
0x16b1 382 goto 362 @ 0x16be
0x172e 383 if ([rsp + 0x1b8 {var_9ae0}].d != r13d) then 394 @ 0x175d else 395 @ 0x1735
0x1706 384 if (r13d != [rsp + 0x14 {var_9c84}].d) then 383 @ 0x172e else 396 @ 0x1708
0x16c5 385 ebx = [rsp + 0xc {var_9c8c}].d
0x16c9 386 ebx = ebx + 1
0x16cc 387 rdi = 0x2004 {"%d %d %d"}
0x16d3 388 esi = 2
0x16d8 389 edx = 1
0x16dd 390 ecx = r13d
0x16e0 391 eax = 0
0x16e2 392 call(0x1030)
0x16ef 393 if ([rsp + 0x1b4 {var_9ae4}].d == r13d) then 384 @ 0x1706 else 404 @ 0x16f1
0x175d 394 if ([rsp + 0x1bc {var_9adc}].d != r13d) then 405 @ 0x178c else 406 @ 0x1764
0x1735 395 if (r13d != [rsp + 0x10 {var_9c88}].d) then 394 @ 0x175d else 407 @ 0x1737
0x1708 396 ebx = ebx + 1
0x170b 397 rdi = 0x2004 {"%d %d %d"}
0x1712 398 esi = 2
0x1717 399 edx = 2
0x171c 400 ecx = r13d
0x171f 401 eax = 0
0x1721 402 call(0x1030)
0x1721 403 goto 383 @ 0x172e
0x16f1 404 goto 383 @ 0x172e
0x178c 405 if ([rsp + 0x1c0 {var_9ad8}].d != r13d) then 415 @ 0x17bb else 416 @ 0x1793
0x1764 406 if (r13d != [rsp + 0x18 {var_9c80}].d) then 405 @ 0x178c else 417 @ 0x1766
0x1737 407 ebx = ebx + 1
0x173a 408 rdi = 0x2004 {"%d %d %d"}
0x1741 409 esi = 2
0x1746 410 edx = 3
0x174b 411 ecx = r13d
0x174e 412 eax = 0
0x1750 413 call(0x1030)
0x1750 414 goto 394 @ 0x175d
0x17bb 415 if ([rsp + 0x340 {var_9958}].d != r12d) then 425 @ 0x17e8 else 426 @ 0x17c0
0x1793 416 if (r13d != [rsp + 0x1c {var_9c7c}].d) then 415 @ 0x17bb else 427 @ 0x1795
0x1766 417 ebx = ebx + 1
0x1769 418 rdi = 0x2004 {"%d %d %d"}
0x1770 419 esi = 2
0x1775 420 edx = 4
0x177a 421 ecx = r13d
0x177d 422 eax = 0
0x177f 423 call(0x1030)
0x177f 424 goto 405 @ 0x178c
0x17e8 425 if ([rsp + 0x344 {var_9954}].d != r12d) then 435 @ 0x1817 else 436 @ 0x17ef
0x17c0 426 if (r12d != ebp) then 425 @ 0x17e8 else 437 @ 0x17c2
0x1795 427 ebx = ebx + 1
0x1798 428 rdi = 0x2004 {"%d %d %d"}
0x179f 429 esi = 2
0x17a4 430 edx = 5
0x17a9 431 ecx = r13d
0x17ac 432 eax = 0
0x17ae 433 call(0x1030)
0x17ae 434 goto 415 @ 0x17bb
0x1817 435 if ([rsp + 0x348 {var_9950}].d != r12d) then 445 @ 0x1846 else 446 @ 0x181e
0x17ef 436 if (r12d != [rsp + 0x14 {var_9c84}].d) then 435 @ 0x1817 else 447 @ 0x17f1
0x17c2 437 ebx = ebx + 1
0x17c5 438 rdi = 0x2004 {"%d %d %d"}
0x17cc 439 esi = 3
0x17d1 440 edx = 1
0x17d6 441 ecx = r12d
0x17d9 442 eax = 0
0x17db 443 call(0x1030)
0x17db 444 goto 425 @ 0x17e8
0x1846 445 if ([rsp + 0x34c {var_994c}].d != r12d) then 455 @ 0x1875 else 456 @ 0x184d
0x181e 446 if (r12d != [rsp + 0x10 {var_9c88}].d) then 445 @ 0x1846 else 457 @ 0x1820
0x17f1 447 ebx = ebx + 1
0x17f4 448 rdi = 0x2004 {"%d %d %d"}
0x17fb 449 esi = 3
0x1800 450 edx = 2
0x1805 451 ecx = r12d
0x1808 452 eax = 0
0x180a 453 call(0x1030)
0x180a 454 goto 435 @ 0x1817
0x1875 455 if ([rsp + 0x350 {var_9948}].d != r12d) then 465 @ 0x18a4 else 466 @ 0x187c
0x184d 456 if (r12d != [rsp + 0x18 {var_9c80}].d) then 455 @ 0x1875 else 467 @ 0x184f
0x1820 457 ebx = ebx + 1
0x1823 458 rdi = 0x2004 {"%d %d %d"}
0x182a 459 esi = 3
0x182f 460 edx = 3
0x1834 461 ecx = r12d
0x1837 462 eax = 0
0x1839 463 call(0x1030)
0x1839 464 goto 445 @ 0x1846
0x18a4 465 if ([rsp + 0x4d0 {var_97c8}].d != r15d) then 475 @ 0x18d1 else 476 @ 0x18a9
0x187c 466 if (r12d != [rsp + 0x1c {var_9c7c}].d) then 465 @ 0x18a4 else 477 @ 0x187e
0x184f 467 ebx = ebx + 1
0x1852 468 rdi = 0x2004 {"%d %d %d"}
0x1859 469 esi = 3
0x185e 470 edx = 4
0x1863 471 ecx = r12d
0x1866 472 eax = 0
0x1868 473 call(0x1030)
0x1868 474 goto 455 @ 0x1875
0x18d1 475 if ([rsp + 0x4d4 {var_97c4}].d != r15d) then 485 @ 0x1900 else 486 @ 0x18d8
0x18a9 476 if (r15d != ebp) then 475 @ 0x18d1 else 487 @ 0x18ab
0x187e 477 ebx = ebx + 1
0x1881 478 rdi = 0x2004 {"%d %d %d"}
0x1888 479 esi = 3
0x188d 480 edx = 5
0x1892 481 ecx = r12d
0x1895 482 eax = 0
0x1897 483 call(0x1030)
0x1897 484 goto 465 @ 0x18a4
0x1900 485 if ([rsp + 0x4d8 {var_97c0}].d != r15d) then 495 @ 0x192f else 496 @ 0x1907
0x18d8 486 if (r15d != [rsp + 0x14 {var_9c84}].d) then 485 @ 0x1900 else 497 @ 0x18da
0x18ab 487 ebx = ebx + 1
0x18ae 488 rdi = 0x2004 {"%d %d %d"}
0x18b5 489 esi = 4
0x18ba 490 edx = 1
0x18bf 491 ecx = r15d
0x18c2 492 eax = 0
0x18c4 493 call(0x1030)
0x18c4 494 goto 475 @ 0x18d1
0x192f 495 if ([rsp + 0x4dc {var_97bc}].d != r15d) then 505 @ 0x195e else 506 @ 0x1936
0x1907 496 if (r15d != [rsp + 0x10 {var_9c88}].d) then 495 @ 0x192f else 507 @ 0x1909
0x18da 497 ebx = ebx + 1
0x18dd 498 rdi = 0x2004 {"%d %d %d"}
0x18e4 499 esi = 4
0x18e9 500 edx = 2
0x18ee 501 ecx = r15d
0x18f1 502 eax = 0
0x18f3 503 call(0x1030)
0x18f3 504 goto 485 @ 0x1900
0x195e 505 if ([rsp + 0x4e0 {var_97b8}].d != r15d) then 515 @ 0x198d else 516 @ 0x1965
0x1936 506 if (r15d != [rsp + 0x18 {var_9c80}].d) then 505 @ 0x195e else 517 @ 0x1938
0x1909 507 ebx = ebx + 1
0x190c 508 rdi = 0x2004 {"%d %d %d"}
0x1913 509 esi = 4
0x1918 510 edx = 3
0x191d 511 ecx = r15d
0x1920 512 eax = 0
0x1922 513 call(0x1030)
0x1922 514 goto 495 @ 0x192f
0x198d 515 if ([rsp + 0x660 {var_9638}].d != r14d) then 525 @ 0x19ba else 526 @ 0x1992
0x1965 516 if (r15d != [rsp + 0x1c {var_9c7c}].d) then 515 @ 0x198d else 527 @ 0x1967
0x1938 517 ebx = ebx + 1
0x193b 518 rdi = 0x2004 {"%d %d %d"}
0x1942 519 esi = 4
0x1947 520 edx = 4
0x194c 521 ecx = r15d
0x194f 522 eax = 0
0x1951 523 call(0x1030)
0x1951 524 goto 505 @ 0x195e
0x19ba 525 if ([rsp + 0x664 {var_9634}].d != r14d) then 535 @ 0x19e9 else 536 @ 0x19c1
0x1992 526 if (r14d != ebp) then 525 @ 0x19ba else 537 @ 0x1994
0x1967 527 ebx = ebx + 1
0x196a 528 rdi = 0x2004 {"%d %d %d"}
0x1971 529 esi = 4
0x1976 530 edx = 5
0x197b 531 ecx = r15d
0x197e 532 eax = 0
0x1980 533 call(0x1030)
0x1980 534 goto 515 @ 0x198d
0x19e9 535 if ([rsp + 0x668 {var_9630}].d != r14d) then 545 @ 0x1a18 else 546 @ 0x19f0
0x19c1 536 if (r14d != [rsp + 0x14 {var_9c84}].d) then 535 @ 0x19e9 else 547 @ 0x19c3
0x1994 537 ebx = ebx + 1
0x1997 538 rdi = 0x2004 {"%d %d %d"}
0x199e 539 esi = 5
0x19a3 540 edx = 1
0x19a8 541 ecx = r14d
0x19ab 542 eax = 0
0x19ad 543 call(0x1030)
0x19ad 544 goto 525 @ 0x19ba
0x1a18 545 if ([rsp + 0x66c {var_962c}].d != r14d) then 555 @ 0x1a47 else 556 @ 0x1a1f
0x19f0 546 if (r14d != [rsp + 0x10 {var_9c88}].d) then 545 @ 0x1a18 else 557 @ 0x19f2
0x19c3 547 ebx = ebx + 1
0x19c6 548 rdi = 0x2004 {"%d %d %d"}
0x19cd 549 esi = 5
0x19d2 550 edx = 2
0x19d7 551 ecx = r14d
0x19da 552 eax = 0
0x19dc 553 call(0x1030)
0x19dc 554 goto 535 @ 0x19e9
0x1a47 555 if ([rsp + 0x670 {var_9628}].d != r14d) then 565 @ 0x1a6f else 566 @ 0x1a4e
0x1a1f 556 if (r14d != [rsp + 0x18 {var_9c80}].d) then 555 @ 0x1a47 else 567 @ 0x1a21
0x19f2 557 ebx = ebx + 1
0x19f5 558 rdi = 0x2004 {"%d %d %d"}
0x19fc 559 esi = 5
0x1a01 560 edx = 3
0x1a06 561 ecx = r14d
0x1a09 562 eax = 0
0x1a0b 563 call(0x1030)
0x1a0b 564 goto 545 @ 0x1a18
0x1a6f 565 if (ebx != 0) then 575 @ 0x1a7f else 584 @ 0x1a71
0x1a4e 566 if (r14d != [rsp + 0x1c {var_9c7c}].d) then 565 @ 0x1a6f else 588 @ 0x1a50
0x1a21 567 ebx = ebx + 1
0x1a24 568 rdi = 0x2004 {"%d %d %d"}
0x1a2b 569 esi = 5
0x1a30 570 edx = 4
0x1a35 571 ecx = r14d
0x1a38 572 eax = 0
0x1a3a 573 call(0x1030)
0x1a3a 574 goto 555 @ 0x1a47
0x1a7f 575 eax = 0
0x1a81 576 rsp = rsp + 0x9c68
0x1a88 577 rbx = pop
0x1a89 578 r12 = pop
0x1a8b 579 r13 = pop
0x1a8d 580 r14 = pop
0x1a8f 581 r15 = pop
0x1a91 582 rbp = pop
0x1a92 583 <return> jump(pop)
0x1a71 584 rdi = 0x200d {"not found"}
0x1a78 585 eax = 0
0x1a7a 586 call(0x1030)
0x1a7a 587 goto 575 @ 0x1a7f
0x1a50 588 rdi = 0x2004 {"%d %d %d"}
0x1a57 589 esi = 5
0x1a5c 590 edx = 5
0x1a61 591 ecx = r14d
0x1a64 592 eax = 0
0x1a66 593 call(0x1030)
0x1a6b 594 goto 575 @ 0x1a7f
int64_t _fini():
0x1aa8 0 rsp = rsp - 8
0x1aac 1 rsp = rsp + 8
0x1ab0 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)
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 {"UAWAVAUATSHx"}
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 - 0x9c78
0x1161 7 rdi = 0x2032 {"%d"}
0x1168 8 r15d = 0
0x116b 9 rsi = rsp + 4 {var_9ca4}
0x1170 10 eax = 0
0x1172 11 call(0x1040)
0x117c 12 if ([rsp + 4 {var_9ca4}].d s<= 0) then 13 @ 0x1439 else 15 @ 0x1182
0x1439 13 r12d = 0x1f4 {""}
0x1439 14 goto 22 @ 0x143f
0x1182 15 r13 = 0x3ffffffffffffffc {""}
0x118c 16 r12d = 0x1f4 {""}
0x1192 17 rbx = 0x2030 {"%d%d"}
0x1199 18 rbp = rsp + 0xc {var_9c9c}
0x119e 19 r14d = 0
0x11a1 20 r15d = 0
0x11a4 21 goto 28 @ 0x11bf
0x143f 22 rdi = 0x2035 {"%d %d\n"}
0x1446 23 esi = r12d
0x1449 24 edx = r15d
0x144c 25 eax = 0
0x144e 26 call(0x1030)
0x144e 27 goto 36 @ 0x1453
0x11bf 28 rdi = rbx
0x11c2 29 rsi = rbp {var_9c9c}
0x11c5 30 rdx = rsp + 8 {var_9ca0}
0x11ca 31 eax = 0
0x11cc 32 call(0x1040)
0x11d1 33 xmm7 = [0x2010].o
0x11d9 34 rax = sx.q([rsp + 0xc {var_9c9c}].d)
0x11e1 35 if (r12d s> eax) then 45 else 47 @ 0x11e5
0x1453 36 eax = 0
0x1455 37 rsp = rsp + 0x9c78
0x145c 38 rbx = pop
0x145d 39 r12 = pop
0x145f 40 r13 = pop
0x1461 41 r14 = pop
0x1463 42 r15 = pop
0x1465 43 rbp = pop
0x1466 44 <return> jump(pop)
0x11e1 45 r12d = eax
0x11e1 46 goto 47 @ 0x11e5
0x11e5 47 rcx = sx.q([rsp + 8 {var_9ca0}].d)
0x11ed 48 if (r15d s< ecx) then 49 else 51 @ 0x11f3
0x11ed 49 r15d = ecx
0x11ed 50 goto 51 @ 0x11f3
0x11f3 51 if (eax s>= ecx) then 52 @ 0x11b0 else 54 @ 0x11f5
0x11b0 52 r14d = r14d + 1
0x11b9 53 if (r14d s>= [rsp + 4 {var_9ca4}].d) then 57 @ 0x12f9 else 28 @ 0x11bf
0x11f5 54 rdx = rcx
0x11f8 55 rdx = rdx - rax
0x11ff 56 if (rdx u< 8) then 58 @ 0x12e0 else 61 @ 0x1205
0x12f9 57 if (r12d s>= r15d) then 22 @ 0x143f else 72 @ 0x12ff
0x12e0 58 [rsp + (rax << 2) + 0x10].d = 5
0x12e8 59 rax = rax + 1
0x12ef 60 if (rcx != rax) then 58 @ 0x12e0 else 78 @ 0x12f1
0x1205 61 r10 = rbp {var_9c9c}
0x1208 62 r9 = rbx
0x120b 63 r8 = rdx
0x120e 64 r8 = r8 & 0xfffffffffffffff8
0x1212 65 rsi = r8 - 8
0x1216 66 rdi = rsi
0x1219 67 rdi = rdi u>> 3
0x121d 68 rdi = rdi + 1
0x1221 69 ebx = edi
0x1223 70 ebx = ebx & 3
0x122a 71 if (rsi u>= 0x18) then 79 @ 0x1230 else 84 @ 0x122c
0x12ff 72 rax = sx.q(r12d)
0x1302 73 rcx = sx.q(r15d)
0x1305 74 rdx = rcx
0x1308 75 rdx = rdx - rax
0x130b 76 esi = 0
0x1311 77 if (rdx u< 8) then 86 @ 0x1410 else 91 @ 0x1317
0x12f1 78 goto 52 @ 0x11b0
0x1230 79 rdi = rdi & r13
0x1233 80 rsi = rsp + 0x80 {var_9c28}
0x123b 81 rsi = rsi + (rax << 2)
0x123f 82 ebp = 0
0x124b 83 goto 98 @ 0x1250
0x122c 84 ebp = 0
0x122e 85 goto 110 @ 0x128c
0x1410 86 edx = 0
0x1417 87 dl = [rsp + (rax << 2) + 0x10].d != 5
0x141a 88 esi = esi + edx
0x141c 89 rax = rax + 1
0x1423 90 if (rcx != rax) then 86 @ 0x1410 else 111 @ 0x1427
0x1317 91 r8 = rdx
0x131a 92 r8 = r8 & 0xfffffffffffffff8
0x131e 93 rsi = r8 - 8
0x1322 94 r9 = rsi
0x1325 95 r9 = r9 u>> 3
0x1329 96 r9 = r9 + 1
0x1330 97 if (rsi == 0) then 112 @ 0x1467 else 116 @ 0x1336
0x1250 98 [rsi + (rbp << 2) - 0x70].o = xmm7
0x1256 99 [rsi + (rbp << 2) - 0x60].o = xmm7
0x125c 100 [rsi + (rbp << 2) - 0x50].o = xmm7
0x1262 101 [rsi + (rbp << 2) - 0x40].o = xmm7
0x1268 102 [rsi + (rbp << 2) - 0x30].o = xmm7
0x126e 103 [rsi + (rbp << 2) - 0x20].o = xmm7
0x1274 104 [rsi + (rbp << 2) - 0x10].o = xmm7
0x127a 105 [rsi + (rbp << 2)].o = xmm7
0x127f 106 rbp = rbp + 0x20
0x1283 107 temp0.q = rdi
0x1283 108 rdi = rdi - 4
0x1287 109 if (temp0.q != 4) then 98 @ 0x1250 else 110 @ 0x128c
0x128c 110 if (rbx == 0) then 125 @ 0x12c4 else 129 @ 0x128e
0x1427 111 if (esi == 0) then 22 @ 0x143f else 136 @ 0x1429
0x1467 112 xmm0 = 0
0x146b 113 esi = 0
0x146d 114 xmm1 = 0
0x1475 115 if ((r9b & 1) != 0) then 140 @ 0x13b7 else 151 @ 0x147b
0x1336 116 r13 = r13 + 2
0x133a 117 r13 = r13 & r9
0x133d 118 rdi = rsp + (rax << 2)
0x1341 119 rdi = rdi + 0x40
0x1345 120 xmm3 = 0
0x1349 121 esi = 0
0x134b 122 xmm2 = [0x2020].o
0x1353 123 xmm4 = 0
0x1357 124 goto 152 @ 0x1360
0x12c4 125 cond:0 = rdx == r8
0x12c7 126 rbx = r9
0x12ca 127 rbp = r10 {var_9c9c}
0x12cd 128 if (cond:0) then 52 @ 0x11b0 else 172 @ 0x12d3
0x128e 129 rbp = rbp + rax
0x1291 130 rsi = rsp + 0x80 {var_9c28}
0x1299 131 rsi = rsi + (rbp << 2)
0x129d 132 rsi = rsi - 0x60
0x12a1 133 rbx = rbx << 5
0x12a5 134 edi = 0
0x12a7 135 goto 174 @ 0x12b0
0x1429 136 rdi = 0x203c {"no"}
0x1430 137 eax = 0
0x1432 138 call(0x1030)
0x1437 139 goto 36 @ 0x1453
0x13b7 140 rsi = rsi + rax
0x13ba 141 xmm2 = [rsp + (rsi << 2) + 0x10].o
0x13c0 142 xmm3 = [rsp + (rsi << 2) + 0x20].o
0x13c6 143 xmm2 = _mm_cmpeq_epi32(xmm2, xmm7)
0x13ca 144 xmm0 = _mm_add_epi32(xmm0, xmm2)
0x13ce 145 xmm3 = _mm_cmpeq_epi32(xmm3, xmm7)
0x13d2 146 xmm1 = _mm_add_epi32(xmm1, xmm3)
0x13d6 147 xmm2 = _mm_cmpeq_epi32(xmm2, xmm2)
0x13da 148 xmm0 = _mm_sub_epi32(xmm0, xmm2)
0x13de 149 xmm1 = _mm_sub_epi32(xmm1, xmm2)
0x13de 150 goto 178 @ 0x13e2
0x147b 151 goto 178 @ 0x13e2
0x1360 152 xmm5 = [rdi + (rsi << 2) - 0x30].o
0x1366 153 xmm6 = [rdi + (rsi << 2) - 0x20].o
0x136c 154 xmm0 = [rdi + (rsi << 2) - 0x10].o
0x1372 155 xmm1 = [rdi + (rsi << 2)].o
0x1377 156 xmm5 = _mm_cmpeq_epi32(xmm5, xmm7)
0x137b 157 xmm5 = _mm_add_epi32(xmm5, xmm3)
0x137f 158 xmm6 = _mm_cmpeq_epi32(xmm6, xmm7)
0x1383 159 xmm6 = _mm_add_epi32(xmm6, xmm4)
0x1387 160 xmm0 = _mm_cmpeq_epi32(xmm0, xmm7)
0x138b 161 xmm1 = _mm_cmpeq_epi32(xmm1, xmm7)
0x138f 162 xmm0 = _mm_add_epi32(xmm0, xmm2)
0x1393 163 xmm0 = _mm_add_epi32(xmm0, xmm5)
0x1397 164 xmm1 = _mm_add_epi32(xmm1, xmm2)
0x139b 165 xmm1 = _mm_add_epi32(xmm1, xmm6)
0x139f 166 rsi = rsi + 0x10
0x13a3 167 xmm3 = xmm0
0x13a7 168 xmm4 = xmm1
0x13ab 169 temp1.q = r13
0x13ab 170 r13 = r13 - 2
0x13af 171 if (temp1.q != 2) then 152 @ 0x1360 else 185 @ 0x13b5
0x12d3 172 rax = rax + r8
0x12d6 173 goto 58 @ 0x12e0
0x12b0 174 [rsi + rdi - 0x10].o = xmm7
0x12b6 175 [rsi + rdi].o = xmm7
0x12bb 176 rdi = rdi + 0x20
0x12c2 177 if (rbx != rdi) then 174 @ 0x12b0 else 125 @ 0x12c4
0x13e2 178 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x13e6 179 xmm1 = _mm_shuffle_epi32(xmm0, 0xee)
0x13eb 180 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x13ef 181 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x13f4 182 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x13f8 183 esi = xmm0.d
0x13ff 184 if (rdx == r8) then 111 @ 0x1427 else 186 @ 0x1401
0x13b5 185 if ((r9b & 1) == 0) then 178 @ 0x13e2 else 140 @ 0x13b7
0x1401 186 rax = rax + r8
0x140e 187 goto 86 @ 0x1410
int64_t _fini():
0x1484 0 rsp = rsp - 8
0x1488 1 rsp = rsp + 8
0x148c 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)
uint64_t strlen(char const* arg1):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
char* gets(char* buf):
0x1060 0 <return> tailcall([0x4030].q)
int32_t puts(char const* str):
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 {"UAWAVAUATSHxH=o"}
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 - 0x78
0x118e 7 rdi = 0x2004 {"%d"}
0x1195 8 rsi = rsp + 0xc {var_9c}
0x119a 9 eax = 0
0x119c 10 call(0x1050)
0x11a1 11 rdi = rsp + 0x10 {var_98}
0x11a6 12 eax = 0
0x11a8 13 call(0x1060)
0x11b2 14 if ([rsp + 0xc {var_9c}].d s<= 0) then 15 @ 0x126f else 24 @ 0x11b8
0x126f 15 eax = 0
0x1271 16 rsp = rsp + 0x78
0x1275 17 rbx = pop
0x1276 18 r12 = pop
0x1278 19 r13 = pop
0x127a 20 r14 = pop
0x127c 21 r15 = pop
0x127e 22 rbp = pop
0x127f 23 <return> jump(pop)
0x11b8 24 r12 = rsp + 0x10 {var_98}
0x11bd 25 r14 = 0x2007 {"%c\n"}
0x11c4 26 r15 = 0x200b {"no"}
0x11cb 27 r13d = 0
0x11ce 28 goto 29 @ 0x11e7
0x11e7 29 rdi = r12 {var_98}
0x11ea 30 eax = 0
0x11ec 31 call(0x1060)
0x11f1 32 rdi = r12 {var_98}
0x11f4 33 call(0x1040)
0x11f9 34 temp0.d = eax
0x11f9 35 cond:0 = temp0.d s<= 0
0x11fb 36 bl = temp0.d s> 0
0x11fe 37 if (cond:0) then 38 @ 0x11d0 else 41 @ 0x1200
0x11d0 38 rdi = r15
0x11d3 39 call(0x1070)
0x11d3 40 goto 45 @ 0x11d8
0x1200 41 r8 = sx.q(eax)
0x1203 42 ecx = r8d
0x1206 43 edx = 0
0x1208 44 goto 47 @ 0x1210
0x11d8 45 r13d = r13d + 1
0x11e1 46 if (r13d s>= [rsp + 0xc {var_9c}].d) then 15 @ 0x126f else 29 @ 0x11e7
0x1210 47 al = [rsp + rdx + 0x10].b
0x1214 48 edi = 0
0x1216 49 ebp = 0
0x1218 50 goto 51 @ 0x1220
0x1220 51 esi = 0
0x1226 52 sil = al == [rsp + rdi + 0x10].b
0x122a 53 ebp = ebp + esi
0x122c 54 rdi = rdi + 1
0x1233 55 if (rcx != rdi) then 51 @ 0x1220 else 56 @ 0x1238
0x1238 56 if (ebp == 1) then 57 @ 0x1250 else 63 @ 0x123a
0x1250 57 eax = edx
0x1252 58 esi = sx.d([rsp + rax + 0x10].b)
0x1257 59 rdi = r14
0x125a 60 eax = 0
0x125c 61 call(0x1030)
0x1264 62 if ((bl & 1) == 0) then 38 @ 0x11d0 else 66 @ 0x126a
0x123a 63 rdx = rdx + 1
0x1241 64 bl = rdx s< r8
0x1247 65 if (rdx != rcx) then 47 @ 0x1210 else 67 @ 0x1249
0x126a 66 goto 45 @ 0x11d8
0x1249 67 goto 38 @ 0x11d0
int64_t _fini():
0x1284 0 rsp = rsp - 8
0x1288 1 rsp = rsp + 8
0x128c 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)
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%d%d"}
0x115c 3 ebx = 0
0x115e 4 rsi = rsp + 0xc {var_c}
0x1163 5 rdx = rsp + 8 {var_10}
0x1168 6 rcx = rsp + 4 {var_14}
0x116d 7 eax = 0
0x116f 8 call(0x1040)
0x1174 9 rcx = sx.q([rsp + 0xc {var_c}].d)
0x117c 10 sil = (cl & 3) == 0
0x1180 11 eax = ecx * -0x3d70a3d7
0x1186 12 eax = eax + 0x51eb850
0x118b 13 eax = ror.d(eax, 2)
0x1193 14 dl = eax u>= 0x28f5c29
0x1196 15 eax = [rsp + 8 {var_10}].d
0x119d 16 if ((sil & dl) != 0) then 17 @ 0x11e0 else 18 @ 0x119f
0x11e0 17 if (eax s<= 0) then 27 @ 0x1210 else 36 @ 0x11e2
0x119f 18 rdx = rcx * 0x51eb851f
0x11a6 19 rsi = rdx
0x11a9 20 rsi = rsi u>> 0x3f
0x11ad 21 rdx = rdx s>> 0x27
0x11b1 22 edx = edx + esi
0x11b3 23 edx = edx * 0x190
0x11b9 24 temp0.d = ecx
0x11b9 25 ecx = ecx - edx
0x11bb 26 if (temp0.d == edx) then 17 @ 0x11e0 else 41 @ 0x11bf
0x1210 27 ebx = ebx + [rsp + 4 {var_14}].d
0x1214 28 rdi = 0x2008 {"%d"}
0x121b 29 esi = ebx
0x121d 30 eax = 0
0x121f 31 call(0x1030)
0x1224 32 eax = 0
0x1226 33 rsp = rsp + 0x10
0x122a 34 rbx = pop
0x122b 35 <return> jump(pop)
0x11e2 36 rax = rax << 2
0x11e6 37 ecx = 0
0x11e8 38 rdx = 0x2010 {""}
0x11ef 39 ebx = 0
0x11fb 40 goto 42 @ 0x1200
0x11bf 41 if (eax s<= 0) then 45 @ 0x120e else 47 @ 0x11c1
0x1200 42 ebx = ebx + [rcx + rdx].d
0x1203 43 rcx = rcx + 4
0x120a 44 if (rax != rcx) then 42 @ 0x1200 else 52 @ 0x120c
0x120e 45 ebx = 0
0x120e 46 goto 27 @ 0x1210
0x11c1 47 rax = rax << 2
0x11c5 48 ecx = 0
0x11c7 49 rdx = 0x2050 {""}
0x11ce 50 ebx = 0
0x11ce 51 goto 53 @ 0x11d0
0x120c 52 goto 27 @ 0x1210
0x11d0 53 ebx = ebx + [rcx + rdx].d
0x11d3 54 rcx = rcx + 4
0x11da 55 if (rax != rcx) then 53 @ 0x11d0 else 56 @ 0x11dc
0x11dc 56 goto 27 @ 0x1210
int64_t _fini():
0x1230 0 rsp = rsp - 8
0x1234 1 rsp = rsp + 8
0x1238 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 {"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)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rax)
0x1151 1 rdi = 0x200a {"%d"}
0x1158 2 rsi = rsp + 4 {var_8+0x4}
0x115d 3 eax = 0
0x115f 4 call(0x1040)
0x1164 5 rsi = sx.q([rsp + 4 {var_8+0x4}].d)
0x1169 6 rax = rsi * 0x66666667
0x1170 7 rcx = rax
0x1173 8 rcx = rcx u>> 0x3f
0x1177 9 rax = rax s>> 0x22
0x117b 10 eax = eax + ecx
0x117d 11 eax = eax + eax
0x117f 12 eax = (rax + (rax << 2)).d
0x1184 13 if (eax != 0) then 14 @ 0x1194 else 23 @ 0x1186
0x1194 14 rsi = sx.q([rsp + 4 {var_8+0x4}].d)
0x1199 15 rdx = rsi * 0x66666667
0x11a0 16 rax = rdx
0x11a3 17 rax = rax u>> 0x3f
0x11a7 18 rdx = rdx s>> 0x22
0x11ab 19 edx = edx + eax
0x11ad 20 eax = (rdx + rdx).d
0x11b0 21 eax = (rax + (rax << 2)).d
0x11b5 22 if (eax == 0) then 27 @ 0x1204 else 35 @ 0x11b7
0x1186 23 rdi = 0x200a {"%d"}
0x118d 24 eax = 0
0x118f 25 call(0x1030)
0x118f 26 goto 14 @ 0x1194
0x1204 27 rax = sx.q([rsp + 4 {var_8+0x4}].d)
0x1209 28 rcx = rax * 0x10624dd3
0x1210 29 rdx = rcx
0x1213 30 rdx = rdx u>> 0x3f
0x1217 31 rcx = rcx s>> 0x26
0x121b 32 ecx = ecx + edx
0x121d 33 ecx = ecx * 0x3e8
0x1225 34 if (ecx != 0) then 44 @ 0x12de else 52 @ 0x122b
0x11b7 35 rcx = rsi * 0x51eb851f
0x11be 36 rdi = rcx
0x11c1 37 rdi = rdi u>> 0x3f
0x11c5 38 rcx = rcx s>> 0x25
0x11c9 39 ecx = ecx + edi
0x11cb 40 ecx = ecx * 0x64
0x11ce 41 edi = esi
0x11d0 42 edi = edi - ecx
0x11d4 43 if (edi != esi) then 27 @ 0x1204 else 65 @ 0x11d6
0x12de 44 rax = sx.q([rsp + 4 {var_8+0x4}].d)
0x12e3 45 rcx = rax * 0x10624dd3
0x12ea 46 rdx = rcx
0x12ed 47 rdx = rdx u>> 0x3f
0x12f1 48 rcx = rcx s>> 0x26
0x12f5 49 ecx = ecx + edx
0x12f7 50 ecx = ecx * 0x3e8
0x12ff 51 if (ecx == 0) then 79 @ 0x1426 else 80 @ 0x1305
0x122b 52 rdx = rax * 0x66666667
0x1232 53 rcx = rdx
0x1235 54 rcx = rcx u>> 0x3f
0x1239 55 rdx = rdx s>> 0x22
0x123d 56 edx = edx + ecx
0x123f 57 ecx = (rdx + rdx).d
0x1242 58 ecx = (rcx + (rcx << 2)).d
0x1245 59 esi = eax
0x1247 60 esi = esi - ecx
0x1249 61 r8d = eax
0x124c 62 temp0.d = r8d
0x124c 63 r8d = r8d - esi
0x124f 64 if (temp0.d == esi) then 44 @ 0x12de else 93 @ 0x1255
0x11d6 65 esi = esi - eax
0x11d8 66 rax = sx.q(edx)
0x11db 67 rax = rax * 0x66666667
0x11e2 68 rcx = rax
0x11e5 69 rcx = rcx u>> 0x3f
0x11e9 70 rax = rax s>> 0x22
0x11ed 71 eax = eax + ecx
0x11ef 72 eax = eax + eax
0x11f1 73 eax = (rax + (rax << 2)).d
0x11f4 74 edx = edx - eax
0x11f6 75 rdi = 0x2008 {"%d%d"}
0x11fd 76 eax = 0
0x11ff 77 call(0x1030)
0x11ff 78 goto 27 @ 0x1204
0x1426 79 if ([rsp + 4 {var_8+0x4}].d != 0x2710) then 102 @ 0x143b else 105 @ 0x1428
0x1305 80 rdx = rax * 0x66666667
0x130c 81 rcx = rdx
0x130f 82 rcx = rcx u>> 0x3f
0x1313 83 rdx = rdx s>> 0x22
0x1317 84 edx = edx + ecx
0x1319 85 ecx = (rdx + rdx).d
0x131c 86 ecx = (rcx + (rcx << 2)).d
0x131f 87 esi = eax
0x1321 88 esi = esi - ecx
0x1323 89 r8d = eax
0x1326 90 temp1.d = r8d
0x1326 91 r8d = r8d - esi
0x1329 92 if (temp1.d == esi) then 79 @ 0x1426 else 110 @ 0x132f
0x1255 93 rdi = rax * 0x51eb851f
0x125c 94 rcx = rdi
0x125f 95 rcx = rcx u>> 0x3f
0x1263 96 rdi = rdi s>> 0x25
0x1267 97 edi = edi + ecx
0x1269 98 ecx = edi * 0x64
0x126c 99 edi = eax
0x126e 100 edi = edi - ecx
0x1272 101 if (edi == eax) then 44 @ 0x12de else 119 @ 0x1274
0x143b 102 eax = 0
0x143d 103 rcx = pop
0x143e 104 <return> jump(pop)
0x1428 105 rdi = 0x200a {"%d"}
0x142f 106 esi = 1
0x1434 107 eax = 0
0x1436 108 call(0x1030)
0x1436 109 goto 102 @ 0x143b
0x132f 110 rdi = rax * 0x51eb851f
0x1336 111 rcx = rdi
0x1339 112 rcx = rcx u>> 0x3f
0x133d 113 rdi = rdi s>> 0x25
0x1341 114 edi = edi + ecx
0x1343 115 ecx = edi * 0x64
0x1346 116 edi = eax
0x1348 117 edi = edi - ecx
0x134c 118 if (edi == eax) then 79 @ 0x1426 else 150 @ 0x1352
0x1274 119 rax = sx.q(edx)
0x1277 120 rax = rax * 0x66666667
0x127e 121 rcx = rax
0x1281 122 rcx = rcx u>> 0x3f
0x1285 123 rax = rax s>> 0x22
0x1289 124 eax = eax + ecx
0x128b 125 eax = eax + eax
0x128d 126 eax = (rax + (rax << 2)).d
0x1290 127 edx = edx - eax
0x1292 128 eax = (rdx + rdx).d
0x1295 129 eax = (rax + (rax << 2)).d
0x1298 130 r8d = r8d - eax
0x129b 131 rax = sx.q(r8d)
0x129e 132 rax = rax * 0x51eb851f
0x12a5 133 rcx = rax
0x12a8 134 rcx = rcx u>> 0x3f
0x12ac 135 rax = rax s>> 0x25
0x12b0 136 eax = eax + ecx
0x12b2 137 rcx = sx.q(eax)
0x12b5 138 rax = rcx * 0x66666667
0x12bc 139 rdi = rax
0x12bf 140 rdi = rdi u>> 0x3f
0x12c3 141 rax = rax s>> 0x22
0x12c7 142 eax = eax + edi
0x12c9 143 eax = eax + eax
0x12cb 144 eax = (rax + (rax << 2)).d
0x12ce 145 ecx = ecx - eax
0x12d0 146 rdi = 0x2006 {"%d%d%d"}
0x12d7 147 eax = 0
0x12d9 148 call(0x1030)
0x12d9 149 goto 44 @ 0x12de
0x1352 150 rcx = rax * 0x68db8bad
0x1359 151 rdi = rcx
0x135c 152 rdi = rdi u>> 0x3f
0x1360 153 rcx = rcx s>> 0x2c
0x1364 154 ecx = ecx + edi
0x1366 155 ecx = ecx * 0x2710
0x136c 156 edi = eax
0x136e 157 edi = edi - ecx
0x1372 158 if (edi != eax) then 79 @ 0x1426 else 159 @ 0x1378
0x1378 159 rax = sx.q(edx)
0x137b 160 rax = rax * 0x66666667
0x1382 161 rcx = rax
0x1385 162 rcx = rcx u>> 0x3f
0x1389 163 rax = rax s>> 0x22
0x138d 164 eax = eax + ecx
0x138f 165 eax = eax + eax
0x1391 166 eax = (rax + (rax << 2)).d
0x1394 167 edx = edx - eax
0x1396 168 eax = (rdx + rdx).d
0x1399 169 eax = (rax + (rax << 2)).d
0x139c 170 r8d = r8d - eax
0x139f 171 r8 = sx.q(r8d)
0x13a2 172 rcx = r8 * 0x51eb851f
0x13a9 173 rdi = rcx
0x13ac 174 rdi = rdi u>> 0x3f
0x13b0 175 rcx = rcx s>> 0x25
0x13b4 176 ecx = ecx + edi
0x13b6 177 rcx = sx.q(ecx)
0x13b9 178 rdi = rcx * 0x66666667
0x13c0 179 rax = rdi
0x13c3 180 rax = rax u>> 0x3f
0x13c7 181 rdi = rdi s>> 0x22
0x13cb 182 edi = edi + eax
0x13cd 183 edi = edi + edi
0x13cf 184 eax = (rdi + (rdi << 2)).d
0x13d2 185 ecx = ecx - eax
0x13d4 186 eax = ecx * -0x64
0x13d7 187 r8d = r8d + eax
0x13da 188 rax = sx.q(r8d)
0x13dd 189 rax = rax * 0x10624dd3
0x13e4 190 rdi = rax
0x13e7 191 rdi = rdi u>> 0x3f
0x13eb 192 rax = rax s>> 0x26
0x13ef 193 eax = eax + edi
0x13f1 194 r8 = sx.q(eax)
0x13f4 195 rax = r8 * 0x66666667
0x13fb 196 rdi = rax
0x13fe 197 rdi = rdi u>> 0x3f
0x1402 198 rax = rax s>> 0x22
0x1406 199 eax = eax + edi
0x1408 200 eax = eax + eax
0x140a 201 eax = (rax + (rax << 2)).d
0x140d 202 r8d = r8d - eax
0x1410 203 rdi = 0x2004 {"%d%d%d%d"}
0x1417 204 eax = 0
0x1419 205 call(0x1030)
0x1419 206 goto 79 @ 0x1426
int64_t _fini():
0x1444 0 rsp = rsp - 8
0x1448 1 rsp = rsp + 8
0x144c 2 <return> jump(pop)
| POJ_16 |
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)
uint64_t strlen(char const* arg1):
0x1050 0 <return> tailcall([0x4028].q)
char* gets(char* buf):
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 - 0x240
0x117c 4 r14 = rsp + 0x110 {var_148}
0x1184 5 r15d = 0
0x1187 6 edx = 0x12c {""}
0x118c 7 rdi = r14 {var_148}
0x118f 8 esi = 0
0x1191 9 call(0x1040)
0x1196 10 xmm0 = 0
0x1199 11 [rsp + 0x20 {var_238}].o = xmm0
0x119e 12 [rsp + 0x10 {var_248}].o = xmm0
0x11a3 13 [rsp {var_258}].o = xmm0
0x11a7 14 [rsp + 0x30 {var_228}].d = 0
0x11af 15 rdi = r14 {var_148}
0x11b2 16 eax = 0
0x11b4 17 call(0x1060)
0x11b9 18 xmm0 = 0
0x11bc 19 [rsp + 0x100 {var_158}].o = xmm0
0x11c4 20 [rsp + 0xf0 {var_168}].o = xmm0
0x11cc 21 [rsp + 0xe0 {var_178}].o = xmm0
0x11d4 22 [rsp + 0xd0 {var_188}].o = xmm0
0x11dc 23 [rsp + 0xc0 {var_198}].o = xmm0
0x11e4 24 [rsp + 0xb0 {var_1a8}].o = xmm0
0x11ec 25 [rsp + 0xa0 {var_1b8}].o = xmm0
0x11f4 26 [rsp + 0x90 {var_1c8}].o = xmm0
0x11fc 27 [rsp + 0x80 {var_1d8}].o = xmm0
0x1204 28 [rsp + 0x70 {var_1e8}].o = xmm0
0x1209 29 [rsp + 0x60 {var_1f8}].o = xmm0
0x120e 30 [rsp + 0x50 {var_208}].o = xmm0
0x1213 31 [rsp + 0x40 {var_218}].o = xmm0
0x1218 32 rdi = r14 {var_148}
0x121b 33 call(0x1050)
0x1222 34 if (eax s<= 0) then 35 @ 0x130d else 39 @ 0x1228
0x130d 35 rdi = 0x200b {"No"}
0x1314 36 eax = 0
0x1316 37 call(0x1030)
0x1316 38 goto 42 @ 0x131b
0x1228 39 eax = eax
0x122a 40 ecx = 0
0x122c 41 goto 47 @ 0x1248
0x131b 42 rsp = rsp + 0x240
0x1322 43 rbx = pop
0x1323 44 r14 = pop
0x1325 45 r15 = pop
0x1327 46 <return> jump(pop)
0x1248 47 bl = [rsp + rcx + 0x110].b
0x124f 48 edx = ebx
0x1251 49 dl = dl & 0xdf
0x1254 50 dl = dl - 0x41
0x125a 51 if (dl u> 0x19) then 52 @ 0x123f else 54 @ 0x125f
0x123f 52 rcx = rcx + 1
0x1246 53 if (rcx == rax) then 55 @ 0x1283 else 47 @ 0x1248
0x125f 54 if (r15d s<= 0) then 56 @ 0x1230 else 60 @ 0x1261
0x1283 55 if (r15d s<= 0) then 63 @ 0x12d6 else 66 @ 0x1285
0x1230 56 rsi = sx.q(r15d)
0x1233 57 r15d = r15d + 1
0x1237 58 [rsp + rsi].b = bl
0x1237 59 goto 69 @ 0x123a
0x1261 60 edi = r15d
0x1264 61 esi = 0
0x1266 62 goto 71 @ 0x1273
0x12d6 63 temp0.d = r15d
0x12d6 64 cond:0 = temp0.d s<= 0
0x12d9 65 if (temp0.d == 0) then 35 @ 0x130d else 72 @ 0x12db
0x1285 66 eax = 0
0x1287 67 ecx = r15d
0x128a 68 goto 73 @ 0x129b
0x123a 69 [rsp + (rsi << 2) + 0x40].d = [rsp + (rsi << 2) + 0x40].d + 1
0x123a 70 goto 52 @ 0x123f
0x1273 71 if (bl == [rsp + rsi].b) then 69 @ 0x123a else 75 @ 0x1275
0x12db 72 if (cond:0) then 42 @ 0x131b else 77 @ 0x12dd
0x129b 73 ecx = ecx
0x12a0 74 if (r15d s<= eax) then 81 @ 0x1290 else 84 @ 0x12a2
0x1275 75 rsi = rsi + 1
0x127c 76 if (rdi != rsi) then 71 @ 0x1273 else 87 @ 0x127e
0x12dd 77 r15d = r15d + 1
0x12e1 78 ebx = 1
0x12e6 79 r14 = 0x2004 {"%c=%d\n"}
0x12ed 80 goto 88 @ 0x12f0
0x1290 81 eax = eax + 1
0x1293 82 ecx = ecx - 1
0x1299 83 if (eax == r15d) then 63 @ 0x12d6 else 73 @ 0x129b
0x12a2 84 bl = [rsp {var_258}].b
0x12a5 85 edi = 0
0x12a7 86 goto 95 @ 0x12c5
0x127e 87 goto 56 @ 0x1230
0x12f0 88 esi = sx.d([rsp + rbx].b)
0x12f4 89 edx = [rsp + (rbx << 2) + 0x40].d
0x12f8 90 rdi = r14
0x12fb 91 eax = 0
0x12fd 92 call(0x1030)
0x1302 93 rbx = rbx + 1
0x1309 94 if (r15 != rbx) then 88 @ 0x12f0 else 98 @ 0x130b
0x12c5 95 rsi = rdi + 1
0x12c9 96 edx = zx.d([rsp + rdi + 1].b)
0x12d0 97 if (bl s> dl) then 99 @ 0x12b0 else 103 @ 0x12d2
0x130b 98 goto 42 @ 0x131b
0x12b0 99 [rsp + rdi].b = dl
0x12b3 100 [rsp + rdi + 1].b = bl
0x12b7 101 [rsp + (rdi << 2) + 0x40].q = rol.q([rsp + (rdi << 2) + 0x40].q, 0x20)
0x12b7 102 goto 105 @ 0x12bd
0x12d2 103 ebx = edx
0x12d4 104 goto 105 @ 0x12bd
0x12bd 105 rdi = rsi
0x12c3 106 if (rcx == rsi) then 81 @ 0x1290 else 95 @ 0x12c5
int64_t _fini():
0x132c 0 rsp = rsp - 8
0x1330 1 rsp = rsp + 8
0x1334 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)
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 {"UAWAVAUATSH5"}
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 - 0xc3518
0x1171 7 rdi = 0x2010 {"%d"}
0x1178 8 rsi = rsp + 4 {var_c3544}
0x117d 9 eax = 0
0x117f 10 call(0x1040)
0x1189 11 if ([rsp + 4 {var_c3544}].d s<= 0) then 12 @ 0x1315 else 21 @ 0x118f
0x1315 12 eax = 0
0x1317 13 rsp = rsp + 0xc3518
0x131e 14 rbx = pop
0x131f 15 r12 = pop
0x1321 16 r13 = pop
0x1323 17 r14 = pop
0x1325 18 r15 = pop
0x1327 19 rbp = pop
0x1328 20 <return> jump(pop)
0x118f 21 ebp = 1
0x1194 22 r15 = rsp {var_c3548}
0x1197 23 r13 = 0x2013 {"%lf"}
0x119e 24 r12 = 0x2017 {"%.5lf\n"}
0x11a5 25 goto 26 @ 0x11ce
0x11ce 26 rdi = 0x2010 {"%d"}
0x11d5 27 rsi = r15 {var_c3548}
0x11d8 28 eax = 0
0x11da 29 call(0x1040)
0x11df 30 eax = [rsp {var_c3548}].d
0x11e4 31 if (eax s<= 0) then 32 @ 0x1260 else 35 @ 0x11e6
0x1260 32 xmm1 = 0
0x1263 33 xmm1.q = float.d(eax)
0x1263 34 goto 39 @ 0x1267
0x11e6 35 xmm4 = 0
0x11e9 36 rbx = rsp + 0x10 {var_c3538}
0x11ee 37 r14d = 0
0x11fb 38 goto 41 @ 0x1200
0x1267 39 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x126b 40 goto 52 @ 0x12fa
0x1200 41 [rsp + 8 {var_c3540_1}].q = xmm4.q
0x1206 42 rdi = r13
0x1209 43 rsi = rbx
0x120c 44 eax = 0
0x120e 45 call(0x1040)
0x1213 46 xmm4 = zx.o([rsp + 8 {var_c3540_1}].q)
0x1219 47 xmm4.q = xmm4.q f+ fconvert.t([rbx].q)
0x121d 48 r14 = r14 + 1
0x1221 49 rax = sx.q([rsp {var_c3548}].d)
0x1225 50 rbx = rbx + 8
0x122c 51 if (r14 s< rax) then 41 @ 0x1200 else 60 @ 0x122e
0x12fa 52 xmm0.q = xmm0.q f/ xmm1.q
0x12fe 53 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x12fe 54 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x12fe 55 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x12fe 56 flag:s = 0
0x12fe 57 flag:o = 0
0x12fe 58 flag:a = 0
0x1306 59 if (flag:c) then 64 @ 0x11b0 else 66 @ 0x130c
0x122e 60 ecx = eax
0x1230 61 xmm1 = 0
0x1233 62 xmm1.q = float.d(ecx)
0x1239 63 if (ecx s<= 0) then 39 @ 0x1267 else 68 @ 0x123b
0x11b0 64 call(0x1050)
0x11b0 65 goto 73 @ 0x11b5
0x130c 66 xmm0 = _mm_sqrt_sd(xmm0.q)
0x1310 67 goto 73 @ 0x11b5
0x123b 68 xmm4.q = xmm4.q f/ xmm1.q
0x123f 69 rdx = rcx - 1
0x1243 70 eax = ecx
0x1245 71 eax = eax & 3
0x124c 72 if (rdx u>= 3) then 80 @ 0x1270 else 84 @ 0x124e
0x11b5 73 rdi = r12
0x11b8 74 al = 1
0x11ba 75 call(0x1030)
0x11bf 76 eax = (rbp + 1).d
0x11c2 77 cond:0 = ebp s>= [rsp + 4 {var_c3544}].d
0x11c6 78 ebp = eax
0x11c8 79 if (cond:0) then 12 @ 0x1315 else 26 @ 0x11ce
0x1270 80 ecx = ecx & 0xfffffffc
0x1273 81 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x1277 82 edx = 0
0x1279 83 goto 87 @ 0x1280
0x124e 84 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x1252 85 edx = 0
0x1254 86 goto 105 @ 0x12d4
0x1280 87 xmm2 = zx.o([rsp + (rdx << 3) + 0x10].q)
0x1286 88 xmm3 = zx.o([rsp + (rdx << 3) + 0x18].q)
0x128c 89 xmm2.q = xmm2.q f- xmm4.q
0x1290 90 xmm2.q = xmm2.q f* xmm2.q
0x1294 91 xmm2.q = xmm2.q f+ xmm0.q
0x1298 92 xmm3.q = xmm3.q f- xmm4.q
0x129c 93 xmm3.q = xmm3.q f* xmm3.q
0x12a0 94 xmm3.q = xmm3.q f+ xmm2.q
0x12a4 95 xmm2 = zx.o([rsp + (rdx << 3) + 0x20].q)
0x12aa 96 xmm2.q = xmm2.q f- xmm4.q
0x12ae 97 xmm2.q = xmm2.q f* xmm2.q
0x12b2 98 xmm2.q = xmm2.q f+ xmm3.q
0x12b6 99 xmm0 = zx.o([rsp + (rdx << 3) + 0x28].q)
0x12bc 100 xmm0.q = xmm0.q f- xmm4.q
0x12c0 101 xmm0.q = xmm0.q f* xmm0.q
0x12c4 102 xmm0.q = xmm0.q f+ xmm2.q
0x12c8 103 rdx = rdx + 4
0x12cf 104 if (rcx != rdx) then 87 @ 0x1280 else 105 @ 0x12d4
0x12d4 105 if (rax == 0) then 52 @ 0x12fa else 106 @ 0x12d6
0x12d6 106 rcx = rsp + (rdx << 3)
0x12da 107 rcx = rcx + 0x10
0x12de 108 edx = 0
0x12de 109 goto 110 @ 0x12e0
0x12e0 110 xmm2 = zx.o([rcx + (rdx << 3)].q)
0x12e5 111 xmm2.q = xmm2.q f- xmm4.q
0x12e9 112 xmm2.q = xmm2.q f* xmm2.q
0x12ed 113 xmm0.q = xmm0.q f+ xmm2.q
0x12f1 114 rdx = rdx + 1
0x12f8 115 if (rax != rdx) then 110 @ 0x12e0 else 52 @ 0x12fa
int64_t _fini():
0x1330 0 rsp = rsp - 8
0x1334 1 rsp = rsp + 8
0x1338 2 <return> jump(pop)
| POJ_38 |
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 atoi(char const* nptr):
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 {"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 - 0x1008
0x1171 7 rbx = rsp + 0xb {var_102d}
0x1176 8 rdi = rbx {var_102d}
0x1179 9 eax = 0
0x117b 10 call(0x1050)
0x1180 11 rdi = rbx {var_102d}
0x1183 12 eax = 0
0x1185 13 call(0x1040)
0x118c 14 if (eax == 0) then 15 @ 0x1257 else 24 @ 0x1192
0x1257 15 eax = 0
0x1259 16 rsp = rsp + 0x1008
0x1260 17 rbx = pop
0x1261 18 r12 = pop
0x1263 19 r13 = pop
0x1265 20 r14 = pop
0x1267 21 r15 = pop
0x1269 22 rbp = pop
0x126a 23 <return> jump(pop)
0x1192 24 [rsp + 0xc {var_102c_1}].d = eax
0x1196 25 r13d = eax
0x1199 26 r15 = rsp + 0x11 {var_1027}
0x119e 27 r12 = rsp + 0x10 {var_1028}
0x11a3 28 r14d = 0
0x11a6 29 goto 30 @ 0x11c3
0x11c3 30 rdi = r12 {var_1028}
0x11c6 31 eax = 0
0x11c8 32 call(0x1050)
0x11cd 33 dil = [rsp + 0x10 {var_1028}].b
0x11d5 34 if (dil == 0) then 35 @ 0x11b0 else 37 @ 0x11d7
0x11b0 35 edx = 1
0x11b0 36 goto 41 @ 0x11b5
0x11d7 37 ecx = 0
0x11d9 38 rdx = r15 {var_1027}
0x11dc 39 esi = edi
0x11de 40 goto 44 @ 0x11e0
0x11b5 41 [rsp + (r14 << 2) + 0x60].d = edx
0x11ba 42 r14 = r14 + 1
0x11c1 43 if (r14 == r13) then 60 @ 0x122a else 30 @ 0x11c3
0x11e0 44 eax = esi
0x11e2 45 al = al & 0xdf
0x11e4 46 al = al - 0x5b
0x11e6 47 flag:c = al u< -0x1a
0x11e8 48 r8b = flag:c
0x11ec 49 ebp = (rsi - 0x3a).d
0x11ef 50 flag:c = bpl u< -0xa
0x11f3 51 bl = flag:c
0x11fa 52 al = sil != 0x5f
0x11fd 53 al = al & bl
0x11ff 54 al = al & r8b
0x1202 55 eax = zx.d(al)
0x1205 56 ecx = ecx + eax
0x1207 57 esi = zx.d([rdx].b)
0x120a 58 rdx = rdx + 1
0x1211 59 if (sil != 0) then 44 @ 0x11e0 else 61 @ 0x1213
0x122a 60 if ([rsp + 0xc {var_102c_1}].d s<= 0) then 15 @ 0x1257 else 63 @ 0x122c
0x1213 61 edx = 0
0x1217 62 if (ecx != 0) then 41 @ 0x11b5 else 66 @ 0x1219
0x122c 63 r14 = 0x2004 {"%d\n"}
0x1233 64 ebx = 0
0x123f 65 goto 68 @ 0x1240
0x1219 66 dil = dil - 0x30
0x1221 67 if (dil u>= 0xa) then 35 @ 0x11b0 else 74 @ 0x1223
0x1240 68 esi = [rsp + (rbx << 2) + 0x60].d
0x1244 69 rdi = r14
0x1247 70 eax = 0
0x1249 71 call(0x1030)
0x124e 72 rbx = rbx + 1
0x1255 73 if (r13 != rbx) then 68 @ 0x1240 else 15 @ 0x1257
0x1223 74 goto 41 @ 0x11b5
int64_t _fini():
0x1270 0 rsp = rsp - 8
0x1274 1 rsp = rsp + 8
0x1278 2 <return> jump(pop)
| POJ_58 |
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 {"UAWAVAUATSHhH="}
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 rdi = 0x2004 {"%d\n"}
0x1165 8 rsi = rsp + 0xc {var_8c}
0x116a 9 eax = 0
0x116c 10 call(0x1040)
0x1176 11 if ([rsp + 0xc {var_8c}].d s<= 0) then 12 @ 0x126e else 21 @ 0x117c
0x126e 12 eax = 0
0x1270 13 rsp = rsp + 0x68
0x1274 14 rbx = pop
0x1275 15 r12 = pop
0x1277 16 r13 = pop
0x1279 17 r14 = pop
0x127b 18 r15 = pop
0x127d 19 rbp = pop
0x127e 20 <return> jump(pop)
0x117c 21 r12 = 0x2008 {"%d"}
0x1183 22 rbp = rsp + 0x10 {var_88}
0x1188 23 r13d = 0
0x118b 24 goto 25 @ 0x11d4
0x11d4 25 rdi = r12
0x11d7 26 rsi = rsp + 8 {var_90}
0x11dc 27 eax = 0
0x11de 28 call(0x1040)
0x11e3 29 eax = [rsp + 8 {var_90}].d
0x11e7 30 r14d = 0
0x11ed 31 temp0.d = eax
0x11ed 32 cond:0 = temp0.d == 0
0x11ed 33 cond:1 = temp0.d s<= 0
0x11ef 34 ecx = 0x3c {""}
0x11f4 35 if (cond:0) then 36 else 38 @ 0x11f8
0x11f4 36 r14d = ecx
0x11f4 37 goto 38 @ 0x11f8
0x11f8 38 if (cond:1) then 39 @ 0x11a0 else 45 @ 0x11fa
0x11a0 39 rax = sx.q(eax)
0x11a2 40 ecx = (rax + (rax << 1)).d
0x11a5 41 esi = 0x3c {""}
0x11aa 42 esi = esi - ecx
0x11ac 43 ecx = ecx + [rsp + (rax << 2) + 0xc].d
0x11b3 44 if (ecx s>= 0x3c) then 48 else 50 @ 0x11b7
0x11fa 45 rbx = rbp {var_88}
0x11fd 46 r15d = 0
0x11fd 47 goto 55 @ 0x1200
0x11b3 48 esi = r14d
0x11b3 49 goto 50 @ 0x11b7
0x11b7 50 rdi = 0x2004 {"%d\n"}
0x11be 51 eax = 0
0x11c0 52 call(0x1030)
0x11c5 53 r13d = r13d + 1
0x11ce 54 if (r13d s>= [rsp + 0xc {var_8c}].d) then 12 @ 0x126e else 25 @ 0x11d4
0x1200 55 rdi = r12
0x1203 56 rsi = rbx
0x1206 57 eax = 0
0x1208 58 call(0x1040)
0x120d 59 r15 = r15 + 1
0x1211 60 rax = sx.q([rsp + 8 {var_90}].d)
0x1216 61 rbx = rbx + 4
0x121d 62 if (r15 s< rax) then 55 @ 0x1200 else 63 @ 0x1221
0x1221 63 if (eax s<= 0) then 39 @ 0x11a0 else 64 @ 0x1227
0x1227 64 ecx = eax
0x1229 65 rdx = rcx + (rcx << 1)
0x122d 66 rsi = rbp {var_88}
0x1230 67 ecx = 0
0x123c 68 goto 69 @ 0x1240
0x1240 69 edi = [rsi].d
0x1242 70 rbx = rcx + rdi
0x1249 71 if (ebx s>= 0x3d) then 72 @ 0x118d else 75 @ 0x1252
0x118d 72 r14d = 0x3c {""}
0x1193 73 r14d = r14d - ecx
0x1196 74 goto 39 @ 0x11a0
0x1252 75 if (ebx s>= 0x39) then 76 @ 0x1266 else 78 @ 0x1254
0x1266 76 r14d = edi
0x1269 77 goto 39 @ 0x11a0
0x1254 78 rcx = rcx + 3
0x1258 79 rsi = rsi + 4
0x125f 80 if (rdx != rcx) then 69 @ 0x1240 else 81 @ 0x1261
0x1261 81 goto 39 @ 0x11a0
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 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)
int64_t malloc(uint64_t bytes):
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 {"UHH0E"}
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 - 0x30
0x1178 3 [rbp - 4 {var_c}].d = 0
0x117f 4 rdi = 0x2004 {"%d"}
0x1186 5 rsi = rbp - 8 {var_10}
0x118a 6 al = 0
0x118c 7 call(0x1040)
0x118c 8 goto 9 @ 0x1191
0x1191 9 eax = [rbp - 8 {var_10}].d
0x1194 10 ecx = eax
0x1196 11 ecx = ecx - 1
0x1199 12 [rbp - 8 {var_10}].d = ecx
0x119f 13 if (eax == 0) then 14 @ 0x12c7 else 18 @ 0x11a5
0x12c7 14 eax = 0
0x12c9 15 rsp = rsp + 0x30
0x12cd 16 rbp = pop
0x12ce 17 <return> jump(pop)
0x11a5 18 xmm0 = 0
0x11a8 19 [rbp - 0x28 {var_30_1}].q = xmm0.q
0x11ad 20 xmm0 = 0
0x11b0 21 [rbp - 0x20 {var_28_1}].q = xmm0.q
0x11b5 22 rdi = 0x2004 {"%d"}
0x11bc 23 rsi = rbp - 0x10 {var_18}
0x11c0 24 al = 0
0x11c2 25 call(0x1040)
0x11c7 26 rdi = sx.q([rbp - 0x10 {var_18}].d)
0x11cb 27 rdi = rdi << 3
0x11cf 28 call(0x1060)
0x11d4 29 [rbp - 0x18 {var_20_1}].q = rax
0x11d8 30 [rbp - 0xc {var_14_1}].d = 0
0x11d8 31 goto 32 @ 0x11df
0x11df 32 eax = [rbp - 0xc {var_14_1}].d
0x11e5 33 if (eax s>= [rbp - 0x10 {var_18}].d) then 34 @ 0x122d else 40 @ 0x11eb
0x122d 34 xmm0 = zx.o([rbp - 0x28 {var_30_1}].q)
0x1232 35 xmm1.q = float.d([rbp - 0x10 {var_18}].d)
0x1237 36 xmm0.q = xmm0.q f/ xmm1.q
0x123b 37 [rbp - 0x28 {var_30_2}].q = xmm0.q
0x1240 38 [rbp - 0xc {var_14_2}].d = 0
0x1240 39 goto 56 @ 0x1247
0x11eb 40 rsi = [rbp - 0x18 {var_20_1}].q
0x11ef 41 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x11f3 42 rax = rax << 3
0x11f7 43 rsi = rsi + rax
0x11fa 44 rdi = 0x2007 {"%lf"}
0x1201 45 al = 0
0x1203 46 call(0x1040)
0x1208 47 rax = [rbp - 0x18 {var_20_1}].q
0x120c 48 rcx = sx.q([rbp - 0xc {var_14_1}].d)
0x1210 49 xmm0 = zx.o([rax + (rcx << 3)].q)
0x1215 50 xmm0.q = xmm0.q f+ fconvert.t([rbp - 0x28 {var_30_1}].q)
0x121a 51 [rbp - 0x28 {var_30_1}].q = xmm0.q
0x121f 52 eax = [rbp - 0xc {var_14_1}].d
0x1222 53 eax = eax + 1
0x1225 54 [rbp - 0xc {var_14_1}].d = eax
0x1228 55 goto 32 @ 0x11df
0x1247 56 eax = [rbp - 0xc {var_14_2}].d
0x124d 57 if (eax s>= [rbp - 0x10 {var_18}].d) then 58 @ 0x1297 else 68 @ 0x1253
0x1297 58 xmm0 = zx.o([rbp - 0x20 {var_28_1}].q)
0x129c 59 xmm1.q = float.d([rbp - 0x10 {var_18}].d)
0x12a1 60 xmm0.q = xmm0.q f/ xmm1.q
0x12a5 61 call(0x1050)
0x12aa 62 [rbp - 0x20 {var_28_2}].q = xmm0.q
0x12af 63 xmm0 = zx.o([rbp - 0x20 {var_28_2}].q)
0x12b4 64 rdi = 0x200b {"%.5f\n"}
0x12bb 65 al = 1
0x12bd 66 call(0x1030)
0x12c2 67 goto 9 @ 0x1191
0x1253 68 rax = [rbp - 0x18 {var_20_1}].q
0x1257 69 rcx = sx.q([rbp - 0xc {var_14_2}].d)
0x125b 70 xmm0 = zx.o([rax + (rcx << 3)].q)
0x1260 71 xmm0.q = xmm0.q f- fconvert.t([rbp - 0x28 {var_30_2}].q)
0x1265 72 rax = [rbp - 0x18 {var_20_1}].q
0x1269 73 rcx = sx.q([rbp - 0xc {var_14_2}].d)
0x126d 74 xmm2 = zx.o([rax + (rcx << 3)].q)
0x1272 75 xmm2.q = xmm2.q f- fconvert.t([rbp - 0x28 {var_30_2}].q)
0x1277 76 xmm1 = zx.o([rbp - 0x20 {var_28_1}].q)
0x127c 77 xmm0.q = xmm0.q f* xmm2.q
0x1280 78 xmm0.q = xmm0.q f+ xmm1.q
0x1284 79 [rbp - 0x20 {var_28_1}].q = xmm0.q
0x1289 80 eax = [rbp - 0xc {var_14_2}].d
0x128c 81 eax = eax + 1
0x128f 82 [rbp - 0xc {var_14_2}].d = eax
0x1292 83 goto 56 @ 0x1247
int64_t _fini():
0x12d4 0 rsp = rsp - 8
0x12d8 1 rsp = rsp + 8
0x12dc 2 <return> jump(pop)
| POJ_38 |
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 {"UHAWAVAUATSHH="}
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 push(r15)
0x1156 3 push(r14)
0x1158 4 push(r13)
0x115a 5 push(r12)
0x115c 6 push(rbx)
0x115d 7 rsp = rsp - 0x18
0x1161 8 rdi = 0x2010 {"%d"}
0x1168 9 rsi = rbp - 0x2c {var_34}
0x116c 10 eax = 0
0x116e 11 call(0x1030)
0x1173 12 [rbp - 0x40 {var_48}].q = rsp {var_48}
0x1177 13 eax = [rbp - 0x2c {var_34}].d
0x117a 14 eax = eax - 1
0x117d 15 rcx = rsp {var_48}
0x1180 16 rax = (rax << 2) + 0xf
0x1188 17 rax = rax & 0xfffffffffffffff0
0x118c 18 rcx = rcx - rax
0x118f 19 [rbp - 0x38 {var_40}].q = rcx
0x1193 20 rsp = rcx
0x1196 21 eax = [rbp - 0x2c {var_34}].d
0x1199 22 ecx = (rax - 1).d
0x119c 23 r12 = rsp
0x119f 24 rcx = (rcx << 2) + 0xf
0x11a7 25 rcx = rcx & 0xfffffffffffffff0
0x11ab 26 r12 = r12 - rcx
0x11ae 27 rsp = r12
0x11b3 28 if (eax s<= 0) then 29 @ 0x11ff else 32 @ 0x11b5
0x11ff 29 cond:0 = [rbp - 0x2c {var_34}].d s< 2
0x1203 30 r13 = [rbp - 0x38 {var_40}].q
0x1207 31 if (cond:0) then 37 @ 0x12aa else 47 @ 0x120d
0x11b5 32 r14 = 0x2013 {"%f"}
0x11bc 33 r15 = [rbp - 0x38 {var_40}].q
0x11c0 34 rbx = r12
0x11c3 35 r13d = 0
0x11c6 36 goto 55 @ 0x11d0
0x12aa 37 rsp = [rbp - 0x40 {var_48}].q
0x12ae 38 eax = 0
0x12b0 39 rsp = rbp - 0x28
0x12b4 40 rbx = pop
0x12b5 41 r12 = pop
0x12b7 42 r13 = pop
0x12b9 43 r14 = pop
0x12bb 44 r15 = pop
0x12bd 45 rbp = pop
0x12be 46 <return> jump(pop)
0x120d 47 xmm0 = [r12].d
0x1213 48 xmm0.d = xmm0.d f/ fconvert.t([r13].d)
0x1219 49 [rbp - 0x30 {var_38_1}].d = xmm0.d
0x121e 50 ebx = 1
0x1223 51 r14 = 0x2021 {"better"}
0x122a 52 xmm3 = zx.o([0x2008].q)
0x1232 53 r15 = 0x201b {"worse"}
0x1239 54 goto 68 @ 0x125a
0x11d0 55 rdi = r14
0x11d3 56 rsi = r15
0x11d6 57 eax = 0
0x11d8 58 call(0x1030)
0x11dd 59 rdi = r14
0x11e0 60 rsi = rbx
0x11e3 61 eax = 0
0x11e5 62 call(0x1030)
0x11ea 63 r13 = r13 + 1
0x11ee 64 rax = sx.q([rbp - 0x2c {var_34}].d)
0x11f2 65 rbx = rbx + 4
0x11f6 66 r15 = r15 + 4
0x11fd 67 if (r13 s< rax) then 55 @ 0x11d0 else 29 @ 0x11ff
0x125a 68 xmm1 = [r12 + (rbx << 2)].d
0x1260 69 xmm1.d = xmm1.d f/ fconvert.t([r13 + (rbx << 2)].d)
0x1267 70 xmm0 = xmm1
0x126a 71 xmm0.d = xmm0.d f- fconvert.t([rbp - 0x30 {var_38_1}].d)
0x126f 72 xmm0.q = fconvert.d(xmm0.d)
0x1273 73 flag:p = is_unordered.q(xmm0.q, xmm3.q)
0x1273 74 flag:c = xmm0.q f< xmm3.q | is_unordered.q(xmm0.q, xmm3.q)
0x1273 75 flag:z = xmm0.q f== xmm3.q | is_unordered.q(xmm0.q, xmm3.q)
0x1273 76 flag:s = 0
0x1273 77 flag:o = 0
0x1273 78 flag:a = 0
0x1277 79 rdi = r14
0x127a 80 if (not(flag:z) && not(flag:c)) then 81 @ 0x1240 else 84 @ 0x127c
0x1240 81 call(0x1040)
0x1245 82 xmm3 = zx.o([0x2008].q)
0x1245 83 goto 96 @ 0x124d
0x127c 84 xmm2 = [rbp - 0x30 {var_38_1}].d
0x1281 85 xmm2.d = xmm2.d f- xmm1.d
0x1285 86 xmm1 = 0
0x1288 87 xmm1.q = fconvert.d(xmm2.d)
0x128c 88 flag:p = is_unordered.q(xmm1.q, xmm3.q)
0x128c 89 flag:c = xmm1.q f< xmm3.q | is_unordered.q(xmm1.q, xmm3.q)
0x128c 90 flag:z = xmm1.q f== xmm3.q | is_unordered.q(xmm1.q, xmm3.q)
0x128c 91 flag:s = 0
0x128c 92 flag:o = 0
0x128c 93 flag:a = 0
0x1290 94 rdi = r15
0x1293 95 if (not(flag:z) && not(flag:c)) then 81 @ 0x1240 else 99 @ 0x1295
0x124d 96 rbx = rbx + 1
0x1251 97 rax = sx.q([rbp - 0x2c {var_34}].d)
0x1258 98 if (rbx s>= rax) then 37 @ 0x12aa else 68 @ 0x125a
0x1295 99 flag:p = is_unordered.q(xmm3.q, xmm1.q)
0x1295 100 flag:c = xmm3.q f< xmm1.q | is_unordered.q(xmm3.q, xmm1.q)
0x1295 101 flag:z = xmm3.q f== xmm1.q | is_unordered.q(xmm3.q, xmm1.q)
0x1295 102 flag:s = 0
0x1295 103 flag:o = 0
0x1295 104 flag:a = 0
0x1299 105 if (flag:c) then 96 @ 0x124d else 106 @ 0x129b
0x129b 106 flag:p = is_unordered.q(xmm3.q, xmm0.q)
0x129b 107 flag:c = xmm3.q f< xmm0.q | is_unordered.q(xmm3.q, xmm0.q)
0x129b 108 flag:z = xmm3.q f== xmm0.q | is_unordered.q(xmm3.q, xmm0.q)
0x129b 109 flag:s = 0
0x129b 110 flag:o = 0
0x129b 111 flag:a = 0
0x129f 112 rdi = 0x2016 {"same"}
0x12a6 113 if (not(flag:c)) then 81 @ 0x1240 else 114 @ 0x12a8
0x12a8 114 goto 96 @ 0x124d
int64_t _fini():
0x12c4 0 rsp = rsp - 8
0x12c8 1 rsp = rsp + 8
0x12cc 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)
int64_t memset(void* arg1, int32_t arg2, uint64_t arg3):
0x1040 0 <return> tailcall([0x4020].q)
uint64_t strlen(char const* arg1):
0x1050 0 <return> tailcall([0x4028].q)
int32_t scanf(char const* format, ...):
0x1060 0 <return> tailcall([0x4030].q)
int32_t puts(char const* str):
0x1070 0 <return> tailcall([0x4038].q)
int32_t putchar(int32_t c):
0x1080 0 <return> tailcall([0x4040].q)
void __cxa_finalize(void* d):
0x1090 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x10a4 0 ebp = 0
0x10a6 1 r9 = rdx
0x10a9 2 rsi = pop
0x10aa 3 rdx = rsp {arg_8}
0x10ad 4 rsp = rsp & 0xfffffffffffffff0
0x10b1 5 push(rax)
0x10b2 6 push(rsp)
0x10b3 7 r8d = 0
0x10b6 8 ecx = 0
0x10b8 9 rdi = 0x1190 {"AWAVATSH"}
0x10bf 10 call([0x3ff8].q)
0x10bf 11 noreturn
void deregister_tm_clones():
0x10d0 0 rdi = 0x4058 {""}
0x10d7 1 rax = 0x4058 {""}
0x10e1 2 if (rax == rdi) then 3 @ 0x10f8 else 4 @ 0x10e3
0x10f8 3 <return> jump(pop)
0x10e3 4 rax = [0x3fd8].q
0x10ed 5 if (rax == 0) then 3 @ 0x10f8 else 6 @ 0x10ef
0x10ef 6 <return> tailcall(rax)
void register_tm_clones():
0x1100 0 rdi = 0x4058 {""}
0x1107 1 rsi = 0x4058 {""}
0x110e 2 rsi = rsi - rdi
0x1111 3 rax = rsi
0x1114 4 rsi = rsi u>> 0x3f
0x1118 5 rax = rax s>> 3
0x111c 6 rsi = rsi + rax
0x111f 7 rsi = rsi s>> 1
0x1122 8 if (rsi == 0) then 9 @ 0x1138 else 10 @ 0x1124
0x1138 9 <return> jump(pop)
0x1124 10 rax = [0x3ff0].q
0x112e 11 if (rax == 0) then 9 @ 0x1138 else 12 @ 0x1130
0x1130 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x114b 0 if ([0x4058].b != 0) then 1 @ 0x1178 else 2 @ 0x114d
0x1178 1 <return> jump(pop)
0x114d 2 push(rbp)
0x114e 3 cond:0 = [0x3fe0].q == 0
0x1156 4 rbp = rsp {__saved_rbp}
0x1159 5 if (cond:0) then 6 @ 0x1167 else 10 @ 0x115b
0x1167 6 call(0x10d0)
0x116c 7 [0x4058].b = 1
0x1173 8 rbp = pop
0x1174 9 <return> jump(pop)
0x115b 10 rdi = [0x4050].q
0x1162 11 call(0x1090)
0x1162 12 goto 6 @ 0x1167
int64_t frame_dummy():
0x1184 0 <return> tailcall(0x1100)
int32_t main(int32_t argc, char** argv, char** envp):
0x1190 0 push(r15)
0x1192 1 push(r14)
0x1194 2 push(r12)
0x1196 3 push(rbx)
0x1197 4 rsp = rsp - 0x718
0x119e 5 rdi = rsp + 0xd0 {var_668}
0x11a6 6 edx = 0x320 {"d-linux-x86-64.so.2"}
0x11ab 7 esi = 0
0x11ad 8 call(0x1040)
0x11b2 9 rdi = rsp + 0x3f0 {var_348}
0x11ba 10 edx = 0x320 {"d-linux-x86-64.so.2"}
0x11bf 11 esi = 0
0x11c1 12 call(0x1040)
0x11c6 13 rdi = 0x2020 {"%s"}
0x11cd 14 rbx = rsp {var_738}
0x11d0 15 rsi = rbx {var_738}
0x11d3 16 eax = 0
0x11d5 17 call(0x1060)
0x11da 18 rdi = rbx {var_738}
0x11dd 19 call(0x1050)
0x11e2 20 r15 = rax
0x11e8 21 if (r15d s<= 0) then 22 @ 0x1304 else 25 @ 0x11ee
0x1304 22 rdi = 0x202a {"0"}
0x130b 23 call(0x1070)
0x130b 24 goto 27 @ 0x1310
0x11ee 25 eax = r15d
0x11f5 26 if (rax u>= 8) then 42 @ 0x11fb else 49 @ 0x11f7
0x1310 27 r15 = r15 << 0x20
0x1314 28 rax = -0x100000000
0x131e 29 rax = rax + r15
0x1321 30 rax = rax s>> 0x1e
0x1325 31 esi = [rsp + rax + 0xd0].d
0x132c 32 rdi = 0x2026 {"%d\n"}
0x1333 33 eax = 0
0x1335 34 call(0x1030)
0x133a 35 eax = 0
0x133c 36 rsp = rsp + 0x718
0x1343 37 rbx = pop
0x1344 38 r12 = pop
0x1346 39 r14 = pop
0x1348 40 r15 = pop
0x134a 41 <return> jump(pop)
0x11fb 42 edx = r15d
0x11fe 43 edx = edx & 7
0x1201 44 rcx = rax
0x1204 45 rcx = rcx - rdx
0x1207 46 esi = 0
0x1209 47 xmm0 = [0x2010].o
0x121b 48 goto 51 @ 0x1220
0x11f7 49 ecx = 0
0x11f9 50 goto 65 @ 0x1270
0x1220 51 xmm1 = [rsp + rsi].q
0x1225 52 xmm1 = _mm_unpacklo_epi8(xmm1, xmm1.q)
0x1229 53 xmm1 = _mm_unpacklo_epi16(xmm1, xmm1.q)
0x122d 54 xmm2 = [rsp + rsi + 4].d
0x1233 55 xmm2 = _mm_unpacklo_epi8(xmm2, xmm2.q)
0x1237 56 xmm2 = _mm_unpacklo_epi16(xmm2, xmm2.q)
0x123b 57 xmm1 = _mm_srai_epi32(xmm1, 0x18)
0x1240 58 xmm2 = _mm_srai_epi32(xmm2, 0x18)
0x1245 59 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x1249 60 xmm2 = _mm_add_epi32(xmm2, xmm0)
0x124d 61 [rsp + (rsi << 2) + 0xd0].o = xmm1
0x1256 62 [rsp + (rsi << 2) + 0xe0].o = xmm2
0x125f 63 rsi = rsi + 8
0x1266 64 if (rcx != rsi) then 51 @ 0x1220 else 70 @ 0x126b
0x1270 65 edx = sx.d([rsp + rcx].b)
0x1274 66 edx = edx - 0x30
0x1277 67 [rsp + (rcx << 2) + 0xd0].d = edx
0x127e 68 rcx = rcx + 1
0x1285 69 if (rax != rcx) then 65 @ 0x1270 else 71 @ 0x128b
0x126b 70 if (rdx == 0) then 71 @ 0x128b else 72 @ 0x126d
0x128b 71 if (r15d s< 2) then 73 @ 0x12e5 else 74 @ 0x128d
0x126d 72 goto 65 @ 0x1270
0x12e5 73 if (r15d s<= 0) then 22 @ 0x1304 else 78 @ 0x12e7
0x128d 74 eax = r15d
0x1290 75 ecx = 1
0x1295 76 edx = [rsp + 0xd0 {var_668}].d
0x129c 77 goto 81 @ 0x12a0
0x12e7 78 r12d = r15d
0x12ea 79 ebx = 0
0x12ec 80 goto 97 @ 0x12f0
0x12a0 81 edx = (rdx + (rdx << 2)).d
0x12a3 82 edx = edx + edx
0x12a5 83 edx = edx + [rsp + (rcx << 2) + 0xd0].d
0x12ac 84 rdx = sx.q(edx)
0x12af 85 rsi = rdx * 0x4ec4ec4f
0x12b6 86 rdi = rsi
0x12b9 87 rdi = rdi u>> 0x3f
0x12bd 88 rsi = rsi s>> 0x22
0x12c1 89 esi = esi + edi
0x12c3 90 [rsp + (rcx << 2) + 0x3f0].d = esi
0x12ca 91 edi = (rsi + (rsi << 1)).d
0x12cd 92 esi = (rsi + (rdi << 2)).d
0x12d0 93 edx = edx - esi
0x12d2 94 [rsp + (rcx << 2) + 0xd0].d = edx
0x12d9 95 rcx = rcx + 1
0x12e0 96 if (rax != rcx) then 81 @ 0x12a0 else 73 @ 0x12e5
0x12f0 97 esi = [rsp + (rbx << 2) + 0x3f0].d
0x12f9 98 if (esi != 0) then 99 @ 0x134e else 100 @ 0x12fb
0x134e 99 if (ebx s>= r15d) then 102 @ 0x139a else 105 @ 0x1350
0x12fb 100 rbx = rbx + 1
0x1302 101 if (r12 != rbx) then 97 @ 0x12f0 else 22 @ 0x1304
0x139a 102 edi = 0xa {""}
0x139f 103 call(0x1080)
0x13a4 104 goto 27 @ 0x1310
0x1350 105 rdi = 0x2023 {"%d"}
0x1357 106 eax = 0
0x1359 107 call(0x1030)
0x135e 108 rax = r12 - 1
0x1366 109 if (rax == rbx) then 102 @ 0x139a else 110 @ 0x1368
0x1368 110 rbx = rbx + 1
0x136c 111 r14 = 0x2023 {"%d"}
0x137d 112 goto 113 @ 0x1380
0x1380 113 esi = [rsp + (rbx << 2) + 0x3f0].d
0x1387 114 rdi = r14
0x138a 115 eax = 0
0x138c 116 call(0x1030)
0x1391 117 rbx = rbx + 1
0x1398 118 if (r12 != rbx) then 113 @ 0x1380 else 102 @ 0x139a
int64_t _fini():
0x13b0 0 rsp = rsp - 8
0x13b4 1 rsp = rsp + 8
0x13b8 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)
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 {"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"}
0x1176 5 rsi = rbp - 8 {var_10}
0x117a 6 al = 0
0x117c 7 call(0x1040)
0x1181 8 [rbp - 0x10 {var_18}].d = 6
0x1181 9 goto 10 @ 0x1188
0x1188 10 eax = [rbp - 0x10 {var_18}].d
0x118e 11 if (eax s> [rbp - 8 {var_10}].d) then 12 @ 0x1224 else 16 @ 0x1194
0x1224 12 eax = 0
0x1226 13 rsp = rsp + 0x20
0x122a 14 rbp = pop
0x122b 15 <return> jump(pop)
0x1194 16 [rbp - 0xc {var_14_1}].d = 3
0x1194 17 goto 18 @ 0x119b
0x119b 18 eax = [rbp - 0xc {var_14_1}].d
0x119e 19 [rbp - 0x14 {var_1c_1}].d = eax
0x11a1 20 eax = [rbp - 8 {var_10}].d
0x11a4 21 ecx = 2
0x11a9 22 temp2.d:temp3.d = sx.q(eax)
0x11a9 23 edx = temp2.d
0x11a9 24 eax = temp3.d
0x11aa 25 temp4.d = edx
0x11aa 26 temp5.d = eax
0x11aa 27 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x11aa 28 temp6.d = edx
0x11aa 29 temp7.d = eax
0x11aa 30 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x11aa 31 eax = temp0.d
0x11aa 32 edx = temp1.d
0x11ac 33 ecx = eax
0x11ae 34 eax = [rbp - 0x14 {var_1c_1}].d
0x11b3 35 if (eax s> ecx) then 36 @ 0x1211 else 37 @ 0x11b9
0x1211 36 goto 47 @ 0x1216
0x11b9 37 edi = [rbp - 0xc {var_14_1}].d
0x11bc 38 call(0x1230)
0x11c1 39 [rbp - 0x18 {var_20_1}].d = eax
0x11c4 40 edi = [rbp - 0x10 {var_18}].d
0x11c7 41 edi = edi - [rbp - 0xc {var_14_1}].d
0x11ca 42 call(0x1230)
0x11cf 43 ecx = eax
0x11d1 44 eax = [rbp - 0x18 {var_20_1}].d
0x11d4 45 eax = eax + ecx
0x11d9 46 if (eax != 2) then 51 @ 0x11fe else 52 @ 0x11df
0x1216 47 eax = [rbp - 0x10 {var_18}].d
0x1219 48 eax = eax + 2
0x121c 49 [rbp - 0x10 {var_18}].d = eax
0x121f 50 goto 10 @ 0x1188
0x11fe 51 goto 60 @ 0x1203
0x11df 52 esi = [rbp - 0x10 {var_18}].d
0x11e2 53 edx = [rbp - 0xc {var_14_1}].d
0x11e5 54 ecx = [rbp - 0x10 {var_18}].d
0x11e8 55 ecx = ecx - [rbp - 0xc {var_14_1}].d
0x11eb 56 rdi = 0x2007 {"%d=%d+%d\n"}
0x11f2 57 al = 0
0x11f4 58 call(0x1030)
0x11f9 59 goto 36 @ 0x1211
0x1203 60 eax = [rbp - 0xc {var_14_1}].d
0x1206 61 eax = eax + 2
0x1209 62 [rbp - 0xc {var_14_1}].d = eax
0x120c 63 goto 18 @ 0x119b
uint64_t prime(double arg1):
0x1230 0 push(rbp)
0x1231 1 rbp = rsp {__saved_rbp}
0x1234 2 rsp = rsp - 0x20
0x1238 3 [rbp - 8 {var_10}].d = edi
0x123b 4 [rbp - 0x10 {var_18}].d = 1
0x1246 5 if ([rbp - 8 {var_10}].d == 3) then 6 @ 0x1260 else 9 @ 0x1250
0x1260 6 eax = [rbp - 0x10 {var_18}].d
0x1263 7 [rbp - 4 {var_c}].d = eax
0x1266 8 goto 10 @ 0x12d5
0x1250 9 if ([rbp - 8 {var_10}].d == 5) then 6 @ 0x1260 else 14 @ 0x125a
0x12d5 10 eax = [rbp - 4 {var_c}].d
0x12d8 11 rsp = rsp + 0x20
0x12dc 12 rbp = pop
0x12dd 13 <return> jump(pop)
0x125a 14 if ([rbp - 8 {var_10}].d != 7) then 15 @ 0x126b else 6 @ 0x1260
0x126b 15 [rbp - 0xc {var_14_1}].d = 3
0x126b 16 goto 17 @ 0x1272
0x1272 17 xmm0.q = float.d([rbp - 0xc {var_14_1}].d)
0x1277 18 [rbp - 0x18 {var_20_1}].q = xmm0.q
0x127c 19 xmm0.q = float.d([rbp - 8 {var_10}].d)
0x1281 20 call(0x1050)
0x1286 21 xmm1 = zx.o([rbp - 0x18 {var_20_1}].q)
0x128b 22 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x128b 23 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x128b 24 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x128b 25 flag:s = 0
0x128b 26 flag:o = 0
0x128b 27 flag:a = 0
0x128f 28 if (flag:c) then 29 @ 0x12ca else 30 @ 0x1295
0x12ca 29 goto 43 @ 0x12cf
0x1295 30 eax = [rbp - 8 {var_10}].d
0x1298 31 temp2.d:temp3.d = sx.q(eax)
0x1298 32 edx = temp2.d
0x1298 33 eax = temp3.d
0x1299 34 temp4.d = edx
0x1299 35 temp5.d = eax
0x1299 36 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp - 0xc {var_14_1}].d)
0x1299 37 temp6.d = edx
0x1299 38 temp7.d = eax
0x1299 39 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp - 0xc {var_14_1}].d)
0x1299 40 eax = temp0.d
0x1299 41 edx = temp1.d
0x129f 42 if (edx != 0) then 46 @ 0x12b7 else 47 @ 0x12a5
0x12cf 43 eax = [rbp - 0x10 {var_18}].d
0x12d2 44 [rbp - 4 {var_c}].d = eax
0x12d2 45 goto 10 @ 0x12d5
0x12b7 46 goto 51 @ 0x12bc
0x12a5 47 [rbp - 0x10 {var_18_1}].d = 0
0x12ac 48 eax = [rbp - 0x10 {var_18_1}].d
0x12af 49 [rbp - 4 {var_c}].d = eax
0x12b2 50 goto 10 @ 0x12d5
0x12bc 51 eax = [rbp - 0xc {var_14_1}].d
0x12bf 52 eax = eax + 2
0x12c2 53 [rbp - 0xc {var_14_1}].d = eax
0x12c5 54 goto 17 @ 0x1272
int64_t _fini():
0x12e4 0 rsp = rsp - 8
0x12e8 1 rsp = rsp + 8
0x12ec 2 <return> jump(pop)
| POJ_68 |
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)
void free(void* mem):
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)
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 {"UAWAVAUATSPH="}
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 push(rax)
0x117b 7 rdi = 0x2004 {"%d"}
0x1182 8 r12d = 0
0x1185 9 rsi = rsp + 4 {var_38+0x4}
0x118a 10 eax = 0
0x118c 11 call(0x1050)
0x1191 12 r14 = sx.q([rsp + 4 {var_38+0x4}].d)
0x1196 13 rdi = r14 << 2
0x119e 14 call(0x1060)
0x11a3 15 r15 = rax
0x11aa 16 if (r14 s< 2) then 17 @ 0x12a0 else 21 @ 0x11b0
0x12a0 17 rdi = 0x200e {"empty"}
0x12a7 18 eax = 0
0x12a9 19 call(0x1030)
0x12a9 20 goto 24 @ 0x12ae
0x11b0 21 ecx = 2
0x11b5 22 r13d = 0
0x11b8 23 goto 35 @ 0x11dc
0x12ae 24 rdi = r15
0x12b1 25 call(0x1040)
0x12b6 26 eax = 0
0x12b8 27 rsp = rsp + 8
0x12bc 28 rbx = pop
0x12bd 29 r12 = pop
0x12bf 30 r13 = pop
0x12c1 31 r14 = pop
0x12c3 32 r15 = pop
0x12c5 33 rbp = pop
0x12c6 34 <return> jump(pop)
0x11dc 35 if (ecx u< 3) then 36 @ 0x11c0 else 40 @ 0x11e2
0x11c0 36 r13 = sx.q(r13d)
0x11c3 37 [r15 + (r13 << 2)].d = ecx
0x11c7 38 r13d = r13d + 1
0x11c7 39 goto 41 @ 0x11cb
0x11e2 40 if (r12d != 1) then 46 @ 0x11f0 else 52 @ 0x11e4
0x11cb 41 eax = (rcx + 1).d
0x11ce 42 r12d = r12d + 1
0x11d2 43 cond:0 = ecx == r14d
0x11d5 44 ecx = eax
0x11d7 45 if (cond:0) then 55 @ 0x124c else 35 @ 0x11dc
0x11f0 46 edi = r12d
0x11f3 47 edi = edi & 0xfffffffe
0x11f6 48 edi = neg.d(edi)
0x11f8 49 esi = 0
0x11fa 50 ebx = 2
0x11ff 51 goto 56 @ 0x1200
0x11e4 52 esi = 0
0x11e6 53 ebp = 2
0x11eb 54 goto 89 @ 0x1231
0x124c 55 if (r13d s< 2) then 17 @ 0x12a0 else 90 @ 0x124e
0x1200 56 eax = ecx
0x1202 57 edx = 0
0x1204 58 temp2.d = ebx
0x1204 59 temp3.d = edx
0x1204 60 temp4.d = eax
0x1204 61 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d)
0x1204 62 temp5.d = edx
0x1204 63 temp6.d = eax
0x1204 64 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d)
0x1204 65 eax = temp0.d
0x1204 66 edx = temp1.d
0x1206 67 flag:c = edx u< 1
0x1209 68 esi = adc.d(esi, 0, flag:c)
0x120c 69 ebp = (rbx + 1).d
0x120f 70 eax = ecx
0x1211 71 edx = 0
0x1213 72 temp2.d = ebp
0x1213 73 temp7.d = edx
0x1213 74 temp8.d = eax
0x1213 75 temp0.d = divu.dp.d(temp7.d:temp8.d, temp2.d)
0x1213 76 temp9.d = edx
0x1213 77 temp10.d = eax
0x1213 78 temp1.d = modu.dp.d(temp9.d:temp10.d, temp2.d)
0x1213 79 eax = temp0.d
0x1213 80 edx = temp1.d
0x1215 81 flag:c = edx u< 1
0x1218 82 esi = adc.d(esi, 0, flag:c)
0x121b 83 ebp = ebx
0x121d 84 ebp = ebp + 2
0x1220 85 eax = (rdi + rbx).d
0x1223 86 eax = eax + 2
0x1226 87 ebx = ebp
0x122b 88 if (eax != 2) then 56 @ 0x1200 else 89 @ 0x1231
0x1231 89 if ((r12b & 1) == 0) then 96 @ 0x1241 else 97 @ 0x1233
0x124e 90 r13d = r13d - 1
0x1252 91 esi = [r15].d
0x1255 92 r14 = 0x2007 {"%d %d\n"}
0x125c 93 ebx = 0
0x125e 94 r12d = 0
0x1261 95 goto 111 @ 0x1277
0x1241 96 if (esi != 0) then 41 @ 0x11cb else 116 @ 0x1243
0x1233 97 eax = ecx
0x1235 98 edx = 0
0x1237 99 temp2.d = ebp
0x1237 100 temp11.d = edx
0x1237 101 temp12.d = eax
0x1237 102 temp0.d = divu.dp.d(temp11.d:temp12.d, temp2.d)
0x1237 103 temp13.d = edx
0x1237 104 temp14.d = eax
0x1237 105 temp1.d = modu.dp.d(temp13.d:temp14.d, temp2.d)
0x1237 106 eax = temp0.d
0x1237 107 edx = temp1.d
0x1239 108 flag:c = edx u< 1
0x123c 109 esi = adc.d(esi, 0, flag:c)
0x123c 110 goto 96 @ 0x1241
0x1277 111 ebp = [r15 + (rbx << 2) + 4].d
0x127c 112 rbx = rbx + 1
0x1280 113 eax = ebp
0x1282 114 eax = eax - esi
0x1287 115 if (eax != 2) then 117 @ 0x1270 else 119 @ 0x1289
0x1243 116 goto 36 @ 0x11c0
0x1270 117 esi = ebp
0x1275 118 if (r13 == rbx) then 125 @ 0x129e else 111 @ 0x1277
0x1289 119 r12d = r12d + 1
0x128d 120 rdi = r14
0x1290 121 edx = ebp
0x1292 122 eax = 0
0x1294 123 call(0x1030)
0x1299 124 goto 117 @ 0x1270
0x129e 125 if (r12d != 0) then 24 @ 0x12ae else 17 @ 0x12a0
int64_t _fini():
0x12cc 0 rsp = rsp - 8
0x12d0 1 rsp = rsp + 8
0x12d4 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)
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 {"AWAVSHIHL5"}
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 r15 = rsp {var_28}
0x115c 5 rbx = rsp {var_28}
0x115f 6 r14 = 0x2004 {"%d"}
0x1166 7 rsi = rsp + 0xc {var_1c}
0x116b 8 rdi = r14
0x116e 9 eax = 0
0x1170 10 call(0x1040)
0x117f 11 goto 12 @ 0x1180
0x1180 12 rdi = r14
0x1183 13 rsi = rbx
0x1186 14 eax = 0
0x1188 15 call(0x1040)
0x118d 16 rbx = rbx + 4
0x1191 17 rax = sx.q([rsp + 0xc {var_1c}].d)
0x1196 18 rcx = rsp + (rax << 2)
0x119d 19 if (rbx u< rcx) then 12 @ 0x1180 else 20 @ 0x119f
0x119f 20 ebx = eax
0x11a1 21 edx = [rsp {var_28}].d
0x11a4 22 esi = edx
0x11a8 23 if (ebx s<= 0) then 24 @ 0x12fe else 27 @ 0x11b1
0x12fe 24 eax = (rdx - 1).d
0x1301 25 edx = eax
0x1303 26 goto 28 @ 0x13a3
0x11b1 27 if (ebx == 1) then 38 @ 0x128d else 39 @ 0x11b7
0x13a3 28 rdi = 0x2007 {"%d\n%d\n"}
0x13aa 29 eax = 0
0x13ac 30 call(0x1030)
0x13b1 31 rsp = r15
0x13b4 32 eax = 0
0x13b6 33 rsp = rsp + 0x10
0x13ba 34 rbx = pop
0x13bb 35 r14 = pop
0x13bd 36 r15 = pop
0x13bf 37 <return> jump(pop)
0x128d 38 if (esi != edx) then 43 @ 0x130a else 44 @ 0x128f
0x11b7 39 rax = rbx - 1
0x11bb 40 ecx = 1
0x11c0 41 esi = edx
0x11c6 42 if (rax u< 8) then 46 @ 0x126d else 50 @ 0x11cc
0x130a 43 if (ebx s<= 0) then 28 @ 0x13a3 else 59 @ 0x1313
0x128f 44 ecx = (rdx - 1).d
0x1295 45 if (ebx s< 2) then 60 @ 0x12f7 else 62 @ 0x1297
0x126d 46 edi = [rsp {var_28}].d
0x1270 47 rax = rbx
0x1273 48 rax = rax - rcx
0x1276 49 goto 65 @ 0x1282
0x11cc 50 rdi = rax
0x11cf 51 rdi = rdi & 0xfffffffffffffff8
0x11d3 52 rcx = rdi + 1
0x11d7 53 xmm0 = edx
0x11db 54 xmm0 = _mm_shuffle_epi32(xmm0, 0)
0x11e0 55 xmm1 = __pshufd_xmmdq_memdq_immb([rsp {var_28}].o, 0)
0x11e6 56 rsi = rdi
0x11e9 57 xmm2 = xmm0
0x11ed 58 goto 66 @ 0x11f0
0x1313 59 if (ebx == 1) then 28 @ 0x13a3 else 79 @ 0x1319
0x12f7 60 edx = ecx
0x12f9 61 goto 28 @ 0x13a3
0x1297 62 r8d = (rbx - 1).d
0x129b 63 r10 = rsp {var_28}
0x12a1 64 if (ebx == 2) then 84 @ 0x12f1 else 85 @ 0x12a3
0x1282 65 if (esi s< edi) then 88 else 90 @ 0x1285
0x11f0 66 xmm3 = xmm0
0x11f4 67 xmm0 = _mm_cmpgt_epi32(xmm0, xmm1)
0x11f8 68 xmm3 = xmm3 & xmm0
0x11fc 69 xmm0 = xmm0 & not.o(xmm1)
0x1200 70 xmm0 = xmm0 | xmm3
0x1204 71 xmm3 = xmm2
0x1208 72 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x120c 73 xmm3 = xmm3 & xmm2
0x1210 74 xmm2 = xmm2 & not.o(xmm1)
0x1214 75 xmm2 = xmm2 | xmm3
0x1218 76 temp0.q = rsi
0x1218 77 rsi = rsi - 8
0x121c 78 if (temp0.q != 8) then 66 @ 0x11f0 else 93 @ 0x121e
0x1319 79 rdi = rbx - 1
0x131d 80 rbx = rbx - 2
0x1321 81 ecx = edi
0x1323 82 ecx = ecx & 3
0x132a 83 if (rbx u< 3) then 112 @ 0x1379 else 113 @ 0x132c
0x12f1 84 if ((r8b & 1) != 0) then 116 @ 0x1394 else 60 @ 0x12f7
0x12a3 85 edi = r8d
0x12a6 86 edi = edi & 0xfffffffe
0x12a9 87 goto 120 @ 0x12b0
0x1282 88 esi = edi
0x1282 89 goto 90 @ 0x1285
0x1285 90 temp1.q = rax
0x1285 91 rax = rax - 1
0x1289 92 if (temp1.q != 1) then 65 @ 0x1282 else 38 @ 0x128d
0x121e 93 xmm1 = xmm0
0x1222 94 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2)
0x1226 95 xmm0 = xmm0 & xmm1
0x122a 96 xmm1 = xmm1 & not.o(xmm2)
0x122e 97 xmm1 = xmm1 | xmm0
0x1232 98 xmm0 = _mm_shuffle_epi32(xmm1, 0xee)
0x1237 99 xmm2 = xmm1
0x123b 100 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0)
0x123f 101 xmm1 = xmm1 & xmm2
0x1243 102 xmm2 = xmm2 & not.o(xmm0)
0x1247 103 xmm2 = xmm2 | xmm1
0x124b 104 xmm0 = _mm_shuffle_epi32(xmm2, 0x55)
0x1250 105 xmm1 = xmm2
0x1254 106 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0)
0x1258 107 xmm2 = xmm2 & xmm1
0x125c 108 xmm1 = xmm1 & not.o(xmm0)
0x1260 109 xmm1 = xmm1 | xmm2
0x1264 110 esi = xmm1.d
0x126b 111 if (rax == rdi) then 38 @ 0x128d else 46 @ 0x126d
0x1379 112 if (rcx == 0) then 28 @ 0x13a3 else 125 @ 0x137b
0x132c 113 rdi = rdi & 0xfffffffffffffffc
0x1330 114 eax = [rsp {var_28}].d
0x133d 115 goto 127 @ 0x1340
0x1394 116 eax = [r10].d
0x1397 117 cond:0 = eax s< edx
0x1399 118 edx = ecx
0x139b 119 if (cond:0) then 130 else 132 @ 0x13a0
0x12b0 120 ebx = [r10].d
0x12b5 121 r9b = ecx s< ebx
0x12bb 122 al = ebx s< edx
0x12be 123 al = al & r9b
0x12c1 124 if (al != 0) then 133 else 135 @ 0x12c4
0x137b 125 eax = [rsp {var_28}].d
0x137e 126 goto 141 @ 0x1380
0x1340 127 cond:1 = eax s< esi
0x1342 128 ebx = edx
0x1344 129 if (cond:1) then 143 else 145 @ 0x1349
0x139b 130 edx = eax
0x139b 131 goto 132 @ 0x13a0
0x13a0 132 if (ecx s>= eax) then 146 else 148
0x12c1 133 ecx = ebx
0x12c1 134 goto 135 @ 0x12c4
0x12c4 135 r11d = zx.d(al)
0x12c8 136 ebx = [r10 + (r11 << 2)].d
0x12ce 137 r9b = ecx s< ebx
0x12d4 138 al = ebx s< edx
0x12d7 139 al = al & r9b
0x12da 140 if (al != 0) then 149 else 151 @ 0x12dd
0x1380 141 edi = edx
0x1384 142 if (eax s< esi) then 157 else 159 @ 0x1389
0x1344 143 ebx = eax
0x1344 144 goto 145 @ 0x1349
0x1349 145 if (edx s>= eax) then 160 else 162 @ 0x134c
0x13a0 146 edx = ecx
0x13a0 147 goto 148
0x13a0 148 goto 28 @ 0x13a3
0x12da 149 ecx = ebx
0x12da 150 goto 151 @ 0x12dd
0x12dd 151 rbx = r10 + (r11 << 2)
0x12e1 152 eax = zx.d(al)
0x12e4 153 r10 = rbx + (rax << 2)
0x12e8 154 temp2.d = edi
0x12e8 155 edi = edi - 2
0x12eb 156 if (temp2.d != 2) then 120 @ 0x12b0 else 84 @ 0x12f1
0x1384 157 edx = eax
0x1384 158 goto 159 @ 0x1389
0x1389 159 if (edi s>= eax) then 165 else 167 @ 0x138c
0x1349 160 ebx = edx
0x1349 161 goto 162 @ 0x134c
0x134c 162 cond:2 = eax s< esi
0x134e 163 edx = ebx
0x1350 164 if (cond:2) then 170 else 172 @ 0x1355
0x1389 165 edx = edi
0x1389 166 goto 167 @ 0x138c
0x138c 167 temp3.q = rcx
0x138c 168 rcx = rcx - 1
0x1390 169 if (temp3.q != 1) then 141 @ 0x1380 else 173 @ 0x1392
0x1350 170 edx = eax
0x1350 171 goto 172 @ 0x1355
0x1355 172 if (ebx s>= eax) then 174 else 176 @ 0x1358
0x1392 173 goto 28 @ 0x13a3
0x1355 174 edx = ebx
0x1355 175 goto 176 @ 0x1358
0x1358 176 cond:3 = eax s< esi
0x135a 177 ebx = edx
0x135c 178 if (cond:3) then 179 else 181 @ 0x1361
0x135c 179 ebx = eax
0x135c 180 goto 181 @ 0x1361
0x1361 181 if (edx s>= eax) then 182 else 184 @ 0x1364
0x1361 182 ebx = edx
0x1361 183 goto 184 @ 0x1364
0x1364 184 cond:4 = eax s< esi
0x1366 185 edx = ebx
0x1368 186 if (cond:4) then 187 else 189 @ 0x136d
0x1368 187 edx = eax
0x1368 188 goto 189 @ 0x136d
0x136d 189 if (ebx s>= eax) then 190 else 192 @ 0x1370
0x136d 190 edx = ebx
0x136d 191 goto 192 @ 0x1370
0x1370 192 temp4.q = rdi
0x1370 193 rdi = rdi - 4
0x1374 194 if (temp4.q != 4) then 127 @ 0x1340 else 112 @ 0x1379
int64_t _fini():
0x13c4 0 rsp = rsp - 8
0x13c8 1 rsp = rsp + 8
0x13cc 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
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)
int64_t malloc(uint64_t bytes):
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 {"AWAVATSPd"}
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(r12)
0x1176 3 push(rbx)
0x1177 4 push(rax)
0x1178 5 edi = 0x64 {""}
0x117d 6 call(0x1050)
0x1182 7 r12 = rax
0x1185 8 rdi = rax
0x1188 9 eax = 0
0x118a 10 call(0x1040)
0x118f 11 rdi = r12
0x1192 12 call(0x1030)
0x1197 13 r14 = rax
0x119e 14 if (r14d s< 2) then 15 @ 0x11cb else 27 @ 0x11a0
0x11cb 15 eax = sx.d([r12].b)
0x11d0 16 rcx = sx.q(r14d)
0x11d3 17 edi = sx.d([r12 + rcx - 1].b)
0x11d9 18 edi = edi + eax
0x11db 19 call(0x1060)
0x11e0 20 eax = 0
0x11e2 21 rsp = rsp + 8
0x11e6 22 rbx = pop
0x11e7 23 r12 = pop
0x11e9 24 r14 = pop
0x11eb 25 r15 = pop
0x11ed 26 <return> jump(pop)
0x11a0 27 r15d = (r14 - 1).d
0x11a4 28 ebx = 0
0x11a6 29 goto 30 @ 0x11b0
0x11b0 30 eax = sx.d([r12 + rbx].b)
0x11b5 31 edi = sx.d([r12 + rbx + 1].b)
0x11bb 32 edi = edi + eax
0x11bd 33 call(0x1060)
0x11c2 34 rbx = rbx + 1
0x11c9 35 if (r15 != rbx) then 30 @ 0x11b0 else 15 @ 0x11cb
int64_t _fini():
0x11f4 0 rsp = rsp - 8
0x11f8 1 rsp = rsp + 8
0x11fc 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)
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 - 0x1a0
0x115c 4 rdi = 0x2004 {"%d"}
0x1163 5 rsi = rsp + 8 {var_1b0}
0x1168 6 eax = 0
0x116a 7 call(0x1040)
0x1174 8 if ([rsp + 8 {var_1b0}].d s<= 0) then 9 @ 0x11f4 else 10 @ 0x1176
0x11f4 9 if ([rsp + 8 {var_1b0}].d s<= 0) then 14 @ 0x121c else 20 @ 0x11f6
0x1176 10 r14 = 0x2004 {"%d"}
0x117d 11 r15 = rsp + 0xc {var_1ac}
0x1182 12 ebx = 0
0x1184 13 goto 23 @ 0x11a2
0x121c 14 eax = 0
0x121e 15 rsp = rsp + 0x1a0
0x1225 16 rbx = pop
0x1226 17 r14 = pop
0x1228 18 r15 = pop
0x122a 19 <return> jump(pop)
0x11f6 20 r14 = 0x2007 {"%d\n"}
0x11fd 21 ebx = 0
0x11ff 22 goto 31 @ 0x1200
0x11a2 23 rdi = r14
0x11a5 24 rsi = r15 {var_1ac}
0x11a8 25 eax = 0
0x11aa 26 call(0x1040)
0x11af 27 eax = [rsp + 0xc {var_1ac}].d
0x11b3 28 edx = (rax - 1).d
0x11b6 29 ecx = 1
0x11be 30 if (edx u< 2) then 38 @ 0x1190 else 42 @ 0x11c3
0x1200 31 esi = [rsp + (rbx << 2) + 0x10].d
0x1204 32 rdi = r14
0x1207 33 eax = 0
0x1209 34 call(0x1030)
0x120e 35 rbx = rbx + 1
0x1212 36 rax = sx.q([rsp + 8 {var_1b0}].d)
0x121a 37 if (rbx s< rax) then 31 @ 0x1200 else 14 @ 0x121c
0x1190 38 [rsp + (rbx << 2) + 0x10].d = ecx
0x1194 39 rbx = rbx + 1
0x1198 40 rax = sx.q([rsp + 8 {var_1b0}].d)
0x11a0 41 if (rbx s>= rax) then 9 @ 0x11f4 else 23 @ 0x11a2
0x11c3 42 if (eax s< 3) then 38 @ 0x1190 else 43 @ 0x11c5
0x11c5 43 eax = eax - 2
0x11c8 44 ecx = 1
0x11cd 45 edx = 1
0x11dc 46 goto 47 @ 0x11e0
0x11e0 47 esi = ecx
0x11e2 48 ecx = edx
0x11e4 49 ecx = ecx + esi
0x11e6 50 edx = esi
0x11e8 51 temp0.d = eax
0x11e8 52 eax = eax - 1
0x11eb 53 if (temp0.d != 1) then 47 @ 0x11e0 else 54 @ 0x11ed
0x11ed 54 goto 38 @ 0x1190
uint64_t dijigeshu(int32_t arg1):
0x1230 0 ecx = (rdi - 1).d
0x1233 1 eax = 1
0x123b 2 if (ecx u< 2) then 3 @ 0x125d else 4 @ 0x1240
0x125d 3 <return> jump(pop)
0x1240 4 if (edi s< 3) then 3 @ 0x125d else 5 @ 0x1242
0x1242 5 edi = edi - 2
0x1245 6 eax = 1
0x124a 7 ecx = 1
0x124f 8 goto 9 @ 0x1250
0x1250 9 edx = eax
0x1252 10 eax = ecx
0x1254 11 eax = eax + edx
0x1256 12 ecx = edx
0x1258 13 temp0.d = edi
0x1258 14 edi = edi - 1
0x125b 15 if (temp0.d != 1) then 9 @ 0x1250 else 3 @ 0x125d
int64_t _fini():
0x1264 0 rsp = rsp - 8
0x1268 1 rsp = rsp + 8
0x126c 2 <return> jump(pop)
| POJ_61 |
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)
char* gets(char* buf):
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 = 0x1250 {"UHH`H
"}
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)
char* delsuffix(char* arg1, int32_t arg2):
0x1170 0 push(rbp)
0x1171 1 rbp = rsp {__saved_rbp}
0x1174 2 rsp = rsp - 0x20
0x1178 3 [rbp - 8 {var_10}].q = rdi
0x117c 4 [rbp - 0xc {var_14}].d = esi
0x117f 5 rax = [rbp - 8 {var_10}].q
0x1183 6 [rbp - 0x18 {var_20}].q = rax
0x1187 7 rdi = [rbp - 8 {var_10}].q
0x118b 8 call(0x1040)
0x1190 9 rcx = rax
0x1193 10 rax = [rbp - 0x18 {var_20}].q
0x1197 11 rdx = sx.q([rbp - 0xc {var_14}].d)
0x119b 12 rcx = rcx - rdx
0x119e 13 [rax + rcx].b = 0
0x11a2 14 rsp = rsp + 0x20
0x11a6 15 rbp = pop
0x11a7 16 <return> jump(pop)
uint64_t check(void* arg1, int32_t arg2, void* arg3, int32_t arg4):
0x11b0 0 push(rbp)
0x11b1 1 rbp = rsp {__saved_rbp}
0x11b4 2 [rbp - 0x10 {var_18}].q = rdi
0x11b8 3 [rbp - 0x14 {var_1c}].d = esi
0x11bb 4 [rbp - 0x20 {var_28}].q = rdx
0x11bf 5 [rbp - 0x24 {var_2c}].d = ecx
0x11c2 6 eax = [rbp - 0x14 {var_1c}].d
0x11c5 7 eax = eax - 1
0x11c8 8 [rbp - 0x28 {var_30}].d = eax
0x11cb 9 eax = [rbp - 0x24 {var_2c}].d
0x11ce 10 eax = eax - 1
0x11d1 11 [rbp - 0x2c {var_34}].d = eax
0x11d1 12 goto 13 @ 0x11d4
0x11d4 13 eax = 0
0x11d6 14 cond:0 = [rbp - 0x2c {var_34}].d s< 0
0x11da 15 [rbp - 0x2d {var_35_1}].b = al
0x11dd 16 if (cond:0) then 17 @ 0x1203 else 19 @ 0x11e3
0x1203 17 al = [rbp - 0x2d {var_35_1}].b
0x1208 18 if ((al & 1) != 0) then 28 @ 0x1213 else 35 @ 0x120e
0x11e3 19 rax = [rbp - 0x10 {var_18}].q
0x11e7 20 rcx = sx.q([rbp - 0x28 {var_30}].d)
0x11eb 21 eax = sx.d([rax + rcx].b)
0x11ef 22 rcx = [rbp - 0x20 {var_28}].q
0x11f3 23 rdx = sx.q([rbp - 0x2c {var_34}].d)
0x11f7 24 ecx = sx.d([rcx + rdx].b)
0x11fd 25 al = eax == ecx
0x1200 26 [rbp - 0x2d {var_35_1}].b = al
0x1200 27 goto 17 @ 0x1203
0x1213 28 eax = [rbp - 0x2c {var_34}].d
0x1216 29 eax = eax - 1
0x1219 30 [rbp - 0x2c {var_34}].d = eax
0x121c 31 eax = [rbp - 0x28 {var_30}].d
0x121f 32 eax = eax - 1
0x1222 33 [rbp - 0x28 {var_30}].d = eax
0x1225 34 goto 13 @ 0x11d4
0x120e 35 goto 36 @ 0x122e
0x122e 36 if ([rbp - 0x2c {var_34}].d s< 0) then 37 @ 0x1240 else 39 @ 0x1234
0x1240 37 [rbp - 4 {var_c}].d = 1
0x1240 38 goto 41 @ 0x1247
0x1234 39 [rbp - 4 {var_c}].d = 0
0x123b 40 goto 41 @ 0x1247
0x1247 41 eax = [rbp - 4 {var_c}].d
0x124a 42 rbp = pop
0x124b 43 <return> jump(pop)
int32_t main(int32_t argc, char** argv, char** envp):
0x1250 0 push(rbp)
0x1251 1 rbp = rsp {__saved_rbp}
0x1254 2 rsp = rsp - 0x60
0x1258 3 rax = [0x2004].q
0x125f 4 [rbp - 0x14 {var_1c}].q = rax
0x1263 5 eax = [0x200c].d
0x1269 6 [rbp - 0xc {var_14}].d = eax
0x126c 7 rax = [0x2010].q
0x1273 8 [rbp - 0x4c {var_54}].q = rax
0x1277 9 eax = [0x2018].d
0x127d 10 [rbp - 0x44 {var_4c}].d = eax
0x1280 11 rdi = 0x201c {"%d"}
0x1287 12 rsi = rbp - 4 {var_c}
0x128b 13 al = 0
0x128d 14 call(0x1050)
0x1292 15 [rbp - 8 {var_10}].d = 1
0x1292 16 goto 17 @ 0x1299
0x1299 17 eax = [rbp - 8 {var_10}].d
0x129c 18 ecx = [rbp - 4 {var_c}].d
0x129f 19 ecx = ecx + 1
0x12a4 20 if (eax s> ecx) then 21 @ 0x1350 else 24 @ 0x12aa
0x1350 21 rsp = rsp + 0x60
0x1354 22 rbp = pop
0x1355 23 <return> jump(pop)
0x12aa 24 rdi = rbp - 0x40 {var_48}
0x12ae 25 al = 0
0x12b0 26 call(0x1060)
0x12b5 27 [rbp - 0x50 {var_58_1}].d = 0
0x12b5 28 goto 29 @ 0x12c0
0x12c0 29 if ([rbp - 0x50 {var_58_1}].d s>= 3) then 30 @ 0x133d else 31 @ 0x12c6
0x133d 30 goto 45 @ 0x1342
0x12c6 31 rax = rbp - 0x40 {var_48}
0x12ca 32 [rbp - 0x58 {var_60_1}].q = rax {var_48}
0x12ce 33 rdi = rbp - 0x40 {var_48}
0x12d2 34 call(0x1040)
0x12d7 35 rdi = [rbp - 0x58 {var_60_1}].q {var_48}
0x12db 36 esi = eax
0x12dd 37 rax = sx.q([rbp - 0x50 {var_58_1}].d)
0x12e1 38 rdx = rbp - 0x4c {var_54}
0x12e5 39 rax = rax << 2
0x12e9 40 rdx = rdx + rax
0x12ec 41 rax = sx.q([rbp - 0x50 {var_58_1}].d)
0x12f0 42 ecx = [rbp + (rax << 2) - 0x14].d
0x12f4 43 call(0x11b0)
0x12fc 44 if (eax == 0) then 49 @ 0x132a else 50 @ 0x1302
0x1342 45 eax = [rbp - 8 {var_10}].d
0x1345 46 eax = eax + 1
0x1348 47 [rbp - 8 {var_10}].d = eax
0x134b 48 goto 17 @ 0x1299
0x132a 49 goto 59 @ 0x132f
0x1302 50 rdi = rbp - 0x40 {var_48}
0x1306 51 rax = sx.q([rbp - 0x50 {var_58_1}].d)
0x130a 52 esi = [rbp + (rax << 2) - 0x14].d
0x130e 53 call(0x1170)
0x1313 54 rsi = rbp - 0x40 {var_48}
0x1317 55 rdi = 0x201f {"%s\n"}
0x131e 56 al = 0
0x1320 57 call(0x1030)
0x1325 58 goto 30 @ 0x133d
0x132f 59 eax = [rbp - 0x50 {var_58_1}].d
0x1332 60 eax = eax + 1
0x1335 61 [rbp - 0x50 {var_58_1}].d = eax
0x1338 62 goto 29 @ 0x12c0
int64_t _fini():
0x135c 0 rsp = rsp - 8
0x1360 1 rsp = rsp + 8
0x1364 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 {"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 - 0x110
0x115c 4 xmm0 = [0x2080].o
0x1163 5 [rsp + 0x80 {var_a8}].o = xmm0
0x116b 6 xmm0 = [0x2070].o
0x1172 7 [rsp + 0x70 {var_b8}].o = xmm0
0x1177 8 xmm0 = [0x2060].o
0x117e 9 [rsp + 0x60 {var_c8}].o = xmm0
0x1183 10 xmm0 = [0x2050].o
0x118a 11 [rsp + 0x50 {var_d8}].o = xmm0
0x118f 12 xmm0 = [0x2040].o
0x1196 13 [rsp + 0x40 {var_e8}].o = xmm0
0x119b 14 xmm0 = [0x2030].o
0x11a2 15 [rsp + 0x30 {var_f8}].o = xmm0
0x11a7 16 xmm0 = [0x2020].o
0x11ae 17 [rsp + 0x20 {var_108}].o = xmm0
0x11b3 18 xmm0 = [0x2010].o
0x11ba 19 [rsp + 0x10 {var_118}].o = xmm0
0x11bf 20 rdi = 0x2090 {"%d"}
0x11c6 21 rsi = rsp + 0xc {var_11c}
0x11cb 22 eax = 0
0x11cd 23 call(0x1040)
0x11d2 24 r9d = [rsp + 0xc {var_11c}].d
0x11da 25 if (r9d s<= 0) then 26 @ 0x120f else 29 @ 0x11dc
0x120f 26 r8 = sx.q(r9d)
0x1212 27 [rsp + (r8 << 2) + 0xc].d = 1
0x121f 28 if (r8d s< 2) then 33 @ 0x12a2 else 34 @ 0x1221
0x11dc 29 r15 = rsp + 0x90 {var_98}
0x11e4 30 r14 = 0x2090 {"%d"}
0x11eb 31 ebx = 0
0x11ed 32 goto 42 @ 0x11f0
0x12a2 33 if (r9d s<= 0) then 50 @ 0x12c4 else 52 @ 0x12a4
0x1221 34 eax = (r8 - 2).d
0x1225 35 rdi = sx.q(eax)
0x1228 36 rdx = rsp + (r8 << 2)
0x122c 37 rdx = rdx + 0x90
0x1233 38 rsi = rsp + (r8 << 2)
0x1237 39 rsi = rsi + 0x10
0x123b 40 r10 = -1
0x1242 41 goto 56 @ 0x1260
0x11f0 42 rdi = r14
0x11f3 43 rsi = r15
0x11f6 44 eax = 0
0x11f8 45 call(0x1040)
0x11fd 46 rbx = rbx + 1
0x1201 47 r9 = sx.q([rsp + 0xc {var_11c}].d)
0x1206 48 r15 = r15 + 4
0x120d 49 if (rbx s< r9) then 42 @ 0x11f0 else 26 @ 0x120f
0x12c4 50 esi = 0
0x12c4 51 goto 58 @ 0x12c6
0x12a4 52 eax = r9d
0x12a7 53 ecx = 0
0x12a9 54 esi = 0
0x12ab 55 goto 67 @ 0x12b0
0x1260 56 rax = rdi + 1
0x1267 57 if (rax s>= r8) then 69 @ 0x1250 else 74 @ 0x1269
0x12c6 58 rdi = 0x2090 {"%d"}
0x12cd 59 eax = 0
0x12cf 60 call(0x1030)
0x12d4 61 eax = 0
0x12d6 62 rsp = rsp + 0x110
0x12dd 63 rbx = pop
0x12de 64 r14 = pop
0x12e0 65 r15 = pop
0x12e2 66 <return> jump(pop)
0x12b0 67 edx = [rsp + (rcx << 2) + 0x10].d
0x12b6 68 if (edx s> esi) then 77 else 79 @ 0x12b9
0x1250 69 rax = rdi - 1
0x1254 70 r10 = r10 - 1
0x1258 71 cond:0 = rdi s<= 0
0x125b 72 rdi = rax
0x125e 73 if (cond:0) then 33 @ 0x12a2 else 56 @ 0x1260
0x1269 74 ecx = [rsp + (rdi << 2) + 0x90].d
0x1270 75 rbx = r10
0x1273 76 goto 81 @ 0x128b
0x12b6 77 esi = edx
0x12b6 78 goto 79 @ 0x12b9
0x12b9 79 rcx = rcx + 1
0x12c0 80 if (rax != rcx) then 67 @ 0x12b0 else 82 @ 0x12c2
0x128b 81 if ([rdx + (rbx << 2)].d s> ecx) then 83 @ 0x1280 else 85 @ 0x128d
0x12c2 82 goto 58 @ 0x12c6
0x1280 83 rbx = rbx + 1
0x1286 84 if (ebx == 0) then 69 @ 0x1250 else 81 @ 0x128b
0x128d 85 eax = [rsi + (rbx << 2)].d
0x1294 86 if ([rsp + (rdi << 2) + 0x10].d s> eax) then 83 @ 0x1280 else 87 @ 0x1296
0x1296 87 eax = eax + 1
0x1299 88 [rsp + (rdi << 2) + 0x10].d = eax
0x129d 89 goto 83 @ 0x1280
int64_t _fini():
0x12e8 0 rsp = rsp - 8
0x12ec 1 rsp = rsp + 8
0x12f0 2 <return> jump(pop)
| POJ_10 |
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 {"UAVSH@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(r14)
0x1163 2 push(rbx)
0x1164 3 rsp = rsp - 0x40
0x1168 4 rdi = 0x2004 {"%s %s"}
0x116f 5 rbx = rsp + 0x20 {var_38}
0x1174 6 r14 = rsp {var_58}
0x1177 7 rsi = rbx {var_38}
0x117a 8 rdx = r14 {var_58}
0x117d 9 eax = 0
0x117f 10 call(0x1050)
0x1184 11 rdi = rbx {var_38}
0x1187 12 call(0x1040)
0x118c 13 rbx = rax
0x118f 14 rdi = r14 {var_58}
0x1192 15 call(0x1040)
0x119a 16 if (rbx != rax) then 17 @ 0x11e5 else 19 @ 0x119c
0x11e5 17 r14 = 0x200a {"NO"}
0x11ec 18 goto 21 @ 0x1202
0x119c 19 r14 = 0x200d {"YES"}
0x11a6 20 if (rbx == 0) then 21 @ 0x1202 else 25 @ 0x11a8
0x1202 21 rdi = r14
0x1205 22 eax = 0
0x1207 23 call(0x1030)
0x1207 24 goto 28 @ 0x120c
0x11a8 25 bpl = 1
0x11ab 26 eax = 0
0x11ab 27 goto 34 @ 0x11ad
0x120c 28 eax = 0
0x120e 29 rsp = rsp + 0x40
0x1212 30 rbx = pop
0x1213 31 r14 = pop
0x1215 32 rbp = pop
0x1216 33 <return> jump(pop)
0x11ad 34 dl = [rsp + rax + 0x20].b
0x11b1 35 ecx = 0
0x11bd 36 goto 37 @ 0x11c3
0x11c3 37 if (dl == [rsp + rcx].b) then 38 @ 0x11d0 else 44 @ 0x11c5
0x11d0 38 ecx = ecx
0x11d2 39 [rsp + rcx].b = 0
0x11d6 40 rax = rax + 1
0x11da 41 cond:0 = rbx != rax
0x11dd 42 bpl = rbx u> rax
0x11e1 43 if (cond:0) then 34 @ 0x11ad else 46 @ 0x11e3
0x11c5 44 rcx = rcx + 1
0x11cc 45 if (rbx != rcx) then 37 @ 0x11c3 else 47 @ 0x11ce
0x11e3 46 goto 21 @ 0x1202
0x11ce 47 goto 48 @ 0x11ee
0x11ee 48 rdi = 0x200a {"NO"}
0x11f5 49 eax = 0
0x11f7 50 call(0x1030)
0x1200 51 if ((bpl & 1) != 0) then 28 @ 0x120c else 21 @ 0x1202
int64_t _fini():
0x121c 0 rsp = rsp - 8
0x1220 1 rsp = rsp + 8
0x1224 2 <return> jump(pop)
| POJ_36 |
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 memcpy(void* arg1, void const* 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 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 {"AWAVAUATSHP("}
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(r13)
0x1176 3 push(r12)
0x1178 4 push(rbx)
0x1179 5 rsp = rsp - 0x2850
0x1180 6 r15d = 0
0x1183 7 rbx = rsp {var_2878}
0x1186 8 rdi = rbx {var_2878}
0x1189 9 eax = 0
0x118b 10 call(0x1050)
0x1190 11 rdi = rbx {var_2878}
0x1193 12 call(0x1040)
0x1198 13 r14 = rax
0x119b 14 r13d = 0xffffffff {""}
0x11a8 15 if ((r14d & 0x80000000) != 0) then 16 @ 0x1299 else 20 @ 0x11ae
0x1299 16 rax = sx.q(r13d)
0x129c 17 rcx = rax * 0x65
0x12a0 18 al = [rsp + rcx + 0x70].b
0x12a6 19 if (al == 0) then 25 @ 0x12c3 else 32 @ 0x12a8
0x11ae 20 r12d = r14d
0x11b1 21 r14d = r14d + 1
0x11b5 22 ebx = 0
0x11b7 23 r13d = 0
0x11ba 24 goto 35 @ 0x11e8
0x12c3 25 rsp = rsp + 0x2850
0x12ca 26 rbx = pop
0x12cb 27 r12 = pop
0x12cd 28 r13 = pop
0x12cf 29 r14 = pop
0x12d1 30 r15 = pop
0x12d3 31 <return> jump(pop)
0x12a8 32 rbx = rsp + rcx
0x12ac 33 rbx = rbx + 0x71
0x12ac 34 goto 36 @ 0x12b0
0x11e8 35 if ([rsp + rbx].b == 0x20) then 41 @ 0x1200 else 45 @ 0x11ed
0x12b0 36 edi = sx.d(al)
0x12b3 37 call(0x1060)
0x12b8 38 eax = zx.d([rbx].b)
0x12bb 39 rbx = rbx + 1
0x12c1 40 if (al != 0) then 36 @ 0x12b0 else 25 @ 0x12c3
0x1200 41 rdx = sx.q(r15d)
0x1203 42 r13 = sx.q(r13d)
0x1206 43 eax = r15d
0x120c 44 if (rbx s<= rdx) then 46 @ 0x11c0 else 56 @ 0x120e
0x11ed 45 if (rbx == r12) then 41 @ 0x1200 else 66 @ 0x11ef
0x11c0 46 eax = eax - r15d
0x11c3 47 rax = sx.q(eax)
0x11c5 48 rcx = r13 * 0x65
0x11c9 49 rcx = rcx + rsp
0x11cc 50 rcx = rcx + 0x70
0x11d0 51 [rax + rcx].b = 0
0x11d4 52 r13d = r13d + 1
0x11d8 53 rbx = rbx + 1
0x11dc 54 r15d = ebx
0x11dc 55 goto 68 @ 0x11e2
0x120e 56 rax = r13 * 0x65
0x1212 57 rdi = rsp + rax
0x1216 58 rdi = rdi + 0x70
0x121a 59 rsi = rsp + rdx
0x121e 60 edx = not.d(edx)
0x1220 61 edx = edx + ebx
0x1222 62 rdx = rdx + 1
0x1226 63 call(0x1030)
0x122b 64 eax = ebx
0x122d 65 goto 46 @ 0x11c0
0x11ef 66 rbx = rbx + 1
0x11f3 67 goto 68 @ 0x11e2
0x11e2 68 if (rbx == r14) then 69 @ 0x1233 else 35 @ 0x11e8
0x1233 69 if (r13d s< 2) then 70 @ 0x1295 else 72 @ 0x1235
0x1295 70 r13d = r13d - 1
0x1295 71 goto 16 @ 0x1299
0x1235 72 r14d = r13d
0x1238 73 rax = r14 * 0x65
0x123c 74 r14 = r14 - 1
0x1240 75 r15 = rsp + rax
0x1244 76 r15 = r15 + 0xc
0x1248 77 goto 78 @ 0x126b
0x126b 78 rax = r14 * 0x65
0x126f 79 al = [rsp + rax + 0x70].b
0x1273 80 rbx = r15
0x1278 81 if (al == 0) then 82 @ 0x1250 else 89 @ 0x127a
0x1250 82 edi = 0x20 {"@"}
0x1255 83 call(0x1060)
0x125a 84 r13 = r14 - 1
0x125e 85 r15 = r15 - 0x65
0x1262 86 cond:0 = r14 s<= 1
0x1266 87 r14 = r13
0x1269 88 if (cond:0) then 16 @ 0x1299 else 78 @ 0x126b
0x127a 89 goto 90 @ 0x1280
0x1280 90 edi = sx.d(al)
0x1283 91 call(0x1060)
0x1288 92 eax = zx.d([rbx].b)
0x128b 93 rbx = rbx + 1
0x1291 94 if (al != 0) then 90 @ 0x1280 else 95 @ 0x1293
0x1293 95 goto 82 @ 0x1250
int64_t _fini():
0x12d8 0 rsp = rsp - 8
0x12dc 1 rsp = rsp + 8
0x12e0 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)
int64_t memset(void* arg1, int32_t arg2, uint64_t arg3):
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 {"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 - 0x2328
0x116d 5 rdi = rsp {var_2348}
0x1170 6 ebp = 0
0x1172 7 edx = 0xfa0 {""}
0x1177 8 esi = 0
0x1179 9 call(0x1040)
0x117e 10 rdi = rsp + 0xfa0 {var_13a8}
0x1186 11 eax = 0
0x1188 12 call(0x1050)
0x118d 13 rax = rsp + 0xfa1 {var_13a7}
0x1195 14 goto 15 @ 0x11ae
0x11ae 15 ecx = zx.d([rax - 1].b)
0x11b5 16 if (cl == 0x20) then 17 @ 0x11a0 else 22 @ 0x11b9
0x11a0 17 ecx = 0
0x11a5 18 cl = [rax].b != 0x20
0x11a8 19 ebp = ebp + ecx
0x11aa 20 rax = rax + 1
0x11aa 21 goto 15 @ 0x11ae
0x11b9 22 if (cl == 0) then 23 @ 0x11ca else 24 @ 0x11bb
0x11ca 23 if (ebp s<= 0) then 28 @ 0x11f6 else 40 @ 0x11cc
0x11bb 24 rcx = sx.q(ebp)
0x11be 25 [rsp + (rcx << 2)].d = [rsp + (rcx << 2)].d + 1
0x11c2 26 rax = rax + 1
0x11c6 27 goto 15 @ 0x11ae
0x11f6 28 rax = sx.q(ebp)
0x11f9 29 esi = [rsp + (rax << 2)].d
0x11fc 30 rdi = 0x2008 {"%d"}
0x1203 31 eax = 0
0x1205 32 call(0x1030)
0x120a 33 eax = 0
0x120c 34 rsp = rsp + 0x2328
0x1213 35 rbx = pop
0x1214 36 r14 = pop
0x1216 37 r15 = pop
0x1218 38 rbp = pop
0x1219 39 <return> jump(pop)
0x11cc 40 r15d = ebp
0x11cf 41 r14 = 0x2004 {"%d,"}
0x11d6 42 ebx = 0
0x11d8 43 goto 44 @ 0x11e0
0x11e0 44 esi = [rsp + (rbx << 2)].d
0x11e3 45 rdi = r14
0x11e6 46 eax = 0
0x11e8 47 call(0x1030)
0x11ed 48 rbx = rbx + 1
0x11f4 49 if (r15 != rbx) then 44 @ 0x11e0 else 28 @ 0x11f6
int64_t _fini():
0x1220 0 rsp = rsp - 8
0x1224 1 rsp = rsp + 8
0x1228 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)
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 - 0x318
0x1171 7 r14 = 0x2004 {"%s"}
0x1178 8 r12 = rsp + 0x110 {var_238}
0x1180 9 rdi = r14
0x1183 10 rsi = r12 {var_238}
0x1186 11 eax = 0
0x1188 12 call(0x1040)
0x118d 13 rsi = rsp + 0x10 {var_338}
0x1192 14 rdi = r14
0x1195 15 eax = 0
0x1197 16 call(0x1040)
0x119c 17 rsi = rsp + 0x210 {var_138}
0x11a4 18 rdi = r14
0x11a7 19 eax = 0
0x11a9 20 call(0x1040)
0x11ae 21 cond:0 = [rsp + 0x10 {var_338}].b == 0
0x11b3 22 eax = 0
0x11b8 23 if (cond:0) then 24 @ 0x11cb else 30 @ 0x11ba
0x11cb 24 ebx = eax
0x11cd 25 r14 = rbx + r12
0x11d1 26 r14 = r14 + 1
0x11d5 27 ebp = 0
0x11d7 28 [rsp + 0xc {var_33c}].d = 0
0x11df 29 goto 32 @ 0x1212
0x11ba 30 eax = 0
0x11bc 31 goto 34 @ 0x11c0
0x1212 32 al = [rsp + rbp + 0x110].b
0x121d 33 if (al != [rsp + 0x10 {var_338}].b) then 37 @ 0x11f9 else 41 @ 0x121f
0x11c0 34 cond:1 = [rsp + rax + 0x11].b != 0
0x11c5 35 rax = rax + 1
0x11c9 36 if (cond:1) then 34 @ 0x11c0 else 24 @ 0x11cb
0x11f9 37 rbp = rbp + 1
0x11fd 38 r12 = r12 + 1
0x1201 39 r14 = r14 + 1
0x120c 40 if (rbp == 0x100) then 44 @ 0x12cf else 32 @ 0x1212
0x121f 41 al = [rsp + 0x10 {var_338}].b
0x1223 42 r15d = 0
0x1228 43 if (al == 0) then 45 @ 0x1247 else 46 @ 0x122a
0x12cf 44 if ([rsp + 0xc {var_33c}].d != 0) then 47 @ 0x12e7 else 56 @ 0x12d1
0x1247 45 if (r15d != ebx) then 61 @ 0x11f3 else 62 @ 0x1249
0x122a 46 goto 64 @ 0x1234
0x12e7 47 eax = 0
0x12e9 48 rsp = rsp + 0x318
0x12f0 49 rbx = pop
0x12f1 50 r12 = pop
0x12f3 51 r13 = pop
0x12f5 52 r14 = pop
0x12f7 53 r15 = pop
0x12f9 54 rbp = pop
0x12fa 55 <return> jump(pop)
0x12d1 56 rdi = 0x2004 {"%s"}
0x12d8 57 rsi = rsp + 0x110 {var_238}
0x12e0 58 eax = 0
0x12e2 59 call(0x1030)
0x12e2 60 goto 47 @ 0x12e7
0x11f3 61 if (r15d == ebx) then 44 @ 0x12cf else 37 @ 0x11f9
0x1249 62 r13 = rbx
0x124f 63 if (rbp == 0) then 65 @ 0x1276 else 76 @ 0x1251
0x1234 64 if ([r12 + r15].b != al) then 45 @ 0x1247 else 78 @ 0x1236
0x1276 65 rdi = 0x2004 {"%s"}
0x127d 66 rsi = rsp + 0x210 {var_138}
0x1285 67 eax = 0
0x1287 68 call(0x1030)
0x128c 69 rbx = r13
0x128f 70 rax = rbp
0x1292 71 rax = rax + r13
0x1295 72 al = [rsp + rax + 0x110].b
0x129c 73 [rsp + 0xc {var_33c}].d = 1
0x12a4 74 r13 = r14
0x12a9 75 if (al == 0) then 61 @ 0x11f3 else 81 @ 0x12af
0x1251 76 ebx = 0
0x125d 77 goto 82 @ 0x1260
0x1236 78 eax = zx.d([rsp + r15 + 0x11].b)
0x123c 79 r15 = r15 + 1
0x1242 80 if (al != 0) then 64 @ 0x1234 else 45 @ 0x1247
0x12af 81 goto 86 @ 0x12b0
0x1260 82 edi = sx.d([rsp + rbx + 0x110].b)
0x1268 83 call(0x1050)
0x126d 84 rbx = rbx + 1
0x1274 85 if (rbp != rbx) then 82 @ 0x1260 else 65 @ 0x1276
0x12b0 86 edi = sx.d(al)
0x12b3 87 call(0x1050)
0x12b8 88 eax = zx.d([r13].b)
0x12bd 89 r13 = r13 + 1
0x12c3 90 if (al != 0) then 86 @ 0x12b0 else 91 @ 0x12c5
0x12c5 91 goto 61 @ 0x11f3
int64_t _fini():
0x1300 0 rsp = rsp - 8
0x1304 1 rsp = rsp + 8
0x1308 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 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 {"PH="}
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(rax)
0x1161 1 rdi = 0x2004 {"%d"}
0x1168 2 rsi = rsp + 4 {var_8+0x4}
0x116d 3 eax = 0
0x116f 4 call(0x1040)
0x1174 5 rax = sx.q([rsp + 4 {var_8+0x4}].d)
0x1179 6 ecx = eax * -0x49249249
0x117f 7 ecx = ecx + 0x12492492
0x1185 8 rdx = rax * 0x66666667
0x118c 9 rsi = rdx
0x118f 10 rsi = rsi u>> 0x3f
0x1193 11 rdx = rdx u>> 0x20
0x1197 12 edx = edx s>> 1
0x1199 13 edx = edx + esi
0x119b 14 esi = (rdx + (rdx << 2)).d
0x119e 15 edx = eax
0x11a0 16 edx = edx - esi
0x11a2 17 rsi = rax * 0x55555556
0x11a9 18 rdi = rsi
0x11ac 19 rdi = rdi u>> 0x3f
0x11b0 20 rsi = rsi u>> 0x20
0x11b4 21 esi = esi + edi
0x11b6 22 esi = (rsi + (rsi << 1)).d
0x11b9 23 eax = eax - esi
0x11c1 24 if (ecx u<= 0x24924924) then 25 @ 0x11d4 else 26 @ 0x11c5
0x11d4 25 if (edx == 0) then 27 @ 0x11fa else 28 @ 0x11d8
0x11c5 26 if (edx == 0) then 29 @ 0x11e3 else 30 @ 0x11c9
0x11fa 27 if (eax == 0) then 31 @ 0x1217 else 33 @ 0x11fc
0x11d8 28 if (eax == 0) then 35 @ 0x1205 else 37 @ 0x11da
0x11e3 29 if (eax == 0) then 39 @ 0x120e else 41 @ 0x11e5
0x11c9 30 if (eax == 0) then 43 @ 0x11ec else 45 @ 0x11cb
0x1217 31 rdi = 0x2007 {"3 5 7"}
0x1217 32 goto 47 @ 0x121e
0x11fc 33 rdi = 0x2009 {"5 7"}
0x1203 34 goto 47 @ 0x121e
0x1205 35 rdi = 0x200d {"3 7"}
0x120c 36 goto 47 @ 0x121e
0x11da 37 edi = 0x37 {""}
0x11df 38 goto 50 @ 0x11f1
0x120e 39 rdi = 0x2011 {"3 5"}
0x1215 40 goto 47 @ 0x121e
0x11e5 41 edi = 0x35 {""}
0x11ea 42 goto 50 @ 0x11f1
0x11ec 43 edi = 0x33 {""}
0x11ec 44 goto 50 @ 0x11f1
0x11cb 45 edi = 0x6e {""}
0x11d0 46 goto 50 @ 0x11f1
0x121e 47 eax = 0
0x1220 48 call(0x1030)
0x1220 49 goto 52 @ 0x1225
0x11f1 50 call(0x1050)
0x11f6 51 goto 52 @ 0x1225
0x1225 52 eax = 0
0x1227 53 rcx = pop
0x1228 54 <return> jump(pop)
int64_t _fini():
0x1230 0 rsp = rsp - 8
0x1234 1 rsp = rsp + 8
0x1238 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 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 {"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 - 0x1e0
0x116b 3 [rbp - 0x1d4 {var_1dc}].d = 1
0x1175 4 [rbp - 0x1d8 {var_1e0}].d = 1
0x117f 5 rdi = 0x2004 {"%d%d"}
0x1186 6 rsi = rbp - 4 {var_c}
0x118a 7 rdx = rbp - 8 {var_10}
0x118e 8 al = 0
0x1190 9 call(0x1040)
0x1195 10 eax = [rbp - 4 {var_c}].d
0x1198 11 [rbp - 0xc {var_14}].d = eax
0x1198 12 goto 13 @ 0x119b
0x119b 13 eax = [rbp - 0xc {var_14}].d
0x11a1 14 if (eax s> [rbp - 8 {var_10}].d) then 15 @ 0x1384 else 16 @ 0x11a7
0x1384 15 if ([rbp - 0x1d4 {var_1dc}].d s<= 1) then 22 @ 0x13fe else 23 @ 0x138a
0x11a7 16 xmm0.q = float.d([rbp - 0xc {var_14}].d)
0x11ac 17 call(0x1050)
0x11b1 18 eax = int.d(ftrunc(xmm0.q))
0x11b5 19 [rbp - 0x10 {var_18_1}].d = eax
0x11b8 20 [rbp - 0x14 {var_1c_1}].d = 2
0x11b8 21 goto 25 @ 0x11bf
0x13fe 22 if ([rbp - 0x1d4 {var_1dc}].d != 1) then 27 @ 0x1412 else 30 @ 0x1404
0x138a 23 [rbp - 0x1d8 {var_1e0_1}].d = 1
0x138a 24 goto 34 @ 0x1394
0x11bf 25 eax = [rbp - 0x14 {var_1c_1}].d
0x11c5 26 if (eax s> [rbp - 0x10 {var_18_1}].d) then 38 @ 0x11f3 else 42 @ 0x11cb
0x1412 27 rsp = rsp + 0x1e0
0x1419 28 rbp = pop
0x141a 29 <return> jump(pop)
0x1404 30 rdi = 0x2011 {"no\n"}
0x140b 31 al = 0
0x140d 32 call(0x1030)
0x140d 33 goto 27 @ 0x1412
0x1394 34 eax = [rbp - 0x1d8 {var_1e0_1}].d
0x139a 35 ecx = [rbp - 0x1d4 {var_1dc}].d
0x13a0 36 ecx = ecx - 2
0x13a5 37 if (eax s> ecx) then 55 @ 0x13db else 61 @ 0x13ab
0x11f3 38 eax = [rbp - 0x14 {var_1c_1}].d
0x11f6 39 ecx = [rbp - 0x10 {var_18_1}].d
0x11f9 40 ecx = ecx + 1
0x11fe 41 if (eax s< ecx) then 70 @ 0x136a else 71 @ 0x1204
0x11cb 42 eax = [rbp - 0xc {var_14}].d
0x11ce 43 temp2.d:temp3.d = sx.q(eax)
0x11ce 44 edx = temp2.d
0x11ce 45 eax = temp3.d
0x11cf 46 temp4.d = edx
0x11cf 47 temp5.d = eax
0x11cf 48 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp - 0x14 {var_1c_1}].d)
0x11cf 49 temp6.d = edx
0x11cf 50 temp7.d = eax
0x11cf 51 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp - 0x14 {var_1c_1}].d)
0x11cf 52 eax = temp0.d
0x11cf 53 edx = temp1.d
0x11d5 54 if (edx != 0) then 150 @ 0x11e0 else 151 @ 0x11db
0x13db 55 rax = sx.q([rbp - 0x1d8 {var_1e0_1}].d)
0x13e2 56 esi = [rbp + (rax << 2) - 0x1d0].d
0x13e9 57 rdi = 0x200d {"%d\n"}
0x13f0 58 al = 0
0x13f2 59 call(0x1030)
0x13f2 60 goto 22 @ 0x13fe
0x13ab 61 rax = sx.q([rbp - 0x1d8 {var_1e0_1}].d)
0x13b2 62 esi = [rbp + (rax << 2) - 0x1d0].d
0x13b9 63 rdi = 0x2009 {"%d,"}
0x13c0 64 al = 0
0x13c2 65 call(0x1030)
0x13c7 66 eax = [rbp - 0x1d8 {var_1e0_1}].d
0x13cd 67 eax = eax + 1
0x13d0 68 [rbp - 0x1d8 {var_1e0_1}].d = eax
0x13d6 69 goto 34 @ 0x1394
0x136a 70 goto 152 @ 0x136f
0x1204 71 eax = [rbp - 0xc {var_14}].d
0x1207 72 ecx = 0x2710 {""}
0x120c 73 temp8.d:temp9.d = sx.q(eax)
0x120c 74 edx = temp8.d
0x120c 75 eax = temp9.d
0x120d 76 temp10.d = edx
0x120d 77 temp11.d = eax
0x120d 78 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx)
0x120d 79 temp12.d = edx
0x120d 80 temp13.d = eax
0x120d 81 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx)
0x120d 82 eax = temp0.d
0x120d 83 edx = temp1.d
0x120f 84 [rbp - 0x20 {var_28_1}].d = eax
0x1212 85 eax = [rbp - 0xc {var_14}].d
0x1215 86 ecx = [rbp - 0x20 {var_28_1}].d * 0x2710
0x121c 87 eax = eax - ecx
0x121e 88 ecx = 0x3e8 {""}
0x1223 89 temp14.d:temp15.d = sx.q(eax)
0x1223 90 edx = temp14.d
0x1223 91 eax = temp15.d
0x1224 92 temp16.d = edx
0x1224 93 temp17.d = eax
0x1224 94 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx)
0x1224 95 temp18.d = edx
0x1224 96 temp19.d = eax
0x1224 97 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx)
0x1224 98 eax = temp0.d
0x1224 99 edx = temp1.d
0x1226 100 [rbp - 0x24 {var_2c_1}].d = eax
0x1229 101 eax = [rbp - 0xc {var_14}].d
0x122c 102 ecx = [rbp - 0x20 {var_28_1}].d * 0x2710
0x1233 103 eax = eax - ecx
0x1235 104 ecx = [rbp - 0x24 {var_2c_1}].d * 0x3e8
0x123c 105 eax = eax - ecx
0x123e 106 ecx = 0x64 {""}
0x1243 107 temp20.d:temp21.d = sx.q(eax)
0x1243 108 edx = temp20.d
0x1243 109 eax = temp21.d
0x1244 110 temp22.d = edx
0x1244 111 temp23.d = eax
0x1244 112 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx)
0x1244 113 temp24.d = edx
0x1244 114 temp25.d = eax
0x1244 115 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx)
0x1244 116 eax = temp0.d
0x1244 117 edx = temp1.d
0x1246 118 [rbp - 0x28 {var_30_1}].d = eax
0x1249 119 eax = [rbp - 0xc {var_14}].d
0x124c 120 ecx = [rbp - 0x20 {var_28_1}].d * 0x2710
0x1253 121 eax = eax - ecx
0x1255 122 ecx = [rbp - 0x24 {var_2c_1}].d * 0x3e8
0x125c 123 eax = eax - ecx
0x125e 124 ecx = [rbp - 0x28 {var_30_1}].d * 0x64
0x1262 125 eax = eax - ecx
0x1264 126 ecx = 0xa {""}
0x1269 127 temp26.d:temp27.d = sx.q(eax)
0x1269 128 edx = temp26.d
0x1269 129 eax = temp27.d
0x126a 130 temp28.d = edx
0x126a 131 temp29.d = eax
0x126a 132 temp0.d = divs.dp.d(temp28.d:temp29.d, ecx)
0x126a 133 temp30.d = edx
0x126a 134 temp31.d = eax
0x126a 135 temp1.d = mods.dp.d(temp30.d:temp31.d, ecx)
0x126a 136 eax = temp0.d
0x126a 137 edx = temp1.d
0x126c 138 [rbp - 0x2c {var_34_1}].d = eax
0x126f 139 eax = [rbp - 0xc {var_14}].d
0x1272 140 ecx = [rbp - 0x20 {var_28_1}].d * 0x2710
0x1279 141 eax = eax - ecx
0x127b 142 ecx = [rbp - 0x24 {var_2c_1}].d * 0x3e8
0x1282 143 eax = eax - ecx
0x1284 144 ecx = [rbp - 0x28 {var_30_1}].d * 0x64
0x1288 145 eax = eax - ecx
0x128a 146 ecx = [rbp - 0x2c {var_34_1}].d * 0xa
0x128e 147 eax = eax - ecx
0x1290 148 [rbp - 0x30 {var_38_1}].d = eax
0x1297 149 if ([rbp - 0x20 {var_28_1}].d s<= 0) then 156 @ 0x12c8 else 157 @ 0x129d
0x11e0 150 goto 167 @ 0x11e5
0x11db 151 goto 38 @ 0x11f3
0x136f 152 eax = [rbp - 0xc {var_14}].d
0x1372 153 eax = eax + 1
0x1375 154 [rbp - 0xc {var_14}].d = eax
0x1378 155 goto 13 @ 0x119b
0x12c8 156 if ([rbp - 0x24 {var_2c_1}].d s<= 0) then 171 @ 0x12f0 else 172 @ 0x12ce
0x129d 157 eax = [rbp - 0x30 {var_38_1}].d * 0x2710
0x12a4 158 ecx = [rbp - 0x2c {var_34_1}].d * 0x3e8
0x12ab 159 eax = eax + ecx
0x12ad 160 ecx = [rbp - 0x28 {var_30_1}].d * 0x64
0x12b1 161 eax = eax + ecx
0x12b3 162 ecx = [rbp - 0x24 {var_2c_1}].d * 0xa
0x12b7 163 eax = eax + ecx
0x12b9 164 eax = eax + [rbp - 0x20 {var_28_1}].d
0x12bc 165 [rbp - 0x38 {var_40_1}].d = eax
0x12bf 166 goto 180 @ 0x1339
0x11e5 167 eax = [rbp - 0x14 {var_1c_1}].d
0x11e8 168 eax = eax + 1
0x11eb 169 [rbp - 0x14 {var_1c_1}].d = eax
0x11ee 170 goto 25 @ 0x11bf
0x12f0 171 if ([rbp - 0x28 {var_30_1}].d s<= 0) then 182 @ 0x130f else 183 @ 0x12f6
0x12ce 172 eax = [rbp - 0x30 {var_38_1}].d * 0x3e8
0x12d5 173 ecx = [rbp - 0x2c {var_34_1}].d * 0x64
0x12d9 174 eax = eax + ecx
0x12db 175 ecx = [rbp - 0x28 {var_30_1}].d * 0xa
0x12df 176 eax = eax + ecx
0x12e1 177 eax = eax + [rbp - 0x24 {var_2c_1}].d
0x12e4 178 [rbp - 0x38 {var_40_1}].d = eax
0x12e7 179 goto 189 @ 0x1334
0x1339 180 eax = [rbp - 0x38 {var_40_1}].d
0x133f 181 if (eax != [rbp - 0xc {var_14}].d) then 190 @ 0x1365 else 191 @ 0x1345
0x130f 182 if ([rbp - 0x2c {var_34_1}].d s<= 0) then 198 @ 0x1324 else 201 @ 0x1315
0x12f6 183 eax = [rbp - 0x30 {var_38_1}].d * 0x64
0x12fa 184 ecx = [rbp - 0x2c {var_34_1}].d * 0xa
0x12fe 185 eax = eax + ecx
0x1300 186 eax = eax + [rbp - 0x28 {var_30_1}].d
0x1303 187 [rbp - 0x38 {var_40_1}].d = eax
0x1306 188 goto 205 @ 0x132f
0x1334 189 goto 180 @ 0x1339
0x1365 190 goto 70 @ 0x136a
0x1345 191 ecx = [rbp - 0xc {var_14}].d
0x1348 192 rax = sx.q([rbp - 0x1d4 {var_1dc}].d)
0x134f 193 [rbp + (rax << 2) - 0x1d0].d = ecx
0x1356 194 eax = [rbp - 0x1d4 {var_1dc}].d
0x135c 195 eax = eax + 1
0x135f 196 [rbp - 0x1d4 {var_1dc}].d = eax
0x135f 197 goto 190 @ 0x1365
0x1324 198 eax = [rbp - 0x30 {var_38_1}].d
0x1327 199 [rbp - 0x38 {var_40_1}].d = eax
0x1327 200 goto 206 @ 0x132a
0x1315 201 eax = [rbp - 0x30 {var_38_1}].d * 0xa
0x1319 202 eax = eax + [rbp - 0x2c {var_34_1}].d
0x131c 203 [rbp - 0x38 {var_40_1}].d = eax
0x131f 204 goto 206 @ 0x132a
0x132f 205 goto 189 @ 0x1334
0x132a 206 goto 205 @ 0x132f
int64_t _fini():
0x1420 0 rsp = rsp - 8
0x1424 1 rsp = rsp + 8
0x1428 2 <return> jump(pop)
| POJ_74 |
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 - 0x3d0
0x116b 3 [rbp - 4 {var_c}].d = 0
0x1172 4 [rbp - 8 {var_10}].d = edi
0x1175 5 [rbp - 0x10 {var_18}].q = rsi
0x1179 6 rsi = rbp - 0x140 {var_148}
0x1180 7 rdx = rbp - 0x270 {var_278}
0x1187 8 rcx = rbp - 0x3a0 {var_3a8}
0x118e 9 rdi = 0x2004 {"%s %s %s"}
0x1195 10 al = 0
0x1197 11 call(0x1050)
0x119c 12 rdi = rbp - 0x140 {var_148}
0x11a3 13 call(0x1040)
0x11a8 14 [rbp - 0x3a4 {var_3ac}].d = eax
0x11ae 15 rdi = rbp - 0x270 {var_278}
0x11b5 16 call(0x1040)
0x11ba 17 [rbp - 0x3a8 {var_3b0}].d = eax
0x11c0 18 [rbp - 0x3b4 {var_3bc}].d = 0
0x11ca 19 [rbp - 0x3b8 {var_3c0}].d = 0
0x11d4 20 [rbp - 0x3ac {var_3b4}].d = 0
0x11de 21 [rbp - 0x3b0 {var_3b8}].d = 0
0x11de 22 goto 23 @ 0x11e8
0x11e8 23 eax = [rbp - 0x3b0 {var_3b8}].d
0x11f4 24 if (eax s>= [rbp - 0x3a4 {var_3ac}].d) then 25 @ 0x1367 else 26 @ 0x1201
0x1367 25 if ([rbp - 0x3b8 {var_3c0}].d != 0) then 27 @ 0x1387 else 31 @ 0x136d
0x1201 26 if ([rbp - 0x3b8 {var_3c0}].d == 1) then 36 @ 0x130e else 37 @ 0x120e
0x1387 27 eax = [rbp - 0x3bc {var_3c4}].d
0x138d 28 [rbp - 0x3c0 {var_3c8_1}].d = eax
0x1393 29 [rbp - 0x3c4 {var_3cc_1}].d = 0
0x1393 30 goto 38 @ 0x139d
0x136d 31 rsi = rbp - 0x140 {var_148}
0x1374 32 rdi = 0x200a {"%s"}
0x137b 33 al = 0
0x137d 34 call(0x1030)
0x1382 35 goto 42 @ 0x1427
0x130e 36 if ([rbp - 0x3b8 {var_3c0}].d == 1) then 46 @ 0x1332 else 47 @ 0x1314
0x120e 37 if ([rbp - 0x3b4 {var_3bc}].d != 0) then 36 @ 0x130e else 49 @ 0x1214
0x139d 38 eax = [rbp - 0x3c0 {var_3c8_1}].d
0x13a3 39 ecx = [rbp - 0x3bc {var_3c4}].d
0x13a9 40 ecx = ecx + [rbp - 0x3a8 {var_3b0}].d
0x13b1 41 if (eax s>= ecx) then 54 @ 0x1412 else 59 @ 0x13b7
0x1427 42 eax = 0
0x1429 43 rsp = rsp + 0x3d0
0x1430 44 rbp = pop
0x1431 45 <return> jump(pop)
0x1332 46 if ([rbp - 0x3b8 {var_3c0}].d != 1) then 68 @ 0x133d else 69 @ 0x1338
0x1314 47 eax = [rbp - 0x3b4 {var_3bc}].d
0x1320 48 if (eax != [rbp - 0x3a4 {var_3ac}].d) then 46 @ 0x1332 else 70 @ 0x1326
0x1214 49 rax = sx.q([rbp - 0x3ac {var_3b4}].d)
0x121b 50 eax = sx.d([rbp + rax - 0x270].b)
0x1223 51 rcx = sx.q([rbp - 0x3b0 {var_3b8}].d)
0x122a 52 ecx = sx.d([rbp + rcx - 0x140].b)
0x1234 53 if (eax != ecx) then 71 @ 0x1302 else 72 @ 0x123a
0x1412 54 rsi = rbp - 0x140 {var_148}
0x1419 55 rdi = 0x200a {"%s"}
0x1420 56 al = 0
0x1422 57 call(0x1030)
0x1422 58 goto 42 @ 0x1427
0x13b7 59 rax = sx.q([rbp - 0x3c4 {var_3cc_1}].d)
0x13be 60 cl = [rbp + rax - 0x3a0].b
0x13c5 61 rax = sx.q([rbp - 0x3c0 {var_3c8_1}].d)
0x13cc 62 [rbp + rax - 0x140].b = cl
0x13d3 63 eax = [rbp - 0x3c4 {var_3cc_1}].d
0x13d9 64 eax = eax + 1
0x13dc 65 [rbp - 0x3c4 {var_3cc_1}].d = eax
0x13e2 66 eax = [rbp - 0x3c4 {var_3cc_1}].d
0x13ee 67 if (eax != [rbp - 0x3a8 {var_3b0}].d) then 79 @ 0x13f9 else 80 @ 0x13f4
0x133d 68 goto 81 @ 0x1342
0x1338 69 goto 25 @ 0x1367
0x1326 70 goto 25 @ 0x1367
0x1302 71 goto 82 @ 0x1347
0x123a 72 eax = [rbp - 0x3b0 {var_3b8}].d
0x1240 73 eax = eax + 1
0x1243 74 [rbp - 0x3b4 {var_3bc}].d = eax
0x1249 75 eax = [rbp - 0x3ac {var_3b4}].d
0x124f 76 eax = eax + 1
0x1252 77 [rbp - 0x3ac {var_3b4}].d = eax
0x1252 78 goto 83 @ 0x1258
0x13f9 79 goto 85 @ 0x13fe
0x13f4 80 goto 54 @ 0x1412
0x1342 81 goto 82 @ 0x1347
0x1347 82 goto 89 @ 0x134c
0x1258 83 eax = [rbp - 0x3ac {var_3b4}].d
0x1264 84 if (eax s>= [rbp - 0x3a8 {var_3b0}].d) then 93 @ 0x12fd else 94 @ 0x126a
0x13fe 85 eax = [rbp - 0x3c0 {var_3c8_1}].d
0x1404 86 eax = eax + 1
0x1407 87 [rbp - 0x3c0 {var_3c8_1}].d = eax
0x140d 88 goto 38 @ 0x139d
0x134c 89 eax = [rbp - 0x3b0 {var_3b8}].d
0x1352 90 eax = eax + 1
0x1355 91 [rbp - 0x3b0 {var_3b8}].d = eax
0x135b 92 goto 23 @ 0x11e8
0x12fd 93 goto 71 @ 0x1302
0x126a 94 rax = sx.q([rbp - 0x3ac {var_3b4}].d)
0x1271 95 eax = sx.d([rbp + rax - 0x270].b)
0x1279 96 rcx = sx.q([rbp - 0x3b4 {var_3bc}].d)
0x1280 97 ecx = sx.d([rbp + rcx - 0x140].b)
0x128a 98 if (eax == ecx) then 99 @ 0x129f else 104 @ 0x1290
0x129f 99 eax = [rbp - 0x3ac {var_3b4}].d
0x12a5 100 eax = eax + 1
0x12a8 101 [rbp - 0x3ac {var_3b4}].d = eax
0x12ae 102 eax = [rbp - 0x3ac {var_3b4}].d
0x12ba 103 if (eax != [rbp - 0x3a8 {var_3b0}].d) then 106 @ 0x12df else 107 @ 0x12c0
0x1290 104 [rbp - 0x3ac {var_3b4}].d = 0
0x129a 105 goto 113 @ 0x12e4
0x12df 106 goto 113 @ 0x12e4
0x12c0 107 [rbp - 0x3b8 {var_3c0}].d = 1
0x12ca 108 eax = [rbp - 0x3b4 {var_3bc}].d
0x12d0 109 eax = eax - [rbp - 0x3a8 {var_3b0}].d
0x12d6 110 eax = eax + 1
0x12d9 111 [rbp - 0x3bc {var_3c4}].d = eax
0x12d9 112 goto 106 @ 0x12df
0x12e4 113 goto 114 @ 0x12e9
0x12e9 114 eax = [rbp - 0x3b4 {var_3bc}].d
0x12ef 115 eax = eax + 1
0x12f2 116 [rbp - 0x3b4 {var_3bc}].d = eax
0x12f8 117 goto 83 @ 0x1258
int64_t _fini():
0x1438 0 rsp = rsp - 8
0x143c 1 rsp = rsp + 8
0x1440 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 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 {"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 - 0x4c0
0x116c 4 rdi = 0x2004 {"%lf"}
0x1173 5 rsi = rsp + 8 {var_4d0}
0x1178 6 eax = 0
0x117a 7 call(0x1050)
0x117f 8 r15 = rsp + 0x268 {var_270}
0x1187 9 rdi = 0x2008 {"%s %s"}
0x118e 10 rbx = rsp + 0x10 {var_4c8}
0x1193 11 rsi = rbx {var_4c8}
0x1196 12 rdx = r15 {var_270}
0x1199 13 eax = 0
0x119b 14 call(0x1050)
0x11a0 15 rdi = rbx {var_4c8}
0x11a3 16 call(0x1040)
0x11a8 17 r14 = rax
0x11ab 18 rdi = r15 {var_270}
0x11ae 19 call(0x1040)
0x11b3 20 rdi = 0x200e {"error"}
0x11bd 21 if (r14d != eax) then 22 @ 0x124b else 30 @ 0x11c6
0x124b 22 eax = 0
0x124d 23 call(0x1030)
0x1252 24 eax = 0
0x1254 25 rsp = rsp + 0x4c0
0x125b 26 rbx = pop
0x125c 27 r14 = pop
0x125e 28 r15 = pop
0x1260 29 <return> jump(pop)
0x11c6 30 if (r14d s<= 0) then 31 @ 0x1226 else 33 @ 0x11c8
0x1226 31 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x1226 32 goto 38 @ 0x122a
0x11c8 33 r8d = r14d
0x11cb 34 ecx = 0
0x11cd 35 r9d = 0x80045 {""}
0x11d3 36 esi = 0
0x11df 37 goto 49 @ 0x11e0
0x122a 38 xmm1.q = float.d(r14d)
0x122f 39 xmm0.q = xmm0.q f/ xmm1.q
0x1233 40 flag:p = is_unordered.q(xmm0.q, fconvert.t([rsp + 8 {var_4d0}].q))
0x1233 41 flag:c = xmm0.q f< fconvert.t([rsp + 8 {var_4d0}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + 8 {var_4d0}].q))
0x1233 42 flag:z = xmm0.q f== fconvert.t([rsp + 8 {var_4d0}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + 8 {var_4d0}].q))
0x1233 43 flag:s = 0
0x1233 44 flag:o = 0
0x1233 45 flag:a = 0
0x1239 46 rax = 0x2018 {"no"}
0x1240 47 rdi = 0x2014 {"yes"}
0x1247 48 if (flag:c) then 52 else 54
0x11e0 49 ebx = zx.d([rsp + rcx + 0x10].b)
0x11e5 50 eax = (rbx - 0x41).d
0x11ea 51 if (al u> 0x13) then 22 @ 0x124b else 55 @ 0x11ec
0x1247 52 rdi = rax
0x1247 53 goto 54
0x1247 54 goto 22 @ 0x124b
0x11ec 55 eax = zx.d(al)
0x11ef 56 flag:c = test_bit(r9, rax)
0x11f3 57 if (not(flag:c)) then 22 @ 0x124b else 58 @ 0x11f5
0x11f5 58 eax = zx.d([rsp + rcx + 0x268].b)
0x11fd 59 edx = (rax - 0x41).d
0x1203 60 if (dl u> 0x13) then 22 @ 0x124b else 61 @ 0x1205
0x1205 61 edx = zx.d(dl)
0x1208 62 flag:c = test_bit(r9, rdx)
0x120c 63 if (not(flag:c)) then 22 @ 0x124b else 64 @ 0x120e
0x120e 64 edx = 0
0x1212 65 dl = bl == al
0x1215 66 esi = esi + edx
0x1217 67 rcx = rcx + 1
0x121e 68 if (r8 != rcx) then 49 @ 0x11e0 else 69 @ 0x1220
0x1220 69 xmm0.q = float.d(esi)
0x1224 70 goto 38 @ 0x122a
int64_t _fini():
0x1268 0 rsp = rsp - 8
0x126c 1 rsp = rsp + 8
0x1270 2 <return> jump(pop)
| POJ_5 |
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 {"UAWAVSH"}
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(rbx)
0x1176 4 rsp = rsp - 0xfb8
0x117d 5 rdi = rsp + 0x10 {var_fc8}
0x1182 6 r15d = 0
0x1185 7 edx = 0xfa0 {""}
0x118a 8 esi = 0
0x118c 9 call(0x1040)
0x1191 10 rdi = 0x2004 {"%d%d"}
0x1198 11 rsi = rsp + 0xc {var_fcc}
0x119d 12 rdx = rsp + 8 {var_fd0}
0x11a2 13 eax = 0
0x11a4 14 call(0x1050)
0x11a9 15 r9d = [rsp + 0xc {var_fcc}].d
0x11ae 16 r8d = [rsp + 8 {var_fd0}].d
0x11b6 17 if (r9d s> r8d) then 18 @ 0x13de else 21 @ 0x11bc
0x13de 18 rdi = 0x200d {"no"}
0x13e5 19 call(0x1060)
0x13e5 20 goto 22 @ 0x13ea
0x11bc 21 goto 28 @ 0x11d6
0x13ea 22 rsp = rsp + 0xfb8
0x13f1 23 rbx = pop
0x13f2 24 r14 = pop
0x13f4 25 r15 = pop
0x13f6 26 rbp = pop
0x13f7 27 <return> jump(pop)
0x11d6 28 if (r9d s>= 4) then 29 @ 0x11e0 else 34 @ 0x11db
0x11e0 29 ecx = r9d
0x11e3 30 ecx = ecx u>> 1
0x11e5 31 ecx = neg.d(ecx)
0x11e7 32 edi = 2
0x11ec 33 goto 35 @ 0x11f0
0x11db 34 if (eax != 1) then 48 @ 0x11c2 else 52 @ 0x11dd
0x11f0 35 eax = r9d
0x11f3 36 temp2.d:temp3.d = sx.q(eax)
0x11f3 37 edx = temp2.d
0x11f3 38 eax = temp3.d
0x11f4 39 temp4.d = edx
0x11f4 40 temp5.d = eax
0x11f4 41 temp0.d = divs.dp.d(temp4.d:temp5.d, edi)
0x11f4 42 temp6.d = edx
0x11f4 43 temp7.d = eax
0x11f4 44 temp1.d = mods.dp.d(temp6.d:temp7.d, edi)
0x11f4 45 eax = temp0.d
0x11f4 46 edx = temp1.d
0x11f8 47 if (edx == 0) then 53 @ 0x11c0 else 55 @ 0x11fa
0x11c2 48 ecx = (r9 + 1).d
0x11c6 49 cond:0 = r9d == r8d
0x11c9 50 r9d = ecx
0x11cc 51 if (cond:0) then 61 @ 0x136f else 28 @ 0x11d6
0x11dd 52 goto 63 @ 0x120f
0x11c0 53 eax = 0
0x11c0 54 goto 48 @ 0x11c2
0x11fa 55 eax = (rcx + rdi).d
0x11fd 56 eax = eax + 1
0x1200 57 edx = edi
0x1202 58 edx = edx + 1
0x1205 59 edi = edx
0x120a 60 if (eax != 1) then 35 @ 0x11f0 else 63 @ 0x120f
0x136f 61 esi = [rsp + 0x10 {var_fc8}].d
0x1375 62 if (esi == 0) then 18 @ 0x13de else 64 @ 0x1377
0x120f 63 if (r9d == 0) then 66 @ 0x127e else 68 @ 0x1211
0x1377 64 r14d = (r15 - 1).d
0x137f 65 if (r15d s< 2) then 81 @ 0x13c7 else 87 @ 0x1381
0x127e 66 edi = 0
0x1280 67 goto 91 @ 0x1350
0x1211 68 rax = sx.q(r9d)
0x1214 69 rax = rax * 0x66666667
0x121b 70 rcx = rax
0x121e 71 rcx = rcx u>> 0x3f
0x1222 72 rax = rax s>> 0x22
0x1226 73 eax = eax + ecx
0x1228 74 eax = eax + eax
0x122a 75 eax = (rax + (rax << 2)).d
0x122d 76 edi = r9d
0x1230 77 edi = edi - eax
0x1232 78 eax = 0
0x1234 79 ecx = r9d
0x1237 80 goto 93 @ 0x1240
0x13c7 81 rax = sx.q(r14d)
0x13ca 82 esi = [rsp + (rax << 2) + 0x10].d
0x13ce 83 rdi = 0x2006 {"%d"}
0x13d5 84 eax = 0
0x13d7 85 call(0x1030)
0x13dc 86 goto 22 @ 0x13ea
0x1381 87 rdi = 0x2009 {"%d,"}
0x1388 88 eax = 0
0x138a 89 call(0x1030)
0x1393 90 if (r14d == 1) then 81 @ 0x13c7 else 103 @ 0x1395
0x1350 91 eax = 1
0x1358 92 if (r9d != edi) then 48 @ 0x11c2 else 107 @ 0x135e
0x1240 93 edx = eax
0x1242 94 rbp = sx.q(ecx)
0x1245 95 rcx = rbp * 0x66666667
0x124c 96 rax = rcx
0x124f 97 rax = rax u>> 0x3f
0x1253 98 rcx = rcx s>> 0x22
0x1257 99 ecx = ecx + eax
0x1259 100 ebp = ebp + 9
0x125c 101 eax = (rdx - 1).d
0x1262 102 if (ebp u>= 0x13) then 93 @ 0x1240 else 111 @ 0x1264
0x1395 103 ebp = r14d
0x1398 104 ebx = 1
0x139d 105 r15 = 0x2009 {"%d,"}
0x13ae 106 goto 114 @ 0x13b0
0x135e 107 r15 = sx.q(r15d)
0x1361 108 [rsp + (r15 << 2) + 0x10].d = r9d
0x1366 109 r15d = r15d + 1
0x136a 110 goto 48 @ 0x11c2
0x1264 111 ecx = eax
0x1266 112 ecx = neg.d(ecx)
0x126b 113 if (ecx u< 2) then 91 @ 0x1350 else 120 @ 0x1274
0x13b0 114 esi = [rsp + (rbx << 2) + 0x10].d
0x13b4 115 rdi = r15
0x13b7 116 eax = 0
0x13b9 117 call(0x1030)
0x13be 118 rbx = rbx + 1
0x13c5 119 if (rbp != rbx) then 114 @ 0x13b0 else 81 @ 0x13c7
0x1274 120 if (eax != -2) then 121 @ 0x1285 else 125 @ 0x1276
0x1285 121 edx = neg.d(edx)
0x1287 122 edx = edx & 0xfffffffe
0x128a 123 ecx = r9d
0x128d 124 goto 127 @ 0x1290
0x1276 125 ecx = r9d
0x1279 126 goto 163 @ 0x130a
0x1290 127 rcx = sx.q(ecx)
0x1293 128 rbp = rcx * 0x66666667
0x129a 129 rbx = rbp
0x129d 130 rbx = rbx u>> 0x3f
0x12a1 131 rbp = rbp s>> 0x22
0x12a5 132 ebp = ebp + ebx
0x12a7 133 edi = (rdi + (rdi << 2)).d
0x12aa 134 rbp = sx.q(ebp)
0x12ad 135 rbx = rbp * 0x66666667
0x12b4 136 rsi = rbx
0x12b7 137 rsi = rsi u>> 0x3f
0x12bb 138 rbx = rbx s>> 0x22
0x12bf 139 ebx = ebx + esi
0x12c1 140 ebx = ebx + ebx
0x12c3 141 esi = (rbx + (rbx << 2)).d
0x12c6 142 ebp = ebp - esi
0x12c8 143 esi = (rbp + (rdi << 1)).d
0x12cc 144 rcx = rcx * 0x51eb851f
0x12d3 145 rdi = rcx
0x12d6 146 rdi = rdi u>> 0x3f
0x12da 147 rcx = rcx s>> 0x25
0x12de 148 ecx = ecx + edi
0x12e0 149 esi = (rsi + (rsi << 2)).d
0x12e3 150 rdi = sx.q(ecx)
0x12e6 151 rbp = rdi * 0x66666667
0x12ed 152 rbx = rbp
0x12f0 153 rbx = rbx u>> 0x3f
0x12f4 154 rbp = rbp s>> 0x22
0x12f8 155 ebp = ebp + ebx
0x12fa 156 ebp = ebp + ebp
0x12fc 157 ebp = (rbp + (rbp << 2)).d
0x1300 158 edi = edi - ebp
0x1302 159 edi = (rdi + (rsi << 1)).d
0x1305 160 temp8.d = edx
0x1305 161 edx = edx - 2
0x1308 162 if (temp8.d != 2) then 127 @ 0x1290 else 163 @ 0x130a
0x130a 163 eax = not.d(eax)
0x130e 164 if ((al & 1) == 0) then 91 @ 0x1350 else 165 @ 0x1310
0x1310 165 rax = sx.q(ecx)
0x1313 166 rax = rax * 0x66666667
0x131a 167 rcx = rax
0x131d 168 rcx = rcx u>> 0x3f
0x1321 169 rax = rax s>> 0x22
0x1325 170 eax = eax + ecx
0x1327 171 ecx = (rdi + (rdi << 2)).d
0x132a 172 rax = sx.q(eax)
0x132c 173 rdx = rax * 0x66666667
0x1333 174 rsi = rdx
0x1336 175 rsi = rsi u>> 0x3f
0x133a 176 rdx = rdx s>> 0x22
0x133e 177 edx = edx + esi
0x1340 178 edx = edx + edx
0x1342 179 edx = (rdx + (rdx << 2)).d
0x1345 180 eax = eax - edx
0x1347 181 edi = (rax + (rcx << 1)).d
0x134a 182 goto 91 @ 0x1350
int64_t _fini():
0x13fc 0 rsp = rsp - 8
0x1400 1 rsp = rsp + 8
0x1404 2 <return> jump(pop)
| POJ_74 |
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 = 0x1430 {"PH=>"}
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 test(uint64_t arg1[0x2] @ zmm0, uint64_t arg2[0x2] @ zmm2):
0x1160 0 xmm2 = _mm_xor_pd(xmm2, xmm2)
0x1164 1 xmm2.q = xmm2.q f- xmm0.q
0x1168 2 xmm3 = zx.o([0x2008].q)
0x1170 3 xmm1 = xmm0
0x1174 4 xmm1 = _mm_cmpeq_sd(xmm1.q, xmm3.q, 1)
0x1179 5 xmm2 = _mm_cmpeq_sd(xmm2.q, xmm3.q, 1)
0x117e 6 xmm2 = _mm_andnot_pd(xmm2, xmm0)
0x1182 7 xmm2 = _mm_and_pd(xmm2, xmm1)
0x1186 8 xmm1 = _mm_andnot_pd(xmm1, xmm0)
0x118a 9 xmm1 = _mm_or_pd(xmm1, xmm2)
0x118e 10 xmm0 = xmm1
0x1192 11 <return> jump(pop)
int64_t doit(uint64_t arg1[0x2] @ zmm2):
0x11a0 0 rsp = rsp - 0x18
0x11a4 1 rdi = 0x2030 {"%lf %lf %lf"}
0x11ab 2 rsi = 0x4048 {""}
0x11b2 3 rdx = 0x4050 {""}
0x11b9 4 rcx = 0x4058 {""}
0x11c0 5 eax = 0
0x11c2 6 call(0x1040)
0x11c7 7 xmm1 = zx.o([0x4048].q)
0x11cf 8 xmm0 = zx.o([0x2010].q)
0x11d7 9 xmm0.q = xmm0.q f* xmm1.q
0x11db 10 xmm0.q = xmm0.q f* fconvert.t([0x4058].q)
0x11e3 11 xmm5 = zx.o([0x4050].q)
0x11eb 12 xmm3 = xmm5
0x11ef 13 xmm3.q = xmm3.q f* xmm5.q
0x11f3 14 xmm3.q = xmm3.q f+ xmm0.q
0x11f7 15 xmm2 = _mm_xor_pd(xmm2, xmm2)
0x11fb 16 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x11ff 17 xmm0.q = xmm0.q f- xmm3.q
0x1203 18 xmm6 = zx.o([0x2008].q)
0x120b 19 xmm4 = xmm3
0x120f 20 xmm4 = _mm_cmpeq_sd(xmm4.q, xmm6.q, 1)
0x1214 21 xmm0 = _mm_cmpeq_sd(xmm0.q, xmm6.q, 1)
0x1219 22 xmm0 = _mm_andnot_pd(xmm0, xmm3)
0x121d 23 xmm0 = _mm_and_pd(xmm0, xmm4)
0x1221 24 xmm4 = _mm_andnot_pd(xmm4, xmm3)
0x1225 25 xmm0 = _mm_or_pd(xmm0, xmm4)
0x1229 26 [0x4060].q = xmm0.q
0x1231 27 flag:p = is_unordered.q(xmm6.q, xmm0.q)
0x1231 28 flag:c = xmm6.q f< xmm0.q | is_unordered.q(xmm6.q, xmm0.q)
0x1231 29 flag:z = xmm6.q f== xmm0.q | is_unordered.q(xmm6.q, xmm0.q)
0x1231 30 flag:s = 0
0x1231 31 flag:o = 0
0x1231 32 flag:a = 0
0x1235 33 if (flag:z || flag:c) then 34 @ 0x1296 else 41 @ 0x1237
0x1296 34 flag:p = is_unordered.q(xmm0.q, xmm2.q)
0x1296 35 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q)
0x1296 36 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q)
0x1296 37 flag:s = 0
0x1296 38 flag:o = 0
0x1296 39 flag:a = 0
0x129a 40 if (flag:z || flag:c) then 50 @ 0x12af else 58 @ 0x129c
0x1237 41 xmm3 = _mm_xor_pd(xmm3, xmm3)
0x123b 42 xmm3.q = xmm3.q f- xmm0.q
0x123f 43 flag:p = is_unordered.q(xmm6.q, xmm3.q)
0x123f 44 flag:c = xmm6.q f< xmm3.q | is_unordered.q(xmm6.q, xmm3.q)
0x123f 45 flag:z = xmm6.q f== xmm3.q | is_unordered.q(xmm6.q, xmm3.q)
0x123f 46 flag:s = 0
0x123f 47 flag:o = 0
0x123f 48 flag:a = 0
0x1243 49 if (flag:z || flag:c) then 34 @ 0x1296 else 66 @ 0x1245
0x12af 50 xmm2 = _mm_xor_pd(xmm2, xmm2)
0x12b3 51 flag:p = is_unordered.q(xmm2.q, xmm0.q)
0x12b3 52 flag:c = xmm2.q f< xmm0.q | is_unordered.q(xmm2.q, xmm0.q)
0x12b3 53 flag:z = xmm2.q f== xmm0.q | is_unordered.q(xmm2.q, xmm0.q)
0x12b3 54 flag:s = 0
0x12b3 55 flag:o = 0
0x12b3 56 flag:a = 0
0x12b7 57 if (flag:z || flag:c) then 84 @ 0x1420 else 86 @ 0x12bd
0x129c 58 xmm3 = _mm_xor_pd(xmm3, xmm3)
0x12a0 59 flag:p = is_unordered.q(xmm0.q, xmm3.q)
0x12a0 60 flag:c = xmm0.q f< xmm3.q | is_unordered.q(xmm0.q, xmm3.q)
0x12a0 61 flag:z = xmm0.q f== xmm3.q | is_unordered.q(xmm0.q, xmm3.q)
0x12a0 62 flag:s = 0
0x12a0 63 flag:o = 0
0x12a0 64 flag:a = 0
0x12a4 65 if (flag:c) then 108 @ 0x1316 else 114 @ 0x12a6
0x1245 66 xmm5 = __xorpd_xmmxuq_memxuq(xmm5, [0x2020].o)
0x124d 67 xmm1.q = xmm1.q f+ xmm1.q
0x1251 68 xmm5.q = xmm5.q f/ xmm1.q
0x1255 69 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x1259 70 xmm0.q = xmm0.q f- xmm5.q
0x125d 71 xmm1 = xmm5
0x1261 72 xmm1 = _mm_cmpeq_sd(xmm1.q, xmm6.q, 1)
0x1266 73 xmm0 = _mm_cmpeq_sd(xmm0.q, xmm6.q, 1)
0x126b 74 xmm0 = _mm_andnot_pd(xmm0, xmm5)
0x126f 75 xmm0 = _mm_and_pd(xmm0, xmm1)
0x1273 76 xmm1 = _mm_andnot_pd(xmm1, xmm5)
0x1277 77 xmm0 = _mm_or_pd(xmm0, xmm1)
0x127b 78 [0x4068].q = xmm0.q
0x1283 79 rdi = 0x203c {"x1=x2=%.5f\n"}
0x128a 80 al = 1
0x128c 81 call(0x1030)
0x1291 82 rsp = rsp + 0x18
0x1295 83 <return> jump(pop)
0x1420 84 rsp = rsp + 0x18
0x1424 85 <return> jump(pop)
0x12bd 86 xmm3 = zx.o([0x2018].q)
0x12c5 87 xmm5 = _mm_xor_pd(xmm5, xmm3)
0x12c9 88 xmm1.q = xmm1.q f+ xmm1.q
0x12cd 89 xmm5.q = xmm5.q f/ xmm1.q
0x12d1 90 xmm2.q = xmm2.q f- xmm5.q
0x12d5 91 xmm1 = xmm5
0x12d9 92 xmm1 = _mm_cmpeq_sd(xmm1.q, xmm6.q, 1)
0x12de 93 xmm2 = _mm_cmpeq_sd(xmm2.q, xmm6.q, 1)
0x12e3 94 xmm2 = _mm_andnot_pd(xmm2, xmm5)
0x12e7 95 xmm2 = _mm_and_pd(xmm2, xmm1)
0x12eb 96 xmm1 = _mm_andnot_pd(xmm1, xmm5)
0x12ef 97 xmm2 = _mm_or_pd(xmm2, xmm1)
0x12f3 98 [0x4068].q = xmm2.q
0x12fb 99 xmm1 = xmm0
0x12ff 100 xmm1 = _mm_xor_pd(xmm1, xmm3)
0x1303 101 flag:p = is_unordered.q(xmm3.q, xmm0.q)
0x1303 102 flag:c = xmm3.q f< xmm0.q | is_unordered.q(xmm3.q, xmm0.q)
0x1303 103 flag:z = xmm3.q f== xmm0.q | is_unordered.q(xmm3.q, xmm0.q)
0x1303 104 flag:s = 0
0x1303 105 flag:o = 0
0x1303 106 flag:a = 0
0x1307 107 if (flag:c) then 116 @ 0x13dd else 120 @ 0x130d
0x1316 108 [rsp {var_18_1}].o = xmm5
0x131b 109 call(0x1050)
0x1320 110 xmm3 = _mm_xor_pd(xmm3, xmm3)
0x1324 111 xmm6 = zx.o([0x2008].q)
0x132c 112 xmm5 = [rsp {var_18_1}].o
0x132c 113 goto 122 @ 0x1331
0x12a6 114 xmm0 = _mm_sqrt_sd(xmm0.q)
0x12aa 115 goto 122 @ 0x1331
0x13dd 116 xmm0 = xmm1
0x13e1 117 call(0x1050)
0x13e6 118 xmm1 = xmm0
0x13e6 119 goto 146 @ 0x13ea
0x130d 120 xmm1 = _mm_sqrt_sd(xmm1.q)
0x1311 121 goto 146 @ 0x13ea
0x1331 122 xmm0.q = xmm0.q f- xmm5.q
0x1335 123 xmm1 = zx.o([0x4048].q)
0x133d 124 xmm1.q = xmm1.q f+ xmm1.q
0x1341 125 xmm0.q = xmm0.q f/ xmm1.q
0x1345 126 xmm4 = _mm_xor_pd(xmm4, xmm4)
0x1349 127 xmm4.q = xmm4.q f- xmm0.q
0x134d 128 xmm2 = xmm0
0x1351 129 xmm2 = _mm_cmpeq_sd(xmm2.q, xmm6.q, 1)
0x1356 130 xmm4 = _mm_cmpeq_sd(xmm4.q, xmm6.q, 1)
0x135b 131 xmm4 = _mm_andnot_pd(xmm4, xmm0)
0x135f 132 xmm4 = _mm_and_pd(xmm4, xmm2)
0x1363 133 xmm2 = _mm_andnot_pd(xmm2, xmm0)
0x1367 134 xmm4 = _mm_or_pd(xmm4, xmm2)
0x136b 135 xmm1 = zx.o([0x4050].q)
0x1373 136 xmm1 = __xorpd_xmmxuq_memxuq(xmm1, [0x2020].o)
0x137b 137 [0x4068].q = xmm4.q
0x1383 138 xmm0 = zx.o([0x4060].q)
0x138b 139 flag:p = is_unordered.q(xmm0.q, xmm3.q)
0x138b 140 flag:c = xmm0.q f< xmm3.q | is_unordered.q(xmm0.q, xmm3.q)
0x138b 141 flag:z = xmm0.q f== xmm3.q | is_unordered.q(xmm0.q, xmm3.q)
0x138b 142 flag:s = 0
0x138b 143 flag:o = 0
0x138b 144 flag:a = 0
0x138f 145 if (flag:c) then 157 @ 0x1397 else 161 @ 0x1391
0x13ea 146 xmm0 = zx.o([0x4048].q)
0x13f2 147 xmm0.q = xmm0.q f+ xmm0.q
0x13f6 148 xmm1.q = xmm1.q f/ xmm0.q
0x13fa 149 [0x4070].q = xmm1.q
0x1402 150 xmm0 = zx.o([0x4068].q)
0x140a 151 rdi = 0x2059 {"x1=%.5f+%.5fi;x2=%.5f-%.5fi\n"}
0x1411 152 xmm2 = xmm0
0x1415 153 xmm3 = xmm1
0x1419 154 al = 4
0x141b 155 call(0x1030)
0x141b 156 goto 84 @ 0x1420
0x1397 157 [rsp {var_18_2}].o = xmm1
0x139c 158 call(0x1050)
0x13a1 159 xmm1 = [rsp {var_18_2}].o
0x13a1 160 goto 163 @ 0x13a6
0x1391 161 xmm0 = _mm_sqrt_sd(xmm0.q)
0x1395 162 goto 163 @ 0x13a6
0x13a6 163 xmm1.q = xmm1.q f- xmm0.q
0x13aa 164 xmm0 = zx.o([0x4048].q)
0x13b2 165 xmm0.q = xmm0.q f+ xmm0.q
0x13b6 166 xmm1.q = xmm1.q f/ xmm0.q
0x13ba 167 [0x4070].q = xmm1.q
0x13c2 168 xmm0 = zx.o([0x4068].q)
0x13ca 169 rdi = 0x2048 {"x1=%.5f;x2=%.5f\n"}
0x13d1 170 al = 2
0x13d3 171 call(0x1030)
0x13d8 172 rsp = rsp + 0x18
0x13dc 173 <return> jump(pop)
int32_t main(int32_t argc, char** argv, char** envp):
0x1430 0 push(rax)
0x1431 1 rdi = 0x2076 {"%d"}
0x1438 2 rsi = 0x4078 {""}
0x143f 3 eax = 0
0x1441 4 call(0x1040)
0x1446 5 [0x407c].d = 1
0x1457 6 if ([0x4078].d s<= 0) then 7 @ 0x147c else 10 @ 0x1459
0x147c 7 eax = 0
0x147e 8 rcx = pop
0x147f 9 <return> jump(pop)
0x1459 10 goto 11 @ 0x1460
0x1460 11 call(0x11a0)
0x1465 12 eax = [0x407c].d
0x146b 13 ecx = (rax + 1).d
0x146e 14 [0x407c].d = ecx
0x147a 15 if (eax s< [0x4078].d) then 11 @ 0x1460 else 7 @ 0x147c
int64_t _fini():
0x1484 0 rsp = rsp - 8
0x1488 1 rsp = rsp + 8
0x148c 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)
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 {"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 - 0x1398
0x115e 5 eax = 0
0x1160 6 xmm0 = [0x2010].o
0x1167 7 goto 8 @ 0x1170
0x1170 8 [rsp + (rax << 2) + 0x3f0].o = xmm0
0x1178 9 [rsp + (rax << 2) + 0x400].o = xmm0
0x1180 10 [rsp + (rax << 2) + 0x410].o = xmm0
0x1188 11 [rsp + (rax << 2) + 0x420].o = xmm0
0x1190 12 [rsp + (rax << 2) + 0x430].o = xmm0
0x1198 13 [rsp + (rax << 2) + 0x440].o = xmm0
0x11a0 14 [rsp + (rax << 2) + 0x450].o = xmm0
0x11a8 15 [rsp + (rax << 2) + 0x460].o = xmm0
0x11b0 16 [rsp + (rax << 2) + 0x470].o = xmm0
0x11b8 17 [rsp + (rax << 2) + 0x480].o = xmm0
0x11c0 18 rax = rax + 0x28
0x11ca 19 if (rax != 0x3e8) then 8 @ 0x1170 else 20 @ 0x11cc
0x11cc 20 ebx = 0
0x11ce 21 rdi = rsp {var_13b8}
0x11d1 22 eax = 0
0x11d3 23 call(0x1040)
0x11d8 24 xmm0 = [0x2020].o
0x11e0 25 xmm1 = [0x2030].o
0x11e8 26 goto 27 @ 0x1201
0x1201 27 xmm2 = [rsp + rbx].q
0x1206 28 xmm3 = xmm2
0x120a 29 xmm3 = _mm_cmpgt_epi8(xmm3, xmm0)
0x120e 30 eax = xmm3.d
0x1214 31 if ((al & 1) == 0) then 32 @ 0x121f else 37 @ 0x1216
0x121f 32 xmm4 = xmm3
0x1223 33 xmm4 = _mm_slli_epi32(xmm4, 8)
0x1228 34 eax = xmm4.d
0x122c 35 eax = eax u>> 0x10
0x1231 36 if ((al & 1) == 0) then 41 @ 0x1240 else 45 @ 0x1233
0x1216 37 eax = xmm2.d
0x121a 38 al = al - 0x20
0x121c 39 [rsp + rbx].b = al
0x121c 40 goto 32 @ 0x121f
0x1240 41 xmm4 = _mm_shufflelo_epi16(xmm2, 0x55)
0x1245 42 xmm4 = _mm_cmpgt_epi8(xmm4, xmm0)
0x1249 43 eax = _mm_extract_epi16(xmm4, 2)
0x1250 44 if ((al & 1) == 0) then 50 @ 0x125f else 54 @ 0x1252
0x1233 45 eax = xmm2.d
0x1237 46 eax = eax u>> 8
0x123a 47 al = al - 0x20
0x123c 48 [rsp + rbx + 1].b = al
0x123c 49 goto 41 @ 0x1240
0x125f 50 xmm4 = xmm3
0x1263 51 xmm4 = _mm_slli_epi64(xmm4, 0x18)
0x1268 52 eax = _mm_extract_epi16(xmm4, 3)
0x126f 53 if ((al & 1) == 0) then 59 @ 0x127e else 63 @ 0x1271
0x1252 54 eax = xmm2.d
0x1256 55 eax = eax u>> 0x10
0x1259 56 al = al - 0x20
0x125b 57 [rsp + rbx + 2].b = al
0x125b 58 goto 50 @ 0x125f
0x127e 59 xmm4 = _mm_shuffle_epi32(xmm2, 0x55)
0x1283 60 xmm4 = _mm_cmpgt_epi8(xmm4, xmm1)
0x1287 61 eax = _mm_extract_epi16(xmm4, 4)
0x128e 62 if ((al & 1) == 0) then 68 @ 0x129b else 72 @ 0x1290
0x1271 63 eax = xmm2.d
0x1275 64 eax = eax u>> 0x18
0x1278 65 al = al - 0x20
0x127a 66 [rsp + rbx + 3].b = al
0x127a 67 goto 59 @ 0x127e
0x129b 68 xmm4 = xmm3
0x129f 69 xmm4 = _mm_slli_si128(xmm4, 5)
0x12a4 70 eax = _mm_extract_epi16(xmm4, 5)
0x12ab 71 if ((al & 1) == 0) then 76 @ 0x12bb else 78 @ 0x12ad
0x1290 72 eax = _mm_extract_epi16(xmm2, 2)
0x1295 73 al = al - 0x20
0x1297 74 [rsp + rbx + 4].b = al
0x1297 75 goto 68 @ 0x129b
0x12bb 76 eax = _mm_extract_epi16(xmm3, 3)
0x12c2 77 if ((al & 1) == 0) then 83 @ 0x12cf else 86 @ 0x12c4
0x12ad 78 eax = _mm_extract_epi16(xmm2, 2)
0x12b2 79 eax = eax u>> 8
0x12b5 80 al = al - 0x20
0x12b7 81 [rsp + rbx + 5].b = al
0x12b7 82 goto 76 @ 0x12bb
0x12cf 83 xmm3 = _mm_slli_si128(xmm3, 7)
0x12d4 84 eax = _mm_extract_epi16(xmm3, 7)
0x12db 85 if ((al & 1) == 0) then 90 @ 0x11f0 else 92 @ 0x12e1
0x12c4 86 eax = _mm_extract_epi16(xmm2, 3)
0x12c9 87 al = al - 0x20
0x12cb 88 [rsp + rbx + 6].b = al
0x12cb 89 goto 83 @ 0x12cf
0x11f0 90 rbx = rbx + 8
0x11fb 91 if (rbx == 0x3e8) then 97 @ 0x12f4 else 27 @ 0x1201
0x12e1 92 eax = _mm_extract_epi16(xmm2, 3)
0x12e6 93 eax = eax u>> 8
0x12e9 94 al = al - 0x20
0x12eb 95 [rsp + rbx + 7].b = al
0x12ef 96 goto 90 @ 0x11f0
0x12f4 97 r14 = rsp + 1 {var_13b7}
0x12f9 98 r15 = 0x2040 {"(%c,%d)"}
0x1300 99 r12d = 0
0x1303 100 goto 101 @ 0x1323
0x1323 101 rax = sx.q(r12d)
0x1326 102 esi = sx.d([rsp + rax].b)
0x132c 103 if (esi == 0) then 104 @ 0x137b else 111 @ 0x132e
0x137b 104 eax = 0
0x137d 105 rsp = rsp + 0x1398
0x1384 106 rbx = pop
0x1385 107 r12 = pop
0x1387 108 r14 = pop
0x1389 109 r15 = pop
0x138b 110 <return> jump(pop)
0x132e 111 r12 = rax + 1
0x1332 112 edx = [rsp + (rax << 2) + 0x3f0].d
0x133e 113 if (sil != [rsp + rax + 1].b) then 114 @ 0x1310 else 118 @ 0x1340
0x1310 114 rdi = r15
0x1313 115 eax = 0
0x1315 116 call(0x1030)
0x1321 117 if (r12d s>= 0x3e8) then 104 @ 0x137b else 101 @ 0x1323
0x1340 118 rax = rsp + (r12 << 2)
0x1344 119 rax = rax + 0x3f0
0x134a 120 rcx = r12
0x134d 121 rcx = rcx + r14
0x1350 122 ebx = 0
0x135c 123 goto 124 @ 0x1360
0x1360 124 rdi = rbx
0x1363 125 edx = edx + 1
0x1366 126 [rax + (rbx << 2)].d = edx
0x1369 127 rbx = rbx + 1
0x1371 128 if (sil == [rcx + rdi].b) then 124 @ 0x1360 else 129 @ 0x1373
0x1373 129 ebx = ebx + r12d
0x1376 130 r12d = ebx
0x1379 131 goto 114 @ 0x1310
int64_t _fini():
0x1390 0 rsp = rsp - 8
0x1394 1 rsp = rsp + 8
0x1398 2 <return> jump(pop)
| POJ_103 |
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 - 0x1c0
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 rdi = 0x2004 {"%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 @ 0x14aa else 16 @ 0x1187
0x14aa 12 eax = 0
0x14ac 13 rsp = rsp + 0x1c0
0x14b3 14 rbp = pop
0x14b4 15 <return> jump(pop)
0x1187 16 [rbp - 0x1b4 {var_1bc_1}].d = 0
0x1191 17 rdi = 0x2004 {"%d"}
0x1198 18 rsi = rbp - 0x10 {var_18}
0x119c 19 al = 0
0x119e 20 call(0x1040)
0x11a3 21 [rbp - 0x14 {var_1c_1}].d = 0
0x11a3 22 goto 23 @ 0x11aa
0x11aa 23 eax = [rbp - 0x14 {var_1c_1}].d
0x11b0 24 if (eax s>= [rbp - 0x10 {var_18}].d) then 25 @ 0x11e8 else 26 @ 0x11b6
0x11e8 25 if ([rbp - 0x10 {var_18}].d != 0) then 37 @ 0x1205 else 38 @ 0x11ee
0x11b6 26 rax = sx.q([rbp - 0x14 {var_1c_1}].d)
0x11ba 27 rsi = rbp - 0x1b0 {var_1b8}
0x11c1 28 rax = rax << 2
0x11c5 29 rsi = rsi + rax
0x11c8 30 rdi = 0x2004 {"%d"}
0x11cf 31 al = 0
0x11d1 32 call(0x1040)
0x11d6 33 eax = [rbp - 0x14 {var_1c_1}].d
0x11d9 34 eax = eax + 1
0x11dc 35 [rbp - 0x14 {var_1c_1}].d = eax
0x11df 36 goto 23 @ 0x11aa
0x1205 37 if ([rbp - 0x10 {var_18}].d != 1) then 42 @ 0x126c else 49 @ 0x120b
0x11ee 38 rdi = 0x2007 {"60"}
0x11f5 39 al = 0
0x11f7 40 call(0x1030)
0x11fc 41 goto 56 @ 0x148e
0x126c 42 eax = [rbp - 0x10 {var_18}].d
0x126f 43 eax = eax - 1
0x1272 44 rax = sx.q(eax)
0x1274 45 eax = [rbp + (rax << 2) - 0x1b0].d
0x127b 46 ecx = [rbp - 0x10 {var_18}].d * 3
0x127f 47 eax = eax + ecx
0x1284 48 if (eax s> 0x3c) then 63 @ 0x12b4 else 70 @ 0x128a
0x120b 49 eax = [rbp - 0x10 {var_18}].d
0x120e 50 eax = eax - 1
0x1211 51 rax = sx.q(eax)
0x1213 52 eax = [rbp + (rax << 2) - 0x1b0].d
0x121a 53 ecx = [rbp - 0x10 {var_18}].d * 3
0x121e 54 eax = eax + ecx
0x1223 55 if (eax s> 0x3c) then 79 @ 0x1253 else 84 @ 0x1229
0x148e 56 rdi = 0x200a {"\n"}
0x1495 57 al = 0
0x1497 58 call(0x1030)
0x149c 59 eax = [rbp - 0xc {var_14}].d
0x149f 60 eax = eax + 1
0x14a2 61 [rbp - 0xc {var_14}].d = eax
0x14a5 62 goto 10 @ 0x117b
0x12b4 63 eax = [rbp - 0x10 {var_18}].d
0x12b7 64 eax = eax - 1
0x12ba 65 rax = sx.q(eax)
0x12bc 66 eax = [rbp + (rax << 2) - 0x1b0].d
0x12c3 67 ecx = [rbp - 0x10 {var_18}].d * 3
0x12c7 68 eax = eax + ecx
0x12cc 69 if (eax s<= 0x3c) then 93 @ 0x1323 else 102 @ 0x12d2
0x128a 70 ecx = [rbp - 0x10 {var_18}].d * 3
0x128e 71 eax = 0x3c {""}
0x1293 72 eax = eax - ecx
0x1295 73 [rbp - 0x1b4 {var_1bc_3}].d = eax
0x129b 74 esi = [rbp - 0x1b4 {var_1bc_3}].d
0x12a1 75 rdi = 0x2004 {"%d"}
0x12a8 76 al = 0
0x12aa 77 call(0x1030)
0x12af 78 goto 111 @ 0x1484
0x1253 79 esi = [rbp - 0x1b0 {var_1b8}].d
0x1259 80 rdi = 0x2004 {"%d"}
0x1260 81 al = 0
0x1262 82 call(0x1030)
0x1262 83 goto 112 @ 0x1267
0x1229 84 ecx = [rbp - 0x10 {var_18}].d * 3
0x122d 85 eax = 0x3c {""}
0x1232 86 eax = eax - ecx
0x1234 87 [rbp - 0x1b4 {var_1bc_2}].d = eax
0x123a 88 esi = [rbp - 0x1b4 {var_1bc_2}].d
0x1240 89 rdi = 0x2004 {"%d"}
0x1247 90 al = 0
0x1249 91 call(0x1030)
0x124e 92 goto 112 @ 0x1267
0x1323 93 eax = [rbp - 0x10 {var_18}].d
0x1326 94 eax = eax - 1
0x1329 95 rax = sx.q(eax)
0x132b 96 eax = [rbp + (rax << 2) - 0x1b0].d
0x1332 97 ecx = [rbp - 0x10 {var_18}].d
0x1335 98 ecx = ecx - 1
0x1338 99 ecx = ecx * 3
0x133b 100 eax = eax + ecx
0x1340 101 if (eax s<= 0x3c) then 113 @ 0x1398 else 122 @ 0x1346
0x12d2 102 eax = [rbp - 0x10 {var_18}].d
0x12d5 103 eax = eax - 1
0x12d8 104 rax = sx.q(eax)
0x12da 105 eax = [rbp + (rax << 2) - 0x1b0].d
0x12e1 106 ecx = [rbp - 0x10 {var_18}].d
0x12e4 107 ecx = ecx - 1
0x12e7 108 ecx = ecx * 3
0x12ea 109 eax = eax + ecx
0x12ef 110 if (eax s> 0x3c) then 93 @ 0x1323 else 131 @ 0x12f5
0x1484 111 goto 141 @ 0x1489
0x1267 112 goto 141 @ 0x1489
0x1398 113 eax = [rbp - 0x10 {var_18}].d
0x139b 114 eax = eax - 2
0x139e 115 rax = sx.q(eax)
0x13a0 116 eax = [rbp + (rax << 2) - 0x1b0].d
0x13a7 117 ecx = [rbp - 0x10 {var_18}].d
0x13aa 118 ecx = ecx - 1
0x13ad 119 ecx = ecx * 3
0x13b0 120 eax = eax + ecx
0x13b5 121 if (eax s<= 0x3c) then 142 @ 0x1400 else 151 @ 0x13bb
0x1346 122 eax = [rbp - 0x10 {var_18}].d
0x1349 123 eax = eax - 2
0x134c 124 rax = sx.q(eax)
0x134e 125 eax = [rbp + (rax << 2) - 0x1b0].d
0x1355 126 ecx = [rbp - 0x10 {var_18}].d
0x1358 127 ecx = ecx - 1
0x135b 128 ecx = ecx * 3
0x135e 129 eax = eax + ecx
0x1363 130 if (eax s> 0x3c) then 113 @ 0x1398 else 160 @ 0x1369
0x12f5 131 eax = [rbp - 0x10 {var_18}].d
0x12f8 132 eax = eax - 1
0x12fb 133 rax = sx.q(eax)
0x12fd 134 eax = [rbp + (rax << 2) - 0x1b0].d
0x1304 135 [rbp - 0x1b4 {var_1bc_4}].d = eax
0x130a 136 esi = [rbp - 0x1b4 {var_1bc_4}].d
0x1310 137 rdi = 0x2004 {"%d"}
0x1317 138 al = 0
0x1319 139 call(0x1030)
0x131e 140 goto 171 @ 0x147f
0x1489 141 goto 56 @ 0x148e
0x1400 142 eax = [rbp - 0x10 {var_18}].d
0x1403 143 eax = eax - 2
0x1406 144 rax = sx.q(eax)
0x1408 145 eax = [rbp + (rax << 2) - 0x1b0].d
0x140f 146 ecx = [rbp - 0x10 {var_18}].d
0x1412 147 ecx = ecx - 2
0x1415 148 ecx = ecx * 3
0x1418 149 eax = eax + ecx
0x141d 150 if (eax s<= 0x3c) then 172 @ 0x1470 else 173 @ 0x1423
0x13bb 151 eax = [rbp - 0x10 {var_18}].d
0x13be 152 eax = eax - 2
0x13c1 153 rax = sx.q(eax)
0x13c3 154 eax = [rbp + (rax << 2) - 0x1b0].d
0x13ca 155 ecx = [rbp - 0x10 {var_18}].d
0x13cd 156 ecx = ecx - 2
0x13d0 157 ecx = ecx * 3
0x13d3 158 eax = eax + ecx
0x13d8 159 if (eax s> 0x3c) then 142 @ 0x1400 else 182 @ 0x13de
0x1369 160 eax = [rbp - 0x10 {var_18}].d
0x136c 161 eax = eax - 1
0x136f 162 ecx = eax * 3
0x1372 163 eax = 0x3c {""}
0x1377 164 eax = eax - ecx
0x1379 165 [rbp - 0x1b4 {var_1bc_5}].d = eax
0x137f 166 esi = [rbp - 0x1b4 {var_1bc_5}].d
0x1385 167 rdi = 0x2004 {"%d"}
0x138c 168 al = 0
0x138e 169 call(0x1030)
0x1393 170 goto 190 @ 0x147a
0x147f 171 goto 111 @ 0x1484
0x1470 172 goto 191 @ 0x1475
0x1423 173 eax = [rbp - 0x10 {var_18}].d
0x1426 174 eax = eax - 3
0x1429 175 rax = sx.q(eax)
0x142b 176 eax = [rbp + (rax << 2) - 0x1b0].d
0x1432 177 ecx = [rbp - 0x10 {var_18}].d
0x1435 178 ecx = ecx - 2
0x1438 179 ecx = ecx * 3
0x143b 180 eax = eax + ecx
0x1440 181 if (eax s> 0x3c) then 172 @ 0x1470 else 192 @ 0x1446
0x13de 182 eax = [rbp - 0x10 {var_18}].d
0x13e1 183 eax = eax - 2
0x13e4 184 rax = sx.q(eax)
0x13e6 185 esi = [rbp + (rax << 2) - 0x1b0].d
0x13ed 186 rdi = 0x2004 {"%d"}
0x13f4 187 al = 0
0x13f6 188 call(0x1030)
0x13fb 189 goto 191 @ 0x1475
0x147a 190 goto 171 @ 0x147f
0x1475 191 goto 190 @ 0x147a
0x1446 192 eax = [rbp - 0x10 {var_18}].d
0x1449 193 eax = eax - 2
0x144c 194 ecx = eax * 3
0x144f 195 eax = 0x3c {""}
0x1454 196 eax = eax - ecx
0x1456 197 [rbp - 0x1b4 {var_1bc_6}].d = eax
0x145c 198 esi = [rbp - 0x1b4 {var_1bc_6}].d
0x1462 199 rdi = 0x2004 {"%d"}
0x1469 200 al = 0
0x146b 201 call(0x1030)
0x146b 202 goto 172 @ 0x1470
int64_t _fini():
0x14bc 0 rsp = rsp - 8
0x14c0 1 rsp = rsp + 8
0x14c4 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 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 = 0x2018 {"%d"}
0x115e 6 rsi = rsp {var_28}
0x1161 7 eax = 0
0x1163 8 call(0x1040)
0x116c 9 if ([rsp {var_28}].d s<= 0) then 10 @ 0x122a else 17 @ 0x1172
0x122a 10 eax = 0
0x122c 11 rsp = rsp + 8
0x1230 12 rbx = pop
0x1231 13 r14 = pop
0x1233 14 r15 = pop
0x1235 15 rbp = pop
0x1236 16 <return> jump(pop)
0x1172 17 r14 = 0x2018 {"%d"}
0x1179 18 r15 = rsp + 4 {var_28+0x4}
0x117e 19 rbx = 0x201b {"%.3lf\n"}
0x1185 20 ebp = 0
0x1187 21 goto 22 @ 0x11a6
0x11a6 22 rdi = r14
0x11a9 23 rsi = r15 {var_28+0x4}
0x11ac 24 eax = 0
0x11ae 25 call(0x1040)
0x11b3 26 eax = [rsp + 4 {var_28+0x4}].d
0x11b7 27 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x11bd 28 if (eax s<= 0) then 29 @ 0x1190 else 34 @ 0x11bf
0x1190 29 rdi = rbx
0x1193 30 al = 1
0x1195 31 call(0x1030)
0x119a 32 ebp = ebp + 1
0x11a0 33 if (ebp s>= [rsp {var_28}].d) then 10 @ 0x122a else 22 @ 0x11a6
0x11bf 34 xmm1 = zx.o([0x2010].q)
0x11c7 35 xmm2 = zx.o([0x2008].q)
0x11d2 36 if (eax == 1) then 37 @ 0x1217 else 38 @ 0x11d4
0x1217 37 if ((al & 1) == 0) then 29 @ 0x1190 else 44 @ 0x121d
0x11d4 38 ecx = eax
0x11d6 39 ecx = ecx & 0xfffffffe
0x11d9 40 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x11dd 41 xmm1 = zx.o([0x2010].q)
0x11e5 42 xmm2 = zx.o([0x2008].q)
0x11ed 43 goto 47 @ 0x11f0
0x121d 44 xmm1.q = xmm1.q f/ xmm2.q
0x1221 45 xmm0.q = xmm0.q f+ xmm1.q
0x1225 46 goto 29 @ 0x1190
0x11f0 47 xmm3 = xmm1
0x11f4 48 xmm3.q = xmm3.q f/ xmm2.q
0x11f8 49 xmm3.q = xmm3.q f+ xmm0.q
0x11fc 50 xmm2.q = xmm2.q f+ xmm1.q
0x1200 51 xmm0 = xmm2
0x1204 52 xmm0.q = xmm0.q f/ xmm1.q
0x1208 53 xmm0.q = xmm0.q f+ xmm3.q
0x120c 54 xmm1.q = xmm1.q f+ xmm2.q
0x1210 55 temp0.d = ecx
0x1210 56 ecx = ecx - 2
0x1213 57 if (temp0.d != 2) then 47 @ 0x11f0 else 37 @ 0x1217
int64_t _fini():
0x123c 0 rsp = rsp - 8
0x1240 1 rsp = rsp + 8
0x1244 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 {"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 - 0x1e0
0x115b 3 rdi = 0x2018 {"%d"}
0x1162 4 rsi = rbp - 4 {var_c}
0x1166 5 al = 0
0x1168 6 call(0x1040)
0x116d 7 [rbp - 8 {var_10}].d = 0
0x116d 8 goto 9 @ 0x1174
0x1174 9 eax = [rbp - 8 {var_10}].d
0x117a 10 if (eax s>= [rbp - 4 {var_c}].d) then 11 @ 0x11ae else 21 @ 0x1180
0x11ae 11 [rbp - 8 {var_10_1}].d = 0
0x11b5 12 xmm0 = 0
0x11b8 13 [rbp - 0x1b0 {var_1b8}].q = xmm0.q
0x11c0 14 xmm0 = 0
0x11c3 15 [rbp - 0x1b8 {var_1c0}].q = xmm0.q
0x11cb 16 xmm0 = 0
0x11ce 17 [rbp - 0x1c0 {var_1c8}].q = xmm0.q
0x11d6 18 xmm0 = 0
0x11d9 19 [rbp - 0x1c8 {var_1d0}].q = xmm0.q
0x11d9 20 goto 32 @ 0x11e1
0x1180 21 rax = sx.q([rbp - 8 {var_10}].d)
0x1184 22 rsi = rbp - 0x1a0 {var_1a8}
0x118b 23 rax = rax << 2
0x118f 24 rsi = rsi + rax
0x1192 25 rdi = 0x2018 {"%d"}
0x1199 26 al = 0
0x119b 27 call(0x1040)
0x11a0 28 eax = [rbp - 8 {var_10}].d
0x11a3 29 eax = eax + 1
0x11a6 30 [rbp - 8 {var_10}].d = eax
0x11a9 31 goto 9 @ 0x1174
0x11e1 32 eax = [rbp - 8 {var_10_1}].d
0x11e7 33 if (eax s>= [rbp - 4 {var_c}].d) then 34 @ 0x12e8 else 77 @ 0x11ed
0x12e8 34 xmm0 = zx.o([rbp - 0x1b0 {var_1b8}].q)
0x12f0 35 xmm1.q = float.d([rbp - 4 {var_c}].d)
0x12f5 36 xmm0.q = xmm0.q f/ xmm1.q
0x12f9 37 xmm1 = zx.o([0x2008].q)
0x1301 38 xmm0.q = xmm0.q f* xmm1.q
0x1305 39 [rbp - 0x1a8 {var_1b0}].q = xmm0.q
0x130d 40 xmm0 = zx.o([rbp - 0x1b8 {var_1c0}].q)
0x1315 41 xmm1.q = float.d([rbp - 4 {var_c}].d)
0x131a 42 xmm0.q = xmm0.q f/ xmm1.q
0x131e 43 xmm1 = zx.o([0x2008].q)
0x1326 44 xmm0.q = xmm0.q f* xmm1.q
0x132a 45 [rbp - 0x1d0 {var_1d8}].q = xmm0.q
0x1332 46 xmm0 = zx.o([rbp - 0x1c0 {var_1c8}].q)
0x133a 47 xmm1.q = float.d([rbp - 4 {var_c}].d)
0x133f 48 xmm0.q = xmm0.q f/ xmm1.q
0x1343 49 xmm1 = zx.o([0x2008].q)
0x134b 50 xmm0.q = xmm0.q f* xmm1.q
0x134f 51 [rbp - 0x1d8 {var_1e0}].q = xmm0.q
0x1357 52 xmm0 = zx.o([rbp - 0x1c8 {var_1d0}].q)
0x135f 53 xmm1.q = float.d([rbp - 4 {var_c}].d)
0x1364 54 xmm0.q = xmm0.q f/ xmm1.q
0x1368 55 xmm1 = zx.o([0x2008].q)
0x1370 56 xmm0.q = xmm0.q f* xmm1.q
0x1374 57 [rbp - 0x1e0 {var_1e8}].q = xmm0.q
0x137c 58 xmm0 = zx.o([rbp - 0x1a8 {var_1b0}].q)
0x1384 59 rdi = 0x201b {"1-18: %.2lf%%\n"}
0x138b 60 al = 1
0x138d 61 call(0x1030)
0x1392 62 xmm0 = zx.o([rbp - 0x1d0 {var_1d8}].q)
0x139a 63 rdi = 0x202a {"19-35: %.2lf%%\n"}
0x13a1 64 al = 1
0x13a3 65 call(0x1030)
0x13a8 66 xmm0 = zx.o([rbp - 0x1d8 {var_1e0}].q)
0x13b0 67 rdi = 0x203a {"36-60: %.2lf%%\n"}
0x13b7 68 al = 1
0x13b9 69 call(0x1030)
0x13be 70 xmm0 = zx.o([rbp - 0x1e0 {var_1e8}].q)
0x13c6 71 rdi = 0x204a {"60??: %.2lf%%\n"}
0x13cd 72 al = 1
0x13cf 73 call(0x1030)
0x13d4 74 rsp = rsp + 0x1e0
0x13db 75 rbp = pop
0x13dc 76 <return> jump(pop)
0x11ed 77 rax = sx.q([rbp - 8 {var_10_1}].d)
0x11f9 78 if ([rbp + (rax << 2) - 0x1a0].d s< 1) then 79 @ 0x1229 else 81 @ 0x11ff
0x1229 79 rax = sx.q([rbp - 8 {var_10_1}].d)
0x1235 80 if ([rbp + (rax << 2) - 0x1a0].d s< 0x13) then 83 @ 0x1265 else 85 @ 0x123b
0x11ff 81 rax = sx.q([rbp - 8 {var_10_1}].d)
0x120b 82 if ([rbp + (rax << 2) - 0x1a0].d s> 0x12) then 79 @ 0x1229 else 87 @ 0x1211
0x1265 83 rax = sx.q([rbp - 8 {var_10_1}].d)
0x1271 84 if ([rbp + (rax << 2) - 0x1a0].d s< 0x24) then 91 @ 0x12a6 else 93 @ 0x1277
0x123b 85 rax = sx.q([rbp - 8 {var_10_1}].d)
0x1247 86 if ([rbp + (rax << 2) - 0x1a0].d s> 0x23) then 83 @ 0x1265 else 95 @ 0x124d
0x1211 87 xmm0 = zx.o([0x2010].q)
0x1219 88 xmm0.q = xmm0.q f+ fconvert.t([rbp - 0x1b0 {var_1b8}].q)
0x1221 89 [rbp - 0x1b0 {var_1b8}].q = xmm0.q
0x1221 90 goto 79 @ 0x1229
0x12a6 91 rax = sx.q([rbp - 8 {var_10_1}].d)
0x12b2 92 if ([rbp + (rax << 2) - 0x1a0].d s< 0x3c) then 99 @ 0x12d0 else 100 @ 0x12b8
0x1277 93 rax = sx.q([rbp - 8 {var_10_1}].d)
0x1283 94 if ([rbp + (rax << 2) - 0x1a0].d s> 0x3c) then 91 @ 0x12a6 else 104 @ 0x1289
0x124d 95 xmm0 = zx.o([0x2010].q)
0x1255 96 xmm0.q = xmm0.q f+ fconvert.t([rbp - 0x1b8 {var_1c0}].q)
0x125d 97 [rbp - 0x1b8 {var_1c0}].q = xmm0.q
0x125d 98 goto 83 @ 0x1265
0x12d0 99 goto 108 @ 0x12d5
0x12b8 100 xmm0 = zx.o([0x2010].q)
0x12c0 101 xmm0.q = xmm0.q f+ fconvert.t([rbp - 0x1c8 {var_1d0}].q)
0x12c8 102 [rbp - 0x1c8 {var_1d0}].q = xmm0.q
0x12c8 103 goto 99 @ 0x12d0
0x1289 104 xmm0 = zx.o([0x2010].q)
0x1291 105 xmm0.q = xmm0.q f+ fconvert.t([rbp - 0x1c0 {var_1c8}].q)
0x1299 106 [rbp - 0x1c0 {var_1c8}].q = xmm0.q
0x12a1 107 goto 108 @ 0x12d5
0x12d5 108 goto 109 @ 0x12da
0x12da 109 eax = [rbp - 8 {var_10_1}].d
0x12dd 110 eax = eax + 1
0x12e0 111 [rbp - 8 {var_10_1}].d = eax
0x12e3 112 goto 32 @ 0x11e1
int64_t _fini():
0x13e4 0 rsp = rsp - 8
0x13e8 1 rsp = rsp + 8
0x13ec 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 {"UAWAVAUATSHHH"}
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 rbx = 0x2004 {"%d"}
0x1165 8 goto 9 @ 0x1192
0x1192 9 rdi = rbx
0x1195 10 rsi = rsp {var_78}
0x1198 11 eax = 0
0x119a 12 call(0x1040)
0x11a3 13 if ([rsp {var_78}].d == -1) then 14 @ 0x14e6 else 23 @ 0x11a9
0x14e6 14 eax = 0
0x14e8 15 rsp = rsp + 0x48
0x14ec 16 rbx = pop
0x14ed 17 r12 = pop
0x14ef 18 r13 = pop
0x14f1 19 r14 = pop
0x14f3 20 r15 = pop
0x14f5 21 rbp = pop
0x14f6 22 <return> jump(pop)
0x11a9 23 r14d = 0
0x11ac 24 rdi = rbx
0x11af 25 rsi = rsp + 4 {var_74}
0x11b4 26 eax = 0
0x11b6 27 call(0x1040)
0x11c0 28 if ([rsp + 4 {var_74}].d == 0) then 29 @ 0x1170 else 36 @ 0x11c2
0x1170 29 rdi = 0x2007 {"%d\n"}
0x1177 30 esi = r14d
0x117a 31 eax = 0
0x117c 32 call(0x1030)
0x1181 33 cond:0 = [rsp {var_78}].d == -1
0x1185 34 rbx = 0x2004 {"%d"}
0x118c 35 if (cond:0) then 14 @ 0x14e6 else 9 @ 0x1192
0x11c2 36 rbx = 0x2004 {"%d"}
0x11c9 37 rdi = rbx
0x11cc 38 rsi = rsp + 8 {var_70}
0x11d1 39 eax = 0
0x11d3 40 call(0x1040)
0x11dd 41 if ([rsp + 8 {var_70}].d == 0) then 42 @ 0x1340 else 44 @ 0x11e3
0x1340 42 eax = 2
0x1345 43 goto 49 @ 0x13a0
0x11e3 44 rdi = rbx
0x11e6 45 rsi = rsp + 0xc {var_6c}
0x11eb 46 eax = 0
0x11ed 47 call(0x1040)
0x11f7 48 if ([rsp + 0xc {var_6c}].d == 0) then 57 @ 0x1347 else 59 @ 0x11fd
0x13a0 49 r8d = (rax - 1).d
0x13a4 50 r13d = eax
0x13a7 51 r15 = r13 - 1
0x13ab 52 r9d = 0
0x13ae 53 r12d = 1
0x13b4 54 rbx = rsp + 0x14 {var_64}
0x13b9 55 r14d = 0
0x13bc 56 goto 64 @ 0x13d5
0x1347 57 eax = 3
0x134c 58 goto 49 @ 0x13a0
0x11fd 59 rdi = rbx
0x1200 60 rsi = rsp + 0x10 {var_68}
0x1205 61 eax = 0
0x1207 62 call(0x1040)
0x1211 63 if ([rsp + 0x10 {var_68}].d == 0) then 74 @ 0x134e else 76 @ 0x1217
0x13d5 64 rdx = r9
0x13d8 65 rdx = not.q(rdx)
0x13db 66 rdx = rdx + r13
0x13de 67 ebp = [rsp + (r9 << 2)].d
0x13e2 68 r9 = r9 + 1
0x13e6 69 eax = ebp
0x13e8 70 eax = neg.d(eax)
0x13ea 71 ebp = ebp + ebp
0x13ec 72 ebp = neg.d(ebp)
0x13f2 73 if (rdx u>= 8) then 81 @ 0x1400 else 94 @ 0x13f4
0x134e 74 eax = 4
0x1353 75 goto 49 @ 0x13a0
0x1217 76 rdi = rbx
0x121a 77 rsi = rsp + 0x14 {var_64}
0x121f 78 eax = 0
0x1221 79 call(0x1040)
0x122b 80 if ([rsp + 0x14 {var_64}].d == 0) then 96 @ 0x1355 else 98 @ 0x1231
0x1400 81 r10 = r15
0x1403 82 r10 = r10 & 0xfffffffffffffff8
0x1407 83 r11 = rdx
0x140a 84 r11 = r11 & 0xfffffffffffffff8
0x140e 85 rdi = r12 + r11
0x1412 86 xmm0 = r14d
0x1417 87 xmm1 = eax
0x141b 88 xmm8 = _mm_shuffle_epi32(xmm1, 0)
0x1421 89 xmm1 = ebp
0x1425 90 xmm3 = _mm_shuffle_epi32(xmm1, 0)
0x142a 91 xmm1 = 0
0x142e 92 esi = 0
0x142e 93 goto 103 @ 0x1430
0x13f4 94 rdi = r12
0x13f7 95 goto 125 @ 0x14c0
0x1355 96 eax = 5
0x135a 97 goto 49 @ 0x13a0
0x1231 98 rdi = rbx
0x1234 99 rsi = rsp + 0x18 {var_60}
0x1239 100 eax = 0
0x123b 101 call(0x1040)
0x1245 102 if ([rsp + 0x18 {var_60}].d == 0) then 138 @ 0x135c else 140 @ 0x124b
0x1430 103 xmm4 = [rbx + (rsi << 2) - 0x10].o
0x1436 104 xmm5 = [rbx + (rsi << 2)].o
0x143b 105 xmm6 = 0
0x143f 106 xmm6 = _mm_sub_epi32(xmm6, xmm4)
0x1443 107 xmm4 = _mm_add_epi32(xmm4, xmm4)
0x1447 108 xmm7 = 0
0x144b 109 xmm7 = _mm_sub_epi32(xmm7, xmm4)
0x144f 110 xmm4 = 0
0x1453 111 xmm4 = _mm_sub_epi32(xmm4, xmm5)
0x1457 112 xmm5 = _mm_add_epi32(xmm5, xmm5)
0x145b 113 xmm2 = 0
0x145f 114 xmm2 = _mm_sub_epi32(xmm2, xmm5)
0x1463 115 xmm7 = _mm_cmpeq_epi32(xmm7, xmm8)
0x1468 116 xmm2 = _mm_cmpeq_epi32(xmm2, xmm8)
0x146d 117 xmm6 = _mm_cmpeq_epi32(xmm6, xmm3)
0x1471 118 xmm6 = xmm6 | xmm7
0x1475 119 xmm0 = _mm_sub_epi32(xmm0, xmm6)
0x1479 120 xmm4 = _mm_cmpeq_epi32(xmm4, xmm3)
0x147d 121 xmm4 = xmm4 | xmm2
0x1481 122 xmm1 = _mm_sub_epi32(xmm1, xmm4)
0x1485 123 rsi = rsi + 8
0x148c 124 if (r10 != rsi) then 103 @ 0x1430 else 145 @ 0x148e
0x14c0 125 edx = [rsp + (rdi << 2)].d
0x14c3 126 esi = (rdx + rdx).d
0x14c6 127 temp0.d = esi
0x14c6 128 esi = esi + eax
0x14c8 129 cl = temp0.d == neg.d(eax)
0x14cb 130 temp1.d = edx
0x14cb 131 edx = edx + ebp
0x14cd 132 dl = temp1.d == neg.d(ebp)
0x14d0 133 dl = dl | cl
0x14d2 134 ecx = zx.d(dl)
0x14d5 135 r14d = r14d + ecx
0x14d8 136 rdi = rdi + 1
0x14df 137 if (r13 != rdi) then 125 @ 0x14c0 else 152 @ 0x14e1
0x135c 138 eax = 6
0x1361 139 goto 49 @ 0x13a0
0x124b 140 rdi = rbx
0x124e 141 rsi = rsp + 0x1c {var_5c}
0x1253 142 eax = 0
0x1255 143 call(0x1040)
0x125f 144 if ([rsp + 0x1c {var_5c}].d == 0) then 153 @ 0x1363 else 155 @ 0x1265
0x148e 145 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x1492 146 xmm0 = _mm_shuffle_epi32(xmm1, 0xee)
0x1497 147 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x149b 148 xmm1 = _mm_shuffle_epi32(xmm0, 0x55)
0x14a0 149 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x14a4 150 r14d = xmm1.d
0x14ac 151 if (rdx == r11) then 160 @ 0x13c0 else 164 @ 0x14bc
0x14e1 152 goto 160 @ 0x13c0
0x1363 153 eax = 7
0x1368 154 goto 49 @ 0x13a0
0x1265 155 rdi = rbx
0x1268 156 rsi = rsp + 0x20 {var_58}
0x126d 157 eax = 0
0x126f 158 call(0x1040)
0x1279 159 if ([rsp + 0x20 {var_58}].d == 0) then 165 @ 0x136a else 167 @ 0x127f
0x13c0 160 r12 = r12 + 1
0x13c4 161 r15 = r15 - 1
0x13c8 162 rbx = rbx + 4
0x13cf 163 if (r9 == r8) then 29 @ 0x1170 else 64 @ 0x13d5
0x14bc 164 goto 125 @ 0x14c0
0x136a 165 eax = 8
0x136f 166 goto 49 @ 0x13a0
0x127f 167 rdi = rbx
0x1282 168 rsi = rsp + 0x24 {var_54}
0x1287 169 eax = 0
0x1289 170 call(0x1040)
0x1293 171 if ([rsp + 0x24 {var_54}].d == 0) then 172 @ 0x1371 else 174 @ 0x1299
0x1371 172 eax = 9
0x1376 173 goto 49 @ 0x13a0
0x1299 174 rdi = rbx
0x129c 175 rsi = rsp + 0x28 {var_50}
0x12a1 176 eax = 0
0x12a3 177 call(0x1040)
0x12ad 178 if ([rsp + 0x28 {var_50}].d == 0) then 179 @ 0x1378 else 181 @ 0x12b3
0x1378 179 eax = 0xa {""}
0x137d 180 goto 49 @ 0x13a0
0x12b3 181 rdi = rbx
0x12b6 182 rsi = rsp + 0x2c {var_4c}
0x12bb 183 eax = 0
0x12bd 184 call(0x1040)
0x12c7 185 if ([rsp + 0x2c {var_4c}].d == 0) then 186 @ 0x137f else 188 @ 0x12cd
0x137f 186 eax = 0xb {""}
0x1384 187 goto 49 @ 0x13a0
0x12cd 188 rdi = rbx
0x12d0 189 rsi = rsp + 0x30 {var_48}
0x12d5 190 eax = 0
0x12d7 191 call(0x1040)
0x12e1 192 if ([rsp + 0x30 {var_48}].d == 0) then 193 @ 0x1386 else 195 @ 0x12e7
0x1386 193 eax = 0xc {""}
0x138b 194 goto 49 @ 0x13a0
0x12e7 195 rdi = rbx
0x12ea 196 rsi = rsp + 0x34 {var_44}
0x12ef 197 eax = 0
0x12f1 198 call(0x1040)
0x12fb 199 if ([rsp + 0x34 {var_44}].d == 0) then 200 @ 0x138d else 202 @ 0x1301
0x138d 200 eax = 0xd {""}
0x1392 201 goto 49 @ 0x13a0
0x1301 202 rdi = rbx
0x1304 203 rsi = rsp + 0x38 {var_40}
0x1309 204 eax = 0
0x130b 205 call(0x1040)
0x1315 206 if ([rsp + 0x38 {var_40}].d == 0) then 207 @ 0x1394 else 209 @ 0x1317
0x1394 207 eax = 0xe {""}
0x1399 208 goto 49 @ 0x13a0
0x1317 209 rdi = rbx
0x131a 210 rsi = rsp + 0x3c {var_3c}
0x131f 211 eax = 0
0x1321 212 call(0x1040)
0x1326 213 temp2.d = [rsp + 0x3c {var_3c}].d
0x1326 214 flag:c = temp2.d u< 1
0x132b 215 eax = 0x10 {""}
0x1330 216 eax = sbb.d(eax, 0, flag:c)
0x1333 217 goto 49 @ 0x13a0
int64_t _fini():
0x14fc 0 rsp = rsp - 8
0x1500 1 rsp = rsp + 8
0x1504 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)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
int32_t strcmp(char const* arg1, char const* arg2):
0x1050 0 <return> tailcall([0x4028].q)
int64_t malloc(uint64_t bytes):
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 - 0x420
0x117b 3 [rbp - 4 {var_c}].d = 0
0x1182 4 [rbp - 5 {var_d}].b = 0x30 {""}
0x1186 5 [rbp - 0x414 {var_41c}].d = 0
0x1186 6 goto 7 @ 0x1190
0x1190 7 eax = sx.d([rbp - 5 {var_d}].b)
0x1197 8 if (eax == 0xa) then 9 @ 0x11f9 else 19 @ 0x119d
0x11f9 9 rsi = rbp - 0x3a0 {var_3a8}
0x1200 10 rdi = 0x2004 {"%s"}
0x1207 11 al = 0
0x1209 12 call(0x1040)
0x120e 13 rsi = rbp - 0x410 {var_418}
0x1215 14 rdi = 0x2004 {"%s"}
0x121c 15 al = 0
0x121e 16 call(0x1040)
0x1223 17 [rbp - 0x418 {var_420}].d = 0
0x1223 18 goto 38 @ 0x122d
0x119d 19 edi = 0x64 {""}
0x11a2 20 call(0x1060)
0x11a7 21 rcx = rax
0x11aa 22 rax = sx.q([rbp - 0x414 {var_41c}].d)
0x11b1 23 [rbp + (rax << 3) - 0x330].q = rcx
0x11b9 24 eax = [rbp - 0x414 {var_41c}].d
0x11bf 25 ecx = eax
0x11c1 26 ecx = ecx + 1
0x11c4 27 [rbp - 0x414 {var_41c}].d = ecx
0x11ca 28 rax = sx.q(eax)
0x11cc 29 rsi = [rbp + (rax << 3) - 0x330].q
0x11d4 30 rdi = 0x2004 {"%s"}
0x11db 31 al = 0
0x11dd 32 call(0x1040)
0x11e2 33 rdi = 0x2007 {"%c"}
0x11e9 34 rsi = rbp - 5 {var_d}
0x11ed 35 al = 0
0x11ef 36 call(0x1040)
0x11f4 37 goto 7 @ 0x1190
0x122d 38 eax = [rbp - 0x418 {var_420}].d
0x1239 39 if (eax s>= [rbp - 0x414 {var_41c}].d) then 40 @ 0x12d4 else 44 @ 0x123f
0x12d4 40 eax = 0
0x12d6 41 rsp = rsp + 0x420
0x12dd 42 rbp = pop
0x12de 43 <return> jump(pop)
0x123f 44 rdi = rbp - 0x3a0 {var_3a8}
0x1246 45 rax = sx.q([rbp - 0x418 {var_420}].d)
0x124d 46 rsi = [rbp + (rax << 3) - 0x330].q
0x1255 47 call(0x1050)
0x125d 48 if (eax != 0) then 49 @ 0x1279 else 58 @ 0x1263
0x1279 49 rax = sx.q([rbp - 0x418 {var_420}].d)
0x1280 50 rsi = [rbp + (rax << 3) - 0x330].q
0x1288 51 rdi = 0x2004 {"%s"}
0x128f 52 al = 0
0x1291 53 call(0x1030)
0x1296 54 eax = [rbp - 0x418 {var_420}].d
0x129c 55 ecx = [rbp - 0x414 {var_41c}].d
0x12a2 56 ecx = ecx - 1
0x12a7 57 if (eax s>= ecx) then 62 @ 0x12bb else 63 @ 0x12ad
0x1263 58 rcx = rbp - 0x410 {var_418}
0x126a 59 rax = sx.q([rbp - 0x418 {var_420}].d)
0x1271 60 [rbp + (rax << 3) - 0x330].q = rcx {var_418}
0x1271 61 goto 49 @ 0x1279
0x12bb 62 goto 67 @ 0x12c0
0x12ad 63 rdi = 0x200a {" "}
0x12b4 64 al = 0
0x12b6 65 call(0x1030)
0x12b6 66 goto 62 @ 0x12bb
0x12c0 67 eax = [rbp - 0x418 {var_420}].d
0x12c6 68 eax = eax + 1
0x12c9 69 [rbp - 0x418 {var_420}].d = eax
0x12cf 70 goto 38 @ 0x122d
int64_t _fini():
0x12e4 0 rsp = rsp - 8
0x12e8 1 rsp = rsp + 8
0x12ec 2 <return> jump(pop)
| POJ_19 |
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 {"UAWAVATSH"}
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 - 0xfc0
0x115f 6 rdi = 0x2004 {"%d"}
0x1166 7 rsi = rsp + 0xc {var_fdc}
0x116b 8 eax = 0
0x116d 9 call(0x1040)
0x1177 10 if ([rsp + 0xc {var_fdc}].d s<= 0) then 11 @ 0x1262 else 19 @ 0x117d
0x1262 11 eax = 0
0x1264 12 rsp = rsp + 0xfc0
0x126b 13 rbx = pop
0x126c 14 r12 = pop
0x126e 15 r14 = pop
0x1270 16 r15 = pop
0x1272 17 rbp = pop
0x1273 18 <return> jump(pop)
0x117d 19 rbx = rsp + 0x20 {var_fc8}
0x1182 20 r14 = 0x2004 {"%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_fdc}].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 @ 0x1262 else 32 @ 0x11b7
0x11b7 32 r15d = 0
0x11ba 33 r14 = 0x2007 {"%.3lf\n"}
0x11c1 34 goto 35 @ 0x11ec
0x11ec 35 r12d = [rsp + (r15 << 2) + 0x20].d
0x11f4 36 if (r12d s<= 0) then 37 @ 0x11d0 else 39 @ 0x11f6
0x11d0 37 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x11d0 38 goto 43 @ 0x11d4
0x11f6 39 r12d = neg.d(r12d)
0x11f9 40 xmm0 = 0
0x11fc 41 ebx = 1
0x120b 42 goto 49 @ 0x1210
0x11d4 43 rdi = r14
0x11d7 44 al = 1
0x11d9 45 call(0x1030)
0x11de 46 r15 = r15 + 1
0x11e2 47 rax = sx.q([rsp + 0xc {var_fdc}].d)
0x11ea 48 if (r15 s>= rax) then 11 @ 0x1262 else 35 @ 0x11ec
0x1210 49 [rsp + 0x18 {var_fd0_1}].q = xmm0.q
0x1216 50 ebp = (rbx + 1).d
0x1219 51 edi = ebp
0x121b 52 call(0x1280)
0x1220 53 xmm0 = 0
0x1223 54 xmm0.q = float.d(eax)
0x1227 55 [rsp + 0x10 {var_fd8_1}].q = xmm0.q
0x122d 56 edi = ebx
0x122f 57 call(0x1280)
0x1234 58 xmm0 = 0
0x1237 59 xmm0.q = float.d(eax)
0x123b 60 xmm1 = zx.o([rsp + 0x10 {var_fd8_1}].q)
0x1241 61 xmm1.q = xmm1.q f/ xmm0.q
0x1245 62 xmm0 = zx.o([rsp + 0x18 {var_fd0_1}].q)
0x124b 63 xmm0.q = xmm0.q f+ xmm1.q
0x124f 64 eax = (r12 + rbx).d
0x1253 65 eax = eax + 1
0x1256 66 ebx = ebp
0x125b 67 if (eax != 1) then 49 @ 0x1210 else 68 @ 0x125d
0x125d 68 goto 43 @ 0x11d4
uint64_t f(int32_t arg1):
0x1280 0 push(rbp)
0x1281 1 push(rbx)
0x1282 2 push(rax)
0x1283 3 ebx = edi
0x1285 4 ebp = 0
0x1287 5 edi = (rbx - 1).d
0x128d 6 if (edi u< 2) then 7 @ 0x12a2 else 13 @ 0x128f
0x12a2 7 ebx = ebx + ebp
0x12a4 8 eax = ebx
0x12a6 9 rsp = rsp + 8
0x12aa 10 rbx = pop
0x12ab 11 rbp = pop
0x12ac 12 <return> jump(pop)
0x128f 13 goto 14 @ 0x1290
0x1290 14 call(0x1280)
0x1295 15 ebx = ebx - 2
0x1298 16 ebp = ebp + eax
0x129a 17 edi = (rbx - 1).d
0x12a0 18 if (edi u>= 2) then 14 @ 0x1290 else 7 @ 0x12a2
int64_t _fini():
0x12b4 0 rsp = rsp - 8
0x12b8 1 rsp = rsp + 8
0x12bc 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)
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 = 0x12b0 {"UAWAVAUATSHH=S
"}
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 reverse(int64_t arg1):
0x1160 0 ecx = 0
0x1165 1 if (rdi == 0) then 2 @ 0x11b7 else 5 @ 0x1167
0x11b7 2 eax = 0
0x11bc 3 al = rcx == rdi
0x11bf 4 <return> jump(pop)
0x1167 5 r8 = 0x6666666666666667 {""}
0x1171 6 rsi = rdi
0x117e 7 goto 8 @ 0x1180
0x1180 8 r9 = rcx + (rcx << 2)
0x1184 9 rax = rsi
0x1187 10 rdx:rax = muls.dp.q(rax, r8)
0x118a 11 rax = rdx
0x118d 12 rax = rax u>> 0x3f
0x1191 13 rdx = rdx s>> 2
0x1195 14 rdx = rdx + rax
0x1198 15 rax = rdx + rdx
0x119c 16 rax = rax + (rax << 2)
0x11a0 17 rcx = rsi
0x11a3 18 rcx = rcx - rax
0x11a6 19 rcx = rcx + (r9 << 1)
0x11aa 20 rsi = rsi + 9
0x11ae 21 cond:0 = rsi u> 0x12
0x11b2 22 rsi = rdx
0x11b5 23 if (cond:0) then 8 @ 0x1180 else 2 @ 0x11b7
int64_t prime(double arg1, uint64_t arg2[0x2] @ zmm0, uint64_t arg3[0x2] @ zmm4):
0x11c0 0 push(r14)
0x11c2 1 push(rbx)
0x11c3 2 rsp = rsp - 0x18
0x11c7 3 r14 = rdi
0x11ca 4 xmm1.q = float.d(rdi)
0x11cf 5 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x11d3 6 flag:p = is_unordered.q(xmm1.q, xmm0.q)
0x11d3 7 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x11d3 8 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x11d3 9 flag:s = 0
0x11d3 10 flag:o = 0
0x11d3 11 flag:a = 0
0x11d7 12 [rsp + 8 {var_20}].q = xmm1.q
0x11dd 13 if (flag:c) then 14 @ 0x11e8 else 18 @ 0x11df
0x11e8 14 xmm0 = xmm1
0x11ec 15 call(0x1050)
0x11f1 16 xmm1 = zx.o([rsp + 8 {var_20}].q)
0x11f1 17 goto 21 @ 0x11f7
0x11df 18 xmm0 = 0
0x11e2 19 xmm0 = _mm_sqrt_sd(xmm1.q)
0x11e6 20 goto 21 @ 0x11f7
0x11f7 21 xmm2 = zx.o([0x2008].q)
0x11ff 22 flag:p = is_unordered.q(xmm0.q, xmm2.q)
0x11ff 23 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q)
0x11ff 24 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q)
0x11ff 25 flag:s = 0
0x11ff 26 flag:o = 0
0x11ff 27 flag:a = 0
0x1203 28 if (flag:c) then 29 @ 0x1272 else 37 @ 0x1205
0x1272 29 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x1276 30 flag:p = is_unordered.q(xmm1.q, xmm0.q)
0x1276 31 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1276 32 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1276 33 flag:s = 0
0x1276 34 flag:o = 0
0x1276 35 flag:a = 0
0x127a 36 if (flag:c) then 40 @ 0x1285 else 45 @ 0x127c
0x1205 37 eax = r14d
0x1208 38 eax = eax & 1
0x120e 39 if (rax == 0) then 29 @ 0x1272 else 48 @ 0x1210
0x1285 40 xmm0 = xmm1
0x1289 41 [rsp + 8 {var_20_1}].q = xmm2.q
0x128f 42 call(0x1050)
0x1294 43 xmm2 = zx.o([rsp + 8 {var_20_1}].q)
0x1294 44 goto 53 @ 0x129a
0x127c 45 xmm0 = 0
0x127f 46 xmm0 = _mm_sqrt_sd(xmm1.q)
0x1283 47 goto 53 @ 0x129a
0x1210 48 ebx = 3
0x1215 49 xmm3 = _mm_sqrt_sd(xmm1.q)
0x1219 50 xmm4 = _mm_xor_pd(xmm4, xmm4)
0x121d 51 [rsp + 0x10 {var_18_1}].q = xmm3.q
0x122d 52 goto 65 @ 0x1230
0x129a 53 eax = 0
0x129c 54 flag:p = is_unordered.q(xmm2.q, xmm0.q)
0x129c 55 flag:c = xmm2.q f< xmm0.q | is_unordered.q(xmm2.q, xmm0.q)
0x129c 56 flag:z = xmm2.q f== xmm0.q | is_unordered.q(xmm2.q, xmm0.q)
0x129c 57 flag:s = 0
0x129c 58 flag:o = 0
0x129c 59 flag:a = 0
0x12a0 60 al = not(flag:z) && not(flag:c)
0x12a3 61 rsp = rsp + 0x18
0x12a7 62 rbx = pop
0x12a8 63 r14 = pop
0x12aa 64 <return> jump(pop)
0x1230 65 flag:p = is_unordered.q(xmm1.q, xmm4.q)
0x1230 66 flag:c = xmm1.q f< xmm4.q | is_unordered.q(xmm1.q, xmm4.q)
0x1230 67 flag:z = xmm1.q f== xmm4.q | is_unordered.q(xmm1.q, xmm4.q)
0x1230 68 flag:s = 0
0x1230 69 flag:o = 0
0x1230 70 flag:a = 0
0x1234 71 xmm0 = xmm3
0x1238 72 if (not(flag:c)) then 73 @ 0x1253 else 82 @ 0x123a
0x1253 73 xmm2 = 0
0x1256 74 xmm2.q = float.d(rbx)
0x125b 75 flag:p = is_unordered.q(xmm0.q, xmm2.q)
0x125b 76 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q)
0x125b 77 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q)
0x125b 78 flag:s = 0
0x125b 79 flag:o = 0
0x125b 80 flag:a = 0
0x125f 81 if (flag:c) then 29 @ 0x1272 else 88 @ 0x1261
0x123a 82 xmm0 = xmm1
0x123e 83 call(0x1050)
0x1243 84 xmm4 = _mm_xor_pd(xmm4, xmm4)
0x1247 85 xmm3 = zx.o([rsp + 0x10 {var_18_1}].q)
0x124d 86 xmm1 = zx.o([rsp + 8 {var_20}].q)
0x124d 87 goto 73 @ 0x1253
0x1261 88 rax = r14
0x1264 89 rdx:rax = sx.o(rax)
0x1266 90 temp0.q = divs.dp.q(rdx:rax, rbx)
0x1266 91 temp1.q = mods.dp.q(rdx:rax, rbx)
0x1266 92 rax = temp0.q
0x1266 93 rdx = temp1.q
0x1269 94 rbx = rbx + 1
0x1270 95 if (rdx != 0) then 65 @ 0x1230 else 29 @ 0x1272
int32_t main(int32_t argc, char** argv, char** envp):
0x12b0 0 push(rbp)
0x12b1 1 push(r15)
0x12b3 2 push(r14)
0x12b5 3 push(r13)
0x12b7 4 push(r12)
0x12b9 5 push(rbx)
0x12ba 6 rsp = rsp - 0x18
0x12be 7 rdi = 0x2018 {"%ld%ld"}
0x12c5 8 r14d = 0
0x12c8 9 rsi = rsp + 0x10 {var_38}
0x12cd 10 rdx = rsp + 8 {var_40}
0x12d2 11 eax = 0
0x12d4 12 call(0x1040)
0x12d9 13 rbx = [rsp + 0x10 {var_38}].q
0x12e3 14 if (rbx s<= [rsp + 8 {var_40}].q) then 15 @ 0x1307 else 20 @ 0x12e8
0x1307 15 r15 = 0x2020 {"%ld"}
0x130e 16 r12 = 0x201f {",%ld"}
0x1315 17 r13 = 0x6666666666666667 {""}
0x131f 18 r14d = 0
0x1322 19 goto 21 @ 0x133e
0x12e8 20 if (r14 != 0) then 23 @ 0x12f8 else 31 @ 0x12ea
0x133e 21 eax = 0
0x1343 22 if (rbx == 0) then 35 @ 0x138a else 36 @ 0x1345
0x12f8 23 rsp = rsp + 0x18
0x12fc 24 rbx = pop
0x12fd 25 r12 = pop
0x12ff 26 r13 = pop
0x1301 27 r14 = pop
0x1303 28 r15 = pop
0x1305 29 rbp = pop
0x1306 30 <return> jump(pop)
0x12ea 31 rdi = 0x2024 {"no"}
0x12f1 32 eax = 0
0x12f3 33 call(0x1030)
0x12f3 34 goto 23 @ 0x12f8
0x138a 35 if (rax != rbx) then 38 @ 0x1330 else 42 @ 0x138c
0x1345 36 rcx = rbx
0x1348 37 goto 52 @ 0x1350
0x1330 38 rax = rbx + 1
0x1334 39 cond:0 = rbx s>= [rsp + 8 {var_40}].q
0x1339 40 rbx = rax
0x133c 41 if (cond:0) then 20 @ 0x12e8 else 21 @ 0x133e
0x138c 42 xmm2 = 0
0x138f 43 xmm2.q = float.d(rbx)
0x1394 44 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x1394 45 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x1394 46 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x1394 47 flag:s = 0
0x1394 48 flag:o = 0
0x1394 49 flag:a = 0
0x139c 50 [rsp {var_48_1}].q = xmm2.q
0x13a1 51 if (flag:c) then 68 @ 0x13b0 else 72 @ 0x13a3
0x1350 52 rsi = rax + (rax << 2)
0x1354 53 rax = rcx
0x1357 54 rdx:rax = muls.dp.q(rax, r13)
0x135a 55 rax = rdx
0x135d 56 rax = rax u>> 0x3f
0x1361 57 rdx = rdx s>> 2
0x1365 58 rdx = rdx + rax
0x1368 59 rax = rdx + rdx
0x136c 60 rax = rax + (rax << 2)
0x1370 61 rdi = rcx
0x1373 62 rdi = rdi - rax
0x1376 63 rax = rdi + (rsi << 1)
0x137a 64 rcx = rcx + 9
0x137e 65 cond:1 = rcx u> 0x12
0x1382 66 rcx = rdx
0x1385 67 if (cond:1) then 52 @ 0x1350 else 35 @ 0x138a
0x13b0 68 xmm0 = xmm2
0x13b4 69 call(0x1050)
0x13b9 70 xmm2 = zx.o([rsp {var_48_1}].q)
0x13b9 71 goto 75 @ 0x13be
0x13a3 72 xmm0 = 0
0x13a6 73 xmm0 = _mm_sqrt_sd(xmm2.q)
0x13aa 74 goto 75 @ 0x13be
0x13be 75 xmm1 = zx.o([0x2008].q)
0x13c6 76 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x13c6 77 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x13c6 78 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x13c6 79 flag:s = 0
0x13c6 80 flag:o = 0
0x13c6 81 flag:a = 0
0x13ca 82 if (flag:c) then 83 @ 0x143d else 90 @ 0x13cc
0x143d 83 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x143d 84 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x143d 85 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x143d 86 flag:s = 0
0x143d 87 flag:o = 0
0x143d 88 flag:a = 0
0x1445 89 if (flag:c) then 94 @ 0x1460 else 105 @ 0x1447
0x13cc 90 eax = ebx
0x13ce 91 eax = eax & 1
0x13d1 92 xmm1 = zx.o([0x2008].q)
0x13dc 93 if (rax == 0) then 83 @ 0x143d else 114 @ 0x13de
0x1460 94 xmm0 = xmm2
0x1464 95 [rsp {var_48_2}].q = xmm1.q
0x1469 96 call(0x1050)
0x146e 97 xmm1 = zx.o([rsp {var_48_2}].q)
0x1473 98 flag:p = is_unordered.q(xmm1.q, xmm0.q)
0x1473 99 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1473 100 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1473 101 flag:s = 0
0x1473 102 flag:o = 0
0x1473 103 flag:a = 0
0x1477 104 if (flag:z || flag:c) then 38 @ 0x1330 else 116 @ 0x147d
0x1447 105 xmm0 = 0
0x144a 106 xmm0 = _mm_sqrt_sd(xmm2.q)
0x144e 107 flag:p = is_unordered.q(xmm1.q, xmm0.q)
0x144e 108 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x144e 109 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x144e 110 flag:s = 0
0x144e 111 flag:o = 0
0x144e 112 flag:a = 0
0x1452 113 if (flag:z || flag:c) then 38 @ 0x1330 else 120 @ 0x1458
0x13de 114 ebp = 3
0x13ed 115 goto 121 @ 0x13f0
0x147d 116 rbp = r14 + 1
0x1481 117 cond:2 = r14 == 0
0x1484 118 rdi = r12
0x1487 119 if (cond:2) then 128 else 130 @ 0x148b
0x1458 120 goto 116 @ 0x147d
0x13f0 121 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x13f0 122 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x13f0 123 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x13f0 124 flag:s = 0
0x13f0 125 flag:o = 0
0x13f0 126 flag:a = 0
0x13f8 127 if (flag:c) then 135 @ 0x1410 else 139 @ 0x13fa
0x1487 128 rdi = r15
0x1487 129 goto 130 @ 0x148b
0x148b 130 rsi = rbx
0x148e 131 eax = 0
0x1490 132 call(0x1030)
0x1495 133 r14 = rbp
0x1498 134 goto 38 @ 0x1330
0x1410 135 xmm0 = xmm2
0x1414 136 call(0x1050)
0x1419 137 xmm2 = zx.o([rsp {var_48_1}].q)
0x1419 138 goto 142 @ 0x141e
0x13fa 139 xmm0 = 0
0x13fd 140 xmm0 = _mm_sqrt_sd(xmm2.q)
0x1401 141 goto 142 @ 0x141e
0x141e 142 xmm1 = 0
0x1421 143 xmm1.q = float.d(rbp)
0x1426 144 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x1426 145 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1426 146 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1426 147 flag:s = 0
0x1426 148 flag:o = 0
0x1426 149 flag:a = 0
0x142a 150 if (flag:c) then 83 @ 0x143d else 151 @ 0x142c
0x142c 151 rax = rbx
0x142f 152 rdx:rax = sx.o(rax)
0x1431 153 temp0.q = divs.dp.q(rdx:rax, rbp)
0x1431 154 temp1.q = mods.dp.q(rdx:rax, rbp)
0x1431 155 rax = temp0.q
0x1431 156 rdx = temp1.q
0x1434 157 rbp = rbp + 1
0x143b 158 if (rdx != 0) then 121 @ 0x13f0 else 83 @ 0x143d
int64_t _fini():
0x14a4 0 rsp = rsp - 8
0x14a8 1 rsp = rsp + 8
0x14ac 2 <return> jump(pop)
| POJ_74 |
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 {"UAWAVATSH\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(r12)
0x1157 4 push(rbx)
0x1158 5 rsp = rsp - 0x990
0x115f 6 rdi = 0x2028 {"%lf%lf%lf"}
0x1166 7 rsi = rsp + 8 {var_9b0}
0x116b 8 rdx = rsp + 0x28 {var_990}
0x1170 9 rcx = rsp + 0x20 {var_998}
0x1175 10 eax = 0
0x1177 11 call(0x1030)
0x117c 12 xmm0 = zx.o([rsp + 0x20 {var_998}].q)
0x1182 13 xmm0.q = xmm0.q f/ fconvert.t([rsp + 0x28 {var_990}].q)
0x1188 14 [rsp + 0x18 {var_9a0}].q = xmm0.q
0x118e 15 xmm0 = zx.o([rsp + 8 {var_9b0}].q)
0x1194 16 xmm0.q = xmm0.q f+ fconvert.t([0x2008].q)
0x119c 17 xmm1 = _mm_xor_pd(xmm1, xmm1)
0x11a0 18 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x11a0 19 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x11a0 20 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x11a0 21 flag:s = 0
0x11a0 22 flag:o = 0
0x11a0 23 flag:a = 0
0x11a4 24 if (flag:z || flag:c) then 25 @ 0x1219 else 32 @ 0x11a6
0x1219 25 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2020].q))
0x1219 26 flag:c = xmm0.q f< fconvert.t([0x2020].q) | is_unordered.q(xmm0.q, fconvert.t([0x2020].q))
0x1219 27 flag:z = xmm0.q f== fconvert.t([0x2020].q) | is_unordered.q(xmm0.q, fconvert.t([0x2020].q))
0x1219 28 flag:s = 0
0x1219 29 flag:o = 0
0x1219 30 flag:a = 0
0x1221 31 if (flag:z || flag:c) then 38 @ 0x1303 else 46 @ 0x1227
0x11a6 32 r12 = rsp + 0x30 {var_988}
0x11ab 33 r14 = rsp + 0x350 {var_668}
0x11b3 34 rbx = rsp + 0x670 {var_348}
0x11bb 35 ebp = 1
0x11c0 36 r15 = 0x202b {"%lf%lf"}
0x11c7 37 goto 52 @ 0x11d0
0x1303 38 eax = 0
0x1305 39 rsp = rsp + 0x990
0x130c 40 rbx = pop
0x130d 41 r12 = pop
0x130f 42 r14 = pop
0x1311 43 r15 = pop
0x1313 44 rbp = pop
0x1314 45 <return> jump(pop)
0x1227 46 ebx = 0
0x1229 47 r14 = 0x203d {"better"}
0x1230 48 xmm2 = zx.o([0x2018].q)
0x1238 49 r15 = 0x2037 {"worse"}
0x123f 50 r12 = 0x2032 {"same"}
0x1246 51 goto 75 @ 0x1273
0x11d0 52 rdi = r15
0x11d3 53 rsi = rbx
0x11d6 54 rdx = r14
0x11d9 55 eax = 0
0x11db 56 call(0x1030)
0x11e0 57 xmm0 = zx.o([r14].q)
0x11e5 58 xmm0.q = xmm0.q f/ fconvert.t([rbx].q)
0x11e9 59 [r12].q = xmm0.q
0x11ef 60 xmm1 = 0
0x11f2 61 xmm1.q = float.d(ebp)
0x11f6 62 xmm0 = zx.o([rsp + 8 {var_9b0}].q)
0x11fc 63 xmm0.q = xmm0.q f+ fconvert.t([0x2008].q)
0x1204 64 r12 = r12 + 8
0x1208 65 r14 = r14 + 8
0x120c 66 rbx = rbx + 8
0x1210 67 ebp = ebp + 1
0x1213 68 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x1213 69 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1213 70 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1213 71 flag:s = 0
0x1213 72 flag:o = 0
0x1213 73 flag:a = 0
0x1217 74 if (not(flag:z) && not(flag:c)) then 52 @ 0x11d0 else 25 @ 0x1219
0x1273 75 xmm1 = zx.o([rsp + (rbx << 3) + 0x30].q)
0x1279 76 xmm1.q = xmm1.q f- fconvert.t([rsp + 0x18 {var_9a0}].q)
0x127f 77 flag:p = is_unordered.q(xmm1.q, fconvert.t([0x2010].q))
0x127f 78 flag:c = xmm1.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm1.q, fconvert.t([0x2010].q))
0x127f 79 flag:z = xmm1.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm1.q, fconvert.t([0x2010].q))
0x127f 80 flag:s = 0
0x127f 81 flag:o = 0
0x127f 82 flag:a = 0
0x1287 83 [rsp + 0x10 {var_9a8_1}].q = xmm1.q
0x128d 84 if (not(flag:z) && not(flag:c)) then 85 @ 0x12a0 else 96 @ 0x128f
0x12a0 85 rdi = r14
0x12a3 86 call(0x1040)
0x12a8 87 xmm1 = zx.o([rsp + 0x10 {var_9a8_1}].q)
0x12ae 88 xmm2 = zx.o([0x2018].q)
0x12b6 89 flag:p = is_unordered.q(xmm2.q, xmm1.q)
0x12b6 90 flag:c = xmm2.q f< xmm1.q | is_unordered.q(xmm2.q, xmm1.q)
0x12b6 91 flag:z = xmm2.q f== xmm1.q | is_unordered.q(xmm2.q, xmm1.q)
0x12b6 92 flag:s = 0
0x12b6 93 flag:o = 0
0x12b6 94 flag:a = 0
0x12ba 95 if (flag:z || flag:c) then 103 @ 0x1295 else 110 @ 0x12bc
0x128f 96 flag:p = is_unordered.q(xmm2.q, xmm1.q)
0x128f 97 flag:c = xmm2.q f< xmm1.q | is_unordered.q(xmm2.q, xmm1.q)
0x128f 98 flag:z = xmm2.q f== xmm1.q | is_unordered.q(xmm2.q, xmm1.q)
0x128f 99 flag:s = 0
0x128f 100 flag:o = 0
0x128f 101 flag:a = 0
0x1293 102 if (not(flag:z) && not(flag:c)) then 110 @ 0x12bc else 103 @ 0x1295
0x1295 103 flag:p = is_unordered.q(xmm1.q, xmm2.q)
0x1295 104 flag:c = xmm1.q f< xmm2.q | is_unordered.q(xmm1.q, xmm2.q)
0x1295 105 flag:z = xmm1.q f== xmm2.q | is_unordered.q(xmm1.q, xmm2.q)
0x1295 106 flag:s = 0
0x1295 107 flag:o = 0
0x1295 108 flag:a = 0
0x1299 109 if (not(flag:c)) then 121 @ 0x12dc else 129 @ 0x129b
0x12bc 110 rdi = r15
0x12bf 111 call(0x1040)
0x12c4 112 xmm1 = zx.o([rsp + 0x10 {var_9a8_1}].q)
0x12ca 113 xmm2 = zx.o([0x2018].q)
0x12d2 114 flag:p = is_unordered.q(xmm1.q, xmm2.q)
0x12d2 115 flag:c = xmm1.q f< xmm2.q | is_unordered.q(xmm1.q, xmm2.q)
0x12d2 116 flag:z = xmm1.q f== xmm2.q | is_unordered.q(xmm1.q, xmm2.q)
0x12d2 117 flag:s = 0
0x12d2 118 flag:o = 0
0x12d2 119 flag:a = 0
0x12d6 120 if (flag:c) then 130 @ 0x1250 else 121 @ 0x12dc
0x12dc 121 xmm0 = zx.o([0x2010].q)
0x12e4 122 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x12e4 123 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x12e4 124 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x12e4 125 flag:s = 0
0x12e4 126 flag:o = 0
0x12e4 127 flag:a = 0
0x12e8 128 if (flag:c) then 130 @ 0x1250 else 142 @ 0x12ee
0x129b 129 goto 130 @ 0x1250
0x1250 130 rbx = rbx + 1
0x1254 131 xmm0 = 0
0x1257 132 xmm0.q = float.d(ebx)
0x125b 133 xmm1 = zx.o([rsp + 8 {var_9b0}].q)
0x1261 134 xmm1.q = xmm1.q f+ fconvert.t([0x2008].q)
0x1269 135 flag:p = is_unordered.q(xmm1.q, xmm0.q)
0x1269 136 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1269 137 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1269 138 flag:s = 0
0x1269 139 flag:o = 0
0x1269 140 flag:a = 0
0x126d 141 if (flag:z || flag:c) then 38 @ 0x1303 else 75 @ 0x1273
0x12ee 142 rdi = r12
0x12f1 143 call(0x1040)
0x12f6 144 xmm2 = zx.o([0x2018].q)
0x12fe 145 goto 130 @ 0x1250
int64_t _fini():
0x131c 0 rsp = rsp - 8
0x1320 1 rsp = rsp + 8
0x1324 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
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 {"AWAVSH@W)D$ )D$)$fD$0"}
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 - 0x40
0x1169 4 xmm0 = 0
0x116c 5 [rsp + 0x20 {var_38}].o = xmm0
0x1171 6 [rsp + 0x10 {var_48}].o = xmm0
0x1176 7 [rsp {var_58}].o = xmm0
0x117a 8 [rsp + 0x30 {var_28}].w = 0
0x1181 9 r15d = 0
0x1184 10 rdi = rsp {var_58}
0x1187 11 eax = 0
0x1189 12 call(0x1040)
0x118e 13 al = [rsp {var_58}].b
0x1193 14 if (al == 0) then 15 @ 0x11fa else 21 @ 0x1195
0x11fa 15 eax = 0
0x11fc 16 rsp = rsp + 0x40
0x1200 17 rbx = pop
0x1201 18 r14 = pop
0x1203 19 r15 = pop
0x1205 20 <return> jump(pop)
0x1195 21 r14 = rsp {var_58}
0x1198 22 goto 23 @ 0x11a0
0x11a0 23 al = al - 0x30
0x11a4 24 if (al u> 9) then 25 @ 0x11e0 else 30 @ 0x11a6
0x11e0 25 r15 = sx.q(r15d)
0x11e3 26 r15 = r15 + 1
0x11e7 27 rdi = r14 {var_58}
0x11ea 28 call(0x1030)
0x11f2 29 if (rax u<= r15) then 15 @ 0x11fa else 32 @ 0x11f4
0x11a6 30 rbx = sx.q(r15d)
0x11a9 31 goto 34 @ 0x11b0
0x11f4 32 al = [rsp + r15].b
0x11f8 33 goto 23 @ 0x11a0
0x11b0 34 rdi = r14 {var_58}
0x11b3 35 call(0x1030)
0x11bb 36 if (rax u< rbx) then 25 @ 0x11e0 else 37 @ 0x11bd
0x11bd 37 edi = zx.d([rsp + rbx].b)
0x11c1 38 eax = (rdi - 0x3a).d
0x11c6 39 if (al u<= -0xb) then 40 @ 0x11d3 else 44 @ 0x11c8
0x11d3 40 edi = 0xa {""}
0x11d8 41 call(0x1050)
0x11dd 42 r15d = ebx
0x11dd 43 goto 25 @ 0x11e0
0x11c8 44 call(0x1050)
0x11cd 45 rbx = rbx + 1
0x11d1 46 goto 34 @ 0x11b0
int64_t _fini():
0x120c 0 rsp = rsp - 8
0x1210 1 rsp = rsp + 8
0x1214 2 <return> jump(pop)
| POJ_88 |
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 {"AWAVAUATSHp"}
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 - 0x9f70
0x1160 6 rdi = 0x2006 {"%d"}
0x1167 7 rsi = rsp + 0xc {var_9f8c}
0x116c 8 eax = 0
0x116e 9 call(0x1040)
0x1178 10 if ([rsp + 0xc {var_9f8c}].d s<= 0) then 11 @ 0x12ab else 19 @ 0x117e
0x12ab 11 eax = 0
0x12ad 12 rsp = rsp + 0x9f70
0x12b4 13 rbx = pop
0x12b5 14 r12 = pop
0x12b7 15 r13 = pop
0x12b9 16 r14 = pop
0x12bb 17 r15 = pop
0x12bd 18 <return> jump(pop)
0x117e 19 r13d = 1
0x1184 20 r14 = 0x2004 {"%d%d"}
0x118b 21 r12 = rsp + 0x330 {var_9c68}
0x1193 22 r15 = 0x2009 {"%d\n"}
0x119a 23 goto 24 @ 0x11d3
0x11d3 24 rsi = rsp + (r13 << 2)
0x11d7 25 rsi = rsi + 0x1a0
0x11de 26 rdx = rsp + (r13 << 2)
0x11e2 27 rdx = rdx + 0x10
0x11e6 28 rdi = r14
0x11e9 29 eax = 0
0x11eb 30 call(0x1040)
0x11f0 31 r9 = sx.q([rsp + (r13 << 2) + 0x1a0].d)
0x11f8 32 r8 = sx.q([rsp + (r13 << 2) + 0x10].d)
0x11fd 33 rax = r12 {var_9c68}
0x1200 34 edx = 1
0x120f 35 goto 36 @ 0x1210
0x1210 36 [rax].d = 1
0x1216 37 [rsp + (rdx << 2) + 0x330].d = 1
0x1221 38 [rax + 0x194].d = 1
0x122b 39 rdx = rdx + 0x64
0x122f 40 rax = rax + 4
0x123a 41 if (rdx != 0x13ed) then 36 @ 0x1210 else 42 @ 0x123c
0x123c 42 edx = 2
0x1241 43 rsi = r12 {var_9c68}
0x1244 44 goto 45 @ 0x1265
0x1265 45 edi = 0xca {""}
0x126a 46 eax = 8
0x126f 47 goto 48 @ 0x1296
0x1296 48 rbx = rdi - 0xc8
0x129d 49 ecx = [rsi + (rdi << 2) - 4].d
0x12a4 50 if (rdx u< rbx) then 51 @ 0x1280 else 55 @ 0x12a6
0x1280 51 [rsi + (rdi << 2)].d = ecx
0x1283 52 rdi = rdi + 1
0x1287 53 rax = rax - 0x18c
0x1294 54 if (rdi == 0xfb) then 57 @ 0x1250 else 48 @ 0x1296
0x12a6 55 ecx = ecx + [rsi + rax].d
0x12a9 56 goto 51 @ 0x1280
0x1250 57 rdx = rdx + 1
0x1254 58 rsi = rsi + 0x190
0x125f 59 if (rdx == 0x33) then 60 @ 0x11a0 else 45 @ 0x1265
0x11a0 60 rax = r9 * 0x190
0x11a7 61 rax = rax + rsp
0x11aa 62 rax = rax + 0x330
0x11b0 63 esi = [rax + (r8 << 2)].d
0x11b4 64 rdi = r15
0x11b7 65 eax = 0
0x11b9 66 call(0x1030)
0x11be 67 rax = r13 + 1
0x11c2 68 rcx = sx.q([rsp + 0xc {var_9f8c}].d)
0x11c7 69 cond:0 = r13 s>= rcx
0x11ca 70 r13 = rax
0x11cd 71 if (cond:0) then 11 @ 0x12ab else 24 @ 0x11d3
uint64_t way(int32_t arg1, int32_t arg2):
0x12c0 0 rsp = rsp - 0x9bc8
0x12c7 1 rax = rsp - 0x80 {var_9c48}
0x12cc 2 ecx = 1
0x12db 3 goto 4 @ 0x12e0
0x12e0 4 [rax].d = 1
0x12e6 5 [rsp + (rcx << 2) - 0x80].d = 1
0x12ee 6 [rax + 0x194].d = 1
0x12f8 7 rax = rax + 4
0x12fc 8 rcx = rcx + 0x64
0x1307 9 if (rcx != 0x13ed) then 4 @ 0x12e0 else 10 @ 0x1309
0x1309 10 r8d = 2
0x130f 11 r9 = rsp - 0x80 {var_9c48}
0x1314 12 goto 13 @ 0x1331
0x1331 13 edx = 0xca {""}
0x1336 14 eax = 8
0x133b 15 goto 16 @ 0x1357
0x1357 16 r10 = rdx - 0xc8
0x135e 17 ecx = [r9 + (rdx << 2) - 4].d
0x1366 18 if (r8 u< r10) then 19 @ 0x1340 else 23 @ 0x1368
0x1340 19 [r9 + (rdx << 2)].d = ecx
0x1344 20 rdx = rdx + 1
0x1348 21 rax = rax - 0x18c
0x1355 22 if (rdx == 0xfb) then 25 @ 0x1320 else 16 @ 0x1357
0x1368 23 ecx = ecx + [r9 + rax].d
0x136c 24 goto 19 @ 0x1340
0x1320 25 r8 = r8 + 1
0x1324 26 r9 = r9 + 0x190
0x132f 27 if (r8 == 0x33) then 28 @ 0x136e else 13 @ 0x1331
0x136e 28 rax = sx.q(edi)
0x1371 29 rcx = sx.q(esi)
0x1374 30 rax = rax * 0x190
0x137b 31 rax = rax + rsp
0x137e 32 rax = rax - 0x80
0x1382 33 eax = [rax + (rcx << 2)].d
0x1385 34 rsp = rsp + 0x9bc8
0x138c 35 <return> jump(pop)
int64_t _fini():
0x1394 0 rsp = rsp - 8
0x1398 1 rsp = rsp + 8
0x139c 2 <return> jump(pop)
| POJ_90 |
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 {"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 - 0x3e8
0x115d 5 r15 = rsp {var_408}
0x1160 6 ebx = 0
0x1162 7 rdi = r15 {var_408}
0x1165 8 eax = 0
0x1167 9 call(0x1040)
0x116c 10 r14 = 0x2004 {"%d,"}
0x1173 11 goto 12 @ 0x118c
0x118c 12 eax = zx.d([r15].b)
0x1192 13 if (al == 0x20) then 14 @ 0x1180 else 16 @ 0x1196
0x1180 14 ebp = 0
0x1184 15 if (ebx s> 0) then 17 @ 0x119f else 23 @ 0x1186
0x1196 16 if (al == 0) then 26 @ 0x11af else 36 @ 0x1198
0x119f 17 ebp = 0
0x11a1 18 rdi = r14
0x11a4 19 esi = ebx
0x11a6 20 eax = 0
0x11a8 21 call(0x1030)
0x11ad 22 goto 23 @ 0x1186
0x1186 23 r15 = r15 + 1
0x118a 24 ebx = ebp
0x118a 25 goto 12 @ 0x118c
0x11af 26 rdi = 0x2008 {"%d"}
0x11b6 27 esi = ebx
0x11b8 28 eax = 0
0x11ba 29 call(0x1030)
0x11bf 30 rsp = rsp + 0x3e8
0x11c6 31 rbx = pop
0x11c7 32 r14 = pop
0x11c9 33 r15 = pop
0x11cb 34 rbp = pop
0x11cc 35 <return> jump(pop)
0x1198 36 ebx = ebx + 1
0x119b 37 ebp = ebx
0x119d 38 goto 23 @ 0x1186
int64_t _fini():
0x11d4 0 rsp = rsp - 8
0x11d8 1 rsp = rsp + 8
0x11dc 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)
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 {"UHH0"}
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 - 0x330
0x116b 3 [rbp - 4 {var_c}].d = 0
0x1172 4 rsi = rbp - 0x210 {var_218}
0x1179 5 rdi = 0x2004 {"%s"}
0x1180 6 al = 0
0x1182 7 call(0x1050)
0x1187 8 rsi = rbp - 0x110 {var_118}
0x118e 9 rdi = 0x2004 {"%s"}
0x1195 10 al = 0
0x1197 11 call(0x1050)
0x119c 12 rsi = rbp - 0x310 {var_318}
0x11a3 13 rdi = 0x2004 {"%s"}
0x11aa 14 al = 0
0x11ac 15 call(0x1050)
0x11b1 16 rdi = rbp - 0x110 {var_118}
0x11b8 17 call(0x1040)
0x11bd 18 [rbp - 0x31c {var_324}].d = eax
0x11c3 19 rdi = rbp - 0x210 {var_218}
0x11ca 20 call(0x1040)
0x11cf 21 [rbp - 0x320 {var_328}].d = eax
0x11d5 22 [rbp - 0x314 {var_31c}].d = 0
0x11d5 23 goto 24 @ 0x11df
0x11df 24 eax = [rbp - 0x314 {var_31c}].d
0x11e5 25 ecx = [rbp - 0x320 {var_328}].d
0x11eb 26 ecx = ecx - [rbp - 0x31c {var_324}].d
0x11f3 27 if (eax s> ecx) then 28 @ 0x1290 else 30 @ 0x11f9
0x1290 28 eax = [rbp - 0x318 {var_320}].d
0x129c 29 if (eax != [rbp - 0x31c {var_324}].d) then 32 @ 0x1382 else 37 @ 0x12a2
0x11f9 30 [rbp - 0x318 {var_320}].d = 0
0x11f9 31 goto 39 @ 0x1203
0x1382 32 eax = [rbp - 0x314 {var_31c}].d
0x1388 33 ecx = [rbp - 0x320 {var_328}].d
0x138e 34 ecx = ecx - [rbp - 0x31c {var_324}].d
0x1394 35 ecx = ecx + 1
0x1399 36 if (eax != ecx) then 41 @ 0x13b4 else 42 @ 0x139f
0x12a2 37 [rbp - 0x324 {var_32c_1}].d = 0
0x12a2 38 goto 47 @ 0x12ac
0x1203 39 eax = [rbp - 0x318 {var_320}].d
0x120f 40 if (eax s>= [rbp - 0x31c {var_324}].d) then 49 @ 0x1260 else 51 @ 0x1215
0x13b4 41 goto 58 @ 0x13b9
0x139f 42 rsi = rbp - 0x210 {var_218}
0x13a6 43 rdi = 0x2004 {"%s"}
0x13ad 44 al = 0
0x13af 45 call(0x1030)
0x13af 46 goto 41 @ 0x13b4
0x12ac 47 eax = [rbp - 0x324 {var_32c_1}].d
0x12b8 48 if (eax s>= [rbp - 0x314 {var_31c}].d) then 62 @ 0x12ef else 71 @ 0x12be
0x1260 49 eax = [rbp - 0x318 {var_320}].d
0x126c 50 if (eax != [rbp - 0x31c {var_324}].d) then 80 @ 0x1277 else 81 @ 0x1272
0x1215 51 eax = [rbp - 0x314 {var_31c}].d
0x121b 52 eax = eax + [rbp - 0x318 {var_320}].d
0x1221 53 rax = sx.q(eax)
0x1223 54 eax = sx.d([rbp + rax - 0x210].b)
0x122b 55 rcx = sx.q([rbp - 0x318 {var_320}].d)
0x1232 56 ecx = sx.d([rbp + rcx - 0x110].b)
0x123c 57 if (eax == ecx) then 82 @ 0x1247 else 83 @ 0x1242
0x13b9 58 eax = 0
0x13bb 59 rsp = rsp + 0x330
0x13c2 60 rbp = pop
0x13c3 61 <return> jump(pop)
0x12ef 62 rsi = rbp - 0x310 {var_318}
0x12f6 63 rdi = 0x2004 {"%s"}
0x12fd 64 al = 0
0x12ff 65 call(0x1030)
0x1304 66 eax = [rbp - 0x314 {var_31c}].d
0x130a 67 eax = eax + [rbp - 0x31c {var_324}].d
0x1310 68 rax = sx.q(eax)
0x1312 69 eax = sx.d([rbp + rax - 0x210].b)
0x131d 70 if (eax == 0) then 84 @ 0x137d else 85 @ 0x1323
0x12be 71 rax = sx.q([rbp - 0x324 {var_32c_1}].d)
0x12c5 72 esi = sx.d([rbp + rax - 0x210].b)
0x12cd 73 rdi = 0x2007 {"%c"}
0x12d4 74 al = 0
0x12d6 75 call(0x1030)
0x12db 76 eax = [rbp - 0x324 {var_32c_1}].d
0x12e1 77 eax = eax + 1
0x12e4 78 [rbp - 0x324 {var_32c_1}].d = eax
0x12ea 79 goto 47 @ 0x12ac
0x1277 80 goto 89 @ 0x127c
0x1272 81 goto 28 @ 0x1290
0x1247 82 goto 93 @ 0x124c
0x1242 83 goto 49 @ 0x1260
0x137d 84 goto 58 @ 0x13b9
0x1323 85 eax = [rbp - 0x314 {var_31c}].d
0x1329 86 eax = eax + [rbp - 0x31c {var_324}].d
0x132f 87 [rbp - 0x324 {var_32c_2}].d = eax
0x132f 88 goto 97 @ 0x1335
0x127c 89 eax = [rbp - 0x314 {var_31c}].d
0x1282 90 eax = eax + 1
0x1285 91 [rbp - 0x314 {var_31c}].d = eax
0x128b 92 goto 24 @ 0x11df
0x124c 93 eax = [rbp - 0x318 {var_320}].d
0x1252 94 eax = eax + 1
0x1255 95 [rbp - 0x318 {var_320}].d = eax
0x125b 96 goto 39 @ 0x1203
0x1335 97 eax = [rbp - 0x324 {var_32c_2}].d
0x1341 98 if (eax s>= [rbp - 0x320 {var_328}].d) then 99 @ 0x1378 else 100 @ 0x1347
0x1378 99 goto 84 @ 0x137d
0x1347 100 rax = sx.q([rbp - 0x324 {var_32c_2}].d)
0x134e 101 esi = sx.d([rbp + rax - 0x210].b)
0x1356 102 rdi = 0x2007 {"%c"}
0x135d 103 al = 0
0x135f 104 call(0x1030)
0x1364 105 eax = [rbp - 0x324 {var_32c_2}].d
0x136a 106 eax = eax + 1
0x136d 107 [rbp - 0x324 {var_32c_2}].d = eax
0x1373 108 goto 97 @ 0x1335
int64_t _fini():
0x13c8 0 rsp = rsp - 8
0x13cc 1 rsp = rsp + 8
0x13d0 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 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 {"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 = 0x2004 {"%s"}
0x1175 8 r14 = rsp {var_98}
0x1178 9 rsi = r14 {var_98}
0x117b 10 eax = 0
0x117d 11 call(0x1050)
0x1182 12 r13b = [rsp {var_98}].b
0x1186 13 rdi = r14 {var_98}
0x1189 14 call(0x1040)
0x1191 15 if (rax == 0) then 16 @ 0x11b9 else 19 @ 0x1193
0x11b9 16 rdi = rsp {var_98}
0x11bc 17 call(0x1040)
0x11c5 18 if (rax u>= 2) then 21 @ 0x11d8 else 25 @ 0x11c7
0x1193 19 ecx = 0
0x119f 20 goto 34 @ 0x11a0
0x11d8 21 rdi = 0x100000000000000 {""}
0x11e2 22 r12d = 0
0x11e5 23 r14d = 0
0x11e8 24 goto 38 @ 0x123a
0x11c7 25 eax = 0
0x11c9 26 rsp = rsp + 0x68
0x11cd 27 rbx = pop
0x11ce 28 r12 = pop
0x11d0 29 r13 = pop
0x11d2 30 r14 = pop
0x11d4 31 r15 = pop
0x11d6 32 rbp = pop
0x11d7 33 <return> jump(pop)
0x11a0 34 edx = zx.d([rsp + rcx].b)
0x11a4 35 cond:0 = dl != r13b
0x11a7 36 ebp = zx.d(bpl)
0x11ab 37 if (cond:0) then 39 else 41 @ 0x11ae
0x123a 38 if (rax u< 2) then 43 @ 0x1215 else 50 @ 0x123c
0x11ab 39 ebp = edx
0x11ab 40 goto 41 @ 0x11ae
0x11ae 41 rcx = rcx + 1
0x11b5 42 if (rax != rcx) then 34 @ 0x11a0 else 54 @ 0x11b7
0x1215 43 r12 = r12 + 1
0x1219 44 rdi = rsp {var_98}
0x121c 45 call(0x1040)
0x1221 46 rdi = 0x100000000000000 {""}
0x122b 47 rcx = rax
0x122e 48 rcx = rcx u>> 1
0x1234 49 if (rcx u<= r12) then 25 @ 0x11c7 else 38 @ 0x123a
0x123c 50 ecx = 1
0x1241 51 edx = 0x1000000 {""}
0x1246 52 rsi = rdi
0x1249 53 goto 55 @ 0x1250
0x11b7 54 goto 16 @ 0x11b9
0x1250 55 r15 = rsi
0x1253 56 r15 = r15 s>> 0x38
0x1257 57 ebx = zx.d([rsp + r15].b)
0x125f 58 if (bl == bpl) then 59 @ 0x11f0 else 69 @ 0x1261
0x11f0 59 esi = sx.d(r14b)
0x11f4 60 edx = edx s>> 0x18
0x11f7 61 rdi = 0x2007 {"%d %d\n"}
0x11fe 62 eax = 0
0x1200 63 call(0x1030)
0x1205 64 rax = sx.q(r14b)
0x1209 65 [rsp + rax].b = 0x7c {""}
0x120d 66 [rsp + r15].b = 0x7c {""}
0x1212 67 r14d = 0
0x1212 68 goto 43 @ 0x1215
0x1261 69 cond:1 = bl == r13b
0x1264 70 r14d = zx.d(r14b)
0x1268 71 if (cond:1) then 72 else 74 @ 0x126c
0x1268 72 r14d = ecx
0x1268 73 goto 74 @ 0x126c
0x126c 74 rcx = rcx + 1
0x1270 75 edx = edx + 0x1000000
0x1276 76 rsi = rsi + rdi
0x127c 77 if (rax != rcx) then 55 @ 0x1250 else 78 @ 0x127e
0x127e 78 goto 43 @ 0x1215
int64_t _fini():
0x1284 0 rsp = rsp - 8
0x1288 1 rsp = rsp + 8
0x128c 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)
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 {"PH="}
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(rax)
0x1161 1 rdi = 0x200c {"%d"}
0x1168 2 rsi = rsp + 4 {var_8+0x4}
0x116d 3 eax = 0
0x116f 4 call(0x1040)
0x1174 5 r10 = sx.q([rsp + 4 {var_8+0x4}].d)
0x1179 6 r9 = r10 * 0x68db8bad
0x1180 7 rax = r9
0x1183 8 rax = rax u>> 0x3f
0x1187 9 r9 = r9 s>> 0x2c
0x118b 10 r9d = r9d + eax
0x118e 11 esi = r9d * -0x2710
0x1195 12 esi = esi + r10d
0x1198 13 rax = sx.q(esi)
0x119b 14 r8 = rax * 0x10624dd3
0x11a2 15 rax = r8
0x11a5 16 rax = rax u>> 0x3f
0x11a9 17 r8 = r8 s>> 0x26
0x11ad 18 r8d = r8d + eax
0x11b0 19 edi = r8d * -0x3e8
0x11b7 20 edi = edi + esi
0x11b9 21 rax = sx.q(edi)
0x11bc 22 rcx = rax * 0x51eb851f
0x11c3 23 rax = rcx
0x11c6 24 rax = rax u>> 0x3f
0x11ca 25 rcx = rcx s>> 0x25
0x11ce 26 ecx = ecx + eax
0x11d0 27 r11d = ecx * -0x64
0x11d4 28 r11d = r11d + edi
0x11d7 29 rdx = sx.q(r11d)
0x11da 30 rdx = rdx * 0x66666667
0x11e1 31 rax = rdx
0x11e4 32 rax = rax u>> 0x3f
0x11e8 33 rdx = rdx s>> 0x22
0x11ec 34 edx = edx + eax
0x11ee 35 eax = (r10 + 0x270f).d
0x11fa 36 if (eax u>= 0x4e1f) then 37 @ 0x122b else 41 @ 0x11fc
0x122b 37 rdi = 0x2004 {"%d%d%d%d%d"}
0x1232 38 eax = 0
0x1234 39 call(0x1030)
0x1239 40 goto 43 @ 0x1269
0x11fc 41 esi = esi + 0x3e7
0x1208 42 if (esi u>= 0x7cf) then 46 @ 0x123b else 50 @ 0x120a
0x1269 43 eax = 0
0x126b 44 rcx = pop
0x126c 45 <return> jump(pop)
0x123b 46 rdi = 0x2006 {"%d%d%d%d"}
0x1242 47 eax = 0
0x1244 48 call(0x1030)
0x1249 49 goto 43 @ 0x1269
0x120a 50 edi = edi + 0x63
0x1213 51 if (edi u>= 0xc7) then 52 @ 0x124b else 56 @ 0x1215
0x124b 52 rdi = 0x2008 {"%d%d%d"}
0x1252 53 eax = 0
0x1254 54 call(0x1030)
0x1259 55 goto 43 @ 0x1269
0x1215 56 r11d = r11d + 9
0x121d 57 if (r11d u>= 0x13) then 58 @ 0x125b else 62 @ 0x121f
0x125b 58 rdi = 0x200a {"%d%d"}
0x1262 59 eax = 0
0x1264 60 call(0x1030)
0x1264 61 goto 43 @ 0x1269
0x121f 62 edi = 0x30 {""}
0x1224 63 call(0x1050)
0x1229 64 goto 43 @ 0x1269
int64_t _fini():
0x1274 0 rsp = rsp - 8
0x1278 1 rsp = rsp + 8
0x127c 2 <return> jump(pop)
| POJ_16 |
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)
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 {"UAWAVAUATSH8"}
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 - 0xb38
0x1181 7 rdi = 0x2004 {"%d"}
0x1188 8 rsi = rsp + 8 {var_b60}
0x118d 9 eax = 0
0x118f 10 call(0x1050)
0x1194 11 eax = [rsp + 8 {var_b60}].d
0x119a 12 if (eax s<= 0) then 13 @ 0x11e9 else 14 @ 0x119c
0x11e9 13 if (eax s< 2) then 19 @ 0x133d else 24 @ 0x11ef
0x119c 14 r15 = rsp + 0x40 {var_b28}
0x11a1 15 rbp = rsp + 0x360 {var_808}
0x11a9 16 r14 = 0x2007 {"%s%lf"}
0x11b0 17 ebx = 0
0x11bc 18 goto 30 @ 0x11c0
0x133d 19 xmm0 = zx.o([rsp + 0x40 {var_b28}].q)
0x1343 20 rdi = 0x2015 {"%.2lf"}
0x134a 21 al = 1
0x134c 22 call(0x1030)
0x1356 23 if ([rsp + 8 {var_b60}].d s< 2) then 40 @ 0x138e else 49 @ 0x1358
0x11ef 24 r15d = (rax - 1).d
0x11f3 25 ecx = 1
0x11f8 26 r14 = 0x200d {"female"}
0x11ff 27 r12 = 0x200f {"male"}
0x1206 28 [rsp + 0x10 {var_b58_1}].q = rax
0x120b 29 goto 52 @ 0x1228
0x11c0 30 rdi = r14
0x11c3 31 rsi = rbp
0x11c6 32 rdx = r15
0x11c9 33 eax = 0
0x11cb 34 call(0x1050)
0x11d0 35 rbx = rbx + 1
0x11d4 36 rax = sx.q([rsp + 8 {var_b60}].d)
0x11d9 37 r15 = r15 + 8
0x11dd 38 rbp = rbp + 0x14
0x11e4 39 if (rbx s< rax) then 30 @ 0x11c0 else 13 @ 0x11e9
0x138e 40 eax = 0
0x1390 41 rsp = rsp + 0xb38
0x1397 42 rbx = pop
0x1398 43 r12 = pop
0x139a 44 r13 = pop
0x139c 45 r14 = pop
0x139e 46 r15 = pop
0x13a0 47 rbp = pop
0x13a1 48 <return> jump(pop)
0x1358 49 ebp = 1
0x135d 50 rbx = 0x2014 {" %.2lf"}
0x136e 51 goto 55 @ 0x1370
0x1228 52 r15d = r15d
0x122b 53 [rsp + 0xc {var_b5c_1}].d = ecx
0x1231 54 if (eax s<= ecx) then 62 @ 0x1210 else 67 @ 0x1233
0x1370 55 xmm0 = zx.o([rsp + (rbp << 3) + 0x40].q)
0x1376 56 rdi = rbx
0x1379 57 al = 1
0x137b 58 call(0x1030)
0x1380 59 rbp = rbp + 1
0x1384 60 rax = sx.q([rsp + 8 {var_b60}].d)
0x138c 61 if (rbp s< rax) then 55 @ 0x1370 else 40 @ 0x138e
0x1210 62 ecx = [rsp + 0xc {var_b5c_1}].d
0x1214 63 ecx = ecx + 1
0x1217 64 r15d = r15d - 1
0x121b 65 rax = [rsp + 0x10 {var_b58_1}].q
0x1222 66 if (ecx == eax) then 19 @ 0x133d else 52 @ 0x1228
0x1233 67 rbx = rsp + 0x360 {var_808}
0x123b 68 r13d = 0
0x123e 69 [rsp + 0x18 {var_b50_1}].q = r15
0x1243 70 goto 71 @ 0x12b8
0x12b8 71 rdi = rbx
0x12bb 72 rsi = r14
0x12be 73 call(0x1060)
0x12c3 74 ebp = eax
0x12c7 75 if (eax != 0) then 76 @ 0x12dd else 80 @ 0x12c9
0x12dd 76 rdi = rbx
0x12e0 77 rsi = r12
0x12e3 78 call(0x1060)
0x12ea 79 if (eax != 0) then 84 @ 0x1312 else 85 @ 0x12ec
0x12c9 80 rdi = rbx + 0x14
0x12cd 81 rsi = r12
0x12d0 82 call(0x1060)
0x12d7 83 if (eax == 0) then 89 @ 0x1250 else 76 @ 0x12dd
0x1312 84 if (ebp != 0) then 110 @ 0x12a7 else 113 @ 0x1314
0x12ec 85 rdi = rbx + 0x14
0x12f0 86 rsi = r12
0x12f3 87 call(0x1060)
0x12fa 88 if (eax != 0) then 84 @ 0x1312 else 117 @ 0x12fc
0x1250 89 r15 = r12
0x1253 90 r12 = r14
0x1256 91 r14 = rsp + 0x20 {var_b48}
0x125b 92 rdi = r14 {var_b48}
0x125e 93 rsi = rbx
0x1261 94 call(0x1040)
0x1266 95 rbp = rbx + 0x14
0x126a 96 rdi = rbx
0x126d 97 rsi = rbp
0x1270 98 call(0x1040)
0x1275 99 rdi = rbp
0x1278 100 rsi = r14 {var_b48}
0x127b 101 r14 = r12
0x127e 102 r12 = r15
0x1281 103 r15 = [rsp + 0x18 {var_b50_1}].q
0x1286 104 call(0x1040)
0x128b 105 xmm0 = zx.o([rsp + (r13 << 3) + 0x40].q)
0x1292 106 xmm1 = zx.o([rsp + (r13 << 3) + 0x48].q)
0x1299 107 [rsp + (r13 << 3) + 0x40].q = xmm1.q
0x12a0 108 [rsp + (r13 << 3) + 0x48].q = xmm0.q
0x12a0 109 goto 110 @ 0x12a7
0x12a7 110 r13 = r13 + 1
0x12ab 111 rbx = rbx + 0x14
0x12b2 112 if (r15 == r13) then 62 @ 0x1210 else 71 @ 0x12b8
0x1314 113 rdi = rbx + 0x14
0x1318 114 rsi = r14
0x131b 115 call(0x1060)
0x1322 116 if (eax != 0) then 110 @ 0x12a7 else 125 @ 0x1324
0x12fc 117 xmm0 = zx.o([rsp + (r13 << 3) + 0x40].q)
0x1303 118 flag:p = is_unordered.q(xmm0.q, fconvert.t([rsp + (r13 << 3) + 0x48].q))
0x1303 119 flag:c = xmm0.q f< fconvert.t([rsp + (r13 << 3) + 0x48].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + (r13 << 3) + 0x48].q))
0x1303 120 flag:z = xmm0.q f== fconvert.t([rsp + (r13 << 3) + 0x48].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + (r13 << 3) + 0x48].q))
0x1303 121 flag:s = 0
0x1303 122 flag:o = 0
0x1303 123 flag:a = 0
0x130a 124 if (not(flag:z) && not(flag:c)) then 89 @ 0x1250 else 84 @ 0x1312
0x1324 125 xmm0 = zx.o([rsp + (r13 << 3) + 0x48].q)
0x132b 126 flag:p = is_unordered.q(xmm0.q, fconvert.t([rsp + (r13 << 3) + 0x40].q))
0x132b 127 flag:c = xmm0.q f< fconvert.t([rsp + (r13 << 3) + 0x40].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + (r13 << 3) + 0x40].q))
0x132b 128 flag:z = xmm0.q f== fconvert.t([rsp + (r13 << 3) + 0x40].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + (r13 << 3) + 0x40].q))
0x132b 129 flag:s = 0
0x132b 130 flag:o = 0
0x132b 131 flag:a = 0
0x1332 132 if (not(flag:z) && not(flag:c)) then 89 @ 0x1250 else 133 @ 0x1338
0x1338 133 goto 110 @ 0x12a7
int64_t _fini():
0x13a8 0 rsp = rsp - 8
0x13ac 1 rsp = rsp + 8
0x13b0 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)
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 [rsp + 8 {var_9c80}].d = 0
0x1179 8 rdi = rsp + 0x10 {var_9c78}
0x117e 9 edx = 0x9c40 {""}
0x1183 10 esi = 0
0x1185 11 call(0x1040)
0x118a 12 rdi = 0x2006 {"%d"}
0x1191 13 rsi = rsp + 8 {var_9c80}
0x1196 14 eax = 0
0x1198 15 call(0x1050)
0x11a2 16 if ([rsp + 8 {var_9c80}].d s<= 0) then 17 @ 0x1365 else 25 @ 0x11a8
0x1365 17 rsp = rsp + 0x9c58
0x136c 18 rbx = pop
0x136d 19 r12 = pop
0x136f 20 r13 = pop
0x1371 21 r14 = pop
0x1373 22 r15 = pop
0x1375 23 rbp = pop
0x1376 24 <return> jump(pop)
0x11a8 25 rbx = 0x2006 {"%d"}
0x11af 26 r15d = 0
0x11b2 27 goto 28 @ 0x120b
0x120b 28 rdi = 0x2004 {"%d%d"}
0x1212 29 rsi = rsp + 0xc {var_9c7c}
0x1217 30 rdx = rsp + 4 {var_9c84}
0x121c 31 eax = 0
0x121e 32 call(0x1050)
0x1223 33 eax = [rsp + 0xc {var_9c7c}].d
0x1229 34 if (eax s<= 0) then 35 @ 0x12a0 else 40 @ 0x122b
0x12a0 35 r9 = sx.q([rsp + 4 {var_9c84}].d)
0x12a5 36 esi = 0
0x12a7 37 r10d = r9d
0x12aa 38 edx = 0
0x12b2 39 if (r9 s<= 0) then 43 @ 0x12cd else 45 @ 0x12b4
0x122b 40 rbp = rsp + 0x10 {var_9c78}
0x1230 41 r13d = 0
0x1233 42 goto 48 @ 0x125a
0x12cd 43 r8d = eax
0x12d2 44 if (eax s<= 0) then 49 @ 0x12f0 else 52 @ 0x12d4
0x12b4 45 ecx = 0
0x12b6 46 edx = 0
0x12b8 47 goto 56 @ 0x12c0
0x125a 48 if ([rsp + 4 {var_9c84}].d s<= 0) then 59 @ 0x1240 else 63 @ 0x125c
0x12f0 49 ebp = 0
0x12f2 50 ecx = 0
0x12fa 51 if (r9d s<= 0) then 66 @ 0x132f else 67 @ 0x12fc
0x12d4 52 rcx = r8 * 0x190
0x12db 53 edi = 0
0x12dd 54 esi = 0
0x12df 55 goto 75 @ 0x12e0
0x12c0 56 edx = edx + [rsp + (rcx << 2) + 0x10].d
0x12c4 57 rcx = rcx + 1
0x12cb 58 if (r10 != rcx) then 56 @ 0x12c0 else 43 @ 0x12cd
0x1240 59 r13 = r13 + 1
0x1244 60 rax = sx.q([rsp + 0xc {var_9c7c}].d)
0x1249 61 rbp = rbp + 0x190
0x1253 62 if (r13 s>= rax) then 35 @ 0x12a0 else 48 @ 0x125a
0x125c 63 r14 = rbp
0x125f 64 r12d = 0
0x126c 65 goto 78 @ 0x1270
0x132f 66 if (eax s<= 0) then 86 @ 0x11c0 else 104 @ 0x1335
0x12fc 67 ecx = (rax - 1).d
0x12ff 68 rcx = sx.q(ecx)
0x1302 69 rcx = rcx * 0x190
0x1309 70 r11 = rsp + rcx
0x130d 71 r11 = r11 + 0x10
0x1311 72 edi = 0
0x1313 73 ecx = 0
0x131f 74 goto 110 @ 0x1320
0x12e0 75 esi = esi + [rsp + rdi + 0x10].d
0x12e4 76 rdi = rdi + 0x190
0x12ee 77 if (rcx != rdi) then 75 @ 0x12e0 else 49 @ 0x12f0
0x1270 78 rdi = rbx
0x1273 79 rsi = r14
0x1276 80 eax = 0
0x1278 81 call(0x1050)
0x127d 82 r12 = r12 + 1
0x1281 83 rax = sx.q([rsp + 4 {var_9c84}].d)
0x1286 84 r14 = r14 + 4
0x128d 85 if (r12 s< rax) then 78 @ 0x1270 else 113 @ 0x128f
0x11c0 86 edi = [rsp + 0x10 {var_9c78}].d
0x11c4 87 eax = eax - 1
0x11c7 88 rax = sx.q(eax)
0x11c9 89 rax = rax * 0x190
0x11d0 90 r8 = rsp + rax
0x11d4 91 r8 = r8 + 0x10
0x11d8 92 esi = esi + edx
0x11da 93 esi = esi + ecx
0x11dc 94 edi = edi + [rsp + (r9 << 2) + 0xc].d
0x11e1 95 edi = edi + [rsp + rax + 0x10].d
0x11e5 96 esi = esi + ebp
0x11e7 97 edi = edi + [r8 + (r9 << 2) - 4].d
0x11ec 98 esi = esi - edi
0x11ee 99 rdi = 0x2009 {"%d\n"}
0x11f5 100 eax = 0
0x11f7 101 call(0x1030)
0x11fc 102 r15d = r15d + 1
0x1205 103 if (r15d s>= [rsp + 8 {var_9c80}].d) then 17 @ 0x1365 else 28 @ 0x120b
0x1335 104 r10 = rsp + (r9 << 2)
0x1339 105 r10 = r10 + 0xc
0x133d 106 r8 = r8 * 0x190
0x1344 107 edi = 0
0x1346 108 ebp = 0
0x1348 109 goto 114 @ 0x1350
0x1320 110 ecx = ecx + [r11 + (rdi << 2)].d
0x1324 111 rdi = rdi + 1
0x132b 112 if (r10 != rdi) then 110 @ 0x1320 else 66 @ 0x132f
0x128f 113 goto 59 @ 0x1240
0x1350 114 ebp = ebp + [r10 + rdi].d
0x1354 115 rdi = rdi + 0x190
0x135e 116 if (r8 != rdi) then 114 @ 0x1350 else 117 @ 0x1360
0x1360 117 goto 86 @ 0x11c0
int64_t _fini():
0x137c 0 rsp = rsp - 8
0x1380 1 rsp = rsp + 8
0x1384 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 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 {"UAWAVATSHH="}
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 - 0x10
0x116c 6 rdi = 0x2018 {"%d"}
0x1173 7 rsi = rsp + 0xc {var_2c}
0x1178 8 eax = 0
0x117a 9 call(0x1040)
0x1184 10 if ([rsp + 0xc {var_2c}].d s>= 5) then 11 @ 0x11a3 else 14 @ 0x1186
0x11a3 11 ebx = 3
0x11a8 12 r14 = 0x2021 {"%d %d\n"}
0x11af 13 goto 18 @ 0x11d0
0x1186 14 rdi = 0x201b {"empty"}
0x118d 15 eax = 0
0x118f 16 call(0x1030)
0x118f 17 goto 28 @ 0x1194
0x11d0 18 xmm2 = 0
0x11d3 19 xmm2.q = float.d(ebx)
0x11d7 20 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x11d7 21 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x11d7 22 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x11d7 23 flag:s = 0
0x11d7 24 flag:o = 0
0x11d7 25 flag:a = 0
0x11df 26 [rsp {var_38_1}].q = xmm2.q
0x11e4 27 if (flag:c) then 36 @ 0x11f0 else 40 @ 0x11e6
0x1194 28 eax = 0
0x1196 29 rsp = rsp + 0x10
0x119a 30 rbx = pop
0x119b 31 r12 = pop
0x119d 32 r14 = pop
0x119f 33 r15 = pop
0x11a1 34 rbp = pop
0x11a2 35 <return> jump(pop)
0x11f0 36 xmm0 = xmm2
0x11f4 37 call(0x1050)
0x11f9 38 xmm2 = zx.o([rsp {var_38_1}].q)
0x11f9 39 goto 43 @ 0x11fe
0x11e6 40 xmm0 = 0
0x11e9 41 xmm0 = _mm_sqrt_sd(xmm2.q)
0x11ed 42 goto 43 @ 0x11fe
0x11fe 43 r15d = ebx
0x1201 44 r15d = r15d & 1
0x1205 45 xmm1 = zx.o([0x2008].q)
0x120d 46 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x120d 47 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x120d 48 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x120d 49 flag:s = 0
0x120d 50 flag:o = 0
0x120d 51 flag:a = 0
0x1211 52 if (flag:c) then 53 @ 0x1278 else 60 @ 0x1213
0x1278 53 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x1278 54 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x1278 55 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x1278 56 flag:s = 0
0x1278 57 flag:o = 0
0x1278 58 flag:a = 0
0x1280 59 if (flag:c) then 62 @ 0x12a0 else 73 @ 0x1282
0x1213 60 xmm1 = zx.o([0x2008].q)
0x121e 61 if (r15d == 0) then 53 @ 0x1278 else 82 @ 0x1220
0x12a0 62 xmm0 = xmm2
0x12a4 63 [rsp {var_38_2}].q = xmm1.q
0x12a9 64 call(0x1050)
0x12ae 65 xmm1 = zx.o([rsp {var_38_2}].q)
0x12b3 66 flag:p = is_unordered.q(xmm1.q, xmm0.q)
0x12b3 67 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x12b3 68 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x12b3 69 flag:s = 0
0x12b3 70 flag:o = 0
0x12b3 71 flag:a = 0
0x12b7 72 if (flag:z || flag:c) then 84 @ 0x11c0 else 90 @ 0x12bd
0x1282 73 xmm0 = 0
0x1285 74 xmm0 = _mm_sqrt_sd(xmm2.q)
0x1289 75 flag:p = is_unordered.q(xmm1.q, xmm0.q)
0x1289 76 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1289 77 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1289 78 flag:s = 0
0x1289 79 flag:o = 0
0x1289 80 flag:a = 0
0x128d 81 if (flag:z || flag:c) then 84 @ 0x11c0 else 101 @ 0x1293
0x1220 82 ebp = 3
0x122f 83 goto 102 @ 0x1230
0x11c0 84 eax = (rbx + 1).d
0x11c3 85 ecx = [rsp + 0xc {var_2c}].d
0x11c7 86 ecx = ecx - 2
0x11ca 87 cond:0 = ebx s>= ecx
0x11cc 88 ebx = eax
0x11ce 89 if (cond:0) then 28 @ 0x1194 else 18 @ 0x11d0
0x12bd 90 r12d = (rbx + 2).d
0x12c1 91 xmm2 = 0
0x12c4 92 xmm2.q = float.d(r12d)
0x12c9 93 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x12c9 94 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x12c9 95 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x12c9 96 flag:s = 0
0x12c9 97 flag:o = 0
0x12c9 98 flag:a = 0
0x12d1 99 [rsp {var_38_3}].q = xmm2.q
0x12d6 100 if (flag:c) then 109 @ 0x12f0 else 120 @ 0x12d8
0x1293 101 goto 90 @ 0x12bd
0x1230 102 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x1230 103 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x1230 104 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x1230 105 flag:s = 0
0x1230 106 flag:o = 0
0x1230 107 flag:a = 0
0x1238 108 if (flag:c) then 130 @ 0x1250 else 142 @ 0x123a
0x12f0 109 xmm0 = xmm2
0x12f4 110 call(0x1050)
0x12f9 111 xmm2 = zx.o([rsp {var_38_3}].q)
0x12fe 112 xmm1 = zx.o([0x2008].q)
0x1306 113 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x1306 114 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1306 115 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1306 116 flag:s = 0
0x1306 117 flag:o = 0
0x1306 118 flag:a = 0
0x130a 119 if (flag:c) then 153 @ 0x1369 else 160 @ 0x130c
0x12d8 120 xmm0 = 0
0x12db 121 xmm0 = _mm_sqrt_sd(xmm2.q)
0x12df 122 xmm1 = zx.o([0x2008].q)
0x12e7 123 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x12e7 124 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x12e7 125 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x12e7 126 flag:s = 0
0x12e7 127 flag:o = 0
0x12e7 128 flag:a = 0
0x12eb 129 if (not(flag:c)) then 160 @ 0x130c else 162 @ 0x12ed
0x1250 130 xmm0 = xmm2
0x1254 131 call(0x1050)
0x1259 132 xmm2 = zx.o([rsp {var_38_1}].q)
0x125e 133 xmm1 = 0
0x1261 134 xmm1.q = float.d(ebp)
0x1265 135 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x1265 136 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1265 137 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1265 138 flag:s = 0
0x1265 139 flag:o = 0
0x1265 140 flag:a = 0
0x1269 141 if (flag:c) then 53 @ 0x1278 else 163 @ 0x126b
0x123a 142 xmm0 = 0
0x123d 143 xmm0 = _mm_sqrt_sd(xmm2.q)
0x1241 144 xmm1 = 0
0x1244 145 xmm1.q = float.d(ebp)
0x1248 146 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x1248 147 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1248 148 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1248 149 flag:s = 0
0x1248 150 flag:o = 0
0x1248 151 flag:a = 0
0x124c 152 if (not(flag:c)) then 163 @ 0x126b else 176 @ 0x124e
0x1369 153 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x1369 154 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x1369 155 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x1369 156 flag:s = 0
0x1369 157 flag:o = 0
0x1369 158 flag:a = 0
0x1371 159 if (flag:c) then 177 @ 0x1390 else 188 @ 0x1373
0x130c 160 xmm1 = zx.o([0x2008].q)
0x1317 161 if (r15d == 0) then 153 @ 0x1369 else 197 @ 0x1319
0x12ed 162 goto 153 @ 0x1369
0x126b 163 eax = ebx
0x126d 164 edx = 0
0x126f 165 temp2.d = ebp
0x126f 166 temp3.d = edx
0x126f 167 temp4.d = eax
0x126f 168 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d)
0x126f 169 temp5.d = edx
0x126f 170 temp6.d = eax
0x126f 171 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d)
0x126f 172 eax = temp0.d
0x126f 173 edx = temp1.d
0x1271 174 ebp = ebp + 1
0x1276 175 if (edx != 0) then 102 @ 0x1230 else 53 @ 0x1278
0x124e 176 goto 53 @ 0x1278
0x1390 177 xmm0 = xmm2
0x1394 178 [rsp {var_38_4}].q = xmm1.q
0x1399 179 call(0x1050)
0x139e 180 xmm1 = zx.o([rsp {var_38_4}].q)
0x13a3 181 flag:p = is_unordered.q(xmm1.q, xmm0.q)
0x13a3 182 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x13a3 183 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x13a3 184 flag:s = 0
0x13a3 185 flag:o = 0
0x13a3 186 flag:a = 0
0x13a7 187 if (flag:z || flag:c) then 84 @ 0x11c0 else 199 @ 0x13ad
0x1373 188 xmm0 = 0
0x1376 189 xmm0 = _mm_sqrt_sd(xmm2.q)
0x137a 190 flag:p = is_unordered.q(xmm1.q, xmm0.q)
0x137a 191 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x137a 192 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x137a 193 flag:s = 0
0x137a 194 flag:o = 0
0x137a 195 flag:a = 0
0x137e 196 if (flag:z || flag:c) then 84 @ 0x11c0 else 205 @ 0x1384
0x1319 197 ebp = 3
0x131e 198 goto 206 @ 0x1320
0x13ad 199 rdi = r14
0x13b0 200 esi = ebx
0x13b2 201 edx = r12d
0x13b5 202 eax = 0
0x13b7 203 call(0x1030)
0x13bc 204 goto 84 @ 0x11c0
0x1384 205 goto 199 @ 0x13ad
0x1320 206 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x1320 207 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x1320 208 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q))
0x1320 209 flag:s = 0
0x1320 210 flag:o = 0
0x1320 211 flag:a = 0
0x1328 212 if (flag:c) then 213 @ 0x1340 else 225 @ 0x132a
0x1340 213 xmm0 = xmm2
0x1344 214 call(0x1050)
0x1349 215 xmm2 = zx.o([rsp {var_38_3}].q)
0x134e 216 xmm1 = 0
0x1351 217 xmm1.q = float.d(ebp)
0x1355 218 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x1355 219 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1355 220 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1355 221 flag:s = 0
0x1355 222 flag:o = 0
0x1355 223 flag:a = 0
0x1359 224 if (flag:c) then 153 @ 0x1369 else 236 @ 0x135b
0x132a 225 xmm0 = 0
0x132d 226 xmm0 = _mm_sqrt_sd(xmm2.q)
0x1331 227 xmm1 = 0
0x1334 228 xmm1.q = float.d(ebp)
0x1338 229 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x1338 230 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1338 231 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1338 232 flag:s = 0
0x1338 233 flag:o = 0
0x1338 234 flag:a = 0
0x133c 235 if (not(flag:c)) then 236 @ 0x135b else 249 @ 0x133e
0x135b 236 eax = r12d
0x135e 237 edx = 0
0x1360 238 temp2.d = ebp
0x1360 239 temp7.d = edx
0x1360 240 temp8.d = eax
0x1360 241 temp0.d = divu.dp.d(temp7.d:temp8.d, temp2.d)
0x1360 242 temp9.d = edx
0x1360 243 temp10.d = eax
0x1360 244 temp1.d = modu.dp.d(temp9.d:temp10.d, temp2.d)
0x1360 245 eax = temp0.d
0x1360 246 edx = temp1.d
0x1362 247 ebp = ebp + 1
0x1367 248 if (edx != 0) then 206 @ 0x1320 else 153 @ 0x1369
0x133e 249 goto 153 @ 0x1369
int64_t _fini():
0x13c8 0 rsp = rsp - 8
0x13cc 1 rsp = rsp + 8
0x13d0 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
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 {"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 - 0x208
0x1171 7 r13 = rsp + 0x10 {var_228}
0x1176 8 rdi = r13 {var_228}
0x1179 9 eax = 0
0x117b 10 call(0x1040)
0x1180 11 rdi = r13 {var_228}
0x1183 12 call(0x1030)
0x118c 13 if (rax u>= 2) then 14 @ 0x11a2 else 17 @ 0x118e
0x11a2 14 ebp = 2
0x11a7 15 r12 = 0x100000000 {""}
0x11b1 16 goto 26 @ 0x11d9
0x118e 17 eax = 0
0x1190 18 rsp = rsp + 0x208
0x1197 19 rbx = pop
0x1198 20 r12 = pop
0x119a 21 r13 = pop
0x119c 22 r14 = pop
0x119e 23 r15 = pop
0x11a0 24 rbp = pop
0x11a1 25 <return> jump(pop)
0x11d9 26 rcx = r12
0x11dc 27 r14d = 0
0x11df 28 r15d = ebp
0x11e2 29 [rsp {var_238_1}].q = rbp
0x11e6 30 goto 31 @ 0x1218
0x1218 31 rax = sx.q(r15d)
0x121b 32 rax = rax - 1
0x121f 33 [rsp + 8 {var_230_1}].q = rcx
0x1224 34 rdx = r13
0x1227 35 goto 36 @ 0x1230
0x1230 36 esi = zx.d([rdx].b)
0x1233 37 ebx = zx.d([rsp + rax + 0x10].b)
0x123b 38 if (sil != bl) then 39 @ 0x1257 else 42 @ 0x123d
0x1257 39 cond:0 = sil != bl
0x125a 40 rdi = rsp + 0x10 {var_228}
0x125f 41 if (cond:0) then 50 @ 0x11f0 else 61 @ 0x1261
0x123d 42 rdi = rcx
0x1240 43 rdi = rdi s>> 0x20
0x1244 44 rdx = rdx + 1
0x1248 45 rcx = rcx + r12
0x124b 46 rbp = rax - 1
0x124f 47 cond:1 = rdi s< rax
0x1252 48 rax = rbp
0x1255 49 if (cond:1) then 36 @ 0x1230 else 39 @ 0x1257
0x11f0 50 rbx = r14 + 1
0x11f4 51 call(0x1030)
0x11f9 52 rbp = [rsp {var_238_1}].q
0x11fd 53 rax = rax - rbp
0x1200 54 r15d = r15d + 1
0x1204 55 r13 = r13 + 1
0x1208 56 rcx = [rsp + 8 {var_230_1}].q
0x120d 57 rcx = rcx + r12
0x1210 58 cond:2 = rax u<= r14
0x1213 59 r14 = rbx
0x1216 60 if (cond:2) then 65 @ 0x11c0 else 31 @ 0x1218
0x1261 61 rax = [rsp {var_238_1}].q
0x1265 62 rbx = r14 + rax
0x1269 63 rbp = r14
0x126c 64 goto 72 @ 0x1270
0x11c0 65 rbx = rbp + 1
0x11c4 66 r13 = rsp + 0x10 {var_228}
0x11c9 67 rdi = r13 {var_228}
0x11cc 68 call(0x1030)
0x11d1 69 cond:3 = rax u<= rbp
0x11d4 70 rbp = rbx
0x11d7 71 if (cond:3) then 17 @ 0x118e else 26 @ 0x11d9
0x1270 72 edi = sx.d([rsp + r14 + 0x10].b)
0x1276 73 call(0x1050)
0x127b 74 r14 = r14 + 1
0x1282 75 if (r14 u< rbx) then 72 @ 0x1270 else 76 @ 0x1284
0x1284 76 edi = 0xa {""}
0x1289 77 call(0x1050)
0x128e 78 rdi = rsp + 0x10 {var_228}
0x1293 79 r14 = rbp
0x1296 80 goto 50 @ 0x11f0
int64_t _fini():
0x12a0 0 rsp = rsp - 8
0x12a4 1 rsp = rsp + 8
0x12a8 2 <return> jump(pop)
| POJ_49 |
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 {"AVSHL5"}
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(r14)
0x1152 1 push(rbx)
0x1153 2 rsp = rsp - 0x18
0x1157 3 r14 = 0x2130 {"%d%d%d"}
0x115e 4 ebx = 0
0x1160 5 rsi = rsp + 0x14 {var_14}
0x1165 6 rdx = rsp + 0x10 {var_18}
0x116a 7 rcx = rsp + 4 {var_24}
0x116f 8 rdi = r14
0x1172 9 eax = 0
0x1174 10 call(0x1040)
0x1179 11 rsi = rsp + 0xc {var_1c}
0x117e 12 rdx = rsp + 8 {var_20}
0x1183 13 rcx = rsp {var_28}
0x1186 14 rdi = r14
0x1189 15 eax = 0
0x118b 16 call(0x1040)
0x1190 17 r8d = [rsp + 0x14 {var_14}].d
0x1195 18 r10d = [rsp + 0xc {var_1c}].d
0x119a 19 esi = r10d
0x119d 20 temp0.d = esi
0x119d 21 esi = esi - r8d
0x11a0 22 if (temp0.d == r8d) then 23 @ 0x13e9 else 30 @ 0x11a9
0x13e9 23 al = (r8b & 3) == 0
0x13ec 24 ecx = r8d * -0x3d70a3d7
0x13f3 25 ecx = ecx + 0x51eb850
0x13f9 26 ecx = ror.d(ecx, 2)
0x1402 27 cl = ecx u>= 0x28f5c29
0x1405 28 edx = [rsp + 0x10 {var_18}].d
0x140b 29 if ((al & cl) != 0) then 31 @ 0x144c else 33 @ 0x140d
0x11a9 30 if (esi u>= 4) then 43 @ 0x11b5 else 58 @ 0x11ab
0x144c 31 ecx = 0
0x1451 32 if (edx s< 2) then 61 @ 0x168c else 69 @ 0x1457
0x140d 33 rax = sx.q(r8d)
0x1410 34 rax = rax * 0x51eb851f
0x1417 35 rcx = rax
0x141a 36 rcx = rcx u>> 0x3f
0x141e 37 rax = rax s>> 0x27
0x1422 38 eax = eax + ecx
0x1424 39 eax = eax * 0x190
0x142a 40 temp1.d = r8d
0x142a 41 r8d = r8d - eax
0x142d 42 if (temp1.d == eax) then 31 @ 0x144c else 71 @ 0x142f
0x11b5 43 ecx = esi
0x11b7 44 ecx = ecx & 0xfffffffc
0x11ba 45 xmm0 = r8d
0x11bf 46 xmm13 = _mm_shuffle_epi32(xmm0, 0x50)
0x11c5 47 xmm13 = __paddd_xmmdq_memdq(xmm13, [0x2010].o)
0x11ce 48 edx = (r8 + rcx).d
0x11d2 49 xmm6 = [0x2060].o
0x11d9 50 xmm12 = [0x2090].o
0x11e2 51 xmm14 = _mm_cmpeq_epi32(xmm14, xmm14)
0x11e7 52 xmm2 = [0x20a0].o
0x11ef 53 xmm4 = [0x20b0].o
0x11f7 54 ebx = ecx
0x11f9 55 xmm7 = 0
0x11fd 56 xmm1 = 0
0x120b 57 goto 73 @ 0x1210
0x11ab 58 ebx = 0
0x11ad 59 edx = r8d
0x11b0 60 goto 146 @ 0x13a3
0x168c 61 ecx = ecx + [rsp + 4 {var_24}].d
0x1694 62 al = (r10b & 3) == 0
0x1697 63 edx = r10d * -0x3d70a3d7
0x169e 64 edx = edx + 0x51eb850
0x16a4 65 edx = ror.d(edx, 2)
0x16ad 66 dl = edx u>= 0x28f5c29
0x16b0 67 r11d = [rsp + 8 {var_20}].d
0x16b7 68 if ((al & dl) != 0) then 162 @ 0x16fb else 164 @ 0x16b9
0x1457 69 edx = edx - 1
0x145d 70 if (edx u>= 8) then 174 @ 0x149b else 183 @ 0x145f
0x142f 71 ecx = 0
0x1434 72 if (edx s< 2) then 61 @ 0x168c else 186 @ 0x143a
0x1210 73 xmm9 = _mm_shuffle_epi32(xmm13, 0xd4)
0x1216 74 xmm5 = xmm9
0x121b 75 xmm3 = [0x2020].o
0x1223 76 xmm5 = xmm5 & xmm3
0x1227 77 xmm0 = 0
0x122b 78 xmm5 = _mm_cmpeq_epi32(xmm5, xmm0)
0x122f 79 xmm9 = __paddd_xmmdq_memdq(xmm9, [0x2030].o)
0x1238 80 xmm9 = xmm9 & xmm3
0x123d 81 xmm9 = _mm_cmpeq_epi32(xmm9, xmm0)
0x1242 82 xmm0 = xmm13
0x1247 83 xmm3 = [0x2040].o
0x124f 84 xmm0 = _mm_mul_epu32(xmm0, xmm3)
0x1253 85 xmm11 = _mm_shuffle_epi32(xmm0, 0xe8)
0x1259 86 xmm0 = _mm_shuffle_epi32(xmm13, 0xf5)
0x125f 87 xmm0 = _mm_mul_epu32(xmm0, xmm3)
0x1263 88 xmm0 = _mm_shuffle_epi32(xmm0, 0xe8)
0x1268 89 xmm11 = _mm_unpacklo_epi32(xmm11, xmm0.q)
0x126d 90 xmm15 = xmm11
0x1272 91 xmm15 = __paddd_xmmdq_memdq(xmm15, [0x2050].o)
0x127b 92 xmm0 = xmm15
0x1280 93 xmm0 = _mm_srli_epi32(xmm0, 2)
0x1285 94 xmm10 = xmm15
0x128a 95 xmm10 = _mm_slli_epi32(xmm10, 0x1e)
0x1290 96 xmm10 = xmm10 | xmm0
0x1295 97 xmm10 = _mm_shuffle_ps(xmm10, xmm15, 0xe4)
0x129a 98 xmm10 = _mm_shuffle_ps(xmm10, xmm10, 0xd4)
0x129f 99 xmm10 = xmm10 ^ xmm6
0x12a3 100 xmm3 = [0x2070].o
0x12ab 101 xmm10 = _mm_cmpgt_epi32(xmm10, xmm3)
0x12b0 102 xmm10 = xmm10 & xmm5
0x12b5 103 xmm11 = __paddd_xmmdq_memdq(xmm11, [0x2080].o)
0x12be 104 xmm0 = xmm11
0x12c3 105 xmm0 = _mm_srli_epi32(xmm0, 2)
0x12c8 106 xmm8 = xmm11
0x12cd 107 xmm8 = _mm_slli_epi32(xmm8, 0x1e)
0x12d3 108 xmm8 = xmm8 | xmm0
0x12d8 109 xmm8 = _mm_shuffle_ps(xmm8, xmm11, 0xe4)
0x12dd 110 xmm8 = _mm_shuffle_ps(xmm8, xmm8, 0xd4)
0x12e2 111 xmm8 = xmm8 ^ xmm6
0x12e6 112 xmm8 = _mm_cmpgt_epi32(xmm8, xmm3)
0x12eb 113 xmm8 = xmm8 & xmm9
0x12f0 114 xmm0 = xmm15
0x12f5 115 xmm0 = _mm_srli_epi32(xmm0, 4)
0x12fa 116 xmm5 = xmm15
0x12ff 117 xmm5 = _mm_slli_epi32(xmm5, 0x1c)
0x1304 118 xmm5 = xmm5 | xmm0
0x1308 119 xmm5 = _mm_shuffle_ps(xmm5, xmm15, 0xe4)
0x130d 120 xmm5 = _mm_shuffle_ps(xmm5, xmm5, 0xd4)
0x1311 121 xmm5 = xmm5 ^ xmm6
0x1314 122 xmm5 = _mm_cmpgt_epi32(xmm5, xmm12)
0x1319 123 xmm5 = xmm5 ^ xmm14
0x131e 124 xmm5 = xmm5 | xmm10
0x1323 125 xmm0 = xmm11
0x1328 126 xmm0 = _mm_srli_epi32(xmm0, 4)
0x132d 127 xmm3 = xmm11
0x1332 128 xmm3 = _mm_slli_epi32(xmm3, 0x1c)
0x1337 129 xmm3 = xmm3 | xmm0
0x133b 130 xmm3 = _mm_shuffle_ps(xmm3, xmm11, 0xe4)
0x1340 131 xmm3 = _mm_shuffle_ps(xmm3, xmm3, 0xd4)
0x1344 132 xmm3 = xmm3 ^ xmm6
0x1347 133 xmm3 = _mm_cmpgt_epi32(xmm3, xmm12)
0x134c 134 xmm3 = xmm3 ^ xmm14
0x1351 135 xmm3 = xmm3 | xmm8
0x1356 136 xmm5 = xmm5 & xmm2
0x135a 137 xmm7 = _mm_add_epi64(xmm7, xmm4)
0x135e 138 xmm7 = _mm_add_epi64(xmm7, xmm5)
0x1362 139 xmm3 = xmm3 & xmm2
0x1366 140 xmm1 = _mm_add_epi64(xmm1, xmm4)
0x136a 141 xmm1 = _mm_add_epi64(xmm1, xmm3)
0x136e 142 xmm13 = __paddd_xmmdq_memdq(xmm13, [0x20c0].o)
0x1377 143 temp2.d = ebx
0x1377 144 ebx = ebx - 4
0x137a 145 if (temp2.d != 4) then 73 @ 0x1210 else 188 @ 0x1380
0x13a3 146 cl = (dl & 3) == 0
0x13a6 147 edi = edx * -0x3d70a3d7
0x13ac 148 edi = edi + 0x51eb850
0x13b2 149 esi = edi
0x13b4 150 esi = ror.d(esi, 2)
0x13bd 151 al = esi u>= 0x28f5c29
0x13c0 152 edi = ror.d(edi, 4)
0x13c3 153 al = al & cl
0x13c5 154 flag:c = edi u< 0xa3d70b
0x13cb 155 cl = flag:c
0x13ce 156 cl = cl | al
0x13d0 157 eax = zx.d(cl)
0x13d3 158 rbx = rbx + rax
0x13d6 159 rbx = rbx + 0x16d
0x13dd 160 edx = edx + 1
0x13e3 161 if (r10d != edx) then 146 @ 0x13a3 else 23 @ 0x13e9
0x16fb 162 esi = 0
0x1701 163 if (r11d s< 2) then 193 @ 0x193c else 206 @ 0x1707
0x16b9 164 rax = sx.q(r10d)
0x16bc 165 rax = rax * 0x51eb851f
0x16c3 166 rdx = rax
0x16c6 167 rdx = rdx u>> 0x3f
0x16ca 168 rax = rax s>> 0x27
0x16ce 169 eax = eax + edx
0x16d0 170 eax = eax * 0x190
0x16d6 171 temp3.d = r10d
0x16d6 172 r10d = r10d - eax
0x16d9 173 if (temp3.d == eax) then 162 @ 0x16fb else 208 @ 0x16db
0x149b 174 r8d = edx
0x149e 175 r8d = r8d & 0xfffffff8
0x14a2 176 rax = r8 - 8
0x14a6 177 rcx = rax
0x14a9 178 rcx = rcx u>> 3
0x14ad 179 rcx = rcx + 1
0x14b1 180 r9d = ecx
0x14b4 181 r9d = r9d & 3
0x14bc 182 if (rax u>= 0x18) then 210 @ 0x15b1 else 216 @ 0x14c2
0x145f 183 r8d = 0
0x1462 184 ecx = 0
0x1464 185 goto 220 @ 0x1663
0x143a 186 edx = edx - 1
0x1440 187 if (edx u>= 8) then 225 @ 0x1469 else 234 @ 0x1442
0x1380 188 xmm1 = _mm_add_epi64(xmm1, xmm7)
0x1384 189 xmm0 = _mm_shuffle_epi32(xmm1, 0xee)
0x1389 190 xmm0 = _mm_add_epi64(xmm0, xmm1)
0x138d 191 rbx = xmm0.q
0x1394 192 if (esi == ecx) then 23 @ 0x13e9 else 237 @ 0x1396
0x193c 193 esi = esi + [rsp {var_28}].d
0x193f 194 rax = sx.q(ecx)
0x1942 195 rbx = rbx - rax
0x1945 196 rsi = sx.q(esi)
0x1948 197 rsi = rsi + rbx
0x194b 198 rdi = 0x2137 {"%ld\n"}
0x1952 199 eax = 0
0x1954 200 call(0x1030)
0x1959 201 eax = 0
0x195b 202 rsp = rsp + 0x18
0x195f 203 rbx = pop
0x1960 204 r14 = pop
0x1962 205 <return> jump(pop)
0x1707 206 r11d = r11d - 1
0x170f 207 if (r11d u>= 8) then 238 @ 0x174d else 247 @ 0x1711
0x16db 208 esi = 0
0x16e1 209 if (r11d s< 2) then 193 @ 0x193c else 250 @ 0x16e7
0x15b1 210 rcx = rcx & 0xfffffffffffffffc
0x15b5 211 xmm0 = 0
0x15b9 212 edi = 0
0x15bb 213 rsi = 0x2100 {""}
0x15c2 214 xmm1 = 0
0x15c6 215 goto 252 @ 0x15d0
0x14c2 216 xmm0 = 0
0x14c6 217 edi = 0
0x14c8 218 xmm1 = 0
0x14cc 219 goto 264 @ 0x160c
0x1663 220 rax = 0x2100 {""}
0x166a 221 rsi = rax + (r8 << 2)
0x166e 222 rdx = rdx - r8
0x1671 223 edi = 0
0x167d 224 goto 265 @ 0x1680
0x1469 225 r8d = edx
0x146c 226 r8d = r8d & 0xfffffff8
0x1470 227 rax = r8 - 8
0x1474 228 rcx = rax
0x1477 229 rcx = rcx u>> 3
0x147b 230 rcx = rcx + 1
0x147f 231 r9d = ecx
0x1482 232 r9d = r9d & 3
0x148a 233 if (rax u>= 0x18) then 268 @ 0x14d1 else 274 @ 0x148c
0x1442 234 r8d = 0
0x1445 235 ecx = 0
0x1447 236 goto 278 @ 0x1587
0x1396 237 goto 146 @ 0x13a3
0x174d 238 r8d = r11d
0x1750 239 r8d = r8d & 0xfffffff8
0x1754 240 rax = r8 - 8
0x1758 241 rsi = rax
0x175b 242 rsi = rsi u>> 3
0x175f 243 rsi = rsi + 1
0x1763 244 r9d = esi
0x1766 245 r9d = r9d & 3
0x176e 246 if (rax u>= 0x18) then 283 @ 0x1861 else 289 @ 0x1774
0x1711 247 r8d = 0
0x1714 248 esi = 0
0x1716 249 goto 293 @ 0x1913
0x16e7 250 r11d = r11d - 1
0x16ef 251 if (r11d u>= 8) then 298 @ 0x171b else 307 @ 0x16f1
0x15d0 252 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsi + (rdi << 2)].o)
0x15d5 253 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsi + (rdi << 2) + 0x10].o)
0x15db 254 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsi + (rdi << 2) + 0x20].o)
0x15e1 255 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsi + (rdi << 2) + 0x30].o)
0x15e7 256 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsi + (rdi << 2) + 0x40].o)
0x15ed 257 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsi + (rdi << 2) + 0x50].o)
0x15f3 258 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsi + (rdi << 2) + 0x60].o)
0x15f9 259 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsi + (rdi << 2) + 0x70].o)
0x15ff 260 rdi = rdi + 0x20
0x1603 261 temp4.q = rcx
0x1603 262 rcx = rcx - 4
0x1607 263 if (temp4.q != 4) then 252 @ 0x15d0 else 264 @ 0x160c
0x160c 264 if (r9 == 0) then 310 @ 0x1644 else 317 @ 0x160e
0x1680 265 ecx = ecx + [rsi + (rdi << 2)].d
0x1683 266 rdi = rdi + 1
0x168a 267 if (rdx != rdi) then 265 @ 0x1680 else 61 @ 0x168c
0x14d1 268 rcx = rcx & 0xfffffffffffffffc
0x14d5 269 xmm0 = 0
0x14d9 270 edi = 0
0x14db 271 rsi = 0x20d0 {""}
0x14e2 272 xmm1 = 0
0x14e6 273 goto 323 @ 0x14f0
0x148c 274 xmm0 = 0
0x1490 275 edi = 0
0x1492 276 xmm1 = 0
0x1496 277 goto 335 @ 0x152c
0x1587 278 rax = 0x20d0 {""}
0x158e 279 rsi = rax + (r8 << 2)
0x1592 280 rdx = rdx - r8
0x1595 281 edi = 0
0x1597 282 goto 336 @ 0x15a0
0x1861 283 rsi = rsi & 0xfffffffffffffffc
0x1865 284 xmm0 = 0
0x1869 285 edi = 0
0x186b 286 rax = 0x2100 {""}
0x1872 287 xmm1 = 0
0x1876 288 goto 339 @ 0x1880
0x1774 289 xmm0 = 0
0x1778 290 edi = 0
0x177a 291 xmm1 = 0
0x177e 292 goto 351 @ 0x18bc
0x1913 293 rax = 0x2100 {""}
0x191a 294 rax = rax + (r8 << 2)
0x191e 295 r11 = r11 - r8
0x1921 296 edi = 0
0x192d 297 goto 352 @ 0x1930
0x171b 298 r8d = r11d
0x171e 299 r8d = r8d & 0xfffffff8
0x1722 300 rax = r8 - 8
0x1726 301 rsi = rax
0x1729 302 rsi = rsi u>> 3
0x172d 303 rsi = rsi + 1
0x1731 304 r9d = esi
0x1734 305 r9d = r9d & 3
0x173c 306 if (rax u>= 0x18) then 355 @ 0x1783 else 361 @ 0x173e
0x16f1 307 r8d = 0
0x16f4 308 esi = 0
0x16f6 309 goto 365 @ 0x1837
0x1644 310 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x1648 311 xmm1 = _mm_shuffle_epi32(xmm0, 0xee)
0x164d 312 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x1651 313 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x1656 314 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x165a 315 ecx = xmm0.d
0x1661 316 if (r8 == rdx) then 61 @ 0x168c else 220 @ 0x1663
0x160e 317 rax = 0x2100 {""}
0x1615 318 rcx = rax + (rdi << 2)
0x1619 319 rcx = rcx + 0x10
0x161d 320 r9 = r9 << 5
0x1621 321 esi = 0
0x162d 322 goto 370 @ 0x1630
0x14f0 323 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsi + (rdi << 2)].o)
0x14f5 324 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsi + (rdi << 2) + 0x10].o)
0x14fb 325 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsi + (rdi << 2) + 0x20].o)
0x1501 326 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsi + (rdi << 2) + 0x30].o)
0x1507 327 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsi + (rdi << 2) + 0x40].o)
0x150d 328 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsi + (rdi << 2) + 0x50].o)
0x1513 329 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsi + (rdi << 2) + 0x60].o)
0x1519 330 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsi + (rdi << 2) + 0x70].o)
0x151f 331 rdi = rdi + 0x20
0x1523 332 temp5.q = rcx
0x1523 333 rcx = rcx - 4
0x1527 334 if (temp5.q != 4) then 323 @ 0x14f0 else 335 @ 0x152c
0x152c 335 if (r9 == 0) then 374 @ 0x1564 else 381 @ 0x152e
0x15a0 336 ecx = ecx + [rsi + (rdi << 2)].d
0x15a3 337 rdi = rdi + 1
0x15aa 338 if (rdx != rdi) then 336 @ 0x15a0 else 387 @ 0x15ac
0x1880 339 xmm0 = __paddd_xmmdq_memdq(xmm0, [rax + (rdi << 2)].o)
0x1885 340 xmm1 = __paddd_xmmdq_memdq(xmm1, [rax + (rdi << 2) + 0x10].o)
0x188b 341 xmm0 = __paddd_xmmdq_memdq(xmm0, [rax + (rdi << 2) + 0x20].o)
0x1891 342 xmm1 = __paddd_xmmdq_memdq(xmm1, [rax + (rdi << 2) + 0x30].o)
0x1897 343 xmm0 = __paddd_xmmdq_memdq(xmm0, [rax + (rdi << 2) + 0x40].o)
0x189d 344 xmm1 = __paddd_xmmdq_memdq(xmm1, [rax + (rdi << 2) + 0x50].o)
0x18a3 345 xmm0 = __paddd_xmmdq_memdq(xmm0, [rax + (rdi << 2) + 0x60].o)
0x18a9 346 xmm1 = __paddd_xmmdq_memdq(xmm1, [rax + (rdi << 2) + 0x70].o)
0x18af 347 rdi = rdi + 0x20
0x18b3 348 temp6.q = rsi
0x18b3 349 rsi = rsi - 4
0x18b7 350 if (temp6.q != 4) then 339 @ 0x1880 else 351 @ 0x18bc
0x18bc 351 if (r9 == 0) then 388 @ 0x18f4 else 395 @ 0x18be
0x1930 352 esi = esi + [rax + (rdi << 2)].d
0x1933 353 rdi = rdi + 1
0x193a 354 if (r11 != rdi) then 352 @ 0x1930 else 193 @ 0x193c
0x1783 355 rsi = rsi & 0xfffffffffffffffc
0x1787 356 xmm0 = 0
0x178b 357 edi = 0
0x178d 358 rax = 0x20d0 {""}
0x1794 359 xmm1 = 0
0x1798 360 goto 401 @ 0x17a0
0x173e 361 xmm0 = 0
0x1742 362 edi = 0
0x1744 363 xmm1 = 0
0x1748 364 goto 413 @ 0x17dc
0x1837 365 rax = 0x20d0 {""}
0x183e 366 rax = rax + (r8 << 2)
0x1842 367 r11 = r11 - r8
0x1845 368 edi = 0
0x1847 369 goto 414 @ 0x1850
0x1630 370 xmm0 = __paddd_xmmdq_memdq(xmm0, [rcx + rsi - 0x10].o)
0x1636 371 xmm1 = __paddd_xmmdq_memdq(xmm1, [rcx + rsi].o)
0x163b 372 rsi = rsi + 0x20
0x1642 373 if (r9 != rsi) then 370 @ 0x1630 else 310 @ 0x1644
0x1564 374 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x1568 375 xmm1 = _mm_shuffle_epi32(xmm0, 0xee)
0x156d 376 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x1571 377 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x1576 378 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x157a 379 ecx = xmm0.d
0x1581 380 if (r8 == rdx) then 61 @ 0x168c else 278 @ 0x1587
0x152e 381 rax = 0x20d0 {""}
0x1535 382 rcx = rax + (rdi << 2)
0x1539 383 rcx = rcx + 0x10
0x153d 384 r9 = r9 << 5
0x1541 385 esi = 0
0x154d 386 goto 417 @ 0x1550
0x15ac 387 goto 61 @ 0x168c
0x18f4 388 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x18f8 389 xmm1 = _mm_shuffle_epi32(xmm0, 0xee)
0x18fd 390 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x1901 391 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x1906 392 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x190a 393 esi = xmm0.d
0x1911 394 if (r8 == r11) then 193 @ 0x193c else 293 @ 0x1913
0x18be 395 rax = 0x2100 {""}
0x18c5 396 rax = rax + (rdi << 2)
0x18c9 397 rax = rax + 0x10
0x18cd 398 r9 = r9 << 5
0x18d1 399 esi = 0
0x18dd 400 goto 421 @ 0x18e0
0x17a0 401 xmm0 = __paddd_xmmdq_memdq(xmm0, [rax + (rdi << 2)].o)
0x17a5 402 xmm1 = __paddd_xmmdq_memdq(xmm1, [rax + (rdi << 2) + 0x10].o)
0x17ab 403 xmm0 = __paddd_xmmdq_memdq(xmm0, [rax + (rdi << 2) + 0x20].o)
0x17b1 404 xmm1 = __paddd_xmmdq_memdq(xmm1, [rax + (rdi << 2) + 0x30].o)
0x17b7 405 xmm0 = __paddd_xmmdq_memdq(xmm0, [rax + (rdi << 2) + 0x40].o)
0x17bd 406 xmm1 = __paddd_xmmdq_memdq(xmm1, [rax + (rdi << 2) + 0x50].o)
0x17c3 407 xmm0 = __paddd_xmmdq_memdq(xmm0, [rax + (rdi << 2) + 0x60].o)
0x17c9 408 xmm1 = __paddd_xmmdq_memdq(xmm1, [rax + (rdi << 2) + 0x70].o)
0x17cf 409 rdi = rdi + 0x20
0x17d3 410 temp7.q = rsi
0x17d3 411 rsi = rsi - 4
0x17d7 412 if (temp7.q != 4) then 401 @ 0x17a0 else 413 @ 0x17dc
0x17dc 413 if (r9 == 0) then 425 @ 0x1814 else 432 @ 0x17de
0x1850 414 esi = esi + [rax + (rdi << 2)].d
0x1853 415 rdi = rdi + 1
0x185a 416 if (r11 != rdi) then 414 @ 0x1850 else 438 @ 0x185c
0x1550 417 xmm0 = __paddd_xmmdq_memdq(xmm0, [rcx + rsi - 0x10].o)
0x1556 418 xmm1 = __paddd_xmmdq_memdq(xmm1, [rcx + rsi].o)
0x155b 419 rsi = rsi + 0x20
0x1562 420 if (r9 != rsi) then 417 @ 0x1550 else 374 @ 0x1564
0x18e0 421 xmm0 = __paddd_xmmdq_memdq(xmm0, [rax + rsi - 0x10].o)
0x18e6 422 xmm1 = __paddd_xmmdq_memdq(xmm1, [rax + rsi].o)
0x18eb 423 rsi = rsi + 0x20
0x18f2 424 if (r9 != rsi) then 421 @ 0x18e0 else 388 @ 0x18f4
0x1814 425 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x1818 426 xmm1 = _mm_shuffle_epi32(xmm0, 0xee)
0x181d 427 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x1821 428 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x1826 429 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x182a 430 esi = xmm0.d
0x1831 431 if (r8 == r11) then 193 @ 0x193c else 365 @ 0x1837
0x17de 432 rax = 0x20d0 {""}
0x17e5 433 rax = rax + (rdi << 2)
0x17e9 434 rax = rax + 0x10
0x17ed 435 r9 = r9 << 5
0x17f1 436 esi = 0
0x17fd 437 goto 439 @ 0x1800
0x185c 438 goto 193 @ 0x193c
0x1800 439 xmm0 = __paddd_xmmdq_memdq(xmm0, [rax + rsi - 0x10].o)
0x1806 440 xmm1 = __paddd_xmmdq_memdq(xmm1, [rax + rsi].o)
0x180b 441 rsi = rsi + 0x20
0x1812 442 if (r9 != rsi) then 439 @ 0x1800 else 425 @ 0x1814
int64_t _fini():
0x1968 0 rsp = rsp - 8
0x196c 1 rsp = rsp + 8
0x1970 2 <return> jump(pop)
| POJ_80 |
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 {"UHH4"}
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 - 0x34d0
0x116b 3 [rbp - 4 {var_c}].d = 0
0x1172 4 [rbp - 0x10 {var_18}].d = 0
0x1179 5 rdi = rbp - 0x5f0 {var_5f8}
0x1180 6 al = 0
0x1182 7 call(0x1050)
0x1187 8 rdi = rbp - 0x5f0 {var_5f8}
0x118e 9 call(0x1040)
0x1193 10 [rbp - 8 {var_10}].d = eax
0x1196 11 [rbp - 0xc {var_14}].d = 0
0x1196 12 goto 13 @ 0x119d
0x119d 13 eax = [rbp - 0xc {var_14}].d
0x11a3 14 if (eax s>= [rbp - 8 {var_10}].d) then 15 @ 0x11ec else 16 @ 0x11a9
0x11ec 15 if ([rbp - 0x10 {var_18}].d == 0) then 19 @ 0x1345 else 20 @ 0x11f2
0x11a9 16 rax = sx.q([rbp - 0xc {var_14}].d)
0x11ad 17 eax = sx.d([rbp + rax - 0x5f0].b)
0x11b8 18 if (eax != 0x20) then 22 @ 0x11d5 else 23 @ 0x11be
0x1345 19 if ([rbp - 0x10 {var_18}].d != 0) then 30 @ 0x135c else 34 @ 0x134b
0x11f2 20 [rbp - 0xc {var_14_1}].d = 0
0x11f2 21 goto 39 @ 0x11f9
0x11d5 22 goto 41 @ 0x11da
0x11be 23 ecx = [rbp - 0xc {var_14}].d
0x11c1 24 rax = sx.q([rbp - 0x10 {var_18}].d)
0x11c5 25 [rbp + (rax << 2) - 0x1d60].d = ecx
0x11cc 26 eax = [rbp - 0x10 {var_18}].d
0x11cf 27 eax = eax + 1
0x11d2 28 [rbp - 0x10 {var_18}].d = eax
0x11d2 29 goto 22 @ 0x11d5
0x135c 30 eax = 0
0x135e 31 rsp = rsp + 0x34d0
0x1365 32 rbp = pop
0x1366 33 <return> jump(pop)
0x134b 34 esi = [rbp - 8 {var_10}].d
0x134e 35 rdi = 0x2004 {"%d"}
0x1355 36 al = 0
0x1357 37 call(0x1030)
0x1357 38 goto 30 @ 0x135c
0x11f9 39 eax = [rbp - 0xc {var_14_1}].d
0x11ff 40 if (eax s>= [rbp - 0x10 {var_18}].d) then 45 @ 0x125d else 55 @ 0x1209
0x11da 41 eax = [rbp - 0xc {var_14}].d
0x11dd 42 eax = eax + 1
0x11e0 43 [rbp - 0xc {var_14}].d = eax
0x11e3 44 goto 13 @ 0x119d
0x125d 45 ecx = [rbp - 8 {var_10}].d
0x1260 46 ecx = ecx - 1
0x1263 47 eax = [rbp - 0x10 {var_18}].d
0x1266 48 eax = eax - 1
0x1269 49 rax = sx.q(eax)
0x126b 50 ecx = ecx - [rbp + (rax << 2) - 0x1d60].d
0x1272 51 rax = sx.q([rbp - 0x10 {var_18}].d)
0x1276 52 [rbp + (rax << 2) - 0x34d0].d = ecx
0x127d 53 [rbp - 0xc {var_14_2}].d = 0
0x127d 54 goto 56 @ 0x1284
0x1209 55 if ([rbp - 0xc {var_14_1}].d != 0) then 58 @ 0x1225 else 67 @ 0x120f
0x1284 56 eax = [rbp - 0xc {var_14_2}].d
0x128a 57 if (eax s> [rbp - 0x10 {var_18}].d) then 71 @ 0x133c else 72 @ 0x1290
0x1225 58 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x1229 59 ecx = [rbp + (rax << 2) - 0x1d60].d
0x1230 60 eax = [rbp - 0xc {var_14_1}].d
0x1233 61 eax = eax - 1
0x1236 62 rax = sx.q(eax)
0x1238 63 ecx = ecx - [rbp + (rax << 2) - 0x1d60].d
0x123f 64 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x1243 65 [rbp + (rax << 2) - 0x34d0].d = ecx
0x1243 66 goto 74 @ 0x124a
0x120f 67 ecx = [rbp - 0x1d60 {var_1d68}].d
0x1215 68 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x1219 69 [rbp + (rax << 2) - 0x34d0].d = ecx
0x1220 70 goto 74 @ 0x124a
0x133c 71 goto 19 @ 0x1345
0x1290 72 rax = sx.q([rbp - 0xc {var_14_2}].d)
0x129c 73 if ([rbp + (rax << 2) - 0x34d0].d != 1) then 75 @ 0x12b1 else 77 @ 0x12a6
0x124a 74 goto 78 @ 0x124f
0x12b1 75 eax = [rbp - 0xc {var_14_2}].d
0x12b7 76 if (eax != [rbp - 0x10 {var_18}].d) then 82 @ 0x12df else 83 @ 0x12bd
0x12a6 77 if ([rbp - 0xc {var_14_2}].d == 0) then 75 @ 0x12b1 else 89 @ 0x12ac
0x124f 78 eax = [rbp - 0xc {var_14_1}].d
0x1252 79 eax = eax + 1
0x1255 80 [rbp - 0xc {var_14_1}].d = eax
0x1258 81 goto 39 @ 0x11f9
0x12df 82 if ([rbp - 0xc {var_14_2}].d != 0) then 90 @ 0x1303 else 97 @ 0x12e5
0x12bd 83 rax = sx.q([rbp - 0xc {var_14_2}].d)
0x12c1 84 esi = [rbp + (rax << 2) - 0x34d0].d
0x12c8 85 rdi = 0x2004 {"%d"}
0x12cf 86 al = 0
0x12d1 87 call(0x1030)
0x12d6 88 goto 103 @ 0x1324
0x12ac 89 goto 104 @ 0x132e
0x1303 90 rax = sx.q([rbp - 0xc {var_14_2}].d)
0x1307 91 esi = [rbp + (rax << 2) - 0x34d0].d
0x130e 92 esi = esi - 1
0x1311 93 rdi = 0x2007 {"%d,"}
0x1318 94 al = 0
0x131a 95 call(0x1030)
0x131a 96 goto 108 @ 0x131f
0x12e5 97 rax = sx.q([rbp - 0xc {var_14_2}].d)
0x12e9 98 esi = [rbp + (rax << 2) - 0x34d0].d
0x12f0 99 rdi = 0x2007 {"%d,"}
0x12f7 100 al = 0
0x12f9 101 call(0x1030)
0x12fe 102 goto 108 @ 0x131f
0x1324 103 goto 109 @ 0x1329
0x132e 104 eax = [rbp - 0xc {var_14_2}].d
0x1331 105 eax = eax + 1
0x1334 106 [rbp - 0xc {var_14_2}].d = eax
0x1337 107 goto 56 @ 0x1284
0x131f 108 goto 103 @ 0x1324
0x1329 109 goto 104 @ 0x132e
int64_t _fini():
0x136c 0 rsp = rsp - 8
0x1370 1 rsp = rsp + 8
0x1374 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 __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 {"UHAWAVAUATSHH="}
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 push(r15)
0x1156 3 push(r14)
0x1158 4 push(r13)
0x115a 5 push(r12)
0x115c 6 push(rbx)
0x115d 7 rsp = rsp - 0x18
0x1161 8 rdi = 0x2010 {"%d"}
0x1168 9 rsi = rbp - 0x2c {var_34}
0x116c 10 eax = 0
0x116e 11 call(0x1040)
0x1173 12 [rbp - 0x40 {var_48}].q = rsp {var_48}
0x1177 13 eax = [rbp - 0x2c {var_34}].d
0x117a 14 rcx = rsp {var_48}
0x117d 15 rax = (rax << 2) + 0xf
0x1185 16 rax = rax & 0xfffffffffffffff0
0x1189 17 rcx = rcx - rax
0x118c 18 [rbp - 0x38 {var_40}].q = rcx
0x1190 19 rsp = rcx
0x1193 20 eax = [rbp - 0x2c {var_34}].d
0x1196 21 r15 = rsp
0x1199 22 rcx = (rax << 2) + 0xf
0x11a1 23 rcx = rcx & 0xfffffffffffffff0
0x11a5 24 r15 = r15 - rcx
0x11a8 25 rsp = r15
0x11ab 26 r13 = rsp
0x11ae 27 rcx = (rax << 3) + 0xf
0x11b6 28 rcx = rcx & 0xfffffffffffffff0
0x11ba 29 r13 = r13 - rcx
0x11bd 30 rsp = r13
0x11c2 31 if (eax s<= 0) then 32 @ 0x11fe else 34 @ 0x11c4
0x11fe 32 ecx = [rbp - 0x2c {var_34}].d
0x1203 33 if (ecx s<= 0) then 38 @ 0x123e else 40 @ 0x1205
0x11c4 34 r14 = 0x2013 {"%d "}
0x11cb 35 rbx = [rbp - 0x38 {var_40}].q
0x11cf 36 r12d = 0
0x11dc 37 goto 44 @ 0x11e0
0x123e 38 eax = ecx
0x1242 39 if (ecx s<= 0) then 52 @ 0x134e else 53 @ 0x1248
0x1205 40 r14 = 0x2013 {"%d "}
0x120c 41 r12 = r15
0x120f 42 ebx = 0
0x121b 43 goto 63 @ 0x1220
0x11e0 44 rdi = r14
0x11e3 45 rsi = rbx
0x11e6 46 eax = 0
0x11e8 47 call(0x1040)
0x11ed 48 r12 = r12 + 1
0x11f1 49 rax = sx.q([rbp - 0x2c {var_34}].d)
0x11f5 50 rbx = rbx + 4
0x11fc 51 if (r12 s< rax) then 44 @ 0x11e0 else 32 @ 0x11fe
0x134e 52 if (ecx s<= 0) then 71 @ 0x138a else 73 @ 0x1350
0x1248 53 edx = 0
0x124a 54 rsi = 0x4010000000000000 {""}
0x1254 55 rdi = 0x400d99999999999a {""}
0x125e 56 r12 = 0x400a666666666666 {""}
0x1268 57 r8 = 0x4008000000000000 {""}
0x1272 58 r9 = 0x400599999999999a {""}
0x127c 59 r10 = 0x4002666666666666 {""}
0x1286 60 r11 = 0x4000000000000000 {""}
0x1290 61 rbx = 0x3ff8000000000000 {""}
0x129a 62 goto 78 @ 0x12b2
0x1220 63 rdi = r14
0x1223 64 rsi = r12
0x1226 65 eax = 0
0x1228 66 call(0x1040)
0x122d 67 rbx = rbx + 1
0x1231 68 rcx = sx.q([rbp - 0x2c {var_34}].d)
0x1235 69 r12 = r12 + 4
0x123c 70 if (rbx s< rcx) then 63 @ 0x1220 else 38 @ 0x123e
0x138a 71 xmm0 = zx.o([0x2008].q)
0x138a 72 goto 80 @ 0x1392
0x1350 73 xmm1 = _mm_xor_pd(xmm1, xmm1)
0x1354 74 ecx = 0
0x1356 75 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x135a 76 rdx = [rbp - 0x38 {var_40}].q
0x135e 77 goto 93 @ 0x1360
0x12b2 78 r14d = [r15 + (rdx << 2)].d
0x12ba 79 if (r14d s>= 0x5a) then 101 @ 0x12a0 else 103 @ 0x12c0
0x1392 80 rdi = 0x2017 {"%.2lf"}
0x1399 81 al = 1
0x139b 82 call(0x1030)
0x13a0 83 rsp = [rbp - 0x40 {var_48}].q
0x13a4 84 eax = 0
0x13a6 85 rsp = rbp - 0x28
0x13aa 86 rbx = pop
0x13ab 87 r12 = pop
0x13ad 88 r13 = pop
0x13af 89 r14 = pop
0x13b1 90 r15 = pop
0x13b3 91 rbp = pop
0x13b4 92 <return> jump(pop)
0x1360 93 xmm2 = 0
0x1363 94 xmm2.q = float.d([rdx + (rcx << 2)].d)
0x1368 95 xmm3 = zx.o([r13 + (rcx << 3)].q)
0x136f 96 xmm3.q = xmm3.q f* xmm2.q
0x1373 97 xmm0.q = xmm0.q f+ xmm3.q
0x1377 98 xmm1.q = xmm1.q f+ xmm2.q
0x137b 99 rcx = rcx + 1
0x1382 100 if (rax != rcx) then 93 @ 0x1360 else 104 @ 0x1384
0x12a0 101 [r13 + (rdx << 3)].q = rsi
0x12a0 102 goto 106 @ 0x12a5
0x12c0 103 if (r14d s< 0x55) then 108 @ 0x12d4 else 109 @ 0x12c2
0x1384 104 xmm0.q = xmm0.q f/ xmm1.q
0x1388 105 goto 80 @ 0x1392
0x12a5 106 rdx = rdx + 1
0x12ac 107 if (rax == rdx) then 52 @ 0x134e else 78 @ 0x12b2
0x12d4 108 if (r14d s< 0x52) then 111 @ 0x12e1 else 112 @ 0x12d6
0x12c2 109 [r13 + (rdx << 3)].q = rdi
0x12c7 110 goto 106 @ 0x12a5
0x12e1 111 if (r14d s< 0x4e) then 114 @ 0x12ee else 115 @ 0x12e3
0x12d6 112 [r13 + (rdx << 3)].q = r12
0x12db 113 goto 106 @ 0x12a5
0x12ee 114 if (r14d s< 0x4b) then 117 @ 0x12fb else 118 @ 0x12f0
0x12e3 115 [r13 + (rdx << 3)].q = r8
0x12e8 116 goto 106 @ 0x12a5
0x12fb 117 if (r14d s< 0x48) then 120 @ 0x1308 else 121 @ 0x12fd
0x12f0 118 [r13 + (rdx << 3)].q = r9
0x12f5 119 goto 106 @ 0x12a5
0x1308 120 if (r14d s< 0x44) then 123 @ 0x1315 else 124 @ 0x130a
0x12fd 121 [r13 + (rdx << 3)].q = r10
0x1302 122 goto 106 @ 0x12a5
0x1315 123 if (r14d s< 0x40) then 126 @ 0x1322 else 127 @ 0x1317
0x130a 124 [r13 + (rdx << 3)].q = r11
0x130f 125 goto 106 @ 0x12a5
0x1322 126 if (r14d s< 0x3c) then 129 @ 0x133e else 131 @ 0x1324
0x1317 127 [r13 + (rdx << 3)].q = rbx
0x131c 128 goto 106 @ 0x12a5
0x133e 129 [r13 + (rdx << 3)].q = 0
0x1347 130 goto 106 @ 0x12a5
0x1324 131 r14 = rbx
0x1327 132 rbx = 0x3ff0000000000000 {""}
0x1331 133 [r13 + (rdx << 3)].q = rbx
0x1336 134 rbx = r14
0x1339 135 goto 106 @ 0x12a5
int64_t _fini():
0x13bc 0 rsp = rsp - 8
0x13c0 1 rsp = rsp + 8
0x13c4 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)
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 {"%s"}
0x1168 8 r15d = 0
0x116b 9 rsi = rsp {var_238}
0x116e 10 eax = 0
0x1170 11 call(0x1040)
0x1179 12 if ([rsp {var_238}].b == 0) then 13 @ 0x118c else 15 @ 0x117b
0x118c 13 r12d = r15d
0x1192 14 if (r15d == 0) then 17 @ 0x11b8 else 18 @ 0x1194
0x117b 15 r15d = 0
0x117e 16 goto 20 @ 0x1180
0x11b8 17 if (r15d u<= 8) then 23 @ 0x135f else 24 @ 0x11be
0x1194 18 eax = 0
0x1196 19 goto 45 @ 0x11a0
0x1180 20 cond:0 = [rsp + r15 + 1].b != 0
0x1186 21 r15 = r15 + 1
0x118a 22 if (cond:0) then 20 @ 0x1180 else 13 @ 0x118c
0x135f 23 if (r15d == 0) then 50 @ 0x138b else 52 @ 0x1361
0x11be 24 eax = [rsp + 0x70 {var_1c8}].d * 0x64
0x11c3 25 ecx = [rsp + 0x74 {var_1c4}].d
0x11c7 26 ecx = (rcx + (rcx << 2)).d
0x11ca 27 eax = (rax + (rcx << 1)).d
0x11cd 28 eax = eax + [rsp + 0x78 {var_1c0}].d
0x11d1 29 r13 = sx.q(eax)
0x11d4 30 rsi = r13 * 0x4ec4ec4f
0x11db 31 rax = rsi
0x11de 32 rax = rax u>> 0x3f
0x11e2 33 rsi = rsi s>> 0x22
0x11e6 34 esi = esi + eax
0x11e8 35 eax = (rsi + (rsi << 1)).d
0x11eb 36 eax = (rsi + (rax << 2)).d
0x11ee 37 r13d = r13d - eax
0x11f1 38 rdi = 0x2010 {"%d"}
0x11f8 39 eax = 0
0x11fa 40 call(0x1030)
0x11ff 41 ebx = 6
0x1204 42 rbp = 0x2008 {"0%d"}
0x120b 43 r14 = 0x2007 {"00%d"}
0x121c 44 goto 56 @ 0x1220
0x11a0 45 ecx = sx.d([rsp + rax].b)
0x11a4 46 ecx = ecx - 0x30
0x11a7 47 [rsp + (rax << 2) + 0x70].d = ecx
0x11ab 48 rax = rax + 1
0x11b2 49 if (r12 != rax) then 45 @ 0x11a0 else 17 @ 0x11b8
0x138b 50 eax = 0
0x138b 51 goto 76 @ 0x138d
0x1361 52 r12 = r12 + 1
0x1365 53 ecx = 1
0x136a 54 eax = 0
0x136c 55 goto 89 @ 0x1370
0x1220 56 eax = [rsp + (rbx << 2) + 0x64].d * 0x64
0x1225 57 ecx = [rsp + (rbx << 2) + 0x68].d
0x1229 58 ecx = (rcx + (rcx << 2)).d
0x122c 59 edx = r13d * 0x3e8
0x1233 60 edx = edx + eax
0x1235 61 eax = (rdx + (rcx << 1)).d
0x1238 62 eax = eax + [rsp + (rbx << 2) + 0x6c].d
0x123c 63 rax = sx.q(eax)
0x123e 64 rsi = rax * 0x4ec4ec4f
0x1245 65 rcx = rsi
0x1248 66 rcx = rcx u>> 0x3f
0x124c 67 rsi = rsi s>> 0x22
0x1250 68 esi = esi + ecx
0x1252 69 ecx = (rsi + (rsi << 1)).d
0x1255 70 ecx = (rsi + (rcx << 2)).d
0x1258 71 r13d = eax
0x125b 72 r13d = r13d - ecx
0x125e 73 cond:1 = eax s>= 0x82
0x1263 74 rdi = r14
0x1266 75 if (cond:1) then 96 else 98 @ 0x126a
0x138d 76 rdx = sx.q(eax)
0x1390 77 rsi = rdx * 0x4ec4ec4f
0x1397 78 rax = rsi
0x139a 79 rax = rax u>> 0x3f
0x139e 80 rsi = rsi s>> 0x22
0x13a2 81 esi = esi + eax
0x13a4 82 eax = (rsi + (rsi << 1)).d
0x13a7 83 eax = (rsi + (rax << 2)).d
0x13aa 84 edx = edx - eax
0x13ac 85 rdi = 0x200d {"%d\n%d"}
0x13b3 86 eax = 0
0x13b5 87 call(0x1030)
0x13b5 88 goto 101 @ 0x13ba
0x1370 89 edx = [rsp + (r12 << 2) + 0x68].d
0x1375 90 edx = edx * ecx
0x1378 91 eax = eax + edx
0x137a 92 ecx = ecx + ecx
0x137c 93 ecx = (rcx + (rcx << 2)).d
0x137f 94 r12 = r12 - 1
0x1387 95 if (r12 s> 1) then 89 @ 0x1370 else 110 @ 0x1389
0x1266 96 rdi = rbp
0x1266 97 goto 98 @ 0x126a
0x126a 98 cond:2 = eax s>= 0x514
0x126f 99 rax = 0x2010 {"%d"}
0x1276 100 if (cond:2) then 111 else 113 @ 0x127a
0x13ba 101 eax = 0
0x13bc 102 rsp = rsp + 0x208
0x13c3 103 rbx = pop
0x13c4 104 r12 = pop
0x13c6 105 r13 = pop
0x13c8 106 r14 = pop
0x13ca 107 r15 = pop
0x13cc 108 rbp = pop
0x13cd 109 <return> jump(pop)
0x1389 110 goto 76 @ 0x138d
0x1276 111 rdi = rax
0x1276 112 goto 113 @ 0x127a
0x127a 113 eax = 0
0x127c 114 call(0x1030)
0x1281 115 rbx = rbx + 3
0x1288 116 if (rbx u<= r12) then 56 @ 0x1220 else 117 @ 0x128a
0x128a 117 r14d = r15d
0x128d 118 r14d = neg.d(r14d)
0x1290 119 r14 = r14 + rbx
0x1297 120 if (r14d != 1) then 121 @ 0x12f8 else 123 @ 0x1299
0x12f8 121 ebx = ebx - r15d
0x12fe 122 if (ebx != 2) then 145 @ 0x1347 else 146 @ 0x1300
0x1299 123 eax = (r15 - 2).d
0x129d 124 ecx = r13d * 0x64
0x12a1 125 rax = sx.q(eax)
0x12a3 126 eax = [rsp + (rax << 2) + 0x70].d
0x12a7 127 eax = (rax + (rax << 2)).d
0x12aa 128 eax = (rcx + (rax << 1)).d
0x12ad 129 ecx = (r15 - 1).d
0x12b1 130 eax = eax + [rsp + (rcx << 2) + 0x70].d
0x12b5 131 rax = sx.q(eax)
0x12b7 132 rsi = rax * 0x4ec4ec4f
0x12be 133 rcx = rsi
0x12c1 134 rcx = rcx u>> 0x3f
0x12c5 135 rsi = rsi s>> 0x22
0x12c9 136 esi = esi + ecx
0x12cb 137 ecx = (rsi + (rsi << 1)).d
0x12ce 138 ecx = (rsi + (rcx << 2)).d
0x12d1 139 r13d = eax
0x12d4 140 r13d = r13d - ecx
0x12d7 141 cond:3 = eax s>= 0x82
0x12dc 142 rax = 0x200d {"%d\n%d"}
0x12e3 143 rdi = 0x200c {"0%d\n%d"}
0x12ea 144 if (cond:3) then 165 else 167 @ 0x12ee
0x1347 145 if (r14d != 3) then 101 @ 0x13ba else 171 @ 0x1349
0x1300 146 r15d = r15d - 1
0x1304 147 eax = (r13 + (r13 << 2)).d
0x1309 148 eax = eax + eax
0x130b 149 rcx = sx.q(r15d)
0x130e 150 eax = eax + [rsp + (rcx << 2) + 0x70].d
0x1312 151 r13 = sx.q(eax)
0x1315 152 rsi = r13 * 0x4ec4ec4f
0x131c 153 rax = rsi
0x131f 154 rax = rax u>> 0x3f
0x1323 155 rsi = rsi s>> 0x22
0x1327 156 esi = esi + eax
0x1329 157 eax = (rsi + (rsi << 1)).d
0x132c 158 eax = (rsi + (rax << 2)).d
0x132f 159 r13d = r13d - eax
0x1332 160 rdi = 0x200d {"%d\n%d"}
0x1339 161 edx = r13d
0x133c 162 eax = 0
0x133e 163 call(0x1030)
0x133e 164 goto 145 @ 0x1347
0x12ea 165 rdi = rax
0x12ea 166 goto 167 @ 0x12ee
0x12ee 167 edx = r13d
0x12f1 168 eax = 0
0x12f3 169 call(0x1030)
0x12f3 170 goto 121 @ 0x12f8
0x1349 171 rdi = 0x200f {"\n%d"}
0x1350 172 esi = r13d
0x1353 173 eax = 0
0x1355 174 call(0x1030)
0x135a 175 goto 101 @ 0x13ba
int64_t _fini():
0x13d4 0 rsp = rsp - 8
0x13d8 1 rsp = rsp + 8
0x13dc 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)
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 - 0x927e0
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 rdi = 0x2004 {"%d"}
0x1169 5 rsi = rbp - 8 {var_10}
0x116d 6 al = 0
0x116f 7 call(0x1040)
0x1174 8 [rbp - 0x927d4 {var_927dc}].d = 0
0x1174 9 goto 10 @ 0x117e
0x117e 10 eax = [rbp - 0x927d4 {var_927dc}].d
0x1187 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x11c7 else 14 @ 0x118d
0x11c7 12 [rbp - 0x927d4 {var_927dc_1}].d = 0
0x11c7 13 goto 25 @ 0x11d1
0x118d 14 rax = sx.q([rbp - 0x927d4 {var_927dc}].d)
0x1194 15 rsi = rbp - 0x493f0 {var_493f8}
0x119b 16 rax = rax * 0x12c
0x11a2 17 rsi = rsi + rax
0x11a5 18 rdi = 0x2007 {"%s"}
0x11ac 19 al = 0
0x11ae 20 call(0x1040)
0x11b3 21 eax = [rbp - 0x927d4 {var_927dc}].d
0x11b9 22 eax = eax + 1
0x11bc 23 [rbp - 0x927d4 {var_927dc}].d = eax
0x11c2 24 goto 10 @ 0x117e
0x11d1 25 eax = [rbp - 0x927d4 {var_927dc_1}].d
0x11da 26 if (eax s>= [rbp - 8 {var_10}].d) then 27 @ 0x13e5 else 29 @ 0x11e0
0x13e5 27 [rbp - 0x927d4 {var_927dc_2}].d = 0
0x13e5 28 goto 32 @ 0x13ef
0x11e0 29 [rbp - 0x927d8 {var_927e0_1}].d = 0
0x11ea 30 [rbp - 0x927dc {var_927e4_1}].d = 0
0x11ea 31 goto 34 @ 0x11f4
0x13ef 32 eax = [rbp - 0x927d4 {var_927dc_2}].d
0x13f8 33 if (eax s>= [rbp - 8 {var_10}].d) then 40 @ 0x1438 else 44 @ 0x13fe
0x11f4 34 rcx = sx.q([rbp - 0x927d4 {var_927dc_1}].d)
0x11fb 35 rax = rbp - 0x493f0 {var_493f8}
0x1202 36 rcx = rcx * 0x12c
0x1209 37 rax = rax + rcx
0x120c 38 rcx = sx.q([rbp - 0x927d8 {var_927e0_1}].d)
0x1217 39 if ([rax + rcx].b == 0) then 55 @ 0x13ae else 65 @ 0x121d
0x1438 40 eax = 0
0x143a 41 rsp = rsp + 0x927e0
0x1441 42 rbp = pop
0x1442 43 <return> jump(pop)
0x13fe 44 rax = sx.q([rbp - 0x927d4 {var_927dc_2}].d)
0x1405 45 rsi = rbp - 0x927d0 {var_927d8}
0x140c 46 rax = rax * 0x12c
0x1413 47 rsi = rsi + rax
0x1416 48 rdi = 0x200a {"%s\n"}
0x141d 49 al = 0
0x141f 50 call(0x1030)
0x1424 51 eax = [rbp - 0x927d4 {var_927dc_2}].d
0x142a 52 eax = eax + 1
0x142d 53 [rbp - 0x927d4 {var_927dc_2}].d = eax
0x1433 54 goto 32 @ 0x13ef
0x13ae 55 rcx = sx.q([rbp - 0x927d4 {var_927dc_1}].d)
0x13b5 56 rax = rbp - 0x927d0 {var_927d8}
0x13bc 57 rcx = rcx * 0x12c
0x13c3 58 rax = rax + rcx
0x13c6 59 rcx = sx.q([rbp - 0x927dc {var_927e4_1}].d)
0x13cd 60 [rax + rcx].b = 0
0x13d1 61 eax = [rbp - 0x927d4 {var_927dc_1}].d
0x13d7 62 eax = eax + 1
0x13da 63 [rbp - 0x927d4 {var_927dc_1}].d = eax
0x13e0 64 goto 25 @ 0x11d1
0x121d 65 rcx = sx.q([rbp - 0x927d4 {var_927dc_1}].d)
0x1224 66 rax = rbp - 0x493f0 {var_493f8}
0x122b 67 rcx = rcx * 0x12c
0x1232 68 rax = rax + rcx
0x1235 69 rcx = sx.q([rbp - 0x927d8 {var_927e0_1}].d)
0x123c 70 eax = sx.d([rax + rcx].b)
0x1243 71 if (eax != 0x41) then 72 @ 0x127b else 79 @ 0x1249
0x127b 72 rcx = sx.q([rbp - 0x927d4 {var_927dc_1}].d)
0x1282 73 rax = rbp - 0x493f0 {var_493f8}
0x1289 74 rcx = rcx * 0x12c
0x1290 75 rax = rax + rcx
0x1293 76 rcx = sx.q([rbp - 0x927d8 {var_927e0_1}].d)
0x129a 77 eax = sx.d([rax + rcx].b)
0x12a1 78 if (eax != 0x54) then 89 @ 0x12d9 else 96 @ 0x12a7
0x1249 79 rcx = sx.q([rbp - 0x927d4 {var_927dc_1}].d)
0x1250 80 rax = rbp - 0x927d0 {var_927d8}
0x1257 81 rcx = rcx * 0x12c
0x125e 82 rax = rax + rcx
0x1261 83 rcx = sx.q([rbp - 0x927dc {var_927e4_1}].d)
0x1268 84 [rax + rcx].b = 0x54 {""}
0x126c 85 eax = [rbp - 0x927dc {var_927e4_1}].d
0x1272 86 eax = eax + 1
0x1275 87 [rbp - 0x927dc {var_927e4_1}].d = eax
0x1275 88 goto 72 @ 0x127b
0x12d9 89 rcx = sx.q([rbp - 0x927d4 {var_927dc_1}].d)
0x12e0 90 rax = rbp - 0x493f0 {var_493f8}
0x12e7 91 rcx = rcx * 0x12c
0x12ee 92 rax = rax + rcx
0x12f1 93 rcx = sx.q([rbp - 0x927d8 {var_927e0_1}].d)
0x12f8 94 eax = sx.d([rax + rcx].b)
0x12ff 95 if (eax != 0x43) then 106 @ 0x1337 else 113 @ 0x1305
0x12a7 96 rcx = sx.q([rbp - 0x927d4 {var_927dc_1}].d)
0x12ae 97 rax = rbp - 0x927d0 {var_927d8}
0x12b5 98 rcx = rcx * 0x12c
0x12bc 99 rax = rax + rcx
0x12bf 100 rcx = sx.q([rbp - 0x927dc {var_927e4_1}].d)
0x12c6 101 [rax + rcx].b = 0x41 {""}
0x12ca 102 eax = [rbp - 0x927dc {var_927e4_1}].d
0x12d0 103 eax = eax + 1
0x12d3 104 [rbp - 0x927dc {var_927e4_1}].d = eax
0x12d3 105 goto 89 @ 0x12d9
0x1337 106 rcx = sx.q([rbp - 0x927d4 {var_927dc_1}].d)
0x133e 107 rax = rbp - 0x493f0 {var_493f8}
0x1345 108 rcx = rcx * 0x12c
0x134c 109 rax = rax + rcx
0x134f 110 rcx = sx.q([rbp - 0x927d8 {var_927e0_1}].d)
0x1356 111 eax = sx.d([rax + rcx].b)
0x135d 112 if (eax != 0x47) then 123 @ 0x1395 else 124 @ 0x1363
0x1305 113 rcx = sx.q([rbp - 0x927d4 {var_927dc_1}].d)
0x130c 114 rax = rbp - 0x927d0 {var_927d8}
0x1313 115 rcx = rcx * 0x12c
0x131a 116 rax = rax + rcx
0x131d 117 rcx = sx.q([rbp - 0x927dc {var_927e4_1}].d)
0x1324 118 [rax + rcx].b = 0x47 {""}
0x1328 119 eax = [rbp - 0x927dc {var_927e4_1}].d
0x132e 120 eax = eax + 1
0x1331 121 [rbp - 0x927dc {var_927e4_1}].d = eax
0x1331 122 goto 106 @ 0x1337
0x1395 123 goto 134 @ 0x139a
0x1363 124 rcx = sx.q([rbp - 0x927d4 {var_927dc_1}].d)
0x136a 125 rax = rbp - 0x927d0 {var_927d8}
0x1371 126 rcx = rcx * 0x12c
0x1378 127 rax = rax + rcx
0x137b 128 rcx = sx.q([rbp - 0x927dc {var_927e4_1}].d)
0x1382 129 [rax + rcx].b = 0x43 {""}
0x1386 130 eax = [rbp - 0x927dc {var_927e4_1}].d
0x138c 131 eax = eax + 1
0x138f 132 [rbp - 0x927dc {var_927e4_1}].d = eax
0x138f 133 goto 123 @ 0x1395
0x139a 134 eax = [rbp - 0x927d8 {var_927e0_1}].d
0x13a0 135 eax = eax + 1
0x13a3 136 [rbp - 0x927d8 {var_927e0_1}].d = eax
0x13a9 137 goto 34 @ 0x11f4
int64_t _fini():
0x1448 0 rsp = rsp - 8
0x144c 1 rsp = rsp + 8
0x1450 2 <return> jump(pop)
| POJ_33 |
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 calloc(uint64_t n, uint64_t elem_size):
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 {"UAWAVAUATSHd"}
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 edi = 0x64 {""}
0x1173 8 esi = 0x190 {""}
0x1178 9 call(0x1050)
0x117d 10 r13 = rax
0x1180 11 rdi = 0x2004 {"%d %d"}
0x1187 12 r12d = 0
0x118a 13 rsi = rsp {var_48}
0x118d 14 rdx = rsp + 4 {var_44}
0x1192 15 eax = 0
0x1194 16 call(0x1040)
0x1199 17 eax = [rsp {var_48}].d
0x119c 18 ecx = [rsp + 4 {var_44}].d
0x11a0 19 cond:0 = eax s<= 0
0x11a2 20 [rsp + 8 {var_40}].q = r13
0x11a7 21 if (cond:0) then 22 @ 0x1206 else 23 @ 0x11ab
0x1206 22 if (ecx s<= 0) then 24 @ 0x127c else 28 @ 0x1208
0x11ab 23 if (ecx s<= 0) then 24 @ 0x127c else 33 @ 0x11b1
0x127c 24 ecx = ecx - 1
0x127f 25 cond:1 = r12d != ecx
0x1282 26 r14 = [rsp + 8 {var_40}].q
0x1287 27 if (cond:1) then 36 @ 0x1315 else 45 @ 0x1290
0x1208 28 r14d = 1
0x120e 29 rbx = 0x200a {"%d\n"}
0x1215 30 r13 = [rsp + 8 {var_40}].q
0x121a 31 eax = 0
0x121c 32 goto 46 @ 0x123c
0x11b1 33 r15 = 0x2007 {"%d"}
0x11b8 34 r14d = 0
0x11bb 35 goto 51 @ 0x11d5
0x1315 36 eax = 0
0x1317 37 rsp = rsp + 0x18
0x131b 38 rbx = pop
0x131c 39 r12 = pop
0x131e 40 r13 = pop
0x1320 41 r14 = pop
0x1322 42 r15 = pop
0x1324 43 rbp = pop
0x1325 44 <return> jump(pop)
0x1290 45 if (eax s< 2) then 36 @ 0x1315 else 52 @ 0x1296
0x123c 46 [rsp + 0x10 {var_38_1}].q = rax
0x1241 47 rbp = r13
0x1244 48 r12d = 0
0x1247 49 r15 = r14
0x124a 50 goto 56 @ 0x1261
0x11d5 51 if (ecx s<= 0) then 58 @ 0x11c0 else 62 @ 0x11d7
0x1296 52 r14 = r14 + 0x18c
0x129d 53 r12d = 1
0x12a3 54 r15 = 0x200a {"%d\n"}
0x12aa 55 goto 65 @ 0x12c3
0x1261 56 rax = sx.q([rsp {var_48}].d)
0x1268 57 if (r12 s>= rax) then 67 @ 0x1250 else 72 @ 0x126a
0x11c0 58 r14 = r14 + 1
0x11c4 59 rdx = sx.q(eax)
0x11c7 60 r13 = r13 + 0x190
0x11d1 61 if (r14 s>= rdx) then 22 @ 0x1206 else 51 @ 0x11d5
0x11d7 62 rbx = r13
0x11da 63 ebp = 0
0x11dc 64 goto 77 @ 0x11e0
0x12c3 65 rcx = sx.q(eax)
0x12c9 66 if (r12 s>= rcx) then 85 @ 0x12b3 else 88 @ 0x12cb
0x1250 67 r12 = r12 + 1
0x1254 68 rbp = rbp + 0x18c
0x125b 69 temp0.q = r15
0x125b 70 r15 = r15 - 1
0x125f 71 if (temp0.q s<= 1) then 92 @ 0x1220 else 56 @ 0x1261
0x126a 72 esi = [rbp].d
0x126d 73 rdi = rbx
0x1270 74 eax = 0
0x1272 75 call(0x1030)
0x1277 76 goto 67 @ 0x1250
0x11e0 77 rdi = r15
0x11e3 78 rsi = rbx
0x11e6 79 eax = 0
0x11e8 80 call(0x1040)
0x11ed 81 rbp = rbp + 1
0x11f1 82 rcx = sx.q([rsp + 4 {var_44}].d)
0x11f6 83 rbx = rbx + 4
0x11fd 84 if (rbp s< rcx) then 77 @ 0x11e0 else 98 @ 0x11ff
0x12b3 85 r12 = r12 + 1
0x12b7 86 r14 = r14 + 0x190
0x12c1 87 if (r12 s>= rcx) then 36 @ 0x1315 else 65 @ 0x12c3
0x12cb 88 ebp = 0xffffffff {""}
0x12d0 89 ebx = r12d
0x12d3 90 r13 = r14
0x12d6 91 goto 100 @ 0x12f1
0x1220 92 rcx = sx.q([rsp + 4 {var_44}].d)
0x1225 93 r12 = [rsp + 0x10 {var_38_1}].q
0x122a 94 rax = r12 + 1
0x122f 95 r14 = r14 + 1
0x1233 96 r13 = r13 + 4
0x123a 97 if (rax s>= rcx) then 103 @ 0x1279 else 46 @ 0x123c
0x11ff 98 eax = [rsp {var_48}].d
0x1202 99 goto 58 @ 0x11c0
0x12f1 100 rcx = sx.q([rsp + 4 {var_44}].d)
0x12f6 101 edx = (rcx + rbp).d
0x12fb 102 if (edx s>= ecx) then 105 @ 0x12e0 else 109 @ 0x12ff
0x1279 103 eax = [rsp {var_48}].d
0x1279 104 goto 24 @ 0x127c
0x12e0 105 ebp = ebp - 1
0x12e3 106 r13 = r13 + 0x18c
0x12ea 107 ebx = ebx + 1
0x12ef 108 if (eax s<= ebx) then 110 @ 0x12b0 else 100 @ 0x12f1
0x12ff 109 if (edx s< 0) then 105 @ 0x12e0 else 112 @ 0x1301
0x12b0 110 rcx = sx.q(eax)
0x12b0 111 goto 85 @ 0x12b3
0x1301 112 esi = [r13 + (rcx << 2)].d
0x1306 113 rdi = r15
0x1309 114 eax = 0
0x130b 115 call(0x1030)
0x1310 116 eax = [rsp {var_48}].d
0x1313 117 goto 105 @ 0x12e0
int64_t _fini():
0x132c 0 rsp = rsp - 8
0x1330 1 rsp = rsp + 8
0x1334 2 <return> jump(pop)
| POJ_4 |
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 {"UAWAVATSHH="}
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 - 0x10
0x115c 6 rdi = 0x2008 {"%d"}
0x1163 7 rsi = rsp {var_38}
0x1166 8 eax = 0
0x1168 9 call(0x1030)
0x1171 10 if ([rsp {var_38}].d s<= 0) then 11 @ 0x11bc else 19 @ 0x1173
0x11bc 11 eax = 0
0x11be 12 rsp = rsp + 0x10
0x11c2 13 rbx = pop
0x11c3 14 r12 = pop
0x11c5 15 r14 = pop
0x11c7 16 r15 = pop
0x11c9 17 rbp = pop
0x11ca 18 <return> jump(pop)
0x1173 19 r14 = 0x2004 {"%d%d%d"}
0x117a 20 r15 = rsp + 0xc {var_2c}
0x117f 21 r12 = rsp + 8 {var_30}
0x1184 22 rbx = rsp + 4 {var_34}
0x1189 23 ebp = 0
0x118b 24 goto 25 @ 0x1190
0x1190 25 rdi = r14
0x1193 26 rsi = r15 {var_2c}
0x1196 27 rdx = r12 {var_30}
0x1199 28 rcx = rbx {var_34}
0x119c 29 eax = 0
0x119e 30 call(0x1030)
0x11a3 31 edi = [rsp + 0xc {var_2c}].d
0x11a7 32 esi = [rsp + 8 {var_30}].d
0x11ab 33 edx = [rsp + 4 {var_34}].d
0x11af 34 call(0x11d0)
0x11b4 35 ebp = ebp + 1
0x11ba 36 if (ebp s< [rsp {var_38}].d) then 25 @ 0x1190 else 11 @ 0x11bc
int64_t f(int32_t arg1, int32_t arg2, int32_t arg3):
0x11d0 0 push(rbp)
0x11d1 1 push(r15)
0x11d3 2 push(r14)
0x11d5 3 push(r13)
0x11d7 4 push(r12)
0x11d9 5 push(rbx)
0x11da 6 rsp = rsp - 0x38
0x11e2 7 al = (dil & 3) == 0
0x11e5 8 ecx = edi * -0x3d70a3d7
0x11eb 9 ecx = ecx + 0x51eb850
0x11f1 10 edi = ecx
0x11f3 11 edi = ror.d(edi, 2)
0x11fc 12 bl = edi u>= 0x28f5c29
0x11ff 13 bl = bl & al
0x1201 14 ecx = ror.d(ecx, 4)
0x1204 15 flag:c = ecx u< 0xa3d70b
0x120a 16 al = flag:c
0x120d 17 al = al | bl
0x120f 18 cond:0 = esi == 2
0x1212 19 ecx = 0x20 {"@"}
0x1217 20 edi = 1
0x121c 21 if (cond:0) then 22 else 24 @ 0x121f
0x121c 22 edi = ecx
0x121c 23 goto 24 @ 0x121f
0x121f 24 [rsp + 0x24 {var_44}].d = edi
0x1223 25 cond:1 = edx == 2
0x1226 26 ecx = 0xffffffe0 {""}
0x122b 27 r12d = 0xffffffff {""}
0x1231 28 if (cond:1) then 29 else 31 @ 0x1235
0x1231 29 r12d = ecx
0x1231 30 goto 31 @ 0x1235
0x1235 31 edi = zx.d(al)
0x1238 32 ecx = (rdi + 0x3c).d
0x123b 33 eax = 0xffffffc4 {""}
0x1240 34 eax = eax - edi
0x1242 35 r8d = edi
0x1245 36 r8d = r8d ^ 0xffffffa5
0x1249 37 r10d = edi
0x124c 38 r10d = r10d ^ 0xffffff87
0x1250 39 r11d = 0xffffff68 {""}
0x1256 40 r11d = r11d - edi
0x1259 41 r14d = 0xffffff4a {""}
0x125f 42 r14d = r14d - edi
0x1262 43 r15d = edi
0x1265 44 r15d = r15d ^ 0xffffff2b
0x126c 45 ebp = 0xffffff0c {""}
0x1271 46 ebp = ebp - edi
0x1273 47 [rsp + 0x2c {var_3c}].d = ebp
0x1277 48 ebp = 0xfffffeee {""}
0x127c 49 ebp = ebp - edi
0x127e 50 [rsp + 0x30 {var_38}].d = ebp
0x1282 51 ebp = edi
0x1284 52 ebp = ebp ^ 0xfffffecf
0x128a 53 r9d = (rdi + 0x5b).d
0x128e 54 ebx = (rdi + 0x79).d
0x1291 55 [rsp + 0xc {var_5c}].d = ebx
0x1295 56 ebx = (rdi + 0x98).d
0x129b 57 [rsp + 0x10 {var_58}].d = ebx
0x129f 58 ebx = (rdi + 0xb6).d
0x12a5 59 [rsp + 0x14 {var_54}].d = ebx
0x12a9 60 ebx = (rdi + 0xd5).d
0x12af 61 [rsp + 0x18 {var_50}].d = ebx
0x12b3 62 ebx = (rdi + 0xf4).d
0x12b9 63 [rsp + 0x1c {var_4c}].d = ebx
0x12bd 64 ebx = (rdi + 0x112).d
0x12c3 65 [rsp + 0x20 {var_48}].d = ebx
0x12c7 66 ebx = (rdi + 0x131).d
0x12cd 67 [rsp + 0x28 {var_40}].d = ebx
0x12d1 68 r13d = (rdi + 0x14f).d
0x12d8 69 [rsp + 0x34 {var_34}].d = r13d
0x12dd 70 edi = edi ^ 0xfffffeb1
0x12e6 71 if (esi != 3) then 72 else 74 @ 0x12ee
0x12e6 72 ecx = [rsp + 0x24 {var_44}].d
0x12e6 73 goto 74 @ 0x12ee
0x12ee 74 if (edx != 3) then 75 else 77 @ 0x12f5
0x12ee 75 eax = r12d
0x12ee 76 goto 77 @ 0x12f5
0x12f5 77 if (esi == 4) then 78 else 80 @ 0x12fc
0x12f5 78 ecx = r9d
0x12f5 79 goto 80 @ 0x12fc
0x12fc 80 if (edx == 4) then 81 else 83 @ 0x1303
0x12fc 81 eax = r8d
0x12fc 82 goto 83 @ 0x1303
0x1303 83 if (esi == 5) then 84 else 86 @ 0x130b
0x1303 84 ecx = [rsp + 0xc {var_5c}].d
0x1303 85 goto 86 @ 0x130b
0x130b 86 if (edx == 5) then 87 else 89 @ 0x1312
0x130b 87 eax = r10d
0x130b 88 goto 89 @ 0x1312
0x1312 89 if (esi == 6) then 90 else 92 @ 0x131a
0x1312 90 ecx = [rsp + 0x10 {var_58}].d
0x1312 91 goto 92 @ 0x131a
0x131a 92 if (edx == 6) then 93 else 95 @ 0x1321
0x131a 93 eax = r11d
0x131a 94 goto 95 @ 0x1321
0x1321 95 if (esi == 7) then 96 else 98 @ 0x1329
0x1321 96 ecx = [rsp + 0x14 {var_54}].d
0x1321 97 goto 98 @ 0x1329
0x1329 98 if (edx == 7) then 99 else 101 @ 0x1330
0x1329 99 eax = r14d
0x1329 100 goto 101 @ 0x1330
0x1330 101 if (esi == 8) then 102 else 104 @ 0x1338
0x1330 102 ecx = [rsp + 0x18 {var_50}].d
0x1330 103 goto 104 @ 0x1338
0x1338 104 if (edx == 8) then 105 else 107 @ 0x133f
0x1338 105 eax = r15d
0x1338 106 goto 107 @ 0x133f
0x133f 107 if (esi == 9) then 108 else 110 @ 0x1347
0x133f 108 ecx = [rsp + 0x1c {var_4c}].d
0x133f 109 goto 110 @ 0x1347
0x1347 110 if (edx == 9) then 111 else 113 @ 0x134f
0x1347 111 eax = [rsp + 0x2c {var_3c}].d
0x1347 112 goto 113 @ 0x134f
0x134f 113 if (esi == 0xa) then 114 else 116 @ 0x1357
0x134f 114 ecx = [rsp + 0x20 {var_48}].d
0x134f 115 goto 116 @ 0x1357
0x1357 116 if (edx == 0xa) then 117 else 119 @ 0x135f
0x1357 117 eax = [rsp + 0x30 {var_38}].d
0x1357 118 goto 119 @ 0x135f
0x135f 119 if (esi == 0xb) then 120 else 122 @ 0x1367
0x135f 120 ecx = [rsp + 0x28 {var_40}].d
0x135f 121 goto 122 @ 0x1367
0x1367 122 if (edx == 0xb) then 123 else 125 @ 0x136d
0x1367 123 eax = ebp
0x1367 124 goto 125 @ 0x136d
0x136d 125 if (esi == 0xc) then 126 else 128 @ 0x1375
0x136d 126 ecx = [rsp + 0x34 {var_34}].d
0x136d 127 goto 128 @ 0x1375
0x1375 128 if (edx == 0xc) then 129 else 131 @ 0x1378
0x1375 129 eax = edi
0x1375 130 goto 131 @ 0x1378
0x1378 131 eax = eax + ecx
0x137a 132 ecx = eax
0x137c 133 ecx = neg.d(ecx)
0x137e 134 if (ecx s< 0) then 135 else 137 @ 0x1381
0x137e 135 ecx = eax
0x137e 136 goto 137 @ 0x1381
0x1381 137 eax = ecx * -0x49249249
0x1387 138 cond:2 = eax u< 0x24924925
0x138c 139 rax = 0x200e {"YES"}
0x1393 140 rdi = 0x200b {"NO"}
0x139a 141 if (cond:2) then 142 else 144 @ 0x139e
0x139a 142 rdi = rax
0x139a 143 goto 144 @ 0x139e
0x139e 144 call(0x1040)
0x13a3 145 rsp = rsp + 0x38
0x13a7 146 rbx = pop
0x13a8 147 r12 = pop
0x13aa 148 r13 = pop
0x13ac 149 r14 = pop
0x13ae 150 r15 = pop
0x13b0 151 rbp = pop
0x13b1 152 <return> jump(pop)
int64_t _fini():
0x13b8 0 rsp = rsp - 8
0x13bc 1 rsp = rsp + 8
0x13c0 2 <return> jump(pop)
| POJ_71 |
Subsets and Splits