// File: /workspace/github_cpp_makefile_star2_O1/fjamour[P]icentral/src/bcc_delta.cc
// Function: bcc_delta_t::i_iteration_1(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 bcc_delta_t::i_iteration_1(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 = bcc_fast_subgraph.P; 
        vector<int>&                 path_cnt_map = bcc_fast_subgraph.path_cnt_vec;
        vector<int>&                 new_path_cnt_map = bcc_fast_subgraph.new_path_cnt_vec;
        vector<int>&                 dist_map = bcc_fast_subgraph.dist_vec;
        vector<double>&              pair_dep_map = bcc_fast_subgraph.pair_dep_vec;
        vector<double>&              new_pair_dep_map = bcc_fast_subgraph.new_pair_dep_vec;
        vector<double>&              sigma_t_map = bcc_fast_subgraph.sigma_t_map;
        vector<double>&              new_sigma_t_map = bcc_fast_subgraph.new_sigma_t_map; 
        queue<node_id_t>&            Q = bcc_fast_subgraph.Q;
        stack<node_id_t>             S;
        bcc_fast_subgraph.init_maps();
        
//    int sz = bcc_fast_subgraph.nodes_vec.size();
//        vector<vector<node_id_t> >  P(sz, vector<node_id_t>());// = bcc_fast_subgraph.P; 
//        vector<int>                 path_cnt_map(sz, 0);// = bcc_fast_subgraph.path_cnt_vec;
//        vector<int>                 new_path_cnt_map(sz, 0);// = bcc_fast_subgraph.new_path_cnt_vec;
//        vector<int>                 dist_map(sz, -1);// = bcc_fast_subgraph.dist_vec;
//        vector<double>              pair_dep_map(sz, 0);// = bcc_fast_subgraph.pair_dep_vec;
//        vector<double>              new_pair_dep_map(sz, 0);// = bcc_fast_subgraph.new_pair_dep_vec;
//        vector<double>              sigma_t_map(sz, 0);// = bcc_fast_subgraph.sigma_t_map;
//        vector<double>              new_sigma_t_map(sz, 0);// = bcc_fast_subgraph.new_sigma_t_map; 
//        queue<node_id_t>            Q;// = bcc_fast_subgraph.Q;
//        stack<node_id_t>            S;
        
        
        path_cnt_map[s] = 1;
        new_path_cnt_map[s] = 1;//NEW
        dist_map[s] = 0;
        
        Q.push(s);
        while(!Q.empty()) {
            node_id_t v_i = Q.front(); Q.pop();
            S.push(v_i);
            if(v_i == dst) {//NEW
                new_path_cnt_map[v_i] += path_cnt_map[src];
            }
            for(int i = 0; i < bcc_fast_subgraph.nodes_vec[v_i].size(); ++i) {
                node_id_t v_n = bcc_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];
                    new_path_cnt_map[v_n] += new_path_cnt_map[v_i];//NEW
                    P[v_n].push_back(v_i);
                }
            }
        }
        
        while(!S.empty()) {
            node_id_t v_n = S.top(); S.pop();
            if(   art_pt_map.find(s) != art_pt_map.end()
               && art_pt_map.find(v_n) != art_pt_map.end()
               && s != v_n) {
                int VG_s, VG_n;
                VG_s = accumulate(art_pt_map[s].begin(), art_pt_map[s].end(), 0);
                VG_n = accumulate(art_pt_map[v_n].begin(), art_pt_map[v_n].end(), 0);
                int c_t = VG_s*VG_n;
                sigma_t_map[v_n] =  sigma_t_map[v_n] + c_t;
                new_sigma_t_map[v_n] = new_sigma_t_map[v_n] + c_t;//NEW
                /*this guy must not change!*/
                //bc_map[v_n] = bc_map[v_n] - c_t;
                //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]);
                double new_sp_sn = ((double)new_path_cnt_map[v_p]/new_path_cnt_map[v_n]);
                new_pair_dep_map[v_p] = new_pair_dep_map[v_p] + new_sp_sn*(1+new_pair_dep_map[v_n]);
                if(art_pt_map.find(s) != art_pt_map.end()) {
                    sigma_t_map[v_p] = sigma_t_map[v_p] + sigma_t_map[v_n]*sp_sn;
                    new_sigma_t_map[v_p] = new_sigma_t_map[v_p] + new_sigma_t_map[v_n]*new_sp_sn;
                    
                    node_id_t new_v_p = bcc_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;
                    bc_map[new_v_p] = bc_map[new_v_p] + new_sigma_t_map[v_n]*new_sp_sn/2.0;
                }
            }
            //IMP: this is the only change that happens to P, @src should be added as parent for dst
            if(v_n == dst) {
                node_id_t v_p = src;
                double new_sp_sn = ((double)new_path_cnt_map[v_p]/new_path_cnt_map[v_n]);
                new_pair_dep_map[v_p] = new_pair_dep_map[v_p] + new_sp_sn*(1+new_pair_dep_map[v_n]);
                if(art_pt_map.find(s) != art_pt_map.end()) {
                    new_sigma_t_map[v_p] = new_sigma_t_map[v_p] + new_sigma_t_map[v_n]*new_sp_sn;
                    
                    node_id_t new_v_p = bcc_fast_subgraph.inout_label_map[v_p];
                    bc_map[new_v_p] = bc_map[new_v_p] + new_sigma_t_map[v_n]*new_sp_sn/2.0;
                }
            }
            if(s != v_n) {
                node_id_t new_v_n = bcc_fast_subgraph.inout_label_map[v_n];
                bc_map[new_v_n] = bc_map[new_v_n] - pair_dep_map[v_n]/2.0;
                bc_map[new_v_n] = bc_map[new_v_n] + new_pair_dep_map[v_n]/2.0;
            }
            if(art_pt_map.find(s) != art_pt_map.end()) {
                int VG_s = accumulate(art_pt_map[s].begin(), art_pt_map[s].end(), 0);
                
                node_id_t new_v_n = bcc_fast_subgraph.inout_label_map[v_n];
                bc_map[new_v_n] = bc_map[new_v_n] - pair_dep_map[v_n]*VG_s;
                bc_map[new_v_n] = bc_map[new_v_n] + new_pair_dep_map[v_n]*VG_s;
            }
        }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movl %ecx, 0x2c(%rsp)
