	.file	"extr_dmu.c_dmu_sync_late_arrival.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dmu_sync_late_arrival, @function
dmu_sync_late_arrival:
.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
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	mov	rdi, 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, rcx
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR 8[rsp], r9
	call	dmu_tx_create@PLT
	mov	rbp, rax
	mov	rax, QWORD PTR [rbx]
	mov	rdi, rbp
	mov	esi, DWORD PTR [rax]
	call	dmu_tx_hold_space@PLT
	mov	esi, DWORD PTR TXG_WAIT[rip]
	mov	rdi, rbp
	call	dmu_tx_assign@PLT
	mov	rdi, rbp
	test	rax, rax
	jne	.L5
	call	dmu_tx_get_txg@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, eax
	call	zil_lwb_add_txg@PLT
	mov	esi, DWORD PTR KM_SLEEP[rip]
	mov	edi, 32
	call	kmem_alloc@PLT
	mov	QWORD PTR 40[rsp], rax
	mov	QWORD PTR [rax], rbp
	mov	QWORD PTR 16[rax], r15
	mov	QWORD PTR 8[rax], rbx
	mov	QWORD PTR 24[rax], 0
	mov	eax, DWORD PTR B_FALSE[rip]
	mov	DWORD PTR [r12], eax
	mov	eax, DWORD PTR ZIO_FLAG_CANFAIL[rip]
	mov	edx, DWORD PTR ZIO_PRIORITY_SYNC_WRITE[rip]
	mov	r11d, DWORD PTR dmu_sync_late_arrival_done[rip]
	mov	DWORD PTR 20[rsp], eax
	mov	rax, QWORD PTR [rbx]
	mov	ecx, DWORD PTR dmu_sync_late_arrival_ready[rip]
	mov	DWORD PTR 24[rsp], edx
	mov	r9d, DWORD PTR [rax]
	mov	edi, DWORD PTR 4[rax]
	mov	DWORD PTR 36[rsp], r11d
	mov	DWORD PTR 28[rsp], ecx
	mov	esi, r9d
	mov	DWORD PTR 32[rsp], r9d
	call	abd_get_from_buf@PLT
	mov	rdi, rbp
	mov	ebx, DWORD PTR 8[rbx]
	mov	r15d, eax
	call	dmu_tx_get_txg@PLT
	push	QWORD PTR 8[rsp]
	.cfi_def_cfa_offset 120
	mov	esi, DWORD PTR [r14]
	mov	r8d, r15d
	mov	edx, eax
	mov	eax, DWORD PTR 28[rsp]
	mov	rdi, r13
	push	rax
	.cfi_def_cfa_offset 128
	mov	eax, DWORD PTR 40[rsp]
	push	rax
	.cfi_def_cfa_offset 136
	mov	rcx, QWORD PTR 64[rsp]
	push	rcx
	.cfi_def_cfa_offset 144
	mov	r11d, DWORD PTR 68[rsp]
	push	r11
	.cfi_def_cfa_offset 152
	push	0
	.cfi_def_cfa_offset 160
	push	0
	.cfi_def_cfa_offset 168
	mov	ecx, DWORD PTR 84[rsp]
	push	rcx
	.cfi_def_cfa_offset 176
	mov	ecx, ebx
	push	r12
	.cfi_def_cfa_offset 184
	mov	r9d, DWORD PTR 104[rsp]
	push	r9
	.cfi_def_cfa_offset 192
	call	zio_write@PLT
	add	rsp, 80
	.cfi_def_cfa_offset 112
	mov	edi, eax
	call	zio_nowait@PLT
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
.L5:
	.cfi_restore_state
	call	dmu_tx_abort@PLT
	mov	edi, DWORD PTR EIO[rip]
	add	rsp, 56
	.cfi_def_cfa_offset 56
	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
	jmp	SET_ERROR@PLT
	.cfi_endproc
