// File: /workspace/github_cpp_makefile_star2_O3/acliusBackHome[P]kamaya/dist/ParseExpressionConstCalculate.cpp
// Function: ParseExpression::calculate_const_eq(ConstValueType, ParseConstant const&, ParseConstant const&)
void ParseExpression::
calculate_const_eq(ConstValueType cal_type,
                   const ParseConstant &const1, const ParseConstant &const2) {
    switch (cal_type) {
        case C_BOOL:
        case C_SIGNED: {
            const_value = (size_t)
                    new ParseConstant(const1.get_signed() == const2.get_signed());
            return;
        }
        case C_UNSIGNED: {
            const_value = (size_t)
                    new ParseConstant(const1.get_unsigned() == const2.get_unsigned());
            return;
        }
        case C_FLOAT: {
            const_value = (size_t)
                    new ParseConstant(const1.get_float() == const2.get_float());
            return;
        }
        case C_STRING:
            const_value = (size_t)
                    new ParseConstant(const1.get_string() == const2.get_string());
            return;
        default:
            break;
    }
    const_value = (size_t) -1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rdi, %rbx
cmpl $0x4, %esi
ja 0x349e8
movq %rcx, %r15
movq %rdx, %r12
movl %esi, %eax
leaq 0x12d76(%rip), %rcx     # 0x4765c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x10, %edi
callq 0x42e0
movq %rax, %r14
movq %r12, %rdi
callq 0x2efe0
movq %rax, %r12
movq %r15, %rdi
callq 0x2efe0
xorl %esi, %esi
cmpq %rax, %r12
sete %sil
movq %r14, %rdi
callq 0x2ef28
jmp 0x349e2
movl $0x10, %edi
callq 0x42e0
movq %rax, %r14
movq %r12, %rdi
callq 0x2f0d2
fstpt -0x2c(%rbp)
fldz
fstp %st(0)
movq %r15, %rdi
callq 0x2f0d2
fldt -0x2c(%rbp)
fucompi %st(1), %st
fstp %st(0)
setnp %al
sete %cl
andb %al, %cl
movzbl %cl, %esi
movq %r14, %rdi
callq 0x2ef28
fldz
fstp %st(0)
jmp 0x349e2
movl $0x10, %edi
callq 0x42e0
movq %rax, %r14
leaq -0x70(%rbp), %rdi
movq %r12, %rsi
callq 0x2f1a8
leaq -0x50(%rbp), %rdi
movq %r15, %rsi
callq 0x2f1a8
movq -0x68(%rbp), %rdx
cmpq -0x48(%rbp), %rdx
jne 0x349f2
testq %rdx, %rdx
je 0x349f6
movq -0x50(%rbp), %rsi
movq -0x70(%rbp), %rdi
callq 0x42f0
testl %eax, %eax
sete %al
jmp 0x349f8
movl $0x10, %edi
callq 0x42e0
movq %rax, %r14
movq %r12, %rdi
callq 0x2f04c
movq %rax, %r12
movq %r15, %rdi
callq 0x2f04c
xorl %esi, %esi
cmpq %rax, %r12
sete %sil
movq %r14, %rdi
callq 0x2ef28
movq %r14, 0x18(%rbx)
jmp 0x34a2b
movq $-0x1, 0x18(%rbx)
jmp 0x34a2b
xorl %eax, %eax
jmp 0x349f8
movb $0x1, %al
movzbl %al, %esi
movq %r14, %rdi
callq 0x2ef28
movq %r14, 0x18(%rbx)
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x34a19
callq 0x42b0
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x34a2b
callq 0x42b0
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x34a52
callq 0x42b0
jmp 0x34a52
movq %rax, %rbx
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x34a71
callq 0x42b0
jmp 0x34a71
jmp 0x34a6e
jmp 0x34a6e
fstp %st(0)
jmp 0x34a6e
movq %rax, %rbx
movq %r14, %rdi
callq 0x42b0
movq %rbx, %rdi
callq 0x4560
nop