// File: 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
subq $0xf0, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x88(%rbp)
movl -0xc(%rbp), %eax
movq %rax, -0x80(%rbp)
subq $0x4, %rax
ja 0x765f3
movq -0x80(%rbp), %rax
leaq 0x1b363(%rip), %rcx     # 0x916d4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x10, %edi
callq 0x4310
movq %rax, -0x98(%rbp)
movq -0x18(%rbp), %rdi
callq 0x69310
movq %rax, -0x90(%rbp)
jmp 0x7639d
movq -0x20(%rbp), %rdi
callq 0x69310
movq %rax, -0xa0(%rbp)
jmp 0x763af
movq -0x98(%rbp), %rdi
movq -0xa0(%rbp), %rcx
movq -0x90(%rbp), %rax
subq %rcx, %rax
sete %al
movzbl %al, %esi
callq 0x69200
jmp 0x763d4
movq -0x88(%rbp), %rax
movq -0x98(%rbp), %rcx
movq %rcx, 0x18(%rax)
jmp 0x76604
movq -0x98(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
callq 0x42d0
jmp 0x7660d
movl $0x10, %edi
callq 0x4310
movq %rax, -0xb0(%rbp)
movq -0x18(%rbp), %rdi
callq 0x693d0
movq %rax, -0xa8(%rbp)
jmp 0x7642b
movq -0x20(%rbp), %rdi
callq 0x693d0
movq %rax, -0xb8(%rbp)
jmp 0x7643d
movq -0xb0(%rbp), %rdi
movq -0xb8(%rbp), %rcx
movq -0xa8(%rbp), %rax
subq %rcx, %rax
sete %al
movzbl %al, %esi
callq 0x69200
jmp 0x76462
movq -0x88(%rbp), %rax
movq -0xb0(%rbp), %rcx
movq %rcx, 0x18(%rax)
jmp 0x76604
movq -0xb0(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
callq 0x42d0
jmp 0x7660d
movl $0x10, %edi
callq 0x4310
movq %rax, -0xd0(%rbp)
movq -0x18(%rbp), %rdi
callq 0x694c0
fstpt -0xc4(%rbp)
jmp 0x764b8
movq -0x20(%rbp), %rdi
callq 0x694c0
fstpt -0xdc(%rbp)
jmp 0x764c9
movq -0xd0(%rbp), %rdi
fldt -0xc4(%rbp)
fldt -0xdc(%rbp)
fxch %st(1)
fucompi %st(1), %st
fstp %st(0)
setnp %cl
sete %al
andb %cl, %al
movzbl %al, %esi
callq 0x69200
jmp 0x764f4
movq -0x88(%rbp), %rax
movq -0xd0(%rbp), %rcx
movq %rcx, 0x18(%rax)
jmp 0x76604
movq -0xd0(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
callq 0x42d0
jmp 0x7660d
movl $0x10, %edi
callq 0x4310
movq %rax, -0xe8(%rbp)
movb $0x1, -0x71(%rbp)
movq -0x18(%rbp), %rsi
leaq -0x50(%rbp), %rdi
callq 0x69640
jmp 0x7654c
movq -0x20(%rbp), %rsi
leaq -0x70(%rbp), %rdi
callq 0x69640
jmp 0x7655b
leaq -0x50(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x770b0
movq -0xe8(%rbp), %rdi
movzbl %al, %esi
callq 0x69200
jmp 0x76579
movq -0x88(%rbp), %rax
movq -0xe8(%rbp), %rcx
movb $0x0, -0x71(%rbp)
movq %rcx, 0x18(%rax)
leaq -0x70(%rbp), %rdi
callq 0x4688
leaq -0x50(%rbp), %rdi
callq 0x4688
jmp 0x76604
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x765dd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x765d4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x4688
leaq -0x50(%rbp), %rdi
callq 0x4688
testb $0x1, -0x71(%rbp)
jne 0x765e5
jmp 0x765f1
movq -0xe8(%rbp), %rdi
callq 0x42d0
jmp 0x7660d
jmp 0x765f5
movq -0x88(%rbp), %rax
movq $-0x1, 0x18(%rax)
addq $0xf0, %rsp
popq %rbp
retq
movq -0x28(%rbp), %rdi
callq 0x45e0
nopw %cs:(%rax,%rax)