	.file	"488969.c"
	.intel_syntax noprefix
	.text
	.globl	output_fh
	.bss
	.align 4
	.type	output_fh, @object
	.size	output_fh, 4
output_fh:
	.zero	4
	.globl	status_fh
	.align 4
	.type	status_fh, @object
	.size	status_fh, 4
status_fh:
	.zero	4
	.globl	binwidth
	.align 4
	.type	binwidth, @object
	.size	binwidth, 4
binwidth:
	.zero	4
	.globl	expr
	.align 8
	.type	expr, @object
	.size	expr, 8
expr:
	.zero	8
	.globl	stack
	.align 8
	.type	stack, @object
	.size	stack, 8
stack:
	.zero	8
	.globl	prog_name
	.align 8
	.type	prog_name, @object
	.size	prog_name, 8
prog_name:
	.zero	8
	.section	.rodata
.LC0:
	.string	"   "
.LC1:
	.string	"%s"
.LC2:
	.string	"AND"
.LC3:
	.string	"OR"
.LC4:
	.string	"XOR"
.LC5:
	.string	"MINUS"
.LC6:
	.string	"NOT"
.LC7:
	.string	"input_stream"
.LC8:
	.string	"%d (%d)\n"
	.text
	.globl	print_expression
	.type	print_expression, @function
print_expression:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L3:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -12[rbp], 1
.L2:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L3
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L4
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
.L4:
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	esi, edx
	mov	rdi, rax
	call	print_expression
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
.L6:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L7
	jmp	.L8
.L5:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L9
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L10
.L9:
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	esi, edx
	mov	rdi, rax
	call	print_expression
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	esi, edx
	mov	rdi, rax
	call	print_expression
	jmp	.L8
.L10:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L11
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	esi, edx
	mov	rdi, rax
	call	print_expression
	jmp	.L12
