// File: /workspace/github_cpp_makefile_star2_O1/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 0x1d19a
leaq 0x140(%rsp), %rdi
movl $0x2f, %esi
movq %rbx, %rdx
callq 0x37d96
movq %r13, 0xa8(%rsp)
movq %r12, 0xb0(%rsp)
movq %r15, 0x10(%rsp)
movq 0x120(%rsp), %rdi
cmpq %r14, %rdi
je 0x3b60b
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, 0x30(%rsp)
leaq 0x80(%rbp), %rax
movq %rax, 0x28(%rsp)
leaq 0x58(%rbp), %rax
movq %rax, 0x20(%rsp)
leaq 0x60(%rbp), %rax
movq %rax, 0x18(%rsp)
leaq 0x38(%rbp), %rax
movq %rax, 0x40(%rsp)
movq %rbp, 0xb8(%rsp)
leaq 0x40(%rbp), %rax
movq %rax, 0x38(%rsp)
leaq 0x48(%rsp), %rbp
leaq 0x30934(%rip), %rbx     # 0x6bfa0
leaq 0x30927(%rip), %r15     # 0x6bf9a
leaq 0x3090e(%rip), %r13     # 0x6bf88
leaq 0x30912(%rip), %r14     # 0x6bf93
leaq 0x140(%rsp), %rdi
movq %rbp, %rsi
callq 0x1bbc4
testb %al, %al
je 0x3b7b7
movq %rbp, %rdi
movq %rbx, %rsi
callq 0xb110
movl $0x6, %r12d
testl %eax, %eax
je 0x3b752
movq %r14, %rbx
movq %r13, %r14
movq %rbp, %rdi
movq %r15, %r13
movq %r15, %rsi
callq 0xb110
testl %eax, %eax
je 0x3b761
movq %rbp, %rdi
movq %r14, %r13
movq %r14, %rsi
callq 0xb110
testl %eax, %eax
je 0x3b779
movq %rbp, %rdi
movq %rbx, %r14
movq %rbx, %rsi
callq 0xb110
testl %eax, %eax
je 0x3b7a8
movq %rbp, %rdi
leaq 0x308a3(%rip), %rbx     # 0x6bfa7
movq %rbx, %rsi
callq 0xb110
movq 0x28(%rsp), %rdx
movq 0x30(%rsp), %rdi
movq %rbx, %rcx
testl %eax, %eax
leaq 0x3087e(%rip), %rbx     # 0x6bfa0
je 0x3b796
movq %rbp, %rdi
leaq 0x2ff30(%rip), %r12     # 0x6b65e
movq %r12, %rsi
callq 0xb110
movq 0x28(%rsp), %rdx
movq 0x30(%rsp), %rdi
movq %r12, %rcx
movl $0x4, %r12d
testl %eax, %eax
je 0x3b796
jmp 0x3ba2a
movq 0x38(%rsp), %rdx
movq 0x40(%rsp), %rdi
movq %rbx, %rcx
jmp 0x3b796
movl $0x5, %r12d
movq 0x38(%rsp), %rdx
movq 0x40(%rsp), %rdi
movq %r13, %rcx
movq %r14, %r13
jmp 0x3b78c
movq 0x18(%rsp), %rdx
movq 0x20(%rsp), %rdi
movq %r13, %rcx
movl $0x4, %r12d
movq %rbx, %r14
leaq 0x3080a(%rip), %rbx     # 0x6bfa0
movq (%rdx), %rdx
xorl %esi, %esi
movq %r12, %r8
callq 0xb870
jmp 0x3b681
movq 0x18(%rsp), %rdx
movq 0x20(%rsp), %rdi
movq %r14, %rcx
jmp 0x3b78f
leaq 0x78(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0xb8(%rsp), %rbx
movq 0x38(%rbx), %rsi
movq 0x40(%rbx), %rdx
addq %rsi, %rdx
leaq 0x68(%rsp), %rdi
callq 0x1d19a
leaq 0x2eb69(%rip), %rsi     # 0x6a34d
leaq 0x68(%rsp), %rdi
callq 0xba60
movq 0x58(%rbx), %rsi
movq 0x60(%rbx), %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 0x3b830
movq %rdx, 0xc0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd0(%rsp)
jmp 0x3b837
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 0x2eaf0(%rip), %rsi     # 0x6a34d
callq 0xba60
leaq 0xf0(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3b893
movq %rdx, 0xe0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xf0(%rsp)
jmp 0x3b89b
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 0x78(%rbx), %rsi
movq 0x80(%rbx), %rdx
callq 0xb150
leaq 0x98(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3b8fa
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
jmp 0x3b902
movups (%rcx), %xmm0
movups %xmm0, (%r13)
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 0x1bdd6
leaq 0x100(%rsp), %rsi
movq %rbx, %rdi
movq 0xa8(%rsp), %rdx
movq 0xb0(%rsp), %rcx
movq 0x10(%rsp), %r8
callq 0x2a5ac
movl %eax, %ebx
leaq 0x110(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b97f
movq 0x110(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x88(%rsp), %rdi
cmpq %r13, %rdi
je 0x3b99c
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0xe0(%rsp), %rdi
cmpq %r12, %rdi
je 0x3b9b9
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0xc0(%rsp), %rdi
cmpq %r15, %rdi
je 0x3b9d6
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x68(%rsp), %rdi
cmpq %r14, %rdi
je 0x3b9ed
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x58(%rsp), %rax
movq 0x48(%rsp), %rdi
cmpq %rax, %rdi
je 0x3ba09
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x140(%rsp), %rdi
callq 0x1bb7e
movl %ebx, %eax
addq $0x168, %rsp            # imm = 0x168
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x10(%rsp), %r15
movq 0x8(%r15), %rdx
leaq 0x30574(%rip), %rcx     # 0x6bfae
movl $0xc, %r8d
movq %r15, %rdi
xorl %esi, %esi
callq 0xb870
leaq 0x50b1f(%rip), %r14     # 0x8c570
movq (%r14), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x3bb0b
addq $0x20, %rdi
callq 0xb7d0
movq (%r14), %rax
movq 0x8(%rax), %rbx
leaq 0x2e712(%rip), %rsi     # 0x6a188
movl $0xb, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x304b6(%rip), %rsi     # 0x6bf40
movl $0x10, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x2f162(%rip), %rsi     # 0x6ac00
movl $0x9, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x30509(%rip), %rsi     # 0x6bfbb
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 0x2ef15(%rip), %rsi     # 0x6a9f0
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
jmp 0x3b9ed
jmp 0x3bbe5
movq %rax, %rbx
leaq 0x110(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3bb40
movq 0x110(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x3bb40
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r13, %rdi
je 0x3bb62
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x3bb62
movq %rax, %rbx
movq 0xe0(%rsp), %rdi
cmpq %r12, %rdi
je 0x3bb84
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x3bb84
movq %rax, %rbx
movq 0xc0(%rsp), %rdi
cmpq %r15, %rdi
je 0x3bba8
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x3bba8
jmp 0x3bba5
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r14, %rdi
je 0x3bbe8
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x3bbe8
jmp 0x3bbe5
movq %rax, %rbx
movq 0x120(%rsp), %rdi
cmpq %r14, %rdi
je 0x3bc11
movq 0x130(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x3bc11
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x3bc04
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x140(%rsp), %rdi
callq 0x1bb7e
movq %rbx, %rdi
callq 0xb9c0
nopl (%rax)