	.file	"extr_sync.c_vfs_fsync_range.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vfs_fsync_range
	.type	vfs_fsync_range, @function
vfs_fsync_range:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, r8d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	mov	esi, edx
	mov	edx, ecx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	test	rdi, rdi
	je	.L2
	mov	r14, QWORD PTR 8[rdi]
	mov	rbx, QWORD PTR [rdi]
.L3:
	test	rbx, rbx
	je	.L4
	cmp	QWORD PTR [rbx], 0
	je	.L4
	mov	rdi, r14
	call	filemap_write_and_wait_range@PLT
	mov	rdi, QWORD PTR [r14]
	mov	r15d, eax
	call	mutex_lock@PLT
	mov	rsi, r12
	mov	edx, r13d
	mov	rdi, rbp
	call	[QWORD PTR [rbx]]
	mov	r12d, eax
	test	r15d, r15d
	jne	.L18
.L7:
	mov	rdi, QWORD PTR [r14]
	call	mutex_unlock@PLT
.L6:
	endbr64
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L18:
	.cfi_restore_state
	test	eax, eax
	je	.L8
	mov	eax, r15d
	add	eax, DWORD PTR EIO[rip]
	cmovne	r12d, r15d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rax, QWORD PTR [r12]
	mov	r14, QWORD PTR 8[rax]
	mov	rbx, QWORD PTR [rax]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	mov	r12d, r15d
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	vfs_fsync_range, .-vfs_fsync_range
	.comm	EIO,4,4
	.comm	EINVAL,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_sync.c_vfs_fsync_range.c"
	.text
	.align	2
	.global	vfs_fsync_range
	.syntax unified
	.arm
	.fpu softvfp
	.type	vfs_fsync_range, %function
vfs_fsync_range:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r8, r1
	subs	r5, r0, #0
	mov	r1, r2
	ldmne	r5, {r4, r6}
	mov	r2, r3
	ldreq	r3, [r8]
	ldmeq	r3, {r4, r6}
	cmp	r4, #0
	beq	.L4
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L4
	mov	r0, r6
	bl	filemap_write_and_wait_range
	mov	r7, r0
	ldr	r0, [r6]
	bl	mutex_lock
	ldr	r3, [r4]
	mov	r1, r8
	mov	r0, r5
	ldr	r2, [sp, #24]
	blx	r3
	cmp	r7, #0
	mov	r4, r0
	bne	.L18
.L7:
.L6:
	ldr	r0, [r6]
	bl	mutex_unlock
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	cmp	r0, #0
	moveq	r4, r7
	beq	.L7
	ldr	r3, .L19
	ldr	r3, [r3]
	cmn	r7, r3
	movne	r4, r7
	b	.L7
.L4:
	ldr	r3, .L19+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L20:
	.align	2
.L19:
	.word	EIO
	.word	EINVAL
	.size	vfs_fsync_range, .-vfs_fsync_range
	.comm	EIO,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
