Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /branches/vis12/test/square-detect/square_score-35.log
ViewVC logotype

View of /branches/vis12/test/square-detect/square_score-35.log

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1817 - (download) (annotate)
Tue Apr 10 16:12:03 2012 UTC (7 years, 6 months ago) by nseltzer
File size: 1822364 byte(s)
Performance issue examples.
/* Program start */
field#2(2)[] T = ⊛<#2; %2; $[]> (bspln3, load<%2; $[]> ("square-template.nrrd"));
field#2(2)[] F = ⊛<#2; %2; $[]> (bspln3, load<%2; $[]> ("square-rotate.nrrd"));
vec2 v00 = [unary -<$[]> (0.5e0), unary -<$[]> (0.5e0)];
vec2 v01 = [unary -<$[]> (0.5e0), unary -<$[]> (0.3e0)];
vec2 v02 = [unary -<$[]> (0.5e0), unary -<$[]> (0.1e0)];
vec2 v03 = [unary -<$[]> (0.5e0), 0.1e0];
vec2 v04 = [unary -<$[]> (0.5e0), 0.3e0];
vec2 v05 = [unary -<$[]> (0.5e0), 0.5e0];
vec2 v06 = [unary -<$[]> (0.3e0), unary -<$[]> (0.5e0)];
vec2 v07 = [unary -<$[]> (0.3e0), unary -<$[]> (0.3e0)];
vec2 v08 = [unary -<$[]> (0.3e0), unary -<$[]> (0.1e0)];
vec2 v09 = [unary -<$[]> (0.3e0), 0.1e0];
vec2 v10 = [unary -<$[]> (0.3e0), 0.3e0];
vec2 v11 = [unary -<$[]> (0.3e0), 0.5e0];
vec2 v12 = [unary -<$[]> (0.1e0), unary -<$[]> (0.5e0)];
vec2 v13 = [unary -<$[]> (0.1e0), unary -<$[]> (0.3e0)];
vec2 v14 = [unary -<$[]> (0.1e0), unary -<$[]> (0.1e0)];
vec2 v15 = [unary -<$[]> (0.1e0), 0.1e0];
vec2 v16 = [unary -<$[]> (0.1e0), 0.3e0];
vec2 v17 = [unary -<$[]> (0.1e0), 0.5e0];
vec2 v18 = [0.1e0, unary -<$[]> (0.5e0)];
vec2 v19 = [0.1e0, unary -<$[]> (0.3e0)];
vec2 v20 = [0.1e0, unary -<$[]> (0.1e0)];
vec2 v21 = [0.1e0, 0.1e0];
vec2 v22 = [0.1e0, 0.3e0];
vec2 v23 = [0.1e0, 0.5e0];
vec2 v24 = [0.3e0, unary -<$[]> (0.5e0)];
vec2 v25 = [0.3e0, unary -<$[]> (0.3e0)];
vec2 v26 = [0.3e0, unary -<$[]> (0.1e0)];
vec2 v27 = [0.3e0, 0.1e0];
vec2 v28 = [0.3e0, 0.3e0];
vec2 v29 = [0.3e0, 0.5e0];
vec2 v30 = [0.5e0, unary -<$[]> (0.5e0)];
vec2 v31 = [0.5e0, unary -<$[]> (0.3e0)];
vec2 v32 = [0.5e0, unary -<$[]> (0.1e0)];
vec2 v33 = [0.5e0, 0.1e0];
vec2 v34 = [0.5e0, 0.3e0];
strand R (int i, int j, int k)
{
  vec3 t = [-<$[]> (/ ($i2r (i), 0.60e2), 0.5e0), -<$[]> (/ ($i2r (j), 0.60e2), 0.5e0), -<$[]> (/ ($i2r (k), 0.60e2), 0.5e0)];
  output real score = 0.0;
  vec2 r0 = [0.0, 0.0];
  vec2 r1 = [0.0, 0.0];
  vec2 pos = [0.0, 0.0];
  Update
  {
  r0 = [-<$[]> (0.1e1, * (* (0.2e1, t[2]), t[2])), * (* (unary -<$[]> (0.2e1), sqrt (-<$[]> (0.1e1, * (t[2], t[2])))), t[2])];
    r1 = [* (* (0.2e1, sqrt (-<$[]> (0.1e1, * (t[2], t[2])))), t[2]), -<$[]> (0.1e1, * (* (0.2e1, t[2]), t[2]))];
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v00), •<$[2]; $[2]; $[]> (r1, v00)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v00, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v00)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v00))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v01), •<$[2]; $[2]; $[]> (r1, v01)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v01, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v01)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v01))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v02), •<$[2]; $[2]; $[]> (r1, v02)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v02, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v02)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v02))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v03), •<$[2]; $[2]; $[]> (r1, v03)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v03, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v03)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v03))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v04), •<$[2]; $[2]; $[]> (r1, v04)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v04, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v04)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v04))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v05), •<$[2]; $[2]; $[]> (r1, v05)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v05, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v05)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v05))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v06), •<$[2]; $[2]; $[]> (r1, v06)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v06, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v06)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v06))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v07), •<$[2]; $[2]; $[]> (r1, v07)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v07, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v07)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v07))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v08), •<$[2]; $[2]; $[]> (r1, v08)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v08, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v08)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v08))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v09), •<$[2]; $[2]; $[]> (r1, v09)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v09, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v09)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v09))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v10), •<$[2]; $[2]; $[]> (r1, v10)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v10, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v10)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v10))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v11), •<$[2]; $[2]; $[]> (r1, v11)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v11, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v11)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v11))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v12), •<$[2]; $[2]; $[]> (r1, v12)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v12, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v12)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v12))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v13), •<$[2]; $[2]; $[]> (r1, v13)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v13, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v13)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v13))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v14), •<$[2]; $[2]; $[]> (r1, v14)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v14, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v14)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v14))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v15), •<$[2]; $[2]; $[]> (r1, v15)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v15, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v15)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v15))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v16), •<$[2]; $[2]; $[]> (r1, v16)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v16, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v16)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v16))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v17), •<$[2]; $[2]; $[]> (r1, v17)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v17, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v17)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v17))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v18), •<$[2]; $[2]; $[]> (r1, v18)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v18, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v18)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v18))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v19), •<$[2]; $[2]; $[]> (r1, v19)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v19, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v19)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v19))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v20), •<$[2]; $[2]; $[]> (r1, v20)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v20, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v20)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v20))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v21), •<$[2]; $[2]; $[]> (r1, v21)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v21, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v21)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v21))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v22), •<$[2]; $[2]; $[]> (r1, v22)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v22, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v22)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v22))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v23), •<$[2]; $[2]; $[]> (r1, v23)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v23, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v23)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v23))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v24), •<$[2]; $[2]; $[]> (r1, v24)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v24, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v24)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v24))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v25), •<$[2]; $[2]; $[]> (r1, v25)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v25, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v25)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v25))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v26), •<$[2]; $[2]; $[]> (r1, v26)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v26, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v26)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v26))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v27), •<$[2]; $[2]; $[]> (r1, v27)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v27, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v27)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v27))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v28), •<$[2]; $[2]; $[]> (r1, v28)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v28, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v28)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v28))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v29), •<$[2]; $[2]; $[]> (r1, v29)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v29, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v29)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v29))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v30), •<$[2]; $[2]; $[]> (r1, v30)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v30, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v30)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v30))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v31), •<$[2]; $[2]; $[]> (r1, v31)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v31, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v31)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v31))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v32), •<$[2]; $[2]; $[]> (r1, v32)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v32, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v32)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v32))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v33), •<$[2]; $[2]; $[]> (r1, v33)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v33, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v33)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v33))));
      }
    pos = +<$[2]> ([•<$[2]; $[2]; $[]> (r0, v34), •<$[2]; $[2]; $[]> (r1, v34)], [t[0], t[1]]);
    if inside<#2; %2; $[]> (v34, T) if inside<#2; %2; $[]> (pos, F) else false {
    score = +<$[]> (score, * (-<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v34)), -<$[]> (@<#2; %2; $[]> (F, pos), @<#2; %2; $[]> (T, v34))));
      }
    stabilize;
    }
  
  Stabilize
  {
  }
  
}
/* Program end */
/* Simplified Program start */
{
  field#2(2)[] T00A3;
  field#2(2)[] F00AC;
  vec2 v0000B5;
  vec2 v0100B8;
  vec2 v0200BB;
  vec2 v0300BE;
  vec2 v0400C0;
  vec2 v0500C2;
  vec2 v0600C4;
  vec2 v0700C7;
  vec2 v0800CA;
  vec2 v0900CD;
  vec2 v1000CF;
  vec2 v1100D1;
  vec2 v1200D3;
  vec2 v1300D6;
  vec2 v1400D9;
  vec2 v1500DC;
  vec2 v1600DE;
  vec2 v1700E0;
  vec2 v1800E2;
  vec2 v1900E4;
  vec2 v2000E6;
  vec2 v2100E8;
  vec2 v2200E9;
  vec2 v2300EA;
  vec2 v2400EB;
  vec2 v2500ED;
  vec2 v2600EF;
  vec2 v2700F1;
  vec2 v2800F2;
  vec2 v2900F3;
  vec2 v3000F4;
  vec2 v3100F6;
  vec2 v3200F8;
  vec2 v3300FA;
  vec2 v3400FB;
  _t0533 = bspln30095 ();
  _t0534 = "square-template.nrrd";
  _t0535 = load0080<%2; $[]> (_t0534);
  T00A3 = ⊛003A<#2; %2; $[]> (_t0533, _t0535);
  _t0536 = bspln30095 ();
  _t0537 = "square-rotate.nrrd";
  _t0538 = load0080<%2; $[]> (_t0537);
  F00AC = ⊛003A<#2; %2; $[]> (_t0536, _t0538);
  _t0539 = 0.5e0;
  _t053A = unary -004D<$[]> (_t0539);
  _t053B = 0.5e0;
  _t053C = unary -004D<$[]> (_t053B);
  v0000B5 = [_t053A, _t053C];
  _t053D = 0.5e0;
  _t053E = unary -004D<$[]> (_t053D);
  _t053F = 0.3e0;
  _t0540 = unary -004D<$[]> (_t053F);
  v0100B8 = [_t053E, _t0540];
  _t0541 = 0.5e0;
  _t0542 = unary -004D<$[]> (_t0541);
  _t0543 = 0.1e0;
  _t0544 = unary -004D<$[]> (_t0543);
  v0200BB = [_t0542, _t0544];
  _t0545 = 0.5e0;
  _t0546 = unary -004D<$[]> (_t0545);
  _t0547 = 0.1e0;
  v0300BE = [_t0546, _t0547];
  _t0548 = 0.5e0;
  _t0549 = unary -004D<$[]> (_t0548);
  _t054A = 0.3e0;
  v0400C0 = [_t0549, _t054A];
  _t054B = 0.5e0;
  _t054C = unary -004D<$[]> (_t054B);
  _t054D = 0.5e0;
  v0500C2 = [_t054C, _t054D];
  _t054E = 0.3e0;
  _t054F = unary -004D<$[]> (_t054E);
  _t0550 = 0.5e0;
  _t0551 = unary -004D<$[]> (_t0550);
  v0600C4 = [_t054F, _t0551];
  _t0552 = 0.3e0;
  _t0553 = unary -004D<$[]> (_t0552);
  _t0554 = 0.3e0;
  _t0555 = unary -004D<$[]> (_t0554);
  v0700C7 = [_t0553, _t0555];
  _t0556 = 0.3e0;
  _t0557 = unary -004D<$[]> (_t0556);
  _t0558 = 0.1e0;
  _t0559 = unary -004D<$[]> (_t0558);
  v0800CA = [_t0557, _t0559];
  _t055A = 0.3e0;
  _t055B = unary -004D<$[]> (_t055A);
  _t055C = 0.1e0;
  v0900CD = [_t055B, _t055C];
  _t055D = 0.3e0;
  _t055E = unary -004D<$[]> (_t055D);
  _t055F = 0.3e0;
  v1000CF = [_t055E, _t055F];
  _t0560 = 0.3e0;
  _t0561 = unary -004D<$[]> (_t0560);
  _t0562 = 0.5e0;
  v1100D1 = [_t0561, _t0562];
  _t0563 = 0.1e0;
  _t0564 = unary -004D<$[]> (_t0563);
  _t0565 = 0.5e0;
  _t0566 = unary -004D<$[]> (_t0565);
  v1200D3 = [_t0564, _t0566];
  _t0567 = 0.1e0;
  _t0568 = unary -004D<$[]> (_t0567);
  _t0569 = 0.3e0;
  _t056A = unary -004D<$[]> (_t0569);
  v1300D6 = [_t0568, _t056A];
  _t056B = 0.1e0;
  _t056C = unary -004D<$[]> (_t056B);
  _t056D = 0.1e0;
  _t056E = unary -004D<$[]> (_t056D);
  v1400D9 = [_t056C, _t056E];
  _t056F = 0.1e0;
  _t0570 = unary -004D<$[]> (_t056F);
  _t0571 = 0.1e0;
  v1500DC = [_t0570, _t0571];
  _t0572 = 0.1e0;
  _t0573 = unary -004D<$[]> (_t0572);
  _t0574 = 0.3e0;
  v1600DE = [_t0573, _t0574];
  _t0575 = 0.1e0;
  _t0576 = unary -004D<$[]> (_t0575);
  _t0577 = 0.5e0;
  v1700E0 = [_t0576, _t0577];
  _t0578 = 0.1e0;
  _t0579 = 0.5e0;
  _t057A = unary -004D<$[]> (_t0579);
  v1800E2 = [_t0578, _t057A];
  _t057B = 0.1e0;
  _t057C = 0.3e0;
  _t057D = unary -004D<$[]> (_t057C);
  v1900E4 = [_t057B, _t057D];
  _t057E = 0.1e0;
  _t057F = 0.1e0;
  _t0580 = unary -004D<$[]> (_t057F);
  v2000E6 = [_t057E, _t0580];
  _t0581 = 0.1e0;
  _t0582 = 0.1e0;
  v2100E8 = [_t0581, _t0582];
  _t0583 = 0.1e0;
  _t0584 = 0.3e0;
  v2200E9 = [_t0583, _t0584];
  _t0585 = 0.1e0;
  _t0586 = 0.5e0;
  v2300EA = [_t0585, _t0586];
  _t0587 = 0.3e0;
  _t0588 = 0.5e0;
  _t0589 = unary -004D<$[]> (_t0588);
  v2400EB = [_t0587, _t0589];
  _t058A = 0.3e0;
  _t058B = 0.3e0;
  _t058C = unary -004D<$[]> (_t058B);
  v2500ED = [_t058A, _t058C];
  _t058D = 0.3e0;
  _t058E = 0.1e0;
  _t058F = unary -004D<$[]> (_t058E);
  v2600EF = [_t058D, _t058F];
  _t0590 = 0.3e0;
  _t0591 = 0.1e0;
  v2700F1 = [_t0590, _t0591];
  _t0592 = 0.3e0;
  _t0593 = 0.3e0;
  v2800F2 = [_t0592, _t0593];
  _t0594 = 0.3e0;
  _t0595 = 0.5e0;
  v2900F3 = [_t0594, _t0595];
  _t0596 = 0.5e0;
  _t0597 = 0.5e0;
  _t0598 = unary -004D<$[]> (_t0597);
  v3000F4 = [_t0596, _t0598];
  _t0599 = 0.5e0;
  _t059A = 0.3e0;
  _t059B = unary -004D<$[]> (_t059A);
  v3100F6 = [_t0599, _t059B];
  _t059C = 0.5e0;
  _t059D = 0.1e0;
  _t059E = unary -004D<$[]> (_t059D);
  v3200F8 = [_t059C, _t059E];
  _t059F = 0.5e0;
  _t05A0 = 0.1e0;
  v3300FA = [_t059F, _t05A0];
  _t05A1 = 0.5e0;
  _t05A2 = 0.3e0;
  v3400FB = [_t05A1, _t05A2];
}
Array
  {
    _t0838 = 0;
    _t0839 = 60;
    _t083A = 0;
    _t083B = 60;
    _t083C = 0;
    _t083D = 60;
  }
  for int i0530 = _t0838 .. _t0839
    for int j0531 = _t083A .. _t083B
      for int k0532 = _t083C .. _t083D
        { }
        new R(i0530, j0531, k0532);
strand R (int i00FE, int j00FD, int k00FC)
{{
    vec3 t00FF;
    output real score0103;
    vec2 r00104;
    vec2 r10105;
    vec2 pos0106;
    _t05A3 = $i2r009B (i00FE);
    _t05A4 = 0.60e2;
    _t05A5 = /002A (_t05A3, _t05A4);
    _t05A6 = 0.5e0;
    _t05A7 = -0016<$[]> (_t05A5, _t05A6);
    _t05A8 = $i2r009B (j00FD);
    _t05A9 = 0.60e2;
    _t05AA = /002A (_t05A8, _t05A9);
    _t05AB = 0.5e0;
    _t05AC = -0016<$[]> (_t05AA, _t05AB);
    _t05AD = $i2r009B (k00FC);
    _t05AE = 0.60e2;
    _t05AF = /002A (_t05AD, _t05AE);
    _t05B0 = 0.5e0;
    _t05B1 = -0016<$[]> (_t05AF, _t05B0);
    t00FF = [_t05A7, _t05AC, _t05B1];
    score0103 = 0.0;
    _t05B2 = 0.0;
    _t05B3 = 0.0;
    r00104 = [_t05B2, _t05B3];
    _t05B4 = 0.0;
    _t05B5 = 0.0;
    r10105 = [_t05B4, _t05B5];
    _t05B6 = 0.0;
    _t05B7 = 0.0;
    pos0106 = [_t05B6, _t05B7];
  }
  Update
  {
    _t05B8 = 0.1e1;
    _t05B9 = 0.2e1;
    _t05BA = 2;
    _t05BB = t00FF[_t05BA];
    _t05BC = *001C (_t05B9, _t05BB);
    _t05BD = 2;
    _t05BE = t00FF[_t05BD];
    _t05BF = *001C (_t05BC, _t05BE);
    _t05C0 = -0016<$[]> (_t05B8, _t05BF);
    _t05C1 = 0.2e1;
    _t05C2 = unary -004D<$[]> (_t05C1);
    _t05C3 = 0.1e1;
    _t05C4 = 2;
    _t05C5 = t00FF[_t05C4];
    _t05C6 = 2;
    _t05C7 = t00FF[_t05C6];
    _t05C8 = *001C (_t05C5, _t05C7);
    _t05C9 = -0016<$[]> (_t05C3, _t05C8);
    _t05CA = sqrt0091 (_t05C9);
    _t05CB = *001C (_t05C2, _t05CA);
    _t05CC = 2;
    _t05CD = t00FF[_t05CC];
    _t05CE = *001C (_t05CB, _t05CD);
    r00104 = [_t05C0, _t05CE];
    _t05CF = 0.2e1;
    _t05D0 = 0.1e1;
    _t05D1 = 2;
    _t05D2 = t00FF[_t05D1];
    _t05D3 = 2;
    _t05D4 = t00FF[_t05D3];
    _t05D5 = *001C (_t05D2, _t05D4);
    _t05D6 = -0016<$[]> (_t05D0, _t05D5);
    _t05D7 = sqrt0091 (_t05D6);
    _t05D8 = *001C (_t05CF, _t05D7);
    _t05D9 = 2;
    _t05DA = t00FF[_t05D9];
    _t05DB = *001C (_t05D8, _t05DA);
    _t05DC = 0.1e1;
    _t05DD = 0.2e1;
    _t05DE = 2;
    _t05DF = t00FF[_t05DE];
    _t05E0 = *001C (_t05DD, _t05DF);
    _t05E1 = 2;
    _t05E2 = t00FF[_t05E1];
    _t05E3 = *001C (_t05E0, _t05E2);
    _t05E4 = -0016<$[]> (_t05DC, _t05E3);
    r10105 = [_t05DB, _t05E4];
    _t05E5 = •0079<$[2]; $[2]; $[]> (r00104, v0000B5);
    _t05E6 = •0079<$[2]; $[2]; $[]> (r10105, v0000B5);
    _t05E7 = [_t05E5, _t05E6];
    _t05E8 = 0;
    _t05E9 = t00FF[_t05E8];
    _t05EA = 1;
    _t05EB = t00FF[_t05EA];
    _t05EC = [_t05E9, _t05EB];
    pos0106 = +000F<$[2]> (_t05E7, _t05EC);
    bool _t05ED;
    _t05EE = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t05EE
      _t05ED = inside007D<#2; %2; $[]> (v0000B5, T00A3);
    else
      _t05ED = false;
    if _t05ED {
      _t05EF = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t05F0 = @0060<#2; %2; $[]> (T00A3, v0000B5);
      _t05F1 = -0016<$[]> (_t05EF, _t05F0);
      _t05F2 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t05F3 = @0060<#2; %2; $[]> (T00A3, v0000B5);
      _t05F4 = -0016<$[]> (_t05F2, _t05F3);
      _t05F5 = *001C (_t05F1, _t05F4);
      score0103 = +000F<$[]> (score0103, _t05F5);
    }
    _t05F6 = •0079<$[2]; $[2]; $[]> (r00104, v0100B8);
    _t05F7 = •0079<$[2]; $[2]; $[]> (r10105, v0100B8);
    _t05F8 = [_t05F6, _t05F7];
    _t05F9 = 0;
    _t05FA = t00FF[_t05F9];
    _t05FB = 1;
    _t05FC = t00FF[_t05FB];
    _t05FD = [_t05FA, _t05FC];
    pos0106 = +000F<$[2]> (_t05F8, _t05FD);
    bool _t05FE;
    _t05FF = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t05FF
      _t05FE = inside007D<#2; %2; $[]> (v0100B8, T00A3);
    else
      _t05FE = false;
    if _t05FE {
      _t0600 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0601 = @0060<#2; %2; $[]> (T00A3, v0100B8);
      _t0602 = -0016<$[]> (_t0600, _t0601);
      _t0603 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0604 = @0060<#2; %2; $[]> (T00A3, v0100B8);
      _t0605 = -0016<$[]> (_t0603, _t0604);
      _t0606 = *001C (_t0602, _t0605);
      score0103 = +000F<$[]> (score0103, _t0606);
    }
    _t0607 = •0079<$[2]; $[2]; $[]> (r00104, v0200BB);
    _t0608 = •0079<$[2]; $[2]; $[]> (r10105, v0200BB);
    _t0609 = [_t0607, _t0608];
    _t060A = 0;
    _t060B = t00FF[_t060A];
    _t060C = 1;
    _t060D = t00FF[_t060C];
    _t060E = [_t060B, _t060D];
    pos0106 = +000F<$[2]> (_t0609, _t060E);
    bool _t060F;
    _t0610 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0610
      _t060F = inside007D<#2; %2; $[]> (v0200BB, T00A3);
    else
      _t060F = false;
    if _t060F {
      _t0611 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0612 = @0060<#2; %2; $[]> (T00A3, v0200BB);
      _t0613 = -0016<$[]> (_t0611, _t0612);
      _t0614 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0615 = @0060<#2; %2; $[]> (T00A3, v0200BB);
      _t0616 = -0016<$[]> (_t0614, _t0615);
      _t0617 = *001C (_t0613, _t0616);
      score0103 = +000F<$[]> (score0103, _t0617);
    }
    _t0618 = •0079<$[2]; $[2]; $[]> (r00104, v0300BE);
    _t0619 = •0079<$[2]; $[2]; $[]> (r10105, v0300BE);
    _t061A = [_t0618, _t0619];
    _t061B = 0;
    _t061C = t00FF[_t061B];
    _t061D = 1;
    _t061E = t00FF[_t061D];
    _t061F = [_t061C, _t061E];
    pos0106 = +000F<$[2]> (_t061A, _t061F);
    bool _t0620;
    _t0621 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0621
      _t0620 = inside007D<#2; %2; $[]> (v0300BE, T00A3);
    else
      _t0620 = false;
    if _t0620 {
      _t0622 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0623 = @0060<#2; %2; $[]> (T00A3, v0300BE);
      _t0624 = -0016<$[]> (_t0622, _t0623);
      _t0625 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0626 = @0060<#2; %2; $[]> (T00A3, v0300BE);
      _t0627 = -0016<$[]> (_t0625, _t0626);
      _t0628 = *001C (_t0624, _t0627);
      score0103 = +000F<$[]> (score0103, _t0628);
    }
    _t0629 = •0079<$[2]; $[2]; $[]> (r00104, v0400C0);
    _t062A = •0079<$[2]; $[2]; $[]> (r10105, v0400C0);
    _t062B = [_t0629, _t062A];
    _t062C = 0;
    _t062D = t00FF[_t062C];
    _t062E = 1;
    _t062F = t00FF[_t062E];
    _t0630 = [_t062D, _t062F];
    pos0106 = +000F<$[2]> (_t062B, _t0630);
    bool _t0631;
    _t0632 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0632
      _t0631 = inside007D<#2; %2; $[]> (v0400C0, T00A3);
    else
      _t0631 = false;
    if _t0631 {
      _t0633 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0634 = @0060<#2; %2; $[]> (T00A3, v0400C0);
      _t0635 = -0016<$[]> (_t0633, _t0634);
      _t0636 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0637 = @0060<#2; %2; $[]> (T00A3, v0400C0);
      _t0638 = -0016<$[]> (_t0636, _t0637);
      _t0639 = *001C (_t0635, _t0638);
      score0103 = +000F<$[]> (score0103, _t0639);
    }
    _t063A = •0079<$[2]; $[2]; $[]> (r00104, v0500C2);
    _t063B = •0079<$[2]; $[2]; $[]> (r10105, v0500C2);
    _t063C = [_t063A, _t063B];
    _t063D = 0;
    _t063E = t00FF[_t063D];
    _t063F = 1;
    _t0640 = t00FF[_t063F];
    _t0641 = [_t063E, _t0640];
    pos0106 = +000F<$[2]> (_t063C, _t0641);
    bool _t0642;
    _t0643 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0643
      _t0642 = inside007D<#2; %2; $[]> (v0500C2, T00A3);
    else
      _t0642 = false;
    if _t0642 {
      _t0644 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0645 = @0060<#2; %2; $[]> (T00A3, v0500C2);
      _t0646 = -0016<$[]> (_t0644, _t0645);
      _t0647 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0648 = @0060<#2; %2; $[]> (T00A3, v0500C2);
      _t0649 = -0016<$[]> (_t0647, _t0648);
      _t064A = *001C (_t0646, _t0649);
      score0103 = +000F<$[]> (score0103, _t064A);
    }
    _t064B = •0079<$[2]; $[2]; $[]> (r00104, v0600C4);
    _t064C = •0079<$[2]; $[2]; $[]> (r10105, v0600C4);
    _t064D = [_t064B, _t064C];
    _t064E = 0;
    _t064F = t00FF[_t064E];
    _t0650 = 1;
    _t0651 = t00FF[_t0650];
    _t0652 = [_t064F, _t0651];
    pos0106 = +000F<$[2]> (_t064D, _t0652);
    bool _t0653;
    _t0654 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0654
      _t0653 = inside007D<#2; %2; $[]> (v0600C4, T00A3);
    else
      _t0653 = false;
    if _t0653 {
      _t0655 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0656 = @0060<#2; %2; $[]> (T00A3, v0600C4);
      _t0657 = -0016<$[]> (_t0655, _t0656);
      _t0658 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0659 = @0060<#2; %2; $[]> (T00A3, v0600C4);
      _t065A = -0016<$[]> (_t0658, _t0659);
      _t065B = *001C (_t0657, _t065A);
      score0103 = +000F<$[]> (score0103, _t065B);
    }
    _t065C = •0079<$[2]; $[2]; $[]> (r00104, v0700C7);
    _t065D = •0079<$[2]; $[2]; $[]> (r10105, v0700C7);
    _t065E = [_t065C, _t065D];
    _t065F = 0;
    _t0660 = t00FF[_t065F];
    _t0661 = 1;
    _t0662 = t00FF[_t0661];
    _t0663 = [_t0660, _t0662];
    pos0106 = +000F<$[2]> (_t065E, _t0663);
    bool _t0664;
    _t0665 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0665
      _t0664 = inside007D<#2; %2; $[]> (v0700C7, T00A3);
    else
      _t0664 = false;
    if _t0664 {
      _t0666 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0667 = @0060<#2; %2; $[]> (T00A3, v0700C7);
      _t0668 = -0016<$[]> (_t0666, _t0667);
      _t0669 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t066A = @0060<#2; %2; $[]> (T00A3, v0700C7);
      _t066B = -0016<$[]> (_t0669, _t066A);
      _t066C = *001C (_t0668, _t066B);
      score0103 = +000F<$[]> (score0103, _t066C);
    }
    _t066D = •0079<$[2]; $[2]; $[]> (r00104, v0800CA);
    _t066E = •0079<$[2]; $[2]; $[]> (r10105, v0800CA);
    _t066F = [_t066D, _t066E];
    _t0670 = 0;
    _t0671 = t00FF[_t0670];
    _t0672 = 1;
    _t0673 = t00FF[_t0672];
    _t0674 = [_t0671, _t0673];
    pos0106 = +000F<$[2]> (_t066F, _t0674);
    bool _t0675;
    _t0676 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0676
      _t0675 = inside007D<#2; %2; $[]> (v0800CA, T00A3);
    else
      _t0675 = false;
    if _t0675 {
      _t0677 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0678 = @0060<#2; %2; $[]> (T00A3, v0800CA);
      _t0679 = -0016<$[]> (_t0677, _t0678);
      _t067A = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t067B = @0060<#2; %2; $[]> (T00A3, v0800CA);
      _t067C = -0016<$[]> (_t067A, _t067B);
      _t067D = *001C (_t0679, _t067C);
      score0103 = +000F<$[]> (score0103, _t067D);
    }
    _t067E = •0079<$[2]; $[2]; $[]> (r00104, v0900CD);
    _t067F = •0079<$[2]; $[2]; $[]> (r10105, v0900CD);
    _t0680 = [_t067E, _t067F];
    _t0681 = 0;
    _t0682 = t00FF[_t0681];
    _t0683 = 1;
    _t0684 = t00FF[_t0683];
    _t0685 = [_t0682, _t0684];
    pos0106 = +000F<$[2]> (_t0680, _t0685);
    bool _t0686;
    _t0687 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0687
      _t0686 = inside007D<#2; %2; $[]> (v0900CD, T00A3);
    else
      _t0686 = false;
    if _t0686 {
      _t0688 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0689 = @0060<#2; %2; $[]> (T00A3, v0900CD);
      _t068A = -0016<$[]> (_t0688, _t0689);
      _t068B = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t068C = @0060<#2; %2; $[]> (T00A3, v0900CD);
      _t068D = -0016<$[]> (_t068B, _t068C);
      _t068E = *001C (_t068A, _t068D);
      score0103 = +000F<$[]> (score0103, _t068E);
    }
    _t068F = •0079<$[2]; $[2]; $[]> (r00104, v1000CF);
    _t0690 = •0079<$[2]; $[2]; $[]> (r10105, v1000CF);
    _t0691 = [_t068F, _t0690];
    _t0692 = 0;
    _t0693 = t00FF[_t0692];
    _t0694 = 1;
    _t0695 = t00FF[_t0694];
    _t0696 = [_t0693, _t0695];
    pos0106 = +000F<$[2]> (_t0691, _t0696);
    bool _t0697;
    _t0698 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0698
      _t0697 = inside007D<#2; %2; $[]> (v1000CF, T00A3);
    else
      _t0697 = false;
    if _t0697 {
      _t0699 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t069A = @0060<#2; %2; $[]> (T00A3, v1000CF);
      _t069B = -0016<$[]> (_t0699, _t069A);
      _t069C = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t069D = @0060<#2; %2; $[]> (T00A3, v1000CF);
      _t069E = -0016<$[]> (_t069C, _t069D);
      _t069F = *001C (_t069B, _t069E);
      score0103 = +000F<$[]> (score0103, _t069F);
    }
    _t06A0 = •0079<$[2]; $[2]; $[]> (r00104, v1100D1);
    _t06A1 = •0079<$[2]; $[2]; $[]> (r10105, v1100D1);
    _t06A2 = [_t06A0, _t06A1];
    _t06A3 = 0;
    _t06A4 = t00FF[_t06A3];
    _t06A5 = 1;
    _t06A6 = t00FF[_t06A5];
    _t06A7 = [_t06A4, _t06A6];
    pos0106 = +000F<$[2]> (_t06A2, _t06A7);
    bool _t06A8;
    _t06A9 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t06A9
      _t06A8 = inside007D<#2; %2; $[]> (v1100D1, T00A3);
    else
      _t06A8 = false;
    if _t06A8 {
      _t06AA = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t06AB = @0060<#2; %2; $[]> (T00A3, v1100D1);
      _t06AC = -0016<$[]> (_t06AA, _t06AB);
      _t06AD = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t06AE = @0060<#2; %2; $[]> (T00A3, v1100D1);
      _t06AF = -0016<$[]> (_t06AD, _t06AE);
      _t06B0 = *001C (_t06AC, _t06AF);
      score0103 = +000F<$[]> (score0103, _t06B0);
    }
    _t06B1 = •0079<$[2]; $[2]; $[]> (r00104, v1200D3);
    _t06B2 = •0079<$[2]; $[2]; $[]> (r10105, v1200D3);
    _t06B3 = [_t06B1, _t06B2];
    _t06B4 = 0;
    _t06B5 = t00FF[_t06B4];
    _t06B6 = 1;
    _t06B7 = t00FF[_t06B6];
    _t06B8 = [_t06B5, _t06B7];
    pos0106 = +000F<$[2]> (_t06B3, _t06B8);
    bool _t06B9;
    _t06BA = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t06BA
      _t06B9 = inside007D<#2; %2; $[]> (v1200D3, T00A3);
    else
      _t06B9 = false;
    if _t06B9 {
      _t06BB = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t06BC = @0060<#2; %2; $[]> (T00A3, v1200D3);
      _t06BD = -0016<$[]> (_t06BB, _t06BC);
      _t06BE = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t06BF = @0060<#2; %2; $[]> (T00A3, v1200D3);
      _t06C0 = -0016<$[]> (_t06BE, _t06BF);
      _t06C1 = *001C (_t06BD, _t06C0);
      score0103 = +000F<$[]> (score0103, _t06C1);
    }
    _t06C2 = •0079<$[2]; $[2]; $[]> (r00104, v1300D6);
    _t06C3 = •0079<$[2]; $[2]; $[]> (r10105, v1300D6);
    _t06C4 = [_t06C2, _t06C3];
    _t06C5 = 0;
    _t06C6 = t00FF[_t06C5];
    _t06C7 = 1;
    _t06C8 = t00FF[_t06C7];
    _t06C9 = [_t06C6, _t06C8];
    pos0106 = +000F<$[2]> (_t06C4, _t06C9);
    bool _t06CA;
    _t06CB = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t06CB
      _t06CA = inside007D<#2; %2; $[]> (v1300D6, T00A3);
    else
      _t06CA = false;
    if _t06CA {
      _t06CC = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t06CD = @0060<#2; %2; $[]> (T00A3, v1300D6);
      _t06CE = -0016<$[]> (_t06CC, _t06CD);
      _t06CF = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t06D0 = @0060<#2; %2; $[]> (T00A3, v1300D6);
      _t06D1 = -0016<$[]> (_t06CF, _t06D0);
      _t06D2 = *001C (_t06CE, _t06D1);
      score0103 = +000F<$[]> (score0103, _t06D2);
    }
    _t06D3 = •0079<$[2]; $[2]; $[]> (r00104, v1400D9);
    _t06D4 = •0079<$[2]; $[2]; $[]> (r10105, v1400D9);
    _t06D5 = [_t06D3, _t06D4];
    _t06D6 = 0;
    _t06D7 = t00FF[_t06D6];
    _t06D8 = 1;
    _t06D9 = t00FF[_t06D8];
    _t06DA = [_t06D7, _t06D9];
    pos0106 = +000F<$[2]> (_t06D5, _t06DA);
    bool _t06DB;
    _t06DC = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t06DC
      _t06DB = inside007D<#2; %2; $[]> (v1400D9, T00A3);
    else
      _t06DB = false;
    if _t06DB {
      _t06DD = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t06DE = @0060<#2; %2; $[]> (T00A3, v1400D9);
      _t06DF = -0016<$[]> (_t06DD, _t06DE);
      _t06E0 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t06E1 = @0060<#2; %2; $[]> (T00A3, v1400D9);
      _t06E2 = -0016<$[]> (_t06E0, _t06E1);
      _t06E3 = *001C (_t06DF, _t06E2);
      score0103 = +000F<$[]> (score0103, _t06E3);
    }
    _t06E4 = •0079<$[2]; $[2]; $[]> (r00104, v1500DC);
    _t06E5 = •0079<$[2]; $[2]; $[]> (r10105, v1500DC);
    _t06E6 = [_t06E4, _t06E5];
    _t06E7 = 0;
    _t06E8 = t00FF[_t06E7];
    _t06E9 = 1;
    _t06EA = t00FF[_t06E9];
    _t06EB = [_t06E8, _t06EA];
    pos0106 = +000F<$[2]> (_t06E6, _t06EB);
    bool _t06EC;
    _t06ED = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t06ED
      _t06EC = inside007D<#2; %2; $[]> (v1500DC, T00A3);
    else
      _t06EC = false;
    if _t06EC {
      _t06EE = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t06EF = @0060<#2; %2; $[]> (T00A3, v1500DC);
      _t06F0 = -0016<$[]> (_t06EE, _t06EF);
      _t06F1 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t06F2 = @0060<#2; %2; $[]> (T00A3, v1500DC);
      _t06F3 = -0016<$[]> (_t06F1, _t06F2);
      _t06F4 = *001C (_t06F0, _t06F3);
      score0103 = +000F<$[]> (score0103, _t06F4);
    }
    _t06F5 = •0079<$[2]; $[2]; $[]> (r00104, v1600DE);
    _t06F6 = •0079<$[2]; $[2]; $[]> (r10105, v1600DE);
    _t06F7 = [_t06F5, _t06F6];
    _t06F8 = 0;
    _t06F9 = t00FF[_t06F8];
    _t06FA = 1;
    _t06FB = t00FF[_t06FA];
    _t06FC = [_t06F9, _t06FB];
    pos0106 = +000F<$[2]> (_t06F7, _t06FC);
    bool _t06FD;
    _t06FE = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t06FE
      _t06FD = inside007D<#2; %2; $[]> (v1600DE, T00A3);
    else
      _t06FD = false;
    if _t06FD {
      _t06FF = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0700 = @0060<#2; %2; $[]> (T00A3, v1600DE);
      _t0701 = -0016<$[]> (_t06FF, _t0700);
      _t0702 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0703 = @0060<#2; %2; $[]> (T00A3, v1600DE);
      _t0704 = -0016<$[]> (_t0702, _t0703);
      _t0705 = *001C (_t0701, _t0704);
      score0103 = +000F<$[]> (score0103, _t0705);
    }
    _t0706 = •0079<$[2]; $[2]; $[]> (r00104, v1700E0);
    _t0707 = •0079<$[2]; $[2]; $[]> (r10105, v1700E0);
    _t0708 = [_t0706, _t0707];
    _t0709 = 0;
    _t070A = t00FF[_t0709];
    _t070B = 1;
    _t070C = t00FF[_t070B];
    _t070D = [_t070A, _t070C];
    pos0106 = +000F<$[2]> (_t0708, _t070D);
    bool _t070E;
    _t070F = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t070F
      _t070E = inside007D<#2; %2; $[]> (v1700E0, T00A3);
    else
      _t070E = false;
    if _t070E {
      _t0710 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0711 = @0060<#2; %2; $[]> (T00A3, v1700E0);
      _t0712 = -0016<$[]> (_t0710, _t0711);
      _t0713 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0714 = @0060<#2; %2; $[]> (T00A3, v1700E0);
      _t0715 = -0016<$[]> (_t0713, _t0714);
      _t0716 = *001C (_t0712, _t0715);
      score0103 = +000F<$[]> (score0103, _t0716);
    }
    _t0717 = •0079<$[2]; $[2]; $[]> (r00104, v1800E2);
    _t0718 = •0079<$[2]; $[2]; $[]> (r10105, v1800E2);
    _t0719 = [_t0717, _t0718];
    _t071A = 0;
    _t071B = t00FF[_t071A];
    _t071C = 1;
    _t071D = t00FF[_t071C];
    _t071E = [_t071B, _t071D];
    pos0106 = +000F<$[2]> (_t0719, _t071E);
    bool _t071F;
    _t0720 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0720
      _t071F = inside007D<#2; %2; $[]> (v1800E2, T00A3);
    else
      _t071F = false;
    if _t071F {
      _t0721 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0722 = @0060<#2; %2; $[]> (T00A3, v1800E2);
      _t0723 = -0016<$[]> (_t0721, _t0722);
      _t0724 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0725 = @0060<#2; %2; $[]> (T00A3, v1800E2);
      _t0726 = -0016<$[]> (_t0724, _t0725);
      _t0727 = *001C (_t0723, _t0726);
      score0103 = +000F<$[]> (score0103, _t0727);
    }
    _t0728 = •0079<$[2]; $[2]; $[]> (r00104, v1900E4);
    _t0729 = •0079<$[2]; $[2]; $[]> (r10105, v1900E4);
    _t072A = [_t0728, _t0729];
    _t072B = 0;
    _t072C = t00FF[_t072B];
    _t072D = 1;
    _t072E = t00FF[_t072D];
    _t072F = [_t072C, _t072E];
    pos0106 = +000F<$[2]> (_t072A, _t072F);
    bool _t0730;
    _t0731 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0731
      _t0730 = inside007D<#2; %2; $[]> (v1900E4, T00A3);
    else
      _t0730 = false;
    if _t0730 {
      _t0732 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0733 = @0060<#2; %2; $[]> (T00A3, v1900E4);
      _t0734 = -0016<$[]> (_t0732, _t0733);
      _t0735 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0736 = @0060<#2; %2; $[]> (T00A3, v1900E4);
      _t0737 = -0016<$[]> (_t0735, _t0736);
      _t0738 = *001C (_t0734, _t0737);
      score0103 = +000F<$[]> (score0103, _t0738);
    }
    _t0739 = •0079<$[2]; $[2]; $[]> (r00104, v2000E6);
    _t073A = •0079<$[2]; $[2]; $[]> (r10105, v2000E6);
    _t073B = [_t0739, _t073A];
    _t073C = 0;
    _t073D = t00FF[_t073C];
    _t073E = 1;
    _t073F = t00FF[_t073E];
    _t0740 = [_t073D, _t073F];
    pos0106 = +000F<$[2]> (_t073B, _t0740);
    bool _t0741;
    _t0742 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0742
      _t0741 = inside007D<#2; %2; $[]> (v2000E6, T00A3);
    else
      _t0741 = false;
    if _t0741 {
      _t0743 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0744 = @0060<#2; %2; $[]> (T00A3, v2000E6);
      _t0745 = -0016<$[]> (_t0743, _t0744);
      _t0746 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0747 = @0060<#2; %2; $[]> (T00A3, v2000E6);
      _t0748 = -0016<$[]> (_t0746, _t0747);
      _t0749 = *001C (_t0745, _t0748);
      score0103 = +000F<$[]> (score0103, _t0749);
    }
    _t074A = •0079<$[2]; $[2]; $[]> (r00104, v2100E8);
    _t074B = •0079<$[2]; $[2]; $[]> (r10105, v2100E8);
    _t074C = [_t074A, _t074B];
    _t074D = 0;
    _t074E = t00FF[_t074D];
    _t074F = 1;
    _t0750 = t00FF[_t074F];
    _t0751 = [_t074E, _t0750];
    pos0106 = +000F<$[2]> (_t074C, _t0751);
    bool _t0752;
    _t0753 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0753
      _t0752 = inside007D<#2; %2; $[]> (v2100E8, T00A3);
    else
      _t0752 = false;
    if _t0752 {
      _t0754 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0755 = @0060<#2; %2; $[]> (T00A3, v2100E8);
      _t0756 = -0016<$[]> (_t0754, _t0755);
      _t0757 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0758 = @0060<#2; %2; $[]> (T00A3, v2100E8);
      _t0759 = -0016<$[]> (_t0757, _t0758);
      _t075A = *001C (_t0756, _t0759);
      score0103 = +000F<$[]> (score0103, _t075A);
    }
    _t075B = •0079<$[2]; $[2]; $[]> (r00104, v2200E9);
    _t075C = •0079<$[2]; $[2]; $[]> (r10105, v2200E9);
    _t075D = [_t075B, _t075C];
    _t075E = 0;
    _t075F = t00FF[_t075E];
    _t0760 = 1;
    _t0761 = t00FF[_t0760];
    _t0762 = [_t075F, _t0761];
    pos0106 = +000F<$[2]> (_t075D, _t0762);
    bool _t0763;
    _t0764 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0764
      _t0763 = inside007D<#2; %2; $[]> (v2200E9, T00A3);
    else
      _t0763 = false;
    if _t0763 {
      _t0765 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0766 = @0060<#2; %2; $[]> (T00A3, v2200E9);
      _t0767 = -0016<$[]> (_t0765, _t0766);
      _t0768 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0769 = @0060<#2; %2; $[]> (T00A3, v2200E9);
      _t076A = -0016<$[]> (_t0768, _t0769);
      _t076B = *001C (_t0767, _t076A);
      score0103 = +000F<$[]> (score0103, _t076B);
    }
    _t076C = •0079<$[2]; $[2]; $[]> (r00104, v2300EA);
    _t076D = •0079<$[2]; $[2]; $[]> (r10105, v2300EA);
    _t076E = [_t076C, _t076D];
    _t076F = 0;
    _t0770 = t00FF[_t076F];
    _t0771 = 1;
    _t0772 = t00FF[_t0771];
    _t0773 = [_t0770, _t0772];
    pos0106 = +000F<$[2]> (_t076E, _t0773);
    bool _t0774;
    _t0775 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0775
      _t0774 = inside007D<#2; %2; $[]> (v2300EA, T00A3);
    else
      _t0774 = false;
    if _t0774 {
      _t0776 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0777 = @0060<#2; %2; $[]> (T00A3, v2300EA);
      _t0778 = -0016<$[]> (_t0776, _t0777);
      _t0779 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t077A = @0060<#2; %2; $[]> (T00A3, v2300EA);
      _t077B = -0016<$[]> (_t0779, _t077A);
      _t077C = *001C (_t0778, _t077B);
      score0103 = +000F<$[]> (score0103, _t077C);
    }
    _t077D = •0079<$[2]; $[2]; $[]> (r00104, v2400EB);
    _t077E = •0079<$[2]; $[2]; $[]> (r10105, v2400EB);
    _t077F = [_t077D, _t077E];
    _t0780 = 0;
    _t0781 = t00FF[_t0780];
    _t0782 = 1;
    _t0783 = t00FF[_t0782];
    _t0784 = [_t0781, _t0783];
    pos0106 = +000F<$[2]> (_t077F, _t0784);
    bool _t0785;
    _t0786 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0786
      _t0785 = inside007D<#2; %2; $[]> (v2400EB, T00A3);
    else
      _t0785 = false;
    if _t0785 {
      _t0787 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0788 = @0060<#2; %2; $[]> (T00A3, v2400EB);
      _t0789 = -0016<$[]> (_t0787, _t0788);
      _t078A = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t078B = @0060<#2; %2; $[]> (T00A3, v2400EB);
      _t078C = -0016<$[]> (_t078A, _t078B);
      _t078D = *001C (_t0789, _t078C);
      score0103 = +000F<$[]> (score0103, _t078D);
    }
    _t078E = •0079<$[2]; $[2]; $[]> (r00104, v2500ED);
    _t078F = •0079<$[2]; $[2]; $[]> (r10105, v2500ED);
    _t0790 = [_t078E, _t078F];
    _t0791 = 0;
    _t0792 = t00FF[_t0791];
    _t0793 = 1;
    _t0794 = t00FF[_t0793];
    _t0795 = [_t0792, _t0794];
    pos0106 = +000F<$[2]> (_t0790, _t0795);
    bool _t0796;
    _t0797 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0797
      _t0796 = inside007D<#2; %2; $[]> (v2500ED, T00A3);
    else
      _t0796 = false;
    if _t0796 {
      _t0798 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0799 = @0060<#2; %2; $[]> (T00A3, v2500ED);
      _t079A = -0016<$[]> (_t0798, _t0799);
      _t079B = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t079C = @0060<#2; %2; $[]> (T00A3, v2500ED);
      _t079D = -0016<$[]> (_t079B, _t079C);
      _t079E = *001C (_t079A, _t079D);
      score0103 = +000F<$[]> (score0103, _t079E);
    }
    _t079F = •0079<$[2]; $[2]; $[]> (r00104, v2600EF);
    _t07A0 = •0079<$[2]; $[2]; $[]> (r10105, v2600EF);
    _t07A1 = [_t079F, _t07A0];
    _t07A2 = 0;
    _t07A3 = t00FF[_t07A2];
    _t07A4 = 1;
    _t07A5 = t00FF[_t07A4];
    _t07A6 = [_t07A3, _t07A5];
    pos0106 = +000F<$[2]> (_t07A1, _t07A6);
    bool _t07A7;
    _t07A8 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t07A8
      _t07A7 = inside007D<#2; %2; $[]> (v2600EF, T00A3);
    else
      _t07A7 = false;
    if _t07A7 {
      _t07A9 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07AA = @0060<#2; %2; $[]> (T00A3, v2600EF);
      _t07AB = -0016<$[]> (_t07A9, _t07AA);
      _t07AC = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07AD = @0060<#2; %2; $[]> (T00A3, v2600EF);
      _t07AE = -0016<$[]> (_t07AC, _t07AD);
      _t07AF = *001C (_t07AB, _t07AE);
      score0103 = +000F<$[]> (score0103, _t07AF);
    }
    _t07B0 = •0079<$[2]; $[2]; $[]> (r00104, v2700F1);
    _t07B1 = •0079<$[2]; $[2]; $[]> (r10105, v2700F1);
    _t07B2 = [_t07B0, _t07B1];
    _t07B3 = 0;
    _t07B4 = t00FF[_t07B3];
    _t07B5 = 1;
    _t07B6 = t00FF[_t07B5];
    _t07B7 = [_t07B4, _t07B6];
    pos0106 = +000F<$[2]> (_t07B2, _t07B7);
    bool _t07B8;
    _t07B9 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t07B9
      _t07B8 = inside007D<#2; %2; $[]> (v2700F1, T00A3);
    else
      _t07B8 = false;
    if _t07B8 {
      _t07BA = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07BB = @0060<#2; %2; $[]> (T00A3, v2700F1);
      _t07BC = -0016<$[]> (_t07BA, _t07BB);
      _t07BD = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07BE = @0060<#2; %2; $[]> (T00A3, v2700F1);
      _t07BF = -0016<$[]> (_t07BD, _t07BE);
      _t07C0 = *001C (_t07BC, _t07BF);
      score0103 = +000F<$[]> (score0103, _t07C0);
    }
    _t07C1 = •0079<$[2]; $[2]; $[]> (r00104, v2800F2);
    _t07C2 = •0079<$[2]; $[2]; $[]> (r10105, v2800F2);
    _t07C3 = [_t07C1, _t07C2];
    _t07C4 = 0;
    _t07C5 = t00FF[_t07C4];
    _t07C6 = 1;
    _t07C7 = t00FF[_t07C6];
    _t07C8 = [_t07C5, _t07C7];
    pos0106 = +000F<$[2]> (_t07C3, _t07C8);
    bool _t07C9;
    _t07CA = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t07CA
      _t07C9 = inside007D<#2; %2; $[]> (v2800F2, T00A3);
    else
      _t07C9 = false;
    if _t07C9 {
      _t07CB = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07CC = @0060<#2; %2; $[]> (T00A3, v2800F2);
      _t07CD = -0016<$[]> (_t07CB, _t07CC);
      _t07CE = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07CF = @0060<#2; %2; $[]> (T00A3, v2800F2);
      _t07D0 = -0016<$[]> (_t07CE, _t07CF);
      _t07D1 = *001C (_t07CD, _t07D0);
      score0103 = +000F<$[]> (score0103, _t07D1);
    }
    _t07D2 = •0079<$[2]; $[2]; $[]> (r00104, v2900F3);
    _t07D3 = •0079<$[2]; $[2]; $[]> (r10105, v2900F3);
    _t07D4 = [_t07D2, _t07D3];
    _t07D5 = 0;
    _t07D6 = t00FF[_t07D5];
    _t07D7 = 1;
    _t07D8 = t00FF[_t07D7];
    _t07D9 = [_t07D6, _t07D8];
    pos0106 = +000F<$[2]> (_t07D4, _t07D9);
    bool _t07DA;
    _t07DB = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t07DB
      _t07DA = inside007D<#2; %2; $[]> (v2900F3, T00A3);
    else
      _t07DA = false;
    if _t07DA {
      _t07DC = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07DD = @0060<#2; %2; $[]> (T00A3, v2900F3);
      _t07DE = -0016<$[]> (_t07DC, _t07DD);
      _t07DF = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07E0 = @0060<#2; %2; $[]> (T00A3, v2900F3);
      _t07E1 = -0016<$[]> (_t07DF, _t07E0);
      _t07E2 = *001C (_t07DE, _t07E1);
      score0103 = +000F<$[]> (score0103, _t07E2);
    }
    _t07E3 = •0079<$[2]; $[2]; $[]> (r00104, v3000F4);
    _t07E4 = •0079<$[2]; $[2]; $[]> (r10105, v3000F4);
    _t07E5 = [_t07E3, _t07E4];
    _t07E6 = 0;
    _t07E7 = t00FF[_t07E6];
    _t07E8 = 1;
    _t07E9 = t00FF[_t07E8];
    _t07EA = [_t07E7, _t07E9];
    pos0106 = +000F<$[2]> (_t07E5, _t07EA);
    bool _t07EB;
    _t07EC = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t07EC
      _t07EB = inside007D<#2; %2; $[]> (v3000F4, T00A3);
    else
      _t07EB = false;
    if _t07EB {
      _t07ED = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07EE = @0060<#2; %2; $[]> (T00A3, v3000F4);
      _t07EF = -0016<$[]> (_t07ED, _t07EE);
      _t07F0 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07F1 = @0060<#2; %2; $[]> (T00A3, v3000F4);
      _t07F2 = -0016<$[]> (_t07F0, _t07F1);
      _t07F3 = *001C (_t07EF, _t07F2);
      score0103 = +000F<$[]> (score0103, _t07F3);
    }
    _t07F4 = •0079<$[2]; $[2]; $[]> (r00104, v3100F6);
    _t07F5 = •0079<$[2]; $[2]; $[]> (r10105, v3100F6);
    _t07F6 = [_t07F4, _t07F5];
    _t07F7 = 0;
    _t07F8 = t00FF[_t07F7];
    _t07F9 = 1;
    _t07FA = t00FF[_t07F9];
    _t07FB = [_t07F8, _t07FA];
    pos0106 = +000F<$[2]> (_t07F6, _t07FB);
    bool _t07FC;
    _t07FD = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t07FD
      _t07FC = inside007D<#2; %2; $[]> (v3100F6, T00A3);
    else
      _t07FC = false;
    if _t07FC {
      _t07FE = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07FF = @0060<#2; %2; $[]> (T00A3, v3100F6);
      _t0800 = -0016<$[]> (_t07FE, _t07FF);
      _t0801 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0802 = @0060<#2; %2; $[]> (T00A3, v3100F6);
      _t0803 = -0016<$[]> (_t0801, _t0802);
      _t0804 = *001C (_t0800, _t0803);
      score0103 = +000F<$[]> (score0103, _t0804);
    }
    _t0805 = •0079<$[2]; $[2]; $[]> (r00104, v3200F8);
    _t0806 = •0079<$[2]; $[2]; $[]> (r10105, v3200F8);
    _t0807 = [_t0805, _t0806];
    _t0808 = 0;
    _t0809 = t00FF[_t0808];
    _t080A = 1;
    _t080B = t00FF[_t080A];
    _t080C = [_t0809, _t080B];
    pos0106 = +000F<$[2]> (_t0807, _t080C);
    bool _t080D;
    _t080E = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t080E
      _t080D = inside007D<#2; %2; $[]> (v3200F8, T00A3);
    else
      _t080D = false;
    if _t080D {
      _t080F = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0810 = @0060<#2; %2; $[]> (T00A3, v3200F8);
      _t0811 = -0016<$[]> (_t080F, _t0810);
      _t0812 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0813 = @0060<#2; %2; $[]> (T00A3, v3200F8);
      _t0814 = -0016<$[]> (_t0812, _t0813);
      _t0815 = *001C (_t0811, _t0814);
      score0103 = +000F<$[]> (score0103, _t0815);
    }
    _t0816 = •0079<$[2]; $[2]; $[]> (r00104, v3300FA);
    _t0817 = •0079<$[2]; $[2]; $[]> (r10105, v3300FA);
    _t0818 = [_t0816, _t0817];
    _t0819 = 0;
    _t081A = t00FF[_t0819];
    _t081B = 1;
    _t081C = t00FF[_t081B];
    _t081D = [_t081A, _t081C];
    pos0106 = +000F<$[2]> (_t0818, _t081D);
    bool _t081E;
    _t081F = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t081F
      _t081E = inside007D<#2; %2; $[]> (v3300FA, T00A3);
    else
      _t081E = false;
    if _t081E {
      _t0820 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0821 = @0060<#2; %2; $[]> (T00A3, v3300FA);
      _t0822 = -0016<$[]> (_t0820, _t0821);
      _t0823 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0824 = @0060<#2; %2; $[]> (T00A3, v3300FA);
      _t0825 = -0016<$[]> (_t0823, _t0824);
      _t0826 = *001C (_t0822, _t0825);
      score0103 = +000F<$[]> (score0103, _t0826);
    }
    _t0827 = •0079<$[2]; $[2]; $[]> (r00104, v3400FB);
    _t0828 = •0079<$[2]; $[2]; $[]> (r10105, v3400FB);
    _t0829 = [_t0827, _t0828];
    _t082A = 0;
    _t082B = t00FF[_t082A];
    _t082C = 1;
    _t082D = t00FF[_t082C];
    _t082E = [_t082B, _t082D];
    pos0106 = +000F<$[2]> (_t0829, _t082E);
    bool _t082F;
    _t0830 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0830
      _t082F = inside007D<#2; %2; $[]> (v3400FB, T00A3);
    else
      _t082F = false;
    if _t082F {
      _t0831 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0832 = @0060<#2; %2; $[]> (T00A3, v3400FB);
      _t0833 = -0016<$[]> (_t0831, _t0832);
      _t0834 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0835 = @0060<#2; %2; $[]> (T00A3, v3400FB);
      _t0836 = -0016<$[]> (_t0834, _t0835);
      _t0837 = *001C (_t0833, _t0836);
      score0103 = +000F<$[]> (score0103, _t0837);
    }
    stabilize;
  }
  Stabilize
  { }
}
/* Program end */
**** static variables:  _t0534 _t0535 _t0537 _t0538
eval assignment: _t0534 = "square-template.nrrd"
square-template.nrrd file header:
  type: int
  dimension: 2
  space dimension: 2
  sizes: 21 21
  space directions: (0.050000000000000003,0) (0,0.050000000000000003)
  kinds: space space
  endian: little
  encoding: raw
  space origin: (-0.5,-0.5)
eval assignment: _t0535 = IMAGE2D<int>
eval assignment: _t0537 = "square-rotate.nrrd"
square-rotate.nrrd file header:
  type: float
  dimension: 2
  space dimension: 2
  sizes: 21 21
  space directions: (0.050000000000000003,0) (0,0.050000000000000003)
  kinds: space space
  endian: little
  encoding: raw
  space origin: (-0.5,-0.5)
eval assignment: _t0538 = IMAGE2D<float>
eval assignment: _t0539 = 0.5
eval assignment: _t053B = 0.5
eval assignment: _t053D = 0.5
eval assignment: _t053F = 0.3
eval assignment: _t0541 = 0.5
eval assignment: _t0543 = 0.1
eval assignment: _t0545 = 0.5
eval assignment: _t0547 = 0.1
eval assignment: _t0548 = 0.5
eval assignment: _t054A = 0.3
eval assignment: _t054B = 0.5
eval assignment: _t054D = 0.5
eval assignment: _t054E = 0.3
eval assignment: _t0550 = 0.5
eval assignment: _t0552 = 0.3
eval assignment: _t0554 = 0.3
eval assignment: _t0556 = 0.3
eval assignment: _t0558 = 0.1
eval assignment: _t055A = 0.3
eval assignment: _t055C = 0.1
eval assignment: _t055D = 0.3
eval assignment: _t055F = 0.3
eval assignment: _t0560 = 0.3
eval assignment: _t0562 = 0.5
eval assignment: _t0563 = 0.1
eval assignment: _t0565 = 0.5
eval assignment: _t0567 = 0.1
eval assignment: _t0569 = 0.3
eval assignment: _t056B = 0.1
eval assignment: _t056D = 0.1
eval assignment: _t056F = 0.1
eval assignment: _t0571 = 0.1
eval assignment: _t0572 = 0.1
eval assignment: _t0574 = 0.3
eval assignment: _t0575 = 0.1
eval assignment: _t0577 = 0.5
eval assignment: _t0578 = 0.1
eval assignment: _t0579 = 0.5
eval assignment: _t057B = 0.1
eval assignment: _t057C = 0.3
eval assignment: _t057E = 0.1
eval assignment: _t057F = 0.1
eval assignment: _t0581 = 0.1
eval assignment: _t0582 = 0.1
eval assignment: v2100E8 = tensor
eval assignment: _t0583 = 0.1
eval assignment: _t0584 = 0.3
eval assignment: v2200E9 = tensor
eval assignment: _t0585 = 0.1
eval assignment: _t0586 = 0.5
eval assignment: v2300EA = tensor
eval assignment: _t0587 = 0.3
eval assignment: _t0588 = 0.5
eval assignment: _t058A = 0.3
eval assignment: _t058B = 0.3
eval assignment: _t058D = 0.3
eval assignment: _t058E = 0.1
eval assignment: _t0590 = 0.3
eval assignment: _t0591 = 0.1
eval assignment: v2700F1 = tensor
eval assignment: _t0592 = 0.3
eval assignment: _t0593 = 0.3
eval assignment: v2800F2 = tensor
eval assignment: _t0594 = 0.3
eval assignment: _t0595 = 0.5
eval assignment: v2900F3 = tensor
eval assignment: _t0596 = 0.5
eval assignment: _t0597 = 0.5
eval assignment: _t0599 = 0.5
eval assignment: _t059A = 0.3
eval assignment: _t059C = 0.5
eval assignment: _t059D = 0.1
eval assignment: _t059F = 0.5
eval assignment: _t05A0 = 0.1
eval assignment: v3300FA = tensor
eval assignment: _t05A1 = 0.5
eval assignment: _t05A2 = 0.3
eval assignment: v3400FB = tensor
/* Simplified Program start */
{
  field#2(2)[] T00A3;
  field#2(2)[] F00AC;
  vec2 v0000B5;
  vec2 v0100B8;
  vec2 v0200BB;
  vec2 v0300BE;
  vec2 v0400C0;
  vec2 v0500C2;
  vec2 v0600C4;
  vec2 v0700C7;
  vec2 v0800CA;
  vec2 v0900CD;
  vec2 v1000CF;
  vec2 v1100D1;
  vec2 v1200D3;
  vec2 v1300D6;
  vec2 v1400D9;
  vec2 v1500DC;
  vec2 v1600DE;
  vec2 v1700E0;
  vec2 v1800E2;
  vec2 v1900E4;
  vec2 v2000E6;
  vec2 v2100E8;
  vec2 v2200E9;
  vec2 v2300EA;
  vec2 v2400EB;
  vec2 v2500ED;
  vec2 v2600EF;
  vec2 v2700F1;
  vec2 v2800F2;
  vec2 v2900F3;
  vec2 v3000F4;
  vec2 v3100F6;
  vec2 v3200F8;
  vec2 v3300FA;
  vec2 v3400FB;
  _t0533 = bspln30095 ();
  _t0534 = "square-template.nrrd";
  _t0535 = load (IMAGE2D<int> ,_t0534);
  T00A3 = ⊛003A<#2; %2; $[]> (_t0533, _t0535);
  _t0536 = bspln30095 ();
  _t0537 = "square-rotate.nrrd";
  _t0538 = load (IMAGE2D<float> ,_t0537);
  F00AC = ⊛003A<#2; %2; $[]> (_t0536, _t0538);
  _t0539 = 0.5e0;
  _t053A = unary -004D<$[]> (_t0539);
  _t053B = 0.5e0;
  _t053C = unary -004D<$[]> (_t053B);
  v0000B5 = [_t053A, _t053C];
  _t053D = 0.5e0;
  _t053E = unary -004D<$[]> (_t053D);
  _t053F = 0.3e0;
  _t0540 = unary -004D<$[]> (_t053F);
  v0100B8 = [_t053E, _t0540];
  _t0541 = 0.5e0;
  _t0542 = unary -004D<$[]> (_t0541);
  _t0543 = 0.1e0;
  _t0544 = unary -004D<$[]> (_t0543);
  v0200BB = [_t0542, _t0544];
  _t0545 = 0.5e0;
  _t0546 = unary -004D<$[]> (_t0545);
  _t0547 = 0.1e0;
  v0300BE = [_t0546, _t0547];
  _t0548 = 0.5e0;
  _t0549 = unary -004D<$[]> (_t0548);
  _t054A = 0.3e0;
  v0400C0 = [_t0549, _t054A];
  _t054B = 0.5e0;
  _t054C = unary -004D<$[]> (_t054B);
  _t054D = 0.5e0;
  v0500C2 = [_t054C, _t054D];
  _t054E = 0.3e0;
  _t054F = unary -004D<$[]> (_t054E);
  _t0550 = 0.5e0;
  _t0551 = unary -004D<$[]> (_t0550);
  v0600C4 = [_t054F, _t0551];
  _t0552 = 0.3e0;
  _t0553 = unary -004D<$[]> (_t0552);
  _t0554 = 0.3e0;
  _t0555 = unary -004D<$[]> (_t0554);
  v0700C7 = [_t0553, _t0555];
  _t0556 = 0.3e0;
  _t0557 = unary -004D<$[]> (_t0556);
  _t0558 = 0.1e0;
  _t0559 = unary -004D<$[]> (_t0558);
  v0800CA = [_t0557, _t0559];
  _t055A = 0.3e0;
  _t055B = unary -004D<$[]> (_t055A);
  _t055C = 0.1e0;
  v0900CD = [_t055B, _t055C];
  _t055D = 0.3e0;
  _t055E = unary -004D<$[]> (_t055D);
  _t055F = 0.3e0;
  v1000CF = [_t055E, _t055F];
  _t0560 = 0.3e0;
  _t0561 = unary -004D<$[]> (_t0560);
  _t0562 = 0.5e0;
  v1100D1 = [_t0561, _t0562];
  _t0563 = 0.1e0;
  _t0564 = unary -004D<$[]> (_t0563);
  _t0565 = 0.5e0;
  _t0566 = unary -004D<$[]> (_t0565);
  v1200D3 = [_t0564, _t0566];
  _t0567 = 0.1e0;
  _t0568 = unary -004D<$[]> (_t0567);
  _t0569 = 0.3e0;
  _t056A = unary -004D<$[]> (_t0569);
  v1300D6 = [_t0568, _t056A];
  _t056B = 0.1e0;
  _t056C = unary -004D<$[]> (_t056B);
  _t056D = 0.1e0;
  _t056E = unary -004D<$[]> (_t056D);
  v1400D9 = [_t056C, _t056E];
  _t056F = 0.1e0;
  _t0570 = unary -004D<$[]> (_t056F);
  _t0571 = 0.1e0;
  v1500DC = [_t0570, _t0571];
  _t0572 = 0.1e0;
  _t0573 = unary -004D<$[]> (_t0572);
  _t0574 = 0.3e0;
  v1600DE = [_t0573, _t0574];
  _t0575 = 0.1e0;
  _t0576 = unary -004D<$[]> (_t0575);
  _t0577 = 0.5e0;
  v1700E0 = [_t0576, _t0577];
  _t0578 = 0.1e0;
  _t0579 = 0.5e0;
  _t057A = unary -004D<$[]> (_t0579);
  v1800E2 = [_t0578, _t057A];
  _t057B = 0.1e0;
  _t057C = 0.3e0;
  _t057D = unary -004D<$[]> (_t057C);
  v1900E4 = [_t057B, _t057D];
  _t057E = 0.1e0;
  _t057F = 0.1e0;
  _t0580 = unary -004D<$[]> (_t057F);
  v2000E6 = [_t057E, _t0580];
  _t0581 = 0.1e0;
  _t0582 = 0.1e0;
  v2100E8 = [_t0581, _t0582];
  _t0583 = 0.1e0;
  _t0584 = 0.3e0;
  v2200E9 = [_t0583, _t0584];
  _t0585 = 0.1e0;
  _t0586 = 0.5e0;
  v2300EA = [_t0585, _t0586];
  _t0587 = 0.3e0;
  _t0588 = 0.5e0;
  _t0589 = unary -004D<$[]> (_t0588);
  v2400EB = [_t0587, _t0589];
  _t058A = 0.3e0;
  _t058B = 0.3e0;
  _t058C = unary -004D<$[]> (_t058B);
  v2500ED = [_t058A, _t058C];
  _t058D = 0.3e0;
  _t058E = 0.1e0;
  _t058F = unary -004D<$[]> (_t058E);
  v2600EF = [_t058D, _t058F];
  _t0590 = 0.3e0;
  _t0591 = 0.1e0;
  v2700F1 = [_t0590, _t0591];
  _t0592 = 0.3e0;
  _t0593 = 0.3e0;
  v2800F2 = [_t0592, _t0593];
  _t0594 = 0.3e0;
  _t0595 = 0.5e0;
  v2900F3 = [_t0594, _t0595];
  _t0596 = 0.5e0;
  _t0597 = 0.5e0;
  _t0598 = unary -004D<$[]> (_t0597);
  v3000F4 = [_t0596, _t0598];
  _t0599 = 0.5e0;
  _t059A = 0.3e0;
  _t059B = unary -004D<$[]> (_t059A);
  v3100F6 = [_t0599, _t059B];
  _t059C = 0.5e0;
  _t059D = 0.1e0;
  _t059E = unary -004D<$[]> (_t059D);
  v3200F8 = [_t059C, _t059E];
  _t059F = 0.5e0;
  _t05A0 = 0.1e0;
  v3300FA = [_t059F, _t05A0];
  _t05A1 = 0.5e0;
  _t05A2 = 0.3e0;
  v3400FB = [_t05A1, _t05A2];
}
Array
  {
    _t0838 = 0;
    _t0839 = 60;
    _t083A = 0;
    _t083B = 60;
    _t083C = 0;
    _t083D = 60;
  }
  for int i0530 = _t0838 .. _t0839
    for int j0531 = _t083A .. _t083B
      for int k0532 = _t083C .. _t083D
        { }
        new R(i0530, j0531, k0532);
strand R (int i00FE, int j00FD, int k00FC)
{{
    vec3 t00FF;
    output real score0103;
    vec2 r00104;
    vec2 r10105;
    vec2 pos0106;
    _t05A3 = $i2r009B (i00FE);
    _t05A4 = 0.60e2;
    _t05A5 = /002A (_t05A3, _t05A4);
    _t05A6 = 0.5e0;
    _t05A7 = -0016<$[]> (_t05A5, _t05A6);
    _t05A8 = $i2r009B (j00FD);
    _t05A9 = 0.60e2;
    _t05AA = /002A (_t05A8, _t05A9);
    _t05AB = 0.5e0;
    _t05AC = -0016<$[]> (_t05AA, _t05AB);
    _t05AD = $i2r009B (k00FC);
    _t05AE = 0.60e2;
    _t05AF = /002A (_t05AD, _t05AE);
    _t05B0 = 0.5e0;
    _t05B1 = -0016<$[]> (_t05AF, _t05B0);
    t00FF = [_t05A7, _t05AC, _t05B1];
    score0103 = 0.0;
    _t05B2 = 0.0;
    _t05B3 = 0.0;
    r00104 = [_t05B2, _t05B3];
    _t05B4 = 0.0;
    _t05B5 = 0.0;
    r10105 = [_t05B4, _t05B5];
    _t05B6 = 0.0;
    _t05B7 = 0.0;
    pos0106 = [_t05B6, _t05B7];
  }
  Update
  {
    _t05B8 = 0.1e1;
    _t05B9 = 0.2e1;
    _t05BA = 2;
    _t05BB = t00FF[_t05BA];
    _t05BC = *001C (_t05B9, _t05BB);
    _t05BD = 2;
    _t05BE = t00FF[_t05BD];
    _t05BF = *001C (_t05BC, _t05BE);
    _t05C0 = -0016<$[]> (_t05B8, _t05BF);
    _t05C1 = 0.2e1;
    _t05C2 = unary -004D<$[]> (_t05C1);
    _t05C3 = 0.1e1;
    _t05C4 = 2;
    _t05C5 = t00FF[_t05C4];
    _t05C6 = 2;
    _t05C7 = t00FF[_t05C6];
    _t05C8 = *001C (_t05C5, _t05C7);
    _t05C9 = -0016<$[]> (_t05C3, _t05C8);
    _t05CA = sqrt0091 (_t05C9);
    _t05CB = *001C (_t05C2, _t05CA);
    _t05CC = 2;
    _t05CD = t00FF[_t05CC];
    _t05CE = *001C (_t05CB, _t05CD);
    r00104 = [_t05C0, _t05CE];
    _t05CF = 0.2e1;
    _t05D0 = 0.1e1;
    _t05D1 = 2;
    _t05D2 = t00FF[_t05D1];
    _t05D3 = 2;
    _t05D4 = t00FF[_t05D3];
    _t05D5 = *001C (_t05D2, _t05D4);
    _t05D6 = -0016<$[]> (_t05D0, _t05D5);
    _t05D7 = sqrt0091 (_t05D6);
    _t05D8 = *001C (_t05CF, _t05D7);
    _t05D9 = 2;
    _t05DA = t00FF[_t05D9];
    _t05DB = *001C (_t05D8, _t05DA);
    _t05DC = 0.1e1;
    _t05DD = 0.2e1;
    _t05DE = 2;
    _t05DF = t00FF[_t05DE];
    _t05E0 = *001C (_t05DD, _t05DF);
    _t05E1 = 2;
    _t05E2 = t00FF[_t05E1];
    _t05E3 = *001C (_t05E0, _t05E2);
    _t05E4 = -0016<$[]> (_t05DC, _t05E3);
    r10105 = [_t05DB, _t05E4];
    _t05E5 = •0079<$[2]; $[2]; $[]> (r00104, v0000B5);
    _t05E6 = •0079<$[2]; $[2]; $[]> (r10105, v0000B5);
    _t05E7 = [_t05E5, _t05E6];
    _t05E8 = 0;
    _t05E9 = t00FF[_t05E8];
    _t05EA = 1;
    _t05EB = t00FF[_t05EA];
    _t05EC = [_t05E9, _t05EB];
    pos0106 = +000F<$[2]> (_t05E7, _t05EC);
    bool _t05ED;
    _t05EE = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t05EE
      _t05ED = inside007D<#2; %2; $[]> (v0000B5, T00A3);
    else
      _t05ED = false;
    if _t05ED {
      _t05EF = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t05F0 = @0060<#2; %2; $[]> (T00A3, v0000B5);
      _t05F1 = -0016<$[]> (_t05EF, _t05F0);
      _t05F2 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t05F3 = @0060<#2; %2; $[]> (T00A3, v0000B5);
      _t05F4 = -0016<$[]> (_t05F2, _t05F3);
      _t05F5 = *001C (_t05F1, _t05F4);
      score0103 = +000F<$[]> (score0103, _t05F5);
    }
    _t05F6 = •0079<$[2]; $[2]; $[]> (r00104, v0100B8);
    _t05F7 = •0079<$[2]; $[2]; $[]> (r10105, v0100B8);
    _t05F8 = [_t05F6, _t05F7];
    _t05F9 = 0;
    _t05FA = t00FF[_t05F9];
    _t05FB = 1;
    _t05FC = t00FF[_t05FB];
    _t05FD = [_t05FA, _t05FC];
    pos0106 = +000F<$[2]> (_t05F8, _t05FD);
    bool _t05FE;
    _t05FF = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t05FF
      _t05FE = inside007D<#2; %2; $[]> (v0100B8, T00A3);
    else
      _t05FE = false;
    if _t05FE {
      _t0600 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0601 = @0060<#2; %2; $[]> (T00A3, v0100B8);
      _t0602 = -0016<$[]> (_t0600, _t0601);
      _t0603 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0604 = @0060<#2; %2; $[]> (T00A3, v0100B8);
      _t0605 = -0016<$[]> (_t0603, _t0604);
      _t0606 = *001C (_t0602, _t0605);
      score0103 = +000F<$[]> (score0103, _t0606);
    }
    _t0607 = •0079<$[2]; $[2]; $[]> (r00104, v0200BB);
    _t0608 = •0079<$[2]; $[2]; $[]> (r10105, v0200BB);
    _t0609 = [_t0607, _t0608];
    _t060A = 0;
    _t060B = t00FF[_t060A];
    _t060C = 1;
    _t060D = t00FF[_t060C];
    _t060E = [_t060B, _t060D];
    pos0106 = +000F<$[2]> (_t0609, _t060E);
    bool _t060F;
    _t0610 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0610
      _t060F = inside007D<#2; %2; $[]> (v0200BB, T00A3);
    else
      _t060F = false;
    if _t060F {
      _t0611 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0612 = @0060<#2; %2; $[]> (T00A3, v0200BB);
      _t0613 = -0016<$[]> (_t0611, _t0612);
      _t0614 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0615 = @0060<#2; %2; $[]> (T00A3, v0200BB);
      _t0616 = -0016<$[]> (_t0614, _t0615);
      _t0617 = *001C (_t0613, _t0616);
      score0103 = +000F<$[]> (score0103, _t0617);
    }
    _t0618 = •0079<$[2]; $[2]; $[]> (r00104, v0300BE);
    _t0619 = •0079<$[2]; $[2]; $[]> (r10105, v0300BE);
    _t061A = [_t0618, _t0619];
    _t061B = 0;
    _t061C = t00FF[_t061B];
    _t061D = 1;
    _t061E = t00FF[_t061D];
    _t061F = [_t061C, _t061E];
    pos0106 = +000F<$[2]> (_t061A, _t061F);
    bool _t0620;
    _t0621 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0621
      _t0620 = inside007D<#2; %2; $[]> (v0300BE, T00A3);
    else
      _t0620 = false;
    if _t0620 {
      _t0622 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0623 = @0060<#2; %2; $[]> (T00A3, v0300BE);
      _t0624 = -0016<$[]> (_t0622, _t0623);
      _t0625 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0626 = @0060<#2; %2; $[]> (T00A3, v0300BE);
      _t0627 = -0016<$[]> (_t0625, _t0626);
      _t0628 = *001C (_t0624, _t0627);
      score0103 = +000F<$[]> (score0103, _t0628);
    }
    _t0629 = •0079<$[2]; $[2]; $[]> (r00104, v0400C0);
    _t062A = •0079<$[2]; $[2]; $[]> (r10105, v0400C0);
    _t062B = [_t0629, _t062A];
    _t062C = 0;
    _t062D = t00FF[_t062C];
    _t062E = 1;
    _t062F = t00FF[_t062E];
    _t0630 = [_t062D, _t062F];
    pos0106 = +000F<$[2]> (_t062B, _t0630);
    bool _t0631;
    _t0632 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0632
      _t0631 = inside007D<#2; %2; $[]> (v0400C0, T00A3);
    else
      _t0631 = false;
    if _t0631 {
      _t0633 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0634 = @0060<#2; %2; $[]> (T00A3, v0400C0);
      _t0635 = -0016<$[]> (_t0633, _t0634);
      _t0636 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0637 = @0060<#2; %2; $[]> (T00A3, v0400C0);
      _t0638 = -0016<$[]> (_t0636, _t0637);
      _t0639 = *001C (_t0635, _t0638);
      score0103 = +000F<$[]> (score0103, _t0639);
    }
    _t063A = •0079<$[2]; $[2]; $[]> (r00104, v0500C2);
    _t063B = •0079<$[2]; $[2]; $[]> (r10105, v0500C2);
    _t063C = [_t063A, _t063B];
    _t063D = 0;
    _t063E = t00FF[_t063D];
    _t063F = 1;
    _t0640 = t00FF[_t063F];
    _t0641 = [_t063E, _t0640];
    pos0106 = +000F<$[2]> (_t063C, _t0641);
    bool _t0642;
    _t0643 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0643
      _t0642 = inside007D<#2; %2; $[]> (v0500C2, T00A3);
    else
      _t0642 = false;
    if _t0642 {
      _t0644 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0645 = @0060<#2; %2; $[]> (T00A3, v0500C2);
      _t0646 = -0016<$[]> (_t0644, _t0645);
      _t0647 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0648 = @0060<#2; %2; $[]> (T00A3, v0500C2);
      _t0649 = -0016<$[]> (_t0647, _t0648);
      _t064A = *001C (_t0646, _t0649);
      score0103 = +000F<$[]> (score0103, _t064A);
    }
    _t064B = •0079<$[2]; $[2]; $[]> (r00104, v0600C4);
    _t064C = •0079<$[2]; $[2]; $[]> (r10105, v0600C4);
    _t064D = [_t064B, _t064C];
    _t064E = 0;
    _t064F = t00FF[_t064E];
    _t0650 = 1;
    _t0651 = t00FF[_t0650];
    _t0652 = [_t064F, _t0651];
    pos0106 = +000F<$[2]> (_t064D, _t0652);
    bool _t0653;
    _t0654 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0654
      _t0653 = inside007D<#2; %2; $[]> (v0600C4, T00A3);
    else
      _t0653 = false;
    if _t0653 {
      _t0655 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0656 = @0060<#2; %2; $[]> (T00A3, v0600C4);
      _t0657 = -0016<$[]> (_t0655, _t0656);
      _t0658 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0659 = @0060<#2; %2; $[]> (T00A3, v0600C4);
      _t065A = -0016<$[]> (_t0658, _t0659);
      _t065B = *001C (_t0657, _t065A);
      score0103 = +000F<$[]> (score0103, _t065B);
    }
    _t065C = •0079<$[2]; $[2]; $[]> (r00104, v0700C7);
    _t065D = •0079<$[2]; $[2]; $[]> (r10105, v0700C7);
    _t065E = [_t065C, _t065D];
    _t065F = 0;
    _t0660 = t00FF[_t065F];
    _t0661 = 1;
    _t0662 = t00FF[_t0661];
    _t0663 = [_t0660, _t0662];
    pos0106 = +000F<$[2]> (_t065E, _t0663);
    bool _t0664;
    _t0665 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0665
      _t0664 = inside007D<#2; %2; $[]> (v0700C7, T00A3);
    else
      _t0664 = false;
    if _t0664 {
      _t0666 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0667 = @0060<#2; %2; $[]> (T00A3, v0700C7);
      _t0668 = -0016<$[]> (_t0666, _t0667);
      _t0669 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t066A = @0060<#2; %2; $[]> (T00A3, v0700C7);
      _t066B = -0016<$[]> (_t0669, _t066A);
      _t066C = *001C (_t0668, _t066B);
      score0103 = +000F<$[]> (score0103, _t066C);
    }
    _t066D = •0079<$[2]; $[2]; $[]> (r00104, v0800CA);
    _t066E = •0079<$[2]; $[2]; $[]> (r10105, v0800CA);
    _t066F = [_t066D, _t066E];
    _t0670 = 0;
    _t0671 = t00FF[_t0670];
    _t0672 = 1;
    _t0673 = t00FF[_t0672];
    _t0674 = [_t0671, _t0673];
    pos0106 = +000F<$[2]> (_t066F, _t0674);
    bool _t0675;
    _t0676 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0676
      _t0675 = inside007D<#2; %2; $[]> (v0800CA, T00A3);
    else
      _t0675 = false;
    if _t0675 {
      _t0677 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0678 = @0060<#2; %2; $[]> (T00A3, v0800CA);
      _t0679 = -0016<$[]> (_t0677, _t0678);
      _t067A = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t067B = @0060<#2; %2; $[]> (T00A3, v0800CA);
      _t067C = -0016<$[]> (_t067A, _t067B);
      _t067D = *001C (_t0679, _t067C);
      score0103 = +000F<$[]> (score0103, _t067D);
    }
    _t067E = •0079<$[2]; $[2]; $[]> (r00104, v0900CD);
    _t067F = •0079<$[2]; $[2]; $[]> (r10105, v0900CD);
    _t0680 = [_t067E, _t067F];
    _t0681 = 0;
    _t0682 = t00FF[_t0681];
    _t0683 = 1;
    _t0684 = t00FF[_t0683];
    _t0685 = [_t0682, _t0684];
    pos0106 = +000F<$[2]> (_t0680, _t0685);
    bool _t0686;
    _t0687 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0687
      _t0686 = inside007D<#2; %2; $[]> (v0900CD, T00A3);
    else
      _t0686 = false;
    if _t0686 {
      _t0688 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0689 = @0060<#2; %2; $[]> (T00A3, v0900CD);
      _t068A = -0016<$[]> (_t0688, _t0689);
      _t068B = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t068C = @0060<#2; %2; $[]> (T00A3, v0900CD);
      _t068D = -0016<$[]> (_t068B, _t068C);
      _t068E = *001C (_t068A, _t068D);
      score0103 = +000F<$[]> (score0103, _t068E);
    }
    _t068F = •0079<$[2]; $[2]; $[]> (r00104, v1000CF);
    _t0690 = •0079<$[2]; $[2]; $[]> (r10105, v1000CF);
    _t0691 = [_t068F, _t0690];
    _t0692 = 0;
    _t0693 = t00FF[_t0692];
    _t0694 = 1;
    _t0695 = t00FF[_t0694];
    _t0696 = [_t0693, _t0695];
    pos0106 = +000F<$[2]> (_t0691, _t0696);
    bool _t0697;
    _t0698 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0698
      _t0697 = inside007D<#2; %2; $[]> (v1000CF, T00A3);
    else
      _t0697 = false;
    if _t0697 {
      _t0699 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t069A = @0060<#2; %2; $[]> (T00A3, v1000CF);
      _t069B = -0016<$[]> (_t0699, _t069A);
      _t069C = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t069D = @0060<#2; %2; $[]> (T00A3, v1000CF);
      _t069E = -0016<$[]> (_t069C, _t069D);
      _t069F = *001C (_t069B, _t069E);
      score0103 = +000F<$[]> (score0103, _t069F);
    }
    _t06A0 = •0079<$[2]; $[2]; $[]> (r00104, v1100D1);
    _t06A1 = •0079<$[2]; $[2]; $[]> (r10105, v1100D1);
    _t06A2 = [_t06A0, _t06A1];
    _t06A3 = 0;
    _t06A4 = t00FF[_t06A3];
    _t06A5 = 1;
    _t06A6 = t00FF[_t06A5];
    _t06A7 = [_t06A4, _t06A6];
    pos0106 = +000F<$[2]> (_t06A2, _t06A7);
    bool _t06A8;
    _t06A9 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t06A9
      _t06A8 = inside007D<#2; %2; $[]> (v1100D1, T00A3);
    else
      _t06A8 = false;
    if _t06A8 {
      _t06AA = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t06AB = @0060<#2; %2; $[]> (T00A3, v1100D1);
      _t06AC = -0016<$[]> (_t06AA, _t06AB);
      _t06AD = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t06AE = @0060<#2; %2; $[]> (T00A3, v1100D1);
      _t06AF = -0016<$[]> (_t06AD, _t06AE);
      _t06B0 = *001C (_t06AC, _t06AF);
      score0103 = +000F<$[]> (score0103, _t06B0);
    }
    _t06B1 = •0079<$[2]; $[2]; $[]> (r00104, v1200D3);
    _t06B2 = •0079<$[2]; $[2]; $[]> (r10105, v1200D3);
    _t06B3 = [_t06B1, _t06B2];
    _t06B4 = 0;
    _t06B5 = t00FF[_t06B4];
    _t06B6 = 1;
    _t06B7 = t00FF[_t06B6];
    _t06B8 = [_t06B5, _t06B7];
    pos0106 = +000F<$[2]> (_t06B3, _t06B8);
    bool _t06B9;
    _t06BA = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t06BA
      _t06B9 = inside007D<#2; %2; $[]> (v1200D3, T00A3);
    else
      _t06B9 = false;
    if _t06B9 {
      _t06BB = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t06BC = @0060<#2; %2; $[]> (T00A3, v1200D3);
      _t06BD = -0016<$[]> (_t06BB, _t06BC);
      _t06BE = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t06BF = @0060<#2; %2; $[]> (T00A3, v1200D3);
      _t06C0 = -0016<$[]> (_t06BE, _t06BF);
      _t06C1 = *001C (_t06BD, _t06C0);
      score0103 = +000F<$[]> (score0103, _t06C1);
    }
    _t06C2 = •0079<$[2]; $[2]; $[]> (r00104, v1300D6);
    _t06C3 = •0079<$[2]; $[2]; $[]> (r10105, v1300D6);
    _t06C4 = [_t06C2, _t06C3];
    _t06C5 = 0;
    _t06C6 = t00FF[_t06C5];
    _t06C7 = 1;
    _t06C8 = t00FF[_t06C7];
    _t06C9 = [_t06C6, _t06C8];
    pos0106 = +000F<$[2]> (_t06C4, _t06C9);
    bool _t06CA;
    _t06CB = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t06CB
      _t06CA = inside007D<#2; %2; $[]> (v1300D6, T00A3);
    else
      _t06CA = false;
    if _t06CA {
      _t06CC = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t06CD = @0060<#2; %2; $[]> (T00A3, v1300D6);
      _t06CE = -0016<$[]> (_t06CC, _t06CD);
      _t06CF = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t06D0 = @0060<#2; %2; $[]> (T00A3, v1300D6);
      _t06D1 = -0016<$[]> (_t06CF, _t06D0);
      _t06D2 = *001C (_t06CE, _t06D1);
      score0103 = +000F<$[]> (score0103, _t06D2);
    }
    _t06D3 = •0079<$[2]; $[2]; $[]> (r00104, v1400D9);
    _t06D4 = •0079<$[2]; $[2]; $[]> (r10105, v1400D9);
    _t06D5 = [_t06D3, _t06D4];
    _t06D6 = 0;
    _t06D7 = t00FF[_t06D6];
    _t06D8 = 1;
    _t06D9 = t00FF[_t06D8];
    _t06DA = [_t06D7, _t06D9];
    pos0106 = +000F<$[2]> (_t06D5, _t06DA);
    bool _t06DB;
    _t06DC = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t06DC
      _t06DB = inside007D<#2; %2; $[]> (v1400D9, T00A3);
    else
      _t06DB = false;
    if _t06DB {
      _t06DD = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t06DE = @0060<#2; %2; $[]> (T00A3, v1400D9);
      _t06DF = -0016<$[]> (_t06DD, _t06DE);
      _t06E0 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t06E1 = @0060<#2; %2; $[]> (T00A3, v1400D9);
      _t06E2 = -0016<$[]> (_t06E0, _t06E1);
      _t06E3 = *001C (_t06DF, _t06E2);
      score0103 = +000F<$[]> (score0103, _t06E3);
    }
    _t06E4 = •0079<$[2]; $[2]; $[]> (r00104, v1500DC);
    _t06E5 = •0079<$[2]; $[2]; $[]> (r10105, v1500DC);
    _t06E6 = [_t06E4, _t06E5];
    _t06E7 = 0;
    _t06E8 = t00FF[_t06E7];
    _t06E9 = 1;
    _t06EA = t00FF[_t06E9];
    _t06EB = [_t06E8, _t06EA];
    pos0106 = +000F<$[2]> (_t06E6, _t06EB);
    bool _t06EC;
    _t06ED = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t06ED
      _t06EC = inside007D<#2; %2; $[]> (v1500DC, T00A3);
    else
      _t06EC = false;
    if _t06EC {
      _t06EE = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t06EF = @0060<#2; %2; $[]> (T00A3, v1500DC);
      _t06F0 = -0016<$[]> (_t06EE, _t06EF);
      _t06F1 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t06F2 = @0060<#2; %2; $[]> (T00A3, v1500DC);
      _t06F3 = -0016<$[]> (_t06F1, _t06F2);
      _t06F4 = *001C (_t06F0, _t06F3);
      score0103 = +000F<$[]> (score0103, _t06F4);
    }
    _t06F5 = •0079<$[2]; $[2]; $[]> (r00104, v1600DE);
    _t06F6 = •0079<$[2]; $[2]; $[]> (r10105, v1600DE);
    _t06F7 = [_t06F5, _t06F6];
    _t06F8 = 0;
    _t06F9 = t00FF[_t06F8];
    _t06FA = 1;
    _t06FB = t00FF[_t06FA];
    _t06FC = [_t06F9, _t06FB];
    pos0106 = +000F<$[2]> (_t06F7, _t06FC);
    bool _t06FD;
    _t06FE = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t06FE
      _t06FD = inside007D<#2; %2; $[]> (v1600DE, T00A3);
    else
      _t06FD = false;
    if _t06FD {
      _t06FF = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0700 = @0060<#2; %2; $[]> (T00A3, v1600DE);
      _t0701 = -0016<$[]> (_t06FF, _t0700);
      _t0702 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0703 = @0060<#2; %2; $[]> (T00A3, v1600DE);
      _t0704 = -0016<$[]> (_t0702, _t0703);
      _t0705 = *001C (_t0701, _t0704);
      score0103 = +000F<$[]> (score0103, _t0705);
    }
    _t0706 = •0079<$[2]; $[2]; $[]> (r00104, v1700E0);
    _t0707 = •0079<$[2]; $[2]; $[]> (r10105, v1700E0);
    _t0708 = [_t0706, _t0707];
    _t0709 = 0;
    _t070A = t00FF[_t0709];
    _t070B = 1;
    _t070C = t00FF[_t070B];
    _t070D = [_t070A, _t070C];
    pos0106 = +000F<$[2]> (_t0708, _t070D);
    bool _t070E;
    _t070F = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t070F
      _t070E = inside007D<#2; %2; $[]> (v1700E0, T00A3);
    else
      _t070E = false;
    if _t070E {
      _t0710 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0711 = @0060<#2; %2; $[]> (T00A3, v1700E0);
      _t0712 = -0016<$[]> (_t0710, _t0711);
      _t0713 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0714 = @0060<#2; %2; $[]> (T00A3, v1700E0);
      _t0715 = -0016<$[]> (_t0713, _t0714);
      _t0716 = *001C (_t0712, _t0715);
      score0103 = +000F<$[]> (score0103, _t0716);
    }
    _t0717 = •0079<$[2]; $[2]; $[]> (r00104, v1800E2);
    _t0718 = •0079<$[2]; $[2]; $[]> (r10105, v1800E2);
    _t0719 = [_t0717, _t0718];
    _t071A = 0;
    _t071B = t00FF[_t071A];
    _t071C = 1;
    _t071D = t00FF[_t071C];
    _t071E = [_t071B, _t071D];
    pos0106 = +000F<$[2]> (_t0719, _t071E);
    bool _t071F;
    _t0720 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0720
      _t071F = inside007D<#2; %2; $[]> (v1800E2, T00A3);
    else
      _t071F = false;
    if _t071F {
      _t0721 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0722 = @0060<#2; %2; $[]> (T00A3, v1800E2);
      _t0723 = -0016<$[]> (_t0721, _t0722);
      _t0724 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0725 = @0060<#2; %2; $[]> (T00A3, v1800E2);
      _t0726 = -0016<$[]> (_t0724, _t0725);
      _t0727 = *001C (_t0723, _t0726);
      score0103 = +000F<$[]> (score0103, _t0727);
    }
    _t0728 = •0079<$[2]; $[2]; $[]> (r00104, v1900E4);
    _t0729 = •0079<$[2]; $[2]; $[]> (r10105, v1900E4);
    _t072A = [_t0728, _t0729];
    _t072B = 0;
    _t072C = t00FF[_t072B];
    _t072D = 1;
    _t072E = t00FF[_t072D];
    _t072F = [_t072C, _t072E];
    pos0106 = +000F<$[2]> (_t072A, _t072F);
    bool _t0730;
    _t0731 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0731
      _t0730 = inside007D<#2; %2; $[]> (v1900E4, T00A3);
    else
      _t0730 = false;
    if _t0730 {
      _t0732 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0733 = @0060<#2; %2; $[]> (T00A3, v1900E4);
      _t0734 = -0016<$[]> (_t0732, _t0733);
      _t0735 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0736 = @0060<#2; %2; $[]> (T00A3, v1900E4);
      _t0737 = -0016<$[]> (_t0735, _t0736);
      _t0738 = *001C (_t0734, _t0737);
      score0103 = +000F<$[]> (score0103, _t0738);
    }
    _t0739 = •0079<$[2]; $[2]; $[]> (r00104, v2000E6);
    _t073A = •0079<$[2]; $[2]; $[]> (r10105, v2000E6);
    _t073B = [_t0739, _t073A];
    _t073C = 0;
    _t073D = t00FF[_t073C];
    _t073E = 1;
    _t073F = t00FF[_t073E];
    _t0740 = [_t073D, _t073F];
    pos0106 = +000F<$[2]> (_t073B, _t0740);
    bool _t0741;
    _t0742 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0742
      _t0741 = inside007D<#2; %2; $[]> (v2000E6, T00A3);
    else
      _t0741 = false;
    if _t0741 {
      _t0743 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0744 = @0060<#2; %2; $[]> (T00A3, v2000E6);
      _t0745 = -0016<$[]> (_t0743, _t0744);
      _t0746 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0747 = @0060<#2; %2; $[]> (T00A3, v2000E6);
      _t0748 = -0016<$[]> (_t0746, _t0747);
      _t0749 = *001C (_t0745, _t0748);
      score0103 = +000F<$[]> (score0103, _t0749);
    }
    _t074A = •0079<$[2]; $[2]; $[]> (r00104, v2100E8);
    _t074B = •0079<$[2]; $[2]; $[]> (r10105, v2100E8);
    _t074C = [_t074A, _t074B];
    _t074D = 0;
    _t074E = t00FF[_t074D];
    _t074F = 1;
    _t0750 = t00FF[_t074F];
    _t0751 = [_t074E, _t0750];
    pos0106 = +000F<$[2]> (_t074C, _t0751);
    bool _t0752;
    _t0753 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0753
      _t0752 = inside007D<#2; %2; $[]> (v2100E8, T00A3);
    else
      _t0752 = false;
    if _t0752 {
      _t0754 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0755 = @0060<#2; %2; $[]> (T00A3, v2100E8);
      _t0756 = -0016<$[]> (_t0754, _t0755);
      _t0757 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0758 = @0060<#2; %2; $[]> (T00A3, v2100E8);
      _t0759 = -0016<$[]> (_t0757, _t0758);
      _t075A = *001C (_t0756, _t0759);
      score0103 = +000F<$[]> (score0103, _t075A);
    }
    _t075B = •0079<$[2]; $[2]; $[]> (r00104, v2200E9);
    _t075C = •0079<$[2]; $[2]; $[]> (r10105, v2200E9);
    _t075D = [_t075B, _t075C];
    _t075E = 0;
    _t075F = t00FF[_t075E];
    _t0760 = 1;
    _t0761 = t00FF[_t0760];
    _t0762 = [_t075F, _t0761];
    pos0106 = +000F<$[2]> (_t075D, _t0762);
    bool _t0763;
    _t0764 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0764
      _t0763 = inside007D<#2; %2; $[]> (v2200E9, T00A3);
    else
      _t0763 = false;
    if _t0763 {
      _t0765 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0766 = @0060<#2; %2; $[]> (T00A3, v2200E9);
      _t0767 = -0016<$[]> (_t0765, _t0766);
      _t0768 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0769 = @0060<#2; %2; $[]> (T00A3, v2200E9);
      _t076A = -0016<$[]> (_t0768, _t0769);
      _t076B = *001C (_t0767, _t076A);
      score0103 = +000F<$[]> (score0103, _t076B);
    }
    _t076C = •0079<$[2]; $[2]; $[]> (r00104, v2300EA);
    _t076D = •0079<$[2]; $[2]; $[]> (r10105, v2300EA);
    _t076E = [_t076C, _t076D];
    _t076F = 0;
    _t0770 = t00FF[_t076F];
    _t0771 = 1;
    _t0772 = t00FF[_t0771];
    _t0773 = [_t0770, _t0772];
    pos0106 = +000F<$[2]> (_t076E, _t0773);
    bool _t0774;
    _t0775 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0775
      _t0774 = inside007D<#2; %2; $[]> (v2300EA, T00A3);
    else
      _t0774 = false;
    if _t0774 {
      _t0776 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0777 = @0060<#2; %2; $[]> (T00A3, v2300EA);
      _t0778 = -0016<$[]> (_t0776, _t0777);
      _t0779 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t077A = @0060<#2; %2; $[]> (T00A3, v2300EA);
      _t077B = -0016<$[]> (_t0779, _t077A);
      _t077C = *001C (_t0778, _t077B);
      score0103 = +000F<$[]> (score0103, _t077C);
    }
    _t077D = •0079<$[2]; $[2]; $[]> (r00104, v2400EB);
    _t077E = •0079<$[2]; $[2]; $[]> (r10105, v2400EB);
    _t077F = [_t077D, _t077E];
    _t0780 = 0;
    _t0781 = t00FF[_t0780];
    _t0782 = 1;
    _t0783 = t00FF[_t0782];
    _t0784 = [_t0781, _t0783];
    pos0106 = +000F<$[2]> (_t077F, _t0784);
    bool _t0785;
    _t0786 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0786
      _t0785 = inside007D<#2; %2; $[]> (v2400EB, T00A3);
    else
      _t0785 = false;
    if _t0785 {
      _t0787 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0788 = @0060<#2; %2; $[]> (T00A3, v2400EB);
      _t0789 = -0016<$[]> (_t0787, _t0788);
      _t078A = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t078B = @0060<#2; %2; $[]> (T00A3, v2400EB);
      _t078C = -0016<$[]> (_t078A, _t078B);
      _t078D = *001C (_t0789, _t078C);
      score0103 = +000F<$[]> (score0103, _t078D);
    }
    _t078E = •0079<$[2]; $[2]; $[]> (r00104, v2500ED);
    _t078F = •0079<$[2]; $[2]; $[]> (r10105, v2500ED);
    _t0790 = [_t078E, _t078F];
    _t0791 = 0;
    _t0792 = t00FF[_t0791];
    _t0793 = 1;
    _t0794 = t00FF[_t0793];
    _t0795 = [_t0792, _t0794];
    pos0106 = +000F<$[2]> (_t0790, _t0795);
    bool _t0796;
    _t0797 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0797
      _t0796 = inside007D<#2; %2; $[]> (v2500ED, T00A3);
    else
      _t0796 = false;
    if _t0796 {
      _t0798 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0799 = @0060<#2; %2; $[]> (T00A3, v2500ED);
      _t079A = -0016<$[]> (_t0798, _t0799);
      _t079B = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t079C = @0060<#2; %2; $[]> (T00A3, v2500ED);
      _t079D = -0016<$[]> (_t079B, _t079C);
      _t079E = *001C (_t079A, _t079D);
      score0103 = +000F<$[]> (score0103, _t079E);
    }
    _t079F = •0079<$[2]; $[2]; $[]> (r00104, v2600EF);
    _t07A0 = •0079<$[2]; $[2]; $[]> (r10105, v2600EF);
    _t07A1 = [_t079F, _t07A0];
    _t07A2 = 0;
    _t07A3 = t00FF[_t07A2];
    _t07A4 = 1;
    _t07A5 = t00FF[_t07A4];
    _t07A6 = [_t07A3, _t07A5];
    pos0106 = +000F<$[2]> (_t07A1, _t07A6);
    bool _t07A7;
    _t07A8 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t07A8
      _t07A7 = inside007D<#2; %2; $[]> (v2600EF, T00A3);
    else
      _t07A7 = false;
    if _t07A7 {
      _t07A9 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07AA = @0060<#2; %2; $[]> (T00A3, v2600EF);
      _t07AB = -0016<$[]> (_t07A9, _t07AA);
      _t07AC = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07AD = @0060<#2; %2; $[]> (T00A3, v2600EF);
      _t07AE = -0016<$[]> (_t07AC, _t07AD);
      _t07AF = *001C (_t07AB, _t07AE);
      score0103 = +000F<$[]> (score0103, _t07AF);
    }
    _t07B0 = •0079<$[2]; $[2]; $[]> (r00104, v2700F1);
    _t07B1 = •0079<$[2]; $[2]; $[]> (r10105, v2700F1);
    _t07B2 = [_t07B0, _t07B1];
    _t07B3 = 0;
    _t07B4 = t00FF[_t07B3];
    _t07B5 = 1;
    _t07B6 = t00FF[_t07B5];
    _t07B7 = [_t07B4, _t07B6];
    pos0106 = +000F<$[2]> (_t07B2, _t07B7);
    bool _t07B8;
    _t07B9 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t07B9
      _t07B8 = inside007D<#2; %2; $[]> (v2700F1, T00A3);
    else
      _t07B8 = false;
    if _t07B8 {
      _t07BA = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07BB = @0060<#2; %2; $[]> (T00A3, v2700F1);
      _t07BC = -0016<$[]> (_t07BA, _t07BB);
      _t07BD = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07BE = @0060<#2; %2; $[]> (T00A3, v2700F1);
      _t07BF = -0016<$[]> (_t07BD, _t07BE);
      _t07C0 = *001C (_t07BC, _t07BF);
      score0103 = +000F<$[]> (score0103, _t07C0);
    }
    _t07C1 = •0079<$[2]; $[2]; $[]> (r00104, v2800F2);
    _t07C2 = •0079<$[2]; $[2]; $[]> (r10105, v2800F2);
    _t07C3 = [_t07C1, _t07C2];
    _t07C4 = 0;
    _t07C5 = t00FF[_t07C4];
    _t07C6 = 1;
    _t07C7 = t00FF[_t07C6];
    _t07C8 = [_t07C5, _t07C7];
    pos0106 = +000F<$[2]> (_t07C3, _t07C8);
    bool _t07C9;
    _t07CA = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t07CA
      _t07C9 = inside007D<#2; %2; $[]> (v2800F2, T00A3);
    else
      _t07C9 = false;
    if _t07C9 {
      _t07CB = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07CC = @0060<#2; %2; $[]> (T00A3, v2800F2);
      _t07CD = -0016<$[]> (_t07CB, _t07CC);
      _t07CE = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07CF = @0060<#2; %2; $[]> (T00A3, v2800F2);
      _t07D0 = -0016<$[]> (_t07CE, _t07CF);
      _t07D1 = *001C (_t07CD, _t07D0);
      score0103 = +000F<$[]> (score0103, _t07D1);
    }
    _t07D2 = •0079<$[2]; $[2]; $[]> (r00104, v2900F3);
    _t07D3 = •0079<$[2]; $[2]; $[]> (r10105, v2900F3);
    _t07D4 = [_t07D2, _t07D3];
    _t07D5 = 0;
    _t07D6 = t00FF[_t07D5];
    _t07D7 = 1;
    _t07D8 = t00FF[_t07D7];
    _t07D9 = [_t07D6, _t07D8];
    pos0106 = +000F<$[2]> (_t07D4, _t07D9);
    bool _t07DA;
    _t07DB = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t07DB
      _t07DA = inside007D<#2; %2; $[]> (v2900F3, T00A3);
    else
      _t07DA = false;
    if _t07DA {
      _t07DC = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07DD = @0060<#2; %2; $[]> (T00A3, v2900F3);
      _t07DE = -0016<$[]> (_t07DC, _t07DD);
      _t07DF = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07E0 = @0060<#2; %2; $[]> (T00A3, v2900F3);
      _t07E1 = -0016<$[]> (_t07DF, _t07E0);
      _t07E2 = *001C (_t07DE, _t07E1);
      score0103 = +000F<$[]> (score0103, _t07E2);
    }
    _t07E3 = •0079<$[2]; $[2]; $[]> (r00104, v3000F4);
    _t07E4 = •0079<$[2]; $[2]; $[]> (r10105, v3000F4);
    _t07E5 = [_t07E3, _t07E4];
    _t07E6 = 0;
    _t07E7 = t00FF[_t07E6];
    _t07E8 = 1;
    _t07E9 = t00FF[_t07E8];
    _t07EA = [_t07E7, _t07E9];
    pos0106 = +000F<$[2]> (_t07E5, _t07EA);
    bool _t07EB;
    _t07EC = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t07EC
      _t07EB = inside007D<#2; %2; $[]> (v3000F4, T00A3);
    else
      _t07EB = false;
    if _t07EB {
      _t07ED = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07EE = @0060<#2; %2; $[]> (T00A3, v3000F4);
      _t07EF = -0016<$[]> (_t07ED, _t07EE);
      _t07F0 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07F1 = @0060<#2; %2; $[]> (T00A3, v3000F4);
      _t07F2 = -0016<$[]> (_t07F0, _t07F1);
      _t07F3 = *001C (_t07EF, _t07F2);
      score0103 = +000F<$[]> (score0103, _t07F3);
    }
    _t07F4 = •0079<$[2]; $[2]; $[]> (r00104, v3100F6);
    _t07F5 = •0079<$[2]; $[2]; $[]> (r10105, v3100F6);
    _t07F6 = [_t07F4, _t07F5];
    _t07F7 = 0;
    _t07F8 = t00FF[_t07F7];
    _t07F9 = 1;
    _t07FA = t00FF[_t07F9];
    _t07FB = [_t07F8, _t07FA];
    pos0106 = +000F<$[2]> (_t07F6, _t07FB);
    bool _t07FC;
    _t07FD = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t07FD
      _t07FC = inside007D<#2; %2; $[]> (v3100F6, T00A3);
    else
      _t07FC = false;
    if _t07FC {
      _t07FE = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t07FF = @0060<#2; %2; $[]> (T00A3, v3100F6);
      _t0800 = -0016<$[]> (_t07FE, _t07FF);
      _t0801 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0802 = @0060<#2; %2; $[]> (T00A3, v3100F6);
      _t0803 = -0016<$[]> (_t0801, _t0802);
      _t0804 = *001C (_t0800, _t0803);
      score0103 = +000F<$[]> (score0103, _t0804);
    }
    _t0805 = •0079<$[2]; $[2]; $[]> (r00104, v3200F8);
    _t0806 = •0079<$[2]; $[2]; $[]> (r10105, v3200F8);
    _t0807 = [_t0805, _t0806];
    _t0808 = 0;
    _t0809 = t00FF[_t0808];
    _t080A = 1;
    _t080B = t00FF[_t080A];
    _t080C = [_t0809, _t080B];
    pos0106 = +000F<$[2]> (_t0807, _t080C);
    bool _t080D;
    _t080E = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t080E
      _t080D = inside007D<#2; %2; $[]> (v3200F8, T00A3);
    else
      _t080D = false;
    if _t080D {
      _t080F = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0810 = @0060<#2; %2; $[]> (T00A3, v3200F8);
      _t0811 = -0016<$[]> (_t080F, _t0810);
      _t0812 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0813 = @0060<#2; %2; $[]> (T00A3, v3200F8);
      _t0814 = -0016<$[]> (_t0812, _t0813);
      _t0815 = *001C (_t0811, _t0814);
      score0103 = +000F<$[]> (score0103, _t0815);
    }
    _t0816 = •0079<$[2]; $[2]; $[]> (r00104, v3300FA);
    _t0817 = •0079<$[2]; $[2]; $[]> (r10105, v3300FA);
    _t0818 = [_t0816, _t0817];
    _t0819 = 0;
    _t081A = t00FF[_t0819];
    _t081B = 1;
    _t081C = t00FF[_t081B];
    _t081D = [_t081A, _t081C];
    pos0106 = +000F<$[2]> (_t0818, _t081D);
    bool _t081E;
    _t081F = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t081F
      _t081E = inside007D<#2; %2; $[]> (v3300FA, T00A3);
    else
      _t081E = false;
    if _t081E {
      _t0820 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0821 = @0060<#2; %2; $[]> (T00A3, v3300FA);
      _t0822 = -0016<$[]> (_t0820, _t0821);
      _t0823 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0824 = @0060<#2; %2; $[]> (T00A3, v3300FA);
      _t0825 = -0016<$[]> (_t0823, _t0824);
      _t0826 = *001C (_t0822, _t0825);
      score0103 = +000F<$[]> (score0103, _t0826);
    }
    _t0827 = •0079<$[2]; $[2]; $[]> (r00104, v3400FB);
    _t0828 = •0079<$[2]; $[2]; $[]> (r10105, v3400FB);
    _t0829 = [_t0827, _t0828];
    _t082A = 0;
    _t082B = t00FF[_t082A];
    _t082C = 1;
    _t082D = t00FF[_t082C];
    _t082E = [_t082B, _t082D];
    pos0106 = +000F<$[2]> (_t0829, _t082E);
    bool _t082F;
    _t0830 = inside007D<#2; %2; $[]> (pos0106, F00AC);
    if _t0830
      _t082F = inside007D<#2; %2; $[]> (v3400FB, T00A3);
    else
      _t082F = false;
    if _t082F {
      _t0831 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0832 = @0060<#2; %2; $[]> (T00A3, v3400FB);
      _t0833 = -0016<$[]> (_t0831, _t0832);
      _t0834 = @0060<#2; %2; $[]> (F00AC, pos0106);
      _t0835 = @0060<#2; %2; $[]> (T00A3, v3400FB);
      _t0836 = -0016<$[]> (_t0834, _t0835);
      _t0837 = *001C (_t0833, _t0836);
      score0103 = +000F<$[]> (score0103, _t0837);
    }
    stabilize;
  }
  Stabilize
  { }
}
/* Program end */
##### HighIL after translation to HighIL ####
## properties
  none
## globals
  global field T0844#105
  global field F084C#105
  global tensor[2] v000856#5
  global tensor[2] v010860#5
  global tensor[2] v02086A#5
  global tensor[2] v030872#5
  global tensor[2] v04087A#5
  global tensor[2] v050882#5
  global tensor[2] v06088C#5
  global tensor[2] v070896#5
  global tensor[2] v0808A0#5
  global tensor[2] v0908A8#5
  global tensor[2] v1008B0#5
  global tensor[2] v1108B8#5
  global tensor[2] v1208C2#5
  global tensor[2] v1308CC#5
  global tensor[2] v1408D6#5
  global tensor[2] v1508DE#5
  global tensor[2] v1608E6#5
  global tensor[2] v1708EE#5
  global tensor[2] v1808F6#5
  global tensor[2] v1908FE#5
  global tensor[2] v200906#5
  global tensor[2] v21090C#5
  global tensor[2] v220912#5
  global tensor[2] v230918#5
  global tensor[2] v240920#5
  global tensor[2] v250928#5
  global tensor[2] v260930#5
  global tensor[2] v270936#5
  global tensor[2] v28093C#5
  global tensor[2] v290942#5
  global tensor[2] v30094A#5
  global tensor[2] v310952#5
  global tensor[2] v32095A#5
  global tensor[2] v330960#5
  global tensor[2] v340966#5
  global kernel _t083E#1
  global string _t0840#1
  global image2D _t0842#1
  global kernel _t0846#1
  global string _t0848#1
  global image2D _t084A#1
  global real _t084E#1
  global real _t0850#1
  global real _t0852#1
  global real _t0854#1
  global real _t0858#1
  global real _t085A#1
  global real _t085C#1
  global real _t085E#1
  global real _t0862#1
  global real _t0864#1
  global real _t0866#1
  global real _t0868#1
  global real _t086C#1
  global real _t086E#1
  global real _t0870#1
  global real _t0874#1
  global real _t0876#1
  global real _t0878#1
  global real _t087C#1
  global real _t087E#1
  global real _t0880#1
  global real _t0884#1
  global real _t0886#1
  global real _t0888#1
  global real _t088A#1
  global real _t088E#1
  global real _t0890#1
  global real _t0892#1
  global real _t0894#1
  global real _t0898#1
  global real _t089A#1
  global real _t089C#1
  global real _t089E#1
  global real _t08A2#1
  global real _t08A4#1
  global real _t08A6#1
  global real _t08AA#1
  global real _t08AC#1
  global real _t08AE#1
  global real _t08B2#1
  global real _t08B4#1
  global real _t08B6#1
  global real _t08BA#1
  global real _t08BC#1
  global real _t08BE#1
  global real _t08C0#1
  global real _t08C4#1
  global real _t08C6#1
  global real _t08C8#1
  global real _t08CA#1
  global real _t08CE#1
  global real _t08D0#1
  global real _t08D2#1
  global real _t08D4#1
  global real _t08D8#1
  global real _t08DA#1
  global real _t08DC#1
  global real _t08E0#1
  global real _t08E2#1
  global real _t08E4#1
  global real _t08E8#1
  global real _t08EA#1
  global real _t08EC#1
  global real _t08F0#1
  global real _t08F2#1
  global real _t08F4#1
  global real _t08F8#1
  global real _t08FA#1
  global real _t08FC#1
  global real _t0900#1
  global real _t0902#1
  global real _t0904#1
  global real _t0908#1
  global real _t090A#1
  global real _t090E#1
  global real _t0910#1
  global real _t0914#1
  global real _t0916#1
  global real _t091A#1
  global real _t091C#1
  global real _t091E#1
  global real _t0922#1
  global real _t0924#1
  global real _t0926#1
  global real _t092A#1
  global real _t092C#1
  global real _t092E#1
  global real _t0932#1
  global real _t0934#1
  global real _t0938#1
  global real _t093A#1
  global real _t093E#1
  global real _t0940#1
  global real _t0944#1
  global real _t0946#1
  global real _t0948#1
  global real _t094C#1
  global real _t094E#1
  global real _t0950#1
  global real _t0954#1
  global real _t0956#1
  global real _t0958#1
  global real _t095C#1
  global real _t095E#1
  global real _t0962#1
  global real _t0964#1
## global initialization
  ENTRY0968:  preds = []
    kernel _t083E#1 = Kernel<bspln3,0>;
    string _t0840#1 = "square-template.nrrd";
    image2D _t0842#1 = LoadImage<IMAGE2D<int>>(_t0840);
    field T0844#105 = Field<2>(_t0842,_t083E);
    kernel _t0846#1 = Kernel<bspln3,0>;
    string _t0848#1 = "square-rotate.nrrd";
    image2D _t084A#1 = LoadImage<IMAGE2D<float>>(_t0848);
    field F084C#105 = Field<2>(_t084A,_t0846);
    real _t084E#1 = 0.5e0;
    real _t0850#1 = Neg<real>(_t084E);
    real _t0852#1 = 0.5e0;
    real _t0854#1 = Neg<real>(_t0852);
    tensor[2] v000856#5 = <tensor[2]>[_t0850,_t0854];
    real _t0858#1 = 0.5e0;
    real _t085A#1 = Neg<real>(_t0858);
    real _t085C#1 = 0.3e0;
    real _t085E#1 = Neg<real>(_t085C);
    tensor[2] v010860#5 = <tensor[2]>[_t085A,_t085E];
    real _t0862#1 = 0.5e0;
    real _t0864#1 = Neg<real>(_t0862);
    real _t0866#1 = 0.1e0;
    real _t0868#1 = Neg<real>(_t0866);
    tensor[2] v02086A#5 = <tensor[2]>[_t0864,_t0868];
    real _t086C#1 = 0.5e0;
    real _t086E#1 = Neg<real>(_t086C);
    real _t0870#1 = 0.1e0;
    tensor[2] v030872#5 = <tensor[2]>[_t086E,_t0870];
    real _t0874#1 = 0.5e0;
    real _t0876#1 = Neg<real>(_t0874);
    real _t0878#1 = 0.3e0;
    tensor[2] v04087A#5 = <tensor[2]>[_t0876,_t0878];
    real _t087C#1 = 0.5e0;
    real _t087E#1 = Neg<real>(_t087C);
    real _t0880#1 = 0.5e0;
    tensor[2] v050882#5 = <tensor[2]>[_t087E,_t0880];
    real _t0884#1 = 0.3e0;
    real _t0886#1 = Neg<real>(_t0884);
    real _t0888#1 = 0.5e0;
    real _t088A#1 = Neg<real>(_t0888);
    tensor[2] v06088C#5 = <tensor[2]>[_t0886,_t088A];
    real _t088E#1 = 0.3e0;
    real _t0890#1 = Neg<real>(_t088E);
    real _t0892#1 = 0.3e0;
    real _t0894#1 = Neg<real>(_t0892);
    tensor[2] v070896#5 = <tensor[2]>[_t0890,_t0894];
    real _t0898#1 = 0.3e0;
    real _t089A#1 = Neg<real>(_t0898);
    real _t089C#1 = 0.1e0;
    real _t089E#1 = Neg<real>(_t089C);
    tensor[2] v0808A0#5 = <tensor[2]>[_t089A,_t089E];
    real _t08A2#1 = 0.3e0;
    real _t08A4#1 = Neg<real>(_t08A2);
    real _t08A6#1 = 0.1e0;
    tensor[2] v0908A8#5 = <tensor[2]>[_t08A4,_t08A6];
    real _t08AA#1 = 0.3e0;
    real _t08AC#1 = Neg<real>(_t08AA);
    real _t08AE#1 = 0.3e0;
    tensor[2] v1008B0#5 = <tensor[2]>[_t08AC,_t08AE];
    real _t08B2#1 = 0.3e0;
    real _t08B4#1 = Neg<real>(_t08B2);
    real _t08B6#1 = 0.5e0;
    tensor[2] v1108B8#5 = <tensor[2]>[_t08B4,_t08B6];
    real _t08BA#1 = 0.1e0;
    real _t08BC#1 = Neg<real>(_t08BA);
    real _t08BE#1 = 0.5e0;
    real _t08C0#1 = Neg<real>(_t08BE);
    tensor[2] v1208C2#5 = <tensor[2]>[_t08BC,_t08C0];
    real _t08C4#1 = 0.1e0;
    real _t08C6#1 = Neg<real>(_t08C4);
    real _t08C8#1 = 0.3e0;
    real _t08CA#1 = Neg<real>(_t08C8);
    tensor[2] v1308CC#5 = <tensor[2]>[_t08C6,_t08CA];
    real _t08CE#1 = 0.1e0;
    real _t08D0#1 = Neg<real>(_t08CE);
    real _t08D2#1 = 0.1e0;
    real _t08D4#1 = Neg<real>(_t08D2);
    tensor[2] v1408D6#5 = <tensor[2]>[_t08D0,_t08D4];
    real _t08D8#1 = 0.1e0;
    real _t08DA#1 = Neg<real>(_t08D8);
    real _t08DC#1 = 0.1e0;
    tensor[2] v1508DE#5 = <tensor[2]>[_t08DA,_t08DC];
    real _t08E0#1 = 0.1e0;
    real _t08E2#1 = Neg<real>(_t08E0);
    real _t08E4#1 = 0.3e0;
    tensor[2] v1608E6#5 = <tensor[2]>[_t08E2,_t08E4];
    real _t08E8#1 = 0.1e0;
    real _t08EA#1 = Neg<real>(_t08E8);
    real _t08EC#1 = 0.5e0;
    tensor[2] v1708EE#5 = <tensor[2]>[_t08EA,_t08EC];
    real _t08F0#1 = 0.1e0;
    real _t08F2#1 = 0.5e0;
    real _t08F4#1 = Neg<real>(_t08F2);
    tensor[2] v1808F6#5 = <tensor[2]>[_t08F0,_t08F4];
    real _t08F8#1 = 0.1e0;
    real _t08FA#1 = 0.3e0;
    real _t08FC#1 = Neg<real>(_t08FA);
    tensor[2] v1908FE#5 = <tensor[2]>[_t08F8,_t08FC];
    real _t0900#1 = 0.1e0;
    real _t0902#1 = 0.1e0;
    real _t0904#1 = Neg<real>(_t0902);
    tensor[2] v200906#5 = <tensor[2]>[_t0900,_t0904];
    real _t0908#1 = 0.1e0;
    real _t090A#1 = 0.1e0;
    tensor[2] v21090C#5 = <tensor[2]>[_t0908,_t090A];
    real _t090E#1 = 0.1e0;
    real _t0910#1 = 0.3e0;
    tensor[2] v220912#5 = <tensor[2]>[_t090E,_t0910];
    real _t0914#1 = 0.1e0;
    real _t0916#1 = 0.5e0;
    tensor[2] v230918#5 = <tensor[2]>[_t0914,_t0916];
    real _t091A#1 = 0.3e0;
    real _t091C#1 = 0.5e0;
    real _t091E#1 = Neg<real>(_t091C);
    tensor[2] v240920#5 = <tensor[2]>[_t091A,_t091E];
    real _t0922#1 = 0.3e0;
    real _t0924#1 = 0.3e0;
    real _t0926#1 = Neg<real>(_t0924);
    tensor[2] v250928#5 = <tensor[2]>[_t0922,_t0926];
    real _t092A#1 = 0.3e0;
    real _t092C#1 = 0.1e0;
    real _t092E#1 = Neg<real>(_t092C);
    tensor[2] v260930#5 = <tensor[2]>[_t092A,_t092E];
    real _t0932#1 = 0.3e0;
    real _t0934#1 = 0.1e0;
    tensor[2] v270936#5 = <tensor[2]>[_t0932,_t0934];
    real _t0938#1 = 0.3e0;
    real _t093A#1 = 0.3e0;
    tensor[2] v28093C#5 = <tensor[2]>[_t0938,_t093A];
    real _t093E#1 = 0.3e0;
    real _t0940#1 = 0.5e0;
    tensor[2] v290942#5 = <tensor[2]>[_t093E,_t0940];
    real _t0944#1 = 0.5e0;
    real _t0946#1 = 0.5e0;
    real _t0948#1 = Neg<real>(_t0946);
    tensor[2] v30094A#5 = <tensor[2]>[_t0944,_t0948];
    real _t094C#1 = 0.5e0;
    real _t094E#1 = 0.3e0;
    real _t0950#1 = Neg<real>(_t094E);
    tensor[2] v310952#5 = <tensor[2]>[_t094C,_t0950];
    real _t0954#1 = 0.5e0;
    real _t0956#1 = 0.1e0;
    real _t0958#1 = Neg<real>(_t0956);
    tensor[2] v32095A#5 = <tensor[2]>[_t0954,_t0958];
    real _t095C#1 = 0.5e0;
    real _t095E#1 = 0.1e0;
    tensor[2] v330960#5 = <tensor[2]>[_t095C,_t095E];
    real _t0962#1 = 0.5e0;
    real _t0964#1 = 0.3e0;
    tensor[2] v340966#5 = <tensor[2]>[_t0962,_t0964];
    return (T0844,F084C,v000856,v010860,v02086A,v030872,v04087A,v050882,v06088C,v070896,v0808A0,v0908A8,v1008B0,v1108B8,v1208C2,v1308CC,v1408D6,v1508DE,v1608E6,v1708EE,v1808F6,v1908FE,v200906,v21090C,v220912,v230918,v240920,v250928,v260930,v270936,v28093C,v290942,v30094A,v310952,v32095A,v330960,v340966,_t083E,_t0840,_t0842,_t0846,_t0848,_t084A,_t084E,_t0850,_t0852,_t0854,_t0858,_t085A,_t085C,_t085E,_t0862,_t0864,_t0866,_t0868,_t086C,_t086E,_t0870,_t0874,_t0876,_t0878,_t087C,_t087E,_t0880,_t0884,_t0886,_t0888,_t088A,_t088E,_t0890,_t0892,_t0894,_t0898,_t089A,_t089C,_t089E,_t08A2,_t08A4,_t08A6,_t08AA,_t08AC,_t08AE,_t08B2,_t08B4,_t08B6,_t08BA,_t08BC,_t08BE,_t08C0,_t08C4,_t08C6,_t08C8,_t08CA,_t08CE,_t08D0,_t08D2,_t08D4,_t08D8,_t08DA,_t08DC,_t08E0,_t08E2,_t08E4,_t08E8,_t08EA,_t08EC,_t08F0,_t08F2,_t08F4,_t08F8,_t08FA,_t08FC,_t0900,_t0902,_t0904,_t0908,_t090A,_t090E,_t0910,_t0914,_t0916,_t091A,_t091C,_t091E,_t0922,_t0924,_t0926,_t092A,_t092C,_t092E,_t0932,_t0934,_t0938,_t093A,_t093E,_t0940,_t0944,_t0946,_t0948,_t094C,_t094E,_t0950,_t0954,_t0956,_t0958,_t095C,_t095E,_t0962,_t0964)
## initially
  ARRAY
    ENTRY0976:  preds = []
      int _t096A#2 = 0;
      int _t096C#2 = 60;
      int _t096E#2 = 0;
      int _t0970#2 = 60;
      int _t0972#2 = 0;
      int _t0974#2 = 60;
      live vars = (_t0974,_t0972,_t0970,_t096E,_t096C,_t096A)
    for int i0978#1 = _t096A .. _t096C
      for int j0979#1 = _t096E .. _t0970
        for int k097A#1 = _t0972 .. _t0974
          ENTRY097B:  preds = []
            live vars = ()
          new R(i0978,j0979,k097A);
## strands
  strand R (int i097D#1, int j097E#1, int k097F#1)
    state: tensor[3] self.t;output real self.score;tensor[2] self.r0;tensor[2] self.r1;tensor[2] self.pos;
      ENTRY09B9:  preds = []
        real _t0985#1 = IntToReal(i097D);
        real _t0987#1 = 0.60e2;
        real _t0989#1 = Div<real>(_t0985,_t0987);
        real _t098B#1 = 0.5e0;
        real _t098D#1 = Sub<real>(_t0989,_t098B);
        real _t098F#1 = IntToReal(j097E);
        real _t0991#1 = 0.60e2;
        real _t0993#1 = Div<real>(_t098F,_t0991);
        real _t0995#1 = 0.5e0;
        real _t0997#1 = Sub<real>(_t0993,_t0995);
        real _t0999#1 = IntToReal(k097F);
        real _t099B#1 = 0.60e2;
        real _t099D#1 = Div<real>(_t0999,_t099B);
        real _t099F#1 = 0.5e0;
        real _t09A1#1 = Sub<real>(_t099D,_t099F);
        tensor[3] t09A3#1 = <tensor[3]>[_t098D,_t0997,_t09A1];
        real score09A5#1 = 0.0;
        real _t09A7#1 = 0.0;
        real _t09A9#1 = 0.0;
        tensor[2] r009AB#1 = <tensor[2]>[_t09A7,_t09A9];
        real _t09AD#1 = 0.0;
        real _t09AF#1 = 0.0;
        tensor[2] r109B1#1 = <tensor[2]>[_t09AD,_t09AF];
        real _t09B3#1 = 0.0;
        real _t09B5#1 = 0.0;
        tensor[2] pos09B7#1 = <tensor[2]>[_t09B3,_t09B5];
        self.t = t09A3;
        self.score = score09A5;
        self.r0 = r009AB;
        self.r1 = r109B1;
        self.pos = pos09B7;
        strand_init ()
    method Update
        ENTRY109B:  preds = []
          tensor[3] t09C0#81 = self.t;
          real score09C1#2 = self.score;
          tensor[2] r009C2#0 = self.r0;
          tensor[2] r109C3#0 = self.r1;
          tensor[2] pos09C4#0 = self.pos;
          real _t09CA#1 = 0.1e1;
          real _t09CC#1 = 0.2e1;
          int _t09CE#1 = 2;
          real _t09D0#1 = TensorSub<tensor[3]>(t09C0,_t09CE);
          real _t09D2#1 = Mul<real>(_t09CC,_t09D0);
          int _t09D4#1 = 2;
          real _t09D6#1 = TensorSub<tensor[3]>(t09C0,_t09D4);
          real _t09D8#1 = Mul<real>(_t09D2,_t09D6);
          real _t09DA#1 = Sub<real>(_t09CA,_t09D8);
          real _t09DC#1 = 0.2e1;
          real _t09DE#1 = Neg<real>(_t09DC);
          real _t09E0#1 = 0.1e1;
          int _t09E2#1 = 2;
          real _t09E4#1 = TensorSub<tensor[3]>(t09C0,_t09E2);
          int _t09E6#1 = 2;
          real _t09E8#1 = TensorSub<tensor[3]>(t09C0,_t09E6);
          real _t09EA#1 = Mul<real>(_t09E4,_t09E8);
          real _t09EC#1 = Sub<real>(_t09E0,_t09EA);
          real _t09EE#1 = sqrt(_t09EC);
          real _t09F0#1 = Mul<real>(_t09DE,_t09EE);
          int _t09F2#1 = 2;
          real _t09F4#1 = TensorSub<tensor[3]>(t09C0,_t09F2);
          real _t09F6#1 = Mul<real>(_t09F0,_t09F4);
          tensor[2] r009F8#36 = <tensor[2]>[_t09DA,_t09F6];
          real _t09FA#1 = 0.2e1;
          real _t09FC#1 = 0.1e1;
          int _t09FE#1 = 2;
          real _t0A00#1 = TensorSub<tensor[3]>(t09C0,_t09FE);
          int _t0A02#1 = 2;
          real _t0A04#1 = TensorSub<tensor[3]>(t09C0,_t0A02);
          real _t0A06#1 = Mul<real>(_t0A00,_t0A04);
          real _t0A08#1 = Sub<real>(_t09FC,_t0A06);
          real _t0A0A#1 = sqrt(_t0A08);
          real _t0A0C#1 = Mul<real>(_t09FA,_t0A0A);
          int _t0A0E#1 = 2;
          real _t0A10#1 = TensorSub<tensor[3]>(t09C0,_t0A0E);
          real _t0A12#1 = Mul<real>(_t0A0C,_t0A10);
          real _t0A14#1 = 0.1e1;
          real _t0A16#1 = 0.2e1;
          int _t0A18#1 = 2;
          real _t0A1A#1 = TensorSub<tensor[3]>(t09C0,_t0A18);
          real _t0A1C#1 = Mul<real>(_t0A16,_t0A1A);
          int _t0A1E#1 = 2;
          real _t0A20#1 = TensorSub<tensor[3]>(t09C0,_t0A1E);
          real _t0A22#1 = Mul<real>(_t0A1C,_t0A20);
          real _t0A24#1 = Sub<real>(_t0A14,_t0A22);
          tensor[2] r10A26#36 = <tensor[2]>[_t0A12,_t0A24];
          real _t0A28#1 = Dot<tensor[2]>(r009F8,v000856);
          real _t0A2A#1 = Dot<tensor[2]>(r10A26,v000856);
          tensor[2] _t0A2C#1 = <tensor[2]>[_t0A28,_t0A2A];
          int _t0A2E#1 = 0;
          real _t0A30#1 = TensorSub<tensor[3]>(t09C0,_t0A2E);
          int _t0A32#1 = 1;
          real _t0A34#1 = TensorSub<tensor[3]>(t09C0,_t0A32);
          tensor[2] _t0A36#1 = <tensor[2]>[_t0A30,_t0A34];
          tensor[2] pos0A38#3 = Add<tensor[2]>(_t0A2C,_t0A36);
          bool _t0A3B#1 = Inside<2>(pos0A38,F084C);
          if _t0A3B then goto ASSIGN0A40 else goto ASSIGN0A42
        ASSIGN0A40:  preds = [COND0A43]
          bool _t0A3E#1 = Inside<2>(v000856,T0844);
          goto JOIN0A3D
        JOIN0A3D:  preds = [ASSIGN0A40,ASSIGN0A42]
          bool _t0A3F#1 = phi(_t0A3E,_t0A41)
          if _t0A3F then goto ASSIGN0A46 else goto JOIN0A44
        ASSIGN0A46:  preds = [COND0A56]
          real _t0A45#1 = Probe<tensor[2],real>(F084C,pos0A38);
          real _t0A47#1 = Probe<tensor[2],real>(T0844,v000856);
          real _t0A49#1 = Sub<real>(_t0A45,_t0A47);
          real _t0A4B#1 = Probe<tensor[2],real>(F084C,pos0A38);
          real _t0A4D#1 = Probe<tensor[2],real>(T0844,v000856);
          real _t0A4F#1 = Sub<real>(_t0A4B,_t0A4D);
          real _t0A51#1 = Mul<real>(_t0A49,_t0A4F);
          real score0A53#1 = Add<real>(score09C1,_t0A51);
          goto JOIN0A44
        JOIN0A44:  preds = [ASSIGN0A55,COND0A56]
          real score0A54#2 = phi(score0A53,score09C1)
          real _t0A57#1 = Dot<tensor[2]>(r009F8,v010860);
          real _t0A59#1 = Dot<tensor[2]>(r10A26,v010860);
          tensor[2] _t0A5B#1 = <tensor[2]>[_t0A57,_t0A59];
          int _t0A5D#1 = 0;
          real _t0A5F#1 = TensorSub<tensor[3]>(t09C0,_t0A5D);
          int _t0A61#1 = 1;
          real _t0A63#1 = TensorSub<tensor[3]>(t09C0,_t0A61);
          tensor[2] _t0A65#1 = <tensor[2]>[_t0A5F,_t0A63];
          tensor[2] pos0A67#3 = Add<tensor[2]>(_t0A5B,_t0A65);
          bool _t0A6A#1 = Inside<2>(pos0A67,F084C);
          if _t0A6A then goto ASSIGN0A6F else goto ASSIGN0A71
        ASSIGN0A6F:  preds = [COND0A72]
          bool _t0A6D#1 = Inside<2>(v010860,T0844);
          goto JOIN0A6C
        JOIN0A6C:  preds = [ASSIGN0A6F,ASSIGN0A71]
          bool _t0A6E#1 = phi(_t0A6D,_t0A70)
          if _t0A6E then goto ASSIGN0A75 else goto JOIN0A73
        ASSIGN0A75:  preds = [COND0A85]
          real _t0A74#1 = Probe<tensor[2],real>(F084C,pos0A67);
          real _t0A76#1 = Probe<tensor[2],real>(T0844,v010860);
          real _t0A78#1 = Sub<real>(_t0A74,_t0A76);
          real _t0A7A#1 = Probe<tensor[2],real>(F084C,pos0A67);
          real _t0A7C#1 = Probe<tensor[2],real>(T0844,v010860);
          real _t0A7E#1 = Sub<real>(_t0A7A,_t0A7C);
          real _t0A80#1 = Mul<real>(_t0A78,_t0A7E);
          real score0A82#1 = Add<real>(score0A54,_t0A80);
          goto JOIN0A73
        JOIN0A73:  preds = [ASSIGN0A84,COND0A85]
          real score0A83#2 = phi(score0A82,score0A54)
          real _t0A86#1 = Dot<tensor[2]>(r009F8,v02086A);
          real _t0A88#1 = Dot<tensor[2]>(r10A26,v02086A);
          tensor[2] _t0A8A#1 = <tensor[2]>[_t0A86,_t0A88];
          int _t0A8C#1 = 0;
          real _t0A8E#1 = TensorSub<tensor[3]>(t09C0,_t0A8C);
          int _t0A90#1 = 1;
          real _t0A92#1 = TensorSub<tensor[3]>(t09C0,_t0A90);
          tensor[2] _t0A94#1 = <tensor[2]>[_t0A8E,_t0A92];
          tensor[2] pos0A96#3 = Add<tensor[2]>(_t0A8A,_t0A94);
          bool _t0A99#1 = Inside<2>(pos0A96,F084C);
          if _t0A99 then goto ASSIGN0A9E else goto ASSIGN0AA0
        ASSIGN0A9E:  preds = [COND0AA1]
          bool _t0A9C#1 = Inside<2>(v02086A,T0844);
          goto JOIN0A9B
        JOIN0A9B:  preds = [ASSIGN0A9E,ASSIGN0AA0]
          bool _t0A9D#1 = phi(_t0A9C,_t0A9F)
          if _t0A9D then goto ASSIGN0AA4 else goto JOIN0AA2
        ASSIGN0AA4:  preds = [COND0AB4]
          real _t0AA3#1 = Probe<tensor[2],real>(F084C,pos0A96);
          real _t0AA5#1 = Probe<tensor[2],real>(T0844,v02086A);
          real _t0AA7#1 = Sub<real>(_t0AA3,_t0AA5);
          real _t0AA9#1 = Probe<tensor[2],real>(F084C,pos0A96);
          real _t0AAB#1 = Probe<tensor[2],real>(T0844,v02086A);
          real _t0AAD#1 = Sub<real>(_t0AA9,_t0AAB);
          real _t0AAF#1 = Mul<real>(_t0AA7,_t0AAD);
          real score0AB1#1 = Add<real>(score0A83,_t0AAF);
          goto JOIN0AA2
        JOIN0AA2:  preds = [ASSIGN0AB3,COND0AB4]
          real score0AB2#2 = phi(score0AB1,score0A83)
          real _t0AB5#1 = Dot<tensor[2]>(r009F8,v030872);
          real _t0AB7#1 = Dot<tensor[2]>(r10A26,v030872);
          tensor[2] _t0AB9#1 = <tensor[2]>[_t0AB5,_t0AB7];
          int _t0ABB#1 = 0;
          real _t0ABD#1 = TensorSub<tensor[3]>(t09C0,_t0ABB);
          int _t0ABF#1 = 1;
          real _t0AC1#1 = TensorSub<tensor[3]>(t09C0,_t0ABF);
          tensor[2] _t0AC3#1 = <tensor[2]>[_t0ABD,_t0AC1];
          tensor[2] pos0AC5#3 = Add<tensor[2]>(_t0AB9,_t0AC3);
          bool _t0AC8#1 = Inside<2>(pos0AC5,F084C);
          if _t0AC8 then goto ASSIGN0ACD else goto ASSIGN0ACF
        ASSIGN0ACD:  preds = [COND0AD0]
          bool _t0ACB#1 = Inside<2>(v030872,T0844);
          goto JOIN0ACA
        JOIN0ACA:  preds = [ASSIGN0ACD,ASSIGN0ACF]
          bool _t0ACC#1 = phi(_t0ACB,_t0ACE)
          if _t0ACC then goto ASSIGN0AD3 else goto JOIN0AD1
        ASSIGN0AD3:  preds = [COND0AE3]
          real _t0AD2#1 = Probe<tensor[2],real>(F084C,pos0AC5);
          real _t0AD4#1 = Probe<tensor[2],real>(T0844,v030872);
          real _t0AD6#1 = Sub<real>(_t0AD2,_t0AD4);
          real _t0AD8#1 = Probe<tensor[2],real>(F084C,pos0AC5);
          real _t0ADA#1 = Probe<tensor[2],real>(T0844,v030872);
          real _t0ADC#1 = Sub<real>(_t0AD8,_t0ADA);
          real _t0ADE#1 = Mul<real>(_t0AD6,_t0ADC);
          real score0AE0#1 = Add<real>(score0AB2,_t0ADE);
          goto JOIN0AD1
        JOIN0AD1:  preds = [ASSIGN0AE2,COND0AE3]
          real score0AE1#2 = phi(score0AE0,score0AB2)
          real _t0AE4#1 = Dot<tensor[2]>(r009F8,v04087A);
          real _t0AE6#1 = Dot<tensor[2]>(r10A26,v04087A);
          tensor[2] _t0AE8#1 = <tensor[2]>[_t0AE4,_t0AE6];
          int _t0AEA#1 = 0;
          real _t0AEC#1 = TensorSub<tensor[3]>(t09C0,_t0AEA);
          int _t0AEE#1 = 1;
          real _t0AF0#1 = TensorSub<tensor[3]>(t09C0,_t0AEE);
          tensor[2] _t0AF2#1 = <tensor[2]>[_t0AEC,_t0AF0];
          tensor[2] pos0AF4#3 = Add<tensor[2]>(_t0AE8,_t0AF2);
          bool _t0AF7#1 = Inside<2>(pos0AF4,F084C);
          if _t0AF7 then goto ASSIGN0AFC else goto ASSIGN0AFE
        ASSIGN0AFC:  preds = [COND0AFF]
          bool _t0AFA#1 = Inside<2>(v04087A,T0844);
          goto JOIN0AF9
        JOIN0AF9:  preds = [ASSIGN0AFC,ASSIGN0AFE]
          bool _t0AFB#1 = phi(_t0AFA,_t0AFD)
          if _t0AFB then goto ASSIGN0B02 else goto JOIN0B00
        ASSIGN0B02:  preds = [COND0B12]
          real _t0B01#1 = Probe<tensor[2],real>(F084C,pos0AF4);
          real _t0B03#1 = Probe<tensor[2],real>(T0844,v04087A);
          real _t0B05#1 = Sub<real>(_t0B01,_t0B03);
          real _t0B07#1 = Probe<tensor[2],real>(F084C,pos0AF4);
          real _t0B09#1 = Probe<tensor[2],real>(T0844,v04087A);
          real _t0B0B#1 = Sub<real>(_t0B07,_t0B09);
          real _t0B0D#1 = Mul<real>(_t0B05,_t0B0B);
          real score0B0F#1 = Add<real>(score0AE1,_t0B0D);
          goto JOIN0B00
        JOIN0B00:  preds = [ASSIGN0B11,COND0B12]
          real score0B10#2 = phi(score0B0F,score0AE1)
          real _t0B13#1 = Dot<tensor[2]>(r009F8,v050882);
          real _t0B15#1 = Dot<tensor[2]>(r10A26,v050882);
          tensor[2] _t0B17#1 = <tensor[2]>[_t0B13,_t0B15];
          int _t0B19#1 = 0;
          real _t0B1B#1 = TensorSub<tensor[3]>(t09C0,_t0B19);
          int _t0B1D#1 = 1;
          real _t0B1F#1 = TensorSub<tensor[3]>(t09C0,_t0B1D);
          tensor[2] _t0B21#1 = <tensor[2]>[_t0B1B,_t0B1F];
          tensor[2] pos0B23#3 = Add<tensor[2]>(_t0B17,_t0B21);
          bool _t0B26#1 = Inside<2>(pos0B23,F084C);
          if _t0B26 then goto ASSIGN0B2B else goto ASSIGN0B2D
        ASSIGN0B2B:  preds = [COND0B2E]
          bool _t0B29#1 = Inside<2>(v050882,T0844);
          goto JOIN0B28
        JOIN0B28:  preds = [ASSIGN0B2B,ASSIGN0B2D]
          bool _t0B2A#1 = phi(_t0B29,_t0B2C)
          if _t0B2A then goto ASSIGN0B31 else goto JOIN0B2F
        ASSIGN0B31:  preds = [COND0B41]
          real _t0B30#1 = Probe<tensor[2],real>(F084C,pos0B23);
          real _t0B32#1 = Probe<tensor[2],real>(T0844,v050882);
          real _t0B34#1 = Sub<real>(_t0B30,_t0B32);
          real _t0B36#1 = Probe<tensor[2],real>(F084C,pos0B23);
          real _t0B38#1 = Probe<tensor[2],real>(T0844,v050882);
          real _t0B3A#1 = Sub<real>(_t0B36,_t0B38);
          real _t0B3C#1 = Mul<real>(_t0B34,_t0B3A);
          real score0B3E#1 = Add<real>(score0B10,_t0B3C);
          goto JOIN0B2F
        JOIN0B2F:  preds = [ASSIGN0B40,COND0B41]
          real score0B3F#2 = phi(score0B3E,score0B10)
          real _t0B42#1 = Dot<tensor[2]>(r009F8,v06088C);
          real _t0B44#1 = Dot<tensor[2]>(r10A26,v06088C);
          tensor[2] _t0B46#1 = <tensor[2]>[_t0B42,_t0B44];
          int _t0B48#1 = 0;
          real _t0B4A#1 = TensorSub<tensor[3]>(t09C0,_t0B48);
          int _t0B4C#1 = 1;
          real _t0B4E#1 = TensorSub<tensor[3]>(t09C0,_t0B4C);
          tensor[2] _t0B50#1 = <tensor[2]>[_t0B4A,_t0B4E];
          tensor[2] pos0B52#3 = Add<tensor[2]>(_t0B46,_t0B50);
          bool _t0B55#1 = Inside<2>(pos0B52,F084C);
          if _t0B55 then goto ASSIGN0B5A else goto ASSIGN0B5C
        ASSIGN0B5A:  preds = [COND0B5D]
          bool _t0B58#1 = Inside<2>(v06088C,T0844);
          goto JOIN0B57
        JOIN0B57:  preds = [ASSIGN0B5A,ASSIGN0B5C]
          bool _t0B59#1 = phi(_t0B58,_t0B5B)
          if _t0B59 then goto ASSIGN0B60 else goto JOIN0B5E
        ASSIGN0B60:  preds = [COND0B70]
          real _t0B5F#1 = Probe<tensor[2],real>(F084C,pos0B52);
          real _t0B61#1 = Probe<tensor[2],real>(T0844,v06088C);
          real _t0B63#1 = Sub<real>(_t0B5F,_t0B61);
          real _t0B65#1 = Probe<tensor[2],real>(F084C,pos0B52);
          real _t0B67#1 = Probe<tensor[2],real>(T0844,v06088C);
          real _t0B69#1 = Sub<real>(_t0B65,_t0B67);
          real _t0B6B#1 = Mul<real>(_t0B63,_t0B69);
          real score0B6D#1 = Add<real>(score0B3F,_t0B6B);
          goto JOIN0B5E
        JOIN0B5E:  preds = [ASSIGN0B6F,COND0B70]
          real score0B6E#2 = phi(score0B6D,score0B3F)
          real _t0B71#1 = Dot<tensor[2]>(r009F8,v070896);
          real _t0B73#1 = Dot<tensor[2]>(r10A26,v070896);
          tensor[2] _t0B75#1 = <tensor[2]>[_t0B71,_t0B73];
          int _t0B77#1 = 0;
          real _t0B79#1 = TensorSub<tensor[3]>(t09C0,_t0B77);
          int _t0B7B#1 = 1;
          real _t0B7D#1 = TensorSub<tensor[3]>(t09C0,_t0B7B);
          tensor[2] _t0B7F#1 = <tensor[2]>[_t0B79,_t0B7D];
          tensor[2] pos0B81#3 = Add<tensor[2]>(_t0B75,_t0B7F);
          bool _t0B84#1 = Inside<2>(pos0B81,F084C);
          if _t0B84 then goto ASSIGN0B89 else goto ASSIGN0B8B
        ASSIGN0B89:  preds = [COND0B8C]
          bool _t0B87#1 = Inside<2>(v070896,T0844);
          goto JOIN0B86
        JOIN0B86:  preds = [ASSIGN0B89,ASSIGN0B8B]
          bool _t0B88#1 = phi(_t0B87,_t0B8A)
          if _t0B88 then goto ASSIGN0B8F else goto JOIN0B8D
        ASSIGN0B8F:  preds = [COND0B9F]
          real _t0B8E#1 = Probe<tensor[2],real>(F084C,pos0B81);
          real _t0B90#1 = Probe<tensor[2],real>(T0844,v070896);
          real _t0B92#1 = Sub<real>(_t0B8E,_t0B90);
          real _t0B94#1 = Probe<tensor[2],real>(F084C,pos0B81);
          real _t0B96#1 = Probe<tensor[2],real>(T0844,v070896);
          real _t0B98#1 = Sub<real>(_t0B94,_t0B96);
          real _t0B9A#1 = Mul<real>(_t0B92,_t0B98);
          real score0B9C#1 = Add<real>(score0B6E,_t0B9A);
          goto JOIN0B8D
        JOIN0B8D:  preds = [ASSIGN0B9E,COND0B9F]
          real score0B9D#2 = phi(score0B9C,score0B6E)
          real _t0BA0#1 = Dot<tensor[2]>(r009F8,v0808A0);
          real _t0BA2#1 = Dot<tensor[2]>(r10A26,v0808A0);
          tensor[2] _t0BA4#1 = <tensor[2]>[_t0BA0,_t0BA2];
          int _t0BA6#1 = 0;
          real _t0BA8#1 = TensorSub<tensor[3]>(t09C0,_t0BA6);
          int _t0BAA#1 = 1;
          real _t0BAC#1 = TensorSub<tensor[3]>(t09C0,_t0BAA);
          tensor[2] _t0BAE#1 = <tensor[2]>[_t0BA8,_t0BAC];
          tensor[2] pos0BB0#3 = Add<tensor[2]>(_t0BA4,_t0BAE);
          bool _t0BB3#1 = Inside<2>(pos0BB0,F084C);
          if _t0BB3 then goto ASSIGN0BB8 else goto ASSIGN0BBA
        ASSIGN0BB8:  preds = [COND0BBB]
          bool _t0BB6#1 = Inside<2>(v0808A0,T0844);
          goto JOIN0BB5
        JOIN0BB5:  preds = [ASSIGN0BB8,ASSIGN0BBA]
          bool _t0BB7#1 = phi(_t0BB6,_t0BB9)
          if _t0BB7 then goto ASSIGN0BBE else goto JOIN0BBC
        ASSIGN0BBE:  preds = [COND0BCE]
          real _t0BBD#1 = Probe<tensor[2],real>(F084C,pos0BB0);
          real _t0BBF#1 = Probe<tensor[2],real>(T0844,v0808A0);
          real _t0BC1#1 = Sub<real>(_t0BBD,_t0BBF);
          real _t0BC3#1 = Probe<tensor[2],real>(F084C,pos0BB0);
          real _t0BC5#1 = Probe<tensor[2],real>(T0844,v0808A0);
          real _t0BC7#1 = Sub<real>(_t0BC3,_t0BC5);
          real _t0BC9#1 = Mul<real>(_t0BC1,_t0BC7);
          real score0BCB#1 = Add<real>(score0B9D,_t0BC9);
          goto JOIN0BBC
        JOIN0BBC:  preds = [ASSIGN0BCD,COND0BCE]
          real score0BCC#2 = phi(score0BCB,score0B9D)
          real _t0BCF#1 = Dot<tensor[2]>(r009F8,v0908A8);
          real _t0BD1#1 = Dot<tensor[2]>(r10A26,v0908A8);
          tensor[2] _t0BD3#1 = <tensor[2]>[_t0BCF,_t0BD1];
          int _t0BD5#1 = 0;
          real _t0BD7#1 = TensorSub<tensor[3]>(t09C0,_t0BD5);
          int _t0BD9#1 = 1;
          real _t0BDB#1 = TensorSub<tensor[3]>(t09C0,_t0BD9);
          tensor[2] _t0BDD#1 = <tensor[2]>[_t0BD7,_t0BDB];
          tensor[2] pos0BDF#3 = Add<tensor[2]>(_t0BD3,_t0BDD);
          bool _t0BE2#1 = Inside<2>(pos0BDF,F084C);
          if _t0BE2 then goto ASSIGN0BE7 else goto ASSIGN0BE9
        ASSIGN0BE7:  preds = [COND0BEA]
          bool _t0BE5#1 = Inside<2>(v0908A8,T0844);
          goto JOIN0BE4
        JOIN0BE4:  preds = [ASSIGN0BE7,ASSIGN0BE9]
          bool _t0BE6#1 = phi(_t0BE5,_t0BE8)
          if _t0BE6 then goto ASSIGN0BED else goto JOIN0BEB
        ASSIGN0BED:  preds = [COND0BFD]
          real _t0BEC#1 = Probe<tensor[2],real>(F084C,pos0BDF);
          real _t0BEE#1 = Probe<tensor[2],real>(T0844,v0908A8);
          real _t0BF0#1 = Sub<real>(_t0BEC,_t0BEE);
          real _t0BF2#1 = Probe<tensor[2],real>(F084C,pos0BDF);
          real _t0BF4#1 = Probe<tensor[2],real>(T0844,v0908A8);
          real _t0BF6#1 = Sub<real>(_t0BF2,_t0BF4);
          real _t0BF8#1 = Mul<real>(_t0BF0,_t0BF6);
          real score0BFA#1 = Add<real>(score0BCC,_t0BF8);
          goto JOIN0BEB
        JOIN0BEB:  preds = [ASSIGN0BFC,COND0BFD]
          real score0BFB#2 = phi(score0BFA,score0BCC)
          real _t0BFE#1 = Dot<tensor[2]>(r009F8,v1008B0);
          real _t0C00#1 = Dot<tensor[2]>(r10A26,v1008B0);
          tensor[2] _t0C02#1 = <tensor[2]>[_t0BFE,_t0C00];
          int _t0C04#1 = 0;
          real _t0C06#1 = TensorSub<tensor[3]>(t09C0,_t0C04);
          int _t0C08#1 = 1;
          real _t0C0A#1 = TensorSub<tensor[3]>(t09C0,_t0C08);
          tensor[2] _t0C0C#1 = <tensor[2]>[_t0C06,_t0C0A];
          tensor[2] pos0C0E#3 = Add<tensor[2]>(_t0C02,_t0C0C);
          bool _t0C11#1 = Inside<2>(pos0C0E,F084C);
          if _t0C11 then goto ASSIGN0C16 else goto ASSIGN0C18
        ASSIGN0C16:  preds = [COND0C19]
          bool _t0C14#1 = Inside<2>(v1008B0,T0844);
          goto JOIN0C13
        JOIN0C13:  preds = [ASSIGN0C16,ASSIGN0C18]
          bool _t0C15#1 = phi(_t0C14,_t0C17)
          if _t0C15 then goto ASSIGN0C1C else goto JOIN0C1A
        ASSIGN0C1C:  preds = [COND0C2C]
          real _t0C1B#1 = Probe<tensor[2],real>(F084C,pos0C0E);
          real _t0C1D#1 = Probe<tensor[2],real>(T0844,v1008B0);
          real _t0C1F#1 = Sub<real>(_t0C1B,_t0C1D);
          real _t0C21#1 = Probe<tensor[2],real>(F084C,pos0C0E);
          real _t0C23#1 = Probe<tensor[2],real>(T0844,v1008B0);
          real _t0C25#1 = Sub<real>(_t0C21,_t0C23);
          real _t0C27#1 = Mul<real>(_t0C1F,_t0C25);
          real score0C29#1 = Add<real>(score0BFB,_t0C27);
          goto JOIN0C1A
        JOIN0C1A:  preds = [ASSIGN0C2B,COND0C2C]
          real score0C2A#2 = phi(score0C29,score0BFB)
          real _t0C2D#1 = Dot<tensor[2]>(r009F8,v1108B8);
          real _t0C2F#1 = Dot<tensor[2]>(r10A26,v1108B8);
          tensor[2] _t0C31#1 = <tensor[2]>[_t0C2D,_t0C2F];
          int _t0C33#1 = 0;
          real _t0C35#1 = TensorSub<tensor[3]>(t09C0,_t0C33);
          int _t0C37#1 = 1;
          real _t0C39#1 = TensorSub<tensor[3]>(t09C0,_t0C37);
          tensor[2] _t0C3B#1 = <tensor[2]>[_t0C35,_t0C39];
          tensor[2] pos0C3D#3 = Add<tensor[2]>(_t0C31,_t0C3B);
          bool _t0C40#1 = Inside<2>(pos0C3D,F084C);
          if _t0C40 then goto ASSIGN0C45 else goto ASSIGN0C47
        ASSIGN0C45:  preds = [COND0C48]
          bool _t0C43#1 = Inside<2>(v1108B8,T0844);
          goto JOIN0C42
        JOIN0C42:  preds = [ASSIGN0C45,ASSIGN0C47]
          bool _t0C44#1 = phi(_t0C43,_t0C46)
          if _t0C44 then goto ASSIGN0C4B else goto JOIN0C49
        ASSIGN0C4B:  preds = [COND0C5B]
          real _t0C4A#1 = Probe<tensor[2],real>(F084C,pos0C3D);
          real _t0C4C#1 = Probe<tensor[2],real>(T0844,v1108B8);
          real _t0C4E#1 = Sub<real>(_t0C4A,_t0C4C);
          real _t0C50#1 = Probe<tensor[2],real>(F084C,pos0C3D);
          real _t0C52#1 = Probe<tensor[2],real>(T0844,v1108B8);
          real _t0C54#1 = Sub<real>(_t0C50,_t0C52);
          real _t0C56#1 = Mul<real>(_t0C4E,_t0C54);
          real score0C58#1 = Add<real>(score0C2A,_t0C56);
          goto JOIN0C49
        JOIN0C49:  preds = [ASSIGN0C5A,COND0C5B]
          real score0C59#2 = phi(score0C58,score0C2A)
          real _t0C5C#1 = Dot<tensor[2]>(r009F8,v1208C2);
          real _t0C5E#1 = Dot<tensor[2]>(r10A26,v1208C2);
          tensor[2] _t0C60#1 = <tensor[2]>[_t0C5C,_t0C5E];
          int _t0C62#1 = 0;
          real _t0C64#1 = TensorSub<tensor[3]>(t09C0,_t0C62);
          int _t0C66#1 = 1;
          real _t0C68#1 = TensorSub<tensor[3]>(t09C0,_t0C66);
          tensor[2] _t0C6A#1 = <tensor[2]>[_t0C64,_t0C68];
          tensor[2] pos0C6C#3 = Add<tensor[2]>(_t0C60,_t0C6A);
          bool _t0C6F#1 = Inside<2>(pos0C6C,F084C);
          if _t0C6F then goto ASSIGN0C74 else goto ASSIGN0C76
        ASSIGN0C74:  preds = [COND0C77]
          bool _t0C72#1 = Inside<2>(v1208C2,T0844);
          goto JOIN0C71
        JOIN0C71:  preds = [ASSIGN0C74,ASSIGN0C76]
          bool _t0C73#1 = phi(_t0C72,_t0C75)
          if _t0C73 then goto ASSIGN0C7A else goto JOIN0C78
        ASSIGN0C7A:  preds = [COND0C8A]
          real _t0C79#1 = Probe<tensor[2],real>(F084C,pos0C6C);
          real _t0C7B#1 = Probe<tensor[2],real>(T0844,v1208C2);
          real _t0C7D#1 = Sub<real>(_t0C79,_t0C7B);
          real _t0C7F#1 = Probe<tensor[2],real>(F084C,pos0C6C);
          real _t0C81#1 = Probe<tensor[2],real>(T0844,v1208C2);
          real _t0C83#1 = Sub<real>(_t0C7F,_t0C81);
          real _t0C85#1 = Mul<real>(_t0C7D,_t0C83);
          real score0C87#1 = Add<real>(score0C59,_t0C85);
          goto JOIN0C78
        JOIN0C78:  preds = [ASSIGN0C89,COND0C8A]
          real score0C88#2 = phi(score0C87,score0C59)
          real _t0C8B#1 = Dot<tensor[2]>(r009F8,v1308CC);
          real _t0C8D#1 = Dot<tensor[2]>(r10A26,v1308CC);
          tensor[2] _t0C8F#1 = <tensor[2]>[_t0C8B,_t0C8D];
          int _t0C91#1 = 0;
          real _t0C93#1 = TensorSub<tensor[3]>(t09C0,_t0C91);
          int _t0C95#1 = 1;
          real _t0C97#1 = TensorSub<tensor[3]>(t09C0,_t0C95);
          tensor[2] _t0C99#1 = <tensor[2]>[_t0C93,_t0C97];
          tensor[2] pos0C9B#3 = Add<tensor[2]>(_t0C8F,_t0C99);
          bool _t0C9E#1 = Inside<2>(pos0C9B,F084C);
          if _t0C9E then goto ASSIGN0CA3 else goto ASSIGN0CA5
        ASSIGN0CA3:  preds = [COND0CA6]
          bool _t0CA1#1 = Inside<2>(v1308CC,T0844);
          goto JOIN0CA0
        JOIN0CA0:  preds = [ASSIGN0CA3,ASSIGN0CA5]
          bool _t0CA2#1 = phi(_t0CA1,_t0CA4)
          if _t0CA2 then goto ASSIGN0CA9 else goto JOIN0CA7
        ASSIGN0CA9:  preds = [COND0CB9]
          real _t0CA8#1 = Probe<tensor[2],real>(F084C,pos0C9B);
          real _t0CAA#1 = Probe<tensor[2],real>(T0844,v1308CC);
          real _t0CAC#1 = Sub<real>(_t0CA8,_t0CAA);
          real _t0CAE#1 = Probe<tensor[2],real>(F084C,pos0C9B);
          real _t0CB0#1 = Probe<tensor[2],real>(T0844,v1308CC);
          real _t0CB2#1 = Sub<real>(_t0CAE,_t0CB0);
          real _t0CB4#1 = Mul<real>(_t0CAC,_t0CB2);
          real score0CB6#1 = Add<real>(score0C88,_t0CB4);
          goto JOIN0CA7
        JOIN0CA7:  preds = [ASSIGN0CB8,COND0CB9]
          real score0CB7#2 = phi(score0CB6,score0C88)
          real _t0CBA#1 = Dot<tensor[2]>(r009F8,v1408D6);
          real _t0CBC#1 = Dot<tensor[2]>(r10A26,v1408D6);
          tensor[2] _t0CBE#1 = <tensor[2]>[_t0CBA,_t0CBC];
          int _t0CC0#1 = 0;
          real _t0CC2#1 = TensorSub<tensor[3]>(t09C0,_t0CC0);
          int _t0CC4#1 = 1;
          real _t0CC6#1 = TensorSub<tensor[3]>(t09C0,_t0CC4);
          tensor[2] _t0CC8#1 = <tensor[2]>[_t0CC2,_t0CC6];
          tensor[2] pos0CCA#3 = Add<tensor[2]>(_t0CBE,_t0CC8);
          bool _t0CCD#1 = Inside<2>(pos0CCA,F084C);
          if _t0CCD then goto ASSIGN0CD2 else goto ASSIGN0CD4
        ASSIGN0CD2:  preds = [COND0CD5]
          bool _t0CD0#1 = Inside<2>(v1408D6,T0844);
          goto JOIN0CCF
        JOIN0CCF:  preds = [ASSIGN0CD2,ASSIGN0CD4]
          bool _t0CD1#1 = phi(_t0CD0,_t0CD3)
          if _t0CD1 then goto ASSIGN0CD8 else goto JOIN0CD6
        ASSIGN0CD8:  preds = [COND0CE8]
          real _t0CD7#1 = Probe<tensor[2],real>(F084C,pos0CCA);
          real _t0CD9#1 = Probe<tensor[2],real>(T0844,v1408D6);
          real _t0CDB#1 = Sub<real>(_t0CD7,_t0CD9);
          real _t0CDD#1 = Probe<tensor[2],real>(F084C,pos0CCA);
          real _t0CDF#1 = Probe<tensor[2],real>(T0844,v1408D6);
          real _t0CE1#1 = Sub<real>(_t0CDD,_t0CDF);
          real _t0CE3#1 = Mul<real>(_t0CDB,_t0CE1);
          real score0CE5#1 = Add<real>(score0CB7,_t0CE3);
          goto JOIN0CD6
        JOIN0CD6:  preds = [ASSIGN0CE7,COND0CE8]
          real score0CE6#2 = phi(score0CE5,score0CB7)
          real _t0CE9#1 = Dot<tensor[2]>(r009F8,v1508DE);
          real _t0CEB#1 = Dot<tensor[2]>(r10A26,v1508DE);
          tensor[2] _t0CED#1 = <tensor[2]>[_t0CE9,_t0CEB];
          int _t0CEF#1 = 0;
          real _t0CF1#1 = TensorSub<tensor[3]>(t09C0,_t0CEF);
          int _t0CF3#1 = 1;
          real _t0CF5#1 = TensorSub<tensor[3]>(t09C0,_t0CF3);
          tensor[2] _t0CF7#1 = <tensor[2]>[_t0CF1,_t0CF5];
          tensor[2] pos0CF9#3 = Add<tensor[2]>(_t0CED,_t0CF7);
          bool _t0CFC#1 = Inside<2>(pos0CF9,F084C);
          if _t0CFC then goto ASSIGN0D01 else goto ASSIGN0D03
        ASSIGN0D01:  preds = [COND0D04]
          bool _t0CFF#1 = Inside<2>(v1508DE,T0844);
          goto JOIN0CFE
        JOIN0CFE:  preds = [ASSIGN0D01,ASSIGN0D03]
          bool _t0D00#1 = phi(_t0CFF,_t0D02)
          if _t0D00 then goto ASSIGN0D07 else goto JOIN0D05
        ASSIGN0D07:  preds = [COND0D17]
          real _t0D06#1 = Probe<tensor[2],real>(F084C,pos0CF9);
          real _t0D08#1 = Probe<tensor[2],real>(T0844,v1508DE);
          real _t0D0A#1 = Sub<real>(_t0D06,_t0D08);
          real _t0D0C#1 = Probe<tensor[2],real>(F084C,pos0CF9);
          real _t0D0E#1 = Probe<tensor[2],real>(T0844,v1508DE);
          real _t0D10#1 = Sub<real>(_t0D0C,_t0D0E);
          real _t0D12#1 = Mul<real>(_t0D0A,_t0D10);
          real score0D14#1 = Add<real>(score0CE6,_t0D12);
          goto JOIN0D05
        JOIN0D05:  preds = [ASSIGN0D16,COND0D17]
          real score0D15#2 = phi(score0D14,score0CE6)
          real _t0D18#1 = Dot<tensor[2]>(r009F8,v1608E6);
          real _t0D1A#1 = Dot<tensor[2]>(r10A26,v1608E6);
          tensor[2] _t0D1C#1 = <tensor[2]>[_t0D18,_t0D1A];
          int _t0D1E#1 = 0;
          real _t0D20#1 = TensorSub<tensor[3]>(t09C0,_t0D1E);
          int _t0D22#1 = 1;
          real _t0D24#1 = TensorSub<tensor[3]>(t09C0,_t0D22);
          tensor[2] _t0D26#1 = <tensor[2]>[_t0D20,_t0D24];
          tensor[2] pos0D28#3 = Add<tensor[2]>(_t0D1C,_t0D26);
          bool _t0D2B#1 = Inside<2>(pos0D28,F084C);
          if _t0D2B then goto ASSIGN0D30 else goto ASSIGN0D32
        ASSIGN0D30:  preds = [COND0D33]
          bool _t0D2E#1 = Inside<2>(v1608E6,T0844);
          goto JOIN0D2D
        JOIN0D2D:  preds = [ASSIGN0D30,ASSIGN0D32]
          bool _t0D2F#1 = phi(_t0D2E,_t0D31)
          if _t0D2F then goto ASSIGN0D36 else goto JOIN0D34
        ASSIGN0D36:  preds = [COND0D46]
          real _t0D35#1 = Probe<tensor[2],real>(F084C,pos0D28);
          real _t0D37#1 = Probe<tensor[2],real>(T0844,v1608E6);
          real _t0D39#1 = Sub<real>(_t0D35,_t0D37);
          real _t0D3B#1 = Probe<tensor[2],real>(F084C,pos0D28);
          real _t0D3D#1 = Probe<tensor[2],real>(T0844,v1608E6);
          real _t0D3F#1 = Sub<real>(_t0D3B,_t0D3D);
          real _t0D41#1 = Mul<real>(_t0D39,_t0D3F);
          real score0D43#1 = Add<real>(score0D15,_t0D41);
          goto JOIN0D34
        JOIN0D34:  preds = [ASSIGN0D45,COND0D46]
          real score0D44#2 = phi(score0D43,score0D15)
          real _t0D47#1 = Dot<tensor[2]>(r009F8,v1708EE);
          real _t0D49#1 = Dot<tensor[2]>(r10A26,v1708EE);
          tensor[2] _t0D4B#1 = <tensor[2]>[_t0D47,_t0D49];
          int _t0D4D#1 = 0;
          real _t0D4F#1 = TensorSub<tensor[3]>(t09C0,_t0D4D);
          int _t0D51#1 = 1;
          real _t0D53#1 = TensorSub<tensor[3]>(t09C0,_t0D51);
          tensor[2] _t0D55#1 = <tensor[2]>[_t0D4F,_t0D53];
          tensor[2] pos0D57#3 = Add<tensor[2]>(_t0D4B,_t0D55);
          bool _t0D5A#1 = Inside<2>(pos0D57,F084C);
          if _t0D5A then goto ASSIGN0D5F else goto ASSIGN0D61
        ASSIGN0D5F:  preds = [COND0D62]
          bool _t0D5D#1 = Inside<2>(v1708EE,T0844);
          goto JOIN0D5C
        JOIN0D5C:  preds = [ASSIGN0D5F,ASSIGN0D61]
          bool _t0D5E#1 = phi(_t0D5D,_t0D60)
          if _t0D5E then goto ASSIGN0D65 else goto JOIN0D63
        ASSIGN0D65:  preds = [COND0D75]
          real _t0D64#1 = Probe<tensor[2],real>(F084C,pos0D57);
          real _t0D66#1 = Probe<tensor[2],real>(T0844,v1708EE);
          real _t0D68#1 = Sub<real>(_t0D64,_t0D66);
          real _t0D6A#1 = Probe<tensor[2],real>(F084C,pos0D57);
          real _t0D6C#1 = Probe<tensor[2],real>(T0844,v1708EE);
          real _t0D6E#1 = Sub<real>(_t0D6A,_t0D6C);
          real _t0D70#1 = Mul<real>(_t0D68,_t0D6E);
          real score0D72#1 = Add<real>(score0D44,_t0D70);
          goto JOIN0D63
        JOIN0D63:  preds = [ASSIGN0D74,COND0D75]
          real score0D73#2 = phi(score0D72,score0D44)
          real _t0D76#1 = Dot<tensor[2]>(r009F8,v1808F6);
          real _t0D78#1 = Dot<tensor[2]>(r10A26,v1808F6);
          tensor[2] _t0D7A#1 = <tensor[2]>[_t0D76,_t0D78];
          int _t0D7C#1 = 0;
          real _t0D7E#1 = TensorSub<tensor[3]>(t09C0,_t0D7C);
          int _t0D80#1 = 1;
          real _t0D82#1 = TensorSub<tensor[3]>(t09C0,_t0D80);
          tensor[2] _t0D84#1 = <tensor[2]>[_t0D7E,_t0D82];
          tensor[2] pos0D86#3 = Add<tensor[2]>(_t0D7A,_t0D84);
          bool _t0D89#1 = Inside<2>(pos0D86,F084C);
          if _t0D89 then goto ASSIGN0D8E else goto ASSIGN0D90
        ASSIGN0D8E:  preds = [COND0D91]
          bool _t0D8C#1 = Inside<2>(v1808F6,T0844);
          goto JOIN0D8B
        JOIN0D8B:  preds = [ASSIGN0D8E,ASSIGN0D90]
          bool _t0D8D#1 = phi(_t0D8C,_t0D8F)
          if _t0D8D then goto ASSIGN0D94 else goto JOIN0D92
        ASSIGN0D94:  preds = [COND0DA4]
          real _t0D93#1 = Probe<tensor[2],real>(F084C,pos0D86);
          real _t0D95#1 = Probe<tensor[2],real>(T0844,v1808F6);
          real _t0D97#1 = Sub<real>(_t0D93,_t0D95);
          real _t0D99#1 = Probe<tensor[2],real>(F084C,pos0D86);
          real _t0D9B#1 = Probe<tensor[2],real>(T0844,v1808F6);
          real _t0D9D#1 = Sub<real>(_t0D99,_t0D9B);
          real _t0D9F#1 = Mul<real>(_t0D97,_t0D9D);
          real score0DA1#1 = Add<real>(score0D73,_t0D9F);
          goto JOIN0D92
        JOIN0D92:  preds = [ASSIGN0DA3,COND0DA4]
          real score0DA2#2 = phi(score0DA1,score0D73)
          real _t0DA5#1 = Dot<tensor[2]>(r009F8,v1908FE);
          real _t0DA7#1 = Dot<tensor[2]>(r10A26,v1908FE);
          tensor[2] _t0DA9#1 = <tensor[2]>[_t0DA5,_t0DA7];
          int _t0DAB#1 = 0;
          real _t0DAD#1 = TensorSub<tensor[3]>(t09C0,_t0DAB);
          int _t0DAF#1 = 1;
          real _t0DB1#1 = TensorSub<tensor[3]>(t09C0,_t0DAF);
          tensor[2] _t0DB3#1 = <tensor[2]>[_t0DAD,_t0DB1];
          tensor[2] pos0DB5#3 = Add<tensor[2]>(_t0DA9,_t0DB3);
          bool _t0DB8#1 = Inside<2>(pos0DB5,F084C);
          if _t0DB8 then goto ASSIGN0DBD else goto ASSIGN0DBF
        ASSIGN0DBD:  preds = [COND0DC0]
          bool _t0DBB#1 = Inside<2>(v1908FE,T0844);
          goto JOIN0DBA
        JOIN0DBA:  preds = [ASSIGN0DBD,ASSIGN0DBF]
          bool _t0DBC#1 = phi(_t0DBB,_t0DBE)
          if _t0DBC then goto ASSIGN0DC3 else goto JOIN0DC1
        ASSIGN0DC3:  preds = [COND0DD3]
          real _t0DC2#1 = Probe<tensor[2],real>(F084C,pos0DB5);
          real _t0DC4#1 = Probe<tensor[2],real>(T0844,v1908FE);
          real _t0DC6#1 = Sub<real>(_t0DC2,_t0DC4);
          real _t0DC8#1 = Probe<tensor[2],real>(F084C,pos0DB5);
          real _t0DCA#1 = Probe<tensor[2],real>(T0844,v1908FE);
          real _t0DCC#1 = Sub<real>(_t0DC8,_t0DCA);
          real _t0DCE#1 = Mul<real>(_t0DC6,_t0DCC);
          real score0DD0#1 = Add<real>(score0DA2,_t0DCE);
          goto JOIN0DC1
        JOIN0DC1:  preds = [ASSIGN0DD2,COND0DD3]
          real score0DD1#2 = phi(score0DD0,score0DA2)
          real _t0DD4#1 = Dot<tensor[2]>(r009F8,v200906);
          real _t0DD6#1 = Dot<tensor[2]>(r10A26,v200906);
          tensor[2] _t0DD8#1 = <tensor[2]>[_t0DD4,_t0DD6];
          int _t0DDA#1 = 0;
          real _t0DDC#1 = TensorSub<tensor[3]>(t09C0,_t0DDA);
          int _t0DDE#1 = 1;
          real _t0DE0#1 = TensorSub<tensor[3]>(t09C0,_t0DDE);
          tensor[2] _t0DE2#1 = <tensor[2]>[_t0DDC,_t0DE0];
          tensor[2] pos0DE4#3 = Add<tensor[2]>(_t0DD8,_t0DE2);
          bool _t0DE7#1 = Inside<2>(pos0DE4,F084C);
          if _t0DE7 then goto ASSIGN0DEC else goto ASSIGN0DEE
        ASSIGN0DEC:  preds = [COND0DEF]
          bool _t0DEA#1 = Inside<2>(v200906,T0844);
          goto JOIN0DE9
        JOIN0DE9:  preds = [ASSIGN0DEC,ASSIGN0DEE]
          bool _t0DEB#1 = phi(_t0DEA,_t0DED)
          if _t0DEB then goto ASSIGN0DF2 else goto JOIN0DF0
        ASSIGN0DF2:  preds = [COND0E02]
          real _t0DF1#1 = Probe<tensor[2],real>(F084C,pos0DE4);
          real _t0DF3#1 = Probe<tensor[2],real>(T0844,v200906);
          real _t0DF5#1 = Sub<real>(_t0DF1,_t0DF3);
          real _t0DF7#1 = Probe<tensor[2],real>(F084C,pos0DE4);
          real _t0DF9#1 = Probe<tensor[2],real>(T0844,v200906);
          real _t0DFB#1 = Sub<real>(_t0DF7,_t0DF9);
          real _t0DFD#1 = Mul<real>(_t0DF5,_t0DFB);
          real score0DFF#1 = Add<real>(score0DD1,_t0DFD);
          goto JOIN0DF0
        JOIN0DF0:  preds = [ASSIGN0E01,COND0E02]
          real score0E00#2 = phi(score0DFF,score0DD1)
          real _t0E03#1 = Dot<tensor[2]>(r009F8,v21090C);
          real _t0E05#1 = Dot<tensor[2]>(r10A26,v21090C);
          tensor[2] _t0E07#1 = <tensor[2]>[_t0E03,_t0E05];
          int _t0E09#1 = 0;
          real _t0E0B#1 = TensorSub<tensor[3]>(t09C0,_t0E09);
          int _t0E0D#1 = 1;
          real _t0E0F#1 = TensorSub<tensor[3]>(t09C0,_t0E0D);
          tensor[2] _t0E11#1 = <tensor[2]>[_t0E0B,_t0E0F];
          tensor[2] pos0E13#3 = Add<tensor[2]>(_t0E07,_t0E11);
          bool _t0E16#1 = Inside<2>(pos0E13,F084C);
          if _t0E16 then goto ASSIGN0E1B else goto ASSIGN0E1D
        ASSIGN0E1B:  preds = [COND0E1E]
          bool _t0E19#1 = Inside<2>(v21090C,T0844);
          goto JOIN0E18
        JOIN0E18:  preds = [ASSIGN0E1B,ASSIGN0E1D]
          bool _t0E1A#1 = phi(_t0E19,_t0E1C)
          if _t0E1A then goto ASSIGN0E21 else goto JOIN0E1F
        ASSIGN0E21:  preds = [COND0E31]
          real _t0E20#1 = Probe<tensor[2],real>(F084C,pos0E13);
          real _t0E22#1 = Probe<tensor[2],real>(T0844,v21090C);
          real _t0E24#1 = Sub<real>(_t0E20,_t0E22);
          real _t0E26#1 = Probe<tensor[2],real>(F084C,pos0E13);
          real _t0E28#1 = Probe<tensor[2],real>(T0844,v21090C);
          real _t0E2A#1 = Sub<real>(_t0E26,_t0E28);
          real _t0E2C#1 = Mul<real>(_t0E24,_t0E2A);
          real score0E2E#1 = Add<real>(score0E00,_t0E2C);
          goto JOIN0E1F
        JOIN0E1F:  preds = [ASSIGN0E30,COND0E31]
          real score0E2F#2 = phi(score0E2E,score0E00)
          real _t0E32#1 = Dot<tensor[2]>(r009F8,v220912);
          real _t0E34#1 = Dot<tensor[2]>(r10A26,v220912);
          tensor[2] _t0E36#1 = <tensor[2]>[_t0E32,_t0E34];
          int _t0E38#1 = 0;
          real _t0E3A#1 = TensorSub<tensor[3]>(t09C0,_t0E38);
          int _t0E3C#1 = 1;
          real _t0E3E#1 = TensorSub<tensor[3]>(t09C0,_t0E3C);
          tensor[2] _t0E40#1 = <tensor[2]>[_t0E3A,_t0E3E];
          tensor[2] pos0E42#3 = Add<tensor[2]>(_t0E36,_t0E40);
          bool _t0E45#1 = Inside<2>(pos0E42,F084C);
          if _t0E45 then goto ASSIGN0E4A else goto ASSIGN0E4C
        ASSIGN0E4A:  preds = [COND0E4D]
          bool _t0E48#1 = Inside<2>(v220912,T0844);
          goto JOIN0E47
        JOIN0E47:  preds = [ASSIGN0E4A,ASSIGN0E4C]
          bool _t0E49#1 = phi(_t0E48,_t0E4B)
          if _t0E49 then goto ASSIGN0E50 else goto JOIN0E4E
        ASSIGN0E50:  preds = [COND0E60]
          real _t0E4F#1 = Probe<tensor[2],real>(F084C,pos0E42);
          real _t0E51#1 = Probe<tensor[2],real>(T0844,v220912);
          real _t0E53#1 = Sub<real>(_t0E4F,_t0E51);
          real _t0E55#1 = Probe<tensor[2],real>(F084C,pos0E42);
          real _t0E57#1 = Probe<tensor[2],real>(T0844,v220912);
          real _t0E59#1 = Sub<real>(_t0E55,_t0E57);
          real _t0E5B#1 = Mul<real>(_t0E53,_t0E59);
          real score0E5D#1 = Add<real>(score0E2F,_t0E5B);
          goto JOIN0E4E
        JOIN0E4E:  preds = [ASSIGN0E5F,COND0E60]
          real score0E5E#2 = phi(score0E5D,score0E2F)
          real _t0E61#1 = Dot<tensor[2]>(r009F8,v230918);
          real _t0E63#1 = Dot<tensor[2]>(r10A26,v230918);
          tensor[2] _t0E65#1 = <tensor[2]>[_t0E61,_t0E63];
          int _t0E67#1 = 0;
          real _t0E69#1 = TensorSub<tensor[3]>(t09C0,_t0E67);
          int _t0E6B#1 = 1;
          real _t0E6D#1 = TensorSub<tensor[3]>(t09C0,_t0E6B);
          tensor[2] _t0E6F#1 = <tensor[2]>[_t0E69,_t0E6D];
          tensor[2] pos0E71#3 = Add<tensor[2]>(_t0E65,_t0E6F);
          bool _t0E74#1 = Inside<2>(pos0E71,F084C);
          if _t0E74 then goto ASSIGN0E79 else goto ASSIGN0E7B
        ASSIGN0E79:  preds = [COND0E7C]
          bool _t0E77#1 = Inside<2>(v230918,T0844);
          goto JOIN0E76
        JOIN0E76:  preds = [ASSIGN0E79,ASSIGN0E7B]
          bool _t0E78#1 = phi(_t0E77,_t0E7A)
          if _t0E78 then goto ASSIGN0E7F else goto JOIN0E7D
        ASSIGN0E7F:  preds = [COND0E8F]
          real _t0E7E#1 = Probe<tensor[2],real>(F084C,pos0E71);
          real _t0E80#1 = Probe<tensor[2],real>(T0844,v230918);
          real _t0E82#1 = Sub<real>(_t0E7E,_t0E80);
          real _t0E84#1 = Probe<tensor[2],real>(F084C,pos0E71);
          real _t0E86#1 = Probe<tensor[2],real>(T0844,v230918);
          real _t0E88#1 = Sub<real>(_t0E84,_t0E86);
          real _t0E8A#1 = Mul<real>(_t0E82,_t0E88);
          real score0E8C#1 = Add<real>(score0E5E,_t0E8A);
          goto JOIN0E7D
        JOIN0E7D:  preds = [ASSIGN0E8E,COND0E8F]
          real score0E8D#2 = phi(score0E8C,score0E5E)
          real _t0E90#1 = Dot<tensor[2]>(r009F8,v240920);
          real _t0E92#1 = Dot<tensor[2]>(r10A26,v240920);
          tensor[2] _t0E94#1 = <tensor[2]>[_t0E90,_t0E92];
          int _t0E96#1 = 0;
          real _t0E98#1 = TensorSub<tensor[3]>(t09C0,_t0E96);
          int _t0E9A#1 = 1;
          real _t0E9C#1 = TensorSub<tensor[3]>(t09C0,_t0E9A);
          tensor[2] _t0E9E#1 = <tensor[2]>[_t0E98,_t0E9C];
          tensor[2] pos0EA0#3 = Add<tensor[2]>(_t0E94,_t0E9E);
          bool _t0EA3#1 = Inside<2>(pos0EA0,F084C);
          if _t0EA3 then goto ASSIGN0EA8 else goto ASSIGN0EAA
        ASSIGN0EA8:  preds = [COND0EAB]
          bool _t0EA6#1 = Inside<2>(v240920,T0844);
          goto JOIN0EA5
        JOIN0EA5:  preds = [ASSIGN0EA8,ASSIGN0EAA]
          bool _t0EA7#1 = phi(_t0EA6,_t0EA9)
          if _t0EA7 then goto ASSIGN0EAE else goto JOIN0EAC
        ASSIGN0EAE:  preds = [COND0EBE]
          real _t0EAD#1 = Probe<tensor[2],real>(F084C,pos0EA0);
          real _t0EAF#1 = Probe<tensor[2],real>(T0844,v240920);
          real _t0EB1#1 = Sub<real>(_t0EAD,_t0EAF);
          real _t0EB3#1 = Probe<tensor[2],real>(F084C,pos0EA0);
          real _t0EB5#1 = Probe<tensor[2],real>(T0844,v240920);
          real _t0EB7#1 = Sub<real>(_t0EB3,_t0EB5);
          real _t0EB9#1 = Mul<real>(_t0EB1,_t0EB7);
          real score0EBB#1 = Add<real>(score0E8D,_t0EB9);
          goto JOIN0EAC
        JOIN0EAC:  preds = [ASSIGN0EBD,COND0EBE]
          real score0EBC#2 = phi(score0EBB,score0E8D)
          real _t0EBF#1 = Dot<tensor[2]>(r009F8,v250928);
          real _t0EC1#1 = Dot<tensor[2]>(r10A26,v250928);
          tensor[2] _t0EC3#1 = <tensor[2]>[_t0EBF,_t0EC1];
          int _t0EC5#1 = 0;
          real _t0EC7#1 = TensorSub<tensor[3]>(t09C0,_t0EC5);
          int _t0EC9#1 = 1;
          real _t0ECB#1 = TensorSub<tensor[3]>(t09C0,_t0EC9);
          tensor[2] _t0ECD#1 = <tensor[2]>[_t0EC7,_t0ECB];
          tensor[2] pos0ECF#3 = Add<tensor[2]>(_t0EC3,_t0ECD);
          bool _t0ED2#1 = Inside<2>(pos0ECF,F084C);
          if _t0ED2 then goto ASSIGN0ED7 else goto ASSIGN0ED9
        ASSIGN0ED7:  preds = [COND0EDA]
          bool _t0ED5#1 = Inside<2>(v250928,T0844);
          goto JOIN0ED4
        JOIN0ED4:  preds = [ASSIGN0ED7,ASSIGN0ED9]
          bool _t0ED6#1 = phi(_t0ED5,_t0ED8)
          if _t0ED6 then goto ASSIGN0EDD else goto JOIN0EDB
        ASSIGN0EDD:  preds = [COND0EED]
          real _t0EDC#1 = Probe<tensor[2],real>(F084C,pos0ECF);
          real _t0EDE#1 = Probe<tensor[2],real>(T0844,v250928);
          real _t0EE0#1 = Sub<real>(_t0EDC,_t0EDE);
          real _t0EE2#1 = Probe<tensor[2],real>(F084C,pos0ECF);
          real _t0EE4#1 = Probe<tensor[2],real>(T0844,v250928);
          real _t0EE6#1 = Sub<real>(_t0EE2,_t0EE4);
          real _t0EE8#1 = Mul<real>(_t0EE0,_t0EE6);
          real score0EEA#1 = Add<real>(score0EBC,_t0EE8);
          goto JOIN0EDB
        JOIN0EDB:  preds = [ASSIGN0EEC,COND0EED]
          real score0EEB#2 = phi(score0EEA,score0EBC)
          real _t0EEE#1 = Dot<tensor[2]>(r009F8,v260930);
          real _t0EF0#1 = Dot<tensor[2]>(r10A26,v260930);
          tensor[2] _t0EF2#1 = <tensor[2]>[_t0EEE,_t0EF0];
          int _t0EF4#1 = 0;
          real _t0EF6#1 = TensorSub<tensor[3]>(t09C0,_t0EF4);
          int _t0EF8#1 = 1;
          real _t0EFA#1 = TensorSub<tensor[3]>(t09C0,_t0EF8);
          tensor[2] _t0EFC#1 = <tensor[2]>[_t0EF6,_t0EFA];
          tensor[2] pos0EFE#3 = Add<tensor[2]>(_t0EF2,_t0EFC);
          bool _t0F01#1 = Inside<2>(pos0EFE,F084C);
          if _t0F01 then goto ASSIGN0F06 else goto ASSIGN0F08
        ASSIGN0F06:  preds = [COND0F09]
          bool _t0F04#1 = Inside<2>(v260930,T0844);
          goto JOIN0F03
        JOIN0F03:  preds = [ASSIGN0F06,ASSIGN0F08]
          bool _t0F05#1 = phi(_t0F04,_t0F07)
          if _t0F05 then goto ASSIGN0F0C else goto JOIN0F0A
        ASSIGN0F0C:  preds = [COND0F1C]
          real _t0F0B#1 = Probe<tensor[2],real>(F084C,pos0EFE);
          real _t0F0D#1 = Probe<tensor[2],real>(T0844,v260930);
          real _t0F0F#1 = Sub<real>(_t0F0B,_t0F0D);
          real _t0F11#1 = Probe<tensor[2],real>(F084C,pos0EFE);
          real _t0F13#1 = Probe<tensor[2],real>(T0844,v260930);
          real _t0F15#1 = Sub<real>(_t0F11,_t0F13);
          real _t0F17#1 = Mul<real>(_t0F0F,_t0F15);
          real score0F19#1 = Add<real>(score0EEB,_t0F17);
          goto JOIN0F0A
        JOIN0F0A:  preds = [ASSIGN0F1B,COND0F1C]
          real score0F1A#2 = phi(score0F19,score0EEB)
          real _t0F1D#1 = Dot<tensor[2]>(r009F8,v270936);
          real _t0F1F#1 = Dot<tensor[2]>(r10A26,v270936);
          tensor[2] _t0F21#1 = <tensor[2]>[_t0F1D,_t0F1F];
          int _t0F23#1 = 0;
          real _t0F25#1 = TensorSub<tensor[3]>(t09C0,_t0F23);
          int _t0F27#1 = 1;
          real _t0F29#1 = TensorSub<tensor[3]>(t09C0,_t0F27);
          tensor[2] _t0F2B#1 = <tensor[2]>[_t0F25,_t0F29];
          tensor[2] pos0F2D#3 = Add<tensor[2]>(_t0F21,_t0F2B);
          bool _t0F30#1 = Inside<2>(pos0F2D,F084C);
          if _t0F30 then goto ASSIGN0F35 else goto ASSIGN0F37
        ASSIGN0F35:  preds = [COND0F38]
          bool _t0F33#1 = Inside<2>(v270936,T0844);
          goto JOIN0F32
        JOIN0F32:  preds = [ASSIGN0F35,ASSIGN0F37]
          bool _t0F34#1 = phi(_t0F33,_t0F36)
          if _t0F34 then goto ASSIGN0F3B else goto JOIN0F39
        ASSIGN0F3B:  preds = [COND0F4B]
          real _t0F3A#1 = Probe<tensor[2],real>(F084C,pos0F2D);
          real _t0F3C#1 = Probe<tensor[2],real>(T0844,v270936);
          real _t0F3E#1 = Sub<real>(_t0F3A,_t0F3C);
          real _t0F40#1 = Probe<tensor[2],real>(F084C,pos0F2D);
          real _t0F42#1 = Probe<tensor[2],real>(T0844,v270936);
          real _t0F44#1 = Sub<real>(_t0F40,_t0F42);
          real _t0F46#1 = Mul<real>(_t0F3E,_t0F44);
          real score0F48#1 = Add<real>(score0F1A,_t0F46);
          goto JOIN0F39
        JOIN0F39:  preds = [ASSIGN0F4A,COND0F4B]
          real score0F49#2 = phi(score0F48,score0F1A)
          real _t0F4C#1 = Dot<tensor[2]>(r009F8,v28093C);
          real _t0F4E#1 = Dot<tensor[2]>(r10A26,v28093C);
          tensor[2] _t0F50#1 = <tensor[2]>[_t0F4C,_t0F4E];
          int _t0F52#1 = 0;
          real _t0F54#1 = TensorSub<tensor[3]>(t09C0,_t0F52);
          int _t0F56#1 = 1;
          real _t0F58#1 = TensorSub<tensor[3]>(t09C0,_t0F56);
          tensor[2] _t0F5A#1 = <tensor[2]>[_t0F54,_t0F58];
          tensor[2] pos0F5C#3 = Add<tensor[2]>(_t0F50,_t0F5A);
          bool _t0F5F#1 = Inside<2>(pos0F5C,F084C);
          if _t0F5F then goto ASSIGN0F64 else goto ASSIGN0F66
        ASSIGN0F64:  preds = [COND0F67]
          bool _t0F62#1 = Inside<2>(v28093C,T0844);
          goto JOIN0F61
        JOIN0F61:  preds = [ASSIGN0F64,ASSIGN0F66]
          bool _t0F63#1 = phi(_t0F62,_t0F65)
          if _t0F63 then goto ASSIGN0F6A else goto JOIN0F68
        ASSIGN0F6A:  preds = [COND0F7A]
          real _t0F69#1 = Probe<tensor[2],real>(F084C,pos0F5C);
          real _t0F6B#1 = Probe<tensor[2],real>(T0844,v28093C);
          real _t0F6D#1 = Sub<real>(_t0F69,_t0F6B);
          real _t0F6F#1 = Probe<tensor[2],real>(F084C,pos0F5C);
          real _t0F71#1 = Probe<tensor[2],real>(T0844,v28093C);
          real _t0F73#1 = Sub<real>(_t0F6F,_t0F71);
          real _t0F75#1 = Mul<real>(_t0F6D,_t0F73);
          real score0F77#1 = Add<real>(score0F49,_t0F75);
          goto JOIN0F68
        JOIN0F68:  preds = [ASSIGN0F79,COND0F7A]
          real score0F78#2 = phi(score0F77,score0F49)
          real _t0F7B#1 = Dot<tensor[2]>(r009F8,v290942);
          real _t0F7D#1 = Dot<tensor[2]>(r10A26,v290942);
          tensor[2] _t0F7F#1 = <tensor[2]>[_t0F7B,_t0F7D];
          int _t0F81#1 = 0;
          real _t0F83#1 = TensorSub<tensor[3]>(t09C0,_t0F81);
          int _t0F85#1 = 1;
          real _t0F87#1 = TensorSub<tensor[3]>(t09C0,_t0F85);
          tensor[2] _t0F89#1 = <tensor[2]>[_t0F83,_t0F87];
          tensor[2] pos0F8B#3 = Add<tensor[2]>(_t0F7F,_t0F89);
          bool _t0F8E#1 = Inside<2>(pos0F8B,F084C);
          if _t0F8E then goto ASSIGN0F93 else goto ASSIGN0F95
        ASSIGN0F93:  preds = [COND0F96]
          bool _t0F91#1 = Inside<2>(v290942,T0844);
          goto JOIN0F90
        JOIN0F90:  preds = [ASSIGN0F93,ASSIGN0F95]
          bool _t0F92#1 = phi(_t0F91,_t0F94)
          if _t0F92 then goto ASSIGN0F99 else goto JOIN0F97
        ASSIGN0F99:  preds = [COND0FA9]
          real _t0F98#1 = Probe<tensor[2],real>(F084C,pos0F8B);
          real _t0F9A#1 = Probe<tensor[2],real>(T0844,v290942);
          real _t0F9C#1 = Sub<real>(_t0F98,_t0F9A);
          real _t0F9E#1 = Probe<tensor[2],real>(F084C,pos0F8B);
          real _t0FA0#1 = Probe<tensor[2],real>(T0844,v290942);
          real _t0FA2#1 = Sub<real>(_t0F9E,_t0FA0);
          real _t0FA4#1 = Mul<real>(_t0F9C,_t0FA2);
          real score0FA6#1 = Add<real>(score0F78,_t0FA4);
          goto JOIN0F97
        JOIN0F97:  preds = [ASSIGN0FA8,COND0FA9]
          real score0FA7#2 = phi(score0FA6,score0F78)
          real _t0FAA#1 = Dot<tensor[2]>(r009F8,v30094A);
          real _t0FAC#1 = Dot<tensor[2]>(r10A26,v30094A);
          tensor[2] _t0FAE#1 = <tensor[2]>[_t0FAA,_t0FAC];
          int _t0FB0#1 = 0;
          real _t0FB2#1 = TensorSub<tensor[3]>(t09C0,_t0FB0);
          int _t0FB4#1 = 1;
          real _t0FB6#1 = TensorSub<tensor[3]>(t09C0,_t0FB4);
          tensor[2] _t0FB8#1 = <tensor[2]>[_t0FB2,_t0FB6];
          tensor[2] pos0FBA#3 = Add<tensor[2]>(_t0FAE,_t0FB8);
          bool _t0FBD#1 = Inside<2>(pos0FBA,F084C);
          if _t0FBD then goto ASSIGN0FC2 else goto ASSIGN0FC4
        ASSIGN0FC2:  preds = [COND0FC5]
          bool _t0FC0#1 = Inside<2>(v30094A,T0844);
          goto JOIN0FBF
        JOIN0FBF:  preds = [ASSIGN0FC2,ASSIGN0FC4]
          bool _t0FC1#1 = phi(_t0FC0,_t0FC3)
          if _t0FC1 then goto ASSIGN0FC8 else goto JOIN0FC6
        ASSIGN0FC8:  preds = [COND0FD8]
          real _t0FC7#1 = Probe<tensor[2],real>(F084C,pos0FBA);
          real _t0FC9#1 = Probe<tensor[2],real>(T0844,v30094A);
          real _t0FCB#1 = Sub<real>(_t0FC7,_t0FC9);
          real _t0FCD#1 = Probe<tensor[2],real>(F084C,pos0FBA);
          real _t0FCF#1 = Probe<tensor[2],real>(T0844,v30094A);
          real _t0FD1#1 = Sub<real>(_t0FCD,_t0FCF);
          real _t0FD3#1 = Mul<real>(_t0FCB,_t0FD1);
          real score0FD5#1 = Add<real>(score0FA7,_t0FD3);
          goto JOIN0FC6
        JOIN0FC6:  preds = [ASSIGN0FD7,COND0FD8]
          real score0FD6#2 = phi(score0FD5,score0FA7)
          real _t0FD9#1 = Dot<tensor[2]>(r009F8,v310952);
          real _t0FDB#1 = Dot<tensor[2]>(r10A26,v310952);
          tensor[2] _t0FDD#1 = <tensor[2]>[_t0FD9,_t0FDB];
          int _t0FDF#1 = 0;
          real _t0FE1#1 = TensorSub<tensor[3]>(t09C0,_t0FDF);
          int _t0FE3#1 = 1;
          real _t0FE5#1 = TensorSub<tensor[3]>(t09C0,_t0FE3);
          tensor[2] _t0FE7#1 = <tensor[2]>[_t0FE1,_t0FE5];
          tensor[2] pos0FE9#3 = Add<tensor[2]>(_t0FDD,_t0FE7);
          bool _t0FEC#1 = Inside<2>(pos0FE9,F084C);
          if _t0FEC then goto ASSIGN0FF1 else goto ASSIGN0FF3
        ASSIGN0FF1:  preds = [COND0FF4]
          bool _t0FEF#1 = Inside<2>(v310952,T0844);
          goto JOIN0FEE
        JOIN0FEE:  preds = [ASSIGN0FF1,ASSIGN0FF3]
          bool _t0FF0#1 = phi(_t0FEF,_t0FF2)
          if _t0FF0 then goto ASSIGN0FF7 else goto JOIN0FF5
        ASSIGN0FF7:  preds = [COND1007]
          real _t0FF6#1 = Probe<tensor[2],real>(F084C,pos0FE9);
          real _t0FF8#1 = Probe<tensor[2],real>(T0844,v310952);
          real _t0FFA#1 = Sub<real>(_t0FF6,_t0FF8);
          real _t0FFC#1 = Probe<tensor[2],real>(F084C,pos0FE9);
          real _t0FFE#1 = Probe<tensor[2],real>(T0844,v310952);
          real _t1000#1 = Sub<real>(_t0FFC,_t0FFE);
          real _t1002#1 = Mul<real>(_t0FFA,_t1000);
          real score1004#1 = Add<real>(score0FD6,_t1002);
          goto JOIN0FF5
        JOIN0FF5:  preds = [ASSIGN1006,COND1007]
          real score1005#2 = phi(score1004,score0FD6)
          real _t1008#1 = Dot<tensor[2]>(r009F8,v32095A);
          real _t100A#1 = Dot<tensor[2]>(r10A26,v32095A);
          tensor[2] _t100C#1 = <tensor[2]>[_t1008,_t100A];
          int _t100E#1 = 0;
          real _t1010#1 = TensorSub<tensor[3]>(t09C0,_t100E);
          int _t1012#1 = 1;
          real _t1014#1 = TensorSub<tensor[3]>(t09C0,_t1012);
          tensor[2] _t1016#1 = <tensor[2]>[_t1010,_t1014];
          tensor[2] pos1018#3 = Add<tensor[2]>(_t100C,_t1016);
          bool _t101B#1 = Inside<2>(pos1018,F084C);
          if _t101B then goto ASSIGN1020 else goto ASSIGN1022
        ASSIGN1020:  preds = [COND1023]
          bool _t101E#1 = Inside<2>(v32095A,T0844);
          goto JOIN101D
        JOIN101D:  preds = [ASSIGN1020,ASSIGN1022]
          bool _t101F#1 = phi(_t101E,_t1021)
          if _t101F then goto ASSIGN1026 else goto JOIN1024
        ASSIGN1026:  preds = [COND1036]
          real _t1025#1 = Probe<tensor[2],real>(F084C,pos1018);
          real _t1027#1 = Probe<tensor[2],real>(T0844,v32095A);
          real _t1029#1 = Sub<real>(_t1025,_t1027);
          real _t102B#1 = Probe<tensor[2],real>(F084C,pos1018);
          real _t102D#1 = Probe<tensor[2],real>(T0844,v32095A);
          real _t102F#1 = Sub<real>(_t102B,_t102D);
          real _t1031#1 = Mul<real>(_t1029,_t102F);
          real score1033#1 = Add<real>(score1005,_t1031);
          goto JOIN1024
        JOIN1024:  preds = [ASSIGN1035,COND1036]
          real score1034#2 = phi(score1033,score1005)
          real _t1037#1 = Dot<tensor[2]>(r009F8,v330960);
          real _t1039#1 = Dot<tensor[2]>(r10A26,v330960);
          tensor[2] _t103B#1 = <tensor[2]>[_t1037,_t1039];
          int _t103D#1 = 0;
          real _t103F#1 = TensorSub<tensor[3]>(t09C0,_t103D);
          int _t1041#1 = 1;
          real _t1043#1 = TensorSub<tensor[3]>(t09C0,_t1041);
          tensor[2] _t1045#1 = <tensor[2]>[_t103F,_t1043];
          tensor[2] pos1047#3 = Add<tensor[2]>(_t103B,_t1045);
          bool _t104A#1 = Inside<2>(pos1047,F084C);
          if _t104A then goto ASSIGN104F else goto ASSIGN1051
        ASSIGN104F:  preds = [COND1052]
          bool _t104D#1 = Inside<2>(v330960,T0844);
          goto JOIN104C
        JOIN104C:  preds = [ASSIGN104F,ASSIGN1051]
          bool _t104E#1 = phi(_t104D,_t1050)
          if _t104E then goto ASSIGN1055 else goto JOIN1053
        ASSIGN1055:  preds = [COND1065]
          real _t1054#1 = Probe<tensor[2],real>(F084C,pos1047);
          real _t1056#1 = Probe<tensor[2],real>(T0844,v330960);
          real _t1058#1 = Sub<real>(_t1054,_t1056);
          real _t105A#1 = Probe<tensor[2],real>(F084C,pos1047);
          real _t105C#1 = Probe<tensor[2],real>(T0844,v330960);
          real _t105E#1 = Sub<real>(_t105A,_t105C);
          real _t1060#1 = Mul<real>(_t1058,_t105E);
          real score1062#1 = Add<real>(score1034,_t1060);
          goto JOIN1053
        JOIN1053:  preds = [ASSIGN1064,COND1065]
          real score1063#2 = phi(score1062,score1034)
          real _t1066#1 = Dot<tensor[2]>(r009F8,v340966);
          real _t1068#1 = Dot<tensor[2]>(r10A26,v340966);
          tensor[2] _t106A#1 = <tensor[2]>[_t1066,_t1068];
          int _t106C#1 = 0;
          real _t106E#1 = TensorSub<tensor[3]>(t09C0,_t106C);
          int _t1070#1 = 1;
          real _t1072#1 = TensorSub<tensor[3]>(t09C0,_t1070);
          tensor[2] _t1074#1 = <tensor[2]>[_t106E,_t1072];
          tensor[2] pos1076#4 = Add<tensor[2]>(_t106A,_t1074);
          bool _t1079#1 = Inside<2>(pos1076,F084C);
          if _t1079 then goto ASSIGN107E else goto ASSIGN1080
        ASSIGN107E:  preds = [COND1081]
          bool _t107C#1 = Inside<2>(v340966,T0844);
          goto JOIN107B
        JOIN107B:  preds = [ASSIGN107E,ASSIGN1080]
          bool _t107D#1 = phi(_t107C,_t107F)
          if _t107D then goto ASSIGN1084 else goto JOIN1082
        ASSIGN1084:  preds = [COND1094]
          real _t1083#1 = Probe<tensor[2],real>(F084C,pos1076);
          real _t1085#1 = Probe<tensor[2],real>(T0844,v340966);
          real _t1087#1 = Sub<real>(_t1083,_t1085);
          real _t1089#1 = Probe<tensor[2],real>(F084C,pos1076);
          real _t108B#1 = Probe<tensor[2],real>(T0844,v340966);
          real _t108D#1 = Sub<real>(_t1089,_t108B);
          real _t108F#1 = Mul<real>(_t1087,_t108D);
          real score1091#1 = Add<real>(score1063,_t108F);
          goto JOIN1082
        JOIN1082:  preds = [ASSIGN1093,COND1094]
          real score1092#1 = phi(score1091,score1063)
          self.t = t09C0;
          self.score = score1092;
          self.r0 = r009F8;
          self.r1 = r10A26;
          self.pos = pos1076;
          stabilize ()
        ASSIGN1080:  preds = [COND1081]
          bool _t107F#1 = false;
          goto JOIN107B
        ASSIGN1051:  preds = [COND1052]
          bool _t1050#1 = false;
          goto JOIN104C
        ASSIGN1022:  preds = [COND1023]
          bool _t1021#1 = false;
          goto JOIN101D
        ASSIGN0FF3:  preds = [COND0FF4]
          bool _t0FF2#1 = false;
          goto JOIN0FEE
        ASSIGN0FC4:  preds = [COND0FC5]
          bool _t0FC3#1 = false;
          goto JOIN0FBF
        ASSIGN0F95:  preds = [COND0F96]
          bool _t0F94#1 = false;
          goto JOIN0F90
        ASSIGN0F66:  preds = [COND0F67]
          bool _t0F65#1 = false;
          goto JOIN0F61
        ASSIGN0F37:  preds = [COND0F38]
          bool _t0F36#1 = false;
          goto JOIN0F32
        ASSIGN0F08:  preds = [COND0F09]
          bool _t0F07#1 = false;
          goto JOIN0F03
        ASSIGN0ED9:  preds = [COND0EDA]
          bool _t0ED8#1 = false;
          goto JOIN0ED4
        ASSIGN0EAA:  preds = [COND0EAB]
          bool _t0EA9#1 = false;
          goto JOIN0EA5
        ASSIGN0E7B:  preds = [COND0E7C]
          bool _t0E7A#1 = false;
          goto JOIN0E76
        ASSIGN0E4C:  preds = [COND0E4D]
          bool _t0E4B#1 = false;
          goto JOIN0E47
        ASSIGN0E1D:  preds = [COND0E1E]
          bool _t0E1C#1 = false;
          goto JOIN0E18
        ASSIGN0DEE:  preds = [COND0DEF]
          bool _t0DED#1 = false;
          goto JOIN0DE9
        ASSIGN0DBF:  preds = [COND0DC0]
          bool _t0DBE#1 = false;
          goto JOIN0DBA
        ASSIGN0D90:  preds = [COND0D91]
          bool _t0D8F#1 = false;
          goto JOIN0D8B
        ASSIGN0D61:  preds = [COND0D62]
          bool _t0D60#1 = false;
          goto JOIN0D5C
        ASSIGN0D32:  preds = [COND0D33]
          bool _t0D31#1 = false;
          goto JOIN0D2D
        ASSIGN0D03:  preds = [COND0D04]
          bool _t0D02#1 = false;
          goto JOIN0CFE
        ASSIGN0CD4:  preds = [COND0CD5]
          bool _t0CD3#1 = false;
          goto JOIN0CCF
        ASSIGN0CA5:  preds = [COND0CA6]
          bool _t0CA4#1 = false;
          goto JOIN0CA0
        ASSIGN0C76:  preds = [COND0C77]
          bool _t0C75#1 = false;
          goto JOIN0C71
        ASSIGN0C47:  preds = [COND0C48]
          bool _t0C46#1 = false;
          goto JOIN0C42
        ASSIGN0C18:  preds = [COND0C19]
          bool _t0C17#1 = false;
          goto JOIN0C13
        ASSIGN0BE9:  preds = [COND0BEA]
          bool _t0BE8#1 = false;
          goto JOIN0BE4
        ASSIGN0BBA:  preds = [COND0BBB]
          bool _t0BB9#1 = false;
          goto JOIN0BB5
        ASSIGN0B8B:  preds = [COND0B8C]
          bool _t0B8A#1 = false;
          goto JOIN0B86
        ASSIGN0B5C:  preds = [COND0B5D]
          bool _t0B5B#1 = false;
          goto JOIN0B57
        ASSIGN0B2D:  preds = [COND0B2E]
          bool _t0B2C#1 = false;
          goto JOIN0B28
        ASSIGN0AFE:  preds = [COND0AFF]
          bool _t0AFD#1 = false;
          goto JOIN0AF9
        ASSIGN0ACF:  preds = [COND0AD0]
          bool _t0ACE#1 = false;
          goto JOIN0ACA
        ASSIGN0AA0:  preds = [COND0AA1]
          bool _t0A9F#1 = false;
          goto JOIN0A9B
        ASSIGN0A71:  preds = [COND0A72]
          bool _t0A70#1 = false;
          goto JOIN0A6C
        ASSIGN0A42:  preds = [COND0A43]
          bool _t0A41#1 = false;
          goto JOIN0A3D
    end Update
    method Stabilize
        ENTRY10A7:  preds = []
          tensor[3] t109D#1 = self.t;
          real score109E#1 = self.score;
          tensor[2] r0109F#1 = self.r0;
          tensor[2] r110A0#1 = self.r1;
          tensor[2] pos10A1#1 = self.pos;
          self.t = t109D;
          self.score = score109E;
          self.r0 = r0109F;
          self.r1 = r110A0;
          self.pos = pos10A1;
          return ()
    end Stabilize
  end R
#### end program ####
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
++ high-il:redundant-assign
##### HighIL after value numbering ####
## properties
  none
## globals
  global field T0844#105
  global field F084C#105
  global tensor[2] v000856#5
  global tensor[2] v010860#5
  global tensor[2] v02086A#5
  global tensor[2] v030872#5
  global tensor[2] v04087A#5
  global tensor[2] v050882#5
  global tensor[2] v06088C#5
  global tensor[2] v070896#5
  global tensor[2] v0808A0#5
  global tensor[2] v0908A8#5
  global tensor[2] v1008B0#5
  global tensor[2] v1108B8#5
  global tensor[2] v1208C2#5
  global tensor[2] v1308CC#5
  global tensor[2] v1408D6#5
  global tensor[2] v1508DE#5
  global tensor[2] v1608E6#5
  global tensor[2] v1708EE#5
  global tensor[2] v1808F6#5
  global tensor[2] v1908FE#5
  global tensor[2] v200906#5
  global tensor[2] v21090C#5
  global tensor[2] v220912#5
  global tensor[2] v230918#5
  global tensor[2] v240920#5
  global tensor[2] v250928#5
  global tensor[2] v260930#5
  global tensor[2] v270936#5
  global tensor[2] v28093C#5
  global tensor[2] v290942#5
  global tensor[2] v30094A#5
  global tensor[2] v310952#5
  global tensor[2] v32095A#5
  global tensor[2] v330960#5
  global tensor[2] v340966#5
  global string _t0840#1
  global image2D _t0842#1
  global kernel _t083E#3
  global string _t0848#1
  global image2D _t084A#1
  global real _t0850#23
  global real _t085E#23
  global real _t0868#23
  global real _t0866#36
  global real _t084E#32
  global real _t085C#36
## global initialization
  ENTRY0968:  preds = []
    kernel _t083E#3 = Kernel<bspln3,0>;
    string _t0840#1 = "square-template.nrrd";
    image2D _t0842#1 = LoadImage<IMAGE2D<int>>(_t0840);
    field T0844#105 = Field<2>(_t0842,_t083E);
    string _t0848#1 = "square-rotate.nrrd";
    image2D _t084A#1 = LoadImage<IMAGE2D<float>>(_t0848);
    field F084C#105 = Field<2>(_t084A,_t083E);
    real _t084E#32 = 0.5e0;
    real _t0850#23 = Neg<real>(_t084E);
    tensor[2] v000856#5 = <tensor[2]>[_t0850,_t0850];
    real _t085C#36 = 0.3e0;
    real _t085E#23 = Neg<real>(_t085C);
    tensor[2] v010860#5 = <tensor[2]>[_t0850,_t085E];
    real _t0866#36 = 0.1e0;
    real _t0868#23 = Neg<real>(_t0866);
    tensor[2] v02086A#5 = <tensor[2]>[_t0850,_t0868];
    tensor[2] v030872#5 = <tensor[2]>[_t0850,_t0866];
    tensor[2] v04087A#5 = <tensor[2]>[_t0850,_t085C];
    tensor[2] v050882#5 = <tensor[2]>[_t0850,_t084E];
    tensor[2] v06088C#5 = <tensor[2]>[_t085E,_t0850];
    tensor[2] v070896#5 = <tensor[2]>[_t085E,_t085E];
    tensor[2] v0808A0#5 = <tensor[2]>[_t085E,_t0868];
    tensor[2] v0908A8#5 = <tensor[2]>[_t085E,_t0866];
    tensor[2] v1008B0#5 = <tensor[2]>[_t085E,_t085C];
    tensor[2] v1108B8#5 = <tensor[2]>[_t085E,_t084E];
    tensor[2] v1208C2#5 = <tensor[2]>[_t0868,_t0850];
    tensor[2] v1308CC#5 = <tensor[2]>[_t0868,_t085E];
    tensor[2] v1408D6#5 = <tensor[2]>[_t0868,_t0868];
    tensor[2] v1508DE#5 = <tensor[2]>[_t0868,_t0866];
    tensor[2] v1608E6#5 = <tensor[2]>[_t0868,_t085C];
    tensor[2] v1708EE#5 = <tensor[2]>[_t0868,_t084E];
    tensor[2] v1808F6#5 = <tensor[2]>[_t0866,_t0850];
    tensor[2] v1908FE#5 = <tensor[2]>[_t0866,_t085E];
    tensor[2] v200906#5 = <tensor[2]>[_t0866,_t0868];
    tensor[2] v21090C#5 = <tensor[2]>[_t0866,_t0866];
    tensor[2] v220912#5 = <tensor[2]>[_t0866,_t085C];
    tensor[2] v230918#5 = <tensor[2]>[_t0866,_t084E];
    tensor[2] v240920#5 = <tensor[2]>[_t085C,_t0850];
    tensor[2] v250928#5 = <tensor[2]>[_t085C,_t085E];
    tensor[2] v260930#5 = <tensor[2]>[_t085C,_t0868];
    tensor[2] v270936#5 = <tensor[2]>[_t085C,_t0866];
    tensor[2] v28093C#5 = <tensor[2]>[_t085C,_t085C];
    tensor[2] v290942#5 = <tensor[2]>[_t085C,_t084E];
    tensor[2] v30094A#5 = <tensor[2]>[_t084E,_t0850];
    tensor[2] v310952#5 = <tensor[2]>[_t084E,_t085E];
    tensor[2] v32095A#5 = <tensor[2]>[_t084E,_t0868];
    tensor[2] v330960#5 = <tensor[2]>[_t084E,_t0866];
    tensor[2] v340966#5 = <tensor[2]>[_t084E,_t085C];
    return (T0844,F084C,v000856,v010860,v02086A,v030872,v04087A,v050882,v06088C,v070896,v0808A0,v0908A8,v1008B0,v1108B8,v1208C2,v1308CC,v1408D6,v1508DE,v1608E6,v1708EE,v1808F6,v1908FE,v200906,v21090C,v220912,v230918,v240920,v250928,v260930,v270936,v28093C,v290942,v30094A,v310952,v32095A,v330960,v340966,_t0840,_t0842,_t083E,_t0848,_t084A,_t0850,_t085E,_t0868,_t0866,_t084E,_t085C)
## initially
  ARRAY
    ENTRY0976:  preds = []
      int _t096A#4 = 0;
      int _t096C#4 = 60;
      live vars = (_t096C,_t096A)
    for int i0978#1 = _t096A .. _t096C
      for int j0979#1 = _t096A .. _t096C
        for int k097A#1 = _t096A .. _t096C
          ENTRY097B:  preds = []
            live vars = ()
          new R(i0978,j0979,k097A);
## strands
  strand R (int i097D#1, int j097E#1, int k097F#1)
    state: tensor[3] self.t;output real self.score;tensor[2] self.r0;tensor[2] self.r1;tensor[2] self.pos;
      ENTRY09B9:  preds = []
        real _t0985#1 = IntToReal(i097D);
        real _t0987#3 = 0.60e2;
        real _t0989#1 = Div<real>(_t0985,_t0987);
        real _t098B#3 = 0.5e0;
        real _t098D#1 = Sub<real>(_t0989,_t098B);
        real _t098F#1 = IntToReal(j097E);
        real _t0993#1 = Div<real>(_t098F,_t0987);
        real _t0997#1 = Sub<real>(_t0993,_t098B);
        real _t0999#1 = IntToReal(k097F);
        real _t099D#1 = Div<real>(_t0999,_t0987);
        real _t09A1#1 = Sub<real>(_t099D,_t098B);
        tensor[3] t09A3#1 = <tensor[3]>[_t098D,_t0997,_t09A1];
        real score09A5#3 = 0.0;
        tensor[2] r009AB#3 = <tensor[2]>[score09A5,score09A5];
        self.t = t09A3;
        self.score = score09A5;
        self.r0 = r009AB;
        self.r1 = r009AB;
        self.pos = r009AB;
        strand_init ()
    method Update
        ENTRY109B:  preds = []
          tensor[3] t09C0#81 = self.t;
          real score09C1#2 = self.score;
          tensor[2] r009C2#0 = self.r0;
          tensor[2] r109C3#0 = self.r1;
          tensor[2] pos09C4#0 = self.pos;
          real _t09CA#2 = 0.1e1;
          real _t09CC#3 = 0.2e1;
          int _t09CE#1 = 2;
          real _t09D0#6 = TensorSub<tensor[3]>(t09C0,_t09CE);
          real _t09D2#1 = Mul<real>(_t09CC,_t09D0);
          real _t09D8#1 = Mul<real>(_t09D2,_t09D0);
          real _t09DA#2 = Sub<real>(_t09CA,_t09D8);
          real _t09DE#1 = Neg<real>(_t09CC);
          real _t09EA#1 = Mul<real>(_t09D0,_t09D0);
          real _t09EC#1 = Sub<real>(_t09CA,_t09EA);
          real _t09EE#2 = sqrt(_t09EC);
          real _t09F0#1 = Mul<real>(_t09DE,_t09EE);
          real _t09F6#1 = Mul<real>(_t09F0,_t09D0);
          tensor[2] r009F8#36 = <tensor[2]>[_t09DA,_t09F6];
          real _t0A0C#1 = Mul<real>(_t09CC,_t09EE);
          real _t0A12#1 = Mul<real>(_t0A0C,_t09D0);
          tensor[2] r10A26#36 = <tensor[2]>[_t0A12,_t09DA];
          real _t0A28#1 = Dot<tensor[2]>(r009F8,v000856);
          real _t0A2A#1 = Dot<tensor[2]>(r10A26,v000856);
          tensor[2] _t0A2C#1 = <tensor[2]>[_t0A28,_t0A2A];
          int _t0A2E#1 = 0;
          real _t0A30#1 = TensorSub<tensor[3]>(t09C0,_t0A2E);
          int _t0A32#1 = 1;
          real _t0A34#1 = TensorSub<tensor[3]>(t09C0,_t0A32);
          tensor[2] _t0A36#35 = <tensor[2]>[_t0A30,_t0A34];
          tensor[2] pos0A38#3 = Add<tensor[2]>(_t0A2C,_t0A36);
          bool _t0A3B#1 = Inside<2>(pos0A38,F084C);
          if _t0A3B then goto ASSIGN0A40 else goto ASSIGN0A42
        ASSIGN0A40:  preds = [COND0A43]
          bool _t0A3E#1 = Inside<2>(v000856,T0844);
          goto JOIN0A3D
        JOIN0A3D:  preds = [ASSIGN0A40,ASSIGN0A42]
          bool _t0A3F#1 = phi(_t0A3E,_t0A41)
          if _t0A3F then goto ASSIGN0A46 else goto JOIN0A44
        ASSIGN0A46:  preds = [COND0A56]
          real _t0A45#1 = Probe<tensor[2],real>(F084C,pos0A38);
          real _t0A47#1 = Probe<tensor[2],real>(T0844,v000856);
          real _t0A49#2 = Sub<real>(_t0A45,_t0A47);
          real _t0A51#1 = Mul<real>(_t0A49,_t0A49);
          real score0A53#1 = Add<real>(score09C1,_t0A51);
          goto JOIN0A44
        JOIN0A44:  preds = [ASSIGN0A55,COND0A56]
          real score0A54#2 = phi(score0A53,score09C1)
          real _t0A57#1 = Dot<tensor[2]>(r009F8,v010860);
          real _t0A59#1 = Dot<tensor[2]>(r10A26,v010860);
          tensor[2] _t0A5B#1 = <tensor[2]>[_t0A57,_t0A59];
          tensor[2] pos0A67#3 = Add<tensor[2]>(_t0A5B,_t0A36);
          bool _t0A6A#1 = Inside<2>(pos0A67,F084C);
          if _t0A6A then goto ASSIGN0A6F else goto ASSIGN0A71
        ASSIGN0A6F:  preds = [COND0A72]
          bool _t0A6D#1 = Inside<2>(v010860,T0844);
          goto JOIN0A6C
        JOIN0A6C:  preds = [ASSIGN0A6F,ASSIGN0A71]
          bool _t0A6E#1 = phi(_t0A6D,_t0A70)
          if _t0A6E then goto ASSIGN0A75 else goto JOIN0A73
        ASSIGN0A75:  preds = [COND0A85]
          real _t0A74#1 = Probe<tensor[2],real>(F084C,pos0A67);
          real _t0A76#1 = Probe<tensor[2],real>(T0844,v010860);
          real _t0A78#2 = Sub<real>(_t0A74,_t0A76);
          real _t0A80#1 = Mul<real>(_t0A78,_t0A78);
          real score0A82#1 = Add<real>(score0A54,_t0A80);
          goto JOIN0A73
        JOIN0A73:  preds = [ASSIGN0A84,COND0A85]
          real score0A83#2 = phi(score0A82,score0A54)
          real _t0A86#1 = Dot<tensor[2]>(r009F8,v02086A);
          real _t0A88#1 = Dot<tensor[2]>(r10A26,v02086A);
          tensor[2] _t0A8A#1 = <tensor[2]>[_t0A86,_t0A88];
          tensor[2] pos0A96#3 = Add<tensor[2]>(_t0A8A,_t0A36);
          bool _t0A99#1 = Inside<2>(pos0A96,F084C);
          if _t0A99 then goto ASSIGN0A9E else goto ASSIGN0AA0
        ASSIGN0A9E:  preds = [COND0AA1]
          bool _t0A9C#1 = Inside<2>(v02086A,T0844);
          goto JOIN0A9B
        JOIN0A9B:  preds = [ASSIGN0A9E,ASSIGN0AA0]
          bool _t0A9D#1 = phi(_t0A9C,_t0A9F)
          if _t0A9D then goto ASSIGN0AA4 else goto JOIN0AA2
        ASSIGN0AA4:  preds = [COND0AB4]
          real _t0AA3#1 = Probe<tensor[2],real>(F084C,pos0A96);
          real _t0AA5#1 = Probe<tensor[2],real>(T0844,v02086A);
          real _t0AA7#2 = Sub<real>(_t0AA3,_t0AA5);
          real _t0AAF#1 = Mul<real>(_t0AA7,_t0AA7);
          real score0AB1#1 = Add<real>(score0A83,_t0AAF);
          goto JOIN0AA2
        JOIN0AA2:  preds = [ASSIGN0AB3,COND0AB4]
          real score0AB2#2 = phi(score0AB1,score0A83)
          real _t0AB5#1 = Dot<tensor[2]>(r009F8,v030872);
          real _t0AB7#1 = Dot<tensor[2]>(r10A26,v030872);
          tensor[2] _t0AB9#1 = <tensor[2]>[_t0AB5,_t0AB7];
          tensor[2] pos0AC5#3 = Add<tensor[2]>(_t0AB9,_t0A36);
          bool _t0AC8#1 = Inside<2>(pos0AC5,F084C);
          if _t0AC8 then goto ASSIGN0ACD else goto ASSIGN0ACF
        ASSIGN0ACD:  preds = [COND0AD0]
          bool _t0ACB#1 = Inside<2>(v030872,T0844);
          goto JOIN0ACA
        JOIN0ACA:  preds = [ASSIGN0ACD,ASSIGN0ACF]
          bool _t0ACC#1 = phi(_t0ACB,_t0ACE)
          if _t0ACC then goto ASSIGN0AD3 else goto JOIN0AD1
        ASSIGN0AD3:  preds = [COND0AE3]
          real _t0AD2#1 = Probe<tensor[2],real>(F084C,pos0AC5);
          real _t0AD4#1 = Probe<tensor[2],real>(T0844,v030872);
          real _t0AD6#2 = Sub<real>(_t0AD2,_t0AD4);
          real _t0ADE#1 = Mul<real>(_t0AD6,_t0AD6);
          real score0AE0#1 = Add<real>(score0AB2,_t0ADE);
          goto JOIN0AD1
        JOIN0AD1:  preds = [ASSIGN0AE2,COND0AE3]
          real score0AE1#2 = phi(score0AE0,score0AB2)
          real _t0AE4#1 = Dot<tensor[2]>(r009F8,v04087A);
          real _t0AE6#1 = Dot<tensor[2]>(r10A26,v04087A);
          tensor[2] _t0AE8#1 = <tensor[2]>[_t0AE4,_t0AE6];
          tensor[2] pos0AF4#3 = Add<tensor[2]>(_t0AE8,_t0A36);
          bool _t0AF7#1 = Inside<2>(pos0AF4,F084C);
          if _t0AF7 then goto ASSIGN0AFC else goto ASSIGN0AFE
        ASSIGN0AFC:  preds = [COND0AFF]
          bool _t0AFA#1 = Inside<2>(v04087A,T0844);
          goto JOIN0AF9
        JOIN0AF9:  preds = [ASSIGN0AFC,ASSIGN0AFE]
          bool _t0AFB#1 = phi(_t0AFA,_t0AFD)
          if _t0AFB then goto ASSIGN0B02 else goto JOIN0B00
        ASSIGN0B02:  preds = [COND0B12]
          real _t0B01#1 = Probe<tensor[2],real>(F084C,pos0AF4);
          real _t0B03#1 = Probe<tensor[2],real>(T0844,v04087A);
          real _t0B05#2 = Sub<real>(_t0B01,_t0B03);
          real _t0B0D#1 = Mul<real>(_t0B05,_t0B05);
          real score0B0F#1 = Add<real>(score0AE1,_t0B0D);
          goto JOIN0B00
        JOIN0B00:  preds = [ASSIGN0B11,COND0B12]
          real score0B10#2 = phi(score0B0F,score0AE1)
          real _t0B13#1 = Dot<tensor[2]>(r009F8,v050882);
          real _t0B15#1 = Dot<tensor[2]>(r10A26,v050882);
          tensor[2] _t0B17#1 = <tensor[2]>[_t0B13,_t0B15];
          tensor[2] pos0B23#3 = Add<tensor[2]>(_t0B17,_t0A36);
          bool _t0B26#1 = Inside<2>(pos0B23,F084C);
          if _t0B26 then goto ASSIGN0B2B else goto ASSIGN0B2D
        ASSIGN0B2B:  preds = [COND0B2E]
          bool _t0B29#1 = Inside<2>(v050882,T0844);
          goto JOIN0B28
        JOIN0B28:  preds = [ASSIGN0B2B,ASSIGN0B2D]
          bool _t0B2A#1 = phi(_t0B29,_t0B2C)
          if _t0B2A then goto ASSIGN0B31 else goto JOIN0B2F
        ASSIGN0B31:  preds = [COND0B41]
          real _t0B30#1 = Probe<tensor[2],real>(F084C,pos0B23);
          real _t0B32#1 = Probe<tensor[2],real>(T0844,v050882);
          real _t0B34#2 = Sub<real>(_t0B30,_t0B32);
          real _t0B3C#1 = Mul<real>(_t0B34,_t0B34);
          real score0B3E#1 = Add<real>(score0B10,_t0B3C);
          goto JOIN0B2F
        JOIN0B2F:  preds = [ASSIGN0B40,COND0B41]
          real score0B3F#2 = phi(score0B3E,score0B10)
          real _t0B42#1 = Dot<tensor[2]>(r009F8,v06088C);
          real _t0B44#1 = Dot<tensor[2]>(r10A26,v06088C);
          tensor[2] _t0B46#1 = <tensor[2]>[_t0B42,_t0B44];
          tensor[2] pos0B52#3 = Add<tensor[2]>(_t0B46,_t0A36);
          bool _t0B55#1 = Inside<2>(pos0B52,F084C);
          if _t0B55 then goto ASSIGN0B5A else goto ASSIGN0B5C
        ASSIGN0B5A:  preds = [COND0B5D]
          bool _t0B58#1 = Inside<2>(v06088C,T0844);
          goto JOIN0B57
        JOIN0B57:  preds = [ASSIGN0B5A,ASSIGN0B5C]
          bool _t0B59#1 = phi(_t0B58,_t0B5B)
          if _t0B59 then goto ASSIGN0B60 else goto JOIN0B5E
        ASSIGN0B60:  preds = [COND0B70]
          real _t0B5F#1 = Probe<tensor[2],real>(F084C,pos0B52);
          real _t0B61#1 = Probe<tensor[2],real>(T0844,v06088C);
          real _t0B63#2 = Sub<real>(_t0B5F,_t0B61);
          real _t0B6B#1 = Mul<real>(_t0B63,_t0B63);
          real score0B6D#1 = Add<real>(score0B3F,_t0B6B);
          goto JOIN0B5E
        JOIN0B5E:  preds = [ASSIGN0B6F,COND0B70]
          real score0B6E#2 = phi(score0B6D,score0B3F)
          real _t0B71#1 = Dot<tensor[2]>(r009F8,v070896);
          real _t0B73#1 = Dot<tensor[2]>(r10A26,v070896);
          tensor[2] _t0B75#1 = <tensor[2]>[_t0B71,_t0B73];
          tensor[2] pos0B81#3 = Add<tensor[2]>(_t0B75,_t0A36);
          bool _t0B84#1 = Inside<2>(pos0B81,F084C);
          if _t0B84 then goto ASSIGN0B89 else goto ASSIGN0B8B
        ASSIGN0B89:  preds = [COND0B8C]
          bool _t0B87#1 = Inside<2>(v070896,T0844);
          goto JOIN0B86
        JOIN0B86:  preds = [ASSIGN0B89,ASSIGN0B8B]
          bool _t0B88#1 = phi(_t0B87,_t0B8A)
          if _t0B88 then goto ASSIGN0B8F else goto JOIN0B8D
        ASSIGN0B8F:  preds = [COND0B9F]
          real _t0B8E#1 = Probe<tensor[2],real>(F084C,pos0B81);
          real _t0B90#1 = Probe<tensor[2],real>(T0844,v070896);
          real _t0B92#2 = Sub<real>(_t0B8E,_t0B90);
          real _t0B9A#1 = Mul<real>(_t0B92,_t0B92);
          real score0B9C#1 = Add<real>(score0B6E,_t0B9A);
          goto JOIN0B8D
        JOIN0B8D:  preds = [ASSIGN0B9E,COND0B9F]
          real score0B9D#2 = phi(score0B9C,score0B6E)
          real _t0BA0#1 = Dot<tensor[2]>(r009F8,v0808A0);
          real _t0BA2#1 = Dot<tensor[2]>(r10A26,v0808A0);
          tensor[2] _t0BA4#1 = <tensor[2]>[_t0BA0,_t0BA2];
          tensor[2] pos0BB0#3 = Add<tensor[2]>(_t0BA4,_t0A36);
          bool _t0BB3#1 = Inside<2>(pos0BB0,F084C);
          if _t0BB3 then goto ASSIGN0BB8 else goto ASSIGN0BBA
        ASSIGN0BB8:  preds = [COND0BBB]
          bool _t0BB6#1 = Inside<2>(v0808A0,T0844);
          goto JOIN0BB5
        JOIN0BB5:  preds = [ASSIGN0BB8,ASSIGN0BBA]
          bool _t0BB7#1 = phi(_t0BB6,_t0BB9)
          if _t0BB7 then goto ASSIGN0BBE else goto JOIN0BBC
        ASSIGN0BBE:  preds = [COND0BCE]
          real _t0BBD#1 = Probe<tensor[2],real>(F084C,pos0BB0);
          real _t0BBF#1 = Probe<tensor[2],real>(T0844,v0808A0);
          real _t0BC1#2 = Sub<real>(_t0BBD,_t0BBF);
          real _t0BC9#1 = Mul<real>(_t0BC1,_t0BC1);
          real score0BCB#1 = Add<real>(score0B9D,_t0BC9);
          goto JOIN0BBC
        JOIN0BBC:  preds = [ASSIGN0BCD,COND0BCE]
          real score0BCC#2 = phi(score0BCB,score0B9D)
          real _t0BCF#1 = Dot<tensor[2]>(r009F8,v0908A8);
          real _t0BD1#1 = Dot<tensor[2]>(r10A26,v0908A8);
          tensor[2] _t0BD3#1 = <tensor[2]>[_t0BCF,_t0BD1];
          tensor[2] pos0BDF#3 = Add<tensor[2]>(_t0BD3,_t0A36);
          bool _t0BE2#1 = Inside<2>(pos0BDF,F084C);
          if _t0BE2 then goto ASSIGN0BE7 else goto ASSIGN0BE9
        ASSIGN0BE7:  preds = [COND0BEA]
          bool _t0BE5#1 = Inside<2>(v0908A8,T0844);
          goto JOIN0BE4
        JOIN0BE4:  preds = [ASSIGN0BE7,ASSIGN0BE9]
          bool _t0BE6#1 = phi(_t0BE5,_t0BE8)
          if _t0BE6 then goto ASSIGN0BED else goto JOIN0BEB
        ASSIGN0BED:  preds = [COND0BFD]
          real _t0BEC#1 = Probe<tensor[2],real>(F084C,pos0BDF);
          real _t0BEE#1 = Probe<tensor[2],real>(T0844,v0908A8);
          real _t0BF0#2 = Sub<real>(_t0BEC,_t0BEE);
          real _t0BF8#1 = Mul<real>(_t0BF0,_t0BF0);
          real score0BFA#1 = Add<real>(score0BCC,_t0BF8);
          goto JOIN0BEB
        JOIN0BEB:  preds = [ASSIGN0BFC,COND0BFD]
          real score0BFB#2 = phi(score0BFA,score0BCC)
          real _t0BFE#1 = Dot<tensor[2]>(r009F8,v1008B0);
          real _t0C00#1 = Dot<tensor[2]>(r10A26,v1008B0);
          tensor[2] _t0C02#1 = <tensor[2]>[_t0BFE,_t0C00];
          tensor[2] pos0C0E#3 = Add<tensor[2]>(_t0C02,_t0A36);
          bool _t0C11#1 = Inside<2>(pos0C0E,F084C);
          if _t0C11 then goto ASSIGN0C16 else goto ASSIGN0C18
        ASSIGN0C16:  preds = [COND0C19]
          bool _t0C14#1 = Inside<2>(v1008B0,T0844);
          goto JOIN0C13
        JOIN0C13:  preds = [ASSIGN0C16,ASSIGN0C18]
          bool _t0C15#1 = phi(_t0C14,_t0C17)
          if _t0C15 then goto ASSIGN0C1C else goto JOIN0C1A
        ASSIGN0C1C:  preds = [COND0C2C]
          real _t0C1B#1 = Probe<tensor[2],real>(F084C,pos0C0E);
          real _t0C1D#1 = Probe<tensor[2],real>(T0844,v1008B0);
          real _t0C1F#2 = Sub<real>(_t0C1B,_t0C1D);
          real _t0C27#1 = Mul<real>(_t0C1F,_t0C1F);
          real score0C29#1 = Add<real>(score0BFB,_t0C27);
          goto JOIN0C1A
        JOIN0C1A:  preds = [ASSIGN0C2B,COND0C2C]
          real score0C2A#2 = phi(score0C29,score0BFB)
          real _t0C2D#1 = Dot<tensor[2]>(r009F8,v1108B8);
          real _t0C2F#1 = Dot<tensor[2]>(r10A26,v1108B8);
          tensor[2] _t0C31#1 = <tensor[2]>[_t0C2D,_t0C2F];
          tensor[2] pos0C3D#3 = Add<tensor[2]>(_t0C31,_t0A36);
          bool _t0C40#1 = Inside<2>(pos0C3D,F084C);
          if _t0C40 then goto ASSIGN0C45 else goto ASSIGN0C47
        ASSIGN0C45:  preds = [COND0C48]
          bool _t0C43#1 = Inside<2>(v1108B8,T0844);
          goto JOIN0C42
        JOIN0C42:  preds = [ASSIGN0C45,ASSIGN0C47]
          bool _t0C44#1 = phi(_t0C43,_t0C46)
          if _t0C44 then goto ASSIGN0C4B else goto JOIN0C49
        ASSIGN0C4B:  preds = [COND0C5B]
          real _t0C4A#1 = Probe<tensor[2],real>(F084C,pos0C3D);
          real _t0C4C#1 = Probe<tensor[2],real>(T0844,v1108B8);
          real _t0C4E#2 = Sub<real>(_t0C4A,_t0C4C);
          real _t0C56#1 = Mul<real>(_t0C4E,_t0C4E);
          real score0C58#1 = Add<real>(score0C2A,_t0C56);
          goto JOIN0C49
        JOIN0C49:  preds = [ASSIGN0C5A,COND0C5B]
          real score0C59#2 = phi(score0C58,score0C2A)
          real _t0C5C#1 = Dot<tensor[2]>(r009F8,v1208C2);
          real _t0C5E#1 = Dot<tensor[2]>(r10A26,v1208C2);
          tensor[2] _t0C60#1 = <tensor[2]>[_t0C5C,_t0C5E];
          tensor[2] pos0C6C#3 = Add<tensor[2]>(_t0C60,_t0A36);
          bool _t0C6F#1 = Inside<2>(pos0C6C,F084C);
          if _t0C6F then goto ASSIGN0C74 else goto ASSIGN0C76
        ASSIGN0C74:  preds = [COND0C77]
          bool _t0C72#1 = Inside<2>(v1208C2,T0844);
          goto JOIN0C71
        JOIN0C71:  preds = [ASSIGN0C74,ASSIGN0C76]
          bool _t0C73#1 = phi(_t0C72,_t0C75)
          if _t0C73 then goto ASSIGN0C7A else goto JOIN0C78
        ASSIGN0C7A:  preds = [COND0C8A]
          real _t0C79#1 = Probe<tensor[2],real>(F084C,pos0C6C);
          real _t0C7B#1 = Probe<tensor[2],real>(T0844,v1208C2);
          real _t0C7D#2 = Sub<real>(_t0C79,_t0C7B);
          real _t0C85#1 = Mul<real>(_t0C7D,_t0C7D);
          real score0C87#1 = Add<real>(score0C59,_t0C85);
          goto JOIN0C78
        JOIN0C78:  preds = [ASSIGN0C89,COND0C8A]
          real score0C88#2 = phi(score0C87,score0C59)
          real _t0C8B#1 = Dot<tensor[2]>(r009F8,v1308CC);
          real _t0C8D#1 = Dot<tensor[2]>(r10A26,v1308CC);
          tensor[2] _t0C8F#1 = <tensor[2]>[_t0C8B,_t0C8D];
          tensor[2] pos0C9B#3 = Add<tensor[2]>(_t0C8F,_t0A36);
          bool _t0C9E#1 = Inside<2>(pos0C9B,F084C);
          if _t0C9E then goto ASSIGN0CA3 else goto ASSIGN0CA5
        ASSIGN0CA3:  preds = [COND0CA6]
          bool _t0CA1#1 = Inside<2>(v1308CC,T0844);
          goto JOIN0CA0
        JOIN0CA0:  preds = [ASSIGN0CA3,ASSIGN0CA5]
          bool _t0CA2#1 = phi(_t0CA1,_t0CA4)
          if _t0CA2 then goto ASSIGN0CA9 else goto JOIN0CA7
        ASSIGN0CA9:  preds = [COND0CB9]
          real _t0CA8#1 = Probe<tensor[2],real>(F084C,pos0C9B);
          real _t0CAA#1 = Probe<tensor[2],real>(T0844,v1308CC);
          real _t0CAC#2 = Sub<real>(_t0CA8,_t0CAA);
          real _t0CB4#1 = Mul<real>(_t0CAC,_t0CAC);
          real score0CB6#1 = Add<real>(score0C88,_t0CB4);
          goto JOIN0CA7
        JOIN0CA7:  preds = [ASSIGN0CB8,COND0CB9]
          real score0CB7#2 = phi(score0CB6,score0C88)
          real _t0CBA#1 = Dot<tensor[2]>(r009F8,v1408D6);
          real _t0CBC#1 = Dot<tensor[2]>(r10A26,v1408D6);
          tensor[2] _t0CBE#1 = <tensor[2]>[_t0CBA,_t0CBC];
          tensor[2] pos0CCA#3 = Add<tensor[2]>(_t0CBE,_t0A36);
          bool _t0CCD#1 = Inside<2>(pos0CCA,F084C);
          if _t0CCD then goto ASSIGN0CD2 else goto ASSIGN0CD4
        ASSIGN0CD2:  preds = [COND0CD5]
          bool _t0CD0#1 = Inside<2>(v1408D6,T0844);
          goto JOIN0CCF
        JOIN0CCF:  preds = [ASSIGN0CD2,ASSIGN0CD4]
          bool _t0CD1#1 = phi(_t0CD0,_t0CD3)
          if _t0CD1 then goto ASSIGN0CD8 else goto JOIN0CD6
        ASSIGN0CD8:  preds = [COND0CE8]
          real _t0CD7#1 = Probe<tensor[2],real>(F084C,pos0CCA);
          real _t0CD9#1 = Probe<tensor[2],real>(T0844,v1408D6);
          real _t0CDB#2 = Sub<real>(_t0CD7,_t0CD9);
          real _t0CE3#1 = Mul<real>(_t0CDB,_t0CDB);
          real score0CE5#1 = Add<real>(score0CB7,_t0CE3);
          goto JOIN0CD6
        JOIN0CD6:  preds = [ASSIGN0CE7,COND0CE8]
          real score0CE6#2 = phi(score0CE5,score0CB7)
          real _t0CE9#1 = Dot<tensor[2]>(r009F8,v1508DE);
          real _t0CEB#1 = Dot<tensor[2]>(r10A26,v1508DE);
          tensor[2] _t0CED#1 = <tensor[2]>[_t0CE9,_t0CEB];
          tensor[2] pos0CF9#3 = Add<tensor[2]>(_t0CED,_t0A36);
          bool _t0CFC#1 = Inside<2>(pos0CF9,F084C);
          if _t0CFC then goto ASSIGN0D01 else goto ASSIGN0D03
        ASSIGN0D01:  preds = [COND0D04]
          bool _t0CFF#1 = Inside<2>(v1508DE,T0844);
          goto JOIN0CFE
        JOIN0CFE:  preds = [ASSIGN0D01,ASSIGN0D03]
          bool _t0D00#1 = phi(_t0CFF,_t0D02)
          if _t0D00 then goto ASSIGN0D07 else goto JOIN0D05
        ASSIGN0D07:  preds = [COND0D17]
          real _t0D06#1 = Probe<tensor[2],real>(F084C,pos0CF9);
          real _t0D08#1 = Probe<tensor[2],real>(T0844,v1508DE);
          real _t0D0A#2 = Sub<real>(_t0D06,_t0D08);
          real _t0D12#1 = Mul<real>(_t0D0A,_t0D0A);
          real score0D14#1 = Add<real>(score0CE6,_t0D12);
          goto JOIN0D05
        JOIN0D05:  preds = [ASSIGN0D16,COND0D17]
          real score0D15#2 = phi(score0D14,score0CE6)
          real _t0D18#1 = Dot<tensor[2]>(r009F8,v1608E6);
          real _t0D1A#1 = Dot<tensor[2]>(r10A26,v1608E6);
          tensor[2] _t0D1C#1 = <tensor[2]>[_t0D18,_t0D1A];
          tensor[2] pos0D28#3 = Add<tensor[2]>(_t0D1C,_t0A36);
          bool _t0D2B#1 = Inside<2>(pos0D28,F084C);
          if _t0D2B then goto ASSIGN0D30 else goto ASSIGN0D32
        ASSIGN0D30:  preds = [COND0D33]
          bool _t0D2E#1 = Inside<2>(v1608E6,T0844);
          goto JOIN0D2D
        JOIN0D2D:  preds = [ASSIGN0D30,ASSIGN0D32]
          bool _t0D2F#1 = phi(_t0D2E,_t0D31)
          if _t0D2F then goto ASSIGN0D36 else goto JOIN0D34
        ASSIGN0D36:  preds = [COND0D46]
          real _t0D35#1 = Probe<tensor[2],real>(F084C,pos0D28);
          real _t0D37#1 = Probe<tensor[2],real>(T0844,v1608E6);
          real _t0D39#2 = Sub<real>(_t0D35,_t0D37);
          real _t0D41#1 = Mul<real>(_t0D39,_t0D39);
          real score0D43#1 = Add<real>(score0D15,_t0D41);
          goto JOIN0D34
        JOIN0D34:  preds = [ASSIGN0D45,COND0D46]
          real score0D44#2 = phi(score0D43,score0D15)
          real _t0D47#1 = Dot<tensor[2]>(r009F8,v1708EE);
          real _t0D49#1 = Dot<tensor[2]>(r10A26,v1708EE);
          tensor[2] _t0D4B#1 = <tensor[2]>[_t0D47,_t0D49];
          tensor[2] pos0D57#3 = Add<tensor[2]>(_t0D4B,_t0A36);
          bool _t0D5A#1 = Inside<2>(pos0D57,F084C);
          if _t0D5A then goto ASSIGN0D5F else goto ASSIGN0D61
        ASSIGN0D5F:  preds = [COND0D62]
          bool _t0D5D#1 = Inside<2>(v1708EE,T0844);
          goto JOIN0D5C
        JOIN0D5C:  preds = [ASSIGN0D5F,ASSIGN0D61]
          bool _t0D5E#1 = phi(_t0D5D,_t0D60)
          if _t0D5E then goto ASSIGN0D65 else goto JOIN0D63
        ASSIGN0D65:  preds = [COND0D75]
          real _t0D64#1 = Probe<tensor[2],real>(F084C,pos0D57);
          real _t0D66#1 = Probe<tensor[2],real>(T0844,v1708EE);
          real _t0D68#2 = Sub<real>(_t0D64,_t0D66);
          real _t0D70#1 = Mul<real>(_t0D68,_t0D68);
          real score0D72#1 = Add<real>(score0D44,_t0D70);
          goto JOIN0D63
        JOIN0D63:  preds = [ASSIGN0D74,COND0D75]
          real score0D73#2 = phi(score0D72,score0D44)
          real _t0D76#1 = Dot<tensor[2]>(r009F8,v1808F6);
          real _t0D78#1 = Dot<tensor[2]>(r10A26,v1808F6);
          tensor[2] _t0D7A#1 = <tensor[2]>[_t0D76,_t0D78];
          tensor[2] pos0D86#3 = Add<tensor[2]>(_t0D7A,_t0A36);
          bool _t0D89#1 = Inside<2>(pos0D86,F084C);
          if _t0D89 then goto ASSIGN0D8E else goto ASSIGN0D90
        ASSIGN0D8E:  preds = [COND0D91]
          bool _t0D8C#1 = Inside<2>(v1808F6,T0844);
          goto JOIN0D8B
        JOIN0D8B:  preds = [ASSIGN0D8E,ASSIGN0D90]
          bool _t0D8D#1 = phi(_t0D8C,_t0D8F)
          if _t0D8D then goto ASSIGN0D94 else goto JOIN0D92
        ASSIGN0D94:  preds = [COND0DA4]
          real _t0D93#1 = Probe<tensor[2],real>(F084C,pos0D86);
          real _t0D95#1 = Probe<tensor[2],real>(T0844,v1808F6);
          real _t0D97#2 = Sub<real>(_t0D93,_t0D95);
          real _t0D9F#1 = Mul<real>(_t0D97,_t0D97);
          real score0DA1#1 = Add<real>(score0D73,_t0D9F);
          goto JOIN0D92
        JOIN0D92:  preds = [ASSIGN0DA3,COND0DA4]
          real score0DA2#2 = phi(score0DA1,score0D73)
          real _t0DA5#1 = Dot<tensor[2]>(r009F8,v1908FE);
          real _t0DA7#1 = Dot<tensor[2]>(r10A26,v1908FE);
          tensor[2] _t0DA9#1 = <tensor[2]>[_t0DA5,_t0DA7];
          tensor[2] pos0DB5#3 = Add<tensor[2]>(_t0DA9,_t0A36);
          bool _t0DB8#1 = Inside<2>(pos0DB5,F084C);
          if _t0DB8 then goto ASSIGN0DBD else goto ASSIGN0DBF
        ASSIGN0DBD:  preds = [COND0DC0]
          bool _t0DBB#1 = Inside<2>(v1908FE,T0844);
          goto JOIN0DBA
        JOIN0DBA:  preds = [ASSIGN0DBD,ASSIGN0DBF]
          bool _t0DBC#1 = phi(_t0DBB,_t0DBE)
          if _t0DBC then goto ASSIGN0DC3 else goto JOIN0DC1
        ASSIGN0DC3:  preds = [COND0DD3]
          real _t0DC2#1 = Probe<tensor[2],real>(F084C,pos0DB5);
          real _t0DC4#1 = Probe<tensor[2],real>(T0844,v1908FE);
          real _t0DC6#2 = Sub<real>(_t0DC2,_t0DC4);
          real _t0DCE#1 = Mul<real>(_t0DC6,_t0DC6);
          real score0DD0#1 = Add<real>(score0DA2,_t0DCE);
          goto JOIN0DC1
        JOIN0DC1:  preds = [ASSIGN0DD2,COND0DD3]
          real score0DD1#2 = phi(score0DD0,score0DA2)
          real _t0DD4#1 = Dot<tensor[2]>(r009F8,v200906);
          real _t0DD6#1 = Dot<tensor[2]>(r10A26,v200906);
          tensor[2] _t0DD8#1 = <tensor[2]>[_t0DD4,_t0DD6];
          tensor[2] pos0DE4#3 = Add<tensor[2]>(_t0DD8,_t0A36);
          bool _t0DE7#1 = Inside<2>(pos0DE4,F084C);
          if _t0DE7 then goto ASSIGN0DEC else goto ASSIGN0DEE
        ASSIGN0DEC:  preds = [COND0DEF]
          bool _t0DEA#1 = Inside<2>(v200906,T0844);
          goto JOIN0DE9
        JOIN0DE9:  preds = [ASSIGN0DEC,ASSIGN0DEE]
          bool _t0DEB#1 = phi(_t0DEA,_t0DED)
          if _t0DEB then goto ASSIGN0DF2 else goto JOIN0DF0
        ASSIGN0DF2:  preds = [COND0E02]
          real _t0DF1#1 = Probe<tensor[2],real>(F084C,pos0DE4);
          real _t0DF3#1 = Probe<tensor[2],real>(T0844,v200906);
          real _t0DF5#2 = Sub<real>(_t0DF1,_t0DF3);
          real _t0DFD#1 = Mul<real>(_t0DF5,_t0DF5);
          real score0DFF#1 = Add<real>(score0DD1,_t0DFD);
          goto JOIN0DF0
        JOIN0DF0:  preds = [ASSIGN0E01,COND0E02]
          real score0E00#2 = phi(score0DFF,score0DD1)
          real _t0E03#1 = Dot<tensor[2]>(r009F8,v21090C);
          real _t0E05#1 = Dot<tensor[2]>(r10A26,v21090C);
          tensor[2] _t0E07#1 = <tensor[2]>[_t0E03,_t0E05];
          tensor[2] pos0E13#3 = Add<tensor[2]>(_t0E07,_t0A36);
          bool _t0E16#1 = Inside<2>(pos0E13,F084C);
          if _t0E16 then goto ASSIGN0E1B else goto ASSIGN0E1D
        ASSIGN0E1B:  preds = [COND0E1E]
          bool _t0E19#1 = Inside<2>(v21090C,T0844);
          goto JOIN0E18
        JOIN0E18:  preds = [ASSIGN0E1B,ASSIGN0E1D]
          bool _t0E1A#1 = phi(_t0E19,_t0E1C)
          if _t0E1A then goto ASSIGN0E21 else goto JOIN0E1F
        ASSIGN0E21:  preds = [COND0E31]
          real _t0E20#1 = Probe<tensor[2],real>(F084C,pos0E13);
          real _t0E22#1 = Probe<tensor[2],real>(T0844,v21090C);
          real _t0E24#2 = Sub<real>(_t0E20,_t0E22);
          real _t0E2C#1 = Mul<real>(_t0E24,_t0E24);
          real score0E2E#1 = Add<real>(score0E00,_t0E2C);
          goto JOIN0E1F
        JOIN0E1F:  preds = [ASSIGN0E30,COND0E31]
          real score0E2F#2 = phi(score0E2E,score0E00)
          real _t0E32#1 = Dot<tensor[2]>(r009F8,v220912);
          real _t0E34#1 = Dot<tensor[2]>(r10A26,v220912);
          tensor[2] _t0E36#1 = <tensor[2]>[_t0E32,_t0E34];
          tensor[2] pos0E42#3 = Add<tensor[2]>(_t0E36,_t0A36);
          bool _t0E45#1 = Inside<2>(pos0E42,F084C);
          if _t0E45 then goto ASSIGN0E4A else goto ASSIGN0E4C
        ASSIGN0E4A:  preds = [COND0E4D]
          bool _t0E48#1 = Inside<2>(v220912,T0844);
          goto JOIN0E47
        JOIN0E47:  preds = [ASSIGN0E4A,ASSIGN0E4C]
          bool _t0E49#1 = phi(_t0E48,_t0E4B)
          if _t0E49 then goto ASSIGN0E50 else goto JOIN0E4E
        ASSIGN0E50:  preds = [COND0E60]
          real _t0E4F#1 = Probe<tensor[2],real>(F084C,pos0E42);
          real _t0E51#1 = Probe<tensor[2],real>(T0844,v220912);
          real _t0E53#2 = Sub<real>(_t0E4F,_t0E51);
          real _t0E5B#1 = Mul<real>(_t0E53,_t0E53);
          real score0E5D#1 = Add<real>(score0E2F,_t0E5B);
          goto JOIN0E4E
        JOIN0E4E:  preds = [ASSIGN0E5F,COND0E60]
          real score0E5E#2 = phi(score0E5D,score0E2F)
          real _t0E61#1 = Dot<tensor[2]>(r009F8,v230918);
          real _t0E63#1 = Dot<tensor[2]>(r10A26,v230918);
          tensor[2] _t0E65#1 = <tensor[2]>[_t0E61,_t0E63];
          tensor[2] pos0E71#3 = Add<tensor[2]>(_t0E65,_t0A36);
          bool _t0E74#1 = Inside<2>(pos0E71,F084C);
          if _t0E74 then goto ASSIGN0E79 else goto ASSIGN0E7B
        ASSIGN0E79:  preds = [COND0E7C]
          bool _t0E77#1 = Inside<2>(v230918,T0844);
          goto JOIN0E76
        JOIN0E76:  preds = [ASSIGN0E79,ASSIGN0E7B]
          bool _t0E78#1 = phi(_t0E77,_t0E7A)
          if _t0E78 then goto ASSIGN0E7F else goto JOIN0E7D
        ASSIGN0E7F:  preds = [COND0E8F]
          real _t0E7E#1 = Probe<tensor[2],real>(F084C,pos0E71);
          real _t0E80#1 = Probe<tensor[2],real>(T0844,v230918);
          real _t0E82#2 = Sub<real>(_t0E7E,_t0E80);
          real _t0E8A#1 = Mul<real>(_t0E82,_t0E82);
          real score0E8C#1 = Add<real>(score0E5E,_t0E8A);
          goto JOIN0E7D
        JOIN0E7D:  preds = [ASSIGN0E8E,COND0E8F]
          real score0E8D#2 = phi(score0E8C,score0E5E)
          real _t0E90#1 = Dot<tensor[2]>(r009F8,v240920);
          real _t0E92#1 = Dot<tensor[2]>(r10A26,v240920);
          tensor[2] _t0E94#1 = <tensor[2]>[_t0E90,_t0E92];
          tensor[2] pos0EA0#3 = Add<tensor[2]>(_t0E94,_t0A36);
          bool _t0EA3#1 = Inside<2>(pos0EA0,F084C);
          if _t0EA3 then goto ASSIGN0EA8 else goto ASSIGN0EAA
        ASSIGN0EA8:  preds = [COND0EAB]
          bool _t0EA6#1 = Inside<2>(v240920,T0844);
          goto JOIN0EA5
        JOIN0EA5:  preds = [ASSIGN0EA8,ASSIGN0EAA]
          bool _t0EA7#1 = phi(_t0EA6,_t0EA9)
          if _t0EA7 then goto ASSIGN0EAE else goto JOIN0EAC
        ASSIGN0EAE:  preds = [COND0EBE]
          real _t0EAD#1 = Probe<tensor[2],real>(F084C,pos0EA0);
          real _t0EAF#1 = Probe<tensor[2],real>(T0844,v240920);
          real _t0EB1#2 = Sub<real>(_t0EAD,_t0EAF);
          real _t0EB9#1 = Mul<real>(_t0EB1,_t0EB1);
          real score0EBB#1 = Add<real>(score0E8D,_t0EB9);
          goto JOIN0EAC
        JOIN0EAC:  preds = [ASSIGN0EBD,COND0EBE]
          real score0EBC#2 = phi(score0EBB,score0E8D)
          real _t0EBF#1 = Dot<tensor[2]>(r009F8,v250928);
          real _t0EC1#1 = Dot<tensor[2]>(r10A26,v250928);
          tensor[2] _t0EC3#1 = <tensor[2]>[_t0EBF,_t0EC1];
          tensor[2] pos0ECF#3 = Add<tensor[2]>(_t0EC3,_t0A36);
          bool _t0ED2#1 = Inside<2>(pos0ECF,F084C);
          if _t0ED2 then goto ASSIGN0ED7 else goto ASSIGN0ED9
        ASSIGN0ED7:  preds = [COND0EDA]
          bool _t0ED5#1 = Inside<2>(v250928,T0844);
          goto JOIN0ED4
        JOIN0ED4:  preds = [ASSIGN0ED7,ASSIGN0ED9]
          bool _t0ED6#1 = phi(_t0ED5,_t0ED8)
          if _t0ED6 then goto ASSIGN0EDD else goto JOIN0EDB
        ASSIGN0EDD:  preds = [COND0EED]
          real _t0EDC#1 = Probe<tensor[2],real>(F084C,pos0ECF);
          real _t0EDE#1 = Probe<tensor[2],real>(T0844,v250928);
          real _t0EE0#2 = Sub<real>(_t0EDC,_t0EDE);
          real _t0EE8#1 = Mul<real>(_t0EE0,_t0EE0);
          real score0EEA#1 = Add<real>(score0EBC,_t0EE8);
          goto JOIN0EDB
        JOIN0EDB:  preds = [ASSIGN0EEC,COND0EED]
          real score0EEB#2 = phi(score0EEA,score0EBC)
          real _t0EEE#1 = Dot<tensor[2]>(r009F8,v260930);
          real _t0EF0#1 = Dot<tensor[2]>(r10A26,v260930);
          tensor[2] _t0EF2#1 = <tensor[2]>[_t0EEE,_t0EF0];
          tensor[2] pos0EFE#3 = Add<tensor[2]>(_t0EF2,_t0A36);
          bool _t0F01#1 = Inside<2>(pos0EFE,F084C);
          if _t0F01 then goto ASSIGN0F06 else goto ASSIGN0F08
        ASSIGN0F06:  preds = [COND0F09]
          bool _t0F04#1 = Inside<2>(v260930,T0844);
          goto JOIN0F03
        JOIN0F03:  preds = [ASSIGN0F06,ASSIGN0F08]
          bool _t0F05#1 = phi(_t0F04,_t0F07)
          if _t0F05 then goto ASSIGN0F0C else goto JOIN0F0A
        ASSIGN0F0C:  preds = [COND0F1C]
          real _t0F0B#1 = Probe<tensor[2],real>(F084C,pos0EFE);
          real _t0F0D#1 = Probe<tensor[2],real>(T0844,v260930);
          real _t0F0F#2 = Sub<real>(_t0F0B,_t0F0D);
          real _t0F17#1 = Mul<real>(_t0F0F,_t0F0F);
          real score0F19#1 = Add<real>(score0EEB,_t0F17);
          goto JOIN0F0A
        JOIN0F0A:  preds = [ASSIGN0F1B,COND0F1C]
          real score0F1A#2 = phi(score0F19,score0EEB)
          real _t0F1D#1 = Dot<tensor[2]>(r009F8,v270936);
          real _t0F1F#1 = Dot<tensor[2]>(r10A26,v270936);
          tensor[2] _t0F21#1 = <tensor[2]>[_t0F1D,_t0F1F];
          tensor[2] pos0F2D#3 = Add<tensor[2]>(_t0F21,_t0A36);
          bool _t0F30#1 = Inside<2>(pos0F2D,F084C);
          if _t0F30 then goto ASSIGN0F35 else goto ASSIGN0F37
        ASSIGN0F35:  preds = [COND0F38]
          bool _t0F33#1 = Inside<2>(v270936,T0844);
          goto JOIN0F32
        JOIN0F32:  preds = [ASSIGN0F35,ASSIGN0F37]
          bool _t0F34#1 = phi(_t0F33,_t0F36)
          if _t0F34 then goto ASSIGN0F3B else goto JOIN0F39
        ASSIGN0F3B:  preds = [COND0F4B]
          real _t0F3A#1 = Probe<tensor[2],real>(F084C,pos0F2D);
          real _t0F3C#1 = Probe<tensor[2],real>(T0844,v270936);
          real _t0F3E#2 = Sub<real>(_t0F3A,_t0F3C);
          real _t0F46#1 = Mul<real>(_t0F3E,_t0F3E);
          real score0F48#1 = Add<real>(score0F1A,_t0F46);
          goto JOIN0F39
        JOIN0F39:  preds = [ASSIGN0F4A,COND0F4B]
          real score0F49#2 = phi(score0F48,score0F1A)
          real _t0F4C#1 = Dot<tensor[2]>(r009F8,v28093C);
          real _t0F4E#1 = Dot<tensor[2]>(r10A26,v28093C);
          tensor[2] _t0F50#1 = <tensor[2]>[_t0F4C,_t0F4E];
          tensor[2] pos0F5C#3 = Add<tensor[2]>(_t0F50,_t0A36);
          bool _t0F5F#1 = Inside<2>(pos0F5C,F084C);
          if _t0F5F then goto ASSIGN0F64 else goto ASSIGN0F66
        ASSIGN0F64:  preds = [COND0F67]
          bool _t0F62#1 = Inside<2>(v28093C,T0844);
          goto JOIN0F61
        JOIN0F61:  preds = [ASSIGN0F64,ASSIGN0F66]
          bool _t0F63#1 = phi(_t0F62,_t0F65)
          if _t0F63 then goto ASSIGN0F6A else goto JOIN0F68
        ASSIGN0F6A:  preds = [COND0F7A]
          real _t0F69#1 = Probe<tensor[2],real>(F084C,pos0F5C);
          real _t0F6B#1 = Probe<tensor[2],real>(T0844,v28093C);
          real _t0F6D#2 = Sub<real>(_t0F69,_t0F6B);
          real _t0F75#1 = Mul<real>(_t0F6D,_t0F6D);
          real score0F77#1 = Add<real>(score0F49,_t0F75);
          goto JOIN0F68
        JOIN0F68:  preds = [ASSIGN0F79,COND0F7A]
          real score0F78#2 = phi(score0F77,score0F49)
          real _t0F7B#1 = Dot<tensor[2]>(r009F8,v290942);
          real _t0F7D#1 = Dot<tensor[2]>(r10A26,v290942);
          tensor[2] _t0F7F#1 = <tensor[2]>[_t0F7B,_t0F7D];
          tensor[2] pos0F8B#3 = Add<tensor[2]>(_t0F7F,_t0A36);
          bool _t0F8E#1 = Inside<2>(pos0F8B,F084C);
          if _t0F8E then goto ASSIGN0F93 else goto ASSIGN0F95
        ASSIGN0F93:  preds = [COND0F96]
          bool _t0F91#1 = Inside<2>(v290942,T0844);
          goto JOIN0F90
        JOIN0F90:  preds = [ASSIGN0F93,ASSIGN0F95]
          bool _t0F92#1 = phi(_t0F91,_t0F94)
          if _t0F92 then goto ASSIGN0F99 else goto JOIN0F97
        ASSIGN0F99:  preds = [COND0FA9]
          real _t0F98#1 = Probe<tensor[2],real>(F084C,pos0F8B);
          real _t0F9A#1 = Probe<tensor[2],real>(T0844,v290942);
          real _t0F9C#2 = Sub<real>(_t0F98,_t0F9A);
          real _t0FA4#1 = Mul<real>(_t0F9C,_t0F9C);
          real score0FA6#1 = Add<real>(score0F78,_t0FA4);
          goto JOIN0F97
        JOIN0F97:  preds = [ASSIGN0FA8,COND0FA9]
          real score0FA7#2 = phi(score0FA6,score0F78)
          real _t0FAA#1 = Dot<tensor[2]>(r009F8,v30094A);
          real _t0FAC#1 = Dot<tensor[2]>(r10A26,v30094A);
          tensor[2] _t0FAE#1 = <tensor[2]>[_t0FAA,_t0FAC];
          tensor[2] pos0FBA#3 = Add<tensor[2]>(_t0FAE,_t0A36);
          bool _t0FBD#1 = Inside<2>(pos0FBA,F084C);
          if _t0FBD then goto ASSIGN0FC2 else goto ASSIGN0FC4
        ASSIGN0FC2:  preds = [COND0FC5]
          bool _t0FC0#1 = Inside<2>(v30094A,T0844);
          goto JOIN0FBF
        JOIN0FBF:  preds = [ASSIGN0FC2,ASSIGN0FC4]
          bool _t0FC1#1 = phi(_t0FC0,_t0FC3)
          if _t0FC1 then goto ASSIGN0FC8 else goto JOIN0FC6
        ASSIGN0FC8:  preds = [COND0FD8]
          real _t0FC7#1 = Probe<tensor[2],real>(F084C,pos0FBA);
          real _t0FC9#1 = Probe<tensor[2],real>(T0844,v30094A);
          real _t0FCB#2 = Sub<real>(_t0FC7,_t0FC9);
          real _t0FD3#1 = Mul<real>(_t0FCB,_t0FCB);
          real score0FD5#1 = Add<real>(score0FA7,_t0FD3);
          goto JOIN0FC6
        JOIN0FC6:  preds = [ASSIGN0FD7,COND0FD8]
          real score0FD6#2 = phi(score0FD5,score0FA7)
          real _t0FD9#1 = Dot<tensor[2]>(r009F8,v310952);
          real _t0FDB#1 = Dot<tensor[2]>(r10A26,v310952);
          tensor[2] _t0FDD#1 = <tensor[2]>[_t0FD9,_t0FDB];
          tensor[2] pos0FE9#3 = Add<tensor[2]>(_t0FDD,_t0A36);
          bool _t0FEC#1 = Inside<2>(pos0FE9,F084C);
          if _t0FEC then goto ASSIGN0FF1 else goto ASSIGN0FF3
        ASSIGN0FF1:  preds = [COND0FF4]
          bool _t0FEF#1 = Inside<2>(v310952,T0844);
          goto JOIN0FEE
        JOIN0FEE:  preds = [ASSIGN0FF1,ASSIGN0FF3]
          bool _t0FF0#1 = phi(_t0FEF,_t0FF2)
          if _t0FF0 then goto ASSIGN0FF7 else goto JOIN0FF5
        ASSIGN0FF7:  preds = [COND1007]
          real _t0FF6#1 = Probe<tensor[2],real>(F084C,pos0FE9);
          real _t0FF8#1 = Probe<tensor[2],real>(T0844,v310952);
          real _t0FFA#2 = Sub<real>(_t0FF6,_t0FF8);
          real _t1002#1 = Mul<real>(_t0FFA,_t0FFA);
          real score1004#1 = Add<real>(score0FD6,_t1002);
          goto JOIN0FF5
        JOIN0FF5:  preds = [ASSIGN1006,COND1007]
          real score1005#2 = phi(score1004,score0FD6)
          real _t1008#1 = Dot<tensor[2]>(r009F8,v32095A);
          real _t100A#1 = Dot<tensor[2]>(r10A26,v32095A);
          tensor[2] _t100C#1 = <tensor[2]>[_t1008,_t100A];
          tensor[2] pos1018#3 = Add<tensor[2]>(_t100C,_t0A36);
          bool _t101B#1 = Inside<2>(pos1018,F084C);
          if _t101B then goto ASSIGN1020 else goto ASSIGN1022
        ASSIGN1020:  preds = [COND1023]
          bool _t101E#1 = Inside<2>(v32095A,T0844);
          goto JOIN101D
        JOIN101D:  preds = [ASSIGN1020,ASSIGN1022]
          bool _t101F#1 = phi(_t101E,_t1021)
          if _t101F then goto ASSIGN1026 else goto JOIN1024
        ASSIGN1026:  preds = [COND1036]
          real _t1025#1 = Probe<tensor[2],real>(F084C,pos1018);
          real _t1027#1 = Probe<tensor[2],real>(T0844,v32095A);
          real _t1029#2 = Sub<real>(_t1025,_t1027);
          real _t1031#1 = Mul<real>(_t1029,_t1029);
          real score1033#1 = Add<real>(score1005,_t1031);
          goto JOIN1024
        JOIN1024:  preds = [ASSIGN1035,COND1036]
          real score1034#2 = phi(score1033,score1005)
          real _t1037#1 = Dot<tensor[2]>(r009F8,v330960);
          real _t1039#1 = Dot<tensor[2]>(r10A26,v330960);
          tensor[2] _t103B#1 = <tensor[2]>[_t1037,_t1039];
          tensor[2] pos1047#3 = Add<tensor[2]>(_t103B,_t0A36);
          bool _t104A#1 = Inside<2>(pos1047,F084C);
          if _t104A then goto ASSIGN104F else goto ASSIGN1051
        ASSIGN104F:  preds = [COND1052]
          bool _t104D#1 = Inside<2>(v330960,T0844);
          goto JOIN104C
        JOIN104C:  preds = [ASSIGN104F,ASSIGN1051]
          bool _t104E#1 = phi(_t104D,_t1050)
          if _t104E then goto ASSIGN1055 else goto JOIN1053
        ASSIGN1055:  preds = [COND1065]
          real _t1054#1 = Probe<tensor[2],real>(F084C,pos1047);
          real _t1056#1 = Probe<tensor[2],real>(T0844,v330960);
          real _t1058#2 = Sub<real>(_t1054,_t1056);
          real _t1060#1 = Mul<real>(_t1058,_t1058);
          real score1062#1 = Add<real>(score1034,_t1060);
          goto JOIN1053
        JOIN1053:  preds = [ASSIGN1064,COND1065]
          real score1063#2 = phi(score1062,score1034)
          real _t1066#1 = Dot<tensor[2]>(r009F8,v340966);
          real _t1068#1 = Dot<tensor[2]>(r10A26,v340966);
          tensor[2] _t106A#1 = <tensor[2]>[_t1066,_t1068];
          tensor[2] pos1076#4 = Add<tensor[2]>(_t106A,_t0A36);
          bool _t1079#1 = Inside<2>(pos1076,F084C);
          if _t1079 then goto ASSIGN107E else goto ASSIGN1080
        ASSIGN107E:  preds = [COND1081]
          bool _t107C#1 = Inside<2>(v340966,T0844);
          goto JOIN107B
        JOIN107B:  preds = [ASSIGN107E,ASSIGN1080]
          bool _t107D#1 = phi(_t107C,_t107F)
          if _t107D then goto ASSIGN1084 else goto JOIN1082
        ASSIGN1084:  preds = [COND1094]
          real _t1083#1 = Probe<tensor[2],real>(F084C,pos1076);
          real _t1085#1 = Probe<tensor[2],real>(T0844,v340966);
          real _t1087#2 = Sub<real>(_t1083,_t1085);
          real _t108F#1 = Mul<real>(_t1087,_t1087);
          real score1091#1 = Add<real>(score1063,_t108F);
          goto JOIN1082
        JOIN1082:  preds = [ASSIGN1093,COND1094]
          real score1092#1 = phi(score1091,score1063)
          self.t = t09C0;
          self.score = score1092;
          self.r0 = r009F8;
          self.r1 = r10A26;
          self.pos = pos1076;
          stabilize ()
        ASSIGN1080:  preds = [COND1081]
          bool _t107F#1 = false;
          goto JOIN107B
        ASSIGN1051:  preds = [COND1052]
          bool _t1050#1 = false;
          goto JOIN104C
        ASSIGN1022:  preds = [COND1023]
          bool _t1021#1 = false;
          goto JOIN101D
        ASSIGN0FF3:  preds = [COND0FF4]
          bool _t0FF2#1 = false;
          goto JOIN0FEE
        ASSIGN0FC4:  preds = [COND0FC5]
          bool _t0FC3#1 = false;
          goto JOIN0FBF
        ASSIGN0F95:  preds = [COND0F96]
          bool _t0F94#1 = false;
          goto JOIN0F90
        ASSIGN0F66:  preds = [COND0F67]
          bool _t0F65#1 = false;
          goto JOIN0F61
        ASSIGN0F37:  preds = [COND0F38]
          bool _t0F36#1 = false;
          goto JOIN0F32
        ASSIGN0F08:  preds = [COND0F09]
          bool _t0F07#1 = false;
          goto JOIN0F03
        ASSIGN0ED9:  preds = [COND0EDA]
          bool _t0ED8#1 = false;
          goto JOIN0ED4
        ASSIGN0EAA:  preds = [COND0EAB]
          bool _t0EA9#1 = false;
          goto JOIN0EA5
        ASSIGN0E7B:  preds = [COND0E7C]
          bool _t0E7A#1 = false;
          goto JOIN0E76
        ASSIGN0E4C:  preds = [COND0E4D]
          bool _t0E4B#1 = false;
          goto JOIN0E47
        ASSIGN0E1D:  preds = [COND0E1E]
          bool _t0E1C#1 = false;
          goto JOIN0E18
        ASSIGN0DEE:  preds = [COND0DEF]
          bool _t0DED#1 = false;
          goto JOIN0DE9
        ASSIGN0DBF:  preds = [COND0DC0]
          bool _t0DBE#1 = false;
          goto JOIN0DBA
        ASSIGN0D90:  preds = [COND0D91]
          bool _t0D8F#1 = false;
          goto JOIN0D8B
        ASSIGN0D61:  preds = [COND0D62]
          bool _t0D60#1 = false;
          goto JOIN0D5C
        ASSIGN0D32:  preds = [COND0D33]
          bool _t0D31#1 = false;
          goto JOIN0D2D
        ASSIGN0D03:  preds = [COND0D04]
          bool _t0D02#1 = false;
          goto JOIN0CFE
        ASSIGN0CD4:  preds = [COND0CD5]
          bool _t0CD3#1 = false;
          goto JOIN0CCF
        ASSIGN0CA5:  preds = [COND0CA6]
          bool _t0CA4#1 = false;
          goto JOIN0CA0
        ASSIGN0C76:  preds = [COND0C77]
          bool _t0C75#1 = false;
          goto JOIN0C71
        ASSIGN0C47:  preds = [COND0C48]
          bool _t0C46#1 = false;
          goto JOIN0C42
        ASSIGN0C18:  preds = [COND0C19]
          bool _t0C17#1 = false;
          goto JOIN0C13
        ASSIGN0BE9:  preds = [COND0BEA]
          bool _t0BE8#1 = false;
          goto JOIN0BE4
        ASSIGN0BBA:  preds = [COND0BBB]
          bool _t0BB9#1 = false;
          goto JOIN0BB5
        ASSIGN0B8B:  preds = [COND0B8C]
          bool _t0B8A#1 = false;
          goto JOIN0B86
        ASSIGN0B5C:  preds = [COND0B5D]
          bool _t0B5B#1 = false;
          goto JOIN0B57
        ASSIGN0B2D:  preds = [COND0B2E]
          bool _t0B2C#1 = false;
          goto JOIN0B28
        ASSIGN0AFE:  preds = [COND0AFF]
          bool _t0AFD#1 = false;
          goto JOIN0AF9
        ASSIGN0ACF:  preds = [COND0AD0]
          bool _t0ACE#1 = false;
          goto JOIN0ACA
        ASSIGN0AA0:  preds = [COND0AA1]
          bool _t0A9F#1 = false;
          goto JOIN0A9B
        ASSIGN0A71:  preds = [COND0A72]
          bool _t0A70#1 = false;
          goto JOIN0A6C
        ASSIGN0A42:  preds = [COND0A43]
          bool _t0A41#1 = false;
          goto JOIN0A3D
    end Update
    method Stabilize
        ENTRY10A7:  preds = []
          tensor[3] t109D#1 = self.t;
          real score109E#1 = self.score;
          tensor[2] r0109F#1 = self.r0;
          tensor[2] r110A0#1 = self.r1;
          tensor[2] pos10A1#1 = self.pos;
          self.t = t109D;
          self.score = score109E;
          self.r0 = r0109F;
          self.r1 = r110A0;
          self.pos = pos10A1;
          return ()
    end Stabilize
  end R
#### end program ####
++ high-opt:unused
++ high-opt:unused
++ high-opt:unused
##### HighIL after normalization ####
## properties
  none
## globals
  global field T0844#105
  global field F084C#105
  global tensor[2] v000856#5
  global tensor[2] v010860#5
  global tensor[2] v02086A#5
  global tensor[2] v030872#5
  global tensor[2] v04087A#5
  global tensor[2] v050882#5
  global tensor[2] v06088C#5
  global tensor[2] v070896#5
  global tensor[2] v0808A0#5
  global tensor[2] v0908A8#5
  global tensor[2] v1008B0#5
  global tensor[2] v1108B8#5
  global tensor[2] v1208C2#5
  global tensor[2] v1308CC#5
  global tensor[2] v1408D6#5
  global tensor[2] v1508DE#5
  global tensor[2] v1608E6#5
  global tensor[2] v1708EE#5
  global tensor[2] v1808F6#5
  global tensor[2] v1908FE#5
  global tensor[2] v200906#5
  global tensor[2] v21090C#5
  global tensor[2] v220912#5
  global tensor[2] v230918#5
  global tensor[2] v240920#5
  global tensor[2] v250928#5
  global tensor[2] v260930#5
  global tensor[2] v270936#5
  global tensor[2] v28093C#5
  global tensor[2] v290942#5
  global tensor[2] v30094A#5
  global tensor[2] v310952#5
  global tensor[2] v32095A#5
  global tensor[2] v330960#5
  global tensor[2] v340966#5
  global string _t0840#1
  global image2D _t0842#1
  global kernel _t083E#3
  global string _t0848#1
  global image2D _t084A#1
  global real _t0850#23
  global real _t085E#23
  global real _t0868#23
  global real _t0866#36
  global real _t084E#32
  global real _t085C#36
## global initialization
  ENTRY0968:  preds = []
    kernel _t083E#3 = Kernel<bspln3,0>;
    string _t0840#1 = "square-template.nrrd";
    image2D _t0842#1 = LoadImage<IMAGE2D<int>>(_t0840);
    field T0844#105 = Field<2>(_t0842,_t083E);
    string _t0848#1 = "square-rotate.nrrd";
    image2D _t084A#1 = LoadImage<IMAGE2D<float>>(_t0848);
    field F084C#105 = Field<2>(_t084A,_t083E);
    real _t084E#32 = 0.5e0;
    real _t0850#23 = Neg<real>(_t084E);
    tensor[2] v000856#5 = <tensor[2]>[_t0850,_t0850];
    real _t085C#36 = 0.3e0;
    real _t085E#23 = Neg<real>(_t085C);
    tensor[2] v010860#5 = <tensor[2]>[_t0850,_t085E];
    real _t0866#36 = 0.1e0;
    real _t0868#23 = Neg<real>(_t0866);
    tensor[2] v02086A#5 = <tensor[2]>[_t0850,_t0868];
    tensor[2] v030872#5 = <tensor[2]>[_t0850,_t0866];
    tensor[2] v04087A#5 = <tensor[2]>[_t0850,_t085C];
    tensor[2] v050882#5 = <tensor[2]>[_t0850,_t084E];
    tensor[2] v06088C#5 = <tensor[2]>[_t085E,_t0850];
    tensor[2] v070896#5 = <tensor[2]>[_t085E,_t085E];
    tensor[2] v0808A0#5 = <tensor[2]>[_t085E,_t0868];
    tensor[2] v0908A8#5 = <tensor[2]>[_t085E,_t0866];
    tensor[2] v1008B0#5 = <tensor[2]>[_t085E,_t085C];
    tensor[2] v1108B8#5 = <tensor[2]>[_t085E,_t084E];
    tensor[2] v1208C2#5 = <tensor[2]>[_t0868,_t0850];
    tensor[2] v1308CC#5 = <tensor[2]>[_t0868,_t085E];
    tensor[2] v1408D6#5 = <tensor[2]>[_t0868,_t0868];
    tensor[2] v1508DE#5 = <tensor[2]>[_t0868,_t0866];
    tensor[2] v1608E6#5 = <tensor[2]>[_t0868,_t085C];
    tensor[2] v1708EE#5 = <tensor[2]>[_t0868,_t084E];
    tensor[2] v1808F6#5 = <tensor[2]>[_t0866,_t0850];
    tensor[2] v1908FE#5 = <tensor[2]>[_t0866,_t085E];
    tensor[2] v200906#5 = <tensor[2]>[_t0866,_t0868];
    tensor[2] v21090C#5 = <tensor[2]>[_t0866,_t0866];
    tensor[2] v220912#5 = <tensor[2]>[_t0866,_t085C];
    tensor[2] v230918#5 = <tensor[2]>[_t0866,_t084E];
    tensor[2] v240920#5 = <tensor[2]>[_t085C,_t0850];
    tensor[2] v250928#5 = <tensor[2]>[_t085C,_t085E];
    tensor[2] v260930#5 = <tensor[2]>[_t085C,_t0868];
    tensor[2] v270936#5 = <tensor[2]>[_t085C,_t0866];
    tensor[2] v28093C#5 = <tensor[2]>[_t085C,_t085C];
    tensor[2] v290942#5 = <tensor[2]>[_t085C,_t084E];
    tensor[2] v30094A#5 = <tensor[2]>[_t084E,_t0850];
    tensor[2] v310952#5 = <tensor[2]>[_t084E,_t085E];
    tensor[2] v32095A#5 = <tensor[2]>[_t084E,_t0868];
    tensor[2] v330960#5 = <tensor[2]>[_t084E,_t0866];
    tensor[2] v340966#5 = <tensor[2]>[_t084E,_t085C];
    return (T0844,F084C,v000856,v010860,v02086A,v030872,v04087A,v050882,v06088C,v070896,v0808A0,v0908A8,v1008B0,v1108B8,v1208C2,v1308CC,v1408D6,v1508DE,v1608E6,v1708EE,v1808F6,v1908FE,v200906,v21090C,v220912,v230918,v240920,v250928,v260930,v270936,v28093C,v290942,v30094A,v310952,v32095A,v330960,v340966,_t0840,_t0842,_t083E,_t0848,_t084A,_t0850,_t085E,_t0868,_t0866,_t084E,_t085C)
## initially
  ARRAY
    ENTRY0976:  preds = []
      int _t096A#4 = 0;
      int _t096C#4 = 60;
      live vars = (_t096C,_t096A)
    for int i0978#1 = _t096A .. _t096C
      for int j0979#1 = _t096A .. _t096C
        for int k097A#1 = _t096A .. _t096C
          ENTRY097B:  preds = []
            live vars = ()
          new R(i0978,j0979,k097A);
## strands
  strand R (int i097D#1, int j097E#1, int k097F#1)
    state: tensor[3] self.t;output real self.score;tensor[2] self.r0;tensor[2] self.r1;tensor[2] self.pos;
      ENTRY09B9:  preds = []
        real _t0985#1 = IntToReal(i097D);
        real _t0987#3 = 0.60e2;
        real _t0989#1 = Div<real>(_t0985,_t0987);
        real _t098B#3 = 0.5e0;
        real _t098D#1 = Sub<real>(_t0989,_t098B);
        real _t098F#1 = IntToReal(j097E);
        real _t0993#1 = Div<real>(_t098F,_t0987);
        real _t0997#1 = Sub<real>(_t0993,_t098B);
        real _t0999#1 = IntToReal(k097F);
        real _t099D#1 = Div<real>(_t0999,_t0987);
        real _t09A1#1 = Sub<real>(_t099D,_t098B);
        tensor[3] t09A3#1 = <tensor[3]>[_t098D,_t0997,_t09A1];
        real score09A5#3 = 0.0;
        tensor[2] r009AB#3 = <tensor[2]>[score09A5,score09A5];
        self.t = t09A3;
        self.score = score09A5;
        self.r0 = r009AB;
        self.r1 = r009AB;
        self.pos = r009AB;
        strand_init ()
    method Update
        ENTRY109B:  preds = []
          tensor[3] t09C0#81 = self.t;
          real score09C1#2 = self.score;
          real _t09CA#2 = 0.1e1;
          real _t09CC#3 = 0.2e1;
          int _t09CE#1 = 2;
          real _t09D0#6 = TensorSub<tensor[3]>(t09C0,_t09CE);
          real _t09D2#1 = Mul<real>(_t09CC,_t09D0);
          real _t09D8#1 = Mul<real>(_t09D2,_t09D0);
          real _t09DA#2 = Sub<real>(_t09CA,_t09D8);
          real _t09DE#1 = Neg<real>(_t09CC);
          real _t09EA#1 = Mul<real>(_t09D0,_t09D0);
          real _t09EC#1 = Sub<real>(_t09CA,_t09EA);
          real _t09EE#2 = sqrt(_t09EC);
          real _t09F0#1 = Mul<real>(_t09DE,_t09EE);
          real _t09F6#1 = Mul<real>(_t09F0,_t09D0);
          tensor[2] r009F8#36 = <tensor[2]>[_t09DA,_t09F6];
          real _t0A0C#1 = Mul<real>(_t09CC,_t09EE);
          real _t0A12#1 = Mul<real>(_t0A0C,_t09D0);
          tensor[2] r10A26#36 = <tensor[2]>[_t0A12,_t09DA];
          real _t0A28#1 = Dot<tensor[2]>(r009F8,v000856);
          real _t0A2A#1 = Dot<tensor[2]>(r10A26,v000856);
          tensor[2] _t0A2C#1 = <tensor[2]>[_t0A28,_t0A2A];
          int _t0A2E#1 = 0;
          real _t0A30#1 = TensorSub<tensor[3]>(t09C0,_t0A2E);
          int _t0A32#1 = 1;
          real _t0A34#1 = TensorSub<tensor[3]>(t09C0,_t0A32);
          tensor[2] _t0A36#35 = <tensor[2]>[_t0A30,_t0A34];
          tensor[2] pos0A38#3 = Add<tensor[2]>(_t0A2C,_t0A36);
          bool _t0A3B#1 = Inside<2>(pos0A38,F084C);
          if _t0A3B then goto ASSIGN0A40 else goto ASSIGN0A42
        ASSIGN0A40:  preds = [COND0A43]
          bool _t0A3E#1 = Inside<2>(v000856,T0844);
          goto JOIN0A3D
        JOIN0A3D:  preds = [ASSIGN0A40,ASSIGN0A42]
          bool _t0A3F#1 = phi(_t0A3E,_t0A41)
          if _t0A3F then goto ASSIGN0A46 else goto JOIN0A44
        ASSIGN0A46:  preds = [COND0A56]
          real _t0A45#1 = Probe<tensor[2],real>(F084C,pos0A38);
          real _t0A47#1 = Probe<tensor[2],real>(T0844,v000856);
          real _t0A49#2 = Sub<real>(_t0A45,_t0A47);
          real _t0A51#1 = Mul<real>(_t0A49,_t0A49);
          real score0A53#1 = Add<real>(score09C1,_t0A51);
          goto JOIN0A44
        JOIN0A44:  preds = [ASSIGN0A55,COND0A56]
          real score0A54#2 = phi(score0A53,score09C1)
          real _t0A57#1 = Dot<tensor[2]>(r009F8,v010860);
          real _t0A59#1 = Dot<tensor[2]>(r10A26,v010860);
          tensor[2] _t0A5B#1 = <tensor[2]>[_t0A57,_t0A59];
          tensor[2] pos0A67#3 = Add<tensor[2]>(_t0A5B,_t0A36);
          bool _t0A6A#1 = Inside<2>(pos0A67,F084C);
          if _t0A6A then goto ASSIGN0A6F else goto ASSIGN0A71
        ASSIGN0A6F:  preds = [COND0A72]
          bool _t0A6D#1 = Inside<2>(v010860,T0844);
          goto JOIN0A6C
        JOIN0A6C:  preds = [ASSIGN0A6F,ASSIGN0A71]
          bool _t0A6E#1 = phi(_t0A6D,_t0A70)
          if _t0A6E then goto ASSIGN0A75 else goto JOIN0A73
        ASSIGN0A75:  preds = [COND0A85]
          real _t0A74#1 = Probe<tensor[2],real>(F084C,pos0A67);
          real _t0A76#1 = Probe<tensor[2],real>(T0844,v010860);
          real _t0A78#2 = Sub<real>(_t0A74,_t0A76);
          real _t0A80#1 = Mul<real>(_t0A78,_t0A78);
          real score0A82#1 = Add<real>(score0A54,_t0A80);
          goto JOIN0A73
        JOIN0A73:  preds = [ASSIGN0A84,COND0A85]
          real score0A83#2 = phi(score0A82,score0A54)
          real _t0A86#1 = Dot<tensor[2]>(r009F8,v02086A);
          real _t0A88#1 = Dot<tensor[2]>(r10A26,v02086A);
          tensor[2] _t0A8A#1 = <tensor[2]>[_t0A86,_t0A88];
          tensor[2] pos0A96#3 = Add<tensor[2]>(_t0A8A,_t0A36);
          bool _t0A99#1 = Inside<2>(pos0A96,F084C);
          if _t0A99 then goto ASSIGN0A9E else goto ASSIGN0AA0
        ASSIGN0A9E:  preds = [COND0AA1]
          bool _t0A9C#1 = Inside<2>(v02086A,T0844);
          goto JOIN0A9B
        JOIN0A9B:  preds = [ASSIGN0A9E,ASSIGN0AA0]
          bool _t0A9D#1 = phi(_t0A9C,_t0A9F)
          if _t0A9D then goto ASSIGN0AA4 else goto JOIN0AA2
        ASSIGN0AA4:  preds = [COND0AB4]
          real _t0AA3#1 = Probe<tensor[2],real>(F084C,pos0A96);
          real _t0AA5#1 = Probe<tensor[2],real>(T0844,v02086A);
          real _t0AA7#2 = Sub<real>(_t0AA3,_t0AA5);
          real _t0AAF#1 = Mul<real>(_t0AA7,_t0AA7);
          real score0AB1#1 = Add<real>(score0A83,_t0AAF);
          goto JOIN0AA2
        JOIN0AA2:  preds = [ASSIGN0AB3,COND0AB4]
          real score0AB2#2 = phi(score0AB1,score0A83)
          real _t0AB5#1 = Dot<tensor[2]>(r009F8,v030872);
          real _t0AB7#1 = Dot<tensor[2]>(r10A26,v030872);
          tensor[2] _t0AB9#1 = <tensor[2]>[_t0AB5,_t0AB7];
          tensor[2] pos0AC5#3 = Add<tensor[2]>(_t0AB9,_t0A36);
          bool _t0AC8#1 = Inside<2>(pos0AC5,F084C);
          if _t0AC8 then goto ASSIGN0ACD else goto ASSIGN0ACF
        ASSIGN0ACD:  preds = [COND0AD0]
          bool _t0ACB#1 = Inside<2>(v030872,T0844);
          goto JOIN0ACA
        JOIN0ACA:  preds = [ASSIGN0ACD,ASSIGN0ACF]
          bool _t0ACC#1 = phi(_t0ACB,_t0ACE)
          if _t0ACC then goto ASSIGN0AD3 else goto JOIN0AD1
        ASSIGN0AD3:  preds = [COND0AE3]
          real _t0AD2#1 = Probe<tensor[2],real>(F084C,pos0AC5);
          real _t0AD4#1 = Probe<tensor[2],real>(T0844,v030872);
          real _t0AD6#2 = Sub<real>(_t0AD2,_t0AD4);
          real _t0ADE#1 = Mul<real>(_t0AD6,_t0AD6);
          real score0AE0#1 = Add<real>(score0AB2,_t0ADE);
          goto JOIN0AD1
        JOIN0AD1:  preds = [ASSIGN0AE2,COND0AE3]
          real score0AE1#2 = phi(score0AE0,score0AB2)
          real _t0AE4#1 = Dot<tensor[2]>(r009F8,v04087A);
          real _t0AE6#1 = Dot<tensor[2]>(r10A26,v04087A);
          tensor[2] _t0AE8#1 = <tensor[2]>[_t0AE4,_t0AE6];
          tensor[2] pos0AF4#3 = Add<tensor[2]>(_t0AE8,_t0A36);
          bool _t0AF7#1 = Inside<2>(pos0AF4,F084C);
          if _t0AF7 then goto ASSIGN0AFC else goto ASSIGN0AFE
        ASSIGN0AFC:  preds = [COND0AFF]
          bool _t0AFA#1 = Inside<2>(v04087A,T0844);
          goto JOIN0AF9
        JOIN0AF9:  preds = [ASSIGN0AFC,ASSIGN0AFE]
          bool _t0AFB#1 = phi(_t0AFA,_t0AFD)
          if _t0AFB then goto ASSIGN0B02 else goto JOIN0B00
        ASSIGN0B02:  preds = [COND0B12]
          real _t0B01#1 = Probe<tensor[2],real>(F084C,pos0AF4);
          real _t0B03#1 = Probe<tensor[2],real>(T0844,v04087A);
          real _t0B05#2 = Sub<real>(_t0B01,_t0B03);
          real _t0B0D#1 = Mul<real>(_t0B05,_t0B05);
          real score0B0F#1 = Add<real>(score0AE1,_t0B0D);
          goto JOIN0B00
        JOIN0B00:  preds = [ASSIGN0B11,COND0B12]
          real score0B10#2 = phi(score0B0F,score0AE1)
          real _t0B13#1 = Dot<tensor[2]>(r009F8,v050882);
          real _t0B15#1 = Dot<tensor[2]>(r10A26,v050882);
          tensor[2] _t0B17#1 = <tensor[2]>[_t0B13,_t0B15];
          tensor[2] pos0B23#3 = Add<tensor[2]>(_t0B17,_t0A36);
          bool _t0B26#1 = Inside<2>(pos0B23,F084C);
          if _t0B26 then goto ASSIGN0B2B else goto ASSIGN0B2D
        ASSIGN0B2B:  preds = [COND0B2E]
          bool _t0B29#1 = Inside<2>(v050882,T0844);
          goto JOIN0B28
        JOIN0B28:  preds = [ASSIGN0B2B,ASSIGN0B2D]
          bool _t0B2A#1 = phi(_t0B29,_t0B2C)
          if _t0B2A then goto ASSIGN0B31 else goto JOIN0B2F
        ASSIGN0B31:  preds = [COND0B41]
          real _t0B30#1 = Probe<tensor[2],real>(F084C,pos0B23);
          real _t0B32#1 = Probe<tensor[2],real>(T0844,v050882);
          real _t0B34#2 = Sub<real>(_t0B30,_t0B32);
          real _t0B3C#1 = Mul<real>(_t0B34,_t0B34);
          real score0B3E#1 = Add<real>(score0B10,_t0B3C);
          goto JOIN0B2F
        JOIN0B2F:  preds = [ASSIGN0B40,COND0B41]
          real score0B3F#2 = phi(score0B3E,score0B10)
          real _t0B42#1 = Dot<tensor[2]>(r009F8,v06088C);
          real _t0B44#1 = Dot<tensor[2]>(r10A26,v06088C);
          tensor[2] _t0B46#1 = <tensor[2]>[_t0B42,_t0B44];
          tensor[2] pos0B52#3 = Add<tensor[2]>(_t0B46,_t0A36);
          bool _t0B55#1 = Inside<2>(pos0B52,F084C);
          if _t0B55 then goto ASSIGN0B5A else goto ASSIGN0B5C
        ASSIGN0B5A:  preds = [COND0B5D]
          bool _t0B58#1 = Inside<2>(v06088C,T0844);
          goto JOIN0B57
        JOIN0B57:  preds = [ASSIGN0B5A,ASSIGN0B5C]
          bool _t0B59#1 = phi(_t0B58,_t0B5B)
          if _t0B59 then goto ASSIGN0B60 else goto JOIN0B5E
        ASSIGN0B60:  preds = [COND0B70]
          real _t0B5F#1 = Probe<tensor[2],real>(F084C,pos0B52);
          real _t0B61#1 = Probe<tensor[2],real>(T0844,v06088C);
          real _t0B63#2 = Sub<real>(_t0B5F,_t0B61);
          real _t0B6B#1 = Mul<real>(_t0B63,_t0B63);
          real score0B6D#1 = Add<real>(score0B3F,_t0B6B);
          goto JOIN0B5E
        JOIN0B5E:  preds = [ASSIGN0B6F,COND0B70]
          real score0B6E#2 = phi(score0B6D,score0B3F)
          real _t0B71#1 = Dot<tensor[2]>(r009F8,v070896);
          real _t0B73#1 = Dot<tensor[2]>(r10A26,v070896);
          tensor[2] _t0B75#1 = <tensor[2]>[_t0B71,_t0B73];
          tensor[2] pos0B81#3 = Add<tensor[2]>(_t0B75,_t0A36);
          bool _t0B84#1 = Inside<2>(pos0B81,F084C);
          if _t0B84 then goto ASSIGN0B89 else goto ASSIGN0B8B
        ASSIGN0B89:  preds = [COND0B8C]
          bool _t0B87#1 = Inside<2>(v070896,T0844);
          goto JOIN0B86
        JOIN0B86:  preds = [ASSIGN0B89,ASSIGN0B8B]
          bool _t0B88#1 = phi(_t0B87,_t0B8A)
          if _t0B88 then goto ASSIGN0B8F else goto JOIN0B8D
        ASSIGN0B8F:  preds = [COND0B9F]
          real _t0B8E#1 = Probe<tensor[2],real>(F084C,pos0B81);
          real _t0B90#1 = Probe<tensor[2],real>(T0844,v070896);
          real _t0B92#2 = Sub<real>(_t0B8E,_t0B90);
          real _t0B9A#1 = Mul<real>(_t0B92,_t0B92);
          real score0B9C#1 = Add<real>(score0B6E,_t0B9A);
          goto JOIN0B8D
        JOIN0B8D:  preds = [ASSIGN0B9E,COND0B9F]
          real score0B9D#2 = phi(score0B9C,score0B6E)
          real _t0BA0#1 = Dot<tensor[2]>(r009F8,v0808A0);
          real _t0BA2#1 = Dot<tensor[2]>(r10A26,v0808A0);
          tensor[2] _t0BA4#1 = <tensor[2]>[_t0BA0,_t0BA2];
          tensor[2] pos0BB0#3 = Add<tensor[2]>(_t0BA4,_t0A36);
          bool _t0BB3#1 = Inside<2>(pos0BB0,F084C);
          if _t0BB3 then goto ASSIGN0BB8 else goto ASSIGN0BBA
        ASSIGN0BB8:  preds = [COND0BBB]
          bool _t0BB6#1 = Inside<2>(v0808A0,T0844);
          goto JOIN0BB5
        JOIN0BB5:  preds = [ASSIGN0BB8,ASSIGN0BBA]
          bool _t0BB7#1 = phi(_t0BB6,_t0BB9)
          if _t0BB7 then goto ASSIGN0BBE else goto JOIN0BBC
        ASSIGN0BBE:  preds = [COND0BCE]
          real _t0BBD#1 = Probe<tensor[2],real>(F084C,pos0BB0);
          real _t0BBF#1 = Probe<tensor[2],real>(T0844,v0808A0);
          real _t0BC1#2 = Sub<real>(_t0BBD,_t0BBF);
          real _t0BC9#1 = Mul<real>(_t0BC1,_t0BC1);
          real score0BCB#1 = Add<real>(score0B9D,_t0BC9);
          goto JOIN0BBC
        JOIN0BBC:  preds = [ASSIGN0BCD,COND0BCE]
          real score0BCC#2 = phi(score0BCB,score0B9D)
          real _t0BCF#1 = Dot<tensor[2]>(r009F8,v0908A8);
          real _t0BD1#1 = Dot<tensor[2]>(r10A26,v0908A8);
          tensor[2] _t0BD3#1 = <tensor[2]>[_t0BCF,_t0BD1];
          tensor[2] pos0BDF#3 = Add<tensor[2]>(_t0BD3,_t0A36);
          bool _t0BE2#1 = Inside<2>(pos0BDF,F084C);
          if _t0BE2 then goto ASSIGN0BE7 else goto ASSIGN0BE9
        ASSIGN0BE7:  preds = [COND0BEA]
          bool _t0BE5#1 = Inside<2>(v0908A8,T0844);
          goto JOIN0BE4
        JOIN0BE4:  preds = [ASSIGN0BE7,ASSIGN0BE9]
          bool _t0BE6#1 = phi(_t0BE5,_t0BE8)
          if _t0BE6 then goto ASSIGN0BED else goto JOIN0BEB
        ASSIGN0BED:  preds = [COND0BFD]
          real _t0BEC#1 = Probe<tensor[2],real>(F084C,pos0BDF);
          real _t0BEE#1 = Probe<tensor[2],real>(T0844,v0908A8);
          real _t0BF0#2 = Sub<real>(_t0BEC,_t0BEE);
          real _t0BF8#1 = Mul<real>(_t0BF0,_t0BF0);
          real score0BFA#1 = Add<real>(score0BCC,_t0BF8);
          goto JOIN0BEB
        JOIN0BEB:  preds = [ASSIGN0BFC,COND0BFD]
          real score0BFB#2 = phi(score0BFA,score0BCC)
          real _t0BFE#1 = Dot<tensor[2]>(r009F8,v1008B0);
          real _t0C00#1 = Dot<tensor[2]>(r10A26,v1008B0);
          tensor[2] _t0C02#1 = <tensor[2]>[_t0BFE,_t0C00];
          tensor[2] pos0C0E#3 = Add<tensor[2]>(_t0C02,_t0A36);
          bool _t0C11#1 = Inside<2>(pos0C0E,F084C);
          if _t0C11 then goto ASSIGN0C16 else goto ASSIGN0C18
        ASSIGN0C16:  preds = [COND0C19]
          bool _t0C14#1 = Inside<2>(v1008B0,T0844);
          goto JOIN0C13
        JOIN0C13:  preds = [ASSIGN0C16,ASSIGN0C18]
          bool _t0C15#1 = phi(_t0C14,_t0C17)
          if _t0C15 then goto ASSIGN0C1C else goto JOIN0C1A
        ASSIGN0C1C:  preds = [COND0C2C]
          real _t0C1B#1 = Probe<tensor[2],real>(F084C,pos0C0E);
          real _t0C1D#1 = Probe<tensor[2],real>(T0844,v1008B0);
          real _t0C1F#2 = Sub<real>(_t0C1B,_t0C1D);
          real _t0C27#1 = Mul<real>(_t0C1F,_t0C1F);
          real score0C29#1 = Add<real>(score0BFB,_t0C27);
          goto JOIN0C1A
        JOIN0C1A:  preds = [ASSIGN0C2B,COND0C2C]
          real score0C2A#2 = phi(score0C29,score0BFB)
          real _t0C2D#1 = Dot<tensor[2]>(r009F8,v1108B8);
          real _t0C2F#1 = Dot<tensor[2]>(r10A26,v1108B8);
          tensor[2] _t0C31#1 = <tensor[2]>[_t0C2D,_t0C2F];
          tensor[2] pos0C3D#3 = Add<tensor[2]>(_t0C31,_t0A36);
          bool _t0C40#1 = Inside<2>(pos0C3D,F084C);
          if _t0C40 then goto ASSIGN0C45 else goto ASSIGN0C47
        ASSIGN0C45:  preds = [COND0C48]
          bool _t0C43#1 = Inside<2>(v1108B8,T0844);
          goto JOIN0C42
        JOIN0C42:  preds = [ASSIGN0C45,ASSIGN0C47]
          bool _t0C44#1 = phi(_t0C43,_t0C46)
          if _t0C44 then goto ASSIGN0C4B else goto JOIN0C49
        ASSIGN0C4B:  preds = [COND0C5B]
          real _t0C4A#1 = Probe<tensor[2],real>(F084C,pos0C3D);
          real _t0C4C#1 = Probe<tensor[2],real>(T0844,v1108B8);
          real _t0C4E#2 = Sub<real>(_t0C4A,_t0C4C);
          real _t0C56#1 = Mul<real>(_t0C4E,_t0C4E);
          real score0C58#1 = Add<real>(score0C2A,_t0C56);
          goto JOIN0C49
        JOIN0C49:  preds = [ASSIGN0C5A,COND0C5B]
          real score0C59#2 = phi(score0C58,score0C2A)
          real _t0C5C#1 = Dot<tensor[2]>(r009F8,v1208C2);
          real _t0C5E#1 = Dot<tensor[2]>(r10A26,v1208C2);
          tensor[2] _t0C60#1 = <tensor[2]>[_t0C5C,_t0C5E];
          tensor[2] pos0C6C#3 = Add<tensor[2]>(_t0C60,_t0A36);
          bool _t0C6F#1 = Inside<2>(pos0C6C,F084C);
          if _t0C6F then goto ASSIGN0C74 else goto ASSIGN0C76
        ASSIGN0C74:  preds = [COND0C77]
          bool _t0C72#1 = Inside<2>(v1208C2,T0844);
          goto JOIN0C71
        JOIN0C71:  preds = [ASSIGN0C74,ASSIGN0C76]
          bool _t0C73#1 = phi(_t0C72,_t0C75)
          if _t0C73 then goto ASSIGN0C7A else goto JOIN0C78
        ASSIGN0C7A:  preds = [COND0C8A]
          real _t0C79#1 = Probe<tensor[2],real>(F084C,pos0C6C);
          real _t0C7B#1 = Probe<tensor[2],real>(T0844,v1208C2);
          real _t0C7D#2 = Sub<real>(_t0C79,_t0C7B);
          real _t0C85#1 = Mul<real>(_t0C7D,_t0C7D);
          real score0C87#1 = Add<real>(score0C59,_t0C85);
          goto JOIN0C78
        JOIN0C78:  preds = [ASSIGN0C89,COND0C8A]
          real score0C88#2 = phi(score0C87,score0C59)
          real _t0C8B#1 = Dot<tensor[2]>(r009F8,v1308CC);
          real _t0C8D#1 = Dot<tensor[2]>(r10A26,v1308CC);
          tensor[2] _t0C8F#1 = <tensor[2]>[_t0C8B,_t0C8D];
          tensor[2] pos0C9B#3 = Add<tensor[2]>(_t0C8F,_t0A36);
          bool _t0C9E#1 = Inside<2>(pos0C9B,F084C);
          if _t0C9E then goto ASSIGN0CA3 else goto ASSIGN0CA5
        ASSIGN0CA3:  preds = [COND0CA6]
          bool _t0CA1#1 = Inside<2>(v1308CC,T0844);
          goto JOIN0CA0
        JOIN0CA0:  preds = [ASSIGN0CA3,ASSIGN0CA5]
          bool _t0CA2#1 = phi(_t0CA1,_t0CA4)
          if _t0CA2 then goto ASSIGN0CA9 else goto JOIN0CA7
        ASSIGN0CA9:  preds = [COND0CB9]
          real _t0CA8#1 = Probe<tensor[2],real>(F084C,pos0C9B);
          real _t0CAA#1 = Probe<tensor[2],real>(T0844,v1308CC);
          real _t0CAC#2 = Sub<real>(_t0CA8,_t0CAA);
          real _t0CB4#1 = Mul<real>(_t0CAC,_t0CAC);
          real score0CB6#1 = Add<real>(score0C88,_t0CB4);
          goto JOIN0CA7
        JOIN0CA7:  preds = [ASSIGN0CB8,COND0CB9]
          real score0CB7#2 = phi(score0CB6,score0C88)
          real _t0CBA#1 = Dot<tensor[2]>(r009F8,v1408D6);
          real _t0CBC#1 = Dot<tensor[2]>(r10A26,v1408D6);
          tensor[2] _t0CBE#1 = <tensor[2]>[_t0CBA,_t0CBC];
          tensor[2] pos0CCA#3 = Add<tensor[2]>(_t0CBE,_t0A36);
          bool _t0CCD#1 = Inside<2>(pos0CCA,F084C);
          if _t0CCD then goto ASSIGN0CD2 else goto ASSIGN0CD4
        ASSIGN0CD2:  preds = [COND0CD5]
          bool _t0CD0#1 = Inside<2>(v1408D6,T0844);
          goto JOIN0CCF
        JOIN0CCF:  preds = [ASSIGN0CD2,ASSIGN0CD4]
          bool _t0CD1#1 = phi(_t0CD0,_t0CD3)
          if _t0CD1 then goto ASSIGN0CD8 else goto JOIN0CD6
        ASSIGN0CD8:  preds = [COND0CE8]
          real _t0CD7#1 = Probe<tensor[2],real>(F084C,pos0CCA);
          real _t0CD9#1 = Probe<tensor[2],real>(T0844,v1408D6);
          real _t0CDB#2 = Sub<real>(_t0CD7,_t0CD9);
          real _t0CE3#1 = Mul<real>(_t0CDB,_t0CDB);
          real score0CE5#1 = Add<real>(score0CB7,_t0CE3);
          goto JOIN0CD6
        JOIN0CD6:  preds = [ASSIGN0CE7,COND0CE8]
          real score0CE6#2 = phi(score0CE5,score0CB7)
          real _t0CE9#1 = Dot<tensor[2]>(r009F8,v1508DE);
          real _t0CEB#1 = Dot<tensor[2]>(r10A26,v1508DE);
          tensor[2] _t0CED#1 = <tensor[2]>[_t0CE9,_t0CEB];
          tensor[2] pos0CF9#3 = Add<tensor[2]>(_t0CED,_t0A36);
          bool _t0CFC#1 = Inside<2>(pos0CF9,F084C);
          if _t0CFC then goto ASSIGN0D01 else goto ASSIGN0D03
        ASSIGN0D01:  preds = [COND0D04]
          bool _t0CFF#1 = Inside<2>(v1508DE,T0844);
          goto JOIN0CFE
        JOIN0CFE:  preds = [ASSIGN0D01,ASSIGN0D03]
          bool _t0D00#1 = phi(_t0CFF,_t0D02)
          if _t0D00 then goto ASSIGN0D07 else goto JOIN0D05
        ASSIGN0D07:  preds = [COND0D17]
          real _t0D06#1 = Probe<tensor[2],real>(F084C,pos0CF9);
          real _t0D08#1 = Probe<tensor[2],real>(T0844,v1508DE);
          real _t0D0A#2 = Sub<real>(_t0D06,_t0D08);
          real _t0D12#1 = Mul<real>(_t0D0A,_t0D0A);
          real score0D14#1 = Add<real>(score0CE6,_t0D12);
          goto JOIN0D05
        JOIN0D05:  preds = [ASSIGN0D16,COND0D17]
          real score0D15#2 = phi(score0D14,score0CE6)
          real _t0D18#1 = Dot<tensor[2]>(r009F8,v1608E6);
          real _t0D1A#1 = Dot<tensor[2]>(r10A26,v1608E6);
          tensor[2] _t0D1C#1 = <tensor[2]>[_t0D18,_t0D1A];
          tensor[2] pos0D28#3 = Add<tensor[2]>(_t0D1C,_t0A36);
          bool _t0D2B#1 = Inside<2>(pos0D28,F084C);
          if _t0D2B then goto ASSIGN0D30 else goto ASSIGN0D32
        ASSIGN0D30:  preds = [COND0D33]
          bool _t0D2E#1 = Inside<2>(v1608E6,T0844);
          goto JOIN0D2D
        JOIN0D2D:  preds = [ASSIGN0D30,ASSIGN0D32]
          bool _t0D2F#1 = phi(_t0D2E,_t0D31)
          if _t0D2F then goto ASSIGN0D36 else goto JOIN0D34
        ASSIGN0D36:  preds = [COND0D46]
          real _t0D35#1 = Probe<tensor[2],real>(F084C,pos0D28);
          real _t0D37#1 = Probe<tensor[2],real>(T0844,v1608E6);
          real _t0D39#2 = Sub<real>(_t0D35,_t0D37);
          real _t0D41#1 = Mul<real>(_t0D39,_t0D39);
          real score0D43#1 = Add<real>(score0D15,_t0D41);
          goto JOIN0D34
        JOIN0D34:  preds = [ASSIGN0D45,COND0D46]
          real score0D44#2 = phi(score0D43,score0D15)
          real _t0D47#1 = Dot<tensor[2]>(r009F8,v1708EE);
          real _t0D49#1 = Dot<tensor[2]>(r10A26,v1708EE);
          tensor[2] _t0D4B#1 = <tensor[2]>[_t0D47,_t0D49];
          tensor[2] pos0D57#3 = Add<tensor[2]>(_t0D4B,_t0A36);
          bool _t0D5A#1 = Inside<2>(pos0D57,F084C);
          if _t0D5A then goto ASSIGN0D5F else goto ASSIGN0D61
        ASSIGN0D5F:  preds = [COND0D62]
          bool _t0D5D#1 = Inside<2>(v1708EE,T0844);
          goto JOIN0D5C
        JOIN0D5C:  preds = [ASSIGN0D5F,ASSIGN0D61]
          bool _t0D5E#1 = phi(_t0D5D,_t0D60)
          if _t0D5E then goto ASSIGN0D65 else goto JOIN0D63
        ASSIGN0D65:  preds = [COND0D75]
          real _t0D64#1 = Probe<tensor[2],real>(F084C,pos0D57);
          real _t0D66#1 = Probe<tensor[2],real>(T0844,v1708EE);
          real _t0D68#2 = Sub<real>(_t0D64,_t0D66);
          real _t0D70#1 = Mul<real>(_t0D68,_t0D68);
          real score0D72#1 = Add<real>(score0D44,_t0D70);
          goto JOIN0D63
        JOIN0D63:  preds = [ASSIGN0D74,COND0D75]
          real score0D73#2 = phi(score0D72,score0D44)
          real _t0D76#1 = Dot<tensor[2]>(r009F8,v1808F6);
          real _t0D78#1 = Dot<tensor[2]>(r10A26,v1808F6);
          tensor[2] _t0D7A#1 = <tensor[2]>[_t0D76,_t0D78];
          tensor[2] pos0D86#3 = Add<tensor[2]>(_t0D7A,_t0A36);
          bool _t0D89#1 = Inside<2>(pos0D86,F084C);
          if _t0D89 then goto ASSIGN0D8E else goto ASSIGN0D90
        ASSIGN0D8E:  preds = [COND0D91]
          bool _t0D8C#1 = Inside<2>(v1808F6,T0844);
          goto JOIN0D8B
        JOIN0D8B:  preds = [ASSIGN0D8E,ASSIGN0D90]
          bool _t0D8D#1 = phi(_t0D8C,_t0D8F)
          if _t0D8D then goto ASSIGN0D94 else goto JOIN0D92
        ASSIGN0D94:  preds = [COND0DA4]
          real _t0D93#1 = Probe<tensor[2],real>(F084C,pos0D86);
          real _t0D95#1 = Probe<tensor[2],real>(T0844,v1808F6);
          real _t0D97#2 = Sub<real>(_t0D93,_t0D95);
          real _t0D9F#1 = Mul<real>(_t0D97,_t0D97);
          real score0DA1#1 = Add<real>(score0D73,_t0D9F);
          goto JOIN0D92
        JOIN0D92:  preds = [ASSIGN0DA3,COND0DA4]
          real score0DA2#2 = phi(score0DA1,score0D73)
          real _t0DA5#1 = Dot<tensor[2]>(r009F8,v1908FE);
          real _t0DA7#1 = Dot<tensor[2]>(r10A26,v1908FE);
          tensor[2] _t0DA9#1 = <tensor[2]>[_t0DA5,_t0DA7];
          tensor[2] pos0DB5#3 = Add<tensor[2]>(_t0DA9,_t0A36);
          bool _t0DB8#1 = Inside<2>(pos0DB5,F084C);
          if _t0DB8 then goto ASSIGN0DBD else goto ASSIGN0DBF
        ASSIGN0DBD:  preds = [COND0DC0]
          bool _t0DBB#1 = Inside<2>(v1908FE,T0844);
          goto JOIN0DBA
        JOIN0DBA:  preds = [ASSIGN0DBD,ASSIGN0DBF]
          bool _t0DBC#1 = phi(_t0DBB,_t0DBE)
          if _t0DBC then goto ASSIGN0DC3 else goto JOIN0DC1
        ASSIGN0DC3:  preds = [COND0DD3]
          real _t0DC2#1 = Probe<tensor[2],real>(F084C,pos0DB5);
          real _t0DC4#1 = Probe<tensor[2],real>(T0844,v1908FE);
          real _t0DC6#2 = Sub<real>(_t0DC2,_t0DC4);
          real _t0DCE#1 = Mul<real>(_t0DC6,_t0DC6);
          real score0DD0#1 = Add<real>(score0DA2,_t0DCE);
          goto JOIN0DC1
        JOIN0DC1:  preds = [ASSIGN0DD2,COND0DD3]
          real score0DD1#2 = phi(score0DD0,score0DA2)
          real _t0DD4#1 = Dot<tensor[2]>(r009F8,v200906);
          real _t0DD6#1 = Dot<tensor[2]>(r10A26,v200906);
          tensor[2] _t0DD8#1 = <tensor[2]>[_t0DD4,_t0DD6];
          tensor[2] pos0DE4#3 = Add<tensor[2]>(_t0DD8,_t0A36);
          bool _t0DE7#1 = Inside<2>(pos0DE4,F084C);
          if _t0DE7 then goto ASSIGN0DEC else goto ASSIGN0DEE
        ASSIGN0DEC:  preds = [COND0DEF]
          bool _t0DEA#1 = Inside<2>(v200906,T0844);
          goto JOIN0DE9
        JOIN0DE9:  preds = [ASSIGN0DEC,ASSIGN0DEE]
          bool _t0DEB#1 = phi(_t0DEA,_t0DED)
          if _t0DEB then goto ASSIGN0DF2 else goto JOIN0DF0
        ASSIGN0DF2:  preds = [COND0E02]
          real _t0DF1#1 = Probe<tensor[2],real>(F084C,pos0DE4);
          real _t0DF3#1 = Probe<tensor[2],real>(T0844,v200906);
          real _t0DF5#2 = Sub<real>(_t0DF1,_t0DF3);
          real _t0DFD#1 = Mul<real>(_t0DF5,_t0DF5);
          real score0DFF#1 = Add<real>(score0DD1,_t0DFD);
          goto JOIN0DF0
        JOIN0DF0:  preds = [ASSIGN0E01,COND0E02]
          real score0E00#2 = phi(score0DFF,score0DD1)
          real _t0E03#1 = Dot<tensor[2]>(r009F8,v21090C);
          real _t0E05#1 = Dot<tensor[2]>(r10A26,v21090C);
          tensor[2] _t0E07#1 = <tensor[2]>[_t0E03,_t0E05];
          tensor[2] pos0E13#3 = Add<tensor[2]>(_t0E07,_t0A36);
          bool _t0E16#1 = Inside<2>(pos0E13,F084C);
          if _t0E16 then goto ASSIGN0E1B else goto ASSIGN0E1D
        ASSIGN0E1B:  preds = [COND0E1E]
          bool _t0E19#1 = Inside<2>(v21090C,T0844);
          goto JOIN0E18
        JOIN0E18:  preds = [ASSIGN0E1B,ASSIGN0E1D]
          bool _t0E1A#1 = phi(_t0E19,_t0E1C)
          if _t0E1A then goto ASSIGN0E21 else goto JOIN0E1F
        ASSIGN0E21:  preds = [COND0E31]
          real _t0E20#1 = Probe<tensor[2],real>(F084C,pos0E13);
          real _t0E22#1 = Probe<tensor[2],real>(T0844,v21090C);
          real _t0E24#2 = Sub<real>(_t0E20,_t0E22);
          real _t0E2C#1 = Mul<real>(_t0E24,_t0E24);
          real score0E2E#1 = Add<real>(score0E00,_t0E2C);
          goto JOIN0E1F
        JOIN0E1F:  preds = [ASSIGN0E30,COND0E31]
          real score0E2F#2 = phi(score0E2E,score0E00)
          real _t0E32#1 = Dot<tensor[2]>(r009F8,v220912);
          real _t0E34#1 = Dot<tensor[2]>(r10A26,v220912);
          tensor[2] _t0E36#1 = <tensor[2]>[_t0E32,_t0E34];
          tensor[2] pos0E42#3 = Add<tensor[2]>(_t0E36,_t0A36);
          bool _t0E45#1 = Inside<2>(pos0E42,F084C);
          if _t0E45 then goto ASSIGN0E4A else goto ASSIGN0E4C
        ASSIGN0E4A:  preds = [COND0E4D]
          bool _t0E48#1 = Inside<2>(v220912,T0844);
          goto JOIN0E47
        JOIN0E47:  preds = [ASSIGN0E4A,ASSIGN0E4C]
          bool _t0E49#1 = phi(_t0E48,_t0E4B)
          if _t0E49 then goto ASSIGN0E50 else goto JOIN0E4E
        ASSIGN0E50:  preds = [COND0E60]
          real _t0E4F#1 = Probe<tensor[2],real>(F084C,pos0E42);
          real _t0E51#1 = Probe<tensor[2],real>(T0844,v220912);
          real _t0E53#2 = Sub<real>(_t0E4F,_t0E51);
          real _t0E5B#1 = Mul<real>(_t0E53,_t0E53);
          real score0E5D#1 = Add<real>(score0E2F,_t0E5B);
          goto JOIN0E4E
        JOIN0E4E:  preds = [ASSIGN0E5F,COND0E60]
          real score0E5E#2 = phi(score0E5D,score0E2F)
          real _t0E61#1 = Dot<tensor[2]>(r009F8,v230918);
          real _t0E63#1 = Dot<tensor[2]>(r10A26,v230918);
          tensor[2] _t0E65#1 = <tensor[2]>[_t0E61,_t0E63];
          tensor[2] pos0E71#3 = Add<tensor[2]>(_t0E65,_t0A36);
          bool _t0E74#1 = Inside<2>(pos0E71,F084C);
          if _t0E74 then goto ASSIGN0E79 else goto ASSIGN0E7B
        ASSIGN0E79:  preds = [COND0E7C]
          bool _t0E77#1 = Inside<2>(v230918,T0844);
          goto JOIN0E76
        JOIN0E76:  preds = [ASSIGN0E79,ASSIGN0E7B]
          bool _t0E78#1 = phi(_t0E77,_t0E7A)
          if _t0E78 then goto ASSIGN0E7F else goto JOIN0E7D
        ASSIGN0E7F:  preds = [COND0E8F]
          real _t0E7E#1 = Probe<tensor[2],real>(F084C,pos0E71);
          real _t0E80#1 = Probe<tensor[2],real>(T0844,v230918);
          real _t0E82#2 = Sub<real>(_t0E7E,_t0E80);
          real _t0E8A#1 = Mul<real>(_t0E82,_t0E82);
          real score0E8C#1 = Add<real>(score0E5E,_t0E8A);
          goto JOIN0E7D
        JOIN0E7D:  preds = [ASSIGN0E8E,COND0E8F]
          real score0E8D#2 = phi(score0E8C,score0E5E)
          real _t0E90#1 = Dot<tensor[2]>(r009F8,v240920);
          real _t0E92#1 = Dot<tensor[2]>(r10A26,v240920);
          tensor[2] _t0E94#1 = <tensor[2]>[_t0E90,_t0E92];
          tensor[2] pos0EA0#3 = Add<tensor[2]>(_t0E94,_t0A36);
          bool _t0EA3#1 = Inside<2>(pos0EA0,F084C);
          if _t0EA3 then goto ASSIGN0EA8 else goto ASSIGN0EAA
        ASSIGN0EA8:  preds = [COND0EAB]
          bool _t0EA6#1 = Inside<2>(v240920,T0844);
          goto JOIN0EA5
        JOIN0EA5:  preds = [ASSIGN0EA8,ASSIGN0EAA]
          bool _t0EA7#1 = phi(_t0EA6,_t0EA9)
          if _t0EA7 then goto ASSIGN0EAE else goto JOIN0EAC
        ASSIGN0EAE:  preds = [COND0EBE]
          real _t0EAD#1 = Probe<tensor[2],real>(F084C,pos0EA0);
          real _t0EAF#1 = Probe<tensor[2],real>(T0844,v240920);
          real _t0EB1#2 = Sub<real>(_t0EAD,_t0EAF);
          real _t0EB9#1 = Mul<real>(_t0EB1,_t0EB1);
          real score0EBB#1 = Add<real>(score0E8D,_t0EB9);
          goto JOIN0EAC
        JOIN0EAC:  preds = [ASSIGN0EBD,COND0EBE]
          real score0EBC#2 = phi(score0EBB,score0E8D)
          real _t0EBF#1 = Dot<tensor[2]>(r009F8,v250928);
          real _t0EC1#1 = Dot<tensor[2]>(r10A26,v250928);
          tensor[2] _t0EC3#1 = <tensor[2]>[_t0EBF,_t0EC1];
          tensor[2] pos0ECF#3 = Add<tensor[2]>(_t0EC3,_t0A36);
          bool _t0ED2#1 = Inside<2>(pos0ECF,F084C);
          if _t0ED2 then goto ASSIGN0ED7 else goto ASSIGN0ED9
        ASSIGN0ED7:  preds = [COND0EDA]
          bool _t0ED5#1 = Inside<2>(v250928,T0844);
          goto JOIN0ED4
        JOIN0ED4:  preds = [ASSIGN0ED7,ASSIGN0ED9]
          bool _t0ED6#1 = phi(_t0ED5,_t0ED8)
          if _t0ED6 then goto ASSIGN0EDD else goto JOIN0EDB
        ASSIGN0EDD:  preds = [COND0EED]
          real _t0EDC#1 = Probe<tensor[2],real>(F084C,pos0ECF);
          real _t0EDE#1 = Probe<tensor[2],real>(T0844,v250928);
          real _t0EE0#2 = Sub<real>(_t0EDC,_t0EDE);
          real _t0EE8#1 = Mul<real>(_t0EE0,_t0EE0);
          real score0EEA#1 = Add<real>(score0EBC,_t0EE8);
          goto JOIN0EDB
        JOIN0EDB:  preds = [ASSIGN0EEC,COND0EED]
          real score0EEB#2 = phi(score0EEA,score0EBC)
          real _t0EEE#1 = Dot<tensor[2]>(r009F8,v260930);
          real _t0EF0#1 = Dot<tensor[2]>(r10A26,v260930);
          tensor[2] _t0EF2#1 = <tensor[2]>[_t0EEE,_t0EF0];
          tensor[2] pos0EFE#3 = Add<tensor[2]>(_t0EF2,_t0A36);
          bool _t0F01#1 = Inside<2>(pos0EFE,F084C);
          if _t0F01 then goto ASSIGN0F06 else goto ASSIGN0F08
        ASSIGN0F06:  preds = [COND0F09]
          bool _t0F04#1 = Inside<2>(v260930,T0844);
          goto JOIN0F03
        JOIN0F03:  preds = [ASSIGN0F06,ASSIGN0F08]
          bool _t0F05#1 = phi(_t0F04,_t0F07)
          if _t0F05 then goto ASSIGN0F0C else goto JOIN0F0A
        ASSIGN0F0C:  preds = [COND0F1C]
          real _t0F0B#1 = Probe<tensor[2],real>(F084C,pos0EFE);
          real _t0F0D#1 = Probe<tensor[2],real>(T0844,v260930);
          real _t0F0F#2 = Sub<real>(_t0F0B,_t0F0D);
          real _t0F17#1 = Mul<real>(_t0F0F,_t0F0F);
          real score0F19#1 = Add<real>(score0EEB,_t0F17);
          goto JOIN0F0A
        JOIN0F0A:  preds = [ASSIGN0F1B,COND0F1C]
          real score0F1A#2 = phi(score0F19,score0EEB)
          real _t0F1D#1 = Dot<tensor[2]>(r009F8,v270936);
          real _t0F1F#1 = Dot<tensor[2]>(r10A26,v270936);
          tensor[2] _t0F21#1 = <tensor[2]>[_t0F1D,_t0F1F];
          tensor[2] pos0F2D#3 = Add<tensor[2]>(_t0F21,_t0A36);
          bool _t0F30#1 = Inside<2>(pos0F2D,F084C);
          if _t0F30 then goto ASSIGN0F35 else goto ASSIGN0F37
        ASSIGN0F35:  preds = [COND0F38]
          bool _t0F33#1 = Inside<2>(v270936,T0844);
          goto JOIN0F32
        JOIN0F32:  preds = [ASSIGN0F35,ASSIGN0F37]
          bool _t0F34#1 = phi(_t0F33,_t0F36)
          if _t0F34 then goto ASSIGN0F3B else goto JOIN0F39
        ASSIGN0F3B:  preds = [COND0F4B]
          real _t0F3A#1 = Probe<tensor[2],real>(F084C,pos0F2D);
          real _t0F3C#1 = Probe<tensor[2],real>(T0844,v270936);
          real _t0F3E#2 = Sub<real>(_t0F3A,_t0F3C);
          real _t0F46#1 = Mul<real>(_t0F3E,_t0F3E);
          real score0F48#1 = Add<real>(score0F1A,_t0F46);
          goto JOIN0F39
        JOIN0F39:  preds = [ASSIGN0F4A,COND0F4B]
          real score0F49#2 = phi(score0F48,score0F1A)
          real _t0F4C#1 = Dot<tensor[2]>(r009F8,v28093C);
          real _t0F4E#1 = Dot<tensor[2]>(r10A26,v28093C);
          tensor[2] _t0F50#1 = <tensor[2]>[_t0F4C,_t0F4E];
          tensor[2] pos0F5C#3 = Add<tensor[2]>(_t0F50,_t0A36);
          bool _t0F5F#1 = Inside<2>(pos0F5C,F084C);
          if _t0F5F then goto ASSIGN0F64 else goto ASSIGN0F66
        ASSIGN0F64:  preds = [COND0F67]
          bool _t0F62#1 = Inside<2>(v28093C,T0844);
          goto JOIN0F61
        JOIN0F61:  preds = [ASSIGN0F64,ASSIGN0F66]
          bool _t0F63#1 = phi(_t0F62,_t0F65)
          if _t0F63 then goto ASSIGN0F6A else goto JOIN0F68
        ASSIGN0F6A:  preds = [COND0F7A]
          real _t0F69#1 = Probe<tensor[2],real>(F084C,pos0F5C);
          real _t0F6B#1 = Probe<tensor[2],real>(T0844,v28093C);
          real _t0F6D#2 = Sub<real>(_t0F69,_t0F6B);
          real _t0F75#1 = Mul<real>(_t0F6D,_t0F6D);
          real score0F77#1 = Add<real>(score0F49,_t0F75);
          goto JOIN0F68
        JOIN0F68:  preds = [ASSIGN0F79,COND0F7A]
          real score0F78#2 = phi(score0F77,score0F49)
          real _t0F7B#1 = Dot<tensor[2]>(r009F8,v290942);
          real _t0F7D#1 = Dot<tensor[2]>(r10A26,v290942);
          tensor[2] _t0F7F#1 = <tensor[2]>[_t0F7B,_t0F7D];
          tensor[2] pos0F8B#3 = Add<tensor[2]>(_t0F7F,_t0A36);
          bool _t0F8E#1 = Inside<2>(pos0F8B,F084C);
          if _t0F8E then goto ASSIGN0F93 else goto ASSIGN0F95
        ASSIGN0F93:  preds = [COND0F96]
          bool _t0F91#1 = Inside<2>(v290942,T0844);
          goto JOIN0F90
        JOIN0F90:  preds = [ASSIGN0F93,ASSIGN0F95]
          bool _t0F92#1 = phi(_t0F91,_t0F94)
          if _t0F92 then goto ASSIGN0F99 else goto JOIN0F97
        ASSIGN0F99:  preds = [COND0FA9]
          real _t0F98#1 = Probe<tensor[2],real>(F084C,pos0F8B);
          real _t0F9A#1 = Probe<tensor[2],real>(T0844,v290942);
          real _t0F9C#2 = Sub<real>(_t0F98,_t0F9A);
          real _t0FA4#1 = Mul<real>(_t0F9C,_t0F9C);
          real score0FA6#1 = Add<real>(score0F78,_t0FA4);
          goto JOIN0F97
        JOIN0F97:  preds = [ASSIGN0FA8,COND0FA9]
          real score0FA7#2 = phi(score0FA6,score0F78)
          real _t0FAA#1 = Dot<tensor[2]>(r009F8,v30094A);
          real _t0FAC#1 = Dot<tensor[2]>(r10A26,v30094A);
          tensor[2] _t0FAE#1 = <tensor[2]>[_t0FAA,_t0FAC];
          tensor[2] pos0FBA#3 = Add<tensor[2]>(_t0FAE,_t0A36);
          bool _t0FBD#1 = Inside<2>(pos0FBA,F084C);
          if _t0FBD then goto ASSIGN0FC2 else goto ASSIGN0FC4
        ASSIGN0FC2:  preds = [COND0FC5]
          bool _t0FC0#1 = Inside<2>(v30094A,T0844);
          goto JOIN0FBF
        JOIN0FBF:  preds = [ASSIGN0FC2,ASSIGN0FC4]
          bool _t0FC1#1 = phi(_t0FC0,_t0FC3)
          if _t0FC1 then goto ASSIGN0FC8 else goto JOIN0FC6
        ASSIGN0FC8:  preds = [COND0FD8]
          real _t0FC7#1 = Probe<tensor[2],real>(F084C,pos0FBA);
          real _t0FC9#1 = Probe<tensor[2],real>(T0844,v30094A);
          real _t0FCB#2 = Sub<real>(_t0FC7,_t0FC9);
          real _t0FD3#1 = Mul<real>(_t0FCB,_t0FCB);
          real score0FD5#1 = Add<real>(score0FA7,_t0FD3);
          goto JOIN0FC6
        JOIN0FC6:  preds = [ASSIGN0FD7,COND0FD8]
          real score0FD6#2 = phi(score0FD5,score0FA7)
          real _t0FD9#1 = Dot<tensor[2]>(r009F8,v310952);
          real _t0FDB#1 = Dot<tensor[2]>(r10A26,v310952);
          tensor[2] _t0FDD#1 = <tensor[2]>[_t0FD9,_t0FDB];
          tensor[2] pos0FE9#3 = Add<tensor[2]>(_t0FDD,_t0A36);
          bool _t0FEC#1 = Inside<2>(pos0FE9,F084C);
          if _t0FEC then goto ASSIGN0FF1 else goto ASSIGN0FF3
        ASSIGN0FF1:  preds = [COND0FF4]
          bool _t0FEF#1 = Inside<2>(v310952,T0844);
          goto JOIN0FEE
        JOIN0FEE:  preds = [ASSIGN0FF1,ASSIGN0FF3]
          bool _t0FF0#1 = phi(_t0FEF,_t0FF2)
          if _t0FF0 then goto ASSIGN0FF7 else goto JOIN0FF5
        ASSIGN0FF7:  preds = [COND1007]
          real _t0FF6#1 = Probe<tensor[2],real>(F084C,pos0FE9);
          real _t0FF8#1 = Probe<tensor[2],real>(T0844,v310952);
          real _t0FFA#2 = Sub<real>(_t0FF6,_t0FF8);
          real _t1002#1 = Mul<real>(_t0FFA,_t0FFA);
          real score1004#1 = Add<real>(score0FD6,_t1002);
          goto JOIN0FF5
        JOIN0FF5:  preds = [ASSIGN1006,COND1007]
          real score1005#2 = phi(score1004,score0FD6)
          real _t1008#1 = Dot<tensor[2]>(r009F8,v32095A);
          real _t100A#1 = Dot<tensor[2]>(r10A26,v32095A);
          tensor[2] _t100C#1 = <tensor[2]>[_t1008,_t100A];
          tensor[2] pos1018#3 = Add<tensor[2]>(_t100C,_t0A36);
          bool _t101B#1 = Inside<2>(pos1018,F084C);
          if _t101B then goto ASSIGN1020 else goto ASSIGN1022
        ASSIGN1020:  preds = [COND1023]
          bool _t101E#1 = Inside<2>(v32095A,T0844);
          goto JOIN101D
        JOIN101D:  preds = [ASSIGN1020,ASSIGN1022]
          bool _t101F#1 = phi(_t101E,_t1021)
          if _t101F then goto ASSIGN1026 else goto JOIN1024
        ASSIGN1026:  preds = [COND1036]
          real _t1025#1 = Probe<tensor[2],real>(F084C,pos1018);
          real _t1027#1 = Probe<tensor[2],real>(T0844,v32095A);
          real _t1029#2 = Sub<real>(_t1025,_t1027);
          real _t1031#1 = Mul<real>(_t1029,_t1029);
          real score1033#1 = Add<real>(score1005,_t1031);
          goto JOIN1024
        JOIN1024:  preds = [ASSIGN1035,COND1036]
          real score1034#2 = phi(score1033,score1005)
          real _t1037#1 = Dot<tensor[2]>(r009F8,v330960);
          real _t1039#1 = Dot<tensor[2]>(r10A26,v330960);
          tensor[2] _t103B#1 = <tensor[2]>[_t1037,_t1039];
          tensor[2] pos1047#3 = Add<tensor[2]>(_t103B,_t0A36);
          bool _t104A#1 = Inside<2>(pos1047,F084C);
          if _t104A then goto ASSIGN104F else goto ASSIGN1051
        ASSIGN104F:  preds = [COND1052]
          bool _t104D#1 = Inside<2>(v330960,T0844);
          goto JOIN104C
        JOIN104C:  preds = [ASSIGN104F,ASSIGN1051]
          bool _t104E#1 = phi(_t104D,_t1050)
          if _t104E then goto ASSIGN1055 else goto JOIN1053
        ASSIGN1055:  preds = [COND1065]
          real _t1054#1 = Probe<tensor[2],real>(F084C,pos1047);
          real _t1056#1 = Probe<tensor[2],real>(T0844,v330960);
          real _t1058#2 = Sub<real>(_t1054,_t1056);
          real _t1060#1 = Mul<real>(_t1058,_t1058);
          real score1062#1 = Add<real>(score1034,_t1060);
          goto JOIN1053
        JOIN1053:  preds = [ASSIGN1064,COND1065]
          real score1063#2 = phi(score1062,score1034)
          real _t1066#1 = Dot<tensor[2]>(r009F8,v340966);
          real _t1068#1 = Dot<tensor[2]>(r10A26,v340966);
          tensor[2] _t106A#1 = <tensor[2]>[_t1066,_t1068];
          tensor[2] pos1076#4 = Add<tensor[2]>(_t106A,_t0A36);
          bool _t1079#1 = Inside<2>(pos1076,F084C);
          if _t1079 then goto ASSIGN107E else goto ASSIGN1080
        ASSIGN107E:  preds = [COND1081]
          bool _t107C#1 = Inside<2>(v340966,T0844);
          goto JOIN107B
        JOIN107B:  preds = [ASSIGN107E,ASSIGN1080]
          bool _t107D#1 = phi(_t107C,_t107F)
          if _t107D then goto ASSIGN1084 else goto JOIN1082
        ASSIGN1084:  preds = [COND1094]
          real _t1083#1 = Probe<tensor[2],real>(F084C,pos1076);
          real _t1085#1 = Probe<tensor[2],real>(T0844,v340966);
          real _t1087#2 = Sub<real>(_t1083,_t1085);
          real _t108F#1 = Mul<real>(_t1087,_t1087);
          real score1091#1 = Add<real>(score1063,_t108F);
          goto JOIN1082
        JOIN1082:  preds = [ASSIGN1093,COND1094]
          real score1092#1 = phi(score1091,score1063)
          self.t = t09C0;
          self.score = score1092;
          self.r0 = r009F8;
          self.r1 = r10A26;
          self.pos = pos1076;
          stabilize ()
        ASSIGN1080:  preds = [COND1081]
          bool _t107F#1 = false;
          goto JOIN107B
        ASSIGN1051:  preds = [COND1052]
          bool _t1050#1 = false;
          goto JOIN104C
        ASSIGN1022:  preds = [COND1023]
          bool _t1021#1 = false;
          goto JOIN101D
        ASSIGN0FF3:  preds = [COND0FF4]
          bool _t0FF2#1 = false;
          goto JOIN0FEE
        ASSIGN0FC4:  preds = [COND0FC5]
          bool _t0FC3#1 = false;
          goto JOIN0FBF
        ASSIGN0F95:  preds = [COND0F96]
          bool _t0F94#1 = false;
          goto JOIN0F90
        ASSIGN0F66:  preds = [COND0F67]
          bool _t0F65#1 = false;
          goto JOIN0F61
        ASSIGN0F37:  preds = [COND0F38]
          bool _t0F36#1 = false;
          goto JOIN0F32
        ASSIGN0F08:  preds = [COND0F09]
          bool _t0F07#1 = false;
          goto JOIN0F03
        ASSIGN0ED9:  preds = [COND0EDA]
          bool _t0ED8#1 = false;
          goto JOIN0ED4
        ASSIGN0EAA:  preds = [COND0EAB]
          bool _t0EA9#1 = false;
          goto JOIN0EA5
        ASSIGN0E7B:  preds = [COND0E7C]
          bool _t0E7A#1 = false;
          goto JOIN0E76
        ASSIGN0E4C:  preds = [COND0E4D]
          bool _t0E4B#1 = false;
          goto JOIN0E47
        ASSIGN0E1D:  preds = [COND0E1E]
          bool _t0E1C#1 = false;
          goto JOIN0E18
        ASSIGN0DEE:  preds = [COND0DEF]
          bool _t0DED#1 = false;
          goto JOIN0DE9
        ASSIGN0DBF:  preds = [COND0DC0]
          bool _t0DBE#1 = false;
          goto JOIN0DBA
        ASSIGN0D90:  preds = [COND0D91]
          bool _t0D8F#1 = false;
          goto JOIN0D8B
        ASSIGN0D61:  preds = [COND0D62]
          bool _t0D60#1 = false;
          goto JOIN0D5C
        ASSIGN0D32:  preds = [COND0D33]
          bool _t0D31#1 = false;
          goto JOIN0D2D
        ASSIGN0D03:  preds = [COND0D04]
          bool _t0D02#1 = false;
          goto JOIN0CFE
        ASSIGN0CD4:  preds = [COND0CD5]
          bool _t0CD3#1 = false;
          goto JOIN0CCF
        ASSIGN0CA5:  preds = [COND0CA6]
          bool _t0CA4#1 = false;
          goto JOIN0CA0
        ASSIGN0C76:  preds = [COND0C77]
          bool _t0C75#1 = false;
          goto JOIN0C71
        ASSIGN0C47:  preds = [COND0C48]
          bool _t0C46#1 = false;
          goto JOIN0C42
        ASSIGN0C18:  preds = [COND0C19]
          bool _t0C17#1 = false;
          goto JOIN0C13
        ASSIGN0BE9:  preds = [COND0BEA]
          bool _t0BE8#1 = false;
          goto JOIN0BE4
        ASSIGN0BBA:  preds = [COND0BBB]
          bool _t0BB9#1 = false;
          goto JOIN0BB5
        ASSIGN0B8B:  preds = [COND0B8C]
          bool _t0B8A#1 = false;
          goto JOIN0B86
        ASSIGN0B5C:  preds = [COND0B5D]
          bool _t0B5B#1 = false;
          goto JOIN0B57
        ASSIGN0B2D:  preds = [COND0B2E]
          bool _t0B2C#1 = false;
          goto JOIN0B28
        ASSIGN0AFE:  preds = [COND0AFF]
          bool _t0AFD#1 = false;
          goto JOIN0AF9
        ASSIGN0ACF:  preds = [COND0AD0]
          bool _t0ACE#1 = false;
          goto JOIN0ACA
        ASSIGN0AA0:  preds = [COND0AA1]
          bool _t0A9F#1 = false;
          goto JOIN0A9B
        ASSIGN0A71:  preds = [COND0A72]
          bool _t0A70#1 = false;
          goto JOIN0A6C
        ASSIGN0A42:  preds = [COND0A43]
          bool _t0A41#1 = false;
          goto JOIN0A3D
    end Update
    method Stabilize
        ENTRY10A7:  preds = []
          tensor[3] t109D#1 = self.t;
          real score109E#1 = self.score;
          tensor[2] r0109F#1 = self.r0;
          tensor[2] r110A0#1 = self.r1;
          tensor[2] pos10A1#1 = self.pos;
          self.t = t109D;
          self.score = score109E;
          self.r0 = r0109F;
          self.r1 = r110A0;
          self.pos = pos10A1;
          return ()
    end Stabilize
  end R
#### end program ####
##### MidIL after translation to MidIL ####
## properties
  none
## globals
  global int T1187#0
  global int F1188#0
  global real2 v001139#4
  global real2 v01113F#4
  global real2 v021145#4
  global real2 v031147#4
  global real2 v041149#4
  global real2 v05114B#4
  global real2 v06114D#4
  global real2 v07114F#4
  global real2 v081151#4
  global real2 v091153#4
  global real2 v101155#4
  global real2 v111157#4
  global real2 v121159#4
  global real2 v13115B#4
  global real2 v14115D#4
  global real2 v15115F#4
  global real2 v161161#4
  global real2 v171163#4
  global real2 v181165#4
  global real2 v191167#4
  global real2 v201169#4
  global real2 v21116B#4
  global real2 v22116D#4
  global real2 v23116F#4
  global real2 v241171#4
  global real2 v251173#4
  global real2 v261175#4
  global real2 v271177#4
  global real2 v281179#4
  global real2 v29117B#4
  global real2 v30117D#4
  global real2 v31117F#4
  global real2 v321181#4
  global real2 v331183#4
  global real2 v341185#4
  global string _t112D#1
  global image(IMAGE2D<int>) _t112F#245
  global int _t112B#0
  global string _t1131#1
  global image(IMAGE2D<float>) _t1133#245
  global real _t1137#12
  global real _t113D#12
  global real _t1143#12
  global real _t1141#13
  global real _t1135#11
  global real _t113B#13
## global initialization
  ENTRY112A:  preds = []
    int _t112B#0 = 0;
    string _t112D#1 = "square-template.nrrd";
    image(IMAGE2D<int>) _t112F#245 = LoadImage<IMAGE2D<int>>(_t112D);
    string _t1131#1 = "square-rotate.nrrd";
    image(IMAGE2D<float>) _t1133#245 = LoadImage<IMAGE2D<float>>(_t1131);
    real _t1135#11 = 0.5e0;
    real _t1137#12 = Neg<real>(_t1135);
    real2 v001139#4 = <real2>[_t1137,_t1137];
    real _t113B#13 = 0.3e0;
    real _t113D#12 = Neg<real>(_t113B);
    real2 v01113F#4 = <real2>[_t1137,_t113D];
    real _t1141#13 = 0.1e0;
    real _t1143#12 = Neg<real>(_t1141);
    real2 v021145#4 = <real2>[_t1137,_t1143];
    real2 v031147#4 = <real2>[_t1137,_t1141];
    real2 v041149#4 = <real2>[_t1137,_t113B];
    real2 v05114B#4 = <real2>[_t1137,_t1135];
    real2 v06114D#4 = <real2>[_t113D,_t1137];
    real2 v07114F#4 = <real2>[_t113D,_t113D];
    real2 v081151#4 = <real2>[_t113D,_t1143];
    real2 v091153#4 = <real2>[_t113D,_t1141];
    real2 v101155#4 = <real2>[_t113D,_t113B];
    real2 v111157#4 = <real2>[_t113D,_t1135];
    real2 v121159#4 = <real2>[_t1143,_t1137];
    real2 v13115B#4 = <real2>[_t1143,_t113D];
    real2 v14115D#4 = <real2>[_t1143,_t1143];
    real2 v15115F#4 = <real2>[_t1143,_t1141];
    real2 v161161#4 = <real2>[_t1143,_t113B];
    real2 v171163#4 = <real2>[_t1143,_t1135];
    real2 v181165#4 = <real2>[_t1141,_t1137];
    real2 v191167#4 = <real2>[_t1141,_t113D];
    real2 v201169#4 = <real2>[_t1141,_t1143];
    real2 v21116B#4 = <real2>[_t1141,_t1141];
    real2 v22116D#4 = <real2>[_t1141,_t113B];
    real2 v23116F#4 = <real2>[_t1141,_t1135];
    real2 v241171#4 = <real2>[_t113B,_t1137];
    real2 v251173#4 = <real2>[_t113B,_t113D];
    real2 v261175#4 = <real2>[_t113B,_t1143];
    real2 v271177#4 = <real2>[_t113B,_t1141];
    real2 v281179#4 = <real2>[_t113B,_t113B];
    real2 v29117B#4 = <real2>[_t113B,_t1135];
    real2 v30117D#4 = <real2>[_t1135,_t1137];
    real2 v31117F#4 = <real2>[_t1135,_t113D];
    real2 v321181#4 = <real2>[_t1135,_t1143];
    real2 v331183#4 = <real2>[_t1135,_t1141];
    real2 v341185#4 = <real2>[_t1135,_t113B];
    return (T1187,F1188,v001139,v01113F,v021145,v031147,v041149,v05114B,v06114D,v07114F,v081151,v091153,v101155,v111157,v121159,v13115B,v14115D,v15115F,v161161,v171163,v181165,v191167,v201169,v21116B,v22116D,v23116F,v241171,v251173,v261175,v271177,v281179,v29117B,v30117D,v31117F,v321181,v331183,v341185,_t112D,_t112F,_t112B,_t1131,_t1133,_t1137,_t113D,_t1143,_t1141,_t1135,_t113B)
## initially
  ARRAY
    ENTRY118F:  preds = []
      int _t118B#4 = 0;
      int _t118C#4 = 60;
      live vars = (_t118C,_t118B)
    for int i118A#1 = _t118B .. _t118C
      for int j118D#1 = _t118B .. _t118C
        for int k118E#1 = _t118B .. _t118C
          ENTRY1193:  preds = []
            live vars = ()
          new R(i118A,j118D,k118E);
## strands
  strand R (int i1195#1, int j1196#1, int k1197#1)
    state: real3 self.t;output real self.score;real2 self.r0;real2 self.r1;real2 self.pos;
      ENTRY119D:  preds = []
        real _t119E#1 = IntToReal(i1195);
        real _t11A0#3 = 0.60e2;
        real _t11A2#1 = Div<real>(_t119E,_t11A0);
        real _t11A4#3 = 0.5e0;
        real _t11A6#1 = Sub<real>(_t11A2,_t11A4);
        real _t11A8#1 = IntToReal(j1196);
        real _t11AA#1 = Div<real>(_t11A8,_t11A0);
        real _t11AC#1 = Sub<real>(_t11AA,_t11A4);
        real _t11AE#1 = IntToReal(k1197);
        real _t11B0#1 = Div<real>(_t11AE,_t11A0);
        real _t11B2#1 = Sub<real>(_t11B0,_t11A4);
        real3 t11B4#1 = <real3>[_t11A6,_t11AC,_t11B2];
        real score11B6#3 = 0.0;
        real2 r011B8#3 = <real2>[score11B6,score11B6];
        self.t = t11B4;
        self.score = score11B6;
        self.r0 = r011B8;
        self.r1 = r011B8;
        self.pos = r011B8;
        strand_init ()
    method Update
        ENTRY11C0:  preds = []
          real3 t11C1#4 = self.t;
          real score11C3#2 = self.score;
          real _t11C5#2 = 0.1e1;
          real _t11C7#3 = 0.2e1;
          int _t11C9#1 = 2;
          real _t11CB#6 = Subscript<real3>(t11C1,_t11C9);
          real _t11CD#1 = Mul<real>(_t11C7,_t11CB);
          real _t11CF#1 = Mul<real>(_t11CD,_t11CB);
          real _t11D1#2 = Sub<real>(_t11C5,_t11CF);
          real _t11D3#1 = Neg<real>(_t11C7);
          real _t11D5#1 = Mul<real>(_t11CB,_t11CB);
          real _t11D7#1 = Sub<real>(_t11C5,_t11D5);
          real _t11D9#2 = sqrt(_t11D7);
          real _t11DB#1 = Mul<real>(_t11D3,_t11D9);
          real _t11DD#1 = Mul<real>(_t11DB,_t11CB);
          real2 r011DF#36 = <real2>[_t11D1,_t11DD];
          real _t11E1#1 = Mul<real>(_t11C7,_t11D9);
          real _t11E3#1 = Mul<real>(_t11E1,_t11CB);
          real2 r111E5#36 = <real2>[_t11E3,_t11D1];
          real _t11E7#1 = Dot<2>(r011DF,v001139);
          real _t11E9#1 = Dot<2>(r111E5,v001139);
          real2 _t11EB#1 = <real2>[_t11E7,_t11E9];
          int _t11ED#1 = 0;
          real _t11EF#1 = Subscript<real3>(t11C1,_t11ED);
          int _t11F1#1 = 1;
          real _t11F3#1 = Subscript<real3>(t11C1,_t11F1);
          real2 _t11F5#35 = <real2>[_t11EF,_t11F3];
          real2 pos11F7#2 = Add<real2>(_t11EB,_t11F5);
          real2 x11FA#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos11F7);
          bool _t11F9#1 = Inside<IMAGE2D<float>,2>(x11FA,_t1133);
          if _t11F9 then goto ASSIGN1200 else goto ASSIGN383E
        ASSIGN1200:  preds = [COND11FD]
          real2 x11FF#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v001139);
          bool _t11FE#1 = Inside<IMAGE2D<int>,2>(x11FF,_t112F);
          goto JOIN1204
        JOIN1204:  preds = [ASSIGN1201,ASSIGN383E]
          bool _t1202#1 = phi(_t11FE,_t1203)
          if _t1202 then goto ASSIGN1245 else goto JOIN1307
        ASSIGN1245:  preds = [COND1205]
          real2 x1207#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos11F7);
          real2 nd1209#2 = Floor<2>(x1207);
          real2 f1208#2 = Sub<real2>(x1207,nd1209);
          int{2} n120A#8 = RealToInt<2>(nd1209);
          int t11226#1 = -1;
          int t21227#1 = Index<int{2},0>(n120A);
          int ix1225#1 = Add<int>(t11226,t21227);
          int t11229#1 = -1;
          int t2122A#1 = Index<int{2},1>(n120A);
          int iy1228#1 = Add<int>(t11229,t2122A);
          addr(IMAGE2D<float>) a122B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1225,iy1228);
          real4 v0120C#1 = LoadVoxels<IMAGE2D<float>,4>(a122B);
          int t1121F#1 = -1;
          int t21220#1 = Index<int{2},0>(n120A);
          int ix121E#1 = Add<int>(t1121F,t21220);
          int t11222#1 = 0;
          int t21223#1 = Index<int{2},1>(n120A);
          int iy1221#1 = Add<int>(t11222,t21223);
          addr(IMAGE2D<float>) a1224#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix121E,iy1221);
          real4 v1120D#1 = LoadVoxels<IMAGE2D<float>,4>(a1224);
          int t11218#1 = -1;
          int t21219#1 = Index<int{2},0>(n120A);
          int ix1217#1 = Add<int>(t11218,t21219);
          int t1121B#1 = 1;
          int t2121C#1 = Index<int{2},1>(n120A);
          int iy121A#1 = Add<int>(t1121B,t2121C);
          addr(IMAGE2D<float>) a121D#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1217,iy121A);
          real4 v2120E#1 = LoadVoxels<IMAGE2D<float>,4>(a121D);
          int t11211#1 = -1;
          int t21212#1 = Index<int{2},0>(n120A);
          int ix1210#1 = Add<int>(t11211,t21212);
          int t11214#1 = 2;
          int t21215#1 = Index<int{2},1>(n120A);
          int iy1213#1 = Add<int>(t11214,t21215);
          addr(IMAGE2D<float>) a1216#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1210,iy1213);
          real4 v3120F#1 = LoadVoxels<IMAGE2D<float>,4>(a1216);
          real fy1237#4 = Index<real2,1>(f1208);
          real r123F#1 = 0.1e1;
          real t3123C#1 = Add<real>(fy1237,r123F);
          real t2123B#1 = fy1237;
          real r123E#1 = 0.1e1;
          real t1123A#1 = Sub<real>(fy1237,r123E);
          real r123D#1 = 0.2e1;
          real t01239#1 = Sub<real>(fy1237,r123D);
          real4 a1238#1 = <real4>[t3123C,t2123B,t1123A,t01239];
          real4 hy122D#1 = EvalKernel<4,bspln3,0>(a1238);
          real fx122E#4 = Index<real2,0>(f1208);
          real r1236#1 = 0.1e1;
          real t31233#1 = Add<real>(fx122E,r1236);
          real t21232#1 = fx122E;
          real r1235#1 = 0.1e1;
          real t11231#1 = Sub<real>(fx122E,r1235);
          real r1234#1 = 0.2e1;
          real t01230#1 = Sub<real>(fx122E,r1234);
          real4 a122F#1 = <real4>[t31233,t21232,t11231,t01230];
          real4 hx122C#4 = EvalKernel<4,bspln3,0>(a122F);
          real t01241#1 = Dot<4>(v0120C,hx122C);
          real t11242#1 = Dot<4>(v1120D,hx122C);
          real t21243#1 = Dot<4>(v2120E,hx122C);
          real t31244#1 = Dot<4>(v3120F,hx122C);
          real4 tv1240#1 = <real4>[t01241,t11242,t21243,t31244];
          real _t1206#1 = Dot<4>(hy122D,tv1240);
          real2 x1284#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v001139);
          real2 nd1286#2 = Floor<2>(x1284);
          real2 f1285#2 = Sub<real2>(x1284,nd1286);
          int{2} n1287#8 = RealToInt<2>(nd1286);
          int t112A3#1 = -1;
          int t212A4#1 = Index<int{2},0>(n1287);
          int ix12A2#1 = Add<int>(t112A3,t212A4);
          int t112A6#1 = -1;
          int t212A7#1 = Index<int{2},1>(n1287);
          int iy12A5#1 = Add<int>(t112A6,t212A7);
          addr(IMAGE2D<int>) a12A8#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix12A2,iy12A5);
          real4 v01289#1 = LoadVoxels<IMAGE2D<int>,4>(a12A8);
          int t1129C#1 = -1;
          int t2129D#1 = Index<int{2},0>(n1287);
          int ix129B#1 = Add<int>(t1129C,t2129D);
          int t1129F#1 = 0;
          int t212A0#1 = Index<int{2},1>(n1287);
          int iy129E#1 = Add<int>(t1129F,t212A0);
          addr(IMAGE2D<int>) a12A1#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix129B,iy129E);
          real4 v1128A#1 = LoadVoxels<IMAGE2D<int>,4>(a12A1);
          int t11295#1 = -1;
          int t21296#1 = Index<int{2},0>(n1287);
          int ix1294#1 = Add<int>(t11295,t21296);
          int t11298#1 = 1;
          int t21299#1 = Index<int{2},1>(n1287);
          int iy1297#1 = Add<int>(t11298,t21299);
          addr(IMAGE2D<int>) a129A#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1294,iy1297);
          real4 v2128B#1 = LoadVoxels<IMAGE2D<int>,4>(a129A);
          int t1128E#1 = -1;
          int t2128F#1 = Index<int{2},0>(n1287);
          int ix128D#1 = Add<int>(t1128E,t2128F);
          int t11291#1 = 2;
          int t21292#1 = Index<int{2},1>(n1287);
          int iy1290#1 = Add<int>(t11291,t21292);
          addr(IMAGE2D<int>) a1293#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix128D,iy1290);
          real4 v3128C#1 = LoadVoxels<IMAGE2D<int>,4>(a1293);
          real fy12B4#4 = Index<real2,1>(f1285);
          real r12BC#1 = 0.1e1;
          real t312B9#1 = Add<real>(fy12B4,r12BC);
          real t212B8#1 = fy12B4;
          real r12BB#1 = 0.1e1;
          real t112B7#1 = Sub<real>(fy12B4,r12BB);
          real r12BA#1 = 0.2e1;
          real t012B6#1 = Sub<real>(fy12B4,r12BA);
          real4 a12B5#1 = <real4>[t312B9,t212B8,t112B7,t012B6];
          real4 hy12AA#1 = EvalKernel<4,bspln3,0>(a12B5);
          real fx12AB#4 = Index<real2,0>(f1285);
          real r12B3#1 = 0.1e1;
          real t312B0#1 = Add<real>(fx12AB,r12B3);
          real t212AF#1 = fx12AB;
          real r12B2#1 = 0.1e1;
          real t112AE#1 = Sub<real>(fx12AB,r12B2);
          real r12B1#1 = 0.2e1;
          real t012AD#1 = Sub<real>(fx12AB,r12B1);
          real4 a12AC#1 = <real4>[t312B0,t212AF,t112AE,t012AD];
          real4 hx12A9#4 = EvalKernel<4,bspln3,0>(a12AC);
          real t012BE#1 = Dot<4>(v01289,hx12A9);
          real t112BF#1 = Dot<4>(v1128A,hx12A9);
          real t212C0#1 = Dot<4>(v2128B,hx12A9);
          real t312C1#1 = Dot<4>(v3128C,hx12A9);
          real4 tv12BD#1 = <real4>[t012BE,t112BF,t212C0,t312C1];
          real _t1283#1 = Dot<4>(hy12AA,tv12BD);
          real _t1300#2 = Sub<real>(_t1206,_t1283);
          real _t1302#1 = Mul<real>(_t1300,_t1300);
          real score1304#1 = Add<real>(score11C3,_t1302);
          goto JOIN1307
        JOIN1307:  preds = [ASSIGN1305,COND1205]
          real score1306#2 = phi(score1304,score11C3)
          real _t1308#1 = Dot<2>(r011DF,v01113F);
          real _t130A#1 = Dot<2>(r111E5,v01113F);
          real2 _t130C#1 = <real2>[_t1308,_t130A];
          real2 pos130E#2 = Add<real2>(_t130C,_t11F5);
          real2 x1311#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos130E);
          bool _t1310#1 = Inside<IMAGE2D<float>,2>(x1311,_t1133);
          if _t1310 then goto ASSIGN1317 else goto ASSIGN383D
        ASSIGN1317:  preds = [COND1314]
          real2 x1316#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v01113F);
          bool _t1315#1 = Inside<IMAGE2D<int>,2>(x1316,_t112F);
          goto JOIN131B
        JOIN131B:  preds = [ASSIGN1318,ASSIGN383D]
          bool _t1319#1 = phi(_t1315,_t131A)
          if _t1319 then goto ASSIGN135C else goto JOIN141E
        ASSIGN135C:  preds = [COND131C]
          real2 x131E#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos130E);
          real2 nd1320#2 = Floor<2>(x131E);
          real2 f131F#2 = Sub<real2>(x131E,nd1320);
          int{2} n1321#8 = RealToInt<2>(nd1320);
          int t1133D#1 = -1;
          int t2133E#1 = Index<int{2},0>(n1321);
          int ix133C#1 = Add<int>(t1133D,t2133E);
          int t11340#1 = -1;
          int t21341#1 = Index<int{2},1>(n1321);
          int iy133F#1 = Add<int>(t11340,t21341);
          addr(IMAGE2D<float>) a1342#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix133C,iy133F);
          real4 v01323#1 = LoadVoxels<IMAGE2D<float>,4>(a1342);
          int t11336#1 = -1;
          int t21337#1 = Index<int{2},0>(n1321);
          int ix1335#1 = Add<int>(t11336,t21337);
          int t11339#1 = 0;
          int t2133A#1 = Index<int{2},1>(n1321);
          int iy1338#1 = Add<int>(t11339,t2133A);
          addr(IMAGE2D<float>) a133B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1335,iy1338);
          real4 v11324#1 = LoadVoxels<IMAGE2D<float>,4>(a133B);
          int t1132F#1 = -1;
          int t21330#1 = Index<int{2},0>(n1321);
          int ix132E#1 = Add<int>(t1132F,t21330);
          int t11332#1 = 1;
          int t21333#1 = Index<int{2},1>(n1321);
          int iy1331#1 = Add<int>(t11332,t21333);
          addr(IMAGE2D<float>) a1334#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix132E,iy1331);
          real4 v21325#1 = LoadVoxels<IMAGE2D<float>,4>(a1334);
          int t11328#1 = -1;
          int t21329#1 = Index<int{2},0>(n1321);
          int ix1327#1 = Add<int>(t11328,t21329);
          int t1132B#1 = 2;
          int t2132C#1 = Index<int{2},1>(n1321);
          int iy132A#1 = Add<int>(t1132B,t2132C);
          addr(IMAGE2D<float>) a132D#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1327,iy132A);
          real4 v31326#1 = LoadVoxels<IMAGE2D<float>,4>(a132D);
          real fy134E#4 = Index<real2,1>(f131F);
          real r1356#1 = 0.1e1;
          real t31353#1 = Add<real>(fy134E,r1356);
          real t21352#1 = fy134E;
          real r1355#1 = 0.1e1;
          real t11351#1 = Sub<real>(fy134E,r1355);
          real r1354#1 = 0.2e1;
          real t01350#1 = Sub<real>(fy134E,r1354);
          real4 a134F#1 = <real4>[t31353,t21352,t11351,t01350];
          real4 hy1344#1 = EvalKernel<4,bspln3,0>(a134F);
          real fx1345#4 = Index<real2,0>(f131F);
          real r134D#1 = 0.1e1;
          real t3134A#1 = Add<real>(fx1345,r134D);
          real t21349#1 = fx1345;
          real r134C#1 = 0.1e1;
          real t11348#1 = Sub<real>(fx1345,r134C);
          real r134B#1 = 0.2e1;
          real t01347#1 = Sub<real>(fx1345,r134B);
          real4 a1346#1 = <real4>[t3134A,t21349,t11348,t01347];
          real4 hx1343#4 = EvalKernel<4,bspln3,0>(a1346);
          real t01358#1 = Dot<4>(v01323,hx1343);
          real t11359#1 = Dot<4>(v11324,hx1343);
          real t2135A#1 = Dot<4>(v21325,hx1343);
          real t3135B#1 = Dot<4>(v31326,hx1343);
          real4 tv1357#1 = <real4>[t01358,t11359,t2135A,t3135B];
          real _t131D#1 = Dot<4>(hy1344,tv1357);
          real2 x139B#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v01113F);
          real2 nd139D#2 = Floor<2>(x139B);
          real2 f139C#2 = Sub<real2>(x139B,nd139D);
          int{2} n139E#8 = RealToInt<2>(nd139D);
          int t113BA#1 = -1;
          int t213BB#1 = Index<int{2},0>(n139E);
          int ix13B9#1 = Add<int>(t113BA,t213BB);
          int t113BD#1 = -1;
          int t213BE#1 = Index<int{2},1>(n139E);
          int iy13BC#1 = Add<int>(t113BD,t213BE);
          addr(IMAGE2D<int>) a13BF#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix13B9,iy13BC);
          real4 v013A0#1 = LoadVoxels<IMAGE2D<int>,4>(a13BF);
          int t113B3#1 = -1;
          int t213B4#1 = Index<int{2},0>(n139E);
          int ix13B2#1 = Add<int>(t113B3,t213B4);
          int t113B6#1 = 0;
          int t213B7#1 = Index<int{2},1>(n139E);
          int iy13B5#1 = Add<int>(t113B6,t213B7);
          addr(IMAGE2D<int>) a13B8#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix13B2,iy13B5);
          real4 v113A1#1 = LoadVoxels<IMAGE2D<int>,4>(a13B8);
          int t113AC#1 = -1;
          int t213AD#1 = Index<int{2},0>(n139E);
          int ix13AB#1 = Add<int>(t113AC,t213AD);
          int t113AF#1 = 1;
          int t213B0#1 = Index<int{2},1>(n139E);
          int iy13AE#1 = Add<int>(t113AF,t213B0);
          addr(IMAGE2D<int>) a13B1#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix13AB,iy13AE);
          real4 v213A2#1 = LoadVoxels<IMAGE2D<int>,4>(a13B1);
          int t113A5#1 = -1;
          int t213A6#1 = Index<int{2},0>(n139E);
          int ix13A4#1 = Add<int>(t113A5,t213A6);
          int t113A8#1 = 2;
          int t213A9#1 = Index<int{2},1>(n139E);
          int iy13A7#1 = Add<int>(t113A8,t213A9);
          addr(IMAGE2D<int>) a13AA#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix13A4,iy13A7);
          real4 v313A3#1 = LoadVoxels<IMAGE2D<int>,4>(a13AA);
          real fy13CB#4 = Index<real2,1>(f139C);
          real r13D3#1 = 0.1e1;
          real t313D0#1 = Add<real>(fy13CB,r13D3);
          real t213CF#1 = fy13CB;
          real r13D2#1 = 0.1e1;
          real t113CE#1 = Sub<real>(fy13CB,r13D2);
          real r13D1#1 = 0.2e1;
          real t013CD#1 = Sub<real>(fy13CB,r13D1);
          real4 a13CC#1 = <real4>[t313D0,t213CF,t113CE,t013CD];
          real4 hy13C1#1 = EvalKernel<4,bspln3,0>(a13CC);
          real fx13C2#4 = Index<real2,0>(f139C);
          real r13CA#1 = 0.1e1;
          real t313C7#1 = Add<real>(fx13C2,r13CA);
          real t213C6#1 = fx13C2;
          real r13C9#1 = 0.1e1;
          real t113C5#1 = Sub<real>(fx13C2,r13C9);
          real r13C8#1 = 0.2e1;
          real t013C4#1 = Sub<real>(fx13C2,r13C8);
          real4 a13C3#1 = <real4>[t313C7,t213C6,t113C5,t013C4];
          real4 hx13C0#4 = EvalKernel<4,bspln3,0>(a13C3);
          real t013D5#1 = Dot<4>(v013A0,hx13C0);
          real t113D6#1 = Dot<4>(v113A1,hx13C0);
          real t213D7#1 = Dot<4>(v213A2,hx13C0);
          real t313D8#1 = Dot<4>(v313A3,hx13C0);
          real4 tv13D4#1 = <real4>[t013D5,t113D6,t213D7,t313D8];
          real _t139A#1 = Dot<4>(hy13C1,tv13D4);
          real _t1417#2 = Sub<real>(_t131D,_t139A);
          real _t1419#1 = Mul<real>(_t1417,_t1417);
          real score141B#1 = Add<real>(score1306,_t1419);
          goto JOIN141E
        JOIN141E:  preds = [ASSIGN141C,COND131C]
          real score141D#2 = phi(score141B,score1306)
          real _t141F#1 = Dot<2>(r011DF,v021145);
          real _t1421#1 = Dot<2>(r111E5,v021145);
          real2 _t1423#1 = <real2>[_t141F,_t1421];
          real2 pos1425#2 = Add<real2>(_t1423,_t11F5);
          real2 x1428#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1425);
          bool _t1427#1 = Inside<IMAGE2D<float>,2>(x1428,_t1133);
          if _t1427 then goto ASSIGN142E else goto ASSIGN383C
        ASSIGN142E:  preds = [COND142B]
          real2 x142D#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v021145);
          bool _t142C#1 = Inside<IMAGE2D<int>,2>(x142D,_t112F);
          goto JOIN1432
        JOIN1432:  preds = [ASSIGN142F,ASSIGN383C]
          bool _t1430#1 = phi(_t142C,_t1431)
          if _t1430 then goto ASSIGN1473 else goto JOIN1535
        ASSIGN1473:  preds = [COND1433]
          real2 x1435#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1425);
          real2 nd1437#2 = Floor<2>(x1435);
          real2 f1436#2 = Sub<real2>(x1435,nd1437);
          int{2} n1438#8 = RealToInt<2>(nd1437);
          int t11454#1 = -1;
          int t21455#1 = Index<int{2},0>(n1438);
          int ix1453#1 = Add<int>(t11454,t21455);
          int t11457#1 = -1;
          int t21458#1 = Index<int{2},1>(n1438);
          int iy1456#1 = Add<int>(t11457,t21458);
          addr(IMAGE2D<float>) a1459#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1453,iy1456);
          real4 v0143A#1 = LoadVoxels<IMAGE2D<float>,4>(a1459);
          int t1144D#1 = -1;
          int t2144E#1 = Index<int{2},0>(n1438);
          int ix144C#1 = Add<int>(t1144D,t2144E);
          int t11450#1 = 0;
          int t21451#1 = Index<int{2},1>(n1438);
          int iy144F#1 = Add<int>(t11450,t21451);
          addr(IMAGE2D<float>) a1452#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix144C,iy144F);
          real4 v1143B#1 = LoadVoxels<IMAGE2D<float>,4>(a1452);
          int t11446#1 = -1;
          int t21447#1 = Index<int{2},0>(n1438);
          int ix1445#1 = Add<int>(t11446,t21447);
          int t11449#1 = 1;
          int t2144A#1 = Index<int{2},1>(n1438);
          int iy1448#1 = Add<int>(t11449,t2144A);
          addr(IMAGE2D<float>) a144B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1445,iy1448);
          real4 v2143C#1 = LoadVoxels<IMAGE2D<float>,4>(a144B);
          int t1143F#1 = -1;
          int t21440#1 = Index<int{2},0>(n1438);
          int ix143E#1 = Add<int>(t1143F,t21440);
          int t11442#1 = 2;
          int t21443#1 = Index<int{2},1>(n1438);
          int iy1441#1 = Add<int>(t11442,t21443);
          addr(IMAGE2D<float>) a1444#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix143E,iy1441);
          real4 v3143D#1 = LoadVoxels<IMAGE2D<float>,4>(a1444);
          real fy1465#4 = Index<real2,1>(f1436);
          real r146D#1 = 0.1e1;
          real t3146A#1 = Add<real>(fy1465,r146D);
          real t21469#1 = fy1465;
          real r146C#1 = 0.1e1;
          real t11468#1 = Sub<real>(fy1465,r146C);
          real r146B#1 = 0.2e1;
          real t01467#1 = Sub<real>(fy1465,r146B);
          real4 a1466#1 = <real4>[t3146A,t21469,t11468,t01467];
          real4 hy145B#1 = EvalKernel<4,bspln3,0>(a1466);
          real fx145C#4 = Index<real2,0>(f1436);
          real r1464#1 = 0.1e1;
          real t31461#1 = Add<real>(fx145C,r1464);
          real t21460#1 = fx145C;
          real r1463#1 = 0.1e1;
          real t1145F#1 = Sub<real>(fx145C,r1463);
          real r1462#1 = 0.2e1;
          real t0145E#1 = Sub<real>(fx145C,r1462);
          real4 a145D#1 = <real4>[t31461,t21460,t1145F,t0145E];
          real4 hx145A#4 = EvalKernel<4,bspln3,0>(a145D);
          real t0146F#1 = Dot<4>(v0143A,hx145A);
          real t11470#1 = Dot<4>(v1143B,hx145A);
          real t21471#1 = Dot<4>(v2143C,hx145A);
          real t31472#1 = Dot<4>(v3143D,hx145A);
          real4 tv146E#1 = <real4>[t0146F,t11470,t21471,t31472];
          real _t1434#1 = Dot<4>(hy145B,tv146E);
          real2 x14B2#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v021145);
          real2 nd14B4#2 = Floor<2>(x14B2);
          real2 f14B3#2 = Sub<real2>(x14B2,nd14B4);
          int{2} n14B5#8 = RealToInt<2>(nd14B4);
          int t114D1#1 = -1;
          int t214D2#1 = Index<int{2},0>(n14B5);
          int ix14D0#1 = Add<int>(t114D1,t214D2);
          int t114D4#1 = -1;
          int t214D5#1 = Index<int{2},1>(n14B5);
          int iy14D3#1 = Add<int>(t114D4,t214D5);
          addr(IMAGE2D<int>) a14D6#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix14D0,iy14D3);
          real4 v014B7#1 = LoadVoxels<IMAGE2D<int>,4>(a14D6);
          int t114CA#1 = -1;
          int t214CB#1 = Index<int{2},0>(n14B5);
          int ix14C9#1 = Add<int>(t114CA,t214CB);
          int t114CD#1 = 0;
          int t214CE#1 = Index<int{2},1>(n14B5);
          int iy14CC#1 = Add<int>(t114CD,t214CE);
          addr(IMAGE2D<int>) a14CF#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix14C9,iy14CC);
          real4 v114B8#1 = LoadVoxels<IMAGE2D<int>,4>(a14CF);
          int t114C3#1 = -1;
          int t214C4#1 = Index<int{2},0>(n14B5);
          int ix14C2#1 = Add<int>(t114C3,t214C4);
          int t114C6#1 = 1;
          int t214C7#1 = Index<int{2},1>(n14B5);
          int iy14C5#1 = Add<int>(t114C6,t214C7);
          addr(IMAGE2D<int>) a14C8#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix14C2,iy14C5);
          real4 v214B9#1 = LoadVoxels<IMAGE2D<int>,4>(a14C8);
          int t114BC#1 = -1;
          int t214BD#1 = Index<int{2},0>(n14B5);
          int ix14BB#1 = Add<int>(t114BC,t214BD);
          int t114BF#1 = 2;
          int t214C0#1 = Index<int{2},1>(n14B5);
          int iy14BE#1 = Add<int>(t114BF,t214C0);
          addr(IMAGE2D<int>) a14C1#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix14BB,iy14BE);
          real4 v314BA#1 = LoadVoxels<IMAGE2D<int>,4>(a14C1);
          real fy14E2#4 = Index<real2,1>(f14B3);
          real r14EA#1 = 0.1e1;
          real t314E7#1 = Add<real>(fy14E2,r14EA);
          real t214E6#1 = fy14E2;
          real r14E9#1 = 0.1e1;
          real t114E5#1 = Sub<real>(fy14E2,r14E9);
          real r14E8#1 = 0.2e1;
          real t014E4#1 = Sub<real>(fy14E2,r14E8);
          real4 a14E3#1 = <real4>[t314E7,t214E6,t114E5,t014E4];
          real4 hy14D8#1 = EvalKernel<4,bspln3,0>(a14E3);
          real fx14D9#4 = Index<real2,0>(f14B3);
          real r14E1#1 = 0.1e1;
          real t314DE#1 = Add<real>(fx14D9,r14E1);
          real t214DD#1 = fx14D9;
          real r14E0#1 = 0.1e1;
          real t114DC#1 = Sub<real>(fx14D9,r14E0);
          real r14DF#1 = 0.2e1;
          real t014DB#1 = Sub<real>(fx14D9,r14DF);
          real4 a14DA#1 = <real4>[t314DE,t214DD,t114DC,t014DB];
          real4 hx14D7#4 = EvalKernel<4,bspln3,0>(a14DA);
          real t014EC#1 = Dot<4>(v014B7,hx14D7);
          real t114ED#1 = Dot<4>(v114B8,hx14D7);
          real t214EE#1 = Dot<4>(v214B9,hx14D7);
          real t314EF#1 = Dot<4>(v314BA,hx14D7);
          real4 tv14EB#1 = <real4>[t014EC,t114ED,t214EE,t314EF];
          real _t14B1#1 = Dot<4>(hy14D8,tv14EB);
          real _t152E#2 = Sub<real>(_t1434,_t14B1);
          real _t1530#1 = Mul<real>(_t152E,_t152E);
          real score1532#1 = Add<real>(score141D,_t1530);
          goto JOIN1535
        JOIN1535:  preds = [ASSIGN1533,COND1433]
          real score1534#2 = phi(score1532,score141D)
          real _t1536#1 = Dot<2>(r011DF,v031147);
          real _t1538#1 = Dot<2>(r111E5,v031147);
          real2 _t153A#1 = <real2>[_t1536,_t1538];
          real2 pos153C#2 = Add<real2>(_t153A,_t11F5);
          real2 x153F#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos153C);
          bool _t153E#1 = Inside<IMAGE2D<float>,2>(x153F,_t1133);
          if _t153E then goto ASSIGN1545 else goto ASSIGN383B
        ASSIGN1545:  preds = [COND1542]
          real2 x1544#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v031147);
          bool _t1543#1 = Inside<IMAGE2D<int>,2>(x1544,_t112F);
          goto JOIN1549
        JOIN1549:  preds = [ASSIGN1546,ASSIGN383B]
          bool _t1547#1 = phi(_t1543,_t1548)
          if _t1547 then goto ASSIGN158A else goto JOIN164C
        ASSIGN158A:  preds = [COND154A]
          real2 x154C#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos153C);
          real2 nd154E#2 = Floor<2>(x154C);
          real2 f154D#2 = Sub<real2>(x154C,nd154E);
          int{2} n154F#8 = RealToInt<2>(nd154E);
          int t1156B#1 = -1;
          int t2156C#1 = Index<int{2},0>(n154F);
          int ix156A#1 = Add<int>(t1156B,t2156C);
          int t1156E#1 = -1;
          int t2156F#1 = Index<int{2},1>(n154F);
          int iy156D#1 = Add<int>(t1156E,t2156F);
          addr(IMAGE2D<float>) a1570#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix156A,iy156D);
          real4 v01551#1 = LoadVoxels<IMAGE2D<float>,4>(a1570);
          int t11564#1 = -1;
          int t21565#1 = Index<int{2},0>(n154F);
          int ix1563#1 = Add<int>(t11564,t21565);
          int t11567#1 = 0;
          int t21568#1 = Index<int{2},1>(n154F);
          int iy1566#1 = Add<int>(t11567,t21568);
          addr(IMAGE2D<float>) a1569#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1563,iy1566);
          real4 v11552#1 = LoadVoxels<IMAGE2D<float>,4>(a1569);
          int t1155D#1 = -1;
          int t2155E#1 = Index<int{2},0>(n154F);
          int ix155C#1 = Add<int>(t1155D,t2155E);
          int t11560#1 = 1;
          int t21561#1 = Index<int{2},1>(n154F);
          int iy155F#1 = Add<int>(t11560,t21561);
          addr(IMAGE2D<float>) a1562#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix155C,iy155F);
          real4 v21553#1 = LoadVoxels<IMAGE2D<float>,4>(a1562);
          int t11556#1 = -1;
          int t21557#1 = Index<int{2},0>(n154F);
          int ix1555#1 = Add<int>(t11556,t21557);
          int t11559#1 = 2;
          int t2155A#1 = Index<int{2},1>(n154F);
          int iy1558#1 = Add<int>(t11559,t2155A);
          addr(IMAGE2D<float>) a155B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1555,iy1558);
          real4 v31554#1 = LoadVoxels<IMAGE2D<float>,4>(a155B);
          real fy157C#4 = Index<real2,1>(f154D);
          real r1584#1 = 0.1e1;
          real t31581#1 = Add<real>(fy157C,r1584);
          real t21580#1 = fy157C;
          real r1583#1 = 0.1e1;
          real t1157F#1 = Sub<real>(fy157C,r1583);
          real r1582#1 = 0.2e1;
          real t0157E#1 = Sub<real>(fy157C,r1582);
          real4 a157D#1 = <real4>[t31581,t21580,t1157F,t0157E];
          real4 hy1572#1 = EvalKernel<4,bspln3,0>(a157D);
          real fx1573#4 = Index<real2,0>(f154D);
          real r157B#1 = 0.1e1;
          real t31578#1 = Add<real>(fx1573,r157B);
          real t21577#1 = fx1573;
          real r157A#1 = 0.1e1;
          real t11576#1 = Sub<real>(fx1573,r157A);
          real r1579#1 = 0.2e1;
          real t01575#1 = Sub<real>(fx1573,r1579);
          real4 a1574#1 = <real4>[t31578,t21577,t11576,t01575];
          real4 hx1571#4 = EvalKernel<4,bspln3,0>(a1574);
          real t01586#1 = Dot<4>(v01551,hx1571);
          real t11587#1 = Dot<4>(v11552,hx1571);
          real t21588#1 = Dot<4>(v21553,hx1571);
          real t31589#1 = Dot<4>(v31554,hx1571);
          real4 tv1585#1 = <real4>[t01586,t11587,t21588,t31589];
          real _t154B#1 = Dot<4>(hy1572,tv1585);
          real2 x15C9#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v031147);
          real2 nd15CB#2 = Floor<2>(x15C9);
          real2 f15CA#2 = Sub<real2>(x15C9,nd15CB);
          int{2} n15CC#8 = RealToInt<2>(nd15CB);
          int t115E8#1 = -1;
          int t215E9#1 = Index<int{2},0>(n15CC);
          int ix15E7#1 = Add<int>(t115E8,t215E9);
          int t115EB#1 = -1;
          int t215EC#1 = Index<int{2},1>(n15CC);
          int iy15EA#1 = Add<int>(t115EB,t215EC);
          addr(IMAGE2D<int>) a15ED#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix15E7,iy15EA);
          real4 v015CE#1 = LoadVoxels<IMAGE2D<int>,4>(a15ED);
          int t115E1#1 = -1;
          int t215E2#1 = Index<int{2},0>(n15CC);
          int ix15E0#1 = Add<int>(t115E1,t215E2);
          int t115E4#1 = 0;
          int t215E5#1 = Index<int{2},1>(n15CC);
          int iy15E3#1 = Add<int>(t115E4,t215E5);
          addr(IMAGE2D<int>) a15E6#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix15E0,iy15E3);
          real4 v115CF#1 = LoadVoxels<IMAGE2D<int>,4>(a15E6);
          int t115DA#1 = -1;
          int t215DB#1 = Index<int{2},0>(n15CC);
          int ix15D9#1 = Add<int>(t115DA,t215DB);
          int t115DD#1 = 1;
          int t215DE#1 = Index<int{2},1>(n15CC);
          int iy15DC#1 = Add<int>(t115DD,t215DE);
          addr(IMAGE2D<int>) a15DF#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix15D9,iy15DC);
          real4 v215D0#1 = LoadVoxels<IMAGE2D<int>,4>(a15DF);
          int t115D3#1 = -1;
          int t215D4#1 = Index<int{2},0>(n15CC);
          int ix15D2#1 = Add<int>(t115D3,t215D4);
          int t115D6#1 = 2;
          int t215D7#1 = Index<int{2},1>(n15CC);
          int iy15D5#1 = Add<int>(t115D6,t215D7);
          addr(IMAGE2D<int>) a15D8#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix15D2,iy15D5);
          real4 v315D1#1 = LoadVoxels<IMAGE2D<int>,4>(a15D8);
          real fy15F9#4 = Index<real2,1>(f15CA);
          real r1601#1 = 0.1e1;
          real t315FE#1 = Add<real>(fy15F9,r1601);
          real t215FD#1 = fy15F9;
          real r1600#1 = 0.1e1;
          real t115FC#1 = Sub<real>(fy15F9,r1600);
          real r15FF#1 = 0.2e1;
          real t015FB#1 = Sub<real>(fy15F9,r15FF);
          real4 a15FA#1 = <real4>[t315FE,t215FD,t115FC,t015FB];
          real4 hy15EF#1 = EvalKernel<4,bspln3,0>(a15FA);
          real fx15F0#4 = Index<real2,0>(f15CA);
          real r15F8#1 = 0.1e1;
          real t315F5#1 = Add<real>(fx15F0,r15F8);
          real t215F4#1 = fx15F0;
          real r15F7#1 = 0.1e1;
          real t115F3#1 = Sub<real>(fx15F0,r15F7);
          real r15F6#1 = 0.2e1;
          real t015F2#1 = Sub<real>(fx15F0,r15F6);
          real4 a15F1#1 = <real4>[t315F5,t215F4,t115F3,t015F2];
          real4 hx15EE#4 = EvalKernel<4,bspln3,0>(a15F1);
          real t01603#1 = Dot<4>(v015CE,hx15EE);
          real t11604#1 = Dot<4>(v115CF,hx15EE);
          real t21605#1 = Dot<4>(v215D0,hx15EE);
          real t31606#1 = Dot<4>(v315D1,hx15EE);
          real4 tv1602#1 = <real4>[t01603,t11604,t21605,t31606];
          real _t15C8#1 = Dot<4>(hy15EF,tv1602);
          real _t1645#2 = Sub<real>(_t154B,_t15C8);
          real _t1647#1 = Mul<real>(_t1645,_t1645);
          real score1649#1 = Add<real>(score1534,_t1647);
          goto JOIN164C
        JOIN164C:  preds = [ASSIGN164A,COND154A]
          real score164B#2 = phi(score1649,score1534)
          real _t164D#1 = Dot<2>(r011DF,v041149);
          real _t164F#1 = Dot<2>(r111E5,v041149);
          real2 _t1651#1 = <real2>[_t164D,_t164F];
          real2 pos1653#2 = Add<real2>(_t1651,_t11F5);
          real2 x1656#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1653);
          bool _t1655#1 = Inside<IMAGE2D<float>,2>(x1656,_t1133);
          if _t1655 then goto ASSIGN165C else goto ASSIGN383A
        ASSIGN165C:  preds = [COND1659]
          real2 x165B#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v041149);
          bool _t165A#1 = Inside<IMAGE2D<int>,2>(x165B,_t112F);
          goto JOIN1660
        JOIN1660:  preds = [ASSIGN165D,ASSIGN383A]
          bool _t165E#1 = phi(_t165A,_t165F)
          if _t165E then goto ASSIGN16A1 else goto JOIN1763
        ASSIGN16A1:  preds = [COND1661]
          real2 x1663#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1653);
          real2 nd1665#2 = Floor<2>(x1663);
          real2 f1664#2 = Sub<real2>(x1663,nd1665);
          int{2} n1666#8 = RealToInt<2>(nd1665);
          int t11682#1 = -1;
          int t21683#1 = Index<int{2},0>(n1666);
          int ix1681#1 = Add<int>(t11682,t21683);
          int t11685#1 = -1;
          int t21686#1 = Index<int{2},1>(n1666);
          int iy1684#1 = Add<int>(t11685,t21686);
          addr(IMAGE2D<float>) a1687#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1681,iy1684);
          real4 v01668#1 = LoadVoxels<IMAGE2D<float>,4>(a1687);
          int t1167B#1 = -1;
          int t2167C#1 = Index<int{2},0>(n1666);
          int ix167A#1 = Add<int>(t1167B,t2167C);
          int t1167E#1 = 0;
          int t2167F#1 = Index<int{2},1>(n1666);
          int iy167D#1 = Add<int>(t1167E,t2167F);
          addr(IMAGE2D<float>) a1680#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix167A,iy167D);
          real4 v11669#1 = LoadVoxels<IMAGE2D<float>,4>(a1680);
          int t11674#1 = -1;
          int t21675#1 = Index<int{2},0>(n1666);
          int ix1673#1 = Add<int>(t11674,t21675);
          int t11677#1 = 1;
          int t21678#1 = Index<int{2},1>(n1666);
          int iy1676#1 = Add<int>(t11677,t21678);
          addr(IMAGE2D<float>) a1679#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1673,iy1676);
          real4 v2166A#1 = LoadVoxels<IMAGE2D<float>,4>(a1679);
          int t1166D#1 = -1;
          int t2166E#1 = Index<int{2},0>(n1666);
          int ix166C#1 = Add<int>(t1166D,t2166E);
          int t11670#1 = 2;
          int t21671#1 = Index<int{2},1>(n1666);
          int iy166F#1 = Add<int>(t11670,t21671);
          addr(IMAGE2D<float>) a1672#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix166C,iy166F);
          real4 v3166B#1 = LoadVoxels<IMAGE2D<float>,4>(a1672);
          real fy1693#4 = Index<real2,1>(f1664);
          real r169B#1 = 0.1e1;
          real t31698#1 = Add<real>(fy1693,r169B);
          real t21697#1 = fy1693;
          real r169A#1 = 0.1e1;
          real t11696#1 = Sub<real>(fy1693,r169A);
          real r1699#1 = 0.2e1;
          real t01695#1 = Sub<real>(fy1693,r1699);
          real4 a1694#1 = <real4>[t31698,t21697,t11696,t01695];
          real4 hy1689#1 = EvalKernel<4,bspln3,0>(a1694);
          real fx168A#4 = Index<real2,0>(f1664);
          real r1692#1 = 0.1e1;
          real t3168F#1 = Add<real>(fx168A,r1692);
          real t2168E#1 = fx168A;
          real r1691#1 = 0.1e1;
          real t1168D#1 = Sub<real>(fx168A,r1691);
          real r1690#1 = 0.2e1;
          real t0168C#1 = Sub<real>(fx168A,r1690);
          real4 a168B#1 = <real4>[t3168F,t2168E,t1168D,t0168C];
          real4 hx1688#4 = EvalKernel<4,bspln3,0>(a168B);
          real t0169D#1 = Dot<4>(v01668,hx1688);
          real t1169E#1 = Dot<4>(v11669,hx1688);
          real t2169F#1 = Dot<4>(v2166A,hx1688);
          real t316A0#1 = Dot<4>(v3166B,hx1688);
          real4 tv169C#1 = <real4>[t0169D,t1169E,t2169F,t316A0];
          real _t1662#1 = Dot<4>(hy1689,tv169C);
          real2 x16E0#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v041149);
          real2 nd16E2#2 = Floor<2>(x16E0);
          real2 f16E1#2 = Sub<real2>(x16E0,nd16E2);
          int{2} n16E3#8 = RealToInt<2>(nd16E2);
          int t116FF#1 = -1;
          int t21700#1 = Index<int{2},0>(n16E3);
          int ix16FE#1 = Add<int>(t116FF,t21700);
          int t11702#1 = -1;
          int t21703#1 = Index<int{2},1>(n16E3);
          int iy1701#1 = Add<int>(t11702,t21703);
          addr(IMAGE2D<int>) a1704#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix16FE,iy1701);
          real4 v016E5#1 = LoadVoxels<IMAGE2D<int>,4>(a1704);
          int t116F8#1 = -1;
          int t216F9#1 = Index<int{2},0>(n16E3);
          int ix16F7#1 = Add<int>(t116F8,t216F9);
          int t116FB#1 = 0;
          int t216FC#1 = Index<int{2},1>(n16E3);
          int iy16FA#1 = Add<int>(t116FB,t216FC);
          addr(IMAGE2D<int>) a16FD#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix16F7,iy16FA);
          real4 v116E6#1 = LoadVoxels<IMAGE2D<int>,4>(a16FD);
          int t116F1#1 = -1;
          int t216F2#1 = Index<int{2},0>(n16E3);
          int ix16F0#1 = Add<int>(t116F1,t216F2);
          int t116F4#1 = 1;
          int t216F5#1 = Index<int{2},1>(n16E3);
          int iy16F3#1 = Add<int>(t116F4,t216F5);
          addr(IMAGE2D<int>) a16F6#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix16F0,iy16F3);
          real4 v216E7#1 = LoadVoxels<IMAGE2D<int>,4>(a16F6);
          int t116EA#1 = -1;
          int t216EB#1 = Index<int{2},0>(n16E3);
          int ix16E9#1 = Add<int>(t116EA,t216EB);
          int t116ED#1 = 2;
          int t216EE#1 = Index<int{2},1>(n16E3);
          int iy16EC#1 = Add<int>(t116ED,t216EE);
          addr(IMAGE2D<int>) a16EF#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix16E9,iy16EC);
          real4 v316E8#1 = LoadVoxels<IMAGE2D<int>,4>(a16EF);
          real fy1710#4 = Index<real2,1>(f16E1);
          real r1718#1 = 0.1e1;
          real t31715#1 = Add<real>(fy1710,r1718);
          real t21714#1 = fy1710;
          real r1717#1 = 0.1e1;
          real t11713#1 = Sub<real>(fy1710,r1717);
          real r1716#1 = 0.2e1;
          real t01712#1 = Sub<real>(fy1710,r1716);
          real4 a1711#1 = <real4>[t31715,t21714,t11713,t01712];
          real4 hy1706#1 = EvalKernel<4,bspln3,0>(a1711);
          real fx1707#4 = Index<real2,0>(f16E1);
          real r170F#1 = 0.1e1;
          real t3170C#1 = Add<real>(fx1707,r170F);
          real t2170B#1 = fx1707;
          real r170E#1 = 0.1e1;
          real t1170A#1 = Sub<real>(fx1707,r170E);
          real r170D#1 = 0.2e1;
          real t01709#1 = Sub<real>(fx1707,r170D);
          real4 a1708#1 = <real4>[t3170C,t2170B,t1170A,t01709];
          real4 hx1705#4 = EvalKernel<4,bspln3,0>(a1708);
          real t0171A#1 = Dot<4>(v016E5,hx1705);
          real t1171B#1 = Dot<4>(v116E6,hx1705);
          real t2171C#1 = Dot<4>(v216E7,hx1705);
          real t3171D#1 = Dot<4>(v316E8,hx1705);
          real4 tv1719#1 = <real4>[t0171A,t1171B,t2171C,t3171D];
          real _t16DF#1 = Dot<4>(hy1706,tv1719);
          real _t175C#2 = Sub<real>(_t1662,_t16DF);
          real _t175E#1 = Mul<real>(_t175C,_t175C);
          real score1760#1 = Add<real>(score164B,_t175E);
          goto JOIN1763
        JOIN1763:  preds = [ASSIGN1761,COND1661]
          real score1762#2 = phi(score1760,score164B)
          real _t1764#1 = Dot<2>(r011DF,v05114B);
          real _t1766#1 = Dot<2>(r111E5,v05114B);
          real2 _t1768#1 = <real2>[_t1764,_t1766];
          real2 pos176A#2 = Add<real2>(_t1768,_t11F5);
          real2 x176D#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos176A);
          bool _t176C#1 = Inside<IMAGE2D<float>,2>(x176D,_t1133);
          if _t176C then goto ASSIGN1773 else goto ASSIGN3839
        ASSIGN1773:  preds = [COND1770]
          real2 x1772#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v05114B);
          bool _t1771#1 = Inside<IMAGE2D<int>,2>(x1772,_t112F);
          goto JOIN1777
        JOIN1777:  preds = [ASSIGN1774,ASSIGN3839]
          bool _t1775#1 = phi(_t1771,_t1776)
          if _t1775 then goto ASSIGN17B8 else goto JOIN187A
        ASSIGN17B8:  preds = [COND1778]
          real2 x177A#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos176A);
          real2 nd177C#2 = Floor<2>(x177A);
          real2 f177B#2 = Sub<real2>(x177A,nd177C);
          int{2} n177D#8 = RealToInt<2>(nd177C);
          int t11799#1 = -1;
          int t2179A#1 = Index<int{2},0>(n177D);
          int ix1798#1 = Add<int>(t11799,t2179A);
          int t1179C#1 = -1;
          int t2179D#1 = Index<int{2},1>(n177D);
          int iy179B#1 = Add<int>(t1179C,t2179D);
          addr(IMAGE2D<float>) a179E#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1798,iy179B);
          real4 v0177F#1 = LoadVoxels<IMAGE2D<float>,4>(a179E);
          int t11792#1 = -1;
          int t21793#1 = Index<int{2},0>(n177D);
          int ix1791#1 = Add<int>(t11792,t21793);
          int t11795#1 = 0;
          int t21796#1 = Index<int{2},1>(n177D);
          int iy1794#1 = Add<int>(t11795,t21796);
          addr(IMAGE2D<float>) a1797#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1791,iy1794);
          real4 v11780#1 = LoadVoxels<IMAGE2D<float>,4>(a1797);
          int t1178B#1 = -1;
          int t2178C#1 = Index<int{2},0>(n177D);
          int ix178A#1 = Add<int>(t1178B,t2178C);
          int t1178E#1 = 1;
          int t2178F#1 = Index<int{2},1>(n177D);
          int iy178D#1 = Add<int>(t1178E,t2178F);
          addr(IMAGE2D<float>) a1790#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix178A,iy178D);
          real4 v21781#1 = LoadVoxels<IMAGE2D<float>,4>(a1790);
          int t11784#1 = -1;
          int t21785#1 = Index<int{2},0>(n177D);
          int ix1783#1 = Add<int>(t11784,t21785);
          int t11787#1 = 2;
          int t21788#1 = Index<int{2},1>(n177D);
          int iy1786#1 = Add<int>(t11787,t21788);
          addr(IMAGE2D<float>) a1789#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1783,iy1786);
          real4 v31782#1 = LoadVoxels<IMAGE2D<float>,4>(a1789);
          real fy17AA#4 = Index<real2,1>(f177B);
          real r17B2#1 = 0.1e1;
          real t317AF#1 = Add<real>(fy17AA,r17B2);
          real t217AE#1 = fy17AA;
          real r17B1#1 = 0.1e1;
          real t117AD#1 = Sub<real>(fy17AA,r17B1);
          real r17B0#1 = 0.2e1;
          real t017AC#1 = Sub<real>(fy17AA,r17B0);
          real4 a17AB#1 = <real4>[t317AF,t217AE,t117AD,t017AC];
          real4 hy17A0#1 = EvalKernel<4,bspln3,0>(a17AB);
          real fx17A1#4 = Index<real2,0>(f177B);
          real r17A9#1 = 0.1e1;
          real t317A6#1 = Add<real>(fx17A1,r17A9);
          real t217A5#1 = fx17A1;
          real r17A8#1 = 0.1e1;
          real t117A4#1 = Sub<real>(fx17A1,r17A8);
          real r17A7#1 = 0.2e1;
          real t017A3#1 = Sub<real>(fx17A1,r17A7);
          real4 a17A2#1 = <real4>[t317A6,t217A5,t117A4,t017A3];
          real4 hx179F#4 = EvalKernel<4,bspln3,0>(a17A2);
          real t017B4#1 = Dot<4>(v0177F,hx179F);
          real t117B5#1 = Dot<4>(v11780,hx179F);
          real t217B6#1 = Dot<4>(v21781,hx179F);
          real t317B7#1 = Dot<4>(v31782,hx179F);
          real4 tv17B3#1 = <real4>[t017B4,t117B5,t217B6,t317B7];
          real _t1779#1 = Dot<4>(hy17A0,tv17B3);
          real2 x17F7#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v05114B);
          real2 nd17F9#2 = Floor<2>(x17F7);
          real2 f17F8#2 = Sub<real2>(x17F7,nd17F9);
          int{2} n17FA#8 = RealToInt<2>(nd17F9);
          int t11816#1 = -1;
          int t21817#1 = Index<int{2},0>(n17FA);
          int ix1815#1 = Add<int>(t11816,t21817);
          int t11819#1 = -1;
          int t2181A#1 = Index<int{2},1>(n17FA);
          int iy1818#1 = Add<int>(t11819,t2181A);
          addr(IMAGE2D<int>) a181B#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1815,iy1818);
          real4 v017FC#1 = LoadVoxels<IMAGE2D<int>,4>(a181B);
          int t1180F#1 = -1;
          int t21810#1 = Index<int{2},0>(n17FA);
          int ix180E#1 = Add<int>(t1180F,t21810);
          int t11812#1 = 0;
          int t21813#1 = Index<int{2},1>(n17FA);
          int iy1811#1 = Add<int>(t11812,t21813);
          addr(IMAGE2D<int>) a1814#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix180E,iy1811);
          real4 v117FD#1 = LoadVoxels<IMAGE2D<int>,4>(a1814);
          int t11808#1 = -1;
          int t21809#1 = Index<int{2},0>(n17FA);
          int ix1807#1 = Add<int>(t11808,t21809);
          int t1180B#1 = 1;
          int t2180C#1 = Index<int{2},1>(n17FA);
          int iy180A#1 = Add<int>(t1180B,t2180C);
          addr(IMAGE2D<int>) a180D#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1807,iy180A);
          real4 v217FE#1 = LoadVoxels<IMAGE2D<int>,4>(a180D);
          int t11801#1 = -1;
          int t21802#1 = Index<int{2},0>(n17FA);
          int ix1800#1 = Add<int>(t11801,t21802);
          int t11804#1 = 2;
          int t21805#1 = Index<int{2},1>(n17FA);
          int iy1803#1 = Add<int>(t11804,t21805);
          addr(IMAGE2D<int>) a1806#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1800,iy1803);
          real4 v317FF#1 = LoadVoxels<IMAGE2D<int>,4>(a1806);
          real fy1827#4 = Index<real2,1>(f17F8);
          real r182F#1 = 0.1e1;
          real t3182C#1 = Add<real>(fy1827,r182F);
          real t2182B#1 = fy1827;
          real r182E#1 = 0.1e1;
          real t1182A#1 = Sub<real>(fy1827,r182E);
          real r182D#1 = 0.2e1;
          real t01829#1 = Sub<real>(fy1827,r182D);
          real4 a1828#1 = <real4>[t3182C,t2182B,t1182A,t01829];
          real4 hy181D#1 = EvalKernel<4,bspln3,0>(a1828);
          real fx181E#4 = Index<real2,0>(f17F8);
          real r1826#1 = 0.1e1;
          real t31823#1 = Add<real>(fx181E,r1826);
          real t21822#1 = fx181E;
          real r1825#1 = 0.1e1;
          real t11821#1 = Sub<real>(fx181E,r1825);
          real r1824#1 = 0.2e1;
          real t01820#1 = Sub<real>(fx181E,r1824);
          real4 a181F#1 = <real4>[t31823,t21822,t11821,t01820];
          real4 hx181C#4 = EvalKernel<4,bspln3,0>(a181F);
          real t01831#1 = Dot<4>(v017FC,hx181C);
          real t11832#1 = Dot<4>(v117FD,hx181C);
          real t21833#1 = Dot<4>(v217FE,hx181C);
          real t31834#1 = Dot<4>(v317FF,hx181C);
          real4 tv1830#1 = <real4>[t01831,t11832,t21833,t31834];
          real _t17F6#1 = Dot<4>(hy181D,tv1830);
          real _t1873#2 = Sub<real>(_t1779,_t17F6);
          real _t1875#1 = Mul<real>(_t1873,_t1873);
          real score1877#1 = Add<real>(score1762,_t1875);
          goto JOIN187A
        JOIN187A:  preds = [ASSIGN1878,COND1778]
          real score1879#2 = phi(score1877,score1762)
          real _t187B#1 = Dot<2>(r011DF,v06114D);
          real _t187D#1 = Dot<2>(r111E5,v06114D);
          real2 _t187F#1 = <real2>[_t187B,_t187D];
          real2 pos1881#2 = Add<real2>(_t187F,_t11F5);
          real2 x1884#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1881);
          bool _t1883#1 = Inside<IMAGE2D<float>,2>(x1884,_t1133);
          if _t1883 then goto ASSIGN188A else goto ASSIGN3838
        ASSIGN188A:  preds = [COND1887]
          real2 x1889#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v06114D);
          bool _t1888#1 = Inside<IMAGE2D<int>,2>(x1889,_t112F);
          goto JOIN188E
        JOIN188E:  preds = [ASSIGN188B,ASSIGN3838]
          bool _t188C#1 = phi(_t1888,_t188D)
          if _t188C then goto ASSIGN18CF else goto JOIN1991
        ASSIGN18CF:  preds = [COND188F]
          real2 x1891#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1881);
          real2 nd1893#2 = Floor<2>(x1891);
          real2 f1892#2 = Sub<real2>(x1891,nd1893);
          int{2} n1894#8 = RealToInt<2>(nd1893);
          int t118B0#1 = -1;
          int t218B1#1 = Index<int{2},0>(n1894);
          int ix18AF#1 = Add<int>(t118B0,t218B1);
          int t118B3#1 = -1;
          int t218B4#1 = Index<int{2},1>(n1894);
          int iy18B2#1 = Add<int>(t118B3,t218B4);
          addr(IMAGE2D<float>) a18B5#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix18AF,iy18B2);
          real4 v01896#1 = LoadVoxels<IMAGE2D<float>,4>(a18B5);
          int t118A9#1 = -1;
          int t218AA#1 = Index<int{2},0>(n1894);
          int ix18A8#1 = Add<int>(t118A9,t218AA);
          int t118AC#1 = 0;
          int t218AD#1 = Index<int{2},1>(n1894);
          int iy18AB#1 = Add<int>(t118AC,t218AD);
          addr(IMAGE2D<float>) a18AE#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix18A8,iy18AB);
          real4 v11897#1 = LoadVoxels<IMAGE2D<float>,4>(a18AE);
          int t118A2#1 = -1;
          int t218A3#1 = Index<int{2},0>(n1894);
          int ix18A1#1 = Add<int>(t118A2,t218A3);
          int t118A5#1 = 1;
          int t218A6#1 = Index<int{2},1>(n1894);
          int iy18A4#1 = Add<int>(t118A5,t218A6);
          addr(IMAGE2D<float>) a18A7#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix18A1,iy18A4);
          real4 v21898#1 = LoadVoxels<IMAGE2D<float>,4>(a18A7);
          int t1189B#1 = -1;
          int t2189C#1 = Index<int{2},0>(n1894);
          int ix189A#1 = Add<int>(t1189B,t2189C);
          int t1189E#1 = 2;
          int t2189F#1 = Index<int{2},1>(n1894);
          int iy189D#1 = Add<int>(t1189E,t2189F);
          addr(IMAGE2D<float>) a18A0#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix189A,iy189D);
          real4 v31899#1 = LoadVoxels<IMAGE2D<float>,4>(a18A0);
          real fy18C1#4 = Index<real2,1>(f1892);
          real r18C9#1 = 0.1e1;
          real t318C6#1 = Add<real>(fy18C1,r18C9);
          real t218C5#1 = fy18C1;
          real r18C8#1 = 0.1e1;
          real t118C4#1 = Sub<real>(fy18C1,r18C8);
          real r18C7#1 = 0.2e1;
          real t018C3#1 = Sub<real>(fy18C1,r18C7);
          real4 a18C2#1 = <real4>[t318C6,t218C5,t118C4,t018C3];
          real4 hy18B7#1 = EvalKernel<4,bspln3,0>(a18C2);
          real fx18B8#4 = Index<real2,0>(f1892);
          real r18C0#1 = 0.1e1;
          real t318BD#1 = Add<real>(fx18B8,r18C0);
          real t218BC#1 = fx18B8;
          real r18BF#1 = 0.1e1;
          real t118BB#1 = Sub<real>(fx18B8,r18BF);
          real r18BE#1 = 0.2e1;
          real t018BA#1 = Sub<real>(fx18B8,r18BE);
          real4 a18B9#1 = <real4>[t318BD,t218BC,t118BB,t018BA];
          real4 hx18B6#4 = EvalKernel<4,bspln3,0>(a18B9);
          real t018CB#1 = Dot<4>(v01896,hx18B6);
          real t118CC#1 = Dot<4>(v11897,hx18B6);
          real t218CD#1 = Dot<4>(v21898,hx18B6);
          real t318CE#1 = Dot<4>(v31899,hx18B6);
          real4 tv18CA#1 = <real4>[t018CB,t118CC,t218CD,t318CE];
          real _t1890#1 = Dot<4>(hy18B7,tv18CA);
          real2 x190E#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v06114D);
          real2 nd1910#2 = Floor<2>(x190E);
          real2 f190F#2 = Sub<real2>(x190E,nd1910);
          int{2} n1911#8 = RealToInt<2>(nd1910);
          int t1192D#1 = -1;
          int t2192E#1 = Index<int{2},0>(n1911);
          int ix192C#1 = Add<int>(t1192D,t2192E);
          int t11930#1 = -1;
          int t21931#1 = Index<int{2},1>(n1911);
          int iy192F#1 = Add<int>(t11930,t21931);
          addr(IMAGE2D<int>) a1932#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix192C,iy192F);
          real4 v01913#1 = LoadVoxels<IMAGE2D<int>,4>(a1932);
          int t11926#1 = -1;
          int t21927#1 = Index<int{2},0>(n1911);
          int ix1925#1 = Add<int>(t11926,t21927);
          int t11929#1 = 0;
          int t2192A#1 = Index<int{2},1>(n1911);
          int iy1928#1 = Add<int>(t11929,t2192A);
          addr(IMAGE2D<int>) a192B#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1925,iy1928);
          real4 v11914#1 = LoadVoxels<IMAGE2D<int>,4>(a192B);
          int t1191F#1 = -1;
          int t21920#1 = Index<int{2},0>(n1911);
          int ix191E#1 = Add<int>(t1191F,t21920);
          int t11922#1 = 1;
          int t21923#1 = Index<int{2},1>(n1911);
          int iy1921#1 = Add<int>(t11922,t21923);
          addr(IMAGE2D<int>) a1924#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix191E,iy1921);
          real4 v21915#1 = LoadVoxels<IMAGE2D<int>,4>(a1924);
          int t11918#1 = -1;
          int t21919#1 = Index<int{2},0>(n1911);
          int ix1917#1 = Add<int>(t11918,t21919);
          int t1191B#1 = 2;
          int t2191C#1 = Index<int{2},1>(n1911);
          int iy191A#1 = Add<int>(t1191B,t2191C);
          addr(IMAGE2D<int>) a191D#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1917,iy191A);
          real4 v31916#1 = LoadVoxels<IMAGE2D<int>,4>(a191D);
          real fy193E#4 = Index<real2,1>(f190F);
          real r1946#1 = 0.1e1;
          real t31943#1 = Add<real>(fy193E,r1946);
          real t21942#1 = fy193E;
          real r1945#1 = 0.1e1;
          real t11941#1 = Sub<real>(fy193E,r1945);
          real r1944#1 = 0.2e1;
          real t01940#1 = Sub<real>(fy193E,r1944);
          real4 a193F#1 = <real4>[t31943,t21942,t11941,t01940];
          real4 hy1934#1 = EvalKernel<4,bspln3,0>(a193F);
          real fx1935#4 = Index<real2,0>(f190F);
          real r193D#1 = 0.1e1;
          real t3193A#1 = Add<real>(fx1935,r193D);
          real t21939#1 = fx1935;
          real r193C#1 = 0.1e1;
          real t11938#1 = Sub<real>(fx1935,r193C);
          real r193B#1 = 0.2e1;
          real t01937#1 = Sub<real>(fx1935,r193B);
          real4 a1936#1 = <real4>[t3193A,t21939,t11938,t01937];
          real4 hx1933#4 = EvalKernel<4,bspln3,0>(a1936);
          real t01948#1 = Dot<4>(v01913,hx1933);
          real t11949#1 = Dot<4>(v11914,hx1933);
          real t2194A#1 = Dot<4>(v21915,hx1933);
          real t3194B#1 = Dot<4>(v31916,hx1933);
          real4 tv1947#1 = <real4>[t01948,t11949,t2194A,t3194B];
          real _t190D#1 = Dot<4>(hy1934,tv1947);
          real _t198A#2 = Sub<real>(_t1890,_t190D);
          real _t198C#1 = Mul<real>(_t198A,_t198A);
          real score198E#1 = Add<real>(score1879,_t198C);
          goto JOIN1991
        JOIN1991:  preds = [ASSIGN198F,COND188F]
          real score1990#2 = phi(score198E,score1879)
          real _t1992#1 = Dot<2>(r011DF,v07114F);
          real _t1994#1 = Dot<2>(r111E5,v07114F);
          real2 _t1996#1 = <real2>[_t1992,_t1994];
          real2 pos1998#2 = Add<real2>(_t1996,_t11F5);
          real2 x199B#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1998);
          bool _t199A#1 = Inside<IMAGE2D<float>,2>(x199B,_t1133);
          if _t199A then goto ASSIGN19A1 else goto ASSIGN3837
        ASSIGN19A1:  preds = [COND199E]
          real2 x19A0#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v07114F);
          bool _t199F#1 = Inside<IMAGE2D<int>,2>(x19A0,_t112F);
          goto JOIN19A5
        JOIN19A5:  preds = [ASSIGN19A2,ASSIGN3837]
          bool _t19A3#1 = phi(_t199F,_t19A4)
          if _t19A3 then goto ASSIGN19E6 else goto JOIN1AA8
        ASSIGN19E6:  preds = [COND19A6]
          real2 x19A8#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1998);
          real2 nd19AA#2 = Floor<2>(x19A8);
          real2 f19A9#2 = Sub<real2>(x19A8,nd19AA);
          int{2} n19AB#8 = RealToInt<2>(nd19AA);
          int t119C7#1 = -1;
          int t219C8#1 = Index<int{2},0>(n19AB);
          int ix19C6#1 = Add<int>(t119C7,t219C8);
          int t119CA#1 = -1;
          int t219CB#1 = Index<int{2},1>(n19AB);
          int iy19C9#1 = Add<int>(t119CA,t219CB);
          addr(IMAGE2D<float>) a19CC#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix19C6,iy19C9);
          real4 v019AD#1 = LoadVoxels<IMAGE2D<float>,4>(a19CC);
          int t119C0#1 = -1;
          int t219C1#1 = Index<int{2},0>(n19AB);
          int ix19BF#1 = Add<int>(t119C0,t219C1);
          int t119C3#1 = 0;
          int t219C4#1 = Index<int{2},1>(n19AB);
          int iy19C2#1 = Add<int>(t119C3,t219C4);
          addr(IMAGE2D<float>) a19C5#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix19BF,iy19C2);
          real4 v119AE#1 = LoadVoxels<IMAGE2D<float>,4>(a19C5);
          int t119B9#1 = -1;
          int t219BA#1 = Index<int{2},0>(n19AB);
          int ix19B8#1 = Add<int>(t119B9,t219BA);
          int t119BC#1 = 1;
          int t219BD#1 = Index<int{2},1>(n19AB);
          int iy19BB#1 = Add<int>(t119BC,t219BD);
          addr(IMAGE2D<float>) a19BE#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix19B8,iy19BB);
          real4 v219AF#1 = LoadVoxels<IMAGE2D<float>,4>(a19BE);
          int t119B2#1 = -1;
          int t219B3#1 = Index<int{2},0>(n19AB);
          int ix19B1#1 = Add<int>(t119B2,t219B3);
          int t119B5#1 = 2;
          int t219B6#1 = Index<int{2},1>(n19AB);
          int iy19B4#1 = Add<int>(t119B5,t219B6);
          addr(IMAGE2D<float>) a19B7#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix19B1,iy19B4);
          real4 v319B0#1 = LoadVoxels<IMAGE2D<float>,4>(a19B7);
          real fy19D8#4 = Index<real2,1>(f19A9);
          real r19E0#1 = 0.1e1;
          real t319DD#1 = Add<real>(fy19D8,r19E0);
          real t219DC#1 = fy19D8;
          real r19DF#1 = 0.1e1;
          real t119DB#1 = Sub<real>(fy19D8,r19DF);
          real r19DE#1 = 0.2e1;
          real t019DA#1 = Sub<real>(fy19D8,r19DE);
          real4 a19D9#1 = <real4>[t319DD,t219DC,t119DB,t019DA];
          real4 hy19CE#1 = EvalKernel<4,bspln3,0>(a19D9);
          real fx19CF#4 = Index<real2,0>(f19A9);
          real r19D7#1 = 0.1e1;
          real t319D4#1 = Add<real>(fx19CF,r19D7);
          real t219D3#1 = fx19CF;
          real r19D6#1 = 0.1e1;
          real t119D2#1 = Sub<real>(fx19CF,r19D6);
          real r19D5#1 = 0.2e1;
          real t019D1#1 = Sub<real>(fx19CF,r19D5);
          real4 a19D0#1 = <real4>[t319D4,t219D3,t119D2,t019D1];
          real4 hx19CD#4 = EvalKernel<4,bspln3,0>(a19D0);
          real t019E2#1 = Dot<4>(v019AD,hx19CD);
          real t119E3#1 = Dot<4>(v119AE,hx19CD);
          real t219E4#1 = Dot<4>(v219AF,hx19CD);
          real t319E5#1 = Dot<4>(v319B0,hx19CD);
          real4 tv19E1#1 = <real4>[t019E2,t119E3,t219E4,t319E5];
          real _t19A7#1 = Dot<4>(hy19CE,tv19E1);
          real2 x1A25#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v07114F);
          real2 nd1A27#2 = Floor<2>(x1A25);
          real2 f1A26#2 = Sub<real2>(x1A25,nd1A27);
          int{2} n1A28#8 = RealToInt<2>(nd1A27);
          int t11A44#1 = -1;
          int t21A45#1 = Index<int{2},0>(n1A28);
          int ix1A43#1 = Add<int>(t11A44,t21A45);
          int t11A47#1 = -1;
          int t21A48#1 = Index<int{2},1>(n1A28);
          int iy1A46#1 = Add<int>(t11A47,t21A48);
          addr(IMAGE2D<int>) a1A49#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1A43,iy1A46);
          real4 v01A2A#1 = LoadVoxels<IMAGE2D<int>,4>(a1A49);
          int t11A3D#1 = -1;
          int t21A3E#1 = Index<int{2},0>(n1A28);
          int ix1A3C#1 = Add<int>(t11A3D,t21A3E);
          int t11A40#1 = 0;
          int t21A41#1 = Index<int{2},1>(n1A28);
          int iy1A3F#1 = Add<int>(t11A40,t21A41);
          addr(IMAGE2D<int>) a1A42#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1A3C,iy1A3F);
          real4 v11A2B#1 = LoadVoxels<IMAGE2D<int>,4>(a1A42);
          int t11A36#1 = -1;
          int t21A37#1 = Index<int{2},0>(n1A28);
          int ix1A35#1 = Add<int>(t11A36,t21A37);
          int t11A39#1 = 1;
          int t21A3A#1 = Index<int{2},1>(n1A28);
          int iy1A38#1 = Add<int>(t11A39,t21A3A);
          addr(IMAGE2D<int>) a1A3B#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1A35,iy1A38);
          real4 v21A2C#1 = LoadVoxels<IMAGE2D<int>,4>(a1A3B);
          int t11A2F#1 = -1;
          int t21A30#1 = Index<int{2},0>(n1A28);
          int ix1A2E#1 = Add<int>(t11A2F,t21A30);
          int t11A32#1 = 2;
          int t21A33#1 = Index<int{2},1>(n1A28);
          int iy1A31#1 = Add<int>(t11A32,t21A33);
          addr(IMAGE2D<int>) a1A34#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1A2E,iy1A31);
          real4 v31A2D#1 = LoadVoxels<IMAGE2D<int>,4>(a1A34);
          real fy1A55#4 = Index<real2,1>(f1A26);
          real r1A5D#1 = 0.1e1;
          real t31A5A#1 = Add<real>(fy1A55,r1A5D);
          real t21A59#1 = fy1A55;
          real r1A5C#1 = 0.1e1;
          real t11A58#1 = Sub<real>(fy1A55,r1A5C);
          real r1A5B#1 = 0.2e1;
          real t01A57#1 = Sub<real>(fy1A55,r1A5B);
          real4 a1A56#1 = <real4>[t31A5A,t21A59,t11A58,t01A57];
          real4 hy1A4B#1 = EvalKernel<4,bspln3,0>(a1A56);
          real fx1A4C#4 = Index<real2,0>(f1A26);
          real r1A54#1 = 0.1e1;
          real t31A51#1 = Add<real>(fx1A4C,r1A54);
          real t21A50#1 = fx1A4C;
          real r1A53#1 = 0.1e1;
          real t11A4F#1 = Sub<real>(fx1A4C,r1A53);
          real r1A52#1 = 0.2e1;
          real t01A4E#1 = Sub<real>(fx1A4C,r1A52);
          real4 a1A4D#1 = <real4>[t31A51,t21A50,t11A4F,t01A4E];
          real4 hx1A4A#4 = EvalKernel<4,bspln3,0>(a1A4D);
          real t01A5F#1 = Dot<4>(v01A2A,hx1A4A);
          real t11A60#1 = Dot<4>(v11A2B,hx1A4A);
          real t21A61#1 = Dot<4>(v21A2C,hx1A4A);
          real t31A62#1 = Dot<4>(v31A2D,hx1A4A);
          real4 tv1A5E#1 = <real4>[t01A5F,t11A60,t21A61,t31A62];
          real _t1A24#1 = Dot<4>(hy1A4B,tv1A5E);
          real _t1AA1#2 = Sub<real>(_t19A7,_t1A24);
          real _t1AA3#1 = Mul<real>(_t1AA1,_t1AA1);
          real score1AA5#1 = Add<real>(score1990,_t1AA3);
          goto JOIN1AA8
        JOIN1AA8:  preds = [ASSIGN1AA6,COND19A6]
          real score1AA7#2 = phi(score1AA5,score1990)
          real _t1AA9#1 = Dot<2>(r011DF,v081151);
          real _t1AAB#1 = Dot<2>(r111E5,v081151);
          real2 _t1AAD#1 = <real2>[_t1AA9,_t1AAB];
          real2 pos1AAF#2 = Add<real2>(_t1AAD,_t11F5);
          real2 x1AB2#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1AAF);
          bool _t1AB1#1 = Inside<IMAGE2D<float>,2>(x1AB2,_t1133);
          if _t1AB1 then goto ASSIGN1AB8 else goto ASSIGN3836
        ASSIGN1AB8:  preds = [COND1AB5]
          real2 x1AB7#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v081151);
          bool _t1AB6#1 = Inside<IMAGE2D<int>,2>(x1AB7,_t112F);
          goto JOIN1ABC
        JOIN1ABC:  preds = [ASSIGN1AB9,ASSIGN3836]
          bool _t1ABA#1 = phi(_t1AB6,_t1ABB)
          if _t1ABA then goto ASSIGN1AFD else goto JOIN1BBF
        ASSIGN1AFD:  preds = [COND1ABD]
          real2 x1ABF#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1AAF);
          real2 nd1AC1#2 = Floor<2>(x1ABF);
          real2 f1AC0#2 = Sub<real2>(x1ABF,nd1AC1);
          int{2} n1AC2#8 = RealToInt<2>(nd1AC1);
          int t11ADE#1 = -1;
          int t21ADF#1 = Index<int{2},0>(n1AC2);
          int ix1ADD#1 = Add<int>(t11ADE,t21ADF);
          int t11AE1#1 = -1;
          int t21AE2#1 = Index<int{2},1>(n1AC2);
          int iy1AE0#1 = Add<int>(t11AE1,t21AE2);
          addr(IMAGE2D<float>) a1AE3#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1ADD,iy1AE0);
          real4 v01AC4#1 = LoadVoxels<IMAGE2D<float>,4>(a1AE3);
          int t11AD7#1 = -1;
          int t21AD8#1 = Index<int{2},0>(n1AC2);
          int ix1AD6#1 = Add<int>(t11AD7,t21AD8);
          int t11ADA#1 = 0;
          int t21ADB#1 = Index<int{2},1>(n1AC2);
          int iy1AD9#1 = Add<int>(t11ADA,t21ADB);
          addr(IMAGE2D<float>) a1ADC#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1AD6,iy1AD9);
          real4 v11AC5#1 = LoadVoxels<IMAGE2D<float>,4>(a1ADC);
          int t11AD0#1 = -1;
          int t21AD1#1 = Index<int{2},0>(n1AC2);
          int ix1ACF#1 = Add<int>(t11AD0,t21AD1);
          int t11AD3#1 = 1;
          int t21AD4#1 = Index<int{2},1>(n1AC2);
          int iy1AD2#1 = Add<int>(t11AD3,t21AD4);
          addr(IMAGE2D<float>) a1AD5#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1ACF,iy1AD2);
          real4 v21AC6#1 = LoadVoxels<IMAGE2D<float>,4>(a1AD5);
          int t11AC9#1 = -1;
          int t21ACA#1 = Index<int{2},0>(n1AC2);
          int ix1AC8#1 = Add<int>(t11AC9,t21ACA);
          int t11ACC#1 = 2;
          int t21ACD#1 = Index<int{2},1>(n1AC2);
          int iy1ACB#1 = Add<int>(t11ACC,t21ACD);
          addr(IMAGE2D<float>) a1ACE#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1AC8,iy1ACB);
          real4 v31AC7#1 = LoadVoxels<IMAGE2D<float>,4>(a1ACE);
          real fy1AEF#4 = Index<real2,1>(f1AC0);
          real r1AF7#1 = 0.1e1;
          real t31AF4#1 = Add<real>(fy1AEF,r1AF7);
          real t21AF3#1 = fy1AEF;
          real r1AF6#1 = 0.1e1;
          real t11AF2#1 = Sub<real>(fy1AEF,r1AF6);
          real r1AF5#1 = 0.2e1;
          real t01AF1#1 = Sub<real>(fy1AEF,r1AF5);
          real4 a1AF0#1 = <real4>[t31AF4,t21AF3,t11AF2,t01AF1];
          real4 hy1AE5#1 = EvalKernel<4,bspln3,0>(a1AF0);
          real fx1AE6#4 = Index<real2,0>(f1AC0);
          real r1AEE#1 = 0.1e1;
          real t31AEB#1 = Add<real>(fx1AE6,r1AEE);
          real t21AEA#1 = fx1AE6;
          real r1AED#1 = 0.1e1;
          real t11AE9#1 = Sub<real>(fx1AE6,r1AED);
          real r1AEC#1 = 0.2e1;
          real t01AE8#1 = Sub<real>(fx1AE6,r1AEC);
          real4 a1AE7#1 = <real4>[t31AEB,t21AEA,t11AE9,t01AE8];
          real4 hx1AE4#4 = EvalKernel<4,bspln3,0>(a1AE7);
          real t01AF9#1 = Dot<4>(v01AC4,hx1AE4);
          real t11AFA#1 = Dot<4>(v11AC5,hx1AE4);
          real t21AFB#1 = Dot<4>(v21AC6,hx1AE4);
          real t31AFC#1 = Dot<4>(v31AC7,hx1AE4);
          real4 tv1AF8#1 = <real4>[t01AF9,t11AFA,t21AFB,t31AFC];
          real _t1ABE#1 = Dot<4>(hy1AE5,tv1AF8);
          real2 x1B3C#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v081151);
          real2 nd1B3E#2 = Floor<2>(x1B3C);
          real2 f1B3D#2 = Sub<real2>(x1B3C,nd1B3E);
          int{2} n1B3F#8 = RealToInt<2>(nd1B3E);
          int t11B5B#1 = -1;
          int t21B5C#1 = Index<int{2},0>(n1B3F);
          int ix1B5A#1 = Add<int>(t11B5B,t21B5C);
          int t11B5E#1 = -1;
          int t21B5F#1 = Index<int{2},1>(n1B3F);
          int iy1B5D#1 = Add<int>(t11B5E,t21B5F);
          addr(IMAGE2D<int>) a1B60#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1B5A,iy1B5D);
          real4 v01B41#1 = LoadVoxels<IMAGE2D<int>,4>(a1B60);
          int t11B54#1 = -1;
          int t21B55#1 = Index<int{2},0>(n1B3F);
          int ix1B53#1 = Add<int>(t11B54,t21B55);
          int t11B57#1 = 0;
          int t21B58#1 = Index<int{2},1>(n1B3F);
          int iy1B56#1 = Add<int>(t11B57,t21B58);
          addr(IMAGE2D<int>) a1B59#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1B53,iy1B56);
          real4 v11B42#1 = LoadVoxels<IMAGE2D<int>,4>(a1B59);
          int t11B4D#1 = -1;
          int t21B4E#1 = Index<int{2},0>(n1B3F);
          int ix1B4C#1 = Add<int>(t11B4D,t21B4E);
          int t11B50#1 = 1;
          int t21B51#1 = Index<int{2},1>(n1B3F);
          int iy1B4F#1 = Add<int>(t11B50,t21B51);
          addr(IMAGE2D<int>) a1B52#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1B4C,iy1B4F);
          real4 v21B43#1 = LoadVoxels<IMAGE2D<int>,4>(a1B52);
          int t11B46#1 = -1;
          int t21B47#1 = Index<int{2},0>(n1B3F);
          int ix1B45#1 = Add<int>(t11B46,t21B47);
          int t11B49#1 = 2;
          int t21B4A#1 = Index<int{2},1>(n1B3F);
          int iy1B48#1 = Add<int>(t11B49,t21B4A);
          addr(IMAGE2D<int>) a1B4B#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1B45,iy1B48);
          real4 v31B44#1 = LoadVoxels<IMAGE2D<int>,4>(a1B4B);
          real fy1B6C#4 = Index<real2,1>(f1B3D);
          real r1B74#1 = 0.1e1;
          real t31B71#1 = Add<real>(fy1B6C,r1B74);
          real t21B70#1 = fy1B6C;
          real r1B73#1 = 0.1e1;
          real t11B6F#1 = Sub<real>(fy1B6C,r1B73);
          real r1B72#1 = 0.2e1;
          real t01B6E#1 = Sub<real>(fy1B6C,r1B72);
          real4 a1B6D#1 = <real4>[t31B71,t21B70,t11B6F,t01B6E];
          real4 hy1B62#1 = EvalKernel<4,bspln3,0>(a1B6D);
          real fx1B63#4 = Index<real2,0>(f1B3D);
          real r1B6B#1 = 0.1e1;
          real t31B68#1 = Add<real>(fx1B63,r1B6B);
          real t21B67#1 = fx1B63;
          real r1B6A#1 = 0.1e1;
          real t11B66#1 = Sub<real>(fx1B63,r1B6A);
          real r1B69#1 = 0.2e1;
          real t01B65#1 = Sub<real>(fx1B63,r1B69);
          real4 a1B64#1 = <real4>[t31B68,t21B67,t11B66,t01B65];
          real4 hx1B61#4 = EvalKernel<4,bspln3,0>(a1B64);
          real t01B76#1 = Dot<4>(v01B41,hx1B61);
          real t11B77#1 = Dot<4>(v11B42,hx1B61);
          real t21B78#1 = Dot<4>(v21B43,hx1B61);
          real t31B79#1 = Dot<4>(v31B44,hx1B61);
          real4 tv1B75#1 = <real4>[t01B76,t11B77,t21B78,t31B79];
          real _t1B3B#1 = Dot<4>(hy1B62,tv1B75);
          real _t1BB8#2 = Sub<real>(_t1ABE,_t1B3B);
          real _t1BBA#1 = Mul<real>(_t1BB8,_t1BB8);
          real score1BBC#1 = Add<real>(score1AA7,_t1BBA);
          goto JOIN1BBF
        JOIN1BBF:  preds = [ASSIGN1BBD,COND1ABD]
          real score1BBE#2 = phi(score1BBC,score1AA7)
          real _t1BC0#1 = Dot<2>(r011DF,v091153);
          real _t1BC2#1 = Dot<2>(r111E5,v091153);
          real2 _t1BC4#1 = <real2>[_t1BC0,_t1BC2];
          real2 pos1BC6#2 = Add<real2>(_t1BC4,_t11F5);
          real2 x1BC9#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1BC6);
          bool _t1BC8#1 = Inside<IMAGE2D<float>,2>(x1BC9,_t1133);
          if _t1BC8 then goto ASSIGN1BCF else goto ASSIGN3835
        ASSIGN1BCF:  preds = [COND1BCC]
          real2 x1BCE#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v091153);
          bool _t1BCD#1 = Inside<IMAGE2D<int>,2>(x1BCE,_t112F);
          goto JOIN1BD3
        JOIN1BD3:  preds = [ASSIGN1BD0,ASSIGN3835]
          bool _t1BD1#1 = phi(_t1BCD,_t1BD2)
          if _t1BD1 then goto ASSIGN1C14 else goto JOIN1CD6
        ASSIGN1C14:  preds = [COND1BD4]
          real2 x1BD6#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1BC6);
          real2 nd1BD8#2 = Floor<2>(x1BD6);
          real2 f1BD7#2 = Sub<real2>(x1BD6,nd1BD8);
          int{2} n1BD9#8 = RealToInt<2>(nd1BD8);
          int t11BF5#1 = -1;
          int t21BF6#1 = Index<int{2},0>(n1BD9);
          int ix1BF4#1 = Add<int>(t11BF5,t21BF6);
          int t11BF8#1 = -1;
          int t21BF9#1 = Index<int{2},1>(n1BD9);
          int iy1BF7#1 = Add<int>(t11BF8,t21BF9);
          addr(IMAGE2D<float>) a1BFA#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1BF4,iy1BF7);
          real4 v01BDB#1 = LoadVoxels<IMAGE2D<float>,4>(a1BFA);
          int t11BEE#1 = -1;
          int t21BEF#1 = Index<int{2},0>(n1BD9);
          int ix1BED#1 = Add<int>(t11BEE,t21BEF);
          int t11BF1#1 = 0;
          int t21BF2#1 = Index<int{2},1>(n1BD9);
          int iy1BF0#1 = Add<int>(t11BF1,t21BF2);
          addr(IMAGE2D<float>) a1BF3#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1BED,iy1BF0);
          real4 v11BDC#1 = LoadVoxels<IMAGE2D<float>,4>(a1BF3);
          int t11BE7#1 = -1;
          int t21BE8#1 = Index<int{2},0>(n1BD9);
          int ix1BE6#1 = Add<int>(t11BE7,t21BE8);
          int t11BEA#1 = 1;
          int t21BEB#1 = Index<int{2},1>(n1BD9);
          int iy1BE9#1 = Add<int>(t11BEA,t21BEB);
          addr(IMAGE2D<float>) a1BEC#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1BE6,iy1BE9);
          real4 v21BDD#1 = LoadVoxels<IMAGE2D<float>,4>(a1BEC);
          int t11BE0#1 = -1;
          int t21BE1#1 = Index<int{2},0>(n1BD9);
          int ix1BDF#1 = Add<int>(t11BE0,t21BE1);
          int t11BE3#1 = 2;
          int t21BE4#1 = Index<int{2},1>(n1BD9);
          int iy1BE2#1 = Add<int>(t11BE3,t21BE4);
          addr(IMAGE2D<float>) a1BE5#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1BDF,iy1BE2);
          real4 v31BDE#1 = LoadVoxels<IMAGE2D<float>,4>(a1BE5);
          real fy1C06#4 = Index<real2,1>(f1BD7);
          real r1C0E#1 = 0.1e1;
          real t31C0B#1 = Add<real>(fy1C06,r1C0E);
          real t21C0A#1 = fy1C06;
          real r1C0D#1 = 0.1e1;
          real t11C09#1 = Sub<real>(fy1C06,r1C0D);
          real r1C0C#1 = 0.2e1;
          real t01C08#1 = Sub<real>(fy1C06,r1C0C);
          real4 a1C07#1 = <real4>[t31C0B,t21C0A,t11C09,t01C08];
          real4 hy1BFC#1 = EvalKernel<4,bspln3,0>(a1C07);
          real fx1BFD#4 = Index<real2,0>(f1BD7);
          real r1C05#1 = 0.1e1;
          real t31C02#1 = Add<real>(fx1BFD,r1C05);
          real t21C01#1 = fx1BFD;
          real r1C04#1 = 0.1e1;
          real t11C00#1 = Sub<real>(fx1BFD,r1C04);
          real r1C03#1 = 0.2e1;
          real t01BFF#1 = Sub<real>(fx1BFD,r1C03);
          real4 a1BFE#1 = <real4>[t31C02,t21C01,t11C00,t01BFF];
          real4 hx1BFB#4 = EvalKernel<4,bspln3,0>(a1BFE);
          real t01C10#1 = Dot<4>(v01BDB,hx1BFB);
          real t11C11#1 = Dot<4>(v11BDC,hx1BFB);
          real t21C12#1 = Dot<4>(v21BDD,hx1BFB);
          real t31C13#1 = Dot<4>(v31BDE,hx1BFB);
          real4 tv1C0F#1 = <real4>[t01C10,t11C11,t21C12,t31C13];
          real _t1BD5#1 = Dot<4>(hy1BFC,tv1C0F);
          real2 x1C53#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v091153);
          real2 nd1C55#2 = Floor<2>(x1C53);
          real2 f1C54#2 = Sub<real2>(x1C53,nd1C55);
          int{2} n1C56#8 = RealToInt<2>(nd1C55);
          int t11C72#1 = -1;
          int t21C73#1 = Index<int{2},0>(n1C56);
          int ix1C71#1 = Add<int>(t11C72,t21C73);
          int t11C75#1 = -1;
          int t21C76#1 = Index<int{2},1>(n1C56);
          int iy1C74#1 = Add<int>(t11C75,t21C76);
          addr(IMAGE2D<int>) a1C77#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1C71,iy1C74);
          real4 v01C58#1 = LoadVoxels<IMAGE2D<int>,4>(a1C77);
          int t11C6B#1 = -1;
          int t21C6C#1 = Index<int{2},0>(n1C56);
          int ix1C6A#1 = Add<int>(t11C6B,t21C6C);
          int t11C6E#1 = 0;
          int t21C6F#1 = Index<int{2},1>(n1C56);
          int iy1C6D#1 = Add<int>(t11C6E,t21C6F);
          addr(IMAGE2D<int>) a1C70#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1C6A,iy1C6D);
          real4 v11C59#1 = LoadVoxels<IMAGE2D<int>,4>(a1C70);
          int t11C64#1 = -1;
          int t21C65#1 = Index<int{2},0>(n1C56);
          int ix1C63#1 = Add<int>(t11C64,t21C65);
          int t11C67#1 = 1;
          int t21C68#1 = Index<int{2},1>(n1C56);
          int iy1C66#1 = Add<int>(t11C67,t21C68);
          addr(IMAGE2D<int>) a1C69#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1C63,iy1C66);
          real4 v21C5A#1 = LoadVoxels<IMAGE2D<int>,4>(a1C69);
          int t11C5D#1 = -1;
          int t21C5E#1 = Index<int{2},0>(n1C56);
          int ix1C5C#1 = Add<int>(t11C5D,t21C5E);
          int t11C60#1 = 2;
          int t21C61#1 = Index<int{2},1>(n1C56);
          int iy1C5F#1 = Add<int>(t11C60,t21C61);
          addr(IMAGE2D<int>) a1C62#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1C5C,iy1C5F);
          real4 v31C5B#1 = LoadVoxels<IMAGE2D<int>,4>(a1C62);
          real fy1C83#4 = Index<real2,1>(f1C54);
          real r1C8B#1 = 0.1e1;
          real t31C88#1 = Add<real>(fy1C83,r1C8B);
          real t21C87#1 = fy1C83;
          real r1C8A#1 = 0.1e1;
          real t11C86#1 = Sub<real>(fy1C83,r1C8A);
          real r1C89#1 = 0.2e1;
          real t01C85#1 = Sub<real>(fy1C83,r1C89);
          real4 a1C84#1 = <real4>[t31C88,t21C87,t11C86,t01C85];
          real4 hy1C79#1 = EvalKernel<4,bspln3,0>(a1C84);
          real fx1C7A#4 = Index<real2,0>(f1C54);
          real r1C82#1 = 0.1e1;
          real t31C7F#1 = Add<real>(fx1C7A,r1C82);
          real t21C7E#1 = fx1C7A;
          real r1C81#1 = 0.1e1;
          real t11C7D#1 = Sub<real>(fx1C7A,r1C81);
          real r1C80#1 = 0.2e1;
          real t01C7C#1 = Sub<real>(fx1C7A,r1C80);
          real4 a1C7B#1 = <real4>[t31C7F,t21C7E,t11C7D,t01C7C];
          real4 hx1C78#4 = EvalKernel<4,bspln3,0>(a1C7B);
          real t01C8D#1 = Dot<4>(v01C58,hx1C78);
          real t11C8E#1 = Dot<4>(v11C59,hx1C78);
          real t21C8F#1 = Dot<4>(v21C5A,hx1C78);
          real t31C90#1 = Dot<4>(v31C5B,hx1C78);
          real4 tv1C8C#1 = <real4>[t01C8D,t11C8E,t21C8F,t31C90];
          real _t1C52#1 = Dot<4>(hy1C79,tv1C8C);
          real _t1CCF#2 = Sub<real>(_t1BD5,_t1C52);
          real _t1CD1#1 = Mul<real>(_t1CCF,_t1CCF);
          real score1CD3#1 = Add<real>(score1BBE,_t1CD1);
          goto JOIN1CD6
        JOIN1CD6:  preds = [ASSIGN1CD4,COND1BD4]
          real score1CD5#2 = phi(score1CD3,score1BBE)
          real _t1CD7#1 = Dot<2>(r011DF,v101155);
          real _t1CD9#1 = Dot<2>(r111E5,v101155);
          real2 _t1CDB#1 = <real2>[_t1CD7,_t1CD9];
          real2 pos1CDD#2 = Add<real2>(_t1CDB,_t11F5);
          real2 x1CE0#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1CDD);
          bool _t1CDF#1 = Inside<IMAGE2D<float>,2>(x1CE0,_t1133);
          if _t1CDF then goto ASSIGN1CE6 else goto ASSIGN3834
        ASSIGN1CE6:  preds = [COND1CE3]
          real2 x1CE5#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v101155);
          bool _t1CE4#1 = Inside<IMAGE2D<int>,2>(x1CE5,_t112F);
          goto JOIN1CEA
        JOIN1CEA:  preds = [ASSIGN1CE7,ASSIGN3834]
          bool _t1CE8#1 = phi(_t1CE4,_t1CE9)
          if _t1CE8 then goto ASSIGN1D2B else goto JOIN1DED
        ASSIGN1D2B:  preds = [COND1CEB]
          real2 x1CED#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1CDD);
          real2 nd1CEF#2 = Floor<2>(x1CED);
          real2 f1CEE#2 = Sub<real2>(x1CED,nd1CEF);
          int{2} n1CF0#8 = RealToInt<2>(nd1CEF);
          int t11D0C#1 = -1;
          int t21D0D#1 = Index<int{2},0>(n1CF0);
          int ix1D0B#1 = Add<int>(t11D0C,t21D0D);
          int t11D0F#1 = -1;
          int t21D10#1 = Index<int{2},1>(n1CF0);
          int iy1D0E#1 = Add<int>(t11D0F,t21D10);
          addr(IMAGE2D<float>) a1D11#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1D0B,iy1D0E);
          real4 v01CF2#1 = LoadVoxels<IMAGE2D<float>,4>(a1D11);
          int t11D05#1 = -1;
          int t21D06#1 = Index<int{2},0>(n1CF0);
          int ix1D04#1 = Add<int>(t11D05,t21D06);
          int t11D08#1 = 0;
          int t21D09#1 = Index<int{2},1>(n1CF0);
          int iy1D07#1 = Add<int>(t11D08,t21D09);
          addr(IMAGE2D<float>) a1D0A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1D04,iy1D07);
          real4 v11CF3#1 = LoadVoxels<IMAGE2D<float>,4>(a1D0A);
          int t11CFE#1 = -1;
          int t21CFF#1 = Index<int{2},0>(n1CF0);
          int ix1CFD#1 = Add<int>(t11CFE,t21CFF);
          int t11D01#1 = 1;
          int t21D02#1 = Index<int{2},1>(n1CF0);
          int iy1D00#1 = Add<int>(t11D01,t21D02);
          addr(IMAGE2D<float>) a1D03#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1CFD,iy1D00);
          real4 v21CF4#1 = LoadVoxels<IMAGE2D<float>,4>(a1D03);
          int t11CF7#1 = -1;
          int t21CF8#1 = Index<int{2},0>(n1CF0);
          int ix1CF6#1 = Add<int>(t11CF7,t21CF8);
          int t11CFA#1 = 2;
          int t21CFB#1 = Index<int{2},1>(n1CF0);
          int iy1CF9#1 = Add<int>(t11CFA,t21CFB);
          addr(IMAGE2D<float>) a1CFC#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1CF6,iy1CF9);
          real4 v31CF5#1 = LoadVoxels<IMAGE2D<float>,4>(a1CFC);
          real fy1D1D#4 = Index<real2,1>(f1CEE);
          real r1D25#1 = 0.1e1;
          real t31D22#1 = Add<real>(fy1D1D,r1D25);
          real t21D21#1 = fy1D1D;
          real r1D24#1 = 0.1e1;
          real t11D20#1 = Sub<real>(fy1D1D,r1D24);
          real r1D23#1 = 0.2e1;
          real t01D1F#1 = Sub<real>(fy1D1D,r1D23);
          real4 a1D1E#1 = <real4>[t31D22,t21D21,t11D20,t01D1F];
          real4 hy1D13#1 = EvalKernel<4,bspln3,0>(a1D1E);
          real fx1D14#4 = Index<real2,0>(f1CEE);
          real r1D1C#1 = 0.1e1;
          real t31D19#1 = Add<real>(fx1D14,r1D1C);
          real t21D18#1 = fx1D14;
          real r1D1B#1 = 0.1e1;
          real t11D17#1 = Sub<real>(fx1D14,r1D1B);
          real r1D1A#1 = 0.2e1;
          real t01D16#1 = Sub<real>(fx1D14,r1D1A);
          real4 a1D15#1 = <real4>[t31D19,t21D18,t11D17,t01D16];
          real4 hx1D12#4 = EvalKernel<4,bspln3,0>(a1D15);
          real t01D27#1 = Dot<4>(v01CF2,hx1D12);
          real t11D28#1 = Dot<4>(v11CF3,hx1D12);
          real t21D29#1 = Dot<4>(v21CF4,hx1D12);
          real t31D2A#1 = Dot<4>(v31CF5,hx1D12);
          real4 tv1D26#1 = <real4>[t01D27,t11D28,t21D29,t31D2A];
          real _t1CEC#1 = Dot<4>(hy1D13,tv1D26);
          real2 x1D6A#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v101155);
          real2 nd1D6C#2 = Floor<2>(x1D6A);
          real2 f1D6B#2 = Sub<real2>(x1D6A,nd1D6C);
          int{2} n1D6D#8 = RealToInt<2>(nd1D6C);
          int t11D89#1 = -1;
          int t21D8A#1 = Index<int{2},0>(n1D6D);
          int ix1D88#1 = Add<int>(t11D89,t21D8A);
          int t11D8C#1 = -1;
          int t21D8D#1 = Index<int{2},1>(n1D6D);
          int iy1D8B#1 = Add<int>(t11D8C,t21D8D);
          addr(IMAGE2D<int>) a1D8E#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1D88,iy1D8B);
          real4 v01D6F#1 = LoadVoxels<IMAGE2D<int>,4>(a1D8E);
          int t11D82#1 = -1;
          int t21D83#1 = Index<int{2},0>(n1D6D);
          int ix1D81#1 = Add<int>(t11D82,t21D83);
          int t11D85#1 = 0;
          int t21D86#1 = Index<int{2},1>(n1D6D);
          int iy1D84#1 = Add<int>(t11D85,t21D86);
          addr(IMAGE2D<int>) a1D87#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1D81,iy1D84);
          real4 v11D70#1 = LoadVoxels<IMAGE2D<int>,4>(a1D87);
          int t11D7B#1 = -1;
          int t21D7C#1 = Index<int{2},0>(n1D6D);
          int ix1D7A#1 = Add<int>(t11D7B,t21D7C);
          int t11D7E#1 = 1;
          int t21D7F#1 = Index<int{2},1>(n1D6D);
          int iy1D7D#1 = Add<int>(t11D7E,t21D7F);
          addr(IMAGE2D<int>) a1D80#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1D7A,iy1D7D);
          real4 v21D71#1 = LoadVoxels<IMAGE2D<int>,4>(a1D80);
          int t11D74#1 = -1;
          int t21D75#1 = Index<int{2},0>(n1D6D);
          int ix1D73#1 = Add<int>(t11D74,t21D75);
          int t11D77#1 = 2;
          int t21D78#1 = Index<int{2},1>(n1D6D);
          int iy1D76#1 = Add<int>(t11D77,t21D78);
          addr(IMAGE2D<int>) a1D79#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1D73,iy1D76);
          real4 v31D72#1 = LoadVoxels<IMAGE2D<int>,4>(a1D79);
          real fy1D9A#4 = Index<real2,1>(f1D6B);
          real r1DA2#1 = 0.1e1;
          real t31D9F#1 = Add<real>(fy1D9A,r1DA2);
          real t21D9E#1 = fy1D9A;
          real r1DA1#1 = 0.1e1;
          real t11D9D#1 = Sub<real>(fy1D9A,r1DA1);
          real r1DA0#1 = 0.2e1;
          real t01D9C#1 = Sub<real>(fy1D9A,r1DA0);
          real4 a1D9B#1 = <real4>[t31D9F,t21D9E,t11D9D,t01D9C];
          real4 hy1D90#1 = EvalKernel<4,bspln3,0>(a1D9B);
          real fx1D91#4 = Index<real2,0>(f1D6B);
          real r1D99#1 = 0.1e1;
          real t31D96#1 = Add<real>(fx1D91,r1D99);
          real t21D95#1 = fx1D91;
          real r1D98#1 = 0.1e1;
          real t11D94#1 = Sub<real>(fx1D91,r1D98);
          real r1D97#1 = 0.2e1;
          real t01D93#1 = Sub<real>(fx1D91,r1D97);
          real4 a1D92#1 = <real4>[t31D96,t21D95,t11D94,t01D93];
          real4 hx1D8F#4 = EvalKernel<4,bspln3,0>(a1D92);
          real t01DA4#1 = Dot<4>(v01D6F,hx1D8F);
          real t11DA5#1 = Dot<4>(v11D70,hx1D8F);
          real t21DA6#1 = Dot<4>(v21D71,hx1D8F);
          real t31DA7#1 = Dot<4>(v31D72,hx1D8F);
          real4 tv1DA3#1 = <real4>[t01DA4,t11DA5,t21DA6,t31DA7];
          real _t1D69#1 = Dot<4>(hy1D90,tv1DA3);
          real _t1DE6#2 = Sub<real>(_t1CEC,_t1D69);
          real _t1DE8#1 = Mul<real>(_t1DE6,_t1DE6);
          real score1DEA#1 = Add<real>(score1CD5,_t1DE8);
          goto JOIN1DED
        JOIN1DED:  preds = [ASSIGN1DEB,COND1CEB]
          real score1DEC#2 = phi(score1DEA,score1CD5)
          real _t1DEE#1 = Dot<2>(r011DF,v111157);
          real _t1DF0#1 = Dot<2>(r111E5,v111157);
          real2 _t1DF2#1 = <real2>[_t1DEE,_t1DF0];
          real2 pos1DF4#2 = Add<real2>(_t1DF2,_t11F5);
          real2 x1DF7#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1DF4);
          bool _t1DF6#1 = Inside<IMAGE2D<float>,2>(x1DF7,_t1133);
          if _t1DF6 then goto ASSIGN1DFD else goto ASSIGN3833
        ASSIGN1DFD:  preds = [COND1DFA]
          real2 x1DFC#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v111157);
          bool _t1DFB#1 = Inside<IMAGE2D<int>,2>(x1DFC,_t112F);
          goto JOIN1E01
        JOIN1E01:  preds = [ASSIGN1DFE,ASSIGN3833]
          bool _t1DFF#1 = phi(_t1DFB,_t1E00)
          if _t1DFF then goto ASSIGN1E42 else goto JOIN1F04
        ASSIGN1E42:  preds = [COND1E02]
          real2 x1E04#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1DF4);
          real2 nd1E06#2 = Floor<2>(x1E04);
          real2 f1E05#2 = Sub<real2>(x1E04,nd1E06);
          int{2} n1E07#8 = RealToInt<2>(nd1E06);
          int t11E23#1 = -1;
          int t21E24#1 = Index<int{2},0>(n1E07);
          int ix1E22#1 = Add<int>(t11E23,t21E24);
          int t11E26#1 = -1;
          int t21E27#1 = Index<int{2},1>(n1E07);
          int iy1E25#1 = Add<int>(t11E26,t21E27);
          addr(IMAGE2D<float>) a1E28#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1E22,iy1E25);
          real4 v01E09#1 = LoadVoxels<IMAGE2D<float>,4>(a1E28);
          int t11E1C#1 = -1;
          int t21E1D#1 = Index<int{2},0>(n1E07);
          int ix1E1B#1 = Add<int>(t11E1C,t21E1D);
          int t11E1F#1 = 0;
          int t21E20#1 = Index<int{2},1>(n1E07);
          int iy1E1E#1 = Add<int>(t11E1F,t21E20);
          addr(IMAGE2D<float>) a1E21#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1E1B,iy1E1E);
          real4 v11E0A#1 = LoadVoxels<IMAGE2D<float>,4>(a1E21);
          int t11E15#1 = -1;
          int t21E16#1 = Index<int{2},0>(n1E07);
          int ix1E14#1 = Add<int>(t11E15,t21E16);
          int t11E18#1 = 1;
          int t21E19#1 = Index<int{2},1>(n1E07);
          int iy1E17#1 = Add<int>(t11E18,t21E19);
          addr(IMAGE2D<float>) a1E1A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1E14,iy1E17);
          real4 v21E0B#1 = LoadVoxels<IMAGE2D<float>,4>(a1E1A);
          int t11E0E#1 = -1;
          int t21E0F#1 = Index<int{2},0>(n1E07);
          int ix1E0D#1 = Add<int>(t11E0E,t21E0F);
          int t11E11#1 = 2;
          int t21E12#1 = Index<int{2},1>(n1E07);
          int iy1E10#1 = Add<int>(t11E11,t21E12);
          addr(IMAGE2D<float>) a1E13#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1E0D,iy1E10);
          real4 v31E0C#1 = LoadVoxels<IMAGE2D<float>,4>(a1E13);
          real fy1E34#4 = Index<real2,1>(f1E05);
          real r1E3C#1 = 0.1e1;
          real t31E39#1 = Add<real>(fy1E34,r1E3C);
          real t21E38#1 = fy1E34;
          real r1E3B#1 = 0.1e1;
          real t11E37#1 = Sub<real>(fy1E34,r1E3B);
          real r1E3A#1 = 0.2e1;
          real t01E36#1 = Sub<real>(fy1E34,r1E3A);
          real4 a1E35#1 = <real4>[t31E39,t21E38,t11E37,t01E36];
          real4 hy1E2A#1 = EvalKernel<4,bspln3,0>(a1E35);
          real fx1E2B#4 = Index<real2,0>(f1E05);
          real r1E33#1 = 0.1e1;
          real t31E30#1 = Add<real>(fx1E2B,r1E33);
          real t21E2F#1 = fx1E2B;
          real r1E32#1 = 0.1e1;
          real t11E2E#1 = Sub<real>(fx1E2B,r1E32);
          real r1E31#1 = 0.2e1;
          real t01E2D#1 = Sub<real>(fx1E2B,r1E31);
          real4 a1E2C#1 = <real4>[t31E30,t21E2F,t11E2E,t01E2D];
          real4 hx1E29#4 = EvalKernel<4,bspln3,0>(a1E2C);
          real t01E3E#1 = Dot<4>(v01E09,hx1E29);
          real t11E3F#1 = Dot<4>(v11E0A,hx1E29);
          real t21E40#1 = Dot<4>(v21E0B,hx1E29);
          real t31E41#1 = Dot<4>(v31E0C,hx1E29);
          real4 tv1E3D#1 = <real4>[t01E3E,t11E3F,t21E40,t31E41];
          real _t1E03#1 = Dot<4>(hy1E2A,tv1E3D);
          real2 x1E81#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v111157);
          real2 nd1E83#2 = Floor<2>(x1E81);
          real2 f1E82#2 = Sub<real2>(x1E81,nd1E83);
          int{2} n1E84#8 = RealToInt<2>(nd1E83);
          int t11EA0#1 = -1;
          int t21EA1#1 = Index<int{2},0>(n1E84);
          int ix1E9F#1 = Add<int>(t11EA0,t21EA1);
          int t11EA3#1 = -1;
          int t21EA4#1 = Index<int{2},1>(n1E84);
          int iy1EA2#1 = Add<int>(t11EA3,t21EA4);
          addr(IMAGE2D<int>) a1EA5#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1E9F,iy1EA2);
          real4 v01E86#1 = LoadVoxels<IMAGE2D<int>,4>(a1EA5);
          int t11E99#1 = -1;
          int t21E9A#1 = Index<int{2},0>(n1E84);
          int ix1E98#1 = Add<int>(t11E99,t21E9A);
          int t11E9C#1 = 0;
          int t21E9D#1 = Index<int{2},1>(n1E84);
          int iy1E9B#1 = Add<int>(t11E9C,t21E9D);
          addr(IMAGE2D<int>) a1E9E#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1E98,iy1E9B);
          real4 v11E87#1 = LoadVoxels<IMAGE2D<int>,4>(a1E9E);
          int t11E92#1 = -1;
          int t21E93#1 = Index<int{2},0>(n1E84);
          int ix1E91#1 = Add<int>(t11E92,t21E93);
          int t11E95#1 = 1;
          int t21E96#1 = Index<int{2},1>(n1E84);
          int iy1E94#1 = Add<int>(t11E95,t21E96);
          addr(IMAGE2D<int>) a1E97#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1E91,iy1E94);
          real4 v21E88#1 = LoadVoxels<IMAGE2D<int>,4>(a1E97);
          int t11E8B#1 = -1;
          int t21E8C#1 = Index<int{2},0>(n1E84);
          int ix1E8A#1 = Add<int>(t11E8B,t21E8C);
          int t11E8E#1 = 2;
          int t21E8F#1 = Index<int{2},1>(n1E84);
          int iy1E8D#1 = Add<int>(t11E8E,t21E8F);
          addr(IMAGE2D<int>) a1E90#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1E8A,iy1E8D);
          real4 v31E89#1 = LoadVoxels<IMAGE2D<int>,4>(a1E90);
          real fy1EB1#4 = Index<real2,1>(f1E82);
          real r1EB9#1 = 0.1e1;
          real t31EB6#1 = Add<real>(fy1EB1,r1EB9);
          real t21EB5#1 = fy1EB1;
          real r1EB8#1 = 0.1e1;
          real t11EB4#1 = Sub<real>(fy1EB1,r1EB8);
          real r1EB7#1 = 0.2e1;
          real t01EB3#1 = Sub<real>(fy1EB1,r1EB7);
          real4 a1EB2#1 = <real4>[t31EB6,t21EB5,t11EB4,t01EB3];
          real4 hy1EA7#1 = EvalKernel<4,bspln3,0>(a1EB2);
          real fx1EA8#4 = Index<real2,0>(f1E82);
          real r1EB0#1 = 0.1e1;
          real t31EAD#1 = Add<real>(fx1EA8,r1EB0);
          real t21EAC#1 = fx1EA8;
          real r1EAF#1 = 0.1e1;
          real t11EAB#1 = Sub<real>(fx1EA8,r1EAF);
          real r1EAE#1 = 0.2e1;
          real t01EAA#1 = Sub<real>(fx1EA8,r1EAE);
          real4 a1EA9#1 = <real4>[t31EAD,t21EAC,t11EAB,t01EAA];
          real4 hx1EA6#4 = EvalKernel<4,bspln3,0>(a1EA9);
          real t01EBB#1 = Dot<4>(v01E86,hx1EA6);
          real t11EBC#1 = Dot<4>(v11E87,hx1EA6);
          real t21EBD#1 = Dot<4>(v21E88,hx1EA6);
          real t31EBE#1 = Dot<4>(v31E89,hx1EA6);
          real4 tv1EBA#1 = <real4>[t01EBB,t11EBC,t21EBD,t31EBE];
          real _t1E80#1 = Dot<4>(hy1EA7,tv1EBA);
          real _t1EFD#2 = Sub<real>(_t1E03,_t1E80);
          real _t1EFF#1 = Mul<real>(_t1EFD,_t1EFD);
          real score1F01#1 = Add<real>(score1DEC,_t1EFF);
          goto JOIN1F04
        JOIN1F04:  preds = [ASSIGN1F02,COND1E02]
          real score1F03#2 = phi(score1F01,score1DEC)
          real _t1F05#1 = Dot<2>(r011DF,v121159);
          real _t1F07#1 = Dot<2>(r111E5,v121159);
          real2 _t1F09#1 = <real2>[_t1F05,_t1F07];
          real2 pos1F0B#2 = Add<real2>(_t1F09,_t11F5);
          real2 x1F0E#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1F0B);
          bool _t1F0D#1 = Inside<IMAGE2D<float>,2>(x1F0E,_t1133);
          if _t1F0D then goto ASSIGN1F14 else goto ASSIGN3832
        ASSIGN1F14:  preds = [COND1F11]
          real2 x1F13#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v121159);
          bool _t1F12#1 = Inside<IMAGE2D<int>,2>(x1F13,_t112F);
          goto JOIN1F18
        JOIN1F18:  preds = [ASSIGN1F15,ASSIGN3832]
          bool _t1F16#1 = phi(_t1F12,_t1F17)
          if _t1F16 then goto ASSIGN1F59 else goto JOIN201B
        ASSIGN1F59:  preds = [COND1F19]
          real2 x1F1B#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1F0B);
          real2 nd1F1D#2 = Floor<2>(x1F1B);
          real2 f1F1C#2 = Sub<real2>(x1F1B,nd1F1D);
          int{2} n1F1E#8 = RealToInt<2>(nd1F1D);
          int t11F3A#1 = -1;
          int t21F3B#1 = Index<int{2},0>(n1F1E);
          int ix1F39#1 = Add<int>(t11F3A,t21F3B);
          int t11F3D#1 = -1;
          int t21F3E#1 = Index<int{2},1>(n1F1E);
          int iy1F3C#1 = Add<int>(t11F3D,t21F3E);
          addr(IMAGE2D<float>) a1F3F#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1F39,iy1F3C);
          real4 v01F20#1 = LoadVoxels<IMAGE2D<float>,4>(a1F3F);
          int t11F33#1 = -1;
          int t21F34#1 = Index<int{2},0>(n1F1E);
          int ix1F32#1 = Add<int>(t11F33,t21F34);
          int t11F36#1 = 0;
          int t21F37#1 = Index<int{2},1>(n1F1E);
          int iy1F35#1 = Add<int>(t11F36,t21F37);
          addr(IMAGE2D<float>) a1F38#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1F32,iy1F35);
          real4 v11F21#1 = LoadVoxels<IMAGE2D<float>,4>(a1F38);
          int t11F2C#1 = -1;
          int t21F2D#1 = Index<int{2},0>(n1F1E);
          int ix1F2B#1 = Add<int>(t11F2C,t21F2D);
          int t11F2F#1 = 1;
          int t21F30#1 = Index<int{2},1>(n1F1E);
          int iy1F2E#1 = Add<int>(t11F2F,t21F30);
          addr(IMAGE2D<float>) a1F31#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1F2B,iy1F2E);
          real4 v21F22#1 = LoadVoxels<IMAGE2D<float>,4>(a1F31);
          int t11F25#1 = -1;
          int t21F26#1 = Index<int{2},0>(n1F1E);
          int ix1F24#1 = Add<int>(t11F25,t21F26);
          int t11F28#1 = 2;
          int t21F29#1 = Index<int{2},1>(n1F1E);
          int iy1F27#1 = Add<int>(t11F28,t21F29);
          addr(IMAGE2D<float>) a1F2A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1F24,iy1F27);
          real4 v31F23#1 = LoadVoxels<IMAGE2D<float>,4>(a1F2A);
          real fy1F4B#4 = Index<real2,1>(f1F1C);
          real r1F53#1 = 0.1e1;
          real t31F50#1 = Add<real>(fy1F4B,r1F53);
          real t21F4F#1 = fy1F4B;
          real r1F52#1 = 0.1e1;
          real t11F4E#1 = Sub<real>(fy1F4B,r1F52);
          real r1F51#1 = 0.2e1;
          real t01F4D#1 = Sub<real>(fy1F4B,r1F51);
          real4 a1F4C#1 = <real4>[t31F50,t21F4F,t11F4E,t01F4D];
          real4 hy1F41#1 = EvalKernel<4,bspln3,0>(a1F4C);
          real fx1F42#4 = Index<real2,0>(f1F1C);
          real r1F4A#1 = 0.1e1;
          real t31F47#1 = Add<real>(fx1F42,r1F4A);
          real t21F46#1 = fx1F42;
          real r1F49#1 = 0.1e1;
          real t11F45#1 = Sub<real>(fx1F42,r1F49);
          real r1F48#1 = 0.2e1;
          real t01F44#1 = Sub<real>(fx1F42,r1F48);
          real4 a1F43#1 = <real4>[t31F47,t21F46,t11F45,t01F44];
          real4 hx1F40#4 = EvalKernel<4,bspln3,0>(a1F43);
          real t01F55#1 = Dot<4>(v01F20,hx1F40);
          real t11F56#1 = Dot<4>(v11F21,hx1F40);
          real t21F57#1 = Dot<4>(v21F22,hx1F40);
          real t31F58#1 = Dot<4>(v31F23,hx1F40);
          real4 tv1F54#1 = <real4>[t01F55,t11F56,t21F57,t31F58];
          real _t1F1A#1 = Dot<4>(hy1F41,tv1F54);
          real2 x1F98#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v121159);
          real2 nd1F9A#2 = Floor<2>(x1F98);
          real2 f1F99#2 = Sub<real2>(x1F98,nd1F9A);
          int{2} n1F9B#8 = RealToInt<2>(nd1F9A);
          int t11FB7#1 = -1;
          int t21FB8#1 = Index<int{2},0>(n1F9B);
          int ix1FB6#1 = Add<int>(t11FB7,t21FB8);
          int t11FBA#1 = -1;
          int t21FBB#1 = Index<int{2},1>(n1F9B);
          int iy1FB9#1 = Add<int>(t11FBA,t21FBB);
          addr(IMAGE2D<int>) a1FBC#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1FB6,iy1FB9);
          real4 v01F9D#1 = LoadVoxels<IMAGE2D<int>,4>(a1FBC);
          int t11FB0#1 = -1;
          int t21FB1#1 = Index<int{2},0>(n1F9B);
          int ix1FAF#1 = Add<int>(t11FB0,t21FB1);
          int t11FB3#1 = 0;
          int t21FB4#1 = Index<int{2},1>(n1F9B);
          int iy1FB2#1 = Add<int>(t11FB3,t21FB4);
          addr(IMAGE2D<int>) a1FB5#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1FAF,iy1FB2);
          real4 v11F9E#1 = LoadVoxels<IMAGE2D<int>,4>(a1FB5);
          int t11FA9#1 = -1;
          int t21FAA#1 = Index<int{2},0>(n1F9B);
          int ix1FA8#1 = Add<int>(t11FA9,t21FAA);
          int t11FAC#1 = 1;
          int t21FAD#1 = Index<int{2},1>(n1F9B);
          int iy1FAB#1 = Add<int>(t11FAC,t21FAD);
          addr(IMAGE2D<int>) a1FAE#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1FA8,iy1FAB);
          real4 v21F9F#1 = LoadVoxels<IMAGE2D<int>,4>(a1FAE);
          int t11FA2#1 = -1;
          int t21FA3#1 = Index<int{2},0>(n1F9B);
          int ix1FA1#1 = Add<int>(t11FA2,t21FA3);
          int t11FA5#1 = 2;
          int t21FA6#1 = Index<int{2},1>(n1F9B);
          int iy1FA4#1 = Add<int>(t11FA5,t21FA6);
          addr(IMAGE2D<int>) a1FA7#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1FA1,iy1FA4);
          real4 v31FA0#1 = LoadVoxels<IMAGE2D<int>,4>(a1FA7);
          real fy1FC8#4 = Index<real2,1>(f1F99);
          real r1FD0#1 = 0.1e1;
          real t31FCD#1 = Add<real>(fy1FC8,r1FD0);
          real t21FCC#1 = fy1FC8;
          real r1FCF#1 = 0.1e1;
          real t11FCB#1 = Sub<real>(fy1FC8,r1FCF);
          real r1FCE#1 = 0.2e1;
          real t01FCA#1 = Sub<real>(fy1FC8,r1FCE);
          real4 a1FC9#1 = <real4>[t31FCD,t21FCC,t11FCB,t01FCA];
          real4 hy1FBE#1 = EvalKernel<4,bspln3,0>(a1FC9);
          real fx1FBF#4 = Index<real2,0>(f1F99);
          real r1FC7#1 = 0.1e1;
          real t31FC4#1 = Add<real>(fx1FBF,r1FC7);
          real t21FC3#1 = fx1FBF;
          real r1FC6#1 = 0.1e1;
          real t11FC2#1 = Sub<real>(fx1FBF,r1FC6);
          real r1FC5#1 = 0.2e1;
          real t01FC1#1 = Sub<real>(fx1FBF,r1FC5);
          real4 a1FC0#1 = <real4>[t31FC4,t21FC3,t11FC2,t01FC1];
          real4 hx1FBD#4 = EvalKernel<4,bspln3,0>(a1FC0);
          real t01FD2#1 = Dot<4>(v01F9D,hx1FBD);
          real t11FD3#1 = Dot<4>(v11F9E,hx1FBD);
          real t21FD4#1 = Dot<4>(v21F9F,hx1FBD);
          real t31FD5#1 = Dot<4>(v31FA0,hx1FBD);
          real4 tv1FD1#1 = <real4>[t01FD2,t11FD3,t21FD4,t31FD5];
          real _t1F97#1 = Dot<4>(hy1FBE,tv1FD1);
          real _t2014#2 = Sub<real>(_t1F1A,_t1F97);
          real _t2016#1 = Mul<real>(_t2014,_t2014);
          real score2018#1 = Add<real>(score1F03,_t2016);
          goto JOIN201B
        JOIN201B:  preds = [ASSIGN2019,COND1F19]
          real score201A#2 = phi(score2018,score1F03)
          real _t201C#1 = Dot<2>(r011DF,v13115B);
          real _t201E#1 = Dot<2>(r111E5,v13115B);
          real2 _t2020#1 = <real2>[_t201C,_t201E];
          real2 pos2022#2 = Add<real2>(_t2020,_t11F5);
          real2 x2025#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2022);
          bool _t2024#1 = Inside<IMAGE2D<float>,2>(x2025,_t1133);
          if _t2024 then goto ASSIGN202B else goto ASSIGN3831
        ASSIGN202B:  preds = [COND2028]
          real2 x202A#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v13115B);
          bool _t2029#1 = Inside<IMAGE2D<int>,2>(x202A,_t112F);
          goto JOIN202F
        JOIN202F:  preds = [ASSIGN202C,ASSIGN3831]
          bool _t202D#1 = phi(_t2029,_t202E)
          if _t202D then goto ASSIGN2070 else goto JOIN2132
        ASSIGN2070:  preds = [COND2030]
          real2 x2032#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2022);
          real2 nd2034#2 = Floor<2>(x2032);
          real2 f2033#2 = Sub<real2>(x2032,nd2034);
          int{2} n2035#8 = RealToInt<2>(nd2034);
          int t12051#1 = -1;
          int t22052#1 = Index<int{2},0>(n2035);
          int ix2050#1 = Add<int>(t12051,t22052);
          int t12054#1 = -1;
          int t22055#1 = Index<int{2},1>(n2035);
          int iy2053#1 = Add<int>(t12054,t22055);
          addr(IMAGE2D<float>) a2056#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2050,iy2053);
          real4 v02037#1 = LoadVoxels<IMAGE2D<float>,4>(a2056);
          int t1204A#1 = -1;
          int t2204B#1 = Index<int{2},0>(n2035);
          int ix2049#1 = Add<int>(t1204A,t2204B);
          int t1204D#1 = 0;
          int t2204E#1 = Index<int{2},1>(n2035);
          int iy204C#1 = Add<int>(t1204D,t2204E);
          addr(IMAGE2D<float>) a204F#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2049,iy204C);
          real4 v12038#1 = LoadVoxels<IMAGE2D<float>,4>(a204F);
          int t12043#1 = -1;
          int t22044#1 = Index<int{2},0>(n2035);
          int ix2042#1 = Add<int>(t12043,t22044);
          int t12046#1 = 1;
          int t22047#1 = Index<int{2},1>(n2035);
          int iy2045#1 = Add<int>(t12046,t22047);
          addr(IMAGE2D<float>) a2048#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2042,iy2045);
          real4 v22039#1 = LoadVoxels<IMAGE2D<float>,4>(a2048);
          int t1203C#1 = -1;
          int t2203D#1 = Index<int{2},0>(n2035);
          int ix203B#1 = Add<int>(t1203C,t2203D);
          int t1203F#1 = 2;
          int t22040#1 = Index<int{2},1>(n2035);
          int iy203E#1 = Add<int>(t1203F,t22040);
          addr(IMAGE2D<float>) a2041#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix203B,iy203E);
          real4 v3203A#1 = LoadVoxels<IMAGE2D<float>,4>(a2041);
          real fy2062#4 = Index<real2,1>(f2033);
          real r206A#1 = 0.1e1;
          real t32067#1 = Add<real>(fy2062,r206A);
          real t22066#1 = fy2062;
          real r2069#1 = 0.1e1;
          real t12065#1 = Sub<real>(fy2062,r2069);
          real r2068#1 = 0.2e1;
          real t02064#1 = Sub<real>(fy2062,r2068);
          real4 a2063#1 = <real4>[t32067,t22066,t12065,t02064];
          real4 hy2058#1 = EvalKernel<4,bspln3,0>(a2063);
          real fx2059#4 = Index<real2,0>(f2033);
          real r2061#1 = 0.1e1;
          real t3205E#1 = Add<real>(fx2059,r2061);
          real t2205D#1 = fx2059;
          real r2060#1 = 0.1e1;
          real t1205C#1 = Sub<real>(fx2059,r2060);
          real r205F#1 = 0.2e1;
          real t0205B#1 = Sub<real>(fx2059,r205F);
          real4 a205A#1 = <real4>[t3205E,t2205D,t1205C,t0205B];
          real4 hx2057#4 = EvalKernel<4,bspln3,0>(a205A);
          real t0206C#1 = Dot<4>(v02037,hx2057);
          real t1206D#1 = Dot<4>(v12038,hx2057);
          real t2206E#1 = Dot<4>(v22039,hx2057);
          real t3206F#1 = Dot<4>(v3203A,hx2057);
          real4 tv206B#1 = <real4>[t0206C,t1206D,t2206E,t3206F];
          real _t2031#1 = Dot<4>(hy2058,tv206B);
          real2 x20AF#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v13115B);
          real2 nd20B1#2 = Floor<2>(x20AF);
          real2 f20B0#2 = Sub<real2>(x20AF,nd20B1);
          int{2} n20B2#8 = RealToInt<2>(nd20B1);
          int t120CE#1 = -1;
          int t220CF#1 = Index<int{2},0>(n20B2);
          int ix20CD#1 = Add<int>(t120CE,t220CF);
          int t120D1#1 = -1;
          int t220D2#1 = Index<int{2},1>(n20B2);
          int iy20D0#1 = Add<int>(t120D1,t220D2);
          addr(IMAGE2D<int>) a20D3#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix20CD,iy20D0);
          real4 v020B4#1 = LoadVoxels<IMAGE2D<int>,4>(a20D3);
          int t120C7#1 = -1;
          int t220C8#1 = Index<int{2},0>(n20B2);
          int ix20C6#1 = Add<int>(t120C7,t220C8);
          int t120CA#1 = 0;
          int t220CB#1 = Index<int{2},1>(n20B2);
          int iy20C9#1 = Add<int>(t120CA,t220CB);
          addr(IMAGE2D<int>) a20CC#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix20C6,iy20C9);
          real4 v120B5#1 = LoadVoxels<IMAGE2D<int>,4>(a20CC);
          int t120C0#1 = -1;
          int t220C1#1 = Index<int{2},0>(n20B2);
          int ix20BF#1 = Add<int>(t120C0,t220C1);
          int t120C3#1 = 1;
          int t220C4#1 = Index<int{2},1>(n20B2);
          int iy20C2#1 = Add<int>(t120C3,t220C4);
          addr(IMAGE2D<int>) a20C5#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix20BF,iy20C2);
          real4 v220B6#1 = LoadVoxels<IMAGE2D<int>,4>(a20C5);
          int t120B9#1 = -1;
          int t220BA#1 = Index<int{2},0>(n20B2);
          int ix20B8#1 = Add<int>(t120B9,t220BA);
          int t120BC#1 = 2;
          int t220BD#1 = Index<int{2},1>(n20B2);
          int iy20BB#1 = Add<int>(t120BC,t220BD);
          addr(IMAGE2D<int>) a20BE#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix20B8,iy20BB);
          real4 v320B7#1 = LoadVoxels<IMAGE2D<int>,4>(a20BE);
          real fy20DF#4 = Index<real2,1>(f20B0);
          real r20E7#1 = 0.1e1;
          real t320E4#1 = Add<real>(fy20DF,r20E7);
          real t220E3#1 = fy20DF;
          real r20E6#1 = 0.1e1;
          real t120E2#1 = Sub<real>(fy20DF,r20E6);
          real r20E5#1 = 0.2e1;
          real t020E1#1 = Sub<real>(fy20DF,r20E5);
          real4 a20E0#1 = <real4>[t320E4,t220E3,t120E2,t020E1];
          real4 hy20D5#1 = EvalKernel<4,bspln3,0>(a20E0);
          real fx20D6#4 = Index<real2,0>(f20B0);
          real r20DE#1 = 0.1e1;
          real t320DB#1 = Add<real>(fx20D6,r20DE);
          real t220DA#1 = fx20D6;
          real r20DD#1 = 0.1e1;
          real t120D9#1 = Sub<real>(fx20D6,r20DD);
          real r20DC#1 = 0.2e1;
          real t020D8#1 = Sub<real>(fx20D6,r20DC);
          real4 a20D7#1 = <real4>[t320DB,t220DA,t120D9,t020D8];
          real4 hx20D4#4 = EvalKernel<4,bspln3,0>(a20D7);
          real t020E9#1 = Dot<4>(v020B4,hx20D4);
          real t120EA#1 = Dot<4>(v120B5,hx20D4);
          real t220EB#1 = Dot<4>(v220B6,hx20D4);
          real t320EC#1 = Dot<4>(v320B7,hx20D4);
          real4 tv20E8#1 = <real4>[t020E9,t120EA,t220EB,t320EC];
          real _t20AE#1 = Dot<4>(hy20D5,tv20E8);
          real _t212B#2 = Sub<real>(_t2031,_t20AE);
          real _t212D#1 = Mul<real>(_t212B,_t212B);
          real score212F#1 = Add<real>(score201A,_t212D);
          goto JOIN2132
        JOIN2132:  preds = [ASSIGN2130,COND2030]
          real score2131#2 = phi(score212F,score201A)
          real _t2133#1 = Dot<2>(r011DF,v14115D);
          real _t2135#1 = Dot<2>(r111E5,v14115D);
          real2 _t2137#1 = <real2>[_t2133,_t2135];
          real2 pos2139#2 = Add<real2>(_t2137,_t11F5);
          real2 x213C#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2139);
          bool _t213B#1 = Inside<IMAGE2D<float>,2>(x213C,_t1133);
          if _t213B then goto ASSIGN2142 else goto ASSIGN3830
        ASSIGN2142:  preds = [COND213F]
          real2 x2141#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v14115D);
          bool _t2140#1 = Inside<IMAGE2D<int>,2>(x2141,_t112F);
          goto JOIN2146
        JOIN2146:  preds = [ASSIGN2143,ASSIGN3830]
          bool _t2144#1 = phi(_t2140,_t2145)
          if _t2144 then goto ASSIGN2187 else goto JOIN2249
        ASSIGN2187:  preds = [COND2147]
          real2 x2149#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2139);
          real2 nd214B#2 = Floor<2>(x2149);
          real2 f214A#2 = Sub<real2>(x2149,nd214B);
          int{2} n214C#8 = RealToInt<2>(nd214B);
          int t12168#1 = -1;
          int t22169#1 = Index<int{2},0>(n214C);
          int ix2167#1 = Add<int>(t12168,t22169);
          int t1216B#1 = -1;
          int t2216C#1 = Index<int{2},1>(n214C);
          int iy216A#1 = Add<int>(t1216B,t2216C);
          addr(IMAGE2D<float>) a216D#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2167,iy216A);
          real4 v0214E#1 = LoadVoxels<IMAGE2D<float>,4>(a216D);
          int t12161#1 = -1;
          int t22162#1 = Index<int{2},0>(n214C);
          int ix2160#1 = Add<int>(t12161,t22162);
          int t12164#1 = 0;
          int t22165#1 = Index<int{2},1>(n214C);
          int iy2163#1 = Add<int>(t12164,t22165);
          addr(IMAGE2D<float>) a2166#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2160,iy2163);
          real4 v1214F#1 = LoadVoxels<IMAGE2D<float>,4>(a2166);
          int t1215A#1 = -1;
          int t2215B#1 = Index<int{2},0>(n214C);
          int ix2159#1 = Add<int>(t1215A,t2215B);
          int t1215D#1 = 1;
          int t2215E#1 = Index<int{2},1>(n214C);
          int iy215C#1 = Add<int>(t1215D,t2215E);
          addr(IMAGE2D<float>) a215F#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2159,iy215C);
          real4 v22150#1 = LoadVoxels<IMAGE2D<float>,4>(a215F);
          int t12153#1 = -1;
          int t22154#1 = Index<int{2},0>(n214C);
          int ix2152#1 = Add<int>(t12153,t22154);
          int t12156#1 = 2;
          int t22157#1 = Index<int{2},1>(n214C);
          int iy2155#1 = Add<int>(t12156,t22157);
          addr(IMAGE2D<float>) a2158#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2152,iy2155);
          real4 v32151#1 = LoadVoxels<IMAGE2D<float>,4>(a2158);
          real fy2179#4 = Index<real2,1>(f214A);
          real r2181#1 = 0.1e1;
          real t3217E#1 = Add<real>(fy2179,r2181);
          real t2217D#1 = fy2179;
          real r2180#1 = 0.1e1;
          real t1217C#1 = Sub<real>(fy2179,r2180);
          real r217F#1 = 0.2e1;
          real t0217B#1 = Sub<real>(fy2179,r217F);
          real4 a217A#1 = <real4>[t3217E,t2217D,t1217C,t0217B];
          real4 hy216F#1 = EvalKernel<4,bspln3,0>(a217A);
          real fx2170#4 = Index<real2,0>(f214A);
          real r2178#1 = 0.1e1;
          real t32175#1 = Add<real>(fx2170,r2178);
          real t22174#1 = fx2170;
          real r2177#1 = 0.1e1;
          real t12173#1 = Sub<real>(fx2170,r2177);
          real r2176#1 = 0.2e1;
          real t02172#1 = Sub<real>(fx2170,r2176);
          real4 a2171#1 = <real4>[t32175,t22174,t12173,t02172];
          real4 hx216E#4 = EvalKernel<4,bspln3,0>(a2171);
          real t02183#1 = Dot<4>(v0214E,hx216E);
          real t12184#1 = Dot<4>(v1214F,hx216E);
          real t22185#1 = Dot<4>(v22150,hx216E);
          real t32186#1 = Dot<4>(v32151,hx216E);
          real4 tv2182#1 = <real4>[t02183,t12184,t22185,t32186];
          real _t2148#1 = Dot<4>(hy216F,tv2182);
          real2 x21C6#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v14115D);
          real2 nd21C8#2 = Floor<2>(x21C6);
          real2 f21C7#2 = Sub<real2>(x21C6,nd21C8);
          int{2} n21C9#8 = RealToInt<2>(nd21C8);
          int t121E5#1 = -1;
          int t221E6#1 = Index<int{2},0>(n21C9);
          int ix21E4#1 = Add<int>(t121E5,t221E6);
          int t121E8#1 = -1;
          int t221E9#1 = Index<int{2},1>(n21C9);
          int iy21E7#1 = Add<int>(t121E8,t221E9);
          addr(IMAGE2D<int>) a21EA#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix21E4,iy21E7);
          real4 v021CB#1 = LoadVoxels<IMAGE2D<int>,4>(a21EA);
          int t121DE#1 = -1;
          int t221DF#1 = Index<int{2},0>(n21C9);
          int ix21DD#1 = Add<int>(t121DE,t221DF);
          int t121E1#1 = 0;
          int t221E2#1 = Index<int{2},1>(n21C9);
          int iy21E0#1 = Add<int>(t121E1,t221E2);
          addr(IMAGE2D<int>) a21E3#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix21DD,iy21E0);
          real4 v121CC#1 = LoadVoxels<IMAGE2D<int>,4>(a21E3);
          int t121D7#1 = -1;
          int t221D8#1 = Index<int{2},0>(n21C9);
          int ix21D6#1 = Add<int>(t121D7,t221D8);
          int t121DA#1 = 1;
          int t221DB#1 = Index<int{2},1>(n21C9);
          int iy21D9#1 = Add<int>(t121DA,t221DB);
          addr(IMAGE2D<int>) a21DC#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix21D6,iy21D9);
          real4 v221CD#1 = LoadVoxels<IMAGE2D<int>,4>(a21DC);
          int t121D0#1 = -1;
          int t221D1#1 = Index<int{2},0>(n21C9);
          int ix21CF#1 = Add<int>(t121D0,t221D1);
          int t121D3#1 = 2;
          int t221D4#1 = Index<int{2},1>(n21C9);
          int iy21D2#1 = Add<int>(t121D3,t221D4);
          addr(IMAGE2D<int>) a21D5#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix21CF,iy21D2);
          real4 v321CE#1 = LoadVoxels<IMAGE2D<int>,4>(a21D5);
          real fy21F6#4 = Index<real2,1>(f21C7);
          real r21FE#1 = 0.1e1;
          real t321FB#1 = Add<real>(fy21F6,r21FE);
          real t221FA#1 = fy21F6;
          real r21FD#1 = 0.1e1;
          real t121F9#1 = Sub<real>(fy21F6,r21FD);
          real r21FC#1 = 0.2e1;
          real t021F8#1 = Sub<real>(fy21F6,r21FC);
          real4 a21F7#1 = <real4>[t321FB,t221FA,t121F9,t021F8];
          real4 hy21EC#1 = EvalKernel<4,bspln3,0>(a21F7);
          real fx21ED#4 = Index<real2,0>(f21C7);
          real r21F5#1 = 0.1e1;
          real t321F2#1 = Add<real>(fx21ED,r21F5);
          real t221F1#1 = fx21ED;
          real r21F4#1 = 0.1e1;
          real t121F0#1 = Sub<real>(fx21ED,r21F4);
          real r21F3#1 = 0.2e1;
          real t021EF#1 = Sub<real>(fx21ED,r21F3);
          real4 a21EE#1 = <real4>[t321F2,t221F1,t121F0,t021EF];
          real4 hx21EB#4 = EvalKernel<4,bspln3,0>(a21EE);
          real t02200#1 = Dot<4>(v021CB,hx21EB);
          real t12201#1 = Dot<4>(v121CC,hx21EB);
          real t22202#1 = Dot<4>(v221CD,hx21EB);
          real t32203#1 = Dot<4>(v321CE,hx21EB);
          real4 tv21FF#1 = <real4>[t02200,t12201,t22202,t32203];
          real _t21C5#1 = Dot<4>(hy21EC,tv21FF);
          real _t2242#2 = Sub<real>(_t2148,_t21C5);
          real _t2244#1 = Mul<real>(_t2242,_t2242);
          real score2246#1 = Add<real>(score2131,_t2244);
          goto JOIN2249
        JOIN2249:  preds = [ASSIGN2247,COND2147]
          real score2248#2 = phi(score2246,score2131)
          real _t224A#1 = Dot<2>(r011DF,v15115F);
          real _t224C#1 = Dot<2>(r111E5,v15115F);
          real2 _t224E#1 = <real2>[_t224A,_t224C];
          real2 pos2250#2 = Add<real2>(_t224E,_t11F5);
          real2 x2253#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2250);
          bool _t2252#1 = Inside<IMAGE2D<float>,2>(x2253,_t1133);
          if _t2252 then goto ASSIGN2259 else goto ASSIGN382F
        ASSIGN2259:  preds = [COND2256]
          real2 x2258#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v15115F);
          bool _t2257#1 = Inside<IMAGE2D<int>,2>(x2258,_t112F);
          goto JOIN225D
        JOIN225D:  preds = [ASSIGN225A,ASSIGN382F]
          bool _t225B#1 = phi(_t2257,_t225C)
          if _t225B then goto ASSIGN229E else goto JOIN2360
        ASSIGN229E:  preds = [COND225E]
          real2 x2260#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2250);
          real2 nd2262#2 = Floor<2>(x2260);
          real2 f2261#2 = Sub<real2>(x2260,nd2262);
          int{2} n2263#8 = RealToInt<2>(nd2262);
          int t1227F#1 = -1;
          int t22280#1 = Index<int{2},0>(n2263);
          int ix227E#1 = Add<int>(t1227F,t22280);
          int t12282#1 = -1;
          int t22283#1 = Index<int{2},1>(n2263);
          int iy2281#1 = Add<int>(t12282,t22283);
          addr(IMAGE2D<float>) a2284#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix227E,iy2281);
          real4 v02265#1 = LoadVoxels<IMAGE2D<float>,4>(a2284);
          int t12278#1 = -1;
          int t22279#1 = Index<int{2},0>(n2263);
          int ix2277#1 = Add<int>(t12278,t22279);
          int t1227B#1 = 0;
          int t2227C#1 = Index<int{2},1>(n2263);
          int iy227A#1 = Add<int>(t1227B,t2227C);
          addr(IMAGE2D<float>) a227D#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2277,iy227A);
          real4 v12266#1 = LoadVoxels<IMAGE2D<float>,4>(a227D);
          int t12271#1 = -1;
          int t22272#1 = Index<int{2},0>(n2263);
          int ix2270#1 = Add<int>(t12271,t22272);
          int t12274#1 = 1;
          int t22275#1 = Index<int{2},1>(n2263);
          int iy2273#1 = Add<int>(t12274,t22275);
          addr(IMAGE2D<float>) a2276#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2270,iy2273);
          real4 v22267#1 = LoadVoxels<IMAGE2D<float>,4>(a2276);
          int t1226A#1 = -1;
          int t2226B#1 = Index<int{2},0>(n2263);
          int ix2269#1 = Add<int>(t1226A,t2226B);
          int t1226D#1 = 2;
          int t2226E#1 = Index<int{2},1>(n2263);
          int iy226C#1 = Add<int>(t1226D,t2226E);
          addr(IMAGE2D<float>) a226F#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2269,iy226C);
          real4 v32268#1 = LoadVoxels<IMAGE2D<float>,4>(a226F);
          real fy2290#4 = Index<real2,1>(f2261);
          real r2298#1 = 0.1e1;
          real t32295#1 = Add<real>(fy2290,r2298);
          real t22294#1 = fy2290;
          real r2297#1 = 0.1e1;
          real t12293#1 = Sub<real>(fy2290,r2297);
          real r2296#1 = 0.2e1;
          real t02292#1 = Sub<real>(fy2290,r2296);
          real4 a2291#1 = <real4>[t32295,t22294,t12293,t02292];
          real4 hy2286#1 = EvalKernel<4,bspln3,0>(a2291);
          real fx2287#4 = Index<real2,0>(f2261);
          real r228F#1 = 0.1e1;
          real t3228C#1 = Add<real>(fx2287,r228F);
          real t2228B#1 = fx2287;
          real r228E#1 = 0.1e1;
          real t1228A#1 = Sub<real>(fx2287,r228E);
          real r228D#1 = 0.2e1;
          real t02289#1 = Sub<real>(fx2287,r228D);
          real4 a2288#1 = <real4>[t3228C,t2228B,t1228A,t02289];
          real4 hx2285#4 = EvalKernel<4,bspln3,0>(a2288);
          real t0229A#1 = Dot<4>(v02265,hx2285);
          real t1229B#1 = Dot<4>(v12266,hx2285);
          real t2229C#1 = Dot<4>(v22267,hx2285);
          real t3229D#1 = Dot<4>(v32268,hx2285);
          real4 tv2299#1 = <real4>[t0229A,t1229B,t2229C,t3229D];
          real _t225F#1 = Dot<4>(hy2286,tv2299);
          real2 x22DD#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v15115F);
          real2 nd22DF#2 = Floor<2>(x22DD);
          real2 f22DE#2 = Sub<real2>(x22DD,nd22DF);
          int{2} n22E0#8 = RealToInt<2>(nd22DF);
          int t122FC#1 = -1;
          int t222FD#1 = Index<int{2},0>(n22E0);
          int ix22FB#1 = Add<int>(t122FC,t222FD);
          int t122FF#1 = -1;
          int t22300#1 = Index<int{2},1>(n22E0);
          int iy22FE#1 = Add<int>(t122FF,t22300);
          addr(IMAGE2D<int>) a2301#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix22FB,iy22FE);
          real4 v022E2#1 = LoadVoxels<IMAGE2D<int>,4>(a2301);
          int t122F5#1 = -1;
          int t222F6#1 = Index<int{2},0>(n22E0);
          int ix22F4#1 = Add<int>(t122F5,t222F6);
          int t122F8#1 = 0;
          int t222F9#1 = Index<int{2},1>(n22E0);
          int iy22F7#1 = Add<int>(t122F8,t222F9);
          addr(IMAGE2D<int>) a22FA#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix22F4,iy22F7);
          real4 v122E3#1 = LoadVoxels<IMAGE2D<int>,4>(a22FA);
          int t122EE#1 = -1;
          int t222EF#1 = Index<int{2},0>(n22E0);
          int ix22ED#1 = Add<int>(t122EE,t222EF);
          int t122F1#1 = 1;
          int t222F2#1 = Index<int{2},1>(n22E0);
          int iy22F0#1 = Add<int>(t122F1,t222F2);
          addr(IMAGE2D<int>) a22F3#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix22ED,iy22F0);
          real4 v222E4#1 = LoadVoxels<IMAGE2D<int>,4>(a22F3);
          int t122E7#1 = -1;
          int t222E8#1 = Index<int{2},0>(n22E0);
          int ix22E6#1 = Add<int>(t122E7,t222E8);
          int t122EA#1 = 2;
          int t222EB#1 = Index<int{2},1>(n22E0);
          int iy22E9#1 = Add<int>(t122EA,t222EB);
          addr(IMAGE2D<int>) a22EC#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix22E6,iy22E9);
          real4 v322E5#1 = LoadVoxels<IMAGE2D<int>,4>(a22EC);
          real fy230D#4 = Index<real2,1>(f22DE);
          real r2315#1 = 0.1e1;
          real t32312#1 = Add<real>(fy230D,r2315);
          real t22311#1 = fy230D;
          real r2314#1 = 0.1e1;
          real t12310#1 = Sub<real>(fy230D,r2314);
          real r2313#1 = 0.2e1;
          real t0230F#1 = Sub<real>(fy230D,r2313);
          real4 a230E#1 = <real4>[t32312,t22311,t12310,t0230F];
          real4 hy2303#1 = EvalKernel<4,bspln3,0>(a230E);
          real fx2304#4 = Index<real2,0>(f22DE);
          real r230C#1 = 0.1e1;
          real t32309#1 = Add<real>(fx2304,r230C);
          real t22308#1 = fx2304;
          real r230B#1 = 0.1e1;
          real t12307#1 = Sub<real>(fx2304,r230B);
          real r230A#1 = 0.2e1;
          real t02306#1 = Sub<real>(fx2304,r230A);
          real4 a2305#1 = <real4>[t32309,t22308,t12307,t02306];
          real4 hx2302#4 = EvalKernel<4,bspln3,0>(a2305);
          real t02317#1 = Dot<4>(v022E2,hx2302);
          real t12318#1 = Dot<4>(v122E3,hx2302);
          real t22319#1 = Dot<4>(v222E4,hx2302);
          real t3231A#1 = Dot<4>(v322E5,hx2302);
          real4 tv2316#1 = <real4>[t02317,t12318,t22319,t3231A];
          real _t22DC#1 = Dot<4>(hy2303,tv2316);
          real _t2359#2 = Sub<real>(_t225F,_t22DC);
          real _t235B#1 = Mul<real>(_t2359,_t2359);
          real score235D#1 = Add<real>(score2248,_t235B);
          goto JOIN2360
        JOIN2360:  preds = [ASSIGN235E,COND225E]
          real score235F#2 = phi(score235D,score2248)
          real _t2361#1 = Dot<2>(r011DF,v161161);
          real _t2363#1 = Dot<2>(r111E5,v161161);
          real2 _t2365#1 = <real2>[_t2361,_t2363];
          real2 pos2367#2 = Add<real2>(_t2365,_t11F5);
          real2 x236A#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2367);
          bool _t2369#1 = Inside<IMAGE2D<float>,2>(x236A,_t1133);
          if _t2369 then goto ASSIGN2370 else goto ASSIGN382E
        ASSIGN2370:  preds = [COND236D]
          real2 x236F#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v161161);
          bool _t236E#1 = Inside<IMAGE2D<int>,2>(x236F,_t112F);
          goto JOIN2374
        JOIN2374:  preds = [ASSIGN2371,ASSIGN382E]
          bool _t2372#1 = phi(_t236E,_t2373)
          if _t2372 then goto ASSIGN23B5 else goto JOIN2477
        ASSIGN23B5:  preds = [COND2375]
          real2 x2377#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2367);
          real2 nd2379#2 = Floor<2>(x2377);
          real2 f2378#2 = Sub<real2>(x2377,nd2379);
          int{2} n237A#8 = RealToInt<2>(nd2379);
          int t12396#1 = -1;
          int t22397#1 = Index<int{2},0>(n237A);
          int ix2395#1 = Add<int>(t12396,t22397);
          int t12399#1 = -1;
          int t2239A#1 = Index<int{2},1>(n237A);
          int iy2398#1 = Add<int>(t12399,t2239A);
          addr(IMAGE2D<float>) a239B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2395,iy2398);
          real4 v0237C#1 = LoadVoxels<IMAGE2D<float>,4>(a239B);
          int t1238F#1 = -1;
          int t22390#1 = Index<int{2},0>(n237A);
          int ix238E#1 = Add<int>(t1238F,t22390);
          int t12392#1 = 0;
          int t22393#1 = Index<int{2},1>(n237A);
          int iy2391#1 = Add<int>(t12392,t22393);
          addr(IMAGE2D<float>) a2394#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix238E,iy2391);
          real4 v1237D#1 = LoadVoxels<IMAGE2D<float>,4>(a2394);
          int t12388#1 = -1;
          int t22389#1 = Index<int{2},0>(n237A);
          int ix2387#1 = Add<int>(t12388,t22389);
          int t1238B#1 = 1;
          int t2238C#1 = Index<int{2},1>(n237A);
          int iy238A#1 = Add<int>(t1238B,t2238C);
          addr(IMAGE2D<float>) a238D#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2387,iy238A);
          real4 v2237E#1 = LoadVoxels<IMAGE2D<float>,4>(a238D);
          int t12381#1 = -1;
          int t22382#1 = Index<int{2},0>(n237A);
          int ix2380#1 = Add<int>(t12381,t22382);
          int t12384#1 = 2;
          int t22385#1 = Index<int{2},1>(n237A);
          int iy2383#1 = Add<int>(t12384,t22385);
          addr(IMAGE2D<float>) a2386#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2380,iy2383);
          real4 v3237F#1 = LoadVoxels<IMAGE2D<float>,4>(a2386);
          real fy23A7#4 = Index<real2,1>(f2378);
          real r23AF#1 = 0.1e1;
          real t323AC#1 = Add<real>(fy23A7,r23AF);
          real t223AB#1 = fy23A7;
          real r23AE#1 = 0.1e1;
          real t123AA#1 = Sub<real>(fy23A7,r23AE);
          real r23AD#1 = 0.2e1;
          real t023A9#1 = Sub<real>(fy23A7,r23AD);
          real4 a23A8#1 = <real4>[t323AC,t223AB,t123AA,t023A9];
          real4 hy239D#1 = EvalKernel<4,bspln3,0>(a23A8);
          real fx239E#4 = Index<real2,0>(f2378);
          real r23A6#1 = 0.1e1;
          real t323A3#1 = Add<real>(fx239E,r23A6);
          real t223A2#1 = fx239E;
          real r23A5#1 = 0.1e1;
          real t123A1#1 = Sub<real>(fx239E,r23A5);
          real r23A4#1 = 0.2e1;
          real t023A0#1 = Sub<real>(fx239E,r23A4);
          real4 a239F#1 = <real4>[t323A3,t223A2,t123A1,t023A0];
          real4 hx239C#4 = EvalKernel<4,bspln3,0>(a239F);
          real t023B1#1 = Dot<4>(v0237C,hx239C);
          real t123B2#1 = Dot<4>(v1237D,hx239C);
          real t223B3#1 = Dot<4>(v2237E,hx239C);
          real t323B4#1 = Dot<4>(v3237F,hx239C);
          real4 tv23B0#1 = <real4>[t023B1,t123B2,t223B3,t323B4];
          real _t2376#1 = Dot<4>(hy239D,tv23B0);
          real2 x23F4#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v161161);
          real2 nd23F6#2 = Floor<2>(x23F4);
          real2 f23F5#2 = Sub<real2>(x23F4,nd23F6);
          int{2} n23F7#8 = RealToInt<2>(nd23F6);
          int t12413#1 = -1;
          int t22414#1 = Index<int{2},0>(n23F7);
          int ix2412#1 = Add<int>(t12413,t22414);
          int t12416#1 = -1;
          int t22417#1 = Index<int{2},1>(n23F7);
          int iy2415#1 = Add<int>(t12416,t22417);
          addr(IMAGE2D<int>) a2418#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2412,iy2415);
          real4 v023F9#1 = LoadVoxels<IMAGE2D<int>,4>(a2418);
          int t1240C#1 = -1;
          int t2240D#1 = Index<int{2},0>(n23F7);
          int ix240B#1 = Add<int>(t1240C,t2240D);
          int t1240F#1 = 0;
          int t22410#1 = Index<int{2},1>(n23F7);
          int iy240E#1 = Add<int>(t1240F,t22410);
          addr(IMAGE2D<int>) a2411#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix240B,iy240E);
          real4 v123FA#1 = LoadVoxels<IMAGE2D<int>,4>(a2411);
          int t12405#1 = -1;
          int t22406#1 = Index<int{2},0>(n23F7);
          int ix2404#1 = Add<int>(t12405,t22406);
          int t12408#1 = 1;
          int t22409#1 = Index<int{2},1>(n23F7);
          int iy2407#1 = Add<int>(t12408,t22409);
          addr(IMAGE2D<int>) a240A#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2404,iy2407);
          real4 v223FB#1 = LoadVoxels<IMAGE2D<int>,4>(a240A);
          int t123FE#1 = -1;
          int t223FF#1 = Index<int{2},0>(n23F7);
          int ix23FD#1 = Add<int>(t123FE,t223FF);
          int t12401#1 = 2;
          int t22402#1 = Index<int{2},1>(n23F7);
          int iy2400#1 = Add<int>(t12401,t22402);
          addr(IMAGE2D<int>) a2403#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix23FD,iy2400);
          real4 v323FC#1 = LoadVoxels<IMAGE2D<int>,4>(a2403);
          real fy2424#4 = Index<real2,1>(f23F5);
          real r242C#1 = 0.1e1;
          real t32429#1 = Add<real>(fy2424,r242C);
          real t22428#1 = fy2424;
          real r242B#1 = 0.1e1;
          real t12427#1 = Sub<real>(fy2424,r242B);
          real r242A#1 = 0.2e1;
          real t02426#1 = Sub<real>(fy2424,r242A);
          real4 a2425#1 = <real4>[t32429,t22428,t12427,t02426];
          real4 hy241A#1 = EvalKernel<4,bspln3,0>(a2425);
          real fx241B#4 = Index<real2,0>(f23F5);
          real r2423#1 = 0.1e1;
          real t32420#1 = Add<real>(fx241B,r2423);
          real t2241F#1 = fx241B;
          real r2422#1 = 0.1e1;
          real t1241E#1 = Sub<real>(fx241B,r2422);
          real r2421#1 = 0.2e1;
          real t0241D#1 = Sub<real>(fx241B,r2421);
          real4 a241C#1 = <real4>[t32420,t2241F,t1241E,t0241D];
          real4 hx2419#4 = EvalKernel<4,bspln3,0>(a241C);
          real t0242E#1 = Dot<4>(v023F9,hx2419);
          real t1242F#1 = Dot<4>(v123FA,hx2419);
          real t22430#1 = Dot<4>(v223FB,hx2419);
          real t32431#1 = Dot<4>(v323FC,hx2419);
          real4 tv242D#1 = <real4>[t0242E,t1242F,t22430,t32431];
          real _t23F3#1 = Dot<4>(hy241A,tv242D);
          real _t2470#2 = Sub<real>(_t2376,_t23F3);
          real _t2472#1 = Mul<real>(_t2470,_t2470);
          real score2474#1 = Add<real>(score235F,_t2472);
          goto JOIN2477
        JOIN2477:  preds = [ASSIGN2475,COND2375]
          real score2476#2 = phi(score2474,score235F)
          real _t2478#1 = Dot<2>(r011DF,v171163);
          real _t247A#1 = Dot<2>(r111E5,v171163);
          real2 _t247C#1 = <real2>[_t2478,_t247A];
          real2 pos247E#2 = Add<real2>(_t247C,_t11F5);
          real2 x2481#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos247E);
          bool _t2480#1 = Inside<IMAGE2D<float>,2>(x2481,_t1133);
          if _t2480 then goto ASSIGN2487 else goto ASSIGN382D
        ASSIGN2487:  preds = [COND2484]
          real2 x2486#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v171163);
          bool _t2485#1 = Inside<IMAGE2D<int>,2>(x2486,_t112F);
          goto JOIN248B
        JOIN248B:  preds = [ASSIGN2488,ASSIGN382D]
          bool _t2489#1 = phi(_t2485,_t248A)
          if _t2489 then goto ASSIGN24CC else goto JOIN258E
        ASSIGN24CC:  preds = [COND248C]
          real2 x248E#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos247E);
          real2 nd2490#2 = Floor<2>(x248E);
          real2 f248F#2 = Sub<real2>(x248E,nd2490);
          int{2} n2491#8 = RealToInt<2>(nd2490);
          int t124AD#1 = -1;
          int t224AE#1 = Index<int{2},0>(n2491);
          int ix24AC#1 = Add<int>(t124AD,t224AE);
          int t124B0#1 = -1;
          int t224B1#1 = Index<int{2},1>(n2491);
          int iy24AF#1 = Add<int>(t124B0,t224B1);
          addr(IMAGE2D<float>) a24B2#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix24AC,iy24AF);
          real4 v02493#1 = LoadVoxels<IMAGE2D<float>,4>(a24B2);
          int t124A6#1 = -1;
          int t224A7#1 = Index<int{2},0>(n2491);
          int ix24A5#1 = Add<int>(t124A6,t224A7);
          int t124A9#1 = 0;
          int t224AA#1 = Index<int{2},1>(n2491);
          int iy24A8#1 = Add<int>(t124A9,t224AA);
          addr(IMAGE2D<float>) a24AB#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix24A5,iy24A8);
          real4 v12494#1 = LoadVoxels<IMAGE2D<float>,4>(a24AB);
          int t1249F#1 = -1;
          int t224A0#1 = Index<int{2},0>(n2491);
          int ix249E#1 = Add<int>(t1249F,t224A0);
          int t124A2#1 = 1;
          int t224A3#1 = Index<int{2},1>(n2491);
          int iy24A1#1 = Add<int>(t124A2,t224A3);
          addr(IMAGE2D<float>) a24A4#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix249E,iy24A1);
          real4 v22495#1 = LoadVoxels<IMAGE2D<float>,4>(a24A4);
          int t12498#1 = -1;
          int t22499#1 = Index<int{2},0>(n2491);
          int ix2497#1 = Add<int>(t12498,t22499);
          int t1249B#1 = 2;
          int t2249C#1 = Index<int{2},1>(n2491);
          int iy249A#1 = Add<int>(t1249B,t2249C);
          addr(IMAGE2D<float>) a249D#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2497,iy249A);
          real4 v32496#1 = LoadVoxels<IMAGE2D<float>,4>(a249D);
          real fy24BE#4 = Index<real2,1>(f248F);
          real r24C6#1 = 0.1e1;
          real t324C3#1 = Add<real>(fy24BE,r24C6);
          real t224C2#1 = fy24BE;
          real r24C5#1 = 0.1e1;
          real t124C1#1 = Sub<real>(fy24BE,r24C5);
          real r24C4#1 = 0.2e1;
          real t024C0#1 = Sub<real>(fy24BE,r24C4);
          real4 a24BF#1 = <real4>[t324C3,t224C2,t124C1,t024C0];
          real4 hy24B4#1 = EvalKernel<4,bspln3,0>(a24BF);
          real fx24B5#4 = Index<real2,0>(f248F);
          real r24BD#1 = 0.1e1;
          real t324BA#1 = Add<real>(fx24B5,r24BD);
          real t224B9#1 = fx24B5;
          real r24BC#1 = 0.1e1;
          real t124B8#1 = Sub<real>(fx24B5,r24BC);
          real r24BB#1 = 0.2e1;
          real t024B7#1 = Sub<real>(fx24B5,r24BB);
          real4 a24B6#1 = <real4>[t324BA,t224B9,t124B8,t024B7];
          real4 hx24B3#4 = EvalKernel<4,bspln3,0>(a24B6);
          real t024C8#1 = Dot<4>(v02493,hx24B3);
          real t124C9#1 = Dot<4>(v12494,hx24B3);
          real t224CA#1 = Dot<4>(v22495,hx24B3);
          real t324CB#1 = Dot<4>(v32496,hx24B3);
          real4 tv24C7#1 = <real4>[t024C8,t124C9,t224CA,t324CB];
          real _t248D#1 = Dot<4>(hy24B4,tv24C7);
          real2 x250B#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v171163);
          real2 nd250D#2 = Floor<2>(x250B);
          real2 f250C#2 = Sub<real2>(x250B,nd250D);
          int{2} n250E#8 = RealToInt<2>(nd250D);
          int t1252A#1 = -1;
          int t2252B#1 = Index<int{2},0>(n250E);
          int ix2529#1 = Add<int>(t1252A,t2252B);
          int t1252D#1 = -1;
          int t2252E#1 = Index<int{2},1>(n250E);
          int iy252C#1 = Add<int>(t1252D,t2252E);
          addr(IMAGE2D<int>) a252F#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2529,iy252C);
          real4 v02510#1 = LoadVoxels<IMAGE2D<int>,4>(a252F);
          int t12523#1 = -1;
          int t22524#1 = Index<int{2},0>(n250E);
          int ix2522#1 = Add<int>(t12523,t22524);
          int t12526#1 = 0;
          int t22527#1 = Index<int{2},1>(n250E);
          int iy2525#1 = Add<int>(t12526,t22527);
          addr(IMAGE2D<int>) a2528#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2522,iy2525);
          real4 v12511#1 = LoadVoxels<IMAGE2D<int>,4>(a2528);
          int t1251C#1 = -1;
          int t2251D#1 = Index<int{2},0>(n250E);
          int ix251B#1 = Add<int>(t1251C,t2251D);
          int t1251F#1 = 1;
          int t22520#1 = Index<int{2},1>(n250E);
          int iy251E#1 = Add<int>(t1251F,t22520);
          addr(IMAGE2D<int>) a2521#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix251B,iy251E);
          real4 v22512#1 = LoadVoxels<IMAGE2D<int>,4>(a2521);
          int t12515#1 = -1;
          int t22516#1 = Index<int{2},0>(n250E);
          int ix2514#1 = Add<int>(t12515,t22516);
          int t12518#1 = 2;
          int t22519#1 = Index<int{2},1>(n250E);
          int iy2517#1 = Add<int>(t12518,t22519);
          addr(IMAGE2D<int>) a251A#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2514,iy2517);
          real4 v32513#1 = LoadVoxels<IMAGE2D<int>,4>(a251A);
          real fy253B#4 = Index<real2,1>(f250C);
          real r2543#1 = 0.1e1;
          real t32540#1 = Add<real>(fy253B,r2543);
          real t2253F#1 = fy253B;
          real r2542#1 = 0.1e1;
          real t1253E#1 = Sub<real>(fy253B,r2542);
          real r2541#1 = 0.2e1;
          real t0253D#1 = Sub<real>(fy253B,r2541);
          real4 a253C#1 = <real4>[t32540,t2253F,t1253E,t0253D];
          real4 hy2531#1 = EvalKernel<4,bspln3,0>(a253C);
          real fx2532#4 = Index<real2,0>(f250C);
          real r253A#1 = 0.1e1;
          real t32537#1 = Add<real>(fx2532,r253A);
          real t22536#1 = fx2532;
          real r2539#1 = 0.1e1;
          real t12535#1 = Sub<real>(fx2532,r2539);
          real r2538#1 = 0.2e1;
          real t02534#1 = Sub<real>(fx2532,r2538);
          real4 a2533#1 = <real4>[t32537,t22536,t12535,t02534];
          real4 hx2530#4 = EvalKernel<4,bspln3,0>(a2533);
          real t02545#1 = Dot<4>(v02510,hx2530);
          real t12546#1 = Dot<4>(v12511,hx2530);
          real t22547#1 = Dot<4>(v22512,hx2530);
          real t32548#1 = Dot<4>(v32513,hx2530);
          real4 tv2544#1 = <real4>[t02545,t12546,t22547,t32548];
          real _t250A#1 = Dot<4>(hy2531,tv2544);
          real _t2587#2 = Sub<real>(_t248D,_t250A);
          real _t2589#1 = Mul<real>(_t2587,_t2587);
          real score258B#1 = Add<real>(score2476,_t2589);
          goto JOIN258E
        JOIN258E:  preds = [ASSIGN258C,COND248C]
          real score258D#2 = phi(score258B,score2476)
          real _t258F#1 = Dot<2>(r011DF,v181165);
          real _t2591#1 = Dot<2>(r111E5,v181165);
          real2 _t2593#1 = <real2>[_t258F,_t2591];
          real2 pos2595#2 = Add<real2>(_t2593,_t11F5);
          real2 x2598#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2595);
          bool _t2597#1 = Inside<IMAGE2D<float>,2>(x2598,_t1133);
          if _t2597 then goto ASSIGN259E else goto ASSIGN382C
        ASSIGN259E:  preds = [COND259B]
          real2 x259D#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v181165);
          bool _t259C#1 = Inside<IMAGE2D<int>,2>(x259D,_t112F);
          goto JOIN25A2
        JOIN25A2:  preds = [ASSIGN259F,ASSIGN382C]
          bool _t25A0#1 = phi(_t259C,_t25A1)
          if _t25A0 then goto ASSIGN25E3 else goto JOIN26A5
        ASSIGN25E3:  preds = [COND25A3]
          real2 x25A5#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2595);
          real2 nd25A7#2 = Floor<2>(x25A5);
          real2 f25A6#2 = Sub<real2>(x25A5,nd25A7);
          int{2} n25A8#8 = RealToInt<2>(nd25A7);
          int t125C4#1 = -1;
          int t225C5#1 = Index<int{2},0>(n25A8);
          int ix25C3#1 = Add<int>(t125C4,t225C5);
          int t125C7#1 = -1;
          int t225C8#1 = Index<int{2},1>(n25A8);
          int iy25C6#1 = Add<int>(t125C7,t225C8);
          addr(IMAGE2D<float>) a25C9#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix25C3,iy25C6);
          real4 v025AA#1 = LoadVoxels<IMAGE2D<float>,4>(a25C9);
          int t125BD#1 = -1;
          int t225BE#1 = Index<int{2},0>(n25A8);
          int ix25BC#1 = Add<int>(t125BD,t225BE);
          int t125C0#1 = 0;
          int t225C1#1 = Index<int{2},1>(n25A8);
          int iy25BF#1 = Add<int>(t125C0,t225C1);
          addr(IMAGE2D<float>) a25C2#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix25BC,iy25BF);
          real4 v125AB#1 = LoadVoxels<IMAGE2D<float>,4>(a25C2);
          int t125B6#1 = -1;
          int t225B7#1 = Index<int{2},0>(n25A8);
          int ix25B5#1 = Add<int>(t125B6,t225B7);
          int t125B9#1 = 1;
          int t225BA#1 = Index<int{2},1>(n25A8);
          int iy25B8#1 = Add<int>(t125B9,t225BA);
          addr(IMAGE2D<float>) a25BB#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix25B5,iy25B8);
          real4 v225AC#1 = LoadVoxels<IMAGE2D<float>,4>(a25BB);
          int t125AF#1 = -1;
          int t225B0#1 = Index<int{2},0>(n25A8);
          int ix25AE#1 = Add<int>(t125AF,t225B0);
          int t125B2#1 = 2;
          int t225B3#1 = Index<int{2},1>(n25A8);
          int iy25B1#1 = Add<int>(t125B2,t225B3);
          addr(IMAGE2D<float>) a25B4#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix25AE,iy25B1);
          real4 v325AD#1 = LoadVoxels<IMAGE2D<float>,4>(a25B4);
          real fy25D5#4 = Index<real2,1>(f25A6);
          real r25DD#1 = 0.1e1;
          real t325DA#1 = Add<real>(fy25D5,r25DD);
          real t225D9#1 = fy25D5;
          real r25DC#1 = 0.1e1;
          real t125D8#1 = Sub<real>(fy25D5,r25DC);
          real r25DB#1 = 0.2e1;
          real t025D7#1 = Sub<real>(fy25D5,r25DB);
          real4 a25D6#1 = <real4>[t325DA,t225D9,t125D8,t025D7];
          real4 hy25CB#1 = EvalKernel<4,bspln3,0>(a25D6);
          real fx25CC#4 = Index<real2,0>(f25A6);
          real r25D4#1 = 0.1e1;
          real t325D1#1 = Add<real>(fx25CC,r25D4);
          real t225D0#1 = fx25CC;
          real r25D3#1 = 0.1e1;
          real t125CF#1 = Sub<real>(fx25CC,r25D3);
          real r25D2#1 = 0.2e1;
          real t025CE#1 = Sub<real>(fx25CC,r25D2);
          real4 a25CD#1 = <real4>[t325D1,t225D0,t125CF,t025CE];
          real4 hx25CA#4 = EvalKernel<4,bspln3,0>(a25CD);
          real t025DF#1 = Dot<4>(v025AA,hx25CA);
          real t125E0#1 = Dot<4>(v125AB,hx25CA);
          real t225E1#1 = Dot<4>(v225AC,hx25CA);
          real t325E2#1 = Dot<4>(v325AD,hx25CA);
          real4 tv25DE#1 = <real4>[t025DF,t125E0,t225E1,t325E2];
          real _t25A4#1 = Dot<4>(hy25CB,tv25DE);
          real2 x2622#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v181165);
          real2 nd2624#2 = Floor<2>(x2622);
          real2 f2623#2 = Sub<real2>(x2622,nd2624);
          int{2} n2625#8 = RealToInt<2>(nd2624);
          int t12641#1 = -1;
          int t22642#1 = Index<int{2},0>(n2625);
          int ix2640#1 = Add<int>(t12641,t22642);
          int t12644#1 = -1;
          int t22645#1 = Index<int{2},1>(n2625);
          int iy2643#1 = Add<int>(t12644,t22645);
          addr(IMAGE2D<int>) a2646#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2640,iy2643);
          real4 v02627#1 = LoadVoxels<IMAGE2D<int>,4>(a2646);
          int t1263A#1 = -1;
          int t2263B#1 = Index<int{2},0>(n2625);
          int ix2639#1 = Add<int>(t1263A,t2263B);
          int t1263D#1 = 0;
          int t2263E#1 = Index<int{2},1>(n2625);
          int iy263C#1 = Add<int>(t1263D,t2263E);
          addr(IMAGE2D<int>) a263F#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2639,iy263C);
          real4 v12628#1 = LoadVoxels<IMAGE2D<int>,4>(a263F);
          int t12633#1 = -1;
          int t22634#1 = Index<int{2},0>(n2625);
          int ix2632#1 = Add<int>(t12633,t22634);
          int t12636#1 = 1;
          int t22637#1 = Index<int{2},1>(n2625);
          int iy2635#1 = Add<int>(t12636,t22637);
          addr(IMAGE2D<int>) a2638#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2632,iy2635);
          real4 v22629#1 = LoadVoxels<IMAGE2D<int>,4>(a2638);
          int t1262C#1 = -1;
          int t2262D#1 = Index<int{2},0>(n2625);
          int ix262B#1 = Add<int>(t1262C,t2262D);
          int t1262F#1 = 2;
          int t22630#1 = Index<int{2},1>(n2625);
          int iy262E#1 = Add<int>(t1262F,t22630);
          addr(IMAGE2D<int>) a2631#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix262B,iy262E);
          real4 v3262A#1 = LoadVoxels<IMAGE2D<int>,4>(a2631);
          real fy2652#4 = Index<real2,1>(f2623);
          real r265A#1 = 0.1e1;
          real t32657#1 = Add<real>(fy2652,r265A);
          real t22656#1 = fy2652;
          real r2659#1 = 0.1e1;
          real t12655#1 = Sub<real>(fy2652,r2659);
          real r2658#1 = 0.2e1;
          real t02654#1 = Sub<real>(fy2652,r2658);
          real4 a2653#1 = <real4>[t32657,t22656,t12655,t02654];
          real4 hy2648#1 = EvalKernel<4,bspln3,0>(a2653);
          real fx2649#4 = Index<real2,0>(f2623);
          real r2651#1 = 0.1e1;
          real t3264E#1 = Add<real>(fx2649,r2651);
          real t2264D#1 = fx2649;
          real r2650#1 = 0.1e1;
          real t1264C#1 = Sub<real>(fx2649,r2650);
          real r264F#1 = 0.2e1;
          real t0264B#1 = Sub<real>(fx2649,r264F);
          real4 a264A#1 = <real4>[t3264E,t2264D,t1264C,t0264B];
          real4 hx2647#4 = EvalKernel<4,bspln3,0>(a264A);
          real t0265C#1 = Dot<4>(v02627,hx2647);
          real t1265D#1 = Dot<4>(v12628,hx2647);
          real t2265E#1 = Dot<4>(v22629,hx2647);
          real t3265F#1 = Dot<4>(v3262A,hx2647);
          real4 tv265B#1 = <real4>[t0265C,t1265D,t2265E,t3265F];
          real _t2621#1 = Dot<4>(hy2648,tv265B);
          real _t269E#2 = Sub<real>(_t25A4,_t2621);
          real _t26A0#1 = Mul<real>(_t269E,_t269E);
          real score26A2#1 = Add<real>(score258D,_t26A0);
          goto JOIN26A5
        JOIN26A5:  preds = [ASSIGN26A3,COND25A3]
          real score26A4#2 = phi(score26A2,score258D)
          real _t26A6#1 = Dot<2>(r011DF,v191167);
          real _t26A8#1 = Dot<2>(r111E5,v191167);
          real2 _t26AA#1 = <real2>[_t26A6,_t26A8];
          real2 pos26AC#2 = Add<real2>(_t26AA,_t11F5);
          real2 x26AF#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos26AC);
          bool _t26AE#1 = Inside<IMAGE2D<float>,2>(x26AF,_t1133);
          if _t26AE then goto ASSIGN26B5 else goto ASSIGN382B
        ASSIGN26B5:  preds = [COND26B2]
          real2 x26B4#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v191167);
          bool _t26B3#1 = Inside<IMAGE2D<int>,2>(x26B4,_t112F);
          goto JOIN26B9
        JOIN26B9:  preds = [ASSIGN26B6,ASSIGN382B]
          bool _t26B7#1 = phi(_t26B3,_t26B8)
          if _t26B7 then goto ASSIGN26FA else goto JOIN27BC
        ASSIGN26FA:  preds = [COND26BA]
          real2 x26BC#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos26AC);
          real2 nd26BE#2 = Floor<2>(x26BC);
          real2 f26BD#2 = Sub<real2>(x26BC,nd26BE);
          int{2} n26BF#8 = RealToInt<2>(nd26BE);
          int t126DB#1 = -1;
          int t226DC#1 = Index<int{2},0>(n26BF);
          int ix26DA#1 = Add<int>(t126DB,t226DC);
          int t126DE#1 = -1;
          int t226DF#1 = Index<int{2},1>(n26BF);
          int iy26DD#1 = Add<int>(t126DE,t226DF);
          addr(IMAGE2D<float>) a26E0#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix26DA,iy26DD);
          real4 v026C1#1 = LoadVoxels<IMAGE2D<float>,4>(a26E0);
          int t126D4#1 = -1;
          int t226D5#1 = Index<int{2},0>(n26BF);
          int ix26D3#1 = Add<int>(t126D4,t226D5);
          int t126D7#1 = 0;
          int t226D8#1 = Index<int{2},1>(n26BF);
          int iy26D6#1 = Add<int>(t126D7,t226D8);
          addr(IMAGE2D<float>) a26D9#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix26D3,iy26D6);
          real4 v126C2#1 = LoadVoxels<IMAGE2D<float>,4>(a26D9);
          int t126CD#1 = -1;
          int t226CE#1 = Index<int{2},0>(n26BF);
          int ix26CC#1 = Add<int>(t126CD,t226CE);
          int t126D0#1 = 1;
          int t226D1#1 = Index<int{2},1>(n26BF);
          int iy26CF#1 = Add<int>(t126D0,t226D1);
          addr(IMAGE2D<float>) a26D2#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix26CC,iy26CF);
          real4 v226C3#1 = LoadVoxels<IMAGE2D<float>,4>(a26D2);
          int t126C6#1 = -1;
          int t226C7#1 = Index<int{2},0>(n26BF);
          int ix26C5#1 = Add<int>(t126C6,t226C7);
          int t126C9#1 = 2;
          int t226CA#1 = Index<int{2},1>(n26BF);
          int iy26C8#1 = Add<int>(t126C9,t226CA);
          addr(IMAGE2D<float>) a26CB#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix26C5,iy26C8);
          real4 v326C4#1 = LoadVoxels<IMAGE2D<float>,4>(a26CB);
          real fy26EC#4 = Index<real2,1>(f26BD);
          real r26F4#1 = 0.1e1;
          real t326F1#1 = Add<real>(fy26EC,r26F4);
          real t226F0#1 = fy26EC;
          real r26F3#1 = 0.1e1;
          real t126EF#1 = Sub<real>(fy26EC,r26F3);
          real r26F2#1 = 0.2e1;
          real t026EE#1 = Sub<real>(fy26EC,r26F2);
          real4 a26ED#1 = <real4>[t326F1,t226F0,t126EF,t026EE];
          real4 hy26E2#1 = EvalKernel<4,bspln3,0>(a26ED);
          real fx26E3#4 = Index<real2,0>(f26BD);
          real r26EB#1 = 0.1e1;
          real t326E8#1 = Add<real>(fx26E3,r26EB);
          real t226E7#1 = fx26E3;
          real r26EA#1 = 0.1e1;
          real t126E6#1 = Sub<real>(fx26E3,r26EA);
          real r26E9#1 = 0.2e1;
          real t026E5#1 = Sub<real>(fx26E3,r26E9);
          real4 a26E4#1 = <real4>[t326E8,t226E7,t126E6,t026E5];
          real4 hx26E1#4 = EvalKernel<4,bspln3,0>(a26E4);
          real t026F6#1 = Dot<4>(v026C1,hx26E1);
          real t126F7#1 = Dot<4>(v126C2,hx26E1);
          real t226F8#1 = Dot<4>(v226C3,hx26E1);
          real t326F9#1 = Dot<4>(v326C4,hx26E1);
          real4 tv26F5#1 = <real4>[t026F6,t126F7,t226F8,t326F9];
          real _t26BB#1 = Dot<4>(hy26E2,tv26F5);
          real2 x2739#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v191167);
          real2 nd273B#2 = Floor<2>(x2739);
          real2 f273A#2 = Sub<real2>(x2739,nd273B);
          int{2} n273C#8 = RealToInt<2>(nd273B);
          int t12758#1 = -1;
          int t22759#1 = Index<int{2},0>(n273C);
          int ix2757#1 = Add<int>(t12758,t22759);
          int t1275B#1 = -1;
          int t2275C#1 = Index<int{2},1>(n273C);
          int iy275A#1 = Add<int>(t1275B,t2275C);
          addr(IMAGE2D<int>) a275D#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2757,iy275A);
          real4 v0273E#1 = LoadVoxels<IMAGE2D<int>,4>(a275D);
          int t12751#1 = -1;
          int t22752#1 = Index<int{2},0>(n273C);
          int ix2750#1 = Add<int>(t12751,t22752);
          int t12754#1 = 0;
          int t22755#1 = Index<int{2},1>(n273C);
          int iy2753#1 = Add<int>(t12754,t22755);
          addr(IMAGE2D<int>) a2756#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2750,iy2753);
          real4 v1273F#1 = LoadVoxels<IMAGE2D<int>,4>(a2756);
          int t1274A#1 = -1;
          int t2274B#1 = Index<int{2},0>(n273C);
          int ix2749#1 = Add<int>(t1274A,t2274B);
          int t1274D#1 = 1;
          int t2274E#1 = Index<int{2},1>(n273C);
          int iy274C#1 = Add<int>(t1274D,t2274E);
          addr(IMAGE2D<int>) a274F#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2749,iy274C);
          real4 v22740#1 = LoadVoxels<IMAGE2D<int>,4>(a274F);
          int t12743#1 = -1;
          int t22744#1 = Index<int{2},0>(n273C);
          int ix2742#1 = Add<int>(t12743,t22744);
          int t12746#1 = 2;
          int t22747#1 = Index<int{2},1>(n273C);
          int iy2745#1 = Add<int>(t12746,t22747);
          addr(IMAGE2D<int>) a2748#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2742,iy2745);
          real4 v32741#1 = LoadVoxels<IMAGE2D<int>,4>(a2748);
          real fy2769#4 = Index<real2,1>(f273A);
          real r2771#1 = 0.1e1;
          real t3276E#1 = Add<real>(fy2769,r2771);
          real t2276D#1 = fy2769;
          real r2770#1 = 0.1e1;
          real t1276C#1 = Sub<real>(fy2769,r2770);
          real r276F#1 = 0.2e1;
          real t0276B#1 = Sub<real>(fy2769,r276F);
          real4 a276A#1 = <real4>[t3276E,t2276D,t1276C,t0276B];
          real4 hy275F#1 = EvalKernel<4,bspln3,0>(a276A);
          real fx2760#4 = Index<real2,0>(f273A);
          real r2768#1 = 0.1e1;
          real t32765#1 = Add<real>(fx2760,r2768);
          real t22764#1 = fx2760;
          real r2767#1 = 0.1e1;
          real t12763#1 = Sub<real>(fx2760,r2767);
          real r2766#1 = 0.2e1;
          real t02762#1 = Sub<real>(fx2760,r2766);
          real4 a2761#1 = <real4>[t32765,t22764,t12763,t02762];
          real4 hx275E#4 = EvalKernel<4,bspln3,0>(a2761);
          real t02773#1 = Dot<4>(v0273E,hx275E);
          real t12774#1 = Dot<4>(v1273F,hx275E);
          real t22775#1 = Dot<4>(v22740,hx275E);
          real t32776#1 = Dot<4>(v32741,hx275E);
          real4 tv2772#1 = <real4>[t02773,t12774,t22775,t32776];
          real _t2738#1 = Dot<4>(hy275F,tv2772);
          real _t27B5#2 = Sub<real>(_t26BB,_t2738);
          real _t27B7#1 = Mul<real>(_t27B5,_t27B5);
          real score27B9#1 = Add<real>(score26A4,_t27B7);
          goto JOIN27BC
        JOIN27BC:  preds = [ASSIGN27BA,COND26BA]
          real score27BB#2 = phi(score27B9,score26A4)
          real _t27BD#1 = Dot<2>(r011DF,v201169);
          real _t27BF#1 = Dot<2>(r111E5,v201169);
          real2 _t27C1#1 = <real2>[_t27BD,_t27BF];
          real2 pos27C3#2 = Add<real2>(_t27C1,_t11F5);
          real2 x27C6#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos27C3);
          bool _t27C5#1 = Inside<IMAGE2D<float>,2>(x27C6,_t1133);
          if _t27C5 then goto ASSIGN27CC else goto ASSIGN382A
        ASSIGN27CC:  preds = [COND27C9]
          real2 x27CB#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v201169);
          bool _t27CA#1 = Inside<IMAGE2D<int>,2>(x27CB,_t112F);
          goto JOIN27D0
        JOIN27D0:  preds = [ASSIGN27CD,ASSIGN382A]
          bool _t27CE#1 = phi(_t27CA,_t27CF)
          if _t27CE then goto ASSIGN2811 else goto JOIN28D3
        ASSIGN2811:  preds = [COND27D1]
          real2 x27D3#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos27C3);
          real2 nd27D5#2 = Floor<2>(x27D3);
          real2 f27D4#2 = Sub<real2>(x27D3,nd27D5);
          int{2} n27D6#8 = RealToInt<2>(nd27D5);
          int t127F2#1 = -1;
          int t227F3#1 = Index<int{2},0>(n27D6);
          int ix27F1#1 = Add<int>(t127F2,t227F3);
          int t127F5#1 = -1;
          int t227F6#1 = Index<int{2},1>(n27D6);
          int iy27F4#1 = Add<int>(t127F5,t227F6);
          addr(IMAGE2D<float>) a27F7#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix27F1,iy27F4);
          real4 v027D8#1 = LoadVoxels<IMAGE2D<float>,4>(a27F7);
          int t127EB#1 = -1;
          int t227EC#1 = Index<int{2},0>(n27D6);
          int ix27EA#1 = Add<int>(t127EB,t227EC);
          int t127EE#1 = 0;
          int t227EF#1 = Index<int{2},1>(n27D6);
          int iy27ED#1 = Add<int>(t127EE,t227EF);
          addr(IMAGE2D<float>) a27F0#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix27EA,iy27ED);
          real4 v127D9#1 = LoadVoxels<IMAGE2D<float>,4>(a27F0);
          int t127E4#1 = -1;
          int t227E5#1 = Index<int{2},0>(n27D6);
          int ix27E3#1 = Add<int>(t127E4,t227E5);
          int t127E7#1 = 1;
          int t227E8#1 = Index<int{2},1>(n27D6);
          int iy27E6#1 = Add<int>(t127E7,t227E8);
          addr(IMAGE2D<float>) a27E9#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix27E3,iy27E6);
          real4 v227DA#1 = LoadVoxels<IMAGE2D<float>,4>(a27E9);
          int t127DD#1 = -1;
          int t227DE#1 = Index<int{2},0>(n27D6);
          int ix27DC#1 = Add<int>(t127DD,t227DE);
          int t127E0#1 = 2;
          int t227E1#1 = Index<int{2},1>(n27D6);
          int iy27DF#1 = Add<int>(t127E0,t227E1);
          addr(IMAGE2D<float>) a27E2#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix27DC,iy27DF);
          real4 v327DB#1 = LoadVoxels<IMAGE2D<float>,4>(a27E2);
          real fy2803#4 = Index<real2,1>(f27D4);
          real r280B#1 = 0.1e1;
          real t32808#1 = Add<real>(fy2803,r280B);
          real t22807#1 = fy2803;
          real r280A#1 = 0.1e1;
          real t12806#1 = Sub<real>(fy2803,r280A);
          real r2809#1 = 0.2e1;
          real t02805#1 = Sub<real>(fy2803,r2809);
          real4 a2804#1 = <real4>[t32808,t22807,t12806,t02805];
          real4 hy27F9#1 = EvalKernel<4,bspln3,0>(a2804);
          real fx27FA#4 = Index<real2,0>(f27D4);
          real r2802#1 = 0.1e1;
          real t327FF#1 = Add<real>(fx27FA,r2802);
          real t227FE#1 = fx27FA;
          real r2801#1 = 0.1e1;
          real t127FD#1 = Sub<real>(fx27FA,r2801);
          real r2800#1 = 0.2e1;
          real t027FC#1 = Sub<real>(fx27FA,r2800);
          real4 a27FB#1 = <real4>[t327FF,t227FE,t127FD,t027FC];
          real4 hx27F8#4 = EvalKernel<4,bspln3,0>(a27FB);
          real t0280D#1 = Dot<4>(v027D8,hx27F8);
          real t1280E#1 = Dot<4>(v127D9,hx27F8);
          real t2280F#1 = Dot<4>(v227DA,hx27F8);
          real t32810#1 = Dot<4>(v327DB,hx27F8);
          real4 tv280C#1 = <real4>[t0280D,t1280E,t2280F,t32810];
          real _t27D2#1 = Dot<4>(hy27F9,tv280C);
          real2 x2850#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v201169);
          real2 nd2852#2 = Floor<2>(x2850);
          real2 f2851#2 = Sub<real2>(x2850,nd2852);
          int{2} n2853#8 = RealToInt<2>(nd2852);
          int t1286F#1 = -1;
          int t22870#1 = Index<int{2},0>(n2853);
          int ix286E#1 = Add<int>(t1286F,t22870);
          int t12872#1 = -1;
          int t22873#1 = Index<int{2},1>(n2853);
          int iy2871#1 = Add<int>(t12872,t22873);
          addr(IMAGE2D<int>) a2874#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix286E,iy2871);
          real4 v02855#1 = LoadVoxels<IMAGE2D<int>,4>(a2874);
          int t12868#1 = -1;
          int t22869#1 = Index<int{2},0>(n2853);
          int ix2867#1 = Add<int>(t12868,t22869);
          int t1286B#1 = 0;
          int t2286C#1 = Index<int{2},1>(n2853);
          int iy286A#1 = Add<int>(t1286B,t2286C);
          addr(IMAGE2D<int>) a286D#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2867,iy286A);
          real4 v12856#1 = LoadVoxels<IMAGE2D<int>,4>(a286D);
          int t12861#1 = -1;
          int t22862#1 = Index<int{2},0>(n2853);
          int ix2860#1 = Add<int>(t12861,t22862);
          int t12864#1 = 1;
          int t22865#1 = Index<int{2},1>(n2853);
          int iy2863#1 = Add<int>(t12864,t22865);
          addr(IMAGE2D<int>) a2866#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2860,iy2863);
          real4 v22857#1 = LoadVoxels<IMAGE2D<int>,4>(a2866);
          int t1285A#1 = -1;
          int t2285B#1 = Index<int{2},0>(n2853);
          int ix2859#1 = Add<int>(t1285A,t2285B);
          int t1285D#1 = 2;
          int t2285E#1 = Index<int{2},1>(n2853);
          int iy285C#1 = Add<int>(t1285D,t2285E);
          addr(IMAGE2D<int>) a285F#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2859,iy285C);
          real4 v32858#1 = LoadVoxels<IMAGE2D<int>,4>(a285F);
          real fy2880#4 = Index<real2,1>(f2851);
          real r2888#1 = 0.1e1;
          real t32885#1 = Add<real>(fy2880,r2888);
          real t22884#1 = fy2880;
          real r2887#1 = 0.1e1;
          real t12883#1 = Sub<real>(fy2880,r2887);
          real r2886#1 = 0.2e1;
          real t02882#1 = Sub<real>(fy2880,r2886);
          real4 a2881#1 = <real4>[t32885,t22884,t12883,t02882];
          real4 hy2876#1 = EvalKernel<4,bspln3,0>(a2881);
          real fx2877#4 = Index<real2,0>(f2851);
          real r287F#1 = 0.1e1;
          real t3287C#1 = Add<real>(fx2877,r287F);
          real t2287B#1 = fx2877;
          real r287E#1 = 0.1e1;
          real t1287A#1 = Sub<real>(fx2877,r287E);
          real r287D#1 = 0.2e1;
          real t02879#1 = Sub<real>(fx2877,r287D);
          real4 a2878#1 = <real4>[t3287C,t2287B,t1287A,t02879];
          real4 hx2875#4 = EvalKernel<4,bspln3,0>(a2878);
          real t0288A#1 = Dot<4>(v02855,hx2875);
          real t1288B#1 = Dot<4>(v12856,hx2875);
          real t2288C#1 = Dot<4>(v22857,hx2875);
          real t3288D#1 = Dot<4>(v32858,hx2875);
          real4 tv2889#1 = <real4>[t0288A,t1288B,t2288C,t3288D];
          real _t284F#1 = Dot<4>(hy2876,tv2889);
          real _t28CC#2 = Sub<real>(_t27D2,_t284F);
          real _t28CE#1 = Mul<real>(_t28CC,_t28CC);
          real score28D0#1 = Add<real>(score27BB,_t28CE);
          goto JOIN28D3
        JOIN28D3:  preds = [ASSIGN28D1,COND27D1]
          real score28D2#2 = phi(score28D0,score27BB)
          real _t28D4#1 = Dot<2>(r011DF,v21116B);
          real _t28D6#1 = Dot<2>(r111E5,v21116B);
          real2 _t28D8#1 = <real2>[_t28D4,_t28D6];
          real2 pos28DA#2 = Add<real2>(_t28D8,_t11F5);
          real2 x28DD#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos28DA);
          bool _t28DC#1 = Inside<IMAGE2D<float>,2>(x28DD,_t1133);
          if _t28DC then goto ASSIGN28E3 else goto ASSIGN3829
        ASSIGN28E3:  preds = [COND28E0]
          real2 x28E2#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v21116B);
          bool _t28E1#1 = Inside<IMAGE2D<int>,2>(x28E2,_t112F);
          goto JOIN28E7
        JOIN28E7:  preds = [ASSIGN28E4,ASSIGN3829]
          bool _t28E5#1 = phi(_t28E1,_t28E6)
          if _t28E5 then goto ASSIGN2928 else goto JOIN29EA
        ASSIGN2928:  preds = [COND28E8]
          real2 x28EA#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos28DA);
          real2 nd28EC#2 = Floor<2>(x28EA);
          real2 f28EB#2 = Sub<real2>(x28EA,nd28EC);
          int{2} n28ED#8 = RealToInt<2>(nd28EC);
          int t12909#1 = -1;
          int t2290A#1 = Index<int{2},0>(n28ED);
          int ix2908#1 = Add<int>(t12909,t2290A);
          int t1290C#1 = -1;
          int t2290D#1 = Index<int{2},1>(n28ED);
          int iy290B#1 = Add<int>(t1290C,t2290D);
          addr(IMAGE2D<float>) a290E#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2908,iy290B);
          real4 v028EF#1 = LoadVoxels<IMAGE2D<float>,4>(a290E);
          int t12902#1 = -1;
          int t22903#1 = Index<int{2},0>(n28ED);
          int ix2901#1 = Add<int>(t12902,t22903);
          int t12905#1 = 0;
          int t22906#1 = Index<int{2},1>(n28ED);
          int iy2904#1 = Add<int>(t12905,t22906);
          addr(IMAGE2D<float>) a2907#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2901,iy2904);
          real4 v128F0#1 = LoadVoxels<IMAGE2D<float>,4>(a2907);
          int t128FB#1 = -1;
          int t228FC#1 = Index<int{2},0>(n28ED);
          int ix28FA#1 = Add<int>(t128FB,t228FC);
          int t128FE#1 = 1;
          int t228FF#1 = Index<int{2},1>(n28ED);
          int iy28FD#1 = Add<int>(t128FE,t228FF);
          addr(IMAGE2D<float>) a2900#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix28FA,iy28FD);
          real4 v228F1#1 = LoadVoxels<IMAGE2D<float>,4>(a2900);
          int t128F4#1 = -1;
          int t228F5#1 = Index<int{2},0>(n28ED);
          int ix28F3#1 = Add<int>(t128F4,t228F5);
          int t128F7#1 = 2;
          int t228F8#1 = Index<int{2},1>(n28ED);
          int iy28F6#1 = Add<int>(t128F7,t228F8);
          addr(IMAGE2D<float>) a28F9#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix28F3,iy28F6);
          real4 v328F2#1 = LoadVoxels<IMAGE2D<float>,4>(a28F9);
          real fy291A#4 = Index<real2,1>(f28EB);
          real r2922#1 = 0.1e1;
          real t3291F#1 = Add<real>(fy291A,r2922);
          real t2291E#1 = fy291A;
          real r2921#1 = 0.1e1;
          real t1291D#1 = Sub<real>(fy291A,r2921);
          real r2920#1 = 0.2e1;
          real t0291C#1 = Sub<real>(fy291A,r2920);
          real4 a291B#1 = <real4>[t3291F,t2291E,t1291D,t0291C];
          real4 hy2910#1 = EvalKernel<4,bspln3,0>(a291B);
          real fx2911#4 = Index<real2,0>(f28EB);
          real r2919#1 = 0.1e1;
          real t32916#1 = Add<real>(fx2911,r2919);
          real t22915#1 = fx2911;
          real r2918#1 = 0.1e1;
          real t12914#1 = Sub<real>(fx2911,r2918);
          real r2917#1 = 0.2e1;
          real t02913#1 = Sub<real>(fx2911,r2917);
          real4 a2912#1 = <real4>[t32916,t22915,t12914,t02913];
          real4 hx290F#4 = EvalKernel<4,bspln3,0>(a2912);
          real t02924#1 = Dot<4>(v028EF,hx290F);
          real t12925#1 = Dot<4>(v128F0,hx290F);
          real t22926#1 = Dot<4>(v228F1,hx290F);
          real t32927#1 = Dot<4>(v328F2,hx290F);
          real4 tv2923#1 = <real4>[t02924,t12925,t22926,t32927];
          real _t28E9#1 = Dot<4>(hy2910,tv2923);
          real2 x2967#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v21116B);
          real2 nd2969#2 = Floor<2>(x2967);
          real2 f2968#2 = Sub<real2>(x2967,nd2969);
          int{2} n296A#8 = RealToInt<2>(nd2969);
          int t12986#1 = -1;
          int t22987#1 = Index<int{2},0>(n296A);
          int ix2985#1 = Add<int>(t12986,t22987);
          int t12989#1 = -1;
          int t2298A#1 = Index<int{2},1>(n296A);
          int iy2988#1 = Add<int>(t12989,t2298A);
          addr(IMAGE2D<int>) a298B#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2985,iy2988);
          real4 v0296C#1 = LoadVoxels<IMAGE2D<int>,4>(a298B);
          int t1297F#1 = -1;
          int t22980#1 = Index<int{2},0>(n296A);
          int ix297E#1 = Add<int>(t1297F,t22980);
          int t12982#1 = 0;
          int t22983#1 = Index<int{2},1>(n296A);
          int iy2981#1 = Add<int>(t12982,t22983);
          addr(IMAGE2D<int>) a2984#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix297E,iy2981);
          real4 v1296D#1 = LoadVoxels<IMAGE2D<int>,4>(a2984);
          int t12978#1 = -1;
          int t22979#1 = Index<int{2},0>(n296A);
          int ix2977#1 = Add<int>(t12978,t22979);
          int t1297B#1 = 1;
          int t2297C#1 = Index<int{2},1>(n296A);
          int iy297A#1 = Add<int>(t1297B,t2297C);
          addr(IMAGE2D<int>) a297D#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2977,iy297A);
          real4 v2296E#1 = LoadVoxels<IMAGE2D<int>,4>(a297D);
          int t12971#1 = -1;
          int t22972#1 = Index<int{2},0>(n296A);
          int ix2970#1 = Add<int>(t12971,t22972);
          int t12974#1 = 2;
          int t22975#1 = Index<int{2},1>(n296A);
          int iy2973#1 = Add<int>(t12974,t22975);
          addr(IMAGE2D<int>) a2976#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2970,iy2973);
          real4 v3296F#1 = LoadVoxels<IMAGE2D<int>,4>(a2976);
          real fy2997#4 = Index<real2,1>(f2968);
          real r299F#1 = 0.1e1;
          real t3299C#1 = Add<real>(fy2997,r299F);
          real t2299B#1 = fy2997;
          real r299E#1 = 0.1e1;
          real t1299A#1 = Sub<real>(fy2997,r299E);
          real r299D#1 = 0.2e1;
          real t02999#1 = Sub<real>(fy2997,r299D);
          real4 a2998#1 = <real4>[t3299C,t2299B,t1299A,t02999];
          real4 hy298D#1 = EvalKernel<4,bspln3,0>(a2998);
          real fx298E#4 = Index<real2,0>(f2968);
          real r2996#1 = 0.1e1;
          real t32993#1 = Add<real>(fx298E,r2996);
          real t22992#1 = fx298E;
          real r2995#1 = 0.1e1;
          real t12991#1 = Sub<real>(fx298E,r2995);
          real r2994#1 = 0.2e1;
          real t02990#1 = Sub<real>(fx298E,r2994);
          real4 a298F#1 = <real4>[t32993,t22992,t12991,t02990];
          real4 hx298C#4 = EvalKernel<4,bspln3,0>(a298F);
          real t029A1#1 = Dot<4>(v0296C,hx298C);
          real t129A2#1 = Dot<4>(v1296D,hx298C);
          real t229A3#1 = Dot<4>(v2296E,hx298C);
          real t329A4#1 = Dot<4>(v3296F,hx298C);
          real4 tv29A0#1 = <real4>[t029A1,t129A2,t229A3,t329A4];
          real _t2966#1 = Dot<4>(hy298D,tv29A0);
          real _t29E3#2 = Sub<real>(_t28E9,_t2966);
          real _t29E5#1 = Mul<real>(_t29E3,_t29E3);
          real score29E7#1 = Add<real>(score28D2,_t29E5);
          goto JOIN29EA
        JOIN29EA:  preds = [ASSIGN29E8,COND28E8]
          real score29E9#2 = phi(score29E7,score28D2)
          real _t29EB#1 = Dot<2>(r011DF,v22116D);
          real _t29ED#1 = Dot<2>(r111E5,v22116D);
          real2 _t29EF#1 = <real2>[_t29EB,_t29ED];
          real2 pos29F1#2 = Add<real2>(_t29EF,_t11F5);
          real2 x29F4#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos29F1);
          bool _t29F3#1 = Inside<IMAGE2D<float>,2>(x29F4,_t1133);
          if _t29F3 then goto ASSIGN29FA else goto ASSIGN3828
        ASSIGN29FA:  preds = [COND29F7]
          real2 x29F9#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v22116D);
          bool _t29F8#1 = Inside<IMAGE2D<int>,2>(x29F9,_t112F);
          goto JOIN29FE
        JOIN29FE:  preds = [ASSIGN29FB,ASSIGN3828]
          bool _t29FC#1 = phi(_t29F8,_t29FD)
          if _t29FC then goto ASSIGN2A3F else goto JOIN2B01
        ASSIGN2A3F:  preds = [COND29FF]
          real2 x2A01#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos29F1);
          real2 nd2A03#2 = Floor<2>(x2A01);
          real2 f2A02#2 = Sub<real2>(x2A01,nd2A03);
          int{2} n2A04#8 = RealToInt<2>(nd2A03);
          int t12A20#1 = -1;
          int t22A21#1 = Index<int{2},0>(n2A04);
          int ix2A1F#1 = Add<int>(t12A20,t22A21);
          int t12A23#1 = -1;
          int t22A24#1 = Index<int{2},1>(n2A04);
          int iy2A22#1 = Add<int>(t12A23,t22A24);
          addr(IMAGE2D<float>) a2A25#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2A1F,iy2A22);
          real4 v02A06#1 = LoadVoxels<IMAGE2D<float>,4>(a2A25);
          int t12A19#1 = -1;
          int t22A1A#1 = Index<int{2},0>(n2A04);
          int ix2A18#1 = Add<int>(t12A19,t22A1A);
          int t12A1C#1 = 0;
          int t22A1D#1 = Index<int{2},1>(n2A04);
          int iy2A1B#1 = Add<int>(t12A1C,t22A1D);
          addr(IMAGE2D<float>) a2A1E#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2A18,iy2A1B);
          real4 v12A07#1 = LoadVoxels<IMAGE2D<float>,4>(a2A1E);
          int t12A12#1 = -1;
          int t22A13#1 = Index<int{2},0>(n2A04);
          int ix2A11#1 = Add<int>(t12A12,t22A13);
          int t12A15#1 = 1;
          int t22A16#1 = Index<int{2},1>(n2A04);
          int iy2A14#1 = Add<int>(t12A15,t22A16);
          addr(IMAGE2D<float>) a2A17#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2A11,iy2A14);
          real4 v22A08#1 = LoadVoxels<IMAGE2D<float>,4>(a2A17);
          int t12A0B#1 = -1;
          int t22A0C#1 = Index<int{2},0>(n2A04);
          int ix2A0A#1 = Add<int>(t12A0B,t22A0C);
          int t12A0E#1 = 2;
          int t22A0F#1 = Index<int{2},1>(n2A04);
          int iy2A0D#1 = Add<int>(t12A0E,t22A0F);
          addr(IMAGE2D<float>) a2A10#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2A0A,iy2A0D);
          real4 v32A09#1 = LoadVoxels<IMAGE2D<float>,4>(a2A10);
          real fy2A31#4 = Index<real2,1>(f2A02);
          real r2A39#1 = 0.1e1;
          real t32A36#1 = Add<real>(fy2A31,r2A39);
          real t22A35#1 = fy2A31;
          real r2A38#1 = 0.1e1;
          real t12A34#1 = Sub<real>(fy2A31,r2A38);
          real r2A37#1 = 0.2e1;
          real t02A33#1 = Sub<real>(fy2A31,r2A37);
          real4 a2A32#1 = <real4>[t32A36,t22A35,t12A34,t02A33];
          real4 hy2A27#1 = EvalKernel<4,bspln3,0>(a2A32);
          real fx2A28#4 = Index<real2,0>(f2A02);
          real r2A30#1 = 0.1e1;
          real t32A2D#1 = Add<real>(fx2A28,r2A30);
          real t22A2C#1 = fx2A28;
          real r2A2F#1 = 0.1e1;
          real t12A2B#1 = Sub<real>(fx2A28,r2A2F);
          real r2A2E#1 = 0.2e1;
          real t02A2A#1 = Sub<real>(fx2A28,r2A2E);
          real4 a2A29#1 = <real4>[t32A2D,t22A2C,t12A2B,t02A2A];
          real4 hx2A26#4 = EvalKernel<4,bspln3,0>(a2A29);
          real t02A3B#1 = Dot<4>(v02A06,hx2A26);
          real t12A3C#1 = Dot<4>(v12A07,hx2A26);
          real t22A3D#1 = Dot<4>(v22A08,hx2A26);
          real t32A3E#1 = Dot<4>(v32A09,hx2A26);
          real4 tv2A3A#1 = <real4>[t02A3B,t12A3C,t22A3D,t32A3E];
          real _t2A00#1 = Dot<4>(hy2A27,tv2A3A);
          real2 x2A7E#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v22116D);
          real2 nd2A80#2 = Floor<2>(x2A7E);
          real2 f2A7F#2 = Sub<real2>(x2A7E,nd2A80);
          int{2} n2A81#8 = RealToInt<2>(nd2A80);
          int t12A9D#1 = -1;
          int t22A9E#1 = Index<int{2},0>(n2A81);
          int ix2A9C#1 = Add<int>(t12A9D,t22A9E);
          int t12AA0#1 = -1;
          int t22AA1#1 = Index<int{2},1>(n2A81);
          int iy2A9F#1 = Add<int>(t12AA0,t22AA1);
          addr(IMAGE2D<int>) a2AA2#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2A9C,iy2A9F);
          real4 v02A83#1 = LoadVoxels<IMAGE2D<int>,4>(a2AA2);
          int t12A96#1 = -1;
          int t22A97#1 = Index<int{2},0>(n2A81);
          int ix2A95#1 = Add<int>(t12A96,t22A97);
          int t12A99#1 = 0;
          int t22A9A#1 = Index<int{2},1>(n2A81);
          int iy2A98#1 = Add<int>(t12A99,t22A9A);
          addr(IMAGE2D<int>) a2A9B#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2A95,iy2A98);
          real4 v12A84#1 = LoadVoxels<IMAGE2D<int>,4>(a2A9B);
          int t12A8F#1 = -1;
          int t22A90#1 = Index<int{2},0>(n2A81);
          int ix2A8E#1 = Add<int>(t12A8F,t22A90);
          int t12A92#1 = 1;
          int t22A93#1 = Index<int{2},1>(n2A81);
          int iy2A91#1 = Add<int>(t12A92,t22A93);
          addr(IMAGE2D<int>) a2A94#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2A8E,iy2A91);
          real4 v22A85#1 = LoadVoxels<IMAGE2D<int>,4>(a2A94);
          int t12A88#1 = -1;
          int t22A89#1 = Index<int{2},0>(n2A81);
          int ix2A87#1 = Add<int>(t12A88,t22A89);
          int t12A8B#1 = 2;
          int t22A8C#1 = Index<int{2},1>(n2A81);
          int iy2A8A#1 = Add<int>(t12A8B,t22A8C);
          addr(IMAGE2D<int>) a2A8D#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2A87,iy2A8A);
          real4 v32A86#1 = LoadVoxels<IMAGE2D<int>,4>(a2A8D);
          real fy2AAE#4 = Index<real2,1>(f2A7F);
          real r2AB6#1 = 0.1e1;
          real t32AB3#1 = Add<real>(fy2AAE,r2AB6);
          real t22AB2#1 = fy2AAE;
          real r2AB5#1 = 0.1e1;
          real t12AB1#1 = Sub<real>(fy2AAE,r2AB5);
          real r2AB4#1 = 0.2e1;
          real t02AB0#1 = Sub<real>(fy2AAE,r2AB4);
          real4 a2AAF#1 = <real4>[t32AB3,t22AB2,t12AB1,t02AB0];
          real4 hy2AA4#1 = EvalKernel<4,bspln3,0>(a2AAF);
          real fx2AA5#4 = Index<real2,0>(f2A7F);
          real r2AAD#1 = 0.1e1;
          real t32AAA#1 = Add<real>(fx2AA5,r2AAD);
          real t22AA9#1 = fx2AA5;
          real r2AAC#1 = 0.1e1;
          real t12AA8#1 = Sub<real>(fx2AA5,r2AAC);
          real r2AAB#1 = 0.2e1;
          real t02AA7#1 = Sub<real>(fx2AA5,r2AAB);
          real4 a2AA6#1 = <real4>[t32AAA,t22AA9,t12AA8,t02AA7];
          real4 hx2AA3#4 = EvalKernel<4,bspln3,0>(a2AA6);
          real t02AB8#1 = Dot<4>(v02A83,hx2AA3);
          real t12AB9#1 = Dot<4>(v12A84,hx2AA3);
          real t22ABA#1 = Dot<4>(v22A85,hx2AA3);
          real t32ABB#1 = Dot<4>(v32A86,hx2AA3);
          real4 tv2AB7#1 = <real4>[t02AB8,t12AB9,t22ABA,t32ABB];
          real _t2A7D#1 = Dot<4>(hy2AA4,tv2AB7);
          real _t2AFA#2 = Sub<real>(_t2A00,_t2A7D);
          real _t2AFC#1 = Mul<real>(_t2AFA,_t2AFA);
          real score2AFE#1 = Add<real>(score29E9,_t2AFC);
          goto JOIN2B01
        JOIN2B01:  preds = [ASSIGN2AFF,COND29FF]
          real score2B00#2 = phi(score2AFE,score29E9)
          real _t2B02#1 = Dot<2>(r011DF,v23116F);
          real _t2B04#1 = Dot<2>(r111E5,v23116F);
          real2 _t2B06#1 = <real2>[_t2B02,_t2B04];
          real2 pos2B08#2 = Add<real2>(_t2B06,_t11F5);
          real2 x2B0B#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2B08);
          bool _t2B0A#1 = Inside<IMAGE2D<float>,2>(x2B0B,_t1133);
          if _t2B0A then goto ASSIGN2B11 else goto ASSIGN3827
        ASSIGN2B11:  preds = [COND2B0E]
          real2 x2B10#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v23116F);
          bool _t2B0F#1 = Inside<IMAGE2D<int>,2>(x2B10,_t112F);
          goto JOIN2B15
        JOIN2B15:  preds = [ASSIGN2B12,ASSIGN3827]
          bool _t2B13#1 = phi(_t2B0F,_t2B14)
          if _t2B13 then goto ASSIGN2B56 else goto JOIN2C18
        ASSIGN2B56:  preds = [COND2B16]
          real2 x2B18#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2B08);
          real2 nd2B1A#2 = Floor<2>(x2B18);
          real2 f2B19#2 = Sub<real2>(x2B18,nd2B1A);
          int{2} n2B1B#8 = RealToInt<2>(nd2B1A);
          int t12B37#1 = -1;
          int t22B38#1 = Index<int{2},0>(n2B1B);
          int ix2B36#1 = Add<int>(t12B37,t22B38);
          int t12B3A#1 = -1;
          int t22B3B#1 = Index<int{2},1>(n2B1B);
          int iy2B39#1 = Add<int>(t12B3A,t22B3B);
          addr(IMAGE2D<float>) a2B3C#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2B36,iy2B39);
          real4 v02B1D#1 = LoadVoxels<IMAGE2D<float>,4>(a2B3C);
          int t12B30#1 = -1;
          int t22B31#1 = Index<int{2},0>(n2B1B);
          int ix2B2F#1 = Add<int>(t12B30,t22B31);
          int t12B33#1 = 0;
          int t22B34#1 = Index<int{2},1>(n2B1B);
          int iy2B32#1 = Add<int>(t12B33,t22B34);
          addr(IMAGE2D<float>) a2B35#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2B2F,iy2B32);
          real4 v12B1E#1 = LoadVoxels<IMAGE2D<float>,4>(a2B35);
          int t12B29#1 = -1;
          int t22B2A#1 = Index<int{2},0>(n2B1B);
          int ix2B28#1 = Add<int>(t12B29,t22B2A);
          int t12B2C#1 = 1;
          int t22B2D#1 = Index<int{2},1>(n2B1B);
          int iy2B2B#1 = Add<int>(t12B2C,t22B2D);
          addr(IMAGE2D<float>) a2B2E#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2B28,iy2B2B);
          real4 v22B1F#1 = LoadVoxels<IMAGE2D<float>,4>(a2B2E);
          int t12B22#1 = -1;
          int t22B23#1 = Index<int{2},0>(n2B1B);
          int ix2B21#1 = Add<int>(t12B22,t22B23);
          int t12B25#1 = 2;
          int t22B26#1 = Index<int{2},1>(n2B1B);
          int iy2B24#1 = Add<int>(t12B25,t22B26);
          addr(IMAGE2D<float>) a2B27#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2B21,iy2B24);
          real4 v32B20#1 = LoadVoxels<IMAGE2D<float>,4>(a2B27);
          real fy2B48#4 = Index<real2,1>(f2B19);
          real r2B50#1 = 0.1e1;
          real t32B4D#1 = Add<real>(fy2B48,r2B50);
          real t22B4C#1 = fy2B48;
          real r2B4F#1 = 0.1e1;
          real t12B4B#1 = Sub<real>(fy2B48,r2B4F);
          real r2B4E#1 = 0.2e1;
          real t02B4A#1 = Sub<real>(fy2B48,r2B4E);
          real4 a2B49#1 = <real4>[t32B4D,t22B4C,t12B4B,t02B4A];
          real4 hy2B3E#1 = EvalKernel<4,bspln3,0>(a2B49);
          real fx2B3F#4 = Index<real2,0>(f2B19);
          real r2B47#1 = 0.1e1;
          real t32B44#1 = Add<real>(fx2B3F,r2B47);
          real t22B43#1 = fx2B3F;
          real r2B46#1 = 0.1e1;
          real t12B42#1 = Sub<real>(fx2B3F,r2B46);
          real r2B45#1 = 0.2e1;
          real t02B41#1 = Sub<real>(fx2B3F,r2B45);
          real4 a2B40#1 = <real4>[t32B44,t22B43,t12B42,t02B41];
          real4 hx2B3D#4 = EvalKernel<4,bspln3,0>(a2B40);
          real t02B52#1 = Dot<4>(v02B1D,hx2B3D);
          real t12B53#1 = Dot<4>(v12B1E,hx2B3D);
          real t22B54#1 = Dot<4>(v22B1F,hx2B3D);
          real t32B55#1 = Dot<4>(v32B20,hx2B3D);
          real4 tv2B51#1 = <real4>[t02B52,t12B53,t22B54,t32B55];
          real _t2B17#1 = Dot<4>(hy2B3E,tv2B51);
          real2 x2B95#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v23116F);
          real2 nd2B97#2 = Floor<2>(x2B95);
          real2 f2B96#2 = Sub<real2>(x2B95,nd2B97);
          int{2} n2B98#8 = RealToInt<2>(nd2B97);
          int t12BB4#1 = -1;
          int t22BB5#1 = Index<int{2},0>(n2B98);
          int ix2BB3#1 = Add<int>(t12BB4,t22BB5);
          int t12BB7#1 = -1;
          int t22BB8#1 = Index<int{2},1>(n2B98);
          int iy2BB6#1 = Add<int>(t12BB7,t22BB8);
          addr(IMAGE2D<int>) a2BB9#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2BB3,iy2BB6);
          real4 v02B9A#1 = LoadVoxels<IMAGE2D<int>,4>(a2BB9);
          int t12BAD#1 = -1;
          int t22BAE#1 = Index<int{2},0>(n2B98);
          int ix2BAC#1 = Add<int>(t12BAD,t22BAE);
          int t12BB0#1 = 0;
          int t22BB1#1 = Index<int{2},1>(n2B98);
          int iy2BAF#1 = Add<int>(t12BB0,t22BB1);
          addr(IMAGE2D<int>) a2BB2#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2BAC,iy2BAF);
          real4 v12B9B#1 = LoadVoxels<IMAGE2D<int>,4>(a2BB2);
          int t12BA6#1 = -1;
          int t22BA7#1 = Index<int{2},0>(n2B98);
          int ix2BA5#1 = Add<int>(t12BA6,t22BA7);
          int t12BA9#1 = 1;
          int t22BAA#1 = Index<int{2},1>(n2B98);
          int iy2BA8#1 = Add<int>(t12BA9,t22BAA);
          addr(IMAGE2D<int>) a2BAB#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2BA5,iy2BA8);
          real4 v22B9C#1 = LoadVoxels<IMAGE2D<int>,4>(a2BAB);
          int t12B9F#1 = -1;
          int t22BA0#1 = Index<int{2},0>(n2B98);
          int ix2B9E#1 = Add<int>(t12B9F,t22BA0);
          int t12BA2#1 = 2;
          int t22BA3#1 = Index<int{2},1>(n2B98);
          int iy2BA1#1 = Add<int>(t12BA2,t22BA3);
          addr(IMAGE2D<int>) a2BA4#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2B9E,iy2BA1);
          real4 v32B9D#1 = LoadVoxels<IMAGE2D<int>,4>(a2BA4);
          real fy2BC5#4 = Index<real2,1>(f2B96);
          real r2BCD#1 = 0.1e1;
          real t32BCA#1 = Add<real>(fy2BC5,r2BCD);
          real t22BC9#1 = fy2BC5;
          real r2BCC#1 = 0.1e1;
          real t12BC8#1 = Sub<real>(fy2BC5,r2BCC);
          real r2BCB#1 = 0.2e1;
          real t02BC7#1 = Sub<real>(fy2BC5,r2BCB);
          real4 a2BC6#1 = <real4>[t32BCA,t22BC9,t12BC8,t02BC7];
          real4 hy2BBB#1 = EvalKernel<4,bspln3,0>(a2BC6);
          real fx2BBC#4 = Index<real2,0>(f2B96);
          real r2BC4#1 = 0.1e1;
          real t32BC1#1 = Add<real>(fx2BBC,r2BC4);
          real t22BC0#1 = fx2BBC;
          real r2BC3#1 = 0.1e1;
          real t12BBF#1 = Sub<real>(fx2BBC,r2BC3);
          real r2BC2#1 = 0.2e1;
          real t02BBE#1 = Sub<real>(fx2BBC,r2BC2);
          real4 a2BBD#1 = <real4>[t32BC1,t22BC0,t12BBF,t02BBE];
          real4 hx2BBA#4 = EvalKernel<4,bspln3,0>(a2BBD);
          real t02BCF#1 = Dot<4>(v02B9A,hx2BBA);
          real t12BD0#1 = Dot<4>(v12B9B,hx2BBA);
          real t22BD1#1 = Dot<4>(v22B9C,hx2BBA);
          real t32BD2#1 = Dot<4>(v32B9D,hx2BBA);
          real4 tv2BCE#1 = <real4>[t02BCF,t12BD0,t22BD1,t32BD2];
          real _t2B94#1 = Dot<4>(hy2BBB,tv2BCE);
          real _t2C11#2 = Sub<real>(_t2B17,_t2B94);
          real _t2C13#1 = Mul<real>(_t2C11,_t2C11);
          real score2C15#1 = Add<real>(score2B00,_t2C13);
          goto JOIN2C18
        JOIN2C18:  preds = [ASSIGN2C16,COND2B16]
          real score2C17#2 = phi(score2C15,score2B00)
          real _t2C19#1 = Dot<2>(r011DF,v241171);
          real _t2C1B#1 = Dot<2>(r111E5,v241171);
          real2 _t2C1D#1 = <real2>[_t2C19,_t2C1B];
          real2 pos2C1F#2 = Add<real2>(_t2C1D,_t11F5);
          real2 x2C22#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2C1F);
          bool _t2C21#1 = Inside<IMAGE2D<float>,2>(x2C22,_t1133);
          if _t2C21 then goto ASSIGN2C28 else goto ASSIGN3826
        ASSIGN2C28:  preds = [COND2C25]
          real2 x2C27#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v241171);
          bool _t2C26#1 = Inside<IMAGE2D<int>,2>(x2C27,_t112F);
          goto JOIN2C2C
        JOIN2C2C:  preds = [ASSIGN2C29,ASSIGN3826]
          bool _t2C2A#1 = phi(_t2C26,_t2C2B)
          if _t2C2A then goto ASSIGN2C6D else goto JOIN2D2F
        ASSIGN2C6D:  preds = [COND2C2D]
          real2 x2C2F#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2C1F);
          real2 nd2C31#2 = Floor<2>(x2C2F);
          real2 f2C30#2 = Sub<real2>(x2C2F,nd2C31);
          int{2} n2C32#8 = RealToInt<2>(nd2C31);
          int t12C4E#1 = -1;
          int t22C4F#1 = Index<int{2},0>(n2C32);
          int ix2C4D#1 = Add<int>(t12C4E,t22C4F);
          int t12C51#1 = -1;
          int t22C52#1 = Index<int{2},1>(n2C32);
          int iy2C50#1 = Add<int>(t12C51,t22C52);
          addr(IMAGE2D<float>) a2C53#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2C4D,iy2C50);
          real4 v02C34#1 = LoadVoxels<IMAGE2D<float>,4>(a2C53);
          int t12C47#1 = -1;
          int t22C48#1 = Index<int{2},0>(n2C32);
          int ix2C46#1 = Add<int>(t12C47,t22C48);
          int t12C4A#1 = 0;
          int t22C4B#1 = Index<int{2},1>(n2C32);
          int iy2C49#1 = Add<int>(t12C4A,t22C4B);
          addr(IMAGE2D<float>) a2C4C#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2C46,iy2C49);
          real4 v12C35#1 = LoadVoxels<IMAGE2D<float>,4>(a2C4C);
          int t12C40#1 = -1;
          int t22C41#1 = Index<int{2},0>(n2C32);
          int ix2C3F#1 = Add<int>(t12C40,t22C41);
          int t12C43#1 = 1;
          int t22C44#1 = Index<int{2},1>(n2C32);
          int iy2C42#1 = Add<int>(t12C43,t22C44);
          addr(IMAGE2D<float>) a2C45#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2C3F,iy2C42);
          real4 v22C36#1 = LoadVoxels<IMAGE2D<float>,4>(a2C45);
          int t12C39#1 = -1;
          int t22C3A#1 = Index<int{2},0>(n2C32);
          int ix2C38#1 = Add<int>(t12C39,t22C3A);
          int t12C3C#1 = 2;
          int t22C3D#1 = Index<int{2},1>(n2C32);
          int iy2C3B#1 = Add<int>(t12C3C,t22C3D);
          addr(IMAGE2D<float>) a2C3E#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2C38,iy2C3B);
          real4 v32C37#1 = LoadVoxels<IMAGE2D<float>,4>(a2C3E);
          real fy2C5F#4 = Index<real2,1>(f2C30);
          real r2C67#1 = 0.1e1;
          real t32C64#1 = Add<real>(fy2C5F,r2C67);
          real t22C63#1 = fy2C5F;
          real r2C66#1 = 0.1e1;
          real t12C62#1 = Sub<real>(fy2C5F,r2C66);
          real r2C65#1 = 0.2e1;
          real t02C61#1 = Sub<real>(fy2C5F,r2C65);
          real4 a2C60#1 = <real4>[t32C64,t22C63,t12C62,t02C61];
          real4 hy2C55#1 = EvalKernel<4,bspln3,0>(a2C60);
          real fx2C56#4 = Index<real2,0>(f2C30);
          real r2C5E#1 = 0.1e1;
          real t32C5B#1 = Add<real>(fx2C56,r2C5E);
          real t22C5A#1 = fx2C56;
          real r2C5D#1 = 0.1e1;
          real t12C59#1 = Sub<real>(fx2C56,r2C5D);
          real r2C5C#1 = 0.2e1;
          real t02C58#1 = Sub<real>(fx2C56,r2C5C);
          real4 a2C57#1 = <real4>[t32C5B,t22C5A,t12C59,t02C58];
          real4 hx2C54#4 = EvalKernel<4,bspln3,0>(a2C57);
          real t02C69#1 = Dot<4>(v02C34,hx2C54);
          real t12C6A#1 = Dot<4>(v12C35,hx2C54);
          real t22C6B#1 = Dot<4>(v22C36,hx2C54);
          real t32C6C#1 = Dot<4>(v32C37,hx2C54);
          real4 tv2C68#1 = <real4>[t02C69,t12C6A,t22C6B,t32C6C];
          real _t2C2E#1 = Dot<4>(hy2C55,tv2C68);
          real2 x2CAC#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v241171);
          real2 nd2CAE#2 = Floor<2>(x2CAC);
          real2 f2CAD#2 = Sub<real2>(x2CAC,nd2CAE);
          int{2} n2CAF#8 = RealToInt<2>(nd2CAE);
          int t12CCB#1 = -1;
          int t22CCC#1 = Index<int{2},0>(n2CAF);
          int ix2CCA#1 = Add<int>(t12CCB,t22CCC);
          int t12CCE#1 = -1;
          int t22CCF#1 = Index<int{2},1>(n2CAF);
          int iy2CCD#1 = Add<int>(t12CCE,t22CCF);
          addr(IMAGE2D<int>) a2CD0#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2CCA,iy2CCD);
          real4 v02CB1#1 = LoadVoxels<IMAGE2D<int>,4>(a2CD0);
          int t12CC4#1 = -1;
          int t22CC5#1 = Index<int{2},0>(n2CAF);
          int ix2CC3#1 = Add<int>(t12CC4,t22CC5);
          int t12CC7#1 = 0;
          int t22CC8#1 = Index<int{2},1>(n2CAF);
          int iy2CC6#1 = Add<int>(t12CC7,t22CC8);
          addr(IMAGE2D<int>) a2CC9#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2CC3,iy2CC6);
          real4 v12CB2#1 = LoadVoxels<IMAGE2D<int>,4>(a2CC9);
          int t12CBD#1 = -1;
          int t22CBE#1 = Index<int{2},0>(n2CAF);
          int ix2CBC#1 = Add<int>(t12CBD,t22CBE);
          int t12CC0#1 = 1;
          int t22CC1#1 = Index<int{2},1>(n2CAF);
          int iy2CBF#1 = Add<int>(t12CC0,t22CC1);
          addr(IMAGE2D<int>) a2CC2#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2CBC,iy2CBF);
          real4 v22CB3#1 = LoadVoxels<IMAGE2D<int>,4>(a2CC2);
          int t12CB6#1 = -1;
          int t22CB7#1 = Index<int{2},0>(n2CAF);
          int ix2CB5#1 = Add<int>(t12CB6,t22CB7);
          int t12CB9#1 = 2;
          int t22CBA#1 = Index<int{2},1>(n2CAF);
          int iy2CB8#1 = Add<int>(t12CB9,t22CBA);
          addr(IMAGE2D<int>) a2CBB#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2CB5,iy2CB8);
          real4 v32CB4#1 = LoadVoxels<IMAGE2D<int>,4>(a2CBB);
          real fy2CDC#4 = Index<real2,1>(f2CAD);
          real r2CE4#1 = 0.1e1;
          real t32CE1#1 = Add<real>(fy2CDC,r2CE4);
          real t22CE0#1 = fy2CDC;
          real r2CE3#1 = 0.1e1;
          real t12CDF#1 = Sub<real>(fy2CDC,r2CE3);
          real r2CE2#1 = 0.2e1;
          real t02CDE#1 = Sub<real>(fy2CDC,r2CE2);
          real4 a2CDD#1 = <real4>[t32CE1,t22CE0,t12CDF,t02CDE];
          real4 hy2CD2#1 = EvalKernel<4,bspln3,0>(a2CDD);
          real fx2CD3#4 = Index<real2,0>(f2CAD);
          real r2CDB#1 = 0.1e1;
          real t32CD8#1 = Add<real>(fx2CD3,r2CDB);
          real t22CD7#1 = fx2CD3;
          real r2CDA#1 = 0.1e1;
          real t12CD6#1 = Sub<real>(fx2CD3,r2CDA);
          real r2CD9#1 = 0.2e1;
          real t02CD5#1 = Sub<real>(fx2CD3,r2CD9);
          real4 a2CD4#1 = <real4>[t32CD8,t22CD7,t12CD6,t02CD5];
          real4 hx2CD1#4 = EvalKernel<4,bspln3,0>(a2CD4);
          real t02CE6#1 = Dot<4>(v02CB1,hx2CD1);
          real t12CE7#1 = Dot<4>(v12CB2,hx2CD1);
          real t22CE8#1 = Dot<4>(v22CB3,hx2CD1);
          real t32CE9#1 = Dot<4>(v32CB4,hx2CD1);
          real4 tv2CE5#1 = <real4>[t02CE6,t12CE7,t22CE8,t32CE9];
          real _t2CAB#1 = Dot<4>(hy2CD2,tv2CE5);
          real _t2D28#2 = Sub<real>(_t2C2E,_t2CAB);
          real _t2D2A#1 = Mul<real>(_t2D28,_t2D28);
          real score2D2C#1 = Add<real>(score2C17,_t2D2A);
          goto JOIN2D2F
        JOIN2D2F:  preds = [ASSIGN2D2D,COND2C2D]
          real score2D2E#2 = phi(score2D2C,score2C17)
          real _t2D30#1 = Dot<2>(r011DF,v251173);
          real _t2D32#1 = Dot<2>(r111E5,v251173);
          real2 _t2D34#1 = <real2>[_t2D30,_t2D32];
          real2 pos2D36#2 = Add<real2>(_t2D34,_t11F5);
          real2 x2D39#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2D36);
          bool _t2D38#1 = Inside<IMAGE2D<float>,2>(x2D39,_t1133);
          if _t2D38 then goto ASSIGN2D3F else goto ASSIGN3825
        ASSIGN2D3F:  preds = [COND2D3C]
          real2 x2D3E#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v251173);
          bool _t2D3D#1 = Inside<IMAGE2D<int>,2>(x2D3E,_t112F);
          goto JOIN2D43
        JOIN2D43:  preds = [ASSIGN2D40,ASSIGN3825]
          bool _t2D41#1 = phi(_t2D3D,_t2D42)
          if _t2D41 then goto ASSIGN2D84 else goto JOIN2E46
        ASSIGN2D84:  preds = [COND2D44]
          real2 x2D46#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2D36);
          real2 nd2D48#2 = Floor<2>(x2D46);
          real2 f2D47#2 = Sub<real2>(x2D46,nd2D48);
          int{2} n2D49#8 = RealToInt<2>(nd2D48);
          int t12D65#1 = -1;
          int t22D66#1 = Index<int{2},0>(n2D49);
          int ix2D64#1 = Add<int>(t12D65,t22D66);
          int t12D68#1 = -1;
          int t22D69#1 = Index<int{2},1>(n2D49);
          int iy2D67#1 = Add<int>(t12D68,t22D69);
          addr(IMAGE2D<float>) a2D6A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2D64,iy2D67);
          real4 v02D4B#1 = LoadVoxels<IMAGE2D<float>,4>(a2D6A);
          int t12D5E#1 = -1;
          int t22D5F#1 = Index<int{2},0>(n2D49);
          int ix2D5D#1 = Add<int>(t12D5E,t22D5F);
          int t12D61#1 = 0;
          int t22D62#1 = Index<int{2},1>(n2D49);
          int iy2D60#1 = Add<int>(t12D61,t22D62);
          addr(IMAGE2D<float>) a2D63#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2D5D,iy2D60);
          real4 v12D4C#1 = LoadVoxels<IMAGE2D<float>,4>(a2D63);
          int t12D57#1 = -1;
          int t22D58#1 = Index<int{2},0>(n2D49);
          int ix2D56#1 = Add<int>(t12D57,t22D58);
          int t12D5A#1 = 1;
          int t22D5B#1 = Index<int{2},1>(n2D49);
          int iy2D59#1 = Add<int>(t12D5A,t22D5B);
          addr(IMAGE2D<float>) a2D5C#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2D56,iy2D59);
          real4 v22D4D#1 = LoadVoxels<IMAGE2D<float>,4>(a2D5C);
          int t12D50#1 = -1;
          int t22D51#1 = Index<int{2},0>(n2D49);
          int ix2D4F#1 = Add<int>(t12D50,t22D51);
          int t12D53#1 = 2;
          int t22D54#1 = Index<int{2},1>(n2D49);
          int iy2D52#1 = Add<int>(t12D53,t22D54);
          addr(IMAGE2D<float>) a2D55#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2D4F,iy2D52);
          real4 v32D4E#1 = LoadVoxels<IMAGE2D<float>,4>(a2D55);
          real fy2D76#4 = Index<real2,1>(f2D47);
          real r2D7E#1 = 0.1e1;
          real t32D7B#1 = Add<real>(fy2D76,r2D7E);
          real t22D7A#1 = fy2D76;
          real r2D7D#1 = 0.1e1;
          real t12D79#1 = Sub<real>(fy2D76,r2D7D);
          real r2D7C#1 = 0.2e1;
          real t02D78#1 = Sub<real>(fy2D76,r2D7C);
          real4 a2D77#1 = <real4>[t32D7B,t22D7A,t12D79,t02D78];
          real4 hy2D6C#1 = EvalKernel<4,bspln3,0>(a2D77);
          real fx2D6D#4 = Index<real2,0>(f2D47);
          real r2D75#1 = 0.1e1;
          real t32D72#1 = Add<real>(fx2D6D,r2D75);
          real t22D71#1 = fx2D6D;
          real r2D74#1 = 0.1e1;
          real t12D70#1 = Sub<real>(fx2D6D,r2D74);
          real r2D73#1 = 0.2e1;
          real t02D6F#1 = Sub<real>(fx2D6D,r2D73);
          real4 a2D6E#1 = <real4>[t32D72,t22D71,t12D70,t02D6F];
          real4 hx2D6B#4 = EvalKernel<4,bspln3,0>(a2D6E);
          real t02D80#1 = Dot<4>(v02D4B,hx2D6B);
          real t12D81#1 = Dot<4>(v12D4C,hx2D6B);
          real t22D82#1 = Dot<4>(v22D4D,hx2D6B);
          real t32D83#1 = Dot<4>(v32D4E,hx2D6B);
          real4 tv2D7F#1 = <real4>[t02D80,t12D81,t22D82,t32D83];
          real _t2D45#1 = Dot<4>(hy2D6C,tv2D7F);
          real2 x2DC3#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v251173);
          real2 nd2DC5#2 = Floor<2>(x2DC3);
          real2 f2DC4#2 = Sub<real2>(x2DC3,nd2DC5);
          int{2} n2DC6#8 = RealToInt<2>(nd2DC5);
          int t12DE2#1 = -1;
          int t22DE3#1 = Index<int{2},0>(n2DC6);
          int ix2DE1#1 = Add<int>(t12DE2,t22DE3);
          int t12DE5#1 = -1;
          int t22DE6#1 = Index<int{2},1>(n2DC6);
          int iy2DE4#1 = Add<int>(t12DE5,t22DE6);
          addr(IMAGE2D<int>) a2DE7#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2DE1,iy2DE4);
          real4 v02DC8#1 = LoadVoxels<IMAGE2D<int>,4>(a2DE7);
          int t12DDB#1 = -1;
          int t22DDC#1 = Index<int{2},0>(n2DC6);
          int ix2DDA#1 = Add<int>(t12DDB,t22DDC);
          int t12DDE#1 = 0;
          int t22DDF#1 = Index<int{2},1>(n2DC6);
          int iy2DDD#1 = Add<int>(t12DDE,t22DDF);
          addr(IMAGE2D<int>) a2DE0#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2DDA,iy2DDD);
          real4 v12DC9#1 = LoadVoxels<IMAGE2D<int>,4>(a2DE0);
          int t12DD4#1 = -1;
          int t22DD5#1 = Index<int{2},0>(n2DC6);
          int ix2DD3#1 = Add<int>(t12DD4,t22DD5);
          int t12DD7#1 = 1;
          int t22DD8#1 = Index<int{2},1>(n2DC6);
          int iy2DD6#1 = Add<int>(t12DD7,t22DD8);
          addr(IMAGE2D<int>) a2DD9#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2DD3,iy2DD6);
          real4 v22DCA#1 = LoadVoxels<IMAGE2D<int>,4>(a2DD9);
          int t12DCD#1 = -1;
          int t22DCE#1 = Index<int{2},0>(n2DC6);
          int ix2DCC#1 = Add<int>(t12DCD,t22DCE);
          int t12DD0#1 = 2;
          int t22DD1#1 = Index<int{2},1>(n2DC6);
          int iy2DCF#1 = Add<int>(t12DD0,t22DD1);
          addr(IMAGE2D<int>) a2DD2#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2DCC,iy2DCF);
          real4 v32DCB#1 = LoadVoxels<IMAGE2D<int>,4>(a2DD2);
          real fy2DF3#4 = Index<real2,1>(f2DC4);
          real r2DFB#1 = 0.1e1;
          real t32DF8#1 = Add<real>(fy2DF3,r2DFB);
          real t22DF7#1 = fy2DF3;
          real r2DFA#1 = 0.1e1;
          real t12DF6#1 = Sub<real>(fy2DF3,r2DFA);
          real r2DF9#1 = 0.2e1;
          real t02DF5#1 = Sub<real>(fy2DF3,r2DF9);
          real4 a2DF4#1 = <real4>[t32DF8,t22DF7,t12DF6,t02DF5];
          real4 hy2DE9#1 = EvalKernel<4,bspln3,0>(a2DF4);
          real fx2DEA#4 = Index<real2,0>(f2DC4);
          real r2DF2#1 = 0.1e1;
          real t32DEF#1 = Add<real>(fx2DEA,r2DF2);
          real t22DEE#1 = fx2DEA;
          real r2DF1#1 = 0.1e1;
          real t12DED#1 = Sub<real>(fx2DEA,r2DF1);
          real r2DF0#1 = 0.2e1;
          real t02DEC#1 = Sub<real>(fx2DEA,r2DF0);
          real4 a2DEB#1 = <real4>[t32DEF,t22DEE,t12DED,t02DEC];
          real4 hx2DE8#4 = EvalKernel<4,bspln3,0>(a2DEB);
          real t02DFD#1 = Dot<4>(v02DC8,hx2DE8);
          real t12DFE#1 = Dot<4>(v12DC9,hx2DE8);
          real t22DFF#1 = Dot<4>(v22DCA,hx2DE8);
          real t32E00#1 = Dot<4>(v32DCB,hx2DE8);
          real4 tv2DFC#1 = <real4>[t02DFD,t12DFE,t22DFF,t32E00];
          real _t2DC2#1 = Dot<4>(hy2DE9,tv2DFC);
          real _t2E3F#2 = Sub<real>(_t2D45,_t2DC2);
          real _t2E41#1 = Mul<real>(_t2E3F,_t2E3F);
          real score2E43#1 = Add<real>(score2D2E,_t2E41);
          goto JOIN2E46
        JOIN2E46:  preds = [ASSIGN2E44,COND2D44]
          real score2E45#2 = phi(score2E43,score2D2E)
          real _t2E47#1 = Dot<2>(r011DF,v261175);
          real _t2E49#1 = Dot<2>(r111E5,v261175);
          real2 _t2E4B#1 = <real2>[_t2E47,_t2E49];
          real2 pos2E4D#2 = Add<real2>(_t2E4B,_t11F5);
          real2 x2E50#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2E4D);
          bool _t2E4F#1 = Inside<IMAGE2D<float>,2>(x2E50,_t1133);
          if _t2E4F then goto ASSIGN2E56 else goto ASSIGN3824
        ASSIGN2E56:  preds = [COND2E53]
          real2 x2E55#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v261175);
          bool _t2E54#1 = Inside<IMAGE2D<int>,2>(x2E55,_t112F);
          goto JOIN2E5A
        JOIN2E5A:  preds = [ASSIGN2E57,ASSIGN3824]
          bool _t2E58#1 = phi(_t2E54,_t2E59)
          if _t2E58 then goto ASSIGN2E9B else goto JOIN2F5D
        ASSIGN2E9B:  preds = [COND2E5B]
          real2 x2E5D#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2E4D);
          real2 nd2E5F#2 = Floor<2>(x2E5D);
          real2 f2E5E#2 = Sub<real2>(x2E5D,nd2E5F);
          int{2} n2E60#8 = RealToInt<2>(nd2E5F);
          int t12E7C#1 = -1;
          int t22E7D#1 = Index<int{2},0>(n2E60);
          int ix2E7B#1 = Add<int>(t12E7C,t22E7D);
          int t12E7F#1 = -1;
          int t22E80#1 = Index<int{2},1>(n2E60);
          int iy2E7E#1 = Add<int>(t12E7F,t22E80);
          addr(IMAGE2D<float>) a2E81#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2E7B,iy2E7E);
          real4 v02E62#1 = LoadVoxels<IMAGE2D<float>,4>(a2E81);
          int t12E75#1 = -1;
          int t22E76#1 = Index<int{2},0>(n2E60);
          int ix2E74#1 = Add<int>(t12E75,t22E76);
          int t12E78#1 = 0;
          int t22E79#1 = Index<int{2},1>(n2E60);
          int iy2E77#1 = Add<int>(t12E78,t22E79);
          addr(IMAGE2D<float>) a2E7A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2E74,iy2E77);
          real4 v12E63#1 = LoadVoxels<IMAGE2D<float>,4>(a2E7A);
          int t12E6E#1 = -1;
          int t22E6F#1 = Index<int{2},0>(n2E60);
          int ix2E6D#1 = Add<int>(t12E6E,t22E6F);
          int t12E71#1 = 1;
          int t22E72#1 = Index<int{2},1>(n2E60);
          int iy2E70#1 = Add<int>(t12E71,t22E72);
          addr(IMAGE2D<float>) a2E73#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2E6D,iy2E70);
          real4 v22E64#1 = LoadVoxels<IMAGE2D<float>,4>(a2E73);
          int t12E67#1 = -1;
          int t22E68#1 = Index<int{2},0>(n2E60);
          int ix2E66#1 = Add<int>(t12E67,t22E68);
          int t12E6A#1 = 2;
          int t22E6B#1 = Index<int{2},1>(n2E60);
          int iy2E69#1 = Add<int>(t12E6A,t22E6B);
          addr(IMAGE2D<float>) a2E6C#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2E66,iy2E69);
          real4 v32E65#1 = LoadVoxels<IMAGE2D<float>,4>(a2E6C);
          real fy2E8D#4 = Index<real2,1>(f2E5E);
          real r2E95#1 = 0.1e1;
          real t32E92#1 = Add<real>(fy2E8D,r2E95);
          real t22E91#1 = fy2E8D;
          real r2E94#1 = 0.1e1;
          real t12E90#1 = Sub<real>(fy2E8D,r2E94);
          real r2E93#1 = 0.2e1;
          real t02E8F#1 = Sub<real>(fy2E8D,r2E93);
          real4 a2E8E#1 = <real4>[t32E92,t22E91,t12E90,t02E8F];
          real4 hy2E83#1 = EvalKernel<4,bspln3,0>(a2E8E);
          real fx2E84#4 = Index<real2,0>(f2E5E);
          real r2E8C#1 = 0.1e1;
          real t32E89#1 = Add<real>(fx2E84,r2E8C);
          real t22E88#1 = fx2E84;
          real r2E8B#1 = 0.1e1;
          real t12E87#1 = Sub<real>(fx2E84,r2E8B);
          real r2E8A#1 = 0.2e1;
          real t02E86#1 = Sub<real>(fx2E84,r2E8A);
          real4 a2E85#1 = <real4>[t32E89,t22E88,t12E87,t02E86];
          real4 hx2E82#4 = EvalKernel<4,bspln3,0>(a2E85);
          real t02E97#1 = Dot<4>(v02E62,hx2E82);
          real t12E98#1 = Dot<4>(v12E63,hx2E82);
          real t22E99#1 = Dot<4>(v22E64,hx2E82);
          real t32E9A#1 = Dot<4>(v32E65,hx2E82);
          real4 tv2E96#1 = <real4>[t02E97,t12E98,t22E99,t32E9A];
          real _t2E5C#1 = Dot<4>(hy2E83,tv2E96);
          real2 x2EDA#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v261175);
          real2 nd2EDC#2 = Floor<2>(x2EDA);
          real2 f2EDB#2 = Sub<real2>(x2EDA,nd2EDC);
          int{2} n2EDD#8 = RealToInt<2>(nd2EDC);
          int t12EF9#1 = -1;
          int t22EFA#1 = Index<int{2},0>(n2EDD);
          int ix2EF8#1 = Add<int>(t12EF9,t22EFA);
          int t12EFC#1 = -1;
          int t22EFD#1 = Index<int{2},1>(n2EDD);
          int iy2EFB#1 = Add<int>(t12EFC,t22EFD);
          addr(IMAGE2D<int>) a2EFE#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2EF8,iy2EFB);
          real4 v02EDF#1 = LoadVoxels<IMAGE2D<int>,4>(a2EFE);
          int t12EF2#1 = -1;
          int t22EF3#1 = Index<int{2},0>(n2EDD);
          int ix2EF1#1 = Add<int>(t12EF2,t22EF3);
          int t12EF5#1 = 0;
          int t22EF6#1 = Index<int{2},1>(n2EDD);
          int iy2EF4#1 = Add<int>(t12EF5,t22EF6);
          addr(IMAGE2D<int>) a2EF7#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2EF1,iy2EF4);
          real4 v12EE0#1 = LoadVoxels<IMAGE2D<int>,4>(a2EF7);
          int t12EEB#1 = -1;
          int t22EEC#1 = Index<int{2},0>(n2EDD);
          int ix2EEA#1 = Add<int>(t12EEB,t22EEC);
          int t12EEE#1 = 1;
          int t22EEF#1 = Index<int{2},1>(n2EDD);
          int iy2EED#1 = Add<int>(t12EEE,t22EEF);
          addr(IMAGE2D<int>) a2EF0#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2EEA,iy2EED);
          real4 v22EE1#1 = LoadVoxels<IMAGE2D<int>,4>(a2EF0);
          int t12EE4#1 = -1;
          int t22EE5#1 = Index<int{2},0>(n2EDD);
          int ix2EE3#1 = Add<int>(t12EE4,t22EE5);
          int t12EE7#1 = 2;
          int t22EE8#1 = Index<int{2},1>(n2EDD);
          int iy2EE6#1 = Add<int>(t12EE7,t22EE8);
          addr(IMAGE2D<int>) a2EE9#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2EE3,iy2EE6);
          real4 v32EE2#1 = LoadVoxels<IMAGE2D<int>,4>(a2EE9);
          real fy2F0A#4 = Index<real2,1>(f2EDB);
          real r2F12#1 = 0.1e1;
          real t32F0F#1 = Add<real>(fy2F0A,r2F12);
          real t22F0E#1 = fy2F0A;
          real r2F11#1 = 0.1e1;
          real t12F0D#1 = Sub<real>(fy2F0A,r2F11);
          real r2F10#1 = 0.2e1;
          real t02F0C#1 = Sub<real>(fy2F0A,r2F10);
          real4 a2F0B#1 = <real4>[t32F0F,t22F0E,t12F0D,t02F0C];
          real4 hy2F00#1 = EvalKernel<4,bspln3,0>(a2F0B);
          real fx2F01#4 = Index<real2,0>(f2EDB);
          real r2F09#1 = 0.1e1;
          real t32F06#1 = Add<real>(fx2F01,r2F09);
          real t22F05#1 = fx2F01;
          real r2F08#1 = 0.1e1;
          real t12F04#1 = Sub<real>(fx2F01,r2F08);
          real r2F07#1 = 0.2e1;
          real t02F03#1 = Sub<real>(fx2F01,r2F07);
          real4 a2F02#1 = <real4>[t32F06,t22F05,t12F04,t02F03];
          real4 hx2EFF#4 = EvalKernel<4,bspln3,0>(a2F02);
          real t02F14#1 = Dot<4>(v02EDF,hx2EFF);
          real t12F15#1 = Dot<4>(v12EE0,hx2EFF);
          real t22F16#1 = Dot<4>(v22EE1,hx2EFF);
          real t32F17#1 = Dot<4>(v32EE2,hx2EFF);
          real4 tv2F13#1 = <real4>[t02F14,t12F15,t22F16,t32F17];
          real _t2ED9#1 = Dot<4>(hy2F00,tv2F13);
          real _t2F56#2 = Sub<real>(_t2E5C,_t2ED9);
          real _t2F58#1 = Mul<real>(_t2F56,_t2F56);
          real score2F5A#1 = Add<real>(score2E45,_t2F58);
          goto JOIN2F5D
        JOIN2F5D:  preds = [ASSIGN2F5B,COND2E5B]
          real score2F5C#2 = phi(score2F5A,score2E45)
          real _t2F5E#1 = Dot<2>(r011DF,v271177);
          real _t2F60#1 = Dot<2>(r111E5,v271177);
          real2 _t2F62#1 = <real2>[_t2F5E,_t2F60];
          real2 pos2F64#2 = Add<real2>(_t2F62,_t11F5);
          real2 x2F67#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2F64);
          bool _t2F66#1 = Inside<IMAGE2D<float>,2>(x2F67,_t1133);
          if _t2F66 then goto ASSIGN2F6D else goto ASSIGN3823
        ASSIGN2F6D:  preds = [COND2F6A]
          real2 x2F6C#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v271177);
          bool _t2F6B#1 = Inside<IMAGE2D<int>,2>(x2F6C,_t112F);
          goto JOIN2F71
        JOIN2F71:  preds = [ASSIGN2F6E,ASSIGN3823]
          bool _t2F6F#1 = phi(_t2F6B,_t2F70)
          if _t2F6F then goto ASSIGN2FB2 else goto JOIN3074
        ASSIGN2FB2:  preds = [COND2F72]
          real2 x2F74#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2F64);
          real2 nd2F76#2 = Floor<2>(x2F74);
          real2 f2F75#2 = Sub<real2>(x2F74,nd2F76);
          int{2} n2F77#8 = RealToInt<2>(nd2F76);
          int t12F93#1 = -1;
          int t22F94#1 = Index<int{2},0>(n2F77);
          int ix2F92#1 = Add<int>(t12F93,t22F94);
          int t12F96#1 = -1;
          int t22F97#1 = Index<int{2},1>(n2F77);
          int iy2F95#1 = Add<int>(t12F96,t22F97);
          addr(IMAGE2D<float>) a2F98#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2F92,iy2F95);
          real4 v02F79#1 = LoadVoxels<IMAGE2D<float>,4>(a2F98);
          int t12F8C#1 = -1;
          int t22F8D#1 = Index<int{2},0>(n2F77);
          int ix2F8B#1 = Add<int>(t12F8C,t22F8D);
          int t12F8F#1 = 0;
          int t22F90#1 = Index<int{2},1>(n2F77);
          int iy2F8E#1 = Add<int>(t12F8F,t22F90);
          addr(IMAGE2D<float>) a2F91#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2F8B,iy2F8E);
          real4 v12F7A#1 = LoadVoxels<IMAGE2D<float>,4>(a2F91);
          int t12F85#1 = -1;
          int t22F86#1 = Index<int{2},0>(n2F77);
          int ix2F84#1 = Add<int>(t12F85,t22F86);
          int t12F88#1 = 1;
          int t22F89#1 = Index<int{2},1>(n2F77);
          int iy2F87#1 = Add<int>(t12F88,t22F89);
          addr(IMAGE2D<float>) a2F8A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2F84,iy2F87);
          real4 v22F7B#1 = LoadVoxels<IMAGE2D<float>,4>(a2F8A);
          int t12F7E#1 = -1;
          int t22F7F#1 = Index<int{2},0>(n2F77);
          int ix2F7D#1 = Add<int>(t12F7E,t22F7F);
          int t12F81#1 = 2;
          int t22F82#1 = Index<int{2},1>(n2F77);
          int iy2F80#1 = Add<int>(t12F81,t22F82);
          addr(IMAGE2D<float>) a2F83#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2F7D,iy2F80);
          real4 v32F7C#1 = LoadVoxels<IMAGE2D<float>,4>(a2F83);
          real fy2FA4#4 = Index<real2,1>(f2F75);
          real r2FAC#1 = 0.1e1;
          real t32FA9#1 = Add<real>(fy2FA4,r2FAC);
          real t22FA8#1 = fy2FA4;
          real r2FAB#1 = 0.1e1;
          real t12FA7#1 = Sub<real>(fy2FA4,r2FAB);
          real r2FAA#1 = 0.2e1;
          real t02FA6#1 = Sub<real>(fy2FA4,r2FAA);
          real4 a2FA5#1 = <real4>[t32FA9,t22FA8,t12FA7,t02FA6];
          real4 hy2F9A#1 = EvalKernel<4,bspln3,0>(a2FA5);
          real fx2F9B#4 = Index<real2,0>(f2F75);
          real r2FA3#1 = 0.1e1;
          real t32FA0#1 = Add<real>(fx2F9B,r2FA3);
          real t22F9F#1 = fx2F9B;
          real r2FA2#1 = 0.1e1;
          real t12F9E#1 = Sub<real>(fx2F9B,r2FA2);
          real r2FA1#1 = 0.2e1;
          real t02F9D#1 = Sub<real>(fx2F9B,r2FA1);
          real4 a2F9C#1 = <real4>[t32FA0,t22F9F,t12F9E,t02F9D];
          real4 hx2F99#4 = EvalKernel<4,bspln3,0>(a2F9C);
          real t02FAE#1 = Dot<4>(v02F79,hx2F99);
          real t12FAF#1 = Dot<4>(v12F7A,hx2F99);
          real t22FB0#1 = Dot<4>(v22F7B,hx2F99);
          real t32FB1#1 = Dot<4>(v32F7C,hx2F99);
          real4 tv2FAD#1 = <real4>[t02FAE,t12FAF,t22FB0,t32FB1];
          real _t2F73#1 = Dot<4>(hy2F9A,tv2FAD);
          real2 x2FF1#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v271177);
          real2 nd2FF3#2 = Floor<2>(x2FF1);
          real2 f2FF2#2 = Sub<real2>(x2FF1,nd2FF3);
          int{2} n2FF4#8 = RealToInt<2>(nd2FF3);
          int t13010#1 = -1;
          int t23011#1 = Index<int{2},0>(n2FF4);
          int ix300F#1 = Add<int>(t13010,t23011);
          int t13013#1 = -1;
          int t23014#1 = Index<int{2},1>(n2FF4);
          int iy3012#1 = Add<int>(t13013,t23014);
          addr(IMAGE2D<int>) a3015#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix300F,iy3012);
          real4 v02FF6#1 = LoadVoxels<IMAGE2D<int>,4>(a3015);
          int t13009#1 = -1;
          int t2300A#1 = Index<int{2},0>(n2FF4);
          int ix3008#1 = Add<int>(t13009,t2300A);
          int t1300C#1 = 0;
          int t2300D#1 = Index<int{2},1>(n2FF4);
          int iy300B#1 = Add<int>(t1300C,t2300D);
          addr(IMAGE2D<int>) a300E#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3008,iy300B);
          real4 v12FF7#1 = LoadVoxels<IMAGE2D<int>,4>(a300E);
          int t13002#1 = -1;
          int t23003#1 = Index<int{2},0>(n2FF4);
          int ix3001#1 = Add<int>(t13002,t23003);
          int t13005#1 = 1;
          int t23006#1 = Index<int{2},1>(n2FF4);
          int iy3004#1 = Add<int>(t13005,t23006);
          addr(IMAGE2D<int>) a3007#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3001,iy3004);
          real4 v22FF8#1 = LoadVoxels<IMAGE2D<int>,4>(a3007);
          int t12FFB#1 = -1;
          int t22FFC#1 = Index<int{2},0>(n2FF4);
          int ix2FFA#1 = Add<int>(t12FFB,t22FFC);
          int t12FFE#1 = 2;
          int t22FFF#1 = Index<int{2},1>(n2FF4);
          int iy2FFD#1 = Add<int>(t12FFE,t22FFF);
          addr(IMAGE2D<int>) a3000#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2FFA,iy2FFD);
          real4 v32FF9#1 = LoadVoxels<IMAGE2D<int>,4>(a3000);
          real fy3021#4 = Index<real2,1>(f2FF2);
          real r3029#1 = 0.1e1;
          real t33026#1 = Add<real>(fy3021,r3029);
          real t23025#1 = fy3021;
          real r3028#1 = 0.1e1;
          real t13024#1 = Sub<real>(fy3021,r3028);
          real r3027#1 = 0.2e1;
          real t03023#1 = Sub<real>(fy3021,r3027);
          real4 a3022#1 = <real4>[t33026,t23025,t13024,t03023];
          real4 hy3017#1 = EvalKernel<4,bspln3,0>(a3022);
          real fx3018#4 = Index<real2,0>(f2FF2);
          real r3020#1 = 0.1e1;
          real t3301D#1 = Add<real>(fx3018,r3020);
          real t2301C#1 = fx3018;
          real r301F#1 = 0.1e1;
          real t1301B#1 = Sub<real>(fx3018,r301F);
          real r301E#1 = 0.2e1;
          real t0301A#1 = Sub<real>(fx3018,r301E);
          real4 a3019#1 = <real4>[t3301D,t2301C,t1301B,t0301A];
          real4 hx3016#4 = EvalKernel<4,bspln3,0>(a3019);
          real t0302B#1 = Dot<4>(v02FF6,hx3016);
          real t1302C#1 = Dot<4>(v12FF7,hx3016);
          real t2302D#1 = Dot<4>(v22FF8,hx3016);
          real t3302E#1 = Dot<4>(v32FF9,hx3016);
          real4 tv302A#1 = <real4>[t0302B,t1302C,t2302D,t3302E];
          real _t2FF0#1 = Dot<4>(hy3017,tv302A);
          real _t306D#2 = Sub<real>(_t2F73,_t2FF0);
          real _t306F#1 = Mul<real>(_t306D,_t306D);
          real score3071#1 = Add<real>(score2F5C,_t306F);
          goto JOIN3074
        JOIN3074:  preds = [ASSIGN3072,COND2F72]
          real score3073#2 = phi(score3071,score2F5C)
          real _t3075#1 = Dot<2>(r011DF,v281179);
          real _t3077#1 = Dot<2>(r111E5,v281179);
          real2 _t3079#1 = <real2>[_t3075,_t3077];
          real2 pos307B#2 = Add<real2>(_t3079,_t11F5);
          real2 x307E#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos307B);
          bool _t307D#1 = Inside<IMAGE2D<float>,2>(x307E,_t1133);
          if _t307D then goto ASSIGN3084 else goto ASSIGN3822
        ASSIGN3084:  preds = [COND3081]
          real2 x3083#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v281179);
          bool _t3082#1 = Inside<IMAGE2D<int>,2>(x3083,_t112F);
          goto JOIN3088
        JOIN3088:  preds = [ASSIGN3085,ASSIGN3822]
          bool _t3086#1 = phi(_t3082,_t3087)
          if _t3086 then goto ASSIGN30C9 else goto JOIN318B
        ASSIGN30C9:  preds = [COND3089]
          real2 x308B#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos307B);
          real2 nd308D#2 = Floor<2>(x308B);
          real2 f308C#2 = Sub<real2>(x308B,nd308D);
          int{2} n308E#8 = RealToInt<2>(nd308D);
          int t130AA#1 = -1;
          int t230AB#1 = Index<int{2},0>(n308E);
          int ix30A9#1 = Add<int>(t130AA,t230AB);
          int t130AD#1 = -1;
          int t230AE#1 = Index<int{2},1>(n308E);
          int iy30AC#1 = Add<int>(t130AD,t230AE);
          addr(IMAGE2D<float>) a30AF#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix30A9,iy30AC);
          real4 v03090#1 = LoadVoxels<IMAGE2D<float>,4>(a30AF);
          int t130A3#1 = -1;
          int t230A4#1 = Index<int{2},0>(n308E);
          int ix30A2#1 = Add<int>(t130A3,t230A4);
          int t130A6#1 = 0;
          int t230A7#1 = Index<int{2},1>(n308E);
          int iy30A5#1 = Add<int>(t130A6,t230A7);
          addr(IMAGE2D<float>) a30A8#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix30A2,iy30A5);
          real4 v13091#1 = LoadVoxels<IMAGE2D<float>,4>(a30A8);
          int t1309C#1 = -1;
          int t2309D#1 = Index<int{2},0>(n308E);
          int ix309B#1 = Add<int>(t1309C,t2309D);
          int t1309F#1 = 1;
          int t230A0#1 = Index<int{2},1>(n308E);
          int iy309E#1 = Add<int>(t1309F,t230A0);
          addr(IMAGE2D<float>) a30A1#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix309B,iy309E);
          real4 v23092#1 = LoadVoxels<IMAGE2D<float>,4>(a30A1);
          int t13095#1 = -1;
          int t23096#1 = Index<int{2},0>(n308E);
          int ix3094#1 = Add<int>(t13095,t23096);
          int t13098#1 = 2;
          int t23099#1 = Index<int{2},1>(n308E);
          int iy3097#1 = Add<int>(t13098,t23099);
          addr(IMAGE2D<float>) a309A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix3094,iy3097);
          real4 v33093#1 = LoadVoxels<IMAGE2D<float>,4>(a309A);
          real fy30BB#4 = Index<real2,1>(f308C);
          real r30C3#1 = 0.1e1;
          real t330C0#1 = Add<real>(fy30BB,r30C3);
          real t230BF#1 = fy30BB;
          real r30C2#1 = 0.1e1;
          real t130BE#1 = Sub<real>(fy30BB,r30C2);
          real r30C1#1 = 0.2e1;
          real t030BD#1 = Sub<real>(fy30BB,r30C1);
          real4 a30BC#1 = <real4>[t330C0,t230BF,t130BE,t030BD];
          real4 hy30B1#1 = EvalKernel<4,bspln3,0>(a30BC);
          real fx30B2#4 = Index<real2,0>(f308C);
          real r30BA#1 = 0.1e1;
          real t330B7#1 = Add<real>(fx30B2,r30BA);
          real t230B6#1 = fx30B2;
          real r30B9#1 = 0.1e1;
          real t130B5#1 = Sub<real>(fx30B2,r30B9);
          real r30B8#1 = 0.2e1;
          real t030B4#1 = Sub<real>(fx30B2,r30B8);
          real4 a30B3#1 = <real4>[t330B7,t230B6,t130B5,t030B4];
          real4 hx30B0#4 = EvalKernel<4,bspln3,0>(a30B3);
          real t030C5#1 = Dot<4>(v03090,hx30B0);
          real t130C6#1 = Dot<4>(v13091,hx30B0);
          real t230C7#1 = Dot<4>(v23092,hx30B0);
          real t330C8#1 = Dot<4>(v33093,hx30B0);
          real4 tv30C4#1 = <real4>[t030C5,t130C6,t230C7,t330C8];
          real _t308A#1 = Dot<4>(hy30B1,tv30C4);
          real2 x3108#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v281179);
          real2 nd310A#2 = Floor<2>(x3108);
          real2 f3109#2 = Sub<real2>(x3108,nd310A);
          int{2} n310B#8 = RealToInt<2>(nd310A);
          int t13127#1 = -1;
          int t23128#1 = Index<int{2},0>(n310B);
          int ix3126#1 = Add<int>(t13127,t23128);
          int t1312A#1 = -1;
          int t2312B#1 = Index<int{2},1>(n310B);
          int iy3129#1 = Add<int>(t1312A,t2312B);
          addr(IMAGE2D<int>) a312C#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3126,iy3129);
          real4 v0310D#1 = LoadVoxels<IMAGE2D<int>,4>(a312C);
          int t13120#1 = -1;
          int t23121#1 = Index<int{2},0>(n310B);
          int ix311F#1 = Add<int>(t13120,t23121);
          int t13123#1 = 0;
          int t23124#1 = Index<int{2},1>(n310B);
          int iy3122#1 = Add<int>(t13123,t23124);
          addr(IMAGE2D<int>) a3125#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix311F,iy3122);
          real4 v1310E#1 = LoadVoxels<IMAGE2D<int>,4>(a3125);
          int t13119#1 = -1;
          int t2311A#1 = Index<int{2},0>(n310B);
          int ix3118#1 = Add<int>(t13119,t2311A);
          int t1311C#1 = 1;
          int t2311D#1 = Index<int{2},1>(n310B);
          int iy311B#1 = Add<int>(t1311C,t2311D);
          addr(IMAGE2D<int>) a311E#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3118,iy311B);
          real4 v2310F#1 = LoadVoxels<IMAGE2D<int>,4>(a311E);
          int t13112#1 = -1;
          int t23113#1 = Index<int{2},0>(n310B);
          int ix3111#1 = Add<int>(t13112,t23113);
          int t13115#1 = 2;
          int t23116#1 = Index<int{2},1>(n310B);
          int iy3114#1 = Add<int>(t13115,t23116);
          addr(IMAGE2D<int>) a3117#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3111,iy3114);
          real4 v33110#1 = LoadVoxels<IMAGE2D<int>,4>(a3117);
          real fy3138#4 = Index<real2,1>(f3109);
          real r3140#1 = 0.1e1;
          real t3313D#1 = Add<real>(fy3138,r3140);
          real t2313C#1 = fy3138;
          real r313F#1 = 0.1e1;
          real t1313B#1 = Sub<real>(fy3138,r313F);
          real r313E#1 = 0.2e1;
          real t0313A#1 = Sub<real>(fy3138,r313E);
          real4 a3139#1 = <real4>[t3313D,t2313C,t1313B,t0313A];
          real4 hy312E#1 = EvalKernel<4,bspln3,0>(a3139);
          real fx312F#4 = Index<real2,0>(f3109);
          real r3137#1 = 0.1e1;
          real t33134#1 = Add<real>(fx312F,r3137);
          real t23133#1 = fx312F;
          real r3136#1 = 0.1e1;
          real t13132#1 = Sub<real>(fx312F,r3136);
          real r3135#1 = 0.2e1;
          real t03131#1 = Sub<real>(fx312F,r3135);
          real4 a3130#1 = <real4>[t33134,t23133,t13132,t03131];
          real4 hx312D#4 = EvalKernel<4,bspln3,0>(a3130);
          real t03142#1 = Dot<4>(v0310D,hx312D);
          real t13143#1 = Dot<4>(v1310E,hx312D);
          real t23144#1 = Dot<4>(v2310F,hx312D);
          real t33145#1 = Dot<4>(v33110,hx312D);
          real4 tv3141#1 = <real4>[t03142,t13143,t23144,t33145];
          real _t3107#1 = Dot<4>(hy312E,tv3141);
          real _t3184#2 = Sub<real>(_t308A,_t3107);
          real _t3186#1 = Mul<real>(_t3184,_t3184);
          real score3188#1 = Add<real>(score3073,_t3186);
          goto JOIN318B
        JOIN318B:  preds = [ASSIGN3189,COND3089]
          real score318A#2 = phi(score3188,score3073)
          real _t318C#1 = Dot<2>(r011DF,v29117B);
          real _t318E#1 = Dot<2>(r111E5,v29117B);
          real2 _t3190#1 = <real2>[_t318C,_t318E];
          real2 pos3192#2 = Add<real2>(_t3190,_t11F5);
          real2 x3195#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos3192);
          bool _t3194#1 = Inside<IMAGE2D<float>,2>(x3195,_t1133);
          if _t3194 then goto ASSIGN319B else goto ASSIGN3821
        ASSIGN319B:  preds = [COND3198]
          real2 x319A#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v29117B);
          bool _t3199#1 = Inside<IMAGE2D<int>,2>(x319A,_t112F);
          goto JOIN319F
        JOIN319F:  preds = [ASSIGN319C,ASSIGN3821]
          bool _t319D#1 = phi(_t3199,_t319E)
          if _t319D then goto ASSIGN31E0 else goto JOIN32A2
        ASSIGN31E0:  preds = [COND31A0]
          real2 x31A2#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos3192);
          real2 nd31A4#2 = Floor<2>(x31A2);
          real2 f31A3#2 = Sub<real2>(x31A2,nd31A4);
          int{2} n31A5#8 = RealToInt<2>(nd31A4);
          int t131C1#1 = -1;
          int t231C2#1 = Index<int{2},0>(n31A5);
          int ix31C0#1 = Add<int>(t131C1,t231C2);
          int t131C4#1 = -1;
          int t231C5#1 = Index<int{2},1>(n31A5);
          int iy31C3#1 = Add<int>(t131C4,t231C5);
          addr(IMAGE2D<float>) a31C6#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix31C0,iy31C3);
          real4 v031A7#1 = LoadVoxels<IMAGE2D<float>,4>(a31C6);
          int t131BA#1 = -1;
          int t231BB#1 = Index<int{2},0>(n31A5);
          int ix31B9#1 = Add<int>(t131BA,t231BB);
          int t131BD#1 = 0;
          int t231BE#1 = Index<int{2},1>(n31A5);
          int iy31BC#1 = Add<int>(t131BD,t231BE);
          addr(IMAGE2D<float>) a31BF#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix31B9,iy31BC);
          real4 v131A8#1 = LoadVoxels<IMAGE2D<float>,4>(a31BF);
          int t131B3#1 = -1;
          int t231B4#1 = Index<int{2},0>(n31A5);
          int ix31B2#1 = Add<int>(t131B3,t231B4);
          int t131B6#1 = 1;
          int t231B7#1 = Index<int{2},1>(n31A5);
          int iy31B5#1 = Add<int>(t131B6,t231B7);
          addr(IMAGE2D<float>) a31B8#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix31B2,iy31B5);
          real4 v231A9#1 = LoadVoxels<IMAGE2D<float>,4>(a31B8);
          int t131AC#1 = -1;
          int t231AD#1 = Index<int{2},0>(n31A5);
          int ix31AB#1 = Add<int>(t131AC,t231AD);
          int t131AF#1 = 2;
          int t231B0#1 = Index<int{2},1>(n31A5);
          int iy31AE#1 = Add<int>(t131AF,t231B0);
          addr(IMAGE2D<float>) a31B1#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix31AB,iy31AE);
          real4 v331AA#1 = LoadVoxels<IMAGE2D<float>,4>(a31B1);
          real fy31D2#4 = Index<real2,1>(f31A3);
          real r31DA#1 = 0.1e1;
          real t331D7#1 = Add<real>(fy31D2,r31DA);
          real t231D6#1 = fy31D2;
          real r31D9#1 = 0.1e1;
          real t131D5#1 = Sub<real>(fy31D2,r31D9);
          real r31D8#1 = 0.2e1;
          real t031D4#1 = Sub<real>(fy31D2,r31D8);
          real4 a31D3#1 = <real4>[t331D7,t231D6,t131D5,t031D4];
          real4 hy31C8#1 = EvalKernel<4,bspln3,0>(a31D3);
          real fx31C9#4 = Index<real2,0>(f31A3);
          real r31D1#1 = 0.1e1;
          real t331CE#1 = Add<real>(fx31C9,r31D1);
          real t231CD#1 = fx31C9;
          real r31D0#1 = 0.1e1;
          real t131CC#1 = Sub<real>(fx31C9,r31D0);
          real r31CF#1 = 0.2e1;
          real t031CB#1 = Sub<real>(fx31C9,r31CF);
          real4 a31CA#1 = <real4>[t331CE,t231CD,t131CC,t031CB];
          real4 hx31C7#4 = EvalKernel<4,bspln3,0>(a31CA);
          real t031DC#1 = Dot<4>(v031A7,hx31C7);
          real t131DD#1 = Dot<4>(v131A8,hx31C7);
          real t231DE#1 = Dot<4>(v231A9,hx31C7);
          real t331DF#1 = Dot<4>(v331AA,hx31C7);
          real4 tv31DB#1 = <real4>[t031DC,t131DD,t231DE,t331DF];
          real _t31A1#1 = Dot<4>(hy31C8,tv31DB);
          real2 x321F#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v29117B);
          real2 nd3221#2 = Floor<2>(x321F);
          real2 f3220#2 = Sub<real2>(x321F,nd3221);
          int{2} n3222#8 = RealToInt<2>(nd3221);
          int t1323E#1 = -1;
          int t2323F#1 = Index<int{2},0>(n3222);
          int ix323D#1 = Add<int>(t1323E,t2323F);
          int t13241#1 = -1;
          int t23242#1 = Index<int{2},1>(n3222);
          int iy3240#1 = Add<int>(t13241,t23242);
          addr(IMAGE2D<int>) a3243#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix323D,iy3240);
          real4 v03224#1 = LoadVoxels<IMAGE2D<int>,4>(a3243);
          int t13237#1 = -1;
          int t23238#1 = Index<int{2},0>(n3222);
          int ix3236#1 = Add<int>(t13237,t23238);
          int t1323A#1 = 0;
          int t2323B#1 = Index<int{2},1>(n3222);
          int iy3239#1 = Add<int>(t1323A,t2323B);
          addr(IMAGE2D<int>) a323C#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3236,iy3239);
          real4 v13225#1 = LoadVoxels<IMAGE2D<int>,4>(a323C);
          int t13230#1 = -1;
          int t23231#1 = Index<int{2},0>(n3222);
          int ix322F#1 = Add<int>(t13230,t23231);
          int t13233#1 = 1;
          int t23234#1 = Index<int{2},1>(n3222);
          int iy3232#1 = Add<int>(t13233,t23234);
          addr(IMAGE2D<int>) a3235#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix322F,iy3232);
          real4 v23226#1 = LoadVoxels<IMAGE2D<int>,4>(a3235);
          int t13229#1 = -1;
          int t2322A#1 = Index<int{2},0>(n3222);
          int ix3228#1 = Add<int>(t13229,t2322A);
          int t1322C#1 = 2;
          int t2322D#1 = Index<int{2},1>(n3222);
          int iy322B#1 = Add<int>(t1322C,t2322D);
          addr(IMAGE2D<int>) a322E#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3228,iy322B);
          real4 v33227#1 = LoadVoxels<IMAGE2D<int>,4>(a322E);
          real fy324F#4 = Index<real2,1>(f3220);
          real r3257#1 = 0.1e1;
          real t33254#1 = Add<real>(fy324F,r3257);
          real t23253#1 = fy324F;
          real r3256#1 = 0.1e1;
          real t13252#1 = Sub<real>(fy324F,r3256);
          real r3255#1 = 0.2e1;
          real t03251#1 = Sub<real>(fy324F,r3255);
          real4 a3250#1 = <real4>[t33254,t23253,t13252,t03251];
          real4 hy3245#1 = EvalKernel<4,bspln3,0>(a3250);
          real fx3246#4 = Index<real2,0>(f3220);
          real r324E#1 = 0.1e1;
          real t3324B#1 = Add<real>(fx3246,r324E);
          real t2324A#1 = fx3246;
          real r324D#1 = 0.1e1;
          real t13249#1 = Sub<real>(fx3246,r324D);
          real r324C#1 = 0.2e1;
          real t03248#1 = Sub<real>(fx3246,r324C);
          real4 a3247#1 = <real4>[t3324B,t2324A,t13249,t03248];
          real4 hx3244#4 = EvalKernel<4,bspln3,0>(a3247);
          real t03259#1 = Dot<4>(v03224,hx3244);
          real t1325A#1 = Dot<4>(v13225,hx3244);
          real t2325B#1 = Dot<4>(v23226,hx3244);
          real t3325C#1 = Dot<4>(v33227,hx3244);
          real4 tv3258#1 = <real4>[t03259,t1325A,t2325B,t3325C];
          real _t321E#1 = Dot<4>(hy3245,tv3258);
          real _t329B#2 = Sub<real>(_t31A1,_t321E);
          real _t329D#1 = Mul<real>(_t329B,_t329B);
          real score329F#1 = Add<real>(score318A,_t329D);
          goto JOIN32A2
        JOIN32A2:  preds = [ASSIGN32A0,COND31A0]
          real score32A1#2 = phi(score329F,score318A)
          real _t32A3#1 = Dot<2>(r011DF,v30117D);
          real _t32A5#1 = Dot<2>(r111E5,v30117D);
          real2 _t32A7#1 = <real2>[_t32A3,_t32A5];
          real2 pos32A9#2 = Add<real2>(_t32A7,_t11F5);
          real2 x32AC#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos32A9);
          bool _t32AB#1 = Inside<IMAGE2D<float>,2>(x32AC,_t1133);
          if _t32AB then goto ASSIGN32B2 else goto ASSIGN3820
        ASSIGN32B2:  preds = [COND32AF]
          real2 x32B1#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v30117D);
          bool _t32B0#1 = Inside<IMAGE2D<int>,2>(x32B1,_t112F);
          goto JOIN32B6
        JOIN32B6:  preds = [ASSIGN32B3,ASSIGN3820]
          bool _t32B4#1 = phi(_t32B0,_t32B5)
          if _t32B4 then goto ASSIGN32F7 else goto JOIN33B9
        ASSIGN32F7:  preds = [COND32B7]
          real2 x32B9#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos32A9);
          real2 nd32BB#2 = Floor<2>(x32B9);
          real2 f32BA#2 = Sub<real2>(x32B9,nd32BB);
          int{2} n32BC#8 = RealToInt<2>(nd32BB);
          int t132D8#1 = -1;
          int t232D9#1 = Index<int{2},0>(n32BC);
          int ix32D7#1 = Add<int>(t132D8,t232D9);
          int t132DB#1 = -1;
          int t232DC#1 = Index<int{2},1>(n32BC);
          int iy32DA#1 = Add<int>(t132DB,t232DC);
          addr(IMAGE2D<float>) a32DD#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix32D7,iy32DA);
          real4 v032BE#1 = LoadVoxels<IMAGE2D<float>,4>(a32DD);
          int t132D1#1 = -1;
          int t232D2#1 = Index<int{2},0>(n32BC);
          int ix32D0#1 = Add<int>(t132D1,t232D2);
          int t132D4#1 = 0;
          int t232D5#1 = Index<int{2},1>(n32BC);
          int iy32D3#1 = Add<int>(t132D4,t232D5);
          addr(IMAGE2D<float>) a32D6#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix32D0,iy32D3);
          real4 v132BF#1 = LoadVoxels<IMAGE2D<float>,4>(a32D6);
          int t132CA#1 = -1;
          int t232CB#1 = Index<int{2},0>(n32BC);
          int ix32C9#1 = Add<int>(t132CA,t232CB);
          int t132CD#1 = 1;
          int t232CE#1 = Index<int{2},1>(n32BC);
          int iy32CC#1 = Add<int>(t132CD,t232CE);
          addr(IMAGE2D<float>) a32CF#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix32C9,iy32CC);
          real4 v232C0#1 = LoadVoxels<IMAGE2D<float>,4>(a32CF);
          int t132C3#1 = -1;
          int t232C4#1 = Index<int{2},0>(n32BC);
          int ix32C2#1 = Add<int>(t132C3,t232C4);
          int t132C6#1 = 2;
          int t232C7#1 = Index<int{2},1>(n32BC);
          int iy32C5#1 = Add<int>(t132C6,t232C7);
          addr(IMAGE2D<float>) a32C8#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix32C2,iy32C5);
          real4 v332C1#1 = LoadVoxels<IMAGE2D<float>,4>(a32C8);
          real fy32E9#4 = Index<real2,1>(f32BA);
          real r32F1#1 = 0.1e1;
          real t332EE#1 = Add<real>(fy32E9,r32F1);
          real t232ED#1 = fy32E9;
          real r32F0#1 = 0.1e1;
          real t132EC#1 = Sub<real>(fy32E9,r32F0);
          real r32EF#1 = 0.2e1;
          real t032EB#1 = Sub<real>(fy32E9,r32EF);
          real4 a32EA#1 = <real4>[t332EE,t232ED,t132EC,t032EB];
          real4 hy32DF#1 = EvalKernel<4,bspln3,0>(a32EA);
          real fx32E0#4 = Index<real2,0>(f32BA);
          real r32E8#1 = 0.1e1;
          real t332E5#1 = Add<real>(fx32E0,r32E8);
          real t232E4#1 = fx32E0;
          real r32E7#1 = 0.1e1;
          real t132E3#1 = Sub<real>(fx32E0,r32E7);
          real r32E6#1 = 0.2e1;
          real t032E2#1 = Sub<real>(fx32E0,r32E6);
          real4 a32E1#1 = <real4>[t332E5,t232E4,t132E3,t032E2];
          real4 hx32DE#4 = EvalKernel<4,bspln3,0>(a32E1);
          real t032F3#1 = Dot<4>(v032BE,hx32DE);
          real t132F4#1 = Dot<4>(v132BF,hx32DE);
          real t232F5#1 = Dot<4>(v232C0,hx32DE);
          real t332F6#1 = Dot<4>(v332C1,hx32DE);
          real4 tv32F2#1 = <real4>[t032F3,t132F4,t232F5,t332F6];
          real _t32B8#1 = Dot<4>(hy32DF,tv32F2);
          real2 x3336#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v30117D);
          real2 nd3338#2 = Floor<2>(x3336);
          real2 f3337#2 = Sub<real2>(x3336,nd3338);
          int{2} n3339#8 = RealToInt<2>(nd3338);
          int t13355#1 = -1;
          int t23356#1 = Index<int{2},0>(n3339);
          int ix3354#1 = Add<int>(t13355,t23356);
          int t13358#1 = -1;
          int t23359#1 = Index<int{2},1>(n3339);
          int iy3357#1 = Add<int>(t13358,t23359);
          addr(IMAGE2D<int>) a335A#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3354,iy3357);
          real4 v0333B#1 = LoadVoxels<IMAGE2D<int>,4>(a335A);
          int t1334E#1 = -1;
          int t2334F#1 = Index<int{2},0>(n3339);
          int ix334D#1 = Add<int>(t1334E,t2334F);
          int t13351#1 = 0;
          int t23352#1 = Index<int{2},1>(n3339);
          int iy3350#1 = Add<int>(t13351,t23352);
          addr(IMAGE2D<int>) a3353#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix334D,iy3350);
          real4 v1333C#1 = LoadVoxels<IMAGE2D<int>,4>(a3353);
          int t13347#1 = -1;
          int t23348#1 = Index<int{2},0>(n3339);
          int ix3346#1 = Add<int>(t13347,t23348);
          int t1334A#1 = 1;
          int t2334B#1 = Index<int{2},1>(n3339);
          int iy3349#1 = Add<int>(t1334A,t2334B);
          addr(IMAGE2D<int>) a334C#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3346,iy3349);
          real4 v2333D#1 = LoadVoxels<IMAGE2D<int>,4>(a334C);
          int t13340#1 = -1;
          int t23341#1 = Index<int{2},0>(n3339);
          int ix333F#1 = Add<int>(t13340,t23341);
          int t13343#1 = 2;
          int t23344#1 = Index<int{2},1>(n3339);
          int iy3342#1 = Add<int>(t13343,t23344);
          addr(IMAGE2D<int>) a3345#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix333F,iy3342);
          real4 v3333E#1 = LoadVoxels<IMAGE2D<int>,4>(a3345);
          real fy3366#4 = Index<real2,1>(f3337);
          real r336E#1 = 0.1e1;
          real t3336B#1 = Add<real>(fy3366,r336E);
          real t2336A#1 = fy3366;
          real r336D#1 = 0.1e1;
          real t13369#1 = Sub<real>(fy3366,r336D);
          real r336C#1 = 0.2e1;
          real t03368#1 = Sub<real>(fy3366,r336C);
          real4 a3367#1 = <real4>[t3336B,t2336A,t13369,t03368];
          real4 hy335C#1 = EvalKernel<4,bspln3,0>(a3367);
          real fx335D#4 = Index<real2,0>(f3337);
          real r3365#1 = 0.1e1;
          real t33362#1 = Add<real>(fx335D,r3365);
          real t23361#1 = fx335D;
          real r3364#1 = 0.1e1;
          real t13360#1 = Sub<real>(fx335D,r3364);
          real r3363#1 = 0.2e1;
          real t0335F#1 = Sub<real>(fx335D,r3363);
          real4 a335E#1 = <real4>[t33362,t23361,t13360,t0335F];
          real4 hx335B#4 = EvalKernel<4,bspln3,0>(a335E);
          real t03370#1 = Dot<4>(v0333B,hx335B);
          real t13371#1 = Dot<4>(v1333C,hx335B);
          real t23372#1 = Dot<4>(v2333D,hx335B);
          real t33373#1 = Dot<4>(v3333E,hx335B);
          real4 tv336F#1 = <real4>[t03370,t13371,t23372,t33373];
          real _t3335#1 = Dot<4>(hy335C,tv336F);
          real _t33B2#2 = Sub<real>(_t32B8,_t3335);
          real _t33B4#1 = Mul<real>(_t33B2,_t33B2);
          real score33B6#1 = Add<real>(score32A1,_t33B4);
          goto JOIN33B9
        JOIN33B9:  preds = [ASSIGN33B7,COND32B7]
          real score33B8#2 = phi(score33B6,score32A1)
          real _t33BA#1 = Dot<2>(r011DF,v31117F);
          real _t33BC#1 = Dot<2>(r111E5,v31117F);
          real2 _t33BE#1 = <real2>[_t33BA,_t33BC];
          real2 pos33C0#2 = Add<real2>(_t33BE,_t11F5);
          real2 x33C3#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos33C0);
          bool _t33C2#1 = Inside<IMAGE2D<float>,2>(x33C3,_t1133);
          if _t33C2 then goto ASSIGN33C9 else goto ASSIGN381F
        ASSIGN33C9:  preds = [COND33C6]
          real2 x33C8#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v31117F);
          bool _t33C7#1 = Inside<IMAGE2D<int>,2>(x33C8,_t112F);
          goto JOIN33CD
        JOIN33CD:  preds = [ASSIGN33CA,ASSIGN381F]
          bool _t33CB#1 = phi(_t33C7,_t33CC)
          if _t33CB then goto ASSIGN340E else goto JOIN34D0
        ASSIGN340E:  preds = [COND33CE]
          real2 x33D0#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos33C0);
          real2 nd33D2#2 = Floor<2>(x33D0);
          real2 f33D1#2 = Sub<real2>(x33D0,nd33D2);
          int{2} n33D3#8 = RealToInt<2>(nd33D2);
          int t133EF#1 = -1;
          int t233F0#1 = Index<int{2},0>(n33D3);
          int ix33EE#1 = Add<int>(t133EF,t233F0);
          int t133F2#1 = -1;
          int t233F3#1 = Index<int{2},1>(n33D3);
          int iy33F1#1 = Add<int>(t133F2,t233F3);
          addr(IMAGE2D<float>) a33F4#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix33EE,iy33F1);
          real4 v033D5#1 = LoadVoxels<IMAGE2D<float>,4>(a33F4);
          int t133E8#1 = -1;
          int t233E9#1 = Index<int{2},0>(n33D3);
          int ix33E7#1 = Add<int>(t133E8,t233E9);
          int t133EB#1 = 0;
          int t233EC#1 = Index<int{2},1>(n33D3);
          int iy33EA#1 = Add<int>(t133EB,t233EC);
          addr(IMAGE2D<float>) a33ED#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix33E7,iy33EA);
          real4 v133D6#1 = LoadVoxels<IMAGE2D<float>,4>(a33ED);
          int t133E1#1 = -1;
          int t233E2#1 = Index<int{2},0>(n33D3);
          int ix33E0#1 = Add<int>(t133E1,t233E2);
          int t133E4#1 = 1;
          int t233E5#1 = Index<int{2},1>(n33D3);
          int iy33E3#1 = Add<int>(t133E4,t233E5);
          addr(IMAGE2D<float>) a33E6#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix33E0,iy33E3);
          real4 v233D7#1 = LoadVoxels<IMAGE2D<float>,4>(a33E6);
          int t133DA#1 = -1;
          int t233DB#1 = Index<int{2},0>(n33D3);
          int ix33D9#1 = Add<int>(t133DA,t233DB);
          int t133DD#1 = 2;
          int t233DE#1 = Index<int{2},1>(n33D3);
          int iy33DC#1 = Add<int>(t133DD,t233DE);
          addr(IMAGE2D<float>) a33DF#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix33D9,iy33DC);
          real4 v333D8#1 = LoadVoxels<IMAGE2D<float>,4>(a33DF);
          real fy3400#4 = Index<real2,1>(f33D1);
          real r3408#1 = 0.1e1;
          real t33405#1 = Add<real>(fy3400,r3408);
          real t23404#1 = fy3400;
          real r3407#1 = 0.1e1;
          real t13403#1 = Sub<real>(fy3400,r3407);
          real r3406#1 = 0.2e1;
          real t03402#1 = Sub<real>(fy3400,r3406);
          real4 a3401#1 = <real4>[t33405,t23404,t13403,t03402];
          real4 hy33F6#1 = EvalKernel<4,bspln3,0>(a3401);
          real fx33F7#4 = Index<real2,0>(f33D1);
          real r33FF#1 = 0.1e1;
          real t333FC#1 = Add<real>(fx33F7,r33FF);
          real t233FB#1 = fx33F7;
          real r33FE#1 = 0.1e1;
          real t133FA#1 = Sub<real>(fx33F7,r33FE);
          real r33FD#1 = 0.2e1;
          real t033F9#1 = Sub<real>(fx33F7,r33FD);
          real4 a33F8#1 = <real4>[t333FC,t233FB,t133FA,t033F9];
          real4 hx33F5#4 = EvalKernel<4,bspln3,0>(a33F8);
          real t0340A#1 = Dot<4>(v033D5,hx33F5);
          real t1340B#1 = Dot<4>(v133D6,hx33F5);
          real t2340C#1 = Dot<4>(v233D7,hx33F5);
          real t3340D#1 = Dot<4>(v333D8,hx33F5);
          real4 tv3409#1 = <real4>[t0340A,t1340B,t2340C,t3340D];
          real _t33CF#1 = Dot<4>(hy33F6,tv3409);
          real2 x344D#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v31117F);
          real2 nd344F#2 = Floor<2>(x344D);
          real2 f344E#2 = Sub<real2>(x344D,nd344F);
          int{2} n3450#8 = RealToInt<2>(nd344F);
          int t1346C#1 = -1;
          int t2346D#1 = Index<int{2},0>(n3450);
          int ix346B#1 = Add<int>(t1346C,t2346D);
          int t1346F#1 = -1;
          int t23470#1 = Index<int{2},1>(n3450);
          int iy346E#1 = Add<int>(t1346F,t23470);
          addr(IMAGE2D<int>) a3471#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix346B,iy346E);
          real4 v03452#1 = LoadVoxels<IMAGE2D<int>,4>(a3471);
          int t13465#1 = -1;
          int t23466#1 = Index<int{2},0>(n3450);
          int ix3464#1 = Add<int>(t13465,t23466);
          int t13468#1 = 0;
          int t23469#1 = Index<int{2},1>(n3450);
          int iy3467#1 = Add<int>(t13468,t23469);
          addr(IMAGE2D<int>) a346A#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3464,iy3467);
          real4 v13453#1 = LoadVoxels<IMAGE2D<int>,4>(a346A);
          int t1345E#1 = -1;
          int t2345F#1 = Index<int{2},0>(n3450);
          int ix345D#1 = Add<int>(t1345E,t2345F);
          int t13461#1 = 1;
          int t23462#1 = Index<int{2},1>(n3450);
          int iy3460#1 = Add<int>(t13461,t23462);
          addr(IMAGE2D<int>) a3463#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix345D,iy3460);
          real4 v23454#1 = LoadVoxels<IMAGE2D<int>,4>(a3463);
          int t13457#1 = -1;
          int t23458#1 = Index<int{2},0>(n3450);
          int ix3456#1 = Add<int>(t13457,t23458);
          int t1345A#1 = 2;
          int t2345B#1 = Index<int{2},1>(n3450);
          int iy3459#1 = Add<int>(t1345A,t2345B);
          addr(IMAGE2D<int>) a345C#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3456,iy3459);
          real4 v33455#1 = LoadVoxels<IMAGE2D<int>,4>(a345C);
          real fy347D#4 = Index<real2,1>(f344E);
          real r3485#1 = 0.1e1;
          real t33482#1 = Add<real>(fy347D,r3485);
          real t23481#1 = fy347D;
          real r3484#1 = 0.1e1;
          real t13480#1 = Sub<real>(fy347D,r3484);
          real r3483#1 = 0.2e1;
          real t0347F#1 = Sub<real>(fy347D,r3483);
          real4 a347E#1 = <real4>[t33482,t23481,t13480,t0347F];
          real4 hy3473#1 = EvalKernel<4,bspln3,0>(a347E);
          real fx3474#4 = Index<real2,0>(f344E);
          real r347C#1 = 0.1e1;
          real t33479#1 = Add<real>(fx3474,r347C);
          real t23478#1 = fx3474;
          real r347B#1 = 0.1e1;
          real t13477#1 = Sub<real>(fx3474,r347B);
          real r347A#1 = 0.2e1;
          real t03476#1 = Sub<real>(fx3474,r347A);
          real4 a3475#1 = <real4>[t33479,t23478,t13477,t03476];
          real4 hx3472#4 = EvalKernel<4,bspln3,0>(a3475);
          real t03487#1 = Dot<4>(v03452,hx3472);
          real t13488#1 = Dot<4>(v13453,hx3472);
          real t23489#1 = Dot<4>(v23454,hx3472);
          real t3348A#1 = Dot<4>(v33455,hx3472);
          real4 tv3486#1 = <real4>[t03487,t13488,t23489,t3348A];
          real _t344C#1 = Dot<4>(hy3473,tv3486);
          real _t34C9#2 = Sub<real>(_t33CF,_t344C);
          real _t34CB#1 = Mul<real>(_t34C9,_t34C9);
          real score34CD#1 = Add<real>(score33B8,_t34CB);
          goto JOIN34D0
        JOIN34D0:  preds = [ASSIGN34CE,COND33CE]
          real score34CF#2 = phi(score34CD,score33B8)
          real _t34D1#1 = Dot<2>(r011DF,v321181);
          real _t34D3#1 = Dot<2>(r111E5,v321181);
          real2 _t34D5#1 = <real2>[_t34D1,_t34D3];
          real2 pos34D7#2 = Add<real2>(_t34D5,_t11F5);
          real2 x34DA#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos34D7);
          bool _t34D9#1 = Inside<IMAGE2D<float>,2>(x34DA,_t1133);
          if _t34D9 then goto ASSIGN34E0 else goto ASSIGN381E
        ASSIGN34E0:  preds = [COND34DD]
          real2 x34DF#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v321181);
          bool _t34DE#1 = Inside<IMAGE2D<int>,2>(x34DF,_t112F);
          goto JOIN34E4
        JOIN34E4:  preds = [ASSIGN34E1,ASSIGN381E]
          bool _t34E2#1 = phi(_t34DE,_t34E3)
          if _t34E2 then goto ASSIGN3525 else goto JOIN35E7
        ASSIGN3525:  preds = [COND34E5]
          real2 x34E7#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos34D7);
          real2 nd34E9#2 = Floor<2>(x34E7);
          real2 f34E8#2 = Sub<real2>(x34E7,nd34E9);
          int{2} n34EA#8 = RealToInt<2>(nd34E9);
          int t13506#1 = -1;
          int t23507#1 = Index<int{2},0>(n34EA);
          int ix3505#1 = Add<int>(t13506,t23507);
          int t13509#1 = -1;
          int t2350A#1 = Index<int{2},1>(n34EA);
          int iy3508#1 = Add<int>(t13509,t2350A);
          addr(IMAGE2D<float>) a350B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix3505,iy3508);
          real4 v034EC#1 = LoadVoxels<IMAGE2D<float>,4>(a350B);
          int t134FF#1 = -1;
          int t23500#1 = Index<int{2},0>(n34EA);
          int ix34FE#1 = Add<int>(t134FF,t23500);
          int t13502#1 = 0;
          int t23503#1 = Index<int{2},1>(n34EA);
          int iy3501#1 = Add<int>(t13502,t23503);
          addr(IMAGE2D<float>) a3504#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix34FE,iy3501);
          real4 v134ED#1 = LoadVoxels<IMAGE2D<float>,4>(a3504);
          int t134F8#1 = -1;
          int t234F9#1 = Index<int{2},0>(n34EA);
          int ix34F7#1 = Add<int>(t134F8,t234F9);
          int t134FB#1 = 1;
          int t234FC#1 = Index<int{2},1>(n34EA);
          int iy34FA#1 = Add<int>(t134FB,t234FC);
          addr(IMAGE2D<float>) a34FD#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix34F7,iy34FA);
          real4 v234EE#1 = LoadVoxels<IMAGE2D<float>,4>(a34FD);
          int t134F1#1 = -1;
          int t234F2#1 = Index<int{2},0>(n34EA);
          int ix34F0#1 = Add<int>(t134F1,t234F2);
          int t134F4#1 = 2;
          int t234F5#1 = Index<int{2},1>(n34EA);
          int iy34F3#1 = Add<int>(t134F4,t234F5);
          addr(IMAGE2D<float>) a34F6#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix34F0,iy34F3);
          real4 v334EF#1 = LoadVoxels<IMAGE2D<float>,4>(a34F6);
          real fy3517#4 = Index<real2,1>(f34E8);
          real r351F#1 = 0.1e1;
          real t3351C#1 = Add<real>(fy3517,r351F);
          real t2351B#1 = fy3517;
          real r351E#1 = 0.1e1;
          real t1351A#1 = Sub<real>(fy3517,r351E);
          real r351D#1 = 0.2e1;
          real t03519#1 = Sub<real>(fy3517,r351D);
          real4 a3518#1 = <real4>[t3351C,t2351B,t1351A,t03519];
          real4 hy350D#1 = EvalKernel<4,bspln3,0>(a3518);
          real fx350E#4 = Index<real2,0>(f34E8);
          real r3516#1 = 0.1e1;
          real t33513#1 = Add<real>(fx350E,r3516);
          real t23512#1 = fx350E;
          real r3515#1 = 0.1e1;
          real t13511#1 = Sub<real>(fx350E,r3515);
          real r3514#1 = 0.2e1;
          real t03510#1 = Sub<real>(fx350E,r3514);
          real4 a350F#1 = <real4>[t33513,t23512,t13511,t03510];
          real4 hx350C#4 = EvalKernel<4,bspln3,0>(a350F);
          real t03521#1 = Dot<4>(v034EC,hx350C);
          real t13522#1 = Dot<4>(v134ED,hx350C);
          real t23523#1 = Dot<4>(v234EE,hx350C);
          real t33524#1 = Dot<4>(v334EF,hx350C);
          real4 tv3520#1 = <real4>[t03521,t13522,t23523,t33524];
          real _t34E6#1 = Dot<4>(hy350D,tv3520);
          real2 x3564#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v321181);
          real2 nd3566#2 = Floor<2>(x3564);
          real2 f3565#2 = Sub<real2>(x3564,nd3566);
          int{2} n3567#8 = RealToInt<2>(nd3566);
          int t13583#1 = -1;
          int t23584#1 = Index<int{2},0>(n3567);
          int ix3582#1 = Add<int>(t13583,t23584);
          int t13586#1 = -1;
          int t23587#1 = Index<int{2},1>(n3567);
          int iy3585#1 = Add<int>(t13586,t23587);
          addr(IMAGE2D<int>) a3588#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3582,iy3585);
          real4 v03569#1 = LoadVoxels<IMAGE2D<int>,4>(a3588);
          int t1357C#1 = -1;
          int t2357D#1 = Index<int{2},0>(n3567);
          int ix357B#1 = Add<int>(t1357C,t2357D);
          int t1357F#1 = 0;
          int t23580#1 = Index<int{2},1>(n3567);
          int iy357E#1 = Add<int>(t1357F,t23580);
          addr(IMAGE2D<int>) a3581#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix357B,iy357E);
          real4 v1356A#1 = LoadVoxels<IMAGE2D<int>,4>(a3581);
          int t13575#1 = -1;
          int t23576#1 = Index<int{2},0>(n3567);
          int ix3574#1 = Add<int>(t13575,t23576);
          int t13578#1 = 1;
          int t23579#1 = Index<int{2},1>(n3567);
          int iy3577#1 = Add<int>(t13578,t23579);
          addr(IMAGE2D<int>) a357A#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3574,iy3577);
          real4 v2356B#1 = LoadVoxels<IMAGE2D<int>,4>(a357A);
          int t1356E#1 = -1;
          int t2356F#1 = Index<int{2},0>(n3567);
          int ix356D#1 = Add<int>(t1356E,t2356F);
          int t13571#1 = 2;
          int t23572#1 = Index<int{2},1>(n3567);
          int iy3570#1 = Add<int>(t13571,t23572);
          addr(IMAGE2D<int>) a3573#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix356D,iy3570);
          real4 v3356C#1 = LoadVoxels<IMAGE2D<int>,4>(a3573);
          real fy3594#4 = Index<real2,1>(f3565);
          real r359C#1 = 0.1e1;
          real t33599#1 = Add<real>(fy3594,r359C);
          real t23598#1 = fy3594;
          real r359B#1 = 0.1e1;
          real t13597#1 = Sub<real>(fy3594,r359B);
          real r359A#1 = 0.2e1;
          real t03596#1 = Sub<real>(fy3594,r359A);
          real4 a3595#1 = <real4>[t33599,t23598,t13597,t03596];
          real4 hy358A#1 = EvalKernel<4,bspln3,0>(a3595);
          real fx358B#4 = Index<real2,0>(f3565);
          real r3593#1 = 0.1e1;
          real t33590#1 = Add<real>(fx358B,r3593);
          real t2358F#1 = fx358B;
          real r3592#1 = 0.1e1;
          real t1358E#1 = Sub<real>(fx358B,r3592);
          real r3591#1 = 0.2e1;
          real t0358D#1 = Sub<real>(fx358B,r3591);
          real4 a358C#1 = <real4>[t33590,t2358F,t1358E,t0358D];
          real4 hx3589#4 = EvalKernel<4,bspln3,0>(a358C);
          real t0359E#1 = Dot<4>(v03569,hx3589);
          real t1359F#1 = Dot<4>(v1356A,hx3589);
          real t235A0#1 = Dot<4>(v2356B,hx3589);
          real t335A1#1 = Dot<4>(v3356C,hx3589);
          real4 tv359D#1 = <real4>[t0359E,t1359F,t235A0,t335A1];
          real _t3563#1 = Dot<4>(hy358A,tv359D);
          real _t35E0#2 = Sub<real>(_t34E6,_t3563);
          real _t35E2#1 = Mul<real>(_t35E0,_t35E0);
          real score35E4#1 = Add<real>(score34CF,_t35E2);
          goto JOIN35E7
        JOIN35E7:  preds = [ASSIGN35E5,COND34E5]
          real score35E6#2 = phi(score35E4,score34CF)
          real _t35E8#1 = Dot<2>(r011DF,v331183);
          real _t35EA#1 = Dot<2>(r111E5,v331183);
          real2 _t35EC#1 = <real2>[_t35E8,_t35EA];
          real2 pos35EE#2 = Add<real2>(_t35EC,_t11F5);
          real2 x35F1#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos35EE);
          bool _t35F0#1 = Inside<IMAGE2D<float>,2>(x35F1,_t1133);
          if _t35F0 then goto ASSIGN35F7 else goto ASSIGN381D
        ASSIGN35F7:  preds = [COND35F4]
          real2 x35F6#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v331183);
          bool _t35F5#1 = Inside<IMAGE2D<int>,2>(x35F6,_t112F);
          goto JOIN35FB
        JOIN35FB:  preds = [ASSIGN35F8,ASSIGN381D]
          bool _t35F9#1 = phi(_t35F5,_t35FA)
          if _t35F9 then goto ASSIGN363C else goto JOIN36FE
        ASSIGN363C:  preds = [COND35FC]
          real2 x35FE#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos35EE);
          real2 nd3600#2 = Floor<2>(x35FE);
          real2 f35FF#2 = Sub<real2>(x35FE,nd3600);
          int{2} n3601#8 = RealToInt<2>(nd3600);
          int t1361D#1 = -1;
          int t2361E#1 = Index<int{2},0>(n3601);
          int ix361C#1 = Add<int>(t1361D,t2361E);
          int t13620#1 = -1;
          int t23621#1 = Index<int{2},1>(n3601);
          int iy361F#1 = Add<int>(t13620,t23621);
          addr(IMAGE2D<float>) a3622#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix361C,iy361F);
          real4 v03603#1 = LoadVoxels<IMAGE2D<float>,4>(a3622);
          int t13616#1 = -1;
          int t23617#1 = Index<int{2},0>(n3601);
          int ix3615#1 = Add<int>(t13616,t23617);
          int t13619#1 = 0;
          int t2361A#1 = Index<int{2},1>(n3601);
          int iy3618#1 = Add<int>(t13619,t2361A);
          addr(IMAGE2D<float>) a361B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix3615,iy3618);
          real4 v13604#1 = LoadVoxels<IMAGE2D<float>,4>(a361B);
          int t1360F#1 = -1;
          int t23610#1 = Index<int{2},0>(n3601);
          int ix360E#1 = Add<int>(t1360F,t23610);
          int t13612#1 = 1;
          int t23613#1 = Index<int{2},1>(n3601);
          int iy3611#1 = Add<int>(t13612,t23613);
          addr(IMAGE2D<float>) a3614#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix360E,iy3611);
          real4 v23605#1 = LoadVoxels<IMAGE2D<float>,4>(a3614);
          int t13608#1 = -1;
          int t23609#1 = Index<int{2},0>(n3601);
          int ix3607#1 = Add<int>(t13608,t23609);
          int t1360B#1 = 2;
          int t2360C#1 = Index<int{2},1>(n3601);
          int iy360A#1 = Add<int>(t1360B,t2360C);
          addr(IMAGE2D<float>) a360D#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix3607,iy360A);
          real4 v33606#1 = LoadVoxels<IMAGE2D<float>,4>(a360D);
          real fy362E#4 = Index<real2,1>(f35FF);
          real r3636#1 = 0.1e1;
          real t33633#1 = Add<real>(fy362E,r3636);
          real t23632#1 = fy362E;
          real r3635#1 = 0.1e1;
          real t13631#1 = Sub<real>(fy362E,r3635);
          real r3634#1 = 0.2e1;
          real t03630#1 = Sub<real>(fy362E,r3634);
          real4 a362F#1 = <real4>[t33633,t23632,t13631,t03630];
          real4 hy3624#1 = EvalKernel<4,bspln3,0>(a362F);
          real fx3625#4 = Index<real2,0>(f35FF);
          real r362D#1 = 0.1e1;
          real t3362A#1 = Add<real>(fx3625,r362D);
          real t23629#1 = fx3625;
          real r362C#1 = 0.1e1;
          real t13628#1 = Sub<real>(fx3625,r362C);
          real r362B#1 = 0.2e1;
          real t03627#1 = Sub<real>(fx3625,r362B);
          real4 a3626#1 = <real4>[t3362A,t23629,t13628,t03627];
          real4 hx3623#4 = EvalKernel<4,bspln3,0>(a3626);
          real t03638#1 = Dot<4>(v03603,hx3623);
          real t13639#1 = Dot<4>(v13604,hx3623);
          real t2363A#1 = Dot<4>(v23605,hx3623);
          real t3363B#1 = Dot<4>(v33606,hx3623);
          real4 tv3637#1 = <real4>[t03638,t13639,t2363A,t3363B];
          real _t35FD#1 = Dot<4>(hy3624,tv3637);
          real2 x367B#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v331183);
          real2 nd367D#2 = Floor<2>(x367B);
          real2 f367C#2 = Sub<real2>(x367B,nd367D);
          int{2} n367E#8 = RealToInt<2>(nd367D);
          int t1369A#1 = -1;
          int t2369B#1 = Index<int{2},0>(n367E);
          int ix3699#1 = Add<int>(t1369A,t2369B);
          int t1369D#1 = -1;
          int t2369E#1 = Index<int{2},1>(n367E);
          int iy369C#1 = Add<int>(t1369D,t2369E);
          addr(IMAGE2D<int>) a369F#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3699,iy369C);
          real4 v03680#1 = LoadVoxels<IMAGE2D<int>,4>(a369F);
          int t13693#1 = -1;
          int t23694#1 = Index<int{2},0>(n367E);
          int ix3692#1 = Add<int>(t13693,t23694);
          int t13696#1 = 0;
          int t23697#1 = Index<int{2},1>(n367E);
          int iy3695#1 = Add<int>(t13696,t23697);
          addr(IMAGE2D<int>) a3698#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3692,iy3695);
          real4 v13681#1 = LoadVoxels<IMAGE2D<int>,4>(a3698);
          int t1368C#1 = -1;
          int t2368D#1 = Index<int{2},0>(n367E);
          int ix368B#1 = Add<int>(t1368C,t2368D);
          int t1368F#1 = 1;
          int t23690#1 = Index<int{2},1>(n367E);
          int iy368E#1 = Add<int>(t1368F,t23690);
          addr(IMAGE2D<int>) a3691#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix368B,iy368E);
          real4 v23682#1 = LoadVoxels<IMAGE2D<int>,4>(a3691);
          int t13685#1 = -1;
          int t23686#1 = Index<int{2},0>(n367E);
          int ix3684#1 = Add<int>(t13685,t23686);
          int t13688#1 = 2;
          int t23689#1 = Index<int{2},1>(n367E);
          int iy3687#1 = Add<int>(t13688,t23689);
          addr(IMAGE2D<int>) a368A#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3684,iy3687);
          real4 v33683#1 = LoadVoxels<IMAGE2D<int>,4>(a368A);
          real fy36AB#4 = Index<real2,1>(f367C);
          real r36B3#1 = 0.1e1;
          real t336B0#1 = Add<real>(fy36AB,r36B3);
          real t236AF#1 = fy36AB;
          real r36B2#1 = 0.1e1;
          real t136AE#1 = Sub<real>(fy36AB,r36B2);
          real r36B1#1 = 0.2e1;
          real t036AD#1 = Sub<real>(fy36AB,r36B1);
          real4 a36AC#1 = <real4>[t336B0,t236AF,t136AE,t036AD];
          real4 hy36A1#1 = EvalKernel<4,bspln3,0>(a36AC);
          real fx36A2#4 = Index<real2,0>(f367C);
          real r36AA#1 = 0.1e1;
          real t336A7#1 = Add<real>(fx36A2,r36AA);
          real t236A6#1 = fx36A2;
          real r36A9#1 = 0.1e1;
          real t136A5#1 = Sub<real>(fx36A2,r36A9);
          real r36A8#1 = 0.2e1;
          real t036A4#1 = Sub<real>(fx36A2,r36A8);
          real4 a36A3#1 = <real4>[t336A7,t236A6,t136A5,t036A4];
          real4 hx36A0#4 = EvalKernel<4,bspln3,0>(a36A3);
          real t036B5#1 = Dot<4>(v03680,hx36A0);
          real t136B6#1 = Dot<4>(v13681,hx36A0);
          real t236B7#1 = Dot<4>(v23682,hx36A0);
          real t336B8#1 = Dot<4>(v33683,hx36A0);
          real4 tv36B4#1 = <real4>[t036B5,t136B6,t236B7,t336B8];
          real _t367A#1 = Dot<4>(hy36A1,tv36B4);
          real _t36F7#2 = Sub<real>(_t35FD,_t367A);
          real _t36F9#1 = Mul<real>(_t36F7,_t36F7);
          real score36FB#1 = Add<real>(score35E6,_t36F9);
          goto JOIN36FE
        JOIN36FE:  preds = [ASSIGN36FC,COND35FC]
          real score36FD#2 = phi(score36FB,score35E6)
          real _t36FF#1 = Dot<2>(r011DF,v341185);
          real _t3701#1 = Dot<2>(r111E5,v341185);
          real2 _t3703#1 = <real2>[_t36FF,_t3701];
          real2 pos3705#3 = Add<real2>(_t3703,_t11F5);
          real2 x3708#1 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos3705);
          bool _t3707#1 = Inside<IMAGE2D<float>,2>(x3708,_t1133);
          if _t3707 then goto ASSIGN370E else goto ASSIGN381C
        ASSIGN370E:  preds = [COND370B]
          real2 x370D#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v341185);
          bool _t370C#1 = Inside<IMAGE2D<int>,2>(x370D,_t112F);
          goto JOIN3712
        JOIN3712:  preds = [ASSIGN370F,ASSIGN381C]
          bool _t3710#1 = phi(_t370C,_t3711)
          if _t3710 then goto ASSIGN3753 else goto JOIN3815
        ASSIGN3753:  preds = [COND3713]
          real2 x3715#2 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos3705);
          real2 nd3717#2 = Floor<2>(x3715);
          real2 f3716#2 = Sub<real2>(x3715,nd3717);
          int{2} n3718#8 = RealToInt<2>(nd3717);
          int t13734#1 = -1;
          int t23735#1 = Index<int{2},0>(n3718);
          int ix3733#1 = Add<int>(t13734,t23735);
          int t13737#1 = -1;
          int t23738#1 = Index<int{2},1>(n3718);
          int iy3736#1 = Add<int>(t13737,t23738);
          addr(IMAGE2D<float>) a3739#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix3733,iy3736);
          real4 v0371A#1 = LoadVoxels<IMAGE2D<float>,4>(a3739);
          int t1372D#1 = -1;
          int t2372E#1 = Index<int{2},0>(n3718);
          int ix372C#1 = Add<int>(t1372D,t2372E);
          int t13730#1 = 0;
          int t23731#1 = Index<int{2},1>(n3718);
          int iy372F#1 = Add<int>(t13730,t23731);
          addr(IMAGE2D<float>) a3732#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix372C,iy372F);
          real4 v1371B#1 = LoadVoxels<IMAGE2D<float>,4>(a3732);
          int t13726#1 = -1;
          int t23727#1 = Index<int{2},0>(n3718);
          int ix3725#1 = Add<int>(t13726,t23727);
          int t13729#1 = 1;
          int t2372A#1 = Index<int{2},1>(n3718);
          int iy3728#1 = Add<int>(t13729,t2372A);
          addr(IMAGE2D<float>) a372B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix3725,iy3728);
          real4 v2371C#1 = LoadVoxels<IMAGE2D<float>,4>(a372B);
          int t1371F#1 = -1;
          int t23720#1 = Index<int{2},0>(n3718);
          int ix371E#1 = Add<int>(t1371F,t23720);
          int t13722#1 = 2;
          int t23723#1 = Index<int{2},1>(n3718);
          int iy3721#1 = Add<int>(t13722,t23723);
          addr(IMAGE2D<float>) a3724#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix371E,iy3721);
          real4 v3371D#1 = LoadVoxels<IMAGE2D<float>,4>(a3724);
          real fy3745#4 = Index<real2,1>(f3716);
          real r374D#1 = 0.1e1;
          real t3374A#1 = Add<real>(fy3745,r374D);
          real t23749#1 = fy3745;
          real r374C#1 = 0.1e1;
          real t13748#1 = Sub<real>(fy3745,r374C);
          real r374B#1 = 0.2e1;
          real t03747#1 = Sub<real>(fy3745,r374B);
          real4 a3746#1 = <real4>[t3374A,t23749,t13748,t03747];
          real4 hy373B#1 = EvalKernel<4,bspln3,0>(a3746);
          real fx373C#4 = Index<real2,0>(f3716);
          real r3744#1 = 0.1e1;
          real t33741#1 = Add<real>(fx373C,r3744);
          real t23740#1 = fx373C;
          real r3743#1 = 0.1e1;
          real t1373F#1 = Sub<real>(fx373C,r3743);
          real r3742#1 = 0.2e1;
          real t0373E#1 = Sub<real>(fx373C,r3742);
          real4 a373D#1 = <real4>[t33741,t23740,t1373F,t0373E];
          real4 hx373A#4 = EvalKernel<4,bspln3,0>(a373D);
          real t0374F#1 = Dot<4>(v0371A,hx373A);
          real t13750#1 = Dot<4>(v1371B,hx373A);
          real t23751#1 = Dot<4>(v2371C,hx373A);
          real t33752#1 = Dot<4>(v3371D,hx373A);
          real4 tv374E#1 = <real4>[t0374F,t13750,t23751,t33752];
          real _t3714#1 = Dot<4>(hy373B,tv374E);
          real2 x3792#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v341185);
          real2 nd3794#2 = Floor<2>(x3792);
          real2 f3793#2 = Sub<real2>(x3792,nd3794);
          int{2} n3795#8 = RealToInt<2>(nd3794);
          int t137B1#1 = -1;
          int t237B2#1 = Index<int{2},0>(n3795);
          int ix37B0#1 = Add<int>(t137B1,t237B2);
          int t137B4#1 = -1;
          int t237B5#1 = Index<int{2},1>(n3795);
          int iy37B3#1 = Add<int>(t137B4,t237B5);
          addr(IMAGE2D<int>) a37B6#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix37B0,iy37B3);
          real4 v03797#1 = LoadVoxels<IMAGE2D<int>,4>(a37B6);
          int t137AA#1 = -1;
          int t237AB#1 = Index<int{2},0>(n3795);
          int ix37A9#1 = Add<int>(t137AA,t237AB);
          int t137AD#1 = 0;
          int t237AE#1 = Index<int{2},1>(n3795);
          int iy37AC#1 = Add<int>(t137AD,t237AE);
          addr(IMAGE2D<int>) a37AF#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix37A9,iy37AC);
          real4 v13798#1 = LoadVoxels<IMAGE2D<int>,4>(a37AF);
          int t137A3#1 = -1;
          int t237A4#1 = Index<int{2},0>(n3795);
          int ix37A2#1 = Add<int>(t137A3,t237A4);
          int t137A6#1 = 1;
          int t237A7#1 = Index<int{2},1>(n3795);
          int iy37A5#1 = Add<int>(t137A6,t237A7);
          addr(IMAGE2D<int>) a37A8#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix37A2,iy37A5);
          real4 v23799#1 = LoadVoxels<IMAGE2D<int>,4>(a37A8);
          int t1379C#1 = -1;
          int t2379D#1 = Index<int{2},0>(n3795);
          int ix379B#1 = Add<int>(t1379C,t2379D);
          int t1379F#1 = 2;
          int t237A0#1 = Index<int{2},1>(n3795);
          int iy379E#1 = Add<int>(t1379F,t237A0);
          addr(IMAGE2D<int>) a37A1#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix379B,iy379E);
          real4 v3379A#1 = LoadVoxels<IMAGE2D<int>,4>(a37A1);
          real fy37C2#4 = Index<real2,1>(f3793);
          real r37CA#1 = 0.1e1;
          real t337C7#1 = Add<real>(fy37C2,r37CA);
          real t237C6#1 = fy37C2;
          real r37C9#1 = 0.1e1;
          real t137C5#1 = Sub<real>(fy37C2,r37C9);
          real r37C8#1 = 0.2e1;
          real t037C4#1 = Sub<real>(fy37C2,r37C8);
          real4 a37C3#1 = <real4>[t337C7,t237C6,t137C5,t037C4];
          real4 hy37B8#1 = EvalKernel<4,bspln3,0>(a37C3);
          real fx37B9#4 = Index<real2,0>(f3793);
          real r37C1#1 = 0.1e1;
          real t337BE#1 = Add<real>(fx37B9,r37C1);
          real t237BD#1 = fx37B9;
          real r37C0#1 = 0.1e1;
          real t137BC#1 = Sub<real>(fx37B9,r37C0);
          real r37BF#1 = 0.2e1;
          real t037BB#1 = Sub<real>(fx37B9,r37BF);
          real4 a37BA#1 = <real4>[t337BE,t237BD,t137BC,t037BB];
          real4 hx37B7#4 = EvalKernel<4,bspln3,0>(a37BA);
          real t037CC#1 = Dot<4>(v03797,hx37B7);
          real t137CD#1 = Dot<4>(v13798,hx37B7);
          real t237CE#1 = Dot<4>(v23799,hx37B7);
          real t337CF#1 = Dot<4>(v3379A,hx37B7);
          real4 tv37CB#1 = <real4>[t037CC,t137CD,t237CE,t337CF];
          real _t3791#1 = Dot<4>(hy37B8,tv37CB);
          real _t380E#2 = Sub<real>(_t3714,_t3791);
          real _t3810#1 = Mul<real>(_t380E,_t380E);
          real score3812#1 = Add<real>(score36FD,_t3810);
          goto JOIN3815
        JOIN3815:  preds = [ASSIGN3813,COND3713]
          real score3814#1 = phi(score3812,score36FD)
          self.t = t11C1;
          self.score = score3814;
          self.r0 = r011DF;
          self.r1 = r111E5;
          self.pos = pos3705;
          stabilize ()
        ASSIGN381C:  preds = [COND370B]
          bool _t3711#1 = false;
          goto JOIN3712
        ASSIGN381D:  preds = [COND35F4]
          bool _t35FA#1 = false;
          goto JOIN35FB
        ASSIGN381E:  preds = [COND34DD]
          bool _t34E3#1 = false;
          goto JOIN34E4
        ASSIGN381F:  preds = [COND33C6]
          bool _t33CC#1 = false;
          goto JOIN33CD
        ASSIGN3820:  preds = [COND32AF]
          bool _t32B5#1 = false;
          goto JOIN32B6
        ASSIGN3821:  preds = [COND3198]
          bool _t319E#1 = false;
          goto JOIN319F
        ASSIGN3822:  preds = [COND3081]
          bool _t3087#1 = false;
          goto JOIN3088
        ASSIGN3823:  preds = [COND2F6A]
          bool _t2F70#1 = false;
          goto JOIN2F71
        ASSIGN3824:  preds = [COND2E53]
          bool _t2E59#1 = false;
          goto JOIN2E5A
        ASSIGN3825:  preds = [COND2D3C]
          bool _t2D42#1 = false;
          goto JOIN2D43
        ASSIGN3826:  preds = [COND2C25]
          bool _t2C2B#1 = false;
          goto JOIN2C2C
        ASSIGN3827:  preds = [COND2B0E]
          bool _t2B14#1 = false;
          goto JOIN2B15
        ASSIGN3828:  preds = [COND29F7]
          bool _t29FD#1 = false;
          goto JOIN29FE
        ASSIGN3829:  preds = [COND28E0]
          bool _t28E6#1 = false;
          goto JOIN28E7
        ASSIGN382A:  preds = [COND27C9]
          bool _t27CF#1 = false;
          goto JOIN27D0
        ASSIGN382B:  preds = [COND26B2]
          bool _t26B8#1 = false;
          goto JOIN26B9
        ASSIGN382C:  preds = [COND259B]
          bool _t25A1#1 = false;
          goto JOIN25A2
        ASSIGN382D:  preds = [COND2484]
          bool _t248A#1 = false;
          goto JOIN248B
        ASSIGN382E:  preds = [COND236D]
          bool _t2373#1 = false;
          goto JOIN2374
        ASSIGN382F:  preds = [COND2256]
          bool _t225C#1 = false;
          goto JOIN225D
        ASSIGN3830:  preds = [COND213F]
          bool _t2145#1 = false;
          goto JOIN2146
        ASSIGN3831:  preds = [COND2028]
          bool _t202E#1 = false;
          goto JOIN202F
        ASSIGN3832:  preds = [COND1F11]
          bool _t1F17#1 = false;
          goto JOIN1F18
        ASSIGN3833:  preds = [COND1DFA]
          bool _t1E00#1 = false;
          goto JOIN1E01
        ASSIGN3834:  preds = [COND1CE3]
          bool _t1CE9#1 = false;
          goto JOIN1CEA
        ASSIGN3835:  preds = [COND1BCC]
          bool _t1BD2#1 = false;
          goto JOIN1BD3
        ASSIGN3836:  preds = [COND1AB5]
          bool _t1ABB#1 = false;
          goto JOIN1ABC
        ASSIGN3837:  preds = [COND199E]
          bool _t19A4#1 = false;
          goto JOIN19A5
        ASSIGN3838:  preds = [COND1887]
          bool _t188D#1 = false;
          goto JOIN188E
        ASSIGN3839:  preds = [COND1770]
          bool _t1776#1 = false;
          goto JOIN1777
        ASSIGN383A:  preds = [COND1659]
          bool _t165F#1 = false;
          goto JOIN1660
        ASSIGN383B:  preds = [COND1542]
          bool _t1548#1 = false;
          goto JOIN1549
        ASSIGN383C:  preds = [COND142B]
          bool _t1431#1 = false;
          goto JOIN1432
        ASSIGN383D:  preds = [COND1314]
          bool _t131A#1 = false;
          goto JOIN131B
        ASSIGN383E:  preds = [COND11FD]
          bool _t1203#1 = false;
          goto JOIN1204
    end Update
    method Stabilize
        ENTRY3840:  preds = []
          real3 t3841#1 = self.t;
          real score3843#1 = self.score;
          real2 r03845#1 = self.r0;
          real2 r13847#1 = self.r1;
          real2 pos3849#1 = self.pos;
          self.t = t3841;
          self.score = score3843;
          self.r0 = r03845;
          self.r1 = r13847;
          self.pos = pos3849;
          return ()
    end Stabilize
  end R
#### end program ####
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
++ mid-il:redundant-assign
##### MidIL after value numbering ####
## properties
  none
## globals
  global int T1187#0
  global int F1188#0
  global real2 v001139#4
  global real2 v01113F#4
  global real2 v021145#4
  global real2 v031147#4
  global real2 v041149#4
  global real2 v05114B#4
  global real2 v06114D#4
  global real2 v07114F#4
  global real2 v081151#4
  global real2 v091153#4
  global real2 v101155#4
  global real2 v111157#4
  global real2 v121159#4
  global real2 v13115B#4
  global real2 v14115D#4
  global real2 v15115F#4
  global real2 v161161#4
  global real2 v171163#4
  global real2 v181165#4
  global real2 v191167#4
  global real2 v201169#4
  global real2 v21116B#4
  global real2 v22116D#4
  global real2 v23116F#4
  global real2 v241171#4
  global real2 v251173#4
  global real2 v261175#4
  global real2 v271177#4
  global real2 v281179#4
  global real2 v29117B#4
  global real2 v30117D#4
  global real2 v31117F#4
  global real2 v321181#4
  global real2 v331183#4
  global real2 v341185#4
  global string _t112D#1
  global image(IMAGE2D<int>) _t112F#245
  global int _t112B#0
  global string _t1131#1
  global image(IMAGE2D<float>) _t1133#245
  global real _t1137#12
  global real _t113D#12
  global real _t1143#12
  global real _t1141#13
  global real _t1135#11
  global real _t113B#13
## global initialization
  ENTRY112A:  preds = []
    int _t112B#0 = 0;
    string _t112D#1 = "square-template.nrrd";
    image(IMAGE2D<int>) _t112F#245 = LoadImage<IMAGE2D<int>>(_t112D);
    string _t1131#1 = "square-rotate.nrrd";
    image(IMAGE2D<float>) _t1133#245 = LoadImage<IMAGE2D<float>>(_t1131);
    real _t1135#11 = 0.5e0;
    real _t1137#12 = Neg<real>(_t1135);
    real2 v001139#4 = <real2>[_t1137,_t1137];
    real _t113B#13 = 0.3e0;
    real _t113D#12 = Neg<real>(_t113B);
    real2 v01113F#4 = <real2>[_t1137,_t113D];
    real _t1141#13 = 0.1e0;
    real _t1143#12 = Neg<real>(_t1141);
    real2 v021145#4 = <real2>[_t1137,_t1143];
    real2 v031147#4 = <real2>[_t1137,_t1141];
    real2 v041149#4 = <real2>[_t1137,_t113B];
    real2 v05114B#4 = <real2>[_t1137,_t1135];
    real2 v06114D#4 = <real2>[_t113D,_t1137];
    real2 v07114F#4 = <real2>[_t113D,_t113D];
    real2 v081151#4 = <real2>[_t113D,_t1143];
    real2 v091153#4 = <real2>[_t113D,_t1141];
    real2 v101155#4 = <real2>[_t113D,_t113B];
    real2 v111157#4 = <real2>[_t113D,_t1135];
    real2 v121159#4 = <real2>[_t1143,_t1137];
    real2 v13115B#4 = <real2>[_t1143,_t113D];
    real2 v14115D#4 = <real2>[_t1143,_t1143];
    real2 v15115F#4 = <real2>[_t1143,_t1141];
    real2 v161161#4 = <real2>[_t1143,_t113B];
    real2 v171163#4 = <real2>[_t1143,_t1135];
    real2 v181165#4 = <real2>[_t1141,_t1137];
    real2 v191167#4 = <real2>[_t1141,_t113D];
    real2 v201169#4 = <real2>[_t1141,_t1143];
    real2 v21116B#4 = <real2>[_t1141,_t1141];
    real2 v22116D#4 = <real2>[_t1141,_t113B];
    real2 v23116F#4 = <real2>[_t1141,_t1135];
    real2 v241171#4 = <real2>[_t113B,_t1137];
    real2 v251173#4 = <real2>[_t113B,_t113D];
    real2 v261175#4 = <real2>[_t113B,_t1143];
    real2 v271177#4 = <real2>[_t113B,_t1141];
    real2 v281179#4 = <real2>[_t113B,_t113B];
    real2 v29117B#4 = <real2>[_t113B,_t1135];
    real2 v30117D#4 = <real2>[_t1135,_t1137];
    real2 v31117F#4 = <real2>[_t1135,_t113D];
    real2 v321181#4 = <real2>[_t1135,_t1143];
    real2 v331183#4 = <real2>[_t1135,_t1141];
    real2 v341185#4 = <real2>[_t1135,_t113B];
    return (T1187,F1188,v001139,v01113F,v021145,v031147,v041149,v05114B,v06114D,v07114F,v081151,v091153,v101155,v111157,v121159,v13115B,v14115D,v15115F,v161161,v171163,v181165,v191167,v201169,v21116B,v22116D,v23116F,v241171,v251173,v261175,v271177,v281179,v29117B,v30117D,v31117F,v321181,v331183,v341185,_t112D,_t112F,_t112B,_t1131,_t1133,_t1137,_t113D,_t1143,_t1141,_t1135,_t113B)
## initially
  ARRAY
    ENTRY118F:  preds = []
      int _t118B#4 = 0;
      int _t118C#4 = 60;
      live vars = (_t118C,_t118B)
    for int i118A#1 = _t118B .. _t118C
      for int j118D#1 = _t118B .. _t118C
        for int k118E#1 = _t118B .. _t118C
          ENTRY1193:  preds = []
            live vars = ()
          new R(i118A,j118D,k118E);
## strands
  strand R (int i1195#1, int j1196#1, int k1197#1)
    state: real3 self.t;output real self.score;real2 self.r0;real2 self.r1;real2 self.pos;
      ENTRY119D:  preds = []
        real _t119E#1 = IntToReal(i1195);
        real _t11A0#3 = 0.60e2;
        real _t11A2#1 = Div<real>(_t119E,_t11A0);
        real _t11A4#3 = 0.5e0;
        real _t11A6#1 = Sub<real>(_t11A2,_t11A4);
        real _t11A8#1 = IntToReal(j1196);
        real _t11AA#1 = Div<real>(_t11A8,_t11A0);
        real _t11AC#1 = Sub<real>(_t11AA,_t11A4);
        real _t11AE#1 = IntToReal(k1197);
        real _t11B0#1 = Div<real>(_t11AE,_t11A0);
        real _t11B2#1 = Sub<real>(_t11B0,_t11A4);
        real3 t11B4#1 = <real3>[_t11A6,_t11AC,_t11B2];
        real score11B6#3 = 0.0;
        real2 r011B8#3 = <real2>[score11B6,score11B6];
        self.t = t11B4;
        self.score = score11B6;
        self.r0 = r011B8;
        self.r1 = r011B8;
        self.pos = r011B8;
        strand_init ()
    method Update
        ENTRY11C0:  preds = []
          real3 t11C1#4 = self.t;
          real score11C3#2 = self.score;
          real _t11C5#282 = 0.1e1;
          real _t11C7#143 = 0.2e1;
          int _t11C9#71 = 2;
          real _t11CB#6 = Subscript<real3>(t11C1,_t11C9);
          real _t11CD#1 = Mul<real>(_t11C7,_t11CB);
          real _t11CF#1 = Mul<real>(_t11CD,_t11CB);
          real _t11D1#2 = Sub<real>(_t11C5,_t11CF);
          real _t11D3#1 = Neg<real>(_t11C7);
          real _t11D5#1 = Mul<real>(_t11CB,_t11CB);
          real _t11D7#1 = Sub<real>(_t11C5,_t11D5);
          real _t11D9#2 = sqrt(_t11D7);
          real _t11DB#1 = Mul<real>(_t11D3,_t11D9);
          real _t11DD#1 = Mul<real>(_t11DB,_t11CB);
          real2 r011DF#36 = <real2>[_t11D1,_t11DD];
          real _t11E1#1 = Mul<real>(_t11C7,_t11D9);
          real _t11E3#1 = Mul<real>(_t11E1,_t11CB);
          real2 r111E5#36 = <real2>[_t11E3,_t11D1];
          real _t11E7#1 = Dot<2>(r011DF,v001139);
          real _t11E9#1 = Dot<2>(r111E5,v001139);
          real2 _t11EB#1 = <real2>[_t11E7,_t11E9];
          int _t11ED#71 = 0;
          real _t11EF#1 = Subscript<real3>(t11C1,_t11ED);
          int _t11F1#71 = 1;
          real _t11F3#1 = Subscript<real3>(t11C1,_t11F1);
          real2 _t11F5#35 = <real2>[_t11EF,_t11F3];
          real2 pos11F7#2 = Add<real2>(_t11EB,_t11F5);
          real2 x11FA#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos11F7);
          bool _t11F9#1 = Inside<IMAGE2D<float>,2>(x11FA,_t1133);
          if _t11F9 then goto ASSIGN1200 else goto ASSIGN383E
        ASSIGN1200:  preds = [COND11FD]
          real2 x11FF#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v001139);
          bool _t11FE#1 = Inside<IMAGE2D<int>,2>(x11FF,_t112F);
          goto JOIN1204
        JOIN1204:  preds = [ASSIGN1201,ASSIGN383E]
          bool _t1202#1 = phi(_t11FE,_t1203)
          if _t1202 then goto ASSIGN3851 else goto JOIN1307
        ASSIGN3851:  preds = [COND1205]
          real2 nd1209#2 = Floor<2>(x11FA);
          real2 f1208#2 = Sub<real2>(x11FA,nd1209);
          int{2} n120A#8 = RealToInt<2>(nd1209);
          int t11226#4 = -1;
          int t21227#1 = Index<int{2},0>(n120A);
          int ix1225#4 = Add<int>(t11226,t21227);
          int t2122A#4 = Index<int{2},1>(n120A);
          int iy1228#1 = Add<int>(t11226,t2122A);
          addr(IMAGE2D<float>) a122B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1225,iy1228);
          real4 v0120C#1 = LoadVoxels<IMAGE2D<float>,4>(a122B);
          int iy1221#1 = Add<int>(_t11ED,t2122A);
          addr(IMAGE2D<float>) a1224#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1225,iy1221);
          real4 v1120D#1 = LoadVoxels<IMAGE2D<float>,4>(a1224);
          int iy121A#1 = Add<int>(_t11F1,t2122A);
          addr(IMAGE2D<float>) a121D#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1225,iy121A);
          real4 v2120E#1 = LoadVoxels<IMAGE2D<float>,4>(a121D);
          int iy1213#1 = Add<int>(_t11C9,t2122A);
          addr(IMAGE2D<float>) a1216#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1225,iy1213);
          real4 v3120F#1 = LoadVoxels<IMAGE2D<float>,4>(a1216);
          real fy1237#5 = Index<real2,1>(f1208);
          real t3123C#1 = Add<real>(fy1237,_t11C5);
          real t1123A#1 = Sub<real>(fy1237,_t11C5);
          real t01239#1 = Sub<real>(fy1237,_t11C7);
          real4 a1238#1 = <real4>[t3123C,fy1237,t1123A,t01239];
          real4 hy122D#1 = EvalKernel<4,bspln3,0>(a1238);
          real fx122E#5 = Index<real2,0>(f1208);
          real t31233#1 = Add<real>(fx122E,_t11C5);
          real t11231#1 = Sub<real>(fx122E,_t11C5);
          real t01230#1 = Sub<real>(fx122E,_t11C7);
          real4 a122F#1 = <real4>[t31233,fx122E,t11231,t01230];
          real4 hx122C#4 = EvalKernel<4,bspln3,0>(a122F);
          real t01241#1 = Dot<4>(v0120C,hx122C);
          real t11242#1 = Dot<4>(v1120D,hx122C);
          real t21243#1 = Dot<4>(v2120E,hx122C);
          real t31244#1 = Dot<4>(v3120F,hx122C);
          real4 tv1240#1 = <real4>[t01241,t11242,t21243,t31244];
          real _t1206#1 = Dot<4>(hy122D,tv1240);
          real2 x1284#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v001139);
          real2 nd1286#2 = Floor<2>(x1284);
          real2 f1285#2 = Sub<real2>(x1284,nd1286);
          int{2} n1287#8 = RealToInt<2>(nd1286);
          int t212A4#1 = Index<int{2},0>(n1287);
          int ix12A2#4 = Add<int>(t11226,t212A4);
          int t212A7#4 = Index<int{2},1>(n1287);
          int iy12A5#1 = Add<int>(t11226,t212A7);
          addr(IMAGE2D<int>) a12A8#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix12A2,iy12A5);
          real4 v01289#1 = LoadVoxels<IMAGE2D<int>,4>(a12A8);
          int iy129E#1 = Add<int>(_t11ED,t212A7);
          addr(IMAGE2D<int>) a12A1#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix12A2,iy129E);
          real4 v1128A#1 = LoadVoxels<IMAGE2D<int>,4>(a12A1);
          int iy1297#1 = Add<int>(_t11F1,t212A7);
          addr(IMAGE2D<int>) a129A#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix12A2,iy1297);
          real4 v2128B#1 = LoadVoxels<IMAGE2D<int>,4>(a129A);
          int iy1290#1 = Add<int>(_t11C9,t212A7);
          addr(IMAGE2D<int>) a1293#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix12A2,iy1290);
          real4 v3128C#1 = LoadVoxels<IMAGE2D<int>,4>(a1293);
          real fy12B4#5 = Index<real2,1>(f1285);
          real t312B9#1 = Add<real>(fy12B4,_t11C5);
          real t112B7#1 = Sub<real>(fy12B4,_t11C5);
          real t012B6#1 = Sub<real>(fy12B4,_t11C7);
          real4 a12B5#1 = <real4>[t312B9,fy12B4,t112B7,t012B6];
          real4 hy12AA#1 = EvalKernel<4,bspln3,0>(a12B5);
          real fx12AB#5 = Index<real2,0>(f1285);
          real t312B0#1 = Add<real>(fx12AB,_t11C5);
          real t112AE#1 = Sub<real>(fx12AB,_t11C5);
          real t012AD#1 = Sub<real>(fx12AB,_t11C7);
          real4 a12AC#1 = <real4>[t312B0,fx12AB,t112AE,t012AD];
          real4 hx12A9#4 = EvalKernel<4,bspln3,0>(a12AC);
          real t012BE#1 = Dot<4>(v01289,hx12A9);
          real t112BF#1 = Dot<4>(v1128A,hx12A9);
          real t212C0#1 = Dot<4>(v2128B,hx12A9);
          real t312C1#1 = Dot<4>(v3128C,hx12A9);
          real4 tv12BD#1 = <real4>[t012BE,t112BF,t212C0,t312C1];
          real _t1283#1 = Dot<4>(hy12AA,tv12BD);
          real _t1300#2 = Sub<real>(_t1206,_t1283);
          real _t1302#1 = Mul<real>(_t1300,_t1300);
          real score1304#1 = Add<real>(score11C3,_t1302);
          goto JOIN1307
        JOIN1307:  preds = [ASSIGN1305,COND1205]
          real score1306#2 = phi(score1304,score11C3)
          real _t1308#1 = Dot<2>(r011DF,v01113F);
          real _t130A#1 = Dot<2>(r111E5,v01113F);
          real2 _t130C#1 = <real2>[_t1308,_t130A];
          real2 pos130E#2 = Add<real2>(_t130C,_t11F5);
          real2 x1311#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos130E);
          bool _t1310#1 = Inside<IMAGE2D<float>,2>(x1311,_t1133);
          if _t1310 then goto ASSIGN1317 else goto ASSIGN383D
        ASSIGN1317:  preds = [COND1314]
          real2 x1316#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v01113F);
          bool _t1315#1 = Inside<IMAGE2D<int>,2>(x1316,_t112F);
          goto JOIN131B
        JOIN131B:  preds = [ASSIGN1318,ASSIGN383D]
          bool _t1319#1 = phi(_t1315,_t131A)
          if _t1319 then goto ASSIGN3872 else goto JOIN141E
        ASSIGN3872:  preds = [COND131C]
          real2 nd1320#2 = Floor<2>(x1311);
          real2 f131F#2 = Sub<real2>(x1311,nd1320);
          int{2} n1321#8 = RealToInt<2>(nd1320);
          int t1133D#4 = -1;
          int t2133E#1 = Index<int{2},0>(n1321);
          int ix133C#4 = Add<int>(t1133D,t2133E);
          int t21341#4 = Index<int{2},1>(n1321);
          int iy133F#1 = Add<int>(t1133D,t21341);
          addr(IMAGE2D<float>) a1342#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix133C,iy133F);
          real4 v01323#1 = LoadVoxels<IMAGE2D<float>,4>(a1342);
          int iy1338#1 = Add<int>(_t11ED,t21341);
          addr(IMAGE2D<float>) a133B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix133C,iy1338);
          real4 v11324#1 = LoadVoxels<IMAGE2D<float>,4>(a133B);
          int iy1331#1 = Add<int>(_t11F1,t21341);
          addr(IMAGE2D<float>) a1334#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix133C,iy1331);
          real4 v21325#1 = LoadVoxels<IMAGE2D<float>,4>(a1334);
          int iy132A#1 = Add<int>(_t11C9,t21341);
          addr(IMAGE2D<float>) a132D#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix133C,iy132A);
          real4 v31326#1 = LoadVoxels<IMAGE2D<float>,4>(a132D);
          real fy134E#5 = Index<real2,1>(f131F);
          real t31353#1 = Add<real>(fy134E,_t11C5);
          real t11351#1 = Sub<real>(fy134E,_t11C5);
          real t01350#1 = Sub<real>(fy134E,_t11C7);
          real4 a134F#1 = <real4>[t31353,fy134E,t11351,t01350];
          real4 hy1344#1 = EvalKernel<4,bspln3,0>(a134F);
          real fx1345#5 = Index<real2,0>(f131F);
          real t3134A#1 = Add<real>(fx1345,_t11C5);
          real t11348#1 = Sub<real>(fx1345,_t11C5);
          real t01347#1 = Sub<real>(fx1345,_t11C7);
          real4 a1346#1 = <real4>[t3134A,fx1345,t11348,t01347];
          real4 hx1343#4 = EvalKernel<4,bspln3,0>(a1346);
          real t01358#1 = Dot<4>(v01323,hx1343);
          real t11359#1 = Dot<4>(v11324,hx1343);
          real t2135A#1 = Dot<4>(v21325,hx1343);
          real t3135B#1 = Dot<4>(v31326,hx1343);
          real4 tv1357#1 = <real4>[t01358,t11359,t2135A,t3135B];
          real _t131D#1 = Dot<4>(hy1344,tv1357);
          real2 x139B#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v01113F);
          real2 nd139D#2 = Floor<2>(x139B);
          real2 f139C#2 = Sub<real2>(x139B,nd139D);
          int{2} n139E#8 = RealToInt<2>(nd139D);
          int t213BB#1 = Index<int{2},0>(n139E);
          int ix13B9#4 = Add<int>(t1133D,t213BB);
          int t213BE#4 = Index<int{2},1>(n139E);
          int iy13BC#1 = Add<int>(t1133D,t213BE);
          addr(IMAGE2D<int>) a13BF#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix13B9,iy13BC);
          real4 v013A0#1 = LoadVoxels<IMAGE2D<int>,4>(a13BF);
          int iy13B5#1 = Add<int>(_t11ED,t213BE);
          addr(IMAGE2D<int>) a13B8#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix13B9,iy13B5);
          real4 v113A1#1 = LoadVoxels<IMAGE2D<int>,4>(a13B8);
          int iy13AE#1 = Add<int>(_t11F1,t213BE);
          addr(IMAGE2D<int>) a13B1#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix13B9,iy13AE);
          real4 v213A2#1 = LoadVoxels<IMAGE2D<int>,4>(a13B1);
          int iy13A7#1 = Add<int>(_t11C9,t213BE);
          addr(IMAGE2D<int>) a13AA#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix13B9,iy13A7);
          real4 v313A3#1 = LoadVoxels<IMAGE2D<int>,4>(a13AA);
          real fy13CB#5 = Index<real2,1>(f139C);
          real t313D0#1 = Add<real>(fy13CB,_t11C5);
          real t113CE#1 = Sub<real>(fy13CB,_t11C5);
          real t013CD#1 = Sub<real>(fy13CB,_t11C7);
          real4 a13CC#1 = <real4>[t313D0,fy13CB,t113CE,t013CD];
          real4 hy13C1#1 = EvalKernel<4,bspln3,0>(a13CC);
          real fx13C2#5 = Index<real2,0>(f139C);
          real t313C7#1 = Add<real>(fx13C2,_t11C5);
          real t113C5#1 = Sub<real>(fx13C2,_t11C5);
          real t013C4#1 = Sub<real>(fx13C2,_t11C7);
          real4 a13C3#1 = <real4>[t313C7,fx13C2,t113C5,t013C4];
          real4 hx13C0#4 = EvalKernel<4,bspln3,0>(a13C3);
          real t013D5#1 = Dot<4>(v013A0,hx13C0);
          real t113D6#1 = Dot<4>(v113A1,hx13C0);
          real t213D7#1 = Dot<4>(v213A2,hx13C0);
          real t313D8#1 = Dot<4>(v313A3,hx13C0);
          real4 tv13D4#1 = <real4>[t013D5,t113D6,t213D7,t313D8];
          real _t139A#1 = Dot<4>(hy13C1,tv13D4);
          real _t1417#2 = Sub<real>(_t131D,_t139A);
          real _t1419#1 = Mul<real>(_t1417,_t1417);
          real score141B#1 = Add<real>(score1306,_t1419);
          goto JOIN141E
        JOIN141E:  preds = [ASSIGN141C,COND131C]
          real score141D#2 = phi(score141B,score1306)
          real _t141F#1 = Dot<2>(r011DF,v021145);
          real _t1421#1 = Dot<2>(r111E5,v021145);
          real2 _t1423#1 = <real2>[_t141F,_t1421];
          real2 pos1425#2 = Add<real2>(_t1423,_t11F5);
          real2 x1428#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1425);
          bool _t1427#1 = Inside<IMAGE2D<float>,2>(x1428,_t1133);
          if _t1427 then goto ASSIGN142E else goto ASSIGN383C
        ASSIGN142E:  preds = [COND142B]
          real2 x142D#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v021145);
          bool _t142C#1 = Inside<IMAGE2D<int>,2>(x142D,_t112F);
          goto JOIN1432
        JOIN1432:  preds = [ASSIGN142F,ASSIGN383C]
          bool _t1430#1 = phi(_t142C,_t1431)
          if _t1430 then goto ASSIGN3893 else goto JOIN1535
        ASSIGN3893:  preds = [COND1433]
          real2 nd1437#2 = Floor<2>(x1428);
          real2 f1436#2 = Sub<real2>(x1428,nd1437);
          int{2} n1438#8 = RealToInt<2>(nd1437);
          int t11454#4 = -1;
          int t21455#1 = Index<int{2},0>(n1438);
          int ix1453#4 = Add<int>(t11454,t21455);
          int t21458#4 = Index<int{2},1>(n1438);
          int iy1456#1 = Add<int>(t11454,t21458);
          addr(IMAGE2D<float>) a1459#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1453,iy1456);
          real4 v0143A#1 = LoadVoxels<IMAGE2D<float>,4>(a1459);
          int iy144F#1 = Add<int>(_t11ED,t21458);
          addr(IMAGE2D<float>) a1452#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1453,iy144F);
          real4 v1143B#1 = LoadVoxels<IMAGE2D<float>,4>(a1452);
          int iy1448#1 = Add<int>(_t11F1,t21458);
          addr(IMAGE2D<float>) a144B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1453,iy1448);
          real4 v2143C#1 = LoadVoxels<IMAGE2D<float>,4>(a144B);
          int iy1441#1 = Add<int>(_t11C9,t21458);
          addr(IMAGE2D<float>) a1444#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1453,iy1441);
          real4 v3143D#1 = LoadVoxels<IMAGE2D<float>,4>(a1444);
          real fy1465#5 = Index<real2,1>(f1436);
          real t3146A#1 = Add<real>(fy1465,_t11C5);
          real t11468#1 = Sub<real>(fy1465,_t11C5);
          real t01467#1 = Sub<real>(fy1465,_t11C7);
          real4 a1466#1 = <real4>[t3146A,fy1465,t11468,t01467];
          real4 hy145B#1 = EvalKernel<4,bspln3,0>(a1466);
          real fx145C#5 = Index<real2,0>(f1436);
          real t31461#1 = Add<real>(fx145C,_t11C5);
          real t1145F#1 = Sub<real>(fx145C,_t11C5);
          real t0145E#1 = Sub<real>(fx145C,_t11C7);
          real4 a145D#1 = <real4>[t31461,fx145C,t1145F,t0145E];
          real4 hx145A#4 = EvalKernel<4,bspln3,0>(a145D);
          real t0146F#1 = Dot<4>(v0143A,hx145A);
          real t11470#1 = Dot<4>(v1143B,hx145A);
          real t21471#1 = Dot<4>(v2143C,hx145A);
          real t31472#1 = Dot<4>(v3143D,hx145A);
          real4 tv146E#1 = <real4>[t0146F,t11470,t21471,t31472];
          real _t1434#1 = Dot<4>(hy145B,tv146E);
          real2 x14B2#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v021145);
          real2 nd14B4#2 = Floor<2>(x14B2);
          real2 f14B3#2 = Sub<real2>(x14B2,nd14B4);
          int{2} n14B5#8 = RealToInt<2>(nd14B4);
          int t214D2#1 = Index<int{2},0>(n14B5);
          int ix14D0#4 = Add<int>(t11454,t214D2);
          int t214D5#4 = Index<int{2},1>(n14B5);
          int iy14D3#1 = Add<int>(t11454,t214D5);
          addr(IMAGE2D<int>) a14D6#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix14D0,iy14D3);
          real4 v014B7#1 = LoadVoxels<IMAGE2D<int>,4>(a14D6);
          int iy14CC#1 = Add<int>(_t11ED,t214D5);
          addr(IMAGE2D<int>) a14CF#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix14D0,iy14CC);
          real4 v114B8#1 = LoadVoxels<IMAGE2D<int>,4>(a14CF);
          int iy14C5#1 = Add<int>(_t11F1,t214D5);
          addr(IMAGE2D<int>) a14C8#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix14D0,iy14C5);
          real4 v214B9#1 = LoadVoxels<IMAGE2D<int>,4>(a14C8);
          int iy14BE#1 = Add<int>(_t11C9,t214D5);
          addr(IMAGE2D<int>) a14C1#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix14D0,iy14BE);
          real4 v314BA#1 = LoadVoxels<IMAGE2D<int>,4>(a14C1);
          real fy14E2#5 = Index<real2,1>(f14B3);
          real t314E7#1 = Add<real>(fy14E2,_t11C5);
          real t114E5#1 = Sub<real>(fy14E2,_t11C5);
          real t014E4#1 = Sub<real>(fy14E2,_t11C7);
          real4 a14E3#1 = <real4>[t314E7,fy14E2,t114E5,t014E4];
          real4 hy14D8#1 = EvalKernel<4,bspln3,0>(a14E3);
          real fx14D9#5 = Index<real2,0>(f14B3);
          real t314DE#1 = Add<real>(fx14D9,_t11C5);
          real t114DC#1 = Sub<real>(fx14D9,_t11C5);
          real t014DB#1 = Sub<real>(fx14D9,_t11C7);
          real4 a14DA#1 = <real4>[t314DE,fx14D9,t114DC,t014DB];
          real4 hx14D7#4 = EvalKernel<4,bspln3,0>(a14DA);
          real t014EC#1 = Dot<4>(v014B7,hx14D7);
          real t114ED#1 = Dot<4>(v114B8,hx14D7);
          real t214EE#1 = Dot<4>(v214B9,hx14D7);
          real t314EF#1 = Dot<4>(v314BA,hx14D7);
          real4 tv14EB#1 = <real4>[t014EC,t114ED,t214EE,t314EF];
          real _t14B1#1 = Dot<4>(hy14D8,tv14EB);
          real _t152E#2 = Sub<real>(_t1434,_t14B1);
          real _t1530#1 = Mul<real>(_t152E,_t152E);
          real score1532#1 = Add<real>(score141D,_t1530);
          goto JOIN1535
        JOIN1535:  preds = [ASSIGN1533,COND1433]
          real score1534#2 = phi(score1532,score141D)
          real _t1536#1 = Dot<2>(r011DF,v031147);
          real _t1538#1 = Dot<2>(r111E5,v031147);
          real2 _t153A#1 = <real2>[_t1536,_t1538];
          real2 pos153C#2 = Add<real2>(_t153A,_t11F5);
          real2 x153F#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos153C);
          bool _t153E#1 = Inside<IMAGE2D<float>,2>(x153F,_t1133);
          if _t153E then goto ASSIGN1545 else goto ASSIGN383B
        ASSIGN1545:  preds = [COND1542]
          real2 x1544#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v031147);
          bool _t1543#1 = Inside<IMAGE2D<int>,2>(x1544,_t112F);
          goto JOIN1549
        JOIN1549:  preds = [ASSIGN1546,ASSIGN383B]
          bool _t1547#1 = phi(_t1543,_t1548)
          if _t1547 then goto ASSIGN38B4 else goto JOIN164C
        ASSIGN38B4:  preds = [COND154A]
          real2 nd154E#2 = Floor<2>(x153F);
          real2 f154D#2 = Sub<real2>(x153F,nd154E);
          int{2} n154F#8 = RealToInt<2>(nd154E);
          int t1156B#4 = -1;
          int t2156C#1 = Index<int{2},0>(n154F);
          int ix156A#4 = Add<int>(t1156B,t2156C);
          int t2156F#4 = Index<int{2},1>(n154F);
          int iy156D#1 = Add<int>(t1156B,t2156F);
          addr(IMAGE2D<float>) a1570#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix156A,iy156D);
          real4 v01551#1 = LoadVoxels<IMAGE2D<float>,4>(a1570);
          int iy1566#1 = Add<int>(_t11ED,t2156F);
          addr(IMAGE2D<float>) a1569#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix156A,iy1566);
          real4 v11552#1 = LoadVoxels<IMAGE2D<float>,4>(a1569);
          int iy155F#1 = Add<int>(_t11F1,t2156F);
          addr(IMAGE2D<float>) a1562#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix156A,iy155F);
          real4 v21553#1 = LoadVoxels<IMAGE2D<float>,4>(a1562);
          int iy1558#1 = Add<int>(_t11C9,t2156F);
          addr(IMAGE2D<float>) a155B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix156A,iy1558);
          real4 v31554#1 = LoadVoxels<IMAGE2D<float>,4>(a155B);
          real fy157C#5 = Index<real2,1>(f154D);
          real t31581#1 = Add<real>(fy157C,_t11C5);
          real t1157F#1 = Sub<real>(fy157C,_t11C5);
          real t0157E#1 = Sub<real>(fy157C,_t11C7);
          real4 a157D#1 = <real4>[t31581,fy157C,t1157F,t0157E];
          real4 hy1572#1 = EvalKernel<4,bspln3,0>(a157D);
          real fx1573#5 = Index<real2,0>(f154D);
          real t31578#1 = Add<real>(fx1573,_t11C5);
          real t11576#1 = Sub<real>(fx1573,_t11C5);
          real t01575#1 = Sub<real>(fx1573,_t11C7);
          real4 a1574#1 = <real4>[t31578,fx1573,t11576,t01575];
          real4 hx1571#4 = EvalKernel<4,bspln3,0>(a1574);
          real t01586#1 = Dot<4>(v01551,hx1571);
          real t11587#1 = Dot<4>(v11552,hx1571);
          real t21588#1 = Dot<4>(v21553,hx1571);
          real t31589#1 = Dot<4>(v31554,hx1571);
          real4 tv1585#1 = <real4>[t01586,t11587,t21588,t31589];
          real _t154B#1 = Dot<4>(hy1572,tv1585);
          real2 x15C9#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v031147);
          real2 nd15CB#2 = Floor<2>(x15C9);
          real2 f15CA#2 = Sub<real2>(x15C9,nd15CB);
          int{2} n15CC#8 = RealToInt<2>(nd15CB);
          int t215E9#1 = Index<int{2},0>(n15CC);
          int ix15E7#4 = Add<int>(t1156B,t215E9);
          int t215EC#4 = Index<int{2},1>(n15CC);
          int iy15EA#1 = Add<int>(t1156B,t215EC);
          addr(IMAGE2D<int>) a15ED#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix15E7,iy15EA);
          real4 v015CE#1 = LoadVoxels<IMAGE2D<int>,4>(a15ED);
          int iy15E3#1 = Add<int>(_t11ED,t215EC);
          addr(IMAGE2D<int>) a15E6#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix15E7,iy15E3);
          real4 v115CF#1 = LoadVoxels<IMAGE2D<int>,4>(a15E6);
          int iy15DC#1 = Add<int>(_t11F1,t215EC);
          addr(IMAGE2D<int>) a15DF#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix15E7,iy15DC);
          real4 v215D0#1 = LoadVoxels<IMAGE2D<int>,4>(a15DF);
          int iy15D5#1 = Add<int>(_t11C9,t215EC);
          addr(IMAGE2D<int>) a15D8#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix15E7,iy15D5);
          real4 v315D1#1 = LoadVoxels<IMAGE2D<int>,4>(a15D8);
          real fy15F9#5 = Index<real2,1>(f15CA);
          real t315FE#1 = Add<real>(fy15F9,_t11C5);
          real t115FC#1 = Sub<real>(fy15F9,_t11C5);
          real t015FB#1 = Sub<real>(fy15F9,_t11C7);
          real4 a15FA#1 = <real4>[t315FE,fy15F9,t115FC,t015FB];
          real4 hy15EF#1 = EvalKernel<4,bspln3,0>(a15FA);
          real fx15F0#5 = Index<real2,0>(f15CA);
          real t315F5#1 = Add<real>(fx15F0,_t11C5);
          real t115F3#1 = Sub<real>(fx15F0,_t11C5);
          real t015F2#1 = Sub<real>(fx15F0,_t11C7);
          real4 a15F1#1 = <real4>[t315F5,fx15F0,t115F3,t015F2];
          real4 hx15EE#4 = EvalKernel<4,bspln3,0>(a15F1);
          real t01603#1 = Dot<4>(v015CE,hx15EE);
          real t11604#1 = Dot<4>(v115CF,hx15EE);
          real t21605#1 = Dot<4>(v215D0,hx15EE);
          real t31606#1 = Dot<4>(v315D1,hx15EE);
          real4 tv1602#1 = <real4>[t01603,t11604,t21605,t31606];
          real _t15C8#1 = Dot<4>(hy15EF,tv1602);
          real _t1645#2 = Sub<real>(_t154B,_t15C8);
          real _t1647#1 = Mul<real>(_t1645,_t1645);
          real score1649#1 = Add<real>(score1534,_t1647);
          goto JOIN164C
        JOIN164C:  preds = [ASSIGN164A,COND154A]
          real score164B#2 = phi(score1649,score1534)
          real _t164D#1 = Dot<2>(r011DF,v041149);
          real _t164F#1 = Dot<2>(r111E5,v041149);
          real2 _t1651#1 = <real2>[_t164D,_t164F];
          real2 pos1653#2 = Add<real2>(_t1651,_t11F5);
          real2 x1656#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1653);
          bool _t1655#1 = Inside<IMAGE2D<float>,2>(x1656,_t1133);
          if _t1655 then goto ASSIGN165C else goto ASSIGN383A
        ASSIGN165C:  preds = [COND1659]
          real2 x165B#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v041149);
          bool _t165A#1 = Inside<IMAGE2D<int>,2>(x165B,_t112F);
          goto JOIN1660
        JOIN1660:  preds = [ASSIGN165D,ASSIGN383A]
          bool _t165E#1 = phi(_t165A,_t165F)
          if _t165E then goto ASSIGN38D5 else goto JOIN1763
        ASSIGN38D5:  preds = [COND1661]
          real2 nd1665#2 = Floor<2>(x1656);
          real2 f1664#2 = Sub<real2>(x1656,nd1665);
          int{2} n1666#8 = RealToInt<2>(nd1665);
          int t11682#4 = -1;
          int t21683#1 = Index<int{2},0>(n1666);
          int ix1681#4 = Add<int>(t11682,t21683);
          int t21686#4 = Index<int{2},1>(n1666);
          int iy1684#1 = Add<int>(t11682,t21686);
          addr(IMAGE2D<float>) a1687#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1681,iy1684);
          real4 v01668#1 = LoadVoxels<IMAGE2D<float>,4>(a1687);
          int iy167D#1 = Add<int>(_t11ED,t21686);
          addr(IMAGE2D<float>) a1680#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1681,iy167D);
          real4 v11669#1 = LoadVoxels<IMAGE2D<float>,4>(a1680);
          int iy1676#1 = Add<int>(_t11F1,t21686);
          addr(IMAGE2D<float>) a1679#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1681,iy1676);
          real4 v2166A#1 = LoadVoxels<IMAGE2D<float>,4>(a1679);
          int iy166F#1 = Add<int>(_t11C9,t21686);
          addr(IMAGE2D<float>) a1672#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1681,iy166F);
          real4 v3166B#1 = LoadVoxels<IMAGE2D<float>,4>(a1672);
          real fy1693#5 = Index<real2,1>(f1664);
          real t31698#1 = Add<real>(fy1693,_t11C5);
          real t11696#1 = Sub<real>(fy1693,_t11C5);
          real t01695#1 = Sub<real>(fy1693,_t11C7);
          real4 a1694#1 = <real4>[t31698,fy1693,t11696,t01695];
          real4 hy1689#1 = EvalKernel<4,bspln3,0>(a1694);
          real fx168A#5 = Index<real2,0>(f1664);
          real t3168F#1 = Add<real>(fx168A,_t11C5);
          real t1168D#1 = Sub<real>(fx168A,_t11C5);
          real t0168C#1 = Sub<real>(fx168A,_t11C7);
          real4 a168B#1 = <real4>[t3168F,fx168A,t1168D,t0168C];
          real4 hx1688#4 = EvalKernel<4,bspln3,0>(a168B);
          real t0169D#1 = Dot<4>(v01668,hx1688);
          real t1169E#1 = Dot<4>(v11669,hx1688);
          real t2169F#1 = Dot<4>(v2166A,hx1688);
          real t316A0#1 = Dot<4>(v3166B,hx1688);
          real4 tv169C#1 = <real4>[t0169D,t1169E,t2169F,t316A0];
          real _t1662#1 = Dot<4>(hy1689,tv169C);
          real2 x16E0#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v041149);
          real2 nd16E2#2 = Floor<2>(x16E0);
          real2 f16E1#2 = Sub<real2>(x16E0,nd16E2);
          int{2} n16E3#8 = RealToInt<2>(nd16E2);
          int t21700#1 = Index<int{2},0>(n16E3);
          int ix16FE#4 = Add<int>(t11682,t21700);
          int t21703#4 = Index<int{2},1>(n16E3);
          int iy1701#1 = Add<int>(t11682,t21703);
          addr(IMAGE2D<int>) a1704#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix16FE,iy1701);
          real4 v016E5#1 = LoadVoxels<IMAGE2D<int>,4>(a1704);
          int iy16FA#1 = Add<int>(_t11ED,t21703);
          addr(IMAGE2D<int>) a16FD#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix16FE,iy16FA);
          real4 v116E6#1 = LoadVoxels<IMAGE2D<int>,4>(a16FD);
          int iy16F3#1 = Add<int>(_t11F1,t21703);
          addr(IMAGE2D<int>) a16F6#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix16FE,iy16F3);
          real4 v216E7#1 = LoadVoxels<IMAGE2D<int>,4>(a16F6);
          int iy16EC#1 = Add<int>(_t11C9,t21703);
          addr(IMAGE2D<int>) a16EF#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix16FE,iy16EC);
          real4 v316E8#1 = LoadVoxels<IMAGE2D<int>,4>(a16EF);
          real fy1710#5 = Index<real2,1>(f16E1);
          real t31715#1 = Add<real>(fy1710,_t11C5);
          real t11713#1 = Sub<real>(fy1710,_t11C5);
          real t01712#1 = Sub<real>(fy1710,_t11C7);
          real4 a1711#1 = <real4>[t31715,fy1710,t11713,t01712];
          real4 hy1706#1 = EvalKernel<4,bspln3,0>(a1711);
          real fx1707#5 = Index<real2,0>(f16E1);
          real t3170C#1 = Add<real>(fx1707,_t11C5);
          real t1170A#1 = Sub<real>(fx1707,_t11C5);
          real t01709#1 = Sub<real>(fx1707,_t11C7);
          real4 a1708#1 = <real4>[t3170C,fx1707,t1170A,t01709];
          real4 hx1705#4 = EvalKernel<4,bspln3,0>(a1708);
          real t0171A#1 = Dot<4>(v016E5,hx1705);
          real t1171B#1 = Dot<4>(v116E6,hx1705);
          real t2171C#1 = Dot<4>(v216E7,hx1705);
          real t3171D#1 = Dot<4>(v316E8,hx1705);
          real4 tv1719#1 = <real4>[t0171A,t1171B,t2171C,t3171D];
          real _t16DF#1 = Dot<4>(hy1706,tv1719);
          real _t175C#2 = Sub<real>(_t1662,_t16DF);
          real _t175E#1 = Mul<real>(_t175C,_t175C);
          real score1760#1 = Add<real>(score164B,_t175E);
          goto JOIN1763
        JOIN1763:  preds = [ASSIGN1761,COND1661]
          real score1762#2 = phi(score1760,score164B)
          real _t1764#1 = Dot<2>(r011DF,v05114B);
          real _t1766#1 = Dot<2>(r111E5,v05114B);
          real2 _t1768#1 = <real2>[_t1764,_t1766];
          real2 pos176A#2 = Add<real2>(_t1768,_t11F5);
          real2 x176D#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos176A);
          bool _t176C#1 = Inside<IMAGE2D<float>,2>(x176D,_t1133);
          if _t176C then goto ASSIGN1773 else goto ASSIGN3839
        ASSIGN1773:  preds = [COND1770]
          real2 x1772#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v05114B);
          bool _t1771#1 = Inside<IMAGE2D<int>,2>(x1772,_t112F);
          goto JOIN1777
        JOIN1777:  preds = [ASSIGN1774,ASSIGN3839]
          bool _t1775#1 = phi(_t1771,_t1776)
          if _t1775 then goto ASSIGN38F6 else goto JOIN187A
        ASSIGN38F6:  preds = [COND1778]
          real2 nd177C#2 = Floor<2>(x176D);
          real2 f177B#2 = Sub<real2>(x176D,nd177C);
          int{2} n177D#8 = RealToInt<2>(nd177C);
          int t11799#4 = -1;
          int t2179A#1 = Index<int{2},0>(n177D);
          int ix1798#4 = Add<int>(t11799,t2179A);
          int t2179D#4 = Index<int{2},1>(n177D);
          int iy179B#1 = Add<int>(t11799,t2179D);
          addr(IMAGE2D<float>) a179E#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1798,iy179B);
          real4 v0177F#1 = LoadVoxels<IMAGE2D<float>,4>(a179E);
          int iy1794#1 = Add<int>(_t11ED,t2179D);
          addr(IMAGE2D<float>) a1797#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1798,iy1794);
          real4 v11780#1 = LoadVoxels<IMAGE2D<float>,4>(a1797);
          int iy178D#1 = Add<int>(_t11F1,t2179D);
          addr(IMAGE2D<float>) a1790#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1798,iy178D);
          real4 v21781#1 = LoadVoxels<IMAGE2D<float>,4>(a1790);
          int iy1786#1 = Add<int>(_t11C9,t2179D);
          addr(IMAGE2D<float>) a1789#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1798,iy1786);
          real4 v31782#1 = LoadVoxels<IMAGE2D<float>,4>(a1789);
          real fy17AA#5 = Index<real2,1>(f177B);
          real t317AF#1 = Add<real>(fy17AA,_t11C5);
          real t117AD#1 = Sub<real>(fy17AA,_t11C5);
          real t017AC#1 = Sub<real>(fy17AA,_t11C7);
          real4 a17AB#1 = <real4>[t317AF,fy17AA,t117AD,t017AC];
          real4 hy17A0#1 = EvalKernel<4,bspln3,0>(a17AB);
          real fx17A1#5 = Index<real2,0>(f177B);
          real t317A6#1 = Add<real>(fx17A1,_t11C5);
          real t117A4#1 = Sub<real>(fx17A1,_t11C5);
          real t017A3#1 = Sub<real>(fx17A1,_t11C7);
          real4 a17A2#1 = <real4>[t317A6,fx17A1,t117A4,t017A3];
          real4 hx179F#4 = EvalKernel<4,bspln3,0>(a17A2);
          real t017B4#1 = Dot<4>(v0177F,hx179F);
          real t117B5#1 = Dot<4>(v11780,hx179F);
          real t217B6#1 = Dot<4>(v21781,hx179F);
          real t317B7#1 = Dot<4>(v31782,hx179F);
          real4 tv17B3#1 = <real4>[t017B4,t117B5,t217B6,t317B7];
          real _t1779#1 = Dot<4>(hy17A0,tv17B3);
          real2 x17F7#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v05114B);
          real2 nd17F9#2 = Floor<2>(x17F7);
          real2 f17F8#2 = Sub<real2>(x17F7,nd17F9);
          int{2} n17FA#8 = RealToInt<2>(nd17F9);
          int t21817#1 = Index<int{2},0>(n17FA);
          int ix1815#4 = Add<int>(t11799,t21817);
          int t2181A#4 = Index<int{2},1>(n17FA);
          int iy1818#1 = Add<int>(t11799,t2181A);
          addr(IMAGE2D<int>) a181B#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1815,iy1818);
          real4 v017FC#1 = LoadVoxels<IMAGE2D<int>,4>(a181B);
          int iy1811#1 = Add<int>(_t11ED,t2181A);
          addr(IMAGE2D<int>) a1814#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1815,iy1811);
          real4 v117FD#1 = LoadVoxels<IMAGE2D<int>,4>(a1814);
          int iy180A#1 = Add<int>(_t11F1,t2181A);
          addr(IMAGE2D<int>) a180D#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1815,iy180A);
          real4 v217FE#1 = LoadVoxels<IMAGE2D<int>,4>(a180D);
          int iy1803#1 = Add<int>(_t11C9,t2181A);
          addr(IMAGE2D<int>) a1806#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1815,iy1803);
          real4 v317FF#1 = LoadVoxels<IMAGE2D<int>,4>(a1806);
          real fy1827#5 = Index<real2,1>(f17F8);
          real t3182C#1 = Add<real>(fy1827,_t11C5);
          real t1182A#1 = Sub<real>(fy1827,_t11C5);
          real t01829#1 = Sub<real>(fy1827,_t11C7);
          real4 a1828#1 = <real4>[t3182C,fy1827,t1182A,t01829];
          real4 hy181D#1 = EvalKernel<4,bspln3,0>(a1828);
          real fx181E#5 = Index<real2,0>(f17F8);
          real t31823#1 = Add<real>(fx181E,_t11C5);
          real t11821#1 = Sub<real>(fx181E,_t11C5);
          real t01820#1 = Sub<real>(fx181E,_t11C7);
          real4 a181F#1 = <real4>[t31823,fx181E,t11821,t01820];
          real4 hx181C#4 = EvalKernel<4,bspln3,0>(a181F);
          real t01831#1 = Dot<4>(v017FC,hx181C);
          real t11832#1 = Dot<4>(v117FD,hx181C);
          real t21833#1 = Dot<4>(v217FE,hx181C);
          real t31834#1 = Dot<4>(v317FF,hx181C);
          real4 tv1830#1 = <real4>[t01831,t11832,t21833,t31834];
          real _t17F6#1 = Dot<4>(hy181D,tv1830);
          real _t1873#2 = Sub<real>(_t1779,_t17F6);
          real _t1875#1 = Mul<real>(_t1873,_t1873);
          real score1877#1 = Add<real>(score1762,_t1875);
          goto JOIN187A
        JOIN187A:  preds = [ASSIGN1878,COND1778]
          real score1879#2 = phi(score1877,score1762)
          real _t187B#1 = Dot<2>(r011DF,v06114D);
          real _t187D#1 = Dot<2>(r111E5,v06114D);
          real2 _t187F#1 = <real2>[_t187B,_t187D];
          real2 pos1881#2 = Add<real2>(_t187F,_t11F5);
          real2 x1884#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1881);
          bool _t1883#1 = Inside<IMAGE2D<float>,2>(x1884,_t1133);
          if _t1883 then goto ASSIGN188A else goto ASSIGN3838
        ASSIGN188A:  preds = [COND1887]
          real2 x1889#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v06114D);
          bool _t1888#1 = Inside<IMAGE2D<int>,2>(x1889,_t112F);
          goto JOIN188E
        JOIN188E:  preds = [ASSIGN188B,ASSIGN3838]
          bool _t188C#1 = phi(_t1888,_t188D)
          if _t188C then goto ASSIGN3917 else goto JOIN1991
        ASSIGN3917:  preds = [COND188F]
          real2 nd1893#2 = Floor<2>(x1884);
          real2 f1892#2 = Sub<real2>(x1884,nd1893);
          int{2} n1894#8 = RealToInt<2>(nd1893);
          int t118B0#4 = -1;
          int t218B1#1 = Index<int{2},0>(n1894);
          int ix18AF#4 = Add<int>(t118B0,t218B1);
          int t218B4#4 = Index<int{2},1>(n1894);
          int iy18B2#1 = Add<int>(t118B0,t218B4);
          addr(IMAGE2D<float>) a18B5#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix18AF,iy18B2);
          real4 v01896#1 = LoadVoxels<IMAGE2D<float>,4>(a18B5);
          int iy18AB#1 = Add<int>(_t11ED,t218B4);
          addr(IMAGE2D<float>) a18AE#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix18AF,iy18AB);
          real4 v11897#1 = LoadVoxels<IMAGE2D<float>,4>(a18AE);
          int iy18A4#1 = Add<int>(_t11F1,t218B4);
          addr(IMAGE2D<float>) a18A7#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix18AF,iy18A4);
          real4 v21898#1 = LoadVoxels<IMAGE2D<float>,4>(a18A7);
          int iy189D#1 = Add<int>(_t11C9,t218B4);
          addr(IMAGE2D<float>) a18A0#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix18AF,iy189D);
          real4 v31899#1 = LoadVoxels<IMAGE2D<float>,4>(a18A0);
          real fy18C1#5 = Index<real2,1>(f1892);
          real t318C6#1 = Add<real>(fy18C1,_t11C5);
          real t118C4#1 = Sub<real>(fy18C1,_t11C5);
          real t018C3#1 = Sub<real>(fy18C1,_t11C7);
          real4 a18C2#1 = <real4>[t318C6,fy18C1,t118C4,t018C3];
          real4 hy18B7#1 = EvalKernel<4,bspln3,0>(a18C2);
          real fx18B8#5 = Index<real2,0>(f1892);
          real t318BD#1 = Add<real>(fx18B8,_t11C5);
          real t118BB#1 = Sub<real>(fx18B8,_t11C5);
          real t018BA#1 = Sub<real>(fx18B8,_t11C7);
          real4 a18B9#1 = <real4>[t318BD,fx18B8,t118BB,t018BA];
          real4 hx18B6#4 = EvalKernel<4,bspln3,0>(a18B9);
          real t018CB#1 = Dot<4>(v01896,hx18B6);
          real t118CC#1 = Dot<4>(v11897,hx18B6);
          real t218CD#1 = Dot<4>(v21898,hx18B6);
          real t318CE#1 = Dot<4>(v31899,hx18B6);
          real4 tv18CA#1 = <real4>[t018CB,t118CC,t218CD,t318CE];
          real _t1890#1 = Dot<4>(hy18B7,tv18CA);
          real2 x190E#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v06114D);
          real2 nd1910#2 = Floor<2>(x190E);
          real2 f190F#2 = Sub<real2>(x190E,nd1910);
          int{2} n1911#8 = RealToInt<2>(nd1910);
          int t2192E#1 = Index<int{2},0>(n1911);
          int ix192C#4 = Add<int>(t118B0,t2192E);
          int t21931#4 = Index<int{2},1>(n1911);
          int iy192F#1 = Add<int>(t118B0,t21931);
          addr(IMAGE2D<int>) a1932#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix192C,iy192F);
          real4 v01913#1 = LoadVoxels<IMAGE2D<int>,4>(a1932);
          int iy1928#1 = Add<int>(_t11ED,t21931);
          addr(IMAGE2D<int>) a192B#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix192C,iy1928);
          real4 v11914#1 = LoadVoxels<IMAGE2D<int>,4>(a192B);
          int iy1921#1 = Add<int>(_t11F1,t21931);
          addr(IMAGE2D<int>) a1924#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix192C,iy1921);
          real4 v21915#1 = LoadVoxels<IMAGE2D<int>,4>(a1924);
          int iy191A#1 = Add<int>(_t11C9,t21931);
          addr(IMAGE2D<int>) a191D#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix192C,iy191A);
          real4 v31916#1 = LoadVoxels<IMAGE2D<int>,4>(a191D);
          real fy193E#5 = Index<real2,1>(f190F);
          real t31943#1 = Add<real>(fy193E,_t11C5);
          real t11941#1 = Sub<real>(fy193E,_t11C5);
          real t01940#1 = Sub<real>(fy193E,_t11C7);
          real4 a193F#1 = <real4>[t31943,fy193E,t11941,t01940];
          real4 hy1934#1 = EvalKernel<4,bspln3,0>(a193F);
          real fx1935#5 = Index<real2,0>(f190F);
          real t3193A#1 = Add<real>(fx1935,_t11C5);
          real t11938#1 = Sub<real>(fx1935,_t11C5);
          real t01937#1 = Sub<real>(fx1935,_t11C7);
          real4 a1936#1 = <real4>[t3193A,fx1935,t11938,t01937];
          real4 hx1933#4 = EvalKernel<4,bspln3,0>(a1936);
          real t01948#1 = Dot<4>(v01913,hx1933);
          real t11949#1 = Dot<4>(v11914,hx1933);
          real t2194A#1 = Dot<4>(v21915,hx1933);
          real t3194B#1 = Dot<4>(v31916,hx1933);
          real4 tv1947#1 = <real4>[t01948,t11949,t2194A,t3194B];
          real _t190D#1 = Dot<4>(hy1934,tv1947);
          real _t198A#2 = Sub<real>(_t1890,_t190D);
          real _t198C#1 = Mul<real>(_t198A,_t198A);
          real score198E#1 = Add<real>(score1879,_t198C);
          goto JOIN1991
        JOIN1991:  preds = [ASSIGN198F,COND188F]
          real score1990#2 = phi(score198E,score1879)
          real _t1992#1 = Dot<2>(r011DF,v07114F);
          real _t1994#1 = Dot<2>(r111E5,v07114F);
          real2 _t1996#1 = <real2>[_t1992,_t1994];
          real2 pos1998#2 = Add<real2>(_t1996,_t11F5);
          real2 x199B#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1998);
          bool _t199A#1 = Inside<IMAGE2D<float>,2>(x199B,_t1133);
          if _t199A then goto ASSIGN19A1 else goto ASSIGN3837
        ASSIGN19A1:  preds = [COND199E]
          real2 x19A0#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v07114F);
          bool _t199F#1 = Inside<IMAGE2D<int>,2>(x19A0,_t112F);
          goto JOIN19A5
        JOIN19A5:  preds = [ASSIGN19A2,ASSIGN3837]
          bool _t19A3#1 = phi(_t199F,_t19A4)
          if _t19A3 then goto ASSIGN3938 else goto JOIN1AA8
        ASSIGN3938:  preds = [COND19A6]
          real2 nd19AA#2 = Floor<2>(x199B);
          real2 f19A9#2 = Sub<real2>(x199B,nd19AA);
          int{2} n19AB#8 = RealToInt<2>(nd19AA);
          int t119C7#4 = -1;
          int t219C8#1 = Index<int{2},0>(n19AB);
          int ix19C6#4 = Add<int>(t119C7,t219C8);
          int t219CB#4 = Index<int{2},1>(n19AB);
          int iy19C9#1 = Add<int>(t119C7,t219CB);
          addr(IMAGE2D<float>) a19CC#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix19C6,iy19C9);
          real4 v019AD#1 = LoadVoxels<IMAGE2D<float>,4>(a19CC);
          int iy19C2#1 = Add<int>(_t11ED,t219CB);
          addr(IMAGE2D<float>) a19C5#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix19C6,iy19C2);
          real4 v119AE#1 = LoadVoxels<IMAGE2D<float>,4>(a19C5);
          int iy19BB#1 = Add<int>(_t11F1,t219CB);
          addr(IMAGE2D<float>) a19BE#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix19C6,iy19BB);
          real4 v219AF#1 = LoadVoxels<IMAGE2D<float>,4>(a19BE);
          int iy19B4#1 = Add<int>(_t11C9,t219CB);
          addr(IMAGE2D<float>) a19B7#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix19C6,iy19B4);
          real4 v319B0#1 = LoadVoxels<IMAGE2D<float>,4>(a19B7);
          real fy19D8#5 = Index<real2,1>(f19A9);
          real t319DD#1 = Add<real>(fy19D8,_t11C5);
          real t119DB#1 = Sub<real>(fy19D8,_t11C5);
          real t019DA#1 = Sub<real>(fy19D8,_t11C7);
          real4 a19D9#1 = <real4>[t319DD,fy19D8,t119DB,t019DA];
          real4 hy19CE#1 = EvalKernel<4,bspln3,0>(a19D9);
          real fx19CF#5 = Index<real2,0>(f19A9);
          real t319D4#1 = Add<real>(fx19CF,_t11C5);
          real t119D2#1 = Sub<real>(fx19CF,_t11C5);
          real t019D1#1 = Sub<real>(fx19CF,_t11C7);
          real4 a19D0#1 = <real4>[t319D4,fx19CF,t119D2,t019D1];
          real4 hx19CD#4 = EvalKernel<4,bspln3,0>(a19D0);
          real t019E2#1 = Dot<4>(v019AD,hx19CD);
          real t119E3#1 = Dot<4>(v119AE,hx19CD);
          real t219E4#1 = Dot<4>(v219AF,hx19CD);
          real t319E5#1 = Dot<4>(v319B0,hx19CD);
          real4 tv19E1#1 = <real4>[t019E2,t119E3,t219E4,t319E5];
          real _t19A7#1 = Dot<4>(hy19CE,tv19E1);
          real2 x1A25#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v07114F);
          real2 nd1A27#2 = Floor<2>(x1A25);
          real2 f1A26#2 = Sub<real2>(x1A25,nd1A27);
          int{2} n1A28#8 = RealToInt<2>(nd1A27);
          int t21A45#1 = Index<int{2},0>(n1A28);
          int ix1A43#4 = Add<int>(t119C7,t21A45);
          int t21A48#4 = Index<int{2},1>(n1A28);
          int iy1A46#1 = Add<int>(t119C7,t21A48);
          addr(IMAGE2D<int>) a1A49#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1A43,iy1A46);
          real4 v01A2A#1 = LoadVoxels<IMAGE2D<int>,4>(a1A49);
          int iy1A3F#1 = Add<int>(_t11ED,t21A48);
          addr(IMAGE2D<int>) a1A42#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1A43,iy1A3F);
          real4 v11A2B#1 = LoadVoxels<IMAGE2D<int>,4>(a1A42);
          int iy1A38#1 = Add<int>(_t11F1,t21A48);
          addr(IMAGE2D<int>) a1A3B#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1A43,iy1A38);
          real4 v21A2C#1 = LoadVoxels<IMAGE2D<int>,4>(a1A3B);
          int iy1A31#1 = Add<int>(_t11C9,t21A48);
          addr(IMAGE2D<int>) a1A34#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1A43,iy1A31);
          real4 v31A2D#1 = LoadVoxels<IMAGE2D<int>,4>(a1A34);
          real fy1A55#5 = Index<real2,1>(f1A26);
          real t31A5A#1 = Add<real>(fy1A55,_t11C5);
          real t11A58#1 = Sub<real>(fy1A55,_t11C5);
          real t01A57#1 = Sub<real>(fy1A55,_t11C7);
          real4 a1A56#1 = <real4>[t31A5A,fy1A55,t11A58,t01A57];
          real4 hy1A4B#1 = EvalKernel<4,bspln3,0>(a1A56);
          real fx1A4C#5 = Index<real2,0>(f1A26);
          real t31A51#1 = Add<real>(fx1A4C,_t11C5);
          real t11A4F#1 = Sub<real>(fx1A4C,_t11C5);
          real t01A4E#1 = Sub<real>(fx1A4C,_t11C7);
          real4 a1A4D#1 = <real4>[t31A51,fx1A4C,t11A4F,t01A4E];
          real4 hx1A4A#4 = EvalKernel<4,bspln3,0>(a1A4D);
          real t01A5F#1 = Dot<4>(v01A2A,hx1A4A);
          real t11A60#1 = Dot<4>(v11A2B,hx1A4A);
          real t21A61#1 = Dot<4>(v21A2C,hx1A4A);
          real t31A62#1 = Dot<4>(v31A2D,hx1A4A);
          real4 tv1A5E#1 = <real4>[t01A5F,t11A60,t21A61,t31A62];
          real _t1A24#1 = Dot<4>(hy1A4B,tv1A5E);
          real _t1AA1#2 = Sub<real>(_t19A7,_t1A24);
          real _t1AA3#1 = Mul<real>(_t1AA1,_t1AA1);
          real score1AA5#1 = Add<real>(score1990,_t1AA3);
          goto JOIN1AA8
        JOIN1AA8:  preds = [ASSIGN1AA6,COND19A6]
          real score1AA7#2 = phi(score1AA5,score1990)
          real _t1AA9#1 = Dot<2>(r011DF,v081151);
          real _t1AAB#1 = Dot<2>(r111E5,v081151);
          real2 _t1AAD#1 = <real2>[_t1AA9,_t1AAB];
          real2 pos1AAF#2 = Add<real2>(_t1AAD,_t11F5);
          real2 x1AB2#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1AAF);
          bool _t1AB1#1 = Inside<IMAGE2D<float>,2>(x1AB2,_t1133);
          if _t1AB1 then goto ASSIGN1AB8 else goto ASSIGN3836
        ASSIGN1AB8:  preds = [COND1AB5]
          real2 x1AB7#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v081151);
          bool _t1AB6#1 = Inside<IMAGE2D<int>,2>(x1AB7,_t112F);
          goto JOIN1ABC
        JOIN1ABC:  preds = [ASSIGN1AB9,ASSIGN3836]
          bool _t1ABA#1 = phi(_t1AB6,_t1ABB)
          if _t1ABA then goto ASSIGN3959 else goto JOIN1BBF
        ASSIGN3959:  preds = [COND1ABD]
          real2 nd1AC1#2 = Floor<2>(x1AB2);
          real2 f1AC0#2 = Sub<real2>(x1AB2,nd1AC1);
          int{2} n1AC2#8 = RealToInt<2>(nd1AC1);
          int t11ADE#4 = -1;
          int t21ADF#1 = Index<int{2},0>(n1AC2);
          int ix1ADD#4 = Add<int>(t11ADE,t21ADF);
          int t21AE2#4 = Index<int{2},1>(n1AC2);
          int iy1AE0#1 = Add<int>(t11ADE,t21AE2);
          addr(IMAGE2D<float>) a1AE3#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1ADD,iy1AE0);
          real4 v01AC4#1 = LoadVoxels<IMAGE2D<float>,4>(a1AE3);
          int iy1AD9#1 = Add<int>(_t11ED,t21AE2);
          addr(IMAGE2D<float>) a1ADC#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1ADD,iy1AD9);
          real4 v11AC5#1 = LoadVoxels<IMAGE2D<float>,4>(a1ADC);
          int iy1AD2#1 = Add<int>(_t11F1,t21AE2);
          addr(IMAGE2D<float>) a1AD5#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1ADD,iy1AD2);
          real4 v21AC6#1 = LoadVoxels<IMAGE2D<float>,4>(a1AD5);
          int iy1ACB#1 = Add<int>(_t11C9,t21AE2);
          addr(IMAGE2D<float>) a1ACE#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1ADD,iy1ACB);
          real4 v31AC7#1 = LoadVoxels<IMAGE2D<float>,4>(a1ACE);
          real fy1AEF#5 = Index<real2,1>(f1AC0);
          real t31AF4#1 = Add<real>(fy1AEF,_t11C5);
          real t11AF2#1 = Sub<real>(fy1AEF,_t11C5);
          real t01AF1#1 = Sub<real>(fy1AEF,_t11C7);
          real4 a1AF0#1 = <real4>[t31AF4,fy1AEF,t11AF2,t01AF1];
          real4 hy1AE5#1 = EvalKernel<4,bspln3,0>(a1AF0);
          real fx1AE6#5 = Index<real2,0>(f1AC0);
          real t31AEB#1 = Add<real>(fx1AE6,_t11C5);
          real t11AE9#1 = Sub<real>(fx1AE6,_t11C5);
          real t01AE8#1 = Sub<real>(fx1AE6,_t11C7);
          real4 a1AE7#1 = <real4>[t31AEB,fx1AE6,t11AE9,t01AE8];
          real4 hx1AE4#4 = EvalKernel<4,bspln3,0>(a1AE7);
          real t01AF9#1 = Dot<4>(v01AC4,hx1AE4);
          real t11AFA#1 = Dot<4>(v11AC5,hx1AE4);
          real t21AFB#1 = Dot<4>(v21AC6,hx1AE4);
          real t31AFC#1 = Dot<4>(v31AC7,hx1AE4);
          real4 tv1AF8#1 = <real4>[t01AF9,t11AFA,t21AFB,t31AFC];
          real _t1ABE#1 = Dot<4>(hy1AE5,tv1AF8);
          real2 x1B3C#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v081151);
          real2 nd1B3E#2 = Floor<2>(x1B3C);
          real2 f1B3D#2 = Sub<real2>(x1B3C,nd1B3E);
          int{2} n1B3F#8 = RealToInt<2>(nd1B3E);
          int t21B5C#1 = Index<int{2},0>(n1B3F);
          int ix1B5A#4 = Add<int>(t11ADE,t21B5C);
          int t21B5F#4 = Index<int{2},1>(n1B3F);
          int iy1B5D#1 = Add<int>(t11ADE,t21B5F);
          addr(IMAGE2D<int>) a1B60#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1B5A,iy1B5D);
          real4 v01B41#1 = LoadVoxels<IMAGE2D<int>,4>(a1B60);
          int iy1B56#1 = Add<int>(_t11ED,t21B5F);
          addr(IMAGE2D<int>) a1B59#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1B5A,iy1B56);
          real4 v11B42#1 = LoadVoxels<IMAGE2D<int>,4>(a1B59);
          int iy1B4F#1 = Add<int>(_t11F1,t21B5F);
          addr(IMAGE2D<int>) a1B52#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1B5A,iy1B4F);
          real4 v21B43#1 = LoadVoxels<IMAGE2D<int>,4>(a1B52);
          int iy1B48#1 = Add<int>(_t11C9,t21B5F);
          addr(IMAGE2D<int>) a1B4B#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1B5A,iy1B48);
          real4 v31B44#1 = LoadVoxels<IMAGE2D<int>,4>(a1B4B);
          real fy1B6C#5 = Index<real2,1>(f1B3D);
          real t31B71#1 = Add<real>(fy1B6C,_t11C5);
          real t11B6F#1 = Sub<real>(fy1B6C,_t11C5);
          real t01B6E#1 = Sub<real>(fy1B6C,_t11C7);
          real4 a1B6D#1 = <real4>[t31B71,fy1B6C,t11B6F,t01B6E];
          real4 hy1B62#1 = EvalKernel<4,bspln3,0>(a1B6D);
          real fx1B63#5 = Index<real2,0>(f1B3D);
          real t31B68#1 = Add<real>(fx1B63,_t11C5);
          real t11B66#1 = Sub<real>(fx1B63,_t11C5);
          real t01B65#1 = Sub<real>(fx1B63,_t11C7);
          real4 a1B64#1 = <real4>[t31B68,fx1B63,t11B66,t01B65];
          real4 hx1B61#4 = EvalKernel<4,bspln3,0>(a1B64);
          real t01B76#1 = Dot<4>(v01B41,hx1B61);
          real t11B77#1 = Dot<4>(v11B42,hx1B61);
          real t21B78#1 = Dot<4>(v21B43,hx1B61);
          real t31B79#1 = Dot<4>(v31B44,hx1B61);
          real4 tv1B75#1 = <real4>[t01B76,t11B77,t21B78,t31B79];
          real _t1B3B#1 = Dot<4>(hy1B62,tv1B75);
          real _t1BB8#2 = Sub<real>(_t1ABE,_t1B3B);
          real _t1BBA#1 = Mul<real>(_t1BB8,_t1BB8);
          real score1BBC#1 = Add<real>(score1AA7,_t1BBA);
          goto JOIN1BBF
        JOIN1BBF:  preds = [ASSIGN1BBD,COND1ABD]
          real score1BBE#2 = phi(score1BBC,score1AA7)
          real _t1BC0#1 = Dot<2>(r011DF,v091153);
          real _t1BC2#1 = Dot<2>(r111E5,v091153);
          real2 _t1BC4#1 = <real2>[_t1BC0,_t1BC2];
          real2 pos1BC6#2 = Add<real2>(_t1BC4,_t11F5);
          real2 x1BC9#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1BC6);
          bool _t1BC8#1 = Inside<IMAGE2D<float>,2>(x1BC9,_t1133);
          if _t1BC8 then goto ASSIGN1BCF else goto ASSIGN3835
        ASSIGN1BCF:  preds = [COND1BCC]
          real2 x1BCE#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v091153);
          bool _t1BCD#1 = Inside<IMAGE2D<int>,2>(x1BCE,_t112F);
          goto JOIN1BD3
        JOIN1BD3:  preds = [ASSIGN1BD0,ASSIGN3835]
          bool _t1BD1#1 = phi(_t1BCD,_t1BD2)
          if _t1BD1 then goto ASSIGN397A else goto JOIN1CD6
        ASSIGN397A:  preds = [COND1BD4]
          real2 nd1BD8#2 = Floor<2>(x1BC9);
          real2 f1BD7#2 = Sub<real2>(x1BC9,nd1BD8);
          int{2} n1BD9#8 = RealToInt<2>(nd1BD8);
          int t11BF5#4 = -1;
          int t21BF6#1 = Index<int{2},0>(n1BD9);
          int ix1BF4#4 = Add<int>(t11BF5,t21BF6);
          int t21BF9#4 = Index<int{2},1>(n1BD9);
          int iy1BF7#1 = Add<int>(t11BF5,t21BF9);
          addr(IMAGE2D<float>) a1BFA#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1BF4,iy1BF7);
          real4 v01BDB#1 = LoadVoxels<IMAGE2D<float>,4>(a1BFA);
          int iy1BF0#1 = Add<int>(_t11ED,t21BF9);
          addr(IMAGE2D<float>) a1BF3#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1BF4,iy1BF0);
          real4 v11BDC#1 = LoadVoxels<IMAGE2D<float>,4>(a1BF3);
          int iy1BE9#1 = Add<int>(_t11F1,t21BF9);
          addr(IMAGE2D<float>) a1BEC#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1BF4,iy1BE9);
          real4 v21BDD#1 = LoadVoxels<IMAGE2D<float>,4>(a1BEC);
          int iy1BE2#1 = Add<int>(_t11C9,t21BF9);
          addr(IMAGE2D<float>) a1BE5#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1BF4,iy1BE2);
          real4 v31BDE#1 = LoadVoxels<IMAGE2D<float>,4>(a1BE5);
          real fy1C06#5 = Index<real2,1>(f1BD7);
          real t31C0B#1 = Add<real>(fy1C06,_t11C5);
          real t11C09#1 = Sub<real>(fy1C06,_t11C5);
          real t01C08#1 = Sub<real>(fy1C06,_t11C7);
          real4 a1C07#1 = <real4>[t31C0B,fy1C06,t11C09,t01C08];
          real4 hy1BFC#1 = EvalKernel<4,bspln3,0>(a1C07);
          real fx1BFD#5 = Index<real2,0>(f1BD7);
          real t31C02#1 = Add<real>(fx1BFD,_t11C5);
          real t11C00#1 = Sub<real>(fx1BFD,_t11C5);
          real t01BFF#1 = Sub<real>(fx1BFD,_t11C7);
          real4 a1BFE#1 = <real4>[t31C02,fx1BFD,t11C00,t01BFF];
          real4 hx1BFB#4 = EvalKernel<4,bspln3,0>(a1BFE);
          real t01C10#1 = Dot<4>(v01BDB,hx1BFB);
          real t11C11#1 = Dot<4>(v11BDC,hx1BFB);
          real t21C12#1 = Dot<4>(v21BDD,hx1BFB);
          real t31C13#1 = Dot<4>(v31BDE,hx1BFB);
          real4 tv1C0F#1 = <real4>[t01C10,t11C11,t21C12,t31C13];
          real _t1BD5#1 = Dot<4>(hy1BFC,tv1C0F);
          real2 x1C53#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v091153);
          real2 nd1C55#2 = Floor<2>(x1C53);
          real2 f1C54#2 = Sub<real2>(x1C53,nd1C55);
          int{2} n1C56#8 = RealToInt<2>(nd1C55);
          int t21C73#1 = Index<int{2},0>(n1C56);
          int ix1C71#4 = Add<int>(t11BF5,t21C73);
          int t21C76#4 = Index<int{2},1>(n1C56);
          int iy1C74#1 = Add<int>(t11BF5,t21C76);
          addr(IMAGE2D<int>) a1C77#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1C71,iy1C74);
          real4 v01C58#1 = LoadVoxels<IMAGE2D<int>,4>(a1C77);
          int iy1C6D#1 = Add<int>(_t11ED,t21C76);
          addr(IMAGE2D<int>) a1C70#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1C71,iy1C6D);
          real4 v11C59#1 = LoadVoxels<IMAGE2D<int>,4>(a1C70);
          int iy1C66#1 = Add<int>(_t11F1,t21C76);
          addr(IMAGE2D<int>) a1C69#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1C71,iy1C66);
          real4 v21C5A#1 = LoadVoxels<IMAGE2D<int>,4>(a1C69);
          int iy1C5F#1 = Add<int>(_t11C9,t21C76);
          addr(IMAGE2D<int>) a1C62#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1C71,iy1C5F);
          real4 v31C5B#1 = LoadVoxels<IMAGE2D<int>,4>(a1C62);
          real fy1C83#5 = Index<real2,1>(f1C54);
          real t31C88#1 = Add<real>(fy1C83,_t11C5);
          real t11C86#1 = Sub<real>(fy1C83,_t11C5);
          real t01C85#1 = Sub<real>(fy1C83,_t11C7);
          real4 a1C84#1 = <real4>[t31C88,fy1C83,t11C86,t01C85];
          real4 hy1C79#1 = EvalKernel<4,bspln3,0>(a1C84);
          real fx1C7A#5 = Index<real2,0>(f1C54);
          real t31C7F#1 = Add<real>(fx1C7A,_t11C5);
          real t11C7D#1 = Sub<real>(fx1C7A,_t11C5);
          real t01C7C#1 = Sub<real>(fx1C7A,_t11C7);
          real4 a1C7B#1 = <real4>[t31C7F,fx1C7A,t11C7D,t01C7C];
          real4 hx1C78#4 = EvalKernel<4,bspln3,0>(a1C7B);
          real t01C8D#1 = Dot<4>(v01C58,hx1C78);
          real t11C8E#1 = Dot<4>(v11C59,hx1C78);
          real t21C8F#1 = Dot<4>(v21C5A,hx1C78);
          real t31C90#1 = Dot<4>(v31C5B,hx1C78);
          real4 tv1C8C#1 = <real4>[t01C8D,t11C8E,t21C8F,t31C90];
          real _t1C52#1 = Dot<4>(hy1C79,tv1C8C);
          real _t1CCF#2 = Sub<real>(_t1BD5,_t1C52);
          real _t1CD1#1 = Mul<real>(_t1CCF,_t1CCF);
          real score1CD3#1 = Add<real>(score1BBE,_t1CD1);
          goto JOIN1CD6
        JOIN1CD6:  preds = [ASSIGN1CD4,COND1BD4]
          real score1CD5#2 = phi(score1CD3,score1BBE)
          real _t1CD7#1 = Dot<2>(r011DF,v101155);
          real _t1CD9#1 = Dot<2>(r111E5,v101155);
          real2 _t1CDB#1 = <real2>[_t1CD7,_t1CD9];
          real2 pos1CDD#2 = Add<real2>(_t1CDB,_t11F5);
          real2 x1CE0#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1CDD);
          bool _t1CDF#1 = Inside<IMAGE2D<float>,2>(x1CE0,_t1133);
          if _t1CDF then goto ASSIGN1CE6 else goto ASSIGN3834
        ASSIGN1CE6:  preds = [COND1CE3]
          real2 x1CE5#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v101155);
          bool _t1CE4#1 = Inside<IMAGE2D<int>,2>(x1CE5,_t112F);
          goto JOIN1CEA
        JOIN1CEA:  preds = [ASSIGN1CE7,ASSIGN3834]
          bool _t1CE8#1 = phi(_t1CE4,_t1CE9)
          if _t1CE8 then goto ASSIGN399B else goto JOIN1DED
        ASSIGN399B:  preds = [COND1CEB]
          real2 nd1CEF#2 = Floor<2>(x1CE0);
          real2 f1CEE#2 = Sub<real2>(x1CE0,nd1CEF);
          int{2} n1CF0#8 = RealToInt<2>(nd1CEF);
          int t11D0C#4 = -1;
          int t21D0D#1 = Index<int{2},0>(n1CF0);
          int ix1D0B#4 = Add<int>(t11D0C,t21D0D);
          int t21D10#4 = Index<int{2},1>(n1CF0);
          int iy1D0E#1 = Add<int>(t11D0C,t21D10);
          addr(IMAGE2D<float>) a1D11#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1D0B,iy1D0E);
          real4 v01CF2#1 = LoadVoxels<IMAGE2D<float>,4>(a1D11);
          int iy1D07#1 = Add<int>(_t11ED,t21D10);
          addr(IMAGE2D<float>) a1D0A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1D0B,iy1D07);
          real4 v11CF3#1 = LoadVoxels<IMAGE2D<float>,4>(a1D0A);
          int iy1D00#1 = Add<int>(_t11F1,t21D10);
          addr(IMAGE2D<float>) a1D03#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1D0B,iy1D00);
          real4 v21CF4#1 = LoadVoxels<IMAGE2D<float>,4>(a1D03);
          int iy1CF9#1 = Add<int>(_t11C9,t21D10);
          addr(IMAGE2D<float>) a1CFC#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1D0B,iy1CF9);
          real4 v31CF5#1 = LoadVoxels<IMAGE2D<float>,4>(a1CFC);
          real fy1D1D#5 = Index<real2,1>(f1CEE);
          real t31D22#1 = Add<real>(fy1D1D,_t11C5);
          real t11D20#1 = Sub<real>(fy1D1D,_t11C5);
          real t01D1F#1 = Sub<real>(fy1D1D,_t11C7);
          real4 a1D1E#1 = <real4>[t31D22,fy1D1D,t11D20,t01D1F];
          real4 hy1D13#1 = EvalKernel<4,bspln3,0>(a1D1E);
          real fx1D14#5 = Index<real2,0>(f1CEE);
          real t31D19#1 = Add<real>(fx1D14,_t11C5);
          real t11D17#1 = Sub<real>(fx1D14,_t11C5);
          real t01D16#1 = Sub<real>(fx1D14,_t11C7);
          real4 a1D15#1 = <real4>[t31D19,fx1D14,t11D17,t01D16];
          real4 hx1D12#4 = EvalKernel<4,bspln3,0>(a1D15);
          real t01D27#1 = Dot<4>(v01CF2,hx1D12);
          real t11D28#1 = Dot<4>(v11CF3,hx1D12);
          real t21D29#1 = Dot<4>(v21CF4,hx1D12);
          real t31D2A#1 = Dot<4>(v31CF5,hx1D12);
          real4 tv1D26#1 = <real4>[t01D27,t11D28,t21D29,t31D2A];
          real _t1CEC#1 = Dot<4>(hy1D13,tv1D26);
          real2 x1D6A#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v101155);
          real2 nd1D6C#2 = Floor<2>(x1D6A);
          real2 f1D6B#2 = Sub<real2>(x1D6A,nd1D6C);
          int{2} n1D6D#8 = RealToInt<2>(nd1D6C);
          int t21D8A#1 = Index<int{2},0>(n1D6D);
          int ix1D88#4 = Add<int>(t11D0C,t21D8A);
          int t21D8D#4 = Index<int{2},1>(n1D6D);
          int iy1D8B#1 = Add<int>(t11D0C,t21D8D);
          addr(IMAGE2D<int>) a1D8E#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1D88,iy1D8B);
          real4 v01D6F#1 = LoadVoxels<IMAGE2D<int>,4>(a1D8E);
          int iy1D84#1 = Add<int>(_t11ED,t21D8D);
          addr(IMAGE2D<int>) a1D87#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1D88,iy1D84);
          real4 v11D70#1 = LoadVoxels<IMAGE2D<int>,4>(a1D87);
          int iy1D7D#1 = Add<int>(_t11F1,t21D8D);
          addr(IMAGE2D<int>) a1D80#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1D88,iy1D7D);
          real4 v21D71#1 = LoadVoxels<IMAGE2D<int>,4>(a1D80);
          int iy1D76#1 = Add<int>(_t11C9,t21D8D);
          addr(IMAGE2D<int>) a1D79#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1D88,iy1D76);
          real4 v31D72#1 = LoadVoxels<IMAGE2D<int>,4>(a1D79);
          real fy1D9A#5 = Index<real2,1>(f1D6B);
          real t31D9F#1 = Add<real>(fy1D9A,_t11C5);
          real t11D9D#1 = Sub<real>(fy1D9A,_t11C5);
          real t01D9C#1 = Sub<real>(fy1D9A,_t11C7);
          real4 a1D9B#1 = <real4>[t31D9F,fy1D9A,t11D9D,t01D9C];
          real4 hy1D90#1 = EvalKernel<4,bspln3,0>(a1D9B);
          real fx1D91#5 = Index<real2,0>(f1D6B);
          real t31D96#1 = Add<real>(fx1D91,_t11C5);
          real t11D94#1 = Sub<real>(fx1D91,_t11C5);
          real t01D93#1 = Sub<real>(fx1D91,_t11C7);
          real4 a1D92#1 = <real4>[t31D96,fx1D91,t11D94,t01D93];
          real4 hx1D8F#4 = EvalKernel<4,bspln3,0>(a1D92);
          real t01DA4#1 = Dot<4>(v01D6F,hx1D8F);
          real t11DA5#1 = Dot<4>(v11D70,hx1D8F);
          real t21DA6#1 = Dot<4>(v21D71,hx1D8F);
          real t31DA7#1 = Dot<4>(v31D72,hx1D8F);
          real4 tv1DA3#1 = <real4>[t01DA4,t11DA5,t21DA6,t31DA7];
          real _t1D69#1 = Dot<4>(hy1D90,tv1DA3);
          real _t1DE6#2 = Sub<real>(_t1CEC,_t1D69);
          real _t1DE8#1 = Mul<real>(_t1DE6,_t1DE6);
          real score1DEA#1 = Add<real>(score1CD5,_t1DE8);
          goto JOIN1DED
        JOIN1DED:  preds = [ASSIGN1DEB,COND1CEB]
          real score1DEC#2 = phi(score1DEA,score1CD5)
          real _t1DEE#1 = Dot<2>(r011DF,v111157);
          real _t1DF0#1 = Dot<2>(r111E5,v111157);
          real2 _t1DF2#1 = <real2>[_t1DEE,_t1DF0];
          real2 pos1DF4#2 = Add<real2>(_t1DF2,_t11F5);
          real2 x1DF7#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1DF4);
          bool _t1DF6#1 = Inside<IMAGE2D<float>,2>(x1DF7,_t1133);
          if _t1DF6 then goto ASSIGN1DFD else goto ASSIGN3833
        ASSIGN1DFD:  preds = [COND1DFA]
          real2 x1DFC#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v111157);
          bool _t1DFB#1 = Inside<IMAGE2D<int>,2>(x1DFC,_t112F);
          goto JOIN1E01
        JOIN1E01:  preds = [ASSIGN1DFE,ASSIGN3833]
          bool _t1DFF#1 = phi(_t1DFB,_t1E00)
          if _t1DFF then goto ASSIGN39BC else goto JOIN1F04
        ASSIGN39BC:  preds = [COND1E02]
          real2 nd1E06#2 = Floor<2>(x1DF7);
          real2 f1E05#2 = Sub<real2>(x1DF7,nd1E06);
          int{2} n1E07#8 = RealToInt<2>(nd1E06);
          int t11E23#4 = -1;
          int t21E24#1 = Index<int{2},0>(n1E07);
          int ix1E22#4 = Add<int>(t11E23,t21E24);
          int t21E27#4 = Index<int{2},1>(n1E07);
          int iy1E25#1 = Add<int>(t11E23,t21E27);
          addr(IMAGE2D<float>) a1E28#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1E22,iy1E25);
          real4 v01E09#1 = LoadVoxels<IMAGE2D<float>,4>(a1E28);
          int iy1E1E#1 = Add<int>(_t11ED,t21E27);
          addr(IMAGE2D<float>) a1E21#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1E22,iy1E1E);
          real4 v11E0A#1 = LoadVoxels<IMAGE2D<float>,4>(a1E21);
          int iy1E17#1 = Add<int>(_t11F1,t21E27);
          addr(IMAGE2D<float>) a1E1A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1E22,iy1E17);
          real4 v21E0B#1 = LoadVoxels<IMAGE2D<float>,4>(a1E1A);
          int iy1E10#1 = Add<int>(_t11C9,t21E27);
          addr(IMAGE2D<float>) a1E13#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1E22,iy1E10);
          real4 v31E0C#1 = LoadVoxels<IMAGE2D<float>,4>(a1E13);
          real fy1E34#5 = Index<real2,1>(f1E05);
          real t31E39#1 = Add<real>(fy1E34,_t11C5);
          real t11E37#1 = Sub<real>(fy1E34,_t11C5);
          real t01E36#1 = Sub<real>(fy1E34,_t11C7);
          real4 a1E35#1 = <real4>[t31E39,fy1E34,t11E37,t01E36];
          real4 hy1E2A#1 = EvalKernel<4,bspln3,0>(a1E35);
          real fx1E2B#5 = Index<real2,0>(f1E05);
          real t31E30#1 = Add<real>(fx1E2B,_t11C5);
          real t11E2E#1 = Sub<real>(fx1E2B,_t11C5);
          real t01E2D#1 = Sub<real>(fx1E2B,_t11C7);
          real4 a1E2C#1 = <real4>[t31E30,fx1E2B,t11E2E,t01E2D];
          real4 hx1E29#4 = EvalKernel<4,bspln3,0>(a1E2C);
          real t01E3E#1 = Dot<4>(v01E09,hx1E29);
          real t11E3F#1 = Dot<4>(v11E0A,hx1E29);
          real t21E40#1 = Dot<4>(v21E0B,hx1E29);
          real t31E41#1 = Dot<4>(v31E0C,hx1E29);
          real4 tv1E3D#1 = <real4>[t01E3E,t11E3F,t21E40,t31E41];
          real _t1E03#1 = Dot<4>(hy1E2A,tv1E3D);
          real2 x1E81#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v111157);
          real2 nd1E83#2 = Floor<2>(x1E81);
          real2 f1E82#2 = Sub<real2>(x1E81,nd1E83);
          int{2} n1E84#8 = RealToInt<2>(nd1E83);
          int t21EA1#1 = Index<int{2},0>(n1E84);
          int ix1E9F#4 = Add<int>(t11E23,t21EA1);
          int t21EA4#4 = Index<int{2},1>(n1E84);
          int iy1EA2#1 = Add<int>(t11E23,t21EA4);
          addr(IMAGE2D<int>) a1EA5#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1E9F,iy1EA2);
          real4 v01E86#1 = LoadVoxels<IMAGE2D<int>,4>(a1EA5);
          int iy1E9B#1 = Add<int>(_t11ED,t21EA4);
          addr(IMAGE2D<int>) a1E9E#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1E9F,iy1E9B);
          real4 v11E87#1 = LoadVoxels<IMAGE2D<int>,4>(a1E9E);
          int iy1E94#1 = Add<int>(_t11F1,t21EA4);
          addr(IMAGE2D<int>) a1E97#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1E9F,iy1E94);
          real4 v21E88#1 = LoadVoxels<IMAGE2D<int>,4>(a1E97);
          int iy1E8D#1 = Add<int>(_t11C9,t21EA4);
          addr(IMAGE2D<int>) a1E90#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1E9F,iy1E8D);
          real4 v31E89#1 = LoadVoxels<IMAGE2D<int>,4>(a1E90);
          real fy1EB1#5 = Index<real2,1>(f1E82);
          real t31EB6#1 = Add<real>(fy1EB1,_t11C5);
          real t11EB4#1 = Sub<real>(fy1EB1,_t11C5);
          real t01EB3#1 = Sub<real>(fy1EB1,_t11C7);
          real4 a1EB2#1 = <real4>[t31EB6,fy1EB1,t11EB4,t01EB3];
          real4 hy1EA7#1 = EvalKernel<4,bspln3,0>(a1EB2);
          real fx1EA8#5 = Index<real2,0>(f1E82);
          real t31EAD#1 = Add<real>(fx1EA8,_t11C5);
          real t11EAB#1 = Sub<real>(fx1EA8,_t11C5);
          real t01EAA#1 = Sub<real>(fx1EA8,_t11C7);
          real4 a1EA9#1 = <real4>[t31EAD,fx1EA8,t11EAB,t01EAA];
          real4 hx1EA6#4 = EvalKernel<4,bspln3,0>(a1EA9);
          real t01EBB#1 = Dot<4>(v01E86,hx1EA6);
          real t11EBC#1 = Dot<4>(v11E87,hx1EA6);
          real t21EBD#1 = Dot<4>(v21E88,hx1EA6);
          real t31EBE#1 = Dot<4>(v31E89,hx1EA6);
          real4 tv1EBA#1 = <real4>[t01EBB,t11EBC,t21EBD,t31EBE];
          real _t1E80#1 = Dot<4>(hy1EA7,tv1EBA);
          real _t1EFD#2 = Sub<real>(_t1E03,_t1E80);
          real _t1EFF#1 = Mul<real>(_t1EFD,_t1EFD);
          real score1F01#1 = Add<real>(score1DEC,_t1EFF);
          goto JOIN1F04
        JOIN1F04:  preds = [ASSIGN1F02,COND1E02]
          real score1F03#2 = phi(score1F01,score1DEC)
          real _t1F05#1 = Dot<2>(r011DF,v121159);
          real _t1F07#1 = Dot<2>(r111E5,v121159);
          real2 _t1F09#1 = <real2>[_t1F05,_t1F07];
          real2 pos1F0B#2 = Add<real2>(_t1F09,_t11F5);
          real2 x1F0E#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1F0B);
          bool _t1F0D#1 = Inside<IMAGE2D<float>,2>(x1F0E,_t1133);
          if _t1F0D then goto ASSIGN1F14 else goto ASSIGN3832
        ASSIGN1F14:  preds = [COND1F11]
          real2 x1F13#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v121159);
          bool _t1F12#1 = Inside<IMAGE2D<int>,2>(x1F13,_t112F);
          goto JOIN1F18
        JOIN1F18:  preds = [ASSIGN1F15,ASSIGN3832]
          bool _t1F16#1 = phi(_t1F12,_t1F17)
          if _t1F16 then goto ASSIGN39DD else goto JOIN201B
        ASSIGN39DD:  preds = [COND1F19]
          real2 nd1F1D#2 = Floor<2>(x1F0E);
          real2 f1F1C#2 = Sub<real2>(x1F0E,nd1F1D);
          int{2} n1F1E#8 = RealToInt<2>(nd1F1D);
          int t11F3A#4 = -1;
          int t21F3B#1 = Index<int{2},0>(n1F1E);
          int ix1F39#4 = Add<int>(t11F3A,t21F3B);
          int t21F3E#4 = Index<int{2},1>(n1F1E);
          int iy1F3C#1 = Add<int>(t11F3A,t21F3E);
          addr(IMAGE2D<float>) a1F3F#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1F39,iy1F3C);
          real4 v01F20#1 = LoadVoxels<IMAGE2D<float>,4>(a1F3F);
          int iy1F35#1 = Add<int>(_t11ED,t21F3E);
          addr(IMAGE2D<float>) a1F38#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1F39,iy1F35);
          real4 v11F21#1 = LoadVoxels<IMAGE2D<float>,4>(a1F38);
          int iy1F2E#1 = Add<int>(_t11F1,t21F3E);
          addr(IMAGE2D<float>) a1F31#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1F39,iy1F2E);
          real4 v21F22#1 = LoadVoxels<IMAGE2D<float>,4>(a1F31);
          int iy1F27#1 = Add<int>(_t11C9,t21F3E);
          addr(IMAGE2D<float>) a1F2A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1F39,iy1F27);
          real4 v31F23#1 = LoadVoxels<IMAGE2D<float>,4>(a1F2A);
          real fy1F4B#5 = Index<real2,1>(f1F1C);
          real t31F50#1 = Add<real>(fy1F4B,_t11C5);
          real t11F4E#1 = Sub<real>(fy1F4B,_t11C5);
          real t01F4D#1 = Sub<real>(fy1F4B,_t11C7);
          real4 a1F4C#1 = <real4>[t31F50,fy1F4B,t11F4E,t01F4D];
          real4 hy1F41#1 = EvalKernel<4,bspln3,0>(a1F4C);
          real fx1F42#5 = Index<real2,0>(f1F1C);
          real t31F47#1 = Add<real>(fx1F42,_t11C5);
          real t11F45#1 = Sub<real>(fx1F42,_t11C5);
          real t01F44#1 = Sub<real>(fx1F42,_t11C7);
          real4 a1F43#1 = <real4>[t31F47,fx1F42,t11F45,t01F44];
          real4 hx1F40#4 = EvalKernel<4,bspln3,0>(a1F43);
          real t01F55#1 = Dot<4>(v01F20,hx1F40);
          real t11F56#1 = Dot<4>(v11F21,hx1F40);
          real t21F57#1 = Dot<4>(v21F22,hx1F40);
          real t31F58#1 = Dot<4>(v31F23,hx1F40);
          real4 tv1F54#1 = <real4>[t01F55,t11F56,t21F57,t31F58];
          real _t1F1A#1 = Dot<4>(hy1F41,tv1F54);
          real2 x1F98#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v121159);
          real2 nd1F9A#2 = Floor<2>(x1F98);
          real2 f1F99#2 = Sub<real2>(x1F98,nd1F9A);
          int{2} n1F9B#8 = RealToInt<2>(nd1F9A);
          int t21FB8#1 = Index<int{2},0>(n1F9B);
          int ix1FB6#4 = Add<int>(t11F3A,t21FB8);
          int t21FBB#4 = Index<int{2},1>(n1F9B);
          int iy1FB9#1 = Add<int>(t11F3A,t21FBB);
          addr(IMAGE2D<int>) a1FBC#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1FB6,iy1FB9);
          real4 v01F9D#1 = LoadVoxels<IMAGE2D<int>,4>(a1FBC);
          int iy1FB2#1 = Add<int>(_t11ED,t21FBB);
          addr(IMAGE2D<int>) a1FB5#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1FB6,iy1FB2);
          real4 v11F9E#1 = LoadVoxels<IMAGE2D<int>,4>(a1FB5);
          int iy1FAB#1 = Add<int>(_t11F1,t21FBB);
          addr(IMAGE2D<int>) a1FAE#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1FB6,iy1FAB);
          real4 v21F9F#1 = LoadVoxels<IMAGE2D<int>,4>(a1FAE);
          int iy1FA4#1 = Add<int>(_t11C9,t21FBB);
          addr(IMAGE2D<int>) a1FA7#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1FB6,iy1FA4);
          real4 v31FA0#1 = LoadVoxels<IMAGE2D<int>,4>(a1FA7);
          real fy1FC8#5 = Index<real2,1>(f1F99);
          real t31FCD#1 = Add<real>(fy1FC8,_t11C5);
          real t11FCB#1 = Sub<real>(fy1FC8,_t11C5);
          real t01FCA#1 = Sub<real>(fy1FC8,_t11C7);
          real4 a1FC9#1 = <real4>[t31FCD,fy1FC8,t11FCB,t01FCA];
          real4 hy1FBE#1 = EvalKernel<4,bspln3,0>(a1FC9);
          real fx1FBF#5 = Index<real2,0>(f1F99);
          real t31FC4#1 = Add<real>(fx1FBF,_t11C5);
          real t11FC2#1 = Sub<real>(fx1FBF,_t11C5);
          real t01FC1#1 = Sub<real>(fx1FBF,_t11C7);
          real4 a1FC0#1 = <real4>[t31FC4,fx1FBF,t11FC2,t01FC1];
          real4 hx1FBD#4 = EvalKernel<4,bspln3,0>(a1FC0);
          real t01FD2#1 = Dot<4>(v01F9D,hx1FBD);
          real t11FD3#1 = Dot<4>(v11F9E,hx1FBD);
          real t21FD4#1 = Dot<4>(v21F9F,hx1FBD);
          real t31FD5#1 = Dot<4>(v31FA0,hx1FBD);
          real4 tv1FD1#1 = <real4>[t01FD2,t11FD3,t21FD4,t31FD5];
          real _t1F97#1 = Dot<4>(hy1FBE,tv1FD1);
          real _t2014#2 = Sub<real>(_t1F1A,_t1F97);
          real _t2016#1 = Mul<real>(_t2014,_t2014);
          real score2018#1 = Add<real>(score1F03,_t2016);
          goto JOIN201B
        JOIN201B:  preds = [ASSIGN2019,COND1F19]
          real score201A#2 = phi(score2018,score1F03)
          real _t201C#1 = Dot<2>(r011DF,v13115B);
          real _t201E#1 = Dot<2>(r111E5,v13115B);
          real2 _t2020#1 = <real2>[_t201C,_t201E];
          real2 pos2022#2 = Add<real2>(_t2020,_t11F5);
          real2 x2025#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2022);
          bool _t2024#1 = Inside<IMAGE2D<float>,2>(x2025,_t1133);
          if _t2024 then goto ASSIGN202B else goto ASSIGN3831
        ASSIGN202B:  preds = [COND2028]
          real2 x202A#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v13115B);
          bool _t2029#1 = Inside<IMAGE2D<int>,2>(x202A,_t112F);
          goto JOIN202F
        JOIN202F:  preds = [ASSIGN202C,ASSIGN3831]
          bool _t202D#1 = phi(_t2029,_t202E)
          if _t202D then goto ASSIGN39FE else goto JOIN2132
        ASSIGN39FE:  preds = [COND2030]
          real2 nd2034#2 = Floor<2>(x2025);
          real2 f2033#2 = Sub<real2>(x2025,nd2034);
          int{2} n2035#8 = RealToInt<2>(nd2034);
          int t12051#4 = -1;
          int t22052#1 = Index<int{2},0>(n2035);
          int ix2050#4 = Add<int>(t12051,t22052);
          int t22055#4 = Index<int{2},1>(n2035);
          int iy2053#1 = Add<int>(t12051,t22055);
          addr(IMAGE2D<float>) a2056#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2050,iy2053);
          real4 v02037#1 = LoadVoxels<IMAGE2D<float>,4>(a2056);
          int iy204C#1 = Add<int>(_t11ED,t22055);
          addr(IMAGE2D<float>) a204F#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2050,iy204C);
          real4 v12038#1 = LoadVoxels<IMAGE2D<float>,4>(a204F);
          int iy2045#1 = Add<int>(_t11F1,t22055);
          addr(IMAGE2D<float>) a2048#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2050,iy2045);
          real4 v22039#1 = LoadVoxels<IMAGE2D<float>,4>(a2048);
          int iy203E#1 = Add<int>(_t11C9,t22055);
          addr(IMAGE2D<float>) a2041#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2050,iy203E);
          real4 v3203A#1 = LoadVoxels<IMAGE2D<float>,4>(a2041);
          real fy2062#5 = Index<real2,1>(f2033);
          real t32067#1 = Add<real>(fy2062,_t11C5);
          real t12065#1 = Sub<real>(fy2062,_t11C5);
          real t02064#1 = Sub<real>(fy2062,_t11C7);
          real4 a2063#1 = <real4>[t32067,fy2062,t12065,t02064];
          real4 hy2058#1 = EvalKernel<4,bspln3,0>(a2063);
          real fx2059#5 = Index<real2,0>(f2033);
          real t3205E#1 = Add<real>(fx2059,_t11C5);
          real t1205C#1 = Sub<real>(fx2059,_t11C5);
          real t0205B#1 = Sub<real>(fx2059,_t11C7);
          real4 a205A#1 = <real4>[t3205E,fx2059,t1205C,t0205B];
          real4 hx2057#4 = EvalKernel<4,bspln3,0>(a205A);
          real t0206C#1 = Dot<4>(v02037,hx2057);
          real t1206D#1 = Dot<4>(v12038,hx2057);
          real t2206E#1 = Dot<4>(v22039,hx2057);
          real t3206F#1 = Dot<4>(v3203A,hx2057);
          real4 tv206B#1 = <real4>[t0206C,t1206D,t2206E,t3206F];
          real _t2031#1 = Dot<4>(hy2058,tv206B);
          real2 x20AF#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v13115B);
          real2 nd20B1#2 = Floor<2>(x20AF);
          real2 f20B0#2 = Sub<real2>(x20AF,nd20B1);
          int{2} n20B2#8 = RealToInt<2>(nd20B1);
          int t220CF#1 = Index<int{2},0>(n20B2);
          int ix20CD#4 = Add<int>(t12051,t220CF);
          int t220D2#4 = Index<int{2},1>(n20B2);
          int iy20D0#1 = Add<int>(t12051,t220D2);
          addr(IMAGE2D<int>) a20D3#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix20CD,iy20D0);
          real4 v020B4#1 = LoadVoxels<IMAGE2D<int>,4>(a20D3);
          int iy20C9#1 = Add<int>(_t11ED,t220D2);
          addr(IMAGE2D<int>) a20CC#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix20CD,iy20C9);
          real4 v120B5#1 = LoadVoxels<IMAGE2D<int>,4>(a20CC);
          int iy20C2#1 = Add<int>(_t11F1,t220D2);
          addr(IMAGE2D<int>) a20C5#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix20CD,iy20C2);
          real4 v220B6#1 = LoadVoxels<IMAGE2D<int>,4>(a20C5);
          int iy20BB#1 = Add<int>(_t11C9,t220D2);
          addr(IMAGE2D<int>) a20BE#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix20CD,iy20BB);
          real4 v320B7#1 = LoadVoxels<IMAGE2D<int>,4>(a20BE);
          real fy20DF#5 = Index<real2,1>(f20B0);
          real t320E4#1 = Add<real>(fy20DF,_t11C5);
          real t120E2#1 = Sub<real>(fy20DF,_t11C5);
          real t020E1#1 = Sub<real>(fy20DF,_t11C7);
          real4 a20E0#1 = <real4>[t320E4,fy20DF,t120E2,t020E1];
          real4 hy20D5#1 = EvalKernel<4,bspln3,0>(a20E0);
          real fx20D6#5 = Index<real2,0>(f20B0);
          real t320DB#1 = Add<real>(fx20D6,_t11C5);
          real t120D9#1 = Sub<real>(fx20D6,_t11C5);
          real t020D8#1 = Sub<real>(fx20D6,_t11C7);
          real4 a20D7#1 = <real4>[t320DB,fx20D6,t120D9,t020D8];
          real4 hx20D4#4 = EvalKernel<4,bspln3,0>(a20D7);
          real t020E9#1 = Dot<4>(v020B4,hx20D4);
          real t120EA#1 = Dot<4>(v120B5,hx20D4);
          real t220EB#1 = Dot<4>(v220B6,hx20D4);
          real t320EC#1 = Dot<4>(v320B7,hx20D4);
          real4 tv20E8#1 = <real4>[t020E9,t120EA,t220EB,t320EC];
          real _t20AE#1 = Dot<4>(hy20D5,tv20E8);
          real _t212B#2 = Sub<real>(_t2031,_t20AE);
          real _t212D#1 = Mul<real>(_t212B,_t212B);
          real score212F#1 = Add<real>(score201A,_t212D);
          goto JOIN2132
        JOIN2132:  preds = [ASSIGN2130,COND2030]
          real score2131#2 = phi(score212F,score201A)
          real _t2133#1 = Dot<2>(r011DF,v14115D);
          real _t2135#1 = Dot<2>(r111E5,v14115D);
          real2 _t2137#1 = <real2>[_t2133,_t2135];
          real2 pos2139#2 = Add<real2>(_t2137,_t11F5);
          real2 x213C#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2139);
          bool _t213B#1 = Inside<IMAGE2D<float>,2>(x213C,_t1133);
          if _t213B then goto ASSIGN2142 else goto ASSIGN3830
        ASSIGN2142:  preds = [COND213F]
          real2 x2141#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v14115D);
          bool _t2140#1 = Inside<IMAGE2D<int>,2>(x2141,_t112F);
          goto JOIN2146
        JOIN2146:  preds = [ASSIGN2143,ASSIGN3830]
          bool _t2144#1 = phi(_t2140,_t2145)
          if _t2144 then goto ASSIGN3A1F else goto JOIN2249
        ASSIGN3A1F:  preds = [COND2147]
          real2 nd214B#2 = Floor<2>(x213C);
          real2 f214A#2 = Sub<real2>(x213C,nd214B);
          int{2} n214C#8 = RealToInt<2>(nd214B);
          int t12168#4 = -1;
          int t22169#1 = Index<int{2},0>(n214C);
          int ix2167#4 = Add<int>(t12168,t22169);
          int t2216C#4 = Index<int{2},1>(n214C);
          int iy216A#1 = Add<int>(t12168,t2216C);
          addr(IMAGE2D<float>) a216D#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2167,iy216A);
          real4 v0214E#1 = LoadVoxels<IMAGE2D<float>,4>(a216D);
          int iy2163#1 = Add<int>(_t11ED,t2216C);
          addr(IMAGE2D<float>) a2166#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2167,iy2163);
          real4 v1214F#1 = LoadVoxels<IMAGE2D<float>,4>(a2166);
          int iy215C#1 = Add<int>(_t11F1,t2216C);
          addr(IMAGE2D<float>) a215F#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2167,iy215C);
          real4 v22150#1 = LoadVoxels<IMAGE2D<float>,4>(a215F);
          int iy2155#1 = Add<int>(_t11C9,t2216C);
          addr(IMAGE2D<float>) a2158#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2167,iy2155);
          real4 v32151#1 = LoadVoxels<IMAGE2D<float>,4>(a2158);
          real fy2179#5 = Index<real2,1>(f214A);
          real t3217E#1 = Add<real>(fy2179,_t11C5);
          real t1217C#1 = Sub<real>(fy2179,_t11C5);
          real t0217B#1 = Sub<real>(fy2179,_t11C7);
          real4 a217A#1 = <real4>[t3217E,fy2179,t1217C,t0217B];
          real4 hy216F#1 = EvalKernel<4,bspln3,0>(a217A);
          real fx2170#5 = Index<real2,0>(f214A);
          real t32175#1 = Add<real>(fx2170,_t11C5);
          real t12173#1 = Sub<real>(fx2170,_t11C5);
          real t02172#1 = Sub<real>(fx2170,_t11C7);
          real4 a2171#1 = <real4>[t32175,fx2170,t12173,t02172];
          real4 hx216E#4 = EvalKernel<4,bspln3,0>(a2171);
          real t02183#1 = Dot<4>(v0214E,hx216E);
          real t12184#1 = Dot<4>(v1214F,hx216E);
          real t22185#1 = Dot<4>(v22150,hx216E);
          real t32186#1 = Dot<4>(v32151,hx216E);
          real4 tv2182#1 = <real4>[t02183,t12184,t22185,t32186];
          real _t2148#1 = Dot<4>(hy216F,tv2182);
          real2 x21C6#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v14115D);
          real2 nd21C8#2 = Floor<2>(x21C6);
          real2 f21C7#2 = Sub<real2>(x21C6,nd21C8);
          int{2} n21C9#8 = RealToInt<2>(nd21C8);
          int t221E6#1 = Index<int{2},0>(n21C9);
          int ix21E4#4 = Add<int>(t12168,t221E6);
          int t221E9#4 = Index<int{2},1>(n21C9);
          int iy21E7#1 = Add<int>(t12168,t221E9);
          addr(IMAGE2D<int>) a21EA#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix21E4,iy21E7);
          real4 v021CB#1 = LoadVoxels<IMAGE2D<int>,4>(a21EA);
          int iy21E0#1 = Add<int>(_t11ED,t221E9);
          addr(IMAGE2D<int>) a21E3#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix21E4,iy21E0);
          real4 v121CC#1 = LoadVoxels<IMAGE2D<int>,4>(a21E3);
          int iy21D9#1 = Add<int>(_t11F1,t221E9);
          addr(IMAGE2D<int>) a21DC#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix21E4,iy21D9);
          real4 v221CD#1 = LoadVoxels<IMAGE2D<int>,4>(a21DC);
          int iy21D2#1 = Add<int>(_t11C9,t221E9);
          addr(IMAGE2D<int>) a21D5#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix21E4,iy21D2);
          real4 v321CE#1 = LoadVoxels<IMAGE2D<int>,4>(a21D5);
          real fy21F6#5 = Index<real2,1>(f21C7);
          real t321FB#1 = Add<real>(fy21F6,_t11C5);
          real t121F9#1 = Sub<real>(fy21F6,_t11C5);
          real t021F8#1 = Sub<real>(fy21F6,_t11C7);
          real4 a21F7#1 = <real4>[t321FB,fy21F6,t121F9,t021F8];
          real4 hy21EC#1 = EvalKernel<4,bspln3,0>(a21F7);
          real fx21ED#5 = Index<real2,0>(f21C7);
          real t321F2#1 = Add<real>(fx21ED,_t11C5);
          real t121F0#1 = Sub<real>(fx21ED,_t11C5);
          real t021EF#1 = Sub<real>(fx21ED,_t11C7);
          real4 a21EE#1 = <real4>[t321F2,fx21ED,t121F0,t021EF];
          real4 hx21EB#4 = EvalKernel<4,bspln3,0>(a21EE);
          real t02200#1 = Dot<4>(v021CB,hx21EB);
          real t12201#1 = Dot<4>(v121CC,hx21EB);
          real t22202#1 = Dot<4>(v221CD,hx21EB);
          real t32203#1 = Dot<4>(v321CE,hx21EB);
          real4 tv21FF#1 = <real4>[t02200,t12201,t22202,t32203];
          real _t21C5#1 = Dot<4>(hy21EC,tv21FF);
          real _t2242#2 = Sub<real>(_t2148,_t21C5);
          real _t2244#1 = Mul<real>(_t2242,_t2242);
          real score2246#1 = Add<real>(score2131,_t2244);
          goto JOIN2249
        JOIN2249:  preds = [ASSIGN2247,COND2147]
          real score2248#2 = phi(score2246,score2131)
          real _t224A#1 = Dot<2>(r011DF,v15115F);
          real _t224C#1 = Dot<2>(r111E5,v15115F);
          real2 _t224E#1 = <real2>[_t224A,_t224C];
          real2 pos2250#2 = Add<real2>(_t224E,_t11F5);
          real2 x2253#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2250);
          bool _t2252#1 = Inside<IMAGE2D<float>,2>(x2253,_t1133);
          if _t2252 then goto ASSIGN2259 else goto ASSIGN382F
        ASSIGN2259:  preds = [COND2256]
          real2 x2258#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v15115F);
          bool _t2257#1 = Inside<IMAGE2D<int>,2>(x2258,_t112F);
          goto JOIN225D
        JOIN225D:  preds = [ASSIGN225A,ASSIGN382F]
          bool _t225B#1 = phi(_t2257,_t225C)
          if _t225B then goto ASSIGN3A40 else goto JOIN2360
        ASSIGN3A40:  preds = [COND225E]
          real2 nd2262#2 = Floor<2>(x2253);
          real2 f2261#2 = Sub<real2>(x2253,nd2262);
          int{2} n2263#8 = RealToInt<2>(nd2262);
          int t1227F#4 = -1;
          int t22280#1 = Index<int{2},0>(n2263);
          int ix227E#4 = Add<int>(t1227F,t22280);
          int t22283#4 = Index<int{2},1>(n2263);
          int iy2281#1 = Add<int>(t1227F,t22283);
          addr(IMAGE2D<float>) a2284#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix227E,iy2281);
          real4 v02265#1 = LoadVoxels<IMAGE2D<float>,4>(a2284);
          int iy227A#1 = Add<int>(_t11ED,t22283);
          addr(IMAGE2D<float>) a227D#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix227E,iy227A);
          real4 v12266#1 = LoadVoxels<IMAGE2D<float>,4>(a227D);
          int iy2273#1 = Add<int>(_t11F1,t22283);
          addr(IMAGE2D<float>) a2276#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix227E,iy2273);
          real4 v22267#1 = LoadVoxels<IMAGE2D<float>,4>(a2276);
          int iy226C#1 = Add<int>(_t11C9,t22283);
          addr(IMAGE2D<float>) a226F#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix227E,iy226C);
          real4 v32268#1 = LoadVoxels<IMAGE2D<float>,4>(a226F);
          real fy2290#5 = Index<real2,1>(f2261);
          real t32295#1 = Add<real>(fy2290,_t11C5);
          real t12293#1 = Sub<real>(fy2290,_t11C5);
          real t02292#1 = Sub<real>(fy2290,_t11C7);
          real4 a2291#1 = <real4>[t32295,fy2290,t12293,t02292];
          real4 hy2286#1 = EvalKernel<4,bspln3,0>(a2291);
          real fx2287#5 = Index<real2,0>(f2261);
          real t3228C#1 = Add<real>(fx2287,_t11C5);
          real t1228A#1 = Sub<real>(fx2287,_t11C5);
          real t02289#1 = Sub<real>(fx2287,_t11C7);
          real4 a2288#1 = <real4>[t3228C,fx2287,t1228A,t02289];
          real4 hx2285#4 = EvalKernel<4,bspln3,0>(a2288);
          real t0229A#1 = Dot<4>(v02265,hx2285);
          real t1229B#1 = Dot<4>(v12266,hx2285);
          real t2229C#1 = Dot<4>(v22267,hx2285);
          real t3229D#1 = Dot<4>(v32268,hx2285);
          real4 tv2299#1 = <real4>[t0229A,t1229B,t2229C,t3229D];
          real _t225F#1 = Dot<4>(hy2286,tv2299);
          real2 x22DD#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v15115F);
          real2 nd22DF#2 = Floor<2>(x22DD);
          real2 f22DE#2 = Sub<real2>(x22DD,nd22DF);
          int{2} n22E0#8 = RealToInt<2>(nd22DF);
          int t222FD#1 = Index<int{2},0>(n22E0);
          int ix22FB#4 = Add<int>(t1227F,t222FD);
          int t22300#4 = Index<int{2},1>(n22E0);
          int iy22FE#1 = Add<int>(t1227F,t22300);
          addr(IMAGE2D<int>) a2301#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix22FB,iy22FE);
          real4 v022E2#1 = LoadVoxels<IMAGE2D<int>,4>(a2301);
          int iy22F7#1 = Add<int>(_t11ED,t22300);
          addr(IMAGE2D<int>) a22FA#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix22FB,iy22F7);
          real4 v122E3#1 = LoadVoxels<IMAGE2D<int>,4>(a22FA);
          int iy22F0#1 = Add<int>(_t11F1,t22300);
          addr(IMAGE2D<int>) a22F3#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix22FB,iy22F0);
          real4 v222E4#1 = LoadVoxels<IMAGE2D<int>,4>(a22F3);
          int iy22E9#1 = Add<int>(_t11C9,t22300);
          addr(IMAGE2D<int>) a22EC#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix22FB,iy22E9);
          real4 v322E5#1 = LoadVoxels<IMAGE2D<int>,4>(a22EC);
          real fy230D#5 = Index<real2,1>(f22DE);
          real t32312#1 = Add<real>(fy230D,_t11C5);
          real t12310#1 = Sub<real>(fy230D,_t11C5);
          real t0230F#1 = Sub<real>(fy230D,_t11C7);
          real4 a230E#1 = <real4>[t32312,fy230D,t12310,t0230F];
          real4 hy2303#1 = EvalKernel<4,bspln3,0>(a230E);
          real fx2304#5 = Index<real2,0>(f22DE);
          real t32309#1 = Add<real>(fx2304,_t11C5);
          real t12307#1 = Sub<real>(fx2304,_t11C5);
          real t02306#1 = Sub<real>(fx2304,_t11C7);
          real4 a2305#1 = <real4>[t32309,fx2304,t12307,t02306];
          real4 hx2302#4 = EvalKernel<4,bspln3,0>(a2305);
          real t02317#1 = Dot<4>(v022E2,hx2302);
          real t12318#1 = Dot<4>(v122E3,hx2302);
          real t22319#1 = Dot<4>(v222E4,hx2302);
          real t3231A#1 = Dot<4>(v322E5,hx2302);
          real4 tv2316#1 = <real4>[t02317,t12318,t22319,t3231A];
          real _t22DC#1 = Dot<4>(hy2303,tv2316);
          real _t2359#2 = Sub<real>(_t225F,_t22DC);
          real _t235B#1 = Mul<real>(_t2359,_t2359);
          real score235D#1 = Add<real>(score2248,_t235B);
          goto JOIN2360
        JOIN2360:  preds = [ASSIGN235E,COND225E]
          real score235F#2 = phi(score235D,score2248)
          real _t2361#1 = Dot<2>(r011DF,v161161);
          real _t2363#1 = Dot<2>(r111E5,v161161);
          real2 _t2365#1 = <real2>[_t2361,_t2363];
          real2 pos2367#2 = Add<real2>(_t2365,_t11F5);
          real2 x236A#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2367);
          bool _t2369#1 = Inside<IMAGE2D<float>,2>(x236A,_t1133);
          if _t2369 then goto ASSIGN2370 else goto ASSIGN382E
        ASSIGN2370:  preds = [COND236D]
          real2 x236F#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v161161);
          bool _t236E#1 = Inside<IMAGE2D<int>,2>(x236F,_t112F);
          goto JOIN2374
        JOIN2374:  preds = [ASSIGN2371,ASSIGN382E]
          bool _t2372#1 = phi(_t236E,_t2373)
          if _t2372 then goto ASSIGN3A61 else goto JOIN2477
        ASSIGN3A61:  preds = [COND2375]
          real2 nd2379#2 = Floor<2>(x236A);
          real2 f2378#2 = Sub<real2>(x236A,nd2379);
          int{2} n237A#8 = RealToInt<2>(nd2379);
          int t12396#4 = -1;
          int t22397#1 = Index<int{2},0>(n237A);
          int ix2395#4 = Add<int>(t12396,t22397);
          int t2239A#4 = Index<int{2},1>(n237A);
          int iy2398#1 = Add<int>(t12396,t2239A);
          addr(IMAGE2D<float>) a239B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2395,iy2398);
          real4 v0237C#1 = LoadVoxels<IMAGE2D<float>,4>(a239B);
          int iy2391#1 = Add<int>(_t11ED,t2239A);
          addr(IMAGE2D<float>) a2394#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2395,iy2391);
          real4 v1237D#1 = LoadVoxels<IMAGE2D<float>,4>(a2394);
          int iy238A#1 = Add<int>(_t11F1,t2239A);
          addr(IMAGE2D<float>) a238D#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2395,iy238A);
          real4 v2237E#1 = LoadVoxels<IMAGE2D<float>,4>(a238D);
          int iy2383#1 = Add<int>(_t11C9,t2239A);
          addr(IMAGE2D<float>) a2386#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2395,iy2383);
          real4 v3237F#1 = LoadVoxels<IMAGE2D<float>,4>(a2386);
          real fy23A7#5 = Index<real2,1>(f2378);
          real t323AC#1 = Add<real>(fy23A7,_t11C5);
          real t123AA#1 = Sub<real>(fy23A7,_t11C5);
          real t023A9#1 = Sub<real>(fy23A7,_t11C7);
          real4 a23A8#1 = <real4>[t323AC,fy23A7,t123AA,t023A9];
          real4 hy239D#1 = EvalKernel<4,bspln3,0>(a23A8);
          real fx239E#5 = Index<real2,0>(f2378);
          real t323A3#1 = Add<real>(fx239E,_t11C5);
          real t123A1#1 = Sub<real>(fx239E,_t11C5);
          real t023A0#1 = Sub<real>(fx239E,_t11C7);
          real4 a239F#1 = <real4>[t323A3,fx239E,t123A1,t023A0];
          real4 hx239C#4 = EvalKernel<4,bspln3,0>(a239F);
          real t023B1#1 = Dot<4>(v0237C,hx239C);
          real t123B2#1 = Dot<4>(v1237D,hx239C);
          real t223B3#1 = Dot<4>(v2237E,hx239C);
          real t323B4#1 = Dot<4>(v3237F,hx239C);
          real4 tv23B0#1 = <real4>[t023B1,t123B2,t223B3,t323B4];
          real _t2376#1 = Dot<4>(hy239D,tv23B0);
          real2 x23F4#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v161161);
          real2 nd23F6#2 = Floor<2>(x23F4);
          real2 f23F5#2 = Sub<real2>(x23F4,nd23F6);
          int{2} n23F7#8 = RealToInt<2>(nd23F6);
          int t22414#1 = Index<int{2},0>(n23F7);
          int ix2412#4 = Add<int>(t12396,t22414);
          int t22417#4 = Index<int{2},1>(n23F7);
          int iy2415#1 = Add<int>(t12396,t22417);
          addr(IMAGE2D<int>) a2418#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2412,iy2415);
          real4 v023F9#1 = LoadVoxels<IMAGE2D<int>,4>(a2418);
          int iy240E#1 = Add<int>(_t11ED,t22417);
          addr(IMAGE2D<int>) a2411#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2412,iy240E);
          real4 v123FA#1 = LoadVoxels<IMAGE2D<int>,4>(a2411);
          int iy2407#1 = Add<int>(_t11F1,t22417);
          addr(IMAGE2D<int>) a240A#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2412,iy2407);
          real4 v223FB#1 = LoadVoxels<IMAGE2D<int>,4>(a240A);
          int iy2400#1 = Add<int>(_t11C9,t22417);
          addr(IMAGE2D<int>) a2403#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2412,iy2400);
          real4 v323FC#1 = LoadVoxels<IMAGE2D<int>,4>(a2403);
          real fy2424#5 = Index<real2,1>(f23F5);
          real t32429#1 = Add<real>(fy2424,_t11C5);
          real t12427#1 = Sub<real>(fy2424,_t11C5);
          real t02426#1 = Sub<real>(fy2424,_t11C7);
          real4 a2425#1 = <real4>[t32429,fy2424,t12427,t02426];
          real4 hy241A#1 = EvalKernel<4,bspln3,0>(a2425);
          real fx241B#5 = Index<real2,0>(f23F5);
          real t32420#1 = Add<real>(fx241B,_t11C5);
          real t1241E#1 = Sub<real>(fx241B,_t11C5);
          real t0241D#1 = Sub<real>(fx241B,_t11C7);
          real4 a241C#1 = <real4>[t32420,fx241B,t1241E,t0241D];
          real4 hx2419#4 = EvalKernel<4,bspln3,0>(a241C);
          real t0242E#1 = Dot<4>(v023F9,hx2419);
          real t1242F#1 = Dot<4>(v123FA,hx2419);
          real t22430#1 = Dot<4>(v223FB,hx2419);
          real t32431#1 = Dot<4>(v323FC,hx2419);
          real4 tv242D#1 = <real4>[t0242E,t1242F,t22430,t32431];
          real _t23F3#1 = Dot<4>(hy241A,tv242D);
          real _t2470#2 = Sub<real>(_t2376,_t23F3);
          real _t2472#1 = Mul<real>(_t2470,_t2470);
          real score2474#1 = Add<real>(score235F,_t2472);
          goto JOIN2477
        JOIN2477:  preds = [ASSIGN2475,COND2375]
          real score2476#2 = phi(score2474,score235F)
          real _t2478#1 = Dot<2>(r011DF,v171163);
          real _t247A#1 = Dot<2>(r111E5,v171163);
          real2 _t247C#1 = <real2>[_t2478,_t247A];
          real2 pos247E#2 = Add<real2>(_t247C,_t11F5);
          real2 x2481#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos247E);
          bool _t2480#1 = Inside<IMAGE2D<float>,2>(x2481,_t1133);
          if _t2480 then goto ASSIGN2487 else goto ASSIGN382D
        ASSIGN2487:  preds = [COND2484]
          real2 x2486#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v171163);
          bool _t2485#1 = Inside<IMAGE2D<int>,2>(x2486,_t112F);
          goto JOIN248B
        JOIN248B:  preds = [ASSIGN2488,ASSIGN382D]
          bool _t2489#1 = phi(_t2485,_t248A)
          if _t2489 then goto ASSIGN3A82 else goto JOIN258E
        ASSIGN3A82:  preds = [COND248C]
          real2 nd2490#2 = Floor<2>(x2481);
          real2 f248F#2 = Sub<real2>(x2481,nd2490);
          int{2} n2491#8 = RealToInt<2>(nd2490);
          int t124AD#4 = -1;
          int t224AE#1 = Index<int{2},0>(n2491);
          int ix24AC#4 = Add<int>(t124AD,t224AE);
          int t224B1#4 = Index<int{2},1>(n2491);
          int iy24AF#1 = Add<int>(t124AD,t224B1);
          addr(IMAGE2D<float>) a24B2#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix24AC,iy24AF);
          real4 v02493#1 = LoadVoxels<IMAGE2D<float>,4>(a24B2);
          int iy24A8#1 = Add<int>(_t11ED,t224B1);
          addr(IMAGE2D<float>) a24AB#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix24AC,iy24A8);
          real4 v12494#1 = LoadVoxels<IMAGE2D<float>,4>(a24AB);
          int iy24A1#1 = Add<int>(_t11F1,t224B1);
          addr(IMAGE2D<float>) a24A4#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix24AC,iy24A1);
          real4 v22495#1 = LoadVoxels<IMAGE2D<float>,4>(a24A4);
          int iy249A#1 = Add<int>(_t11C9,t224B1);
          addr(IMAGE2D<float>) a249D#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix24AC,iy249A);
          real4 v32496#1 = LoadVoxels<IMAGE2D<float>,4>(a249D);
          real fy24BE#5 = Index<real2,1>(f248F);
          real t324C3#1 = Add<real>(fy24BE,_t11C5);
          real t124C1#1 = Sub<real>(fy24BE,_t11C5);
          real t024C0#1 = Sub<real>(fy24BE,_t11C7);
          real4 a24BF#1 = <real4>[t324C3,fy24BE,t124C1,t024C0];
          real4 hy24B4#1 = EvalKernel<4,bspln3,0>(a24BF);
          real fx24B5#5 = Index<real2,0>(f248F);
          real t324BA#1 = Add<real>(fx24B5,_t11C5);
          real t124B8#1 = Sub<real>(fx24B5,_t11C5);
          real t024B7#1 = Sub<real>(fx24B5,_t11C7);
          real4 a24B6#1 = <real4>[t324BA,fx24B5,t124B8,t024B7];
          real4 hx24B3#4 = EvalKernel<4,bspln3,0>(a24B6);
          real t024C8#1 = Dot<4>(v02493,hx24B3);
          real t124C9#1 = Dot<4>(v12494,hx24B3);
          real t224CA#1 = Dot<4>(v22495,hx24B3);
          real t324CB#1 = Dot<4>(v32496,hx24B3);
          real4 tv24C7#1 = <real4>[t024C8,t124C9,t224CA,t324CB];
          real _t248D#1 = Dot<4>(hy24B4,tv24C7);
          real2 x250B#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v171163);
          real2 nd250D#2 = Floor<2>(x250B);
          real2 f250C#2 = Sub<real2>(x250B,nd250D);
          int{2} n250E#8 = RealToInt<2>(nd250D);
          int t2252B#1 = Index<int{2},0>(n250E);
          int ix2529#4 = Add<int>(t124AD,t2252B);
          int t2252E#4 = Index<int{2},1>(n250E);
          int iy252C#1 = Add<int>(t124AD,t2252E);
          addr(IMAGE2D<int>) a252F#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2529,iy252C);
          real4 v02510#1 = LoadVoxels<IMAGE2D<int>,4>(a252F);
          int iy2525#1 = Add<int>(_t11ED,t2252E);
          addr(IMAGE2D<int>) a2528#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2529,iy2525);
          real4 v12511#1 = LoadVoxels<IMAGE2D<int>,4>(a2528);
          int iy251E#1 = Add<int>(_t11F1,t2252E);
          addr(IMAGE2D<int>) a2521#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2529,iy251E);
          real4 v22512#1 = LoadVoxels<IMAGE2D<int>,4>(a2521);
          int iy2517#1 = Add<int>(_t11C9,t2252E);
          addr(IMAGE2D<int>) a251A#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2529,iy2517);
          real4 v32513#1 = LoadVoxels<IMAGE2D<int>,4>(a251A);
          real fy253B#5 = Index<real2,1>(f250C);
          real t32540#1 = Add<real>(fy253B,_t11C5);
          real t1253E#1 = Sub<real>(fy253B,_t11C5);
          real t0253D#1 = Sub<real>(fy253B,_t11C7);
          real4 a253C#1 = <real4>[t32540,fy253B,t1253E,t0253D];
          real4 hy2531#1 = EvalKernel<4,bspln3,0>(a253C);
          real fx2532#5 = Index<real2,0>(f250C);
          real t32537#1 = Add<real>(fx2532,_t11C5);
          real t12535#1 = Sub<real>(fx2532,_t11C5);
          real t02534#1 = Sub<real>(fx2532,_t11C7);
          real4 a2533#1 = <real4>[t32537,fx2532,t12535,t02534];
          real4 hx2530#4 = EvalKernel<4,bspln3,0>(a2533);
          real t02545#1 = Dot<4>(v02510,hx2530);
          real t12546#1 = Dot<4>(v12511,hx2530);
          real t22547#1 = Dot<4>(v22512,hx2530);
          real t32548#1 = Dot<4>(v32513,hx2530);
          real4 tv2544#1 = <real4>[t02545,t12546,t22547,t32548];
          real _t250A#1 = Dot<4>(hy2531,tv2544);
          real _t2587#2 = Sub<real>(_t248D,_t250A);
          real _t2589#1 = Mul<real>(_t2587,_t2587);
          real score258B#1 = Add<real>(score2476,_t2589);
          goto JOIN258E
        JOIN258E:  preds = [ASSIGN258C,COND248C]
          real score258D#2 = phi(score258B,score2476)
          real _t258F#1 = Dot<2>(r011DF,v181165);
          real _t2591#1 = Dot<2>(r111E5,v181165);
          real2 _t2593#1 = <real2>[_t258F,_t2591];
          real2 pos2595#2 = Add<real2>(_t2593,_t11F5);
          real2 x2598#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2595);
          bool _t2597#1 = Inside<IMAGE2D<float>,2>(x2598,_t1133);
          if _t2597 then goto ASSIGN259E else goto ASSIGN382C
        ASSIGN259E:  preds = [COND259B]
          real2 x259D#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v181165);
          bool _t259C#1 = Inside<IMAGE2D<int>,2>(x259D,_t112F);
          goto JOIN25A2
        JOIN25A2:  preds = [ASSIGN259F,ASSIGN382C]
          bool _t25A0#1 = phi(_t259C,_t25A1)
          if _t25A0 then goto ASSIGN3AA3 else goto JOIN26A5
        ASSIGN3AA3:  preds = [COND25A3]
          real2 nd25A7#2 = Floor<2>(x2598);
          real2 f25A6#2 = Sub<real2>(x2598,nd25A7);
          int{2} n25A8#8 = RealToInt<2>(nd25A7);
          int t125C4#4 = -1;
          int t225C5#1 = Index<int{2},0>(n25A8);
          int ix25C3#4 = Add<int>(t125C4,t225C5);
          int t225C8#4 = Index<int{2},1>(n25A8);
          int iy25C6#1 = Add<int>(t125C4,t225C8);
          addr(IMAGE2D<float>) a25C9#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix25C3,iy25C6);
          real4 v025AA#1 = LoadVoxels<IMAGE2D<float>,4>(a25C9);
          int iy25BF#1 = Add<int>(_t11ED,t225C8);
          addr(IMAGE2D<float>) a25C2#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix25C3,iy25BF);
          real4 v125AB#1 = LoadVoxels<IMAGE2D<float>,4>(a25C2);
          int iy25B8#1 = Add<int>(_t11F1,t225C8);
          addr(IMAGE2D<float>) a25BB#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix25C3,iy25B8);
          real4 v225AC#1 = LoadVoxels<IMAGE2D<float>,4>(a25BB);
          int iy25B1#1 = Add<int>(_t11C9,t225C8);
          addr(IMAGE2D<float>) a25B4#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix25C3,iy25B1);
          real4 v325AD#1 = LoadVoxels<IMAGE2D<float>,4>(a25B4);
          real fy25D5#5 = Index<real2,1>(f25A6);
          real t325DA#1 = Add<real>(fy25D5,_t11C5);
          real t125D8#1 = Sub<real>(fy25D5,_t11C5);
          real t025D7#1 = Sub<real>(fy25D5,_t11C7);
          real4 a25D6#1 = <real4>[t325DA,fy25D5,t125D8,t025D7];
          real4 hy25CB#1 = EvalKernel<4,bspln3,0>(a25D6);
          real fx25CC#5 = Index<real2,0>(f25A6);
          real t325D1#1 = Add<real>(fx25CC,_t11C5);
          real t125CF#1 = Sub<real>(fx25CC,_t11C5);
          real t025CE#1 = Sub<real>(fx25CC,_t11C7);
          real4 a25CD#1 = <real4>[t325D1,fx25CC,t125CF,t025CE];
          real4 hx25CA#4 = EvalKernel<4,bspln3,0>(a25CD);
          real t025DF#1 = Dot<4>(v025AA,hx25CA);
          real t125E0#1 = Dot<4>(v125AB,hx25CA);
          real t225E1#1 = Dot<4>(v225AC,hx25CA);
          real t325E2#1 = Dot<4>(v325AD,hx25CA);
          real4 tv25DE#1 = <real4>[t025DF,t125E0,t225E1,t325E2];
          real _t25A4#1 = Dot<4>(hy25CB,tv25DE);
          real2 x2622#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v181165);
          real2 nd2624#2 = Floor<2>(x2622);
          real2 f2623#2 = Sub<real2>(x2622,nd2624);
          int{2} n2625#8 = RealToInt<2>(nd2624);
          int t22642#1 = Index<int{2},0>(n2625);
          int ix2640#4 = Add<int>(t125C4,t22642);
          int t22645#4 = Index<int{2},1>(n2625);
          int iy2643#1 = Add<int>(t125C4,t22645);
          addr(IMAGE2D<int>) a2646#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2640,iy2643);
          real4 v02627#1 = LoadVoxels<IMAGE2D<int>,4>(a2646);
          int iy263C#1 = Add<int>(_t11ED,t22645);
          addr(IMAGE2D<int>) a263F#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2640,iy263C);
          real4 v12628#1 = LoadVoxels<IMAGE2D<int>,4>(a263F);
          int iy2635#1 = Add<int>(_t11F1,t22645);
          addr(IMAGE2D<int>) a2638#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2640,iy2635);
          real4 v22629#1 = LoadVoxels<IMAGE2D<int>,4>(a2638);
          int iy262E#1 = Add<int>(_t11C9,t22645);
          addr(IMAGE2D<int>) a2631#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2640,iy262E);
          real4 v3262A#1 = LoadVoxels<IMAGE2D<int>,4>(a2631);
          real fy2652#5 = Index<real2,1>(f2623);
          real t32657#1 = Add<real>(fy2652,_t11C5);
          real t12655#1 = Sub<real>(fy2652,_t11C5);
          real t02654#1 = Sub<real>(fy2652,_t11C7);
          real4 a2653#1 = <real4>[t32657,fy2652,t12655,t02654];
          real4 hy2648#1 = EvalKernel<4,bspln3,0>(a2653);
          real fx2649#5 = Index<real2,0>(f2623);
          real t3264E#1 = Add<real>(fx2649,_t11C5);
          real t1264C#1 = Sub<real>(fx2649,_t11C5);
          real t0264B#1 = Sub<real>(fx2649,_t11C7);
          real4 a264A#1 = <real4>[t3264E,fx2649,t1264C,t0264B];
          real4 hx2647#4 = EvalKernel<4,bspln3,0>(a264A);
          real t0265C#1 = Dot<4>(v02627,hx2647);
          real t1265D#1 = Dot<4>(v12628,hx2647);
          real t2265E#1 = Dot<4>(v22629,hx2647);
          real t3265F#1 = Dot<4>(v3262A,hx2647);
          real4 tv265B#1 = <real4>[t0265C,t1265D,t2265E,t3265F];
          real _t2621#1 = Dot<4>(hy2648,tv265B);
          real _t269E#2 = Sub<real>(_t25A4,_t2621);
          real _t26A0#1 = Mul<real>(_t269E,_t269E);
          real score26A2#1 = Add<real>(score258D,_t26A0);
          goto JOIN26A5
        JOIN26A5:  preds = [ASSIGN26A3,COND25A3]
          real score26A4#2 = phi(score26A2,score258D)
          real _t26A6#1 = Dot<2>(r011DF,v191167);
          real _t26A8#1 = Dot<2>(r111E5,v191167);
          real2 _t26AA#1 = <real2>[_t26A6,_t26A8];
          real2 pos26AC#2 = Add<real2>(_t26AA,_t11F5);
          real2 x26AF#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos26AC);
          bool _t26AE#1 = Inside<IMAGE2D<float>,2>(x26AF,_t1133);
          if _t26AE then goto ASSIGN26B5 else goto ASSIGN382B
        ASSIGN26B5:  preds = [COND26B2]
          real2 x26B4#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v191167);
          bool _t26B3#1 = Inside<IMAGE2D<int>,2>(x26B4,_t112F);
          goto JOIN26B9
        JOIN26B9:  preds = [ASSIGN26B6,ASSIGN382B]
          bool _t26B7#1 = phi(_t26B3,_t26B8)
          if _t26B7 then goto ASSIGN3AC4 else goto JOIN27BC
        ASSIGN3AC4:  preds = [COND26BA]
          real2 nd26BE#2 = Floor<2>(x26AF);
          real2 f26BD#2 = Sub<real2>(x26AF,nd26BE);
          int{2} n26BF#8 = RealToInt<2>(nd26BE);
          int t126DB#4 = -1;
          int t226DC#1 = Index<int{2},0>(n26BF);
          int ix26DA#4 = Add<int>(t126DB,t226DC);
          int t226DF#4 = Index<int{2},1>(n26BF);
          int iy26DD#1 = Add<int>(t126DB,t226DF);
          addr(IMAGE2D<float>) a26E0#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix26DA,iy26DD);
          real4 v026C1#1 = LoadVoxels<IMAGE2D<float>,4>(a26E0);
          int iy26D6#1 = Add<int>(_t11ED,t226DF);
          addr(IMAGE2D<float>) a26D9#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix26DA,iy26D6);
          real4 v126C2#1 = LoadVoxels<IMAGE2D<float>,4>(a26D9);
          int iy26CF#1 = Add<int>(_t11F1,t226DF);
          addr(IMAGE2D<float>) a26D2#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix26DA,iy26CF);
          real4 v226C3#1 = LoadVoxels<IMAGE2D<float>,4>(a26D2);
          int iy26C8#1 = Add<int>(_t11C9,t226DF);
          addr(IMAGE2D<float>) a26CB#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix26DA,iy26C8);
          real4 v326C4#1 = LoadVoxels<IMAGE2D<float>,4>(a26CB);
          real fy26EC#5 = Index<real2,1>(f26BD);
          real t326F1#1 = Add<real>(fy26EC,_t11C5);
          real t126EF#1 = Sub<real>(fy26EC,_t11C5);
          real t026EE#1 = Sub<real>(fy26EC,_t11C7);
          real4 a26ED#1 = <real4>[t326F1,fy26EC,t126EF,t026EE];
          real4 hy26E2#1 = EvalKernel<4,bspln3,0>(a26ED);
          real fx26E3#5 = Index<real2,0>(f26BD);
          real t326E8#1 = Add<real>(fx26E3,_t11C5);
          real t126E6#1 = Sub<real>(fx26E3,_t11C5);
          real t026E5#1 = Sub<real>(fx26E3,_t11C7);
          real4 a26E4#1 = <real4>[t326E8,fx26E3,t126E6,t026E5];
          real4 hx26E1#4 = EvalKernel<4,bspln3,0>(a26E4);
          real t026F6#1 = Dot<4>(v026C1,hx26E1);
          real t126F7#1 = Dot<4>(v126C2,hx26E1);
          real t226F8#1 = Dot<4>(v226C3,hx26E1);
          real t326F9#1 = Dot<4>(v326C4,hx26E1);
          real4 tv26F5#1 = <real4>[t026F6,t126F7,t226F8,t326F9];
          real _t26BB#1 = Dot<4>(hy26E2,tv26F5);
          real2 x2739#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v191167);
          real2 nd273B#2 = Floor<2>(x2739);
          real2 f273A#2 = Sub<real2>(x2739,nd273B);
          int{2} n273C#8 = RealToInt<2>(nd273B);
          int t22759#1 = Index<int{2},0>(n273C);
          int ix2757#4 = Add<int>(t126DB,t22759);
          int t2275C#4 = Index<int{2},1>(n273C);
          int iy275A#1 = Add<int>(t126DB,t2275C);
          addr(IMAGE2D<int>) a275D#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2757,iy275A);
          real4 v0273E#1 = LoadVoxels<IMAGE2D<int>,4>(a275D);
          int iy2753#1 = Add<int>(_t11ED,t2275C);
          addr(IMAGE2D<int>) a2756#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2757,iy2753);
          real4 v1273F#1 = LoadVoxels<IMAGE2D<int>,4>(a2756);
          int iy274C#1 = Add<int>(_t11F1,t2275C);
          addr(IMAGE2D<int>) a274F#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2757,iy274C);
          real4 v22740#1 = LoadVoxels<IMAGE2D<int>,4>(a274F);
          int iy2745#1 = Add<int>(_t11C9,t2275C);
          addr(IMAGE2D<int>) a2748#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2757,iy2745);
          real4 v32741#1 = LoadVoxels<IMAGE2D<int>,4>(a2748);
          real fy2769#5 = Index<real2,1>(f273A);
          real t3276E#1 = Add<real>(fy2769,_t11C5);
          real t1276C#1 = Sub<real>(fy2769,_t11C5);
          real t0276B#1 = Sub<real>(fy2769,_t11C7);
          real4 a276A#1 = <real4>[t3276E,fy2769,t1276C,t0276B];
          real4 hy275F#1 = EvalKernel<4,bspln3,0>(a276A);
          real fx2760#5 = Index<real2,0>(f273A);
          real t32765#1 = Add<real>(fx2760,_t11C5);
          real t12763#1 = Sub<real>(fx2760,_t11C5);
          real t02762#1 = Sub<real>(fx2760,_t11C7);
          real4 a2761#1 = <real4>[t32765,fx2760,t12763,t02762];
          real4 hx275E#4 = EvalKernel<4,bspln3,0>(a2761);
          real t02773#1 = Dot<4>(v0273E,hx275E);
          real t12774#1 = Dot<4>(v1273F,hx275E);
          real t22775#1 = Dot<4>(v22740,hx275E);
          real t32776#1 = Dot<4>(v32741,hx275E);
          real4 tv2772#1 = <real4>[t02773,t12774,t22775,t32776];
          real _t2738#1 = Dot<4>(hy275F,tv2772);
          real _t27B5#2 = Sub<real>(_t26BB,_t2738);
          real _t27B7#1 = Mul<real>(_t27B5,_t27B5);
          real score27B9#1 = Add<real>(score26A4,_t27B7);
          goto JOIN27BC
        JOIN27BC:  preds = [ASSIGN27BA,COND26BA]
          real score27BB#2 = phi(score27B9,score26A4)
          real _t27BD#1 = Dot<2>(r011DF,v201169);
          real _t27BF#1 = Dot<2>(r111E5,v201169);
          real2 _t27C1#1 = <real2>[_t27BD,_t27BF];
          real2 pos27C3#2 = Add<real2>(_t27C1,_t11F5);
          real2 x27C6#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos27C3);
          bool _t27C5#1 = Inside<IMAGE2D<float>,2>(x27C6,_t1133);
          if _t27C5 then goto ASSIGN27CC else goto ASSIGN382A
        ASSIGN27CC:  preds = [COND27C9]
          real2 x27CB#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v201169);
          bool _t27CA#1 = Inside<IMAGE2D<int>,2>(x27CB,_t112F);
          goto JOIN27D0
        JOIN27D0:  preds = [ASSIGN27CD,ASSIGN382A]
          bool _t27CE#1 = phi(_t27CA,_t27CF)
          if _t27CE then goto ASSIGN3AE5 else goto JOIN28D3
        ASSIGN3AE5:  preds = [COND27D1]
          real2 nd27D5#2 = Floor<2>(x27C6);
          real2 f27D4#2 = Sub<real2>(x27C6,nd27D5);
          int{2} n27D6#8 = RealToInt<2>(nd27D5);
          int t127F2#4 = -1;
          int t227F3#1 = Index<int{2},0>(n27D6);
          int ix27F1#4 = Add<int>(t127F2,t227F3);
          int t227F6#4 = Index<int{2},1>(n27D6);
          int iy27F4#1 = Add<int>(t127F2,t227F6);
          addr(IMAGE2D<float>) a27F7#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix27F1,iy27F4);
          real4 v027D8#1 = LoadVoxels<IMAGE2D<float>,4>(a27F7);
          int iy27ED#1 = Add<int>(_t11ED,t227F6);
          addr(IMAGE2D<float>) a27F0#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix27F1,iy27ED);
          real4 v127D9#1 = LoadVoxels<IMAGE2D<float>,4>(a27F0);
          int iy27E6#1 = Add<int>(_t11F1,t227F6);
          addr(IMAGE2D<float>) a27E9#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix27F1,iy27E6);
          real4 v227DA#1 = LoadVoxels<IMAGE2D<float>,4>(a27E9);
          int iy27DF#1 = Add<int>(_t11C9,t227F6);
          addr(IMAGE2D<float>) a27E2#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix27F1,iy27DF);
          real4 v327DB#1 = LoadVoxels<IMAGE2D<float>,4>(a27E2);
          real fy2803#5 = Index<real2,1>(f27D4);
          real t32808#1 = Add<real>(fy2803,_t11C5);
          real t12806#1 = Sub<real>(fy2803,_t11C5);
          real t02805#1 = Sub<real>(fy2803,_t11C7);
          real4 a2804#1 = <real4>[t32808,fy2803,t12806,t02805];
          real4 hy27F9#1 = EvalKernel<4,bspln3,0>(a2804);
          real fx27FA#5 = Index<real2,0>(f27D4);
          real t327FF#1 = Add<real>(fx27FA,_t11C5);
          real t127FD#1 = Sub<real>(fx27FA,_t11C5);
          real t027FC#1 = Sub<real>(fx27FA,_t11C7);
          real4 a27FB#1 = <real4>[t327FF,fx27FA,t127FD,t027FC];
          real4 hx27F8#4 = EvalKernel<4,bspln3,0>(a27FB);
          real t0280D#1 = Dot<4>(v027D8,hx27F8);
          real t1280E#1 = Dot<4>(v127D9,hx27F8);
          real t2280F#1 = Dot<4>(v227DA,hx27F8);
          real t32810#1 = Dot<4>(v327DB,hx27F8);
          real4 tv280C#1 = <real4>[t0280D,t1280E,t2280F,t32810];
          real _t27D2#1 = Dot<4>(hy27F9,tv280C);
          real2 x2850#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v201169);
          real2 nd2852#2 = Floor<2>(x2850);
          real2 f2851#2 = Sub<real2>(x2850,nd2852);
          int{2} n2853#8 = RealToInt<2>(nd2852);
          int t22870#1 = Index<int{2},0>(n2853);
          int ix286E#4 = Add<int>(t127F2,t22870);
          int t22873#4 = Index<int{2},1>(n2853);
          int iy2871#1 = Add<int>(t127F2,t22873);
          addr(IMAGE2D<int>) a2874#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix286E,iy2871);
          real4 v02855#1 = LoadVoxels<IMAGE2D<int>,4>(a2874);
          int iy286A#1 = Add<int>(_t11ED,t22873);
          addr(IMAGE2D<int>) a286D#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix286E,iy286A);
          real4 v12856#1 = LoadVoxels<IMAGE2D<int>,4>(a286D);
          int iy2863#1 = Add<int>(_t11F1,t22873);
          addr(IMAGE2D<int>) a2866#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix286E,iy2863);
          real4 v22857#1 = LoadVoxels<IMAGE2D<int>,4>(a2866);
          int iy285C#1 = Add<int>(_t11C9,t22873);
          addr(IMAGE2D<int>) a285F#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix286E,iy285C);
          real4 v32858#1 = LoadVoxels<IMAGE2D<int>,4>(a285F);
          real fy2880#5 = Index<real2,1>(f2851);
          real t32885#1 = Add<real>(fy2880,_t11C5);
          real t12883#1 = Sub<real>(fy2880,_t11C5);
          real t02882#1 = Sub<real>(fy2880,_t11C7);
          real4 a2881#1 = <real4>[t32885,fy2880,t12883,t02882];
          real4 hy2876#1 = EvalKernel<4,bspln3,0>(a2881);
          real fx2877#5 = Index<real2,0>(f2851);
          real t3287C#1 = Add<real>(fx2877,_t11C5);
          real t1287A#1 = Sub<real>(fx2877,_t11C5);
          real t02879#1 = Sub<real>(fx2877,_t11C7);
          real4 a2878#1 = <real4>[t3287C,fx2877,t1287A,t02879];
          real4 hx2875#4 = EvalKernel<4,bspln3,0>(a2878);
          real t0288A#1 = Dot<4>(v02855,hx2875);
          real t1288B#1 = Dot<4>(v12856,hx2875);
          real t2288C#1 = Dot<4>(v22857,hx2875);
          real t3288D#1 = Dot<4>(v32858,hx2875);
          real4 tv2889#1 = <real4>[t0288A,t1288B,t2288C,t3288D];
          real _t284F#1 = Dot<4>(hy2876,tv2889);
          real _t28CC#2 = Sub<real>(_t27D2,_t284F);
          real _t28CE#1 = Mul<real>(_t28CC,_t28CC);
          real score28D0#1 = Add<real>(score27BB,_t28CE);
          goto JOIN28D3
        JOIN28D3:  preds = [ASSIGN28D1,COND27D1]
          real score28D2#2 = phi(score28D0,score27BB)
          real _t28D4#1 = Dot<2>(r011DF,v21116B);
          real _t28D6#1 = Dot<2>(r111E5,v21116B);
          real2 _t28D8#1 = <real2>[_t28D4,_t28D6];
          real2 pos28DA#2 = Add<real2>(_t28D8,_t11F5);
          real2 x28DD#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos28DA);
          bool _t28DC#1 = Inside<IMAGE2D<float>,2>(x28DD,_t1133);
          if _t28DC then goto ASSIGN28E3 else goto ASSIGN3829
        ASSIGN28E3:  preds = [COND28E0]
          real2 x28E2#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v21116B);
          bool _t28E1#1 = Inside<IMAGE2D<int>,2>(x28E2,_t112F);
          goto JOIN28E7
        JOIN28E7:  preds = [ASSIGN28E4,ASSIGN3829]
          bool _t28E5#1 = phi(_t28E1,_t28E6)
          if _t28E5 then goto ASSIGN3B06 else goto JOIN29EA
        ASSIGN3B06:  preds = [COND28E8]
          real2 nd28EC#2 = Floor<2>(x28DD);
          real2 f28EB#2 = Sub<real2>(x28DD,nd28EC);
          int{2} n28ED#8 = RealToInt<2>(nd28EC);
          int t12909#4 = -1;
          int t2290A#1 = Index<int{2},0>(n28ED);
          int ix2908#4 = Add<int>(t12909,t2290A);
          int t2290D#4 = Index<int{2},1>(n28ED);
          int iy290B#1 = Add<int>(t12909,t2290D);
          addr(IMAGE2D<float>) a290E#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2908,iy290B);
          real4 v028EF#1 = LoadVoxels<IMAGE2D<float>,4>(a290E);
          int iy2904#1 = Add<int>(_t11ED,t2290D);
          addr(IMAGE2D<float>) a2907#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2908,iy2904);
          real4 v128F0#1 = LoadVoxels<IMAGE2D<float>,4>(a2907);
          int iy28FD#1 = Add<int>(_t11F1,t2290D);
          addr(IMAGE2D<float>) a2900#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2908,iy28FD);
          real4 v228F1#1 = LoadVoxels<IMAGE2D<float>,4>(a2900);
          int iy28F6#1 = Add<int>(_t11C9,t2290D);
          addr(IMAGE2D<float>) a28F9#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2908,iy28F6);
          real4 v328F2#1 = LoadVoxels<IMAGE2D<float>,4>(a28F9);
          real fy291A#5 = Index<real2,1>(f28EB);
          real t3291F#1 = Add<real>(fy291A,_t11C5);
          real t1291D#1 = Sub<real>(fy291A,_t11C5);
          real t0291C#1 = Sub<real>(fy291A,_t11C7);
          real4 a291B#1 = <real4>[t3291F,fy291A,t1291D,t0291C];
          real4 hy2910#1 = EvalKernel<4,bspln3,0>(a291B);
          real fx2911#5 = Index<real2,0>(f28EB);
          real t32916#1 = Add<real>(fx2911,_t11C5);
          real t12914#1 = Sub<real>(fx2911,_t11C5);
          real t02913#1 = Sub<real>(fx2911,_t11C7);
          real4 a2912#1 = <real4>[t32916,fx2911,t12914,t02913];
          real4 hx290F#4 = EvalKernel<4,bspln3,0>(a2912);
          real t02924#1 = Dot<4>(v028EF,hx290F);
          real t12925#1 = Dot<4>(v128F0,hx290F);
          real t22926#1 = Dot<4>(v228F1,hx290F);
          real t32927#1 = Dot<4>(v328F2,hx290F);
          real4 tv2923#1 = <real4>[t02924,t12925,t22926,t32927];
          real _t28E9#1 = Dot<4>(hy2910,tv2923);
          real2 x2967#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v21116B);
          real2 nd2969#2 = Floor<2>(x2967);
          real2 f2968#2 = Sub<real2>(x2967,nd2969);
          int{2} n296A#8 = RealToInt<2>(nd2969);
          int t22987#1 = Index<int{2},0>(n296A);
          int ix2985#4 = Add<int>(t12909,t22987);
          int t2298A#4 = Index<int{2},1>(n296A);
          int iy2988#1 = Add<int>(t12909,t2298A);
          addr(IMAGE2D<int>) a298B#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2985,iy2988);
          real4 v0296C#1 = LoadVoxels<IMAGE2D<int>,4>(a298B);
          int iy2981#1 = Add<int>(_t11ED,t2298A);
          addr(IMAGE2D<int>) a2984#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2985,iy2981);
          real4 v1296D#1 = LoadVoxels<IMAGE2D<int>,4>(a2984);
          int iy297A#1 = Add<int>(_t11F1,t2298A);
          addr(IMAGE2D<int>) a297D#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2985,iy297A);
          real4 v2296E#1 = LoadVoxels<IMAGE2D<int>,4>(a297D);
          int iy2973#1 = Add<int>(_t11C9,t2298A);
          addr(IMAGE2D<int>) a2976#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2985,iy2973);
          real4 v3296F#1 = LoadVoxels<IMAGE2D<int>,4>(a2976);
          real fy2997#5 = Index<real2,1>(f2968);
          real t3299C#1 = Add<real>(fy2997,_t11C5);
          real t1299A#1 = Sub<real>(fy2997,_t11C5);
          real t02999#1 = Sub<real>(fy2997,_t11C7);
          real4 a2998#1 = <real4>[t3299C,fy2997,t1299A,t02999];
          real4 hy298D#1 = EvalKernel<4,bspln3,0>(a2998);
          real fx298E#5 = Index<real2,0>(f2968);
          real t32993#1 = Add<real>(fx298E,_t11C5);
          real t12991#1 = Sub<real>(fx298E,_t11C5);
          real t02990#1 = Sub<real>(fx298E,_t11C7);
          real4 a298F#1 = <real4>[t32993,fx298E,t12991,t02990];
          real4 hx298C#4 = EvalKernel<4,bspln3,0>(a298F);
          real t029A1#1 = Dot<4>(v0296C,hx298C);
          real t129A2#1 = Dot<4>(v1296D,hx298C);
          real t229A3#1 = Dot<4>(v2296E,hx298C);
          real t329A4#1 = Dot<4>(v3296F,hx298C);
          real4 tv29A0#1 = <real4>[t029A1,t129A2,t229A3,t329A4];
          real _t2966#1 = Dot<4>(hy298D,tv29A0);
          real _t29E3#2 = Sub<real>(_t28E9,_t2966);
          real _t29E5#1 = Mul<real>(_t29E3,_t29E3);
          real score29E7#1 = Add<real>(score28D2,_t29E5);
          goto JOIN29EA
        JOIN29EA:  preds = [ASSIGN29E8,COND28E8]
          real score29E9#2 = phi(score29E7,score28D2)
          real _t29EB#1 = Dot<2>(r011DF,v22116D);
          real _t29ED#1 = Dot<2>(r111E5,v22116D);
          real2 _t29EF#1 = <real2>[_t29EB,_t29ED];
          real2 pos29F1#2 = Add<real2>(_t29EF,_t11F5);
          real2 x29F4#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos29F1);
          bool _t29F3#1 = Inside<IMAGE2D<float>,2>(x29F4,_t1133);
          if _t29F3 then goto ASSIGN29FA else goto ASSIGN3828
        ASSIGN29FA:  preds = [COND29F7]
          real2 x29F9#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v22116D);
          bool _t29F8#1 = Inside<IMAGE2D<int>,2>(x29F9,_t112F);
          goto JOIN29FE
        JOIN29FE:  preds = [ASSIGN29FB,ASSIGN3828]
          bool _t29FC#1 = phi(_t29F8,_t29FD)
          if _t29FC then goto ASSIGN3B27 else goto JOIN2B01
        ASSIGN3B27:  preds = [COND29FF]
          real2 nd2A03#2 = Floor<2>(x29F4);
          real2 f2A02#2 = Sub<real2>(x29F4,nd2A03);
          int{2} n2A04#8 = RealToInt<2>(nd2A03);
          int t12A20#4 = -1;
          int t22A21#1 = Index<int{2},0>(n2A04);
          int ix2A1F#4 = Add<int>(t12A20,t22A21);
          int t22A24#4 = Index<int{2},1>(n2A04);
          int iy2A22#1 = Add<int>(t12A20,t22A24);
          addr(IMAGE2D<float>) a2A25#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2A1F,iy2A22);
          real4 v02A06#1 = LoadVoxels<IMAGE2D<float>,4>(a2A25);
          int iy2A1B#1 = Add<int>(_t11ED,t22A24);
          addr(IMAGE2D<float>) a2A1E#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2A1F,iy2A1B);
          real4 v12A07#1 = LoadVoxels<IMAGE2D<float>,4>(a2A1E);
          int iy2A14#1 = Add<int>(_t11F1,t22A24);
          addr(IMAGE2D<float>) a2A17#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2A1F,iy2A14);
          real4 v22A08#1 = LoadVoxels<IMAGE2D<float>,4>(a2A17);
          int iy2A0D#1 = Add<int>(_t11C9,t22A24);
          addr(IMAGE2D<float>) a2A10#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2A1F,iy2A0D);
          real4 v32A09#1 = LoadVoxels<IMAGE2D<float>,4>(a2A10);
          real fy2A31#5 = Index<real2,1>(f2A02);
          real t32A36#1 = Add<real>(fy2A31,_t11C5);
          real t12A34#1 = Sub<real>(fy2A31,_t11C5);
          real t02A33#1 = Sub<real>(fy2A31,_t11C7);
          real4 a2A32#1 = <real4>[t32A36,fy2A31,t12A34,t02A33];
          real4 hy2A27#1 = EvalKernel<4,bspln3,0>(a2A32);
          real fx2A28#5 = Index<real2,0>(f2A02);
          real t32A2D#1 = Add<real>(fx2A28,_t11C5);
          real t12A2B#1 = Sub<real>(fx2A28,_t11C5);
          real t02A2A#1 = Sub<real>(fx2A28,_t11C7);
          real4 a2A29#1 = <real4>[t32A2D,fx2A28,t12A2B,t02A2A];
          real4 hx2A26#4 = EvalKernel<4,bspln3,0>(a2A29);
          real t02A3B#1 = Dot<4>(v02A06,hx2A26);
          real t12A3C#1 = Dot<4>(v12A07,hx2A26);
          real t22A3D#1 = Dot<4>(v22A08,hx2A26);
          real t32A3E#1 = Dot<4>(v32A09,hx2A26);
          real4 tv2A3A#1 = <real4>[t02A3B,t12A3C,t22A3D,t32A3E];
          real _t2A00#1 = Dot<4>(hy2A27,tv2A3A);
          real2 x2A7E#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v22116D);
          real2 nd2A80#2 = Floor<2>(x2A7E);
          real2 f2A7F#2 = Sub<real2>(x2A7E,nd2A80);
          int{2} n2A81#8 = RealToInt<2>(nd2A80);
          int t22A9E#1 = Index<int{2},0>(n2A81);
          int ix2A9C#4 = Add<int>(t12A20,t22A9E);
          int t22AA1#4 = Index<int{2},1>(n2A81);
          int iy2A9F#1 = Add<int>(t12A20,t22AA1);
          addr(IMAGE2D<int>) a2AA2#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2A9C,iy2A9F);
          real4 v02A83#1 = LoadVoxels<IMAGE2D<int>,4>(a2AA2);
          int iy2A98#1 = Add<int>(_t11ED,t22AA1);
          addr(IMAGE2D<int>) a2A9B#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2A9C,iy2A98);
          real4 v12A84#1 = LoadVoxels<IMAGE2D<int>,4>(a2A9B);
          int iy2A91#1 = Add<int>(_t11F1,t22AA1);
          addr(IMAGE2D<int>) a2A94#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2A9C,iy2A91);
          real4 v22A85#1 = LoadVoxels<IMAGE2D<int>,4>(a2A94);
          int iy2A8A#1 = Add<int>(_t11C9,t22AA1);
          addr(IMAGE2D<int>) a2A8D#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2A9C,iy2A8A);
          real4 v32A86#1 = LoadVoxels<IMAGE2D<int>,4>(a2A8D);
          real fy2AAE#5 = Index<real2,1>(f2A7F);
          real t32AB3#1 = Add<real>(fy2AAE,_t11C5);
          real t12AB1#1 = Sub<real>(fy2AAE,_t11C5);
          real t02AB0#1 = Sub<real>(fy2AAE,_t11C7);
          real4 a2AAF#1 = <real4>[t32AB3,fy2AAE,t12AB1,t02AB0];
          real4 hy2AA4#1 = EvalKernel<4,bspln3,0>(a2AAF);
          real fx2AA5#5 = Index<real2,0>(f2A7F);
          real t32AAA#1 = Add<real>(fx2AA5,_t11C5);
          real t12AA8#1 = Sub<real>(fx2AA5,_t11C5);
          real t02AA7#1 = Sub<real>(fx2AA5,_t11C7);
          real4 a2AA6#1 = <real4>[t32AAA,fx2AA5,t12AA8,t02AA7];
          real4 hx2AA3#4 = EvalKernel<4,bspln3,0>(a2AA6);
          real t02AB8#1 = Dot<4>(v02A83,hx2AA3);
          real t12AB9#1 = Dot<4>(v12A84,hx2AA3);
          real t22ABA#1 = Dot<4>(v22A85,hx2AA3);
          real t32ABB#1 = Dot<4>(v32A86,hx2AA3);
          real4 tv2AB7#1 = <real4>[t02AB8,t12AB9,t22ABA,t32ABB];
          real _t2A7D#1 = Dot<4>(hy2AA4,tv2AB7);
          real _t2AFA#2 = Sub<real>(_t2A00,_t2A7D);
          real _t2AFC#1 = Mul<real>(_t2AFA,_t2AFA);
          real score2AFE#1 = Add<real>(score29E9,_t2AFC);
          goto JOIN2B01
        JOIN2B01:  preds = [ASSIGN2AFF,COND29FF]
          real score2B00#2 = phi(score2AFE,score29E9)
          real _t2B02#1 = Dot<2>(r011DF,v23116F);
          real _t2B04#1 = Dot<2>(r111E5,v23116F);
          real2 _t2B06#1 = <real2>[_t2B02,_t2B04];
          real2 pos2B08#2 = Add<real2>(_t2B06,_t11F5);
          real2 x2B0B#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2B08);
          bool _t2B0A#1 = Inside<IMAGE2D<float>,2>(x2B0B,_t1133);
          if _t2B0A then goto ASSIGN2B11 else goto ASSIGN3827
        ASSIGN2B11:  preds = [COND2B0E]
          real2 x2B10#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v23116F);
          bool _t2B0F#1 = Inside<IMAGE2D<int>,2>(x2B10,_t112F);
          goto JOIN2B15
        JOIN2B15:  preds = [ASSIGN2B12,ASSIGN3827]
          bool _t2B13#1 = phi(_t2B0F,_t2B14)
          if _t2B13 then goto ASSIGN3B48 else goto JOIN2C18
        ASSIGN3B48:  preds = [COND2B16]
          real2 nd2B1A#2 = Floor<2>(x2B0B);
          real2 f2B19#2 = Sub<real2>(x2B0B,nd2B1A);
          int{2} n2B1B#8 = RealToInt<2>(nd2B1A);
          int t12B37#4 = -1;
          int t22B38#1 = Index<int{2},0>(n2B1B);
          int ix2B36#4 = Add<int>(t12B37,t22B38);
          int t22B3B#4 = Index<int{2},1>(n2B1B);
          int iy2B39#1 = Add<int>(t12B37,t22B3B);
          addr(IMAGE2D<float>) a2B3C#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2B36,iy2B39);
          real4 v02B1D#1 = LoadVoxels<IMAGE2D<float>,4>(a2B3C);
          int iy2B32#1 = Add<int>(_t11ED,t22B3B);
          addr(IMAGE2D<float>) a2B35#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2B36,iy2B32);
          real4 v12B1E#1 = LoadVoxels<IMAGE2D<float>,4>(a2B35);
          int iy2B2B#1 = Add<int>(_t11F1,t22B3B);
          addr(IMAGE2D<float>) a2B2E#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2B36,iy2B2B);
          real4 v22B1F#1 = LoadVoxels<IMAGE2D<float>,4>(a2B2E);
          int iy2B24#1 = Add<int>(_t11C9,t22B3B);
          addr(IMAGE2D<float>) a2B27#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2B36,iy2B24);
          real4 v32B20#1 = LoadVoxels<IMAGE2D<float>,4>(a2B27);
          real fy2B48#5 = Index<real2,1>(f2B19);
          real t32B4D#1 = Add<real>(fy2B48,_t11C5);
          real t12B4B#1 = Sub<real>(fy2B48,_t11C5);
          real t02B4A#1 = Sub<real>(fy2B48,_t11C7);
          real4 a2B49#1 = <real4>[t32B4D,fy2B48,t12B4B,t02B4A];
          real4 hy2B3E#1 = EvalKernel<4,bspln3,0>(a2B49);
          real fx2B3F#5 = Index<real2,0>(f2B19);
          real t32B44#1 = Add<real>(fx2B3F,_t11C5);
          real t12B42#1 = Sub<real>(fx2B3F,_t11C5);
          real t02B41#1 = Sub<real>(fx2B3F,_t11C7);
          real4 a2B40#1 = <real4>[t32B44,fx2B3F,t12B42,t02B41];
          real4 hx2B3D#4 = EvalKernel<4,bspln3,0>(a2B40);
          real t02B52#1 = Dot<4>(v02B1D,hx2B3D);
          real t12B53#1 = Dot<4>(v12B1E,hx2B3D);
          real t22B54#1 = Dot<4>(v22B1F,hx2B3D);
          real t32B55#1 = Dot<4>(v32B20,hx2B3D);
          real4 tv2B51#1 = <real4>[t02B52,t12B53,t22B54,t32B55];
          real _t2B17#1 = Dot<4>(hy2B3E,tv2B51);
          real2 x2B95#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v23116F);
          real2 nd2B97#2 = Floor<2>(x2B95);
          real2 f2B96#2 = Sub<real2>(x2B95,nd2B97);
          int{2} n2B98#8 = RealToInt<2>(nd2B97);
          int t22BB5#1 = Index<int{2},0>(n2B98);
          int ix2BB3#4 = Add<int>(t12B37,t22BB5);
          int t22BB8#4 = Index<int{2},1>(n2B98);
          int iy2BB6#1 = Add<int>(t12B37,t22BB8);
          addr(IMAGE2D<int>) a2BB9#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2BB3,iy2BB6);
          real4 v02B9A#1 = LoadVoxels<IMAGE2D<int>,4>(a2BB9);
          int iy2BAF#1 = Add<int>(_t11ED,t22BB8);
          addr(IMAGE2D<int>) a2BB2#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2BB3,iy2BAF);
          real4 v12B9B#1 = LoadVoxels<IMAGE2D<int>,4>(a2BB2);
          int iy2BA8#1 = Add<int>(_t11F1,t22BB8);
          addr(IMAGE2D<int>) a2BAB#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2BB3,iy2BA8);
          real4 v22B9C#1 = LoadVoxels<IMAGE2D<int>,4>(a2BAB);
          int iy2BA1#1 = Add<int>(_t11C9,t22BB8);
          addr(IMAGE2D<int>) a2BA4#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2BB3,iy2BA1);
          real4 v32B9D#1 = LoadVoxels<IMAGE2D<int>,4>(a2BA4);
          real fy2BC5#5 = Index<real2,1>(f2B96);
          real t32BCA#1 = Add<real>(fy2BC5,_t11C5);
          real t12BC8#1 = Sub<real>(fy2BC5,_t11C5);
          real t02BC7#1 = Sub<real>(fy2BC5,_t11C7);
          real4 a2BC6#1 = <real4>[t32BCA,fy2BC5,t12BC8,t02BC7];
          real4 hy2BBB#1 = EvalKernel<4,bspln3,0>(a2BC6);
          real fx2BBC#5 = Index<real2,0>(f2B96);
          real t32BC1#1 = Add<real>(fx2BBC,_t11C5);
          real t12BBF#1 = Sub<real>(fx2BBC,_t11C5);
          real t02BBE#1 = Sub<real>(fx2BBC,_t11C7);
          real4 a2BBD#1 = <real4>[t32BC1,fx2BBC,t12BBF,t02BBE];
          real4 hx2BBA#4 = EvalKernel<4,bspln3,0>(a2BBD);
          real t02BCF#1 = Dot<4>(v02B9A,hx2BBA);
          real t12BD0#1 = Dot<4>(v12B9B,hx2BBA);
          real t22BD1#1 = Dot<4>(v22B9C,hx2BBA);
          real t32BD2#1 = Dot<4>(v32B9D,hx2BBA);
          real4 tv2BCE#1 = <real4>[t02BCF,t12BD0,t22BD1,t32BD2];
          real _t2B94#1 = Dot<4>(hy2BBB,tv2BCE);
          real _t2C11#2 = Sub<real>(_t2B17,_t2B94);
          real _t2C13#1 = Mul<real>(_t2C11,_t2C11);
          real score2C15#1 = Add<real>(score2B00,_t2C13);
          goto JOIN2C18
        JOIN2C18:  preds = [ASSIGN2C16,COND2B16]
          real score2C17#2 = phi(score2C15,score2B00)
          real _t2C19#1 = Dot<2>(r011DF,v241171);
          real _t2C1B#1 = Dot<2>(r111E5,v241171);
          real2 _t2C1D#1 = <real2>[_t2C19,_t2C1B];
          real2 pos2C1F#2 = Add<real2>(_t2C1D,_t11F5);
          real2 x2C22#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2C1F);
          bool _t2C21#1 = Inside<IMAGE2D<float>,2>(x2C22,_t1133);
          if _t2C21 then goto ASSIGN2C28 else goto ASSIGN3826
        ASSIGN2C28:  preds = [COND2C25]
          real2 x2C27#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v241171);
          bool _t2C26#1 = Inside<IMAGE2D<int>,2>(x2C27,_t112F);
          goto JOIN2C2C
        JOIN2C2C:  preds = [ASSIGN2C29,ASSIGN3826]
          bool _t2C2A#1 = phi(_t2C26,_t2C2B)
          if _t2C2A then goto ASSIGN3B69 else goto JOIN2D2F
        ASSIGN3B69:  preds = [COND2C2D]
          real2 nd2C31#2 = Floor<2>(x2C22);
          real2 f2C30#2 = Sub<real2>(x2C22,nd2C31);
          int{2} n2C32#8 = RealToInt<2>(nd2C31);
          int t12C4E#4 = -1;
          int t22C4F#1 = Index<int{2},0>(n2C32);
          int ix2C4D#4 = Add<int>(t12C4E,t22C4F);
          int t22C52#4 = Index<int{2},1>(n2C32);
          int iy2C50#1 = Add<int>(t12C4E,t22C52);
          addr(IMAGE2D<float>) a2C53#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2C4D,iy2C50);
          real4 v02C34#1 = LoadVoxels<IMAGE2D<float>,4>(a2C53);
          int iy2C49#1 = Add<int>(_t11ED,t22C52);
          addr(IMAGE2D<float>) a2C4C#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2C4D,iy2C49);
          real4 v12C35#1 = LoadVoxels<IMAGE2D<float>,4>(a2C4C);
          int iy2C42#1 = Add<int>(_t11F1,t22C52);
          addr(IMAGE2D<float>) a2C45#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2C4D,iy2C42);
          real4 v22C36#1 = LoadVoxels<IMAGE2D<float>,4>(a2C45);
          int iy2C3B#1 = Add<int>(_t11C9,t22C52);
          addr(IMAGE2D<float>) a2C3E#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2C4D,iy2C3B);
          real4 v32C37#1 = LoadVoxels<IMAGE2D<float>,4>(a2C3E);
          real fy2C5F#5 = Index<real2,1>(f2C30);
          real t32C64#1 = Add<real>(fy2C5F,_t11C5);
          real t12C62#1 = Sub<real>(fy2C5F,_t11C5);
          real t02C61#1 = Sub<real>(fy2C5F,_t11C7);
          real4 a2C60#1 = <real4>[t32C64,fy2C5F,t12C62,t02C61];
          real4 hy2C55#1 = EvalKernel<4,bspln3,0>(a2C60);
          real fx2C56#5 = Index<real2,0>(f2C30);
          real t32C5B#1 = Add<real>(fx2C56,_t11C5);
          real t12C59#1 = Sub<real>(fx2C56,_t11C5);
          real t02C58#1 = Sub<real>(fx2C56,_t11C7);
          real4 a2C57#1 = <real4>[t32C5B,fx2C56,t12C59,t02C58];
          real4 hx2C54#4 = EvalKernel<4,bspln3,0>(a2C57);
          real t02C69#1 = Dot<4>(v02C34,hx2C54);
          real t12C6A#1 = Dot<4>(v12C35,hx2C54);
          real t22C6B#1 = Dot<4>(v22C36,hx2C54);
          real t32C6C#1 = Dot<4>(v32C37,hx2C54);
          real4 tv2C68#1 = <real4>[t02C69,t12C6A,t22C6B,t32C6C];
          real _t2C2E#1 = Dot<4>(hy2C55,tv2C68);
          real2 x2CAC#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v241171);
          real2 nd2CAE#2 = Floor<2>(x2CAC);
          real2 f2CAD#2 = Sub<real2>(x2CAC,nd2CAE);
          int{2} n2CAF#8 = RealToInt<2>(nd2CAE);
          int t22CCC#1 = Index<int{2},0>(n2CAF);
          int ix2CCA#4 = Add<int>(t12C4E,t22CCC);
          int t22CCF#4 = Index<int{2},1>(n2CAF);
          int iy2CCD#1 = Add<int>(t12C4E,t22CCF);
          addr(IMAGE2D<int>) a2CD0#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2CCA,iy2CCD);
          real4 v02CB1#1 = LoadVoxels<IMAGE2D<int>,4>(a2CD0);
          int iy2CC6#1 = Add<int>(_t11ED,t22CCF);
          addr(IMAGE2D<int>) a2CC9#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2CCA,iy2CC6);
          real4 v12CB2#1 = LoadVoxels<IMAGE2D<int>,4>(a2CC9);
          int iy2CBF#1 = Add<int>(_t11F1,t22CCF);
          addr(IMAGE2D<int>) a2CC2#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2CCA,iy2CBF);
          real4 v22CB3#1 = LoadVoxels<IMAGE2D<int>,4>(a2CC2);
          int iy2CB8#1 = Add<int>(_t11C9,t22CCF);
          addr(IMAGE2D<int>) a2CBB#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2CCA,iy2CB8);
          real4 v32CB4#1 = LoadVoxels<IMAGE2D<int>,4>(a2CBB);
          real fy2CDC#5 = Index<real2,1>(f2CAD);
          real t32CE1#1 = Add<real>(fy2CDC,_t11C5);
          real t12CDF#1 = Sub<real>(fy2CDC,_t11C5);
          real t02CDE#1 = Sub<real>(fy2CDC,_t11C7);
          real4 a2CDD#1 = <real4>[t32CE1,fy2CDC,t12CDF,t02CDE];
          real4 hy2CD2#1 = EvalKernel<4,bspln3,0>(a2CDD);
          real fx2CD3#5 = Index<real2,0>(f2CAD);
          real t32CD8#1 = Add<real>(fx2CD3,_t11C5);
          real t12CD6#1 = Sub<real>(fx2CD3,_t11C5);
          real t02CD5#1 = Sub<real>(fx2CD3,_t11C7);
          real4 a2CD4#1 = <real4>[t32CD8,fx2CD3,t12CD6,t02CD5];
          real4 hx2CD1#4 = EvalKernel<4,bspln3,0>(a2CD4);
          real t02CE6#1 = Dot<4>(v02CB1,hx2CD1);
          real t12CE7#1 = Dot<4>(v12CB2,hx2CD1);
          real t22CE8#1 = Dot<4>(v22CB3,hx2CD1);
          real t32CE9#1 = Dot<4>(v32CB4,hx2CD1);
          real4 tv2CE5#1 = <real4>[t02CE6,t12CE7,t22CE8,t32CE9];
          real _t2CAB#1 = Dot<4>(hy2CD2,tv2CE5);
          real _t2D28#2 = Sub<real>(_t2C2E,_t2CAB);
          real _t2D2A#1 = Mul<real>(_t2D28,_t2D28);
          real score2D2C#1 = Add<real>(score2C17,_t2D2A);
          goto JOIN2D2F
        JOIN2D2F:  preds = [ASSIGN2D2D,COND2C2D]
          real score2D2E#2 = phi(score2D2C,score2C17)
          real _t2D30#1 = Dot<2>(r011DF,v251173);
          real _t2D32#1 = Dot<2>(r111E5,v251173);
          real2 _t2D34#1 = <real2>[_t2D30,_t2D32];
          real2 pos2D36#2 = Add<real2>(_t2D34,_t11F5);
          real2 x2D39#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2D36);
          bool _t2D38#1 = Inside<IMAGE2D<float>,2>(x2D39,_t1133);
          if _t2D38 then goto ASSIGN2D3F else goto ASSIGN3825
        ASSIGN2D3F:  preds = [COND2D3C]
          real2 x2D3E#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v251173);
          bool _t2D3D#1 = Inside<IMAGE2D<int>,2>(x2D3E,_t112F);
          goto JOIN2D43
        JOIN2D43:  preds = [ASSIGN2D40,ASSIGN3825]
          bool _t2D41#1 = phi(_t2D3D,_t2D42)
          if _t2D41 then goto ASSIGN3B8A else goto JOIN2E46
        ASSIGN3B8A:  preds = [COND2D44]
          real2 nd2D48#2 = Floor<2>(x2D39);
          real2 f2D47#2 = Sub<real2>(x2D39,nd2D48);
          int{2} n2D49#8 = RealToInt<2>(nd2D48);
          int t12D65#4 = -1;
          int t22D66#1 = Index<int{2},0>(n2D49);
          int ix2D64#4 = Add<int>(t12D65,t22D66);
          int t22D69#4 = Index<int{2},1>(n2D49);
          int iy2D67#1 = Add<int>(t12D65,t22D69);
          addr(IMAGE2D<float>) a2D6A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2D64,iy2D67);
          real4 v02D4B#1 = LoadVoxels<IMAGE2D<float>,4>(a2D6A);
          int iy2D60#1 = Add<int>(_t11ED,t22D69);
          addr(IMAGE2D<float>) a2D63#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2D64,iy2D60);
          real4 v12D4C#1 = LoadVoxels<IMAGE2D<float>,4>(a2D63);
          int iy2D59#1 = Add<int>(_t11F1,t22D69);
          addr(IMAGE2D<float>) a2D5C#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2D64,iy2D59);
          real4 v22D4D#1 = LoadVoxels<IMAGE2D<float>,4>(a2D5C);
          int iy2D52#1 = Add<int>(_t11C9,t22D69);
          addr(IMAGE2D<float>) a2D55#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2D64,iy2D52);
          real4 v32D4E#1 = LoadVoxels<IMAGE2D<float>,4>(a2D55);
          real fy2D76#5 = Index<real2,1>(f2D47);
          real t32D7B#1 = Add<real>(fy2D76,_t11C5);
          real t12D79#1 = Sub<real>(fy2D76,_t11C5);
          real t02D78#1 = Sub<real>(fy2D76,_t11C7);
          real4 a2D77#1 = <real4>[t32D7B,fy2D76,t12D79,t02D78];
          real4 hy2D6C#1 = EvalKernel<4,bspln3,0>(a2D77);
          real fx2D6D#5 = Index<real2,0>(f2D47);
          real t32D72#1 = Add<real>(fx2D6D,_t11C5);
          real t12D70#1 = Sub<real>(fx2D6D,_t11C5);
          real t02D6F#1 = Sub<real>(fx2D6D,_t11C7);
          real4 a2D6E#1 = <real4>[t32D72,fx2D6D,t12D70,t02D6F];
          real4 hx2D6B#4 = EvalKernel<4,bspln3,0>(a2D6E);
          real t02D80#1 = Dot<4>(v02D4B,hx2D6B);
          real t12D81#1 = Dot<4>(v12D4C,hx2D6B);
          real t22D82#1 = Dot<4>(v22D4D,hx2D6B);
          real t32D83#1 = Dot<4>(v32D4E,hx2D6B);
          real4 tv2D7F#1 = <real4>[t02D80,t12D81,t22D82,t32D83];
          real _t2D45#1 = Dot<4>(hy2D6C,tv2D7F);
          real2 x2DC3#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v251173);
          real2 nd2DC5#2 = Floor<2>(x2DC3);
          real2 f2DC4#2 = Sub<real2>(x2DC3,nd2DC5);
          int{2} n2DC6#8 = RealToInt<2>(nd2DC5);
          int t22DE3#1 = Index<int{2},0>(n2DC6);
          int ix2DE1#4 = Add<int>(t12D65,t22DE3);
          int t22DE6#4 = Index<int{2},1>(n2DC6);
          int iy2DE4#1 = Add<int>(t12D65,t22DE6);
          addr(IMAGE2D<int>) a2DE7#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2DE1,iy2DE4);
          real4 v02DC8#1 = LoadVoxels<IMAGE2D<int>,4>(a2DE7);
          int iy2DDD#1 = Add<int>(_t11ED,t22DE6);
          addr(IMAGE2D<int>) a2DE0#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2DE1,iy2DDD);
          real4 v12DC9#1 = LoadVoxels<IMAGE2D<int>,4>(a2DE0);
          int iy2DD6#1 = Add<int>(_t11F1,t22DE6);
          addr(IMAGE2D<int>) a2DD9#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2DE1,iy2DD6);
          real4 v22DCA#1 = LoadVoxels<IMAGE2D<int>,4>(a2DD9);
          int iy2DCF#1 = Add<int>(_t11C9,t22DE6);
          addr(IMAGE2D<int>) a2DD2#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2DE1,iy2DCF);
          real4 v32DCB#1 = LoadVoxels<IMAGE2D<int>,4>(a2DD2);
          real fy2DF3#5 = Index<real2,1>(f2DC4);
          real t32DF8#1 = Add<real>(fy2DF3,_t11C5);
          real t12DF6#1 = Sub<real>(fy2DF3,_t11C5);
          real t02DF5#1 = Sub<real>(fy2DF3,_t11C7);
          real4 a2DF4#1 = <real4>[t32DF8,fy2DF3,t12DF6,t02DF5];
          real4 hy2DE9#1 = EvalKernel<4,bspln3,0>(a2DF4);
          real fx2DEA#5 = Index<real2,0>(f2DC4);
          real t32DEF#1 = Add<real>(fx2DEA,_t11C5);
          real t12DED#1 = Sub<real>(fx2DEA,_t11C5);
          real t02DEC#1 = Sub<real>(fx2DEA,_t11C7);
          real4 a2DEB#1 = <real4>[t32DEF,fx2DEA,t12DED,t02DEC];
          real4 hx2DE8#4 = EvalKernel<4,bspln3,0>(a2DEB);
          real t02DFD#1 = Dot<4>(v02DC8,hx2DE8);
          real t12DFE#1 = Dot<4>(v12DC9,hx2DE8);
          real t22DFF#1 = Dot<4>(v22DCA,hx2DE8);
          real t32E00#1 = Dot<4>(v32DCB,hx2DE8);
          real4 tv2DFC#1 = <real4>[t02DFD,t12DFE,t22DFF,t32E00];
          real _t2DC2#1 = Dot<4>(hy2DE9,tv2DFC);
          real _t2E3F#2 = Sub<real>(_t2D45,_t2DC2);
          real _t2E41#1 = Mul<real>(_t2E3F,_t2E3F);
          real score2E43#1 = Add<real>(score2D2E,_t2E41);
          goto JOIN2E46
        JOIN2E46:  preds = [ASSIGN2E44,COND2D44]
          real score2E45#2 = phi(score2E43,score2D2E)
          real _t2E47#1 = Dot<2>(r011DF,v261175);
          real _t2E49#1 = Dot<2>(r111E5,v261175);
          real2 _t2E4B#1 = <real2>[_t2E47,_t2E49];
          real2 pos2E4D#2 = Add<real2>(_t2E4B,_t11F5);
          real2 x2E50#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2E4D);
          bool _t2E4F#1 = Inside<IMAGE2D<float>,2>(x2E50,_t1133);
          if _t2E4F then goto ASSIGN2E56 else goto ASSIGN3824
        ASSIGN2E56:  preds = [COND2E53]
          real2 x2E55#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v261175);
          bool _t2E54#1 = Inside<IMAGE2D<int>,2>(x2E55,_t112F);
          goto JOIN2E5A
        JOIN2E5A:  preds = [ASSIGN2E57,ASSIGN3824]
          bool _t2E58#1 = phi(_t2E54,_t2E59)
          if _t2E58 then goto ASSIGN3BAB else goto JOIN2F5D
        ASSIGN3BAB:  preds = [COND2E5B]
          real2 nd2E5F#2 = Floor<2>(x2E50);
          real2 f2E5E#2 = Sub<real2>(x2E50,nd2E5F);
          int{2} n2E60#8 = RealToInt<2>(nd2E5F);
          int t12E7C#4 = -1;
          int t22E7D#1 = Index<int{2},0>(n2E60);
          int ix2E7B#4 = Add<int>(t12E7C,t22E7D);
          int t22E80#4 = Index<int{2},1>(n2E60);
          int iy2E7E#1 = Add<int>(t12E7C,t22E80);
          addr(IMAGE2D<float>) a2E81#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2E7B,iy2E7E);
          real4 v02E62#1 = LoadVoxels<IMAGE2D<float>,4>(a2E81);
          int iy2E77#1 = Add<int>(_t11ED,t22E80);
          addr(IMAGE2D<float>) a2E7A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2E7B,iy2E77);
          real4 v12E63#1 = LoadVoxels<IMAGE2D<float>,4>(a2E7A);
          int iy2E70#1 = Add<int>(_t11F1,t22E80);
          addr(IMAGE2D<float>) a2E73#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2E7B,iy2E70);
          real4 v22E64#1 = LoadVoxels<IMAGE2D<float>,4>(a2E73);
          int iy2E69#1 = Add<int>(_t11C9,t22E80);
          addr(IMAGE2D<float>) a2E6C#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2E7B,iy2E69);
          real4 v32E65#1 = LoadVoxels<IMAGE2D<float>,4>(a2E6C);
          real fy2E8D#5 = Index<real2,1>(f2E5E);
          real t32E92#1 = Add<real>(fy2E8D,_t11C5);
          real t12E90#1 = Sub<real>(fy2E8D,_t11C5);
          real t02E8F#1 = Sub<real>(fy2E8D,_t11C7);
          real4 a2E8E#1 = <real4>[t32E92,fy2E8D,t12E90,t02E8F];
          real4 hy2E83#1 = EvalKernel<4,bspln3,0>(a2E8E);
          real fx2E84#5 = Index<real2,0>(f2E5E);
          real t32E89#1 = Add<real>(fx2E84,_t11C5);
          real t12E87#1 = Sub<real>(fx2E84,_t11C5);
          real t02E86#1 = Sub<real>(fx2E84,_t11C7);
          real4 a2E85#1 = <real4>[t32E89,fx2E84,t12E87,t02E86];
          real4 hx2E82#4 = EvalKernel<4,bspln3,0>(a2E85);
          real t02E97#1 = Dot<4>(v02E62,hx2E82);
          real t12E98#1 = Dot<4>(v12E63,hx2E82);
          real t22E99#1 = Dot<4>(v22E64,hx2E82);
          real t32E9A#1 = Dot<4>(v32E65,hx2E82);
          real4 tv2E96#1 = <real4>[t02E97,t12E98,t22E99,t32E9A];
          real _t2E5C#1 = Dot<4>(hy2E83,tv2E96);
          real2 x2EDA#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v261175);
          real2 nd2EDC#2 = Floor<2>(x2EDA);
          real2 f2EDB#2 = Sub<real2>(x2EDA,nd2EDC);
          int{2} n2EDD#8 = RealToInt<2>(nd2EDC);
          int t22EFA#1 = Index<int{2},0>(n2EDD);
          int ix2EF8#4 = Add<int>(t12E7C,t22EFA);
          int t22EFD#4 = Index<int{2},1>(n2EDD);
          int iy2EFB#1 = Add<int>(t12E7C,t22EFD);
          addr(IMAGE2D<int>) a2EFE#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2EF8,iy2EFB);
          real4 v02EDF#1 = LoadVoxels<IMAGE2D<int>,4>(a2EFE);
          int iy2EF4#1 = Add<int>(_t11ED,t22EFD);
          addr(IMAGE2D<int>) a2EF7#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2EF8,iy2EF4);
          real4 v12EE0#1 = LoadVoxels<IMAGE2D<int>,4>(a2EF7);
          int iy2EED#1 = Add<int>(_t11F1,t22EFD);
          addr(IMAGE2D<int>) a2EF0#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2EF8,iy2EED);
          real4 v22EE1#1 = LoadVoxels<IMAGE2D<int>,4>(a2EF0);
          int iy2EE6#1 = Add<int>(_t11C9,t22EFD);
          addr(IMAGE2D<int>) a2EE9#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2EF8,iy2EE6);
          real4 v32EE2#1 = LoadVoxels<IMAGE2D<int>,4>(a2EE9);
          real fy2F0A#5 = Index<real2,1>(f2EDB);
          real t32F0F#1 = Add<real>(fy2F0A,_t11C5);
          real t12F0D#1 = Sub<real>(fy2F0A,_t11C5);
          real t02F0C#1 = Sub<real>(fy2F0A,_t11C7);
          real4 a2F0B#1 = <real4>[t32F0F,fy2F0A,t12F0D,t02F0C];
          real4 hy2F00#1 = EvalKernel<4,bspln3,0>(a2F0B);
          real fx2F01#5 = Index<real2,0>(f2EDB);
          real t32F06#1 = Add<real>(fx2F01,_t11C5);
          real t12F04#1 = Sub<real>(fx2F01,_t11C5);
          real t02F03#1 = Sub<real>(fx2F01,_t11C7);
          real4 a2F02#1 = <real4>[t32F06,fx2F01,t12F04,t02F03];
          real4 hx2EFF#4 = EvalKernel<4,bspln3,0>(a2F02);
          real t02F14#1 = Dot<4>(v02EDF,hx2EFF);
          real t12F15#1 = Dot<4>(v12EE0,hx2EFF);
          real t22F16#1 = Dot<4>(v22EE1,hx2EFF);
          real t32F17#1 = Dot<4>(v32EE2,hx2EFF);
          real4 tv2F13#1 = <real4>[t02F14,t12F15,t22F16,t32F17];
          real _t2ED9#1 = Dot<4>(hy2F00,tv2F13);
          real _t2F56#2 = Sub<real>(_t2E5C,_t2ED9);
          real _t2F58#1 = Mul<real>(_t2F56,_t2F56);
          real score2F5A#1 = Add<real>(score2E45,_t2F58);
          goto JOIN2F5D
        JOIN2F5D:  preds = [ASSIGN2F5B,COND2E5B]
          real score2F5C#2 = phi(score2F5A,score2E45)
          real _t2F5E#1 = Dot<2>(r011DF,v271177);
          real _t2F60#1 = Dot<2>(r111E5,v271177);
          real2 _t2F62#1 = <real2>[_t2F5E,_t2F60];
          real2 pos2F64#2 = Add<real2>(_t2F62,_t11F5);
          real2 x2F67#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2F64);
          bool _t2F66#1 = Inside<IMAGE2D<float>,2>(x2F67,_t1133);
          if _t2F66 then goto ASSIGN2F6D else goto ASSIGN3823
        ASSIGN2F6D:  preds = [COND2F6A]
          real2 x2F6C#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v271177);
          bool _t2F6B#1 = Inside<IMAGE2D<int>,2>(x2F6C,_t112F);
          goto JOIN2F71
        JOIN2F71:  preds = [ASSIGN2F6E,ASSIGN3823]
          bool _t2F6F#1 = phi(_t2F6B,_t2F70)
          if _t2F6F then goto ASSIGN3BCC else goto JOIN3074
        ASSIGN3BCC:  preds = [COND2F72]
          real2 nd2F76#2 = Floor<2>(x2F67);
          real2 f2F75#2 = Sub<real2>(x2F67,nd2F76);
          int{2} n2F77#8 = RealToInt<2>(nd2F76);
          int t12F93#4 = -1;
          int t22F94#1 = Index<int{2},0>(n2F77);
          int ix2F92#4 = Add<int>(t12F93,t22F94);
          int t22F97#4 = Index<int{2},1>(n2F77);
          int iy2F95#1 = Add<int>(t12F93,t22F97);
          addr(IMAGE2D<float>) a2F98#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2F92,iy2F95);
          real4 v02F79#1 = LoadVoxels<IMAGE2D<float>,4>(a2F98);
          int iy2F8E#1 = Add<int>(_t11ED,t22F97);
          addr(IMAGE2D<float>) a2F91#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2F92,iy2F8E);
          real4 v12F7A#1 = LoadVoxels<IMAGE2D<float>,4>(a2F91);
          int iy2F87#1 = Add<int>(_t11F1,t22F97);
          addr(IMAGE2D<float>) a2F8A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2F92,iy2F87);
          real4 v22F7B#1 = LoadVoxels<IMAGE2D<float>,4>(a2F8A);
          int iy2F80#1 = Add<int>(_t11C9,t22F97);
          addr(IMAGE2D<float>) a2F83#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2F92,iy2F80);
          real4 v32F7C#1 = LoadVoxels<IMAGE2D<float>,4>(a2F83);
          real fy2FA4#5 = Index<real2,1>(f2F75);
          real t32FA9#1 = Add<real>(fy2FA4,_t11C5);
          real t12FA7#1 = Sub<real>(fy2FA4,_t11C5);
          real t02FA6#1 = Sub<real>(fy2FA4,_t11C7);
          real4 a2FA5#1 = <real4>[t32FA9,fy2FA4,t12FA7,t02FA6];
          real4 hy2F9A#1 = EvalKernel<4,bspln3,0>(a2FA5);
          real fx2F9B#5 = Index<real2,0>(f2F75);
          real t32FA0#1 = Add<real>(fx2F9B,_t11C5);
          real t12F9E#1 = Sub<real>(fx2F9B,_t11C5);
          real t02F9D#1 = Sub<real>(fx2F9B,_t11C7);
          real4 a2F9C#1 = <real4>[t32FA0,fx2F9B,t12F9E,t02F9D];
          real4 hx2F99#4 = EvalKernel<4,bspln3,0>(a2F9C);
          real t02FAE#1 = Dot<4>(v02F79,hx2F99);
          real t12FAF#1 = Dot<4>(v12F7A,hx2F99);
          real t22FB0#1 = Dot<4>(v22F7B,hx2F99);
          real t32FB1#1 = Dot<4>(v32F7C,hx2F99);
          real4 tv2FAD#1 = <real4>[t02FAE,t12FAF,t22FB0,t32FB1];
          real _t2F73#1 = Dot<4>(hy2F9A,tv2FAD);
          real2 x2FF1#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v271177);
          real2 nd2FF3#2 = Floor<2>(x2FF1);
          real2 f2FF2#2 = Sub<real2>(x2FF1,nd2FF3);
          int{2} n2FF4#8 = RealToInt<2>(nd2FF3);
          int t23011#1 = Index<int{2},0>(n2FF4);
          int ix300F#4 = Add<int>(t12F93,t23011);
          int t23014#4 = Index<int{2},1>(n2FF4);
          int iy3012#1 = Add<int>(t12F93,t23014);
          addr(IMAGE2D<int>) a3015#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix300F,iy3012);
          real4 v02FF6#1 = LoadVoxels<IMAGE2D<int>,4>(a3015);
          int iy300B#1 = Add<int>(_t11ED,t23014);
          addr(IMAGE2D<int>) a300E#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix300F,iy300B);
          real4 v12FF7#1 = LoadVoxels<IMAGE2D<int>,4>(a300E);
          int iy3004#1 = Add<int>(_t11F1,t23014);
          addr(IMAGE2D<int>) a3007#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix300F,iy3004);
          real4 v22FF8#1 = LoadVoxels<IMAGE2D<int>,4>(a3007);
          int iy2FFD#1 = Add<int>(_t11C9,t23014);
          addr(IMAGE2D<int>) a3000#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix300F,iy2FFD);
          real4 v32FF9#1 = LoadVoxels<IMAGE2D<int>,4>(a3000);
          real fy3021#5 = Index<real2,1>(f2FF2);
          real t33026#1 = Add<real>(fy3021,_t11C5);
          real t13024#1 = Sub<real>(fy3021,_t11C5);
          real t03023#1 = Sub<real>(fy3021,_t11C7);
          real4 a3022#1 = <real4>[t33026,fy3021,t13024,t03023];
          real4 hy3017#1 = EvalKernel<4,bspln3,0>(a3022);
          real fx3018#5 = Index<real2,0>(f2FF2);
          real t3301D#1 = Add<real>(fx3018,_t11C5);
          real t1301B#1 = Sub<real>(fx3018,_t11C5);
          real t0301A#1 = Sub<real>(fx3018,_t11C7);
          real4 a3019#1 = <real4>[t3301D,fx3018,t1301B,t0301A];
          real4 hx3016#4 = EvalKernel<4,bspln3,0>(a3019);
          real t0302B#1 = Dot<4>(v02FF6,hx3016);
          real t1302C#1 = Dot<4>(v12FF7,hx3016);
          real t2302D#1 = Dot<4>(v22FF8,hx3016);
          real t3302E#1 = Dot<4>(v32FF9,hx3016);
          real4 tv302A#1 = <real4>[t0302B,t1302C,t2302D,t3302E];
          real _t2FF0#1 = Dot<4>(hy3017,tv302A);
          real _t306D#2 = Sub<real>(_t2F73,_t2FF0);
          real _t306F#1 = Mul<real>(_t306D,_t306D);
          real score3071#1 = Add<real>(score2F5C,_t306F);
          goto JOIN3074
        JOIN3074:  preds = [ASSIGN3072,COND2F72]
          real score3073#2 = phi(score3071,score2F5C)
          real _t3075#1 = Dot<2>(r011DF,v281179);
          real _t3077#1 = Dot<2>(r111E5,v281179);
          real2 _t3079#1 = <real2>[_t3075,_t3077];
          real2 pos307B#2 = Add<real2>(_t3079,_t11F5);
          real2 x307E#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos307B);
          bool _t307D#1 = Inside<IMAGE2D<float>,2>(x307E,_t1133);
          if _t307D then goto ASSIGN3084 else goto ASSIGN3822
        ASSIGN3084:  preds = [COND3081]
          real2 x3083#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v281179);
          bool _t3082#1 = Inside<IMAGE2D<int>,2>(x3083,_t112F);
          goto JOIN3088
        JOIN3088:  preds = [ASSIGN3085,ASSIGN3822]
          bool _t3086#1 = phi(_t3082,_t3087)
          if _t3086 then goto ASSIGN3BED else goto JOIN318B
        ASSIGN3BED:  preds = [COND3089]
          real2 nd308D#2 = Floor<2>(x307E);
          real2 f308C#2 = Sub<real2>(x307E,nd308D);
          int{2} n308E#8 = RealToInt<2>(nd308D);
          int t130AA#4 = -1;
          int t230AB#1 = Index<int{2},0>(n308E);
          int ix30A9#4 = Add<int>(t130AA,t230AB);
          int t230AE#4 = Index<int{2},1>(n308E);
          int iy30AC#1 = Add<int>(t130AA,t230AE);
          addr(IMAGE2D<float>) a30AF#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix30A9,iy30AC);
          real4 v03090#1 = LoadVoxels<IMAGE2D<float>,4>(a30AF);
          int iy30A5#1 = Add<int>(_t11ED,t230AE);
          addr(IMAGE2D<float>) a30A8#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix30A9,iy30A5);
          real4 v13091#1 = LoadVoxels<IMAGE2D<float>,4>(a30A8);
          int iy309E#1 = Add<int>(_t11F1,t230AE);
          addr(IMAGE2D<float>) a30A1#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix30A9,iy309E);
          real4 v23092#1 = LoadVoxels<IMAGE2D<float>,4>(a30A1);
          int iy3097#1 = Add<int>(_t11C9,t230AE);
          addr(IMAGE2D<float>) a309A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix30A9,iy3097);
          real4 v33093#1 = LoadVoxels<IMAGE2D<float>,4>(a309A);
          real fy30BB#5 = Index<real2,1>(f308C);
          real t330C0#1 = Add<real>(fy30BB,_t11C5);
          real t130BE#1 = Sub<real>(fy30BB,_t11C5);
          real t030BD#1 = Sub<real>(fy30BB,_t11C7);
          real4 a30BC#1 = <real4>[t330C0,fy30BB,t130BE,t030BD];
          real4 hy30B1#1 = EvalKernel<4,bspln3,0>(a30BC);
          real fx30B2#5 = Index<real2,0>(f308C);
          real t330B7#1 = Add<real>(fx30B2,_t11C5);
          real t130B5#1 = Sub<real>(fx30B2,_t11C5);
          real t030B4#1 = Sub<real>(fx30B2,_t11C7);
          real4 a30B3#1 = <real4>[t330B7,fx30B2,t130B5,t030B4];
          real4 hx30B0#4 = EvalKernel<4,bspln3,0>(a30B3);
          real t030C5#1 = Dot<4>(v03090,hx30B0);
          real t130C6#1 = Dot<4>(v13091,hx30B0);
          real t230C7#1 = Dot<4>(v23092,hx30B0);
          real t330C8#1 = Dot<4>(v33093,hx30B0);
          real4 tv30C4#1 = <real4>[t030C5,t130C6,t230C7,t330C8];
          real _t308A#1 = Dot<4>(hy30B1,tv30C4);
          real2 x3108#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v281179);
          real2 nd310A#2 = Floor<2>(x3108);
          real2 f3109#2 = Sub<real2>(x3108,nd310A);
          int{2} n310B#8 = RealToInt<2>(nd310A);
          int t23128#1 = Index<int{2},0>(n310B);
          int ix3126#4 = Add<int>(t130AA,t23128);
          int t2312B#4 = Index<int{2},1>(n310B);
          int iy3129#1 = Add<int>(t130AA,t2312B);
          addr(IMAGE2D<int>) a312C#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3126,iy3129);
          real4 v0310D#1 = LoadVoxels<IMAGE2D<int>,4>(a312C);
          int iy3122#1 = Add<int>(_t11ED,t2312B);
          addr(IMAGE2D<int>) a3125#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3126,iy3122);
          real4 v1310E#1 = LoadVoxels<IMAGE2D<int>,4>(a3125);
          int iy311B#1 = Add<int>(_t11F1,t2312B);
          addr(IMAGE2D<int>) a311E#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3126,iy311B);
          real4 v2310F#1 = LoadVoxels<IMAGE2D<int>,4>(a311E);
          int iy3114#1 = Add<int>(_t11C9,t2312B);
          addr(IMAGE2D<int>) a3117#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3126,iy3114);
          real4 v33110#1 = LoadVoxels<IMAGE2D<int>,4>(a3117);
          real fy3138#5 = Index<real2,1>(f3109);
          real t3313D#1 = Add<real>(fy3138,_t11C5);
          real t1313B#1 = Sub<real>(fy3138,_t11C5);
          real t0313A#1 = Sub<real>(fy3138,_t11C7);
          real4 a3139#1 = <real4>[t3313D,fy3138,t1313B,t0313A];
          real4 hy312E#1 = EvalKernel<4,bspln3,0>(a3139);
          real fx312F#5 = Index<real2,0>(f3109);
          real t33134#1 = Add<real>(fx312F,_t11C5);
          real t13132#1 = Sub<real>(fx312F,_t11C5);
          real t03131#1 = Sub<real>(fx312F,_t11C7);
          real4 a3130#1 = <real4>[t33134,fx312F,t13132,t03131];
          real4 hx312D#4 = EvalKernel<4,bspln3,0>(a3130);
          real t03142#1 = Dot<4>(v0310D,hx312D);
          real t13143#1 = Dot<4>(v1310E,hx312D);
          real t23144#1 = Dot<4>(v2310F,hx312D);
          real t33145#1 = Dot<4>(v33110,hx312D);
          real4 tv3141#1 = <real4>[t03142,t13143,t23144,t33145];
          real _t3107#1 = Dot<4>(hy312E,tv3141);
          real _t3184#2 = Sub<real>(_t308A,_t3107);
          real _t3186#1 = Mul<real>(_t3184,_t3184);
          real score3188#1 = Add<real>(score3073,_t3186);
          goto JOIN318B
        JOIN318B:  preds = [ASSIGN3189,COND3089]
          real score318A#2 = phi(score3188,score3073)
          real _t318C#1 = Dot<2>(r011DF,v29117B);
          real _t318E#1 = Dot<2>(r111E5,v29117B);
          real2 _t3190#1 = <real2>[_t318C,_t318E];
          real2 pos3192#2 = Add<real2>(_t3190,_t11F5);
          real2 x3195#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos3192);
          bool _t3194#1 = Inside<IMAGE2D<float>,2>(x3195,_t1133);
          if _t3194 then goto ASSIGN319B else goto ASSIGN3821
        ASSIGN319B:  preds = [COND3198]
          real2 x319A#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v29117B);
          bool _t3199#1 = Inside<IMAGE2D<int>,2>(x319A,_t112F);
          goto JOIN319F
        JOIN319F:  preds = [ASSIGN319C,ASSIGN3821]
          bool _t319D#1 = phi(_t3199,_t319E)
          if _t319D then goto ASSIGN3C0E else goto JOIN32A2
        ASSIGN3C0E:  preds = [COND31A0]
          real2 nd31A4#2 = Floor<2>(x3195);
          real2 f31A3#2 = Sub<real2>(x3195,nd31A4);
          int{2} n31A5#8 = RealToInt<2>(nd31A4);
          int t131C1#4 = -1;
          int t231C2#1 = Index<int{2},0>(n31A5);
          int ix31C0#4 = Add<int>(t131C1,t231C2);
          int t231C5#4 = Index<int{2},1>(n31A5);
          int iy31C3#1 = Add<int>(t131C1,t231C5);
          addr(IMAGE2D<float>) a31C6#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix31C0,iy31C3);
          real4 v031A7#1 = LoadVoxels<IMAGE2D<float>,4>(a31C6);
          int iy31BC#1 = Add<int>(_t11ED,t231C5);
          addr(IMAGE2D<float>) a31BF#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix31C0,iy31BC);
          real4 v131A8#1 = LoadVoxels<IMAGE2D<float>,4>(a31BF);
          int iy31B5#1 = Add<int>(_t11F1,t231C5);
          addr(IMAGE2D<float>) a31B8#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix31C0,iy31B5);
          real4 v231A9#1 = LoadVoxels<IMAGE2D<float>,4>(a31B8);
          int iy31AE#1 = Add<int>(_t11C9,t231C5);
          addr(IMAGE2D<float>) a31B1#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix31C0,iy31AE);
          real4 v331AA#1 = LoadVoxels<IMAGE2D<float>,4>(a31B1);
          real fy31D2#5 = Index<real2,1>(f31A3);
          real t331D7#1 = Add<real>(fy31D2,_t11C5);
          real t131D5#1 = Sub<real>(fy31D2,_t11C5);
          real t031D4#1 = Sub<real>(fy31D2,_t11C7);
          real4 a31D3#1 = <real4>[t331D7,fy31D2,t131D5,t031D4];
          real4 hy31C8#1 = EvalKernel<4,bspln3,0>(a31D3);
          real fx31C9#5 = Index<real2,0>(f31A3);
          real t331CE#1 = Add<real>(fx31C9,_t11C5);
          real t131CC#1 = Sub<real>(fx31C9,_t11C5);
          real t031CB#1 = Sub<real>(fx31C9,_t11C7);
          real4 a31CA#1 = <real4>[t331CE,fx31C9,t131CC,t031CB];
          real4 hx31C7#4 = EvalKernel<4,bspln3,0>(a31CA);
          real t031DC#1 = Dot<4>(v031A7,hx31C7);
          real t131DD#1 = Dot<4>(v131A8,hx31C7);
          real t231DE#1 = Dot<4>(v231A9,hx31C7);
          real t331DF#1 = Dot<4>(v331AA,hx31C7);
          real4 tv31DB#1 = <real4>[t031DC,t131DD,t231DE,t331DF];
          real _t31A1#1 = Dot<4>(hy31C8,tv31DB);
          real2 x321F#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v29117B);
          real2 nd3221#2 = Floor<2>(x321F);
          real2 f3220#2 = Sub<real2>(x321F,nd3221);
          int{2} n3222#8 = RealToInt<2>(nd3221);
          int t2323F#1 = Index<int{2},0>(n3222);
          int ix323D#4 = Add<int>(t131C1,t2323F);
          int t23242#4 = Index<int{2},1>(n3222);
          int iy3240#1 = Add<int>(t131C1,t23242);
          addr(IMAGE2D<int>) a3243#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix323D,iy3240);
          real4 v03224#1 = LoadVoxels<IMAGE2D<int>,4>(a3243);
          int iy3239#1 = Add<int>(_t11ED,t23242);
          addr(IMAGE2D<int>) a323C#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix323D,iy3239);
          real4 v13225#1 = LoadVoxels<IMAGE2D<int>,4>(a323C);
          int iy3232#1 = Add<int>(_t11F1,t23242);
          addr(IMAGE2D<int>) a3235#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix323D,iy3232);
          real4 v23226#1 = LoadVoxels<IMAGE2D<int>,4>(a3235);
          int iy322B#1 = Add<int>(_t11C9,t23242);
          addr(IMAGE2D<int>) a322E#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix323D,iy322B);
          real4 v33227#1 = LoadVoxels<IMAGE2D<int>,4>(a322E);
          real fy324F#5 = Index<real2,1>(f3220);
          real t33254#1 = Add<real>(fy324F,_t11C5);
          real t13252#1 = Sub<real>(fy324F,_t11C5);
          real t03251#1 = Sub<real>(fy324F,_t11C7);
          real4 a3250#1 = <real4>[t33254,fy324F,t13252,t03251];
          real4 hy3245#1 = EvalKernel<4,bspln3,0>(a3250);
          real fx3246#5 = Index<real2,0>(f3220);
          real t3324B#1 = Add<real>(fx3246,_t11C5);
          real t13249#1 = Sub<real>(fx3246,_t11C5);
          real t03248#1 = Sub<real>(fx3246,_t11C7);
          real4 a3247#1 = <real4>[t3324B,fx3246,t13249,t03248];
          real4 hx3244#4 = EvalKernel<4,bspln3,0>(a3247);
          real t03259#1 = Dot<4>(v03224,hx3244);
          real t1325A#1 = Dot<4>(v13225,hx3244);
          real t2325B#1 = Dot<4>(v23226,hx3244);
          real t3325C#1 = Dot<4>(v33227,hx3244);
          real4 tv3258#1 = <real4>[t03259,t1325A,t2325B,t3325C];
          real _t321E#1 = Dot<4>(hy3245,tv3258);
          real _t329B#2 = Sub<real>(_t31A1,_t321E);
          real _t329D#1 = Mul<real>(_t329B,_t329B);
          real score329F#1 = Add<real>(score318A,_t329D);
          goto JOIN32A2
        JOIN32A2:  preds = [ASSIGN32A0,COND31A0]
          real score32A1#2 = phi(score329F,score318A)
          real _t32A3#1 = Dot<2>(r011DF,v30117D);
          real _t32A5#1 = Dot<2>(r111E5,v30117D);
          real2 _t32A7#1 = <real2>[_t32A3,_t32A5];
          real2 pos32A9#2 = Add<real2>(_t32A7,_t11F5);
          real2 x32AC#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos32A9);
          bool _t32AB#1 = Inside<IMAGE2D<float>,2>(x32AC,_t1133);
          if _t32AB then goto ASSIGN32B2 else goto ASSIGN3820
        ASSIGN32B2:  preds = [COND32AF]
          real2 x32B1#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v30117D);
          bool _t32B0#1 = Inside<IMAGE2D<int>,2>(x32B1,_t112F);
          goto JOIN32B6
        JOIN32B6:  preds = [ASSIGN32B3,ASSIGN3820]
          bool _t32B4#1 = phi(_t32B0,_t32B5)
          if _t32B4 then goto ASSIGN3C2F else goto JOIN33B9
        ASSIGN3C2F:  preds = [COND32B7]
          real2 nd32BB#2 = Floor<2>(x32AC);
          real2 f32BA#2 = Sub<real2>(x32AC,nd32BB);
          int{2} n32BC#8 = RealToInt<2>(nd32BB);
          int t132D8#4 = -1;
          int t232D9#1 = Index<int{2},0>(n32BC);
          int ix32D7#4 = Add<int>(t132D8,t232D9);
          int t232DC#4 = Index<int{2},1>(n32BC);
          int iy32DA#1 = Add<int>(t132D8,t232DC);
          addr(IMAGE2D<float>) a32DD#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix32D7,iy32DA);
          real4 v032BE#1 = LoadVoxels<IMAGE2D<float>,4>(a32DD);
          int iy32D3#1 = Add<int>(_t11ED,t232DC);
          addr(IMAGE2D<float>) a32D6#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix32D7,iy32D3);
          real4 v132BF#1 = LoadVoxels<IMAGE2D<float>,4>(a32D6);
          int iy32CC#1 = Add<int>(_t11F1,t232DC);
          addr(IMAGE2D<float>) a32CF#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix32D7,iy32CC);
          real4 v232C0#1 = LoadVoxels<IMAGE2D<float>,4>(a32CF);
          int iy32C5#1 = Add<int>(_t11C9,t232DC);
          addr(IMAGE2D<float>) a32C8#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix32D7,iy32C5);
          real4 v332C1#1 = LoadVoxels<IMAGE2D<float>,4>(a32C8);
          real fy32E9#5 = Index<real2,1>(f32BA);
          real t332EE#1 = Add<real>(fy32E9,_t11C5);
          real t132EC#1 = Sub<real>(fy32E9,_t11C5);
          real t032EB#1 = Sub<real>(fy32E9,_t11C7);
          real4 a32EA#1 = <real4>[t332EE,fy32E9,t132EC,t032EB];
          real4 hy32DF#1 = EvalKernel<4,bspln3,0>(a32EA);
          real fx32E0#5 = Index<real2,0>(f32BA);
          real t332E5#1 = Add<real>(fx32E0,_t11C5);
          real t132E3#1 = Sub<real>(fx32E0,_t11C5);
          real t032E2#1 = Sub<real>(fx32E0,_t11C7);
          real4 a32E1#1 = <real4>[t332E5,fx32E0,t132E3,t032E2];
          real4 hx32DE#4 = EvalKernel<4,bspln3,0>(a32E1);
          real t032F3#1 = Dot<4>(v032BE,hx32DE);
          real t132F4#1 = Dot<4>(v132BF,hx32DE);
          real t232F5#1 = Dot<4>(v232C0,hx32DE);
          real t332F6#1 = Dot<4>(v332C1,hx32DE);
          real4 tv32F2#1 = <real4>[t032F3,t132F4,t232F5,t332F6];
          real _t32B8#1 = Dot<4>(hy32DF,tv32F2);
          real2 x3336#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v30117D);
          real2 nd3338#2 = Floor<2>(x3336);
          real2 f3337#2 = Sub<real2>(x3336,nd3338);
          int{2} n3339#8 = RealToInt<2>(nd3338);
          int t23356#1 = Index<int{2},0>(n3339);
          int ix3354#4 = Add<int>(t132D8,t23356);
          int t23359#4 = Index<int{2},1>(n3339);
          int iy3357#1 = Add<int>(t132D8,t23359);
          addr(IMAGE2D<int>) a335A#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3354,iy3357);
          real4 v0333B#1 = LoadVoxels<IMAGE2D<int>,4>(a335A);
          int iy3350#1 = Add<int>(_t11ED,t23359);
          addr(IMAGE2D<int>) a3353#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3354,iy3350);
          real4 v1333C#1 = LoadVoxels<IMAGE2D<int>,4>(a3353);
          int iy3349#1 = Add<int>(_t11F1,t23359);
          addr(IMAGE2D<int>) a334C#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3354,iy3349);
          real4 v2333D#1 = LoadVoxels<IMAGE2D<int>,4>(a334C);
          int iy3342#1 = Add<int>(_t11C9,t23359);
          addr(IMAGE2D<int>) a3345#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3354,iy3342);
          real4 v3333E#1 = LoadVoxels<IMAGE2D<int>,4>(a3345);
          real fy3366#5 = Index<real2,1>(f3337);
          real t3336B#1 = Add<real>(fy3366,_t11C5);
          real t13369#1 = Sub<real>(fy3366,_t11C5);
          real t03368#1 = Sub<real>(fy3366,_t11C7);
          real4 a3367#1 = <real4>[t3336B,fy3366,t13369,t03368];
          real4 hy335C#1 = EvalKernel<4,bspln3,0>(a3367);
          real fx335D#5 = Index<real2,0>(f3337);
          real t33362#1 = Add<real>(fx335D,_t11C5);
          real t13360#1 = Sub<real>(fx335D,_t11C5);
          real t0335F#1 = Sub<real>(fx335D,_t11C7);
          real4 a335E#1 = <real4>[t33362,fx335D,t13360,t0335F];
          real4 hx335B#4 = EvalKernel<4,bspln3,0>(a335E);
          real t03370#1 = Dot<4>(v0333B,hx335B);
          real t13371#1 = Dot<4>(v1333C,hx335B);
          real t23372#1 = Dot<4>(v2333D,hx335B);
          real t33373#1 = Dot<4>(v3333E,hx335B);
          real4 tv336F#1 = <real4>[t03370,t13371,t23372,t33373];
          real _t3335#1 = Dot<4>(hy335C,tv336F);
          real _t33B2#2 = Sub<real>(_t32B8,_t3335);
          real _t33B4#1 = Mul<real>(_t33B2,_t33B2);
          real score33B6#1 = Add<real>(score32A1,_t33B4);
          goto JOIN33B9
        JOIN33B9:  preds = [ASSIGN33B7,COND32B7]
          real score33B8#2 = phi(score33B6,score32A1)
          real _t33BA#1 = Dot<2>(r011DF,v31117F);
          real _t33BC#1 = Dot<2>(r111E5,v31117F);
          real2 _t33BE#1 = <real2>[_t33BA,_t33BC];
          real2 pos33C0#2 = Add<real2>(_t33BE,_t11F5);
          real2 x33C3#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos33C0);
          bool _t33C2#1 = Inside<IMAGE2D<float>,2>(x33C3,_t1133);
          if _t33C2 then goto ASSIGN33C9 else goto ASSIGN381F
        ASSIGN33C9:  preds = [COND33C6]
          real2 x33C8#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v31117F);
          bool _t33C7#1 = Inside<IMAGE2D<int>,2>(x33C8,_t112F);
          goto JOIN33CD
        JOIN33CD:  preds = [ASSIGN33CA,ASSIGN381F]
          bool _t33CB#1 = phi(_t33C7,_t33CC)
          if _t33CB then goto ASSIGN3C50 else goto JOIN34D0
        ASSIGN3C50:  preds = [COND33CE]
          real2 nd33D2#2 = Floor<2>(x33C3);
          real2 f33D1#2 = Sub<real2>(x33C3,nd33D2);
          int{2} n33D3#8 = RealToInt<2>(nd33D2);
          int t133EF#4 = -1;
          int t233F0#1 = Index<int{2},0>(n33D3);
          int ix33EE#4 = Add<int>(t133EF,t233F0);
          int t233F3#4 = Index<int{2},1>(n33D3);
          int iy33F1#1 = Add<int>(t133EF,t233F3);
          addr(IMAGE2D<float>) a33F4#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix33EE,iy33F1);
          real4 v033D5#1 = LoadVoxels<IMAGE2D<float>,4>(a33F4);
          int iy33EA#1 = Add<int>(_t11ED,t233F3);
          addr(IMAGE2D<float>) a33ED#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix33EE,iy33EA);
          real4 v133D6#1 = LoadVoxels<IMAGE2D<float>,4>(a33ED);
          int iy33E3#1 = Add<int>(_t11F1,t233F3);
          addr(IMAGE2D<float>) a33E6#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix33EE,iy33E3);
          real4 v233D7#1 = LoadVoxels<IMAGE2D<float>,4>(a33E6);
          int iy33DC#1 = Add<int>(_t11C9,t233F3);
          addr(IMAGE2D<float>) a33DF#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix33EE,iy33DC);
          real4 v333D8#1 = LoadVoxels<IMAGE2D<float>,4>(a33DF);
          real fy3400#5 = Index<real2,1>(f33D1);
          real t33405#1 = Add<real>(fy3400,_t11C5);
          real t13403#1 = Sub<real>(fy3400,_t11C5);
          real t03402#1 = Sub<real>(fy3400,_t11C7);
          real4 a3401#1 = <real4>[t33405,fy3400,t13403,t03402];
          real4 hy33F6#1 = EvalKernel<4,bspln3,0>(a3401);
          real fx33F7#5 = Index<real2,0>(f33D1);
          real t333FC#1 = Add<real>(fx33F7,_t11C5);
          real t133FA#1 = Sub<real>(fx33F7,_t11C5);
          real t033F9#1 = Sub<real>(fx33F7,_t11C7);
          real4 a33F8#1 = <real4>[t333FC,fx33F7,t133FA,t033F9];
          real4 hx33F5#4 = EvalKernel<4,bspln3,0>(a33F8);
          real t0340A#1 = Dot<4>(v033D5,hx33F5);
          real t1340B#1 = Dot<4>(v133D6,hx33F5);
          real t2340C#1 = Dot<4>(v233D7,hx33F5);
          real t3340D#1 = Dot<4>(v333D8,hx33F5);
          real4 tv3409#1 = <real4>[t0340A,t1340B,t2340C,t3340D];
          real _t33CF#1 = Dot<4>(hy33F6,tv3409);
          real2 x344D#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v31117F);
          real2 nd344F#2 = Floor<2>(x344D);
          real2 f344E#2 = Sub<real2>(x344D,nd344F);
          int{2} n3450#8 = RealToInt<2>(nd344F);
          int t2346D#1 = Index<int{2},0>(n3450);
          int ix346B#4 = Add<int>(t133EF,t2346D);
          int t23470#4 = Index<int{2},1>(n3450);
          int iy346E#1 = Add<int>(t133EF,t23470);
          addr(IMAGE2D<int>) a3471#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix346B,iy346E);
          real4 v03452#1 = LoadVoxels<IMAGE2D<int>,4>(a3471);
          int iy3467#1 = Add<int>(_t11ED,t23470);
          addr(IMAGE2D<int>) a346A#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix346B,iy3467);
          real4 v13453#1 = LoadVoxels<IMAGE2D<int>,4>(a346A);
          int iy3460#1 = Add<int>(_t11F1,t23470);
          addr(IMAGE2D<int>) a3463#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix346B,iy3460);
          real4 v23454#1 = LoadVoxels<IMAGE2D<int>,4>(a3463);
          int iy3459#1 = Add<int>(_t11C9,t23470);
          addr(IMAGE2D<int>) a345C#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix346B,iy3459);
          real4 v33455#1 = LoadVoxels<IMAGE2D<int>,4>(a345C);
          real fy347D#5 = Index<real2,1>(f344E);
          real t33482#1 = Add<real>(fy347D,_t11C5);
          real t13480#1 = Sub<real>(fy347D,_t11C5);
          real t0347F#1 = Sub<real>(fy347D,_t11C7);
          real4 a347E#1 = <real4>[t33482,fy347D,t13480,t0347F];
          real4 hy3473#1 = EvalKernel<4,bspln3,0>(a347E);
          real fx3474#5 = Index<real2,0>(f344E);
          real t33479#1 = Add<real>(fx3474,_t11C5);
          real t13477#1 = Sub<real>(fx3474,_t11C5);
          real t03476#1 = Sub<real>(fx3474,_t11C7);
          real4 a3475#1 = <real4>[t33479,fx3474,t13477,t03476];
          real4 hx3472#4 = EvalKernel<4,bspln3,0>(a3475);
          real t03487#1 = Dot<4>(v03452,hx3472);
          real t13488#1 = Dot<4>(v13453,hx3472);
          real t23489#1 = Dot<4>(v23454,hx3472);
          real t3348A#1 = Dot<4>(v33455,hx3472);
          real4 tv3486#1 = <real4>[t03487,t13488,t23489,t3348A];
          real _t344C#1 = Dot<4>(hy3473,tv3486);
          real _t34C9#2 = Sub<real>(_t33CF,_t344C);
          real _t34CB#1 = Mul<real>(_t34C9,_t34C9);
          real score34CD#1 = Add<real>(score33B8,_t34CB);
          goto JOIN34D0
        JOIN34D0:  preds = [ASSIGN34CE,COND33CE]
          real score34CF#2 = phi(score34CD,score33B8)
          real _t34D1#1 = Dot<2>(r011DF,v321181);
          real _t34D3#1 = Dot<2>(r111E5,v321181);
          real2 _t34D5#1 = <real2>[_t34D1,_t34D3];
          real2 pos34D7#2 = Add<real2>(_t34D5,_t11F5);
          real2 x34DA#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos34D7);
          bool _t34D9#1 = Inside<IMAGE2D<float>,2>(x34DA,_t1133);
          if _t34D9 then goto ASSIGN34E0 else goto ASSIGN381E
        ASSIGN34E0:  preds = [COND34DD]
          real2 x34DF#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v321181);
          bool _t34DE#1 = Inside<IMAGE2D<int>,2>(x34DF,_t112F);
          goto JOIN34E4
        JOIN34E4:  preds = [ASSIGN34E1,ASSIGN381E]
          bool _t34E2#1 = phi(_t34DE,_t34E3)
          if _t34E2 then goto ASSIGN3C71 else goto JOIN35E7
        ASSIGN3C71:  preds = [COND34E5]
          real2 nd34E9#2 = Floor<2>(x34DA);
          real2 f34E8#2 = Sub<real2>(x34DA,nd34E9);
          int{2} n34EA#8 = RealToInt<2>(nd34E9);
          int t13506#4 = -1;
          int t23507#1 = Index<int{2},0>(n34EA);
          int ix3505#4 = Add<int>(t13506,t23507);
          int t2350A#4 = Index<int{2},1>(n34EA);
          int iy3508#1 = Add<int>(t13506,t2350A);
          addr(IMAGE2D<float>) a350B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix3505,iy3508);
          real4 v034EC#1 = LoadVoxels<IMAGE2D<float>,4>(a350B);
          int iy3501#1 = Add<int>(_t11ED,t2350A);
          addr(IMAGE2D<float>) a3504#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix3505,iy3501);
          real4 v134ED#1 = LoadVoxels<IMAGE2D<float>,4>(a3504);
          int iy34FA#1 = Add<int>(_t11F1,t2350A);
          addr(IMAGE2D<float>) a34FD#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix3505,iy34FA);
          real4 v234EE#1 = LoadVoxels<IMAGE2D<float>,4>(a34FD);
          int iy34F3#1 = Add<int>(_t11C9,t2350A);
          addr(IMAGE2D<float>) a34F6#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix3505,iy34F3);
          real4 v334EF#1 = LoadVoxels<IMAGE2D<float>,4>(a34F6);
          real fy3517#5 = Index<real2,1>(f34E8);
          real t3351C#1 = Add<real>(fy3517,_t11C5);
          real t1351A#1 = Sub<real>(fy3517,_t11C5);
          real t03519#1 = Sub<real>(fy3517,_t11C7);
          real4 a3518#1 = <real4>[t3351C,fy3517,t1351A,t03519];
          real4 hy350D#1 = EvalKernel<4,bspln3,0>(a3518);
          real fx350E#5 = Index<real2,0>(f34E8);
          real t33513#1 = Add<real>(fx350E,_t11C5);
          real t13511#1 = Sub<real>(fx350E,_t11C5);
          real t03510#1 = Sub<real>(fx350E,_t11C7);
          real4 a350F#1 = <real4>[t33513,fx350E,t13511,t03510];
          real4 hx350C#4 = EvalKernel<4,bspln3,0>(a350F);
          real t03521#1 = Dot<4>(v034EC,hx350C);
          real t13522#1 = Dot<4>(v134ED,hx350C);
          real t23523#1 = Dot<4>(v234EE,hx350C);
          real t33524#1 = Dot<4>(v334EF,hx350C);
          real4 tv3520#1 = <real4>[t03521,t13522,t23523,t33524];
          real _t34E6#1 = Dot<4>(hy350D,tv3520);
          real2 x3564#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v321181);
          real2 nd3566#2 = Floor<2>(x3564);
          real2 f3565#2 = Sub<real2>(x3564,nd3566);
          int{2} n3567#8 = RealToInt<2>(nd3566);
          int t23584#1 = Index<int{2},0>(n3567);
          int ix3582#4 = Add<int>(t13506,t23584);
          int t23587#4 = Index<int{2},1>(n3567);
          int iy3585#1 = Add<int>(t13506,t23587);
          addr(IMAGE2D<int>) a3588#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3582,iy3585);
          real4 v03569#1 = LoadVoxels<IMAGE2D<int>,4>(a3588);
          int iy357E#1 = Add<int>(_t11ED,t23587);
          addr(IMAGE2D<int>) a3581#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3582,iy357E);
          real4 v1356A#1 = LoadVoxels<IMAGE2D<int>,4>(a3581);
          int iy3577#1 = Add<int>(_t11F1,t23587);
          addr(IMAGE2D<int>) a357A#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3582,iy3577);
          real4 v2356B#1 = LoadVoxels<IMAGE2D<int>,4>(a357A);
          int iy3570#1 = Add<int>(_t11C9,t23587);
          addr(IMAGE2D<int>) a3573#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3582,iy3570);
          real4 v3356C#1 = LoadVoxels<IMAGE2D<int>,4>(a3573);
          real fy3594#5 = Index<real2,1>(f3565);
          real t33599#1 = Add<real>(fy3594,_t11C5);
          real t13597#1 = Sub<real>(fy3594,_t11C5);
          real t03596#1 = Sub<real>(fy3594,_t11C7);
          real4 a3595#1 = <real4>[t33599,fy3594,t13597,t03596];
          real4 hy358A#1 = EvalKernel<4,bspln3,0>(a3595);
          real fx358B#5 = Index<real2,0>(f3565);
          real t33590#1 = Add<real>(fx358B,_t11C5);
          real t1358E#1 = Sub<real>(fx358B,_t11C5);
          real t0358D#1 = Sub<real>(fx358B,_t11C7);
          real4 a358C#1 = <real4>[t33590,fx358B,t1358E,t0358D];
          real4 hx3589#4 = EvalKernel<4,bspln3,0>(a358C);
          real t0359E#1 = Dot<4>(v03569,hx3589);
          real t1359F#1 = Dot<4>(v1356A,hx3589);
          real t235A0#1 = Dot<4>(v2356B,hx3589);
          real t335A1#1 = Dot<4>(v3356C,hx3589);
          real4 tv359D#1 = <real4>[t0359E,t1359F,t235A0,t335A1];
          real _t3563#1 = Dot<4>(hy358A,tv359D);
          real _t35E0#2 = Sub<real>(_t34E6,_t3563);
          real _t35E2#1 = Mul<real>(_t35E0,_t35E0);
          real score35E4#1 = Add<real>(score34CF,_t35E2);
          goto JOIN35E7
        JOIN35E7:  preds = [ASSIGN35E5,COND34E5]
          real score35E6#2 = phi(score35E4,score34CF)
          real _t35E8#1 = Dot<2>(r011DF,v331183);
          real _t35EA#1 = Dot<2>(r111E5,v331183);
          real2 _t35EC#1 = <real2>[_t35E8,_t35EA];
          real2 pos35EE#2 = Add<real2>(_t35EC,_t11F5);
          real2 x35F1#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos35EE);
          bool _t35F0#1 = Inside<IMAGE2D<float>,2>(x35F1,_t1133);
          if _t35F0 then goto ASSIGN35F7 else goto ASSIGN381D
        ASSIGN35F7:  preds = [COND35F4]
          real2 x35F6#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v331183);
          bool _t35F5#1 = Inside<IMAGE2D<int>,2>(x35F6,_t112F);
          goto JOIN35FB
        JOIN35FB:  preds = [ASSIGN35F8,ASSIGN381D]
          bool _t35F9#1 = phi(_t35F5,_t35FA)
          if _t35F9 then goto ASSIGN3C92 else goto JOIN36FE
        ASSIGN3C92:  preds = [COND35FC]
          real2 nd3600#2 = Floor<2>(x35F1);
          real2 f35FF#2 = Sub<real2>(x35F1,nd3600);
          int{2} n3601#8 = RealToInt<2>(nd3600);
          int t1361D#4 = -1;
          int t2361E#1 = Index<int{2},0>(n3601);
          int ix361C#4 = Add<int>(t1361D,t2361E);
          int t23621#4 = Index<int{2},1>(n3601);
          int iy361F#1 = Add<int>(t1361D,t23621);
          addr(IMAGE2D<float>) a3622#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix361C,iy361F);
          real4 v03603#1 = LoadVoxels<IMAGE2D<float>,4>(a3622);
          int iy3618#1 = Add<int>(_t11ED,t23621);
          addr(IMAGE2D<float>) a361B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix361C,iy3618);
          real4 v13604#1 = LoadVoxels<IMAGE2D<float>,4>(a361B);
          int iy3611#1 = Add<int>(_t11F1,t23621);
          addr(IMAGE2D<float>) a3614#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix361C,iy3611);
          real4 v23605#1 = LoadVoxels<IMAGE2D<float>,4>(a3614);
          int iy360A#1 = Add<int>(_t11C9,t23621);
          addr(IMAGE2D<float>) a360D#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix361C,iy360A);
          real4 v33606#1 = LoadVoxels<IMAGE2D<float>,4>(a360D);
          real fy362E#5 = Index<real2,1>(f35FF);
          real t33633#1 = Add<real>(fy362E,_t11C5);
          real t13631#1 = Sub<real>(fy362E,_t11C5);
          real t03630#1 = Sub<real>(fy362E,_t11C7);
          real4 a362F#1 = <real4>[t33633,fy362E,t13631,t03630];
          real4 hy3624#1 = EvalKernel<4,bspln3,0>(a362F);
          real fx3625#5 = Index<real2,0>(f35FF);
          real t3362A#1 = Add<real>(fx3625,_t11C5);
          real t13628#1 = Sub<real>(fx3625,_t11C5);
          real t03627#1 = Sub<real>(fx3625,_t11C7);
          real4 a3626#1 = <real4>[t3362A,fx3625,t13628,t03627];
          real4 hx3623#4 = EvalKernel<4,bspln3,0>(a3626);
          real t03638#1 = Dot<4>(v03603,hx3623);
          real t13639#1 = Dot<4>(v13604,hx3623);
          real t2363A#1 = Dot<4>(v23605,hx3623);
          real t3363B#1 = Dot<4>(v33606,hx3623);
          real4 tv3637#1 = <real4>[t03638,t13639,t2363A,t3363B];
          real _t35FD#1 = Dot<4>(hy3624,tv3637);
          real2 x367B#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v331183);
          real2 nd367D#2 = Floor<2>(x367B);
          real2 f367C#2 = Sub<real2>(x367B,nd367D);
          int{2} n367E#8 = RealToInt<2>(nd367D);
          int t2369B#1 = Index<int{2},0>(n367E);
          int ix3699#4 = Add<int>(t1361D,t2369B);
          int t2369E#4 = Index<int{2},1>(n367E);
          int iy369C#1 = Add<int>(t1361D,t2369E);
          addr(IMAGE2D<int>) a369F#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3699,iy369C);
          real4 v03680#1 = LoadVoxels<IMAGE2D<int>,4>(a369F);
          int iy3695#1 = Add<int>(_t11ED,t2369E);
          addr(IMAGE2D<int>) a3698#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3699,iy3695);
          real4 v13681#1 = LoadVoxels<IMAGE2D<int>,4>(a3698);
          int iy368E#1 = Add<int>(_t11F1,t2369E);
          addr(IMAGE2D<int>) a3691#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3699,iy368E);
          real4 v23682#1 = LoadVoxels<IMAGE2D<int>,4>(a3691);
          int iy3687#1 = Add<int>(_t11C9,t2369E);
          addr(IMAGE2D<int>) a368A#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3699,iy3687);
          real4 v33683#1 = LoadVoxels<IMAGE2D<int>,4>(a368A);
          real fy36AB#5 = Index<real2,1>(f367C);
          real t336B0#1 = Add<real>(fy36AB,_t11C5);
          real t136AE#1 = Sub<real>(fy36AB,_t11C5);
          real t036AD#1 = Sub<real>(fy36AB,_t11C7);
          real4 a36AC#1 = <real4>[t336B0,fy36AB,t136AE,t036AD];
          real4 hy36A1#1 = EvalKernel<4,bspln3,0>(a36AC);
          real fx36A2#5 = Index<real2,0>(f367C);
          real t336A7#1 = Add<real>(fx36A2,_t11C5);
          real t136A5#1 = Sub<real>(fx36A2,_t11C5);
          real t036A4#1 = Sub<real>(fx36A2,_t11C7);
          real4 a36A3#1 = <real4>[t336A7,fx36A2,t136A5,t036A4];
          real4 hx36A0#4 = EvalKernel<4,bspln3,0>(a36A3);
          real t036B5#1 = Dot<4>(v03680,hx36A0);
          real t136B6#1 = Dot<4>(v13681,hx36A0);
          real t236B7#1 = Dot<4>(v23682,hx36A0);
          real t336B8#1 = Dot<4>(v33683,hx36A0);
          real4 tv36B4#1 = <real4>[t036B5,t136B6,t236B7,t336B8];
          real _t367A#1 = Dot<4>(hy36A1,tv36B4);
          real _t36F7#2 = Sub<real>(_t35FD,_t367A);
          real _t36F9#1 = Mul<real>(_t36F7,_t36F7);
          real score36FB#1 = Add<real>(score35E6,_t36F9);
          goto JOIN36FE
        JOIN36FE:  preds = [ASSIGN36FC,COND35FC]
          real score36FD#2 = phi(score36FB,score35E6)
          real _t36FF#1 = Dot<2>(r011DF,v341185);
          real _t3701#1 = Dot<2>(r111E5,v341185);
          real2 _t3703#1 = <real2>[_t36FF,_t3701];
          real2 pos3705#3 = Add<real2>(_t3703,_t11F5);
          real2 x3708#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos3705);
          bool _t3707#1 = Inside<IMAGE2D<float>,2>(x3708,_t1133);
          if _t3707 then goto ASSIGN370E else goto ASSIGN381C
        ASSIGN370E:  preds = [COND370B]
          real2 x370D#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v341185);
          bool _t370C#1 = Inside<IMAGE2D<int>,2>(x370D,_t112F);
          goto JOIN3712
        JOIN3712:  preds = [ASSIGN370F,ASSIGN381C]
          bool _t3710#1 = phi(_t370C,_t3711)
          if _t3710 then goto ASSIGN3CB3 else goto JOIN3815
        ASSIGN3CB3:  preds = [COND3713]
          real2 nd3717#2 = Floor<2>(x3708);
          real2 f3716#2 = Sub<real2>(x3708,nd3717);
          int{2} n3718#8 = RealToInt<2>(nd3717);
          int t13734#4 = -1;
          int t23735#1 = Index<int{2},0>(n3718);
          int ix3733#4 = Add<int>(t13734,t23735);
          int t23738#4 = Index<int{2},1>(n3718);
          int iy3736#1 = Add<int>(t13734,t23738);
          addr(IMAGE2D<float>) a3739#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix3733,iy3736);
          real4 v0371A#1 = LoadVoxels<IMAGE2D<float>,4>(a3739);
          int iy372F#1 = Add<int>(_t11ED,t23738);
          addr(IMAGE2D<float>) a3732#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix3733,iy372F);
          real4 v1371B#1 = LoadVoxels<IMAGE2D<float>,4>(a3732);
          int iy3728#1 = Add<int>(_t11F1,t23738);
          addr(IMAGE2D<float>) a372B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix3733,iy3728);
          real4 v2371C#1 = LoadVoxels<IMAGE2D<float>,4>(a372B);
          int iy3721#1 = Add<int>(_t11C9,t23738);
          addr(IMAGE2D<float>) a3724#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix3733,iy3721);
          real4 v3371D#1 = LoadVoxels<IMAGE2D<float>,4>(a3724);
          real fy3745#5 = Index<real2,1>(f3716);
          real t3374A#1 = Add<real>(fy3745,_t11C5);
          real t13748#1 = Sub<real>(fy3745,_t11C5);
          real t03747#1 = Sub<real>(fy3745,_t11C7);
          real4 a3746#1 = <real4>[t3374A,fy3745,t13748,t03747];
          real4 hy373B#1 = EvalKernel<4,bspln3,0>(a3746);
          real fx373C#5 = Index<real2,0>(f3716);
          real t33741#1 = Add<real>(fx373C,_t11C5);
          real t1373F#1 = Sub<real>(fx373C,_t11C5);
          real t0373E#1 = Sub<real>(fx373C,_t11C7);
          real4 a373D#1 = <real4>[t33741,fx373C,t1373F,t0373E];
          real4 hx373A#4 = EvalKernel<4,bspln3,0>(a373D);
          real t0374F#1 = Dot<4>(v0371A,hx373A);
          real t13750#1 = Dot<4>(v1371B,hx373A);
          real t23751#1 = Dot<4>(v2371C,hx373A);
          real t33752#1 = Dot<4>(v3371D,hx373A);
          real4 tv374E#1 = <real4>[t0374F,t13750,t23751,t33752];
          real _t3714#1 = Dot<4>(hy373B,tv374E);
          real2 x3792#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v341185);
          real2 nd3794#2 = Floor<2>(x3792);
          real2 f3793#2 = Sub<real2>(x3792,nd3794);
          int{2} n3795#8 = RealToInt<2>(nd3794);
          int t237B2#1 = Index<int{2},0>(n3795);
          int ix37B0#4 = Add<int>(t13734,t237B2);
          int t237B5#4 = Index<int{2},1>(n3795);
          int iy37B3#1 = Add<int>(t13734,t237B5);
          addr(IMAGE2D<int>) a37B6#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix37B0,iy37B3);
          real4 v03797#1 = LoadVoxels<IMAGE2D<int>,4>(a37B6);
          int iy37AC#1 = Add<int>(_t11ED,t237B5);
          addr(IMAGE2D<int>) a37AF#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix37B0,iy37AC);
          real4 v13798#1 = LoadVoxels<IMAGE2D<int>,4>(a37AF);
          int iy37A5#1 = Add<int>(_t11F1,t237B5);
          addr(IMAGE2D<int>) a37A8#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix37B0,iy37A5);
          real4 v23799#1 = LoadVoxels<IMAGE2D<int>,4>(a37A8);
          int iy379E#1 = Add<int>(_t11C9,t237B5);
          addr(IMAGE2D<int>) a37A1#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix37B0,iy379E);
          real4 v3379A#1 = LoadVoxels<IMAGE2D<int>,4>(a37A1);
          real fy37C2#5 = Index<real2,1>(f3793);
          real t337C7#1 = Add<real>(fy37C2,_t11C5);
          real t137C5#1 = Sub<real>(fy37C2,_t11C5);
          real t037C4#1 = Sub<real>(fy37C2,_t11C7);
          real4 a37C3#1 = <real4>[t337C7,fy37C2,t137C5,t037C4];
          real4 hy37B8#1 = EvalKernel<4,bspln3,0>(a37C3);
          real fx37B9#5 = Index<real2,0>(f3793);
          real t337BE#1 = Add<real>(fx37B9,_t11C5);
          real t137BC#1 = Sub<real>(fx37B9,_t11C5);
          real t037BB#1 = Sub<real>(fx37B9,_t11C7);
          real4 a37BA#1 = <real4>[t337BE,fx37B9,t137BC,t037BB];
          real4 hx37B7#4 = EvalKernel<4,bspln3,0>(a37BA);
          real t037CC#1 = Dot<4>(v03797,hx37B7);
          real t137CD#1 = Dot<4>(v13798,hx37B7);
          real t237CE#1 = Dot<4>(v23799,hx37B7);
          real t337CF#1 = Dot<4>(v3379A,hx37B7);
          real4 tv37CB#1 = <real4>[t037CC,t137CD,t237CE,t337CF];
          real _t3791#1 = Dot<4>(hy37B8,tv37CB);
          real _t380E#2 = Sub<real>(_t3714,_t3791);
          real _t3810#1 = Mul<real>(_t380E,_t380E);
          real score3812#1 = Add<real>(score36FD,_t3810);
          goto JOIN3815
        JOIN3815:  preds = [ASSIGN3813,COND3713]
          real score3814#1 = phi(score3812,score36FD)
          self.t = t11C1;
          self.score = score3814;
          self.r0 = r011DF;
          self.r1 = r111E5;
          self.pos = pos3705;
          stabilize ()
        ASSIGN381C:  preds = [COND370B]
          bool _t3711#1 = false;
          goto JOIN3712
        ASSIGN381D:  preds = [COND35F4]
          bool _t35FA#1 = false;
          goto JOIN35FB
        ASSIGN381E:  preds = [COND34DD]
          bool _t34E3#1 = false;
          goto JOIN34E4
        ASSIGN381F:  preds = [COND33C6]
          bool _t33CC#1 = false;
          goto JOIN33CD
        ASSIGN3820:  preds = [COND32AF]
          bool _t32B5#1 = false;
          goto JOIN32B6
        ASSIGN3821:  preds = [COND3198]
          bool _t319E#1 = false;
          goto JOIN319F
        ASSIGN3822:  preds = [COND3081]
          bool _t3087#1 = false;
          goto JOIN3088
        ASSIGN3823:  preds = [COND2F6A]
          bool _t2F70#1 = false;
          goto JOIN2F71
        ASSIGN3824:  preds = [COND2E53]
          bool _t2E59#1 = false;
          goto JOIN2E5A
        ASSIGN3825:  preds = [COND2D3C]
          bool _t2D42#1 = false;
          goto JOIN2D43
        ASSIGN3826:  preds = [COND2C25]
          bool _t2C2B#1 = false;
          goto JOIN2C2C
        ASSIGN3827:  preds = [COND2B0E]
          bool _t2B14#1 = false;
          goto JOIN2B15
        ASSIGN3828:  preds = [COND29F7]
          bool _t29FD#1 = false;
          goto JOIN29FE
        ASSIGN3829:  preds = [COND28E0]
          bool _t28E6#1 = false;
          goto JOIN28E7
        ASSIGN382A:  preds = [COND27C9]
          bool _t27CF#1 = false;
          goto JOIN27D0
        ASSIGN382B:  preds = [COND26B2]
          bool _t26B8#1 = false;
          goto JOIN26B9
        ASSIGN382C:  preds = [COND259B]
          bool _t25A1#1 = false;
          goto JOIN25A2
        ASSIGN382D:  preds = [COND2484]
          bool _t248A#1 = false;
          goto JOIN248B
        ASSIGN382E:  preds = [COND236D]
          bool _t2373#1 = false;
          goto JOIN2374
        ASSIGN382F:  preds = [COND2256]
          bool _t225C#1 = false;
          goto JOIN225D
        ASSIGN3830:  preds = [COND213F]
          bool _t2145#1 = false;
          goto JOIN2146
        ASSIGN3831:  preds = [COND2028]
          bool _t202E#1 = false;
          goto JOIN202F
        ASSIGN3832:  preds = [COND1F11]
          bool _t1F17#1 = false;
          goto JOIN1F18
        ASSIGN3833:  preds = [COND1DFA]
          bool _t1E00#1 = false;
          goto JOIN1E01
        ASSIGN3834:  preds = [COND1CE3]
          bool _t1CE9#1 = false;
          goto JOIN1CEA
        ASSIGN3835:  preds = [COND1BCC]
          bool _t1BD2#1 = false;
          goto JOIN1BD3
        ASSIGN3836:  preds = [COND1AB5]
          bool _t1ABB#1 = false;
          goto JOIN1ABC
        ASSIGN3837:  preds = [COND199E]
          bool _t19A4#1 = false;
          goto JOIN19A5
        ASSIGN3838:  preds = [COND1887]
          bool _t188D#1 = false;
          goto JOIN188E
        ASSIGN3839:  preds = [COND1770]
          bool _t1776#1 = false;
          goto JOIN1777
        ASSIGN383A:  preds = [COND1659]
          bool _t165F#1 = false;
          goto JOIN1660
        ASSIGN383B:  preds = [COND1542]
          bool _t1548#1 = false;
          goto JOIN1549
        ASSIGN383C:  preds = [COND142B]
          bool _t1431#1 = false;
          goto JOIN1432
        ASSIGN383D:  preds = [COND1314]
          bool _t131A#1 = false;
          goto JOIN131B
        ASSIGN383E:  preds = [COND11FD]
          bool _t1203#1 = false;
          goto JOIN1204
    end Update
    method Stabilize
        ENTRY3840:  preds = []
          real3 t3841#1 = self.t;
          real score3843#1 = self.score;
          real2 r03845#1 = self.r0;
          real2 r13847#1 = self.r1;
          real2 pos3849#1 = self.pos;
          self.t = t3841;
          self.score = score3843;
          self.r0 = r03845;
          self.r1 = r13847;
          self.pos = pos3849;
          return ()
    end Stabilize
  end R
#### end program ####
++ mid-opt:unused
##### MidIL after contraction ####
## properties
  none
## globals
  global int T1187#0
  global int F1188#0
  global real2 v001139#4
  global real2 v01113F#4
  global real2 v021145#4
  global real2 v031147#4
  global real2 v041149#4
  global real2 v05114B#4
  global real2 v06114D#4
  global real2 v07114F#4
  global real2 v081151#4
  global real2 v091153#4
  global real2 v101155#4
  global real2 v111157#4
  global real2 v121159#4
  global real2 v13115B#4
  global real2 v14115D#4
  global real2 v15115F#4
  global real2 v161161#4
  global real2 v171163#4
  global real2 v181165#4
  global real2 v191167#4
  global real2 v201169#4
  global real2 v21116B#4
  global real2 v22116D#4
  global real2 v23116F#4
  global real2 v241171#4
  global real2 v251173#4
  global real2 v261175#4
  global real2 v271177#4
  global real2 v281179#4
  global real2 v29117B#4
  global real2 v30117D#4
  global real2 v31117F#4
  global real2 v321181#4
  global real2 v331183#4
  global real2 v341185#4
  global string _t112D#1
  global image(IMAGE2D<int>) _t112F#245
  global int _t112B#0
  global string _t1131#1
  global image(IMAGE2D<float>) _t1133#245
  global real _t1137#12
  global real _t113D#12
  global real _t1143#12
  global real _t1141#13
  global real _t1135#11
  global real _t113B#13
## global initialization
  ENTRY112A:  preds = []
    string _t112D#1 = "square-template.nrrd";
    image(IMAGE2D<int>) _t112F#245 = LoadImage<IMAGE2D<int>>(_t112D);
    string _t1131#1 = "square-rotate.nrrd";
    image(IMAGE2D<float>) _t1133#245 = LoadImage<IMAGE2D<float>>(_t1131);
    real _t1135#11 = 0.5e0;
    real _t1137#12 = Neg<real>(_t1135);
    real2 v001139#4 = <real2>[_t1137,_t1137];
    real _t113B#13 = 0.3e0;
    real _t113D#12 = Neg<real>(_t113B);
    real2 v01113F#4 = <real2>[_t1137,_t113D];
    real _t1141#13 = 0.1e0;
    real _t1143#12 = Neg<real>(_t1141);
    real2 v021145#4 = <real2>[_t1137,_t1143];
    real2 v031147#4 = <real2>[_t1137,_t1141];
    real2 v041149#4 = <real2>[_t1137,_t113B];
    real2 v05114B#4 = <real2>[_t1137,_t1135];
    real2 v06114D#4 = <real2>[_t113D,_t1137];
    real2 v07114F#4 = <real2>[_t113D,_t113D];
    real2 v081151#4 = <real2>[_t113D,_t1143];
    real2 v091153#4 = <real2>[_t113D,_t1141];
    real2 v101155#4 = <real2>[_t113D,_t113B];
    real2 v111157#4 = <real2>[_t113D,_t1135];
    real2 v121159#4 = <real2>[_t1143,_t1137];
    real2 v13115B#4 = <real2>[_t1143,_t113D];
    real2 v14115D#4 = <real2>[_t1143,_t1143];
    real2 v15115F#4 = <real2>[_t1143,_t1141];
    real2 v161161#4 = <real2>[_t1143,_t113B];
    real2 v171163#4 = <real2>[_t1143,_t1135];
    real2 v181165#4 = <real2>[_t1141,_t1137];
    real2 v191167#4 = <real2>[_t1141,_t113D];
    real2 v201169#4 = <real2>[_t1141,_t1143];
    real2 v21116B#4 = <real2>[_t1141,_t1141];
    real2 v22116D#4 = <real2>[_t1141,_t113B];
    real2 v23116F#4 = <real2>[_t1141,_t1135];
    real2 v241171#4 = <real2>[_t113B,_t1137];
    real2 v251173#4 = <real2>[_t113B,_t113D];
    real2 v261175#4 = <real2>[_t113B,_t1143];
    real2 v271177#4 = <real2>[_t113B,_t1141];
    real2 v281179#4 = <real2>[_t113B,_t113B];
    real2 v29117B#4 = <real2>[_t113B,_t1135];
    real2 v30117D#4 = <real2>[_t1135,_t1137];
    real2 v31117F#4 = <real2>[_t1135,_t113D];
    real2 v321181#4 = <real2>[_t1135,_t1143];
    real2 v331183#4 = <real2>[_t1135,_t1141];
    real2 v341185#4 = <real2>[_t1135,_t113B];
    return (T1187,F1188,v001139,v01113F,v021145,v031147,v041149,v05114B,v06114D,v07114F,v081151,v091153,v101155,v111157,v121159,v13115B,v14115D,v15115F,v161161,v171163,v181165,v191167,v201169,v21116B,v22116D,v23116F,v241171,v251173,v261175,v271177,v281179,v29117B,v30117D,v31117F,v321181,v331183,v341185,_t112D,_t112F,_t112B,_t1131,_t1133,_t1137,_t113D,_t1143,_t1141,_t1135,_t113B)
## initially
  ARRAY
    ENTRY118F:  preds = []
      int _t118B#4 = 0;
      int _t118C#4 = 60;
      live vars = (_t118C,_t118B)
    for int i118A#1 = _t118B .. _t118C
      for int j118D#1 = _t118B .. _t118C
        for int k118E#1 = _t118B .. _t118C
          ENTRY1193:  preds = []
            live vars = ()
          new R(i118A,j118D,k118E);
## strands
  strand R (int i1195#1, int j1196#1, int k1197#1)
    state: real3 self.t;output real self.score;real2 self.r0;real2 self.r1;real2 self.pos;
      ENTRY119D:  preds = []
        real _t119E#1 = IntToReal(i1195);
        real _t11A0#3 = 0.60e2;
        real _t11A2#1 = Div<real>(_t119E,_t11A0);
        real _t11A4#3 = 0.5e0;
        real _t11A6#1 = Sub<real>(_t11A2,_t11A4);
        real _t11A8#1 = IntToReal(j1196);
        real _t11AA#1 = Div<real>(_t11A8,_t11A0);
        real _t11AC#1 = Sub<real>(_t11AA,_t11A4);
        real _t11AE#1 = IntToReal(k1197);
        real _t11B0#1 = Div<real>(_t11AE,_t11A0);
        real _t11B2#1 = Sub<real>(_t11B0,_t11A4);
        real3 t11B4#1 = <real3>[_t11A6,_t11AC,_t11B2];
        real score11B6#3 = 0.0;
        real2 r011B8#3 = <real2>[score11B6,score11B6];
        self.t = t11B4;
        self.score = score11B6;
        self.r0 = r011B8;
        self.r1 = r011B8;
        self.pos = r011B8;
        strand_init ()
    method Update
        ENTRY11C0:  preds = []
          real3 t11C1#4 = self.t;
          real score11C3#2 = self.score;
          real _t11C5#282 = 0.1e1;
          real _t11C7#143 = 0.2e1;
          int _t11C9#71 = 2;
          real _t11CB#6 = Subscript<real3>(t11C1,_t11C9);
          real _t11CD#1 = Mul<real>(_t11C7,_t11CB);
          real _t11CF#1 = Mul<real>(_t11CD,_t11CB);
          real _t11D1#2 = Sub<real>(_t11C5,_t11CF);
          real _t11D3#1 = Neg<real>(_t11C7);
          real _t11D5#1 = Mul<real>(_t11CB,_t11CB);
          real _t11D7#1 = Sub<real>(_t11C5,_t11D5);
          real _t11D9#2 = sqrt(_t11D7);
          real _t11DB#1 = Mul<real>(_t11D3,_t11D9);
          real _t11DD#1 = Mul<real>(_t11DB,_t11CB);
          real2 r011DF#36 = <real2>[_t11D1,_t11DD];
          real _t11E1#1 = Mul<real>(_t11C7,_t11D9);
          real _t11E3#1 = Mul<real>(_t11E1,_t11CB);
          real2 r111E5#36 = <real2>[_t11E3,_t11D1];
          real _t11E7#1 = Dot<2>(r011DF,v001139);
          real _t11E9#1 = Dot<2>(r111E5,v001139);
          real2 _t11EB#1 = <real2>[_t11E7,_t11E9];
          int _t11ED#71 = 0;
          real _t11EF#1 = Subscript<real3>(t11C1,_t11ED);
          int _t11F1#71 = 1;
          real _t11F3#1 = Subscript<real3>(t11C1,_t11F1);
          real2 _t11F5#35 = <real2>[_t11EF,_t11F3];
          real2 pos11F7#2 = Add<real2>(_t11EB,_t11F5);
          real2 x11FA#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos11F7);
          bool _t11F9#1 = Inside<IMAGE2D<float>,2>(x11FA,_t1133);
          if _t11F9 then goto ASSIGN1200 else goto ASSIGN383E
        ASSIGN1200:  preds = [COND11FD]
          real2 x11FF#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v001139);
          bool _t11FE#1 = Inside<IMAGE2D<int>,2>(x11FF,_t112F);
          goto JOIN1204
        JOIN1204:  preds = [ASSIGN1201,ASSIGN383E]
          bool _t1202#1 = phi(_t11FE,_t1203)
          if _t1202 then goto ASSIGN3851 else goto JOIN1307
        ASSIGN3851:  preds = [COND1205]
          real2 nd1209#2 = Floor<2>(x11FA);
          real2 f1208#2 = Sub<real2>(x11FA,nd1209);
          int{2} n120A#8 = RealToInt<2>(nd1209);
          int t11226#4 = -1;
          int t21227#1 = Index<int{2},0>(n120A);
          int ix1225#4 = Add<int>(t11226,t21227);
          int t2122A#4 = Index<int{2},1>(n120A);
          int iy1228#1 = Add<int>(t11226,t2122A);
          addr(IMAGE2D<float>) a122B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1225,iy1228);
          real4 v0120C#1 = LoadVoxels<IMAGE2D<float>,4>(a122B);
          int iy1221#1 = Add<int>(_t11ED,t2122A);
          addr(IMAGE2D<float>) a1224#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1225,iy1221);
          real4 v1120D#1 = LoadVoxels<IMAGE2D<float>,4>(a1224);
          int iy121A#1 = Add<int>(_t11F1,t2122A);
          addr(IMAGE2D<float>) a121D#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1225,iy121A);
          real4 v2120E#1 = LoadVoxels<IMAGE2D<float>,4>(a121D);
          int iy1213#1 = Add<int>(_t11C9,t2122A);
          addr(IMAGE2D<float>) a1216#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1225,iy1213);
          real4 v3120F#1 = LoadVoxels<IMAGE2D<float>,4>(a1216);
          real fy1237#5 = Index<real2,1>(f1208);
          real t3123C#1 = Add<real>(fy1237,_t11C5);
          real t1123A#1 = Sub<real>(fy1237,_t11C5);
          real t01239#1 = Sub<real>(fy1237,_t11C7);
          real4 a1238#1 = <real4>[t3123C,fy1237,t1123A,t01239];
          real4 hy122D#1 = EvalKernel<4,bspln3,0>(a1238);
          real fx122E#5 = Index<real2,0>(f1208);
          real t31233#1 = Add<real>(fx122E,_t11C5);
          real t11231#1 = Sub<real>(fx122E,_t11C5);
          real t01230#1 = Sub<real>(fx122E,_t11C7);
          real4 a122F#1 = <real4>[t31233,fx122E,t11231,t01230];
          real4 hx122C#4 = EvalKernel<4,bspln3,0>(a122F);
          real t01241#1 = Dot<4>(v0120C,hx122C);
          real t11242#1 = Dot<4>(v1120D,hx122C);
          real t21243#1 = Dot<4>(v2120E,hx122C);
          real t31244#1 = Dot<4>(v3120F,hx122C);
          real4 tv1240#1 = <real4>[t01241,t11242,t21243,t31244];
          real _t1206#1 = Dot<4>(hy122D,tv1240);
          real2 x1284#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v001139);
          real2 nd1286#2 = Floor<2>(x1284);
          real2 f1285#2 = Sub<real2>(x1284,nd1286);
          int{2} n1287#8 = RealToInt<2>(nd1286);
          int t212A4#1 = Index<int{2},0>(n1287);
          int ix12A2#4 = Add<int>(t11226,t212A4);
          int t212A7#4 = Index<int{2},1>(n1287);
          int iy12A5#1 = Add<int>(t11226,t212A7);
          addr(IMAGE2D<int>) a12A8#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix12A2,iy12A5);
          real4 v01289#1 = LoadVoxels<IMAGE2D<int>,4>(a12A8);
          int iy129E#1 = Add<int>(_t11ED,t212A7);
          addr(IMAGE2D<int>) a12A1#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix12A2,iy129E);
          real4 v1128A#1 = LoadVoxels<IMAGE2D<int>,4>(a12A1);
          int iy1297#1 = Add<int>(_t11F1,t212A7);
          addr(IMAGE2D<int>) a129A#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix12A2,iy1297);
          real4 v2128B#1 = LoadVoxels<IMAGE2D<int>,4>(a129A);
          int iy1290#1 = Add<int>(_t11C9,t212A7);
          addr(IMAGE2D<int>) a1293#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix12A2,iy1290);
          real4 v3128C#1 = LoadVoxels<IMAGE2D<int>,4>(a1293);
          real fy12B4#5 = Index<real2,1>(f1285);
          real t312B9#1 = Add<real>(fy12B4,_t11C5);
          real t112B7#1 = Sub<real>(fy12B4,_t11C5);
          real t012B6#1 = Sub<real>(fy12B4,_t11C7);
          real4 a12B5#1 = <real4>[t312B9,fy12B4,t112B7,t012B6];
          real4 hy12AA#1 = EvalKernel<4,bspln3,0>(a12B5);
          real fx12AB#5 = Index<real2,0>(f1285);
          real t312B0#1 = Add<real>(fx12AB,_t11C5);
          real t112AE#1 = Sub<real>(fx12AB,_t11C5);
          real t012AD#1 = Sub<real>(fx12AB,_t11C7);
          real4 a12AC#1 = <real4>[t312B0,fx12AB,t112AE,t012AD];
          real4 hx12A9#4 = EvalKernel<4,bspln3,0>(a12AC);
          real t012BE#1 = Dot<4>(v01289,hx12A9);
          real t112BF#1 = Dot<4>(v1128A,hx12A9);
          real t212C0#1 = Dot<4>(v2128B,hx12A9);
          real t312C1#1 = Dot<4>(v3128C,hx12A9);
          real4 tv12BD#1 = <real4>[t012BE,t112BF,t212C0,t312C1];
          real _t1283#1 = Dot<4>(hy12AA,tv12BD);
          real _t1300#2 = Sub<real>(_t1206,_t1283);
          real _t1302#1 = Mul<real>(_t1300,_t1300);
          real score1304#1 = Add<real>(score11C3,_t1302);
          goto JOIN1307
        JOIN1307:  preds = [ASSIGN1305,COND1205]
          real score1306#2 = phi(score1304,score11C3)
          real _t1308#1 = Dot<2>(r011DF,v01113F);
          real _t130A#1 = Dot<2>(r111E5,v01113F);
          real2 _t130C#1 = <real2>[_t1308,_t130A];
          real2 pos130E#2 = Add<real2>(_t130C,_t11F5);
          real2 x1311#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos130E);
          bool _t1310#1 = Inside<IMAGE2D<float>,2>(x1311,_t1133);
          if _t1310 then goto ASSIGN1317 else goto ASSIGN383D
        ASSIGN1317:  preds = [COND1314]
          real2 x1316#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v01113F);
          bool _t1315#1 = Inside<IMAGE2D<int>,2>(x1316,_t112F);
          goto JOIN131B
        JOIN131B:  preds = [ASSIGN1318,ASSIGN383D]
          bool _t1319#1 = phi(_t1315,_t131A)
          if _t1319 then goto ASSIGN3872 else goto JOIN141E
        ASSIGN3872:  preds = [COND131C]
          real2 nd1320#2 = Floor<2>(x1311);
          real2 f131F#2 = Sub<real2>(x1311,nd1320);
          int{2} n1321#8 = RealToInt<2>(nd1320);
          int t1133D#4 = -1;
          int t2133E#1 = Index<int{2},0>(n1321);
          int ix133C#4 = Add<int>(t1133D,t2133E);
          int t21341#4 = Index<int{2},1>(n1321);
          int iy133F#1 = Add<int>(t1133D,t21341);
          addr(IMAGE2D<float>) a1342#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix133C,iy133F);
          real4 v01323#1 = LoadVoxels<IMAGE2D<float>,4>(a1342);
          int iy1338#1 = Add<int>(_t11ED,t21341);
          addr(IMAGE2D<float>) a133B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix133C,iy1338);
          real4 v11324#1 = LoadVoxels<IMAGE2D<float>,4>(a133B);
          int iy1331#1 = Add<int>(_t11F1,t21341);
          addr(IMAGE2D<float>) a1334#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix133C,iy1331);
          real4 v21325#1 = LoadVoxels<IMAGE2D<float>,4>(a1334);
          int iy132A#1 = Add<int>(_t11C9,t21341);
          addr(IMAGE2D<float>) a132D#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix133C,iy132A);
          real4 v31326#1 = LoadVoxels<IMAGE2D<float>,4>(a132D);
          real fy134E#5 = Index<real2,1>(f131F);
          real t31353#1 = Add<real>(fy134E,_t11C5);
          real t11351#1 = Sub<real>(fy134E,_t11C5);
          real t01350#1 = Sub<real>(fy134E,_t11C7);
          real4 a134F#1 = <real4>[t31353,fy134E,t11351,t01350];
          real4 hy1344#1 = EvalKernel<4,bspln3,0>(a134F);
          real fx1345#5 = Index<real2,0>(f131F);
          real t3134A#1 = Add<real>(fx1345,_t11C5);
          real t11348#1 = Sub<real>(fx1345,_t11C5);
          real t01347#1 = Sub<real>(fx1345,_t11C7);
          real4 a1346#1 = <real4>[t3134A,fx1345,t11348,t01347];
          real4 hx1343#4 = EvalKernel<4,bspln3,0>(a1346);
          real t01358#1 = Dot<4>(v01323,hx1343);
          real t11359#1 = Dot<4>(v11324,hx1343);
          real t2135A#1 = Dot<4>(v21325,hx1343);
          real t3135B#1 = Dot<4>(v31326,hx1343);
          real4 tv1357#1 = <real4>[t01358,t11359,t2135A,t3135B];
          real _t131D#1 = Dot<4>(hy1344,tv1357);
          real2 x139B#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v01113F);
          real2 nd139D#2 = Floor<2>(x139B);
          real2 f139C#2 = Sub<real2>(x139B,nd139D);
          int{2} n139E#8 = RealToInt<2>(nd139D);
          int t213BB#1 = Index<int{2},0>(n139E);
          int ix13B9#4 = Add<int>(t1133D,t213BB);
          int t213BE#4 = Index<int{2},1>(n139E);
          int iy13BC#1 = Add<int>(t1133D,t213BE);
          addr(IMAGE2D<int>) a13BF#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix13B9,iy13BC);
          real4 v013A0#1 = LoadVoxels<IMAGE2D<int>,4>(a13BF);
          int iy13B5#1 = Add<int>(_t11ED,t213BE);
          addr(IMAGE2D<int>) a13B8#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix13B9,iy13B5);
          real4 v113A1#1 = LoadVoxels<IMAGE2D<int>,4>(a13B8);
          int iy13AE#1 = Add<int>(_t11F1,t213BE);
          addr(IMAGE2D<int>) a13B1#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix13B9,iy13AE);
          real4 v213A2#1 = LoadVoxels<IMAGE2D<int>,4>(a13B1);
          int iy13A7#1 = Add<int>(_t11C9,t213BE);
          addr(IMAGE2D<int>) a13AA#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix13B9,iy13A7);
          real4 v313A3#1 = LoadVoxels<IMAGE2D<int>,4>(a13AA);
          real fy13CB#5 = Index<real2,1>(f139C);
          real t313D0#1 = Add<real>(fy13CB,_t11C5);
          real t113CE#1 = Sub<real>(fy13CB,_t11C5);
          real t013CD#1 = Sub<real>(fy13CB,_t11C7);
          real4 a13CC#1 = <real4>[t313D0,fy13CB,t113CE,t013CD];
          real4 hy13C1#1 = EvalKernel<4,bspln3,0>(a13CC);
          real fx13C2#5 = Index<real2,0>(f139C);
          real t313C7#1 = Add<real>(fx13C2,_t11C5);
          real t113C5#1 = Sub<real>(fx13C2,_t11C5);
          real t013C4#1 = Sub<real>(fx13C2,_t11C7);
          real4 a13C3#1 = <real4>[t313C7,fx13C2,t113C5,t013C4];
          real4 hx13C0#4 = EvalKernel<4,bspln3,0>(a13C3);
          real t013D5#1 = Dot<4>(v013A0,hx13C0);
          real t113D6#1 = Dot<4>(v113A1,hx13C0);
          real t213D7#1 = Dot<4>(v213A2,hx13C0);
          real t313D8#1 = Dot<4>(v313A3,hx13C0);
          real4 tv13D4#1 = <real4>[t013D5,t113D6,t213D7,t313D8];
          real _t139A#1 = Dot<4>(hy13C1,tv13D4);
          real _t1417#2 = Sub<real>(_t131D,_t139A);
          real _t1419#1 = Mul<real>(_t1417,_t1417);
          real score141B#1 = Add<real>(score1306,_t1419);
          goto JOIN141E
        JOIN141E:  preds = [ASSIGN141C,COND131C]
          real score141D#2 = phi(score141B,score1306)
          real _t141F#1 = Dot<2>(r011DF,v021145);
          real _t1421#1 = Dot<2>(r111E5,v021145);
          real2 _t1423#1 = <real2>[_t141F,_t1421];
          real2 pos1425#2 = Add<real2>(_t1423,_t11F5);
          real2 x1428#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1425);
          bool _t1427#1 = Inside<IMAGE2D<float>,2>(x1428,_t1133);
          if _t1427 then goto ASSIGN142E else goto ASSIGN383C
        ASSIGN142E:  preds = [COND142B]
          real2 x142D#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v021145);
          bool _t142C#1 = Inside<IMAGE2D<int>,2>(x142D,_t112F);
          goto JOIN1432
        JOIN1432:  preds = [ASSIGN142F,ASSIGN383C]
          bool _t1430#1 = phi(_t142C,_t1431)
          if _t1430 then goto ASSIGN3893 else goto JOIN1535
        ASSIGN3893:  preds = [COND1433]
          real2 nd1437#2 = Floor<2>(x1428);
          real2 f1436#2 = Sub<real2>(x1428,nd1437);
          int{2} n1438#8 = RealToInt<2>(nd1437);
          int t11454#4 = -1;
          int t21455#1 = Index<int{2},0>(n1438);
          int ix1453#4 = Add<int>(t11454,t21455);
          int t21458#4 = Index<int{2},1>(n1438);
          int iy1456#1 = Add<int>(t11454,t21458);
          addr(IMAGE2D<float>) a1459#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1453,iy1456);
          real4 v0143A#1 = LoadVoxels<IMAGE2D<float>,4>(a1459);
          int iy144F#1 = Add<int>(_t11ED,t21458);
          addr(IMAGE2D<float>) a1452#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1453,iy144F);
          real4 v1143B#1 = LoadVoxels<IMAGE2D<float>,4>(a1452);
          int iy1448#1 = Add<int>(_t11F1,t21458);
          addr(IMAGE2D<float>) a144B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1453,iy1448);
          real4 v2143C#1 = LoadVoxels<IMAGE2D<float>,4>(a144B);
          int iy1441#1 = Add<int>(_t11C9,t21458);
          addr(IMAGE2D<float>) a1444#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1453,iy1441);
          real4 v3143D#1 = LoadVoxels<IMAGE2D<float>,4>(a1444);
          real fy1465#5 = Index<real2,1>(f1436);
          real t3146A#1 = Add<real>(fy1465,_t11C5);
          real t11468#1 = Sub<real>(fy1465,_t11C5);
          real t01467#1 = Sub<real>(fy1465,_t11C7);
          real4 a1466#1 = <real4>[t3146A,fy1465,t11468,t01467];
          real4 hy145B#1 = EvalKernel<4,bspln3,0>(a1466);
          real fx145C#5 = Index<real2,0>(f1436);
          real t31461#1 = Add<real>(fx145C,_t11C5);
          real t1145F#1 = Sub<real>(fx145C,_t11C5);
          real t0145E#1 = Sub<real>(fx145C,_t11C7);
          real4 a145D#1 = <real4>[t31461,fx145C,t1145F,t0145E];
          real4 hx145A#4 = EvalKernel<4,bspln3,0>(a145D);
          real t0146F#1 = Dot<4>(v0143A,hx145A);
          real t11470#1 = Dot<4>(v1143B,hx145A);
          real t21471#1 = Dot<4>(v2143C,hx145A);
          real t31472#1 = Dot<4>(v3143D,hx145A);
          real4 tv146E#1 = <real4>[t0146F,t11470,t21471,t31472];
          real _t1434#1 = Dot<4>(hy145B,tv146E);
          real2 x14B2#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v021145);
          real2 nd14B4#2 = Floor<2>(x14B2);
          real2 f14B3#2 = Sub<real2>(x14B2,nd14B4);
          int{2} n14B5#8 = RealToInt<2>(nd14B4);
          int t214D2#1 = Index<int{2},0>(n14B5);
          int ix14D0#4 = Add<int>(t11454,t214D2);
          int t214D5#4 = Index<int{2},1>(n14B5);
          int iy14D3#1 = Add<int>(t11454,t214D5);
          addr(IMAGE2D<int>) a14D6#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix14D0,iy14D3);
          real4 v014B7#1 = LoadVoxels<IMAGE2D<int>,4>(a14D6);
          int iy14CC#1 = Add<int>(_t11ED,t214D5);
          addr(IMAGE2D<int>) a14CF#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix14D0,iy14CC);
          real4 v114B8#1 = LoadVoxels<IMAGE2D<int>,4>(a14CF);
          int iy14C5#1 = Add<int>(_t11F1,t214D5);
          addr(IMAGE2D<int>) a14C8#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix14D0,iy14C5);
          real4 v214B9#1 = LoadVoxels<IMAGE2D<int>,4>(a14C8);
          int iy14BE#1 = Add<int>(_t11C9,t214D5);
          addr(IMAGE2D<int>) a14C1#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix14D0,iy14BE);
          real4 v314BA#1 = LoadVoxels<IMAGE2D<int>,4>(a14C1);
          real fy14E2#5 = Index<real2,1>(f14B3);
          real t314E7#1 = Add<real>(fy14E2,_t11C5);
          real t114E5#1 = Sub<real>(fy14E2,_t11C5);
          real t014E4#1 = Sub<real>(fy14E2,_t11C7);
          real4 a14E3#1 = <real4>[t314E7,fy14E2,t114E5,t014E4];
          real4 hy14D8#1 = EvalKernel<4,bspln3,0>(a14E3);
          real fx14D9#5 = Index<real2,0>(f14B3);
          real t314DE#1 = Add<real>(fx14D9,_t11C5);
          real t114DC#1 = Sub<real>(fx14D9,_t11C5);
          real t014DB#1 = Sub<real>(fx14D9,_t11C7);
          real4 a14DA#1 = <real4>[t314DE,fx14D9,t114DC,t014DB];
          real4 hx14D7#4 = EvalKernel<4,bspln3,0>(a14DA);
          real t014EC#1 = Dot<4>(v014B7,hx14D7);
          real t114ED#1 = Dot<4>(v114B8,hx14D7);
          real t214EE#1 = Dot<4>(v214B9,hx14D7);
          real t314EF#1 = Dot<4>(v314BA,hx14D7);
          real4 tv14EB#1 = <real4>[t014EC,t114ED,t214EE,t314EF];
          real _t14B1#1 = Dot<4>(hy14D8,tv14EB);
          real _t152E#2 = Sub<real>(_t1434,_t14B1);
          real _t1530#1 = Mul<real>(_t152E,_t152E);
          real score1532#1 = Add<real>(score141D,_t1530);
          goto JOIN1535
        JOIN1535:  preds = [ASSIGN1533,COND1433]
          real score1534#2 = phi(score1532,score141D)
          real _t1536#1 = Dot<2>(r011DF,v031147);
          real _t1538#1 = Dot<2>(r111E5,v031147);
          real2 _t153A#1 = <real2>[_t1536,_t1538];
          real2 pos153C#2 = Add<real2>(_t153A,_t11F5);
          real2 x153F#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos153C);
          bool _t153E#1 = Inside<IMAGE2D<float>,2>(x153F,_t1133);
          if _t153E then goto ASSIGN1545 else goto ASSIGN383B
        ASSIGN1545:  preds = [COND1542]
          real2 x1544#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v031147);
          bool _t1543#1 = Inside<IMAGE2D<int>,2>(x1544,_t112F);
          goto JOIN1549
        JOIN1549:  preds = [ASSIGN1546,ASSIGN383B]
          bool _t1547#1 = phi(_t1543,_t1548)
          if _t1547 then goto ASSIGN38B4 else goto JOIN164C
        ASSIGN38B4:  preds = [COND154A]
          real2 nd154E#2 = Floor<2>(x153F);
          real2 f154D#2 = Sub<real2>(x153F,nd154E);
          int{2} n154F#8 = RealToInt<2>(nd154E);
          int t1156B#4 = -1;
          int t2156C#1 = Index<int{2},0>(n154F);
          int ix156A#4 = Add<int>(t1156B,t2156C);
          int t2156F#4 = Index<int{2},1>(n154F);
          int iy156D#1 = Add<int>(t1156B,t2156F);
          addr(IMAGE2D<float>) a1570#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix156A,iy156D);
          real4 v01551#1 = LoadVoxels<IMAGE2D<float>,4>(a1570);
          int iy1566#1 = Add<int>(_t11ED,t2156F);
          addr(IMAGE2D<float>) a1569#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix156A,iy1566);
          real4 v11552#1 = LoadVoxels<IMAGE2D<float>,4>(a1569);
          int iy155F#1 = Add<int>(_t11F1,t2156F);
          addr(IMAGE2D<float>) a1562#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix156A,iy155F);
          real4 v21553#1 = LoadVoxels<IMAGE2D<float>,4>(a1562);
          int iy1558#1 = Add<int>(_t11C9,t2156F);
          addr(IMAGE2D<float>) a155B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix156A,iy1558);
          real4 v31554#1 = LoadVoxels<IMAGE2D<float>,4>(a155B);
          real fy157C#5 = Index<real2,1>(f154D);
          real t31581#1 = Add<real>(fy157C,_t11C5);
          real t1157F#1 = Sub<real>(fy157C,_t11C5);
          real t0157E#1 = Sub<real>(fy157C,_t11C7);
          real4 a157D#1 = <real4>[t31581,fy157C,t1157F,t0157E];
          real4 hy1572#1 = EvalKernel<4,bspln3,0>(a157D);
          real fx1573#5 = Index<real2,0>(f154D);
          real t31578#1 = Add<real>(fx1573,_t11C5);
          real t11576#1 = Sub<real>(fx1573,_t11C5);
          real t01575#1 = Sub<real>(fx1573,_t11C7);
          real4 a1574#1 = <real4>[t31578,fx1573,t11576,t01575];
          real4 hx1571#4 = EvalKernel<4,bspln3,0>(a1574);
          real t01586#1 = Dot<4>(v01551,hx1571);
          real t11587#1 = Dot<4>(v11552,hx1571);
          real t21588#1 = Dot<4>(v21553,hx1571);
          real t31589#1 = Dot<4>(v31554,hx1571);
          real4 tv1585#1 = <real4>[t01586,t11587,t21588,t31589];
          real _t154B#1 = Dot<4>(hy1572,tv1585);
          real2 x15C9#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v031147);
          real2 nd15CB#2 = Floor<2>(x15C9);
          real2 f15CA#2 = Sub<real2>(x15C9,nd15CB);
          int{2} n15CC#8 = RealToInt<2>(nd15CB);
          int t215E9#1 = Index<int{2},0>(n15CC);
          int ix15E7#4 = Add<int>(t1156B,t215E9);
          int t215EC#4 = Index<int{2},1>(n15CC);
          int iy15EA#1 = Add<int>(t1156B,t215EC);
          addr(IMAGE2D<int>) a15ED#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix15E7,iy15EA);
          real4 v015CE#1 = LoadVoxels<IMAGE2D<int>,4>(a15ED);
          int iy15E3#1 = Add<int>(_t11ED,t215EC);
          addr(IMAGE2D<int>) a15E6#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix15E7,iy15E3);
          real4 v115CF#1 = LoadVoxels<IMAGE2D<int>,4>(a15E6);
          int iy15DC#1 = Add<int>(_t11F1,t215EC);
          addr(IMAGE2D<int>) a15DF#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix15E7,iy15DC);
          real4 v215D0#1 = LoadVoxels<IMAGE2D<int>,4>(a15DF);
          int iy15D5#1 = Add<int>(_t11C9,t215EC);
          addr(IMAGE2D<int>) a15D8#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix15E7,iy15D5);
          real4 v315D1#1 = LoadVoxels<IMAGE2D<int>,4>(a15D8);
          real fy15F9#5 = Index<real2,1>(f15CA);
          real t315FE#1 = Add<real>(fy15F9,_t11C5);
          real t115FC#1 = Sub<real>(fy15F9,_t11C5);
          real t015FB#1 = Sub<real>(fy15F9,_t11C7);
          real4 a15FA#1 = <real4>[t315FE,fy15F9,t115FC,t015FB];
          real4 hy15EF#1 = EvalKernel<4,bspln3,0>(a15FA);
          real fx15F0#5 = Index<real2,0>(f15CA);
          real t315F5#1 = Add<real>(fx15F0,_t11C5);
          real t115F3#1 = Sub<real>(fx15F0,_t11C5);
          real t015F2#1 = Sub<real>(fx15F0,_t11C7);
          real4 a15F1#1 = <real4>[t315F5,fx15F0,t115F3,t015F2];
          real4 hx15EE#4 = EvalKernel<4,bspln3,0>(a15F1);
          real t01603#1 = Dot<4>(v015CE,hx15EE);
          real t11604#1 = Dot<4>(v115CF,hx15EE);
          real t21605#1 = Dot<4>(v215D0,hx15EE);
          real t31606#1 = Dot<4>(v315D1,hx15EE);
          real4 tv1602#1 = <real4>[t01603,t11604,t21605,t31606];
          real _t15C8#1 = Dot<4>(hy15EF,tv1602);
          real _t1645#2 = Sub<real>(_t154B,_t15C8);
          real _t1647#1 = Mul<real>(_t1645,_t1645);
          real score1649#1 = Add<real>(score1534,_t1647);
          goto JOIN164C
        JOIN164C:  preds = [ASSIGN164A,COND154A]
          real score164B#2 = phi(score1649,score1534)
          real _t164D#1 = Dot<2>(r011DF,v041149);
          real _t164F#1 = Dot<2>(r111E5,v041149);
          real2 _t1651#1 = <real2>[_t164D,_t164F];
          real2 pos1653#2 = Add<real2>(_t1651,_t11F5);
          real2 x1656#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1653);
          bool _t1655#1 = Inside<IMAGE2D<float>,2>(x1656,_t1133);
          if _t1655 then goto ASSIGN165C else goto ASSIGN383A
        ASSIGN165C:  preds = [COND1659]
          real2 x165B#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v041149);
          bool _t165A#1 = Inside<IMAGE2D<int>,2>(x165B,_t112F);
          goto JOIN1660
        JOIN1660:  preds = [ASSIGN165D,ASSIGN383A]
          bool _t165E#1 = phi(_t165A,_t165F)
          if _t165E then goto ASSIGN38D5 else goto JOIN1763
        ASSIGN38D5:  preds = [COND1661]
          real2 nd1665#2 = Floor<2>(x1656);
          real2 f1664#2 = Sub<real2>(x1656,nd1665);
          int{2} n1666#8 = RealToInt<2>(nd1665);
          int t11682#4 = -1;
          int t21683#1 = Index<int{2},0>(n1666);
          int ix1681#4 = Add<int>(t11682,t21683);
          int t21686#4 = Index<int{2},1>(n1666);
          int iy1684#1 = Add<int>(t11682,t21686);
          addr(IMAGE2D<float>) a1687#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1681,iy1684);
          real4 v01668#1 = LoadVoxels<IMAGE2D<float>,4>(a1687);
          int iy167D#1 = Add<int>(_t11ED,t21686);
          addr(IMAGE2D<float>) a1680#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1681,iy167D);
          real4 v11669#1 = LoadVoxels<IMAGE2D<float>,4>(a1680);
          int iy1676#1 = Add<int>(_t11F1,t21686);
          addr(IMAGE2D<float>) a1679#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1681,iy1676);
          real4 v2166A#1 = LoadVoxels<IMAGE2D<float>,4>(a1679);
          int iy166F#1 = Add<int>(_t11C9,t21686);
          addr(IMAGE2D<float>) a1672#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1681,iy166F);
          real4 v3166B#1 = LoadVoxels<IMAGE2D<float>,4>(a1672);
          real fy1693#5 = Index<real2,1>(f1664);
          real t31698#1 = Add<real>(fy1693,_t11C5);
          real t11696#1 = Sub<real>(fy1693,_t11C5);
          real t01695#1 = Sub<real>(fy1693,_t11C7);
          real4 a1694#1 = <real4>[t31698,fy1693,t11696,t01695];
          real4 hy1689#1 = EvalKernel<4,bspln3,0>(a1694);
          real fx168A#5 = Index<real2,0>(f1664);
          real t3168F#1 = Add<real>(fx168A,_t11C5);
          real t1168D#1 = Sub<real>(fx168A,_t11C5);
          real t0168C#1 = Sub<real>(fx168A,_t11C7);
          real4 a168B#1 = <real4>[t3168F,fx168A,t1168D,t0168C];
          real4 hx1688#4 = EvalKernel<4,bspln3,0>(a168B);
          real t0169D#1 = Dot<4>(v01668,hx1688);
          real t1169E#1 = Dot<4>(v11669,hx1688);
          real t2169F#1 = Dot<4>(v2166A,hx1688);
          real t316A0#1 = Dot<4>(v3166B,hx1688);
          real4 tv169C#1 = <real4>[t0169D,t1169E,t2169F,t316A0];
          real _t1662#1 = Dot<4>(hy1689,tv169C);
          real2 x16E0#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v041149);
          real2 nd16E2#2 = Floor<2>(x16E0);
          real2 f16E1#2 = Sub<real2>(x16E0,nd16E2);
          int{2} n16E3#8 = RealToInt<2>(nd16E2);
          int t21700#1 = Index<int{2},0>(n16E3);
          int ix16FE#4 = Add<int>(t11682,t21700);
          int t21703#4 = Index<int{2},1>(n16E3);
          int iy1701#1 = Add<int>(t11682,t21703);
          addr(IMAGE2D<int>) a1704#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix16FE,iy1701);
          real4 v016E5#1 = LoadVoxels<IMAGE2D<int>,4>(a1704);
          int iy16FA#1 = Add<int>(_t11ED,t21703);
          addr(IMAGE2D<int>) a16FD#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix16FE,iy16FA);
          real4 v116E6#1 = LoadVoxels<IMAGE2D<int>,4>(a16FD);
          int iy16F3#1 = Add<int>(_t11F1,t21703);
          addr(IMAGE2D<int>) a16F6#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix16FE,iy16F3);
          real4 v216E7#1 = LoadVoxels<IMAGE2D<int>,4>(a16F6);
          int iy16EC#1 = Add<int>(_t11C9,t21703);
          addr(IMAGE2D<int>) a16EF#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix16FE,iy16EC);
          real4 v316E8#1 = LoadVoxels<IMAGE2D<int>,4>(a16EF);
          real fy1710#5 = Index<real2,1>(f16E1);
          real t31715#1 = Add<real>(fy1710,_t11C5);
          real t11713#1 = Sub<real>(fy1710,_t11C5);
          real t01712#1 = Sub<real>(fy1710,_t11C7);
          real4 a1711#1 = <real4>[t31715,fy1710,t11713,t01712];
          real4 hy1706#1 = EvalKernel<4,bspln3,0>(a1711);
          real fx1707#5 = Index<real2,0>(f16E1);
          real t3170C#1 = Add<real>(fx1707,_t11C5);
          real t1170A#1 = Sub<real>(fx1707,_t11C5);
          real t01709#1 = Sub<real>(fx1707,_t11C7);
          real4 a1708#1 = <real4>[t3170C,fx1707,t1170A,t01709];
          real4 hx1705#4 = EvalKernel<4,bspln3,0>(a1708);
          real t0171A#1 = Dot<4>(v016E5,hx1705);
          real t1171B#1 = Dot<4>(v116E6,hx1705);
          real t2171C#1 = Dot<4>(v216E7,hx1705);
          real t3171D#1 = Dot<4>(v316E8,hx1705);
          real4 tv1719#1 = <real4>[t0171A,t1171B,t2171C,t3171D];
          real _t16DF#1 = Dot<4>(hy1706,tv1719);
          real _t175C#2 = Sub<real>(_t1662,_t16DF);
          real _t175E#1 = Mul<real>(_t175C,_t175C);
          real score1760#1 = Add<real>(score164B,_t175E);
          goto JOIN1763
        JOIN1763:  preds = [ASSIGN1761,COND1661]
          real score1762#2 = phi(score1760,score164B)
          real _t1764#1 = Dot<2>(r011DF,v05114B);
          real _t1766#1 = Dot<2>(r111E5,v05114B);
          real2 _t1768#1 = <real2>[_t1764,_t1766];
          real2 pos176A#2 = Add<real2>(_t1768,_t11F5);
          real2 x176D#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos176A);
          bool _t176C#1 = Inside<IMAGE2D<float>,2>(x176D,_t1133);
          if _t176C then goto ASSIGN1773 else goto ASSIGN3839
        ASSIGN1773:  preds = [COND1770]
          real2 x1772#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v05114B);
          bool _t1771#1 = Inside<IMAGE2D<int>,2>(x1772,_t112F);
          goto JOIN1777
        JOIN1777:  preds = [ASSIGN1774,ASSIGN3839]
          bool _t1775#1 = phi(_t1771,_t1776)
          if _t1775 then goto ASSIGN38F6 else goto JOIN187A
        ASSIGN38F6:  preds = [COND1778]
          real2 nd177C#2 = Floor<2>(x176D);
          real2 f177B#2 = Sub<real2>(x176D,nd177C);
          int{2} n177D#8 = RealToInt<2>(nd177C);
          int t11799#4 = -1;
          int t2179A#1 = Index<int{2},0>(n177D);
          int ix1798#4 = Add<int>(t11799,t2179A);
          int t2179D#4 = Index<int{2},1>(n177D);
          int iy179B#1 = Add<int>(t11799,t2179D);
          addr(IMAGE2D<float>) a179E#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1798,iy179B);
          real4 v0177F#1 = LoadVoxels<IMAGE2D<float>,4>(a179E);
          int iy1794#1 = Add<int>(_t11ED,t2179D);
          addr(IMAGE2D<float>) a1797#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1798,iy1794);
          real4 v11780#1 = LoadVoxels<IMAGE2D<float>,4>(a1797);
          int iy178D#1 = Add<int>(_t11F1,t2179D);
          addr(IMAGE2D<float>) a1790#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1798,iy178D);
          real4 v21781#1 = LoadVoxels<IMAGE2D<float>,4>(a1790);
          int iy1786#1 = Add<int>(_t11C9,t2179D);
          addr(IMAGE2D<float>) a1789#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1798,iy1786);
          real4 v31782#1 = LoadVoxels<IMAGE2D<float>,4>(a1789);
          real fy17AA#5 = Index<real2,1>(f177B);
          real t317AF#1 = Add<real>(fy17AA,_t11C5);
          real t117AD#1 = Sub<real>(fy17AA,_t11C5);
          real t017AC#1 = Sub<real>(fy17AA,_t11C7);
          real4 a17AB#1 = <real4>[t317AF,fy17AA,t117AD,t017AC];
          real4 hy17A0#1 = EvalKernel<4,bspln3,0>(a17AB);
          real fx17A1#5 = Index<real2,0>(f177B);
          real t317A6#1 = Add<real>(fx17A1,_t11C5);
          real t117A4#1 = Sub<real>(fx17A1,_t11C5);
          real t017A3#1 = Sub<real>(fx17A1,_t11C7);
          real4 a17A2#1 = <real4>[t317A6,fx17A1,t117A4,t017A3];
          real4 hx179F#4 = EvalKernel<4,bspln3,0>(a17A2);
          real t017B4#1 = Dot<4>(v0177F,hx179F);
          real t117B5#1 = Dot<4>(v11780,hx179F);
          real t217B6#1 = Dot<4>(v21781,hx179F);
          real t317B7#1 = Dot<4>(v31782,hx179F);
          real4 tv17B3#1 = <real4>[t017B4,t117B5,t217B6,t317B7];
          real _t1779#1 = Dot<4>(hy17A0,tv17B3);
          real2 x17F7#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v05114B);
          real2 nd17F9#2 = Floor<2>(x17F7);
          real2 f17F8#2 = Sub<real2>(x17F7,nd17F9);
          int{2} n17FA#8 = RealToInt<2>(nd17F9);
          int t21817#1 = Index<int{2},0>(n17FA);
          int ix1815#4 = Add<int>(t11799,t21817);
          int t2181A#4 = Index<int{2},1>(n17FA);
          int iy1818#1 = Add<int>(t11799,t2181A);
          addr(IMAGE2D<int>) a181B#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1815,iy1818);
          real4 v017FC#1 = LoadVoxels<IMAGE2D<int>,4>(a181B);
          int iy1811#1 = Add<int>(_t11ED,t2181A);
          addr(IMAGE2D<int>) a1814#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1815,iy1811);
          real4 v117FD#1 = LoadVoxels<IMAGE2D<int>,4>(a1814);
          int iy180A#1 = Add<int>(_t11F1,t2181A);
          addr(IMAGE2D<int>) a180D#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1815,iy180A);
          real4 v217FE#1 = LoadVoxels<IMAGE2D<int>,4>(a180D);
          int iy1803#1 = Add<int>(_t11C9,t2181A);
          addr(IMAGE2D<int>) a1806#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1815,iy1803);
          real4 v317FF#1 = LoadVoxels<IMAGE2D<int>,4>(a1806);
          real fy1827#5 = Index<real2,1>(f17F8);
          real t3182C#1 = Add<real>(fy1827,_t11C5);
          real t1182A#1 = Sub<real>(fy1827,_t11C5);
          real t01829#1 = Sub<real>(fy1827,_t11C7);
          real4 a1828#1 = <real4>[t3182C,fy1827,t1182A,t01829];
          real4 hy181D#1 = EvalKernel<4,bspln3,0>(a1828);
          real fx181E#5 = Index<real2,0>(f17F8);
          real t31823#1 = Add<real>(fx181E,_t11C5);
          real t11821#1 = Sub<real>(fx181E,_t11C5);
          real t01820#1 = Sub<real>(fx181E,_t11C7);
          real4 a181F#1 = <real4>[t31823,fx181E,t11821,t01820];
          real4 hx181C#4 = EvalKernel<4,bspln3,0>(a181F);
          real t01831#1 = Dot<4>(v017FC,hx181C);
          real t11832#1 = Dot<4>(v117FD,hx181C);
          real t21833#1 = Dot<4>(v217FE,hx181C);
          real t31834#1 = Dot<4>(v317FF,hx181C);
          real4 tv1830#1 = <real4>[t01831,t11832,t21833,t31834];
          real _t17F6#1 = Dot<4>(hy181D,tv1830);
          real _t1873#2 = Sub<real>(_t1779,_t17F6);
          real _t1875#1 = Mul<real>(_t1873,_t1873);
          real score1877#1 = Add<real>(score1762,_t1875);
          goto JOIN187A
        JOIN187A:  preds = [ASSIGN1878,COND1778]
          real score1879#2 = phi(score1877,score1762)
          real _t187B#1 = Dot<2>(r011DF,v06114D);
          real _t187D#1 = Dot<2>(r111E5,v06114D);
          real2 _t187F#1 = <real2>[_t187B,_t187D];
          real2 pos1881#2 = Add<real2>(_t187F,_t11F5);
          real2 x1884#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1881);
          bool _t1883#1 = Inside<IMAGE2D<float>,2>(x1884,_t1133);
          if _t1883 then goto ASSIGN188A else goto ASSIGN3838
        ASSIGN188A:  preds = [COND1887]
          real2 x1889#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v06114D);
          bool _t1888#1 = Inside<IMAGE2D<int>,2>(x1889,_t112F);
          goto JOIN188E
        JOIN188E:  preds = [ASSIGN188B,ASSIGN3838]
          bool _t188C#1 = phi(_t1888,_t188D)
          if _t188C then goto ASSIGN3917 else goto JOIN1991
        ASSIGN3917:  preds = [COND188F]
          real2 nd1893#2 = Floor<2>(x1884);
          real2 f1892#2 = Sub<real2>(x1884,nd1893);
          int{2} n1894#8 = RealToInt<2>(nd1893);
          int t118B0#4 = -1;
          int t218B1#1 = Index<int{2},0>(n1894);
          int ix18AF#4 = Add<int>(t118B0,t218B1);
          int t218B4#4 = Index<int{2},1>(n1894);
          int iy18B2#1 = Add<int>(t118B0,t218B4);
          addr(IMAGE2D<float>) a18B5#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix18AF,iy18B2);
          real4 v01896#1 = LoadVoxels<IMAGE2D<float>,4>(a18B5);
          int iy18AB#1 = Add<int>(_t11ED,t218B4);
          addr(IMAGE2D<float>) a18AE#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix18AF,iy18AB);
          real4 v11897#1 = LoadVoxels<IMAGE2D<float>,4>(a18AE);
          int iy18A4#1 = Add<int>(_t11F1,t218B4);
          addr(IMAGE2D<float>) a18A7#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix18AF,iy18A4);
          real4 v21898#1 = LoadVoxels<IMAGE2D<float>,4>(a18A7);
          int iy189D#1 = Add<int>(_t11C9,t218B4);
          addr(IMAGE2D<float>) a18A0#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix18AF,iy189D);
          real4 v31899#1 = LoadVoxels<IMAGE2D<float>,4>(a18A0);
          real fy18C1#5 = Index<real2,1>(f1892);
          real t318C6#1 = Add<real>(fy18C1,_t11C5);
          real t118C4#1 = Sub<real>(fy18C1,_t11C5);
          real t018C3#1 = Sub<real>(fy18C1,_t11C7);
          real4 a18C2#1 = <real4>[t318C6,fy18C1,t118C4,t018C3];
          real4 hy18B7#1 = EvalKernel<4,bspln3,0>(a18C2);
          real fx18B8#5 = Index<real2,0>(f1892);
          real t318BD#1 = Add<real>(fx18B8,_t11C5);
          real t118BB#1 = Sub<real>(fx18B8,_t11C5);
          real t018BA#1 = Sub<real>(fx18B8,_t11C7);
          real4 a18B9#1 = <real4>[t318BD,fx18B8,t118BB,t018BA];
          real4 hx18B6#4 = EvalKernel<4,bspln3,0>(a18B9);
          real t018CB#1 = Dot<4>(v01896,hx18B6);
          real t118CC#1 = Dot<4>(v11897,hx18B6);
          real t218CD#1 = Dot<4>(v21898,hx18B6);
          real t318CE#1 = Dot<4>(v31899,hx18B6);
          real4 tv18CA#1 = <real4>[t018CB,t118CC,t218CD,t318CE];
          real _t1890#1 = Dot<4>(hy18B7,tv18CA);
          real2 x190E#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v06114D);
          real2 nd1910#2 = Floor<2>(x190E);
          real2 f190F#2 = Sub<real2>(x190E,nd1910);
          int{2} n1911#8 = RealToInt<2>(nd1910);
          int t2192E#1 = Index<int{2},0>(n1911);
          int ix192C#4 = Add<int>(t118B0,t2192E);
          int t21931#4 = Index<int{2},1>(n1911);
          int iy192F#1 = Add<int>(t118B0,t21931);
          addr(IMAGE2D<int>) a1932#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix192C,iy192F);
          real4 v01913#1 = LoadVoxels<IMAGE2D<int>,4>(a1932);
          int iy1928#1 = Add<int>(_t11ED,t21931);
          addr(IMAGE2D<int>) a192B#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix192C,iy1928);
          real4 v11914#1 = LoadVoxels<IMAGE2D<int>,4>(a192B);
          int iy1921#1 = Add<int>(_t11F1,t21931);
          addr(IMAGE2D<int>) a1924#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix192C,iy1921);
          real4 v21915#1 = LoadVoxels<IMAGE2D<int>,4>(a1924);
          int iy191A#1 = Add<int>(_t11C9,t21931);
          addr(IMAGE2D<int>) a191D#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix192C,iy191A);
          real4 v31916#1 = LoadVoxels<IMAGE2D<int>,4>(a191D);
          real fy193E#5 = Index<real2,1>(f190F);
          real t31943#1 = Add<real>(fy193E,_t11C5);
          real t11941#1 = Sub<real>(fy193E,_t11C5);
          real t01940#1 = Sub<real>(fy193E,_t11C7);
          real4 a193F#1 = <real4>[t31943,fy193E,t11941,t01940];
          real4 hy1934#1 = EvalKernel<4,bspln3,0>(a193F);
          real fx1935#5 = Index<real2,0>(f190F);
          real t3193A#1 = Add<real>(fx1935,_t11C5);
          real t11938#1 = Sub<real>(fx1935,_t11C5);
          real t01937#1 = Sub<real>(fx1935,_t11C7);
          real4 a1936#1 = <real4>[t3193A,fx1935,t11938,t01937];
          real4 hx1933#4 = EvalKernel<4,bspln3,0>(a1936);
          real t01948#1 = Dot<4>(v01913,hx1933);
          real t11949#1 = Dot<4>(v11914,hx1933);
          real t2194A#1 = Dot<4>(v21915,hx1933);
          real t3194B#1 = Dot<4>(v31916,hx1933);
          real4 tv1947#1 = <real4>[t01948,t11949,t2194A,t3194B];
          real _t190D#1 = Dot<4>(hy1934,tv1947);
          real _t198A#2 = Sub<real>(_t1890,_t190D);
          real _t198C#1 = Mul<real>(_t198A,_t198A);
          real score198E#1 = Add<real>(score1879,_t198C);
          goto JOIN1991
        JOIN1991:  preds = [ASSIGN198F,COND188F]
          real score1990#2 = phi(score198E,score1879)
          real _t1992#1 = Dot<2>(r011DF,v07114F);
          real _t1994#1 = Dot<2>(r111E5,v07114F);
          real2 _t1996#1 = <real2>[_t1992,_t1994];
          real2 pos1998#2 = Add<real2>(_t1996,_t11F5);
          real2 x199B#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1998);
          bool _t199A#1 = Inside<IMAGE2D<float>,2>(x199B,_t1133);
          if _t199A then goto ASSIGN19A1 else goto ASSIGN3837
        ASSIGN19A1:  preds = [COND199E]
          real2 x19A0#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v07114F);
          bool _t199F#1 = Inside<IMAGE2D<int>,2>(x19A0,_t112F);
          goto JOIN19A5
        JOIN19A5:  preds = [ASSIGN19A2,ASSIGN3837]
          bool _t19A3#1 = phi(_t199F,_t19A4)
          if _t19A3 then goto ASSIGN3938 else goto JOIN1AA8
        ASSIGN3938:  preds = [COND19A6]
          real2 nd19AA#2 = Floor<2>(x199B);
          real2 f19A9#2 = Sub<real2>(x199B,nd19AA);
          int{2} n19AB#8 = RealToInt<2>(nd19AA);
          int t119C7#4 = -1;
          int t219C8#1 = Index<int{2},0>(n19AB);
          int ix19C6#4 = Add<int>(t119C7,t219C8);
          int t219CB#4 = Index<int{2},1>(n19AB);
          int iy19C9#1 = Add<int>(t119C7,t219CB);
          addr(IMAGE2D<float>) a19CC#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix19C6,iy19C9);
          real4 v019AD#1 = LoadVoxels<IMAGE2D<float>,4>(a19CC);
          int iy19C2#1 = Add<int>(_t11ED,t219CB);
          addr(IMAGE2D<float>) a19C5#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix19C6,iy19C2);
          real4 v119AE#1 = LoadVoxels<IMAGE2D<float>,4>(a19C5);
          int iy19BB#1 = Add<int>(_t11F1,t219CB);
          addr(IMAGE2D<float>) a19BE#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix19C6,iy19BB);
          real4 v219AF#1 = LoadVoxels<IMAGE2D<float>,4>(a19BE);
          int iy19B4#1 = Add<int>(_t11C9,t219CB);
          addr(IMAGE2D<float>) a19B7#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix19C6,iy19B4);
          real4 v319B0#1 = LoadVoxels<IMAGE2D<float>,4>(a19B7);
          real fy19D8#5 = Index<real2,1>(f19A9);
          real t319DD#1 = Add<real>(fy19D8,_t11C5);
          real t119DB#1 = Sub<real>(fy19D8,_t11C5);
          real t019DA#1 = Sub<real>(fy19D8,_t11C7);
          real4 a19D9#1 = <real4>[t319DD,fy19D8,t119DB,t019DA];
          real4 hy19CE#1 = EvalKernel<4,bspln3,0>(a19D9);
          real fx19CF#5 = Index<real2,0>(f19A9);
          real t319D4#1 = Add<real>(fx19CF,_t11C5);
          real t119D2#1 = Sub<real>(fx19CF,_t11C5);
          real t019D1#1 = Sub<real>(fx19CF,_t11C7);
          real4 a19D0#1 = <real4>[t319D4,fx19CF,t119D2,t019D1];
          real4 hx19CD#4 = EvalKernel<4,bspln3,0>(a19D0);
          real t019E2#1 = Dot<4>(v019AD,hx19CD);
          real t119E3#1 = Dot<4>(v119AE,hx19CD);
          real t219E4#1 = Dot<4>(v219AF,hx19CD);
          real t319E5#1 = Dot<4>(v319B0,hx19CD);
          real4 tv19E1#1 = <real4>[t019E2,t119E3,t219E4,t319E5];
          real _t19A7#1 = Dot<4>(hy19CE,tv19E1);
          real2 x1A25#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v07114F);
          real2 nd1A27#2 = Floor<2>(x1A25);
          real2 f1A26#2 = Sub<real2>(x1A25,nd1A27);
          int{2} n1A28#8 = RealToInt<2>(nd1A27);
          int t21A45#1 = Index<int{2},0>(n1A28);
          int ix1A43#4 = Add<int>(t119C7,t21A45);
          int t21A48#4 = Index<int{2},1>(n1A28);
          int iy1A46#1 = Add<int>(t119C7,t21A48);
          addr(IMAGE2D<int>) a1A49#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1A43,iy1A46);
          real4 v01A2A#1 = LoadVoxels<IMAGE2D<int>,4>(a1A49);
          int iy1A3F#1 = Add<int>(_t11ED,t21A48);
          addr(IMAGE2D<int>) a1A42#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1A43,iy1A3F);
          real4 v11A2B#1 = LoadVoxels<IMAGE2D<int>,4>(a1A42);
          int iy1A38#1 = Add<int>(_t11F1,t21A48);
          addr(IMAGE2D<int>) a1A3B#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1A43,iy1A38);
          real4 v21A2C#1 = LoadVoxels<IMAGE2D<int>,4>(a1A3B);
          int iy1A31#1 = Add<int>(_t11C9,t21A48);
          addr(IMAGE2D<int>) a1A34#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1A43,iy1A31);
          real4 v31A2D#1 = LoadVoxels<IMAGE2D<int>,4>(a1A34);
          real fy1A55#5 = Index<real2,1>(f1A26);
          real t31A5A#1 = Add<real>(fy1A55,_t11C5);
          real t11A58#1 = Sub<real>(fy1A55,_t11C5);
          real t01A57#1 = Sub<real>(fy1A55,_t11C7);
          real4 a1A56#1 = <real4>[t31A5A,fy1A55,t11A58,t01A57];
          real4 hy1A4B#1 = EvalKernel<4,bspln3,0>(a1A56);
          real fx1A4C#5 = Index<real2,0>(f1A26);
          real t31A51#1 = Add<real>(fx1A4C,_t11C5);
          real t11A4F#1 = Sub<real>(fx1A4C,_t11C5);
          real t01A4E#1 = Sub<real>(fx1A4C,_t11C7);
          real4 a1A4D#1 = <real4>[t31A51,fx1A4C,t11A4F,t01A4E];
          real4 hx1A4A#4 = EvalKernel<4,bspln3,0>(a1A4D);
          real t01A5F#1 = Dot<4>(v01A2A,hx1A4A);
          real t11A60#1 = Dot<4>(v11A2B,hx1A4A);
          real t21A61#1 = Dot<4>(v21A2C,hx1A4A);
          real t31A62#1 = Dot<4>(v31A2D,hx1A4A);
          real4 tv1A5E#1 = <real4>[t01A5F,t11A60,t21A61,t31A62];
          real _t1A24#1 = Dot<4>(hy1A4B,tv1A5E);
          real _t1AA1#2 = Sub<real>(_t19A7,_t1A24);
          real _t1AA3#1 = Mul<real>(_t1AA1,_t1AA1);
          real score1AA5#1 = Add<real>(score1990,_t1AA3);
          goto JOIN1AA8
        JOIN1AA8:  preds = [ASSIGN1AA6,COND19A6]
          real score1AA7#2 = phi(score1AA5,score1990)
          real _t1AA9#1 = Dot<2>(r011DF,v081151);
          real _t1AAB#1 = Dot<2>(r111E5,v081151);
          real2 _t1AAD#1 = <real2>[_t1AA9,_t1AAB];
          real2 pos1AAF#2 = Add<real2>(_t1AAD,_t11F5);
          real2 x1AB2#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1AAF);
          bool _t1AB1#1 = Inside<IMAGE2D<float>,2>(x1AB2,_t1133);
          if _t1AB1 then goto ASSIGN1AB8 else goto ASSIGN3836
        ASSIGN1AB8:  preds = [COND1AB5]
          real2 x1AB7#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v081151);
          bool _t1AB6#1 = Inside<IMAGE2D<int>,2>(x1AB7,_t112F);
          goto JOIN1ABC
        JOIN1ABC:  preds = [ASSIGN1AB9,ASSIGN3836]
          bool _t1ABA#1 = phi(_t1AB6,_t1ABB)
          if _t1ABA then goto ASSIGN3959 else goto JOIN1BBF
        ASSIGN3959:  preds = [COND1ABD]
          real2 nd1AC1#2 = Floor<2>(x1AB2);
          real2 f1AC0#2 = Sub<real2>(x1AB2,nd1AC1);
          int{2} n1AC2#8 = RealToInt<2>(nd1AC1);
          int t11ADE#4 = -1;
          int t21ADF#1 = Index<int{2},0>(n1AC2);
          int ix1ADD#4 = Add<int>(t11ADE,t21ADF);
          int t21AE2#4 = Index<int{2},1>(n1AC2);
          int iy1AE0#1 = Add<int>(t11ADE,t21AE2);
          addr(IMAGE2D<float>) a1AE3#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1ADD,iy1AE0);
          real4 v01AC4#1 = LoadVoxels<IMAGE2D<float>,4>(a1AE3);
          int iy1AD9#1 = Add<int>(_t11ED,t21AE2);
          addr(IMAGE2D<float>) a1ADC#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1ADD,iy1AD9);
          real4 v11AC5#1 = LoadVoxels<IMAGE2D<float>,4>(a1ADC);
          int iy1AD2#1 = Add<int>(_t11F1,t21AE2);
          addr(IMAGE2D<float>) a1AD5#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1ADD,iy1AD2);
          real4 v21AC6#1 = LoadVoxels<IMAGE2D<float>,4>(a1AD5);
          int iy1ACB#1 = Add<int>(_t11C9,t21AE2);
          addr(IMAGE2D<float>) a1ACE#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1ADD,iy1ACB);
          real4 v31AC7#1 = LoadVoxels<IMAGE2D<float>,4>(a1ACE);
          real fy1AEF#5 = Index<real2,1>(f1AC0);
          real t31AF4#1 = Add<real>(fy1AEF,_t11C5);
          real t11AF2#1 = Sub<real>(fy1AEF,_t11C5);
          real t01AF1#1 = Sub<real>(fy1AEF,_t11C7);
          real4 a1AF0#1 = <real4>[t31AF4,fy1AEF,t11AF2,t01AF1];
          real4 hy1AE5#1 = EvalKernel<4,bspln3,0>(a1AF0);
          real fx1AE6#5 = Index<real2,0>(f1AC0);
          real t31AEB#1 = Add<real>(fx1AE6,_t11C5);
          real t11AE9#1 = Sub<real>(fx1AE6,_t11C5);
          real t01AE8#1 = Sub<real>(fx1AE6,_t11C7);
          real4 a1AE7#1 = <real4>[t31AEB,fx1AE6,t11AE9,t01AE8];
          real4 hx1AE4#4 = EvalKernel<4,bspln3,0>(a1AE7);
          real t01AF9#1 = Dot<4>(v01AC4,hx1AE4);
          real t11AFA#1 = Dot<4>(v11AC5,hx1AE4);
          real t21AFB#1 = Dot<4>(v21AC6,hx1AE4);
          real t31AFC#1 = Dot<4>(v31AC7,hx1AE4);
          real4 tv1AF8#1 = <real4>[t01AF9,t11AFA,t21AFB,t31AFC];
          real _t1ABE#1 = Dot<4>(hy1AE5,tv1AF8);
          real2 x1B3C#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v081151);
          real2 nd1B3E#2 = Floor<2>(x1B3C);
          real2 f1B3D#2 = Sub<real2>(x1B3C,nd1B3E);
          int{2} n1B3F#8 = RealToInt<2>(nd1B3E);
          int t21B5C#1 = Index<int{2},0>(n1B3F);
          int ix1B5A#4 = Add<int>(t11ADE,t21B5C);
          int t21B5F#4 = Index<int{2},1>(n1B3F);
          int iy1B5D#1 = Add<int>(t11ADE,t21B5F);
          addr(IMAGE2D<int>) a1B60#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1B5A,iy1B5D);
          real4 v01B41#1 = LoadVoxels<IMAGE2D<int>,4>(a1B60);
          int iy1B56#1 = Add<int>(_t11ED,t21B5F);
          addr(IMAGE2D<int>) a1B59#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1B5A,iy1B56);
          real4 v11B42#1 = LoadVoxels<IMAGE2D<int>,4>(a1B59);
          int iy1B4F#1 = Add<int>(_t11F1,t21B5F);
          addr(IMAGE2D<int>) a1B52#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1B5A,iy1B4F);
          real4 v21B43#1 = LoadVoxels<IMAGE2D<int>,4>(a1B52);
          int iy1B48#1 = Add<int>(_t11C9,t21B5F);
          addr(IMAGE2D<int>) a1B4B#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1B5A,iy1B48);
          real4 v31B44#1 = LoadVoxels<IMAGE2D<int>,4>(a1B4B);
          real fy1B6C#5 = Index<real2,1>(f1B3D);
          real t31B71#1 = Add<real>(fy1B6C,_t11C5);
          real t11B6F#1 = Sub<real>(fy1B6C,_t11C5);
          real t01B6E#1 = Sub<real>(fy1B6C,_t11C7);
          real4 a1B6D#1 = <real4>[t31B71,fy1B6C,t11B6F,t01B6E];
          real4 hy1B62#1 = EvalKernel<4,bspln3,0>(a1B6D);
          real fx1B63#5 = Index<real2,0>(f1B3D);
          real t31B68#1 = Add<real>(fx1B63,_t11C5);
          real t11B66#1 = Sub<real>(fx1B63,_t11C5);
          real t01B65#1 = Sub<real>(fx1B63,_t11C7);
          real4 a1B64#1 = <real4>[t31B68,fx1B63,t11B66,t01B65];
          real4 hx1B61#4 = EvalKernel<4,bspln3,0>(a1B64);
          real t01B76#1 = Dot<4>(v01B41,hx1B61);
          real t11B77#1 = Dot<4>(v11B42,hx1B61);
          real t21B78#1 = Dot<4>(v21B43,hx1B61);
          real t31B79#1 = Dot<4>(v31B44,hx1B61);
          real4 tv1B75#1 = <real4>[t01B76,t11B77,t21B78,t31B79];
          real _t1B3B#1 = Dot<4>(hy1B62,tv1B75);
          real _t1BB8#2 = Sub<real>(_t1ABE,_t1B3B);
          real _t1BBA#1 = Mul<real>(_t1BB8,_t1BB8);
          real score1BBC#1 = Add<real>(score1AA7,_t1BBA);
          goto JOIN1BBF
        JOIN1BBF:  preds = [ASSIGN1BBD,COND1ABD]
          real score1BBE#2 = phi(score1BBC,score1AA7)
          real _t1BC0#1 = Dot<2>(r011DF,v091153);
          real _t1BC2#1 = Dot<2>(r111E5,v091153);
          real2 _t1BC4#1 = <real2>[_t1BC0,_t1BC2];
          real2 pos1BC6#2 = Add<real2>(_t1BC4,_t11F5);
          real2 x1BC9#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1BC6);
          bool _t1BC8#1 = Inside<IMAGE2D<float>,2>(x1BC9,_t1133);
          if _t1BC8 then goto ASSIGN1BCF else goto ASSIGN3835
        ASSIGN1BCF:  preds = [COND1BCC]
          real2 x1BCE#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v091153);
          bool _t1BCD#1 = Inside<IMAGE2D<int>,2>(x1BCE,_t112F);
          goto JOIN1BD3
        JOIN1BD3:  preds = [ASSIGN1BD0,ASSIGN3835]
          bool _t1BD1#1 = phi(_t1BCD,_t1BD2)
          if _t1BD1 then goto ASSIGN397A else goto JOIN1CD6
        ASSIGN397A:  preds = [COND1BD4]
          real2 nd1BD8#2 = Floor<2>(x1BC9);
          real2 f1BD7#2 = Sub<real2>(x1BC9,nd1BD8);
          int{2} n1BD9#8 = RealToInt<2>(nd1BD8);
          int t11BF5#4 = -1;
          int t21BF6#1 = Index<int{2},0>(n1BD9);
          int ix1BF4#4 = Add<int>(t11BF5,t21BF6);
          int t21BF9#4 = Index<int{2},1>(n1BD9);
          int iy1BF7#1 = Add<int>(t11BF5,t21BF9);
          addr(IMAGE2D<float>) a1BFA#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1BF4,iy1BF7);
          real4 v01BDB#1 = LoadVoxels<IMAGE2D<float>,4>(a1BFA);
          int iy1BF0#1 = Add<int>(_t11ED,t21BF9);
          addr(IMAGE2D<float>) a1BF3#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1BF4,iy1BF0);
          real4 v11BDC#1 = LoadVoxels<IMAGE2D<float>,4>(a1BF3);
          int iy1BE9#1 = Add<int>(_t11F1,t21BF9);
          addr(IMAGE2D<float>) a1BEC#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1BF4,iy1BE9);
          real4 v21BDD#1 = LoadVoxels<IMAGE2D<float>,4>(a1BEC);
          int iy1BE2#1 = Add<int>(_t11C9,t21BF9);
          addr(IMAGE2D<float>) a1BE5#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1BF4,iy1BE2);
          real4 v31BDE#1 = LoadVoxels<IMAGE2D<float>,4>(a1BE5);
          real fy1C06#5 = Index<real2,1>(f1BD7);
          real t31C0B#1 = Add<real>(fy1C06,_t11C5);
          real t11C09#1 = Sub<real>(fy1C06,_t11C5);
          real t01C08#1 = Sub<real>(fy1C06,_t11C7);
          real4 a1C07#1 = <real4>[t31C0B,fy1C06,t11C09,t01C08];
          real4 hy1BFC#1 = EvalKernel<4,bspln3,0>(a1C07);
          real fx1BFD#5 = Index<real2,0>(f1BD7);
          real t31C02#1 = Add<real>(fx1BFD,_t11C5);
          real t11C00#1 = Sub<real>(fx1BFD,_t11C5);
          real t01BFF#1 = Sub<real>(fx1BFD,_t11C7);
          real4 a1BFE#1 = <real4>[t31C02,fx1BFD,t11C00,t01BFF];
          real4 hx1BFB#4 = EvalKernel<4,bspln3,0>(a1BFE);
          real t01C10#1 = Dot<4>(v01BDB,hx1BFB);
          real t11C11#1 = Dot<4>(v11BDC,hx1BFB);
          real t21C12#1 = Dot<4>(v21BDD,hx1BFB);
          real t31C13#1 = Dot<4>(v31BDE,hx1BFB);
          real4 tv1C0F#1 = <real4>[t01C10,t11C11,t21C12,t31C13];
          real _t1BD5#1 = Dot<4>(hy1BFC,tv1C0F);
          real2 x1C53#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v091153);
          real2 nd1C55#2 = Floor<2>(x1C53);
          real2 f1C54#2 = Sub<real2>(x1C53,nd1C55);
          int{2} n1C56#8 = RealToInt<2>(nd1C55);
          int t21C73#1 = Index<int{2},0>(n1C56);
          int ix1C71#4 = Add<int>(t11BF5,t21C73);
          int t21C76#4 = Index<int{2},1>(n1C56);
          int iy1C74#1 = Add<int>(t11BF5,t21C76);
          addr(IMAGE2D<int>) a1C77#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1C71,iy1C74);
          real4 v01C58#1 = LoadVoxels<IMAGE2D<int>,4>(a1C77);
          int iy1C6D#1 = Add<int>(_t11ED,t21C76);
          addr(IMAGE2D<int>) a1C70#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1C71,iy1C6D);
          real4 v11C59#1 = LoadVoxels<IMAGE2D<int>,4>(a1C70);
          int iy1C66#1 = Add<int>(_t11F1,t21C76);
          addr(IMAGE2D<int>) a1C69#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1C71,iy1C66);
          real4 v21C5A#1 = LoadVoxels<IMAGE2D<int>,4>(a1C69);
          int iy1C5F#1 = Add<int>(_t11C9,t21C76);
          addr(IMAGE2D<int>) a1C62#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1C71,iy1C5F);
          real4 v31C5B#1 = LoadVoxels<IMAGE2D<int>,4>(a1C62);
          real fy1C83#5 = Index<real2,1>(f1C54);
          real t31C88#1 = Add<real>(fy1C83,_t11C5);
          real t11C86#1 = Sub<real>(fy1C83,_t11C5);
          real t01C85#1 = Sub<real>(fy1C83,_t11C7);
          real4 a1C84#1 = <real4>[t31C88,fy1C83,t11C86,t01C85];
          real4 hy1C79#1 = EvalKernel<4,bspln3,0>(a1C84);
          real fx1C7A#5 = Index<real2,0>(f1C54);
          real t31C7F#1 = Add<real>(fx1C7A,_t11C5);
          real t11C7D#1 = Sub<real>(fx1C7A,_t11C5);
          real t01C7C#1 = Sub<real>(fx1C7A,_t11C7);
          real4 a1C7B#1 = <real4>[t31C7F,fx1C7A,t11C7D,t01C7C];
          real4 hx1C78#4 = EvalKernel<4,bspln3,0>(a1C7B);
          real t01C8D#1 = Dot<4>(v01C58,hx1C78);
          real t11C8E#1 = Dot<4>(v11C59,hx1C78);
          real t21C8F#1 = Dot<4>(v21C5A,hx1C78);
          real t31C90#1 = Dot<4>(v31C5B,hx1C78);
          real4 tv1C8C#1 = <real4>[t01C8D,t11C8E,t21C8F,t31C90];
          real _t1C52#1 = Dot<4>(hy1C79,tv1C8C);
          real _t1CCF#2 = Sub<real>(_t1BD5,_t1C52);
          real _t1CD1#1 = Mul<real>(_t1CCF,_t1CCF);
          real score1CD3#1 = Add<real>(score1BBE,_t1CD1);
          goto JOIN1CD6
        JOIN1CD6:  preds = [ASSIGN1CD4,COND1BD4]
          real score1CD5#2 = phi(score1CD3,score1BBE)
          real _t1CD7#1 = Dot<2>(r011DF,v101155);
          real _t1CD9#1 = Dot<2>(r111E5,v101155);
          real2 _t1CDB#1 = <real2>[_t1CD7,_t1CD9];
          real2 pos1CDD#2 = Add<real2>(_t1CDB,_t11F5);
          real2 x1CE0#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1CDD);
          bool _t1CDF#1 = Inside<IMAGE2D<float>,2>(x1CE0,_t1133);
          if _t1CDF then goto ASSIGN1CE6 else goto ASSIGN3834
        ASSIGN1CE6:  preds = [COND1CE3]
          real2 x1CE5#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v101155);
          bool _t1CE4#1 = Inside<IMAGE2D<int>,2>(x1CE5,_t112F);
          goto JOIN1CEA
        JOIN1CEA:  preds = [ASSIGN1CE7,ASSIGN3834]
          bool _t1CE8#1 = phi(_t1CE4,_t1CE9)
          if _t1CE8 then goto ASSIGN399B else goto JOIN1DED
        ASSIGN399B:  preds = [COND1CEB]
          real2 nd1CEF#2 = Floor<2>(x1CE0);
          real2 f1CEE#2 = Sub<real2>(x1CE0,nd1CEF);
          int{2} n1CF0#8 = RealToInt<2>(nd1CEF);
          int t11D0C#4 = -1;
          int t21D0D#1 = Index<int{2},0>(n1CF0);
          int ix1D0B#4 = Add<int>(t11D0C,t21D0D);
          int t21D10#4 = Index<int{2},1>(n1CF0);
          int iy1D0E#1 = Add<int>(t11D0C,t21D10);
          addr(IMAGE2D<float>) a1D11#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1D0B,iy1D0E);
          real4 v01CF2#1 = LoadVoxels<IMAGE2D<float>,4>(a1D11);
          int iy1D07#1 = Add<int>(_t11ED,t21D10);
          addr(IMAGE2D<float>) a1D0A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1D0B,iy1D07);
          real4 v11CF3#1 = LoadVoxels<IMAGE2D<float>,4>(a1D0A);
          int iy1D00#1 = Add<int>(_t11F1,t21D10);
          addr(IMAGE2D<float>) a1D03#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1D0B,iy1D00);
          real4 v21CF4#1 = LoadVoxels<IMAGE2D<float>,4>(a1D03);
          int iy1CF9#1 = Add<int>(_t11C9,t21D10);
          addr(IMAGE2D<float>) a1CFC#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1D0B,iy1CF9);
          real4 v31CF5#1 = LoadVoxels<IMAGE2D<float>,4>(a1CFC);
          real fy1D1D#5 = Index<real2,1>(f1CEE);
          real t31D22#1 = Add<real>(fy1D1D,_t11C5);
          real t11D20#1 = Sub<real>(fy1D1D,_t11C5);
          real t01D1F#1 = Sub<real>(fy1D1D,_t11C7);
          real4 a1D1E#1 = <real4>[t31D22,fy1D1D,t11D20,t01D1F];
          real4 hy1D13#1 = EvalKernel<4,bspln3,0>(a1D1E);
          real fx1D14#5 = Index<real2,0>(f1CEE);
          real t31D19#1 = Add<real>(fx1D14,_t11C5);
          real t11D17#1 = Sub<real>(fx1D14,_t11C5);
          real t01D16#1 = Sub<real>(fx1D14,_t11C7);
          real4 a1D15#1 = <real4>[t31D19,fx1D14,t11D17,t01D16];
          real4 hx1D12#4 = EvalKernel<4,bspln3,0>(a1D15);
          real t01D27#1 = Dot<4>(v01CF2,hx1D12);
          real t11D28#1 = Dot<4>(v11CF3,hx1D12);
          real t21D29#1 = Dot<4>(v21CF4,hx1D12);
          real t31D2A#1 = Dot<4>(v31CF5,hx1D12);
          real4 tv1D26#1 = <real4>[t01D27,t11D28,t21D29,t31D2A];
          real _t1CEC#1 = Dot<4>(hy1D13,tv1D26);
          real2 x1D6A#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v101155);
          real2 nd1D6C#2 = Floor<2>(x1D6A);
          real2 f1D6B#2 = Sub<real2>(x1D6A,nd1D6C);
          int{2} n1D6D#8 = RealToInt<2>(nd1D6C);
          int t21D8A#1 = Index<int{2},0>(n1D6D);
          int ix1D88#4 = Add<int>(t11D0C,t21D8A);
          int t21D8D#4 = Index<int{2},1>(n1D6D);
          int iy1D8B#1 = Add<int>(t11D0C,t21D8D);
          addr(IMAGE2D<int>) a1D8E#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1D88,iy1D8B);
          real4 v01D6F#1 = LoadVoxels<IMAGE2D<int>,4>(a1D8E);
          int iy1D84#1 = Add<int>(_t11ED,t21D8D);
          addr(IMAGE2D<int>) a1D87#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1D88,iy1D84);
          real4 v11D70#1 = LoadVoxels<IMAGE2D<int>,4>(a1D87);
          int iy1D7D#1 = Add<int>(_t11F1,t21D8D);
          addr(IMAGE2D<int>) a1D80#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1D88,iy1D7D);
          real4 v21D71#1 = LoadVoxels<IMAGE2D<int>,4>(a1D80);
          int iy1D76#1 = Add<int>(_t11C9,t21D8D);
          addr(IMAGE2D<int>) a1D79#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1D88,iy1D76);
          real4 v31D72#1 = LoadVoxels<IMAGE2D<int>,4>(a1D79);
          real fy1D9A#5 = Index<real2,1>(f1D6B);
          real t31D9F#1 = Add<real>(fy1D9A,_t11C5);
          real t11D9D#1 = Sub<real>(fy1D9A,_t11C5);
          real t01D9C#1 = Sub<real>(fy1D9A,_t11C7);
          real4 a1D9B#1 = <real4>[t31D9F,fy1D9A,t11D9D,t01D9C];
          real4 hy1D90#1 = EvalKernel<4,bspln3,0>(a1D9B);
          real fx1D91#5 = Index<real2,0>(f1D6B);
          real t31D96#1 = Add<real>(fx1D91,_t11C5);
          real t11D94#1 = Sub<real>(fx1D91,_t11C5);
          real t01D93#1 = Sub<real>(fx1D91,_t11C7);
          real4 a1D92#1 = <real4>[t31D96,fx1D91,t11D94,t01D93];
          real4 hx1D8F#4 = EvalKernel<4,bspln3,0>(a1D92);
          real t01DA4#1 = Dot<4>(v01D6F,hx1D8F);
          real t11DA5#1 = Dot<4>(v11D70,hx1D8F);
          real t21DA6#1 = Dot<4>(v21D71,hx1D8F);
          real t31DA7#1 = Dot<4>(v31D72,hx1D8F);
          real4 tv1DA3#1 = <real4>[t01DA4,t11DA5,t21DA6,t31DA7];
          real _t1D69#1 = Dot<4>(hy1D90,tv1DA3);
          real _t1DE6#2 = Sub<real>(_t1CEC,_t1D69);
          real _t1DE8#1 = Mul<real>(_t1DE6,_t1DE6);
          real score1DEA#1 = Add<real>(score1CD5,_t1DE8);
          goto JOIN1DED
        JOIN1DED:  preds = [ASSIGN1DEB,COND1CEB]
          real score1DEC#2 = phi(score1DEA,score1CD5)
          real _t1DEE#1 = Dot<2>(r011DF,v111157);
          real _t1DF0#1 = Dot<2>(r111E5,v111157);
          real2 _t1DF2#1 = <real2>[_t1DEE,_t1DF0];
          real2 pos1DF4#2 = Add<real2>(_t1DF2,_t11F5);
          real2 x1DF7#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1DF4);
          bool _t1DF6#1 = Inside<IMAGE2D<float>,2>(x1DF7,_t1133);
          if _t1DF6 then goto ASSIGN1DFD else goto ASSIGN3833
        ASSIGN1DFD:  preds = [COND1DFA]
          real2 x1DFC#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v111157);
          bool _t1DFB#1 = Inside<IMAGE2D<int>,2>(x1DFC,_t112F);
          goto JOIN1E01
        JOIN1E01:  preds = [ASSIGN1DFE,ASSIGN3833]
          bool _t1DFF#1 = phi(_t1DFB,_t1E00)
          if _t1DFF then goto ASSIGN39BC else goto JOIN1F04
        ASSIGN39BC:  preds = [COND1E02]
          real2 nd1E06#2 = Floor<2>(x1DF7);
          real2 f1E05#2 = Sub<real2>(x1DF7,nd1E06);
          int{2} n1E07#8 = RealToInt<2>(nd1E06);
          int t11E23#4 = -1;
          int t21E24#1 = Index<int{2},0>(n1E07);
          int ix1E22#4 = Add<int>(t11E23,t21E24);
          int t21E27#4 = Index<int{2},1>(n1E07);
          int iy1E25#1 = Add<int>(t11E23,t21E27);
          addr(IMAGE2D<float>) a1E28#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1E22,iy1E25);
          real4 v01E09#1 = LoadVoxels<IMAGE2D<float>,4>(a1E28);
          int iy1E1E#1 = Add<int>(_t11ED,t21E27);
          addr(IMAGE2D<float>) a1E21#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1E22,iy1E1E);
          real4 v11E0A#1 = LoadVoxels<IMAGE2D<float>,4>(a1E21);
          int iy1E17#1 = Add<int>(_t11F1,t21E27);
          addr(IMAGE2D<float>) a1E1A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1E22,iy1E17);
          real4 v21E0B#1 = LoadVoxels<IMAGE2D<float>,4>(a1E1A);
          int iy1E10#1 = Add<int>(_t11C9,t21E27);
          addr(IMAGE2D<float>) a1E13#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1E22,iy1E10);
          real4 v31E0C#1 = LoadVoxels<IMAGE2D<float>,4>(a1E13);
          real fy1E34#5 = Index<real2,1>(f1E05);
          real t31E39#1 = Add<real>(fy1E34,_t11C5);
          real t11E37#1 = Sub<real>(fy1E34,_t11C5);
          real t01E36#1 = Sub<real>(fy1E34,_t11C7);
          real4 a1E35#1 = <real4>[t31E39,fy1E34,t11E37,t01E36];
          real4 hy1E2A#1 = EvalKernel<4,bspln3,0>(a1E35);
          real fx1E2B#5 = Index<real2,0>(f1E05);
          real t31E30#1 = Add<real>(fx1E2B,_t11C5);
          real t11E2E#1 = Sub<real>(fx1E2B,_t11C5);
          real t01E2D#1 = Sub<real>(fx1E2B,_t11C7);
          real4 a1E2C#1 = <real4>[t31E30,fx1E2B,t11E2E,t01E2D];
          real4 hx1E29#4 = EvalKernel<4,bspln3,0>(a1E2C);
          real t01E3E#1 = Dot<4>(v01E09,hx1E29);
          real t11E3F#1 = Dot<4>(v11E0A,hx1E29);
          real t21E40#1 = Dot<4>(v21E0B,hx1E29);
          real t31E41#1 = Dot<4>(v31E0C,hx1E29);
          real4 tv1E3D#1 = <real4>[t01E3E,t11E3F,t21E40,t31E41];
          real _t1E03#1 = Dot<4>(hy1E2A,tv1E3D);
          real2 x1E81#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v111157);
          real2 nd1E83#2 = Floor<2>(x1E81);
          real2 f1E82#2 = Sub<real2>(x1E81,nd1E83);
          int{2} n1E84#8 = RealToInt<2>(nd1E83);
          int t21EA1#1 = Index<int{2},0>(n1E84);
          int ix1E9F#4 = Add<int>(t11E23,t21EA1);
          int t21EA4#4 = Index<int{2},1>(n1E84);
          int iy1EA2#1 = Add<int>(t11E23,t21EA4);
          addr(IMAGE2D<int>) a1EA5#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1E9F,iy1EA2);
          real4 v01E86#1 = LoadVoxels<IMAGE2D<int>,4>(a1EA5);
          int iy1E9B#1 = Add<int>(_t11ED,t21EA4);
          addr(IMAGE2D<int>) a1E9E#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1E9F,iy1E9B);
          real4 v11E87#1 = LoadVoxels<IMAGE2D<int>,4>(a1E9E);
          int iy1E94#1 = Add<int>(_t11F1,t21EA4);
          addr(IMAGE2D<int>) a1E97#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1E9F,iy1E94);
          real4 v21E88#1 = LoadVoxels<IMAGE2D<int>,4>(a1E97);
          int iy1E8D#1 = Add<int>(_t11C9,t21EA4);
          addr(IMAGE2D<int>) a1E90#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1E9F,iy1E8D);
          real4 v31E89#1 = LoadVoxels<IMAGE2D<int>,4>(a1E90);
          real fy1EB1#5 = Index<real2,1>(f1E82);
          real t31EB6#1 = Add<real>(fy1EB1,_t11C5);
          real t11EB4#1 = Sub<real>(fy1EB1,_t11C5);
          real t01EB3#1 = Sub<real>(fy1EB1,_t11C7);
          real4 a1EB2#1 = <real4>[t31EB6,fy1EB1,t11EB4,t01EB3];
          real4 hy1EA7#1 = EvalKernel<4,bspln3,0>(a1EB2);
          real fx1EA8#5 = Index<real2,0>(f1E82);
          real t31EAD#1 = Add<real>(fx1EA8,_t11C5);
          real t11EAB#1 = Sub<real>(fx1EA8,_t11C5);
          real t01EAA#1 = Sub<real>(fx1EA8,_t11C7);
          real4 a1EA9#1 = <real4>[t31EAD,fx1EA8,t11EAB,t01EAA];
          real4 hx1EA6#4 = EvalKernel<4,bspln3,0>(a1EA9);
          real t01EBB#1 = Dot<4>(v01E86,hx1EA6);
          real t11EBC#1 = Dot<4>(v11E87,hx1EA6);
          real t21EBD#1 = Dot<4>(v21E88,hx1EA6);
          real t31EBE#1 = Dot<4>(v31E89,hx1EA6);
          real4 tv1EBA#1 = <real4>[t01EBB,t11EBC,t21EBD,t31EBE];
          real _t1E80#1 = Dot<4>(hy1EA7,tv1EBA);
          real _t1EFD#2 = Sub<real>(_t1E03,_t1E80);
          real _t1EFF#1 = Mul<real>(_t1EFD,_t1EFD);
          real score1F01#1 = Add<real>(score1DEC,_t1EFF);
          goto JOIN1F04
        JOIN1F04:  preds = [ASSIGN1F02,COND1E02]
          real score1F03#2 = phi(score1F01,score1DEC)
          real _t1F05#1 = Dot<2>(r011DF,v121159);
          real _t1F07#1 = Dot<2>(r111E5,v121159);
          real2 _t1F09#1 = <real2>[_t1F05,_t1F07];
          real2 pos1F0B#2 = Add<real2>(_t1F09,_t11F5);
          real2 x1F0E#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos1F0B);
          bool _t1F0D#1 = Inside<IMAGE2D<float>,2>(x1F0E,_t1133);
          if _t1F0D then goto ASSIGN1F14 else goto ASSIGN3832
        ASSIGN1F14:  preds = [COND1F11]
          real2 x1F13#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v121159);
          bool _t1F12#1 = Inside<IMAGE2D<int>,2>(x1F13,_t112F);
          goto JOIN1F18
        JOIN1F18:  preds = [ASSIGN1F15,ASSIGN3832]
          bool _t1F16#1 = phi(_t1F12,_t1F17)
          if _t1F16 then goto ASSIGN39DD else goto JOIN201B
        ASSIGN39DD:  preds = [COND1F19]
          real2 nd1F1D#2 = Floor<2>(x1F0E);
          real2 f1F1C#2 = Sub<real2>(x1F0E,nd1F1D);
          int{2} n1F1E#8 = RealToInt<2>(nd1F1D);
          int t11F3A#4 = -1;
          int t21F3B#1 = Index<int{2},0>(n1F1E);
          int ix1F39#4 = Add<int>(t11F3A,t21F3B);
          int t21F3E#4 = Index<int{2},1>(n1F1E);
          int iy1F3C#1 = Add<int>(t11F3A,t21F3E);
          addr(IMAGE2D<float>) a1F3F#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1F39,iy1F3C);
          real4 v01F20#1 = LoadVoxels<IMAGE2D<float>,4>(a1F3F);
          int iy1F35#1 = Add<int>(_t11ED,t21F3E);
          addr(IMAGE2D<float>) a1F38#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1F39,iy1F35);
          real4 v11F21#1 = LoadVoxels<IMAGE2D<float>,4>(a1F38);
          int iy1F2E#1 = Add<int>(_t11F1,t21F3E);
          addr(IMAGE2D<float>) a1F31#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1F39,iy1F2E);
          real4 v21F22#1 = LoadVoxels<IMAGE2D<float>,4>(a1F31);
          int iy1F27#1 = Add<int>(_t11C9,t21F3E);
          addr(IMAGE2D<float>) a1F2A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix1F39,iy1F27);
          real4 v31F23#1 = LoadVoxels<IMAGE2D<float>,4>(a1F2A);
          real fy1F4B#5 = Index<real2,1>(f1F1C);
          real t31F50#1 = Add<real>(fy1F4B,_t11C5);
          real t11F4E#1 = Sub<real>(fy1F4B,_t11C5);
          real t01F4D#1 = Sub<real>(fy1F4B,_t11C7);
          real4 a1F4C#1 = <real4>[t31F50,fy1F4B,t11F4E,t01F4D];
          real4 hy1F41#1 = EvalKernel<4,bspln3,0>(a1F4C);
          real fx1F42#5 = Index<real2,0>(f1F1C);
          real t31F47#1 = Add<real>(fx1F42,_t11C5);
          real t11F45#1 = Sub<real>(fx1F42,_t11C5);
          real t01F44#1 = Sub<real>(fx1F42,_t11C7);
          real4 a1F43#1 = <real4>[t31F47,fx1F42,t11F45,t01F44];
          real4 hx1F40#4 = EvalKernel<4,bspln3,0>(a1F43);
          real t01F55#1 = Dot<4>(v01F20,hx1F40);
          real t11F56#1 = Dot<4>(v11F21,hx1F40);
          real t21F57#1 = Dot<4>(v21F22,hx1F40);
          real t31F58#1 = Dot<4>(v31F23,hx1F40);
          real4 tv1F54#1 = <real4>[t01F55,t11F56,t21F57,t31F58];
          real _t1F1A#1 = Dot<4>(hy1F41,tv1F54);
          real2 x1F98#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v121159);
          real2 nd1F9A#2 = Floor<2>(x1F98);
          real2 f1F99#2 = Sub<real2>(x1F98,nd1F9A);
          int{2} n1F9B#8 = RealToInt<2>(nd1F9A);
          int t21FB8#1 = Index<int{2},0>(n1F9B);
          int ix1FB6#4 = Add<int>(t11F3A,t21FB8);
          int t21FBB#4 = Index<int{2},1>(n1F9B);
          int iy1FB9#1 = Add<int>(t11F3A,t21FBB);
          addr(IMAGE2D<int>) a1FBC#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1FB6,iy1FB9);
          real4 v01F9D#1 = LoadVoxels<IMAGE2D<int>,4>(a1FBC);
          int iy1FB2#1 = Add<int>(_t11ED,t21FBB);
          addr(IMAGE2D<int>) a1FB5#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1FB6,iy1FB2);
          real4 v11F9E#1 = LoadVoxels<IMAGE2D<int>,4>(a1FB5);
          int iy1FAB#1 = Add<int>(_t11F1,t21FBB);
          addr(IMAGE2D<int>) a1FAE#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1FB6,iy1FAB);
          real4 v21F9F#1 = LoadVoxels<IMAGE2D<int>,4>(a1FAE);
          int iy1FA4#1 = Add<int>(_t11C9,t21FBB);
          addr(IMAGE2D<int>) a1FA7#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix1FB6,iy1FA4);
          real4 v31FA0#1 = LoadVoxels<IMAGE2D<int>,4>(a1FA7);
          real fy1FC8#5 = Index<real2,1>(f1F99);
          real t31FCD#1 = Add<real>(fy1FC8,_t11C5);
          real t11FCB#1 = Sub<real>(fy1FC8,_t11C5);
          real t01FCA#1 = Sub<real>(fy1FC8,_t11C7);
          real4 a1FC9#1 = <real4>[t31FCD,fy1FC8,t11FCB,t01FCA];
          real4 hy1FBE#1 = EvalKernel<4,bspln3,0>(a1FC9);
          real fx1FBF#5 = Index<real2,0>(f1F99);
          real t31FC4#1 = Add<real>(fx1FBF,_t11C5);
          real t11FC2#1 = Sub<real>(fx1FBF,_t11C5);
          real t01FC1#1 = Sub<real>(fx1FBF,_t11C7);
          real4 a1FC0#1 = <real4>[t31FC4,fx1FBF,t11FC2,t01FC1];
          real4 hx1FBD#4 = EvalKernel<4,bspln3,0>(a1FC0);
          real t01FD2#1 = Dot<4>(v01F9D,hx1FBD);
          real t11FD3#1 = Dot<4>(v11F9E,hx1FBD);
          real t21FD4#1 = Dot<4>(v21F9F,hx1FBD);
          real t31FD5#1 = Dot<4>(v31FA0,hx1FBD);
          real4 tv1FD1#1 = <real4>[t01FD2,t11FD3,t21FD4,t31FD5];
          real _t1F97#1 = Dot<4>(hy1FBE,tv1FD1);
          real _t2014#2 = Sub<real>(_t1F1A,_t1F97);
          real _t2016#1 = Mul<real>(_t2014,_t2014);
          real score2018#1 = Add<real>(score1F03,_t2016);
          goto JOIN201B
        JOIN201B:  preds = [ASSIGN2019,COND1F19]
          real score201A#2 = phi(score2018,score1F03)
          real _t201C#1 = Dot<2>(r011DF,v13115B);
          real _t201E#1 = Dot<2>(r111E5,v13115B);
          real2 _t2020#1 = <real2>[_t201C,_t201E];
          real2 pos2022#2 = Add<real2>(_t2020,_t11F5);
          real2 x2025#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2022);
          bool _t2024#1 = Inside<IMAGE2D<float>,2>(x2025,_t1133);
          if _t2024 then goto ASSIGN202B else goto ASSIGN3831
        ASSIGN202B:  preds = [COND2028]
          real2 x202A#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v13115B);
          bool _t2029#1 = Inside<IMAGE2D<int>,2>(x202A,_t112F);
          goto JOIN202F
        JOIN202F:  preds = [ASSIGN202C,ASSIGN3831]
          bool _t202D#1 = phi(_t2029,_t202E)
          if _t202D then goto ASSIGN39FE else goto JOIN2132
        ASSIGN39FE:  preds = [COND2030]
          real2 nd2034#2 = Floor<2>(x2025);
          real2 f2033#2 = Sub<real2>(x2025,nd2034);
          int{2} n2035#8 = RealToInt<2>(nd2034);
          int t12051#4 = -1;
          int t22052#1 = Index<int{2},0>(n2035);
          int ix2050#4 = Add<int>(t12051,t22052);
          int t22055#4 = Index<int{2},1>(n2035);
          int iy2053#1 = Add<int>(t12051,t22055);
          addr(IMAGE2D<float>) a2056#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2050,iy2053);
          real4 v02037#1 = LoadVoxels<IMAGE2D<float>,4>(a2056);
          int iy204C#1 = Add<int>(_t11ED,t22055);
          addr(IMAGE2D<float>) a204F#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2050,iy204C);
          real4 v12038#1 = LoadVoxels<IMAGE2D<float>,4>(a204F);
          int iy2045#1 = Add<int>(_t11F1,t22055);
          addr(IMAGE2D<float>) a2048#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2050,iy2045);
          real4 v22039#1 = LoadVoxels<IMAGE2D<float>,4>(a2048);
          int iy203E#1 = Add<int>(_t11C9,t22055);
          addr(IMAGE2D<float>) a2041#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2050,iy203E);
          real4 v3203A#1 = LoadVoxels<IMAGE2D<float>,4>(a2041);
          real fy2062#5 = Index<real2,1>(f2033);
          real t32067#1 = Add<real>(fy2062,_t11C5);
          real t12065#1 = Sub<real>(fy2062,_t11C5);
          real t02064#1 = Sub<real>(fy2062,_t11C7);
          real4 a2063#1 = <real4>[t32067,fy2062,t12065,t02064];
          real4 hy2058#1 = EvalKernel<4,bspln3,0>(a2063);
          real fx2059#5 = Index<real2,0>(f2033);
          real t3205E#1 = Add<real>(fx2059,_t11C5);
          real t1205C#1 = Sub<real>(fx2059,_t11C5);
          real t0205B#1 = Sub<real>(fx2059,_t11C7);
          real4 a205A#1 = <real4>[t3205E,fx2059,t1205C,t0205B];
          real4 hx2057#4 = EvalKernel<4,bspln3,0>(a205A);
          real t0206C#1 = Dot<4>(v02037,hx2057);
          real t1206D#1 = Dot<4>(v12038,hx2057);
          real t2206E#1 = Dot<4>(v22039,hx2057);
          real t3206F#1 = Dot<4>(v3203A,hx2057);
          real4 tv206B#1 = <real4>[t0206C,t1206D,t2206E,t3206F];
          real _t2031#1 = Dot<4>(hy2058,tv206B);
          real2 x20AF#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v13115B);
          real2 nd20B1#2 = Floor<2>(x20AF);
          real2 f20B0#2 = Sub<real2>(x20AF,nd20B1);
          int{2} n20B2#8 = RealToInt<2>(nd20B1);
          int t220CF#1 = Index<int{2},0>(n20B2);
          int ix20CD#4 = Add<int>(t12051,t220CF);
          int t220D2#4 = Index<int{2},1>(n20B2);
          int iy20D0#1 = Add<int>(t12051,t220D2);
          addr(IMAGE2D<int>) a20D3#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix20CD,iy20D0);
          real4 v020B4#1 = LoadVoxels<IMAGE2D<int>,4>(a20D3);
          int iy20C9#1 = Add<int>(_t11ED,t220D2);
          addr(IMAGE2D<int>) a20CC#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix20CD,iy20C9);
          real4 v120B5#1 = LoadVoxels<IMAGE2D<int>,4>(a20CC);
          int iy20C2#1 = Add<int>(_t11F1,t220D2);
          addr(IMAGE2D<int>) a20C5#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix20CD,iy20C2);
          real4 v220B6#1 = LoadVoxels<IMAGE2D<int>,4>(a20C5);
          int iy20BB#1 = Add<int>(_t11C9,t220D2);
          addr(IMAGE2D<int>) a20BE#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix20CD,iy20BB);
          real4 v320B7#1 = LoadVoxels<IMAGE2D<int>,4>(a20BE);
          real fy20DF#5 = Index<real2,1>(f20B0);
          real t320E4#1 = Add<real>(fy20DF,_t11C5);
          real t120E2#1 = Sub<real>(fy20DF,_t11C5);
          real t020E1#1 = Sub<real>(fy20DF,_t11C7);
          real4 a20E0#1 = <real4>[t320E4,fy20DF,t120E2,t020E1];
          real4 hy20D5#1 = EvalKernel<4,bspln3,0>(a20E0);
          real fx20D6#5 = Index<real2,0>(f20B0);
          real t320DB#1 = Add<real>(fx20D6,_t11C5);
          real t120D9#1 = Sub<real>(fx20D6,_t11C5);
          real t020D8#1 = Sub<real>(fx20D6,_t11C7);
          real4 a20D7#1 = <real4>[t320DB,fx20D6,t120D9,t020D8];
          real4 hx20D4#4 = EvalKernel<4,bspln3,0>(a20D7);
          real t020E9#1 = Dot<4>(v020B4,hx20D4);
          real t120EA#1 = Dot<4>(v120B5,hx20D4);
          real t220EB#1 = Dot<4>(v220B6,hx20D4);
          real t320EC#1 = Dot<4>(v320B7,hx20D4);
          real4 tv20E8#1 = <real4>[t020E9,t120EA,t220EB,t320EC];
          real _t20AE#1 = Dot<4>(hy20D5,tv20E8);
          real _t212B#2 = Sub<real>(_t2031,_t20AE);
          real _t212D#1 = Mul<real>(_t212B,_t212B);
          real score212F#1 = Add<real>(score201A,_t212D);
          goto JOIN2132
        JOIN2132:  preds = [ASSIGN2130,COND2030]
          real score2131#2 = phi(score212F,score201A)
          real _t2133#1 = Dot<2>(r011DF,v14115D);
          real _t2135#1 = Dot<2>(r111E5,v14115D);
          real2 _t2137#1 = <real2>[_t2133,_t2135];
          real2 pos2139#2 = Add<real2>(_t2137,_t11F5);
          real2 x213C#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2139);
          bool _t213B#1 = Inside<IMAGE2D<float>,2>(x213C,_t1133);
          if _t213B then goto ASSIGN2142 else goto ASSIGN3830
        ASSIGN2142:  preds = [COND213F]
          real2 x2141#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v14115D);
          bool _t2140#1 = Inside<IMAGE2D<int>,2>(x2141,_t112F);
          goto JOIN2146
        JOIN2146:  preds = [ASSIGN2143,ASSIGN3830]
          bool _t2144#1 = phi(_t2140,_t2145)
          if _t2144 then goto ASSIGN3A1F else goto JOIN2249
        ASSIGN3A1F:  preds = [COND2147]
          real2 nd214B#2 = Floor<2>(x213C);
          real2 f214A#2 = Sub<real2>(x213C,nd214B);
          int{2} n214C#8 = RealToInt<2>(nd214B);
          int t12168#4 = -1;
          int t22169#1 = Index<int{2},0>(n214C);
          int ix2167#4 = Add<int>(t12168,t22169);
          int t2216C#4 = Index<int{2},1>(n214C);
          int iy216A#1 = Add<int>(t12168,t2216C);
          addr(IMAGE2D<float>) a216D#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2167,iy216A);
          real4 v0214E#1 = LoadVoxels<IMAGE2D<float>,4>(a216D);
          int iy2163#1 = Add<int>(_t11ED,t2216C);
          addr(IMAGE2D<float>) a2166#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2167,iy2163);
          real4 v1214F#1 = LoadVoxels<IMAGE2D<float>,4>(a2166);
          int iy215C#1 = Add<int>(_t11F1,t2216C);
          addr(IMAGE2D<float>) a215F#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2167,iy215C);
          real4 v22150#1 = LoadVoxels<IMAGE2D<float>,4>(a215F);
          int iy2155#1 = Add<int>(_t11C9,t2216C);
          addr(IMAGE2D<float>) a2158#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2167,iy2155);
          real4 v32151#1 = LoadVoxels<IMAGE2D<float>,4>(a2158);
          real fy2179#5 = Index<real2,1>(f214A);
          real t3217E#1 = Add<real>(fy2179,_t11C5);
          real t1217C#1 = Sub<real>(fy2179,_t11C5);
          real t0217B#1 = Sub<real>(fy2179,_t11C7);
          real4 a217A#1 = <real4>[t3217E,fy2179,t1217C,t0217B];
          real4 hy216F#1 = EvalKernel<4,bspln3,0>(a217A);
          real fx2170#5 = Index<real2,0>(f214A);
          real t32175#1 = Add<real>(fx2170,_t11C5);
          real t12173#1 = Sub<real>(fx2170,_t11C5);
          real t02172#1 = Sub<real>(fx2170,_t11C7);
          real4 a2171#1 = <real4>[t32175,fx2170,t12173,t02172];
          real4 hx216E#4 = EvalKernel<4,bspln3,0>(a2171);
          real t02183#1 = Dot<4>(v0214E,hx216E);
          real t12184#1 = Dot<4>(v1214F,hx216E);
          real t22185#1 = Dot<4>(v22150,hx216E);
          real t32186#1 = Dot<4>(v32151,hx216E);
          real4 tv2182#1 = <real4>[t02183,t12184,t22185,t32186];
          real _t2148#1 = Dot<4>(hy216F,tv2182);
          real2 x21C6#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v14115D);
          real2 nd21C8#2 = Floor<2>(x21C6);
          real2 f21C7#2 = Sub<real2>(x21C6,nd21C8);
          int{2} n21C9#8 = RealToInt<2>(nd21C8);
          int t221E6#1 = Index<int{2},0>(n21C9);
          int ix21E4#4 = Add<int>(t12168,t221E6);
          int t221E9#4 = Index<int{2},1>(n21C9);
          int iy21E7#1 = Add<int>(t12168,t221E9);
          addr(IMAGE2D<int>) a21EA#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix21E4,iy21E7);
          real4 v021CB#1 = LoadVoxels<IMAGE2D<int>,4>(a21EA);
          int iy21E0#1 = Add<int>(_t11ED,t221E9);
          addr(IMAGE2D<int>) a21E3#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix21E4,iy21E0);
          real4 v121CC#1 = LoadVoxels<IMAGE2D<int>,4>(a21E3);
          int iy21D9#1 = Add<int>(_t11F1,t221E9);
          addr(IMAGE2D<int>) a21DC#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix21E4,iy21D9);
          real4 v221CD#1 = LoadVoxels<IMAGE2D<int>,4>(a21DC);
          int iy21D2#1 = Add<int>(_t11C9,t221E9);
          addr(IMAGE2D<int>) a21D5#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix21E4,iy21D2);
          real4 v321CE#1 = LoadVoxels<IMAGE2D<int>,4>(a21D5);
          real fy21F6#5 = Index<real2,1>(f21C7);
          real t321FB#1 = Add<real>(fy21F6,_t11C5);
          real t121F9#1 = Sub<real>(fy21F6,_t11C5);
          real t021F8#1 = Sub<real>(fy21F6,_t11C7);
          real4 a21F7#1 = <real4>[t321FB,fy21F6,t121F9,t021F8];
          real4 hy21EC#1 = EvalKernel<4,bspln3,0>(a21F7);
          real fx21ED#5 = Index<real2,0>(f21C7);
          real t321F2#1 = Add<real>(fx21ED,_t11C5);
          real t121F0#1 = Sub<real>(fx21ED,_t11C5);
          real t021EF#1 = Sub<real>(fx21ED,_t11C7);
          real4 a21EE#1 = <real4>[t321F2,fx21ED,t121F0,t021EF];
          real4 hx21EB#4 = EvalKernel<4,bspln3,0>(a21EE);
          real t02200#1 = Dot<4>(v021CB,hx21EB);
          real t12201#1 = Dot<4>(v121CC,hx21EB);
          real t22202#1 = Dot<4>(v221CD,hx21EB);
          real t32203#1 = Dot<4>(v321CE,hx21EB);
          real4 tv21FF#1 = <real4>[t02200,t12201,t22202,t32203];
          real _t21C5#1 = Dot<4>(hy21EC,tv21FF);
          real _t2242#2 = Sub<real>(_t2148,_t21C5);
          real _t2244#1 = Mul<real>(_t2242,_t2242);
          real score2246#1 = Add<real>(score2131,_t2244);
          goto JOIN2249
        JOIN2249:  preds = [ASSIGN2247,COND2147]
          real score2248#2 = phi(score2246,score2131)
          real _t224A#1 = Dot<2>(r011DF,v15115F);
          real _t224C#1 = Dot<2>(r111E5,v15115F);
          real2 _t224E#1 = <real2>[_t224A,_t224C];
          real2 pos2250#2 = Add<real2>(_t224E,_t11F5);
          real2 x2253#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2250);
          bool _t2252#1 = Inside<IMAGE2D<float>,2>(x2253,_t1133);
          if _t2252 then goto ASSIGN2259 else goto ASSIGN382F
        ASSIGN2259:  preds = [COND2256]
          real2 x2258#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v15115F);
          bool _t2257#1 = Inside<IMAGE2D<int>,2>(x2258,_t112F);
          goto JOIN225D
        JOIN225D:  preds = [ASSIGN225A,ASSIGN382F]
          bool _t225B#1 = phi(_t2257,_t225C)
          if _t225B then goto ASSIGN3A40 else goto JOIN2360
        ASSIGN3A40:  preds = [COND225E]
          real2 nd2262#2 = Floor<2>(x2253);
          real2 f2261#2 = Sub<real2>(x2253,nd2262);
          int{2} n2263#8 = RealToInt<2>(nd2262);
          int t1227F#4 = -1;
          int t22280#1 = Index<int{2},0>(n2263);
          int ix227E#4 = Add<int>(t1227F,t22280);
          int t22283#4 = Index<int{2},1>(n2263);
          int iy2281#1 = Add<int>(t1227F,t22283);
          addr(IMAGE2D<float>) a2284#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix227E,iy2281);
          real4 v02265#1 = LoadVoxels<IMAGE2D<float>,4>(a2284);
          int iy227A#1 = Add<int>(_t11ED,t22283);
          addr(IMAGE2D<float>) a227D#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix227E,iy227A);
          real4 v12266#1 = LoadVoxels<IMAGE2D<float>,4>(a227D);
          int iy2273#1 = Add<int>(_t11F1,t22283);
          addr(IMAGE2D<float>) a2276#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix227E,iy2273);
          real4 v22267#1 = LoadVoxels<IMAGE2D<float>,4>(a2276);
          int iy226C#1 = Add<int>(_t11C9,t22283);
          addr(IMAGE2D<float>) a226F#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix227E,iy226C);
          real4 v32268#1 = LoadVoxels<IMAGE2D<float>,4>(a226F);
          real fy2290#5 = Index<real2,1>(f2261);
          real t32295#1 = Add<real>(fy2290,_t11C5);
          real t12293#1 = Sub<real>(fy2290,_t11C5);
          real t02292#1 = Sub<real>(fy2290,_t11C7);
          real4 a2291#1 = <real4>[t32295,fy2290,t12293,t02292];
          real4 hy2286#1 = EvalKernel<4,bspln3,0>(a2291);
          real fx2287#5 = Index<real2,0>(f2261);
          real t3228C#1 = Add<real>(fx2287,_t11C5);
          real t1228A#1 = Sub<real>(fx2287,_t11C5);
          real t02289#1 = Sub<real>(fx2287,_t11C7);
          real4 a2288#1 = <real4>[t3228C,fx2287,t1228A,t02289];
          real4 hx2285#4 = EvalKernel<4,bspln3,0>(a2288);
          real t0229A#1 = Dot<4>(v02265,hx2285);
          real t1229B#1 = Dot<4>(v12266,hx2285);
          real t2229C#1 = Dot<4>(v22267,hx2285);
          real t3229D#1 = Dot<4>(v32268,hx2285);
          real4 tv2299#1 = <real4>[t0229A,t1229B,t2229C,t3229D];
          real _t225F#1 = Dot<4>(hy2286,tv2299);
          real2 x22DD#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v15115F);
          real2 nd22DF#2 = Floor<2>(x22DD);
          real2 f22DE#2 = Sub<real2>(x22DD,nd22DF);
          int{2} n22E0#8 = RealToInt<2>(nd22DF);
          int t222FD#1 = Index<int{2},0>(n22E0);
          int ix22FB#4 = Add<int>(t1227F,t222FD);
          int t22300#4 = Index<int{2},1>(n22E0);
          int iy22FE#1 = Add<int>(t1227F,t22300);
          addr(IMAGE2D<int>) a2301#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix22FB,iy22FE);
          real4 v022E2#1 = LoadVoxels<IMAGE2D<int>,4>(a2301);
          int iy22F7#1 = Add<int>(_t11ED,t22300);
          addr(IMAGE2D<int>) a22FA#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix22FB,iy22F7);
          real4 v122E3#1 = LoadVoxels<IMAGE2D<int>,4>(a22FA);
          int iy22F0#1 = Add<int>(_t11F1,t22300);
          addr(IMAGE2D<int>) a22F3#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix22FB,iy22F0);
          real4 v222E4#1 = LoadVoxels<IMAGE2D<int>,4>(a22F3);
          int iy22E9#1 = Add<int>(_t11C9,t22300);
          addr(IMAGE2D<int>) a22EC#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix22FB,iy22E9);
          real4 v322E5#1 = LoadVoxels<IMAGE2D<int>,4>(a22EC);
          real fy230D#5 = Index<real2,1>(f22DE);
          real t32312#1 = Add<real>(fy230D,_t11C5);
          real t12310#1 = Sub<real>(fy230D,_t11C5);
          real t0230F#1 = Sub<real>(fy230D,_t11C7);
          real4 a230E#1 = <real4>[t32312,fy230D,t12310,t0230F];
          real4 hy2303#1 = EvalKernel<4,bspln3,0>(a230E);
          real fx2304#5 = Index<real2,0>(f22DE);
          real t32309#1 = Add<real>(fx2304,_t11C5);
          real t12307#1 = Sub<real>(fx2304,_t11C5);
          real t02306#1 = Sub<real>(fx2304,_t11C7);
          real4 a2305#1 = <real4>[t32309,fx2304,t12307,t02306];
          real4 hx2302#4 = EvalKernel<4,bspln3,0>(a2305);
          real t02317#1 = Dot<4>(v022E2,hx2302);
          real t12318#1 = Dot<4>(v122E3,hx2302);
          real t22319#1 = Dot<4>(v222E4,hx2302);
          real t3231A#1 = Dot<4>(v322E5,hx2302);
          real4 tv2316#1 = <real4>[t02317,t12318,t22319,t3231A];
          real _t22DC#1 = Dot<4>(hy2303,tv2316);
          real _t2359#2 = Sub<real>(_t225F,_t22DC);
          real _t235B#1 = Mul<real>(_t2359,_t2359);
          real score235D#1 = Add<real>(score2248,_t235B);
          goto JOIN2360
        JOIN2360:  preds = [ASSIGN235E,COND225E]
          real score235F#2 = phi(score235D,score2248)
          real _t2361#1 = Dot<2>(r011DF,v161161);
          real _t2363#1 = Dot<2>(r111E5,v161161);
          real2 _t2365#1 = <real2>[_t2361,_t2363];
          real2 pos2367#2 = Add<real2>(_t2365,_t11F5);
          real2 x236A#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2367);
          bool _t2369#1 = Inside<IMAGE2D<float>,2>(x236A,_t1133);
          if _t2369 then goto ASSIGN2370 else goto ASSIGN382E
        ASSIGN2370:  preds = [COND236D]
          real2 x236F#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v161161);
          bool _t236E#1 = Inside<IMAGE2D<int>,2>(x236F,_t112F);
          goto JOIN2374
        JOIN2374:  preds = [ASSIGN2371,ASSIGN382E]
          bool _t2372#1 = phi(_t236E,_t2373)
          if _t2372 then goto ASSIGN3A61 else goto JOIN2477
        ASSIGN3A61:  preds = [COND2375]
          real2 nd2379#2 = Floor<2>(x236A);
          real2 f2378#2 = Sub<real2>(x236A,nd2379);
          int{2} n237A#8 = RealToInt<2>(nd2379);
          int t12396#4 = -1;
          int t22397#1 = Index<int{2},0>(n237A);
          int ix2395#4 = Add<int>(t12396,t22397);
          int t2239A#4 = Index<int{2},1>(n237A);
          int iy2398#1 = Add<int>(t12396,t2239A);
          addr(IMAGE2D<float>) a239B#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2395,iy2398);
          real4 v0237C#1 = LoadVoxels<IMAGE2D<float>,4>(a239B);
          int iy2391#1 = Add<int>(_t11ED,t2239A);
          addr(IMAGE2D<float>) a2394#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2395,iy2391);
          real4 v1237D#1 = LoadVoxels<IMAGE2D<float>,4>(a2394);
          int iy238A#1 = Add<int>(_t11F1,t2239A);
          addr(IMAGE2D<float>) a238D#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2395,iy238A);
          real4 v2237E#1 = LoadVoxels<IMAGE2D<float>,4>(a238D);
          int iy2383#1 = Add<int>(_t11C9,t2239A);
          addr(IMAGE2D<float>) a2386#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2395,iy2383);
          real4 v3237F#1 = LoadVoxels<IMAGE2D<float>,4>(a2386);
          real fy23A7#5 = Index<real2,1>(f2378);
          real t323AC#1 = Add<real>(fy23A7,_t11C5);
          real t123AA#1 = Sub<real>(fy23A7,_t11C5);
          real t023A9#1 = Sub<real>(fy23A7,_t11C7);
          real4 a23A8#1 = <real4>[t323AC,fy23A7,t123AA,t023A9];
          real4 hy239D#1 = EvalKernel<4,bspln3,0>(a23A8);
          real fx239E#5 = Index<real2,0>(f2378);
          real t323A3#1 = Add<real>(fx239E,_t11C5);
          real t123A1#1 = Sub<real>(fx239E,_t11C5);
          real t023A0#1 = Sub<real>(fx239E,_t11C7);
          real4 a239F#1 = <real4>[t323A3,fx239E,t123A1,t023A0];
          real4 hx239C#4 = EvalKernel<4,bspln3,0>(a239F);
          real t023B1#1 = Dot<4>(v0237C,hx239C);
          real t123B2#1 = Dot<4>(v1237D,hx239C);
          real t223B3#1 = Dot<4>(v2237E,hx239C);
          real t323B4#1 = Dot<4>(v3237F,hx239C);
          real4 tv23B0#1 = <real4>[t023B1,t123B2,t223B3,t323B4];
          real _t2376#1 = Dot<4>(hy239D,tv23B0);
          real2 x23F4#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v161161);
          real2 nd23F6#2 = Floor<2>(x23F4);
          real2 f23F5#2 = Sub<real2>(x23F4,nd23F6);
          int{2} n23F7#8 = RealToInt<2>(nd23F6);
          int t22414#1 = Index<int{2},0>(n23F7);
          int ix2412#4 = Add<int>(t12396,t22414);
          int t22417#4 = Index<int{2},1>(n23F7);
          int iy2415#1 = Add<int>(t12396,t22417);
          addr(IMAGE2D<int>) a2418#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2412,iy2415);
          real4 v023F9#1 = LoadVoxels<IMAGE2D<int>,4>(a2418);
          int iy240E#1 = Add<int>(_t11ED,t22417);
          addr(IMAGE2D<int>) a2411#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2412,iy240E);
          real4 v123FA#1 = LoadVoxels<IMAGE2D<int>,4>(a2411);
          int iy2407#1 = Add<int>(_t11F1,t22417);
          addr(IMAGE2D<int>) a240A#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2412,iy2407);
          real4 v223FB#1 = LoadVoxels<IMAGE2D<int>,4>(a240A);
          int iy2400#1 = Add<int>(_t11C9,t22417);
          addr(IMAGE2D<int>) a2403#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2412,iy2400);
          real4 v323FC#1 = LoadVoxels<IMAGE2D<int>,4>(a2403);
          real fy2424#5 = Index<real2,1>(f23F5);
          real t32429#1 = Add<real>(fy2424,_t11C5);
          real t12427#1 = Sub<real>(fy2424,_t11C5);
          real t02426#1 = Sub<real>(fy2424,_t11C7);
          real4 a2425#1 = <real4>[t32429,fy2424,t12427,t02426];
          real4 hy241A#1 = EvalKernel<4,bspln3,0>(a2425);
          real fx241B#5 = Index<real2,0>(f23F5);
          real t32420#1 = Add<real>(fx241B,_t11C5);
          real t1241E#1 = Sub<real>(fx241B,_t11C5);
          real t0241D#1 = Sub<real>(fx241B,_t11C7);
          real4 a241C#1 = <real4>[t32420,fx241B,t1241E,t0241D];
          real4 hx2419#4 = EvalKernel<4,bspln3,0>(a241C);
          real t0242E#1 = Dot<4>(v023F9,hx2419);
          real t1242F#1 = Dot<4>(v123FA,hx2419);
          real t22430#1 = Dot<4>(v223FB,hx2419);
          real t32431#1 = Dot<4>(v323FC,hx2419);
          real4 tv242D#1 = <real4>[t0242E,t1242F,t22430,t32431];
          real _t23F3#1 = Dot<4>(hy241A,tv242D);
          real _t2470#2 = Sub<real>(_t2376,_t23F3);
          real _t2472#1 = Mul<real>(_t2470,_t2470);
          real score2474#1 = Add<real>(score235F,_t2472);
          goto JOIN2477
        JOIN2477:  preds = [ASSIGN2475,COND2375]
          real score2476#2 = phi(score2474,score235F)
          real _t2478#1 = Dot<2>(r011DF,v171163);
          real _t247A#1 = Dot<2>(r111E5,v171163);
          real2 _t247C#1 = <real2>[_t2478,_t247A];
          real2 pos247E#2 = Add<real2>(_t247C,_t11F5);
          real2 x2481#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos247E);
          bool _t2480#1 = Inside<IMAGE2D<float>,2>(x2481,_t1133);
          if _t2480 then goto ASSIGN2487 else goto ASSIGN382D
        ASSIGN2487:  preds = [COND2484]
          real2 x2486#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v171163);
          bool _t2485#1 = Inside<IMAGE2D<int>,2>(x2486,_t112F);
          goto JOIN248B
        JOIN248B:  preds = [ASSIGN2488,ASSIGN382D]
          bool _t2489#1 = phi(_t2485,_t248A)
          if _t2489 then goto ASSIGN3A82 else goto JOIN258E
        ASSIGN3A82:  preds = [COND248C]
          real2 nd2490#2 = Floor<2>(x2481);
          real2 f248F#2 = Sub<real2>(x2481,nd2490);
          int{2} n2491#8 = RealToInt<2>(nd2490);
          int t124AD#4 = -1;
          int t224AE#1 = Index<int{2},0>(n2491);
          int ix24AC#4 = Add<int>(t124AD,t224AE);
          int t224B1#4 = Index<int{2},1>(n2491);
          int iy24AF#1 = Add<int>(t124AD,t224B1);
          addr(IMAGE2D<float>) a24B2#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix24AC,iy24AF);
          real4 v02493#1 = LoadVoxels<IMAGE2D<float>,4>(a24B2);
          int iy24A8#1 = Add<int>(_t11ED,t224B1);
          addr(IMAGE2D<float>) a24AB#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix24AC,iy24A8);
          real4 v12494#1 = LoadVoxels<IMAGE2D<float>,4>(a24AB);
          int iy24A1#1 = Add<int>(_t11F1,t224B1);
          addr(IMAGE2D<float>) a24A4#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix24AC,iy24A1);
          real4 v22495#1 = LoadVoxels<IMAGE2D<float>,4>(a24A4);
          int iy249A#1 = Add<int>(_t11C9,t224B1);
          addr(IMAGE2D<float>) a249D#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix24AC,iy249A);
          real4 v32496#1 = LoadVoxels<IMAGE2D<float>,4>(a249D);
          real fy24BE#5 = Index<real2,1>(f248F);
          real t324C3#1 = Add<real>(fy24BE,_t11C5);
          real t124C1#1 = Sub<real>(fy24BE,_t11C5);
          real t024C0#1 = Sub<real>(fy24BE,_t11C7);
          real4 a24BF#1 = <real4>[t324C3,fy24BE,t124C1,t024C0];
          real4 hy24B4#1 = EvalKernel<4,bspln3,0>(a24BF);
          real fx24B5#5 = Index<real2,0>(f248F);
          real t324BA#1 = Add<real>(fx24B5,_t11C5);
          real t124B8#1 = Sub<real>(fx24B5,_t11C5);
          real t024B7#1 = Sub<real>(fx24B5,_t11C7);
          real4 a24B6#1 = <real4>[t324BA,fx24B5,t124B8,t024B7];
          real4 hx24B3#4 = EvalKernel<4,bspln3,0>(a24B6);
          real t024C8#1 = Dot<4>(v02493,hx24B3);
          real t124C9#1 = Dot<4>(v12494,hx24B3);
          real t224CA#1 = Dot<4>(v22495,hx24B3);
          real t324CB#1 = Dot<4>(v32496,hx24B3);
          real4 tv24C7#1 = <real4>[t024C8,t124C9,t224CA,t324CB];
          real _t248D#1 = Dot<4>(hy24B4,tv24C7);
          real2 x250B#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v171163);
          real2 nd250D#2 = Floor<2>(x250B);
          real2 f250C#2 = Sub<real2>(x250B,nd250D);
          int{2} n250E#8 = RealToInt<2>(nd250D);
          int t2252B#1 = Index<int{2},0>(n250E);
          int ix2529#4 = Add<int>(t124AD,t2252B);
          int t2252E#4 = Index<int{2},1>(n250E);
          int iy252C#1 = Add<int>(t124AD,t2252E);
          addr(IMAGE2D<int>) a252F#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2529,iy252C);
          real4 v02510#1 = LoadVoxels<IMAGE2D<int>,4>(a252F);
          int iy2525#1 = Add<int>(_t11ED,t2252E);
          addr(IMAGE2D<int>) a2528#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2529,iy2525);
          real4 v12511#1 = LoadVoxels<IMAGE2D<int>,4>(a2528);
          int iy251E#1 = Add<int>(_t11F1,t2252E);
          addr(IMAGE2D<int>) a2521#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2529,iy251E);
          real4 v22512#1 = LoadVoxels<IMAGE2D<int>,4>(a2521);
          int iy2517#1 = Add<int>(_t11C9,t2252E);
          addr(IMAGE2D<int>) a251A#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2529,iy2517);
          real4 v32513#1 = LoadVoxels<IMAGE2D<int>,4>(a251A);
          real fy253B#5 = Index<real2,1>(f250C);
          real t32540#1 = Add<real>(fy253B,_t11C5);
          real t1253E#1 = Sub<real>(fy253B,_t11C5);
          real t0253D#1 = Sub<real>(fy253B,_t11C7);
          real4 a253C#1 = <real4>[t32540,fy253B,t1253E,t0253D];
          real4 hy2531#1 = EvalKernel<4,bspln3,0>(a253C);
          real fx2532#5 = Index<real2,0>(f250C);
          real t32537#1 = Add<real>(fx2532,_t11C5);
          real t12535#1 = Sub<real>(fx2532,_t11C5);
          real t02534#1 = Sub<real>(fx2532,_t11C7);
          real4 a2533#1 = <real4>[t32537,fx2532,t12535,t02534];
          real4 hx2530#4 = EvalKernel<4,bspln3,0>(a2533);
          real t02545#1 = Dot<4>(v02510,hx2530);
          real t12546#1 = Dot<4>(v12511,hx2530);
          real t22547#1 = Dot<4>(v22512,hx2530);
          real t32548#1 = Dot<4>(v32513,hx2530);
          real4 tv2544#1 = <real4>[t02545,t12546,t22547,t32548];
          real _t250A#1 = Dot<4>(hy2531,tv2544);
          real _t2587#2 = Sub<real>(_t248D,_t250A);
          real _t2589#1 = Mul<real>(_t2587,_t2587);
          real score258B#1 = Add<real>(score2476,_t2589);
          goto JOIN258E
        JOIN258E:  preds = [ASSIGN258C,COND248C]
          real score258D#2 = phi(score258B,score2476)
          real _t258F#1 = Dot<2>(r011DF,v181165);
          real _t2591#1 = Dot<2>(r111E5,v181165);
          real2 _t2593#1 = <real2>[_t258F,_t2591];
          real2 pos2595#2 = Add<real2>(_t2593,_t11F5);
          real2 x2598#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2595);
          bool _t2597#1 = Inside<IMAGE2D<float>,2>(x2598,_t1133);
          if _t2597 then goto ASSIGN259E else goto ASSIGN382C
        ASSIGN259E:  preds = [COND259B]
          real2 x259D#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v181165);
          bool _t259C#1 = Inside<IMAGE2D<int>,2>(x259D,_t112F);
          goto JOIN25A2
        JOIN25A2:  preds = [ASSIGN259F,ASSIGN382C]
          bool _t25A0#1 = phi(_t259C,_t25A1)
          if _t25A0 then goto ASSIGN3AA3 else goto JOIN26A5
        ASSIGN3AA3:  preds = [COND25A3]
          real2 nd25A7#2 = Floor<2>(x2598);
          real2 f25A6#2 = Sub<real2>(x2598,nd25A7);
          int{2} n25A8#8 = RealToInt<2>(nd25A7);
          int t125C4#4 = -1;
          int t225C5#1 = Index<int{2},0>(n25A8);
          int ix25C3#4 = Add<int>(t125C4,t225C5);
          int t225C8#4 = Index<int{2},1>(n25A8);
          int iy25C6#1 = Add<int>(t125C4,t225C8);
          addr(IMAGE2D<float>) a25C9#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix25C3,iy25C6);
          real4 v025AA#1 = LoadVoxels<IMAGE2D<float>,4>(a25C9);
          int iy25BF#1 = Add<int>(_t11ED,t225C8);
          addr(IMAGE2D<float>) a25C2#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix25C3,iy25BF);
          real4 v125AB#1 = LoadVoxels<IMAGE2D<float>,4>(a25C2);
          int iy25B8#1 = Add<int>(_t11F1,t225C8);
          addr(IMAGE2D<float>) a25BB#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix25C3,iy25B8);
          real4 v225AC#1 = LoadVoxels<IMAGE2D<float>,4>(a25BB);
          int iy25B1#1 = Add<int>(_t11C9,t225C8);
          addr(IMAGE2D<float>) a25B4#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix25C3,iy25B1);
          real4 v325AD#1 = LoadVoxels<IMAGE2D<float>,4>(a25B4);
          real fy25D5#5 = Index<real2,1>(f25A6);
          real t325DA#1 = Add<real>(fy25D5,_t11C5);
          real t125D8#1 = Sub<real>(fy25D5,_t11C5);
          real t025D7#1 = Sub<real>(fy25D5,_t11C7);
          real4 a25D6#1 = <real4>[t325DA,fy25D5,t125D8,t025D7];
          real4 hy25CB#1 = EvalKernel<4,bspln3,0>(a25D6);
          real fx25CC#5 = Index<real2,0>(f25A6);
          real t325D1#1 = Add<real>(fx25CC,_t11C5);
          real t125CF#1 = Sub<real>(fx25CC,_t11C5);
          real t025CE#1 = Sub<real>(fx25CC,_t11C7);
          real4 a25CD#1 = <real4>[t325D1,fx25CC,t125CF,t025CE];
          real4 hx25CA#4 = EvalKernel<4,bspln3,0>(a25CD);
          real t025DF#1 = Dot<4>(v025AA,hx25CA);
          real t125E0#1 = Dot<4>(v125AB,hx25CA);
          real t225E1#1 = Dot<4>(v225AC,hx25CA);
          real t325E2#1 = Dot<4>(v325AD,hx25CA);
          real4 tv25DE#1 = <real4>[t025DF,t125E0,t225E1,t325E2];
          real _t25A4#1 = Dot<4>(hy25CB,tv25DE);
          real2 x2622#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v181165);
          real2 nd2624#2 = Floor<2>(x2622);
          real2 f2623#2 = Sub<real2>(x2622,nd2624);
          int{2} n2625#8 = RealToInt<2>(nd2624);
          int t22642#1 = Index<int{2},0>(n2625);
          int ix2640#4 = Add<int>(t125C4,t22642);
          int t22645#4 = Index<int{2},1>(n2625);
          int iy2643#1 = Add<int>(t125C4,t22645);
          addr(IMAGE2D<int>) a2646#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2640,iy2643);
          real4 v02627#1 = LoadVoxels<IMAGE2D<int>,4>(a2646);
          int iy263C#1 = Add<int>(_t11ED,t22645);
          addr(IMAGE2D<int>) a263F#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2640,iy263C);
          real4 v12628#1 = LoadVoxels<IMAGE2D<int>,4>(a263F);
          int iy2635#1 = Add<int>(_t11F1,t22645);
          addr(IMAGE2D<int>) a2638#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2640,iy2635);
          real4 v22629#1 = LoadVoxels<IMAGE2D<int>,4>(a2638);
          int iy262E#1 = Add<int>(_t11C9,t22645);
          addr(IMAGE2D<int>) a2631#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2640,iy262E);
          real4 v3262A#1 = LoadVoxels<IMAGE2D<int>,4>(a2631);
          real fy2652#5 = Index<real2,1>(f2623);
          real t32657#1 = Add<real>(fy2652,_t11C5);
          real t12655#1 = Sub<real>(fy2652,_t11C5);
          real t02654#1 = Sub<real>(fy2652,_t11C7);
          real4 a2653#1 = <real4>[t32657,fy2652,t12655,t02654];
          real4 hy2648#1 = EvalKernel<4,bspln3,0>(a2653);
          real fx2649#5 = Index<real2,0>(f2623);
          real t3264E#1 = Add<real>(fx2649,_t11C5);
          real t1264C#1 = Sub<real>(fx2649,_t11C5);
          real t0264B#1 = Sub<real>(fx2649,_t11C7);
          real4 a264A#1 = <real4>[t3264E,fx2649,t1264C,t0264B];
          real4 hx2647#4 = EvalKernel<4,bspln3,0>(a264A);
          real t0265C#1 = Dot<4>(v02627,hx2647);
          real t1265D#1 = Dot<4>(v12628,hx2647);
          real t2265E#1 = Dot<4>(v22629,hx2647);
          real t3265F#1 = Dot<4>(v3262A,hx2647);
          real4 tv265B#1 = <real4>[t0265C,t1265D,t2265E,t3265F];
          real _t2621#1 = Dot<4>(hy2648,tv265B);
          real _t269E#2 = Sub<real>(_t25A4,_t2621);
          real _t26A0#1 = Mul<real>(_t269E,_t269E);
          real score26A2#1 = Add<real>(score258D,_t26A0);
          goto JOIN26A5
        JOIN26A5:  preds = [ASSIGN26A3,COND25A3]
          real score26A4#2 = phi(score26A2,score258D)
          real _t26A6#1 = Dot<2>(r011DF,v191167);
          real _t26A8#1 = Dot<2>(r111E5,v191167);
          real2 _t26AA#1 = <real2>[_t26A6,_t26A8];
          real2 pos26AC#2 = Add<real2>(_t26AA,_t11F5);
          real2 x26AF#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos26AC);
          bool _t26AE#1 = Inside<IMAGE2D<float>,2>(x26AF,_t1133);
          if _t26AE then goto ASSIGN26B5 else goto ASSIGN382B
        ASSIGN26B5:  preds = [COND26B2]
          real2 x26B4#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v191167);
          bool _t26B3#1 = Inside<IMAGE2D<int>,2>(x26B4,_t112F);
          goto JOIN26B9
        JOIN26B9:  preds = [ASSIGN26B6,ASSIGN382B]
          bool _t26B7#1 = phi(_t26B3,_t26B8)
          if _t26B7 then goto ASSIGN3AC4 else goto JOIN27BC
        ASSIGN3AC4:  preds = [COND26BA]
          real2 nd26BE#2 = Floor<2>(x26AF);
          real2 f26BD#2 = Sub<real2>(x26AF,nd26BE);
          int{2} n26BF#8 = RealToInt<2>(nd26BE);
          int t126DB#4 = -1;
          int t226DC#1 = Index<int{2},0>(n26BF);
          int ix26DA#4 = Add<int>(t126DB,t226DC);
          int t226DF#4 = Index<int{2},1>(n26BF);
          int iy26DD#1 = Add<int>(t126DB,t226DF);
          addr(IMAGE2D<float>) a26E0#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix26DA,iy26DD);
          real4 v026C1#1 = LoadVoxels<IMAGE2D<float>,4>(a26E0);
          int iy26D6#1 = Add<int>(_t11ED,t226DF);
          addr(IMAGE2D<float>) a26D9#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix26DA,iy26D6);
          real4 v126C2#1 = LoadVoxels<IMAGE2D<float>,4>(a26D9);
          int iy26CF#1 = Add<int>(_t11F1,t226DF);
          addr(IMAGE2D<float>) a26D2#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix26DA,iy26CF);
          real4 v226C3#1 = LoadVoxels<IMAGE2D<float>,4>(a26D2);
          int iy26C8#1 = Add<int>(_t11C9,t226DF);
          addr(IMAGE2D<float>) a26CB#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix26DA,iy26C8);
          real4 v326C4#1 = LoadVoxels<IMAGE2D<float>,4>(a26CB);
          real fy26EC#5 = Index<real2,1>(f26BD);
          real t326F1#1 = Add<real>(fy26EC,_t11C5);
          real t126EF#1 = Sub<real>(fy26EC,_t11C5);
          real t026EE#1 = Sub<real>(fy26EC,_t11C7);
          real4 a26ED#1 = <real4>[t326F1,fy26EC,t126EF,t026EE];
          real4 hy26E2#1 = EvalKernel<4,bspln3,0>(a26ED);
          real fx26E3#5 = Index<real2,0>(f26BD);
          real t326E8#1 = Add<real>(fx26E3,_t11C5);
          real t126E6#1 = Sub<real>(fx26E3,_t11C5);
          real t026E5#1 = Sub<real>(fx26E3,_t11C7);
          real4 a26E4#1 = <real4>[t326E8,fx26E3,t126E6,t026E5];
          real4 hx26E1#4 = EvalKernel<4,bspln3,0>(a26E4);
          real t026F6#1 = Dot<4>(v026C1,hx26E1);
          real t126F7#1 = Dot<4>(v126C2,hx26E1);
          real t226F8#1 = Dot<4>(v226C3,hx26E1);
          real t326F9#1 = Dot<4>(v326C4,hx26E1);
          real4 tv26F5#1 = <real4>[t026F6,t126F7,t226F8,t326F9];
          real _t26BB#1 = Dot<4>(hy26E2,tv26F5);
          real2 x2739#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v191167);
          real2 nd273B#2 = Floor<2>(x2739);
          real2 f273A#2 = Sub<real2>(x2739,nd273B);
          int{2} n273C#8 = RealToInt<2>(nd273B);
          int t22759#1 = Index<int{2},0>(n273C);
          int ix2757#4 = Add<int>(t126DB,t22759);
          int t2275C#4 = Index<int{2},1>(n273C);
          int iy275A#1 = Add<int>(t126DB,t2275C);
          addr(IMAGE2D<int>) a275D#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2757,iy275A);
          real4 v0273E#1 = LoadVoxels<IMAGE2D<int>,4>(a275D);
          int iy2753#1 = Add<int>(_t11ED,t2275C);
          addr(IMAGE2D<int>) a2756#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2757,iy2753);
          real4 v1273F#1 = LoadVoxels<IMAGE2D<int>,4>(a2756);
          int iy274C#1 = Add<int>(_t11F1,t2275C);
          addr(IMAGE2D<int>) a274F#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2757,iy274C);
          real4 v22740#1 = LoadVoxels<IMAGE2D<int>,4>(a274F);
          int iy2745#1 = Add<int>(_t11C9,t2275C);
          addr(IMAGE2D<int>) a2748#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2757,iy2745);
          real4 v32741#1 = LoadVoxels<IMAGE2D<int>,4>(a2748);
          real fy2769#5 = Index<real2,1>(f273A);
          real t3276E#1 = Add<real>(fy2769,_t11C5);
          real t1276C#1 = Sub<real>(fy2769,_t11C5);
          real t0276B#1 = Sub<real>(fy2769,_t11C7);
          real4 a276A#1 = <real4>[t3276E,fy2769,t1276C,t0276B];
          real4 hy275F#1 = EvalKernel<4,bspln3,0>(a276A);
          real fx2760#5 = Index<real2,0>(f273A);
          real t32765#1 = Add<real>(fx2760,_t11C5);
          real t12763#1 = Sub<real>(fx2760,_t11C5);
          real t02762#1 = Sub<real>(fx2760,_t11C7);
          real4 a2761#1 = <real4>[t32765,fx2760,t12763,t02762];
          real4 hx275E#4 = EvalKernel<4,bspln3,0>(a2761);
          real t02773#1 = Dot<4>(v0273E,hx275E);
          real t12774#1 = Dot<4>(v1273F,hx275E);
          real t22775#1 = Dot<4>(v22740,hx275E);
          real t32776#1 = Dot<4>(v32741,hx275E);
          real4 tv2772#1 = <real4>[t02773,t12774,t22775,t32776];
          real _t2738#1 = Dot<4>(hy275F,tv2772);
          real _t27B5#2 = Sub<real>(_t26BB,_t2738);
          real _t27B7#1 = Mul<real>(_t27B5,_t27B5);
          real score27B9#1 = Add<real>(score26A4,_t27B7);
          goto JOIN27BC
        JOIN27BC:  preds = [ASSIGN27BA,COND26BA]
          real score27BB#2 = phi(score27B9,score26A4)
          real _t27BD#1 = Dot<2>(r011DF,v201169);
          real _t27BF#1 = Dot<2>(r111E5,v201169);
          real2 _t27C1#1 = <real2>[_t27BD,_t27BF];
          real2 pos27C3#2 = Add<real2>(_t27C1,_t11F5);
          real2 x27C6#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos27C3);
          bool _t27C5#1 = Inside<IMAGE2D<float>,2>(x27C6,_t1133);
          if _t27C5 then goto ASSIGN27CC else goto ASSIGN382A
        ASSIGN27CC:  preds = [COND27C9]
          real2 x27CB#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v201169);
          bool _t27CA#1 = Inside<IMAGE2D<int>,2>(x27CB,_t112F);
          goto JOIN27D0
        JOIN27D0:  preds = [ASSIGN27CD,ASSIGN382A]
          bool _t27CE#1 = phi(_t27CA,_t27CF)
          if _t27CE then goto ASSIGN3AE5 else goto JOIN28D3
        ASSIGN3AE5:  preds = [COND27D1]
          real2 nd27D5#2 = Floor<2>(x27C6);
          real2 f27D4#2 = Sub<real2>(x27C6,nd27D5);
          int{2} n27D6#8 = RealToInt<2>(nd27D5);
          int t127F2#4 = -1;
          int t227F3#1 = Index<int{2},0>(n27D6);
          int ix27F1#4 = Add<int>(t127F2,t227F3);
          int t227F6#4 = Index<int{2},1>(n27D6);
          int iy27F4#1 = Add<int>(t127F2,t227F6);
          addr(IMAGE2D<float>) a27F7#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix27F1,iy27F4);
          real4 v027D8#1 = LoadVoxels<IMAGE2D<float>,4>(a27F7);
          int iy27ED#1 = Add<int>(_t11ED,t227F6);
          addr(IMAGE2D<float>) a27F0#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix27F1,iy27ED);
          real4 v127D9#1 = LoadVoxels<IMAGE2D<float>,4>(a27F0);
          int iy27E6#1 = Add<int>(_t11F1,t227F6);
          addr(IMAGE2D<float>) a27E9#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix27F1,iy27E6);
          real4 v227DA#1 = LoadVoxels<IMAGE2D<float>,4>(a27E9);
          int iy27DF#1 = Add<int>(_t11C9,t227F6);
          addr(IMAGE2D<float>) a27E2#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix27F1,iy27DF);
          real4 v327DB#1 = LoadVoxels<IMAGE2D<float>,4>(a27E2);
          real fy2803#5 = Index<real2,1>(f27D4);
          real t32808#1 = Add<real>(fy2803,_t11C5);
          real t12806#1 = Sub<real>(fy2803,_t11C5);
          real t02805#1 = Sub<real>(fy2803,_t11C7);
          real4 a2804#1 = <real4>[t32808,fy2803,t12806,t02805];
          real4 hy27F9#1 = EvalKernel<4,bspln3,0>(a2804);
          real fx27FA#5 = Index<real2,0>(f27D4);
          real t327FF#1 = Add<real>(fx27FA,_t11C5);
          real t127FD#1 = Sub<real>(fx27FA,_t11C5);
          real t027FC#1 = Sub<real>(fx27FA,_t11C7);
          real4 a27FB#1 = <real4>[t327FF,fx27FA,t127FD,t027FC];
          real4 hx27F8#4 = EvalKernel<4,bspln3,0>(a27FB);
          real t0280D#1 = Dot<4>(v027D8,hx27F8);
          real t1280E#1 = Dot<4>(v127D9,hx27F8);
          real t2280F#1 = Dot<4>(v227DA,hx27F8);
          real t32810#1 = Dot<4>(v327DB,hx27F8);
          real4 tv280C#1 = <real4>[t0280D,t1280E,t2280F,t32810];
          real _t27D2#1 = Dot<4>(hy27F9,tv280C);
          real2 x2850#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v201169);
          real2 nd2852#2 = Floor<2>(x2850);
          real2 f2851#2 = Sub<real2>(x2850,nd2852);
          int{2} n2853#8 = RealToInt<2>(nd2852);
          int t22870#1 = Index<int{2},0>(n2853);
          int ix286E#4 = Add<int>(t127F2,t22870);
          int t22873#4 = Index<int{2},1>(n2853);
          int iy2871#1 = Add<int>(t127F2,t22873);
          addr(IMAGE2D<int>) a2874#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix286E,iy2871);
          real4 v02855#1 = LoadVoxels<IMAGE2D<int>,4>(a2874);
          int iy286A#1 = Add<int>(_t11ED,t22873);
          addr(IMAGE2D<int>) a286D#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix286E,iy286A);
          real4 v12856#1 = LoadVoxels<IMAGE2D<int>,4>(a286D);
          int iy2863#1 = Add<int>(_t11F1,t22873);
          addr(IMAGE2D<int>) a2866#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix286E,iy2863);
          real4 v22857#1 = LoadVoxels<IMAGE2D<int>,4>(a2866);
          int iy285C#1 = Add<int>(_t11C9,t22873);
          addr(IMAGE2D<int>) a285F#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix286E,iy285C);
          real4 v32858#1 = LoadVoxels<IMAGE2D<int>,4>(a285F);
          real fy2880#5 = Index<real2,1>(f2851);
          real t32885#1 = Add<real>(fy2880,_t11C5);
          real t12883#1 = Sub<real>(fy2880,_t11C5);
          real t02882#1 = Sub<real>(fy2880,_t11C7);
          real4 a2881#1 = <real4>[t32885,fy2880,t12883,t02882];
          real4 hy2876#1 = EvalKernel<4,bspln3,0>(a2881);
          real fx2877#5 = Index<real2,0>(f2851);
          real t3287C#1 = Add<real>(fx2877,_t11C5);
          real t1287A#1 = Sub<real>(fx2877,_t11C5);
          real t02879#1 = Sub<real>(fx2877,_t11C7);
          real4 a2878#1 = <real4>[t3287C,fx2877,t1287A,t02879];
          real4 hx2875#4 = EvalKernel<4,bspln3,0>(a2878);
          real t0288A#1 = Dot<4>(v02855,hx2875);
          real t1288B#1 = Dot<4>(v12856,hx2875);
          real t2288C#1 = Dot<4>(v22857,hx2875);
          real t3288D#1 = Dot<4>(v32858,hx2875);
          real4 tv2889#1 = <real4>[t0288A,t1288B,t2288C,t3288D];
          real _t284F#1 = Dot<4>(hy2876,tv2889);
          real _t28CC#2 = Sub<real>(_t27D2,_t284F);
          real _t28CE#1 = Mul<real>(_t28CC,_t28CC);
          real score28D0#1 = Add<real>(score27BB,_t28CE);
          goto JOIN28D3
        JOIN28D3:  preds = [ASSIGN28D1,COND27D1]
          real score28D2#2 = phi(score28D0,score27BB)
          real _t28D4#1 = Dot<2>(r011DF,v21116B);
          real _t28D6#1 = Dot<2>(r111E5,v21116B);
          real2 _t28D8#1 = <real2>[_t28D4,_t28D6];
          real2 pos28DA#2 = Add<real2>(_t28D8,_t11F5);
          real2 x28DD#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos28DA);
          bool _t28DC#1 = Inside<IMAGE2D<float>,2>(x28DD,_t1133);
          if _t28DC then goto ASSIGN28E3 else goto ASSIGN3829
        ASSIGN28E3:  preds = [COND28E0]
          real2 x28E2#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v21116B);
          bool _t28E1#1 = Inside<IMAGE2D<int>,2>(x28E2,_t112F);
          goto JOIN28E7
        JOIN28E7:  preds = [ASSIGN28E4,ASSIGN3829]
          bool _t28E5#1 = phi(_t28E1,_t28E6)
          if _t28E5 then goto ASSIGN3B06 else goto JOIN29EA
        ASSIGN3B06:  preds = [COND28E8]
          real2 nd28EC#2 = Floor<2>(x28DD);
          real2 f28EB#2 = Sub<real2>(x28DD,nd28EC);
          int{2} n28ED#8 = RealToInt<2>(nd28EC);
          int t12909#4 = -1;
          int t2290A#1 = Index<int{2},0>(n28ED);
          int ix2908#4 = Add<int>(t12909,t2290A);
          int t2290D#4 = Index<int{2},1>(n28ED);
          int iy290B#1 = Add<int>(t12909,t2290D);
          addr(IMAGE2D<float>) a290E#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2908,iy290B);
          real4 v028EF#1 = LoadVoxels<IMAGE2D<float>,4>(a290E);
          int iy2904#1 = Add<int>(_t11ED,t2290D);
          addr(IMAGE2D<float>) a2907#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2908,iy2904);
          real4 v128F0#1 = LoadVoxels<IMAGE2D<float>,4>(a2907);
          int iy28FD#1 = Add<int>(_t11F1,t2290D);
          addr(IMAGE2D<float>) a2900#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2908,iy28FD);
          real4 v228F1#1 = LoadVoxels<IMAGE2D<float>,4>(a2900);
          int iy28F6#1 = Add<int>(_t11C9,t2290D);
          addr(IMAGE2D<float>) a28F9#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2908,iy28F6);
          real4 v328F2#1 = LoadVoxels<IMAGE2D<float>,4>(a28F9);
          real fy291A#5 = Index<real2,1>(f28EB);
          real t3291F#1 = Add<real>(fy291A,_t11C5);
          real t1291D#1 = Sub<real>(fy291A,_t11C5);
          real t0291C#1 = Sub<real>(fy291A,_t11C7);
          real4 a291B#1 = <real4>[t3291F,fy291A,t1291D,t0291C];
          real4 hy2910#1 = EvalKernel<4,bspln3,0>(a291B);
          real fx2911#5 = Index<real2,0>(f28EB);
          real t32916#1 = Add<real>(fx2911,_t11C5);
          real t12914#1 = Sub<real>(fx2911,_t11C5);
          real t02913#1 = Sub<real>(fx2911,_t11C7);
          real4 a2912#1 = <real4>[t32916,fx2911,t12914,t02913];
          real4 hx290F#4 = EvalKernel<4,bspln3,0>(a2912);
          real t02924#1 = Dot<4>(v028EF,hx290F);
          real t12925#1 = Dot<4>(v128F0,hx290F);
          real t22926#1 = Dot<4>(v228F1,hx290F);
          real t32927#1 = Dot<4>(v328F2,hx290F);
          real4 tv2923#1 = <real4>[t02924,t12925,t22926,t32927];
          real _t28E9#1 = Dot<4>(hy2910,tv2923);
          real2 x2967#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v21116B);
          real2 nd2969#2 = Floor<2>(x2967);
          real2 f2968#2 = Sub<real2>(x2967,nd2969);
          int{2} n296A#8 = RealToInt<2>(nd2969);
          int t22987#1 = Index<int{2},0>(n296A);
          int ix2985#4 = Add<int>(t12909,t22987);
          int t2298A#4 = Index<int{2},1>(n296A);
          int iy2988#1 = Add<int>(t12909,t2298A);
          addr(IMAGE2D<int>) a298B#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2985,iy2988);
          real4 v0296C#1 = LoadVoxels<IMAGE2D<int>,4>(a298B);
          int iy2981#1 = Add<int>(_t11ED,t2298A);
          addr(IMAGE2D<int>) a2984#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2985,iy2981);
          real4 v1296D#1 = LoadVoxels<IMAGE2D<int>,4>(a2984);
          int iy297A#1 = Add<int>(_t11F1,t2298A);
          addr(IMAGE2D<int>) a297D#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2985,iy297A);
          real4 v2296E#1 = LoadVoxels<IMAGE2D<int>,4>(a297D);
          int iy2973#1 = Add<int>(_t11C9,t2298A);
          addr(IMAGE2D<int>) a2976#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2985,iy2973);
          real4 v3296F#1 = LoadVoxels<IMAGE2D<int>,4>(a2976);
          real fy2997#5 = Index<real2,1>(f2968);
          real t3299C#1 = Add<real>(fy2997,_t11C5);
          real t1299A#1 = Sub<real>(fy2997,_t11C5);
          real t02999#1 = Sub<real>(fy2997,_t11C7);
          real4 a2998#1 = <real4>[t3299C,fy2997,t1299A,t02999];
          real4 hy298D#1 = EvalKernel<4,bspln3,0>(a2998);
          real fx298E#5 = Index<real2,0>(f2968);
          real t32993#1 = Add<real>(fx298E,_t11C5);
          real t12991#1 = Sub<real>(fx298E,_t11C5);
          real t02990#1 = Sub<real>(fx298E,_t11C7);
          real4 a298F#1 = <real4>[t32993,fx298E,t12991,t02990];
          real4 hx298C#4 = EvalKernel<4,bspln3,0>(a298F);
          real t029A1#1 = Dot<4>(v0296C,hx298C);
          real t129A2#1 = Dot<4>(v1296D,hx298C);
          real t229A3#1 = Dot<4>(v2296E,hx298C);
          real t329A4#1 = Dot<4>(v3296F,hx298C);
          real4 tv29A0#1 = <real4>[t029A1,t129A2,t229A3,t329A4];
          real _t2966#1 = Dot<4>(hy298D,tv29A0);
          real _t29E3#2 = Sub<real>(_t28E9,_t2966);
          real _t29E5#1 = Mul<real>(_t29E3,_t29E3);
          real score29E7#1 = Add<real>(score28D2,_t29E5);
          goto JOIN29EA
        JOIN29EA:  preds = [ASSIGN29E8,COND28E8]
          real score29E9#2 = phi(score29E7,score28D2)
          real _t29EB#1 = Dot<2>(r011DF,v22116D);
          real _t29ED#1 = Dot<2>(r111E5,v22116D);
          real2 _t29EF#1 = <real2>[_t29EB,_t29ED];
          real2 pos29F1#2 = Add<real2>(_t29EF,_t11F5);
          real2 x29F4#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos29F1);
          bool _t29F3#1 = Inside<IMAGE2D<float>,2>(x29F4,_t1133);
          if _t29F3 then goto ASSIGN29FA else goto ASSIGN3828
        ASSIGN29FA:  preds = [COND29F7]
          real2 x29F9#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v22116D);
          bool _t29F8#1 = Inside<IMAGE2D<int>,2>(x29F9,_t112F);
          goto JOIN29FE
        JOIN29FE:  preds = [ASSIGN29FB,ASSIGN3828]
          bool _t29FC#1 = phi(_t29F8,_t29FD)
          if _t29FC then goto ASSIGN3B27 else goto JOIN2B01
        ASSIGN3B27:  preds = [COND29FF]
          real2 nd2A03#2 = Floor<2>(x29F4);
          real2 f2A02#2 = Sub<real2>(x29F4,nd2A03);
          int{2} n2A04#8 = RealToInt<2>(nd2A03);
          int t12A20#4 = -1;
          int t22A21#1 = Index<int{2},0>(n2A04);
          int ix2A1F#4 = Add<int>(t12A20,t22A21);
          int t22A24#4 = Index<int{2},1>(n2A04);
          int iy2A22#1 = Add<int>(t12A20,t22A24);
          addr(IMAGE2D<float>) a2A25#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2A1F,iy2A22);
          real4 v02A06#1 = LoadVoxels<IMAGE2D<float>,4>(a2A25);
          int iy2A1B#1 = Add<int>(_t11ED,t22A24);
          addr(IMAGE2D<float>) a2A1E#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2A1F,iy2A1B);
          real4 v12A07#1 = LoadVoxels<IMAGE2D<float>,4>(a2A1E);
          int iy2A14#1 = Add<int>(_t11F1,t22A24);
          addr(IMAGE2D<float>) a2A17#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2A1F,iy2A14);
          real4 v22A08#1 = LoadVoxels<IMAGE2D<float>,4>(a2A17);
          int iy2A0D#1 = Add<int>(_t11C9,t22A24);
          addr(IMAGE2D<float>) a2A10#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2A1F,iy2A0D);
          real4 v32A09#1 = LoadVoxels<IMAGE2D<float>,4>(a2A10);
          real fy2A31#5 = Index<real2,1>(f2A02);
          real t32A36#1 = Add<real>(fy2A31,_t11C5);
          real t12A34#1 = Sub<real>(fy2A31,_t11C5);
          real t02A33#1 = Sub<real>(fy2A31,_t11C7);
          real4 a2A32#1 = <real4>[t32A36,fy2A31,t12A34,t02A33];
          real4 hy2A27#1 = EvalKernel<4,bspln3,0>(a2A32);
          real fx2A28#5 = Index<real2,0>(f2A02);
          real t32A2D#1 = Add<real>(fx2A28,_t11C5);
          real t12A2B#1 = Sub<real>(fx2A28,_t11C5);
          real t02A2A#1 = Sub<real>(fx2A28,_t11C7);
          real4 a2A29#1 = <real4>[t32A2D,fx2A28,t12A2B,t02A2A];
          real4 hx2A26#4 = EvalKernel<4,bspln3,0>(a2A29);
          real t02A3B#1 = Dot<4>(v02A06,hx2A26);
          real t12A3C#1 = Dot<4>(v12A07,hx2A26);
          real t22A3D#1 = Dot<4>(v22A08,hx2A26);
          real t32A3E#1 = Dot<4>(v32A09,hx2A26);
          real4 tv2A3A#1 = <real4>[t02A3B,t12A3C,t22A3D,t32A3E];
          real _t2A00#1 = Dot<4>(hy2A27,tv2A3A);
          real2 x2A7E#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v22116D);
          real2 nd2A80#2 = Floor<2>(x2A7E);
          real2 f2A7F#2 = Sub<real2>(x2A7E,nd2A80);
          int{2} n2A81#8 = RealToInt<2>(nd2A80);
          int t22A9E#1 = Index<int{2},0>(n2A81);
          int ix2A9C#4 = Add<int>(t12A20,t22A9E);
          int t22AA1#4 = Index<int{2},1>(n2A81);
          int iy2A9F#1 = Add<int>(t12A20,t22AA1);
          addr(IMAGE2D<int>) a2AA2#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2A9C,iy2A9F);
          real4 v02A83#1 = LoadVoxels<IMAGE2D<int>,4>(a2AA2);
          int iy2A98#1 = Add<int>(_t11ED,t22AA1);
          addr(IMAGE2D<int>) a2A9B#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2A9C,iy2A98);
          real4 v12A84#1 = LoadVoxels<IMAGE2D<int>,4>(a2A9B);
          int iy2A91#1 = Add<int>(_t11F1,t22AA1);
          addr(IMAGE2D<int>) a2A94#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2A9C,iy2A91);
          real4 v22A85#1 = LoadVoxels<IMAGE2D<int>,4>(a2A94);
          int iy2A8A#1 = Add<int>(_t11C9,t22AA1);
          addr(IMAGE2D<int>) a2A8D#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2A9C,iy2A8A);
          real4 v32A86#1 = LoadVoxels<IMAGE2D<int>,4>(a2A8D);
          real fy2AAE#5 = Index<real2,1>(f2A7F);
          real t32AB3#1 = Add<real>(fy2AAE,_t11C5);
          real t12AB1#1 = Sub<real>(fy2AAE,_t11C5);
          real t02AB0#1 = Sub<real>(fy2AAE,_t11C7);
          real4 a2AAF#1 = <real4>[t32AB3,fy2AAE,t12AB1,t02AB0];
          real4 hy2AA4#1 = EvalKernel<4,bspln3,0>(a2AAF);
          real fx2AA5#5 = Index<real2,0>(f2A7F);
          real t32AAA#1 = Add<real>(fx2AA5,_t11C5);
          real t12AA8#1 = Sub<real>(fx2AA5,_t11C5);
          real t02AA7#1 = Sub<real>(fx2AA5,_t11C7);
          real4 a2AA6#1 = <real4>[t32AAA,fx2AA5,t12AA8,t02AA7];
          real4 hx2AA3#4 = EvalKernel<4,bspln3,0>(a2AA6);
          real t02AB8#1 = Dot<4>(v02A83,hx2AA3);
          real t12AB9#1 = Dot<4>(v12A84,hx2AA3);
          real t22ABA#1 = Dot<4>(v22A85,hx2AA3);
          real t32ABB#1 = Dot<4>(v32A86,hx2AA3);
          real4 tv2AB7#1 = <real4>[t02AB8,t12AB9,t22ABA,t32ABB];
          real _t2A7D#1 = Dot<4>(hy2AA4,tv2AB7);
          real _t2AFA#2 = Sub<real>(_t2A00,_t2A7D);
          real _t2AFC#1 = Mul<real>(_t2AFA,_t2AFA);
          real score2AFE#1 = Add<real>(score29E9,_t2AFC);
          goto JOIN2B01
        JOIN2B01:  preds = [ASSIGN2AFF,COND29FF]
          real score2B00#2 = phi(score2AFE,score29E9)
          real _t2B02#1 = Dot<2>(r011DF,v23116F);
          real _t2B04#1 = Dot<2>(r111E5,v23116F);
          real2 _t2B06#1 = <real2>[_t2B02,_t2B04];
          real2 pos2B08#2 = Add<real2>(_t2B06,_t11F5);
          real2 x2B0B#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2B08);
          bool _t2B0A#1 = Inside<IMAGE2D<float>,2>(x2B0B,_t1133);
          if _t2B0A then goto ASSIGN2B11 else goto ASSIGN3827
        ASSIGN2B11:  preds = [COND2B0E]
          real2 x2B10#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v23116F);
          bool _t2B0F#1 = Inside<IMAGE2D<int>,2>(x2B10,_t112F);
          goto JOIN2B15
        JOIN2B15:  preds = [ASSIGN2B12,ASSIGN3827]
          bool _t2B13#1 = phi(_t2B0F,_t2B14)
          if _t2B13 then goto ASSIGN3B48 else goto JOIN2C18
        ASSIGN3B48:  preds = [COND2B16]
          real2 nd2B1A#2 = Floor<2>(x2B0B);
          real2 f2B19#2 = Sub<real2>(x2B0B,nd2B1A);
          int{2} n2B1B#8 = RealToInt<2>(nd2B1A);
          int t12B37#4 = -1;
          int t22B38#1 = Index<int{2},0>(n2B1B);
          int ix2B36#4 = Add<int>(t12B37,t22B38);
          int t22B3B#4 = Index<int{2},1>(n2B1B);
          int iy2B39#1 = Add<int>(t12B37,t22B3B);
          addr(IMAGE2D<float>) a2B3C#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2B36,iy2B39);
          real4 v02B1D#1 = LoadVoxels<IMAGE2D<float>,4>(a2B3C);
          int iy2B32#1 = Add<int>(_t11ED,t22B3B);
          addr(IMAGE2D<float>) a2B35#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2B36,iy2B32);
          real4 v12B1E#1 = LoadVoxels<IMAGE2D<float>,4>(a2B35);
          int iy2B2B#1 = Add<int>(_t11F1,t22B3B);
          addr(IMAGE2D<float>) a2B2E#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2B36,iy2B2B);
          real4 v22B1F#1 = LoadVoxels<IMAGE2D<float>,4>(a2B2E);
          int iy2B24#1 = Add<int>(_t11C9,t22B3B);
          addr(IMAGE2D<float>) a2B27#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2B36,iy2B24);
          real4 v32B20#1 = LoadVoxels<IMAGE2D<float>,4>(a2B27);
          real fy2B48#5 = Index<real2,1>(f2B19);
          real t32B4D#1 = Add<real>(fy2B48,_t11C5);
          real t12B4B#1 = Sub<real>(fy2B48,_t11C5);
          real t02B4A#1 = Sub<real>(fy2B48,_t11C7);
          real4 a2B49#1 = <real4>[t32B4D,fy2B48,t12B4B,t02B4A];
          real4 hy2B3E#1 = EvalKernel<4,bspln3,0>(a2B49);
          real fx2B3F#5 = Index<real2,0>(f2B19);
          real t32B44#1 = Add<real>(fx2B3F,_t11C5);
          real t12B42#1 = Sub<real>(fx2B3F,_t11C5);
          real t02B41#1 = Sub<real>(fx2B3F,_t11C7);
          real4 a2B40#1 = <real4>[t32B44,fx2B3F,t12B42,t02B41];
          real4 hx2B3D#4 = EvalKernel<4,bspln3,0>(a2B40);
          real t02B52#1 = Dot<4>(v02B1D,hx2B3D);
          real t12B53#1 = Dot<4>(v12B1E,hx2B3D);
          real t22B54#1 = Dot<4>(v22B1F,hx2B3D);
          real t32B55#1 = Dot<4>(v32B20,hx2B3D);
          real4 tv2B51#1 = <real4>[t02B52,t12B53,t22B54,t32B55];
          real _t2B17#1 = Dot<4>(hy2B3E,tv2B51);
          real2 x2B95#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v23116F);
          real2 nd2B97#2 = Floor<2>(x2B95);
          real2 f2B96#2 = Sub<real2>(x2B95,nd2B97);
          int{2} n2B98#8 = RealToInt<2>(nd2B97);
          int t22BB5#1 = Index<int{2},0>(n2B98);
          int ix2BB3#4 = Add<int>(t12B37,t22BB5);
          int t22BB8#4 = Index<int{2},1>(n2B98);
          int iy2BB6#1 = Add<int>(t12B37,t22BB8);
          addr(IMAGE2D<int>) a2BB9#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2BB3,iy2BB6);
          real4 v02B9A#1 = LoadVoxels<IMAGE2D<int>,4>(a2BB9);
          int iy2BAF#1 = Add<int>(_t11ED,t22BB8);
          addr(IMAGE2D<int>) a2BB2#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2BB3,iy2BAF);
          real4 v12B9B#1 = LoadVoxels<IMAGE2D<int>,4>(a2BB2);
          int iy2BA8#1 = Add<int>(_t11F1,t22BB8);
          addr(IMAGE2D<int>) a2BAB#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2BB3,iy2BA8);
          real4 v22B9C#1 = LoadVoxels<IMAGE2D<int>,4>(a2BAB);
          int iy2BA1#1 = Add<int>(_t11C9,t22BB8);
          addr(IMAGE2D<int>) a2BA4#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2BB3,iy2BA1);
          real4 v32B9D#1 = LoadVoxels<IMAGE2D<int>,4>(a2BA4);
          real fy2BC5#5 = Index<real2,1>(f2B96);
          real t32BCA#1 = Add<real>(fy2BC5,_t11C5);
          real t12BC8#1 = Sub<real>(fy2BC5,_t11C5);
          real t02BC7#1 = Sub<real>(fy2BC5,_t11C7);
          real4 a2BC6#1 = <real4>[t32BCA,fy2BC5,t12BC8,t02BC7];
          real4 hy2BBB#1 = EvalKernel<4,bspln3,0>(a2BC6);
          real fx2BBC#5 = Index<real2,0>(f2B96);
          real t32BC1#1 = Add<real>(fx2BBC,_t11C5);
          real t12BBF#1 = Sub<real>(fx2BBC,_t11C5);
          real t02BBE#1 = Sub<real>(fx2BBC,_t11C7);
          real4 a2BBD#1 = <real4>[t32BC1,fx2BBC,t12BBF,t02BBE];
          real4 hx2BBA#4 = EvalKernel<4,bspln3,0>(a2BBD);
          real t02BCF#1 = Dot<4>(v02B9A,hx2BBA);
          real t12BD0#1 = Dot<4>(v12B9B,hx2BBA);
          real t22BD1#1 = Dot<4>(v22B9C,hx2BBA);
          real t32BD2#1 = Dot<4>(v32B9D,hx2BBA);
          real4 tv2BCE#1 = <real4>[t02BCF,t12BD0,t22BD1,t32BD2];
          real _t2B94#1 = Dot<4>(hy2BBB,tv2BCE);
          real _t2C11#2 = Sub<real>(_t2B17,_t2B94);
          real _t2C13#1 = Mul<real>(_t2C11,_t2C11);
          real score2C15#1 = Add<real>(score2B00,_t2C13);
          goto JOIN2C18
        JOIN2C18:  preds = [ASSIGN2C16,COND2B16]
          real score2C17#2 = phi(score2C15,score2B00)
          real _t2C19#1 = Dot<2>(r011DF,v241171);
          real _t2C1B#1 = Dot<2>(r111E5,v241171);
          real2 _t2C1D#1 = <real2>[_t2C19,_t2C1B];
          real2 pos2C1F#2 = Add<real2>(_t2C1D,_t11F5);
          real2 x2C22#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2C1F);
          bool _t2C21#1 = Inside<IMAGE2D<float>,2>(x2C22,_t1133);
          if _t2C21 then goto ASSIGN2C28 else goto ASSIGN3826
        ASSIGN2C28:  preds = [COND2C25]
          real2 x2C27#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v241171);
          bool _t2C26#1 = Inside<IMAGE2D<int>,2>(x2C27,_t112F);
          goto JOIN2C2C
        JOIN2C2C:  preds = [ASSIGN2C29,ASSIGN3826]
          bool _t2C2A#1 = phi(_t2C26,_t2C2B)
          if _t2C2A then goto ASSIGN3B69 else goto JOIN2D2F
        ASSIGN3B69:  preds = [COND2C2D]
          real2 nd2C31#2 = Floor<2>(x2C22);
          real2 f2C30#2 = Sub<real2>(x2C22,nd2C31);
          int{2} n2C32#8 = RealToInt<2>(nd2C31);
          int t12C4E#4 = -1;
          int t22C4F#1 = Index<int{2},0>(n2C32);
          int ix2C4D#4 = Add<int>(t12C4E,t22C4F);
          int t22C52#4 = Index<int{2},1>(n2C32);
          int iy2C50#1 = Add<int>(t12C4E,t22C52);
          addr(IMAGE2D<float>) a2C53#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2C4D,iy2C50);
          real4 v02C34#1 = LoadVoxels<IMAGE2D<float>,4>(a2C53);
          int iy2C49#1 = Add<int>(_t11ED,t22C52);
          addr(IMAGE2D<float>) a2C4C#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2C4D,iy2C49);
          real4 v12C35#1 = LoadVoxels<IMAGE2D<float>,4>(a2C4C);
          int iy2C42#1 = Add<int>(_t11F1,t22C52);
          addr(IMAGE2D<float>) a2C45#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2C4D,iy2C42);
          real4 v22C36#1 = LoadVoxels<IMAGE2D<float>,4>(a2C45);
          int iy2C3B#1 = Add<int>(_t11C9,t22C52);
          addr(IMAGE2D<float>) a2C3E#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2C4D,iy2C3B);
          real4 v32C37#1 = LoadVoxels<IMAGE2D<float>,4>(a2C3E);
          real fy2C5F#5 = Index<real2,1>(f2C30);
          real t32C64#1 = Add<real>(fy2C5F,_t11C5);
          real t12C62#1 = Sub<real>(fy2C5F,_t11C5);
          real t02C61#1 = Sub<real>(fy2C5F,_t11C7);
          real4 a2C60#1 = <real4>[t32C64,fy2C5F,t12C62,t02C61];
          real4 hy2C55#1 = EvalKernel<4,bspln3,0>(a2C60);
          real fx2C56#5 = Index<real2,0>(f2C30);
          real t32C5B#1 = Add<real>(fx2C56,_t11C5);
          real t12C59#1 = Sub<real>(fx2C56,_t11C5);
          real t02C58#1 = Sub<real>(fx2C56,_t11C7);
          real4 a2C57#1 = <real4>[t32C5B,fx2C56,t12C59,t02C58];
          real4 hx2C54#4 = EvalKernel<4,bspln3,0>(a2C57);
          real t02C69#1 = Dot<4>(v02C34,hx2C54);
          real t12C6A#1 = Dot<4>(v12C35,hx2C54);
          real t22C6B#1 = Dot<4>(v22C36,hx2C54);
          real t32C6C#1 = Dot<4>(v32C37,hx2C54);
          real4 tv2C68#1 = <real4>[t02C69,t12C6A,t22C6B,t32C6C];
          real _t2C2E#1 = Dot<4>(hy2C55,tv2C68);
          real2 x2CAC#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v241171);
          real2 nd2CAE#2 = Floor<2>(x2CAC);
          real2 f2CAD#2 = Sub<real2>(x2CAC,nd2CAE);
          int{2} n2CAF#8 = RealToInt<2>(nd2CAE);
          int t22CCC#1 = Index<int{2},0>(n2CAF);
          int ix2CCA#4 = Add<int>(t12C4E,t22CCC);
          int t22CCF#4 = Index<int{2},1>(n2CAF);
          int iy2CCD#1 = Add<int>(t12C4E,t22CCF);
          addr(IMAGE2D<int>) a2CD0#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2CCA,iy2CCD);
          real4 v02CB1#1 = LoadVoxels<IMAGE2D<int>,4>(a2CD0);
          int iy2CC6#1 = Add<int>(_t11ED,t22CCF);
          addr(IMAGE2D<int>) a2CC9#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2CCA,iy2CC6);
          real4 v12CB2#1 = LoadVoxels<IMAGE2D<int>,4>(a2CC9);
          int iy2CBF#1 = Add<int>(_t11F1,t22CCF);
          addr(IMAGE2D<int>) a2CC2#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2CCA,iy2CBF);
          real4 v22CB3#1 = LoadVoxels<IMAGE2D<int>,4>(a2CC2);
          int iy2CB8#1 = Add<int>(_t11C9,t22CCF);
          addr(IMAGE2D<int>) a2CBB#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2CCA,iy2CB8);
          real4 v32CB4#1 = LoadVoxels<IMAGE2D<int>,4>(a2CBB);
          real fy2CDC#5 = Index<real2,1>(f2CAD);
          real t32CE1#1 = Add<real>(fy2CDC,_t11C5);
          real t12CDF#1 = Sub<real>(fy2CDC,_t11C5);
          real t02CDE#1 = Sub<real>(fy2CDC,_t11C7);
          real4 a2CDD#1 = <real4>[t32CE1,fy2CDC,t12CDF,t02CDE];
          real4 hy2CD2#1 = EvalKernel<4,bspln3,0>(a2CDD);
          real fx2CD3#5 = Index<real2,0>(f2CAD);
          real t32CD8#1 = Add<real>(fx2CD3,_t11C5);
          real t12CD6#1 = Sub<real>(fx2CD3,_t11C5);
          real t02CD5#1 = Sub<real>(fx2CD3,_t11C7);
          real4 a2CD4#1 = <real4>[t32CD8,fx2CD3,t12CD6,t02CD5];
          real4 hx2CD1#4 = EvalKernel<4,bspln3,0>(a2CD4);
          real t02CE6#1 = Dot<4>(v02CB1,hx2CD1);
          real t12CE7#1 = Dot<4>(v12CB2,hx2CD1);
          real t22CE8#1 = Dot<4>(v22CB3,hx2CD1);
          real t32CE9#1 = Dot<4>(v32CB4,hx2CD1);
          real4 tv2CE5#1 = <real4>[t02CE6,t12CE7,t22CE8,t32CE9];
          real _t2CAB#1 = Dot<4>(hy2CD2,tv2CE5);
          real _t2D28#2 = Sub<real>(_t2C2E,_t2CAB);
          real _t2D2A#1 = Mul<real>(_t2D28,_t2D28);
          real score2D2C#1 = Add<real>(score2C17,_t2D2A);
          goto JOIN2D2F
        JOIN2D2F:  preds = [ASSIGN2D2D,COND2C2D]
          real score2D2E#2 = phi(score2D2C,score2C17)
          real _t2D30#1 = Dot<2>(r011DF,v251173);
          real _t2D32#1 = Dot<2>(r111E5,v251173);
          real2 _t2D34#1 = <real2>[_t2D30,_t2D32];
          real2 pos2D36#2 = Add<real2>(_t2D34,_t11F5);
          real2 x2D39#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2D36);
          bool _t2D38#1 = Inside<IMAGE2D<float>,2>(x2D39,_t1133);
          if _t2D38 then goto ASSIGN2D3F else goto ASSIGN3825
        ASSIGN2D3F:  preds = [COND2D3C]
          real2 x2D3E#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v251173);
          bool _t2D3D#1 = Inside<IMAGE2D<int>,2>(x2D3E,_t112F);
          goto JOIN2D43
        JOIN2D43:  preds = [ASSIGN2D40,ASSIGN3825]
          bool _t2D41#1 = phi(_t2D3D,_t2D42)
          if _t2D41 then goto ASSIGN3B8A else goto JOIN2E46
        ASSIGN3B8A:  preds = [COND2D44]
          real2 nd2D48#2 = Floor<2>(x2D39);
          real2 f2D47#2 = Sub<real2>(x2D39,nd2D48);
          int{2} n2D49#8 = RealToInt<2>(nd2D48);
          int t12D65#4 = -1;
          int t22D66#1 = Index<int{2},0>(n2D49);
          int ix2D64#4 = Add<int>(t12D65,t22D66);
          int t22D69#4 = Index<int{2},1>(n2D49);
          int iy2D67#1 = Add<int>(t12D65,t22D69);
          addr(IMAGE2D<float>) a2D6A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2D64,iy2D67);
          real4 v02D4B#1 = LoadVoxels<IMAGE2D<float>,4>(a2D6A);
          int iy2D60#1 = Add<int>(_t11ED,t22D69);
          addr(IMAGE2D<float>) a2D63#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2D64,iy2D60);
          real4 v12D4C#1 = LoadVoxels<IMAGE2D<float>,4>(a2D63);
          int iy2D59#1 = Add<int>(_t11F1,t22D69);
          addr(IMAGE2D<float>) a2D5C#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2D64,iy2D59);
          real4 v22D4D#1 = LoadVoxels<IMAGE2D<float>,4>(a2D5C);
          int iy2D52#1 = Add<int>(_t11C9,t22D69);
          addr(IMAGE2D<float>) a2D55#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2D64,iy2D52);
          real4 v32D4E#1 = LoadVoxels<IMAGE2D<float>,4>(a2D55);
          real fy2D76#5 = Index<real2,1>(f2D47);
          real t32D7B#1 = Add<real>(fy2D76,_t11C5);
          real t12D79#1 = Sub<real>(fy2D76,_t11C5);
          real t02D78#1 = Sub<real>(fy2D76,_t11C7);
          real4 a2D77#1 = <real4>[t32D7B,fy2D76,t12D79,t02D78];
          real4 hy2D6C#1 = EvalKernel<4,bspln3,0>(a2D77);
          real fx2D6D#5 = Index<real2,0>(f2D47);
          real t32D72#1 = Add<real>(fx2D6D,_t11C5);
          real t12D70#1 = Sub<real>(fx2D6D,_t11C5);
          real t02D6F#1 = Sub<real>(fx2D6D,_t11C7);
          real4 a2D6E#1 = <real4>[t32D72,fx2D6D,t12D70,t02D6F];
          real4 hx2D6B#4 = EvalKernel<4,bspln3,0>(a2D6E);
          real t02D80#1 = Dot<4>(v02D4B,hx2D6B);
          real t12D81#1 = Dot<4>(v12D4C,hx2D6B);
          real t22D82#1 = Dot<4>(v22D4D,hx2D6B);
          real t32D83#1 = Dot<4>(v32D4E,hx2D6B);
          real4 tv2D7F#1 = <real4>[t02D80,t12D81,t22D82,t32D83];
          real _t2D45#1 = Dot<4>(hy2D6C,tv2D7F);
          real2 x2DC3#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v251173);
          real2 nd2DC5#2 = Floor<2>(x2DC3);
          real2 f2DC4#2 = Sub<real2>(x2DC3,nd2DC5);
          int{2} n2DC6#8 = RealToInt<2>(nd2DC5);
          int t22DE3#1 = Index<int{2},0>(n2DC6);
          int ix2DE1#4 = Add<int>(t12D65,t22DE3);
          int t22DE6#4 = Index<int{2},1>(n2DC6);
          int iy2DE4#1 = Add<int>(t12D65,t22DE6);
          addr(IMAGE2D<int>) a2DE7#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2DE1,iy2DE4);
          real4 v02DC8#1 = LoadVoxels<IMAGE2D<int>,4>(a2DE7);
          int iy2DDD#1 = Add<int>(_t11ED,t22DE6);
          addr(IMAGE2D<int>) a2DE0#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2DE1,iy2DDD);
          real4 v12DC9#1 = LoadVoxels<IMAGE2D<int>,4>(a2DE0);
          int iy2DD6#1 = Add<int>(_t11F1,t22DE6);
          addr(IMAGE2D<int>) a2DD9#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2DE1,iy2DD6);
          real4 v22DCA#1 = LoadVoxels<IMAGE2D<int>,4>(a2DD9);
          int iy2DCF#1 = Add<int>(_t11C9,t22DE6);
          addr(IMAGE2D<int>) a2DD2#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2DE1,iy2DCF);
          real4 v32DCB#1 = LoadVoxels<IMAGE2D<int>,4>(a2DD2);
          real fy2DF3#5 = Index<real2,1>(f2DC4);
          real t32DF8#1 = Add<real>(fy2DF3,_t11C5);
          real t12DF6#1 = Sub<real>(fy2DF3,_t11C5);
          real t02DF5#1 = Sub<real>(fy2DF3,_t11C7);
          real4 a2DF4#1 = <real4>[t32DF8,fy2DF3,t12DF6,t02DF5];
          real4 hy2DE9#1 = EvalKernel<4,bspln3,0>(a2DF4);
          real fx2DEA#5 = Index<real2,0>(f2DC4);
          real t32DEF#1 = Add<real>(fx2DEA,_t11C5);
          real t12DED#1 = Sub<real>(fx2DEA,_t11C5);
          real t02DEC#1 = Sub<real>(fx2DEA,_t11C7);
          real4 a2DEB#1 = <real4>[t32DEF,fx2DEA,t12DED,t02DEC];
          real4 hx2DE8#4 = EvalKernel<4,bspln3,0>(a2DEB);
          real t02DFD#1 = Dot<4>(v02DC8,hx2DE8);
          real t12DFE#1 = Dot<4>(v12DC9,hx2DE8);
          real t22DFF#1 = Dot<4>(v22DCA,hx2DE8);
          real t32E00#1 = Dot<4>(v32DCB,hx2DE8);
          real4 tv2DFC#1 = <real4>[t02DFD,t12DFE,t22DFF,t32E00];
          real _t2DC2#1 = Dot<4>(hy2DE9,tv2DFC);
          real _t2E3F#2 = Sub<real>(_t2D45,_t2DC2);
          real _t2E41#1 = Mul<real>(_t2E3F,_t2E3F);
          real score2E43#1 = Add<real>(score2D2E,_t2E41);
          goto JOIN2E46
        JOIN2E46:  preds = [ASSIGN2E44,COND2D44]
          real score2E45#2 = phi(score2E43,score2D2E)
          real _t2E47#1 = Dot<2>(r011DF,v261175);
          real _t2E49#1 = Dot<2>(r111E5,v261175);
          real2 _t2E4B#1 = <real2>[_t2E47,_t2E49];
          real2 pos2E4D#2 = Add<real2>(_t2E4B,_t11F5);
          real2 x2E50#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2E4D);
          bool _t2E4F#1 = Inside<IMAGE2D<float>,2>(x2E50,_t1133);
          if _t2E4F then goto ASSIGN2E56 else goto ASSIGN3824
        ASSIGN2E56:  preds = [COND2E53]
          real2 x2E55#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v261175);
          bool _t2E54#1 = Inside<IMAGE2D<int>,2>(x2E55,_t112F);
          goto JOIN2E5A
        JOIN2E5A:  preds = [ASSIGN2E57,ASSIGN3824]
          bool _t2E58#1 = phi(_t2E54,_t2E59)
          if _t2E58 then goto ASSIGN3BAB else goto JOIN2F5D
        ASSIGN3BAB:  preds = [COND2E5B]
          real2 nd2E5F#2 = Floor<2>(x2E50);
          real2 f2E5E#2 = Sub<real2>(x2E50,nd2E5F);
          int{2} n2E60#8 = RealToInt<2>(nd2E5F);
          int t12E7C#4 = -1;
          int t22E7D#1 = Index<int{2},0>(n2E60);
          int ix2E7B#4 = Add<int>(t12E7C,t22E7D);
          int t22E80#4 = Index<int{2},1>(n2E60);
          int iy2E7E#1 = Add<int>(t12E7C,t22E80);
          addr(IMAGE2D<float>) a2E81#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2E7B,iy2E7E);
          real4 v02E62#1 = LoadVoxels<IMAGE2D<float>,4>(a2E81);
          int iy2E77#1 = Add<int>(_t11ED,t22E80);
          addr(IMAGE2D<float>) a2E7A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2E7B,iy2E77);
          real4 v12E63#1 = LoadVoxels<IMAGE2D<float>,4>(a2E7A);
          int iy2E70#1 = Add<int>(_t11F1,t22E80);
          addr(IMAGE2D<float>) a2E73#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2E7B,iy2E70);
          real4 v22E64#1 = LoadVoxels<IMAGE2D<float>,4>(a2E73);
          int iy2E69#1 = Add<int>(_t11C9,t22E80);
          addr(IMAGE2D<float>) a2E6C#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2E7B,iy2E69);
          real4 v32E65#1 = LoadVoxels<IMAGE2D<float>,4>(a2E6C);
          real fy2E8D#5 = Index<real2,1>(f2E5E);
          real t32E92#1 = Add<real>(fy2E8D,_t11C5);
          real t12E90#1 = Sub<real>(fy2E8D,_t11C5);
          real t02E8F#1 = Sub<real>(fy2E8D,_t11C7);
          real4 a2E8E#1 = <real4>[t32E92,fy2E8D,t12E90,t02E8F];
          real4 hy2E83#1 = EvalKernel<4,bspln3,0>(a2E8E);
          real fx2E84#5 = Index<real2,0>(f2E5E);
          real t32E89#1 = Add<real>(fx2E84,_t11C5);
          real t12E87#1 = Sub<real>(fx2E84,_t11C5);
          real t02E86#1 = Sub<real>(fx2E84,_t11C7);
          real4 a2E85#1 = <real4>[t32E89,fx2E84,t12E87,t02E86];
          real4 hx2E82#4 = EvalKernel<4,bspln3,0>(a2E85);
          real t02E97#1 = Dot<4>(v02E62,hx2E82);
          real t12E98#1 = Dot<4>(v12E63,hx2E82);
          real t22E99#1 = Dot<4>(v22E64,hx2E82);
          real t32E9A#1 = Dot<4>(v32E65,hx2E82);
          real4 tv2E96#1 = <real4>[t02E97,t12E98,t22E99,t32E9A];
          real _t2E5C#1 = Dot<4>(hy2E83,tv2E96);
          real2 x2EDA#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v261175);
          real2 nd2EDC#2 = Floor<2>(x2EDA);
          real2 f2EDB#2 = Sub<real2>(x2EDA,nd2EDC);
          int{2} n2EDD#8 = RealToInt<2>(nd2EDC);
          int t22EFA#1 = Index<int{2},0>(n2EDD);
          int ix2EF8#4 = Add<int>(t12E7C,t22EFA);
          int t22EFD#4 = Index<int{2},1>(n2EDD);
          int iy2EFB#1 = Add<int>(t12E7C,t22EFD);
          addr(IMAGE2D<int>) a2EFE#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2EF8,iy2EFB);
          real4 v02EDF#1 = LoadVoxels<IMAGE2D<int>,4>(a2EFE);
          int iy2EF4#1 = Add<int>(_t11ED,t22EFD);
          addr(IMAGE2D<int>) a2EF7#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2EF8,iy2EF4);
          real4 v12EE0#1 = LoadVoxels<IMAGE2D<int>,4>(a2EF7);
          int iy2EED#1 = Add<int>(_t11F1,t22EFD);
          addr(IMAGE2D<int>) a2EF0#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2EF8,iy2EED);
          real4 v22EE1#1 = LoadVoxels<IMAGE2D<int>,4>(a2EF0);
          int iy2EE6#1 = Add<int>(_t11C9,t22EFD);
          addr(IMAGE2D<int>) a2EE9#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix2EF8,iy2EE6);
          real4 v32EE2#1 = LoadVoxels<IMAGE2D<int>,4>(a2EE9);
          real fy2F0A#5 = Index<real2,1>(f2EDB);
          real t32F0F#1 = Add<real>(fy2F0A,_t11C5);
          real t12F0D#1 = Sub<real>(fy2F0A,_t11C5);
          real t02F0C#1 = Sub<real>(fy2F0A,_t11C7);
          real4 a2F0B#1 = <real4>[t32F0F,fy2F0A,t12F0D,t02F0C];
          real4 hy2F00#1 = EvalKernel<4,bspln3,0>(a2F0B);
          real fx2F01#5 = Index<real2,0>(f2EDB);
          real t32F06#1 = Add<real>(fx2F01,_t11C5);
          real t12F04#1 = Sub<real>(fx2F01,_t11C5);
          real t02F03#1 = Sub<real>(fx2F01,_t11C7);
          real4 a2F02#1 = <real4>[t32F06,fx2F01,t12F04,t02F03];
          real4 hx2EFF#4 = EvalKernel<4,bspln3,0>(a2F02);
          real t02F14#1 = Dot<4>(v02EDF,hx2EFF);
          real t12F15#1 = Dot<4>(v12EE0,hx2EFF);
          real t22F16#1 = Dot<4>(v22EE1,hx2EFF);
          real t32F17#1 = Dot<4>(v32EE2,hx2EFF);
          real4 tv2F13#1 = <real4>[t02F14,t12F15,t22F16,t32F17];
          real _t2ED9#1 = Dot<4>(hy2F00,tv2F13);
          real _t2F56#2 = Sub<real>(_t2E5C,_t2ED9);
          real _t2F58#1 = Mul<real>(_t2F56,_t2F56);
          real score2F5A#1 = Add<real>(score2E45,_t2F58);
          goto JOIN2F5D
        JOIN2F5D:  preds = [ASSIGN2F5B,COND2E5B]
          real score2F5C#2 = phi(score2F5A,score2E45)
          real _t2F5E#1 = Dot<2>(r011DF,v271177);
          real _t2F60#1 = Dot<2>(r111E5,v271177);
          real2 _t2F62#1 = <real2>[_t2F5E,_t2F60];
          real2 pos2F64#2 = Add<real2>(_t2F62,_t11F5);
          real2 x2F67#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos2F64);
          bool _t2F66#1 = Inside<IMAGE2D<float>,2>(x2F67,_t1133);
          if _t2F66 then goto ASSIGN2F6D else goto ASSIGN3823
        ASSIGN2F6D:  preds = [COND2F6A]
          real2 x2F6C#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v271177);
          bool _t2F6B#1 = Inside<IMAGE2D<int>,2>(x2F6C,_t112F);
          goto JOIN2F71
        JOIN2F71:  preds = [ASSIGN2F6E,ASSIGN3823]
          bool _t2F6F#1 = phi(_t2F6B,_t2F70)
          if _t2F6F then goto ASSIGN3BCC else goto JOIN3074
        ASSIGN3BCC:  preds = [COND2F72]
          real2 nd2F76#2 = Floor<2>(x2F67);
          real2 f2F75#2 = Sub<real2>(x2F67,nd2F76);
          int{2} n2F77#8 = RealToInt<2>(nd2F76);
          int t12F93#4 = -1;
          int t22F94#1 = Index<int{2},0>(n2F77);
          int ix2F92#4 = Add<int>(t12F93,t22F94);
          int t22F97#4 = Index<int{2},1>(n2F77);
          int iy2F95#1 = Add<int>(t12F93,t22F97);
          addr(IMAGE2D<float>) a2F98#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2F92,iy2F95);
          real4 v02F79#1 = LoadVoxels<IMAGE2D<float>,4>(a2F98);
          int iy2F8E#1 = Add<int>(_t11ED,t22F97);
          addr(IMAGE2D<float>) a2F91#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2F92,iy2F8E);
          real4 v12F7A#1 = LoadVoxels<IMAGE2D<float>,4>(a2F91);
          int iy2F87#1 = Add<int>(_t11F1,t22F97);
          addr(IMAGE2D<float>) a2F8A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2F92,iy2F87);
          real4 v22F7B#1 = LoadVoxels<IMAGE2D<float>,4>(a2F8A);
          int iy2F80#1 = Add<int>(_t11C9,t22F97);
          addr(IMAGE2D<float>) a2F83#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix2F92,iy2F80);
          real4 v32F7C#1 = LoadVoxels<IMAGE2D<float>,4>(a2F83);
          real fy2FA4#5 = Index<real2,1>(f2F75);
          real t32FA9#1 = Add<real>(fy2FA4,_t11C5);
          real t12FA7#1 = Sub<real>(fy2FA4,_t11C5);
          real t02FA6#1 = Sub<real>(fy2FA4,_t11C7);
          real4 a2FA5#1 = <real4>[t32FA9,fy2FA4,t12FA7,t02FA6];
          real4 hy2F9A#1 = EvalKernel<4,bspln3,0>(a2FA5);
          real fx2F9B#5 = Index<real2,0>(f2F75);
          real t32FA0#1 = Add<real>(fx2F9B,_t11C5);
          real t12F9E#1 = Sub<real>(fx2F9B,_t11C5);
          real t02F9D#1 = Sub<real>(fx2F9B,_t11C7);
          real4 a2F9C#1 = <real4>[t32FA0,fx2F9B,t12F9E,t02F9D];
          real4 hx2F99#4 = EvalKernel<4,bspln3,0>(a2F9C);
          real t02FAE#1 = Dot<4>(v02F79,hx2F99);
          real t12FAF#1 = Dot<4>(v12F7A,hx2F99);
          real t22FB0#1 = Dot<4>(v22F7B,hx2F99);
          real t32FB1#1 = Dot<4>(v32F7C,hx2F99);
          real4 tv2FAD#1 = <real4>[t02FAE,t12FAF,t22FB0,t32FB1];
          real _t2F73#1 = Dot<4>(hy2F9A,tv2FAD);
          real2 x2FF1#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v271177);
          real2 nd2FF3#2 = Floor<2>(x2FF1);
          real2 f2FF2#2 = Sub<real2>(x2FF1,nd2FF3);
          int{2} n2FF4#8 = RealToInt<2>(nd2FF3);
          int t23011#1 = Index<int{2},0>(n2FF4);
          int ix300F#4 = Add<int>(t12F93,t23011);
          int t23014#4 = Index<int{2},1>(n2FF4);
          int iy3012#1 = Add<int>(t12F93,t23014);
          addr(IMAGE2D<int>) a3015#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix300F,iy3012);
          real4 v02FF6#1 = LoadVoxels<IMAGE2D<int>,4>(a3015);
          int iy300B#1 = Add<int>(_t11ED,t23014);
          addr(IMAGE2D<int>) a300E#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix300F,iy300B);
          real4 v12FF7#1 = LoadVoxels<IMAGE2D<int>,4>(a300E);
          int iy3004#1 = Add<int>(_t11F1,t23014);
          addr(IMAGE2D<int>) a3007#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix300F,iy3004);
          real4 v22FF8#1 = LoadVoxels<IMAGE2D<int>,4>(a3007);
          int iy2FFD#1 = Add<int>(_t11C9,t23014);
          addr(IMAGE2D<int>) a3000#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix300F,iy2FFD);
          real4 v32FF9#1 = LoadVoxels<IMAGE2D<int>,4>(a3000);
          real fy3021#5 = Index<real2,1>(f2FF2);
          real t33026#1 = Add<real>(fy3021,_t11C5);
          real t13024#1 = Sub<real>(fy3021,_t11C5);
          real t03023#1 = Sub<real>(fy3021,_t11C7);
          real4 a3022#1 = <real4>[t33026,fy3021,t13024,t03023];
          real4 hy3017#1 = EvalKernel<4,bspln3,0>(a3022);
          real fx3018#5 = Index<real2,0>(f2FF2);
          real t3301D#1 = Add<real>(fx3018,_t11C5);
          real t1301B#1 = Sub<real>(fx3018,_t11C5);
          real t0301A#1 = Sub<real>(fx3018,_t11C7);
          real4 a3019#1 = <real4>[t3301D,fx3018,t1301B,t0301A];
          real4 hx3016#4 = EvalKernel<4,bspln3,0>(a3019);
          real t0302B#1 = Dot<4>(v02FF6,hx3016);
          real t1302C#1 = Dot<4>(v12FF7,hx3016);
          real t2302D#1 = Dot<4>(v22FF8,hx3016);
          real t3302E#1 = Dot<4>(v32FF9,hx3016);
          real4 tv302A#1 = <real4>[t0302B,t1302C,t2302D,t3302E];
          real _t2FF0#1 = Dot<4>(hy3017,tv302A);
          real _t306D#2 = Sub<real>(_t2F73,_t2FF0);
          real _t306F#1 = Mul<real>(_t306D,_t306D);
          real score3071#1 = Add<real>(score2F5C,_t306F);
          goto JOIN3074
        JOIN3074:  preds = [ASSIGN3072,COND2F72]
          real score3073#2 = phi(score3071,score2F5C)
          real _t3075#1 = Dot<2>(r011DF,v281179);
          real _t3077#1 = Dot<2>(r111E5,v281179);
          real2 _t3079#1 = <real2>[_t3075,_t3077];
          real2 pos307B#2 = Add<real2>(_t3079,_t11F5);
          real2 x307E#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos307B);
          bool _t307D#1 = Inside<IMAGE2D<float>,2>(x307E,_t1133);
          if _t307D then goto ASSIGN3084 else goto ASSIGN3822
        ASSIGN3084:  preds = [COND3081]
          real2 x3083#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v281179);
          bool _t3082#1 = Inside<IMAGE2D<int>,2>(x3083,_t112F);
          goto JOIN3088
        JOIN3088:  preds = [ASSIGN3085,ASSIGN3822]
          bool _t3086#1 = phi(_t3082,_t3087)
          if _t3086 then goto ASSIGN3BED else goto JOIN318B
        ASSIGN3BED:  preds = [COND3089]
          real2 nd308D#2 = Floor<2>(x307E);
          real2 f308C#2 = Sub<real2>(x307E,nd308D);
          int{2} n308E#8 = RealToInt<2>(nd308D);
          int t130AA#4 = -1;
          int t230AB#1 = Index<int{2},0>(n308E);
          int ix30A9#4 = Add<int>(t130AA,t230AB);
          int t230AE#4 = Index<int{2},1>(n308E);
          int iy30AC#1 = Add<int>(t130AA,t230AE);
          addr(IMAGE2D<float>) a30AF#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix30A9,iy30AC);
          real4 v03090#1 = LoadVoxels<IMAGE2D<float>,4>(a30AF);
          int iy30A5#1 = Add<int>(_t11ED,t230AE);
          addr(IMAGE2D<float>) a30A8#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix30A9,iy30A5);
          real4 v13091#1 = LoadVoxels<IMAGE2D<float>,4>(a30A8);
          int iy309E#1 = Add<int>(_t11F1,t230AE);
          addr(IMAGE2D<float>) a30A1#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix30A9,iy309E);
          real4 v23092#1 = LoadVoxels<IMAGE2D<float>,4>(a30A1);
          int iy3097#1 = Add<int>(_t11C9,t230AE);
          addr(IMAGE2D<float>) a309A#1 = VoxelAddress<IMAGE2D<float>,0>(_t1133,ix30A9,iy3097);
          real4 v33093#1 = LoadVoxels<IMAGE2D<float>,4>(a309A);
          real fy30BB#5 = Index<real2,1>(f308C);
          real t330C0#1 = Add<real>(fy30BB,_t11C5);
          real t130BE#1 = Sub<real>(fy30BB,_t11C5);
          real t030BD#1 = Sub<real>(fy30BB,_t11C7);
          real4 a30BC#1 = <real4>[t330C0,fy30BB,t130BE,t030BD];
          real4 hy30B1#1 = EvalKernel<4,bspln3,0>(a30BC);
          real fx30B2#5 = Index<real2,0>(f308C);
          real t330B7#1 = Add<real>(fx30B2,_t11C5);
          real t130B5#1 = Sub<real>(fx30B2,_t11C5);
          real t030B4#1 = Sub<real>(fx30B2,_t11C7);
          real4 a30B3#1 = <real4>[t330B7,fx30B2,t130B5,t030B4];
          real4 hx30B0#4 = EvalKernel<4,bspln3,0>(a30B3);
          real t030C5#1 = Dot<4>(v03090,hx30B0);
          real t130C6#1 = Dot<4>(v13091,hx30B0);
          real t230C7#1 = Dot<4>(v23092,hx30B0);
          real t330C8#1 = Dot<4>(v33093,hx30B0);
          real4 tv30C4#1 = <real4>[t030C5,t130C6,t230C7,t330C8];
          real _t308A#1 = Dot<4>(hy30B1,tv30C4);
          real2 x3108#2 = PosToImgSpace<IMAGE2D<int>>(_t112F,v281179);
          real2 nd310A#2 = Floor<2>(x3108);
          real2 f3109#2 = Sub<real2>(x3108,nd310A);
          int{2} n310B#8 = RealToInt<2>(nd310A);
          int t23128#1 = Index<int{2},0>(n310B);
          int ix3126#4 = Add<int>(t130AA,t23128);
          int t2312B#4 = Index<int{2},1>(n310B);
          int iy3129#1 = Add<int>(t130AA,t2312B);
          addr(IMAGE2D<int>) a312C#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3126,iy3129);
          real4 v0310D#1 = LoadVoxels<IMAGE2D<int>,4>(a312C);
          int iy3122#1 = Add<int>(_t11ED,t2312B);
          addr(IMAGE2D<int>) a3125#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3126,iy3122);
          real4 v1310E#1 = LoadVoxels<IMAGE2D<int>,4>(a3125);
          int iy311B#1 = Add<int>(_t11F1,t2312B);
          addr(IMAGE2D<int>) a311E#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3126,iy311B);
          real4 v2310F#1 = LoadVoxels<IMAGE2D<int>,4>(a311E);
          int iy3114#1 = Add<int>(_t11C9,t2312B);
          addr(IMAGE2D<int>) a3117#1 = VoxelAddress<IMAGE2D<int>,0>(_t112F,ix3126,iy3114);
          real4 v33110#1 = LoadVoxels<IMAGE2D<int>,4>(a3117);
          real fy3138#5 = Index<real2,1>(f3109);
          real t3313D#1 = Add<real>(fy3138,_t11C5);
          real t1313B#1 = Sub<real>(fy3138,_t11C5);
          real t0313A#1 = Sub<real>(fy3138,_t11C7);
          real4 a3139#1 = <real4>[t3313D,fy3138,t1313B,t0313A];
          real4 hy312E#1 = EvalKernel<4,bspln3,0>(a3139);
          real fx312F#5 = Index<real2,0>(f3109);
          real t33134#1 = Add<real>(fx312F,_t11C5);
          real t13132#1 = Sub<real>(fx312F,_t11C5);
          real t03131#1 = Sub<real>(fx312F,_t11C7);
          real4 a3130#1 = <real4>[t33134,fx312F,t13132,t03131];
          real4 hx312D#4 = EvalKernel<4,bspln3,0>(a3130);
          real t03142#1 = Dot<4>(v0310D,hx312D);
          real t13143#1 = Dot<4>(v1310E,hx312D);
          real t23144#1 = Dot<4>(v2310F,hx312D);
          real t33145#1 = Dot<4>(v33110,hx312D);
          real4 tv3141#1 = <real4>[t03142,t13143,t23144,t33145];
          real _t3107#1 = Dot<4>(hy312E,tv3141);
          real _t3184#2 = Sub<real>(_t308A,_t3107);
          real _t3186#1 = Mul<real>(_t3184,_t3184);
          real score3188#1 = Add<real>(score3073,_t3186);
          goto JOIN318B
        JOIN318B:  preds = [ASSIGN3189,COND3089]
          real score318A#2 = phi(score3188,score3073)
          real _t318C#1 = Dot<2>(r011DF,v29117B);
          real _t318E#1 = Dot<2>(r111E5,v29117B);
          real2 _t3190#1 = <real2>[_t318C,_t318E];
          real2 pos3192#2 = Add<real2>(_t3190,_t11F5);
          real2 x3195#3 = PosToImgSpace<IMAGE2D<float>>(_t1133,pos3192);
          bool _t3194#1 = Inside<IMAGE2D<float>,2>(x3195,_t1133);
          if _t3194 then goto ASSIGN319B else goto ASSIGN3821
        ASSIGN319B:  preds = [COND3198]
          real2 x319A#1 = PosToImgSpace<IMAGE2D<int>>(_t112F,v29117B);
          bool _t3199#1 = Inside<IMAGE2D<int>,2>(x319A,_t112F);
          goto JOIN319F
        JOIN319F:  preds = [ASSIGN319C,ASSIGN3821]
          bool _t319D#1 = phi(_t3199,_t319E)
          if _t319D then goto ASSIGN3C0E else goto JOIN32A2
        ASSIGN3C0E:  preds = [COND31A0]
          real2 nd31A4#2 = Floor<2>(x3195);
          real2 f31A3#2 = Sub<real2>(x3195,nd31A4);
          int{2} n31A5#8 = RealToInt<2>(nd31A4);
          int t131C1#4 = -1;