	.file	"306765.c"
	.intel_syntax noprefix
	.text
	.globl	recent
	.bss
	.align 8
	.type	recent, @object
	.size	recent, 8
recent:
	.zero	8
	.section	.rodata
.LC0:
	.string	"msin"
.LC1:
	.string	"mpow"
.LC2:
	.string	"mexp"
	.align 8
.LC3:
	.string	"error: unknown math command %s"
.LC4:
	.string	"vs"
.LC5:
	.string	"vg"
	.align 8
.LC6:
	.string	"error: unknown variable command %s"
.LC8:
	.string	"error: zero divisor"
.LC9:
	.string	"\t%.8g\n"
.LC10:
	.string	"error: 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, 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L2
.L29:
	mov	eax, DWORD PTR -132[rbp]
	sub	eax, 10
	cmp	eax, 105
	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	.L18-.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	.L17-.L5
	.long	.L3-.L5
	.long	.L16-.L5
	.long	.L15-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L14-.L5
	.long	.L13-.L5
	.long	.L3-.L5
	.long	.L12-.L5
	.long	.L3-.L5
	.long	.L11-.L5
	.long	.L10-.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	.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	.L9-.L5
	.long	.L8-.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	.L7-.L5
	.long	.L3-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.text
.L10:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	call	push
	jmp	.L2
