	.file	"extr_dsl_userhold.c_dsl_dataset_user_release_onexit.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"couldn't release holds on pool=%s because pool is no longer loaded"
	.align 8
.LC1:
	.string	"couldn't release holds on pool=%s because pool is no longer loaded (guid doesn't match)"
	.text
	.p2align 4
	.type	dsl_dataset_user_release_onexit, @function
dsl_dataset_user_release_onexit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 12[rdi]
	mov	edx, DWORD PTR FTAG[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rsi, rsp
	call	spa_open@PLT
	test	eax, eax
	jne	.L9
	mov	rdi, QWORD PTR [rsp]
	call	spa_load_guid@PLT
	cmp	rax, QWORD PTR 0[rbp]
	jne	.L10
	mov	rdi, QWORD PTR [rsp]
	mov	r12d, DWORD PTR 8[rbp]
	call	spa_get_dsl@PLT
	mov	esi, r12d
	mov	edi, eax
	call	dsl_dataset_user_release_tmp@PLT
	mov	edi, DWORD PTR 8[rbp]
	call	fnvlist_free@PLT
	mov	esi, 16
	mov	rdi, rbp
	call	kmem_free@PLT
	mov	esi, DWORD PTR FTAG[rip]
	mov	rdi, QWORD PTR [rsp]
	call	spa_close@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 24
	.cfi_remember_state
	.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
.L10:
	.cfi_restore_state
	mov	esi, DWORD PTR 12[rbp]
	lea	rdi, .LC1[rip]
	call	zfs_dbgmsg@PLT
	mov	esi, DWORD PTR FTAG[rip]
	mov	rdi, QWORD PTR [rsp]
	call	spa_close@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	esi, DWORD PTR 12[rbp]
	lea	rdi, .LC0[rip]
	call	zfs_dbgmsg@PLT
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dsl_dataset_user_release_onexit, .-dsl_dataset_user_release_onexit
	.comm	FTAG,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_dsl_userhold.c_dsl_dataset_user_release_onexit.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"couldn't release holds on pool=%s because pool is n"
	.ascii	"o longer loaded\000"
	.align	2
.LC1:
	.ascii	"couldn't release holds on pool=%s because pool is n"
	.ascii	"o longer loaded (guid doesn't match)\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dsl_dataset_user_release_onexit, %function
dsl_dataset_user_release_onexit:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r5, .L12
	sub	sp, sp, #12
	ldr	r3, .L12+4
	mov	r4, r0
	mov	r1, sp
	ldr	r0, [r0, #8]
	ldr	r2, [r5]
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	spa_open
	cmp	r0, #0
	bne	.L9
	ldr	r0, [sp]
	bl	spa_load_guid
	ldr	r3, [r4]
	cmp	r0, r3
	bne	.L10
	ldr	r0, [sp]
	bl	spa_get_dsl
	ldr	r1, [r4, #4]
	bl	dsl_dataset_user_release_tmp
	ldr	r0, [r4, #4]
	bl	fnvlist_free
	mov	r1, #12
	mov	r0, r4
	bl	kmem_free
	ldr	r1, [r5]
	ldr	r0, [sp]
	bl	spa_close
.L1:
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L10:
	ldr	r1, [r4, #8]
	ldr	r0, .L12+8
	bl	zfs_dbgmsg
	ldr	r1, [r5]
	ldr	r0, [sp]
	bl	spa_close
	b	.L1
.L9:
	ldr	r1, [r4, #8]
	ldr	r0, .L12+12
	bl	zfs_dbgmsg
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	FTAG
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.size	dsl_dataset_user_release_onexit, .-dsl_dataset_user_release_onexit
	.comm	FTAG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
