LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]Dsuite/./D.h
// Function: TestTrioInfo::TestTrioInfo(int)
TestTrioInfo(int windowSize) {
        windowABBAs.resize(windowSize); windowBABAs.resize(windowSize);
        windowF_d_denoms.resize(windowSize); windowF_dM_denoms.resize(windowSize);
        windowInformativeSitesCords.resize(windowSize);
        window_d_f_nums.resize(windowSize); window_d_f_denoms.resize(windowSize);
        interimF_d_denom = 0; interimF_dM_denom = 0;

        usedVars = 0;
        ABBAtotal = 0; BABAtotal = 0;
        F_d_denom = 0; F_dM_denom = 0;
        F_G_denom = 0; F_G_num = 0;
        

    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %esi, %r15d
movq %rdi, %rbx
leaq 0x8(%rdi), %rax
andl $0x0, 0x8(%rdi)
andq $0x0, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movq %rax, 0x20(%rdi)
andl $0x0, 0x50(%rdi)
leaq 0x50(%rdi), %rax
andq $0x0, 0x58(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rdi)
movups %xmm0, 0x38(%rdi)
movq %rax, 0x60(%rdi)
movq %rax, 0x68(%rdi)
addq $0x90, %rdi
movups %xmm0, 0x70(%rbx)
movups %xmm0, 0x80(%rbx)
movq %rdi, 0x20(%rsp)
callq 0x12276
leaq 0xe0(%rbx), %rdi
movq %rdi, 0x18(%rsp)
callq 0x12276
leaq 0x130(%rbx), %rdi
movq %rdi, 0x10(%rsp)
callq 0x12276
leaq 0x180(%rbx), %r13
movq %r13, %rdi
callq 0x12276
leaq 0x1d0(%rbx), %rbp
movq %rbp, %rdi
callq 0x12276
leaq 0x220(%rbx), %r14
movq %r14, %rdi
callq 0x12276
leaq 0x270(%rbx), %r12
movq %r12, %rdi
callq 0x1244e
movslq %r15d, %r15
movq 0x20(%rsp), %rdi
movq %r15, %rsi
callq 0x121ca
movq 0x18(%rsp), %rdi
movq %r15, %rsi
callq 0x121ca
movq 0x10(%rsp), %rdi
movq %r15, %rsi
callq 0x121ca
movq %r13, %rdi
movq %r15, %rsi
callq 0x121ca
movq %r12, %rdi
movq %r15, %rsi
callq 0x12220
movq %rbp, %rdi
movq %r15, %rsi
callq 0x121ca
movq %r14, %rdi
movq %r15, %rsi
callq 0x121ca
xorps %xmm0, %xmm0
movups %xmm0, 0x2f0(%rbx)
movups %xmm0, 0x2e0(%rbx)
movups %xmm0, 0x2d0(%rbx)
movups %xmm0, 0x2c0(%rbx)
andl $0x0, 0x300(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, 0x8(%rsp)
jmp 0x1098c
movq %rax, 0x8(%rsp)
jmp 0x10994
movq %rax, 0x8(%rsp)
jmp 0x1099c
movq %rax, 0x8(%rsp)
jmp 0x109a4
movq %rax, 0x8(%rsp)
jmp 0x109ae
movq %rax, 0x8(%rsp)
jmp 0x109b8
movq %rax, 0x8(%rsp)
jmp 0x109c2
movq %rax, 0x8(%rsp)
movq %r12, %rdi
callq 0x1318a
movq %r14, %rdi
callq 0x13644
movq %rbp, %rdi
callq 0x13644
movq %r13, %rdi
callq 0x13644
movq 0x10(%rsp), %rdi
callq 0x13644
movq 0x18(%rsp), %rdi
callq 0x13644
movq 0x20(%rsp), %rdi
callq 0x13644
leaq 0x78(%rbx), %rdi
leaq 0x30(%rbx), %r14
leaq 0x48(%rbx), %r15
callq 0xc1b2
movq %r15, %rdi
callq 0x131b8
movq %r14, %rdi
callq 0xc1b2
movq %rbx, %rdi
callq 0x131b8
movq 0x8(%rsp), %rdi
callq 0x7750
nop
// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]Dsuite/./Dsuite_utils.h
// Function: TrioDinfo::TrioDinfo()
TrioDinfo() {
        ABBAtotal = 0;
        BABAtotal = 0;
        BBAAtotal = 0;
        treeArrangement = 0; BBAAarrangement = 0; DminArrangement = 0;
        regionDs.resize(3); usedVars.resize(3); totalUsedVars.resize(3); numStrongVars.resize(3);
        linearStrongABBApos.resize(3);  linearStrongBABApos.resize(3);
        linearStrongABBAposStrongSitesOnly.resize(3); linearStrongBABAposStrongSitesOnly.resize(3);
        usedVars[0] = 0; usedVars[1] = 0; usedVars[2] = 0;
        totalUsedVars[0] = 0; totalUsedVars[1] = 0; totalUsedVars[2] = 0;
        numStrongVars[0] = 0; numStrongVars[1] = 0; numStrongVars[2] = 0;
        localD1num = 0; localD2num = 0; localD3num = 0;
        localD1denom = 0; localD2denom = 0; localD3denom = 0;
        F_d_denom1 = 0; F_d_denom1_reversed = 0; F_dM_denom1 = 0; F_dM_denom1_reversed = 0; F_G_denom1 = 0; F_G_denom1_reversed = 0;
        F_d_denom2 = 0; F_d_denom2_reversed = 0; F_dM_denom2 = 0; F_dM_denom2_reversed = 0; F_G_denom2 = 0; F_G_denom2_reversed = 0;
        F_d_denom3 = 0; F_d_denom3_reversed = 0; F_dM_denom3 = 0; F_dM_denom3_reversed = 0; F_G_denom3 = 0; F_G_denom3_reversed = 0;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r15
leaq 0x108(%rdi), %rax
movq %rax, 0x10(%rsp)
leaq 0x120(%rdi), %rax
movq %rax, 0x8(%rsp)
leaq 0x138(%rdi), %rax
movq %rax, (%rsp)
leaq 0x150(%rdi), %r13
leaq 0x198(%rdi), %rbp
leaq 0x1b0(%rdi), %rbx
leaq 0x1c8(%rdi), %r14
leaq 0x1e0(%rdi), %r12
xorps %xmm0, %xmm0
movaps %xmm0, (%rdi)
andq $0x0, 0x10(%rdi)
movups %xmm0, 0x108(%rdi)
movups %xmm0, 0x118(%rdi)
movups %xmm0, 0x128(%rdi)
movups %xmm0, 0x138(%rdi)
movups %xmm0, 0x148(%rdi)
movups %xmm0, 0x158(%rdi)
movups %xmm0, 0x198(%rdi)
movups %xmm0, 0x1a8(%rdi)
movups %xmm0, 0x1b8(%rdi)
movups %xmm0, 0x1c8(%rdi)
movups %xmm0, 0x1d8(%rdi)
movups %xmm0, 0x1e8(%rdi)
movups %xmm0, 0x1f4(%rdi)
pushq $0x3
popq %rsi
movq %rbp, %rdi
callq 0x1a630
pushq $0x3
popq %rsi
movq %rbx, %rdi
callq 0x1a666
pushq $0x3
popq %rsi
movq %r12, %rdi
callq 0x1a666
pushq $0x3
popq %rsi
movq %r14, %rdi
callq 0x1a666
pushq $0x3
popq %rsi
movq 0x10(%rsp), %rdi
callq 0x188ce
pushq $0x3
popq %rsi
movq 0x8(%rsp), %rdi
callq 0x188ce
pushq $0x3
popq %rsi
movq (%rsp), %rdi
callq 0x188ce
pushq $0x3
popq %rsi
movq %r13, %rdi
callq 0x188ce
movq 0x1b0(%r15), %rax
andq $0x0, (%rax)
andl $0x0, 0x8(%rax)
movq 0x1e0(%r15), %rax
andq $0x0, (%rax)
andl $0x0, 0x8(%rax)
movq 0x1c8(%r15), %rax
andq $0x0, (%rax)
andl $0x0, 0x8(%rax)
leaq 0x78(%r15), %rdi
movl $0x90, %edx
xorl %esi, %esi
callq 0x7250
xorps %xmm0, %xmm0
movups %xmm0, 0x168(%r15)
movups %xmm0, 0x178(%r15)
movups %xmm0, 0x188(%r15)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r15
movq %r12, %rdi
callq 0xc1b2
movq %r14, %rdi
callq 0xc1b2
movq %rbx, %rdi
callq 0xc1b2
movq %rbp, %rdi
callq 0x1a698
movq %r13, %rdi
callq 0x1a60e
movq (%rsp), %rdi
callq 0x1a60e
movq 0x8(%rsp), %rdi
callq 0x1a60e
movq 0x10(%rsp), %rdi
callq 0x1a60e
movq %r15, %rdi
callq 0x7750
nop
// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]Dsuite/./Dsuite_utils.h
// Function: TrioDinfo::addRegionDs(int)
void addRegionDs(const int arrangement) {
        switch (arrangement) {
            case P3isTrios2: if(localD1denom > 0) regionDs[0].push_back(localD1num/localD1denom); localD1num = 0; localD1denom = 0; usedVars[0] = 0; break;
            case P3isTrios1: if(localD2denom > 0) regionDs[1].push_back(localD2num/localD2denom); localD2num = 0; localD2denom = 0; usedVars[1] = 0; break;
            case P3isTrios0: if(localD3denom > 0) regionDs[2].push_back(localD3num/localD3denom); localD3num = 0; localD3denom = 0; usedVars[2] = 0; break;
        }
    }

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
cmpl $0x9, %esi
je 0x18dd4
cmpl $0x8, %esi
je 0x18d80
cmpl $0x7, %esi
jne 0x18e29
movsd 0x180(%rbx), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x18d64
movq 0x198(%rbx), %rdi
movsd 0x168(%rbx), %xmm1
divsd %xmm0, %xmm1
leaq 0x8(%rsp), %rsi
movsd %xmm1, (%rsi)
callq 0xd394
andq $0x0, 0x168(%rbx)
andq $0x0, 0x180(%rbx)
movq 0x1b0(%rbx), %rax
jmp 0x18e26
movsd 0x188(%rbx), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x18db7
movq 0x198(%rbx), %rdi
addq $0x18, %rdi
movsd 0x170(%rbx), %xmm1
divsd %xmm0, %xmm1
leaq 0x8(%rsp), %rsi
movsd %xmm1, (%rsi)
callq 0xd394
andq $0x0, 0x170(%rbx)
andq $0x0, 0x188(%rbx)
movq 0x1b0(%rbx), %rax
addq $0x4, %rax
jmp 0x18e26
movsd 0x190(%rbx), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x18e0b
movq 0x198(%rbx), %rdi
addq $0x30, %rdi
movsd 0x178(%rbx), %xmm1
divsd %xmm0, %xmm1
leaq 0x8(%rsp), %rsi
movsd %xmm1, (%rsi)
callq 0xd394
andq $0x0, 0x178(%rbx)
andq $0x0, 0x190(%rbx)
movq 0x1b0(%rbx), %rax
addq $0x8, %rax
andl $0x0, (%rax)
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]Dsuite/./Dsuite_utils.h
// Function: TrioDinfo::calculateFinalDs()
void calculateFinalDs() {
        double* Ds = calculateThreeDs(ABBAtotal, BABAtotal, BBAAtotal);
        D1 = Ds[0]; D2 = Ds[1]; D3 = Ds[2];
        
        // Get the standard error values:
        double D1stdErr = jackknive_std_err(regionDs[0]); double D2stdErr = jackknive_std_err(regionDs[1]);
        double D3stdErr = jackknive_std_err(regionDs[2]);
        //std::cerr << "Here: " << regionDs[2][0] << std::endl;
        // Get the Z-scores
        D1_Z = std::fabs(D1)/D1stdErr; D2_Z = std::fabs(D2)/D2stdErr; D3_Z = std::fabs(D3)/D3stdErr;
        // And p-values
        D1_p = 2 * (1 - normalCDF(D1_Z)); D2_p = 2 * (1 - normalCDF(D2_Z));
        D3_p = 2 * (1 - normalCDF(D3_Z));
    }

// Assembly:
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movsd (%rdi), %xmm0
movsd 0x8(%rdi), %xmm1
movsd 0x10(%rdi), %xmm2
callq 0xaf24
movsd (%rax), %xmm0
movsd %xmm0, 0x18(%rbx)
movsd 0x8(%rax), %xmm0
movsd %xmm0, 0x20(%rbx)
movsd 0x10(%rax), %xmm0
movsd %xmm0, 0x28(%rbx)
movq 0x198(%rbx), %rdi
callq 0x1b0a1
movapd %xmm0, 0x10(%rsp)
movq 0x198(%rbx), %rdi
addq $0x18, %rdi
callq 0x1b0a1
movapd %xmm0, (%rsp)
movq 0x198(%rbx), %rdi
addq $0x30, %rdi
callq 0x1b0a1
movupd 0x18(%rbx), %xmm1
movapd 0x1db9e(%rip), %xmm2    # 0x37210
andpd %xmm2, %xmm1
movapd 0x10(%rsp), %xmm3
unpcklpd (%rsp), %xmm3           # xmm3 = xmm3[0],mem[0]
divpd %xmm3, %xmm1
movapd %xmm1, 0x60(%rbx)
movsd 0x28(%rbx), %xmm3
andpd %xmm2, %xmm3
divsd %xmm0, %xmm3
movsd %xmm3, 0x70(%rbx)
movapd %xmm1, %xmm0
callq 0x81e0
fld1
fsubp %st, %st(1)
fadd %st, %st(0)
fstpt 0x30(%rbx)
movsd 0x68(%rbx), %xmm0
callq 0x81e0
fld1
fsubp %st, %st(1)
fadd %st, %st(0)
fstpt 0x40(%rbx)
movsd 0x70(%rbx), %xmm0
callq 0x81e0
fld1
fsubp %st, %st(1)
fadd %st, %st(0)
fstpt 0x50(%rbx)
addq $0x20, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]Dsuite/./Dsuite_utils.h
// Function: TrioDinfo::assignBBAAarrangement()
void assignBBAAarrangement() {
        // Find which topology is in agreement with the counts of the BBAA, BABA, and ABBA patterns
        if (BBAAtotal >= BABAtotal && BBAAtotal >= ABBAtotal) {
            if (D1 >= 0) BBAAarrangement = P3isTrios2_Dpositive; else BBAAarrangement = P3isTrios2_Dnegative;
        } else if (BABAtotal >= BBAAtotal && BABAtotal >= ABBAtotal) {
            if (D2 >= 0) BBAAarrangement = P3isTrios1_Dpositive; else BBAAarrangement = P3isTrios1_Dnegative;
        } else if (ABBAtotal >= BBAAtotal && ABBAtotal >= BABAtotal) {
            if (D3 >= 0) BBAAarrangement = P3isTrios0_Dpositive; else BBAAarrangement = P3isTrios0_Dnegative;
        }
    }

// Assembly:
movsd 0x10(%rdi), %xmm2
movsd (%rdi), %xmm0
movsd 0x8(%rdi), %xmm1
ucomisd %xmm1, %xmm2
jb 0x1970e
ucomisd %xmm0, %xmm2
jb 0x1970e
movsd 0x18(%rdi), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jae 0x1975a
movl $0x2, 0x1fc(%rdi)
retq
ucomisd %xmm2, %xmm1
jb 0x19734
ucomisd %xmm0, %xmm1
jb 0x19734
movsd 0x20(%rdi), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jae 0x19765
movl $0x4, 0x1fc(%rdi)
retq
ucomisd %xmm2, %xmm0
jb 0x19759
ucomisd %xmm1, %xmm0
jb 0x19759
movsd 0x28(%rdi), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jae 0x19770
movl $0x6, 0x1fc(%rdi)
retq
movl $0x1, 0x1fc(%rdi)
retq
movl $0x3, 0x1fc(%rdi)
retq
movl $0x5, 0x1fc(%rdi)
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]Dsuite/./Dsuite_utils.h
// Function: TrioDinfo::assignDminArrangement()
void assignDminArrangement() {
        
        if (std::fabs(D1) <= std::fabs(D2) && std::fabs(D1) <= std::fabs(D3)) {
            if (D1 >= 0) DminArrangement = P3isTrios2_Dpositive; else DminArrangement = P3isTrios2_Dnegative;
        } else if (std::fabs(D2) <= std::fabs(D1) && std::fabs(D2) <= std::fabs(D3)) { // (P3 == S2)
            if (D2 >= 0) DminArrangement = P3isTrios1_Dpositive; else DminArrangement = P3isTrios1_Dnegative;
        } else if (std::fabs(D3) <= std::fabs(D1) && std::fabs(D3) <= std::fabs(D2)) { // (P3 == S1)
            if (D3 >= 0) DminArrangement = P3isTrios0_Dpositive; else DminArrangement = P3isTrios0_Dnegative;
        }
        
    }

