	.file	"extr_inode.c_get_extent_allocation_hint.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	get_extent_allocation_hint, @function
get_extent_allocation_hint:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	BTRFS_I@PLT
	mov	rbp, rax
	mov	rdi, rax
	call	read_lock@PLT
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbp
	call	search_extent_mapping@PLT
	test	rax, rax
	je	.L5
	mov	r12, QWORD PTR [rax]
	cmp	r12, QWORD PTR EXTENT_MAP_LAST_BYTE[rip]
	mov	rdi, rax
	jl	.L4
	call	free_extent_map@PLT
	mov	rdi, rbp
	xor	edx, edx
	xor	esi, esi
	call	search_extent_mapping@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L5
	mov	r12, QWORD PTR [rax]
	mov	eax, 0
	cmp	r12, QWORD PTR EXTENT_MAP_LAST_BYTE[rip]
	cmovge	r12, rax
	call	free_extent_map@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	call	free_extent_map@PLT
.L3:
	mov	rdi, rbp
	call	read_unlock@PLT
	mov	rax, r12
	pop	rbp
	.cfi_remember_state
	.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
.L5:
	.cfi_restore_state
	xor	r12d, r12d
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	get_extent_allocation_hint, .-get_extent_allocation_hint
	.comm	EXTENT_MAP_LAST_BYTE,8,8
	.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_inode.c_get_extent_allocation_hint.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_extent_allocation_hint, %function
get_extent_allocation_hint:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r6, r2
	bl	BTRFS_I
	mov	r4, r0
	bl	read_lock
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	bl	search_extent_mapping
	subs	r3, r0, #0
	beq	.L5
	ldr	r6, .L13
	ldr	r5, [r3]
	ldr	r3, [r6]
	cmp	r5, r3
	blt	.L4
	bl	free_extent_map
	mov	r2, #0
	mov	r0, r4
	mov	r1, r2
	bl	search_extent_mapping
	subs	r3, r0, #0
	beq	.L5
	ldr	r5, [r3]
	ldr	r3, [r6]
	cmp	r5, r3
	movge	r5, #0
	bl	free_extent_map
	b	.L3
.L4:
	bl	free_extent_map
.L3:
	mov	r0, r4
	bl	read_unlock
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L5:
	mov	r5, #0
	b	.L3
.L14:
	.align	2
.L13:
	.word	EXTENT_MAP_LAST_BYTE
	.size	get_extent_allocation_hint, .-get_extent_allocation_hint
	.comm	EXTENT_MAP_LAST_BYTE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
