	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_split_mirror_vdev              ## -- Begin function split_mirror_vdev
	.p2align	4, 0x90
_split_mirror_vdev:                     ## @split_mirror_vdev
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	$0, -48(%rbp)
	testl	%r8d, %r8d
	jle	LBB0_8
## %bb.1:
	movl	%r8d, %edi
	movq	%r9, %rsi
	callq	_construct_spec
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	_ZPOOL_CONFIG_CHILDREN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-112(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_nvlist_lookup_nvlist_array
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_verify
	cmpq	$0, -64(%rbp)
	je	LBB0_8
## %bb.4:
	xorl	%ebx, %ebx
	leaq	-104(%rbp), %r14
	leaq	-120(%rbp), %r15
	leaq	-116(%rbp), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-112(%rbp), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	_ZPOOL_CONFIG_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_nvlist_lookup_string
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_verify
	movq	-104(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_is_grouping
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpq	-64(%rbp), %rbx
	jb	LBB0_5
LBB0_8:
	leaq	-48(%rbp), %rdx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	callq	_zpool_vdev_split
	movq	-48(%rbp), %rbx
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_nvlist_free
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str(%rip), %rdi
	callq	_gettext
	xorl	%ebx, %ebx
	movl	%r14d, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_10
LBB0_6:
	movq	%rax, %r13
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.1(%rip), %rdi
	callq	_gettext
	xorl	%ebx, %ebx
	movl	%r14d, %edi
	movq	%rax, %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_nvlist_free
LBB0_10:
	movq	%rbx, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to build a pool from the specified devices\n"

	.comm	_ZPOOL_CONFIG_CHILDREN,4,2      ## @ZPOOL_CONFIG_CHILDREN
	.comm	_ZPOOL_CONFIG_PATH,4,2          ## @ZPOOL_CONFIG_PATH
L_.str.1:                               ## @.str.1
	.asciz	"Cannot use '%s' as a device for splitting\n"

	.comm	_ZPOOL_COPY_BOOT_LABEL,4,2      ## @ZPOOL_COPY_BOOT_LABEL
	.comm	_ZPOOL_NO_BOOT_LABEL,4,2        ## @ZPOOL_NO_BOOT_LABEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_split_mirror_vdev              ; -- Begin function split_mirror_vdev
	.p2align	2
_split_mirror_vdev:                     ; @split_mirror_vdev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x23, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	str	xzr, [sp, #40]
	cmp	w4, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x0, x4
	mov	x1, x5
	bl	_construct_spec
	str	x0, [sp, #40]
	cbz	x0, LBB0_7
; %bb.2:
	mov	x22, x0
Lloh0:
	adrp	x8, _ZPOOL_CONFIG_CHILDREN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZPOOL_CONFIG_CHILDREN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #32
	add	x3, sp, #24
	bl	_nvlist_lookup_nvlist_array
	cmp	x0, #0
	cset	w0, eq
	bl	_verify
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_6
; %bb.3:
	mov	x25, #0
Lloh3:
	adrp	x26, _ZPOOL_CONFIG_PATH@GOTPAGE
Lloh4:
	ldr	x26, [x26, _ZPOOL_CONFIG_PATH@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #32]
	ldr	x0, [x8, x25, lsl #3]
	ldr	w1, [x26]
	add	x2, sp, #16
	bl	_nvlist_lookup_string
	cmp	x0, #0
	cset	w0, eq
	bl	_verify
	ldr	x0, [sp, #16]
	add	x1, sp, #12
	add	x2, sp, #8
	bl	_is_grouping
	cbnz	x0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	ldr	x8, [sp, #24]
	cmp	x25, x8
	b.lo	LBB0_4
LBB0_6:
	and	x4, x23, #0xffffffff
	add	x2, sp, #40
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	bl	_zpool_vdev_split
	mov	x8, x0
	ldr	x0, [sp, #40]
	cbnz	x8, LBB0_9
	b	LBB0_11
LBB0_7:
Lloh5:
	adrp	x8, _stderr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_gettext
	mov	x1, x0
	mov	x0, x19
	bl	_fprintf
	b	LBB0_10
LBB0_8:
	mov	x24, x0
Lloh10:
	adrp	x8, _stderr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh12:
	ldr	w19, [x8]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_gettext
	mov	x1, x0
	str	x24, [sp]
	mov	x0, x19
	bl	_fprintf
	mov	x0, x22
LBB0_9:
	bl	_nvlist_free
LBB0_10:
	mov	x0, #0
LBB0_11:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to build a pool from the specified devices\n"

	.comm	_ZPOOL_CONFIG_CHILDREN,4,2      ; @ZPOOL_CONFIG_CHILDREN
	.comm	_ZPOOL_CONFIG_PATH,4,2          ; @ZPOOL_CONFIG_PATH
l_.str.1:                               ; @.str.1
	.asciz	"Cannot use '%s' as a device for splitting\n"

	.comm	_ZPOOL_COPY_BOOT_LABEL,4,2      ; @ZPOOL_COPY_BOOT_LABEL
	.comm	_ZPOOL_NO_BOOT_LABEL,4,2        ; @ZPOOL_NO_BOOT_LABEL
.subsections_via_symbols
