	.file	"extr_transaction.c_btrfs_wait_marked_extents.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	btrfs_wait_marked_extents
	.type	btrfs_wait_marked_extents, @function
btrfs_wait_marked_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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	xor	esi, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	xor	ebx, ebx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rdi]
	lea	r14, 16[rsp]
	lea	r13, 8[rsp]
	mov	rax, QWORD PTR [rax]
	mov	r15, QWORD PTR [rax]
	mov	QWORD PTR 8[rsp], 0
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r8d, DWORD PTR GFP_NOFS[rip]
	mov	ecx, DWORD PTR EXTENT_NEED_WAIT[rip]
	mov	rdi, rbp
	mov	rdx, QWORD PTR 16[rsp]
	mov	rsi, QWORD PTR 8[rsp]
	call	clear_extent_bits@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdx, QWORD PTR 16[rsp]
	mov	rdi, r15
	call	filemap_fdatawait_range@PLT
	test	eax, eax
	mov	ebx, eax
	cmovne	r12d, eax
	xor	eax, eax
	call	cond_resched@PLT
	mov	rax, QWORD PTR 16[rsp]
	lea	rsi, 1[rax]
	mov	QWORD PTR 8[rsp], rsi
.L2:
	mov	r8d, DWORD PTR EXTENT_NEED_WAIT[rip]
	mov	rcx, r14
	mov	rdx, r13
	mov	rdi, rbp
	call	find_first_extent_bit@PLT
	test	eax, eax
	je	.L4
	test	ebx, ebx
	cmovne	r12d, ebx
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	btrfs_wait_marked_extents, .-btrfs_wait_marked_extents
	.comm	GFP_NOFS,4,4
	.comm	EXTENT_NEED_WAIT,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_transaction.c_btrfs_wait_marked_extents.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	btrfs_wait_marked_extents
	.syntax unified
	.arm
	.fpu softvfp
	.type	btrfs_wait_marked_extents, %function
btrfs_wait_marked_extents:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r2, [r0]
	ldr	r0, .L14
	ldr	r2, [r2]
	sub	sp, sp, #28
	mov	r5, r1
	ldr	r0, [r0]
	str	r0, [sp, #20]
	mov	r0,#0
	ldr	r8, [r2]
	mov	r1, r3
	mov	r4, r3
	mov	r9, r3
	ldr	r6, .L14+4
	ldr	r7, .L14+8
	str	r3, [sp, #12]
	b	.L2
.L4:
	ldr	r2, [r7]
	ldr	r3, [r6]
	ldr	r1, [sp, #12]
	str	r2, [sp]
	mov	r0, r5
	ldr	r2, [sp, #16]
	bl	clear_extent_bits
	ldr	r1, [sp, #12]
	ldr	r2, [sp, #16]
	mov	r0, r8
	bl	filemap_fdatawait_range
	subs	r9, r0, #0
	movne	r4, r9
	bl	cond_resched
	ldr	r1, [sp, #16]
	add	r1, r1, #1
	str	r1, [sp, #12]
.L2:
	ldr	r3, [r6]
	mov	r0, r5
	str	r3, [sp]
	add	r2, sp, #12
	add	r3, sp, #16
	bl	find_first_extent_bit
	cmp	r0, #0
	beq	.L4
	ldr	r3, .L14
	cmp	r9, #0
	movne	r4, r9
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	EXTENT_NEED_WAIT
	.word	GFP_NOFS
	.size	btrfs_wait_marked_extents, .-btrfs_wait_marked_extents
	.comm	GFP_NOFS,4,4
	.comm	EXTENT_NEED_WAIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
