	.file	"extr_dev.c_fuse_copy_page.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fuse_copy_page, @function
fuse_copy_page:
.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
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	r13, QWORD PTR [rsi]
	mov	QWORD PTR [rsp], rsi
	mov	DWORD PTR 12[rsp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	test	r13, r13
	setne	r14b
	test	r8d, r8d
	je	.L2
	test	r14b, r14b
	je	.L2
	cmp	DWORD PTR PAGE_SIZE[rip], ecx
	ja	.L37
	test	ecx, ecx
	je	.L5
.L4:
	lea	rbx, 12[rsp]
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L39:
	cmp	QWORD PTR 24[rbp], 0
	je	.L7
	test	r13, r13
	jne	.L38
	mov	eax, DWORD PTR 16[rbp]
	test	eax, eax
	jne	.L12
	mov	rdi, rbp
	call	fuse_copy_fill@PLT
	test	eax, eax
	jne	.L1
.L12:
	mov	rdx, rbx
	xor	esi, esi
	mov	rdi, rbp
	call	fuse_copy_do@PLT
	mov	ecx, DWORD PTR 12[rsp]
	add	r12d, eax
	test	ecx, ecx
	je	.L18
.L17:
	cmp	QWORD PTR 0[rbp], 0
	jne	.L39
.L7:
	mov	edx, DWORD PTR 16[rbp]
	test	edx, edx
	jne	.L16
	cmp	QWORD PTR 8[rbp], 0
	je	.L13
	test	r12d, r12d
	jne	.L13
	test	r14b, r14b
	je	.L13
	cmp	ecx, DWORD PTR PAGE_SIZE[rip]
	je	.L40
	mov	rdi, rbp
	call	fuse_copy_fill@PLT
	test	eax, eax
	jne	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, r13
	call	kmap_atomic@PLT
	lea	rsi, 16[rsp]
	mov	rdx, rbx
	mov	rdi, rbp
	mov	r15, rax
	mov	eax, r12d
	add	rax, r15
	mov	QWORD PTR 16[rsp], rax
	call	fuse_copy_do@PLT
	mov	rdi, r15
	add	r12d, eax
	call	kunmap_atomic@PLT
	mov	ecx, DWORD PTR 12[rsp]
	test	ecx, ecx
	jne	.L17
.L18:
	test	r13, r13
	je	.L35
.L5:
	cmp	QWORD PTR 0[rbp], 0
	je	.L41
.L35:
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L42
	add	rsp, 40
	.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
.L13:
	.cfi_restore_state
	mov	rdi, rbp
	call	fuse_copy_fill@PLT
	test	eax, eax
	jne	.L1
.L16:
	test	r13, r13
	jne	.L11
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L40:
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, rbp
	call	fuse_try_move_page@PLT
	test	eax, eax
	jg	.L11
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	test	ecx, ecx
	jne	.L4
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L37:
	mov	rdi, r13
	call	clear_highpage@PLT
	mov	ecx, DWORD PTR 12[rsp]
	test	ecx, ecx
	jne	.L4
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L41:
	mov	rdi, r13
	call	flush_dcache_page@PLT
	xor	eax, eax
	jmp	.L1
.L38:
	mov	edx, r12d
	mov	rsi, r13
	mov	rdi, rbp
	call	fuse_ref_page@PLT
	jmp	.L1
.L42:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	fuse_copy_page, .-fuse_copy_page
	.comm	PAGE_SIZE,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_dev.c_fuse_copy_page.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fuse_copy_page, %function
fuse_copy_page:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r9, r1
	sub	sp, sp, #16
	ldr	r7, [r9]
	ldr	r1, [sp, #48]
	subs	r8, r7, #0
	movne	r8, #1
	cmp	r1, #0
	cmpne	r7, #0
	mov	r6, r2
	ldr	r2, .L42
	str	r3, [sp, #4]
	mov	r4, r0
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	beq	.L2
	ldr	r2, .L42+4
	ldr	r2, [r2]
	cmp	r2, r3
	bhi	.L36
	cmp	r3, #0
	beq	.L5
.L4:
	ldr	r10, .L42+4
	b	.L17
.L38:
	ldr	r2, [r4, #12]
	cmp	r2, #0
	beq	.L7
	cmp	r7, #0
	bne	.L37
	ldr	r3, [r4, #8]
	cmp	r3, #0
	bne	.L12
	mov	r0, r4
	bl	fuse_copy_fill
	subs	r5, r0, #0
	bne	.L1
.L12:
	mov	r1, #0
	mov	r0, r4
	add	r2, sp, #4
	bl	fuse_copy_do
	ldr	r3, [sp, #4]
	add	r6, r6, r0
	cmp	r3, #0
	beq	.L18
.L17:
	ldr	r2, [r4]
	cmp	r2, #0
	bne	.L38
.L7:
	ldr	r2, [r4, #8]
	cmp	r2, #0
	bne	.L16
	ldr	r2, [r4, #4]
	cmp	r2, #0
	beq	.L13
	cmp	r6, #0
	moveq	r2, r8
	movne	r2, #0
	cmp	r2, #0
	beq	.L13
	ldr	r2, [r10]
	cmp	r3, r2
	beq	.L39
	mov	r0, r4
	bl	fuse_copy_fill
	subs	r5, r0, #0
	bne	.L1
.L11:
	mov	r0, r7
	bl	kmap_atomic
	add	r2, sp, #4
	add	r3, r0, r6
	mov	r5, r0
	add	r1, sp, #8
	mov	r0, r4
	str	r3, [sp, #8]
	bl	fuse_copy_do
	mov	r3, r0
	mov	r0, r5
	add	r6, r6, r3
	bl	kunmap_atomic
	ldr	r3, [sp, #4]
	cmp	r3, #0
	bne	.L17
.L18:
	cmp	r7, #0
	beq	.L6
.L5:
	ldr	r5, [r4]
	cmp	r5, #0
	beq	.L40
.L6:
	mov	r5, #0
.L1:
	ldr	r3, .L42
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L41
	mov	r0, r5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L13:
	mov	r0, r4
	bl	fuse_copy_fill
	subs	r5, r0, #0
	bne	.L1
.L16:
	cmp	r7, #0
	bne	.L11
	b	.L12
.L39:
	mov	r1, r9
	mov	r0, r4
	bl	fuse_try_move_page
	subs	r5, r0, #0
	bgt	.L11
	b	.L1
.L2:
	cmp	r3, #0
	bne	.L4
	b	.L18
.L36:
	mov	r0, r7
	bl	clear_highpage
	ldr	r3, [sp, #4]
	cmp	r3, #0
	bne	.L4
	b	.L5
.L37:
	mov	r2, r6
	mov	r1, r7
	mov	r0, r4
	bl	fuse_ref_page
	mov	r5, r0
	b	.L1
.L40:
	mov	r0, r7
	bl	flush_dcache_page
	b	.L1
.L41:
	bl	__stack_chk_fail
.L43:
	.align	2
.L42:
	.word	.LC0
	.word	PAGE_SIZE
	.size	fuse_copy_page, .-fuse_copy_page
	.comm	PAGE_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
