	.file	"176791.c"
	.intel_syntax noprefix
	.text
	.globl	get_keypress
	.type	get_keypress, @function
get_keypress:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	getchar@PLT
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_keypress, .-get_keypress
	.globl	eval_add
	.type	eval_add, @function
eval_add:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -4[rbp], xmm0
	movss	DWORD PTR -8[rbp], xmm1
	movss	xmm0, DWORD PTR -4[rbp]
	addss	xmm0, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	eval_add, .-eval_add
	.globl	eval_sub
	.type	eval_sub, @function
eval_sub:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -4[rbp], xmm0
	movss	DWORD PTR -8[rbp], xmm1
	movss	xmm0, DWORD PTR -4[rbp]
	subss	xmm0, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	eval_sub, .-eval_sub
	.globl	eval_uminus
	.type	eval_uminus, @function
eval_uminus:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -4[rbp], xmm0
	movss	DWORD PTR -8[rbp], xmm1
	movss	xmm0, DWORD PTR -4[rbp]
	movss	xmm1, DWORD PTR .LC0[rip]
	xorps	xmm0, xmm1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	eval_uminus, .-eval_uminus
	.globl	eval_exp
	.type	eval_exp, @function
eval_exp:
.LFB10:
	.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
	movss	DWORD PTR -4[rbp], xmm0
	movss	DWORD PTR -8[rbp], xmm1
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -8[rbp]
	jbe	.L19
	pxor	xmm0, xmm0
	jmp	.L16
.L19:
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -8[rbp]
	jp	.L18
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -8[rbp]
	je	.L20
.L18:
	movss	xmm0, DWORD PTR -8[rbp]
	movss	xmm1, DWORD PTR .LC2[rip]
	subss	xmm0, xmm1
	mov	eax, DWORD PTR -4[rbp]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	eval_exp
	movd	eax, xmm0
	movd	xmm0, eax
	mulss	xmm0, DWORD PTR -4[rbp]
	jmp	.L16
.L20:
	movss	xmm0, DWORD PTR .LC2[rip]
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	eval_exp, .-eval_exp
	.globl	eval_mul
	.type	eval_mul, @function
eval_mul:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -4[rbp], xmm0
	movss	DWORD PTR -8[rbp], xmm1
	movss	xmm0, DWORD PTR -4[rbp]
	mulss	xmm0, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	eval_mul, .-eval_mul
	.section	.rodata
.LC3:
	.string	"ERROR: Division by zero\n"
	.text
	.globl	eval_div
	.type	eval_div, @function
eval_div:
.LFB12:
	.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
	movss	DWORD PTR -4[rbp], xmm0
	movss	DWORD PTR -8[rbp], xmm1
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -8[rbp]
	jp	.L24
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -8[rbp]
	jne	.L24
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L24:
	movss	xmm0, DWORD PTR -4[rbp]
	divss	xmm0, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	eval_div, .-eval_div
	.globl	eval_mod
	.type	eval_mod, @function
eval_mod:
.LFB13:
	.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
	movss	DWORD PTR -4[rbp], xmm0
	movss	DWORD PTR -8[rbp], xmm1
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -8[rbp]
	jp	.L29
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -8[rbp]
	jne	.L29
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L29:
	movss	xmm0, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -4[rbp]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	fmodf@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	eval_mod, .-eval_mod
	.globl	operators
	.section	.data.rel.local,"aw"
	.align 32
	.type	operators, @object
	.size	operators, 216
operators:
	.byte	95
	.zero	3
	.long	10
	.long	2
	.long	1
	.quad	eval_uminus
	.byte	94
	.zero	3
	.long	9
	.long	2
	.long	0
	.quad	eval_exp
	.byte	42
	.zero	3
	.long	8
	.long	1
	.long	0
	.quad	eval_mul
	.byte	47
	.zero	3
	.long	8
	.long	1
	.long	0
	.quad	eval_div
	.byte	37
	.zero	3
	.long	8
	.long	1
	.long	0
	.quad	eval_mod
	.byte	43
	.zero	3
	.long	5
	.long	1
	.long	0
	.quad	eval_add
	.byte	45
	.zero	3
	.long	5
	.long	1
	.long	0
	.quad	eval_sub
	.byte	40
	.zero	3
	.long	0
	.long	0
	.long	0
	.quad	0
	.byte	41
	.zero	3
	.long	0
	.long	0
	.long	0
	.quad	0
	.text
	.globl	getop
	.type	getop, @function
