	.file	"179830389.c"
	.intel_syntax noprefix
	.text
	.globl	test_fpu_path
	.section	.rodata
	.align 8
.LC0:
	.string	"/sys/kernel/debug/selftest_helpers/test_fpu"
	.section	.data.rel.local,"aw"
	.align 8
	.type	test_fpu_path, @object
	.size	test_fpu_path, 8
test_fpu_path:
	.quad	.LC0
	.section	.rodata
.LC1:
	.string	"[SKIP]\tcan't access %s: %s\n"
	.align 8
.LC2:
	.string	"[FAIL]\taccess with default rounding mode failed"
	.align 8
.LC3:
	.string	"[FAIL]\taccess with downward rounding mode failed"
	.align 8
.LC4:
	.string	"[FAIL]\tusermode rounding mode clobbered"
	.align 8
.LC5:
	.string	"[FAIL]\taccess with fpu exceptions unmasked failed"
	.align 8
.LC6:
	.string	"[FAIL]\tusermode fpu exception mask clobbered"
.LC7:
	.string	"[OK]\ttest_fpu"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR test_fpu_path[rip]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	jns	.L2
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR test_fpu_path[rip]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L9
.L2:
	lea	rcx, -9[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	test	rax, rax
	jns	.L4
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L9
.L4:
	mov	edi, 1024
	call	fesetround@PLT
	lea	rcx, -9[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	test	rax, rax
	jns	.L5
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 2
	jmp	.L9
.L5:
	call	fegetround@PLT
	cmp	eax, 1024
	je	.L6
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, 3
	jmp	.L9
.L6:
	mov	edi, 61
	call	feclearexcept@PLT
	mov	edi, 61
	call	feenableexcept@PLT
	lea	rcx, -9[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	test	rax, rax
	jns	.L7
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, 4
	jmp	.L9
.L7:
	call	fegetexcept@PLT
	cmp	eax, 61
	je	.L8
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, 5
	jmp	.L9
.L8:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, 0
.L9:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"179830389.c"
	.text
	.global	test_fpu_path
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/sys/kernel/debug/selftest_helpers/test_fpu\000"
	.data
	.align	2
	.type	test_fpu_path, %object
	.size	test_fpu_path, 4
test_fpu_path:
	.word	.LC0
	.section	.rodata
	.align	2
.LC1:
	.ascii	"[SKIP]\011can't access %s: %s\012\000"
	.align	2
.LC2:
	.ascii	"[FAIL]\011access with default rounding mode failed\000"
	.align	2
.LC3:
	.ascii	"[FAIL]\011access with downward rounding mode failed"
	.ascii	"\000"
	.align	2
.LC4:
	.ascii	"[FAIL]\011usermode rounding mode clobbered\000"
	.align	2
.LC5:
	.ascii	"[FAIL]\011access with fpu exceptions unmasked faile"
	.ascii	"d\000"
	.align	2
.LC6:
	.ascii	"[FAIL]\011usermode fpu exception mask clobbered\000"
	.align	2
.LC7:
	.ascii	"[OK]\011test_fpu\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L11+4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	open
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bge	.L2
	ldr	r3, .L11+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L11+8
	bl	printf
	mov	r3, #0
	b	.L9
.L2:
	sub	r3, fp, #20
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	read
	mov	r3, r0
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L11+12
	bl	puts
	mov	r3, #1
	b	.L9
.L4:
	mov	r0, #8388608
	bl	fesetround
	sub	r3, fp, #20
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	read
	mov	r3, r0
	cmp	r3, #0
	bge	.L5
	ldr	r0, .L11+16
	bl	puts
	mov	r3, #2
	b	.L9
.L5:
	bl	fegetround
	mov	r3, r0
	cmp	r3, #8388608
	beq	.L6
	ldr	r0, .L11+20
	bl	puts
	mov	r3, #3
	b	.L9
.L6:
	mov	r0, #31
	bl	feclearexcept
	mov	r0, #31
	bl	feenableexcept
	sub	r3, fp, #20
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	read
	mov	r3, r0
	cmp	r3, #0
	bge	.L7
	ldr	r0, .L11+24
	bl	puts
	mov	r3, #4
	b	.L9
.L7:
	bl	fegetexcept
	mov	r3, r0
	cmp	r3, #31
	beq	.L8
	ldr	r0, .L11+28
	bl	puts
	mov	r3, #5
	b	.L9
.L8:
	ldr	r0, .L11+32
	bl	puts
	mov	r3, #0
.L9:
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC8
	.word	test_fpu_path
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
