#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_y(float *x, float *dx, int m) {
  int ncoeff = 20;
  float avdat = -0.5276875E+01;
  float xmin[10] = {-0.15000E+02, -0.15000E+02, -0.18000E+02, -0.18023E+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.18000E+02, 0.17979E+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.33035144E-01, -0.39331837E+02, 0.64922562E+02,
                     -0.92426658E+00, 0.83690047E+00,  0.25150564E+00,
                     -0.81284180E-01, 0.69105968E-01,  -0.68296021E+00,
                     -0.73341921E-01, 0.17557897E+00,  -0.10123075E+00,
                     -0.19194622E-01, 0.96198004E+00,  -0.16017871E-03,
                     0.11098673E-03,  -0.50299703E-02, 0.10815259E-01,
                     0.15034854E-01,  -0.31930739E+00, 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 x14 = x13 * x1;
  float x21 = x2;
  float x22 = x21 * x2;
  float x31 = x3;
  float x32 = x31 * x3;
  float x33 = x32 * x3;
  float x34 = x33 * x3;
  float x41 = x4;
  float x42 = x41 * x4;
  float v_target_y = avdat + coeff[0] + coeff[1] * x21 + coeff[2] * x41 +
                     coeff[3] * x21 * x41 + coeff[4] * x42 + coeff[5] * x22 +
                     coeff[6] * x11 * x33 + coeff[7] * x34;
  v_target_y = v_target_y + coeff[8] * x32 + coeff[9] * x14 * x32 +
               coeff[10] * x13 * x33 + coeff[11] * x12 * x34 + coeff[12] * x31 +
               coeff[13] * x11 * x31 + coeff[14] * x13 + coeff[15] * x12 * x31 +
               coeff[16] * x21 * x32;
  v_target_y = v_target_y + coeff[17] * x14 + coeff[18] * x11 + coeff[19] * x12;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_y =
      dxall == 0
          ? 0
          : sqrt(
                +dx1 * dx1 *
                    pow(0 + coeff[6] * x33 + 4 * coeff[9] * x13 * x32 +
                            3 * coeff[10] * x12 * x33 +
                            2 * coeff[11] * x11 * x34 + coeff[13] * x31 +
                            3 * coeff[14] * x12 + 2 * coeff[15] * x11 * x31 +
                            4 * coeff[17] * x13 + coeff[18] +
                            2 * coeff[19] * x11,
                        2) +
                dx2 * dx2 *
                    pow(0 + coeff[1] + coeff[3] * x41 + 2 * coeff[5] * x21 +
                            coeff[16] * x32,
                        2) +
                dx3 * dx3 *
                    pow(0 + 3 * coeff[6] * x32 * x11 + 4 * coeff[7] * x33 +
                            2 * coeff[8] * x31 + 2 * coeff[9] * x31 * x14 +
                            3 * coeff[10] * x32 * x13 +
                            4 * coeff[11] * x33 * x12 + coeff[12] +
                            coeff[13] * x11 + coeff[15] * x12 +
                            2 * coeff[16] * x31 * x21,
                        2) +
                dx4 * dx4 *
                    pow(0 + coeff[2] + coeff[3] * x21 + 2 * coeff[4] * x41, 2));
  dx[0] = dv_target_y;
  return v_target_y;
}


