	.file	"extr_libzfs_dataset.c_zfs_handle_dup.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	zfs_handle_dup
	.type	zfs_handle_dup, @function
zfs_handle_dup:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, 1
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	mov	edi, 72
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	calloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	eax, DWORD PTR 16[rbx]
	mov	edi, DWORD PTR 60[r12]
	mov	edx, 4
	mov	esi, DWORD PTR 60[rbx]
	mov	DWORD PTR 16[r12], eax
	mov	eax, DWORD PTR 64[rbx]
	mov	DWORD PTR 64[r12], eax
	call	strlcpy@PLT
	mov	eax, DWORD PTR 56[rbx]
	mov	rdi, QWORD PTR 40[rbx]
	mov	DWORD PTR 56[r12], eax
	mov	eax, DWORD PTR 52[rbx]
	mov	DWORD PTR 52[r12], eax
	mov	eax, DWORD PTR 48[rbx]
	mov	DWORD PTR 48[r12], eax
	test	rdi, rdi
	je	.L3
	xor	edx, edx
	lea	rsi, 40[r12]
	call	nvlist_dup@PLT
	test	rax, rax
	jne	.L32
.L3:
	mov	rdi, QWORD PTR 32[rbx]
	test	rdi, rdi
	je	.L4
	xor	edx, edx
	lea	rsi, 32[r12]
	call	nvlist_dup@PLT
	test	rax, rax
	jne	.L32
.L4:
	mov	rdi, QWORD PTR 24[rbx]
	test	rdi, rdi
	je	.L5
	xor	edx, edx
	lea	rsi, 24[r12]
	call	nvlist_dup@PLT
	test	rax, rax
	jne	.L32
.L5:
	mov	eax, DWORD PTR 20[rbx]
	mov	rsi, QWORD PTR 8[rbx]
	mov	DWORD PTR 20[r12], eax
	test	rsi, rsi
	je	.L6
	mov	edi, DWORD PTR 16[rbx]
	call	zfs_strdup@PLT
	mov	QWORD PTR 8[r12], rax
.L6:
	mov	eax, DWORD PTR [rbx]
	mov	DWORD PTR [r12], eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L32:
	.cfi_restore_state
	mov	edi, DWORD PTR 16[r12]
	call	no_memory@PLT
	mov	rdi, r12
	xor	r12d, r12d
	call	zfs_close@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	zfs_handle_dup, .-zfs_handle_dup
	.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_dataset.c_zfs_handle_dup.c"
	.text
	.align	2
	.global	zfs_handle_dup
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfs_handle_dup, %function
zfs_handle_dup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r1, #1
	mov	r5, r0
	mov	r0, #48
	bl	calloc
	subs	r4, r0, #0
	beq	.L1
	ldr	r2, [r5, #8]
	ldr	r3, [r5, #44]
	ldr	r1, [r5, #40]
	str	r2, [r4, #8]
	str	r3, [r4, #44]
	mov	r2, #4
	ldr	r0, [r4, #40]
	bl	strlcpy
	ldr	r0, [r5, #24]
	ldr	r1, [r5, #36]
	ldr	r2, [r5, #32]
	ldr	r3, [r5, #28]
	cmp	r0, #0
	str	r1, [r4, #36]
	str	r2, [r4, #32]
	str	r3, [r4, #28]
	beq	.L3
	mov	r2, #0
	add	r1, r4, #24
	bl	nvlist_dup
	cmp	r0, #0
	bne	.L32
.L3:
	ldr	r0, [r5, #20]
	cmp	r0, #0
	beq	.L4
	mov	r2, #0
	add	r1, r4, #20
	bl	nvlist_dup
	cmp	r0, #0
	bne	.L32
.L4:
	ldr	r0, [r5, #16]
	cmp	r0, #0
	beq	.L5
	mov	r2, #0
	add	r1, r4, #16
	bl	nvlist_dup
	cmp	r0, #0
	bne	.L32
.L5:
	ldr	r1, [r5, #4]
	ldr	r3, [r5, #12]
	cmp	r1, #0
	str	r3, [r4, #12]
	beq	.L6
	ldr	r0, [r5, #8]
	bl	zfs_strdup
	str	r0, [r4, #4]
.L6:
	ldr	r3, [r5]
	str	r3, [r4]
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L32:
	ldr	r0, [r4, #8]
	bl	no_memory
	mov	r0, r4
	mov	r4, #0
	bl	zfs_close
	mov	r0, r4
	pop	{r4, r5, r6, pc}
	.size	zfs_handle_dup, .-zfs_handle_dup
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
