// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/problem/mapf.cpp
// Function: MAPF::logStr[abi:cxx11]()
std::string MAPF::logStr() {
  std::string str = Problem::logStr();
  str += "[problem] type:MAPF\n";
  str += "[problem] agentnum:" + std::to_string(A.size()) + "\n";
  str += G->logStr();
  for (auto tau : T_CLOSE) str += tau->logStr();

  int cnt;
  int pathsize;
  for (auto a : A) {
    auto hist = a->getHist();
    auto itr = hist.end() - 1;
    cnt = 0;
    while ((*itr)->v == a->getGoal()) {
      ++cnt;
      --itr;
    }
    pathsize = getTerminationTime() - cnt + 1;
    str += a->logStr();
    str += "size:" + std::to_string(pathsize) + "\n";
  }
  return str;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rsi, %r13
movq %rdi, %rbp
callq 0x259b8
leaq 0x2565f(%rip), %rsi     # 0x4a3cc
movq %rbp, %rdi
callq 0x6690
movq 0x20(%r13), %r15
subq 0x18(%r13), %r15
sarq $0x3, %r15
movl $0x1, %esi
cmpq $0xa, %r15
jb 0x24ddb
movl $0x4, %esi
movabsq $0x346dc5d63886594b, %rdi # imm = 0x346DC5D63886594B
movq %r15, %rcx
cmpq $0x63, %rcx
jbe 0x24dd4
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x24dd9
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x24ddb
movq %rcx, %rax
mulq %rdi
shrq $0xb, %rdx
addl $0x4, %esi
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x24d9e
addl $-0x3, %esi
jmp 0x24ddb
addl $-0x2, %esi
jmp 0x24ddb
decl %esi
movl %esi, %esi
leaq 0x60(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x50(%rsp), %rdi
xorl %edx, %edx
movq %rbp, 0x28(%rsp)
callq 0x6410
leaq 0x50(%rsp), %r12
movq (%r12), %rdi
movl 0x8(%r12), %esi
movq %r15, %rdx
callq 0x227e9
leaq 0x25415(%rip), %rcx     # 0x4a229
movl $0x13, %r8d
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x63d0
leaq 0x40(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x24e4d
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x24e53
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
leaq 0x30(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x236ed(%rip), %rsi     # 0x48563
callq 0x6690
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x24ea2
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x24ea9
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x6120
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x24eea
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x30(%rsp), %rdi
cmpq %rbx, %rdi
je 0x24f01
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x24f1d
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x10(%r13), %rsi
movq (%rsi), %rax
leaq 0x8(%rsp), %rdi
callq *0x60(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x6120
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x24f55
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x48(%r13), %rbx
movq 0x50(%r13), %r14
cmpq %r14, %rbx
je 0x24fa9
leaq 0x8(%rsp), %r15
movq (%rbx), %rsi
movq %r15, %rdi
callq 0x47316
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x6120
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x24fa0
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6380
addq $0x8, %rbx
cmpq %r14, %rbx
jne 0x24f67
movq 0x18(%r13), %r14
movq %r13, 0x78(%rsp)
movq 0x20(%r13), %rax
movq %rax, 0x70(%rsp)
cmpq %rax, %r14
je 0x25214
leaq 0x50(%rsp), %r12
movl $0xd1b71759, %r13d      # imm = 0xD1B71759
movq (%r14), %r15
leaq 0x20(%r15), %rsi
leaq 0x80(%rsp), %rdi
callq 0x25392
movq 0x88(%rsp), %rax
movq 0x10(%r15), %rcx
movq $-0x1, %rbx
movq (%rax,%rbx,8), %rdx
decq %rbx
cmpq %rcx, (%rdx)
je 0x24ff6
movq 0x78(%rsp), %rax
movl 0x8(%rax), %ebp
leaq 0x8(%rsp), %rdi
movq %r15, %rsi
callq 0x193ae
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x28(%rsp), %rdi
leaq 0x18(%rsp), %r15
callq 0x6120
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x25047
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6380
addq %rbp, %rbx
addq $0x3, %rbx
movl %ebx, %ebp
negl %ebp
cmovsl %ebx, %ebp
movl $0x1, %r15d
cmpl $0xa, %ebp
jb 0x250a1
movl $0x4, %r15d
movl %ebp, %eax
cmpl $0x63, %eax
jbe 0x25098
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x2509e
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x250a1
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x25068
addl $-0x3, %r15d
jmp 0x250a1
addl $-0x2, %r15d
jmp 0x250a1
decl %r15d
shrl $0x1f, %ebx
leal (%r15,%rbx), %esi
leaq 0x60(%rsp), %rax
movq %rax, 0x50(%rsp)
movq %r12, %rdi
movl $0x2d, %edx
callq 0x6410
movl %ebx, %edi
addq 0x50(%rsp), %rdi
movl %r15d, %esi
movl %ebp, %edx
callq 0xb7a2
movl $0x5, %r8d
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x252fd(%rip), %rcx     # 0x4a3e1
callq 0x63d0
leaq 0x40(%rsp), %rbx
movq %rbx, 0x30(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movq 0x28(%rsp), %rbp
leaq 0x18(%rsp), %r15
je 0x2511b
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x25121
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, 0x38(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x30(%rsp), %rdi
leaq 0x2341e(%rip), %rsi     # 0x48563
callq 0x6690
movq %r15, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2516d
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x25174
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x6120
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x251b5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x30(%rsp), %rdi
cmpq %rbx, %rdi
je 0x251cc
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x251e8
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x25205
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
addq $0x8, %r14
cmpq 0x70(%rsp), %r14
jne 0x24fcf
movq %rbp, %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x2535d
jmp 0x25383
jmp 0x25346
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x25263
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6380
jmp 0x25263
movq %rax, %r14
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x25284
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6380
jmp 0x25284
movq %rax, %r14
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x2535d
movq 0x60(%rsp), %rsi
jmp 0x25388
jmp 0x25346
jmp 0x252a8
movq %rax, %r14
jmp 0x25362
jmp 0x252c6
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x25327
movq 0x18(%rsp), %rsi
jmp 0x2531f
movq %rax, %r14
jmp 0x25327
movq %rax, %r14
jmp 0x2530b
movq %rax, %r14
jmp 0x252ef
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x252ef
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x2530b
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x25327
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x2535d
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
jmp 0x2535d
movq %rax, %r14
jmp 0x2535d
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
jne 0x25383
movq 0x28(%rsp), %rbp
movq (%rbp), %rdi
addq $0x10, %rbp
cmpq %rbp, %rdi
je 0x2537b
movq (%rbp), %rsi
incq %rsi
callq 0x6380
movq %r14, %rdi
callq 0x6620
movq 0x18(%rsp), %rsi
incq %rsi
jmp 0x2533f
nop