x86 assembly (clang, -O0):
<target_y>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1a0,%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_y+0x198>
movl   $0x1,-0x114(%rbp)
movl   $0x0,-0x118(%rbp)
mov    -0x118(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12d3 <target_y+0x193>
movslq -0x118(%rbp),%rax
movss  -0x50(%rbp,%rax,4),%xmm0
movslq -0x118(%rbp),%rax
ucomiss -0x80(%rbp,%rax,4),%xmm0
jne    1281 <target_y+0x141>
jp     1281 <target_y+0x141>
jmp    12bf <target_y+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_y+0x108>
jmp    12d8 <target_y+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  -0x144(%rbp),%xmm0
ff
mulss  -0x11c(%rbp),%xmm0
ff
movss  %xmm0,-0x148(%rbp)
ff
movss  -0x124(%rbp),%xmm0
ff
movss  %xmm0,-0x14c(%rbp)
ff
movss  -0x14c(%rbp),%xmm0
ff
mulss  -0x124(%rbp),%xmm0
ff
movss  %xmm0,-0x150(%rbp)
ff
movss  -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  -0x158(%rbp),%xmm0
ff
mulss  -0x12c(%rbp),%xmm0
ff
movss  %xmm0,-0x15c(%rbp)
ff
movss  -0x15c(%rbp),%xmm0
ff
mulss  -0x12c(%rbp),%xmm0
ff
movss  %xmm0,-0x160(%rbp)
ff
movss  -0x134(%rbp),%xmm0
ff
movss  %xmm0,-0x164(%rbp)
ff
movss  -0x164(%rbp),%xmm0
ff
mulss  -0x134(%rbp),%xmm0
ff
movss  %xmm0,-0x168(%rbp)
ff
movss  -0x1c(%rbp),%xmm1
addss  -0x110(%rbp),%xmm1
ff
movss  -0x10c(%rbp),%xmm0
ff
movss  -0x14c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0x108(%rbp),%xmm1
ff
movss  -0x164(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0x104(%rbp),%xmm0
ff
mulss  -0x14c(%rbp),%xmm0
ff
movss  -0x164(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0x100(%rbp),%xmm1
ff
movss  -0x168(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xfc(%rbp),%xmm0
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xf8(%rbp),%xmm1
ff
mulss  -0x13c(%rbp),%xmm1
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xf4(%rbp),%xmm0
ff
movss  -0x160(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x16c(%rbp)
ff
movss  -0x16c(%rbp),%xmm1
ff
movss  -0xf0(%rbp),%xmm0
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xec(%rbp),%xmm1
ff
mulss  -0x148(%rbp),%xmm1
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xe8(%rbp),%xmm0
ff
mulss  -0x144(%rbp),%xmm0
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xe4(%rbp),%xmm1
ff
mulss  -0x140(%rbp),%xmm1
ff
movss  -0x160(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xe0(%rbp),%xmm0
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xdc(%rbp),%xmm1
ff
mulss  -0x13c(%rbp),%xmm1
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xd8(%rbp),%xmm0
ff
movss  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xd4(%rbp),%xmm1
ff
mulss  -0x140(%rbp),%xmm1
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xd0(%rbp),%xmm0
ff
mulss  -0x14c(%rbp),%xmm0
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x16c(%rbp)
ff
movss  -0x16c(%rbp),%xmm1
ff
movss  -0xcc(%rbp),%xmm0
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xc8(%rbp),%xmm1
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xc4(%rbp),%xmm0
ff
movss  -0x140(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x16c(%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,-0x170(%rbp)
ff
movss  -0x170(%rbp),%xmm0
ff
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    1794 <target_y+0x654>
jp     1794 <target_y+0x654>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x178(%rbp)
ff
jmp    1bba <target_y+0xa7a>
movss  -0x120(%rbp),%xmm0
ff
mulss  -0x120(%rbp),%xmm0
ff
movss  %xmm0,-0x18c(%rbp)
ff
movss  -0xf8(%rbp),%xmm0
ff
movss  -0x15c(%rbp),%xmm1
ff
mulss  %xmm1,%xmm0
xorps  %xmm1,%xmm1
addss  %xmm1,%xmm0
movss  0x851(%rip),%xmm1
mulss  -0xec(%rbp),%xmm1
ff
mulss  -0x144(%rbp),%xmm1
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x82d(%rip),%xmm0
mulss  -0xe8(%rbp),%xmm0
ff
mulss  -0x140(%rbp),%xmm0
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x7fd(%rip),%xmm1
mulss  -0xe4(%rbp),%xmm1
ff
mulss  -0x13c(%rbp),%xmm1
ff
movss  -0x160(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xdc(%rbp),%xmm0
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x7c5(%rip),%xmm1
mulss  -0xd8(%rbp),%xmm1
ff
movss  -0x140(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x79d(%rip),%xmm0
mulss  -0xd4(%rbp),%xmm0
ff
mulss  -0x13c(%rbp),%xmm0
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x779(%rip),%xmm1
mulss  -0xcc(%rbp),%xmm1
ff
movss  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
addss  -0xc8(%rbp),%xmm1
ff
movss  0x74d(%rip),%xmm0
mulss  -0xc4(%rbp),%xmm0
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movss  %xmm0,-0x190(%rbp)
ff
movss  -0x128(%rbp),%xmm0
mulss  -0x128(%rbp),%xmm0
ff
movss  %xmm0,-0x194(%rbp)
ff
xorps  %xmm1,%xmm1
addss  -0x10c(%rbp),%xmm1
ff
movss  -0x104(%rbp),%xmm0
ff
movss  -0x164(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x6e0(%rip),%xmm1
mulss  -0xfc(%rbp),%xmm1
ff
movss  -0x14c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xd0(%rbp),%xmm0
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movss  -0x194(%rbp),%xmm1
ff
movss  -0x190(%rbp),%xmm2
ff
movaps %xmm0,%xmm3
movss  -0x18c(%rbp),%xmm0
ff
mulss  %xmm3,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x188(%rbp)
ff
movss  -0x130(%rbp),%xmm0
ff
mulss  -0x130(%rbp),%xmm0
ff
movss  %xmm0,-0x184(%rbp)
ff
movss  0x65f(%rip),%xmm0
mulss  -0xf8(%rbp),%xmm0
ff
mulss  -0x158(%rbp),%xmm0
ff
movss  -0x13c(%rbp),%xmm1
ff
mulss  %xmm1,%xmm0
xorps  %xmm1,%xmm1
addss  %xmm1,%xmm0
movss  0x630(%rip),%xmm1
mulss  -0xf4(%rbp),%xmm1
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x60c(%rip),%xmm0
mulss  -0xf0(%rbp),%xmm0
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x5ec(%rip),%xmm1
mulss  -0xec(%rbp),%xmm1
ff
mulss  -0x154(%rbp),%xmm1
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x5cc(%rip),%xmm0
mulss  -0xe8(%rbp),%xmm0
ff
mulss  -0x158(%rbp),%xmm0
ff
movss  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x5a0(%rip),%xmm1
mulss  -0xe4(%rbp),%xmm1
ff
mulss  -0x15c(%rbp),%xmm1
ff
movss  -0x140(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
addss  -0xe0(%rbp),%xmm1
ff
movss  -0xdc(%rbp),%xmm0
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xd4(%rbp),%xmm1
ff
movss  -0x140(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x53c(%rip),%xmm0
mulss  -0xd0(%rbp),%xmm0
ff
mulss  -0x154(%rbp),%xmm0
ff
movss  -0x14c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movss  -0x188(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movss  -0x184(%rbp),%xmm0
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x180(%rbp)
ff
movss  -0x138(%rbp),%xmm0
ff
mulss  -0x138(%rbp),%xmm0
ff
movss  %xmm0,-0x17c(%rbp)
ff
xorps  %xmm0,%xmm0
addss  -0x108(%rbp),%xmm0
ff
movss  -0x104(%rbp),%xmm1
ff
movss  -0x14c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x4ac(%rip),%xmm0
mulss  -0x100(%rbp),%xmm0
ff
movss  -0x164(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movss  -0x180(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movss  -0x17c(%rbp),%xmm0
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
call   1060 <sqrt@plt>
movss  %xmm0,-0x178(%rbp)
ff
movss  -0x178(%rbp),%xmm0
ff
movss  %xmm0,-0x174(%rbp)
ff
movss  -0x174(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
movss  %xmm0,(%rax)
movss  -0x16c(%rbp),%xmm0
ff
add    $0x1a0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<target_y>:
push   %rbx
sub    $0x120,%rsp
mov    %rsi,%rbx
xorps  %xmm0,%xmm0
movaps %xmm0,0x100(%rsp)
movq   $0x0,0x110(%rsp)
movaps 0xeb7(%rip),%xmm1
movaps %xmm1,0xf0(%rsp)
movaps %xmm0,0xd0(%rsp)
movq   $0x0,0xe0(%rsp)
movaps 0xea4(%rip),%xmm1
movaps %xmm1,0xc0(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
movq   $0x0,0xa0(%rsp)
xorps  %xmm1,%xmm1
test   %edx,%edx
jle    120a <target_y+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_y+0xa7>
jnp    11db <target_y+0xbb>
subss  %xmm2,%xmm1
movaps %xmm0,%xmm2
divss  %xmm1,%xmm2
movss  %xmm2,0x80(%rsp,%rcx,4)
cmp    %rcx,%rax
je     11f8 <target_y+0xd8>
movss  0xf4(%rsp,%rcx,4),%xmm2
movss  0xc4(%rsp,%rcx,4),%xmm1
add    $0x1,%rcx
jmp    11c0 <target_y+0xa0>
movsd  0x80(%rsp),%xmm1
movsd  0x88(%rsp),%xmm0
movss  0xe0e(%rip),%xmm2
movss  (%rdi),%xmm14
addss  %xmm2,%xmm14
mulss  %xmm1,%xmm14
movss  0xe03(%rip),%xmm3
addss  %xmm3,%xmm14
addss  0x4(%rdi),%xmm2
movaps %xmm1,%xmm7
shufps $0x55,%xmm1,%xmm7
mulss  %xmm2,%xmm7
addss  %xmm3,%xmm7
movsd  (%rbx),%xmm4
movsd  0x8(%rbx),%xmm2
mulps  %xmm1,%xmm4
movaps %xmm4,%xmm15
shufps $0x55,%xmm4,%xmm15
movss  0x8(%rdi),%xmm13
movss  0xc(%rdi),%xmm1
addss  0xdc5(%rip),%xmm13
mulss  %xmm0,%xmm13
addss  %xmm3,%xmm13
addss  0xdb7(%rip),%xmm1
movaps %xmm0,%xmm6
shufps $0x55,%xmm0,%xmm6
mulss  %xmm1,%xmm6
addss  %xmm3,%xmm6
mulps  %xmm0,%xmm2
movaps %xmm2,%xmm3
shufps $0x55,%xmm2,%xmm3
movaps %xmm14,%xmm9
mulss  %xmm14,%xmm9
movaps %xmm14,%xmm11
mulss  %xmm9,%xmm11
movaps %xmm14,%xmm8
mulss  %xmm11,%xmm8
movaps %xmm13,%xmm10
mulss  %xmm13,%xmm10
movaps %xmm13,%xmm12
mulss  %xmm10,%xmm12
movaps %xmm13,%xmm5
mulss  %xmm12,%xmm5
xorps  %xmm0,%xmm0
movaps %xmm4,%xmm1
addss  %xmm0,%xmm1
addss  %xmm15,%xmm1
addss  %xmm2,%xmm1
addss  %xmm3,%xmm1
ucomiss %xmm0,%xmm1
jne    12ee <target_y+0x1ce>
jnp    1628 <target_y+0x508>
movss  0xd42(%rip),%xmm0
mulss  %xmm12,%xmm0
xorps  %xmm1,%xmm1
addss  %xmm1,%xmm0
movss  0xd32(%rip),%xmm1
mulss  %xmm11,%xmm1
mulss  %xmm10,%xmm1
addss  %xmm0,%xmm1
movaps %xmm9,%xmm0
mulss  0xd1c(%rip),%xmm0
mulss  %xmm12,%xmm0
addss  %xmm1,%xmm0
movss  0xd0f(%rip),%xmm1
mulss  %xmm14,%xmm1
movss  %xmm5,0x2c(%rsp)
mulss  %xmm5,%xmm1
addss  %xmm0,%xmm1
movaps %xmm13,%xmm0
mulss  0xcf4(%rip),%xmm0
addss  %xmm1,%xmm0
movss  0xcec(%rip),%xmm1
mulss  %xmm9,%xmm1
addss  %xmm0,%xmm1
movss  0xcdf(%rip),%xmm0
mulss  %xmm14,%xmm0
mulss  %xmm13,%xmm0
addss  %xmm1,%xmm0
movss  0xccd(%rip),%xmm1
mulss  %xmm11,%xmm1
addss  %xmm0,%xmm1
addss  0xcc0(%rip),%xmm1
mulss  %xmm4,%xmm4
movaps %xmm4,0xb0(%rsp)
movss  0xcb0(%rip),%xmm0
mulss  %xmm14,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
movss  %xmm14,0x24(%rsp)
movss  %xmm13,0x20(%rsp)
movss  %xmm9,0x1c(%rsp)
movss  %xmm8,0x18(%rsp)
movss  %xmm11,0x14(%rsp)
movss  %xmm10,0xc(%rsp)
movaps %xmm7,0x40(%rsp)
movss  %xmm12,0x10(%rsp)
movaps %xmm6,0x50(%rsp)
movaps %xmm2,0x30(%rsp)
movaps %xmm3,0x70(%rsp)
movaps %xmm15,0x60(%rsp)
call   1030 <pow@plt>
movss  %xmm0,0x28(%rsp)
movaps 0x60(%rsp),%xmm0
mulss  %xmm0,%xmm0
movaps %xmm0,0x60(%rsp)
movaps 0x50(%rsp),%xmm0
mulss  0xc35(%rip),%xmm0
addss  0xc31(%rip),%xmm0
movss  0xc2d(%rip),%xmm1
mulss  0x40(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0xc1f(%rip),%xmm0
mulss  0xc(%rsp),%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulss  0x60(%rsp),%xmm0
movss  0x28(%rsp),%xmm1
mulss  0xb0(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  %xmm1,0x28(%rsp)
movaps 0x30(%rsp),%xmm0
mulss  %xmm0,%xmm0
movaps %xmm0,0x30(%rsp)
movss  0xbda(%rip),%xmm0
movss  0xc(%rsp),%xmm5
mulss  %xmm5,%xmm0
movss  0x24(%rsp),%xmm4
mulss  %xmm4,%xmm0
addss  0xc12(%rip),%xmm0
movss  0xbba(%rip),%xmm1
movss  0x10(%rsp),%xmm3
mulss  %xmm3,%xmm1
addss  %xmm0,%xmm1
movss  0xba8(%rip),%xmm0
movss  0x20(%rsp),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0xb96(%rip),%xmm1
mulss  %xmm2,%xmm1
mulss  0x18(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0xb44(%rip),%xmm0
mulss  %xmm5,%xmm0
mulss  0x14(%rsp),%xmm0
addss  %xmm1,%xmm0
movaps %xmm0,%xmm1
movss  0xb6b(%rip),%xmm0
mulss  %xmm3,%xmm0
movss  0x1c(%rsp),%xmm3
mulss  %xmm3,%xmm0
addss  %xmm1,%xmm0
addss  0xb55(%rip),%xmm0
movss  0xb11(%rip),%xmm1
mulss  %xmm4,%xmm1
addss  %xmm0,%xmm1
movaps %xmm1,%xmm0
movss  0xb3e(%rip),%xmm1
mulss  %xmm3,%xmm1
addss  %xmm0,%xmm1
movss  0xb32(%rip),%xmm0
mulss  %xmm2,%xmm0
mulss  0x40(%rsp),%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulss  0x30(%rsp),%xmm0
addss  0x28(%rsp),%xmm0
movss  %xmm0,0x30(%rsp)
movss  0xad4(%rip),%xmm0
mulss  0x40(%rsp),%xmm0
addss  0xaf6(%rip),%xmm0
movaps %xmm0,%xmm2
movaps 0x70(%rsp),%xmm0
mulss  %xmm0,%xmm0
movaps %xmm0,0x70(%rsp)
movss  0xae1(%rip),%xmm0
mulss  0x50(%rsp),%xmm0
addss  %xmm2,%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulss  0x70(%rsp),%xmm0
addss  0x30(%rsp),%xmm0
ucomiss 0xaea(%rip),%xmm0
jb     15e2 <target_y+0x4c2>
sqrtss %xmm0,%xmm0
jmp    15e7 <target_y+0x4c7>
call   1040 <sqrt@plt>
movss  0x24(%rsp),%xmm14
movss  0x20(%rsp),%xmm13
movss  0x1c(%rsp),%xmm9
movss  0x18(%rsp),%xmm8
movss  0x14(%rsp),%xmm11
movss  0xc(%rsp),%xmm10
movaps 0x40(%rsp),%xmm7
movss  0x10(%rsp),%xmm12
movaps 0x50(%rsp),%xmm6
movss  0x2c(%rsp),%xmm5
movss  0xa3c(%rip),%xmm1
mulss  %xmm7,%xmm1
movaps %xmm7,%xmm2
movss  0xa21(%rip),%xmm3
mulss  %xmm7,%xmm3
mulss  0xa19(%rip),%xmm7
movaps %xmm6,%xmm4
addss  0xa4e(%rip),%xmm7
mulss  %xmm6,%xmm3
mulss  0xa2e(%rip),%xmm6
addss  %xmm7,%xmm6
addss  %xmm3,%xmm6
mulss  %xmm4,%xmm4
mulss  0xa32(%rip),%xmm4
addss  %xmm6,%xmm4
movss  0xa16(%rip),%xmm3
mulss  %xmm2,%xmm2
mulss  0xa1e(%rip),%xmm2
mulss  %xmm9,%xmm3
addss  %xmm4,%xmm2
movss  0x999(%rip),%xmm4
mulss  %xmm14,%xmm4
mulss  %xmm12,%xmm4
mulss  %xmm5,%xmm3
mulss  0x9fb(%rip),%xmm5
addss  %xmm2,%xmm4
addss  %xmm4,%xmm5
movss  0x9ef(%rip),%xmm2
mulss  %xmm10,%xmm2
addss  %xmm5,%xmm2
movss  0x9ca(%rip),%xmm4
mulss  %xmm8,%xmm4
mulss  %xmm10,%xmm4
addss  %xmm2,%xmm4
movss  0x9b0(%rip),%xmm2
mulss  %xmm11,%xmm2
mulss  %xmm12,%xmm2
addss  %xmm4,%xmm2
addss  %xmm3,%xmm2
movss  0x97e(%rip),%xmm3
mulss  %xmm13,%xmm3
addss  %xmm2,%xmm3
movss  0x931(%rip),%xmm2
mulss  %xmm14,%xmm2
mulss  %xmm13,%xmm2
addss  %xmm3,%xmm2
mulss  0x98a(%rip),%xmm11
addss  %xmm2,%xmm11
movss  0x94d(%rip),%xmm2
mulss  %xmm9,%xmm2
mulss  %xmm13,%xmm2
addss  %xmm11,%xmm2
mulss  %xmm10,%xmm1
addss  %xmm2,%xmm1
mulss  0x960(%rip),%xmm8
addss  %xmm1,%xmm8
mulss  0x8ee(%rip),%xmm14
addss  %xmm8,%xmm14
mulss  0x948(%rip),%xmm9
addss  %xmm14,%xmm9
movss  %xmm0,(%rbx)
movaps %xmm9,%xmm0
add    $0x120,%rsp
pop    %rbx
ret

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

LLVM IR (-O2):
define float @target_y(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 -1.800000e+01, float 0xC03205E360000000>, <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 1.800000e+01, float 0x4031FA9FC0000000>, <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, -1.800000e+01
%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, 0xC031FA9FC0000000
%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 %49, %75
%77 = fmul float %49, %76
%78 = fmul float %64, %64
%79 = fmul float %64, %78
%80 = fmul float %64, %79
%81 = extractelement <2 x float> %58, i64 0
%82 = fadd float %81, 0.000000e+00
%83 = extractelement <2 x float> %58, i64 1
%84 = fadd float %82, %83
%85 = extractelement <2 x float> %74, i64 0
%86 = fadd float %84, %85
%87 = extractelement <2 x float> %74, i64 1
%88 = fadd float %86, %87
%89 = fcmp oeq float %88, 0.000000e+00
br i1 %89, label %140, label %90
90: ; preds = %42
%91 = fmul <2 x float> %58, %58
%92 = extractelement <2 x float> %91, i64 0
%93 = tail call float @llvm.fmuladd.f32(float %79, float 0xBFB4CF0A40000000, float 0.000000e+00)
%94 = fmul float %76, 0xBFD2C68940000000
%95 = tail call float @llvm.fmuladd.f32(float %94, float %78, float %93)
%96 = fmul float %75, 0x3FE0DB0760000000
%97 = tail call float @llvm.fmuladd.f32(float %96, float %79, float %95)
%98 = fmul float %49, 0xBFC9EA4220000000
%99 = tail call float @llvm.fmuladd.f32(float %98, float %80, float %97)
%100 = tail call float @llvm.fmuladd.f32(float %64, float 0x3FEEC88A60000000, float %99)
%101 = tail call float @llvm.fmuladd.f32(float %75, float 0xBF3F7E0F00000000, float %100)
%102 = fmul float %49, 0x3F2D183180000000
%103 = tail call float @llvm.fmuladd.f32(float %102, float %64, float %101)
%104 = tail call float @llvm.fmuladd.f32(float %76, float 0x3FA6264F80000000, float %103)
%105 = fadd float %104, 0x3F8ECA9800000000
%106 = tail call float @llvm.fmuladd.f32(float %49, float 0xBFE46F8840000000, float %105)
%107 = tail call float @pow(float %106, i32 2)
%108 = fmul float %83, %83
%109 = tail call float @llvm.fmuladd.f32(float %71, float 0xBFED939780000000, float 0xC043AA79A0000000)
%110 = tail call float @llvm.fmuladd.f32(float %55, float 0x3FE018AB20000000, float %109)
%111 = tail call float @llvm.fmuladd.f32(float %78, float 0xBF749A4E60000000, float %110)
%112 = tail call float @pow(float %111, i32 2)
%113 = fmul float %108, %112
%114 = tail call float @llvm.fmuladd.f32(float %92, float %107, float %113)
%115 = fmul <2 x float> %74, %74
%116 = extractelement <2 x float> %115, i64 0
%117 = fmul float %78, 0xBFCF368F60000000
%118 = tail call float @llvm.fmuladd.f32(float %117, float %49, float 0.000000e+00)
%119 = tail call float @llvm.fmuladd.f32(float %79, float 0x3FD1B0EDC0000000, float %118)
%120 = tail call float @llvm.fmuladd.f32(float %64, float 0xBFF5DACF60000000, float %119)
%121 = fmul float %64, 0xBFC2C68940000000
%122 = tail call float @llvm.fmuladd.f32(float %121, float %77, float %120)
%123 = fmul float %78, 0x3FE0DB0760000000
%124 = tail call float @llvm.fmuladd.f32(float %123, float %76, float %122)
%125 = fmul float %79, 0xBFD9EA4220000000
%126 = tail call float @llvm.fmuladd.f32(float %125, float %75, float %124)
%127 = fadd float %126, 0xBF93A7C140000000
%128 = tail call float @llvm.fmuladd.f32(float %49, float 0x3FEEC88A60000000, float %127)
%129 = tail call float @llvm.fmuladd.f32(float %75, float 0x3F1D183180000000, float %128)
%130 = fmul float %64, 0xBF849A4E60000000
%131 = tail call float @llvm.fmuladd.f32(float %130, float %55, float %129)
%132 = tail call float @pow(float %131, i32 2)
%133 = tail call float @llvm.fmuladd.f32(float %116, float %132, float %114)
%134 = fmul float %87, %87
%135 = tail call float @llvm.fmuladd.f32(float %55, float 0xBFED939780000000, float 0x40503B0B40000000)
%136 = tail call float @llvm.fmuladd.f32(float %71, float 0x3FFAC7E380000000, float %135)
%137 = tail call float @pow(float %136, i32 2)
%138 = tail call float @llvm.fmuladd.f32(float %134, float %137, float %133)
%139 = tail call float @sqrt(float %138)
br label %140
140: ; preds = %42, %90
%141 = phi float [ %139, %90 ], [ 0.000000e+00, %42 ]
%142 = fmul float %55, 0xBF749A4E60000000
%143 = fmul float %75, 0x3F1D183180000000
%144 = fmul float %49, 0x3FEEC88A60000000
%145 = fmul float %75, 0xBFB9EA4220000000
%146 = fmul float %76, 0x3FC6795F20000000
%147 = fmul float %77, 0xBFB2C68940000000
%148 = fmul float %49, 0xBFB4CF0A40000000
%149 = fmul float %55, %55
%150 = fmul float %71, %71
%151 = fmul float %55, 0xBFED939780000000
%152 = tail call float @llvm.fmuladd.f32(float %55, float 0xC043AA79A0000000, float 0xC0153D5920000000)
%153 = tail call float @llvm.fmuladd.f32(float %71, float 0x40503B0B40000000, float %152)
%154 = tail call float @llvm.fmuladd.f32(float %151, float %71, float %153)
%155 = tail call float @llvm.fmuladd.f32(float %150, float 0x3FEAC7E380000000, float %154)
%156 = tail call float @llvm.fmuladd.f32(float %149, float 0x3FD018AB20000000, float %155)
%157 = tail call float @llvm.fmuladd.f32(float %148, float %79, float %156)
%158 = tail call float @llvm.fmuladd.f32(float %80, float 0x3FB1B0EDC0000000, float %157)
%159 = tail call float @llvm.fmuladd.f32(float %78, float 0xBFE5DACF60000000, float %158)
%160 = tail call float @llvm.fmuladd.f32(float %147, float %78, float %159)
%161 = tail call float @llvm.fmuladd.f32(float %146, float %79, float %160)
%162 = tail call float @llvm.fmuladd.f32(float %145, float %80, float %161)
%163 = tail call float @llvm.fmuladd.f32(float %64, float 0xBF93A7C140000000, float %162)
%164 = tail call float @llvm.fmuladd.f32(float %144, float %64, float %163)
%165 = tail call float @llvm.fmuladd.f32(float %76, float 0xBF24FEB4A0000000, float %164)
%166 = tail call float @llvm.fmuladd.f32(float %143, float %64, float %165)
%167 = tail call float @llvm.fmuladd.f32(float %142, float %78, float %166)
%168 = tail call float @llvm.fmuladd.f32(float %77, float 0x3F86264F80000000, float %167)
%169 = tail call float @llvm.fmuladd.f32(float %49, float 0x3F8ECA9800000000, float %168)
%170 = tail call float @llvm.fmuladd.f32(float %75, float 0xBFD46F8840000000, float %169)
store float %141, float* %1
ret float %170
}