Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 0000000000008939 <_Z7p4Whilei>:
- 8939: f3 0f 1e fa endbr64
- 893d: 55 push %rbp
- 893e: 48 89 e5 mov %rsp,%rbp
- 8941: 89 7d fc mov %edi,-0x4(%rbp)
- 8944: 83 7d fc 00 cmpl $0x0,-0x4(%rbp)
- 8948: 7f 29 jg 8973 <_Z7p4Whilei+0x3a>
- 894a: b8 00 00 00 00 mov $0x0,%eax
- 894f: eb 2d jmp 897e <_Z7p4Whilei+0x45>
- 8951: 8b 45 fc mov -0x4(%rbp),%eax
- 8954: 83 e0 03 and $0x3,%eax
- 8957: 85 c0 test %eax,%eax
- 8959: 74 07 je 8962 <_Z7p4Whilei+0x29>
- 895b: b8 00 00 00 00 mov $0x0,%eax
- 8960: eb 1c jmp 897e <_Z7p4Whilei+0x45>
- 8962: 8b 45 fc mov -0x4(%rbp),%eax
- 8965: 8d 50 03 lea 0x3(%rax),%edx
- 8968: 85 c0 test %eax,%eax
- 896a: 0f 48 c2 cmovs %edx,%eax
- 896d: c1 f8 02 sar $0x2,%eax
- 8970: 89 45 fc mov %eax,-0x4(%rbp)
- 8973: 83 7d fc 01 cmpl $0x1,-0x4(%rbp)
- 8977: 7f d8 jg 8951 <_Z7p4Whilei+0x18>
- 8979: b8 01 00 00 00 mov $0x1,%eax
- 897e: 5d pop %rbp
- 897f: c3 ret
- 0000000000008980 <_Z5p4Biti>:
- 8980: f3 0f 1e fa endbr64
- 8984: 55 push %rbp
- 8985: 48 89 e5 mov %rsp,%rbp
- 8988: 89 7d fc mov %edi,-0x4(%rbp)
- 898b: 83 7d fc 00 cmpl $0x0,-0x4(%rbp)
- 898f: 7e 23 jle 89b4 <_Z5p4Biti+0x34>
- 8991: 8b 45 fc mov -0x4(%rbp),%eax
- 8994: 0d 55 55 55 55 or $0x55555555,%eax
- 8999: 3d 55 55 55 55 cmp $0x55555555,%eax
- 899e: 75 14 jne 89b4 <_Z5p4Biti+0x34>
- 89a0: 8b 45 fc mov -0x4(%rbp),%eax
- 89a3: 83 e8 01 sub $0x1,%eax
- 89a6: 23 45 fc and -0x4(%rbp),%eax
- 89a9: 85 c0 test %eax,%eax
- 89ab: 75 07 jne 89b4 <_Z5p4Biti+0x34>
- 89ad: b8 01 00 00 00 mov $0x1,%eax
- 89b2: eb 05 jmp 89b9 <_Z5p4Biti+0x39>
- 89b4: b8 00 00 00 00 mov $0x0,%eax
- 89b9: 5d pop %rbp
- 89ba: c3 ret
- 00000000000089bb <_Z12p4BitNegMaski>:
- 89bb: f3 0f 1e fa endbr64
- 89bf: 55 push %rbp
- 89c0: 48 89 e5 mov %rsp,%rbp
- 89c3: 89 7d fc mov %edi,-0x4(%rbp)
- 89c6: 83 7d fc 00 cmpl $0x0,-0x4(%rbp)
- 89ca: 7e 20 jle 89ec <_Z12p4BitNegMaski+0x31>
- 89cc: 8b 45 fc mov -0x4(%rbp),%eax
- 89cf: 25 aa aa aa 2a and $0x2aaaaaaa,%eax
- 89d4: 85 c0 test %eax,%eax
- 89d6: 75 14 jne 89ec <_Z12p4BitNegMaski+0x31>
- 89d8: 8b 45 fc mov -0x4(%rbp),%eax
- 89db: 83 e8 01 sub $0x1,%eax
- 89de: 23 45 fc and -0x4(%rbp),%eax
- 89e1: 85 c0 test %eax,%eax
- 89e3: 75 07 jne 89ec <_Z12p4BitNegMaski+0x31>
- 89e5: b8 01 00 00 00 mov $0x1,%eax
- 89ea: eb 05 jmp 89f1 <_Z12p4BitNegMaski+0x36>
- 89ec: b8 00 00 00 00 mov $0x0,%eax
- 89f1: 5d pop %rbp
- 89f2: c3 ret
- 00000000000089f3 <_Z9p4BitMathi>:
- 89f3: f3 0f 1e fa endbr64
- 89f7: 55 push %rbp
- 89f8: 48 89 e5 mov %rsp,%rbp
- 89fb: 89 7d fc mov %edi,-0x4(%rbp)
- 89fe: 83 7d fc 00 cmpl $0x0,-0x4(%rbp)
- 8a02: 7e 3b jle 8a3f <_Z9p4BitMathi+0x4c>
- 8a04: 8b 45 fc mov -0x4(%rbp),%eax
- 8a07: 83 e8 01 sub $0x1,%eax
- 8a0a: 23 45 fc and -0x4(%rbp),%eax
- 8a0d: 85 c0 test %eax,%eax
- 8a0f: 75 2e jne 8a3f <_Z9p4BitMathi+0x4c>
- 8a11: 8b 55 fc mov -0x4(%rbp),%edx
- 8a14: 48 63 c2 movslq %edx,%rax
- 8a17: 48 69 c0 56 55 55 55 imul $0x55555556,%rax,%rax
- 8a1e: 48 c1 e8 20 shr $0x20,%rax
- 8a22: 89 d1 mov %edx,%ecx
- 8a24: c1 f9 1f sar $0x1f,%ecx
- 8a27: 29 c8 sub %ecx,%eax
- 8a29: 89 c1 mov %eax,%ecx
- 8a2b: 01 c9 add %ecx,%ecx
- 8a2d: 01 c1 add %eax,%ecx
- 8a2f: 89 d0 mov %edx,%eax
- 8a31: 29 c8 sub %ecx,%eax
- 8a33: 83 f8 01 cmp $0x1,%eax
- 8a36: 75 07 jne 8a3f <_Z9p4BitMathi+0x4c>
- 8a38: b8 01 00 00 00 mov $0x1,%eax
- 8a3d: eb 05 jmp 8a44 <_Z9p4BitMathi+0x51>
- 8a3f: b8 00 00 00 00 mov $0x0,%eax
- 8a44: 5d pop %rbp
- 8a45: c3 ret
- 0000000000008a46 <_Z5p4Logi>:
- 8a46: f3 0f 1e fa endbr64
- 8a4a: 55 push %rbp
- 8a4b: 48 89 e5 mov %rsp,%rbp
- 8a4e: 48 83 ec 20 sub $0x20,%rsp
- 8a52: 89 7d ec mov %edi,-0x14(%rbp)
- 8a55: 83 7d ec 00 cmpl $0x0,-0x14(%rbp)
- 8a59: 7f 07 jg 8a62 <_Z5p4Logi+0x1c>
- 8a5b: b8 00 00 00 00 mov $0x0,%eax
- 8a60: eb 68 jmp 8aca <_Z5p4Logi+0x84>
- 8a62: 66 0f ef d2 pxor %xmm2,%xmm2
- 8a66: f2 0f 2a 55 ec cvtsi2sdl -0x14(%rbp),%xmm2
- 8a6b: 66 48 0f 7e d0 movq %xmm2,%rax
- 8a70: 66 48 0f 6e c0 movq %rax,%xmm0
- 8a75: e8 86 fc ff ff call 8700 <log2@plt>
- 8a7a: 66 48 0f 7e c0 movq %xmm0,%rax
- 8a7f: f2 0f 10 0d 89 66 07 movsd 0x76689(%rip),%xmm1 # 7f110 <_ZL17POWERS_4_NEG_MASK+0xf8>
- 8a86: 00
- 8a87: 66 48 0f 6e c0 movq %rax,%xmm0
- 8a8c: f2 0f 5e c1 divsd %xmm1,%xmm0
- 8a90: f2 0f 11 45 f8 movsd %xmm0,-0x8(%rbp)
- 8a95: f2 0f 10 45 f8 movsd -0x8(%rbp),%xmm0
- 8a9a: f2 0f 2c c0 cvttsd2si %xmm0,%eax
- 8a9e: 66 0f ef c9 pxor %xmm1,%xmm1
- 8aa2: f2 0f 2a c8 cvtsi2sd %eax,%xmm1
- 8aa6: f2 0f 10 45 f8 movsd -0x8(%rbp),%xmm0
- 8aab: f2 0f 5c c1 subsd %xmm1,%xmm0
- 8aaf: 66 0f ef c9 pxor %xmm1,%xmm1
- 8ab3: 66 0f 2e c1 ucomisd %xmm1,%xmm0
- 8ab7: 0f 9b c0 setnp %al
- 8aba: ba 00 00 00 00 mov $0x0,%edx
- 8abf: 66 0f ef c9 pxor %xmm1,%xmm1
- 8ac3: 66 0f 2e c1 ucomisd %xmm1,%xmm0
- 8ac7: 0f 45 c2 cmovne %edx,%eax
- 8aca: c9 leave
- 8acb: c3 ret
- 0000000000008acc <_Z8p4Switchi>:
- 8acc: f3 0f 1e fa endbr64
- 8ad0: 55 push %rbp
- 8ad1: 48 89 e5 mov %rsp,%rbp
- 8ad4: 89 7d fc mov %edi,-0x4(%rbp)
- 8ad7: 81 7d fc 00 00 00 40 cmpl $0x40000000,-0x4(%rbp)
- 8ade: 0f 84 48 01 00 00 je 8c2c <_Z8p4Switchi+0x160>
- 8ae4: 81 7d fc 00 00 00 40 cmpl $0x40000000,-0x4(%rbp)
- 8aeb: 0f 8f 42 01 00 00 jg 8c33 <_Z8p4Switchi+0x167>
- 8af1: 81 7d fc 00 00 00 10 cmpl $0x10000000,-0x4(%rbp)
- 8af8: 0f 84 2e 01 00 00 je 8c2c <_Z8p4Switchi+0x160>
- 8afe: 81 7d fc 00 00 00 10 cmpl $0x10000000,-0x4(%rbp)
- 8b05: 0f 8f 28 01 00 00 jg 8c33 <_Z8p4Switchi+0x167>
- 8b0b: 81 7d fc 00 00 00 04 cmpl $0x4000000,-0x4(%rbp)
- 8b12: 0f 84 14 01 00 00 je 8c2c <_Z8p4Switchi+0x160>
- 8b18: 81 7d fc 00 00 00 04 cmpl $0x4000000,-0x4(%rbp)
- 8b1f: 0f 8f 0e 01 00 00 jg 8c33 <_Z8p4Switchi+0x167>
- 8b25: 81 7d fc 00 00 00 01 cmpl $0x1000000,-0x4(%rbp)
- 8b2c: 0f 84 fa 00 00 00 je 8c2c <_Z8p4Switchi+0x160>
- 8b32: 81 7d fc 00 00 00 01 cmpl $0x1000000,-0x4(%rbp)
- 8b39: 0f 8f f4 00 00 00 jg 8c33 <_Z8p4Switchi+0x167>
- 8b3f: 81 7d fc 00 00 40 00 cmpl $0x400000,-0x4(%rbp)
- 8b46: 0f 84 e0 00 00 00 je 8c2c <_Z8p4Switchi+0x160>
- 8b4c: 81 7d fc 00 00 40 00 cmpl $0x400000,-0x4(%rbp)
- 8b53: 0f 8f da 00 00 00 jg 8c33 <_Z8p4Switchi+0x167>
- 8b59: 81 7d fc 00 00 10 00 cmpl $0x100000,-0x4(%rbp)
- 8b60: 0f 84 c6 00 00 00 je 8c2c <_Z8p4Switchi+0x160>
- 8b66: 81 7d fc 00 00 10 00 cmpl $0x100000,-0x4(%rbp)
- 8b6d: 0f 8f c0 00 00 00 jg 8c33 <_Z8p4Switchi+0x167>
- 8b73: 81 7d fc 00 00 04 00 cmpl $0x40000,-0x4(%rbp)
- 8b7a: 0f 84 ac 00 00 00 je 8c2c <_Z8p4Switchi+0x160>
- 8b80: 81 7d fc 00 00 04 00 cmpl $0x40000,-0x4(%rbp)
- 8b87: 0f 8f a6 00 00 00 jg 8c33 <_Z8p4Switchi+0x167>
- 8b8d: 81 7d fc 00 00 01 00 cmpl $0x10000,-0x4(%rbp)
- 8b94: 0f 84 92 00 00 00 je 8c2c <_Z8p4Switchi+0x160>
- 8b9a: 81 7d fc 00 00 01 00 cmpl $0x10000,-0x4(%rbp)
- 8ba1: 0f 8f 8c 00 00 00 jg 8c33 <_Z8p4Switchi+0x167>
- 8ba7: 81 7d fc 00 40 00 00 cmpl $0x4000,-0x4(%rbp)
- 8bae: 74 7c je 8c2c <_Z8p4Switchi+0x160>
- 8bb0: 81 7d fc 00 40 00 00 cmpl $0x4000,-0x4(%rbp)
- 8bb7: 7f 7a jg 8c33 <_Z8p4Switchi+0x167>
- 8bb9: 81 7d fc 00 10 00 00 cmpl $0x1000,-0x4(%rbp)
- 8bc0: 74 6a je 8c2c <_Z8p4Switchi+0x160>
- 8bc2: 81 7d fc 00 10 00 00 cmpl $0x1000,-0x4(%rbp)
- 8bc9: 7f 68 jg 8c33 <_Z8p4Switchi+0x167>
- 8bcb: 81 7d fc 00 04 00 00 cmpl $0x400,-0x4(%rbp)
- 8bd2: 74 58 je 8c2c <_Z8p4Switchi+0x160>
- 8bd4: 81 7d fc 00 04 00 00 cmpl $0x400,-0x4(%rbp)
- 8bdb: 7f 56 jg 8c33 <_Z8p4Switchi+0x167>
- 8bdd: 81 7d fc 00 01 00 00 cmpl $0x100,-0x4(%rbp)
- 8be4: 74 46 je 8c2c <_Z8p4Switchi+0x160>
- 8be6: 81 7d fc 00 01 00 00 cmpl $0x100,-0x4(%rbp)
- 8bed: 7f 44 jg 8c33 <_Z8p4Switchi+0x167>
- 8bef: 83 7d fc 01 cmpl $0x1,-0x4(%rbp)
- 8bf3: 74 37 je 8c2c <_Z8p4Switchi+0x160>
- 8bf5: 83 7d fc 00 cmpl $0x0,-0x4(%rbp)
- 8bf9: 7e 38 jle 8c33 <_Z8p4Switchi+0x167>
- 8bfb: 83 7d fc 40 cmpl $0x40,-0x4(%rbp)
- 8bff: 7f 32 jg 8c33 <_Z8p4Switchi+0x167>
- 8c01: 83 7d fc 04 cmpl $0x4,-0x4(%rbp)
- 8c05: 7c 2c jl 8c33 <_Z8p4Switchi+0x167>
- 8c07: 8b 45 fc mov -0x4(%rbp),%eax
- 8c0a: 83 e8 04 sub $0x4,%eax
- 8c0d: 48 ba 01 10 00 00 00 movabs $0x1000000000001001,%rdx
- 8c14: 00 00 10
- 8c17: 89 c1 mov %eax,%ecx
- 8c19: 48 d3 ea shr %cl,%rdx
- 8c1c: 48 89 d0 mov %rdx,%rax
- 8c1f: 83 e0 01 and $0x1,%eax
- 8c22: 48 85 c0 test %rax,%rax
- 8c25: 0f 95 c0 setne %al
- 8c28: 84 c0 test %al,%al
- 8c2a: 74 07 je 8c33 <_Z8p4Switchi+0x167>
- 8c2c: b8 01 00 00 00 mov $0x1,%eax
- 8c31: eb 05 jmp 8c38 <_Z8p4Switchi+0x16c>
- 8c33: b8 00 00 00 00 mov $0x0,%eax
- 8c38: 5d pop %rbp
- 8c39: c3 ret
- 0000000000008c3a <_Z5p4Reci>:
- 8c3a: f3 0f 1e fa endbr64
- 8c3e: 55 push %rbp
- 8c3f: 48 89 e5 mov %rsp,%rbp
- 8c42: 48 83 ec 10 sub $0x10,%rsp
- 8c46: 89 7d fc mov %edi,-0x4(%rbp)
- 8c49: 83 7d fc 00 cmpl $0x0,-0x4(%rbp)
- 8c4d: 7f 07 jg 8c56 <_Z5p4Reci+0x1c>
- 8c4f: b8 00 00 00 00 mov $0x0,%eax
- 8c54: eb 3d jmp 8c93 <_Z5p4Reci+0x59>
- 8c56: 83 7d fc 01 cmpl $0x1,-0x4(%rbp)
- 8c5a: 75 07 jne 8c63 <_Z5p4Reci+0x29>
- 8c5c: b8 01 00 00 00 mov $0x1,%eax
- 8c61: eb 30 jmp 8c93 <_Z5p4Reci+0x59>
- 8c63: 8b 45 fc mov -0x4(%rbp),%eax
- 8c66: 83 e0 03 and $0x3,%eax
- 8c69: 85 c0 test %eax,%eax
- 8c6b: 75 20 jne 8c8d <_Z5p4Reci+0x53>
- 8c6d: 8b 45 fc mov -0x4(%rbp),%eax
- 8c70: 8d 50 03 lea 0x3(%rax),%edx
- 8c73: 85 c0 test %eax,%eax
- 8c75: 0f 48 c2 cmovs %edx,%eax
- 8c78: c1 f8 02 sar $0x2,%eax
- 8c7b: 89 c7 mov %eax,%edi
- 8c7d: e8 b8 ff ff ff call 8c3a <_Z5p4Reci>
- 8c82: 84 c0 test %al,%al
- 8c84: 74 07 je 8c8d <_Z5p4Reci+0x53>
- 8c86: b8 01 00 00 00 mov $0x1,%eax
- 8c8b: eb 05 jmp 8c92 <_Z5p4Reci+0x58>
- 8c8d: b8 00 00 00 00 mov $0x0,%eax
- 8c92: 90 nop
- 8c93: c9 leave
- 8c94: c3 ret
- 0000000000008c95 <_Z10p4PopCounti>:
- 8c95: f3 0f 1e fa endbr64
- 8c99: 55 push %rbp
- 8c9a: 48 89 e5 mov %rsp,%rbp
- 8c9d: 48 83 ec 10 sub $0x10,%rsp
- 8ca1: 89 7d fc mov %edi,-0x4(%rbp)
- 8ca4: 83 7d fc 00 cmpl $0x0,-0x4(%rbp)
- 8ca8: 7e 32 jle 8cdc <_Z10p4PopCounti+0x47>
- 8caa: 8b 45 fc mov -0x4(%rbp),%eax
- 8cad: 89 c0 mov %eax,%eax
- 8caf: 48 89 c7 mov %rax,%rdi
- 8cb2: e8 c9 f6 ff ff call 8380 <__popcountdi2@plt>
- 8cb7: 83 f8 01 cmp $0x1,%eax
- 8cba: 75 20 jne 8cdc <_Z10p4PopCounti+0x47>
- 8cbc: 8b 45 fc mov -0x4(%rbp),%eax
- 8cbf: 83 e8 01 sub $0x1,%eax
- 8cc2: 89 c2 mov %eax,%edx
- 8cc4: c1 ea 10 shr $0x10,%edx
- 8cc7: 31 d0 xor %edx,%eax
- 8cc9: 30 e0 xor %ah,%al
- 8ccb: 0f 9b c0 setnp %al
- 8cce: 0f b6 c0 movzbl %al,%eax
- 8cd1: 85 c0 test %eax,%eax
- 8cd3: 75 07 jne 8cdc <_Z10p4PopCounti+0x47>
- 8cd5: b8 01 00 00 00 mov $0x1,%eax
- 8cda: eb 05 jmp 8ce1 <_Z10p4PopCounti+0x4c>
- 8cdc: b8 00 00 00 00 mov $0x0,%eax
- 8ce1: c9 leave
- 8ce2: c3 ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement