// File: /workspace/github_cpp_makefile_star2_O1/sjain12[P]CliqueCounting/tests/test_cliques_color_coding.cpp
// Function: main
int main(int argc, char *argv[])
{
    if(argc < 9) {
        usage();
        exit(1);
    }

    std::vector<std::string> graphs; // input files
	srand (time(NULL));
    int min_clique_size = 0, max_clique_size = 0, runs = 0, i = 0;
    float start_threshold = 0.0, end_threshold = 0.0, threshold_interval = 0.0;
	int num_samples=0, full=0;
    char c;
    printf("*****************************\n");
    while ((c = getopt(argc, argv, "i:m:M:r:")) != -1) {
        switch (c) {
            case 'i': {
                // multiple input files
                char *token = std::strtok(optarg, ",");
                printf("Input Files: ");
                while (token != NULL) {
                    graphs.push_back(std::string(token));
                    printf("%s,",token);
                    token = std::strtok(NULL, ",");
                }
                printf("\n");
            }
            break;

            case 'm':
                min_clique_size = atoi(optarg);
                printf("Min Clique Size: %d\n", min_clique_size);
            break;

            case 'M':
                max_clique_size = atoi(optarg);
                printf("Max Clique Size: %d\n", max_clique_size);
            break;

            case 'r':
                runs = atoi(optarg);
                printf("Runs: %f\n", runs);
            break;

        }
    }
    printf("*****************************\n\n");
    
    populate_nCr();
    
    for (std::vector<std::string>::iterator it=graphs.begin(); it!=graphs.end(); ++it)
    {
        std::string fname = "../graphs/" + *it;
        std::cout << fname << std::endl;
        Graph g;
        printf("Loading graph\n");
        if (loadGraph(fname.c_str(), g, 1, IOFormat::escape))
            exit(1);

        printf("Converting to CSR\n");
        CGraph cg = makeCSR(g);

        printf("Creating DAG\n");
        CDAG dag = degreeOrdered(&cg);

        cout << "vertices: " << g.nVertices << " edges = " << g.nEdges << std::endl;
 
        string f = *it;
        char *token = std::strtok(strdup(f.c_str()), ".");
        string gname(token);
        cout << "GNAME = " << gname << endl;
        for(i=min_clique_size; i<=max_clique_size; i++)
        {
			string outfile(gname + "_" + to_string(i) + "_" + to_string(runs) + "_cc");
			std::string ofname = "../results/cliques/" + outfile;
    		std::cout << ofname << std::endl;
    		std::ofstream of;
    		of.open(ofname);
    		if (!of.is_open())
    		{
        		std::cout << "Could not open output file." << std::endl;
        		exit(1);
  			}
    		printf("Output File: %s\n", ofname.c_str());
			of << "csize,estimate,time" << endl;
       	
			for (int run=0; run < runs; run++)
			{	
            	cliques_color_coding(cg, dag, of, gname, "", i);
            	of << std::endl;
			}
			of.close();
        }
        delGraph(g);
        delCGraph(cg);
        delCDAG(dag);
    }
   


}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x458, %rsp            # imm = 0x458
cmpl $0x8, %edi
jle 0x568d
movq %rsi, %rbx
movl %edi, %ebp
xorps %xmm0, %xmm0
movaps %xmm0, 0x130(%rsp)
movq $0x0, 0x140(%rsp)
movq $0x0, 0x50(%rsp)
xorl %edi, %edi
callq 0x3240
movl %eax, %edi
callq 0x3270
leaq 0x58c6(%rip), %rdi      # 0xa263
callq 0x33d0
leaq 0x5729(%rip), %rdx      # 0xa0d2
movl %ebp, 0x24(%rsp)
movl %ebp, %edi
movq %rbx, %rsi
callq 0x30a0
shll $0x18, %eax
movl $0x0, 0x2c(%rsp)
movl $0x0, 0x28(%rsp)
cmpl $0xff000000, %eax       # imm = 0xFF000000
je 0x4b5f
leaq 0x260(%rsp), %rbp
leaq 0x5707(%rip), %r15      # 0xa0eb
leaq 0x250(%rsp), %r13
leaq 0x130(%rsp), %r14
leaq 0x56ee(%rip), %r12      # 0xa0e9
movl $0x0, 0x28(%rsp)
movl $0x0, 0x2c(%rsp)
movq $0x0, 0x50(%rsp)
movq %rbx, 0x78(%rsp)
sarl $0x18, %eax
cmpl $0x6c, %eax
jg 0x4ad6
cmpl $0x4d, %eax
je 0x4aff
cmpl $0x69, %eax
jne 0x4b3e
movq 0x957a(%rip), %rax      # 0xdfb8
movq (%rax), %rdi
movq %r15, %rsi
callq 0x33f0
movq %rax, %rbx
leaq 0x5688(%rip), %rdi      # 0xa0db
xorl %eax, %eax
callq 0x3050
testq %rbx, %rbx
je 0x4ac5
movq %rbp, 0x250(%rsp)
movq %rbx, %rdi
callq 0x3130
leaq (%rax,%rbx), %rdx
movq %r13, %rdi
movq %rbx, %rsi
callq 0x6140
movq %r14, %rdi
movq %r13, %rsi
callq 0x6570
movq 0x250(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4aa6
movq 0x260(%rsp), %rsi
incq %rsi
callq 0x32c0
movq %r12, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x3050
xorl %edi, %edi
movq %r15, %rsi
callq 0x33f0
movq %rax, %rbx
testq %rax, %rax
jne 0x4a5f
movl $0xa, %edi
callq 0x3380
movq 0x78(%rsp), %rbx
jmp 0x4b3e
cmpl $0x6d, %eax
je 0x4b1b
cmpl $0x72, %eax
jne 0x4b3e
movq 0x94d1(%rip), %rax      # 0xdfb8
movq (%rax), %rdi
callq 0x33e0
leaq 0x5621(%rip), %rdi      # 0xa117
movq %rax, 0x50(%rsp)
movl %eax, %esi
jmp 0x4b37
movq 0x94b2(%rip), %rax      # 0xdfb8
movq (%rax), %rdi
callq 0x33e0
leaq 0x55ed(%rip), %rdi      # 0xa102
movl %eax, 0x2c(%rsp)
jmp 0x4b35
movq 0x9496(%rip), %rax      # 0xdfb8
movq (%rax), %rdi
callq 0x33e0
leaq 0x55bc(%rip), %rdi      # 0xa0ed
movl %eax, 0x28(%rsp)
movl %eax, %esi
xorl %eax, %eax
callq 0x3050
movl 0x24(%rsp), %edi
movq %rbx, %rsi
leaq 0x5586(%rip), %rdx      # 0xa0d2
callq 0x30a0
shll $0x18, %eax
cmpl $0xff000000, %eax       # imm = 0xFF000000
jne 0x4a19
leaq 0x571b(%rip), %rdi      # 0xa281
callq 0x33d0
callq 0x38b5
movq 0x130(%rsp), %rbx
cmpq 0x138(%rsp), %rbx
je 0x563e
leaq 0xd0(%rsp), %r13
leaq 0x40(%rsp), %r15
movq 0x50(%rsp), %rax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movl %ecx, 0x24(%rsp)
movl %eax, %r12d
shrl $0x1f, %r12d
movq 0x9417(%rip), %rax      # 0xdfc8
movq (%rax), %rcx
movq %rcx, 0x108(%rsp)
movq 0x18(%rax), %rax
movq %rax, 0x100(%rsp)
leaq 0x250(%rsp), %rbp
movq %r12, 0x78(%rsp)
leaq 0x168(%rsp), %rdi
leaq 0x553d(%rip), %rsi      # 0xa121
movq %rbx, %rdx
callq 0x5a2a
movq 0x168(%rsp), %rsi
movq 0x170(%rsp), %rdx
movq 0x93cd(%rip), %rdi      # 0xdfd0
callq 0x3300
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3280
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31a0
leaq 0x5667(%rip), %rdi      # 0xa2a0
callq 0x33d0
movq 0x168(%rsp), %rdi
leaq 0x1d0(%rsp), %rsi
movl $0x1, %edx
movl $0x1, %ecx
callq 0x8dc4
testl %eax, %eax
jne 0x5683
leaq 0x5642(%rip), %rdi      # 0xa2ae
callq 0x33d0
movups 0x1d0(%rsp), %xmm0
movups 0x1e0(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
leaq 0x230(%rsp), %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x6e87
leaq 0x561d(%rip), %rdi      # 0xa2c0
callq 0x33d0
leaq 0x1f0(%rsp), %rdi
movq %r14, %rsi
callq 0x36a5
movl $0xa, %edx
movq 0x930c(%rip), %rdi      # 0xdfd0
leaq 0x5461(%rip), %rsi      # 0xa12c
callq 0x3300
movq 0x1d0(%rsp), %rsi
movq 0x92f1(%rip), %rdi      # 0xdfd0
callq 0x3260
movq %rax, %r14
movl $0x9, %edx
movq %rax, %rdi
leaq 0x5441(%rip), %rsi      # 0xa137
callq 0x3300
movq 0x1d8(%rsp), %rsi
movq %r14, %rdi
callq 0x3260
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3280
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31a0
leaq 0x158(%rsp), %rax
movq %rax, 0x148(%rsp)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x148(%rsp), %rdi
callq 0x5b86
movq 0x148(%rsp), %rdi
callq 0x34c0
movq %rax, %rdi
leaq 0x5300(%rip), %rsi      # 0xa073
callq 0x33f0
leaq 0xe0(%rsp), %rdi
movq %rax, %rsi
movq %rbp, %rdx
callq 0x5940
movq %rbx, 0x1c8(%rsp)
movl $0x8, %edx
movq 0x9231(%rip), %rdi      # 0xdfd0
leaq 0x539b(%rip), %rsi      # 0xa141
callq 0x3300
movq 0xe0(%rsp), %rsi
movq 0xe8(%rsp), %rdx
movq 0x920e(%rip), %rdi      # 0xdfd0
callq 0x3300
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3280
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31a0
movl 0x2c(%rsp), %eax
cmpl %eax, 0x28(%rsp)
jg 0x54fd
movl 0x28(%rsp), %eax
movl %eax, %r12d
movq %r13, 0xc0(%rsp)
movq 0xe0(%rsp), %rsi
movq 0xe8(%rsp), %rdx
addq %rsi, %rdx
leaq 0xc0(%rsp), %rbx
movq %rbx, %rdi
callq 0x5b86
movq %rbx, %rdi
leaq 0x530f(%rip), %rsi      # 0xa14a
callq 0x34e0
movl %r12d, %r13d
negl %r13d
cmovsl %r12d, %r13d
movl $0x1, %r14d
cmpl $0xa, %r13d
jb 0x4e9d
movl $0x4, %r14d
movl %r13d, %eax
cmpl $0x63, %eax
jbe 0x4e94
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x4e9a
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x4e9d
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r14d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x4e5f
addl $-0x3, %r14d
jmp 0x4e9d
addl $-0x2, %r14d
jmp 0x4e9d
decl %r14d
movq %r15, %rbx
movl %r12d, %r15d
shrl $0x1f, %r15d
leal (%r14,%r15), %esi
leaq 0xb0(%rsp), %rax
movq %rax, 0xa0(%rsp)
leaq 0xa0(%rsp), %rdi
movl $0x2d, %edx
callq 0x3310
movl %r15d, %edi
addq 0xa0(%rsp), %rdi
movl %r14d, %esi
movl %r13d, %edx
callq 0x5b18
movq 0xc0(%rsp), %rcx
movl $0xf, %esi
leaq 0xd0(%rsp), %r13
cmpq %r13, %rcx
je 0x4f05
movq 0xd0(%rsp), %rsi
movq 0xc8(%rsp), %r8
movq 0xa8(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
movq %rbx, %r15
jbe 0x4f45
movl $0xf, %esi
leaq 0xb0(%rsp), %rdi
cmpq %rdi, 0xa0(%rsp)
je 0x4f40
movq 0xb0(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x4f5c
movq 0xa0(%rsp), %rsi
leaq 0xc0(%rsp), %rdi
callq 0x30f0
jmp 0x4f6d
leaq 0xa0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x32e0
leaq 0x68(%rsp), %rsi
movq %rsi, 0x58(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x4f92
movq %rdx, 0x58(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x68(%rsp)
jmp 0x4f98
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x60(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x58(%rsp), %rdi
leaq 0x5189(%rip), %rsi      # 0xa14a
callq 0x34e0
movq %r15, 0x30(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4fe9
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x4ff0
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x38(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl $0x1, %r14d
cmpl $0xa, 0x24(%rsp)
jb 0x505d
movl $0x4, %r14d
movl 0x24(%rsp), %eax
cmpl $0x63, %eax
jbe 0x5054
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x505a
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x505d
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r14d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x501f
addl $-0x3, %r14d
jmp 0x505d
addl $-0x2, %r14d
jmp 0x505d
decl %r14d
movq 0x78(%rsp), %rbx
leal (%rbx,%r14), %esi
leaq 0x90(%rsp), %rax
movq %rax, 0x80(%rsp)
leaq 0x80(%rsp), %rdi
movl $0x2d, %edx
callq 0x3310
movq 0x80(%rsp), %rdi
addq %rbx, %rdi
movl %r14d, %esi
movl 0x24(%rsp), %edx
callq 0x5b18
movq 0x30(%rsp), %rcx
movl $0xf, %esi
cmpq %r15, %rcx
je 0x50b3
movq 0x40(%rsp), %rsi
movq 0x38(%rsp), %r8
movq 0x88(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
jbe 0x50ed
movl $0xf, %esi
leaq 0x90(%rsp), %rdi
cmpq %rdi, 0x80(%rsp)
je 0x50e8
movq 0x90(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x5101
movq 0x80(%rsp), %rsi
leaq 0x30(%rsp), %rdi
callq 0x30f0
jmp 0x5112
leaq 0x80(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x32e0
leaq 0x260(%rsp), %rsi
movq %rsi, 0x250(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x5143
movq %rdx, 0x250(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x260(%rsp)
jmp 0x5149
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x258(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq %rbp, %rdi
leaq 0x4fd9(%rip), %rsi      # 0xa14c
callq 0x34e0
leaq 0x120(%rsp), %rsi
movq %rsi, 0x110(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x51ac
movq %rdx, 0x110(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x120(%rsp)
jmp 0x51b2
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x118(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x250(%rsp), %rdi
leaq 0x260(%rsp), %rax
cmpq %rax, %rdi
je 0x51f2
movq 0x260(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x5217
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x522e
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x524a
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x526f
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0xc0(%rsp), %rdi
cmpq %r13, %rdi
je 0x528c
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0x30(%rsp), %rdi
leaq 0x4eb8(%rip), %rsi      # 0xa150
leaq 0x110(%rsp), %rdx
callq 0x5a2a
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
movq 0x8d1a(%rip), %rdi      # 0xdfd0
callq 0x3300
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3280
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31a0
movq %rbp, %rdi
callq 0x3470
movq %rbp, %rdi
leaq 0x30(%rsp), %rsi
movl $0x10, %edx
callq 0x3140
leaq 0x2c0(%rsp), %rdi
callq 0x30b0
testb %al, %al
je 0x565f
movq 0x30(%rsp), %rsi
leaq 0x4e44(%rip), %rdi      # 0xa164
xorl %eax, %eax
callq 0x3050
movl $0x13, %edx
movq %rbp, %rdi
leaq 0x4e3f(%rip), %rsi      # 0xa175
callq 0x3300
movq 0x250(%rsp), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x3280
movsbl %al, %esi
movq %rbp, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31a0
movq 0x50(%rsp), %rax
movl %eax, %r14d
testl %eax, %eax
jle 0x5468
leaq 0x1b8(%rsp), %rax
movq %rax, 0x1a8(%rsp)
movq 0xe0(%rsp), %rsi
movq 0xe8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x1a8(%rsp), %rdi
callq 0x5b86
leaq 0x198(%rsp), %rax
movq %rax, 0x188(%rsp)
leaq 0x188(%rsp), %rdi
leaq 0x50f9(%rip), %rdx      # 0xa4bf
movq %rdx, %rsi
callq 0x6140
leaq 0x230(%rsp), %rdi
leaq 0x1f0(%rsp), %rsi
movq %rbp, %rdx
movl %r12d, %r9d
callq 0x40b9
movq 0x188(%rsp), %rdi
leaq 0x198(%rsp), %rax
cmpq %rax, %rdi
je 0x540e
movq 0x198(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x1a8(%rsp), %rdi
leaq 0x1b8(%rsp), %rax
cmpq %rax, %rdi
je 0x5433
movq 0x1b8(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x250(%rsp), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x3280
movsbl %al, %esi
movq %rbp, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31a0
decl %r14d
jne 0x5377
movq %rbp, %rdi
callq 0x3390
movq 0x108(%rsp), %rax
movq %rax, 0x250(%rsp)
movq -0x18(%rax), %rax
movq 0x100(%rsp), %rcx
movq %rcx, 0x250(%rsp,%rax)
leaq 0x258(%rsp), %rdi
callq 0x3210
leaq 0x348(%rsp), %rdi
callq 0x3100
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x54c5
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x54ea
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x32c0
leal 0x1(%r12), %eax
cmpl 0x2c(%rsp), %r12d
movl %eax, %r12d
jne 0x4e06
movups 0x1d0(%rsp), %xmm0
movups 0x1e0(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
callq 0x6976
leaq 0x260(%rsp), %rbx
movups 0x230(%rsp), %xmm0
movups 0x240(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
callq 0x6afc
movups 0x1f0(%rsp), %xmm0
movups 0x200(%rsp), %xmm1
movups 0x210(%rsp), %xmm2
movups 0x220(%rsp), %xmm3
movaps %xmm3, 0x280(%rsp)
movaps %xmm2, 0x270(%rsp)
movaps %xmm1, 0x260(%rsp)
movaps %xmm0, 0x250(%rsp)
movups 0x1f0(%rsp), %xmm0
movups 0x200(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
callq 0x6afc
movups 0x10(%rbx), %xmm0
movups 0x20(%rbx), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
callq 0x6afc
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
movq 0x1c8(%rsp), %rbx
je 0x55e2
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x148(%rsp), %rdi
leaq 0x158(%rsp), %rax
cmpq %rax, %rdi
je 0x5607
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x168(%rsp), %rdi
leaq 0x178(%rsp), %rax
cmpq %rax, %rdi
je 0x562c
movq 0x178(%rsp), %rsi
incq %rsi
callq 0x32c0
addq $0x20, %rbx
cmpq 0x138(%rsp), %rbx
jne 0x4bd5
leaq 0x130(%rsp), %rdi
callq 0x5ab2
xorl %eax, %eax
addq $0x458, %rsp            # imm = 0x458
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x896a(%rip), %rdi      # 0xdfd0
leaq 0x49ec(%rip), %rsi      # 0xa059
movl $0x1b, %edx
callq 0x3300
movq 0x8952(%rip), %rdi      # 0xdfd0
callq 0x3150
movl $0x1, %edi
callq 0x3330
callq 0x493d
jmp 0x5683
jmp 0x56a6
movq %rax, %rbx
jmp 0x58e0
jmp 0x56d1
jmp 0x56a6
jmp 0x56d1
jmp 0x56d1
movq %rax, %rbx
jmp 0x592a
movq %rax, %rbx
movq 0x250(%rsp), %rdi
cmpq %rbp, %rdi
je 0x592a
movq 0x260(%rsp), %rsi
jmp 0x5922
jmp 0x56d1
movq %rax, %rbx
jmp 0x5905
jmp 0x5734
jmp 0x5842
movq %rax, %rbx
movq 0x250(%rsp), %rdi
leaq 0x260(%rsp), %rax
cmpq %rax, %rdi
je 0x573f
movq 0x260(%rsp), %rsi
incq %rsi
callq 0x32c0
jmp 0x573f
movq %rax, %rbx
jmp 0x5797
movq %rax, %rbx
jmp 0x57bc
movq %rax, %rbx
leaq 0xd0(%rsp), %r13
jmp 0x57bc
movq %rax, %rbx
jmp 0x5764
movq %rax, %rbx
jmp 0x577b
movq %rax, %rbx
jmp 0x58bb
movq %rax, %rbx
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x5764
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x577b
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0x68(%rsp), %rax
movq 0x58(%rsp), %rdi
cmpq %rax, %rdi
je 0x5797
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x57bc
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0xc0(%rsp), %rdi
cmpq %r13, %rdi
je 0x58bb
movq 0xd0(%rsp), %rsi
jmp 0x58b3
jmp 0x57e4
movq %rax, %rbx
jmp 0x5896
movq %rax, %rbx
jmp 0x587f
jmp 0x5842
movq %rax, %rbx
movq 0x188(%rsp), %rdi
leaq 0x198(%rsp), %rax
cmpq %rax, %rdi
je 0x581b
movq 0x198(%rsp), %rsi
incq %rsi
callq 0x32c0
jmp 0x581b
movq %rax, %rbx
movq 0x1a8(%rsp), %rdi
leaq 0x1b8(%rsp), %rax
cmpq %rax, %rdi
je 0x5845
movq 0x1b8(%rsp), %rsi
incq %rsi
callq 0x32c0
jmp 0x5845
movq %rax, %rbx
leaq 0x258(%rsp), %rdi
movq 0x108(%rsp), %rax
movq %rax, -0x8(%rdi)
movq -0x18(%rax), %rax
movq 0x100(%rsp), %rcx
movq %rcx, 0x250(%rsp,%rax)
callq 0x3210
leaq 0x348(%rsp), %rdi
callq 0x3100
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x5896
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x58bb
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x58e0
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x148(%rsp), %rdi
leaq 0x158(%rsp), %rax
cmpq %rax, %rdi
je 0x5905
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x168(%rsp), %rdi
leaq 0x178(%rsp), %rax
cmpq %rax, %rdi
je 0x592a
movq 0x178(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0x130(%rsp), %rdi
callq 0x5ab2
movq %rbx, %rdi
callq 0x34a0
nop