getop:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -20[rbp], al
	mov	DWORD PTR -4[rbp], 0
	jmp	.L34
.L37:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, operators[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	BYTE PTR -20[rbp], al
	jne	.L35
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, operators[rip]
	add	rax, rdx
	jmp	.L36
.L35:
	add	DWORD PTR -4[rbp], 1
.L34:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, 8
	jbe	.L37
	mov	eax, 0
.L36:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	getop, .-getop
	.globl	opstack
	.bss
	.align 32
	.type	opstack, @object
	.size	opstack, 512
opstack:
	.zero	512
	.globl	nopstack
	.align 4
	.type	nopstack, @object
	.size	nopstack, 4
nopstack:
	.zero	4
	.globl	numstack
	.align 32
	.type	numstack, @object
	.size	numstack, 256
numstack:
	.zero	256
	.globl	nnumstack
	.align 4
	.type	nnumstack, @object
	.size	nnumstack, 4
nnumstack:
	.zero	4
	.section	.rodata
	.align 8
.LC4:
	.string	"ERROR: Operator stack overflow\n"
	.text
	.globl	push_opstack
	.type	push_opstack, @function
push_opstack:
.LFB15:
	.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	QWORD PTR -8[rbp], rdi
	mov	eax, DWORD PTR nopstack[rip]
	cmp	eax, 63
	jle	.L39
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L39:
	mov	eax, DWORD PTR nopstack[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR nopstack[rip], edx
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rdx, opstack[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	push_opstack, .-push_opstack
	.section	.rodata
.LC5:
	.string	"ERROR: Operator stack empty\n"
	.text
	.globl	pop_opstack
	.type	pop_opstack, @function
pop_opstack:
.LFB16:
	.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 nopstack[rip]
	test	eax, eax
	jne	.L41
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 28
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L41:
	mov	eax, DWORD PTR nopstack[rip]
	sub	eax, 1
	mov	DWORD PTR nopstack[rip], eax
	mov	eax, DWORD PTR nopstack[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, opstack[rip]
	mov	rax, QWORD PTR [rdx+rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	pop_opstack, .-pop_opstack
	.section	.rodata
.LC6:
	.string	"ERROR: Number stack overflow\n"
	.text
	.globl	push_numstack
	.type	push_numstack, @function
push_numstack:
.LFB17:
	.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
	movss	DWORD PTR -4[rbp], xmm0
	mov	eax, DWORD PTR nnumstack[rip]
	cmp	eax, 63
	jle	.L44
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L44:
	mov	eax, DWORD PTR nnumstack[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR nnumstack[rip], edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, numstack[rip]
	movss	xmm0, DWORD PTR -4[rbp]
	movss	DWORD PTR [rdx+rax], xmm0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	push_numstack, .-push_numstack
	.section	.rodata
.LC7:
	.string	"ERROR: Number stack empty\n"
	.text
	.globl	pop_numstack
	.type	pop_numstack, @function
pop_numstack:
.LFB18:
	.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 nnumstack[rip]
	test	eax, eax
	jne	.L46
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L46:
	mov	eax, DWORD PTR nnumstack[rip]
	sub	eax, 1
	mov	DWORD PTR nnumstack[rip], eax
	mov	eax, DWORD PTR nnumstack[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, numstack[rip]
	movss	xmm0, DWORD PTR [rdx+rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	pop_numstack, .-pop_numstack
	.section	.rodata
	.align 8
.LC8:
	.string	"ERROR: Stack error. No matching '('\n"
	.text
	.globl	shunt_op
	.type	shunt_op, @function
shunt_op:
.LFB19:
	.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
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 40
	jne	.L49
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	push_opstack
	jmp	.L48
.L49:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 41
	jne	.L51
	jmp	.L52
.L55:
	mov	eax, 0
	call	pop_opstack
	mov	QWORD PTR -8[rbp], rax
	mov	eax, 0
	call	pop_numstack
	movd	eax, xmm0
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	test	eax, eax
	je	.L53
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -16[rbp]
	pxor	xmm1, xmm1
	movd	xmm0, eax
	call	rdx
	movd	eax, xmm0
	movd	xmm0, eax
	call	push_numstack
	jmp	.L52
.L53:
	mov	eax, 0
	call	pop_numstack
	movd	eax, xmm0
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 16[rax]
	movss	xmm0, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -12[rbp]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	rdx
	movd	eax, xmm0
	movd	xmm0, eax
	call	push_numstack
.L52:
	mov	eax, DWORD PTR nopstack[rip]
	test	eax, eax
	jle	.L54
	mov	eax, DWORD PTR nopstack[rip]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, opstack[rip]
	mov	rax, QWORD PTR [rdx+rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 40
	jne	.L55
.L54:
	mov	eax, 0
	call	pop_opstack
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L56
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 40
	je	.L66
.L56:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 36
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L51:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 2
	jne	.L63
	jmp	.L59
.L62:
	mov	eax, 0
	call	pop_opstack
	mov	QWORD PTR -8[rbp], rax
	mov	eax, 0
	call	pop_numstack
	movd	eax, xmm0
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	test	eax, eax
	je	.L60
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -16[rbp]
	pxor	xmm1, xmm1
	movd	xmm0, eax
	call	rdx
	movd	eax, xmm0
	movd	xmm0, eax
	call	push_numstack
	jmp	.L59
.L60:
	mov	eax, 0
	call	pop_numstack
	movd	eax, xmm0
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 16[rax]
	movss	xmm0, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -12[rbp]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	rdx
	movd	eax, xmm0
	movd	xmm0, eax
	call	push_numstack
.L59:
	mov	eax, DWORD PTR nopstack[rip]
	test	eax, eax
	je	.L61
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR nopstack[rip]
	sub	eax, 1
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, opstack[rip]
	mov	rax, QWORD PTR [rcx+rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jl	.L62
	jmp	.L61
.L65:
	mov	eax, 0
	call	pop_opstack
	mov	QWORD PTR -8[rbp], rax
	mov	eax, 0
	call	pop_numstack
	movd	eax, xmm0
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	test	eax, eax
	je	.L64
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -16[rbp]
	pxor	xmm1, xmm1
	movd	xmm0, eax
	call	rdx
	movd	eax, xmm0
	movd	xmm0, eax
	call	push_numstack
	jmp	.L63
.L64:
	mov	eax, 0
	call	pop_numstack
	movd	eax, xmm0
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 16[rax]
	movss	xmm0, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -12[rbp]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	rdx
	movd	eax, xmm0
	movd	xmm0, eax
	call	push_numstack
.L63:
	mov	eax, DWORD PTR nopstack[rip]
	test	eax, eax
	je	.L61
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR nopstack[rip]
	sub	eax, 1
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, opstack[rip]
	mov	rax, QWORD PTR [rcx+rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jle	.L65
.L61:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	push_opstack
	jmp	.L48
.L66:
	nop
.L48:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	shunt_op, .-shunt_op
	.globl	isdigit_or_decimal
	.type	isdigit_or_decimal, @function
isdigit_or_decimal:
.LFB20:
	.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
	cmp	DWORD PTR -4[rbp], 46
	je	.L68
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L69
.L68:
	mov	eax, 1
	jmp	.L70
.L69:
	mov	eax, 0
.L70:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	isdigit_or_decimal, .-isdigit_or_decimal
	.section	.rodata
.LC9:
	.string	"ERROR: malloc"
.LC10:
	.string	"%d, %d"
.LC11:
	.string	"[%s]\n"
	.align 8
.LC12:
	.string	"ERROR: Illegal use of binary operator (%c)\n"
.LC13:
	.string	"ERROR: Syntax error\n"
	.align 8
.LC14:
	.string	"ERROR: Number stack has %d elements after evaluation. Should be 1.\n"
.LC15:
	.string	"%f\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB21:
	.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, 120
	.cfi_offset 3, -24
	mov	DWORD PTR -116[rbp], edi
	mov	QWORD PTR -128[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	edi, 128
	call	malloc@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L72
	lea	rdi, .LC9[rip]
	call	puts@PLT
	call	abort@PLT
.L72:
	mov	DWORD PTR -100[rbp], 0
	jmp	.L73
.L76:
	mov	eax, 0
	call	get_keypress
	mov	BYTE PTR -101[rbp], al
	cmp	BYTE PTR -101[rbp], -1
	je	.L96
	cmp	BYTE PTR -101[rbp], 10
	je	.L73
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -101[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -100[rbp], 1
.L73:
	cmp	DWORD PTR -100[rbp], 127
	jle	.L76
	jmp	.L75
.L96:
	nop
.L75:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	isdigit_or_decimal
	mov	ebx, eax
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	mov	edx, ebx
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	QWORD PTR -80[rbp], 0
	mov	BYTE PTR -48[rbp], 88
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	lea	rax, -48[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -88[rbp], rax
	jmp	.L77
.L88:
	cmp	QWORD PTR -80[rbp], 0
	jne	.L78
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	getop
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	je	.L79
	cmp	QWORD PTR -64[rbp], 0
	je	.L80
	lea	rax, -48[rbp]
	cmp	QWORD PTR -64[rbp], rax
	je	.L81
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 41
	je	.L80
.L81:
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L82
	mov	edi, 95
	call	getop
	mov	QWORD PTR -72[rbp], rax
	jmp	.L80
.L82:
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 40
	je	.L80
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L80:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	shunt_op
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -64[rbp], rax
	jmp	.L83
.L79:
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	isdigit_or_decimal
	test	eax, eax
	je	.L84
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -80[rbp], rax
	jmp	.L83
.L84:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L83
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC13[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L94
.L78:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L86
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	atof@PLT
	pxor	xmm2, xmm2
	cvtsd2ss	xmm2, xmm0
	movd	eax, xmm2
	movd	xmm0, eax
	call	push_numstack
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	jmp	.L83
.L86:
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	getop
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	je	.L87
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	atof@PLT
	pxor	xmm3, xmm3
	cvtsd2ss	xmm3, xmm0
	movd	eax, xmm3
	movd	xmm0, eax
	call	push_numstack
	mov	QWORD PTR -80[rbp], 0
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	shunt_op
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -64[rbp], rax
	jmp	.L83
.L87:
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	isdigit_or_decimal
	test	eax, eax
	jne	.L83
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC13[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L94
.L83:
	add	QWORD PTR -88[rbp], 1
.L77:
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L88
	cmp	QWORD PTR -80[rbp], 0
	je	.L90
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	atof@PLT
	pxor	xmm4, xmm4
	cvtsd2ss	xmm4, xmm0
	movd	eax, xmm4
	movd	xmm0, eax
	call	push_numstack
	jmp	.L90
.L92:
	mov	eax, 0
	call	pop_opstack
	mov	QWORD PTR -72[rbp], rax
	mov	eax, 0
	call	pop_numstack
	movd	eax, xmm0
	mov	DWORD PTR -96[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 12[rax]
	test	eax, eax
	je	.L91
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -96[rbp]
	pxor	xmm1, xmm1
	movd	xmm0, eax
	call	rdx
	movd	eax, xmm0
	movd	xmm0, eax
	call	push_numstack
	jmp	.L90
.L91:
	mov	eax, 0
	call	pop_numstack
	movd	eax, xmm0
	mov	DWORD PTR -92[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR 16[rax]
	movss	xmm0, DWORD PTR -96[rbp]
	mov	eax, DWORD PTR -92[rbp]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	rdx
	movd	eax, xmm0
	movd	xmm0, eax
	call	push_numstack
.L90:
	mov	eax, DWORD PTR nopstack[rip]
	test	eax, eax
	jne	.L92
	mov	eax, DWORD PTR nnumstack[rip]
	cmp	eax, 1
	je	.L93
	mov	edx, DWORD PTR nnumstack[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L94
.L93:
	movss	xmm0, DWORD PTR numstack[rip]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm0
	movq	rax, xmm5
	movq	xmm0, rax
	lea	rdi, .LC15[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
.L94:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L95
	call	__stack_chk_fail@PLT
.L95:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC0:
	.long	-2147483648
	.long	0
	.long	0
	.long	0
	.align 4
.LC2:
	.long	1065353216
	.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	"176791.c"
	.text
	.align	2
	.global	get_keypress
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_keypress, %function
get_keypress:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	getchar
	mov	r3, r0
	and	r3, r3, #255
	mov	r0, r3
	pop	{fp, pc}
	.size	get_keypress, .-get_keypress
	.global	__aeabi_fadd
	.align	2
	.global	eval_add
	.syntax unified
	.arm
	.fpu softvfp
	.type	eval_add, %function
eval_add:
	@ 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]	@ float
	str	r1, [fp, #-12]	@ float
	ldr	r1, [fp, #-12]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	eval_add, .-eval_add
	.global	__aeabi_fsub
	.align	2
	.global	eval_sub
	.syntax unified
	.arm
	.fpu softvfp
	.type	eval_sub, %function
eval_sub:
	@ 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]	@ float
	str	r1, [fp, #-12]	@ float
	ldr	r1, [fp, #-12]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	eval_sub, .-eval_sub
	.align	2
	.global	eval_uminus
	.syntax unified
	.arm
	.fpu softvfp
	.type	eval_uminus, %function
eval_uminus:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]	@ float
	str	r1, [fp, #-12]	@ float
	ldr	r3, [fp, #-8]
	eor	r3, r3, #-2147483648
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	eval_uminus, .-eval_uminus
	.global	__aeabi_fcmplt
	.global	__aeabi_fcmpeq
	.global	__aeabi_fmul
	.align	2
	.global	eval_exp
	.syntax unified
	.arm
	.fpu softvfp
	.type	eval_exp, %function
eval_exp:
	@ 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]	@ float
	str	r1, [fp, #-12]	@ float
	mov	r1, #0
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	mov	r3, #0
	b	.L16
.L19:
	mov	r1, #0
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	mov	r1, #1065353216
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-8]	@ float
	bl	eval_exp
	mov	r3, r0
	ldr	r1, [fp, #-8]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	b	.L16
.L20:
	mov	r3, #1065353216
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	eval_exp, .-eval_exp
	.align	2
	.global	eval_mul
	.syntax unified
	.arm
	.fpu softvfp
	.type	eval_mul, %function
eval_mul:
	@ 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]	@ float
	str	r1, [fp, #-12]	@ float
	ldr	r1, [fp, #-12]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	eval_mul, .-eval_mul
	.section	.rodata
	.align	2
.LC0:
	.ascii	"ERROR: Division by zero\012\000"
	.global	__aeabi_fdiv
	.text
	.align	2
	.global	eval_div
	.syntax unified
	.arm
	.fpu softvfp
	.type	eval_div, %function
eval_div:
	@ 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]	@ float
	str	r1, [fp, #-12]	@ float
	mov	r1, #0
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	ldr	r3, .L29
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L29+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L28:
	ldr	r1, [fp, #-12]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	stderr
	.word	.LC0
	.size	eval_div, .-eval_div
	.align	2
	.global	eval_mod
	.syntax unified
	.arm
	.fpu softvfp
	.type	eval_mod, %function
eval_mod:
	@ 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]	@ float
	str	r1, [fp, #-12]	@ float
	mov	r1, #0
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L36
	ldr	r3, .L37
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L37+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L36:
	ldr	r1, [fp, #-12]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	fmodf
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	stderr
	.word	.LC0
	.size	eval_mod, .-eval_mod
	.global	operators
	.data
	.align	2
	.type	operators, %object
	.size	operators, 180
operators:
	.byte	95
	.space	3
	.word	10
	.word	2
	.word	1
	.word	eval_uminus
	.byte	94
	.space	3
	.word	9
	.word	2
	.word	0
	.word	eval_exp
	.byte	42
	.space	3
	.word	8
	.word	1
	.word	0
	.word	eval_mul
	.byte	47
	.space	3
	.word	8
	.word	1
	.word	0
	.word	eval_div
	.byte	37
	.space	3
	.word	8
	.word	1
	.word	0
	.word	eval_mod
	.byte	43
	.space	3
	.word	5
	.word	1
	.word	0
	.word	eval_add
	.byte	45
	.space	3
	.word	5
	.word	1
	.word	0
	.word	eval_sub
	.byte	40
	.space	3
	.word	0
	.word	0
	.word	0
	.word	0
	.byte	41
	.space	3
	.word	0
	.word	0
	.word	0
	.word	0
	.text
	.align	2
	.global	getop
	.syntax unified
	.arm
	.fpu softvfp
	.type	getop, %function
getop:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	mov	r3, r0
	strb	r3, [fp, #-13]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L40
.L43:
	ldr	r1, .L44
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L41
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, .L44
	add	r3, r2, r3
	b	.L42
.L41:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L40:
	ldr	r3, [fp, #-8]
	cmp	r3, #8
	bls	.L43
	mov	r3, #0
.L42:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L45:
	.align	2
.L44:
	.word	operators
	.size	getop, .-getop
	.comm	opstack,256,4
	.global	nopstack
	.bss
	.align	2
	.type	nopstack, %object
	.size	nopstack, 4
nopstack:
	.space	4
	.comm	numstack,256,4
	.global	nnumstack
	.align	2
	.type	nnumstack, %object
	.size	nnumstack, 4
nnumstack:
	.space	4
	.section	.rodata
	.align	2
.LC1:
	.ascii	"ERROR: Operator stack overflow\012\000"
	.text
	.align	2
	.global	push_opstack
	.syntax unified
	.arm
	.fpu softvfp
	.type	push_opstack, %function
push_opstack:
	@ 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, .L48
	ldr	r3, [r3]
	cmp	r3, #63
	ble	.L47
	ldr	r3, .L48+4
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L48+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L47:
	ldr	r3, .L48
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L48
	str	r2, [r1]
	ldr	r1, .L48+12
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	nopstack
	.word	stderr
	.word	.LC1
	.word	opstack
	.size	push_opstack, .-push_opstack
	.section	.rodata
	.align	2
.LC2:
	.ascii	"ERROR: Operator stack empty\012\000"
	.text
	.align	2
	.global	pop_opstack
	.syntax unified
	.arm
	.fpu softvfp
	.type	pop_opstack, %function
pop_opstack:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L53
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L51
	ldr	r3, .L53+4
	ldr	r3, [r3]
	mov	r2, #28
	mov	r1, #1
	ldr	r0, .L53+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L51:
	ldr	r3, .L53
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L53
	str	r3, [r2]
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r2, .L53+12
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	pop	{fp, pc}
.L54:
	.align	2
.L53:
	.word	nopstack
	.word	stderr
	.word	.LC2
	.word	opstack
	.size	pop_opstack, .-pop_opstack
	.section	.rodata
	.align	2
.LC3:
	.ascii	"ERROR: Number stack overflow\012\000"
	.text
	.align	2
	.global	push_numstack
	.syntax unified
	.arm
	.fpu softvfp
	.type	push_numstack, %function
push_numstack:
	@ 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]	@ float
	ldr	r3, .L57
	ldr	r3, [r3]
	cmp	r3, #63
	ble	.L56
	ldr	r3, .L57+4
	ldr	r3, [r3]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L57+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L56:
	ldr	r3, .L57
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L57
	str	r2, [r1]
	ldr	r1, .L57+12
	ldr	r2, [fp, #-8]	@ float
	str	r2, [r1, r3, lsl #2]	@ float
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L58:
	.align	2
.L57:
	.word	nnumstack
	.word	stderr
	.word	.LC3
	.word	numstack
	.size	push_numstack, .-push_numstack
	.section	.rodata
	.align	2
.LC4:
	.ascii	"ERROR: Number stack empty\012\000"
	.text
	.align	2
	.global	pop_numstack
	.syntax unified
	.arm
	.fpu softvfp
	.type	pop_numstack, %function
pop_numstack:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L62
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L60
	ldr	r3, .L62+4
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L62+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L60:
	ldr	r3, .L62
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L62
	str	r3, [r2]
	ldr	r3, .L62
	ldr	r3, [r3]
	ldr	r2, .L62+12
	ldr	r3, [r2, r3, lsl #2]	@ float
	mov	r0, r3
	pop	{fp, pc}
.L63:
	.align	2
.L62:
	.word	nnumstack
	.word	stderr
	.word	.LC4
	.word	numstack
	.size	pop_numstack, .-pop_numstack
	.section	.rodata
	.align	2
.LC5:
	.ascii	"ERROR: Stack error. No matching '('\012\000"
	.text
	.align	2
	.global	shunt_op
	.syntax unified
	.arm
	.fpu softvfp
	.type	shunt_op, %function
shunt_op:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #40
	bne	.L65
	ldr	r0, [fp, #-24]
	bl	push_opstack
	b	.L64
.L65:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #41
	bne	.L67
	b	.L68
.L71:
	bl	pop_opstack
	str	r0, [fp, #-16]
	bl	pop_numstack
	str	r0, [fp, #-12]	@ float
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L69
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	mov	r1, #0
	ldr	r0, [fp, #-12]	@ float
	blx	r3
	mov	r3, r0
	mov	r0, r3
	bl	push_numstack
	b	.L68
.L69:
	bl	pop_numstack
	str	r0, [fp, #-8]	@ float
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	ldr	r1, [fp, #-12]	@ float
	ldr	r0, [fp, #-8]	@ float
	blx	r3
	mov	r3, r0
	mov	r0, r3
	bl	push_numstack
.L68:
	ldr	r3, .L83
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L70
	ldr	r3, .L83
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L83+4
	ldr	r3, [r2, r3, lsl #2]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #40
	bne	.L71
.L70:
	bl	pop_opstack
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L72
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #40
	beq	.L82
.L72:
	ldr	r3, .L83+8
	ldr	r3, [r3]
	mov	r2, #36
	mov	r1, #1
	ldr	r0, .L83+12
	bl	fwrite
	mov	r0, #1
	bl	exit
.L67:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	cmp	r3, #2
	bne	.L79
	b	.L75
.L78:
	bl	pop_opstack
	str	r0, [fp, #-16]
	bl	pop_numstack
	str	r0, [fp, #-12]	@ float
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L76
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	mov	r1, #0
	ldr	r0, [fp, #-12]	@ float
	blx	r3
	mov	r3, r0
	mov	r0, r3
	bl	push_numstack
	b	.L75
.L76:
	bl	pop_numstack
	str	r0, [fp, #-8]	@ float
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	ldr	r1, [fp, #-12]	@ float
	ldr	r0, [fp, #-8]	@ float
	blx	r3
	mov	r3, r0
	mov	r0, r3
	bl	push_numstack
.L75:
	ldr	r3, .L83
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L77
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #4]
	ldr	r3, .L83
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r1, .L83+4
	ldr	r3, [r1, r3, lsl #2]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	blt	.L78
	b	.L77
.L81:
	bl	pop_opstack
	str	r0, [fp, #-16]
	bl	pop_numstack
	str	r0, [fp, #-12]	@ float
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L80
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	mov	r1, #0
	ldr	r0, [fp, #-12]	@ float
	blx	r3
	mov	r3, r0
	mov	r0, r3
	bl	push_numstack
	b	.L79
.L80:
	bl	pop_numstack
	str	r0, [fp, #-8]	@ float
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	ldr	r1, [fp, #-12]	@ float
	ldr	r0, [fp, #-8]	@ float
	blx	r3
	mov	r3, r0
	mov	r0, r3
	bl	push_numstack
.L79:
	ldr	r3, .L83
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L77
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #4]
	ldr	r3, .L83
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r1, .L83+4
	ldr	r3, [r1, r3, lsl #2]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	ble	.L81
.L77:
	ldr	r0, [fp, #-24]
	bl	push_opstack
	b	.L64
.L82:
	nop
.L64:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L84:
	.align	2
.L83:
	.word	nopstack
	.word	opstack
	.word	stderr
	.word	.LC5
	.size	shunt_op, .-shunt_op
	.align	2
	.global	isdigit_or_decimal
	.syntax unified
	.arm
	.fpu softvfp
	.type	isdigit_or_decimal, %function
isdigit_or_decimal:
	@ 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, [fp, #-8]
	cmp	r3, #46
	beq	.L86
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L87
.L86:
	mov	r3, #1
	b	.L88
.L87:
	mov	r3, #0
.L88:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	isdigit_or_decimal, .-isdigit_or_decimal
	.section	.rodata
	.align	2
.LC6:
	.ascii	"ERROR: malloc\000"
	.align	2
.LC7:
	.ascii	"%d, %d\000"
	.align	2
.LC8:
	.ascii	"[%s]\012\000"
	.align	2
.LC9:
	.ascii	"ERROR: Illegal use of binary operator (%c)\012\000"
	.align	2
.LC10:
	.ascii	"ERROR: Syntax error\012\000"
	.global	__aeabi_d2f
	.align	2
.LC11:
	.ascii	"ERROR: Number stack has %d elements after evaluatio"
	.ascii	"n. Should be 1.\012\000"
	.global	__aeabi_f2d
	.align	2
.LC12:
	.ascii	"%f\012\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	ldr	r3, .L112
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r0, #128
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L90
	ldr	r0, .L112+4
	bl	puts
	bl	abort
.L90:
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L91
.L92:
	bl	get_keypress
	mov	r3, r0
	strb	r3, [fp, #-69]
	ldrb	r3, [fp, #-69]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L91
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldrb	r2, [fp, #-69]
	strb	r2, [r3]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L91:
	ldr	r3, [fp, #-68]
	cmp	r3, #127
	ble	.L92
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r4, r3, #2048
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	isdigit_or_decimal
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L112+8
	bl	printf
	ldr	r1, [fp, #-48]
	ldr	r0, .L112+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #88
	strb	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-56]
	sub	r3, fp, #36
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-64]
	b	.L93
.L104:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bne	.L94
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	getop
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L95
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L96
	sub	r3, fp, #36
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	beq	.L97
	ldr	r3, [fp, #-52]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #41
	beq	.L96
.L97:
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L98
	mov	r0, #95
	bl	getop
	str	r0, [fp, #-56]
	b	.L96
.L98:
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #40
	beq	.L96
	ldr	r3, .L112+16
	ldr	r0, [r3]
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, .L112+20
	bl	fprintf
	mov	r0, #1
	bl	exit
.L96:
	ldr	r0, [fp, #-56]
	bl	shunt_op
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-52]
	b	.L99
.L95:
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	isdigit_or_decimal
	mov	r3, r0
	cmp	r3, #0
	beq	.L100
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-60]
	b	.L99
.L100:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L99
	ldr	r3, .L112+16
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L112+24
	bl	fwrite
	mov	r3, #1
	b	.L110
.L94:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L102
	ldr	r0, [fp, #-60]
	bl	atof
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r0, r3
	bl	push_numstack
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L99
.L102:
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	getop
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L103
	ldr	r0, [fp, #-60]
	bl	atof
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r0, r3
	bl	push_numstack
	mov	r3, #0
	str	r3, [fp, #-60]
	ldr	r0, [fp, #-56]
	bl	shunt_op
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-52]
	b	.L99
.L103:
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	isdigit_or_decimal
	mov	r3, r0
	cmp	r3, #0
	bne	.L99
	ldr	r3, .L112+16
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L112+24
	bl	fwrite
	mov	r3, #1
	b	.L110
.L99:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L93:
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L104
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L106
	ldr	r0, [fp, #-60]
	bl	atof
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r0, r3
	bl	push_numstack
	b	.L106
.L108:
	bl	pop_opstack
	str	r0, [fp, #-56]
	bl	pop_numstack
	str	r0, [fp, #-44]	@ float
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L107
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	mov	r1, #0
	ldr	r0, [fp, #-44]	@ float
	blx	r3
	mov	r3, r0
	mov	r0, r3
	bl	push_numstack
	b	.L106
.L107:
	bl	pop_numstack
	str	r0, [fp, #-40]	@ float
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	ldr	r1, [fp, #-44]	@ float
	ldr	r0, [fp, #-40]	@ float
	blx	r3
	mov	r3, r0
	mov	r0, r3
	bl	push_numstack
.L106:
	ldr	r3, .L112+28
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L108
	ldr	r3, .L112+32
	ldr	r3, [r3]
	cmp	r3, #1
	beq	.L109
	ldr	r3, .L112+16
	ldr	r3, [r3]
	ldr	r2, .L112+32
	ldr	r2, [r2]
	ldr	r1, .L112+36
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L110
.L109:
	ldr	r3, .L112+40
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L112+44
	bl	printf
	mov	r3, #0
.L110:
	ldr	r2, .L112
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L111
	bl	__stack_chk_fail
.L111:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L113:
	.align	2
.L112:
	.word	.LC13
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	stderr
	.word	.LC9
	.word	.LC10
	.word	nopstack
	.word	nnumstack
	.word	.LC11
	.word	numstack
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
