	.file	"extr_libzfs_pool.c_vdev_get_one_physpath.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	" %s"
	.text
	.p2align 4
	.type	vdev_get_one_physpath, @function
vdev_get_one_physpath:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR ZPOOL_CONFIG_PHYS_PATH[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rdx, rsp
	call	nvlist_lookup_string@PLT
	mov	r8d, DWORD PTR EZFS_NODEVICE[rip]
	test	rax, rax
	jne	.L1
	mov	rsi, QWORD PTR [r12]
	lea	rax, .LC1[rip]
	lea	rdx, .LC0[rip]
	mov	rcx, QWORD PTR [rsp]
	sub	rbx, rsi
	test	rsi, rsi
	cmovne	rdx, rax
	add	rbp, rsi
	mov	rsi, rbx
	mov	rdi, rbp
	call	snprintf@PLT
	xor	r8d, r8d
	add	QWORD PTR [r12], rax
	cmp	rbx, rax
	jbe	.L14
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	test	rbx, rbx
	je	.L5
	mov	BYTE PTR 0[rbp], 0
.L5:
	mov	r8d, DWORD PTR EZFS_NOSPC[rip]
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	vdev_get_one_physpath, .-vdev_get_one_physpath
	.comm	ZPOOL_CONFIG_PHYS_PATH,4,4
	.comm	EZFS_NOSPC,4,4
	.comm	EZFS_NODEVICE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_libzfs_pool.c_vdev_get_one_physpath.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s\000"
	.align	2
.LC1:
	.ascii	" %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vdev_get_one_physpath, %function
vdev_get_one_physpath:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r1
	ldr	r1, .L16
	sub	sp, sp, #8
	mov	r6, r3
	ldr	r3, .L16+4
	mov	r4, r2
	ldr	r1, [r1]
	mov	r2, sp
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	nvlist_lookup_string
	subs	r5, r0, #0
	bne	.L13
	ldr	r8, [r6]
	ldr	r3, .L16+8
	cmp	r8, #0
	sub	r4, r4, r8
	ldr	r2, .L16+12
	mov	r1, r4
	movne	r2, r3
	add	r0, r7, r8
	ldr	r3, [sp]
	bl	snprintf
	ldr	r3, [r6]
	cmp	r4, r0
	add	r0, r3, r0
	str	r0, [r6]
	bls	.L14
.L1:
	ldr	r3, .L16+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	ldr	r3, .L16+16
	cmp	r4, #0
	strbne	r5, [r7, r8]
	ldr	r5, [r3]
	b	.L1
.L13:
	ldr	r3, .L16+20
	ldr	r5, [r3]
	b	.L1
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	ZPOOL_CONFIG_PHYS_PATH
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.word	EZFS_NOSPC
	.word	EZFS_NODEVICE
	.size	vdev_get_one_physpath, .-vdev_get_one_physpath
	.comm	ZPOOL_CONFIG_PHYS_PATH,4,4
	.comm	EZFS_NOSPC,4,4
	.comm	EZFS_NODEVICE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
