LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/Kei18[P]pibt/./src/problem/mapd.cpp
// Function: MAPD::createTask()
void MAPD::createTask() {
  if (taskCnt >= taskNum) return;

  int num;
  if (taskFrequency >= 1) {
    num = (int)taskFrequency;
  } else if (timestep % (int)(1 / taskFrequency) == 0) {
    num = 1;
  } else {
    num = 0;
  }

  Node *p, *d;

  for (int i = 0; i < num; ++i) {
    if (taskCnt < taskNum) {  // limit
      do {
        p = randomChoose(pickupNodes, MT);
        d = randomChoose(deliveryNodes, MT);
      } while (p == d);
      Task* tau = new Task(timestep);
      tau->addNode(p);  // pickup
      tau->addNode(d);  // delivery
      T_OPEN.push_back(tau);
      ++taskCnt;
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl 0xc0(%rdi), %eax
cmpl 0xc4(%rdi), %eax
jge 0x23e4f
movq %rdi, %rbx
movss 0xc8(%rdi), %xmm0
ucomiss 0x26612(%rip), %xmm0    # 0x4a324
jae 0x23d33
movss 0x26608(%rip), %xmm1    # 0x4a324
divss %xmm0, %xmm1
cvttss2si %xmm1, %ecx
movl 0x8(%rbx), %eax
cltd
idivl %ecx
xorl %ecx, %ecx
testl %edx, %edx
sete %cl
jmp 0x23d37
cvttss2si %xmm0, %ecx
testl %ecx, %ecx
jle 0x23e4f
leaq 0x30(%rbx), %rax
movq %rax, 0x10(%rsp)
xorl %r14d, %r14d
movq %rsp, %r15
xorl %edx, %edx
movl %ecx, 0x8(%rsp)
movl 0xc0(%rbx), %eax
cmpl 0xc4(%rbx), %eax
jge 0x23e45
movl %edx, 0xc(%rsp)
movq 0x60(%rbx), %rsi
movq 0x98(%rbx), %rax
subq 0x90(%rbx), %rax
shrq $0x3, %rax
decl %eax
movl %r14d, (%rsp)
movl %eax, 0x4(%rsp)
movq %r15, %rdi
movq %r15, %rdx
callq 0x1fd2e
cltq
movq 0x90(%rbx), %rcx
movq (%rcx,%rax,8), %r12
movq 0x60(%rbx), %rsi
movq 0xb0(%rbx), %rax
subq 0xa8(%rbx), %rax
shrq $0x3, %rax
decl %eax
movl %r14d, (%rsp)
movl %eax, 0x4(%rsp)
movq %r15, %rdi
movq %r15, %rdx
callq 0x1fd2e
cltq
movq 0xa8(%rbx), %rcx
movq (%rcx,%rax,8), %r13
cmpq %r13, %r12
je 0x23d6a
movl $0x40, %edi
callq 0x6370
movq %rax, %rbp
movl 0x8(%rbx), %esi
movq %rax, %rdi
callq 0x473be
movq %rbp, (%rsp)
movq %rbp, %rdi
movq %r12, %rsi
callq 0x2478c
movq (%rsp), %rdi
movq %r13, %rsi
callq 0x2478c
movq 0x38(%rbx), %rsi
cmpq 0x40(%rbx), %rsi
je 0x23e2a
movq (%rsp), %rax
movq %rax, (%rsi)
addq $0x8, 0x38(%rbx)
jmp 0x23e37
movq 0x10(%rsp), %rdi
movq %r15, %rdx
callq 0x18ffc
incl 0xc0(%rbx)
movl 0x8(%rsp), %ecx
movl 0xc(%rsp), %edx
incl %edx
cmpl %ecx, %edx
jne 0x23d54
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movl $0x40, %esi
movq %rbp, %rdi
callq 0x6380
movq %rbx, %rdi
callq 0x6620
// File: /workspace/github_cpp_makefile_star2_O1/Kei18[P]pibt/./src/problem/mapf.cpp
// Function: MAPF::update()
void MAPF::update() {
  ++timestep;

  for (auto a : A) {
    auto tau = a->getTask();
    if (tau) {  // if agent has a task
      tau->update(a->getNode());  // update task status
      if (tau->completed()) {  // if task is completed
        a->releaseTaskOnly();  // agent release task, not goal
        openToClose(tau, T_OPEN, T_CLOSE);
      }
    } else if (a->getNode() != a->getGoal()) {
      // create new task and assign
      Task* newTau = new Task(a->getGoal());
      a->setTask(newTau);
      a->setGoal(newTau->getG()[0]);
      T_OPEN.push_back(newTau);
    }
    a->updateHist();
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
incl 0x8(%rdi)
movq 0x18(%rdi), %r15
movq 0x20(%rdi), %r12
cmpq %r12, %r15
je 0x24d70
movq %rdi, %rbx
leaq 0x48(%rdi), %rax
movq %rax, 0x10(%rsp)
leaq 0x30(%rdi), %rax
movq %rax, 0x18(%rsp)
movq (%r15), %rbp
movq 0x8(%rbp), %rsi
movq 0x18(%rbp), %r14
testq %r14, %r14
je 0x24cb2
movq %r14, %rdi
callq 0x4756c
movq %r14, %rdi
callq 0x475e6
testb %al, %al
je 0x24d5b
movq %rbp, %rdi
callq 0x19352
movq %r14, 0x20(%rsp)
movq 0x30(%rbx), %rdi
movq 0x38(%rbx), %rsi
leaq 0x20(%rsp), %rdx
callq 0x228dc
cmpq 0x38(%rbx), %rax
je 0x24d5b
movq %rax, %r13
movq %rax, %r14
movq 0x50(%rbx), %rsi
cmpq 0x58(%rbx), %rsi
je 0x24d2e
movq (%r14), %rax
movq %rax, (%rsi)
addq $0x8, 0x50(%rbx)
jmp 0x24d3b
cmpq 0x10(%rbp), %rsi
je 0x24d5b
movl $0x40, %edi
callq 0x6370
movq %rax, %r14
movq 0x10(%rbp), %rsi
movq %rax, %rdi
callq 0x47328
movq %r14, 0x8(%rsp)
movq %r14, 0x18(%rbp)
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x19a68
movq 0x20(%rsp), %rdi
movq (%rdi), %rax
movq %rax, 0x10(%rbp)
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq 0x38(%rbx), %rsi
cmpq 0x40(%rbx), %rsi
je 0x24d1d
movq 0x8(%rsp), %rax
movq %rax, (%rsi)
addq $0x8, 0x38(%rbx)
jmp 0x24d5b
movq 0x18(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x18ffc
jmp 0x24d5b
movq 0x10(%rsp), %rdi
movq %r14, %rdx
callq 0x18ffc
addq $0x8, %r13
movq 0x38(%rbx), %rdx
cmpq %rdx, %r13
je 0x24d56
subq %r13, %rdx
movq %r14, %rdi
movq %r13, %rsi
callq 0x65b0
addq $-0x8, 0x38(%rbx)
movq %rbp, %rdi
callq 0x192f0
addq $0x8, %r15
cmpq %r12, %r15
jne 0x24c3d
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movl $0x40, %esi
movq %r14, %rdi
callq 0x6380
movq %rbx, %rdi
callq 0x6620
nop
// File: /workspace/github_cpp_makefile_star2_O1/Kei18[P]pibt/./src/problem/problem.cpp
// Function: Problem::~Problem()
Problem::~Problem() {
  for (auto a : A) delete a;
  for (auto t : T_OPEN) delete t;
  for (auto t : T_CLOSE) delete t;
  A.clear();
  T_OPEN.clear();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x3c1a6(%rip), %rax     # 0x619f0
movq %rax, (%rdi)
movq 0x18(%rdi), %r15
movq 0x20(%rdi), %r12
cmpq %r12, %r15
je 0x2587d
movq (%r15), %r14
testq %r14, %r14
je 0x25877
movq %r14, %rdi
callq 0x19298
movl $0x48, %esi
movq %r14, %rdi
callq 0x6380
addq $0x8, %r15
jmp 0x25855
movq 0x30(%rbx), %r15
movq 0x38(%rbx), %r12
cmpq %r12, %r15
je 0x258ad
movq (%r15), %r14
testq %r14, %r14
je 0x258a7
movq %r14, %rdi
callq 0x47524
movl $0x40, %esi
movq %r14, %rdi
callq 0x6380
addq $0x8, %r15
jmp 0x25885
movq 0x48(%rbx), %r15
movq 0x50(%rbx), %r12
cmpq %r12, %r15
je 0x258dd
movq (%r15), %r14
testq %r14, %r14
je 0x258d7
movq %r14, %rdi
callq 0x47524
movl $0x40, %esi
movq %r14, %rdi
callq 0x6380
addq $0x8, %r15
jmp 0x258b5
movq 0x18(%rbx), %rax
cmpq %rax, 0x20(%rbx)
je 0x258eb
movq %rax, 0x20(%rbx)
movq 0x30(%rbx), %rax
cmpq %rax, 0x38(%rbx)
je 0x258f9
movq %rax, 0x38(%rbx)
movq 0x70(%rbx), %rdi
leaq 0x80(%rbx), %rax
cmpq %rax, %rdi
je 0x25914
movq (%rax), %rsi
incq %rsi
callq 0x6380
movq 0x48(%rbx), %rdi
testq %rdi, %rdi
je 0x25929
movq 0x58(%rbx), %rsi
subq %rdi, %rsi
callq 0x6380
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x2593e
movq 0x40(%rbx), %rsi
subq %rdi, %rsi
callq 0x6380
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x2595e
movq 0x28(%rbx), %rsi
subq %rdi, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x6380
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/Kei18[P]pibt/./src/solver/../util/util.h
// Function: void openToClose<std::vector<Agent*, std::allocator<Agent*>>>(std::vector<Agent*, std::allocator<Agent*>>, std::vector<std::vector<Agent*, std::allocator<Agent*>>, std::allocator<std::vector<Agent*, std::allocator<Agent*>>>>&, std::vector<std::vector<Agent*, std::allocator<Agent*>>, std::allocator<std::vector<Agent*, std::allocator<Agent*>>>>&)
static void openToClose(T a, std::vector<T>& OPEN, std::vector<T> &CLOSE) {
  auto itr = std::find(OPEN.begin(), OPEN.end(), a);
  if (itr != OPEN.end()) {
    CLOSE.push_back(*itr);
    OPEN.erase(itr);
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %rdx
movq (%rsi), %rdi
movq 0x8(%rsi), %rsi
callq 0x2b457
cmpq 0x8(%rbx), %rax
je 0x2671c
movq %rax, %r15
movq %r14, %rdi
movq %rax, %rsi
callq 0x2ab02
movq %rbx, %rdi
movq %r15, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x2b59c
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0x27cbc
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
movq %rax, %rsi
testq %r8, %r8
jle 0x27c1c
andq $-0x20, %rdi
movq %rdi, %rsi
addq %rax, %rsi
incq %r8
leaq 0x10(%rax), %rdi
cmpq %rcx, -0x10(%rdi)
je 0x27c56
cmpq %rcx, -0x8(%rdi)
je 0x27c5c
cmpq %rcx, (%rdi)
je 0x27c6b
cmpq %rcx, 0x8(%rdi)
je 0x27c67
decq %r8
addq $0x20, %rdi
cmpq $0x1, %r8
jg 0x27bf8
movq %rdx, %rdi
subq %rsi, %rdi
sarq $0x3, %rdi
cmpq $0x1, %rdi
je 0x27c4a
cmpq $0x2, %rdi
je 0x27c41
cmpq $0x3, %rdi
jne 0x27c51
cmpq %rcx, (%rsi)
je 0x27c62
addq $0x8, %rsi
cmpq %rcx, (%rsi)
je 0x27c62
addq $0x8, %rsi
cmpq %rcx, (%rsi)
cmoveq %rsi, %rdx
movq %rdx, %rdi
jmp 0x27c6b
addq $-0x10, %rdi
jmp 0x27c6b
addq $-0x8, %rdi
jmp 0x27c6b
movq %rsi, %rdi
jmp 0x27c6b
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 0x1b2e2
movq 0x8(%rsp), %rax
leaq -0x8(%rax), %rcx
addq $-0x8, %rax
leaq -0x8(%rcx), %rdx
cmpq (%rcx), %r15
movq %rdx, %rcx
je 0x27c93
subq (%rsp), %rax
shrq $0x3, %rax
addl %eax, %ebp
addq $0x8, %r12
cmpq %r13, %r12
jne 0x27bc6
jmp 0x27cbe
xorl %ebp, %ebp
movl %ebp, 0x30(%rbx)
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x27cd7
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
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 0x27cff
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq %rbx, %rdi
callq 0x6620
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x3f094
movq (%r15), %r12
movq 0x8(%r15), %rcx
movq %rcx, 0x10(%rsp)
cmpq %rcx, %r12
je 0x27e8f
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
movq %rax, %rsi
testq %r8, %r8
jle 0x27d9e
andq $-0x20, %rdi
movq %rdi, %rsi
addq %rax, %rsi
incq %r8
leaq 0x10(%rax), %rdi
cmpq %rdx, -0x10(%rdi)
je 0x27dd8
cmpq %rdx, -0x8(%rdi)
je 0x27dde
cmpq %rdx, (%rdi)
je 0x27ded
cmpq %rdx, 0x8(%rdi)
je 0x27de9
decq %r8
addq $0x20, %rdi
cmpq $0x1, %r8
jg 0x27d7a
movq %rcx, %rdi
subq %rsi, %rdi
sarq $0x3, %rdi
cmpq $0x1, %rdi
je 0x27dcc
cmpq $0x2, %rdi
je 0x27dc3
cmpq $0x3, %rdi
jne 0x27dd3
cmpq %rdx, (%rsi)
je 0x27de4
addq $0x8, %rsi
cmpq %rdx, (%rsi)
je 0x27de4
addq $0x8, %rsi
cmpq %rdx, (%rsi)
cmoveq %rsi, %rcx
movq %rcx, %rdi
jmp 0x27ded
addq $-0x10, %rdi
jmp 0x27ded
addq $-0x8, %rdi
jmp 0x27ded
movq %rsi, %rdi
jmp 0x27ded
addq $0x8, %rdi
subq %rax, %rdi
shrq $0x3, %rdi
movslq %edi, %r13
movq (%rbx), %rcx
leaq (,%r13,8), %rax
leaq (%rax,%rax,2), %rax
movq 0x8(%rcx,%rax), %rcx
movq -0x8(%rcx), %rcx
movq %rcx, 0x8(%rsp)
movq (%rbx), %rcx
movq 0x8(%rcx,%rax), %rsi
movq %rsi, %rdx
subq (%rcx,%rax), %rdx
sarq $0x3, %rdx
cmpq %rbp, %rdx
je 0x27e80
leaq (%rcx,%rax), %rdi
addq %rcx, %rax
addq $0x8, %rax
cmpq 0x10(%rdi), %rsi
je 0x27e4b
movq 0x8(%rsp), %rcx
movq %rcx, (%rsi)
addq $0x8, (%rax)
jmp 0x27e53
movq %r15, %rdx
callq 0x1c69a
movq (%rbx), %rax
leaq (,%r13,2), %rcx
addq %r13, %rcx
leaq (%rax,%rcx,8), %rdi
leaq (%rax,%rcx,8), %rax
addq $0x8, %rax
movq (%rax), %rsi
movq %rsi, %rcx
subq -0x8(%rax), %rcx
sarq $0x3, %rcx
cmpq %rbp, %rcx
jne 0x27e37
addq $0x8, %r12
cmpq 0x10(%rsp), %r12
jne 0x27d48
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0x28630
movq %rdx, %r14
leaq 0x8(%rsp), %r15
movq (%r14), %r12
movq 0x8(%r14), %r13
cmpq %r13, %r12
je 0x28627
movq (%r12), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x28616
movq %rax, (%rsi)
addq $0x8, 0x8(%rbx)
jmp 0x28621
movq %rbx, %rdi
movq %r15, %rdx
callq 0x2bca6
addq $0x8, %r12
jmp 0x285f4
movq 0x38(%r14), %r14
testq %r14, %r14
jne 0x285ed
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 0x28658
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x6380
movq %r14, %rdi
callq 0x6620
// File: /workspace/github_cpp_makefile_star2_O1/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 0x29423
movq %rcx, %r14
movq %rdx, %r15
movq %rsp, %r12
movq (%r15), %r13
movq 0x8(%r15), %rbp
cmpq %rbp, %r13
je 0x2941a
movq (%r13), %rax
movq %rax, (%rsp)
cmpq %r14, (%rax)
jne 0x29414
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x29409
movq %rax, (%rsi)
addq $0x8, 0x8(%rbx)
jmp 0x29414
movq %rbx, %rdi
movq %r12, %rdx
callq 0x2bca6
addq $0x8, %r13
jmp 0x293e3
movq 0x38(%r15), %r15
testq %r15, %r15
jne 0x293dc
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 0x2944c
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x6380
movq %r14, %rdi
callq 0x6620
// File: /workspace/github_cpp_makefile_star2_O1/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 0x29a20
movl 0x8(%rsi), %eax
cmpl 0x8(%rdx), %eax
jne 0x29a20
movq 0x10(%rsi), %rax
cmpq 0x10(%rdx), %rax
jne 0x29a20
movb 0x20(%rsi), %al
cmpb 0x20(%rdx), %al
jne 0x29a20
testb %al, %al
jne 0x29a23
movq 0x18(%rsi), %rax
cmpq 0x18(%rdx), %rax
je 0x29a23
xorl %eax, %eax
retq
movb $0x1, %al
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0x20707(%rip), %rsi     # 0x4a3d1
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 0xb762
leaq 0x206d8(%rip), %rcx     # 0x4a3e4
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 0x29d45
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x29d4c
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 0x1e7f4(%rip), %rsi     # 0x48563
callq 0x6690
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x29d9b
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x29da2
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
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 %rbx, %rdi
callq 0x6120
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x29de3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x29dfa
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6380
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x29e11
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6380
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x3f790
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x6120
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x29e47
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
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x29ec8
movq 0x18(%rsp), %rsi
jmp 0x29eb9
jmp 0x29ec5
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x29e8e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6380
jmp 0x29e8e
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x29eaa
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6380
jmp 0x29eaa
movq %rax, %r14
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x29ec8
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6380
jmp 0x29ec8
jmp 0x29ec5
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x29edc
movq (%r12), %rsi
incq %rsi
callq 0x6380
movq %r14, %rdi
callq 0x6620
// File: /workspace/github_cpp_makefile_star2_O1/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
cmpq %rax, 0x8(%rdx)
je 0x2f687
movq %rax, 0x8(%rbx)
jmp 0x2f687
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x2f678
movq (%r14), %rax
movq %rax, (%rsi)
addq $0x8, 0x8(%rbx)
jmp 0x2f683
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1c69a
movq 0x10(%r14), %r14
testq %r14, %r14
jne 0x2f661
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 0x2f6cf
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 0x2f6b1
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x362c6
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_O1/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 0x374bb
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 0x3741c
movss %xmm0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x70(%rbx)
jmp 0x37429
movq %r14, %rdi
leaq 0x14(%rsp), %rdx
callq 0x38a0e
movl $0x0, 0x10(%rsp)
movq 0x88(%rbx), %rsi
cmpq 0x90(%rbx), %rsi
je 0x37454
movl $0x0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x88(%rbx)
jmp 0x37461
movq %r15, %rdi
leaq 0x10(%rsp), %rdx
callq 0x233f8
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 0x374a2
movss %xmm0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0xa0(%rbx)
jmp 0x374af
movq %r12, %rdi
leaq 0xc(%rsp), %rdx
callq 0x38a0e
incq %r13
cmpq %r13, %rbp
jne 0x373f0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0x37604
movq %rbx, %rdi
callq 0x37612
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x38(%rax)
movq 0x10(%rbx), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movq 0x10(%rbx), %rax
movl 0x8(%rax), %ecx
cmpl 0xc(%rax), %ecx
jl 0x375cf
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
movb $0x1, %al
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x37792
movq 0x10(%rbx), %rsi
addq $0x30, %rsi
leaq 0x20(%rsp), %rdi
callq 0xb59c
movq 0x20(%rbx), %r14
movq 0x28(%rbx), %r15
cmpq %r15, %r14
je 0x3777b
movq 0x38(%rbx), %rbx
movq %r15, 0x38(%rsp)
movq (%r14), %rdi
cmpq $0x0, 0x18(%rdi)
jne 0x3776e
movq 0x20(%rsp), %r12
movq 0x28(%rsp), %r13
cmpq %r13, %r12
je 0x37769
movq %r14, 0x48(%rsp)
leaq 0x8(%r12), %r14
cmpq %r13, %r14
movq %rdi, 0x40(%rsp)
je 0x37731
movq 0x8(%rdi), %rax
movq %rax, (%rsp)
movq (%r14), %rsi
movq (%r12), %r15
leaq 0x8(%rsp), %rdi
callq 0x19a68
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 0x19a68
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 0x37706
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x3771d
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
cmpl %r15d, %ebp
cmovlq %r14, %r12
addq $0x8, %r14
cmpq %r13, %r14
jne 0x376a2
movq (%r12), %rsi
leaq 0x8(%rsp), %rdi
callq 0x19a68
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 0x3776e
callq 0x1935c
addq $0x8, %r14
cmpq %r15, %r14
jne 0x37661
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x37792
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 0x377a5
jmp 0x377a5
movq %rax, %rbx
jmp 0x377e2
jmp 0x377ac
movq %rax, %rbx
jmp 0x377cb
movq %rax, %rbx
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x377cb
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x377e2
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x377f9
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq %rbx, %rdi
callq 0x6620
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x37ba5
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 0x37b80
cmpq $0x0, 0x18(%r9)
je 0x37b80
movq 0x8(%r9), %r10
cmpq 0x10(%r9), %r10
je 0x37b80
incl (%rsi,%r8,4)
jmp 0x37b88
movl $0x0, (%rsi,%r8,4)
xorps %xmm0, %xmm0
cvtsi2ssl (%rsi,%r8,4), %xmm0
addss (%rdx,%r8,4), %xmm0
movss %xmm0, (%rdi,%r8,4)
incq %r8
cmpq %r8, %rcx
jne 0x37b5e
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0x1a320
movq 0x8(%rsp), %rbp
movq 0x10(%rsp), %r13
cmpq %r13, %rbp
je 0x37f2b
leaq 0x20(%rsp), %r12
movq (%rbp), %rax
movq %rax, (%rsp)
movq %rax, 0x20(%rsp)
movq (%r15), %rdi
movq 0x8(%r15), %rsi
movq %r12, %rdx
callq 0x19ae8
cmpq 0x8(%r15), %rax
jne 0x37f22
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x37f17
movq (%rsp), %rax
movq %rax, (%rsi)
addq $0x8, 0x8(%rbx)
jmp 0x37f22
movq %rbx, %rdi
movq %rsp, %rdx
callq 0x1c69a
addq $0x8, %rbp
cmpq %r13, %rbp
jne 0x37edd
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x37f42
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq 0x8(%r14), %rax
leaq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movq (%r15), %rdi
movq 0x8(%r15), %rsi
callq 0x19ae8
cmpq 0x8(%r15), %rax
jne 0x37f74
movq 0x8(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq %rbx, %rdi
callq 0x1fc22
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x37f8a
jmp 0x37f8a
movq %rax, %r14
jmp 0x37fa9
movq %rax, %r14
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x37fa9
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x37fbd
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x6380
movq %r14, %rdi
callq 0x6620
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x38119
movq %r8, (%rsi)
addq $0x8, 0x8(%rbx)
jmp 0x38124
movq %rsp, %rdx
movq %rbx, %rdi
callq 0x1c69a
leaq 0x8(%rsp), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0x19a68
movq %r14, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r13, %rcx
callq 0x37e92
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x3815c
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movb $0x1, %al
testb %al, %al
jne 0x38175
movq 0x8(%rbx), %rsi
leaq -0x8(%rsi), %rdi
movq %rsi, %rdx
subq %rsi, %rdx
callq 0x65b0
addq $-0x8, 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 0x381a5
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq %rbx, %rdi
callq 0x6620
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x12b60(%rip), %rsi     # 0x4b3d1
callq 0x6690
movq %rsp, %rdi
movq %r14, %rsi
callq 0x3f790
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x6120
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x388ad
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 0x388df
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6380
jmp 0x388df
jmp 0x388dc
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x388f2
movq (%r15), %rsi
incq %rsi
callq 0x6380
movq %r14, %rdi
callq 0x6620
// File: /workspace/github_cpp_makefile_star2_O1/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), %rcx
movb %al, 0x9(%rcx)
movq 0x20(%rdi), %r13
movq 0x28(%rdi), %rbp
cmpq %rbp, %r13
je 0x38e27
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 0x1fc22
movq %r15, %rdi
xorl %esi, %esi
callq 0x3d8de
addq $0x8, %r13
cmpq %rbp, %r13
jne 0x38dfc
movq 0x38(%rbx), %rsi
addq $0x10, %rsi
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x19a68
movq (%r14), %rbp
movq 0x8(%r14), %r12
cmpq %r12, %rbp
je 0x38ed4
leaq 0x188(%rbx), %rax
movq %rax, 0x28(%rsp)
leaq 0x30(%rsp), %r15
movq (%rbp), %rdx
movq %rdx, 0x8(%rsp)
movq 0x38(%rbx), %rsi
movq %r15, %rdi
callq 0x1a320
movq 0x30(%rsp), %r13
movq 0x38(%rsp), %r14
testq %r13, %r13
je 0x38e91
movq 0x40(%rsp), %rsi
subq %r13, %rsi
movq %r13, %rdi
callq 0x6380
subq %r13, %r14
cmpq $0x11, %r14
jb 0x38ecb
movq 0x190(%rbx), %rsi
cmpq 0x198(%rbx), %rsi
je 0x38ebc
movq 0x8(%rsp), %rax
movq %rax, (%rsi)
addq $0x8, 0x190(%rbx)
jmp 0x38ecb
movq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x1c69a
addq $0x8, %rbp
cmpq %r12, %rbp
jne 0x38e5d
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x38eeb
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x38efc
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x38f16
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq %rbx, %rdi
callq 0x6620
// File: /workspace/github_cpp_makefile_star2_O1/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 0x2aa2c
movq 0xf8(%rbx), %rax
cmpq %rax, 0x100(%rbx)
je 0x3926b
movq %rax, 0x100(%rbx)
movq 0x110(%rbx), %rax
cmpq %rax, 0x118(%rbx)
je 0x39282
movq %rax, 0x118(%rbx)
movq 0x10(%rbx), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movb $0x1, %bpl
testb %al, %al
jne 0x392be
movq %rbx, %rdi
callq 0x392d0
cmpb $0x1, 0x140(%rbx)
jne 0x392bc
movq 0x10(%rbx), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movq 0x10(%rbx), %rax
movl 0x8(%rax), %ecx
cmpl 0xc(%rax), %ecx
jl 0x39282
jmp 0x392be
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_O1/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 0x38b4d
cmpq 0x70(%rbx), %rax
je 0x39ddd
movq %rsp, %rdx
movq %r14, (%rdx)
movq 0x98(%rbx), %rdi
movq 0xa0(%rbx), %rsi
callq 0x38b4d
movq %rax, %rcx
xorl %eax, %eax
cmpq 0xa0(%rbx), %rcx
setne %al
jmp 0x39de2
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/Kei18[P]pibt/./src/solver/pps.cpp
// Function: PPS::inS(Agent*)
bool PPS::inS(Agent* a) {
  for (auto s : swapers) {
    if (inArray(s, doneSwapers)) continue;
    if (inArray(a, s->agents)) return true;
  }
  return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, 0x10(%rsp)
movq 0x80(%rdi), %r12
movq 0x88(%rdi), %r13
cmpq %r13, %r12
setne %bpl
je 0x39ef8
movq %rdi, %r14
leaq 0x8(%rsp), %r15
movq (%r12), %rbx
movq %rbx, 0x8(%rsp)
movq 0xc8(%r14), %rdi
movq 0xd0(%r14), %rsi
movq %r15, %rdx
callq 0x3dd58
movl $0x3, %ecx
cmpq 0xd0(%r14), %rax
jne 0x39ee2
movq 0x10(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
movq %r15, %rdx
callq 0x38b4d
xorl %ecx, %ecx
cmpq 0x10(%rbx), %rax
setne %cl
cmpl $0x3, %ecx
je 0x39eeb
testl %ecx, %ecx
jne 0x39ef8
addq $0x8, %r12
cmpq %r13, %r12
setne %bpl
jne 0x39e92
andb $0x1, %bpl
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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), %r13
movq %rsi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq %r13, %rbp
subq %r12, %rbp
sarq $0x5, %rbp
testq %rbp, %rbp
jle 0x3a510
incq %rbp
addq $0x10, %r12
leaq 0x8(%rsp), %r15
movq -0x10(%r12), %rbx
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
movq %r15, %rdx
callq 0x38b4d
cmpq 0x10(%rbx), %rax
jne 0x3a58c
movq -0x8(%r12), %rbx
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
movq %r15, %rdx
callq 0x38b4d
cmpq 0x10(%rbx), %rax
jne 0x3a592
movq (%r12), %rbx
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
movq %r15, %rdx
callq 0x38b4d
cmpq 0x10(%rbx), %rax
jne 0x3a5a1
movq 0x8(%r12), %rbx
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
movq %r15, %rdx
callq 0x38b4d
cmpq 0x10(%rbx), %rax
jne 0x3a59d
decq %rbp
addq $0x20, %r12
cmpq $0x1, %rbp
jg 0x3a480
addq $-0x10, %r12
movq %r13, %rax
subq %r12, %rax
sarq $0x3, %rax
cmpq $0x1, %rax
je 0x3a56c
cmpq $0x2, %rax
je 0x3a54c
cmpq $0x3, %rax
jne 0x3a598
movq (%r12), %rbx
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
leaq 0x8(%rsp), %rdx
callq 0x38b4d
cmpq 0x10(%rbx), %rax
jne 0x3a5a1
addq $0x8, %r12
movq (%r12), %rbx
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
leaq 0x8(%rsp), %rdx
callq 0x38b4d
cmpq 0x10(%rbx), %rax
jne 0x3a5a1
addq $0x8, %r12
movq (%r12), %rbx
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
leaq 0x8(%rsp), %rdx
callq 0x38b4d
cmpq 0x10(%rbx), %rax
cmoveq %r13, %r12
jmp 0x3a5a1
addq $-0x10, %r12
jmp 0x3a5a1
addq $-0x8, %r12
jmp 0x3a5a1
movq %r13, %r12
jmp 0x3a5a1
addq $0x8, %r12
cmpq 0x88(%r14), %r12
je 0x3a5bd
movq (%r12), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x279e4(%rip), %rdi     # 0x61fa8
leaq 0x110f1(%rip), %rsi     # 0x4b6bc
callq 0x6360
leaq 0x110f7(%rip), %rsi     # 0x4b6ce
movq %rax, %rdi
callq 0x6360
leaq 0x1110e(%rip), %rsi     # 0x4b6f4
movq %rax, %rdi
callq 0x6360
movq 0x10(%rsp), %rcx
movl (%rcx), %esi
movq %rax, %rdi
callq 0x6610
leaq 0xdf5f(%rip), %rsi      # 0x48563
movq %rax, %rdi
callq 0x6360
movl $0x1, %edi
callq 0x6440
// File: /workspace/github_cpp_makefile_star2_O1/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 0x3ab7f
movq %rcx, 0x20(%rsp)
movq %rbx, 0x28(%rsp)
leaq 0x8(%rsp), %rdi
movq %r8, %rsi
callq 0x19a68
movq 0x128(%r12), %r14
movq 0x130(%r12), %rbx
cmpq %rbx, %r14
je 0x3ab45
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 0x1fc22
addq $0x8, %r14
cmpq %rbx, %r14
jne 0x3ab25
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 0x3ab91
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
jmp 0x3ab91
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 0x3aba5
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x3abbf
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq %rbx, %rdi
callq 0x6620
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x38b4d
movq 0xe8(%rbx), %rsi
movl $0x2, %ebp
cmpq %rsi, %rax
jne 0x3b1bb
leaq 0x8(%rsp), %rdx
movq %r12, (%rdx)
movq 0xe0(%rbx), %rdi
callq 0x38b4d
cmpq 0xe8(%rbx), %rax
je 0x3b1cc
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 0x3b224
movq 0x8(%r13), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3f248
movl %eax, %ebp
movq 0x8(%r12), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3f248
cmpl %eax, %ebp
jle 0x3b224
leaq 0x8(%r14), %rbp
leaq 0x18(%rsp), %rdx
movq %r12, -0x10(%rdx)
movq %r13, -0x8(%rdx)
leaq 0x8(%rsp), %rsi
movq %rbp, %rdi
callq 0x3ddf8
movq (%rbp), %rax
movq (%rax), %r13
cmpq %r15, 0x8(%r13)
je 0x3b2db
movq 0x8(%r13), %rdx
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 0x3b326
movl %eax, %ebp
testl %eax, %eax
jne 0x3b2bb
leaq 0x8(%rsp), %rdx
movq %r14, %rsi
callq 0x3b520
movq 0x8(%r14), %r12
movq 0x10(%r14), %r13
cmpq %r13, %r12
je 0x3b2bb
leaq 0xe0(%rbx), %r14
leaq 0x20(%rsp), %r15
movq (%r12), %rax
movq %rax, 0x20(%rsp)
movq 0xe8(%rbx), %rsi
cmpq 0xf0(%rbx), %rsi
je 0x3b2a7
movq %rax, (%rsi)
addq $0x8, 0xe8(%rbx)
jmp 0x3b2b2
movq %r14, %rdi
movq %r15, %rdx
callq 0x18edc
addq $0x8, %r12
cmpq %r13, %r12
jne 0x3b281
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x3b1bb
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
jmp 0x3b1bb
movq %rbx, %rdi
movq %r14, %rsi
callq 0x399f0
movl %eax, %ebp
jmp 0x3b1bb
jmp 0x3b2ef
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x3b309
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6380
movq %rbx, %rdi
callq 0x6620
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x3b55d
movq %rdx, %rbx
movq %rsi, %r14
movq 0x8(%rsi), %rax
movq (%rax), %rdi
movq (%rdx), %rax
movq 0x8(%rax), %rsi
callq 0x191a6
movq 0x8(%r14), %rax
movq 0x8(%rax), %rdi
movq (%rbx), %rax
movq (%rax), %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x191a6
movq 0x26a44(%rip), %rdi     # 0x61fa8
leaq 0xfff0(%rip), %rsi      # 0x4b55b
callq 0x6360
leaq 0xcfec(%rip), %rsi      # 0x48563
movq %rax, %rdi
callq 0x6360
movl $0x1, %edi
callq 0x6440
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x19ae8
movq 0x8(%r14), %rsi
cmpq %rsi, %rax
je 0x3b698
movq 0x8(%rbx), %rax
movq -0x8(%rax), %rax
movq %rsp, %rdx
movq %rax, (%rdx)
movq (%r14), %rdi
callq 0x19ae8
movq %rax, %rcx
movb $0x1, %al
cmpq 0x8(%r14), %rcx
jne 0x3b6db
movq (%rbx), %rax
movq (%rax), %rax
movq %rsp, %rdx
movq %rax, (%rdx)
movq (%r14), %rdi
movq 0x8(%r14), %rsi
callq 0x19ae8
cmpq 0x8(%r14), %rax
je 0x3b6d9
movq (%r14), %rax
movq (%rax), %rax
movq %rsp, %rdx
movq %rax, (%rdx)
movq (%rbx), %rdi
movq 0x8(%rbx), %rsi
callq 0x19ae8
movq %rax, %rcx
movb $0x1, %al
cmpq 0x8(%rbx), %rcx
jne 0x3b6db
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop