	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vdev_get_one_physpath
_vdev_get_one_physpath:                 ## @vdev_get_one_physpath
	.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
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	_ZPOOL_CONFIG_PHYS_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	callq	_nvlist_lookup_string
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EZFS_NODEVICE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	(%r15), %r13
	movq	%r14, %rbx
	subq	%r13, %rbx
	testq	%r13, %r13
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	addq	%r13, %r12
	movq	-48(%rbp), %rcx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_snprintf
	movq	%rax, %rcx
	addq	%rax, (%r15)
	xorl	%eax, %eax
	cmpq	%rbx, %rcx
	jb	LBB0_7
## %bb.3:
	cmpq	%r14, %r13
	je	LBB0_5
## %bb.4:
	movb	$0, (%r12)
LBB0_5:
	movq	_EZFS_NOSPC@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZPOOL_CONFIG_PHYS_PATH,4,2     ## @ZPOOL_CONFIG_PHYS_PATH
	.comm	_EZFS_NODEVICE,4,2              ## @EZFS_NODEVICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	" %s"

	.comm	_EZFS_NOSPC,4,2                 ## @EZFS_NOSPC
	.no_dead_strip	_vdev_get_one_physpath
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vdev_get_one_physpath
_vdev_get_one_physpath:                 ; @vdev_get_one_physpath
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x3
	mov	x19, x2
	mov	x21, x1
Lloh0:
	adrp	x8, _ZPOOL_CONFIG_PHYS_PATH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZPOOL_CONFIG_PHYS_PATH@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_nvlist_lookup_string
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EZFS_NODEVICE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EZFS_NODEVICE@GOTPAGEOFF]
	b	LBB0_7
LBB0_2:
	ldr	x23, [x20]
	sub	x22, x19, x23
Lloh5:
	adrp	x8, l_.str.1@PAGE
Lloh6:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh7:
	adrp	x9, l_.str@PAGE
Lloh8:
	add	x9, x9, l_.str@PAGEOFF
	cmp	x23, #0
	csel	x2, x9, x8, eq
	add	x21, x21, x23
	ldr	x3, [sp, #8]
	mov	x0, x21
	mov	x1, x22
	bl	_snprintf
	ldr	x8, [x20]
	add	x8, x8, x0
	str	x8, [x20]
	cmp	x0, x22
	b.hs	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_8
LBB0_4:
	cmp	x23, x19
	b.eq	LBB0_6
; %bb.5:
	strb	wzr, [x21]
LBB0_6:
Lloh9:
	adrp	x8, _EZFS_NOSPC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EZFS_NOSPC@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ZPOOL_CONFIG_PHYS_PATH,4,2     ; @ZPOOL_CONFIG_PHYS_PATH
	.comm	_EZFS_NODEVICE,4,2              ; @EZFS_NODEVICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	" %s"

	.comm	_EZFS_NOSPC,4,2                 ; @EZFS_NOSPC
	.no_dead_strip	_vdev_get_one_physpath
.subsections_via_symbols
