// File: /workspace/github_cpp_makefile_star2_O3/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 0x66504
testb %al, %al
je 0x67673
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 0x6ea3(%rip), %rsi      # 0x6e4e5
leaq 0xc(%rsp), %r9
movq %r13, %rdi
movq %rbx, %r8
xorl %eax, %eax
callq 0xb4e0
cmpl $0x4, %eax
sete %bl
jne 0x6770a
cmpl $0x0, 0xc(%rsp)
setne (%r14)
leaq 0x20(%rsp), %r13
jmp 0x6779f
leaq 0x24ef6(%rip), %r14     # 0x8c570
movq (%r14), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x67703
addq $0x20, %rdi
callq 0xb7d0
movq (%r14), %rax
movq 0x8(%rax), %rbx
leaq 0x2b0d(%rip), %rsi      # 0x6a1a8
movl $0xb, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x67c0(%rip), %rsi      # 0x6de6f
movl $0x14, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x6e52(%rip), %rsi      # 0x6e515
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 0x6779f
leaq 0x24e5f(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x8(%rdi)
leaq 0x20(%rsp), %r13
je 0x6779f
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x8(%rax), %r14
leaq 0x2a71(%rip), %rsi      # 0x6a1a8
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x6724(%rip), %rsi      # 0x6de6f
movl $0x14, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x6db6(%rip), %rsi      # 0x6e515
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 0x677b6
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 0x677cc
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x677eb
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0
nop