	.file	"extr_ext4_extents.c_ext4_ext_search_right.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"path == NULL *logical %d!"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"first_extent(path[%d].p_hdr) != ex"
	.align 8
.LC2:
	.string	"ix != EXT_FIRST_INDEX *logical %d!"
	.align 8
.LC3:
	.string	"logical %d < ee_block %d + ee_len %d!"
	.text
	.p2align 4
	.type	ext4_ext_search_right, @function
ext4_ext_search_right:
.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
	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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 8[rsp], rcx
	mov	QWORD PTR 24[rsp], r8
	test	rsi, rsi
	je	.L34
	mov	ebp, DWORD PTR [rsi]
	mov	rax, QWORD PTR 8[rsp]
	mov	r12, rsi
	mov	DWORD PTR [rax], 0
	test	ebp, ebp
	jne	.L4
	cmp	QWORD PTR 24[rsi], 0
	je	.L31
.L4:
	movsx	rax, ebp
	mov	rbx, rax
	mov	QWORD PTR 16[rsp], rax
	sal	rbx, 5
	add	rbx, r12
	mov	r15, QWORD PTR 24[rbx]
	mov	rdi, r15
	call	ext4_ext_get_actual_len@PLT
	mov	rdx, QWORD PTR [r15]
	mov	r8d, eax
	mov	rax, QWORD PTR 0[r13]
	cmp	rax, rdx
	jge	.L5
	mov	rdi, QWORD PTR 8[rbx]
	call	EXT_FIRST_EXTENT@PLT
	xor	edi, edi
	cmp	r15, rax
	setne	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L7
	jmp	.L35
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, QWORD PTR -24[rbx]
	mov	r12, QWORD PTR -16[rbx]
	call	EXT_FIRST_INDEX@PLT
	xor	edi, edi
	cmp	r12, rax
	setne	dil
	sub	rbx, 32
	call	unlikely@PLT
	test	rax, rax
	jne	.L36
.L7:
	sub	ebp, 1
	jns	.L8
.L9:
	mov	rax, QWORD PTR [r15]
	mov	rdi, r15
	mov	QWORD PTR 0[r13], rax
	call	ext4_ext_pblock@PLT
	mov	rcx, QWORD PTR 8[rsp]
	mov	DWORD PTR [rcx], eax
	mov	rax, QWORD PTR 24[rsp]
	mov	QWORD PTR [rax], r15
.L31:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
.L5:
	.cfi_restore_state
	movsx	rcx, r8d
	xor	edi, edi
	mov	DWORD PTR 16[rsp], r8d
	add	rdx, rcx
	cmp	rax, rdx
	setl	dil
	call	unlikely@PLT
	mov	r8d, DWORD PTR 16[rsp]
	test	rax, rax
	jne	.L37
	mov	rdi, QWORD PTR 8[rbx]
	call	EXT_LAST_EXTENT@PLT
	cmp	r15, rax
	je	.L12
	add	r15, 8
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rax, QWORD PTR -16[rbx]
	mov	rdi, QWORD PTR -24[rbx]
	sub	rbx, 32
	mov	QWORD PTR 16[rsp], rax
	call	EXT_LAST_INDEX@PLT
	cmp	QWORD PTR 16[rsp], rax
	jne	.L38
.L12:
	mov	r15d, ebp
	sub	ebp, 1
	jns	.L15
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L36:
	mov	rdx, QWORD PTR 0[r13]
	lea	rsi, .LC2[rip]
