	.file	"112854.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"\nError: division by zero!"
.LC2:
	.string	"\n\t%.8g\n"
.LC3:
	.string	"\nError: unknown command %s.\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -128[rbp], 1
	jmp	.L2
.L23:
	cmp	DWORD PTR -124[rbp], 63
	jg	.L3
	cmp	DWORD PTR -124[rbp], 0
	js	.L4
	cmp	DWORD PTR -124[rbp], 63
	ja	.L4
	mov	eax, DWORD PTR -124[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L6[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L6[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L6:
	.long	.L15-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L14-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L13-.L6
	.long	.L4-.L6
	.long	.L12-.L6
	.long	.L4-.L6
	.long	.L11-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L10-.L6
	.long	.L9-.L6
	.long	.L4-.L6
	.long	.L8-.L6
	.long	.L4-.L6
	.long	.L7-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L5-.L6
	.text
.L3:
	cmp	DWORD PTR -124[rbp], 126
	je	.L16
	jmp	.L4
.L15:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	call	push
	jmp	.L2
.L9:
	call	pop
	movsd	QWORD PTR -136[rbp], xmm0
	call	pop
	movapd	xmm2, xmm0
	addsd	xmm2, QWORD PTR -136[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	call	push
	jmp	.L2
.L10:
	call	pop
	movsd	QWORD PTR -136[rbp], xmm0
	call	pop
	movapd	xmm3, xmm0
	mulsd	xmm3, QWORD PTR -136[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	call	push
	jmp	.L2
.L8:
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -120[rbp], rax
	call	pop
	movq	rax, xmm0
	movq	xmm4, rax
	subsd	xmm4, QWORD PTR -120[rbp]
	movq	rax, xmm4
	movq	xmm0, rax
	call	push
	jmp	.L2
.L7:
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -120[rbp], rax
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -120[rbp]
	jp	.L26
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -120[rbp]
	je	.L28
.L26:
	call	pop
	movq	rax, xmm0
	movq	xmm5, rax
	divsd	xmm5, QWORD PTR -120[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	call	push
	jmp	.L2
.L28:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L2
.L11:
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -120[rbp], rax
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -120[rbp]
	jp	.L27
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -120[rbp]
	je	.L29
.L27:
	call	pop
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR -120[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	fmod@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	call	push
	jmp	.L2
.L29:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L2
.L5:
	call	showTop
	jmp	.L2
.L12:
	call	duplicate
	jmp	.L2
.L16:
	call	swapItems
	jmp	.L2
.L13:
	mov	eax, 0
	call	clearStack
.L14:
	call	pop
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L2
.L4:
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L2:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	Getop
	mov	DWORD PTR -124[rbp], eax
	cmp	DWORD PTR -124[rbp], -1
	jne	.L23
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	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
.LC4:
	.string	"\nError: 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	.L31
	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	.L33
.L31:
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
.L33:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	push, .-push
	.section	.rodata
.LC5:
	.string	"\nError: 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	.L35
	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	.L36
.L35:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	pxor	xmm0, xmm0
.L36:
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	pop, .-pop
	.section	.rodata
.LC6:
	.string	"Top of stack contains: %8g\n"
.LC7:
	.string	"The stack is empty!"
	.text
	.globl	showTop
	.type	showTop, @function
showTop:
.LFB9:
	.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	.L38
	mov	eax, DWORD PTR sp[rip]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, val[rip]
	mov	rax, QWORD PTR [rdx+rax]
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L40
.L38:
	lea	rdi, .LC7[rip]
	call	puts@PLT
.L40:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	showTop, .-showTop
	.globl	duplicate
	.type	duplicate, @function
duplicate:
.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
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	push
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	push
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	duplicate, .-duplicate
	.globl	swapItems
	.type	swapItems, @function
swapItems:
.LFB11:
	.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
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	call	push
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	push
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	swapItems, .-swapItems
	.globl	clearStack
	.type	clearStack, @function
clearStack:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR sp[rip], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	clearStack, .-clearStack
	.globl	Getop
	.type	Getop, @function
Getop:
.LFB13:
	.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
	mov	DWORD PTR -28[rbp], 0
	nop
.L45:
	call	getch
	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
	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	.L46
	cmp	DWORD PTR -24[rbp], 46
	je	.L46
	cmp	DWORD PTR -24[rbp], 45
	je	.L46
	mov	eax, DWORD PTR -24[rbp]
	jmp	.L47
.L46:
	cmp	DWORD PTR -24[rbp], 45
	jne	.L48
	call	getch
	mov	DWORD PTR -20[rbp], eax
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L49
	cmp	DWORD PTR -20[rbp], 46
	je	.L49
	mov	eax, DWORD PTR -24[rbp]
	jmp	.L47
.L49:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -24[rbp], eax
	jmp	.L51
.L48:
	call	getch
	mov	DWORD PTR -24[rbp], eax
	jmp	.L51
.L52:
	call	getch
	mov	DWORD PTR -24[rbp], eax
.L51:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	add	DWORD PTR -28[rbp], 1
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	ecx, DWORD PTR -24[rbp]
	mov	BYTE PTR [rax], cl
	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	.L52
	cmp	DWORD PTR -24[rbp], 46
	jne	.L53
	nop
.L54:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getch
	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	.L54
.L53:
	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	.L55
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, eax
	call	unGetch
.L55:
	mov	eax, 0
.L47:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	Getop, .-Getop
	.globl	buf
	.bss
	.align 32
	.type	buf, @object
	.size	buf, 100
buf:
	.zero	100
	.globl	bufp
	.align 4
	.type	bufp, @object
	.size	bufp, 4
bufp:
	.zero	4
	.text
	.globl	getch
	.type	getch, @function
getch:
.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, DWORD PTR bufp[rip]
	test	eax, eax
	jle	.L57
	mov	eax, DWORD PTR bufp[rip]
	sub	eax, 1
	mov	DWORD PTR bufp[rip], eax
	mov	eax, DWORD PTR bufp[rip]
	cdqe
	lea	rdx, buf[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	jmp	.L59
.L57:
	call	getchar@PLT
.L59:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	getch, .-getch
	.section	.rodata
.LC8:
	.string	"\nUnGetch: too many characters"
	.text
	.globl	unGetch
	.type	unGetch, @function
unGetch:
.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	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR bufp[rip]
	cmp	eax, 99
	jle	.L61
	lea	rdi, .LC8[rip]
	call	puts@PLT
	jmp	.L63
.L61:
	mov	eax, DWORD PTR bufp[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR bufp[rip], edx
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
.L63:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	unGetch, .-unGetch
	.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	"112854.c"
	.text
	.global	__aeabi_dadd
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.global	__aeabi_dcmpeq
	.global	__aeabi_ddiv
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Error: division by zero!\000"
	.align	2
.LC1:
	.ascii	"\012\011%.8g\012\000"
	.align	2
.LC2:
	.ascii	"\012Error: unknown command %s.\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #120
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-132]
	b	.L2
.L23:
	ldr	r3, [fp, #-128]
	cmp	r3, #63
	bgt	.L3
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	blt	.L4
	ldr	r3, [fp, #-128]
	cmp	r3, #63
	ldrls	pc, [pc, r3, asl #2]
	b	.L4
.L6:
	.word	.L15
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L14
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L13
	.word	.L4
	.word	.L12
	.word	.L4
	.word	.L11
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L10
	.word	.L9
	.word	.L4
	.word	.L8
	.word	.L4
	.word	.L7
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L5
.L3:
	ldr	r3, [fp, #-128]
	cmp	r3, #126
	beq	.L16
	b	.L4
.L15:
	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
.L9:
	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
.L10:
	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
.L8:
	bl	pop
	str	r0, [fp, #-124]
	str	r1, [fp, #-120]
	bl	pop
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L7:
	bl	pop
	str	r0, [fp, #-124]
	str	r1, [fp, #-120]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #124
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	bl	pop
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L28:
	ldr	r0, .L30+4
	bl	printf
	b	.L2
.L11:
	bl	pop
	str	r0, [fp, #-124]
	str	r1, [fp, #-120]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #124
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L29
	bl	pop
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	bl	fmod
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L29:
	ldr	r0, .L30+4
	bl	printf
	b	.L2
.L5:
	bl	showTop
	b	.L2
.L12:
	bl	duplicate
	b	.L2
.L16:
	bl	swapItems
	b	.L2
.L13:
	bl	clearStack
.L14:
	bl	pop
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L30+8
	bl	printf
	b	.L2
.L4:
	sub	r3, fp, #116
	mov	r1, r3
	ldr	r0, .L30+12
	bl	printf
	nop
.L2:
	sub	r3, fp, #116
	mov	r0, r3
	bl	Getop
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmn	r3, #1
	bne	.L23
	mov	r3, #0
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.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
.LC4:
	.ascii	"\012Error: 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, .L36
	ldr	r3, [r3]
	cmp	r3, #99
	bgt	.L33
	ldr	r3, .L36
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L36
	str	r2, [r1]
	ldr	r2, .L36+4
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	b	.L35
.L33:
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	ldr	r0, .L36+8
	bl	printf
.L35:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	sp
	.word	val
	.word	.LC4
	.size	push, .-push
	.section	.rodata
	.align	2
.LC5:
	.ascii	"\012Error: 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, .L41
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L39
	ldr	r3, .L41
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L41
	str	r3, [r2]
	ldr	r3, .L41
	ldr	r3, [r3]
	ldr	r2, .L41+4
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	b	.L40
.L39:
	ldr	r0, .L41+8
	bl	puts
	mov	r2, #0
	mov	r3, #0
.L40:
	mov	r0, r2
	mov	r1, r3
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	sp
	.word	val
	.word	.LC5
	.size	pop, .-pop
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Top of stack contains: %8g\012\000"
	.align	2
.LC7:
	.ascii	"The stack is empty!\000"
	.text
	.align	2
	.global	showTop
	.syntax unified
	.arm
	.fpu softvfp
	.type	showTop, %function
showTop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L47
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L44
	ldr	r3, .L47
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L47+4
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L47+8
	bl	printf
	b	.L46
.L44:
	ldr	r0, .L47+12
	bl	puts
.L46:
	nop
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	sp
	.word	val
	.word	.LC6
	.word	.LC7
	.size	showTop, .-showTop
	.align	2
	.global	duplicate
	.syntax unified
	.arm
	.fpu softvfp
	.type	duplicate, %function
duplicate:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	pop
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	push
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	push
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	duplicate, .-duplicate
	.align	2
	.global	swapItems
	.syntax unified
	.arm
	.fpu softvfp
	.type	swapItems, %function
swapItems:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	bl	pop
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	bl	pop
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	push
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	push
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	swapItems, .-swapItems
	.align	2
	.global	clearStack
	.syntax unified
	.arm
	.fpu softvfp
	.type	clearStack, %function
clearStack:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L52
	mov	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L53:
	.align	2
.L52:
	.word	sp
	.size	clearStack, .-clearStack
	.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]
	mov	r3, #0
	str	r3, [fp, #-24]
	nop
.L55:
	bl	getch
	str	r0, [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	.L55
	ldr	r3, [fp, #-20]
	cmp	r3, #9
	beq	.L55
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, #0
	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
	bne	.L56
	ldr	r3, [fp, #-20]
	cmp	r3, #46
	beq	.L56
	ldr	r3, [fp, #-20]
	cmp	r3, #45
	beq	.L56
	ldr	r3, [fp, #-20]
	b	.L57
.L56:
	ldr	r3, [fp, #-20]
	cmp	r3, #45
	bne	.L58
	bl	getch
	str	r0, [fp, #-16]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L59
	ldr	r3, [fp, #-16]
	cmp	r3, #46
	beq	.L59
	ldr	r3, [fp, #-20]
	b	.L57
.L59:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	b	.L61
.L58:
	bl	getch
	str	r0, [fp, #-20]
	b	.L61
.L62:
	bl	getch
	str	r0, [fp, #-20]
.L61:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldr	r1, [fp, #-20]
	and	r1, r1, #255
	strb	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	.L62
	ldr	r3, [fp, #-20]
	cmp	r3, #46
	bne	.L63
	nop
.L64:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getch
	str	r0, [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	.L64
.L63:
	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	.L65
	ldr	r0, [fp, #-20]
	bl	unGetch
.L65:
	mov	r3, #0
.L57:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	Getop, .-Getop
	.comm	buf,100,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, .L70
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L67
	ldr	r3, .L70
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L70
	str	r3, [r2]
	ldr	r3, .L70
	ldr	r3, [r3]
	ldr	r2, .L70+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	b	.L69
.L67:
	bl	getchar
	mov	r3, r0
.L69:
	mov	r0, r3
	pop	{fp, pc}
.L71:
	.align	2
.L70:
	.word	bufp
	.word	buf
	.size	getch, .-getch
	.section	.rodata
	.align	2
.LC8:
	.ascii	"\012UnGetch: too many characters\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, .L76
	ldr	r3, [r3]
	cmp	r3, #99
	ble	.L73
	ldr	r0, .L76+4
	bl	puts
	b	.L75
.L73:
	ldr	r3, .L76
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L76
	str	r2, [r1]
	ldr	r2, [fp, #-8]
	and	r1, r2, #255
	ldr	r2, .L76+8
	strb	r1, [r2, r3]
.L75:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L77:
	.align	2
.L76:
	.word	bufp
	.word	.LC8
	.word	buf
	.size	unGetch, .-unGetch
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
