	.file	"extr_inode.c_ext4_expand_extra_isize.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"get_write_access"
	.text
	.p2align 4
	.globl	ext4_expand_extra_isize
	.type	ext4_expand_extra_isize, @function
ext4_expand_extra_isize:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	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, 24
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR EXT4_STATE_NO_EXPAND[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	ext4_test_inode_state@PLT
	test	rax, rax
	jne	.L11
	mov	edi, DWORD PTR 0[rbp]
	call	EXT4_DATA_TRANS_BLOCKS@PLT
	mov	esi, DWORD PTR EXT4_HT_INODE[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	ext4_journal_start@PLT
	mov	rdi, rax
	mov	r14, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L12
	lea	rbx, 4[rsp]
	mov	rdi, rbp
	mov	rsi, rbx
	call	ext4_write_lock_xattr@PLT
	mov	edi, DWORD PTR 0[r13]
	lea	rsi, .LC0[rip]
	call	BUFFER_TRACE@PLT
	mov	esi, DWORD PTR 0[r13]
	mov	rdi, r14
	call	ext4_journal_get_write_access@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L13
	mov	r8, rbx
	mov	rcx, r14
	mov	rdx, r13
	mov	esi, r15d
	mov	rdi, rbp
	call	__ext4_expand_extra_isize@PLT
	mov	rsi, rbp
	mov	rdi, r14
	mov	rdx, r13
	mov	r12d, eax
	call	ext4_mark_iloc_dirty@PLT
	test	r12d, r12d
	mov	rsi, rbx
	mov	rdi, rbp
	cmove	r12d, eax
	call	ext4_write_unlock_xattr@PLT
.L6:
	mov	rdi, r14
	call	ext4_journal_stop@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 24
	.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
.L12:
	.cfi_restore_state
	mov	rdi, r14
	call	PTR_ERR@PLT
	mov	edi, DWORD PTR 0[r13]
	mov	r12d, eax
	call	brelse@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edi, DWORD PTR 0[r13]
	call	brelse@PLT
	mov	r12d, DWORD PTR EOVERFLOW[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edi, DWORD PTR 0[r13]
	call	brelse@PLT
	jmp	.L6
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ext4_expand_extra_isize, .-ext4_expand_extra_isize
	.comm	EXT4_STATE_NO_EXPAND,4,4
	.comm	EXT4_HT_INODE,4,4
	.comm	EOVERFLOW,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_inode.c_ext4_expand_extra_isize.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"get_write_access\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ext4_expand_extra_isize
	.syntax unified
	.arm
	.fpu softvfp
	.type	ext4_expand_extra_isize, %function
ext4_expand_extra_isize:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L15
	mov	r8, r1
	ldr	r1, [r3]
	ldr	r3, .L15+4
	sub	sp, sp, #16
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r5, r0
	bl	ext4_test_inode_state
	cmp	r0, #0
	bne	.L11
	ldr	r3, .L15+8
	ldr	r0, [r5]
	ldr	r4, [r3]
	bl	EXT4_DATA_TRANS_BLOCKS
	mov	r1, r4
	mov	r2, r0
	mov	r0, r5
	bl	ext4_journal_start
	mov	r7, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L12
	add	r1, sp, #8
	mov	r0, r5
	bl	ext4_write_lock_xattr
	ldr	r1, .L15+12
	ldr	r0, [r6]
	bl	BUFFER_TRACE
	mov	r0, r7
	ldr	r1, [r6]
	bl	ext4_journal_get_write_access
	subs	r4, r0, #0
	bne	.L13
	add	r3, sp, #8
	mov	r1, r8
	mov	r2, r6
	str	r3, [sp]
	mov	r0, r5
	mov	r3, r7
	bl	__ext4_expand_extra_isize
	mov	r1, r5
	mov	r4, r0
	mov	r2, r6
	mov	r0, r7
	bl	ext4_mark_iloc_dirty
	mov	r3, r0
	cmp	r4, #0
	mov	r0, r5
	add	r1, sp, #8
	moveq	r4, r3
	bl	ext4_write_unlock_xattr
.L6:
	mov	r0, r7
	bl	ext4_journal_stop
.L1:
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	mov	r0, r7
	bl	PTR_ERR
	mov	r4, r0
	ldr	r0, [r6]
	bl	brelse
	b	.L1
.L11:
	ldr	r0, [r6]
	bl	brelse
	ldr	r3, .L15+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L13:
	ldr	r0, [r6]
	bl	brelse
	b	.L6
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	EXT4_STATE_NO_EXPAND
	.word	.LC1
	.word	EXT4_HT_INODE
	.word	.LC0
	.word	EOVERFLOW
	.size	ext4_expand_extra_isize, .-ext4_expand_extra_isize
	.comm	EXT4_STATE_NO_EXPAND,4,4
	.comm	EXT4_HT_INODE,4,4
	.comm	EOVERFLOW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
