	.file	"extr_inline.c_ext4_da_write_inline_data_begin.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ext4_da_write_inline_data_begin
	.type	ext4_da_write_inline_data_begin, @function
ext4_da_write_inline_data_begin:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, edx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, r8d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rdi, rbp
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	DWORD PTR 4[rsp], ecx
	lea	rsi, 16[rsp]
	mov	r14, QWORD PTR 96[rsp]
	mov	QWORD PTR 8[rsp], r9
	mov	rdx, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rdx
	xor	edx, edx
	mov	DWORD PTR 20[rsp], 0
	call	ext4_get_inode_loc@PLT
	mov	ebx, eax
	test	eax, eax
	jne	.L1
	add	r15d, DWORD PTR 4[rsp]
	mov	DWORD PTR 4[rsp], r15d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L6:
	or	r12d, DWORD PTR AOP_FLAG_NOFS[rip]
.L15:
	mov	rdi, r15
	call	ext4_journal_stop@PLT
	mov	rcx, r14
	mov	edx, r12d
	mov	rsi, rbp
	mov	rdi, r13
	call	ext4_da_convert_inline_data_to_extent@PLT
	mov	ebx, eax
	add	eax, DWORD PTR ENOSPC[rip]
	jne	.L5
	mov	edi, DWORD PTR 0[rbp]
	lea	rsi, 20[rsp]
	call	ext4_should_retry_alloc@PLT
	test	rax, rax
	je	.L5
.L3:
	mov	esi, DWORD PTR EXT4_HT_INODE[rip]
	mov	rdi, rbp
	mov	edx, 1
	call	ext4_journal_start@PLT
	mov	rdi, rax
	mov	r15, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L24
	mov	rdi, rbp
	call	ext4_get_max_inline_size@PLT
	cmp	DWORD PTR 4[rsp], eax
	ja	.L6
	mov	edx, DWORD PTR 4[rsp]
	mov	rsi, rbp
	mov	rdi, r15
	call	ext4_prepare_inline_data@PLT
	mov	ebx, eax
	test	eax, eax
	je	.L7
	add	eax, DWORD PTR ENOSPC[rip]
	je	.L6
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, r15
	call	ext4_journal_stop@PLT
.L5:
	mov	edi, DWORD PTR 16[rsp]
	call	brelse@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L25
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, ebx
	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
.L7:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOSPC[rip]
	or	r12d, DWORD PTR AOP_FLAG_NOFS[rip]
	test	eax, eax
	je	.L15
	mov	edx, r12d
	xor	esi, esi
	mov	rdi, r13
	call	grab_cache_page_write_begin@PLT
	mov	ebx, DWORD PTR ENOMEM[rip]
	mov	r12, rax
	neg	ebx
	test	rax, rax
	je	.L8
	mov	rdi, rbp
	call	EXT4_I@PLT
	mov	rdi, rax
	call	down_read@PLT
	mov	rdi, rbp
	call	ext4_has_inline_data@PLT
	mov	ebx, eax
	test	eax, eax
	je	.L11
	mov	rdi, r12
	call	PageUptodate@PLT
	test	eax, eax
	je	.L12
.L14:
	mov	esi, DWORD PTR 16[rsp]
	mov	rdi, r15
	call	ext4_journal_get_write_access@PLT
	mov	ebx, eax
	test	eax, eax
	jne	.L11
	mov	rdi, rbp
	mov	ebx, 1
	call	EXT4_I@PLT
	mov	rdi, rax
	call	up_read@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR 16[rsp]
	mov	QWORD PTR [rax], r12
	call	brelse@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rdi, r15
	call	PTR_ERR@PLT
	mov	edi, DWORD PTR 16[rsp]
	mov	ebx, eax
	call	brelse@PLT
	jmp	.L1
.L12:
	mov	rsi, r12
	mov	rdi, rbp
	call	ext4_read_inline_page@PLT
	mov	ebx, eax
	test	eax, eax
	jns	.L14
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, rbp
	call	EXT4_I@PLT
	mov	rdi, rax
	call	up_read@PLT
	mov	rdi, r12
	call	unlock_page@PLT
	mov	rdi, r12
	call	put_page@PLT
	jmp	.L8
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ext4_da_write_inline_data_begin, .-ext4_da_write_inline_data_begin
	.comm	EXT4_HT_INODE,4,4
	.comm	ENOSPC,4,4
	.comm	ENOMEM,4,4
	.comm	AOP_FLAG_NOFS,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_inline.c_ext4_da_write_inline_data_begin.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ext4_da_write_inline_data_begin
	.syntax unified
	.arm
	.fpu softvfp
	.type	ext4_da_write_inline_data_begin, %function
