	.file	"extr_vdev.c_vdev_destroy_ms_flush_data.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vdev_destroy_ms_flush_data, @function
vdev_destroy_ms_flush_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 4[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	spa_meta_objset@PLT
	mov	esi, DWORD PTR [rbx]
	test	esi, esi
	jne	.L10
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.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
	lea	r9, 4[rsp]
	mov	ecx, 4
	mov	rdi, rax
	mov	rbp, rax
	mov	edx, DWORD PTR VDEV_TOP_ZAP_MS_UNFLUSHED_PHYS_TXGS[rip]
	mov	r8d, 1
	mov	DWORD PTR 4[rsp], 0
	call	zap_lookup@PLT
	cmp	DWORD PTR ENOENT[rip], eax
	je	.L1
	mov	esi, DWORD PTR 4[rsp]
	mov	rdx, r12
	mov	rdi, rbp
	call	dmu_object_free@PLT
	mov	edi, eax
	call	VERIFY0@PLT
	mov	edx, DWORD PTR VDEV_TOP_ZAP_MS_UNFLUSHED_PHYS_TXGS[rip]
	mov	esi, DWORD PTR [rbx]
	mov	rdi, rbp
	mov	rcx, r12
	call	zap_remove@PLT
	mov	edi, eax
	call	VERIFY0@PLT
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	vdev_destroy_ms_flush_data, .-vdev_destroy_ms_flush_data
	.comm	VDEV_TOP_ZAP_MS_UNFLUSHED_PHYS_TXGS,4,4
	.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_vdev.c_vdev_destroy_ms_flush_data.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vdev_destroy_ms_flush_data, %function
vdev_destroy_ms_flush_data:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	ldr	r3, .L12
	sub	sp, sp, #20
	ldr	r0, [r0, #4]
	mov	r6, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	spa_meta_objset
	ldr	r1, [r4]
	cmp	r1, #0
	bne	.L10
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	mov	r2, #1
	mov	ip, #0
	ldr	r7, .L12+4
	add	r3, sp, #8
	stm	sp, {r2, r3}
	mov	r3, #4
	ldr	r2, [r7]
	mov	r5, r0
	str	ip, [sp, #8]
	bl	zap_lookup
	ldr	r3, .L12+8
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L1
	mov	r2, r6
	ldr	r1, [sp, #8]
	mov	r0, r5
	bl	dmu_object_free
	bl	VERIFY0
	mov	r3, r6
	ldr	r2, [r7]
	ldr	r1, [r4]
	mov	r0, r5
	bl	zap_remove
	bl	VERIFY0
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	VDEV_TOP_ZAP_MS_UNFLUSHED_PHYS_TXGS
	.word	ENOENT
	.size	vdev_destroy_ms_flush_data, .-vdev_destroy_ms_flush_data
	.comm	VDEV_TOP_ZAP_MS_UNFLUSHED_PHYS_TXGS,4,4
	.comm	ENOENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
