#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
float pow(float, int);
float sqrt(float);
float target_theta(float *x, float *dx, int m) {
  int ncoeff = 20;
  float avdat = 0.3636806E-01;
  float xmin[10] = {-0.15000E+02, -0.15000E+02, -0.18003E+02, -0.18010E+02,
                    0.00000E+00,  0.00000E+00,  0.00000E+00,  0.00000E+00,
                    0.00000E+00,  0.00000E+00};
  float xmax[10] = {0.15000E+02, 0.15000E+02, 0.18010E+02, 0.18002E+02,
                    0.00000E+00, 0.00000E+00, 0.00000E+00, 0.00000E+00,
                    0.00000E+00, 0.00000E+00};
  float scale[10] = {0};
  float coeff[21] = {0.18171037E-04,  -0.33632044E-01, -0.48830267E-01,
                     0.51181894E-01,  0.55511553E-01,  0.10376864E-02,
                     -0.71643846E-03, 0.84303014E-04,  -0.38171947E-03,
                     0.32458785E-04,  -0.97753464E-05, -0.35960995E-04,
                     0.13937657E-03,  0.23666424E-04,  -0.30256197E-04,
                     0.10619048E-03,  -0.21665166E-03, -0.86750870E-05,
                     0.54478038E-04,  -0.71678005E-04, 0.};
  int ientry = 0;
  int i;
  if (ientry == 0) {
    ientry = 1;
    for (i = 0; i < m; i++) {
      if (xmin[i] == xmax[i])
        continue;
      scale[i] = 2. / (xmax[i] - xmin[i]);
    }
  }
  float x1 = 1. + (x[0] - xmax[0]) * scale[0];
  float dx1 = dx[0] * scale[0];
  float x2 = 1. + (x[1] - xmax[1]) * scale[1];
  float dx2 = dx[1] * scale[1];
  float x3 = 1. + (x[2] - xmax[2]) * scale[2];
  float dx3 = dx[2] * scale[2];
  float x4 = 1. + (x[3] - xmax[3]) * scale[3];
  float dx4 = dx[3] * scale[3];
  float x11 = x1;
  float x12 = x11 * x1;
  float x13 = x12 * x1;
  float x21 = x2;
  float x22 = x21 * x2;
  float x31 = x3;
  float x32 = x31 * x3;
  float x33 = x32 * x3;
  float x41 = x4;
  float x42 = x41 * x4;
  float x43 = x42 * x4;
  float v_target_theta = avdat + coeff[0] + coeff[1] * x11 + coeff[2] * x21 +
                         coeff[3] * x31 + coeff[4] * x41 +
                         coeff[5] * x21 * x41 + coeff[6] * x42 +
                         coeff[7] * x31 * x42;
  v_target_theta = v_target_theta + coeff[8] * x22 + coeff[9] * x21 * x31 +
                   coeff[10] * x32 + coeff[11] * x11 * x22 + coeff[12] * x33 +
                   coeff[13] * x33 * x41 + coeff[14] * x11 * x21 +
                   coeff[15] * x13 + coeff[16] * x12 * x31;
  v_target_theta = v_target_theta + coeff[17] * x21 * x32 +
                   coeff[18] * x21 * x42 + coeff[19] * x43;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_theta =
      dxall == 0
          ? 0
          : sqrt(+dx1 * dx1 *
                     pow(0 + coeff[1] + coeff[11] * x22 + coeff[14] * x21 +
                             3 * coeff[15] * x12 + 2 * coeff[16] * x11 * x31,
                         2) +
                 dx2 * dx2 *
                     pow(0 + coeff[2] + coeff[5] * x41 + 2 * coeff[8] * x21 +
                             coeff[9] * x31 + 2 * coeff[11] * x21 * x11 +
                             coeff[14] * x11 + coeff[17] * x32 +
                             coeff[18] * x42,
                         2) +
                 dx3 * dx3 *
                     pow(0 + coeff[3] + coeff[7] * x42 + coeff[9] * x21 +
                             2 * coeff[10] * x31 + 3 * coeff[12] * x32 +
                             3 * coeff[13] * x32 * x41 + coeff[16] * x12 +
                             2 * coeff[17] * x31 * x21,
                         2) +
                 dx4 * dx4 *
                     pow(0 + coeff[4] + coeff[5] * x21 + 2 * coeff[6] * x41 +
                             2 * coeff[7] * x41 * x31 + coeff[13] * x33 +
                             2 * coeff[18] * x41 * x21 + 3 * coeff[19] * x42,
                         2));
  dx[0] = dv_target_theta;
  return v_target_theta;
}


