// File: /workspace/github_cpp_makefile_star2_O3/LiuYinCarl[P]headerFileAnalysis/headerFileAnalysis.cpp
// Function: WalkMan::walk_dir()
void WalkMan::walk_dir() {
  std::queue<fs::path>dirs;
  dirs.push(base_dir);
  fs::path cur_dir;

  while (!dirs.empty()) {
    cur_dir = std::move(dirs.front());
    dirs.pop();
    for (auto& entry : fs::directory_iterator{cur_dir}) {
      if (entry.is_regular_file()) {
	if (is_source_code(entry.path().extension())) {
	  source_file_paths.push_back(entry.path());
	}
      } else if (entry.is_directory()) {
	dirs.push(entry.path());
      }
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
leaq 0x50(%rsp), %r14
movaps %xmm0, 0x40(%r14)
movaps %xmm0, 0x30(%r14)
movaps %xmm0, 0x20(%r14)
movaps %xmm0, 0x10(%r14)
movaps %xmm0, (%r14)
movq %r14, %rdi
xorl %esi, %esi
callq 0x75f8
movq %rbx, 0x18(%rsp)
leaq 0xc8(%rbx), %rsi
movq %r14, %rdi
callq 0x77ba
leaq 0xa8(%rsp), %r12
movq %r12, %rdi
callq 0x64d2
movq 0x60(%rsp), %rsi
cmpq %rsi, 0x80(%rsp)
je 0x5953
addq $0xf0, 0x18(%rsp)
leaq 0x8(%rsp), %rbp
leaq 0x30(%rsp), %r15
leaq 0xd0(%rsp), %r13
movq %r12, %rbx
cmpq %r12, %rsi
je 0x57b2
movq %r12, %rdi
leaq 0xc8(%rsp), %rdx
callq 0x45c4
leaq 0x50(%rsp), %rdi
callq 0x7a44
leaq 0x20(%rsp), %rdi
movq %r12, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x41d0
movq 0x20(%rsp), %rax
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x57f7
movq 0x1d7cd(%rip), %rcx     # 0x22fb0
cmpb $0x0, (%rcx)
je 0x5807
incl 0x8(%rdi)
movq %rax, 0x8(%rsp)
movq %rdi, 0x10(%rsp)
jmp 0x5822
movq %rax, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
jmp 0x583c
lock
incl 0x8(%rdi)
movq %rax, 0x8(%rsp)
movq %rdi, 0x10(%rsp)
movq 0x28(%rsp), %rax
movq %rax, %rdi
testq %rax, %rax
je 0x583c
movq 0x1d787(%rip), %rax     # 0x22fb0
cmpb $0x0, (%rax)
je 0x5833
incl 0x8(%rdi)
jmp 0x5837
lock
incl 0x8(%rdi)
callq 0x69f0
cmpq $0x0, 0x10(%rsp)
je 0x5931
movq %rbp, %rdi
callq 0x4510
movq %rax, %r14
movzbl 0x28(%rax), %eax
cmpl $0x3, %eax
je 0x5860
testl %eax, %eax
jne 0x5868
movq %r14, %rdi
callq 0x4120
cmpb $0x1, %al
jne 0x58cb
movq %r14, %rdi
callq 0x4140
testq %rax, %rax
setne %cl
cmpq $-0x1, %rdx
setne %sil
andb %cl, %sil
cmpb $0x1, %sil
jne 0x58f4
movq %r15, %rdi
movq %rax, %rsi
movq $-0x1, %rcx
callq 0x4360
movq %r13, %rdi
movq %r15, %rsi
movl $0x2, %edx
callq 0x6a60
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x58fc
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x4330
jmp 0x58fc
movzbl 0x28(%r14), %eax
cmpl $0x3, %eax
je 0x58d9
testl %eax, %eax
jne 0x58e1
movq %r14, %rdi
callq 0x4120
cmpb $0x2, %al
jne 0x5924
leaq 0x50(%rsp), %rdi
movq %r14, %rsi
callq 0x77ba
jmp 0x5924
movq %r13, %rdi
callq 0x64d2
movq %r13, %rsi
callq 0x568e
movl %eax, %r12d
movq %r13, %rdi
callq 0x660a
testb %r12b, %r12b
movq %rbx, %r12
je 0x5924
movq 0x18(%rsp), %rdi
movq %r14, %rsi
callq 0x6642
movq %rbp, %rdi
callq 0x40e0
jmp 0x583c
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x5940
callq 0x69f0
movq 0x60(%rsp), %rsi
cmpq %rsi, 0x80(%rsp)
jne 0x579d
leaq 0xa8(%rsp), %rdi
callq 0x660a
leaq 0x50(%rsp), %rdi
callq 0x6b9a
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x59d7
movq %rax, %rbx
jmp 0x59ca
movq %rax, %rbx
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x59ac
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x4330
jmp 0x59ac
jmp 0x59a9
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x59bb
callq 0x69f0
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x59ca
callq 0x69f0
leaq 0xa8(%rsp), %rdi
callq 0x660a
leaq 0x50(%rsp), %rdi
callq 0x6b9a
movq %rbx, %rdi
callq 0x44e0
nop