// File: /workspace/github_cpp_makefile_star2_O3/mh0fm4[P]SCDC/src/components/dataset/dataset_inout.cc
// Function: scdc_dataset_input_fslist_create(_scdc_dataset_inout_t*, char const*, _scdc_args_t*)
static scdc_dataset_inout_t *scdc_dataset_input_fslist_create(scdc_dataset_input_t *input, const char *conf, scdc_args_t *args)
{
  scdc_args xargs(args);

  const char *pathname;
  xargs.get<const char *>(SCDC_ARGS_TYPE_CSTR, &pathname);

  bool follow_links = FOLLOW_LINKS;

  string format = "fslist";

  if (!follow_links && z_fs_is_link(pathname))
  {
    input = scdc_dataset_input_fslist_link_create(input, conf, args, pathname);
    format += ":link";

  } else if (z_fs_is_directory(pathname))
  {
    input = scdc_dataset_input_fslist_dir_create(input, conf, args, pathname);
    format += ":dir";

  } else if (z_fs_is_file(pathname))
  {
    input = scdc_dataset_input_fslist_file_create(input, conf, args, pathname);
    format += ":file";

  } else input = 0;

  if (!input)
  {
    SCDC_TRACE("scdc_dataset_input_fslist_create: pathname '" << pathname << "' is not a directory or file!");
    return 0;
  }

  input->intern->destroy = scdc_dataset_input_fslist_destroy;

  strcpy(input->format, format.c_str());

#if INPUT_CREATE_NEXT
  if (input->next) input->next(input, 0);
#endif

  return input;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
leaq 0xe0(%rsp), %rax
movq %rax, 0x8(%rax)
movq %rax, (%rax)
movq $0x0, 0x10(%rax)
movups (%rdx), %xmm0
movups 0x10(%rdx), %xmm1
movaps %xmm0, -0x20(%rax)
movaps %xmm1, -0x10(%rax)
movq -0x18(%rax), %rax
testq %rax, %rax
je 0x2c006
movq 0xc0(%rsp), %rdi
leaq 0x10(%rsp), %rdx
movl $0x4, %esi
callq *%rax
leaq 0x48(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x403c4(%rip), %rsi     # 0x6c3da
leaq 0x403c3(%rip), %rdx     # 0x6c3e0
leaq 0x38(%rsp), %rdi
callq 0x1be38
movq 0x10(%rsp), %rdi
callq 0x35787
movq 0x10(%rsp), %r14
testq %rax, %rax
je 0x2c1cb
movq %r14, %rdi
callq 0xb800
testq %rax, %rax
je 0x2c341
movq %rax, %r15
movq $0x4000, 0x8(%rsp)      # imm = 0x4000
leaq 0x58(%rsp), %rdi
movl $0x3a, %esi
movq %r13, %rdx
movq $-0x1, %rcx
callq 0x1b83e
movq %rbp, %r13
leaq 0xa0(%rsp), %rax
movq %rax, 0x8(%rax)
movq %rax, (%rax)
movq $0x0, 0x10(%rax)
movups (%r12), %xmm0
movups 0x10(%r12), %xmm1
movaps %xmm0, -0x20(%rax)
movaps %xmm1, -0x10(%rax)
leaq 0x18(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x1bb82
leaq 0x3f4ff(%rip), %rsi     # 0x6b5b7
leaq 0x18(%rsp), %r12
movq %r12, %rdi
callq 0xb110
movl %eax, %ebp
movq (%r12), %rdi
leaq 0x28(%rsp), %r12
cmpq %r12, %rdi
je 0x2c0e2
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb510
testl %ebp, %ebp
movq %r13, %rbp
jne 0x2c130
movq 0x88(%rsp), %rax
testq %rax, %rax
je 0x2c10a
movq 0x80(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movl $0x2, %esi
callq *%rax
leaq 0x18(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x1b878
movq 0x18(%rsp), %rdi
cmpq %r12, %rdi
je 0x2c130
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x8(%rsp), %rsi
movl $0x118, %edx            # imm = 0x118
movq %rbx, %rdi
callq 0x2e36a
testb %al, %al
je 0x2c346
leaq 0x3803(%rip), %rax      # 0x2f954
movq %rax, 0x38(%rbx)
movq 0x40(%rbx), %r12
movq %r14, %rdi
callq 0xb200
cmpb $0x2f, -0x1(%r14,%rax)
leaq 0x3f3bf(%rip), %rax     # 0x6b52d
leaq 0x3e1f8(%rip), %r8      # 0x6a36d
cmoveq %rax, %r8
leaq 0x3f3b3(%rip), %rdx     # 0x6b533
movl $0x100, %esi            # imm = 0x100
movq %r12, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0xb8e0
movq 0x40(%rbx), %rax
movb $0x1, 0x100(%rax)
movq %r15, 0x108(%rax)
movq $0x0, 0x110(%rax)
movq 0x48(%rbx), %rax
movq $0xa, 0x8(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rbx)
movb $0x6c, 0x30(%rbx)
jmp 0x2c350
movq %r14, %rdi
callq 0x357bc
testq %rax, %rax
je 0x2c3ae
movq 0x10(%rsp), %r14
movq $0x4000, 0x8(%rsp)      # imm = 0x4000
leaq 0x58(%rsp), %rdi
movl $0x3a, %esi
movq %r13, %rdx
movq $-0x1, %rcx
callq 0x1b83e
movq %rbp, %r13
leaq 0xa0(%rsp), %rax
movq %rax, 0x8(%rax)
movq %rax, (%rax)
movq $0x0, 0x10(%rax)
movups (%r12), %xmm0
movups 0x10(%r12), %xmm1
movaps %xmm0, -0x20(%rax)
movaps %xmm1, -0x10(%rax)
leaq 0x18(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x1bb82
leaq 0x3f371(%rip), %rsi     # 0x6b5b7
leaq 0x18(%rsp), %r15
movq %r15, %rdi
callq 0xb110
movl %eax, %ebp
movq (%r15), %rdi
leaq 0x28(%rsp), %r15
cmpq %r15, %rdi
je 0x2c26f
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb510
testl %ebp, %ebp
movq %r13, %rbp
jne 0x2c2bd
movq 0x88(%rsp), %rax
testq %rax, %rax
je 0x2c297
movq 0x80(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movl $0x2, %esi
callq *%rax
leaq 0x18(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x1b878
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x2c2bd
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x8(%rsp), %rsi
xorl %r15d, %r15d
movq %rbx, %rdi
xorl %edx, %edx
callq 0x2e36a
testb %al, %al
je 0x2c317
movq 0x48(%rbx), %rax
movq $0xb, 0x8(%rax)
movq 0x10(%rbx), %r15
movq 0x18(%rbx), %r12
movq %r14, %rdi
callq 0x35826
leaq 0x3f251(%rip), %rdx     # 0x6b547
movq %r15, %rdi
movq %r12, %rsi
movq %rax, %rcx
xorl %eax, %eax
callq 0xb8e0
cltq
movq %rax, 0x20(%rbx)
movq %rax, 0x28(%rbx)
movb $0x78, 0x30(%rbx)
movq %rbx, %r15
leaq 0x80(%rsp), %rdi
callq 0x1b76c
leaq 0x58(%rsp), %rdi
callq 0x1bad0
leaq 0x40406(%rip), %rsi     # 0x6c73b
leaq 0x38(%rsp), %rdi
callq 0xba60
jmp 0x2c37b
xorl %r15d, %r15d
jmp 0x2c36a
movq %r15, %rdi
callq 0xb8f0
xorl %ebx, %ebx
leaq 0x80(%rsp), %rdi
callq 0x1b76c
leaq 0x58(%rsp), %rdi
callq 0x1bad0
movq %rbx, %r15
leaq 0x3f1bd(%rip), %rsi     # 0x6b52e
leaq 0x38(%rsp), %rdi
callq 0xba60
testq %r15, %r15
je 0x2c3ae
movq 0x48(%r15), %rax
leaq 0x3559(%rip), %rcx      # 0x2f8e4
movq %rcx, 0x20(%rax)
movq 0x38(%rsp), %rsi
movq %r15, %rdi
callq 0xb4b0
movq 0x38(%r15), %rax
testq %rax, %rax
je 0x2c3b1
movq %r15, %rdi
xorl %esi, %esi
callq *%rax
jmp 0x2c3b1
xorl %r15d, %r15d
movq 0x38(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2c3c8
movq 0x48(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0xc0(%rsp), %rdi
callq 0x1b76c
movq %r15, %rax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2c3f2
jmp 0x2c3f2
jmp 0x2c3f2
jmp 0x2c3f2
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x1b76c
leaq 0x58(%rsp), %rdi
callq 0x1bad0
jmp 0x2c41b
jmp 0x2c410
movq %rax, %rbx
jmp 0x2c432
movq %rbp, %r13
movq %rax, %rbx
movq 0x38(%rsp), %rdi
cmpq %r13, %rdi
je 0x2c432
movq 0x48(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0xc0(%rsp), %rdi
callq 0x1b76c
movq %rbx, %rdi
callq 0xb9c0