// File: /workspace/github_cpp_makefile_star2_O1/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, %r14
cmpl $0x4, %esi
ja 0x3530c
movq %rcx, %r15
movq %rdx, %r12
movl %esi, %eax
leaq 0x13452(%rip), %rcx     # 0x4865c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x10, %edi
callq 0x42e0
movq %rax, %rbx
movq %r12, %rdi
callq 0x2f8a4
movq %rax, %r12
movq %r15, %rdi
callq 0x2f8a4
xorl %esi, %esi
cmpq %rax, %r12
sete %sil
movq %rbx, %rdi
callq 0x2f7ec
jmp 0x35306
movl $0x10, %edi
callq 0x42e0
movq %rax, %rbx
movq %r12, %rdi
callq 0x2f996
fstpt -0x2c(%rbp)
fldz
fstp %st(0)
movq %r15, %rdi
callq 0x2f996
fldt -0x2c(%rbp)
fucompi %st(1), %st
fstp %st(0)
setnp %al
sete %cl
andb %al, %cl
movzbl %cl, %esi
movq %rbx, %rdi
callq 0x2f7ec
fldz
fstp %st(0)
jmp 0x35306
movl $0x10, %edi
callq 0x42e0
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
movq %r12, %rsi
callq 0x2fa6c
leaq -0x50(%rbp), %rdi
movq %r15, %rsi
callq 0x2fa6c
movq -0x68(%rbp), %rdx
cmpq -0x48(%rbp), %rdx
jne 0x35316
testq %rdx, %rdx
je 0x3531a
movq -0x50(%rbp), %rsi
movq -0x70(%rbp), %rdi
callq 0x42f0
testl %eax, %eax
sete %al
jmp 0x3531c
movl $0x10, %edi
callq 0x42e0
movq %rax, %rbx
movq %r12, %rdi
callq 0x2f910
movq %rax, %r12
movq %r15, %rdi
callq 0x2f910
xorl %esi, %esi
cmpq %rax, %r12
sete %sil
movq %rbx, %rdi
callq 0x2f7ec
movq %rbx, 0x18(%r14)
jmp 0x3534f
movq $-0x1, 0x18(%r14)
jmp 0x3534f
xorl %eax, %eax
jmp 0x3531c
movb $0x1, %al
movzbl %al, %esi
movq %rbx, %rdi
callq 0x2f7ec
movq %rbx, 0x18(%r14)
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3533d
callq 0x42b0
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3534f
callq 0x42b0
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x35376
callq 0x42b0
jmp 0x35376
movq %rax, %r14
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x35395
callq 0x42b0
jmp 0x35395
jmp 0x35392
jmp 0x35392
fstp %st(0)
jmp 0x35392
movq %rax, %r14
movq %rbx, %rdi
callq 0x42b0
movq %r14, %rdi
callq 0x4560
nop