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 r8158087 = sx;
        double r8158088 = wx;
        double r8158089 = r8158087 * r8158088;
        double r8158090 = sy;
        double r8158091 = wy;
        double r8158092 = r8158090 * r8158091;
        double r8158093 = r8158089 + r8158092;
        double r8158094 = sz;
        double r8158095 = wz;
        double r8158096 = r8158094 * r8158095;
        double r8158097 = r8158093 + r8158096;
        double r8158098 = tx;
        double r8158099 = r8158098 * r8158088;
        double r8158100 = ty;
        double r8158101 = r8158100 * r8158091;
        double r8158102 = r8158099 + r8158101;
        double r8158103 = tz;
        double r8158104 = r8158103 * r8158095;
        double r8158105 = r8158102 + r8158104;
        double r8158106 = r8158098 * r8158087;
        double r8158107 = r8158100 * r8158090;
        double r8158108 = r8158106 + r8158107;
        double r8158109 = r8158103 * r8158094;
        double r8158110 = r8158108 + r8158109;
        double r8158111 = r8158105 * r8158110;
        double r8158112 = r8158097 - r8158111;
        double r8158113 = r8158112 * r8158112;
        double r8158114 = 1.0;
        double r8158115 = r8158105 * r8158105;
        double r8158116 = r8158114 - r8158115;
        double r8158117 = r8158087 * r8158087;
        double r8158118 = r8158090 * r8158090;
        double r8158119 = r8158117 + r8158118;
        double r8158120 = r8158094 * r8158094;
        double r8158121 = r8158119 + r8158120;
        double r8158122 = r8158110 * r8158110;
        double r8158123 = r8158121 - r8158122;
        double r8158124 = R;
        double r8158125 = r8158124 * r8158124;
        double r8158126 = r8158123 - r8158125;
        double r8158127 = r8158116 * r8158126;
        double r8158128 = r8158113 - r8158127;
        return r8158128;
}