Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <assert.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define MAX_LEN 100

const char *p;

int expr();
int term();
int fact();
int number();

int expr() {
	int res = term();
	while(*p == '+' || *p == '-') {
		const char operator = *p;
		++p;
		switch(operator) {
		case '+': res += term(); break;
		case '-': res -= term(); break;
		default: assert(false);
		}
	}
	return res;
}

int term() {
	int res = fact();
	while(*p == '*' || *p == '/') {
		const char operator = *p;
		++p;
		switch(operator) {
		case '*': res *= fact(); break;
		case '/': res /= fact(); break;
		default: assert(false);
		}
	}
	return res;
}

int fact() {
	if(*p == '-') {
		++p;
		return -fact();
	}
	else if(*p == '(') {
		++p;
		const int res = expr();
		assert(*p == ')');
		++p;
		return res;
	}
	else if(isdigit(*p)) {
		return number();
	}
	else {
		assert(false);
	}
}

int number() {
	int res = 0;
	while(isdigit(*p)) {
		res = res * 10 + (*p - '0');
		++p;
	}
	return res;
}

int main() {
	char input[MAX_LEN + 1];
	int i;
	int n;
	scanf("%d\n", &n);

	for(i = 0; i < n; ++i) {
		fgets(input, MAX_LEN + 1, stdin);
		p = input;
		const int ans = expr();
		assert(*p == '=');
		printf("%d\n", ans);
	}

	return EXIT_SUCCESS;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	p
	.bss
	.align 8
	.type	p, @object
	.size	p, 8
p:
	.zero	8
	.section	.rodata
.LC0:
	.string	"/tmp/tmp_ve9gl55/temp.c"
.LC1:
	.string	"false"
	.text
	.globl	expr
	.type	expr, @function
expr:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, %eax
	call	term
	movl	%eax, -4(%rbp)
	jmp	.L2
.L6:
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	movb	%al, -5(%rbp)
	movq	p(%rip), %rax
	addq	$1, %rax
	movq	%rax, p(%rip)
	movsbl	-5(%rbp), %eax
	cmpl	$43, %eax
	je	.L3
	cmpl	$45, %eax
	je	.L4
	jmp	.L8
.L3:
	movl	$0, %eax
	call	term
	addl	%eax, -4(%rbp)
	jmp	.L2
.L4:
	movl	$0, %eax
	call	term
	subl	%eax, -4(%rbp)
	jmp	.L2
.L8:
	leaq	__PRETTY_FUNCTION__.3(%rip), %rax
	movq	%rax, %rcx
	movl	$25, %edx
	leaq	.LC0(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	__assert_fail@PLT
.L2:
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$43, %al
	je	.L6
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$45, %al
	je	.L6
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	expr, .-expr
	.globl	term
	.type	term, @function
term:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, %eax
	call	fact
	movl	%eax, -4(%rbp)
	jmp	.L10
.L14:
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	movb	%al, -5(%rbp)
	movq	p(%rip), %rax
	addq	$1, %rax
	movq	%rax, p(%rip)
	movsbl	-5(%rbp), %eax
	cmpl	$42, %eax
	je	.L11
	cmpl	$47, %eax
	je	.L12
	jmp	.L16
.L11:
	movl	$0, %eax
	call	fact
	movl	-4(%rbp), %edx
	imull	%edx, %eax
	movl	%eax, -4(%rbp)
	jmp	.L10
.L12:
	movl	$0, %eax
	call	fact
	movl	%eax, %ecx
	movl	-4(%rbp), %eax
	cltd
	idivl	%ecx
	movl	%eax, -4(%rbp)
	jmp	.L10
.L16:
	leaq	__PRETTY_FUNCTION__.2(%rip), %rax
	movq	%rax, %rcx
	movl	$39, %edx
	leaq	.LC0(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	__assert_fail@PLT
.L10:
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$42, %al
	je	.L14
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$47, %al
	je	.L14
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	term, .-term
	.section	.rodata
.LC2:
	.string	"*p == ')'"
	.text
	.globl	fact
	.type	fact, @function
fact:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$45, %al
	jne	.L18
	movq	p(%rip), %rax
	addq	$1, %rax
	movq	%rax, p(%rip)
	movl	$0, %eax
	call	fact
	negl	%eax
	jmp	.L19
.L18:
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$40, %al
	jne	.L20
	movq	p(%rip), %rax
	addq	$1, %rax
	movq	%rax, p(%rip)
	movl	$0, %eax
	call	expr
	movl	%eax, -4(%rbp)
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$41, %al
	je	.L21
	leaq	__PRETTY_FUNCTION__.1(%rip), %rax
	movq	%rax, %rcx
	movl	$53, %edx
	leaq	.LC0(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	__assert_fail@PLT
.L21:
	movq	p(%rip), %rax
	addq	$1, %rax
	movq	%rax, p(%rip)
	movl	-4(%rbp), %eax
	jmp	.L19
.L20:
	call	__ctype_b_loc@PLT
	movq	(%rax), %rdx
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	movsbq	%al, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movzwl	(%rax), %eax
	movzwl	%ax, %eax
	andl	$2048, %eax
	testl	%eax, %eax
	je	.L22
	movl	$0, %eax
	call	number
	jmp	.L19
.L22:
	leaq	__PRETTY_FUNCTION__.1(%rip), %rax
	movq	%rax, %rcx
	movl	$61, %edx
	leaq	.LC0(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	__assert_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	fact, .-fact
	.globl	number
	.type	number, @function
number:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, -4(%rbp)
	jmp	.L24
.L25:
	movl	-4(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	addl	%edx, %eax
	movl	%eax, -4(%rbp)
	movq	p(%rip), %rax
	addq	$1, %rax
	movq	%rax, p(%rip)
.L24:
	call	__ctype_b_loc@PLT
	movq	(%rax), %rdx
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	movsbq	%al, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movzwl	(%rax), %eax
	movzwl	%ax, %eax
	andl	$2048, %eax
	testl	%eax, %eax
	jne	.L25
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	number, .-number
	.section	.rodata
.LC3:
	.string	"%d\n"
.LC4:
	.string	"*p == '='"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	addq	$-128, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-124(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -120(%rbp)
	jmp	.L28
.L30:
	movq	stdin(%rip), %rdx
	leaq	-112(%rbp), %rax
	movl	$101, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	leaq	-112(%rbp), %rax
	movq	%rax, p(%rip)
	movl	$0, %eax
	call	expr
	movl	%eax, -116(%rbp)
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$61, %al
	je	.L29
	leaq	__PRETTY_FUNCTION__.0(%rip), %rax
	movq	%rax, %rcx
	movl	$84, %edx
	leaq	.LC0(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	__assert_fail@PLT
.L29:
	movl	-116(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -120(%rbp)
.L28:
	movl	-124(%rbp), %eax
	cmpl	%eax, -120(%rbp)
	jl	.L30
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.3, @object
	.size	__PRETTY_FUNCTION__.3, 5
__PRETTY_FUNCTION__.3:
	.string	"expr"
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 5
__PRETTY_FUNCTION__.2:
	.string	"term"
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 5
__PRETTY_FUNCTION__.1:
	.string	"fact"
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"main"
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/tmp/tmp_ve9gl55/temp.c"
.LC1:
	.string	"*p == ')'"
.LC2:
	.string	"false"
	.text
	.p2align 4
	.globl	fact
	.type	fact, @function
fact:
.LFB55:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	movq	p(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movsbl	0(%rbp), %ebx
	cmpb	$45, %bl
	jne	.L9
	leaq	1(%rbp), %rax
	movl	$1, %r12d
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rax, p(%rip)
	movq	%rax, %rbp
	movsbl	(%rax), %ebx
	negl	%r12d
	addq	$1, %rax
	cmpb	$45, %bl
	je	.L3
.L2:
	cmpb	$40, %bl
	je	.L15
	call	__ctype_b_loc@PLT
	movq	(%rax), %rsi
	movsbq	%bl, %rax
	testb	$8, 1(%rsi,%rax,2)
	je	.L7
	leaq	1(%rbp), %rax
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L8:
	leal	(%rdx,%rdx,4), %edx
	movq	%rax, p(%rip)
	addq	$1, %rax
	leal	-48(%rbx,%rdx,2), %edx
	movsbl	-1(%rax), %ebx
	movsbq	%bl, %rcx
	testb	$8, 1(%rsi,%rcx,2)
	jne	.L8
	movl	%edx, %eax
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	imull	%r12d, %eax
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	leaq	1(%rbp), %rax
	movq	%rax, p(%rip)
	xorl	%eax, %eax
	call	expr
	movq	p(%rip), %rdx
	cmpb	$41, (%rdx)
	jne	.L16
	addq	$1, %rdx
	imull	%r12d, %eax
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	movq	%rdx, p(%rip)
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	movl	$1, %r12d
	jmp	.L2
.L16:
	leaq	__PRETTY_FUNCTION__.1(%rip), %rcx
	movl	$53, %edx
	leaq	.LC0(%rip), %rsi
	leaq	.LC1(%rip), %rdi
	call	__assert_fail@PLT
.L7:
	leaq	__PRETTY_FUNCTION__.1(%rip), %rcx
	movl	$61, %edx
	leaq	.LC0(%rip), %rsi
	leaq	.LC2(%rip), %rdi
	call	__assert_fail@PLT
	.cfi_endproc
.LFE55:
	.size	fact, .-fact
	.p2align 4
	.globl	term
	.type	term, @function
term:
.LFB54:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xorl	%eax, %eax
	call	fact
	movl	%eax, %r12d
	.p2align 4,,10
	.p2align 3
.L33:
	movq	p(%rip), %rdx
	movzbl	(%rdx), %ecx
	cmpb	$42, %cl
	je	.L27
	cmpb	$47, %cl
	jne	.L17
.L27:
	addq	$1, %rdx
	movq	%rdx, p(%rip)
	cmpb	$42, %cl
	jne	.L34
	xorl	%eax, %eax
	call	fact
	movq	p(%rip), %rdx
	imull	%eax, %r12d
	movzbl	(%rdx), %ecx
	cmpb	$42, %cl
	je	.L27
	cmpb	$47, %cl
	je	.L27
.L17:
	movl	%r12d, %eax
	popq	%r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L34:
	.cfi_restore_state
	cmpb	$47, %cl
	jne	.L35
	xorl	%eax, %eax
	call	fact
	movl	%eax, %r8d
	movl	%r12d, %eax
	cltd
	idivl	%r8d
	movl	%eax, %r12d
	jmp	.L33
.L35:
	leaq	__PRETTY_FUNCTION__.2(%rip), %rcx
	movl	$39, %edx
	leaq	.LC0(%rip), %rsi
	leaq	.LC2(%rip), %rdi
	call	__assert_fail@PLT
	.cfi_endproc
.LFE54:
	.size	term, .-term
	.p2align 4
	.globl	expr
	.type	expr, @function
expr:
.LFB53:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xorl	%eax, %eax
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$8, %rsp
	.cfi_def_cfa_offset 32
	call	fact
	movl	%eax, %r12d
	.p2align 4,,10
	.p2align 3
.L84:
	movq	p(%rip), %rdx
	movzbl	(%rdx), %ecx
	cmpb	$42, %cl
	je	.L69
	cmpb	$47, %cl
	jne	.L37
.L69:
	addq	$1, %rdx
	movq	%rdx, p(%rip)
	cmpb	$42, %cl
	jne	.L85
	xorl	%eax, %eax
	call	fact
	movq	p(%rip), %rdx
	imull	%eax, %r12d
	movzbl	(%rdx), %ecx
	cmpb	$42, %cl
	je	.L69
	cmpb	$47, %cl
	je	.L69
	.p2align 4,,10
	.p2align 3
.L37:
	leal	-43(%rcx), %eax
	testb	$-3, %al
	jne	.L36
.L88:
	addq	$1, %rdx
	movq	%rdx, p(%rip)
	cmpb	$43, %cl
	jne	.L86
	xorl	%eax, %eax
	call	fact
	.p2align 4,,10
	.p2align 3
.L80:
	movq	p(%rip), %rdx
	movl	%eax, %ebx
	movzbl	(%rdx), %ecx
	cmpb	$42, %cl
	je	.L70
	cmpb	$47, %cl
	jne	.L48
.L70:
	addq	$1, %rdx
	movq	%rdx, p(%rip)
	cmpb	$42, %cl
	jne	.L87
	xorl	%eax, %eax
	call	fact
	movq	p(%rip), %rdx
	imull	%eax, %ebx
	movzbl	(%rdx), %ecx
	cmpb	$42, %cl
	je	.L70
	cmpb	$47, %cl
	je	.L70
.L48:
	leal	-43(%rcx), %eax
	addl	%ebx, %r12d
	testb	$-3, %al
	je	.L88
.L36:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movl	%r12d, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L87:
	.cfi_restore_state
	cmpb	$47, %cl
	jne	.L41
	xorl	%eax, %eax
	call	fact
	movl	%eax, %r8d
	movl	%ebx, %eax
	cltd
	idivl	%r8d
	jmp	.L80
	.p2align 4,,10
	.p2align 3
.L85:
	cmpb	$47, %cl
	jne	.L41
	xorl	%eax, %eax
	call	fact
	movl	%eax, %r8d
	movl	%r12d, %eax
	cltd
	idivl	%r8d
	movl	%eax, %r12d
	jmp	.L84
	.p2align 4,,10
	.p2align 3
.L86:
	cmpb	$45, %cl
	jne	.L89
	xorl	%eax, %eax
	call	fact
	.p2align 4,,10
	.p2align 3
.L82:
	movq	p(%rip), %rdx
	movl	%eax, %ebx
	movzbl	(%rdx), %ecx
	cmpb	$42, %cl
	je	.L71
	cmpb	$47, %cl
	jne	.L55
.L71:
	addq	$1, %rdx
	movq	%rdx, p(%rip)
	cmpb	$42, %cl
	jne	.L90
	xorl	%eax, %eax
	call	fact
	movq	p(%rip), %rdx
	imull	%eax, %ebx
	movzbl	(%rdx), %ecx
	cmpb	$42, %cl
	je	.L71
	cmpb	$47, %cl
	je	.L71
.L55:
	subl	%ebx, %r12d
	jmp	.L37
	.p2align 4,,10
	.p2align 3
.L90:
	cmpb	$47, %cl
	jne	.L41
	xorl	%eax, %eax
	call	fact
	movl	%eax, %r8d
	movl	%ebx, %eax
	cltd
	idivl	%r8d
	jmp	.L82
.L41:
	leaq	__PRETTY_FUNCTION__.2(%rip), %rcx
	movl	$39, %edx
	leaq	.LC0(%rip), %rsi
	leaq	.LC2(%rip), %rdi
	call	__assert_fail@PLT
.L89:
	leaq	__PRETTY_FUNCTION__.3(%rip), %rcx
	movl	$25, %edx
	leaq	.LC0(%rip), %rsi
	leaq	.LC2(%rip), %rdi
	call	__assert_fail@PLT
	.cfi_endproc
.LFE53:
	.size	expr, .-expr
	.p2align 4
	.globl	number
	.type	number, @function
number:
.LFB56:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	call	__ctype_b_loc@PLT
	movq	p(%rip), %rdx
	movq	(%rax), %rsi
	movsbq	(%rdx), %rcx
	testb	$8, 1(%rsi,%rcx,2)
	je	.L94
	movq	%rcx, %rax
	addq	$1, %rdx
	xorl	%r8d, %r8d
	.p2align 4,,10
	.p2align 3
.L93:
	leal	(%r8,%r8,4), %ecx
	movq	%rdx, p(%rip)
	addq	$1, %rdx
	leal	-48(%rax,%rcx,2), %r8d
	movsbl	-1(%rdx), %eax
	movsbq	%al, %rcx
	testb	$8, 1(%rsi,%rcx,2)
	jne	.L93
	movl	%r8d, %eax
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L94:
	.cfi_restore_state
	xorl	%r8d, %r8d
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE56:
	.size	number, .-number
	.section	.rodata.str1.1
.LC3:
	.string	"%d\n"
.LC4:
	.string	"*p == '='"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB57:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC3(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	movq	%r14, %rdi
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	xorl	%ebp, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	addq	$-128, %rsp
	.cfi_def_cfa_offset 176
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	16(%rsp), %r13
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L125
.L98:
	movq	stdin(%rip), %rdx
	movl	$101, %esi
	movq	%r13, %rdi
	call	fgets@PLT
	xorl	%eax, %eax
	movq	%r13, p(%rip)
	call	fact
	movl	%eax, %r12d
	.p2align 4,,10
	.p2align 3
.L154:
	movq	p(%rip), %rdx
	movzbl	(%rdx), %eax
	cmpb	$42, %al
	je	.L137
	cmpb	$47, %al
	jne	.L99
.L137:
	addq	$1, %rdx
	movq	%rdx, p(%rip)
	cmpb	$42, %al
	jne	.L155
	xorl	%eax, %eax
	call	fact
	movq	p(%rip), %rdx
	imull	%eax, %r12d
	movzbl	(%rdx), %eax
	cmpb	$42, %al
	je	.L137
	cmpb	$47, %al
	je	.L137
	.p2align 4,,10
	.p2align 3
.L99:
	leal	-43(%rax), %ecx
	andl	$253, %ecx
	jne	.L106
.L158:
	addq	$1, %rdx
	movq	%rdx, p(%rip)
	cmpb	$43, %al
	jne	.L156
	xorl	%eax, %eax
	call	fact
	.p2align 4,,10
	.p2align 3
.L150:
	movq	p(%rip), %rdx
	movl	%eax, %ebx
	movzbl	(%rdx), %eax
	cmpb	$42, %al
	je	.L138
	cmpb	$47, %al
	jne	.L110
.L138:
	addq	$1, %rdx
	movq	%rdx, p(%rip)
	cmpb	$42, %al
	jne	.L157
	xorl	%eax, %eax
	call	fact
	movq	p(%rip), %rdx
	imull	%eax, %ebx
	movzbl	(%rdx), %eax
	cmpb	$42, %al
	je	.L138
	cmpb	$47, %al
	je	.L138
.L110:
	leal	-43(%rax), %ecx
	addl	%ebx, %r12d
	andl	$253, %ecx
	je	.L158
.L106:
	cmpb	$61, %al
	jne	.L159
	movl	%r12d, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	addl	$1, %ebp
	cmpl	%ebp, 12(%rsp)
	jg	.L98
.L125:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L160
	subq	$-128, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L157:
	.cfi_restore_state
	cmpb	$47, %al
	jne	.L103
	xorl	%eax, %eax
	call	fact
	movl	%eax, %r8d
	movl	%ebx, %eax
	cltd
	idivl	%r8d
	jmp	.L150
	.p2align 4,,10
	.p2align 3
.L155:
	cmpb	$47, %al
	jne	.L103
	xorl	%eax, %eax
	call	fact
	movl	%eax, %r8d
	movl	%r12d, %eax
	cltd
	idivl	%r8d
	movl	%eax, %r12d
	jmp	.L154
	.p2align 4,,10
	.p2align 3
.L156:
	cmpb	$45, %al
	jne	.L161
	xorl	%eax, %eax
	call	fact
	.p2align 4,,10
	.p2align 3
.L152:
	movq	p(%rip), %rdx
	movl	%eax, %ebx
	movzbl	(%rdx), %eax
	cmpb	$42, %al
	je	.L139
	cmpb	$47, %al
	jne	.L117
.L139:
	addq	$1, %rdx
	movq	%rdx, p(%rip)
	cmpb	$42, %al
	jne	.L162
	xorl	%eax, %eax
	call	fact
	movq	p(%rip), %rdx
	imull	%eax, %ebx
	movzbl	(%rdx), %eax
	cmpb	$42, %al
	je	.L139
	cmpb	$47, %al
	je	.L139
.L117:
	subl	%ebx, %r12d
	jmp	.L99
	.p2align 4,,10
	.p2align 3
.L162:
	cmpb	$47, %al
	jne	.L103
	xorl	%eax, %eax
	call	fact
	movl	%eax, %r8d
	movl	%ebx, %eax
	cltd
	idivl	%r8d
	jmp	.L152
.L103:
	leaq	__PRETTY_FUNCTION__.2(%rip), %rcx
	movl	$39, %edx
	leaq	.LC0(%rip), %rsi
	leaq	.LC2(%rip), %rdi
	call	__assert_fail@PLT
.L161:
	leaq	__PRETTY_FUNCTION__.3(%rip), %rcx
	movl	$25, %edx
	leaq	.LC0(%rip), %rsi
	leaq	.LC2(%rip), %rdi
	call	__assert_fail@PLT
.L159:
	leaq	__PRETTY_FUNCTION__.0(%rip), %rcx
	movl	$84, %edx
	leaq	.LC0(%rip), %rsi
	leaq	.LC4(%rip), %rdi
	call	__assert_fail@PLT
.L160:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE57:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"main"
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 5
__PRETTY_FUNCTION__.1:
	.string	"fact"
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 5
__PRETTY_FUNCTION__.2:
	.string	"term"
	.type	__PRETTY_FUNCTION__.3, @object
	.size	__PRETTY_FUNCTION__.3, 5
__PRETTY_FUNCTION__.3:
	.string	"expr"
	.globl	p
	.bss
	.align 8
	.type	p, @object
	.size	p, 8
p:
	.zero	8
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/tmp/tmp_ve9gl55/temp.c"
.LC1:
	.string	"*p == ')'"
.LC2:
	.string	"false"
	.text
	.p2align 4
	.globl	fact
	.type	fact, @function
fact:
.LFB55:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	movq	p(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movsbl	0(%rbp), %ebx
	cmpb	$45, %bl
	jne	.L9
	leaq	1(%rbp), %rax
	movl	$1, %r12d
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rax, p(%rip)
	movq	%rax, %rbp
	movsbl	(%rax), %ebx
	negl	%r12d
	addq	$1, %rax
	cmpb	$45, %bl
	je	.L3
.L2:
	cmpb	$40, %bl
	je	.L15
	call	__ctype_b_loc@PLT
	movq	(%rax), %rsi
	movsbq	%bl, %rax
	testb	$8, 1(%rsi,%rax,2)
	je	.L7
	leaq	1(%rbp), %rax
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L8:
	leal	(%rdx,%rdx,4), %edx
	movq	%rax, p(%rip)
	addq	$1, %rax
	leal	-48(%rbx,%rdx,2), %edx
	movsbl	-1(%rax), %ebx
	movsbq	%bl, %rcx
	testb	$8, 1(%rsi,%rcx,2)
	jne	.L8
	movl	%edx, %eax
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	imull	%r12d, %eax
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	leaq	1(%rbp), %rax
	movq	%rax, p(%rip)
	xorl	%eax, %eax
	call	expr
	movq	p(%rip), %rdx
	cmpb	$41, (%rdx)
	jne	.L16
	addq	$1, %rdx
	imull	%r12d, %eax
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	movq	%rdx, p(%rip)
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	movl	$1, %r12d
	jmp	.L2
.L16:
	leaq	__PRETTY_FUNCTION__.1(%rip), %rcx
	movl	$53, %edx
	leaq	.LC0(%rip), %rsi
	leaq	.LC1(%rip), %rdi
	call	__assert_fail@PLT
.L7:
	leaq	__PRETTY_FUNCTION__.1(%rip), %rcx
	movl	$61, %edx
	leaq	.LC0(%rip), %rsi
	leaq	.LC2(%rip), %rdi
	call	__assert_fail@PLT
	.cfi_endproc
.LFE55:
	.size	fact, .-fact
	.p2align 4
	.globl	term
	.type	term, @function
term:
.LFB54:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xorl	%eax, %eax
	call	fact
	movl	%eax, %r12d
	.p2align 4,,10
	.p2align 3
.L33:
	movq	p(%rip), %rdx
	movzbl	(%rdx), %ecx
	cmpb	$42, %cl
	je	.L27
	cmpb	$47, %cl
	jne	.L17
.L27:
	addq	$1, %rdx
	movq	%rdx, p(%rip)
	cmpb	$42, %cl
	jne	.L34
	xorl	%eax, %eax
	call	fact
	movq	p(%rip), %rdx
	imull	%eax, %r12d
	movzbl	(%rdx), %ecx
	cmpb	$42, %cl
	je	.L27
	cmpb	$47, %cl
	je	.L27
.L17:
	movl	%r12d, %eax
	popq	%r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L34:
	.cfi_restore_state
	cmpb	$47, %cl
	jne	.L35
	xorl	%eax, %eax
	call	fact
	movl	%eax, %r8d
	movl	%r12d, %eax
	cltd
	idivl	%r8d
	movl	%eax, %r12d
	jmp	.L33
.L35:
	leaq	__PRETTY_FUNCTION__.2(%rip), %rcx
	movl	$39, %edx
	leaq	.LC0(%rip), %rsi
	leaq	.LC2(%rip), %rdi
	call	__assert_fail@PLT
	.cfi_endproc
.LFE54:
	.size	term, .-term
	.p2align 4
	.globl	expr
	.type	expr, @function
expr:
.LFB53:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xorl	%eax, %eax
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$8, %rsp
	.cfi_def_cfa_offset 32
	call	fact
	movl	%eax, %r12d
	.p2align 4,,10
	.p2align 3
.L84:
	movq	p(%rip), %rdx
	movzbl	(%rdx), %ecx
	cmpb	$42, %cl
	je	.L69
	cmpb	$47, %cl
	jne	.L37
.L69:
	addq	$1, %rdx
	movq	%rdx, p(%rip)
	cmpb	$42, %cl
	jne	.L85
	xorl	%eax, %eax
	call	fact
	movq	p(%rip), %rdx
	imull	%eax, %r12d
	movzbl	(%rdx), %ecx
	cmpb	$42, %cl
	je	.L69
	cmpb	$47, %cl
	je	.L69
	.p2align 4,,10
	.p2align 3
.L37:
	leal	-43(%rcx), %eax
	testb	$-3, %al
	jne	.L36
.L88:
	addq	$1, %rdx
	movq	%rdx, p(%rip)
	cmpb	$43, %cl
	jne	.L86
	xorl	%eax, %eax
	call	fact
	.p2align 4,,10
	.p2align 3
.L80:
	movq	p(%rip), %rdx
	movl	%eax, %ebx
	movzbl	(%rdx), %ecx
	cmpb	$42, %cl
	je	.L70
	cmpb	$47, %cl
	jne	.L48
.L70:
	addq	$1, %rdx
	movq	%rdx, p(%rip)
	cmpb	$42, %cl
	jne	.L87
	xorl	%eax, %eax
	call	fact
	movq	p(%rip), %rdx
	imull	%eax, %ebx
	movzbl	(%rdx), %ecx
	cmpb	$42, %cl
	je	.L70
	cmpb	$47, %cl
	je	.L70
.L48:
	leal	-43(%rcx), %eax
	addl	%ebx, %r12d
	testb	$-3, %al
	je	.L88
.L36:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movl	%r12d, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L87:
	.cfi_restore_state
	cmpb	$47, %cl
	jne	.L41
	xorl	%eax, %eax
	call	fact
	movl	%eax, %r8d
	movl	%ebx, %eax
	cltd
	idivl	%r8d
	jmp	.L80
	.p2align 4,,10
	.p2align 3
.L85:
	cmpb	$47, %cl
	jne	.L41
	xorl	%eax, %eax
	call	fact
	movl	%eax, %r8d
	movl	%r12d, %eax
	cltd
	idivl	%r8d
	movl	%eax, %r12d
	jmp	.L84
	.p2align 4,,10
	.p2align 3
.L86:
	cmpb	$45, %cl
	jne	.L89
	xorl	%eax, %eax
	call	fact
	.p2align 4,,10
	.p2align 3
.L82:
	movq	p(%rip), %rdx
	movl	%eax, %ebx
	movzbl	(%rdx), %ecx
	cmpb	$42, %cl
	je	.L71
	cmpb	$47, %cl
	jne	.L55
.L71:
	addq	$1, %rdx
	movq	%rdx, p(%rip)
	cmpb	$42, %cl
	jne	.L90
	xorl	%eax, %eax
	call	fact
	movq	p(%rip), %rdx
	imull	%eax, %ebx
	movzbl	(%rdx), %ecx
	cmpb	$42, %cl
	je	.L71
	cmpb	$47, %cl
	je	.L71
.L55:
	subl	%ebx, %r12d
	jmp	.L37
	.p2align 4,,10
	.p2align 3
.L90:
	cmpb	$47, %cl
	jne	.L41
	xorl	%eax, %eax
	call	fact
	movl	%eax, %r8d
	movl	%ebx, %eax
	cltd
	idivl	%r8d
	jmp	.L82
.L41:
	leaq	__PRETTY_FUNCTION__.2(%rip), %rcx
	movl	$39, %edx
	leaq	.LC0(%rip), %rsi
	leaq	.LC2(%rip), %rdi
	call	__assert_fail@PLT
.L89:
	leaq	__PRETTY_FUNCTION__.3(%rip), %rcx
	movl	$25, %edx
	leaq	.LC0(%rip), %rsi
	leaq	.LC2(%rip), %rdi
	call	__assert_fail@PLT
	.cfi_endproc
.LFE53:
	.size	expr, .-expr
	.p2align 4
	.globl	number
	.type	number, @function
number:
.LFB56:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	call	__ctype_b_loc@PLT
	movq	p(%rip), %rdx
	movq	(%rax), %rsi
	movsbq	(%rdx), %rcx
	testb	$8, 1(%rsi,%rcx,2)
	je	.L94
	movq	%rcx, %rax
	addq	$1, %rdx
	xorl	%r8d, %r8d
	.p2align 4,,10
	.p2align 3
.L93:
	leal	(%r8,%r8,4), %ecx
	movq	%rdx, p(%rip)
	addq	$1, %rdx
	leal	-48(%rax,%rcx,2), %r8d
	movsbl	-1(%rdx), %eax
	movsbq	%al, %rcx
	testb	$8, 1(%rsi,%rcx,2)
	jne	.L93
	movl	%r8d, %eax
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L94:
	.cfi_restore_state
	xorl	%r8d, %r8d
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE56:
	.size	number, .-number
	.section	.rodata.str1.1
.LC3:
	.string	"%d\n"
.LC4:
	.string	"*p == '='"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB57:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC3(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	movq	%r14, %rdi
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	xorl	%ebp, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	addq	$-128, %rsp
	.cfi_def_cfa_offset 176
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	16(%rsp), %r13
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L125
.L98:
	movq	stdin(%rip), %rdx
	movl	$101, %esi
	movq	%r13, %rdi
	call	fgets@PLT
	xorl	%eax, %eax
	movq	%r13, p(%rip)
	call	fact
	movl	%eax, %r12d
	.p2align 4,,10
	.p2align 3
.L154:
	movq	p(%rip), %rdx
	movzbl	(%rdx), %eax
	cmpb	$42, %al
	je	.L137
	cmpb	$47, %al
	jne	.L99
.L137:
	addq	$1, %rdx
	movq	%rdx, p(%rip)
	cmpb	$42, %al
	jne	.L155
	xorl	%eax, %eax
	call	fact
	movq	p(%rip), %rdx
	imull	%eax, %r12d
	movzbl	(%rdx), %eax
	cmpb	$42, %al
	je	.L137
	cmpb	$47, %al
	je	.L137
	.p2align 4,,10
	.p2align 3
.L99:
	leal	-43(%rax), %ecx
	andl	$253, %ecx
	jne	.L106
.L158:
	addq	$1, %rdx
	movq	%rdx, p(%rip)
	cmpb	$43, %al
	jne	.L156
	xorl	%eax, %eax
	call	fact
	.p2align 4,,10
	.p2align 3
.L150:
	movq	p(%rip), %rdx
	movl	%eax, %ebx
	movzbl	(%rdx), %eax
	cmpb	$42, %al
	je	.L138
	cmpb	$47, %al
	jne	.L110
.L138:
	addq	$1, %rdx
	movq	%rdx, p(%rip)
	cmpb	$42, %al
	jne	.L157
	xorl	%eax, %eax
	call	fact
	movq	p(%rip), %rdx
	imull	%eax, %ebx
	movzbl	(%rdx), %eax
	cmpb	$42, %al
	je	.L138
	cmpb	$47, %al
	je	.L138
.L110:
	leal	-43(%rax), %ecx
	addl	%ebx, %r12d
	andl	$253, %ecx
	je	.L158
.L106:
	cmpb	$61, %al
	jne	.L159
	movl	%r12d, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	addl	$1, %ebp
	cmpl	%ebp, 12(%rsp)
	jg	.L98
.L125:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L160
	subq	$-128, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L157:
	.cfi_restore_state
	cmpb	$47, %al
	jne	.L103
	xorl	%eax, %eax
	call	fact
	movl	%eax, %r8d
	movl	%ebx, %eax
	cltd
	idivl	%r8d
	jmp	.L150
	.p2align 4,,10
	.p2align 3
.L155:
	cmpb	$47, %al
	jne	.L103
	xorl	%eax, %eax
	call	fact
	movl	%eax, %r8d
	movl	%r12d, %eax
	cltd
	idivl	%r8d
	movl	%eax, %r12d
	jmp	.L154
	.p2align 4,,10
	.p2align 3
.L156:
	cmpb	$45, %al
	jne	.L161
	xorl	%eax, %eax
	call	fact
	.p2align 4,,10
	.p2align 3
.L152:
	movq	p(%rip), %rdx
	movl	%eax, %ebx
	movzbl	(%rdx), %eax
	cmpb	$42, %al
	je	.L139
	cmpb	$47, %al
	jne	.L117
.L139:
	addq	$1, %rdx
	movq	%rdx, p(%rip)
	cmpb	$42, %al
	jne	.L162
	xorl	%eax, %eax
	call	fact
	movq	p(%rip), %rdx
	imull	%eax, %ebx
	movzbl	(%rdx), %eax
	cmpb	$42, %al
	je	.L139
	cmpb	$47, %al
	je	.L139
.L117:
	subl	%ebx, %r12d
	jmp	.L99
	.p2align 4,,10
	.p2align 3
.L162:
	cmpb	$47, %al
	jne	.L103
	xorl	%eax, %eax
	call	fact
	movl	%eax, %r8d
	movl	%ebx, %eax
	cltd
	idivl	%r8d
	jmp	.L152
.L103:
	leaq	__PRETTY_FUNCTION__.2(%rip), %rcx
	movl	$39, %edx
	leaq	.LC0(%rip), %rsi
	leaq	.LC2(%rip), %rdi
	call	__assert_fail@PLT
.L161:
	leaq	__PRETTY_FUNCTION__.3(%rip), %rcx
	movl	$25, %edx
	leaq	.LC0(%rip), %rsi
	leaq	.LC2(%rip), %rdi
	call	__assert_fail@PLT
.L159:
	leaq	__PRETTY_FUNCTION__.0(%rip), %rcx
	movl	$84, %edx
	leaq	.LC0(%rip), %rsi
	leaq	.LC4(%rip), %rdi
	call	__assert_fail@PLT
.L160:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE57:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"main"
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 5
__PRETTY_FUNCTION__.1:
	.string	"fact"
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 5
__PRETTY_FUNCTION__.2:
	.string	"term"
	.type	__PRETTY_FUNCTION__.3, @object
	.size	__PRETTY_FUNCTION__.3, 5
__PRETTY_FUNCTION__.3:
	.string	"expr"
	.globl	p
	.bss
	.align 8
	.type	p, @object
	.size	p, 8
p:
	.zero	8
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:

#include <assert.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define MAX_LEN 100

const char *p;

int expr();
int term();
int fact();
int number();

int expr() {
	int res = term();
	while(*p == '+' || *p == '-') {
		const char operator = *p;
		++p;
		switch(operator) {
		case '+': res += term(); break;
		case '-': res -= term(); break;
		default: assert(false);
		}
	}
	return res;
}

int term() {
	int res = fact();
	while(*p == '*' || *p == '/') {
		const char operator = *p;
		++p;
		switch(operator) {
		case '*': res *= fact(); break;
		case '/': res /= fact(); break;
		default: assert(false);
		}
	}
	return res;
}

int fact() {
	if(*p == '-') {
		++p;
		return -fact();
	}
	else if(*p == '(') {
		++p;
		const int res = expr();
		assert(*p == ')');
		++p;
		return res;
	}
	else if(isdigit(*p)) {
		return number();
	}
	else {
		assert(false);
	}
}

int number() {
	int res = 0;
	while(isdigit(*p)) {
		res = res * 10 + (*p - '0');
		++p;
	}
	return res;
}

int main() {
	char input[MAX_LEN + 1];
	int i;
	int n;
	scanf("%d\n", &n);

	for(i = 0; i < n; ++i) {
		fgets(input, MAX_LEN + 1, stdin);
		p = input;
		const int ans = expr();
		assert(*p == '=');
		printf("%d\n", ans);
	}

	return EXIT_SUCCESS;
}
2
4-2*3=
8*(4+4+3)=
 2
4-2*3=
8*(4+4+2)=
 2
4-3*3=
4*(8+4+3)=
 2
4-1*3=
4*(8+4+3)=
 2
4-1+3=
4*(8+4+3)=
 2
4-2+3=
4*(8+4+3)=
 2
5-1+3=
4*(8+4+3)=
 2
3-1*3=
4*(8+4+3)=
 2
4-2+3=
4+(8+4*3)=
 2
4-2*3=
4+(8+4*3)=

-2
88
 -2
80
 -5
60
 1
60
 6
60
 5
60
 7
60
 0
60
 5
24
 -2
24

Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <assert.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define MAX_LEN 100

const char *p;

int expr();
int term();
int fact();
int number();

int expr() {
	int res = term();
	while(*p == '+' || *p == '-') {
		const char operator = *p;
		++p;
		switch(operator) {
		case '+': res += term(); break;
		case '-': res -= term(); break;
		default: assert(false);
		}
	}
	return res;
}

int term() {
	int res = fact();
	while(*p == '*' || *p == '/') {
		const char operator = *p;
		++p;
		switch(operator) {
		case '*': res *= fact(); break;
		case '/': res /= fact(); break;
		default: assert(false);
		}
	}
	return res;
}

int fact() {
	if(*p == '-') {
		++p;
		return -fact();
	}
	else if(*p == '(') {
		++p;
		const int res = expr();
		assert(*p == ')');
		++p;
		return res;
	}
	else if(isdigit(*p)) {
		return number();
	}
	else {
		assert(false);
	}
}

int number() {
	int res = 0;
	while(isdigit(*p)) {
		res = res * 10 + (*p - '0');
		++p;
	}
	return res;
}

int main() {
	char input[MAX_LEN + 1];
	int i;
	int n;
	scanf("%d\n", &n);

	for(i = 0; i < n; ++i) {
		fgets(input, MAX_LEN + 1, stdin);
		p = input;
		const int ans = expr();
		assert(*p == '=');
		printf("%d\n", ans);
	}

	return EXIT_SUCCESS;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	p
	.bss
	.align 8
	.type	p, @object
	.size	p, 8
p:
	.zero	8
	.section	.rodata
.LC0:
	.string	"/tmp/tmp_ve9gl55/temp.c"
.LC1:
	.string	"false"
	.text
	.globl	expr
	.type	expr, @function
expr:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, %eax
	call	term
	movl	%eax, -4(%rbp)
	jmp	.L2
.L6:
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	movb	%al, -5(%rbp)
	movq	p(%rip), %rax
	addq	$1, %rax
	movq	%rax, p(%rip)
	movsbl	-5(%rbp), %eax
	cmpl	$43, %eax
	je	.L3
	cmpl	$45, %eax
	je	.L4
	jmp	.L8
.L3:
	movl	$0, %eax
	call	term
	addl	%eax, -4(%rbp)
	jmp	.L2
.L4:
	movl	$0, %eax
	call	term
	subl	%eax, -4(%rbp)
	jmp	.L2
.L8:
	leaq	__PRETTY_FUNCTION__.3(%rip), %rax
	movq	%rax, %rcx
	movl	$25, %edx
	leaq	.LC0(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	__assert_fail@PLT
.L2:
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$43, %al
	je	.L6
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$45, %al
	je	.L6
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	expr, .-expr
	.globl	term
	.type	term, @function
term:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, %eax
	call	fact
	movl	%eax, -4(%rbp)
	jmp	.L10
.L14:
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	movb	%al, -5(%rbp)
	movq	p(%rip), %rax
	addq	$1, %rax
	movq	%rax, p(%rip)
	movsbl	-5(%rbp), %eax
	cmpl	$42, %eax
	je	.L11
	cmpl	$47, %eax
	je	.L12
	jmp	.L16
.L11:
	movl	$0, %eax
	call	fact
	movl	-4(%rbp), %edx
	imull	%edx, %eax
	movl	%eax, -4(%rbp)
	jmp	.L10
.L12:
	movl	$0, %eax
	call	fact
	movl	%eax, %ecx
	movl	-4(%rbp), %eax
	cltd
	idivl	%ecx
	movl	%eax, -4(%rbp)
	jmp	.L10
.L16:
	leaq	__PRETTY_FUNCTION__.2(%rip), %rax
	movq	%rax, %rcx
	movl	$39, %edx
	leaq	.LC0(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	__assert_fail@PLT
.L10:
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$42, %al
	je	.L14
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$47, %al
	je	.L14
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	term, .-term
	.section	.rodata
.LC2:
	.string	"*p == ')'"
	.text
	.globl	fact
	.type	fact, @function
fact:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$45, %al
	jne	.L18
	movq	p(%rip), %rax
	addq	$1, %rax
	movq	%rax, p(%rip)
	movl	$0, %eax
	call	fact
	negl	%eax
	jmp	.L19
.L18:
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$40, %al
	jne	.L20
	movq	p(%rip), %rax
	addq	$1, %rax
	movq	%rax, p(%rip)
	movl	$0, %eax
	call	expr
	movl	%eax, -4(%rbp)
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$41, %al
	je	.L21
	leaq	__PRETTY_FUNCTION__.1(%rip), %rax
	movq	%rax, %rcx
	movl	$53, %edx
	leaq	.LC0(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	__assert_fail@PLT
.L21:
	movq	p(%rip), %rax
	addq	$1, %rax
	movq	%rax, p(%rip)
	movl	-4(%rbp), %eax
	jmp	.L19
.L20:
	call	__ctype_b_loc@PLT
	movq	(%rax), %rdx
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	movsbq	%al, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movzwl	(%rax), %eax
	movzwl	%ax, %eax
	andl	$2048, %eax
	testl	%eax, %eax
	je	.L22
	movl	$0, %eax
	call	number
	jmp	.L19
.L22:
	leaq	__PRETTY_FUNCTION__.1(%rip), %rax
	movq	%rax, %rcx
	movl	$61, %edx
	leaq	.LC0(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	__assert_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	fact, .-fact
	.globl	number
	.type	number, @function
number:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, -4(%rbp)
	jmp	.L24
.L25:
	movl	-4(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	addl	%edx, %eax
	movl	%eax, -4(%rbp)
	movq	p(%rip), %rax
	addq	$1, %rax
	movq	%rax, p(%rip)
.L24:
	call	__ctype_b_loc@PLT
	movq	(%rax), %rdx
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	movsbq	%al, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movzwl	(%rax), %eax
	movzwl	%ax, %eax
	andl	$2048, %eax
	testl	%eax, %eax
	jne	.L25
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	number, .-number
	.section	.rodata
.LC3:
	.string	"%d\n"
.LC4:
	.string	"*p == '='"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	addq	$-128, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-124(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -120(%rbp)
	jmp	.L28
.L30:
	movq	stdin(%rip), %rdx
	leaq	-112(%rbp), %rax
	movl	$101, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	leaq	-112(%rbp), %rax
	movq	%rax, p(%rip)
	movl	$0, %eax
	call	expr
	movl	%eax, -116(%rbp)
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$61, %al
	je	.L29
	leaq	__PRETTY_FUNCTION__.0(%rip), %rax
	movq	%rax, %rcx
	movl	$84, %edx
	leaq	.LC0(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	__assert_fail@PLT
.L29:
	movl	-116(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -120(%rbp)
.L28:
	movl	-124(%rbp), %eax
	cmpl	%eax, -120(%rbp)
	jl	.L30
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.3, @object
	.size	__PRETTY_FUNCTION__.3, 5
__PRETTY_FUNCTION__.3:
	.string	"expr"
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 5
__PRETTY_FUNCTION__.2:
	.string	"term"
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 5
__PRETTY_FUNCTION__.1:
	.string	"fact"
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"main"
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.globl	p
	.bss
	.align 8
	.type	p, @object
	.size	p, 8
p:
	.zero	8
	.section	.rodata
.LC0:
	.string	"/tmp/tmp_ve9gl55/temp.c"
.LC1:
	.string	"false"
	.text
	.globl	expr
	.type	expr, @function
expr:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, %eax
	call	term
	movl	%eax, -4(%rbp)
	jmp	.L2
.L6:
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	movb	%al, -5(%rbp)
	movq	p(%rip), %rax
	addq	$1, %rax
	movq	%rax, p(%rip)
	movsbl	-5(%rbp), %eax
	cmpl	$43, %eax
	je	.L3
	cmpl	$45, %eax
	je	.L4
	jmp	.L8
.L3:
	movl	$0, %eax
	call	term
	addl	%eax, -4(%rbp)
	jmp	.L2
.L4:
	movl	$0, %eax
	call	term
	subl	%eax, -4(%rbp)
	jmp	.L2
.L8:
	leaq	__PRETTY_FUNCTION__.3(%rip), %rax
	movq	%rax, %rcx
	movl	$25, %edx
	leaq	.LC0(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	__assert_fail@PLT
.L2:
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$43, %al
	je	.L6
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$45, %al
	je	.L6
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	expr, .-expr
	.globl	term
	.type	term, @function
term:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, %eax
	call	fact
	movl	%eax, -4(%rbp)
	jmp	.L10
.L14:
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	movb	%al, -5(%rbp)
	movq	p(%rip), %rax
	addq	$1, %rax
	movq	%rax, p(%rip)
	movsbl	-5(%rbp), %eax
	cmpl	$42, %eax
	je	.L11
	cmpl	$47, %eax
	je	.L12
	jmp	.L16
.L11:
	movl	$0, %eax
	call	fact
	movl	-4(%rbp), %edx
	imull	%edx, %eax
	movl	%eax, -4(%rbp)
	jmp	.L10
.L12:
	movl	$0, %eax
	call	fact
	movl	%eax, %ecx
	movl	-4(%rbp), %eax
	cltd
	idivl	%ecx
	movl	%eax, -4(%rbp)
	jmp	.L10
.L16:
	leaq	__PRETTY_FUNCTION__.2(%rip), %rax
	movq	%rax, %rcx
	movl	$39, %edx
	leaq	.LC0(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	__assert_fail@PLT
.L10:
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$42, %al
	je	.L14
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$47, %al
	je	.L14
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	term, .-term
	.section	.rodata
.LC2:
	.string	"*p == ')'"
	.text
	.globl	fact
	.type	fact, @function
fact:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$45, %al
	jne	.L18
	movq	p(%rip), %rax
	addq	$1, %rax
	movq	%rax, p(%rip)
	movl	$0, %eax
	call	fact
	negl	%eax
	jmp	.L19
.L18:
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$40, %al
	jne	.L20
	movq	p(%rip), %rax
	addq	$1, %rax
	movq	%rax, p(%rip)
	movl	$0, %eax
	call	expr
	movl	%eax, -4(%rbp)
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$41, %al
	je	.L21
	leaq	__PRETTY_FUNCTION__.1(%rip), %rax
	movq	%rax, %rcx
	movl	$53, %edx
	leaq	.LC0(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	__assert_fail@PLT
.L21:
	movq	p(%rip), %rax
	addq	$1, %rax
	movq	%rax, p(%rip)
	movl	-4(%rbp), %eax
	jmp	.L19
.L20:
	call	__ctype_b_loc@PLT
	movq	(%rax), %rdx
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	movsbq	%al, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movzwl	(%rax), %eax
	movzwl	%ax, %eax
	andl	$2048, %eax
	testl	%eax, %eax
	je	.L22
	movl	$0, %eax
	call	number
	jmp	.L19
.L22:
	leaq	__PRETTY_FUNCTION__.1(%rip), %rax
	movq	%rax, %rcx
	movl	$61, %edx
	leaq	.LC0(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	__assert_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	fact, .-fact
	.globl	number
	.type	number, @function
number:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, -4(%rbp)
	jmp	.L24
.L25:
	movl	-4(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	addl	%edx, %eax
	movl	%eax, -4(%rbp)
	movq	p(%rip), %rax
	addq	$1, %rax
	movq	%rax, p(%rip)
.L24:
	call	__ctype_b_loc@PLT
	movq	(%rax), %rdx
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	movsbq	%al, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movzwl	(%rax), %eax
	movzwl	%ax, %eax
	andl	$2048, %eax
	testl	%eax, %eax
	jne	.L25
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	number, .-number
	.section	.rodata
.LC3:
	.string	"%d\n"
.LC4:
	.string	"*p == '='"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	addq	$-128, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-124(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -120(%rbp)
	jmp	.L28
.L30:
	movq	stdin(%rip), %rdx
	leaq	-112(%rbp), %rax
	movl	$101, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	leaq	-112(%rbp), %rax
	movq	%rax, p(%rip)
	movl	$0, %eax
	call	expr
	movl	%eax, -116(%rbp)
	movq	p(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$61, %al
	je	.L29
	leaq	__PRETTY_FUNCTION__.0(%rip), %rax
	movq	%rax, %rcx
	movl	$84, %edx
	leaq	.LC0(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	__assert_fail@PLT
.L29:
	movl	-116(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -120(%rbp)
.L28:
	movl	-124(%rbp), %eax
	cmpl	%eax, -120(%rbp)
	jl	.L30
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.3, @object
	.size	__PRETTY_FUNCTION__.3, 5
__PRETTY_FUNCTION__.3:
	.string	"expr"
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 5
__PRETTY_FUNCTION__.2:
	.string	"term"
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 5
__PRETTY_FUNCTION__.1:
	.string	"fact"
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"main"
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
