// File: /workspace/github_cpp_makefile_star2_O1/mh0fm4[P]SCDC/src/components/compcoup/compcoup_transport.cc
// Function: scdc_dataset_transport::read_inout_info(scdc_transport_connection_t*, _scdc_dataset_inout_t*, bool&)
static bool read_inout_info(scdc_transport_connection_t *transport_connection_, scdc_dataset_inout_t *inout, bool &next)
    {
      scdc_dataset_inout_t inout_null;
      if (!inout) inout = &inout_null;

      string s;
      if (!read_delim(transport_connection_, &s, default_delim))
      {
        SCDC_FAIL("read_inout_info: read failed");
        return false;
      }

      /* parse format separately to allow empty format strings */
      size_t end = s.find('|');
      strncpy(inout->format, s.c_str(), end);
      inout->format[end] = '\0';

      int inext;
      int r = sscanf(s.c_str() + end, "|%" scdcint_fmt "|%c|%" scdcint_fmt "|%d", &inout->total_size, &inout->total_size_given, &SCDC_DATASET_INOUT_BUF_CURRENT(inout), &inext);

      if (r != 4)
      {
        SCDC_FAIL("read_inout_info: read failed");
        return false;
      }

      next = (inext != 0);

      return true;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %r14
movq %rsi, %r15
testq %rsi, %rsi
leaq 0x30(%rsp), %rbx
movq %rsi, %r12
cmoveq %rbx, %r12
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
leaq 0x10(%rsp), %rsi
movl $0x20, %edx
xorl %ecx, %ecx
callq 0x669b2
testb %al, %al
je 0x677c9
leaq 0x10(%rsp), %r13
movq %r13, %rdi
movl $0x7c, %esi
xorl %edx, %edx
callq 0xb6e0
movq %rax, %rbp
movq (%r13), %r13
movq %r12, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0xb2a0
addq %rbp, %r13
testq %r15, %r15
cmovneq %r15, %rbx
movb $0x0, (%r12,%rbp)
leaq 0x28(%rbx), %rdx
leaq 0x30(%rbx), %rcx
addq $0x20, %rbx
leaq 0x6cdd(%rip), %rsi      # 0x6e475
leaq 0xc(%rsp), %r9
movq %r13, %rdi
movq %rbx, %r8
xorl %eax, %eax
callq 0xb4e0
cmpl $0x4, %eax
sete %bl
jne 0x67860
cmpl $0x0, 0xc(%rsp)
setne (%r14)
leaq 0x20(%rsp), %r13
jmp 0x678f5
leaq 0x24da0(%rip), %r14     # 0x8c570
movq (%r14), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x67859
addq $0x20, %rdi
callq 0xb7d0
movq (%r14), %rax
movq 0x8(%rax), %rbx
leaq 0x2997(%rip), %rsi      # 0x6a188
movl $0xb, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x65fa(%rip), %rsi      # 0x6ddff
movl $0x14, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x6c8c(%rip), %rsi      # 0x6e4a5
movl $0x1c, %edx
movq %rbx, %rdi
callq 0xb5f0
movq (%rbx), %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 (%r14), %rdi
addq $0x20, %rdi
callq 0xb3b0
xorl %ebx, %ebx
jmp 0x678f5
leaq 0x24d09(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x8(%rdi)
leaq 0x20(%rsp), %r13
je 0x678f5
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x8(%rax), %r14
leaq 0x28fb(%rip), %rsi      # 0x6a188
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x655e(%rip), %rsi      # 0x6ddff
movl $0x14, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x6bf0(%rip), %rsi      # 0x6e4a5
movl $0x1c, %edx
movq %r14, %rdi
callq 0xb5f0
movq (%r14), %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 (%r15), %rdi
addq $0x20, %rdi
callq 0xb3b0
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6790c
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xb510
movl %ebx, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x67922
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x67941
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0
nopl (%rax)