	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bitmap_hash                    ## -- Begin function bitmap_hash
	.p2align	4, 0x90
_bitmap_hash:                           ## @bitmap_hash
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	_BITMAP_ELEMENT_WORDS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %r11d
	andl	$-8, %r11d
	leaq	-8(%r11), %r8
	movq	%r8, %r9
	shrq	$3, %r9
	incq	%r9
	movl	%r9d, %r10d
	andl	$3, %r10d
	andq	$-4, %r9
	movq	%r10, %rdi
	shlq	$5, %rdi
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_16
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
	xorl	8(%rcx), %eax
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rcx), %rsi
	cmpl	$8, %edx
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movd	%eax, %xmm0
	pxor	%xmm1, %xmm1
	cmpq	$24, %r8
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r9, %rbx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	(%rsi,%rax,4), %xmm2
	pxor	%xmm0, %xmm2
	movdqu	16(%rsi,%rax,4), %xmm0
	pxor	%xmm1, %xmm0
	movdqu	32(%rsi,%rax,4), %xmm1
	movdqu	48(%rsi,%rax,4), %xmm3
	movdqu	64(%rsi,%rax,4), %xmm4
	pxor	%xmm1, %xmm4
	pxor	%xmm2, %xmm4
	movdqu	80(%rsi,%rax,4), %xmm2
	pxor	%xmm3, %xmm2
	pxor	%xmm0, %xmm2
	movdqu	96(%rsi,%rax,4), %xmm0
	pxor	%xmm4, %xmm0
	movdqu	112(%rsi,%rax,4), %xmm1
	pxor	%xmm2, %xmm1
	addq	$32, %rax
	addq	$-4, %rbx
	jne	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	testq	%r10, %r10
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rsi,%rax,4), %rax
	addq	$16, %rax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	-16(%rax,%rbx), %xmm2
	pxor	%xmm2, %xmm0
	movdqu	(%rax,%rbx), %xmm2
	pxor	%xmm2, %xmm1
	addq	$32, %rbx
	cmpq	%rbx, %rdi
	jne	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	pxor	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	pxor	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	pxor	%xmm1, %xmm0
	movd	%xmm0, %eax
	movq	%r11, %rbx
	cmpq	%rdx, %r11
	je	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	(%rsi,%rbx,4), %eax
	incq	%rbx
	cmpq	%rbx, %rdx
	jne	LBB0_14
	jmp	LBB0_15
LBB0_1:
	xorl	%eax, %eax
LBB0_16:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BITMAP_ELEMENT_WORDS,4,2       ## @BITMAP_ELEMENT_WORDS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bitmap_hash                    ; -- Begin function bitmap_hash
	.p2align	2
_bitmap_hash:                           ; @bitmap_hash
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_12
; %bb.1:
	mov	w0, #0
Lloh0:
	adrp	x9, _BITMAP_ELEMENT_WORDS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BITMAP_ELEMENT_WORDS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	x10, x9, #0xfffffff0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
	ldr	w11, [x8, #8]
	eor	w0, w11, w0
	cbz	w9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x8]
	cmp	w9, #16
	b.hs	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x12, #0
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	movi.2d	v0, #0000000000000000
	mov.s	v0[0], w0
	add	x12, x11, #32
	movi.2d	v1, #0000000000000000
	mov	x13, x10
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q4, q5, [x12, #-32]
	ldp	q6, q7, [x12], #64
	eor.16b	v0, v4, v0
	eor.16b	v1, v5, v1
	eor.16b	v2, v6, v2
	eor.16b	v3, v7, v3
	subs	x13, x13, #16
	b.ne	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	eor.16b	v0, v1, v0
	eor3.16b	v0, v2, v0, v3
	ext.16b	v1, v0, v0, #8
	eor.8b	v0, v0, v1
	mov.s	w12, v0[1]
	fmov	w13, s0
	eor	w0, w13, w12
	mov	x12, x10
	cmp	x10, x9
	b.eq	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x11, x11, x12, lsl #2
	sub	x12, x9, x12
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w13, [x11], #4
	eor	w0, w13, w0
	subs	x12, x12, #1
	b.ne	LBB0_10
	b	LBB0_2
LBB0_11:
	ret
LBB0_12:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BITMAP_ELEMENT_WORDS,4,2       ; @BITMAP_ELEMENT_WORDS
.subsections_via_symbols
