// File: /workspace/github_cpp_makefile_star2_O2/jovermann[P]streplace/src/streplace.cpp
// Function: Rule::Rule(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool)
Rule(const std::string& rule, const std::string& separator, bool noRegex)
    {
        std::vector<std::string> sides = ut1::splitString(rule, separator);
        if (sides.size() != 2)
        {
            throw Error("Rule \"" + rule + "\" must contain exactly one separator '" + separator + "' (got " + std::to_string(sides.size() - 1) + ")." + ((sides.size() >= 2) ? " You can choose a different/unique separator string using --equals to avoid conflicts with the left and right side of the rule." : ""));
        }
        lhs = std::move(sides[0]);
        rhs = ut1::compileCString(sides[1]);
        if (noRegex)
        {
            lhs = ut1::quoteRegexChars(lhs);
        }
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movl %ecx, %ebp
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
xorl %eax, %eax
movb %al, 0x10(%rdi)
leaq 0x20(%rdi), %r14
leaq 0x30(%rdi), %rcx
movq %rcx, 0x20(%rdi)
andq $0x0, 0x28(%rdi)
movb %al, 0x30(%rdi)
andq $0x0, 0x40(%rdi)
movq %rsp, %rdi
pushq $-0x1
popq %rcx
callq 0x9238
movq (%rsp), %rsi
movq 0x8(%rsp), %rax
subq %rsi, %rax
cmpq $0x40, %rax
jne 0xcadd
movq %rbx, %rdi
callq 0x5500
movq (%rsp), %rsi
addq $0x20, %rsi
leaq 0x18(%rsp), %rdi
xorl %edx, %edx
callq 0x8e8d
leaq 0x18(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x5500
movq %r15, %rdi
callq 0x51f0
testb %bpl, %bpl
je 0xcac3
leaq 0x18(%rsp), %rdi
movq %rbx, %rsi
callq 0x97b6
leaq 0x18(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5500
movq %r14, %rdi
callq 0x51f0
movq %rsp, %rdi
callq 0x7646
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x5210
movq %rax, %r15
leaq 0xf60d(%rip), %rsi      # 0x1c0fc
leaq 0x58(%rsp), %rdi
movq %r13, %rdx
callq 0x7667
leaq 0xf600(%rip), %rdx      # 0x1c103
leaq 0x78(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x76f8
leaq 0x98(%rsp), %rdi
leaq 0x78(%rsp), %rsi
movq %r12, %rdx
callq 0xccc1
leaq 0xf5fc(%rip), %rdx      # 0x1c12a
leaq 0xb8(%rsp), %rdi
leaq 0x98(%rsp), %rsi
callq 0x76f8
movq 0x8(%rsp), %rsi
subq (%rsp), %rsi
sarq $0x5, %rsi
decq %rsi
leaq 0x38(%rsp), %rdi
callq 0xcce0
leaq 0xd8(%rsp), %rdi
leaq 0xb8(%rsp), %rsi
leaq 0x38(%rsp), %rdx
callq 0x7aa6
leaq 0xf487(%rip), %rdx      # 0x1c005
leaq 0xf8(%rsp), %rdi
leaq 0xd8(%rsp), %rsi
callq 0x76f8
movq 0x8(%rsp), %rax
subq (%rsp), %rax
cmpq $0x21, %rax
leaq 0xf58b(%rip), %rax      # 0x1c132
leaq 0xe4fc(%rip), %rdx      # 0x1b0aa
cmovaeq %rax, %rdx
leaq 0x18(%rsp), %rdi
leaq 0xf8(%rsp), %rsi
callq 0x76f8
movb $0x1, %bpl
leaq 0x18(%rsp), %rsi
movq %r15, %rdi
callq 0xc7be
xorl %ebp, %ebp
leaq 0x1defb(%rip), %rsi     # 0x2aad8
leaq -0x2ac8(%rip), %rdx     # 0xa11c
movq %r15, %rdi
callq 0x56f0
movq %rax, %r12
leaq 0x18(%rsp), %rdi
callq 0x51f0
jmp 0xcc01
movq %rax, %r12
movb $0x1, %bpl
leaq 0xf8(%rsp), %rdi
callq 0x51f0
jmp 0xcc16
movq %rax, %r12
movb $0x1, %bpl
leaq 0xd8(%rsp), %rdi
callq 0x51f0
jmp 0xcc2b
movq %rax, %r12
movb $0x1, %bpl
leaq 0x38(%rsp), %rdi
callq 0x51f0
jmp 0xcc3d
movq %rax, %r12
movb $0x1, %bpl
leaq 0xb8(%rsp), %rdi
callq 0x51f0
jmp 0xcc52
movq %rax, %r12
movb $0x1, %bpl
leaq 0x98(%rsp), %rdi
callq 0x51f0
jmp 0xcc67
movq %rax, %r12
movb $0x1, %bpl
leaq 0x78(%rsp), %rdi
callq 0x51f0
jmp 0xcc79
movq %rax, %r12
movb $0x1, %bpl
leaq 0x58(%rsp), %rdi
callq 0x51f0
testb %bpl, %bpl
jne 0xcc8f
jmp 0xcc9c
jmp 0xcc99
movq %rax, %r12
movq %r15, %rdi
callq 0x5330
jmp 0xcc9c
movq %rax, %r12
movq %rsp, %rdi
callq 0x7646
jmp 0xcca9
movq %rax, %r12
movq %r14, %rdi
callq 0x51f0
movq %rbx, %rdi
callq 0x51f0
movq %r12, %rdi
callq 0x5730