	.file	"extr_extents.c_ext4_ext_next_allocated_block.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ext4_ext_next_allocated_block, @function
ext4_ext_next_allocated_block:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rdi, rdi
	sete	dil
	movzx	edi, dil
	call	BUG_ON@PLT
	mov	eax, DWORD PTR [r12]
	test	eax, eax
	je	.L2
	mov	ebx, eax
	js	.L4
.L3:
	movsx	rbp, ebx
	sal	rbp, 5
	add	rbp, r12
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L21:
	mov	r13, QWORD PTR 24[rbp]
	test	r13, r13
	je	.L7
	mov	edi, DWORD PTR 16[rbp]
	call	EXT_LAST_EXTENT@PLT
	cmp	r13, rax
	jne	.L20
.L7:
	sub	ebx, 1
	sub	rbp, 32
	cmp	ebx, -1
	je	.L4
	mov	eax, DWORD PTR [r12]
.L8:
	cmp	ebx, eax
	je	.L21
	mov	edi, DWORD PTR 16[rbp]
	mov	r13, QWORD PTR 8[rbp]
	call	EXT_LAST_INDEX@PLT
	cmp	r13, rax
	je	.L7
	mov	rax, QWORD PTR 8[rbp]
.L18:
	mov	edi, DWORD PTR 4[rax]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	le32_to_cpu@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	xor	ebx, ebx
	cmp	QWORD PTR 24[r12], 0
	jne	.L3
.L4:
	mov	eax, DWORD PTR EXT_MAX_BLOCKS[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L20:
	.cfi_restore_state
	mov	rax, QWORD PTR 24[rbp]
	jmp	.L18
	.cfi_endproc
.LFE0:
	.size	ext4_ext_next_allocated_block, .-ext4_ext_next_allocated_block
	.comm	EXT_MAX_BLOCKS,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_extents.c_ext4_ext_next_allocated_block.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ext4_ext_next_allocated_block, %function
ext4_ext_next_allocated_block:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	BUG_ON
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L2
	blt	.L4
.L10:
	mov	r4, r3
	add	r5, r6, r3, lsl #4
	b	.L8
.L20:
	ldr	r7, [r5, #12]
	cmp	r7, #0
	beq	.L7
	ldr	r0, [r5, #8]
	bl	EXT_LAST_EXTENT
	cmp	r7, r0
	bne	.L19
.L7:
	cmn	r4, #1
	sub	r5, r5, #16
	beq	.L4
	ldr	r3, [r6]
.L8:
	cmp	r4, r3
	sub	r4, r4, #1
	beq	.L20
	ldr	r0, [r5, #8]
	ldr	r7, [r5, #4]
	bl	EXT_LAST_INDEX
	cmp	r7, r0
	beq	.L7
	ldr	r3, [r5, #4]
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r0, [r3, #4]
	b	le32_to_cpu
.L2:
	ldr	r2, [r6, #12]
	cmp	r2, #0
	bne	.L10
.L4:
	ldr	r3, .L21
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	ldr	r3, [r5, #12]
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r0, [r3, #4]
	b	le32_to_cpu
.L22:
	.align	2
.L21:
	.word	EXT_MAX_BLOCKS
	.size	ext4_ext_next_allocated_block, .-ext4_ext_next_allocated_block
	.comm	EXT_MAX_BLOCKS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
