	.file	"86076445.c"
	.intel_syntax noprefix
	.text
	.globl	var_head
	.bss
	.align 8
	.type	var_head, @object
	.size	var_head, 8
var_head:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"\nType math stuff and get answers!"
	.align 8
.LC1:
	.string	"Supports: +, -, /, *, ^, %%, (), integers only\n"
.LC2:
	.string	"For example, type in:"
.LC3:
	.string	"123 + 321"
.LC4:
	.string	"You'll get the answer:"
.LC5:
	.string	"444\n"
	.align 8
.LC6:
	.string	"Type 'quit' to exit the program.\n"
	.text
	.type	do_help, @function
do_help:
.LFB6:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	do_help, .-do_help
	.type	find_var, @function
find_var:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR var_head[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L4
.L8:
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L5
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L6
.L5:
	cmp	QWORD PTR -32[rbp], 0
	je	.L7
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
.L7:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
.L4:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L8
	mov	eax, 0
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	find_var, .-find_var
	.type	get_var, @function
get_var:
.LFB8:
	.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	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	find_var
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L10
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 1
	jmp	.L11
.L10:
	mov	eax, 0
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	get_var, .-get_var
	.section	.rodata
.LC7:
	.string	"Out of memory\n"
	.text
	.type	set_var, @function
set_var:
.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, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR var_head[rip]
	test	rax, rax
	jne	.L13
	mov	edi, 32
	call	malloc@PLT
	mov	QWORD PTR var_head[rip], rax
	mov	rax, QWORD PTR var_head[rip]
	test	rax, rax
	je	.L22
	mov	rax, QWORD PTR var_head[rip]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L16
.L13:
	lea	rdx, -40[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	find_var
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	je	.L17
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L12
.L17:
	mov	rbx, QWORD PTR -40[rbp]
	mov	edi, 32
	call	malloc@PLT
	mov	QWORD PTR 24[rbx], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L23
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -32[rbp], rax
.L16:
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -56[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR 24[rax], 0
	jmp	.L12
.L22:
	nop
	jmp	.L15
.L23:
	nop
.L15:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 14
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	set_var, .-set_var
	.type	readtok, @function
readtok:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	DWORD PTR -12[rbp], 0
	cmp	QWORD PTR -48[rbp], 0
	je	.L25
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 126
.L25:
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L26
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jle	.L27
.L26:
	mov	eax, -1
	jmp	.L28
.L27:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L30
	mov	eax, -1
	jmp	.L28
.L33:
	cmp	DWORD PTR -28[rbp], 512
	je	.L31
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L32
.L31:
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 127
	mov	eax, -1
	jmp	.L28
.L32:
	add	DWORD PTR -28[rbp], 1
.L30:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L33
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	je	.L33
	cmp	QWORD PTR -48[rbp], 0
	jne	.L34
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jge	.L35
	mov	eax, 0
	jmp	.L28
.L35:
	mov	eax, 127
	jmp	.L28
.L34:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 126
	jne	.L63
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 62
	je	.L37
	cmp	eax, 62
	jg	.L36
	cmp	eax, 61
	je	.L38
	cmp	eax, 61
	jg	.L36
	cmp	eax, 33
	je	.L39
	cmp	eax, 60
	je	.L37
	jmp	.L36
.L39:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 61
	je	.L38
	mov	DWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 7
	jmp	.L40
.L42:
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
.L40:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L41
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L42
.L41:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, -1
	jmp	.L28
.L38:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 61
	je	.L43
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 62
	je	.L43
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 60
	jne	.L64
.L43:
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 7
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -28[rbp], 1
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, 1
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -28[rbp], 1
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 2
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -28[rbp]
	jmp	.L28
.L37:
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 7
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -28[rbp], 1
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 61
	je	.L45
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 60
	je	.L45
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 62
	jne	.L46
.L45:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, 1
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -28[rbp], 1
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 2
	mov	BYTE PTR [rax], 0
	jmp	.L47
.L46:
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], 0
.L47:
	mov	eax, DWORD PTR -28[rbp]
	jmp	.L28
.L63:
	nop
	jmp	.L36
.L64:
	nop
.L36:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 126
	jne	.L48
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 61
	jne	.L48
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 6
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
.L48:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 126
	jne	.L49
	jmp	.L50
.L52:
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 1
	cmp	DWORD PTR -28[rbp], 512
	je	.L65
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
.L50:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L49
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jle	.L52
	jmp	.L49
.L65:
	nop
.L49:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 126
	jne	.L53
	jmp	.L54
.L56:
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 2
	cmp	DWORD PTR -28[rbp], 512
	je	.L66
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
.L54:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 96
	jle	.L53
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 122
	jle	.L56
	jmp	.L53
.L66:
	nop
.L53:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 126
	jne	.L57
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 43
	je	.L58
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	je	.L58
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	je	.L58
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L58
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 94
	je	.L58
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 37
	jne	.L57
.L58:
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 3
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
.L57:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 126
	jne	.L59
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 40
	jne	.L60
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 4
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	jmp	.L59
.L60:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 41
	jne	.L59
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 5
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
.L59:
	cmp	DWORD PTR -28[rbp], 512
	je	.L61
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 126
	je	.L61
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 127
	jne	.L62
.L61:
	mov	DWORD PTR -28[rbp], -1
.L62:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -28[rbp]
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	readtok, .-readtok
	.section	.rodata
.LC8:
	.string	"error: divide by zero\n"
.LC9:
	.string	"error: bad operation\n"
	.text
	.type	do_operation, @function
do_operation:
.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, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	cmp	DWORD PTR -20[rbp], 47
	jg	.L68
	cmp	DWORD PTR -20[rbp], 37
	jl	.L69
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 37
	cmp	eax, 10
	ja	.L69
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L71[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L71[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L71:
	.long	.L75-.L71
	.long	.L69-.L71
	.long	.L69-.L71
	.long	.L69-.L71
	.long	.L69-.L71
	.long	.L74-.L71
	.long	.L73-.L71
	.long	.L69-.L71
	.long	.L72-.L71
	.long	.L69-.L71
	.long	.L70-.L71
	.text
.L68:
	cmp	DWORD PTR -20[rbp], 94
	je	.L76
	jmp	.L69
.L70:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L77
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L78
.L77:
	mov	rax, QWORD PTR -8[rbp]
	cqo
	idiv	QWORD PTR -16[rbp]
	jmp	.L78
.L73:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	jmp	.L78
.L72:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR -16[rbp]
	jmp	.L78
.L74:
	mov	rax, QWORD PTR -8[rbp]
	imul	rax, QWORD PTR -16[rbp]
	jmp	.L78
.L75:
	mov	rax, QWORD PTR -8[rbp]
	cqo
	idiv	QWORD PTR -16[rbp]
	mov	rax, rdx
	jmp	.L78
.L76:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, QWORD PTR -16[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, QWORD PTR -8[rbp]
	movq	rax, xmm2
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	cvttsd2si	rax, xmm0
	jmp	.L78
.L69:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	eax, 0
.L78:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	do_operation, .-do_operation
	.section	.rodata
.LC10:
	.string	"error: no such variable: %s\n"
	.align 8
.LC11:
	.string	"error: left side of comparison empty\n"
.LC12:
	.string	"=="
.LC13:
	.string	"!="
.LC14:
	.string	"<>"
.LC15:
	.string	"><"
.LC16:
	.string	">="
.LC17:
	.string	"=>"
.LC18:
	.string	"<="
.LC19:
	.string	"=<"
.LC20:
	.string	">"
.LC21:
	.string	"<"
	.align 8
.LC22:
	.string	"error: bad comparison operator '%s'\n"
.LC23:
	.string	"error: lvalue not a variable\n"
	.align 8
.LC24:
	.string	"warning: too many sign specifiers\n"
.LC25:
	.string	"error: no lvalue specified\n"
	.align 8
.LC26:
	.string	"error: two operations specified\n"
	.align 8
.LC27:
	.string	"error: lset+op: this should not happen...\n"
	.align 8
.LC28:
	.string	"Error: end-of-line; expected ')'\n"
	.align 8
.LC29:
	.string	"Error: unknown character; expected ')'\n"
.LC30:
	.string	")"
.LC31:
	.string	"warning: overflow\n"
	.align 8
.LC32:
	.string	"error: cannot interpret as number: '%s'\n"
.LC33:
	.string	"error: operation required\n"
	.align 8
.LC34:
	.string	"error: ')' without matching '('\n"
.LC35:
	.string	"error: unknown character\n"
.LC36:
	.string	"error: no values given\n"
	.text
	.type	expression, @function
expression:
.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, 1136
	mov	QWORD PTR -1128[rbp], rdi
	mov	DWORD PTR -1132[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1116[rbp], 0
	mov	DWORD PTR -1112[rbp], 0
	mov	DWORD PTR -1108[rbp], 0
	mov	DWORD PTR -1104[rbp], 0
	mov	QWORD PTR -1096[rbp], 0
	mov	QWORD PTR -1080[rbp], 0
	mov	QWORD PTR -1072[rbp], 0
	mov	DWORD PTR -1100[rbp], 0
	cmp	DWORD PTR -1132[rbp], 0
	jne	.L82
	mov	eax, 0
	jmp	.L150
.L149:
	mov	eax, DWORD PTR -1116[rbp]
	cmp	eax, DWORD PTR -1132[rbp]
	jne	.L83
	mov	rax, QWORD PTR -1096[rbp]
	jmp	.L150
.L83:
	lea	rcx, -1120[rbp]
	lea	rdx, -1040[rbp]
	mov	esi, DWORD PTR -1116[rbp]
	mov	rax, QWORD PTR -1128[rbp]
	mov	rdi, rax
	call	readtok
	mov	DWORD PTR -1116[rbp], eax
	movzx	eax, BYTE PTR -1040[rbp]
	test	al, al
	jne	.L84
	cmp	DWORD PTR -1104[rbp], -1
	jne	.L84
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1056[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L85
.L84:
	mov	eax, DWORD PTR -1120[rbp]
	cmp	eax, 127
	je	.L86
	cmp	eax, 127
	jg	.L87
	cmp	eax, 7
	jg	.L88
	test	eax, eax
	js	.L87
	cmp	eax, 7
	ja	.L87
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L90[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L90[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L90:
	.long	.L82-.L90
	.long	.L96-.L90
	.long	.L95-.L90
	.long	.L94-.L90
	.long	.L93-.L90
	.long	.L92-.L90
	.long	.L91-.L90
	.long	.L89-.L90
	.text
.L88:
	cmp	eax, 126
	je	.L98
	jmp	.L87
.L89:
	cmp	DWORD PTR -1116[rbp], 0
	js	.L153
	cmp	DWORD PTR -1108[rbp], 0
	jne	.L101
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 37
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L150
.L101:
	mov	eax, DWORD PTR -1116[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1128[rbp]
	add	rax, rdx
	mov	QWORD PTR -1064[rbp], rax
	mov	eax, DWORD PTR -1132[rbp]
	sub	eax, DWORD PTR -1116[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -1064[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	expression
	mov	QWORD PTR -1096[rbp], rax
	lea	rax, -1040[rbp]
	mov	rdx, rax
	lea	rax, .LC12[rip]
	mov	ecx, 3
	mov	rsi, rdx
	mov	rdi, rax
	repz cmpsb
	seta	al
	setb	dl
	sub	eax, edx
	movsx	eax, al
	test	eax, eax
	jne	.L102
	mov	rax, QWORD PTR -1096[rbp]
	cmp	QWORD PTR -1080[rbp], rax
	jne	.L103
	mov	QWORD PTR -1096[rbp], 1
	jmp	.L104
.L103:
	mov	QWORD PTR -1096[rbp], 0
	jmp	.L104
.L102:
	lea	rax, -1040[rbp]
	mov	rdx, rax
	lea	rax, .LC13[rip]
	mov	ecx, 3
	mov	rsi, rdx
	mov	rdi, rax
	repz cmpsb
	seta	al
	setb	dl
	sub	eax, edx
	movsx	eax, al
	test	eax, eax
	je	.L105
	lea	rax, -1040[rbp]
	mov	rdx, rax
	lea	rax, .LC14[rip]
	mov	ecx, 3
	mov	rsi, rdx
	mov	rdi, rax
	repz cmpsb
	seta	al
	setb	dl
	sub	eax, edx
	movsx	eax, al
	test	eax, eax
	je	.L105
	lea	rax, -1040[rbp]
	mov	rdx, rax
	lea	rax, .LC15[rip]
	mov	ecx, 3
	mov	rsi, rdx
	mov	rdi, rax
	repz cmpsb
	seta	al
	setb	dl
	sub	eax, edx
	movsx	eax, al
	test	eax, eax
	jne	.L106
.L105:
	mov	rax, QWORD PTR -1096[rbp]
	cmp	QWORD PTR -1080[rbp], rax
	je	.L107
	mov	QWORD PTR -1096[rbp], 1
	jmp	.L104
.L107:
	mov	QWORD PTR -1096[rbp], 0
	jmp	.L104
.L106:
	lea	rax, -1040[rbp]
	mov	rdx, rax
	lea	rax, .LC16[rip]
	mov	ecx, 3
	mov	rsi, rdx
	mov	rdi, rax
	repz cmpsb
	seta	al
	setb	dl
	sub	eax, edx
	movsx	eax, al
	test	eax, eax
	je	.L109
	lea	rax, -1040[rbp]
	mov	rdx, rax
	lea	rax, .LC17[rip]
	mov	ecx, 3
	mov	rsi, rdx
	mov	rdi, rax
	repz cmpsb
	seta	al
	setb	dl
	sub	eax, edx
	movsx	eax, al
	test	eax, eax
	jne	.L110
.L109:
	mov	rax, QWORD PTR -1096[rbp]
	cmp	QWORD PTR -1080[rbp], rax
	jl	.L111
	mov	QWORD PTR -1096[rbp], 1
	jmp	.L104
.L111:
	mov	QWORD PTR -1096[rbp], 0
	jmp	.L104
.L110:
	lea	rax, -1040[rbp]
	mov	rdx, rax
	lea	rax, .LC18[rip]
	mov	ecx, 3
	mov	rsi, rdx
	mov	rdi, rax
	repz cmpsb
	seta	al
	setb	dl
	sub	eax, edx
	movsx	eax, al
	test	eax, eax
	je	.L113
	lea	rax, -1040[rbp]
	mov	rdx, rax
	lea	rax, .LC19[rip]
	mov	ecx, 3
	mov	rsi, rdx
	mov	rdi, rax
	repz cmpsb
	seta	al
	setb	dl
	sub	eax, edx
	movsx	eax, al
	test	eax, eax
	jne	.L114
.L113:
	mov	rax, QWORD PTR -1096[rbp]
	cmp	QWORD PTR -1080[rbp], rax
	jg	.L115
	mov	QWORD PTR -1096[rbp], 1
	jmp	.L104
.L115:
	mov	QWORD PTR -1096[rbp], 0
	jmp	.L104
.L114:
	lea	rax, -1040[rbp]
	mov	rdx, rax
	lea	rax, .LC20[rip]
	mov	ecx, 2
	mov	rsi, rdx
	mov	rdi, rax
	repz cmpsb
	seta	al
	setb	dl
	sub	eax, edx
	movsx	eax, al
	test	eax, eax
	jne	.L117
	mov	rax, QWORD PTR -1096[rbp]
	cmp	QWORD PTR -1080[rbp], rax
	jle	.L118
	mov	QWORD PTR -1096[rbp], 1
	jmp	.L104
.L118:
	mov	QWORD PTR -1096[rbp], 0
	jmp	.L104
.L117:
	lea	rax, -1040[rbp]
	mov	rdx, rax
	lea	rax, .LC21[rip]
	mov	ecx, 2
	mov	rsi, rdx
	mov	rdi, rax
	repz cmpsb
	seta	al
	setb	dl
	sub	eax, edx
	movsx	eax, al
	test	eax, eax
	jne	.L154
	mov	rax, QWORD PTR -1096[rbp]
	cmp	QWORD PTR -1080[rbp], rax
	jge	.L119
	mov	QWORD PTR -1096[rbp], 1
	jmp	.L104
.L119:
	mov	QWORD PTR -1096[rbp], 0
	jmp	.L104
.L153:
	nop
	jmp	.L100
.L154:
	nop
.L100:
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1040[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L150
.L104:
	mov	rax, QWORD PTR -1096[rbp]
	jmp	.L150
.L91:
	cmp	DWORD PTR -1104[rbp], 0
	jne	.L120
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L150
.L120:
	mov	eax, DWORD PTR -1116[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1128[rbp]
	add	rax, rdx
	mov	QWORD PTR -1064[rbp], rax
	mov	eax, DWORD PTR -1132[rbp]
	sub	eax, DWORD PTR -1116[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -1064[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	expression
	mov	QWORD PTR -1096[rbp], rax
	mov	rdx, QWORD PTR -1096[rbp]
	lea	rax, -1056[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	set_var
	mov	rax, QWORD PTR -1096[rbp]
	jmp	.L150
.L94:
	cmp	DWORD PTR -1104[rbp], -1
	jne	.L121
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1056[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L150
.L121:
	cmp	DWORD PTR -1108[rbp], 0
	je	.L122
	cmp	DWORD PTR -1100[rbp], 0
	je	.L123
.L122:
	movzx	eax, BYTE PTR -1040[rbp]
	cmp	al, 43
	jne	.L124
	cmp	DWORD PTR -1112[rbp], 0
	je	.L125
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC24[rip]
	call	fwrite@PLT
.L125:
	mov	DWORD PTR -1112[rbp], -1
	jmp	.L82
.L124:
	movzx	eax, BYTE PTR -1040[rbp]
	cmp	al, 45
	jne	.L126
	cmp	DWORD PTR -1112[rbp], 0
	je	.L127
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC24[rip]
	call	fwrite@PLT
.L127:
	mov	DWORD PTR -1112[rbp], 1
	jmp	.L82
.L126:
	cmp	DWORD PTR -1108[rbp], 0
	jne	.L128
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, .LC25[rip]
	call	fwrite@PLT
	jmp	.L129
.L128:
	cmp	DWORD PTR -1100[rbp], 0
	je	.L130
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC26[rip]
	call	fwrite@PLT
	jmp	.L129
.L130:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC27[rip]
	call	fwrite@PLT
.L129:
	mov	eax, 0
	jmp	.L150
.L123:
	movzx	eax, BYTE PTR -1040[rbp]
	movsx	eax, al
	mov	DWORD PTR -1100[rbp], eax
	nop
	cmp	DWORD PTR -1116[rbp], 0
	jns	.L82
	jmp	.L152
.L93:
	mov	BYTE PTR -528[rbp], 0
.L137:
	lea	rcx, -1120[rbp]
	lea	rdx, -1040[rbp]
	mov	esi, DWORD PTR -1116[rbp]
	mov	rax, QWORD PTR -1128[rbp]
	mov	rdi, rax
	call	readtok
	mov	DWORD PTR -1116[rbp], eax
	mov	eax, DWORD PTR -1120[rbp]
	cmp	eax, 127
	jne	.L132
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC28[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L150
.L132:
	mov	eax, DWORD PTR -1120[rbp]
	cmp	eax, 126
	jne	.L133
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC29[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L150
.L133:
	lea	rax, -1040[rbp]
	mov	rdx, rax
	lea	rax, .LC30[rip]
	mov	ecx, 2
	mov	rsi, rdx
	mov	rdi, rax
	repz cmpsb
	seta	al
	setb	dl
	sub	eax, edx
	movsx	eax, al
	test	eax, eax
	je	.L155
	lea	rcx, -1040[rbp]
	lea	rax, -528[rbp]
	mov	edx, 511
	mov	rsi, rcx
	mov	rdi, rax
	call	strncat@PLT
	jmp	.L137
.L155:
	nop
	lea	rax, -528[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	lea	rax, -528[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	expression
	mov	QWORD PTR -1096[rbp], rax
	jmp	.L138
.L96:
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 19
	jbe	.L139
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC31[rip]
	call	fwrite@PLT
.L139:
	lea	rcx, -1088[rbp]
	lea	rax, -1040[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR -1096[rbp], rax
	mov	rdx, QWORD PTR -1088[rbp]
	lea	rax, -1040[rbp]
	cmp	rdx, rax
	jne	.L156
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1040[rbp]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L156
.L95:
	cmp	DWORD PTR -1104[rbp], 0
	jne	.L141
	cmp	DWORD PTR -1100[rbp], 0
	jne	.L141
	cmp	DWORD PTR -1108[rbp], 0
	jne	.L141
	lea	rcx, -1040[rbp]
	lea	rax, -1056[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	lea	rdx, -1096[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	get_var
	test	eax, eax
	je	.L142
	mov	DWORD PTR -1104[rbp], 1
	jmp	.L141
.L142:
	mov	DWORD PTR -1104[rbp], -1
.L141:
	cmp	DWORD PTR -1100[rbp], 0
	je	.L157
	lea	rdx, -1096[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	get_var
	test	eax, eax
	jne	.L157
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1040[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L150
.L156:
	nop
	jmp	.L138
.L157:
	nop
.L138:
	cmp	DWORD PTR -1112[rbp], 0
	jle	.L144
	mov	rax, QWORD PTR -1096[rbp]
	neg	rax
	mov	QWORD PTR -1096[rbp], rax
.L144:
	cmp	DWORD PTR -1108[rbp], 0
	jne	.L145
	mov	rax, QWORD PTR -1096[rbp]
	mov	QWORD PTR -1080[rbp], rax
	mov	DWORD PTR -1112[rbp], 0
	mov	DWORD PTR -1108[rbp], 1
	jmp	.L82
.L145:
	cmp	DWORD PTR -1100[rbp], 0
	je	.L146
	mov	rax, QWORD PTR -1096[rbp]
	mov	QWORD PTR -1072[rbp], rax
	mov	DWORD PTR -1112[rbp], 0
	mov	edx, DWORD PTR -1100[rbp]
	mov	rcx, QWORD PTR -1072[rbp]
	mov	rax, QWORD PTR -1080[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	do_operation
	mov	QWORD PTR -1096[rbp], rax
	mov	DWORD PTR -1100[rbp], 0
	mov	rax, QWORD PTR -1096[rbp]
	mov	QWORD PTR -1080[rbp], rax
	jmp	.L82
.L146:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC33[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L150
.L92:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC34[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L150
.L98:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC35[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L150
.L86:
	cmp	DWORD PTR -1112[rbp], 0
	je	.L147
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC36[rip]
	call	fwrite@PLT
.L147:
	cmp	DWORD PTR -1104[rbp], -1
	jne	.L148
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1056[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L148:
	mov	rax, QWORD PTR -1096[rbp]
	jmp	.L150
.L87:
	mov	rax, QWORD PTR -1096[rbp]
	jmp	.L150
.L152:
	mov	rax, QWORD PTR -1096[rbp]
	jmp	.L150
.L82:
	cmp	DWORD PTR -1116[rbp], 511
	jg	.L85
	mov	eax, DWORD PTR -1116[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1128[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L149
.L85:
	mov	rax, QWORD PTR -1096[rbp]
.L150:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L151
	call	__stack_chk_fail@PLT
.L151:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	expression, .-expression
	.section	.rodata
	.align 8
.LC37:
	.string	"Jody's little calculator (type 'quit' to exit)\n\n"
.LC38:
	.string	"Error reading stdin\n"
.LC39:
	.string	"quit"
.LC40:
	.string	"exit"
.LC41:
	.string	"help"
.LC42:
	.string	"%ld\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 560
	mov	DWORD PTR -548[rbp], edi
	mov	QWORD PTR -560[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -532[rbp], 0
	mov	BYTE PTR -17[rbp], 0
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 48
	mov	esi, 1
	lea	rdi, .LC37[rip]
	call	fwrite@PLT
.L165:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -528[rbp]
	mov	esi, 512
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L159
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC38[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L159:
	lea	rax, -528[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -532[rbp], eax
	mov	eax, DWORD PTR -532[rbp]
	sub	eax, 1
	cdqe
	movzx	eax, BYTE PTR -528[rbp+rax]
	cmp	al, 10
	jne	.L160
	sub	DWORD PTR -532[rbp], 1
	mov	eax, DWORD PTR -532[rbp]
	cdqe
	mov	BYTE PTR -528[rbp+rax], 0
.L160:
	cmp	DWORD PTR -532[rbp], 0
	je	.L167
	lea	rax, -528[rbp]
	mov	rdx, rax
	lea	rax, .LC39[rip]
	mov	ecx, 5
	mov	rsi, rdx
	mov	rdi, rax
	repz cmpsb
	seta	al
	setb	dl
	sub	eax, edx
	movsx	eax, al
	test	eax, eax
	je	.L163
	lea	rax, -528[rbp]
	mov	rdx, rax
	lea	rax, .LC40[rip]
	mov	ecx, 5
	mov	rsi, rdx
	mov	rdi, rax
	repz cmpsb
	seta	al
	setb	dl
	sub	eax, edx
	movsx	eax, al
	test	eax, eax
	je	.L163
	lea	rax, -528[rbp]
	mov	rdx, rax
	lea	rax, .LC41[rip]
	mov	ecx, 5
	mov	rsi, rdx
	mov	rdi, rax
	repz cmpsb
	seta	al
	setb	dl
	sub	eax, edx
	movsx	eax, al
	test	eax, eax
	jne	.L164
	call	do_help
	jmp	.L165
.L164:
	mov	edx, DWORD PTR -532[rbp]
	lea	rax, -528[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	expression
	mov	rsi, rax
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L165
.L167:
	nop
	jmp	.L165
.L163:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE13:
	.size	main, .-main
	.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	"86076445.c"
	.text
	.comm	var_head,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Type math stuff and get answers!\000"
	.align	2
.LC1:
	.ascii	"Supports: +, -, /, *, ^, %%, (), integers only\012\000"
	.align	2
.LC2:
	.ascii	"For example, type in:\000"
	.align	2
.LC3:
	.ascii	"123 + 321\000"
	.align	2
.LC4:
	.ascii	"You'll get the answer:\000"
	.align	2
.LC5:
	.ascii	"444\012\000"
	.align	2
.LC6:
	.ascii	"Type 'quit' to exit the program.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_help, %function
do_help:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L3
	bl	puts
	ldr	r0, .L3+4
	bl	printf
	ldr	r0, .L3+8
	bl	puts
	ldr	r0, .L3+12
	bl	puts
	ldr	r0, .L3+16
	bl	puts
	ldr	r0, .L3+20
	bl	puts
	ldr	r0, .L3+24
	bl	puts
	nop
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	do_help, .-do_help
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_var, %function
find_var:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L6
.L10:
	ldr	r3, [fp, #-8]
	mov	r2, #16
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-8]
	b	.L8
.L7:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
.L9:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-8]
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L10
	mov	r3, #0
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	var_head
	.size	find_var, .-find_var
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_var, %function
get_var:
	@ 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]
	str	r1, [fp, #-20]
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	find_var
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-8]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-20]
	stm	r1, {r2-r3}
	mov	r3, #1
	b	.L15
.L14:
	mov	r3, #0
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get_var, .-get_var
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Out of memory\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_var, %function
set_var:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L28+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L17
	mov	r0, #32
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L28+4
	str	r2, [r3]
	ldr	r3, .L28+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L26
	ldr	r3, .L28+4
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	b	.L20
.L17:
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	find_var
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L21
	ldr	r1, [fp, #-20]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	b	.L16
.L21:
	ldr	r4, [fp, #-24]
	mov	r0, #32
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #24]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-20]
.L20:
	ldr	r3, [fp, #-20]
	mov	r2, #16
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	strncpy
	ldr	r1, [fp, #-20]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	ldr	r3, [fp, #-20]
	mov	r2, #0
	str	r2, [r3, #24]
	b	.L16
.L26:
	nop
	b	.L19
.L27:
	nop
.L19:
	ldr	r3, .L28+8
	ldr	r3, [r3]
	mov	r2, #14
	mov	r1, #1
	ldr	r0, .L28+12
	bl	fwrite
	mov	r0, #1
	bl	exit
.L16:
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC8
	.word	var_head
	.word	stderr
	.word	.LC7
	.size	set_var, .-set_var
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	readtok, %function
readtok:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #-36]
	mov	r2, #126
	str	r2, [r3]
.L31:
	ldr	r3, [fp, #-32]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L32
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	ble	.L33
.L32:
	mvn	r3, #0
	b	.L34
.L33:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L36
	mvn	r3, #0
	b	.L34
.L39:
	ldr	r3, [fp, #-28]
	cmp	r3, #512
	beq	.L37
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L38
.L37:
	ldr	r3, [fp, #-36]
	mov	r2, #127
	str	r2, [r3]
	mvn	r3, #0
	b	.L34
.L38:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L36:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L39
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L39
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L40
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bge	.L41
	mov	r3, #0
	b	.L34
.L41:
	mov	r3, #127
	b	.L34
.L40:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	cmp	r3, #126
	bne	.L70
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #33
	cmp	r3, #29
	ldrls	pc, [pc, r3, asl #2]
	b	.L42
.L44:
	.word	.L46
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L43
	.word	.L45
	.word	.L43
.L46:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #61
	beq	.L45
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-36]
	mov	r2, #7
	str	r2, [r3]
	b	.L47
.L49:
	ldr	r3, [fp, #-28]
	add	r2, r3, #1
	str	r2, [fp, #-28]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r1, r3, #1
	str	r1, [fp, #-12]
	mov	r1, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L47:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L48
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L49
.L48:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	mvn	r3, #0
	b	.L34
.L45:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #61
	beq	.L50
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #62
	beq	.L50
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #60
	bne	.L71
.L50:
	ldr	r3, [fp, #-36]
	mov	r2, #7
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-32]
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	b	.L34
.L43:
	ldr	r3, [fp, #-36]
	mov	r2, #7
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-32]
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #61
	beq	.L52
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #60
	beq	.L52
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #62
	bne	.L53
.L52:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	mov	r2, #0
	strb	r2, [r3]
	b	.L54
.L53:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
.L54:
	ldr	r3, [fp, #-28]
	b	.L34
.L70:
	nop
	b	.L42
.L71:
	nop
.L42:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	cmp	r3, #126
	bne	.L55
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #61
	bne	.L55
	ldr	r3, [fp, #-36]
	mov	r2, #6
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r2, r3, #1
	str	r2, [fp, #-28]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r2, r3, r2
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	str	r1, [fp, #-16]
	mov	r1, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L55:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	cmp	r3, #126
	bne	.L56
	b	.L57
.L59:
	ldr	r3, [fp, #-36]
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	cmp	r3, #512
	beq	.L72
	ldr	r3, [fp, #-28]
	add	r2, r3, #1
	str	r2, [fp, #-28]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r2, r3, r2
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	str	r1, [fp, #-16]
	mov	r1, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L57:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L56
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L59
	b	.L56
.L72:
	nop
.L56:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	cmp	r3, #126
	bne	.L60
	b	.L61
.L63:
	ldr	r3, [fp, #-36]
	mov	r2, #2
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	cmp	r3, #512
	beq	.L73
	ldr	r3, [fp, #-28]
	add	r2, r3, #1
	str	r2, [fp, #-28]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r2, r3, r2
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	str	r1, [fp, #-16]
	mov	r1, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L61:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L60
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #122
	bls	.L63
	b	.L60
.L73:
	nop
.L60:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	cmp	r3, #126
	bne	.L64
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #43
	beq	.L65
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L65
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	beq	.L65
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L65
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #94
	beq	.L65
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #37
	bne	.L64
.L65:
	ldr	r3, [fp, #-36]
	mov	r2, #3
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r2, r3, #1
	str	r2, [fp, #-28]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r2, r3, r2
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	str	r1, [fp, #-16]
	mov	r1, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L64:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	cmp	r3, #126
	bne	.L66
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #40
	bne	.L67
	ldr	r3, [fp, #-36]
	mov	r2, #4
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r2, r3, #1
	str	r2, [fp, #-28]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r2, r3, r2
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	str	r1, [fp, #-16]
	mov	r1, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	b	.L66
.L67:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #41
	bne	.L66
	ldr	r3, [fp, #-36]
	mov	r2, #5
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r2, r3, #1
	str	r2, [fp, #-28]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r2, r3, r2
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	str	r1, [fp, #-16]
	mov	r1, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L66:
	ldr	r3, [fp, #-28]
	cmp	r3, #512
	beq	.L68
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	cmp	r3, #126
	beq	.L68
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	cmp	r3, #127
	bne	.L69
.L68:
	mvn	r3, #0
	str	r3, [fp, #-28]
.L69:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
.L34:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	readtok, .-readtok
	.section	.rodata
	.align	2
.LC9:
	.ascii	"error: divide by zero\012\000"
	.global	__aeabi_ldivmod
	.global	__aeabi_l2d
	.global	__aeabi_d2lz
	.align	2
.LC10:
	.ascii	"error: bad operation\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_operation, %function
do_operation:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #4]
	cmp	r3, #47
	bgt	.L75
	ldr	r3, [fp, #4]
	cmp	r3, #37
	blt	.L76
	ldr	r3, [fp, #4]
	sub	r3, r3, #37
	cmp	r3, #10
	ldrls	pc, [pc, r3, asl #2]
	b	.L76
.L78:
	.word	.L82
	.word	.L76
	.word	.L76
	.word	.L76
	.word	.L76
	.word	.L81
	.word	.L80
	.word	.L76
	.word	.L79
	.word	.L76
	.word	.L77
.L75:
	ldr	r3, [fp, #4]
	cmp	r3, #94
	beq	.L83
	b	.L76
.L77:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L84
	ldr	r3, .L86
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L86+4
	bl	fwrite
	mov	r4, #0
	mov	r5, #0
	b	.L85
.L84:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	b	.L85
.L80:
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	b	.L85
.L79:
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	subs	r4, r0, r2
	sbc	r5, r1, r3
	b	.L85
.L81:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	mul	r2, r3, r2
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-20]
	mul	r3, r1, r3
	add	r3, r2, r3
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-28]
	umull	r4, r5, r1, r2
	add	r3, r3, r5
	mov	r5, r3
	b	.L85
.L82:
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_ldivmod
	mov	r4, r2
	mov	r5, r3
	b	.L85
.L83:
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_l2d
	mov	r4, r0
	mov	r5, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_l2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2lz
	mov	r4, r0
	mov	r5, r1
	b	.L85
.L76:
	ldr	r3, .L86
	ldr	r3, [r3]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L86+8
	bl	fwrite
	mov	r4, #0
	mov	r5, #0
.L85:
	mov	r2, r4
	mov	r3, r5
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L87:
	.align	2
.L86:
	.word	stderr
	.word	.LC9
	.word	.LC10
	.size	do_operation, .-do_operation
	.section	.rodata
	.align	2
.LC11:
	.ascii	"error: no such variable: %s\012\000"
	.align	2
.LC12:
	.ascii	"error: left side of comparison empty\012\000"
	.align	2
.LC13:
	.ascii	"==\000"
	.align	2
.LC14:
	.ascii	"!=\000"
	.align	2
.LC15:
	.ascii	"<>\000"
	.align	2
.LC16:
	.ascii	"><\000"
	.align	2
.LC17:
	.ascii	">=\000"
	.align	2
.LC18:
	.ascii	"=>\000"
	.align	2
.LC19:
	.ascii	"<=\000"
	.align	2
.LC20:
	.ascii	"=<\000"
	.align	2
.LC21:
	.ascii	">\000"
	.align	2
.LC22:
	.ascii	"<\000"
	.align	2
.LC23:
	.ascii	"error: bad comparison operator '%s'\012\000"
	.align	2
.LC24:
	.ascii	"error: lvalue not a variable\012\000"
	.align	2
.LC25:
	.ascii	"warning: too many sign specifiers\012\000"
	.align	2
.LC26:
	.ascii	"error: no lvalue specified\012\000"
	.align	2
.LC27:
	.ascii	"error: two operations specified\012\000"
	.align	2
.LC28:
	.ascii	"error: lset+op: this should not happen...\012\000"
	.align	2
.LC29:
	.ascii	"Error: end-of-line; expected ')'\012\000"
	.align	2
.LC30:
	.ascii	"Error: unknown character; expected ')'\012\000"
	.align	2
.LC31:
	.ascii	")\000"
	.align	2
.LC32:
	.ascii	"warning: overflow\012\000"
	.align	2
.LC33:
	.ascii	"error: cannot interpret as number: '%s'\012\000"
	.align	2
.LC34:
	.ascii	"error: operation required\012\000"
	.align	2
.LC35:
	.ascii	"error: ')' without matching '('\012\000"
	.align	2
.LC36:
	.ascii	"error: unknown character\012\000"
	.align	2
.LC37:
	.ascii	"error: no values given\012\000"
	.align	2
.LC38:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	expression, %function
expression:
	@ args = 0, pretend = 0, frame = 1112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1120
	str	r0, [fp, #-1112]
	str	r1, [fp, #-1116]
	ldr	r3, .L167
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1100]
	mov	r3, #0
	str	r3, [fp, #-1096]
	mov	r3, #0
	str	r3, [fp, #-1092]
	mov	r3, #0
	str	r3, [fp, #-1088]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-1076]
	str	r3, [fp, #-1072]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-1068]
	str	r3, [fp, #-1064]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-1060]
	str	r3, [fp, #-1056]
	mov	r3, #0
	str	r3, [fp, #-1084]
	ldr	r3, [fp, #-1116]
	cmp	r3, #0
	bne	.L91
	mov	r2, #0
	mov	r3, #0
	b	.L159
.L158:
	ldr	r2, [fp, #-1100]
	ldr	r3, [fp, #-1116]
	cmp	r2, r3
	bne	.L92
	ldr	r2, [fp, #-1076]
	ldr	r3, [fp, #-1072]
	b	.L159
.L92:
	sub	r3, fp, #1104
	sub	r3, r3, #4
	sub	r2, fp, #1024
	sub	r2, r2, #4
	sub	r2, r2, #4
	ldr	r1, [fp, #-1100]
	ldr	r0, [fp, #-1112]
	bl	readtok
	str	r0, [fp, #-1100]
	ldrb	r3, [fp, #-1032]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L93
	ldr	r3, [fp, #-1088]
	cmn	r3, #1
	bne	.L93
	ldr	r3, .L167+4
	ldr	r0, [r3]
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L167+8
	bl	fprintf
	b	.L94
.L93:
	ldr	r3, [fp, #-1108]
	cmp	r3, #127
	beq	.L95
	cmp	r3, #127
	bgt	.L96
	cmp	r3, #7
	bgt	.L97
	cmp	r3, #0
	blt	.L96
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L96
.L99:
	.word	.L91
	.word	.L105
	.word	.L104
	.word	.L103
	.word	.L102
	.word	.L101
	.word	.L100
	.word	.L98
.L97:
	cmp	r3, #126
	beq	.L107
	b	.L96
.L98:
	ldr	r3, [fp, #-1100]
	cmp	r3, #0
	blt	.L162
	ldr	r3, [fp, #-1092]
	cmp	r3, #0
	bne	.L110
	ldr	r3, .L167+4
	ldr	r3, [r3]
	mov	r2, #37
	mov	r1, #1
	ldr	r0, .L167+12
	bl	fwrite
	mov	r2, #0
	mov	r3, #0
	b	.L159
.L110:
	ldr	r3, [fp, #-1100]
	ldr	r2, [fp, #-1112]
	add	r3, r2, r3
	str	r3, [fp, #-1080]
	ldr	r2, [fp, #-1116]
	ldr	r3, [fp, #-1100]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, [fp, #-1080]
	bl	expression
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1076]
	str	r3, [fp, #-1072]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L167+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L111
	ldr	r2, [fp, #-1076]
	ldr	r3, [fp, #-1072]
	ldr	r0, [fp, #-1068]
	ldr	r1, [fp, #-1064]
	cmp	r1, r3
	cmpeq	r0, r2
	bne	.L112
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-1076]
	str	r3, [fp, #-1072]
	b	.L113
.L112:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-1076]
	str	r3, [fp, #-1072]
	b	.L113
.L111:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L167+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L114
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L167+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L114
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L167+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L115
.L114:
	ldr	r2, [fp, #-1076]
	ldr	r3, [fp, #-1072]
	ldr	r0, [fp, #-1068]
	ldr	r1, [fp, #-1064]
	cmp	r1, r3
	cmpeq	r0, r2
	beq	.L116
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-1076]
	str	r3, [fp, #-1072]
	b	.L113
.L116:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-1076]
	str	r3, [fp, #-1072]
	b	.L113
.L115:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L167+32
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L118
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L167+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L119
.L118:
	ldr	r2, [fp, #-1076]
	ldr	r3, [fp, #-1072]
	ldr	r0, [fp, #-1068]
	ldr	r1, [fp, #-1064]
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L120
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-1076]
	str	r3, [fp, #-1072]
	b	.L113
.L120:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-1076]
	str	r3, [fp, #-1072]
	b	.L113
.L119:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L167+40
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L122
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L167+44
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L123
.L122:
	ldr	r0, [fp, #-1076]
	ldr	r1, [fp, #-1072]
	ldr	r2, [fp, #-1068]
	ldr	r3, [fp, #-1064]
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L124
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-1076]
	str	r3, [fp, #-1072]
	b	.L113
.L124:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-1076]
	str	r3, [fp, #-1072]
	b	.L113
.L123:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L167+48
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L126
	ldr	r0, [fp, #-1076]
	ldr	r1, [fp, #-1072]
	ldr	r2, [fp, #-1068]
	ldr	r3, [fp, #-1064]
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L127
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-1076]
	str	r3, [fp, #-1072]
	b	.L113
.L127:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-1076]
	str	r3, [fp, #-1072]
	b	.L113
.L126:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L167+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L163
	ldr	r2, [fp, #-1076]
	ldr	r3, [fp, #-1072]
	ldr	r0, [fp, #-1068]
	ldr	r1, [fp, #-1064]
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L128
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-1076]
	str	r3, [fp, #-1072]
	b	.L113
.L128:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-1076]
	str	r3, [fp, #-1072]
	b	.L113
.L162:
	nop
	b	.L109
.L163:
	nop
.L109:
	ldr	r3, .L167+4
	ldr	r0, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L167+56
	bl	fprintf
	mov	r2, #0
	mov	r3, #0
	b	.L159
.L113:
	ldr	r2, [fp, #-1076]
	ldr	r3, [fp, #-1072]
	b	.L159
.L100:
	ldr	r3, [fp, #-1088]
	cmp	r3, #0
	bne	.L129
	ldr	r3, .L167+4
	ldr	r3, [r3]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L167+60
	bl	fwrite
	mov	r2, #0
	mov	r3, #0
	b	.L159
.L129:
	ldr	r3, [fp, #-1100]
	ldr	r2, [fp, #-1112]
	add	r3, r2, r3
	str	r3, [fp, #-1080]
	ldr	r2, [fp, #-1116]
	ldr	r3, [fp, #-1100]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, [fp, #-1080]
	bl	expression
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1076]
	str	r3, [fp, #-1072]
	ldr	r2, [fp, #-1076]
	ldr	r3, [fp, #-1072]
	sub	r1, fp, #1040
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r0, r1
	bl	set_var
	ldr	r2, [fp, #-1076]
	ldr	r3, [fp, #-1072]
	b	.L159
.L103:
	ldr	r3, [fp, #-1088]
	cmn	r3, #1
	bne	.L130
	ldr	r3, .L167+4
	ldr	r0, [r3]
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L167+8
	bl	fprintf
	mov	r2, #0
	mov	r3, #0
	b	.L159
.L130:
	ldr	r3, [fp, #-1092]
	cmp	r3, #0
	beq	.L131
	ldr	r3, [fp, #-1084]
	cmp	r3, #0
	beq	.L132
.L131:
	ldrb	r3, [fp, #-1032]	@ zero_extendqisi2
	cmp	r3, #43
	bne	.L133
	ldr	r3, [fp, #-1096]
	cmp	r3, #0
	beq	.L134
	ldr	r3, .L167+4
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L167+64
	bl	fwrite
.L134:
	mvn	r3, #0
	str	r3, [fp, #-1096]
	b	.L91
.L133:
	ldrb	r3, [fp, #-1032]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L135
	ldr	r3, [fp, #-1096]
	cmp	r3, #0
	beq	.L136
	ldr	r3, .L167+4
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L167+64
	bl	fwrite
.L136:
	mov	r3, #1
	str	r3, [fp, #-1096]
	b	.L91
.L135:
	ldr	r3, [fp, #-1092]
	cmp	r3, #0
	bne	.L137
	ldr	r3, .L167+4
	ldr	r3, [r3]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L167+68
	bl	fwrite
	b	.L138
.L137:
	ldr	r3, [fp, #-1084]
	cmp	r3, #0
	beq	.L139
	ldr	r3, .L167+4
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L167+72
	bl	fwrite
	b	.L138
.L139:
	ldr	r3, .L167+4
	ldr	r3, [r3]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L167+76
	bl	fwrite
.L138:
	mov	r2, #0
	mov	r3, #0
	b	.L159
.L132:
	ldrb	r3, [fp, #-1032]	@ zero_extendqisi2
	str	r3, [fp, #-1084]
	nop
	ldr	r3, [fp, #-1100]
	cmp	r3, #0
	bge	.L91
	b	.L161
.L102:
	mov	r3, #0
	strb	r3, [fp, #-520]
.L146:
	sub	r3, fp, #1104
	sub	r3, r3, #4
	sub	r2, fp, #1024
	sub	r2, r2, #4
	sub	r2, r2, #4
	ldr	r1, [fp, #-1100]
	ldr	r0, [fp, #-1112]
	bl	readtok
	str	r0, [fp, #-1100]
	ldr	r3, [fp, #-1108]
	cmp	r3, #127
	bne	.L141
	ldr	r3, .L167+4
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L167+80
	bl	fwrite
	mov	r2, #0
	mov	r3, #0
	b	.L159
.L141:
	ldr	r3, [fp, #-1108]
	cmp	r3, #126
	bne	.L142
	ldr	r3, .L167+4
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L167+84
	bl	fwrite
	mov	r2, #0
	mov	r3, #0
	b	.L159
.L142:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L167+88
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L164
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	sub	r0, fp, #520
	ldr	r2, .L167+92
	mov	r1, r3
	bl	strncat
	b	.L146
.L164:
	nop
	sub	r3, fp, #520
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #520
	mov	r1, r2
	mov	r0, r3
	bl	expression
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1076]
	str	r3, [fp, #-1072]
	b	.L147
.L105:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #19
	bls	.L148
	ldr	r3, .L167+4
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L167+96
	bl	fwrite
.L148:
	sub	r1, fp, #1088
	sub	r1, r1, #4
	sub	r1, r1, #12
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #10
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-1076]
	str	r3, [fp, #-1072]
	ldr	r2, [fp, #-1104]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	cmp	r2, r3
	bne	.L165
	ldr	r3, .L167+4
	ldr	r0, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L167+100
	bl	fprintf
	b	.L165
.L104:
	ldr	r3, [fp, #-1088]
	cmp	r3, #0
	bne	.L150
	ldr	r3, [fp, #-1084]
	cmp	r3, #0
	bne	.L150
	ldr	r3, [fp, #-1092]
	cmp	r3, #0
	bne	.L150
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #4
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #16
	mov	r0, r3
	bl	strncpy
	sub	r2, fp, #1072
	sub	r2, r2, #4
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	get_var
	mov	r3, r0
	cmp	r3, #0
	beq	.L151
	mov	r3, #1
	str	r3, [fp, #-1088]
	b	.L150
.L151:
	mvn	r3, #0
	str	r3, [fp, #-1088]
.L150:
	ldr	r3, [fp, #-1084]
	cmp	r3, #0
	beq	.L166
	sub	r2, fp, #1072
	sub	r2, r2, #4
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	get_var
	mov	r3, r0
	cmp	r3, #0
	bne	.L166
	ldr	r3, .L167+4
	ldr	r0, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L167+8
	bl	fprintf
	mov	r2, #0
	mov	r3, #0
	b	.L159
.L165:
	nop
	b	.L147
.L166:
	nop
.L147:
	ldr	r3, [fp, #-1096]
	cmp	r3, #0
	ble	.L153
	ldr	r2, [fp, #-1076]
	ldr	r3, [fp, #-1072]
	rsbs	r2, r2, #0
	rsc	r3, r3, #0
	str	r2, [fp, #-1076]
	str	r3, [fp, #-1072]
.L153:
	ldr	r3, [fp, #-1092]
	cmp	r3, #0
	bne	.L154
	ldr	r2, [fp, #-1076]
	ldr	r3, [fp, #-1072]
	str	r2, [fp, #-1068]
	str	r3, [fp, #-1064]
	mov	r3, #0
	str	r3, [fp, #-1096]
	mov	r3, #1
	str	r3, [fp, #-1092]
	b	.L91
.L154:
	ldr	r3, [fp, #-1084]
	cmp	r3, #0
	beq	.L155
	ldr	r2, [fp, #-1076]
	ldr	r3, [fp, #-1072]
	str	r2, [fp, #-1060]
	str	r3, [fp, #-1056]
	mov	r3, #0
	str	r3, [fp, #-1096]
	ldr	r3, [fp, #-1084]
	str	r3, [sp]
	ldr	r2, [fp, #-1060]
	ldr	r3, [fp, #-1056]
	ldr	r0, [fp, #-1068]
	ldr	r1, [fp, #-1064]
	bl	do_operation
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1076]
	str	r3, [fp, #-1072]
	mov	r3, #0
	str	r3, [fp, #-1084]
	ldr	r2, [fp, #-1076]
	ldr	r3, [fp, #-1072]
	str	r2, [fp, #-1068]
	str	r3, [fp, #-1064]
	b	.L91
.L155:
	ldr	r3, .L167+4
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L167+104
	bl	fwrite
	mov	r2, #0
	mov	r3, #0
	b	.L159
.L101:
	ldr	r3, .L167+4
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L167+108
	bl	fwrite
	mov	r2, #0
	mov	r3, #0
	b	.L159
.L107:
	ldr	r3, .L167+4
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L167+112
	bl	fwrite
	mov	r2, #0
	mov	r3, #0
	b	.L159
.L95:
	ldr	r3, [fp, #-1096]
	cmp	r3, #0
	beq	.L156
	ldr	r3, .L167+4
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L167+116
	bl	fwrite
.L156:
	ldr	r3, [fp, #-1088]
	cmn	r3, #1
	bne	.L157
	ldr	r3, .L167+4
	ldr	r0, [r3]
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L167+8
	bl	fprintf
.L157:
	ldr	r2, [fp, #-1076]
	ldr	r3, [fp, #-1072]
	b	.L159
.L96:
	ldr	r2, [fp, #-1076]
	ldr	r3, [fp, #-1072]
	b	.L159
.L161:
	ldr	r2, [fp, #-1076]
	ldr	r3, [fp, #-1072]
	b	.L159
.L91:
	ldr	r3, [fp, #-1100]
	cmp	r3, #512
	bge	.L94
	ldr	r3, [fp, #-1100]
	ldr	r2, [fp, #-1112]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L158
.L94:
	ldr	r2, [fp, #-1076]
	ldr	r3, [fp, #-1072]
.L159:
	ldr	r1, .L167
	ldr	r0, [r1]
	ldr	r1, [fp, #-8]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L160
	bl	__stack_chk_fail
.L160:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L168:
	.align	2
.L167:
	.word	.LC38
	.word	stderr
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	511
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.size	expression, .-expression
	.section	.rodata
	.align	2
.LC39:
	.ascii	"Jody's little calculator (type 'quit' to exit)\012\012"
	.ascii	"\000"
	.align	2
.LC40:
	.ascii	"Error reading stdin\012\000"
	.align	2
.LC41:
	.ascii	"quit\000"
	.align	2
.LC42:
	.ascii	"exit\000"
	.align	2
.LC43:
	.ascii	"help\000"
	.align	2
.LC44:
	.ascii	"%lld\012\000"
	.align	2
.LC45:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 528
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #528
	str	r0, [fp, #-528]
	str	r1, [fp, #-532]
	ldr	r3, .L179
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-524]
	mov	r3, #0
	strb	r3, [fp, #-9]
	ldr	r3, .L179+4
	ldr	r3, [r3]
	mov	r2, #48
	mov	r1, #1
	ldr	r0, .L179+8
	bl	fwrite
.L176:
	ldr	r3, .L179+12
	ldr	r2, [r3]
	sub	r3, fp, #520
	mov	r1, #512
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L170
	ldr	r3, .L179+4
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L179+16
	bl	fwrite
	mov	r0, #1
	bl	exit
.L170:
	sub	r3, fp, #520
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-524]
	ldr	r3, [fp, #-524]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-516]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L171
	ldr	r3, [fp, #-524]
	sub	r3, r3, #1
	str	r3, [fp, #-524]
	sub	r2, fp, #520
	ldr	r3, [fp, #-524]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L171:
	ldr	r3, [fp, #-524]
	cmp	r3, #0
	beq	.L178
	sub	r3, fp, #520
	ldr	r1, .L179+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L174
	sub	r3, fp, #520
	ldr	r1, .L179+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L174
	sub	r3, fp, #520
	ldr	r1, .L179+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L175
	bl	do_help
	b	.L176
.L175:
	sub	r3, fp, #520
	ldr	r1, [fp, #-524]
	mov	r0, r3
	bl	expression
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L179+32
	bl	printf
	b	.L176
.L178:
	nop
	b	.L176
.L174:
	mov	r0, #0
	bl	exit
.L180:
	.align	2
.L179:
	.word	.LC45
	.word	stderr
	.word	.LC39
	.word	stdin
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
