	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lru_cleanup
_lru_cleanup:                           ## @lru_cleanup
	.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), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	cmpq	%rax, 8(%rdi)
	jg	LBB0_2
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_lru_update
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	cmpq	(%rbx), %rax
	jle	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rsi), %rax
	xorl	%ecx, %ecx
	cmpq	$0, 8(%rax)
	setne	%cl
	cmpq	$1, (%rax)
	sbbl	$-1, %ecx
	cmpl	$2, %ecx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %r14
	movq	%rbx, %rdi
	callq	_purge_node
	movq	16(%r14), %rcx
	xorl	%eax, %eax
	cmpq	$0, 8(%rcx)
	setne	%al
	cmpq	$1, (%rcx)
	sbbl	$-1, %eax
	cmpl	$0, 8(%r14)
	jne	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, %eax
	jne	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, (%r14)
	je	LBB0_6
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_purge_node
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lru_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lru_cleanup
_lru_cleanup:                           ; @lru_cleanup
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x9, [x0, #8]
	cmp	x9, x8
	b.gt	LBB0_5
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_lru_update
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldp	x9, x8, [x19]
	cmp	x8, x9
	b.le	LBB0_2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x19, #16]
	cbz	x1, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x1, #16]
	ldp	x9, x8, [x8]
	cmp	x9, #0
	cset	w9, ne
	cmp	x8, #0
	cinc	w8, w9, ne
	cmp	w8, #2
	b.eq	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x1]
	cbz	x8, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x20, [x8]
	mov	x0, x19
	bl	_purge_node
	ldr	x8, [x20, #16]
	ldp	x9, x8, [x8]
	cmp	x9, #0
	cset	w9, ne
	cmp	x8, #0
	cinc	w8, w9, ne
	ldr	w9, [x20, #8]
	cmp	w9, #0
	ccmp	w8, #1, #0, eq
	b.ne	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_purge_node
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lru_cleanup
.subsections_via_symbols
