// File: /workspace/github_c_makefile_star2_O1/mohuangrui[P]ArtraCFD/calculator.c
// Function: ComputeExpression
Real ComputeExpression(CalcVar *var, const char *str)
{
    Operand theOprd = {
        .bom = theOprd.space,
        .top = theOprd.space,
        .size = NOPRD - 1,
        .space = {0.0}
    };
    Operator theOprt = {
        .bom = theOprt.space,
        .top = theOprt.space,
        .size = NOPRT - 1,
        .space = {'\0'},
        .priority = { /* + - * / ^ exp ln lg abs sin cos tan ( ) [ ] { } \0 */
            {'>', '>', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '>', '<', '>', '<', '>', '>'},
            {'>', '>', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '>', '<', '>', '<', '>', '>'},
            {'>', '>', '>', '>', '<', '<', '<', '<', '<', '<', '<', '<', '<', '>', '<', '>', '<', '>', '>'},
            {'>', '>', '>', '>', '<', '<', '<', '<', '<', '<', '<', '<', '<', '>', '<', '>', '<', '>', '>'},
            {'>', '>', '>', '>', '>', '<', '<', '<', '<', '<', '<', '<', '<', '>', '<', '>', '<', '>', '>'},
            {'>', '>', '>', '>', '>', '<', '<', '<', '<', '<', '<', '<', '<', '>', '<', '>', '<', '>', '>'},
            {'>', '>', '>', '>', '>', '<', '<', '<', '<', '<', '<', '<', '<', '>', '<', '>', '<', '>', '>'},
            {'>', '>', '>', '>', '>', '<', '<', '<', '<', '<', '<', '<', '<', '>', '<', '>', '<', '>', '>'},
            {'>', '>', '>', '>', '>', '<', '<', '<', '<', '<', '<', '<', '<', '>', '<', '>', '<', '>', '>'},
            {'>', '>', '>', '>', '>', '<', '<', '<', '<', '<', '<', '<', '<', '>', '<', '>', '<', '>', '>'},
            {'>', '>', '>', '>', '>', '<', '<', '<', '<', '<', '<', '<', '<', '>', '<', '>', '<', '>', '>'},
            {'>', '>', '>', '>', '>', '<', '<', '<', '<', '<', '<', '<', '<', '>', '<', '>', '<', '>', '>'},
            {'<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '=', '<', 'w', '<', 'w', 'w'},
            {'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w'},
            {'<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', 'w', '<', '=', '<', 'w', 'w'},
            {'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w'},
            {'<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', 'w', '<', 'w', '<', '=', 'w'},
            {'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w', 'w'},
            {'<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', 'w', '<', 'w', '<', 'w', '='}
        }
    };
    SolveExpression(var, str, &theOprd, &theOprt);
    return var->ans;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x498, %rsp            # imm = 0x498
movq %rsi, %r12
movq %rdi, %rbx
leaq 0x78(%rsp), %rdi
movl $0x1a8, %edx            # imm = 0x1A8
xorl %esi, %esi
callq 0x20d0
leaq 0x90(%rsp), %rax
movq %rax, -0x18(%rax)
movq %rax, -0x10(%rax)
movl $0x31, %ecx
movl %ecx, -0x8(%rax)
leaq 0x234(%rsp), %rax
movq %rax, -0x14(%rax)
movq %rax, -0xc(%rax)
movl %ecx, -0x4(%rax)
xorpd %xmm0, %xmm0
movupd %xmm0, (%rax)
movupd %xmm0, 0x10(%rax)
movupd %xmm0, 0x20(%rax)
movw $0x0, 0x30(%rax)
leaq 0x266(%rsp), %rdi
leaq 0x17239(%rip), %rsi     # 0x1a1bc
movl $0x169, %edx            # imm = 0x169
callq 0x2160
leaq 0x3d0(%rsp), %r15
movl $0xc8, %edx
movq %r15, %rdi
xorl %esi, %esi
callq 0x20d0
movb $0x28, (%r15)
leaq 0x3d1(%rsp), %r15
movl $0xc3, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x2040
movabsq $0x680000000000af, %rax # imm = 0x680000000000AF
leaq 0x1707f(%rip), %rcx     # 0x1a050
movq %r15, %rsi
movq %r15, %rdx
movb (%rsi), %dil
movzbl %dil, %r8d
cmpl $0x62, %r8d
jle 0x3016
leal -0x6c(%r8), %r9d
cmpl $0xe, %r9d
ja 0x3068
movslq (%rcx,%r9,4), %r9
addq %rcx, %r9
jmpq *%r9
movzbl 0x1(%rsi), %edi
cmpl $0x67, %edi
je 0x3168
cmpl $0x6e, %edi
jne 0x38f9
movb $0x6e, (%rdx)
jmp 0x316b
cmpl $0x2d, %r8d
jle 0x3054
cmpl $0x2e, %r8d
je 0x3094
cmpl $0x61, %r8d
jne 0x30c6
movzbl 0x1(%rsi), %edi
cmpl $0x6e, %edi
je 0x317d
cmpl $0x62, %edi
jne 0x31be
cmpb $0x73, 0x2(%rsi)
jne 0x3177
movb $0x61, (%rdx)
jmp 0x3186
cmpl $0x20, %r8d
je 0x3139
testl %r8d, %r8d
jne 0x30c6
jmp 0x31ca
cmpl $0x63, %r8d
je 0x3141
cmpl $0x65, %r8d
jne 0x30c6
cmpb $0x78, 0x1(%rsi)
jne 0x320d
cmpb $0x70, 0x2(%rsi)
jne 0x320d
movb $0x65, (%rdx)
jmp 0x3186
movb 0x1(%rsi), %r8b
addb $-0x3a, %r8b
cmpb $-0xa, %r8b
jb 0x31b2
movb -0x1(%rsi), %r8b
addb $-0x3a, %r8b
cmpb $-0xa, %r8b
jb 0x31b2
incq %rsi
movb %dil, (%rdx)
incq %rdx
jmp 0x2fd7
leal -0x3a(%rdi), %r9d
cmpb $-0xb, %r9b
ja 0x30e8
leal -0x28(%r8), %r9d
cmpl $0x36, %r9d
ja 0x3192
btq %r9, %rax
jae 0x3192
movb %dil, (%rdx)
jmp 0x3136
movb $0x79, (%rdx)
jmp 0x3136
cmpb $0x61, 0x1(%rsi)
jne 0x315a
cmpb $0x6e, 0x2(%rsi)
jne 0x315a
movb $0x74, (%rdx)
jmp 0x3186
cmpb $0x69, 0x1(%rsi)
jne 0x3225
movb $0x70, (%rdx)
jmp 0x316b
cmpb $0x69, 0x1(%rsi)
jne 0x3201
cmpb $0x6e, 0x2(%rsi)
jne 0x3201
movb $0x73, (%rdx)
jmp 0x3186
movb $0x78, (%rdx)
jmp 0x3136
movb $0x7a, (%rdx)
incq %rdx
incq %rsi
jmp 0x2fd7
cmpb $0x6f, 0x1(%rsi)
jne 0x3219
cmpb $0x73, 0x2(%rsi)
jne 0x3219
movb $0x63, (%rdx)
jmp 0x3186
incq %rsi
movb $0x75, (%rdx)
incq %rdx
jmp 0x2fd7
movb $0x67, (%rdx)
incq %rdx
addq $0x2, %rsi
jmp 0x2fd7
cmpb $0x6e, %dil
jne 0x31be
cmpb $0x73, 0x2(%rsi)
jne 0x31be
movb $0x71, (%rdx)
incq %rdx
addq $0x3, %rsi
jmp 0x2fd7
cmpl $0x7b, %r8d
je 0x30e8
cmpl $0x7d, %r8d
je 0x30e8
leaq 0x17426(%rip), %rdi     # 0x1a5d3
jmp 0x3909
leaq 0x173f2(%rip), %rdi     # 0x1a5ab
jmp 0x3909
leaq 0x1738e(%rip), %rdi     # 0x1a553
jmp 0x3909
movb $0x0, (%rdx)
movq 0x220(%rsp), %rax
movq %rax, 0x228(%rsp)
movq 0x78(%rsp), %rcx
movq %rcx, 0x80(%rsp)
cmpl $0x0, 0x230(%rsp)
jle 0x3231
movb $0x0, (%rax)
incq 0x228(%rsp)
jmp 0x323f
leaq 0x17361(%rip), %rdi     # 0x1a569
jmp 0x3909
leaq 0x17313(%rip), %rdi     # 0x1a527
jmp 0x3909
leaq 0x1735f(%rip), %rdi     # 0x1a57f
jmp 0x3909
leaq 0x17369(%rip), %rdi     # 0x1a595
jmp 0x3909
leaq 0x173ba(%rip), %rdi     # 0x1a5f2
xorl %eax, %eax
callq 0x8f21
leaq 0x20(%rbx), %rax
movq %rax, 0x48(%rsp)
leaq 0x28(%rbx), %rax
movq %rax, 0x70(%rsp)
leaq 0x18(%rbx), %rax
movq %rax, 0x68(%rsp)
leaq 0x10(%rbx), %rax
movq %rax, 0x60(%rsp)
leaq 0x8(%rbx), %rax
movq %rax, 0x58(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, (%rsp)
movsd %xmm0, 0x20(%rsp)
leaq 0x16e0a(%rip), %r12     # 0x1a08c
movl $0x0, 0x2c(%rsp)
movzbl (%r15), %ebp
testl %ebp, %ebp
jne 0x32a4
movq 0x228(%rsp), %rax
cmpb $0x0, -0x1(%rax)
je 0x38d3
leal -0x3a(%rbp), %eax
cmpb $-0xa, %al
jae 0x32cd
leal -0x5b(%rbp), %eax
cmpl $0x22, %eax
ja 0x33f1
movslq (%r12,%rax,4), %rcx
addq %r12, %rcx
movq %rbx, %rax
jmpq *%rcx
movq 0x70(%rsp), %rax
jmp 0x339b
leaq 0x1a7aa(%rip), %rdi     # 0x1da7e
callq 0x8fb6
movq $0x0, 0x50(%rsp)
movq %r15, %rdi
movl $0x1, %esi
movq %rax, %rdx
leaq 0x50(%rsp), %rcx
xorl %eax, %eax
callq 0x9370
decq %r15
movq %r15, %rax
movq %rax, %r15
incq %rax
movb 0x1(%r15), %cl
leal -0x3a(%rcx), %edx
cmpb $-0xb, %dl
ja 0x32ff
xorl %r14d, %r14d
cmpb $0x2e, %cl
sete %r14b
movb 0x1(%r15,%r14), %al
addb $-0x3a, %al
incq %r15
cmpb $-0xb, %al
ja 0x331b
movq 0x80(%rsp), %rax
movq %rax, %rbp
subq 0x78(%rsp), %rbp
sarq $0x3, %rbp
movslq 0x88(%rsp), %r13
cmpq %r13, %rbp
jge 0x3362
movsd 0x50(%rsp), %xmm0
movsd %xmm0, (%rax)
addq $0x8, %rax
movq %rax, 0x80(%rsp)
jmp 0x3370
leaq 0x172aa(%rip), %rdi     # 0x1a613
xorl %eax, %eax
callq 0x8f21
addq %r14, %r15
cmpq %r13, %rbp
jl 0x328a
jmp 0x3910
movq 0x58(%rsp), %rax
jmp 0x339b
movq 0x60(%rsp), %rax
jmp 0x339b
movq 0x68(%rsp), %rax
jmp 0x339b
movq 0x48(%rsp), %rax
movq 0x80(%rsp), %rcx
movq %rcx, %r14
subq 0x78(%rsp), %r14
sarq $0x3, %r14
movslq 0x88(%rsp), %r13
cmpq %r13, %r14
jge 0x33d2
movsd (%rax), %xmm0
movsd %xmm0, (%rcx)
addq $0x8, %rcx
movq %rcx, 0x80(%rsp)
jmp 0x33e0
leaq 0x1723a(%rip), %rdi     # 0x1a613
xorl %eax, %eax
callq 0x8f21
incq %r15
cmpq %r13, %r14
jl 0x328a
jmp 0x3910
cmpl $0x2f, %ebp
ja 0x354d
movl %ebp, %eax
movabsq $0xaf0000000000, %rcx   # imm = 0xAF0000000000
btq %rax, %rcx
jae 0x354d
movq 0x228(%rsp), %rax
movsbl -0x1(%rax), %edi
callq 0x3939
movl %eax, %r14d
movsbl %bpl, %edi
callq 0x3939
movl %r14d, %ecx
movl %eax, %eax
leaq (%rcx,%rcx,8), %rdx
leaq (%rcx,%rdx,2), %rcx
leaq 0x266(%rsp), %rdx
addq %rdx, %rcx
movzbl (%rax,%rcx), %eax
cmpl $0x3c, %eax
je 0x347a
cmpl $0x3d, %eax
jne 0x355b
movq 0x220(%rsp), %r14
movq 0x228(%rsp), %r13
cmpq %r14, %r13
je 0x34d2
leaq -0x1(%r13), %rax
movq %rax, 0x228(%rsp)
jmp 0x34e0
movzbl (%r15), %eax
cmpl $0x2d, %eax
je 0x3488
cmpl $0x2b, %eax
jne 0x3501
movzbl -0x1(%r15), %eax
cmpl $0x28, %eax
je 0x349c
cmpl $0x7b, %eax
je 0x349c
cmpl $0x5b, %eax
jne 0x3501
movq 0x80(%rsp), %rax
movq %rax, %r14
subq 0x78(%rsp), %r14
sarq $0x3, %r14
movslq 0x88(%rsp), %r13
cmpq %r13, %r14
jge 0x34ea
movq $0x0, (%rax)
addq $0x8, %rax
movq %rax, 0x80(%rsp)
jmp 0x34f8
leaq 0x17170(%rip), %rdi     # 0x1a649
xorl %eax, %eax
callq 0x8f21
cmpq %r14, %r13
jne 0x3545
jmp 0x3910
leaq 0x17122(%rip), %rdi     # 0x1a613
xorl %eax, %eax
callq 0x8f21
cmpq %r13, %r14
jge 0x3910
movq 0x228(%rsp), %rax
movq %rax, %r14
subq 0x220(%rsp), %r14
movslq 0x230(%rsp), %r13
cmpq %r13, %r14
jge 0x352e
movb %bpl, (%rax)
incq 0x228(%rsp)
jmp 0x353c
leaq 0x170bd(%rip), %rdi     # 0x1a5f2
xorl %eax, %eax
callq 0x8f21
cmpq %r13, %r14
jge 0x3910
incq %r15
jmp 0x328a
testb %bpl, %bpl
je 0x3410
jmp 0x3930
cmpl $0x3e, %eax
jne 0x3927
movq 0x220(%rsp), %r14
movq 0x228(%rsp), %r13
cmpq %r14, %r13
je 0x358f
leaq -0x1(%r13), %rax
movq %rax, 0x228(%rsp)
movb -0x1(%r13), %al
movl %eax, 0x2c(%rsp)
jmp 0x359d
leaq 0x170b3(%rip), %rdi     # 0x1a649
xorl %eax, %eax
callq 0x8f21
cmpq %r14, %r13
je 0x3910
movzbl 0x2c(%rsp), %ecx
leal -0x61(%rcx), %ebp
cmpl $0x13, %ebp
ja 0x375e
movl $0xc2055, %eax          # imm = 0xC2055
btl %ebp, %eax
jae 0x375e
movq 0x78(%rsp), %r13
movq 0x80(%rsp), %r14
cmpq %r13, %r14
je 0x35f0
leaq -0x8(%r14), %rax
movq %rax, 0x80(%rsp)
movsd -0x8(%r14), %xmm0
movapd %xmm0, (%rsp)
jmp 0x3608
leaq 0x1707b(%rip), %rdi     # 0x1a672
xorl %eax, %eax
movq %rcx, 0x30(%rsp)
callq 0x8f21
movq 0x30(%rsp), %rcx
cmpq %r13, %r14
je 0x3910
xorpd %xmm1, %xmm1
xorl %r14d, %r14d
cmpl $0x6d, %ecx
jg 0x364c
cmpl $0x6, %ebp
movapd (%rsp), %xmm0
ja 0x36f4
leaq 0x16ae6(%rip), %rcx     # 0x1a118
movslq (%rcx,%rbp,4), %rax
addq %rcx, %rax
jmpq *%rax
movapd %xmm0, %xmm1
andpd 0x169f9(%rip), %xmm1    # 0x1a040
jmp 0x36ce
cmpl $0x6e, %ecx
movapd (%rsp), %xmm0
je 0x36ae
cmpl $0x73, %ecx
je 0x36c5
cmpl $0x74, %ecx
jne 0x36f4
callq 0x20f0
ucomisd 0x1699f(%rip), %xmm0    # 0x1a010
jne 0x3737
jp 0x3737
xorl %r14d, %r14d
leaq 0x17051(%rip), %rdi     # 0x1a6d8
jmp 0x36e9
callq 0x2220
jmp 0x36ca
xorpd %xmm0, %xmm0
ucomisd (%rsp), %xmm0
movapd (%rsp), %xmm0
jae 0x36d3
callq 0x2140
jmp 0x36ca
callq 0x20f0
jmp 0x36ca
xorpd %xmm0, %xmm0
ucomisd (%rsp), %xmm0
movapd (%rsp), %xmm0
jae 0x36df
callq 0x20e0
jmp 0x36ca
callq 0x21d0
movapd %xmm0, %xmm1
movb $0x1, %r14b
jmp 0x36f4
xorl %r14d, %r14d
leaq 0x16fdc(%rip), %rdi     # 0x1a6b9
jmp 0x36e9
xorl %r14d, %r14d
leaq 0x16fb1(%rip), %rdi     # 0x1a69a
xorl %eax, %eax
callq 0x8f21
xorpd %xmm1, %xmm1
testb %r14b, %r14b
je 0x3910
movq 0x80(%rsp), %rax
movq %rax, %r14
subq 0x78(%rsp), %r14
sarq $0x3, %r14
movslq 0x88(%rsp), %r13
cmpq %r13, %r14
jge 0x38c0
movsd %xmm1, (%rax)
addq $0x8, %rax
movq %rax, 0x80(%rsp)
jmp 0x33e3
movaps (%rsp), %xmm0
callq 0x21d0
movaps %xmm0, 0x30(%rsp)
movapd (%rsp), %xmm0
callq 0x20f0
movapd 0x30(%rsp), %xmm1
divsd %xmm0, %xmm1
jmp 0x36ce
movq %rcx, 0x30(%rsp)
movq 0x78(%rsp), %r13
movq 0x80(%rsp), %rbp
cmpq %r13, %rbp
je 0x378d
leaq -0x8(%rbp), %rax
movq %rax, 0x80(%rsp)
movsd -0x8(%rbp), %xmm0
movapd %xmm0, (%rsp)
jmp 0x379b
leaq 0x16ede(%rip), %rdi     # 0x1a672
xorl %eax, %eax
callq 0x8f21
cmpq %r13, %rbp
je 0x3910
movq 0x78(%rsp), %r13
movq 0x80(%rsp), %r14
cmpq %r13, %r14
je 0x37d0
leaq -0x8(%r14), %rax
movq %rax, 0x80(%rsp)
movsd -0x8(%r14), %xmm0
movsd %xmm0, 0x20(%rsp)
jmp 0x37de
leaq 0x16e9b(%rip), %rdi     # 0x1a672
xorl %eax, %eax
callq 0x8f21
cmpq %r13, %r14
movq 0x30(%rsp), %rax
je 0x3910
xorpd %xmm0, %xmm0
movsd %xmm0, 0x18(%rsp)
xorl %ebp, %ebp
addl $-0x2a, %eax
cmpl $0x5, %eax
ja 0x381d
leaq 0x1692d(%rip), %rcx     # 0x1a134
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movapd (%rsp), %xmm0
mulsd 0x20(%rsp), %xmm0
jmp 0x387e
cmpl $0x5e, 0x30(%rsp)
jne 0x3887
movsd 0x20(%rsp), %xmm0
movapd (%rsp), %xmm1
callq 0x2070
jmp 0x387e
movapd (%rsp), %xmm0
addsd 0x20(%rsp), %xmm0
jmp 0x387e
movsd 0x20(%rsp), %xmm0
subsd (%rsp), %xmm0
jmp 0x387e
movapd (%rsp), %xmm0
ucomisd 0x167b3(%rip), %xmm0    # 0x1a010
jne 0x3873
jp 0x3873
xorl %ebp, %ebp
leaq 0x16e8a(%rip), %rdi     # 0x1a6f4
xorl %eax, %eax
callq 0x8f21
jmp 0x3887
movsd 0x20(%rsp), %xmm0
divsd (%rsp), %xmm0
movsd %xmm0, 0x18(%rsp)
movb $0x1, %bpl
testb %bpl, %bpl
je 0x3910
movq 0x80(%rsp), %rax
movq %rax, %r14
subq 0x78(%rsp), %r14
sarq $0x3, %r14
movslq 0x88(%rsp), %r13
cmpq %r13, %r14
jge 0x38c0
movsd 0x18(%rsp), %xmm0
movsd %xmm0, (%rax)
jmp 0x3726
leaq 0x16d4c(%rip), %rdi     # 0x1a613
xorl %eax, %eax
callq 0x8f21
jmp 0x33e3
movq 0x80(%rsp), %rax
movq %rax, %rcx
subq 0x78(%rsp), %rcx
cmpq $0x8, %rcx
jne 0x3902
movsd -0x8(%rax), %xmm0
movq 0x48(%rsp), %rax
movsd %xmm0, (%rax)
jmp 0x3910
leaq 0x16c3d(%rip), %rdi     # 0x1a53d
jmp 0x3909
leaq 0x16c0d(%rip), %rdi     # 0x1a516
xorl %eax, %eax
callq 0x8f21
movsd 0x20(%rbx), %xmm0
addq $0x498, %rsp            # imm = 0x498
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x16bce(%rip), %rdi     # 0x1a4fc
jmp 0x3909
leaq 0x16ba4(%rip), %rdi     # 0x1a4db
jmp 0x3909