	.file	"extr_vmx.c_vmx_emulate_cr8_access.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vmx_emulate_cr8_access, @function
vmx_emulate_cr8_access:
.LFB0:
	.cfi_startproc
	endbr64
	test	dl, -32
	je	.L2
	mov	eax, DWORD PTR UNHANDLED[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edx
	mov	r13d, ebx
	sar	r13d, 8
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR [rdi]
	and	r13d, 15
	call	vm_lapic@PLT
	and	ebx, 16
	mov	r12, rax
	je	.L4
	mov	rdi, rax
	call	vlapic_get_cr8@PLT
	mov	esi, r13d
	mov	edi, ebp
	mov	edx, eax
	call	vmx_set_guest_reg@PLT
.L5:
	mov	eax, DWORD PTR HANDLED[rip]
	add	rsp, 8
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	esi, r13d
	mov	edi, ebp
	call	vmx_get_guest_reg@PLT
	mov	rdi, r12
	mov	esi, eax
	call	vlapic_set_cr8@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	vmx_emulate_cr8_access, .-vmx_emulate_cr8_access
	.comm	UNHANDLED,4,4
	.comm	HANDLED,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_vmx.c_vmx_emulate_cr8_access.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vmx_emulate_cr8_access, %function
vmx_emulate_cr8_access:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	tst	r2, #224
	beq	.L2
	ldr	r3, .L10
	ldr	r0, [r3]
	bx	lr
.L2:
	push	{r4, r5, r6, lr}
	ldr	r0, [r0]
	mov	r4, r2
	mov	r5, r1
	bl	vm_lapic
	tst	r4, #16
	asr	r4, r4, #8
	mov	r6, r0
	and	r4, r4, #15
	beq	.L4
	bl	vlapic_get_cr8
	mov	r1, r4
	mov	r2, r0
	mov	r0, r5
	bl	vmx_set_guest_reg
.L5:
	ldr	r3, .L10+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L4:
	mov	r1, r4
	mov	r0, r5
	bl	vmx_get_guest_reg
	mov	r1, r0
	mov	r0, r6
	bl	vlapic_set_cr8
	b	.L5
.L11:
	.align	2
.L10:
	.word	UNHANDLED
	.word	HANDLED
	.size	vmx_emulate_cr8_access, .-vmx_emulate_cr8_access
	.comm	UNHANDLED,4,4
	.comm	HANDLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
