	.file	"extr_inode.c_btrfs_cleanup_ordered_extents.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	btrfs_cleanup_ordered_extents, @function
btrfs_cleanup_ordered_extents:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	lea	eax, [r12+r13]
	mov	rbp, rdi
	mov	rdi, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	lea	ebx, -1[rax]
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	ecx, DWORD PTR PAGE_SHIFT[rip]
	mov	DWORD PTR 4[rsp], eax
	sar	edx, cl
	sar	ebx, cl
	movsx	r14, edx
	movsx	rbx, ebx
	call	page_offset@PLT
	mov	DWORD PTR 12[rsp], eax
	add	eax, DWORD PTR PAGE_SIZE[rip]
	mov	DWORD PTR 8[rsp], eax
	cmp	r14, rbx
	ja	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, DWORD PTR 0[rbp]
	mov	rsi, r14
	add	r14, 1
	call	find_get_page@PLT
	mov	r15, rax
	test	rax, rax
	je	.L3
	mov	rdi, rax
	call	ClearPagePrivate2@PLT
	mov	rdi, r15
	call	put_page@PLT
.L3:
	cmp	rbx, r14
	jnb	.L4
.L2:
	mov	ecx, DWORD PTR 8[rsp]
	cmp	DWORD PTR 4[rsp], ecx
	jl	.L5
	cmp	r12d, DWORD PTR 12[rsp]
	jle	.L18
.L5:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	edx, r13d
	mov	esi, r12d
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	xor	ecx, ecx
	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	__endio_write_update_ordered@PLT
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	eax, DWORD PTR PAGE_SIZE[rip]
	add	r12d, eax
	sub	r13d, eax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	btrfs_cleanup_ordered_extents, .-btrfs_cleanup_ordered_extents
	.comm	PAGE_SIZE,4,4
	.comm	PAGE_SHIFT,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_inode.c_btrfs_cleanup_ordered_extents.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	btrfs_cleanup_ordered_extents, %function
btrfs_cleanup_ordered_extents:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r3
	ldr	r3, .L15
	add	r8, r2, r7
	ldr	r3, [r3]
	sub	sp, sp, #12
	mov	r4, r0
	sub	r5, r8, #1
	mov	r0, r1
	asr	r5, r5, r3
	asr	r10, r2, r3
	mov	r6, r2
	bl	page_offset
	ldr	fp, .L15+4
	cmp	r10, r5
	ldr	r3, [fp]
	str	r0, [sp, #4]
	add	r3, r0, r3
	str	r3, [sp]
	bhi	.L2
.L4:
	mov	r1, r10
	ldr	r0, [r4]
	bl	find_get_page
	subs	r9, r0, #0
	add	r10, r10, #1
	beq	.L3
	bl	ClearPagePrivate2
	mov	r0, r9
	bl	put_page
.L3:
	cmp	r5, r10
	bcs	.L4
.L2:
	ldr	r3, [sp]
	ldr	r2, [sp, #4]
	cmp	r8, r3
	movlt	r3, #0
	movge	r3, #1
	cmp	r6, r2
	movgt	r3, #0
	cmp	r3, #0
	ldrne	r3, [fp]
	mov	r0, r4
	addne	r6, r6, r3
	subne	r7, r7, r3
	mov	r2, r7
	mov	r1, r6
	mov	r3, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	__endio_write_update_ordered
.L16:
	.align	2
.L15:
	.word	PAGE_SHIFT
	.word	PAGE_SIZE
	.size	btrfs_cleanup_ordered_extents, .-btrfs_cleanup_ordered_extents
	.comm	PAGE_SIZE,4,4
	.comm	PAGE_SHIFT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
