// File: /workspace/github_cpp_makefile_star2_O1/eniac[P]Mantis/src/ast/ast_nodes_p4.cpp
// Function: BodyWordNode::toString[abi:cxx11]()
string BodyWordNode::toString() {
    ostringstream oss; 
    if (wordType_ == WordType::INTEGER || wordType_ == WordType::SPECIAL) {
        oss << contents_->toString();
    } else if (dynamic_cast<BodyNode*>(parent_) != NULL && dynamic_cast<BodyNode*>(parent_)->bodyOuter_ != NULL && 
        dynamic_cast<BodyNode*>(parent_)->bodyOuter_->str_ != NULL && dynamic_cast<BodyNode*>(parent_)->bodyOuter_->str_->wordType_ == WordType::SPECIAL &&
        dynamic_cast<BodyNode*>(parent_)->bodyOuter_->str_->contents_->toString() != ";" ) {
        oss << contents_->toString();
    } else if (dynamic_cast<BodyNode*>(parent_) != NULL && dynamic_cast<BodyNode*>(parent_)->bodyOuter_ != NULL && 
        dynamic_cast<BodyNode*>(parent_)->bodyOuter_->str_ != NULL && dynamic_cast<BodyNode*>(parent_)->bodyOuter_->str_->wordType_ == WordType::INTEGER) {
        oss << contents_->toString();
    } else {
        oss << string("  ")*indent_ << contents_->toString();
    }
    if (contents_->toString() == ";") {
        oss << "\n";
    }    
    return oss.str();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x200, %rsp            # imm = 0x200
movq %rsi, %r14
movq %rdi, %rbx
leaq -0x218(%rbp), %rdi
callq 0x2e550
movl 0x3c(%r14), %eax
andl $-0x2, %eax
cmpl $0x4, %eax
jne 0x353de
movq 0x40(%r14), %rsi
movq (%rsi), %rax
leaq -0x60(%rbp), %rdi
callq *(%rax)
movq -0x60(%rbp), %rsi
movq -0x58(%rbp), %rdx
leaq -0x218(%rbp), %rdi
callq 0x2e440
leaq -0x50(%rbp), %rax
jmp 0x354b6
movq 0x30(%r14), %r15
testq %r15, %r15
je 0x3546b
leaq 0x5723e(%rip), %rsi     # 0x8c630
leaq 0x5771f(%rip), %rdx     # 0x8cb18
xorl %r12d, %r12d
movq %r15, %rdi
xorl %ecx, %ecx
callq 0x2e430
testq %rax, %rax
je 0x3546e
movq 0x40(%rax), %rax
testq %rax, %rax
je 0x3546b
movq 0x50(%rax), %rax
testq %rax, %rax
je 0x3546b
cmpl $0x5, 0x3c(%rax)
jne 0x3546b
leaq 0x57206(%rip), %rsi     # 0x8c630
leaq 0x576e7(%rip), %rdx     # 0x8cb18
movq %r15, %rdi
xorl %ecx, %ecx
callq 0x2e430
movq 0x40(%rax), %rax
movq 0x50(%rax), %rax
movq 0x40(%rax), %rsi
movq (%rsi), %rax
leaq -0x60(%rbp), %rdi
callq *(%rax)
leaq 0x412d6(%rip), %rsi     # 0x7672d
leaq -0x60(%rbp), %rdi
callq 0x2e0f0
testl %eax, %eax
setne %r15b
movb $0x1, %r12b
jmp 0x35471
xorl %r12d, %r12d
xorl %r15d, %r15d
testb %r12b, %r12b
je 0x35488
leaq -0x50(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x35488
callq 0x2e360
testb %r15b, %r15b
je 0x35556
movq 0x40(%r14), %rsi
movq (%rsi), %rax
leaq -0x40(%rbp), %rdi
callq *(%rax)
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0x218(%rbp), %rdi
callq 0x2e440
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x354c4
callq 0x2e360
movq 0x40(%r14), %rsi
movq (%rsi), %rax
leaq -0x40(%rbp), %rdi
callq *(%rax)
leaq 0x41255(%rip), %rsi     # 0x7672d
leaq -0x40(%rbp), %r15
movq %r15, %rdi
callq 0x2e0f0
movl %eax, %r14d
movq (%r15), %rdi
leaq -0x30(%rbp), %rax
cmpq %rax, %rdi
je 0x354f8
callq 0x2e360
testl %r14d, %r14d
jne 0x35515
leaq 0x408c0(%rip), %rsi     # 0x75dc4
leaq -0x218(%rbp), %rdi
movl $0x1, %edx
callq 0x2e440
leaq -0x210(%rbp), %rsi
movq %rbx, %rdi
callq 0x2e660
movq 0x58a7d(%rip), %rsi     # 0x8dfa8
leaq -0x218(%rbp), %rdi
callq 0x2e230
leaq -0x1a8(%rbp), %rdi
callq 0x2e150
movq %rbx, %rax
addq $0x200, %rsp            # imm = 0x200
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x30(%r14), %rdi
testq %rdi, %rdi
je 0x355b7
leaq 0x570ca(%rip), %rsi     # 0x8c630
leaq 0x575ab(%rip), %rdx     # 0x8cb18
xorl %ecx, %ecx
callq 0x2e430
testq %rax, %rax
je 0x355b7
movq 0x40(%rax), %rax
testq %rax, %rax
je 0x355b7
movq 0x50(%rax), %rax
testq %rax, %rax
je 0x355b7
cmpl $0x4, 0x3c(%rax)
jne 0x355b7
movq 0x40(%r14), %rsi
movq (%rsi), %rax
leaq -0x40(%rbp), %rdi
callq *(%rax)
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0x218(%rbp), %rdi
callq 0x2e440
jmp 0x354b2
leaq -0x90(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x42aa6(%rip), %rsi     # 0x78070
leaq 0x42aa1(%rip), %rdx     # 0x78072
leaq -0xa0(%rbp), %rdi
callq 0x33112
movl 0x48(%r14), %edx
leaq -0x40(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0x356f7
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0x218(%rbp), %rdi
callq 0x2e440
movq %rax, %r15
movq 0x40(%r14), %rsi
movq (%rsi), %rax
leaq -0x80(%rbp), %rdi
callq *(%rax)
movq -0x80(%rbp), %rsi
movq -0x78(%rbp), %rdx
movq %r15, %rdi
callq 0x2e440
leaq -0x70(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x35637
callq 0x2e360
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x35649
callq 0x2e360
movq -0xa0(%rbp), %rdi
cmpq %r12, %rdi
jne 0x354bf
jmp 0x354c4
jmp 0x356a7
jmp 0x356cd
jmp 0x356cd
movq %rax, %rbx
leaq -0x70(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x35680
callq 0x2e360
jmp 0x35680
jmp 0x3567d
movq %rax, %rbx
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x35697
callq 0x2e360
jmp 0x35697
movq %rax, %rbx
movq -0xa0(%rbp), %rdi
cmpq %r12, %rdi
jne 0x356c2
jmp 0x356d0
jmp 0x356cd
movq %rax, %rbx
leaq -0x30(%rbp), %rax
jmp 0x356b9
jmp 0x356cd
movq %rax, %rbx
leaq -0x50(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x356d0
callq 0x2e360
jmp 0x356d0
jmp 0x356cd
jmp 0x356cd
movq %rax, %rbx
movq 0x588d1(%rip), %rsi     # 0x8dfa8
leaq -0x218(%rbp), %rdi
callq 0x2e230
leaq -0x1a8(%rbp), %rdi
callq 0x2e150
movq %rbx, %rdi
callq 0x2e730