// File: /workspace/github_cpp_makefile_star2_O3/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 0x300b7(%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 0x19463
movl $0x4, %ebx
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x1945c
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x19461
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x19463
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %ebx
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x1942b
addl $-0x3, %ebx
jmp 0x19463
addl $-0x2, %ebx
jmp 0x19463
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 0xb7a2
leaq 0x30017(%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 0x194e6
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x194ed
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 0x2f053(%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 0x1953c
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x19544
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 0x19583
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x1959a
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x98(%rsp), %rdi
cmpq %r13, %rdi
je 0x195b7
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x6380
leaq 0x68(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x2fefc(%rip), %rcx     # 0x494c3
movl $0x5, %r8d
xorl %esi, %esi
callq 0x6560
leaq 0x48(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x2fee5(%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 0x1989f
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 0x1966f
movl $0x4, %r12d
movl %r13d, %eax
cmpl $0x63, %eax
jbe 0x19666
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x1966c
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x1966f
movl %eax, %ecx
imulq %rbp, %rcx
shrq $0x2d, %rcx
addl $0x4, %r12d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x19636
addl $-0x3, %r12d
jmp 0x1966f
addl $-0x2, %r12d
jmp 0x1966f
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 0xb7a2
movq %rbp, %rdi
leaq 0x2fe21(%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 0x196df
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x196e7
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 0x19728
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x19744
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x197a3
movl (%rax), %ebx
movl %ebx, %r13d
negl %r13d
cmovsl %ebx, %r13d
movl $0x1, %r12d
cmpl $0xa, %r13d
leaq 0x20(%rsp), %r14
jb 0x197c2
movl $0x4, %r12d
movl %r13d, %eax
cmpl $0x63, %eax
jbe 0x197b9
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x197bf
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x197c2
movl %eax, %ecx
imulq %rbp, %rcx
shrq $0x2d, %rcx
addl $0x4, %r12d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x19773
addl $-0x3, %r12d
jmp 0x197c2
leaq 0x48(%rsp), %rdi
leaq 0x2fd20(%rip), %rsi     # 0x494cf
callq 0x6690
jmp 0x1988d
addl $-0x2, %r12d
jmp 0x197c2
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 0xb7a2
movq %r14, %rdi
leaq 0x2fcd3(%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 0x19828
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x19830
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 0x19871
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x1988d
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x6380
addq $0x8, %r15
cmpq 0x90(%rsp), %r15
jne 0x1960f
movq %rsp, %rdi
movq %r12, (%rdi)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
addq %rsi, %rdx
callq 0xb810
leaq 0x2eca5(%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 0x198f2
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 0xb810
leaq 0x2ec52(%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 0x19940
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1995c
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x19978
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 0x19995
jmp 0x19995
jmp 0x19a0e
jmp 0x19995
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x19a4d
movq 0x10(%rsp), %rsi
jmp 0x19a45
jmp 0x19a0e
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x199cf
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6380
jmp 0x199cf
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x199eb
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x6380
jmp 0x199eb
movq %rax, %r14
movq 0x98(%rsp), %rdi
cmpq %r13, %rdi
je 0x19a4d
movq 0xa8(%rsp), %rsi
jmp 0x19a45
jmp 0x19a0e
jmp 0x19a0e
jmp 0x19a0e
jmp 0x19a0e
jmp 0x19a13
jmp 0x19a18
movq %rax, %r14
jmp 0x19a4d
movq %rax, %r14
jmp 0x19a31
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x19a31
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x19a4d
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x19a69
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x19a85
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x40(%rsp), %rax
movq (%rax), %rdi
movq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x19aa5
movq (%rax), %rsi
incq %rsi
callq 0x6380
movq %r14, %rdi
callq 0x6620
nop