int triBoxOverlap(float minCorner[3], float maxCorner[3], float vert0[3],
                  float vert1[3], float vert2[3]) {
  float v0[3], v1[3], v2[3];
  float min, max, p0, p1, p2, rad, fex, fey, fez;
  float normal[3], e0[3], e1[3], e2[3];
  float boxcenter[3];
  float boxhalfsize[3];
  boxcenter[0] = (minCorner[0] + maxCorner[0]) * 0.5;
  boxcenter[1] = (minCorner[1] + maxCorner[1]) * 0.5;
  boxcenter[2] = (minCorner[2] + maxCorner[2]) * 0.5;
  ;
  boxhalfsize[0] = boxcenter[0] - minCorner[0];
  boxhalfsize[1] = boxcenter[1] - minCorner[1];
  boxhalfsize[2] = boxcenter[2] - minCorner[2];
  ;
  v0[0] = vert0[0] - boxcenter[0];
  v0[1] = vert0[1] - boxcenter[1];
  v0[2] = vert0[2] - boxcenter[2];
  ;
  v1[0] = vert1[0] - boxcenter[0];
  v1[1] = vert1[1] - boxcenter[1];
  v1[2] = vert1[2] - boxcenter[2];
  ;
  v2[0] = vert2[0] - boxcenter[0];
  v2[1] = vert2[1] - boxcenter[1];
  v2[2] = vert2[2] - boxcenter[2];
  ;
  e0[0] = v1[0] - v0[0];
  e0[1] = v1[1] - v0[1];
  e0[2] = v1[2] - v0[2];
  ;
  e1[0] = v2[0] - v1[0];
  e1[1] = v2[1] - v1[1];
  e1[2] = v2[2] - v1[2];
  ;
  e2[0] = v0[0] - v2[0];
  e2[1] = v0[1] - v2[1];
  e2[2] = v0[2] - v2[2];
  ;
  fex = fabsf(e0[0]);
  fey = fabsf(e0[1]);
  fez = fabsf(e0[2]);
  p0 = e0[2] * v0[1] - e0[1] * v0[2];
  p2 = e0[2] * v2[1] - e0[1] * v2[2];
  if (p0 < p2) {
    min = p0;
    max = p2;
  } else {
    min = p2;
    max = p0;
  }
  rad = fez * boxhalfsize[1] + fey * boxhalfsize[2];
  if (min > rad || max < -rad)
    return 0;
  ;
  p0 = -e0[2] * v0[0] + e0[0] * v0[2];
  p2 = -e0[2] * v2[0] + e0[0] * v2[2];
  if (p0 < p2) {
    min = p0;
    max = p2;
  } else {
    min = p2;
    max = p0;
  }
  rad = fez * boxhalfsize[0] + fex * boxhalfsize[2];
  if (min > rad || max < -rad)
    return 0;
  ;
  p1 = e0[1] * v1[0] - e0[0] * v1[1];
  p2 = e0[1] * v2[0] - e0[0] * v2[1];
  if (p2 < p1) {
    min = p2;
    max = p1;
  } else {
    min = p1;
    max = p2;
  }
  rad = fey * boxhalfsize[0] + fex * boxhalfsize[1];
  if (min > rad || max < -rad)
    return 0;
  ;
  fex = fabsf(e1[0]);
  fey = fabsf(e1[1]);
  fez = fabsf(e1[2]);
  p0 = e1[2] * v0[1] - e1[1] * v0[2];
  p2 = e1[2] * v2[1] - e1[1] * v2[2];
  if (p0 < p2) {
    min = p0;
    max = p2;
  } else {
    min = p2;
    max = p0;
  }
  rad = fez * boxhalfsize[1] + fey * boxhalfsize[2];
  if (min > rad || max < -rad)
    return 0;
  ;
  p0 = -e1[2] * v0[0] + e1[0] * v0[2];
  p2 = -e1[2] * v2[0] + e1[0] * v2[2];
  if (p0 < p2) {
    min = p0;
    max = p2;
  } else {
    min = p2;
    max = p0;
  }
  rad = fez * boxhalfsize[0] + fex * boxhalfsize[2];
  if (min > rad || max < -rad)
    return 0;
  ;
  p0 = e1[1] * v0[0] - e1[0] * v0[1];
  p1 = e1[1] * v1[0] - e1[0] * v1[1];
  if (p0 < p1) {
    min = p0;
    max = p1;
  } else {
    min = p1;
    max = p0;
  }
  rad = fey * boxhalfsize[0] + fex * boxhalfsize[1];
  if (min > rad || max < -rad)
    return 0;
  ;
  fex = fabsf(e2[0]);
  fey = fabsf(e2[1]);
  fez = fabsf(e2[2]);
  p0 = e2[2] * v0[1] - e2[1] * v0[2];
  p1 = e2[2] * v1[1] - e2[1] * v1[2];
  if (p0 < p1) {
    min = p0;
    max = p1;
  } else {
    min = p1;
    max = p0;
  }
  rad = fez * boxhalfsize[1] + fey * boxhalfsize[2];
  if (min > rad || max < -rad)
    return 0;
  ;
  p0 = -e2[2] * v0[0] + e2[0] * v0[2];
  p1 = -e2[2] * v1[0] + e2[0] * v1[2];
  if (p0 < p1) {
    min = p0;
    max = p1;
  } else {
    min = p1;
    max = p0;
  }
  rad = fez * boxhalfsize[0] + fex * boxhalfsize[2];
  if (min > rad || max < -rad)
    return 0;
  ;
  p1 = e2[1] * v1[0] - e2[0] * v1[1];
  p2 = e2[1] * v2[0] - e2[0] * v2[1];
  if (p2 < p1) {
    min = p2;
    max = p1;
  } else {
    min = p1;
    max = p2;
  }
  rad = fey * boxhalfsize[0] + fex * boxhalfsize[1];
  if (min > rad || max < -rad)
    return 0;
  ;
  min = max = v0[0];
  if (v1[0] < min)
    min = v1[0];
  if (v1[0] > max)
    max = v1[0];
  if (v2[0] < min)
    min = v2[0];
  if (v2[0] > max)
    max = v2[0];
  ;
  if (min > boxhalfsize[0] || max < -boxhalfsize[0])
    return 0;
  min = max = v0[1];
  if (v1[1] < min)
    min = v1[1];
  if (v1[1] > max)
    max = v1[1];
  if (v2[1] < min)
    min = v2[1];
  if (v2[1] > max)
    max = v2[1];
  ;
  if (min > boxhalfsize[1] || max < -boxhalfsize[1])
    return 0;
  min = max = v0[2];
  if (v1[2] < min)
    min = v1[2];
  if (v1[2] > max)
    max = v1[2];
  if (v2[2] < min)
    min = v2[2];
  if (v2[2] > max)
    max = v2[2];
  ;
  if (min > boxhalfsize[2] || max < -boxhalfsize[2])
    return 0;
  normal[0] = e0[1] * e1[2] - e0[2] * e1[1];
  normal[1] = e0[2] * e1[0] - e0[0] * e1[2];
  normal[2] = e0[0] * e1[1] - e0[1] * e1[0];
  ;
  if (!planeBoxOverlap(normal, v0, boxhalfsize))
    return 0;
  return 1;
}


