// File: /workspace/github_cpp_makefile_star2_O3/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 $0x128, %rsp            # imm = 0x128
movq %rsi, %rbx
movq %rdi, %r14
cmpb $0x1, 0x78(%rdi)
jne 0x3bdc3
leaq 0x70(%r14), %r15
leaq 0x28(%rsp), %r13
movq (%r15), %rdi
testq %rdi, %rdi
jne 0x3bda8
leaq 0x58(%rsp), %rax
movq %rax, 0x48(%rsp)
movq $0x0, 0x50(%rsp)
movb $0x0, 0x58(%rsp)
movq %r14, %rdi
leaq 0x48(%rsp), %rsi
xorl %edx, %edx
callq 0x5171a
movl %eax, %r12d
testb %al, %al
je 0x3bd84
movl $0x80, %edi
callq 0xa590
movq %rax, %rbp
leaq 0x38(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x48(%r14), %rsi
movq 0x50(%r14), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x2c212
movq %r13, %rdi
leaq 0x5160e(%rip), %rsi     # 0x8d2d0
callq 0xaac0
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
movq %r13, %rdi
callq 0xa190
leaq 0x18(%rsp), %rsi
movq %rsi, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3bd01
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x3bd07
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbp, %rdi
xorl %esi, %esi
leaq 0x8(%rsp), %rdx
xorl %ecx, %ecx
callq 0x51554
movq %r15, %rdi
movq %rbp, %rsi
callq 0x74c76
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x3bd57
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x3bd73
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
callq 0xa070
movl $0x0, (%rax)
cmpq $0x0, (%r15)
je 0x3bdfc
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x3bda0
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xa5a0
testb %r12b, %r12b
je 0x3bde8
movq (%r15), %rdi
movq %rbx, %rsi
callq 0x3bc26
testb %al, %al
jne 0x3bde4
movq %r15, %rdi
xorl %esi, %esi
callq 0x74c76
jmp 0x3bc50
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x5171a
movb $0x1, %al
jmp 0x3bdea
xorl %eax, %eax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0xa6b0
testl %eax, %eax
jne 0x3be94
leaq 0xd8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x50b1a(%rip), %rsi     # 0x8c936
leaq 0x50b26(%rip), %rdx     # 0x8c949
leaq 0xc8(%rsp), %rdi
callq 0x2fa1a
leaq 0xe8(%rsp), %rdi
movl $0xd80, %esi            # imm = 0xD80
callq 0x2d1fa
leaq 0x108(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
leaq 0xe8(%rsp), %rdx
callq 0x2d152
leaq 0x4ed7f(%rip), %rsi     # 0x8abe5
leaq 0x108(%rsp), %rdi
callq 0xaac0
leaq 0x78(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x3be9e
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x3beab
movl $0x1, %edi
callq 0xa6c0
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x70(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xb8(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x52066(%rip), %rsi     # 0x8df3d
leaq 0x5209a(%rip), %rdx     # 0x8df78
leaq 0xa8(%rsp), %rdi
callq 0x2fa1a
leaq 0x50a41(%rip), %rsi     # 0x8c933
leaq 0xa8(%rsp), %rdi
callq 0xaac0
leaq 0x98(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x3bf24
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x3bf37
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
movq 0x8(%rax), %rsi
leaq 0x88(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x28(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x2d152
leaq 0x5200d(%rip), %rsi     # 0x8df79
leaq 0x28(%rsp), %rdi
callq 0xaac0
leaq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x3bf9c
movups (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x3bfa9
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x34fa2
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x3bfee
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3bfee
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x3c00f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3c00f
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r13, %rdi
je 0x3c031
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3c031
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r12, %rdi
je 0x3c053
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3c053
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0x3c06f
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3c06f
movq %rax, %rbx
leaq 0x118(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3c095
movq 0x118(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3c095
movq %rax, %rbx
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3c0bb
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3c0bb
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
cmpq %r14, %rdi
je 0x3c130
movq 0xd8(%rsp), %rsi
incq %rsi
jmp 0x3c126
jmp 0x3c12d
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x3c0fd
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3c0fd
jmp 0x3c0fa
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x3c11e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3c11e
movq %rax, %rbx
movl $0x80, %esi
movq %rbp, %rdi
callq 0xa5a0
jmp 0x3c130
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x3c14c
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xa5a0
movq %rbx, %rdi
callq 0xaa10