// File: /workspace/github_cpp_makefile_star2_O3/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 $0x1e0, %rsp            # imm = 0x1E0
movq %rsi, %r14
movq %rdi, %rbx
leaq -0x1f8(%rbp), %rdi
callq 0x2e550
movl 0x3c(%r14), %eax
andl $-0x2, %eax
cmpl $0x4, %eax
jne 0x35135
movq 0x40(%r14), %rsi
movq (%rsi), %rax
leaq -0x40(%rbp), %rdi
callq *(%rax)
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0x1f8(%rbp), %rdi
callq 0x2e440
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x350a3
callq 0x2e360
movq 0x40(%r14), %rsi
movq (%rsi), %rax
leaq -0x40(%rbp), %rdi
callq *(%rax)
leaq 0x41676(%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 0x350d7
callq 0x2e360
testl %r14d, %r14d
jne 0x350f4
leaq 0x40ce1(%rip), %rsi     # 0x75dc4
leaq -0x1f8(%rbp), %rdi
movl $0x1, %edx
callq 0x2e440
leaq -0x1f0(%rbp), %rsi
movq %rbx, %rdi
callq 0x2e660
movq 0x58e9e(%rip), %rsi     # 0x8dfa8
leaq -0x1f8(%rbp), %rdi
callq 0x2e230
leaq -0x188(%rbp), %rdi
callq 0x2e150
movq %rbx, %rax
addq $0x1e0, %rsp            # imm = 0x1E0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x30(%r14), %r15
testq %r15, %r15
je 0x3526f
leaq 0x57567(%rip), %rsi     # 0x8c6b0
leaq 0x57a48(%rip), %rdx     # 0x8cb98
movq %r15, %rdi
xorl %ecx, %ecx
callq 0x2e430
testq %rax, %rax
je 0x35214
movq 0x40(%rax), %rax
testq %rax, %rax
je 0x35214
movq 0x50(%rax), %rax
testq %rax, %rax
je 0x35214
cmpl $0x5, 0x3c(%rax)
jne 0x35214
leaq 0x57522(%rip), %rsi     # 0x8c6b0
leaq 0x57a03(%rip), %rdx     # 0x8cb98
movq %r15, %rdi
xorl %ecx, %ecx
callq 0x2e430
movq 0x40(%rax), %rax
movq 0x50(%rax), %rax
movq 0x40(%rax), %rsi
movq (%rsi), %rax
leaq -0x40(%rbp), %rdi
callq *(%rax)
leaq 0x41572(%rip), %rsi     # 0x7672d
leaq -0x40(%rbp), %r12
movq %r12, %rdi
callq 0x2e0f0
movl %eax, %r15d
movq (%r12), %rdi
leaq -0x30(%rbp), %r12
cmpq %r12, %rdi
je 0x351dc
callq 0x2e360
testl %r15d, %r15d
je 0x3520b
movq 0x40(%r14), %rsi
movq (%rsi), %rax
leaq -0x40(%rbp), %rdi
callq *(%rax)
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0x1f8(%rbp), %rdi
callq 0x2e440
movq -0x40(%rbp), %rdi
jmp 0x352fc
movq 0x30(%r14), %r15
testq %r15, %r15
je 0x3526f
leaq 0x57495(%rip), %rsi     # 0x8c6b0
leaq 0x57976(%rip), %rdx     # 0x8cb98
movq %r15, %rdi
xorl %ecx, %ecx
callq 0x2e430
testq %rax, %rax
je 0x3526f
movq 0x40(%rax), %rax
testq %rax, %rax
je 0x3526f
movq 0x50(%rax), %rax
testq %rax, %rax
je 0x3526f
cmpl $0x4, 0x3c(%rax)
jne 0x3526f
movq 0x40(%r14), %rsi
movq (%rsi), %rax
leaq -0x40(%rbp), %rdi
callq *(%rax)
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0x1f8(%rbp), %rdi
callq 0x2e440
jmp 0x35091
leaq -0x70(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x42df1(%rip), %rsi     # 0x78070
leaq 0x42dec(%rip), %rdx     # 0x78072
leaq -0x80(%rbp), %rdi
callq 0x32e40
movl 0x48(%r14), %edx
leaq -0x40(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x353a0
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0x1f8(%rbp), %rdi
callq 0x2e440
movq %rax, %r15
movq 0x40(%r14), %rsi
movq (%rsi), %rax
leaq -0x60(%rbp), %rdi
callq *(%rax)
movq -0x60(%rbp), %rsi
movq -0x58(%rbp), %rdx
movq %r15, %rdi
callq 0x2e440
leaq -0x50(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x352e6
callq 0x2e360
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x352f8
callq 0x2e360
movq -0x80(%rbp), %rdi
cmpq %r12, %rdi
jne 0x3509e
jmp 0x350a3
movq %rax, %rbx
movq -0x40(%rbp), %rdi
jmp 0x35352
jmp 0x35376
jmp 0x3535b
jmp 0x35376
jmp 0x35376
movq %rax, %rbx
leaq -0x50(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x35337
callq 0x2e360
jmp 0x35337
jmp 0x35334
movq %rax, %rbx
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3534e
callq 0x2e360
jmp 0x3534e
movq %rax, %rbx
movq -0x80(%rbp), %rdi
cmpq %r12, %rdi
jne 0x3536b
jmp 0x35379
jmp 0x35376
movq %rax, %rbx
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x35379
callq 0x2e360
jmp 0x35379
jmp 0x35376
jmp 0x35376
movq %rax, %rbx
movq 0x58c28(%rip), %rsi     # 0x8dfa8
leaq -0x1f8(%rbp), %rdi
callq 0x2e230
leaq -0x188(%rbp), %rdi
callq 0x2e150
movq %rbx, %rdi
callq 0x2e730