	.file	"719844.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"current rounding direction:  "
.LC1:
	.string	"FE_TONEAREST"
.LC2:
	.string	"FE_DOWNWARD"
.LC3:
	.string	"FE_UPWARD"
.LC4:
	.string	"FE_TOWARDZERO"
.LC5:
	.string	"unknown"
	.text
	.globl	show_fe_current_rounding_direction
	.type	show_fe_current_rounding_direction, @function
show_fe_current_rounding_direction:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	call	fegetround@PLT
	cmp	eax, 3072
	je	.L2
	cmp	eax, 3072
	jg	.L3
	cmp	eax, 2048
	je	.L4
	cmp	eax, 2048
	jg	.L3
	test	eax, eax
	je	.L5
	cmp	eax, 1024
	je	.L6
	jmp	.L3
.L5:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L7
.L6:
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L7
.L4:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L7
.L2:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L7
.L3:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L7:
	mov	edi, 10
	call	putchar@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	show_fe_current_rounding_direction, .-show_fe_current_rounding_direction
	.section	.rodata
.LC7:
	.string	"+11.5 -> %+4.1f\n"
.LC9:
	.string	"+12.5 -> %+4.1f\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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
	call	show_fe_current_rounding_direction
	mov	rax, QWORD PTR .LC6[rip]
	movq	xmm0, rax
	call	rint@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR .LC8[rip]
	movq	xmm0, rax
	call	rint@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	call	fegetround@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	edi, 1024
	call	fesetround@PLT
	call	show_fe_current_rounding_direction
	mov	rax, QWORD PTR .LC6[rip]
	movq	xmm0, rax
	call	rint@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR .LC8[rip]
	movq	xmm0, rax
	call	rint@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	fesetround@PLT
	call	show_fe_current_rounding_direction
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC6:
	.long	0
	.long	1076297728
	.align 8
.LC8:
	.long	0
	.long	1076428800
	.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	"719844.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"current rounding direction:  \000"
	.align	2
.LC1:
	.ascii	"FE_TONEAREST\000"
	.align	2
.LC2:
	.ascii	"FE_DOWNWARD\000"
	.align	2
.LC3:
	.ascii	"FE_UPWARD\000"
	.align	2
.LC4:
	.ascii	"FE_TOWARDZERO\000"
	.align	2
.LC5:
	.ascii	"unknown\000"
	.text
	.align	2
	.global	show_fe_current_rounding_direction
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_fe_current_rounding_direction, %function
show_fe_current_rounding_direction:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L8
	bl	printf
	bl	fegetround
	mov	r3, r0
	cmp	r3, #12582912
	beq	.L2
	cmp	r3, #12582912
	bgt	.L3
	cmp	r3, #8388608
	beq	.L4
	cmp	r3, #8388608
	bgt	.L3
	cmp	r3, #0
	beq	.L5
	cmp	r3, #4194304
	beq	.L6
	b	.L3
.L5:
	ldr	r0, .L8+4
	bl	printf
	b	.L7
.L4:
	ldr	r0, .L8+8
	bl	printf
	b	.L7
.L6:
	ldr	r0, .L8+12
	bl	printf
	b	.L7
.L2:
	ldr	r0, .L8+16
	bl	printf
	b	.L7
.L3:
	ldr	r0, .L8+20
	bl	printf
.L7:
	mov	r0, #10
	bl	putchar
	nop
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	show_fe_current_rounding_direction, .-show_fe_current_rounding_direction
	.section	.rodata
	.align	2
.LC6:
	.ascii	"+11.5 -> %+4.1f\012\000"
	.align	2
.LC7:
	.ascii	"+12.5 -> %+4.1f\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	show_fe_current_rounding_direction
	mov	r0, #0
	ldr	r1, .L12
	bl	rint
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L12+4
	bl	printf
	mov	r0, #0
	ldr	r1, .L12+8
	bl	rint
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L12+12
	bl	printf
	bl	fegetround
	str	r0, [fp, #-8]
	mov	r0, #8388608
	bl	fesetround
	bl	show_fe_current_rounding_direction
	mov	r0, #0
	ldr	r1, .L12
	bl	rint
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L12+4
	bl	printf
	mov	r0, #0
	ldr	r1, .L12+8
	bl	rint
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L12+12
	bl	printf
	ldr	r0, [fp, #-8]
	bl	fesetround
	bl	show_fe_current_rounding_direction
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	1076297728
	.word	.LC6
	.word	1076428800
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
