// File: /workspace/github_cpp_makefile_star2_O1/mh0fm4[P]SCDC/src/components/dataprov/dataprov_fs2.cc
// Function: scdc_dataprov_fs2::open(char const*, scdc_args*, 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("do_cmd_cd: params: '" << params << "'");

#if SCDC_DATASET_FS_LEAVE_PWD_OPEN
      close_pwd_file();
#endif

      bool ret = scdc_dataset::do_cmd_cd(params, input, output, result);

      SCDC_TRACE("do_cmd_cd: return: " << ret);

      return ret;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq 0x8(%rdx), %rax
testq %rax, %rax
je 0x45534
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movq (%rdx), %rdi
leaq 0x10(%rsp), %rdx
movl $0x4, %esi
callq *%rax
testq %rax, %rax
je 0x45534
movq 0x10(%rsp), %rdi
callq 0x35ad3
testq %rax, %rax
je 0x455d2
movq %rbx, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x36176
testb %al, %al
je 0x45651
movq 0x10(%rsp), %rsi
leaq 0x18(%rsp), %r14
leaq 0xf(%rsp), %rdx
movq %r14, %rdi
callq 0x1bdd6
movq %rbx, %rdi
movq %r14, %rsi
callq 0x45730
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4552d
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb510
movb $0x1, %al
jmp 0x455c6
leaq 0x47035(%rip), %r14     # 0x8c570
movq (%r14), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x455c4
addq $0x20, %rdi
callq 0xb7d0
movq (%r14), %rax
movq 0x18(%rax), %rbx
leaq 0x24f2c(%rip), %rsi     # 0x6a488
movl $0xc, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x26ce8(%rip), %rsi     # 0x6c258
movl $0xd, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x26ce2(%rip), %rsi     # 0x6c266
movl $0x1c, %edx
movq %rbx, %rdi
callq 0xb5f0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0xb4d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0xb050
movq %rax, %rdi
callq 0xb340
movq (%r14), %rdi
addq $0x20, %rdi
callq 0xb3b0
xorl %eax, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x46f97(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x455c4
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x18(%rax), %rbx
leaq 0x24e8e(%rip), %rsi     # 0x6a488
movl $0xc, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x26c4a(%rip), %rsi     # 0x6c258
movl $0xd, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x26c61(%rip), %rsi     # 0x6c283
movl $0x1c, %edx
movq %rbx, %rdi
callq 0xb5f0
movq 0x10(%rsp), %r14
testq %r14, %r14
je 0x456af
movq %r14, %rdi
callq 0xb200
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0xb5f0
jmp 0x456c6
leaq 0x46f18(%rip), %r14     # 0x8c570
movq (%r14), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x455c4
addq $0x20, %rdi
callq 0xb7d0
movq (%r14), %rax
movq 0x8(%rax), %rbx
leaq 0x24b0b(%rip), %rsi     # 0x6a188
movl $0xb, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x26bc7(%rip), %rsi     # 0x6c258
movl $0xd, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x26488(%rip), %rsi     # 0x6bb2d
movl $0x12, %edx
jmp 0x45589
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0xb990
leaq 0x26bd3(%rip), %rsi     # 0x6c2a0
movl $0x14, %edx
movq %rbx, %rdi
callq 0xb5f0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0xb4d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0xb050
movq %rax, %rdi
callq 0xb340
movq (%r15), %rdi
jmp 0x455bb
movq %rax, %rbx
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x45727
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0
nop