	.file	"extr_fpu_emu.c_fpu_emulate.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"fpu_emulate: SIGTRAP\n"
.LC1:
	.string	"fpu_emulate: success\n"
.LC2:
	.string	"fpu_emulate: SIGFPE\n"
.LC3:
	.string	"fpu_emulate: SIGSEGV\n"
.LC4:
	.string	"fpu_emulate: SIGILL\n"
	.text
	.p2align 4
	.globl	fpu_emulate
	.type	fpu_emulate, @function
fpu_emulate:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, 4
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 80
	mov	rdi, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	r12, 8[rsp]
	mov	QWORD PTR 24[rsp], rsi
	mov	QWORD PTR 16[rsp], 0
	mov	rsi, r12
	call	copyin@PLT
	test	rax, rax
	je	.L2
.L11:
	mov	r12d, DWORD PTR SIGSEGV[rip]
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rsi, QWORD PTR [rbx]
	mov	edi, DWORD PTR FPE_EX[rip]
	call	DPRINTF@PLT
	mov	rax, QWORD PTR 8[rsp]
	cmp	rax, QWORD PTR OPC_TWI[rip]
	je	.L4
	cmp	rax, QWORD PTR OPC_integer_31[rip]
	jne	.L5
	cmp	rax, QWORD PTR OPC31_TW[rip]
	je	.L4
.L5:
	mov	rdx, r12
	lea	rsi, 16[rsp]
	mov	rdi, rbx
	call	fpu_execute@PLT
	mov	r12d, eax
	cmp	eax, 129
	je	.L6
	cmp	eax, 130
	je	.L7
	test	eax, eax
	je	.L14
	mov	edi, DWORD PTR FPE_EX[rip]
	lea	rsi, .LC4[rip]
	call	DPRINTF@PLT
	mov	r12d, DWORD PTR SIGILL[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, DWORD PTR FPE_EX[rip]
	lea	rsi, .LC0[rip]
	call	DPRINTF@PLT
	mov	r12d, DWORD PTR SIGTRAP[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edi, DWORD PTR FPE_EX[rip]
	lea	rsi, .LC1[rip]
	call	DPRINTF@PLT
	add	QWORD PTR [rbx], 4
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edi, DWORD PTR FPE_EX[rip]
	lea	rsi, .LC3[rip]
	call	DPRINTF@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edi, DWORD PTR FPE_EX[rip]
	lea	rsi, .LC2[rip]
	call	DPRINTF@PLT
	mov	r12d, DWORD PTR SIGFPE[rip]
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	fpu_emulate, .-fpu_emulate
	.comm	fpe_debug,4,4
	.comm	SIGTRAP,4,4
	.comm	SIGSEGV,4,4
	.comm	SIGILL,4,4
	.comm	SIGFPE,4,4
	.comm	OPC_integer_31,8,8
	.comm	OPC_TWI,8,8
	.comm	OPC31_TW,8,8
	.comm	KDB_WHY_UNSET,4,4
	.comm	FPE_EX,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_emu.c_fpu_emulate.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"fpu_emulate: SIGTRAP\012\000"
	.align	2
.LC1:
	.ascii	"fpu_emulate: success\012\000"
	.align	2
.LC2:
	.ascii	"fpu_emulate: SIGFPE\012\000"
	.align	2
.LC3:
	.ascii	"fpu_emulate: SIGSEGV\012\000"
	.align	2
.LC4:
	.ascii	"fpu_emulate: SIGILL\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fpu_emulate
	.syntax unified
	.arm
	.fpu softvfp
	.type	fpu_emulate, %function
fpu_emulate:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, r1
	mov	r3, #0
	push	{r4, r5, r6, lr}
	ldr	ip, .L15
	sub	sp, sp, #16
	str	r2, [sp, #8]
	mov	r4, r0
	mov	r1, sp
	mov	r2, #4
	ldr	r0, [r0]
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	str	r3, [sp, #4]
	bl	copyin
	cmp	r0, #0
	beq	.L2
.L11:
	ldr	r3, .L15+4
	ldr	r5, [r3]
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r0, r5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r6, .L15+8
	ldr	r1, [r4]
	ldr	r0, [r6]
	bl	DPRINTF
	ldr	r2, .L15+12
	ldr	r3, [sp]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L4
	ldr	r2, .L15+16
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L5
	ldr	r2, .L15+20
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L4
.L5:
	mov	r2, sp
	mov	r0, r4
	add	r1, sp, #4
	bl	fpu_execute
	mov	r5, r0
	cmp	r5, #129
	ldr	r0, [r6]
	beq	.L6
	cmp	r5, #130
	beq	.L7
	cmp	r5, #0
	beq	.L14
	ldr	r1, .L15+24
	bl	DPRINTF
	ldr	r3, .L15+28
	ldr	r5, [r3]
	b	.L1
.L4:
	ldr	r0, [r6]
	ldr	r1, .L15+32
	bl	DPRINTF
	ldr	r3, .L15+36
	ldr	r5, [r3]
	b	.L1
.L14:
	ldr	r1, .L15+40
	bl	DPRINTF
	ldr	r3, [r4]
	add	r3, r3, #4
	str	r3, [r4]
	b	.L1
.L7:
	ldr	r1, .L15+44
	bl	DPRINTF
	b	.L11
.L6:
	ldr	r1, .L15+48
	bl	DPRINTF
	ldr	r3, .L15+52
	ldr	r5, [r3]
	b	.L1
.L13:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC5
	.word	SIGSEGV
	.word	FPE_EX
	.word	OPC_TWI
	.word	OPC_integer_31
	.word	OPC31_TW
	.word	.LC4
	.word	SIGILL
	.word	.LC0
	.word	SIGTRAP
	.word	.LC1
	.word	.LC3
	.word	.LC2
	.word	SIGFPE
	.size	fpu_emulate, .-fpu_emulate
	.comm	fpe_debug,4,4
	.comm	SIGTRAP,4,4
	.comm	SIGSEGV,4,4
	.comm	SIGILL,4,4
	.comm	SIGFPE,4,4
	.comm	OPC_integer_31,4,4
	.comm	OPC_TWI,4,4
	.comm	OPC31_TW,4,4
	.comm	KDB_WHY_UNSET,4,4
	.comm	FPE_EX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
