	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hash_get_num_entries           ## -- Begin function hash_get_num_entries
	.p2align	4, 0x90
_hash_get_num_entries:                  ## @hash_get_num_entries
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	callq	_IS_PARTITIONED
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	_NUM_FREELISTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$2, %eax
	jl	LBB0_12
## %bb.2:
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	leaq	-1(%rax), %r8
	movl	$1, %edx
	cmpq	$4, %r8
	jb	LBB0_11
## %bb.3:
	movq	%r8, %rdx
	andq	$-4, %rdx
	movq	%rbx, %xmm0
	leaq	-4(%rdx), %rbx
	movq	%rbx, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %esi
	andl	$3, %esi
	cmpq	$12, %rbx
	jae	LBB0_5
## %bb.4:
	pxor	%xmm1, %xmm1
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_5:
	andq	$-4, %rdi
	pxor	%xmm1, %xmm1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	8(%rcx,%rbx,8), %xmm2
	paddq	%xmm0, %xmm2
	movdqu	24(%rcx,%rbx,8), %xmm0
	paddq	%xmm1, %xmm0
	movdqu	40(%rcx,%rbx,8), %xmm1
	movdqu	56(%rcx,%rbx,8), %xmm3
	movdqu	72(%rcx,%rbx,8), %xmm4
	paddq	%xmm1, %xmm4
	paddq	%xmm2, %xmm4
	movdqu	88(%rcx,%rbx,8), %xmm2
	paddq	%xmm3, %xmm2
	paddq	%xmm0, %xmm2
	movdqu	104(%rcx,%rbx,8), %xmm0
	paddq	%xmm4, %xmm0
	movdqu	120(%rcx,%rbx,8), %xmm1
	paddq	%xmm2, %xmm1
	addq	$16, %rbx
	addq	$-4, %rdi
	jne	LBB0_6
LBB0_7:
	testq	%rsi, %rsi
	je	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(,%rbx,8), %rdi
	orq	$8, %rdi
	movdqu	(%rcx,%rdi), %xmm2
	paddq	%xmm2, %xmm0
	movdqu	16(%rcx,%rdi), %xmm2
	paddq	%xmm2, %xmm1
	addq	$4, %rbx
	decq	%rsi
	jne	LBB0_8
LBB0_9:
	paddq	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddq	%xmm0, %xmm1
	movq	%xmm1, %rbx
	cmpq	%rdx, %r8
	je	LBB0_12
## %bb.10:
	orq	$1, %rdx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	addq	(%rcx,%rdx,8), %rbx
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_11
LBB0_12:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_FREELISTS,4,2              ## @NUM_FREELISTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hash_get_num_entries           ; -- Begin function hash_get_num_entries
	.p2align	2
_hash_get_num_entries:                  ; @hash_get_num_entries
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	ldr	x0, [x0]
	ldr	x8, [x0]
	ldr	x19, [x8]
	bl	_IS_PARTITIONED
	cbz	x0, LBB0_9
; %bb.1:
Lloh0:
	adrp	x8, _NUM_FREELISTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_FREELISTS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_9
; %bb.2:
	ldr	x9, [x20]
	ldr	x9, [x9]
	sub	x11, x8, #1
	cmp	x11, #8
	b.hs	LBB0_4
; %bb.3:
	mov	w10, #1
	b	LBB0_7
LBB0_4:
	and	x12, x11, #0xfffffffffffffff8
	orr	x10, x12, #0x1
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.d	v1[0], x19
	add	x13, x9, #40
	mov	x14, x12
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x13, #-32]
	ldp	q6, q7, [x13], #64
	add.2d	v1, v4, v1
	add.2d	v0, v5, v0
	add.2d	v2, v6, v2
	add.2d	v3, v7, v3
	subs	x14, x14, #8
	b.ne	LBB0_5
; %bb.6:
	add.2d	v0, v0, v1
	add.2d	v0, v2, v0
	add.2d	v0, v3, v0
	addp.2d	d0, v0
	fmov	x19, d0
	cmp	x11, x12
	b.eq	LBB0_9
LBB0_7:
	add	x9, x9, x10, lsl #3
	sub	x8, x8, x10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #8
	add	x19, x10, x19
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_FREELISTS,4,2              ; @NUM_FREELISTS
.subsections_via_symbols
