	.file	"extr_mmu.c_stage2_flush_pmds.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	stage2_flush_pmds, @function
stage2_flush_pmds:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdx
	call	stage2_pmd_offset@PLT
	mov	rbp, rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	add	rbp, 4
	cmp	r12, rbx
	je	.L8
.L4:
	mov	rsi, rbx
	mov	rdi, r14
	mov	rdx, r12
	mov	r13, rbx
	call	stage2_pmd_addr_end@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	rbx, rax
	call	pmd_none@PLT
	test	eax, eax
	jne	.L2
	mov	edi, DWORD PTR 0[rbp]
	call	pmd_thp_or_huge@PLT
	test	rax, rax
	je	.L3
	mov	edi, DWORD PTR 0[rbp]
	add	rbp, 4
	call	kvm_flush_dcache_pmd@PLT
	cmp	r12, rbx
	jne	.L4
.L8:
	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
.L3:
	.cfi_restore_state
	mov	rcx, rbx
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, r14
	call	stage2_flush_ptes@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	stage2_flush_pmds, .-stage2_flush_pmds
	.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_mmu.c_stage2_flush_pmds.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stage2_flush_pmds, %function
stage2_flush_pmds:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r3
	mov	r8, r0
	mov	r4, r2
	bl	stage2_pmd_offset
	mov	r5, r0
	b	.L4
.L2:
	cmp	r6, r4
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	mov	r1, r4
	mov	r2, r6
	mov	r0, r8
	bl	stage2_pmd_addr_end
	mov	r3, r0
	ldr	r0, [r5]
	mov	r9, r4
	mov	r4, r3
	bl	pmd_none
	cmp	r0, #0
	mov	r7, r5
	add	r5, r5, #4
	bne	.L2
	ldr	r0, [r5, #-4]
	bl	pmd_thp_or_huge
	cmp	r0, #0
	beq	.L3
	ldr	r0, [r5, #-4]
	bl	kvm_flush_dcache_pmd
	cmp	r6, r4
	bne	.L4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L3:
	mov	r2, r9
	mov	r1, r7
	mov	r3, r4
	mov	r0, r8
	bl	stage2_flush_ptes
	cmp	r6, r4
	bne	.L4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	stage2_flush_pmds, .-stage2_flush_pmds
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
