	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function purge_node
_purge_node:                            ## @purge_node
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	24(%rsi), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	cmpq	$0, 8(%rax)
	sete	%r15b
	jmp	LBB0_3
LBB0_1:
	movb	$1, %r15b
LBB0_3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_clean_node
	testb	%r15b, %r15b
	je	LBB0_8
## %bb.4:
	movq	32(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_8
## %bb.5:
	decl	4(%r14)
	movl	(%r15), %eax
	movq	24(%rbx), %rdx
	xorl	%esi, %esi
	cmpq	$0, (%rdx)
	movslq	%eax, %rcx
	sete	%sil
	movq	(%rdx,%rsi,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.6:
	movq	16(%r15), %rsi
	movq	%rsi, 16(%rdx)
	movl	%eax, (%rdx)
LBB0_7:
	movq	16(%r15), %rax
	movq	(%rax), %rax
	movq	%rdx, (%rax,%rcx,8)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_node_size
	subl	%eax, (%r14)
	movq	8(%r15), %rdi
	callq	_free
	movq	%r15, %rdi
	callq	_free
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_lru_pop
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_purge_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function purge_node
_purge_node:                            ; @purge_node
	.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	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #24]
	ldr	x9, [x8]
	cbz	x9, LBB0_2
; %bb.1:
	ldr	x8, [x8, #8]
	cmp	x8, #0
	cset	w21, eq
	b	LBB0_3
LBB0_2:
	mov	w21, #1
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	bl	_clean_node
	cbz	w21, LBB0_8
; %bb.4:
	ldr	x21, [x19, #32]
	cbz	x21, LBB0_8
; %bb.5:
	ldr	w8, [x20, #4]
	sub	w8, w8, #1
	str	w8, [x20, #4]
	ldr	w9, [x21]
	sxtw	x8, w9
	ldr	x10, [x19, #24]
	ldr	x11, [x10]
	cmp	x11, #0
	cset	w11, eq
	ldr	x10, [x10, w11, uxtw #3]
	cbz	x10, LBB0_7
; %bb.6:
	ldr	x11, [x21, #16]
	str	x11, [x10, #16]
	str	w9, [x10]
LBB0_7:
	ldr	x9, [x21, #16]
	ldr	x9, [x9]
	str	x10, [x9, x8, lsl #3]
	mov	x0, x20
	mov	x1, x19
	bl	_node_size
	ldr	w8, [x20]
	sub	w8, w8, w0
	str	w8, [x20]
	ldr	x0, [x21, #8]
	bl	_free
	mov	x0, x21
	bl	_free
	mov	x0, x20
	mov	x1, x19
	bl	_lru_pop
	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
	b	_free
LBB0_8:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_purge_node
.subsections_via_symbols