.L30:
	mov	rdi, r14
	xor	eax, eax
	call	EXT4_ERROR_INODE@PLT
	mov	eax, DWORD PTR EIO[rip]
	add	rsp, 40
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L37:
	.cfi_restore_state
	mov	rcx, QWORD PTR [r15]
	mov	rdx, QWORD PTR 0[r13]
	mov	rdi, r14
	xor	eax, eax
	lea	rsi, .LC3[rip]
	call	EXT4_ERROR_INODE@PLT
	mov	eax, DWORD PTR EIO[rip]
	add	rsp, 40
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L34:
	.cfi_restore_state
	mov	rdx, QWORD PTR [rdx]
	lea	rsi, .LC0[rip]
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L35:
	mov	rdx, QWORD PTR 16[rsp]
	lea	rsi, .LC1[rip]
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L38:
	mov	rdi, QWORD PTR 16[rsp]
	add	rdi, 4
	call	ext4_idx_pblock@PLT
	mov	edx, DWORD PTR [r12]
	mov	ebx, eax
	cmp	edx, r15d
	jg	.L13
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L17:
	call	ext_block_hdr@PLT
	add	r15d, 1
	mov	rdi, rax
	call	EXT_FIRST_INDEX@PLT
	mov	rdi, rax
	call	ext4_idx_pblock@PLT
	mov	rdi, rbp
	mov	ebx, eax
	call	extents_brelse@PLT
	mov	edx, DWORD PTR [r12]
	cmp	edx, r15d
	jle	.L14
.L13:
	sub	edx, r15d
	xor	ecx, ecx
	mov	esi, ebx
	mov	rdi, r14
	call	read_extent_tree_block@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	mov	rdi, rbp
	test	rax, rax
	je	.L17
.L32:
	add	rsp, 40
	.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
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	sub	edx, r15d
	xor	ecx, ecx
	mov	esi, ebx
	mov	rdi, r14
	call	read_extent_tree_block@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	mov	rdi, rbp
	test	rax, rax
	jne	.L32
	call	ext_block_hdr@PLT
	mov	rdi, rax
	call	EXT_FIRST_EXTENT@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR [rax]
	mov	rdi, rbx
	mov	QWORD PTR 0[r13], rax
	call	ext4_ext_pblock@PLT
	mov	rcx, QWORD PTR 8[rsp]
	mov	DWORD PTR [rcx], eax
	mov	rax, QWORD PTR 24[rsp]
	mov	QWORD PTR [rax], rbx
	test	rbp, rbp
	je	.L31
	mov	rdi, rbp
	call	extents_brelse@PLT
	add	rsp, 40
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
	.cfi_endproc
.LFE0:
	.size	ext4_ext_search_right, .-ext4_ext_search_right
	.comm	EIO,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_ext4_extents.c_ext4_ext_search_right.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"path == NULL *logical %d!\000"
	.align	2
.LC1:
	.ascii	"first_extent(path[%d].p_hdr) != ex\000"
	.align	2
.LC2:
	.ascii	"ix != EXT_FIRST_INDEX *logical %d!\000"
	.align	2
.LC3:
	.ascii	"logical %d < ee_block %d + ee_len %d!\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ext4_ext_search_right, %function
