00000000 : 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 8b 45 08 mov 0x8(%ebp),%eax 6: 89 c2 mov %eax,%edx 8: c1 fa 1f sar $0x1f,%edx b: 89 d0 mov %edx,%eax d: 33 45 08 xor 0x8(%ebp),%eax 10: 29 d0 sub %edx,%eax 12: 5d pop %ebp 13: c3 ret 00000000 : 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 ec 04 sub $0x4,%esp 6: 83 7d 08 00 cmpl $0x0,0x8(%ebp) a: 7e 08 jle 14 c: 8b 45 08 mov 0x8(%ebp),%eax f: 89 45 fc mov %eax,0xfffffffc(%ebp) 12: eb 0a jmp 1e 14: 8b 45 08 mov 0x8(%ebp),%eax 17: 89 c2 mov %eax,%edx 19: f7 da neg %edx 1b: 89 55 fc mov %edx,0xfffffffc(%ebp) 1e: 8b 45 fc mov 0xfffffffc(%ebp),%eax 21: c9 leave 22: c3 ret 00000000 : 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 ec 04 sub $0x4,%esp 6: 83 7d 08 00 cmpl $0x0,0x8(%ebp) a: 79 0c jns 18 c: 8b 45 08 mov 0x8(%ebp),%eax f: 89 c2 mov %eax,%edx 11: f7 da neg %edx 13: 89 55 fc mov %edx,0xfffffffc(%ebp) 16: eb 06 jmp 1e 18: 8b 45 08 mov 0x8(%ebp),%eax 1b: 89 45 fc mov %eax,0xfffffffc(%ebp) 1e: 8b 45 fc mov 0xfffffffc(%ebp),%eax 21: c9 leave 22: c3 ret 00000000 : 0: 83 f8 01 cmp $0x1,%eax 3: 7c 0b jl 10 5: c3 ret 6: 8d 76 00 lea 0x0(%esi),%esi 9: 8d bc 27 00 00 00 00 lea 0x0(%edi),%edi 10: bb 02 00 00 00 mov $0x2,%ebx 15: 29 c3 sub %eax,%ebx 17: 89 d8 mov %ebx,%eax 19: c3 ret 1a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 00000020 : 20: b8 0c 00 00 00 mov $0xc,%eax 25: a3 00 00 00 00 mov %eax,0x0 2a: b8 01 00 00 00 mov $0x1,%eax 2f: c3 ret