// File: /workspace/github_cpp_makefile_star2_O1/mh0fm4[P]SCDC/src/components/compcoup/compcoup_transport.cc
// Function: scdc_dataset_transport::read_string(scdc_transport_connection_t*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*)
static bool read_string(scdc_transport_connection_t *transport_connection_, std::string *s)
    {
      bool ret = true;

      string t;
      ret = ret && read_delim(transport_connection_, &t, string_begin);

      scdcint_t n;
      sscanf(t.c_str(), "%" scdcint_fmt, &n);

      ret = ret && read_bytes(transport_connection_, s, n);

      char c;
      ret = ret && read_bytes(transport_connection_, &c, 1);
      SCDC_ASSERT(c == string_end);

      ret = ret && read_bytes(transport_connection_, &c, 1);
      SCDC_ASSERT(c == default_delim);

      return ret;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x20(%rsp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq 0x10(%rsp), %rsi
movl $0x27, %edx
xorl %ecx, %ecx
callq 0x669b2
movl %eax, %ebp
movq 0x10(%rsp), %rdi
leaq 0x6046(%rip), %rsi      # 0x6ccc0
leaq 0x8(%rsp), %rdx
xorl %eax, %eax
callq 0xb4e0
testb %bpl, %bpl
je 0x66cb5
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x674c0
testb %al, %al
je 0x66cb5
leaq 0x7(%rsp), %rsi
movl $0x1, %edx
movq %rbx, %rdi
callq 0x67440
movl %eax, %ebp
jmp 0x66cb7
xorl %ebp, %ebp
cmpb $0x27, 0x7(%rsp)
je 0x66d91
leaq 0x258a7(%rip), %r12     # 0x8c570
movq (%r12), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x66d91
addq $0x20, %rdi
callq 0xb7d0
movq (%r12), %rax
movq 0x18(%rax), %r14
leaq 0x3859(%rip), %rsi      # 0x6a549
movl $0xd, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x7139(%rip), %rsi      # 0x6de3d
movl $0x1e, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x362c(%rip), %rsi      # 0x6a344
movl $0x1, %edx
movq %r14, %rdi
callq 0xb5f0
movq %r14, %rdi
movl $0xa8, %esi
callq 0xb9a0
movq %rax, %r14
leaq 0x7724(%rip), %rsi      # 0x6e460
movl $0x12, %edx
movq %rax, %rdi
callq 0xb5f0
leaq 0x5138(%rip), %rsi      # 0x6be88
movl $0x8, %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 (%r12), %rdi
addq $0x20, %rdi
callq 0xb3b0
testb %bpl, %bpl
je 0x66dac
leaq 0x7(%rsp), %rsi
movl $0x1, %edx
movq %rbx, %rdi
callq 0x67440
movl %eax, %ebx
jmp 0x66dae
xorl %ebx, %ebx
cmpb $0x20, 0x7(%rsp)
je 0x66e88
leaq 0x257b0(%rip), %r12     # 0x8c570
movq (%r12), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x66e88
addq $0x20, %rdi
callq 0xb7d0
movq (%r12), %rax
movq 0x18(%rax), %r14
leaq 0x3762(%rip), %rsi      # 0x6a549
movl $0xd, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x7042(%rip), %rsi      # 0x6de3d
movl $0x1e, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x3535(%rip), %rsi      # 0x6a344
movl $0x1, %edx
movq %r14, %rdi
callq 0xb5f0
movq %r14, %rdi
movl $0xab, %esi
callq 0xb9a0
movq %rax, %r14
leaq 0x7617(%rip), %rsi      # 0x6e44a
movl $0x15, %edx
movq %rax, %rdi
callq 0xb5f0
leaq 0x5041(%rip), %rsi      # 0x6be88
movl $0x8, %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 (%r12), %rdi
addq $0x20, %rdi
callq 0xb3b0
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x66e9f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xb510
movl %ebx, %eax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x66eb2
jmp 0x66eb2
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x66ecc
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0