// File: /workspace/github_cpp_makefile_star2_O1/jovermann[P]streplace/src/streplace.cpp
// Function: Streplace::processSymlink(std::filesystem::__cxx11::directory_entry const&)
void processSymlink(const std::filesystem::directory_entry& directoryEntry)
    {
        if (modifySymlinks)
        {
            if (verbose >= 2)
            {
                std::cout << "Processing symlink " << directoryEntry.path().string() << ".\n";
            }
            std::string oldp = std::filesystem::read_symlink(directoryEntry);
            std::string newp = applyAllRules(oldp);
            if (newp != oldp)
            {
                if (verbose)
                {
                    std::cout << "Modifying symlink target of " << directoryEntry.path().string() << ": " << oldp << " -> " << newp << ".\n";
                }
                if (!dummyMode)
                {
                    std::filesystem::remove(directoryEntry);
                    std::filesystem::create_symlink(newp, directoryEntry);
                }
                numSymlinksModified++;
            }
            numSymlinksProcessed++;
        }
        else
        {
            if (verbose >= 2)
            {
                std::cout << "Ignoring symlink " << directoryEntry.path() << ".\n";
            }
            numIgnored++;
        }
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x70, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movl 0x4(%rdi), %eax
cmpb $0x1, 0x12(%rdi)
jne 0x11431
cmpl $0x2, %eax
jb 0x1126c
movq 0x1cdbc(%rip), %r15     # 0x2dfb8
leaq 0x11858(%rip), %rsi     # 0x22a5b
movl $0x13, %edx
movq %r15, %rdi
callq 0x54b0
movq (%r14), %rsi
leaq 0x18(%rsp), %r13
movq 0x8(%r14), %rdx
addq %rsi, %rdx
movq %r13, -0x10(%r13)
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x90b2
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r15, %rdi
callq 0x54b0
leaq 0x106c5(%rip), %rsi     # 0x2190d
movl $0x2, %edx
movq %rax, %rdi
callq 0x54b0
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x1126c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5410
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x5510
leaq 0x40(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x30(%rsp), %rdi
callq 0x9022
leaq 0x8(%rsp), %rdi
callq 0xe0dc
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rdx
movq %rbx, %rsi
xorl %ecx, %ecx
callq 0x11100
movq 0x58(%rsp), %rdx
cmpq 0x38(%rsp), %rdx
jne 0x112e4
testq %rdx, %rdx
je 0x113f6
movq 0x30(%rsp), %rsi
movq 0x50(%rsp), %rdi
callq 0x5440
testl %eax, %eax
je 0x113f6
cmpl $0x0, 0x4(%rbx)
je 0x113b6
movq 0x1ccc3(%rip), %rdi     # 0x2dfb8
leaq 0x11773(%rip), %rsi     # 0x22a6f
movl $0x1c, %edx
callq 0x54b0
movq (%r14), %rsi
leaq 0x18(%rsp), %r13
movq 0x8(%r14), %rdx
addq %rsi, %rdx
movq %r13, -0x10(%r13)
leaq 0x8(%rsp), %rdi
callq 0x90b2
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x1cc84(%rip), %rdi     # 0x2dfb8
callq 0x54b0
movq %rax, %r15
leaq 0xfe31(%rip), %rsi      # 0x21174
movl $0x2, %edx
movq %rax, %rdi
callq 0x54b0
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
movq %r15, %rdi
callq 0x54b0
movq %rax, %r15
leaq 0x10e58(%rip), %rsi     # 0x221c4
movl $0x4, %edx
movq %rax, %rdi
callq 0x54b0
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
movq %r15, %rdi
callq 0x54b0
leaq 0x1057b(%rip), %rsi     # 0x2190d
movl $0x2, %edx
movq %rax, %rdi
callq 0x54b0
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x113b6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5410
cmpb $0x0, 0x8(%rbx)
jne 0x113ef
movq %r14, %rdi
callq 0x5360
leaq 0x8(%rsp), %rdi
leaq 0x50(%rsp), %rsi
movl $0x2, %edx
callq 0xe05c
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x57d0
leaq 0x8(%rsp), %rdi
callq 0xe0dc
incq 0xa0(%rbx)
incq 0x98(%rbx)
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11418
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5410
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x11474
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5410
jmp 0x11474
cmpl $0x2, %eax
jb 0x11470
movq 0x1cb7b(%rip), %r15     # 0x2dfb8
leaq 0x11648(%rip), %rsi     # 0x22a8c
movl $0x11, %edx
movq %r15, %rdi
callq 0x54b0
movq %r15, %rdi
movq %r14, %rsi
callq 0x2001b
leaq 0x104aa(%rip), %rsi     # 0x2190d
movl $0x2, %edx
movq %rax, %rdi
callq 0x54b0
incq 0x78(%rbx)
addq $0x70, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xe0dc
jmp 0x114dc
jmp 0x11495
jmp 0x11495
movq %rax, %rbx
jmp 0x114dc
movq %rax, %rbx
jmp 0x114f7
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xe0dc
jmp 0x1150e
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x1150e
movq 0x18(%rsp), %rsi
jmp 0x11506
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x114dc
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5410
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x114f7
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5410
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x1150e
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5410
movq %rbx, %rdi
callq 0x5720