	.file	"extr_vmx.c_vcpu_alloc_vmx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vcpu_alloc_vmx
	.type	vcpu_alloc_vmx, @function
vcpu_alloc_vmx:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	eax, eax
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	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
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	getpagesize@PLT
	xor	r8d, r8d
	xor	ecx, ecx
	mov	edx, 65536
	mov	rdi, rbp
	mov	esi, eax
	call	vm_vaddr_alloc@PLT
	mov	rdi, rbp
	mov	rsi, rax
	mov	rbx, rax
	call	addr_gva2hva@PLT
	mov	r12, rax
	xor	eax, eax
	call	getpagesize@PLT
	xor	r8d, r8d
	xor	ecx, ecx
	mov	edx, 65536
	mov	rdi, rbp
	mov	esi, eax
	call	vm_vaddr_alloc@PLT
	mov	rdi, rbp
	mov	QWORD PTR 168[r12], rax
	mov	rsi, rax
	call	addr_gva2hva@PLT
	mov	rsi, QWORD PTR 168[r12]
	mov	rdi, rbp
	mov	QWORD PTR 184[r12], rax
	call	addr_gva2gpa@PLT
	mov	QWORD PTR 176[r12], rax
	xor	eax, eax
	call	getpagesize@PLT
	xor	r8d, r8d
	xor	ecx, ecx
	mov	edx, 65536
	mov	rdi, rbp
	mov	esi, eax
	call	vm_vaddr_alloc@PLT
	mov	rdi, rbp
	mov	QWORD PTR 144[r12], rax
	mov	rsi, rax
	call	addr_gva2hva@PLT
	mov	rsi, QWORD PTR 144[r12]
	mov	rdi, rbp
	mov	QWORD PTR 160[r12], rax
	call	addr_gva2gpa@PLT
	mov	QWORD PTR 152[r12], rax
	xor	eax, eax
	call	getpagesize@PLT
	xor	r8d, r8d
	xor	ecx, ecx
	mov	edx, 65536
	mov	rdi, rbp
	mov	esi, eax
	call	vm_vaddr_alloc@PLT
	mov	rdi, rbp
	mov	QWORD PTR 128[r12], rax
	mov	rsi, rax
	call	addr_gva2hva@PLT
	mov	rsi, QWORD PTR 128[r12]
	mov	rdi, rbp
	mov	QWORD PTR 120[r12], rax
	call	addr_gva2gpa@PLT
	mov	QWORD PTR 136[r12], rax
	xor	eax, eax
	call	getpagesize@PLT
	mov	rdi, QWORD PTR 120[r12]
	xor	esi, esi
	mov	edx, eax
	call	memset@PLT
	xor	eax, eax
	call	getpagesize@PLT
	xor	r8d, r8d
	xor	ecx, ecx
	mov	edx, 65536
	mov	rdi, rbp
	mov	esi, eax
	call	vm_vaddr_alloc@PLT
	mov	rdi, rbp
	mov	QWORD PTR 96[r12], rax
	mov	rsi, rax
	call	addr_gva2hva@PLT
	mov	rsi, QWORD PTR 96[r12]
	mov	rdi, rbp
	mov	QWORD PTR 112[r12], rax
	call	addr_gva2gpa@PLT
	mov	QWORD PTR 104[r12], rax
	xor	eax, eax
	call	getpagesize@PLT
	xor	r8d, r8d
	xor	ecx, ecx
	mov	edx, 65536
	mov	rdi, rbp
	mov	esi, eax
	call	vm_vaddr_alloc@PLT
	mov	rdi, rbp
	mov	QWORD PTR 80[r12], rax
	mov	rsi, rax
	call	addr_gva2hva@PLT
	mov	rsi, QWORD PTR 80[r12]
	mov	rdi, rbp
	mov	QWORD PTR 72[r12], rax
	call	addr_gva2gpa@PLT
	mov	QWORD PTR 88[r12], rax
	xor	eax, eax
	call	getpagesize@PLT
	mov	rdi, QWORD PTR 72[r12]
	xor	esi, esi
	mov	edx, eax
	call	memset@PLT
	xor	eax, eax
	call	getpagesize@PLT
	xor	r8d, r8d
	xor	ecx, ecx
	mov	edx, 65536
	mov	rdi, rbp
	mov	esi, eax
	call	vm_vaddr_alloc@PLT
	mov	rdi, rbp
	mov	QWORD PTR 56[r12], rax
	mov	rsi, rax
	call	addr_gva2hva@PLT
	mov	rsi, QWORD PTR 56[r12]
	mov	rdi, rbp
	mov	QWORD PTR 48[r12], rax
	call	addr_gva2gpa@PLT
	mov	QWORD PTR 64[r12], rax
	xor	eax, eax
	call	getpagesize@PLT
	mov	rdi, QWORD PTR 48[r12]
	xor	esi, esi
	mov	edx, eax
	call	memset@PLT
	xor	eax, eax
	call	getpagesize@PLT
	xor	r8d, r8d
	mov	edx, 65536
	xor	ecx, ecx
	mov	rdi, rbp
	mov	esi, eax
	call	vm_vaddr_alloc@PLT
	mov	rdi, rbp
	mov	QWORD PTR 24[r12], rax
	mov	rsi, rax
	call	addr_gva2hva@PLT
	mov	rsi, QWORD PTR 24[r12]
	mov	rdi, rbp
	mov	QWORD PTR 40[r12], rax
	call	addr_gva2gpa@PLT
	mov	QWORD PTR 32[r12], rax
	xor	eax, eax
	call	getpagesize@PLT
	xor	r8d, r8d
	xor	ecx, ecx
	mov	edx, 65536
	mov	rdi, rbp
	mov	esi, eax
	call	vm_vaddr_alloc@PLT
	mov	rdi, rbp
	mov	QWORD PTR [r12], rax
	mov	rsi, rax
	call	addr_gva2hva@PLT
	mov	rsi, QWORD PTR [r12]
	mov	rdi, rbp
	mov	QWORD PTR 16[r12], rax
	call	addr_gva2gpa@PLT
	mov	QWORD PTR 8[r12], rax
	mov	rax, r12
	mov	QWORD PTR 0[r13], rbx
	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	vcpu_alloc_vmx, .-vcpu_alloc_vmx
	.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_vmx.c_vcpu_alloc_vmx.c"
	.text
	.align	2
	.global	vcpu_alloc_vmx
	.syntax unified
	.arm
	.fpu softvfp
	.type	vcpu_alloc_vmx, %function
