	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dev_for_parity
_dev_for_parity:                        ## @dev_for_parity
	.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, %r15
	movq	%rdi, %r14
	movl	8(%rdi), %edi
	callq	_RS
	movq	%rax, %rbx
	movl	4(%r14), %esi
	movq	_DM_RH_NOSYNC@GOTPCREL(%rip), %rax
	movq	_DM_RH_RECOVERING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_region_state
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movl	%ecx, (%r15)
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %eax
	testl	%eax, %eax
	jns	LBB0_7
LBB0_2:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	_raid4@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	addq	$4, %rbx
	jmp	LBB0_6
LBB0_4:
	movq	%r14, %rdi
	callq	_StripeRecover
	movl	%eax, %ecx
	movl	$-1, %eax
	testl	%ecx, %ecx
	jne	LBB0_7
## %bb.5:
	movq	%r14, %rbx
LBB0_6:
	movl	(%rbx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DM_RH_NOSYNC,4,2               ## @DM_RH_NOSYNC
	.comm	_DM_RH_RECOVERING,4,2           ## @DM_RH_RECOVERING
	.comm	_raid4,8,3                      ## @raid4
	.no_dead_strip	_dev_for_parity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dev_for_parity
_dev_for_parity:                        ; @dev_for_parity
	.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	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_RS
	mov	x20, x0
Lloh0:
	adrp	x8, _DM_RH_NOSYNC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DM_RH_NOSYNC@GOTPAGEOFF]
	ldr	w1, [x19, #4]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DM_RH_RECOVERING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DM_RH_RECOVERING@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_region_state
	cmp	w0, #0
	cset	w8, eq
	str	w8, [x21]
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x20]
	tbz	w0, #31, LBB0_7
LBB0_2:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _raid4@GOTPAGE
Lloh7:
	ldr	x9, [x9, _raid4@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	add	x19, x20, #4
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_StripeRecover
	cbz	w0, LBB0_6
; %bb.5:
	mov	w0, #-1
	b	LBB0_7
LBB0_6:
	ldr	w0, [x19]
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DM_RH_NOSYNC,4,2               ; @DM_RH_NOSYNC
	.comm	_DM_RH_RECOVERING,4,2           ; @DM_RH_RECOVERING
	.comm	_raid4,8,3                      ; @raid4
	.no_dead_strip	_dev_for_parity
.subsections_via_symbols
