	.file	"extr_zfs_ioctl.c_zfs_ioc_hold.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"holds"
.LC1:
	.string	"cleanup_fd"
	.text
	.p2align 4
	.type	zfs_ioc_hold, @function
zfs_ioc_hold:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	lea	rsi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rdi, r12
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	rdx, 16[rsp]
	mov	DWORD PTR 12[rsp], -1
	mov	QWORD PTR 24[rsp], 0
	call	nvlist_lookup_nvlist@PLT
	test	eax, eax
	jne	.L18
	mov	rdi, QWORD PTR 16[rsp]
	xor	esi, esi
	call	nvlist_next_nvpair@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L4
	lea	rbx, 32[rsp]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR 32[rsp]
	cmp	BYTE PTR [rax], 0
	je	.L18
	mov	rdi, QWORD PTR 16[rsp]
	mov	rsi, rbp
	call	nvlist_next_nvpair@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L4
.L8:
	mov	rsi, rbx
	mov	rdi, rbp
	call	nvpair_value_string@PLT
	test	eax, eax
	je	.L5
	mov	edi, eax
	call	SET_ERROR@PLT
	mov	r12d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	mov	edi, DWORD PTR EINVAL[rip]
	call	SET_ERROR@PLT
	mov	r12d, eax
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L4:
	.cfi_restore_state
	lea	rdx, 12[rsp]
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	nvlist_lookup_int32@PLT
	test	rax, rax
	je	.L9
.L11:
	mov	rsi, QWORD PTR 24[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	mov	rdx, r13
	call	dsl_dataset_user_hold@PLT
	cmp	QWORD PTR 24[rsp], 0
	mov	r12d, eax
	je	.L1
	mov	edi, DWORD PTR 12[rsp]
	call	zfs_onexit_fd_rele@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, DWORD PTR 12[rsp]
	lea	rsi, 24[rsp]
	call	zfs_onexit_fd_hold@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L11
	jmp	.L1
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zfs_ioc_hold, .-zfs_ioc_hold
	.comm	EINVAL,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_zfs_ioctl.c_zfs_ioc_hold.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"holds\000"
	.align	2
.LC1:
	.ascii	"cleanup_fd\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfs_ioc_hold, %function
zfs_ioc_hold:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mvn	r1, #0
	mov	r3, #0
	ldr	ip, .L23
	sub	sp, sp, #24
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	mov	r6, r2
	str	r1, [sp, #8]
	mov	r0, r5
	ldr	r1, .L23+4
	add	r2, sp, #4
	str	r3, [sp, #12]
	bl	nvlist_lookup_nvlist
	subs	r1, r0, #0
	beq	.L18
	b	.L19
.L8:
	mov	r0, r4
	add	r1, sp, #16
	bl	nvpair_value_string
	cmp	r0, #0
	bne	.L20
	ldr	r3, [sp, #16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L19
	mov	r1, r4
.L18:
	ldr	r0, [sp, #4]
	bl	nvlist_next_nvpair
	subs	r4, r0, #0
	bne	.L8
	mov	r0, r5
	ldr	r1, .L23+8
	add	r2, sp, #8
	bl	nvlist_lookup_int32
	cmp	r0, #0
	beq	.L9
.L11:
	mov	r2, r6
	ldr	r1, [sp, #12]
	ldr	r0, [sp, #4]
	bl	dsl_dataset_user_hold
	ldr	r3, [sp, #12]
	mov	r4, r0
	cmp	r3, #0
	beq	.L1
	ldr	r0, [sp, #8]
	bl	zfs_onexit_fd_rele
	b	.L1
.L19:
	ldr	r3, .L23+12
	ldr	r0, [r3]
.L20:
	bl	SET_ERROR
	mov	r4, r0
.L1:
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r0, [sp, #8]
	add	r1, sp, #12
	bl	zfs_onexit_fd_hold
	subs	r4, r0, #0
	beq	.L11
	b	.L1
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.word	EINVAL
	.size	zfs_ioc_hold, .-zfs_ioc_hold
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
