	.file	"extr_tlb.c_update_mmu_cache.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	update_mmu_cache
	.type	update_mmu_cache, @function
update_mmu_cache:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	and	rsi, QWORD PTR PAGE_MASK[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	edi, DWORD PTR [rdx]
	call	pte_val@PLT
	mov	edi, DWORD PTR [r12]
	and	rax, QWORD PTR PAGE_MASK[rip]
	mov	r14, rax
	call	pte_pfn@PLT
	mov	edi, eax
	call	pfn_to_page@PLT
	mov	rdi, rbx
	mov	rdx, r12
	mov	rsi, r13
	mov	rbp, rax
	call	create_tlb@PLT
	xor	edi, edi
	call	ZERO_PAGE@PLT
	cmp	rbp, rax
	je	.L1
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR VM_EXEC[rip], eax
	je	.L4
.L7:
	mov	edi, DWORD PTR PG_dc_clean[rip]
	mov	rsi, rbp
	call	test_and_set_bit@PLT
	test	eax, eax
	je	.L13
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L4:
	.cfi_restore_state
	mov	rsi, r13
	mov	rdi, r14
	call	addr_not_cache_congruent@PLT
	test	rax, rax
	jne	.L7
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rsi, r14
	mov	rdi, r14
	call	__flush_dcache_page@PLT
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR VM_EXEC[rip], eax
	je	.L1
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rsi, r13
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	rdi, r14
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	__inv_icache_page@PLT
	.cfi_endproc
.LFE0:
	.size	update_mmu_cache, .-update_mmu_cache
	.comm	VM_EXEC,4,4
	.comm	PG_dc_clean,4,4
	.comm	PAGE_MASK,8,8
	.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_tlb.c_update_mmu_cache.c"
	.text
	.align	2
	.global	update_mmu_cache
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_mmu_cache, %function
update_mmu_cache:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, .L14
	mov	r5, r0
	ldr	r3, [r6]
	ldr	r0, [r2]
	mov	r4, r2
	and	r7, r1, r3
	bl	pte_val
	mov	r1, r0
	ldr	r3, [r6]
	ldr	r0, [r4]
	and	r6, r1, r3
	bl	pte_pfn
	bl	pfn_to_page
	mov	r3, r0
	mov	r2, r4
	mov	r1, r7
	mov	r0, r5
	mov	r4, r3
	bl	create_tlb
	mov	r0, #0
	bl	ZERO_PAGE
	cmp	r4, r0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r8, .L14+4
	ldr	r2, [r5]
	ldr	r3, [r8]
	tst	r2, r3
	beq	.L4
.L7:
	ldr	r3, .L14+8
	mov	r1, r4
	ldr	r0, [r3]
	bl	test_and_set_bit
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r1, r6
	mov	r0, r6
	bl	__flush_dcache_page
	ldr	r2, [r5]
	ldr	r3, [r8]
	tst	r2, r3
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r1, r7
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	__inv_icache_page
.L4:
	mov	r1, r7
	mov	r0, r6
	bl	addr_not_cache_congruent
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	b	.L7
.L15:
	.align	2
.L14:
	.word	PAGE_MASK
	.word	VM_EXEC
	.word	PG_dc_clean
	.size	update_mmu_cache, .-update_mmu_cache
	.comm	VM_EXEC,4,4
	.comm	PG_dc_clean,4,4
	.comm	PAGE_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
