// File: /workspace/github_cpp_makefile_star2_O1/Luthaf[P]zeopp/networkaccessibility.cc
// Function: AccessibilityClass::isPointInsideAtomAndNotAccessible(Point, double&, int)
pair <bool,bool> AccessibilityClass::isPointInsideAtomAndNotAccessible(Point samplingPoint, double& mindist_domod, int atomID){

 bool inside = false, overlaps = false; // flags to state if a point is inside atom, inaccessible

 needToResampleFlag = false; // since new point is tested, we clear this variable

 Point smplPoint; // temporary sampling point

 double newAtomX, newAtomY, newAtomZ;
 int minAtomID;
 bool foundCell = new_rad_con->find_voronoi_cell(samplingPoint[0], samplingPoint[1], samplingPoint[2], newAtomX, newAtomY, newAtomZ, minAtomID);
 if(!foundCell){
     cerr << "Error: Unable to find Voronoi cell for sampled point." << "\n"
          << "Exiting..." << "\n";
     exit(1);
    };

 tempMinDistAtomID = minAtomID; // store this information so it is not needed to be recomputed
 tempPoint = samplingPoint;

 // The routine first checks if the provided point is inside atoms


 // if in SA routine, check if the sampled point is within other atom
 if(atomID >= 0){
  if(highAccuracyFlag == false)
    {
    // old check from Thomas code (pre-high accuracy)
 
    // If point in Voronoi cell of different atom, probe-atom overlap occurs because of d^2-r^2 criterion.
    if(minAtomID != atomID)
      overlaps = true;

    }else{
    // new check if high accuracy is requested
    if(analyzedAtomNet.IDmapping[minAtomID] != atomID)
      overlaps = true;
    };
  }; // finishing check for SA


 ATOM curAtom = analyzedAtomNet.atoms[minAtomID];

 // Adjust sampling point so that it lies within the Voronoi cell of interest constructed previously
 smplPoint = (samplingPoint.add(Point(curAtom.x, curAtom.y, curAtom.z).subtract(Point(newAtomX, newAtomY, newAtomZ))));


 double minDist = calcEuclideanDistance(smplPoint[0], smplPoint[1], smplPoint[2], curAtom.x, curAtom.y, curAtom.z);
 if(minDist < curAtom.radius - 0.00000001) 
   overlaps = true;


 if(highAccuracyFlag)  // additional check for high accuracy calculations to check if a point is within the original atom
   {
   curAtom = orgAtomNet.atoms[analyzedAtomNet.IDmapping[minAtomID]];
   minDist = orgAtomNet.calcDistance(smplPoint[0], smplPoint[1], smplPoint[2], &curAtom);
   if(minDist < curAtom.radius - 0.00000001) 
     overlaps = true;
   };

 tempMinDist = minDist; // store temporary (to be used in AV within range function

 inside = overlaps;

 mindist_domod = minDist-curAtom.radius; // DO mod distance for probe-occupiable space

 if(inside == true) return pair<bool,bool> (inside,overlaps); // if the point is inside an atom
                                                              // terminate and return the answer



 // If the point is outside of atoms
 // The routine then checks if the point is in accessible or inaccessible volume/surface 

 curAtom = analyzedAtomNet.atoms[minAtomID];  // making sure we look at the correct atom net (hiAcc or regular)

 // Adjust sampling point so that it lies within the Voronoi cell of interest constructed previously
 samplingPoint = (samplingPoint.add(Point(curAtom.x, curAtom.y, curAtom.z).subtract(Point(newAtomX, newAtomY, newAtomZ))));

 minDist = calcEuclideanDistance(samplingPoint[0], samplingPoint[1], samplingPoint[2], curAtom.x, curAtom.y, curAtom.z);

 // If necessary, check Voronoi nodes of cell to determine accessibility of point
 if(!overlaps){
   BASIC_VCELL vcell = vorcells[minAtomID];
   Point circCenter = Point(curAtom.x, curAtom.y, curAtom.z);
   double samplingRadius = minDist;
   Point sampleRay = Point(samplingPoint[0]-curAtom.x, samplingPoint[1]-curAtom.y, samplingPoint[2]-curAtom.z);

   // Scan the nodes in the Voronoi cell to find if line can be drawn from the node to the sampling point
   bool foundNode = false;
   needToResampleFlag = false;
   if(vcell.getNumNodes() == 0){
     cerr << "Error: Voronoi cell of sampled point does not have any nodes" << "\n"
          << "Point: " << samplingPoint[0] << " " << samplingPoint[1] << " " << samplingPoint[2] << "\n"
          << "Voronoi cell is #" << minAtomID << "\n"
          << "Please contact the source code provider." << "\n"
          << "Exiting..." << "\n";
     exit(1);
   }
   for(int k = 0; k < vcell.getNumNodes(); k++){
           Point nodePoint = vcell.getNodeCoord(k);
           bool nodeInsideSphere = (calcEuclideanDistance(nodePoint[0], nodePoint[1], nodePoint[2], circCenter[0], circCenter[1], circCenter[2]) < samplingRadius);
           bool nodeInsideOtherAtom = (vornet.nodes[vcell.getNodeID(k)].rad_stat_sphere < 0.0 );
           if(!nodeInsideSphere&&!nodeInsideOtherAtom){
             Point otherRay = samplingPoint.subtract(nodePoint);
             double dotProduct = sampleRay.dot_product(otherRay);
             if(dotProduct > 0) {
               // Angle is less than 90 degrees and so the line segment intersects twice,
               // making the path not viable
             }
             else {
               // Angle is at least 90 degrees and so the line segment interesects only once, 
               // thereby representing a viable path
               foundNode = true;
               tempNodeID = vcell.getNodeID(k);
               overlaps = !accessInfo.at(vcell.getNodeID(k));
               break;
             }
           }
    }

    // Sampling failed due to lying on Voronoi cell face and numerical inaccurarcy. 
    // Record failure, resample and notify user later
    if(!foundNode){
       resampleCount++;
       resampledInfo.push_back(pair<int, Point> (minAtomID, samplingPoint));
       needToResampleFlag = true;
       };

 };

return pair<bool,bool> (inside,overlaps);

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x238, %rsp            # imm = 0x238
movl %edx, %ebx
movq %rsi, %rbp
movq %rdi, %r14
leaq 0x270(%rsp), %r15
movb $0x0, 0xa3c(%rdi)
leaq 0x150(%rsp), %rdi
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
callq 0x85436
movq 0x9f0(%r14), %r12
movq %r15, %rdi
xorl %esi, %esi
callq 0x85478
movsd (%rax), %xmm0
movsd %xmm0, 0x20(%rsp)
movq %r15, %rdi
movl $0x1, %esi
callq 0x85478
movsd (%rax), %xmm0
movsd %xmm0, 0x30(%rsp)
movq %r15, %rdi
movl $0x2, %esi
callq 0x85478
movsd (%rax), %xmm2
leaq 0x78(%rsp), %rsi
leaq 0x70(%rsp), %rdx
leaq 0x68(%rsp), %rcx
leaq 0x2c(%rsp), %r8
movq %r12, %rdi
movsd 0x20(%rsp), %xmm0
movsd 0x30(%rsp), %xmm1
callq 0x14ae5a
testb %al, %al
je 0x96a0c
movslq 0x2c(%rsp), %rax
movl %eax, 0xa18(%r14)
movups (%r15), %xmm0
movups %xmm0, 0xa00(%r14)
movq 0x10(%r15), %rcx
movq %rcx, 0xa10(%r14)
testl %ebx, %ebx
js 0x960d2
cmpb $0x0, 0x8c0(%r14)
je 0x960d6
movq 0x768(%r14), %rcx
cmpl %ebx, (%rcx,%rax,4)
jmp 0x960d8
xorl %ebx, %ebx
jmp 0x960db
cmpl %ebx, %eax
setne %bl
movq 0x750(%r14), %r15
imulq $0x98, %rax, %r13
movupd (%r15,%r13), %xmm0
movupd 0x10(%r15,%r13), %xmm1
movupd 0x20(%r15,%r13), %xmm2
movups 0x30(%r15,%r13), %xmm3
leaq 0xf0(%rsp), %r12
movaps %xmm3, -0x10(%r12)
movapd %xmm2, -0x20(%r12)
movapd %xmm1, -0x30(%r12)
movapd %xmm0, -0x40(%r12)
leaq 0x100(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x40(%r15,%r13), %rsi
movq 0x48(%r15,%r13), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0xf32a
leaq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x60(%r15,%r13), %rsi
movq 0x68(%r15,%r13), %rdx
addq %rsi, %rdx
callq 0xf32a
addq %r13, %r15
movb 0x90(%r15), %al
movb %al, 0x140(%rsp)
movups 0x80(%r15), %xmm0
movaps %xmm0, 0x130(%rsp)
movsd 0xb0(%rsp), %xmm0
movsd 0xb8(%rsp), %xmm1
movsd 0xc0(%rsp), %xmm2
leaq 0x48(%rsp), %rdi
callq 0x85436
movsd 0x78(%rsp), %xmm0
movsd 0x70(%rsp), %xmm1
movsd 0x68(%rsp), %xmm2
leaq 0x1d8(%rsp), %rdi
callq 0x85436
movq 0x1e8(%rsp), %rax
movq %rax, 0x10(%rsp)
movupd 0x1d8(%rsp), %xmm0
movupd %xmm0, (%rsp)
leaq 0x1f0(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x85528
movq 0x200(%rsp), %rax
movq %rax, 0x10(%rsp)
movupd 0x1f0(%rsp), %xmm0
movupd %xmm0, (%rsp)
leaq 0x80(%rsp), %rdi
leaq 0x270(%rsp), %rsi
callq 0x85446
movq 0x90(%rsp), %rax
leaq 0x150(%rsp), %rdi
movq %rax, 0x10(%rdi)
movupd 0x80(%rsp), %xmm0
movapd %xmm0, (%rdi)
xorl %esi, %esi
callq 0x85478
movsd (%rax), %xmm0
movsd %xmm0, 0x20(%rsp)
leaq 0x150(%rsp), %rdi
movl $0x1, %esi
callq 0x85478
movsd (%rax), %xmm0
movsd %xmm0, 0x30(%rsp)
leaq 0x150(%rsp), %rdi
movl $0x2, %esi
callq 0x85478
movsd (%rax), %xmm2
movsd 0xb0(%rsp), %xmm3
movsd 0xb8(%rsp), %xmm4
movsd 0xc0(%rsp), %xmm5
movsd 0x20(%rsp), %xmm0
movsd 0x30(%rsp), %xmm1
callq 0x868fa
leaq 0x130(%rsp), %r13
movsd -0x50(%r13), %xmm1
addsd 0xbd29b(%rip), %xmm1    # 0x153570
ucomisd %xmm0, %xmm1
seta %r15b
orb %bl, %r15b
cmpb $0x0, 0x8c0(%r14)
je 0x9640b
movb %r15b, 0x1f(%rsp)
movslq 0x2c(%rsp), %rax
movq 0x768(%r14), %rcx
movslq (%rcx,%rax,4), %rax
movq 0x2f0(%r14), %rbx
imulq $0x98, %rax, %r15
leaq (%rbx,%r15), %rsi
addq $0x40, %rsi
movupd -0x40(%rsi), %xmm0
movupd -0x30(%rsi), %xmm1
movupd -0x20(%rsi), %xmm2
movups -0x10(%rsi), %xmm3
movapd %xmm0, 0xb0(%rsp)
movapd %xmm1, 0xc0(%rsp)
movapd %xmm2, 0xd0(%rsp)
movaps %xmm3, 0xe0(%rsp)
movq %r12, %rdi
callq 0x4240
addq %r15, %rbx
leaq 0x60(%rbx), %rsi
leaq 0x110(%rsp), %rdi
callq 0x4240
movb 0x90(%rbx), %al
movb %al, 0x10(%r13)
movupd 0x80(%rbx), %xmm0
movupd %xmm0, (%r13)
leaq 0x150(%rsp), %rdi
xorl %esi, %esi
callq 0x85478
movsd (%rax), %xmm0
movsd %xmm0, 0x20(%rsp)
leaq 0x150(%rsp), %rdi
movl $0x1, %esi
callq 0x85478
movsd (%rax), %xmm0
movsd %xmm0, 0x30(%rsp)
leaq 0x150(%rsp), %rdi
movl $0x2, %esi
callq 0x85478
movsd (%rax), %xmm2
leaq 0xb0(%rsp), %rsi
movq %r14, %rdi
movsd 0x20(%rsp), %xmm0
movsd 0x30(%rsp), %xmm1
callq 0x53912
movsd 0xe0(%rsp), %xmm1
addsd 0xbd175(%rip), %xmm1    # 0x153570
ucomisd %xmm0, %xmm1
jbe 0x96406
movb $0x1, %r15b
jmp 0x9640b
movb 0x1f(%rsp), %r15b
movsd %xmm0, 0x9f8(%r14)
subsd 0xe0(%rsp), %xmm0
movsd %xmm0, (%rbp)
andb $0x1, %r15b
movb %r15b, 0x1f(%rsp)
jne 0x969a2
movslq 0x2c(%rsp), %rax
movq 0x750(%r14), %rbx
imulq $0x98, %rax, %r15
leaq (%rbx,%r15), %rsi
addq $0x40, %rsi
movupd -0x40(%rsi), %xmm0
movupd -0x30(%rsi), %xmm1
movupd -0x20(%rsi), %xmm2
movups -0x10(%rsi), %xmm3
movapd %xmm0, 0xb0(%rsp)
movapd %xmm1, 0xc0(%rsp)
movapd %xmm2, 0xd0(%rsp)
movaps %xmm3, 0xe0(%rsp)
movq %r12, %rdi
callq 0x4240
addq %r15, %rbx
leaq 0x60(%rbx), %rsi
leaq 0x110(%rsp), %rdi
callq 0x4240
movb 0x90(%rbx), %al
movb %al, 0x10(%r13)
movups 0x80(%rbx), %xmm0
movups %xmm0, (%r13)
movsd 0xb0(%rsp), %xmm0
movsd 0xb8(%rsp), %xmm1
movsd 0xc0(%rsp), %xmm2
leaq 0x48(%rsp), %rdi
callq 0x85436
leaq 0x270(%rsp), %rbx
movsd 0x78(%rsp), %xmm0
movsd 0x70(%rsp), %xmm1
movsd 0x68(%rsp), %xmm2
leaq 0x1a8(%rsp), %rdi
callq 0x85436
movq 0x1b8(%rsp), %rax
movq %rax, 0x10(%rsp)
movupd 0x1a8(%rsp), %xmm0
movupd %xmm0, (%rsp)
leaq 0x1c0(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x85528
movq 0x1d0(%rsp), %rax
movq %rax, 0x10(%rsp)
movupd 0x1c0(%rsp), %xmm0
movupd %xmm0, (%rsp)
leaq 0x80(%rsp), %rdi
movq %rbx, %rsi
callq 0x85446
movq 0x90(%rsp), %rax
movq %rax, 0x10(%rbx)
movupd 0x80(%rsp), %xmm0
movupd %xmm0, (%rbx)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x85478
movsd (%rax), %xmm0
movsd %xmm0, 0x20(%rsp)
leaq 0x270(%rsp), %rdi
movl $0x1, %esi
callq 0x85478
movsd (%rax), %xmm0
movsd %xmm0, 0x30(%rsp)
leaq 0x270(%rsp), %rdi
movl $0x2, %esi
callq 0x85478
movsd (%rax), %xmm2
movsd 0xb0(%rsp), %xmm3
movsd 0xb8(%rsp), %xmm4
movsd 0xc0(%rsp), %xmm5
movsd 0x20(%rsp), %xmm0
movsd 0x30(%rsp), %xmm1
callq 0x868fa
movsd %xmm0, 0x178(%rsp)
movslq 0x2c(%rsp), %rax
leaq (%rax,%rax,2), %rbx
shlq $0x4, %rbx
addq 0x940(%r14), %rbx
leaq 0x80(%rsp), %rdi
movq %rbx, %rsi
callq 0xe7f6
leaq 0x98(%rsp), %rdi
addq $0x18, %rbx
movq %rbx, %rsi
callq 0xe886
movb 0x1f(%rsp), %r15b
movsd 0xb0(%rsp), %xmm0
movsd 0xb8(%rsp), %xmm1
movsd 0xc0(%rsp), %xmm2
leaq 0x220(%rsp), %rdi
callq 0x85436
leaq 0x270(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x85478
movsd (%rax), %xmm0
subsd 0xb0(%rsp), %xmm0
movsd %xmm0, 0x20(%rsp)
movq %rbx, %rdi
movl $0x1, %esi
callq 0x85478
movsd (%rax), %xmm0
movsd %xmm0, 0x30(%rsp)
movsd 0xb8(%rsp), %xmm0
movsd %xmm0, 0x40(%rsp)
movq %rbx, %rdi
movl $0x2, %esi
callq 0x85478
movsd 0x30(%rsp), %xmm1
subsd 0x40(%rsp), %xmm1
movsd (%rax), %xmm2
subsd 0xc0(%rsp), %xmm2
leaq 0x208(%rsp), %rdi
movsd 0x20(%rsp), %xmm0
callq 0x85436
movb $0x0, 0xa3c(%r14)
leaq 0x80(%rsp), %rdi
callq 0x6c80a
testl %eax, %eax
je 0x96a55
leaq 0x990(%r14), %rax
movq %rax, 0x170(%rsp)
movl $0x0, 0x3c(%rsp)
leaq 0x80(%rsp), %r12
leaq 0x48(%rsp), %r13
leaq 0x220(%rsp), %rbp
xorl %ebx, %ebx
movq %r12, %rdi
callq 0x6c80a
cmpl %eax, %ebx
jge 0x968ef
movq %r13, %rdi
movq %r12, %rsi
movl %ebx, %edx
callq 0x6c81c
movq %r13, %rdi
xorl %esi, %esi
callq 0x85478
movsd (%rax), %xmm0
movsd %xmm0, 0x20(%rsp)
movq %r13, %rdi
movl $0x1, %esi
callq 0x85478
movsd (%rax), %xmm0
movsd %xmm0, 0x30(%rsp)
movq %r13, %rdi
movl $0x2, %esi
callq 0x85478
movsd (%rax), %xmm0
movsd %xmm0, 0x40(%rsp)
movq %rbp, %rdi
xorl %esi, %esi
callq 0x85478
movsd (%rax), %xmm0
movsd %xmm0, 0x188(%rsp)
movq %rbp, %rdi
movl $0x1, %esi
callq 0x85478
movsd (%rax), %xmm0
movsd %xmm0, 0x180(%rsp)
movq %rbp, %rdi
movl $0x2, %esi
callq 0x85478
movsd (%rax), %xmm5
movsd 0x20(%rsp), %xmm0
movsd 0x30(%rsp), %xmm1
movsd 0x40(%rsp), %xmm2
movsd 0x188(%rsp), %xmm3
movsd 0x180(%rsp), %xmm4
callq 0x868fa
movsd %xmm0, 0x20(%rsp)
movq %r12, %rdi
movl %ebx, %esi
callq 0x6c83a
xorl %ecx, %ecx
movsd 0x178(%rsp), %xmm0
ucomisd 0x20(%rsp), %xmm0
ja 0x968e5
cltq
shlq $0x6, %rax
movq 0x910(%r14), %rdx
xorpd %xmm0, %xmm0
ucomisd 0x18(%rdx,%rax), %xmm0
ja 0x968e5
movq 0x58(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x48(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x190(%rsp), %rdi
leaq 0x270(%rsp), %rsi
callq 0x85528
movq 0x1a0(%rsp), %rax
movq %rax, 0x10(%rsp)
movupd 0x190(%rsp), %xmm0
movupd %xmm0, (%rsp)
leaq 0x208(%rsp), %rdi
callq 0x855b8
movsd %xmm0, 0x20(%rsp)
xorl %ecx, %ecx
movsd 0x20(%rsp), %xmm0
ucomisd 0xbca2c(%rip), %xmm0    # 0x1532c0
ja 0x968d3
movq %r12, %rdi
movl %ebx, %esi
callq 0x6c83a
movl %eax, 0xa1c(%r14)
movq %r12, %rdi
movl %ebx, %esi
callq 0x6c83a
movslq %eax, %rsi
movq 0x170(%rsp), %rdi
callq 0xedb6
testq %rdx, (%rax)
sete %r15b
movb $0x1, %al
movl %eax, 0x3c(%rsp)
movl $0x2, %ecx
movsd 0x20(%rsp), %xmm0
ucomisd 0xbc9df(%rip), %xmm0    # 0x1532c0
jbe 0x968e5
xorl %ecx, %ecx
incl %ebx
testl %ecx, %ecx
je 0x96720
testb $0x1, 0x3c(%rsp)
jne 0x96968
incl 0xa38(%r14)
movl 0x2c(%rsp), %eax
movl %eax, 0x48(%rsp)
leaq 0x270(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x60(%rsp)
movupd (%rcx), %xmm0
movupd %xmm0, 0x50(%rsp)
movq 0xa28(%r14), %rsi
cmpq 0xa30(%r14), %rsi
je 0x9694f
movupd 0x48(%rsp), %xmm0
movupd 0x58(%rsp), %xmm1
movupd %xmm1, 0x10(%rsi)
movupd %xmm0, (%rsi)
addq $0x20, 0xa28(%r14)
jmp 0x96960
leaq 0xa20(%r14), %rdi
leaq 0x48(%rsp), %rdx
callq 0x49804
movb $0x1, 0xa3c(%r14)
movq 0x98(%rsp), %rdi
testq %rdi, %rdi
je 0x96985
movq 0xa8(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x969a2
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x969c7
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x969ec
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x4470
movzbl %r15b, %ecx
shll $0x8, %ecx
movzbl 0x1f(%rsp), %eax
orl %ecx, %eax
addq $0x238, %rsp            # imm = 0x238
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x1005dd(%rip), %rdi    # 0x196ff0
leaq 0xc1416(%rip), %rsi     # 0x157e30
callq 0x4440
leaq 0xbeb08(%rip), %rbx     # 0x15552e
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4440
leaq 0xbfb7a(%rip), %rsi     # 0x1565b2
movq %rax, %rdi
callq 0x4440
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4440
movl $0x1, %edi
callq 0x710c
movq 0x100594(%rip), %rdi    # 0x196ff0
leaq 0xbd037(%rip), %rsi     # 0x153a9a
movl $0x3c, %edx
callq 0x44e0
leaq 0x270(%rsp), %r14
movq 0x100574(%rip), %rdi    # 0x196ff0
leaq 0xbeaab(%rip), %rsi     # 0x15552e
movl $0x1, %edx
callq 0x44e0
movq 0x10055c(%rip), %rdi    # 0x196ff0
leaq 0xbd03c(%rip), %rsi     # 0x153ad7
movl $0x7, %edx
callq 0x44e0
movq %r14, %rdi
xorl %esi, %esi
callq 0x85478
movsd (%rax), %xmm0
movq 0x100536(%rip), %rdi    # 0x196ff0
callq 0x46b0
movq %rax, %rbx
leaq 0xc09bd(%rip), %rsi     # 0x157486
movl $0x1, %edx
movq %rax, %rdi
callq 0x44e0
movq %r14, %rdi
movl $0x1, %esi
callq 0x85478
movsd (%rax), %xmm0
movq %rbx, %rdi
callq 0x46b0
movq %rax, %rbx
leaq 0xc098d(%rip), %rsi     # 0x157486
movl $0x1, %edx
movq %rax, %rdi
callq 0x44e0
movq %r14, %rdi
movl $0x2, %esi
callq 0x85478
movsd (%rax), %xmm0
movq %rbx, %rdi
callq 0x46b0
movq %rax, %rbx
leaq 0xbea05(%rip), %rsi     # 0x15552e
movl $0x1, %edx
movq %rax, %rdi
callq 0x44e0
leaq 0xbcfa2(%rip), %rsi     # 0x153adf
movl $0x11, %edx
movq %rbx, %rdi
callq 0x44e0
movl 0x2c(%rsp), %esi
movq %rbx, %rdi
callq 0x4750
movq %rax, %rbx
leaq 0xbe9ce(%rip), %rsi     # 0x15552e
movl $0x1, %edx
movq %rax, %rdi
callq 0x44e0
leaq 0xbcf8c(%rip), %rsi     # 0x153b00
movl $0x28, %edx
movq %rbx, %rdi
callq 0x44e0
leaq 0xbe9a6(%rip), %rsi     # 0x15552e
movl $0x1, %edx
movq %rbx, %rdi
callq 0x44e0
leaq 0xbfa16(%rip), %rsi     # 0x1565b2
movl $0xa, %edx
movq %rbx, %rdi
callq 0x44e0
leaq 0xbe97e(%rip), %rsi     # 0x15552e
movq %rbx, %rdi
callq 0x4440
jmp 0x96a4b
jmp 0x96c28
jmp 0x96c28
movq %rax, %rbx
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x96c38
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
jmp 0x96c38
jmp 0x96c23
jmp 0x96c28
movq %rax, %rbx
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x96c45
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x96c45
jmp 0x96c28
jmp 0x96c23
jmp 0x96c28
jmp 0x96c28
jmp 0x96c23
jmp 0x96c28
jmp 0x96c28
jmp 0x96c28
jmp 0x96c28
movq %rax, %rbx
jmp 0x96c38
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0xf420
leaq 0xb0(%rsp), %rdi
callq 0x2f814
movq %rbx, %rdi
callq 0x4780
nop