	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zpool_find_vdev_by_physpath    ## -- Begin function zpool_find_vdev_by_physpath
	.p2align	4, 0x90
_zpool_find_vdev_by_physpath:           ## @zpool_find_vdev_by_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_NV_UNIQUE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_KM_SLEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rdi
	callq	_nvlist_alloc
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_verify
	movq	-48(%rbp), %rdi
	movq	_ZPOOL_CONFIG_PHYS_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_nvlist_add_string
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_verify
	movl	(%r12), %edi
	movq	_ZPOOL_CONFIG_VDEV_TREE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	callq	_nvlist_lookup_nvlist
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_verify
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, (%r15)
	movl	(%rax), %ecx
	movl	%ecx, (%r14)
	testq	%r13, %r13
	je	LBB0_2
## %bb.1:
	movl	(%rax), %eax
	movl	%eax, (%r13)
LBB0_2:
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%r13, %r8
	callq	_vdev_to_nvlist_iter
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi
	callq	_nvlist_free
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NV_UNIQUE_NAME,4,2             ## @NV_UNIQUE_NAME
	.comm	_KM_SLEEP,4,2                   ## @KM_SLEEP
	.comm	_ZPOOL_CONFIG_PHYS_PATH,4,2     ## @ZPOOL_CONFIG_PHYS_PATH
	.comm	_ZPOOL_CONFIG_VDEV_TREE,4,2     ## @ZPOOL_CONFIG_VDEV_TREE
	.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	_zpool_find_vdev_by_physpath    ; -- Begin function zpool_find_vdev_by_physpath
	.p2align	2
_zpool_find_vdev_by_physpath:           ; @zpool_find_vdev_by_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	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _NV_UNIQUE_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NV_UNIQUE_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _KM_SLEEP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KM_SLEEP@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x0, sp, #8
	bl	_nvlist_alloc
	cmp	x0, #0
	cset	w0, eq
	bl	_verify
	ldr	x0, [sp, #8]
Lloh6:
	adrp	x8, _ZPOOL_CONFIG_PHYS_PATH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ZPOOL_CONFIG_PHYS_PATH@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x2, x22
	bl	_nvlist_add_string
	cmp	x0, #0
	cset	w0, eq
	bl	_verify
	ldr	w0, [x23]
Lloh9:
	adrp	x8, _ZPOOL_CONFIG_VDEV_TREE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ZPOOL_CONFIG_VDEV_TREE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_nvlist_lookup_nvlist
	cmp	x0, #0
	cset	w0, eq
	bl	_verify
Lloh12:
	adrp	x8, _B_FALSE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _B_FALSE@GOTPAGEOFF]
	ldr	w9, [x8]
	str	w9, [x21]
	ldr	w9, [x8]
	str	w9, [x20]
	cbz	x19, LBB0_2
; %bb.1:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_2:
	ldp	x0, x1, [sp]
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_vdev_to_nvlist_iter
	mov	x19, x0
	ldr	x0, [sp, #8]
	bl	_nvlist_free
	mov	x0, x19
	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 AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NV_UNIQUE_NAME,4,2             ; @NV_UNIQUE_NAME
	.comm	_KM_SLEEP,4,2                   ; @KM_SLEEP
	.comm	_ZPOOL_CONFIG_PHYS_PATH,4,2     ; @ZPOOL_CONFIG_PHYS_PATH
	.comm	_ZPOOL_CONFIG_VDEV_TREE,4,2     ; @ZPOOL_CONFIG_VDEV_TREE
	.comm	_B_FALSE,4,2                    ; @B_FALSE
.subsections_via_symbols
