	.file	"extr_fpu.c_load_fpu.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	load_fpu
	.type	load_fpu, @function
load_fpu:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	xor	eax, eax
	mov	rbx, rdi
	call	enable_fpu@PLT
	xor	eax, eax
	call	__nds32__fmfcfg@PLT
	mov	ecx, DWORD PTR FPCFG_offFREG[rip]
	and	eax, DWORD PTR FPCFG_mskFREG[rip]
	shr	eax, cl
	cmp	eax, 130
	je	.L2
	ja	.L3
	cmp	eax, 128
	je	.L4
	cmp	eax, 129
	jne	.L6
#APP
# 34 "data/linux/arch/nds32/kernel/extr_fpu.c_load_fpu.c" 1
	fldi $fd31, [rbx+0xf8]
	fldi $fd30, [rbx+0xf0]
	fldi $fd29, [rbx+0xe8]
	fldi $fd28, [rbx+0xe0]
	fldi $fd27, [rbx+0xd8]
	fldi $fd26, [rbx+0xd0]
	fldi $fd25, [rbx+0xc8]
	fldi $fd24, [rbx+0xc0]
	fldi $fd23, [rbx+0xb8]
	fldi $fd22, [rbx+0xb0]
	fldi $fd21, [rbx+0xa8]
	fldi $fd20, [rbx+0xa0]
	fldi $fd19, [rbx+0x98]
	fldi $fd18, [rbx+0x90]
	fldi $fd17, [rbx+0x88]
	fldi $fd16, [rbx+0x80]
	
# 0 "" 2
#NO_APP
.L2:
#APP
# 54 "data/linux/arch/nds32/kernel/extr_fpu.c_load_fpu.c" 1
	fldi $fd15, [rbx+0x78]
	fldi $fd14, [rbx+0x70]
	fldi $fd13, [rbx+0x68]
	fldi $fd12, [rbx+0x60]
	fldi $fd11, [rbx+0x58]
	fldi $fd10, [rbx+0x50]
	fldi $fd9,  [rbx+0x48]
	fldi $fd8,  [rbx+0x40]
	
# 0 "" 2
#NO_APP
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	cmp	eax, 131
	jne	.L6
.L7:
#APP
# 66 "data/linux/arch/nds32/kernel/extr_fpu.c_load_fpu.c" 1
	fldi $fd7,  [rbx+0x38]
	fldi $fd6,  [rbx+0x30]
	fldi $fd5,  [rbx+0x28]
	fldi $fd4,  [rbx+0x20]
	
# 0 "" 2
#NO_APP
.L4:
#APP
# 74 "data/linux/arch/nds32/kernel/extr_fpu.c_load_fpu.c" 1
	fldi $fd3,  [rbx+0x18]
	fldi $fd2,  [rbx+0x10]
	fldi $fd1,  [rbx+0x8]
	fldi $fd0,  [rbx+0x0]
	lwi  eax, [rbx+0x100]
	fmtcsr	eax
	
# 0 "" 2
#NO_APP
.L6:
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	disable_fpu@PLT
	.cfi_endproc
.LFE0:
	.size	load_fpu, .-load_fpu
	.comm	FPCFG_offFREG,4,4
	.comm	FPCFG_mskFREG,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_fpu.c_load_fpu.c"
	.text
	.align	2
	.global	load_fpu
	.syntax unified
	.arm
	.fpu softvfp
	.type	load_fpu, %function
load_fpu:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	bl	enable_fpu
	bl	__nds32__fmfcfg
	ldr	r3, .L10
	ldr	r2, .L10+4
	ldr	r3, [r3]
	ldr	r2, [r2]
	and	r3, r3, r0
	lsr	r3, r3, r2
	sub	r3, r3, #128
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L6:
	.syntax divided
@ 34 "data/linux/arch/nds32/kernel/extr_fpu.c_load_fpu.c" 1
	fldi $fd31, [r4+0xf8]
	fldi $fd30, [r4+0xf0]
	fldi $fd29, [r4+0xe8]
	fldi $fd28, [r4+0xe0]
	fldi $fd27, [r4+0xd8]
	fldi $fd26, [r4+0xd0]
	fldi $fd25, [r4+0xc8]
	fldi $fd24, [r4+0xc0]
	fldi $fd23, [r4+0xb8]
	fldi $fd22, [r4+0xb0]
	fldi $fd21, [r4+0xa8]
	fldi $fd20, [r4+0xa0]
	fldi $fd19, [r4+0x98]
	fldi $fd18, [r4+0x90]
	fldi $fd17, [r4+0x88]
	fldi $fd16, [r4+0x80]
	
@ 0 "" 2
	.arm
	.syntax unified
.L5:
	.syntax divided
@ 54 "data/linux/arch/nds32/kernel/extr_fpu.c_load_fpu.c" 1
	fldi $fd15, [r4+0x78]
	fldi $fd14, [r4+0x70]
	fldi $fd13, [r4+0x68]
	fldi $fd12, [r4+0x60]
	fldi $fd11, [r4+0x58]
	fldi $fd10, [r4+0x50]
	fldi $fd9,  [r4+0x48]
	fldi $fd8,  [r4+0x40]
	
@ 0 "" 2
	.arm
	.syntax unified
.L3:
	.syntax divided
@ 66 "data/linux/arch/nds32/kernel/extr_fpu.c_load_fpu.c" 1
	fldi $fd7,  [r4+0x38]
	fldi $fd6,  [r4+0x30]
	fldi $fd5,  [r4+0x28]
	fldi $fd4,  [r4+0x20]
	
@ 0 "" 2
	.arm
	.syntax unified
.L7:
	.syntax divided
@ 74 "data/linux/arch/nds32/kernel/extr_fpu.c_load_fpu.c" 1
	fldi $fd3,  [r4+0x18]
	fldi $fd2,  [r4+0x10]
	fldi $fd1,  [r4+0x8]
	fldi $fd0,  [r4+0x0]
	lwi  r3, [r4+0x100]
	fmtcsr	r3
	
@ 0 "" 2
	.arm
	.syntax unified
.L2:
	pop	{r4, lr}
	b	disable_fpu
.L11:
	.align	2
.L10:
	.word	FPCFG_mskFREG
	.word	FPCFG_offFREG
	.size	load_fpu, .-load_fpu
	.comm	FPCFG_offFREG,4,4
	.comm	FPCFG_mskFREG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
