// File: Kei18[P]pibt/./src/agent/agent.cpp
// Function: Agent::logStr[abi:cxx11]()
std::string Agent::logStr() {
  std::string str, strPath, strGoal;
  str += "[agent] ";
  str += "id:" + std::to_string(id) + "\n";
  strPath = "path:";
  strGoal = "goal:";
  for (auto s : hist) {
    strPath += std::to_string(s->v->getId()) + ",";
    if (s->g != nullptr) {
      strGoal += std::to_string(s->g->getId()) + ",";
    } else {
      strGoal += "*,";
    }
  }
  str += strPath + "\n";
  str += strGoal + "\n";
  return str;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1d0, %rsp            # imm = 0x1D0
movq %rdi, -0x1b0(%rbp)
movq %rdi, %rax
movq %rax, -0x1c0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x1b8(%rbp)
movb $0x0, -0x11(%rbp)
callq 0x86b0
leaq -0x38(%rbp), %rdi
callq 0x86b0
leaq -0x58(%rbp), %rdi
callq 0x86b0
movq -0x1b0(%rbp), %rdi
leaq 0x79ce1(%rip), %rsi     # 0xb4519
callq 0x84c0
jmp 0x3a83f
movq -0x1b8(%rbp), %rax
movl (%rax), %esi
leaq -0xc8(%rbp), %rdi
callq 0xdf50
jmp 0x3a856
leaq 0x79cc5(%rip), %rsi     # 0xb4522
leaq -0xa8(%rbp), %rdi
leaq -0xc8(%rbp), %rdx
callq 0xdf00
jmp 0x3a872
leaq 0x78d3e(%rip), %rdx     # 0xb35b7
leaq -0x88(%rbp), %rdi
leaq -0xa8(%rbp), %rsi
callq 0xdeb0
jmp 0x3a88e
movq -0x1b0(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0x8640
jmp 0x3a8a3
leaq -0x88(%rbp), %rdi
callq 0x8330
leaq -0xa8(%rbp), %rdi
callq 0x8330
leaq -0xc8(%rbp), %rdi
callq 0x8330
leaq 0x79c58(%rip), %rsi     # 0xb4526
leaq -0x38(%rbp), %rdi
callq 0x86a0
jmp 0x3a8d9
leaq 0x79c4c(%rip), %rsi     # 0xb452c
leaq -0x58(%rbp), %rdi
callq 0x86a0
jmp 0x3a8eb
movq -0x1b8(%rbp), %rax
addq $0x20, %rax
movq %rax, -0xd0(%rbp)
movq -0xd0(%rbp), %rdi
callq 0x3acd0
movq %rax, -0xd8(%rbp)
movq -0xd0(%rbp), %rdi
callq 0x3ad00
movq %rax, -0xe0(%rbp)
leaq -0xd8(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x3ad30
testb $0x1, %al
jne 0x3a93f
jmp 0x3ab46
leaq -0xd8(%rbp), %rdi
callq 0x3ad70
movq (%rax), %rax
movq %rax, -0xe8(%rbp)
movq -0xe8(%rbp), %rax
movq (%rax), %rdi
callq 0x3ae00
movl %eax, -0x1c4(%rbp)
jmp 0x3a96c
movl -0x1c4(%rbp), %esi
leaq -0x128(%rbp), %rdi
callq 0xdf50
jmp 0x3a980
leaq 0x79bac(%rip), %rdx     # 0xb4533
leaq -0x108(%rbp), %rdi
leaq -0x128(%rbp), %rsi
callq 0xdeb0
jmp 0x3a99c
leaq -0x38(%rbp), %rdi
leaq -0x108(%rbp), %rsi
callq 0x8640
jmp 0x3a9ae
leaq -0x108(%rbp), %rdi
callq 0x8330
leaq -0x128(%rbp), %rdi
callq 0x8330
movq -0xe8(%rbp), %rax
cmpq $0x0, 0x8(%rax)
je 0x3ab1f
movq -0xe8(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x3ae00
movl %eax, -0x1c8(%rbp)
jmp 0x3a9f0
movl -0x1c8(%rbp), %esi
leaq -0x168(%rbp), %rdi
callq 0xdf50
jmp 0x3aa04
leaq 0x79b28(%rip), %rdx     # 0xb4533
leaq -0x148(%rbp), %rdi
leaq -0x168(%rbp), %rsi
callq 0xdeb0
jmp 0x3aa20
leaq -0x58(%rbp), %rdi
leaq -0x148(%rbp), %rsi
callq 0x8640
jmp 0x3aa32
leaq -0x148(%rbp), %rdi
callq 0x8330
leaq -0x168(%rbp), %rdi
callq 0x8330
jmp 0x3ab33
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x3ac0a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x3aaa0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x3aa94
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x88(%rbp), %rdi
callq 0x8330
leaq -0xa8(%rbp), %rdi
callq 0x8330
leaq -0xc8(%rbp), %rdi
callq 0x8330
jmp 0x3ac0a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x3aad7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x108(%rbp), %rdi
callq 0x8330
leaq -0x128(%rbp), %rdi
callq 0x8330
jmp 0x3ac0a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x3ab0e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x148(%rbp), %rdi
callq 0x8330
leaq -0x168(%rbp), %rdi
callq 0x8330
jmp 0x3ac0a
leaq 0x79a0c(%rip), %rsi     # 0xb4532
leaq -0x58(%rbp), %rdi
callq 0x84c0
jmp 0x3ab31
jmp 0x3ab33
jmp 0x3ab35
leaq -0xd8(%rbp), %rdi
callq 0x3ad90
jmp 0x3a923
leaq 0x78a6a(%rip), %rdx     # 0xb35b7
leaq -0x188(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x3aec0
jmp 0x3ab5f
movq -0x1b0(%rbp), %rdi
leaq -0x188(%rbp), %rsi
callq 0x8640
jmp 0x3ab74
leaq -0x188(%rbp), %rdi
callq 0x8330
leaq 0x78a30(%rip), %rdx     # 0xb35b7
leaq -0x1a8(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x3aec0
jmp 0x3ab99
movq -0x1b0(%rbp), %rdi
leaq -0x1a8(%rbp), %rsi
callq 0x8640
jmp 0x3abae
leaq -0x1a8(%rbp), %rdi
callq 0x8330
movb $0x1, -0x11(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x8330
leaq -0x38(%rbp), %rdi
callq 0x8330
testb $0x1, -0x11(%rbp)
jne 0x3ac36
jmp 0x3ac2a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x188(%rbp), %rdi
callq 0x8330
jmp 0x3ac0a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x1a8(%rbp), %rdi
callq 0x8330
leaq -0x58(%rbp), %rdi
callq 0x8330
leaq -0x38(%rbp), %rdi
callq 0x8330
movq -0x1b0(%rbp), %rdi
callq 0x8330
jmp 0x3ac46
movq -0x1b0(%rbp), %rdi
callq 0x8330
movq -0x1c0(%rbp), %rax
addq $0x1d0, %rsp            # imm = 0x1D0
popq %rbp
retq
movq -0x60(%rbp), %rdi
callq 0x8880
nop