// File: /workspace/github_cpp_makefile_star2_O3/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 0x11410
cmpl $0x2, %eax
jb 0x11244
movq 0x1cddc(%rip), %r15     # 0x2dfb0
leaq 0x11880(%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 0x9172
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r15, %rdi
callq 0x54b0
leaq 0x106ed(%rip), %rsi     # 0x2190d
movl $0x2, %edx
movq %rax, %rdi
callq 0x54b0
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x11244
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5410
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x5510
leaq 0x60(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x50(%rsp), %rdi
callq 0x90dc
leaq 0x8(%rsp), %rdi
callq 0xdfea
leaq 0x30(%rsp), %rdi
leaq 0x50(%rsp), %rdx
movq %rbx, %rsi
xorl %ecx, %ecx
callq 0x110d8
movq 0x38(%rsp), %rdx
cmpq 0x58(%rsp), %rdx
jne 0x112bf
movq 0x30(%rsp), %r15
testq %rdx, %rdx
je 0x113d6
movq 0x50(%rsp), %rsi
movq %r15, %rdi
callq 0x5440
testl %eax, %eax
je 0x113d6
cmpl $0x0, 0x4(%rbx)
je 0x11391
movq 0x1cce0(%rip), %rdi     # 0x2dfb0
leaq 0x11798(%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 0x9172
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x1cca1(%rip), %rdi     # 0x2dfb0
callq 0x54b0
movq %rax, %r15
leaq 0xfe56(%rip), %rsi      # 0x21174
movl $0x2, %edx
movq %rax, %rdi
callq 0x54b0
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
movq %r15, %rdi
callq 0x54b0
movq %rax, %r15
leaq 0x10e7d(%rip), %rsi     # 0x221c4
movl $0x4, %edx
movq %rax, %rdi
callq 0x54b0
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
movq %r15, %rdi
callq 0x54b0
leaq 0x105a0(%rip), %rsi     # 0x2190d
movl $0x2, %edx
movq %rax, %rdi
callq 0x54b0
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x11391
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5410
cmpb $0x0, 0x8(%rbx)
jne 0x113ca
movq %r14, %rdi
callq 0x5360
leaq 0x8(%rsp), %rdi
leaq 0x30(%rsp), %rsi
movl $0x2, %edx
callq 0xdf6a
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x57d0
leaq 0x8(%rsp), %rdi
callq 0xdfea
incq 0xa0(%rbx)
movq 0x30(%rsp), %r15
incq 0x98(%rbx)
leaq 0x40(%rsp), %rax
cmpq %rax, %r15
je 0x113f7
movq 0x40(%rsp), %rsi
incq %rsi
movq %r15, %rdi
callq 0x5410
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x11453
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5410
jmp 0x11453
cmpl $0x2, %eax
jb 0x1144f
movq 0x1cb94(%rip), %r15     # 0x2dfb0
leaq 0x11669(%rip), %rsi     # 0x22a8c
movl $0x11, %edx
movq %r15, %rdi
callq 0x54b0
movq %r15, %rdi
movq %r14, %rsi
callq 0x1ffb1
leaq 0x104cb(%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 0xdfea
jmp 0x114bb
jmp 0x11474
jmp 0x11474
movq %rax, %rbx
jmp 0x114bb
movq %rax, %rbx
jmp 0x114d6
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xdfea
jmp 0x114ed
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x114ed
movq 0x18(%rsp), %rsi
jmp 0x114e5
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x114bb
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5410
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x114d6
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5410
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x114ed
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5410
movq %rbx, %rdi
callq 0x5720
nop