// File: fjamour[P]icentral/src/qube.cc
// Function: muc_t::i_iteration_2(unsigned int, unsigned int, unsigned int, int, int, std::tr1::unordered_map<unsigned int, double, std::tr1::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, double>>>&)
void muc_t::i_iteration_2(node_id_t s,
                        node_id_t src,
                        node_id_t dst,
                        int d_src,
                        int d_dst,
                        tr1_map_t(double)& bc_map)
{
        vector<vector<node_id_t> >&  P = muc_fast_subgraph.P; 
        vector<int>&                 path_cnt_map = muc_fast_subgraph.path_cnt_vec;
        vector<int>&                 path_cnt_inc_map = muc_fast_subgraph.path_cnt_inc_vec;
        vector<int>&                 dist_map = muc_fast_subgraph.dist_vec;
        vector<double>&              pair_dep_map = muc_fast_subgraph.pair_dep_vec;
        vector<double>&              sigma_t_map = muc_fast_subgraph.sigma_t_map;
        vector<bool>&                visited_vec = muc_fast_subgraph.visited_vec;
        queue<node_id_t>&            Q = muc_fast_subgraph.Q;
        vector<node_id_t>            S;
        
        muc_fast_subgraph.init_maps();           

        path_cnt_map[s] = 1;
        dist_map[s] = 0;
        Q.push(s);
        while(!Q.empty()) {
            node_id_t v_i = Q.front(); Q.pop();
            S.push_back(v_i);
            for(int i = 0; i < muc_fast_subgraph.nodes_vec[v_i].size(); ++i) {
                node_id_t v_n = muc_fast_subgraph.nodes_vec[v_i][i];
                if(dist_map[v_n] < 0) {
                    Q.push(v_n);
                    dist_map[v_n] = dist_map[v_i] + 1;
                }
                if(dist_map[v_n] == dist_map[v_i] + 1) {
                    path_cnt_map[v_n] = path_cnt_map[v_n] + path_cnt_map[v_i];
                    P[v_n].push_back(v_i);
                }
            }
        }
        
        /*
         * steps:
         * 1. do the reverse BFS and subtract the olds
         * 2. compute the new counts
         * 3. fix the order of S
         * 4. add the new increments
         */
        //RBFS to subtract old pair dependency
        for(int i = S.size()-1; i >= 0; --i) {
            node_id_t v_n = S[i];
            if(   tmp_conn_vertex_map.find(s) != tmp_conn_vertex_map.end()
               && tmp_conn_vertex_map.find(v_n) != tmp_conn_vertex_map.end()
               && s != v_n) {
                int VG_s, VG_n;
                VG_s = tmp_subgraph_map[s].size();
                VG_n = tmp_subgraph_map[v_n].size();
                int c_t = VG_s*VG_n;
                sigma_t_map[v_n] =  sigma_t_map[v_n] + c_t;
                /*this guy must not change!*/
                //bc_map[v_n] = bc_map[v_n] - c_t;
            }
            for(int i = 0; i < P[v_n].size(); ++i) {
                node_id_t v_p = P[v_n][i];
                double sp_sn = ((double)path_cnt_map[v_p]/path_cnt_map[v_n]);
                pair_dep_map[v_p] = pair_dep_map[v_p] + sp_sn*(1+pair_dep_map[v_n]);
                if(tmp_conn_vertex_map.find(s) != tmp_conn_vertex_map.end()) {
                    sigma_t_map[v_p] = sigma_t_map[v_p] + sigma_t_map[v_n]*sp_sn;
                    
                    node_id_t new_v_p = muc_fast_subgraph.inout_label_map[v_p];
                    bc_map[new_v_p] = bc_map[new_v_p] - sigma_t_map[v_n]*sp_sn/2.0;
                }
            }
            if(s != v_n) {
                node_id_t new_v_n = muc_fast_subgraph.inout_label_map[v_n];
                bc_map[new_v_n] = bc_map[new_v_n] - pair_dep_map[v_n]/2.0;
            }
            if(tmp_conn_vertex_map.find(s) != tmp_conn_vertex_map.end()) {
                int VG_s = tmp_subgraph_map[s].size();
                
                node_id_t new_v_n = muc_fast_subgraph.inout_label_map[v_n];
                bc_map[new_v_n] = bc_map[new_v_n] - pair_dep_map[v_n]*VG_s;
            }
        }
                
        //Compute new path counts and paths
        Q.push(dst);
        dist_map[dst] = dist_map[src] + 1;
        P[dst].clear();
        P[dst].push_back(src);
        path_cnt_inc_map[dst] = path_cnt_map[src];
        path_cnt_map[dst] = path_cnt_inc_map[dst];
        visited_vec[dst] = true;
        
        while (!Q.empty()) {
            node_id_t v = Q.front();
            Q.pop();
            vector<node_id_t> nbr_vec = muc_fast_subgraph.get_nbrs(v);
            for (int nbr_idx = 0; nbr_idx < nbr_vec.size(); ++nbr_idx) {
                node_id_t w = nbr_vec[nbr_idx];
                if (dist_map[w] > (dist_map[v] + 1)) {
                    dist_map[w] = dist_map[v] + 1;
                    P[w].clear();
                    P[w].push_back(v);
                    path_cnt_map[w] = 0;
                    path_cnt_inc_map[w] = path_cnt_inc_map[v];
                    path_cnt_map[w] += path_cnt_inc_map[w];
                    if(!visited_vec[w]) {
                        visited_vec[w] = true;
                        Q.push(w);
                    }
                } else if (dist_map[w] == (dist_map[v] + 1)) {
                    path_cnt_inc_map[w] += path_cnt_inc_map[v];
                    path_cnt_map[w] += path_cnt_inc_map[v];
                    if(find(P[w].begin(), P[w].end(), v) == P[w].end()) {
                        P[w].push_back(v);
                    }
                    if(!visited_vec[w]) {
                        visited_vec[w] = true;
                        Q.push(w);
                    }
                }
            }
        }
        
    
        //fix order of S
        //IMP::THIS CAN BE MADE MUCH BETTER!
        //HEAP FOR EXAMPLE
        //EVEN THE SWAPPING CAN BE DONE MORE EFFICIENTLY
        //for now it's not a bottleneck
        for(int i = 1; i < S.size(); ++i) {
            if(dist_map[S[i-1]] > dist_map[S[i]]) {
                int j = i;
                while(dist_map[S[j-1]] > dist_map[S[j]]) {
                    node_id_t tmp = S[j-1];
                    S[j-1] = S[j];
                    S[j] = tmp;
                    --j;
                }
            }
        }
        
        muc_fast_subgraph.i_fill_map<double>(pair_dep_map, 0);
        muc_fast_subgraph.i_fill_map<double>(sigma_t_map, 0);
        //RBFS to add the new pair dependencies
        for(int i = S.size()-1; i >= 0; --i) {
            node_id_t v_n = S[i];
            if(   tmp_conn_vertex_map.find(s) != tmp_conn_vertex_map.end()
               && tmp_conn_vertex_map.find(v_n) != tmp_conn_vertex_map.end()
               && s != v_n) {
                int VG_s, VG_n;
                VG_s = tmp_subgraph_map[s].size();
                VG_n = tmp_subgraph_map[v_n].size();
                int c_t = VG_s*VG_n;
                sigma_t_map[v_n] =  sigma_t_map[v_n] + c_t;
                /*this guy must not change!*/
                //bc_map[v_n] = bc_map[v_n] + c_t;
            }
            for(int i = 0; i < P[v_n].size(); ++i) {
                node_id_t v_p = P[v_n][i];
                double sp_sn = ((double)path_cnt_map[v_p]/path_cnt_map[v_n]);
                pair_dep_map[v_p] = pair_dep_map[v_p] + sp_sn*(1+pair_dep_map[v_n]);
                if(tmp_conn_vertex_map.find(s) != tmp_conn_vertex_map.end()) {
                    sigma_t_map[v_p] = sigma_t_map[v_p] + sigma_t_map[v_n]*sp_sn;
                    
                    node_id_t new_v_p = muc_fast_subgraph.inout_label_map[v_p];
                    bc_map[new_v_p] = bc_map[new_v_p] + sigma_t_map[v_n]*sp_sn/2.0;
                }
            }
            if(s != v_n) {
                node_id_t new_v_n = muc_fast_subgraph.inout_label_map[v_n];
                bc_map[new_v_n] = bc_map[new_v_n] + pair_dep_map[v_n]/2.0;
            }
            if(tmp_conn_vertex_map.find(s) != tmp_conn_vertex_map.end()) {
                int VG_s = tmp_subgraph_map[s].size();
                
                node_id_t new_v_n = muc_fast_subgraph.inout_label_map[v_n];
                bc_map[new_v_n] = bc_map[new_v_n] + pair_dep_map[v_n]*VG_s;
            }
        }
}