.L17:
	lea	rax, -112[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L19
	call	pop
	movq	rax, xmm0
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	call	push
	jmp	.L2
.L19:
	lea	rax, -112[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L21
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -120[rbp], rax
	call	pop
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR -120[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	call	push
	jmp	.L2
.L21:
	lea	rax, -112[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L22
	call	pop
	movq	rax, xmm0
	movq	xmm0, rax
	call	exp@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	call	push
	jmp	.L2
.L22:
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L2
.L15:
	lea	rax, -112[rbp]
	mov	edx, 2
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L23
	call	pop
	movq	rax, xmm0
	movzx	edx, BYTE PTR -110[rbp]
	movsx	edx, dl
	movq	xmm0, rax
	mov	edi, edx
	call	var_set
	jmp	.L2
.L23:
	lea	rax, -112[rbp]
	mov	edx, 2
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L25
	movzx	eax, BYTE PTR -110[rbp]
	movsx	eax, al
	mov	edi, eax
	call	var_get
	movq	rax, xmm0
	movq	xmm0, rax
	call	push
	jmp	.L2
.L25:
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L2
.L13:
	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
.L14:
	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
.L16:
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -120[rbp], rax
	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
.L12:
	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
.L11:
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -120[rbp], rax
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -120[rbp]
	jp	.L32
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -120[rbp]
	je	.L33
.L32:
	call	pop
	movq	rax, xmm0
	movq	xmm5, rax
	divsd	xmm5, QWORD PTR -120[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	call	push
	jmp	.L2
.L33:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	jmp	.L2
.L18:
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -128[rbp]
	movsd	QWORD PTR recent[rip], xmm0
	jmp	.L2
.L8:
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	movq	xmm0, rax
	call	push
	mov	rax, QWORD PTR -128[rbp]
	movq	xmm0, rax
	call	push
	jmp	.L2
.L4:
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -128[rbp], rax
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -120[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	movq	xmm0, rax
	call	push
	mov	rax, QWORD PTR -120[rbp]
	movq	xmm0, rax
	call	push
	jmp	.L2
.L7:
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -128[rbp]
	movsd	QWORD PTR recent[rip], xmm0
	mov	rax, QWORD PTR -128[rbp]
	movq	xmm0, rax
	call	push
	jmp	.L2
.L9:
	call	clear
	jmp	.L2
.L6:
	mov	rax, QWORD PTR recent[rip]
	movq	xmm0, rax
	call	push
	jmp	.L2
.L3:
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@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	.L29
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	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
.LC11:
	.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	.L35
	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	.L37
.L35:
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
.L37:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	push, .-push
	.section	.rodata
.LC12:
	.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	.L39
	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	.L40
.L39:
	lea	rdi, .LC12[rip]
	call	puts@PLT
	pxor	xmm0, xmm0
.L40:
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	pop, .-pop
	.globl	clear
	.type	clear, @function
clear:
.LFB9:
	.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
.LFE9:
	.size	clear, .-clear
	.section	.rodata
.LC13:
	.string	"-"
	.text
	.globl	getop
	.type	getop, @function
getop:
.LFB10:
	.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 -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	nop
.L43:
	call	getch
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[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	.L43
	cmp	DWORD PTR -28[rbp], 9
	je	.L43
	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 -28[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L44
	cmp	DWORD PTR -28[rbp], 46
	je	.L44
	cmp	DWORD PTR -28[rbp], 45
	je	.L44
	cmp	DWORD PTR -28[rbp], 109
	je	.L44
	cmp	DWORD PTR -28[rbp], 118
	je	.L44
	mov	eax, DWORD PTR -28[rbp]
	jmp	.L45
.L44:
	mov	DWORD PTR -32[rbp], 0
	cmp	DWORD PTR -28[rbp], 45
	jne	.L46
	nop
.L47:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getch
	mov	DWORD PTR -28[rbp], eax
	add	DWORD PTR -32[rbp], 1
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -28[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	.L47
.L46:
	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	.L48
	nop
.L49:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getch
	mov	DWORD PTR -28[rbp], eax
	add	DWORD PTR -32[rbp], 1
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -28[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	.L49
.L48:
	cmp	DWORD PTR -28[rbp], 46
	jne	.L50
	nop
.L51:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getch
	mov	DWORD PTR -28[rbp], eax
	add	DWORD PTR -32[rbp], 1
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -28[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	.L51
.L50:
	cmp	DWORD PTR -28[rbp], 109
	jne	.L52
	mov	DWORD PTR -24[rbp], 1
	nop
.L53:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getch
	mov	DWORD PTR -28[rbp], eax
	add	DWORD PTR -32[rbp], 1
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -28[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, 1024
	test	eax, eax
	jne	.L53
.L52:
	cmp	DWORD PTR -28[rbp], 118
	jne	.L54
	mov	DWORD PTR -20[rbp], 1
	nop
.L55:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getch
	mov	DWORD PTR -28[rbp], eax
	add	DWORD PTR -32[rbp], 1
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -28[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, 1024
	test	eax, eax
	jne	.L55
.L54:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	cmp	DWORD PTR -28[rbp], -1
	je	.L56
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	ungetch
.L56:
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L57
	mov	eax, 45
	jmp	.L45
.L57:
	cmp	DWORD PTR -24[rbp], 1
	jne	.L58
	mov	eax, 35
	jmp	.L45
.L58:
	cmp	DWORD PTR -20[rbp], 1
	jne	.L59
	mov	eax, 38
	jmp	.L45
.L59:
	mov	eax, 48
.L45:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	getop, .-getop
	.globl	buf
	.bss
	.type	buf, @object
	.size	buf, 1
buf:
	.zero	1
	.globl	buf_set
	.align 4
	.type	buf_set, @object
	.size	buf_set, 4
buf_set:
	.zero	4
	.text
	.globl	getch
	.type	getch, @function
getch:
.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
	mov	eax, DWORD PTR buf_set[rip]
	test	eax, eax
	jg	.L61
	call	getchar@PLT
	jmp	.L62
.L61:
	movzx	eax, BYTE PTR buf[rip]
.L62:
	mov	BYTE PTR -1[rbp], al
	mov	DWORD PTR buf_set[rip], 0
	movsx	eax, BYTE PTR -1[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	getch, .-getch
	.section	.rodata
.LC14:
	.string	"ungetch: too many characters"
	.text
	.globl	ungetch
	.type	ungetch, @function
ungetch:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR buf_set[rip]
	test	eax, eax
	jle	.L65
	lea	rdi, .LC14[rip]
	call	puts@PLT
	jmp	.L67
.L65:
	mov	eax, DWORD PTR -4[rbp]
	mov	BYTE PTR buf[rip], al
	mov	DWORD PTR buf_set[rip], 1
.L67:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	ungetch, .-ungetch
	.globl	vars
	.bss
	.align 16
	.type	vars, @object
	.size	vars, 26
vars:
	.zero	26
	.text
	.globl	var_get
	.type	var_get, @function
var_get:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	movsx	eax, BYTE PTR -4[rbp]
	sub	eax, 97
	cdqe
	lea	rdx, vars[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	var_get, .-var_get
	.globl	var_set
	.type	var_set, @function
var_set:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	movsd	QWORD PTR -16[rbp], xmm0
	mov	BYTE PTR -4[rbp], al
	movsx	eax, BYTE PTR -4[rbp]
	sub	eax, 97
	movsd	xmm0, QWORD PTR -16[rbp]
	cvttsd2si	edx, xmm0
	mov	ecx, edx
	cdqe
	lea	rdx, vars[rip]
	mov	BYTE PTR [rax+rdx], cl
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	var_set, .-var_set
	.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	"306765.c"
	.text
	.comm	recent,8,8
	.section	.rodata
	.align	2
.LC0:
	.ascii	"msin\000"
	.align	2
.LC1:
	.ascii	"mpow\000"
	.align	2
.LC2:
	.ascii	"mexp\000"
	.align	2
.LC3:
	.ascii	"error: unknown math command %s\000"
	.align	2
.LC4:
	.ascii	"vs\000"
	.align	2
.LC5:
	.ascii	"vg\000"
	.align	2
.LC6:
	.ascii	"error: unknown variable command %s\000"
	.global	__aeabi_dadd
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.global	__aeabi_dcmpeq
	.global	__aeabi_ddiv
	.align	2
.LC7:
	.ascii	"error: zero divisor\000"
	.align	2
.LC8:
	.ascii	"\011%.8g\012\000"
	.align	2
.LC9:
	.ascii	"error: unknown command %s\012\000"
	.align	2
.LC10:
	.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, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	b	.L2
.L29:
	ldr	r3, [fp, #-136]
	sub	r3, r3, #10
	cmp	r3, #105
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L18
	.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	.L17
	.word	.L3
	.word	.L16
	.word	.L15
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L14
	.word	.L13
	.word	.L3
	.word	.L12
	.word	.L3
	.word	.L11
	.word	.L10
	.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	.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	.L9
	.word	.L8
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L7
	.word	.L3
	.word	.L6
	.word	.L4
.L10:
	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
.L17:
	sub	r3, fp, #116
	ldr	r1, .L34+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	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
.L19:
	sub	r3, fp, #116
	ldr	r1, .L34+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	bl	pop
	str	r0, [fp, #-124]
	str	r1, [fp, #-120]
	bl	pop
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L21:
	sub	r3, fp, #116
	ldr	r1, .L34+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L22
	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	.L2
.L22:
	sub	r3, fp, #116
	mov	r1, r3
	ldr	r0, .L34+16
	bl	printf
	b	.L2
.L15:
	sub	r3, fp, #116
	mov	r2, #2
	ldr	r1, .L34+20
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	ldrb	r4, [fp, #-114]	@ zero_extendqisi2
	bl	pop
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	bl	var_set
	b	.L2
.L23:
	sub	r3, fp, #116
	mov	r2, #2
	ldr	r1, .L34+24
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	ldrb	r3, [fp, #-114]	@ zero_extendqisi2
	mov	r0, r3
	bl	var_get
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L25:
	sub	r3, fp, #116
	mov	r1, r3
	ldr	r0, .L34+28
	bl	printf
	b	.L2
.L13:
	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
.L14:
	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
.L16:
	bl	pop
	str	r0, [fp, #-124]
	str	r1, [fp, #-120]
	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
.L12:
	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
.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	.L33
	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
.L33:
	ldr	r0, .L34+32
	bl	puts
	b	.L2
.L18:
	bl	pop
	str	r0, [fp, #-132]
	str	r1, [fp, #-128]
	sub	r3, fp, #132
	ldmia	r3, {r2-r3}
	ldr	r0, .L34+36
	bl	printf
	ldr	r1, .L34+40
	sub	r3, fp, #132
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	b	.L2
.L8:
	bl	pop
	str	r0, [fp, #-132]
	str	r1, [fp, #-128]
	sub	r1, fp, #132
	ldmia	r1, {r0-r1}
	bl	push
	sub	r1, fp, #132
	ldmia	r1, {r0-r1}
	bl	push
	b	.L2
.L4:
	bl	pop
	str	r0, [fp, #-132]
	str	r1, [fp, #-128]
	bl	pop
	str	r0, [fp, #-124]
	str	r1, [fp, #-120]
	sub	r1, fp, #132
	ldmia	r1, {r0-r1}
	bl	push
	sub	r1, fp, #124
	ldmia	r1, {r0-r1}
	bl	push
	b	.L2
.L7:
	bl	pop
	str	r0, [fp, #-132]
	str	r1, [fp, #-128]
	sub	r3, fp, #132
	ldmia	r3, {r2-r3}
	ldr	r0, .L34+36
	bl	printf
	ldr	r1, .L34+40
	sub	r3, fp, #132
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r1, fp, #132
	ldmia	r1, {r0-r1}
	bl	push
	b	.L2
.L9:
	bl	clear
	b	.L2
.L6:
	ldr	r3, .L34+40
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L3:
	sub	r3, fp, #116
	mov	r1, r3
	ldr	r0, .L34+44
	bl	printf
	nop
.L2:
	sub	r3, fp, #116
	mov	r0, r3
	bl	getop
	str	r0, [fp, #-136]
	ldr	r3, [fp, #-136]
	cmn	r3, #1
	bne	.L29
	mov	r3, #0
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC10
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	recent
	.word	.LC9
	.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
.LC11:
	.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, .L40
	ldr	r3, [r3]
	cmp	r3, #99
	bgt	.L37
	ldr	r3, .L40
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L40
	str	r2, [r1]
	ldr	r2, .L40+4
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	b	.L39
.L37:
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	ldr	r0, .L40+8
	bl	printf
.L39:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	sp
	.word	val
	.word	.LC11
	.size	push, .-push
	.section	.rodata
	.align	2
.LC12:
	.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, .L45
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L43
	ldr	r3, .L45
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L45
	str	r3, [r2]
	ldr	r3, .L45
	ldr	r3, [r3]
	ldr	r2, .L45+4
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	b	.L44
.L43:
	ldr	r0, .L45+8
	bl	puts
	mov	r2, #0
	mov	r3, #0
.L44:
	mov	r0, r2
	mov	r1, r3
	pop	{fp, pc}
.L46:
	.align	2
.L45:
	.word	sp
	.word	val
	.word	.LC12
	.size	pop, .-pop
	.align	2
	.global	clear
	.syntax unified
	.arm
	.fpu softvfp
	.type	clear, %function
clear:
	@ 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, .L48
	mov	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L49:
	.align	2
.L48:
	.word	sp
	.size	clear, .-clear
	.section	.rodata
	.align	2
.LC13:
	.ascii	"-\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]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	nop
.L51:
	bl	getch
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	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, #-24]
	cmp	r3, #9
	beq	.L51
	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, #-24]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L52
	ldr	r3, [fp, #-24]
	cmp	r3, #46
	beq	.L52
	ldr	r3, [fp, #-24]
	cmp	r3, #45
	beq	.L52
	ldr	r3, [fp, #-24]
	cmp	r3, #109
	beq	.L52
	ldr	r3, [fp, #-24]
	cmp	r3, #118
	beq	.L52
	ldr	r3, [fp, #-24]
	b	.L53
.L52:
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r3, #45
	bne	.L54
	nop
.L55:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getch
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	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	.L55
.L54:
	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	.L56
	nop
.L57:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getch
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	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	.L57
.L56:
	ldr	r3, [fp, #-24]
	cmp	r3, #46
	bne	.L58
	nop
.L59:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getch
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	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	.L59
.L58:
	ldr	r3, [fp, #-24]
	cmp	r3, #109
	bne	.L60
	mov	r3, #1
	str	r3, [fp, #-20]
	nop
.L61:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getch
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	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, #1024
	cmp	r3, #0
	bne	.L61
.L60:
	ldr	r3, [fp, #-24]
	cmp	r3, #118
	bne	.L62
	mov	r3, #1
	str	r3, [fp, #-16]
	nop
.L63:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getch
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	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, #1024
	cmp	r3, #0
	bne	.L63
.L62:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	cmn	r3, #1
	beq	.L64
	ldr	r0, [fp, #-24]
	bl	ungetch
.L64:
	ldr	r1, .L68
	ldr	r0, [fp, #-32]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L65
	mov	r3, #45
	b	.L53
.L65:
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	bne	.L66
	mov	r3, #35
	b	.L53
.L66:
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L67
	mov	r3, #38
	b	.L53
.L67:
	mov	r3, #48
.L53:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L69:
	.align	2
.L68:
	.word	.LC13
	.size	getop, .-getop
	.comm	buf,1,1
	.global	buf_set
	.bss
	.align	2
	.type	buf_set, %object
	.size	buf_set, 4
buf_set:
	.space	4
	.text
	.align	2
	.global	getch
	.syntax unified
	.arm
	.fpu softvfp
	.type	getch, %function
getch:
	@ 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, .L74
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L71
	bl	getchar
	mov	r3, r0
	and	r3, r3, #255
	b	.L72
.L71:
	ldr	r3, .L74+4
	ldrb	r3, [r3]	@ zero_extendqisi2
.L72:
	strb	r3, [fp, #-5]
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L75:
	.align	2
.L74:
	.word	buf_set
	.word	buf
	.size	getch, .-getch
	.section	.rodata
	.align	2
.LC14:
	.ascii	"ungetch: 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, .L80
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L77
	ldr	r0, .L80+4
	bl	puts
	b	.L79
.L77:
	ldr	r3, [fp, #-8]
	and	r2, r3, #255
	ldr	r3, .L80+8
	strb	r2, [r3]
	ldr	r3, .L80
	mov	r2, #1
	str	r2, [r3]
.L79:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L81:
	.align	2
.L80:
	.word	buf_set
	.word	.LC14
	.word	buf
	.size	ungetch, .-ungetch
	.comm	vars,26,4
	.global	__aeabi_ui2d
	.align	2
	.global	var_get
	.syntax unified
	.arm
	.fpu softvfp
	.type	var_get, %function
var_get:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	sub	r3, r3, #97
	ldr	r2, .L84
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L85:
	.align	2
.L84:
	.word	vars
	.size	var_get, .-var_get
	.global	__aeabi_d2uiz
	.align	2
	.global	var_set
	.syntax unified
	.arm
	.fpu softvfp
	.type	var_set, %function
var_set:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	mov	r1, r0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, r1
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	sub	r4, r3, #97
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2uiz
	mov	r3, r0
	and	r2, r3, #255
	ldr	r3, .L87
	strb	r2, [r3, r4]
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L88:
	.align	2
.L87:
	.word	vars
	.size	var_set, .-var_set
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
