	.file	"extr_zpl_file.c_zpl_writepages.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	zpl_writepages, @function
zpl_writepages:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	edi, DWORD PTR [rdi]
	call	ITOZ@PLT
	mov	edi, DWORD PTR [r12]
	mov	rbx, rax
	call	ITOZSB@PLT
	mov	r13, rax
	mov	rdi, rax
	call	ZFS_ENTER@PLT
	mov	rax, QWORD PTR 8[r13]
	mov	rdx, QWORD PTR ZFS_SYNC_ALWAYS[rip]
	cmp	QWORD PTR [rax], rdx
	jne	.L2
	mov	eax, DWORD PTR WB_SYNC_ALL[rip]
	mov	DWORD PTR 0[rbp], eax
.L2:
	mov	rdi, r13
	call	ZFS_EXIT@PLT
	mov	r14d, DWORD PTR 0[rbp]
	mov	rcx, r12
	mov	rsi, rbp
	mov	eax, DWORD PTR WB_SYNC_NONE[rip]
	mov	rdi, r12
	mov	DWORD PTR 0[rbp], eax
	mov	edx, DWORD PTR zpl_putpage[rip]
	call	write_cache_pages@PLT
	cmp	r14d, DWORD PTR 0[rbp]
	jne	.L10
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, r13
	call	ZFS_ENTER@PLT
	mov	rdi, rbx
	call	ZFS_VERIFY_ZP@PLT
	mov	rdi, QWORD PTR 0[r13]
	test	rdi, rdi
	je	.L4
	mov	esi, DWORD PTR [rbx]
	call	zil_commit@PLT
.L4:
	mov	rdi, r13
	call	ZFS_EXIT@PLT
	mov	DWORD PTR 0[rbp], r14d
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rcx, r12
	mov	edx, DWORD PTR zpl_putpage[rip]
	mov	rsi, rbp
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	write_cache_pages@PLT
	.cfi_endproc
.LFE0:
	.size	zpl_writepages, .-zpl_writepages
	.comm	zpl_putpage,4,4
	.comm	ZFS_SYNC_ALWAYS,8,8
	.comm	WB_SYNC_NONE,4,4
	.comm	WB_SYNC_ALL,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_zpl_file.c_zpl_writepages.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zpl_writepages, %function
zpl_writepages:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	ldr	r0, [r0]
	mov	r4, r1
	bl	ITOZ
	mov	r7, r0
	ldr	r0, [r5]
	bl	ITOZSB
	mov	r6, r0
	bl	ZFS_ENTER
	ldr	r2, [r6, #4]
	ldr	r3, .L10
	ldr	r2, [r2]
	ldr	r3, [r3]
	mov	r0, r6
	cmp	r2, r3
	ldreq	r3, .L10+4
	ldr	r8, .L10+8
	ldreq	r3, [r3]
	streq	r3, [r4]
	bl	ZFS_EXIT
	ldr	r3, .L10+12
	ldr	r9, [r4]
	ldr	r3, [r3]
	mov	r1, r4
	str	r3, [r4]
	mov	r0, r5
	mov	r3, r5
	ldr	r2, [r8]
	bl	write_cache_pages
	ldr	r3, [r4]
	cmp	r9, r3
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r0, r6
	bl	ZFS_ENTER
	mov	r0, r7
	bl	ZFS_VERIFY_ZP
	ldr	r0, [r6]
	cmp	r0, #0
	beq	.L4
	ldr	r1, [r7]
	bl	zil_commit
.L4:
	mov	r0, r6
	bl	ZFS_EXIT
	str	r9, [r4]
	mov	r1, r4
	mov	r3, r5
	mov	r0, r5
	ldr	r2, [r8]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	write_cache_pages
.L11:
	.align	2
.L10:
	.word	ZFS_SYNC_ALWAYS
	.word	WB_SYNC_ALL
	.word	zpl_putpage
	.word	WB_SYNC_NONE
	.size	zpl_writepages, .-zpl_writepages
	.comm	zpl_putpage,4,4
	.comm	ZFS_SYNC_ALWAYS,4,4
	.comm	WB_SYNC_NONE,4,4
	.comm	WB_SYNC_ALL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
