	.file	"extr_fpsimd.c_fpsimd_save.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fpsimd_save, @function
fpsimd_save:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rdi, fpsimd_last_state[rip]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	this_cpu_ptr@PLT
	mov	rbx, rax
	xor	eax, eax
	call	have_cpu_fpsimd_context@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	WARN_ON@PLT
	mov	edi, DWORD PTR TIF_FOREIGN_FPSTATE[rip]
	call	test_thread_flag@PLT
	test	rax, rax
	je	.L13
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	call	system_supports_sve@PLT
	test	rax, rax
	je	.L3
	mov	edi, DWORD PTR TIF_SVE[rip]
	call	test_thread_flag@PLT
	test	rax, rax
	je	.L3
	xor	eax, eax
	call	sve_get_vl@PLT
	xor	edi, edi
	cmp	QWORD PTR [rbx], rax
	setne	dil
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L14
	mov	rdi, QWORD PTR [rbx]
	mov	rbp, QWORD PTR 8[rbx]
	call	sve_ffr_offset@PLT
	mov	rsi, rbp
	movsx	rdi, eax
	add	rdi, QWORD PTR 16[rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	sve_save_state@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	fpsimd_save_state@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	esi, DWORD PTR SI_KERNEL[rip]
	mov	edi, DWORD PTR SIGKILL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	edx, edx
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	force_signal_inject@PLT
	.cfi_endproc
.LFE0:
	.size	fpsimd_save, .-fpsimd_save
	.comm	fpsimd_last_state,4,4
	.comm	TIF_SVE,4,4
	.comm	TIF_FOREIGN_FPSTATE,4,4
	.comm	SI_KERNEL,4,4
	.comm	SIGKILL,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_fpsimd.c_fpsimd_save.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fpsimd_save, %function
fpsimd_save:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r0, .L14
	bl	this_cpu_ptr
	mov	r5, r0
	bl	have_cpu_fpsimd_context
	clz	r0, r0
	lsr	r0, r0, #5
	bl	WARN_ON
	ldr	r3, .L14+4
	ldr	r0, [r3]
	bl	test_thread_flag
	subs	r4, r0, #0
	popne	{r4, r5, r6, pc}
	bl	system_supports_sve
	cmp	r0, #0
	beq	.L3
	ldr	r3, .L14+8
	ldr	r0, [r3]
	bl	test_thread_flag
	cmp	r0, #0
	beq	.L3
	bl	sve_get_vl
	ldr	r3, [r5]
	subs	r0, r3, r0
	movne	r0, #1
	bl	WARN_ON
	cmp	r0, #0
	bne	.L13
	ldr	r0, [r5]
	bl	sve_ffr_offset
	ldmib	r5, {r1, r3}
	pop	{r4, r5, r6, lr}
	add	r0, r0, r3
	b	sve_save_state
.L3:
	ldr	r0, [r5, #4]
	pop	{r4, r5, r6, lr}
	b	fpsimd_save_state
.L13:
	ldr	r1, .L14+12
	ldr	r3, .L14+16
	mov	r2, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r1]
	ldr	r0, [r3]
	b	force_signal_inject
.L15:
	.align	2
.L14:
	.word	fpsimd_last_state
	.word	TIF_FOREIGN_FPSTATE
	.word	TIF_SVE
	.word	SI_KERNEL
	.word	SIGKILL
	.size	fpsimd_save, .-fpsimd_save
	.comm	fpsimd_last_state,4,4
	.comm	TIF_SVE,4,4
	.comm	TIF_FOREIGN_FPSTATE,4,4
	.comm	SI_KERNEL,4,4
	.comm	SIGKILL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
