LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/cbs.cpp
// Function: CBS::calcCost(CTNode*, std::vector<Agent*, std::allocator<Agent*>>&)
void CBS::calcCost(CTNode* node, Agents& block) {
  int cost = 0;
  Node* g;
  Nodes path;
  for (auto a : block) {
    auto itr1 = std::find_if(A.begin(), A.end(),
                            [a](Agent* b) { return a == b; });
    g = a->getGoal();
    path = node->paths[std::distance(A.begin(), itr1)];
    auto itr2 = path.end() - 1;
    while (g == *itr2) --itr2;
    cost += std::distance(path.begin(), itr2);
  }
  node->cost = cost;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movq (%rdx), %r12
movq 0x8(%rdx), %r13
cmpq %r13, %r12
je 0x27c22
movq %rdi, %r14
xorl %ebp, %ebp
movq (%r12), %rcx
movq 0x20(%r14), %rax
movq 0x28(%r14), %rdx
movq %rdx, %rdi
subq %rax, %rdi
movq %rdi, %r8
sarq $0x5, %r8
testq %r8, %r8
jle 0x27b6d
andq $-0x20, %rdi
movq %rdi, %rsi
addq %rax, %rsi
incq %r8
leaq 0x10(%rax), %rdi
cmpq %rcx, -0x10(%rdi)
je 0x27ba4
cmpq %rcx, -0x8(%rdi)
je 0x27baa
cmpq %rcx, (%rdi)
je 0x27bb9
cmpq %rcx, 0x8(%rdi)
je 0x27bb5
decq %r8
addq $0x20, %rdi
cmpq $0x1, %r8
jg 0x27b41
movq %rdx, %rdi
subq %rsi, %rdi
jmp 0x27b70
movq %rax, %rsi
sarq $0x3, %rdi
cmpq $0x1, %rdi
je 0x27b98
cmpq $0x2, %rdi
je 0x27b8f
cmpq $0x3, %rdi
jne 0x27b9f
cmpq %rcx, (%rsi)
je 0x27bb0
addq $0x8, %rsi
cmpq %rcx, (%rsi)
je 0x27bb0
addq $0x8, %rsi
cmpq %rcx, (%rsi)
cmoveq %rsi, %rdx
movq %rdx, %rdi
jmp 0x27bb9
addq $-0x10, %rdi
jmp 0x27bb9
addq $-0x8, %rdi
jmp 0x27bb9
movq %rsi, %rdi
jmp 0x27bb9
addq $0x8, %rdi
movq 0x10(%rcx), %r15
subq %rax, %rdi
shrq $0x3, %rdi
leaq (%rdi,%rdi,2), %rsi
shlq $0x3, %rsi
addq 0x18(%rbx), %rsi
movq %rsp, %rdi
callq 0x1b2e0
movq 0x8(%rsp), %rax
leaq -0x8(%rax), %rcx
addq $-0x8, %rax
leaq -0x8(%rcx), %rdx
cmpq (%rcx), %r15
movq %rdx, %rcx
je 0x27be1
movq (%rsp), %rdi
subq %rdi, %rax
shrq $0x3, %rax
addl %eax, %ebp
addq $0x8, %r12
cmpq %r13, %r12
jne 0x27b12
movl %ebp, 0x30(%rbx)
testq %rdi, %rdi
je 0x27c29
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
jmp 0x27c29
movl $0x0, 0x30(%rbx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x27c51
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq %rbx, %rdi
callq 0x6620
nop
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/cbs.cpp
// Function: CBS::formalizePathAgents(CTNode*, std::vector<Agent*, std::allocator<Agent*>>&)
void CBS::formalizePathAgents(CTNode* node, Agents& block) {
  int maxLength = getMaxLengthPaths(node->paths);
  Node* g;
  int i;
  for (auto a : block) {
    auto itr = std::find_if(A.begin(), A.end(),
                            [a](Agent* b) { return a == b; });
    i = std::distance(A.begin(), itr);
    g = node->paths[i][node->paths[i].size() - 1];
    while (node->paths[i].size() != maxLength) node->paths[i].push_back(g);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
addq $0x18, %rbx
movq %rbx, %rsi
callq 0x3ee0c
movq (%r15), %r12
movq 0x8(%r15), %rcx
movq %rcx, 0x10(%rsp)
cmpq %rcx, %r12
je 0x27dce
movslq %eax, %rbp
leaq 0x8(%rsp), %r15
movq (%r12), %rdx
movq 0x20(%r14), %rax
movq 0x28(%r14), %rcx
movq %rcx, %rdi
subq %rax, %rdi
movq %rdi, %r8
sarq $0x5, %r8
testq %r8, %r8
jle 0x27cf5
andq $-0x20, %rdi
movq %rdi, %rsi
addq %rax, %rsi
incq %r8
leaq 0x10(%rax), %rdi
cmpq %rdx, -0x10(%rdi)
je 0x27d2c
cmpq %rdx, -0x8(%rdi)
je 0x27d32
cmpq %rdx, (%rdi)
je 0x27d41
cmpq %rdx, 0x8(%rdi)
je 0x27d3d
decq %r8
addq $0x20, %rdi
cmpq $0x1, %r8
jg 0x27cc9
movq %rcx, %rdi
subq %rsi, %rdi
jmp 0x27cf8
movq %rax, %rsi
sarq $0x3, %rdi
cmpq $0x1, %rdi
je 0x27d20
cmpq $0x2, %rdi
je 0x27d17
cmpq $0x3, %rdi
jne 0x27d27
cmpq %rdx, (%rsi)
je 0x27d38
addq $0x8, %rsi
cmpq %rdx, (%rsi)
je 0x27d38
addq $0x8, %rsi
cmpq %rdx, (%rsi)
cmoveq %rsi, %rcx
movq %rcx, %rdi
jmp 0x27d41
addq $-0x10, %rdi
jmp 0x27d41
addq $-0x8, %rdi
jmp 0x27d41
movq %rsi, %rdi
jmp 0x27d41
addq $0x8, %rdi
subq %rax, %rdi
shrq $0x3, %rdi
movslq %edi, %rcx
movq (%rbx), %rax
leaq (%rcx,%rcx,2), %r13
movq 0x8(%rax,%r13,8), %rcx
movq -0x8(%rcx), %rcx
movq %rcx, 0x8(%rsp)
movq 0x8(%rax,%r13,8), %rsi
movq %rsi, %rcx
subq (%rax,%r13,8), %rcx
sarq $0x3, %rcx
cmpq %rbp, %rcx
je 0x27dbf
leaq (%rax,%r13,8), %rdi
leaq (%rax,%r13,8), %rax
addq $0x8, %rax
cmpq 0x10(%rdi), %rsi
je 0x27d95
movq 0x8(%rsp), %rcx
movq %rcx, (%rsi)
addq $0x8, (%rax)
jmp 0x27d9d
movq %r15, %rdx
callq 0x1c5cc
movq (%rbx), %rax
leaq (%rax,%r13,8), %rdi
leaq (%rax,%r13,8), %rax
addq $0x8, %rax
movq (%rax), %rsi
movq %rsi, %rcx
subq -0x8(%rax), %rcx
sarq $0x3, %rcx
cmpq %rbp, %rcx
jne 0x27d81
addq $0x8, %r12
cmpq 0x10(%rsp), %r12
jne 0x27c9a
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/cbs.cpp
// Function: CBS::getConstraints(CTNode*)
Constraint CBS::getConstraints(CTNode* ctNode) {
  Constraint constraints = {};
  CTNode* p = ctNode;
  while (p != nullptr) {
    for (auto c : p->c) constraints.push_back(c);
    p = p->p;
  }
  return constraints;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
testq %rdx, %rdx
je 0x2856e
movq %rdx, %r14
leaq 0x8(%rsp), %r15
movq (%r14), %r12
movq 0x8(%r14), %r13
cmpq %r13, %r12
je 0x28565
movq (%r12), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x28554
movq %rax, (%rsi)
addq $0x8, 0x8(%rbx)
jmp 0x2855f
movq %rbx, %rdi
movq %r15, %rdx
callq 0x2bb60
addq $0x8, %r12
jmp 0x28532
movq 0x38(%r14), %r14
testq %r14, %r14
jne 0x2852b
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x28596
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x6380
movq %r14, %rdi
callq 0x6620
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/cbs.cpp
// Function: CBS::getConstraintsForAgent(CTNode*, Agent*)
Constraint CBS::getConstraintsForAgent(CTNode* ctNode, Agent* a) {
  Constraint constraints = {};
  CTNode* p = ctNode;
  while (p != nullptr) {
    for (auto c : p->c) {
      if (c->a == a) constraints.push_back(c);
    }
    p = p->p;
  }
  return constraints;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
testq %rdx, %rdx
je 0x29397
movq %rcx, %r14
movq %rdx, %r15
movq %rsp, %r12
movq (%r15), %r13
movq 0x8(%r15), %rbp
cmpq %rbp, %r13
je 0x2938e
movq (%r13), %rax
movq %rax, (%rsp)
cmpq %r14, (%rax)
jne 0x29388
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x2937d
movq %rax, (%rsi)
addq $0x8, 0x8(%rbx)
jmp 0x29388
movq %rbx, %rdi
movq %r12, %rdx
callq 0x2bb60
addq $0x8, %r13
jmp 0x29357
movq 0x38(%r15), %r15
testq %r15, %r15
jne 0x29350
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x293c0
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x6380
movq %r14, %rdi
callq 0x6620
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/cbs.cpp
// Function: CBS::isDuplicatedConflict(std::vector<Conflict*, std::allocator<Conflict*>>&, Conflict*)
bool CBS::isDuplicatedConflict(Constraint &constraint, Conflict* c) {
  auto itr = std::find_if(constraint.begin(), constraint.end(),
                          [c] (Conflict* d)
                          { if (c->onNode != d->onNode) return false;
                            if (c->a != d->a) return false;
                            if (c->onNode && d->onNode) {
                              return c->t == d->t && c->v == d->v;
                            }
                            return c->t == d->t
                                && c->v == d->v
                                && c->u == d->u;
                          });
  return itr != constraint.end();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq (%rsi), %r15
movq 0x8(%rsi), %r13
movq %r13, %rax
subq %r15, %rax
movq %rax, %rbp
sarq $0x5, %rbp
testq %rbp, %rbp
jle 0x29905
andq $-0x20, %rax
movq %rax, %r14
addq %r15, %r14
incq %rbp
movq %rbx, %rdi
movq %r15, %rsi
callq 0x29ec4
testb %al, %al
jne 0x2995d
leaq 0x8(%r15), %r12
movq %rbx, %rdi
movq %r12, %rsi
callq 0x29ec4
testb %al, %al
jne 0x29960
leaq 0x10(%r15), %r12
movq %rbx, %rdi
movq %r12, %rsi
callq 0x29ec4
testb %al, %al
jne 0x29960
leaq 0x18(%r15), %r12
movq %rbx, %rdi
movq %r12, %rsi
callq 0x29ec4
testb %al, %al
jne 0x29960
addq $0x20, %r15
decq %rbp
cmpq $0x1, %rbp
jg 0x2989c
movq %r13, %rax
subq %r14, %rax
jmp 0x29908
movq %r15, %r14
sarq $0x3, %rax
cmpq $0x1, %rax
je 0x29947
cmpq $0x2, %rax
je 0x29934
movq %r13, %r12
cmpq $0x3, %rax
jne 0x29960
movq %rbx, %rdi
movq %r14, %rsi
callq 0x29ec4
testb %al, %al
jne 0x29958
addq $0x8, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x29ec4
testb %al, %al
jne 0x29958
addq $0x8, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x29ec4
testb %al, %al
cmoveq %r13, %r14
movq %r14, %r12
jmp 0x29960
movq %r15, %r12
cmpq %r13, %r12
setne %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/cbs.cpp
// Function: CBS::isDuplicatedConflict(Conflict*, Conflict*)
bool CBS::isDuplicatedConflict(Conflict* c1, Conflict* c2) {
  if (c1->a != c2->a) return false;
  if (c1->t != c2->t) return false;
  if (c1->v != c2->v) return false;
  if (c1->onNode != c2->onNode) return false;
  if (!c1->onNode && c1->u != c2->u) return false;
  return true;
}

// Assembly:
movq (%rsi), %rax
cmpq (%rdx), %rax
jne 0x299a6
movl 0x8(%rsi), %eax
cmpl 0x8(%rdx), %eax
jne 0x299a6
movq 0x10(%rsi), %rax
cmpq 0x10(%rdx), %rax
jne 0x299a6
movb 0x20(%rsi), %al
cmpb 0x20(%rdx), %al
jne 0x299a6
testb %al, %al
jne 0x299a9
movq 0x18(%rsi), %rax
cmpq 0x18(%rdx), %rax
je 0x299a9
xorl %eax, %eax
retq
movb $0x1, %al
retq
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/cbs.cpp
// Function: CBS::logStr[abi:cxx11]()
std::string CBS::logStr() {
  std::string str;
  str += "[solver] type:CBS\n";
  str += "[solver] ID:" + std::to_string(ID) + "\n";
  str += Solver::logStr();
  return str;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %r12
movq %r12, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
leaq 0x2080d(%rip), %rsi     # 0x4a411
callq 0x6690
movzbl 0x68(%r14), %ebp
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x48(%rsp), %rdi
movl $0x1, %esi
movl $0x2d, %edx
callq 0x6410
leaq 0x48(%rsp), %r15
movq (%r15), %rdi
movl $0x1, %esi
movl %ebp, %edx
callq 0xb7a2
leaq 0x207de(%rip), %rcx     # 0x4a424
movl $0xc, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x63d0
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x29c7f
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x29c86
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x1e8ba(%rip), %rsi     # 0x48563
callq 0x6690
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x29cd5
movq %rsi, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x29cdf
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq %rbp, %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
callq 0x6120
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x29d16
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x29d2d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x29d44
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6380
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x3f4ea
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x6120
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x29d7e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6380
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x29e03
movq 0x18(%rsp), %rsi
jmp 0x29df4
jmp 0x29e00
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x29dc9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6380
jmp 0x29dc9
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x29de5
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6380
jmp 0x29de5
movq %rax, %r14
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x29e03
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6380
jmp 0x29e03
jmp 0x29e00
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x29e17
movq (%r12), %rsi
incq %rsi
callq 0x6380
movq %r14, %rdi
callq 0x6620
nop
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/ecbs.cpp
// Function: ECBS::getPartialPath(AN*, std::vector<Node*, std::allocator<Node*>>&)
void ECBS::getPartialPath(AN* n, Nodes &path) {
  path.clear();
  AN* m = n;
  while (m != nullptr) {
    path.push_back(m->v);
    m = m->p;
  }
  std::reverse(path.begin(), path.end());
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq (%rdx), %rax
movq 0x8(%rdx), %rcx
cmpq %rax, %rcx
je 0x2f509
movq %rax, 0x8(%rbx)
movq %rax, %rcx
testq %r14, %r14
je 0x2f540
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x2f525
movq (%r14), %rax
movq %rax, (%rsi)
addq $0x8, 0x8(%rbx)
jmp 0x2f530
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1c5cc
movq 0x10(%r14), %r14
testq %r14, %r14
jne 0x2f50e
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
cmpq %rcx, %rax
setne %dl
addq $-0x8, %rcx
cmpq %rax, %rcx
seta %sil
andb %dl, %sil
cmpb $0x1, %sil
jne 0x2f57c
addq $0x8, %rax
movq -0x8(%rax), %rdx
movq (%rcx), %rsi
movq %rsi, -0x8(%rax)
movq %rdx, (%rcx)
addq $-0x8, %rcx
leaq 0x8(%rax), %rdx
cmpq %rcx, %rax
movq %rdx, %rax
jb 0x2f55e
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/iecbs.cpp
// Function: Fib_FN_iECBS::operator<(Fib_FN_iECBS const&) const
bool operator<(const Fib_FN_iECBS & other) const {
    if (h != other.h) {
      return h > other.h;
    } else {  // h == other.h
      float cThis  = highway + (float)node->g;
      float cOther = other.highway + (float)other.node->g;
      if (cThis != cOther) {
        return cThis > cOther;
      } else {
        return node->g < other.node->g;
      }
    }
  }

// Assembly:
movl 0x8(%rsi), %eax
cmpl %eax, 0x8(%rdi)
jne 0x361ba
movq (%rdi), %rax
movl 0x8(%rax), %ecx
cvtsi2ss %ecx, %xmm0
movq (%rsi), %rax
movl 0x8(%rax), %edx
cvtsi2ss %edx, %xmm1
addss 0xc(%rdi), %xmm0
addss 0xc(%rsi), %xmm1
xorl %eax, %eax
cmpl %edx, %ecx
setl %al
xorl %ecx, %ecx
ucomiss %xmm1, %xmm0
seta %cl
cmovnel %ecx, %eax
cmovpl %ecx, %eax
retq
setg %al
retq
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/pibt.cpp
// Function: PIBT::init()
void PIBT::init() {
  G->setRegFlg(true);

  // initialize priroirty
  int agentNum = A.size();
  for (int i = 0; i < agentNum ; ++i) {
    epsilon.push_back((float)i / agentNum);
    eta.push_back(0);
    priority.push_back(epsilon[i] + eta[i]);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq 0x38(%rdi), %rax
movb $0x1, 0x9(%rax)
movq 0x28(%rdi), %rbp
subq 0x20(%rdi), %rbp
shrq $0x3, %rbp
testl %ebp, %ebp
jle 0x372df
movq %rdi, %rbx
cvtsi2ss %ebp, %xmm0
movss %xmm0, 0x8(%rsp)
leaq 0x68(%rdi), %r14
leaq 0x80(%rdi), %r15
leaq 0x98(%rdi), %r12
andl $0x7fffffff, %ebp       # imm = 0x7FFFFFFF
xorl %r13d, %r13d
xorps %xmm0, %xmm0
cvtsi2ss %r13d, %xmm0
divss 0x8(%rsp), %xmm0
movss %xmm0, 0x14(%rsp)
movq 0x70(%rbx), %rsi
cmpq 0x78(%rbx), %rsi
je 0x37240
movss %xmm0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x70(%rbx)
jmp 0x3724d
movq %r14, %rdi
leaq 0x14(%rsp), %rdx
callq 0x38796
movl $0x0, 0x10(%rsp)
movq 0x88(%rbx), %rsi
cmpq 0x90(%rbx), %rsi
je 0x37278
movl $0x0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x88(%rbx)
jmp 0x37285
movq %r15, %rdi
leaq 0x10(%rsp), %rdx
callq 0x23392
movq 0x80(%rbx), %rax
xorps %xmm0, %xmm0
cvtsi2ssl (%rax,%r13,4), %xmm0
movq 0x68(%rbx), %rax
addss (%rax,%r13,4), %xmm0
movss %xmm0, 0xc(%rsp)
movq 0xa0(%rbx), %rsi
cmpq 0xa8(%rbx), %rsi
je 0x372c6
movss %xmm0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0xa0(%rbx)
jmp 0x372d3
movq %r12, %rdi
leaq 0xc(%rsp), %rdx
callq 0x38796
incq %r13
cmpq %r13, %rbp
jne 0x37214
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/pibt.cpp
// Function: PIBT::solve()
bool PIBT::solve() {
  solveStart();

  while (!P->isSolved()) {
    allocate();
    update();
    P->update();
    if (P->getTimestep() >= P->getTimestepLimit()) break;
  }

  solveEnd();
  return true;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rax
callq *(%rax)
movq 0x10(%rbx), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
testb %al, %al
jne 0x37428
movq %rbx, %rdi
callq 0x37436
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x38(%rax)
movq 0x10(%rbx), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movq 0x10(%rbx), %rdi
movl 0x8(%rdi), %eax
cmpl 0xc(%rdi), %eax
jl 0x373f7
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
movb $0x1, %al
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/pibt.cpp
// Function: PIBT::allocate()
void PIBT::allocate() {
  if (P->allocated()) return;
  auto T = P->getT();
  Graph* _G = G;

  for (auto a : A) {
    if (a->hasTask()) continue;
    if (T.empty()) {
      a->releaseGoalOnly();
    } else {
      auto v = a->getNode();
      auto itr = std::min_element(T.begin(), T.end(),
                                  [v, _G] (Task* t1, Task* t2) {
                                    return _G->dist(t1->getG()[0], v)
                                      < _G->dist(t2->getG()[0], v);
                                  });
      a->setGoal((*itr)->getG()[0]);
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
testb %al, %al
jne 0x375b6
movq 0x10(%rbx), %rsi
addq $0x30, %rsi
leaq 0x20(%rsp), %rdi
callq 0xb5dc
movq 0x20(%rbx), %r14
movq 0x28(%rbx), %r15
cmpq %r15, %r14
je 0x3759f
movq 0x38(%rbx), %rbx
movq %r15, 0x38(%rsp)
movq (%r14), %rdi
cmpq $0x0, 0x18(%rdi)
jne 0x37592
movq 0x20(%rsp), %r12
movq 0x28(%rsp), %r13
cmpq %r13, %r12
je 0x3758d
movq %r14, 0x48(%rsp)
leaq 0x8(%r12), %r14
cmpq %r13, %r14
movq %rdi, 0x40(%rsp)
je 0x37555
movq 0x8(%rdi), %rax
movq %rax, (%rsp)
movq (%r14), %rsi
movq (%r12), %r15
leaq 0x8(%rsp), %rdi
callq 0x19aae
movq 0x8(%rsp), %rax
movq (%rax), %rsi
movq (%rbx), %rax
movq %rbx, %rdi
movq (%rsp), %rdx
callq *0x10(%rax)
movl %eax, %ebp
leaq 0x50(%rsp), %rdi
movq %r15, %rsi
callq 0x19aae
movq 0x50(%rsp), %rax
movq (%rax), %rsi
movq (%rbx), %rax
movq %rbx, %rdi
movq (%rsp), %rdx
callq *0x10(%rax)
movl %eax, %r15d
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x3752a
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x37541
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
cmpl %r15d, %ebp
cmovlq %r14, %r12
addq $0x8, %r14
cmpq %r13, %r14
jne 0x374c6
movq (%r12), %rsi
leaq 0x8(%rsp), %rdi
callq 0x19aae
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
movq 0x40(%rsp), %rcx
movq %rax, 0x10(%rcx)
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq 0x48(%rsp), %r14
movq 0x38(%rsp), %r15
jmp 0x37592
callq 0x193a4
addq $0x8, %r14
cmpq %r15, %r14
jne 0x37485
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x375b6
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x375c9
jmp 0x375c9
movq %rax, %rbx
jmp 0x37606
jmp 0x375d0
movq %rax, %rbx
jmp 0x375ef
movq %rax, %rbx
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x375ef
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x37606
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x3761d
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq %rbx, %rdi
callq 0x6620
nop
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/pibt.cpp
// Function: PIBT::updatePriority()
void PIBT::updatePriority() {
  // update priority
  for (int i = 0; i < A.size(); ++i) {
    // hasTask & not reach to goal
    if (A[i]->isUpdated()) {
      eta[i] = 0;
    } else if (A[i]->hasTask() && (A[i]->getNode() != A[i]->getGoal())) {
      eta[i] += 1;
    } else {
      eta[i] = 0;
    }
    priority[i] = eta[i] + epsilon[i];
    // priority[i] = getDensity(A[i]);
  }
}

// Assembly:
movq 0x20(%rdi), %rax
movq 0x28(%rdi), %rcx
subq %rax, %rcx
je 0x379d8
sarq $0x3, %rcx
movq 0x68(%rdi), %rdx
movq 0x80(%rdi), %rsi
movq 0x98(%rdi), %rdi
cmpq $0x1, %rcx
adcq $0x0, %rcx
xorl %r8d, %r8d
movq (%rax,%r8,8), %r9
cmpb $0x1, 0x38(%r9)
je 0x379b9
cmpq $0x0, 0x18(%r9)
je 0x379b9
movq 0x8(%r9), %r10
cmpq 0x10(%r9), %r10
je 0x379b9
movl (%rsi,%r8,4), %r9d
incl %r9d
movl %r9d, (%rsi,%r8,4)
xorps %xmm0, %xmm0
cvtsi2ss %r9d, %xmm0
jmp 0x379c4
movl $0x0, (%rsi,%r8,4)
xorps %xmm0, %xmm0
addss (%rdx,%r8,4), %xmm0
movss %xmm0, (%rdi,%r8,4)
incq %r8
cmpq %r8, %rcx
jne 0x37988
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/pibt.cpp
// Function: PIBT::createCandidates(Agent*, std::vector<Node*, std::allocator<Node*>>)
Nodes PIBT::createCandidates(Agent* a, Nodes CLOSE_NODE) {
  Nodes C;
  for (auto v : G->neighbor(a->getNode())) {
    if (!inArray(v, CLOSE_NODE)) C.push_back(v);
  }
  if (!inArray(a->getNode(), CLOSE_NODE)) C.push_back(a->getNode());
  return C;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %r15
movq %rdx, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x38(%rsi), %rsi
movq 0x8(%rdx), %rdx
leaq 0x8(%rsp), %rdi
callq 0x1a38a
movq 0x8(%rsp), %r12
movq 0x10(%rsp), %rbp
cmpq %rbp, %r12
je 0x37d3e
leaq 0x20(%rsp), %r13
movq (%r12), %rax
movq %rax, (%rsp)
movq %rax, 0x20(%rsp)
movq (%r15), %rdi
movq 0x8(%r15), %rsi
movq %r13, %rdx
callq 0x19b2e
cmpq 0x8(%r15), %rax
jne 0x37d30
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x37d25
movq (%rsp), %rax
movq %rax, (%rsi)
addq $0x8, 0x8(%rbx)
jmp 0x37d30
movq %rbx, %rdi
movq %rsp, %rdx
callq 0x1c5cc
addq $0x8, %r12
cmpq %rbp, %r12
jne 0x37ceb
movq 0x8(%rsp), %r12
testq %r12, %r12
je 0x37d53
movq 0x18(%rsp), %rsi
subq %r12, %rsi
movq %r12, %rdi
callq 0x6380
movq 0x8(%r14), %rax
leaq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movq (%r15), %rdi
movq 0x8(%r15), %rsi
callq 0x19b2e
cmpq 0x8(%r15), %rax
jne 0x37d85
movq 0x8(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq %rbx, %rdi
callq 0x1fb6e
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x37d9b
jmp 0x37d9b
movq %rax, %r14
jmp 0x37dba
movq %rax, %r14
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x37dba
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x37dce
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x6380
movq %r14, %rdi
callq 0x6620
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/pibt.cpp
// Function: PIBT::createCandidates(Agent*, std::vector<Node*, std::allocator<Node*>>, Node*)
Nodes PIBT::createCandidates(Agent* a, Nodes CLOSE_NODE, Node* tmp) {
  CLOSE_NODE.push_back(tmp);
  Nodes C = createCandidates(a, CLOSE_NODE);
  CLOSE_NODE.erase(CLOSE_NODE.end() - 1);
  return C;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
movq %r8, (%rsp)
movq 0x8(%rcx), %rsi
cmpq 0x10(%rcx), %rsi
je 0x37f29
movq %r8, (%rsi)
addq $0x8, 0x8(%rbx)
jmp 0x37f34
movq %rsp, %rdx
movq %rbx, %rdi
callq 0x1c5cc
leaq 0x8(%rsp), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0x19aae
movq %r14, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r13, %rcx
callq 0x37ca0
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x37f6c
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq 0x8(%rbx), %rsi
movb $0x1, %al
testb %al, %al
jne 0x37f89
leaq -0x8(%rsi), %rdi
movq %rsi, %rdx
subq %rsi, %rdx
callq 0x65b0
movq 0x8(%rbx), %rsi
addq $-0x8, %rsi
movq %rsi, 0x8(%rbx)
movq %r14, %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x37fbc
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq %rbx, %rdi
callq 0x6620
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/pibt.cpp
// Function: PIBT::logStr[abi:cxx11]()
std::string PIBT::logStr() {
  std::string str;
  str += "[solver] type:PIBT\n";
  str += Solver::logStr();
  return str;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
leaq 0x12e55(%rip), %rsi     # 0x4b448
callq 0x6690
movq %rsp, %rdi
movq %r14, %rsi
callq 0x3f4ea
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x6120
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3862f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6380
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x38661
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6380
jmp 0x38661
jmp 0x3865e
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x38674
movq (%r15), %rsi
incq %rsi
callq 0x6380
movq %r14, %rdi
callq 0x6620
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/pps.cpp
// Function: PPS::init()
void PPS::init() {
  status = true;  // correct
  G->setRegFlg(true);
  for (auto a : A) {
    goals.push_back(a->getGoal());
    isTmpGoals.push_back(false);
  }

  // setup node lists, s.t., deg(v) >= 3
  for (auto v : G->getNodes()) {
    if (G->neighbor(v).size() >= 3) deg3nodes.push_back(v);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movb $0x1, %al
movb %al, 0x140(%rdi)
movq 0x38(%rdi), %rsi
movb %al, 0x9(%rsi)
movq 0x20(%rdi), %r13
movq 0x28(%rdi), %rbp
cmpq %rbp, %r13
je 0x38bbf
leaq 0x148(%rbx), %r14
leaq 0x160(%rbx), %r15
leaq 0x10(%rsp), %r12
movq (%r13), %rax
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
movq %r14, %rdi
movq %r12, %rsi
callq 0x1fb6e
movq %r15, %rdi
xorl %esi, %esi
callq 0x3d5dc
addq $0x8, %r13
cmpq %rbp, %r13
jne 0x38b90
movq 0x38(%rbx), %rsi
addq $0x10, %rsi
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x19aae
movq (%r15), %r14
movq 0x8(%r15), %r13
cmpq %r13, %r14
je 0x38c6c
leaq 0x188(%rbx), %rax
movq %rax, 0x28(%rsp)
leaq 0x30(%rsp), %r12
movq (%r14), %rdx
movq %rdx, 0x8(%rsp)
movq 0x38(%rbx), %rsi
movq %r12, %rdi
callq 0x1a38a
movq 0x30(%rsp), %rbp
movq 0x38(%rsp), %r15
testq %rbp, %rbp
je 0x38c24
movq 0x40(%rsp), %rsi
subq %rbp, %rsi
movq %rbp, %rdi
callq 0x6380
subq %rbp, %r15
cmpq $0x11, %r15
jb 0x38c5e
movq 0x190(%rbx), %rsi
cmpq 0x198(%rbx), %rsi
je 0x38c4f
movq 0x8(%rsp), %rax
movq %rax, (%rsi)
addq $0x8, 0x190(%rbx)
jmp 0x38c5e
movq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x1c5cc
addq $0x8, %r14
cmpq %r13, %r14
jne 0x38bf1
movq 0x10(%rsp), %r14
testq %r14, %r14
je 0x38c81
movq 0x20(%rsp), %rsi
subq %r14, %rsi
movq %r14, %rdi
callq 0x6380
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x38c92
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x38cac
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq %rbx, %rdi
callq 0x6620
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/pps.cpp
// Function: PPS::solve()
bool PPS::solve() {
  solveStart();

  // l.1, initialize
  pushers = A;
  U.clear();
  L.clear();

  while (!P->isSolved()) {  // l.2
    update();
    if (!status) {
      solveEnd();
      return false;
    }
    P->update();
    if (P->getTimestep() >= P->getTimestepLimit()) break;
  }

  solveEnd();
  return true;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rax
callq *(%rax)
leaq 0x20(%rbx), %rsi
leaq 0x68(%rbx), %rdi
callq 0x2a91e
movq 0xf8(%rbx), %rax
cmpq %rax, 0x100(%rbx)
je 0x39001
movq %rax, 0x100(%rbx)
movq 0x110(%rbx), %rax
cmpq %rax, 0x118(%rbx)
je 0x39018
movq %rax, 0x118(%rbx)
movq 0x10(%rbx), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movb $0x1, %bpl
testb %al, %al
jne 0x39054
movq %rbx, %rdi
callq 0x39066
cmpb $0x1, 0x140(%rbx)
jne 0x39052
movq 0x10(%rbx), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movq 0x10(%rbx), %rdi
movl 0x8(%rdi), %eax
cmpl 0xc(%rdi), %eax
jl 0x3901c
jmp 0x39054
xorl %ebp, %ebp
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/pps.cpp
// Function: PPS::CHECK_PUSHER(Agent*)
CHECK PPS::CHECK_PUSHER(Agent* a) {
  // exclude swaper
  if (!inArray(a, pushers)) {
    return CHECK::INVALID;
  }

  // agent who becomes swaper
  if (inArray(a, pusherToSwaper)) {
    return CHECK::INVALID;
  }

  return CHECK::VALID;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq %rsp, %rdx
movq %rsi, (%rdx)
movq 0x68(%rdi), %rdi
movq 0x70(%rbx), %rsi
callq 0x388d5
cmpq 0x70(%rbx), %rax
je 0x39b6f
movq %rsp, %rdx
movq %r14, (%rdx)
movq 0x98(%rbx), %rdi
movq 0xa0(%rbx), %rsi
callq 0x388d5
movq %rax, %rcx
xorl %eax, %eax
cmpq 0xa0(%rbx), %rcx
setne %al
jmp 0x39b74
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/pps.cpp
// Function: PPS::getS(Agent*)
S* PPS::getS(Agent* a) {
  auto itr = std::find_if(swapers.begin(), swapers.end(),
                          [a] (S* s) {
                            auto itrA = std::find(s->agents.begin(), s->agents.end(), a);
                            return itrA != s->agents.end(); });
  if (itr == swapers.end()) {
    std::cout << "error@PPS::getS, "
              << "corresponding swaper does not exist, "
              << "agent : " << a->getId() << "\n";
    std::exit(1);
  }
  return *itr;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r14
movq 0x80(%rdi), %r12
movq 0x88(%rdi), %r15
movq %rsi, 0x10(%rsp)
movq %rsi, (%rsp)
movq %r15, %r13
subq %r12, %r13
movq %r13, %rbp
sarq $0x5, %rbp
testq %rbp, %rbp
jle 0x3a292
movq %r15, 0x8(%rsp)
incq %rbp
addq $0x10, %r12
movq %rsp, %r15
movq -0x10(%r12), %rbx
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
movq %r15, %rdx
callq 0x388d5
cmpq 0x10(%rbx), %rax
jne 0x3a302
movq -0x8(%r12), %rbx
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
movq %r15, %rdx
callq 0x388d5
cmpq 0x10(%rbx), %rax
jne 0x3a308
movq (%r12), %rbx
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
movq %r15, %rdx
callq 0x388d5
cmpq 0x10(%rbx), %rax
jne 0x3a317
movq 0x8(%r12), %rbx
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
movq %r15, %rdx
callq 0x388d5
cmpq 0x10(%rbx), %rax
jne 0x3a313
decq %rbp
addq $0x20, %r12
addq $-0x20, %r13
cmpq $0x1, %rbp
jg 0x3a1f9
addq $-0x10, %r12
movq 0x8(%rsp), %r15
sarq $0x3, %r13
cmpq $0x1, %r13
je 0x3a2e4
cmpq $0x2, %r13
je 0x3a2c6
cmpq $0x3, %r13
jne 0x3a30e
movq (%r12), %rbx
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
movq %rsp, %rdx
callq 0x388d5
cmpq 0x10(%rbx), %rax
jne 0x3a317
addq $0x8, %r12
movq (%r12), %rbx
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
movq %rsp, %rdx
callq 0x388d5
cmpq 0x10(%rbx), %rax
jne 0x3a317
addq $0x8, %r12
movq (%r12), %rbx
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
movq %rsp, %rdx
callq 0x388d5
cmpq 0x10(%rbx), %rax
cmoveq %r15, %r12
jmp 0x3a317
addq $-0x10, %r12
jmp 0x3a317
addq $-0x8, %r12
jmp 0x3a317
movq %r15, %r12
jmp 0x3a317
addq $0x8, %r12
cmpq 0x88(%r14), %r12
je 0x3a333
movq (%r12), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x27c6e(%rip), %rdi     # 0x61fa8
leaq 0x113f2(%rip), %rsi     # 0x4b733
callq 0x6360
leaq 0x113f8(%rip), %rsi     # 0x4b745
movq %rax, %rdi
callq 0x6360
leaq 0x1140f(%rip), %rsi     # 0x4b76b
movq %rax, %rdi
callq 0x6360
movq 0x10(%rsp), %rcx
movl (%rcx), %esi
movq %rax, %rdi
callq 0x6610
leaq 0xe1e9(%rip), %rsi      # 0x48563
movq %rax, %rdi
callq 0x6360
movl $0x1, %edi
callq 0x6440
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/pps.cpp
// Function: PPS::SHORTEST_PATH(Agent*, Node*, std::vector<Node*, std::allocator<Node*>>&)
Nodes PPS::SHORTEST_PATH(Agent* c, Node* g, Nodes& T) {
  if (H.empty()) return G->getPath(c->getNode(), g, T);

  Nodes prohibited = T;
  for (auto a : H) prohibited.push_back(a->getNode());
  return G->getPath(c->getNode(), g, prohibited);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movq 0x128(%rsi), %rax
cmpq 0x130(%rsi), %rax
je 0x3a861
movq %rcx, 0x20(%rsp)
movq %rbx, 0x28(%rsp)
leaq 0x8(%rsp), %rdi
movq %r8, %rsi
callq 0x19aae
movq 0x128(%r12), %r14
movq 0x130(%r12), %rbx
cmpq %rbx, %r14
je 0x3a827
leaq 0x8(%rsp), %r13
leaq 0x30(%rsp), %rbp
movq (%r14), %rax
movq 0x8(%rax), %rax
movq %rax, 0x30(%rsp)
movq %r13, %rdi
movq %rbp, %rsi
callq 0x1fb6e
addq $0x8, %r14
cmpq %rbx, %r14
jne 0x3a807
movq 0x38(%r12), %rsi
movq 0x8(%r15), %rdx
movq (%rsi), %rax
leaq 0x8(%rsp), %r8
movq 0x28(%rsp), %rbx
movq %rbx, %rdi
movq 0x20(%rsp), %rcx
callq *0x20(%rax)
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x3a873
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
jmp 0x3a873
movq 0x38(%r12), %rsi
movq 0x8(%r15), %rdx
movq (%rsi), %rax
movq %rbx, %rdi
callq *0x20(%rax)
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3a887
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x3a8a1
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq %rbx, %rdi
callq 0x6620
nop
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/pps.cpp
// Function: PPS::PUSH(S*)
RES PPS::PUSH(S* s) {
  Agent* aH = s->agents[0];
  Agent* aL = s->agents[1];
  Node* target = s->esv[0];

  if (inArray(aH, M)) return RES::PAUSE;
  if (inArray(aL, M)) return RES::PAUSE;

  // check which is the nearest
  if (s->agents.size() == 2) {
    if (pathDist(aH->getNode(), target) > pathDist(aL->getNode(), target)) {
      s->agents = { aL, aH };
      aH = s->agents[0];
      aL = s->agents[1];
    }
  }

  if (aH->getNode() == target) {
    return SWAP(s);
  }

  Nodes pi = SHORTEST_PATH(aH->getNode(), target);  // l.6

  RES attempt = FEASIBLE(s, pi);  // l.16

  if (attempt == RES::SUCCESS) {  // l.17
    move(s, pi);  // l.18
    for (auto a : s->agents) M.push_back(a);  // l.18
  }

  return attempt;  // l.19
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %rax
movq 0x28(%rsi), %rcx
movq (%rax), %r13
movq 0x8(%rax), %r12
movq (%rcx), %r15
leaq 0x8(%rsp), %rdx
movq %r13, (%rdx)
movq 0xe0(%rdi), %rdi
movq 0xe8(%rbx), %rsi
callq 0x388d5
movq 0xe8(%rbx), %rsi
movl $0x2, %ebp
cmpq %rsi, %rax
jne 0x3af17
leaq 0x8(%rsp), %rdx
movq %r12, (%rdx)
movq 0xe0(%rbx), %rdi
callq 0x388d5
cmpq 0xe8(%rbx), %rax
je 0x3af28
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x10(%r14), %rax
subq 0x8(%r14), %rax
cmpq $0x10, %rax
jne 0x3af80
movq 0x8(%r13), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3efbe
movl %eax, %ebp
movq 0x8(%r12), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3efbe
cmpl %eax, %ebp
jle 0x3af80
leaq 0x8(%r14), %rbp
leaq 0x18(%rsp), %rdx
movq %r12, -0x10(%rdx)
movq %r13, -0x8(%rdx)
leaq 0x8(%rsp), %rsi
movq %rbp, %rdi
callq 0x3db02
movq (%rbp), %rax
movq (%rax), %r13
movq 0x8(%r13), %rdx
cmpq %r15, %rdx
je 0x3b036
movq 0x38(%rbx), %rsi
movq (%rsi), %rax
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r15, %rcx
callq *0x18(%rax)
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x3b080
movl %eax, %ebp
testl %eax, %eax
jne 0x3b016
leaq 0x8(%rsp), %rdx
movq %r14, %rsi
callq 0x3b28a
movq 0x8(%r14), %r12
movq 0x10(%r14), %r13
cmpq %r13, %r12
je 0x3b016
leaq 0xe0(%rbx), %r14
leaq 0x20(%rsp), %r15
movq (%r12), %rax
movq %rax, 0x20(%rsp)
movq 0xe8(%rbx), %rsi
cmpq 0xf0(%rbx), %rsi
je 0x3b002
movq %rax, (%rsi)
addq $0x8, 0xe8(%rbx)
jmp 0x3b00d
movq %r14, %rdi
movq %r15, %rdx
callq 0x18f28
addq $0x8, %r12
cmpq %r13, %r12
jne 0x3afdc
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x3af17
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
jmp 0x3af17
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3978e
movl %eax, %ebp
jmp 0x3af17
jmp 0x3b04a
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x3b064
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq %rbx, %rdi
callq 0x6620
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/pps.cpp
// Function: PPS::move(S*, std::vector<Node*, std::allocator<Node*>>&)
void PPS::move(S* s, Nodes &pi) {
  // error check
  if (s->phase != SWAPPHASE::GO_TARGET &&
      s->phase != SWAPPHASE::CLEARING) {
    std::cout << "error@PPS::move, invalid movement" << "\n";
    std::exit(1);
  }

  s->agents[0]->setNode(pi[1]);
  s->agents[1]->setNode(pi[0]);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
cmpl $0x2, 0x78(%rsi)
jae 0x3b2c7
movq %rdx, %rbx
movq %rsi, %r14
movq 0x8(%rsi), %rax
movq (%rax), %rdi
movq (%rdx), %rax
movq 0x8(%rax), %rsi
callq 0x191f2
movq 0x8(%r14), %rax
movq 0x8(%rax), %rdi
movq (%rbx), %rax
movq (%rax), %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x191f2
movq 0x26cda(%rip), %rdi     # 0x61fa8
leaq 0x102fd(%rip), %rsi     # 0x4b5d2
callq 0x6360
leaq 0xd282(%rip), %rsi      # 0x48563
movq %rax, %rdi
callq 0x6360
movl $0x1, %edi
callq 0x6440
nop
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/pps.cpp
// Function: PPS::DEPEND(std::vector<Node*, std::allocator<Node*>>, std::vector<Node*, std::allocator<Node*>>)
bool PPS::DEPEND(Nodes piA, Nodes piB) {
  // cond (a)
  if (inArray(piB[0], piA) && inArray(piB[piB.size()-1], piA)) return true;
  // cond (b)
  if (inArray(piB[0], piA) && inArray(piA[0], piB)) return true;

  return false;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq (%rdx), %rax
movq (%rax), %rax
movq %rsp, %rdx
movq %rax, (%rdx)
movq (%rsi), %rdi
movq 0x8(%rsi), %rsi
callq 0x19b2e
movq 0x8(%r14), %rsi
cmpq %rsi, %rax
je 0x3b407
movq 0x8(%rbx), %rax
movq -0x8(%rax), %rax
movq %rsp, %rdx
movq %rax, (%rdx)
movq (%r14), %rdi
callq 0x19b2e
movq %rax, %rcx
movq 0x8(%r14), %rsi
movb $0x1, %al
cmpq %rsi, %rcx
jne 0x3b446
movq (%rbx), %rax
movq (%rax), %rax
movq %rsp, %rdx
movq %rax, (%rdx)
movq (%r14), %rdi
callq 0x19b2e
cmpq 0x8(%r14), %rax
je 0x3b444
movq (%r14), %rax
movq (%rax), %rax
movq %rsp, %rdx
movq %rax, (%rdx)
movq (%rbx), %rdi
movq 0x8(%rbx), %rsi
callq 0x19b2e
movq %rax, %rcx
movb $0x1, %al
cmpq 0x8(%rbx), %rcx
jne 0x3b446
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/pps.cpp
// Function: PPS::ADD_DONE_SWAPERS(S*)
void PPS::ADD_DONE_SWAPERS(S* s) {
  doneSwapers.push_back(s);
  Agents agents = s->agents;
  if (agents.size() == 3) {
    Agent* a3 = agents[2];
    isTmpGoals[a3->getId()] = false;
    P->assign(a3->getTask());
    a3->releaseTask();
    a3->setGoal(goals[a3->getId()]);
  }
  for (auto a : agents) {
    if (!inArray(a, pushers)) {
      pushers.push_back(a);
    } else {
      std::cout << "error@PPS::ADD_DONE_SWAPERS, "
                << "duplicated pusher : " << a->getId()
                << "\n";
      std::exit(1);
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq %rsi, 0x28(%rsp)
movq 0xd0(%rdi), %rax
cmpq 0xd8(%rdi), %rax
je 0x3b76d
movq %rsi, (%rax)
addq $0x8, 0xd0(%rbx)
jmp 0x3b787
leaq 0xc8(%rbx), %rdi
leaq 0x28(%rsp), %r14
movq %rax, %rsi
movq %r14, %rdx
callq 0x3dc04
movq (%r14), %rsi
addq $0x8, %rsi
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0xb55c
movq (%r15), %r14
movq 0x8(%r15), %rbp
movq %rbp, %rax
subq %r14, %rax
cmpq $0x18, %rax
jne 0x3b825
movq 0x10(%r14), %r14
movslq (%r14), %rcx
leal 0x3f(%rcx), %eax
testq %rcx, %rcx
cmovnsl %ecx, %eax
sarl $0x6, %eax
cltq
shlq $0x3, %rax
addq 0x160(%rbx), %rax
movabsq $-0x8000000000000000, %rdx # imm = 0x8000000000000000
leaq 0x3f(%rdx), %rsi
andq %rcx, %rsi
xorl %edi, %edi
cmpq %rdx, %rsi
setbe %dil
movq $-0x2, %rdx
rolq %cl, %rdx
andq %rdx, -0x8(%rax,%rdi,8)
movq 0x10(%rbx), %rdi
movq 0x18(%r14), %rsi
callq 0x25936
movq %r14, %rdi
callq 0x19392
movslq (%r14), %rax
movq 0x148(%rbx), %rcx
movq (%rcx,%rax,8), %rax
movq %rax, 0x10(%r14)
movq 0x10(%rsp), %r14
movq 0x18(%rsp), %rbp
cmpq %rbp, %r14
je 0x3b88c
leaq 0x68(%rbx), %r15
leaq 0x30(%rsp), %r12
leaq 0x8(%rsp), %r13
movq (%r14), %rax
movq %rax, 0x8(%rsp)
movq %rax, 0x30(%rsp)
movq 0x68(%rbx), %rdi
movq 0x70(%rbx), %rsi
movq %r12, %rdx
callq 0x388d5
movq 0x70(%rbx), %rsi
cmpq %rsi, %rax
jne 0x3b8b0
cmpq 0x78(%rbx), %rax
je 0x3b873
movq 0x8(%rsp), %rax
movq %rax, (%rsi)
addq $0x8, 0x70(%rbx)
jmp 0x3b87e
movq %r15, %rdi
movq %r13, %rdx
callq 0x18f28
addq $0x8, %r14
cmpq %rbp, %r14
jne 0x3b838
movq 0x10(%rsp), %r14
testq %r14, %r14
je 0x3b8a1
movq 0x20(%rsp), %rsi
subq %r14, %rsi
movq %r14, %rdi
callq 0x6380
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x266f1(%rip), %rdi     # 0x61fa8
leaq 0xfc0e(%rip), %rsi      # 0x4b4cc
movl $0x1d, %edx
callq 0x63f0
movq 0x266d9(%rip), %rdi     # 0x61fa8
leaq 0xfc14(%rip), %rsi      # 0x4b4ea
movl $0x14, %edx
callq 0x63f0
movq 0x8(%rsp), %rax
movl (%rax), %esi
movq 0x266ba(%rip), %rdi     # 0x61fa8
callq 0x6610
leaq 0xcc69(%rip), %rsi      # 0x48563
movq %rax, %rdi
callq 0x6360
movl $0x1, %edi
callq 0x6440
jmp 0x3b910
jmp 0x3b910
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x3b92a
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq %rbx, %rdi
callq 0x6620
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/pps.cpp
// Function: PPS::SHORTEST_PATH(Agent*, Node*)
Nodes PPS::SHORTEST_PATH(Agent* c, Node* g) {
  if (H.empty()) return G->getPath(c->getNode(), g);

  Nodes prohibited;
  for (auto a : H) prohibited.push_back(a->getNode());
  return G->getPath(c->getNode(), g, prohibited);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
movq 0x128(%rsi), %r14
movq 0x130(%rsi), %rbx
cmpq %rbx, %r14
je 0x3b9d8
movq %rcx, 0x20(%rsp)
movq %r13, 0x28(%rsp)
xorps %xmm0, %xmm0
movq %rsp, %r13
movaps %xmm0, (%r13)
movq $0x0, 0x10(%r13)
leaq 0x30(%rsp), %rbp
movq (%r14), %rax
movq 0x8(%rax), %rax
movq %rax, 0x30(%rsp)
movq %r13, %rdi
movq %rbp, %rsi
callq 0x1fb6e
addq $0x8, %r14
cmpq %rbx, %r14
jne 0x3b97e
movq 0x38(%r12), %rsi
movq 0x8(%r15), %rdx
movq (%rsi), %rax
movq %rsp, %r8
movq 0x28(%rsp), %rbx
movq %rbx, %rdi
movq 0x20(%rsp), %rcx
callq *0x20(%rax)
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x3b9d3
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq %rbx, %rax
jmp 0x3b9ed
movq 0x38(%r12), %rsi
movq 0x8(%r15), %rdx
movq (%rsi), %rax
movq %r13, %rdi
callq *0x18(%rax)
movq %r13, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3b9fe
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x3ba17
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq %rbx, %rdi
callq 0x6620
nop
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/pps.cpp
// Function: PPS::FINISH_SWAP(S*)
void PPS::FINISH_SWAP(S* s) {
  // error check
  if (s->agents.size() != 2) {
    std::cout << "error@PPS::FINISH_SWAP, the number of agetns is not two" << "\n";
    std::exit(1);
  }

  // clear L
  auto itrL = std::find(L.begin(), L.end(), s->target);
  L.erase(itrL);
  itrL = std::find(L.begin(), L.end(), s->origin);
  L.erase(itrL);
  itrL = std::find(L.begin(), L.end(), s->evacH);
  L.erase(itrL);
  itrL = std::find(L.begin(), L.end(), s->evacL);
  L.erase(itrL);

  swaperToPusher.push_back(s->agents[0]);
  swaperToPusher.push_back(s->agents[1]);
  doneSwapers.push_back(s);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, 0x8(%rsp)
movq 0x10(%rsi), %rax
subq 0x8(%rsi), %rax
cmpq $0x10, %rax
jne 0x3ccfa
movq %rsi, %r14
movq %rdi, %rbx
movq 0x110(%rdi), %rdi
movq 0x118(%rbx), %rsi
leaq 0x40(%r14), %rdx
callq 0x19b2e
movq 0x118(%rbx), %rcx
leaq 0x8(%rax), %rsi
cmpq %rcx, %rsi
je 0x3cb6f
subq %rsi, %rcx
movq %rax, %rdi
movq %rcx, %rdx
callq 0x65b0
movq 0x110(%rbx), %rdi
movq 0x118(%rbx), %rcx
jmp 0x3cb76
movq 0x110(%rbx), %rdi
addq $-0x8, %rcx
movq %rcx, 0x118(%rbx)
leaq 0x48(%r14), %rdx
movq %rcx, %rsi
callq 0x19b2e
movq 0x118(%rbx), %rcx
leaq 0x8(%rax), %rsi
cmpq %rcx, %rsi
je 0x3cbbb
subq %rsi, %rcx
movq %rax, %rdi
movq %rcx, %rdx
callq 0x65b0
movq 0x110(%rbx), %rdi
movq 0x118(%rbx), %rcx
jmp 0x3cbc2
movq 0x110(%rbx), %rdi
addq $-0x8, %rcx
movq %rcx, 0x118(%rbx)
leaq 0x50(%r14), %rdx
movq %rcx, %rsi
callq 0x19b2e
movq 0x118(%rbx), %rcx
leaq 0x8(%rax), %rsi
cmpq %rcx, %rsi
je 0x3cc07
subq %rsi, %rcx
movq %rax, %rdi
movq %rcx, %rdx
callq 0x65b0
movq 0x110(%rbx), %rdi
movq 0x118(%rbx), %rcx
jmp 0x3cc0e
movq 0x110(%rbx), %rdi
addq $-0x8, %rcx
movq %rcx, 0x118(%rbx)
leaq 0x58(%r14), %rdx
movq %rcx, %rsi
callq 0x19b2e
leaq 0x8(%rax), %rsi
movq 0x118(%rbx), %rdx
cmpq %rdx, %rsi
je 0x3cc47
subq %rsi, %rdx
movq %rax, %rdi
callq 0x65b0
movq 0x118(%rbx), %rdx
addq $-0x8, %rdx
movq %rdx, 0x118(%rbx)
leaq 0xb0(%rbx), %r15
movq 0x8(%r14), %rdx
movq 0xb8(%rbx), %rsi
cmpq 0xc0(%rbx), %rsi
je 0x3cc87
movq (%rdx), %rax
movq %rax, (%rsi)
movq 0xb8(%rbx), %rsi
addq $0x8, %rsi
movq %rsi, 0xb8(%rbx)
jmp 0x3cc96
movq %r15, %rdi
callq 0x18f28
movq 0xb8(%rbx), %rsi
movq 0x8(%r14), %rdx
addq $0x8, %rdx
cmpq 0xc0(%rbx), %rsi
je 0x3ccb7
movq (%rdx), %rax
movq %rax, (%rsi)
addq $0x8, 0xb8(%rbx)
jmp 0x3ccbf
movq %r15, %rdi
callq 0x18f28
movq 0xd0(%rbx), %rsi
cmpq 0xd8(%rbx), %rsi
je 0x3ccdc
movq %r14, (%rsi)
addq $0x8, 0xd0(%rbx)
jmp 0x3ccf0
addq $0xc8, %rbx
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x3dc04
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq 0x252a7(%rip), %rdi     # 0x61fa8
leaq 0xe974(%rip), %rsi      # 0x4b67c
callq 0x6360
leaq 0xb84f(%rip), %rsi      # 0x48563
movq %rax, %rdi
callq 0x6360
movl $0x1, %edi
callq 0x6440
// File: /workspace/github_cpp_makefile_star2_O3/Kei18[P]pibt/./src/solver/pps.cpp
// Function: PPS::getSortedEsv(Agent*)
Nodes PPS::getSortedEsv(Agent* c) {
  Nodes lst = deg3nodes;
  Graph* _G = G;
  Node* v = c->getNode();
  // actually, should use pathDist, but for fast implementation
  std::sort(lst.begin(), lst.end(),
            [_G, v] (Node* v1, Node* v2)
            { return _G->dist(v, v1) < _G->dist(v, v2); });
  return lst;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %rbx
addq $0x188, %rsi            # imm = 0x188
callq 0x19aae
movq (%rbx), %r13
movq 0x8(%rbx), %r14
cmpq %r14, %r13
je 0x3cdd1
movq 0x38(%r15), %r15
movq 0x8(%r12), %r12
movq %r14, %rbp
subq %r13, %rbp
movq %rbp, %rax
sarq $0x3, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rcx
movq %r12, %r8
callq 0x3cfac
cmpq $0x81, %rbp
jl 0x3cdc0
leaq 0x80(%r13), %rbp
movq %r13, %rdi
movq %rbp, %rsi
movq %r15, %rdx
movq %r12, %rcx
callq 0x3d47d
cmpq %r14, %rbp
je 0x3cdd1
movq %rbp, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x3d545
addq $0x8, %rbp
jmp 0x3cda7
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %r12, %rcx
callq 0x3d47d
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3cde5
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x3cdfc
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x6380
movq %r14, %rdi
callq 0x6620