	.file	"extr_process.c_flush_fp_to_thread.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	flush_fp_to_thread
	.type	flush_fp_to_thread, @function
flush_fp_to_thread:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR [rdi], 0
	je	.L1
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	eax, eax
	mov	rbp, rdi
	call	preempt_disable@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR MSR_FP[rip], eax
	jne	.L11
	xor	eax, eax
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	preempt_enable@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rdi, rbp
	call	giveup_fpu@PLT
	xor	eax, eax
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	preempt_enable@PLT
	.cfi_endproc
.LFE0:
	.size	flush_fp_to_thread, .-flush_fp_to_thread
	.comm	current,8,8
	.comm	MSR_FP,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_process.c_flush_fp_to_thread.c"
	.text
	.align	2
	.global	flush_fp_to_thread
	.syntax unified
	.arm
	.fpu softvfp
	.type	flush_fp_to_thread, %function
flush_fp_to_thread:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	cmp	r3, #0
	bxeq	lr
	push	{r4, lr}
	mov	r4, r0
	bl	preempt_disable
	ldr	r2, [r4]
	ldr	r3, .L12
	ldr	r2, [r2]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L11
	pop	{r4, lr}
	b	preempt_enable
.L11:
	mov	r0, r4
	bl	giveup_fpu
	pop	{r4, lr}
	b	preempt_enable
.L13:
	.align	2
.L12:
	.word	MSR_FP
	.size	flush_fp_to_thread, .-flush_fp_to_thread
	.comm	current,4,4
	.comm	MSR_FP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
