// File: /workspace/github_cpp_makefile_star2_O1/fjamour[P]icentral/src/_bc.cc
// Function: BBFS_RBFS_d1(std::vector<double, std::allocator<double>>&, iter_info_t&, component_t&, unsigned int, std::pair<unsigned int, unsigned int>)
void BBFS_RBFS_d1(
        vector<double>& dBC_vec,    // delta BC of vertices
        iter_info_t&    iter_info,  // iteration info to be computed
        component_t&    comp,       // component
        node_id_t       s,          // source of the iteration
        edge_t          e
        )
{
    subgraph_t& g = comp.subgraph;
    
    vector<vector<node_id_t> >&  P = iter_info.P; 
    vector<int>&                 sigma_vec = iter_info.sigma_vec;
    vector<int>&                 dist_vec = iter_info.dist_vec;
    vector<node_id_t>&           S = iter_info.S;
    vector<int>&                 new_sigma_vec = iter_info.new_sigma_vec;
    vector<double>&              delta_vec = iter_info.delta_vec;
    vector<double>&              Delta_vec = iter_info.Delta_vec;
    vector<double>&              new_delta_vec = iter_info.new_delta_vec;
    vector<double>&              new_Delta_vec = iter_info.new_Delta_vec;
    
    queue<node_id_t>             Q;
    
    // Assumes iter_info is initialized
    
    new_sigma_vec[s] = 1;//NEW
    sigma_vec[s] = 1;
    dist_vec[s] = 0;
    Q.push(s);
    while(!Q.empty()) {
        node_id_t v_i = Q.front(); Q.pop();
        S.push_back(v_i);
        if(v_i == e.second) {//NEW
            new_sigma_vec[v_i] += sigma_vec[e.first];
        }
        for(int i = 0; i < g.nodes_vec[v_i].size(); ++i) {
            node_id_t v_n = g.nodes_vec[v_i][i];
            if(dist_vec[v_n] < 0) {
                Q.push(v_n);
                dist_vec[v_n] = dist_vec[v_i] + 1;
            }
            if(dist_vec[v_n] == dist_vec[v_i] + 1) {
                sigma_vec[v_n] = sigma_vec[v_n] + sigma_vec[v_i];
                new_sigma_vec[v_n] += new_sigma_vec[v_i];//NEW
                P[v_n].push_back(v_i);
            }
        }
    }


    fill_vec<double>(delta_vec, comp.subgraph.size(), 0);
    fill_vec<double>(Delta_vec, comp.subgraph.size(), 0);
    
    fill_vec<double>(new_delta_vec, comp.subgraph.size(), 0);
    fill_vec<double>(new_Delta_vec, comp.subgraph.size(), 0);
    
    if(comp.comp_type == GRAPH) {
        for(int i = S.size()-1; i >= 0; --i) {
            node_id_t w = S[i];
            for (int idx = 0; idx < P[w].size(); ++idx) {
                node_id_t v = P[w][idx];
                delta_vec[v] += (((double) sigma_vec[v] / sigma_vec[w]) * (1 + delta_vec[w]));
                new_delta_vec[v] += (((double) new_sigma_vec[v] / new_sigma_vec[w]) * (1 + new_delta_vec[w]));
            }
            if(w == e.second) {
                node_id_t v_p = e.first;
                double new_sp_sn = ((double)new_delta_vec[v_p]/new_delta_vec[w]);
                new_delta_vec[v_p] = new_delta_vec[v_p] + new_sp_sn*(1+new_delta_vec[w]);
            }
            if (w != s) {
                dBC_vec[w] -= delta_vec[w]/2.0;
                dBC_vec[w] += new_delta_vec[w]/2.0;
            }
        }
    } else if(comp.comp_type == BCC) { //BCC or MUC case: involved case, with external pairs contribution
        component_t::art_pt_map_t& art_pt_map = comp.art_pt_map;
        for(int i = S.size()-1; i >= 0; --i) {
            node_id_t v_n = S[i];
            if(   art_pt_map.find(s) != art_pt_map.end()
               && art_pt_map.find(v_n) != art_pt_map.end()
               ){
                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;
                Delta_vec[v_n] =  Delta_vec[v_n] + c_t;
                new_Delta_vec[v_n] =  new_Delta_vec[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)sigma_vec[v_p]/sigma_vec[v_n]);
                delta_vec[v_p] = delta_vec[v_p] + sp_sn*(1+delta_vec[v_n]);
                if(art_pt_map.find(s) != art_pt_map.end()) {
                    Delta_vec[v_p] = Delta_vec[v_p] + Delta_vec[v_n]*sp_sn;
                }
                sp_sn = ((double)new_sigma_vec[v_p]/new_sigma_vec[v_n]);
                new_delta_vec[v_p] = new_delta_vec[v_p] + sp_sn*(1+new_delta_vec[v_n]);
                if(art_pt_map.find(s) != art_pt_map.end()) {
                    new_Delta_vec[v_p] = new_Delta_vec[v_p] + new_Delta_vec[v_n]*sp_sn;
                }
            }
            //IMP: this is the only change that happens to P, @src should be added as parent for dst
            if(v_n == e.second) {
                node_id_t v_p = e.first;
                double new_sp_sn = ((double)new_delta_vec[v_p]/new_delta_vec[v_n]);
                new_delta_vec[v_p] = new_delta_vec[v_p] + new_sp_sn*(1+new_delta_vec[v_n]);
                if(art_pt_map.find(s) != art_pt_map.end()) {
                    new_Delta_vec[v_p] = new_Delta_vec[v_p] + new_Delta_vec[v_n]*new_sp_sn;
                    dBC_vec[v_p] = dBC_vec[v_p] + new_Delta_vec[v_n]*new_sp_sn/2.0;
                }
            }
            if(s != v_n) {
                dBC_vec[v_n] -= delta_vec[v_n]/2.0;
                dBC_vec[v_n] += new_delta_vec[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);
                dBC_vec[v_n] -= delta_vec[v_n]*VG_s;
                dBC_vec[v_n] -= Delta_vec[v_n]/2.0;
                dBC_vec[v_n] += new_delta_vec[v_n]*VG_s;
                dBC_vec[v_n] += new_Delta_vec[v_n]/2.0;
            }
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %r8, 0x18(%rsp)
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, 0x20(%rsp)
movl %ecx, 0x10(%rsp)
xorpd %xmm0, %xmm0
leaq 0x70(%rsp), %rbx
movapd %xmm0, 0x40(%rbx)
movapd %xmm0, 0x30(%rbx)
movapd %xmm0, 0x20(%rbx)
movapd %xmm0, 0x10(%rbx)
movapd %xmm0, (%rbx)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x6b50
movl 0x10(%rsp), %eax
movq 0x78(%r14), %rcx
movl $0x1, %edx
movl %edx, (%rcx,%rax,4)
movl 0x10(%rsp), %eax
movq 0x18(%r14), %rcx
movl %edx, (%rcx,%rax,4)
movl 0x10(%rsp), %eax
movq 0x30(%r14), %rcx
movl $0x0, (%rcx,%rax,4)
movq 0x30(%rbx), %rax
movq 0x40(%rbx), %rcx
addq $-0x4, %rcx
cmpq %rcx, %rax
je 0x5152
movl 0x10(%rsp), %ecx
movl %ecx, (%rax)
addq $0x4, %rax
movq %rax, 0xa0(%rsp)
jmp 0x5161
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x7644
movq 0x18(%rsp), %r15
shrq $0x20, %r15
leaq 0x100(%r14), %rax
movq %rax, 0x68(%rsp)
movq 0x80(%rsp), %rax
cmpq %rax, 0xa0(%rsp)
movq %r12, 0x28(%rsp)
je 0x537d
movl 0x18(%rsp), %ecx
movq %rcx, 0x40(%rsp)
leaq 0xc(%rsp), %rbx
leaq 0x70(%rsp), %r13
leaq 0x14(%rsp), %rbp
movl (%rax), %ecx
movl %ecx, 0xc(%rsp)
movq 0x90(%rsp), %rcx
addq $-0x4, %rcx
cmpq %rcx, %rax
je 0x51c6
addq $0x4, %rax
jmp 0x5207
movq 0x88(%rsp), %rdi
movl $0x200, %esi            # imm = 0x200
callq 0x2250
movq 0x98(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x98(%rsp)
movq 0x8(%rax), %rax
movq %rax, 0x88(%rsp)
leaq 0x200(%rax), %rcx
movq %rcx, 0x90(%rsp)
movq %rax, 0x80(%rsp)
movq 0x108(%r14), %rsi
cmpq 0x110(%r14), %rsi
je 0x5232
movl 0xc(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x108(%r14)
jmp 0x523f
movq 0x68(%rsp), %rdi
movq %rbx, %rdx
callq 0x6f98
movl 0xc(%rsp), %eax
cmpl %r15d, %eax
jne 0x525b
movq 0x18(%r14), %rcx
movq 0x78(%r14), %rdx
movq 0x40(%rsp), %rsi
movl (%rcx,%rsi,4), %ecx
addl %ecx, (%rdx,%rax,4)
movl 0xc(%rsp), %eax
movq (%r12), %rcx
leaq (%rax,%rax,2), %rdx
movq (%rcx,%rdx,8), %rax
cmpq %rax, 0x8(%rcx,%rdx,8)
je 0x5362
xorl %r12d, %r12d
movl (%rax,%r12,4), %eax
movl %eax, 0x14(%rsp)
movq 0x30(%r14), %rcx
cmpl $0x0, (%rcx,%rax,4)
jns 0x52d3
movq 0xa0(%rsp), %rcx
movq 0xb0(%rsp), %rdx
addq $-0x4, %rdx
cmpq %rdx, %rcx
je 0x52b4
movl %eax, (%rcx)
addq $0x4, %rcx
movq %rcx, 0xa0(%rsp)
jmp 0x52bf
movq %r13, %rdi
movq %rbp, %rsi
callq 0x7644
movl 0xc(%rsp), %eax
movq 0x30(%r14), %rcx
movl (%rcx,%rax,4), %eax
incl %eax
movl 0x14(%rsp), %edx
movl %eax, (%rcx,%rdx,4)
movl 0x14(%rsp), %eax
movq 0x30(%r14), %rdx
movl 0xc(%rsp), %ecx
movl (%rdx,%rcx,4), %esi
incl %esi
cmpl %esi, (%rdx,%rax,4)
jne 0x5336
movq 0x18(%r14), %rdx
movl (%rdx,%rcx,4), %ecx
addl %ecx, (%rdx,%rax,4)
movl 0xc(%rsp), %eax
movq 0x78(%r14), %rcx
movl (%rcx,%rax,4), %eax
movl 0x14(%rsp), %edx
addl %eax, (%rcx,%rdx,4)
movl 0x14(%rsp), %eax
movq (%r14), %rcx
leaq (%rax,%rax,2), %rax
leaq (%rcx,%rax,8), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x532e
movl 0xc(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x5336
movq %rbx, %rdx
callq 0x6f98
incq %r12
movl 0xc(%rsp), %eax
movq 0x28(%rsp), %rcx
movq (%rcx), %rcx
leaq (%rax,%rax,2), %rdx
movq (%rcx,%rdx,8), %rax
movq 0x8(%rcx,%rdx,8), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r12, %rcx
ja 0x5279
movq 0x80(%rsp), %rax
cmpq %rax, 0xa0(%rsp)
movq 0x28(%rsp), %r12
jne 0x51a9
movq %r12, %rdi
callq 0x2ed3a
leaq 0x48(%r14), %rdi
movq %rdi, 0x58(%rsp)
movq %rax, %rsi
callq 0x5c58
movq 0x48(%r14), %rdi
movq 0x50(%r14), %rdx
cmpq %rdx, %rdi
je 0x53b9
subq %rdi, %rdx
addq $-0x8, %rdx
andq $-0x8, %rdx
addq $0x8, %rdx
xorl %esi, %esi
callq 0x2110
movq %r12, %rdi
callq 0x2ed3a
leaq 0x60(%r14), %rdi
movq %rdi, 0x50(%rsp)
movq %rax, %rsi
callq 0x5c58
movq 0x60(%r14), %rdi
movq 0x68(%r14), %rdx
cmpq %rdx, %rdi
je 0x53f5
subq %rdi, %rdx
addq $-0x8, %rdx
andq $-0x8, %rdx
addq $0x8, %rdx
xorl %esi, %esi
callq 0x2110
movq %r12, %rdi
callq 0x2ed3a
leaq 0x90(%r14), %rdi
movq %rdi, 0x38(%rsp)
movq %rax, %rsi
callq 0x5c58
movq 0x90(%r14), %rdi
movq 0x98(%r14), %rdx
cmpq %rdx, %rdi
je 0x543a
subq %rdi, %rdx
addq $-0x8, %rdx
andq $-0x8, %rdx
addq $0x8, %rdx
xorl %esi, %esi
callq 0x2110
movq %r12, %rdi
callq 0x2ed3a
leaq 0xa8(%r14), %rdi
movq %rdi, 0x30(%rsp)
movq %rax, %rsi
callq 0x5c58
movq 0xa8(%r14), %rdi
movq 0xb0(%r14), %rdx
cmpq %rdx, %rdi
je 0x547f
subq %rdi, %rdx
addq $-0x8, %rdx
andq $-0x8, %rdx
addq $0x8, %rdx
xorl %esi, %esi
callq 0x2110
movl 0x228(%r12), %eax
testl %eax, %eax
movq %r15, 0x60(%rsp)
je 0x55f6
cmpl $0x2, %eax
jne 0x5b42
movq 0x100(%r14), %rax
movq 0x108(%r14), %rbx
subq %rax, %rbx
shrq $0x2, %rbx
decl %ebx
js 0x5b42
movq (%r14), %rcx
movq 0x18(%r14), %rdx
movq 0x48(%r14), %rsi
movq 0x78(%r14), %rdi
movq 0x90(%r14), %r8
movl 0x18(%rsp), %r9d
movl 0x10(%rsp), %r10d
movq 0x20(%rsp), %r11
movq (%r11), %r11
movl %ebx, %ebx
movsd 0x2bb44(%rip), %xmm0    # 0x31030
movsd 0x2bb44(%rip), %xmm1    # 0x31038
movl (%rax,%rbx,4), %r14d
leaq (%r14,%r14,2), %r12
movq (%rcx,%r12,8), %r15
movq 0x8(%rcx,%r12,8), %r12
subq %r15, %r12
je 0x5581
sarq $0x2, %r12
xorps %xmm2, %xmm2
cvtsi2sdl (%rdx,%r14,4), %xmm2
xorps %xmm3, %xmm3
cvtsi2sdl (%rdi,%r14,4), %xmm3
cmpq $0x1, %r12
adcq $0x0, %r12
xorl %r13d, %r13d
movl (%r15,%r13,4), %ebp
xorps %xmm4, %xmm4
cvtsi2sdl (%rdx,%rbp,4), %xmm4
divsd %xmm2, %xmm4
movsd (%rsi,%r14,8), %xmm5
addsd %xmm0, %xmm5
mulsd %xmm4, %xmm5
addsd (%rsi,%rbp,8), %xmm5
movsd %xmm5, (%rsi,%rbp,8)
xorps %xmm4, %xmm4
cvtsi2sdl (%rdi,%rbp,4), %xmm4
divsd %xmm3, %xmm4
movsd (%r8,%r14,8), %xmm5
addsd %xmm0, %xmm5
mulsd %xmm4, %xmm5
addsd (%r8,%rbp,8), %xmm5
movsd %xmm5, (%r8,%rbp,8)
incq %r13
cmpq %r13, %r12
jne 0x552b
cmpl 0x60(%rsp), %r14d
jne 0x55ae
movsd (%r8,%r9,8), %xmm2
movsd (%r8,%r14,8), %xmm3
movapd %xmm2, %xmm4
divsd %xmm3, %xmm4
addsd %xmm0, %xmm3
mulsd %xmm4, %xmm3
addsd %xmm2, %xmm3
movsd %xmm3, (%r8,%r9,8)
cmpl %r10d, %r14d
je 0x55e1
movsd (%rsi,%r14,8), %xmm2
mulsd %xmm1, %xmm2
movsd (%r11,%r14,8), %xmm3
subsd %xmm2, %xmm3
movsd %xmm3, (%r11,%r14,8)
movsd (%r8,%r14,8), %xmm2
mulsd %xmm1, %xmm2
addsd %xmm3, %xmm2
movsd %xmm2, (%r11,%r14,8)
leaq -0x1(%rbx), %r14
testq %rbx, %rbx
movq %r14, %rbx
jg 0x54f4
jmp 0x5b42
movq 0x108(%r14), %rax
subq 0x100(%r14), %rax
shrq $0x2, %rax
decl %eax
js 0x5b42
leaq 0x1f8(%r12), %r13
movl 0x18(%rsp), %ecx
movq %rcx, 0x48(%rsp)
movl %eax, %ebp
movq %r13, 0xc8(%rsp)
movq 0x68(%rsp), %rax
movq (%rax), %rax
movl (%rax,%rbp,4), %ecx
movl %ecx, 0xc(%rsp)
movl 0x10(%rsp), %esi
movq 0x200(%r12), %rdi
movq 0x208(%r12), %r8
movq %rsi, %rax
xorl %edx, %edx
divq %r8
movq (%rdi,%rdx,8), %rax
movl $0x0, %edx
testq %rax, %rax
je 0x5678
cmpl (%rax), %esi
je 0x5675
movq 0x20(%rax), %rax
testq %rax, %rax
jne 0x5664
xorl %edx, %edx
jmp 0x5678
movq %rax, %rdx
testq %rdx, %rdx
jne 0x5681
movq (%rdi,%r8,8), %rdx
movq (%rdi,%r8,8), %rsi
cmpq %rsi, %rdx
je 0x5761
movq %rcx, %rax
xorl %edx, %edx
divq %r8
movq (%rdi,%rdx,8), %rax
movl $0x0, %edx
testq %rax, %rax
je 0x56b8
cmpl (%rax), %ecx
je 0x56b5
movq 0x20(%rax), %rax
testq %rax, %rax
jne 0x56a4
xorl %edx, %edx
jmp 0x56b8
movq %rax, %rdx
testq %rdx, %rdx
sete %al
cmpq %rsi, %rdx
sete %cl
orb %al, %cl
jne 0x5761
movq %r13, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6106
movq (%rax), %r15
movq %r13, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6106
movq 0x8(%rax), %rax
xorl %ebx, %ebx
cmpq %rax, %r15
je 0x56fd
addl (%r15), %ebx
addq $0x4, %r15
jmp 0x56ef
movq %r13, %rdi
leaq 0xc(%rsp), %rsi
callq 0x6106
movq (%rax), %r15
movq %r13, %rdi
leaq 0xc(%rsp), %rsi
callq 0x6106
movq 0x8(%rax), %rcx
xorl %eax, %eax
cmpq %rcx, %r15
je 0x572e
addl (%r15), %eax
addq $0x4, %r15
jmp 0x5720
imull %ebx, %eax
movl 0xc(%rsp), %ecx
cvtsi2sd %eax, %xmm0
movq 0x50(%rsp), %rax
movq (%rax), %rax
movsd (%rax,%rcx,8), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rax,%rcx,8)
movq 0x30(%rsp), %rax
movq (%rax), %rax
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movq %rbp, 0xd0(%rsp)
movl 0xc(%rsp), %esi
movq (%r14), %rax
leaq (%rsi,%rsi,2), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x8(%rax,%rcx,8), %r8
movq %rdx, 0x40(%rsp)
subq %rdx, %r8
je 0x58fa
sarq $0x2, %r8
movq 0x18(%r14), %rax
movq %rax, 0x18(%rsp)
xorps %xmm0, %xmm0
cvtsi2sdl (%rax,%rsi,4), %xmm0
movq 0x48(%r14), %r10
movl 0x10(%rsp), %ecx
movq 0x28(%rsp), %rax
movq 0x200(%rax), %r9
movq 0x208(%rax), %r11
movq %rcx, %rax
xorl %edx, %edx
divq %r11
movq (%r9,%rdx,8), %rdi
movq %r9, 0xe0(%rsp)
movq %r11, 0xd8(%rsp)
movq (%r9,%r11,8), %rdx
movq 0x60(%r14), %rbp
movq 0x78(%r14), %r13
xorps %xmm1, %xmm1
cvtsi2sdl (%r13,%rsi,4), %xmm1
movq 0x90(%r14), %rbx
movq 0xa8(%r14), %r11
cmpq $0x1, %r8
adcq $0x0, %r8
xorl %r12d, %r12d
movq 0x40(%rsp), %rax
movl (%rax,%r12,4), %r15d
movq 0x18(%rsp), %rax
xorps %xmm2, %xmm2
cvtsi2sdl (%rax,%r15,4), %xmm2
divsd %xmm0, %xmm2
movsd (%r10,%rsi,8), %xmm3
addsd 0x2b801(%rip), %xmm3    # 0x31030
mulsd %xmm2, %xmm3
addsd (%r10,%r15,8), %xmm3
movsd %xmm3, (%r10,%r15,8)
testq %rdi, %rdi
je 0x5854
movq %rdi, %rax
cmpl (%rax), %ecx
je 0x5856
movq 0x20(%rax), %rax
testq %rax, %rax
jne 0x5847
xorl %eax, %eax
testq %rax, %rax
jne 0x586f
movq 0xe0(%rsp), %rax
movq 0xd8(%rsp), %r9
movq (%rax,%r9,8), %rax
cmpq %rdx, %rax
je 0x5888
mulsd (%rbp,%rsi,8), %xmm2
addsd (%rbp,%r15,8), %xmm2
movsd %xmm2, (%rbp,%r15,8)
xorps %xmm2, %xmm2
cvtsi2sdl (%r13,%r15,4), %xmm2
divsd %xmm1, %xmm2
movsd (%rbx,%rsi,8), %xmm3
addsd 0x2b78d(%rip), %xmm3    # 0x31030
mulsd %xmm2, %xmm3
addsd (%rbx,%r15,8), %xmm3
movsd %xmm3, (%rbx,%r15,8)
testq %rdi, %rdi
je 0x58c8
movq %rdi, %rax
cmpl (%rax), %ecx
je 0x58ca
movq 0x20(%rax), %rax
testq %rax, %rax
jne 0x58bb
xorl %eax, %eax
testq %rax, %rax
sete %r9b
cmpq %rdx, %rax
sete %al
orb %r9b, %al
jne 0x58ee
mulsd (%r11,%rsi,8), %xmm2
addsd (%r11,%r15,8), %xmm2
movsd %xmm2, (%r11,%r15,8)
incq %r12
cmpq %r8, %r12
jne 0x5806
cmpl 0x60(%rsp), %esi
movq 0x28(%rsp), %r12
leaq 0x10(%rsp), %rbp
jne 0x59ce
movq 0x38(%rsp), %rax
movq (%rax), %rax
movq 0x48(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
movsd (%rax,%rsi,8), %xmm2
movapd %xmm1, %xmm0
divsd %xmm2, %xmm0
addsd 0x2b6fb(%rip), %xmm2    # 0x31030
mulsd %xmm0, %xmm2
addsd %xmm1, %xmm2
movsd %xmm2, (%rax,%rcx,8)
movl 0x10(%rsp), %ecx
movq 0x200(%r12), %rdi
movq 0x208(%r12), %r8
movq %rcx, %rax
xorl %edx, %edx
divq %r8
movq (%rdi,%rdx,8), %rax
movl $0x0, %edx
testq %rax, %rax
je 0x5980
cmpl (%rax), %ecx
je 0x597d
movq 0x20(%rax), %rax
testq %rax, %rax
jne 0x596c
xorl %edx, %edx
jmp 0x5980
movq %rax, %rdx
testq %rdx, %rdx
jne 0x5989
movq (%rdi,%r8,8), %rdx
cmpq (%rdi,%r8,8), %rdx
je 0x59ce
movq 0x30(%rsp), %rax
movq (%rax), %rax
movsd (%rax,%rsi,8), %xmm1
mulsd %xmm0, %xmm1
movq 0x48(%rsp), %rdx
addsd (%rax,%rdx,8), %xmm1
movsd %xmm1, (%rax,%rdx,8)
movq 0x20(%rsp), %rcx
movq (%rcx), %rcx
mulsd (%rax,%rsi,8), %xmm0
mulsd 0x2b674(%rip), %xmm0    # 0x31038
addsd (%rcx,%rdx,8), %xmm0
movsd %xmm0, (%rcx,%rdx,8)
movl 0x10(%rsp), %ecx
cmpl %esi, %ecx
movq 0xd0(%rsp), %r15
je 0x5a27
movq 0x58(%rsp), %rax
movq (%rax), %rax
movsd (%rax,%rsi,8), %xmm0
movsd 0x2b645(%rip), %xmm2    # 0x31038
mulsd %xmm2, %xmm0
movq 0x20(%rsp), %rax
movq (%rax), %rax
movsd (%rax,%rsi,8), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%rax,%rsi,8)
movq 0x38(%rsp), %rdx
movq (%rdx), %rdx
movsd (%rdx,%rsi,8), %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax,%rsi,8)
movq 0x200(%r12), %rsi
movq 0x208(%r12), %rdi
movq %rcx, %rax
xorl %edx, %edx
divq %rdi
movq (%rsi,%rdx,8), %rax
movl $0x0, %edx
testq %rax, %rax
movq 0xc8(%rsp), %r13
je 0x5a69
cmpl (%rax), %ecx
je 0x5a66
movq 0x20(%rax), %rax
testq %rax, %rax
jne 0x5a55
xorl %edx, %edx
jmp 0x5a69
movq %rax, %rdx
testq %rdx, %rdx
jne 0x5a72
movq (%rsi,%rdi,8), %rdx
cmpq (%rsi,%rdi,8), %rdx
je 0x5b35
movq %r13, %rdi
movq %rbp, %rsi
callq 0x6106
movq (%rax), %rbx
movq %r13, %rdi
movq %rbp, %rsi
callq 0x6106
movq 0x8(%rax), %rax
cmpq %rax, %rbx
je 0x5ab4
xorl %ecx, %ecx
addl (%rbx), %ecx
addq $0x4, %rbx
cmpq %rax, %rbx
jne 0x5aa0
xorps %xmm0, %xmm0
cvtsi2sd %ecx, %xmm0
jmp 0x5ab8
xorpd %xmm0, %xmm0
movl 0xc(%rsp), %eax
movq 0x58(%rsp), %rcx
movq (%rcx), %rcx
movq 0x20(%rsp), %rdx
movq (%rdx), %rdx
movsd (%rdx,%rax,8), %xmm1
movsd (%rcx,%rax,8), %xmm2
mulsd %xmm0, %xmm2
subsd %xmm2, %xmm1
movsd %xmm1, (%rdx,%rax,8)
movq 0x50(%rsp), %rcx
movq (%rcx), %rcx
movsd (%rcx,%rax,8), %xmm2
movsd 0x2b540(%rip), %xmm3    # 0x31038
mulsd %xmm3, %xmm2
subsd %xmm2, %xmm1
movsd %xmm1, (%rdx,%rax,8)
movq 0x38(%rsp), %rcx
movq (%rcx), %rcx
mulsd (%rcx,%rax,8), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rdx,%rax,8)
movq 0x30(%rsp), %rcx
movq (%rcx), %rcx
movsd (%rcx,%rax,8), %xmm1
mulsd %xmm3, %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rdx,%rax,8)
leaq -0x1(%r15), %rbp
testq %r15, %r15
jg 0x562b
leaq 0x70(%rsp), %rdi
callq 0x6998
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5b66
jmp 0x5b66
jmp 0x5b66
jmp 0x5b66
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x6998
movq %rbx, %rdi
callq 0x23b0