	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stripe_reconstruct
_stripe_reconstruct:                    ## @stripe_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	8(%rdi), %edi
	callq	_RS
	movq	%rax, %r15
	movl	8(%rax), %ebx
	movl	4(%r14), %r12d
	movl	%r12d, %edi
	shrl	$31, %edi
	callq	_BUG_ON
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.1:
	decl	%ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_CHUNK
	movl	%eax, %edi
	callq	_ChunkUptodate
	testl	%eax, %eax
	sete	%al
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%al, %edi
	callq	_BUG_ON
	addl	$-1, %ebx
	jae	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, %r12d
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_6:
	movq	(%r15), %rbx
	movq	%r15, %rdi
	callq	_RSDegraded
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:
	movq	_S_RECONSTRUCT_DEV@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_S_RECONSTRUCT_EI@GOTPCREL(%rip), %rax
LBB0_9:
	addq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_atomic_inc
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_stripe_zero_chunk
	movl	(%r14), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	%r12d, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_common_xor                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_S_RECONSTRUCT_EI,8,3           ## @S_RECONSTRUCT_EI
	.comm	_S_RECONSTRUCT_DEV,8,3          ## @S_RECONSTRUCT_DEV
	.no_dead_strip	_stripe_reconstruct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stripe_reconstruct
_stripe_reconstruct:                    ; @stripe_reconstruct
	.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	x19, x0
	ldr	w0, [x0, #8]
	bl	_RS
	mov	x21, x0
	ldr	w22, [x0, #8]
	ldr	w20, [x19, #4]
	lsr	w0, w20, #31
	bl	_BUG_ON
	cbz	w22, LBB0_6
; %bb.1:
	sub	w22, w22, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_CHUNK
	bl	_ChunkUptodate
	cmp	w0, #0
	cset	w0, eq
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_BUG_ON
	sub	w22, w22, #1
	cmn	w22, #1
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w20, w22
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #0
	b	LBB0_3
LBB0_6:
	ldr	x22, [x21]
	mov	x0, x21
	bl	_RSDegraded
Lloh0:
	adrp	x8, _S_RECONSTRUCT_EI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_RECONSTRUCT_EI@GOTPAGEOFF]
Lloh2:
	adrp	x9, _S_RECONSTRUCT_DEV@GOTPAGE
Lloh3:
	ldr	x9, [x9, _S_RECONSTRUCT_DEV@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	x8, [x8]
	add	x0, x8, x22
	bl	_atomic_inc
	mov	x0, x19
	mov	x1, x20
	bl	_stripe_zero_chunk
	ldr	w1, [x19]
	mov	x0, x19
	mov	w2, #0
	mov	x3, 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	_common_xor
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_S_RECONSTRUCT_EI,8,3           ; @S_RECONSTRUCT_EI
	.comm	_S_RECONSTRUCT_DEV,8,3          ; @S_RECONSTRUCT_DEV
	.no_dead_strip	_stripe_reconstruct
.subsections_via_symbols
