	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_delete_cache_item              ## -- Begin function delete_cache_item
	.p2align	4, 0x90
_delete_cache_item:                     ## @delete_cache_item
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$4, (%rax)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_2:
	movq	_cache@GOTPCREL(%rip), %rax
	movslq	%ebx, %rbx
	leaq	(,%rbx,4), %rdi
	addq	(%rax), %rdi
	callq	_free_cache_item
	movl	%ebx, %edi
	callq	_del_cache_use
	movq	_cache_next@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rcx
	movq	_cache_prev@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx,%rbx,8), %rsi
	movq	%rcx, (%rax,%rsi,8)
	movq	(%rdx,%rbx,8), %rcx
	movq	(%rax,%rbx,8), %rax
	movq	%rcx, (%rdx,%rax,8)
	movq	_cache_stack@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_cache_free@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rdx
	leal	1(%rdx), %esi
	movl	%esi, (%rcx)
	movl	%ebx, (%rax,%rdx,4)
	movq	_cache_deletes@GOTPCREL(%rip), %rax
	incl	(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"delete_cache_item\n"

	.comm	_cache,8,3                      ## @cache
	.comm	_cache_next,8,3                 ## @cache_next
	.comm	_cache_prev,8,3                 ## @cache_prev
	.comm	_cache_stack,8,3                ## @cache_stack
	.comm	_cache_free,4,2                 ## @cache_free
	.comm	_cache_deletes,4,2              ## @cache_deletes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_delete_cache_item              ; -- Begin function delete_cache_item
	.p2align	2
_delete_cache_item:                     ; @delete_cache_item
	.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	x19, x0
Lloh0:
	adrp	x8, _verbosity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #4
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
Lloh8:
	adrp	x8, _cache@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cache@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	add	x0, x8, w19, sxtw #2
	bl	_free_cache_item
	mov	x0, x19
	bl	_del_cache_use
Lloh11:
	adrp	x8, _cache_next@GOTPAGE
Lloh12:
	ldr	x8, [x8, _cache_next@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	sbfiz	x9, x19, #3, #32
	ldr	x10, [x8, x9]
Lloh14:
	adrp	x11, _cache_prev@GOTPAGE
Lloh15:
	ldr	x11, [x11, _cache_prev@GOTPAGEOFF]
Lloh16:
	ldr	x11, [x11]
	ldr	x12, [x11, x9]
	str	x10, [x8, x12, lsl #3]
	ldr	x10, [x11, x9]
	ldr	x8, [x8, x9]
	str	x10, [x11, x8, lsl #3]
Lloh17:
	adrp	x8, _cache_stack@GOTPAGE
Lloh18:
	ldr	x8, [x8, _cache_stack@GOTPAGEOFF]
Lloh19:
	adrp	x9, _cache_free@GOTPAGE
Lloh20:
	ldr	x9, [x9, _cache_free@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldrsw	x10, [x9]
	add	w11, w10, #1
	str	w11, [x9]
	str	w19, [x8, x10, lsl #2]
Lloh22:
	adrp	x8, _cache_deletes@GOTPAGE
Lloh23:
	ldr	x8, [x8, _cache_deletes@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh21
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"delete_cache_item\n"

	.comm	_cache,8,3                      ; @cache
	.comm	_cache_next,8,3                 ; @cache_next
	.comm	_cache_prev,8,3                 ; @cache_prev
	.comm	_cache_stack,8,3                ; @cache_stack
	.comm	_cache_free,4,2                 ; @cache_free
	.comm	_cache_deletes,4,2              ; @cache_deletes
.subsections_via_symbols
