	.file	"extr_svm.c_svm_enable_lbrv.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	svm_enable_lbrv, @function
svm_enable_lbrv:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rax, QWORD PTR [rdi]
	mov	ecx, 1
	mov	rbp, QWORD PTR 8[rdi]
	mov	edx, DWORD PTR LBR_CTL_ENABLE_MASK[rip]
	or	DWORD PTR [rax], edx
	mov	esi, DWORD PTR MSR_IA32_LASTBRANCHFROMIP[rip]
	mov	edx, 1
	mov	rdi, rbp
	call	set_msr_interception@PLT
	mov	esi, DWORD PTR MSR_IA32_LASTBRANCHTOIP[rip]
	mov	rdi, rbp
	mov	ecx, 1
	mov	edx, 1
	call	set_msr_interception@PLT
	mov	esi, DWORD PTR MSR_IA32_LASTINTFROMIP[rip]
	mov	rdi, rbp
	mov	ecx, 1
	mov	edx, 1
	call	set_msr_interception@PLT
	mov	esi, DWORD PTR MSR_IA32_LASTINTTOIP[rip]
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 8
	mov	ecx, 1
	mov	edx, 1
	jmp	set_msr_interception@PLT
	.cfi_endproc
.LFE0:
	.size	svm_enable_lbrv, .-svm_enable_lbrv
	.comm	MSR_IA32_LASTINTTOIP,4,4
	.comm	MSR_IA32_LASTINTFROMIP,4,4
	.comm	MSR_IA32_LASTBRANCHTOIP,4,4
	.comm	MSR_IA32_LASTBRANCHFROMIP,4,4
	.comm	LBR_CTL_ENABLE_MASK,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_svm.c_svm_enable_lbrv.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	svm_enable_lbrv, %function
svm_enable_lbrv:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #1
	ldr	r1, [r0]
	ldr	ip, .L4
	ldr	r2, [r1]
	ldr	ip, [ip]
	push	{r4, lr}
	orr	r2, r2, ip
	ldr	r4, [r0, #4]
	ldr	r0, .L4+4
	str	r2, [r1]
	ldr	r1, [r0]
	mov	r2, r3
	mov	r0, r4
	bl	set_msr_interception
	mov	r3, #1
	ldr	r1, .L4+8
	mov	r2, r3
	mov	r0, r4
	ldr	r1, [r1]
	bl	set_msr_interception
	mov	r3, #1
	ldr	r1, .L4+12
	mov	r2, r3
	mov	r0, r4
	ldr	r1, [r1]
	bl	set_msr_interception
	mov	r3, #1
	ldr	r1, .L4+16
	mov	r0, r4
	pop	{r4, lr}
	mov	r2, r3
	ldr	r1, [r1]
	b	set_msr_interception
.L5:
	.align	2
.L4:
	.word	LBR_CTL_ENABLE_MASK
	.word	MSR_IA32_LASTBRANCHFROMIP
	.word	MSR_IA32_LASTBRANCHTOIP
	.word	MSR_IA32_LASTINTFROMIP
	.word	MSR_IA32_LASTINTTOIP
	.size	svm_enable_lbrv, .-svm_enable_lbrv
	.comm	MSR_IA32_LASTINTTOIP,4,4
	.comm	MSR_IA32_LASTINTFROMIP,4,4
	.comm	MSR_IA32_LASTBRANCHTOIP,4,4
	.comm	MSR_IA32_LASTBRANCHFROMIP,4,4
	.comm	LBR_CTL_ENABLE_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