movl %edx, %ebp
movq %rdi, %r14
movl %esi, 0x8(%rsp)
leaq 0x2d8(%rdi), %r15
xorpd %xmm0, %xmm0
leaq 0x40(%rsp), %rdi
movapd %xmm0, 0x40(%rdi)
movapd %xmm0, 0x30(%rdi)
movapd %xmm0, 0x20(%rdi)
movapd %xmm0, 0x10(%rdi)
movapd %xmm0, (%rdi)
xorl %esi, %esi
callq 0x6b50
movq %r15, %rdi
callq 0x2ea72
leaq 0x480(%r14), %r12
movl 0x8(%rsp), %eax
movq 0x380(%r14), %rcx
movl $0x1, %edx
movl %edx, (%rcx,%rax,4)
movl 0x8(%rsp), %eax
movq 0x398(%r14), %rcx
movl %edx, (%rcx,%rax,4)
movl 0x8(%rsp), %eax
movq 0x3b0(%r14), %rcx
movl $0x0, (%rcx,%rax,4)
movq 0x4b0(%r14), %rax
movq 0x4c0(%r14), %rcx
addq $-0x4, %rcx
cmpq %rcx, %rax
je 0x10139
movl 0x8(%rsp), %ecx
movl %ecx, (%rax)
addq $0x4, %rax
movq %rax, 0x4b0(%r14)
jmp 0x10146
leaq 0x8(%rsp), %rsi
movq %r12, %rdi
callq 0x7644
movq 0x490(%r14), %rax
movl %ebp, %ecx
movq %rcx, 0x30(%rsp)
cmpq %rax, 0x4b0(%r14)
je 0x102f3
leaq 0x4(%rsp), %rbp
leaq 0xc(%rsp), %r13
movl (%rax), %eax
movl %eax, 0x4(%rsp)
movq %r12, %rdi
callq 0xdd72
movq 0x70(%rsp), %rax
movq 0x80(%rsp), %rcx
addq $-0x4, %rcx
cmpq %rcx, %rax
je 0x101a0
movl 0x4(%rsp), %ecx
movl %ecx, (%rax)
addq $0x4, %rax
movq %rax, 0x70(%rsp)
jmp 0x101ad
leaq 0x40(%rsp), %rdi
movq %rbp, %rsi
callq 0x7644
movl 0x4(%rsp), %eax
cmpl 0x2c(%rsp), %eax
jne 0x101d0
movq 0x380(%r14), %rcx
movq 0x398(%r14), %rdx
movq 0x30(%rsp), %rsi
movl (%rcx,%rsi,4), %ecx
addl %ecx, (%rdx,%rax,4)
movl 0x4(%rsp), %eax
movq (%r15), %rcx
leaq (%rax,%rax,2), %rdx
movq (%rcx,%rdx,8), %rax
cmpq %rax, 0x8(%rcx,%rdx,8)
je 0x102df
xorl %ebx, %ebx
movl (%rax,%rbx,4), %eax
movl %eax, 0xc(%rsp)
movq 0x3b0(%r14), %rcx
cmpl $0x0, (%rcx,%rax,4)
jns 0x10248
movq 0x4b0(%r14), %rcx
movq 0x4c0(%r14), %rdx
addq $-0x4, %rdx
cmpq %rdx, %rcx
je 0x10226
movl %eax, (%rcx)
addq $0x4, %rcx
movq %rcx, 0x4b0(%r14)
jmp 0x10231
movq %r12, %rdi
movq %r13, %rsi
callq 0x7644
movl 0x4(%rsp), %eax
movq 0x3b0(%r14), %rcx
movl (%rcx,%rax,4), %eax
incl %eax
movl 0xc(%rsp), %edx
movl %eax, (%rcx,%rdx,4)
movl 0xc(%rsp), %eax
movq 0x3b0(%r14), %rdx
movl 0x4(%rsp), %ecx
movl (%rdx,%rcx,4), %esi
incl %esi
cmpl %esi, (%rdx,%rax,4)
jne 0x102b8
movq 0x380(%r14), %rdx
movl (%rdx,%rcx,4), %ecx
addl %ecx, (%rdx,%rax,4)
movl 0x4(%rsp), %eax
movq 0x398(%r14), %rcx
movl (%rcx,%rax,4), %eax
movl 0xc(%rsp), %edx
addl %eax, (%rcx,%rdx,4)
movl 0xc(%rsp), %eax
movq 0x368(%r14), %rcx
leaq (%rax,%rax,2), %rax
leaq (%rcx,%rax,8), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x102b0
movl 0x4(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x102b8
movq %rbp, %rdx
callq 0x6f98
incq %rbx
movl 0x4(%rsp), %eax
movq (%r15), %rcx
leaq (%rax,%rax,2), %rdx
movq (%rcx,%rdx,8), %rax
movq 0x8(%rcx,%rdx,8), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %rbx, %rcx
ja 0x101ec
movq 0x490(%r14), %rax
cmpq %rax, 0x4b0(%r14)
jne 0x1016b
movq 0x70(%rsp), %rax
cmpq 0x50(%rsp), %rax
je 0x109e0
movq 0xd0(%rsp), %r15
leaq 0xc(%rsp), %r12
leaq 0x8(%rsp), %r13
movq 0x78(%rsp), %rdi
cmpq %rdi, %rax
je 0x1032c
movl -0x4(%rax), %ecx
addq $-0x4, %rax
movl %ecx, 0x4(%rsp)
jmp 0x10380
movq 0x88(%rsp), %rax
movq -0x8(%rax), %rax
movl 0x1fc(%rax), %eax
movl %eax, 0x4(%rsp)
movl $0x200, %esi            # imm = 0x200
callq 0x2250
movq 0x88(%rsp), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x88(%rsp)
movq -0x8(%rax), %rax
movq %rax, 0x78(%rsp)
leaq 0x200(%rax), %rcx
movq %rcx, 0x80(%rsp)
movl $0x1fc, %ecx            # imm = 0x1FC
addq %rcx, %rax
movq %rax, 0x70(%rsp)
movl 0x8(%rsp), %ecx
movq 0x8(%r14), %rdi
movq 0x10(%r14), %r8
movq %rcx, %rax
xorl %edx, %edx
divq %r8
movq (%rdi,%rdx,8), %rax
movl $0x0, %edx
testq %rax, %rax
je 0x103bb
cmpl (%rax), %ecx
je 0x103b8
movq 0x20(%rax), %rax
testq %rax, %rax
jne 0x103a7
xorl %edx, %edx
jmp 0x103bb
movq %rax, %rdx
testq %rdx, %rdx
jne 0x103c4
movq (%rdi,%r8,8), %rdx
movq (%rdi,%r8,8), %r9
cmpq %r9, %rdx
je 0x104a8
movl 0x4(%rsp), %esi
movq %rsi, %rax
xorl %edx, %edx
divq %r8
movq (%rdi,%rdx,8), %rax
movl $0x0, %edx
testq %rax, %rax
je 0x103ff
cmpl (%rax), %esi
je 0x103fc
movq 0x20(%rax), %rax
testq %rax, %rax
jne 0x103eb
xorl %edx, %edx
jmp 0x103ff
movq %rax, %rdx
cmpl %esi, %ecx
je 0x104a8
testq %rdx, %rdx
je 0x104a8
cmpq %r9, %rdx
je 0x104a8
movq %r14, %rdi
movq %r13, %rsi
callq 0x6106
movq (%rax), %rbp
movq %r14, %rdi
movq %r13, %rsi
callq 0x6106
movq 0x8(%rax), %rax
xorl %ebx, %ebx
cmpq %rax, %rbp
je 0x10446
addl (%rbp), %ebx
addq $0x4, %rbp
jmp 0x10438
movq %r14, %rdi
leaq 0x4(%rsp), %rsi
callq 0x6106
movq (%rax), %rbp
movq %r14, %rdi
leaq 0x4(%rsp), %rsi
callq 0x6106
movq 0x8(%rax), %rcx
xorl %eax, %eax
cmpq %rcx, %rbp
je 0x10477
addl (%rbp), %eax
addq $0x4, %rbp
jmp 0x10469
imull %ebx, %eax
movl 0x4(%rsp), %ecx
cvtsi2sd %eax, %xmm0
movq 0x410(%r14), %rax
movsd (%rax,%rcx,8), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rax,%rcx,8)
movq 0x428(%r14), %rax
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl 0x4(%rsp), %esi
movq 0x368(%r14), %rcx
leaq (%rsi,%rsi,2), %rdx
movq (%rcx,%rdx,8), %rax
cmpq %rax, 0x8(%rcx,%rdx,8)
je 0x106b7
xorl %ebp, %ebp
movl (%rax,%rbp,4), %edi
movq 0x380(%r14), %rax
xorps %xmm3, %xmm3
cvtsi2sdl (%rax,%rdi,4), %xmm3
xorps %xmm0, %xmm0
cvtsi2sdl (%rax,%rsi,4), %xmm0
movq 0x3c8(%r14), %rax
divsd %xmm0, %xmm3
movsd (%rax,%rsi,8), %xmm0
movsd 0x20b36(%rip), %xmm1    # 0x31030
addsd %xmm1, %xmm0
mulsd %xmm3, %xmm0
addsd (%rax,%rdi,8), %xmm0
movsd %xmm0, (%rax,%rdi,8)
movq 0x398(%r14), %rax
movq 0x3e0(%r14), %rcx
xorps %xmm2, %xmm2
cvtsi2sdl (%rax,%rdi,4), %xmm2
xorps %xmm0, %xmm0
cvtsi2sdl (%rax,%rsi,4), %xmm0
divsd %xmm0, %xmm2
movsd (%rcx,%rsi,8), %xmm0
addsd %xmm1, %xmm0
mulsd %xmm2, %xmm0
addsd (%rcx,%rdi,8), %xmm0
movsd %xmm0, (%rcx,%rdi,8)
movl 0x8(%rsp), %ecx
movq 0x8(%r14), %r8
movq 0x10(%r14), %r9
movq %rcx, %rax
xorl %edx, %edx
divq %r9
movq (%r8,%rdx,8), %rax
movl $0x0, %edx
testq %rax, %rax
je 0x1057b
cmpl (%rax), %ecx
je 0x10578
movq 0x20(%rax), %rax
testq %rax, %rax
jne 0x10567
xorl %edx, %edx
jmp 0x1057b
movq %rax, %rdx
testq %rdx, %rdx
jne 0x10584
movq (%r8,%r9,8), %rdx
cmpq (%r8,%r9,8), %rdx
je 0x1068c
movq 0x410(%r14), %rax
movsd (%rax,%rsi,8), %xmm0
movsd %xmm3, 0x18(%rsp)
mulsd %xmm3, %xmm0
addsd (%rax,%rdi,8), %xmm0
movsd %xmm0, (%rax,%rdi,8)
movq 0x428(%r14), %rax
movsd (%rax,%rsi,8), %xmm0
movsd %xmm2, 0x38(%rsp)
mulsd %xmm2, %xmm0
addsd (%rax,%rdi,8), %xmm0
movsd %xmm0, (%rax,%rdi,8)
movq 0x320(%r14), %rax
movl (%rax,%rdi,4), %eax
movl %eax, 0xc(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0xd85a
movsd (%rax), %xmm0
movsd %xmm0, 0x10(%rsp)
movl 0x4(%rsp), %eax
movq 0x410(%r14), %rcx
movsd (%rcx,%rax,8), %xmm0
movsd %xmm0, 0x20(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0xd85a
movsd 0x18(%rsp), %xmm0
mulsd 0x20(%rsp), %xmm0
mulsd 0x20a1a(%rip), %xmm0    # 0x31040
movsd 0x10(%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rax)
movq %r15, %rdi
movq %r12, %rsi
callq 0xd85a
movsd (%rax), %xmm0
movsd %xmm0, 0x18(%rsp)
movl 0x4(%rsp), %eax
movq 0x428(%r14), %rcx
movsd (%rcx,%rax,8), %xmm0
movsd %xmm0, 0x10(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0xd85a
movsd 0x38(%rsp), %xmm0
mulsd 0x10(%rsp), %xmm0
mulsd 0x209ba(%rip), %xmm0    # 0x31038
movsd 0x18(%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rax)
incq %rbp
movl 0x4(%rsp), %esi
movq 0x368(%r14), %rcx
leaq (%rsi,%rsi,2), %rdx
movq (%rcx,%rdx,8), %rax
movq 0x8(%rcx,%rdx,8), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %rbp, %rcx
ja 0x104c8
cmpl 0x2c(%rsp), %esi
jne 0x107d7
movq 0x398(%r14), %rax
movq 0x3e0(%r14), %rcx
movq 0x30(%rsp), %rdx
xorps %xmm1, %xmm1
cvtsi2sdl (%rax,%rdx,4), %xmm1
xorps %xmm0, %xmm0
cvtsi2sdl (%rax,%rsi,4), %xmm0
divsd %xmm0, %xmm1
movsd (%rcx,%rsi,8), %xmm0
addsd 0x2093b(%rip), %xmm0    # 0x31030
mulsd %xmm1, %xmm0
addsd (%rcx,%rdx,8), %xmm0
movsd %xmm0, (%rcx,%rdx,8)
movl 0x8(%rsp), %ecx
movq 0x8(%r14), %rdi
movq 0x10(%r14), %r8
movq %rcx, %rax
xorl %edx, %edx
divq %r8
movq (%rdi,%rdx,8), %rax
movl $0x0, %edx
testq %rax, %rax
je 0x10739
cmpl (%rax), %ecx
je 0x10736
movq 0x20(%rax), %rax
testq %rax, %rax
jne 0x10725
xorl %edx, %edx
jmp 0x10739
movq %rax, %rdx
testq %rdx, %rdx
jne 0x10742
movq (%rdi,%r8,8), %rdx
cmpq (%rdi,%r8,8), %rdx
je 0x107d7
movq 0x428(%r14), %rax
movsd (%rax,%rsi,8), %xmm0
movsd %xmm1, 0x18(%rsp)
mulsd %xmm1, %xmm0
movq 0x30(%rsp), %rcx
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movq 0x320(%r14), %rax
movl (%rax,%rcx,4), %eax
movl %eax, 0xc(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0xd85a
movsd (%rax), %xmm0
movsd %xmm0, 0x10(%rsp)
movl 0x4(%rsp), %eax
movq 0x428(%r14), %rcx
movsd (%rcx,%rax,8), %xmm0
movsd %xmm0, 0x20(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0xd85a
movsd 0x18(%rsp), %xmm0
mulsd 0x20(%rsp), %xmm0
mulsd 0x2086f(%rip), %xmm0    # 0x31038
movsd 0x10(%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rax)
movl 0x4(%rsp), %eax
cmpl %eax, 0x8(%rsp)
je 0x10897
movq 0x320(%r14), %rcx
movl (%rcx,%rax,4), %eax
movl %eax, 0xc(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0xd85a
movsd (%rax), %xmm0
movsd %xmm0, 0x18(%rsp)
movl 0x4(%rsp), %eax
movq 0x3c8(%r14), %rcx
movsd (%rcx,%rax,8), %xmm0
movsd %xmm0, 0x10(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0xd85a
movsd 0x10(%rsp), %xmm1
mulsd 0x20809(%rip), %xmm1    # 0x31040
movsd 0x18(%rsp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax)
movq %r15, %rdi
movq %r12, %rsi
callq 0xd85a
movsd (%rax), %xmm0
movsd %xmm0, 0x18(%rsp)
movl 0x4(%rsp), %eax
movq 0x3e0(%r14), %rcx
movsd (%rcx,%rax,8), %xmm0
movsd %xmm0, 0x10(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0xd85a
movsd 0x10(%rsp), %xmm1
mulsd 0x207af(%rip), %xmm1    # 0x31038
movsd 0x18(%rsp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax)
movl 0x8(%rsp), %ecx
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdi
movq %rcx, %rax
xorl %edx, %edx
divq %rdi
movq (%rsi,%rdx,8), %rax
movl $0x0, %edx
testq %rax, %rax
je 0x108cd
cmpl (%rax), %ecx
je 0x108ca
movq 0x20(%rax), %rax
testq %rax, %rax
jne 0x108b9
xorl %edx, %edx
jmp 0x108cd
movq %rax, %rdx
testq %rdx, %rdx
jne 0x108d6
movq (%rsi,%rdi,8), %rdx
cmpq (%rsi,%rdi,8), %rdx
je 0x109d0
movq %r14, %rdi
movq %r13, %rsi
callq 0x6106
movq (%rax), %rbx
movq %r14, %rdi
movq %r13, %rsi
callq 0x6106
movq 0x8(%rax), %rax
cmpq %rax, %rbx
je 0x10918
xorl %ecx, %ecx
addl (%rbx), %ecx
addq $0x4, %rbx
cmpq %rax, %rbx
jne 0x10904
xorps %xmm0, %xmm0
cvtsi2sd %ecx, %xmm0
jmp 0x1091c
xorpd %xmm0, %xmm0
movsd %xmm0, 0x18(%rsp)
movl 0x4(%rsp), %eax
movq 0x320(%r14), %rcx
movl (%rcx,%rax,4), %eax
movl %eax, 0xc(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0xd85a
movsd (%rax), %xmm0
movsd %xmm0, 0x10(%rsp)
movl 0x4(%rsp), %eax
movq 0x3c8(%r14), %rcx
movsd (%rcx,%rax,8), %xmm0
movsd %xmm0, 0x20(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0xd85a
movsd 0x20(%rsp), %xmm1
mulsd 0x18(%rsp), %xmm1
movsd 0x10(%rsp), %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, (%rax)
movq %r15, %rdi
movq %r12, %rsi
callq 0xd85a
movsd (%rax), %xmm0
movsd %xmm0, 0x10(%rsp)
movl 0x4(%rsp), %eax
movq 0x3e0(%r14), %rcx
movsd (%rcx,%rax,8), %xmm0
movsd %xmm0, 0x20(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0xd85a
movsd 0x20(%rsp), %xmm0
mulsd 0x18(%rsp), %xmm0
addsd 0x10(%rsp), %xmm0
movsd %xmm0, (%rax)
movq 0x70(%rsp), %rax
cmpq 0x50(%rsp), %rax
jne 0x10315
leaq 0x40(%rsp), %rdi
callq 0x6998
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x10a0c
jmp 0x10a0c
jmp 0x10a0c
jmp 0x10a0c
jmp 0x10a0c
jmp 0x10a0c
jmp 0x10a0c
jmp 0x10a0c
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x6998
movq %rbx, %rdi
callq 0x23b0
nop