	.file	"762640.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"toward zero"
.LC1:
	.string	"nearest"
.LC2:
	.string	"toward +Infinity"
.LC3:
	.string	"toward -Infinity"
	.section	.data.rel.local,"aw"
	.align 32
	.type	dir, @object
	.size	dir, 32
dir:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.section	.rodata
.LC4:
	.string	"Rounding mode for strtor... "
.LC5:
	.string	"was and is %d (%s)\n"
	.align 8
.LC6:
	.string	"changed from %d (%s) to %d (%s)\n"
	.align 8
.LC7:
	.string	"Bad rounding direction %d: choose among\n"
.LC8:
	.string	"\t%d (%s)\n"
	.align 8
.LC9:
	.string	"Leaving rounding mode for strtor... at %d (%s)\n"
	.text
	.globl	getround
	.type	getround, @function
getround:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 1
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	js	.L2
	cmp	DWORD PTR -4[rbp], 3
	jg	.L2
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jne	.L3
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, dir[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L3:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, dir[rip]
	mov	rsi, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, dir[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	ecx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	r8, rsi
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L4:
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L5
.L2:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, dir[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L6:
	cmp	DWORD PTR -4[rbp], 3
	jle	.L7
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, dir[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -20[rbp]
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	getround, .-getround
	.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	"762640.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"toward zero\000"
	.align	2
.LC1:
	.ascii	"nearest\000"
	.align	2
.LC2:
	.ascii	"toward +Infinity\000"
	.align	2
.LC3:
	.ascii	"toward -Infinity\000"
	.data
	.align	2
	.type	dir, %object
	.size	dir, 16
dir:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Rounding mode for strtor... \000"
	.align	2
.LC5:
	.ascii	"was and is %d (%s)\012\000"
	.align	2
.LC6:
	.ascii	"changed from %d (%s) to %d (%s)\012\000"
	.align	2
.LC7:
	.ascii	"Bad rounding direction %d: choose among\012\000"
	.align	2
.LC8:
	.ascii	"\011%d (%s)\012\000"
	.align	2
.LC9:
	.ascii	"Leaving rounding mode for strtor... at %d (%s)\012\000"
	.text
	.align	2
	.global	getround
	.syntax unified
	.arm
	.fpu softvfp
	.type	getround, %function
getround:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	blt	.L2
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	bgt	.L2
	ldr	r0, .L8
	bl	printf
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bne	.L3
	ldr	r2, .L8+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L8+8
	bl	printf
	b	.L4
.L3:
	ldr	r2, .L8+4
	ldr	r3, [fp, #-16]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L8+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [sp]
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-16]
	ldr	r0, .L8+12
	bl	printf
.L4:
	ldr	r3, [fp, #-8]
	b	.L5
.L2:
	ldr	r1, [fp, #-8]
	ldr	r0, .L8+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L6
.L7:
	ldr	r2, .L8+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L8+20
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	ble	.L7
	ldr	r2, .L8+4
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r1, [fp, #-16]
	ldr	r0, .L8+24
	bl	printf
	ldr	r3, [fp, #-16]
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC4
	.word	dir
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	getround, .-getround
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
