	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zpool_get_config_physpath
_zpool_get_config_physpath:             ## @zpool_get_config_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	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	$0, -40(%rbp)
	movq	_ZPOOL_CONFIG_VDEV_TREE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	callq	_nvlist_lookup_nvlist
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	-32(%rbp), %rdi
	movq	_ZPOOL_CONFIG_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	callq	_nvlist_lookup_string
	testq	%rax, %rax
	jne	LBB0_1
## %bb.3:
	movq	-32(%rbp), %rdi
	movq	_ZPOOL_CONFIG_CHILDREN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	leaq	-20(%rbp), %rcx
	callq	_nvlist_lookup_nvlist_array
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	movq	_EZFS_INVALCONFIG@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
LBB0_10:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	-48(%rbp), %rdi
	movq	_VDEV_TYPE_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	cmpl	$1, -20(%rbp)
	jne	LBB0_6
## %bb.7:
	movq	-56(%rbp), %rax
	movq	(%rax), %rdi
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-40(%rbp), %rcx
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_vdev_get_physpaths
	xorl	%eax, %eax
	cmpq	$0, -40(%rbp)
	jne	LBB0_10
## %bb.8:
	movq	_EZFS_NODEVICE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	_EZFS_POOL_INVALARG@GOTPCREL(%rip), %rax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ZPOOL_CONFIG_VDEV_TREE,4,2     ## @ZPOOL_CONFIG_VDEV_TREE
	.comm	_EZFS_INVALCONFIG,4,2           ## @EZFS_INVALCONFIG
	.comm	_ZPOOL_CONFIG_TYPE,4,2          ## @ZPOOL_CONFIG_TYPE
	.comm	_ZPOOL_CONFIG_CHILDREN,4,2      ## @ZPOOL_CONFIG_CHILDREN
	.comm	_VDEV_TYPE_ROOT,4,2             ## @VDEV_TYPE_ROOT
	.comm	_EZFS_POOL_INVALARG,4,2         ## @EZFS_POOL_INVALARG
	.comm	_B_FALSE,4,2                    ## @B_FALSE
	.comm	_EZFS_NODEVICE,4,2              ## @EZFS_NODEVICE
	.no_dead_strip	_zpool_get_config_physpath
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zpool_get_config_physpath
_zpool_get_config_physpath:             ; @zpool_get_config_physpath
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x2
	mov	x20, x1
	stur	xzr, [x29, #-24]
Lloh0:
	adrp	x8, _ZPOOL_CONFIG_VDEV_TREE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZPOOL_CONFIG_VDEV_TREE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #32
	bl	_nvlist_lookup_nvlist
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	x0, [sp, #32]
Lloh3:
	adrp	x8, _ZPOOL_CONFIG_TYPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZPOOL_CONFIG_TYPE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_nvlist_lookup_string
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	x0, [sp, #32]
Lloh6:
	adrp	x8, _ZPOOL_CONFIG_CHILDREN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ZPOOL_CONFIG_CHILDREN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #24
	add	x3, sp, #20
	bl	_nvlist_lookup_nvlist_array
	cbz	x0, LBB0_6
LBB0_3:
Lloh9:
	adrp	x8, _EZFS_INVALCONFIG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EZFS_INVALCONFIG@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	ldr	x0, [sp, #8]
Lloh11:
	adrp	x8, _VDEV_TYPE_ROOT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VDEV_TYPE_ROOT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_strcmp
	ldr	w8, [sp, #20]
	cmp	x0, #0
	ccmp	w8, #1, #0, eq
	b.eq	LBB0_8
; %bb.7:
Lloh14:
	adrp	x8, _EZFS_POOL_INVALARG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EZFS_POOL_INVALARG@GOTPAGEOFF]
	b	LBB0_4
LBB0_8:
	ldr	x8, [sp, #24]
	ldr	x0, [x8]
Lloh16:
	adrp	x8, _B_FALSE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _B_FALSE@GOTPAGEOFF]
Lloh18:
	ldr	w4, [x8]
	sub	x3, x29, #24
	mov	x1, x20
	mov	x2, x19
	bl	_vdev_get_physpaths
	ldur	x8, [x29, #-24]
Lloh19:
	adrp	x9, _EZFS_NODEVICE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _EZFS_NODEVICE@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w0, w9, wzr, eq
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ZPOOL_CONFIG_VDEV_TREE,4,2     ; @ZPOOL_CONFIG_VDEV_TREE
	.comm	_EZFS_INVALCONFIG,4,2           ; @EZFS_INVALCONFIG
	.comm	_ZPOOL_CONFIG_TYPE,4,2          ; @ZPOOL_CONFIG_TYPE
	.comm	_ZPOOL_CONFIG_CHILDREN,4,2      ; @ZPOOL_CONFIG_CHILDREN
	.comm	_VDEV_TYPE_ROOT,4,2             ; @VDEV_TYPE_ROOT
	.comm	_EZFS_POOL_INVALARG,4,2         ; @EZFS_POOL_INVALARG
	.comm	_B_FALSE,4,2                    ; @B_FALSE
	.comm	_EZFS_NODEVICE,4,2              ; @EZFS_NODEVICE
	.no_dead_strip	_zpool_get_config_physpath
.subsections_via_symbols