ext4_da_write_inline_data_begin:
	@ args = 12, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #36
	stmib	sp, {r2, r3}
	ldr	r3, .L29
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	ldr	r3, [sp, #76]
	mov	r8, r0
	mov	r0, r1
	add	r1, sp, #20
	ldr	r6, [sp, #72]
	ldr	r10, [sp, #80]
	str	ip, [sp, #24]
	str	r3, [sp, #12]
	bl	ext4_get_inode_loc
	subs	r7, r0, #0
	bne	.L1
	ldr	fp, .L29+4
	ldr	r9, .L29+8
	b	.L3
.L6:
	ldr	r3, [fp]
	orr	r6, r6, r3
.L15:
	mov	r0, r5
	bl	ext4_journal_stop
	mov	r2, r6
	mov	r3, r10
	mov	r1, r4
	mov	r0, r8
	bl	ext4_da_convert_inline_data_to_extent
	ldr	r2, [r9]
	mov	r7, r0
	cmn	r0, r2
	bne	.L5
	ldr	r0, [r4]
	add	r1, sp, #24
	bl	ext4_should_retry_alloc
	cmp	r0, #0
	beq	.L5
.L3:
	ldr	r3, .L29+12
	mov	r2, #1
	ldr	r1, [r3]
	mov	r0, r4
	bl	ext4_journal_start
	mov	r5, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L26
	mov	r0, r4
	bl	ext4_get_max_inline_size
	ldmib	sp, {r2, r3}
	add	r2, r3, r2
	cmp	r2, r0
	bhi	.L6
	mov	r1, r4
	mov	r0, r5
	bl	ext4_prepare_inline_data
	subs	r7, r0, #0
	beq	.L7
	ldr	r2, [r9]
	cmn	r7, r2
	beq	.L6
.L8:
	mov	r0, r5
	bl	ext4_journal_stop
.L5:
	ldr	r0, [sp, #20]
	bl	brelse
.L1:
	ldr	r3, .L29
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L27
	mov	r0, r7
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	ldr	r1, [r9]
	ldr	r2, [fp]
	cmp	r1, #0
	orr	r6, r6, r2
	beq	.L15
	mov	r2, r6
	mov	r1, r7
	mov	r0, r8
	bl	grab_cache_page_write_begin
	subs	r6, r0, #0
	beq	.L28
	mov	r0, r4
	bl	EXT4_I
	bl	down_read
	mov	r0, r4
	bl	ext4_has_inline_data
	subs	r7, r0, #0
	beq	.L11
	mov	r0, r6
	bl	PageUptodate
	cmp	r0, #0
	beq	.L12
.L14:
	mov	r0, r5
	ldr	r1, [sp, #20]
	bl	ext4_journal_get_write_access
	subs	r7, r0, #0
	bne	.L11
	mov	r0, r4
	bl	EXT4_I
	bl	up_read
	ldr	r3, [sp, #12]
	ldr	r0, [sp, #20]
	str	r6, [r3]
	bl	brelse
	mov	r7, #1
	b	.L1
.L26:
	mov	r0, r5
	bl	PTR_ERR
	mov	r7, r0
	ldr	r0, [sp, #20]
	bl	brelse
	b	.L1
.L12:
	mov	r1, r6
	mov	r0, r4
	bl	ext4_read_inline_page
	subs	r7, r0, #0
	bge	.L14
.L11:
	mov	r0, r4
	bl	EXT4_I
	bl	up_read
	mov	r0, r6
	bl	unlock_page
	mov	r0, r6
	bl	put_page
	b	.L8
.L28:
	ldr	r3, .L29+16
	ldr	r3, [r3]
	rsb	r7, r3, #0
	b	.L8
.L27:
	bl	__stack_chk_fail
.L30:
	.align	2
.L29:
	.word	.LC0
	.word	AOP_FLAG_NOFS
	.word	ENOSPC
	.word	EXT4_HT_INODE
	.word	ENOMEM
	.size	ext4_da_write_inline_data_begin, .-ext4_da_write_inline_data_begin
	.comm	EXT4_HT_INODE,4,4
	.comm	ENOSPC,4,4
	.comm	ENOMEM,4,4
	.comm	AOP_FLAG_NOFS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
