	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sse2_bit_count32
_sse2_bit_count32:                      ## @sse2_bit_count32
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movl	$1431655765, %edi               ## imm = 0x55555555
	movl	$1431655765, %esi               ## imm = 0x55555555
	movl	$1431655765, %edx               ## imm = 0x55555555
	movl	$1431655765, %ecx               ## imm = 0x55555555
	callq	__mm_set_epi32
	movl	%eax, %ebx
	movl	$858993459, %edi                ## imm = 0x33333333
	movl	$858993459, %esi                ## imm = 0x33333333
	movl	$858993459, %edx                ## imm = 0x33333333
	movl	$858993459, %ecx                ## imm = 0x33333333
	callq	__mm_set_epi32
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	$252645135, %edi                ## imm = 0xF0F0F0F
	movl	$252645135, %esi                ## imm = 0xF0F0F0F
	movl	$252645135, %edx                ## imm = 0xF0F0F0F
	movl	$252645135, %ecx                ## imm = 0xF0F0F0F
	callq	__mm_set_epi32
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$63, %edi
	movl	$63, %esi
	movl	$63, %edx
	movl	$63, %ecx
	callq	__mm_set_epi32
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movl	%ebx, %esi
	callq	__mm_xor_si128
	movl	%eax, %r13d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	__mm_load_si128
	movl	%eax, %r14d
	addq	$4, %r12
	movl	%eax, %edi
	movl	$1, %esi
	callq	__mm_srli_epi32
	movl	%eax, %edi
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	__mm_and_si128
	movl	%eax, %r15d
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	__mm_and_si128
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	__mm_add_epi32
	movl	%eax, %r15d
	movl	%eax, %edi
	movl	$2, %esi
	callq	__mm_srli_epi32
	movl	%eax, %edi
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	__mm_and_si128
	movl	%eax, %r14d
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	__mm_and_si128
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	__mm_add_epi32
	movl	%eax, %ebx
	movl	%eax, %edi
	movl	$4, %esi
	callq	__mm_srli_epi32
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	__mm_add_epi32
	movl	%eax, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	__mm_and_si128
	movl	%eax, %ebx
	movl	%eax, %edi
	movl	$8, %esi
	callq	__mm_srli_epi32
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	__mm_add_epi32
	movl	%eax, %ebx
	movl	%eax, %edi
	movl	$16, %esi
	callq	__mm_srli_epi32
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	__mm_add_epi32
	movl	%eax, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	__mm_and_si128
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	__mm_add_epi32
	movl	%eax, %r13d
	cmpq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	jb	LBB0_1
## %bb.2:
	leaq	-96(%rbp), %rdi
	movl	%r13d, %esi
	callq	__mm_store_si128
	movdqa	-96(%rbp), %xmm0
	paddq	-80(%rbp), %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddq	%xmm0, %xmm1
	movq	%xmm1, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sse2_bit_count32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sse2_bit_count32
_sse2_bit_count32:                      ; @sse2_bit_count32
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	mov	w0, #1431655765
	mov	w1, #1431655765
	mov	w2, #1431655765
	mov	w3, #1431655765
	bl	__mm_set_epi32
	mov	x21, x0
	mov	w0, #858993459
	mov	w1, #858993459
	mov	w2, #858993459
	mov	w3, #858993459
	bl	__mm_set_epi32
	mov	x22, x0
	mov	w0, #252645135
	mov	w1, #252645135
	mov	w2, #252645135
	mov	w3, #252645135
	bl	__mm_set_epi32
	mov	x23, x0
	mov	w0, #63
	mov	w1, #63
	mov	w2, #63
	mov	w3, #63
	bl	__mm_set_epi32
	mov	x24, x0
	mov	x0, x21
	mov	x1, x21
	bl	__mm_xor_si128
	mov	x25, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	__mm_load_si128
	mov	x26, x0
	add	x20, x20, #4
	mov	w1, #1
	bl	__mm_srli_epi32
	mov	x1, x21
	bl	__mm_and_si128
	mov	x27, x0
	mov	x0, x26
	mov	x1, x21
	bl	__mm_and_si128
	mov	x1, x0
	mov	x0, x27
	bl	__mm_add_epi32
	mov	x26, x0
	mov	w1, #2
	bl	__mm_srli_epi32
	mov	x1, x22
	bl	__mm_and_si128
	mov	x27, x0
	mov	x0, x26
	mov	x1, x22
	bl	__mm_and_si128
	mov	x1, x0
	mov	x0, x27
	bl	__mm_add_epi32
	mov	x26, x0
	mov	w1, #4
	bl	__mm_srli_epi32
	mov	x1, x0
	mov	x0, x26
	bl	__mm_add_epi32
	mov	x1, x23
	bl	__mm_and_si128
	mov	x26, x0
	mov	w1, #8
	bl	__mm_srli_epi32
	mov	x1, x0
	mov	x0, x26
	bl	__mm_add_epi32
	mov	x26, x0
	mov	w1, #16
	bl	__mm_srli_epi32
	mov	x1, x0
	mov	x0, x26
	bl	__mm_add_epi32
	mov	x1, x24
	bl	__mm_and_si128
	mov	x1, x0
	mov	x0, x25
	bl	__mm_add_epi32
	mov	x25, x0
	cmp	x20, x19
	b.lo	LBB0_1
; %bb.2:
	add	x0, sp, #8
	mov	x1, x25
	bl	__mm_store_si128
	ldp	x8, x9, [sp, #8]
	ldp	x10, x11, [sp, #24]
	ldr	x12, [sp, #40]
Lloh3:
	adrp	x13, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x13, [x13, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x13, [x13]
	cmp	x13, x12
	b.ne	LBB0_4
; %bb.3:
	add	x8, x9, x8
	add	x8, x8, x10
	add	x0, x8, x11
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sse2_bit_count32
.subsections_via_symbols
