	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stripe_recover_rw
_stripe_recover_rw:                     ## @stripe_recover_rw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$0, -12(%rbp)
	callq	_TestClearStripeRBW
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	callq	_SetStripeMerged
	movq	(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	leaq	-12(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_dev_for_parity
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_stripe_recover_read
	jmp	LBB0_5
LBB0_2:
	callq	_TestClearStripeMerged
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	-12(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_dev_for_parity
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_stripe_recover_write
LBB0_5:
	movl	%eax, %ebx
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
LBB0_6:
	movl	-12(%rbp), %edi
	callq	_BUG_ON
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stripe_recover_rw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stripe_recover_rw
_stripe_recover_rw:                     ; @stripe_recover_rw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	str	wzr, [sp, #12]
	bl	_TestClearStripeRBW
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_SetStripeMerged
	ldr	x8, [x19]
	ldr	w8, [x8]
	str	w8, [x19, #8]
	add	x1, sp, #12
	mov	x0, x19
	bl	_dev_for_parity
	mov	x1, x0
	mov	x0, x19
	bl	_stripe_recover_read
	b	LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_TestClearStripeMerged
	cbz	x0, LBB0_6
; %bb.3:
	add	x1, sp, #12
	mov	x0, x19
	bl	_dev_for_parity
	mov	x1, x0
	mov	x0, x19
	bl	_stripe_recover_write
LBB0_4:
	mov	x19, x0
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
LBB0_5:
	ldr	w0, [sp, #12]
	bl	_BUG_ON
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
	mov	w19, #0
	b	LBB0_5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stripe_recover_rw
.subsections_via_symbols