x86 assembly (clang, -O0):
<triBoxOverlap>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
mov    %r8,-0x30(%rbp)
mov    -0x10(%rbp),%rax
movss  (%rax),%xmm0
mov    -0x18(%rbp),%rax
addss  (%rax),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0x1ec5(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xb4(%rbp)
ff
mov    -0x10(%rbp),%rax
movss  0x4(%rax),%xmm0
mov    -0x18(%rbp),%rax
addss  0x4(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0x1e97(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xb0(%rbp)
ff
mov    -0x10(%rbp),%rax
movss  0x8(%rax),%xmm0
mov    -0x18(%rbp),%rax
addss  0x8(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0x1e69(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xac(%rbp)
ff
movss  -0xb4(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
subss  (%rax),%xmm0
movss  %xmm0,-0xc0(%rbp)
ff
movss  -0xb0(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
subss  0x4(%rax),%xmm0
movss  %xmm0,-0xbc(%rbp)
ff
movss  -0xac(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
subss  0x8(%rax),%xmm0
movss  %xmm0,-0xb8(%rbp)
mov    -0x20(%rbp),%rax
movss  (%rax),%xmm0
subss  -0xb4(%rbp),%xmm0
ff
movss  %xmm0,-0x3c(%rbp)
mov    -0x20(%rbp),%rax
movss  0x4(%rax),%xmm0
subss  -0xb0(%rbp),%xmm0
ff
movss  %xmm0,-0x38(%rbp)
mov    -0x20(%rbp),%rax
movss  0x8(%rax),%xmm0
subss  -0xac(%rbp),%xmm0
ff
movss  %xmm0,-0x34(%rbp)
mov    -0x28(%rbp),%rax
movss  (%rax),%xmm0
subss  -0xb4(%rbp),%xmm0
ff
movss  %xmm0,-0x48(%rbp)
mov    -0x28(%rbp),%rax
movss  0x4(%rax),%xmm0
subss  -0xb0(%rbp),%xmm0
ff
movss  %xmm0,-0x44(%rbp)
mov    -0x28(%rbp),%rax
movss  0x8(%rax),%xmm0
subss  -0xac(%rbp),%xmm0
ff
movss  %xmm0,-0x40(%rbp)
mov    -0x30(%rbp),%rax
movss  (%rax),%xmm0
subss  -0xb4(%rbp),%xmm0
ff
movss  %xmm0,-0x54(%rbp)
mov    -0x30(%rbp),%rax
movss  0x4(%rax),%xmm0
subss  -0xb0(%rbp),%xmm0
ff
movss  %xmm0,-0x50(%rbp)
mov    -0x30(%rbp),%rax
movss  0x8(%rax),%xmm0
subss  -0xac(%rbp),%xmm0
ff
movss  %xmm0,-0x4c(%rbp)
movss  -0x48(%rbp),%xmm0
subss  -0x3c(%rbp),%xmm0
movss  %xmm0,-0x90(%rbp)
ff
movss  -0x44(%rbp),%xmm0
subss  -0x38(%rbp),%xmm0
movss  %xmm0,-0x8c(%rbp)
ff
movss  -0x40(%rbp),%xmm0
subss  -0x34(%rbp),%xmm0
movss  %xmm0,-0x88(%rbp)
ff
movss  -0x54(%rbp),%xmm0
subss  -0x48(%rbp),%xmm0
movss  %xmm0,-0x9c(%rbp)
ff
movss  -0x50(%rbp),%xmm0
subss  -0x44(%rbp),%xmm0
movss  %xmm0,-0x98(%rbp)
ff
movss  -0x4c(%rbp),%xmm0
subss  -0x40(%rbp),%xmm0
movss  %xmm0,-0x94(%rbp)
ff
movss  -0x3c(%rbp),%xmm0
subss  -0x54(%rbp),%xmm0
movss  %xmm0,-0xa8(%rbp)
ff
movss  -0x38(%rbp),%xmm0
subss  -0x50(%rbp),%xmm0
movss  %xmm0,-0xa4(%rbp)
ff
movss  -0x34(%rbp),%xmm0
subss  -0x4c(%rbp),%xmm0
movss  %xmm0,-0xa0(%rbp)
ff
movss  -0x90(%rbp),%xmm0
ff
movaps 0x1c8b(%rip),%xmm1
pand   %xmm1,%xmm0
movss  %xmm0,-0x70(%rbp)
movss  -0x8c(%rbp),%xmm0
ff
movaps 0x1c73(%rip),%xmm1
pand   %xmm1,%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0x88(%rbp),%xmm0
ff
movaps 0x1c5b(%rip),%xmm1
pand   %xmm1,%xmm0
movss  %xmm0,-0x78(%rbp)
movss  -0x88(%rbp),%xmm0
ff
movss  -0x38(%rbp),%xmm2
movss  -0x8c(%rbp),%xmm1
ff
mulss  -0x34(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x60(%rbp)
movss  -0x88(%rbp),%xmm0
ff
movss  -0x50(%rbp),%xmm2
movss  -0x8c(%rbp),%xmm1
ff
mulss  -0x4c(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x68(%rbp)
movss  -0x60(%rbp),%xmm1
movss  -0x68(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    1442 <triBoxOverlap+0x332>
movss  -0x60(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x68(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
jmp    1456 <triBoxOverlap+0x346>
movss  -0x68(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x60(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x78(%rbp),%xmm0
movss  -0xbc(%rbp),%xmm2
ff
movss  -0x74(%rbp),%xmm1
mulss  -0xb8(%rbp),%xmm1
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x6c(%rbp)
movss  -0x58(%rbp),%xmm0
ucomiss -0x6c(%rbp),%xmm0
ja     14ac <triBoxOverlap+0x39c>
movss  -0x5c(%rbp),%xmm1
movss  -0x6c(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
ucomiss %xmm1,%xmm0
jbe    14b8 <triBoxOverlap+0x3a8>
movl   $0x0,-0x4(%rbp)
jmp    20b2 <triBoxOverlap+0xfa2>
movss  -0x88(%rbp),%xmm0
ff
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  -0x3c(%rbp),%xmm2
movss  -0x90(%rbp),%xmm1
ff
mulss  -0x34(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x60(%rbp)
movss  -0x88(%rbp),%xmm0
ff
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  -0x54(%rbp),%xmm2
movss  -0x90(%rbp),%xmm1
ff
mulss  -0x4c(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x68(%rbp)
movss  -0x60(%rbp),%xmm1
movss  -0x68(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    154c <triBoxOverlap+0x43c>
movss  -0x60(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x68(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
jmp    1560 <triBoxOverlap+0x450>
movss  -0x68(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x60(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x78(%rbp),%xmm0
movss  -0xc0(%rbp),%xmm2
ff
movss  -0x70(%rbp),%xmm1
mulss  -0xb8(%rbp),%xmm1
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x6c(%rbp)
movss  -0x58(%rbp),%xmm0
ucomiss -0x6c(%rbp),%xmm0
ja     15b6 <triBoxOverlap+0x4a6>
movss  -0x5c(%rbp),%xmm1
movss  -0x6c(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
ucomiss %xmm1,%xmm0
jbe    15c2 <triBoxOverlap+0x4b2>
movl   $0x0,-0x4(%rbp)
jmp    20b2 <triBoxOverlap+0xfa2>
movss  -0x8c(%rbp),%xmm0
ff
movss  -0x48(%rbp),%xmm2
movss  -0x90(%rbp),%xmm1
ff
mulss  -0x44(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x64(%rbp)
movss  -0x8c(%rbp),%xmm0
ff
movss  -0x54(%rbp),%xmm2
movss  -0x90(%rbp),%xmm1
ff
mulss  -0x50(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x68(%rbp)
movss  -0x68(%rbp),%xmm1
movss  -0x64(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    1656 <triBoxOverlap+0x546>
movss  -0x68(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x64(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
jmp    166a <triBoxOverlap+0x55a>
movss  -0x64(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x68(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x74(%rbp),%xmm0
movss  -0xc0(%rbp),%xmm2
ff
movss  -0x70(%rbp),%xmm1
mulss  -0xbc(%rbp),%xmm1
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x6c(%rbp)
movss  -0x58(%rbp),%xmm0
ucomiss -0x6c(%rbp),%xmm0
ja     16c0 <triBoxOverlap+0x5b0>
movss  -0x5c(%rbp),%xmm1
movss  -0x6c(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
ucomiss %xmm1,%xmm0
jbe    16cc <triBoxOverlap+0x5bc>
movl   $0x0,-0x4(%rbp)
jmp    20b2 <triBoxOverlap+0xfa2>
movss  -0x9c(%rbp),%xmm0
ff
movaps 0x1925(%rip),%xmm1
pand   %xmm1,%xmm0
movss  %xmm0,-0x70(%rbp)
movss  -0x98(%rbp),%xmm0
ff
movaps 0x190d(%rip),%xmm1
pand   %xmm1,%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0x94(%rbp),%xmm0
ff
movaps 0x18f5(%rip),%xmm1
pand   %xmm1,%xmm0
movss  %xmm0,-0x78(%rbp)
movss  -0x94(%rbp),%xmm0
ff
movss  -0x38(%rbp),%xmm2
movss  -0x98(%rbp),%xmm1
ff
mulss  -0x34(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x60(%rbp)
movss  -0x94(%rbp),%xmm0
ff
movss  -0x50(%rbp),%xmm2
movss  -0x98(%rbp),%xmm1
ff
mulss  -0x4c(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x68(%rbp)
movss  -0x60(%rbp),%xmm1
movss  -0x68(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    17a8 <triBoxOverlap+0x698>
movss  -0x60(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x68(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
jmp    17bc <triBoxOverlap+0x6ac>
movss  -0x68(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x60(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x78(%rbp),%xmm0
movss  -0xbc(%rbp),%xmm2
ff
movss  -0x74(%rbp),%xmm1
mulss  -0xb8(%rbp),%xmm1
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x6c(%rbp)
movss  -0x58(%rbp),%xmm0
ucomiss -0x6c(%rbp),%xmm0
ja     1812 <triBoxOverlap+0x702>
movss  -0x5c(%rbp),%xmm1
movss  -0x6c(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
ucomiss %xmm1,%xmm0
jbe    181e <triBoxOverlap+0x70e>
movl   $0x0,-0x4(%rbp)
jmp    20b2 <triBoxOverlap+0xfa2>
movss  -0x94(%rbp),%xmm0
ff
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  -0x3c(%rbp),%xmm2
movss  -0x9c(%rbp),%xmm1
ff
mulss  -0x34(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x60(%rbp)
movss  -0x94(%rbp),%xmm0
ff
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  -0x54(%rbp),%xmm2
movss  -0x9c(%rbp),%xmm1
ff
mulss  -0x4c(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x68(%rbp)
movss  -0x60(%rbp),%xmm1
movss  -0x68(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    18b2 <triBoxOverlap+0x7a2>
movss  -0x60(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x68(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
jmp    18c6 <triBoxOverlap+0x7b6>
movss  -0x68(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x60(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x78(%rbp),%xmm0
movss  -0xc0(%rbp),%xmm2
ff
movss  -0x70(%rbp),%xmm1
mulss  -0xb8(%rbp),%xmm1
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x6c(%rbp)
movss  -0x58(%rbp),%xmm0
ucomiss -0x6c(%rbp),%xmm0
ja     191c <triBoxOverlap+0x80c>
movss  -0x5c(%rbp),%xmm1
movss  -0x6c(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
ucomiss %xmm1,%xmm0
jbe    1928 <triBoxOverlap+0x818>
movl   $0x0,-0x4(%rbp)
jmp    20b2 <triBoxOverlap+0xfa2>
movss  -0x98(%rbp),%xmm0
ff
movss  -0x3c(%rbp),%xmm2
movss  -0x9c(%rbp),%xmm1
ff
mulss  -0x38(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x60(%rbp)
movss  -0x98(%rbp),%xmm0
ff
movss  -0x48(%rbp),%xmm2
movss  -0x9c(%rbp),%xmm1
ff
mulss  -0x44(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x64(%rbp)
movss  -0x60(%rbp),%xmm1
movss  -0x64(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    19bc <triBoxOverlap+0x8ac>
movss  -0x60(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x64(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
jmp    19d0 <triBoxOverlap+0x8c0>
movss  -0x64(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x60(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x74(%rbp),%xmm0
movss  -0xc0(%rbp),%xmm2
ff
movss  -0x70(%rbp),%xmm1
mulss  -0xbc(%rbp),%xmm1
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x6c(%rbp)
movss  -0x58(%rbp),%xmm0
ucomiss -0x6c(%rbp),%xmm0
ja     1a26 <triBoxOverlap+0x916>
movss  -0x5c(%rbp),%xmm1
movss  -0x6c(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
ucomiss %xmm1,%xmm0
jbe    1a32 <triBoxOverlap+0x922>
movl   $0x0,-0x4(%rbp)
jmp    20b2 <triBoxOverlap+0xfa2>
movss  -0xa8(%rbp),%xmm0
ff
movaps 0x15bf(%rip),%xmm1
pand   %xmm1,%xmm0
movss  %xmm0,-0x70(%rbp)
movss  -0xa4(%rbp),%xmm0
ff
movaps 0x15a7(%rip),%xmm1
pand   %xmm1,%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0xa0(%rbp),%xmm0
ff
movaps 0x158f(%rip),%xmm1
pand   %xmm1,%xmm0
movss  %xmm0,-0x78(%rbp)
movss  -0xa0(%rbp),%xmm0
ff
movss  -0x38(%rbp),%xmm2
movss  -0xa4(%rbp),%xmm1
ff
mulss  -0x34(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x60(%rbp)
movss  -0xa0(%rbp),%xmm0
ff
movss  -0x44(%rbp),%xmm2
movss  -0xa4(%rbp),%xmm1
ff
mulss  -0x40(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x64(%rbp)
movss  -0x60(%rbp),%xmm1
movss  -0x64(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    1b0e <triBoxOverlap+0x9fe>
movss  -0x60(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x64(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
jmp    1b22 <triBoxOverlap+0xa12>
movss  -0x64(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x60(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x78(%rbp),%xmm0
movss  -0xbc(%rbp),%xmm2
ff
movss  -0x74(%rbp),%xmm1
mulss  -0xb8(%rbp),%xmm1
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x6c(%rbp)
movss  -0x58(%rbp),%xmm0
ucomiss -0x6c(%rbp),%xmm0
ja     1b78 <triBoxOverlap+0xa68>
movss  -0x5c(%rbp),%xmm1
movss  -0x6c(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
ucomiss %xmm1,%xmm0
jbe    1b84 <triBoxOverlap+0xa74>
movl   $0x0,-0x4(%rbp)
jmp    20b2 <triBoxOverlap+0xfa2>
movss  -0xa0(%rbp),%xmm0
ff
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  -0x3c(%rbp),%xmm2
movss  -0xa8(%rbp),%xmm1
ff
mulss  -0x34(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x60(%rbp)
movss  -0xa0(%rbp),%xmm0
ff
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  -0x48(%rbp),%xmm2
movss  -0xa8(%rbp),%xmm1
ff
mulss  -0x40(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x64(%rbp)
movss  -0x60(%rbp),%xmm1
movss  -0x64(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    1c18 <triBoxOverlap+0xb08>
movss  -0x60(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x64(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
jmp    1c2c <triBoxOverlap+0xb1c>
movss  -0x64(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x60(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x78(%rbp),%xmm0
movss  -0xc0(%rbp),%xmm2
ff
movss  -0x70(%rbp),%xmm1
mulss  -0xb8(%rbp),%xmm1
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x6c(%rbp)
movss  -0x58(%rbp),%xmm0
ucomiss -0x6c(%rbp),%xmm0
ja     1c82 <triBoxOverlap+0xb72>
movss  -0x5c(%rbp),%xmm1
movss  -0x6c(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
ucomiss %xmm1,%xmm0
jbe    1c8e <triBoxOverlap+0xb7e>
movl   $0x0,-0x4(%rbp)
jmp    20b2 <triBoxOverlap+0xfa2>
movss  -0xa4(%rbp),%xmm0
ff
movss  -0x48(%rbp),%xmm2
movss  -0xa8(%rbp),%xmm1
ff
mulss  -0x44(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x64(%rbp)
movss  -0xa4(%rbp),%xmm0
ff
movss  -0x54(%rbp),%xmm2
movss  -0xa8(%rbp),%xmm1
ff
mulss  -0x50(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x68(%rbp)
movss  -0x68(%rbp),%xmm1
movss  -0x64(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    1d22 <triBoxOverlap+0xc12>
movss  -0x68(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x64(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
jmp    1d36 <triBoxOverlap+0xc26>
movss  -0x64(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x68(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x74(%rbp),%xmm0
movss  -0xc0(%rbp),%xmm2
ff
movss  -0x70(%rbp),%xmm1
mulss  -0xbc(%rbp),%xmm1
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x6c(%rbp)
movss  -0x58(%rbp),%xmm0
ucomiss -0x6c(%rbp),%xmm0
ja     1d8c <triBoxOverlap+0xc7c>
movss  -0x5c(%rbp),%xmm1
movss  -0x6c(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
ucomiss %xmm1,%xmm0
jbe    1d98 <triBoxOverlap+0xc88>
movl   $0x0,-0x4(%rbp)
jmp    20b2 <triBoxOverlap+0xfa2>
movss  -0x3c(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  %xmm0,-0x58(%rbp)
movss  -0x48(%rbp),%xmm1
movss  -0x58(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    1dc4 <triBoxOverlap+0xcb4>
movss  -0x48(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x48(%rbp),%xmm0
ucomiss -0x5c(%rbp),%xmm0
jbe    1ddd <triBoxOverlap+0xccd>
movss  -0x48(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x54(%rbp),%xmm1
movss  -0x58(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    1dfa <triBoxOverlap+0xcea>
movss  -0x54(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x54(%rbp),%xmm0
ucomiss -0x5c(%rbp),%xmm0
jbe    1e13 <triBoxOverlap+0xd03>
movss  -0x54(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x58(%rbp),%xmm0
ucomiss -0xc0(%rbp),%xmm0
ja     1e48 <triBoxOverlap+0xd38>
movss  -0x5c(%rbp),%xmm1
movss  -0xc0(%rbp),%xmm0
ff
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
ucomiss %xmm1,%xmm0
jbe    1e54 <triBoxOverlap+0xd44>
movl   $0x0,-0x4(%rbp)
jmp    20b2 <triBoxOverlap+0xfa2>
movss  -0x38(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  %xmm0,-0x58(%rbp)
movss  -0x44(%rbp),%xmm1
movss  -0x58(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    1e80 <triBoxOverlap+0xd70>
movss  -0x44(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x44(%rbp),%xmm0
ucomiss -0x5c(%rbp),%xmm0
jbe    1e99 <triBoxOverlap+0xd89>
movss  -0x44(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x50(%rbp),%xmm1
movss  -0x58(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    1eb6 <triBoxOverlap+0xda6>
movss  -0x50(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x50(%rbp),%xmm0
ucomiss -0x5c(%rbp),%xmm0
jbe    1ecf <triBoxOverlap+0xdbf>
movss  -0x50(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x58(%rbp),%xmm0
ucomiss -0xbc(%rbp),%xmm0
ja     1f04 <triBoxOverlap+0xdf4>
movss  -0x5c(%rbp),%xmm1
movss  -0xbc(%rbp),%xmm0
ff
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
ucomiss %xmm1,%xmm0
jbe    1f10 <triBoxOverlap+0xe00>
movl   $0x0,-0x4(%rbp)
jmp    20b2 <triBoxOverlap+0xfa2>
movss  -0x34(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  %xmm0,-0x58(%rbp)
movss  -0x40(%rbp),%xmm1
movss  -0x58(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    1f3c <triBoxOverlap+0xe2c>
movss  -0x40(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x40(%rbp),%xmm0
ucomiss -0x5c(%rbp),%xmm0
jbe    1f55 <triBoxOverlap+0xe45>
movss  -0x40(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x4c(%rbp),%xmm1
movss  -0x58(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    1f72 <triBoxOverlap+0xe62>
movss  -0x4c(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x4c(%rbp),%xmm0
ucomiss -0x5c(%rbp),%xmm0
jbe    1f8b <triBoxOverlap+0xe7b>
movss  -0x4c(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x58(%rbp),%xmm0
ucomiss -0xb8(%rbp),%xmm0
ja     1fc0 <triBoxOverlap+0xeb0>
movss  -0x5c(%rbp),%xmm1
movss  -0xb8(%rbp),%xmm0
ff
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
ucomiss %xmm1,%xmm0
jbe    1fcc <triBoxOverlap+0xebc>
movl   $0x0,-0x4(%rbp)
jmp    20b2 <triBoxOverlap+0xfa2>
movss  -0x8c(%rbp),%xmm0
ff
movss  -0x94(%rbp),%xmm2
ff
movss  -0x88(%rbp),%xmm1
ff
mulss  -0x98(%rbp),%xmm1
ff
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x84(%rbp)
movss  -0x88(%rbp),%xmm0
ff
movss  -0x9c(%rbp),%xmm2
ff
movss  -0x90(%rbp),%xmm1
ff
mulss  -0x94(%rbp),%xmm1
ff
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x80(%rbp)
movss  -0x90(%rbp),%xmm0
ff
movss  -0x98(%rbp),%xmm2
ff
movss  -0x8c(%rbp),%xmm1
ff
mulss  -0x9c(%rbp),%xmm1
ff
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x7c(%rbp)
lea    -0x84(%rbp),%rdi
lea    -0x3c(%rbp),%rsi
lea    -0xc0(%rbp),%rdx
mov    $0x0,%al
call   1030 <planeBoxOverlap@plt>
cmp    $0x0,%eax
jne    20ab <triBoxOverlap+0xf9b>
movl   $0x0,-0x4(%rbp)
jmp    20b2 <triBoxOverlap+0xfa2>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<triBoxOverlap>:
sub    $0x128,%rsp
movss  (%rdi),%xmm0
movss  0x4(%rdi),%xmm2
movss  (%rsi),%xmm15
addss  %xmm0,%xmm15
movss  0xece(%rip),%xmm4
mulss  %xmm4,%xmm15
movss  0x4(%rsi),%xmm1
addss  %xmm2,%xmm1
mulss  %xmm4,%xmm1
movss  0x8(%rdi),%xmm5
movss  0x8(%rsi),%xmm3
addss  %xmm5,%xmm3
mulss  %xmm4,%xmm3
movaps %xmm15,%xmm4
subss  %xmm0,%xmm4
movaps %xmm4,0x70(%rsp)
movss  %xmm4,0x1c(%rsp)
movaps %xmm1,%xmm13
subss  %xmm2,%xmm13
movss  %xmm13,0x20(%rsp)
movaps %xmm3,%xmm6
subss  %xmm5,%xmm6
movss  %xmm6,0x24(%rsp)
movss  (%rdx),%xmm0
subss  %xmm15,%xmm0
movaps %xmm0,0x50(%rsp)
movss  %xmm0,0x34(%rsp)
movss  0x4(%rdx),%xmm7
subss  %xmm1,%xmm7
movss  %xmm7,0x38(%rsp)
movss  0x8(%rcx),%xmm0
movss  0x8(%rdx),%xmm4
unpcklps %xmm0,%xmm4
movaps %xmm3,%xmm0
shufps $0x0,%xmm3,%xmm0
subps  %xmm0,%xmm4
movaps %xmm4,%xmm5
shufps $0x55,%xmm4,%xmm5
movss  %xmm4,0x3c(%rsp)
movss  0x4(%rcx),%xmm0
movss  0x4(%r8),%xmm11
unpcklps %xmm0,%xmm11
shufps $0x0,%xmm1,%xmm1
subps  %xmm1,%xmm11
movaps %xmm11,%xmm12
shufps $0x55,%xmm11,%xmm12
movss  0x8(%r8),%xmm9
subss  %xmm3,%xmm9
movaps %xmm12,0xa0(%rsp)
subss  %xmm7,%xmm12
movaps %xmm5,0x90(%rsp)
subss  %xmm4,%xmm5
movaps %xmm9,0x60(%rsp)
movlhps %xmm4,%xmm9
shufps $0xe2,%xmm4,%xmm9
movaps %xmm12,%xmm14
shufps $0x0,%xmm12,%xmm14
movaps %xmm9,%xmm0
mulps  %xmm14,%xmm0
movaps %xmm5,%xmm8
shufps $0x0,%xmm5,%xmm8
movaps %xmm7,0x110(%rsp)
unpcklps %xmm11,%xmm7
movaps %xmm8,%xmm1
mulps  %xmm7,%xmm1
subps  %xmm0,%xmm1
movaps 0xdb8(%rip),%xmm0
movaps %xmm12,0x100(%rsp)
andps  %xmm0,%xmm12
movaps %xmm5,%xmm10
andps  %xmm0,%xmm10
movaps %xmm6,%xmm2
mulss  %xmm12,%xmm2
movaps %xmm10,%xmm0
movaps %xmm13,0xb0(%rsp)
mulss  %xmm13,%xmm0
addss  %xmm2,%xmm0
movaps %xmm1,%xmm2
shufps $0x55,%xmm1,%xmm2
movaps %xmm1,%xmm3
minss  %xmm2,%xmm3
xor    %eax,%eax
ucomiss %xmm0,%xmm3
ja     17df <triBoxOverlap+0x6cf>
movaps 0xd74(%rip),%xmm13
maxss  %xmm1,%xmm2
xorps  %xmm13,%xmm0
ucomiss %xmm2,%xmm0
ja     17df <triBoxOverlap+0x6cf>
movaps %xmm5,0xf0(%rsp)
movss  (%rcx),%xmm0
movss  (%r8),%xmm1
unpcklps %xmm0,%xmm1
shufps $0x0,%xmm15,%xmm15
subps  %xmm15,%xmm1
movaps %xmm1,%xmm0
shufps $0x55,%xmm1,%xmm0
movaps %xmm0,0x80(%rsp)
movaps 0x50(%rsp),%xmm15
subss  %xmm15,%xmm0
movaps %xmm0,%xmm3
andps  0xd12(%rip),%xmm3
movaps %xmm6,%xmm5
movaps %xmm0,0xe0(%rsp)
movaps %xmm0,%xmm6
shufps $0x0,%xmm0,%xmm6
movaps %xmm9,%xmm2
mulps  %xmm6,%xmm2
movaps %xmm1,(%rsp)
unpcklps %xmm1,%xmm15
mulps  %xmm15,%xmm8
subps  %xmm8,%xmm2
movaps %xmm2,%xmm0
shufps $0x55,%xmm2,%xmm0
movaps %xmm2,%xmm1
minss  %xmm0,%xmm1
movaps %xmm5,0x40(%rsp)
mulss  %xmm3,%xmm5
movaps 0x70(%rsp),%xmm8
mulss  %xmm8,%xmm10
addss  %xmm5,%xmm10
ucomiss %xmm10,%xmm1
ja     17df <triBoxOverlap+0x6cf>
maxss  %xmm2,%xmm0
xorps  %xmm13,%xmm10
ucomiss %xmm0,%xmm10
ja     17df <triBoxOverlap+0x6cf>
mulps  %xmm11,%xmm6
mulps  (%rsp),%xmm14
subps  %xmm6,%xmm14
movaps %xmm14,%xmm0
shufps $0x55,%xmm14,%xmm0
movaps %xmm14,%xmm1
minss  %xmm0,%xmm1
movaps 0xb0(%rsp),%xmm5
mulss  %xmm5,%xmm3
mulss  %xmm8,%xmm12
addss  %xmm3,%xmm12
ucomiss %xmm12,%xmm1
ja     17df <triBoxOverlap+0x6cf>
maxss  %xmm14,%xmm0
xorps  %xmm13,%xmm12
ucomiss %xmm0,%xmm12
ja     17df <triBoxOverlap+0x6cf>
movaps %xmm11,%xmm6
subss  0xa0(%rsp),%xmm6
movaps 0x60(%rsp),%xmm3
subss  0x90(%rsp),%xmm3
movaps %xmm6,%xmm14
movaps 0xc2f(%rip),%xmm0
andps  %xmm0,%xmm14
movaps %xmm3,%xmm10
andps  %xmm0,%xmm10
movaps %xmm6,%xmm12
shufps $0x0,%xmm6,%xmm12
movaps %xmm9,%xmm0
mulps  %xmm12,%xmm0
movaps %xmm3,%xmm13
shufps $0x0,%xmm3,%xmm13
mulps  %xmm13,%xmm7
subps  %xmm0,%xmm7
movaps %xmm7,%xmm0
shufps $0x55,%xmm7,%xmm0
movaps 0x40(%rsp),%xmm1
mulss  %xmm14,%xmm1
movaps %xmm10,%xmm2
mulss  %xmm5,%xmm2
addss  %xmm1,%xmm2
movaps %xmm7,%xmm1
minss  %xmm0,%xmm1
ucomiss %xmm2,%xmm1
ja     17df <triBoxOverlap+0x6cf>
maxss  %xmm7,%xmm0
xorps  0xbda(%rip),%xmm2
ucomiss %xmm0,%xmm2
ja     17df <triBoxOverlap+0x6cf>
movaps %xmm3,0xc0(%rsp)
movaps %xmm6,0xd0(%rsp)
movaps (%rsp),%xmm6
subss  0x80(%rsp),%xmm6
movaps %xmm8,%xmm3
movaps %xmm6,%xmm8
andps  0xb94(%rip),%xmm8
movaps %xmm6,%xmm7
shufps $0x0,%xmm6,%xmm7
mulps  %xmm7,%xmm9
mulps  %xmm15,%xmm13
subps  %xmm13,%xmm9
movaps %xmm9,%xmm0
shufps $0x55,%xmm9,%xmm0
movaps %xmm9,%xmm1
minss  %xmm0,%xmm1
movaps 0x40(%rsp),%xmm2
mulss  %xmm8,%xmm2
mulss  %xmm3,%xmm10
addss  %xmm2,%xmm10
ucomiss %xmm10,%xmm1
ja     17df <triBoxOverlap+0x6cf>
maxss  %xmm9,%xmm0
xorps  0xb55(%rip),%xmm10
ucomiss %xmm0,%xmm10
ja     17df <triBoxOverlap+0x6cf>
movaps %xmm11,%xmm1
movaps 0x110(%rsp),%xmm13
movss  %xmm13,%xmm1
mulps  %xmm1,%xmm7
movaps (%rsp),%xmm15
movaps 0x50(%rsp),%xmm0
movss  %xmm0,%xmm15
mulps  %xmm15,%xmm12
subps  %xmm7,%xmm12
movaps %xmm12,%xmm0
shufps $0x55,%xmm12,%xmm0
movaps %xmm12,%xmm2
minss  %xmm0,%xmm2
mulss  %xmm5,%xmm8
mulss  0x70(%rsp),%xmm14
addss  %xmm8,%xmm14
ucomiss %xmm14,%xmm2
ja     17df <triBoxOverlap+0x6cf>
maxss  %xmm12,%xmm0
xorps  0xae6(%rip),%xmm14
ucomiss %xmm0,%xmm14
ja     17df <triBoxOverlap+0x6cf>
movaps %xmm6,%xmm14
movaps %xmm13,%xmm10
subss  %xmm11,%xmm10
movaps %xmm4,%xmm3
subss  0x60(%rsp),%xmm3
movaps %xmm10,%xmm9
movaps 0xaab(%rip),%xmm0
andps  %xmm0,%xmm9
movaps %xmm3,%xmm7
andps  %xmm0,%xmm7
shufps $0x0,%xmm10,%xmm10
movaps %xmm4,%xmm0
mulps  %xmm10,%xmm0
shufps $0x0,%xmm3,%xmm3
mulps  %xmm3,%xmm1
subps  %xmm0,%xmm1
movaps %xmm1,%xmm0
shufps $0x55,%xmm1,%xmm0
movaps %xmm5,%xmm8
movaps %xmm1,%xmm5
minss  %xmm0,%xmm5
movaps 0x40(%rsp),%xmm6
mulss  %xmm9,%xmm6
movaps %xmm7,%xmm2
mulss  %xmm8,%xmm2
addss  %xmm6,%xmm2
ucomiss %xmm2,%xmm5
ja     17df <triBoxOverlap+0x6cf>
maxss  %xmm1,%xmm0
xorps  0xa5f(%rip),%xmm2
ucomiss %xmm0,%xmm2
ja     17df <triBoxOverlap+0x6cf>
movaps 0x50(%rsp),%xmm1
subss  (%rsp),%xmm1
movaps 0xa35(%rip),%xmm6
andps  %xmm1,%xmm6
shufps $0x0,%xmm1,%xmm1
movaps %xmm4,%xmm2
mulps  %xmm1,%xmm2
mulps  %xmm15,%xmm3
subps  %xmm3,%xmm2
movaps %xmm2,%xmm0
shufps $0x55,%xmm2,%xmm0
movaps %xmm2,%xmm3
minss  %xmm0,%xmm3
movaps 0x40(%rsp),%xmm8
movaps %xmm8,%xmm5
movaps %xmm6,%xmm12
mulss  %xmm6,%xmm5
movaps 0x70(%rsp),%xmm6
mulss  %xmm6,%xmm7
addss  %xmm5,%xmm7
ucomiss %xmm7,%xmm3
ja     17df <triBoxOverlap+0x6cf>
maxss  %xmm2,%xmm0
xorps  0x9f0(%rip),%xmm7
ucomiss %xmm0,%xmm7
ja     17df <triBoxOverlap+0x6cf>
mulps  %xmm11,%xmm1
mulps  (%rsp),%xmm10
subps  %xmm1,%xmm10
movaps %xmm10,%xmm0
shufps $0x55,%xmm10,%xmm0
movaps %xmm10,%xmm1
minss  %xmm0,%xmm1
movaps 0xb0(%rsp),%xmm2
mulss  %xmm2,%xmm12
mulss  %xmm6,%xmm9
addss  %xmm12,%xmm9
ucomiss %xmm9,%xmm1
ja     17df <triBoxOverlap+0x6cf>
maxss  %xmm10,%xmm0
xorps  0x99b(%rip),%xmm9
ucomiss %xmm0,%xmm9
ja     17df <triBoxOverlap+0x6cf>
movaps 0x80(%rsp),%xmm7
movaps %xmm7,%xmm0
movaps 0x50(%rsp),%xmm3
minss  %xmm3,%xmm0
movaps (%rsp),%xmm5
movaps %xmm5,%xmm1
minss  %xmm0,%xmm1
ucomiss %xmm6,%xmm1
ja     17df <triBoxOverlap+0x6cf>
maxss  %xmm3,%xmm7
maxss  %xmm7,%xmm5
xorps  0x95a(%rip),%xmm6
ucomiss %xmm5,%xmm6
ja     17df <triBoxOverlap+0x6cf>
movaps 0xa0(%rsp),%xmm3
movaps %xmm3,%xmm0
minss  %xmm13,%xmm0
movaps %xmm11,%xmm1
minss  %xmm0,%xmm1
ucomiss %xmm2,%xmm1
ja     17df <triBoxOverlap+0x6cf>
maxss  %xmm13,%xmm3
maxss  %xmm3,%xmm11
xorps  0x91f(%rip),%xmm2
ucomiss %xmm11,%xmm2
ja     17df <triBoxOverlap+0x6cf>
movaps 0x90(%rsp),%xmm3
movaps %xmm3,%xmm0
minss  %xmm4,%xmm0
movaps 0x60(%rsp),%xmm2
movaps %xmm2,%xmm1
minss  %xmm0,%xmm1
ucomiss %xmm8,%xmm1
ja     17df <triBoxOverlap+0x6cf>
maxss  %xmm4,%xmm3
maxss  %xmm3,%xmm2
xorps  0x8e0(%rip),%xmm8
ucomiss %xmm2,%xmm8
ja     17df <triBoxOverlap+0x6cf>
movaps 0x100(%rsp),%xmm3
movaps %xmm3,%xmm0
movaps 0x8c4(%rip),%xmm4
xorps  %xmm4,%xmm0
movaps 0xf0(%rsp),%xmm2
movaps %xmm2,%xmm1
xorps  %xmm4,%xmm1
movaps 0xe0(%rsp),%xmm5
xorps  %xmm5,%xmm4
movaps 0xd0(%rsp),%xmm6
mulss  %xmm6,%xmm1
movaps 0xc0(%rsp),%xmm7
mulss  %xmm7,%xmm3
addss  %xmm1,%xmm3
movss  %xmm3,0x28(%rsp)
mulss  %xmm7,%xmm4
mulss  %xmm14,%xmm2
addss  %xmm4,%xmm2
movss  %xmm2,0x2c(%rsp)
mulss  %xmm14,%xmm0
mulss  %xmm6,%xmm5
addss  %xmm0,%xmm5
movss  %xmm5,0x30(%rsp)
lea    0x28(%rsp),%rdi
lea    0x34(%rsp),%rsi
lea    0x1c(%rsp),%rdx
xor    %eax,%eax
call   1030 <planeBoxOverlap@plt>
mov    %eax,%ecx
xor    %eax,%eax
test   %ecx,%ecx
setne  %al
add    $0x128,%rsp
ret

LLVM IR (-O0):
define i32 @triBoxOverlap(float* %0, float* %1, float* %2, float* %3, float* %4) {
%6 = alloca i32
%7 = alloca float*
%8 = alloca float*
%9 = alloca float*
%10 = alloca float*
%11 = alloca float*
%12 = alloca [3 x float]
%13 = alloca [3 x float]
%14 = alloca [3 x float]
%15 = alloca float
%16 = alloca float
%17 = alloca float
%18 = alloca float
%19 = alloca float
%20 = alloca float
%21 = alloca float
%22 = alloca float
%23 = alloca float
%24 = alloca [3 x float]
%25 = alloca [3 x float]
%26 = alloca [3 x float]
%27 = alloca [3 x float]
%28 = alloca [3 x float]
%29 = alloca [3 x float]
store float* %0, float** %7
store float* %1, float** %8
store float* %2, float** %9
store float* %3, float** %10
store float* %4, float** %11
%30 = load float*, float** %7
%31 = getelementptr inbounds float, float* %30, i64 0
%32 = load float, float* %31
%33 = load float*, float** %8
%34 = getelementptr inbounds float, float* %33, i64 0
%35 = load float, float* %34
%36 = fadd float %32, %35
%37 = fpext float %36 to double
%38 = fmul double %37, 5.000000e-01
%39 = fptrunc double %38 to float
%40 = getelementptr inbounds [3 x float], [3 x float]* %28, i64 0, i64 0
store float %39, float* %40
%41 = load float*, float** %7
%42 = getelementptr inbounds float, float* %41, i64 1
%43 = load float, float* %42
%44 = load float*, float** %8
%45 = getelementptr inbounds float, float* %44, i64 1
%46 = load float, float* %45
%47 = fadd float %43, %46
%48 = fpext float %47 to double
%49 = fmul double %48, 5.000000e-01
%50 = fptrunc double %49 to float
%51 = getelementptr inbounds [3 x float], [3 x float]* %28, i64 0, i64 1
store float %50, float* %51
%52 = load float*, float** %7
%53 = getelementptr inbounds float, float* %52, i64 2
%54 = load float, float* %53
%55 = load float*, float** %8
%56 = getelementptr inbounds float, float* %55, i64 2
%57 = load float, float* %56
%58 = fadd float %54, %57
%59 = fpext float %58 to double
%60 = fmul double %59, 5.000000e-01
%61 = fptrunc double %60 to float
%62 = getelementptr inbounds [3 x float], [3 x float]* %28, i64 0, i64 2
store float %61, float* %62
%63 = getelementptr inbounds [3 x float], [3 x float]* %28, i64 0, i64 0
%64 = load float, float* %63
%65 = load float*, float** %7
%66 = getelementptr inbounds float, float* %65, i64 0
%67 = load float, float* %66
%68 = fsub float %64, %67
%69 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 0
store float %68, float* %69
%70 = getelementptr inbounds [3 x float], [3 x float]* %28, i64 0, i64 1
%71 = load float, float* %70
%72 = load float*, float** %7
%73 = getelementptr inbounds float, float* %72, i64 1
%74 = load float, float* %73
%75 = fsub float %71, %74
%76 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 1
store float %75, float* %76
%77 = getelementptr inbounds [3 x float], [3 x float]* %28, i64 0, i64 2
%78 = load float, float* %77
%79 = load float*, float** %7
%80 = getelementptr inbounds float, float* %79, i64 2
%81 = load float, float* %80
%82 = fsub float %78, %81
%83 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 2
store float %82, float* %83
%84 = load float*, float** %9
%85 = getelementptr inbounds float, float* %84, i64 0
%86 = load float, float* %85
%87 = getelementptr inbounds [3 x float], [3 x float]* %28, i64 0, i64 0
%88 = load float, float* %87
%89 = fsub float %86, %88
%90 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 0
store float %89, float* %90
%91 = load float*, float** %9
%92 = getelementptr inbounds float, float* %91, i64 1
%93 = load float, float* %92
%94 = getelementptr inbounds [3 x float], [3 x float]* %28, i64 0, i64 1
%95 = load float, float* %94
%96 = fsub float %93, %95
%97 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 1
store float %96, float* %97
%98 = load float*, float** %9
%99 = getelementptr inbounds float, float* %98, i64 2
%100 = load float, float* %99
%101 = getelementptr inbounds [3 x float], [3 x float]* %28, i64 0, i64 2
%102 = load float, float* %101
%103 = fsub float %100, %102
%104 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 2
store float %103, float* %104
%105 = load float*, float** %10
%106 = getelementptr inbounds float, float* %105, i64 0
%107 = load float, float* %106
%108 = getelementptr inbounds [3 x float], [3 x float]* %28, i64 0, i64 0
%109 = load float, float* %108
%110 = fsub float %107, %109
%111 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 0
store float %110, float* %111
%112 = load float*, float** %10
%113 = getelementptr inbounds float, float* %112, i64 1
%114 = load float, float* %113
%115 = getelementptr inbounds [3 x float], [3 x float]* %28, i64 0, i64 1
%116 = load float, float* %115
%117 = fsub float %114, %116
%118 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 1
store float %117, float* %118
%119 = load float*, float** %10
%120 = getelementptr inbounds float, float* %119, i64 2
%121 = load float, float* %120
%122 = getelementptr inbounds [3 x float], [3 x float]* %28, i64 0, i64 2
%123 = load float, float* %122
%124 = fsub float %121, %123
%125 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 2
store float %124, float* %125
%126 = load float*, float** %11
%127 = getelementptr inbounds float, float* %126, i64 0
%128 = load float, float* %127
%129 = getelementptr inbounds [3 x float], [3 x float]* %28, i64 0, i64 0
%130 = load float, float* %129
%131 = fsub float %128, %130
%132 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 0
store float %131, float* %132
%133 = load float*, float** %11
%134 = getelementptr inbounds float, float* %133, i64 1
%135 = load float, float* %134
%136 = getelementptr inbounds [3 x float], [3 x float]* %28, i64 0, i64 1
%137 = load float, float* %136
%138 = fsub float %135, %137
%139 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 1
store float %138, float* %139
%140 = load float*, float** %11
%141 = getelementptr inbounds float, float* %140, i64 2
%142 = load float, float* %141
%143 = getelementptr inbounds [3 x float], [3 x float]* %28, i64 0, i64 2
%144 = load float, float* %143
%145 = fsub float %142, %144
%146 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 2
store float %145, float* %146
%147 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 0
%148 = load float, float* %147
%149 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 0
%150 = load float, float* %149
%151 = fsub float %148, %150
%152 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 0
store float %151, float* %152
%153 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 1
%154 = load float, float* %153
%155 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 1
%156 = load float, float* %155
%157 = fsub float %154, %156
%158 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 1
store float %157, float* %158
%159 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 2
%160 = load float, float* %159
%161 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 2
%162 = load float, float* %161
%163 = fsub float %160, %162
%164 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 2
store float %163, float* %164
%165 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 0
%166 = load float, float* %165
%167 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 0
%168 = load float, float* %167
%169 = fsub float %166, %168
%170 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 0
store float %169, float* %170
%171 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 1
%172 = load float, float* %171
%173 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 1
%174 = load float, float* %173
%175 = fsub float %172, %174
%176 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 1
store float %175, float* %176
%177 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 2
%178 = load float, float* %177
%179 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 2
%180 = load float, float* %179
%181 = fsub float %178, %180
%182 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 2
store float %181, float* %182
%183 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 0
%184 = load float, float* %183
%185 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 0
%186 = load float, float* %185
%187 = fsub float %184, %186
%188 = getelementptr inbounds [3 x float], [3 x float]* %27, i64 0, i64 0
store float %187, float* %188
%189 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 1
%190 = load float, float* %189
%191 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 1
%192 = load float, float* %191
%193 = fsub float %190, %192
%194 = getelementptr inbounds [3 x float], [3 x float]* %27, i64 0, i64 1
store float %193, float* %194
%195 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 2
%196 = load float, float* %195
%197 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 2
%198 = load float, float* %197
%199 = fsub float %196, %198
%200 = getelementptr inbounds [3 x float], [3 x float]* %27, i64 0, i64 2
store float %199, float* %200
%201 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 0
%202 = load float, float* %201
%203 = call float @llvm.fabs.f32(float %202)
store float %203, float* %21
%204 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 1
%205 = load float, float* %204
%206 = call float @llvm.fabs.f32(float %205)
store float %206, float* %22
%207 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 2
%208 = load float, float* %207
%209 = call float @llvm.fabs.f32(float %208)
store float %209, float* %23
%210 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 2
%211 = load float, float* %210
%212 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 1
%213 = load float, float* %212
%214 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 1
%215 = load float, float* %214
%216 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 2
%217 = load float, float* %216
%218 = fmul float %215, %217
%219 = fneg float %218
%220 = call float @llvm.fmuladd.f32(float %211, float %213, float %219)
store float %220, float* %17
%221 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 2
%222 = load float, float* %221
%223 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 1
%224 = load float, float* %223
%225 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 1
%226 = load float, float* %225
%227 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 2
%228 = load float, float* %227
%229 = fmul float %226, %228
%230 = fneg float %229
%231 = call float @llvm.fmuladd.f32(float %222, float %224, float %230)
store float %231, float* %19
%232 = load float, float* %17
%233 = load float, float* %19
%234 = fcmp olt float %232, %233
br i1 %234, label %235, label %238
235: ; preds = %5
%236 = load float, float* %17
store float %236, float* %15
%237 = load float, float* %19
store float %237, float* %16
br label %241
238: ; preds = %5
%239 = load float, float* %19
store float %239, float* %15
%240 = load float, float* %17
store float %240, float* %16
br label %241
241: ; preds = %238, %235
%242 = load float, float* %23
%243 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 1
%244 = load float, float* %243
%245 = load float, float* %22
%246 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 2
%247 = load float, float* %246
%248 = fmul float %245, %247
%249 = call float @llvm.fmuladd.f32(float %242, float %244, float %248)
store float %249, float* %20
%250 = load float, float* %15
%251 = load float, float* %20
%252 = fcmp ogt float %250, %251
br i1 %252, label %258, label %253
253: ; preds = %241
%254 = load float, float* %16
%255 = load float, float* %20
%256 = fneg float %255
%257 = fcmp olt float %254, %256
br i1 %257, label %258, label %259
258: ; preds = %253, %241
store i32 0, i32* %6
br label %859
259: ; preds = %253
%260 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 2
%261 = load float, float* %260
%262 = fneg float %261
%263 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 0
%264 = load float, float* %263
%265 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 0
%266 = load float, float* %265
%267 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 2
%268 = load float, float* %267
%269 = fmul float %266, %268
%270 = call float @llvm.fmuladd.f32(float %262, float %264, float %269)
store float %270, float* %17
%271 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 2
%272 = load float, float* %271
%273 = fneg float %272
%274 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 0
%275 = load float, float* %274
%276 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 0
%277 = load float, float* %276
%278 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 2
%279 = load float, float* %278
%280 = fmul float %277, %279
%281 = call float @llvm.fmuladd.f32(float %273, float %275, float %280)
store float %281, float* %19
%282 = load float, float* %17
%283 = load float, float* %19
%284 = fcmp olt float %282, %283
br i1 %284, label %285, label %288
285: ; preds = %259
%286 = load float, float* %17
store float %286, float* %15
%287 = load float, float* %19
store float %287, float* %16
br label %291
288: ; preds = %259
%289 = load float, float* %19
store float %289, float* %15
%290 = load float, float* %17
store float %290, float* %16
br label %291
291: ; preds = %288, %285
%292 = load float, float* %23
%293 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 0
%294 = load float, float* %293
%295 = load float, float* %21
%296 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 2
%297 = load float, float* %296
%298 = fmul float %295, %297
%299 = call float @llvm.fmuladd.f32(float %292, float %294, float %298)
store float %299, float* %20
%300 = load float, float* %15
%301 = load float, float* %20
%302 = fcmp ogt float %300, %301
br i1 %302, label %308, label %303
303: ; preds = %291
%304 = load float, float* %16
%305 = load float, float* %20
%306 = fneg float %305
%307 = fcmp olt float %304, %306
br i1 %307, label %308, label %309
308: ; preds = %303, %291
store i32 0, i32* %6
br label %859
309: ; preds = %303
%310 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 1
%311 = load float, float* %310
%312 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 0
%313 = load float, float* %312
%314 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 0
%315 = load float, float* %314
%316 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 1
%317 = load float, float* %316
%318 = fmul float %315, %317
%319 = fneg float %318
%320 = call float @llvm.fmuladd.f32(float %311, float %313, float %319)
store float %320, float* %18
%321 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 1
%322 = load float, float* %321
%323 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 0
%324 = load float, float* %323
%325 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 0
%326 = load float, float* %325
%327 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 1
%328 = load float, float* %327
%329 = fmul float %326, %328
%330 = fneg float %329
%331 = call float @llvm.fmuladd.f32(float %322, float %324, float %330)
store float %331, float* %19
%332 = load float, float* %19
%333 = load float, float* %18
%334 = fcmp olt float %332, %333
br i1 %334, label %335, label %338
335: ; preds = %309
%336 = load float, float* %19
store float %336, float* %15
%337 = load float, float* %18
store float %337, float* %16
br label %341
338: ; preds = %309
%339 = load float, float* %18
store float %339, float* %15
%340 = load float, float* %19
store float %340, float* %16
br label %341
341: ; preds = %338, %335
%342 = load float, float* %22
%343 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 0
%344 = load float, float* %343
%345 = load float, float* %21
%346 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 1
%347 = load float, float* %346
%348 = fmul float %345, %347
%349 = call float @llvm.fmuladd.f32(float %342, float %344, float %348)
store float %349, float* %20
%350 = load float, float* %15
%351 = load float, float* %20
%352 = fcmp ogt float %350, %351
br i1 %352, label %358, label %353
353: ; preds = %341
%354 = load float, float* %16
%355 = load float, float* %20
%356 = fneg float %355
%357 = fcmp olt float %354, %356
br i1 %357, label %358, label %359
358: ; preds = %353, %341
store i32 0, i32* %6
br label %859
359: ; preds = %353
%360 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 0
%361 = load float, float* %360
%362 = call float @llvm.fabs.f32(float %361)
store float %362, float* %21
%363 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 1
%364 = load float, float* %363
%365 = call float @llvm.fabs.f32(float %364)
store float %365, float* %22
%366 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 2
%367 = load float, float* %366
%368 = call float @llvm.fabs.f32(float %367)
store float %368, float* %23
%369 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 2
%370 = load float, float* %369
%371 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 1
%372 = load float, float* %371
%373 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 1
%374 = load float, float* %373
%375 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 2
%376 = load float, float* %375
%377 = fmul float %374, %376
%378 = fneg float %377
%379 = call float @llvm.fmuladd.f32(float %370, float %372, float %378)
store float %379, float* %17
%380 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 2
%381 = load float, float* %380
%382 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 1
%383 = load float, float* %382
%384 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 1
%385 = load float, float* %384
%386 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 2
%387 = load float, float* %386
%388 = fmul float %385, %387
%389 = fneg float %388
%390 = call float @llvm.fmuladd.f32(float %381, float %383, float %389)
store float %390, float* %19
%391 = load float, float* %17
%392 = load float, float* %19
%393 = fcmp olt float %391, %392
br i1 %393, label %394, label %397
394: ; preds = %359
%395 = load float, float* %17
store float %395, float* %15
%396 = load float, float* %19
store float %396, float* %16
br label %400
397: ; preds = %359
%398 = load float, float* %19
store float %398, float* %15
%399 = load float, float* %17
store float %399, float* %16
br label %400
400: ; preds = %397, %394
%401 = load float, float* %23
%402 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 1
%403 = load float, float* %402
%404 = load float, float* %22
%405 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 2
%406 = load float, float* %405
%407 = fmul float %404, %406
%408 = call float @llvm.fmuladd.f32(float %401, float %403, float %407)
store float %408, float* %20
%409 = load float, float* %15
%410 = load float, float* %20
%411 = fcmp ogt float %409, %410
br i1 %411, label %417, label %412
412: ; preds = %400
%413 = load float, float* %16
%414 = load float, float* %20
%415 = fneg float %414
%416 = fcmp olt float %413, %415
br i1 %416, label %417, label %418
417: ; preds = %412, %400
store i32 0, i32* %6
br label %859
418: ; preds = %412
%419 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 2
%420 = load float, float* %419
%421 = fneg float %420
%422 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 0
%423 = load float, float* %422
%424 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 0
%425 = load float, float* %424
%426 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 2
%427 = load float, float* %426
%428 = fmul float %425, %427
%429 = call float @llvm.fmuladd.f32(float %421, float %423, float %428)
store float %429, float* %17
%430 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 2
%431 = load float, float* %430
%432 = fneg float %431
%433 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 0
%434 = load float, float* %433
%435 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 0
%436 = load float, float* %435
%437 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 2
%438 = load float, float* %437
%439 = fmul float %436, %438
%440 = call float @llvm.fmuladd.f32(float %432, float %434, float %439)
store float %440, float* %19
%441 = load float, float* %17
%442 = load float, float* %19
%443 = fcmp olt float %441, %442
br i1 %443, label %444, label %447
444: ; preds = %418
%445 = load float, float* %17
store float %445, float* %15
%446 = load float, float* %19
store float %446, float* %16
br label %450
447: ; preds = %418
%448 = load float, float* %19
store float %448, float* %15
%449 = load float, float* %17
store float %449, float* %16
br label %450
450: ; preds = %447, %444
%451 = load float, float* %23
%452 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 0
%453 = load float, float* %452
%454 = load float, float* %21
%455 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 2
%456 = load float, float* %455
%457 = fmul float %454, %456
%458 = call float @llvm.fmuladd.f32(float %451, float %453, float %457)
store float %458, float* %20
%459 = load float, float* %15
%460 = load float, float* %20
%461 = fcmp ogt float %459, %460
br i1 %461, label %467, label %462
462: ; preds = %450
%463 = load float, float* %16
%464 = load float, float* %20
%465 = fneg float %464
%466 = fcmp olt float %463, %465
br i1 %466, label %467, label %468
467: ; preds = %462, %450
store i32 0, i32* %6
br label %859
468: ; preds = %462
%469 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 1
%470 = load float, float* %469
%471 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 0
%472 = load float, float* %471
%473 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 0
%474 = load float, float* %473
%475 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 1
%476 = load float, float* %475
%477 = fmul float %474, %476
%478 = fneg float %477
%479 = call float @llvm.fmuladd.f32(float %470, float %472, float %478)
store float %479, float* %17
%480 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 1
%481 = load float, float* %480
%482 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 0
%483 = load float, float* %482
%484 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 0
%485 = load float, float* %484
%486 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 1
%487 = load float, float* %486
%488 = fmul float %485, %487
%489 = fneg float %488
%490 = call float @llvm.fmuladd.f32(float %481, float %483, float %489)
store float %490, float* %18
%491 = load float, float* %17
%492 = load float, float* %18
%493 = fcmp olt float %491, %492
br i1 %493, label %494, label %497
494: ; preds = %468
%495 = load float, float* %17
store float %495, float* %15
%496 = load float, float* %18
store float %496, float* %16
br label %500
497: ; preds = %468
%498 = load float, float* %18
store float %498, float* %15
%499 = load float, float* %17
store float %499, float* %16
br label %500
500: ; preds = %497, %494
%501 = load float, float* %22
%502 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 0
%503 = load float, float* %502
%504 = load float, float* %21
%505 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 1
%506 = load float, float* %505
%507 = fmul float %504, %506
%508 = call float @llvm.fmuladd.f32(float %501, float %503, float %507)
store float %508, float* %20
%509 = load float, float* %15
%510 = load float, float* %20
%511 = fcmp ogt float %509, %510
br i1 %511, label %517, label %512
512: ; preds = %500
%513 = load float, float* %16
%514 = load float, float* %20
%515 = fneg float %514
%516 = fcmp olt float %513, %515
br i1 %516, label %517, label %518
517: ; preds = %512, %500
store i32 0, i32* %6
br label %859
518: ; preds = %512
%519 = getelementptr inbounds [3 x float], [3 x float]* %27, i64 0, i64 0
%520 = load float, float* %519
%521 = call float @llvm.fabs.f32(float %520)
store float %521, float* %21
%522 = getelementptr inbounds [3 x float], [3 x float]* %27, i64 0, i64 1
%523 = load float, float* %522
%524 = call float @llvm.fabs.f32(float %523)
store float %524, float* %22
%525 = getelementptr inbounds [3 x float], [3 x float]* %27, i64 0, i64 2
%526 = load float, float* %525
%527 = call float @llvm.fabs.f32(float %526)
store float %527, float* %23
%528 = getelementptr inbounds [3 x float], [3 x float]* %27, i64 0, i64 2
%529 = load float, float* %528
%530 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 1
%531 = load float, float* %530
%532 = getelementptr inbounds [3 x float], [3 x float]* %27, i64 0, i64 1
%533 = load float, float* %532
%534 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 2
%535 = load float, float* %534
%536 = fmul float %533, %535
%537 = fneg float %536
%538 = call float @llvm.fmuladd.f32(float %529, float %531, float %537)
store float %538, float* %17
%539 = getelementptr inbounds [3 x float], [3 x float]* %27, i64 0, i64 2
%540 = load float, float* %539
%541 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 1
%542 = load float, float* %541
%543 = getelementptr inbounds [3 x float], [3 x float]* %27, i64 0, i64 1
%544 = load float, float* %543
%545 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 2
%546 = load float, float* %545
%547 = fmul float %544, %546
%548 = fneg float %547
%549 = call float @llvm.fmuladd.f32(float %540, float %542, float %548)
store float %549, float* %18
%550 = load float, float* %17
%551 = load float, float* %18
%552 = fcmp olt float %550, %551
br i1 %552, label %553, label %556
553: ; preds = %518
%554 = load float, float* %17
store float %554, float* %15
%555 = load float, float* %18
store float %555, float* %16
br label %559
556: ; preds = %518
%557 = load float, float* %18
store float %557, float* %15
%558 = load float, float* %17
store float %558, float* %16
br label %559
559: ; preds = %556, %553
%560 = load float, float* %23
%561 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 1
%562 = load float, float* %561
%563 = load float, float* %22
%564 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 2
%565 = load float, float* %564
%566 = fmul float %563, %565
%567 = call float @llvm.fmuladd.f32(float %560, float %562, float %566)
store float %567, float* %20
%568 = load float, float* %15
%569 = load float, float* %20
%570 = fcmp ogt float %568, %569
br i1 %570, label %576, label %571
571: ; preds = %559
%572 = load float, float* %16
%573 = load float, float* %20
%574 = fneg float %573
%575 = fcmp olt float %572, %574
br i1 %575, label %576, label %577
576: ; preds = %571, %559
store i32 0, i32* %6
br label %859
577: ; preds = %571
%578 = getelementptr inbounds [3 x float], [3 x float]* %27, i64 0, i64 2
%579 = load float, float* %578
%580 = fneg float %579
%581 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 0
%582 = load float, float* %581
%583 = getelementptr inbounds [3 x float], [3 x float]* %27, i64 0, i64 0
%584 = load float, float* %583
%585 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 2
%586 = load float, float* %585
%587 = fmul float %584, %586
%588 = call float @llvm.fmuladd.f32(float %580, float %582, float %587)
store float %588, float* %17
%589 = getelementptr inbounds [3 x float], [3 x float]* %27, i64 0, i64 2
%590 = load float, float* %589
%591 = fneg float %590
%592 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 0
%593 = load float, float* %592
%594 = getelementptr inbounds [3 x float], [3 x float]* %27, i64 0, i64 0
%595 = load float, float* %594
%596 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 2
%597 = load float, float* %596
%598 = fmul float %595, %597
%599 = call float @llvm.fmuladd.f32(float %591, float %593, float %598)
store float %599, float* %18
%600 = load float, float* %17
%601 = load float, float* %18
%602 = fcmp olt float %600, %601
br i1 %602, label %603, label %606
603: ; preds = %577
%604 = load float, float* %17
store float %604, float* %15
%605 = load float, float* %18
store float %605, float* %16
br label %609
606: ; preds = %577
%607 = load float, float* %18
store float %607, float* %15
%608 = load float, float* %17
store float %608, float* %16
br label %609
609: ; preds = %606, %603
%610 = load float, float* %23
%611 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 0
%612 = load float, float* %611
%613 = load float, float* %21
%614 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 2
%615 = load float, float* %614
%616 = fmul float %613, %615
%617 = call float @llvm.fmuladd.f32(float %610, float %612, float %616)
store float %617, float* %20
%618 = load float, float* %15
%619 = load float, float* %20
%620 = fcmp ogt float %618, %619
br i1 %620, label %626, label %621
621: ; preds = %609
%622 = load float, float* %16
%623 = load float, float* %20
%624 = fneg float %623
%625 = fcmp olt float %622, %624
br i1 %625, label %626, label %627
626: ; preds = %621, %609
store i32 0, i32* %6
br label %859
627: ; preds = %621
%628 = getelementptr inbounds [3 x float], [3 x float]* %27, i64 0, i64 1
%629 = load float, float* %628
%630 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 0
%631 = load float, float* %630
%632 = getelementptr inbounds [3 x float], [3 x float]* %27, i64 0, i64 0
%633 = load float, float* %632
%634 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 1
%635 = load float, float* %634
%636 = fmul float %633, %635
%637 = fneg float %636
%638 = call float @llvm.fmuladd.f32(float %629, float %631, float %637)
store float %638, float* %18
%639 = getelementptr inbounds [3 x float], [3 x float]* %27, i64 0, i64 1
%640 = load float, float* %639
%641 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 0
%642 = load float, float* %641
%643 = getelementptr inbounds [3 x float], [3 x float]* %27, i64 0, i64 0
%644 = load float, float* %643
%645 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 1
%646 = load float, float* %645
%647 = fmul float %644, %646
%648 = fneg float %647
%649 = call float @llvm.fmuladd.f32(float %640, float %642, float %648)
store float %649, float* %19
%650 = load float, float* %19
%651 = load float, float* %18
%652 = fcmp olt float %650, %651
br i1 %652, label %653, label %656
653: ; preds = %627
%654 = load float, float* %19
store float %654, float* %15
%655 = load float, float* %18
store float %655, float* %16
br label %659
656: ; preds = %627
%657 = load float, float* %18
store float %657, float* %15
%658 = load float, float* %19
store float %658, float* %16
br label %659
659: ; preds = %656, %653
%660 = load float, float* %22
%661 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 0
%662 = load float, float* %661
%663 = load float, float* %21
%664 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 1
%665 = load float, float* %664
%666 = fmul float %663, %665
%667 = call float @llvm.fmuladd.f32(float %660, float %662, float %666)
store float %667, float* %20
%668 = load float, float* %15
%669 = load float, float* %20
%670 = fcmp ogt float %668, %669
br i1 %670, label %676, label %671
671: ; preds = %659
%672 = load float, float* %16
%673 = load float, float* %20
%674 = fneg float %673
%675 = fcmp olt float %672, %674
br i1 %675, label %676, label %677
676: ; preds = %671, %659
store i32 0, i32* %6
br label %859
677: ; preds = %671
%678 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 0
%679 = load float, float* %678
store float %679, float* %16
store float %679, float* %15
%680 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 0
%681 = load float, float* %680
%682 = load float, float* %15
%683 = fcmp olt float %681, %682
br i1 %683, label %684, label %687
684: ; preds = %677
%685 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 0
%686 = load float, float* %685
store float %686, float* %15
br label %687
687: ; preds = %684, %677
%688 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 0
%689 = load float, float* %688
%690 = load float, float* %16
%691 = fcmp ogt float %689, %690
br i1 %691, label %692, label %695
692: ; preds = %687
%693 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 0
%694 = load float, float* %693
store float %694, float* %16
br label %695
695: ; preds = %692, %687
%696 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 0
%697 = load float, float* %696
%698 = load float, float* %15
%699 = fcmp olt float %697, %698
br i1 %699, label %700, label %703
700: ; preds = %695
%701 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 0
%702 = load float, float* %701
store float %702, float* %15
br label %703
703: ; preds = %700, %695
%704 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 0
%705 = load float, float* %704
%706 = load float, float* %16
%707 = fcmp ogt float %705, %706
br i1 %707, label %708, label %711
708: ; preds = %703
%709 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 0
%710 = load float, float* %709
store float %710, float* %16
br label %711
711: ; preds = %708, %703
%712 = load float, float* %15
%713 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 0
%714 = load float, float* %713
%715 = fcmp ogt float %712, %714
br i1 %715, label %722, label %716
716: ; preds = %711
%717 = load float, float* %16
%718 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 0
%719 = load float, float* %718
%720 = fneg float %719
%721 = fcmp olt float %717, %720
br i1 %721, label %722, label %723
722: ; preds = %716, %711
store i32 0, i32* %6
br label %859
723: ; preds = %716
%724 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 1
%725 = load float, float* %724
store float %725, float* %16
store float %725, float* %15
%726 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 1
%727 = load float, float* %726
%728 = load float, float* %15
%729 = fcmp olt float %727, %728
br i1 %729, label %730, label %733
730: ; preds = %723
%731 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 1
%732 = load float, float* %731
store float %732, float* %15
br label %733
733: ; preds = %730, %723
%734 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 1
%735 = load float, float* %734
%736 = load float, float* %16
%737 = fcmp ogt float %735, %736
br i1 %737, label %738, label %741
738: ; preds = %733
%739 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 1
%740 = load float, float* %739
store float %740, float* %16
br label %741
741: ; preds = %738, %733
%742 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 1
%743 = load float, float* %742
%744 = load float, float* %15
%745 = fcmp olt float %743, %744
br i1 %745, label %746, label %749
746: ; preds = %741
%747 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 1
%748 = load float, float* %747
store float %748, float* %15
br label %749
749: ; preds = %746, %741
%750 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 1
%751 = load float, float* %750
%752 = load float, float* %16
%753 = fcmp ogt float %751, %752
br i1 %753, label %754, label %757
754: ; preds = %749
%755 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 1
%756 = load float, float* %755
store float %756, float* %16
br label %757
757: ; preds = %754, %749
%758 = load float, float* %15
%759 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 1
%760 = load float, float* %759
%761 = fcmp ogt float %758, %760
br i1 %761, label %768, label %762
762: ; preds = %757
%763 = load float, float* %16
%764 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 1
%765 = load float, float* %764
%766 = fneg float %765
%767 = fcmp olt float %763, %766
br i1 %767, label %768, label %769
768: ; preds = %762, %757
store i32 0, i32* %6
br label %859
769: ; preds = %762
%770 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 2
%771 = load float, float* %770
store float %771, float* %16
store float %771, float* %15
%772 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 2
%773 = load float, float* %772
%774 = load float, float* %15
%775 = fcmp olt float %773, %774
br i1 %775, label %776, label %779
776: ; preds = %769
%777 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 2
%778 = load float, float* %777
store float %778, float* %15
br label %779
779: ; preds = %776, %769
%780 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 2
%781 = load float, float* %780
%782 = load float, float* %16
%783 = fcmp ogt float %781, %782
br i1 %783, label %784, label %787
784: ; preds = %779
%785 = getelementptr inbounds [3 x float], [3 x float]* %13, i64 0, i64 2
%786 = load float, float* %785
store float %786, float* %16
br label %787
787: ; preds = %784, %779
%788 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 2
%789 = load float, float* %788
%790 = load float, float* %15
%791 = fcmp olt float %789, %790
br i1 %791, label %792, label %795
792: ; preds = %787
%793 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 2
%794 = load float, float* %793
store float %794, float* %15
br label %795
795: ; preds = %792, %787
%796 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 2
%797 = load float, float* %796
%798 = load float, float* %16
%799 = fcmp ogt float %797, %798
br i1 %799, label %800, label %803
800: ; preds = %795
%801 = getelementptr inbounds [3 x float], [3 x float]* %14, i64 0, i64 2
%802 = load float, float* %801
store float %802, float* %16
br label %803
803: ; preds = %800, %795
%804 = load float, float* %15
%805 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 2
%806 = load float, float* %805
%807 = fcmp ogt float %804, %806
br i1 %807, label %814, label %808
808: ; preds = %803
%809 = load float, float* %16
%810 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 2
%811 = load float, float* %810
%812 = fneg float %811
%813 = fcmp olt float %809, %812
br i1 %813, label %814, label %815
814: ; preds = %808, %803
store i32 0, i32* %6
br label %859
815: ; preds = %808
%816 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 1
%817 = load float, float* %816
%818 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 2
%819 = load float, float* %818
%820 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 2
%821 = load float, float* %820
%822 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 1
%823 = load float, float* %822
%824 = fmul float %821, %823
%825 = fneg float %824
%826 = call float @llvm.fmuladd.f32(float %817, float %819, float %825)
%827 = getelementptr inbounds [3 x float], [3 x float]* %24, i64 0, i64 0
store float %826, float* %827
%828 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 2
%829 = load float, float* %828
%830 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 0
%831 = load float, float* %830
%832 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 0
%833 = load float, float* %832
%834 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 2
%835 = load float, float* %834
%836 = fmul float %833, %835
%837 = fneg float %836
%838 = call float @llvm.fmuladd.f32(float %829, float %831, float %837)
%839 = getelementptr inbounds [3 x float], [3 x float]* %24, i64 0, i64 1
store float %838, float* %839
%840 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 0
%841 = load float, float* %840
%842 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 1
%843 = load float, float* %842
%844 = getelementptr inbounds [3 x float], [3 x float]* %25, i64 0, i64 1
%845 = load float, float* %844
%846 = getelementptr inbounds [3 x float], [3 x float]* %26, i64 0, i64 0
%847 = load float, float* %846
%848 = fmul float %845, %847
%849 = fneg float %848
%850 = call float @llvm.fmuladd.f32(float %841, float %843, float %849)
%851 = getelementptr inbounds [3 x float], [3 x float]* %24, i64 0, i64 2
store float %850, float* %851
%852 = getelementptr inbounds [3 x float], [3 x float]* %24, i64 0, i64 0
%853 = getelementptr inbounds [3 x float], [3 x float]* %12, i64 0, i64 0
%854 = getelementptr inbounds [3 x float], [3 x float]* %29, i64 0, i64 0
%855 = call i32 (float*, float*, float*, ...) bitcast (i32 (...)* @planeBoxOverlap to i32 (float*, float*, float*, ...)*)(float* %852, float* %853, float* %854)
%856 = icmp ne i32 %855, 0
br i1 %856, label %858, label %857
857: ; preds = %815
store i32 0, i32* %6
br label %859
858: ; preds = %815
store i32 1, i32* %6
br label %859
859: ; preds = %858, %857, %814, %768, %722, %676, %626, %576, %517, %467, %417, %358, %308, %258
%860 = load i32, i32* %6
ret i32 %860
}

LLVM IR (-O2):
define i32 @triBoxOverlap(float* nocapture %0, float* nocapture %1, float* nocapture %2, float* nocapture %3, float* nocapture %4) {
%6 = alloca [3 x float]
%7 = alloca [3 x float]
%8 = alloca [3 x float]
%9 = bitcast [3 x float]* %6 to i8*
%10 = bitcast [3 x float]* %7 to i8*
%11 = bitcast [3 x float]* %8 to i8*
%12 = load float, float* %0
%13 = load float, float* %1
%14 = fadd float %12, %13
%15 = fmul float %14, 5.000000e-01
%16 = getelementptr inbounds float, float* %0, i64 1
%17 = load float, float* %16
%18 = getelementptr inbounds float, float* %1, i64 1
%19 = load float, float* %18
%20 = fadd float %17, %19
%21 = fmul float %20, 5.000000e-01
%22 = getelementptr inbounds float, float* %0, i64 2
%23 = load float, float* %22
%24 = getelementptr inbounds float, float* %1, i64 2
%25 = load float, float* %24
%26 = fadd float %23, %25
%27 = fmul float %26, 5.000000e-01
%28 = fsub float %15, %12
%29 = getelementptr inbounds [3 x float], [3 x float]* %8, i64 0, i64 0
store float %28, float* %29
%30 = fsub float %21, %17
%31 = getelementptr inbounds [3 x float], [3 x float]* %8, i64 0, i64 1
store float %30, float* %31
%32 = fsub float %27, %23
%33 = getelementptr inbounds [3 x float], [3 x float]* %8, i64 0, i64 2
store float %32, float* %33
%34 = load float, float* %2
%35 = fsub float %34, %15
%36 = getelementptr inbounds [3 x float], [3 x float]* %6, i64 0, i64 0
store float %35, float* %36
%37 = getelementptr inbounds float, float* %2, i64 1
%38 = load float, float* %37
%39 = fsub float %38, %21
%40 = getelementptr inbounds [3 x float], [3 x float]* %6, i64 0, i64 1
store float %39, float* %40
%41 = getelementptr inbounds float, float* %2, i64 2
%42 = load float, float* %41
%43 = getelementptr inbounds [3 x float], [3 x float]* %6, i64 0, i64 2
%44 = getelementptr inbounds float, float* %3, i64 2
%45 = load float, float* %44
%46 = insertelement <2 x float> poison, float %42, i64 0
%47 = insertelement <2 x float> %46, float %45, i64 1
%48 = insertelement <2 x float> poison, float %27, i64 0
%49 = shufflevector <2 x float> %48, <2 x float> poison, <2 x i32> zeroinitializer
%50 = fsub <2 x float> %47, %49
%51 = extractelement <2 x float> %50, i64 0
store float %51, float* %43
%52 = load float, float* %3
%53 = getelementptr inbounds float, float* %3, i64 1
%54 = load float, float* %53
%55 = load float, float* %4
%56 = insertelement <2 x float> poison, float %55, i64 0
%57 = insertelement <2 x float> %56, float %52, i64 1
%58 = insertelement <2 x float> poison, float %15, i64 0
%59 = shufflevector <2 x float> %58, <2 x float> poison, <2 x i32> zeroinitializer
%60 = fsub <2 x float> %57, %59
%61 = getelementptr inbounds float, float* %4, i64 1
%62 = load float, float* %61
%63 = insertelement <2 x float> poison, float %62, i64 0
%64 = insertelement <2 x float> %63, float %54, i64 1
%65 = insertelement <2 x float> poison, float %21, i64 0
%66 = shufflevector <2 x float> %65, <2 x float> poison, <2 x i32> zeroinitializer
%67 = fsub <2 x float> %64, %66
%68 = getelementptr inbounds float, float* %4, i64 2
%69 = load float, float* %68
%70 = fsub float %69, %27
%71 = extractelement <2 x float> %60, i64 1
%72 = fsub float %71, %35
%73 = extractelement <2 x float> %67, i64 1
%74 = fsub float %73, %39
%75 = extractelement <2 x float> %50, i64 1
%76 = fsub float %75, %51
%77 = extractelement <2 x float> %60, i64 0
%78 = fsub float %77, %71
%79 = extractelement <2 x float> %67, i64 0
%80 = fsub float %79, %73
%81 = fsub float %70, %75
%82 = fsub float %35, %77
%83 = fsub float %39, %79
%84 = fsub float %51, %70
%85 = tail call float @llvm.fabs.f32(float %72)
%86 = tail call float @llvm.fabs.f32(float %74)
%87 = tail call float @llvm.fabs.f32(float %76)
%88 = fneg float %74
%89 = insertelement <2 x float> %50, float %70, i64 1
%90 = insertelement <2 x float> poison, float %88, i64 0
%91 = shufflevector <2 x float> %90, <2 x float> poison, <2 x i32> zeroinitializer
%92 = fmul <2 x float> %89, %91
%93 = insertelement <2 x float> poison, float %76, i64 0
%94 = shufflevector <2 x float> %93, <2 x float> poison, <2 x i32> zeroinitializer
%95 = insertelement <2 x float> poison, float %39, i64 0
%96 = shufflevector <2 x float> %95, <2 x float> %67, <2 x i32> <i32 0, i32 2>
%97 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %94, <2 x float> %96, <2 x float> %92)
%98 = extractelement <2 x float> %97, i64 0
%99 = extractelement <2 x float> %97, i64 1
%100 = fcmp olt float %98, %99
%101 = select i1 %100, float %99, float %98
%102 = select i1 %100, float %98, float %99
%103 = fmul float %32, %86
%104 = tail call float @llvm.fmuladd.f32(float %87, float %30, float %103)
%105 = fcmp ogt float %102, %104
%106 = fneg float %104
%107 = fcmp olt float %101, %106
%108 = select i1 %105, i1 true, i1 %107
br i1 %108, label %323, label %109
109: ; preds = %5
%110 = fneg float %76
%111 = insertelement <2 x float> poison, float %72, i64 0
%112 = shufflevector <2 x float> %111, <2 x float> poison, <2 x i32> zeroinitializer
%113 = fmul <2 x float> %89, %112
%114 = insertelement <2 x float> poison, float %110, i64 0
%115 = shufflevector <2 x float> %114, <2 x float> poison, <2 x i32> zeroinitializer
%116 = insertelement <2 x float> poison, float %35, i64 0
%117 = shufflevector <2 x float> %116, <2 x float> %60, <2 x i32> <i32 0, i32 2>
%118 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %115, <2 x float> %117, <2 x float> %113)
%119 = extractelement <2 x float> %118, i64 0
%120 = extractelement <2 x float> %118, i64 1
%121 = fcmp olt float %119, %120
%122 = select i1 %121, float %120, float %119
%123 = select i1 %121, float %119, float %120
%124 = fmul float %32, %85
%125 = tail call float @llvm.fmuladd.f32(float %87, float %28, float %124)
%126 = fcmp ogt float %123, %125
%127 = fneg float %125
%128 = fcmp olt float %122, %127
%129 = select i1 %126, i1 true, i1 %128
br i1 %129, label %323, label %130
130: ; preds = %109
%131 = fneg float %72
%132 = insertelement <2 x float> poison, float %131, i64 0
%133 = shufflevector <2 x float> %132, <2 x float> poison, <2 x i32> zeroinitializer
%134 = fmul <2 x float> %67, %133
%135 = insertelement <2 x float> poison, float %74, i64 0
%136 = shufflevector <2 x float> %135, <2 x float> poison, <2 x i32> zeroinitializer
%137 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %136, <2 x float> %60, <2 x float> %134)
%138 = extractelement <2 x float> %137, i64 0
%139 = extractelement <2 x float> %137, i64 1
%140 = fcmp olt float %138, %139
%141 = select i1 %140, float %139, float %138
%142 = select i1 %140, float %138, float %139
%143 = fmul float %30, %85
%144 = tail call float @llvm.fmuladd.f32(float %86, float %28, float %143)
%145 = fcmp ogt float %142, %144
%146 = fneg float %144
%147 = fcmp olt float %141, %146
%148 = select i1 %145, i1 true, i1 %147
br i1 %148, label %323, label %149
149: ; preds = %130
%150 = tail call float @llvm.fabs.f32(float %78)
%151 = tail call float @llvm.fabs.f32(float %80)
%152 = tail call float @llvm.fabs.f32(float %81)
%153 = fneg float %80
%154 = insertelement <2 x float> poison, float %153, i64 0
%155 = shufflevector <2 x float> %154, <2 x float> poison, <2 x i32> zeroinitializer
%156 = fmul <2 x float> %89, %155
%157 = insertelement <2 x float> poison, float %81, i64 0
%158 = shufflevector <2 x float> %157, <2 x float> poison, <2 x i32> zeroinitializer
%159 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %158, <2 x float> %96, <2 x float> %156)
%160 = extractelement <2 x float> %159, i64 0
%161 = extractelement <2 x float> %159, i64 1
%162 = fcmp olt float %160, %161
%163 = select i1 %162, float %161, float %160
%164 = select i1 %162, float %160, float %161
%165 = fmul float %32, %151
%166 = tail call float @llvm.fmuladd.f32(float %152, float %30, float %165)
%167 = fcmp ogt float %164, %166
%168 = fneg float %166
%169 = fcmp olt float %163, %168
%170 = select i1 %167, i1 true, i1 %169
br i1 %170, label %323, label %171
171: ; preds = %149
%172 = fneg float %81
%173 = insertelement <2 x float> poison, float %78, i64 0
%174 = shufflevector <2 x float> %173, <2 x float> poison, <2 x i32> zeroinitializer
%175 = fmul <2 x float> %89, %174
%176 = insertelement <2 x float> poison, float %172, i64 0
%177 = shufflevector <2 x float> %176, <2 x float> poison, <2 x i32> zeroinitializer
%178 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %177, <2 x float> %117, <2 x float> %175)
%179 = extractelement <2 x float> %178, i64 0
%180 = extractelement <2 x float> %178, i64 1
%181 = fcmp olt float %179, %180
%182 = select i1 %181, float %180, float %179
%183 = select i1 %181, float %179, float %180
%184 = fmul float %32, %150
%185 = tail call float @llvm.fmuladd.f32(float %152, float %28, float %184)
%186 = fcmp ogt float %183, %185
%187 = fneg float %185
%188 = fcmp olt float %182, %187
%189 = select i1 %186, i1 true, i1 %188
br i1 %189, label %323, label %190
190: ; preds = %171
%191 = fneg float %78
%192 = insertelement <2 x float> %67, float %39, i64 0
%193 = insertelement <2 x float> poison, float %191, i64 0
%194 = shufflevector <2 x float> %193, <2 x float> poison, <2 x i32> zeroinitializer
%195 = fmul <2 x float> %192, %194
%196 = insertelement <2 x float> poison, float %80, i64 0
%197 = shufflevector <2 x float> %196, <2 x float> poison, <2 x i32> zeroinitializer
%198 = insertelement <2 x float> %60, float %35, i64 0
%199 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %197, <2 x float> %198, <2 x float> %195)
%200 = extractelement <2 x float> %199, i64 0
%201 = extractelement <2 x float> %199, i64 1
%202 = fcmp olt float %200, %201
%203 = select i1 %202, float %201, float %200
%204 = select i1 %202, float %200, float %201
%205 = fmul float %30, %150
%206 = tail call float @llvm.fmuladd.f32(float %151, float %28, float %205)
%207 = fcmp ogt float %204, %206
%208 = fneg float %206
%209 = fcmp olt float %203, %208
%210 = select i1 %207, i1 true, i1 %209
br i1 %210, label %323, label %211
211: ; preds = %190
%212 = tail call float @llvm.fabs.f32(float %82)
%213 = tail call float @llvm.fabs.f32(float %83)
%214 = tail call float @llvm.fabs.f32(float %84)
%215 = fneg float %83
%216 = insertelement <2 x float> poison, float %215, i64 0
%217 = shufflevector <2 x float> %216, <2 x float> poison, <2 x i32> zeroinitializer
%218 = fmul <2 x float> %50, %217
%219 = insertelement <2 x float> poison, float %84, i64 0
%220 = shufflevector <2 x float> %219, <2 x float> poison, <2 x i32> zeroinitializer
%221 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %220, <2 x float> %192, <2 x float> %218)
%222 = extractelement <2 x float> %221, i64 0
%223 = extractelement <2 x float> %221, i64 1
%224 = fcmp olt float %222, %223
%225 = select i1 %224, float %223, float %222
%226 = select i1 %224, float %222, float %223
%227 = fmul float %32, %213
%228 = tail call float @llvm.fmuladd.f32(float %214, float %30, float %227)
%229 = fcmp ogt float %226, %228
%230 = fneg float %228
%231 = fcmp olt float %225, %230
%232 = select i1 %229, i1 true, i1 %231
br i1 %232, label %323, label %233
233: ; preds = %211
%234 = fneg float %84
%235 = insertelement <2 x float> poison, float %82, i64 0
%236 = shufflevector <2 x float> %235, <2 x float> poison, <2 x i32> zeroinitializer
%237 = fmul <2 x float> %50, %236
%238 = insertelement <2 x float> poison, float %234, i64 0
%239 = shufflevector <2 x float> %238, <2 x float> poison, <2 x i32> zeroinitializer
%240 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %239, <2 x float> %198, <2 x float> %237)
%241 = extractelement <2 x float> %240, i64 0
%242 = extractelement <2 x float> %240, i64 1
%243 = fcmp olt float %241, %242
%244 = select i1 %243, float %242, float %241
%245 = select i1 %243, float %241, float %242
%246 = fmul float %32, %212
%247 = tail call float @llvm.fmuladd.f32(float %214, float %28, float %246)
%248 = fcmp ogt float %245, %247
%249 = fneg float %247
%250 = fcmp olt float %244, %249
%251 = select i1 %248, i1 true, i1 %250
br i1 %251, label %323, label %252
252: ; preds = %233
%253 = fneg float %82
%254 = insertelement <2 x float> poison, float %253, i64 0
%255 = shufflevector <2 x float> %254, <2 x float> poison, <2 x i32> zeroinitializer
%256 = fmul <2 x float> %67, %255
%257 = insertelement <2 x float> poison, float %83, i64 0
%258 = shufflevector <2 x float> %257, <2 x float> poison, <2 x i32> zeroinitializer
%259 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %258, <2 x float> %60, <2 x float> %256)
%260 = extractelement <2 x float> %259, i64 0
%261 = extractelement <2 x float> %259, i64 1
%262 = fcmp olt float %260, %261
%263 = select i1 %262, float %261, float %260
%264 = select i1 %262, float %260, float %261
%265 = fmul float %30, %212
%266 = tail call float @llvm.fmuladd.f32(float %213, float %28, float %265)
%267 = fcmp ogt float %264, %266
%268 = fneg float %266
%269 = fcmp olt float %263, %268
%270 = select i1 %267, i1 true, i1 %269
br i1 %270, label %323, label %271
271: ; preds = %252
%272 = fcmp olt float %71, %35
%273 = select i1 %272, float %71, float %35
%274 = fcmp ogt float %71, %35
%275 = select i1 %274, float %71, float %35
%276 = fcmp olt float %77, %273
%277 = select i1 %276, float %77, float %273
%278 = fcmp ogt float %77, %275
%279 = select i1 %278, float %77, float %275
%280 = fcmp ogt float %277, %28
%281 = fneg float %28
%282 = fcmp olt float %279, %281
%283 = select i1 %280, i1 true, i1 %282
br i1 %283, label %323, label %284
284: ; preds = %271
%285 = fcmp olt float %73, %39
%286 = select i1 %285, float %73, float %39
%287 = fcmp ogt float %73, %39
%288 = select i1 %287, float %73, float %39
%289 = fcmp olt float %79, %286
%290 = select i1 %289, float %79, float %286
%291 = fcmp ogt float %79, %288
%292 = select i1 %291, float %79, float %288
%293 = fcmp ogt float %290, %30
%294 = fneg float %30
%295 = fcmp olt float %292, %294
%296 = select i1 %293, i1 true, i1 %295
br i1 %296, label %323, label %297
297: ; preds = %284
%298 = fcmp olt float %75, %51
%299 = select i1 %298, float %75, float %51
%300 = fcmp ogt float %75, %51
%301 = select i1 %300, float %75, float %51
%302 = fcmp olt float %70, %299
%303 = select i1 %302, float %70, float %299
%304 = fcmp ogt float %70, %301
%305 = select i1 %304, float %70, float %301
%306 = fcmp ogt float %303, %32
%307 = fneg float %32
%308 = fcmp olt float %305, %307
%309 = select i1 %306, i1 true, i1 %308
br i1 %309, label %323, label %310
310: ; preds = %297
%311 = fmul float %80, %110
%312 = tail call float @llvm.fmuladd.f32(float %74, float %81, float %311)
%313 = getelementptr inbounds [3 x float], [3 x float]* %7, i64 0, i64 0
store float %312, float* %313
%314 = fmul float %81, %131
%315 = tail call float @llvm.fmuladd.f32(float %76, float %78, float %314)
%316 = getelementptr inbounds [3 x float], [3 x float]* %7, i64 0, i64 1
store float %315, float* %316
%317 = fmul float %78, %88
%318 = tail call float @llvm.fmuladd.f32(float %72, float %80, float %317)
%319 = getelementptr inbounds [3 x float], [3 x float]* %7, i64 0, i64 2
store float %318, float* %319
%320 = call i32 (float*, float*, float*, ...) bitcast (i32 (...)* @planeBoxOverlap to i32 (float*, float*, float*, ...)*)(float* %313, float* %36, float* %29)
%321 = icmp ne i32 %320, 0
%322 = zext i1 %321 to i32
br label %323
323: ; preds = %310, %297, %284, %271, %252, %233, %211, %190, %171, %149, %130, %109, %5
%324 = phi i32 [ 0, %5 ], [ 0, %109 ], [ 0, %130 ], [ 0, %149 ], [ 0, %171 ], [ 0, %190 ], [ 0, %211 ], [ 0, %233 ], [ 0, %252 ], [ 0, %271 ], [ 0, %284 ], [ 0, %297 ], [ %322, %310 ]
ret i32 %324
}