	.file	"extr_extents.c_ext4_valid_extent_entries.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ext4_valid_extent_entries, @function
ext4_valid_extent_entries:
.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
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR [rsi]
	test	rdi, rdi
	jne	.L26
.L2:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	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
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	mov	r12, rsi
	mov	ebx, edx
	call	le16_to_cpu@PLT
	mov	rdi, r12
	mov	r13d, eax
	test	ebx, ebx
	jne	.L3
	call	EXT_FIRST_EXTENT@PLT
	mov	rbx, rax
	test	r13w, r13w
	je	.L2
	sub	r13d, 1
	movzx	r13d, r13w
	lea	r12, 4[rax+r13*4]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	add	rbx, 4
	cmp	r12, rbx
	je	.L2
.L6:
	mov	rsi, rbx
	mov	rdi, rbp
	call	ext4_valid_extent@PLT
	test	eax, eax
	jne	.L4
	xor	eax, eax
.L28:
	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
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	call	EXT_FIRST_INDEX@PLT
	mov	rbx, rax
	test	r13w, r13w
	je	.L2
	sub	r13d, 1
	movzx	r13d, r13w
	lea	r12, 4[rax+r13*4]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L27:
	add	rbx, 4
	cmp	rbx, r12
	je	.L2
.L8:
	mov	rsi, rbx
	mov	rdi, rbp
	call	ext4_valid_extent_idx@PLT
	test	eax, eax
	jne	.L27
	xor	eax, eax
	jmp	.L28
	.cfi_endproc
.LFE0:
	.size	ext4_valid_extent_entries, .-ext4_valid_extent_entries
	.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_valid_extent_entries.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ext4_valid_extent_entries, %function
ext4_valid_extent_entries:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	cmp	r3, #0
	bne	.L30
	mov	r0, #1
	bx	lr
.L30:
	push	{r4, r5, r6, lr}
	mov	r4, r2
	mov	r5, r0
	mov	r0, r3
	mov	r6, r1
	bl	le16_to_cpu
	cmp	r4, #0
	mov	r4, r0
	mov	r0, r6
	bne	.L3
	bl	EXT_FIRST_EXTENT
	cmp	r4, #0
	mov	r6, r0
	beq	.L2
	sub	r4, r4, #1
	lsl	r4, r4, #16
	lsr	r4, r4, #16
	add	r4, r4, #1
	add	r4, r0, r4, lsl #2
	b	.L6
.L4:
	cmp	r4, r6
	beq	.L2
.L6:
	mov	r1, r6
	mov	r0, r5
	bl	ext4_valid_extent
	cmp	r0, #0
	add	r6, r6, #4
	bne	.L4
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L3:
	bl	EXT_FIRST_INDEX
	cmp	r4, #0
	mov	r6, r0
	beq	.L2
	sub	r4, r4, #1
	lsl	r4, r4, #16
	lsr	r4, r4, #16
	add	r4, r4, #1
	add	r4, r0, r4, lsl #2
	b	.L8
.L31:
	cmp	r6, r4
	beq	.L2
.L8:
	mov	r1, r6
	mov	r0, r5
	bl	ext4_valid_extent_idx
	cmp	r0, #0
	add	r6, r6, #4
	bne	.L31
	mov	r0, #0
	pop	{r4, r5, r6, pc}
	.size	ext4_valid_extent_entries, .-ext4_valid_extent_entries
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
