	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function lruhash_insert_or_retrieve
LCPI0_0:
	.quad	1                               ## 0x1
	.space	8
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_lruhash_insert_or_retrieve
	.p2align	4, 0x90
_lruhash_insert_or_retrieve:            ## @lruhash_insert_or_retrieve
	.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	%r8, %r14
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	$0, -56(%rbp)
	movq	(%rdi), %rdi
	callq	_fptr_whitelist_hash_sizefunc
	movl	%eax, %edi
	callq	_fptr_ok
	movq	56(%r15), %rdi
	callq	_fptr_whitelist_hash_delkeyfunc
	movl	%eax, %edi
	callq	_fptr_ok
	movq	48(%r15), %rdi
	callq	_fptr_whitelist_hash_deldatafunc
	movl	%eax, %edi
	callq	_fptr_ok
	movl	92(%r15), %edi
	callq	_fptr_whitelist_hash_compfunc
	movl	%eax, %edi
	callq	_fptr_ok
	movl	88(%r15), %edi
	callq	_fptr_whitelist_hash_markdelfunc
	movl	%eax, %edi
	callq	_fptr_ok
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	movq	%r13, %rsi
	callq	*(%r15)
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	testq	%r14, %r14
	jne	LBB0_2
## %bb.1:
	movq	80(%r15), %r14
LBB0_2:
	leaq	64(%r15), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	callq	_lock_quick_lock
	movq	72(%r15), %rax
	movq	8(%r15), %r12
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	andq	%rbx, %r12
	shlq	$4, %r12
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%r12), %r13
	movq	%r13, %rdi
	callq	_lock_quick_lock
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_bin_find_entry
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx,%r12), %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, 16(%rbx)
	movq	%rbx, 8(%rcx,%r12)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_lru_front
	movdqu	16(%r15), %xmm0
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = <1,u>
	pinsrq	$1, -72(%rbp), %xmm1            ## 8-byte Folded Reload
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, 16(%r15)
	movq	%rbx, %rax
LBB0_4:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	24(%rax), %rdi
	callq	_lock_rw_wrlock
	movq	%r13, %rdi
	callq	_lock_quick_unlock
	movq	24(%r15), %rax
	cmpq	32(%r15), %rax
	jle	LBB0_6
## %bb.5:
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	callq	_reclaim_space
LBB0_6:
	movq	16(%r15), %rax
	cmpq	40(%r15), %rax
	jl	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	callq	_table_grow
LBB0_8:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_lock_quick_unlock
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rax), %rbx
	movq	8(%rax), %r12
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	*56(%r15)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	*48(%r15)
	movq	%rbx, -56(%rbp)
	movq	%rbx, %rax
	testq	%rbx, %rbx
	jne	LBB0_9
LBB0_10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lruhash_insert_or_retrieve     ; -- Begin function lruhash_insert_or_retrieve
	.p2align	2
_lruhash_insert_or_retrieve:            ; @lruhash_insert_or_retrieve
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x4
	mov	x23, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	str	xzr, [sp, #8]
	ldr	x0, [x0]
	bl	_fptr_whitelist_hash_sizefunc
	bl	_fptr_ok
	ldr	x0, [x20, #56]
	bl	_fptr_whitelist_hash_delkeyfunc
	bl	_fptr_ok
	ldr	x0, [x20, #48]
	bl	_fptr_whitelist_hash_deldatafunc
	bl	_fptr_ok
	ldr	w0, [x20, #92]
	bl	_fptr_whitelist_hash_compfunc
	bl	_fptr_ok
	ldr	w0, [x20, #88]
	bl	_fptr_whitelist_hash_markdelfunc
	bl	_fptr_ok
	ldr	x8, [x20]
	ldr	w0, [x21]
	mov	x1, x23
	blr	x8
	mov	x24, x0
	cbnz	x19, LBB0_2
; %bb.1:
	ldr	x19, [x20, #80]
LBB0_2:
	add	x23, x20, #64
	mov	x0, x23
	bl	_lock_quick_lock
	ldr	x8, [x20, #72]
	ldr	x9, [x20, #8]
	and	x9, x9, x22
	add	x25, x8, x9, lsl #4
	mov	x0, x25
	bl	_lock_quick_lock
	ldr	w3, [x21]
	mov	x0, x20
	mov	x1, x25
	mov	x2, x22
	bl	_bin_find_entry
	mov	x22, x0
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x25, #8]
	str	x8, [x21, #16]
	str	x21, [x25, #8]
	mov	x0, x20
	mov	x1, x21
	bl	_lru_front
	ldp	x8, x9, [x20, #16]
	add	x8, x8, #1
	add	x9, x9, x24
	stp	x8, x9, [x20, #16]
	mov	x22, x21
LBB0_4:
	add	x0, x22, #24
	bl	_lock_rw_wrlock
	mov	x0, x25
	bl	_lock_quick_unlock
	ldp	x8, x9, [x20, #24]
	cmp	x8, x9
	b.le	LBB0_6
; %bb.5:
	add	x1, sp, #8
	mov	x0, x20
	bl	_reclaim_space
LBB0_6:
	ldr	x8, [x20, #16]
	ldr	x9, [x20, #40]
	cmp	x8, x9
	b.lt	LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_table_grow
LBB0_8:
	mov	x0, x23
	bl	_lock_quick_unlock
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x21, x23, [x8, #8]
	ldr	x9, [x20, #56]
	ldr	w0, [x8]
	mov	x1, x19
	blr	x9
	ldr	x8, [x20, #48]
	mov	x0, x21
	mov	x1, x19
	blr	x8
	str	x23, [sp, #8]
	mov	x8, x23
	cbnz	x23, LBB0_9
LBB0_10:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
