	.file	"extr_xstate.c_fpu__init_cpu_xstate.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"x86/fpu: XSAVES supervisor states are not yet implemented.\n"
	.text
	.p2align 4
	.globl	fpu__init_cpu_xstate
	.type	fpu__init_cpu_xstate, @function
fpu__init_cpu_xstate:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	edi, DWORD PTR X86_FEATURE_XSAVE[rip]
	call	boot_cpu_has@PLT
	test	eax, eax
	je	.L1
	mov	edi, DWORD PTR xfeatures_mask[rip]
	test	edi, edi
	jne	.L11
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	and	edi, DWORD PTR XFEATURE_MASK_SUPERVISOR[rip]
	call	WARN_ONCE@PLT
	mov	eax, DWORD PTR XFEATURE_MASK_SUPERVISOR[rip]
	mov	edi, DWORD PTR X86_CR4_OSXSAVE[rip]
	not	eax
	and	DWORD PTR xfeatures_mask[rip], eax
	call	cr4_set_bits@PLT
	mov	esi, DWORD PTR xfeatures_mask[rip]
	mov	edi, DWORD PTR XCR_XFEATURE_ENABLED_MASK[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	jmp	xsetbv@PLT
	.cfi_endproc
.LFE0:
	.size	fpu__init_cpu_xstate, .-fpu__init_cpu_xstate
	.comm	xfeatures_mask,4,4
	.comm	XFEATURE_MASK_SUPERVISOR,4,4
	.comm	XCR_XFEATURE_ENABLED_MASK,4,4
	.comm	X86_FEATURE_XSAVE,4,4
	.comm	X86_CR4_OSXSAVE,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_xstate.c_fpu__init_cpu_xstate.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"x86/fpu: XSAVES supervisor states are not yet imple"
	.ascii	"mented.\012\000"
	.text
	.align	2
	.global	fpu__init_cpu_xstate
	.syntax unified
	.arm
	.fpu softvfp
	.type	fpu__init_cpu_xstate, %function
fpu__init_cpu_xstate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	push	{r4, r5, r6, lr}
	ldr	r0, [r3]
	bl	boot_cpu_has
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r4, .L11+4
	ldr	r3, [r4]
	cmp	r3, #0
	popeq	{r4, r5, r6, pc}
	ldr	r5, .L11+8
	ldr	r1, .L11+12
	ldr	r0, [r5]
	and	r0, r0, r3
	bl	WARN_ONCE
	ldr	r1, [r5]
	ldr	r3, [r4]
	ldr	r2, .L11+16
	bic	r3, r3, r1
	ldr	r0, [r2]
	str	r3, [r4]
	bl	cr4_set_bits
	ldr	r3, .L11+20
	ldr	r1, [r4]
	ldr	r0, [r3]
	pop	{r4, r5, r6, lr}
	b	xsetbv
.L12:
	.align	2
.L11:
	.word	X86_FEATURE_XSAVE
	.word	xfeatures_mask
	.word	XFEATURE_MASK_SUPERVISOR
	.word	.LC0
	.word	X86_CR4_OSXSAVE
	.word	XCR_XFEATURE_ENABLED_MASK
	.size	fpu__init_cpu_xstate, .-fpu__init_cpu_xstate
	.comm	xfeatures_mask,4,4
	.comm	XFEATURE_MASK_SUPERVISOR,4,4
	.comm	XCR_XFEATURE_ENABLED_MASK,4,4
	.comm	X86_FEATURE_XSAVE,4,4
	.comm	X86_CR4_OSXSAVE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
