	.file	"extr_vfs.c_wait_for_concurrent_writes.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"nfsd: write defer %d\n"
.LC1:
	.string	"nfsd: write resume %d\n"
.LC2:
	.string	"nfsd: write sync %d\n"
	.text
	.p2align 4
	.type	wait_for_concurrent_writes, @function
wait_for_concurrent_writes:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	file_inode@PLT
	lea	rdi, 24[rax]
	mov	rbx, rax
	call	atomic_read@PLT
	cmp	eax, 1
	jg	.L2
	mov	rax, QWORD PTR last_ino.1947[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L10
.L3:
	mov	eax, DWORD PTR 8[rbx]
	and	eax, DWORD PTR I_DIRTY[rip]
	jne	.L11
.L4:
	mov	rdx, QWORD PTR [rbx]
	mov	QWORD PTR last_ino.1947[rip], rdx
	mov	rdx, QWORD PTR 16[rbx]
	mov	rdx, QWORD PTR [rdx]
	mov	QWORD PTR last_dev.1948[rip], rdx
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rax, QWORD PTR 16[rbx]
	mov	rcx, QWORD PTR last_dev.1948[rip]
	cmp	QWORD PTR [rax], rcx
	jne	.L3
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edi, DWORD PTR current[rip]
	call	task_pid_nr@PLT
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	dprintk@PLT
	mov	edi, 10
	call	msleep@PLT
	mov	edi, DWORD PTR current[rip]
	call	task_pid_nr@PLT
	lea	rdi, .LC1[rip]
	mov	esi, eax
	call	dprintk@PLT
	mov	eax, DWORD PTR 8[rbx]
	and	eax, DWORD PTR I_DIRTY[rip]
	je	.L4
.L11:
	mov	edi, DWORD PTR current[rip]
	call	task_pid_nr@PLT
	lea	rdi, .LC2[rip]
	mov	esi, eax
	call	dprintk@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	vfs_fsync@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	wait_for_concurrent_writes, .-wait_for_concurrent_writes
	.local	last_dev.1948
	.comm	last_dev.1948,8,8
	.local	last_ino.1947
	.comm	last_ino.1947,8,8
	.comm	current,4,4
	.comm	I_DIRTY,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_vfs.c_wait_for_concurrent_writes.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"nfsd: write defer %d\012\000"
	.align	2
.LC1:
	.ascii	"nfsd: write resume %d\012\000"
	.align	2
.LC2:
	.ascii	"nfsd: write sync %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wait_for_concurrent_writes, %function
wait_for_concurrent_writes:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	bl	file_inode
	mov	r4, r0
	add	r0, r0, #12
	bl	atomic_read
	cmp	r0, #1
	ldr	r5, .L14
	bgt	.L2
	ldr	r2, [r4]
	ldr	r3, [r5]
	cmp	r2, r3
	beq	.L12
.L3:
	ldr	r2, .L14+4
	ldr	r3, [r4, #4]
	ldr	r0, [r2]
	ands	r0, r3, r0
	bne	.L13
.L4:
	ldr	r2, [r4, #8]
	ldr	r3, [r4]
	ldr	r2, [r2]
	str	r3, [r5]
	str	r2, [r5, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	ldr	r2, [r4, #8]
	ldr	r3, [r5, #4]
	ldr	r2, [r2]
	cmp	r2, r3
	bne	.L3
.L2:
	ldr	r7, .L14+8
	ldr	r0, [r7]
	bl	task_pid_nr
	mov	r1, r0
	ldr	r0, .L14+12
	bl	dprintk
	mov	r0, #10
	bl	msleep
	ldr	r0, [r7]
	bl	task_pid_nr
	mov	r1, r0
	ldr	r0, .L14+16
	bl	dprintk
	b	.L3
.L13:
	ldr	r3, .L14+8
	ldr	r0, [r3]
	bl	task_pid_nr
	mov	r1, r0
	ldr	r0, .L14+20
	bl	dprintk
	mov	r0, r6
	mov	r1, #0
	bl	vfs_fsync
	b	.L4
.L15:
	.align	2
.L14:
	.word	.LANCHOR0
	.word	I_DIRTY
	.word	current
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	wait_for_concurrent_writes, .-wait_for_concurrent_writes
	.comm	current,4,4
	.comm	I_DIRTY,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	last_ino.4231, %object
	.size	last_ino.4231, 4
last_ino.4231:
	.space	4
	.type	last_dev.4232, %object
	.size	last_dev.4232, 4
last_dev.4232:
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
