	.file	"385310.c"
	.intel_syntax noprefix
	.text
	.globl	getfloat
	.type	getfloat, @function
getfloat:
.LFB0:
	.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, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	nop
.L2:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getch@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L2
	cmp	DWORD PTR -28[rbp], 45
	jne	.L3
	mov	eax, -1
	jmp	.L4
.L3:
	mov	eax, 1
.L4:
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -28[rbp], 43
	je	.L5
	cmp	DWORD PTR -28[rbp], 45
	jne	.L6
.L5:
	call	getch@PLT
	mov	DWORD PTR -28[rbp], eax
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L6
	cmp	DWORD PTR -28[rbp], 46
	je	.L6
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	ungetch@PLT
	cmp	DWORD PTR -20[rbp], 0
	jg	.L7
	mov	eax, 45
	jmp	.L8
.L7:
	mov	eax, 43
.L8:
	mov	DWORD PTR -28[rbp], eax
.L6:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L9
	cmp	DWORD PTR -28[rbp], 46
	je	.L9
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	ungetch@PLT
	cmp	DWORD PTR -28[rbp], -1
	jne	.L10
	mov	eax, -1
	jmp	.L12
.L10:
	mov	eax, 0
	jmp	.L12
.L9:
	mov	rax, QWORD PTR -40[rbp]
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	jmp	.L13
.L14:
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm1, DWORD PTR [rax]
	movss	xmm0, DWORD PTR .LC1[rip]
	mulss	xmm1, xmm0
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 48
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	addss	xmm0, xmm1
	mov	rax, QWORD PTR -40[rbp]
	movss	DWORD PTR [rax], xmm0
	call	getch@PLT
	mov	DWORD PTR -28[rbp], eax
.L13:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L14
	mov	DWORD PTR -24[rbp], 1
	cmp	DWORD PTR -28[rbp], 46
	jne	.L15
	call	getch@PLT
	mov	DWORD PTR -28[rbp], eax
	jmp	.L16
.L17:
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm1, DWORD PTR [rax]
	movss	xmm0, DWORD PTR .LC1[rip]
	mulss	xmm1, xmm0
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 48
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	addss	xmm0, xmm1
	mov	rax, QWORD PTR -40[rbp]
	movss	DWORD PTR [rax], xmm0
	call	getch@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	DWORD PTR -24[rbp], eax
.L16:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L17
.L15:
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm1, DWORD PTR [rax]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -20[rbp]
	mulss	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -24[rbp]
	divss	xmm0, xmm1
	mov	rax, QWORD PTR -40[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	ungetch@PLT
	mov	eax, 1
.L12:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	getfloat, .-getfloat
	.section	.rodata
	.align 4
.LC1:
	.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	"385310.c"
	.text
	.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, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	nop
.L2:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getch
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-24]
	cmp	r3, #45
	bne	.L3
	mvn	r3, #0
	b	.L4
.L3:
	mov	r3, #1
.L4:
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r3, #43
	beq	.L5
	ldr	r3, [fp, #-24]
	cmp	r3, #45
	bne	.L6
.L5:
	bl	getch
	str	r0, [fp, #-24]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-24]
	cmp	r3, #46
	beq	.L6
	ldr	r0, [fp, #-24]
	bl	ungetch
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bgt	.L7
	mov	r3, #45
	b	.L8
.L7:
	mov	r3, #43
.L8:
	str	r3, [fp, #-24]
.L6:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-24]
	cmp	r3, #46
	beq	.L9
	ldr	r0, [fp, #-24]
	bl	ungetch
	ldr	r3, [fp, #-24]
	cmn	r3, #1
	bne	.L10
	mvn	r3, #0
	b	.L12
.L10:
	mov	r3, #0
	b	.L12
.L9:
	ldr	r3, [fp, #-32]
	mov	r2, #0
	str	r2, [r3]	@ float
	b	.L13
.L14:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]	@ float
	ldr	r1, .L18
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-24]
	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
	bl	getch
	str	r0, [fp, #-24]
.L13:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L14
	mov	r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r3, #46
	bne	.L15
	bl	getch
	str	r0, [fp, #-24]
	b	.L16
.L17:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]	@ float
	ldr	r1, .L18
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-24]
	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
	bl	getch
	str	r0, [fp, #-24]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	str	r3, [fp, #-20]
.L16:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L17
.L15:
	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	r4, r3
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-32]
	str	r2, [r3]	@ float
	ldr	r0, [fp, #-24]
	bl	ungetch
	mov	r3, #1
.L12:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L19:
	.align	2
.L18:
	.word	1092616192
	.size	getfloat, .-getfloat
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
