	.file	"690886.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"getfloat: %f\n"
.LC1:
	.string	"getfloat: error\n"
	.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
	jmp	.L2
.L3:
	movss	xmm0, DWORD PTR -16[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC0[rip]
	mov	eax, 1
	call	printf@PLT
.L2:
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	getfloat
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jg	.L3
	cmp	DWORD PTR -12[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 16
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
.L4:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	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
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	nop
.L8:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	call	isspace@PLT
	test	eax, eax
	jne	.L8
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, 48
	cmp	eax, 9
	jbe	.L9
	cmp	DWORD PTR -8[rbp], -1
	je	.L9
	cmp	DWORD PTR -8[rbp], 43
	je	.L9
	cmp	DWORD PTR -8[rbp], 45
	je	.L9
	mov	rdx, QWORD PTR stdin[rip]
	mov	eax, DWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ungetc@PLT
	mov	eax, 0
	jmp	.L10
.L9:
	cmp	DWORD PTR -8[rbp], 45
	jne	.L11
	mov	eax, -1
	jmp	.L12
.L11:
	mov	eax, 1
.L12:
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], 43
	je	.L13
	cmp	DWORD PTR -8[rbp], 45
	jne	.L14
.L13:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -8[rbp], eax
.L14:
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	jmp	.L15
.L16:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR [rax]
	movss	xmm0, DWORD PTR .LC3[rip]
	mulss	xmm1, xmm0
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, 48
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	addss	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -8[rbp], eax
.L15:
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, 48
	cmp	eax, 9
	jbe	.L16
	cmp	DWORD PTR -8[rbp], 46
	jne	.L17
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -12[rbp], 10
	jmp	.L18
.L19:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, 48
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	pxor	xmm2, xmm2
	cvtsi2ss	xmm2, DWORD PTR -12[rbp]
	divss	xmm0, xmm2
	addss	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -8[rbp], eax
.L18:
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, 48
	cmp	eax, 9
	jbe	.L19
.L17:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR [rax]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -4[rbp]
	mulss	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR [rax], xmm0
	cmp	DWORD PTR -8[rbp], -1
	je	.L20
	mov	rdx, QWORD PTR stdin[rip]
	mov	eax, DWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ungetc@PLT
.L20:
	mov	eax, DWORD PTR -8[rbp]
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	getfloat, .-getfloat
	.section	.rodata
	.align 4
.LC3:
	.long	1092616192
	.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	"690886.c"
	.text
	.global	__aeabi_f2d
	.section	.rodata
	.align	2
.LC0:
	.ascii	"getfloat: %f\012\000"
	.align	2
.LC1:
	.ascii	"getfloat: error\012\000"
	.align	2
.LC2:
	.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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L2
.L3:
	ldr	r3, [fp, #-16]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L7+4
	bl	printf
.L2:
	sub	r3, fp, #16
	mov	r0, r3
	bl	getfloat
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L3
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L7+8
	ldr	r3, [r3]
	mov	r2, #16
	mov	r1, #1
	ldr	r0, .L7+12
	bl	fwrite
.L4:
	mov	r3, #0
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC2
	.word	.LC0
	.word	stderr
	.word	.LC1
	.size	main, .-main
	.global	__aeabi_fmul
	.global	__aeabi_i2f
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.align	2
	.global	getfloat
	.syntax unified
	.arm
	.fpu softvfp
	.type	getfloat, %function
getfloat:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	str	r0, [fp, #-32]
	nop
.L10:
	ldr	r3, .L23
	ldr	r3, [r3]
	mov	r0, r3
	bl	getc
	str	r0, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	isspace
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-20]
	sub	r3, r3, #48
	cmp	r3, #9
	bls	.L11
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	beq	.L11
	ldr	r3, [fp, #-20]
	cmp	r3, #43
	beq	.L11
	ldr	r3, [fp, #-20]
	cmp	r3, #45
	beq	.L11
	ldr	r3, .L23
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	ungetc
	mov	r3, #0
	b	.L12
.L11:
	ldr	r3, [fp, #-20]
	cmp	r3, #45
	bne	.L13
	mvn	r3, #0
	b	.L14
.L13:
	mov	r3, #1
.L14:
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r3, #43
	beq	.L15
	ldr	r3, [fp, #-20]
	cmp	r3, #45
	bne	.L16
.L15:
	ldr	r3, .L23
	ldr	r3, [r3]
	mov	r0, r3
	bl	getc
	str	r0, [fp, #-20]
.L16:
	ldr	r3, [fp, #-32]
	mov	r2, #0
	str	r2, [r3]	@ float
	b	.L17
.L18:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]	@ float
	ldr	r1, .L23+4
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-20]
	sub	r3, r3, #48
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-32]
	str	r2, [r3]	@ float
	ldr	r3, .L23
	ldr	r3, [r3]
	mov	r0, r3
	bl	getc
	str	r0, [fp, #-20]
.L17:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #48
	cmp	r3, #9
	bls	.L18
	ldr	r3, [fp, #-20]
	cmp	r3, #46
	bne	.L19
	ldr	r3, .L23
	ldr	r3, [r3]
	mov	r0, r3
	bl	getc
	str	r0, [fp, #-20]
	mov	r3, #10
	str	r3, [fp, #-24]
	b	.L20
.L21:
	ldr	r3, [fp, #-32]
	ldr	r4, [r3]	@ float
	ldr	r3, [fp, #-20]
	sub	r3, r3, #48
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r5, r0
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r5
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-32]
	str	r2, [r3]	@ float
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, .L23
	ldr	r3, [r3]
	mov	r0, r3
	bl	getc
	str	r0, [fp, #-20]
.L20:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #48
	cmp	r3, #9
	bls	.L21
.L19:
	ldr	r3, [fp, #-32]
	ldr	r4, [r3]	@ float
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-32]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	beq	.L22
	ldr	r3, .L23
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	ungetc
.L22:
	ldr	r3, [fp, #-20]
.L12:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L24:
	.align	2
.L23:
	.word	stdin
	.word	1092616192
	.size	getfloat, .-getfloat
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
