// File: /workspace/github_cpp_makefile_star2_O1/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 0x2c247
movq 0xc0(%rsp), %rdi
leaq 0x10(%rsp), %rdx
movl $0x4, %esi
callq *%rax
leaq 0x48(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x4010b(%rip), %rsi     # 0x6c362
leaq 0x4010a(%rip), %rdx     # 0x6c368
leaq 0x38(%rsp), %rdi
callq 0x1bee6
movq 0x10(%rsp), %rdi
callq 0x35ad3
movq 0x10(%rsp), %r14
testq %rax, %rax
je 0x2c40c
movq %r14, %rdi
callq 0xb800
testq %rax, %rax
je 0x2c582
movq %rax, %r15
movq $0x4000, 0x8(%rsp)      # imm = 0x4000
leaq 0x58(%rsp), %rdi
movl $0x3a, %esi
movq %r13, %rdx
movq $-0x1, %rcx
callq 0x1b8f2
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 0x1bc30
leaq 0x3f29e(%rip), %rsi     # 0x6b597
leaq 0x18(%rsp), %r12
movq %r12, %rdi
callq 0xb110
movl %eax, %ebp
movq (%r12), %rdi
leaq 0x28(%rsp), %r12
cmpq %r12, %rdi
je 0x2c323
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb510
testl %ebp, %ebp
movq %r13, %rbp
jne 0x2c371
movq 0x88(%rsp), %rax
testq %rax, %rax
je 0x2c34b
movq 0x80(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movl $0x2, %esi
callq *%rax
leaq 0x18(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x1b92c
movq 0x18(%rsp), %rdi
cmpq %r12, %rdi
je 0x2c371
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x8(%rsp), %rsi
movl $0x118, %edx            # imm = 0x118
movq %rbx, %rdi
callq 0x2e611
testb %al, %al
je 0x2c587
leaq 0x3875(%rip), %rax      # 0x2fc07
movq %rax, 0x38(%rbx)
movq 0x40(%rbx), %r12
movq %r14, %rdi
callq 0xb200
cmpb $0x2f, -0x1(%r14,%rax)
leaq 0x3f15e(%rip), %rax     # 0x6b50d
leaq 0x3df97(%rip), %r8      # 0x6a34d
cmoveq %rax, %r8
leaq 0x3f152(%rip), %rdx     # 0x6b513
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 0x2c591
movq %r14, %rdi
callq 0x35b08
testq %rax, %rax
je 0x2c62b
movq 0x10(%rsp), %r14
movq $0x4000, 0x8(%rsp)      # imm = 0x4000
leaq 0x58(%rsp), %rdi
movl $0x3a, %esi
movq %r13, %rdx
movq $-0x1, %rcx
callq 0x1b8f2
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 0x1bc30
leaq 0x3f110(%rip), %rsi     # 0x6b597
leaq 0x18(%rsp), %r15
movq %r15, %rdi
callq 0xb110
movl %eax, %ebp
movq (%r15), %rdi
leaq 0x28(%rsp), %r15
cmpq %r15, %rdi
je 0x2c4b0
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb510
testl %ebp, %ebp
movq %r13, %rbp
jne 0x2c4fe
movq 0x88(%rsp), %rax
testq %rax, %rax
je 0x2c4d8
movq 0x80(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movl $0x2, %esi
callq *%rax
leaq 0x18(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x1b92c
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x2c4fe
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x8(%rsp), %rsi
xorl %r15d, %r15d
movq %rbx, %rdi
xorl %edx, %edx
callq 0x2e611
testb %al, %al
je 0x2c558
movq 0x48(%rbx), %rax
movq $0xb, 0x8(%rax)
movq 0x10(%rbx), %r15
movq 0x18(%rbx), %r12
movq %r14, %rdi
callq 0x35b72
leaq 0x3eff0(%rip), %rdx     # 0x6b527
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 0x1b820
leaq 0x58(%rsp), %rdi
callq 0x1bb7e
leaq 0x4014d(%rip), %rsi     # 0x6c6c3
leaq 0x38(%rsp), %rdi
callq 0xba60
jmp 0x2c5bc
xorl %r15d, %r15d
jmp 0x2c5ab
movq %r15, %rdi
callq 0xb8f0
xorl %ebx, %ebx
leaq 0x80(%rsp), %rdi
callq 0x1b820
leaq 0x58(%rsp), %rdi
callq 0x1bb7e
movq %rbx, %r15
leaq 0x3ef5c(%rip), %rsi     # 0x6b50e
leaq 0x38(%rsp), %rdi
callq 0xba60
testq %r15, %r15
je 0x2c5ef
movq 0x48(%r15), %rax
leaq 0x35cb(%rip), %rcx      # 0x2fb97
movq %rcx, 0x20(%rax)
movq 0x38(%rsp), %rsi
movq %r15, %rdi
callq 0xb4b0
movq 0x38(%r15), %rax
testq %rax, %rax
je 0x2c5f2
movq %r15, %rdi
xorl %esi, %esi
callq *%rax
jmp 0x2c5f2
xorl %r15d, %r15d
movq 0x38(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2c609
movq 0x48(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0xc0(%rsp), %rdi
callq 0x1b820
movq %r15, %rax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r15d, %r15d
jmp 0x2c5bc
jmp 0x2c638
jmp 0x2c638
jmp 0x2c638
jmp 0x2c638
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x1b820
leaq 0x58(%rsp), %rdi
callq 0x1bb7e
jmp 0x2c661
jmp 0x2c656
movq %rax, %rbx
jmp 0x2c678
movq %rbp, %r13
movq %rax, %rbx
movq 0x38(%rsp), %rdi
cmpq %r13, %rdi
je 0x2c678
movq 0x48(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0xc0(%rsp), %rdi
callq 0x1b820
movq %rbx, %rdi
callq 0xb9c0