	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_make_root_vdev                 ## -- Begin function make_root_vdev
	.p2align	4, 0x90
_make_root_vdev:                        ## @make_root_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movl	24(%rbp), %edi
	movq	32(%rbp), %rsi
	movq	_is_force@GOTPCREL(%rip), %rax
	movl	%r12d, (%rax)
	callq	_construct_spec
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r15
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_zpool_get_config
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_7
LBB0_3:
	xorl	%r13d, %r13d
LBB0_4:
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_is_device_in_use
	testq	%rax, %rax
	je	LBB0_8
LBB0_5:
	movq	%r15, %rdi
	callq	_nvlist_free
LBB0_6:
	xorl	%r14d, %r14d
LBB0_7:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.9:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_check_replication
	testq	%rax, %rax
	jne	LBB0_5
LBB0_11:
	movq	%r15, %r14
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_is_force,4,2                   ## @is_force
	.comm	_B_FALSE,4,2                    ## @B_FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_make_root_vdev                 ; -- Begin function make_root_vdev
	.p2align	2
_make_root_vdev:                        ; @make_root_vdev
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x1, [x29, #16]
Lloh0:
	adrp	x8, _is_force@GOTPAGE
Lloh1:
	ldr	x8, [x8, _is_force@GOTPAGEOFF]
Lloh2:
	str	w22, [x8]
	mov	x0, x7
	bl	_construct_spec
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.1:
	cbz	x23, LBB0_3
; %bb.2:
	mov	x0, x23
	mov	x1, #0
	bl	_zpool_get_config
	mov	x23, x0
	cbz	x0, LBB0_5
LBB0_3:
Lloh3:
	adrp	x8, _B_FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B_FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, x23
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	bl	_is_device_in_use
	cbz	x0, LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_nvlist_free
LBB0_5:
	mov	x19, #0
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	cbz	w20, LBB0_6
; %bb.8:
	mov	x0, x23
	mov	x1, x19
	bl	_check_replication
	cbnz	x0, LBB0_4
	b	LBB0_6
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_is_force,4,2                   ; @is_force
	.comm	_B_FALSE,4,2                    ; @B_FALSE
.subsections_via_symbols
