	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r5l_do_reclaim
_r5l_do_reclaim:                        ## @r5l_do_reclaim
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	32(%rdi), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rbx
	addq	$60, %rdi
	xorl	%esi, %esi
	callq	_xchg
	movq	%rax, %r12
	leaq	24(%r13), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irq
	movq	%r13, %rdi
	callq	_r5l_reclaimable_space
	movb	$1, %r15b
	cmpq	(%r13), %rax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jg	LBB0_3
## %bb.1:
	testq	%r12, %r12
	jne	LBB0_3
## %bb.2:
	leaq	56(%r13), %rdi
	callq	_list_empty
	testq	%rax, %rax
	sete	%r15b
LBB0_3:
	movq	%r13, %rdi
	callq	_r5l_reclaimable_space
	movq	%rax, %rbx
	cmpq	%r12, %rax
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movb	%r15b, -41(%rbp)                ## 1-byte Spill
	jge	LBB0_10
## %bb.4:
	leaq	40(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	52(%r13), %r15
	leaq	48(%r13), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	44(%r13), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	32(%r13), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_md_wakeup_thread
	movl	28(%r13), %r14d
	movq	%r13, %rdi
	callq	_r5l_reclaimable_space
	xorl	%esi, %esi
	cmpq	%rbx, %rax
	setg	%sil
	movl	24(%r13), %edx
	movl	%r14d, %edi
	callq	_wait_event_lock_irq
	movq	%r13, %rdi
	callq	_r5l_reclaimable_space
	movq	%rax, %rbx
	cmpq	%r12, %rax
	jge	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_list_empty
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_list_empty
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_list_empty
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_list_empty
	testq	%rax, %rax
	je	LBB0_9
LBB0_10:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_r5c_calculate_new_cp
	movq	%rax, %r14
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irq
	testq	%rbx, %rbx
	setne	%al
	andb	-41(%rbp), %al                  ## 1-byte Folded Reload
	cmpb	$1, %al
	jne	LBB0_11
## %bb.12:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_r5l_write_super_and_discard_space
	leaq	8(%r13), %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	%r14, 16(%r13)
	movq	%r13, %rdi
	callq	_r5c_update_log_state
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	%r13, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_r5l_run_no_space_stripes       ## TAILCALL
LBB0_11:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_r5l_do_reclaim
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r5l_do_reclaim
_r5l_do_reclaim:                        ; @r5l_do_reclaim
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x8, [x0, #32]
	ldr	x8, [x8]
	ldr	x20, [x8, #8]
	add	x0, x0, #60
	mov	w1, #0
	bl	_xchg
	mov	x22, x0
	add	x21, x19, #24
	mov	x0, x21
	bl	_spin_lock_irq
	mov	x0, x19
	bl	_r5l_reclaimable_space
	ldr	x8, [x19]
	cmp	x0, x8
	ccmp	x22, #0, #0, le
	b.eq	LBB0_2
; %bb.1:
	mov	w8, #1
	b	LBB0_3
LBB0_2:
	add	x0, x19, #56
	bl	_list_empty
	cmp	x0, #0
	cset	w8, eq
LBB0_3:
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	mov	x0, x19
	bl	_r5l_reclaimable_space
	mov	x23, x0
	cmp	x0, x22
	b.ge	LBB0_10
; %bb.4:
	add	x24, x19, #40
	add	x25, x19, #52
	add	x26, x19, #48
	add	x27, x19, #44
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_md_wakeup_thread
	ldr	w28, [x19, #28]
	mov	x0, x19
	bl	_r5l_reclaimable_space
	cmp	x0, x23
	cset	w1, gt
	ldr	w2, [x19, #24]
	mov	x0, x28
	bl	_wait_event_lock_irq
	mov	x0, x19
	bl	_r5l_reclaimable_space
	mov	x23, x0
	cmp	x0, x22
	b.ge	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	bl	_list_empty
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	bl	_list_empty
	cbz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
	bl	_list_empty
	cbz	x0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x24
	bl	_list_empty
	cbz	x0, LBB0_5
LBB0_10:
	mov	x0, x20
	bl	_r5c_calculate_new_cp
	mov	x20, x0
	mov	x0, x21
	bl	_spin_unlock_irq
	cmp	x23, #0
	cset	w8, ne
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	and	w8, w8, w9
	cmp	w8, #1
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x19
	mov	x1, x20
	bl	_r5l_write_super_and_discard_space
	add	x21, x19, #8
	mov	x0, x21
	bl	_mutex_lock
	str	x20, [x19, #16]
	mov	x0, x19
	bl	_r5c_update_log_state
	mov	x0, x21
	bl	_mutex_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_r5l_run_no_space_stripes
LBB0_12:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_r5l_do_reclaim
.subsections_via_symbols
