	.file	"35061.c"
	.intel_syntax noprefix
	.text
	.globl	last
	.bss
	.align 8
	.type	last, @object
	.size	last, 8
last:
	.zero	8
	.globl	vars
	.align 32
	.type	vars, @object
	.size	vars, 80
vars:
	.zero	80
	.globl	var
	.align 4
	.type	var, @object
	.size	var, 4
var:
	.zero	4
	.globl	where
	.data
	.align 4
	.type	where, @object
	.size	where, 4
where:
	.long	-1
	.section	.rodata
.LC1:
	.string	"error: zero divisor"
.LC2:
	.string	"\t%.8g\n"
.LC3:
	.string	"error: unknown command %s\n"
.LC4:
	.string	"use 'h' to get help"
	.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, 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -136[rbp], 0
	jmp	.L2
.L28:
	mov	eax, DWORD PTR -132[rbp]
	sub	eax, 10
	cmp	eax, 108
	ja	.L3
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L5[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L5[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L19-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L18-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L17-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L16-.L5
	.long	.L15-.L5
	.long	.L3-.L5
	.long	.L14-.L5
	.long	.L3-.L5
	.long	.L13-.L5
	.long	.L12-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L2-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L10-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L9-.L5
	.long	.L3-.L5
	.long	.L8-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L7-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L6-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L4-.L5
	.text
.L12:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	call	push
	jmp	.L2
.L15:
	call	pop
	movsd	QWORD PTR -152[rbp], xmm0
	call	pop
	movapd	xmm2, xmm0
	addsd	xmm2, QWORD PTR -152[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	call	push
	jmp	.L2
.L16:
	call	pop
	movsd	QWORD PTR -152[rbp], xmm0
	call	pop
	movapd	xmm3, xmm0
	mulsd	xmm3, QWORD PTR -152[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	call	push
	jmp	.L2
.L14:
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -128[rbp], rax
	call	pop
	movq	rax, xmm0
	movq	xmm4, rax
	subsd	xmm4, QWORD PTR -128[rbp]
	movq	rax, xmm4
	movq	xmm0, rax
	call	push
	jmp	.L2
.L13:
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -128[rbp], rax
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -128[rbp]
	jp	.L31
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -128[rbp]
	je	.L33
.L31:
	call	pop
	movq	rax, xmm0
	movq	xmm5, rax
	divsd	xmm5, QWORD PTR -128[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	call	push
	jmp	.L2
.L33:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L2
.L17:
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -128[rbp], rax
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -128[rbp]
	jp	.L32
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -128[rbp]
	je	.L34
.L32:
	call	pop
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR -128[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	fmod@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	call	push
	jmp	.L2
.L34:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L2
.L10:
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -128[rbp], rax
	pxor	xmm1, xmm1
	cvtsd2ss	xmm1, QWORD PTR -128[rbp]
	movss	DWORD PTR -152[rbp], xmm1
	call	pop
	pxor	xmm6, xmm6
	cvtsd2ss	xmm6, xmm0
	movd	eax, xmm6
	movss	xmm1, DWORD PTR -152[rbp]
	movd	xmm0, eax
	call	powf@PLT
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, xmm0
	movq	rax, xmm7
	movq	xmm0, rax
	call	push
	jmp	.L2
.L6:
	call	pop
	movq	rax, xmm0
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	call	push
	jmp	.L2
.L9:
	call	pop
	movq	rax, xmm0
	movq	xmm0, rax
	call	cos@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	call	push
	jmp	.L2
.L8:
	call	pop
	pxor	xmm2, xmm2
	cvtsd2ss	xmm2, xmm0
	movd	eax, xmm2
	movd	xmm0, eax
	call	expf@PLT
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movq	xmm0, rax
	call	push
	jmp	.L2
.L7:
	mov	rax, QWORD PTR last[rip]
	movq	xmm0, rax
	call	push
	jmp	.L2
.L4:
	mov	eax, DWORD PTR var[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, vars[rip]
	mov	rax, QWORD PTR [rdx+rax]
	movq	xmm0, rax
	call	push
	jmp	.L2
.L19:
	cmp	DWORD PTR -136[rbp], 0
	jne	.L26
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -120[rbp], rax
	movsd	xmm0, QWORD PTR -120[rbp]
	movsd	QWORD PTR last[rip], xmm0
	mov	eax, DWORD PTR where[rip]
	cmp	eax, -1
	je	.L27
	mov	eax, DWORD PTR where[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, vars[rip]
	movsd	xmm0, QWORD PTR -120[rbp]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	DWORD PTR where[rip], -1
.L27:
	mov	rax, QWORD PTR -120[rbp]
	movq	xmm0, rax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
.L26:
	mov	DWORD PTR -136[rbp], 0
	jmp	.L2
.L18:
	mov	DWORD PTR -136[rbp], 1
	jmp	.L2
.L3:
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	nop
.L2:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	getop
	mov	DWORD PTR -132[rbp], eax
	cmp	DWORD PTR -132[rbp], -1
	jne	.L28
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	sp
	.bss
	.align 4
	.type	sp, @object
	.size	sp, 4
sp:
	.zero	4
	.globl	val
	.align 32
	.type	val, @object
	.size	val, 800
val:
	.zero	800
	.section	.rodata
	.align 8
.LC5:
	.string	"error: stack full, can't push %g\n"
	.text
	.globl	push
	.type	push, @function
push:
.LFB7:
	.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 sp[rip]
	cmp	eax, 99
	jg	.L36
	mov	eax, DWORD PTR sp[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR sp[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
	jmp	.L38
.L36:
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 1
	call	printf@PLT
.L38:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	push, .-push
	.section	.rodata
.LC6:
	.string	"error: stack empty"
	.text
	.globl	pop
	.type	pop, @function
pop:
.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 sp[rip]
	test	eax, eax
	jle	.L40
	mov	eax, DWORD PTR sp[rip]
	sub	eax, 1
	mov	DWORD PTR sp[rip], eax
	mov	eax, DWORD PTR sp[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, val[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	jmp	.L41
.L40:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	pxor	xmm0, xmm0
.L41:
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	pop, .-pop
	.section	.rodata
	.align 8
.LC7:
	.string	"Unable to duplicate - possible stack overflow"
.LC8:
	.string	"Too few elements"
.LC9:
	.string	"last: \t%.8g\n"
.LC10:
	.string	"ungetch: too many characters"
	.text
	.globl	getop
	.type	getop, @function
getop:
.LFB9:
	.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
.L45:
	mov	eax, DWORD PTR bufp.1[rip]
	test	eax, eax
	jle	.L43
	mov	eax, DWORD PTR bufp.1[rip]
	sub	eax, 1
	mov	DWORD PTR bufp.1[rip], eax
	mov	eax, DWORD PTR bufp.1[rip]
	cdqe
	lea	rdx, buf.0[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	jmp	.L44
.L43:
	call	getchar@PLT
.L44:
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L45
	cmp	DWORD PTR -24[rbp], 9
	je	.L45
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], 0
	mov	DWORD PTR -28[rbp], 0
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, 45
	cmp	eax, 70
	ja	.L46
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L48[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L48[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L48:
	.long	.L57-.L48
	.long	.L91-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L55-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L54-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L53-.L48
	.long	.L52-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L51-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L50-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L49-.L48
	.long	.L46-.L48
	.long	.L46-.L48
	.long	.L47-.L48
	.text
.L51:
	mov	eax, 0
	call	printUsage
	mov	eax, 32
	jmp	.L58
.L49:
	mov	eax, 0
	call	printStack
	mov	eax, 32
	jmp	.L58
.L52:
	mov	eax, DWORD PTR sp[rip]
	sub	eax, 1
	add	eax, eax
	cmp	eax, 98
	jle	.L59
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, 32
	jmp	.L58
.L59:
	mov	eax, DWORD PTR sp[rip]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L60
.L61:
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -28[rbp]
	lea	ecx, [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, val[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsx	rax, ecx
	lea	rdx, 0[0+rax*8]
	lea	rax, val[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -28[rbp], 1
.L60:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L61
	mov	edx, DWORD PTR sp[rip]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	mov	DWORD PTR sp[rip], eax
	mov	eax, 0
	call	printStack
	mov	eax, 32
	jmp	.L58
.L47:
	mov	eax, DWORD PTR sp[rip]
	cmp	eax, 1
	jg	.L62
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, 32
	jmp	.L58
.L62:
	mov	eax, DWORD PTR sp[rip]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, val[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR sp[rip]
	lea	edx, -2[rax]
	mov	eax, DWORD PTR sp[rip]
	lea	ecx, -1[rax]
	movsx	rax, edx
	lea	rdx, 0[0+rax*8]
	lea	rax, val[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsx	rax, ecx
	lea	rdx, 0[0+rax*8]
	lea	rax, val[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR sp[rip]
	sub	eax, 2
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, val[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, 0
	call	printStack
	mov	eax, 32
	jmp	.L58
.L53:
	mov	DWORD PTR sp[rip], 0
	mov	eax, 0
	call	printStack
	mov	eax, 32
	jmp	.L58
.L50:
	mov	rax, QWORD PTR last[rip]
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 32
	jmp	.L58
.L54:
	mov	eax, DWORD PTR bufp.1[rip]
	test	eax, eax
	jle	.L63
	mov	eax, DWORD PTR bufp.1[rip]
	sub	eax, 1
	mov	DWORD PTR bufp.1[rip], eax
	mov	eax, DWORD PTR bufp.1[rip]
	cdqe
	lea	rdx, buf.0[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	jmp	.L64
.L63:
	call	getchar@PLT
.L64:
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	mov	edx, DWORD PTR -24[rbp]
	mov	BYTE PTR [rax], dl
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L65
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR var[rip], eax
	mov	eax, 118
	jmp	.L58
.L65:
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, 99
	cmp	eax, 16
	seta	dl
	test	dl, dl
	jne	.L66
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	and	eax, 66053
	test	rax, rax
	setne	al
	test	al, al
	je	.L66
	mov	eax, DWORD PTR -24[rbp]
	jmp	.L58
.L66:
	cmp	DWORD PTR -24[rbp], -1
	je	.L67
	mov	eax, DWORD PTR bufp.1[rip]
	cmp	eax, 99
	jle	.L68
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L67
.L68:
	mov	eax, DWORD PTR bufp.1[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR bufp.1[rip], edx
	mov	edx, DWORD PTR -24[rbp]
	mov	ecx, edx
	cdqe
	lea	rdx, buf.0[rip]
	mov	BYTE PTR [rax+rdx], cl
.L67:
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], 0
	nop
	jmp	.L69
.L55:
	mov	eax, DWORD PTR bufp.1[rip]
	test	eax, eax
	jle	.L70
	mov	eax, DWORD PTR bufp.1[rip]
	sub	eax, 1
	mov	DWORD PTR bufp.1[rip], eax
	mov	eax, DWORD PTR bufp.1[rip]
	cdqe
	lea	rdx, buf.0[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	jmp	.L71
.L70:
	call	getchar@PLT
.L71:
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	mov	edx, DWORD PTR -24[rbp]
	mov	BYTE PTR [rax], dl
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L72
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR where[rip], eax
	mov	eax, 62
	jmp	.L58
.L72:
	cmp	DWORD PTR -24[rbp], -1
	je	.L73
	mov	eax, DWORD PTR bufp.1[rip]
	cmp	eax, 99
	jle	.L74
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L73
.L74:
	mov	eax, DWORD PTR bufp.1[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR bufp.1[rip], edx
	mov	edx, DWORD PTR -24[rbp]
	mov	ecx, edx
	cdqe
	lea	rdx, buf.0[rip]
	mov	BYTE PTR [rax+rdx], cl
.L73:
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], 0
	jmp	.L69
.L57:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	mov	eax, DWORD PTR bufp.1[rip]
	test	eax, eax
	jle	.L75
	mov	eax, DWORD PTR bufp.1[rip]
	sub	eax, 1
	mov	DWORD PTR bufp.1[rip], eax
	mov	eax, DWORD PTR bufp.1[rip]
	cdqe
	lea	rdx, buf.0[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	jmp	.L76
.L75:
	call	getchar@PLT
.L76:
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	mov	edx, DWORD PTR -24[rbp]
	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	.L77
	cmp	DWORD PTR -24[rbp], -1
	je	.L78
	mov	eax, DWORD PTR bufp.1[rip]
	cmp	eax, 99
	jle	.L79
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L78
.L79:
	mov	eax, DWORD PTR bufp.1[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR bufp.1[rip], edx
	mov	edx, DWORD PTR -24[rbp]
	mov	ecx, edx
	cdqe
	lea	rdx, buf.0[rip]
	mov	BYTE PTR [rax+rdx], cl
.L78:
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], 0
	mov	eax, 45
	jmp	.L58
.L77:
	mov	DWORD PTR -28[rbp], 1
	jmp	.L69
.L46:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L92
	mov	eax, DWORD PTR -24[rbp]
	jmp	.L58
.L91:
	nop
	jmp	.L69
.L92:
	nop
.L69:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L81
	nop
.L84:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	mov	eax, DWORD PTR bufp.1[rip]
	test	eax, eax
	jle	.L82
	mov	eax, DWORD PTR bufp.1[rip]
	sub	eax, 1
	mov	DWORD PTR bufp.1[rip], eax
	mov	eax, DWORD PTR bufp.1[rip]
	cdqe
	lea	rdx, buf.0[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	jmp	.L83
.L82:
	call	getchar@PLT
.L83:
	mov	DWORD PTR -24[rbp], eax
	add	DWORD PTR -28[rbp], 1
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -24[rbp]
	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	.L84
.L81:
	cmp	DWORD PTR -24[rbp], 46
	jne	.L85
	nop
.L88:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	mov	eax, DWORD PTR bufp.1[rip]
	test	eax, eax
	jle	.L86
	mov	eax, DWORD PTR bufp.1[rip]
	sub	eax, 1
	mov	DWORD PTR bufp.1[rip], eax
	mov	eax, DWORD PTR bufp.1[rip]
	cdqe
	lea	rdx, buf.0[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	jmp	.L87
.L86:
	call	getchar@PLT
.L87:
	mov	DWORD PTR -24[rbp], eax
	add	DWORD PTR -28[rbp], 1
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -24[rbp]
	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	.L88
.L85:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	cmp	DWORD PTR -24[rbp], -1
	je	.L89
	mov	eax, DWORD PTR bufp.1[rip]
	cmp	eax, 99
	jle	.L90
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L89
.L90:
	mov	eax, DWORD PTR bufp.1[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR bufp.1[rip], edx
	mov	edx, DWORD PTR -24[rbp]
	mov	ecx, edx
	cdqe
	lea	rdx, buf.0[rip]
	mov	BYTE PTR [rax+rdx], cl
.L89:
	mov	eax, 48
.L58:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	getop, .-getop
	.section	.rodata
.LC11:
	.string	"Stack: empty"
.LC12:
	.string	"Stack: "
.LC13:
	.string	"%f "
	.text
	.globl	printStack
	.type	printStack, @function
printStack:
.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
	mov	eax, DWORD PTR sp[rip]
	test	eax, eax
	jne	.L94
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L93
.L94:
	mov	DWORD PTR -4[rbp], 0
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L96
.L97:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, val[rip]
	mov	rax, QWORD PTR [rdx+rax]
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
.L96:
	mov	eax, DWORD PTR sp[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L97
	mov	edi, 10
	call	putchar@PLT
.L93:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	printStack, .-printStack
	.section	.rodata
.LC14:
	.string	"Supported commands:\n"
	.align 8
.LC15:
	.string	"Arithmetic: \n\t'+', '-', '*', '/, '^', \n\t'_s' (sin), '_c' (cos), '_e' (exp)\n"
	.align 8
.LC16:
	.string	"Advanced: \n\t'p'- print stack, \n\t's' - swap the top two in stack,\n\t'd' - duplicate stack, \n\t'c' - clear stack\n"
	.align 8
.LC17:
	.string	"Variables: \n\t'_l' (last result), \n\t'@[0-9]' (set gen. purpose variable),\n\t'_[0-9]' (use gen. purpose variable)\n"
	.text
	.globl	printUsage
	.type	printUsage, @function
printUsage:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	printUsage, .-printUsage
	.local	bufp.1
	.comm	bufp.1,4,4
	.local	buf.0
	.comm	buf.0,100,32
	.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	"35061.c"
	.text
	.global	last
	.bss
	.align	3
	.type	last, %object
	.size	last, 8
last:
	.space	8
	.global	vars
	.align	3
	.type	vars, %object
	.size	vars, 80
vars:
	.space	80
	.comm	var,4,4
	.global	where
	.data
	.align	2
	.type	where, %object
	.size	where, 4
where:
	.word	-1
	.global	__aeabi_dadd
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.global	__aeabi_dcmpeq
	.global	__aeabi_ddiv
	.section	.rodata
	.align	2
.LC0:
	.ascii	"error: zero divisor\000"
	.global	__aeabi_d2f
	.global	__aeabi_f2d
	.align	2
.LC1:
	.ascii	"\011%.8g\012\000"
	.align	2
.LC2:
	.ascii	"error: unknown command %s\012\000"
	.align	2
.LC3:
	.ascii	"use 'h' to get help\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #128
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L2
.L28:
	ldr	r3, [fp, #-136]
	sub	r3, r3, #10
	cmp	r3, #108
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L19
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L18
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L17
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L16
	.word	.L15
	.word	.L3
	.word	.L14
	.word	.L3
	.word	.L13
	.word	.L12
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L2
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L10
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L9
	.word	.L3
	.word	.L8
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L7
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L6
	.word	.L3
	.word	.L3
	.word	.L4
.L12:
	sub	r3, fp, #116
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L15:
	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	.L2
.L16:
	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	.L2
.L14:
	bl	pop
	str	r0, [fp, #-132]
	str	r1, [fp, #-128]
	bl	pop
	sub	r3, fp, #132
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L13:
	bl	pop
	str	r0, [fp, #-132]
	str	r1, [fp, #-128]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #132
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L33
	bl	pop
	sub	r3, fp, #132
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L33:
	ldr	r0, .L35+4
	bl	puts
	b	.L2
.L17:
	bl	pop
	str	r0, [fp, #-132]
	str	r1, [fp, #-128]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #132
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L34
	bl	pop
	sub	r3, fp, #132
	ldmia	r3, {r2-r3}
	bl	fmod
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L34:
	ldr	r0, .L35+4
	bl	puts
	b	.L2
.L10:
	bl	pop
	str	r0, [fp, #-132]
	str	r1, [fp, #-128]
	bl	pop
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r4, r0
	sub	r1, fp, #132
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	powf
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L6:
	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	.L2
.L9:
	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	.L2
.L8:
	bl	pop
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r0, r3
	bl	expf
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L7:
	ldr	r3, .L35+8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L4:
	ldr	r3, .L35+12
	ldr	r3, [r3]
	ldr	r2, .L35+16
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L19:
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L26
	bl	pop
	str	r0, [fp, #-124]
	str	r1, [fp, #-120]
	ldr	r1, .L35+8
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, .L35+20
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L27
	ldr	r3, .L35+20
	ldr	r3, [r3]
	ldr	r2, .L35+16
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, .L35+20
	mvn	r2, #0
	str	r2, [r3]
.L27:
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	ldr	r0, .L35+24
	bl	printf
.L26:
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L2
.L18:
	mov	r3, #1
	str	r3, [fp, #-140]
	b	.L2
.L3:
	sub	r3, fp, #116
	mov	r1, r3
	ldr	r0, .L35+28
	bl	printf
	ldr	r0, .L35+32
	bl	puts
	nop
.L2:
	sub	r3, fp, #116
	mov	r0, r3
	bl	getop
	str	r0, [fp, #-136]
	ldr	r3, [fp, #-136]
	cmn	r3, #1
	bne	.L28
	mov	r3, #0
	ldr	r2, .L35
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC4
	.word	.LC0
	.word	last
	.word	var
	.word	vars
	.word	where
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.global	sp
	.bss
	.align	2
	.type	sp, %object
	.size	sp, 4
sp:
	.space	4
	.comm	val,800,8
	.section	.rodata
	.align	2
.LC5:
	.ascii	"error: stack full, can't push %g\012\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, .L41
	ldr	r3, [r3]
	cmp	r3, #99
	bgt	.L38
	ldr	r3, .L41
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L41
	str	r2, [r1]
	ldr	r2, .L41+4
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	b	.L40
.L38:
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	ldr	r0, .L41+8
	bl	printf
.L40:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	sp
	.word	val
	.word	.LC5
	.size	push, .-push
	.section	.rodata
	.align	2
.LC6:
	.ascii	"error: 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, .L46
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L44
	ldr	r3, .L46
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L46
	str	r3, [r2]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r2, .L46+4
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	b	.L45
.L44:
	ldr	r0, .L46+8
	bl	puts
	mov	r2, #0
	mov	r3, #0
.L45:
	mov	r0, r2
	mov	r1, r3
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	sp
	.word	val
	.word	.LC6
	.size	pop, .-pop
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Unable to duplicate - possible stack overflow\000"
	.align	2
.LC8:
	.ascii	"Too few elements\000"
	.global	__aeabi_d2iz
	.global	__aeabi_i2d
	.align	2
.LC9:
	.ascii	"last: \011%.8g\012\000"
	.align	2
.LC10:
	.ascii	"ungetch: too many characters\000"
	.text
	.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
.L51:
	ldr	r3, .L101
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L49
	ldr	r3, .L101
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L101
	str	r3, [r2]
	ldr	r3, .L101
	ldr	r3, [r3]
	ldr	r2, .L101+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	b	.L50
.L49:
	bl	getchar
	mov	r3, r0
.L50:
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	and	r2, r3, #255
	ldr	r3, [fp, #-32]
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L51
	ldr	r3, [fp, #-20]
	cmp	r3, #9
	beq	.L51
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #45
	cmp	r3, #70
	ldrls	pc, [pc, r3, asl #2]
	b	.L52
.L54:
	.word	.L63
	.word	.L99
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L61
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L60
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L59
	.word	.L58
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L57
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L56
	.word	.L52
	.word	.L52
	.word	.L52
	.word	.L55
	.word	.L52
	.word	.L52
	.word	.L53
.L57:
	bl	printUsage
	mov	r3, #32
	b	.L64
.L55:
	bl	printStack
	mov	r3, #32
	b	.L64
.L58:
	ldr	r3, .L101+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	lsl	r3, r3, #1
	cmp	r3, #98
	ble	.L65
	ldr	r0, .L101+12
	bl	puts
	mov	r3, #32
	b	.L64
.L65:
	ldr	r3, .L101+8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L66
.L67:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r1, r2, r3
	ldr	r2, .L101+16
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L101+16
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L66:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L67
	ldr	r3, .L101+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, .L101+8
	str	r3, [r2]
	bl	printStack
	mov	r3, #32
	b	.L64
.L53:
	ldr	r3, .L101+8
	ldr	r3, [r3]
	cmp	r3, #1
	bgt	.L68
	ldr	r0, .L101+20
	bl	puts
	mov	r3, #32
	b	.L64
.L68:
	ldr	r3, .L101+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L101+16
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, .L101+8
	ldr	r3, [r3]
	sub	r3, r3, #2
	ldr	r2, .L101+8
	ldr	r2, [r2]
	sub	r1, r2, #1
	ldr	r2, .L101+16
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L101+16
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, .L101+8
	ldr	r3, [r3]
	sub	r4, r3, #2
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L101+16
	lsl	r1, r4, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	bl	printStack
	mov	r3, #32
	b	.L64
.L59:
	ldr	r3, .L101+8
	mov	r2, #0
	str	r2, [r3]
	bl	printStack
	mov	r3, #32
	b	.L64
.L56:
	ldr	r3, .L101+24
	ldmia	r3, {r2-r3}
	ldr	r0, .L101+28
	bl	printf
	mov	r3, #32
	b	.L64
.L60:
	ldr	r3, .L101
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L69
	ldr	r3, .L101
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L101
	str	r3, [r2]
	ldr	r3, .L101
	ldr	r3, [r3]
	ldr	r2, .L101+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	b	.L70
.L69:
	bl	getchar
	mov	r3, r0
.L70:
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	and	r2, r2, #255
	strb	r2, [r3]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L71
	ldr	r2, .L101+32
	ldr	r3, [fp, #-20]
	str	r3, [r2]
	mov	r3, #118
	b	.L64
.L71:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #99
	cmp	r3, #16
	ldrls	pc, [pc, r3, asl #2]
	b	.L72
.L74:
	.word	.L73
	.word	.L72
	.word	.L73
	.word	.L72
	.word	.L72
	.word	.L72
	.word	.L72
	.word	.L72
	.word	.L72
	.word	.L73
	.word	.L72
	.word	.L72
	.word	.L72
	.word	.L72
	.word	.L72
	.word	.L72
	.word	.L73
.L73:
	ldr	r3, [fp, #-20]
	b	.L64
.L72:
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	beq	.L75
	ldr	r3, .L101
	ldr	r3, [r3]
	cmp	r3, #99
	ble	.L76
	ldr	r0, .L101+36
	bl	puts
	b	.L75
.L76:
	ldr	r3, .L101
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L101
	str	r2, [r1]
	ldr	r2, [fp, #-20]
	and	r1, r2, #255
	ldr	r2, .L101+4
	strb	r1, [r2, r3]
.L75:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
	nop
	b	.L77
.L61:
	ldr	r3, .L101
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L78
	ldr	r3, .L101
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L101
	str	r3, [r2]
	ldr	r3, .L101
	ldr	r3, [r3]
	ldr	r2, .L101+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	b	.L79
.L78:
	bl	getchar
	mov	r3, r0
.L79:
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	and	r2, r2, #255
	strb	r2, [r3]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L80
	ldr	r2, .L101+40
	ldr	r3, [fp, #-20]
	str	r3, [r2]
	mov	r3, #62
	b	.L64
.L80:
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	beq	.L81
	ldr	r3, .L101
	ldr	r3, [r3]
	cmp	r3, #99
	ble	.L82
	ldr	r0, .L101+36
	bl	puts
	b	.L81
.L82:
	ldr	r3, .L101
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L101
	str	r2, [r1]
	ldr	r2, [fp, #-20]
	and	r1, r2, #255
	ldr	r2, .L101+4
	strb	r1, [r2, r3]
.L81:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
	b	.L77
.L63:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	ldr	r3, .L101
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L83
	ldr	r3, .L101
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L101
	str	r3, [r2]
	ldr	r3, .L101
	ldr	r3, [r3]
	ldr	r2, .L101+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	b	.L84
.L83:
	bl	getchar
	mov	r3, r0
.L84:
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	and	r2, r2, #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	.L85
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	beq	.L86
	ldr	r3, .L101
	ldr	r3, [r3]
	cmp	r3, #99
	ble	.L87
	ldr	r0, .L101+36
	bl	puts
	b	.L86
.L87:
	ldr	r3, .L101
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L101
	str	r2, [r1]
	ldr	r2, [fp, #-20]
	and	r1, r2, #255
	ldr	r2, .L101+4
	strb	r1, [r2, r3]
.L86:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #45
	b	.L64
.L85:
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L77
.L52:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L100
	ldr	r3, [fp, #-20]
	b	.L64
.L99:
	nop
	b	.L77
.L100:
	nop
.L77:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L89
	nop
.L92:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	ldr	r3, .L101
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L90
	ldr	r3, .L101
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L101
	str	r3, [r2]
	ldr	r3, .L101
	ldr	r3, [r3]
	ldr	r2, .L101+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	b	.L91
.L90:
	bl	getchar
	mov	r3, r0
.L91:
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	and	r2, r2, #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	.L92
.L89:
	ldr	r3, [fp, #-20]
	cmp	r3, #46
	bne	.L93
	nop
.L96:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	ldr	r3, .L101
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L94
	ldr	r3, .L101
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L101
	str	r3, [r2]
	ldr	r3, .L101
	ldr	r3, [r3]
	ldr	r2, .L101+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	b	.L95
.L94:
	bl	getchar
	mov	r3, r0
.L95:
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	and	r2, r2, #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	.L96
.L93:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	beq	.L97
	ldr	r3, .L101
	ldr	r3, [r3]
	cmp	r3, #99
	ble	.L98
	ldr	r0, .L101+36
	bl	puts
	b	.L97
.L98:
	ldr	r3, .L101
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L101
	str	r2, [r1]
	ldr	r2, [fp, #-20]
	and	r1, r2, #255
	ldr	r2, .L101+4
	strb	r1, [r2, r3]
.L97:
	mov	r3, #48
.L64:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L102:
	.align	2
.L101:
	.word	bufp.6317
	.word	buf.6316
	.word	sp
	.word	.LC7
	.word	val
	.word	.LC8
	.word	last
	.word	.LC9
	.word	var
	.word	.LC10
	.word	where
	.size	getop, .-getop
	.section	.rodata
	.align	2
.LC11:
	.ascii	"Stack: empty\000"
	.align	2
.LC12:
	.ascii	"Stack: \000"
	.align	2
.LC13:
	.ascii	"%f \000"
	.text
	.align	2
	.global	printStack
	.syntax unified
	.arm
	.fpu softvfp
	.type	printStack, %function
printStack:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L108
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L104
	ldr	r0, .L108+4
	bl	puts
	b	.L103
.L104:
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r0, .L108+8
	bl	printf
	b	.L106
.L107:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldr	r2, .L108+12
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L108+16
	bl	printf
.L106:
	ldr	r3, .L108
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L107
	mov	r0, #10
	bl	putchar
.L103:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L109:
	.align	2
.L108:
	.word	sp
	.word	.LC11
	.word	.LC12
	.word	val
	.word	.LC13
	.size	printStack, .-printStack
	.section	.rodata
	.align	2
.LC14:
	.ascii	"Supported commands:\012\000"
	.align	2
.LC15:
	.ascii	"Arithmetic: \012\011'+', '-', '*', '/, '^', \012\011"
	.ascii	"'_s' (sin), '_c' (cos), '_e' (exp)\012\000"
	.align	2
.LC16:
	.ascii	"Advanced: \012\011'p'- print stack, \012\011's' - s"
	.ascii	"wap the top two in stack,\012\011'd' - duplicate st"
	.ascii	"ack, \012\011'c' - clear stack\012\000"
	.align	2
.LC17:
	.ascii	"Variables: \012\011'_l' (last result), \012\011'@[0"
	.ascii	"-9]' (set gen. purpose variable),\012\011'_[0-9]' ("
	.ascii	"use gen. purpose variable)\012\000"
	.text
	.align	2
	.global	printUsage
	.syntax unified
	.arm
	.fpu softvfp
	.type	printUsage, %function
printUsage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #10
	bl	putchar
	ldr	r0, .L111
	bl	puts
	ldr	r0, .L111+4
	bl	puts
	ldr	r0, .L111+8
	bl	puts
	ldr	r0, .L111+12
	bl	puts
	nop
	pop	{fp, pc}
.L112:
	.align	2
.L111:
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	printUsage, .-printUsage
	.local	bufp.6317
	.comm	bufp.6317,4,4
	.local	buf.6316
	.comm	buf.6316,100,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
