// File: Manca[P]algorithms2/./assignment6.hpp
// Function: assignment6::testCase1()
void testCase1()
    {
        /*** TEST CASE 1 (3 components, 3 elems each)*/
        Graph G;
        G[1] = { 4 };
        G[2] = { 8 };
        G[3] = { 6 };
        G[4] = { 7 };
        G[5] = { 2 };
        G[6] = { 9 };
        G[7] = { 1 };
        G[8] = { 5, 6 };
        G[9] = { 3, 7 };

        Graph GRev;
        GRev[1] = { 7 };
        GRev[2] = { 5 };
        GRev[3] = { 9 };
        GRev[4] = { 1 };
        GRev[5] = { 8 };
        GRev[6] = { 3, 8 };
        GRev[7] = { 4, 9 };
        GRev[8] = { 2 };
        GRev[9] = { 6 };
        
        Check2SAT(G, GRev);
    }

// Assembly:
subq $0x2f8, %rsp            # imm = 0x2F8
leaq 0x2c0(%rsp), %rdi
movq %rdi, 0x98(%rsp)
callq 0x12810
movq 0x98(%rsp), %rdi
movl $0x4, 0x2ac(%rsp)
leaq 0x2ac(%rsp), %rax
movq %rax, 0x2b0(%rsp)
movq $0x1, 0x2b8(%rsp)
movl $0x1, 0x2a8(%rsp)
leaq 0x2a8(%rsp), %rsi
callq 0x122f0
movq %rax, 0xa0(%rsp)
jmp 0xa5ad
movq 0xa0(%rsp), %rdi
movq 0x2b0(%rsp), %rsi
movq 0x2b8(%rsp), %rdx
callq 0x12830
jmp 0xa5cc
movl $0x8, 0x284(%rsp)
leaq 0x284(%rsp), %rax
movq %rax, 0x288(%rsp)
movq $0x1, 0x290(%rsp)
movl $0x2, 0x280(%rsp)
leaq 0x2c0(%rsp), %rdi
leaq 0x280(%rsp), %rsi
callq 0x122f0
movq %rax, 0x90(%rsp)
jmp 0xa61d
movq 0x90(%rsp), %rdi
movq 0x288(%rsp), %rsi
movq 0x290(%rsp), %rdx
callq 0x12830
jmp 0xa63c
movl $0x6, 0x26c(%rsp)
leaq 0x26c(%rsp), %rax
movq %rax, 0x270(%rsp)
movq $0x1, 0x278(%rsp)
movl $0x3, 0x268(%rsp)
leaq 0x2c0(%rsp), %rdi
leaq 0x268(%rsp), %rsi
callq 0x122f0
movq %rax, 0x88(%rsp)
jmp 0xa68d
movq 0x88(%rsp), %rdi
movq 0x270(%rsp), %rsi
movq 0x278(%rsp), %rdx
callq 0x12830
jmp 0xa6ac
movl $0x7, 0x254(%rsp)
leaq 0x254(%rsp), %rax
movq %rax, 0x258(%rsp)
movq $0x1, 0x260(%rsp)
movl $0x4, 0x250(%rsp)
leaq 0x2c0(%rsp), %rdi
leaq 0x250(%rsp), %rsi
callq 0x122f0
movq %rax, 0x80(%rsp)
jmp 0xa6fd
movq 0x80(%rsp), %rdi
movq 0x258(%rsp), %rsi
movq 0x260(%rsp), %rdx
callq 0x12830
jmp 0xa71c
movl $0x2, 0x23c(%rsp)
leaq 0x23c(%rsp), %rax
movq %rax, 0x240(%rsp)
movq $0x1, 0x248(%rsp)
movl $0x5, 0x238(%rsp)
leaq 0x2c0(%rsp), %rdi
leaq 0x238(%rsp), %rsi
callq 0x122f0
movq %rax, 0x78(%rsp)
jmp 0xa76a
movq 0x78(%rsp), %rdi
movq 0x240(%rsp), %rsi
movq 0x248(%rsp), %rdx
callq 0x12830
jmp 0xa786
movl $0x9, 0x224(%rsp)
leaq 0x224(%rsp), %rax
movq %rax, 0x228(%rsp)
movq $0x1, 0x230(%rsp)
movl $0x6, 0x220(%rsp)
leaq 0x2c0(%rsp), %rdi
leaq 0x220(%rsp), %rsi
callq 0x122f0
movq %rax, 0x70(%rsp)
jmp 0xa7d4
movq 0x70(%rsp), %rdi
movq 0x228(%rsp), %rsi
movq 0x230(%rsp), %rdx
callq 0x12830
jmp 0xa7f0
movl $0x1, 0x20c(%rsp)
leaq 0x20c(%rsp), %rax
movq %rax, 0x210(%rsp)
movq $0x1, 0x218(%rsp)
movl $0x7, 0x208(%rsp)
leaq 0x2c0(%rsp), %rdi
leaq 0x208(%rsp), %rsi
callq 0x122f0
movq %rax, 0x68(%rsp)
jmp 0xa83e
movq 0x68(%rsp), %rdi
movq 0x210(%rsp), %rsi
movq 0x218(%rsp), %rdx
callq 0x12830
jmp 0xa85a
movl $0x5, 0x1f0(%rsp)
movl $0x6, 0x1f4(%rsp)
leaq 0x1f0(%rsp), %rax
movq %rax, 0x1f8(%rsp)
movq $0x2, 0x200(%rsp)
movl $0x8, 0x1ec(%rsp)
leaq 0x2c0(%rsp), %rdi
leaq 0x1ec(%rsp), %rsi
callq 0x122f0
movq %rax, 0x60(%rsp)
jmp 0xa8b3
movq 0x60(%rsp), %rdi
movq 0x1f8(%rsp), %rsi
movq 0x200(%rsp), %rdx
callq 0x12830
jmp 0xa8cf
movl $0x3, 0x1d0(%rsp)
movl $0x7, 0x1d4(%rsp)
leaq 0x1d0(%rsp), %rax
movq %rax, 0x1d8(%rsp)
movq $0x2, 0x1e0(%rsp)
movl $0x9, 0x1cc(%rsp)
leaq 0x2c0(%rsp), %rdi
leaq 0x1cc(%rsp), %rsi
callq 0x122f0
movq %rax, 0x58(%rsp)
jmp 0xa928
movq 0x58(%rsp), %rdi
movq 0x1d8(%rsp), %rsi
movq 0x1e0(%rsp), %rdx
callq 0x12830
jmp 0xa944
leaq 0x190(%rsp), %rdi
movq %rdi, 0x48(%rsp)
callq 0x12810
movq 0x48(%rsp), %rdi
movl $0x7, 0x17c(%rsp)
leaq 0x17c(%rsp), %rax
movq %rax, 0x180(%rsp)
movq $0x1, 0x188(%rsp)
movl $0x1, 0x178(%rsp)
leaq 0x178(%rsp), %rsi
callq 0x122f0
movq %rax, 0x50(%rsp)
jmp 0xa9a1
movq 0x50(%rsp), %rdi
movq 0x180(%rsp), %rsi
movq 0x188(%rsp), %rdx
callq 0x12830
jmp 0xa9bd
movl $0x5, 0x164(%rsp)
leaq 0x164(%rsp), %rax
movq %rax, 0x168(%rsp)
movq $0x1, 0x170(%rsp)
movl $0x2, 0x160(%rsp)
leaq 0x190(%rsp), %rdi
leaq 0x160(%rsp), %rsi
callq 0x122f0
movq %rax, 0x40(%rsp)
jmp 0xaa0b
movq 0x40(%rsp), %rdi
movq 0x168(%rsp), %rsi
movq 0x170(%rsp), %rdx
callq 0x12830
jmp 0xaa27
movl $0x9, 0x14c(%rsp)
leaq 0x14c(%rsp), %rax
movq %rax, 0x150(%rsp)
movq $0x1, 0x158(%rsp)
movl $0x3, 0x148(%rsp)
leaq 0x190(%rsp), %rdi
leaq 0x148(%rsp), %rsi
callq 0x122f0
movq %rax, 0x38(%rsp)
jmp 0xaa75
movq 0x38(%rsp), %rdi
movq 0x150(%rsp), %rsi
movq 0x158(%rsp), %rdx
callq 0x12830
jmp 0xaa91
movl $0x1, 0x134(%rsp)
leaq 0x134(%rsp), %rax
movq %rax, 0x138(%rsp)
movq $0x1, 0x140(%rsp)
movl $0x4, 0x130(%rsp)
leaq 0x190(%rsp), %rdi
leaq 0x130(%rsp), %rsi
callq 0x122f0
movq %rax, 0x30(%rsp)
jmp 0xaadf
movq 0x30(%rsp), %rdi
movq 0x138(%rsp), %rsi
movq 0x140(%rsp), %rdx
callq 0x12830
jmp 0xaafb
movl $0x8, 0x11c(%rsp)
leaq 0x11c(%rsp), %rax
movq %rax, 0x120(%rsp)
movq $0x1, 0x128(%rsp)
movl $0x5, 0x118(%rsp)
leaq 0x190(%rsp), %rdi
leaq 0x118(%rsp), %rsi
callq 0x122f0
movq %rax, 0x28(%rsp)
jmp 0xab49
movq 0x28(%rsp), %rdi
movq 0x120(%rsp), %rsi
movq 0x128(%rsp), %rdx
callq 0x12830
jmp 0xab65
movl $0x3, 0x100(%rsp)
movl $0x8, 0x104(%rsp)
leaq 0x100(%rsp), %rax
movq %rax, 0x108(%rsp)
movq $0x2, 0x110(%rsp)
movl $0x6, 0xfc(%rsp)
leaq 0x190(%rsp), %rdi
leaq 0xfc(%rsp), %rsi
callq 0x122f0
movq %rax, 0x20(%rsp)
jmp 0xabbe
movq 0x20(%rsp), %rdi
movq 0x108(%rsp), %rsi
movq 0x110(%rsp), %rdx
callq 0x12830
jmp 0xabda
movl $0x4, 0xe0(%rsp)
movl $0x9, 0xe4(%rsp)
leaq 0xe0(%rsp), %rax
movq %rax, 0xe8(%rsp)
movq $0x2, 0xf0(%rsp)
movl $0x7, 0xdc(%rsp)
leaq 0x190(%rsp), %rdi
leaq 0xdc(%rsp), %rsi
callq 0x122f0
movq %rax, 0x18(%rsp)
jmp 0xac33
movq 0x18(%rsp), %rdi
movq 0xe8(%rsp), %rsi
movq 0xf0(%rsp), %rdx
callq 0x12830
jmp 0xac4f
movl $0x2, 0xc4(%rsp)
leaq 0xc4(%rsp), %rax
movq %rax, 0xc8(%rsp)
movq $0x1, 0xd0(%rsp)
movl $0x8, 0xc0(%rsp)
leaq 0x190(%rsp), %rdi
leaq 0xc0(%rsp), %rsi
callq 0x122f0
movq %rax, 0x10(%rsp)
jmp 0xac9d
movq 0x10(%rsp), %rdi
movq 0xc8(%rsp), %rsi
movq 0xd0(%rsp), %rdx
callq 0x12830
jmp 0xacb9
movl $0x6, 0xac(%rsp)
leaq 0xac(%rsp), %rax
movq %rax, 0xb0(%rsp)
movq $0x1, 0xb8(%rsp)
movl $0x9, 0xa8(%rsp)
leaq 0x190(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x122f0
movq %rax, 0x8(%rsp)
jmp 0xad07
movq 0x8(%rsp), %rdi
movq 0xb0(%rsp), %rsi
movq 0xb8(%rsp), %rdx
callq 0x12830
jmp 0xad23
leaq 0x2c0(%rsp), %rdi
leaq 0x190(%rsp), %rsi
callq 0x9fb0
jmp 0xad3a
leaq 0x190(%rsp), %rdi
callq 0x12820
leaq 0x2c0(%rsp), %rdi
callq 0x12820
addq $0x2f8, %rsp            # imm = 0x2F8
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2a0(%rsp)
movl %eax, 0x29c(%rsp)
jmp 0xad93
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2a0(%rsp)
movl %eax, 0x29c(%rsp)
leaq 0x190(%rsp), %rdi
callq 0x12820
leaq 0x2c0(%rsp), %rdi
callq 0x12820
movq 0x2a0(%rsp), %rdi
callq 0x3460
nopl (%rax)