	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raid10_finish_reshape
_raid10_finish_reshape:                 ## @raid10_finish_reshape
	.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	64(%rdi), %r15
	movq	_MD_RECOVERY_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	60(%r12), %r14
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_14
## %bb.1:
	cmpq	$0, (%r12)
	jle	LBB0_5
## %bb.2:
	movq	16(%r12), %rax
	cmpq	%rax, 8(%r12)
	jle	LBB0_4
## %bb.3:
	movq	%rax, 8(%r12)
	movq	_MD_RECOVERY_NEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
LBB0_4:
	movq	24(%r12), %rax
	movq	%rax, 16(%r12)
	jmp	LBB0_13
LBB0_5:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	cmpq	$0, (%r12)
	js	LBB0_6
LBB0_12:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
LBB0_13:
	movl	52(%r12), %eax
	movl	%eax, 56(%r12)
	movb	4(%r15), %cl
	movl	$1, %eax
	shll	%cl, %eax
	movl	%eax, 32(%r12)
	movq	_MaxSector@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r12)
	movq	$0, (%r12)
	movq	$0, 40(%r12)
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movslq	(%r15), %rbx
	movq	_In_sync@GOTPCREL(%rip), %r14
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	subq	(%r12), %rax
	cmpq	%rbx, %rax
	jle	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	4(%rax,%rbx,8), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r14), %edi
	movq	%rax, %rsi
	callq	_clear_bit
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,8), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r14), %edi
	movq	%rax, %rsi
	callq	_clear_bit
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_MD_RECOVERY_INTR,4,2           ## @MD_RECOVERY_INTR
	.comm	_MD_RECOVERY_NEEDED,4,2         ## @MD_RECOVERY_NEEDED
	.comm	_In_sync,4,2                    ## @In_sync
	.comm	_MaxSector,4,2                  ## @MaxSector
	.no_dead_strip	_raid10_finish_reshape
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raid10_finish_reshape
_raid10_finish_reshape:                 ; @raid10_finish_reshape
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x21, [x0, #64]
Lloh0:
	adrp	x8, _MD_RECOVERY_INTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MD_RECOVERY_INTR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x20, x19, #60
	mov	x1, x20
	bl	_test_bit
	cbnz	x0, LBB0_8
; %bb.1:
	ldr	x8, [x19]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.2:
	ldp	x9, x8, [x19, #8]
	cmp	x9, x8
	b.le	LBB0_4
; %bb.3:
	str	x8, [x19, #8]
Lloh3:
	adrp	x8, _MD_RECOVERY_NEEDED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MD_RECOVERY_NEEDED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
LBB0_4:
	ldr	x8, [x19, #24]
	str	x8, [x19, #16]
	b	LBB0_7
LBB0_5:
	bl	_rcu_read_lock
	ldr	x8, [x19]
	tbnz	x8, #63, LBB0_9
LBB0_6:
	bl	_rcu_read_unlock
LBB0_7:
	ldr	w8, [x19, #52]
	str	w8, [x19, #56]
	ldr	w8, [x21, #4]
	mov	w9, #1
	lsl	w8, w9, w8
	str	w8, [x19, #32]
Lloh6:
	adrp	x8, _MaxSector@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MaxSector@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #48]
	str	xzr, [x19]
	str	xzr, [x19, #40]
LBB0_8:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldrsw	x20, [x21]
	lsl	x22, x20, #3
Lloh9:
	adrp	x23, _In_sync@GOTPAGE
Lloh10:
	ldr	x23, [x23, _In_sync@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x21]
	ldr	x9, [x19]
	add	x22, x22, #8
	sub	x8, x8, x9
	cmp	x8, x20
	b.le	LBB0_6
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	add	x8, x8, x22
	ldr	w0, [x8, #4]
	bl	_rcu_dereference
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x1, x0
	ldr	w0, [x23]
	bl	_clear_bit
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x21, #8]
	ldr	w0, [x8, x22]
	bl	_rcu_dereference
	cbz	x0, LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x1, x0
	ldr	w0, [x23]
	bl	_clear_bit
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MD_RECOVERY_INTR,4,2           ; @MD_RECOVERY_INTR
	.comm	_MD_RECOVERY_NEEDED,4,2         ; @MD_RECOVERY_NEEDED
	.comm	_In_sync,4,2                    ; @In_sync
	.comm	_MaxSector,4,2                  ; @MaxSector
	.no_dead_strip	_raid10_finish_reshape
.subsections_via_symbols
