// File: /workspace/github_cpp_makefile_star2_O2/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 %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movl 0x4(%rdi), %eax
cmpb $0x1, 0x12(%rdi)
jne 0xd293
cmpl $0x2, %eax
jb 0xd16f
movq 0x1de80(%rip), %rdi     # 0x2afb0
leaq 0xf924(%rip), %rsi      # 0x1ca5b
callq 0x5400
movq %rax, %r15
movq %rsp, %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0xd030
movq %r15, %rdi
movq %r12, %rsi
callq 0x53c0
leaq 0xe7ae(%rip), %rsi      # 0x1b90d
movq %rax, %rdi
callq 0x5400
movq %rsp, %rdi
callq 0x51f0
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x5510
leaq 0x48(%rsp), %rdi
movq %r15, %rsi
callq 0x55d0
movq %rsp, %rdi
callq 0xb92c
leaq 0x28(%rsp), %rdi
leaq 0x48(%rsp), %rdx
movq %rbx, %rsi
xorl %ecx, %ecx
callq 0xd04c
leaq 0x28(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x7a35
testb %al, %al
je 0xd276
cmpl $0x0, 0x4(%rbx)
je 0xd23e
movq 0x1dde6(%rip), %rdi     # 0x2afb0
leaq 0xf89e(%rip), %rsi      # 0x1ca6f
callq 0x5400
movq %rax, %r15
movq %rsp, %rdi
movq %r14, %rsi
callq 0xd030
movq %rsp, %rsi
movq %r15, %rdi
callq 0x53c0
leaq 0xdf7e(%rip), %rsi      # 0x1b174
movq %rax, %rdi
callq 0x5400
leaq 0x48(%rsp), %rsi
movq %rax, %rdi
callq 0x53c0
leaq 0xefb2(%rip), %rsi      # 0x1c1c4
movq %rax, %rdi
callq 0x5400
leaq 0x28(%rsp), %rsi
movq %rax, %rdi
callq 0x53c0
leaq 0xe6df(%rip), %rsi      # 0x1b90d
movq %rax, %rdi
callq 0x5400
movq %rsp, %rdi
callq 0x51f0
cmpb $0x0, 0x8(%rbx)
jne 0xd26f
movq %r14, %rdi
callq 0x5380
movq %rsp, %rdi
leaq 0x28(%rsp), %rsi
pushq $0x2
popq %rdx
callq 0xb8c4
movq %rsp, %rdi
movq %r14, %rsi
callq 0x57d0
movq %rsp, %rdi
callq 0xb92c
incq 0xa0(%rbx)
incq 0x98(%rbx)
leaq 0x28(%rsp), %rdi
callq 0x51f0
leaq 0x48(%rsp), %rdi
callq 0x51f0
jmp 0xd2c9
cmpl $0x2, %eax
jb 0xd2c5
movq 0x1dd11(%rip), %rdi     # 0x2afb0
leaq 0xf7e6(%rip), %rsi      # 0x1ca8c
callq 0x5400
movq %rax, %rdi
movq %r14, %rsi
callq 0x19d64
leaq 0xe650(%rip), %rsi      # 0x1b90d
movq %rax, %rdi
callq 0x5400
incq 0x78(%rbx)
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0xb92c
jmp 0xd310
jmp 0xd2e6
jmp 0xd2e6
movq %rax, %rbx
jmp 0xd310
movq %rax, %rbx
jmp 0xd31a
movq %rax, %rbx
movq %rsp, %rdi
callq 0xb92c
jmp 0xd324
movq %rax, %rbx
movq %rsp, %rdi
jmp 0xd31f
movq %rax, %rbx
movq %rsp, %rdi
callq 0x51f0
leaq 0x28(%rsp), %rdi
callq 0x51f0
leaq 0x48(%rsp), %rdi
callq 0x51f0
movq %rbx, %rdi
callq 0x5730