	.file	"extr_libzfs_dataset.c_zfs_get_clones_nvl.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/@"
	.text
	.p2align 4
	.globl	zfs_get_clones_nvl
	.type	zfs_get_clones_nvl, @function
zfs_get_clones_nvl:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	push	r13
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	lea	r13, -80[rbp]
	push	r12
	.cfi_offset 12, -40
	lea	r12, -88[rbp]
	push	rbx
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 64
	mov	edi, DWORD PTR ZFS_PROP_CLONES[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	call	zfs_prop_to_name@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	rdx, r12
	mov	esi, eax
	call	nvlist_lookup_nvlist@PLT
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR ZFS_TYPE_SNAPSHOT[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L5
	mov	esi, DWORD PTR NV_UNIQUE_NAME[rip]
	xor	edx, edx
	mov	rdi, r12
	call	nvlist_alloc@PLT
	test	rax, rax
	jne	.L5
	lea	r13, -80[rbp]
	mov	esi, DWORD PTR NV_UNIQUE_NAME[rip]
	xor	edx, edx
	mov	rdi, r13
	call	nvlist_alloc@PLT
	test	rax, rax
	jne	.L25
	mov	esi, DWORD PTR ZFS_PROP_NUMCLONES[rip]
	mov	rdi, rbx
	call	zfs_prop_get_int@PLT
	mov	rdx, QWORD PTR -80[rbp]
	mov	esi, DWORD PTR 20[rbx]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -48[rbp], rdx
	mov	DWORD PTR -56[rbp], esi
	test	rax, rax
	jne	.L26
.L6:
	mov	esi, DWORD PTR ZPROP_VALUE[rip]
	mov	rdi, QWORD PTR -88[rbp]
	call	nvlist_add_nvlist@PLT
	test	rax, rax
	jne	.L11
	mov	edi, DWORD PTR ZFS_PROP_CLONES[rip]
	mov	r14, QWORD PTR -88[rbp]
	call	zfs_prop_to_name@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	rdx, r14
	mov	esi, eax
	call	nvlist_add_nvlist@PLT
	test	rax, rax
	jne	.L11
	mov	rdi, QWORD PTR -88[rbp]
	call	nvlist_free@PLT
	mov	rdi, QWORD PTR -80[rbp]
	call	nvlist_free@PLT
	mov	edi, DWORD PTR ZFS_PROP_CLONES[rip]
	call	zfs_prop_to_name@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	rdx, r12
	mov	esi, eax
	call	nvlist_lookup_nvlist@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	verify@PLT
.L2:
	mov	esi, DWORD PTR ZPROP_VALUE[rip]
	mov	rdi, QWORD PTR -88[rbp]
	mov	rdx, r13
	call	nvlist_lookup_nvlist@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	verify@PLT
	mov	rax, QWORD PTR -80[rbp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L25:
	mov	rdi, QWORD PTR -88[rbp]
	call	nvlist_free@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR -40[rbp]
	xor	rcx, QWORD PTR fs:40
	jne	.L27
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	movsx	rax, DWORD PTR ZFS_MAX_DATASET_NAME_LEN[rip]
	mov	rcx, rsp
	mov	r14, rsp
	mov	r8, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
.L7:
	cmp	rsp, rax
	je	.L8
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, QWORD PTR -88[rbp]
	call	nvlist_free@PLT
	mov	rdi, QWORD PTR -80[rbp]
	call	nvlist_free@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L8:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	je	.L9
	or	QWORD PTR -8[rsp+rdx], 0
.L9:
	mov	edx, r8d
	mov	rdi, rsp
	mov	QWORD PTR -72[rbp], rsp
	call	strlcpy@PLT
	lea	rdi, -72[rbp]
	lea	rsi, .LC0[rip]
	call	strsep@PLT
	mov	edi, DWORD PTR 16[rbx]
	mov	edx, DWORD PTR ZFS_TYPE_FILESYSTEM[rip]
	mov	rsi, rsp
	call	zfs_open@PLT
	lea	rsi, -64[rbp]
	mov	rdi, rax
	call	get_clones_cb@PLT
	cmp	QWORD PTR -64[rbp], 0
	mov	rsp, r14
	jne	.L11
	mov	rdx, QWORD PTR -80[rbp]
	jmp	.L6
.L27:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zfs_get_clones_nvl, .-zfs_get_clones_nvl
	.comm	ZPROP_VALUE,4,4
	.comm	ZFS_TYPE_SNAPSHOT,8,8
	.comm	ZFS_TYPE_FILESYSTEM,4,4
	.comm	ZFS_PROP_NUMCLONES,4,4
	.comm	ZFS_PROP_CLONES,4,4
	.comm	ZFS_MAX_DATASET_NAME_LEN,4,4
	.comm	NV_UNIQUE_NAME,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_dataset.c_zfs_get_clones_nvl.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"/@\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	zfs_get_clones_nvl
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfs_get_clones_nvl, %function
zfs_get_clones_nvl:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #36
	mov	r4, r0
	ldr	r5, .L23
	ldr	r3, .L23+4
	ldr	r0, [r5]
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	ldr	r6, [r4, #4]
	bl	zfs_prop_to_name
	sub	r2, fp, #56
	mov	r1, r0
	mov	r0, r6
	bl	nvlist_lookup_nvlist
	cmp	r0, #0
	beq	.L19
	ldr	r3, .L23+8
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L5
	ldr	r7, .L23+12
	mov	r2, #0
	ldr	r1, [r7]
	sub	r0, fp, #56
	bl	nvlist_alloc
	subs	r2, r0, #0
	bne	.L5
	sub	r6, fp, #52
	mov	r0, r6
	ldr	r1, [r7]
	bl	nvlist_alloc
	cmp	r0, #0
	bne	.L20
	ldr	r3, .L23+16
	mov	r0, r4
	ldr	r1, [r3]
	bl	zfs_prop_get_int
	ldr	r2, [fp, #-52]
	ldr	r1, [r4, #12]
	cmp	r0, #0
	str	r0, [fp, #-44]
	str	r2, [fp, #-36]
	str	r1, [fp, #-40]
	bne	.L21
.L6:
	ldr	r7, .L23+20
	ldr	r0, [fp, #-56]
	ldr	r1, [r7]
	bl	nvlist_add_nvlist
	cmp	r0, #0
	bne	.L8
	ldr	r0, [r5]
	ldr	r8, [r4, #4]
	bl	zfs_prop_to_name
	ldr	r2, [fp, #-56]
	mov	r1, r0
	mov	r0, r8
	bl	nvlist_add_nvlist
	cmp	r0, #0
	bne	.L8
	ldr	r0, [fp, #-56]
	bl	nvlist_free
	ldr	r0, [fp, #-52]
	bl	nvlist_free
	ldr	r0, [r5]
	ldr	r4, [r4, #4]
	bl	zfs_prop_to_name
	sub	r2, fp, #56
	mov	r1, r0
	mov	r0, r4
	bl	nvlist_lookup_nvlist
	clz	r0, r0
	lsr	r0, r0, #5
	bl	verify
	b	.L2
.L20:
	ldr	r0, [fp, #-56]
	bl	nvlist_free
.L5:
	mov	r0, #0
.L1:
	ldr	r3, .L23+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L19:
	ldr	r7, .L23+20
	sub	r6, fp, #52
.L2:
	mov	r2, r6
	ldr	r1, [r7]
	ldr	r0, [fp, #-56]
	bl	nvlist_lookup_nvlist
	clz	r0, r0
	lsr	r0, r0, #5
	bl	verify
	ldr	r0, [fp, #-52]
	b	.L1
.L21:
	mov	r7, sp
	ldr	r3, .L23+24
	ldr	r2, [r3]
	add	r3, r2, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r0, sp
	str	sp, [fp, #-48]
	bl	strlcpy
	ldr	r1, .L23+28
	sub	r0, fp, #48
	bl	strsep
	ldr	r3, .L23+32
	mov	r1, sp
	ldr	r2, [r3]
	ldr	r0, [r4, #8]
	bl	zfs_open
	sub	r1, fp, #44
	bl	get_clones_cb
	ldr	r3, [fp, #-44]
	mov	sp, r7
	cmp	r3, #0
	beq	.L7
.L8:
	ldr	r0, [fp, #-56]
	bl	nvlist_free
	ldr	r0, [fp, #-52]
	bl	nvlist_free
	b	.L5
.L7:
	ldr	r2, [fp, #-52]
	b	.L6
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	ZFS_PROP_CLONES
	.word	.LC1
	.word	ZFS_TYPE_SNAPSHOT
	.word	NV_UNIQUE_NAME
	.word	ZFS_PROP_NUMCLONES
	.word	ZPROP_VALUE
	.word	ZFS_MAX_DATASET_NAME_LEN
	.word	.LC0
	.word	ZFS_TYPE_FILESYSTEM
	.size	zfs_get_clones_nvl, .-zfs_get_clones_nvl
	.comm	ZPROP_VALUE,4,4
	.comm	ZFS_TYPE_SNAPSHOT,4,4
	.comm	ZFS_TYPE_FILESYSTEM,4,4
	.comm	ZFS_PROP_NUMCLONES,4,4
	.comm	ZFS_PROP_CLONES,4,4
	.comm	ZFS_MAX_DATASET_NAME_LEN,4,4
	.comm	NV_UNIQUE_NAME,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
