// File: /workspace/github_cpp_makefile_star2_O3/mh0fm4[P]SCDC/src/components/compcoup/compcoup_transport.cc
// Function: scdc_compcoup_transport::dataset_cmd(scdc_dataset*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, _scdc_dataset_inout_t*, _scdc_dataset_inout_t*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool scdc_compcoup_transport::dataset_cmd(scdc_dataset *dataset, const string &cmd, scdc_dataset_input_t *input, scdc_dataset_output_t *output, scdc_result &result)
{
  SCDC_TRACE("dataset_cmd: dataset: " << dataset << ", cmd: '" << cmd << "'");

  if (!transport_connection->acquire())
  {
    result = "acquiring connection failed";
    SCDC_FAIL(__func__ << ": " << result);
    return false;
  }

  bool ret = true;

  scdc_dataset_transport *dataset_transport = static_cast<scdc_dataset_transport *>(dataset);

  /* send request: DATASET_CMD <output-info> (STATE <state>|NOSTATE) <cmd> (<input-info> <input-data> )+ */

  ret = ret && scdc_dataset_transport::write_delim(transport_connection, "DATASET_CMD", -1, default_delim);
  ret = ret && scdc_dataset_transport::write_output_info(transport_connection, output);
  if (dataset_transport)
  {
    ret = ret && scdc_dataset_transport::write_delim(transport_connection, "STATE", -1, default_delim);
    ret = ret && dataset_transport->write_state();

  } else
  {
    ret = ret && scdc_dataset_transport::write_delim(transport_connection, "NOSTATE", -1, default_delim);
  }
  ret = ret && scdc_dataset_transport::write_string(transport_connection, cmd);

  if (!ret)
  {
    result = "sending cmd request failed";
    SCDC_FAIL(__func__ << ": " << result);
    transport_connection->release();
    return false;
  }

  /* send input */
  ret = ret && dataset_input_outgoing_produce(transport_connection, input);

  ret = ret && transport->send_outgoing(transport_connection);

  if (!ret)
  {
    result = "sending input failed";
    SCDC_FAIL(__func__ << ": " << result);
    transport_connection->release();
    return false;
  }

  /* read answer: DATASET_CMD (<output-info> <output-data> )+(OK|FAILED) (STATE <state>|NOSTATE) RESULT <string> (<output-info> <output-data> )+ */

  string s;

  ret = ret && scdc_dataset_transport::read_delim(transport_connection, &s, default_delim);
  SCDC_ASSERT(s == "DATASET_CMD");

  if (!ret)
  {
    result = "reading cmd answer (1) failed";
    SCDC_FAIL(__func__ << ": " << result);
    transport_connection->release();
    return false;
  }

  bool output_next = false;

  /* consume immediate output with a given next function */
  ret = ret && dataset_output_incoming_consume(transport_connection, output, &output_next);
  SCDC_ASSERT(!output_next);

  if (!ret)
  {
    result = "reading immediate output failed";
    SCDC_FAIL(__func__ << ": " << result);
    transport_connection->release();
    return false;
  }

  bool cmd_ret = false;

  ret = ret && scdc_dataset_transport::read_delim(transport_connection, &s, default_delim);

  if (s == "OK")
  {
    cmd_ret = true;

  } else
  {
    SCDC_ASSERT(s == "FAILED");
  }

  ret = ret && scdc_dataset_transport::read_delim(transport_connection, &s, default_delim);
  if (s == "STATE")
  {
    ret = ret && dataset_transport->read_state();

  } else
  {
    SCDC_ASSERT(s == "NOSTATE");
    SCDC_ASSERT(!dataset_transport);
  }

  ret = ret && scdc_dataset_transport::read_delim(transport_connection, &s, default_delim);
  SCDC_ASSERT(s == "RESULT");
  ret = ret && scdc_dataset_transport::read_string(transport_connection, &result);

  if (!ret)
  {
    result = "reading cmd answer (2) failed";
    SCDC_FAIL(__func__ << ": " << result);
    delete dataset_transport;
    transport_connection->release();
    return false;
  }

  /* final output is either consumed by a given next function or has to be further consumed using the next function */
  output_next = false;
  ret = ret && dataset_output_incoming_consume(transport_connection, output, &output_next);

  if (output)
  {
    if (output_next)
    {
      output->next = read_output_next;
      output->data = transport_connection;

    } else
    {
      if (transport_connection->current_incoming_output_intern)
      {
        output->next = read_output_next;
        output->data = transport_connection;

        /* unset internal buffer usage for next 'next' */
        transport_connection->current_incoming_output_intern = false;

      } else
      {
        output->next = 0;
        output->data = 0;
      }
    }
  }

  if (!ret)
  {
    result = "reading output failed";
    SCDC_FAIL(__func__ << ": " << result);
    delete dataset_transport;
    transport_connection->release();
    return false;
  }

  ret = cmd_ret;

  if (!output || !output->next) transport_connection->release();

  SCDC_TRACE_F("return: " << ret << ", result: '" << result << "'");

  return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, %r14
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %rbp
movq %rsi, %r15
movq %rdi, %rbx
movq 0x18(%rdi), %rdi
callq 0x5f3b8
testb %al, %al
je 0x639ad
movq 0x18(%rbx), %rdi
leaq 0xa67f(%rip), %rsi      # 0x6dfc5
movq $-0x1, %rdx
movl $0x20, %ecx
callq 0x6638a
testb %al, %al
je 0x63e3d
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0x6745a
testq %r15, %r15
je 0x63a8a
testb %al, %al
je 0x63e3d
movq 0x18(%rbx), %rdi
leaq 0xa576(%rip), %rsi      # 0x6defd
movq $-0x1, %rdx
movl $0x20, %ecx
callq 0x6638a
testb %al, %al
je 0x63e3d
movq %r15, %rdi
callq 0x66b3c
jmp 0x63aae
movq 0x8(%r14), %rdx
leaq 0xa49b(%rip), %rcx      # 0x6de53
xorl %r13d, %r13d
movl $0x1b, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0xb870
leaq 0x28b9e(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x63f21
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x8(%rax), %rbx
leaq 0x67b1(%rip), %rsi      # 0x6a1a8
movl $0xb, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0xa464(%rip), %rsi      # 0x6de6f
movl $0x14, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x5a44(%rip), %rsi      # 0x69463
movl $0xb, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0xa0e0(%rip), %rsi      # 0x6db13
movl $0x2, %edx
movq %rbx, %rdi
callq 0xb5f0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0xb5f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0xb4d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0xb050
movq %rax, %rdi
callq 0xb340
movq (%r15), %rdi
addq $0x20, %rdi
callq 0xb3b0
jmp 0x63f1e
testb %al, %al
je 0x63e3d
movq 0x18(%rbx), %rdi
leaq 0xa45e(%rip), %rsi      # 0x6defb
movq $-0x1, %rdx
movl $0x20, %ecx
callq 0x6638a
testb %al, %al
je 0x63e3d
movq 0x18(%rbx), %rdi
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
callq 0x66d5a
testb %al, %al
je 0x63e3d
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0x645bc
testb %al, %al
je 0x63f33
movq 0x10(%rbx), %rdi
movq 0x18(%rbx), %rsi
movq (%rdi), %rax
callq *0xd0(%rax)
testb %al, %al
je 0x63f33
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq 0x18(%rbx), %rdi
leaq 0x8(%rsp), %rsi
movl $0x20, %edx
xorl %ecx, %ecx
callq 0x66504
movl %eax, %ebp
leaq 0xa497(%rip), %rsi      # 0x6dfc5
leaq 0x8(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x63bf6
leaq 0x28a29(%rip), %r13     # 0x8c570
movq (%r13), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x63bf6
addq $0x20, %rdi
callq 0xb7d0
movq (%r13), %rax
movq 0x18(%rax), %r13
leaq 0x69fb(%rip), %rsi      # 0x6a569
movl $0xd, %edx
movq %r13, %rdi
callq 0xb5f0
leaq 0xa32b(%rip), %rsi      # 0x6dead
movl $0x1e, %edx
movq %r13, %rdi
callq 0xb5f0
leaq 0x67ce(%rip), %rsi      # 0x6a364
movl $0x1, %edx
movq %r13, %rdi
callq 0xb5f0
movq %r13, %rdi
movl $0x2d7, %esi            # imm = 0x2D7
callq 0xb9a0
movq %rax, %r13
leaq 0xa447(%rip), %rsi      # 0x6e001
movl $0x15, %edx
movq %rax, %rdi
callq 0xb5f0
leaq 0x8332(%rip), %rsi      # 0x6bf00
movl $0x8, %edx
movq %r13, %rdi
callq 0xb5f0
movq %r13, %rdi
callq 0xb250
leaq 0x28986(%rip), %rax     # 0x8c570
movq (%rax), %rdi
addq $0x20, %rdi
callq 0xb3b0
testb %bpl, %bpl
je 0x63f49
leaq 0x3(%rsp), %rdx
movb $0x0, (%rdx)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0x646cc
movl %eax, %ebp
cmpb $0x1, 0x3(%rsp)
jne 0x63cd6
leaq 0x28949(%rip), %r13     # 0x8c570
movq (%r13), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x63cd6
addq $0x20, %rdi
callq 0xb7d0
movq (%r13), %rax
movq 0x18(%rax), %r13
leaq 0x691b(%rip), %rsi      # 0x6a569
movl $0xd, %edx
movq %r13, %rdi
callq 0xb5f0
leaq 0xa24b(%rip), %rsi      # 0x6dead
movl $0x1e, %edx
movq %r13, %rdi
callq 0xb5f0
leaq 0x66ee(%rip), %rsi      # 0x6a364
movl $0x1, %edx
movq %r13, %rdi
callq 0xb5f0
movq %r13, %rdi
movl $0x2e5, %esi            # imm = 0x2E5
callq 0xb9a0
movq %rax, %r13
leaq 0xa39b(%rip), %rsi      # 0x6e035
movl $0xf, %edx
movq %rax, %rdi
callq 0xb5f0
leaq 0x8252(%rip), %rsi      # 0x6bf00
movl $0x8, %edx
movq %r13, %rdi
callq 0xb5f0
movq %r13, %rdi
callq 0xb250
leaq 0x288a6(%rip), %rax     # 0x8c570
movq (%rax), %rdi
addq $0x20, %rdi
callq 0xb3b0
testb %bpl, %bpl
je 0x64001
movq 0x18(%rbx), %rdi
leaq 0x8(%rsp), %rsi
movl $0x20, %edx
xorl %ecx, %ecx
callq 0x66504
movb %al, 0x4(%rsp)
leaq 0x5855(%rip), %rsi      # 0x69554
leaq 0x8(%rsp), %rdi
callq 0xb110
testl %eax, %eax
sete %r13b
je 0x63de4
leaq 0xa1c7(%rip), %rsi      # 0x6dee3
leaq 0x8(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x63de4
leaq 0x2883b(%rip), %rbp     # 0x8c570
movq (%rbp), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x63de4
addq $0x20, %rdi
callq 0xb7d0
movq (%rbp), %rax
movq 0x18(%rax), %rbp
leaq 0x680d(%rip), %rsi      # 0x6a569
movl $0xd, %edx
movq %rbp, %rdi
callq 0xb5f0
leaq 0xa13d(%rip), %rsi      # 0x6dead
movl $0x1e, %edx
movq %rbp, %rdi
callq 0xb5f0
leaq 0x65e0(%rip), %rsi      # 0x6a364
movl $0x1, %edx
movq %rbp, %rdi
callq 0xb5f0
movq %rbp, %rdi
movl $0x2f9, %esi            # imm = 0x2F9
callq 0xb9a0
movq %rax, %rbp
leaq 0xa142(%rip), %rsi      # 0x6deea
movl $0x10, %edx
movq %rax, %rdi
callq 0xb5f0
leaq 0x8144(%rip), %rsi      # 0x6bf00
movl $0x8, %edx
movq %rbp, %rdi
callq 0xb5f0
movq %rbp, %rdi
callq 0xb250
leaq 0x28798(%rip), %rax     # 0x8c570
movq (%rax), %rdi
addq $0x20, %rdi
callq 0xb3b0
cmpb $0x0, 0x4(%rsp)
je 0x640b9
movq 0x18(%rbx), %rdi
leaq 0x8(%rsp), %rsi
movl $0x20, %edx
xorl %ecx, %ecx
callq 0x66504
movl %eax, 0x4(%rsp)
leaq 0xa0ee(%rip), %rsi      # 0x6defd
leaq 0x8(%rsp), %rdi
callq 0xb110
testl %eax, %eax
jne 0x640da
cmpb $0x0, 0x4(%rsp)
je 0x6428a
movq %r15, %rdi
callq 0x66638
movl %eax, 0x4(%rsp)
jmp 0x64268
movq 0x8(%r14), %rdx
leaq 0xa189(%rip), %rcx      # 0x6dfd1
movl $0x1a, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0xb870
leaq 0x28711(%rip), %r12     # 0x8c570
movq (%r12), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x63f15
addq $0x20, %rdi
callq 0xb7d0
movq (%r12), %rax
movq 0x8(%rax), %r15
leaq 0x6322(%rip), %rsi      # 0x6a1a8
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x9fd5(%rip), %rsi      # 0x6de6f
movl $0x14, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x55b5(%rip), %rsi      # 0x69463
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x9c51(%rip), %rsi      # 0x6db13
movl $0x2, %edx
movq %r15, %rdi
callq 0xb5f0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r15, %rdi
callq 0xb5f0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0xb4d0
movsbl %al, %esi
movq %r14, %rdi
callq 0xb050
movq %rax, %rdi
callq 0xb340
movq (%r12), %rdi
addq $0x20, %rdi
callq 0xb3b0
movq 0x18(%rbx), %rdi
callq 0x5f3c4
xorl %r13d, %r13d
movl %r13d, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%r14), %rdx
leaq 0xa0ae(%rip), %rcx      # 0x6dfec
movl $0x14, %r8d
jmp 0x63e4e
leaq 0xa0c7(%rip), %rsi      # 0x6e017
movq %r14, %rdi
callq 0xb720
leaq 0x28611(%rip), %r12     # 0x8c570
movq (%r12), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x63ff3
addq $0x20, %rdi
callq 0xb7d0
movq (%r12), %rax
movq 0x8(%rax), %r15
leaq 0x6222(%rip), %rsi      # 0x6a1a8
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x9ed5(%rip), %rsi      # 0x6de6f
movl $0x14, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x54b5(%rip), %rsi      # 0x69463
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x9b51(%rip), %rsi      # 0x6db13
movl $0x2, %edx
movq %r15, %rdi
callq 0xb5f0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r15, %rdi
callq 0xb5f0
movq %rax, %rdi
callq 0xb250
movq (%r12), %rdi
addq $0x20, %rdi
callq 0xb3b0
movq 0x18(%rbx), %rdi
callq 0x5f3c4
jmp 0x6447b
leaq 0xa03d(%rip), %rsi      # 0x6e045
movq %r14, %rdi
callq 0xb720
leaq 0x28559(%rip), %r12     # 0x8c570
movq (%r12), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x640ab
addq $0x20, %rdi
callq 0xb7d0
movq (%r12), %rax
movq 0x8(%rax), %r15
leaq 0x616a(%rip), %rsi      # 0x6a1a8
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x9e1d(%rip), %rsi      # 0x6de6f
movl $0x14, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x53fd(%rip), %rsi      # 0x69463
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x9a99(%rip), %rsi      # 0x6db13
movl $0x2, %edx
movq %r15, %rdi
callq 0xb5f0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r15, %rdi
callq 0xb5f0
movq %rax, %rdi
callq 0xb250
movq (%r12), %rdi
addq $0x20, %rdi
callq 0xb3b0
movq 0x18(%rbx), %rdi
callq 0x5f3c4
jmp 0x6447b
leaq 0x9e3d(%rip), %rsi      # 0x6defd
leaq 0x8(%rsp), %rdi
callq 0xb110
movl $0x0, 0x4(%rsp)
testl %eax, %eax
je 0x64292
leaq 0x9e1a(%rip), %rsi      # 0x6defb
leaq 0x8(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x641a9
leaq 0x28476(%rip), %rbp     # 0x8c570
movq (%rbp), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x641a9
addq $0x20, %rdi
callq 0xb7d0
movq (%rbp), %rax
movq 0x18(%rax), %rbp
leaq 0x6448(%rip), %rsi      # 0x6a569
movl $0xd, %edx
movq %rbp, %rdi
callq 0xb5f0
leaq 0x9d78(%rip), %rsi      # 0x6dead
movl $0x1e, %edx
movq %rbp, %rdi
callq 0xb5f0
leaq 0x621b(%rip), %rsi      # 0x6a364
movl $0x1, %edx
movq %rbp, %rdi
callq 0xb5f0
movq %rbp, %rdi
movl $0x303, %esi            # imm = 0x303
callq 0xb9a0
movq %rax, %rbp
leaq 0x9d96(%rip), %rsi      # 0x6df03
movl $0x11, %edx
movq %rax, %rdi
callq 0xb5f0
leaq 0x7d7f(%rip), %rsi      # 0x6bf00
movl $0x8, %edx
movq %rbp, %rdi
callq 0xb5f0
movq %rbp, %rdi
callq 0xb250
leaq 0x283d3(%rip), %rax     # 0x8c570
movq (%rax), %rdi
addq $0x20, %rdi
callq 0xb3b0
testq %r15, %r15
je 0x64268
leaq 0x283b7(%rip), %rbp     # 0x8c570
movq (%rbp), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x64268
addq $0x20, %rdi
callq 0xb7d0
movq (%rbp), %rax
movq 0x18(%rax), %rbp
leaq 0x6389(%rip), %rsi      # 0x6a569
movl $0xd, %edx
movq %rbp, %rdi
callq 0xb5f0
leaq 0x9cb9(%rip), %rsi      # 0x6dead
movl $0x1e, %edx
movq %rbp, %rdi
callq 0xb5f0
leaq 0x615c(%rip), %rsi      # 0x6a364
movl $0x1, %edx
movq %rbp, %rdi
callq 0xb5f0
movq %rbp, %rdi
movl $0x304, %esi            # imm = 0x304
callq 0xb9a0
movq %rax, %rbp
leaq 0x9e39(%rip), %rsi      # 0x6e065
movl $0x15, %edx
movq %rax, %rdi
callq 0xb5f0
leaq 0x7cc0(%rip), %rsi      # 0x6bf00
movl $0x8, %edx
movq %rbp, %rdi
callq 0xb5f0
movq %rbp, %rdi
callq 0xb250
leaq 0x28314(%rip), %rax     # 0x8c570
movq (%rax), %rdi
addq $0x20, %rdi
callq 0xb3b0
cmpb $0x0, 0x4(%rsp)
je 0x6428a
movq 0x18(%rbx), %rdi
leaq 0x8(%rsp), %rsi
movl $0x20, %edx
xorl %ecx, %ecx
callq 0x66504
movl %eax, 0x4(%rsp)
jmp 0x64292
movl $0x0, 0x4(%rsp)
leaq 0x9c7c(%rip), %rsi      # 0x6df15
leaq 0x8(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x64361
leaq 0x282be(%rip), %rbp     # 0x8c570
movq (%rbp), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x64361
addq $0x20, %rdi
callq 0xb7d0
movq (%rbp), %rax
movq 0x18(%rax), %rbp
leaq 0x6290(%rip), %rsi      # 0x6a569
movl $0xd, %edx
movq %rbp, %rdi
callq 0xb5f0
leaq 0x9bc0(%rip), %rsi      # 0x6dead
movl $0x1e, %edx
movq %rbp, %rdi
callq 0xb5f0
leaq 0x6063(%rip), %rsi      # 0x6a364
movl $0x1, %edx
movq %rbp, %rdi
callq 0xb5f0
movq %rbp, %rdi
movl $0x308, %esi            # imm = 0x308
callq 0xb9a0
movq %rax, %rbp
leaq 0x9bf7(%rip), %rsi      # 0x6df1c
movl $0x10, %edx
movq %rax, %rdi
callq 0xb5f0
leaq 0x7bc7(%rip), %rsi      # 0x6bf00
movl $0x8, %edx
movq %rbp, %rdi
callq 0xb5f0
movq %rbp, %rdi
callq 0xb250
leaq 0x2821b(%rip), %rax     # 0x8c570
movq (%rax), %rdi
addq $0x20, %rdi
callq 0xb3b0
cmpb $0x0, 0x4(%rsp)
je 0x643ba
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0x667ca
testb %al, %al
je 0x643ba
leaq 0x3(%rsp), %rdx
movb $0x0, (%rdx)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0x646cc
testq %r12, %r12
je 0x644a3
cmpb $0x1, 0x3(%rsp)
jne 0x644ad
leaq 0x48c(%rip), %rcx       # 0x64833
movq %rcx, 0x38(%r12)
movq 0x18(%rbx), %rcx
movq %rcx, 0x40(%r12)
jmp 0x644d2
leaq 0x9cba(%rip), %rsi      # 0x6e07b
movq %r14, %rdi
callq 0xb720
leaq 0x281a0(%rip), %r13     # 0x8c570
movq (%r13), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x64464
addq $0x20, %rdi
callq 0xb7d0
movq (%r13), %rax
movq 0x8(%rax), %r12
leaq 0x5db1(%rip), %rsi      # 0x6a1a8
movl $0xb, %edx
movq %r12, %rdi
callq 0xb5f0
leaq 0x9a64(%rip), %rsi      # 0x6de6f
movl $0x14, %edx
movq %r12, %rdi
callq 0xb5f0
leaq 0x5044(%rip), %rsi      # 0x69463
movl $0xb, %edx
movq %r12, %rdi
callq 0xb5f0
leaq 0x96e0(%rip), %rsi      # 0x6db13
movl $0x2, %edx
movq %r12, %rdi
callq 0xb5f0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r12, %rdi
callq 0xb5f0
movq %rax, %rdi
callq 0xb250
movq (%r13), %rdi
addq $0x20, %rdi
callq 0xb3b0
testq %r15, %r15
je 0x64472
movq (%r15), %rax
movq %r15, %rdi
callq *0x8(%rax)
movq 0x18(%rbx), %rdi
callq 0x5f3c4
xorl %r13d, %r13d
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x63f21
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x63f21
testb %al, %al
je 0x644ef
movq 0x18(%rbx), %rdi
jmp 0x644e8
movq 0x18(%rbx), %rdi
cmpb $0x1, 0x2d3(%rdi)
jne 0x644d8
leaq 0x372(%rip), %rcx       # 0x64833
movq %rcx, 0x38(%r12)
movq %rdi, 0x40(%r12)
movb $0x0, 0x2d3(%rdi)
testb %al, %al
jne 0x6447e
jmp 0x644ef
addq $0x38, %r12
xorps %xmm0, %xmm0
movups %xmm0, (%r12)
testb %al, %al
je 0x644ef
callq 0x5f3c4
jmp 0x6447e
leaq 0x9ba3(%rip), %rsi      # 0x6e099
movq %r14, %rdi
callq 0xb720
leaq 0x2806b(%rip), %r13     # 0x8c570
movq (%r13), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x64464
addq $0x20, %rdi
callq 0xb7d0
movq (%r13), %rax
movq 0x8(%rax), %r12
leaq 0x5c7c(%rip), %rsi      # 0x6a1a8
movl $0xb, %edx
movq %r12, %rdi
callq 0xb5f0
leaq 0x992f(%rip), %rsi      # 0x6de6f
movl $0x14, %edx
movq %r12, %rdi
callq 0xb5f0
leaq 0x4f0f(%rip), %rsi      # 0x69463
movl $0xb, %edx
movq %r12, %rdi
callq 0xb5f0
leaq 0x95ab(%rip), %rsi      # 0x6db13
movl $0x2, %edx
movq %r12, %rdi
callq 0xb5f0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r12, %rdi
callq 0xb5f0
movq %rax, %rdi
callq 0xb250
jmp 0x64457
jmp 0x64595
jmp 0x64595
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x645b4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0