	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function discard_index
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_discard_index
	.p2align	4, 0x90
_discard_index:                         ## @discard_index
	.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, %rbx
	callq	_validate_cache_entries
	movq	%rbx, %rdi
	callq	_resolve_undo_clear_index
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rbx)
	movups	%xmm0, 72(%rbx)
	movq	%rbx, %rdi
	callq	_free_name_hash
	leaq	48(%rbx), %rdi
	callq	_cache_tree_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
	movl	24(%rbx), %edi
	callq	_FREE_AND_NULL
	movq	$0, 16(%rbx)
	movq	%rbx, %rdi
	callq	_discard_split_index
	movq	8(%rbx), %rdi
	callq	_free_untracked_cache
	movq	$0, 8(%rbx)
	movq	(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_should_validate_cache_entries
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_mem_pool_discard
	movq	$0, (%rbx)
LBB0_2:
	xorl	%eax, %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	_discard_index                  ; -- Begin function discard_index
	.p2align	2
_discard_index:                         ; @discard_index
	.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
	bl	_validate_cache_entries
	mov	x0, x19
	bl	_resolve_undo_clear_index
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #56]
	stur	q0, [x19, #72]
	mov	x0, x19
	bl	_free_name_hash
	add	x0, x19, #48
	bl	_cache_tree_free
	stp	xzr, xzr, [x19, #32]
	ldr	w0, [x19, #24]
	bl	_FREE_AND_NULL
	str	xzr, [x19, #16]
	mov	x0, x19
	bl	_discard_split_index
	ldr	x0, [x19, #8]
	bl	_free_untracked_cache
	str	xzr, [x19, #8]
	ldr	x20, [x19]
	cbz	x20, LBB0_2
; %bb.1:
	bl	_should_validate_cache_entries
	mov	x1, x0
	mov	x0, x20
	bl	_mem_pool_discard
	str	xzr, [x19]
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
