// File: /workspace/github_cpp_makefile_star2_O3/acliusBackHome[P]kamaya/dist/ParseExpression.cpp
// Function: ParseExpression::get_logic_expression(ExpressionType, ParseExpression const&, ParseExpression const&)
const ParseExpression &
ParseExpression::get_logic_expression(ExpressionType type,
                                      const ParseExpression &expr1, const ParseExpression &expr2) {
    switch (type) {
        case E_LOGIC_OR:
        case E_LOGIC_AND:
        case E_G:
        case E_GE:
        case E_EQUAL:
        case E_NE:
        case E_L:
        case E_LE:
            return generate_expression(type, expr1, expr2);
        default:
            break;
    }
    // 错误调用
    string info = "ParseExpression::get_logic_expression(ExpressionType type,"
                  "const ParseExpression &expr1, const ParseExpression &expr2)";
    info += " expr1=" + to_string(expr1.get_id());
    info += " expr2=" + to_string(expr2.get_id());
    throw ParseException(EX_EXPRESSION_CAN_NOT_GENERATE, info);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x60, %rsp
movq %rdx, %rbx
movq %rsi, %r14
leal -0x11(%rdi), %eax
cmpl $0x7, %eax
ja 0x2c532
movq %r14, %rsi
movq %rbx, %rdx
addq $0x60, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x2bcea
leaq -0x70(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x19e5e(%rip), %rsi     # 0x4639f
leaq 0x19ecc(%rip), %rdx     # 0x46414
leaq -0x80(%rbp), %rdi
callq 0xf868
movq 0x10(%r14), %rsi
testq %rsi, %rsi
jne 0x2c566
movq %r14, %rdi
callq 0x2af00
movq 0x10(%r14), %rsi
leaq -0x60(%rbp), %rdi
callq 0xe50f
leaq 0x167db(%rip), %rsi     # 0x42d51
leaq -0x40(%rbp), %rdi
leaq -0x60(%rbp), %rdx
callq 0xe495
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0x80(%rbp), %rdi
callq 0x4110
leaq -0x30(%rbp), %r12
movq -0x10(%r12), %rdi
cmpq %r12, %rdi
je 0x2c5a7
callq 0x42b0
leaq -0x50(%rbp), %r14
movq -0x10(%r14), %rdi
cmpq %r14, %rdi
je 0x2c5b9
callq 0x42b0
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
jne 0x2c5ce
movq %rbx, %rdi
callq 0x2af00
movq 0x10(%rbx), %rsi
leaq -0x60(%rbp), %rdi
callq 0xe50f
leaq 0x1677b(%rip), %rsi     # 0x42d59
leaq -0x40(%rbp), %rdi
leaq -0x60(%rbp), %rdx
callq 0xe495
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0x80(%rbp), %rdi
callq 0x4110
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x2c60a
callq 0x42b0
movq -0x60(%rbp), %rdi
cmpq %r14, %rdi
je 0x2c618
callq 0x42b0
movl $0x28, %edi
callq 0x4190
movq %rax, %r14
leaq -0x80(%rbp), %rdx
movq %rax, %rdi
movl $0x10, %esi
callq 0x333ee
leaq 0x2e733(%rip), %rsi     # 0x5ad70
leaq -0x1e0a4(%rip), %rdx    # 0xe5a0
movq %r14, %rdi
callq 0x4540
jmp 0x2c6ac
movq %rax, %rbx
movq %r14, %rdi
callq 0x4250
jmp 0x2c6af
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x2c671
callq 0x42b0
jmp 0x2c671
movq %rax, %rbx
movq -0x60(%rbp), %rdi
cmpq %r14, %rdi
jne 0x2c6a5
jmp 0x2c6af
jmp 0x2c6ac
movq %rax, %rbx
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2c698
callq 0x42b0
jmp 0x2c698
movq %rax, %rbx
leaq -0x50(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2c6af
callq 0x42b0
jmp 0x2c6af
movq %rax, %rbx
movq -0x80(%rbp), %rdi
cmpq %r15, %rdi
je 0x2c6bd
callq 0x42b0
movq %rbx, %rdi
callq 0x4560
nop