	.file	"extr_extents.c_ext4_ext_correct_indexes.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"ex %p == NULL or eh %p == NULL"
	.text
	.p2align 4
	.type	ext4_ext_correct_indexes, @function
ext4_ext_correct_indexes:
.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
	mov	r14, rdi
	mov	rdi, rsi
	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, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	ext_depth@PLT
	mov	ebx, eax
	cdqe
	lea	r12, [rax+rax*2]
	lea	rax, 0[0+r12*8]
	lea	r12, 0[r13+rax]
	mov	QWORD PTR 8[rsp], rax
	mov	r15, QWORD PTR 16[r12]
	mov	r8, QWORD PTR 8[r12]
	test	r15, r15
	mov	QWORD PTR [rsp], r8
	sete	dil
	test	r8, r8
	sete	al
	or	edi, eax
	movzx	edi, dil
	call	unlikely@PLT
	mov	r8, QWORD PTR [rsp]
	test	rax, rax
	jne	.L10
	test	ebx, ebx
	jne	.L4
.L5:
	xor	eax, eax
.L1:
	add	rsp, 24
	.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
.L4:
	.cfi_restore_state
	mov	rdi, r8
	call	EXT_FIRST_EXTENT@PLT
	cmp	r15, rax
	jne	.L5
	mov	rax, QWORD PTR 16[r12]
	mov	r12, QWORD PTR 8[rsp]
	mov	rsi, rbp
	mov	rdi, r14
	mov	rax, QWORD PTR [rax]
	lea	r15, -24[r13+r12]
	mov	rdx, r15
	mov	QWORD PTR [rsp], rax
	call	ext4_ext_get_access@PLT
	test	eax, eax
	jne	.L1
	mov	rax, QWORD PTR [r15]
	mov	rcx, QWORD PTR [rsp]
	mov	rdx, r15
	mov	rsi, rbp
	mov	rdi, r14
	mov	QWORD PTR [rax], rcx
	call	ext4_ext_dirty@PLT
	test	eax, eax
	jne	.L1
	lea	eax, -1[rbx]
	lea	r15, -48[r13+r12]
	lea	rax, [rax+rax*2]
	mov	rcx, r15
	sal	rax, 3
	sub	rcx, rax
	mov	rbx, rcx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, QWORD PTR 32[r15]
	mov	r12, QWORD PTR 24[r15]
	call	EXT_FIRST_INDEX@PLT
	cmp	r12, rax
	jne	.L5
	mov	rdx, r15
	mov	rsi, rbp
	mov	rdi, r14
	call	ext4_ext_get_access@PLT
	test	eax, eax
	jne	.L1
	mov	rax, QWORD PTR [r15]
	mov	rcx, QWORD PTR [rsp]
	mov	rdx, r15
	mov	rsi, rbp
	mov	rdi, r14
	sub	r15, 24
	mov	QWORD PTR [rax], rcx
	call	ext4_ext_dirty@PLT
	test	eax, eax
	jne	.L1
.L6:
	cmp	r15, rbx
	jne	.L7
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdx, r15
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	mov	rcx, r8
	call	EXT4_ERROR_INODE@PLT
	mov	eax, DWORD PTR EFSCORRUPTED[rip]
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	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
	.cfi_endproc
.LFE0:
	.size	ext4_ext_correct_indexes, .-ext4_ext_correct_indexes
	.comm	EFSCORRUPTED,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_correct_indexes.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ex %p == NULL or eh %p == NULL\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ext4_ext_correct_indexes, %function
ext4_ext_correct_indexes:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r0
	sub	sp, sp, #12
	mov	r0, r1
	mov	r8, r2
	mov	r6, r1
	bl	ext_depth
	add	r7, r0, r0, lsl #1
	add	r5, r8, r7, lsl #2
	ldmib	r5, {r3, r10}
	mov	r4, r0
	clz	r0, r3
	cmp	r10, #0
	lsr	r0, r0, #5
	moveq	r0, #1
	str	r3, [sp, #4]
	bl	unlikely
	subs	fp, r0, #0
	ldr	r3, [sp, #4]
	bne	.L14
	cmp	r4, #0
	bne	.L15
.L1:
	mov	r0, fp
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	mov	r0, r3
	bl	EXT_FIRST_EXTENT
	cmp	r10, r0
	bne	.L1
	lsl	r7, r7, #2
	ldr	r3, [r5, #8]
	sub	r7, r7, #12
	add	r2, r8, r7
	mov	r1, r6
	mov	r0, r9
	ldr	r10, [r3]
	str	r2, [sp, #4]
	bl	ext4_ext_get_access
	cmp	r0, #0
	sub	r4, r4, #1
	bne	.L11
	ldr	r3, [r8, r7]
	mov	r1, r6
	mov	r0, r9
	ldr	r2, [sp, #4]
	str	r10, [r3]
	bl	ext4_ext_dirty
	cmp	r0, #0
	beq	.L6
.L11:
	mov	fp, r0
	b	.L1
.L14:
	mov	r2, r10
	mov	r0, r6
	ldr	r1, .L16
	bl	EXT4_ERROR_INODE
	ldr	r3, .L16+4
	ldr	r0, [r3]
	rsb	fp, r0, #0
	mov	r0, fp
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	ldr	r0, [r5, #-8]
	ldr	r8, [r5, #-12]
	bl	EXT_FIRST_INDEX
	cmp	r8, r0
	bne	.L1
	mov	r2, r7
	mov	r1, r6
	mov	r0, r9
	bl	ext4_ext_get_access
	cmp	r0, #0
	bne	.L11
	ldr	r3, [r5, #-24]
	mov	r2, r7
	mov	r1, r6
	mov	r0, r9
	str	r10, [r3]
	bl	ext4_ext_dirty
	cmp	r0, #0
	sub	r4, r4, #1
	sub	r5, r5, #12
	bne	.L11
.L6:
	cmp	r4, #0
	sub	r7, r5, #24
	bne	.L7
	b	.L1
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	EFSCORRUPTED
	.size	ext4_ext_correct_indexes, .-ext4_ext_correct_indexes
	.comm	EFSCORRUPTED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
