	.file	"extr_dsl_dataset.c_dsl_dataset_snapshot_tmp.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	dsl_dataset_snapshot_tmp
	.type	dsl_dataset_snapshot_tmp, @function
dsl_dataset_snapshot_tmp:
.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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 64
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 40[rsp], edx
	mov	edx, DWORD PTR FTAG[rip]
	mov	QWORD PTR 24[rsp], rsi
	mov	rsi, rsp
	mov	QWORD PTR 16[rsp], rdi
	mov	QWORD PTR 32[rsp], rcx
	call	spa_open@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L8
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 64
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	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
.L8:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rsp]
	call	spa_version@PLT
	mov	rbx, QWORD PTR SPA_VERSION_FAST_SNAP[rip]
	mov	esi, DWORD PTR FTAG[rip]
	mov	rdi, QWORD PTR [rsp]
	mov	r12, rax
	call	spa_close@PLT
	cmp	r12, rbx
	jge	.L3
	lea	rsi, 8[rsp]
	mov	rdi, rbp
	call	zil_suspend@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	r9d, DWORD PTR ZFS_SPACE_CHECK_RESERVED[rip]
	mov	edx, DWORD PTR dsl_dataset_snapshot_tmp_sync[rip]
	mov	rdi, rbp
	lea	rcx, 16[rsp]
	mov	esi, DWORD PTR dsl_dataset_snapshot_tmp_check[rip]
	mov	r8d, 3
	call	dsl_sync_task@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	r12d, eax
	call	zil_resume@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r9d, DWORD PTR ZFS_SPACE_CHECK_RESERVED[rip]
	mov	edx, DWORD PTR dsl_dataset_snapshot_tmp_sync[rip]
	lea	rcx, 16[rsp]
	mov	r8d, 3
	mov	esi, DWORD PTR dsl_dataset_snapshot_tmp_check[rip]
	mov	rdi, rbp
	call	dsl_sync_task@PLT
	mov	r12d, eax
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dsl_dataset_snapshot_tmp, .-dsl_dataset_snapshot_tmp
	.comm	dsl_dataset_snapshot_tmp_sync,4,4
	.comm	dsl_dataset_snapshot_tmp_check,4,4
	.comm	ZFS_SPACE_CHECK_RESERVED,4,4
	.comm	SPA_VERSION_FAST_SNAP,8,8
	.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_dataset.c_dsl_dataset_snapshot_tmp.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	dsl_dataset_snapshot_tmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	dsl_dataset_snapshot_tmp, %function
dsl_dataset_snapshot_tmp:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r2
	push	{r4, r5, r6, lr}
	ldr	r6, .L10
	sub	sp, sp, #40
	str	r3, [sp, #28]
	ldr	r3, .L10+4
	str	r1, [sp, #24]
	str	ip, [sp, #32]
	ldr	r2, [r6]
	add	r1, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	mov	r5, r0
	str	r0, [sp, #20]
	bl	spa_open
	subs	r4, r0, #0
	beq	.L8
.L1:
	ldr	r3, .L10+4
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	mov	r0, r4
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r0, [sp, #12]
	bl	spa_version
	mov	r4, r0
	ldr	r3, .L10+8
	ldr	r1, [r6]
	ldr	r6, [r3]
	ldr	r0, [sp, #12]
	bl	spa_close
	cmp	r4, r6
	bge	.L3
	mov	r0, r5
	add	r1, sp, #16
	bl	zil_suspend
	subs	r4, r0, #0
	bne	.L1
	mov	r1, #3
	ldr	r3, .L10+12
	ldr	r2, .L10+16
	ldr	ip, [r3]
	ldr	r3, .L10+20
	stm	sp, {r1, ip}
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, [r2]
	add	r3, sp, #20
	bl	dsl_sync_task
	mov	r4, r0
	ldr	r0, [sp, #16]
	bl	zil_resume
	b	.L1
.L3:
	mov	r1, #3
	ldr	r3, .L10+12
	ldr	r2, .L10+16
	ldr	ip, [r3]
	ldr	r3, .L10+20
	stm	sp, {r1, ip}
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, [r2]
	add	r3, sp, #20
	bl	dsl_sync_task
	mov	r4, r0
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	FTAG
	.word	.LC0
	.word	SPA_VERSION_FAST_SNAP
	.word	ZFS_SPACE_CHECK_RESERVED
	.word	dsl_dataset_snapshot_tmp_sync
	.word	dsl_dataset_snapshot_tmp_check
	.size	dsl_dataset_snapshot_tmp, .-dsl_dataset_snapshot_tmp
	.comm	dsl_dataset_snapshot_tmp_sync,4,4
	.comm	dsl_dataset_snapshot_tmp_check,4,4
	.comm	ZFS_SPACE_CHECK_RESERVED,4,4
	.comm	SPA_VERSION_FAST_SNAP,4,4
	.comm	FTAG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
