	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_vdev_mirror
_make_vdev_mirror:                      ## @make_vdev_mirror
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	16(%rbp), %ebx
	testl	%ebx, %ebx
	jle	LBB0_7
## %bb.1:
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	leal	(,%rbx,8), %edi
	movq	_UMEM_NOFAIL@GOTPCREL(%rip), %rax
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movl	(%rax), %esi
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movl	%r9d, %r14d
	movl	%r8d, %r15d
	movq	%rcx, %r12
	movq	%rdx, %r13
	callq	_umem_alloc
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	%ebx, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movq	%r12, %rcx
	movl	%r15d, %r8d
	movl	%r14d, %r9d
	callq	_make_vdev_raidz
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	cmpq	%rbx, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_2
## %bb.3:
	movq	_NV_UNIQUE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	xorl	%edx, %edx
	callq	_nvlist_alloc
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_VERIFY
	movq	-48(%rbp), %rdi
	movq	_ZPOOL_CONFIG_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VDEV_TYPE_MIRROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_nvlist_add_string
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_VERIFY
	movq	-48(%rbp), %rdi
	movq	_ZPOOL_CONFIG_CHILDREN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %ecx
	callq	_nvlist_add_nvlist_array
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_VERIFY
	testl	%ebx, %ebx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rbx,8), %rdi
	callq	_nvlist_free
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_5
LBB0_6:
	movq	%r14, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_umem_free
	movq	-48(%rbp), %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_make_vdev_raidz                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UMEM_NOFAIL,4,2                ## @UMEM_NOFAIL
	.comm	_NV_UNIQUE_NAME,4,2             ## @NV_UNIQUE_NAME
	.comm	_ZPOOL_CONFIG_TYPE,4,2          ## @ZPOOL_CONFIG_TYPE
	.comm	_VDEV_TYPE_MIRROR,4,2           ## @VDEV_TYPE_MIRROR
	.comm	_ZPOOL_CONFIG_CHILDREN,4,2      ## @ZPOOL_CONFIG_CHILDREN
	.no_dead_strip	_make_vdev_mirror
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_vdev_mirror
_make_vdev_mirror:                      ; @make_vdev_mirror
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x26, x1
	mov	x27, x0
	cmp	w6, #0
	b.le	LBB0_7
; %bb.1:
	mov	x21, x6
	lsl	w0, w6, #3
Lloh0:
	adrp	x8, _UMEM_NOFAIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UMEM_NOFAIL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	bl	_umem_alloc
	mov	x20, x0
	mov	x19, #0
	str	w21, [sp]                       ; 4-byte Folded Spill
	mov	w28, w21
	lsl	x21, x28, #3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x27
	mov	x1, x26
	mov	x2, x25
	mov	x3, x24
	mov	x4, x23
	mov	x5, x22
	bl	_make_vdev_raidz
	str	x0, [x20, x19]
	add	x19, x19, #8
	cmp	x21, x19
	b.ne	LBB0_2
; %bb.3:
Lloh3:
	adrp	x8, _NV_UNIQUE_NAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NV_UNIQUE_NAME@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	w2, #0
	bl	_nvlist_alloc
	cmp	x0, #0
	cset	w0, eq
	bl	_VERIFY
	ldr	x0, [sp, #8]
Lloh6:
	adrp	x8, _ZPOOL_CONFIG_TYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ZPOOL_CONFIG_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _VDEV_TYPE_MIRROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VDEV_TYPE_MIRROR@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	bl	_nvlist_add_string
	cmp	x0, #0
	cset	w0, eq
	bl	_VERIFY
	ldr	x0, [sp, #8]
Lloh12:
	adrp	x8, _ZPOOL_CONFIG_CHILDREN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ZPOOL_CONFIG_CHILDREN@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x2, x20
	ldr	w19, [sp]                       ; 4-byte Folded Reload
	mov	x3, x19
	bl	_nvlist_add_nvlist_array
	cmp	x0, #0
	cset	w0, eq
	bl	_VERIFY
	cmp	w19, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x19, x20
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19], #8
	bl	_nvlist_free
	subs	x28, x28, #1
	b.ne	LBB0_5
LBB0_6:
	mov	x0, x20
	ldr	w1, [sp, #4]                    ; 4-byte Folded Reload
	bl	_umem_free
	ldr	x0, [sp, #8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_7:
	mov	x0, x27
	mov	x1, x26
	mov	x2, x25
	mov	x3, x24
	mov	x4, x23
	mov	x5, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_make_vdev_raidz
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_UMEM_NOFAIL,4,2                ; @UMEM_NOFAIL
	.comm	_NV_UNIQUE_NAME,4,2             ; @NV_UNIQUE_NAME
	.comm	_ZPOOL_CONFIG_TYPE,4,2          ; @ZPOOL_CONFIG_TYPE
	.comm	_VDEV_TYPE_MIRROR,4,2           ; @VDEV_TYPE_MIRROR
	.comm	_ZPOOL_CONFIG_CHILDREN,4,2      ; @ZPOOL_CONFIG_CHILDREN
	.no_dead_strip	_make_vdev_mirror
.subsections_via_symbols
