	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stripe_check_reconstruct
_stripe_check_reconstruct:              ## @stripe_check_reconstruct
	.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	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_RS
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_RSDead
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	callq	_ClearStripeReconstruct
	movq	%rbx, %rdi
	callq	_ClearStripeReconstructed
	movq	%rbx, %rdi
	callq	_stripe_allow_io
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_2:
	callq	_StripeReconstruct
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_S_RECONSTRUCT_SET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_atomic_inc
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	callq	_stripe_allow_io
	movq	%rbx, %rdi
	callq	_StripeReconstructed
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	_S_RECONSTRUCTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_atomic_inc
	jmp	LBB0_6
LBB0_8:
	movq	%r14, %rdi
	callq	_RSDegraded
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_S_DEGRADED@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_atomic_inc
	movq	8(%r14), %rdi
	shrq	$63, %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_BUG_ON
	movl	8(%r14), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_stripe_chunk_set_io_flags      ## TAILCALL
LBB0_10:
	leaq	-28(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_dev_for_parity
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_RSEnforceParityCreation
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	cmpl	$0, -28(%rbp)
	jne	LBB0_7
LBB0_12:
	movq	_S_NOSYNC@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_atomic_inc
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_stripe_chunk_set_io_flags
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_S_RECONSTRUCT_SET,8,3          ## @S_RECONSTRUCT_SET
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_S_RECONSTRUCTED,8,3            ## @S_RECONSTRUCTED
	.comm	_S_DEGRADED,8,3                 ## @S_DEGRADED
	.comm	_S_NOSYNC,8,3                   ## @S_NOSYNC
	.no_dead_strip	_stripe_check_reconstruct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stripe_check_reconstruct
_stripe_check_reconstruct:              ; @stripe_check_reconstruct
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	ldr	w0, [x0]
	bl	_RS
	mov	x20, x0
	bl	_RSDead
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_ClearStripeReconstruct
	mov	x0, x19
	bl	_ClearStripeReconstructed
	mov	x0, x19
	bl	_stripe_allow_io
LBB0_2:
	mov	w0, #0
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_StripeReconstruct
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _S_RECONSTRUCT_SET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _S_RECONSTRUCT_SET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_atomic_inc
Lloh3:
	adrp	x8, _EBUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
	mov	x0, x19
	bl	_stripe_allow_io
	mov	x0, x19
	bl	_StripeReconstructed
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _S_RECONSTRUCTED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _S_RECONSTRUCTED@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_atomic_inc
	b	LBB0_2
LBB0_8:
	mov	x0, x20
	bl	_RSDegraded
	bl	_unlikely
	cbz	x0, LBB0_10
; %bb.9:
	ldr	x8, [x20]
Lloh9:
	adrp	x9, _S_DEGRADED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _S_DEGRADED@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_atomic_inc
	ldr	x8, [x20, #8]
	lsr	x0, x8, #63
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_BUG_ON
	ldr	w1, [x20, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_stripe_chunk_set_io_flags
LBB0_10:
	add	x1, sp, #12
	mov	x0, x19
	bl	_dev_for_parity
	mov	x21, x0
	mov	x0, x20
	bl	_RSEnforceParityCreation
	cbnz	x0, LBB0_12
; %bb.11:
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_2
LBB0_12:
	ldr	x8, [x20]
Lloh12:
	adrp	x9, _S_NOSYNC@GOTPAGE
Lloh13:
	ldr	x9, [x9, _S_NOSYNC@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_atomic_inc
	mov	x0, x19
	mov	x1, x21
	bl	_stripe_chunk_set_io_flags
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_S_RECONSTRUCT_SET,8,3          ; @S_RECONSTRUCT_SET
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_S_RECONSTRUCTED,8,3            ; @S_RECONSTRUCTED
	.comm	_S_DEGRADED,8,3                 ; @S_DEGRADED
	.comm	_S_NOSYNC,8,3                   ; @S_NOSYNC
	.no_dead_strip	_stripe_check_reconstruct
.subsections_via_symbols