x86 assembly (clang, -O0):
<target_theta>:
push   %rbp
mov    %rsp,%rbp
sub    $0x190,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
movl   $0x14,-0x18(%rbp)
movss  0xeb3(%rip),%xmm0
movss  %xmm0,-0x1c(%rbp)
lea    -0x50(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1030 <memset@plt>
movss  0xe92(%rip),%xmm0
movss  %xmm0,-0x50(%rbp)
movss  0xe85(%rip),%xmm0
movss  %xmm0,-0x4c(%rbp)
movss  0xe74(%rip),%xmm0
movss  %xmm0,-0x48(%rbp)
movss  0xe63(%rip),%xmm0
movss  %xmm0,-0x44(%rbp)
lea    -0x80(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1030 <memset@plt>
movss  0xe42(%rip),%xmm0
movss  %xmm0,-0x80(%rbp)
movss  0xe35(%rip),%xmm0
movss  %xmm0,-0x7c(%rbp)
movss  0xe24(%rip),%xmm0
movss  %xmm0,-0x78(%rbp)
movss  0xe13(%rip),%xmm0
movss  %xmm0,-0x74(%rbp)
lea    -0xb0(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1030 <memset@plt>
lea    -0x110(%rbp),%rdi
lea    0xe2d(%rip),%rsi
mov    $0x54,%edx
call   1040 <memcpy@plt>
movl   $0x0,-0x114(%rbp)
cmpl   $0x0,-0x114(%rbp)
jne    12d8 <target_theta+0x198>
movl   $0x1,-0x114(%rbp)
movl   $0x0,-0x118(%rbp)
mov    -0x118(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12d3 <target_theta+0x193>
movslq -0x118(%rbp),%rax
movss  -0x50(%rbp,%rax,4),%xmm0
movslq -0x118(%rbp),%rax
ucomiss -0x80(%rbp,%rax,4),%xmm0
jne    1281 <target_theta+0x141>
jp     1281 <target_theta+0x141>
jmp    12bf <target_theta+0x17f>
movslq -0x118(%rbp),%rax
movss  -0x80(%rbp,%rax,4),%xmm0
movslq -0x118(%rbp),%rax
subss  -0x50(%rbp,%rax,4),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xd89(%rip),%xmm0
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movslq -0x118(%rbp),%rax
movss  %xmm0,-0xb0(%rbp,%rax,4)
ff ff
mov    -0x118(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x118(%rbp)
jmp    1248 <target_theta+0x108>
jmp    12d8 <target_theta+0x198>
mov    -0x8(%rbp),%rax
movss  (%rax),%xmm0
subss  -0x80(%rbp),%xmm0
mulss  -0xb0(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm1
movsd  0xd2f(%rip),%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x11c(%rbp)
ff
mov    -0x10(%rbp),%rax
movss  (%rax),%xmm0
mulss  -0xb0(%rbp),%xmm0
ff
movss  %xmm0,-0x120(%rbp)
ff
mov    -0x8(%rbp),%rax
movss  0x4(%rax),%xmm0
subss  -0x7c(%rbp),%xmm0
mulss  -0xac(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm1
movsd  0xce5(%rip),%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x124(%rbp)
ff
mov    -0x10(%rbp),%rax
movss  0x4(%rax),%xmm0
mulss  -0xac(%rbp),%xmm0
ff
movss  %xmm0,-0x128(%rbp)
ff
mov    -0x8(%rbp),%rax
movss  0x8(%rax),%xmm0
subss  -0x78(%rbp),%xmm0
mulss  -0xa8(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm1
movsd  0xc9a(%rip),%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x12c(%rbp)
ff
mov    -0x10(%rbp),%rax
movss  0x8(%rax),%xmm0
mulss  -0xa8(%rbp),%xmm0
ff
movss  %xmm0,-0x130(%rbp)
ff
mov    -0x8(%rbp),%rax
movss  0xc(%rax),%xmm0
subss  -0x74(%rbp),%xmm0
mulss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm1
movsd  0xc4f(%rip),%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x134(%rbp)
ff
mov    -0x10(%rbp),%rax
movss  0xc(%rax),%xmm0
mulss  -0xa4(%rbp),%xmm0
ff
movss  %xmm0,-0x138(%rbp)
ff
movss  -0x11c(%rbp),%xmm0
ff
movss  %xmm0,-0x13c(%rbp)
ff
movss  -0x13c(%rbp),%xmm0
ff
mulss  -0x11c(%rbp),%xmm0
ff
movss  %xmm0,-0x140(%rbp)
ff
movss  -0x140(%rbp),%xmm0
ff
mulss  -0x11c(%rbp),%xmm0
ff
movss  %xmm0,-0x144(%rbp)
ff
movss  -0x124(%rbp),%xmm0
ff
movss  %xmm0,-0x148(%rbp)
ff
movss  -0x148(%rbp),%xmm0
ff
mulss  -0x124(%rbp),%xmm0
ff
movss  %xmm0,-0x14c(%rbp)
ff
movss  -0x12c(%rbp),%xmm0
ff
movss  %xmm0,-0x150(%rbp)
ff
movss  -0x150(%rbp),%xmm0
ff
mulss  -0x12c(%rbp),%xmm0
ff
movss  %xmm0,-0x154(%rbp)
ff
movss  -0x154(%rbp),%xmm0
ff
mulss  -0x12c(%rbp),%xmm0
ff
movss  %xmm0,-0x158(%rbp)
ff
movss  -0x134(%rbp),%xmm0
ff
movss  %xmm0,-0x15c(%rbp)
ff
movss  -0x15c(%rbp),%xmm0
ff
mulss  -0x134(%rbp),%xmm0
ff
movss  %xmm0,-0x160(%rbp)
ff
movss  -0x160(%rbp),%xmm0
ff
mulss  -0x134(%rbp),%xmm0
ff
movss  %xmm0,-0x164(%rbp)
ff
movss  -0x1c(%rbp),%xmm1
addss  -0x110(%rbp),%xmm1
ff
movss  -0x10c(%rbp),%xmm0
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0x108(%rbp),%xmm1
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0x104(%rbp),%xmm0
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0x100(%rbp),%xmm1
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xfc(%rbp),%xmm0
ff
mulss  -0x148(%rbp),%xmm0
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xf8(%rbp),%xmm1
ff
movss  -0x160(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xf4(%rbp),%xmm0
ff
mulss  -0x150(%rbp),%xmm0
ff
movss  -0x160(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x168(%rbp)
ff
movss  -0x168(%rbp),%xmm1
ff
movss  -0xf0(%rbp),%xmm0
ff
movss  -0x14c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xec(%rbp),%xmm1
ff
mulss  -0x148(%rbp),%xmm1
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xe8(%rbp),%xmm0
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xe4(%rbp),%xmm1
ff
mulss  -0x13c(%rbp),%xmm1
ff
movss  -0x14c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xe0(%rbp),%xmm0
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xdc(%rbp),%xmm1
ff
mulss  -0x158(%rbp),%xmm1
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xd8(%rbp),%xmm0
ff
mulss  -0x13c(%rbp),%xmm0
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xd4(%rbp),%xmm1
ff
movss  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xd0(%rbp),%xmm0
ff
mulss  -0x140(%rbp),%xmm0
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x168(%rbp)
ff
movss  -0x168(%rbp),%xmm1
ff
movss  -0xcc(%rbp),%xmm0
ff
mulss  -0x148(%rbp),%xmm0
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xc8(%rbp),%xmm1
ff
mulss  -0x148(%rbp),%xmm1
ff
movss  -0x160(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xc4(%rbp),%xmm0
ff
movss  -0x164(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x168(%rbp)
ff
xorps  %xmm0,%xmm0
addss  -0x120(%rbp),%xmm0
ff
addss  -0x128(%rbp),%xmm0
ff
addss  -0x130(%rbp),%xmm0
ff
addss  -0x138(%rbp),%xmm0
ff
movss  %xmm0,-0x16c(%rbp)
ff
movss  -0x16c(%rbp),%xmm0
ff
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    1784 <target_theta+0x644>
jp     1784 <target_theta+0x644>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x174(%rbp)
ff
jmp    1b8a <target_theta+0xa4a>
movss  -0x120(%rbp),%xmm0
ff
mulss  -0x120(%rbp),%xmm0
ff
movss  %xmm0,-0x188(%rbp)
ff
xorps  %xmm0,%xmm0
addss  -0x10c(%rbp),%xmm0
ff
movss  -0xe4(%rbp),%xmm1
ff
movss  -0x14c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xd8(%rbp),%xmm0
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x83d(%rip),%xmm1
mulss  -0xd4(%rbp),%xmm1
ff
movss  -0x140(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x821(%rip),%xmm0
mulss  -0xd0(%rbp),%xmm0
ff
mulss  -0x13c(%rbp),%xmm0
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movss  %xmm0,-0x18c(%rbp)
ff
movss  -0x128(%rbp),%xmm0
ff
mulss  -0x128(%rbp),%xmm0
ff
movss  %xmm0,-0x190(%rbp)
ff
xorps  %xmm1,%xmm1
addss  -0x108(%rbp),%xmm1
ff
movss  -0xfc(%rbp),%xmm0
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x7ac(%rip),%xmm1
mulss  -0xf0(%rbp),%xmm1
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xec(%rbp),%xmm0
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x774(%rip),%xmm1
mulss  -0xe4(%rbp),%xmm1
ff
mulss  -0x148(%rbp),%xmm1
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xd8(%rbp),%xmm0
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xcc(%rbp),%xmm1
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xc8(%rbp),%xmm0
ff
movss  -0x160(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movss  -0x190(%rbp),%xmm1
ff
movss  -0x18c(%rbp),%xmm2
ff
movaps %xmm0,%xmm3
movss  -0x188(%rbp),%xmm0
ff
mulss  %xmm3,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x184(%rbp)
ff
movss  -0x130(%rbp),%xmm0
ff
mulss  -0x130(%rbp),%xmm0
ff
movss  %xmm0,-0x180(%rbp)
ff
xorps  %xmm1,%xmm1
addss  -0x104(%rbp),%xmm1
ff
movss  -0xf4(%rbp),%xmm0
ff
movss  -0x160(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xec(%rbp),%xmm1
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x678(%rip),%xmm0
mulss  -0xe8(%rbp),%xmm0
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x654(%rip),%xmm1
mulss  -0xe0(%rbp),%xmm1
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x634(%rip),%xmm0
mulss  -0xdc(%rbp),%xmm0
ff
mulss  -0x154(%rbp),%xmm0
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xd0(%rbp),%xmm1
ff
movss  -0x140(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x5f8(%rip),%xmm0
mulss  -0xcc(%rbp),%xmm0
ff
mulss  -0x150(%rbp),%xmm0
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movss  -0x184(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movss  -0x180(%rbp),%xmm0
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x17c(%rbp)
ff
movss  -0x138(%rbp),%xmm0
ff
mulss  -0x138(%rbp),%xmm0
ff
movss  %xmm0,-0x178(%rbp)
ff
xorps  %xmm0,%xmm0
addss  -0x100(%rbp),%xmm0
ff
movss  -0xfc(%rbp),%xmm1
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x568(%rip),%xmm0
mulss  -0xf8(%rbp),%xmm0
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x548(%rip),%xmm1
mulss  -0xf4(%rbp),%xmm1
ff
mulss  -0x15c(%rbp),%xmm1
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xdc(%rbp),%xmm0
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x508(%rip),%xmm1
mulss  -0xc8(%rbp),%xmm1
ff
mulss  -0x15c(%rbp),%xmm1
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x4dc(%rip),%xmm0
mulss  -0xc4(%rbp),%xmm0
ff
movss  -0x160(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movss  -0x17c(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movss  -0x178(%rbp),%xmm0
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
call   1060 <sqrt@plt>
movss  %xmm0,-0x174(%rbp)
ff
movss  -0x174(%rbp),%xmm0
ff
movss  %xmm0,-0x170(%rbp)
ff
movss  -0x170(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
movss  %xmm0,(%rax)
movss  -0x168(%rbp),%xmm0
ff
add    $0x190,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<target_theta>:
push   %rbx
sub    $0x130,%rsp
mov    %rsi,%rbx
xorps  %xmm0,%xmm0
movaps %xmm0,0x110(%rsp)
movq   $0x0,0x120(%rsp)
movaps 0xeb7(%rip),%xmm1
movaps %xmm1,0x100(%rsp)
movaps %xmm0,0xe0(%rsp)
movq   $0x0,0xf0(%rsp)
movaps 0xea4(%rip),%xmm1
movaps %xmm1,0xd0(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0x90(%rsp)
movq   $0x0,0xb0(%rsp)
xorps  %xmm1,%xmm1
test   %edx,%edx
jle    120a <target_theta+0xea>
mov    %edx,%eax
add    $0xffffffffffffffff,%rax
movss  0xe7b(%rip),%xmm2
movss  0xe77(%rip),%xmm1
xor    %ecx,%ecx
movss  0xe71(%rip),%xmm0
nopw   0x0(%rax,%rax,1)
ucomiss %xmm1,%xmm2
jne    11c7 <target_theta+0xa7>
jnp    11db <target_theta+0xbb>
subss  %xmm2,%xmm1
movaps %xmm0,%xmm2
divss  %xmm1,%xmm2
movss  %xmm2,0x90(%rsp,%rcx,4)
cmp    %rcx,%rax
je     11f8 <target_theta+0xd8>
movss  0x104(%rsp,%rcx,4),%xmm2
movss  0xd4(%rsp,%rcx,4),%xmm1
add    $0x1,%rcx
jmp    11c0 <target_theta+0xa0>
movsd  0x90(%rsp),%xmm1
movsd  0x98(%rsp),%xmm0
movss  0xe0e(%rip),%xmm2
movss  (%rdi),%xmm5
addss  %xmm2,%xmm5
mulss  %xmm1,%xmm5
movss  0xe06(%rip),%xmm6
addss  %xmm6,%xmm5
addss  0x4(%rdi),%xmm2
movaps %xmm1,%xmm7
shufps $0x55,%xmm1,%xmm7
mulss  %xmm2,%xmm7
addss  %xmm6,%xmm7
movsd  (%rbx),%xmm3
movsd  0x8(%rbx),%xmm4
mulps  %xmm1,%xmm3
movaps %xmm3,%xmm14
shufps $0x55,%xmm3,%xmm14
movss  0x8(%rdi),%xmm13
movss  0xc(%rdi),%xmm1
addss  0xdc9(%rip),%xmm13
mulss  %xmm0,%xmm13
addss  %xmm6,%xmm13
addss  0xdbb(%rip),%xmm1
movaps %xmm0,%xmm8
shufps $0x55,%xmm0,%xmm8
mulss  %xmm1,%xmm8
addss  %xmm6,%xmm8
mulps  %xmm0,%xmm4
movaps %xmm4,%xmm2
shufps $0x55,%xmm4,%xmm2
movaps %xmm5,%xmm9
mulss  %xmm5,%xmm9
movaps %xmm7,%xmm6
mulss  %xmm7,%xmm6
movaps %xmm13,%xmm10
mulss  %xmm13,%xmm10
movaps %xmm13,%xmm12
mulss  %xmm10,%xmm12
movaps %xmm8,%xmm11
mulss  %xmm8,%xmm11
xorps  %xmm0,%xmm0
movaps %xmm3,%xmm1
addss  %xmm0,%xmm1
addss  %xmm14,%xmm1
addss  %xmm4,%xmm1
addss  %xmm2,%xmm1
ucomiss %xmm0,%xmm1
jne    12e3 <target_theta+0x1c3>
jnp    1602 <target_theta+0x4e2>
mulss  %xmm3,%xmm3
movaps %xmm3,0xc0(%rsp)
movss  0xd41(%rip),%xmm0
movaps %xmm6,0x80(%rsp)
mulss  %xmm6,%xmm0
addss  0xd31(%rip),%xmm0
movaps %xmm7,%xmm1
mulss  0xd2a(%rip),%xmm1
addss  %xmm0,%xmm1
movaps %xmm2,0x70(%rsp)
movss  0xd1d(%rip),%xmm2
mulss  %xmm9,%xmm2
addss  %xmm1,%xmm2
movss  0xd10(%rip),%xmm0
mulss  %xmm5,%xmm0
mulss  %xmm13,%xmm0
addss  %xmm2,%xmm0
mov    $0x2,%edi
movaps %xmm7,0x50(%rsp)
movss  %xmm13,0x8(%rsp)
movaps %xmm8,0x40(%rsp)
movss  %xmm9,0x18(%rsp)
movss  %xmm10,0xc(%rsp)
movaps %xmm11,0x30(%rsp)
movss  %xmm5,0x14(%rsp)
movss  %xmm12,0x10(%rsp)
movaps %xmm4,0x20(%rsp)
movaps %xmm14,0x60(%rsp)
call   1030 <pow@plt>
movss  %xmm0,0x1c(%rsp)
movaps 0x60(%rsp),%xmm0
mulss  %xmm0,%xmm0
movaps %xmm0,0x60(%rsp)
movaps 0x40(%rsp),%xmm0
mulss  0xc9e(%rip),%xmm0
addss  0xc9a(%rip),%xmm0
movss  0xc96(%rip),%xmm1
movaps 0x50(%rsp),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x8(%rsp),%xmm0
mulss  0xc7f(%rip),%xmm0
addss  %xmm1,%xmm0
movss  0xc77(%rip),%xmm1
mulss  %xmm2,%xmm1
movss  0x14(%rsp),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0xc41(%rip),%xmm0
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0xc51(%rip),%xmm1
mulss  0xc(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0xc43(%rip),%xmm0
mulss  0x30(%rsp),%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulss  0x60(%rsp),%xmm0
movss  0x1c(%rsp),%xmm1
mulss  0xc0(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  %xmm1,0x1c(%rsp)
movss  0xc0c(%rip),%xmm0
mulss  0x30(%rsp),%xmm0
addss  0xc02(%rip),%xmm0
movaps 0x20(%rsp),%xmm1
mulss  %xmm1,%xmm1
movaps %xmm1,0x20(%rsp)
movaps 0x50(%rsp),%xmm3
movss  0xbd3(%rip),%xmm1
mulss  %xmm3,%xmm1
addss  %xmm0,%xmm1
movss  0xbdb(%rip),%xmm0
movss  0x8(%rsp),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0xbc9(%rip),%xmm1
movss  0xc(%rsp),%xmm4
mulss  %xmm4,%xmm1
addss  %xmm0,%xmm1
movss  0xbb7(%rip),%xmm0
mulss  %xmm4,%xmm0
mulss  0x40(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  0xba5(%rip),%xmm1
mulss  0x18(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0xb97(%rip),%xmm0
mulss  %xmm2,%xmm0
mulss  %xmm3,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulss  0x20(%rsp),%xmm0
addss  0x1c(%rsp),%xmm0
movss  %xmm0,0x20(%rsp)
movaps 0x70(%rsp),%xmm0
mulss  %xmm0,%xmm0
movaps %xmm0,0x70(%rsp)
movss  0xb25(%rip),%xmm0
movaps 0x50(%rsp),%xmm4
mulss  %xmm4,%xmm0
addss  0xb4c(%rip),%xmm0
movaps %xmm0,%xmm1
movss  0xb45(%rip),%xmm0
movaps 0x40(%rsp),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0xb34(%rip),%xmm1
mulss  %xmm2,%xmm1
mulss  0x8(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0xb22(%rip),%xmm0
mulss  0x10(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  0xb14(%rip),%xmm1
mulss  %xmm2,%xmm1
mulss  %xmm4,%xmm1
addss  %xmm0,%xmm1
movss  0xb04(%rip),%xmm0
mulss  0x30(%rsp),%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulss  0x70(%rsp),%xmm0
addss  0x20(%rsp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jb     15c2 <target_theta+0x4a2>
sqrtss %xmm0,%xmm0
jmp    15c7 <target_theta+0x4a7>
call   1040 <sqrt@plt>
movaps 0x50(%rsp),%xmm7
movss  0x8(%rsp),%xmm13
movaps 0x40(%rsp),%xmm8
movss  0x18(%rsp),%xmm9
movss  0xc(%rsp),%xmm10
movaps 0x30(%rsp),%xmm11
movss  0x14(%rsp),%xmm5
movss  0x10(%rsp),%xmm12
movaps 0x80(%rsp),%xmm6
movaps %xmm5,%xmm1
movss  0xa33(%rip),%xmm2
mulss  %xmm5,%xmm2
movss  0xa1f(%rip),%xmm3
mulss  %xmm5,%xmm3
mulss  0xa17(%rip),%xmm5
addss  0xa6f(%rip),%xmm5
movss  0xa1b(%rip),%xmm4
mulss  %xmm7,%xmm4
addss  %xmm5,%xmm4
movss  0xa27(%rip),%xmm5
mulss  %xmm13,%xmm5
addss  %xmm4,%xmm5
movss  0xa2e(%rip),%xmm4
mulss  %xmm8,%xmm4
addss  %xmm5,%xmm4
movss  0x9e5(%rip),%xmm5
mulss  %xmm7,%xmm5
mulss  %xmm8,%xmm5
addss  %xmm4,%xmm5
movss  0xa24(%rip),%xmm4
mulss  %xmm11,%xmm4
addss  %xmm5,%xmm4
movss  0x9db(%rip),%xmm5
mulss  %xmm13,%xmm5
mulss  %xmm11,%xmm5
mulss  %xmm6,%xmm3
mulss  0xa01(%rip),%xmm6
addss  %xmm4,%xmm5
addss  %xmm5,%xmm6
movss  0x9a5(%rip),%xmm4
mulss  %xmm7,%xmm4
mulss  %xmm13,%xmm4
addss  %xmm6,%xmm4
movss  0x9e0(%rip),%xmm5
mulss  %xmm10,%xmm5
addss  %xmm4,%xmm5
addss  %xmm3,%xmm5
movss  0x9b3(%rip),%xmm3
mulss  %xmm12,%xmm3
mulss  0x9c1(%rip),%xmm12
addss  %xmm5,%xmm12
movss  0x96c(%rip),%xmm4
mulss  %xmm7,%xmm4
mulss  %xmm8,%xmm3
addss  %xmm12,%xmm3
movss  0x952(%rip),%xmm5
mulss  %xmm7,%xmm5
mulss  %xmm7,%xmm2
addss  %xmm3,%xmm2
mulss  %xmm9,%xmm1
mulss  0x954(%rip),%xmm9
mulss  0x980(%rip),%xmm1
addss  %xmm2,%xmm1
mulss  %xmm13,%xmm9
addss  %xmm1,%xmm9
mulss  %xmm10,%xmm5
addss  %xmm9,%xmm5
movaps %xmm8,%xmm1
mulss  %xmm11,%xmm1
mulss  %xmm11,%xmm4
addss  %xmm5,%xmm4
mulss  0x952(%rip),%xmm1
addss  %xmm4,%xmm1
movss  %xmm0,(%rbx)
movaps %xmm1,%xmm0
add    $0x130,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@__const.target_theta.coeff = [21 x float] [float 0x3EF30DC020000000, float 0xBFA1383820000000, float 0xBFA90047E0000000, float 0x3FAA348360000000, float 0x3FAC6C02A0000000, float 0x3F51005F40000000, float 0xBF4779EBE0000000, float 0x3F16197AC0000000, float 0xBF390430A0000000, float 0x3F01048B60000000, float 0xBEE4801960000000, float 0xBF02DA9A60000000, float 0x3F2244B3A0000000, float 0x3EF8D0E840000000, float 0xBEFFB9D600000000, float 0x3F1BD65280000000, float 0xBF2C659FA0000000, float 0xBEE23166E0000000, float 0x3F0C8FEB20000000, float 0xBF12CA3AC0000000, float 0.000000e+00]
define float @target_theta(float* %0, float* %1, i32 %2) {
%4 = alloca float*
%5 = alloca float*
%6 = alloca i32
%7 = alloca i32
%8 = alloca float
%9 = alloca [10 x float]
%10 = alloca [10 x float]
%11 = alloca [10 x float]
%12 = alloca [21 x float]
%13 = alloca i32
%14 = alloca i32
%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 float
%25 = alloca float
%26 = alloca float
%27 = alloca float
%28 = alloca float
%29 = alloca float
%30 = alloca float
%31 = alloca float
%32 = alloca float
%33 = alloca float
%34 = alloca float
%35 = alloca float
%36 = alloca float
store float* %0, float** %4
store float* %1, float** %5
store i32 %2, i32* %6
store i32 20, i32* %7
store float 0x3FA29ED5A0000000, float* %8
%37 = bitcast [10 x float]* %9 to i8*
%38 = bitcast i8* %37 to [10 x float]*
%39 = getelementptr inbounds [10 x float], [10 x float]* %38, i32 0, i32 0
store float -1.500000e+01, float* %39
%40 = getelementptr inbounds [10 x float], [10 x float]* %38, i32 0, i32 1
store float -1.500000e+01, float* %40
%41 = getelementptr inbounds [10 x float], [10 x float]* %38, i32 0, i32 2
store float 0xC03200C4A0000000, float* %41
%42 = getelementptr inbounds [10 x float], [10 x float]* %38, i32 0, i32 3
store float 0xC032028F60000000, float* %42
%43 = bitcast [10 x float]* %10 to i8*
%44 = bitcast i8* %43 to [10 x float]*
%45 = getelementptr inbounds [10 x float], [10 x float]* %44, i32 0, i32 0
store float 1.500000e+01, float* %45
%46 = getelementptr inbounds [10 x float], [10 x float]* %44, i32 0, i32 1
store float 1.500000e+01, float* %46
%47 = getelementptr inbounds [10 x float], [10 x float]* %44, i32 0, i32 2
store float 0x4032028F60000000, float* %47
%48 = getelementptr inbounds [10 x float], [10 x float]* %44, i32 0, i32 3
store float 0x4032008320000000, float* %48
%49 = bitcast [10 x float]* %11 to i8*
%50 = bitcast [21 x float]* %12 to i8*
store i32 0, i32* %13
%51 = load i32, i32* %13
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %89
53: ; preds = %3
store i32 1, i32* %13
store i32 0, i32* %14
br label %54
54: ; preds = %85, %53
%55 = load i32, i32* %14
%56 = load i32, i32* %6
%57 = icmp slt i32 %55, %56
br i1 %57, label %58, label %88
58: ; preds = %54
%59 = load i32, i32* %14
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [10 x float], [10 x float]* %9, i64 0, i64 %60
%62 = load float, float* %61
%63 = load i32, i32* %14
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [10 x float], [10 x float]* %10, i64 0, i64 %64
%66 = load float, float* %65
%67 = fcmp oeq float %62, %66
br i1 %67, label %68, label %69
68: ; preds = %58
br label %85
69: ; preds = %58
%70 = load i32, i32* %14
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [10 x float], [10 x float]* %10, i64 0, i64 %71
%73 = load float, float* %72
%74 = load i32, i32* %14
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [10 x float], [10 x float]* %9, i64 0, i64 %75
%77 = load float, float* %76
%78 = fsub float %73, %77
%79 = fpext float %78 to double
%80 = fdiv double 2.000000e+00, %79
%81 = fptrunc double %80 to float
%82 = load i32, i32* %14
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [10 x float], [10 x float]* %11, i64 0, i64 %83
store float %81, float* %84
br label %85
85: ; preds = %69, %68
%86 = load i32, i32* %14
%87 = add nsw i32 %86, 1
store i32 %87, i32* %14
br label %54
88: ; preds = %54
br label %89
89: ; preds = %88, %3
%90 = load float*, float** %4
%91 = getelementptr inbounds float, float* %90, i64 0
%92 = load float, float* %91
%93 = getelementptr inbounds [10 x float], [10 x float]* %10, i64 0, i64 0
%94 = load float, float* %93
%95 = fsub float %92, %94
%96 = getelementptr inbounds [10 x float], [10 x float]* %11, i64 0, i64 0
%97 = load float, float* %96
%98 = fmul float %95, %97
%99 = fpext float %98 to double
%100 = fadd double 1.000000e+00, %99
%101 = fptrunc double %100 to float
store float %101, float* %15
%102 = load float*, float** %5
%103 = getelementptr inbounds float, float* %102, i64 0
%104 = load float, float* %103
%105 = getelementptr inbounds [10 x float], [10 x float]* %11, i64 0, i64 0
%106 = load float, float* %105
%107 = fmul float %104, %106
store float %107, float* %16
%108 = load float*, float** %4
%109 = getelementptr inbounds float, float* %108, i64 1
%110 = load float, float* %109
%111 = getelementptr inbounds [10 x float], [10 x float]* %10, i64 0, i64 1
%112 = load float, float* %111
%113 = fsub float %110, %112
%114 = getelementptr inbounds [10 x float], [10 x float]* %11, i64 0, i64 1
%115 = load float, float* %114
%116 = fmul float %113, %115
%117 = fpext float %116 to double
%118 = fadd double 1.000000e+00, %117
%119 = fptrunc double %118 to float
store float %119, float* %17
%120 = load float*, float** %5
%121 = getelementptr inbounds float, float* %120, i64 1
%122 = load float, float* %121
%123 = getelementptr inbounds [10 x float], [10 x float]* %11, i64 0, i64 1
%124 = load float, float* %123
%125 = fmul float %122, %124
store float %125, float* %18
%126 = load float*, float** %4
%127 = getelementptr inbounds float, float* %126, i64 2
%128 = load float, float* %127
%129 = getelementptr inbounds [10 x float], [10 x float]* %10, i64 0, i64 2
%130 = load float, float* %129
%131 = fsub float %128, %130
%132 = getelementptr inbounds [10 x float], [10 x float]* %11, i64 0, i64 2
%133 = load float, float* %132
%134 = fmul float %131, %133
%135 = fpext float %134 to double
%136 = fadd double 1.000000e+00, %135
%137 = fptrunc double %136 to float
store float %137, float* %19
%138 = load float*, float** %5
%139 = getelementptr inbounds float, float* %138, i64 2
%140 = load float, float* %139
%141 = getelementptr inbounds [10 x float], [10 x float]* %11, i64 0, i64 2
%142 = load float, float* %141
%143 = fmul float %140, %142
store float %143, float* %20
%144 = load float*, float** %4
%145 = getelementptr inbounds float, float* %144, i64 3
%146 = load float, float* %145
%147 = getelementptr inbounds [10 x float], [10 x float]* %10, i64 0, i64 3
%148 = load float, float* %147
%149 = fsub float %146, %148
%150 = getelementptr inbounds [10 x float], [10 x float]* %11, i64 0, i64 3
%151 = load float, float* %150
%152 = fmul float %149, %151
%153 = fpext float %152 to double
%154 = fadd double 1.000000e+00, %153
%155 = fptrunc double %154 to float
store float %155, float* %21
%156 = load float*, float** %5
%157 = getelementptr inbounds float, float* %156, i64 3
%158 = load float, float* %157
%159 = getelementptr inbounds [10 x float], [10 x float]* %11, i64 0, i64 3
%160 = load float, float* %159
%161 = fmul float %158, %160
store float %161, float* %22
%162 = load float, float* %15
store float %162, float* %23
%163 = load float, float* %23
%164 = load float, float* %15
%165 = fmul float %163, %164
store float %165, float* %24
%166 = load float, float* %24
%167 = load float, float* %15
%168 = fmul float %166, %167
store float %168, float* %25
%169 = load float, float* %17
store float %169, float* %26
%170 = load float, float* %26
%171 = load float, float* %17
%172 = fmul float %170, %171
store float %172, float* %27
%173 = load float, float* %19
store float %173, float* %28
%174 = load float, float* %28
%175 = load float, float* %19
%176 = fmul float %174, %175
store float %176, float* %29
%177 = load float, float* %29
%178 = load float, float* %19
%179 = fmul float %177, %178
store float %179, float* %30
%180 = load float, float* %21
store float %180, float* %31
%181 = load float, float* %31
%182 = load float, float* %21
%183 = fmul float %181, %182
store float %183, float* %32
%184 = load float, float* %32
%185 = load float, float* %21
%186 = fmul float %184, %185
store float %186, float* %33
%187 = load float, float* %8
%188 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 0
%189 = load float, float* %188
%190 = fadd float %187, %189
%191 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 1
%192 = load float, float* %191
%193 = load float, float* %23
%194 = call float @llvm.fmuladd.f32(float %192, float %193, float %190)
%195 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 2
%196 = load float, float* %195
%197 = load float, float* %26
%198 = call float @llvm.fmuladd.f32(float %196, float %197, float %194)
%199 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 3
%200 = load float, float* %199
%201 = load float, float* %28
%202 = call float @llvm.fmuladd.f32(float %200, float %201, float %198)
%203 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 4
%204 = load float, float* %203
%205 = load float, float* %31
%206 = call float @llvm.fmuladd.f32(float %204, float %205, float %202)
%207 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 5
%208 = load float, float* %207
%209 = load float, float* %26
%210 = fmul float %208, %209
%211 = load float, float* %31
%212 = call float @llvm.fmuladd.f32(float %210, float %211, float %206)
%213 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 6
%214 = load float, float* %213
%215 = load float, float* %32
%216 = call float @llvm.fmuladd.f32(float %214, float %215, float %212)
%217 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 7
%218 = load float, float* %217
%219 = load float, float* %28
%220 = fmul float %218, %219
%221 = load float, float* %32
%222 = call float @llvm.fmuladd.f32(float %220, float %221, float %216)
store float %222, float* %34
%223 = load float, float* %34
%224 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 8
%225 = load float, float* %224
%226 = load float, float* %27
%227 = call float @llvm.fmuladd.f32(float %225, float %226, float %223)
%228 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 9
%229 = load float, float* %228
%230 = load float, float* %26
%231 = fmul float %229, %230
%232 = load float, float* %28
%233 = call float @llvm.fmuladd.f32(float %231, float %232, float %227)
%234 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 10
%235 = load float, float* %234
%236 = load float, float* %29
%237 = call float @llvm.fmuladd.f32(float %235, float %236, float %233)
%238 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 11
%239 = load float, float* %238
%240 = load float, float* %23
%241 = fmul float %239, %240
%242 = load float, float* %27
%243 = call float @llvm.fmuladd.f32(float %241, float %242, float %237)
%244 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 12
%245 = load float, float* %244
%246 = load float, float* %30
%247 = call float @llvm.fmuladd.f32(float %245, float %246, float %243)
%248 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 13
%249 = load float, float* %248
%250 = load float, float* %30
%251 = fmul float %249, %250
%252 = load float, float* %31
%253 = call float @llvm.fmuladd.f32(float %251, float %252, float %247)
%254 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 14
%255 = load float, float* %254
%256 = load float, float* %23
%257 = fmul float %255, %256
%258 = load float, float* %26
%259 = call float @llvm.fmuladd.f32(float %257, float %258, float %253)
%260 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 15
%261 = load float, float* %260
%262 = load float, float* %25
%263 = call float @llvm.fmuladd.f32(float %261, float %262, float %259)
%264 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 16
%265 = load float, float* %264
%266 = load float, float* %24
%267 = fmul float %265, %266
%268 = load float, float* %28
%269 = call float @llvm.fmuladd.f32(float %267, float %268, float %263)
store float %269, float* %34
%270 = load float, float* %34
%271 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 17
%272 = load float, float* %271
%273 = load float, float* %26
%274 = fmul float %272, %273
%275 = load float, float* %29
%276 = call float @llvm.fmuladd.f32(float %274, float %275, float %270)
%277 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 18
%278 = load float, float* %277
%279 = load float, float* %26
%280 = fmul float %278, %279
%281 = load float, float* %32
%282 = call float @llvm.fmuladd.f32(float %280, float %281, float %276)
%283 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 19
%284 = load float, float* %283
%285 = load float, float* %33
%286 = call float @llvm.fmuladd.f32(float %284, float %285, float %282)
store float %286, float* %34
%287 = load float, float* %16
%288 = fadd float 0.000000e+00, %287
%289 = load float, float* %18
%290 = fadd float %288, %289
%291 = load float, float* %20
%292 = fadd float %290, %291
%293 = load float, float* %22
%294 = fadd float %292, %293
store float %294, float* %35
%295 = load float, float* %35
%296 = fcmp oeq float %295, 0.000000e+00
br i1 %296, label %297, label %298
297: ; preds = %89
br label %452
298: ; preds = %89
%299 = load float, float* %16
%300 = load float, float* %16
%301 = fmul float %299, %300
%302 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 1
%303 = load float, float* %302
%304 = fadd float 0.000000e+00, %303
%305 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 11
%306 = load float, float* %305
%307 = load float, float* %27
%308 = call float @llvm.fmuladd.f32(float %306, float %307, float %304)
%309 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 14
%310 = load float, float* %309
%311 = load float, float* %26
%312 = call float @llvm.fmuladd.f32(float %310, float %311, float %308)
%313 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 15
%314 = load float, float* %313
%315 = fmul float 3.000000e+00, %314
%316 = load float, float* %24
%317 = call float @llvm.fmuladd.f32(float %315, float %316, float %312)
%318 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 16
%319 = load float, float* %318
%320 = fmul float 2.000000e+00, %319
%321 = load float, float* %23
%322 = fmul float %320, %321
%323 = load float, float* %28
%324 = call float @llvm.fmuladd.f32(float %322, float %323, float %317)
%325 = call float @pow(float %324, i32 2)
%326 = load float, float* %18
%327 = load float, float* %18
%328 = fmul float %326, %327
%329 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 2
%330 = load float, float* %329
%331 = fadd float 0.000000e+00, %330
%332 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 5
%333 = load float, float* %332
%334 = load float, float* %31
%335 = call float @llvm.fmuladd.f32(float %333, float %334, float %331)
%336 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 8
%337 = load float, float* %336
%338 = fmul float 2.000000e+00, %337
%339 = load float, float* %26
%340 = call float @llvm.fmuladd.f32(float %338, float %339, float %335)
%341 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 9
%342 = load float, float* %341
%343 = load float, float* %28
%344 = call float @llvm.fmuladd.f32(float %342, float %343, float %340)
%345 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 11
%346 = load float, float* %345
%347 = fmul float 2.000000e+00, %346
%348 = load float, float* %26
%349 = fmul float %347, %348
%350 = load float, float* %23
%351 = call float @llvm.fmuladd.f32(float %349, float %350, float %344)
%352 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 14
%353 = load float, float* %352
%354 = load float, float* %23
%355 = call float @llvm.fmuladd.f32(float %353, float %354, float %351)
%356 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 17
%357 = load float, float* %356
%358 = load float, float* %29
%359 = call float @llvm.fmuladd.f32(float %357, float %358, float %355)
%360 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 18
%361 = load float, float* %360
%362 = load float, float* %32
%363 = call float @llvm.fmuladd.f32(float %361, float %362, float %359)
%364 = call float @pow(float %363, i32 2)
%365 = fmul float %328, %364
%366 = call float @llvm.fmuladd.f32(float %301, float %325, float %365)
%367 = load float, float* %20
%368 = load float, float* %20
%369 = fmul float %367, %368
%370 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 3
%371 = load float, float* %370
%372 = fadd float 0.000000e+00, %371
%373 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 7
%374 = load float, float* %373
%375 = load float, float* %32
%376 = call float @llvm.fmuladd.f32(float %374, float %375, float %372)
%377 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 9
%378 = load float, float* %377
%379 = load float, float* %26
%380 = call float @llvm.fmuladd.f32(float %378, float %379, float %376)
%381 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 10
%382 = load float, float* %381
%383 = fmul float 2.000000e+00, %382
%384 = load float, float* %28
%385 = call float @llvm.fmuladd.f32(float %383, float %384, float %380)
%386 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 12
%387 = load float, float* %386
%388 = fmul float 3.000000e+00, %387
%389 = load float, float* %29
%390 = call float @llvm.fmuladd.f32(float %388, float %389, float %385)
%391 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 13
%392 = load float, float* %391
%393 = fmul float 3.000000e+00, %392
%394 = load float, float* %29
%395 = fmul float %393, %394
%396 = load float, float* %31
%397 = call float @llvm.fmuladd.f32(float %395, float %396, float %390)
%398 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 16
%399 = load float, float* %398
%400 = load float, float* %24
%401 = call float @llvm.fmuladd.f32(float %399, float %400, float %397)
%402 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 17
%403 = load float, float* %402
%404 = fmul float 2.000000e+00, %403
%405 = load float, float* %28
%406 = fmul float %404, %405
%407 = load float, float* %26
%408 = call float @llvm.fmuladd.f32(float %406, float %407, float %401)
%409 = call float @pow(float %408, i32 2)
%410 = call float @llvm.fmuladd.f32(float %369, float %409, float %366)
%411 = load float, float* %22
%412 = load float, float* %22
%413 = fmul float %411, %412
%414 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 4
%415 = load float, float* %414
%416 = fadd float 0.000000e+00, %415
%417 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 5
%418 = load float, float* %417
%419 = load float, float* %26
%420 = call float @llvm.fmuladd.f32(float %418, float %419, float %416)
%421 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 6
%422 = load float, float* %421
%423 = fmul float 2.000000e+00, %422
%424 = load float, float* %31
%425 = call float @llvm.fmuladd.f32(float %423, float %424, float %420)
%426 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 7
%427 = load float, float* %426
%428 = fmul float 2.000000e+00, %427
%429 = load float, float* %31
%430 = fmul float %428, %429
%431 = load float, float* %28
%432 = call float @llvm.fmuladd.f32(float %430, float %431, float %425)
%433 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 13
%434 = load float, float* %433
%435 = load float, float* %30
%436 = call float @llvm.fmuladd.f32(float %434, float %435, float %432)
%437 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 18
%438 = load float, float* %437
%439 = fmul float 2.000000e+00, %438
%440 = load float, float* %31
%441 = fmul float %439, %440
%442 = load float, float* %26
%443 = call float @llvm.fmuladd.f32(float %441, float %442, float %436)
%444 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 19
%445 = load float, float* %444
%446 = fmul float 3.000000e+00, %445
%447 = load float, float* %32
%448 = call float @llvm.fmuladd.f32(float %446, float %447, float %443)
%449 = call float @pow(float %448, i32 2)
%450 = call float @llvm.fmuladd.f32(float %413, float %449, float %410)
%451 = call float @sqrt(float %450)
br label %452
452: ; preds = %298, %297
%453 = phi float [ 0.000000e+00, %297 ], [ %451, %298 ]
store float %453, float* %36
%454 = load float, float* %36
%455 = load float*, float** %5
%456 = getelementptr inbounds float, float* %455, i64 0
store float %454, float* %456
%457 = load float, float* %34
ret float %457
}

LLVM IR (-O2):
define float @target_theta(float* nocapture %0, float* nocapture %1, i32 %2) {
%4 = alloca [10 x float]
%5 = alloca [10 x float]
%6 = alloca [10 x float]
%7 = bitcast [10 x float]* %4 to i8*
%8 = getelementptr inbounds [10 x float], [10 x float]* %4, i64 0, i64 4
%9 = bitcast float* %8 to i8*
%10 = bitcast [10 x float]* %4 to <4 x float>*
store <4 x float> <float -1.500000e+01, float -1.500000e+01, float 0xC03200C4A0000000, float 0xC032028F60000000>, <4 x float>* %10
%11 = bitcast [10 x float]* %5 to i8*
%12 = getelementptr inbounds [10 x float], [10 x float]* %5, i64 0, i64 4
%13 = bitcast float* %12 to i8*
%14 = bitcast [10 x float]* %5 to <4 x float>*
store <4 x float> <float 1.500000e+01, float 1.500000e+01, float 0x4032028F60000000, float 0x4032008320000000>, <4 x float>* %14
%15 = bitcast [10 x float]* %6 to i8*
%16 = icmp sgt i32 %2, 0
br i1 %16, label %17, label %42
17: ; preds = %3
%18 = zext i32 %2 to i64
br label %19
19: ; preds = %31, %17
%20 = phi float [ 1.500000e+01, %17 ], [ %35, %31 ]
%21 = phi float [ -1.500000e+01, %17 ], [ %33, %31 ]
%22 = phi i64 [ 0, %17 ], [ %29, %31 ]
%23 = fcmp oeq float %21, %20
br i1 %23, label %28, label %24
24: ; preds = %19
%25 = fsub float %20, %21
%26 = fdiv float 2.000000e+00, %25
%27 = getelementptr inbounds [10 x float], [10 x float]* %6, i64 0, i64 %22
store float %26, float* %27
br label %28
28: ; preds = %19, %24
%29 = add nuw nsw i64 %22, 1
%30 = icmp eq i64 %29, %18
br i1 %30, label %36, label %31
31: ; preds = %28
%32 = getelementptr inbounds [10 x float], [10 x float]* %4, i64 0, i64 %29
%33 = load float, float* %32
%34 = getelementptr inbounds [10 x float], [10 x float]* %5, i64 0, i64 %29
%35 = load float, float* %34
br label %19
36: ; preds = %28
%37 = bitcast [10 x float]* %6 to <2 x float>*
%38 = load <2 x float>, <2 x float>* %37
%39 = getelementptr inbounds [10 x float], [10 x float]* %6, i64 0, i64 2
%40 = bitcast float* %39 to <2 x float>*
%41 = load <2 x float>, <2 x float>* %40
br label %42
42: ; preds = %36, %3
%43 = phi <2 x float> [ %41, %36 ], [ zeroinitializer, %3 ]
%44 = phi <2 x float> [ %38, %36 ], [ zeroinitializer, %3 ]
%45 = load float, float* %0
%46 = fadd float %45, -1.500000e+01
%47 = extractelement <2 x float> %44, i64 0
%48 = fmul float %46, %47
%49 = fadd float %48, 1.000000e+00
%50 = getelementptr inbounds float, float* %0, i64 1
%51 = load float, float* %50
%52 = fadd float %51, -1.500000e+01
%53 = extractelement <2 x float> %44, i64 1
%54 = fmul float %52, %53
%55 = fadd float %54, 1.000000e+00
%56 = bitcast float* %1 to <2 x float>*
%57 = load <2 x float>, <2 x float>* %56
%58 = fmul <2 x float> %44, %57
%59 = getelementptr inbounds float, float* %0, i64 2
%60 = load float, float* %59
%61 = fadd float %60, 0xC032028F60000000
%62 = extractelement <2 x float> %43, i64 0
%63 = fmul float %61, %62
%64 = fadd float %63, 1.000000e+00
%65 = getelementptr inbounds float, float* %1, i64 2
%66 = getelementptr inbounds float, float* %0, i64 3
%67 = load float, float* %66
%68 = fadd float %67, 0xC032008320000000
%69 = extractelement <2 x float> %43, i64 1
%70 = fmul float %68, %69
%71 = fadd float %70, 1.000000e+00
%72 = bitcast float* %65 to <2 x float>*
%73 = load <2 x float>, <2 x float>* %72
%74 = fmul <2 x float> %43, %73
%75 = fmul float %49, %49
%76 = fmul float %55, %55
%77 = fmul float %64, %64
%78 = fmul float %64, %77
%79 = fmul float %71, %71
%80 = extractelement <2 x float> %58, i64 0
%81 = fadd float %80, 0.000000e+00
%82 = extractelement <2 x float> %58, i64 1
%83 = fadd float %81, %82
%84 = extractelement <2 x float> %74, i64 0
%85 = fadd float %83, %84
%86 = extractelement <2 x float> %74, i64 1
%87 = fadd float %85, %86
%88 = fcmp oeq float %87, 0.000000e+00
br i1 %88, label %135, label %89
89: ; preds = %42
%90 = fmul <2 x float> %58, %58
%91 = extractelement <2 x float> %90, i64 0
%92 = tail call float @llvm.fmuladd.f32(float %76, float 0xBF02DA9A60000000, float 0xBFA1383820000000)
%93 = tail call float @llvm.fmuladd.f32(float %55, float 0xBEFFB9D600000000, float %92)
%94 = tail call float @llvm.fmuladd.f32(float %75, float 0x3F34E0BDE0000000, float %93)
%95 = fmul float %49, 0xBF3C659FA0000000
%96 = tail call float @llvm.fmuladd.f32(float %95, float %64, float %94)
%97 = tail call float @pow(float %96, i32 2)
%98 = fmul float %82, %82
%99 = tail call float @llvm.fmuladd.f32(float %71, float 0x3F51005F40000000, float 0xBFA90047E0000000)
%100 = tail call float @llvm.fmuladd.f32(float %55, float 0xBF490430A0000000, float %99)
%101 = tail call float @llvm.fmuladd.f32(float %64, float 0x3F01048B60000000, float %100)
%102 = fmul float %55, 0xBF12DA9A60000000
%103 = tail call float @llvm.fmuladd.f32(float %102, float %49, float %101)
%104 = tail call float @llvm.fmuladd.f32(float %49, float 0xBEFFB9D600000000, float %103)
%105 = tail call float @llvm.fmuladd.f32(float %77, float 0xBEE23166E0000000, float %104)
%106 = tail call float @llvm.fmuladd.f32(float %79, float 0x3F0C8FEB20000000, float %105)
%107 = tail call float @pow(float %106, i32 2)
%108 = fmul float %98, %107
%109 = tail call float @llvm.fmuladd.f32(float %91, float %97, float %108)
%110 = fmul <2 x float> %74, %74
%111 = extractelement <2 x float> %110, i64 0
%112 = tail call float @llvm.fmuladd.f32(float %79, float 0x3F16197AC0000000, float 0x3FAA348360000000)
%113 = tail call float @llvm.fmuladd.f32(float %55, float 0x3F01048B60000000, float %112)
%114 = tail call float @llvm.fmuladd.f32(float %64, float 0xBEF4801960000000, float %113)
%115 = tail call float @llvm.fmuladd.f32(float %77, float 0x3F3B670D80000000, float %114)
%116 = fmul float %77, 0x3F129CAE40000000
%117 = tail call float @llvm.fmuladd.f32(float %116, float %71, float %115)
%118 = tail call float @llvm.fmuladd.f32(float %75, float 0xBF2C659FA0000000, float %117)
%119 = fmul float %64, 0xBEF23166E0000000
%120 = tail call float @llvm.fmuladd.f32(float %119, float %55, float %118)
%121 = tail call float @pow(float %120, i32 2)
%122 = tail call float @llvm.fmuladd.f32(float %111, float %121, float %109)
%123 = fmul float %86, %86
%124 = tail call float @llvm.fmuladd.f32(float %55, float 0x3F51005F40000000, float 0x3FAC6C02A0000000)
%125 = tail call float @llvm.fmuladd.f32(float %71, float 0xBF5779EBE0000000, float %124)
%126 = fmul float %71, 0x3F26197AC0000000
%127 = tail call float @llvm.fmuladd.f32(float %126, float %64, float %125)
%128 = tail call float @llvm.fmuladd.f32(float %78, float 0x3EF8D0E840000000, float %127)
%129 = fmul float %71, 0x3F1C8FEB20000000
%130 = tail call float @llvm.fmuladd.f32(float %129, float %55, float %128)
%131 = tail call float @llvm.fmuladd.f32(float %79, float 0xBF2C2F5820000000, float %130)
%132 = tail call float @pow(float %131, i32 2)
%133 = tail call float @llvm.fmuladd.f32(float %123, float %132, float %122)
%134 = tail call float @sqrt(float %133)
br label %135
135: ; preds = %42, %89
%136 = phi float [ %134, %89 ], [ 0.000000e+00, %42 ]
%137 = fmul float %71, %79
%138 = fmul float %55, 0x3F0C8FEB20000000
%139 = fmul float %55, 0xBEE23166E0000000
%140 = fmul float %75, 0xBF2C659FA0000000
%141 = fmul float %49, %75
%142 = fmul float %49, 0xBEFFB9D600000000
%143 = fmul float %78, 0x3EF8D0E840000000
%144 = fmul float %49, 0xBF02DA9A60000000
%145 = fmul float %55, 0x3F01048B60000000
%146 = fmul float %64, 0x3F16197AC0000000
%147 = fmul float %55, 0x3F51005F40000000
%148 = tail call float @llvm.fmuladd.f32(float %49, float 0xBFA1383820000000, float 0x3FA2A13760000000)
%149 = tail call float @llvm.fmuladd.f32(float %55, float 0xBFA90047E0000000, float %148)
%150 = tail call float @llvm.fmuladd.f32(float %64, float 0x3FAA348360000000, float %149)
%151 = tail call float @llvm.fmuladd.f32(float %71, float 0x3FAC6C02A0000000, float %150)
%152 = tail call float @llvm.fmuladd.f32(float %147, float %71, float %151)
%153 = tail call float @llvm.fmuladd.f32(float %79, float 0xBF4779EBE0000000, float %152)
%154 = tail call float @llvm.fmuladd.f32(float %146, float %79, float %153)
%155 = tail call float @llvm.fmuladd.f32(float %76, float 0xBF390430A0000000, float %154)
%156 = tail call float @llvm.fmuladd.f32(float %145, float %64, float %155)
%157 = tail call float @llvm.fmuladd.f32(float %77, float 0xBEE4801960000000, float %156)
%158 = tail call float @llvm.fmuladd.f32(float %144, float %76, float %157)
%159 = tail call float @llvm.fmuladd.f32(float %78, float 0x3F2244B3A0000000, float %158)
%160 = tail call float @llvm.fmuladd.f32(float %143, float %71, float %159)
%161 = tail call float @llvm.fmuladd.f32(float %142, float %55, float %160)
%162 = tail call float @llvm.fmuladd.f32(float %141, float 0x3F1BD65280000000, float %161)
%163 = tail call float @llvm.fmuladd.f32(float %140, float %64, float %162)
%164 = tail call float @llvm.fmuladd.f32(float %139, float %77, float %163)
%165 = tail call float @llvm.fmuladd.f32(float %138, float %79, float %164)
%166 = tail call float @llvm.fmuladd.f32(float %137, float 0xBF12CA3AC0000000, float %165)
store float %136, float* %1
ret float %166
}