// File: /workspace/github_cpp_makefile_star2_O1/keyan[P]ev_routing_engine/router.cpp
// Function: Router::route(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::string Router::route(std::string source_name, std::string target_name) {
  // All labels in the vector are non-dominating in respect to total_weight and state_of_charge.
  // That is, all labels for a node are Pareto optimal.
  std::unordered_map<NodeID, std::vector<Label>> label_map;
  // Once a NodeID is added to the spt, we know the best Label to use to get to it.
  NodeToLabelMap shortest_path_tree;

  int label_id = 0;
  MinHeapPriorityQueue label_queue;
  // Used to keep track of removed Labels in the pq, we can't issue deletes because
  // std::priority_queue doesn't provide pointers to allow arbitrary deletes of items.
  std::unordered_set<int> deleted_labels;

  NodeID source_node_id = node_name_map_[source_name];
  NodeID target_node_id = node_name_map_[target_name];

  label_queue.emplace(Label(source_node_id, label_id++, 0, 0, MAX_CHARGE, source_node_id));
  while (!label_queue.empty()) {
    Label curr_label = label_queue.top();
    label_queue.pop();

    const NodeID &curr_node_id = curr_label.node_id;

    // std::priority_queue has no decrease-weight operation, instead do a "lazy
    // deletion" by keeping the old node in the pq and just ignoring it when it
    // is eventually popped.
    if (deleted_labels.count(curr_label.label_id) == 1 ||
        shortest_path_tree.count(curr_node_id) == 1) {
      continue;
    }
    shortest_path_tree.emplace(curr_node_id, curr_label);

    // Search is done.
    if (curr_node_id == target_node_id) {
      break;
    }

    const Station &curr_station = network_.at(curr_node_id);

    // Update weights for all neighbors not in the spt.
    // This is the main departure from standard dijkstra's. Instead of relaxing edges between
    // neighbors, we construct "labels" up to 3 per neighbor, and try to merge them into the
    // LabelMap. Any non-dominated labels are also added to the priority queue.
    for (auto &edge : graph_.at(curr_node_id)) {
      const NodeID &adj_node_id = edge.first;
      const Kilometers &dist_to_neighbor = edge.second;

      if (shortest_path_tree.count(adj_node_id) == 1) {
        continue;
      }

      Weight direct_weight_to_neighbor = convert_km_to_ms_travel(dist_to_neighbor);

      // Three possible label cases.
      std::vector<Label> labels;
      // 1. Go to neighbor without any charging, if possible.
      if (dist_to_neighbor <= curr_label.state_of_charge) {
        labels.emplace_back(Label(adj_node_id, label_id++,
                                  curr_label.total_weight + direct_weight_to_neighbor, 0,
                                  curr_label.state_of_charge - dist_to_neighbor, curr_node_id));
      }
      // 2. Do a full recharge, if needed.
      if (curr_label.state_of_charge < MAX_CHARGE) {
        Weight addtl_charge_time =
            time_to_full_charge(curr_label.state_of_charge, curr_station.rate);
        labels.emplace_back(
            Label(adj_node_id, label_id++,
                  curr_label.total_weight + direct_weight_to_neighbor + addtl_charge_time,
                  addtl_charge_time, MAX_CHARGE - dist_to_neighbor, curr_node_id));
      }
      // 3. Only charge enough to get to neighbor.
      if (curr_label.state_of_charge < MAX_CHARGE &&
          curr_label.state_of_charge < dist_to_neighbor) {
        Weight addtl_charge_time =
            time_to_partial_charge(curr_label.state_of_charge, dist_to_neighbor, curr_station.rate);
        labels.emplace_back(
            Label(adj_node_id, label_id++,
                  curr_label.total_weight + direct_weight_to_neighbor + addtl_charge_time,
                  addtl_charge_time, 0, curr_node_id));
      }

      // Update this nodes label bag. This is similar to "relaxing" edges in standard Dijkstra's.
      auto search = label_map.find(adj_node_id);
      if (search == label_map.end()) {
        // No labels exist to dominate these ones, so add them all.
        for (auto &label : labels) {
          label_queue.push(label);
        }
        label_map[adj_node_id] = std::move(labels);
      } else {
        std::vector<Label> &bag = search->second;

        for (auto &label : labels) {
          auto search = std::find_if(bag.begin(), bag.end(),
                                     [&](const Label &other) { return other.dominates(label); });
          // This label is dominated, it can be ignored.
          if (search != bag.end()) {
            continue;
          }

          // Does this label dominate anything in the bag already? If so, remove those labels.
          auto d_it = std::partition(bag.begin(), bag.end(),
                                     [&](const Label &other) { return !label.dominates(other); });
          for (auto it = d_it; it != bag.end(); ++it) {
            deleted_labels.insert((*it).label_id);
          }
          bag.erase(d_it, bag.end());
          bag.push_back(label);
          label_queue.push(label);
        }
      }
    }
  }

  return build_result_string(shortest_path_tree, source_node_id, target_node_id);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movq %rcx, %rbx
