	.file	"extr_file.c_btrfs_run_defrag_inodes.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	btrfs_run_defrag_inodes
	.type	btrfs_run_defrag_inodes, @function
btrfs_run_defrag_inodes:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	r14, 4[rdi]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	rdi, r14
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	lea	r13, 8[rbp]
	xor	ebx, ebx
	call	atomic_inc@PLT
.L2:
	mov	edi, DWORD PTR BTRFS_FS_STATE_REMOUNTING[rip]
	mov	rsi, r13
	call	test_bit@PLT
	test	rax, rax
	jne	.L3
	mov	rdi, rbp
	call	__need_auto_defrag@PLT
	test	eax, eax
	je	.L3
	mov	rsi, r12
	mov	rdx, rbx
	mov	rdi, rbp
	call	btrfs_pick_defrag_inode@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L12
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rbp
	mov	r12, QWORD PTR [rsi]
	lea	rbx, 1[rax]
	call	__btrfs_run_defrag_inode@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L12:
	or	rbx, r12
	jne	.L13
.L3:
	mov	rdi, r14
	call	atomic_dec@PLT
	mov	rdi, rbp
	call	wake_up@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	xor	r12d, r12d
	xor	ebx, ebx
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	btrfs_run_defrag_inodes, .-btrfs_run_defrag_inodes
	.comm	BTRFS_FS_STATE_REMOUNTING,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_file.c_btrfs_run_defrag_inodes.c"
	.text
	.align	2
	.global	btrfs_run_defrag_inodes
	.syntax unified
	.arm
	.fpu softvfp
	.type	btrfs_run_defrag_inodes, %function
btrfs_run_defrag_inodes:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, #0
	add	r9, r0, #4
	mov	r4, r0
	mov	r0, r9
	bl	atomic_inc
	mov	r5, r6
	ldr	r7, .L14
	add	r8, r4, #8
.L2:
	mov	r1, r8
	ldr	r0, [r7]
	bl	test_bit
	cmp	r0, #0
	bne	.L3
	mov	r0, r4
	bl	__need_auto_defrag
	cmp	r0, #0
	beq	.L3
	mov	r1, r6
	mov	r2, r5
	mov	r0, r4
	bl	btrfs_pick_defrag_inode
	subs	r1, r0, #0
	beq	.L12
	ldr	r5, [r1, #4]
	mov	r0, r4
	ldr	r6, [r1]
	add	r5, r5, #1
	bl	__btrfs_run_defrag_inode
	b	.L2
.L12:
	orrs	r3, r5, r6
	bne	.L13
.L3:
	mov	r0, r9
	bl	atomic_dec
	mov	r0, r4
	bl	wake_up
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L13:
	mov	r6, r1
	mov	r5, r1
	b	.L2
.L15:
	.align	2
.L14:
	.word	BTRFS_FS_STATE_REMOUNTING
	.size	btrfs_run_defrag_inodes, .-btrfs_run_defrag_inodes
	.comm	BTRFS_FS_STATE_REMOUNTING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
