// File: /workspace/github_cpp_makefile_star2_O1/Luthaf[P]zeopp/networkaccessibility.cc
// Function: AccessibilityClassNINF::getPLDvisData(std::vector<Point, std::allocator<Point>>*, std::vector<int, std::allocator<int>>*, std::vector<double, std::allocator<double>>*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void AccessibilityClassNINF::getPLDvisData(vector<Point> *NodeFracCoord, vector<int> *NodeSegmentIDs, vector<double> *NodeSegmentValue, string reqvisdata){

 // preparing data structures
 NodeFracCoord->clear();
 NodeSegmentIDs->clear();
 NodeSegmentValue->clear();

 if(reqvisdata == "INITSEGMAP"){
   // initial segment mapping (prints nodes initially assigned to semgents)
   for(unsigned int i=0; i<vornet.nodes.size(); i++)
     {
     if(segmentMapping[i]>=0) 
       {
       NodeFracCoord->push_back(orgAtomNet->xyz_to_abc(vornet.nodes.at(i).x, vornet.nodes.at(i).y, vornet.nodes.at(i).z));
       NodeSegmentIDs->push_back(segmentMapping[i]);
       NodeSegmentValue->push_back(segmentDi[segmentMapping[i]]);
       };
     };
   };

 if(reqvisdata == "FINALSEGMAP"){
   // initial segment mapping (prints nodes initially assigned to semgents)
   for(unsigned int i=0; i<vornet.nodes.size(); i++)
     {
     if(segmentMappingFinal[i]>=0)
       {
       NodeFracCoord->push_back(orgAtomNet->xyz_to_abc(vornet.nodes.at(i).x, vornet.nodes.at(i).y, vornet.nodes.at(i).z));
       NodeSegmentIDs->push_back(segmentMappingFinal[i]);
       NodeSegmentValue->push_back(segmentDiFinal[segmentMappingFinal[i]]);
       };
     };
   };

 if(reqvisdata == "INITSEGDINODE"){
   // initial segment mapping (prints nodes initially assigned to semgents)
   for(unsigned int j=0; j<segmentDiNodeID.size(); j++)
     {
     int i=segmentDiNodeID[j];
     NodeFracCoord->push_back(orgAtomNet->xyz_to_abc(vornet.nodes.at(i).x, vornet.nodes.at(i).y, vornet.nodes.at(i).z));
     NodeSegmentIDs->push_back(j);
     NodeSegmentValue->push_back(segmentDi[j]);
     };
   };

 if(reqvisdata == "PLDNODES"){
   // initial segment mapping (prints nodes initially assigned to semgents)
   for(int i=0; i<n_segments; i++)
   for(int j=i+1; j<n_segments; j++)
     {
     if(PLDtable[i].at(j)> 0.0)
       { // segments i and j are connected
       int node1 = PLDEdgeTable.at(i).at(j).first;
       int node2 = PLDEdgeTable.at(i).at(j).second;  
       for(unsigned int k=0; k<vornet.edges.size(); k++){
       int count=0;
       if((vornet.edges.at(k).from==node1&&vornet.edges.at(k).to==node2)||(vornet.edges.at(k).from==node2&&vornet.edges.at(k).to==node1))
         { // edge found
         if(count > 0) cerr << "Two nodes connected by more than one edge. Visualization may contain artefacts.\n";
         XYZ nd1(vornet.nodes.at(vornet.edges.at(k).from).x, vornet.nodes.at(vornet.edges.at(k).from).y, vornet.nodes.at(vornet.edges.at(k).from).z);
         XYZ nd2(vornet.nodes.at(vornet.edges.at(k).to).x, vornet.nodes.at(vornet.edges.at(k).to).y, vornet.nodes.at(vornet.edges.at(k).to).z);

         nd2 = nd2 + vornet.v_a.scale(vornet.edges.at(k).delta_uc_x) + vornet.v_b.scale(vornet.edges.at(k).delta_uc_y) + vornet.v_c.scale(vornet.edges.at(k).delta_uc_z);

         XYZ nd = midpoint(nd1, nd2);
         
         NodeFracCoord->push_back(orgAtomNet->xyz_to_abc(nd.x, nd.y, nd.z));
         NodeSegmentIDs->push_back(0); // no ID for edge
         NodeSegmentValue->push_back(PLDtable[i].at(j));
         count++;
         };
       };
     };
     };
   };

 if(reqvisdata == "DFSPHERES"){
   // display spheres in between connected cages
   // this is a temp function without PBC 
   for(int i=0; i<n_segments; i++)
   for(int j=i+1; j<n_segments; j++)
     {
     int dinode1 =segmentDiNodeID[i];
     int dinode2 =segmentDiNodeID[j];

     if(PLDtable[i].at(j)> 0.0 && calcEuclideanDistance(vornet.nodes.at(dinode1).x, vornet.nodes.at(dinode1).y, vornet.nodes.at(dinode1).z,
                               vornet.nodes.at(dinode2).x, vornet.nodes.at(dinode2).y, vornet.nodes.at(dinode2).z) < 15.0 )
       { // segments i and j are connected
       int count=0;
         if(count > 0) cerr << "Two nodes connected by more than one edge. Visualization may contain artefacts.\n";

         XYZ nd1(vornet.nodes.at(dinode1).x, vornet.nodes.at(dinode1).y, vornet.nodes.at(dinode1).z);
         XYZ nd2(vornet.nodes.at(dinode2).x, vornet.nodes.at(dinode2).y, vornet.nodes.at(dinode2).z);

         XYZ nd = midpoint(nd1, nd2);

         NodeFracCoord->push_back(orgAtomNet->xyz_to_abc(nd.x, nd.y, nd.z));
         NodeSegmentIDs->push_back(0); // no ID for edge
         NodeSegmentValue->push_back(PLDtable[i].at(j));
         count++;
       };
     };
   };


}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x178, %rsp            # imm = 0x178
movq %r8, %r13
movq %rcx, %r15
movq %rdx, 0x38(%rsp)
movq (%rsi), %rax
cmpq %rax, 0x8(%rsi)
je 0x989f3
movq %rax, 0x8(%rsi)
movq 0x38(%rsp), %rcx
movq (%rcx), %rax
cmpq %rax, 0x8(%rcx)
je 0x98a05
movq %rax, 0x8(%rcx)
movq %rdi, 0x30(%rsp)
movq %rsi, 0x50(%rsp)
movq (%r15), %rax
cmpq %rax, 0x8(%r15)
je 0x98a1c
movq %rax, 0x8(%r15)
leaq 0xbf746(%rip), %rsi     # 0x158169
movq %r13, %rdi
callq 0x4170
testl %eax, %eax
movq 0x30(%rsp), %r12
jne 0x98b56
movq 0x60(%r12), %rax
cmpq %rax, 0x68(%r12)
je 0x98b56
movl $0x1, %ebp
xorl %r14d, %r14d
leaq 0x58(%rsp), %rbx
movq 0x198(%r12), %rcx
cmpl $0x0, (%rcx,%r14,4)
js 0x98b37
movq (%r12), %rsi
movq %r14, %rcx
shlq $0x6, %rcx
movsd (%rax,%rcx), %xmm0
movsd 0x8(%rax,%rcx), %xmm1
movsd 0x10(%rax,%rcx), %xmm2
movq %rbx, %rdi
callq 0x531ea
movq 0x50(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x98ab5
movq 0x68(%rsp), %rax
movq %rax, 0x10(%rsi)
movupd 0x58(%rsp), %xmm0
movupd %xmm0, (%rsi)
addq $0x18, 0x8(%rdi)
jmp 0x98abd
movq %rbx, %rdx
callq 0x3012c
leaq (,%r14,4), %rdx
movq 0x30(%rsp), %rax
addq 0x198(%rax), %rdx
movq 0x38(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x98aee
movl (%rdx), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x98af3
callq 0xf7b4
movq 0x30(%rsp), %rcx
movq 0x198(%rcx), %rax
movslq (%rax,%r14,4), %rdx
shlq $0x3, %rdx
addq 0x1c8(%rcx), %rdx
movq 0x8(%r15), %rsi
cmpq 0x10(%r15), %rsi
je 0x98b2a
movsd (%rdx), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%r15)
jmp 0x98b32
movq %r15, %rdi
callq 0x148c4
movq 0x30(%rsp), %r12
movl %ebp, %r14d
movq 0x60(%r12), %rax
movq 0x68(%r12), %rcx
subq %rax, %rcx
sarq $0x6, %rcx
incl %ebp
cmpq %r14, %rcx
ja 0x98a55
leaq 0xbf617(%rip), %rsi     # 0x158174
movq %r13, %rdi
callq 0x4170
testl %eax, %eax
jne 0x98c8b
movq 0x60(%r12), %rax
cmpq %rax, 0x68(%r12)
je 0x98c8b
movl $0x1, %ebp
xorl %r14d, %r14d
leaq 0x58(%rsp), %rbx
movq 0x1b0(%r12), %rcx
cmpl $0x0, (%rcx,%r14,4)
js 0x98c6c
movq (%r12), %rsi
movq %r14, %rcx
shlq $0x6, %rcx
movsd (%rax,%rcx), %xmm0
movsd 0x8(%rax,%rcx), %xmm1
movsd 0x10(%rax,%rcx), %xmm2
movq %rbx, %rdi
callq 0x531ea
movq 0x50(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x98bea
movq 0x68(%rsp), %rax
movq %rax, 0x10(%rsi)
movupd 0x58(%rsp), %xmm0
movupd %xmm0, (%rsi)
addq $0x18, 0x8(%rdi)
jmp 0x98bf2
movq %rbx, %rdx
callq 0x3012c
leaq (,%r14,4), %rdx
movq 0x30(%rsp), %rax
addq 0x1b0(%rax), %rdx
movq 0x38(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x98c23
movl (%rdx), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x98c28
callq 0xf7b4
movq 0x30(%rsp), %rcx
movq 0x1b0(%rcx), %rax
movslq (%rax,%r14,4), %rdx
shlq $0x3, %rdx
addq 0x1f8(%rcx), %rdx
movq 0x8(%r15), %rsi
cmpq 0x10(%r15), %rsi
je 0x98c5f
movsd (%rdx), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%r15)
jmp 0x98c67
movq %r15, %rdi
callq 0x148c4
movq 0x30(%rsp), %r12
movl %ebp, %r14d
movq 0x60(%r12), %rax
movq 0x68(%r12), %rcx
subq %rax, %rcx
sarq $0x6, %rcx
incl %ebp
cmpq %r14, %rcx
ja 0x98b8a
leaq 0xbf4ee(%rip), %rsi     # 0x158180
movq %r13, 0xd0(%rsp)
movq %r13, %rdi
callq 0x4170
testl %eax, %eax
movq %r12, %rbp
jne 0x98dbe
movq 0x1e0(%rbp), %rax
cmpq %rax, 0x1e8(%rbp)
je 0x98dbe
xorl %r13d, %r13d
leaq 0x58(%rsp), %rbx
xorl %r14d, %r14d
movslq (%rax,%r13,4), %rsi
movq 0x60(%rbp), %rcx
movq 0x68(%rbp), %rdx
subq %rcx, %rdx
sarq $0x6, %rdx
cmpq %rsi, %rdx
jbe 0x99619
movq (%rbp), %rax
shlq $0x6, %rsi
movsd (%rcx,%rsi), %xmm0
movsd 0x8(%rcx,%rsi), %xmm1
movsd 0x10(%rcx,%rsi), %xmm2
movq %rbx, %rdi
movq %rax, %rsi
callq 0x531ea
movq 0x50(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x98d35
movq 0x68(%rsp), %rax
movq %rax, 0x10(%rsi)
movupd 0x58(%rsp), %xmm0
movupd %xmm0, (%rsi)
addq $0x18, 0x8(%rdi)
jmp 0x98d3d
movq %rbx, %rdx
callq 0x3012c
movl %r14d, 0x58(%rsp)
movq 0x38(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x98d5e
movl %r14d, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x98d66
movq %rbx, %rdx
callq 0x1422c
shlq $0x3, %r13
addq 0x1c8(%rbp), %r13
movq 0x8(%r15), %rsi
cmpq 0x10(%r15), %rsi
je 0x98d8f
movsd (%r13), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%r15)
jmp 0x98d9a
movq %r15, %rdi
movq %r13, %rdx
callq 0x148c4
incl %r14d
movq 0x1e0(%rbp), %rax
movq 0x1e8(%rbp), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
movq %r14, %r13
cmpq %r14, %rcx
ja 0x98ccc
movq %r15, 0x78(%rsp)
leaq 0xbf3c4(%rip), %rsi     # 0x15818e
movq 0xd0(%rsp), %rdi
callq 0x4170
testl %eax, %eax
jne 0x992d6
cmpl $0x0, 0x190(%rbp)
jle 0x992d6
leaq 0x18(%rbp), %rax
movq %rax, 0x70(%rsp)
leaq 0x30(%rbp), %rax
movq %rax, 0x110(%rsp)
leaq 0x48(%rbp), %rax
movq %rax, 0x108(%rsp)
movl $0x1, %eax
movq %rax, 0xd8(%rsp)
xorl %ecx, %ecx
movabsq $-0x3333333333333333, %rsi # imm = 0xCCCCCCCCCCCCCCCD
leaq 0x160(%rsp), %r15
movq %rcx, 0x98(%rsp)
incq %rcx
movslq 0x190(%rbp), %rax
movq %rcx, 0x100(%rsp)
cmpq %rax, %rcx
jge 0x992b6
movq 0x98(%rsp), %rax
leaq (%rax,%rax,2), %rax
movq %rax, 0x40(%rsp)
movq 0xd8(%rsp), %r14
movq 0x228(%rbp), %rcx
movq 0x40(%rsp), %rdx
movq (%rcx,%rdx,8), %rax
movq 0x8(%rcx,%rdx,8), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %r14, %rdx
jbe 0x99622
movsd (%rax,%r14,8), %xmm0
ucomisd 0xba423(%rip), %xmm0    # 0x1532c0
jbe 0x992a6
movq 0x240(%rbp), %rax
movq 0x248(%rbp), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rdx
cmpq 0x98(%rsp), %rdx
jbe 0x9964b
movq 0x40(%rsp), %rdx
movq (%rax,%rdx,8), %rcx
movq 0x8(%rax,%rdx,8), %rdx
subq %rcx, %rdx
sarq $0x3, %rdx
cmpq %r14, %rdx
jbe 0x99622
movq 0x78(%rbp), %rax
cmpq %rax, 0x80(%rbp)
je 0x992a6
movl (%rcx,%r14,8), %r12d
movl 0x4(%rcx,%r14,8), %edx
movl $0x1, %edi
xorl %ebx, %ebx
movq %r14, 0x90(%rsp)
movl %r12d, 0x88(%rsp)
movl %edx, 0x80(%rsp)
leaq (%rbx,%rbx,4), %r13
leaq (%rax,%r13,8), %rax
movl (%rax), %ecx
cmpl %r12d, %ecx
jne 0x98f3e
cmpl %edx, 0x4(%rax)
je 0x98f50
cmpl %edx, %ecx
jne 0x99283
cmpl %r12d, 0x4(%rax)
jne 0x99283
movslq (%rax), %rsi
movq 0x60(%rbp), %rax
movq 0x68(%rbp), %rdx
subq %rax, %rdx
sarq $0x6, %rdx
cmpq %rsi, %rdx
jbe 0x99619
movl %edi, 0x48(%rsp)
shlq $0x6, %rsi
movsd (%rax,%rsi), %xmm0
movsd 0x8(%rax,%rsi), %xmm1
movsd 0x10(%rax,%rsi), %xmm2
leaq 0x58(%rsp), %rdi
callq 0x85982
movq 0x78(%rbp), %rax
movq 0x80(%rbp), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movabsq $-0x3333333333333333, %rcx # imm = 0xCCCCCCCCCCCCCCCD
imulq %rcx, %rdx
cmpq %rbx, %rdx
jbe 0x9960d
movslq 0x4(%rax,%r13,8), %rsi
movq 0x60(%rbp), %rax
movq 0x68(%rbp), %rdx
subq %rax, %rdx
sarq $0x6, %rdx
cmpq %rsi, %rdx
jbe 0x99619
shlq $0x6, %rsi
movsd (%rax,%rsi), %xmm0
movsd 0x8(%rax,%rsi), %xmm1
movsd 0x10(%rax,%rsi), %xmm2
leaq 0xe0(%rsp), %r12
movq %r12, %rdi
callq 0x85982
movq 0x78(%rbp), %rax
movq 0x80(%rbp), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movabsq $-0x3333333333333333, %rcx # imm = 0xCCCCCCCCCCCCCCCD
imulq %rcx, %rdx
cmpq %rbx, %rdx
jbe 0x9960d
movq %r13, %r14
xorps %xmm0, %xmm0
cvtsi2sdl 0x10(%rax,%r13,8), %xmm0
leaq 0x148(%rsp), %r13
movq %r13, %rdi
movq 0x70(%rsp), %rsi
callq 0x85a34
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x85dd4
movq 0x78(%rbp), %rax
movq 0x80(%rbp), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movabsq $-0x3333333333333333, %rcx # imm = 0xCCCCCCCCCCCCCCCD
imulq %rcx, %rdx
cmpq %rbx, %rdx
jbe 0x9960d
xorps %xmm0, %xmm0
cvtsi2sdl 0x14(%rax,%r14,8), %xmm0
leaq 0x130(%rsp), %r12
movq %r12, %rdi
movq 0x110(%rsp), %rsi
callq 0x85a34
leaq 0xa0(%rsp), %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x85dd4
movq 0x78(%rbp), %rax
movq 0x80(%rbp), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movabsq $-0x3333333333333333, %rcx # imm = 0xCCCCCCCCCCCCCCCD
imulq %rcx, %rdx
cmpq %rbx, %rdx
jbe 0x9960d
xorps %xmm0, %xmm0
cvtsi2sdl 0x18(%rax,%r14,8), %xmm0
leaq 0x118(%rsp), %rbx
movq %rbx, %rdi
movq 0x108(%rsp), %rsi
callq 0x85a34
leaq 0xb8(%rsp), %r14
movq %r14, %rdi
leaq 0xa0(%rsp), %r12
movq %r12, %rsi
movq %rbx, %rdx
callq 0x85dd4
movq 0xc8(%rsp), %rax
movq %rax, 0xf0(%rsp)
movups 0xb8(%rsp), %xmm0
movaps %xmm0, 0xe0(%rsp)
movq 0xf0(%rsp), %rax
movq %rax, 0x28(%rsp)
movaps 0xe0(%rsp), %xmm0
movups %xmm0, 0x18(%rsp)
movq 0x68(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x58(%rsp), %xmm0
movups %xmm0, (%rsp)
movq %r14, %rdi
callq 0x85ea1
movq (%rbp), %rsi
movsd 0xb8(%rsp), %xmm0
movsd 0xc0(%rsp), %xmm1
movsd 0xc8(%rsp), %xmm2
movq %r12, %rdi
callq 0x531ea
movq 0x50(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x991c4
movq 0xb0(%rsp), %rax
movq %rax, 0x10(%rsi)
movupd 0xa0(%rsp), %xmm0
movupd %xmm0, (%rsi)
addq $0x18, 0x8(%rdi)
jmp 0x991d1
leaq 0xa0(%rsp), %rdx
callq 0x3012c
movq 0x78(%rsp), %rbx
movq 0x90(%rsp), %r14
movl 0x88(%rsp), %r12d
movl $0x0, 0xa0(%rsp)
movq 0x38(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x99210
movl $0x0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x9921d
leaq 0xa0(%rsp), %rdx
callq 0x1422c
movq 0x228(%rbp), %rcx
movq 0x40(%rsp), %rdx
movq (%rcx,%rdx,8), %rax
movq 0x8(%rcx,%rdx,8), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %r14, %rdx
movl 0x48(%rsp), %edi
jbe 0x99622
leaq (%rax,%r14,8), %rdx
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x99266
movsd (%rdx), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x99272
movq %rbx, %rdi
callq 0x148c4
movl 0x48(%rsp), %edi
movabsq $-0x3333333333333333, %rsi # imm = 0xCCCCCCCCCCCCCCCD
movl 0x80(%rsp), %edx
movl %edi, %ebx
movq 0x78(%rbp), %rax
movq 0x80(%rbp), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
imulq %rsi, %rcx
incl %edi
cmpq %rbx, %rcx
ja 0x98f2a
incq %r14
cmpl %r14d, 0x190(%rbp)
jg 0x98e6a
movslq 0x190(%rbp), %rax
incq 0xd8(%rsp)
movq 0x100(%rsp), %rcx
cmpq %rax, %rcx
jl 0x98e2e
leaq 0xbeeba(%rip), %rsi     # 0x158197
movq 0xd0(%rsp), %rdi
callq 0x4170
testl %eax, %eax
jne 0x995fb
cmpl $0x0, 0x190(%rbp)
jle 0x995fb
movl $0x1, %eax
movq %rax, 0x80(%rsp)
movl $0x8, %eax
movq %rax, 0x70(%rsp)
xorl %ecx, %ecx
movq %rcx, %r12
incq %rcx
movslq 0x190(%rbp), %rax
movq %rcx, 0x88(%rsp)
cmpq %rax, %rcx
jge 0x995d5
leaq (%r12,%r12,2), %rax
movq %rax, 0x40(%rsp)
movq 0x70(%rsp), %rsi
movq 0x80(%rsp), %r13
movq %r12, 0x90(%rsp)
movq 0x228(%rbp), %rcx
movq 0x40(%rsp), %rdx
movq (%rcx,%rdx,8), %rax
movq 0x8(%rcx,%rdx,8), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %r13, %rdx
jbe 0x99633
movsd (%rax,%r13,8), %xmm0
ucomisd 0xb9f39(%rip), %xmm0    # 0x1532c0
jbe 0x995bc
movq 0x30(%rsp), %rdx
movq 0x1e0(%rdx), %rcx
movslq (%rcx,%r12,4), %r14
movq 0x60(%rdx), %rax
movq 0x68(%rdx), %rdx
subq %rax, %rdx
sarq $0x6, %rdx
cmpq %r14, %rdx
jbe 0x99622
movq %rsi, 0x48(%rsp)
movslq (%rcx,%r13,4), %r15
cmpq %r15, %rdx
jbe 0x9963f
movq %r14, %rbp
shlq $0x6, %rbp
movsd 0x10(%rax,%rbp), %xmm2
movsd (%rax,%rbp), %xmm0
movsd 0x8(%rax,%rbp), %xmm1
movq %r15, %rbx
shlq $0x6, %rbx
movsd (%rax,%rbx), %xmm3
movsd 0x8(%rax,%rbx), %xmm4
movsd 0x10(%rax,%rbx), %xmm5
callq 0x868fa
movsd 0xbb2bc(%rip), %xmm1    # 0x1546c0
ucomisd %xmm0, %xmm1
movq 0x48(%rsp), %rsi
jbe 0x995bc
movq 0x30(%rsp), %r12
movq 0x60(%r12), %rax
movq 0x68(%r12), %rdx
subq %rax, %rdx
sarq $0x6, %rdx
cmpq %r14, %rdx
jbe 0x99622
movsd (%rax,%rbp), %xmm0
movsd 0x8(%rax,%rbp), %xmm1
movsd 0x10(%rax,%rbp), %xmm2
leaq 0x58(%rsp), %rdi
callq 0x85982
movq 0x60(%r12), %rax
movq 0x68(%r12), %rdx
subq %rax, %rdx
sarq $0x6, %rdx
cmpq %r15, %rdx
jbe 0x9963f
movq %r12, %r14
movsd (%rax,%rbx), %xmm0
movsd 0x8(%rax,%rbx), %xmm1
movsd 0x10(%rax,%rbx), %xmm2
leaq 0xe0(%rsp), %rdi
callq 0x85982
movq 0xf0(%rsp), %rax
movq %rax, 0x28(%rsp)
movups 0xe0(%rsp), %xmm0
movups %xmm0, 0x18(%rsp)
movq 0x68(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x58(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0xb8(%rsp), %rdi
callq 0x85ea1
movq (%r12), %rsi
movsd 0xb8(%rsp), %xmm0
movsd 0xc0(%rsp), %xmm1
movsd 0xc8(%rsp), %xmm2
leaq 0xa0(%rsp), %r15
movq %r15, %rdi
callq 0x531ea
movq 0x50(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
movq 0x90(%rsp), %r12
je 0x99528
movq 0xb0(%rsp), %rax
movq %rax, 0x10(%rsi)
movupd 0xa0(%rsp), %xmm0
movupd %xmm0, (%rsi)
addq $0x18, 0x8(%rdi)
jmp 0x99530
movq %r15, %rdx
callq 0x3012c
movq 0x78(%rsp), %rbx
movl $0x0, 0xa0(%rsp)
movq 0x38(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x9955f
movl $0x0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x99567
movq %r15, %rdx
callq 0x1422c
movq 0x228(%r14), %rax
movq 0x40(%rsp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x8(%rax,%rcx,8), %rax
subq %rdx, %rax
sarq $0x3, %rax
cmpq %r13, %rax
jbe 0x9965c
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x995aa
movsd (%rdx,%r13,8), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x995b7
addq 0x48(%rsp), %rdx
movq %rbx, %rdi
callq 0x148c4
movq 0x48(%rsp), %rsi
incq %r13
addq $0x8, %rsi
movq 0x30(%rsp), %rbp
cmpl %r13d, 0x190(%rbp)
jg 0x99354
movslq 0x190(%rbp), %rax
incq 0x80(%rsp)
addq $0x8, 0x70(%rsp)
movq 0x88(%rsp), %rcx
cmpq %rax, %rcx
jl 0x99318
addq $0x178, %rsp            # imm = 0x178
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xb6091(%rip), %rdi     # 0x14f6a5
movq %rbx, %rsi
jmp 0x9962c
leaq 0xb6085(%rip), %rdi     # 0x14f6a5
jmp 0x9962c
leaq 0xb607c(%rip), %rdi     # 0x14f6a5
movq %r14, %rsi
xorl %eax, %eax
callq 0x4630
leaq 0xb606b(%rip), %rdi     # 0x14f6a5
movq %r13, %rsi
jmp 0x9962c
leaq 0xb605f(%rip), %rdi     # 0x14f6a5
movq %r15, %rsi
jmp 0x9962c
leaq 0xb6053(%rip), %rdi     # 0x14f6a5
movq 0x98(%rsp), %rsi
jmp 0x9962c
leaq 0xb6042(%rip), %rdi     # 0x14f6a5
movq %r13, %rsi
movq %rax, %rdx
jmp 0x9962c
nop