// File: /workspace/github_cpp_makefile_star2_O3/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 $0x228, %rsp            # imm = 0x228
movl %edx, %ebx
movq %rsi, %r13
movq %rdi, %r14
leaq 0x260(%rsp), %r15
movb $0x0, 0xa3c(%rdi)
leaq 0x150(%rsp), %rdi
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
callq 0x83f68
movq 0x9f0(%r14), %r12
movq %r15, %rdi
xorl %esi, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movsd %xmm0, 0x20(%rsp)
movq %r15, %rdi
movl $0x1, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movsd %xmm0, 0x30(%rsp)
movq %r15, %rdi
movl $0x2, %esi
callq 0x83f9a
movsd (%rax), %xmm2
leaq 0xa8(%rsp), %rsi
leaq 0xa0(%rsp), %rdx
leaq 0x98(%rsp), %rcx
leaq 0x2c(%rsp), %r8
movq %r12, %rdi
movsd 0x20(%rsp), %xmm0
movsd 0x30(%rsp), %xmm1
callq 0x149a10
testb %al, %al
je 0x94993
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
movq %r13, 0x38(%rsp)
js 0x9407c
cmpb $0x0, 0x8c0(%r14)
je 0x94080
movq 0x768(%r14), %rcx
cmpl %ebx, (%rcx,%rax,4)
jmp 0x94082
xorl %ebx, %ebx
jmp 0x94085
cmpl %ebx, %eax
setne %bl
movq 0x750(%r14), %rbp
imulq $0x98, %rax, %r13
movupd (%rbp,%r13), %xmm0
movupd 0x10(%rbp,%r13), %xmm1
movupd 0x20(%rbp,%r13), %xmm2
movups 0x30(%rbp,%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(%rbp,%r13), %rsi
movq 0x48(%rbp,%r13), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0xf3ce
leaq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x60(%rbp,%r13), %rsi
movq 0x68(%rbp,%r13), %rdx
addq %rsi, %rdx
callq 0xf3ce
movl %ebx, 0x40(%rsp)
addq %r13, %rbp
movb 0x90(%rbp), %al
movb %al, 0x140(%rsp)
movups 0x80(%rbp), %xmm0
movaps %xmm0, 0x130(%rsp)
movsd 0xb0(%rsp), %xmm0
movsd 0xb8(%rsp), %xmm1
movsd 0xc0(%rsp), %xmm2
leaq 0x48(%rsp), %rdi
callq 0x83f68
movsd 0xa8(%rsp), %xmm0
movsd 0xa0(%rsp), %xmm1
movsd 0x98(%rsp), %xmm2
leaq 0x1c8(%rsp), %rdi
callq 0x83f68
movq 0x1d8(%rsp), %rax
movq %rax, 0x10(%rsp)
movupd 0x1c8(%rsp), %xmm0
movupd %xmm0, (%rsp)
leaq 0x1e0(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x8404a
movq 0x1f0(%rsp), %rax
movq %rax, 0x10(%rsp)
movupd 0x1e0(%rsp), %xmm0
movupd %xmm0, (%rsp)
leaq 0x68(%rsp), %rdi
leaq 0x260(%rsp), %rsi
callq 0x83f78
movq 0x78(%rsp), %rax
leaq 0x150(%rsp), %rdi
movq %rax, 0x10(%rdi)
movupd 0x68(%rsp), %xmm0
movapd %xmm0, (%rdi)
xorl %esi, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movsd %xmm0, 0x20(%rsp)
leaq 0x150(%rsp), %rdi
movl $0x1, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movsd %xmm0, 0x30(%rsp)
leaq 0x150(%rsp), %rdi
movl $0x2, %esi
callq 0x83f9a
movsd (%rax), %xmm2
movsd 0xb0(%rsp), %xmm3
movsd 0xb8(%rsp), %xmm4
movsd 0xc0(%rsp), %xmm5
movsd 0x20(%rsp), %xmm0
movsd 0x30(%rsp), %xmm1
callq 0x84cbb
leaq 0x130(%rsp), %rbp
movsd -0x50(%rbp), %xmm1
movsd 0xbd37f(%rip), %xmm2    # 0x151600
addsd %xmm1, %xmm2
ucomisd %xmm0, %xmm2
seta %bl
cmpb $0x0, 0x8c0(%r14)
je 0x943c4
movslq 0x2c(%rsp), %rax
movq 0x768(%r14), %rcx
movslq (%rcx,%rax,4), %rax
movq 0x2f0(%r14), %r13
imulq $0x98, %rax, %r15
leaq (%r15,%r13), %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, %r13
leaq 0x60(%r13), %rsi
leaq 0x110(%rsp), %rdi
callq 0x4240
movb 0x90(%r13), %al
movb %al, 0x10(%rbp)
movupd 0x80(%r13), %xmm0
movupd %xmm0, (%rbp)
leaq 0x150(%rsp), %rdi
xorl %esi, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movsd %xmm0, 0x20(%rsp)
leaq 0x150(%rsp), %rdi
movl $0x1, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movsd %xmm0, 0x30(%rsp)
leaq 0x150(%rsp), %rdi
movl $0x2, %esi
callq 0x83f9a
movsd (%rax), %xmm2
leaq 0xb0(%rsp), %rsi
movq %r14, %rdi
movsd 0x20(%rsp), %xmm0
movsd 0x30(%rsp), %xmm1
callq 0x53614
movsd 0xe0(%rsp), %xmm1
movsd 0xbd25e(%rip), %xmm2    # 0x151600
addsd %xmm1, %xmm2
ucomisd %xmm0, %xmm2
jbe 0x943c4
movsd %xmm0, 0x9f8(%r14)
subsd %xmm1, %xmm0
movq 0x38(%rsp), %rax
movsd %xmm0, (%rax)
jmp 0x943e3
orb 0x40(%rsp), %bl
movsd %xmm0, 0x9f8(%r14)
subsd %xmm1, %xmm0
movq 0x38(%rsp), %rax
movsd %xmm0, (%rax)
testb $0x1, %bl
je 0x943f8
movw $0x100, %bx             # imm = 0x100
movw $0x1, %bp
leaq 0x100(%rsp), %r14
jmp 0x94937
movb %bl, 0x1f(%rsp)
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(%rbp)
movups 0x80(%rbx), %xmm0
movups %xmm0, (%rbp)
movsd 0xb0(%rsp), %xmm0
movsd 0xb8(%rsp), %xmm1
movsd 0xc0(%rsp), %xmm2
leaq 0x48(%rsp), %rdi
callq 0x83f68
movsd 0xa8(%rsp), %xmm0
movsd 0xa0(%rsp), %xmm1
movsd 0x98(%rsp), %xmm2
leaq 0x198(%rsp), %rdi
callq 0x83f68
movq 0x1a8(%rsp), %rax
movq %rax, 0x10(%rsp)
movupd 0x198(%rsp), %xmm0
movupd %xmm0, (%rsp)
leaq 0x1b0(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x8404a
movq 0x1c0(%rsp), %rax
movq %rax, 0x10(%rsp)
movupd 0x1b0(%rsp), %xmm0
movupd %xmm0, (%rsp)
leaq 0x68(%rsp), %rdi
leaq 0x260(%rsp), %rsi
callq 0x83f78
movq 0x78(%rsp), %rax
leaq 0x260(%rsp), %rdi
movq %rax, 0x10(%rdi)
movupd 0x68(%rsp), %xmm0
movupd %xmm0, (%rdi)
xorl %esi, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movsd %xmm0, 0x20(%rsp)
leaq 0x260(%rsp), %rdi
movl $0x1, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movsd %xmm0, 0x30(%rsp)
leaq 0x260(%rsp), %rdi
movl $0x2, %esi
callq 0x83f9a
movsd (%rax), %xmm2
movsd 0xb0(%rsp), %xmm3
movsd 0xb8(%rsp), %xmm4
movsd 0xc0(%rsp), %xmm5
movsd 0x20(%rsp), %xmm0
movsd 0x30(%rsp), %xmm1
callq 0x84cbb
movsd %xmm0, 0x170(%rsp)
movslq 0x2c(%rsp), %rax
leaq (%rax,%rax,2), %rbx
shlq $0x4, %rbx
addq 0x940(%r14), %rbx
leaq 0x68(%rsp), %rdi
movq %rbx, %rsi
callq 0xe868
leaq 0x80(%rsp), %rdi
addq $0x18, %rbx
movq %rbx, %rsi
callq 0xe8f8
movsd 0xb0(%rsp), %xmm0
movsd 0xb8(%rsp), %xmm1
movsd 0xc0(%rsp), %xmm2
leaq 0x210(%rsp), %rdi
callq 0x83f68
leaq 0x260(%rsp), %rdi
xorl %esi, %esi
callq 0x83f9a
movsd (%rax), %xmm0
subsd 0xb0(%rsp), %xmm0
movsd %xmm0, 0x20(%rsp)
leaq 0x260(%rsp), %rdi
movl $0x1, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movsd %xmm0, 0x30(%rsp)
movsd 0xb8(%rsp), %xmm0
movsd %xmm0, 0x38(%rsp)
leaq 0x260(%rsp), %rdi
movl $0x2, %esi
callq 0x83f9a
movsd 0x30(%rsp), %xmm1
subsd 0x38(%rsp), %xmm1
movsd (%rax), %xmm2
subsd 0xc0(%rsp), %xmm2
leaq 0x1f8(%rsp), %rdi
movsd 0x20(%rsp), %xmm0
callq 0x83f68
movb $0x0, 0xa3c(%r14)
leaq 0x68(%rsp), %rdi
callq 0x6bc4a
testl %eax, %eax
je 0x949dc
xorl %ebp, %ebp
leaq 0x68(%rsp), %r15
leaq 0x48(%rsp), %r12
leaq 0x210(%rsp), %r13
leaq 0x1f8(%rsp), %rbx
movq %r15, %rdi
callq 0x6bc4a
cmpl %eax, %ebp
jge 0x9482f
movq %r12, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0x6bc5c
movq %r12, %rdi
xorl %esi, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movsd %xmm0, 0x20(%rsp)
movq %r12, %rdi
movl $0x1, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movsd %xmm0, 0x30(%rsp)
movq %r12, %rdi
movl $0x2, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movsd %xmm0, 0x38(%rsp)
movq %r13, %rdi
xorl %esi, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movsd %xmm0, 0x40(%rsp)
movq %r13, %rdi
movl $0x1, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movsd %xmm0, 0x178(%rsp)
movq %r13, %rdi
movl $0x2, %esi
callq 0x83f9a
movsd (%rax), %xmm5
movsd 0x20(%rsp), %xmm0
movsd 0x30(%rsp), %xmm1
movsd 0x38(%rsp), %xmm2
movsd 0x40(%rsp), %xmm3
movsd 0x178(%rsp), %xmm4
callq 0x84cbb
movsd %xmm0, 0x20(%rsp)
movq %r15, %rdi
movl %ebp, %esi
callq 0x6bc7a
movsd 0x170(%rsp), %xmm0
ucomisd 0x20(%rsp), %xmm0
ja 0x94828
cltq
shlq $0x6, %rax
movq 0x910(%r14), %rcx
xorpd %xmm0, %xmm0
ucomisd 0x18(%rcx,%rax), %xmm0
ja 0x94828
movq 0x58(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x48(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x180(%rsp), %rdi
leaq 0x260(%rsp), %rsi
callq 0x8404a
movq 0x190(%rsp), %rax
movq %rax, 0x10(%rsp)
movupd 0x180(%rsp), %xmm0
movupd %xmm0, (%rsp)
movq %rbx, %rdi
callq 0x840b8
ucomisd 0xbcb2a(%rip), %xmm0    # 0x151350
jbe 0x94888
incl %ebp
jmp 0x946d5
incl 0xa38(%r14)
movl 0x2c(%rsp), %eax
movl %eax, 0x48(%rsp)
leaq 0x260(%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 0x948c5
movupd 0x48(%rsp), %xmm0
movupd 0x58(%rsp), %xmm1
movupd %xmm1, 0x10(%rsi)
movupd %xmm0, (%rsi)
addq $0x20, 0xa28(%r14)
jmp 0x948d6
leaq 0x68(%rsp), %rdi
movl %ebp, %esi
callq 0x6bc7a
movl %eax, 0xa1c(%r14)
leaq 0x68(%rsp), %rdi
movl %ebp, %esi
callq 0x6bc7a
addq $0x990, %r14            # imm = 0x990
movslq %eax, %rsi
movq %r14, %rdi
callq 0xee36
testq %rdx, (%rax)
sete %bl
movb 0x1f(%rsp), %al
jmp 0x948e4
leaq 0xa20(%r14), %rdi
leaq 0x48(%rsp), %rdx
callq 0x492e8
movb $0x1, 0xa3c(%r14)
movb 0x1f(%rsp), %al
movl %eax, %ebx
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
leaq 0x100(%rsp), %r14
je 0x9490d
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
movb 0x1f(%rsp), %al
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x94928
movq 0x78(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
movb 0x1f(%rsp), %al
movzbl %bl, %ebx
andl $0x1, %ebx
shll $0x8, %ebx
movzbl %al, %ebp
andl $0x1, %ebp
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x9495c
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0xf0(%rsp), %rdi
cmpq %r14, %rdi
je 0x94979
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x4470
movzwl %bp, %ecx
movzwl %bx, %eax
orl %ecx, %eax
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x100656(%rip), %rdi    # 0x194ff0
leaq 0xc15ef(%rip), %rsi     # 0x155f90
callq 0x4440
leaq 0xbec71(%rip), %rbx     # 0x15361e
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4440
leaq 0xbfd0b(%rip), %rsi     # 0x1546ca
movq %rax, %rdi
callq 0x4440
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4440
movl $0x1, %edi
callq 0x72bc
movq 0x10060d(%rip), %rdi    # 0x194ff0
leaq 0xbd160(%rip), %rsi     # 0x151b4a
movl $0x3c, %edx
callq 0x44e0
movq 0x1005f5(%rip), %rdi    # 0x194ff0
leaq 0xbec1c(%rip), %rsi     # 0x15361e
movl $0x1, %edx
callq 0x44e0
movq 0x1005dd(%rip), %rdi    # 0x194ff0
leaq 0xbd16d(%rip), %rsi     # 0x151b87
movl $0x7, %edx
callq 0x44e0
leaq 0x260(%rsp), %rdi
xorl %esi, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movq 0x1005b2(%rip), %rdi    # 0x194ff0
callq 0x46b0
movq %rax, %rbx
leaq 0xc0b89(%rip), %rsi     # 0x1555d6
movl $0x1, %edx
movq %rax, %rdi
callq 0x44e0
leaq 0x260(%rsp), %rdi
movl $0x1, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movq %rbx, %rdi
callq 0x46b0
movq %rax, %rbx
leaq 0xc0b54(%rip), %rsi     # 0x1555d6
movl $0x1, %edx
movq %rax, %rdi
callq 0x44e0
leaq 0x260(%rsp), %rdi
movl $0x2, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movq %rbx, %rdi
callq 0x46b0
movq %rax, %rbx
leaq 0xbeb67(%rip), %rsi     # 0x15361e
movl $0x1, %edx
movq %rax, %rdi
callq 0x44e0
leaq 0xbd0c4(%rip), %rsi     # 0x151b8f
movl $0x11, %edx
movq %rbx, %rdi
callq 0x44e0
movl 0x2c(%rsp), %esi
movq %rbx, %rdi
callq 0x4750
movq %rax, %rbx
leaq 0xbeb30(%rip), %rsi     # 0x15361e
movl $0x1, %edx
movq %rax, %rdi
callq 0x44e0
leaq 0xbd0ae(%rip), %rsi     # 0x151bb0
movl $0x28, %edx
movq %rbx, %rdi
callq 0x44e0
leaq 0xbeb08(%rip), %rsi     # 0x15361e
movl $0x1, %edx
movq %rbx, %rdi
callq 0x44e0
leaq 0xbfba0(%rip), %rsi     # 0x1546ca
movl $0xa, %edx
movq %rbx, %rdi
callq 0x44e0
leaq 0xbeae0(%rip), %rsi     # 0x15361e
movq %rbx, %rdi
callq 0x4440
jmp 0x949d2
jmp 0x94bb2
jmp 0x94bb2
jmp 0x94bb2
jmp 0x94bb2
movq %rax, %rbx
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x94bbf
movq 0x78(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
jmp 0x94bbf
jmp 0x94bad
jmp 0x94bb2
movq %rax, %rbx
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x94bcc
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x94bcc
jmp 0x94bb2
jmp 0x94bad
jmp 0x94bb2
jmp 0x94bb2
jmp 0x94bad
jmp 0x94bb2
jmp 0x94bb2
jmp 0x94bb2
movq %rax, %rbx
jmp 0x94bbf
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0xf4ca
leaq 0xb0(%rsp), %rdi
callq 0x2f5e8
movq %rbx, %rdi
callq 0x4780