// File: /workspace/github_cpp_makefile_star2_O1/millanek[P]evo/./process_vcf_coding_sequences.h
// Function: calculateNtS(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&, int, bool)
inline double calculateNtS(const std::string& refCdn, const std::string& altCdn, int diffNum, bool refAncestral) {
    assert(refCdn.length() == altCdn.length());
    assert(diffNum >= 0 && diffNum <= 3);
    double NtS = 0;
    
    if (diffNum == 0) {
        return s_mapCodonToExpTs[refCdn];
    }
    
    if (diffNum == 1) {
        if (refAncestral) {
            return s_mapCodonToExpTs[refCdn];
        } else { // Also consider the reverse order of mutations if we don't know the ancestral allele
            return (s_mapCodonToExpTs[refCdn] + s_mapCodonToExpTs[altCdn])/2;
        }
    } else {
        if (diffNum == 2) {
            // Find where the diffs are
            std::vector<std::string::size_type> diffPos;
            for (std::string::size_type i = 0; i != refCdn.length(); i++) {
                if (refCdn[i] != altCdn[i]) {
                    diffPos.push_back(i);
                }
            }
            
            // Then calculate N for the possible mutation paths:
            double Nsum = 0;
            // e.g. TAA -> TGA -> TGG
            std::string stepCdn = refCdn;
            stepCdn[diffPos[0]] = altCdn[diffPos[0]];
            Nsum = (s_mapCodonToExpTs[refCdn] + s_mapCodonToExpTs[stepCdn])/2;
            
            // e.g. TAA -> TAG -> TGG
            stepCdn = refCdn;
            stepCdn[diffPos[1]] = altCdn[diffPos[1]];
            Nsum = Nsum + ((s_mapCodonToExpTs[refCdn] + s_mapCodonToExpTs[stepCdn])/2);
            
            if (refAncestral) {
                return Nsum / 2;
            } else { // Also consider the reverse order of mutations if we don't know the ancestral allele
                // e.g. TAA <- TGA <- TGG
                stepCdn = altCdn;
                stepCdn[diffPos[0]] = refCdn[diffPos[0]];
                Nsum = Nsum + ((s_mapCodonToExpTs[altCdn] + s_mapCodonToExpTs[stepCdn])/2);
                
                // e.g. TAA <- TAG <- TGG
                stepCdn = altCdn; // the reverse order of mutations
                stepCdn[diffPos[1]] = refCdn[diffPos[1]];
                Nsum = Nsum + ((s_mapCodonToExpTs[altCdn] + s_mapCodonToExpTs[stepCdn])/2);
                // Get the average N for the four mutation paths:
                return Nsum / 4;
            }
        }
        
        // This could surely be simplified but I write out all the possible mutation paths explicitly
        // one could even have a lookup table for all the three letter pairs and what N scores they give
        if (diffNum == 3) {
            double Nsum = 0;
            
            // e.g. AAA -> TAA -> TGA -> TGG
            std::string stepCdn = refCdn; stepCdn[0] = altCdn[0];
            std::string step2Cdn = stepCdn; step2Cdn[1] = altCdn[1];
            Nsum = (s_mapCodonToExpTs[refCdn] + s_mapCodonToExpTs[stepCdn] + s_mapCodonToExpTs[step2Cdn])/3;
            
            // e.g. AAA -> TAA -> TAG -> TGG
            stepCdn = refCdn; stepCdn[0] = altCdn[0];
            step2Cdn = stepCdn; step2Cdn[2] = altCdn[2];
            Nsum = Nsum + ((s_mapCodonToExpTs[refCdn] + s_mapCodonToExpTs[stepCdn] + s_mapCodonToExpTs[step2Cdn])/3);
            
            // e.g. AAA -> AGA -> TGA -> TGG
            stepCdn = refCdn; stepCdn[1] = altCdn[1];
            step2Cdn = stepCdn; step2Cdn[0] = altCdn[0];
            Nsum = Nsum + ((s_mapCodonToExpTs[refCdn] + s_mapCodonToExpTs[stepCdn] + s_mapCodonToExpTs[step2Cdn])/3);
            
            // e.g. AAA -> AGA -> AGG -> TGG
            stepCdn = refCdn; stepCdn[1] = altCdn[1];
            step2Cdn = stepCdn; step2Cdn[2] = altCdn[2];
            Nsum = Nsum + ((s_mapCodonToExpTs[refCdn] + s_mapCodonToExpTs[stepCdn] + s_mapCodonToExpTs[step2Cdn])/3);
            
            // e.g. AAA -> AAG -> AGG -> TGG
            stepCdn = refCdn; stepCdn[2] = altCdn[2];
            step2Cdn = stepCdn; step2Cdn[1] = altCdn[1];
            Nsum = Nsum + ((s_mapCodonToExpTs[refCdn] + s_mapCodonToExpTs[stepCdn] + s_mapCodonToExpTs[step2Cdn])/3);
            
            // e.g. AAA -> AAG -> TAG -> TGG
            stepCdn = refCdn; stepCdn[2] = altCdn[2];
            step2Cdn = stepCdn; step2Cdn[0] = altCdn[0];
            Nsum = Nsum + ((s_mapCodonToExpTs[refCdn] + s_mapCodonToExpTs[stepCdn] + s_mapCodonToExpTs[step2Cdn])/3);
            
            if (refAncestral) {
                return Nsum / 6;
            } else { // Also consider the reverse order of mutations if we don't know the ancestral allele
                // e.g. AAA <- TAA <- TGA <- TGG
                stepCdn = altCdn; stepCdn[2] = refCdn[2];
                step2Cdn = stepCdn; step2Cdn[1] = refCdn[1];
                Nsum = Nsum + ((s_mapCodonToExpTs[altCdn] + s_mapCodonToExpTs[stepCdn] + s_mapCodonToExpTs[step2Cdn])/3);
                
                // e.g. AAA <- TAA <- TAG <- TGG
                stepCdn = altCdn; stepCdn[1] = refCdn[1];
                step2Cdn = stepCdn; step2Cdn[2] = refCdn[2];
                Nsum = Nsum + ((s_mapCodonToExpTs[altCdn] + s_mapCodonToExpTs[stepCdn] + s_mapCodonToExpTs[step2Cdn])/3);
                
                // e.g. AAA -> AGA -> TGA -> TGG
                stepCdn = altCdn; stepCdn[2] = refCdn[2];
                step2Cdn = stepCdn; step2Cdn[0] = refCdn[0];
                Nsum = Nsum + ((s_mapCodonToExpTs[altCdn] + s_mapCodonToExpTs[stepCdn] + s_mapCodonToExpTs[step2Cdn])/3);
                
                // e.g. AAA <- AGA <- AGG <- TGG
                stepCdn = altCdn; stepCdn[0] = refCdn[0];
                step2Cdn = stepCdn; step2Cdn[2] = refCdn[2];
                Nsum = Nsum + ((s_mapCodonToExpTs[altCdn] + s_mapCodonToExpTs[stepCdn] + s_mapCodonToExpTs[step2Cdn])/3);
                
                // e.g. AAA <- AAG <- AGG <- TGG
                stepCdn = altCdn; stepCdn[0] = refCdn[0];
                step2Cdn = stepCdn; step2Cdn[1] = refCdn[1];
                Nsum = Nsum + ((s_mapCodonToExpTs[altCdn] + s_mapCodonToExpTs[stepCdn] + s_mapCodonToExpTs[step2Cdn])/3);
                
                // e.g. AAA <- AAG <- TAG <- TGG
                stepCdn = altCdn; stepCdn[1] = refCdn[1];
                step2Cdn = stepCdn; step2Cdn[0] = refCdn[0];
                Nsum = Nsum + ((s_mapCodonToExpTs[altCdn] + s_mapCodonToExpTs[stepCdn] + s_mapCodonToExpTs[step2Cdn])/3);
                
                // Get the average N for the twelve mutation paths:
                return Nsum / 12;
            }
        }
        
    }
    return NtS;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movl %edx, %eax
movq 0x8(%rdi), %rdx
cmpq 0x8(%rsi), %rdx
jne 0x79ced
cmpl $0x4, %eax
jae 0x79d0c
movl %ecx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0x2, %eax
je 0x79262
cmpl $0x1, %eax
je 0x7921c
testl %eax, %eax
jne 0x793ca
leaq 0x932e5(%rip), %rdi     # 0x10c4f0
movq %r14, %rsi
callq 0x34214
movsd (%rax), %xmm0
jmp 0x79cdb
leaq 0x932cd(%rip), %rdi     # 0x10c4f0
movq %r14, %rsi
callq 0x34214
movsd (%rax), %xmm0
testb %bpl, %bpl
jne 0x79cdb
leaq 0x932b1(%rip), %rdi     # 0x10c4f0
movq %rbx, %rsi
movsd %xmm0, (%rsp)
callq 0x34214
movsd (%rsp), %xmm0
addsd (%rax), %xmm0
mulsd 0x561f3(%rip), %xmm0    # 0xcf450
jmp 0x79cdb
xorpd %xmm0, %xmm0
movapd %xmm0, 0x30(%rsp)
xorl %eax, %eax
movq %rax, 0x40(%rsp)
movq %rax, 0x10(%rsp)
movq 0x8(%r14), %rdx
testq %rdx, %rdx
je 0x792d6
xorl %eax, %eax
leaq 0x30(%rsp), %r15
leaq 0x10(%rsp), %r12
movq (%r14), %rcx
movb (%rcx,%rax), %cl
movq (%rbx), %rdx
cmpb (%rdx,%rax), %cl
je 0x792c0
movq 0x38(%rsp), %rsi
cmpq 0x40(%rsp), %rsi
je 0x792b5
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x38(%rsp)
jmp 0x792c0
movq %r15, %rdi
movq %r12, %rdx
callq 0x57718
movq 0x10(%rsp), %rax
incq %rax
movq %rax, 0x10(%rsp)
movq 0x8(%r14), %rdx
cmpq %rdx, %rax
jne 0x7928d
leaq 0x20(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%r14), %rsi
addq %rsi, %rdx
leaq 0x10(%rsp), %rdi
callq 0x2e45c
movq 0x30(%rsp), %rax
movq (%rax), %rax
movq (%rbx), %rcx
movb (%rcx,%rax), %cl
movq 0x10(%rsp), %rdx
movb %cl, (%rdx,%rax)
leaq 0x931e4(%rip), %rdi     # 0x10c4f0
movq %r14, %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
leaq 0x931cb(%rip), %rdi     # 0x10c4f0
leaq 0x10(%rsp), %rsi
callq 0x34214
movsd 0x8(%rsp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x8270
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
movq (%rbx), %rcx
movb (%rcx,%rax), %cl
movq 0x10(%rsp), %rdx
movb %cl, (%rdx,%rax)
leaq 0x93186(%rip), %rdi     # 0x10c4f0
movq %r14, %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, (%rsp)
leaq 0x9316e(%rip), %rdi     # 0x10c4f0
leaq 0x10(%rsp), %rsi
callq 0x34214
movsd 0x8(%rsp), %xmm1
mulsd 0x560b6(%rip), %xmm1    # 0xcf450
movsd (%rsp), %xmm0
addsd (%rax), %xmm0
mulsd 0x560a5(%rip), %xmm0    # 0xcf450
addsd %xmm1, %xmm0
testb %bpl, %bpl
je 0x797b1
mulsd 0x56090(%rip), %xmm0    # 0xcf450
movsd %xmm0, (%rsp)
jmp 0x7989b
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r14), %rsi
addq %rsi, %rdx
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x2e45c
movq (%rbx), %rax
movb (%rax), %al
movq (%r15), %rcx
movb %al, (%rcx)
leaq 0x40(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x30(%rsp), %rdi
callq 0x2e45c
movq (%rbx), %rax
movb 0x1(%rax), %al
movq 0x30(%rsp), %rcx
movb %al, 0x1(%rcx)
leaq 0x930cd(%rip), %rdi     # 0x10c4f0
movq %r14, %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
leaq 0x930b4(%rip), %rdi     # 0x10c4f0
leaq 0x10(%rsp), %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, (%rsp)
leaq 0x9309a(%rip), %rdi     # 0x10c4f0
leaq 0x30(%rsp), %rsi
callq 0x34214
movsd 0x8(%rsp), %xmm0
addsd (%rsp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x8270
movq (%rbx), %rax
movb (%rax), %al
leaq 0x10(%rsp), %rsi
movq (%rsi), %rcx
movb %al, (%rcx)
leaq 0x30(%rsp), %rdi
callq 0x8270
movq (%rbx), %rax
movb 0x2(%rax), %al
movq 0x30(%rsp), %rcx
movb %al, 0x2(%rcx)
leaq 0x93040(%rip), %rdi     # 0x10c4f0
movq %r14, %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x58(%rsp)
leaq 0x93027(%rip), %rdi     # 0x10c4f0
leaq 0x10(%rsp), %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, (%rsp)
leaq 0x9300d(%rip), %rdi     # 0x10c4f0
leaq 0x30(%rsp), %rsi
callq 0x34214
movsd 0x58(%rsp), %xmm0
addsd (%rsp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, 0x58(%rsp)
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x8270
movq (%rbx), %rax
movb 0x1(%rax), %al
leaq 0x10(%rsp), %rsi
movq (%rsi), %rcx
movb %al, 0x1(%rcx)
leaq 0x30(%rsp), %rdi
callq 0x8270
movq (%rbx), %rax
movb (%rax), %al
movq 0x30(%rsp), %rcx
movb %al, (%rcx)
leaq 0x92fb3(%rip), %rdi     # 0x10c4f0
movq %r14, %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x70(%rsp)
leaq 0x92f9a(%rip), %rdi     # 0x10c4f0
leaq 0x10(%rsp), %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, (%rsp)
leaq 0x92f80(%rip), %rdi     # 0x10c4f0
leaq 0x30(%rsp), %rsi
callq 0x34214
movsd 0x70(%rsp), %xmm0
addsd (%rsp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, 0x70(%rsp)
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x8270
movq (%rbx), %rax
movb 0x1(%rax), %al
leaq 0x10(%rsp), %rsi
movq (%rsi), %rcx
movb %al, 0x1(%rcx)
leaq 0x30(%rsp), %rdi
callq 0x8270
movq (%rbx), %rax
movb 0x2(%rax), %al
movq 0x30(%rsp), %rcx
movb %al, 0x2(%rcx)
leaq 0x92f24(%rip), %rdi     # 0x10c4f0
movq %r14, %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x68(%rsp)
leaq 0x92f0b(%rip), %rdi     # 0x10c4f0
leaq 0x10(%rsp), %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, (%rsp)
leaq 0x92ef1(%rip), %rdi     # 0x10c4f0
leaq 0x30(%rsp), %rsi
callq 0x34214
movsd 0x68(%rsp), %xmm0
addsd (%rsp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, 0x68(%rsp)
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x8270
movq (%rbx), %rax
movb 0x2(%rax), %al
leaq 0x10(%rsp), %rsi
movq (%rsi), %rcx
movb %al, 0x2(%rcx)
leaq 0x30(%rsp), %rdi
callq 0x8270
movq (%rbx), %rax
movb 0x1(%rax), %al
movq 0x30(%rsp), %rcx
movb %al, 0x1(%rcx)
leaq 0x92e95(%rip), %rdi     # 0x10c4f0
movq %r14, %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x60(%rsp)
leaq 0x92e7c(%rip), %rdi     # 0x10c4f0
leaq 0x10(%rsp), %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, (%rsp)
leaq 0x92e62(%rip), %rdi     # 0x10c4f0
leaq 0x30(%rsp), %rsi
callq 0x34214
movsd 0x60(%rsp), %xmm0
addsd (%rsp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, 0x60(%rsp)
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x8270
movq (%rbx), %rax
movb 0x2(%rax), %al
leaq 0x10(%rsp), %rsi
movq (%rsi), %rcx
movb %al, 0x2(%rcx)
leaq 0x30(%rsp), %rdi
callq 0x8270
movq (%rbx), %rax
movb (%rax), %al
movq 0x30(%rsp), %rcx
movb %al, (%rcx)
leaq 0x92e08(%rip), %rdi     # 0x10c4f0
movq %r14, %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, (%rsp)
leaq 0x92df0(%rip), %rdi     # 0x10c4f0
leaq 0x10(%rsp), %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x78(%rsp)
leaq 0x92dd5(%rip), %rdi     # 0x10c4f0
leaq 0x30(%rsp), %rsi
callq 0x34214
movsd 0x8(%rsp), %xmm0
divsd 0x628b5(%rip), %xmm0    # 0xdbfe8
movsd 0x58(%rsp), %xmm1
divsd 0x628a7(%rip), %xmm1    # 0xdbfe8
addsd %xmm0, %xmm1
movsd 0x70(%rsp), %xmm0
divsd 0x62895(%rip), %xmm0    # 0xdbfe8
movsd 0x68(%rsp), %xmm2
divsd 0x62887(%rip), %xmm2    # 0xdbfe8
addsd %xmm1, %xmm0
addsd %xmm0, %xmm2
movsd 0x60(%rsp), %xmm1
divsd 0x62871(%rip), %xmm1    # 0xdbfe8
addsd %xmm2, %xmm1
movsd (%rsp), %xmm0
addsd 0x78(%rsp), %xmm0
addsd (%rax), %xmm0
divsd 0x62856(%rip), %xmm0    # 0xdbfe8
addsd %xmm1, %xmm0
testb %bpl, %bpl
je 0x798cd
divsd 0x62849(%rip), %xmm0    # 0xdbff0
movsd %xmm0, (%rsp)
jmp 0x79ca8
movsd %xmm0, (%rsp)
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x8270
movq 0x30(%rsp), %rax
movq (%rax), %rax
movq (%r14), %rcx
movb (%rcx,%rax), %cl
movq 0x10(%rsp), %rdx
movb %cl, (%rdx,%rax)
leaq 0x92d10(%rip), %rdi     # 0x10c4f0
movq %rbx, %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
leaq 0x92cf7(%rip), %rdi     # 0x10c4f0
leaq 0x10(%rsp), %rsi
callq 0x34214
movsd 0x8(%rsp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x8270
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
movq (%r14), %rcx
movb (%rcx,%rax), %cl
movq 0x10(%rsp), %rdx
movb %cl, (%rdx,%rax)
leaq 0x92cb2(%rip), %rdi     # 0x10c4f0
movq %rbx, %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x58(%rsp)
leaq 0x92c99(%rip), %rdi     # 0x10c4f0
leaq 0x10(%rsp), %rsi
callq 0x34214
movsd 0x8(%rsp), %xmm1
mulsd 0x55be1(%rip), %xmm1    # 0xcf450
movsd (%rsp), %xmm0
addsd %xmm1, %xmm0
movsd 0x58(%rsp), %xmm1
addsd (%rax), %xmm1
mulsd 0x55bc6(%rip), %xmm1    # 0xcf450
addsd %xmm0, %xmm1
mulsd 0x5f87a(%rip), %xmm1    # 0xd9110
movsd %xmm1, (%rsp)
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x798b2
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x79cd6
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
jmp 0x79cd1
movsd %xmm0, (%rsp)
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x8270
movq (%r14), %rax
movb 0x2(%rax), %al
leaq 0x10(%rsp), %rsi
movq (%rsi), %rcx
movb %al, 0x2(%rcx)
leaq 0x30(%rsp), %rdi
callq 0x8270
movq (%r14), %rax
movb 0x1(%rax), %al
movq 0x30(%rsp), %rcx
movb %al, 0x1(%rcx)
leaq 0x92be1(%rip), %rdi     # 0x10c4f0
movq %rbx, %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
leaq 0x92bc8(%rip), %rdi     # 0x10c4f0
leaq 0x10(%rsp), %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x58(%rsp)
leaq 0x92bad(%rip), %rdi     # 0x10c4f0
leaq 0x30(%rsp), %rsi
callq 0x34214
movsd 0x8(%rsp), %xmm0
addsd 0x58(%rsp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x8270
movq (%r14), %rax
movb 0x1(%rax), %al
leaq 0x10(%rsp), %rsi
movq (%rsi), %rcx
movb %al, 0x1(%rcx)
leaq 0x30(%rsp), %rdi
callq 0x8270
movq (%r14), %rax
movb 0x2(%rax), %al
movq 0x30(%rsp), %rcx
movb %al, 0x2(%rcx)
leaq 0x92b50(%rip), %rdi     # 0x10c4f0
movq %rbx, %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x58(%rsp)
leaq 0x92b37(%rip), %rdi     # 0x10c4f0
leaq 0x10(%rsp), %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x70(%rsp)
leaq 0x92b1c(%rip), %rdi     # 0x10c4f0
leaq 0x30(%rsp), %rsi
callq 0x34214
movsd 0x58(%rsp), %xmm0
addsd 0x70(%rsp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, 0x58(%rsp)
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x8270
movq (%r14), %rax
movb 0x2(%rax), %al
leaq 0x10(%rsp), %rsi
movq (%rsi), %rcx
movb %al, 0x2(%rcx)
leaq 0x30(%rsp), %rdi
callq 0x8270
movq (%r14), %rax
movb (%rax), %al
movq 0x30(%rsp), %rcx
movb %al, (%rcx)
leaq 0x92ac1(%rip), %rdi     # 0x10c4f0
movq %rbx, %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x70(%rsp)
leaq 0x92aa8(%rip), %rdi     # 0x10c4f0
leaq 0x10(%rsp), %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x68(%rsp)
leaq 0x92a8d(%rip), %rdi     # 0x10c4f0
leaq 0x30(%rsp), %rsi
callq 0x34214
movsd 0x70(%rsp), %xmm0
addsd 0x68(%rsp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, 0x70(%rsp)
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x8270
movq (%r14), %rax
movb (%rax), %al
leaq 0x10(%rsp), %rsi
movq (%rsi), %rcx
movb %al, (%rcx)
leaq 0x30(%rsp), %rdi
callq 0x8270
movq (%r14), %rax
movb 0x2(%rax), %al
movq 0x30(%rsp), %rcx
movb %al, 0x2(%rcx)
leaq 0x92a32(%rip), %rdi     # 0x10c4f0
movq %rbx, %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x68(%rsp)
leaq 0x92a19(%rip), %rdi     # 0x10c4f0
leaq 0x10(%rsp), %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x60(%rsp)
leaq 0x929fe(%rip), %rdi     # 0x10c4f0
leaq 0x30(%rsp), %rsi
callq 0x34214
movsd 0x68(%rsp), %xmm0
addsd 0x60(%rsp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, 0x68(%rsp)
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x8270
movq (%r14), %rax
movb (%rax), %al
leaq 0x10(%rsp), %rsi
movq (%rsi), %rcx
movb %al, (%rcx)
leaq 0x30(%rsp), %rdi
callq 0x8270
movq (%r14), %rax
movb 0x1(%rax), %al
movq 0x30(%rsp), %rcx
movb %al, 0x1(%rcx)
leaq 0x929a3(%rip), %rdi     # 0x10c4f0
movq %rbx, %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x60(%rsp)
leaq 0x9298a(%rip), %rdi     # 0x10c4f0
leaq 0x10(%rsp), %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x78(%rsp)
leaq 0x9296f(%rip), %rdi     # 0x10c4f0
leaq 0x30(%rsp), %rsi
callq 0x34214
movsd 0x60(%rsp), %xmm0
addsd 0x78(%rsp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, 0x60(%rsp)
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x8270
movq (%r14), %rax
movb 0x1(%rax), %al
leaq 0x10(%rsp), %rsi
movq (%rsi), %rcx
movb %al, 0x1(%rcx)
leaq 0x30(%rsp), %rdi
callq 0x8270
movq (%r14), %rax
movb (%rax), %al
movq 0x30(%rsp), %rcx
movb %al, (%rcx)
leaq 0x92914(%rip), %rdi     # 0x10c4f0
movq %rbx, %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x78(%rsp)
leaq 0x928fb(%rip), %rdi     # 0x10c4f0
leaq 0x10(%rsp), %rsi
callq 0x34214
movsd (%rax), %xmm0
movsd %xmm0, 0x80(%rsp)
leaq 0x928dd(%rip), %rdi     # 0x10c4f0
leaq 0x30(%rsp), %rsi
callq 0x34214
movsd 0x8(%rsp), %xmm1
divsd 0x623bd(%rip), %xmm1    # 0xdbfe8
movsd 0x58(%rsp), %xmm2
divsd 0x623af(%rip), %xmm2    # 0xdbfe8
movsd (%rsp), %xmm0
addsd %xmm1, %xmm0
addsd %xmm0, %xmm2
movsd 0x70(%rsp), %xmm0
divsd 0x62394(%rip), %xmm0    # 0xdbfe8
addsd %xmm2, %xmm0
movsd 0x68(%rsp), %xmm1
divsd 0x62382(%rip), %xmm1    # 0xdbfe8
addsd %xmm0, %xmm1
movsd 0x60(%rsp), %xmm0
divsd 0x62370(%rip), %xmm0    # 0xdbfe8
addsd %xmm1, %xmm0
movsd 0x78(%rsp), %xmm1
addsd 0x80(%rsp), %xmm1
addsd (%rax), %xmm1
divsd 0x62351(%rip), %xmm1    # 0xdbfe8
addsd %xmm0, %xmm1
divsd 0x62355(%rip), %xmm1    # 0xdbff8
movsd %xmm1, (%rsp)
movq 0x30(%rsp), %rdi
cmpq %r13, %rdi
je 0x79cbf
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x79cd6
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
movsd (%rsp), %xmm0
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x6383f(%rip), %rdi     # 0xdd533
leaq 0x58e17(%rip), %rsi     # 0xd2b12
leaq 0x63908(%rip), %rcx     # 0xdd60a
movl $0x304, %edx            # imm = 0x304
callq 0x82c0
leaq 0x638da(%rip), %rdi     # 0xdd5ed
leaq 0x58df8(%rip), %rsi     # 0xd2b12
leaq 0x638e9(%rip), %rcx     # 0xdd60a
movl $0x305, %edx            # imm = 0x305
callq 0x82c0
jmp 0x79d32
movq %rax, %rbx
jmp 0x79d7f
movq %rax, %rbx
jmp 0x79d51
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x79d51
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x79d96
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
jmp 0x79d91
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r13, %rdi
je 0x79d7f
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x79d96
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
movq %rbx, %rdi
callq 0x8840