// File: /workspace/github_cpp_makefile_star2_O1/jovermann[P]streplace/src/streplace.cpp
// Function: Streplace::processDirectory(std::filesystem::__cxx11::directory_entry const&)
void processDirectory(const std::filesystem::directory_entry& directoryEntry)
    {
        if (recursive && (!skipDir(directoryEntry.path())))
        {
            if (verbose >= 2)
            {
                std::cout << "Processing dir " << directoryEntry.path().string() << ".\n";
            }

            // Note: Take a copy of each directory_entry intentionally,
            // because we will potentially modify it (rename) in processDirectoryEntry.
            for (std::filesystem::directory_entry entry: std::filesystem::directory_iterator(directoryEntry))
            {
                processDirectoryEntry(entry);
            }

            numDirsProcessed++;
        }
        else
        {
            std::cout << "Ignoring dir " << directoryEntry.path().string() << ".\n";
            numIgnored++;
        }
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rsi, %r14
movq %rdi, %rbx
cmpb $0x1, (%rdi)
jne 0x1186f
movq %rbx, %rdi
movq %r14, %rsi
callq 0x20970
testb %al, %al
je 0x118ef
movq 0x1c742(%rip), %r15     # 0x2dfb8
leaq 0x11262(%rip), %rsi     # 0x22adf
movl $0xd, %edx
movq %r15, %rdi
callq 0x54b0
movq (%r14), %rsi
leaq 0x20(%rsp), %r12
movq 0x8(%r14), %rdx
addq %rsi, %rdx
movq %r12, -0x10(%r12)
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x90b2
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r15, %rdi
callq 0x54b0
leaq 0x1004c(%rip), %rsi     # 0x2190d
movl $0x2, %edx
movq %rax, %rdi
callq 0x54b0
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x118e5
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x5410
movl $0x78, %eax
jmp 0x11a42
cmpl $0x2, 0x4(%rbx)
jb 0x1196c
movq 0x1c6bc(%rip), %r15     # 0x2dfb8
leaq 0x111cc(%rip), %rsi     # 0x22acf
movl $0xf, %edx
movq %r15, %rdi
callq 0x54b0
movq (%r14), %rsi
leaq 0x20(%rsp), %r13
movq 0x8(%r14), %rdx
addq %rsi, %rdx
movq %r13, -0x10(%r13)
leaq 0x10(%rsp), %r12
movq %r12, %rdi
callq 0x90b2
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r15, %rdi
callq 0x54b0
leaq 0xffc5(%rip), %rsi      # 0x2190d
movl $0x2, %edx
movq %rax, %rdi
callq 0x54b0
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x1196c
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x5410
leaq 0x40(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x5240
movq (%r15), %rax
movq 0x8(%r15), %rcx
testq %rcx, %rcx
je 0x119a1
movq 0x1c61d(%rip), %rdx     # 0x2dfb0
cmpb $0x0, (%rdx)
je 0x1199d
incl 0x8(%rcx)
jmp 0x119a1
lock
incl 0x8(%rcx)
movq %rax, (%rsp)
movq %rcx, 0x8(%rsp)
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x119d3
movq 0x1c5f5(%rip), %rax     # 0x2dfb0
cmpb $0x0, (%rax)
je 0x119c5
incl 0x8(%rdi)
jmp 0x119c9
lock
incl 0x8(%rdi)
testq %rdi, %rdi
je 0x119d3
callq 0x1ffac
movq %rsp, %r14
leaq 0x10(%rsp), %r15
cmpq $0x0, 0x8(%rsp)
je 0x11a1f
movq %r14, %rdi
callq 0x5760
movq %rax, %r12
movq %r15, %rdi
movq %rax, %rsi
callq 0x110aa
movb 0x28(%r12), %al
movb %al, 0x38(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe1b4
movq %r15, %rdi
callq 0xe0dc
movq %r14, %rdi
callq 0x5140
jmp 0x119db
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x11a2e
callq 0x1ffac
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x11a3d
callq 0x1ffac
movl $0xa8, %eax
incq (%rbx,%rax)
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
jne 0x11a70
jmp 0x11ab1
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x11ab1
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x5410
jmp 0x11ab1
jmp 0x11a90
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xe0dc
jmp 0x11a93
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x11aa2
callq 0x1ffac
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x11ab1
callq 0x1ffac
movq %rbx, %rdi
callq 0x5720
nop