// File: /workspace/github_cpp_makefile_star2_O3/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 $0x168, %rsp            # imm = 0x168
movq %r8, 0x50(%rsp)
movq %rcx, 0x30(%rsp)
movq %rdx, 0x38(%rsp)
movq %rdi, %r12
movq (%rsi), %rax
cmpq %rax, 0x8(%rsi)
je 0x968fe
movq %rax, 0x8(%rsi)
movq 0x38(%rsp), %rcx
movq (%rcx), %rax
cmpq %rax, 0x8(%rcx)
je 0x96910
movq %rax, 0x8(%rcx)
movq %rsi, 0x58(%rsp)
movq 0x30(%rsp), %rcx
movq (%rcx), %rax
cmpq %rax, 0x8(%rcx)
je 0x96927
movq %rax, 0x8(%rcx)
leaq 0xbf99b(%rip), %rsi     # 0x1562c9
movq 0x50(%rsp), %rdi
callq 0x4170
testl %eax, %eax
jne 0x96a57
movq 0x60(%r12), %rax
cmpq %rax, 0x68(%r12)
je 0x96a57
movl $0x1, %ebp
xorl %r14d, %r14d
leaq 0x68(%rsp), %rbx
movq 0x198(%r12), %rcx
cmpl $0x0, (%rcx,%r14,4)
js 0x96a38
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 0x52eec
movq 0x58(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x969bd
movq 0x78(%rsp), %rax
movq %rax, 0x10(%rsi)
movupd 0x68(%rsp), %xmm0
movupd %xmm0, (%rsi)
addq $0x18, 0x8(%rdi)
jmp 0x969c5
movq %rbx, %rdx
callq 0x2fec4
leaq (,%r14,4), %rdx
addq 0x198(%r12), %rdx
movq 0x38(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x969f2
movl (%rdx), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x96a03
callq 0xf864
movq 0x198(%r12), %rax
movl (%rax,%r14,4), %eax
movslq %eax, %rdx
shlq $0x3, %rdx
addq 0x1c8(%r12), %rdx
movq 0x30(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x96a33
movsd (%rdx), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x96a38
callq 0x1481e
movl %ebp, %r14d
movq 0x60(%r12), %rax
movq 0x68(%r12), %rcx
subq %rax, %rcx
sarq $0x6, %rcx
incl %ebp
cmpq %r14, %rcx
ja 0x9695d
leaq 0xbf876(%rip), %rsi     # 0x1562d4
movq 0x50(%rsp), %rdi
callq 0x4170
testl %eax, %eax
jne 0x96b87
movq 0x60(%r12), %rax
cmpq %rax, 0x68(%r12)
je 0x96b87
movl $0x1, %ebp
xorl %r14d, %r14d
leaq 0x68(%rsp), %rbx
movq 0x1b0(%r12), %rcx
cmpl $0x0, (%rcx,%r14,4)
js 0x96b68
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 0x52eec
movq 0x58(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x96aed
movq 0x78(%rsp), %rax
movq %rax, 0x10(%rsi)
movupd 0x68(%rsp), %xmm0
movupd %xmm0, (%rsi)
addq $0x18, 0x8(%rdi)
jmp 0x96af5
movq %rbx, %rdx
callq 0x2fec4
leaq (,%r14,4), %rdx
addq 0x1b0(%r12), %rdx
movq 0x38(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x96b22
movl (%rdx), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x96b33
callq 0xf864
movq 0x1b0(%r12), %rax
movl (%rax,%r14,4), %eax
movslq %eax, %rdx
shlq $0x3, %rdx
addq 0x1f8(%r12), %rdx
movq 0x30(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x96b63
movsd (%rdx), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x96b68
callq 0x1481e
movl %ebp, %r14d
movq 0x60(%r12), %rax
movq 0x68(%r12), %rcx
subq %rax, %rcx
sarq $0x6, %rcx
incl %ebp
cmpq %r14, %rcx
ja 0x96a8d
leaq 0xbf752(%rip), %rsi     # 0x1562e0
movq 0x50(%rsp), %rdi
callq 0x4170
testl %eax, %eax
jne 0x96cc2
movq 0x1e0(%r12), %rax
cmpq %rax, 0x1e8(%r12)
je 0x96cc2
xorl %r13d, %r13d
leaq 0x68(%rsp), %rbx
xorl %r14d, %r14d
movslq (%rax,%r13,4), %rsi
movq 0x60(%r12), %rcx
movq 0x68(%r12), %rdx
subq %rcx, %rdx
sarq $0x6, %rdx
cmpq %rsi, %rdx
jbe 0x9750c
movq (%r12), %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 0x52eec
movq 0x58(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x96c2c
movq 0x78(%rsp), %rax
movq %rax, 0x10(%rsi)
movupd 0x68(%rsp), %xmm0
movupd %xmm0, (%rsi)
addq $0x18, 0x8(%rdi)
jmp 0x96c34
movq %rbx, %rdx
callq 0x2fec4
movl %r14d, 0x68(%rsp)
movq 0x38(%rsp), %rax
movq 0x8(%rax), %rsi
cmpq 0x10(%rax), %rsi
movq 0x30(%rsp), %rdi
je 0x96c5a
movl %r14d, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rax)
jmp 0x96c6a
movq %rax, %rdi
movq %rbx, %rdx
callq 0x14198
movq 0x30(%rsp), %rdi
shlq $0x3, %r13
addq 0x1c8(%r12), %r13
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x96c94
movsd (%r13), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x96c9c
movq %r13, %rdx
callq 0x1481e
incl %r14d
movq 0x1e0(%r12), %rax
movq 0x1e8(%r12), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
movq %r14, %r13
cmpq %r14, %rcx
ja 0x96bc1
leaq 0xbf625(%rip), %rsi     # 0x1562ee
movq 0x50(%rsp), %rdi
callq 0x4170
testl %eax, %eax
jne 0x971e0
movl 0x190(%r12), %eax
testl %eax, %eax
jle 0x971e0
leaq 0x18(%r12), %rcx
movq %rcx, 0x90(%rsp)
leaq 0x30(%r12), %rcx
movq %rcx, 0x100(%rsp)
leaq 0x48(%r12), %rcx
movq %rcx, 0xf8(%rsp)
movl $0x1, %r14d
xorl %edx, %edx
movabsq $-0x3333333333333333, %rdi # imm = 0xCCCCCCCCCCCCCCCD
leaq 0x150(%rsp), %r13
movq %rdx, %r8
incq %rdx
movslq %eax, %rcx
cmpq %rcx, %rdx
jge 0x971d4
movq %rdx, 0xe0(%rsp)
leaq (%r8,%r8,2), %rcx
movq %rcx, 0x60(%rsp)
movq %r14, 0xe8(%rsp)
movq %r8, 0xf0(%rsp)
movq 0x228(%r12), %rdx
movq 0x60(%rsp), %rsi
movq (%rdx,%rsi,8), %rcx
movq 0x8(%rdx,%rsi,8), %rdx
subq %rcx, %rdx
sarq $0x3, %rdx
cmpq %r14, %rdx
jbe 0x97515
movsd (%rcx,%r14,8), %xmm0
ucomisd 0xba5bd(%rip), %xmm0    # 0x151350
jbe 0x971b5
movq 0x240(%r12), %rcx
movq 0x248(%r12), %rdx
subq %rcx, %rdx
sarq $0x3, %rdx
movabsq $-0x5555555555555555, %rsi # imm = 0xAAAAAAAAAAAAAAAB
imulq %rsi, %rdx
cmpq %r8, %rdx
jbe 0x9753e
movq 0x60(%rsp), %rdx
movq (%rcx,%rdx,8), %rsi
movq 0x8(%rcx,%rdx,8), %rdx
subq %rsi, %rdx
sarq $0x3, %rdx
cmpq %r14, %rdx
jbe 0x97515
movq 0x78(%r12), %rcx
movq 0x80(%r12), %rdx
cmpq %rcx, %rdx
je 0x971b5
movl (%rsi,%r14,8), %ebp
movl 0x4(%rsi,%r14,8), %eax
movl %eax, 0x48(%rsp)
movl $0x1, %r9d
xorl %ebx, %ebx
movq %r14, 0x88(%rsp)
movl %ebp, 0x80(%rsp)
leaq (%rbx,%rbx,4), %r15
leaq (%rcx,%r15,8), %rax
movslq (%rax), %rsi
cmpl %ebp, %esi
jne 0x96e39
movl 0x48(%rsp), %r8d
cmpl %r8d, 0x4(%rax)
je 0x96e4c
cmpl 0x48(%rsp), %esi
jne 0x97188
cmpl %ebp, 0x4(%rax)
jne 0x97188
movq 0x60(%r12), %rax
movq 0x68(%r12), %rdx
subq %rax, %rdx
sarq $0x6, %rdx
cmpq %rsi, %rdx
jbe 0x9750c
movl %r9d, 0x40(%rsp)
shlq $0x6, %rsi
movsd (%rax,%rsi), %xmm0
movsd 0x8(%rax,%rsi), %xmm1
movsd 0x10(%rax,%rsi), %xmm2
leaq 0x68(%rsp), %rdi
callq 0x84364
movq 0x78(%r12), %rax
movq 0x80(%r12), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movabsq $-0x3333333333333333, %rcx # imm = 0xCCCCCCCCCCCCCCCD
imulq %rcx, %rdx
cmpq %rbx, %rdx
jbe 0x97500
movslq 0x4(%rax,%r15,8), %rsi
movq 0x60(%r12), %rax
movq 0x68(%r12), %rdx
subq %rax, %rdx
sarq $0x6, %rdx
cmpq %rsi, %rdx
jbe 0x9750c
shlq $0x6, %rsi
movsd (%rax,%rsi), %xmm0
movsd 0x8(%rax,%rsi), %xmm1
movsd 0x10(%rax,%rsi), %xmm2
leaq 0xb0(%rsp), %rbp
movq %rbp, %rdi
callq 0x84364
movq 0x78(%r12), %rax
movq 0x80(%r12), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movabsq $-0x3333333333333333, %rcx # imm = 0xCCCCCCCCCCCCCCCD
imulq %rcx, %rdx
cmpq %rbx, %rdx
jbe 0x97500
xorps %xmm0, %xmm0
cvtsi2sdl 0x10(%rax,%r15,8), %xmm0
movq %r12, %r14
leaq 0x138(%rsp), %r12
movq %r12, %rdi
movq 0x90(%rsp), %rsi
callq 0x84416
movq %r13, %rdi
movq %rbp, %rsi
movq %r12, %rdx
movq %r14, %r12
callq 0x84642
movq 0x78(%r14), %rax
movq 0x80(%r14), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movabsq $-0x3333333333333333, %rcx # imm = 0xCCCCCCCCCCCCCCCD
imulq %rcx, %rdx
cmpq %rbx, %rdx
jbe 0x97500
xorps %xmm0, %xmm0
cvtsi2sdl 0x14(%rax,%r15,8), %xmm0
leaq 0x120(%rsp), %r14
movq %r14, %rdi
movq 0x100(%rsp), %rsi
callq 0x84416
leaq 0xc8(%rsp), %rbp
movq %rbp, %rdi
movq %r13, %rsi
movq %r14, %rdx
callq 0x84642
movq 0x78(%r12), %rax
movq 0x80(%r12), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movabsq $-0x3333333333333333, %rcx # imm = 0xCCCCCCCCCCCCCCCD
imulq %rcx, %rdx
cmpq %rbx, %rdx
jbe 0x97500
xorps %xmm0, %xmm0
cvtsi2sdl 0x18(%rax,%r15,8), %xmm0
leaq 0x108(%rsp), %rbx
movq %rbx, %rdi
movq 0xf8(%rsp), %rsi
callq 0x84416
leaq 0x98(%rsp), %r14
movq %r14, %rdi
movq %rbp, %rsi
movq %rbx, %rdx
callq 0x84642
movq 0xa8(%rsp), %rax
movq %rax, 0xc0(%rsp)
movups 0x98(%rsp), %xmm0
movaps %xmm0, 0xb0(%rsp)
movq 0xc0(%rsp), %rax
movq %rax, 0x28(%rsp)
movaps 0xb0(%rsp), %xmm0
movups %xmm0, 0x18(%rsp)
movq 0x78(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x68(%rsp), %xmm0
movups %xmm0, (%rsp)
movq %r14, %rdi
callq 0x846e9
movq (%r12), %rsi
movsd 0x98(%rsp), %xmm0
movsd 0xa0(%rsp), %xmm1
movsd 0xa8(%rsp), %xmm2
movq %rbp, %rdi
callq 0x52eec
movq 0x58(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x970c9
movq 0xd8(%rsp), %rax
movq %rax, 0x10(%rsi)
movupd 0xc8(%rsp), %xmm0
movupd %xmm0, (%rsi)
addq $0x18, 0x8(%rdi)
jmp 0x970d1
movq %rbp, %rdx
callq 0x2fec4
movq 0x88(%rsp), %r14
movl $0x0, 0xc8(%rsp)
movq 0x38(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
movl 0x40(%rsp), %r9d
je 0x97108
movl $0x0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x97115
movq %rbp, %rdx
callq 0x14198
movl 0x40(%rsp), %r9d
movl 0x80(%rsp), %ebp
movq 0x228(%r12), %rcx
movq 0x60(%rsp), %rdx
movq (%rcx,%rdx,8), %rax
movq 0x8(%rcx,%rdx,8), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %r14, %rdx
jbe 0x97515
leaq (%rax,%r14,8), %rdx
movq 0x30(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x97167
movsd (%rdx), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x97171
callq 0x1481e
movl 0x40(%rsp), %r9d
movq 0x78(%r12), %rcx
movq 0x80(%r12), %rdx
movabsq $-0x3333333333333333, %rdi # imm = 0xCCCCCCCCCCCCCCCD
movl %r9d, %ebx
movq %rdx, %rax
subq %rcx, %rax
sarq $0x3, %rax
imulq %rdi, %rax
incl %r9d
cmpq %rbx, %rax
ja 0x96e1f
movl 0x190(%r12), %eax
movq 0xf0(%rsp), %r8
incq %r14
cmpl %r14d, %eax
jg 0x96d5f
movslq %eax, %rcx
movq 0xe8(%rsp), %r14
movq 0xe0(%rsp), %rdx
incq %r14
cmpq %rcx, %rdx
jl 0x96d2c
leaq 0xbf110(%rip), %rsi     # 0x1562f7
movq 0x50(%rsp), %rdi
callq 0x4170
testl %eax, %eax
jne 0x974ee
movl 0x190(%r12), %eax
testl %eax, %eax
jle 0x974ee
movl $0x1, %r13d
movl $0x8, %edx
xorl %esi, %esi
movq %rsi, %rdi
incq %rsi
movslq %eax, %rcx
cmpq %rcx, %rsi
jge 0x974de
movq %rsi, 0x90(%rsp)
movq %rdi, 0x60(%rsp)
leaq (%rdi,%rdi,2), %rax
movq %rax, 0x40(%rsp)
movq %rdx, 0x80(%rsp)
movq %rdx, %rsi
movq %r13, 0x88(%rsp)
movq 0x228(%r12), %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 0x97526
movsd (%rax,%r13,8), %xmm0
ucomisd 0xba0cb(%rip), %xmm0    # 0x151350
jbe 0x974ab
movq 0x1e0(%r12), %rcx
movq 0x60(%rsp), %rax
movslq (%rcx,%rax,4), %r14
movq 0x60(%r12), %rax
movq 0x68(%r12), %rdx
subq %rax, %rdx
sarq $0x6, %rdx
cmpq %r14, %rdx
jbe 0x97515
movq %rsi, 0x48(%rsp)
movslq (%rcx,%r13,4), %r15
cmpq %r15, %rdx
jbe 0x97532
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 0x84cbb
movsd 0xbb463(%rip), %xmm1    # 0x152768
ucomisd %xmm0, %xmm1
movq 0x48(%rsp), %rsi
jbe 0x974ab
movq 0x60(%r12), %rax
movq 0x68(%r12), %rdx
subq %rax, %rdx
sarq $0x6, %rdx
cmpq %r14, %rdx
jbe 0x97515
movsd (%rax,%rbp), %xmm0
movsd 0x8(%rax,%rbp), %xmm1
movsd 0x10(%rax,%rbp), %xmm2
leaq 0x68(%rsp), %rdi
callq 0x84364
movq 0x60(%r12), %rax
movq 0x68(%r12), %rdx
subq %rax, %rdx
sarq $0x6, %rdx
cmpq %r15, %rdx
jbe 0x97532
movsd (%rax,%rbx), %xmm0
movsd 0x8(%rax,%rbx), %xmm1
movsd 0x10(%rax,%rbx), %xmm2
leaq 0xb0(%rsp), %rdi
callq 0x84364
movq 0xc0(%rsp), %rax
movq %rax, 0x28(%rsp)
movups 0xb0(%rsp), %xmm0
movups %xmm0, 0x18(%rsp)
movq 0x78(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x68(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x98(%rsp), %rdi
callq 0x846e9
movq (%r12), %rsi
movsd 0x98(%rsp), %xmm0
movsd 0xa0(%rsp), %xmm1
movsd 0xa8(%rsp), %xmm2
leaq 0xc8(%rsp), %rbx
movq %rbx, %rdi
callq 0x52eec
movq 0x58(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x97419
movq 0xd8(%rsp), %rax
movq %rax, 0x10(%rsi)
movupd 0xc8(%rsp), %xmm0
movupd %xmm0, (%rsi)
addq $0x18, 0x8(%rdi)
jmp 0x97421
movq %rbx, %rdx
callq 0x2fec4
movl $0x0, 0xc8(%rsp)
movq 0x38(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x9744b
movl $0x0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x97453
movq %rbx, %rdx
callq 0x14198
movq 0x228(%r12), %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 0x9754a
movq 0x30(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x9749c
movsd (%rdx,%r13,8), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x974a6
addq 0x48(%rsp), %rdx
callq 0x1481e
movq 0x48(%rsp), %rsi
incq %r13
movl 0x190(%r12), %eax
addq $0x8, %rsi
cmpl %r13d, %eax
jg 0x97251
movslq %eax, %rcx
movq 0x88(%rsp), %r13
movq 0x80(%rsp), %rdx
movq 0x90(%rsp), %rsi
incq %r13
addq $0x8, %rdx
cmpq %rcx, %rsi
jl 0x97216
addq $0x168, %rsp            # imm = 0x168
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xb61ee(%rip), %rdi     # 0x14d6f5
movq %rbx, %rsi
jmp 0x9751f
leaq 0xb61e2(%rip), %rdi     # 0x14d6f5
jmp 0x9751f
leaq 0xb61d9(%rip), %rdi     # 0x14d6f5
movq %r14, %rsi
xorl %eax, %eax
callq 0x4630
leaq 0xb61c8(%rip), %rdi     # 0x14d6f5
movq %r13, %rsi
jmp 0x9751f
leaq 0xb61bc(%rip), %rdi     # 0x14d6f5
movq %r15, %rsi
jmp 0x9751f
leaq 0xb61b0(%rip), %rdi     # 0x14d6f5
movq %r8, %rsi
jmp 0x9751f
leaq 0xb61a4(%rip), %rdi     # 0x14d6f5
movq %r13, %rsi
movq %rax, %rdx
jmp 0x9751f
nop