// File: bobverity[P]MavericK/MCMCobject_admixture.cpp
// Function: MCMCobject_admixture::reset(bool)
void MCMCobject_admixture::reset(bool reset_Qmatrix_running) {
    
    // reset likelihoods
    logLikeGroup = 0;
    logLikeGroup_sum = 0;
    logLikeGroup_store = vector<double>(samples);
    logLikeGroup_sumSquared = 0;
    logLikeJoint = 0;
    logLikeJoint_sum = 0;
    logLikeJoint_sumSquared = 0;
    harmonic = log(double(0));
    
    // reset Qmatrices
    logQmatrix_gene_old = vector< vector<double> >(geneCopies, vector<double>(K));
    logQmatrix_gene_new = vector< vector<double> >(geneCopies, vector<double>(K));
    Qmatrix_gene_new = vector< vector<double> >(geneCopies, vector<double>(K));
    if (reset_Qmatrix_running) {
        logQmatrix_gene_running = vector< vector<double> >(geneCopies, vector<double>(K,-log(double(K))));
    }
    
    logQmatrix_gene = vector< vector<double> >(geneCopies, vector<double>(K, log(double(0))));
    Qmatrix_gene = vector< vector<double> >(geneCopies, vector<double>(K));
    Qmatrix_ind = vector< vector<double> >(n, vector<double>(K));
    Qmatrix_pop = vector< vector<double> >(uniquePops.size(), vector<double>(K));
    
    // initialise group with random allocation
    vector<double> equalK(K,1/double(K));
    groupIndex=-1;
    for (int i=0; i<n; i++) {
        for (int l=0; l<loci; l++) {
            for (int p=0; p<ploidy_vec[i]; p++) {
                groupIndex++;
                linearGroup[groupIndex] = sample1(equalK,1.0);
                group[i][l][p] = linearGroup[groupIndex];
            }
        }
    }
    
    // zero allele counts and admix counts
    for (int k=0; k<K; k++) {
        alleleCountsTotals[k] = vector<int>(loci);
        for (int l=0; l<loci; l++) {
            alleleCounts[k][l] = vector<int>(J[l]);
        }
    }
    admixCounts = vector< vector<int> > (n,vector<int>(K));
    admixCountsTotals = vector<int> (n);
    
    // populate allele counts and admix counts
    groupIndex=-1;
    for (int ind=0; ind<n; ind++) {
        for (int l=0; l<loci; l++) {
            for (int p=0; p<ploidy_vec[ind]; p++) {
                groupIndex++;
                if (data[ind][l][p]!=0) {
                    alleleCounts[linearGroup[groupIndex]-1][l][data[ind][l][p]-1]++;
                    alleleCountsTotals[linearGroup[groupIndex]-1][l]++;
                    
                    admixCounts[ind][linearGroup[groupIndex]-1]++;
                    admixCountsTotals[ind]++;
                }
            }
        }
    }
    
}

