// File: sjain12[P]CliqueCounting/tests/../Escape/nCr.h
// Function: populate_nCr()
void populate_nCr()
{
    std::ifstream file;
    std::string ifname = "../Escape/nCr.txt";
    std::cout << ifname << std::endl;
    file.open(ifname);
    if (!file.is_open())
    {
        std::cout << "Could not open output file." << std::endl;
        return;
    }
    std::cout << "In populate_nCr" << std::endl;


    for(int row = 0; row < 1001; ++row)
    {
        std::string line;
        std::getline(file, line);
        if ( !file.good() )
            break;

        std::stringstream iss(line);

        for (int col = 0; col < 101; ++col)
        {
            std::string val;
            std::getline(iss, val, ',');
            if ( !iss.good() )
                break;
            // std::cout << "val = " << val << std::endl;

            std::stringstream convertor(val);
            convertor >> nCr[row][col];
            // std::cout << nCr[row][col] << " ";
        }
        //std::cout << std::endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x5f0, %rsp            # imm = 0x5F0
leaq -0x208(%rbp), %rdi
callq 0x33a0
leaq -0x229(%rbp), %rdi
movq %rdi, -0x5a8(%rbp)
callq 0x3590
movq -0x5a8(%rbp), %rdx
leaq 0x1550f(%rip), %rsi     # 0x19117
leaq -0x228(%rbp), %rdi
callq 0x7190
jmp 0x3c16
leaq -0x229(%rbp), %rdi
callq 0x3370
movq 0x203a7(%rip), %rdi     # 0x23fd0
leaq -0x228(%rbp), %rsi
callq 0x32b0
movq %rax, -0x5b0(%rbp)
jmp 0x3c3e
movq -0x5b0(%rbp), %rdi
movq 0x2036c(%rip), %rsi     # 0x23fb8
callq 0x3350
jmp 0x3c53
leaq -0x208(%rbp), %rdi
leaq -0x228(%rbp), %rsi
movl $0x8, %edx
callq 0x3290
jmp 0x3c6d
leaq -0x208(%rbp), %rdi
callq 0x34f0
movb %al, -0x5b1(%rbp)
jmp 0x3c81
movb -0x5b1(%rbp), %al
testb $0x1, %al
jne 0x3d07
jmp 0x3c8d
movq 0x2033c(%rip), %rdi     # 0x23fd0
leaq 0x1548e(%rip), %rsi     # 0x19129
callq 0x3300
movq %rax, -0x5c0(%rbp)
jmp 0x3ca9
movq -0x5c0(%rbp), %rdi
movq 0x20301(%rip), %rsi     # 0x23fb8
callq 0x3350
jmp 0x3cbe
movl $0x1, -0x240(%rbp)
jmp 0x3fd3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x238(%rbp)
movl %eax, -0x23c(%rbp)
leaq -0x229(%rbp), %rdi
callq 0x3370
jmp 0x4000
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x238(%rbp)
movl %eax, -0x23c(%rbp)
jmp 0x3ff4
movq 0x202c2(%rip), %rdi     # 0x23fd0
leaq 0x15430(%rip), %rsi     # 0x19145
callq 0x3300
movq %rax, -0x5c8(%rbp)
jmp 0x3d23
movq -0x5c8(%rbp), %rdi
movq 0x20287(%rip), %rsi     # 0x23fb8
callq 0x3350
jmp 0x3d38
movl $0x0, -0x244(%rbp)
cmpl $0x3e9, -0x244(%rbp)    # imm = 0x3E9
jge 0x3fc9
leaq -0x268(%rbp), %rdi
movq %rdi, -0x5d0(%rbp)
callq 0x3420
movq -0x5d0(%rbp), %rsi
leaq -0x208(%rbp), %rdi
callq 0x30b0
jmp 0x3d7a
movq -0x208(%rbp), %rax
movq -0x18(%rax), %rax
leaq -0x208(%rbp,%rax), %rdi
callq 0x3530
movb %al, -0x5d1(%rbp)
jmp 0x3d9a
movb -0x5d1(%rbp), %al
testb $0x1, %al
jne 0x3dcc
jmp 0x3da6
movl $0x2, -0x240(%rbp)
jmp 0x3f8b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x238(%rbp)
movl %eax, -0x23c(%rbp)
jmp 0x3fbb
movl $0x10, %edi
movl $0x8, %esi
callq 0x7240
movl %eax, -0x5d8(%rbp)
jmp 0x3de3
movl -0x5d8(%rbp), %edx
leaq -0x3f0(%rbp), %rdi
leaq -0x268(%rbp), %rsi
callq 0x34d0
jmp 0x3dfe
movl $0x0, -0x3f4(%rbp)
cmpl $0x65, -0x3f4(%rbp)
jge 0x3f75
leaq -0x418(%rbp), %rdi
movq %rdi, -0x5e0(%rbp)
callq 0x3420
movq -0x5e0(%rbp), %rsi
leaq -0x3f0(%rbp), %rdi
movl $0x2c, %edx
callq 0x35e0
jmp 0x3e42
movq -0x3f0(%rbp), %rax
movq -0x18(%rax), %rax
leaq -0x3f0(%rbp,%rax), %rdi
callq 0x3530
movb %al, -0x5e1(%rbp)
jmp 0x3e62
movb -0x5e1(%rbp), %al
testb $0x1, %al
jne 0x3e94
jmp 0x3e6e
movl $0x5, -0x240(%rbp)
jmp 0x3f0d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x238(%rbp)
movl %eax, -0x23c(%rbp)
jmp 0x3f5b
movl $0x10, %edi
movl $0x8, %esi
callq 0x7240
movl %eax, -0x5e8(%rbp)
jmp 0x3eab
movl -0x5e8(%rbp), %edx
leaq -0x5a0(%rbp), %rdi
leaq -0x418(%rbp), %rsi
callq 0x34d0
jmp 0x3ec6
movslq -0x244(%rbp), %rax
imulq $0x328, %rax, %rcx      # imm = 0x328
leaq 0x20485(%rip), %rax     # 0x24360
addq %rcx, %rax
movslq -0x3f4(%rbp), %rcx
leaq (%rax,%rcx,8), %rsi
leaq -0x5a0(%rbp), %rdi
callq 0x3270
jmp 0x3ef7
leaq -0x5a0(%rbp), %rdi
callq 0x3230
movl $0x0, -0x240(%rbp)
leaq -0x418(%rbp), %rdi
callq 0x31c0
movl -0x240(%rbp), %eax
testl %eax, %eax
je 0x3f27
jmp 0x3f25
jmp 0x3f75
jmp 0x3f29
movl -0x3f4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3f4(%rbp)
jmp 0x3e08
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x238(%rbp)
movl %eax, -0x23c(%rbp)
leaq -0x5a0(%rbp), %rdi
callq 0x3230
leaq -0x418(%rbp), %rdi
callq 0x31c0
leaq -0x3f0(%rbp), %rdi
callq 0x3230
jmp 0x3fbb
leaq -0x3f0(%rbp), %rdi
callq 0x3230
movl $0x0, -0x240(%rbp)
leaq -0x268(%rbp), %rdi
callq 0x31c0
movl -0x240(%rbp), %eax
testl %eax, %eax
je 0x3fa5
jmp 0x3fa3
jmp 0x3fc9
jmp 0x3fa7
movl -0x244(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x244(%rbp)
jmp 0x3d42
leaq -0x268(%rbp), %rdi
callq 0x31c0
jmp 0x3ff4
movl $0x0, -0x240(%rbp)
leaq -0x228(%rbp), %rdi
callq 0x31c0
leaq -0x208(%rbp), %rdi
callq 0x30d0
addq $0x5f0, %rsp            # imm = 0x5F0
popq %rbp
retq
leaq -0x228(%rbp), %rdi
callq 0x31c0
leaq -0x208(%rbp), %rdi
callq 0x30d0
movq -0x238(%rbp), %rdi
callq 0x3580
nopl (%rax,%rax)