	.file	"extr_addr.c_ceph_write_begin.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"write_begin file %p inode %p page %p %d~%d\n"
	.text
	.p2align 4
	.type	ceph_write_begin, @function
ceph_write_begin:
.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	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, 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
	mov	ebx, edx
	mov	r15d, ebx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 16[rsp], r9
	call	file_inode@PLT
	mov	ecx, DWORD PTR PAGE_SHIFT[rip]
	mov	QWORD PTR 8[rsp], rax
	sar	r15d, cl
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 16[rsp]
	mov	QWORD PTR [rax], r14
	mov	eax, r8d
	add	eax, DWORD PTR EAGAIN[rip]
	jne	.L1
.L6:
	xor	edx, edx
	mov	esi, r15d
	mov	rdi, r13
	call	grab_cache_page_write_begin@PLT
	mov	r14, rax
	test	rax, rax
	je	.L10
	mov	rdx, QWORD PTR 8[rsp]
	mov	r8d, ebx
	mov	r9d, r12d
	mov	rcx, rax
	mov	rsi, rbp
	lea	rdi, .LC0[rip]
	call	dout@PLT
	mov	rcx, r14
	mov	edx, r12d
	mov	esi, ebx
	mov	rdi, rbp
	call	ceph_update_writeable_page@PLT
	mov	r8d, eax
	test	eax, eax
	jns	.L4
	mov	rdi, r14
	mov	DWORD PTR 28[rsp], eax
	call	put_page@PLT
	mov	r8d, DWORD PTR 28[rsp]
	mov	eax, r8d
	add	eax, DWORD PTR EAGAIN[rip]
	je	.L6
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r8d
	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
.L10:
	.cfi_restore_state
	mov	r8d, DWORD PTR ENOMEM[rip]
	neg	r8d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ceph_write_begin, .-ceph_write_begin
	.comm	PAGE_SHIFT,4,4
	.comm	ENOMEM,4,4
	.comm	EAGAIN,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_addr.c_ceph_write_begin.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"write_begin file %p inode %p page %p %d~%d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ceph_write_begin, %function
ceph_write_begin:
	@ args = 12, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #20
	mov	r4, r2
	mov	r6, r3
	mov	r8, r1
	mov	r5, r0
	bl	file_inode
	ldr	r3, .L11
	ldr	fp, .L11+4
	ldr	r7, [r3]
	ldr	r10, .L11+8
	str	r0, [sp, #8]
	asr	r7, r4, r7
	b	.L6
.L4:
	ldr	r3, [sp, #60]
	str	r9, [r3]
	ldr	r3, [r10]
	cmn	r2, r3
	bne	.L1
.L6:
	mov	r2, #0
	mov	r1, r7
	mov	r0, r8
	bl	grab_cache_page_write_begin
	subs	r9, r0, #0
	beq	.L10
	mov	r3, r9
	mov	r1, r5
	ldr	r2, [sp, #8]
	mov	r0, fp
	stm	sp, {r4, r6}
	bl	dout
	mov	r2, r6
	mov	r3, r9
	mov	r1, r4
	mov	r0, r5
	bl	ceph_update_writeable_page
	subs	r2, r0, #0
	bge	.L4
	mov	r0, r9
	str	r2, [sp, #12]
	bl	put_page
	ldr	r2, [sp, #12]
	ldr	r3, [r10]
	cmn	r2, r3
	beq	.L6
.L1:
	mov	r0, r2
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	ldr	r3, .L11+12
	ldr	r0, [r3]
	rsb	r2, r0, #0
	mov	r0, r2
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	.align	2
.L11:
	.word	PAGE_SHIFT
	.word	.LC0
	.word	EAGAIN
	.word	ENOMEM
	.size	ceph_write_begin, .-ceph_write_begin
	.comm	PAGE_SHIFT,4,4
	.comm	ENOMEM,4,4
	.comm	EAGAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
