// File: /workspace/github_cpp_makefile_star2_O1/millanek[P]evo/process_vcf_coding_sequences.cpp
// Function: getStatsIUPAC(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&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, 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>>>>&, std::basic_ofstream<char, std::char_traits<char>>*&, 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&)
void getStatsIUPAC(const std::vector<std::string>& allSeqs, const std::string& refSeq, const string& transcriptName, std::vector<string>& statsThisGene, std::ofstream*& prematureStopCodonFile, const std::vector<string>& sampleNames) {
    int numSegSites = 0;
    int numNonSynAAchanges = 0;  // NUmber of non-synonymous amino-acid changes
    int numSynAAchanges = 0;  // NUmber of non-synonymous amino-acid changes
    double expectedNumNonSynAAchanges = 0;
    double expectedNumSynAAchanges = 0;
    std::vector<double> derivedAlleleFequencies;
    std::vector<double> synonymousMinorAlleleFequencies;
    std::vector<double> nonsynonymousMinorAlleleFequencies;
    int numCopies = (int)allSeqs.size()*2;
    // int numSynonymous = 0;
    // int numNonSynonymous = 0;
    // bool nonsenseMutation = false;
    if (allSeqs[0].length() != refSeq.length()) {
        std::cerr << "Error!!! allSeqs[0].length() != refSeq.length()" << std::endl;
    }
    std::vector<string> altCodons; altCodons.resize(allSeqs.size());
    std::vector<int> IUPACcounts; IUPACcounts.resize(allSeqs.size());
    for (std::vector<string>::size_type i = 0; i != altCodons.size(); i++) {
        altCodons[i] = "";
        IUPACcounts[i] = 0;
    }
    
    
    // std::cerr << "Collecting gene sequence statistics...." << std::endl;
    for (string::size_type i = 0; i != refSeq.length(); i++) {
        char refBase = refSeq[i];
        char altBase;
        int countDerived = 0;
        
        for (std::vector<std::string>::size_type j = 0; j != allSeqs.size(); j++) {
            if (allSeqs[j][i] != refBase) {
                //if (i == 2)
                //    std::cerr << sampleNames[j] << " " << allSeqs[j][i] << std::endl;
                if (isDNAonly(allSeqs[j][i])) {
                    countDerived = countDerived + 2;
                    altBase = allSeqs[j][i];
                } else {
                    countDerived++;
                    IUPACcounts[j]++;
                    altBase = disambiguateIUPAC(refBase, allSeqs[j][i]);
                }
                altCodons[j] += altBase;
            } else {
                altCodons[j] += refBase;
            }
        }
        // Find the types of mutation we are dealing with
        string refAA;
        string altAA;
        if ((i+1)%3 == 0) {
            //if (i == 2)
            //  std::cerr << "Got here; refseq length: " << refSeq.length() << " i-2:" << i-2 << std::endl;
            refAA = getAminoAcid(refSeq.substr(i-2,3));
            expectedNumNonSynAAchanges = expectedNumNonSynAAchanges + getExpectedNumberOfNonsynonymousSites(refSeq.substr(i-2,3));
            expectedNumSynAAchanges = expectedNumSynAAchanges + (3 - getExpectedNumberOfNonsynonymousSites(refSeq.substr(i-2,3)));
            //if (i == 2)
            //  std::cerr << "And here" << std::endl;
            string altAA = "";
            //if (i == 2)
            //    std::cerr << "Now going to loop through codons" << std::endl;
            int nonSyn = 0;
            int nonSynV2 = 0;
            int syn = 0;
            int numStops = 0;
            std::vector<string> haveStop;
            for (std::vector<string>::size_type j = 0; j != altCodons.size(); j++) {
                if (IUPACcounts[j] > 1) // Multiple hets in a codon under IUPAC sequence encoding
                    continue;
                altAA = getAminoAcid(altCodons[j]);
                if (altAA != refAA && altAA == "Stop") {
                    // We have a premature stop codon
                    if (isDNAonlySeq(allSeqs[j].substr(i-2,3))) {
                        haveStop.push_back(sampleNames[j]+"(hom)");
                        numStops = numStops + 2;
                    } else {
                        haveStop.push_back(sampleNames[j]+"(het)");
                        numStops++;
                    }
                } else {
                    int thisIndDistance = getCodonDistance(refSeq.substr(i-2,3),altCodons[j]);
                    if (thisIndDistance == 1) {
                        if (altAA != refAA) {
                            nonSyn++;
                            // std::cerr << "altCodons[i]: " << altCodons[j] << "refSeq.substr(i-2,3) " << refSeq.substr(i-2,3) << std::endl;
                            // std::cerr << "allSeqs[0].substr(i-2,3): " << allSeqs[j].substr(i-2,3) << std::endl;
                        }
                        if (s_mapCodonPairToSynonymous.count(refSeq.substr(i-2,3)+altCodons[j]) == 0) {
                            nonSynV2++;
                        }
                        assert(nonSyn == nonSynV2);
                        if (altAA == refAA) {
                            syn++;
                        }
                    } else {
                        // findCodonPaths(refSeq.substr(i-2,3),altCodons[j]);
                    }
                }
                altCodons[j] = ""; IUPACcounts[j] = 0;
            }
            if (numStops > 0) {
                std::string stopTranscriptDetails; stopTranscriptDetails.reserve(500);
                stopTranscriptDetails = transcriptName + "\t" + numToString((i+1)/3) + "\t" + numToString(refSeq.length()/3) + "\t" + numToString((double)numStops/(sampleNames.size()*2)) + "\t";
                for (std::vector<string>::size_type i = 0; i != haveStop.size(); i++) {
                    stopTranscriptDetails.append(haveStop[i]);
                    if (i != (haveStop.size()-1))
                        stopTranscriptDetails.append(",");
                }
                *prematureStopCodonFile << stopTranscriptDetails << std::endl;
                //print_vector(haveStop, *prematureStopCodonFile, ',');
                stopsTranscriptRecord.push_back(stopTranscriptDetails);
            }
            double NRaf;
            if (nonSyn > 0) {
                numNonSynAAchanges++;
                // std::cerr << "nonSyn: " << nonSyn << std::endl;
                NRaf = (double)nonSyn/numCopies;
                // std::cerr << "NRaf: " << NRaf << std::endl;
                if (NRaf > 0.5) {
                    nonsynonymousMinorAlleleFequencies.push_back(1-NRaf);
                } else {
                    nonsynonymousMinorAlleleFequencies.push_back(NRaf);
                }
            }
            if (syn > 0) {
                numSynAAchanges++;
                NRaf = (double)syn/numCopies;
                if (NRaf > 0.5) {
                    synonymousMinorAlleleFequencies.push_back(1-NRaf);
                } else {
                    synonymousMinorAlleleFequencies.push_back(NRaf);
                }
            }
        }
          
        if (countDerived > 0) {
            numSegSites++;
            double daf = (double)countDerived/numCopies;
            derivedAlleleFequencies.push_back(daf);
        }
        // if (i%10==0) {
        // std::cerr << "Processed " << i << "bp" << std::endl;
        // }
    }
     
    statsThisGene.push_back(numToString(refSeq.length()));
    statsThisGene.push_back(numToString(numSegSites));
    statsThisGene.push_back(numToString((double)numSegSites/refSeq.length()));
    statsThisGene.push_back(numToString(refSeq.length()/3));
    statsThisGene.push_back(numToString(numSynAAchanges));
    statsThisGene.push_back(numToString((double)numSynAAchanges/(refSeq.length()/3)));
    statsThisGene.push_back(numToString(numNonSynAAchanges));
    statsThisGene.push_back(numToString((double)numNonSynAAchanges/(refSeq.length()/3)));
    statsThisGene.push_back(numToString(vector_average(synonymousMinorAlleleFequencies)));
    statsThisGene.push_back(numToString(vector_average(nonsynonymousMinorAlleleFequencies)));
    
    // std::map<int,int> dafTable = tabulateVectorTemplate(derivedAlleleFequencies);
    // std::cerr << "Stats Done" << std::endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x308, %rsp            # imm = 0x308
movq %r9, 0x158(%rsp)
movq %r8, 0x2f0(%rsp)
movq %rcx, %r12
movq %rdx, 0x2f8(%rsp)
movq %rdi, %rbp
xorpd %xmm0, %xmm0
movapd %xmm0, 0x200(%rsp)
xorl %eax, %eax
movq %rax, 0x210(%rsp)
movq %rax, 0xe0(%rsp)
movapd %xmm0, 0xd0(%rsp)
movq %rax, 0xc0(%rsp)
movapd %xmm0, 0xb0(%rsp)
movq (%rdi), %r15
movq 0x8(%rdi), %r14
movq 0x8(%r15), %rax
movq %rsi, 0x48(%rsp)
cmpq 0x8(%rsi), %rax
je 0x745dd
movq 0x96a4a(%rip), %rbx     # 0x10afe8
leaq 0x68da1(%rip), %rsi     # 0xdd346
movl $0x2f, %edx
movq %rbx, %rdi
callq 0x84e0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq 0x96a18(%rip), %rdi     # 0x10afe8
callq 0x8040
movq %rax, %rdi
callq 0x8300
leaq 0x90(%rsp), %rdi
xorpd %xmm0, %xmm0
movapd %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x8(%rbp), %rsi
subq (%rbp), %rsi
sarq $0x5, %rsi
callq 0x415c4
movq %r12, 0x2e8(%rsp)
xorpd %xmm0, %xmm0
leaq 0x280(%rsp), %rdi
movapd %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x8(%rbp), %rsi
subq (%rbp), %rsi
sarq $0x5, %rsi
callq 0x54d18
movq 0x90(%rsp), %rdi
cmpq %rdi, 0x98(%rsp)
je 0x7469e
xorl %r12d, %r12d
leaq 0x5d62c(%rip), %rbx     # 0xd1c7f
xorl %r13d, %r13d
movq 0x8(%rdi,%r12), %rdx
addq %r12, %rdi
xorl %esi, %esi
movq %rbx, %rcx
xorl %r8d, %r8d
callq 0x86c0
movq 0x280(%rsp), %rax
movl $0x0, (%rax,%r13,4)
incq %r13
movq 0x90(%rsp), %rdi
movq 0x98(%rsp), %rax
subq %rdi, %rax
sarq $0x5, %rax
addq $0x20, %r12
cmpq %rax, %r13
jne 0x74656
movq 0x48(%rsp), %rax
movq 0x8(%rax), %rsi
testq %rsi, %rsi
je 0x757c9
subq %r15, %r14
shrq $0x4, %r14
andl $-0x2, %r14d
xorps %xmm0, %xmm0
cvtsi2sd %r14d, %xmm0
movsd %xmm0, 0x150(%rsp)
movl $0x0, 0x54(%rsp)
movl $0x0, 0x50(%rsp)
xorl %r13d, %r13d
movl $0x0, 0x84(%rsp)
movq %rbp, 0xe8(%rsp)
movq (%rbp), %rax
movl $0x0, 0x5c(%rsp)
cmpq %rax, 0x8(%rbp)
je 0x74847
movq 0x48(%rsp), %rcx
movq (%rcx), %rcx
movb (%rcx,%r13), %bl
cmpb $0x43, %bl
sete %bpl
movl $0x43, %edx
movl $0x54, %ecx
cmovel %ecx, %edx
movl %edx, 0x58(%rsp)
shlb $0x2, %bpl
orb $0x43, %bpl
cmpb $0x41, %bl
sete %r15b
movl $0x41, %edx
cmovel %ecx, %edx
movl %edx, 0x40(%rsp)
movl $0x41, %esi
movl $0x47, %edx
cmovel %edx, %esi
movl %esi, 0x44(%rsp)
addb %r15b, %r15b
orb $0x41, %r15b
cmpb $0x47, %bl
cmovel %ecx, %edx
movl %edx, 0x88(%rsp)
xorl %r14d, %r14d
xorl %r12d, %r12d
movl $0x0, 0x5c(%rsp)
movq (%rax,%r14), %rcx
movb (%rcx,%r13), %al
cmpb %bl, %al
jne 0x7479b
movq 0x90(%rsp), %rdi
addq %r14, %rdi
movsbl %bl, %esi
callq 0x83d0
jmp 0x747c8
movzbl %al, %edx
addl $-0x41, %edx
cmpl $0x13, %edx
ja 0x747ec
movl $0x80045, %esi          # imm = 0x80045
btl %edx, %esi
jae 0x747ec
addl $0x2, 0x5c(%rsp)
movq 0x90(%rsp), %rdi
addq %r14, %rdi
movsbl %al, %esi
callq 0x83d0
incq %r12
movq 0xe8(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
addq $0x20, %r14
cmpq %rcx, %r12
jne 0x7477a
jmp 0x74847
movq 0x280(%rsp), %rax
incl (%rax,%r12,4)
movzbl (%rcx,%r13), %eax
addl $-0x4b, %eax
cmpl $0xe, %eax
ja 0x75c71
incl 0x5c(%rsp)
leaq 0x677ec(%rip), %rcx     # 0xdc000
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl 0x88(%rsp), %eax
jmp 0x7483b
movl 0x40(%rsp), %eax
jmp 0x7483b
movl %r15d, %eax
jmp 0x747b5
movl 0x58(%rsp), %eax
jmp 0x7483b
movl 0x44(%rsp), %eax
jmp 0x747b5
movl %ebp, %eax
jmp 0x747b5
leaq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
xorl %ecx, %ecx
movq %rcx, 0x28(%rsp)
movb %cl, 0x30(%rsp)
leaq 0x2a8(%rsp), %rax
movq %rax, 0x298(%rsp)
movq %rcx, 0x2a0(%rsp)
leaq 0x1(%r13), %r15
movq %r15, %rax
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
mulq %rdx
movb %cl, 0x2a8(%rsp)
movabsq $0x5555555555555556, %rcx # imm = 0x5555555555555556
cmpq %rcx, %rax
jb 0x748ab
movq 0xe8(%rsp), %rbp
jmp 0x75719
movq %rdx, %r12
addq $-0x2, %r13
movl $0x3, %ecx
movq %rsp, %rbx
movq %rbx, %rdi
movq 0x48(%rsp), %rsi
movq %r13, %rdx
callq 0x84a0
leaq 0x60(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x766fe
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x8540
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x74903
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x7491e
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x3, %ecx
movq %r14, %rdi
movq 0x48(%rsp), %rsi
movq %r13, %rdx
callq 0x84a0
movq %r14, %rdi
callq 0x77a9b
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x74957
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x3, %ecx
movq %r14, %rdi
movq 0x48(%rsp), %rsi
movq %r13, %rdx
callq 0x84a0
movq %r14, %rdi
callq 0x77a9b
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x74990
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x70(%rsp), %rax
movq %rax, 0x60(%rsp)
movq %r14, %rdi
leaq 0x5d2db(%rip), %rdx     # 0xd1c7f
movq %rdx, %rsi
callq 0x28952
movq %r12, 0x300(%rsp)
movq %r15, 0x88(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x130(%rsp)
movq $0x0, 0x140(%rsp)
movq 0x90(%rsp), %rsi
cmpq %rsi, 0x98(%rsp)
je 0x74e22
xorl %ebp, %ebp
movl $0x0, 0x44(%rsp)
movl $0x0, 0x40(%rsp)
movl $0x0, 0x58(%rsp)
xorl %ebx, %ebx
movq 0x280(%rsp), %rax
cmpl $0x1, (%rax,%rbp,4)
jle 0x74a1d
movl %ebx, %r12d
jmp 0x74dfd
movq %rbp, %r14
shlq $0x5, %r14
addq %r14, %rsi
movq %rsp, %r12
movq %r12, %rdi
callq 0x766fe
leaq 0x60(%rsp), %rdi
movq %r12, %rsi
callq 0x8540
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x74a5a
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x68(%rsp), %rdx
cmpq 0x28(%rsp), %rdx
jne 0x74a7e
testq %rdx, %rdx
je 0x74a97
movq 0x20(%rsp), %rsi
movq 0x60(%rsp), %rdi
callq 0x8490
testl %eax, %eax
je 0x74a97
leaq 0x60(%rsp), %rdi
leaq 0x68778(%rip), %rsi     # 0xdd202
callq 0x8160
testl %eax, %eax
je 0x74b5a
movl $0x3, %ecx
movq %r12, %rdi
movq 0x48(%rsp), %rsi
movq %r13, %rdx
callq 0x84a0
movq 0x90(%rsp), %rdx
movq 0x8(%rsp), %rax
cmpq 0x8(%rdx,%r14), %rax
jne 0x75c33
xorl %r15d, %r15d
testq %rax, %rax
je 0x74afa
addq %r14, %rdx
movq (%rsp), %rcx
movq (%rdx), %rdx
xorl %esi, %esi
movb (%rcx,%rsi), %dil
xorl %r8d, %r8d
cmpb (%rdx,%rsi), %dil
setne %r8b
addl %r8d, %r15d
incq %rsi
cmpq %rsi, %rax
jne 0x74ad8
cmpl $0x1, %r15d
sete %r15b
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x74b15
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
testb %r15b, %r15b
je 0x74ca1
movq 0x68(%rsp), %rdx
movl $0x1, %r12d
cmpq 0x28(%rsp), %rdx
jne 0x74cac
testq %rdx, %rdx
je 0x74ca9
movq 0x20(%rsp), %rsi
movq 0x60(%rsp), %rdi
callq 0x8490
xorl %r12d, %r12d
testl %eax, %eax
setne %r12b
jmp 0x74cac
movq 0xe8(%rsp), %rax
movq (%rax), %rsi
addq %r14, %rsi
movl $0x3, %ecx
movq %r12, %rdi
movq %r13, %rdx
callq 0x84a0
movq 0x8(%rsp), %rax
testq %rax, %rax
sete %r15b
je 0x74bb1
movq (%rsp), %rcx
xorl %r15d, %r15d
xorl %edx, %edx
movzbl (%rcx,%rdx), %esi
addl $-0x41, %esi
cmpl $0x13, %esi
ja 0x74bb1
movl $0x80045, %edi          # imm = 0x80045
btl %esi, %edi
jae 0x74bb1
incq %rdx
cmpq %rdx, %rax
sete %r15b
jne 0x74b8f
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x74bcc
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
testb $0x1, %r15b
je 0x74c3b
movq 0x158(%rsp), %rax
movq (%rax), %rax
leaq 0x10(%rsp), %rcx
movq %rcx, (%rsp)
movq (%rax,%r14), %rsi
movq 0x8(%rax,%r14), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x2e45c
movq %r12, %rdi
leaq 0x68772(%rip), %rsi     # 0xdd376
callq 0x88c0
leaq 0x130(%rsp), %rdi
movq %r12, %rsi
callq 0x416a6
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x74c34
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
addl $0x2, 0x44(%rsp)
jmp 0x74ca1
movq 0x158(%rsp), %rax
movq (%rax), %rax
leaq 0x10(%rsp), %rcx
movq %rcx, (%rsp)
movq (%rax,%r14), %rsi
movq 0x8(%rax,%r14), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x2e45c
movq %r12, %rdi
leaq 0x6870f(%rip), %rsi     # 0xdd37c
callq 0x88c0
leaq 0x130(%rsp), %rdi
movq %r12, %rsi
callq 0x416a6
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x74c9d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
incl 0x44(%rsp)
movl %ebx, %r12d
jmp 0x74dc9
xorl %r12d, %r12d
movl $0x3, %ecx
leaq 0xf0(%rsp), %r15
movq %r15, %rdi
movq 0x48(%rsp), %rsi
movq %r13, %rdx
callq 0x84a0
movq 0x90(%rsp), %rax
movq (%rax,%r14), %rsi
movq 0x8(%rax,%r14), %rdx
movq %r15, %rdi
callq 0x8180
leaq 0x10(%rsp), %rsi
movq %rsi, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x74d08
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x74d10
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x977f9(%rip), %rdi     # 0x10c528
movq %rsp, %rsi
callq 0x3cf16
movq %rax, %r15
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x74d55
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x74d7a
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
addl %ebx, %r12d
cmpq $0x1, %r15
movl 0x58(%rsp), %ebx
adcl $0x0, %ebx
cmpl %ebx, %r12d
jne 0x75c52
movq 0x68(%rsp), %rdx
xorl %ecx, %ecx
cmpq 0x28(%rsp), %rdx
jne 0x74dc1
testq %rdx, %rdx
je 0x74dbc
movq 0x20(%rsp), %rsi
movq 0x60(%rsp), %rdi
callq 0x8490
xorl %ecx, %ecx
testl %eax, %eax
sete %cl
jmp 0x74dc1
movl $0x1, %ecx
movl %ebx, 0x58(%rsp)
addl %ecx, 0x40(%rsp)
movq 0x90(%rsp), %rax
leaq (%rax,%r14), %rdi
movq 0x8(%rax,%r14), %rdx
xorl %esi, %esi
leaq 0x5ce9c(%rip), %rcx     # 0xd1c7f
xorl %r8d, %r8d
callq 0x86c0
movq 0x280(%rsp), %rax
movl $0x0, (%rax,%rbp,4)
movl %r12d, %ebx
incq %rbp
movq 0x90(%rsp), %rsi
movq 0x98(%rsp), %rax
subq %rsi, %rax
sarq $0x5, %rax
cmpq %rax, %rbp
jne 0x74a07
jmp 0x74e35
xorl %r12d, %r12d
movl $0x0, 0x40(%rsp)
movl $0x0, 0x44(%rsp)
cmpl $0x0, 0x44(%rsp)
leaq 0x10(%rsp), %rax
movq 0xe8(%rsp), %rbp
leaq 0x190(%rsp), %r13
jle 0x75563
movq %rax, (%rsp)
movq $0x0, 0x8(%rsp)
movb $0x0, 0x10(%rsp)
movl $0x1f4, %esi            # imm = 0x1F4
movq %rsp, %rdi
callq 0x86f0
leaq 0x120(%rsp), %rax
movq %rax, 0x110(%rsp)
movq 0x2f8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x110(%rsp), %rbx
movq %rbx, %rdi
callq 0x2e45c
movq %rbx, %rdi
leaq 0x5cdce(%rip), %rsi     # 0xd1c7e
callq 0x88c0
leaq 0x1b0(%rsp), %rbx
leaq 0x1d0(%rsp), %r15
movq 0x300(%rsp), %rsi
shrq %rsi
leaq 0x260(%rsp), %rdi
callq 0x6ec27
leaq 0x1f0(%rsp), %r14
movq 0x110(%rsp), %rcx
movl $0xf, %esi
leaq 0x120(%rsp), %rax
cmpq %rax, %rcx
je 0x74f07
movq 0x120(%rsp), %rsi
movq 0x118(%rsp), %r8
movq 0x268(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
jbe 0x74f44
movl $0xf, %esi
leaq 0x270(%rsp), %rdi
cmpq %rdi, 0x260(%rsp)
je 0x74f3f
movq 0x270(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x74f5b
movq 0x260(%rsp), %rsi
leaq 0x110(%rsp), %rdi
callq 0x8180
jmp 0x74f6c
leaq 0x260(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x84d0
movq %rbx, 0x1a0(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x74f95
movq %rdx, 0x1a0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1b0(%rsp)
jmp 0x74f9d
movupd (%rcx), %xmm0
movupd %xmm0, (%rbx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x1a8(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x1a0(%rsp), %rdi
leaq 0x5ccb2(%rip), %rsi     # 0xd1c7e
callq 0x88c0
movq %r14, 0x1e0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x74ffd
movq %rdx, 0x1e0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1f0(%rsp)
jmp 0x75006
movupd (%rcx), %xmm0
movupd %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x1e8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movabsq $-0x5555555555555555, %rax # imm = 0xAAAAAAAAAAAAAAAB
movq 0x48(%rsp), %rcx
mulq 0x8(%rcx)
shrq %rdx
leaq 0x240(%rsp), %rdi
movq %rdx, %rsi
callq 0x6ec27
movq 0x1e0(%rsp), %rcx
movl $0xf, %esi
cmpq %r14, %rcx
je 0x75061
movq 0x1f0(%rsp), %rsi
movq 0x1e8(%rsp), %r8
movq 0x248(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
jbe 0x7509e
movl $0xf, %esi
leaq 0x250(%rsp), %rdi
cmpq %rdi, 0x240(%rsp)
je 0x75099
movq 0x250(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x750b5
movq 0x240(%rsp), %rsi
leaq 0x1e0(%rsp), %rdi
callq 0x8180
jmp 0x750c6
leaq 0x240(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x84d0
movq %r15, 0x1c0(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x750ef
movq %rdx, 0x1c0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1d0(%rsp)
jmp 0x750f8
movupd (%rcx), %xmm0
movupd %xmm0, (%r15)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x1c8(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x1c0(%rsp), %rdi
leaq 0x5cb57(%rip), %rsi     # 0xd1c7e
callq 0x88c0
leaq 0x170(%rsp), %rsi
movq %rsi, 0x160(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x75160
movq %rdx, 0x160(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x170(%rsp)
jmp 0x75168
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x168(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
xorps %xmm0, %xmm0
cvtsi2sdl 0x44(%rsp), %xmm0
movb $0x0, 0x10(%rax)
movq 0x158(%rsp), %rcx
movq 0x8(%rcx), %rax
subq (%rcx), %rax
sarq $0x4, %rax
movq %rax, %xmm1
punpckldq 0x54ff4(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x54ffc(%rip), %xmm1    # 0xca1b0
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
leaq 0x220(%rsp), %rdi
callq 0x45e1c
movq 0x160(%rsp), %rcx
movl $0xf, %esi
leaq 0x170(%rsp), %rax
cmpq %rax, %rcx
je 0x751f3
movq 0x170(%rsp), %rsi
movq 0x168(%rsp), %r8
movq 0x228(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
jbe 0x75230
movl $0xf, %esi
leaq 0x230(%rsp), %rdi
cmpq %rdi, 0x220(%rsp)
je 0x7522b
movq 0x230(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x75247
movq 0x220(%rsp), %rsi
leaq 0x160(%rsp), %rdi
callq 0x8180
jmp 0x75258
leaq 0x220(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x84d0
movq %r13, 0x180(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x75281
movq %rdx, 0x180(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x190(%rsp)
jmp 0x7528b
movupd (%rcx), %xmm0
movupd %xmm0, (%r13)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x188(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x180(%rsp), %rdi
leaq 0x5c9c4(%rip), %rsi     # 0xd1c7e
callq 0x88c0
leaq 0x100(%rsp), %r13
movq %r13, 0xf0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x752f3
movq %rdx, 0xf0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x100(%rsp)
jmp 0x752fd
movupd (%rcx), %xmm0
movupd %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0xf8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rsp, %rdi
leaq 0xf0(%rsp), %rsi
callq 0x8540
movq 0xf0(%rsp), %rdi
cmpq %r13, %rdi
je 0x75345
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x180(%rsp), %rdi
leaq 0x190(%rsp), %rax
cmpq %rax, %rdi
leaq 0x680d6(%rip), %r13     # 0xdd435
je 0x75371
movq 0x190(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x220(%rsp), %rdi
leaq 0x230(%rsp), %rax
cmpq %rax, %rdi
je 0x75396
movq 0x230(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x160(%rsp), %rdi
leaq 0x170(%rsp), %rax
cmpq %rax, %rdi
je 0x753bb
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x1c0(%rsp), %rdi
cmpq %r15, %rdi
je 0x753d8
movq 0x1d0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x240(%rsp), %rdi
leaq 0x250(%rsp), %rax
cmpq %rax, %rdi
je 0x753fd
movq 0x250(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x1e0(%rsp), %rdi
cmpq %r14, %rdi
je 0x7541a
movq 0x1f0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x1a0(%rsp), %rdi
cmpq %rbx, %rdi
je 0x75437
movq 0x1b0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x260(%rsp), %rdi
leaq 0x270(%rsp), %rax
cmpq %rax, %rdi
je 0x7545c
movq 0x270(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x75481
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x130(%rsp), %rax
cmpq %rax, 0x138(%rsp)
je 0x754f6
movl $0x8, %ebx
xorl %r14d, %r14d
movq -0x8(%rax,%rbx), %rsi
movq (%rax,%rbx), %rdx
movq %rsp, %rdi
callq 0x8180
movq 0x138(%rsp), %rax
subq 0x130(%rsp), %rax
sarq $0x5, %rax
decq %rax
cmpq %rax, %r14
je 0x754d3
movq %rsp, %rdi
movq %r13, %rsi
callq 0x88c0
incq %r14
movq 0x130(%rsp), %rax
movq 0x138(%rsp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
addq $0x20, %rbx
cmpq %rcx, %r14
jne 0x7549b
movq 0x2f0(%rsp), %rax
movq (%rax), %rdi
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x84e0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %r15, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
leaq 0x97020(%rip), %rdi     # 0x10c560
movq %rsp, %rsi
callq 0x33db0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x75563
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
testl %r12d, %r12d
jle 0x755d0
incl 0x50(%rsp)
xorps %xmm0, %xmm0
cvtsi2sd %r12d, %xmm0
divsd 0x150(%rsp), %xmm0
movsd %xmm0, (%rsp)
ucomisd 0x59ec6(%rip), %xmm0    # 0xcf450
leaq 0xf0(%rsp), %r14
jbe 0x755ea
movsd 0x59ea4(%rip), %xmm1    # 0xcf440
subsd %xmm0, %xmm1
movsd %xmm1, 0xf0(%rsp)
movq 0xb8(%rsp), %rsi
cmpq 0xc0(%rsp), %rsi
movq %rsp, %rbx
je 0x7561e
movsd %xmm1, (%rsi)
addq $0x8, %rsi
movq %rsi, 0xb8(%rsp)
jmp 0x755db
movq %rsp, %rbx
leaq 0xf0(%rsp), %r14
movq 0x88(%rsp), %r15
movl 0x40(%rsp), %r12d
jmp 0x7564d
movq 0xb8(%rsp), %rsi
cmpq 0xc0(%rsp), %rsi
movq %rsp, %rbx
movq 0x88(%rsp), %r15
movl 0x40(%rsp), %r12d
je 0x7563d
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0xb8(%rsp)
jmp 0x7564d
leaq 0xb0(%rsp), %rdi
movq %r14, %rdx
callq 0x33c70
movq 0x88(%rsp), %r15
movl 0x40(%rsp), %r12d
jmp 0x7564d
leaq 0xb0(%rsp), %rdi
movq %rbx, %rdx
callq 0x79f34
testl %r12d, %r12d
jle 0x756f0
incl 0x84(%rsp)
xorps %xmm0, %xmm0
cvtsi2sd %r12d, %xmm0
divsd 0x150(%rsp), %xmm0
movsd %xmm0, (%rsp)
ucomisd 0x59dd5(%rip), %xmm0    # 0xcf450
jbe 0x756aa
movsd 0x59dbb(%rip), %xmm1    # 0xcf440
subsd %xmm0, %xmm1
movsd %xmm1, 0xf0(%rsp)
movq 0xd8(%rsp), %rsi
cmpq 0xe0(%rsp), %rsi
je 0x756ce
movsd %xmm1, (%rsi)
jmp 0x756c0
movq 0xd8(%rsp), %rsi
cmpq 0xe0(%rsp), %rsi
je 0x756e0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0xd8(%rsp)
jmp 0x756f0
leaq 0xd0(%rsp), %rdi
movq %r14, %rdx
callq 0x33c70
jmp 0x756f0
leaq 0xd0(%rsp), %rdi
movq %rbx, %rdx
callq 0x79f34
leaq 0x130(%rsp), %rdi
callq 0x3123c
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x75719
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
movl 0x5c(%rsp), %eax
testl %eax, %eax
jle 0x75771
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
divsd 0x150(%rsp), %xmm0
movsd %xmm0, 0x60(%rsp)
movq 0x208(%rsp), %rsi
cmpq 0x210(%rsp), %rsi
je 0x7575b
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x208(%rsp)
jmp 0x7576d
leaq 0x200(%rsp), %rdi
leaq 0x60(%rsp), %rdx
callq 0x79f34
incl 0x54(%rsp)
movq 0x298(%rsp), %rdi
leaq 0x2a8(%rsp), %rax
cmpq %rax, %rdi
je 0x75796
movq 0x2a8(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x757b2
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x48(%rsp), %rax
movq 0x8(%rax), %rsi
movq %r15, %r13
cmpq %rsi, %r15
jne 0x746f2
jmp 0x757e4
movl $0x0, 0x84(%rsp)
movl $0x0, 0x50(%rsp)
movl $0x0, 0x54(%rsp)
leaq 0x20(%rsp), %rdi
callq 0x6ec27
leaq 0x20(%rsp), %rsi
movq 0x2e8(%rsp), %rbx
movq %rbx, %rdi
callq 0x416a6
movl 0x84(%rsp), %ebp
leaq 0x30(%rsp), %r14
movq -0x10(%r14), %rdi
cmpq %r14, %rdi
je 0x75825
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x20(%rsp), %rdi
movl 0x54(%rsp), %esi
callq 0x31297
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x416a6
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x75857
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
xorps %xmm0, %xmm0
cvtsi2sdl 0x54(%rsp), %xmm0
movq 0x48(%rsp), %rax
movsd 0x8(%rax), %xmm1
unpcklps 0x5492f(%rip), %xmm1    # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x54937(%rip), %xmm1    # 0xca1b0
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
leaq 0x20(%rsp), %rdi
callq 0x45e1c
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x416a6
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x758b7
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
movabsq $-0x5555555555555555, %rax # imm = 0xAAAAAAAAAAAAAAAB
movq 0x48(%rsp), %rcx
mulq 0x8(%rcx)
shrq %rdx
leaq 0x20(%rsp), %rdi
movq %rdx, %rsi
callq 0x6ec27
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x416a6
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x758fe
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x20(%rsp), %rdi
movl %ebp, %esi
callq 0x31297
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x416a6
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x7592e
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
xorps %xmm0, %xmm0
cvtsi2sd %ebp, %xmm0
movabsq $-0x5555555555555555, %rax # imm = 0xAAAAAAAAAAAAAAAB
movq 0x48(%rsp), %rcx
mulq 0x8(%rcx)
shrq %rdx
xorps %xmm1, %xmm1
cvtsi2sd %rdx, %xmm1
divsd %xmm1, %xmm0
leaq 0x20(%rsp), %rdi
callq 0x45e1c
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x416a6
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x75985
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x20(%rsp), %rdi
movl 0x50(%rsp), %esi
callq 0x31297
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x416a6
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x759b7
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
xorps %xmm0, %xmm0
cvtsi2sdl 0x50(%rsp), %xmm0
movabsq $-0x5555555555555555, %rax # imm = 0xAAAAAAAAAAAAAAAB
movq 0x48(%rsp), %rcx
mulq 0x8(%rcx)
shrq %rdx
xorps %xmm1, %xmm1
cvtsi2sd %rdx, %xmm1
divsd %xmm1, %xmm0
leaq 0x20(%rsp), %rdi
callq 0x45e1c
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x416a6
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x75a10
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x2d0(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
callq 0x3a864
movq 0x2d0(%rsp), %rcx
movq 0x2d8(%rsp), %rdx
movq %rdx, %rax
subq %rcx, %rax
sarq $0x3, %rax
cmpq %rcx, %rdx
je 0x75a64
cmpq $0x1, %rax
movq %rax, %rdx
adcq $0x0, %rdx
xorpd %xmm0, %xmm0
xorl %esi, %esi
addsd (%rcx,%rsi,8), %xmm0
incq %rsi
cmpq %rsi, %rdx
jne 0x75a55
jmp 0x75a68
xorpd %xmm0, %xmm0
movq %rax, %xmm1
punpckldq 0x5472b(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x54733(%rip), %xmm1    # 0xca1b0
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
leaq 0x20(%rsp), %rdi
callq 0x45e1c
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x416a6
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x75abb
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x2d0(%rsp), %rdi
testq %rdi, %rdi
je 0x75ad8
movq 0x2e0(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
leaq 0x2b8(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
callq 0x3a864
movq 0x2b8(%rsp), %rcx
movq 0x2c0(%rsp), %rdx
movq %rdx, %rax
subq %rcx, %rax
sarq $0x3, %rax
cmpq %rcx, %rdx
je 0x75b2c
cmpq $0x1, %rax
movq %rax, %rdx
adcq $0x0, %rdx
xorpd %xmm0, %xmm0
xorl %esi, %esi
addsd (%rcx,%rsi,8), %xmm0
incq %rsi
cmpq %rsi, %rdx
jne 0x75b1d
jmp 0x75b30
xorpd %xmm0, %xmm0
movq %rax, %xmm1
punpckldq 0x54663(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x5466b(%rip), %xmm1    # 0xca1b0
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
leaq 0x20(%rsp), %rdi
callq 0x45e1c
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x416a6
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x75b83
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x2b8(%rsp), %rdi
testq %rdi, %rdi
je 0x75ba0
movq 0x2c8(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x280(%rsp), %rdi
testq %rdi, %rdi
je 0x75bbd
movq 0x290(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
leaq 0x90(%rsp), %rdi
callq 0x3123c
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x75be7
movq 0xc0(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x75c04
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x200(%rsp), %rdi
testq %rdi, %rdi
je 0x75c21
movq 0x210(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
addq $0x308, %rsp            # imm = 0x308
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x678f9(%rip), %rdi     # 0xdd533
leaq 0x5ced1(%rip), %rsi     # 0xd2b12
leaq 0x67a2e(%rip), %rcx     # 0xdd676
movl $0x218, %edx            # imm = 0x218
callq 0x82c0
leaq 0x67729(%rip), %rdi     # 0xdd382
leaq 0x673a2(%rip), %rsi     # 0xdd002
leaq 0x6772e(%rip), %rcx     # 0xdd395
movl $0x2d4, %edx            # imm = 0x2D4
callq 0x82c0
leaq 0x602d5(%rip), %rdi     # 0xd5f4d
leaq 0x60dcb(%rip), %rsi     # 0xd6a4a
leaq 0x679cd(%rip), %rcx     # 0xdd653
movl $0x22, %edx
callq 0x82c0
jmp 0x75fc3
jmp 0x75fc3
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x75cb9
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x75cb9
movq %rax, %rbx
movq 0x2b8(%rsp), %rdi
testq %rdi, %rdi
je 0x76055
movq 0x2c8(%rsp), %rsi
jmp 0x75d11
jmp 0x76052
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x75cf8
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x75cf8
movq %rax, %rbx
movq 0x2d0(%rsp), %rdi
testq %rdi, %rdi
je 0x76055
movq 0x2e0(%rsp), %rsi
subq %rdi, %rsi
jmp 0x7604b
jmp 0x76052
jmp 0x75d48
jmp 0x76052
jmp 0x75d48
jmp 0x76052
jmp 0x75d48
jmp 0x76052
jmp 0x75d48
jmp 0x76052
jmp 0x75d48
jmp 0x76052
jmp 0x75d48
jmp 0x76052
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
jne 0x76043
jmp 0x76055
jmp 0x76052
movq %rax, %rbx
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
jmp 0x7603e
jmp 0x76052
jmp 0x76052
movq %rax, %rbx
jmp 0x76072
jmp 0x75fc3
movq %rax, %rbx
jmp 0x7607f
jmp 0x75fc8
movq %rax, %rbx
jmp 0x75dfc
movq %rax, %rbx
jmp 0x75e21
movq %rax, %rbx
jmp 0x75e46
movq %rax, %rbx
jmp 0x75e6b
movq %rax, %rbx
jmp 0x75e90
movq %rax, %rbx
jmp 0x75eb5
movq %rax, %rbx
jmp 0x75eda
jmp 0x75dcc
movq %rax, %rbx
jmp 0x75eff
movq %rax, %rbx
movq 0x180(%rsp), %rdi
leaq 0x190(%rsp), %rax
cmpq %rax, %rdi
je 0x75dfc
movq 0x190(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x220(%rsp), %rdi
leaq 0x230(%rsp), %rax
cmpq %rax, %rdi
je 0x75e21
movq 0x230(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x160(%rsp), %rdi
leaq 0x170(%rsp), %rax
cmpq %rax, %rdi
je 0x75e46
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0x75e6b
movq 0x1d0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x240(%rsp), %rdi
leaq 0x250(%rsp), %rax
cmpq %rax, %rdi
je 0x75e90
movq 0x250(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x1e0(%rsp), %rdi
leaq 0x1f0(%rsp), %rax
cmpq %rax, %rdi
je 0x75eb5
movq 0x1f0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x1a0(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
cmpq %rax, %rdi
je 0x75eda
movq 0x1b0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x260(%rsp), %rdi
leaq 0x270(%rsp), %rax
cmpq %rax, %rdi
je 0x75eff
movq 0x270(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x75fcb
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x75fcb
jmp 0x75f5e
jmp 0x75f54
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x7600f
movq 0x10(%rsp), %rsi
jmp 0x76007
jmp 0x75f5e
jmp 0x75f5e
movq %rax, %rbx
jmp 0x75ff3
jmp 0x75f5e
movq %rax, %rbx
jmp 0x7600f
jmp 0x75fc3
jmp 0x75fc8
jmp 0x75fc8
jmp 0x75fc8
jmp 0x75fc3
jmp 0x75fc8
jmp 0x75fc3
jmp 0x76052
movq %rax, %rbx
jmp 0x75f9c
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x75f9c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x75fe6
movq 0x100(%rsp), %rsi
jmp 0x75fde
jmp 0x75fc3
jmp 0x75fc8
jmp 0x75fc3
jmp 0x75fc3
movq %rax, %rbx
jmp 0x75fe6
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x75fe6
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x130(%rsp), %rdi
callq 0x3123c
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x7600f
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x298(%rsp), %rdi
leaq 0x2a8(%rsp), %rax
cmpq %rax, %rdi
je 0x76034
movq 0x2a8(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x76055
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x76055
movq %rax, %rbx
movq 0x280(%rsp), %rdi
testq %rdi, %rdi
je 0x76072
movq 0x290(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
leaq 0x90(%rsp), %rdi
callq 0x3123c
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x7609c
movq 0xc0(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x760b9
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x200(%rsp), %rdi
testq %rdi, %rdi
je 0x760d6
movq 0x210(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq %rbx, %rdi
callq 0x8840