	.file	"969394.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"rb"
.LC2:
	.string	"expressions.txt"
.LC3:
	.string	"no file"
.LC4:
	.string	"w"
.LC5:
	.string	"results.txt"
.LC6:
	.string	"%f\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -40[rbp], 1
	pxor	xmm0, xmm0
	movss	DWORD PTR -36[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -32[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -28[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -24[rbp], xmm0
	mov	BYTE PTR -41[rbp], 48
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rsi, eax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	lea	rsi, .LC4[rip]
	lea	rdi, .LC5[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	jmp	.L4
.L28:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 10
	cmp	eax, 47
	ja	.L37
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L7[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L7[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L7:
	.long	.L13-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L12-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L37-.L7
	.long	.L11-.L7
	.long	.L10-.L7
	.long	.L37-.L7
	.long	.L9-.L7
	.long	.L37-.L7
	.long	.L8-.L7
	.long	.L6-.L7
	.long	.L6-.L7
	.long	.L6-.L7
	.long	.L6-.L7
	.long	.L6-.L7
	.long	.L6-.L7
	.long	.L6-.L7
	.long	.L6-.L7
	.long	.L6-.L7
	.long	.L6-.L7
	.text
.L6:
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -40[rbp]
	movss	xmm1, DWORD PTR -36[rbp]
	mulss	xmm0, xmm1
	movss	DWORD PTR -36[rbp], xmm0
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	xmm1, DWORD PTR -36[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -36[rbp], xmm0
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	DWORD PTR -40[rbp], eax
	jmp	.L14
.L12:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	jle	.L38
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 56
	jg	.L38
	movss	xmm0, DWORD PTR -36[rbp]
	movss	DWORD PTR -24[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -36[rbp], xmm0
	mov	DWORD PTR -40[rbp], 1
	jmp	.L38
.L10:
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -24[rbp]
	jp	.L29
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -24[rbp]
	je	.L33
.L29:
	movss	xmm0, DWORD PTR -24[rbp]
	addss	xmm0, DWORD PTR -36[rbp]
	jmp	.L18
.L33:
	movss	xmm0, DWORD PTR -32[rbp]
	addss	xmm0, DWORD PTR -36[rbp]
.L18:
	movss	DWORD PTR -28[rbp], xmm0
	movss	xmm0, DWORD PTR -28[rbp]
	movss	DWORD PTR -32[rbp], xmm0
	movss	xmm0, DWORD PTR -28[rbp]
	movss	DWORD PTR -36[rbp], xmm0
	mov	DWORD PTR -40[rbp], 1
	jmp	.L14
.L9:
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -24[rbp]
	jp	.L30
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -24[rbp]
	je	.L34
.L30:
	movss	xmm0, DWORD PTR -24[rbp]
	subss	xmm0, DWORD PTR -36[rbp]
	jmp	.L21
.L34:
	movss	xmm0, DWORD PTR -32[rbp]
	subss	xmm0, DWORD PTR -36[rbp]
.L21:
	movss	DWORD PTR -28[rbp], xmm0
	movss	xmm0, DWORD PTR -28[rbp]
	movss	DWORD PTR -32[rbp], xmm0
	movss	xmm0, DWORD PTR -28[rbp]
	movss	DWORD PTR -36[rbp], xmm0
	mov	DWORD PTR -40[rbp], 1
	jmp	.L14
.L11:
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -24[rbp]
	jp	.L31
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -24[rbp]
	je	.L35
.L31:
	movss	xmm0, DWORD PTR -24[rbp]
	mulss	xmm0, DWORD PTR -36[rbp]
	jmp	.L24
.L35:
	movss	xmm0, DWORD PTR -32[rbp]
	mulss	xmm0, DWORD PTR -36[rbp]
.L24:
	movss	DWORD PTR -28[rbp], xmm0
	movss	xmm0, DWORD PTR -28[rbp]
	movss	DWORD PTR -32[rbp], xmm0
	movss	xmm0, DWORD PTR -28[rbp]
	movss	DWORD PTR -36[rbp], xmm0
	mov	DWORD PTR -40[rbp], 1
	jmp	.L14
.L8:
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -24[rbp]
	jp	.L32
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -24[rbp]
	je	.L36
.L32:
	movss	xmm0, DWORD PTR -24[rbp]
	divss	xmm0, DWORD PTR -36[rbp]
	jmp	.L27
.L36:
	movss	xmm0, DWORD PTR -32[rbp]
	divss	xmm0, DWORD PTR -36[rbp]
.L27:
	movss	DWORD PTR -28[rbp], xmm0
	movss	xmm0, DWORD PTR -28[rbp]
	movss	DWORD PTR -32[rbp], xmm0
	movss	xmm0, DWORD PTR -28[rbp]
	movss	DWORD PTR -36[rbp], xmm0
	mov	DWORD PTR -40[rbp], 1
	jmp	.L14
.L13:
	pxor	xmm0, xmm0
	movss	DWORD PTR -36[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -32[rbp], xmm0
	mov	DWORD PTR -40[rbp], 1
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -28[rbp]
	movq	rdx, xmm2
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	pxor	xmm0, xmm0
	movss	DWORD PTR -28[rbp], xmm0
	jmp	.L14
.L37:
	nop
	jmp	.L14
.L38:
	nop
.L14:
	add	QWORD PTR -16[rbp], 1
.L4:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L28
	mov	eax, 0
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.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	"969394.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"rb\000"
	.align	2
.LC1:
	.ascii	"expressions.txt\000"
	.align	2
.LC2:
	.ascii	"no file\000"
	.align	2
.LC3:
	.ascii	"w\000"
	.align	2
.LC4:
	.ascii	"results.txt\000"
	.global	__aeabi_i2f
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.global	__aeabi_fcmpeq
	.global	__aeabi_fsub
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.align	2
.LC5:
	.ascii	"%f\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]	@ float
	mov	r3, #0
	str	r3, [fp, #-24]	@ float
	mov	r3, #0
	str	r3, [fp, #-20]	@ float
	mov	r3, #0
	str	r3, [fp, #-16]	@ float
	mov	r3, #48
	strb	r3, [fp, #-37]
	ldr	r1, .L39
	ldr	r0, .L39+4
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L39+8
	bl	printf
	mov	r3, #1
	b	.L3
.L2:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	fseek
	ldr	r0, [fp, #-8]
	bl	ftell
	str	r0, [fp, #-12]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	fseek
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	mov	r2, #1
	ldr	r0, [fp, #-36]
	bl	fread
	ldr	r0, [fp, #-8]
	bl	fclose
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, .L39+12
	ldr	r0, .L39+16
	bl	fopen
	str	r0, [fp, #-8]
	b	.L4
.L28:
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #10
	cmp	r3, #47
	ldrls	pc, [pc, r3, asl #2]
	b	.L37
.L7:
	.word	.L13
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L12
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L11
	.word	.L10
	.word	.L37
	.word	.L9
	.word	.L37
	.word	.L8
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
.L6:
	ldr	r0, [fp, #-32]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	str	r3, [fp, #-32]
	b	.L14
.L12:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	bls	.L38
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #56
	bhi	.L38
	ldr	r3, [fp, #-28]	@ float
	str	r3, [fp, #-16]	@ float
	mov	r3, #0
	str	r3, [fp, #-28]	@ float
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L38
.L10:
	mov	r1, #0
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L33
	ldr	r1, [fp, #-28]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	b	.L18
.L33:
	ldr	r1, [fp, #-28]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
.L18:
	str	r3, [fp, #-20]	@ float
	ldr	r3, [fp, #-20]	@ float
	str	r3, [fp, #-24]	@ float
	ldr	r3, [fp, #-20]	@ float
	str	r3, [fp, #-28]	@ float
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L14
.L9:
	mov	r1, #0
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L34
	ldr	r1, [fp, #-28]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	b	.L21
.L34:
	ldr	r1, [fp, #-28]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
.L21:
	str	r3, [fp, #-20]	@ float
	ldr	r3, [fp, #-20]	@ float
	str	r3, [fp, #-24]	@ float
	ldr	r3, [fp, #-20]	@ float
	str	r3, [fp, #-28]	@ float
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L14
.L11:
	mov	r1, #0
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
	ldr	r1, [fp, #-28]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	b	.L24
.L35:
	ldr	r1, [fp, #-28]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
.L24:
	str	r3, [fp, #-20]	@ float
	ldr	r3, [fp, #-20]	@ float
	str	r3, [fp, #-24]	@ float
	ldr	r3, [fp, #-20]	@ float
	str	r3, [fp, #-28]	@ float
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L14
.L8:
	mov	r1, #0
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L36
	ldr	r1, [fp, #-28]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	b	.L27
.L36:
	ldr	r1, [fp, #-28]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
.L27:
	str	r3, [fp, #-20]	@ float
	ldr	r3, [fp, #-20]	@ float
	str	r3, [fp, #-24]	@ float
	ldr	r3, [fp, #-20]	@ float
	str	r3, [fp, #-28]	@ float
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L14
.L13:
	mov	r3, #0
	str	r3, [fp, #-28]	@ float
	mov	r3, #0
	str	r3, [fp, #-24]	@ float
	mov	r3, #1
	str	r3, [fp, #-32]
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L39+20
	ldr	r0, [fp, #-8]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-20]	@ float
	b	.L14
.L37:
	nop
	b	.L14
.L38:
	nop
.L14:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L4:
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L28
	mov	r3, #0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
