	.file	"extr_libzfs_sendrecv.c_guid_to_name_cb.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	guid_to_name_cb, @function
guid_to_name_cb:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	cmp	QWORD PTR 24[rsi], 0
	mov	rbp, rdi
	je	.L2
	mov	edi, DWORD PTR [rdi]
	mov	esi, 47
	call	strrchr@PLT
	test	rax, rax
	je	.L2
	mov	rsi, QWORD PTR 24[r12]
	lea	rdi, 1[rax]
	call	strcmp@PLT
	test	rax, rax
	je	.L11
.L2:
	mov	esi, DWORD PTR ZFS_PROP_GUID[rip]
	mov	rdi, rbp
	call	zfs_prop_get_int@PLT
	cmp	rax, QWORD PTR [r12]
	je	.L12
	mov	rdx, r12
	lea	rsi, guid_to_name_cb[rip]
	mov	rdi, rbp
	call	zfs_iter_children@PLT
	cmp	DWORD PTR EEXIST[rip], eax
	mov	r13d, eax
	je	.L5
	cmp	QWORD PTR 8[r12], 0
	jne	.L13
.L5:
	mov	rdi, rbp
	call	zfs_close@PLT
.L1:
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdx, r12
	lea	rsi, guid_to_name_cb[rip]
	mov	rdi, rbp
	call	zfs_iter_bookmarks@PLT
	mov	r13d, eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, rbp
	xor	r13d, r13d
	call	zfs_close@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edi, DWORD PTR 16[r12]
	mov	esi, DWORD PTR 0[rbp]
	call	strcpy@PLT
	mov	rdi, rbp
	call	zfs_close@PLT
	mov	r13d, DWORD PTR EEXIST[rip]
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	mov	eax, r13d
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	guid_to_name_cb, .-guid_to_name_cb
	.comm	ZFS_PROP_GUID,4,4
	.comm	EEXIST,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_sendrecv.c_guid_to_name_cb.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	guid_to_name_cb, %function
guid_to_name_cb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1, #12]
	push	{r4, r5, r6, lr}
	cmp	r3, #0
	mov	r4, r1
	mov	r6, r0
	beq	.L2
	mov	r1, #47
	ldr	r0, [r0]
	bl	strrchr
	cmp	r0, #0
	beq	.L2
	ldr	r1, [r4, #12]
	add	r0, r0, #1
	bl	strcmp
	subs	r5, r0, #0
	beq	.L5
.L2:
	ldr	r3, .L19
	mov	r0, r6
	ldr	r1, [r3]
	bl	zfs_prop_get_int
	ldr	r3, [r4]
	cmp	r0, r3
	beq	.L17
	mov	r2, r4
	mov	r0, r6
	ldr	r1, .L19+4
	bl	zfs_iter_children
	ldr	r3, .L19+8
	mov	r5, r0
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L5
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L18
.L5:
	mov	r0, r6
	bl	zfs_close
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L18:
	mov	r2, r4
	mov	r0, r6
	ldr	r1, .L19+4
	bl	zfs_iter_bookmarks
	mov	r5, r0
	b	.L5
.L17:
	ldr	r1, [r6]
	ldr	r0, [r4, #8]
	bl	strcpy
	mov	r0, r6
	bl	zfs_close
	ldr	r3, .L19+8
	ldr	r5, [r3]
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L20:
	.align	2
.L19:
	.word	ZFS_PROP_GUID
	.word	guid_to_name_cb
	.word	EEXIST
	.size	guid_to_name_cb, .-guid_to_name_cb
	.comm	ZFS_PROP_GUID,4,4
	.comm	EEXIST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
