	.file	"311691.c"
	.intel_syntax noprefix
	.text
	.globl	val
	.bss
	.align 32
	.type	val, @object
	.size	val, 800
val:
	.zero	800
	.globl	valp
	.align 4
	.type	valp, @object
	.size	valp, 4
valp:
	.zero	4
	.section	.rodata
.LC0:
	.string	"Stack full."
	.text
	.globl	push
	.type	push, @function
push:
.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, 16
	movsd	QWORD PTR -8[rbp], xmm0
	mov	eax, DWORD PTR valp[rip]
	cmp	eax, 99
	jle	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L4
.L2:
	mov	eax, DWORD PTR valp[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR valp[rip], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, val[rip]
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rdx+rax], xmm0
.L4:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	push, .-push
	.section	.rodata
.LC1:
	.string	"Stack Empty"
	.text
	.globl	pop
	.type	pop, @function
pop:
.LFB7:
	.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 valp[rip]
	test	eax, eax
	jne	.L6
	lea	rdi, .LC1[rip]
	call	puts@PLT
	pxor	xmm0, xmm0
	jmp	.L7
.L6:
	mov	eax, DWORD PTR valp[rip]
	sub	eax, 1
	mov	DWORD PTR valp[rip], eax
	mov	eax, DWORD PTR valp[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, val[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
.L7:
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	pop, .-pop
	.globl	buf
	.bss
	.align 32
	.type	buf, @object
	.size	buf, 32768
buf:
	.zero	32768
	.globl	bufp
	.align 4
	.type	bufp, @object
	.size	bufp, 4
bufp:
	.zero	4
	.text
	.globl	getch
	.type	getch, @function
getch:
.LFB8:
	.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	.L9
	mov	eax, DWORD PTR bufp[rip]
	sub	eax, 1
	mov	DWORD PTR bufp[rip], eax
	mov	eax, DWORD PTR bufp[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, buf[rip]
	mov	eax, DWORD PTR [rdx+rax]
	jmp	.L11
.L9:
	call	getchar@PLT
.L11:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	getch, .-getch
	.section	.rodata
.LC3:
	.string	"Ungetch:Too many chars."
	.text
	.globl	ungetch
	.type	ungetch, @function
ungetch:
.LFB9:
	.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, 8191
	jle	.L13
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L15
.L13:
	mov	eax, DWORD PTR bufp[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR bufp[rip], edx
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, buf[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
.L15:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	ungetch, .-ungetch
	.globl	ungets
	.type	ungets, @function
ungets:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	jmp	.L17
.L18:
	sub	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	ungetch
.L17:
	cmp	DWORD PTR -4[rbp], 0
	jg	.L18
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	ungets, .-ungets
	.globl	getop
	.type	getop, @function
getop:
.LFB11:
	.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
.L20:
	mov	eax, 0
	call	getch
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 32
	je	.L20
	cmp	DWORD PTR -28[rbp], 9
	je	.L20
	mov	DWORD PTR -24[rbp], 0
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -20[rbp]
	mov	BYTE PTR [rax], dl
	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, 512
	test	eax, eax
	je	.L21
	nop
.L22:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	mov	eax, 0
	call	getch
	mov	edx, eax
	add	DWORD PTR -24[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 512
	test	eax, eax
	jne	.L22
	cmp	DWORD PTR -24[rbp], 3
	jne	.L23
	mov	DWORD PTR -20[rbp], 1
	jmp	.L23
.L21:
	cmp	DWORD PTR -28[rbp], 45
	jne	.L24
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	mov	eax, 0
	call	getch
	mov	edx, eax
	add	DWORD PTR -24[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L24
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -28[rbp], eax
	jmp	.L23
.L24:
	cmp	DWORD PTR -28[rbp], 45
	je	.L23
	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	.L23
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L25
.L23:
	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
	je	.L26
	nop
.L27:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	mov	eax, 0
	call	getch
	mov	edx, eax
	add	DWORD PTR -24[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L27
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	jne	.L28
	nop
.L29:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	mov	eax, 0
	call	getch
	mov	edx, eax
	add	DWORD PTR -24[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L29
.L28:
	mov	DWORD PTR -20[rbp], 0
.L26:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	ungetch
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -20[rbp]
.L25:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	getop, .-getop
	.globl	atof2
	.type	atof2, @function
atof2:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -28[rbp], 0
	jmp	.L31
.L32:
	add	DWORD PTR -28[rbp], 1
.L31:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	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	.L32
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L33
	mov	eax, -1
	jmp	.L34
.L33:
	mov	eax, 1
.L34:
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L35
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 43
	jne	.L36
.L35:
	add	DWORD PTR -28[rbp], 1
.L36:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -16[rbp], xmm0
	jmp	.L37
.L38:
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC5[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	add	DWORD PTR -28[rbp], 1
.L37:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	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
	test	eax, eax
	jne	.L38
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	jne	.L39
	add	DWORD PTR -28[rbp], 1
.L39:
	movsd	xmm0, QWORD PTR .LC6[rip]
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L40
.L41:
	movsd	xmm1, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC5[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	add	DWORD PTR -28[rbp], 1
.L40:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	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
	test	eax, eax
	jne	.L41
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -20[rbp]
	mulsd	xmm0, QWORD PTR -16[rbp]
	divsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 101
	je	.L42
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 69
	jne	.L43
.L42:
	add	DWORD PTR -28[rbp], 1
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L44
	mov	eax, -1
	jmp	.L45
.L44:
	mov	eax, 1
.L45:
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L46
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 43
	jne	.L43
.L46:
	add	DWORD PTR -28[rbp], 1
.L43:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L47
.L48:
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	ecx, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	add	eax, ecx
	sub	eax, 48
	mov	DWORD PTR -24[rbp], eax
	add	DWORD PTR -28[rbp], 1
.L47:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	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
	test	eax, eax
	jne	.L48
	cmp	DWORD PTR -20[rbp], -1
	jne	.L53
	jmp	.L50
.L51:
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR .LC4[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
.L50:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -24[rbp], edx
	test	eax, eax
	jg	.L51
	jmp	.L52
.L54:
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
.L53:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -24[rbp], edx
	test	eax, eax
	jg	.L54
.L52:
	movsd	xmm0, QWORD PTR -16[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	atof2, .-atof2
	.section	.rodata
.LC7:
	.string	"sin"
.LC8:
	.string	"cos"
.LC9:
	.string	"tan"
.LC10:
	.string	"exp"
.LC11:
	.string	"pow"
.LC12:
	.string	"Error : %s is not supported.\n"
	.text
	.globl	mathfunc
	.type	mathfunc, @function
mathfunc:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L57
	mov	eax, 0
	call	pop
	movq	rax, xmm0
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	call	push
	jmp	.L63
.L57:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L59
	mov	eax, 0
	call	pop
	movq	rax, xmm0
	movq	xmm0, rax
	call	cos@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	call	push
	jmp	.L63
.L59:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L60
	mov	eax, 0
	call	pop
	movq	rax, xmm0
	movq	xmm0, rax
	call	tan@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	call	push
	jmp	.L63
.L60:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L61
	mov	eax, 0
	call	pop
	movq	rax, xmm0
	movq	xmm0, rax
	call	exp@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	call	push
	jmp	.L63
.L61:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L62
	mov	eax, 0
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	mov	eax, 0
	call	pop
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	call	push
	jmp	.L63
.L62:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L63:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	mathfunc, .-mathfunc
	.section	.rodata
.LC13:
	.string	"No such variable."
.LC14:
	.string	"\t%.8g\n"
.LC15:
	.string	"Error: Unknown Cmd."
	.text
	.globl	calculator
	.type	calculator, @function
calculator:
.LFB14:
	.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 280
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -8461[rbp], 0
	lea	rdx, -8432[rbp]
	mov	eax, 0
	mov	ecx, 26
	mov	rdi, rdx
	rep stosq
	jmp	.L65
.L88:
	cmp	DWORD PTR -8460[rbp], 115
	jg	.L66
	cmp	DWORD PTR -8460[rbp], 37
	jge	.L67
	cmp	DWORD PTR -8460[rbp], 10
	je	.L68
	cmp	DWORD PTR -8460[rbp], 10
	jg	.L66
	cmp	DWORD PTR -8460[rbp], 0
	je	.L69
	cmp	DWORD PTR -8460[rbp], 1
	je	.L70
	jmp	.L66
.L67:
	mov	eax, DWORD PTR -8460[rbp]
	sub	eax, 37
	cmp	eax, 78
	ja	.L66
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L72[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L72[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L72:
	.long	.L81-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L80-.L72
	.long	.L79-.L72
	.long	.L66-.L72
	.long	.L78-.L72
	.long	.L66-.L72
	.long	.L77-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L76-.L72
	.long	.L66-.L72
	.long	.L75-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L74-.L72
	.long	.L73-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L66-.L72
	.long	.L71-.L72
	.text
.L69:
	lea	rax, -8224[rbp]
	mov	rdi, rax
	call	atof2
	movq	rax, xmm0
	movq	xmm0, rax
	call	push
	jmp	.L65
.L79:
	mov	eax, 0
	call	pop
	movsd	QWORD PTR -8472[rbp], xmm0
	mov	eax, 0
	call	pop
	movapd	xmm2, xmm0
	addsd	xmm2, QWORD PTR -8472[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	call	push
	jmp	.L65
.L78:
	mov	eax, 0
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -8448[rbp], rax
	mov	eax, 0
	call	pop
	movq	rax, xmm0
	movq	xmm3, rax
	subsd	xmm3, QWORD PTR -8448[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	call	push
	jmp	.L65
.L80:
	mov	eax, 0
	call	pop
	movsd	QWORD PTR -8472[rbp], xmm0
	mov	eax, 0
	call	pop
	movapd	xmm4, xmm0
	mulsd	xmm4, QWORD PTR -8472[rbp]
	movq	rax, xmm4
	movq	xmm0, rax
	call	push
	jmp	.L65
.L77:
	mov	eax, 0
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -8448[rbp], rax
	mov	eax, 0
	call	pop
	movq	rax, xmm0
	movq	xmm5, rax
	divsd	xmm5, QWORD PTR -8448[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	call	push
	jmp	.L65
.L81:
	mov	eax, 0
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -8448[rbp], rax
	mov	eax, 0
	call	pop
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR -8448[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	fmod@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	call	push
	jmp	.L65
.L70:
	lea	rax, -8224[rbp]
	mov	rdi, rax
	call	mathfunc
	jmp	.L65
.L76:
	mov	eax, 0
	call	pop
	cmp	BYTE PTR -8461[rbp], 64
	jle	.L82
	cmp	BYTE PTR -8461[rbp], 90
	jle	.L83
.L82:
	lea	rdi, .LC13[rip]
	call	puts@PLT
	jmp	.L84
.L83:
	movsx	eax, BYTE PTR -8461[rbp]
	lea	ebx, -65[rax]
	mov	eax, 0
	call	pop
	movq	rax, xmm0
	movsx	rdx, ebx
	mov	QWORD PTR -8432[rbp+rdx*8], rax
	mov	BYTE PTR -8461[rbp], 0
.L84:
	jmp	.L65
.L75:
	mov	eax, 0
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -8448[rbp], rax
	mov	rax, QWORD PTR -8448[rbp]
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -8448[rbp]
	movq	xmm0, rax
	call	push
	jmp	.L65
.L74:
	mov	DWORD PTR valp[rip], 0
	jmp	.L65
.L73:
	mov	eax, 0
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -8448[rbp], rax
	mov	rax, QWORD PTR -8448[rbp]
	movq	xmm0, rax
	call	push
	mov	rax, QWORD PTR -8448[rbp]
	movq	xmm0, rax
	call	push
	jmp	.L65
.L71:
	mov	eax, 0
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -8448[rbp], rax
	mov	eax, 0
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -8440[rbp], rax
	mov	rax, QWORD PTR -8440[rbp]
	movq	xmm0, rax
	call	push
	mov	rax, QWORD PTR -8448[rbp]
	movq	xmm0, rax
	call	push
	jmp	.L65
.L68:
	mov	eax, 0
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -8456[rbp], rax
	mov	rax, QWORD PTR -8456[rbp]
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L65
.L66:
	cmp	DWORD PTR -8460[rbp], 64
	jle	.L85
	cmp	DWORD PTR -8460[rbp], 90
	jg	.L85
	mov	eax, DWORD PTR -8460[rbp]
	sub	eax, 65
	cdqe
	mov	rax, QWORD PTR -8432[rbp+rax*8]
	movq	xmm0, rax
	call	push
	mov	eax, DWORD PTR -8460[rbp]
	mov	BYTE PTR -8461[rbp], al
	jmp	.L86
.L85:
	cmp	DWORD PTR -8460[rbp], 118
	jne	.L87
	mov	rax, QWORD PTR -8456[rbp]
	movq	xmm0, rax
	call	push
	jmp	.L90
.L87:
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
.L86:
.L90:
	nop
.L65:
	lea	rax, -8224[rbp]
	mov	rdi, rax
	call	getop
	mov	DWORD PTR -8460[rbp], eax
	cmp	DWORD PTR -8460[rbp], -1
	jne	.L88
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L89
	call	__stack_chk_fail@PLT
.L89:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	calculator, .-calculator
	.globl	main
	.type	main, @function
main:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stdout[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	mov	eax, 0
	call	calculator
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC4:
	.long	0
	.long	1076101120
	.align 8
.LC5:
	.long	0
	.long	1078460416
	.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	"311691.c"
	.text
	.comm	val,800,8
	.global	valp
	.bss
	.align	2
	.type	valp, %object
	.size	valp, 4
valp:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Stack full.\000"
	.text
	.align	2
	.global	push
	.syntax unified
	.arm
	.fpu softvfp
	.type	push, %function
push:
	@ 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, #-12]
	str	r1, [fp, #-8]
	ldr	r3, .L5
	ldr	r3, [r3]
	cmp	r3, #99
	ble	.L2
	ldr	r0, .L5+4
	bl	puts
	b	.L4
.L2:
	ldr	r3, .L5
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L5
	str	r2, [r1]
	ldr	r2, .L5+8
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
.L4:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	valp
	.word	.LC0
	.word	val
	.size	push, .-push
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Stack Empty\000"
	.text
	.align	2
	.global	pop
	.syntax unified
	.arm
	.fpu softvfp
	.type	pop, %function
pop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L10
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L10+4
	bl	puts
	mov	r2, #0
	mov	r3, #0
	b	.L9
.L8:
	ldr	r3, .L10
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L10
	str	r3, [r2]
	ldr	r3, .L10
	ldr	r3, [r3]
	ldr	r2, .L10+8
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
.L9:
	mov	r0, r2
	mov	r1, r3
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	valp
	.word	.LC1
	.word	val
	.size	pop, .-pop
	.comm	buf,32768,4
	.global	bufp
	.bss
	.align	2
	.type	bufp, %object
	.size	bufp, 4
bufp:
	.space	4
	.text
	.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, .L16
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L13
	ldr	r3, .L16
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L16
	str	r3, [r2]
	ldr	r3, .L16
	ldr	r3, [r3]
	ldr	r2, .L16+4
	ldr	r3, [r2, r3, lsl #2]
	b	.L15
.L13:
	bl	getchar
	mov	r3, r0
.L15:
	mov	r0, r3
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	bufp
	.word	buf
	.size	getch, .-getch
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Ungetch:Too many chars.\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, .L22
	ldr	r3, [r3]
	cmp	r3, #8192
	blt	.L19
	ldr	r0, .L22+4
	bl	puts
	b	.L21
.L19:
	ldr	r3, .L22
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L22
	str	r2, [r1]
	ldr	r1, .L22+8
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
.L21:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	bufp
	.word	.LC2
	.word	buf
	.size	ungetch, .-ungetch
	.align	2
	.global	ungets
	.syntax unified
	.arm
	.fpu softvfp
	.type	ungets, %function
ungets:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	b	.L25
.L26:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	ungetch
.L25:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L26
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ungets, .-ungets
	.align	2
	.global	getop
	.syntax unified
	.arm
	.fpu softvfp
	.type	getop, %function
getop:
	@ 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
.L28:
	bl	getch
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #32
	beq	.L28
	ldr	r3, [fp, #-24]
	cmp	r3, #9
	beq	.L28
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	and	r2, r2, #255
	strb	r2, [r3]
	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, #512
	cmp	r3, #0
	beq	.L29
	nop
.L30:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getch
	mov	r1, r0
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	and	r2, r1, #255
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #512
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	bne	.L31
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L31
.L29:
	ldr	r3, [fp, #-24]
	cmp	r3, #45
	bne	.L32
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getch
	mov	r1, r0
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	and	r2, r1, #255
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L32
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-24]
	b	.L31
.L32:
	ldr	r3, [fp, #-24]
	cmp	r3, #45
	beq	.L31
	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	.L31
	ldr	r3, [fp, #-16]
	b	.L33
.L31:
	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
	beq	.L34
	nop
.L35:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getch
	mov	r1, r0
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	and	r2, r1, #255
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L35
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L36
	nop
.L37:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getch
	mov	r1, r0
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	and	r2, r1, #255
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L37
.L36:
	mov	r3, #0
	str	r3, [fp, #-16]
.L34:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	ungetch
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
.L33:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	getop, .-getop
	.global	__aeabi_dmul
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.global	__aeabi_dsub
	.global	__aeabi_ddiv
	.align	2
	.global	atof2
	.syntax unified
	.arm
	.fpu softvfp
	.type	atof2, %function
atof2:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	str	r0, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L39
.L40:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L39:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r1, [fp, #-48]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L40
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L41
	mvn	r3, #0
	b	.L42
.L41:
	mov	r3, #1
.L42:
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L43
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #43
	bne	.L44
.L43:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L44:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L45
.L46:
	mov	r2, #0
	ldr	r3, .L64
	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, #-40]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	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
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L64+4
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L45:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r1, [fp, #-48]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L46
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L47
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L47:
	mov	r2, #0
	ldr	r3, .L64+8
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	b	.L48
.L49:
	mov	r2, #0
	ldr	r3, .L64
	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]
	mov	r2, #0
	ldr	r3, .L64
	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, #-40]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	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
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L64+4
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L48:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r1, [fp, #-48]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L49
	ldr	r0, [fp, #-32]
	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
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #101
	beq	.L50
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #69
	bne	.L51
.L50:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L52
	mvn	r3, #0
	b	.L53
.L52:
	mov	r3, #1
.L53:
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L54
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #43
	bne	.L51
.L54:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L51:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L55
.L56:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r1, r3
	sub	r3, r3, #48
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L55:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r1, [fp, #-48]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L56
	ldr	r3, [fp, #-32]
	cmn	r3, #1
	bne	.L61
	b	.L58
.L59:
	mov	r2, #0
	ldr	r3, .L64
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
.L58:
	ldr	r3, [fp, #-36]
	sub	r2, r3, #1
	str	r2, [fp, #-36]
	cmp	r3, #0
	bgt	.L59
	b	.L60
.L62:
	mov	r2, #0
	ldr	r3, .L64
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
.L61:
	ldr	r3, [fp, #-36]
	sub	r2, r3, #1
	str	r2, [fp, #-36]
	cmp	r3, #0
	bgt	.L62
.L60:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L65:
	.align	2
.L64:
	.word	1076101120
	.word	1078460416
	.word	1072693248
	.size	atof2, .-atof2
	.section	.rodata
	.align	2
.LC3:
	.ascii	"sin\000"
	.align	2
.LC4:
	.ascii	"cos\000"
	.align	2
.LC5:
	.ascii	"tan\000"
	.align	2
.LC6:
	.ascii	"exp\000"
	.align	2
.LC7:
	.ascii	"pow\000"
	.align	2
.LC8:
	.ascii	"Error : %s is not supported.\012\000"
	.text
	.align	2
	.global	mathfunc
	.syntax unified
	.arm
	.fpu softvfp
	.type	mathfunc, %function
mathfunc:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r1, .L74
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L67
	bl	pop
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sin
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L73
.L67:
	ldr	r1, .L74+4
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L69
	bl	pop
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L73
.L69:
	ldr	r1, .L74+8
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L70
	bl	pop
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	tan
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L73
.L70:
	ldr	r1, .L74+12
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L71
	bl	pop
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	exp
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L73
.L71:
	ldr	r1, .L74+16
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L72
	bl	pop
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	bl	pop
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L73
.L72:
	ldr	r1, [fp, #-16]
	ldr	r0, .L74+20
	bl	printf
.L73:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L75:
	.align	2
.L74:
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	mathfunc, .-mathfunc
	.section	.rodata
	.align	2
.LC9:
	.ascii	"No such variable.\000"
	.align	2
.LC10:
	.ascii	"\011%.8g\012\000"
	.align	2
.LC11:
	.ascii	"Error: Unknown Cmd.\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	calculator
	.syntax unified
	.arm
	.fpu softvfp
	.type	calculator, %function
calculator:
	@ args = 0, pretend = 0, frame = 8440
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8384
	sub	sp, sp, #56
	ldr	r3, .L103
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-245]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #216
	mov	r2, #208
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L77
.L100:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-244]
	cmp	r3, #115
	bgt	.L78
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-244]
	cmp	r3, #37
	bge	.L79
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-244]
	cmp	r3, #10
	beq	.L80
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-244]
	cmp	r3, #10
	bgt	.L78
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-244]
	cmp	r3, #0
	beq	.L81
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-244]
	cmp	r3, #1
	beq	.L82
	b	.L78
.L79:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-244]
	sub	r3, r3, #37
	cmp	r3, #78
	ldrls	pc, [pc, r3, asl #2]
	b	.L78
.L84:
	.word	.L93
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L92
	.word	.L91
	.word	.L78
	.word	.L90
	.word	.L78
	.word	.L89
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L88
	.word	.L78
	.word	.L87
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L86
	.word	.L85
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L78
	.word	.L83
.L81:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	atof2
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L77
.L91:
	bl	pop
	mov	r4, r0
	mov	r5, r1
	bl	pop
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L77
.L90:
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #32
	mov	r4, r3
	bl	pop
	stmdb	r4, {r0-r1}
	bl	pop
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #32
	ldmdb	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L77
.L92:
	bl	pop
	mov	r4, r0
	mov	r5, r1
	bl	pop
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L77
.L89:
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #32
	mov	r4, r3
	bl	pop
	stmdb	r4, {r0-r1}
	bl	pop
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #32
	ldmdb	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L77
.L93:
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #32
	mov	r4, r3
	bl	pop
	stmdb	r4, {r0-r1}
	bl	pop
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #32
	ldmdb	r3, {r2-r3}
	bl	fmod
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L77
.L82:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	mathfunc
	b	.L77
.L88:
	bl	pop
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-245]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L94
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-245]	@ zero_extendqisi2
	cmp	r3, #90
	bls	.L95
.L94:
	ldr	r0, .L103+4
	bl	puts
	b	.L96
.L95:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-245]	@ zero_extendqisi2
	sub	r4, r3, #65
	bl	pop
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	lsl	r1, r4, #3
	add	r1, r0, r1
	sub	r1, r1, #216
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-245]
.L96:
	b	.L77
.L87:
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #32
	mov	r4, r3
	bl	pop
	stmdb	r4, {r0-r1}
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #32
	ldmdb	r3, {r2-r3}
	ldr	r0, .L103+8
	bl	printf
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #32
	ldmdb	r3, {r0-r1}
	bl	push
	b	.L77
.L86:
	ldr	r3, .L103+12
	mov	r2, #0
	str	r2, [r3]
	b	.L77
.L85:
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #32
	mov	r4, r3
	bl	pop
	stmdb	r4, {r0-r1}
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #32
	ldmdb	r3, {r0-r1}
	bl	push
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #32
	ldmdb	r3, {r0-r1}
	bl	push
	b	.L77
.L83:
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #32
	mov	r4, r3
	bl	pop
	stmdb	r4, {r0-r1}
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #32
	mov	r4, r3
	bl	pop
	stm	r4, {r0-r1}
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #32
	ldmia	r3, {r0-r1}
	bl	push
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #32
	ldmdb	r3, {r0-r1}
	bl	push
	b	.L77
.L80:
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #48
	mov	r4, r3
	bl	pop
	stm	r4, {r0-r1}
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #48
	ldmia	r3, {r2-r3}
	ldr	r0, .L103+8
	bl	printf
	b	.L77
.L78:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-244]
	cmp	r3, #64
	ble	.L97
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-244]
	cmp	r3, #90
	bgt	.L97
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-244]
	sub	r3, r3, #65
	sub	r2, fp, #8192
	sub	r2, r2, #12
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #216
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	push
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-244]
	strb	r2, [r3, #-245]
	b	.L98
.L97:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-244]
	cmp	r3, #118
	bne	.L99
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #48
	ldmia	r3, {r0-r1}
	bl	push
	b	.L102
.L99:
	ldr	r0, .L103+16
	bl	printf
.L98:
.L102:
	nop
.L77:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	getop
	str	r0, [r4, #-244]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-244]
	cmn	r3, #1
	bne	.L100
	nop
	ldr	r3, .L103
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L101
	bl	__stack_chk_fail
.L101:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L104:
	.align	2
.L103:
	.word	.LC12
	.word	.LC9
	.word	.LC10
	.word	valp
	.word	.LC11
	.size	calculator, .-calculator
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L107
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	ldr	r3, .L107+4
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	bl	calculator
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L108:
	.align	2
.L107:
	.word	stdout
	.word	stderr
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
