// File: /workspace/github_cpp_makefile_star2_O3/mh0fm4[P]SCDC/src/components/dataprov/dataprov_bench.cc
// Function: scdc_dataset_bench::do_cmd_cd(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, _scdc_dataset_inout_t*, _scdc_dataset_inout_t*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool do_cmd_cd(const string &params, scdc_dataset_input_t *input, scdc_dataset_output_t *output, scdc_result &result)
    {
      SCDC_TRACE("dataset_bench: do_cmd_cd: '" << params << "'");

      stringlist pl('/', params);

      string p;
      
      while (pl.front_pop(p))
      {
        if (p == "binary") format = "binary";
        else if (p == "ascii") format = "ascii";
        else if (p == "zero") content = "zero";
        else if (p == "random") content = "random";
        else if (p == "memory") mode = "memory";
        else if (p == "file") mode = "file";
        else
        {
          result = "invalid path";
          SCDC_FAIL(__func__ << ": changing to path '" << p << "' failed: " << result);
          return false;
        }
      }

      return scdc_dataset::do_cmd_cd((format + "/" + content + "/" + mode).c_str(), input, output, result);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x168, %rsp            # imm = 0x168
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %r13
movq %rdi, %rbp
leaq 0x130(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
leaq 0x120(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1d0a0
leaq 0x140(%rsp), %rdi
movl $0x2f, %esi
movq %rbx, %rdx
callq 0x37a30
movq %r13, 0xa8(%rsp)
movq %r12, 0xb0(%rsp)
movq %r15, 0x40(%rsp)
movq 0x120(%rsp), %rdi
cmpq %r14, %rdi
je 0x3b1b9
movq 0x130(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x58(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x78(%rbp), %rax
movq %rax, 0x28(%rsp)
leaq 0x80(%rbp), %rax
movq %rax, 0x20(%rsp)
leaq 0x58(%rbp), %rax
movq %rax, 0x18(%rsp)
leaq 0x60(%rbp), %rax
movq %rax, 0x10(%rsp)
leaq 0x38(%rbp), %rax
movq %rax, 0x30(%rsp)
movq %rbp, 0xb8(%rsp)
leaq 0x40(%rbp), %rax
movq %rax, 0x38(%rsp)
leaq 0x48(%rsp), %rbp
leaq 0x30dfe(%rip), %rbx     # 0x6c018
leaq 0x30df1(%rip), %r14     # 0x6c012
leaq 0x30dd8(%rip), %r13     # 0x6c000
leaq 0x30ddc(%rip), %r15     # 0x6c00b
leaq 0x140(%rsp), %rdi
movq %rbp, %rsi
callq 0x1bb16
testb %al, %al
je 0x3b365
movq %rbp, %rdi
movq %rbx, %rsi
callq 0xb110
movl $0x6, %r12d
testl %eax, %eax
je 0x3b300
movq %r15, %rbx
movq %r13, %r15
movq %rbp, %rdi
movq %r14, %r13
movq %r14, %rsi
callq 0xb110
testl %eax, %eax
je 0x3b30f
movq %rbp, %rdi
movq %r15, %r13
movq %r15, %rsi
callq 0xb110
testl %eax, %eax
je 0x3b327
movq %rbp, %rdi
movq %rbx, %r15
movq %rbx, %rsi
callq 0xb110
testl %eax, %eax
je 0x3b356
movq %rbp, %rdi
leaq 0x30d6d(%rip), %rbx     # 0x6c01f
movq %rbx, %rsi
callq 0xb110
movq 0x20(%rsp), %rdx
movq 0x28(%rsp), %rdi
movq %rbx, %rcx
testl %eax, %eax
leaq 0x30d48(%rip), %rbx     # 0x6c018
je 0x3b344
movq %rbp, %rdi
leaq 0x303a2(%rip), %r12     # 0x6b67e
movq %r12, %rsi
callq 0xb110
movq 0x20(%rsp), %rdx
movq 0x28(%rsp), %rdi
movq %r12, %rcx
movl $0x4, %r12d
testl %eax, %eax
je 0x3b344
jmp 0x3b5ec
movq 0x38(%rsp), %rdx
movq 0x30(%rsp), %rdi
movq %rbx, %rcx
jmp 0x3b344
movl $0x5, %r12d
movq 0x38(%rsp), %rdx
movq 0x30(%rsp), %rdi
movq %r13, %rcx
movq %r15, %r13
jmp 0x3b33a
movq 0x10(%rsp), %rdx
movq 0x18(%rsp), %rdi
movq %r13, %rcx
movl $0x4, %r12d
movq %rbx, %r15
leaq 0x30cd4(%rip), %rbx     # 0x6c018
movq (%rdx), %rdx
xorl %esi, %esi
movq %r12, %r8
callq 0xb870
jmp 0x3b22f
movq 0x10(%rsp), %rdx
movq 0x18(%rsp), %rdi
movq %r15, %rcx
jmp 0x3b33d
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
movq 0x30(%rsp), %rax
movq (%rax), %rsi
movq 0x38(%rsp), %rax
movq (%rax), %rdx
addq %rsi, %rdx
leaq 0x68(%rsp), %rdi
callq 0x1d0a0
leaq 0x2efdb(%rip), %rsi     # 0x6a36d
leaq 0x68(%rsp), %rdi
callq 0xba60
movq 0xb8(%rsp), %rbx
movq 0x18(%rsp), %rax
movq (%rax), %rsi
movq 0x10(%rsp), %rax
movq (%rax), %rdx
leaq 0x68(%rsp), %rdi
callq 0xb150
leaq 0xd0(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3b3ee
movq %rdx, 0xc0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd0(%rsp)
jmp 0x3b3f5
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0xc0(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x2ef52(%rip), %rsi     # 0x6a36d
callq 0xba60
leaq 0xf0(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3b451
movq %rdx, 0xe0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xf0(%rsp)
jmp 0x3b459
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0xe0(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x28(%rsp), %rax
movq (%rax), %rsi
movq 0x20(%rsp), %rax
movq (%rax), %rdx
callq 0xb150
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3b4bd
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
jmp 0x3b4c4
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x90(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x88(%rsp), %rsi
leaq 0x100(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1bd28
leaq 0x100(%rsp), %rsi
movq %rbx, %rdi
movq 0xa8(%rsp), %rdx
movq 0xb0(%rsp), %rcx
movq 0x40(%rsp), %r8
callq 0x2a3a2
movl %eax, %ebx
leaq 0x110(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b541
movq 0x110(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x3b55e
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0xe0(%rsp), %rdi
cmpq %r12, %rdi
leaq 0x58(%rsp), %r14
je 0x3b580
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0xc0(%rsp), %rdi
cmpq %r15, %rdi
je 0x3b59d
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x3b5b4
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x3b5cb
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x140(%rsp), %rdi
callq 0x1bad0
movl %ebx, %eax
addq $0x168, %rsp            # imm = 0x168
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x40(%rsp), %r15
movq 0x8(%r15), %rdx
leaq 0x30a2a(%rip), %rcx     # 0x6c026
movl $0xc, %r8d
movq %r15, %rdi
xorl %esi, %esi
callq 0xb870
leaq 0x50f5d(%rip), %r14     # 0x8c570
movq (%r14), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x3b6cd
addq $0x20, %rdi
callq 0xb7d0
movq (%r14), %rax
movq 0x8(%rax), %rbx
leaq 0x2eb70(%rip), %rsi     # 0x6a1a8
movl $0xb, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x3096c(%rip), %rsi     # 0x6bfb8
movl $0x10, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x2f5c0(%rip), %rsi     # 0x6ac20
movl $0x9, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x309bf(%rip), %rsi     # 0x6c033
movl $0x14, %edx
movq %rbx, %rdi
callq 0xb5f0
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
movq %rbx, %rdi
callq 0xb5f0
movq %rax, %rbx
leaq 0x2f373(%rip), %rsi     # 0x6aa10
movl $0xa, %edx
movq %rax, %rdi
callq 0xb5f0
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0xb5f0
movq %rax, %rdi
callq 0xb250
movq (%r14), %rdi
addq $0x20, %rdi
callq 0xb3b0
xorl %ebx, %ebx
leaq 0x58(%rsp), %r14
jmp 0x3b5b4
jmp 0x3b7ac
movq %rax, %rbx
leaq 0x110(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b707
movq 0x110(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x3b707
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x3b729
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x3b729
movq %rax, %rbx
movq 0xe0(%rsp), %rdi
cmpq %r12, %rdi
je 0x3b74b
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x3b74b
movq %rax, %rbx
movq 0xc0(%rsp), %rdi
cmpq %r15, %rdi
je 0x3b76f
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x3b76f
jmp 0x3b76c
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x3b7af
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x3b7af
jmp 0x3b7ac
movq %rax, %rbx
movq 0x120(%rsp), %rdi
cmpq %r14, %rdi
je 0x3b7d8
movq 0x130(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x3b7d8
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x3b7cb
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x140(%rsp), %rdi
callq 0x1bad0
movq %rbx, %rdi
callq 0xb9c0