	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raid0_takeover
_raid0_takeover:                        ## @raid0_takeover
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpq	$0, 16(%rdi)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_mdname
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_warn
	movq	_EBUSY@GOTPCREL(%rip), %rax
LBB0_12:
	subl	(%rax), %ebx
	movl	%ebx, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_2:
	movl	(%rbx), %esi
	cmpl	$5, %esi
	je	LBB0_5
## %bb.3:
	cmpl	$4, %esi
	je	LBB0_4
## %bb.7:
	cmpl	$1, %esi
	je	LBB0_10
LBB0_8:
	cmpl	$10, %esi
	jne	LBB0_11
## %bb.9:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_raid0_takeover_raid10          ## TAILCALL
LBB0_5:
	movq	8(%rbx), %rax
	movq	_ALGORITHM_PARITY_N@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_raid0_takeover_raid45          ## TAILCALL
LBB0_6:
	movq	%rbx, %rdi
	callq	_mdname
	movq	(%r14), %rdx
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_warn
	movl	(%rbx), %esi
	cmpl	$1, %esi
	jne	LBB0_8
LBB0_10:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_raid0_takeover_raid1           ## TAILCALL
LBB0_11:
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_warn
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"md/raid0: %s: cannot takeover array with bitmap\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_ALGORITHM_PARITY_N,8,3         ## @ALGORITHM_PARITY_N
L_.str.1:                               ## @.str.1
	.asciz	"md/raid0:%s: Raid can only takeover Raid5 with layout: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Takeover from raid%i to raid0 not supported\n"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raid0_takeover
_raid0_takeover:                        ; @raid0_takeover
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_mdname
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warn
Lloh2:
	adrp	x8, _EBUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_ERR_PTR
LBB0_3:
	ldr	w1, [x19]
	cmp	w1, #5
	b.eq	LBB0_8
; %bb.4:
	cmp	w1, #4
	b.eq	LBB0_9
; %bb.5:
	cmp	w1, #1
	b.eq	LBB0_11
LBB0_6:
	cmp	w1, #10
	b.ne	LBB0_12
; %bb.7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_raid0_takeover_raid10
LBB0_8:
	ldr	x8, [x19, #8]
Lloh4:
	adrp	x20, _ALGORITHM_PARITY_N@GOTPAGE
Lloh5:
	ldr	x20, [x20, _ALGORITHM_PARITY_N@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_10
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_raid0_takeover_raid45
LBB0_10:
	mov	x0, x19
	bl	_mdname
	mov	x1, x0
	ldr	x8, [x20]
	str	x8, [sp]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_warn
	ldr	w1, [x19]
	cmp	w1, #1
	b.ne	LBB0_6
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_raid0_takeover_raid1
LBB0_12:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_warn
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"md/raid0: %s: cannot takeover array with bitmap\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_ALGORITHM_PARITY_N,8,3         ; @ALGORITHM_PARITY_N
l_.str.1:                               ; @.str.1
	.asciz	"md/raid0:%s: Raid can only takeover Raid5 with layout: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Takeover from raid%i to raid0 not supported\n"

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