	.file	"extr_vmx.h_vmx_vmexit_ctrl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vmx_vmexit_ctrl, @function
vmx_vmexit_ctrl:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR PT_MODE_SYSTEM[rip]
	cmp	QWORD PTR pt_mode[rip], rax
	mov	edx, DWORD PTR vmcs_config[rip]
	jne	.L2
	mov	eax, DWORD PTR VM_EXIT_PT_CONCEAL_PIP[rip]
	or	eax, DWORD PTR VM_EXIT_CLEAR_IA32_RTIT_CTL[rip]
	not	eax
	and	edx, eax
.L2:
	mov	eax, DWORD PTR VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL[rip]
	or	eax, DWORD PTR VM_EXIT_LOAD_IA32_EFER[rip]
	not	eax
	and	eax, edx
	ret
	.cfi_endproc
.LFE0:
	.size	vmx_vmexit_ctrl, .-vmx_vmexit_ctrl
	.comm	vmcs_config,4,4
	.comm	pt_mode,8,8
	.comm	VM_EXIT_PT_CONCEAL_PIP,4,4
	.comm	VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL,4,4
	.comm	VM_EXIT_LOAD_IA32_EFER,4,4
	.comm	VM_EXIT_CLEAR_IA32_RTIT_CTL,4,4
	.comm	PT_MODE_SYSTEM,8,8
	.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.h_vmx_vmexit_ctrl.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vmx_vmexit_ctrl, %function
vmx_vmexit_ctrl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r2, .L4
	ldr	r3, .L4+4
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L4+8
	cmp	r1, r2
	ldr	r0, [r3]
	bne	.L2
	ldr	r3, .L4+12
	ldr	r2, .L4+16
	ldr	r3, [r3]
	ldr	r2, [r2]
	orr	r3, r3, r2
	bic	r0, r0, r3
.L2:
	ldr	r3, .L4+20
	ldr	r2, .L4+24
	ldr	r3, [r3]
	ldr	r2, [r2]
	orr	r3, r3, r2
	bic	r0, r0, r3
	bx	lr
.L5:
	.align	2
.L4:
	.word	pt_mode
	.word	PT_MODE_SYSTEM
	.word	vmcs_config
	.word	VM_EXIT_PT_CONCEAL_PIP
	.word	VM_EXIT_CLEAR_IA32_RTIT_CTL
	.word	VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL
	.word	VM_EXIT_LOAD_IA32_EFER
	.size	vmx_vmexit_ctrl, .-vmx_vmexit_ctrl
	.comm	vmcs_config,4,4
	.comm	pt_mode,4,4
	.comm	VM_EXIT_PT_CONCEAL_PIP,4,4
	.comm	VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL,4,4
	.comm	VM_EXIT_LOAD_IA32_EFER,4,4
	.comm	VM_EXIT_CLEAR_IA32_RTIT_CTL,4,4
	.comm	PT_MODE_SYSTEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
