Advertisement
ogv

Untitled

ogv
Feb 11th, 2023
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.56 KB | None | 0 0
  1. 0000000000008939 <_Z7p4Whilei>:
  2. 8939: f3 0f 1e fa endbr64
  3. 893d: 55 push %rbp
  4. 893e: 48 89 e5 mov %rsp,%rbp
  5. 8941: 89 7d fc mov %edi,-0x4(%rbp)
  6. 8944: 83 7d fc 00 cmpl $0x0,-0x4(%rbp)
  7. 8948: 7f 29 jg 8973 <_Z7p4Whilei+0x3a>
  8. 894a: b8 00 00 00 00 mov $0x0,%eax
  9. 894f: eb 2d jmp 897e <_Z7p4Whilei+0x45>
  10. 8951: 8b 45 fc mov -0x4(%rbp),%eax
  11. 8954: 83 e0 03 and $0x3,%eax
  12. 8957: 85 c0 test %eax,%eax
  13. 8959: 74 07 je 8962 <_Z7p4Whilei+0x29>
  14. 895b: b8 00 00 00 00 mov $0x0,%eax
  15. 8960: eb 1c jmp 897e <_Z7p4Whilei+0x45>
  16. 8962: 8b 45 fc mov -0x4(%rbp),%eax
  17. 8965: 8d 50 03 lea 0x3(%rax),%edx
  18. 8968: 85 c0 test %eax,%eax
  19. 896a: 0f 48 c2 cmovs %edx,%eax
  20. 896d: c1 f8 02 sar $0x2,%eax
  21. 8970: 89 45 fc mov %eax,-0x4(%rbp)
  22. 8973: 83 7d fc 01 cmpl $0x1,-0x4(%rbp)
  23. 8977: 7f d8 jg 8951 <_Z7p4Whilei+0x18>
  24. 8979: b8 01 00 00 00 mov $0x1,%eax
  25. 897e: 5d pop %rbp
  26. 897f: c3 ret
  27.  
  28. 0000000000008980 <_Z5p4Biti>:
  29. 8980: f3 0f 1e fa endbr64
  30. 8984: 55 push %rbp
  31. 8985: 48 89 e5 mov %rsp,%rbp
  32. 8988: 89 7d fc mov %edi,-0x4(%rbp)
  33. 898b: 83 7d fc 00 cmpl $0x0,-0x4(%rbp)
  34. 898f: 7e 23 jle 89b4 <_Z5p4Biti+0x34>
  35. 8991: 8b 45 fc mov -0x4(%rbp),%eax
  36. 8994: 0d 55 55 55 55 or $0x55555555,%eax
  37. 8999: 3d 55 55 55 55 cmp $0x55555555,%eax
  38. 899e: 75 14 jne 89b4 <_Z5p4Biti+0x34>
  39. 89a0: 8b 45 fc mov -0x4(%rbp),%eax
  40. 89a3: 83 e8 01 sub $0x1,%eax
  41. 89a6: 23 45 fc and -0x4(%rbp),%eax
  42. 89a9: 85 c0 test %eax,%eax
  43. 89ab: 75 07 jne 89b4 <_Z5p4Biti+0x34>
  44. 89ad: b8 01 00 00 00 mov $0x1,%eax
  45. 89b2: eb 05 jmp 89b9 <_Z5p4Biti+0x39>
  46. 89b4: b8 00 00 00 00 mov $0x0,%eax
  47. 89b9: 5d pop %rbp
  48. 89ba: c3 ret
  49.  
  50. 00000000000089bb <_Z12p4BitNegMaski>:
  51. 89bb: f3 0f 1e fa endbr64
  52. 89bf: 55 push %rbp
  53. 89c0: 48 89 e5 mov %rsp,%rbp
  54. 89c3: 89 7d fc mov %edi,-0x4(%rbp)
  55. 89c6: 83 7d fc 00 cmpl $0x0,-0x4(%rbp)
  56. 89ca: 7e 20 jle 89ec <_Z12p4BitNegMaski+0x31>
  57. 89cc: 8b 45 fc mov -0x4(%rbp),%eax
  58. 89cf: 25 aa aa aa 2a and $0x2aaaaaaa,%eax
  59. 89d4: 85 c0 test %eax,%eax
  60. 89d6: 75 14 jne 89ec <_Z12p4BitNegMaski+0x31>
  61. 89d8: 8b 45 fc mov -0x4(%rbp),%eax
  62. 89db: 83 e8 01 sub $0x1,%eax
  63. 89de: 23 45 fc and -0x4(%rbp),%eax
  64. 89e1: 85 c0 test %eax,%eax
  65. 89e3: 75 07 jne 89ec <_Z12p4BitNegMaski+0x31>
  66. 89e5: b8 01 00 00 00 mov $0x1,%eax
  67. 89ea: eb 05 jmp 89f1 <_Z12p4BitNegMaski+0x36>
  68. 89ec: b8 00 00 00 00 mov $0x0,%eax
  69. 89f1: 5d pop %rbp
  70. 89f2: c3 ret
  71.  
  72. 00000000000089f3 <_Z9p4BitMathi>:
  73. 89f3: f3 0f 1e fa endbr64
  74. 89f7: 55 push %rbp
  75. 89f8: 48 89 e5 mov %rsp,%rbp
  76. 89fb: 89 7d fc mov %edi,-0x4(%rbp)
  77. 89fe: 83 7d fc 00 cmpl $0x0,-0x4(%rbp)
  78. 8a02: 7e 3b jle 8a3f <_Z9p4BitMathi+0x4c>
  79. 8a04: 8b 45 fc mov -0x4(%rbp),%eax
  80. 8a07: 83 e8 01 sub $0x1,%eax
  81. 8a0a: 23 45 fc and -0x4(%rbp),%eax
  82. 8a0d: 85 c0 test %eax,%eax
  83. 8a0f: 75 2e jne 8a3f <_Z9p4BitMathi+0x4c>
  84. 8a11: 8b 55 fc mov -0x4(%rbp),%edx
  85. 8a14: 48 63 c2 movslq %edx,%rax
  86. 8a17: 48 69 c0 56 55 55 55 imul $0x55555556,%rax,%rax
  87. 8a1e: 48 c1 e8 20 shr $0x20,%rax
  88. 8a22: 89 d1 mov %edx,%ecx
  89. 8a24: c1 f9 1f sar $0x1f,%ecx
  90. 8a27: 29 c8 sub %ecx,%eax
  91. 8a29: 89 c1 mov %eax,%ecx
  92. 8a2b: 01 c9 add %ecx,%ecx
  93. 8a2d: 01 c1 add %eax,%ecx
  94. 8a2f: 89 d0 mov %edx,%eax
  95. 8a31: 29 c8 sub %ecx,%eax
  96. 8a33: 83 f8 01 cmp $0x1,%eax
  97. 8a36: 75 07 jne 8a3f <_Z9p4BitMathi+0x4c>
  98. 8a38: b8 01 00 00 00 mov $0x1,%eax
  99. 8a3d: eb 05 jmp 8a44 <_Z9p4BitMathi+0x51>
  100. 8a3f: b8 00 00 00 00 mov $0x0,%eax
  101. 8a44: 5d pop %rbp
  102. 8a45: c3 ret
  103.  
  104. 0000000000008a46 <_Z5p4Logi>:
  105. 8a46: f3 0f 1e fa endbr64
  106. 8a4a: 55 push %rbp
  107. 8a4b: 48 89 e5 mov %rsp,%rbp
  108. 8a4e: 48 83 ec 20 sub $0x20,%rsp
  109. 8a52: 89 7d ec mov %edi,-0x14(%rbp)
  110. 8a55: 83 7d ec 00 cmpl $0x0,-0x14(%rbp)
  111. 8a59: 7f 07 jg 8a62 <_Z5p4Logi+0x1c>
  112. 8a5b: b8 00 00 00 00 mov $0x0,%eax
  113. 8a60: eb 68 jmp 8aca <_Z5p4Logi+0x84>
  114. 8a62: 66 0f ef d2 pxor %xmm2,%xmm2
  115. 8a66: f2 0f 2a 55 ec cvtsi2sdl -0x14(%rbp),%xmm2
  116. 8a6b: 66 48 0f 7e d0 movq %xmm2,%rax
  117. 8a70: 66 48 0f 6e c0 movq %rax,%xmm0
  118. 8a75: e8 86 fc ff ff call 8700 <log2@plt>
  119. 8a7a: 66 48 0f 7e c0 movq %xmm0,%rax
  120. 8a7f: f2 0f 10 0d 89 66 07 movsd 0x76689(%rip),%xmm1 # 7f110 <_ZL17POWERS_4_NEG_MASK+0xf8>
  121. 8a86: 00
  122. 8a87: 66 48 0f 6e c0 movq %rax,%xmm0
  123. 8a8c: f2 0f 5e c1 divsd %xmm1,%xmm0
  124. 8a90: f2 0f 11 45 f8 movsd %xmm0,-0x8(%rbp)
  125. 8a95: f2 0f 10 45 f8 movsd -0x8(%rbp),%xmm0
  126. 8a9a: f2 0f 2c c0 cvttsd2si %xmm0,%eax
  127. 8a9e: 66 0f ef c9 pxor %xmm1,%xmm1
  128. 8aa2: f2 0f 2a c8 cvtsi2sd %eax,%xmm1
  129. 8aa6: f2 0f 10 45 f8 movsd -0x8(%rbp),%xmm0
  130. 8aab: f2 0f 5c c1 subsd %xmm1,%xmm0
  131. 8aaf: 66 0f ef c9 pxor %xmm1,%xmm1
  132. 8ab3: 66 0f 2e c1 ucomisd %xmm1,%xmm0
  133. 8ab7: 0f 9b c0 setnp %al
  134. 8aba: ba 00 00 00 00 mov $0x0,%edx
  135. 8abf: 66 0f ef c9 pxor %xmm1,%xmm1
  136. 8ac3: 66 0f 2e c1 ucomisd %xmm1,%xmm0
  137. 8ac7: 0f 45 c2 cmovne %edx,%eax
  138. 8aca: c9 leave
  139. 8acb: c3 ret
  140.  
  141. 0000000000008acc <_Z8p4Switchi>:
  142. 8acc: f3 0f 1e fa endbr64
  143. 8ad0: 55 push %rbp
  144. 8ad1: 48 89 e5 mov %rsp,%rbp
  145. 8ad4: 89 7d fc mov %edi,-0x4(%rbp)
  146. 8ad7: 81 7d fc 00 00 00 40 cmpl $0x40000000,-0x4(%rbp)
  147. 8ade: 0f 84 48 01 00 00 je 8c2c <_Z8p4Switchi+0x160>
  148. 8ae4: 81 7d fc 00 00 00 40 cmpl $0x40000000,-0x4(%rbp)
  149. 8aeb: 0f 8f 42 01 00 00 jg 8c33 <_Z8p4Switchi+0x167>
  150. 8af1: 81 7d fc 00 00 00 10 cmpl $0x10000000,-0x4(%rbp)
  151. 8af8: 0f 84 2e 01 00 00 je 8c2c <_Z8p4Switchi+0x160>
  152. 8afe: 81 7d fc 00 00 00 10 cmpl $0x10000000,-0x4(%rbp)
  153. 8b05: 0f 8f 28 01 00 00 jg 8c33 <_Z8p4Switchi+0x167>
  154. 8b0b: 81 7d fc 00 00 00 04 cmpl $0x4000000,-0x4(%rbp)
  155. 8b12: 0f 84 14 01 00 00 je 8c2c <_Z8p4Switchi+0x160>
  156. 8b18: 81 7d fc 00 00 00 04 cmpl $0x4000000,-0x4(%rbp)
  157. 8b1f: 0f 8f 0e 01 00 00 jg 8c33 <_Z8p4Switchi+0x167>
  158. 8b25: 81 7d fc 00 00 00 01 cmpl $0x1000000,-0x4(%rbp)
  159. 8b2c: 0f 84 fa 00 00 00 je 8c2c <_Z8p4Switchi+0x160>
  160. 8b32: 81 7d fc 00 00 00 01 cmpl $0x1000000,-0x4(%rbp)
  161. 8b39: 0f 8f f4 00 00 00 jg 8c33 <_Z8p4Switchi+0x167>
  162. 8b3f: 81 7d fc 00 00 40 00 cmpl $0x400000,-0x4(%rbp)
  163. 8b46: 0f 84 e0 00 00 00 je 8c2c <_Z8p4Switchi+0x160>
  164. 8b4c: 81 7d fc 00 00 40 00 cmpl $0x400000,-0x4(%rbp)
  165. 8b53: 0f 8f da 00 00 00 jg 8c33 <_Z8p4Switchi+0x167>
  166. 8b59: 81 7d fc 00 00 10 00 cmpl $0x100000,-0x4(%rbp)
  167. 8b60: 0f 84 c6 00 00 00 je 8c2c <_Z8p4Switchi+0x160>
  168. 8b66: 81 7d fc 00 00 10 00 cmpl $0x100000,-0x4(%rbp)
  169. 8b6d: 0f 8f c0 00 00 00 jg 8c33 <_Z8p4Switchi+0x167>
  170. 8b73: 81 7d fc 00 00 04 00 cmpl $0x40000,-0x4(%rbp)
  171. 8b7a: 0f 84 ac 00 00 00 je 8c2c <_Z8p4Switchi+0x160>
  172. 8b80: 81 7d fc 00 00 04 00 cmpl $0x40000,-0x4(%rbp)
  173. 8b87: 0f 8f a6 00 00 00 jg 8c33 <_Z8p4Switchi+0x167>
  174. 8b8d: 81 7d fc 00 00 01 00 cmpl $0x10000,-0x4(%rbp)
  175. 8b94: 0f 84 92 00 00 00 je 8c2c <_Z8p4Switchi+0x160>
  176. 8b9a: 81 7d fc 00 00 01 00 cmpl $0x10000,-0x4(%rbp)
  177. 8ba1: 0f 8f 8c 00 00 00 jg 8c33 <_Z8p4Switchi+0x167>
  178. 8ba7: 81 7d fc 00 40 00 00 cmpl $0x4000,-0x4(%rbp)
  179. 8bae: 74 7c je 8c2c <_Z8p4Switchi+0x160>
  180. 8bb0: 81 7d fc 00 40 00 00 cmpl $0x4000,-0x4(%rbp)
  181. 8bb7: 7f 7a jg 8c33 <_Z8p4Switchi+0x167>
  182. 8bb9: 81 7d fc 00 10 00 00 cmpl $0x1000,-0x4(%rbp)
  183. 8bc0: 74 6a je 8c2c <_Z8p4Switchi+0x160>
  184. 8bc2: 81 7d fc 00 10 00 00 cmpl $0x1000,-0x4(%rbp)
  185. 8bc9: 7f 68 jg 8c33 <_Z8p4Switchi+0x167>
  186. 8bcb: 81 7d fc 00 04 00 00 cmpl $0x400,-0x4(%rbp)
  187. 8bd2: 74 58 je 8c2c <_Z8p4Switchi+0x160>
  188. 8bd4: 81 7d fc 00 04 00 00 cmpl $0x400,-0x4(%rbp)
  189. 8bdb: 7f 56 jg 8c33 <_Z8p4Switchi+0x167>
  190. 8bdd: 81 7d fc 00 01 00 00 cmpl $0x100,-0x4(%rbp)
  191. 8be4: 74 46 je 8c2c <_Z8p4Switchi+0x160>
  192. 8be6: 81 7d fc 00 01 00 00 cmpl $0x100,-0x4(%rbp)
  193. 8bed: 7f 44 jg 8c33 <_Z8p4Switchi+0x167>
  194. 8bef: 83 7d fc 01 cmpl $0x1,-0x4(%rbp)
  195. 8bf3: 74 37 je 8c2c <_Z8p4Switchi+0x160>
  196. 8bf5: 83 7d fc 00 cmpl $0x0,-0x4(%rbp)
  197. 8bf9: 7e 38 jle 8c33 <_Z8p4Switchi+0x167>
  198. 8bfb: 83 7d fc 40 cmpl $0x40,-0x4(%rbp)
  199. 8bff: 7f 32 jg 8c33 <_Z8p4Switchi+0x167>
  200. 8c01: 83 7d fc 04 cmpl $0x4,-0x4(%rbp)
  201. 8c05: 7c 2c jl 8c33 <_Z8p4Switchi+0x167>
  202. 8c07: 8b 45 fc mov -0x4(%rbp),%eax
  203. 8c0a: 83 e8 04 sub $0x4,%eax
  204. 8c0d: 48 ba 01 10 00 00 00 movabs $0x1000000000001001,%rdx
  205. 8c14: 00 00 10
  206. 8c17: 89 c1 mov %eax,%ecx
  207. 8c19: 48 d3 ea shr %cl,%rdx
  208. 8c1c: 48 89 d0 mov %rdx,%rax
  209. 8c1f: 83 e0 01 and $0x1,%eax
  210. 8c22: 48 85 c0 test %rax,%rax
  211. 8c25: 0f 95 c0 setne %al
  212. 8c28: 84 c0 test %al,%al
  213. 8c2a: 74 07 je 8c33 <_Z8p4Switchi+0x167>
  214. 8c2c: b8 01 00 00 00 mov $0x1,%eax
  215. 8c31: eb 05 jmp 8c38 <_Z8p4Switchi+0x16c>
  216. 8c33: b8 00 00 00 00 mov $0x0,%eax
  217. 8c38: 5d pop %rbp
  218. 8c39: c3 ret
  219.  
  220. 0000000000008c3a <_Z5p4Reci>:
  221. 8c3a: f3 0f 1e fa endbr64
  222. 8c3e: 55 push %rbp
  223. 8c3f: 48 89 e5 mov %rsp,%rbp
  224. 8c42: 48 83 ec 10 sub $0x10,%rsp
  225. 8c46: 89 7d fc mov %edi,-0x4(%rbp)
  226. 8c49: 83 7d fc 00 cmpl $0x0,-0x4(%rbp)
  227. 8c4d: 7f 07 jg 8c56 <_Z5p4Reci+0x1c>
  228. 8c4f: b8 00 00 00 00 mov $0x0,%eax
  229. 8c54: eb 3d jmp 8c93 <_Z5p4Reci+0x59>
  230. 8c56: 83 7d fc 01 cmpl $0x1,-0x4(%rbp)
  231. 8c5a: 75 07 jne 8c63 <_Z5p4Reci+0x29>
  232. 8c5c: b8 01 00 00 00 mov $0x1,%eax
  233. 8c61: eb 30 jmp 8c93 <_Z5p4Reci+0x59>
  234. 8c63: 8b 45 fc mov -0x4(%rbp),%eax
  235. 8c66: 83 e0 03 and $0x3,%eax
  236. 8c69: 85 c0 test %eax,%eax
  237. 8c6b: 75 20 jne 8c8d <_Z5p4Reci+0x53>
  238. 8c6d: 8b 45 fc mov -0x4(%rbp),%eax
  239. 8c70: 8d 50 03 lea 0x3(%rax),%edx
  240. 8c73: 85 c0 test %eax,%eax
  241. 8c75: 0f 48 c2 cmovs %edx,%eax
  242. 8c78: c1 f8 02 sar $0x2,%eax
  243. 8c7b: 89 c7 mov %eax,%edi
  244. 8c7d: e8 b8 ff ff ff call 8c3a <_Z5p4Reci>
  245. 8c82: 84 c0 test %al,%al
  246. 8c84: 74 07 je 8c8d <_Z5p4Reci+0x53>
  247. 8c86: b8 01 00 00 00 mov $0x1,%eax
  248. 8c8b: eb 05 jmp 8c92 <_Z5p4Reci+0x58>
  249. 8c8d: b8 00 00 00 00 mov $0x0,%eax
  250. 8c92: 90 nop
  251. 8c93: c9 leave
  252. 8c94: c3 ret
  253.  
  254. 0000000000008c95 <_Z10p4PopCounti>:
  255. 8c95: f3 0f 1e fa endbr64
  256. 8c99: 55 push %rbp
  257. 8c9a: 48 89 e5 mov %rsp,%rbp
  258. 8c9d: 48 83 ec 10 sub $0x10,%rsp
  259. 8ca1: 89 7d fc mov %edi,-0x4(%rbp)
  260. 8ca4: 83 7d fc 00 cmpl $0x0,-0x4(%rbp)
  261. 8ca8: 7e 32 jle 8cdc <_Z10p4PopCounti+0x47>
  262. 8caa: 8b 45 fc mov -0x4(%rbp),%eax
  263. 8cad: 89 c0 mov %eax,%eax
  264. 8caf: 48 89 c7 mov %rax,%rdi
  265. 8cb2: e8 c9 f6 ff ff call 8380 <__popcountdi2@plt>
  266. 8cb7: 83 f8 01 cmp $0x1,%eax
  267. 8cba: 75 20 jne 8cdc <_Z10p4PopCounti+0x47>
  268. 8cbc: 8b 45 fc mov -0x4(%rbp),%eax
  269. 8cbf: 83 e8 01 sub $0x1,%eax
  270. 8cc2: 89 c2 mov %eax,%edx
  271. 8cc4: c1 ea 10 shr $0x10,%edx
  272. 8cc7: 31 d0 xor %edx,%eax
  273. 8cc9: 30 e0 xor %ah,%al
  274. 8ccb: 0f 9b c0 setnp %al
  275. 8cce: 0f b6 c0 movzbl %al,%eax
  276. 8cd1: 85 c0 test %eax,%eax
  277. 8cd3: 75 07 jne 8cdc <_Z10p4PopCounti+0x47>
  278. 8cd5: b8 01 00 00 00 mov $0x1,%eax
  279. 8cda: eb 05 jmp 8ce1 <_Z10p4PopCounti+0x4c>
  280. 8cdc: b8 00 00 00 00 mov $0x0,%eax
  281. 8ce1: c9 leave
  282. 8ce2: c3 ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement