// File: /workspace/github_cpp_makefile_star2_O1/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rsi, %r14
leaq 0x10(%rdi), %rax
movq %rax, 0x88(%rsp)
movq %rax, (%rdi)
xorl %eax, %eax
movq %rax, 0x8(%rdi)
movb %al, 0x10(%rdi)
leaq 0x78(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x58(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x300ff(%rip), %rsi     # 0x494b6
movq %rdi, 0x40(%rsp)
callq 0x6690
movl (%r14), %r15d
movl %r15d, %ebp
negl %ebp
cmovsl %r15d, %ebp
movl $0x1, %ebx
cmpl $0xa, %ebp
jb 0x1941b
movl $0x4, %ebx
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x19414
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x19419
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x1941b
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %ebx
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x193e3
addl $-0x3, %ebx
jmp 0x1941b
addl $-0x2, %ebx
jmp 0x1941b
decl %ebx
shrl $0x1f, %r15d
leal (%rbx,%r15), %esi
leaq 0xa8(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x98(%rsp), %rdi
movl $0x2d, %edx
callq 0x6410
leaq 0x98(%rsp), %r12
addq (%r12), %r15
movq %r15, %rdi
movl %ebx, %esi
movl %ebp, %edx
callq 0xb762
leaq 0x3005f(%rip), %rcx     # 0x494bf
movl $0x3, %r8d
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x63d0
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movq 0x40(%rsp), %rbx
je 0x1949e
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x194a5
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x20(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x2f09b(%rip), %rsi     # 0x48563
callq 0x6690
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x194f4
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x194fc
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x6120
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x1953b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x19552
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x98(%rsp), %rdi
cmpq %r13, %rdi
je 0x1956f
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x6380
leaq 0x68(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x2ff44(%rip), %rcx     # 0x494c3
movl $0x5, %r8d
xorl %esi, %esi
callq 0x6560
leaq 0x48(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x2ff2d(%rip), %rcx     # 0x494c9
movl $0x5, %r8d
xorl %esi, %esi
callq 0x6560
movq 0x20(%r14), %r15
movq 0x28(%r14), %rax
movq %rax, 0x90(%rsp)
cmpq %rax, %r15
je 0x19859
movl $0xd1b71759, %ebp       # imm = 0xD1B71759
movq (%r15), %r14
movq (%r14), %rax
movl (%rax), %ebx
movl %ebx, %r13d
negl %r13d
cmovsl %ebx, %r13d
movl $0x1, %r12d
cmpl $0xa, %r13d
jb 0x19627
movl $0x4, %r12d
movl %r13d, %eax
cmpl $0x63, %eax
jbe 0x1961e
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x19624
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x19627
movl %eax, %ecx
imulq %rbp, %rcx
shrq $0x2d, %rcx
addl $0x4, %r12d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x195ee
addl $-0x3, %r12d
jmp 0x19627
addl $-0x2, %r12d
jmp 0x19627
decl %r12d
shrl $0x1f, %ebx
leal (%r12,%rbx), %esi
leaq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
leaq 0x20(%rsp), %rbp
movq %rbp, %rdi
movl $0x2d, %edx
callq 0x6410
addq 0x20(%rsp), %rbx
movq %rbx, %rdi
movl %r12d, %esi
movl %r13d, %edx
callq 0xb762
movq %rbp, %rdi
leaq 0x2fe69(%rip), %rsi     # 0x494d0
callq 0x6690
leaq 0x10(%rsp), %r12
movq %r12, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movl $0xd1b71759, %ebp       # imm = 0xD1B71759
je 0x19697
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x1969f
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
leaq 0x68(%rsp), %rdi
callq 0x6120
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x196e0
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x196fc
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x6380
cmpq $0x0, 0x8(%r14)
je 0x1975d
movq 0x8(%r14), %rax
movl (%rax), %ebx
movl %ebx, %r13d
negl %r13d
cmovsl %ebx, %r13d
movl $0x1, %r12d
cmpl $0xa, %r13d
leaq 0x20(%rsp), %r14
jb 0x1977c
movl $0x4, %r12d
movl %r13d, %eax
cmpl $0x63, %eax
jbe 0x19773
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x19779
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x1977c
movl %eax, %ecx
imulq %rbp, %rcx
shrq $0x2d, %rcx
addl $0x4, %r12d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x1972d
addl $-0x3, %r12d
jmp 0x1977c
leaq 0x48(%rsp), %rdi
leaq 0x2fd66(%rip), %rsi     # 0x494cf
callq 0x6690
jmp 0x19847
addl $-0x2, %r12d
jmp 0x1977c
decl %r12d
shrl $0x1f, %ebx
leal (%r12,%rbx), %esi
leaq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
movq %r14, %rdi
movl $0x2d, %edx
callq 0x6410
addq 0x20(%rsp), %rbx
movq %rbx, %rdi
movl %r12d, %esi
movl %r13d, %edx
callq 0xb762
movq %r14, %rdi
leaq 0x2fd19(%rip), %rsi     # 0x494d0
callq 0x6690
leaq 0x10(%rsp), %r12
movq %r12, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x197e2
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x197ea
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
leaq 0x48(%rsp), %rdi
callq 0x6120
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x1982b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x19847
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x6380
addq $0x8, %r15
cmpq 0x90(%rsp), %r15
jne 0x195c7
movq %rsp, %rdi
movq %r12, (%rdi)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
addq %rsi, %rdx
callq 0xb7d0
leaq 0x2eceb(%rip), %rsi     # 0x48563
movq %rsp, %rdi
movq 0x40(%rsp), %rbx
callq 0x6690
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x6120
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x198ac
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6380
movq %rsp, %rdi
movq %r12, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xb7d0
leaq 0x2ec98(%rip), %rsi     # 0x48563
movq %rsp, %rdi
callq 0x6690
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x6120
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x198fa
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x19916
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x19932
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6380
movq %rbx, %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1994f
jmp 0x1994f
jmp 0x199c8
jmp 0x1994f
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x19a07
movq 0x10(%rsp), %rsi
jmp 0x199ff
jmp 0x199c8
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x19989
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6380
jmp 0x19989
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x199a5
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x6380
jmp 0x199a5
movq %rax, %r14
movq 0x98(%rsp), %rdi
cmpq %r13, %rdi
je 0x19a07
movq 0xa8(%rsp), %rsi
jmp 0x199ff
jmp 0x199c8
jmp 0x199c8
jmp 0x199c8
jmp 0x199c8
jmp 0x199cd
jmp 0x199d2
movq %rax, %r14
jmp 0x19a07
movq %rax, %r14
jmp 0x199eb
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x199eb
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x19a07
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x19a23
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x19a3f
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x40(%rsp), %rax
movq (%rax), %rdi
movq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x19a5f
movq (%rax), %rsi
incq %rsi
callq 0x6380
movq %r14, %rdi
callq 0x6620
nop