.L11:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L12
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 76[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 44[rax]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L12
.L8:
.L12:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_expression, .-print_expression
	.section	.rodata
.LC9:
	.string	"%s: stream %d error on read\n"
	.text
	.globl	ReadStream
	.type	ReadStream, @function
ReadStream:
.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
	jmp	.L14
.L19:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdi, rax
	call	getc@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 72[rax], dl
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L15
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 56[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 72[rax], 0
	jmp	.L14
.L15:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L16
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR 44[rax]
	mov	rdx, QWORD PTR prog_name[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -1
	call	exit@PLT
.L16:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 72[rax]
	shr	al, 7
	movzx	eax, al
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 68[rax]
	test	eax, eax
	jne	.L17
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR 64[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 72[rax]
	movzx	eax, al
	and	eax, 127
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 68[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 72[rax], 0
	jmp	.L14
.L17:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 64[rax]
	cmp	DWORD PTR -4[rbp], eax
	jne	.L14
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 68[rax]
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 72[rax]
	movzx	eax, al
	and	eax, 127
	add	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 68[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 72[rax], 0
	nop
.L14:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 56[rax]
	test	eax, eax
	je	.L20
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 72[rax]
	test	al, al
	je	.L19
.L20:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	ReadStream, .-ReadStream
	.globl	InitStream
	.type	InitStream, @function
InitStream:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 64[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 68[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 72[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 60[rax], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 56[rax], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 76[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	ReadStream
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	InitStream, .-InitStream
	.section	.rodata
	.align 8
.LC10:
	.string	"%s: stream %d removing more bits than we have %d %d\n"
	.align 8
.LC11:
	.string	"%s: unknown operation %s (%d) in EvalCount\n"
	.text
	.globl	EvalCount
	.type	EvalCount, @function
EvalCount:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	DWORD PTR -92[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 1
	jne	.L23
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 60[rax]
	test	eax, eax
	jne	.L24
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	InitStream
.L24:
	cmp	DWORD PTR -92[rbp], 0
	jle	.L25
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 68[rax]
	cmp	DWORD PTR -92[rbp], eax
	jle	.L26
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 72[rax]
	test	al, al
	jne	.L26
	mov	rax, QWORD PTR -72[rbp]
	mov	edi, DWORD PTR 76[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, DWORD PTR 44[rax]
	mov	rdx, QWORD PTR prog_name[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	esi, DWORD PTR -92[rbp]
	mov	r9d, edi
	mov	r8d, esi
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -1
	call	exit@PLT
.L26:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 68[rax]
	cmp	DWORD PTR -92[rbp], eax
	jge	.L27
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 68[rax]
	sub	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 68[rax], edx
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 76[rax]
	mov	eax, DWORD PTR -92[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 76[rax], edx
	jmp	.L25
.L27:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 68[rax]
	cmp	DWORD PTR -92[rbp], eax
	jne	.L30
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 76[rax]
	mov	eax, DWORD PTR -92[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 76[rax], edx
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 72[rax]
	test	al, al
	je	.L29
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 72[rax]
	shr	al, 7
	movzx	edx, al
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 64[rax], edx
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 72[rax]
	movzx	eax, al
	and	eax, 127
	mov	edx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 68[rax], edx
	mov	rax, QWORD PTR -72[rbp]
	mov	BYTE PTR 72[rax], 0
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 56[rax]
	test	eax, eax
	je	.L25
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	ReadStream
	jmp	.L25
.L29:
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 68[rax], 0
	jmp	.L25
.L31:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 68[rax]
	sub	DWORD PTR -92[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 76[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 68[rax]
	add	edx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 76[rax], edx
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 72[rax]
	shr	al, 7
	movzx	edx, al
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 64[rax], edx
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 72[rax]
	movzx	eax, al
	and	eax, 127
	mov	edx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 68[rax], edx
	mov	rax, QWORD PTR -72[rbp]
	mov	BYTE PTR 72[rax], 0
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 56[rax]
	test	eax, eax
	je	.L30
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	ReadStream
.L30:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 68[rax]
	cmp	DWORD PTR -92[rbp], eax
	jg	.L31
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 68[rax]
	sub	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 68[rax], edx
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 76[rax]
	mov	eax, DWORD PTR -92[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 76[rax], edx
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 68[rax]
	test	eax, eax
	jne	.L25
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 72[rax]
	test	al, al
	je	.L32
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 72[rax]
	shr	al, 7
	movzx	edx, al
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 64[rax], edx
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 72[rax]
	movzx	eax, al
	and	eax, 127
	mov	edx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 68[rax], edx
	mov	rax, QWORD PTR -72[rbp]
	mov	BYTE PTR 72[rax], 0
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 56[rax]
	test	eax, eax
	je	.L25
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	ReadStream
	jmp	.L25
.L32:
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 68[rax], 0
.L25:
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 64[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 68[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L22
.L23:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 2
	jne	.L34
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -20[rbp], -1
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L35
.L42:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	ecx, DWORD PTR -92[rbp]
	lea	rdx, -48[rbp]
	lea	rsi, -52[rbp]
	mov	rdi, rax
	call	EvalCount
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, 1
	jne	.L36
	cmp	DWORD PTR -20[rbp], 0
	js	.L37
	mov	eax, DWORD PTR -48[rbp]
	cmp	DWORD PTR -20[rbp], eax
	jle	.L38
.L37:
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L38
.L36:
	mov	eax, DWORD PTR -48[rbp]
	cmp	DWORD PTR -32[rbp], eax
	jge	.L38
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR -32[rbp], eax
.L38:
	cmp	DWORD PTR -32[rbp], 0
	jle	.L39
	mov	rax, QWORD PTR -80[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L40
.L39:
	cmp	DWORD PTR -20[rbp], 0
	jle	.L41
	mov	rax, QWORD PTR -80[rbp]
	mov	DWORD PTR [rax], 1
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L40
.L41:
	mov	rax, QWORD PTR -80[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], 0
.L40:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
.L35:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L42
	jmp	.L22
.L34:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 3
	jne	.L43
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -28[rbp], -1
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L44
.L51:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	ecx, DWORD PTR -92[rbp]
	lea	rdx, -48[rbp]
	lea	rsi, -52[rbp]
	mov	rdi, rax
	call	EvalCount
	mov	eax, DWORD PTR -52[rbp]
	test	eax, eax
	jne	.L45
	cmp	DWORD PTR -28[rbp], 0
	js	.L46
	mov	eax, DWORD PTR -48[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jle	.L47
.L46:
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR -28[rbp], eax
	jmp	.L47
.L45:
	mov	eax, DWORD PTR -48[rbp]
	cmp	DWORD PTR -24[rbp], eax
	jge	.L47
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR -24[rbp], eax
.L47:
	cmp	DWORD PTR -24[rbp], 0
	jle	.L48
	mov	rax, QWORD PTR -80[rbp]
	mov	DWORD PTR [rax], 1
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L49
.L48:
	cmp	DWORD PTR -28[rbp], 0
	jle	.L50
	mov	rax, QWORD PTR -80[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L49
.L50:
	mov	rax, QWORD PTR -80[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], 0
.L49:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
.L44:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L51
	jmp	.L22
.L43:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 6
	jne	.L52
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	ecx, DWORD PTR -92[rbp]
	lea	rdx, -48[rbp]
	lea	rsi, -52[rbp]
	mov	rdi, rax
	call	EvalCount
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	ecx, DWORD PTR -92[rbp]
	lea	rdx, -40[rbp]
	lea	rsi, -44[rbp]
	mov	rdi, rax
	call	EvalCount
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cmp	edx, eax
	jge	.L53
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR -36[rbp], eax
	jmp	.L54
.L53:
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -36[rbp], eax
.L54:
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR [rax], edx
	mov	edx, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR -44[rbp]
	xor	edx, eax
	mov	rax, QWORD PTR -80[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L22
.L52:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 4
	jne	.L55
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	ecx, DWORD PTR -92[rbp]
	lea	rdx, -48[rbp]
	lea	rsi, -52[rbp]
	mov	rdi, rax
	call	EvalCount
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	ecx, DWORD PTR -92[rbp]
	lea	rdx, -40[rbp]
	lea	rsi, -44[rbp]
	mov	rdi, rax
	call	EvalCount
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cmp	edx, eax
	jge	.L56
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR -36[rbp], eax
	jmp	.L57
.L56:
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -36[rbp], eax
.L57:
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -52[rbp]
	test	eax, eax
	jne	.L58
	mov	eax, DWORD PTR -44[rbp]
	test	eax, eax
	je	.L58
	mov	edx, 1
	jmp	.L59
.L58:
	mov	edx, 0
.L59:
	mov	rax, QWORD PTR -80[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L22
.L55:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 5
	jne	.L60
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	ecx, DWORD PTR -92[rbp]
	lea	rdx, -48[rbp]
	lea	rsi, -52[rbp]
	mov	rdi, rax
	call	EvalCount
	mov	edx, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -52[rbp]
	test	eax, eax
	sete	al
	movzx	edx, al
	mov	rax, QWORD PTR -80[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L22
.L60:
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rdx, QWORD PTR prog_name[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	r8d, esi
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -1
	call	exit@PLT
.L22:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L61
	call	__stack_chk_fail@PLT
.L61:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	EvalCount, .-EvalCount
	.section	.rodata
.LC12:
	.string	"="
.LC13:
	.string	"\n"
.LC14:
	.string	"in"
.LC15:
	.string	"r"
.LC16:
	.string	"%s Error opening fd: %d"
.LC17:
	.string	"op"
.LC18:
	.string	","
.LC19:
	.string	"out"
.LC20:
	.string	"status"
.LC21:
	.string	"key: %s, value: %s\n"
.LC22:
	.string	"%s: stack is NULL\n"
	.align 8
.LC23:
	.string	"%s stack in not empty after parsing expression"
.LC24:
	.string	"w"
.LC25:
	.string	"%s: can't fdopen out_fh (%d)"
.LC26:
	.string	"%s: Error on write"
.LC27:
	.string	"OK\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 136
	.cfi_offset 3, -24
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -96[rbp], 1
	mov	DWORD PTR -108[rbp], 0
	mov	DWORD PTR -124[rbp], 0
	mov	DWORD PTR -120[rbp], 0
	mov	DWORD PTR -104[rbp], 0
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR prog_name[rip], rax
	mov	DWORD PTR -116[rbp], 1
	jmp	.L63
.L80:
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -64[rbp], rax
	lea	rsi, .LC13[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L64
	mov	esi, 1
	mov	edi, 16
	call	calloc@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	esi, 1
	mov	edi, 80
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rdx, .LC7[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	DWORD PTR 8[rax], 1
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	DWORD PTR 60[rax], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rbx, QWORD PTR 8[rdx]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR 44[rbx], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	eax, DWORD PTR 44[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rbx, QWORD PTR 8[rdx]
	lea	rsi, .LC15[rip]
	mov	edi, eax
	call	fdopen@PLT
	mov	QWORD PTR 48[rbx], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	jne	.L65
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	edx, DWORD PTR 44[rax]
	mov	rax, QWORD PTR prog_name[rip]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L65:
	mov	rdx, QWORD PTR stack[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR stack[rip], rax
	jmp	.L66
.L64:
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L67
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, 3
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	je	.L68
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, 2
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L67
.L68:
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -56[rbp], rax
	lea	rsi, .LC18[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	esi, 1
	mov	edi, 16
	call	calloc@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	esi, 1
	mov	edi, 80
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L69
	mov	edx, 2
	jmp	.L70
.L69:
	mov	edx, 3
.L70:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	rbx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR 40[rbx], eax
	mov	DWORD PTR -112[rbp], 0
	jmp	.L71
.L72:
	mov	rax, QWORD PTR stack[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR stack[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR stack[rip], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 32[rax], rdx
	add	DWORD PTR -112[rbp], 1
.L71:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	eax, DWORD PTR 40[rax]
	cmp	DWORD PTR -112[rbp], eax
	jl	.L72
	mov	rdx, QWORD PTR stack[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR stack[rip], rax
	jmp	.L66
.L67:
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L73
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L74
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L73
.L74:
	mov	esi, 1
	mov	edi, 16
	call	calloc@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	esi, 1
	mov	edi, 80
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -88[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L75
	mov	edx, 6
	jmp	.L76
.L75:
	mov	edx, 4
.L76:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	DWORD PTR 8[rax], edx
	mov	rdx, QWORD PTR stack[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR 8[rdx]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR stack[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR stack[rip], rax
	mov	rdx, QWORD PTR stack[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR 8[rdx]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR stack[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR stack[rip], rax
	mov	rdx, QWORD PTR stack[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR stack[rip], rax
	jmp	.L66
.L73:
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L77
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L77
	mov	esi, 1
	mov	edi, 16
	call	calloc@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	esi, 1
	mov	edi, 80
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -88[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	DWORD PTR 8[rax], 5
	mov	rdx, QWORD PTR stack[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR 8[rdx]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR stack[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR stack[rip], rax
	mov	rdx, QWORD PTR stack[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR stack[rip], rax
	jmp	.L66
.L77:
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L78
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR output_fh[rip], eax
	jmp	.L66
.L78:
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L79
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -92[rbp], eax
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR status_fh[rip], eax
	jmp	.L66
.L79:
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
.L66:
	add	DWORD PTR -116[rbp], 1
.L63:
	mov	eax, DWORD PTR -116[rbp]
	cmp	eax, DWORD PTR -132[rbp]
	jl	.L80
	mov	rax, QWORD PTR stack[rip]
	test	rax, rax
	jne	.L81
	mov	rdx, QWORD PTR prog_name[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -1
	call	exit@PLT
.L81:
	mov	rax, QWORD PTR stack[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR expr[rip], rax
	mov	rax, QWORD PTR stack[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR stack[rip], rax
	mov	rax, QWORD PTR stack[rip]
	test	rax, rax
	je	.L82
	mov	rax, QWORD PTR prog_name[rip]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L82:
	mov	eax, DWORD PTR output_fh[rip]
	lea	rsi, .LC24[rip]
	mov	edi, eax
	call	fdopen@PLT
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L83
	mov	ecx, DWORD PTR output_fh[rip]
	mov	rdx, QWORD PTR prog_name[rip]
	lea	rax, -80[rbp]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	asprintf@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L83:
	mov	rax, QWORD PTR expr[rip]
	mov	ecx, DWORD PTR -108[rbp]
	lea	rdx, -120[rbp]
	lea	rsi, -124[rbp]
	mov	rdi, rax
	call	EvalCount
	mov	eax, DWORD PTR -120[rbp]
	mov	DWORD PTR -108[rbp], eax
	mov	eax, DWORD PTR -108[rbp]
	add	DWORD PTR -104[rbp], eax
	mov	eax, DWORD PTR -120[rbp]
	test	eax, eax
	je	.L97
	jmp	.L86
.L93:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, 127
	jle	.L87
	mov	eax, DWORD PTR -124[rbp]
	test	eax, eax
	je	.L88
	mov	DWORD PTR -100[rbp], 255
	jmp	.L89
.L88:
	mov	DWORD PTR -100[rbp], 127
.L89:
	mov	eax, DWORD PTR -120[rbp]
	sub	eax, 127
	mov	DWORD PTR -120[rbp], eax
	jmp	.L90
.L87:
	mov	eax, DWORD PTR -124[rbp]
	test	eax, eax
	je	.L91
	mov	eax, DWORD PTR -120[rbp]
	or	al, -128
	mov	DWORD PTR -100[rbp], eax
	jmp	.L92
.L91:
	mov	eax, DWORD PTR -120[rbp]
	mov	DWORD PTR -100[rbp], eax
.L92:
	mov	DWORD PTR -120[rbp], 0
.L90:
	mov	rdx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -100[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	cmp	eax, -1
	jne	.L86
	mov	rdx, QWORD PTR prog_name[rip]
	lea	rax, -80[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	asprintf@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L86:
	mov	eax, DWORD PTR -120[rbp]
	test	eax, eax
	jg	.L93
	jmp	.L83
.L97:
	nop
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rax, -88[rbp]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 0
	call	asprintf@PLT
	mov	DWORD PTR -92[rbp], eax
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR status_fh[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L95
	call	__stack_chk_fail@PLT
.L95:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"488969.c"
	.text
	.comm	output_fh,4,4
	.comm	status_fh,4,4
	.comm	binwidth,4,4
	.global	expr
	.bss
	.align	2
	.type	expr, %object
	.size	expr, 4
expr:
	.space	4
	.global	stack
	.align	2
	.type	stack, %object
	.size	stack, 4
stack:
	.space	4
	.comm	prog_name,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"   \000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"AND\000"
	.align	2
.LC3:
	.ascii	"OR\000"
	.align	2
.LC4:
	.ascii	"XOR\000"
	.align	2
.LC5:
	.ascii	"MINUS\000"
	.align	2
.LC6:
	.ascii	"NOT\000"
	.align	2
.LC7:
	.ascii	"input_stream\000"
	.align	2
.LC8:
	.ascii	"%d (%d)\012\000"
	.text
	.align	2
	.global	print_expression
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_expression, %function
print_expression:
	@ 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	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L3:
	ldr	r0, .L13
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L3
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L13+4
	bl	printf
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r1, .L13+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r1, .L13+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
.L4:
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-8]
	b	.L6
.L7:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	print_expression
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L7
	b	.L8
.L5:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r1, .L13+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r1, .L13+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
.L9:
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	print_expression
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	print_expression
	b	.L8
.L10:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r1, .L13+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	print_expression
	b	.L12
.L11:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r1, .L13+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	ldr	r3, [fp, #-16]
	ldr	r1, [r3, #24]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #52]
	mov	r2, r3
	ldr	r0, .L13+32
	bl	printf
	b	.L12
.L8:
.L12:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	print_expression, .-print_expression
	.section	.rodata
	.align	2
.LC9:
	.ascii	"%s: stream %d error on read\012\000"
	.text
	.align	2
	.global	ReadStream
	.syntax unified
	.arm
	.fpu softvfp
	.type	ReadStream, %function
ReadStream:
	@ 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]
	b	.L16
.L21:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #28]
	mov	r0, r3
	bl	getc
	mov	r3, r0
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #48]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #28]
	mov	r0, r3
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #32]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3, #48]
	b	.L16
.L17:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #28]
	mov	r0, r3
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	ldr	r3, .L23
	ldr	r0, [r3]
	ldr	r3, .L23+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #24]
	ldr	r1, .L23+8
	bl	fprintf
	mvn	r0, #0
	bl	exit
.L18:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #48]	@ zero_extendqisi2
	lsr	r3, r3, #7
	and	r3, r3, #255
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #44]
	cmp	r3, #0
	bne	.L19
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #40]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #48]	@ zero_extendqisi2
	and	r2, r3, #127
	ldr	r3, [fp, #-16]
	str	r2, [r3, #44]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3, #48]
	b	.L16
.L19:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #40]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L16
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #44]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #48]	@ zero_extendqisi2
	and	r3, r3, #127
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #44]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3, #48]
	nop
.L16:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #32]
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #48]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L21
.L22:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	stderr
	.word	prog_name
	.word	.LC9
	.size	ReadStream, .-ReadStream
	.align	2
	.global	InitStream
	.syntax unified
	.arm
	.fpu softvfp
	.type	InitStream, %function
InitStream:
	@ 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, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #40]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #44]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3, #48]
	ldr	r3, [fp, #-8]
	mov	r2, #1
	str	r2, [r3, #36]
	ldr	r3, [fp, #-8]
	mov	r2, #1
	str	r2, [r3, #32]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #52]
	ldr	r0, [fp, #-8]
	bl	ReadStream
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	InitStream, .-InitStream
	.section	.rodata
	.align	2
.LC10:
	.ascii	"%s: stream %d removing more bits than we have %d %d"
	.ascii	"\012\000"
	.align	2
.LC11:
	.ascii	"%s: unknown operation %s (%d) in EvalCount\012\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	EvalCount
	.syntax unified
	.arm
	.fpu softvfp
	.type	EvalCount, %function
EvalCount:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	str	r3, [fp, #-68]
	ldr	r3, .L66
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #4]
	cmp	r3, #1
	bne	.L27
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #36]
	cmp	r3, #0
	bne	.L28
	ldr	r0, [fp, #-56]
	bl	InitStream
.L28:
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	ble	.L29
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #44]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	ble	.L30
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3, #48]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L30
	ldr	r3, .L66+4
	ldr	r0, [r3]
	ldr	r3, .L66+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	ldr	r1, [r3, #24]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #52]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-68]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L66+12
	bl	fprintf
	mvn	r0, #0
	bl	exit
.L30:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #44]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	bge	.L31
	ldr	r3, [fp, #-56]
	ldr	r2, [r3, #44]
	ldr	r3, [fp, #-68]
	sub	r2, r2, r3
	ldr	r3, [fp, #-56]
	str	r2, [r3, #44]
	ldr	r3, [fp, #-56]
	ldr	r2, [r3, #52]
	ldr	r3, [fp, #-68]
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	str	r2, [r3, #52]
	b	.L29
.L31:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #44]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	bne	.L34
	ldr	r3, [fp, #-56]
	ldr	r2, [r3, #52]
	ldr	r3, [fp, #-68]
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	str	r2, [r3, #52]
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3, #48]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L33
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3, #48]	@ zero_extendqisi2
	lsr	r3, r3, #7
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-56]
	str	r2, [r3, #40]
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3, #48]	@ zero_extendqisi2
	and	r2, r3, #127
	ldr	r3, [fp, #-56]
	str	r2, [r3, #44]
	ldr	r3, [fp, #-56]
	mov	r2, #0
	strb	r2, [r3, #48]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #32]
	cmp	r3, #0
	beq	.L29
	ldr	r0, [fp, #-56]
	bl	ReadStream
	b	.L29
.L33:
	ldr	r3, [fp, #-56]
	mov	r2, #0
	str	r2, [r3, #44]
	b	.L29
.L35:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #44]
	ldr	r2, [fp, #-68]
	sub	r3, r2, r3
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-56]
	ldr	r2, [r3, #52]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #44]
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	str	r2, [r3, #52]
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3, #48]	@ zero_extendqisi2
	lsr	r3, r3, #7
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-56]
	str	r2, [r3, #40]
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3, #48]	@ zero_extendqisi2
	and	r2, r3, #127
	ldr	r3, [fp, #-56]
	str	r2, [r3, #44]
	ldr	r3, [fp, #-56]
	mov	r2, #0
	strb	r2, [r3, #48]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #32]
	cmp	r3, #0
	beq	.L34
	ldr	r0, [fp, #-56]
	bl	ReadStream
.L34:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #44]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	bgt	.L35
	ldr	r3, [fp, #-56]
	ldr	r2, [r3, #44]
	ldr	r3, [fp, #-68]
	sub	r2, r2, r3
	ldr	r3, [fp, #-56]
	str	r2, [r3, #44]
	ldr	r3, [fp, #-56]
	ldr	r2, [r3, #52]
	ldr	r3, [fp, #-68]
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	str	r2, [r3, #52]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #44]
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3, #48]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L36
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3, #48]	@ zero_extendqisi2
	lsr	r3, r3, #7
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-56]
	str	r2, [r3, #40]
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3, #48]	@ zero_extendqisi2
	and	r2, r3, #127
	ldr	r3, [fp, #-56]
	str	r2, [r3, #44]
	ldr	r3, [fp, #-56]
	mov	r2, #0
	strb	r2, [r3, #48]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #32]
	cmp	r3, #0
	beq	.L29
	ldr	r0, [fp, #-56]
	bl	ReadStream
	b	.L29
.L36:
	ldr	r3, [fp, #-56]
	mov	r2, #0
	str	r2, [r3, #44]
.L29:
	ldr	r3, [fp, #-56]
	ldr	r2, [r3, #40]
	ldr	r3, [fp, #-60]
	str	r2, [r3]
	ldr	r3, [fp, #-56]
	ldr	r2, [r3, #44]
	ldr	r3, [fp, #-64]
	str	r2, [r3]
	b	.L26
.L27:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #4]
	cmp	r3, #2
	bne	.L38
	mov	r3, #0
	str	r3, [fp, #-28]
	mvn	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-12]
	b	.L39
.L46:
	ldr	r3, [fp, #-12]
	ldr	r0, [r3, #4]
	sub	r2, fp, #44
	sub	r1, fp, #48
	ldr	r3, [fp, #-68]
	bl	EvalCount
	ldr	r3, [fp, #-48]
	cmp	r3, #1
	bne	.L40
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L41
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L42
.L41:
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-16]
	b	.L42
.L40:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bge	.L42
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-28]
.L42:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	ble	.L43
	ldr	r3, [fp, #-60]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	b	.L44
.L43:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L45
	ldr	r3, [fp, #-60]
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	b	.L44
.L45:
	ldr	r3, [fp, #-60]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-64]
	mov	r2, #0
	str	r2, [r3]
.L44:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
.L39:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L46
	b	.L26
.L38:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #4]
	cmp	r3, #3
	bne	.L47
	mov	r3, #0
	str	r3, [fp, #-20]
	mvn	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-12]
	b	.L48
.L55:
	ldr	r3, [fp, #-12]
	ldr	r0, [r3, #4]
	sub	r2, fp, #44
	sub	r1, fp, #48
	ldr	r3, [fp, #-68]
	bl	EvalCount
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L49
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	blt	.L50
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L51
.L50:
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-24]
	b	.L51
.L49:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bge	.L51
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-20]
.L51:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L52
	ldr	r3, [fp, #-60]
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	b	.L53
.L52:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L54
	ldr	r3, [fp, #-60]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	b	.L53
.L54:
	ldr	r3, [fp, #-60]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-64]
	mov	r2, #0
	str	r2, [r3]
.L53:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
.L48:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L55
	b	.L26
.L47:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #4]
	cmp	r3, #6
	bne	.L56
	ldr	r3, [fp, #-56]
	ldr	r0, [r3, #8]
	sub	r2, fp, #44
	sub	r1, fp, #48
	ldr	r3, [fp, #-68]
	bl	EvalCount
	ldr	r3, [fp, #-56]
	ldr	r0, [r3, #12]
	sub	r2, fp, #36
	sub	r1, fp, #40
	ldr	r3, [fp, #-68]
	bl	EvalCount
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bge	.L57
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-32]
	b	.L58
.L57:
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-32]
.L58:
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-40]
	eor	r2, r2, r3
	ldr	r3, [fp, #-60]
	str	r2, [r3]
	b	.L26
.L56:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #4]
	cmp	r3, #4
	bne	.L59
	ldr	r3, [fp, #-56]
	ldr	r0, [r3, #8]
	sub	r2, fp, #44
	sub	r1, fp, #48
	ldr	r3, [fp, #-68]
	bl	EvalCount
	ldr	r3, [fp, #-56]
	ldr	r0, [r3, #12]
	sub	r2, fp, #36
	sub	r1, fp, #40
	ldr	r3, [fp, #-68]
	bl	EvalCount
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bge	.L60
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-32]
	b	.L61
.L60:
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-32]
.L61:
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L62
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L62
	mov	r2, #1
	b	.L63
.L62:
	mov	r2, #0
.L63:
	ldr	r3, [fp, #-60]
	str	r2, [r3]
	b	.L26
.L59:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #4]
	cmp	r3, #5
	bne	.L64
	ldr	r3, [fp, #-56]
	ldr	r0, [r3, #8]
	sub	r2, fp, #44
	sub	r1, fp, #48
	ldr	r3, [fp, #-68]
	bl	EvalCount
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-64]
	str	r2, [r3]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-60]
	str	r2, [r3]
	b	.L26
.L64:
	ldr	r3, .L66+4
	ldr	r0, [r3]
	ldr	r3, .L66+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	ldr	r1, [r3]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #4]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L66+16
	bl	fprintf
	mvn	r0, #0
	bl	exit
.L26:
	ldr	r3, .L66
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L65
	bl	__stack_chk_fail
.L65:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L67:
	.align	2
.L66:
	.word	.LC12
	.word	stderr
	.word	prog_name
	.word	.LC10
	.word	.LC11
	.size	EvalCount, .-EvalCount
	.section	.rodata
	.align	2
.LC13:
	.ascii	"=\000"
	.align	2
.LC14:
	.ascii	"\012\000"
	.align	2
.LC15:
	.ascii	"in\000"
	.align	2
.LC16:
	.ascii	"r\000"
	.align	2
.LC17:
	.ascii	"%s Error opening fd: %d\000"
	.align	2
.LC18:
	.ascii	"op\000"
	.align	2
.LC19:
	.ascii	",\000"
	.align	2
.LC20:
	.ascii	"out\000"
	.align	2
.LC21:
	.ascii	"status\000"
	.align	2
.LC22:
	.ascii	"key: %s, value: %s\012\000"
	.align	2
.LC23:
	.ascii	"%s: stack is NULL\012\000"
	.align	2
.LC24:
	.ascii	"%s stack in not empty after parsing expression\000"
	.align	2
.LC25:
	.ascii	"w\000"
	.align	2
.LC26:
	.ascii	"%s: can't fdopen out_fh (%d)\000"
	.align	2
.LC27:
	.ascii	"%s: Error on write\000"
	.align	2
.LC28:
	.ascii	"OK\012\000"
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #84
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	ldr	r3, .L104
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-92]
	ldr	r3, [r3]
	ldr	r2, .L104+4
	str	r3, [r2]
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L69
.L86:
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L104+8
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-36]
	ldr	r1, .L104+12
	mov	r0, #0
	bl	strtok
	mov	r3, r0
	str	r3, [fp, #-84]
	ldr	r1, .L104+16
	ldr	r0, [fp, #-36]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L70
	mov	r1, #1
	mov	r0, #8
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r1, #1
	mov	r0, #56
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r2, .L104+20
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	mov	r2, #0
	str	r2, [r3, #36]
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-24]
	ldr	r4, [r3, #4]
	mov	r0, r2
	bl	atoi
	mov	r3, r0
	str	r3, [r4, #24]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-24]
	ldr	r4, [r3, #4]
	ldr	r1, .L104+24
	mov	r0, r2
	bl	fdopen
	mov	r3, r0
	str	r3, [r4, #28]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	bne	.L71
	ldr	r3, .L104+4
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #24]
	mov	r2, r3
	ldr	r0, .L104+28
	bl	printf
	mvn	r0, #0
	bl	exit
.L71:
	ldr	r3, .L104+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r2, .L104+32
	ldr	r3, [fp, #-24]
	str	r3, [r2]
	b	.L72
.L70:
	ldr	r1, .L104+36
	ldr	r0, [fp, #-36]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L73
	ldr	r3, [fp, #-84]
	mov	r2, #3
	ldr	r1, .L104+40
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L74
	ldr	r3, [fp, #-84]
	mov	r2, #2
	ldr	r1, .L104+44
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L73
.L74:
	ldr	r3, [fp, #-84]
	ldr	r1, .L104+48
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-32]
	ldr	r1, .L104+48
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-28]
	mov	r1, #1
	mov	r0, #8
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r1, #1
	mov	r0, #56
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	ldr	r1, .L104+40
	ldr	r0, [fp, #-32]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L75
	mov	r2, #2
	b	.L76
.L75:
	mov	r2, #3
.L76:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r4, [r3, #4]
	ldr	r0, [fp, #-28]
	bl	atoi
	mov	r3, r0
	str	r3, [r4, #20]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L77
.L78:
	ldr	r3, .L104+32
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, .L104+32
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L104+32
	str	r3, [r2]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L77:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	blt	.L78
	ldr	r3, .L104+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r2, .L104+32
	ldr	r3, [fp, #-24]
	str	r3, [r2]
	b	.L72
.L73:
	ldr	r1, .L104+36
	ldr	r0, [fp, #-36]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L79
	ldr	r3, [fp, #-84]
	ldr	r1, .L104+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L80
	ldr	r3, [fp, #-84]
	ldr	r1, .L104+56
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L79
.L80:
	mov	r1, #1
	mov	r0, #8
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r1, #1
	mov	r0, #56
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-84]
	str	r2, [r3]
	ldr	r3, [fp, #-84]
	ldr	r1, .L104+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L81
	mov	r2, #6
	b	.L82
.L81:
	mov	r2, #4
.L82:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	str	r2, [r3, #4]
	ldr	r3, .L104+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r2, [r2, #4]
	str	r2, [r3, #8]
	ldr	r3, .L104+32
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L104+32
	str	r3, [r2]
	ldr	r3, .L104+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r2, [r2, #4]
	str	r2, [r3, #12]
	ldr	r3, .L104+32
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L104+32
	str	r3, [r2]
	ldr	r3, .L104+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r2, .L104+32
	ldr	r3, [fp, #-24]
	str	r3, [r2]
	b	.L72
.L79:
	ldr	r1, .L104+36
	ldr	r0, [fp, #-36]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L83
	ldr	r3, [fp, #-84]
	ldr	r1, .L104+60
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L83
	mov	r1, #1
	mov	r0, #8
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r1, #1
	mov	r0, #56
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-84]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	mov	r2, #5
	str	r2, [r3, #4]
	ldr	r3, .L104+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r2, [r2, #4]
	str	r2, [r3, #8]
	ldr	r3, .L104+32
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L104+32
	str	r3, [r2]
	ldr	r3, .L104+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r2, .L104+32
	ldr	r3, [fp, #-24]
	str	r3, [r2]
	b	.L72
.L83:
	ldr	r1, .L104+64
	ldr	r0, [fp, #-36]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L84
	ldr	r3, [fp, #-84]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L104+68
	str	r3, [r2]
	b	.L72
.L84:
	ldr	r1, .L104+72
	ldr	r0, [fp, #-36]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L85
	ldr	r3, [fp, #-84]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-84]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L104+76
	str	r3, [r2]
	b	.L72
.L85:
	ldr	r3, [fp, #-84]
	mov	r2, r3
	ldr	r1, [fp, #-36]
	ldr	r0, .L104+80
	bl	printf
.L72:
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L69:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	blt	.L86
	ldr	r3, .L104+32
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L87
	ldr	r3, .L104+84
	ldr	r3, [r3]
	ldr	r2, .L104+4
	ldr	r2, [r2]
	ldr	r1, .L104+88
	mov	r0, r3
	bl	fprintf
	mvn	r0, #0
	bl	exit
.L87:
	ldr	r3, .L104+32
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L104+92
	str	r3, [r2]
	ldr	r3, .L104+32
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L104+32
	str	r3, [r2]
	ldr	r3, .L104+32
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L88
	ldr	r3, .L104+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L104+96
	bl	printf
	mvn	r0, #0
	bl	exit
.L88:
	ldr	r3, .L104+68
	ldr	r3, [r3]
	ldr	r1, .L104+100
	mov	r0, r3
	bl	fdopen
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L89
	ldr	r3, .L104+4
	ldr	r2, [r3]
	ldr	r3, .L104+68
	ldr	r3, [r3]
	sub	r0, fp, #72
	ldr	r1, .L104+104
	bl	asprintf
	ldr	r3, [fp, #-72]
	mov	r0, r3
	bl	perror
	mvn	r0, #0
	bl	exit
.L89:
	ldr	r3, .L104+92
	ldr	r0, [r3]
	sub	r2, fp, #76
	sub	r1, fp, #80
	ldr	r3, [fp, #-60]
	bl	EvalCount
	ldr	r3, [fp, #-76]
	str	r3, [fp, #-60]
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	beq	.L103
	b	.L92
.L99:
	ldr	r3, [fp, #-76]
	cmp	r3, #127
	ble	.L93
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L94
	mov	r3, #255
	str	r3, [fp, #-52]
	b	.L95
.L94:
	mov	r3, #127
	str	r3, [fp, #-52]
.L95:
	ldr	r3, [fp, #-76]
	sub	r3, r3, #127
	str	r3, [fp, #-76]
	b	.L96
.L93:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L97
	ldr	r3, [fp, #-76]
	orr	r3, r3, #128
	str	r3, [fp, #-52]
	b	.L98
.L97:
	ldr	r3, [fp, #-76]
	str	r3, [fp, #-52]
.L98:
	mov	r3, #0
	str	r3, [fp, #-76]
.L96:
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-52]
	bl	fputc
	mov	r3, r0
	cmn	r3, #1
	bne	.L92
	ldr	r3, .L104+4
	ldr	r2, [r3]
	sub	r3, fp, #72
	ldr	r1, .L104+108
	mov	r0, r3
	bl	asprintf
	ldr	r3, [fp, #-72]
	mov	r0, r3
	bl	perror
	mvn	r0, #0
	bl	exit
.L92:
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	bgt	.L99
	b	.L89
.L103:
	nop
	ldr	r0, [fp, #-44]
	bl	fclose
	sub	r3, fp, #84
	ldr	r1, .L104+112
	mov	r0, r3
	bl	asprintf
	str	r0, [fp, #-40]
	ldr	r3, .L104+76
	ldr	r3, [r3]
	ldr	r1, [fp, #-84]
	ldr	r2, [fp, #-40]
	mov	r0, r3
	bl	write
	ldr	r3, [fp, #-84]
	mov	r0, r3
	bl	free
	mov	r3, #0
	ldr	r2, .L104
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L101
	bl	__stack_chk_fail
.L101:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L105:
	.align	2
.L104:
	.word	.LC29
	.word	prog_name
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC7
	.word	.LC16
	.word	.LC17
	.word	stack
	.word	.LC18
	.word	.LC2
	.word	.LC3
	.word	.LC19
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC20
	.word	output_fh
	.word	.LC21
	.word	status_fh
	.word	.LC22
	.word	stderr
	.word	.LC23
	.word	expr
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
