	.file	"664129.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Error: %s\n"
	.text
	.globl	push
	.type	push, @function
push:
.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	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L2
	mov	esi, 16
	mov	edi, 1
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L3
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L1
.L3:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 8[rax], 0
	jmp	.L1
.L2:
	mov	esi, 16
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L5
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L1
.L5:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	push, .-push
	.globl	pop
	.type	pop, @function
pop:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L7
	mov	eax, 0
	jmp	.L8
.L7:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -16[rbp]
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	pop, .-pop
	.globl	stack_to_stack
	.type	stack_to_stack, @function
stack_to_stack:
.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	QWORD PTR -16[rbp], rsi
	jmp	.L10
.L11:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	pop
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	push
.L10:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L11
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	stack_to_stack, .-stack_to_stack
	.globl	format_expression
	.type	format_expression, @function
format_expression:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, rax
	add	rax, 1
	mov	rsi, rax
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L13
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L14
.L13:
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L15
.L24:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L16
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L16
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	je	.L16
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L17
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L18
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	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	.L18
	cmp	DWORD PTR -32[rbp], 0
	je	.L17
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rcx, -1[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L18
.L17:
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L20
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	strncat@PLT
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	strncat@PLT
.L20:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L21
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	je	.L21
	mov	eax, DWORD PTR -28[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	cmp	rbx, rax
	jnb	.L22
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 32
.L22:
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -32[rbp], eax
	jmp	.L23
.L18:
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -32[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	strncat@PLT
	mov	eax, DWORD PTR -32[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	cmp	rbx, rax
	jnb	.L15
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 32
.L23:
	jmp	.L15
.L16:
	add	DWORD PTR -32[rbp], 1
.L15:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L24
	mov	rax, QWORD PTR -24[rbp]
.L14:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	format_expression, .-format_expression
	.section	.rodata
.LC1:
	.string	" "
	.text
	.globl	expr_to_stack
	.type	expr_to_stack, @function
expr_to_stack:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	jmp	.L26
.L27:
	mov	rdx, QWORD PTR -16[rbp]
	lea	rax, -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	push
.L26:
	lea	rax, -40[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strsep@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L27
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L28
.L29:
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	pop
	mov	rdx, rax
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	push
.L28:
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	jne	.L29
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	expr_to_stack, .-expr_to_stack
	.globl	perform_op
	.type	perform_op, @function
perform_op:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	QWORD PTR -32[rbp], xmm1
	mov	QWORD PTR -40[rbp], rdi
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 94
	je	.L33
	cmp	eax, 94
	jg	.L34
	cmp	eax, 47
	je	.L35
	cmp	eax, 47
	jg	.L34
	cmp	eax, 45
	je	.L36
	cmp	eax, 45
	jg	.L34
	cmp	eax, 42
	je	.L37
	cmp	eax, 43
	jne	.L34
	movsd	xmm0, QWORD PTR -24[rbp]
	addsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L34
.L36:
	movsd	xmm0, QWORD PTR -24[rbp]
	subsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L34
.L37:
	movsd	xmm0, QWORD PTR -24[rbp]
	mulsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L34
.L35:
	movsd	xmm0, QWORD PTR -24[rbp]
	divsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L34
.L33:
	movsd	xmm0, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	nop
.L34:
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	perform_op, .-perform_op
	.section	.rodata
.LC3:
	.string	")"
.LC4:
	.string	"("
.LC5:
	.string	"%e"
	.text
	.globl	eval_expr_parenth
	.type	eval_expr_parenth, @function
eval_expr_parenth:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -48[rbp], 0
	jmp	.L40
.L44:
	lea	rax, -56[rbp]
	mov	rdi, rax
	call	pop
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L41
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	pop
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -40[rbp], 0
	jmp	.L42
.L43:
	mov	rdx, QWORD PTR -32[rbp]
	lea	rax, -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	push
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	pop
	mov	QWORD PTR -32[rbp], rax
.L42:
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L43
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	eval_expr
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	esi, 20
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rdx
	lea	rdx, .LC5[rip]
	mov	esi, 20
	mov	rdi, rax
	mov	eax, 1
	call	snprintf@PLT
	mov	rdx, QWORD PTR -16[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	push
	mov	rdx, QWORD PTR -16[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	push
	jmp	.L40
.L41:
	mov	rdx, QWORD PTR -32[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	push
.L40:
	mov	rax, QWORD PTR -56[rbp]
	test	rax, rax
	jne	.L44
	mov	rax, QWORD PTR -48[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L46
	call	__stack_chk_fail@PLT
.L46:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	eval_expr_parenth, .-eval_expr_parenth
	.section	.rodata
.LC6:
	.string	"+"
.LC7:
	.string	"-"
.LC8:
	.string	"*"
.LC9:
	.string	"/"
.LC10:
	.string	"^"
	.text
	.globl	eval_expr
	.type	eval_expr, @function
eval_expr:
.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, 144
	mov	QWORD PTR -136[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -128[rbp], 0
	mov	DWORD PTR -44[rbp], 2
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 1
	mov	DWORD PTR -120[rbp], 3
	mov	DWORD PTR -124[rbp], 0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -104[rbp], xmm0
	mov	QWORD PTR -112[rbp], 0
.L58:
	mov	eax, DWORD PTR -124[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -124[rbp], edx
	cdqe
	mov	eax, DWORD PTR -44[rbp+rax*4]
	mov	DWORD PTR -116[rbp], eax
	lea	rdx, -136[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stack_to_stack
	jmp	.L48
.L56:
	lea	rax, -136[rbp]
	mov	rdi, rax
	call	pop
	mov	QWORD PTR -96[rbp], rax
	cmp	DWORD PTR -116[rbp], 1
	jne	.L49
	mov	rax, QWORD PTR -96[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L50
	mov	rax, QWORD PTR -96[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L50
.L49:
	cmp	DWORD PTR -116[rbp], 0
	jne	.L51
	mov	rax, QWORD PTR -96[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L50
	mov	rax, QWORD PTR -96[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L50
.L51:
	cmp	DWORD PTR -116[rbp], 2
	jne	.L52
	mov	rax, QWORD PTR -96[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L52
.L50:
	mov	DWORD PTR -128[rbp], 1
	mov	rdx, QWORD PTR -96[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	push
	jmp	.L48
.L52:
	cmp	DWORD PTR -128[rbp], 0
	je	.L54
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -96[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
	jne	.L55
	mov	rax, QWORD PTR -96[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L54
.L55:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	pop
	mov	QWORD PTR -88[rbp], rax
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	pop
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	strtod@PLT
	movq	rax, xmm0
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	strtod@PLT
	movq	rax, xmm0
	mov	QWORD PTR -64[rbp], rax
	mov	rdx, QWORD PTR -88[rbp]
	movsd	xmm0, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rdx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	perform_op
	movq	rax, xmm0
	mov	QWORD PTR -56[rbp], rax
	mov	rdx, QWORD PTR -56[rbp]
	lea	rax, -32[rbp]
	movq	xmm0, rdx
	lea	rdx, .LC5[rip]
	mov	esi, 20
	mov	rdi, rax
	mov	eax, 1
	call	snprintf@PLT
	lea	rdx, -32[rbp]
	lea	rax, -136[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	push
	mov	DWORD PTR -128[rbp], 0
	jmp	.L48
.L54:
	cmp	DWORD PTR -128[rbp], 0
	jne	.L48
	mov	rdx, QWORD PTR -96[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	push
.L48:
	mov	rax, QWORD PTR -136[rbp]
	test	rax, rax
	jne	.L56
	mov	rax, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L57
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -120[rbp]
	jl	.L58
.L57:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	pop
	mov	esi, 0
	mov	rdi, rax
	call	strtod@PLT
	movq	rax, xmm0
	mov	QWORD PTR -104[rbp], rax
	movsd	xmm0, QWORD PTR -104[rbp]
	movq	rax, xmm0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L60
	call	__stack_chk_fail@PLT
.L60:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	eval_expr, .-eval_expr
	.section	.rodata
.LC11:
	.string	"Type 'quit' to exit"
.LC12:
	.string	"> "
.LC13:
	.string	"quit\n"
.LC14:
	.string	"%f\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 1088
	mov	DWORD PTR -1076[rbp], edi
	mov	QWORD PTR -1088[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC11[rip]
	call	puts@PLT
.L66:
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -1024[rbp]
	mov	esi, 1001
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -1024[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L62
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L67
	jmp	.L68
.L62:
	lea	rax, -1024[rbp]
	mov	rdi, rax
	call	format_expression
	mov	QWORD PTR -1040[rbp], rax
	mov	rax, QWORD PTR -1040[rbp]
	mov	rdi, rax
	call	expr_to_stack
	mov	QWORD PTR -1064[rbp], rax
	mov	QWORD PTR -1056[rbp], 0
	mov	QWORD PTR -1048[rbp], 0
	mov	rdx, QWORD PTR -1048[rbp]
	mov	rax, QWORD PTR -1064[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	eval_expr_parenth
	mov	QWORD PTR -1064[rbp], rax
	lea	rdx, -1056[rbp]
	lea	rax, -1064[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stack_to_stack
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	eval_expr
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L64
.L65:
	lea	rax, -1048[rbp]
	mov	rdi, rax
	call	pop
	mov	QWORD PTR -1032[rbp], rax
	mov	rax, QWORD PTR -1032[rbp]
	mov	rdi, rax
	call	free@PLT
.L64:
	mov	rax, QWORD PTR -1048[rbp]
	test	rax, rax
	jne	.L65
	mov	rax, QWORD PTR -1040[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L66
.L68:
	call	__stack_chk_fail@PLT
.L67:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.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	"664129.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Error: %s\012\000"
	.text
	.align	2
	.global	push
	.syntax unified
	.arm
	.fpu softvfp
	.type	push, %function
push:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	mov	r1, #8
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L6
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L6+4
	mov	r0, r4
	bl	fprintf
	b	.L1
.L3:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	b	.L1
.L2:
	mov	r1, #8
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L6
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L6+4
	mov	r0, r4
	bl	fprintf
	b	.L1
.L5:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
.L1:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L7:
	.align	2
.L6:
	.word	stderr
	.word	.LC1
	.size	push, .-push
	.align	2
	.global	pop
	.syntax unified
	.arm
	.fpu softvfp
	.type	pop, %function
pop:
	@ 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]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L9
	mov	r3, #0
	b	.L10
.L9:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	pop, .-pop
	.align	2
	.global	stack_to_stack
	.syntax unified
	.arm
	.fpu softvfp
	.type	stack_to_stack, %function
stack_to_stack:
	@ 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]
	b	.L12
.L13:
	ldr	r0, [fp, #-8]
	bl	pop
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	push
.L12:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L13
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	stack_to_stack, .-stack_to_stack
	.section	.rodata
	.align	2
.LC2:
	.ascii	" \000"
	.text
	.align	2
	.global	format_expression
	.syntax unified
	.arm
	.fpu softvfp
	.type	format_expression, %function
format_expression:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r3, r0
	lsl	r3, r3, #1
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L15
	ldr	r3, .L27
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L27+4
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L16
.L15:
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L17
.L26:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L18
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L18
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L18
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L19
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L20
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L19
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L20
.L19:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L22
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	strncat
	b	.L22
.L23:
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	strncat
.L22:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L23
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L23
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r3, r0
	sub	r2, r3, #1
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bls	.L24
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, .L27+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
.L24:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
	b	.L25
.L20:
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	str	r2, [fp, #-24]
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	strncat
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r3, r0
	sub	r2, r3, #1
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bls	.L17
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, .L27+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
.L25:
	b	.L17
.L18:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L17:
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bhi	.L26
	ldr	r3, [fp, #-16]
.L16:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L28:
	.align	2
.L27:
	.word	stderr
	.word	.LC1
	.word	.LC2
	.size	format_expression, .-format_expression
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	expr_to_stack
	.syntax unified
	.arm
	.fpu softvfp
	.type	expr_to_stack, %function
expr_to_stack:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-32]
	bl	strdup
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L30
.L31:
	sub	r3, fp, #16
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	push
.L30:
	sub	r3, fp, #24
	ldr	r1, .L36+4
	mov	r0, r3
	bl	strsep
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L31
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	free
	b	.L32
.L33:
	sub	r3, fp, #16
	mov	r0, r3
	bl	pop
	mov	r2, r0
	sub	r3, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	push
.L32:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L33
	ldr	r3, [fp, #-20]
	ldr	r2, .L36
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC3
	.word	.LC2
	.size	expr_to_stack, .-expr_to_stack
	.global	__aeabi_dadd
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.align	2
	.global	perform_op
	.syntax unified
	.arm
	.fpu softvfp
	.type	perform_op, %function
perform_op:
	@ args = 4, 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, #-20]
	str	r1, [fp, #-16]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #4]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bgt	.L39
	cmp	r3, #42
	blt	.L40
	sub	r3, r3, #42
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L40
.L42:
	.word	.L45
	.word	.L44
	.word	.L40
	.word	.L43
	.word	.L40
	.word	.L41
.L39:
	cmp	r3, #94
	beq	.L46
	b	.L40
.L44:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L40
.L43:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L40
.L45:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L40
.L41:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L40
.L46:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	pow
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	nop
.L40:
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	perform_op, .-perform_op
	.section	.rodata
	.align	2
.LC4:
	.ascii	")\000"
	.align	2
.LC5:
	.ascii	"(\000"
	.align	2
.LC6:
	.ascii	"%e\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	eval_expr_parenth
	.syntax unified
	.arm
	.fpu softvfp
	.type	eval_expr_parenth, %function
eval_expr_parenth:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L56
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L49
.L53:
	sub	r3, fp, #40
	mov	r0, r3
	bl	pop
	str	r0, [fp, #-28]
	ldr	r1, .L56+4
	ldr	r0, [fp, #-28]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L50
	sub	r3, fp, #36
	mov	r0, r3
	bl	pop
	str	r0, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L51
.L52:
	sub	r3, fp, #32
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	push
	sub	r3, fp, #36
	mov	r0, r3
	bl	pop
	str	r0, [fp, #-28]
.L51:
	ldr	r1, .L56+8
	ldr	r0, [fp, #-28]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L52
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	eval_expr
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	mov	r1, #20
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-24]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	ldr	r2, .L56+12
	mov	r1, #20
	ldr	r0, [fp, #-24]
	bl	snprintf
	sub	r3, fp, #44
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	push
	sub	r3, fp, #36
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	push
	b	.L49
.L50:
	sub	r3, fp, #36
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	push
.L49:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L53
	ldr	r3, [fp, #-36]
	ldr	r2, .L56
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L55
	bl	__stack_chk_fail
.L55:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L57:
	.align	2
.L56:
	.word	.LC7
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	eval_expr_parenth, .-eval_expr_parenth
	.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
.LC0:
	.word	2
	.word	0
	.word	1
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	eval_expr
	.syntax unified
	.arm
	.fpu softvfp
	.type	eval_expr, %function
eval_expr:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-112]
	ldr	r3, .L72
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-104]
	ldr	r2, .L72+4
	sub	r3, fp, #40
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	mov	r3, #3
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-100]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-108]
.L69:
	ldr	r3, [fp, #-100]
	add	r2, r3, #1
	str	r2, [fp, #-100]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-36]
	str	r3, [fp, #-92]
	sub	r2, fp, #112
	sub	r3, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	stack_to_stack
	b	.L59
.L67:
	sub	r3, fp, #112
	mov	r0, r3
	bl	pop
	str	r0, [fp, #-88]
	ldr	r3, [fp, #-92]
	cmp	r3, #1
	bne	.L60
	ldr	r1, .L72+8
	ldr	r0, [fp, #-88]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L61
	ldr	r1, .L72+12
	ldr	r0, [fp, #-88]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L61
.L60:
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	bne	.L62
	ldr	r1, .L72+16
	ldr	r0, [fp, #-88]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L61
	ldr	r1, .L72+20
	ldr	r0, [fp, #-88]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L61
.L62:
	ldr	r3, [fp, #-92]
	cmp	r3, #2
	bne	.L63
	ldr	r1, .L72+24
	ldr	r0, [fp, #-88]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L63
.L61:
	mov	r3, #1
	str	r3, [fp, #-104]
	sub	r3, fp, #108
	ldr	r1, [fp, #-88]
	mov	r0, r3
	bl	push
	b	.L59
.L63:
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	beq	.L65
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-88]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L66
	ldr	r3, [fp, #-88]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L65
.L66:
	sub	r3, fp, #108
	mov	r0, r3
	bl	pop
	str	r0, [fp, #-84]
	sub	r3, fp, #108
	mov	r0, r3
	bl	pop
	str	r0, [fp, #-80]
	mov	r1, #0
	ldr	r0, [fp, #-88]
	bl	strtod
	str	r0, [fp, #-68]
	str	r1, [fp, #-64]
	mov	r1, #0
	ldr	r0, [fp, #-80]
	bl	strtod
	str	r0, [fp, #-60]
	str	r1, [fp, #-56]
	ldr	r3, [fp, #-84]
	str	r3, [sp]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	perform_op
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	sub	r0, fp, #28
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	ldr	r2, .L72+28
	mov	r1, #20
	bl	snprintf
	sub	r2, fp, #28
	sub	r3, fp, #112
	mov	r1, r2
	mov	r0, r3
	bl	push
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L59
.L65:
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	bne	.L59
	sub	r3, fp, #108
	ldr	r1, [fp, #-88]
	mov	r0, r3
	bl	push
.L59:
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bne	.L67
	ldr	r3, [fp, #-108]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L68
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	blt	.L69
.L68:
	sub	r3, fp, #108
	mov	r0, r3
	bl	pop
	mov	r3, r0
	mov	r1, #0
	mov	r0, r3
	bl	strtod
	str	r0, [fp, #-76]
	str	r1, [fp, #-72]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	ldr	r1, .L72
	ldr	r0, [r1]
	ldr	r1, [fp, #-8]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L71
	bl	__stack_chk_fail
.L71:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L73:
	.align	2
.L72:
	.word	.LC13
	.word	.LC0
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC6
	.size	eval_expr, .-eval_expr
	.section	.rodata
	.align	2
.LC14:
	.ascii	"Type 'quit' to exit\000"
	.align	2
.LC15:
	.ascii	"> \000"
	.align	2
.LC16:
	.ascii	"quit\012\000"
	.align	2
.LC17:
	.ascii	"%f\012\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1040
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	str	r0, [fp, #-1040]
	str	r1, [fp, #-1044]
	ldr	r3, .L82
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L82+4
	bl	puts
.L79:
	ldr	r0, .L82+8
	bl	printf
	ldr	r3, .L82+12
	ldr	r2, [r3]
	sub	r3, fp, #1012
	ldr	r1, .L82+16
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #1012
	ldr	r1, .L82+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L75
	mov	r3, #0
	ldr	r2, .L82
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L80
	b	.L81
.L75:
	sub	r3, fp, #1012
	mov	r0, r3
	bl	format_expression
	str	r0, [fp, #-1020]
	ldr	r0, [fp, #-1020]
	bl	expr_to_stack
	mov	r3, r0
	str	r3, [fp, #-1032]
	mov	r3, #0
	str	r3, [fp, #-1028]
	mov	r3, #0
	str	r3, [fp, #-1024]
	ldr	r3, [fp, #-1032]
	ldr	r2, [fp, #-1024]
	mov	r1, r2
	mov	r0, r3
	bl	eval_expr_parenth
	mov	r3, r0
	str	r3, [fp, #-1032]
	sub	r2, fp, #1024
	sub	r2, r2, #4
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	stack_to_stack
	ldr	r3, [fp, #-1028]
	mov	r0, r3
	bl	eval_expr
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L82+24
	bl	printf
	b	.L77
.L78:
	sub	r3, fp, #1024
	mov	r0, r3
	bl	pop
	str	r0, [fp, #-1016]
	ldr	r0, [fp, #-1016]
	bl	free
.L77:
	ldr	r3, [fp, #-1024]
	cmp	r3, #0
	bne	.L78
	ldr	r0, [fp, #-1020]
	bl	free
	b	.L79
.L81:
	bl	__stack_chk_fail
.L80:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L83:
	.align	2
.L82:
	.word	.LC18
	.word	.LC14
	.word	.LC15
	.word	stdin
	.word	1001
	.word	.LC16
	.word	.LC17
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
