	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unregister_cache_entry         ## -- Begin function unregister_cache_entry
	.p2align	4, 0x90
_unregister_cache_entry:                ## @unregister_cache_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	_unregister_cache_entry(%rip), %rdi
	callq	_TRACE_IN
	xorl	%edi, %edi
	testq	%r14, %r14
	setne	%dil
	callq	_assert
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_find_cache_entry_p
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	(%rax), %rdi
	callq	_destroy_cache_entry
	movq	(%r14), %rdx
	movq	%rbx, %rsi
	addq	$8, %rsi
	addq	$-2, %rdx
	movq	%rdx, (%r14)
	shll	$3, %edx
	addl	8(%r14), %edx
	subl	%ebx, %edx
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memmove
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %ebx
LBB0_3:
	leaq	_unregister_cache_entry(%rip), %rdi
	callq	_TRACE_OUT
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	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	_unregister_cache_entry         ; -- Begin function unregister_cache_entry
	.p2align	2
_unregister_cache_entry:                ; @unregister_cache_entry
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, _unregister_cache_entry@PAGE
Lloh1:
	add	x0, x0, _unregister_cache_entry@PAGEOFF
	bl	_TRACE_IN
	cmp	x19, #0
	cset	w0, ne
	bl	_assert
	mov	x0, x19
	mov	x1, x20
	bl	_find_cache_entry_p
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	mov	x21, x0
	ldr	x0, [x21], #8
	bl	_destroy_cache_entry
	ldr	x8, [x19]
	ldr	w9, [x19, #8]
	sub	x8, x8, #2
	str	x8, [x19]
	add	w8, w9, w8, lsl #3
	sub	w2, w8, w20
	mov	x0, x20
	mov	x1, x21
	bl	_memmove
	mov	w19, #0
	b	LBB0_3
LBB0_2:
	mov	w19, #-1
LBB0_3:
Lloh2:
	adrp	x0, _unregister_cache_entry@PAGE
Lloh3:
	add	x0, x0, _unregister_cache_entry@PAGEOFF
	bl	_TRACE_OUT
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
