// File: /workspace/github_cpp_makefile_star2_O1/Luthaf[P]zeopp/networkaccessibility.cc
// Function: AccessibilityClassNINF::isPointInsideAtomAndNotAccessible(Point, int)
pair <bool,bool> AccessibilityClassNINF::isPointInsideAtomAndNotAccessible(Point samplingPoint, 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 + r_probe - 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 + r_probe - 0.00000001) 
     overlaps = true;
   };

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

 inside = overlaps;

 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 < r_probe );
           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 %esi, %ebp
movq %rdi, %r14
leaq 0x270(%rsp), %rbx
movb $0x0, 0x18c(%rdi)
leaq 0x150(%rsp), %rdi
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
callq 0x85436
movq 0x140(%r14), %r15
movq %rbx, %rdi
xorl %esi, %esi
callq 0x85478
movsd (%rax), %xmm0
movsd %xmm0, 0x20(%rsp)
movq %rbx, %rdi
movl $0x1, %esi
callq 0x85478
movsd (%rax), %xmm0
movsd %xmm0, 0x30(%rsp)
movq %rbx, %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 %r15, %rdi
movsd 0x20(%rsp), %xmm0
movsd 0x30(%rsp), %xmm1
callq 0x14ae5a
testb %al, %al
je 0x97aeb
movslq 0x2c(%rsp), %rax
movl %eax, 0x168(%r14)
movups (%rbx), %xmm0
movups %xmm0, 0x150(%r14)
movq 0x10(%rbx), %rcx
movq %rcx, 0x160(%r14)
testl %ebp, %ebp
js 0x971a5
cmpb $0x0, 0x10(%r14)
je 0x971a9
movq 0x8(%r14), %rcx
movq 0x308(%rcx), %rcx
cmpl %ebp, (%rcx,%rax,4)
jmp 0x971ab
xorl %ebx, %ebx
jmp 0x971ae
cmpl %ebp, %eax
setne %bl
movq 0x8(%r14), %rcx
movq 0x2f0(%rcx), %r13
imulq $0x98, %rax, %rbp
movupd (%r13,%rbp), %xmm0
movupd 0x10(%r13,%rbp), %xmm1
movupd 0x20(%r13,%rbp), %xmm2
movups 0x30(%r13,%rbp), %xmm3
leaq 0xf0(%rsp), %r15
movaps %xmm3, -0x10(%r15)
movapd %xmm2, -0x20(%r15)
movapd %xmm1, -0x30(%r15)
movapd %xmm0, -0x40(%r15)
leaq 0x100(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x40(%r13,%rbp), %rsi
movq 0x48(%r13,%rbp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0xf32a
leaq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x60(%r13,%rbp), %rsi
movq 0x68(%r13,%rbp), %rdx
addq %rsi, %rdx
callq 0xf32a
addq %rbp, %r13
movb 0x90(%r13), %al
movb %al, 0x140(%rsp)
movups 0x80(%r13), %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), %rbp
movsd -0x50(%rbp), %xmm1
addsd 0x138(%r14), %xmm1
addsd 0xbc1bf(%rip), %xmm1    # 0x153570
ucomisd %xmm0, %xmm1
seta %r12b
orb %bl, %r12b
cmpb $0x0, 0x10(%r14)
je 0x974e9
movq (%r14), %rax
movq 0x8(%r14), %rcx
movslq 0x2c(%rsp), %rdx
movq 0x308(%rcx), %rcx
movslq (%rcx,%rdx,4), %rcx
movq 0x2f0(%rax), %rbx
imulq $0x98, %rcx, %r13
leaq (%rbx,%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 %r15, %rdi
callq 0x4240
addq %r13, %rbx
leaq 0x60(%rbx), %rsi
leaq 0x110(%rsp), %rdi
callq 0x4240
movb 0x90(%rbx), %al
movb %al, 0x10(%rbp)
movupd 0x80(%rbx), %xmm0
movupd %xmm0, (%rbp)
movq (%r14), %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 %r13, %rdi
movsd 0x20(%rsp), %xmm0
movsd 0x30(%rsp), %xmm1
callq 0x53912
movsd 0xe0(%rsp), %xmm1
addsd 0x138(%r14), %xmm1
addsd 0xbc090(%rip), %xmm1    # 0x153570
ucomisd %xmm0, %xmm1
jbe 0x974e9
movb $0x1, %r12b
movsd %xmm0, 0x148(%r14)
andb $0x1, %r12b
movl %r12d, %ebx
jne 0x97a83
movb %r12b, 0x1f(%rsp)
movq 0x8(%r14), %rax
movslq 0x2c(%rsp), %rcx
movq 0x2f0(%rax), %rbx
imulq $0x98, %rcx, %r13
leaq (%rbx,%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 %r15, %rdi
callq 0x4240
addq %r13, %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 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), %r15
shlq $0x4, %r15
addq 0x90(%r14), %r15
leaq 0x80(%rsp), %rdi
movq %r15, %rsi
callq 0xe7f6
leaq 0x98(%rsp), %rdi
addq $0x18, %r15
movq %r15, %rsi
callq 0xe886
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, 0x18c(%r14)
leaq 0x80(%rsp), %rdi
callq 0x6c80a
testl %eax, %eax
je 0x97b34
leaq 0xe0(%r14), %rax
movq %rax, 0x170(%rsp)
movl $0x0, 0x3c(%rsp)
leaq 0x80(%rsp), %r12
leaq 0x48(%rsp), %r13
leaq 0x220(%rsp), %rbp
movb 0x1f(%rsp), %bl
xorl %r15d, %r15d
movq %r12, %rdi
callq 0x6c80a
cmpl %eax, %r15d
jge 0x979cb
movq %r13, %rdi
movq %r12, %rsi
movl %r15d, %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 %r15d, %esi
callq 0x6c83a
xorl %ecx, %ecx
movsd 0x178(%rsp), %xmm0
ucomisd 0x20(%rsp), %xmm0
ja 0x979c0
movq 0x60(%r14), %rdx
cltq
shlq $0x6, %rax
movsd 0x138(%r14), %xmm0
ucomisd 0x18(%rdx,%rax), %xmm0
ja 0x979c0
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 0xbb952(%rip), %xmm0    # 0x1532c0
ja 0x979ae
movq %r12, %rdi
movl %r15d, %esi
callq 0x6c83a
movl %eax, 0x16c(%r14)
movq %r12, %rdi
movl %r15d, %esi
callq 0x6c83a
movslq %eax, %rsi
movq 0x170(%rsp), %rdi
callq 0xedb6
testq %rdx, (%rax)
sete %bl
movb $0x1, %al
movl %eax, 0x3c(%rsp)
movl $0x2, %ecx
movsd 0x20(%rsp), %xmm0
ucomisd 0xbb904(%rip), %xmm0    # 0x1532c0
jbe 0x979c0
xorl %ecx, %ecx
incl %r15d
testl %ecx, %ecx
je 0x977f5
testb $0x1, 0x3c(%rsp)
movb 0x1f(%rsp), %r12b
jne 0x97a49
incl 0x188(%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 0x178(%r14), %rsi
cmpq 0x180(%r14), %rsi
je 0x97a30
movupd 0x48(%rsp), %xmm0
movupd 0x58(%rsp), %xmm1
movupd %xmm1, 0x10(%rsi)
movupd %xmm0, (%rsi)
addq $0x20, 0x178(%r14)
jmp 0x97a41
leaq 0x170(%r14), %rdi
leaq 0x48(%rsp), %rdx
callq 0x49804
movb $0x1, 0x18c(%r14)
movq 0x98(%rsp), %rdi
testq %rdi, %rdi
je 0x97a66
movq 0xa8(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x97a83
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x97aa8
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x97acd
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x4470
movzbl %bl, %ecx
shll $0x8, %ecx
movzbl %r12b, %eax
orl %ecx, %eax
addq $0x238, %rsp            # imm = 0x238
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0xff4fe(%rip), %rdi     # 0x196ff0
leaq 0xc0337(%rip), %rsi     # 0x157e30
callq 0x4440
leaq 0xbda29(%rip), %rbx     # 0x15552e
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4440
leaq 0xbea9b(%rip), %rsi     # 0x1565b2
movq %rax, %rdi
callq 0x4440
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4440
movl $0x1, %edi
callq 0x710c
movq 0xff4b5(%rip), %rdi     # 0x196ff0
leaq 0xbbf58(%rip), %rsi     # 0x153a9a
movl $0x3c, %edx
callq 0x44e0
leaq 0x270(%rsp), %rbx
movq 0xff495(%rip), %rdi     # 0x196ff0
leaq 0xbd9cc(%rip), %rsi     # 0x15552e
movl $0x1, %edx
callq 0x44e0
movq 0xff47d(%rip), %rdi     # 0x196ff0
leaq 0xbbf5d(%rip), %rsi     # 0x153ad7
movl $0x7, %edx
callq 0x44e0
movq %rbx, %rdi
xorl %esi, %esi
callq 0x85478
movsd (%rax), %xmm0
movq 0xff457(%rip), %rdi     # 0x196ff0
callq 0x46b0
movq %rax, %r14
leaq 0xbf8de(%rip), %rsi     # 0x157486
movl $0x1, %edx
movq %rax, %rdi
callq 0x44e0
movq %rbx, %rdi
movl $0x1, %esi
callq 0x85478
movsd (%rax), %xmm0
movq %r14, %rdi
callq 0x46b0
movq %rax, %r14
leaq 0xbf8ae(%rip), %rsi     # 0x157486
movl $0x1, %edx
movq %rax, %rdi
callq 0x44e0
movq %rbx, %rdi
movl $0x2, %esi
callq 0x85478
movsd (%rax), %xmm0
movq %r14, %rdi
callq 0x46b0
movq %rax, %rbx
leaq 0xbd926(%rip), %rsi     # 0x15552e
movl $0x1, %edx
movq %rax, %rdi
callq 0x44e0
leaq 0xbbec3(%rip), %rsi     # 0x153adf
movl $0x11, %edx
movq %rbx, %rdi
callq 0x44e0
movl 0x2c(%rsp), %esi
movq %rbx, %rdi
callq 0x4750
movq %rax, %rbx
leaq 0xbd8ef(%rip), %rsi     # 0x15552e
movl $0x1, %edx
movq %rax, %rdi
callq 0x44e0
leaq 0xbbead(%rip), %rsi     # 0x153b00
movl $0x28, %edx
movq %rbx, %rdi
callq 0x44e0
leaq 0xbd8c7(%rip), %rsi     # 0x15552e
movl $0x1, %edx
movq %rbx, %rdi
callq 0x44e0
leaq 0xbe937(%rip), %rsi     # 0x1565b2
movl $0xa, %edx
movq %rbx, %rdi
callq 0x44e0
leaq 0xbd89f(%rip), %rsi     # 0x15552e
movq %rbx, %rdi
callq 0x4440
jmp 0x97b2a
jmp 0x97d07
jmp 0x97d07
movq %rax, %rbx
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x97d17
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
jmp 0x97d17
jmp 0x97d02
jmp 0x97d07
movq %rax, %rbx
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x97d24
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x97d24
jmp 0x97d07
jmp 0x97d07
jmp 0x97d07
jmp 0x97d02
jmp 0x97d07
jmp 0x97d02
jmp 0x97d07
jmp 0x97d07
jmp 0x97d07
movq %rax, %rbx
jmp 0x97d17
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0xf420
leaq 0xb0(%rsp), %rdi
callq 0x2f814
movq %rbx, %rdi
callq 0x4780