// File: /workspace/github_cpp_makefile_star2_O3/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, 0x170(%rsp)
movq %r8, 0x2f8(%rsp)
movq %rcx, %r13
movq %rdx, 0x300(%rsp)
movq %rsi, %rcx
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), %rax
movq %rdi, 0x88(%rsp)
movq 0x8(%rdi), %r14
subq %rax, %r14
movq 0x8(%rax), %rax
movq %r14, %rsi
movq %rcx, 0x48(%rsp)
cmpq 0x8(%rcx), %rax
je 0x74275
movq 0x8ddc1(%rip), %rbx     # 0x101fe8
leaq 0x621a8(%rip), %rsi     # 0xd63d6
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 0x8dd8f(%rip), %rdi     # 0x101fe8
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq 0x88(%rsp), %rax
movq 0x8(%rax), %rsi
subq (%rax), %rsi
leaq 0x90(%rsp), %rdi
xorpd %xmm0, %xmm0
movapd %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
sarq $0x5, %rsi
callq 0x3e6a2
xorpd %xmm0, %xmm0
leaq 0x220(%rsp), %rdi
movapd %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x88(%rsp), %rax
movq 0x8(%rax), %rsi
subq (%rax), %rsi
sarq $0x5, %rsi
callq 0x51d1c
movq 0x90(%rsp), %rdi
cmpq %rdi, 0x98(%rsp)
je 0x7432d
xorl %r15d, %r15d
leaq 0x596e9(%rip), %rbx     # 0xcd9cb
xorl %r12d, %r12d
movq 0x8(%rdi,%r15), %rdx
addq %r15, %rdi
xorl %esi, %esi
movq %rbx, %rcx
xorl %r8d, %r8d
callq 0x86c0
movq 0x220(%rsp), %rax
movl $0x0, (%rax,%r12,4)
incq %r12
movq 0x90(%rsp), %rdi
movq 0x98(%rsp), %rax
subq %rdi, %rax
sarq $0x5, %rax
addq $0x20, %r15
cmpq %rax, %r12
jne 0x742e5
movq %r13, 0x2f0(%rsp)
movq 0x48(%rsp), %rax
cmpq $0x0, 0x8(%rax)
je 0x7543f
shrq $0x4, %r14
andl $-0x2, %r14d
xorps %xmm0, %xmm0
cvtsi2sd %r14d, %xmm0
movsd %xmm0, 0x168(%rsp)
movl $0x0, 0x84(%rsp)
movl $0x0, 0x80(%rsp)
xorl %ebp, %ebp
movq $0x0, 0xe8(%rsp)
movq 0x88(%rsp), %rcx
movq (%rcx), %rax
movl $0x0, 0x5c(%rsp)
cmpq %rax, 0x8(%rcx)
je 0x744dc
movq 0x48(%rsp), %rcx
movq (%rcx), %rcx
movb (%rcx,%rbp), %bl
cmpb $0x43, %bl
sete %r15b
movl $0x43, %edx
movl $0x54, %ecx
cmovel %ecx, %edx
movl %edx, 0x24(%rsp)
shlb $0x2, %r15b
orb $0x43, %r15b
cmpb $0x41, %bl
sete %r13b
movl $0x41, %edx
cmovel %ecx, %edx
movl %edx, 0x50(%rsp)
movl $0x41, %esi
movl $0x47, %edx
cmovel %edx, %esi
movl %esi, 0x178(%rsp)
addb %r13b, %r13b
orb $0x41, %r13b
cmpb $0x47, %bl
cmovel %ecx, %edx
movl %edx, 0x54(%rsp)
xorl %r14d, %r14d
xorl %r12d, %r12d
movl $0x0, 0x5c(%rsp)
movq (%rax,%r14), %rcx
movb (%rcx,%rbp), %al
cmpb %bl, %al
jne 0x74430
movq 0x90(%rsp), %rdi
addq %r14, %rdi
movsbl %bl, %esi
callq 0x83d0
jmp 0x7445d
movzbl %al, %edx
addl $-0x41, %edx
cmpl $0x13, %edx
ja 0x74481
movl $0x80045, %esi          # imm = 0x80045
btl %edx, %esi
jae 0x74481
addl $0x2, 0x5c(%rsp)
movq 0x90(%rsp), %rdi
addq %r14, %rdi
movsbl %al, %esi
callq 0x83d0
incq %r12
movq 0x88(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
addq $0x20, %r14
cmpq %rcx, %r12
jne 0x74410
jmp 0x744dc
movq 0x220(%rsp), %rax
incl (%rax,%r12,4)
movzbl (%rcx,%rbp), %eax
addl $-0x4b, %eax
cmpl $0xe, %eax
ja 0x75899
incl 0x5c(%rsp)
leaq 0x61698(%rip), %rcx     # 0xd5b40
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl 0x54(%rsp), %eax
jmp 0x744cf
movl 0x50(%rsp), %eax
jmp 0x744cf
movl %r13d, %eax
jmp 0x7444a
movl 0x24(%rsp), %eax
jmp 0x744cf
movl 0x178(%rsp), %eax
jmp 0x7444a
movl %r15d, %eax
jmp 0x7444a
leaq 0x10(%rsp), %r13
movq %r13, (%rsp)
xorl %ecx, %ecx
movq %rcx, 0x8(%rsp)
movb %cl, 0x10(%rsp)
leaq 0x2b0(%rsp), %rax
movq %rax, 0x2a0(%rsp)
movq %rcx, 0x2a8(%rsp)
leaq 0x1(%rbp), %rax
movq %rax, 0x178(%rsp)
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
mulq %rdx
movb %cl, 0x2b0(%rsp)
movabsq $0x5555555555555556, %rcx # imm = 0x5555555555555556
cmpq %rcx, %rax
jb 0x74541
leaq 0x60(%rsp), %r12
jmp 0x7538f
movq %rdx, 0x238(%rsp)
addq $-0x2, %rbp
movl $0x3, %ecx
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movq 0x48(%rsp), %rsi
movq %rbp, %rdx
callq 0x84a0
leaq 0x60(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x76360
movq %rsp, %rdi
movq %r12, %rsi
callq 0x8540
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x7459e
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x745ba
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x3, %ecx
movq %r12, %rdi
movq 0x48(%rsp), %rsi
movq %rbp, %rdx
callq 0x84a0
movq %r12, %rdi
callq 0x77715
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x745f3
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x3, %ecx
movq %r12, %rdi
movq 0x48(%rsp), %rsi
movq %rbp, %rdx
callq 0x84a0
movq %r12, %rdi
callq 0x77715
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x7462c
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x70(%rsp), %rax
movq %rax, 0x60(%rsp)
movq %r12, %rdi
leaq 0x5938b(%rip), %rdx     # 0xcd9cb
movq %rdx, %rsi
callq 0x28a52
xorpd %xmm0, %xmm0
movapd %xmm0, 0x150(%rsp)
movq $0x0, 0x160(%rsp)
movq 0x90(%rsp), %rsi
movq 0x98(%rsp), %rax
cmpq %rsi, %rax
je 0x75366
shrq 0x238(%rsp)
xorl %r13d, %r13d
movq 0x220(%rsp), %rcx
movl $0x0, 0x54(%rsp)
movl $0x0, 0x58(%rsp)
movl $0x0, 0x50(%rsp)
movl $0x0, 0x24(%rsp)
cmpl $0x1, (%rcx,%r13,4)
jg 0x74ab1
movq %r13, %rbx
shlq $0x5, %rbx
addq %rbx, %rsi
movq %r15, %rdi
callq 0x76360
movq %r12, %rdi
movq %r15, %rsi
callq 0x8540
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x746f1
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x68(%rsp), %rdx
cmpq 0x8(%rsp), %rdx
jne 0x74714
testq %rdx, %rdx
je 0x7472b
movq (%rsp), %rsi
movq 0x60(%rsp), %rdi
callq 0x8490
testl %eax, %eax
je 0x7472b
movq %r12, %rdi
leaq 0x61b74(%rip), %rsi     # 0xd6292
callq 0x8160
testl %eax, %eax
je 0x747ee
movl $0x3, %ecx
movq %r15, %rdi
movq 0x48(%rsp), %rsi
movq %rbp, %rdx
callq 0x84a0
movq 0x90(%rsp), %rcx
movq 0x30(%rsp), %rax
cmpq 0x8(%rcx,%rbx), %rax
jne 0x7585b
xorl %r14d, %r14d
movq 0x28(%rsp), %rdi
testq %rax, %rax
je 0x7478f
addq %rbx, %rcx
movq (%rcx), %rcx
xorl %edx, %edx
movb (%rdi,%rdx), %sil
xorl %r8d, %r8d
cmpb (%rcx,%rdx), %sil
setne %r8b
addl %r8d, %r14d
incq %rdx
cmpq %rdx, %rax
jne 0x7476d
cmpl $0x1, %r14d
sete %r14b
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x747a6
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x8480
testb %r14b, %r14b
je 0x747e4
movq 0x68(%rsp), %rdx
cmpq 0x8(%rsp), %rdx
leaq 0x60(%rsp), %r12
jne 0x748d4
testq %rdx, %rdx
je 0x748d8
movq (%rsp), %rsi
movq 0x60(%rsp), %rdi
callq 0x8490
cmpl $0x1, %eax
sbbl $-0x1, 0x24(%rsp)
jmp 0x748d8
leaq 0x60(%rsp), %r12
jmp 0x74a6f
movq 0x88(%rsp), %rax
movq (%rax), %rsi
addq %rbx, %rsi
movl $0x3, %ecx
movq %r15, %rdi
movq %rbp, %rdx
callq 0x84a0
movq 0x28(%rsp), %rdi
movq 0x30(%rsp), %rax
testq %rax, %rax
je 0x7483e
xorl %ecx, %ecx
movzbl (%rdi,%rcx), %edx
xorl %r14d, %r14d
addl $-0x41, %edx
cmpl $0x13, %edx
ja 0x74841
movl $0x80045, %esi          # imm = 0x80045
btl %edx, %esi
jae 0x74841
incq %rcx
cmpq %rcx, %rax
jne 0x7481d
movb $0x1, %r14b
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x74858
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x8480
testb %r14b, %r14b
je 0x749f4
movq 0x170(%rsp), %rax
movq (%rax), %rax
leaq 0x38(%rsp), %rcx
movq %rcx, 0x28(%rsp)
movq (%rax,%rbx), %rsi
movq 0x8(%rax,%rbx), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x2ba06
leaq 0x60(%rsp), %r12
movq %r15, %rdi
leaq 0x61b6d(%rip), %rsi     # 0xd6406
callq 0x88c0
leaq 0x150(%rsp), %rdi
movq %r15, %rsi
callq 0x3e784
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x748ca
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x8480
addl $0x2, 0x54(%rsp)
jmp 0x74a6f
incl 0x24(%rsp)
movl $0x3, %ecx
leaq 0xf0(%rsp), %r14
movq %r14, %rdi
movq 0x48(%rsp), %rsi
movq %rbp, %rdx
callq 0x84a0
movq 0x90(%rsp), %rax
movq (%rax,%rbx), %rsi
movq 0x8(%rax,%rbx), %rdx
movq %r14, %rdi
callq 0x8180
leaq 0x38(%rsp), %rsi
movq %rsi, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x74936
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x7493e
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x8ebd3(%rip), %rdi     # 0x103530
movq %r15, %rsi
callq 0x3a034
movq %rax, %r15
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x74984
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x749a9
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
cmpq $0x1, %r15
movl 0x50(%rsp), %eax
adcl $0x0, %eax
cmpl %eax, 0x24(%rsp)
jne 0x7587a
movq 0x68(%rsp), %rdx
cmpq 0x8(%rsp), %rdx
leaq 0x28(%rsp), %r15
jne 0x74a67
testq %rdx, %rdx
je 0x74a63
movq (%rsp), %rsi
movq 0x60(%rsp), %rdi
callq 0x8490
cmpl $0x1, %eax
adcl $0x0, 0x58(%rsp)
jmp 0x74a67
movq 0x170(%rsp), %rax
movq (%rax), %rax
leaq 0x38(%rsp), %rcx
movq %rcx, 0x28(%rsp)
movq (%rax,%rbx), %rsi
movq 0x8(%rax,%rbx), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x2ba06
leaq 0x60(%rsp), %r12
movq %r15, %rdi
leaq 0x619e0(%rip), %rsi     # 0xd640c
callq 0x88c0
leaq 0x150(%rsp), %rdi
movq %r15, %rsi
callq 0x3e784
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x74a5d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x8480
incl 0x54(%rsp)
jmp 0x74a6f
incl 0x58(%rsp)
movl 0x24(%rsp), %eax
movl %eax, 0x50(%rsp)
movq 0x90(%rsp), %rax
leaq (%rax,%rbx), %rdi
movq 0x8(%rax,%rbx), %rdx
xorl %esi, %esi
leaq 0x58f42(%rip), %rcx     # 0xcd9cb
xorl %r8d, %r8d
callq 0x86c0
movq 0x220(%rsp), %rcx
movl $0x0, (%rcx,%r13,4)
movq 0x90(%rsp), %rsi
movq 0x98(%rsp), %rax
incq %r13
movq %rax, %rdx
subq %rsi, %rdx
sarq $0x5, %rdx
cmpq %rdx, %r13
jne 0x746ad
movl 0x54(%rsp), %r12d
testl %r12d, %r12d
leaq 0x38(%rsp), %r13
leaq 0x1d0(%rsp), %r14
leaq 0x1b0(%rsp), %r15
leaq 0x1f0(%rsp), %rbp
jle 0x751df
movq %r13, 0x28(%rsp)
movq $0x0, 0x30(%rsp)
movb $0x0, 0x38(%rsp)
movl $0x1f4, %esi            # imm = 0x1F4
leaq 0x28(%rsp), %rdi
callq 0x86f0
leaq 0x120(%rsp), %rax
movq %rax, 0x110(%rsp)
movq 0x300(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x110(%rsp), %rbx
movq %rbx, %rdi
callq 0x2ba06
movq %rbx, %rdi
leaq 0x58e7a(%rip), %rsi     # 0xcd9ca
callq 0x88c0
leaq 0x280(%rsp), %rdi
movq 0x238(%rsp), %rsi
callq 0x6e90d
leaq 0x190(%rsp), %rbx
movq 0x110(%rsp), %rcx
movl $0xf, %edi
leaq 0x120(%rsp), %rax
cmpq %rax, %rcx
je 0x74b94
movq 0x120(%rsp), %rdi
movq 0x118(%rsp), %r8
movq 0x280(%rsp), %rsi
movq 0x288(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
jbe 0x74bd4
movl $0xf, %edi
leaq 0x290(%rsp), %r9
cmpq %r9, %rsi
je 0x74bcf
movq 0x290(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x74be3
leaq 0x110(%rsp), %rdi
callq 0x8180
jmp 0x74bf4
leaq 0x280(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x84d0
leaq 0x140(%rsp), %rsi
movq %rsi, 0x130(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x74c25
movq %rdx, 0x130(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x140(%rsp)
jmp 0x74c2d
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x138(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x130(%rsp), %rdi
leaq 0x58d6e(%rip), %rsi     # 0xcd9ca
callq 0x88c0
movq %r14, 0x1c0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x74c8d
movq %rdx, 0x1c0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1d0(%rsp)
jmp 0x74c96
movupd (%rcx), %xmm0
movupd %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x1c8(%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 0x260(%rsp), %rdi
movq %rdx, %rsi
callq 0x6e90d
movq 0x1c0(%rsp), %rcx
movl $0xf, %edi
cmpq %r14, %rcx
je 0x74cf1
movq 0x1d0(%rsp), %rdi
movq 0x1c8(%rsp), %r8
movq 0x260(%rsp), %rsi
movq 0x268(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
jbe 0x74d31
movl $0xf, %edi
leaq 0x270(%rsp), %r9
cmpq %r9, %rsi
je 0x74d2c
movq 0x270(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x74d40
leaq 0x1c0(%rsp), %rdi
callq 0x8180
jmp 0x74d51
leaq 0x260(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x84d0
movq %r15, 0x1a0(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x74d7a
movq %rdx, 0x1a0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1b0(%rsp)
jmp 0x74d83
movupd (%rcx), %xmm0
movupd %xmm0, (%r15)
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 0x58c18(%rip), %rsi     # 0xcd9ca
callq 0x88c0
movq %rbp, 0x1e0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x74de3
movq %rdx, 0x1e0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1f0(%rsp)
jmp 0x74dec
movupd (%rcx), %xmm0
movupd %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x1e8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
xorps %xmm0, %xmm0
cvtsi2sd %r12d, %xmm0
movb $0x0, 0x10(%rax)
movq 0x170(%rsp), %rcx
movq 0x8(%rcx), %rax
subq (%rcx), %rax
sarq $0x4, %rax
movq %rax, %xmm1
punpckldq 0x54281(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x54289(%rip), %xmm1    # 0xc90c0
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
leaq 0x240(%rsp), %rdi
callq 0x42f10
movq 0x1e0(%rsp), %rcx
movl $0xf, %edi
cmpq %rbp, %rcx
je 0x74e6e
movq 0x1f0(%rsp), %rdi
movq 0x1e8(%rsp), %r8
movq 0x240(%rsp), %rsi
movq 0x248(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
jbe 0x74eae
movl $0xf, %edi
leaq 0x250(%rsp), %r9
cmpq %r9, %rsi
je 0x74ea9
movq 0x250(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x74ebd
leaq 0x1e0(%rsp), %rdi
callq 0x8180
jmp 0x74ece
leaq 0x240(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x84d0
movq %rbx, 0x180(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x74ef7
movq %rdx, 0x180(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x190(%rsp)
jmp 0x74eff
movupd (%rcx), %xmm0
movupd %xmm0, (%rbx)
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 0x58a9c(%rip), %rsi     # 0xcd9ca
callq 0x88c0
leaq 0x100(%rsp), %rbx
movq %rbx, 0xf0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x74f67
movq %rdx, 0xf0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x100(%rsp)
jmp 0x74f6f
movupd (%rcx), %xmm0
movupd %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, 0xf8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x28(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
callq 0x8540
movq 0xf0(%rsp), %rdi
cmpq %rbx, %rdi
je 0x74fb9
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x180(%rsp), %rdi
leaq 0x190(%rsp), %rax
cmpq %rax, %rdi
je 0x74fde
movq 0x190(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x240(%rsp), %rdi
leaq 0x250(%rsp), %rax
cmpq %rax, %rdi
je 0x75003
movq 0x250(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x1e0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x75020
movq 0x1f0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x1a0(%rsp), %rdi
cmpq %r15, %rdi
leaq 0x61493(%rip), %r12     # 0xd64c5
je 0x75044
movq 0x1b0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x260(%rsp), %rdi
leaq 0x270(%rsp), %rax
cmpq %rax, %rdi
leaq 0x28(%rsp), %r15
je 0x7506e
movq 0x270(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x1c0(%rsp), %rdi
cmpq %r14, %rdi
je 0x7508b
movq 0x1d0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x130(%rsp), %rdi
leaq 0x140(%rsp), %rax
cmpq %rax, %rdi
je 0x750b0
movq 0x140(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x280(%rsp), %rdi
leaq 0x290(%rsp), %rax
cmpq %rax, %rdi
je 0x750d5
movq 0x290(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x750fa
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x150(%rsp), %rax
cmpq %rax, 0x158(%rsp)
je 0x75173
movl $0x8, %ebx
xorl %r14d, %r14d
movq -0x8(%rax,%rbx), %rsi
movq (%rax,%rbx), %rdx
movq %r15, %rdi
callq 0x8180
movq 0x150(%rsp), %rax
movq 0x158(%rsp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
leaq -0x1(%rcx), %rdx
cmpq %rdx, %r14
je 0x75167
movq %r15, %rdi
movq %r12, %rsi
callq 0x88c0
movq 0x150(%rsp), %rax
movq 0x158(%rsp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
incq %r14
addq $0x20, %rbx
cmpq %rcx, %r14
jne 0x75114
movq 0x2f8(%rsp), %rax
movq (%rax), %rdi
movq 0x28(%rsp), %rsi
movq 0x30(%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 0x8e3aa(%rip), %rdi     # 0x103568
leaq 0x28(%rsp), %rsi
callq 0x3133c
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x751df
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x8480
movl 0x24(%rsp), %eax
testl %eax, %eax
jle 0x75256
incl 0x80(%rsp)
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
divsd 0x168(%rsp), %xmm0
movsd %xmm0, 0x28(%rsp)
ucomisd 0x57514(%rip), %xmm0    # 0xcc720
leaq 0x28(%rsp), %rbx
leaq 0x60(%rsp), %r12
leaq 0xf0(%rsp), %r15
leaq 0x10(%rsp), %r13
movl 0x58(%rsp), %ebp
jbe 0x75273
movsd 0x574df(%rip), %xmm1    # 0xcc710
subsd %xmm0, %xmm1
movsd %xmm1, 0xf0(%rsp)
movq 0xb8(%rsp), %rsi
cmpq 0xc0(%rsp), %rsi
je 0x75297
movsd %xmm1, (%rsi)
jmp 0x75289
leaq 0x28(%rsp), %rbx
leaq 0x60(%rsp), %r12
leaq 0xf0(%rsp), %r15
leaq 0x10(%rsp), %r13
movl 0x58(%rsp), %ebp
jmp 0x752b9
movq 0xb8(%rsp), %rsi
cmpq 0xc0(%rsp), %rsi
je 0x752a9
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0xb8(%rsp)
jmp 0x752b9
leaq 0xb0(%rsp), %rdi
movq %r15, %rdx
callq 0x311fc
jmp 0x752b9
leaq 0xb0(%rsp), %rdi
movq %rbx, %rdx
callq 0x79b8e
testl %ebp, %ebp
jle 0x75366
movq 0xe8(%rsp), %rax
incl %eax
movq %rax, 0xe8(%rsp)
xorps %xmm0, %xmm0
cvtsi2sd %ebp, %xmm0
divsd 0x168(%rsp), %xmm0
movsd %xmm0, 0x28(%rsp)
ucomisd 0x5742f(%rip), %xmm0    # 0xcc720
jbe 0x75320
movsd 0x57415(%rip), %xmm1    # 0xcc710
subsd %xmm0, %xmm1
movsd %xmm1, 0xf0(%rsp)
movq 0xd8(%rsp), %rsi
cmpq 0xe0(%rsp), %rsi
je 0x75344
movsd %xmm1, (%rsi)
jmp 0x75336
movq 0xd8(%rsp), %rsi
cmpq 0xe0(%rsp), %rsi
je 0x75356
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0xd8(%rsp)
jmp 0x75366
leaq 0xd0(%rsp), %rdi
movq %r15, %rdx
callq 0x311fc
jmp 0x75366
leaq 0xd0(%rsp), %rdi
movq %rbx, %rdx
callq 0x79b8e
leaq 0x150(%rsp), %rdi
callq 0x2e784
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x7538f
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
movl 0x5c(%rsp), %eax
testl %eax, %eax
jle 0x753e8
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
divsd 0x168(%rsp), %xmm0
movsd %xmm0, 0x60(%rsp)
movq 0x208(%rsp), %rsi
cmpq 0x210(%rsp), %rsi
je 0x753d1
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x208(%rsp)
jmp 0x753e1
leaq 0x200(%rsp), %rdi
movq %r12, %rdx
callq 0x79b8e
incl 0x84(%rsp)
movq 0x2a0(%rsp), %rdi
leaq 0x2b0(%rsp), %rax
cmpq %rax, %rdi
je 0x7540d
movq 0x2b0(%rsp), %rsi
incq %rsi
callq 0x8480
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x75423
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x178(%rsp), %rsi
movq %rsi, %rbp
movq 0x48(%rsp), %rax
cmpq 0x8(%rax), %rsi
jne 0x74382
jmp 0x75463
movq $0x0, 0xe8(%rsp)
movl $0x0, 0x80(%rsp)
movl $0x0, 0x84(%rsp)
xorl %esi, %esi
movq %rsp, %rdi
callq 0x6e90d
movq %rsp, %rsi
movq 0x2f0(%rsp), %r14
movq %r14, %rdi
callq 0x3e784
movl 0x80(%rsp), %ebp
movq 0xe8(%rsp), %r15
movl 0x84(%rsp), %r12d
leaq 0x10(%rsp), %rbx
movq -0x10(%rbx), %rdi
cmpq %rbx, %rdi
je 0x754b0
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
movq %rsp, %rdi
movl %r12d, %esi
callq 0x2e7e2
movq %rsp, %rsi
movq %r14, %rdi
callq 0x3e784
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x754dc
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
xorps %xmm0, %xmm0
cvtsi2sd %r12d, %xmm0
movq 0x48(%rsp), %rax
movsd 0x8(%rax), %xmm1
unpcklps 0x53bbb(%rip), %xmm1    # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x53bc3(%rip), %xmm1    # 0xc90c0
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
movq %rsp, %rdi
callq 0x42f10
movq %rsp, %rsi
movq %r14, %rdi
callq 0x3e784
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x75536
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
movabsq $-0x5555555555555555, %rax # imm = 0xAAAAAAAAAAAAAAAB
movq 0x48(%rsp), %rcx
mulq 0x8(%rcx)
shrq %rdx
movq %rsp, %rdi
movq %rdx, %rsi
callq 0x6e90d
movq %rsp, %rsi
movq %r14, %rdi
callq 0x3e784
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x75578
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
movq %rsp, %rdi
movl %r15d, %esi
callq 0x2e7e2
movq %rsp, %rsi
movq %r14, %rdi
callq 0x3e784
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x755a4
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
xorps %xmm0, %xmm0
cvtsi2sd %r15d, %xmm0
movabsq $-0x5555555555555555, %rax # imm = 0xAAAAAAAAAAAAAAAB
movq 0x48(%rsp), %rcx
mulq 0x8(%rcx)
shrq %rdx
xorps %xmm1, %xmm1
cvtsi2sd %rdx, %xmm1
divsd %xmm1, %xmm0
movq %rsp, %rdi
callq 0x42f10
movq %rsp, %rsi
movq %r14, %rdi
callq 0x3e784
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x755f7
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
movq %rsp, %rdi
movl %ebp, %esi
callq 0x2e7e2
movq %rsp, %rsi
movq %r14, %rdi
callq 0x3e784
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x75622
movq 0x10(%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
movq %rsp, %rdi
callq 0x42f10
movq %rsp, %rsi
movq %r14, %rdi
callq 0x3e784
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x75674
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x2d8(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
callq 0x37978
movq 0x2d8(%rsp), %rcx
movq 0x2e0(%rsp), %rdx
movq %rdx, %rax
subq %rcx, %rax
sarq $0x3, %rax
cmpq %rcx, %rdx
je 0x756c8
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 0x756b9
jmp 0x756cc
xorpd %xmm0, %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %rax, %xmm1
divsd %xmm1, %xmm0
movq %rsp, %rdi
callq 0x42f10
movq %rsp, %rsi
movq %r14, %rdi
callq 0x3e784
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x75701
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x2d8(%rsp), %rdi
testq %rdi, %rdi
je 0x7571e
movq 0x2e8(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
leaq 0x2c0(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
callq 0x37978
movq 0x2c0(%rsp), %rcx
movq 0x2c8(%rsp), %rdx
movq %rdx, %rax
subq %rcx, %rax
sarq $0x3, %rax
cmpq %rcx, %rdx
je 0x75772
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 0x75763
jmp 0x75776
xorpd %xmm0, %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %rax, %xmm1
divsd %xmm1, %xmm0
movq %rsp, %rdi
callq 0x42f10
movq %rsp, %rsi
movq %r14, %rdi
callq 0x3e784
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x757ab
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x2c0(%rsp), %rdi
testq %rdi, %rdi
je 0x757c8
movq 0x2d0(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x220(%rsp), %rdi
testq %rdi, %rdi
je 0x757e5
movq 0x230(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
leaq 0x90(%rsp), %rdi
callq 0x2e784
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x7580f
movq 0xc0(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x7582c
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x200(%rsp), %rdi
testq %rdi, %rdi
je 0x75849
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 0x60d61(%rip), %rdi     # 0xd65c3
leaq 0x58543(%rip), %rsi     # 0xcddac
leaq 0x60e96(%rip), %rcx     # 0xd6706
movl $0x218, %edx            # imm = 0x218
callq 0x82c0
leaq 0x60b91(%rip), %rdi     # 0xd6412
leaq 0x6080a(%rip), %rsi     # 0xd6092
leaq 0x60b96(%rip), %rcx     # 0xd6425
movl $0x2d4, %edx            # imm = 0x2D4
callq 0x82c0
leaq 0x59919(%rip), %rdi     # 0xcf1b9
leaq 0x5a40b(%rip), %rsi     # 0xcfcb2
leaq 0x60e35(%rip), %rcx     # 0xd66e3
movl $0x22, %edx
callq 0x82c0
jmp 0x75c1a
jmp 0x75c1a
movq %rax, %r14
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x758e0
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x758e0
movq %rax, %r14
movq 0x2c0(%rsp), %rdi
testq %rdi, %rdi
je 0x75ca7
movq 0x2d0(%rsp), %rsi
jmp 0x75937
jmp 0x75ca4
movq %rax, %r14
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x7591e
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x7591e
movq %rax, %r14
movq 0x2d8(%rsp), %rdi
testq %rdi, %rdi
je 0x75ca7
movq 0x2e8(%rsp), %rsi
subq %rdi, %rsi
jmp 0x75c9d
jmp 0x75ca4
jmp 0x7596e
jmp 0x75ca4
jmp 0x7596e
jmp 0x75ca4
jmp 0x7596e
jmp 0x75ca4
jmp 0x7596e
jmp 0x75ca4
jmp 0x7596e
jmp 0x75ca4
jmp 0x7596e
jmp 0x75ca4
movq %rax, %r14
movq (%rsp), %rdi
cmpq %rbx, %rdi
jne 0x75c95
jmp 0x75ca7
jmp 0x75ca4
movq %rax, %r14
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x75c95
jmp 0x75ca7
jmp 0x75ca4
jmp 0x75ca4
movq %rax, %r14
jmp 0x75cc4
jmp 0x75c1a
movq %rax, %r14
jmp 0x75cd1
movq %rax, %r14
jmp 0x75aff
jmp 0x759cb
movq %rax, %r14
jmp 0x75b24
movq %rax, %r14
jmp 0x75b49
movq %rax, %r14
movq 0x180(%rsp), %rdi
leaq 0x190(%rsp), %rax
cmpq %rax, %rdi
je 0x75a08
movq 0x190(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x75a08
movq %rax, %r14
movq 0x240(%rsp), %rdi
leaq 0x250(%rsp), %rax
cmpq %rax, %rdi
je 0x75a32
movq 0x250(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x75a32
movq %rax, %r14
movq 0x1e0(%rsp), %rdi
leaq 0x1f0(%rsp), %rax
cmpq %rax, %rdi
je 0x75a5c
movq 0x1f0(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x75a5c
movq %rax, %r14
movq 0x1a0(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
cmpq %rax, %rdi
je 0x75a86
movq 0x1b0(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x75a86
movq %rax, %r14
movq 0x260(%rsp), %rdi
leaq 0x270(%rsp), %rax
cmpq %rax, %rdi
je 0x75ab0
movq 0x270(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x75ab0
movq %rax, %r14
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0x75ada
movq 0x1d0(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x75ada
movq %rax, %r14
movq 0x130(%rsp), %rdi
leaq 0x140(%rsp), %rax
cmpq %rax, %rdi
je 0x75aff
movq 0x140(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x280(%rsp), %rdi
leaq 0x290(%rsp), %rax
cmpq %rax, %rdi
je 0x75b24
movq 0x290(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x75b49
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x38(%rsp), %r13
jmp 0x75c22
jmp 0x75b95
jmp 0x75b74
movq %rax, %r14
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x75ba0
movq 0x38(%rsp), %rsi
jmp 0x75b8b
jmp 0x75b9d
jmp 0x75b9d
movq %rax, %r14
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x75ba0
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x75ba0
movq %rax, %r14
jmp 0x75c67
movq %rax, %r14
leaq 0x10(%rsp), %r13
jmp 0x75c67
jmp 0x75c1a
jmp 0x75bb4
jmp 0x75bb4
jmp 0x75bb4
jmp 0x75c1a
movq %rax, %r14
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
jne 0x75c2c
jmp 0x75c39
jmp 0x75c1f
jmp 0x75c1a
jmp 0x75ca4
movq %rax, %r14
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x75bf7
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x75bf7
jmp 0x75c1a
movq %rax, %r14
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x75c39
movq 0x100(%rsp), %rsi
jmp 0x75c31
jmp 0x75c1a
jmp 0x75c1a
movq %rax, %r14
jmp 0x75c39
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x75c39
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x10(%rsp), %r13
leaq 0x150(%rsp), %rdi
callq 0x2e784
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x75c67
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x2a0(%rsp), %rdi
leaq 0x2b0(%rsp), %rax
cmpq %rax, %rdi
je 0x75c8c
movq 0x2b0(%rsp), %rsi
incq %rsi
callq 0x8480
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x75ca7
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x75ca7
movq %rax, %r14
movq 0x220(%rsp), %rdi
testq %rdi, %rdi
je 0x75cc4
movq 0x230(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
leaq 0x90(%rsp), %rdi
callq 0x2e784
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x75cee
movq 0xc0(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x75d0b
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x200(%rsp), %rdi
testq %rdi, %rdi
je 0x75d28
movq 0x210(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq %r14, %rdi
callq 0x8840