	.file	"154831479.c"
	.intel_syntax noprefix
	.text
	.globl	user_input
	.bss
	.align 8
	.type	user_input, @object
	.size	user_input, 8
user_input:
	.zero	8
	.globl	token
	.align 8
	.type	token, @object
	.size	token, 8
token:
	.zero	8
	.text
	.globl	error
	.type	error, @function
error:
.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, 224
	mov	QWORD PTR -216[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L2
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L2:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -208[rbp], 8
	mov	DWORD PTR -204[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -192[rbp], rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -208[rbp]
	mov	rcx, QWORD PTR -216[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	vfprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	error, .-error
	.section	.rodata
.LC0:
	.string	"%s\n"
.LC1:
	.string	""
.LC2:
	.string	"%*s"
.LC3:
	.string	"^ "
	.text
	.globl	error_at
	.type	error_at, @function
error_at:
.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, 240
	mov	QWORD PTR -232[rbp], rdi
	mov	QWORD PTR -240[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L5
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L5:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -208[rbp], 16
	mov	DWORD PTR -204[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -192[rbp], rax
	mov	rdx, QWORD PTR user_input[rip]
	mov	rax, QWORD PTR -232[rbp]
	sub	rax, rdx
	mov	DWORD PTR -212[rbp], eax
	mov	rdx, QWORD PTR user_input[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -212[rbp]
	lea	rcx, .LC1[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -208[rbp]
	mov	rcx, QWORD PTR -240[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	vfprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	error_at, .-error_at
	.globl	consume
	.type	consume, @function
consume:
.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 token[rip]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L8
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR token[rip]
	mov	edx, DWORD PTR 32[rdx]
	movsx	rdx, edx
	cmp	rax, rdx
	jne	.L8
	mov	rax, QWORD PTR token[rip]
	mov	eax, DWORD PTR 32[rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR token[rip]
	mov	rax, QWORD PTR 24[rax]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	je	.L9
.L8:
	mov	eax, 0
	jmp	.L10
.L9:
	mov	rax, QWORD PTR token[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR token[rip], rax
	mov	eax, 1
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	consume, .-consume
	.section	.rodata
.LC4:
	.string	"expected \"%s\""
	.text
	.globl	expect
	.type	expect, @function
expect:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR token[rip]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L12
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR token[rip]
	mov	edx, DWORD PTR 32[rdx]
	movsx	rdx, edx
	cmp	rax, rdx
	jne	.L12
	mov	rax, QWORD PTR token[rip]
	mov	eax, DWORD PTR 32[rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR token[rip]
	mov	rax, QWORD PTR 24[rax]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	je	.L13
.L12:
	mov	rax, QWORD PTR token[rip]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	error_at
.L13:
	mov	rax, QWORD PTR token[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR token[rip], rax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	expect, .-expect
	.section	.rodata
.LC5:
	.string	"expected a number"
	.text
	.globl	expect_number
	.type	expect_number, @function
expect_number:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR token[rip]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	je	.L15
	mov	rax, QWORD PTR token[rip]
	mov	rax, QWORD PTR 24[rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	error_at
.L15:
	mov	rax, QWORD PTR token[rip]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR token[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR token[rip], rax
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	expect_number, .-expect_number
	.globl	at_eof
	.type	at_eof, @function
at_eof:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR token[rip]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	sete	al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	at_eof, .-at_eof
	.globl	new_token
	.type	new_token, @function
new_token:
.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, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -24[rbp], ecx
	mov	esi, 40
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	DWORD PTR 32[rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	new_token, .-new_token
	.globl	startswith
	.type	startswith, @function
startswith:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	sete	al
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	startswith, .-startswith
	.section	.rodata
.LC6:
	.string	"=="
.LC7:
	.string	"!="
.LC8:
	.string	"<="
.LC9:
	.string	">="
.LC10:
	.string	"+-*/()<>"
.LC11:
	.string	"invalid token"
	.text
	.globl	tokenize
	.type	tokenize, @function
tokenize:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR user_input[rip]
	mov	QWORD PTR -72[rbp], rax
	mov	QWORD PTR -40[rbp], 0
	lea	rax, -48[rbp]
	mov	QWORD PTR -64[rbp], rax
	jmp	.L24
.L30:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L25
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 1
	mov	QWORD PTR -72[rbp], rax
	jmp	.L24
.L25:
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	startswith
	test	al, al
	jne	.L26
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	startswith
	test	al, al
	jne	.L26
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	startswith
	test	al, al
	jne	.L26
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	startswith
	test	al, al
	je	.L27
.L26:
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	ecx, 2
	mov	rsi, rax
	mov	edi, 0
	call	new_token
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 2
	mov	QWORD PTR -72[rbp], rax
	jmp	.L24
.L27:
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC10[rip]
	call	strchr@PLT
	test	rax, rax
	je	.L28
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -72[rbp], rdx
	mov	rsi, QWORD PTR -64[rbp]
	mov	ecx, 1
	mov	rdx, rax
	mov	edi, 0
	call	new_token
	mov	QWORD PTR -64[rbp], rax
	jmp	.L24
.L28:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L29
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	ecx, 0
	mov	rsi, rax
	mov	edi, 1
	call	new_token
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	lea	rcx, -72[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR -72[rbp]
	sub	rax, QWORD PTR -56[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	DWORD PTR 32[rax], edx
	jmp	.L24
.L29:
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	error_at
.L24:
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L30
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	ecx, 0
	mov	rsi, rax
	mov	edi, 2
	call	new_token
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	tokenize, .-tokenize
	.globl	new_node
	.type	new_node, @function
new_node:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	esi, 32
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	new_node, .-new_node
	.globl	new_binary
	.type	new_binary, @function
new_binary:
.LFB16:
	.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	new_node
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	new_binary, .-new_binary
	.globl	new_num
	.type	new_num, @function
new_num:
.LFB17:
	.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	DWORD PTR -20[rbp], edi
	mov	edi, 8
	call	new_node
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR 24[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	new_num, .-new_num
	.globl	expr
	.type	expr, @function
expr:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	equality
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	expr, .-expr
	.globl	equality
	.type	equality, @function
equality:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, 0
	call	relational
	mov	QWORD PTR -8[rbp], rax
.L46:
	lea	rdi, .LC6[rip]
	call	consume
	test	al, al
	je	.L42
	mov	eax, 0
	call	relational
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 4
	call	new_binary
	mov	QWORD PTR -8[rbp], rax
	jmp	.L46
.L42:
	lea	rdi, .LC7[rip]
	call	consume
	test	al, al
	je	.L44
	mov	eax, 0
	call	relational
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 5
	call	new_binary
	mov	QWORD PTR -8[rbp], rax
	jmp	.L46
.L44:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	equality, .-equality
	.section	.rodata
.LC12:
	.string	"<"
.LC13:
	.string	">"
	.text
	.globl	relational
	.type	relational, @function
relational:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, 0
	call	add
	mov	QWORD PTR -8[rbp], rax
.L55:
	lea	rdi, .LC12[rip]
	call	consume
	test	al, al
	je	.L49
	mov	eax, 0
	call	add
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 6
	call	new_binary
	mov	QWORD PTR -8[rbp], rax
	jmp	.L55
.L49:
	lea	rdi, .LC8[rip]
	call	consume
	test	al, al
	je	.L51
	mov	eax, 0
	call	add
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 7
	call	new_binary
	mov	QWORD PTR -8[rbp], rax
	jmp	.L55
.L51:
	lea	rdi, .LC13[rip]
	call	consume
	test	al, al
	je	.L52
	mov	eax, 0
	call	add
	mov	rcx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, rax
	mov	rsi, rcx
	mov	edi, 6
	call	new_binary
	mov	QWORD PTR -8[rbp], rax
	jmp	.L55
.L52:
	lea	rdi, .LC9[rip]
	call	consume
	test	al, al
	je	.L53
	mov	eax, 0
	call	add
	mov	rcx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, rax
	mov	rsi, rcx
	mov	edi, 7
	call	new_binary
	mov	QWORD PTR -8[rbp], rax
	jmp	.L55
.L53:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	relational, .-relational
	.section	.rodata
.LC14:
	.string	"+"
.LC15:
	.string	"-"
	.text
	.globl	add
	.type	add, @function
add:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, 0
	call	mul
	mov	QWORD PTR -8[rbp], rax
.L62:
	lea	rdi, .LC14[rip]
	call	consume
	test	al, al
	je	.L58
	mov	eax, 0
	call	mul
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	new_binary
	mov	QWORD PTR -8[rbp], rax
	jmp	.L62
.L58:
	lea	rdi, .LC15[rip]
	call	consume
	test	al, al
	je	.L60
	mov	eax, 0
	call	mul
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	new_binary
	mov	QWORD PTR -8[rbp], rax
	jmp	.L62
.L60:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	add, .-add
	.section	.rodata
.LC16:
	.string	"*"
.LC17:
	.string	"/"
	.text
	.globl	mul
	.type	mul, @function
mul:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, 0
	call	unary
	mov	QWORD PTR -8[rbp], rax
.L69:
	lea	rdi, .LC16[rip]
	call	consume
	test	al, al
	je	.L65
	mov	eax, 0
	call	unary
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 2
	call	new_binary
	mov	QWORD PTR -8[rbp], rax
	jmp	.L69
.L65:
	lea	rdi, .LC17[rip]
	call	consume
	test	al, al
	je	.L67
	mov	eax, 0
	call	unary
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 3
	call	new_binary
	mov	QWORD PTR -8[rbp], rax
	jmp	.L69
.L67:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	mul, .-mul
	.globl	unary
	.type	unary, @function
unary:
.LFB23:
	.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, 8
	.cfi_offset 3, -24
	lea	rdi, .LC14[rip]
	call	consume
	test	al, al
	je	.L72
	mov	eax, 0
	call	unary
	jmp	.L73
.L72:
	lea	rdi, .LC15[rip]
	call	consume
	test	al, al
	je	.L74
	mov	eax, 0
	call	unary
	mov	rbx, rax
	mov	edi, 0
	call	new_num
	mov	rdx, rbx
	mov	rsi, rax
	mov	edi, 1
	call	new_binary
	jmp	.L73
.L74:
	mov	eax, 0
	call	primary
.L73:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	unary, .-unary
	.section	.rodata
.LC18:
	.string	"("
.LC19:
	.string	")"
	.text
	.globl	primary
	.type	primary, @function
primary:
.LFB24:
	.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
	lea	rdi, .LC18[rip]
	call	consume
	test	al, al
	je	.L76
	mov	eax, 0
	call	expr
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, .LC19[rip]
	call	expect
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L77
.L76:
	mov	eax, 0
	call	expect_number
	mov	edi, eax
	call	new_num
.L77:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	primary, .-primary
	.section	.rodata
.LC20:
	.string	"  push %d\n"
.LC21:
	.string	"  pop rdi"
.LC22:
	.string	"  pop rax"
.LC23:
	.string	"  add rax, rdi"
.LC24:
	.string	"  sub rax, rdi"
.LC25:
	.string	"  imul rax, rdi"
.LC26:
	.string	"  cqo"
.LC27:
	.string	"  idiv rdi"
.LC28:
	.string	"  cmp rax, rdi"
.LC29:
	.string	"  sete al"
.LC30:
	.string	"  movzb rax, al"
.LC31:
	.string	"  setne al"
.LC32:
	.string	"  setl al"
.LC33:
	.string	"  setle al"
.LC34:
	.string	"  push rax"
	.text
	.globl	gen
	.type	gen, @function
gen:
.LFB25:
	.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	eax, DWORD PTR [rax]
	cmp	eax, 8
	jne	.L79
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 24[rax]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L78
.L79:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	gen
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	gen
	lea	rdi, .LC21[rip]
	call	puts@PLT
	lea	rdi, .LC22[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 7
	ja	.L81
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L83[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L83[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L83:
	.long	.L90-.L83
	.long	.L89-.L83
	.long	.L88-.L83
	.long	.L87-.L83
	.long	.L86-.L83
	.long	.L85-.L83
	.long	.L84-.L83
	.long	.L82-.L83
	.text
.L90:
	lea	rdi, .LC23[rip]
	call	puts@PLT
	jmp	.L81
.L89:
	lea	rdi, .LC24[rip]
	call	puts@PLT
	jmp	.L81
.L88:
	lea	rdi, .LC25[rip]
	call	puts@PLT
	jmp	.L81
.L87:
	lea	rdi, .LC26[rip]
	call	puts@PLT
	lea	rdi, .LC27[rip]
	call	puts@PLT
	jmp	.L81
.L86:
	lea	rdi, .LC28[rip]
	call	puts@PLT
	lea	rdi, .LC29[rip]
	call	puts@PLT
	lea	rdi, .LC30[rip]
	call	puts@PLT
	jmp	.L81
.L85:
	lea	rdi, .LC28[rip]
	call	puts@PLT
	lea	rdi, .LC31[rip]
	call	puts@PLT
	lea	rdi, .LC30[rip]
	call	puts@PLT
	jmp	.L81
.L84:
	lea	rdi, .LC28[rip]
	call	puts@PLT
	lea	rdi, .LC32[rip]
	call	puts@PLT
	lea	rdi, .LC30[rip]
	call	puts@PLT
	jmp	.L81
.L82:
	lea	rdi, .LC28[rip]
	call	puts@PLT
	lea	rdi, .LC33[rip]
	call	puts@PLT
	lea	rdi, .LC30[rip]
	call	puts@PLT
	nop
.L81:
	lea	rdi, .LC34[rip]
	call	puts@PLT
.L78:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	gen, .-gen
	.section	.rodata
	.align 8
.LC35:
	.string	"%s: invalid number of arguments"
.LC36:
	.string	".intel_syntax noprefix"
.LC37:
	.string	".global main"
.LC38:
	.string	"main:"
.LC39:
	.string	"  ret"
	.text
	.globl	main
	.type	main, @function
main:
.LFB26:
	.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 2
	je	.L92
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	error
.L92:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR user_input[rip], rax
	mov	eax, 0
	call	tokenize
	mov	QWORD PTR token[rip], rax
	mov	eax, 0
	call	expr
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, .LC36[rip]
	call	puts@PLT
	lea	rdi, .LC37[rip]
	call	puts@PLT
	lea	rdi, .LC38[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	gen
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC39[rip]
	call	puts@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.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	"154831479.c"
	.text
	.comm	user_input,4,4
	.comm	token,4,4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	error
	.syntax unified
	.arm
	.fpu softvfp
	.type	error, %function
error:
	@ args = 4, pretend = 16, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, [fp, #4]
	str	r3, [fp, #-16]
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-12]
	ldr	r3, .L3+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	vfprintf
	ldr	r3, .L3+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	mov	r0, #1
	bl	exit
.L4:
	.align	2
.L3:
	.word	.LC0
	.word	stderr
	.size	error, .-error
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%s\012\000"
	.align	2
.LC2:
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"%*s\000"
	.align	2
.LC4:
	.ascii	"^ \000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	error_at
	.syntax unified
	.arm
	.fpu softvfp
	.type	error_at, %function
error_at:
	@ args = 4, pretend = 12, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #28
	str	r0, [fp, #-28]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-32]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-20]
	ldr	r3, .L7+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L7+8
	ldr	r3, [r3]
	ldr	r2, .L7+4
	ldr	r2, [r2]
	ldr	r1, .L7+12
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L7+8
	ldr	r0, [r3]
	ldr	r3, .L7+16
	ldr	r2, [fp, #-16]
	ldr	r1, .L7+20
	bl	fprintf
	ldr	r3, .L7+8
	ldr	r3, [r3]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L7+24
	bl	fwrite
	ldr	r3, .L7+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	vfprintf
	ldr	r3, .L7+8
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	mov	r0, #1
	bl	exit
.L8:
	.align	2
.L7:
	.word	.LC5
	.word	user_input
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	error_at, .-error_at
	.align	2
	.global	consume
	.syntax unified
	.arm
	.fpu softvfp
	.type	consume, %function
consume:
	@ 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, .L13
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L10
	ldr	r0, [fp, #-8]
	bl	strlen
	mov	r2, r0
	ldr	r3, .L13
	ldr	r3, [r3]
	ldr	r3, [r3, #16]
	cmp	r2, r3
	bne	.L10
	ldr	r3, .L13
	ldr	r3, [r3]
	ldr	r0, [r3, #12]
	ldr	r3, .L13
	ldr	r3, [r3]
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
.L10:
	mov	r3, #0
	b	.L12
.L11:
	ldr	r3, .L13
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L13
	str	r3, [r2]
	mov	r3, #1
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	token
	.size	consume, .-consume
	.section	.rodata
	.align	2
.LC6:
	.ascii	"expected \"%s\"\000"
	.text
	.align	2
	.global	expect
	.syntax unified
	.arm
	.fpu softvfp
	.type	expect, %function
expect:
	@ 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, .L18
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L16
	ldr	r0, [fp, #-8]
	bl	strlen
	mov	r2, r0
	ldr	r3, .L18
	ldr	r3, [r3]
	ldr	r3, [r3, #16]
	cmp	r2, r3
	bne	.L16
	ldr	r3, .L18
	ldr	r3, [r3]
	ldr	r0, [r3, #12]
	ldr	r3, .L18
	ldr	r3, [r3]
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
.L16:
	ldr	r3, .L18
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-8]
	ldr	r1, .L18+4
	mov	r0, r3
	bl	error_at
.L17:
	ldr	r3, .L18
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L18
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	token
	.word	.LC6
	.size	expect, .-expect
	.section	.rodata
	.align	2
.LC7:
	.ascii	"expected a number\000"
	.text
	.align	2
	.global	expect_number
	.syntax unified
	.arm
	.fpu softvfp
	.type	expect_number, %function
expect_number:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L23
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #1
	beq	.L21
	ldr	r3, .L23
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	ldr	r1, .L23+4
	mov	r0, r3
	bl	error_at
.L21:
	ldr	r3, .L23
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	ldr	r3, .L23
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L23
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	token
	.word	.LC7
	.size	expect_number, .-expect_number
	.align	2
	.global	at_eof
	.syntax unified
	.arm
	.fpu softvfp
	.type	at_eof, %function
at_eof:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L27
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #2
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L28:
	.align	2
.L27:
	.word	token
	.size	at_eof, .-at_eof
	.align	2
	.global	new_token
	.syntax unified
	.arm
	.fpu softvfp
	.type	new_token, %function
new_token:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r1, #20
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	new_token, .-new_token
	.align	2
	.global	startswith
	.syntax unified
	.arm
	.fpu softvfp
	.type	startswith, %function
startswith:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	startswith, .-startswith
	.section	.rodata
	.align	2
.LC8:
	.ascii	"==\000"
	.align	2
.LC9:
	.ascii	"!=\000"
	.align	2
.LC10:
	.ascii	"<=\000"
	.align	2
.LC11:
	.ascii	">=\000"
	.align	2
.LC12:
	.ascii	"+-*/()<>\000"
	.align	2
.LC13:
	.ascii	"invalid token\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tokenize
	.syntax unified
	.arm
	.fpu softvfp
	.type	tokenize, %function
tokenize:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L43+4
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-24]
	sub	r3, fp, #28
	str	r3, [fp, #-36]
	b	.L34
.L40:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	b	.L34
.L35:
	ldr	r3, [fp, #-40]
	ldr	r1, .L43+8
	mov	r0, r3
	bl	startswith
	mov	r3, r0
	cmp	r3, #0
	bne	.L36
	ldr	r3, [fp, #-40]
	ldr	r1, .L43+12
	mov	r0, r3
	bl	startswith
	mov	r3, r0
	cmp	r3, #0
	bne	.L36
	ldr	r3, [fp, #-40]
	ldr	r1, .L43+16
	mov	r0, r3
	bl	startswith
	mov	r3, r0
	cmp	r3, #0
	bne	.L36
	ldr	r3, [fp, #-40]
	ldr	r1, .L43+20
	mov	r0, r3
	bl	startswith
	mov	r3, r0
	cmp	r3, #0
	beq	.L37
.L36:
	ldr	r2, [fp, #-40]
	mov	r3, #2
	ldr	r1, [fp, #-36]
	mov	r0, #0
	bl	new_token
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-40]
	add	r3, r3, #2
	str	r3, [fp, #-40]
	b	.L34
.L37:
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L43+24
	bl	strchr
	mov	r3, r0
	cmp	r3, #0
	beq	.L38
	ldr	r2, [fp, #-40]
	add	r3, r2, #1
	str	r3, [fp, #-40]
	mov	r3, #1
	ldr	r1, [fp, #-36]
	mov	r0, #0
	bl	new_token
	str	r0, [fp, #-36]
	b	.L34
.L38:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L39
	ldr	r2, [fp, #-40]
	mov	r3, #0
	ldr	r1, [fp, #-36]
	mov	r0, #1
	bl	new_token
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	sub	r1, fp, #40
	mov	r2, #10
	mov	r0, r3
	bl	strtol
	mov	r2, r0
	ldr	r3, [fp, #-36]
	str	r2, [r3, #8]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	sub	r2, r2, r3
	ldr	r3, [fp, #-36]
	str	r2, [r3, #16]
	b	.L34
.L39:
	ldr	r3, [fp, #-40]
	ldr	r1, .L43+28
	mov	r0, r3
	bl	error_at
.L34:
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L40
	ldr	r2, [fp, #-40]
	mov	r3, #0
	ldr	r1, [fp, #-36]
	mov	r0, #2
	bl	new_token
	ldr	r3, [fp, #-24]
	ldr	r2, .L43
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC14
	.word	user_input
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	tokenize, .-tokenize
	.align	2
	.global	new_node
	.syntax unified
	.arm
	.fpu softvfp
	.type	new_node, %function
new_node:
	@ 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]
	mov	r1, #16
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	new_node, .-new_node
	.align	2
	.global	new_binary
	.syntax unified
	.arm
	.fpu softvfp
	.type	new_binary, %function
new_binary:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r0, [fp, #-16]
	bl	new_node
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	new_binary, .-new_binary
	.align	2
	.global	new_num
	.syntax unified
	.arm
	.fpu softvfp
	.type	new_num, %function
new_num:
	@ 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]
	mov	r0, #8
	bl	new_node
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	new_num, .-new_num
	.align	2
	.global	expr
	.syntax unified
	.arm
	.fpu softvfp
	.type	expr, %function
expr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	equality
	mov	r3, r0
	mov	r0, r3
	pop	{fp, pc}
	.size	expr, .-expr
	.align	2
	.global	equality
	.syntax unified
	.arm
	.fpu softvfp
	.type	equality, %function
equality:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	relational
	str	r0, [fp, #-8]
.L58:
	ldr	r0, .L60
	bl	consume
	mov	r3, r0
	cmp	r3, #0
	beq	.L54
	bl	relational
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-8]
	mov	r0, #4
	bl	new_binary
	str	r0, [fp, #-8]
	b	.L58
.L54:
	ldr	r0, .L60+4
	bl	consume
	mov	r3, r0
	cmp	r3, #0
	beq	.L56
	bl	relational
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-8]
	mov	r0, #5
	bl	new_binary
	str	r0, [fp, #-8]
	b	.L58
.L56:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L61:
	.align	2
.L60:
	.word	.LC8
	.word	.LC9
	.size	equality, .-equality
	.section	.rodata
	.align	2
.LC15:
	.ascii	"<\000"
	.align	2
.LC16:
	.ascii	">\000"
	.text
	.align	2
	.global	relational
	.syntax unified
	.arm
	.fpu softvfp
	.type	relational, %function
relational:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	add
	str	r0, [fp, #-8]
.L69:
	ldr	r0, .L71
	bl	consume
	mov	r3, r0
	cmp	r3, #0
	beq	.L63
	bl	add
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-8]
	mov	r0, #6
	bl	new_binary
	str	r0, [fp, #-8]
	b	.L69
.L63:
	ldr	r0, .L71+4
	bl	consume
	mov	r3, r0
	cmp	r3, #0
	beq	.L65
	bl	add
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-8]
	mov	r0, #7
	bl	new_binary
	str	r0, [fp, #-8]
	b	.L69
.L65:
	ldr	r0, .L71+8
	bl	consume
	mov	r3, r0
	cmp	r3, #0
	beq	.L66
	bl	add
	mov	r3, r0
	ldr	r2, [fp, #-8]
	mov	r1, r3
	mov	r0, #6
	bl	new_binary
	str	r0, [fp, #-8]
	b	.L69
.L66:
	ldr	r0, .L71+12
	bl	consume
	mov	r3, r0
	cmp	r3, #0
	beq	.L67
	bl	add
	mov	r3, r0
	ldr	r2, [fp, #-8]
	mov	r1, r3
	mov	r0, #7
	bl	new_binary
	str	r0, [fp, #-8]
	b	.L69
.L67:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L72:
	.align	2
.L71:
	.word	.LC15
	.word	.LC10
	.word	.LC16
	.word	.LC11
	.size	relational, .-relational
	.section	.rodata
	.align	2
.LC17:
	.ascii	"+\000"
	.align	2
.LC18:
	.ascii	"-\000"
	.text
	.align	2
	.global	add
	.syntax unified
	.arm
	.fpu softvfp
	.type	add, %function
add:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	mul
	str	r0, [fp, #-8]
.L78:
	ldr	r0, .L80
	bl	consume
	mov	r3, r0
	cmp	r3, #0
	beq	.L74
	bl	mul
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-8]
	mov	r0, #0
	bl	new_binary
	str	r0, [fp, #-8]
	b	.L78
.L74:
	ldr	r0, .L80+4
	bl	consume
	mov	r3, r0
	cmp	r3, #0
	beq	.L76
	bl	mul
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-8]
	mov	r0, #1
	bl	new_binary
	str	r0, [fp, #-8]
	b	.L78
.L76:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L81:
	.align	2
.L80:
	.word	.LC17
	.word	.LC18
	.size	add, .-add
	.section	.rodata
	.align	2
.LC19:
	.ascii	"*\000"
	.align	2
.LC20:
	.ascii	"/\000"
	.text
	.align	2
	.global	mul
	.syntax unified
	.arm
	.fpu softvfp
	.type	mul, %function
mul:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	unary
	str	r0, [fp, #-8]
.L87:
	ldr	r0, .L89
	bl	consume
	mov	r3, r0
	cmp	r3, #0
	beq	.L83
	bl	unary
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-8]
	mov	r0, #2
	bl	new_binary
	str	r0, [fp, #-8]
	b	.L87
.L83:
	ldr	r0, .L89+4
	bl	consume
	mov	r3, r0
	cmp	r3, #0
	beq	.L85
	bl	unary
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-8]
	mov	r0, #3
	bl	new_binary
	str	r0, [fp, #-8]
	b	.L87
.L85:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L90:
	.align	2
.L89:
	.word	.LC19
	.word	.LC20
	.size	mul, .-mul
	.align	2
	.global	unary
	.syntax unified
	.arm
	.fpu softvfp
	.type	unary, %function
unary:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	ldr	r0, .L95
	bl	consume
	mov	r3, r0
	cmp	r3, #0
	beq	.L92
	bl	unary
	mov	r3, r0
	b	.L93
.L92:
	ldr	r0, .L95+4
	bl	consume
	mov	r3, r0
	cmp	r3, #0
	beq	.L94
	mov	r0, #0
	bl	new_num
	mov	r4, r0
	bl	unary
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	mov	r0, #1
	bl	new_binary
	mov	r3, r0
	b	.L93
.L94:
	bl	primary
	mov	r3, r0
.L93:
	mov	r0, r3
	pop	{r4, r5, fp, pc}
.L96:
	.align	2
.L95:
	.word	.LC17
	.word	.LC18
	.size	unary, .-unary
	.section	.rodata
	.align	2
.LC21:
	.ascii	"(\000"
	.align	2
.LC22:
	.ascii	")\000"
	.text
	.align	2
	.global	primary
	.syntax unified
	.arm
	.fpu softvfp
	.type	primary, %function
primary:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L100
	bl	consume
	mov	r3, r0
	cmp	r3, #0
	beq	.L98
	bl	expr
	str	r0, [fp, #-8]
	ldr	r0, .L100+4
	bl	expect
	ldr	r3, [fp, #-8]
	b	.L99
.L98:
	bl	expect_number
	mov	r3, r0
	mov	r0, r3
	bl	new_num
	mov	r3, r0
.L99:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L101:
	.align	2
.L100:
	.word	.LC21
	.word	.LC22
	.size	primary, .-primary
	.section	.rodata
	.align	2
.LC23:
	.ascii	"  push %d\012\000"
	.align	2
.LC24:
	.ascii	"  pop rdi\000"
	.align	2
.LC25:
	.ascii	"  pop rax\000"
	.align	2
.LC26:
	.ascii	"  add rax, rdi\000"
	.align	2
.LC27:
	.ascii	"  sub rax, rdi\000"
	.align	2
.LC28:
	.ascii	"  imul rax, rdi\000"
	.align	2
.LC29:
	.ascii	"  cqo\000"
	.align	2
.LC30:
	.ascii	"  idiv rdi\000"
	.align	2
.LC31:
	.ascii	"  cmp rax, rdi\000"
	.align	2
.LC32:
	.ascii	"  sete al\000"
	.align	2
.LC33:
	.ascii	"  movzb rax, al\000"
	.align	2
.LC34:
	.ascii	"  setne al\000"
	.align	2
.LC35:
	.ascii	"  setl al\000"
	.align	2
.LC36:
	.ascii	"  setle al\000"
	.align	2
.LC37:
	.ascii	"  push rax\000"
	.text
	.align	2
	.global	gen
	.syntax unified
	.arm
	.fpu softvfp
	.type	gen, %function
gen:
	@ 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]
	ldr	r3, [r3]
	cmp	r3, #8
	bne	.L103
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	mov	r1, r3
	ldr	r0, .L115
	bl	printf
	b	.L102
.L103:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	gen
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	gen
	ldr	r0, .L115+4
	bl	puts
	ldr	r0, .L115+8
	bl	puts
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L105
.L107:
	.word	.L114
	.word	.L113
	.word	.L112
	.word	.L111
	.word	.L110
	.word	.L109
	.word	.L108
	.word	.L106
.L114:
	ldr	r0, .L115+12
	bl	puts
	b	.L105
.L113:
	ldr	r0, .L115+16
	bl	puts
	b	.L105
.L112:
	ldr	r0, .L115+20
	bl	puts
	b	.L105
.L111:
	ldr	r0, .L115+24
	bl	puts
	ldr	r0, .L115+28
	bl	puts
	b	.L105
.L110:
	ldr	r0, .L115+32
	bl	puts
	ldr	r0, .L115+36
	bl	puts
	ldr	r0, .L115+40
	bl	puts
	b	.L105
.L109:
	ldr	r0, .L115+32
	bl	puts
	ldr	r0, .L115+44
	bl	puts
	ldr	r0, .L115+40
	bl	puts
	b	.L105
.L108:
	ldr	r0, .L115+32
	bl	puts
	ldr	r0, .L115+48
	bl	puts
	ldr	r0, .L115+40
	bl	puts
	b	.L105
.L106:
	ldr	r0, .L115+32
	bl	puts
	ldr	r0, .L115+52
	bl	puts
	ldr	r0, .L115+40
	bl	puts
	nop
.L105:
	ldr	r0, .L115+56
	bl	puts
.L102:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L116:
	.align	2
.L115:
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.size	gen, .-gen
	.section	.rodata
	.align	2
.LC38:
	.ascii	"%s: invalid number of arguments\000"
	.align	2
.LC39:
	.ascii	".intel_syntax noprefix\000"
	.align	2
.LC40:
	.ascii	".global main\000"
	.align	2
.LC41:
	.ascii	"main:\000"
	.align	2
.LC42:
	.ascii	"  ret\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, [fp, #-16]
	cmp	r3, #2
	beq	.L118
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L120
	bl	error
.L118:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	ldr	r2, .L120+4
	str	r3, [r2]
	bl	tokenize
	mov	r3, r0
	ldr	r2, .L120+8
	str	r3, [r2]
	bl	expr
	str	r0, [fp, #-8]
	ldr	r0, .L120+12
	bl	puts
	ldr	r0, .L120+16
	bl	puts
	ldr	r0, .L120+20
	bl	puts
	ldr	r0, [fp, #-8]
	bl	gen
	ldr	r0, .L120+24
	bl	puts
	ldr	r0, .L120+28
	bl	puts
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L121:
	.align	2
.L120:
	.word	.LC38
	.word	user_input
	.word	token
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC25
	.word	.LC42
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
