// File: /workspace/github_cpp_makefile_star2_O3/williewillus[P]panda_scratchpad/src/checker/DiskContents.cpp
// Function: DiskContents::makeFiles(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::basic_ofstream<char, std::char_traits<char>>&)
bool DiskContents::makeFiles(string base_path, ofstream &diff_file) {
  get_contents(base_path.c_str());
  for (auto &i : contents) {
    if (S_ISDIR((i.second).stat_attr.st_mode)) {
      string filepath = base_path + i.first + "/" + "_dummy";
      int fd = open(filepath.c_str(), O_CREAT|O_RDWR);
      if (fd < 0) {
        diff_file <<  "Couldn't create file " << filepath << endl;
        cout <<  "Couldn't create file " << filepath << endl;
        return false;
      }
      close(fd);
    }
  }
  return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, -0x30(%rbp)
movq %rdi, %rbx
movq %rsi, -0x60(%rbp)
movq (%rsi), %rsi
callq 0x10f38
movq 0x80(%rbx), %r13
addq $0x70, %rbx
movb $0x1, %al
cmpq %rbx, %r13
je 0x13606
leaq -0x70(%rbp), %r14
leaq -0x40(%rbp), %r12
movq %rbx, -0x58(%rbp)
movl 0x170(%r13), %eax
movl $0xf000, %ecx           # imm = 0xF000
andl %ecx, %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0x135ec
leaq 0x20(%r13), %rdx
leaq -0xa0(%rbp), %r15
movq %r15, %rdi
movq -0x60(%rbp), %rsi
callq 0x13967
movq %r15, %rdi
leaq 0x21b4(%rip), %rsi      # 0x1560a
callq 0x5860
movq %r14, -0x80(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1347b
movq %rdx, -0x80(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x70(%rbp)
jmp 0x13482
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, -0x78(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x80(%rbp), %rdi
leaq 0x22f5(%rip), %rsi      # 0x15799
callq 0x5860
movq %r12, -0x50(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x134c9
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0x134d1
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, -0x48(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x80(%rbp), %rdi
cmpq %r14, %rdi
je 0x134f6
callq 0x5460
movq -0xa0(%rbp), %rdi
leaq -0x90(%rbp), %rax
cmpq %rax, %rdi
je 0x1350e
callq 0x5460
movq -0x50(%rbp), %rdi
movl $0x42, %esi
xorl %eax, %eax
callq 0x5330
movl %eax, %ebx
testl %eax, %eax
js 0x13530
movl %ebx, %edi
callq 0x5890
jmp 0x135d6
movl $0x15, %edx
movq -0x30(%rbp), %rdi
leaq 0x2260(%rip), %rsi      # 0x157a0
callq 0x54f0
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq -0x30(%rbp), %rdi
callq 0x54f0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x5470
movsbl %al, %esi
movq %r15, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5300
movl $0x15, %edx
movq 0x8a3c(%rip), %rdi      # 0x1bfc8
leaq 0x220d(%rip), %rsi      # 0x157a0
callq 0x54f0
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq 0x8a21(%rip), %rdi      # 0x1bfc8
callq 0x54f0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x5470
movsbl %al, %esi
movq %r15, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5300
movq -0x50(%rbp), %rdi
cmpq %r12, %rdi
je 0x135e4
callq 0x5460
testl %ebx, %ebx
movq -0x58(%rbp), %rbx
js 0x13604
movq %r13, %rdi
callq 0x5310
movq %rax, %r13
cmpq %rbx, %rax
jne 0x1341c
movb $0x1, %al
jmp 0x13606
xorl %eax, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x80(%rbp), %rdi
cmpq %r14, %rdi
je 0x1362b
callq 0x5460
jmp 0x1362b
movq %rax, %rbx
movq -0xa0(%rbp), %rdi
leaq -0x90(%rbp), %rax
cmpq %rax, %rdi
jne 0x1364c
jmp 0x13651
movq %rax, %rbx
movq -0x50(%rbp), %rdi
cmpq %r12, %rdi
je 0x13651
callq 0x5460
movq %rbx, %rdi
callq 0x57c0
nop