	.file	"extr_move_extent.c_ext4_move_extents.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"ext4 move extent: The argument files should be in same FS [ino:orig %lu, donor %lu]\n"
	.align 8
.LC1:
	.string	"ext4 move extent: The argument files should not be same inode [ino:orig %lu, donor %lu]\n"
	.align 8
.LC2:
	.string	"ext4 move extent: The argument files should be regular file [ino:orig %lu, donor %lu]\n"
	.align 8
.LC3:
	.string	"Online defrag not supported with data journaling"
	.align 8
.LC4:
	.string	"Online defrag not supported for encrypted files"
	.text
	.p2align 4
	.globl	ext4_move_extents
	.type	ext4_move_extents, @function
ext4_move_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
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r9
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 120
	.cfi_def_cfa_offset 176
	mov	QWORD PTR 72[rsp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	call	file_inode@PLT
	mov	rdi, r14
	mov	r15, rax
	call	file_inode@PLT
	mov	QWORD PTR 96[rsp], 0
	mov	r14, rax
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR 8[r15], rax
	jne	.L33
	cmp	r15, r14
	je	.L34
	mov	eax, DWORD PTR PAGE_SIZE[rip]
	mov	edi, DWORD PTR 20[r15]
	mov	DWORD PTR 16[rsp], eax
	mov	eax, DWORD PTR [r15]
	mov	DWORD PTR 8[rsp], eax
	call	S_ISREG@PLT
	test	eax, eax
	je	.L6
	mov	edi, DWORD PTR 20[r14]
	call	S_ISREG@PLT
	test	eax, eax
	jne	.L35
.L6:
	mov	edx, DWORD PTR 16[r14]
	mov	esi, DWORD PTR 16[r15]
	lea	rdi, .LC2[rip]
	call	ext4_debug@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	mov	rbx, QWORD PTR 104[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L36
	add	rsp, 120
	.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
	ret
	.p2align 4,,10
	.p2align 3
.L33:
	.cfi_restore_state
	mov	edx, DWORD PTR 16[r14]
	mov	esi, DWORD PTR 16[r15]
	lea	rdi, .LC0[rip]
	call	ext4_debug@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L35:
	mov	rdi, r15
	call	ext4_should_journal_data@PLT
	test	rax, rax
	jne	.L8
	mov	rdi, r14
	call	ext4_should_journal_data@PLT
	test	rax, rax
	jne	.L8
	mov	rdi, r15
	call	IS_ENCRYPTED@PLT
	test	rax, rax
	jne	.L10
	mov	rdi, r14
	call	IS_ENCRYPTED@PLT
	test	rax, rax
	jne	.L10
	mov	rsi, r14
	mov	rdi, r15
	call	lock_two_nondirectories@PLT
	mov	rdi, r15
	call	inode_dio_wait@PLT
	mov	rdi, r14
	call	inode_dio_wait@PLT
	mov	rsi, r14
	mov	rdi, r15
	call	ext4_double_down_write_data_sem@PLT
	lea	r8, 72[rsp]
	mov	rcx, r12
	mov	rdx, rbp
	mov	rsi, r14
	mov	rdi, r15
	call	mext_check_arguments@PLT
	mov	DWORD PTR 92[rsp], eax
	test	eax, eax
	jne	.L12
	mov	rdx, QWORD PTR 72[rsp]
	lea	eax, [rdx+rbp]
	mov	DWORD PTR 20[rsp], eax
	cmp	ebp, eax
	jge	.L23
	mov	eax, DWORD PTR 16[rsp]
	movzx	ecx, BYTE PTR 8[rsp]
	mov	DWORD PTR 16[rsp], r12d
	mov	QWORD PTR 64[rsp], rbp
	sar	eax, cl
	mov	QWORD PTR 56[rsp], r13
	mov	DWORD PTR 36[rsp], eax
	lea	rax, 96[rsp]
	mov	QWORD PTR 8[rsp], rax
	lea	rax, 92[rsp]
	mov	QWORD PTR 40[rsp], rax
	mov	QWORD PTR 48[rsp], rbx
	mov	ebx, ebp
.L20:
	mov	rdx, QWORD PTR 8[rsp]
	mov	esi, ebx
	mov	rdi, r15
	call	get_ext_path@PLT
	mov	DWORD PTR 92[rsp], eax
	test	eax, eax
	jne	.L30
	mov	rdi, QWORD PTR 96[rsp]
	mov	rax, QWORD PTR [rdi]
	sal	rax, 4
	mov	rbp, QWORD PTR 8[rdi+rax]
	call	ext4_ext_next_allocated_block@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	r12d, eax
	call	le32_to_cpu@PLT
	mov	rdi, rbp
	mov	r13d, eax
	call	ext4_ext_get_actual_len@PLT
	mov	edx, eax
	lea	eax, 0[r13+rax]
	cmp	eax, ebx
	jg	.L15
	cmp	DWORD PTR EXT_MAX_BLOCKS[rip], r12d
	je	.L37
	mov	eax, r12d
	sub	eax, ebx
	add	DWORD PTR 16[rsp], eax
	mov	ebx, r12d
.L17:
	cmp	ebx, DWORD PTR 20[rsp]
	jl	.L20
	mov	rbp, QWORD PTR 64[rsp]
	mov	r13, QWORD PTR 56[rsp]
	mov	r10d, ebx
	mov	rdx, QWORD PTR 72[rsp]
.L13:
	movsx	rax, r10d
	sub	rax, rbp
	cmp	rax, rdx
	cmovg	rax, rdx
	mov	QWORD PTR 0[r13], rax
	.p2align 4,,10
	.p2align 3
.L12:
	cmp	QWORD PTR 0[r13], 0
	jne	.L38
.L21:
	mov	rdi, QWORD PTR 96[rsp]
	call	ext4_ext_drop_refs@PLT
	mov	rdi, QWORD PTR 96[rsp]
	call	kfree@PLT
	mov	rsi, r14
	mov	rdi, r15
	call	ext4_double_up_write_data_sem@PLT
	mov	rsi, r14
	mov	rdi, r15
	call	unlock_two_nondirectories@PLT
	mov	eax, DWORD PTR 92[rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L34:
	mov	esi, DWORD PTR 16[r15]
	lea	rdi, .LC1[rip]
	mov	edx, esi
	call	ext4_debug@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, QWORD PTR 8[r15]
	mov	esi, DWORD PTR KERN_ERR[rip]
	lea	rdx, .LC3[rip]
	call	ext4_msg@PLT
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, QWORD PTR 8[r15]
	mov	esi, DWORD PTR KERN_ERR[rip]
	lea	rdx, .LC4[rip]
	call	ext4_msg@PLT
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	eax, r13d
	sub	eax, ebx
	cmp	r13d, ebx
	jle	.L18
	add	DWORD PTR 16[rsp], eax
	cmp	DWORD PTR 20[rsp], r13d
	jle	.L30
.L19:
	mov	rdi, rbp
	mov	DWORD PTR 24[rsp], edx
	mov	ebx, r13d
	call	ext4_ext_is_unwritten@PLT
	mov	ebp, DWORD PTR 20[rsp]
	mov	edx, DWORD PTR 24[rsp]
	mov	rsi, r14
	mov	DWORD PTR 32[rsp], eax
	mov	eax, DWORD PTR PAGE_SHIFT[rip]
	mov	rdi, r15
	sub	ebp, r13d
	cmp	ebp, edx
	mov	ecx, eax
	cmovg	ebp, edx
	sub	ecx, DWORD PTR [r15]
	sub	eax, DWORD PTR [r14]
	sar	ebx, cl
	mov	ecx, eax
	mov	eax, DWORD PTR 16[rsp]
	sar	eax, cl
	mov	ecx, DWORD PTR 36[rsp]
	mov	DWORD PTR 28[rsp], eax
	mov	eax, r13d
	cdq
	idiv	ecx
	mov	eax, ecx
	sub	eax, edx
	mov	DWORD PTR 24[rsp], edx
	cmp	eax, ebp
	cmovle	ebp, eax
	call	ext4_double_up_write_data_sem@PLT
	push	QWORD PTR 40[rsp]
	.cfi_def_cfa_offset 184
	mov	r9d, DWORD PTR 40[rsp]
	mov	edx, ebx
	mov	rsi, r14
	push	r9
	.cfi_def_cfa_offset 192
	mov	ecx, DWORD PTR 44[rsp]
	mov	r9d, ebp
	mov	r8d, DWORD PTR 40[rsp]
	mov	rdi, QWORD PTR 64[rsp]
	call	move_extent_per_page@PLT
	mov	rsi, r14
	mov	rdi, r15
	call	ext4_double_down_write_data_sem@PLT
	pop	rax
	.cfi_def_cfa_offset 184
	pop	rdx
	.cfi_def_cfa_offset 176
	mov	ecx, DWORD PTR 92[rsp]
	test	ecx, ecx
	js	.L39
	add	DWORD PTR 16[rsp], ebp
	lea	ebx, 0[rbp+r13]
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L18:
	add	edx, eax
	mov	r13d, ebx
	jmp	.L19
.L37:
	mov	eax, DWORD PTR ENODATA[rip]
	mov	r13, QWORD PTR 56[rsp]
	neg	eax
	mov	DWORD PTR 92[rsp], eax
	jmp	.L12
.L38:
	mov	rdi, r15
	call	ext4_discard_preallocations@PLT
	mov	rdi, r14
	call	ext4_discard_preallocations@PLT
	jmp	.L21
.L30:
	mov	r13, QWORD PTR 56[rsp]
	jmp	.L12
.L39:
	mov	r10d, r13d
	mov	rbp, QWORD PTR 64[rsp]
	mov	r13, QWORD PTR 56[rsp]
	mov	rdx, QWORD PTR 72[rsp]
	jmp	.L13
.L36:
	call	__stack_chk_fail@PLT
.L23:
	mov	r10d, ebp
	jmp	.L13
	.cfi_endproc
.LFE0:
	.size	ext4_move_extents, .-ext4_move_extents
	.comm	PAGE_SIZE,4,4
	.comm	PAGE_SHIFT,4,4
	.comm	KERN_ERR,4,4
	.comm	EXT_MAX_BLOCKS,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	ENODATA,4,4
	.comm	EINVAL,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_move_extent.c_ext4_move_extents.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ext4 move extent: The argument files should be in s"
	.ascii	"ame FS [ino:orig %lu, donor %lu]\012\000"
	.align	2
.LC1:
	.ascii	"ext4 move extent: The argument files should not be "
	.ascii	"same inode [ino:orig %lu, donor %lu]\012\000"
	.align	2
.LC2:
	.ascii	"ext4 move extent: The argument files should be regu"
	.ascii	"lar file [ino:orig %lu, donor %lu]\012\000"
	.align	2
.LC3:
	.ascii	"Online defrag not supported with data journaling\000"
	.align	2
.LC4:
	.ascii	"Online defrag not supported for encrypted files\000"
	.global	__aeabi_idivmod
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ext4_move_extents
	.syntax unified
	.arm
	.fpu softvfp
	.type	ext4_move_extents, %function
ext4_move_extents:
	@ args = 8, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r3
	ldr	r3, .L43
	sub	sp, sp, #60
	mov	r5, r1
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	mov	r8, r0
	ldr	fp, [sp, #100]
	bl	file_inode
	mov	r4, r0
	mov	r0, r5
	bl	file_inode
	mov	r1, #0
	ldr	r2, [r4, #4]
	ldr	r3, [r0, #4]
	mov	r5, r0
	cmp	r2, r3
	str	r1, [sp, #44]
	bne	.L36
	cmp	r4, r0
	beq	.L37
	ldr	r3, .L43+4
	ldr	r0, [r4, #12]
	ldr	r10, [r3]
	ldr	r9, [r4]
	bl	S_ISREG
	cmp	r0, #0
	beq	.L6
	ldr	r0, [r5, #12]
	bl	S_ISREG
	cmp	r0, #0
	bne	.L38
.L6:
	ldr	r2, [r5, #8]
	ldr	r1, [r4, #8]
	ldr	r0, .L43+8
	bl	ext4_debug
	ldr	r3, .L43+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L43
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L39
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L36:
	ldr	r2, [r0, #8]
	ldr	r1, [r4, #8]
	ldr	r0, .L43+16
	bl	ext4_debug
	ldr	r3, .L43+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L38:
	mov	r0, r4
	bl	ext4_should_journal_data
	cmp	r0, #0
	bne	.L8
	mov	r0, r5
	bl	ext4_should_journal_data
	cmp	r0, #0
	bne	.L8
	mov	r0, r4
	bl	IS_ENCRYPTED
	cmp	r0, #0
	bne	.L10
	mov	r0, r5
	bl	IS_ENCRYPTED
	cmp	r0, #0
	bne	.L10
	mov	r1, r5
	mov	r0, r4
	bl	lock_two_nondirectories
	mov	r0, r4
	bl	inode_dio_wait
	mov	r0, r5
	bl	inode_dio_wait
	mov	r1, r5
	mov	r0, r4
	bl	ext4_double_down_write_data_sem
	add	r3, sp, #96
	str	r3, [sp]
	mov	r2, r7
	mov	r3, r6
	mov	r1, r5
	mov	r0, r4
	bl	mext_check_arguments
	cmp	r0, #0
	str	r0, [sp, #48]
	bne	.L12
	ldr	r3, [sp, #96]
	add	r2, r7, r3
	cmp	r7, r2
	str	r2, [sp, #16]
	bge	.L23
	str	r8, [sp, #28]
	mov	r8, r7
	asr	r3, r10, r9
	str	r3, [sp, #20]
	str	r7, [sp, #36]
	str	fp, [sp, #32]
.L20:
	mov	r1, r8
	mov	r0, r4
	add	r2, sp, #44
	bl	get_ext_path
	cmp	r0, #0
	str	r0, [sp, #48]
	bne	.L33
	ldr	r0, [sp, #44]
	ldr	r3, [r0]
	add	r3, r0, r3, lsl #3
	ldr	r9, [r3, #4]
	bl	ext4_ext_next_allocated_block
	mov	r10, r0
	ldr	r0, [r9]
	bl	le32_to_cpu
	mov	r7, r0
	mov	r0, r9
	bl	ext4_ext_get_actual_len
	add	r3, r7, r0
	cmp	r3, r8
	mov	fp, r0
	bgt	.L15
	ldr	r3, .L43+20
	ldr	r3, [r3]
	cmp	r3, r10
	beq	.L40
	sub	r1, r10, r8
	mov	r8, r10
	add	r6, r6, r1
.L17:
	ldr	r3, [sp, #16]
	cmp	r8, r3
	blt	.L20
	mov	r2, r8
	ldr	r7, [sp, #36]
	ldr	fp, [sp, #32]
	ldr	r3, [sp, #96]
.L13:
	sub	r7, r2, r7
	cmp	r3, r7
	movlt	r7, r3
	str	r7, [fp]
.L12:
	ldr	r3, [fp]
	cmp	r3, #0
	bne	.L41
.L21:
	ldr	r0, [sp, #44]
	bl	ext4_ext_drop_refs
	ldr	r0, [sp, #44]
	bl	kfree
	mov	r1, r5
	mov	r0, r4
	bl	ext4_double_up_write_data_sem
	mov	r1, r5
	mov	r0, r4
	bl	unlock_two_nondirectories
	ldr	r0, [sp, #48]
	b	.L1
.L37:
	ldr	r2, [r4, #8]
	ldr	r0, .L43+24
	mov	r1, r2
	bl	ext4_debug
	ldr	r3, .L43+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L8:
	ldr	r3, .L43+28
	ldr	r0, [r4, #4]
	ldr	r1, [r3]
	ldr	r2, .L43+32
	bl	ext4_msg
	ldr	r3, .L43+36
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L10:
	ldr	r3, .L43+28
	ldr	r0, [r4, #4]
	ldr	r1, [r3]
	ldr	r2, .L43+40
	bl	ext4_msg
	ldr	r3, .L43+36
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L15:
	cmp	r7, r8
	sub	r3, r7, r8
	ble	.L18
	ldr	r2, [sp, #16]
	add	r6, r6, r3
	cmp	r2, r7
	ble	.L33
.L19:
	mov	r0, r9
	bl	ext4_ext_is_unwritten
	mov	r3, r0
	ldr	r2, .L43+44
	ldr	r0, [sp, #16]
	ldr	r9, [r2]
	ldr	r1, [r5]
	ldr	r2, [r4]
	sub	r10, r0, r7
	sub	r2, r9, r2
	cmp	r10, fp
	sub	r9, r9, r1
	mov	r0, r7
	ldr	r1, [sp, #20]
	movge	r10, fp
	asr	r8, r7, r2
	str	r3, [sp, #24]
	bl	__aeabi_idivmod
	ldr	r3, [sp, #20]
	mov	fp, r1
	sub	r1, r3, r1
	cmp	r1, r10
	movlt	r10, r1
	mov	r0, r4
	mov	r1, r5
	bl	ext4_double_up_write_data_sem
	ldr	r3, [sp, #24]
	add	r1, sp, #48
	asr	r9, r6, r9
	mov	r2, r8
	str	r3, [sp, #8]
	str	r1, [sp, #12]
	mov	r3, r9
	mov	r1, r5
	ldr	r0, [sp, #28]
	str	r10, [sp, #4]
	str	fp, [sp]
	bl	move_extent_per_page
	mov	r1, r5
	mov	r0, r4
	bl	ext4_double_down_write_data_sem
	ldr	r3, [sp, #48]
	cmp	r3, #0
	blt	.L42
	add	r8, r10, r7
	add	r6, r6, r10
	b	.L17
.L18:
	mov	r7, r8
	add	fp, r0, r3
	b	.L19
.L40:
	ldr	r3, .L43+48
	ldr	fp, [sp, #32]
	ldr	r3, [r3]
	rsb	r3, r3, #0
	str	r3, [sp, #48]
	b	.L12
.L41:
	mov	r0, r4
	bl	ext4_discard_preallocations
	mov	r0, r5
	bl	ext4_discard_preallocations
	b	.L21
.L33:
	ldr	fp, [sp, #32]
	b	.L12
.L42:
	mov	r2, r7
	ldr	fp, [sp, #32]
	ldr	r7, [sp, #36]
	ldr	r3, [sp, #96]
	b	.L13
.L39:
	bl	__stack_chk_fail
.L23:
	mov	r2, r7
	b	.L13
.L44:
	.align	2
.L43:
	.word	.LC5
	.word	PAGE_SIZE
	.word	.LC2
	.word	EINVAL
	.word	.LC0
	.word	EXT_MAX_BLOCKS
	.word	.LC1
	.word	KERN_ERR
	.word	.LC3
	.word	EOPNOTSUPP
	.word	.LC4
	.word	PAGE_SHIFT
	.word	ENODATA
	.size	ext4_move_extents, .-ext4_move_extents
	.comm	PAGE_SIZE,4,4
	.comm	PAGE_SHIFT,4,4
	.comm	KERN_ERR,4,4
	.comm	EXT_MAX_BLOCKS,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	ENODATA,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
