	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raid10_takeover
_raid10_takeover:                       ## @raid10_takeover
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, (%rdi)
	jne	LBB0_3
## %bb.1:
	movq	8(%rdi), %rax
	cmpl	$2, (%rax)
	jl	LBB0_4
## %bb.2:
	callq	_mdname
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_warn
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_4:
	movq	8(%rax), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	popq	%rbp
	jmp	_raid10_takeover_raid0          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"md/raid10:%s: cannot takeover raid 0 with more than one zone.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_raid10_takeover
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raid10_takeover
_raid10_takeover:                       ; @raid10_takeover
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	cbnz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	w9, [x8]
	cmp	w9, #2
	b.lt	LBB0_4
; %bb.2:
	bl	_mdname
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warn
LBB0_3:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_4:
	ldr	x8, [x8, #8]
	ldp	w2, w1, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_raid10_takeover_raid0
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"md/raid10:%s: cannot takeover raid 0 with more than one zone.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_raid10_takeover
.subsections_via_symbols
