	.file	"873663.c"
	.intel_syntax noprefix
	.text
	.globl	buf
	.bss
	.align 32
	.type	buf, @object
	.size	buf, 100
buf:
	.zero	100
	.globl	bufp
	.align 4
	.type	bufp, @object
	.size	bufp, 4
bufp:
	.zero	4
	.section	.rodata
.LC1:
	.string	"[ "
.LC2:
	.string	"%g "
.LC3:
	.string	"]"
	.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, 432
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -420[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -420[rbp]
	cdqe
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -416[rbp+rax*4], xmm0
	add	DWORD PTR -420[rbp], 1
.L2:
	cmp	DWORD PTR -420[rbp], 99
	jle	.L3
	mov	DWORD PTR -420[rbp], 0
	jmp	.L4
.L6:
	add	DWORD PTR -420[rbp], 1
.L4:
	cmp	DWORD PTR -420[rbp], 99
	jg	.L5
	lea	rdx, -416[rbp]
	mov	eax, DWORD PTR -420[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rdi, rax
	call	getfloat
	cmp	eax, -1
	jne	.L6
.L5:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -420[rbp], 0
	jmp	.L7
.L9:
	mov	eax, DWORD PTR -420[rbp]
	cdqe
	movss	xmm0, DWORD PTR -416[rbp+rax*4]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -420[rbp], 1
.L7:
	cmp	DWORD PTR -420[rbp], 99
	jg	.L8
	mov	eax, DWORD PTR -420[rbp]
	cdqe
	movss	xmm0, DWORD PTR -416[rbp+rax*4]
	ucomiss	xmm0, DWORD PTR .LC0[rip]
	jp	.L9
	comiss	xmm0, DWORD PTR .LC0[rip]
	jne	.L9
.L8:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	getfloat
	.type	getfloat, @function
getfloat:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 72
	.cfi_offset 3, -24
	mov	QWORD PTR -72[rbp], rdi
	nop
.L13:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getch
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L13
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L14
	cmp	DWORD PTR -52[rbp], -1
	je	.L14
	cmp	DWORD PTR -52[rbp], 43
	je	.L14
	cmp	DWORD PTR -52[rbp], 45
	je	.L14
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	ungetch
	mov	eax, 0
	jmp	.L15
.L14:
	cmp	DWORD PTR -52[rbp], 45
	jne	.L16
	mov	eax, -1
	jmp	.L17
.L16:
	mov	eax, 1
.L17:
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -52[rbp], 43
	je	.L18
	cmp	DWORD PTR -52[rbp], 45
	jne	.L19
.L18:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getch
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L20
	mov	eax, DWORD PTR -40[rbp]
	mov	edi, eax
	call	ungetch
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	ungetch
	mov	eax, 0
	jmp	.L15
.L20:
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -52[rbp], eax
.L19:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -32[rbp], xmm0
	jmp	.L21
.L22:
	movsd	xmm1, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 48
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	call	getchar@PLT
	mov	DWORD PTR -52[rbp], eax
.L21:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L22
	cmp	DWORD PTR -52[rbp], 46
	jne	.L23
	call	getchar@PLT
	mov	DWORD PTR -52[rbp], eax
.L23:
	movsd	xmm0, QWORD PTR .LC6[rip]
	movsd	QWORD PTR -24[rbp], xmm0
	jmp	.L24
.L25:
	movsd	xmm1, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 48
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	call	getchar@PLT
	mov	DWORD PTR -52[rbp], eax
.L24:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L25
	cmp	DWORD PTR -52[rbp], 101
	je	.L26
	cmp	DWORD PTR -52[rbp], 69
	jne	.L27
.L26:
	call	getchar@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 45
	jne	.L28
	mov	eax, -1
	jmp	.L29
.L28:
	mov	eax, 1
.L29:
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -52[rbp], 43
	je	.L30
	cmp	DWORD PTR -52[rbp], 45
	jne	.L31
.L30:
	call	getchar@PLT
	mov	DWORD PTR -52[rbp], eax
.L31:
	mov	DWORD PTR -48[rbp], 0
	jmp	.L32
.L33:
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 48
	add	eax, edx
	mov	DWORD PTR -48[rbp], eax
	call	getchar@PLT
	mov	DWORD PTR -52[rbp], eax
.L32:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L33
	jmp	.L34
.L37:
	cmp	DWORD PTR -36[rbp], 1
	jne	.L35
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR .LC5[rip]
	divsd	xmm0, xmm1
	jmp	.L36
.L35:
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm1
.L36:
	movsd	QWORD PTR -24[rbp], xmm0
.L34:
	mov	eax, DWORD PTR -48[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -48[rbp], edx
	test	eax, eax
	jg	.L37
.L27:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -44[rbp]
	mulsd	xmm0, QWORD PTR -32[rbp]
	divsd	xmm0, QWORD PTR -24[rbp]
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -72[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	eax, 0
.L15:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	getfloat, .-getfloat
	.globl	getch
	.type	getch, @function
getch:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR bufp[rip]
	test	eax, eax
	jle	.L39
	mov	eax, DWORD PTR bufp[rip]
	sub	eax, 1
	mov	DWORD PTR bufp[rip], eax
	mov	eax, DWORD PTR bufp[rip]
	cdqe
	lea	rdx, buf[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	jmp	.L41
.L39:
	call	getchar@PLT
.L41:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	getch, .-getch
	.section	.rodata
.LC7:
	.string	"ungetch: too many characters"
	.text
	.globl	ungetch
	.type	ungetch, @function
ungetch:
.LFB3:
	.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	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR bufp[rip]
	cmp	eax, 99
	jle	.L43
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L45
.L43:
	mov	eax, DWORD PTR bufp[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR bufp[rip], edx
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
.L45:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	ungetch, .-ungetch
	.section	.rodata
	.align 4
.LC0:
	.long	-1038876672
	.align 8
.LC5:
	.long	0
	.long	1076101120
	.align 8
.LC6:
	.long	0
	.long	1072693248
	.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	"873663.c"
	.text
	.comm	buf,100,4
	.global	bufp
	.bss
	.align	2
	.type	bufp, %object
	.size	bufp, 4
bufp:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"[ \000"
	.global	__aeabi_f2d
	.align	2
.LC1:
	.ascii	"%g \000"
	.global	__aeabi_fcmpeq
	.align	2
.LC2:
	.ascii	"]\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 408
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #408
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-412]
	b	.L2
.L3:
	ldr	r3, [fp, #-412]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, .L12+4
	str	r2, [r3, #-404]	@ float
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
.L2:
	ldr	r3, [fp, #-412]
	cmp	r3, #99
	ble	.L3
	mov	r3, #0
	str	r3, [fp, #-412]
	b	.L4
.L6:
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
.L4:
	ldr	r3, [fp, #-412]
	cmp	r3, #99
	bgt	.L5
	sub	r2, fp, #408
	ldr	r3, [fp, #-412]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r0, r3
	bl	getfloat
	mov	r3, r0
	cmn	r3, #1
	bne	.L6
.L5:
	ldr	r0, .L12+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-412]
	b	.L7
.L9:
	ldr	r3, [fp, #-412]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L12+12
	bl	printf
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
.L7:
	ldr	r3, [fp, #-412]
	cmp	r3, #99
	bgt	.L8
	ldr	r3, [fp, #-412]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]	@ float
	ldr	r1, .L12+4
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
.L8:
	ldr	r0, .L12+16
	bl	puts
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC3
	.word	-1038876672
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.global	__aeabi_dmul
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.global	__aeabi_d2f
	.align	2
	.global	getfloat
	.syntax unified
	.arm
	.fpu softvfp
	.type	getfloat, %function
getfloat:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	str	r0, [fp, #-56]
	nop
.L15:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getch
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L15
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L16
	ldr	r3, [fp, #-48]
	cmn	r3, #1
	beq	.L16
	ldr	r3, [fp, #-48]
	cmp	r3, #43
	beq	.L16
	ldr	r3, [fp, #-48]
	cmp	r3, #45
	beq	.L16
	ldr	r0, [fp, #-48]
	bl	ungetch
	mov	r3, #0
	b	.L17
.L16:
	ldr	r3, [fp, #-48]
	cmp	r3, #45
	bne	.L18
	mvn	r3, #0
	b	.L19
.L18:
	mov	r3, #1
.L19:
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-48]
	cmp	r3, #43
	beq	.L20
	ldr	r3, [fp, #-48]
	cmp	r3, #45
	bne	.L21
.L20:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getch
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L22
	ldr	r0, [fp, #-36]
	bl	ungetch
	ldr	r0, [fp, #-48]
	bl	ungetch
	mov	r3, #0
	b	.L17
.L22:
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-48]
.L21:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L23
.L24:
	mov	r2, #0
	ldr	r3, .L40
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-48]
	sub	r3, r3, #48
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	bl	getchar
	str	r0, [fp, #-48]
.L23:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-48]
	cmp	r3, #46
	bne	.L25
	bl	getchar
	str	r0, [fp, #-48]
.L25:
	mov	r2, #0
	ldr	r3, .L40+4
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	b	.L26
.L27:
	mov	r2, #0
	ldr	r3, .L40
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-48]
	sub	r3, r3, #48
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r2, #0
	ldr	r3, .L40
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	bl	getchar
	str	r0, [fp, #-48]
.L26:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-48]
	cmp	r3, #101
	beq	.L28
	ldr	r3, [fp, #-48]
	cmp	r3, #69
	bne	.L29
.L28:
	bl	getchar
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #45
	bne	.L30
	mvn	r3, #0
	b	.L31
.L30:
	mov	r3, #1
.L31:
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-48]
	cmp	r3, #43
	beq	.L32
	ldr	r3, [fp, #-48]
	cmp	r3, #45
	bne	.L33
.L32:
	bl	getchar
	str	r0, [fp, #-48]
.L33:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L34
.L35:
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-48]
	sub	r3, r3, #48
	add	r3, r2, r3
	str	r3, [fp, #-44]
	bl	getchar
	str	r0, [fp, #-48]
.L34:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L35
	b	.L36
.L39:
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bne	.L37
	mov	r2, #0
	ldr	r3, .L40
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	b	.L38
.L37:
	mov	r2, #0
	ldr	r3, .L40
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
.L38:
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
.L36:
	ldr	r3, [fp, #-44]
	sub	r2, r3, #1
	str	r2, [fp, #-44]
	cmp	r3, #0
	bgt	.L39
.L29:
	ldr	r0, [fp, #-40]
	bl	__aeabi_i2d
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-56]
	str	r2, [r3]	@ float
	mov	r3, #0
.L17:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L41:
	.align	2
.L40:
	.word	1076101120
	.word	1072693248
	.size	getfloat, .-getfloat
	.align	2
	.global	getch
	.syntax unified
	.arm
	.fpu softvfp
	.type	getch, %function
getch:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L46
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L43
	ldr	r3, .L46
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L46
	str	r3, [r2]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r2, .L46+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	b	.L45
.L43:
	bl	getchar
	mov	r3, r0
.L45:
	mov	r0, r3
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	bufp
	.word	buf
	.size	getch, .-getch
	.section	.rodata
	.align	2
.LC4:
	.ascii	"ungetch: too many characters\000"
	.text
	.align	2
	.global	ungetch
	.syntax unified
	.arm
	.fpu softvfp
	.type	ungetch, %function
ungetch:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L52
	ldr	r3, [r3]
	cmp	r3, #99
	ble	.L49
	ldr	r0, .L52+4
	bl	puts
	b	.L51
.L49:
	ldr	r3, .L52
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L52
	str	r2, [r1]
	ldr	r2, [fp, #-8]
	and	r1, r2, #255
	ldr	r2, .L52+8
	strb	r1, [r2, r3]
.L51:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	bufp
	.word	.LC4
	.word	buf
	.size	ungetch, .-ungetch
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
