// File: Merulo[P]CompilerJFTT/src/Calculators/MathOperations.cpp
// Function: MathOperations::generateModuloTwo(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, Line)
std::vector<Line> MathOperations::generateModuloTwo(
    std::string registerB, Line l
)
{
    std::vector<Line> lines;
    std::string label4 = generateLabel();
    lines.push_back({"JODD", registerB, label4});
    lines.push_back({"SUB", registerB, registerB});
    std::string label6 = generateLabel();

    lines.push_back({"JUMP", "", label6}); 

    lines.push_back({label4});  
    lines.push_back({"SUB", registerB, registerB});
    lines.push_back({"INC", registerB});
    lines.push_back({label6});

    return lines;
}

// Assembly:
subq $0x6b8, %rsp            # imm = 0x6B8
movq %rsi, 0x60(%rsp)
movq %rdi, 0x68(%rsp)
movq %rdi, %rax
movq %rax, 0x70(%rsp)
movq %rdi, 0x6b0(%rsp)
movq %rsi, 0x6a8(%rsp)
movq %rdx, 0x6a0(%rsp)
movb $0x0, 0x69f(%rsp)
callq 0xda20
leaq 0x678(%rsp), %rdi
callq 0x15910
jmp 0x1cbed
leaq 0x5df(%rsp), %rdi
movq %rdi, 0x58(%rsp)
callq 0x4600
movq 0x58(%rsp), %rdx
leaq 0x345af(%rip), %rsi     # 0x511ba
leaq 0x5e0(%rsp), %rdi
callq 0x4f10
jmp 0x1cc1a
movq 0x60(%rsp), %rsi
leaq 0x5b8(%rsp), %rdi
callq 0x4180
jmp 0x1cc2e
leaq 0x598(%rsp), %rdi
leaq 0x678(%rsp), %rsi
callq 0x4180
jmp 0x1cc45
leaq 0x600(%rsp), %rdi
leaq 0x5e0(%rsp), %rsi
leaq 0x5b8(%rsp), %rdx
leaq 0x598(%rsp), %rcx
callq 0xd3b0
jmp 0x1cc6c
movq 0x68(%rsp), %rdi
leaq 0x600(%rsp), %rsi
callq 0xd380
jmp 0x1cc80
leaq 0x600(%rsp), %rdi
callq 0xd490
leaq 0x598(%rsp), %rdi
callq 0x46e8
leaq 0x5b8(%rsp), %rdi
callq 0x46e8
leaq 0x5e0(%rsp), %rdi
callq 0x46e8
leaq 0x5df(%rsp), %rdi
callq 0x43b0
leaq 0x50f(%rsp), %rdi
movq %rdi, 0x50(%rsp)
callq 0x4600
movq 0x50(%rsp), %rdx
leaq 0x343ef(%rip), %rsi     # 0x510ce
leaq 0x510(%rsp), %rdi
callq 0x4f10
jmp 0x1ccee
movq 0x60(%rsp), %rsi
leaq 0x4e8(%rsp), %rdi
callq 0x4180
jmp 0x1cd02
movq 0x60(%rsp), %rsi
leaq 0x4c8(%rsp), %rdi
callq 0x4180
jmp 0x1cd16
leaq 0x530(%rsp), %rdi
leaq 0x510(%rsp), %rsi
leaq 0x4e8(%rsp), %rdx
leaq 0x4c8(%rsp), %rcx
callq 0xd3b0
jmp 0x1cd3d
movq 0x68(%rsp), %rdi
leaq 0x530(%rsp), %rsi
callq 0xd380
jmp 0x1cd51
leaq 0x530(%rsp), %rdi
callq 0xd490
leaq 0x4c8(%rsp), %rdi
callq 0x46e8
leaq 0x4e8(%rsp), %rdi
callq 0x46e8
leaq 0x510(%rsp), %rdi
callq 0x46e8
leaq 0x50f(%rsp), %rdi
callq 0x43b0
leaq 0x4a8(%rsp), %rdi
callq 0x15910
jmp 0x1cda1
leaq 0x41f(%rsp), %rdi
movq %rdi, 0x48(%rsp)
callq 0x4600
movq 0x48(%rsp), %rdx
leaq 0x34405(%rip), %rsi     # 0x511c4
leaq 0x420(%rsp), %rdi
callq 0x4f10
jmp 0x1cdce
leaq 0x3f7(%rsp), %rdi
movq %rdi, 0x40(%rsp)
callq 0x4600
movq 0x40(%rsp), %rdx
leaq 0x3432f(%rip), %rsi     # 0x5111b
leaq 0x3f8(%rsp), %rdi
callq 0x4f10
jmp 0x1cdfb
leaq 0x3d0(%rsp), %rdi
leaq 0x4a8(%rsp), %rsi
callq 0x4180
jmp 0x1ce12
leaq 0x440(%rsp), %rdi
leaq 0x420(%rsp), %rsi
leaq 0x3f8(%rsp), %rdx
leaq 0x3d0(%rsp), %rcx
callq 0xd3b0
jmp 0x1ce39
movq 0x68(%rsp), %rdi
leaq 0x440(%rsp), %rsi
callq 0xd380
jmp 0x1ce4d
leaq 0x440(%rsp), %rdi
callq 0xd490
leaq 0x3d0(%rsp), %rdi
callq 0x46e8
leaq 0x3f8(%rsp), %rdi
callq 0x46e8
leaq 0x3f7(%rsp), %rdi
callq 0x43b0
leaq 0x420(%rsp), %rdi
callq 0x46e8
leaq 0x41f(%rsp), %rdi
callq 0x43b0
leaq 0x348(%rsp), %rdi
leaq 0x678(%rsp), %rsi
callq 0x4180
jmp 0x1ceb2
leaq 0x327(%rsp), %rdi
movq %rdi, 0x38(%rsp)
callq 0x4600
movq 0x38(%rsp), %rdx
leaq 0x3424b(%rip), %rsi     # 0x5111b
leaq 0x328(%rsp), %rdi
callq 0x4f10
jmp 0x1cedf
leaq 0x2ff(%rsp), %rdi
movq %rdi, 0x30(%rsp)
callq 0x4600
movq 0x30(%rsp), %rdx
leaq 0x3421e(%rip), %rsi     # 0x5111b
leaq 0x300(%rsp), %rdi
callq 0x4f10
jmp 0x1cf0c
leaq 0x368(%rsp), %rdi
leaq 0x348(%rsp), %rsi
leaq 0x328(%rsp), %rdx
leaq 0x300(%rsp), %rcx
callq 0xd3b0
jmp 0x1cf33
movq 0x68(%rsp), %rdi
leaq 0x368(%rsp), %rsi
callq 0xd380
jmp 0x1cf47
leaq 0x368(%rsp), %rdi
callq 0xd490
leaq 0x300(%rsp), %rdi
callq 0x46e8
leaq 0x2ff(%rsp), %rdi
callq 0x43b0
leaq 0x328(%rsp), %rdi
callq 0x46e8
leaq 0x327(%rsp), %rdi
callq 0x43b0
leaq 0x348(%rsp), %rdi
callq 0x46e8
leaq 0x26f(%rsp), %rdi
movq %rdi, 0x28(%rsp)
callq 0x4600
movq 0x28(%rsp), %rdx
leaq 0x3411b(%rip), %rsi     # 0x510ce
leaq 0x270(%rsp), %rdi
callq 0x4f10
jmp 0x1cfc2
movq 0x60(%rsp), %rsi
leaq 0x248(%rsp), %rdi
callq 0x4180
jmp 0x1cfd6
movq 0x60(%rsp), %rsi
leaq 0x228(%rsp), %rdi
callq 0x4180
jmp 0x1cfea
leaq 0x290(%rsp), %rdi
leaq 0x270(%rsp), %rsi
leaq 0x248(%rsp), %rdx
leaq 0x228(%rsp), %rcx
callq 0xd3b0
jmp 0x1d011
movq 0x68(%rsp), %rdi
leaq 0x290(%rsp), %rsi
callq 0xd380
jmp 0x1d025
leaq 0x290(%rsp), %rdi
callq 0xd490
leaq 0x228(%rsp), %rdi
callq 0x46e8
leaq 0x248(%rsp), %rdi
callq 0x46e8
leaq 0x270(%rsp), %rdi
callq 0x46e8
leaq 0x26f(%rsp), %rdi
callq 0x43b0
leaq 0x19f(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0x4600
movq 0x20(%rsp), %rdx
leaq 0x34052(%rip), %rsi     # 0x510d6
leaq 0x1a0(%rsp), %rdi
callq 0x4f10
jmp 0x1d093
movq 0x60(%rsp), %rsi
leaq 0x178(%rsp), %rdi
callq 0x4180
jmp 0x1d0a7
leaq 0x157(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x4600
movq 0x18(%rsp), %rdx
leaq 0x34056(%rip), %rsi     # 0x5111b
leaq 0x158(%rsp), %rdi
callq 0x4f10
jmp 0x1d0d4
leaq 0x1c0(%rsp), %rdi
leaq 0x1a0(%rsp), %rsi
leaq 0x178(%rsp), %rdx
leaq 0x158(%rsp), %rcx
callq 0xd3b0
jmp 0x1d0fb
movq 0x68(%rsp), %rdi
leaq 0x1c0(%rsp), %rsi
callq 0xd380
jmp 0x1d10f
leaq 0x1c0(%rsp), %rdi
callq 0xd490
leaq 0x158(%rsp), %rdi
callq 0x46e8
leaq 0x157(%rsp), %rdi
callq 0x43b0
leaq 0x178(%rsp), %rdi
callq 0x46e8
leaq 0x1a0(%rsp), %rdi
callq 0x46e8
leaq 0x19f(%rsp), %rdi
callq 0x43b0
leaq 0xc8(%rsp), %rdi
leaq 0x4a8(%rsp), %rsi
callq 0x4180
jmp 0x1d174
leaq 0xa7(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x4600
movq 0x10(%rsp), %rdx
leaq 0x33f89(%rip), %rsi     # 0x5111b
leaq 0xa8(%rsp), %rdi
callq 0x4f10
jmp 0x1d1a1
leaq 0x7f(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x4600
movq 0x8(%rsp), %rdx
leaq 0x33f5f(%rip), %rsi     # 0x5111b
leaq 0x80(%rsp), %rdi
callq 0x4f10
jmp 0x1d1cb
leaq 0xe8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
leaq 0x80(%rsp), %rcx
callq 0xd3b0
jmp 0x1d1f2
movq 0x68(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
callq 0xd380
jmp 0x1d206
leaq 0xe8(%rsp), %rdi
callq 0xd490
leaq 0x80(%rsp), %rdi
callq 0x46e8
leaq 0x7f(%rsp), %rdi
callq 0x43b0
leaq 0xa8(%rsp), %rdi
callq 0x46e8
leaq 0xa7(%rsp), %rdi
callq 0x43b0
leaq 0xc8(%rsp), %rdi
callq 0x46e8
movb $0x1, 0x69f(%rsp)
leaq 0x4a8(%rsp), %rdi
callq 0x46e8
leaq 0x678(%rsp), %rdi
callq 0x46e8
testb $0x1, 0x69f(%rsp)
jne 0x1d7e4
jmp 0x1d7da
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d7f1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d342
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d335
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d328
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d31b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
leaq 0x600(%rsp), %rdi
callq 0xd490
leaq 0x598(%rsp), %rdi
callq 0x46e8
leaq 0x5b8(%rsp), %rdi
callq 0x46e8
leaq 0x5e0(%rsp), %rdi
callq 0x46e8
leaq 0x5df(%rsp), %rdi
callq 0x43b0
jmp 0x1d7cb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d3f7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d3ea
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d3dd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d3d0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
leaq 0x530(%rsp), %rdi
callq 0xd490
leaq 0x4c8(%rsp), %rdi
callq 0x46e8
leaq 0x4e8(%rsp), %rdi
callq 0x46e8
leaq 0x510(%rsp), %rdi
callq 0x46e8
leaq 0x50f(%rsp), %rdi
callq 0x43b0
jmp 0x1d7cb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d7cb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d4d2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d4b8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d4ab
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d49e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
leaq 0x440(%rsp), %rdi
callq 0xd490
leaq 0x3d0(%rsp), %rdi
callq 0x46e8
leaq 0x3f8(%rsp), %rdi
callq 0x46e8
leaq 0x3f7(%rsp), %rdi
callq 0x43b0
leaq 0x420(%rsp), %rdi
callq 0x46e8
leaq 0x41f(%rsp), %rdi
callq 0x43b0
jmp 0x1d7be
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d7be
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d587
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d56d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d560
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
leaq 0x368(%rsp), %rdi
callq 0xd490
leaq 0x300(%rsp), %rdi
callq 0x46e8
leaq 0x2ff(%rsp), %rdi
callq 0x43b0
leaq 0x328(%rsp), %rdi
callq 0x46e8
leaq 0x327(%rsp), %rdi
callq 0x43b0
leaq 0x348(%rsp), %rdi
callq 0x46e8
jmp 0x1d7be
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d649
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d63c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d62f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d622
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
leaq 0x290(%rsp), %rdi
callq 0xd490
leaq 0x228(%rsp), %rdi
callq 0x46e8
leaq 0x248(%rsp), %rdi
callq 0x46e8
leaq 0x270(%rsp), %rdi
callq 0x46e8
leaq 0x26f(%rsp), %rdi
callq 0x43b0
jmp 0x1d7be
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d70b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d6fe
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d6e4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d6d7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
leaq 0x1c0(%rsp), %rdi
callq 0xd490
leaq 0x158(%rsp), %rdi
callq 0x46e8
leaq 0x157(%rsp), %rdi
callq 0x43b0
leaq 0x178(%rsp), %rdi
callq 0x46e8
leaq 0x1a0(%rsp), %rdi
callq 0x46e8
leaq 0x19f(%rsp), %rdi
callq 0x43b0
jmp 0x1d7be
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d7a4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d78d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
jmp 0x1d780
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x670(%rsp)
movl %eax, 0x66c(%rsp)
leaq 0xe8(%rsp), %rdi
callq 0xd490
leaq 0x80(%rsp), %rdi
callq 0x46e8
leaq 0x7f(%rsp), %rdi
callq 0x43b0
leaq 0xa8(%rsp), %rdi
callq 0x46e8
leaq 0xa7(%rsp), %rdi
callq 0x43b0
leaq 0xc8(%rsp), %rdi
callq 0x46e8
leaq 0x4a8(%rsp), %rdi
callq 0x46e8
leaq 0x678(%rsp), %rdi
callq 0x46e8
jmp 0x1d7f1
movq 0x68(%rsp), %rdi
callq 0xd550
movq 0x70(%rsp), %rax
addq $0x6b8, %rsp            # imm = 0x6B8
retq
movq 0x68(%rsp), %rdi
callq 0xd550
movq 0x670(%rsp), %rdi
callq 0x45f0
nopl (%rax,%rax)