	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raid10_error
_raid10_error:                          ## @raid10_error
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BDEVNAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	24(%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	8(%rax), %r13
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movq	_In_sync@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	leaq	4(%rbx), %r12
	movq	%r12, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	cmpl	$0, 16(%r15)
	jne	LBB0_5
## %bb.2:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_enough
	testl	%eax, %eax
	je	LBB0_3
LBB0_5:
	movl	(%r14), %edi
	movq	%r12, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	incq	(%r15)
LBB0_7:
	movq	_MD_RECOVERY_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r15), %rsi
	callq	_set_bit
	movq	_Blocked@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_set_bit
	movq	_Faulty@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_set_bit
	leaq	8(%r15), %r12
	movq	_MD_SB_CHANGE_DEVS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r14d
	movq	_MD_SB_CHANGE_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%eax, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_set_mask_bits
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r15, %rdi
	callq	_mdname
	movl	%eax, %r14d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_bdevname
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_mdname
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %r8
	subq	(%r15), %r8
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_pr_crit
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.4:
	movq	%r13, %rdi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BDEVNAME_SIZE,4,2              ## @BDEVNAME_SIZE
	.comm	_In_sync,4,2                    ## @In_sync
	.comm	_MD_RECOVERY_INTR,4,2           ## @MD_RECOVERY_INTR
	.comm	_Blocked,4,2                    ## @Blocked
	.comm	_Faulty,4,2                     ## @Faulty
	.comm	_MD_SB_CHANGE_DEVS,4,2          ## @MD_SB_CHANGE_DEVS
	.comm	_MD_SB_CHANGE_PENDING,4,2       ## @MD_SB_CHANGE_PENDING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"md/raid10:%s: Disk failure on %s, disabling device.\nmd/raid10:%s: Operation continuing on %d devices.\n"

	.no_dead_strip	_raid10_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raid10_error
_raid10_error:                          ; @raid10_error
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _BDEVNAME_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BDEVNAME_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldr	x21, [x0, #24]
	add	x23, x21, #8
	mov	x0, x23
	bl	_spin_lock_irqsave
Lloh8:
	adrp	x25, _In_sync@GOTPAGE
Lloh9:
	ldr	x25, [x25, _In_sync@GOTPAGEOFF]
	ldr	w0, [x25]
	add	x24, x20, #4
	mov	x1, x24
	bl	_test_bit
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_3
; %bb.2:
	ldr	w1, [x20, #8]
	mov	x0, x21
	bl	_enough
	cbz	w0, LBB0_7
LBB0_3:
	ldr	w0, [x25]
	mov	x1, x24
	bl	_test_and_clear_bit
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
LBB0_5:
Lloh10:
	adrp	x8, _MD_RECOVERY_INTR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MD_RECOVERY_INTR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	add	x1, x19, #12
	bl	_set_bit
Lloh13:
	adrp	x8, _Blocked@GOTPAGE
Lloh14:
	ldr	x8, [x8, _Blocked@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_set_bit
Lloh16:
	adrp	x8, _Faulty@GOTPAGE
Lloh17:
	ldr	x8, [x8, _Faulty@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_set_bit
	add	x24, x19, #8
Lloh19:
	adrp	x8, _MD_SB_CHANGE_DEVS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MD_SB_CHANGE_DEVS@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_BIT
	mov	x25, x0
Lloh22:
	adrp	x8, _MD_SB_CHANGE_PENDING@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MD_SB_CHANGE_PENDING@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_BIT
	orr	w2, w0, w25
	mov	x0, x24
	mov	w1, #0
	bl	_set_mask_bits
	mov	x0, x23
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_mdname
	mov	x23, x0
	ldr	w0, [x20]
	mov	x1, x22
	bl	_bdevname
	mov	x20, x0
	mov	x0, x19
	bl	_mdname
	mov	x3, x0
	ldr	x8, [x21]
	ldr	x9, [x19]
	sub	x4, x8, x9
Lloh25:
	adrp	x0, l_.str@PAGE
Lloh26:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	mov	x2, x20
	bl	_pr_crit
	ldur	x8, [x29, #-72]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.6:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldur	x8, [x29, #-72]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x23
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_BDEVNAME_SIZE,4,2              ; @BDEVNAME_SIZE
	.comm	_In_sync,4,2                    ; @In_sync
	.comm	_MD_RECOVERY_INTR,4,2           ; @MD_RECOVERY_INTR
	.comm	_Blocked,4,2                    ; @Blocked
	.comm	_Faulty,4,2                     ; @Faulty
	.comm	_MD_SB_CHANGE_DEVS,4,2          ; @MD_SB_CHANGE_DEVS
	.comm	_MD_SB_CHANGE_PENDING,4,2       ; @MD_SB_CHANGE_PENDING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"md/raid10:%s: Disk failure on %s, disabling device.\nmd/raid10:%s: Operation continuing on %d devices.\n"

	.no_dead_strip	_raid10_error
.subsections_via_symbols
