.section __TEXT,__text,regular,pure_instructions .globl _pcount_do .align 4, 0x90 _pcount_do: pushl %ebp movl %esp, %ebp xorl %eax, %eax movl 8(%ebp), %ecx .align 4, 0x90 LBB1_1: movl %ecx, %edx andl $1, %edx addl %edx, %eax shrl %ecx testl %ecx, %ecx jne LBB1_1 popl %ebp ret .globl _pcount_while .align 4, 0x90 _pcount_while: pushl %ebp movl %esp, %ebp movl 8(%ebp), %ecx testl %ecx, %ecx je LBB2_4 xorl %eax, %eax .align 4, 0x90 LBB2_2: movl %ecx, %edx andl $1, %edx addl %edx, %eax shrl %ecx testl %ecx, %ecx jne LBB2_2 popl %ebp ret LBB2_4: xorl %eax, %eax popl %ebp ret .globl _pcount_for .align 4, 0x90 _pcount_for: pushl %ebp movl %esp, %ebp pushl %ebx pushl %esi xorl %eax, %eax movl 8(%ebp), %ecx movl %eax, %edx .align 4, 0x90 LBB3_1: btl %edx, %ecx setb %bl movzbl %bl, %esi addl %esi, %eax incl %edx cmpl $32, %edx jne LBB3_1 popl %esi popl %ebx popl %ebp ret .globl _pcount_for_goto .align 4, 0x90 _pcount_for_goto: pushl %ebp movl %esp, %ebp pushl %ebx pushl %esi xorl %ecx, %ecx movl 8(%ebp), %edx movl %ecx, %eax .align 4, 0x90 LBB4_1: btl %ecx, %edx setb %bl movzbl %bl, %esi addl %esi, %eax incl %ecx cmpl $32, %ecx jne LBB4_1 popl %esi popl %ebx popl %ebp ret .globl _pcount_for2 .align 4, 0x90 _pcount_for2: pushl %ebp movl %esp, %ebp pushl %ebx pushl %edi pushl %esi movl $1, %ecx xorl %eax, %eax movl $32, %edx movl 8(%ebp), %esi .align 4, 0x90 LBB5_1: testl %esi, %ecx setne %bl movzbl %bl, %edi addl %edi, %eax addl %ecx, %ecx decl %edx jne LBB5_1 popl %esi popl %edi popl %ebx popl %ebp ret .globl _one .align 4, 0x90 _one: pushl %ebp movl %esp, %ebp movl $1, %eax popl %ebp ret .globl _pcount_for2b .align 4, 0x90 _pcount_for2b: pushl %ebp movl %esp, %ebp pushl %ebx pushl %edi pushl %esi movl $1, %ecx xorl %eax, %eax movl $32, %edx movl 8(%ebp), %esi .align 4, 0x90 LBB7_1: testl %esi, %ecx setne %bl movzbl %bl, %edi addl %edi, %eax addl %ecx, %ecx decl %edx jne LBB7_1 popl %esi popl %edi popl %ebx popl %ebp ret .subsections_via_symbols