// File: /workspace/github_cpp_makefile_star2_O2/ncbi[P]amr/common.cpp
// Function: Common_sp::RawDirItemGenerator::next(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool RawDirItemGenerator::next (string &item)
{ 
  if (! large)
    return next_ (item, true);

  for (;;)
  {
    if (! dig. get ())
    {
      string subDir;
      if (! next_ (subDir, false))
        return false;
      dig. reset (new RawDirItemGenerator (0, dirName + "/" + subDir, false));
      QC_ASSERT (dig. get ());
    }
    if (dig->next (item))
      return true;
    dig. reset (nullptr);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x138, %rsp            # imm = 0x138
movq %rsi, %rbx
movq %rdi, %r14
cmpb $0x1, 0x78(%rdi)
jne 0x2613b
leaq 0x70(%r14), %r15
leaq 0x48(%r14), %rax
movq %rax, 0x30(%rsp)
leaq 0x38(%rsp), %rbp
leaq 0x58(%rsp), %r12
movq (%r15), %rdi
testq %rdi, %rdi
jne 0x26120
leaq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
andq $0x0, 0x18(%rsp)
movb $0x0, 0x20(%rsp)
movq %r14, %rdi
leaq 0x10(%rsp), %rsi
xorl %edx, %edx
callq 0x321fc
testb %al, %al
je 0x2615e
movl $0x80, %edi
callq 0xb5a0
movq %rax, %r13
movq %rbp, %rdi
movq 0x30(%rsp), %rsi
leaq 0x36215(%rip), %rdx     # 0x5c2db
callq 0x1c88d
movq %r12, %rdi
movq %rbp, %rsi
leaq 0x10(%rsp), %rdx
callq 0x1cbaf
movq %r13, %rdi
xorl %esi, %esi
movq %r12, %rdx
xorl %ecx, %ecx
callq 0x320be
movq %r15, %rdi
movq %r13, %rsi
callq 0x4a8e4
movq %r12, %rdi
callq 0xbb68
movq %rbp, %rdi
callq 0xbb68
callq 0xb060
andl $0x0, (%rax)
cmpq $0x0, (%r15)
je 0x2617c
leaq 0x10(%rsp), %rdi
callq 0xbb68
movq (%r15), %rdi
movq %rbx, %rsi
callq 0x2603a
testb %al, %al
jne 0x2615a
movq %r15, %rdi
xorl %esi, %esi
callq 0x4a8e4
jmp 0x26072
pushq $0x1
popq %rdx
movq %r14, %rdi
movq %rbx, %rsi
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x321fc
movb $0x1, %al
jmp 0x2616a
leaq 0x10(%rsp), %rdi
callq 0xbb68
xorl %eax, %eax
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0xb6c0
testl %eax, %eax
jne 0x26256
leaq 0x357b1(%rip), %rsi     # 0x5b941
leaq 0xd8(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1b7b6
leaq 0xb8(%rsp), %rdi
movl $0xd80, %esi            # imm = 0xD80
callq 0x1caa3
leaq 0xf8(%rsp), %rdi
leaq 0xd8(%rsp), %rsi
leaq 0xb8(%rsp), %rdx
callq 0x1ca3c
leaq 0x33a0b(%rip), %rdx     # 0x59be3
leaq 0x118(%rsp), %rdi
leaq 0xf8(%rsp), %rsi
callq 0x1b92d
leaq 0x36d54(%rip), %rsi     # 0x5cf48
leaq 0x78(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x1b7b6
leaq 0x35734(%rip), %rdx     # 0x5b93e
leaq 0x98(%rsp), %rdi
leaq 0x78(%rsp), %rsi
callq 0x1b92d
leaq 0x38(%rsp), %rdi
leaq 0x118(%rsp), %rsi
leaq 0x98(%rsp), %rdx
callq 0x1ca3c
leaq 0x36d47(%rip), %rdx     # 0x5cf84
leaq 0x58(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x1b92d
leaq 0x58(%rsp), %rdi
callq 0x224fc
pushq $0x1
popq %rdi
callq 0xb6d0
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0xbb68
jmp 0x26270
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0xbb68
jmp 0x2627f
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
callq 0xbb68
jmp 0x26291
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0xbb68
jmp 0x262a0
movq %rax, %rbx
leaq 0x118(%rsp), %rdi
callq 0xbb68
jmp 0x262b2
movq %rax, %rbx
leaq 0xf8(%rsp), %rdi
callq 0xbb68
jmp 0x262c4
movq %rax, %rbx
leaq 0xb8(%rsp), %rdi
callq 0xbb68
jmp 0x262d6
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
callq 0xbb68
jmp 0x2631a
jmp 0x26317
movq %rax, %rbx
jmp 0x26308
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0xbb68
jmp 0x262fe
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0xbb68
movl $0x80, %esi
movq %r13, %rdi
callq 0xb5b0
jmp 0x2631a
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xbb68
movq %rbx, %rdi
callq 0xba30