// Assembly:
subq $0x6a8, %rsp            # imm = 0x6A8
movq 0x6b0(%rsp), %rax
movq %rdi, 0x6a0(%rsp)
movl %esi, 0x69c(%rsp)
movl %edx, 0x698(%rsp)
movl %ecx, 0x694(%rsp)
movl %r8d, 0x690(%rsp)
movl %r9d, 0x68c(%rsp)
movq 0x6a0(%rsp), %rax
movq %rax, 0x3f0(%rsp)
movq %rax, %rcx
addq $0x310, %rcx            # imm = 0x310
movq %rcx, 0x3f8(%rsp)
movq %rax, %rcx
addq $0x3a0, %rcx            # imm = 0x3A0
movq %rcx, 0x680(%rsp)
movq %rax, %rcx
addq $0x3b8, %rcx            # imm = 0x3B8
movq %rcx, 0x678(%rsp)
movq %rax, %rcx
addq $0x430, %rcx            # imm = 0x430
movq %rcx, 0x670(%rsp)
movq %rax, %rcx
addq $0x3e8, %rcx            # imm = 0x3E8
movq %rcx, 0x668(%rsp)
movq %rax, %rcx
addq $0x400, %rcx            # imm = 0x400
movq %rcx, 0x660(%rsp)
movq %rax, %rcx
addq $0x448, %rcx            # imm = 0x448
movq %rcx, 0x658(%rsp)
movq %rax, %rcx
addq $0x478, %rcx            # imm = 0x478
movq %rcx, 0x650(%rsp)
addq $0x4b8, %rax            # imm = 0x4B8
movq %rax, 0x648(%rsp)
leaq 0x630(%rsp), %rdi
callq 0xfcd0
movq 0x3f8(%rsp), %rdi
callq 0x76f80
jmp 0x6c066
movq 0x678(%rsp), %rdi
movl 0x69c(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl $0x1, (%rax)
movq 0x668(%rsp), %rdi
movl 0x69c(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl $0x0, (%rax)
movq 0x648(%rsp), %rdi
leaq 0x69c(%rsp), %rsi
callq 0x105b0
jmp 0x6c0b5
jmp 0x6c0b7
movq 0x648(%rsp), %rdi
callq 0x105e0
movb %al, 0x3ef(%rsp)
jmp 0x6c0cd
movb 0x3ef(%rsp), %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x6c0df
jmp 0x6c341
movq 0x648(%rsp), %rdi
callq 0x10600
movq %rax, 0x3e0(%rsp)
jmp 0x6c0f6
movq 0x3e0(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x620(%rsp)
movq 0x648(%rsp), %rdi
callq 0x10610
jmp 0x6c116
leaq 0x630(%rsp), %rdi
leaq 0x620(%rsp), %rsi
callq 0xfce0
jmp 0x6c12d
movl $0x0, 0x61c(%rsp)
movq 0x3f0(%rsp), %rdi
movslq 0x61c(%rsp), %rax
movq %rax, 0x3d8(%rsp)
addq $0x310, %rdi            # imm = 0x310
movl 0x620(%rsp), %eax
movl %eax, %esi
callq 0x100e0
movq %rax, %rdi
callq 0xfd50
movq %rax, %rcx
movq 0x3d8(%rsp), %rax
cmpq %rcx, %rax
jae 0x6c33c
movq 0x3f0(%rsp), %rdi
addq $0x310, %rdi            # imm = 0x310
movl 0x620(%rsp), %eax
movl %eax, %esi
callq 0x100e0
movq %rax, %rdi
movslq 0x61c(%rsp), %rsi
callq 0xfbc0
movl (%rax), %eax
movl %eax, 0x618(%rsp)
movq 0x668(%rsp), %rdi
movl 0x618(%rsp), %eax
movl %eax, %esi
callq 0xfc50
cmpl $0x0, (%rax)
jge 0x6c245
movq 0x648(%rsp), %rdi
leaq 0x618(%rsp), %rsi
callq 0x105b0
jmp 0x6c1e9
movq 0x668(%rsp), %rdi
movl 0x620(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl (%rax), %eax
addl $0x1, %eax
movl %eax, 0x3d4(%rsp)
movq 0x668(%rsp), %rdi
movl 0x618(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl 0x3d4(%rsp), %ecx
movl %ecx, (%rax)
jmp 0x6c245
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x628(%rsp)
movl %eax, 0x624(%rsp)
jmp 0x6dfd2
movq 0x668(%rsp), %rdi
movl 0x618(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl (%rax), %eax
movl %eax, 0x3d0(%rsp)
movq 0x668(%rsp), %rdi
movl 0x620(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movq %rax, %rcx
movl 0x3d0(%rsp), %eax
movl (%rcx), %ecx
addl $0x1, %ecx
cmpl %ecx, %eax
jne 0x6c324
movq 0x678(%rsp), %rdi
movl 0x618(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl (%rax), %eax
movl %eax, 0x3c8(%rsp)
movq 0x678(%rsp), %rdi
movl 0x620(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movq %rax, %rcx
movl 0x3c8(%rsp), %eax
movl (%rcx), %ecx
addl %ecx, %eax
movl %eax, 0x3cc(%rsp)
movq 0x678(%rsp), %rdi
movl 0x618(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl 0x3cc(%rsp), %ecx
movl %ecx, (%rax)
movq 0x680(%rsp), %rdi
movl 0x618(%rsp), %eax
movl %eax, %esi
callq 0x100e0
movq %rax, %rdi
leaq 0x620(%rsp), %rsi
callq 0xfce0
jmp 0x6c322
jmp 0x6c324
jmp 0x6c326
movl 0x61c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x61c(%rsp)
jmp 0x6c138
jmp 0x6c0b7
leaq 0x630(%rsp), %rdi
callq 0xfd50
subq $0x1, %rax
movl %eax, 0x614(%rsp)
cmpl $0x0, 0x614(%rsp)
jl 0x6ccb6
movslq 0x614(%rsp), %rsi
leaq 0x630(%rsp), %rdi
callq 0xfbc0
movq 0x3f0(%rsp), %rdi
movl (%rax), %eax
movl %eax, 0x610(%rsp)
addq $0x508, %rdi            # imm = 0x508
leaq 0x69c(%rsp), %rsi
callq 0x6e740
movq %rdx, 0x3b8(%rsp)
movq %rax, 0x3c0(%rsp)
jmp 0x6c3b3
movq 0x3f0(%rsp), %rdi
movq 0x3b8(%rsp), %rax
movq 0x3c0(%rsp), %rcx
movq %rcx, 0x600(%rsp)
movq %rax, 0x608(%rsp)
addq $0x508, %rdi            # imm = 0x508
callq 0x6e3c0
movq %rdx, 0x3a8(%rsp)
movq %rax, 0x3b0(%rsp)
jmp 0x6c3f9
movq 0x3a8(%rsp), %rax
movq 0x3b0(%rsp), %rcx
movq %rcx, 0x5f0(%rsp)
movq %rax, 0x5f8(%rsp)
leaq 0x600(%rsp), %rdi
leaq 0x5f0(%rsp), %rsi
callq 0x6e3a0
movb %al, 0x3a7(%rsp)
jmp 0x6c437
movb 0x3a7(%rsp), %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x3a6(%rsp)
jne 0x6c451
jmp 0x6c532
movq 0x3f0(%rsp), %rdi
addq $0x508, %rdi            # imm = 0x508
leaq 0x610(%rsp), %rsi
callq 0x6e740
movq %rdx, 0x390(%rsp)
movq %rax, 0x398(%rsp)
jmp 0x6c47f
movq 0x3f0(%rsp), %rdi
movq 0x390(%rsp), %rax
movq 0x398(%rsp), %rcx
movq %rcx, 0x5e0(%rsp)
movq %rax, 0x5e8(%rsp)
addq $0x508, %rdi            # imm = 0x508
callq 0x6e3c0
movq %rdx, 0x380(%rsp)
movq %rax, 0x388(%rsp)
jmp 0x6c4c5
movq 0x380(%rsp), %rax
movq 0x388(%rsp), %rcx
movq %rcx, 0x5d0(%rsp)
movq %rax, 0x5d8(%rsp)
leaq 0x5e0(%rsp), %rdi
leaq 0x5d0(%rsp), %rsi
callq 0x6e3a0
movb %al, 0x37f(%rsp)
jmp 0x6c503
movb 0x37f(%rsp), %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x3a6(%rsp)
jne 0x6c51a
jmp 0x6c532
movl 0x69c(%rsp), %eax
cmpl 0x610(%rsp), %eax
setne %al
movb %al, 0x3a6(%rsp)
movb 0x3a6(%rsp), %al
testb $0x1, %al
jne 0x6c542
jmp 0x6c643
movq 0x3f0(%rsp), %rdi
addq $0x538, %rdi            # imm = 0x538
leaq 0x69c(%rsp), %rsi
callq 0x6e500
movq %rax, 0x370(%rsp)
jmp 0x6c568
movq 0x370(%rsp), %rdi
callq 0x52790
movq %rax, 0x368(%rsp)
jmp 0x6c57f
movq 0x3f0(%rsp), %rdi
movq 0x368(%rsp), %rax
movl %eax, 0x5cc(%rsp)
addq $0x538, %rdi            # imm = 0x538
leaq 0x610(%rsp), %rsi
callq 0x6e500
movq %rax, 0x360(%rsp)
jmp 0x6c5b4
movq 0x360(%rsp), %rdi
callq 0x52790
movq %rax, 0x358(%rsp)
jmp 0x6c5cb
movq 0x358(%rsp), %rax
movl %eax, 0x5c8(%rsp)
movl 0x5cc(%rsp), %eax
imull 0x5c8(%rsp), %eax
movl %eax, 0x5c4(%rsp)
movq 0x658(%rsp), %rdi
movl 0x610(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd (%rax), %xmm0
cvtsi2sdl 0x5c4(%rsp), %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, 0x350(%rsp)
movq 0x658(%rsp), %rdi
movl 0x610(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd 0x350(%rsp), %xmm0
movsd %xmm0, (%rax)
movl $0x0, 0x5c0(%rsp)
movslq 0x5c0(%rsp), %rax
movq %rax, 0x348(%rsp)
movq 0x680(%rsp), %rdi
movl 0x610(%rsp), %eax
movl %eax, %esi
callq 0x100e0
movq %rax, %rdi
callq 0xfd50
movq %rax, %rcx
movq 0x348(%rsp), %rax
cmpq %rcx, %rax
jae 0x6c9e7
movq 0x680(%rsp), %rdi
movl 0x610(%rsp), %eax
movl %eax, %esi
callq 0x100e0
movq %rax, %rdi
movslq 0x5c0(%rsp), %rsi
callq 0xfbc0
movl (%rax), %eax
movl %eax, 0x5bc(%rsp)
movq 0x678(%rsp), %rdi
movl 0x5bc(%rsp), %eax
movl %eax, %esi
callq 0xfc50
cvtsi2sdl (%rax), %xmm0
movsd %xmm0, 0x318(%rsp)
movq 0x678(%rsp), %rdi
movl 0x610(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movsd 0x318(%rsp), %xmm0
cvtsi2sdl (%rax), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, 0x5b0(%rsp)
movq 0x660(%rsp), %rdi
movl 0x5bc(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd (%rax), %xmm0
movsd %xmm0, 0x328(%rsp)
movsd 0x5b0(%rsp), %xmm0
movsd %xmm0, 0x320(%rsp)
movq 0x660(%rsp), %rdi
movl 0x610(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd 0x320(%rsp), %xmm0
movsd 0x328(%rsp), %xmm1
movsd (%rax), %xmm2
movsd 0xe895(%rip), %xmm3     # 0x7b010
addsd %xmm3, %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x330(%rsp)
movq 0x660(%rsp), %rdi
movl 0x5bc(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd 0x330(%rsp), %xmm0
movq 0x3f0(%rsp), %rdi
movsd %xmm0, (%rax)
addq $0x508, %rdi            # imm = 0x508
leaq 0x69c(%rsp), %rsi
callq 0x6e740
movq %rdx, 0x338(%rsp)
movq %rax, 0x340(%rsp)
jmp 0x6c7e1
movq 0x3f0(%rsp), %rdi
movq 0x338(%rsp), %rax
movq 0x340(%rsp), %rcx
movq %rcx, 0x5a0(%rsp)
movq %rax, 0x5a8(%rsp)
addq $0x508, %rdi            # imm = 0x508
callq 0x6e3c0
movq %rdx, 0x308(%rsp)
movq %rax, 0x310(%rsp)
jmp 0x6c827
movq 0x308(%rsp), %rax
movq 0x310(%rsp), %rcx
movq %rcx, 0x590(%rsp)
movq %rax, 0x598(%rsp)
leaq 0x5a0(%rsp), %rdi
leaq 0x590(%rsp), %rsi
callq 0x6e3a0
movb %al, 0x307(%rsp)
jmp 0x6c865
movb 0x307(%rsp), %al
testb $0x1, %al
jne 0x6c875
jmp 0x6c9cf
movq 0x658(%rsp), %rdi
movl 0x5bc(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd (%rax), %xmm0
movsd %xmm0, 0x2e8(%rsp)
movq 0x658(%rsp), %rdi
movl 0x610(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd 0x2e8(%rsp), %xmm1
movsd (%rax), %xmm0
movsd 0x5b0(%rsp), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x2f0(%rsp)
movq 0x658(%rsp), %rdi
movl 0x5bc(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd 0x2f0(%rsp), %xmm0
movq 0x3f0(%rsp), %rdi
movsd %xmm0, (%rax)
addq $0x358, %rdi            # imm = 0x358
movl 0x5bc(%rsp), %eax
movl %eax, %esi
callq 0xfbc0
movl (%rax), %eax
movl %eax, 0x58c(%rsp)
movq 0x6b0(%rsp), %rdi
leaq 0x58c(%rsp), %rsi
callq 0x2d310
movq %rax, 0x2f8(%rsp)
jmp 0x6c93d
movq 0x2f8(%rsp), %rax
movsd (%rax), %xmm0
movsd %xmm0, 0x2d0(%rsp)
movq 0x658(%rsp), %rdi
movl 0x610(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd 0x2d0(%rsp), %xmm0
movsd (%rax), %xmm1
movsd 0x5b0(%rsp), %xmm2
mulsd %xmm2, %xmm1
movsd 0xe8de(%rip), %xmm2     # 0x7b268
mulsd %xmm2, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, 0x2d8(%rsp)
movq 0x6b0(%rsp), %rdi
leaq 0x58c(%rsp), %rsi
callq 0x2d310
movq %rax, 0x2e0(%rsp)
jmp 0x6c9ba
movq 0x2e0(%rsp), %rax
movsd 0x2d8(%rsp), %xmm0
movsd %xmm0, (%rax)
jmp 0x6c9d1
movl 0x5c0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x5c0(%rsp)
jmp 0x6c64e
movl 0x69c(%rsp), %eax
cmpl 0x610(%rsp), %eax
je 0x6cac5
movq 0x3f0(%rsp), %rdi
addq $0x358, %rdi            # imm = 0x358
movl 0x610(%rsp), %eax
movl %eax, %esi
callq 0xfbc0
movl (%rax), %eax
movl %eax, 0x588(%rsp)
movq 0x6b0(%rsp), %rdi
leaq 0x588(%rsp), %rsi
callq 0x2d310
movq %rax, 0x2c8(%rsp)
jmp 0x6ca40
movq 0x2c8(%rsp), %rax
movsd (%rax), %xmm0
movsd %xmm0, 0x2b0(%rsp)
movq 0x660(%rsp), %rdi
movl 0x610(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd 0x2b0(%rsp), %xmm0
movsd (%rax), %xmm1
movsd 0xe7e8(%rip), %xmm2     # 0x7b268
mulsd %xmm2, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, 0x2b8(%rsp)
movq 0x6b0(%rsp), %rdi
leaq 0x588(%rsp), %rsi
callq 0x2d310
movq %rax, 0x2c0(%rsp)
jmp 0x6cab0
movq 0x2c0(%rsp), %rax
movsd 0x2b8(%rsp), %xmm0
movsd %xmm0, (%rax)
movq 0x3f0(%rsp), %rdi
addq $0x508, %rdi            # imm = 0x508
leaq 0x69c(%rsp), %rsi
callq 0x6e740
movq %rdx, 0x2a0(%rsp)
movq %rax, 0x2a8(%rsp)
jmp 0x6caf3
movq 0x3f0(%rsp), %rdi
movq 0x2a0(%rsp), %rax
movq 0x2a8(%rsp), %rcx
movq %rcx, 0x578(%rsp)
movq %rax, 0x580(%rsp)
addq $0x508, %rdi            # imm = 0x508
callq 0x6e3c0
movq %rdx, 0x290(%rsp)
movq %rax, 0x298(%rsp)
jmp 0x6cb39
movq 0x290(%rsp), %rax
movq 0x298(%rsp), %rcx
movq %rcx, 0x568(%rsp)
movq %rax, 0x570(%rsp)
leaq 0x578(%rsp), %rdi
leaq 0x568(%rsp), %rsi
callq 0x6e3a0
movb %al, 0x28f(%rsp)
jmp 0x6cb77
movb 0x28f(%rsp), %al
testb $0x1, %al
jne 0x6cb87
jmp 0x6cc9e
movq 0x3f0(%rsp), %rdi
addq $0x538, %rdi            # imm = 0x538
leaq 0x69c(%rsp), %rsi
callq 0x6e500
movq %rax, 0x280(%rsp)
jmp 0x6cbad
movq 0x280(%rsp), %rdi
callq 0x52790
movq %rax, 0x278(%rsp)
jmp 0x6cbc4
movq 0x3f0(%rsp), %rdi
movq 0x278(%rsp), %rax
movl %eax, 0x564(%rsp)
addq $0x358, %rdi            # imm = 0x358
movl 0x610(%rsp), %eax
movl %eax, %esi
callq 0xfbc0
movl (%rax), %eax
movl %eax, 0x560(%rsp)
movq 0x6b0(%rsp), %rdi
leaq 0x560(%rsp), %rsi
callq 0x2d310
movq %rax, 0x270(%rsp)
jmp 0x6cc18
movq 0x270(%rsp), %rax
movsd (%rax), %xmm0
movsd %xmm0, 0x258(%rsp)
movq 0x660(%rsp), %rdi
movl 0x610(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd 0x258(%rsp), %xmm0
movsd (%rax), %xmm1
cvtsi2sdl 0x564(%rsp), %xmm2
mulsd %xmm2, %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, 0x260(%rsp)
movq 0x6b0(%rsp), %rdi
leaq 0x560(%rsp), %rsi
callq 0x2d310
movq %rax, 0x268(%rsp)
jmp 0x6cc89
movq 0x268(%rsp), %rax
movsd 0x260(%rsp), %xmm0
movsd %xmm0, (%rax)
jmp 0x6cca0
movl 0x614(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x614(%rsp)
jmp 0x6c359
movq 0x648(%rsp), %rdi
leaq 0x694(%rsp), %rsi
callq 0x105b0
jmp 0x6cccd
movq 0x668(%rsp), %rdi
movl 0x698(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl (%rax), %eax
incl %eax
movl %eax, 0x254(%rsp)
movq 0x668(%rsp), %rdi
movl 0x694(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl 0x254(%rsp), %ecx
movl %ecx, (%rax)
movq 0x680(%rsp), %rdi
movl 0x694(%rsp), %eax
movl %eax, %esi
callq 0x100e0
movq %rax, %rdi
callq 0x10a50
movq 0x680(%rsp), %rdi
movl 0x694(%rsp), %eax
movl %eax, %esi
callq 0x100e0
movq %rax, %rdi
leaq 0x698(%rsp), %rsi
callq 0xfce0
jmp 0x6cd53
movq 0x678(%rsp), %rdi
movl 0x698(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl (%rax), %eax
movl %eax, 0x238(%rsp)
movq 0x670(%rsp), %rdi
movl 0x694(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl 0x238(%rsp), %ecx
movl %ecx, (%rax)
movq 0x670(%rsp), %rdi
movl 0x694(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl (%rax), %eax
movl %eax, 0x23c(%rsp)
movq 0x678(%rsp), %rdi
movl 0x694(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl 0x23c(%rsp), %ecx
movl %ecx, (%rax)
movq 0x650(%rsp), %rdi
movl 0x694(%rsp), %eax
movl %eax, %esi
callq 0x10a70
movq %rdx, 0x240(%rsp)
movq %rax, 0x248(%rsp)
jmp 0x6cdf7
movq 0x240(%rsp), %rax
movq 0x248(%rsp), %rcx
movq %rcx, 0x550(%rsp)
movq %rax, 0x558(%rsp)
leaq 0x550(%rsp), %rdi
movl $0x1, %esi
callq 0x10ad0
movq 0x648(%rsp), %rdi
callq 0x105e0
movb %al, 0x237(%rsp)
jmp 0x6ce3f
movb 0x237(%rsp), %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x6ce51
jmp 0x6d446
movq 0x648(%rsp), %rdi
callq 0x10600
movq %rax, 0x228(%rsp)
jmp 0x6ce68
movq 0x228(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x54c(%rsp)
movq 0x648(%rsp), %rdi
callq 0x10610
jmp 0x6ce88
movq 0x3f0(%rsp), %rdi
addq $0x310, %rdi            # imm = 0x310
movl 0x54c(%rsp), %esi
callq 0x76f50
movq %rax, 0x220(%rsp)
jmp 0x6cead
movq 0x220(%rsp), %rsi
leaq 0x530(%rsp), %rdi
callq 0x10b20
jmp 0x6cec4
movl $0x0, 0x52c(%rsp)
movslq 0x52c(%rsp), %rax
movq %rax, 0x218(%rsp)
leaq 0x530(%rsp), %rdi
callq 0xfd50
movq %rax, %rcx
movq 0x218(%rsp), %rax
cmpq %rcx, %rax
jae 0x6d434
movslq 0x52c(%rsp), %rsi
leaq 0x530(%rsp), %rdi
callq 0xfbc0
movl (%rax), %eax
movl %eax, 0x528(%rsp)
movq 0x668(%rsp), %rdi
movl 0x528(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl (%rax), %eax
movl %eax, 0x214(%rsp)
movq 0x668(%rsp), %rdi
movl 0x54c(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movq %rax, %rcx
movl 0x214(%rsp), %eax
movl (%rcx), %ecx
addl $0x1, %ecx
cmpl %ecx, %eax
jle 0x6d18a
movq 0x668(%rsp), %rdi
movl 0x54c(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl (%rax), %eax
incl %eax
movl %eax, 0x210(%rsp)
movq 0x668(%rsp), %rdi
movl 0x528(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl 0x210(%rsp), %ecx
movl %ecx, (%rax)
movq 0x680(%rsp), %rdi
movl 0x528(%rsp), %eax
movl %eax, %esi
callq 0x100e0
movq %rax, %rdi
callq 0x10a50
movq 0x680(%rsp), %rdi
movl 0x528(%rsp), %eax
movl %eax, %esi
callq 0x100e0
movq %rax, %rdi
leaq 0x54c(%rsp), %rsi
callq 0xfce0
jmp 0x6cff0
movq 0x678(%rsp), %rdi
movl 0x528(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl $0x0, (%rax)
movq 0x670(%rsp), %rdi
movl 0x54c(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl (%rax), %eax
movl %eax, 0x1f8(%rsp)
movq 0x670(%rsp), %rdi
movl 0x528(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl 0x1f8(%rsp), %ecx
movl %ecx, (%rax)
movq 0x670(%rsp), %rdi
movl 0x528(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl (%rax), %eax
movl %eax, 0x1fc(%rsp)
movq 0x678(%rsp), %rdi
movl 0x528(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl 0x1fc(%rsp), %edx
movl (%rax), %ecx
addl %edx, %ecx
movl %ecx, (%rax)
movq 0x650(%rsp), %rdi
movl 0x528(%rsp), %eax
movl %eax, %esi
callq 0x10a70
movq %rdx, 0x200(%rsp)
movq %rax, 0x208(%rsp)
jmp 0x6d0b4
movq 0x200(%rsp), %rax
movq 0x208(%rsp), %rcx
movq %rcx, 0x518(%rsp)
movq %rax, 0x520(%rsp)
leaq 0x518(%rsp), %rdi
callq 0x10c20
xorb $-0x1, %al
testb $0x1, %al
jne 0x6d0ec
jmp 0x6d185
movq 0x650(%rsp), %rdi
movl 0x528(%rsp), %eax
movl %eax, %esi
callq 0x10a70
movq %rdx, 0x1e8(%rsp)
movq %rax, 0x1f0(%rsp)
jmp 0x6d114
movq 0x1e8(%rsp), %rax
movq 0x1f0(%rsp), %rcx
movq %rcx, 0x508(%rsp)
movq %rax, 0x510(%rsp)
leaq 0x508(%rsp), %rdi
movl $0x1, %esi
callq 0x10ad0
movq 0x648(%rsp), %rdi
leaq 0x528(%rsp), %rsi
callq 0x105b0
jmp 0x6d15d
jmp 0x6d185
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x628(%rsp)
movl %eax, 0x624(%rsp)
leaq 0x530(%rsp), %rdi
callq 0x10520
jmp 0x6dfd2
jmp 0x6d41c
movq 0x668(%rsp), %rdi
movl 0x528(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl (%rax), %eax
movl %eax, 0x1e4(%rsp)
movq 0x668(%rsp), %rdi
movl 0x54c(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movq %rax, %rcx
movl 0x1e4(%rsp), %eax
movl (%rcx), %ecx
addl $0x1, %ecx
cmpl %ecx, %eax
jne 0x6d41a
movq 0x670(%rsp), %rdi
movl 0x54c(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl (%rax), %eax
movl %eax, 0x1d0(%rsp)
movq 0x670(%rsp), %rdi
movl 0x528(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl 0x1d0(%rsp), %edx
movl (%rax), %ecx
addl %edx, %ecx
movl %ecx, (%rax)
movq 0x670(%rsp), %rdi
movl 0x54c(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl (%rax), %eax
movl %eax, 0x1d4(%rsp)
movq 0x678(%rsp), %rdi
movl 0x528(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movl 0x1d4(%rsp), %edx
movl (%rax), %ecx
addl %edx, %ecx
movl %ecx, (%rax)
movq 0x680(%rsp), %rdi
movl 0x528(%rsp), %eax
movl %eax, %esi
callq 0x100e0
movq %rax, %rdi
callq 0x10cf0
movq %rax, 0x4f8(%rsp)
movq 0x680(%rsp), %rdi
movl 0x528(%rsp), %eax
movl %eax, %esi
callq 0x100e0
movq %rax, %rdi
callq 0x10d20
movq %rax, 0x4f0(%rsp)
movq 0x4f8(%rsp), %rdi
movq 0x4f0(%rsp), %rsi
leaq 0x54c(%rsp), %rdx
callq 0x10c90
movq %rax, 0x1d8(%rsp)
jmp 0x6d2cd
movq 0x1d8(%rsp), %rax
movq %rax, 0x500(%rsp)
movq 0x680(%rsp), %rdi
movl 0x528(%rsp), %eax
movl %eax, %esi
callq 0x100e0
movq %rax, %rdi
callq 0x10d20
movq %rax, 0x4e8(%rsp)
leaq 0x500(%rsp), %rdi
leaq 0x4e8(%rsp), %rsi
callq 0x10c50
testb $0x1, %al
jne 0x6d31e
jmp 0x6d348
movq 0x680(%rsp), %rdi
movl 0x528(%rsp), %eax
movl %eax, %esi
callq 0x100e0
movq %rax, %rdi
leaq 0x54c(%rsp), %rsi
callq 0xfce0
jmp 0x6d346
jmp 0x6d348
movq 0x650(%rsp), %rdi
movl 0x528(%rsp), %eax
movl %eax, %esi
callq 0x10a70
movq %rdx, 0x1c0(%rsp)
movq %rax, 0x1c8(%rsp)
jmp 0x6d370
movq 0x1c0(%rsp), %rax
movq 0x1c8(%rsp), %rcx
movq %rcx, 0x4d8(%rsp)
movq %rax, 0x4e0(%rsp)
leaq 0x4d8(%rsp), %rdi
callq 0x10c20
xorb $-0x1, %al
testb $0x1, %al
jne 0x6d3a5
jmp 0x6d418
movq 0x650(%rsp), %rdi
movl 0x528(%rsp), %eax
movl %eax, %esi
callq 0x10a70
movq %rdx, 0x1b0(%rsp)
movq %rax, 0x1b8(%rsp)
jmp 0x6d3cd
movq 0x1b0(%rsp), %rax
movq 0x1b8(%rsp), %rcx
movq %rcx, 0x4c8(%rsp)
movq %rax, 0x4d0(%rsp)
leaq 0x4c8(%rsp), %rdi
movl $0x1, %esi
callq 0x10ad0
movq 0x648(%rsp), %rdi
leaq 0x528(%rsp), %rsi
callq 0x105b0
jmp 0x6d416
jmp 0x6d418
jmp 0x6d41a
jmp 0x6d41c
jmp 0x6d41e
movl 0x52c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x52c(%rsp)
jmp 0x6cecf
leaq 0x530(%rsp), %rdi
callq 0x10520
jmp 0x6ce29
movl $0x1, 0x4c4(%rsp)
movslq 0x4c4(%rsp), %rax
movq %rax, 0x1a8(%rsp)
leaq 0x630(%rsp), %rdi
callq 0xfd50
movq %rax, %rcx
movq 0x1a8(%rsp), %rax
cmpq %rcx, %rax
jae 0x6d668
movq 0x668(%rsp), %rax
movq %rax, 0x190(%rsp)
movl 0x4c4(%rsp), %eax
subl $0x1, %eax
movslq %eax, %rsi
leaq 0x630(%rsp), %rdi
callq 0xfbc0
movq 0x190(%rsp), %rdi
movl (%rax), %eax
movl %eax, %esi
callq 0xfc50
movl (%rax), %eax
movl %eax, 0x1a4(%rsp)
movq 0x668(%rsp), %rax
movq %rax, 0x198(%rsp)
movslq 0x4c4(%rsp), %rsi
leaq 0x630(%rsp), %rdi
callq 0xfbc0
movq 0x198(%rsp), %rdi
movl (%rax), %eax
movl %eax, %esi
callq 0xfc50
movq %rax, %rcx
movl 0x1a4(%rsp), %eax
cmpl (%rcx), %eax
jle 0x6d650
movl 0x4c4(%rsp), %eax
movl %eax, 0x4c0(%rsp)
movq 0x668(%rsp), %rax
movq %rax, 0x178(%rsp)
movl 0x4c0(%rsp), %eax
subl $0x1, %eax
movslq %eax, %rsi
leaq 0x630(%rsp), %rdi
callq 0xfbc0
movq 0x178(%rsp), %rdi
movl (%rax), %eax
movl %eax, %esi
callq 0xfc50
movl (%rax), %eax
movl %eax, 0x18c(%rsp)
movq 0x668(%rsp), %rax
movq %rax, 0x180(%rsp)
movslq 0x4c0(%rsp), %rsi
leaq 0x630(%rsp), %rdi
callq 0xfbc0
movq 0x180(%rsp), %rdi
movl (%rax), %eax
movl %eax, %esi
callq 0xfc50
movq %rax, %rcx
movl 0x18c(%rsp), %eax
cmpl (%rcx), %eax
jle 0x6d64e
movl 0x4c0(%rsp), %eax
subl $0x1, %eax
movslq %eax, %rsi
leaq 0x630(%rsp), %rdi
callq 0xfbc0
movl (%rax), %eax
movl %eax, 0x4bc(%rsp)
movslq 0x4c0(%rsp), %rsi
leaq 0x630(%rsp), %rdi
callq 0xfbc0
movl (%rax), %eax
movl %eax, 0x170(%rsp)
movl 0x4c0(%rsp), %eax
subl $0x1, %eax
movslq %eax, %rsi
leaq 0x630(%rsp), %rdi
callq 0xfbc0
movl 0x170(%rsp), %ecx
movl %ecx, (%rax)
movl 0x4bc(%rsp), %eax
movl %eax, 0x174(%rsp)
movslq 0x4c0(%rsp), %rsi
leaq 0x630(%rsp), %rdi
callq 0xfbc0
movl 0x174(%rsp), %ecx
movl %ecx, (%rax)
movl 0x4c0(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x4c0(%rsp)
jmp 0x6d51c
jmp 0x6d650
jmp 0x6d652
movl 0x4c4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x4c4(%rsp)
jmp 0x6d451
movq 0x3f0(%rsp), %rdi
addq $0x310, %rdi            # imm = 0x310
movq 0x660(%rsp), %rsi
xorps %xmm0, %xmm0
callq 0x78370
jmp 0x6d689
movq 0x3f0(%rsp), %rdi
addq $0x310, %rdi            # imm = 0x310
movq 0x658(%rsp), %rsi
xorps %xmm0, %xmm0
callq 0x78370
jmp 0x6d6aa
leaq 0x630(%rsp), %rdi
callq 0xfd50
subq $0x1, %rax
movl %eax, 0x4b8(%rsp)
cmpl $0x0, 0x4b8(%rsp)
jl 0x6dfbd
movslq 0x4b8(%rsp), %rsi
leaq 0x630(%rsp), %rdi
callq 0xfbc0
movq 0x3f0(%rsp), %rdi
movl (%rax), %eax
movl %eax, 0x4b4(%rsp)
addq $0x508, %rdi            # imm = 0x508
leaq 0x69c(%rsp), %rsi
callq 0x6e740
movq %rdx, 0x160(%rsp)
movq %rax, 0x168(%rsp)
jmp 0x6d71c
movq 0x3f0(%rsp), %rdi
movq 0x160(%rsp), %rax
movq 0x168(%rsp), %rcx
movq %rcx, 0x4a0(%rsp)
movq %rax, 0x4a8(%rsp)
addq $0x508, %rdi            # imm = 0x508
callq 0x6e3c0
movq %rdx, 0x150(%rsp)
movq %rax, 0x158(%rsp)
jmp 0x6d762
movq 0x150(%rsp), %rax
movq 0x158(%rsp), %rcx
movq %rcx, 0x490(%rsp)
movq %rax, 0x498(%rsp)
leaq 0x4a0(%rsp), %rdi
leaq 0x490(%rsp), %rsi
callq 0x6e3a0
movb %al, 0x14f(%rsp)
jmp 0x6d7a0
movb 0x14f(%rsp), %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x14e(%rsp)
jne 0x6d7ba
jmp 0x6d89b
movq 0x3f0(%rsp), %rdi
addq $0x508, %rdi            # imm = 0x508
leaq 0x4b4(%rsp), %rsi
callq 0x6e740
movq %rdx, 0x138(%rsp)
movq %rax, 0x140(%rsp)
jmp 0x6d7e8
movq 0x3f0(%rsp), %rdi
movq 0x138(%rsp), %rax
movq 0x140(%rsp), %rcx
movq %rcx, 0x480(%rsp)
movq %rax, 0x488(%rsp)
addq $0x508, %rdi            # imm = 0x508
callq 0x6e3c0
movq %rdx, 0x128(%rsp)
movq %rax, 0x130(%rsp)
jmp 0x6d82e
movq 0x128(%rsp), %rax
movq 0x130(%rsp), %rcx
movq %rcx, 0x470(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x480(%rsp), %rdi
leaq 0x470(%rsp), %rsi
callq 0x6e3a0
movb %al, 0x127(%rsp)
jmp 0x6d86c
movb 0x127(%rsp), %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x14e(%rsp)
jne 0x6d883
jmp 0x6d89b
movl 0x69c(%rsp), %eax
cmpl 0x4b4(%rsp), %eax
setne %al
movb %al, 0x14e(%rsp)
movb 0x14e(%rsp), %al
testb $0x1, %al
jne 0x6d8ab
jmp 0x6d9ac
movq 0x3f0(%rsp), %rdi
addq $0x538, %rdi            # imm = 0x538
leaq 0x69c(%rsp), %rsi
callq 0x6e500
movq %rax, 0x118(%rsp)
jmp 0x6d8d1
movq 0x118(%rsp), %rdi
callq 0x52790
movq %rax, 0x110(%rsp)
jmp 0x6d8e8
movq 0x3f0(%rsp), %rdi
movq 0x110(%rsp), %rax
movl %eax, 0x46c(%rsp)
addq $0x538, %rdi            # imm = 0x538
leaq 0x4b4(%rsp), %rsi
callq 0x6e500
movq %rax, 0x108(%rsp)
jmp 0x6d91d
movq 0x108(%rsp), %rdi
callq 0x52790
movq %rax, 0x100(%rsp)
jmp 0x6d934
movq 0x100(%rsp), %rax
movl %eax, 0x468(%rsp)
movl 0x46c(%rsp), %eax
imull 0x468(%rsp), %eax
movl %eax, 0x464(%rsp)
movq 0x658(%rsp), %rdi
movl 0x4b4(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd (%rax), %xmm0
cvtsi2sdl 0x464(%rsp), %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, 0xf8(%rsp)
movq 0x658(%rsp), %rdi
movl 0x4b4(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd 0xf8(%rsp), %xmm0
movsd %xmm0, (%rax)
movl $0x0, 0x460(%rsp)
movslq 0x460(%rsp), %rax
movq %rax, 0xf0(%rsp)
movq 0x680(%rsp), %rdi
movl 0x4b4(%rsp), %eax
movl %eax, %esi
callq 0x100e0
movq %rax, %rdi
callq 0xfd50
movq %rax, %rcx
movq 0xf0(%rsp), %rax
cmpq %rcx, %rax
jae 0x6dd4a
movq 0x680(%rsp), %rdi
movl 0x4b4(%rsp), %eax
movl %eax, %esi
callq 0x100e0
movq %rax, %rdi
movslq 0x460(%rsp), %rsi
callq 0xfbc0
movl (%rax), %eax
movl %eax, 0x45c(%rsp)
movq 0x678(%rsp), %rdi
movl 0x45c(%rsp), %eax
movl %eax, %esi
callq 0xfc50
cvtsi2sdl (%rax), %xmm0
movsd %xmm0, 0xc0(%rsp)
movq 0x678(%rsp), %rdi
movl 0x4b4(%rsp), %eax
movl %eax, %esi
callq 0xfc50
movsd 0xc0(%rsp), %xmm0
cvtsi2sdl (%rax), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, 0x450(%rsp)
movq 0x660(%rsp), %rdi
movl 0x45c(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd (%rax), %xmm0
movsd %xmm0, 0xd0(%rsp)
movsd 0x450(%rsp), %xmm0
movsd %xmm0, 0xc8(%rsp)
movq 0x660(%rsp), %rdi
movl 0x4b4(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd 0xc8(%rsp), %xmm0
movsd 0xd0(%rsp), %xmm1
movsd (%rax), %xmm2
movsd 0xd52c(%rip), %xmm3     # 0x7b010
addsd %xmm3, %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0xd8(%rsp)
movq 0x660(%rsp), %rdi
movl 0x45c(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd 0xd8(%rsp), %xmm0
movq 0x3f0(%rsp), %rdi
movsd %xmm0, (%rax)
addq $0x508, %rdi            # imm = 0x508
leaq 0x69c(%rsp), %rsi
callq 0x6e740
movq %rdx, 0xe0(%rsp)
movq %rax, 0xe8(%rsp)
jmp 0x6db4a
movq 0x3f0(%rsp), %rdi
movq 0xe0(%rsp), %rax
movq 0xe8(%rsp), %rcx
movq %rcx, 0x440(%rsp)
movq %rax, 0x448(%rsp)
addq $0x508, %rdi            # imm = 0x508
callq 0x6e3c0
movq %rdx, 0xb0(%rsp)
movq %rax, 0xb8(%rsp)
jmp 0x6db90
movq 0xb0(%rsp), %rax
movq 0xb8(%rsp), %rcx
movq %rcx, 0x430(%rsp)
movq %rax, 0x438(%rsp)
leaq 0x440(%rsp), %rdi
leaq 0x430(%rsp), %rsi
callq 0x6e3a0
movb %al, 0xaf(%rsp)
jmp 0x6dbce
movb 0xaf(%rsp), %al
testb $0x1, %al
jne 0x6dbde
jmp 0x6dd32
movq 0x658(%rsp), %rdi
movl 0x45c(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd (%rax), %xmm0
movsd %xmm0, 0x90(%rsp)
movq 0x658(%rsp), %rdi
movl 0x4b4(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd 0x90(%rsp), %xmm1
movsd (%rax), %xmm0
movsd 0x450(%rsp), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x98(%rsp)
movq 0x658(%rsp), %rdi
movl 0x45c(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd 0x98(%rsp), %xmm0
movq 0x3f0(%rsp), %rdi
movsd %xmm0, (%rax)
addq $0x358, %rdi            # imm = 0x358
movl 0x45c(%rsp), %eax
movl %eax, %esi
callq 0xfbc0
movl (%rax), %eax
movl %eax, 0x42c(%rsp)
movq 0x6b0(%rsp), %rdi
leaq 0x42c(%rsp), %rsi
callq 0x2d310
movq %rax, 0xa0(%rsp)
jmp 0x6dca6
movq 0xa0(%rsp), %rax
movsd (%rax), %xmm0
movsd %xmm0, 0x78(%rsp)
movq 0x658(%rsp), %rdi
movl 0x4b4(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd 0x78(%rsp), %xmm0
movsd (%rax), %xmm1
movsd 0x450(%rsp), %xmm2
mulsd %xmm2, %xmm1
movsd 0xd553(%rip), %xmm2     # 0x7b240
mulsd %xmm2, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, 0x80(%rsp)
movq 0x6b0(%rsp), %rdi
leaq 0x42c(%rsp), %rsi
callq 0x2d310
movq %rax, 0x88(%rsp)
jmp 0x6dd1d
movq 0x88(%rsp), %rax
movsd 0x80(%rsp), %xmm0
movsd %xmm0, (%rax)
jmp 0x6dd34
movl 0x460(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x460(%rsp)
jmp 0x6d9b7
movl 0x69c(%rsp), %eax
cmpl 0x4b4(%rsp), %eax
je 0x6de10
movq 0x3f0(%rsp), %rdi
addq $0x358, %rdi            # imm = 0x358
movl 0x4b4(%rsp), %eax
movl %eax, %esi
callq 0xfbc0
movl (%rax), %eax
movl %eax, 0x428(%rsp)
movq 0x6b0(%rsp), %rdi
leaq 0x428(%rsp), %rsi
callq 0x2d310
movq %rax, 0x70(%rsp)
jmp 0x6dda0
movq 0x70(%rsp), %rax
movsd (%rax), %xmm0
movsd %xmm0, 0x58(%rsp)
movq 0x660(%rsp), %rdi
movl 0x4b4(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd 0x58(%rsp), %xmm0
movsd (%rax), %xmm1
movsd 0xd469(%rip), %xmm2     # 0x7b240
mulsd %xmm2, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, 0x60(%rsp)
movq 0x6b0(%rsp), %rdi
leaq 0x428(%rsp), %rsi
callq 0x2d310
movq %rax, 0x68(%rsp)
jmp 0x6de01
movq 0x68(%rsp), %rax
movsd 0x60(%rsp), %xmm0
movsd %xmm0, (%rax)
movq 0x3f0(%rsp), %rdi
addq $0x508, %rdi            # imm = 0x508
leaq 0x69c(%rsp), %rsi
callq 0x6e740
movq %rdx, 0x48(%rsp)
movq %rax, 0x50(%rsp)
jmp 0x6de38
movq 0x3f0(%rsp), %rdi
movq 0x48(%rsp), %rax
movq 0x50(%rsp), %rcx
movq %rcx, 0x418(%rsp)
movq %rax, 0x420(%rsp)
addq $0x508, %rdi            # imm = 0x508
callq 0x6e3c0
movq %rdx, 0x38(%rsp)
movq %rax, 0x40(%rsp)
jmp 0x6de72
movq 0x38(%rsp), %rax
movq 0x40(%rsp), %rcx
movq %rcx, 0x408(%rsp)
movq %rax, 0x410(%rsp)
leaq 0x418(%rsp), %rdi
leaq 0x408(%rsp), %rsi
callq 0x6e3a0
movb %al, 0x37(%rsp)
jmp 0x6dea7
movb 0x37(%rsp), %al
testb $0x1, %al
jne 0x6deb4
jmp 0x6dfa5
movq 0x3f0(%rsp), %rdi
addq $0x538, %rdi            # imm = 0x538
leaq 0x69c(%rsp), %rsi
callq 0x6e500
movq %rax, 0x28(%rsp)
jmp 0x6ded7
movq 0x28(%rsp), %rdi
callq 0x52790
movq %rax, 0x20(%rsp)
jmp 0x6dee8
movq 0x3f0(%rsp), %rdi
movq 0x20(%rsp), %rax
movl %eax, 0x404(%rsp)
addq $0x358, %rdi            # imm = 0x358
movl 0x4b4(%rsp), %eax
movl %eax, %esi
callq 0xfbc0
movl (%rax), %eax
movl %eax, 0x400(%rsp)
movq 0x6b0(%rsp), %rdi
leaq 0x400(%rsp), %rsi
callq 0x2d310
movq %rax, 0x18(%rsp)
jmp 0x6df36
movq 0x18(%rsp), %rax
movsd (%rax), %xmm0
movsd %xmm0, (%rsp)
movq 0x660(%rsp), %rdi
movl 0x4b4(%rsp), %eax
movl %eax, %esi
callq 0xfa30
movsd (%rsp), %xmm1
movsd (%rax), %xmm0
cvtsi2sdl 0x404(%rsp), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x8(%rsp)
movq 0x6b0(%rsp), %rdi
leaq 0x400(%rsp), %rsi
callq 0x2d310
movq %rax, 0x10(%rsp)
jmp 0x6df96
movq 0x10(%rsp), %rax
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rax)
jmp 0x6dfa7
movl 0x4b8(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x4b8(%rsp)
jmp 0x6d6c2
leaq 0x630(%rsp), %rdi
callq 0x10520
addq $0x6a8, %rsp            # imm = 0x6A8
retq
leaq 0x630(%rsp), %rdi
callq 0x10520
movq 0x628(%rsp), %rdi
callq 0x9cf0
nopl (%rax)