	.file	"extr_inode.c_ext4_da_get_block_prep.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ext4_da_get_block_prep, @function
ext4_da_get_block_prep:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, -65536
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	rdi, QWORD PTR 8[rdi]
	call	EXT4_SB@PLT
	mov	edi, DWORD PTR [rax]
	call	ext4_blocks_count@PLT
	cmp	eax, -65535
	mov	eax, -1
	cmovge	r13d, eax
	xor	edi, edi
	test	r12d, r12d
	sete	dil
	call	BUG_ON@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	edx, DWORD PTR 0[rbp]
	xor	edi, edi
	cmp	DWORD PTR [rax], edx
	setne	dil
	call	BUG_ON@PLT
	xor	r9d, r9d
	xor	edi, edi
	mov	r8, rbp
	mov	ecx, 1
	mov	edx, r14d
	mov	rsi, rbx
	call	ext4_get_blocks@PLT
	test	eax, eax
	je	.L14
	mov	r12d, eax
	jle	.L1
	mov	ecx, DWORD PTR [rbx]
	mov	rdi, rbp
	sal	r12d, cl
	mov	DWORD PTR 0[rbp], r12d
	call	buffer_unwritten@PLT
	test	rax, rax
	jne	.L15
.L12:
	xor	r12d, r12d
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rdi, rbp
	call	buffer_delay@PLT
	test	eax, eax
	jne	.L12
	mov	esi, r14d
	mov	rdi, rbx
	call	ext4_da_reserve_space@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	rsi, QWORD PTR 8[rbx]
	mov	edx, r13d
	mov	rdi, rbp
	call	map_bh@PLT
	mov	rdi, rbp
	call	set_buffer_new@PLT
	mov	rdi, rbp
	call	set_buffer_delay@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, rbp
	call	set_buffer_new@PLT
	mov	rdi, rbp
	call	set_buffer_mapped@PLT
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	ext4_da_get_block_prep, .-ext4_da_get_block_prep
	.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_da_get_block_prep.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ext4_da_get_block_prep, %function
ext4_da_get_block_prep:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r5, r0
	sub	sp, sp, #12
	ldr	r0, [r0, #4]
	mov	r7, r1
	mov	r6, r2
	mov	r4, r3
	bl	EXT4_SB
	ldr	r0, [r0]
	bl	ext4_blocks_count
	mov	r3, r0
	clz	r0, r4
	mov	r8, #0
	ldr	r9, .L15
	lsr	r0, r0, #5
	cmp	r3, r9
	mvngt	r9, #0
	bl	BUG_ON
	ldr	r2, [r5, #4]
	ldr	r3, [r6]
	ldr	r0, [r2]
	subs	r0, r0, r3
	movne	r0, #1
	bl	BUG_ON
	mov	r2, r7
	mov	r1, r5
	mov	r0, r8
	mov	r3, #1
	str	r6, [sp]
	str	r8, [sp, #4]
	bl	ext4_get_blocks
	subs	r4, r0, #0
	beq	.L13
	ble	.L1
	ldr	r3, [r5]
	mov	r0, r6
	lsl	r4, r4, r3
	str	r4, [r6]
	bl	buffer_unwritten
	cmp	r0, #0
	bne	.L14
.L6:
	mov	r4, #0
.L1:
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L13:
	mov	r0, r6
	bl	buffer_delay
	cmp	r0, r8
	bne	.L6
	mov	r1, r7
	mov	r0, r5
	bl	ext4_da_reserve_space
	subs	r4, r0, #0
	bne	.L1
	mov	r2, r9
	ldr	r1, [r5, #4]
	mov	r0, r6
	bl	map_bh
	mov	r0, r6
	bl	set_buffer_new
	mov	r0, r6
	bl	set_buffer_delay
	b	.L1
.L14:
	mov	r4, r8
	mov	r0, r6
	bl	set_buffer_new
	mov	r0, r6
	bl	set_buffer_mapped
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L16:
	.align	2
.L15:
	.word	-65536
	.size	ext4_da_get_block_prep, .-ext4_da_get_block_prep
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