ext4_ext_search_right:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #20
	mov	r7, r3
	ldr	r3, [sp, #56]
	subs	r4, r1, #0
	mov	r6, r2
	str	r3, [sp, #8]
	beq	.L32
	mov	r3, #0
	ldr	r9, [r4]
	mov	r8, r0
	cmp	r9, r3
	str	r3, [r7]
	bne	.L4
	ldr	r3, [r4, #12]
	cmp	r3, #0
	beq	.L14
.L4:
	add	r10, r4, r9, lsl #4
	ldr	r5, [r10, #12]
	mov	r0, r5
	bl	ext4_ext_get_actual_len
	ldr	r3, [r5]
	ldr	r1, [r6]
	mov	fp, r0
	cmp	r1, r3
	bge	.L5
	ldr	r0, [r10, #4]
	bl	EXT_FIRST_EXTENT
	subs	r0, r5, r0
	movne	r0, #1
	bl	unlikely
	cmp	r0, #0
	bne	.L27
	add	r10, r4, #8
	add	r4, r4, #4
	b	.L6
.L7:
	ldr	r0, [r4, r9, lsl #4]
	ldr	fp, [r10, r9, lsl #4]
	bl	EXT_FIRST_INDEX
	subs	r0, fp, r0
	movne	r0, #1
	bl	unlikely
	cmp	r0, #0
	bne	.L33
.L6:
	subs	r9, r9, #1
	bpl	.L7
.L8:
	ldr	r3, [r5]
	mov	r0, r5
	str	r3, [r6]
	bl	ext4_ext_pblock
	mov	r4, #0
	ldr	r3, [sp, #8]
	str	r0, [r7]
	str	r5, [r3]
.L1:
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	add	r3, r3, r0
	cmp	r1, r3
	movge	r0, #0
	movlt	r0, #1
	bl	unlikely
	cmp	r0, #0
	bne	.L34
	ldr	r0, [r10, #4]
	bl	EXT_LAST_EXTENT
	cmp	r5, r0
	addne	r5, r5, #4
	bne	.L8
	add	r3, r4, #4
	add	fp, r4, #8
	str	r3, [sp, #12]
	b	.L10
.L13:
	ldr	r3, [sp, #12]
	ldr	r10, [fp, r9, lsl #4]
	ldr	r0, [r3, r9, lsl #4]
	bl	EXT_LAST_INDEX
	cmp	r10, r0
	bne	.L35
.L10:
	mov	r5, r9
	subs	r9, r9, #1
	bpl	.L13
.L14:
	mov	r4, #0
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L33:
	mov	r0, r8
	ldr	r2, [r6]
	ldr	r1, .L36
	bl	EXT4_ERROR_INODE
	ldr	r3, .L36+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L34:
	ldr	r3, [r5]
	ldr	r2, [r6]
	mov	r0, r8
	ldr	r1, .L36+8
	str	fp, [sp]
	bl	EXT4_ERROR_INODE
	ldr	r3, .L36+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L32:
	ldr	r2, [r2]
	ldr	r1, .L36+12
	bl	EXT4_ERROR_INODE
	ldr	r3, .L36+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L27:
	mov	r2, r9
	mov	r0, r8
	ldr	r1, .L36+16
	bl	EXT4_ERROR_INODE
	ldr	r3, .L36+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L35:
	add	r0, r10, #4
	bl	ext4_idx_pblock
	ldr	r2, [r4]
	mov	r10, r0
	cmp	r2, r5
	bgt	.L11
	b	.L12
.L15:
	bl	ext_block_hdr
	bl	EXT_FIRST_INDEX
	bl	ext4_idx_pblock
	mov	r1, r0
	mov	r0, r10
	mov	r10, r1
	bl	extents_brelse
	ldr	r2, [r4]
	cmp	r2, r5
	ble	.L12
.L11:
	mov	r1, r10
	sub	r2, r2, r5
	mov	r3, #0
	mov	r0, r8
	bl	read_extent_tree_block
	mov	r10, r0
	bl	IS_ERR
	cmp	r0, #0
	add	r5, r5, #1
	mov	r0, r10
	beq	.L15
.L30:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	PTR_ERR
.L12:
	mov	r1, r10
	mov	r0, r8
	mov	r3, #0
	sub	r2, r2, r5
	bl	read_extent_tree_block
	mov	r8, r0
	bl	IS_ERR
	subs	r4, r0, #0
	mov	r0, r8
	bne	.L30
	bl	ext_block_hdr
	bl	EXT_FIRST_EXTENT
	ldr	r3, [r0]
	mov	r5, r0
	str	r3, [r6]
	bl	ext4_ext_pblock
	ldr	r3, [sp, #8]
	cmp	r8, #0
	str	r0, [r7]
	str	r5, [r3]
	beq	.L14
	mov	r0, r8
	bl	extents_brelse
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC2
	.word	EIO
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.size	ext4_ext_search_right, .-ext4_ext_search_right
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
