	.file	"extr_mp_desc.c_cpu_syscall_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	cpu_syscall_init
	.type	cpu_syscall_init, @function
cpu_syscall_init:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	esi, DWORD PTR SYSENTER_CS[rip]
	mov	edi, DWORD PTR MSR_IA32_SYSENTER_CS[rip]
	call	wrmsr64@PLT
	mov	rdi, QWORD PTR hi64_sysenter[rip]
	call	DBLMAP@PLT
	mov	edi, DWORD PTR MSR_IA32_SYSENTER_EIP[rip]
	mov	esi, eax
	call	wrmsr64@PLT
	xor	eax, eax
	call	current_cpu_datap@PLT
	mov	edi, DWORD PTR MSR_IA32_SYSENTER_ESP[rip]
	mov	esi, DWORD PTR [rax]
	call	wrmsr64@PLT
	mov	edi, DWORD PTR MSR_IA32_EFER[rip]
	call	rdmsr64@PLT
	mov	edi, DWORD PTR MSR_IA32_EFER[rip]
	or	eax, DWORD PTR MSR_IA32_EFER_SCE[rip]
	mov	esi, eax
	call	wrmsr64@PLT
	mov	rdi, QWORD PTR hi64_syscall[rip]
	call	DBLMAP@PLT
	mov	edi, DWORD PTR MSR_IA32_LSTAR[rip]
	mov	esi, eax
	call	wrmsr64@PLT
	mov	edi, DWORD PTR MSR_IA32_STAR[rip]
	xor	esi, esi
	call	wrmsr64@PLT
	mov	edi, DWORD PTR MSR_IA32_FMASK[rip]
	mov	esi, DWORD PTR EFL_DF[rip]
	or	esi, DWORD PTR EFL_IF[rip]
	or	esi, DWORD PTR EFL_TF[rip]
	or	esi, DWORD PTR EFL_NT[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	jmp	wrmsr64@PLT
	.cfi_endproc
.LFE0:
	.size	cpu_syscall_init, .-cpu_syscall_init
	.comm	hi64_sysenter,8,8
	.comm	hi64_syscall,8,8
	.comm	USER_CS,8,8
	.comm	SYSENTER_CS,4,4
	.comm	MSR_IA32_SYSENTER_ESP,4,4
	.comm	MSR_IA32_SYSENTER_EIP,4,4
	.comm	MSR_IA32_SYSENTER_CS,4,4
	.comm	MSR_IA32_STAR,4,4
	.comm	MSR_IA32_LSTAR,4,4
	.comm	MSR_IA32_FMASK,4,4
	.comm	MSR_IA32_EFER_SCE,4,4
	.comm	MSR_IA32_EFER,4,4
	.comm	KERNEL64_CS,8,8
	.comm	EFL_TF,4,4
	.comm	EFL_NT,4,4
	.comm	EFL_IF,4,4
	.comm	EFL_DF,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_mp_desc.c_cpu_syscall_init.c"
	.text
	.align	2
	.global	cpu_syscall_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	cpu_syscall_init, %function
cpu_syscall_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L4
	ldr	r3, .L4+4
	push	{r4, lr}
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	wrmsr64
	ldr	r3, .L4+8
	ldr	r2, .L4+12
	ldr	r0, [r3]
	ldr	r4, [r2]
	bl	DBLMAP
	mov	r1, r0
	mov	r0, r4
	bl	wrmsr64
	ldr	r3, .L4+16
	ldr	r4, [r3]
	bl	current_cpu_datap
	mov	r3, r0
	mov	r0, r4
	ldr	r1, [r3]
	bl	wrmsr64
	ldr	r3, .L4+20
	ldr	r4, [r3]
	mov	r0, r4
	bl	rdmsr64
	mov	r1, r0
	ldr	r3, .L4+24
	mov	r0, r4
	ldr	r3, [r3]
	orr	r1, r1, r3
	bl	wrmsr64
	ldr	r3, .L4+28
	ldr	r2, .L4+32
	ldr	r0, [r3]
	ldr	r4, [r2]
	bl	DBLMAP
	mov	r1, r0
	mov	r0, r4
	bl	wrmsr64
	ldr	r3, .L4+36
	mov	r1, #0
	ldr	r0, [r3]
	bl	wrmsr64
	pop	{r4, lr}
	ldr	r2, .L4+40
	ldr	r3, .L4+44
	ldr	r0, .L4+48
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, .L4+52
	ldr	r0, [r0]
	orr	r3, r3, r1
	ldr	r1, [r2]
	ldr	r2, .L4+56
	orr	r3, r3, r0
	orr	r1, r3, r1
	ldr	r0, [r2]
	b	wrmsr64
.L5:
	.align	2
.L4:
	.word	SYSENTER_CS
	.word	MSR_IA32_SYSENTER_CS
	.word	hi64_sysenter
	.word	MSR_IA32_SYSENTER_EIP
	.word	MSR_IA32_SYSENTER_ESP
	.word	MSR_IA32_EFER
	.word	MSR_IA32_EFER_SCE
	.word	hi64_syscall
	.word	MSR_IA32_LSTAR
	.word	MSR_IA32_STAR
	.word	EFL_IF
	.word	EFL_DF
	.word	EFL_TF
	.word	EFL_NT
	.word	MSR_IA32_FMASK
	.size	cpu_syscall_init, .-cpu_syscall_init
	.comm	hi64_sysenter,4,4
	.comm	hi64_syscall,4,4
	.comm	USER_CS,4,4
	.comm	SYSENTER_CS,4,4
	.comm	MSR_IA32_SYSENTER_ESP,4,4
	.comm	MSR_IA32_SYSENTER_EIP,4,4
	.comm	MSR_IA32_SYSENTER_CS,4,4
	.comm	MSR_IA32_STAR,4,4
	.comm	MSR_IA32_LSTAR,4,4
	.comm	MSR_IA32_FMASK,4,4
	.comm	MSR_IA32_EFER_SCE,4,4
	.comm	MSR_IA32_EFER,4,4
	.comm	KERNEL64_CS,4,4
	.comm	EFL_TF,4,4
	.comm	EFL_NT,4,4
	.comm	EFL_IF,4,4
	.comm	EFL_DF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
