// File: /workspace/github_cpp_makefile_star2_O1/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 0x7660
movq %rbx, 0x8(%rsp)
leaq 0xc8(%rbx), %rsi
movq %r14, %rdi
callq 0x7822
leaq 0xa8(%rsp), %r12
movq %r12, %rdi
callq 0x656c
movq 0x60(%rsp), %rsi
cmpq %rsi, 0x80(%rsp)
je 0x59e0
addq $0xf0, 0x8(%rsp)
leaq 0x10(%rsp), %rbp
leaq 0x30(%rsp), %r15
leaq 0xd0(%rsp), %r13
movq %r12, %rbx
cmpq %r12, %rsi
je 0x5848
movq %r12, %rdi
leaq 0xc8(%rsp), %rdx
callq 0x45c6
leaq 0x50(%rsp), %rdi
callq 0x7aac
leaq 0x20(%rsp), %rdi
movq %r12, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x41d0
movq 0x20(%rsp), %rax
movq 0x28(%rsp), %rcx
testq %rcx, %rcx
je 0x5887
movq 0x1d737(%rip), %rdx     # 0x22fb0
cmpb $0x0, (%rdx)
je 0x5883
incl 0x8(%rcx)
jmp 0x5887
lock
incl 0x8(%rcx)
movq %rax, 0x10(%rsp)
movq %rcx, 0x18(%rsp)
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x58ba
movq 0x1d70e(%rip), %rax     # 0x22fb0
cmpb $0x0, (%rax)
je 0x58ac
incl 0x8(%rdi)
jmp 0x58b0
lock
incl 0x8(%rdi)
testq %rdi, %rdi
je 0x58ba
callq 0x6a74
cmpq $0x0, 0x18(%rsp)
je 0x59af
movq %rbp, %rdi
callq 0x4510
movq %rax, %r14
movzbl 0x28(%rax), %eax
cmpl $0x3, %eax
je 0x58de
testl %eax, %eax
jne 0x58e6
movq %r14, %rdi
callq 0x4120
cmpb $0x1, %al
jne 0x5949
movq %r14, %rdi
callq 0x4140
testq %rax, %rax
setne %cl
cmpq $-0x1, %rdx
setne %sil
andb %cl, %sil
cmpb $0x1, %sil
jne 0x5972
movq %r15, %rdi
movq %rax, %rsi
movq $-0x1, %rcx
callq 0x4360
movq %r13, %rdi
movq %r15, %rsi
movl $0x2, %edx
callq 0x6ae4
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x597a
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x4330
jmp 0x597a
movzbl 0x28(%r14), %eax
cmpl $0x3, %eax
je 0x5957
testl %eax, %eax
jne 0x595f
movq %r14, %rdi
callq 0x4120
cmpb $0x2, %al
jne 0x59a2
leaq 0x50(%rsp), %rdi
movq %r14, %rsi
callq 0x7822
jmp 0x59a2
movq %r13, %rdi
callq 0x656c
movq %r13, %rsi
callq 0x570e
movl %eax, %r12d
movq %r13, %rdi
callq 0x6698
testb %r12b, %r12b
movq %rbx, %r12
je 0x59a2
movq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x66d0
movq %rbp, %rdi
callq 0x40e0
jmp 0x58ba
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x59be
callq 0x6a74
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x59cd
callq 0x6a74
movq 0x60(%rsp), %rsi
cmpq %rsi, 0x80(%rsp)
jne 0x5833
leaq 0xa8(%rsp), %rdi
callq 0x6698
leaq 0x50(%rsp), %rdi
callq 0x6c18
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x5a64
movq %rax, %rbx
jmp 0x5a57
movq %rax, %rbx
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x5a39
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x4330
jmp 0x5a39
jmp 0x5a36
movq %rax, %rbx
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x5a48
callq 0x6a74
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x5a57
callq 0x6a74
leaq 0xa8(%rsp), %rdi
callq 0x6698
leaq 0x50(%rsp), %rdi
callq 0x6c18
movq %rbx, %rdi
callq 0x44e0