// File: /workspace/github_c_makefile_star2_O3/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 $0x478, %rsp            # imm = 0x478
movq %rsi, %r12
movq %rdi, %rbx
leaq 0x68(%rsp), %rdi
movl $0x198, %edx            # imm = 0x198
xorl %esi, %esi
callq 0x20d0
leaq 0x70(%rsp), %rax
movq %rax, -0x18(%rax)
movq %rax, -0x10(%rax)
movl $0x31, %ecx
movl %ecx, -0x8(%rax)
leaq 0x214(%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 0x246(%rsp), %rbp
leaq 0x16246(%rip), %rsi     # 0x191bc
movl $0x169, %edx            # imm = 0x169
movq %rbp, %rdi
callq 0x2170
leaq 0x3b1(%rsp), %r15
movq $0x0, 0xbf(%r15)
movb $0x28, -0x1(%r15)
movl $0xc3, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x2040
movabsq $0x680000000000af, %rax # imm = 0x680000000000AF
leaq 0x16094(%rip), %rcx     # 0x19050
movq %r15, %rsi
movq %r15, %rdx
movb (%rsi), %dil
movzbl %dil, %r8d
cmpl $0x62, %r8d
jle 0x3001
leal -0x6c(%r8), %r9d
cmpl $0xe, %r9d
ja 0x3053
movslq (%rcx,%r9,4), %r9
addq %rcx, %r9
jmpq *%r9
movzbl 0x1(%rsi), %edi
cmpl $0x67, %edi
je 0x3165
cmpl $0x6e, %edi
jne 0x3706
movb $0x6e, (%rdx)
jmp 0x3168
cmpl $0x2d, %r8d
jle 0x303f
cmpl $0x2e, %r8d
je 0x307f
cmpl $0x61, %r8d
jne 0x30b1
movzbl 0x1(%rsi), %edi
cmpl $0x6e, %edi
je 0x3129
cmpl $0x62, %edi
jne 0x31a0
cmpb $0x73, 0x2(%rsi)
jne 0x31a0
movb $0x61, (%rdx)
jmp 0x314b
cmpl $0x20, %r8d
je 0x3121
testl %r8d, %r8d
jne 0x30b1
jmp 0x31ac
cmpl $0x63, %r8d
je 0x3134
cmpl $0x65, %r8d
jne 0x30b1
cmpb $0x78, 0x1(%rsi)
jne 0x31f8
cmpb $0x70, 0x2(%rsi)
jne 0x31f8
movb $0x65, (%rdx)
jmp 0x314b
movb 0x1(%rsi), %dil
addb $-0x3a, %dil
cmpb $-0xa, %dil
jb 0x3194
movb -0x1(%rsi), %dil
addb $-0x3a, %dil
cmpb $-0xa, %dil
jb 0x3194
incq %rsi
movb $0x2e, (%rdx)
incq %rdx
jmp 0x2fc2
leal -0x3a(%rdi), %r9d
cmpb $-0xb, %r9b
ja 0x30d3
leal -0x28(%r8), %r9d
cmpl $0x36, %r9d
ja 0x3174
btq %r9, %rax
jae 0x3174
movb %dil, (%rdx)
jmp 0x311e
movb $0x79, (%rdx)
jmp 0x311e
cmpb $0x61, 0x1(%rsi)
jne 0x3157
cmpb $0x6e, 0x2(%rsi)
jne 0x3157
movb $0x74, (%rdx)
jmp 0x314b
cmpb $0x69, 0x1(%rsi)
jne 0x3204
movb $0x70, (%rdx)
jmp 0x3168
cmpb $0x69, 0x1(%rsi)
jne 0x31e0
cmpb $0x6e, 0x2(%rsi)
jne 0x31e0
movb $0x73, (%rdx)
jmp 0x314b
movb $0x78, (%rdx)
jmp 0x311e
movb $0x7a, (%rdx)
incq %rdx
incq %rsi
jmp 0x2fc2
cmpb $0x73, 0x2(%rsi)
jne 0x31a0
movb $0x71, (%rdx)
jmp 0x314b
cmpb $0x6f, 0x1(%rsi)
jne 0x31ec
cmpb $0x73, 0x2(%rsi)
jne 0x31ec
movb $0x63, (%rdx)
incq %rdx
addq $0x3, %rsi
jmp 0x2fc2
incq %rsi
movb $0x75, (%rdx)
incq %rdx
jmp 0x2fc2
movb $0x67, (%rdx)
incq %rdx
addq $0x2, %rsi
jmp 0x2fc2
cmpl $0x7d, %r8d
je 0x30d3
cmpl $0x7b, %r8d
je 0x30d3
leaq 0x16444(%rip), %rdi     # 0x195d3
jmp 0x3766
leaq 0x16410(%rip), %rdi     # 0x195ab
jmp 0x3766
leaq 0x163ac(%rip), %rdi     # 0x19553
jmp 0x3766
movb $0x0, (%rdx)
movq 0x200(%rsp), %rax
movq %rax, 0x208(%rsp)
movq 0x58(%rsp), %rcx
movq %rcx, 0x60(%rsp)
cmpl $0x0, 0x210(%rsp)
jle 0x3210
movb $0x0, (%rax)
incq 0x208(%rsp)
jmp 0x321e
leaq 0x16382(%rip), %rdi     # 0x19569
jmp 0x3766
leaq 0x1638c(%rip), %rdi     # 0x1957f
jmp 0x3766
leaq 0x16328(%rip), %rdi     # 0x19527
jmp 0x3766
leaq 0x1638a(%rip), %rdi     # 0x19595
jmp 0x3766
leaq 0x163db(%rip), %rdi     # 0x195f2
xorl %eax, %eax
callq 0x8ce5
leaq 0x20(%rbx), %rax
movq %rax, 0x8(%rsp)
leaq 0x28(%rbx), %rax
movq %rax, 0x38(%rsp)
leaq 0x18(%rbx), %rax
movq %rax, 0x30(%rsp)
leaq 0x10(%rbx), %rax
movq %rax, 0x28(%rsp)
leaq 0x8(%rbx), %rax
movq %rax, 0x20(%rsp)
leaq 0x15e3a(%rip), %r14     # 0x1908c
leaq 0x198a5(%rip), %r13     # 0x1cafe
movb (%r15), %r12b
testb %r12b, %r12b
je 0x3318
leal -0x3a(%r12), %eax
cmpb $-0xa, %al
jae 0x3294
movzbl %r12b, %eax
leal -0x5b(%rax), %ecx
cmpl $0x22, %ecx
ja 0x338b
movslq (%r14,%rcx,4), %rcx
addq %r14, %rcx
movq %rbx, %rax
jmpq *%rcx
movq 0x38(%rsp), %rax
jmp 0x3353
movq %r13, %rdi
callq 0x8d7a
movq $0x0, 0x10(%rsp)
movq %r15, %rdi
movl $0x1, %esi
movq %rax, %rdx
leaq 0x10(%rsp), %rcx
xorl %eax, %eax
callq 0x912d
decq %r15
movq %r15, %rax
incq %r15
movb 0x1(%rax), %cl
leal -0x3a(%rcx), %edx
cmpb $-0xb, %dl
ja 0x32bf
xorl %edx, %edx
cmpb $0x2e, %cl
sete %dl
movb 0x1(%rax,%rdx), %cl
addb $-0x3a, %cl
incq %rax
cmpb $-0xb, %cl
ja 0x32d8
movq 0x60(%rsp), %rcx
movq %rcx, %rsi
subq 0x58(%rsp), %rsi
sarq $0x3, %rsi
movslq 0x68(%rsp), %rdi
cmpq %rdi, %rsi
jge 0x36fd
movsd 0x10(%rsp), %xmm0
addq %rdx, %rax
movsd %xmm0, (%rcx)
movq %rax, %r15
jmp 0x337d
movq 0x208(%rsp), %rax
movb -0x1(%rax), %al
testb %al, %al
je 0x3718
movq %r13, %r14
movq %rbp, %r13
xorl %r12d, %r12d
jmp 0x33bb
movq 0x20(%rsp), %rax
jmp 0x3353
movq 0x28(%rsp), %rax
jmp 0x3353
movq 0x30(%rsp), %rax
jmp 0x3353
movq 0x8(%rsp), %rax
movq 0x60(%rsp), %rcx
movq %rcx, %rdx
subq 0x58(%rsp), %rdx
sarq $0x3, %rdx
movslq 0x68(%rsp), %rsi
cmpq %rsi, %rdx
jge 0x36fd
movsd (%rax), %xmm0
incq %r15
movsd %xmm0, (%rcx)
addq $0x8, %rcx
movq %rcx, 0x60(%rsp)
jmp 0x3259
cmpl $0x2f, %eax
ja 0x370f
movl %eax, %eax
movabsq $0xaf0000000000, %rcx   # imm = 0xAF0000000000
btq %rax, %rcx
jae 0x370f
movq %r13, %r14
movq %rbp, %r13
movq 0x208(%rsp), %rax
movb -0x1(%rax), %al
movsbl %al, %edi
callq 0x37a8
movl %eax, %ebp
movsbl %r12b, %edi
callq 0x37a8
movl %ebp, %ecx
movl %eax, %eax
leaq (%rcx,%rcx,8), %rdx
leaq (%rcx,%rdx,2), %rcx
movq %r13, %rbp
addq %r13, %rcx
movzbl (%rax,%rcx), %eax
cmpl $0x3e, %eax
je 0x34c1
cmpl $0x3d, %eax
movq %r14, %r13
je 0x3491
cmpl $0x3c, %eax
jne 0x3756
movzbl (%r15), %eax
cmpl $0x2d, %eax
leaq 0x15c7c(%rip), %r14     # 0x1908c
je 0x3417
cmpl $0x2b, %eax
jne 0x345a
movzbl -0x1(%r15), %eax
cmpl $0x28, %eax
je 0x342b
cmpl $0x7b, %eax
je 0x342b
cmpl $0x5b, %eax
jne 0x345a
movq 0x60(%rsp), %rax
movq %rax, %rcx
subq 0x58(%rsp), %rcx
sarq $0x3, %rcx
movslq 0x68(%rsp), %rdx
cmpq %rdx, %rcx
jge 0x36fd
movq $0x0, (%rax)
addq $0x8, %rax
movq %rax, 0x60(%rsp)
movq 0x208(%rsp), %rax
movq %rax, %rcx
subq 0x200(%rsp), %rcx
movslq 0x210(%rsp), %rdx
cmpq %rdx, %rcx
jge 0x375f
movb %r12b, (%rax)
incq 0x208(%rsp)
incq %r15
jmp 0x3259
movq 0x208(%rsp), %rax
cmpq 0x200(%rsp), %rax
je 0x373b
decq %rax
movq %rax, 0x208(%rsp)
incq %r15
leaq 0x15bd0(%rip), %r14     # 0x1908c
jmp 0x3259
movq 0x208(%rsp), %rax
cmpq 0x200(%rsp), %rax
je 0x373b
movq %r14, %r13
leaq -0x1(%rax), %rcx
movq %rcx, 0x208(%rsp)
movzbl -0x1(%rax), %edx
leal -0x61(%rdx), %eax
cmpl $0x13, %eax
ja 0x35b8
movl $0xc2055, %ecx          # imm = 0xC2055
btl %eax, %ecx
jae 0x35b8
movq 0x60(%rsp), %rcx
cmpq 0x58(%rsp), %rcx
leaq 0x15b77(%rip), %r14     # 0x1908c
je 0x3744
leaq -0x8(%rcx), %rsi
movq %rsi, 0x60(%rsp)
movsd -0x8(%rcx), %xmm1
cmpl $0x6d, %edx
jg 0x3554
cmpl $0x6, %eax
ja 0x376d
leaq 0x15bda(%rip), %rcx     # 0x19118
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
andpd 0x15af1(%rip), %xmm1    # 0x19040
jmp 0x3671
cmpl $0x6e, %edx
je 0x3656
cmpl $0x73, %edx
je 0x364b
cmpl $0x74, %edx
jne 0x376d
movapd %xmm1, %xmm0
movapd %xmm1, 0x40(%rsp)
callq 0x20f0
ucomisd 0x15a8a(%rip), %xmm0    # 0x19010
jne 0x358e
jnp 0x3796
movaps 0x40(%rsp), %xmm0
callq 0x21d0
movsd %xmm0, 0x18(%rsp)
movapd 0x40(%rsp), %xmm0
callq 0x20f0
movsd 0x18(%rsp), %xmm1
divsd %xmm0, %xmm1
jmp 0x3671
movq 0x58(%rsp), %rax
movq 0x60(%rsp), %rsi
cmpq %rax, %rsi
leaq 0x15ac0(%rip), %r14     # 0x1908c
je 0x3744
leaq -0x8(%rsi), %rcx
movq %rcx, 0x60(%rsp)
cmpq %rax, %rcx
je 0x3744
movsd -0x8(%rsi), %xmm1
leaq -0x10(%rsi), %rcx
movq %rcx, 0x60(%rsp)
movsd -0x10(%rsi), %xmm0
leal -0x2a(%rdx), %esi
cmpl $0x5, %esi
ja 0x369e
leaq 0x15b2a(%rip), %rdi     # 0x19134
movslq (%rdi,%rsi,4), %rdx
addq %rdi, %rdx
jmpq *%rdx
mulsd %xmm0, %xmm1
jmp 0x36e0
movapd %xmm1, %xmm0
callq 0x20f0
jmp 0x366d
xorpd %xmm0, %xmm0
ucomisd %xmm1, %xmm0
jae 0x3784
movapd %xmm1, %xmm0
callq 0x2150
jmp 0x366d
movapd %xmm1, %xmm0
callq 0x2220
jmp 0x366d
movapd %xmm1, %xmm0
callq 0x21d0
jmp 0x366d
xorpd %xmm0, %xmm0
ucomisd %xmm1, %xmm0
jae 0x378d
movapd %xmm1, %xmm0
callq 0x20e0
movapd %xmm0, %xmm1
movq 0x60(%rsp), %rax
movq %rax, %rcx
subq 0x58(%rsp), %rcx
sarq $0x3, %rcx
movslq 0x68(%rsp), %rdx
cmpq %rdx, %rcx
jge 0x36fd
movsd %xmm1, (%rax)
addq $0x8, %rax
movq %rax, 0x60(%rsp)
jmp 0x3259
cmpl $0x5e, %edx
jne 0x376d
callq 0x2070
movapd %xmm0, %xmm1
movq 0x58(%rsp), %rax
movq 0x60(%rsp), %rcx
jmp 0x36e0
ucomisd 0x1594c(%rip), %xmm1    # 0x19010
jne 0x36cc
jnp 0x379f
divsd %xmm1, %xmm0
jmp 0x36d6
subsd %xmm1, %xmm0
movapd %xmm0, %xmm1
jmp 0x36e0
addsd %xmm0, %xmm1
movq %rcx, %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movslq 0x68(%rsp), %rax
cmpq %rax, %rdx
jge 0x36fd
movsd %xmm1, (%rcx)
jmp 0x337d
leaq 0x15f0f(%rip), %rdi     # 0x19613
jmp 0x3766
leaq 0x15e30(%rip), %rdi     # 0x1953d
jmp 0x3766
leaq 0x15dc5(%rip), %rdi     # 0x194db
jmp 0x3766
movq 0x60(%rsp), %rax
movq %rax, %rcx
subq 0x58(%rsp), %rcx
cmpq $0x8, %rcx
jne 0x374d
movsd -0x8(%rax), %xmm0
movq 0x8(%rsp), %rax
movsd %xmm0, (%rax)
jmp 0x376d
leaq 0x15f07(%rip), %rdi     # 0x19649
jmp 0x3766
leaq 0x15f27(%rip), %rdi     # 0x19672
jmp 0x3766
leaq 0x15dc2(%rip), %rdi     # 0x19516
jmp 0x3766
leaq 0x15d9f(%rip), %rdi     # 0x194fc
jmp 0x3766
leaq 0x15e8c(%rip), %rdi     # 0x195f2
xorl %eax, %eax
callq 0x8ce5
movsd 0x20(%rbx), %xmm0
addq $0x478, %rsp            # imm = 0x478
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x15f2e(%rip), %rdi     # 0x196b9
jmp 0x3766
leaq 0x15f06(%rip), %rdi     # 0x1969a
jmp 0x3766
leaq 0x15f3b(%rip), %rdi     # 0x196d8
jmp 0x3766
leaq 0x15f4e(%rip), %rdi     # 0x196f4
jmp 0x3766