	.file	"extr_vmm.c_vm_inject_pf.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Injecting page fault: error_code %#x, cr2 %#llx"
	.text
	.p2align 4
	.globl	vm_inject_pf
	.type	vm_inject_pf, @function
vm_inject_pf:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r8d, ecx
	mov	r13d, ecx
	mov	ecx, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edx
	lea	rdx, .LC0[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	VCPU_CTR2@PLT
	mov	ecx, r13d
	mov	esi, r12d
	mov	rdi, rbp
	mov	edx, DWORD PTR VM_REG_GUEST_CR2[rip]
	call	vm_set_register@PLT
	xor	edi, edi
	test	eax, eax
	movsx	rsi, eax
	sete	dil
	call	KASSERT@PLT
	mov	r8d, ebx
	mov	esi, r12d
	mov	rdi, rbp
	mov	edx, DWORD PTR IDT_PF[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	ecx, 1
	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
	jmp	vm_inject_fault@PLT
	.cfi_endproc
.LFE0:
	.size	vm_inject_pf, .-vm_inject_pf
	.comm	VM_REG_GUEST_CR2,4,4
	.comm	IDT_PF,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_vmm.c_vm_inject_pf.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Injecting page fault: error_code %#x, cr2 %#llx\000"
	.text
	.align	2
	.global	vm_inject_pf
	.syntax unified
	.arm
	.fpu softvfp
	.type	vm_inject_pf, %function
vm_inject_pf:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	mov	r5, r1
	mov	r7, r3
	sub	sp, sp, #12
	mov	r6, r2
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L4
	bl	VCPU_CTR2
	ldr	r2, .L4+4
	mov	r3, r7
	mov	r1, r5
	ldr	r2, [r2]
	mov	r0, r4
	bl	vm_set_register
	mov	r1, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	KASSERT
	ldr	r3, .L4+8
	str	r6, [sp]
	ldr	r2, [r3]
	mov	r1, r5
	mov	r0, r4
	mov	r3, #1
	bl	vm_inject_fault
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	VM_REG_GUEST_CR2
	.word	IDT_PF
	.size	vm_inject_pf, .-vm_inject_pf
	.comm	VM_REG_GUEST_CR2,4,4
	.comm	IDT_PF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
