	.file	"extr_indirect.c_ext4_alloc_branch.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"call get_create_access"
.LC1:
	.string	"marking uptodate"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"call ext4_handle_dirty_metadata"
	.text
	.p2align 4
	.type	ext4_alloc_branch, @function
ext4_alloc_branch:
.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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 136
	.cfi_def_cfa_offset 192
	mov	QWORD PTR 32[rsp], rdi
	mov	DWORD PTR 28[rsp], edx
	mov	QWORD PTR 64[rsp], rcx
	mov	QWORD PTR 72[rsp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 120[rsp], rax
	xor	eax, eax
	test	edx, edx
	js	.L18
	mov	rax, QWORD PTR 72[rsp]
	mov	DWORD PTR 60[rsp], 1
	mov	rbp, rsi
	xor	ebx, ebx
	mov	QWORD PTR 8[rsp], rax
	lea	rax, 92[rsp]
	mov	QWORD PTR 40[rsp], rax
	lea	rax, 96[rsp]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L9:
	add	QWORD PTR 8[rsp], 24
	add	rbx, 1
	cmp	DWORD PTR 28[rsp], ebx
	jl	.L18
.L17:
	mov	DWORD PTR 56[rsp], ebx
	mov	r15d, ebx
	cmp	DWORD PTR 28[rsp], ebx
	je	.L46
	mov	edx, DWORD PTR 16[rbp]
	mov	rsi, QWORD PTR 8[rbp]
	xor	r8d, r8d
	mov	r9, QWORD PTR 40[rsp]
	mov	rdi, QWORD PTR 32[rsp]
	mov	ecx, DWORD PTR 0[rbp]
	and	ecx, DWORD PTR EXT4_MB_DELALLOC_RESERVED[rip]
	call	ext4_new_meta_blocks@PLT
	mov	rcx, QWORD PTR 16[rsp]
	mov	DWORD PTR 16[rbp], eax
	mov	DWORD PTR [rcx+rbx*4], eax
	mov	eax, DWORD PTR 92[rsp]
	test	eax, eax
	jne	.L47
.L6:
	mov	rax, QWORD PTR 16[rsp]
	mov	r14d, DWORD PTR [rax+rbx*4]
	mov	edi, r14d
	call	cpu_to_le32@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	QWORD PTR 16[rdx], rax
	test	rbx, rbx
	je	.L9
	mov	rax, QWORD PTR 16[rsp]
	mov	esi, DWORD PTR -4[rax+rbx*4]
	mov	rax, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR [rax]
	call	sb_getblk@PLT
	xor	edi, edi
	mov	r12, rax
	mov	rax, QWORD PTR 8[rsp]
	test	r12, r12
	mov	QWORD PTR [rax], r12
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L48
	mov	rdi, r12
	call	lock_buffer@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	BUFFER_TRACE@PLT
	mov	rdi, QWORD PTR 32[rsp]
	mov	rsi, r12
	call	ext4_journal_get_create_access@PLT
	mov	DWORD PTR 92[rsp], eax
	test	eax, eax
	jne	.L49
	mov	edx, DWORD PTR 16[r12]
	mov	rdi, QWORD PTR 8[r12]
	xor	esi, esi
	call	memset@PLT
	mov	rax, QWORD PTR 64[rsp]
	movsx	rdx, DWORD PTR [rax+rbx*4]
	mov	rax, QWORD PTR 8[r12]
	lea	r13, [rax+rdx*4]
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR 8[rax], r13
	cmp	DWORD PTR 28[rsp], r15d
	je	.L50
.L13:
	mov	eax, DWORD PTR 60[rsp]
	mov	r15d, r14d
	lea	ecx, [r14+rax]
	test	eax, eax
	jle	.L16
	mov	QWORD PTR 48[rsp], rbx
	mov	rbx, r13
	mov	r13d, ecx
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edi, r15d
	add	r15d, 1
	call	cpu_to_le32@PLT
	mov	r8, rax
	mov	rax, rbx
	add	rbx, 4
	mov	DWORD PTR [rax], r8d
	cmp	r15d, r13d
	jne	.L15
	mov	rbx, QWORD PTR 48[rsp]
.L16:
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	BUFFER_TRACE@PLT
	mov	rdi, r12
	call	set_buffer_uptodate@PLT
	mov	rdi, r12
	call	unlock_buffer@PLT
	lea	rsi, .LC2[rip]
	mov	rdi, r12
	call	BUFFER_TRACE@PLT
	mov	rsi, QWORD PTR 8[rbp]
	mov	rdi, QWORD PTR 32[rsp]
	mov	rdx, r12
	call	ext4_handle_dirty_metadata@PLT
	mov	DWORD PTR 92[rsp], eax
	test	eax, eax
	je	.L9
	movsx	rbx, DWORD PTR 56[rsp]
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L46:
	mov	rdx, QWORD PTR 40[rsp]
	mov	rdi, QWORD PTR 32[rsp]
	mov	rsi, rbp
	call	ext4_mb_new_blocks@PLT
	mov	rsi, QWORD PTR 16[rsp]
	mov	DWORD PTR [rsi+rbx*4], eax
	mov	eax, DWORD PTR 92[rsp]
	test	eax, eax
	je	.L6
.L47:
	sub	DWORD PTR 56[rsp], 1
	mov	esi, DWORD PTR 56[rsp]
	cmp	esi, -1
	je	.L1
	movsx	rbx, DWORD PTR 56[rsp]
	mov	r14d, DWORD PTR 96[rsp+rbx*4]
.L24:
	mov	r12, QWORD PTR 32[rsp]
	mov	r13d, DWORD PTR 28[rsp]
	mov	eax, ebx
	mov	r15, QWORD PTR 16[rsp]
	mov	rsi, QWORD PTR 8[rbp]
	test	ebx, ebx
	jle	.L19
.L52:
	cmp	r13d, ebx
	je	.L19
	mov	rcx, QWORD PTR 72[rsp]
	lea	rax, [rbx+rbx*2]
	mov	rcx, QWORD PTR [rcx+rax*8]
	test	rcx, rcx
	je	.L20
	mov	r8d, DWORD PTR [rcx]
	mov	rdx, rsi
	mov	rdi, r12
	mov	esi, 1
	call	ext4_forget@PLT
	mov	rsi, QWORD PTR 8[rbp]
.L20:
	mov	r8d, 1
.L21:
	xor	r9d, r9d
	mov	ecx, r14d
	xor	edx, edx
	mov	rdi, r12
	call	ext4_free_blocks@PLT
	sub	rbx, 1
	cmp	ebx, -1
	je	.L51
	mov	r14d, DWORD PTR [r15+rbx*4]
	mov	rsi, QWORD PTR 8[rbp]
	mov	eax, ebx
	test	ebx, ebx
	jg	.L52
.L19:
	mov	r8d, 1
	cmp	r13d, eax
	jne	.L21
	mov	r8d, DWORD PTR 4[rbp]
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L50:
	mov	eax, DWORD PTR 4[rbp]
	mov	DWORD PTR 60[rsp], eax
	jmp	.L13
.L18:
	xor	eax, eax
.L1:
	mov	rdx, QWORD PTR 120[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L53
	add	rsp, 136
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L51:
	.cfi_restore_state
	mov	eax, DWORD PTR 92[rsp]
	jmp	.L1
.L48:
	mov	eax, DWORD PTR ENOMEM[rip]
	movsx	rbx, DWORD PTR 56[rsp]
	neg	eax
	mov	DWORD PTR 92[rsp], eax
	jmp	.L24
.L49:
	mov	rdi, r12
	call	unlock_buffer@PLT
	movsx	rbx, DWORD PTR 56[rsp]
	jmp	.L24
.L53:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ext4_alloc_branch, .-ext4_alloc_branch
	.comm	EXT4_MB_DELALLOC_RESERVED,4,4
	.comm	ENOMEM,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_indirect.c_ext4_alloc_branch.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"call get_create_access\000"
	.align	2
.LC1:
	.ascii	"marking uptodate\000"
	.align	2
.LC2:
	.ascii	"call ext4_handle_dirty_metadata\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ext4_alloc_branch, %function
ext4_alloc_branch:
	@ args = 4, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #60
	str	r3, [sp, #24]
	cmp	r2, #0
	ldr	r3, .L44
	str	r2, [sp, #8]
	str	r0, [sp, #12]
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	ldr	r3, [sp, #96]
	str	r3, [sp, #28]
	blt	.L18
	mov	r3, #1
	mov	r5, r1
	mov	r4, #0
	ldr	r7, [sp, #28]
	add	r8, sp, #36
	str	r3, [sp, #16]
	b	.L17
.L9:
	ldr	r3, [sp, #8]
	add	r4, r4, #1
	cmp	r3, r4
	add	r7, r7, #12
	blt	.L18
.L17:
	ldr	r3, [sp, #8]
	cmp	r3, r4
	beq	.L37
	ldr	r3, .L44+4
	add	r1, sp, #32
	ldr	r2, [r5]
	ldr	r3, [r3]
	str	r1, [sp, #4]
	mov	r1, #0
	str	r1, [sp]
	and	r3, r3, r2
	ldr	r1, [r5, #8]
	ldr	r2, [r5, #12]
	ldr	r0, [sp, #12]
	bl	ext4_new_meta_blocks
	str	r0, [r8]
	str	r0, [r5, #12]
	ldr	r0, [sp, #32]
	cmp	r0, #0
	bne	.L38
.L6:
	ldr	r9, [r8], #4
	mov	r0, r9
	bl	cpu_to_le32
	cmp	r4, #0
	str	r0, [r7, #8]
	beq	.L9
	ldr	r3, [r5, #8]
	ldr	r1, [r8, #-8]
	ldr	r0, [r3]
	bl	sb_getblk
	mov	r6, r0
	clz	r0, r0
	str	r6, [r7]
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	bne	.L39
	mov	r0, r6
	bl	lock_buffer
	ldr	r1, .L44+8
	mov	r0, r6
	bl	BUFFER_TRACE
	mov	r1, r6
	ldr	r0, [sp, #12]
	bl	ext4_journal_get_create_access
	cmp	r0, #0
	mov	r1, r0
	str	r0, [sp, #32]
	bne	.L40
	ldmib	r6, {r0, r2}
	bl	memset
	ldr	r3, [sp, #24]
	ldr	r1, [sp, #8]
	ldr	r3, [r3, r4, lsl #2]
	ldr	r2, [r6, #4]
	cmp	r1, r4
	add	fp, r2, r3, lsl #2
	ldreq	r3, [r5, #4]
	str	fp, [r7, #4]
	streq	r3, [sp, #16]
	ldr	r3, [sp, #16]
	cmp	r3, #0
	ble	.L16
	ldr	r3, [sp, #16]
	str	r4, [sp, #20]
	add	r3, r9, r3
	mov	r4, fp
	mov	r10, r9
	mov	fp, r3
.L15:
	mov	r0, r10
	bl	cpu_to_le32
	add	r10, r10, #1
	cmp	r10, fp
	str	r0, [r4]
	add	r4, r4, #4
	bne	.L15
	ldr	r4, [sp, #20]
.L16:
	ldr	r1, .L44+12
	mov	r0, r6
	bl	BUFFER_TRACE
	mov	r0, r6
	bl	set_buffer_uptodate
	mov	r0, r6
	bl	unlock_buffer
	ldr	r1, .L44+16
	mov	r0, r6
	bl	BUFFER_TRACE
	mov	r2, r6
	ldr	r1, [r5, #8]
	ldr	r0, [sp, #12]
	bl	ext4_handle_dirty_metadata
	cmp	r0, #0
	str	r0, [sp, #32]
	beq	.L9
.L24:
	ldr	r8, [sp, #8]
	sub	r6, r4, #-1073741823
	cmp	r8, r4
	cmpne	r4, #0
	add	r3, sp, #36
	mov	r7, #0
	ldr	r10, [sp, #12]
	ldr	fp, [sp, #28]
	ldr	r1, [r5, #8]
	add	r6, r3, r6, lsl #2
	ble	.L19
.L42:
	add	r3, r4, r4, lsl #1
	ldr	r3, [fp, r3, lsl #2]
	cmp	r3, #0
	beq	.L26
	ldr	r0, [r3]
	mov	r2, r1
	str	r0, [sp]
	mov	r1, #1
	mov	r0, r10
	bl	ext4_forget
	ldr	r1, [r5, #8]
.L26:
	mov	r3, #1
.L21:
	stm	sp, {r3, r7}
	mov	r2, #0
	mov	r3, r9
	mov	r0, r10
	sub	r4, r4, #1
	bl	ext4_free_blocks
	cmn	r4, #1
	beq	.L41
	cmp	r8, r4
	cmpne	r4, #0
	ldr	r9, [r6], #-4
	ldr	r1, [r5, #8]
	bgt	.L42
.L19:
	cmp	r8, r4
	bne	.L26
	ldr	r3, [r5, #4]
	b	.L21
.L37:
	mov	r1, r5
	ldr	r0, [sp, #12]
	add	r2, sp, #32
	bl	ext4_mb_new_blocks
	str	r0, [r8]
	ldr	r0, [sp, #32]
	cmp	r0, #0
	beq	.L6
.L38:
	subs	r4, r4, #1
	bcc	.L1
	add	r3, sp, #56
	add	r3, r3, r4, lsl #2
	ldr	r9, [r3, #-20]
	b	.L24
.L41:
	ldr	r0, [sp, #32]
.L1:
	ldr	r3, .L44
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L43
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	mov	r0, #0
	b	.L1
.L39:
	ldr	r3, .L44+20
	ldr	r3, [r3]
	rsb	r3, r3, #0
	str	r3, [sp, #32]
	b	.L24
.L40:
	mov	r0, r6
	bl	unlock_buffer
	b	.L24
.L43:
	bl	__stack_chk_fail
.L45:
	.align	2
.L44:
	.word	.LC3
	.word	EXT4_MB_DELALLOC_RESERVED
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	ENOMEM
	.size	ext4_alloc_branch, .-ext4_alloc_branch
	.comm	EXT4_MB_DELALLOC_RESERVED,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