vcpu_alloc_vmx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	sub	sp, sp, #12
	mov	r5, r0
	mov	r6, #0
	mov	r8, r1
	bl	getpagesize
	mov	r3, r6
	mov	r2, #65536
	mov	r1, r0
	str	r6, [sp]
	mov	r0, r5
	bl	vm_vaddr_alloc
	mov	r7, r0
	mov	r0, r5
	mov	r1, r7
	bl	addr_gva2hva
	mov	r4, r0
	bl	getpagesize
	mov	r3, r6
	mov	r2, #65536
	mov	r1, r0
	str	r6, [sp]
	mov	r0, r5
	bl	vm_vaddr_alloc
	mov	r1, r0
	mov	r0, r5
	str	r1, [r4, #84]
	bl	addr_gva2hva
	ldr	r1, [r4, #84]
	str	r0, [r4, #92]
	mov	r0, r5
	bl	addr_gva2gpa
	str	r0, [r4, #88]
	bl	getpagesize
	mov	r3, r6
	mov	r2, #65536
	mov	r1, r0
	str	r6, [sp]
	mov	r0, r5
	bl	vm_vaddr_alloc
	mov	r1, r0
	mov	r0, r5
	str	r1, [r4, #72]
	bl	addr_gva2hva
	ldr	r1, [r4, #72]
	str	r0, [r4, #80]
	mov	r0, r5
	bl	addr_gva2gpa
	str	r0, [r4, #76]
	bl	getpagesize
	mov	r3, r6
	mov	r2, #65536
	mov	r1, r0
	str	r6, [sp]
	mov	r0, r5
	bl	vm_vaddr_alloc
	mov	r1, r0
	mov	r0, r5
	str	r1, [r4, #64]
	bl	addr_gva2hva
	ldr	r1, [r4, #64]
	str	r0, [r4, #60]
	mov	r0, r5
	bl	addr_gva2gpa
	str	r0, [r4, #68]
	ldr	r9, [r4, #60]
	bl	getpagesize
	mov	r1, r6
	mov	r2, r0
	mov	r0, r9
	bl	memset
	bl	getpagesize
	mov	r3, r6
	mov	r2, #65536
	mov	r1, r0
	str	r6, [sp]
	mov	r0, r5
	bl	vm_vaddr_alloc
	mov	r1, r0
	mov	r0, r5
	str	r1, [r4, #48]
	bl	addr_gva2hva
	ldr	r1, [r4, #48]
	str	r0, [r4, #56]
	mov	r0, r5
	bl	addr_gva2gpa
	str	r0, [r4, #52]
	bl	getpagesize
	mov	r3, r6
	mov	r2, #65536
	mov	r1, r0
	str	r6, [sp]
	mov	r0, r5
	bl	vm_vaddr_alloc
	mov	r1, r0
	mov	r0, r5
	str	r1, [r4, #40]
	bl	addr_gva2hva
	ldr	r1, [r4, #40]
	str	r0, [r4, #36]
	mov	r0, r5
	bl	addr_gva2gpa
	str	r0, [r4, #44]
	ldr	r9, [r4, #36]
	bl	getpagesize
	mov	r1, r6
	mov	r2, r0
	mov	r0, r9
	bl	memset
	bl	getpagesize
	mov	r3, r6
	mov	r2, #65536
	mov	r1, r0
	str	r6, [sp]
	mov	r0, r5
	bl	vm_vaddr_alloc
	mov	r1, r0
	mov	r0, r5
	str	r1, [r4, #28]
	bl	addr_gva2hva
	ldr	r1, [r4, #28]
	str	r0, [r4, #24]
	mov	r0, r5
	bl	addr_gva2gpa
	str	r0, [r4, #32]
	ldr	r9, [r4, #24]
	bl	getpagesize
	mov	r1, r6
	mov	r2, r0
	mov	r0, r9
	bl	memset
	bl	getpagesize
	mov	r3, r6
	mov	r2, #65536
	mov	r1, r0
	str	r6, [sp]
	mov	r0, r5
	bl	vm_vaddr_alloc
	mov	r1, r0
	mov	r0, r5
	str	r1, [r4, #12]
	bl	addr_gva2hva
	ldr	r1, [r4, #12]
	str	r0, [r4, #20]
	mov	r0, r5
	bl	addr_gva2gpa
	str	r0, [r4, #16]
	bl	getpagesize
	mov	r3, r6
	mov	r2, #65536
	mov	r1, r0
	str	r6, [sp]
	mov	r0, r5
	bl	vm_vaddr_alloc
	mov	r1, r0
	mov	r0, r5
	str	r1, [r4]
	bl	addr_gva2hva
	ldr	r1, [r4]
	str	r0, [r4, #8]
	mov	r0, r5
	bl	addr_gva2gpa
	mov	r3, r0
	mov	r0, r4
	str	r3, [r4, #4]
	str	r7, [r8]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
	.size	vcpu_alloc_vmx, .-vcpu_alloc_vmx
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
