// File: /workspace/github_cpp_makefile_star2_O1/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 0x5f888
testb %al, %al
je 0x63e1a
movq 0x18(%rbx), %rdi
leaq 0xa165(%rip), %rsi      # 0x6df55
movq $-0x1, %rdx
movl $0x20, %ecx
callq 0x668c4
testb %al, %al
je 0x63ef7
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0x675a6
jmp 0x63ef9
movq 0x8(%r14), %rdx
leaq 0x9fbe(%rip), %rcx      # 0x6dde3
xorl %r13d, %r13d
movl $0x1b, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0xb870
leaq 0x28731(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x6439b
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x8(%rax), %rbx
leaq 0x6324(%rip), %rsi      # 0x6a188
movl $0xb, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x9f87(%rip), %rsi      # 0x6ddff
movl $0x14, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x55b7(%rip), %rsi      # 0x69443
movl $0xb, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x9c03(%rip), %rsi      # 0x6daa3
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 0x64398
xorl %eax, %eax
testq %r15, %r15
je 0x63f34
testb %al, %al
je 0x642b7
movq 0x18(%rbx), %rdi
leaq 0x9f7c(%rip), %rsi      # 0x6de8d
movq $-0x1, %rdx
movl $0x20, %ecx
callq 0x668c4
testb %al, %al
je 0x642b7
movq %r15, %rdi
callq 0x66ed4
jmp 0x63f58
testb %al, %al
je 0x642b7
movq 0x18(%rbx), %rdi
leaq 0x9f44(%rip), %rsi      # 0x6de8b
movq $-0x1, %rdx
movl $0x20, %ecx
callq 0x668c4
testb %al, %al
je 0x642b7
movq 0x18(%rbx), %rdi
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
callq 0x66f58
testb %al, %al
je 0x642b7
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0x64a4e
testb %al, %al
je 0x643ad
movq 0x10(%rbx), %rdi
movq 0x18(%rbx), %rsi
movq (%rdi), %rax
callq *0xd0(%rax)
testb %al, %al
je 0x643ad
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 0x669b2
movl %eax, %ebp
leaq 0x9f7d(%rip), %rsi      # 0x6df55
leaq 0x8(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x640a0
leaq 0x2857f(%rip), %r13     # 0x8c570
movq (%r13), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x640a0
addq $0x20, %rdi
callq 0xb7d0
movq (%r13), %rax
movq 0x18(%rax), %r13
leaq 0x6531(%rip), %rsi      # 0x6a549
movl $0xd, %edx
movq %r13, %rdi
callq 0xb5f0
leaq 0x9e11(%rip), %rsi      # 0x6de3d
movl $0x1e, %edx
movq %r13, %rdi
callq 0xb5f0
leaq 0x6304(%rip), %rsi      # 0x6a344
movl $0x1, %edx
movq %r13, %rdi
callq 0xb5f0
movq %r13, %rdi
movl $0x2d7, %esi            # imm = 0x2D7
callq 0xb9a0
movq %rax, %r13
leaq 0x9f2d(%rip), %rsi      # 0x6df91
movl $0x15, %edx
movq %rax, %rdi
callq 0xb5f0
leaq 0x7e10(%rip), %rsi      # 0x6be88
movl $0x8, %edx
movq %r13, %rdi
callq 0xb5f0
movq %r13, %rdi
callq 0xb250
leaq 0x284dc(%rip), %rax     # 0x8c570
movq (%rax), %rdi
addq $0x20, %rdi
callq 0xb3b0
testb %bpl, %bpl
je 0x643c3
leaq 0x3(%rsp), %rdx
movb $0x0, (%rdx)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0x64b50
movl %eax, %ebp
cmpb $0x1, 0x3(%rsp)
jne 0x64180
leaq 0x2849f(%rip), %r13     # 0x8c570
movq (%r13), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x64180
addq $0x20, %rdi
callq 0xb7d0
movq (%r13), %rax
movq 0x18(%rax), %r13
leaq 0x6451(%rip), %rsi      # 0x6a549
movl $0xd, %edx
movq %r13, %rdi
callq 0xb5f0
leaq 0x9d31(%rip), %rsi      # 0x6de3d
movl $0x1e, %edx
movq %r13, %rdi
callq 0xb5f0
leaq 0x6224(%rip), %rsi      # 0x6a344
movl $0x1, %edx
movq %r13, %rdi
callq 0xb5f0
movq %r13, %rdi
movl $0x2e5, %esi            # imm = 0x2E5
callq 0xb9a0
movq %rax, %r13
leaq 0x9e81(%rip), %rsi      # 0x6dfc5
movl $0xf, %edx
movq %rax, %rdi
callq 0xb5f0
leaq 0x7d30(%rip), %rsi      # 0x6be88
movl $0x8, %edx
movq %r13, %rdi
callq 0xb5f0
movq %r13, %rdi
callq 0xb250
leaq 0x283fc(%rip), %rax     # 0x8c570
movq (%rax), %rdi
addq $0x20, %rdi
callq 0xb3b0
testb %bpl, %bpl
je 0x6447b
movq 0x18(%rbx), %rdi
leaq 0x8(%rsp), %rsi
movl $0x20, %edx
xorl %ecx, %ecx
callq 0x669b2
movb %al, 0x4(%rsp)
leaq 0x538b(%rip), %rsi      # 0x69534
leaq 0x8(%rsp), %rdi
callq 0xb110
testl %eax, %eax
sete %r13b
je 0x6428e
leaq 0x9cad(%rip), %rsi      # 0x6de73
leaq 0x8(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x6428e
leaq 0x28391(%rip), %rbp     # 0x8c570
movq (%rbp), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x6428e
addq $0x20, %rdi
callq 0xb7d0
movq (%rbp), %rax
movq 0x18(%rax), %rbp
leaq 0x6343(%rip), %rsi      # 0x6a549
movl $0xd, %edx
movq %rbp, %rdi
callq 0xb5f0
leaq 0x9c23(%rip), %rsi      # 0x6de3d
movl $0x1e, %edx
movq %rbp, %rdi
callq 0xb5f0
leaq 0x6116(%rip), %rsi      # 0x6a344
movl $0x1, %edx
movq %rbp, %rdi
callq 0xb5f0
movq %rbp, %rdi
movl $0x2f9, %esi            # imm = 0x2F9
callq 0xb9a0
movq %rax, %rbp
leaq 0x9c28(%rip), %rsi      # 0x6de7a
movl $0x10, %edx
movq %rax, %rdi
callq 0xb5f0
leaq 0x7c22(%rip), %rsi      # 0x6be88
movl $0x8, %edx
movq %rbp, %rdi
callq 0xb5f0
movq %rbp, %rdi
callq 0xb250
leaq 0x282ee(%rip), %rax     # 0x8c570
movq (%rax), %rdi
addq $0x20, %rdi
callq 0xb3b0
cmpb $0x0, 0x4(%rsp)
je 0x64533
movq 0x18(%rbx), %rdi
leaq 0x8(%rsp), %rsi
movl $0x20, %edx
xorl %ecx, %ecx
callq 0x669b2
movl %eax, 0x4(%rsp)
jmp 0x6453b
movq 0x8(%r14), %rdx
leaq 0x9c9f(%rip), %rcx      # 0x6df61
movl $0x1a, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0xb870
leaq 0x28297(%rip), %r12     # 0x8c570
movq (%r12), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x6438f
addq $0x20, %rdi
callq 0xb7d0
movq (%r12), %rax
movq 0x8(%rax), %r15
leaq 0x5e88(%rip), %rsi      # 0x6a188
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x9aeb(%rip), %rsi      # 0x6ddff
movl $0x14, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x511b(%rip), %rsi      # 0x69443
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x9767(%rip), %rsi      # 0x6daa3
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 0x5f894
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 0x9bc4(%rip), %rcx      # 0x6df7c
movl $0x14, %r8d
jmp 0x642c8
leaq 0x9bdd(%rip), %rsi      # 0x6dfa7
movq %r14, %rdi
callq 0xb720
leaq 0x28197(%rip), %r12     # 0x8c570
movq (%r12), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x6446d
addq $0x20, %rdi
callq 0xb7d0
movq (%r12), %rax
movq 0x8(%rax), %r15
leaq 0x5d88(%rip), %rsi      # 0x6a188
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x99eb(%rip), %rsi      # 0x6ddff
movl $0x14, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x501b(%rip), %rsi      # 0x69443
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x9667(%rip), %rsi      # 0x6daa3
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 0x5f894
jmp 0x6490a
leaq 0x9b53(%rip), %rsi      # 0x6dfd5
movq %r14, %rdi
callq 0xb720
leaq 0x280df(%rip), %r12     # 0x8c570
movq (%r12), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x64525
addq $0x20, %rdi
callq 0xb7d0
movq (%r12), %rax
movq 0x8(%rax), %r15
leaq 0x5cd0(%rip), %rsi      # 0x6a188
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x9933(%rip), %rsi      # 0x6ddff
movl $0x14, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x4f63(%rip), %rsi      # 0x69443
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x95af(%rip), %rsi      # 0x6daa3
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 0x5f894
jmp 0x6490a
movl $0x0, 0x4(%rsp)
leaq 0x994b(%rip), %rsi      # 0x6de8d
leaq 0x8(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x646e4
leaq 0x9930(%rip), %rsi      # 0x6de8b
leaq 0x8(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x64623
leaq 0x27ffc(%rip), %rbp     # 0x8c570
movq (%rbp), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x64623
addq $0x20, %rdi
callq 0xb7d0
movq (%rbp), %rax
movq 0x18(%rax), %rbp
leaq 0x5fae(%rip), %rsi      # 0x6a549
movl $0xd, %edx
movq %rbp, %rdi
callq 0xb5f0
leaq 0x988e(%rip), %rsi      # 0x6de3d
movl $0x1e, %edx
movq %rbp, %rdi
callq 0xb5f0
leaq 0x5d81(%rip), %rsi      # 0x6a344
movl $0x1, %edx
movq %rbp, %rdi
callq 0xb5f0
movq %rbp, %rdi
movl $0x303, %esi            # imm = 0x303
callq 0xb9a0
movq %rax, %rbp
leaq 0x98ac(%rip), %rsi      # 0x6de93
movl $0x11, %edx
movq %rax, %rdi
callq 0xb5f0
leaq 0x788d(%rip), %rsi      # 0x6be88
movl $0x8, %edx
movq %rbp, %rdi
callq 0xb5f0
movq %rbp, %rdi
callq 0xb250
leaq 0x27f59(%rip), %rax     # 0x8c570
movq (%rax), %rdi
addq $0x20, %rdi
callq 0xb3b0
testq %r15, %r15
je 0x646f7
leaq 0x27f3d(%rip), %rbp     # 0x8c570
movq (%rbp), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x646f7
addq $0x20, %rdi
callq 0xb7d0
movq (%rbp), %rax
movq 0x18(%rax), %rbp
leaq 0x5eef(%rip), %rsi      # 0x6a549
movl $0xd, %edx
movq %rbp, %rdi
callq 0xb5f0
leaq 0x97cf(%rip), %rsi      # 0x6de3d
movl $0x1e, %edx
movq %rbp, %rdi
callq 0xb5f0
leaq 0x5cc2(%rip), %rsi      # 0x6a344
movl $0x1, %edx
movq %rbp, %rdi
callq 0xb5f0
movq %rbp, %rdi
movl $0x304, %esi            # imm = 0x304
callq 0xb9a0
movq %rax, %rbp
leaq 0x994f(%rip), %rsi      # 0x6dff5
movl $0x15, %edx
movq %rax, %rdi
callq 0xb5f0
leaq 0x77ce(%rip), %rsi      # 0x6be88
movl $0x8, %edx
movq %rbp, %rdi
callq 0xb5f0
movq %rbp, %rdi
callq 0xb250
leaq 0x27e9a(%rip), %rax     # 0x8c570
movq (%rax), %rdi
addq $0x20, %rdi
callq 0xb3b0
jmp 0x646f7
cmpb $0x0, 0x4(%rsp)
je 0x64719
movq %r15, %rdi
callq 0x66b04
movl %eax, 0x4(%rsp)
cmpb $0x0, 0x4(%rsp)
je 0x64719
movq 0x18(%rbx), %rdi
leaq 0x8(%rsp), %rsi
movl $0x20, %edx
xorl %ecx, %ecx
callq 0x669b2
movl %eax, 0x4(%rsp)
jmp 0x64721
movl $0x0, 0x4(%rsp)
leaq 0x977d(%rip), %rsi      # 0x6dea5
leaq 0x8(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x647f0
leaq 0x27e2f(%rip), %rbp     # 0x8c570
movq (%rbp), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x647f0
addq $0x20, %rdi
callq 0xb7d0
movq (%rbp), %rax
movq 0x18(%rax), %rbp
leaq 0x5de1(%rip), %rsi      # 0x6a549
movl $0xd, %edx
movq %rbp, %rdi
callq 0xb5f0
leaq 0x96c1(%rip), %rsi      # 0x6de3d
movl $0x1e, %edx
movq %rbp, %rdi
callq 0xb5f0
leaq 0x5bb4(%rip), %rsi      # 0x6a344
movl $0x1, %edx
movq %rbp, %rdi
callq 0xb5f0
movq %rbp, %rdi
movl $0x308, %esi            # imm = 0x308
callq 0xb9a0
movq %rax, %rbp
leaq 0x96f8(%rip), %rsi      # 0x6deac
movl $0x10, %edx
movq %rax, %rdi
callq 0xb5f0
leaq 0x76c0(%rip), %rsi      # 0x6be88
movl $0x8, %edx
movq %rbp, %rdi
callq 0xb5f0
movq %rbp, %rdi
callq 0xb250
leaq 0x27d8c(%rip), %rax     # 0x8c570
movq (%rax), %rdi
addq $0x20, %rdi
callq 0xb3b0
cmpb $0x0, 0x4(%rsp)
je 0x64849
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0x66c34
testb %al, %al
je 0x64849
leaq 0x3(%rsp), %rdx
movb $0x0, (%rdx)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0x64b50
testq %r12, %r12
je 0x64964
cmpb $0x1, 0x3(%rsp)
jne 0x64932
leaq 0x481(%rip), %rcx       # 0x64cb7
movq %rcx, 0x38(%r12)
movq 0x18(%rbx), %rcx
movq %rcx, 0x40(%r12)
jmp 0x64964
leaq 0x97bb(%rip), %rsi      # 0x6e00b
movq %r14, %rdi
callq 0xb720
leaq 0x27d11(%rip), %r13     # 0x8c570
movq (%r13), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x648f3
addq $0x20, %rdi
callq 0xb7d0
movq (%r13), %rax
movq 0x8(%rax), %r12
leaq 0x5902(%rip), %rsi      # 0x6a188
movl $0xb, %edx
movq %r12, %rdi
callq 0xb5f0
leaq 0x9565(%rip), %rsi      # 0x6ddff
movl $0x14, %edx
movq %r12, %rdi
callq 0xb5f0
leaq 0x4b95(%rip), %rsi      # 0x69443
movl $0xb, %edx
movq %r12, %rdi
callq 0xb5f0
leaq 0x91e1(%rip), %rsi      # 0x6daa3
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 0x64901
movq (%r15), %rax
movq %r15, %rdi
callq *0x8(%rax)
movq 0x18(%rbx), %rdi
callq 0x5f894
xorl %r13d, %r13d
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x6439b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x6439b
movq 0x18(%rbx), %rcx
cmpb $0x1, 0x2d3(%rcx)
jne 0x64959
leaq 0x371(%rip), %rdx       # 0x64cb7
movq %rdx, 0x38(%r12)
movq %rcx, 0x40(%r12)
movb $0x0, 0x2d3(%rcx)
jmp 0x64964
leaq 0x38(%r12), %rcx
xorps %xmm0, %xmm0
movups %xmm0, (%rcx)
testb %al, %al
je 0x64980
testq %r12, %r12
je 0x64975
cmpq $0x0, 0x38(%r12)
jne 0x6490d
movq 0x18(%rbx), %rdi
callq 0x5f894
jmp 0x6490d
leaq 0x96a2(%rip), %rsi      # 0x6e029
movq %r14, %rdi
callq 0xb720
leaq 0x27bda(%rip), %r13     # 0x8c570
movq (%r13), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x648f3
addq $0x20, %rdi
callq 0xb7d0
movq (%r13), %rax
movq 0x8(%rax), %r12
leaq 0x57cb(%rip), %rsi      # 0x6a188
movl $0xb, %edx
movq %r12, %rdi
callq 0xb5f0
leaq 0x942e(%rip), %rsi      # 0x6ddff
movl $0x14, %edx
movq %r12, %rdi
callq 0xb5f0
leaq 0x4a5e(%rip), %rsi      # 0x69443
movl $0xb, %edx
movq %r12, %rdi
callq 0xb5f0
leaq 0x90aa(%rip), %rsi      # 0x6daa3
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 0x648e6
jmp 0x64a26
jmp 0x64a26
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x64a45
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0
nop