// File: 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
movq %rsp, %rbp
subq $0x730, %rsp            # imm = 0x730
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movl $0x0, -0x34(%rbp)
movl $0x0, -0x38(%rbp)
movl $0x0, -0x3c(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x48(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x50(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x48410
leaq -0x80(%rbp), %rdi
callq 0x48410
leaq -0x98(%rbp), %rdi
callq 0x48410
movq -0x8(%rbp), %rdi
callq 0x3ffd0
shll %eax
movl %eax, -0x9c(%rbp)
movq -0x8(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x52960
movq %rax, %rdi
callq 0xa930
movq %rax, -0x600(%rbp)
movq -0x10(%rbp), %rdi
callq 0xa930
movq %rax, %rcx
movq -0x600(%rbp), %rax
cmpq %rcx, %rax
je 0xb5f15
movq 0xe311e(%rip), %rdi     # 0x198ff0
leaq 0x8b121(%rip), %rsi     # 0x140ffa
callq 0xa5c0
movq %rax, -0x608(%rbp)
jmp 0xb5ee7
movq -0x608(%rbp), %rdi
movq 0xe3093(%rip), %rsi     # 0x198f88
callq 0xa610
jmp 0xb5efc
jmp 0xb5f15
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0xb75b2
leaq -0xc8(%rbp), %rdi
movq %rdi, -0x610(%rbp)
callq 0x48da0
movq -0x8(%rbp), %rdi
callq 0x3ffd0
movq -0x610(%rbp), %rdi
movq %rax, %rsi
callq 0x5f8f0
jmp 0xb5f42
leaq -0xe0(%rbp), %rdi
movq %rdi, -0x618(%rbp)
callq 0x46270
movq -0x8(%rbp), %rdi
callq 0x3ffd0
movq -0x618(%rbp), %rdi
movq %rax, %rsi
callq 0x83c30
jmp 0xb5f6f
movq $0x0, -0xe8(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x620(%rbp)
leaq -0xc8(%rbp), %rdi
callq 0x3ffd0
movq %rax, %rcx
movq -0x620(%rbp), %rax
cmpq %rcx, %rax
je 0xb6022
movq -0xe8(%rbp), %rsi
leaq -0xc8(%rbp), %rdi
callq 0x3d940
movq %rax, %rdi
leaq 0x7ff1f(%rip), %rsi     # 0x135edf
callq 0xa810
jmp 0xb5fc7
movq -0xe8(%rbp), %rsi
leaq -0xe0(%rbp), %rdi
callq 0x4d100
movl $0x0, (%rax)
movq -0xe8(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xe8(%rbp)
jmp 0xb5f7a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0xb75a6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0xb759a
movq $0x0, -0xf0(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x628(%rbp)
movq -0x10(%rbp), %rdi
callq 0xa930
movq %rax, %rcx
movq -0x628(%rbp), %rax
cmpq %rcx, %rax
je 0xb7021
movq -0x10(%rbp), %rdi
movq -0xf0(%rbp), %rsi
callq 0xa670
movb (%rax), %al
movb %al, -0xf1(%rbp)
movl $0x0, -0xf8(%rbp)
movq $0x0, -0x100(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0x630(%rbp)
movq -0x8(%rbp), %rdi
callq 0x3ffd0
movq %rax, %rcx
movq -0x630(%rbp), %rax
cmpq %rcx, %rax
je 0xb6244
movq -0x8(%rbp), %rdi
movq -0x100(%rbp), %rsi
callq 0x52960
movq %rax, %rdi
movq -0xf0(%rbp), %rsi
callq 0xa670
movsbl (%rax), %eax
movsbl -0xf1(%rbp), %ecx
cmpl %ecx, %eax
je 0xb61f9
movq -0x8(%rbp), %rdi
movq -0x100(%rbp), %rsi
callq 0x52960
movq %rax, %rdi
movq -0xf0(%rbp), %rsi
callq 0xa670
movsbl (%rax), %edi
callq 0x7a5a0
movb %al, -0x631(%rbp)
jmp 0xb610e
movb -0x631(%rbp), %al
testb $0x1, %al
jne 0xb611a
jmp 0xb6152
movl -0xf8(%rbp), %eax
addl $0x2, %eax
movl %eax, -0xf8(%rbp)
movq -0x8(%rbp), %rdi
movq -0x100(%rbp), %rsi
callq 0x52960
movq %rax, %rdi
movq -0xf0(%rbp), %rsi
callq 0xa670
movb (%rax), %al
movb %al, -0xf2(%rbp)
jmp 0xb61c7
movl -0xf8(%rbp), %eax
incl %eax
movl %eax, -0xf8(%rbp)
movq -0x100(%rbp), %rsi
leaq -0xe0(%rbp), %rdi
callq 0x4d100
movl (%rax), %ecx
incl %ecx
movl %ecx, (%rax)
movsbl -0xf1(%rbp), %eax
movl %eax, -0x638(%rbp)
movq -0x8(%rbp), %rdi
movq -0x100(%rbp), %rsi
callq 0x52960
movq %rax, %rdi
movq -0xf0(%rbp), %rsi
callq 0xa670
movl -0x638(%rbp), %edi
movsbl (%rax), %esi
callq 0xba0d0
movb %al, -0x632(%rbp)
jmp 0xb61bb
movb -0x632(%rbp), %al
movb %al, -0xf2(%rbp)
movsbl -0xf2(%rbp), %eax
movl %eax, -0x63c(%rbp)
movq -0x100(%rbp), %rsi
leaq -0xc8(%rbp), %rdi
callq 0x3d940
movl -0x63c(%rbp), %esi
movq %rax, %rdi
callq 0xa380
jmp 0xb61f7
jmp 0xb622b
movsbl -0xf1(%rbp), %eax
movl %eax, -0x640(%rbp)
movq -0x100(%rbp), %rsi
leaq -0xc8(%rbp), %rdi
callq 0x3d940
movl -0x640(%rbp), %esi
movq %rax, %rdi
callq 0xa380
jmp 0xb6229
jmp 0xb622b
jmp 0xb622d
movq -0x100(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x100(%rbp)
jmp 0xb6084
leaq -0x120(%rbp), %rdi
callq 0xa820
leaq -0x140(%rbp), %rdi
callq 0xa820
movq -0xf0(%rbp), %rax
addq $0x1, %rax
movl $0x3, %ecx
xorl %edx, %edx
divq %rcx
cmpq $0x0, %rdx
jne 0xb6f94
movq -0x10(%rbp), %rsi
movq -0xf0(%rbp), %rdx
addq $-0x2, %rdx
leaq -0x180(%rbp), %rdi
movl $0x3, %ecx
callq 0xa5f0
jmp 0xb629d
leaq -0x160(%rbp), %rdi
leaq -0x180(%rbp), %rsi
callq 0xb7da0
jmp 0xb62b2
leaq -0x120(%rbp), %rdi
leaq -0x160(%rbp), %rsi
movq %rsi, -0x650(%rbp)
callq 0xa710
movq -0x650(%rbp), %rdi
callq 0xac88
leaq -0x180(%rbp), %rdi
callq 0xac88
movsd -0x48(%rbp), %xmm0
movsd %xmm0, -0x648(%rbp)
movq -0x10(%rbp), %rsi
movq -0xf0(%rbp), %rdx
addq $-0x2, %rdx
leaq -0x1a0(%rbp), %rdi
movl $0x3, %ecx
callq 0xa5f0
jmp 0xb6313
leaq -0x1a0(%rbp), %rdi
callq 0xba210
movsd %xmm0, -0x658(%rbp)
jmp 0xb6329
movsd -0x658(%rbp), %xmm1
movsd -0x648(%rbp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x48(%rbp)
leaq -0x1a0(%rbp), %rdi
callq 0xac88
movsd -0x50(%rbp), %xmm0
movsd %xmm0, -0x660(%rbp)
movq -0x10(%rbp), %rsi
movq -0xf0(%rbp), %rdx
addq $-0x2, %rdx
leaq -0x1c0(%rbp), %rdi
movl $0x3, %ecx
callq 0xa5f0
jmp 0xb637d
leaq -0x1c0(%rbp), %rdi
callq 0xba210
movsd %xmm0, -0x668(%rbp)
jmp 0xb6393
movsd -0x660(%rbp), %xmm0
movsd -0x668(%rbp), %xmm2
movsd 0x8a48d(%rip), %xmm1    # 0x140838
subsd %xmm2, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, -0x50(%rbp)
leaq -0x1c0(%rbp), %rdi
callq 0xac88
leaq -0x1e1(%rbp), %rdi
movq %rdi, -0x670(%rbp)
callq 0xab60
movq -0x670(%rbp), %rdx
leaq 0x7fafa(%rip), %rsi     # 0x135edf
leaq -0x1e0(%rbp), %rdi
callq 0x2d6c0
jmp 0xb63f3
leaq -0x1e1(%rbp), %rdi
callq 0xa640
movl $0x0, -0x1e8(%rbp)
movl $0x0, -0x1ec(%rbp)
movl $0x0, -0x1f0(%rbp)
movl $0x0, -0x1f4(%rbp)
leaq -0x210(%rbp), %rdi
callq 0x48da0
movq $0x0, -0x218(%rbp)
movq -0x218(%rbp), %rax
movq %rax, -0x678(%rbp)
leaq -0xc8(%rbp), %rdi
callq 0x3ffd0
movq %rax, %rcx
movq -0x678(%rbp), %rax
cmpq %rcx, %rax
je 0xb69a5
movq -0x218(%rbp), %rsi
leaq -0xe0(%rbp), %rdi
callq 0x4d100
cmpl $0x1, (%rax)
jle 0xb652f
jmp 0xb698e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0xb7004
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x180(%rbp), %rdi
callq 0xac88
jmp 0xb7004
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x1a0(%rbp), %rdi
callq 0xac88
jmp 0xb7004
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x1c0(%rbp), %rdi
callq 0xac88
jmp 0xb7004
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x1e1(%rbp), %rdi
callq 0xa640
jmp 0xb7004
movq -0x218(%rbp), %rsi
leaq -0xc8(%rbp), %rdi
callq 0x3d940
movq %rax, %rsi
leaq -0x238(%rbp), %rdi
callq 0xb7da0
jmp 0xb6553
leaq -0x1e0(%rbp), %rdi
leaq -0x238(%rbp), %rsi
callq 0xa710
leaq -0x238(%rbp), %rdi
callq 0xac88
leaq -0x1e0(%rbp), %rdi
leaq -0x120(%rbp), %rsi
callq 0x56980
testb $0x1, %al
jne 0xb658e
jmp 0xb6754
leaq 0x8a921(%rip), %rsi     # 0x140eb6
leaq -0x1e0(%rbp), %rdi
callq 0x2d770
movb %al, -0x679(%rbp)
jmp 0xb65a9
movb -0x679(%rbp), %al
testb $0x1, %al
jne 0xb65b8
jmp 0xb6754
movq -0x8(%rbp), %rdi
movq -0x218(%rbp), %rsi
callq 0x52960
movq %rax, %rsi
movq -0xf0(%rbp), %rdx
addq $-0x2, %rdx
leaq -0x258(%rbp), %rdi
movl $0x3, %ecx
callq 0xa5f0
jmp 0xb65e9
leaq -0x258(%rbp), %rdi
callq 0xba6d0
movb %al, -0x67a(%rbp)
jmp 0xb65fd
leaq -0x258(%rbp), %rdi
callq 0xac88
movb -0x67a(%rbp), %al
testb $0x1, %al
jne 0xb6618
jmp 0xb66d2
movq -0x30(%rbp), %rdi
movq -0x218(%rbp), %rsi
callq 0x52960
movq %rax, %rsi
leaq 0x8a9f8(%rip), %rdx     # 0x14102a
leaq -0x278(%rbp), %rdi
callq 0x3da80
jmp 0xb6640
leaq -0x210(%rbp), %rdi
leaq -0x278(%rbp), %rsi
callq 0x5f980
jmp 0xb6655
leaq -0x278(%rbp), %rdi
callq 0xac88
movl -0x1f4(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x1f4(%rbp)
jmp 0xb674f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0xb6f7a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x258(%rbp), %rdi
callq 0xac88
jmp 0xb6f7a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x278(%rbp), %rdi
callq 0xac88
jmp 0xb6f7a
movq -0x30(%rbp), %rdi
movq -0x218(%rbp), %rsi
callq 0x52960
movq %rax, %rsi
leaq 0x8a944(%rip), %rdx     # 0x141030
leaq -0x298(%rbp), %rdi
callq 0x3da80
jmp 0xb66fa
leaq -0x210(%rbp), %rdi
leaq -0x298(%rbp), %rsi
callq 0x5f980
jmp 0xb670f
leaq -0x298(%rbp), %rdi
callq 0xac88
movl -0x1f4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1f4(%rbp)
jmp 0xb674f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x298(%rbp), %rdi
callq 0xac88
jmp 0xb6f7a
jmp 0xb6951
movq -0x10(%rbp), %rsi
movq -0xf0(%rbp), %rdx
addq $-0x2, %rdx
leaq -0x2c0(%rbp), %rdi
movl $0x3, %ecx
callq 0xa5f0
jmp 0xb6776
movq -0x218(%rbp), %rsi
leaq -0xc8(%rbp), %rdi
callq 0x3d940
movq %rax, %rsi
leaq -0x2c0(%rbp), %rdi
callq 0xba750
movl %eax, -0x680(%rbp)
jmp 0xb67a0
leaq -0x2c0(%rbp), %rdi
callq 0xac88
movl -0x680(%rbp), %eax
movl %eax, -0x29c(%rbp)
cmpl $0x1, -0x29c(%rbp)
jne 0xb694d
leaq -0x1e0(%rbp), %rdi
leaq -0x120(%rbp), %rsi
callq 0x56980
testb $0x1, %al
jne 0xb67de
jmp 0xb6812
movl -0x1e8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1e8(%rbp)
jmp 0xb6812
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x2c0(%rbp), %rdi
callq 0xac88
jmp 0xb6f7a
movq -0x10(%rbp), %rsi
movq -0xf0(%rbp), %rdx
addq $-0x2, %rdx
leaq -0x300(%rbp), %rdi
movl $0x3, %ecx
callq 0xa5f0
jmp 0xb6834
movq -0x218(%rbp), %rsi
leaq -0xc8(%rbp), %rdi
callq 0x3d940
movq %rax, %rdx
leaq -0x2e0(%rbp), %rdi
leaq -0x300(%rbp), %rsi
callq 0x3da30
jmp 0xb685f
leaq 0xe41ba(%rip), %rdi     # 0x19aa20
leaq -0x2e0(%rbp), %rsi
callq 0x56950
movq %rax, -0x688(%rbp)
jmp 0xb687b
leaq -0x2e0(%rbp), %rdi
callq 0xac88
leaq -0x300(%rbp), %rdi
callq 0xac88
movq -0x688(%rbp), %rax
cmpq $0x0, %rax
jne 0xb68f4
movl -0x1ec(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1ec(%rbp)
jmp 0xb68f4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0xb68e3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x2e0(%rbp), %rdi
callq 0xac88
leaq -0x300(%rbp), %rdi
callq 0xac88
jmp 0xb6f7a
movl -0x1e8(%rbp), %eax
cmpl -0x1ec(%rbp), %eax
jne 0xb6904
jmp 0xb6923
leaq 0x8a72b(%rip), %rdi     # 0x141036
leaq 0x8a3a4(%rip), %rsi     # 0x140cb6
movl $0x2d4, %edx            # imm = 0x2D4
leaq 0x8a72b(%rip), %rcx     # 0x141049
callq 0xa390
leaq -0x1e0(%rbp), %rdi
leaq -0x120(%rbp), %rsi
callq 0x39210
testb $0x1, %al
jne 0xb693c
jmp 0xb694b
movl -0x1f0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1f0(%rbp)
jmp 0xb694f
jmp 0xb694f
jmp 0xb6951
movq -0x218(%rbp), %rsi
leaq -0xc8(%rbp), %rdi
callq 0x3d940
movq %rax, %rdi
leaq 0x7f571(%rip), %rsi     # 0x135edf
callq 0xa810
jmp 0xb6975
movq -0x218(%rbp), %rsi
leaq -0xe0(%rbp), %rdi
callq 0x4d100
movl $0x0, (%rax)
movq -0x218(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x218(%rbp)
jmp 0xb643e
cmpl $0x0, -0x1f4(%rbp)
jle 0xb6e3e
leaq -0x320(%rbp), %rdi
movq %rdi, -0x690(%rbp)
callq 0xa820
movq -0x690(%rbp), %rdi
movl $0x1f4, %esi            # imm = 0x1F4
callq 0xa980
jmp 0xb69d8
movq -0x18(%rbp), %rsi
leaq 0x7f4fb(%rip), %rdx     # 0x135ede
leaq -0x400(%rbp), %rdi
callq 0x3da80
jmp 0xb69f1
movq -0xf0(%rbp), %rax
incq %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
mulq %rcx
movq %rdx, %rsi
shrq %rsi
leaq -0x420(%rbp), %rdi
callq 0xae5d0
jmp 0xb6a1c
leaq -0x3e0(%rbp), %rdi
leaq -0x400(%rbp), %rsi
leaq -0x420(%rbp), %rdx
callq 0x3e070
jmp 0xb6a38
leaq 0x7f49f(%rip), %rdx     # 0x135ede
leaq -0x3c0(%rbp), %rdi
leaq -0x3e0(%rbp), %rsi
callq 0x3e020
jmp 0xb6a54
movq -0x10(%rbp), %rdi
callq 0xa930
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
mulq %rcx
movq %rdx, %rsi
shrq %rsi
leaq -0x440(%rbp), %rdi
callq 0xae5d0
jmp 0xb6a7e
leaq -0x3a0(%rbp), %rdi
leaq -0x3c0(%rbp), %rsi
leaq -0x440(%rbp), %rdx
callq 0x3e070
jmp 0xb6a9a
leaq 0x7f43d(%rip), %rdx     # 0x135ede
leaq -0x380(%rbp), %rdi
leaq -0x3a0(%rbp), %rsi
callq 0x3e020
jmp 0xb6ab6
cvtsi2sdl -0x1f4(%rbp), %xmm0
movsd %xmm0, -0x698(%rbp)
movq -0x30(%rbp), %rdi
callq 0x3ffd0
movsd -0x698(%rbp), %xmm0
addq %rax, %rax
movq %rax, %xmm1
movaps 0x7767a(%rip), %xmm2    # 0x12e160
punpckldq %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movapd 0x7767e(%rip), %xmm2    # 0x12e170
subpd %xmm2, %xmm1
movaps %xmm1, %xmm2
unpckhpd %xmm1, %xmm1            # xmm1 = xmm1[1,1]
addsd %xmm2, %xmm1
divsd %xmm1, %xmm0
leaq -0x460(%rbp), %rdi
callq 0x650a0
jmp 0xb6b13
leaq -0x360(%rbp), %rdi
leaq -0x380(%rbp), %rsi
leaq -0x460(%rbp), %rdx
callq 0x3e070
jmp 0xb6b2f
leaq 0x7f3a8(%rip), %rdx     # 0x135ede
leaq -0x340(%rbp), %rdi
leaq -0x360(%rbp), %rsi
callq 0x3e020
jmp 0xb6b4b
leaq -0x320(%rbp), %rdi
leaq -0x340(%rbp), %rsi
callq 0xa710
leaq -0x340(%rbp), %rdi
callq 0xac88
leaq -0x360(%rbp), %rdi
callq 0xac88
leaq -0x460(%rbp), %rdi
callq 0xac88
leaq -0x380(%rbp), %rdi
callq 0xac88
leaq -0x3a0(%rbp), %rdi
callq 0xac88
leaq -0x440(%rbp), %rdi
callq 0xac88
leaq -0x3c0(%rbp), %rdi
callq 0xac88
leaq -0x3e0(%rbp), %rdi
callq 0xac88
leaq -0x420(%rbp), %rdi
callq 0xac88
leaq -0x400(%rbp), %rdi
callq 0xac88
movq $0x0, -0x468(%rbp)
movq -0x468(%rbp), %rax
movq %rax, -0x6a0(%rbp)
leaq -0x210(%rbp), %rdi
callq 0x3ffd0
movq %rax, %rcx
movq -0x6a0(%rbp), %rax
cmpq %rcx, %rax
je 0xb6dd9
movq -0x468(%rbp), %rsi
leaq -0x210(%rbp), %rdi
callq 0x3d940
movq %rax, %rsi
leaq -0x320(%rbp), %rdi
callq 0xac20
jmp 0xb6c32
movq -0x468(%rbp), %rax
movq %rax, -0x6a8(%rbp)
leaq -0x210(%rbp), %rdi
callq 0x3ffd0
movq %rax, %rcx
movq -0x6a8(%rbp), %rax
subq $0x1, %rcx
cmpq %rcx, %rax
je 0xb6dc0
leaq 0x8a47f(%rip), %rsi     # 0x1410e9
leaq -0x320(%rbp), %rdi
callq 0xabe0
jmp 0xb6c78
jmp 0xb6dc0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0xb6e2d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0xb6db2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0xb6da6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0xb6d9a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0xb6d8e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0xb6d82
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0xb6d76
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0xb6d6a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0xb6d5e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x360(%rbp), %rdi
callq 0xac88
leaq -0x460(%rbp), %rdi
callq 0xac88
leaq -0x380(%rbp), %rdi
callq 0xac88
leaq -0x3a0(%rbp), %rdi
callq 0xac88
leaq -0x440(%rbp), %rdi
callq 0xac88
leaq -0x3c0(%rbp), %rdi
callq 0xac88
leaq -0x3e0(%rbp), %rdi
callq 0xac88
leaq -0x420(%rbp), %rdi
callq 0xac88
leaq -0x400(%rbp), %rdi
callq 0xac88
jmp 0xb6e2d
jmp 0xb6dc2
movq -0x468(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x468(%rbp)
jmp 0xb6be1
movq -0x28(%rbp), %rax
movq (%rax), %rdi
leaq -0x320(%rbp), %rsi
callq 0xa520
movq %rax, -0x6b0(%rbp)
jmp 0xb6df5
movq -0x6b0(%rbp), %rdi
movq 0xe2185(%rip), %rsi     # 0x198f88
callq 0xa610
jmp 0xb6e0a
leaq 0xe3c47(%rip), %rdi     # 0x19aa58
leaq -0x320(%rbp), %rsi
callq 0x48dc0
jmp 0xb6e1f
leaq -0x320(%rbp), %rdi
callq 0xac88
jmp 0xb6e3e
leaq -0x320(%rbp), %rdi
callq 0xac88
jmp 0xb6f7a
cmpl $0x0, -0x1e8(%rbp)
jle 0xb6ed2
movl -0x38(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x38(%rbp)
cvtsi2sdl -0x1e8(%rbp), %xmm0
cvtsi2sdl -0x9c(%rbp), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -0x470(%rbp)
movsd -0x470(%rbp), %xmm0
movsd 0x77288(%rip), %xmm1    # 0x12e108
ucomisd %xmm1, %xmm0
jbe 0xb6eb9
movsd -0x470(%rbp), %xmm1
movsd 0x7b422(%rip), %xmm0    # 0x1322b8
subsd %xmm1, %xmm0
movsd %xmm0, -0x478(%rbp)
leaq -0x98(%rbp), %rdi
leaq -0x478(%rbp), %rsi
callq 0x48450
jmp 0xb6eb7
jmp 0xb6ed0
leaq -0x98(%rbp), %rdi
leaq -0x470(%rbp), %rsi
callq 0xb77b0
jmp 0xb6ece
jmp 0xb6ed0
jmp 0xb6ed2
cmpl $0x0, -0x1f0(%rbp)
jle 0xb6f60
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
cvtsi2sdl -0x1f0(%rbp), %xmm0
cvtsi2sdl -0x9c(%rbp), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -0x470(%rbp)
movsd -0x470(%rbp), %xmm0
movsd 0x771f4(%rip), %xmm1    # 0x12e108
ucomisd %xmm1, %xmm0
jbe 0xb6f4a
movsd -0x470(%rbp), %xmm1
movsd 0x7b38e(%rip), %xmm0    # 0x1322b8
subsd %xmm1, %xmm0
movsd %xmm0, -0x480(%rbp)
leaq -0x80(%rbp), %rdi
leaq -0x480(%rbp), %rsi
callq 0x48450
jmp 0xb6f48
jmp 0xb6f5e
leaq -0x80(%rbp), %rdi
leaq -0x470(%rbp), %rsi
callq 0xb77b0
jmp 0xb6f5c
jmp 0xb6f5e
jmp 0xb6f60
leaq -0x210(%rbp), %rdi
callq 0x3dfa0
leaq -0x1e0(%rbp), %rdi
callq 0xac88
jmp 0xb6f94
leaq -0x210(%rbp), %rdi
callq 0x3dfa0
leaq -0x1e0(%rbp), %rdi
callq 0xac88
jmp 0xb7004
cmpl $0x0, -0xf8(%rbp)
jle 0xb6fd5
movl -0x34(%rbp), %eax
incl %eax
movl %eax, -0x34(%rbp)
cvtsi2sdl -0xf8(%rbp), %xmm0
cvtsi2sdl -0x9c(%rbp), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -0x488(%rbp)
leaq -0x68(%rbp), %rdi
leaq -0x488(%rbp), %rsi
callq 0xb77b0
jmp 0xb6fd3
jmp 0xb6fd5
leaq -0x140(%rbp), %rdi
callq 0xac88
leaq -0x120(%rbp), %rdi
callq 0xac88
movq -0xf0(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xf0(%rbp)
jmp 0xb602d
leaq -0x140(%rbp), %rdi
callq 0xac88
leaq -0x120(%rbp), %rdi
callq 0xac88
jmp 0xb759a
movq -0x20(%rbp), %rax
movq %rax, -0x6b8(%rbp)
movq -0x10(%rbp), %rdi
callq 0xa930
movq %rax, %rsi
leaq -0x4a8(%rbp), %rdi
callq 0xae5d0
jmp 0xb7046
movq -0x6b8(%rbp), %rdi
leaq -0x4a8(%rbp), %rsi
callq 0x5f980
jmp 0xb705b
leaq -0x4a8(%rbp), %rdi
callq 0xac88
movq -0x20(%rbp), %rax
movq %rax, -0x6c0(%rbp)
movl -0x34(%rbp), %esi
leaq -0x4c8(%rbp), %rdi
callq 0x3e190
jmp 0xb7083
movq -0x6c0(%rbp), %rdi
leaq -0x4c8(%rbp), %rsi
callq 0x5f980
jmp 0xb7098
leaq -0x4c8(%rbp), %rdi
callq 0xac88
movq -0x20(%rbp), %rax
movq %rax, -0x6d0(%rbp)
cvtsi2sdl -0x34(%rbp), %xmm0
movsd %xmm0, -0x6c8(%rbp)
movq -0x10(%rbp), %rdi
callq 0xa930
movsd -0x6c8(%rbp), %xmm0
movq %rax, %xmm1
movaps 0x77087(%rip), %xmm2    # 0x12e160
punpckldq %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movapd 0x7708b(%rip), %xmm2    # 0x12e170
subpd %xmm2, %xmm1
movaps %xmm1, %xmm2
unpckhpd %xmm1, %xmm1            # xmm1 = xmm1[1,1]
addsd %xmm2, %xmm1
divsd %xmm1, %xmm0
leaq -0x4e8(%rbp), %rdi
callq 0x650a0
jmp 0xb7106
movq -0x6d0(%rbp), %rdi
leaq -0x4e8(%rbp), %rsi
callq 0x5f980
jmp 0xb711b
leaq -0x4e8(%rbp), %rdi
callq 0xac88
movq -0x20(%rbp), %rax
movq %rax, -0x6d8(%rbp)
movq -0x10(%rbp), %rdi
callq 0xa930
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
mulq %rcx
movq %rdx, %rsi
shrq %rsi
leaq -0x508(%rbp), %rdi
callq 0xae5d0
jmp 0xb715c
movq -0x6d8(%rbp), %rdi
leaq -0x508(%rbp), %rsi
callq 0x5f980
jmp 0xb7171
leaq -0x508(%rbp), %rdi
callq 0xac88
movq -0x20(%rbp), %rax
movq %rax, -0x6e0(%rbp)
movl -0x3c(%rbp), %esi
leaq -0x528(%rbp), %rdi
callq 0x3e190
jmp 0xb7199
movq -0x6e0(%rbp), %rdi
leaq -0x528(%rbp), %rsi
callq 0x5f980
jmp 0xb71ae
leaq -0x528(%rbp), %rdi
callq 0xac88
movq -0x20(%rbp), %rax
movq %rax, -0x6f0(%rbp)
cvtsi2sdl -0x3c(%rbp), %xmm0
movsd %xmm0, -0x6e8(%rbp)
movq -0x10(%rbp), %rdi
callq 0xa930
movsd -0x6e8(%rbp), %xmm0
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
mulq %rcx
shrq %rdx
cvtsi2sd %rdx, %xmm1
divsd %xmm1, %xmm0
leaq -0x548(%rbp), %rdi
callq 0x650a0
jmp 0xb720a
movq -0x6f0(%rbp), %rdi
leaq -0x548(%rbp), %rsi
callq 0x5f980
jmp 0xb721f
leaq -0x548(%rbp), %rdi
callq 0xac88
movq -0x20(%rbp), %rax
movq %rax, -0x6f8(%rbp)
movl -0x38(%rbp), %esi
leaq -0x568(%rbp), %rdi
callq 0x3e190
jmp 0xb7247
movq -0x6f8(%rbp), %rdi
leaq -0x568(%rbp), %rsi
callq 0x5f980
jmp 0xb725c
leaq -0x568(%rbp), %rdi
callq 0xac88
movq -0x20(%rbp), %rax
movq %rax, -0x708(%rbp)
cvtsi2sdl -0x38(%rbp), %xmm0
movsd %xmm0, -0x700(%rbp)
movq -0x10(%rbp), %rdi
callq 0xa930
movsd -0x700(%rbp), %xmm0
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
mulq %rcx
shrq %rdx
cvtsi2sd %rdx, %xmm1
divsd %xmm1, %xmm0
leaq -0x588(%rbp), %rdi
callq 0x650a0
jmp 0xb72b8
movq -0x708(%rbp), %rdi
leaq -0x588(%rbp), %rsi
callq 0x5f980
jmp 0xb72cd
leaq -0x588(%rbp), %rdi
callq 0xac88
movq -0x20(%rbp), %rax
movq %rax, -0x710(%rbp)
leaq -0x5c0(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x53120
jmp 0xb72f6
leaq -0x5c0(%rbp), %rdi
callq 0x53060
movsd %xmm0, -0x718(%rbp)
jmp 0xb730c
movsd -0x718(%rbp), %xmm0
leaq -0x5a8(%rbp), %rdi
callq 0x650a0
jmp 0xb7322
movq -0x710(%rbp), %rdi
leaq -0x5a8(%rbp), %rsi
callq 0x5f980
jmp 0xb7337
leaq -0x5a8(%rbp), %rdi
callq 0xac88
leaq -0x5c0(%rbp), %rdi
callq 0x3ecb0
movq -0x20(%rbp), %rax
movq %rax, -0x720(%rbp)
leaq -0x5f8(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0x53120
jmp 0xb736f
leaq -0x5f8(%rbp), %rdi
callq 0x53060
movsd %xmm0, -0x728(%rbp)
jmp 0xb7385
movsd -0x728(%rbp), %xmm0
leaq -0x5e0(%rbp), %rdi
callq 0x650a0
jmp 0xb739b
movq -0x720(%rbp), %rdi
leaq -0x5e0(%rbp), %rsi
callq 0x5f980
jmp 0xb73b0
leaq -0x5e0(%rbp), %rdi
callq 0xac88
leaq -0x5f8(%rbp), %rdi
callq 0x3ecb0
leaq -0xe0(%rbp), %rdi
callq 0x48290
leaq -0xc8(%rbp), %rdi
callq 0x3dfa0
leaq -0x98(%rbp), %rdi
callq 0x3ecb0
leaq -0x80(%rbp), %rdi
callq 0x3ecb0
leaq -0x68(%rbp), %rdi
callq 0x3ecb0
addq $0x730, %rsp            # imm = 0x730
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x4a8(%rbp), %rdi
callq 0xac88
jmp 0xb759a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x4c8(%rbp), %rdi
callq 0xac88
jmp 0xb759a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x4e8(%rbp), %rdi
callq 0xac88
jmp 0xb759a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x508(%rbp), %rdi
callq 0xac88
jmp 0xb759a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x528(%rbp), %rdi
callq 0xac88
jmp 0xb759a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x548(%rbp), %rdi
callq 0xac88
jmp 0xb759a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x568(%rbp), %rdi
callq 0xac88
jmp 0xb759a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x588(%rbp), %rdi
callq 0xac88
jmp 0xb759a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0xb754e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x5a8(%rbp), %rdi
callq 0xac88
leaq -0x5c0(%rbp), %rdi
callq 0x3ecb0
jmp 0xb759a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0xb758e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x5e0(%rbp), %rdi
callq 0xac88
leaq -0x5f8(%rbp), %rdi
callq 0x3ecb0
leaq -0xe0(%rbp), %rdi
callq 0x48290
leaq -0xc8(%rbp), %rdi
callq 0x3dfa0
leaq -0x98(%rbp), %rdi
callq 0x3ecb0
leaq -0x80(%rbp), %rdi
callq 0x3ecb0
leaq -0x68(%rbp), %rdi
callq 0x3ecb0
movq -0xa8(%rbp), %rdi
callq 0xab50
nopl (%rax)