	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_hash_entry
_get_hash_entry:                        ## @get_hash_entry
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	(%rdi), %r15
	movslq	%esi, %r13
	shlq	$4, %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r15), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_element_alloc
	testl	%eax, %eax
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_IS_PARTITIONED
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rdi
	addq	%r13, %rdi
	callq	_SpinLockAcquire
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movq	8(%rax,%r13), %rbx
	testq	%rbx, %rbx
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_IS_PARTITIONED
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rdi
	addq	%r13, %rdi
	callq	_SpinLockRelease
	jmp	LBB0_1
LBB0_7:
	leaq	(%rax,%r13), %rcx
	addq	$8, %rcx
	movq	(%rbx), %rdx
	movq	%rdx, (%rcx)
	incl	4(%rax,%r13)
	movq	%r15, %rdi
	callq	_IS_PARTITIONED
	testq	%rax, %rax
	je	LBB0_19
## %bb.8:
	movq	(%r15), %rdi
	jmp	LBB0_18
LBB0_9:
	movq	%r15, %rdi
	callq	_IS_PARTITIONED
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	leal	1(%r14), %eax
	movq	_NUM_FREELISTS@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	cmpl	%r14d, %edx
	je	LBB0_12
## %bb.13:
	movl	%edx, %r12d
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movslq	%r12d, %r14
	shlq	$4, %r14
	movq	(%r15), %rdi
	addq	%r14, %rdi
	callq	_SpinLockAcquire
	movq	(%r15), %rdi
	movq	8(%rdi,%r14), %rbx
	testq	%rbx, %rbx
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	addq	%r14, %rdi
	callq	_SpinLockRelease
	incl	%r12d
	movl	%r12d, %eax
	cltd
	movq	_NUM_FREELISTS@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movl	%edx, %r12d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	cmpl	%r14d, %edx
	jne	LBB0_14
LBB0_12:
	xorl	%ebx, %ebx
	jmp	LBB0_19
LBB0_17:
	leaq	(%rdi,%r14), %rax
	addq	$8, %rax
	movq	(%rbx), %rcx
	movq	%rcx, (%rax)
	addq	%r14, %rdi
	callq	_SpinLockRelease
	movq	(%r15), %rdi
	addq	%r13, %rdi
	callq	_SpinLockAcquire
	movq	(%r15), %rdi
	incl	4(%rdi,%r13)
LBB0_18:
	addq	%r13, %rdi
	callq	_SpinLockRelease
LBB0_19:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_FREELISTS,4,2              ## @NUM_FREELISTS
	.no_dead_strip	_get_hash_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_hash_entry
_get_hash_entry:                        ; @get_hash_entry
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x22, x0
	ldr	x19, [x0]
	sxtw	x23, w20
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x19, #8]
	mov	x0, x22
	mov	x2, x20
	bl	_element_alloc
	cbz	w0, LBB0_9
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_IS_PARTITIONED
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	add	x0, x8, x23, lsl #4
	bl	_SpinLockAcquire
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	add	x8, x8, x23, lsl #4
	mov	x9, x8
	ldr	x21, [x9, #8]!
	cbnz	x21, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_IS_PARTITIONED
	cbz	x0, LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	add	x0, x8, x23, lsl #4
	bl	_SpinLockRelease
	b	LBB0_1
LBB0_7:
	ldr	x10, [x21]
	str	x10, [x9]
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
	mov	x0, x19
	bl	_IS_PARTITIONED
	cbz	x0, LBB0_16
; %bb.8:
	ldr	x8, [x19]
	b	LBB0_15
LBB0_9:
	mov	x0, x19
	bl	_IS_PARTITIONED
	cbz	x0, LBB0_13
; %bb.10:
	add	w8, w20, #1
Lloh0:
	adrp	x22, _NUM_FREELISTS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _NUM_FREELISTS@GOTPAGEOFF]
	ldr	w9, [x22]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	cmp	w8, w20
	b.eq	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19]
	sxtw	x24, w8
	sbfiz	x21, x8, #4, #32
	add	x0, x9, x21
	bl	_SpinLockAcquire
	ldr	x8, [x19]
	add	x9, x8, x21
	ldr	x21, [x9, #8]!
	cbnz	x21, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x0, x8, x24, lsl #4
	bl	_SpinLockRelease
	add	w8, w24, #1
	ldr	w9, [x22]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	cmp	w8, w20
	b.ne	LBB0_11
LBB0_13:
	mov	x21, #0
	b	LBB0_16
LBB0_14:
	ldr	x10, [x21]
	str	x10, [x9]
	add	x0, x8, x24, lsl #4
	bl	_SpinLockRelease
	ldr	x8, [x19]
	lsl	x20, x23, #4
	add	x0, x8, x20
	bl	_SpinLockAcquire
	ldr	x8, [x19]
	add	x9, x8, x20
	ldr	w10, [x9, #4]
	add	w10, w10, #1
	str	w10, [x9, #4]
LBB0_15:
	add	x0, x8, x23, lsl #4
	bl	_SpinLockRelease
LBB0_16:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_FREELISTS,4,2              ; @NUM_FREELISTS
	.no_dead_strip	_get_hash_entry
.subsections_via_symbols
