// File: /workspace/github_cpp_makefile_star2_O2/mh0fm4[P]SCDC/src/components/dataset/dataset_inout.cc
// Function: scdc_dataset_output_create_intern
scdc_dataset_output_t *scdc_dataset_output_create_intern(scdc_dataset_output_t *output, const char *conf, scdc_args_t *args)
{
  SCDC_TRACE("scdc_dataset_output_create_intern: output: " << static_cast<void *>(output) << ", conf: '" << conf << "'");

  scdc_dataset_output_t output_given, *output_ret = output;

  /* backup given output struct */
  if (output) output_given = *output;

  stringlist confs(':', conf);
  string op_type = confs.front_pop();

  bool autodestroy = false;

  if (confs.front() == "autodestroy")
  {
    autodestroy = true;
    confs.front_pop();
  }

  conf += confs.offset();

  scdc_dataset_output_unset(output_ret);

  if (op_type == "null")
    output_ret = 0;
  else if (op_type == "none")
    { if (output_ret) *output_ret = *SCDC_DATASET_OUTPUT_NONE; }
  else if (op_type == "endl" || op_type == "endless")
    { if (output_ret) *output_ret = *SCDC_DATASET_OUTPUT_ENDL; }
  else if (op_type == "copy" || op_type == "output" || op_type == "outputsink")
    output_ret = scdc_dataset_output_copy_create(output_ret, conf, args);
  else if (op_type == "alloc")
    output_ret = scdc_dataset_output_alloc_create(output_ret, conf, args);
  else if (op_type == "buffer")
    output_ret = scdc_dataset_output_buffer_create(output_ret, conf, args);
  else if (op_type == "fd")
    output_ret = scdc_dataset_output_fd_create(output_ret, conf, args);
  else if (op_type == "fddup")
    output_ret = scdc_dataset_output_fddup_create(output_ret, conf, args);
  else if (op_type == "stream")
    output_ret = scdc_dataset_output_stream_create(output_ret, conf, args);
  else if (op_type == "streamdup")
    output_ret = scdc_dataset_output_streamdup_create(output_ret, conf, args);
  else if (op_type == "file")
    output_ret = scdc_dataset_output_file_create(output_ret, conf, args);
  else if (op_type == "fs")
    output_ret = scdc_dataset_output_fs_create(output_ret, conf, args);
  else if (op_type == "consume")
    output_ret = scdc_dataset_output_consume_create(output_ret, conf, args);
  else
  {
    SCDC_ERROR("unknown output type '" << op_type << "'");
    output_ret = 0;
  }

  if (!output_ret)
  {
    /* restore given output struct */
    if (output) *output = output_given;
    return 0;
  }

  INOUT_INTERN_BACKUP(output_ret);

  if (autodestroy) scdc_dataset_output_autodestroy(output_ret);

  SCDC_TRACE_DATASET_OUTPUT(output, "scdc_dataset_output_create_intern: ");

  return output_ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
testq %rdi, %rdi
je 0x26237
pushq $0xb
popq %rcx
leaq 0x1b0(%rsp), %rdi
movq %rbx, %rsi
rep  movsq (%rsi), %es:(%rdi)
leaq 0x68(%rsp), %r12
pushq $0x3a
popq %rsi
pushq $-0x1
popq %rcx
movq %r12, %rdi
movq %r15, %rdx
callq 0x19b64
movq %rsp, %rdi
movq %r12, %rsi
callq 0x19ba0
leaq 0x90(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x19f8c
leaq 0x2bda3(%rip), %rsi     # 0x52014
leaq 0x90(%rsp), %r12
movq %r12, %rdi
callq 0x19be0
movl %eax, %ebp
movq %r12, %rdi
callq 0xb230
testb %bpl, %bpl
je 0x262af
leaq 0x190(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x19ba0
leaq 0x190(%rsp), %rdi
callq 0xb230
leaq 0x88(%rsp), %rax
movq -0x20(%rax), %rcx
addq $0x30, %rcx
cmpq $0x0, -0x10(%rax)
cmoveq %rax, %rcx
addq (%rcx), %r15
testq %rbx, %rbx
je 0x262ea
movb $0x0, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x20(%rbx)
movb $0x6e, 0x30(%rbx)
movups %xmm0, 0x38(%rbx)
movups %xmm0, 0x48(%rbx)
leaq 0x2c127(%rip), %rsi     # 0x52418
movq %rsp, %rdi
callq 0x19be0
testb %al, %al
je 0x2631c
testq %rbx, %rbx
je 0x26464
pushq $0xb
popq %rcx
leaq 0x1b0(%rsp), %rsi
movq %rbx, %rdi
rep  movsq (%rsi), %es:(%rdi)
jmp 0x26464
leaq 0x2b107(%rip), %rsi     # 0x5142a
movq %rsp, %rdi
callq 0x19be0
testb %al, %al
je 0x26341
testq %rbx, %rbx
je 0x26464
leaq 0x2bc61(%rip), %rsi     # 0x51fa0
jmp 0x26377
leaq 0x2bcd8(%rip), %rsi     # 0x52020
movq %rsp, %rdi
callq 0x19be0
testb %al, %al
jne 0x26367
leaq 0x2bcca(%rip), %rsi     # 0x52025
movq %rsp, %rdi
callq 0x19be0
testb %al, %al
je 0x263bc
testq %rbx, %rbx
je 0x26464
leaq 0x4cf21(%rip), %rsi     # 0x73298
pushq $0xb
popq %rcx
movq %rbx, %rdi
rep  movsq (%rsi), %es:(%rdi)
movq %rbx, %r12
movq 0x48(%r12), %rax
testq %rax, %rax
je 0x2639f
movq 0x10(%r12), %rcx
movq %rcx, 0x10(%rax)
movq 0x40(%r12), %rcx
movq %rcx, 0x18(%rax)
testb %bpl, %bpl
je 0x26467
leaq 0x268f(%rip), %rsi      # 0x28a3e
movq %r12, %rdi
callq 0x289f6
jmp 0x26467
leaq 0x2bce2(%rip), %rsi     # 0x520a5
movq %rsp, %rdi
callq 0x19be0
testb %al, %al
jne 0x263f9
leaq 0x2da7d(%rip), %rsi     # 0x53e53
movq %rsp, %rdi
callq 0x19be0
testb %al, %al
jne 0x263f9
leaq 0x2ae40(%rip), %rsi     # 0x51229
movq %rsp, %rdi
callq 0x19be0
testb %al, %al
je 0x2648e
testq %rbx, %rbx
je 0x26464
leaq 0xb0(%rsp), %rax
movq %rax, 0x8(%rax)
movq %rax, (%rax)
andq $0x0, 0x10(%rax)
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
movaps %xmm0, -0x20(%rax)
movaps %xmm1, -0x10(%rax)
movq -0x18(%rax), %rax
testq %rax, %rax
je 0x2643c
movq 0x90(%rsp), %rdi
pushq $0xa
popq %rsi
movq %rbx, %rdx
callq *%rax
movq 0x48(%rbx), %rax
testq %rax, %rax
je 0x26452
movq $0x1, 0x8(%rax)
andq $0x0, 0x20(%rax)
leaq 0x90(%rsp), %rdi
callq 0x19a94
jmp 0x26380
xorl %r12d, %r12d
movq %rsp, %rdi
callq 0xb230
leaq 0x68(%rsp), %rdi
callq 0x19ef4
movq %r12, %rax
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2bb98(%rip), %rsi     # 0x5202d
movq %rsp, %rdi
callq 0x19be0
testb %al, %al
je 0x264d0
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x27598
movq %rax, %r12
testq %rax, %rax
je 0x262fd
movq 0x48(%r12), %rax
leaq 0x26fa(%rip), %rcx      # 0x28bc1
movq %rcx, 0x20(%rax)
jmp 0x26383
leaq 0x2e62c(%rip), %rsi     # 0x54b03
movq %rsp, %rdi
callq 0x19be0
testb %al, %al
je 0x26579
leaq 0xb0(%rsp), %rax
movq %rax, 0x8(%rax)
movq %rax, (%rax)
andq $0x0, 0x10(%rax)
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
movaps %xmm0, -0x20(%rax)
movaps %xmm1, -0x10(%rax)
movq -0x18(%rax), %rax
testq %rax, %rax
je 0x26527
movq 0x90(%rsp), %rdi
pushq $0x8
popq %rsi
leaq 0x20(%rsp), %rdx
callq *%rax
xorl %r12d, %r12d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x276d1
testb %al, %al
je 0x26b09
movq 0x48(%rbx), %rax
movq $0x3, 0x8(%rax)
leaq 0x267a(%rip), %rcx      # 0x28bcb
movq %rcx, 0x20(%rax)
movq 0x20(%rsp), %rax
movq %rax, 0x10(%rbx)
movq 0x28(%rsp), %rax
movq %rax, 0x18(%rbx)
movl $0x61746164, (%rbx)     # imm = 0x61746164
movb $0x0, 0x4(%rbx)
movq %rbx, %r12
jmp 0x26b09
leaq 0x2bab3(%rip), %rsi     # 0x52033
movq %rsp, %rdi
callq 0x19be0
testb %al, %al
je 0x26610
leaq 0xb0(%rsp), %rax
movq %rax, 0x8(%rax)
movq %rax, (%rax)
andq $0x0, 0x10(%rax)
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
movaps %xmm0, -0x20(%rax)
movaps %xmm1, -0x10(%rax)
movq -0x18(%rax), %rax
testq %rax, %rax
je 0x265d0
movq 0x90(%rsp), %rdi
pushq $0x1
popq %rsi
leaq 0x20(%rsp), %rdx
callq *%rax
testq %rbx, %rbx
je 0x26b06
movl 0x20(%rsp), %ecx
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x28bd5
movq %rax, %r12
testq %rax, %rax
je 0x26b06
movq 0x48(%r12), %rax
movq $0x6, 0x8(%rax)
leaq 0x2d04(%rip), %rcx      # 0x2930f
jmp 0x26944
leaq 0x2ba1f(%rip), %rsi     # 0x52036
movq %rsp, %rdi
callq 0x19be0
testb %al, %al
je 0x266ae
leaq 0xb0(%rsp), %rax
movq %rax, 0x8(%rax)
movq %rax, (%rax)
andq $0x0, 0x10(%rax)
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
movaps %xmm0, -0x20(%rax)
movaps %xmm1, -0x10(%rax)
movq -0x18(%rax), %rax
testq %rax, %rax
je 0x26667
movq 0x90(%rsp), %rdi
pushq $0x1
popq %rsi
leaq 0x20(%rsp), %rdx
callq *%rax
testq %rbx, %rbx
je 0x26b06
movl 0x20(%rsp), %edi
callq 0xb850
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
movl %eax, %ecx
callq 0x28bd5
movq %rax, %r12
testq %rax, %rax
je 0x26b06
movq 0x48(%r12), %rax
movq $0x6, 0x8(%rax)
leaq 0x2ccf(%rip), %rcx      # 0x29378
jmp 0x26944
leaq 0x2b987(%rip), %rsi     # 0x5203c
movq %rsp, %rdi
callq 0x19be0
testb %al, %al
je 0x26760
leaq 0xb0(%rsp), %rax
movq %rax, 0x8(%rax)
movq %rax, (%rax)
andq $0x0, 0x10(%rax)
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
andq $0x0, 0x20(%rsp)
movaps %xmm0, -0x20(%rax)
movaps %xmm1, -0x10(%rax)
movq -0x18(%rax), %rax
testq %rax, %rax
je 0x26715
movq 0x90(%rsp), %rdi
pushq $0x7
popq %rsi
leaq 0x20(%rsp), %rdx
callq *%rax
movq 0x20(%rsp), %rcx
testq %rcx, %rcx
jne 0x26724
movq 0x4e89c(%rip), %rax     # 0x74fb8
movq (%rax), %rcx
movq %rcx, 0x20(%rsp)
testq %rbx, %rbx
je 0x26b06
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x29392
movq %rax, %r12
testq %rax, %rax
je 0x26b06
movq 0x48(%r12), %rax
movq $0x6, 0x8(%rax)
leaq 0x3373(%rip), %rcx      # 0x29ace
jmp 0x26944
leaq 0x2b8dc(%rip), %rsi     # 0x52043
movq %rsp, %rdi
callq 0x19be0
testb %al, %al
je 0x2687d
leaq 0xb0(%rsp), %rax
movq %rax, 0x8(%rax)
movq %rax, (%rax)
andq $0x0, 0x10(%rax)
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
andq $0x0, 0x20(%rsp)
movaps %xmm0, -0x20(%rax)
movaps %xmm1, -0x10(%rax)
movq -0x18(%rax), %rax
testq %rax, %rax
je 0x267c7
movq 0x90(%rsp), %rdi
pushq $0x7
popq %rsi
leaq 0x20(%rsp), %rdx
callq *%rax
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
jne 0x267d6
movq 0x4e7ea(%rip), %rax     # 0x74fb8
movq (%rax), %rdi
movq %rdi, 0x20(%rsp)
testq %rbx, %rbx
je 0x26b06
callq 0xb6a0
movq %rax, %r12
movq 0x20(%rsp), %rdi
callq 0xb590
movl %eax, %edi
callq 0xb850
movl %eax, %r13d
leaq 0x2be40(%rip), %rsi     # 0x52642
movl %eax, %edi
callq 0xb5a0
movq %rax, 0x20(%rsp)
testq %rax, %rax
jne 0x26830
leaq 0x2be2b(%rip), %rsi     # 0x52645
movl %r13d, %edi
callq 0xb5a0
movq %rax, 0x20(%rsp)
testq %rax, %rax
je 0x26b06
testq %r12, %r12
js 0x26847
movq %rax, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0xb310
movq 0x20(%rsp), %rax
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rax, %rcx
callq 0x29392
movq %rax, %r12
testq %rax, %rax
je 0x26b06
movq 0x48(%r12), %rax
movq $0x6, 0x8(%rax)
leaq 0x32d7(%rip), %rcx      # 0x29b4f
jmp 0x26944
leaq 0x2bd8a(%rip), %rsi     # 0x5260e
movq %rsp, %rdi
callq 0x19be0
testb %al, %al
je 0x2694d
leaq 0xb0(%rsp), %rax
movq %rax, 0x8(%rax)
movq %rax, (%rax)
andq $0x0, 0x10(%rax)
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
movaps %xmm0, -0x20(%rax)
movaps %xmm1, -0x10(%rax)
movq -0x18(%rax), %rax
testq %rax, %rax
je 0x268d4
movq 0x90(%rsp), %rdi
pushq $0x4
popq %rsi
leaq 0x20(%rsp), %rdx
callq *%rax
testq %rbx, %rbx
je 0x26b06
movq 0x20(%rsp), %r12
movq %r12, %rdi
callq 0x2d91c
testq %rax, %rax
leaq 0x2bd51(%rip), %rax     # 0x52645
leaq 0x2bd47(%rip), %rsi     # 0x52642
cmoveq %rax, %rsi
movq %r12, %rdi
callq 0xb660
testq %rax, %rax
je 0x26b06
movq %rax, %r13
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rax, %rcx
callq 0x29392
movq %rax, %r12
testq %rax, %rax
je 0x26afe
movq 0x48(%r12), %rax
movq $0x8, 0x8(%rax)
leaq 0x323e(%rip), %rcx      # 0x29b82
movq %rcx, 0x20(%rax)
jmp 0x26b09
leaq 0x2cad8(%rip), %rsi     # 0x5342c
movq %rsp, %rdi
callq 0x19be0
testb %al, %al
je 0x26a26
leaq 0x40(%rsp), %rax
movq %rax, 0x8(%rax)
movq %rax, (%rax)
andq $0x0, 0x10(%rax)
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
movaps %xmm0, -0x20(%rax)
movaps %xmm1, -0x10(%rax)
movq -0x20(%rax), %rdi
pushq $0x4
popq %rsi
leaq 0x60(%rsp), %rdx
callq *-0x18(%rax)
movq 0x60(%rsp), %rdx
leaq 0x2bca6(%rip), %rsi     # 0x52647
xorl %r12d, %r12d
leaq 0x90(%rsp), %rdi
xorl %eax, %eax
callq 0xb0c0
testq %rbx, %rbx
je 0x26b8e
leaq 0x2bc82(%rip), %rsi     # 0x52645
leaq 0x90(%rsp), %rdi
callq 0xb140
testq %rax, %rax
je 0x26b8b
movq %rax, %r13
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rax, %rcx
callq 0x29392
movq %rax, %r12
testq %rax, %rax
je 0x26b24
movq 0x48(%r12), %rax
movq $0x9, 0x8(%rax)
leaq 0x319a(%rip), %rcx      # 0x29ba7
movq %rcx, 0x20(%rax)
movw $0x72, 0x4(%r12)
movl $0x61747366, (%r12)     # imm = 0x61747366
jmp 0x26b8e
leaq 0x2b67d(%rip), %rsi     # 0x520aa
movq %rsp, %rdi
callq 0x19be0
testb %al, %al
je 0x26a7c
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x27598
movq %rax, %r12
testq %rax, %rax
je 0x262fd
movq 0x48(%r12), %rax
movq $0xe, 0x8(%rax)
leaq 0x3165(%rip), %rcx      # 0x29bcc
movq %rcx, 0x20(%rax)
leaq 0x3164(%rip), %rax      # 0x29bd6
movq %rax, 0x38(%r12)
jmp 0x26383
leaq 0x4eafd(%rip), %r14     # 0x75580
movq (%r14), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x262fd
addq $0x20, %rdi
callq 0xb800
movq (%r14), %rax
movq 0x18(%rax), %rdi
leaq 0x2a9e0(%rip), %rsi     # 0x51488
callq 0xb520
leaq 0x2b5a1(%rip), %rsi     # 0x52055
movq %rax, %rdi
callq 0xb520
leaq 0x2b5ef(%rip), %rsi     # 0x520b2
movq %rax, %rdi
callq 0xb520
movq %rsp, %rsi
movq %rax, %rdi
callq 0xb490
leaq 0x2c886(%rip), %rsi     # 0x53363
movq %rax, %rdi
callq 0xb520
movq %rax, %rdi
callq 0xb270
movq (%r14), %rdi
addq $0x20, %rdi
callq 0xb3e0
jmp 0x262fd
movq %r13, %rdi
callq 0xb530
xorl %r12d, %r12d
leaq 0x90(%rsp), %rdi
callq 0x19a94
testq %r12, %r12
jne 0x26383
jmp 0x262fd
leaq 0x4ea55(%rip), %r14     # 0x75580
movq (%r14), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x26b83
addq $0x20, %rdi
callq 0xb800
movq (%r14), %rax
movq 0x8(%rax), %rdi
leaq 0x2a63c(%rip), %rsi     # 0x51188
callq 0xb520
leaq 0x2b4fd(%rip), %rsi     # 0x52055
movq %rax, %rdi
callq 0xb520
leaq 0x2bafe(%rip), %rsi     # 0x52665
movq %rax, %rdi
callq 0xb520
movq %rax, %rdi
callq 0xb270
movq (%r14), %rdi
addq $0x20, %rdi
callq 0xb3e0
movq %r13, %rdi
callq 0xb7b0
xorl %r12d, %r12d
leaq 0x20(%rsp), %rdi
jmp 0x26b11
jmp 0x26b9a
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
jmp 0x26bc1
jmp 0x26bb6
jmp 0x26bb6
jmp 0x26bb6
jmp 0x26bb6
jmp 0x26bb6
jmp 0x26bb6
jmp 0x26bb6
jmp 0x26bb6
jmp 0x26bb6
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
callq 0x19a94
jmp 0x26bcd
jmp 0x26bca
movq %rax, %rbx
movq %rsp, %rdi
callq 0xb230
jmp 0x26bda
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x19ef4
movq %rbx, %rdi
callq 0xb9a0