.LFE0:
	.size	dmu_sync_late_arrival, .-dmu_sync_late_arrival
	.comm	dmu_sync_late_arrival_ready,4,4
	.comm	dmu_sync_late_arrival_done,4,4
	.comm	ZIO_PRIORITY_SYNC_WRITE,4,4
	.comm	ZIO_FLAG_CANFAIL,4,4
	.comm	TXG_WAIT,4,4
	.comm	KM_SLEEP,4,4
	.comm	EIO,4,4
	.comm	B_FALSE,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_dmu.c_dmu_sync_late_arrival.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dmu_sync_late_arrival, %function
dmu_sync_late_arrival:
	@ args = 8, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #60
	mov	r4, r3
	ldr	r3, [sp, #100]
	mov	r7, r0
	mov	r0, r1
	str	r3, [sp, #48]
	mov	r8, r1
	mov	fp, r2
	ldr	r9, [sp, #96]
	bl	dmu_tx_create
	mov	r10, r0
	ldr	r2, [r4]
	ldr	r1, [r2]
	bl	dmu_tx_hold_space
	ldr	r2, .L6
	mov	r0, r10
	ldr	r1, [r2]
	bl	dmu_tx_assign
	subs	r5, r0, #0
	bne	.L5
	mov	r0, r10
	ldr	r6, [r4, #8]
	bl	dmu_tx_get_txg
	mov	r1, r0
	mov	r0, r6
	bl	zil_lwb_add_txg
	ldr	r2, .L6+4
	mov	r0, #16
	ldr	r1, [r2]
	bl	kmem_alloc
	ldr	r2, .L6+8
	stmib	r0, {r4, fp}
	ldr	r2, [r2]
	str	r5, [r0, #12]
	str	r10, [r0]
	mov	r6, r0
	str	r2, [r9]
	mov	r0, r10
	ldr	fp, [r8]
	bl	dmu_tx_get_txg
	ldr	r3, [r4]
	mov	r8, r0
	ldr	r1, [r3]
	ldr	r0, [r3, #4]
	ldr	r3, [r4, #4]
	str	r3, [sp, #52]
	bl	abd_get_from_buf
	ldr	r1, .L6+12
	ldr	r2, [r4]
	ldr	lr, .L6+16
	ldr	ip, .L6+20
	ldr	r4, [r1]
	ldr	r1, .L6+24
	ldr	lr, [lr]
	ldr	ip, [ip]
	ldr	r2, [r2]
	str	r6, [sp, #32]
	ldr	r6, [r1]
	str	r0, [sp]
	ldr	r0, [sp, #48]
	mov	r1, fp
	ldr	r3, [sp, #52]
	str	r2, [sp, #8]
	str	r2, [sp, #4]
	str	r0, [sp, #44]
	mov	r2, r8
	str	lr, [sp, #40]
	str	ip, [sp, #36]
	mov	r0, r7
	str	r5, [sp, #24]
	str	r5, [sp, #20]
	str	r9, [sp, #12]
	str	r4, [sp, #28]
	str	r6, [sp, #16]
	bl	zio_write
	bl	zio_nowait
	mov	r0, r5
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	mov	r0, r10
	bl	dmu_tx_abort
	ldr	r3, .L6+28
	ldr	r0, [r3]
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	SET_ERROR
.L7:
	.align	2
.L6:
	.word	TXG_WAIT
	.word	KM_SLEEP
	.word	B_FALSE
	.word	dmu_sync_late_arrival_done
	.word	ZIO_FLAG_CANFAIL
	.word	ZIO_PRIORITY_SYNC_WRITE
	.word	dmu_sync_late_arrival_ready
	.word	EIO
	.size	dmu_sync_late_arrival, .-dmu_sync_late_arrival
	.comm	dmu_sync_late_arrival_ready,4,4
	.comm	dmu_sync_late_arrival_done,4,4
	.comm	ZIO_PRIORITY_SYNC_WRITE,4,4
	.comm	ZIO_FLAG_CANFAIL,4,4
	.comm	TXG_WAIT,4,4
	.comm	KM_SLEEP,4,4
	.comm	EIO,4,4
	.comm	B_FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