// Assembly:
subq $0x4d8, %rsp            # imm = 0x4D8
movb %sil, %al
movq %rdi, 0x4d0(%rsp)
andb $0x1, %al
movb %al, 0x4cf(%rsp)
movq 0x4d0(%rsp), %rax
movq %rax, 0x1d8(%rsp)
movq $0x0, 0x1e8(%rax)
movq $0x0, 0x1f0(%rax)
movslq 0xa8(%rax), %rax
movq %rax, 0x1e0(%rsp)
leaq 0x4af(%rsp), %rdi
movq %rdi, 0x1e8(%rsp)
callq 0x8780
movq 0x1e0(%rsp), %rsi
movq 0x1e8(%rsp), %rdx
leaq 0x4b0(%rsp), %rdi
callq 0x8790
jmp 0x108e4
movq 0x1d8(%rsp), %rdi
addq $0x1f8, %rdi            # imm = 0x1F8
leaq 0x4b0(%rsp), %rsi
movq %rsi, 0x1b8(%rsp)
callq 0x8be0
movq 0x1b8(%rsp), %rdi
callq 0x88b0
leaq 0x4af(%rsp), %rdi
callq 0x8910
movq 0x1d8(%rsp), %rax
movq $0x0, 0x210(%rax)
movq $0x0, 0x218(%rax)
movq $0x0, 0x220(%rax)
movq $0x0, 0x228(%rax)
xorps %xmm0, %xmm0
callq 0x4390
movq 0x1d8(%rsp), %rax
movsd %xmm0, 0x230(%rax)
movslq 0x70(%rax), %rcx
movq %rcx, 0x1c0(%rsp)
movslq 0x1c(%rax), %rax
movq %rax, 0x1c8(%rsp)
leaq 0x467(%rsp), %rdi
movq %rdi, 0x1d0(%rsp)
callq 0x8780
movq 0x1c8(%rsp), %rsi
movq 0x1d0(%rsp), %rdx
leaq 0x468(%rsp), %rdi
callq 0x8790
jmp 0x109ba
leaq 0x466(%rsp), %rdi
movq %rdi, 0x1b0(%rsp)
callq 0x8810
movq 0x1c0(%rsp), %rsi
movq 0x1b0(%rsp), %rcx
leaq 0x480(%rsp), %rdi
leaq 0x468(%rsp), %rdx
callq 0x8820
jmp 0x109f6
movq 0x1d8(%rsp), %rdi
addq $0x280, %rdi            # imm = 0x280
leaq 0x480(%rsp), %rsi
movq %rsi, 0x190(%rsp)
callq 0x8b00
movq 0x190(%rsp), %rdi
callq 0x8b40
leaq 0x466(%rsp), %rdi
callq 0x88a0
leaq 0x468(%rsp), %rdi
callq 0x88b0
leaq 0x467(%rsp), %rdi
callq 0x8910
movq 0x1d8(%rsp), %rax
movslq 0x70(%rax), %rcx
movq %rcx, 0x198(%rsp)
movslq 0x1c(%rax), %rax
movq %rax, 0x1a0(%rsp)
leaq 0x42f(%rsp), %rdi
movq %rdi, 0x1a8(%rsp)
callq 0x8780
movq 0x1a0(%rsp), %rsi
movq 0x1a8(%rsp), %rdx
leaq 0x430(%rsp), %rdi
callq 0x8790
jmp 0x10aa2
leaq 0x42e(%rsp), %rdi
movq %rdi, 0x188(%rsp)
callq 0x8810
movq 0x198(%rsp), %rsi
movq 0x188(%rsp), %rcx
leaq 0x448(%rsp), %rdi
leaq 0x430(%rsp), %rdx
callq 0x8820
jmp 0x10ade
movq 0x1d8(%rsp), %rdi
addq $0x298, %rdi            # imm = 0x298
leaq 0x448(%rsp), %rsi
movq %rsi, 0x168(%rsp)
callq 0x8b00
movq 0x168(%rsp), %rdi
callq 0x8b40
leaq 0x42e(%rsp), %rdi
callq 0x88a0
leaq 0x430(%rsp), %rdi
callq 0x88b0
leaq 0x42f(%rsp), %rdi
callq 0x8910
movq 0x1d8(%rsp), %rax
movslq 0x70(%rax), %rcx
movq %rcx, 0x170(%rsp)
movslq 0x1c(%rax), %rax
movq %rax, 0x178(%rsp)
leaq 0x3f7(%rsp), %rdi
movq %rdi, 0x180(%rsp)
callq 0x8780
movq 0x178(%rsp), %rsi
movq 0x180(%rsp), %rdx
leaq 0x3f8(%rsp), %rdi
callq 0x8790
jmp 0x10b8a
leaq 0x3f6(%rsp), %rdi
movq %rdi, 0x160(%rsp)
callq 0x8810
movq 0x170(%rsp), %rsi
movq 0x160(%rsp), %rcx
leaq 0x410(%rsp), %rdi
leaq 0x3f8(%rsp), %rdx
callq 0x8820
jmp 0x10bc6
movq 0x1d8(%rsp), %rdi
addq $0x2b0, %rdi            # imm = 0x2B0
leaq 0x410(%rsp), %rsi
callq 0x8b00
leaq 0x410(%rsp), %rdi
callq 0x8b40
leaq 0x3f6(%rsp), %rdi
callq 0x88a0
leaq 0x3f8(%rsp), %rdi
callq 0x88b0
leaq 0x3f7(%rsp), %rdi
callq 0x8910
testb $0x1, 0x4cf(%rsp)
je 0x10eac
movq 0x1d8(%rsp), %rax
movslq 0x70(%rax), %rcx
movq %rcx, 0x148(%rsp)
movslq 0x1c(%rax), %rax
movq %rax, 0x150(%rsp)
cvtsi2sd %eax, %xmm0
callq 0x4390
movaps 0x4b3dc(%rip), %xmm1    # 0x5c030
pxor %xmm1, %xmm0
movlpd %xmm0, 0x3b8(%rsp)
leaq 0x3b7(%rsp), %rdi
movq %rdi, 0x158(%rsp)
callq 0x8780
movq 0x150(%rsp), %rsi
movq 0x158(%rsp), %rcx
leaq 0x3c0(%rsp), %rdi
leaq 0x3b8(%rsp), %rdx
callq 0x8cf0
jmp 0x10c9d
leaq 0x3b6(%rsp), %rdi
movq %rdi, 0x140(%rsp)
callq 0x8810
movq 0x148(%rsp), %rsi
movq 0x140(%rsp), %rcx
leaq 0x3d8(%rsp), %rdi
leaq 0x3c0(%rsp), %rdx
callq 0x8820
jmp 0x10cd9
movq 0x1d8(%rsp), %rdi
addq $0x2c8, %rdi            # imm = 0x2C8
leaq 0x3d8(%rsp), %rsi
callq 0x8b00
leaq 0x3d8(%rsp), %rdi
callq 0x8b40
leaq 0x3b6(%rsp), %rdi
callq 0x88a0
leaq 0x3c0(%rsp), %rdi
callq 0x88b0
leaq 0x3b7(%rsp), %rdi
callq 0x8910
jmp 0x10eac
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
leaq 0x4af(%rsp), %rdi
callq 0x8910
jmp 0x11c8d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
jmp 0x10d98
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
leaq 0x466(%rsp), %rdi
callq 0x88a0
leaq 0x468(%rsp), %rdi
callq 0x88b0
leaq 0x467(%rsp), %rdi
callq 0x8910
jmp 0x11c8d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
jmp 0x10dee
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
leaq 0x42e(%rsp), %rdi
callq 0x88a0
leaq 0x430(%rsp), %rdi
callq 0x88b0
leaq 0x42f(%rsp), %rdi
callq 0x8910
jmp 0x11c8d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
jmp 0x10e44
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
leaq 0x3f6(%rsp), %rdi
callq 0x88a0
leaq 0x3f8(%rsp), %rdi
callq 0x88b0
leaq 0x3f7(%rsp), %rdi
callq 0x8910
jmp 0x11c8d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
jmp 0x10e9a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
leaq 0x3b6(%rsp), %rdi
callq 0x88a0
leaq 0x3c0(%rsp), %rdi
callq 0x88b0
leaq 0x3b7(%rsp), %rdi
callq 0x8910
jmp 0x11c8d
movq 0x1d8(%rsp), %rax
movslq 0x70(%rax), %rcx
movq %rcx, 0x128(%rsp)
movslq 0x1c(%rax), %rax
movq %rax, 0x130(%rsp)
xorps %xmm0, %xmm0
callq 0x4390
movsd %xmm0, 0x378(%rsp)
leaq 0x377(%rsp), %rdi
movq %rdi, 0x138(%rsp)
callq 0x8780
movq 0x130(%rsp), %rsi
movq 0x138(%rsp), %rcx
leaq 0x380(%rsp), %rdi
leaq 0x378(%rsp), %rdx
callq 0x8cf0
jmp 0x10f19
leaq 0x376(%rsp), %rdi
movq %rdi, 0x120(%rsp)
callq 0x8810
movq 0x128(%rsp), %rsi
movq 0x120(%rsp), %rcx
leaq 0x398(%rsp), %rdi
leaq 0x380(%rsp), %rdx
callq 0x8820
jmp 0x10f55
movq 0x1d8(%rsp), %rdi
addq $0x2e0, %rdi            # imm = 0x2E0
leaq 0x398(%rsp), %rsi
movq %rsi, 0x100(%rsp)
callq 0x8b00
movq 0x100(%rsp), %rdi
callq 0x8b40
leaq 0x376(%rsp), %rdi
callq 0x88a0
leaq 0x380(%rsp), %rdi
callq 0x88b0
leaq 0x377(%rsp), %rdi
callq 0x8910
movq 0x1d8(%rsp), %rax
movslq 0x70(%rax), %rcx
movq %rcx, 0x108(%rsp)
movslq 0x1c(%rax), %rax
movq %rax, 0x110(%rsp)
leaq 0x33f(%rsp), %rdi
movq %rdi, 0x118(%rsp)
callq 0x8780
movq 0x110(%rsp), %rsi
movq 0x118(%rsp), %rdx
leaq 0x340(%rsp), %rdi
callq 0x8790
jmp 0x11001
leaq 0x33e(%rsp), %rdi
movq %rdi, 0xf8(%rsp)
callq 0x8810
movq 0x108(%rsp), %rsi
movq 0xf8(%rsp), %rcx
leaq 0x358(%rsp), %rdi
leaq 0x340(%rsp), %rdx
callq 0x8820
jmp 0x1103d
movq 0x1d8(%rsp), %rdi
addq $0x2f8, %rdi            # imm = 0x2F8
leaq 0x358(%rsp), %rsi
movq %rsi, 0xd8(%rsp)
callq 0x8b00
movq 0xd8(%rsp), %rdi
callq 0x8b40
leaq 0x33e(%rsp), %rdi
callq 0x88a0
leaq 0x340(%rsp), %rdi
callq 0x88b0
leaq 0x33f(%rsp), %rdi
callq 0x8910
movq 0x1d8(%rsp), %rax
movslq 0x20(%rax), %rcx
movq %rcx, 0xe0(%rsp)
movslq 0x1c(%rax), %rax
movq %rax, 0xe8(%rsp)
leaq 0x307(%rsp), %rdi
movq %rdi, 0xf0(%rsp)
callq 0x8780
movq 0xe8(%rsp), %rsi
movq 0xf0(%rsp), %rdx
leaq 0x308(%rsp), %rdi
callq 0x8790
jmp 0x110e9
leaq 0x306(%rsp), %rdi
movq %rdi, 0xd0(%rsp)
callq 0x8810
movq 0xe0(%rsp), %rsi
movq 0xd0(%rsp), %rcx
leaq 0x320(%rsp), %rdi
leaq 0x308(%rsp), %rdx
callq 0x8820
jmp 0x11125
movq 0x1d8(%rsp), %rdi
addq $0x310, %rdi            # imm = 0x310
leaq 0x320(%rsp), %rsi
movq %rsi, 0xb0(%rsp)
callq 0x8b00
movq 0xb0(%rsp), %rdi
callq 0x8b40
leaq 0x306(%rsp), %rdi
callq 0x88a0
leaq 0x308(%rsp), %rdi
callq 0x88b0
leaq 0x307(%rsp), %rdi
callq 0x8910
movq 0x1d8(%rsp), %rdi
addq $0x58, %rdi
callq 0x16bb0
movq %rax, %rcx
movq 0x1d8(%rsp), %rax
movq %rcx, 0xb8(%rsp)
movslq 0x1c(%rax), %rax
movq %rax, 0xc0(%rsp)
leaq 0x2cf(%rsp), %rdi
movq %rdi, 0xc8(%rsp)
callq 0x8780
movq 0xc0(%rsp), %rsi
movq 0xc8(%rsp), %rdx
leaq 0x2d0(%rsp), %rdi
callq 0x8790
jmp 0x111e1
leaq 0x2ce(%rsp), %rdi
movq %rdi, 0xa8(%rsp)
callq 0x8810
movq 0xb8(%rsp), %rsi
movq 0xa8(%rsp), %rcx
leaq 0x2e8(%rsp), %rdi
leaq 0x2d0(%rsp), %rdx
callq 0x8820
jmp 0x1121d
movq 0x1d8(%rsp), %rdi
addq $0x328, %rdi            # imm = 0x328
leaq 0x2e8(%rsp), %rsi
movq %rsi, 0x90(%rsp)
callq 0x8b00
movq 0x90(%rsp), %rdi
callq 0x8b40
leaq 0x2ce(%rsp), %rdi
callq 0x88a0
leaq 0x2d0(%rsp), %rdi
callq 0x88b0
leaq 0x2cf(%rsp), %rdi
callq 0x8910
movq 0x1d8(%rsp), %rax
movslq 0x1c(%rax), %rax
movq %rax, 0x98(%rsp)
cvtsi2sd %eax, %xmm1
movsd 0x4af6b(%rip), %xmm0    # 0x5c200
divsd %xmm1, %xmm0
movsd %xmm0, 0x2a8(%rsp)
leaq 0x2a7(%rsp), %rdi
movq %rdi, 0xa0(%rsp)
callq 0x8780
movq 0x98(%rsp), %rsi
movq 0xa0(%rsp), %rcx
leaq 0x2b0(%rsp), %rdi
leaq 0x2a8(%rsp), %rdx
callq 0x8cf0
jmp 0x112de
leaq 0x2a7(%rsp), %rdi
callq 0x8910
movq 0x1d8(%rsp), %rax
movl $0xffffffff, 0x108(%rax) # imm = 0xFFFFFFFF
movl $0x0, 0x2a0(%rsp)
movq 0x1d8(%rsp), %rcx
movl 0x2a0(%rsp), %eax
cmpl 0x20(%rcx), %eax
jge 0x1162e
movl $0x0, 0x29c(%rsp)
movq 0x1d8(%rsp), %rcx
movl 0x29c(%rsp), %eax
cmpl 0x24(%rcx), %eax
jge 0x11616
movl $0x0, 0x298(%rsp)
movq 0x1d8(%rsp), %rdi
movl 0x298(%rsp), %eax
movl %eax, 0x8c(%rsp)
addq $0x40, %rdi
movslq 0x2a0(%rsp), %rsi
callq 0x8ba0
movq %rax, %rcx
movl 0x8c(%rsp), %eax
cmpl (%rcx), %eax
jge 0x115fe
movq 0x1d8(%rsp), %rax
movl 0x108(%rax), %ecx
incl %ecx
movl %ecx, 0x108(%rax)
leaq 0x2b0(%rsp), %rdi
movsd 0x4ae53(%rip), %xmm0    # 0x5c200
callq 0x39240
movl %eax, 0x88(%rsp)
jmp 0x113bb
movq 0x1d8(%rsp), %rax
movq %rax, %rdi
addq $0xc0, %rdi
movslq 0x108(%rax), %rsi
callq 0x8ba0
movl 0x88(%rsp), %edx
movq %rax, %rcx
movq 0x1d8(%rsp), %rax
movl %edx, (%rcx)
movq %rax, %rdi
addq $0xc0, %rdi
movslq 0x108(%rax), %rsi
callq 0x8ba0
movq 0x1d8(%rsp), %rdi
movl (%rax), %eax
movl %eax, 0x84(%rsp)
addq $0xd8, %rdi
movslq 0x2a0(%rsp), %rsi
callq 0x8c40
movq %rax, %rdi
movslq 0x29c(%rsp), %rsi
callq 0x8c60
movq %rax, %rdi
movslq 0x298(%rsp), %rsi
callq 0x8ba0
movl 0x84(%rsp), %ecx
movl %ecx, (%rax)
movl 0x298(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x298(%rsp)
jmp 0x1134e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
jmp 0x114ab
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
leaq 0x376(%rsp), %rdi
callq 0x88a0
leaq 0x380(%rsp), %rdi
callq 0x88b0
leaq 0x377(%rsp), %rdi
callq 0x8910
jmp 0x11c8d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
jmp 0x11501
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
leaq 0x33e(%rsp), %rdi
callq 0x88a0
leaq 0x340(%rsp), %rdi
callq 0x88b0
leaq 0x33f(%rsp), %rdi
callq 0x8910
jmp 0x11c8d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
jmp 0x11557
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
leaq 0x306(%rsp), %rdi
callq 0x88a0
leaq 0x308(%rsp), %rdi
callq 0x88b0
leaq 0x307(%rsp), %rdi
callq 0x8910
jmp 0x11c8d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
jmp 0x115ad
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
leaq 0x2ce(%rsp), %rdi
callq 0x88a0
leaq 0x2d0(%rsp), %rdi
callq 0x88b0
leaq 0x2cf(%rsp), %rdi
callq 0x8910
jmp 0x11c8d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
leaq 0x2a7(%rsp), %rdi
callq 0x8910
jmp 0x11c8d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
jmp 0x11c80
jmp 0x11600
movl 0x29c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x29c(%rsp)
jmp 0x1132b
jmp 0x11618
movl 0x2a0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2a0(%rsp)
jmp 0x11308
movl $0x0, 0x294(%rsp)
movq 0x1d8(%rsp), %rcx
movl 0x294(%rsp), %eax
cmpl 0x1c(%rcx), %eax
jge 0x11812
movq 0x1d8(%rsp), %rax
movslq 0x24(%rax), %rax
movq %rax, 0x70(%rsp)
leaq 0x277(%rsp), %rdi
movq %rdi, 0x78(%rsp)
callq 0xc5e0
movq 0x70(%rsp), %rsi
movq 0x78(%rsp), %rdx
leaq 0x278(%rsp), %rdi
callq 0xc7b0
jmp 0x1168d
movq 0x1d8(%rsp), %rdi
addq $0x128, %rdi            # imm = 0x128
movslq 0x294(%rsp), %rsi
callq 0x8c60
movq %rax, %rdi
leaq 0x278(%rsp), %rsi
callq 0xc6a0
leaq 0x278(%rsp), %rdi
callq 0xc6e0
leaq 0x277(%rsp), %rdi
callq 0xc670
movl $0x0, 0x270(%rsp)
movq 0x1d8(%rsp), %rcx
movl 0x270(%rsp), %eax
cmpl 0x24(%rcx), %eax
jge 0x117fa
movq 0x1d8(%rsp), %rdi
addq $0x28, %rdi
movslq 0x270(%rsp), %rsi
callq 0x8ba0
movslq (%rax), %rax
movq %rax, 0x60(%rsp)
leaq 0x257(%rsp), %rdi
movq %rdi, 0x68(%rsp)
callq 0xc5e0
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
leaq 0x258(%rsp), %rdi
callq 0xc7b0
jmp 0x11742
movq 0x1d8(%rsp), %rdi
addq $0x110, %rdi            # imm = 0x110
movslq 0x294(%rsp), %rsi
callq 0x8c40
movq %rax, %rdi
movslq 0x270(%rsp), %rsi
callq 0x8c60
movq %rax, %rdi
leaq 0x258(%rsp), %rsi
callq 0xc6a0
leaq 0x258(%rsp), %rdi
callq 0xc6e0
leaq 0x257(%rsp), %rdi
callq 0xc670
movl 0x270(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x270(%rsp)
jmp 0x116de
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
leaq 0x277(%rsp), %rdi
callq 0xc670
jmp 0x11c80
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
leaq 0x257(%rsp), %rdi
callq 0xc670
jmp 0x11c80
jmp 0x117fc
movl 0x294(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x294(%rsp)
jmp 0x11639
movq 0x1d8(%rsp), %rax
movslq 0x20(%rax), %rcx
movq %rcx, 0x48(%rsp)
movslq 0x1c(%rax), %rax
movq %rax, 0x50(%rsp)
leaq 0x21f(%rsp), %rdi
movq %rdi, 0x58(%rsp)
callq 0xc5e0
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
leaq 0x220(%rsp), %rdi
callq 0xc7b0
jmp 0x11857
leaq 0x21e(%rsp), %rdi
movq %rdi, 0x40(%rsp)
callq 0x169f0
movq 0x48(%rsp), %rsi
movq 0x40(%rsp), %rcx
leaq 0x238(%rsp), %rdi
leaq 0x220(%rsp), %rdx
callq 0x16b30
jmp 0x1188a
movq 0x1d8(%rsp), %rdi
addq $0x188, %rdi            # imm = 0x188
leaq 0x238(%rsp), %rsi
movq %rsi, 0x28(%rsp)
callq 0x16a80
movq 0x28(%rsp), %rdi
callq 0x16ac0
leaq 0x21e(%rsp), %rdi
callq 0x16b20
leaq 0x220(%rsp), %rdi
callq 0xc6e0
leaq 0x21f(%rsp), %rdi
callq 0xc670
movq 0x1d8(%rsp), %rax
movslq 0x20(%rax), %rax
movq %rax, 0x30(%rsp)
leaq 0x1ff(%rsp), %rdi
movq %rdi, 0x38(%rsp)
callq 0xc5e0
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
leaq 0x200(%rsp), %rdi
callq 0xc7b0
jmp 0x11918
movq 0x1d8(%rsp), %rdi
addq $0x1a0, %rdi            # imm = 0x1A0
leaq 0x200(%rsp), %rsi
callq 0xc6a0
leaq 0x200(%rsp), %rdi
callq 0xc6e0
leaq 0x1ff(%rsp), %rdi
callq 0xc670
movq 0x1d8(%rsp), %rax
movl $0xffffffff, 0x108(%rax) # imm = 0xFFFFFFFF
movl $0x0, 0x1f8(%rsp)
movq 0x1d8(%rsp), %rcx
movl 0x1f8(%rsp), %eax
cmpl 0x20(%rcx), %eax
jge 0x11c6b
movl $0x0, 0x1f4(%rsp)
movq 0x1d8(%rsp), %rcx
movl 0x1f4(%rsp), %eax
cmpl 0x24(%rcx), %eax
jge 0x11c53
movl $0x0, 0x1f0(%rsp)
movq 0x1d8(%rsp), %rdi
movl 0x1f0(%rsp), %eax
movl %eax, 0x24(%rsp)
addq $0x40, %rdi
movslq 0x1f8(%rsp), %rsi
callq 0x8ba0
movq %rax, %rcx
movl 0x24(%rsp), %eax
cmpl (%rcx), %eax
jge 0x11c3b
movq 0x1d8(%rsp), %rdi
movl 0x108(%rdi), %eax
addl $0x1, %eax
movl %eax, 0x108(%rdi)
movslq 0x1f8(%rsp), %rsi
callq 0x8c40
movq %rax, %rdi
movslq 0x1f4(%rsp), %rsi
callq 0x8c60
movq %rax, %rdi
movslq 0x1f0(%rsp), %rsi
callq 0x8ba0
cmpl $0x0, (%rax)
je 0x11c23
movq 0x1d8(%rsp), %rax
movq %rax, %rcx
addq $0x110, %rcx            # imm = 0x110
movq %rcx, (%rsp)
movq %rax, %rdi
addq $0xc0, %rdi
movslq 0x108(%rax), %rsi
callq 0x8ba0
movq (%rsp), %rdi
movl (%rax), %eax
subl $0x1, %eax
movslq %eax, %rsi
callq 0x8c40
movq %rax, %rdi
movslq 0x1f4(%rsp), %rsi
callq 0x8c60
movq 0x1d8(%rsp), %rdi
movq %rax, 0x8(%rsp)
movslq 0x1f8(%rsp), %rsi
callq 0x8c40
movq %rax, %rdi
movslq 0x1f4(%rsp), %rsi
callq 0x8c60
movq %rax, %rdi
movslq 0x1f0(%rsp), %rsi
callq 0x8ba0
movq 0x8(%rsp), %rdi
movl (%rax), %eax
subl $0x1, %eax
movslq %eax, %rsi
callq 0x8ba0
movq %rax, %rcx
movq 0x1d8(%rsp), %rax
movl (%rcx), %edx
addl $0x1, %edx
movl %edx, (%rcx)
movq %rax, %rcx
addq $0x128, %rcx            # imm = 0x128
movq %rcx, 0x10(%rsp)
movq %rax, %rdi
addq $0xc0, %rdi
movslq 0x108(%rax), %rsi
callq 0x8ba0
movq 0x10(%rsp), %rdi
movl (%rax), %eax
subl $0x1, %eax
movslq %eax, %rsi
callq 0x8c60
movq %rax, %rdi
movslq 0x1f4(%rsp), %rsi
callq 0x8ba0
movq 0x1d8(%rsp), %rdi
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
addq $0x188, %rdi            # imm = 0x188
movslq 0x1f8(%rsp), %rsi
callq 0x8c60
movq %rax, %rcx
movq 0x1d8(%rsp), %rax
movq %rcx, 0x18(%rsp)
movq %rax, %rdi
addq $0xc0, %rdi
movslq 0x108(%rax), %rsi
callq 0x8ba0
movq 0x18(%rsp), %rdi
movl (%rax), %eax
subl $0x1, %eax
movslq %eax, %rsi
callq 0x8ba0
movq 0x1d8(%rsp), %rdi
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
addq $0x1a0, %rdi            # imm = 0x1A0
movslq 0x1f8(%rsp), %rsi
callq 0x8ba0
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x11c23
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
jmp 0x11bee
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
leaq 0x21e(%rsp), %rdi
callq 0x16b20
leaq 0x220(%rsp), %rdi
callq 0xc6e0
leaq 0x21f(%rsp), %rdi
callq 0xc670
jmp 0x11c80
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4a0(%rsp)
movl %eax, 0x49c(%rsp)
leaq 0x1ff(%rsp), %rdi
callq 0xc670
jmp 0x11c80
jmp 0x11c25
movl 0x1f0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1f0(%rsp)
jmp 0x119b1
jmp 0x11c3d
movl 0x1f4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1f4(%rsp)
jmp 0x1198e
jmp 0x11c55
movl 0x1f8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1f8(%rsp)
jmp 0x1196b
leaq 0x2b0(%rsp), %rdi
callq 0x88b0
addq $0x4d8, %rsp            # imm = 0x4D8
retq
leaq 0x2b0(%rsp), %rdi
callq 0x88b0
movq 0x4a0(%rsp), %rdi
callq 0x4730
nopw (%rax,%rax)