// Assembly:
movdqu 0x18(%rdi), %xmm0
movdqa 0x1ce9b(%rip), %xmm1    # 0x37210
pand %xmm0, %xmm1
pshufd $0xee, %xmm1, %xmm2     # xmm2 = xmm1[2,3,2,3]
ucomisd %xmm1, %xmm2
jb 0x1a397
movsd 0x28(%rdi), %xmm3
andpd 0x1ce7f(%rip), %xmm3    # 0x37210
ucomisd %xmm1, %xmm3
jae 0x1a3ee
ucomisd %xmm2, %xmm1
movsd 0x28(%rdi), %xmm3
movapd 0x1ce68(%rip), %xmm4    # 0x37210
andpd %xmm3, %xmm4
jb 0x1a3cd
ucomisd %xmm2, %xmm4
jb 0x1a3cd
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jae 0x1a403
movl $0x4, 0x200(%rdi)
retq
ucomisd %xmm4, %xmm1
jb 0x1a3ed
ucomisd %xmm4, %xmm2
jb 0x1a3ed
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm3
jae 0x1a419
movl $0x6, 0x200(%rdi)
retq
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jae 0x1a40e
movl $0x2, 0x200(%rdi)
retq
movl $0x3, 0x200(%rdi)
retq
movl $0x1, 0x200(%rdi)
retq
movl $0x5, 0x200(%rdi)
retq
// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]Dsuite/Dsuite_fBranch.cpp
// Function: Tree::fillSisterBranches()
void Tree::fillSisterBranches() {
    for (std::vector<Branch*>::iterator b = branches.begin(); b != branches.end(); b++) {
        if ((*b)->parentId != "treeOrigin") {
            string sisterId;
            if ((*b)->parentBranch->daughterId1 != (*b)->id)
                sisterId = (*b)->parentBranch->daughterId1;
            else
                sisterId = (*b)->parentBranch->daughterId2;
            for (std::vector<Branch*>::iterator bb = branches.begin(); bb != branches.end(); bb++) {
                if ((*bb)->id == sisterId) {
                    (*b)->sisterBranch = *bb;
                    break;
                }
            }
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x18(%rdi), %r12
leaq 0x18(%rsp), %r13
leaq 0x197c9(%rip), %r14     # 0x38fac
leaq 0x8(%rsp), %r15
cmpq 0x20(%rbx), %r12
je 0x1f88d
movq (%r12), %rdi
addq $0x20, %rdi
movq %r14, %rsi
callq 0x117d6
testb %al, %al
je 0x1f884
movq %r13, 0x8(%rsp)
andq $0x0, 0x10(%rsp)
movb $0x0, 0x18(%rsp)
movq (%r12), %rsi
movq 0xb8(%rsi), %rdi
addq $0x40, %rdi
callq 0x20a12
movq (%r12), %rcx
movq 0xb8(%rcx), %rcx
xorb $0x1, %al
movzbl %al, %eax
shll $0x5, %eax
leaq (%rcx,%rax), %rsi
addq $0x40, %rsi
movq %r15, %rdi
callq 0x7240
movq 0x18(%rbx), %rbp
cmpq 0x20(%rbx), %rbp
je 0x1f87c
movq (%rbp), %rdi
movq %r15, %rsi
callq 0xd5bf
testb %al, %al
jne 0x1f86d
addq $0x8, %rbp
jmp 0x1f851
movq (%rbp), %rax
movq (%r12), %rcx
movq %rax, 0xc0(%rcx)
movq %r15, %rdi
callq 0x7898
addq $0x8, %r12
jmp 0x1f7e8
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x7898
movq %rbx, %rdi
callq 0x7750
nop
// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]Dsuite/./Dsuite_fBranch.h
// Function: Branch::Branch(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Branch(string inId, string inParentId, string inDaughterId1, string inDaughterId2, string inTerminalSpeciesId) {
        id = inId;
        parentId = inParentId;
        if (inTerminalSpeciesId == "unknown") {
            daughterId1 = inDaughterId1;
            daughterId2 = inDaughterId2;
            terminalSpeciesId = "";
        } else {
            //assert(inDaughterIds.size() == 0);
            terminalSpeciesId = inTerminalSpeciesId;
            daughterId1 = "none";
            daughterId2 = "none";
        }
        progeniesComplete = 0;
        progenyPassedOn = false;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movq %r8, %r13
xorl %eax, %eax
movb %al, 0x10(%rdi)
addq $0x30, %rdi
movq %rdi, 0x20(%rbx)
andq $0x0, 0x28(%rbx)
movq %rcx, %r15
movq %rdx, %r12
movb %al, 0x30(%rbx)
leaq 0x50(%rbx), %rcx
movq %rcx, 0x40(%rbx)
andq $0x0, 0x48(%rbx)
leaq 0x20(%rbx), %rcx
movq %rcx, 0x10(%rsp)
movb %al, 0x50(%rbx)
leaq 0x70(%rbx), %rcx
movq %rcx, 0x60(%rbx)
andq $0x0, 0x68(%rbx)
leaq 0x40(%rbx), %rcx
movq %rcx, 0x8(%rsp)
leaq 0x60(%rbx), %rcx
movq %rcx, (%rsp)
movb %al, 0x70(%rbx)
leaq 0x80(%rbx), %rcx
movq %rcx, 0x20(%rsp)
xorps %xmm0, %xmm0
andq $0x0, 0x90(%rbx)
movups %xmm0, 0x80(%rbx)
leaq 0x98(%rbx), %rbp
leaq 0xa8(%rbx), %rcx
movq %rcx, 0x98(%rbx)
andq $0x0, 0xa0(%rbx)
movb %al, 0xa8(%rbx)
leaq 0xc8(%rbx), %rax
movq %rax, 0x18(%rsp)
movups %xmm0, 0xc8(%rbx)
movups %xmm0, 0xd8(%rbx)
movups %xmm0, 0xe8(%rbx)
movups %xmm0, 0xf8(%rbx)
andq $0x0, 0x108(%rbx)
movq %rbx, %rdi
callq 0x7240
movq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0x7240
leaq 0x18456(%rip), %rsi     # 0x39121
movq %r14, %rdi
callq 0x813d
testb %al, %al
je 0x20cfc
movq 0x8(%rsp), %rdi
movq %r15, %rsi
callq 0x7240
movq (%rsp), %rdi
movq %r13, %rsi
callq 0x7240
leaq 0x182da(%rip), %r14     # 0x38fd1
movq %rbp, %rdi
jmp 0x20d1f
movq %rbp, %rdi
movq %r14, %rsi
callq 0x7240
leaq 0x182de(%rip), %r14     # 0x38fec
movq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x7800
movq (%rsp), %rdi
movq %r14, %rsi
callq 0x7800
andl $0x0, 0x110(%rbx)
movb $0x0, 0x114(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0xf8(%rbx), %rdi
leaq 0xe0(%rbx), %r15
callq 0xc17e
movq %r15, %rdi
callq 0xc17e
movq 0x18(%rsp), %rdi
callq 0xc17e
movq %rbp, %rdi
callq 0x7898
movq 0x20(%rsp), %rdi
callq 0xb80c
movq (%rsp), %rdi
callq 0x7898
movq 0x8(%rsp), %rdi
callq 0x7898
movq 0x10(%rsp), %rdi
callq 0x7898
movq %rbx, %rdi
callq 0x7898
movq %r14, %rdi
callq 0x7750
nop
// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]Dsuite/Dsuite_common.cpp
// Function: SetInformation::checkIfTreeNamesMatch(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::vector<int, std::allocator<int>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::vector<int, std::allocator<int>>>>>&)
void SetInformation::checkIfTreeNamesMatch(std::map<string,std::vector<int>>& treeTaxonNamesToLoc) {
        for (int i = 0; i != populations.size(); i++) {
            try { treeTaxonNamesToLoc.at(populations[i]);
            } catch (const std::out_of_range& oor) {
                std::cerr << "Out of Range error: " << oor.what() << '\n';
                std::cerr << "species[i]: " << populations[i] << '\n';
                std::cerr << CHECK_TREE_ERROR_MSG << '\n';
                exit(1);
    }}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %r14
xorl %ebx, %ebx
xorl %r12d, %r12d
movq (%r14), %rsi
movq 0x8(%r14), %rax
subq %rsi, %rax
sarq $0x5, %rax
cmpq %rax, %r12
je 0x32046
addq %rbx, %rsi
movq %r15, %rdi
callq 0xbc7c
incq %r12
addq $0x20, %rbx
jmp 0x3201f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r15
cmpl $0x1, %edx
jne 0x320f8
movq %r15, %rdi
callq 0x7190
movq %rax, %r15
movq 0x1ef78(%rip), %rdi     # 0x50fe8
leaq 0x909e(%rip), %rsi      # 0x3b115
callq 0x7400
movq %rax, %r12
movq (%r15), %rax
movq %r15, %rdi
callq *0x10(%rax)
movq %r12, %rdi
movq %rax, %rsi
callq 0x7400
pushq $0xa
popq %rsi
movq %rax, %rdi
callq 0x74d0
movq 0x1ef43(%rip), %rdi     # 0x50fe8
leaq 0x907e(%rip), %rsi      # 0x3b12a
callq 0x7400
addq (%r14), %rbx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x73c0
pushq $0xa
popq %rsi
movq %rax, %rdi
callq 0x74d0
movq 0x1ef17(%rip), %rdi     # 0x50fe8
leaq 0x905f(%rip), %rsi      # 0x3b137
callq 0x7400
pushq $0xa
popq %rsi
movq %rax, %rdi
callq 0x74d0
pushq $0x1
popq %rdi
callq 0x74f0
movq %rax, %r15
callq 0x76a0
movq %r15, %rdi
callq 0x7750
movq %rax, %rdi
callq 0xbb7c
// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]Dsuite/Dsuite_common.cpp
// Function: makeHeader[abi:cxx11](bool, bool, bool)
string makeHeader(bool quartet, bool includeFstats, bool includeKSstats) {
    string header = "P1\tP2\tP3"; if (quartet) header += "\tP4";
    header += "\tDstatistic\tZ-score\tp-value";
    if (includeFstats) { header += "\t"; header += F4HEADER; }
    if (includeKSstats) { header += "\t"; header += "clustering_sensitive"; header += "\t"; header += "clustering_robust";}
    header += "\tBBAA\tABBA\tBABA";
    return header;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %ecx, %ebp
movl %edx, %r14d
movl %esi, %r15d
movq %rdi, %rbx
leaq 0x90a7(%rip), %rsi      # 0x3b1c8
leaq 0x7(%rsp), %rdx
callq 0x8102
testl %r15d, %r15d
je 0x3213f
leaq 0x909a(%rip), %rsi      # 0x3b1d1
movq %rbx, %rdi
callq 0x77f0
leaq 0x908f(%rip), %rsi      # 0x3b1d5
movq %rbx, %rdi
callq 0x77f0
testb %r14b, %r14b
je 0x32171
leaq 0x6e76(%rip), %rsi      # 0x38fd0
movq %rbx, %rdi
callq 0x77f0
leaq 0x567e(%rip), %rsi      # 0x377e7
movq %rbx, %rdi
callq 0x77f0
testb %bpl, %bpl
je 0x321b2
leaq 0x6e53(%rip), %rsi      # 0x38fd0
movq %rbx, %rdi
callq 0x77f0
leaq 0x9065(%rip), %rsi      # 0x3b1f1
movq %rbx, %rdi
callq 0x77f0
leaq 0x6e35(%rip), %rsi      # 0x38fd0
movq %rbx, %rdi
callq 0x77f0
leaq 0x905c(%rip), %rsi      # 0x3b206
movq %rbx, %rdi
callq 0x77f0
leaq 0x905f(%rip), %rsi      # 0x3b218
movq %rbx, %rdi
callq 0x77f0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x7898
movq %r14, %rdi
callq 0x7750
// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]Dsuite/Dsuite_common.cpp
// Function: assignNumLinesToAnalyse(int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
int assignNumLinesToAnalyse(const int providedNumLinesOpt, const int regionLengthOpt,const string& vcfFileOpt) {
    int VCFlineCount;
    if (providedNumLinesOpt > 0) {
        VCFlineCount = providedNumLinesOpt;
    } else if (regionLengthOpt > 0) {
        VCFlineCount = regionLengthOpt;
    } else { // Block to find the number of lines in the VCF file
        std::istream* vcfFile = createReader(vcfFileOpt.c_str());
        // See how big is the VCF file
        vcfFile->unsetf(std::ios_base::skipws); // new lines will be skipped unless we stop it from happening:
        // count the newlines with an algorithm specialized for counting:
        VCFlineCount = (int)std::count(std::istream_iterator<char>(*vcfFile),std::istream_iterator<char>(),'\n');
        //std::cout << "VCF Lines: " << VCFlineCount << "\n";
    }
    return VCFlineCount;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x50, %rsp
movl %edi, %eax
testl %edi, %edi
jg 0x32942
movl %esi, %eax
testl %esi, %esi
jg 0x32942
movq (%rdx), %rsi
leaq 0x10(%rsp), %rbx
leaq 0xf(%rsp), %rdx
movq %rbx, %rdi
callq 0x8102
pushq $0x8
popq %rsi
movq %rbx, %rdi
callq 0xb59b
movq %rax, %rbx
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x7898
movq (%rbx), %rax
movq -0x18(%rax), %rax
andl $0xffffefff, 0x18(%rbx,%rax) # imm = 0xFFFFEFFF
leaq 0x40(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x32b88
leaq 0x30(%rsp), %rsi
andq $0x0, (%rsi)
andw $0x0, 0x8(%rsi)
movb $0xa, (%r14)
leaq 0x10(%rsp), %rdx
movq %r15, %rdi
callq 0x32b42
addq $0x50, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x7898
movq %rbx, %rdi
callq 0x7750
nop
// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]Dsuite/kstest.cpp
// Function: mPower(double*, int, double*, int*, int, int)
void mPower(double *A,int eA,double *V,int *eV,int m,int n)
{
    double *B;int eB,i;
    if(n==1) {for(i=0;i<m*m;i++) V[i]=A[i];*eV=eA; return;}
    mPower(A,eA,V,eV,m,n/2);
    B=(double*)malloc((m*m)*sizeof(double));
    mMultiply(V,V,B,m); eB=2*(*eV);
    if(n%2==0){for(i=0;i<m*m;i++) V[i]=B[i]; *eV=eB;}
    else {mMultiply(A,B,V,m); *eV=eA+eB;}
    if(V[(m/2)*m+(m/2)]>1e140) {for(i=0;i<m*m;i++) V[i]=V[i]*1e-140;*eV+=140;}
    free(B);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r8d, %r15d
movq %rdx, %r14
movq %rdi, %r13
cmpl $0x1, %r9d
jne 0x333b9
imull %r15d, %r15d
xorl %eax, %eax
cmpq %rax, %r15
je 0x33431
movsd (%r13,%rax,8), %xmm0
movsd %xmm0, (%r14,%rax,8)
incq %rax
jmp 0x3339e
movl %r9d, %ebx
pushq $0x2
popq %rdi
movl %r9d, %eax
cltd
idivl %edi
movq %r13, %rdi
movl %esi, 0x14(%rsp)
movq %r14, %rdx
movq %rcx, 0x8(%rsp)
movq 0x8(%rsp), %rcx
movl %r15d, %r8d
movl %eax, %r9d
callq 0x3337b
movl %r15d, %ebp
imull %ebp, %ebp
leaq (,%rbp,8), %rdi
callq 0x7560
movq %rax, %r12
movq %r14, %rdi
movq %r14, %rsi
movq %rax, %rdx
movl %r15d, %ecx
callq 0x332f8
movq 0x8(%rsp), %rcx
movl (%rcx), %esi
addl %esi, %esi
testb $0x1, %bl
jne 0x33442
xorl %eax, %eax
cmpq %rax, %rbp
je 0x33460
movsd (%r12,%rax,8), %xmm0
movsd %xmm0, (%r14,%rax,8)
incq %rax
jmp 0x3341b
movl %esi, (%rcx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r13, %rdi
movl %esi, %ebx
movq %r12, %rsi
movq %r14, %rdx
movl %r15d, %ecx
callq 0x332f8
movl %ebx, %esi
movq 0x8(%rsp), %rcx
addl 0x14(%rsp), %esi
movl %esi, (%rcx)
movl %r15d, %eax
cltd
pushq $0x2
popq %rdi
idivl %edi
incl %r15d
imull %eax, %r15d
movslq %r15d, %rax
movsd (%r14,%rax,8), %xmm0
ucomisd 0x7f1d(%rip), %xmm0     # 0x3b3a0
jbe 0x334b1
xorl %eax, %eax
movsd 0x7f19(%rip), %xmm0     # 0x3b3a8
cmpq %rax, %rbp
je 0x334a9
movsd (%r14,%rax,8), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%r14,%rax,8)
incq %rax
jmp 0x3348f
addl $0x8c, %esi
movl %esi, (%rcx)
movq %r12, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x74e0
// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]Dsuite/kstest.cpp
// Function: ks_test_of_uniformity(std::vector<double, std::allocator<double>>, std::ostream&, bool)
double ks_test_of_uniformity(std::vector<double> sampleVect0to1, std::ostream& outfile, bool printDebug) {

    unsigned int N = sampleVect0to1.size();
    
    double d, Dplusmax, Dminusmax;
    std::vector<double> DplusVals(N,0.0);
    std::vector<double> DminusVals(N,0.0);
    
    for (int i = 0; i < N; i++) {
        int j = i+1;
        double ratio = (double)j/N;
        double ratiominus = (double)i/N;
        DplusVals[i] = ratio - sampleVect0to1[i];
        DminusVals[i] = sampleVect0to1[i] - ratiominus;
    }
    
    Dplusmax = *max_element(DplusVals.begin(), DplusVals.end());
    Dminusmax = *max_element(DminusVals.begin(), DminusVals.end());
    
    
  //  std::cerr << "Dplusmax: " << Dplusmax << std::endl;
  //  std::cerr << "Dminusmax: " << Dminusmax << std::endl;
    
  //  print_vector(DplusVals, std::cerr, ',');
  //  print_vector(DminusVals, std::cerr, ',');
    
    
    if (Dplusmax > Dminusmax) {
        d = Dplusmax;
    } else {
        d = Dminusmax;
    }
    
   // std::cerr << "d: " << d << std::endl;
    
    // Return p-value
    return 1 - KScdf(N,d);

}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %r14
movq 0x8(%rdi), %rbx
subq (%rdi), %rbx
sarq $0x3, %rbx
movl %ebx, %r15d
leaq 0x10(%rsp), %rdx
andq $0x0, (%rdx)
leaq 0x30(%rsp), %rdi
leaq 0x28(%rsp), %r12
movq %r15, %rsi
movq %r12, %rcx
callq 0xce00
andq $0x0, (%r12)
leaq 0x10(%rsp), %rdi
leaq 0x28(%rsp), %rdx
leaq 0x7(%rsp), %rcx
movq %r15, %rsi
callq 0xce00
cvtsi2sd %r15, %xmm0
movq 0x30(%rsp), %rax
movq 0x10(%rsp), %rcx
movl %ebx, %edx
xorl %esi, %esi
cmpq %rsi, %rdx
je 0x33ba1
leaq 0x1(%rsi), %rdi
cvtsi2sd %edi, %xmm1
divsd %xmm0, %xmm1
leal -0x1(%rdi), %r8d
cvtsi2sd %r8d, %xmm2
divsd %xmm0, %xmm2
movq (%r14), %r8
subsd (%r8,%rsi,8), %xmm1
movsd %xmm1, (%rax,%rsi,8)
movsd (%r8,%rsi,8), %xmm1
subsd %xmm2, %xmm1
movsd %xmm1, (%rcx,%rsi,8)
movq %rdi, %rsi
jmp 0x33b61
movq 0x30(%rsp), %rdi
movq 0x38(%rsp), %rsi
callq 0x33de9
movsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rsi
callq 0x33de9
movsd 0x8(%rsp), %xmm0
maxsd (%rax), %xmm0
movl %ebx, %edi
callq 0x33f78
movsd 0x288e(%rip), %xmm1     # 0x36470
subsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
leaq 0x10(%rsp), %rdi
callq 0xc17e
leaq 0x30(%rsp), %rdi
callq 0xc17e
movsd 0x8(%rsp), %xmm0
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x33c16
jmp 0x33c16
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xc17e
jmp 0x33c28
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0xc17e
movq %rbx, %rdi
callq 0x7750
// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]Dsuite/KolmogorovSmirnovDist.cpp
// Function: KSfbar(int, double)
double KSfbar (int n, double x)
{
   double w = n * x * x;
   double v = fbarSpecial (n, x);
   if (v >= 0.0)
      return v;

   if (n <= NEXACT) {
      if (w < 4.0)
         return 1.0 - KScdf (n, x);
      else
         return 2.0 * KSPlusbarUpper (n, x);
   }

   if (w >= 2.2)
      return 2.0 * KSPlusbarUpper (n, x);

   return 1.0 - KScdf (n, x);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
ucomisd 0x131e(%rip), %xmm0     # 0x36470
xorpd %xmm3, %xmm3
jae 0x352fb
movapd %xmm0, %xmm2
movl %edi, %ebx
cvtsi2sd %edi, %xmm1
movapd %xmm1, %xmm4
mulsd %xmm0, %xmm4
mulsd %xmm0, %xmm4
ucomisd 0x635e(%rip), %xmm4     # 0x3b4d8
jae 0x352fb
movsd 0x12f0(%rip), %xmm0     # 0x36478
divsd %xmm1, %xmm0
ucomisd %xmm2, %xmm0
movsd 0x12d8(%rip), %xmm3     # 0x36470
jae 0x352fb
movsd 0x633a(%rip), %xmm0     # 0x3b4e0
ucomisd %xmm4, %xmm0
jae 0x352fb
cmpl $0x1, %ebx
jne 0x351ce
movapd %xmm2, %xmm0
addsd %xmm2, %xmm0
movsd 0x624b(%rip), %xmm3     # 0x3b410
subsd %xmm0, %xmm3
jmp 0x352a5
movsd 0x129a(%rip), %xmm0     # 0x36470
movapd %xmm0, %xmm3
divsd %xmm1, %xmm3
ucomisd %xmm2, %xmm3
jae 0x35224
movapd %xmm0, %xmm5
subsd %xmm3, %xmm5
ucomisd %xmm5, %xmm2
jb 0x352af
subsd %xmm2, %xmm0
movsd %xmm2, 0x10(%rsp)
movsd %xmm4, 0x8(%rsp)
callq 0x7720
movsd 0x8(%rsp), %xmm4
movsd 0x10(%rsp), %xmm2
movapd %xmm0, %xmm3
addsd %xmm0, %xmm3
jmp 0x352a5
movsd %xmm4, 0x8(%rsp)
movsd %xmm2, 0x10(%rsp)
addsd %xmm2, %xmm2
subsd %xmm3, %xmm2
cmpl $0x14, %ebx
jg 0x35258
movslq %ebx, %r14
leaq 0x6319(%rip), %r15      # 0x3b560
movapd %xmm2, %xmm0
callq 0x7720
mulsd (%r15,%r14,8), %xmm0
jmp 0x3528d
movl %ebx, %edi
movsd %xmm1, 0x28(%rsp)
movsd %xmm2, 0x18(%rsp)
callq 0x3566e
movsd %xmm0, 0x20(%rsp)
movsd 0x18(%rsp), %xmm0
callq 0x7370
mulsd 0x28(%rsp), %xmm0
addsd 0x20(%rsp), %xmm0
callq 0x7760
movsd 0x11db(%rip), %xmm3     # 0x36470
subsd %xmm0, %xmm3
movsd 0x10(%rsp), %xmm2
movsd 0x8(%rsp), %xmm4
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm3
jae 0x352fb
cmpl $0x8c, %ebx
jg 0x352da
movsd 0x61f9(%rip), %xmm0     # 0x3b4b8
ucomisd %xmm4, %xmm0
ja 0x352e4
movl %ebx, %edi
movapd %xmm2, %xmm0
callq 0x35309
movapd %xmm0, %xmm3
addsd %xmm0, %xmm3
jmp 0x352fb
ucomisd 0x6206(%rip), %xmm4     # 0x3b4e8
jae 0x352c5
movl %ebx, %edi
movapd %xmm2, %xmm0
callq 0x33f78
movsd 0x1179(%rip), %xmm3     # 0x36470
subsd %xmm0, %xmm3
movapd %xmm3, %xmm0
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]Dsuite/KolmogorovSmirnovDist.cpp
// Function: getLogFactorial(int)
static double getLogFactorial (int n)
{
   /* Returns the natural logarithm of factorial n! */
   if (n <= MFACT) {
      return LnFactorial[n];

   } else {
      double x = (double) (n + 1);
      double y = 1.0 / (x * x);
      double z = ((-(5.95238095238E-4 * y) + 7.936500793651E-4) * y -
         2.7777777777778E-3) * y + 8.3333333333333E-2;
      z = ((x - 0.5) * log (x) - x) + 9.1893853320467E-1 + z / x;
      return z;
   }
}

// Assembly:
cmpl $0x1e, %edi
jg 0x35683
movslq %edi, %rax
leaq 0x5f93(%rip), %rcx      # 0x3b610
movsd (%rcx,%rax,8), %xmm0
retq
subq $0x18, %rsp
incl %edi
cvtsi2sd %edi, %xmm2
movapd %xmm2, %xmm0
mulsd %xmm2, %xmm0
movsd 0xdd3(%rip), %xmm1      # 0x36470
divsd %xmm0, %xmm1
movsd 0x5e57(%rip), %xmm0     # 0x3b500
mulsd %xmm1, %xmm0
addsd 0x5e53(%rip), %xmm0     # 0x3b508
mulsd %xmm1, %xmm0
addsd 0x5e4f(%rip), %xmm0     # 0x3b510
mulsd %xmm1, %xmm0
addsd 0x5e4b(%rip), %xmm0     # 0x3b518
movsd %xmm0, 0x10(%rsp)
movsd 0x5e45(%rip), %xmm1     # 0x3b520
movapd %xmm2, %xmm0
movsd %xmm2, (%rsp)
addsd %xmm2, %xmm1
movsd %xmm1, 0x8(%rsp)
callq 0x7370
mulsd 0x8(%rsp), %xmm0
movsd (%rsp), %xmm2
subsd %xmm2, %xmm0
addsd 0x5e1e(%rip), %xmm0     # 0x3b528
movsd 0x10(%rsp), %xmm1
divsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movapd %xmm1, %xmm0
addq $0x18, %rsp
retq
// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]Dsuite/KolmogorovSmirnovDist.cpp
// Function: CreateMatrixD(int, int)
static double **CreateMatrixD (int N, int M)
{
   int i;
   double **T2;

   T2 = (double **) malloc (N * sizeof (double *));
   T2[0] = (double *) malloc (N * M * sizeof (double));
   for (i = 1; i < N; i++)
      T2[i] = T2[0] + i * M;
   return T2;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movl %edi, %r14d
movl %edi, %edi
shlq $0x3, %rdi
callq 0x7560
movq %rax, %rbx
movl %ebp, %eax
imull %r14d, %eax
movslq %eax, %rdi
shlq $0x3, %rdi
callq 0x7560
movq %rax, (%rbx)
movslq %r14d, %rcx
movslq %ebp, %rdx
leaq (%rax,%rdx,8), %rax
shlq $0x3, %rdx
pushq $0x1
popq %rsi
cmpq %rcx, %rsi
jge 0x3576f
movq %rax, (%rbx,%rsi,8)
incq %rsi
addq %rdx, %rax
jmp 0x3575e
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]Dsuite/KolmogorovSmirnovDist.cpp
// Function: mPower(double*, int, double*, int*, int, int)
static void mPower (double *A, int eA, double *V, int *eV, int m, int n)
{
   double *B;
   int eB, i;
   if (n == 1) {
      for (i = 0; i < m * m; i++)
         V[i] = A[i];
      *eV = eA;
      return;
   }
   mPower (A, eA, V, eV, m, n / 2);
   B = (double *) malloc ((m * m) * sizeof (double));
   mMultiply (V, V, B, m);
   eB = 2 * (*eV);
   if (B[(m / 2) * m + (m / 2)] > NORM)
      renormalize (B, m, &eB);

   if (n % 2 == 0) {
      for (i = 0; i < m * m; i++)
         V[i] = B[i];
      *eV = eB;
   } else {
      mMultiply (A, B, V, m);
      *eV = eA + eB;
   }

   if (V[(m / 2) * m + (m / 2)] > NORM)
      renormalize (V, m, eV);
   free (B);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %r14d
movq %rdx, %rbp
movq %rsi, %r15
movq %rdi, %r12
cmpl $0x1, %r8d
jne 0x357cc
imull %r14d, %r14d
xorl %eax, %eax
cmpq %rax, %r14
je 0x3587c
movsd (%r12,%rax,8), %xmm0
movsd %xmm0, (%r15,%rax,8)
incq %rax
jmp 0x357b2
pushq $0x2
popq %rsi
movl %r8d, 0xc(%rsp)
movl %r8d, %eax
cltd
idivl %esi
movq %r12, %rdi
movq %r15, %rsi
movq %rbp, %rdx
movl %r14d, %ecx
movl %eax, %r8d
callq 0x3578c
movl %r14d, %ebx
imull %ebx, %ebx
leaq (,%rbx,8), %rdi
callq 0x7560
movq %rax, %r13
movq %r15, %rdi
movq %r15, %rsi
movq %rax, %rdx
movl %r14d, %ecx
callq 0x358dc
movq %rbp, 0x10(%rsp)
movl (%rbp), %eax
addl %eax, %eax
movl %eax, 0x8(%rsp)
movl %r14d, %eax
cltd
pushq $0x2
popq %rcx
idivl %ecx
leal 0x1(%r14), %ecx
imull %eax, %ecx
movslq %ecx, %rbp
movsd (%r13,%rbp,8), %xmm0
ucomisd 0x5b5b(%rip), %xmm0     # 0x3b3a0
jbe 0x35857
leaq 0x8(%rsp), %rdx
movq %r13, %rdi
movl %r14d, %esi
callq 0x3595f
testb $0x1, 0xc(%rsp)
jne 0x3588f
xorl %eax, %eax
movq 0x10(%rsp), %rdx
cmpq %rax, %rbx
je 0x358a5
movsd (%r13,%rax,8), %xmm0
movsd %xmm0, (%r15,%rax,8)
incq %rax
jmp 0x35865
andl $0x0, (%rbp)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
movl %r14d, %ecx
callq 0x358dc
movq 0x10(%rsp), %rdx
movl 0x8(%rsp), %eax
movl %eax, (%rdx)
movsd (%r15,%rbp,8), %xmm0
ucomisd 0x5ae7(%rip), %xmm0     # 0x3b3a0
jbe 0x358c6
movq %r15, %rdi
movl %r14d, %esi
callq 0x3595f
movq %r13, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x74e0
// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]Dsuite/KolmogorovSmirnovDist.cpp
// Function: mMultiply(double*, double*, double*, int)
static void mMultiply (double *A, double *B, double *C, int m)
{
   int i, j, k;
   double s;
   for (i = 0; i < m; i++)
      for (j = 0; j < m; j++) {
         s = 0.;
         for (k = 0; k < m; k++)
            s += A[i * m + k] * B[k * m + j];
         C[i * m + j] = s;
      }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movslq %ecx, %rax
xorl %ecx, %ecx
testl %eax, %eax
movl $0x0, %r8d
cmovgl %eax, %r8d
movl %eax, %r9d
leaq (,%rax,8), %r10
cmpq %r8, %rcx
je 0x35957
movq %rcx, %r11
imulq %rax, %r11
leaq (%rdx,%r11,8), %r11
movq %rsi, %rbx
xorl %r14d, %r14d
cmpq %r9, %r14
je 0x3594f
xorpd %xmm0, %xmm0
movq %rbx, %r15
xorl %r12d, %r12d
cmpq %r12, %r9
je 0x35940
movsd (%rdi,%r12,8), %xmm1
mulsd (%r15), %xmm1
addsd %xmm1, %xmm0
incq %r12
addq %r10, %r15
jmp 0x35924
movsd %xmm0, (%r11,%r14,8)
incq %r14
addq $0x8, %rbx
jmp 0x35915
incq %rcx
addq %r10, %rdi
jmp 0x358ff
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]Dsuite/KolmogorovSmirnovDist.cpp
// Function: renormalize(double*, int, int*)
static void renormalize (double *V, int m, int *p)
{
   int i;
   for (i = 0; i < m * m; i++)
      V[i] *= INORM;
   *p += LOGNORM;
}

// Assembly:
imull %esi, %esi
xorl %eax, %eax
movsd 0x5a3c(%rip), %xmm0     # 0x3b3a8
cmpq %rax, %rsi
je 0x35984
movsd (%rdi,%rax,8), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%rdi,%rax,8)
incq %rax
jmp 0x3596c
addl $0x8c, (%rdx)
retq
// File: /workspace/github_cpp_makefile_star2_O2/lvandeve[P]lodepng/examples/example_sdl.cpp
// Function: showfile(char const*)
int showfile(const char* filename) {
  std::cout << "showing " << filename << std::endl;

  std::vector<unsigned char> buffer, image;
  lodepng::load_file(buffer, filename); //load the image file with given filename
  unsigned w, h;
  unsigned error = lodepng::decode(image, w, h, buffer); //decode the png

  //stop if there is an error
  if(error) {
    std::cout << "decoder error " << error << ": " << lodepng_error_text(error) << std::endl;
    return 0;
  }

  return show(filename, &image[0], w, h);
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
movq 0x93ac(%rip), %rdi      # 0x17fd8
leaq 0x3ffe(%rip), %rsi      # 0x12c31
callq 0x2170
movq %rax, %rdi
movq %rbx, %rsi
callq 0x2170
movq %rax, %rdi
callq 0x20b0
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
andq $0x0, 0x40(%rsp)
movaps %xmm0, 0x10(%rsp)
andq $0x0, 0x20(%rsp)
leaq 0x48(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movq %rbx, %rsi
callq 0x2090
leaq 0x30(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0xb467
leaq 0x48(%rsp), %rdi
callq 0x21e0
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0xc(%rsp), %rdx
leaq 0x30(%rsp), %rcx
pushq $0x6
popq %r8
pushq $0x8
popq %r9
callq 0xb7cd
movl %eax, %ebp
testl %eax, %eax
je 0xed03
movq 0x931b(%rip), %rdi      # 0x17fd8
leaq 0x3f76(%rip), %rsi      # 0x12c3a
callq 0x2170
movl %ebp, %esi
movq %rax, %rdi
callq 0x20f0
leaq 0x3f6f(%rip), %rsi      # 0x12c49
movq %rax, %rdi
callq 0x2170
movq %rax, %rbx
movl %ebp, %edi
callq 0xb449
movq %rbx, %rdi
movq %rax, %rsi
callq 0x2170
xorl %ebx, %ebx
movq %rax, %rdi
callq 0x20b0
jmp 0xed38
leaq 0x48(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %rbx, %rsi
callq 0x2090
movq 0x10(%rsp), %rsi
movl 0x8(%rsp), %edx
movl 0xc(%rsp), %ecx
leaq 0x48(%rsp), %rdi
callq 0xe90c
movl %eax, %ebx
leaq 0x48(%rsp), %rdi
callq 0x21e0
leaq 0x10(%rsp), %rdi
callq 0xe8fc
leaq 0x30(%rsp), %rdi
callq 0xe8fc
movl %ebx, %eax
addq $0x68, %rsp
popq %rbx
popq %rbp
retq
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x21e0
jmp 0xed7f
jmp 0xed7c
movq %rax, %rbx
jmp 0xed89
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x21e0
jmp 0xed7f
jmp 0xed7c
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xe8fc
leaq 0x30(%rsp), %rdi
callq 0xe8fc
movq %rbx, %rdi
callq 0x2250
movq %rax, %rdi
callq 0xe54c
// File: /workspace/github_cpp_makefile_star2_O2/MatthewZMD[P]TetrisDual/interface.cc
// Function: Interface::cmdInterpreter(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&, unsigned int)
std::string Interface::cmdInterpreter(const std::string& cmd, const std::vector<std::string>& cmdList, unsigned i){
    if(cmd.size() == 0 && cmdList.size() > 1){
        // Matched more than 1 command
        return "";
    }
    std::vector<std::string> newList;
    // Loop through the command
    for(unsigned l = 0; l < cmdList.size(); ++l){
        if(cmdList.at(l).size() > i && cmd.at(0) == cmdList.at(l).at(i)){
            newList.emplace_back(cmdList.at(l));
        }
    }
    if(newList.size() == 0){
        // Cannot find any match string
        return "";
    } else if (newList.size() == 1){
        return newList.at(0);
    } else {
        return cmdInterpreter(cmd.substr(1), newList, i + 1);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rcx, %r12
movq %rdx, %r15
movq %rsi, 0x30(%rsp)
movq %rdi, (%rsp)
cmpq $0x0, 0x8(%rdx)
jne 0x63bb
movq 0x8(%r12), %rax
subq (%r12), %rax
cmpq $0x21, %rax
jb 0x63bb
leaq 0xb651(%rip), %rsi      # 0x119f9
leaq 0x38(%rsp), %rdx
movq (%rsp), %rdi
callq 0x5abe
jmp 0x64cc
leaq 0x10(%rsp), %r13
andq $0x0, 0x10(%r13)
xorps %xmm0, %xmm0
movaps %xmm0, (%r13)
movl %r8d, 0xc(%rsp)
movl %r8d, %r14d
xorl %ebx, %ebx
movl %ebx, %ebx
movq 0x8(%r12), %rax
subq (%r12), %rax
sarq $0x5, %rax
cmpq %rbx, %rax
jbe 0x643e
movq %r12, %rdi
movq %rbx, %rsi
callq 0x6bb6
cmpq %r14, 0x8(%rax)
jbe 0x643a
movq %r15, %rdi
xorl %esi, %esi
callq 0x5310
movb (%rax), %bpl
movq %r12, %rdi
movq %rbx, %rsi
callq 0x6bb6
movq %rax, %rdi
movq %r14, %rsi
callq 0x5310
cmpb (%rax), %bpl
jne 0x643a
movq %r12, %rdi
movq %rbx, %rsi
callq 0x6bb6
movq %r13, %rdi
movq %rax, %rsi
callq 0x6bd8
incl %ebx
jmp 0x63d7
movq 0x18(%rsp), %rax
subq 0x10(%rsp), %rax
sarq $0x5, %rax
je 0x646e
cmpq $0x1, %rax
jne 0x6485
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x6c14
movq (%rsp), %rdi
movq %rax, %rsi
callq 0x53b0
jmp 0x64c2
leaq 0xb584(%rip), %rsi      # 0x119f9
leaq 0x38(%rsp), %rdx
movq (%rsp), %rdi
callq 0x5abe
jmp 0x64c2
leaq 0x38(%rsp), %rdi
pushq $0x1
popq %rdx
pushq $-0x1
popq %rcx
movq %r15, %rsi
callq 0x52c0
movl 0xc(%rsp), %r8d
incl %r8d
leaq 0x38(%rsp), %rdx
leaq 0x10(%rsp), %rcx
movq (%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0x636e
leaq 0x38(%rsp), %rdi
callq 0x5150
leaq 0x10(%rsp), %rdi
callq 0x5f78
movq (%rsp), %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x5150
jmp 0x64f7
jmp 0x64f4
jmp 0x64f4
jmp 0x64f4
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x5f78
movq %rbx, %rdi
callq 0x54b0
nop
// File: /workspace/github_cpp_makefile_star2_O2/MatthewZMD[P]TetrisDual/interface.cc
// Function: Interface::cmdExtract(int&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
void Interface::cmdExtract(int& step, std::string& cmd){
    step = 1;
    int lastDiIndex = -1;
    for(unsigned i = 0; i < cmd.size(); i++){
        if(cmd.at(i) >= '0' && cmd.at(i) <= '9'){
            lastDiIndex = i;
        }
        else {
            break;
        }
    }
    if(lastDiIndex >= 0){
        step = std::stoi(cmd);
        cmd = cmd.substr(lastDiIndex + 1);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movl $0x1, (%rsi)
pushq $-0x1
popq %r14
movl %r14d, %r12d
leal 0x1(%r12), %r14d
cmpq %r14, 0x8(%rbx)
jbe 0x6553
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5540
cmpb $0x30, (%rax)
jl 0x6553
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5540
cmpb $0x3a, (%rax)
jl 0x6525
testl %r12d, %r12d
js 0x6591
pushq $0xa
popq %rdx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x5b06
movl %eax, (%r15)
leaq 0x8(%rsp), %r15
pushq $-0x1
popq %rcx
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x52c0
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5330
movq %r15, %rdi
callq 0x5150
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/MatthewZMD[P]TetrisDual/interface.cc
// Function: Interface::cmdInterface(std::istream&)
bool Interface::cmdInterface(std::istream& in) {
    if (g->isAutoDrop()) {
        execFunc(in, 1, "drop");
        std::cout << *(g->display) << std::endl;
        return true;
    }

    std::string cmd;
    if(in >> cmd){
        // Used for multiplier
        int step;

        // Extract numbers from cmd
        cmdExtract(step, cmd);

        // Interpret the command
        cmd = cmdInterpreter(cmd, cmdList);

        if (cmd == "") {
            std::cout << "What are you talking about?" << std::endl;
        }
        else {
            execFunc(in, step, cmd);
            std::cout << *(g->display) << std::endl;
        }

        return true;
    }
    return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x90, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x60(%rdi), %rdi
callq 0xb8ce
testb %al, %al
je 0x6a15
leaq 0xa817(%rip), %rsi      # 0x111dc
leaq 0x50(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x5abe
pushq $0x1
popq %rdx
leaq 0x50(%rsp), %rcx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x659e
leaq 0x50(%rsp), %rdi
callq 0x5150
movq 0x60(%rbx), %rax
movq 0x20(%rax), %rsi
movq 0x155a8(%rip), %rdi     # 0x1bfa8
callq 0xde55
movq %rax, %rdi
callq 0x5160
movb $0x1, %bpl
jmp 0x6b0c
leaq 0x20(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x5340
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
sete %bpl
jne 0x6b02
leaq 0xc(%rsp), %rsi
leaq 0x10(%rsp), %rdx
callq 0x650a
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rdx
movq %rbx, %rsi
movq %rbx, %rcx
xorl %r8d, %r8d
callq 0x636e
leaq 0x10(%rsp), %r15
leaq 0x70(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x5330
movq %r12, %rdi
callq 0x5150
leaq 0xaf65(%rip), %rsi      # 0x119f9
movq %r15, %rdi
callq 0x5af9
testb %al, %al
je 0x6ab5
movq 0x15501(%rip), %rdi     # 0x1bfa8
leaq 0xa777(%rip), %rsi      # 0x11225
callq 0x5290
jmp 0x6afa
movl 0xc(%rsp), %r15d
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x53b0
leaq 0x30(%rsp), %rcx
movq %rbx, %rdi
movq %r14, %rsi
movl %r15d, %edx
callq 0x659e
leaq 0x30(%rsp), %rdi
callq 0x5150
movq 0x60(%rbx), %rax
movq 0x20(%rax), %rsi
movq 0x154b3(%rip), %rdi     # 0x1bfa8
callq 0xde55
movq %rax, %rdi
callq 0x5160
leaq 0x10(%rsp), %rdi
callq 0x5150
movl %ebp, %eax
addq $0x90, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x5150
jmp 0x6b43
jmp 0x6b40
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
jmp 0x6b48
jmp 0x6b40
movq %rax, %rbx
jmp 0x6b4d
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x5150
movq %rbx, %rdi
callq 0x54b0
nop
// File: /workspace/github_cpp_makefile_star2_O2/MatthewZMD[P]TetrisDual/blinddecorator.cc
// Function: BlindDecorator::display()
std::vector<std::vector<char>> BlindDecorator::display() {
	std::vector<std::vector<char>> a = board->display();
	for (int i = 6; i < 16; ++i) {
		for (int j = 0; j < 11; ++j) {
			a[i][j] = '?';
		}		
	}
	for (int i = 0; i < 18; ++i) {
		for (int j = 2; j < 9; ++j) {
			a[i][j] = '?';
		}
	}
	return a;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x30(%rsi), %rsi
movq (%rsi), %rax
callq *0x50(%rax)
pushq $0x6
popq %rax
cmpq $0x10, %rax
je 0x71d4
imulq $0x18, %rax, %rcx
xorl %edx, %edx
cmpq $0xb, %rdx
je 0x71cf
movq (%rbx), %rsi
movq (%rsi,%rcx), %rsi
movb $0x3f, (%rsi,%rdx)
incq %rdx
jmp 0x71b9
incq %rax
jmp 0x71ad
xorl %eax, %eax
pushq $-0x7
popq %rcx
cmpq $0x12, %rax
je 0x7201
imulq $0x18, %rax, %rdx
movq %rcx, %rsi
testq %rsi, %rsi
je 0x71fc
movq (%rbx), %rdi
movq (%rdi,%rdx), %rdi
movb $0x3f, 0x9(%rdi,%rsi)
incq %rsi
jmp 0x71e6
incq %rax
jmp 0x71d9
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/MatthewZMD[P]TetrisDual/block.cc
// Function: Block::recaliBtmLft()
void Block::recaliBtmLft(){
    Coordinate newBtmLft = Coordinate{0, 200};
    Coordinate cellPos;
    for(unsigned i = 0; i < cells.size(); ++i) {
        cellPos = cells.at(i)->pos;
        if(cellPos.col < newBtmLft.col) newBtmLft.col = cellPos.col;
        if(cellPos.row > newBtmLft.row) newBtmLft.row = cellPos.row;
    }
    btmLft = newBtmLft;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0xc8, %ebp
xorl %r15d, %r15d
xorl %eax, %eax
movl %eax, %r14d
movq 0x8(%rbx), %rax
subq (%rbx), %rax
sarq $0x3, %rax
cmpq %r14, %rax
jbe 0x73e1
movq %rbx, %rdi
movq %r14, %rsi
callq 0x7536
movq (%rax), %rax
movl 0x58(%rax), %ecx
movl 0x5c(%rax), %eax
cmpl %ebp, %eax
cmovll %eax, %ebp
cmpl %r15d, %ecx
cmovgl %ecx, %r15d
leal 0x1(%r14), %eax
jmp 0x73a8
movl %r15d, 0x18(%rbx)
movl %ebp, 0x1c(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop