// File: /workspace/github_cpp_makefile_star2_O1/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 0x3c26b
leaq 0x70(%r14), %r15
leaq 0x28(%rsp), %r13
cmpq $0x0, (%r15)
jne 0x3c24d
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 0x51c2a
movl %eax, %r12d
testb %al, %al
je 0x3c22c
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 0x2c652
movq %r13, %rdi
leaq 0x5117c(%rip), %rsi     # 0x8d2e6
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 0x3c1a9
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x3c1af
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 0x51a64
movq %r15, %rdi
movq %rbp, %rsi
callq 0x74fe4
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x3c1ff
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x3c21b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
callq 0xa070
movl $0x0, (%rax)
cmpq $0x0, (%r15)
je 0x3c2a4
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x3c248
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xa5a0
testb %r12b, %r12b
je 0x3c290
movq (%r15), %rdi
movq %rbx, %rsi
callq 0x3c0d0
testb %al, %al
jne 0x3c28c
movq %r15, %rdi
xorl %esi, %esi
callq 0x74fe4
jmp 0x3c0fa
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 0x51c2a
movb $0x1, %al
jmp 0x3c292
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 0x3c33c
leaq 0xd8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x50672(%rip), %rsi     # 0x8c936
leaq 0x5067e(%rip), %rdx     # 0x8c949
leaq 0xc8(%rsp), %rdi
callq 0x2fdd8
leaq 0xe8(%rsp), %rdi
movl $0xd80, %esi            # imm = 0xD80
callq 0x2d60a
leaq 0x108(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
leaq 0xe8(%rsp), %rdx
callq 0x2d562
leaq 0x4e8d7(%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 0x3c346
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x3c353
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 0x51bd4(%rip), %rsi     # 0x8df53
leaq 0x51c08(%rip), %rdx     # 0x8df8e
leaq 0xa8(%rsp), %rdi
callq 0x2fdd8
leaq 0x50599(%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 0x3c3cc
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x3c3df
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 0x2d562
leaq 0x51b7b(%rip), %rsi     # 0x8df8f
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 0x3c444
movups (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x3c451
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 0x3523b
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x3c496
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3c496
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x3c4b7
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3c4b7
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r13, %rdi
je 0x3c4d9
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3c4d9
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r12, %rdi
je 0x3c4fb
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3c4fb
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0x3c517
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3c517
movq %rax, %rbx
leaq 0x118(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3c53d
movq 0x118(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3c53d
movq %rax, %rbx
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3c563
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3c563
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
cmpq %r14, %rdi
je 0x3c5d8
movq 0xd8(%rsp), %rsi
incq %rsi
jmp 0x3c5ce
jmp 0x3c5d5
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x3c5a5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3c5a5
jmp 0x3c5a2
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x3c5c6
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3c5c6
movq %rax, %rbx
movl $0x80, %esi
movq %rbp, %rdi
callq 0xa5a0
jmp 0x3c5d8
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x3c5f4
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xa5a0
movq %rbx, %rdi
callq 0xaa10