	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __r5l_stripe_write_finished
___r5l_stripe_write_finished:           ## @__r5l_stripe_write_finished
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %rbx
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %r15
	leaq	12(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_IO_UNIT_STRIPE_END@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	___r5l_set_io_unit_state
	movq	%rbx, %rdi
	callq	_r5l_complete_finished_ios
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_r5l_reclaimable_space
	cmpq	(%rbx), %rax
	jg	LBB0_3
## %bb.2:
	movq	_R5C_LOG_TIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_r5l_wake_reclaim
LBB0_4:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	addq	$8, %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wake_up                        ## TAILCALL
LBB0_5:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IO_UNIT_STRIPE_END,4,2         ## @IO_UNIT_STRIPE_END
	.comm	_R5C_LOG_TIGHT,4,2              ## @R5C_LOG_TIGHT
	.no_dead_strip	___r5l_stripe_write_finished
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __r5l_stripe_write_finished
___r5l_stripe_write_finished:           ; @__r5l_stripe_write_finished
	.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	x22, x0
	ldr	x19, [x0]
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x21, [x8]
	add	x20, x19, #12
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _IO_UNIT_STRIPE_END@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IO_UNIT_STRIPE_END@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x22
	bl	___r5l_set_io_unit_state
	mov	x0, x19
	bl	_r5l_complete_finished_ios
	cbz	w0, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_r5l_reclaimable_space
	ldr	x8, [x19]
	cmp	x0, x8
	b.gt	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _R5C_LOG_TIGHT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _R5C_LOG_TIGHT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_4
LBB0_3:
	mov	x0, x19
	mov	w1, #0
	bl	_r5l_wake_reclaim
LBB0_4:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	add	x0, x19, #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
	b	_wake_up
LBB0_5:
	mov	x0, x20
	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	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IO_UNIT_STRIPE_END,4,2         ; @IO_UNIT_STRIPE_END
	.comm	_R5C_LOG_TIGHT,4,2              ; @R5C_LOG_TIGHT
	.no_dead_strip	___r5l_stripe_write_finished
.subsections_via_symbols
