Cannot sample enough valid points. (more)

\[\left(\left(\left(sx \cdot wx + sy \cdot wy\right) + sz \cdot wz\right) - \left(\left(tx \cdot wx + ty \cdot wy\right) + tz \cdot wz\right) \cdot \left(\left(tx \cdot sx + ty \cdot sy\right) + tz \cdot sz\right)\right) \cdot \left(\left(\left(sx \cdot wx + sy \cdot wy\right) + sz \cdot wz\right) - \left(\left(tx \cdot wx + ty \cdot wy\right) + tz \cdot wz\right) \cdot \left(\left(tx \cdot sx + ty \cdot sy\right) + tz \cdot sz\right)\right) - \left(1 - \left(\left(tx \cdot wx + ty \cdot wy\right) + tz \cdot wz\right) \cdot \left(\left(tx \cdot wx + ty \cdot wy\right) + tz \cdot wz\right)\right) \cdot \left(\left(\left(\left(sx \cdot sx + sy \cdot sy\right) + sz \cdot sz\right) - \left(\left(tx \cdot sx + ty \cdot sy\right) + tz \cdot sz\right) \cdot \left(\left(tx \cdot sx + ty \cdot sy\right) + tz \cdot sz\right)\right) - R \cdot R\right)\]
\left(\left(\left(sx \cdot wx + sy \cdot wy\right) + sz \cdot wz\right) - \left(\left(tx \cdot wx + ty \cdot wy\right) + tz \cdot wz\right) \cdot \left(\left(tx \cdot sx + ty \cdot sy\right) + tz \cdot sz\right)\right) \cdot \left(\left(\left(sx \cdot wx + sy \cdot wy\right) + sz \cdot wz\right) - \left(\left(tx \cdot wx + ty \cdot wy\right) + tz \cdot wz\right) \cdot \left(\left(tx \cdot sx + ty \cdot sy\right) + tz \cdot sz\right)\right) - \left(1 - \left(\left(tx \cdot wx + ty \cdot wy\right) + tz \cdot wz\right) \cdot \left(\left(tx \cdot wx + ty \cdot wy\right) + tz \cdot wz\right)\right) \cdot \left(\left(\left(\left(sx \cdot sx + sy \cdot sy\right) + sz \cdot sz\right) - \left(\left(tx \cdot sx + ty \cdot sy\right) + tz \cdot sz\right) \cdot \left(\left(tx \cdot sx + ty \cdot sy\right) + tz \cdot sz\right)\right) - R \cdot R\right)
double f(double sx, double wx, double sy, double wy, double sz, double wz, double tx, double ty, double tz, double R) {
        double r8158172 = sx;
        double r8158173 = wx;
        double r8158174 = r8158172 * r8158173;
        double r8158175 = sy;
        double r8158176 = wy;
        double r8158177 = r8158175 * r8158176;
        double r8158178 = r8158174 + r8158177;
        double r8158179 = sz;
        double r8158180 = wz;
        double r8158181 = r8158179 * r8158180;
        double r8158182 = r8158178 + r8158181;
        double r8158183 = tx;
        double r8158184 = r8158183 * r8158173;
        double r8158185 = ty;
        double r8158186 = r8158185 * r8158176;
        double r8158187 = r8158184 + r8158186;
        double r8158188 = tz;
        double r8158189 = r8158188 * r8158180;
        double r8158190 = r8158187 + r8158189;
        double r8158191 = r8158183 * r8158172;
        double r8158192 = r8158185 * r8158175;
        double r8158193 = r8158191 + r8158192;
        double r8158194 = r8158188 * r8158179;
        double r8158195 = r8158193 + r8158194;
        double r8158196 = r8158190 * r8158195;
        double r8158197 = r8158182 - r8158196;
        double r8158198 = r8158197 * r8158197;
        double r8158199 = 1.0;
        double r8158200 = r8158190 * r8158190;
        double r8158201 = r8158199 - r8158200;
        double r8158202 = r8158172 * r8158172;
        double r8158203 = r8158175 * r8158175;
        double r8158204 = r8158202 + r8158203;
        double r8158205 = r8158179 * r8158179;
        double r8158206 = r8158204 + r8158205;
        double r8158207 = r8158195 * r8158195;
        double r8158208 = r8158206 - r8158207;
        double r8158209 = R;
        double r8158210 = r8158209 * r8158209;
        double r8158211 = r8158208 - r8158210;
        double r8158212 = r8158201 * r8158211;
        double r8158213 = r8158198 - r8158212;
        return r8158213;
}