	.file	"extr_dsl_pool.c_dsl_pool_user_hold_rele_impl.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%llx-%s"
	.text
	.p2align 4
	.type	dsl_pool_user_hold_rele_impl, @function
dsl_pool_user_hold_rele_impl:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rbp, QWORD PTR [rdi]
	mov	r14, QWORD PTR 16[rdi]
	mov	edi, DWORD PTR 8[rdi]
	mov	QWORD PTR 8[rsp], rcx
	mov	QWORD PTR [rsp], r9
	call	spa_version@PLT
	xor	edi, edi
	cmp	rax, QWORD PTR SPA_VERSION_USERREFS[rip]
	setge	dil
	call	ASSERT@PLT
	mov	rdi, r12
	call	dmu_tx_is_syncing@PLT
	mov	edi, eax
	call	ASSERT@PLT
	test	rbp, rbp
	jne	.L2
	cmp	QWORD PTR [rsp], 0
	je	.L3
	mov	rsi, r12
	mov	rdi, rbx
	call	dsl_pool_user_hold_create_obj@PLT
	mov	esi, r13d
	mov	rdx, r15
	mov	rbp, QWORD PTR [rbx]
	lea	rdi, .LC0[rip]
	call	kmem_asprintf@PLT
	mov	r13, rax
.L4:
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	rdx, r13
	mov	r8d, 1
	mov	rsi, rbp
	push	r12
	.cfi_def_cfa_offset 96
	mov	ecx, 8
	mov	rdi, r14
	lea	r9, 24[rsp]
	call	zap_add@PLT
	mov	r12d, eax
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
.L7:
	mov	rdi, r13
	call	kmem_strfree@PLT
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edi, DWORD PTR ENOENT[rip]
	call	SET_ERROR@PLT
	mov	r12d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	esi, r13d
	mov	rdx, r15
	lea	rdi, .LC0[rip]
	call	kmem_asprintf@PLT
	cmp	QWORD PTR [rsp], 0
	mov	r13, rax
	jne	.L4
	mov	rcx, r12
	mov	rdx, rax
	mov	rsi, rbp
	mov	rdi, r14
	call	zap_remove@PLT
	mov	r12d, eax
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	dsl_pool_user_hold_rele_impl, .-dsl_pool_user_hold_rele_impl
	.comm	SPA_VERSION_USERREFS,8,8
	.comm	ENOENT,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_pool.c_dsl_pool_user_hold_rele_impl.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%llx-%s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dsl_pool_user_hold_rele_impl, %function
dsl_pool_user_hold_rele_impl:
	@ args = 8, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	sub	sp, sp, #24
	ldr	r0, [r0, #4]
	mov	r5, r1
	mov	r9, r2
	ldr	r6, [r4]
	ldr	r7, [sp, #56]
	str	r3, [sp, #20]
	ldr	r8, [r4, #8]
	ldr	r10, [sp, #60]
	bl	spa_version
	ldr	r3, .L10
	ldr	r3, [r3]
	cmp	r0, r3
	movlt	r0, #0
	movge	r0, #1
	bl	ASSERT
	mov	r0, r7
	bl	dmu_tx_is_syncing
	bl	ASSERT
	cmp	r6, #0
	bne	.L2
	cmp	r10, #0
	beq	.L3
	mov	r1, r7
	mov	r0, r4
	bl	dsl_pool_user_hold_create_obj
	mov	r2, r9
	mov	r1, r5
	ldr	r0, .L10+4
	ldr	r6, [r4]
	bl	kmem_asprintf
	mov	r4, r0
.L4:
	mov	r2, #1
	add	r3, sp, #20
	stm	sp, {r2, r3}
	mov	r1, r6
	mov	r0, r8
	mov	r3, #8
	mov	r2, r4
	str	r7, [sp, #8]
	bl	zap_add
	mov	r5, r0
.L7:
	mov	r0, r4
	bl	kmem_strfree
	mov	r0, r5
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L3:
	ldr	r3, .L10+8
	ldr	r0, [r3]
	bl	SET_ERROR
	mov	r5, r0
	mov	r0, r5
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r2, r9
	mov	r1, r5
	ldr	r0, .L10+4
	bl	kmem_asprintf
	cmp	r10, #0
	mov	r4, r0
	bne	.L4
	mov	r3, r7
	mov	r1, r6
	mov	r0, r8
	mov	r2, r4
	bl	zap_remove
	mov	r5, r0
	b	.L7
.L11:
	.align	2
.L10:
	.word	SPA_VERSION_USERREFS
	.word	.LC0
	.word	ENOENT
	.size	dsl_pool_user_hold_rele_impl, .-dsl_pool_user_hold_rele_impl
	.comm	SPA_VERSION_USERREFS,4,4
	.comm	ENOENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