movq %rsi, %r12
movq %rdi, %r15
leaq 0x168(%rsp), %rax
movq %rax, -0x30(%rax)
movl $0x1, %ecx
movq %rcx, -0x28(%rax)
xorpd %xmm0, %xmm0
movupd %xmm0, -0x20(%rax)
movl $0x3f800000, %esi       # imm = 0x3F800000
movl %esi, -0x10(%rax)
movupd %xmm0, -0x8(%rax)
leaq 0x130(%rsp), %rax
movq %rax, -0x30(%rax)
movq %rcx, -0x28(%rax)
movupd %xmm0, -0x20(%rax)
movl %esi, -0x10(%rax)
movupd %xmm0, -0x8(%rax)
movapd %xmm0, 0xc0(%rsp)
movq $0x0, 0xd0(%rsp)
leaq 0x1a0(%rsp), %rax
movq %rax, -0x30(%rax)
movq %rcx, -0x28(%rax)
movupd %xmm0, -0x20(%rax)
movl %esi, -0x10(%rax)
movupd %xmm0, -0x8(%rax)
leaq 0x8(%r12), %r14
movq %r14, %rdi
movq %rdx, %rsi
callq 0x9506
movzwl (%rax), %ebp
movq %r14, %rdi
movq %rbx, %rsi
callq 0x9506
movq %r12, 0xb0(%rsp)
movq %r15, 0xe8(%rsp)
movzwl (%rax), %eax
movw %ax, 0xe(%rsp)
leaq 0x40(%rsp), %rsi
movw %bp, (%rsi)
xorpd %xmm0, %xmm0
movupd %xmm0, 0x4(%rsi)
movl $0x0, 0x14(%rsi)
movabsq $0x4074000000000000, %rax # imm = 0x4074000000000000
movq %rax, 0x18(%rsi)
movw %bp, 0x3e(%rsp)
movw %bp, 0x20(%rsi)
leaq 0xc0(%rsp), %rdi
callq 0xae2e
movl $0x1, %ebp
leaq 0xc0(%rsp), %rbx
leaq 0x170(%rsp), %r13
leaq 0x100(%rsp), %r15
leaq 0x40(%rsp), %r14
movq 0xc0(%rsp), %rax
cmpq 0xc8(%rsp), %rax
je 0xa6f0
movq 0x20(%rax), %rcx
movq %rcx, 0xa0(%rsp)
movupd (%rax), %xmm0
movupd 0x10(%rax), %xmm1
movapd %xmm1, 0x90(%rsp)
movapd %xmm0, 0x80(%rsp)
movq %rbx, %rdi
callq 0xaf20
movq %r13, %rdi
leaq 0x84(%rsp), %rsi
callq 0xb4e6
cmpq $0x1, %rax
je 0xa6e6
movq %r15, %rdi
leaq 0x80(%rsp), %rsi
callq 0xb560
cmpq $0x1, %rax
je 0xa6e6
movq %r15, %rdi
leaq 0x80(%rsp), %rdx
movq %rdx, %rsi
callq 0xb5de
movzwl 0x80(%rsp), %esi
movb $0x1, %al
cmpw 0xe(%rsp), %si
je 0xa6e8
movq 0xb0(%rsp), %rcx
movq (%rcx), %rax
movq (%rax), %rdi
movq 0x8(%rax), %rdx
movq %rdi, 0x70(%rsp)
subq %rdi, %rdx
sarq $0x3, %rdx
movabsq $0x6db6db6db6db6db7, %rax # imm = 0x6DB6DB6DB6DB6DB7
imulq %rax, %rdx
cmpq %rsi, %rdx
jbe 0xa769
movq 0x40(%rcx), %rax
movq 0x48(%rcx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rdx
cmpq %rsi, %rdx
jbe 0xa777
leaq (%rsi,%rsi,2), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x8(%rax,%rcx,8), %r12
cmpq %r12, %rdx
je 0xa6e6
imulq $0x38, %rsi, %rax
addq %rax, 0x70(%rsp)
movq %rdx, %rsi
movq %r12, 0xf0(%rsp)
movq %r15, %rdi
movq %rsi, 0x30(%rsp)
callq 0xb560
cmpq $0x1, %rax
je 0xa6d4
movq 0x30(%rsp), %rdx
movsd 0x8(%rdx), %xmm0
divsd 0x4015(%rip), %xmm0     # 0xe080
mulsd 0x4015(%rip), %xmm0     # 0xe088
addsd 0x4015(%rip), %xmm0     # 0xe090
cvttsd2si %xmm0, %eax
movslq %eax, %rbx
xorpd %xmm0, %xmm0
movapd %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
movsd 0x98(%rsp), %xmm0
ucomisd 0x8(%rdx), %xmm0
jb 0xa12a
movzwl (%rdx), %eax
movq 0x88(%rsp), %rcx
addq %rbx, %rcx
subsd 0x8(%rdx), %xmm0
movzwl 0x80(%rsp), %edx
movw %ax, 0x40(%rsp)
movl %ebp, 0x44(%rsp)
movq %rcx, 0x48(%rsp)
movq $0x0, 0x50(%rsp)
movsd %xmm0, 0x58(%rsp)
movw %dx, 0x60(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0xa11b
movq 0x60(%rsp), %rax
movq %rax, 0x20(%rsi)
movupd 0x40(%rsp), %xmm0
movupd 0x50(%rsp), %xmm1
movupd %xmm1, 0x10(%rsi)
movupd %xmm0, (%rsi)
addq $0x28, %rsi
movq %rsi, 0x18(%rsp)
jmp 0xa128
leaq 0x10(%rsp), %rdi
movq %r14, %rdx
callq 0xb88e
incl %ebp
movsd 0x98(%rsp), %xmm0
movsd 0x2ecd(%rip), %xmm2     # 0xd008
ucomisd %xmm0, %xmm2
jbe 0xa1f6
movapd %xmm2, %xmm1
subsd %xmm0, %xmm1
movq 0x70(%rsp), %rax
divsd 0x30(%rax), %xmm1
mulsd 0x3f29(%rip), %xmm1     # 0xe088
addsd 0x3f29(%rip), %xmm1     # 0xe090
cvttsd2si %xmm1, %eax
cltq
movq 0x30(%rsp), %rsi
movzwl (%rsi), %ecx
movq 0x88(%rsp), %rdx
addq %rbx, %rdx
addq %rax, %rdx
movapd %xmm2, %xmm0
subsd 0x8(%rsi), %xmm0
movzwl 0x80(%rsp), %esi
movw %cx, 0x40(%rsp)
movl %ebp, 0x44(%rsp)
movq %rdx, 0x48(%rsp)
movq %rax, 0x50(%rsp)
movsd %xmm0, 0x58(%rsp)
movw %si, 0x60(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0xa1e7
movq 0x60(%rsp), %rax
movq %rax, 0x20(%rsi)
movupd 0x40(%rsp), %xmm0
movupd 0x50(%rsp), %xmm1
movupd %xmm1, 0x10(%rsi)
movupd %xmm0, (%rsi)
addq $0x28, %rsi
movq %rsi, 0x18(%rsp)
jmp 0xa1f4
leaq 0x10(%rsp), %rdi
movq %r14, %rdx
callq 0xb88e
incl %ebp
movsd 0x98(%rsp), %xmm1
movsd 0x2e01(%rip), %xmm0     # 0xd008
ucomisd %xmm1, %xmm0
jbe 0xa2c4
movq 0x30(%rsp), %rcx
movsd 0x8(%rcx), %xmm0
ucomisd %xmm1, %xmm0
jbe 0xa2c4
subsd %xmm1, %xmm0
movq 0x70(%rsp), %rax
divsd 0x30(%rax), %xmm0
mulsd 0x3e4d(%rip), %xmm0     # 0xe088
addsd 0x3e4d(%rip), %xmm0     # 0xe090
cvttsd2si %xmm0, %eax
cltq
addq 0x88(%rsp), %rbx
movzwl (%rcx), %ecx
addq %rax, %rbx
movzwl 0x80(%rsp), %edx
movw %cx, 0x40(%rsp)
movl %ebp, 0x44(%rsp)
movq %rbx, 0x48(%rsp)
movq %rax, 0x50(%rsp)
movq $0x0, 0x58(%rsp)
movw %dx, 0x60(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0xa2b5
movq 0x60(%rsp), %rax
movq %rax, 0x20(%rsi)
movupd 0x40(%rsp), %xmm0
movupd 0x50(%rsp), %xmm1
movupd %xmm1, 0x10(%rsi)
movupd %xmm0, (%rsi)
addq $0x28, %rsi
movq %rsi, 0x18(%rsp)
jmp 0xa2c2
leaq 0x10(%rsp), %rdi
movq %r14, %rdx
callq 0xb88e
incl %ebp
movq 0x30(%rsp), %rax
movzwl (%rax), %ecx
movq 0x138(%rsp), %rdi
movq 0x140(%rsp), %r8
movq %rcx, %rax
xorl %edx, %edx
divq %r8
movq %rdx, %rsi
movl %esi, %eax
movq (%rdi,%rax,8), %rdx
movl $0x0, %eax
testq %rdx, %rdx
je 0xa332
movq (%rdx), %r9
movq %rdx, %rax
cmpw 0x8(%r9), %cx
je 0xa332
movq %r9, %r10
movq (%r9), %r9
testq %r9, %r9
je 0xa330
movzwl 0x8(%r9), %edi
movq %rdi, %rax
xorl %edx, %edx
divq %r8
movl $0x0, %eax
cmpq %rsi, %rdx
jne 0xa332
movq %r10, %rax
cmpw %di, %cx
jne 0xa304
jmp 0xa332
xorl %eax, %eax
movl %ebp, 0x7c(%rsp)
testq %rax, %rax
je 0xa340
movq (%rax), %r12
jmp 0xa343
xorl %r12d, %r12d
movabsq $-0x3333333333333333, %r15 # imm = 0xCCCCCCCCCCCCCCCD
movq 0x30(%rsp), %rbp
testq %r12, %r12
je 0xa634
movq 0x10(%rsp), %rbx
movq 0x18(%rsp), %rbp
cmpq %rbp, %rbx
je 0xa6a9
leaq 0x10(%r12), %rax
movq %rax, 0xf8(%rsp)
movq %rbp, 0xb8(%rsp)
movq 0x10(%r12), %rcx
movq 0x18(%r12), %rax
movq %rax, %rdi
subq %rcx, %rdi
sarq $0x3, %rdi
imulq %r15, %rdi
sarq $0x2, %rdi
movq %rcx, %rdx
testq %rdi, %rdi
jle 0xa426
movq 0x8(%rbx), %r8
movsd 0x18(%rbx), %xmm0
leaq (%rdi,%rdi,4), %rdx
shlq $0x5, %rdx
addq %rcx, %rdx
incq %rdi
leaq 0x50(%rcx), %rsi
cmpq %r8, -0x48(%rsi)
jae 0xa3d7
movsd -0x38(%rsi), %xmm1
ucomisd %xmm0, %xmm1
ja 0xa49c
cmpq %r8, -0x20(%rsi)
jae 0xa3ec
movsd -0x10(%rsi), %xmm1
ucomisd %xmm0, %xmm1
ja 0xa4a2
cmpq %r8, 0x8(%rsi)
jae 0xa401
movsd 0x18(%rsi), %xmm1
ucomisd %xmm0, %xmm1
ja 0xa4ac
cmpq %r8, 0x30(%rsi)
jae 0xa416
movsd 0x40(%rsi), %xmm1
ucomisd %xmm0, %xmm1
ja 0xa4a8
decq %rdi
addq $0xa0, %rsi
cmpq $0x1, %rdi
jg 0xa3c2
movq %rax, %rdi
subq %rdx, %rdi
sarq $0x3, %rdi
imulq %r15, %rdi
cmpq $0x1, %rdi
je 0xa47d
cmpq $0x2, %rdi
je 0xa463
movq %rax, %rsi
cmpq $0x3, %rdi
jne 0xa4ac
movq 0x8(%rdx), %rsi
cmpq 0x8(%rbx), %rsi
jae 0xa45f
movsd 0x18(%rdx), %xmm0
ucomisd 0x18(%rbx), %xmm0
ja 0xa497
addq $0x28, %rdx
movq 0x8(%rdx), %rsi
cmpq 0x8(%rbx), %rsi
jae 0xa479
movsd 0x18(%rdx), %xmm0
ucomisd 0x18(%rbx), %xmm0
ja 0xa497
addq $0x28, %rdx
movsd 0x18(%rdx), %xmm0
ucomisd 0x18(%rbx), %xmm0
movq 0x8(%rdx), %rsi
cmovbeq %rax, %rdx
cmpq 0x8(%rbx), %rsi
cmovaeq %rax, %rdx
movq %rdx, %rsi
jmp 0xa4ac
addq $-0x50, %rsi
jmp 0xa4ac
addq $-0x28, %rsi
jmp 0xa4ac
addq $0x28, %rsi
cmpq %rax, %rsi
jne 0xa625
cmpq %rax, %rcx
je 0xa564
movq 0x8(%rbx), %rdx
movsd 0x18(%rbx), %xmm0
movq %rcx, %rbp
cmpq 0x8(%rbp), %rdx
jae 0xa4d7
ucomisd 0x18(%rbp), %xmm0
ja 0xa4e5
addq $0x28, %rbp
cmpq %rax, %rbp
jne 0xa4ca
jmp 0xa567
movq %rax, %rcx
leaq -0x28(%rcx), %rax
cmpq %rbp, %rax
je 0xa567
cmpq -0x20(%rcx), %rdx
jae 0xa501
ucomisd -0x10(%rcx), %xmm0
movq %rax, %rcx
ja 0xa4e8
movq 0x20(%rbp), %rcx
movq %rcx, 0x60(%rsp)
movups (%rbp), %xmm0
movups 0x10(%rbp), %xmm1
movaps %xmm1, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movzwl 0x20(%rax), %ecx
movw %cx, 0x20(%rbp)
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movups %xmm1, 0x10(%rbp)
movups %xmm0, (%rbp)
movzwl 0x60(%rsp), %ecx
movw %cx, 0x20(%rax)
movapd 0x40(%rsp), %xmm0
movapd 0x50(%rsp), %xmm1
movupd %xmm1, 0x10(%rax)
movupd %xmm0, (%rax)
leaq 0x28(%rbp), %rcx
cmpq %rcx, %rax
jne 0xa4be
addq $0x28, %rbp
jmp 0xa567
movq %rcx, %rbp
movq 0x18(%r12), %rax
movq %rbp, %r15
cmpq %rax, %rbp
je 0xa596
leaq 0x4(%r15), %rsi
movq %r13, 0x40(%rsp)
movq %r13, %rdi
movq %r14, %rdx
callq 0xbd30
addq $0x28, %r15
movq 0x18(%r12), %rax
cmpq %rax, %r15
jne 0xa574
cmpq %rax, %rbp
je 0xa5b3
movq 0x18(%r12), %rcx
movq %rcx, %rdx
subq %rax, %rdx
addq %rdx, %rbp
cmpq %rbp, %rcx
je 0xa5b3
movq %rbp, 0x18(%r12)
movq 0x18(%r12), %rsi
cmpq 0x20(%r12), %rsi
je 0xa5f3
movq 0x20(%rbx), %rax
movq %rax, 0x20(%rsi)
movupd (%rbx), %xmm0
movupd 0x10(%rbx), %xmm1
movupd %xmm1, 0x10(%rsi)
movupd %xmm0, (%rsi)
addq $0x28, 0x18(%r12)
movabsq $-0x3333333333333333, %r15 # imm = 0xCCCCCCCCCCCCCCCD
movq 0xb8(%rsp), %rbp
jmp 0xa615
movq 0xf8(%rsp), %rdi
movq %rbx, %rdx
callq 0xbfa0
movabsq $-0x3333333333333333, %r15 # imm = 0xCCCCCCCCCCCCCCCD
movq 0xb8(%rsp), %rbp
leaq 0xc0(%rsp), %rdi
movq %rbx, %rsi
callq 0xafb6
addq $0x28, %rbx
cmpq %rbp, %rbx
jne 0xa383
jmp 0xa6a9
movq 0x10(%rsp), %rbx
movq 0x18(%rsp), %r15
cmpq %r15, %rbx
leaq 0xc0(%rsp), %r12
je 0xa65f
movq %r12, %rdi
movq %rbx, %rsi
callq 0xafb6
addq $0x28, %rbx
cmpq %r15, %rbx
jne 0xa64b
leaq 0x138(%rsp), %rdi
movq %rbp, %rsi
callq 0xba72
movq (%rax), %rdi
movq 0x10(%rsp), %rcx
movq %rcx, (%rax)
movq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rax)
movq 0x20(%rsp), %rcx
movq %rcx, 0x10(%rax)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
testq %rdi, %rdi
je 0xa6a9
callq 0x2150
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0xa6b8
callq 0x2150
movl 0x7c(%rsp), %ebp
leaq 0xc0(%rsp), %rbx
leaq 0x100(%rsp), %r15
movq 0xf0(%rsp), %r12
movq 0x30(%rsp), %rsi
addq $0x10, %rsi
cmpq %r12, %rsi
jne 0xa042
xorl %eax, %eax
testb %al, %al
je 0x9f1c
movzwl 0x3e(%rsp), %ecx
movzwl 0xe(%rsp), %r8d
leaq 0x100(%rsp), %rdx
movq 0xe8(%rsp), %rbx
movq %rbx, %rdi
movq 0xb0(%rsp), %rsi
callq 0xa7f8
leaq 0x170(%rsp), %rdi
callq 0xb1aa
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0xa73a
callq 0x2150
leaq 0x100(%rsp), %rdi
callq 0xb20c
leaq 0x138(%rsp), %rdi
callq 0xb26e
movq %rbx, %rax
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2951(%rip), %rdi      # 0xd0c1
xorl %eax, %eax
callq 0x21f0
leaq 0x2943(%rip), %rdi      # 0xd0c1
xorl %eax, %eax
callq 0x21f0
jmp 0xa79b
jmp 0xa79b
jmp 0xa7a4
jmp 0xa79b
jmp 0xa79b
jmp 0xa79b
jmp 0xa7a4
jmp 0xa7a4
jmp 0xa7a4
jmp 0xa79b
jmp 0xa79b
movq %rax, %rbx
jmp 0xa7b6
jmp 0xa7a4
jmp 0xa7a4
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0xa7b6
callq 0x2150
leaq 0x170(%rsp), %rdi
callq 0xb1aa
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0xa7d5
callq 0x2150
leaq 0x100(%rsp), %rdi
callq 0xb20c
leaq 0x138(%rsp), %rdi
callq 0xb26e
movq %rbx, %rdi
callq 0x2250
nop