// File: qema[P]orca-py/liborca.cpp
// Function: count4()
void count4() {
    clock_t startTime, endTime;
    startTime = clock();
    clock_t startTime_all, endTime_all;
    startTime_all = startTime;
    int frac,frac_prev;

    // precompute triangles that span over edges
    //printf("stage 1 - precomputing common nodes\n");
    int *tri = (int*)calloc(m,sizeof(int));
    frac_prev=-1;
    for (int i=0;i<m;i++) {
        frac = 100LL*i/m;
        if (frac!=frac_prev) {
            //printf("%d%%\r",frac);
            frac_prev=frac;
        }
        int x=edges[i].a, y=edges[i].b;
        for (int xi=0,yi=0; xi<deg[x] && yi<deg[y]; ) {
            if (adj[x][xi]==adj[y][yi]) { tri[i]++; xi++; yi++; }
            else if (adj[x][xi]<adj[y][yi]) { xi++; }
            else { yi++; }
        }
    }
    endTime = clock();
    //printf("%.2f\n", (double)(endTime-startTime)/CLOCKS_PER_SEC);
    startTime = endTime;

    // count full graphlets
    //printf("stage 2 - counting full graphlets\n");
    int64 *C4 = (int64*)calloc(n,sizeof(int64));
    int *neigh = (int*)malloc(n*sizeof(int)), nn;
    frac_prev=-1;
    for (int x=0;x<n;x++) {
        frac = 100LL*x/n;
        if (frac!=frac_prev) {
            //printf("%d%%\r",frac);
            frac_prev=frac;
        }
        for (int nx=0;nx<deg[x];nx++) {
            int y=adj[x][nx];
            if (y >= x) break;
            nn=0;
            for (int ny=0;ny<deg[y];ny++) {
                int z=adj[y][ny];
                if (z >= y) break;
                if (adjacent(x,z)==0) continue;
                neigh[nn++]=z;
            }
            for (int i=0;i<nn;i++) {
                int z = neigh[i];
                for (int j=i+1;j<nn;j++) {
                    int zz = neigh[j];
                    if (adjacent(z,zz)) {
                        C4[x]++; C4[y]++; C4[z]++; C4[zz]++;
                    }
                }
            }
        }
    }
    endTime = clock();
    //printf("%.2f\n", (double)(endTime-startTime)/CLOCKS_PER_SEC);
    startTime = endTime;

    // set up a system of equations relating orbits for every node
    //printf("stage 3 - building systems of equations\n");
    int *common = (int*)calloc(n,sizeof(int));
    int *common_list = (int*)malloc(n*sizeof(int)), nc=0;
    frac_prev=-1;
    for (int x=0;x<n;x++) {
        frac = 100LL*x/n;
        if (frac!=frac_prev) {
            //printf("%d%%\r",frac);
            frac_prev=frac;
        }

        int64 f_12_14=0, f_10_13=0;
        int64 f_13_14=0, f_11_13=0;
        int64 f_7_11=0, f_5_8=0;
        int64 f_6_9=0, f_9_12=0, f_4_8=0, f_8_12=0;
        int64 f_14=C4[x];

        for (int i=0;i<nc;i++) common[common_list[i]]=0;
        nc=0;

        orbit[x][0]=deg[x];
        // x - middle node
        for (int nx1=0;nx1<deg[x];nx1++) {
            int y=inc[x][nx1].first, ey=inc[x][nx1].second;
            for (int ny=0;ny<deg[y];ny++) {
                int z=inc[y][ny].first, ez=inc[y][ny].second;
                if (adjacent(x,z)) { // triangle
                    if (z<y) {
                        f_12_14 += tri[ez]-1;
                        f_10_13 += (deg[y]-1-tri[ez])+(deg[z]-1-tri[ez]);
                    }
                } else {
                    if (common[z]==0) common_list[nc++]=z;
                    common[z]++;
                }
            }
            for (int nx2=nx1+1;nx2<deg[x];nx2++) {
                int z=inc[x][nx2].first, ez=inc[x][nx2].second;
                if (adjacent(y,z)) { // triangle
                    orbit[x][3]++;
                    f_13_14 += (tri[ey]-1)+(tri[ez]-1);
                    f_11_13 += (deg[x]-1-tri[ey])+(deg[x]-1-tri[ez]);
                } else { // path
                    orbit[x][2]++;
                    f_7_11 += (deg[x]-1-tri[ey]-1)+(deg[x]-1-tri[ez]-1);
                    f_5_8 += (deg[y]-1-tri[ey])+(deg[z]-1-tri[ez]);
                }
            }
        }
        // x - side node
        for (int nx1=0;nx1<deg[x];nx1++) {
            int y=inc[x][nx1].first, ey=inc[x][nx1].second;
            for (int ny=0;ny<deg[y];ny++) {
                int z=inc[y][ny].first, ez=inc[y][ny].second;
                if (x==z) continue;
                if (!adjacent(x,z)) { // path
                    orbit[x][1]++;
                    f_6_9 += (deg[y]-1-tri[ey]-1);
                    f_9_12 += tri[ez];
                    f_4_8 += (deg[z]-1-tri[ez]);
                    f_8_12 += (common[z]-1);
                }
            }
        }

        // solve system of equations
        orbit[x][14]=(f_14);
        orbit[x][13]=(f_13_14-6*f_14)/2;
        orbit[x][12]=(f_12_14-3*f_14);
        orbit[x][11]=(f_11_13-f_13_14+6*f_14)/2;
        orbit[x][10]=(f_10_13-f_13_14+6*f_14);
        orbit[x][9]=(f_9_12-2*f_12_14+6*f_14)/2;
        orbit[x][8]=(f_8_12-2*f_12_14+6*f_14)/2;
        orbit[x][7]=(f_13_14+f_7_11-f_11_13-6*f_14)/6;
        orbit[x][6]=(2*f_12_14+f_6_9-f_9_12-6*f_14)/2;
        orbit[x][5]=(2*f_12_14+f_5_8-f_8_12-6*f_14);
        orbit[x][4]=(2*f_12_14+f_4_8-f_8_12-6*f_14);
    }

    endTime = clock();
    //printf("%.2f\n", (double)(endTime-startTime)/CLOCKS_PER_SEC);

    endTime_all = endTime;
    //printf("total: %.2f\n", (double)(endTime_all-startTime_all)/CLOCKS_PER_SEC);

    free(tri);
    free(C4);
    free(neigh);
    free(common);
    free(common_list);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x140, %rsp            # imm = 0x140
callq 0x10120
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq 0x1d645(%rip), %rax     # 0x2df48
movslq (%rax), %rdi
movl $0x4, %esi
callq 0x10110
movq %rax, -0x30(%rbp)
movl $0xffffffff, -0x28(%rbp) # imm = 0xFFFFFFFF
movl $0x0, -0x34(%rbp)
movl -0x34(%rbp), %eax
movq 0x1d61c(%rip), %rcx     # 0x2df48
cmpl (%rcx), %eax
jge 0x10a95
movslq -0x34(%rbp), %rax
imulq $0x64, %rax, %rax
movq 0x1d605(%rip), %rcx     # 0x2df48
movslq (%rcx), %rcx
cqto
idivq %rcx
movl %eax, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0x28(%rbp), %eax
je 0x1095c
movl -0x24(%rbp), %eax
movl %eax, -0x28(%rbp)
movq 0x1d655(%rip), %rax     # 0x2dfb8
movq (%rax), %rax
movslq -0x34(%rbp), %rcx
movl (%rax,%rcx,8), %eax
movl %eax, -0x38(%rbp)
movq 0x1d641(%rip), %rax     # 0x2dfb8
movq (%rax), %rax
movslq -0x34(%rbp), %rcx
movl 0x4(%rax,%rcx,8), %eax
movl %eax, -0x3c(%rbp)
movl $0x0, -0x40(%rbp)
movl $0x0, -0x44(%rbp)
movl -0x40(%rbp), %ecx
movq 0x1d62b(%rip), %rax     # 0x2dfc8
movq (%rax), %rdx
movslq -0x38(%rbp), %rsi
xorl %eax, %eax
cmpl (%rdx,%rsi,4), %ecx
movb %al, -0x131(%rbp)
jge 0x109ce
movl -0x44(%rbp), %eax
movq 0x1d60d(%rip), %rcx     # 0x2dfc8
movq (%rcx), %rcx
movslq -0x3c(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
setl %al
movb %al, -0x131(%rbp)
movb -0x131(%rbp), %al
testb $0x1, %al
jne 0x109dd
jmp 0x10a85
movq 0x1d5ac(%rip), %rax     # 0x2df90
movq (%rax), %rax
movslq -0x38(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x40(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq 0x1d593(%rip), %rcx     # 0x2df90
movq (%rcx), %rcx
movslq -0x3c(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movslq -0x44(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jne 0x10a36
movq -0x30(%rbp), %rax
movslq -0x34(%rbp), %rcx
movl (%rax,%rcx,4), %edx
addl $0x1, %edx
movl %edx, (%rax,%rcx,4)
movl -0x40(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x40(%rbp)
movl -0x44(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x44(%rbp)
jmp 0x10a80
movq 0x1d553(%rip), %rax     # 0x2df90
movq (%rax), %rax
movslq -0x38(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x40(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq 0x1d53a(%rip), %rcx     # 0x2df90
movq (%rcx), %rcx
movslq -0x3c(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movslq -0x44(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge 0x10a75
movl -0x40(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x40(%rbp)
jmp 0x10a7e
movl -0x44(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x44(%rbp)
jmp 0x10a80
jmp 0x10993
jmp 0x10a87
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x10922
callq 0x10120
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x8(%rbp)
movq 0x1d4f3(%rip), %rax     # 0x2dfa0
movslq (%rax), %rdi
movl $0x8, %esi
callq 0x10110
movq %rax, -0x50(%rbp)
movq 0x1d4db(%rip), %rax     # 0x2dfa0
movslq (%rax), %rdi
shlq $0x2, %rdi
callq 0x102f0
movq %rax, -0x58(%rbp)
movl $0xffffffff, -0x28(%rbp) # imm = 0xFFFFFFFF
movl $0x0, -0x60(%rbp)
movl -0x60(%rbp), %eax
movq 0x1d4b3(%rip), %rcx     # 0x2dfa0
cmpl (%rcx), %eax
jge 0x10cde
movslq -0x60(%rbp), %rax
imulq $0x64, %rax, %rax
movq 0x1d49c(%rip), %rcx     # 0x2dfa0
movslq (%rcx), %rcx
cqto
idivq %rcx
movl %eax, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0x28(%rbp), %eax
je 0x10b1d
movl -0x24(%rbp), %eax
movl %eax, -0x28(%rbp)
movl $0x0, -0x64(%rbp)
movl -0x64(%rbp), %eax
movq 0x1d49a(%rip), %rcx     # 0x2dfc8
movq (%rcx), %rcx
movslq -0x60(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge 0x10cce
movq 0x1d44b(%rip), %rax     # 0x2df90
movq (%rax), %rax
movslq -0x60(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x64(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x68(%rbp)
movl -0x68(%rbp), %eax
cmpl -0x60(%rbp), %eax
jl 0x10b67
jmp 0x10cce
movl $0x0, -0x5c(%rbp)
movl $0x0, -0x6c(%rbp)
movl -0x6c(%rbp), %eax
movq 0x1d449(%rip), %rcx     # 0x2dfc8
movq (%rcx), %rcx
movslq -0x68(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge 0x10bf2
movq 0x1d3fe(%rip), %rax     # 0x2df90
movq (%rax), %rax
movslq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x6c(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x70(%rbp)
movl -0x70(%rbp), %eax
cmpl -0x68(%rbp), %eax
jl 0x10bb1
jmp 0x10bf2
movq 0x1d3f0(%rip), %rax     # 0x2dfa8
movq (%rax), %rax
movl -0x60(%rbp), %edi
movl -0x70(%rbp), %esi
callq *%rax
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
jne 0x10bcf
jmp 0x10be7
movl -0x70(%rbp), %edx
movq -0x58(%rbp), %rax
movl -0x5c(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x5c(%rbp)
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x6c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x6c(%rbp)
jmp 0x10b75
movl $0x0, -0x74(%rbp)
movl -0x74(%rbp), %eax
cmpl -0x5c(%rbp), %eax
jge 0x10cbe
movq -0x58(%rbp), %rax
movslq -0x74(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x78(%rbp)
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x7c(%rbp)
movl -0x7c(%rbp), %eax
cmpl -0x5c(%rbp), %eax
jge 0x10cae
movq -0x58(%rbp), %rax
movslq -0x7c(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x80(%rbp)
movq 0x1d36b(%rip), %rax     # 0x2dfa8
movq (%rax), %rax
movl -0x78(%rbp), %edi
movl -0x80(%rbp), %esi
callq *%rax
testb $0x1, %al
jne 0x10c4e
jmp 0x10c9e
movq -0x50(%rbp), %rax
movslq -0x60(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
addq $0x1, %rdx
movq %rdx, (%rax,%rcx,8)
movq -0x50(%rbp), %rax
movslq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
addq $0x1, %rdx
movq %rdx, (%rax,%rcx,8)
movq -0x50(%rbp), %rax
movslq -0x78(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
addq $0x1, %rdx
movq %rdx, (%rax,%rcx,8)
movq -0x50(%rbp), %rax
movslq -0x80(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
addq $0x1, %rdx
movq %rdx, (%rax,%rcx,8)
jmp 0x10ca0
movl -0x7c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x7c(%rbp)
jmp 0x10c1c
jmp 0x10cb0
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0x10bf9
jmp 0x10cc0
movl -0x64(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x64(%rbp)
jmp 0x10b24
jmp 0x10cd0
movl -0x60(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x60(%rbp)
jmp 0x10ae3
callq 0x10120
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x8(%rbp)
movq 0x1d2aa(%rip), %rax     # 0x2dfa0
movslq (%rax), %rdi
movl $0x4, %esi
callq 0x10110
movq %rax, -0x88(%rbp)
movq 0x1d28f(%rip), %rax     # 0x2dfa0
movslq (%rax), %rdi
shlq $0x2, %rdi
callq 0x102f0
movq %rax, -0x90(%rbp)
movl $0x0, -0x94(%rbp)
movl $0xffffffff, -0x28(%rbp) # imm = 0xFFFFFFFF
movl $0x0, -0x98(%rbp)
movl -0x98(%rbp), %eax
movq 0x1d254(%rip), %rcx     # 0x2dfa0
cmpl (%rcx), %eax
jge 0x1178d
movslq -0x98(%rbp), %rax
imulq $0x64, %rax, %rax
movq 0x1d23a(%rip), %rcx     # 0x2dfa0
movslq (%rcx), %rcx
cqto
idivq %rcx
movl %eax, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0x28(%rbp), %eax
je 0x10d7f
movl -0x24(%rbp), %eax
movl %eax, -0x28(%rbp)
movq $0x0, -0xa0(%rbp)
movq $0x0, -0xa8(%rbp)
movq $0x0, -0xb0(%rbp)
movq $0x0, -0xb8(%rbp)
movq $0x0, -0xc0(%rbp)
movq $0x0, -0xc8(%rbp)
movq $0x0, -0xd0(%rbp)
movq $0x0, -0xd8(%rbp)
movq $0x0, -0xe0(%rbp)
movq $0x0, -0xe8(%rbp)
movq -0x50(%rbp), %rax
movslq -0x98(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0xf0(%rbp)
movl $0x0, -0xf4(%rbp)
movl -0xf4(%rbp), %eax
cmpl -0x94(%rbp), %eax
jge 0x10e4c
movq -0x88(%rbp), %rax
movq -0x90(%rbp), %rcx
movslq -0xf4(%rbp), %rdx
movslq (%rcx,%rdx,4), %rcx
movl $0x0, (%rax,%rcx,4)
movl -0xf4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xf4(%rbp)
jmp 0x10e0d
movl $0x0, -0x94(%rbp)
movq 0x1d16b(%rip), %rax     # 0x2dfc8
movq (%rax), %rax
movslq -0x98(%rbp), %rcx
movslq (%rax,%rcx,4), %rcx
movq 0x1d0c6(%rip), %rax     # 0x2df38
movq (%rax), %rax
movslq -0x98(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, (%rax)
movl $0x0, -0xf8(%rbp)
movl -0xf8(%rbp), %eax
movq 0x1d12e(%rip), %rcx     # 0x2dfc8
movq (%rcx), %rcx
movslq -0x98(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge 0x112dc
movq 0x1d0d4(%rip), %rax     # 0x2df88
movq (%rax), %rax
movslq -0x98(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0xf8(%rbp), %rcx
movl (%rax,%rcx,8), %eax
movl %eax, -0xfc(%rbp)
movq 0x1d0af(%rip), %rax     # 0x2df88
movq (%rax), %rax
movslq -0x98(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0xf8(%rbp), %rcx
movl 0x4(%rax,%rcx,8), %eax
movl %eax, -0x100(%rbp)
movl $0x0, -0x104(%rbp)
movl -0x104(%rbp), %eax
movq 0x1d0b9(%rip), %rcx     # 0x2dfc8
movq (%rcx), %rcx
movslq -0xfc(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge 0x11080
movq 0x1d05f(%rip), %rax     # 0x2df88
movq (%rax), %rax
movslq -0xfc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x104(%rbp), %rcx
movl (%rax,%rcx,8), %eax
movl %eax, -0x108(%rbp)
movq 0x1d03a(%rip), %rax     # 0x2df88
movq (%rax), %rax
movslq -0xfc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x104(%rbp), %rcx
movl 0x4(%rax,%rcx,8), %eax
movl %eax, -0x10c(%rbp)
movq 0x1d034(%rip), %rax     # 0x2dfa8
movq (%rax), %rax
movl -0x98(%rbp), %edi
movl -0x108(%rbp), %esi
callq *%rax
testb $0x1, %al
jne 0x10f8e
jmp 0x1101b
movl -0x108(%rbp), %eax
cmpl -0xfc(%rbp), %eax
jge 0x11019
movq -0x30(%rbp), %rax
movslq -0x10c(%rbp), %rcx
movl (%rax,%rcx,4), %eax
subl $0x1, %eax
cltq
addq -0xa0(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq 0x1d004(%rip), %rax     # 0x2dfc8
movq (%rax), %rax
movslq -0xfc(%rbp), %rcx
movl (%rax,%rcx,4), %eax
subl $0x1, %eax
movq -0x30(%rbp), %rcx
movslq -0x10c(%rbp), %rdx
subl (%rcx,%rdx,4), %eax
movq 0x1cfdf(%rip), %rcx     # 0x2dfc8
movq (%rcx), %rcx
movslq -0x108(%rbp), %rdx
movl (%rcx,%rdx,4), %ecx
subl $0x1, %ecx
movq -0x30(%rbp), %rdx
movslq -0x10c(%rbp), %rsi
subl (%rdx,%rsi,4), %ecx
addl %ecx, %eax
cltq
addq -0xa8(%rbp), %rax
movq %rax, -0xa8(%rbp)
jmp 0x1106a
movq -0x88(%rbp), %rax
movslq -0x108(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,4)
jne 0x11053
movl -0x108(%rbp), %edx
movq -0x90(%rbp), %rax
movl -0x94(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x94(%rbp)
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movq -0x88(%rbp), %rax
movslq -0x108(%rbp), %rcx
movl (%rax,%rcx,4), %edx
addl $0x1, %edx
movl %edx, (%rax,%rcx,4)
jmp 0x1106c
movl -0x104(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x104(%rbp)
jmp 0x10f02
movl -0xf8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x110(%rbp)
movl -0x110(%rbp), %eax
movq 0x1cf2c(%rip), %rcx     # 0x2dfc8
movq (%rcx), %rcx
movslq -0x98(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge 0x112c6
movq 0x1ced2(%rip), %rax     # 0x2df88
movq (%rax), %rax
movslq -0x98(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x110(%rbp), %rcx
movl (%rax,%rcx,8), %eax
movl %eax, -0x114(%rbp)
movq 0x1cead(%rip), %rax     # 0x2df88
movq (%rax), %rax
movslq -0x98(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x110(%rbp), %rcx
movl 0x4(%rax,%rcx,8), %eax
movl %eax, -0x118(%rbp)
movq 0x1cea7(%rip), %rax     # 0x2dfa8
movq (%rax), %rax
movl -0xfc(%rbp), %edi
movl -0x114(%rbp), %esi
callq *%rax
testb $0x1, %al
jne 0x1111b
jmp 0x111d1
movq 0x1ce16(%rip), %rax     # 0x2df38
movq (%rax), %rax
movslq -0x98(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x18(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x18(%rax)
movq -0x30(%rbp), %rax
movslq -0x100(%rbp), %rcx
movl (%rax,%rcx,4), %eax
subl $0x1, %eax
movq -0x30(%rbp), %rcx
movslq -0x118(%rbp), %rdx
movl (%rcx,%rdx,4), %ecx
subl $0x1, %ecx
addl %ecx, %eax
cltq
addq -0xb0(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq 0x1ce51(%rip), %rax     # 0x2dfc8
movq (%rax), %rax
movslq -0x98(%rbp), %rcx
movl (%rax,%rcx,4), %eax
subl $0x1, %eax
movq -0x30(%rbp), %rcx
movslq -0x100(%rbp), %rdx
subl (%rcx,%rdx,4), %eax
movq 0x1ce2c(%rip), %rcx     # 0x2dfc8
movq (%rcx), %rcx
movslq -0x98(%rbp), %rdx
movl (%rcx,%rdx,4), %ecx
subl $0x1, %ecx
movq -0x30(%rbp), %rdx
movslq -0x118(%rbp), %rsi
subl (%rdx,%rsi,4), %ecx
addl %ecx, %eax
cltq
addq -0xb8(%rbp), %rax
movq %rax, -0xb8(%rbp)
jmp 0x112b0
movq 0x1cd60(%rip), %rax     # 0x2df38
movq (%rax), %rax
movslq -0x98(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x10(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x10(%rax)
movq 0x1cdcf(%rip), %rax     # 0x2dfc8
movq (%rax), %rax
movslq -0x98(%rbp), %rcx
movl (%rax,%rcx,4), %eax
subl $0x1, %eax
movq -0x30(%rbp), %rcx
movslq -0x100(%rbp), %rdx
subl (%rcx,%rdx,4), %eax
subl $0x1, %eax
movq 0x1cda7(%rip), %rcx     # 0x2dfc8
movq (%rcx), %rcx
movslq -0x98(%rbp), %rdx
movl (%rcx,%rdx,4), %ecx
subl $0x1, %ecx
movq -0x30(%rbp), %rdx
movslq -0x118(%rbp), %rsi
subl (%rdx,%rsi,4), %ecx
subl $0x1, %ecx
addl %ecx, %eax
cltq
addq -0xc0(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq 0x1cd6d(%rip), %rax     # 0x2dfc8
movq (%rax), %rax
movslq -0xfc(%rbp), %rcx
movl (%rax,%rcx,4), %eax
subl $0x1, %eax
movq -0x30(%rbp), %rcx
movslq -0x100(%rbp), %rdx
subl (%rcx,%rdx,4), %eax
movq 0x1cd48(%rip), %rcx     # 0x2dfc8
movq (%rcx), %rcx
movslq -0x114(%rbp), %rdx
movl (%rcx,%rdx,4), %ecx
subl $0x1, %ecx
movq -0x30(%rbp), %rdx
movslq -0x118(%rbp), %rsi
subl (%rdx,%rsi,4), %ecx
addl %ecx, %eax
cltq
addq -0xc8(%rbp), %rax
movq %rax, -0xc8(%rbp)
jmp 0x112b2
movl -0x110(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x110(%rbp)
jmp 0x1108f
jmp 0x112c8
movl -0xf8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xf8(%rbp)
jmp 0x10e8d
movl $0x0, -0x11c(%rbp)
movl -0x11c(%rbp), %eax
movq 0x1ccd5(%rip), %rcx     # 0x2dfc8
movq (%rcx), %rcx
movslq -0x98(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge 0x114f4
movq 0x1cc7b(%rip), %rax     # 0x2df88
movq (%rax), %rax
movslq -0x98(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x11c(%rbp), %rcx
movl (%rax,%rcx,8), %eax
movl %eax, -0x120(%rbp)
movq 0x1cc56(%rip), %rax     # 0x2df88
movq (%rax), %rax
movslq -0x98(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x11c(%rbp), %rcx
movl 0x4(%rax,%rcx,8), %eax
movl %eax, -0x124(%rbp)
movl $0x0, -0x128(%rbp)
movl -0x128(%rbp), %eax
movq 0x1cc60(%rip), %rcx     # 0x2dfc8
movq (%rcx), %rcx
movslq -0x120(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge 0x114de
movq 0x1cc06(%rip), %rax     # 0x2df88
movq (%rax), %rax
movslq -0x120(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x128(%rbp), %rcx
movl (%rax,%rcx,8), %eax
movl %eax, -0x12c(%rbp)
movq 0x1cbe1(%rip), %rax     # 0x2df88
movq (%rax), %rax
movslq -0x120(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x128(%rbp), %rcx
movl 0x4(%rax,%rcx,8), %eax
movl %eax, -0x130(%rbp)
movl -0x98(%rbp), %eax
cmpl -0x12c(%rbp), %eax
jne 0x113d9
jmp 0x114ca
movq 0x1cbc8(%rip), %rax     # 0x2dfa8
movq (%rax), %rax
movl -0x98(%rbp), %edi
movl -0x12c(%rbp), %esi
callq *%rax
testb $0x1, %al
jne 0x114c8
movq 0x1cb38(%rip), %rax     # 0x2df38
movq (%rax), %rax
movslq -0x98(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x8(%rax)
movq 0x1cba7(%rip), %rax     # 0x2dfc8
movq (%rax), %rax
movslq -0x120(%rbp), %rcx
movl (%rax,%rcx,4), %eax
subl $0x1, %eax
movq -0x30(%rbp), %rcx
movslq -0x124(%rbp), %rdx
subl (%rcx,%rdx,4), %eax
subl $0x1, %eax
cltq
addq -0xd0(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x30(%rbp), %rax
movslq -0x130(%rbp), %rcx
movslq (%rax,%rcx,4), %rax
addq -0xd8(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq 0x1cb52(%rip), %rax     # 0x2dfc8
movq (%rax), %rax
movslq -0x12c(%rbp), %rcx
movl (%rax,%rcx,4), %eax
subl $0x1, %eax
movq -0x30(%rbp), %rcx
movslq -0x130(%rbp), %rdx
subl (%rcx,%rdx,4), %eax
cltq
addq -0xe0(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0x88(%rbp), %rax
movslq -0x12c(%rbp), %rcx
movl (%rax,%rcx,4), %eax
subl $0x1, %eax
cltq
addq -0xe8(%rbp), %rax
movq %rax, -0xe8(%rbp)
jmp 0x114ca
movl -0x128(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x128(%rbp)
jmp 0x1135b
jmp 0x114e0
movl -0x11c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x11c(%rbp)
jmp 0x112e6
movq -0xf0(%rbp), %rcx
movq 0x1ca36(%rip), %rax     # 0x2df38
movq (%rax), %rax
movslq -0x98(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x70(%rax)
movq -0xb0(%rbp), %rax
imulq $0x6, -0xf0(%rbp), %rcx
subq %rcx, %rax
movl $0x2, %ecx
cqto
idivq %rcx
movq %rax, %rcx
movq 0x1c9fe(%rip), %rax     # 0x2df38
movq (%rax), %rax
movslq -0x98(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x68(%rax)
movq -0xa0(%rbp), %rcx
imulq $0x3, -0xf0(%rbp), %rax
subq %rax, %rcx
movq 0x1c9d3(%rip), %rax     # 0x2df38
movq (%rax), %rax
movslq -0x98(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x60(%rax)
movq -0xb8(%rbp), %rax
subq -0xb0(%rbp), %rax
imulq $0x6, -0xf0(%rbp), %rcx
addq %rcx, %rax
movl $0x2, %ecx
cqto
idivq %rcx
movq %rax, %rcx
movq 0x1c994(%rip), %rax     # 0x2df38
movq (%rax), %rax
movslq -0x98(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x58(%rax)
movq -0xa8(%rbp), %rcx
subq -0xb0(%rbp), %rcx
imulq $0x6, -0xf0(%rbp), %rax
addq %rax, %rcx
movq 0x1c962(%rip), %rax     # 0x2df38
movq (%rax), %rax
movslq -0x98(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x50(%rax)
movq -0xd8(%rbp), %rax
movq -0xa0(%rbp), %rcx
shlq %rcx
subq %rcx, %rax
imulq $0x6, -0xf0(%rbp), %rcx
addq %rcx, %rax
movl $0x2, %ecx
cqto
idivq %rcx
movq %rax, %rcx
movq 0x1c91d(%rip), %rax     # 0x2df38
movq (%rax), %rax
movslq -0x98(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x48(%rax)
movq -0xe8(%rbp), %rax
movq -0xa0(%rbp), %rcx
shlq %rcx
subq %rcx, %rax
imulq $0x6, -0xf0(%rbp), %rcx
addq %rcx, %rax
movl $0x2, %ecx
cqto
idivq %rcx
movq %rax, %rcx
movq 0x1c8d8(%rip), %rax     # 0x2df38
movq (%rax), %rax
movslq -0x98(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x40(%rax)
movq -0xb0(%rbp), %rax
addq -0xc0(%rbp), %rax
subq -0xb8(%rbp), %rax
imulq $0x6, -0xf0(%rbp), %rcx
subq %rcx, %rax
movl $0x6, %ecx
cqto
idivq %rcx
movq %rax, %rcx
movq 0x1c892(%rip), %rax     # 0x2df38
movq (%rax), %rax
movslq -0x98(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x38(%rax)
movq -0xa0(%rbp), %rax
shlq %rax
addq -0xd0(%rbp), %rax
subq -0xd8(%rbp), %rax
imulq $0x6, -0xf0(%rbp), %rcx
subq %rcx, %rax
movl $0x2, %ecx
cqto
idivq %rcx
movq %rax, %rcx
movq 0x1c849(%rip), %rax     # 0x2df38
movq (%rax), %rax
movslq -0x98(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x30(%rax)
movq -0xa0(%rbp), %rcx
shlq %rcx
addq -0xc8(%rbp), %rcx
subq -0xe8(%rbp), %rcx
imulq $0x6, -0xf0(%rbp), %rax
subq %rax, %rcx
movq 0x1c80d(%rip), %rax     # 0x2df38
movq (%rax), %rax
movslq -0x98(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x28(%rax)
movq -0xa0(%rbp), %rcx
shlq %rcx
addq -0xe0(%rbp), %rcx
subq -0xe8(%rbp), %rcx
imulq $0x6, -0xf0(%rbp), %rax
subq %rax, %rcx
movq 0x1c7d1(%rip), %rax     # 0x2df38
movq (%rax), %rax
movslq -0x98(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x20(%rax)
movl -0x98(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x98(%rbp)
jmp 0x10d3f
callq 0x10120
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x30(%rbp), %rdi
callq 0x102a0
movq -0x50(%rbp), %rdi
callq 0x102a0
movq -0x58(%rbp), %rdi
callq 0x102a0
movq -0x88(%rbp), %rdi
callq 0x102a0
movq -0x90(%rbp), %rdi
callq 0x102a0
addq $0x140, %rsp            # imm = 0x140
popq %rbp
retq
nopw (%rax,%rax)