	.file	"extr_mmu.c_kvm_mmu_invlpg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	kvm_mmu_invlpg
	.type	kvm_mmu_invlpg, @function
kvm_mmu_invlpg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	mov	rsi, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR 8[rdi]
	mov	edi, r13d
	call	is_noncanonical_address@PLT
	test	rax, rax
	jne	.L1
	mov	edx, DWORD PTR 16[rbp]
	mov	esi, r13d
	mov	rdi, r12
	call	[QWORD PTR 8[rbp]]
	mov	eax, DWORD PTR KVM_MMU_NUM_PREV_ROOTS[rip]
	test	eax, eax
	jle	.L3
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR [rax+rbx*4]
	call	VALID_PAGE@PLT
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR 0[rbp]
	mov	esi, r13d
	mov	rdi, r12
	mov	edx, DWORD PTR [rax+rbx*4]
	call	[QWORD PTR 8[rbp]]
.L4:
	add	rbx, 1
	cmp	DWORD PTR KVM_MMU_NUM_PREV_ROOTS[rip], ebx
	jg	.L5
.L3:
	mov	rax, QWORD PTR kvm_x86_ops[rip]
	mov	esi, r13d
	mov	rdi, r12
	call	[QWORD PTR [rax]]
	add	DWORD PTR [r12], 1
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	kvm_mmu_invlpg, .-kvm_mmu_invlpg
	.comm	kvm_x86_ops,8,8
	.comm	KVM_MMU_NUM_PREV_ROOTS,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_mmu.c_kvm_mmu_invlpg.c"
	.text
	.align	2
	.global	kvm_mmu_invlpg
	.syntax unified
	.arm
	.fpu softvfp
	.type	kvm_mmu_invlpg, %function
kvm_mmu_invlpg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r1
	mov	r6, r0
	mov	r1, r0
	mov	r0, r7
	ldr	r5, [r6, #4]
	bl	is_noncanonical_address
	subs	r4, r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r8, .L12
	ldr	r3, [r5, #4]
	mov	r1, r7
	mov	r0, r6
	ldr	r2, [r5, #8]
	blx	r3
	ldr	r3, [r8]
	cmp	r3, #0
	ble	.L3
.L5:
	ldr	r3, [r5]
	ldr	r0, [r3, r4, lsl #2]
	bl	VALID_PAGE
	cmp	r0, #0
	beq	.L4
	ldm	r5, {r2, r3}
	mov	r1, r7
	mov	r0, r6
	ldr	r2, [r2, r4, lsl #2]
	blx	r3
.L4:
	ldr	r3, [r8]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L5
.L3:
	ldr	r3, .L12+4
	mov	r1, r7
	ldr	r3, [r3]
	mov	r0, r6
	ldr	r3, [r3]
	blx	r3
	ldr	r3, [r6]
	add	r3, r3, #1
	str	r3, [r6]
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	KVM_MMU_NUM_PREV_ROOTS
	.word	kvm_x86_ops
	.size	kvm_mmu_invlpg, .-kvm_mmu_invlpg
	.comm	kvm_x86_ops,4,4
	.comm	KVM_MMU_NUM_PREV_ROOTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
