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

    std::vector<std::string> graphs; // input files

    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);
                cout << "Min Clique Size: " << min_clique_size << endl;
            break;

            case 'M':
                max_clique_size = atoi(optarg);
                cout << "Max Clique Size: " << max_clique_size << endl;
            break;

            case 'r':
                runs = atoi(optarg);
                cout << "Runs: " << runs << endl;
            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) + "_bf");
			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_brute_force(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 $0x478, %rsp            # imm = 0x478
cmpl $0x8, %edi
jle 0x545f
movq %rsi, %rbx
movl %edi, %ebp
xorps %xmm0, %xmm0
movaps %xmm0, 0x120(%rsp)
movq $0x0, 0x130(%rsp)
leaq 0x5bbd(%rip), %rdi      # 0xa21d
callq 0x33c0
leaq 0x5a4c(%rip), %rdx      # 0xa0b8
movl %ebp, 0xa0(%rsp)
movl %ebp, %edi
movq %rbx, 0x38(%rsp)
movq %rbx, %rsi
callq 0x30a0
shll $0x18, %eax
movl $0x0, 0x2c(%rsp)
movl $0x0, %ecx
movq %rcx, 0x30(%rsp)
movl $0x0, 0x28(%rsp)
cmpl $0xff000000, %eax       # imm = 0xFF000000
je 0x4914
leaq 0x280(%rsp), %rbp
leaq 0x5a18(%rip), %r12      # 0xa0d1
leaq 0x270(%rsp), %r15
leaq 0x120(%rsp), %r13
leaq 0x59ff(%rip), %r14      # 0xa0cf
movl $0x0, 0x28(%rsp)
movq $0x0, 0x30(%rsp)
movl $0x0, 0x2c(%rsp)
sarl $0x18, %eax
cmpl $0x6c, %eax
jg 0x47a4
cmpl $0x4d, %eax
je 0x4820
cmpl $0x69, %eax
jne 0x48ee
movq 0x98aa(%rip), %rax      # 0xdfb8
movq (%rax), %rdi
movq %r12, %rsi
callq 0x33e0
movq %rax, %rbx
leaq 0x599e(%rip), %rdi      # 0xa0c1
xorl %eax, %eax
callq 0x3050
testq %rbx, %rbx
je 0x4795
movq %rbp, 0x270(%rsp)
movq %rbx, %rdi
callq 0x3130
leaq (%rax,%rbx), %rdx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x5e3e
movq %r13, %rdi
movq %r15, %rsi
callq 0x5ed4
movq 0x270(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4776
movq 0x280(%rsp), %rsi
incq %rsi
callq 0x32b0
movq %r14, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x3050
xorl %edi, %edi
movq %r12, %rsi
callq 0x33e0
movq %rax, %rbx
testq %rax, %rax
jne 0x472f
movl $0xa, %edi
callq 0x3370
jmp 0x48ee
cmpl $0x6d, %eax
je 0x4889
cmpl $0x72, %eax
jne 0x48ee
movq 0x97fb(%rip), %rax      # 0xdfb8
movq (%rax), %rdi
callq 0x33d0
movl %eax, 0x2c(%rsp)
movl $0x6, %edx
movq 0x97fb(%rip), %rdi      # 0xdfd0
leaq 0x591b(%rip), %rsi      # 0xa0f7
callq 0x32f0
movq 0x97e8(%rip), %rdi      # 0xdfd0
movl 0x2c(%rsp), %esi
callq 0x3470
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3270
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31b0
jmp 0x48ee
movq 0x9791(%rip), %rax      # 0xdfb8
movq (%rax), %rdi
callq 0x33d0
movq %rax, 0x30(%rsp)
movl $0x11, %edx
movq 0x9790(%rip), %rdi      # 0xdfd0
leaq 0x589e(%rip), %rsi      # 0xa0e5
callq 0x32f0
movq 0x977d(%rip), %rdi      # 0xdfd0
movq 0x30(%rsp), %rsi
callq 0x3470
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3270
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31b0
jmp 0x48ee
movq 0x9728(%rip), %rax      # 0xdfb8
movq (%rax), %rdi
callq 0x33d0
movl %eax, 0x28(%rsp)
movl $0x11, %edx
movq 0x9728(%rip), %rdi      # 0xdfd0
leaq 0x5824(%rip), %rsi      # 0xa0d3
callq 0x32f0
movq 0x9715(%rip), %rdi      # 0xdfd0
movl 0x28(%rsp), %esi
callq 0x3470
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3270
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31b0
movl 0xa0(%rsp), %edi
movq 0x38(%rsp), %rsi
leaq 0x57b7(%rip), %rdx      # 0xa0b8
callq 0x30a0
shll $0x18, %eax
cmpl $0xff000000, %eax       # imm = 0xFF000000
jne 0x46e9
leaq 0x5920(%rip), %rdi      # 0xa23b
callq 0x33c0
callq 0x38a8
movq 0x120(%rsp), %rbx
cmpq 0x128(%rsp), %rbx
je 0x5410
leaq 0x50(%rsp), %r12
movl 0x2c(%rsp), %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movl %ecx, 0x38(%rsp)
movl %eax, %ebp
shrl $0x1f, %ebp
leaq 0x280(%rsp), %r15
movq 0x9665(%rip), %rax      # 0xdfc8
movq (%rax), %rcx
movq %rcx, 0x118(%rsp)
movq 0x18(%rax), %rax
movq %rax, 0x110(%rsp)
movslq 0x28(%rsp), %rax
movq %rax, 0x1e0(%rsp)
movq 0x30(%rsp), %rax
incl %eax
movl %eax, 0xac(%rsp)
leaq 0x270(%rsp), %r13
movq %rbp, 0xa0(%rsp)
leaq 0x180(%rsp), %rdi
leaq 0x574a(%rip), %rsi      # 0xa0fe
movq %rbx, %rdx
callq 0x5743
movq 0x180(%rsp), %rsi
movq 0x188(%rsp), %rdx
movq 0x95fd(%rip), %rdi      # 0xdfd0
callq 0x32f0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3270
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31b0
leaq 0x5851(%rip), %rdi      # 0xa25a
callq 0x33c0
movq 0x180(%rsp), %rdi
leaq 0x1f0(%rsp), %rsi
movl $0x1, %edx
movl $0x1, %ecx
callq 0x8904
testl %eax, %eax
jne 0x5455
leaq 0x582c(%rip), %rdi      # 0xa268
callq 0x33c0
movups 0x1f0(%rsp), %xmm0
movups 0x200(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
leaq 0x250(%rsp), %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x67c7
leaq 0x5807(%rip), %rdi      # 0xa27a
callq 0x33c0
leaq 0x210(%rsp), %rdi
movq %r14, %rsi
callq 0x3675
movl $0xa, %edx
movq 0x953c(%rip), %rdi      # 0xdfd0
leaq 0x566e(%rip), %rsi      # 0xa109
callq 0x32f0
movq 0x1f0(%rsp), %rsi
movq 0x9521(%rip), %rdi      # 0xdfd0
callq 0x3260
movq %rax, %r14
movl $0x9, %edx
movq %rax, %rdi
leaq 0x564e(%rip), %rsi      # 0xa114
callq 0x32f0
movq 0x1f8(%rsp), %rsi
movq %r14, %rdi
callq 0x3260
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3270
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31b0
leaq 0x170(%rsp), %rax
movq %rax, 0x160(%rsp)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x160(%rsp), %rdi
callq 0x5898
movq 0x160(%rsp), %rdi
callq 0x34a0
movq %rax, %rdi
leaq 0x5520(%rip), %rsi      # 0xa063
callq 0x33e0
leaq 0xf0(%rsp), %rdi
movq %rax, %rsi
movq %r13, %rdx
callq 0x5706
movq %rbx, 0x1e8(%rsp)
movl $0x8, %edx
movq 0x9461(%rip), %rdi      # 0xdfd0
leaq 0x55a8(%rip), %rsi      # 0xa11e
callq 0x32f0
movq 0xf0(%rsp), %rsi
movq 0xf8(%rsp), %rdx
movq 0x943e(%rip), %rdi      # 0xdfd0
callq 0x32f0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3270
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31b0
movq 0x30(%rsp), %rax
cmpl %eax, 0x28(%rsp)
jg 0x52d5
movq 0x1e0(%rsp), %rbx
leaq 0x90(%rsp), %rax
movq %rax, 0x80(%rsp)
movq 0xf0(%rsp), %rsi
movq 0xf8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x80(%rsp), %r14
movq %r14, %rdi
callq 0x5898
movq %r14, %rdi
leaq 0x5512(%rip), %rsi      # 0xa127
callq 0x34c0
movq %r12, %rbp
movl %ebx, %r14d
movl %ebx, %r12d
negl %r12d
cmovsl %ebx, %r12d
movl $0x1, %r15d
cmpl $0xa, %r12d
jb 0x4c7d
movl $0x4, %r15d
movl %r12d, %eax
cmpl $0x63, %eax
jbe 0x4c74
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x4c7a
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x4c7d
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x4c3f
addl $-0x3, %r15d
jmp 0x4c7d
addl $-0x2, %r15d
jmp 0x4c7d
decl %r15d
shrl $0x1f, %r14d
leal (%r15,%r14), %esi
leaq 0xe0(%rsp), %rax
movq %rax, 0xd0(%rsp)
leaq 0xd0(%rsp), %rdi
movl $0x2d, %edx
callq 0x3300
movl %r14d, %edi
addq 0xd0(%rsp), %rdi
movl %r15d, %esi
movl %r12d, %edx
callq 0x582a
movq 0x80(%rsp), %rcx
movl $0xf, %edi
leaq 0x90(%rsp), %rax
cmpq %rax, %rcx
je 0x4cdf
movq 0x90(%rsp), %rdi
movq 0x88(%rsp), %r8
movq 0xd0(%rsp), %rsi
movq 0xd8(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
movq %rbp, %r12
leaq 0x150(%rsp), %rbp
jbe 0x4d2a
movl $0xf, %edi
leaq 0xe0(%rsp), %r9
cmpq %r9, %rsi
je 0x4d25
movq 0xe0(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x4d39
leaq 0x80(%rsp), %rdi
callq 0x30f0
jmp 0x4d4a
leaq 0xd0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x32d0
leaq 0x70(%rsp), %rsi
movq %rsi, 0x60(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x4d6f
movq %rdx, 0x60(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x70(%rsp)
jmp 0x4d75
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x68(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x60(%rsp), %rdi
leaq 0x5389(%rip), %rsi      # 0xa127
callq 0x34c0
movq %r12, 0x40(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4dc6
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x4dce
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x48(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl $0x1, %r15d
cmpl $0xa, 0x38(%rsp)
jb 0x4e3b
movl $0x4, %r15d
movl 0x38(%rsp), %eax
cmpl $0x63, %eax
jbe 0x4e32
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x4e38
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x4e3b
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x4dfd
addl $-0x3, %r15d
jmp 0x4e3b
addl $-0x2, %r15d
jmp 0x4e3b
decl %r15d
movq 0xa0(%rsp), %r14
leal (%r14,%r15), %esi
leaq 0xc0(%rsp), %rax
movq %rax, 0xb0(%rsp)
leaq 0xb0(%rsp), %rdi
movl $0x2d, %edx
callq 0x3300
movq 0xb0(%rsp), %rdi
addq %r14, %rdi
movl %r15d, %esi
movl 0x38(%rsp), %edx
callq 0x582a
movq 0x40(%rsp), %rcx
movl $0xf, %edi
cmpq %r12, %rcx
je 0x4e94
movq 0x50(%rsp), %rdi
movq 0x48(%rsp), %r8
movq 0xb0(%rsp), %rsi
movq 0xb8(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
leaq 0x40(%rsp), %r14
jbe 0x4ed6
movl $0xf, %edi
leaq 0xc0(%rsp), %r9
cmpq %r9, %rsi
je 0x4ed1
movq 0xc0(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x4ee0
movq %r14, %rdi
callq 0x30f0
jmp 0x4ef1
leaq 0xb0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x32d0
leaq 0x280(%rsp), %rsi
movq %rsi, 0x270(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x4f22
movq %rdx, 0x270(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x280(%rsp)
jmp 0x4f28
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x278(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq %r13, %rdi
leaq 0x51d7(%rip), %rsi      # 0xa129
callq 0x34c0
movq %rbp, 0x140(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4f83
movq %rdx, 0x140(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x150(%rsp)
jmp 0x4f8a
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x148(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x270(%rsp), %rdi
leaq 0x280(%rsp), %rax
cmpq %rax, %rdi
je 0x4fca
movq 0x280(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x4fef
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x5006
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x5022
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x5047
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x506c
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x32b0
movq %r14, %rdi
leaq 0x50b7(%rip), %rsi      # 0xa12d
leaq 0x140(%rsp), %rdx
callq 0x5743
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
movq 0x8f3c(%rip), %rdi      # 0xdfd0
callq 0x32f0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x3270
movsbl %al, %esi
movq %r15, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31b0
movq %r13, %rdi
callq 0x3460
movq %r13, %rdi
movq %r14, %rsi
movl $0x10, %edx
callq 0x3140
leaq 0x2e0(%rsp), %rdi
callq 0x30b0
testb %al, %al
je 0x5431
movq 0x40(%rsp), %rsi
leaq 0x5045(%rip), %rdi      # 0xa141
xorl %eax, %eax
callq 0x3050
movl $0x13, %edx
movq %r13, %rdi
leaq 0x5040(%rip), %rsi      # 0xa152
callq 0x32f0
movq 0x270(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x3270
movsbl %al, %esi
movq %r13, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31b0
movl 0x2c(%rsp), %eax
movl %eax, %r15d
testl %eax, %eax
jle 0x5243
leaq 0x1d0(%rsp), %rax
movq %rax, 0x1c0(%rsp)
movq 0xf0(%rsp), %rsi
movq 0xf8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x1c0(%rsp), %rdi
callq 0x5898
leaq 0x1b0(%rsp), %rax
movq %rax, 0x1a0(%rsp)
leaq 0x1a0(%rsp), %rdi
leaq 0x534e(%rip), %rdx      # 0xa4ef
movq %rdx, %rsi
callq 0x5e3e
leaq 0x250(%rsp), %rdi
leaq 0x210(%rsp), %rsi
movq %r13, %rdx
movq %rbx, %r9
callq 0x400e
movq 0x1a0(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
cmpq %rax, %rdi
je 0x51e9
movq 0x1b0(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0x520e
movq 0x1d0(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0x270(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x3270
movsbl %al, %esi
movq %r13, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31b0
decl %r15d
jne 0x5152
movq %r13, %rdi
callq 0x3380
movq 0x118(%rsp), %rax
movq %rax, 0x270(%rsp)
movq -0x18(%rax), %rax
movq 0x110(%rsp), %rcx
movq %rcx, 0x270(%rsp,%rax)
leaq 0x278(%rsp), %rdi
callq 0x3220
leaq 0x368(%rsp), %rdi
callq 0x3100
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x52a0
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0x140(%rsp), %rdi
cmpq %rbp, %rdi
je 0x52bd
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x32b0
incq %rbx
cmpl %ebx, 0xac(%rsp)
leaq 0x280(%rsp), %r15
jne 0x4bd8
movups 0x1f0(%rsp), %xmm0
movups 0x200(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
callq 0x62e2
movups 0x250(%rsp), %xmm0
movups 0x260(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
callq 0x6468
movups 0x210(%rsp), %xmm0
movups 0x220(%rsp), %xmm1
movups 0x230(%rsp), %xmm2
movups 0x240(%rsp), %xmm3
movaps %xmm3, 0x2a0(%rsp)
movaps %xmm2, 0x290(%rsp)
movaps %xmm1, 0x280(%rsp)
movaps %xmm0, 0x270(%rsp)
movups 0x210(%rsp), %xmm0
movups 0x220(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
callq 0x6468
movups 0x10(%r15), %xmm0
movups 0x20(%r15), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
callq 0x6468
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
movq 0x1e8(%rsp), %rbx
je 0x53b4
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0x160(%rsp), %rdi
leaq 0x170(%rsp), %rax
cmpq %rax, %rdi
je 0x53d9
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0x180(%rsp), %rdi
leaq 0x190(%rsp), %rax
cmpq %rax, %rdi
je 0x53fe
movq 0x190(%rsp), %rsi
incq %rsi
callq 0x32b0
addq $0x20, %rbx
cmpq 0x128(%rsp), %rbx
jne 0x49a5
leaq 0x120(%rsp), %rdi
callq 0x57cc
xorl %eax, %eax
addq $0x478, %rsp            # imm = 0x478
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8b98(%rip), %rdi      # 0xdfd0
leaq 0x4c0a(%rip), %rsi      # 0xa049
movl $0x1b, %edx
callq 0x32f0
movq 0x8b80(%rip), %rdi      # 0xdfd0
callq 0x3150
movl $0x1, %edi
callq 0x3320
callq 0x4617
jmp 0x5455
jmp 0x547a
movq %rax, %r14
jmp 0x56a7
jmp 0x54a5
jmp 0x547a
jmp 0x54a5
jmp 0x54a5
jmp 0x547a
movq %rax, %r14
jmp 0x56f1
movq %rax, %r14
movq 0x270(%rsp), %rdi
cmpq %rbp, %rdi
je 0x56f1
movq 0x280(%rsp), %rsi
jmp 0x56e9
jmp 0x54a5
movq %rax, %r14
jmp 0x56cc
jmp 0x54f7
jmp 0x560d
movq %rax, %r14
movq 0x270(%rsp), %rdi
leaq 0x280(%rsp), %rax
cmpq %rax, %rdi
je 0x5502
movq 0x280(%rsp), %rsi
incq %rsi
callq 0x32b0
jmp 0x5502
movq %rax, %r14
jmp 0x555a
jmp 0x54e5
movq %rax, %r14
jmp 0x557f
movq %rax, %r14
jmp 0x5527
movq %rax, %r14
jmp 0x553e
movq %rax, %r14
jmp 0x5682
movq %rax, %r14
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x5527
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x553e
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x32b0
leaq 0x70(%rsp), %rax
movq 0x60(%rsp), %rdi
cmpq %rax, %rdi
je 0x555a
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x557f
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x5682
movq 0x90(%rsp), %rsi
jmp 0x567a
jmp 0x55af
movq %rax, %r14
jmp 0x5665
movq %rax, %r14
jmp 0x564e
jmp 0x560d
movq %rax, %r14
movq 0x1a0(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
cmpq %rax, %rdi
je 0x55e6
movq 0x1b0(%rsp), %rsi
incq %rsi
callq 0x32b0
jmp 0x55e6
movq %rax, %r14
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0x5610
movq 0x1d0(%rsp), %rsi
incq %rsi
callq 0x32b0
jmp 0x5610
movq %rax, %r14
movq 0x118(%rsp), %rax
movq %rax, 0x270(%rsp)
movq -0x18(%rax), %rax
movq 0x110(%rsp), %rcx
movq %rcx, 0x270(%rsp,%rax)
leaq 0x278(%rsp), %rdi
callq 0x3220
leaq 0x368(%rsp), %rdi
callq 0x3100
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x5665
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0x140(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5682
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x56a7
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0x160(%rsp), %rdi
leaq 0x170(%rsp), %rax
cmpq %rax, %rdi
je 0x56cc
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0x180(%rsp), %rdi
leaq 0x190(%rsp), %rax
cmpq %rax, %rdi
je 0x56f1
movq 0x190(%rsp), %rsi
incq %rsi
callq 0x32b0
leaq 0x120(%rsp), %rdi
callq 0x57cc
movq %r14, %rdi
callq 0x3480