	.file	"extr_zfs_ioctl.c_zfs_ioc_id_quota_upgrade.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	zfs_ioc_id_quota_upgrade, @function
zfs_ioc_id_quota_upgrade:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR FTAG[rip]
	mov	esi, DWORD PTR B_TRUE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	edi, DWORD PTR [rdi]
	mov	rcx, rsp
	call	dmu_objset_hold_flags@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L15
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	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
.L15:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rsp]
	call	dmu_objset_userobjspace_upgradable@PLT
	test	rax, rax
	jne	.L6
	mov	rdi, QWORD PTR [rsp]
	call	dmu_objset_projectquota_upgradable@PLT
	test	rax, rax
	je	.L17
.L6:
	mov	rax, QWORD PTR [rsp]
	lea	rdi, 24[rax]
	call	mutex_enter@PLT
	mov	rdi, QWORD PTR [rsp]
	cmp	QWORD PTR [rdi], 0
	jne	.L18
	mov	DWORD PTR 8[rdi], 0
	add	rdi, 24
	call	mutex_exit@PLT
	mov	rdi, QWORD PTR [rsp]
	call	dmu_objset_id_quota_upgrade@PLT
.L8:
	mov	rdi, QWORD PTR [rsp]
	mov	ebp, DWORD PTR FTAG[rip]
	call	dmu_objset_pool@PLT
	mov	esi, ebp
	mov	edi, eax
	call	dsl_pool_rele@PLT
	mov	rax, QWORD PTR [rsp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rsi, QWORD PTR [rax]
	mov	edi, DWORD PTR [rdx]
	call	taskq_wait_id@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	r12d, DWORD PTR 8[rdi]
.L9:
	mov	r13d, DWORD PTR FTAG[rip]
	mov	ebp, DWORD PTR DS_HOLD_FLAG_DECRYPT[rip]
	call	dmu_objset_ds@PLT
	mov	edi, eax
	mov	edx, r13d
	mov	esi, ebp
	call	dsl_dataset_rele_flags@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	add	rdi, 24
	call	mutex_exit@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, QWORD PTR [rsp]
	mov	ebp, DWORD PTR FTAG[rip]
	call	dmu_objset_pool@PLT
	mov	esi, ebp
	mov	edi, eax
	call	dsl_pool_rele@PLT
	mov	rdi, QWORD PTR [rsp]
	jmp	.L9
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zfs_ioc_id_quota_upgrade, .-zfs_ioc_id_quota_upgrade
	.comm	FTAG,4,4
	.comm	DS_HOLD_FLAG_DECRYPT,4,4
	.comm	B_TRUE,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_id_quota_upgrade.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfs_ioc_id_quota_upgrade, %function
zfs_ioc_id_quota_upgrade:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L19
	ldr	r5, .L19+4
	sub	sp, sp, #12
	ldr	ip, .L19+8
	ldr	r1, [r3]
	ldr	r0, [r0]
	mov	r3, sp
	ldr	r2, [r5]
	ldr	ip, [ip]
	str	ip, [sp, #4]
	mov	ip,#0
	bl	dmu_objset_hold_flags
	subs	r4, r0, #0
	beq	.L15
.L1:
	ldr	r3, .L19+8
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L15:
	ldr	r0, [sp]
	bl	dmu_objset_userobjspace_upgradable
	cmp	r0, #0
	bne	.L6
	ldr	r0, [sp]
	bl	dmu_objset_projectquota_upgradable
	subs	r4, r0, #0
	beq	.L17
.L6:
	ldr	r0, [sp]
	add	r0, r0, #12
	bl	mutex_enter
	ldr	r0, [sp]
	ldr	r3, [r0]
	cmp	r3, #0
	bne	.L18
	str	r3, [r0, #4]
	add	r0, r0, #12
	bl	mutex_exit
	ldr	r0, [sp]
	bl	dmu_objset_id_quota_upgrade
.L8:
	ldr	r0, [sp]
	bl	dmu_objset_pool
	ldr	r1, [r5]
	bl	dsl_pool_rele
	ldr	r3, [sp]
	ldr	r2, [r3, #8]
	ldr	r1, [r3]
	ldr	r0, [r2]
	bl	taskq_wait_id
	ldr	r0, [sp]
	ldr	r4, [r0, #4]
.L9:
	bl	dmu_objset_ds
	ldr	r3, .L19+12
	ldr	r2, [r5]
	ldr	r1, [r3]
	bl	dsl_dataset_rele_flags
	b	.L1
.L18:
	add	r0, r0, #12
	bl	mutex_exit
	b	.L8
.L17:
	ldr	r0, [sp]
	bl	dmu_objset_pool
	ldr	r1, [r5]
	bl	dsl_pool_rele
	ldr	r0, [sp]
	b	.L9
.L16:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	B_TRUE
	.word	FTAG
	.word	.LC0
	.word	DS_HOLD_FLAG_DECRYPT
	.size	zfs_ioc_id_quota_upgrade, .-zfs_ioc_id_quota_upgrade
	.comm	FTAG,4,4
	.comm	DS_HOLD_FLAG_DECRYPT,4,4
	.comm	B_TRUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
