	.file	"extr_filemap.c_generic_file_buffered_write.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	generic_file_buffered_write
	.type	generic_file_buffered_write, @function
generic_file_buffered_write:
.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
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rcx
	mov	rcx, r9
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r15, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rbx, QWORD PTR 80[rsp]
	lea	r12, 4[rsp]
	mov	rdi, r12
	mov	r13, QWORD PTR 8[r15]
	mov	r8, rbx
	call	iov_iter_init@PLT
	mov	rsi, r12
	mov	rdi, r15
	mov	rdx, rbp
	call	generic_perform_write@PLT
	mov	rdi, rax
	mov	r12, rax
	not	rdi
	shr	rdi, 63
	call	likely@PLT
	test	rax, rax
	je	.L2
	lea	rax, 0[rbp+r12]
	add	rbx, r12
	mov	QWORD PTR [r14], rax
.L2:
	mov	edi, DWORD PTR [r15]
	and	edi, DWORD PTR O_DIRECT[rip]
	call	unlikely@PLT
	test	rax, rax
	je	.L3
	test	rbx, rbx
	jne	.L15
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	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
.L3:
	.cfi_restore_state
	test	rbx, rbx
	cmovne	r12, rbx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	lea	rdx, -1[rbp+rbx]
	mov	rsi, rbp
	mov	rdi, r13
	mov	r12, rbx
	call	filemap_write_and_wait_range@PLT
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	generic_file_buffered_write, .-generic_file_buffered_write
	.comm	O_DIRECT,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_filemap.c_generic_file_buffered_write.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	generic_file_buffered_write
	.syntax unified
	.arm
	.fpu softvfp
	.type	generic_file_buffered_write, %function
generic_file_buffered_write:
	@ args = 12, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r6, r3
	sub	sp, sp, #20
	ldr	r8, [r0]
	ldr	r5, [sp, #56]
	ldr	ip, .L17
	ldr	r3, [sp, #52]
	ldr	r7, [r8, #4]
	add	r0, sp, #8
	str	r5, [sp]
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	ldr	r9, [sp, #48]
	bl	iov_iter_init
	mov	r2, r6
	add	r1, sp, #8
	mov	r0, r8
	bl	generic_perform_write
	mov	r4, r0
	mvn	r0, r0
	lsr	r0, r0, #31
	bl	likely
	cmp	r0, #0
	addne	r3, r6, r4
	strne	r3, [r9]
	ldr	r3, .L17+4
	ldr	r0, [r8]
	ldr	r3, [r3]
	addne	r5, r5, r4
	and	r0, r0, r3
	bl	unlikely
	cmp	r0, #0
	beq	.L3
	cmp	r5, #0
	bne	.L15
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L3:
	cmp	r5, #0
	movne	r4, r5
	b	.L1
.L15:
	add	r2, r5, r6
	mov	r0, r7
	mov	r1, r6
	sub	r2, r2, #1
	bl	filemap_write_and_wait_range
	mov	r4, r5
	b	.L1
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	O_DIRECT
	.size	generic_file_buffered_write, .-generic_file_buffered_write
	.comm	O_DIRECT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
