#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 = 11;
  float avdat = -0.1388697E+01;
  float xmin[10] = {-0.15000E+02, -0.15000E+02, -0.18005E+02, -0.18008E+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.18003E+02, 0.18001E+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[12] = {-0.68234401E-02, -0.37446914E+01, -0.37926212E+02,
                     0.61507764E+01,  0.63397957E+02,  -0.14309901E+00,
                     0.12391151E+00,  0.54696472E-02,  -0.23103161E-01,
                     0.41335378E-01,  0.23623554E-01,  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 x21 = x2;
  float x22 = x21 * x2;
  float x31 = x3;
  float x32 = x31 * x3;
  float x41 = x4;
  float x42 = x41 * x4;
  float v_target_y = avdat + coeff[0] + coeff[1] * x11 + coeff[2] * x21 +
                     coeff[3] * x31 + coeff[4] * x41 + coeff[5] * x11 * x31 +
                     coeff[6] * x32 + coeff[7] * x22;
  v_target_y =
      v_target_y + coeff[8] * x21 * x41 + coeff[9] * x12 + coeff[10] * x42;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_y =
      dxall == 0
          ? 0
          : sqrt(
                +dx1 * dx1 *
                    pow(0 + coeff[1] + coeff[5] * x31 + 2 * coeff[9] * x11, 2) +
                dx2 * dx2 *
                    pow(0 + coeff[2] + 2 * coeff[7] * x21 + coeff[8] * x41, 2) +
                dx3 * dx3 *
                    pow(0 + coeff[3] + coeff[5] * x11 + 2 * coeff[6] * x31, 2) +
                dx4 * dx4 *
                    pow(0 + coeff[4] + coeff[8] * x21 + 2 * coeff[10] * x41,
                        2));
  dx[0] = dv_target_y;
  return v_target_y;
}


x86 assembly (clang, -O0):
<target_y>:
push   %rbp
mov    %rsp,%rbp
sub    $0x160,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
movl   $0xb,-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    -0xe0(%rbp),%rdi
lea    0xe1d(%rip),%rsi
mov    $0x30,%edx
call   1040 <memcpy@plt>
movl   $0x0,-0xe4(%rbp)
cmpl   $0x0,-0xe4(%rbp)
jne    12d8 <target_y+0x198>
movl   $0x1,-0xe4(%rbp)
movl   $0x0,-0xe8(%rbp)
mov    -0xe8(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12d3 <target_y+0x193>
movslq -0xe8(%rbp),%rax
movss  -0x50(%rbp,%rax,4),%xmm0
movslq -0xe8(%rbp),%rax
ucomiss -0x80(%rbp,%rax,4),%xmm0
jne    1281 <target_y+0x141>
jp     1281 <target_y+0x141>
jmp    12bf <target_y+0x17f>
movslq -0xe8(%rbp),%rax
movss  -0x80(%rbp,%rax,4),%xmm0
movslq -0xe8(%rbp),%rax
subss  -0x50(%rbp,%rax,4),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xd81(%rip),%xmm0
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movslq -0xe8(%rbp),%rax
movss  %xmm0,-0xb0(%rbp,%rax,4)
ff ff
mov    -0xe8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xe8(%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  0xd27(%rip),%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xec(%rbp)
ff
mov    -0x10(%rbp),%rax
movss  (%rax),%xmm0
mulss  -0xb0(%rbp),%xmm0
ff
movss  %xmm0,-0xf0(%rbp)
ff
mov    -0x8(%rbp),%rax
movss  0x4(%rax),%xmm0
subss  -0x7c(%rbp),%xmm0
mulss  -0xac(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm1
movsd  0xcdd(%rip),%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xf4(%rbp)
ff
mov    -0x10(%rbp),%rax
movss  0x4(%rax),%xmm0
mulss  -0xac(%rbp),%xmm0
ff
movss  %xmm0,-0xf8(%rbp)
ff
mov    -0x8(%rbp),%rax
movss  0x8(%rax),%xmm0
subss  -0x78(%rbp),%xmm0
mulss  -0xa8(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm1
movsd  0xc92(%rip),%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xfc(%rbp)
ff
mov    -0x10(%rbp),%rax
movss  0x8(%rax),%xmm0
mulss  -0xa8(%rbp),%xmm0
ff
movss  %xmm0,-0x100(%rbp)
ff
mov    -0x8(%rbp),%rax
movss  0xc(%rax),%xmm0
subss  -0x74(%rbp),%xmm0
mulss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm1
movsd  0xc47(%rip),%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x104(%rbp)
ff
mov    -0x10(%rbp),%rax
movss  0xc(%rax),%xmm0
mulss  -0xa4(%rbp),%xmm0
ff
movss  %xmm0,-0x108(%rbp)
ff
movss  -0xec(%rbp),%xmm0
ff
movss  %xmm0,-0x10c(%rbp)
ff
movss  -0x10c(%rbp),%xmm0
ff
mulss  -0xec(%rbp),%xmm0
ff
movss  %xmm0,-0x110(%rbp)
ff
movss  -0xf4(%rbp),%xmm0
ff
movss  %xmm0,-0x114(%rbp)
ff
movss  -0x114(%rbp),%xmm0
ff
mulss  -0xf4(%rbp),%xmm0
ff
movss  %xmm0,-0x118(%rbp)
ff
movss  -0xfc(%rbp),%xmm0
ff
movss  %xmm0,-0x11c(%rbp)
ff
movss  -0x11c(%rbp),%xmm0
ff
mulss  -0xfc(%rbp),%xmm0
ff
movss  %xmm0,-0x120(%rbp)
ff
movss  -0x104(%rbp),%xmm0
ff
movss  %xmm0,-0x124(%rbp)
ff
movss  -0x124(%rbp),%xmm0
ff
mulss  -0x104(%rbp),%xmm0
ff
movss  %xmm0,-0x128(%rbp)
ff
movss  -0x1c(%rbp),%xmm1
addss  -0xe0(%rbp),%xmm1
ff
movss  -0xdc(%rbp),%xmm0
ff
movss  -0x10c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xd8(%rbp),%xmm1
ff
movss  -0x114(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xd4(%rbp),%xmm0
ff
movss  -0x11c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xd0(%rbp),%xmm1
ff
movss  -0x124(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xcc(%rbp),%xmm0
ff
mulss  -0x10c(%rbp),%xmm0
ff
movss  -0x11c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xc8(%rbp),%xmm1
ff
movss  -0x120(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xc4(%rbp),%xmm0
ff
movss  -0x118(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x12c(%rbp)
ff
movss  -0x12c(%rbp),%xmm1
ff
movss  -0xc0(%rbp),%xmm0
ff
mulss  -0x114(%rbp),%xmm0
ff
movss  -0x124(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xbc(%rbp),%xmm1
ff
movss  -0x110(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xb8(%rbp),%xmm0
ff
movss  -0x128(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x12c(%rbp)
ff
xorps  %xmm0,%xmm0
addss  -0xf0(%rbp),%xmm0
ff
addss  -0xf8(%rbp),%xmm0
ff
addss  -0x100(%rbp),%xmm0
ff
addss  -0x108(%rbp),%xmm0
ff
movss  %xmm0,-0x130(%rbp)
ff
movss  -0x130(%rbp),%xmm0
ff
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    161c <target_y+0x4dc>
jp     161c <target_y+0x4dc>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x138(%rbp)
ff
jmp    1832 <target_y+0x6f2>
movss  -0xf0(%rbp),%xmm0
ff
mulss  -0xf0(%rbp),%xmm0
ff
movss  %xmm0,-0x14c(%rbp)
ff
xorps  %xmm0,%xmm0
addss  -0xdc(%rbp),%xmm0
ff
movss  -0xcc(%rbp),%xmm1
ff
movss  -0x11c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x9bd(%rip),%xmm0
mulss  -0xbc(%rbp),%xmm0
ff
movss  -0x10c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movss  %xmm0,-0x150(%rbp)
ff
movss  -0xf8(%rbp),%xmm0
ff
mulss  -0xf8(%rbp),%xmm0
ff
movss  %xmm0,-0x154(%rbp)
ff
xorps  %xmm0,%xmm0
addss  -0xd8(%rbp),%xmm0
ff
movss  0x968(%rip),%xmm1
mulss  -0xc4(%rbp),%xmm1
ff
movss  -0x114(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xc0(%rbp),%xmm0
ff
movss  -0x124(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movss  -0x154(%rbp),%xmm1
ff
movss  -0x150(%rbp),%xmm2
ff
movaps %xmm0,%xmm3
movss  -0x14c(%rbp),%xmm0
ff
mulss  %xmm3,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x148(%rbp)
ff
movss  -0x100(%rbp),%xmm0
ff
mulss  -0x100(%rbp),%xmm0
ff
movss  %xmm0,-0x144(%rbp)
ff
xorps  %xmm0,%xmm0
addss  -0xd4(%rbp),%xmm0
ff
movss  -0xcc(%rbp),%xmm1
ff
movss  -0x10c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x8bc(%rip),%xmm0
mulss  -0xc8(%rbp),%xmm0
ff
movss  -0x11c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movss  -0x148(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movss  -0x144(%rbp),%xmm0
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x140(%rbp)
ff
movss  -0x108(%rbp),%xmm0
ff
mulss  -0x108(%rbp),%xmm0
ff
movss  %xmm0,-0x13c(%rbp)
ff
xorps  %xmm0,%xmm0
addss  -0xd0(%rbp),%xmm0
ff
movss  -0xc0(%rbp),%xmm1
ff
movss  -0x114(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x834(%rip),%xmm0
mulss  -0xb8(%rbp),%xmm0
ff
movss  -0x124(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movss  -0x140(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movss  -0x13c(%rbp),%xmm0
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
call   1060 <sqrt@plt>
movss  %xmm0,-0x138(%rbp)
ff
movss  -0x138(%rbp),%xmm0
ff
movss  %xmm0,-0x134(%rbp)
ff
movss  -0x134(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
movss  %xmm0,(%rax)
movss  -0x12c(%rbp),%xmm0
ff
add    $0x160,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<target_y>:
push   %rbx
sub    $0x100,%rsp
mov    %rsi,%rbx
xorps  %xmm0,%xmm0
movaps %xmm0,0xe0(%rsp)
movq   $0x0,0xf0(%rsp)
movaps 0xeb7(%rip),%xmm1
movaps %xmm1,0xd0(%rsp)
movaps %xmm0,0xb0(%rsp)
movq   $0x0,0xc0(%rsp)
movaps 0xea4(%rip),%xmm1
movaps %xmm1,0xa0(%rsp)
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movq   $0x0,0x80(%rsp)
xorps  %xmm1,%xmm1
test   %edx,%edx
jle    1201 <target_y+0xe1>
mov    %edx,%eax
add    $0xffffffffffffffff,%rax
movss  0xe81(%rip),%xmm2
movss  0xe7d(%rip),%xmm1
xor    %ecx,%ecx
movss  0xe77(%rip),%xmm0
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
ucomiss %xmm1,%xmm2
jne    11c7 <target_y+0xa7>
jnp    11d8 <target_y+0xb8>
subss  %xmm2,%xmm1
movaps %xmm0,%xmm2
divss  %xmm1,%xmm2
movss  %xmm2,0x60(%rsp,%rcx,4)
cmp    %rcx,%rax
je     11f5 <target_y+0xd5>
movss  0xd4(%rsp,%rcx,4),%xmm2
movss  0xa4(%rsp,%rcx,4),%xmm1
add    $0x1,%rcx
jmp    11c0 <target_y+0xa0>
movsd  0x60(%rsp),%xmm1
movsd  0x68(%rsp),%xmm0
movss  0xe17(%rip),%xmm2
movss  (%rdi),%xmm7
addss  %xmm2,%xmm7
mulss  %xmm1,%xmm7
movss  0xe0f(%rip),%xmm3
addss  0x4(%rdi),%xmm2
addss  %xmm3,%xmm7
movaps %xmm1,%xmm4
shufps $0x55,%xmm1,%xmm4
mulss  %xmm2,%xmm4
addss  %xmm3,%xmm4
movsd  (%rbx),%xmm5
movsd  0x8(%rbx),%xmm8
mulps  %xmm1,%xmm5
movaps %xmm5,%xmm9
shufps $0x55,%xmm5,%xmm9
movss  0x8(%rdi),%xmm2
movss  0xc(%rdi),%xmm1
addss  0xdd3(%rip),%xmm2
mulss  %xmm0,%xmm2
addss  %xmm3,%xmm2
addss  0xdc7(%rip),%xmm1
movaps %xmm0,%xmm6
shufps $0x55,%xmm0,%xmm6
mulss  %xmm1,%xmm6
addss  %xmm3,%xmm6
mulps  %xmm0,%xmm8
movaps %xmm8,%xmm3
shufps $0x55,%xmm8,%xmm3
xorps  %xmm0,%xmm0
movaps %xmm5,%xmm1
addss  %xmm0,%xmm1
addss  %xmm9,%xmm1
addss  %xmm8,%xmm1
addss  %xmm3,%xmm1
ucomiss %xmm0,%xmm1
jne    12ac <target_y+0x18c>
jnp    143a <target_y+0x31a>
movaps %xmm2,%xmm1
mulss  0xd81(%rip),%xmm1
addss  0xd7d(%rip),%xmm1
mulss  %xmm5,%xmm5
movaps %xmm5,0x90(%rsp)
movss  0xd6d(%rip),%xmm0
mulss  %xmm7,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
movss  %xmm7,0x8(%rsp)
movaps %xmm4,0x30(%rsp)
movss  %xmm2,0x4(%rsp)
movaps %xmm6,0x20(%rsp)
movaps %xmm8,0x10(%rsp)
movaps %xmm3,0x50(%rsp)
movaps %xmm9,0x40(%rsp)
call   1030 <pow@plt>
movss  %xmm0,0xc(%rsp)
movss  0xd2a(%rip),%xmm1
mulss  0x30(%rsp),%xmm1
addss  0xd20(%rip),%xmm1
movaps 0x40(%rsp),%xmm0
mulss  %xmm0,%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0x20(%rsp),%xmm0
mulss  0xd09(%rip),%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulss  0x40(%rsp),%xmm0
movss  0xc(%rsp),%xmm1
mulss  0x90(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  %xmm1,0xc(%rsp)
movss  0xcc0(%rip),%xmm0
mulss  0x8(%rsp),%xmm0
addss  0xcca(%rip),%xmm0
movaps %xmm0,%xmm1
movaps 0x10(%rsp),%xmm0
mulss  %xmm0,%xmm0
movaps %xmm0,0x10(%rsp)
movss  0xcb5(%rip),%xmm0
mulss  0x4(%rsp),%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulss  0x10(%rsp),%xmm0
addss  0xc(%rsp),%xmm0
movss  %xmm0,0x10(%rsp)
movss  0xc7f(%rip),%xmm1
mulss  0x30(%rsp),%xmm1
addss  0xc7d(%rip),%xmm1
movaps 0x50(%rsp),%xmm0
mulss  %xmm0,%xmm0
movaps %xmm0,0x50(%rsp)
movss  0xc6b(%rip),%xmm0
mulss  0x20(%rsp),%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulss  0x50(%rsp),%xmm0
addss  0x10(%rsp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jb     141f <target_y+0x2ff>
sqrtss %xmm0,%xmm0
jmp    1424 <target_y+0x304>
call   1040 <sqrt@plt>
movss  0x8(%rsp),%xmm7
movaps 0x30(%rsp),%xmm4
movss  0x4(%rsp),%xmm2
movaps 0x20(%rsp),%xmm6
movaps %xmm6,%xmm9
mulss  %xmm6,%xmm9
movaps %xmm7,%xmm10
mulss  %xmm7,%xmm10
movss  0xbf7(%rip),%xmm8
mulss  %xmm4,%xmm8
movaps %xmm4,%xmm3
mulss  %xmm4,%xmm3
movaps %xmm2,%xmm5
mulss  %xmm2,%xmm5
movss  0xbc8(%rip),%xmm1
mulss  %xmm7,%xmm1
mulss  0xbc0(%rip),%xmm7
addss  0xbdc(%rip),%xmm7
mulss  0xbbc(%rip),%xmm4
addss  %xmm7,%xmm4
mulss  %xmm2,%xmm1
mulss  0xbb4(%rip),%xmm2
addss  %xmm4,%xmm2
mulss  %xmm6,%xmm8
mulss  0xbab(%rip),%xmm6
addss  %xmm2,%xmm6
addss  %xmm1,%xmm6
mulss  0xba7(%rip),%xmm5
addss  %xmm6,%xmm5
mulss  0xb9f(%rip),%xmm3
addss  %xmm5,%xmm3
addss  %xmm8,%xmm3
mulss  0xb91(%rip),%xmm10
addss  %xmm3,%xmm10
mulss  0xb87(%rip),%xmm9
addss  %xmm10,%xmm9
movss  %xmm0,(%rbx)
movaps %xmm9,%xmm0
add    $0x100,%rsp
pop    %rbx
ret

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

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 0xC0320147A0000000, float 0xC032020C40000000>, <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 0x403200C4A0000000, float 0x4032004180000000>, <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, 0xC03200C4A0000000
%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, 0xC032004180000000
%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 = extractelement <2 x float> %58, i64 0
%76 = fadd float %75, 0.000000e+00
%77 = extractelement <2 x float> %58, i64 1
%78 = fadd float %76, %77
%79 = extractelement <2 x float> %74, i64 0
%80 = fadd float %78, %79
%81 = extractelement <2 x float> %74, i64 1
%82 = fadd float %80, %81
%83 = fcmp oeq float %82, 0.000000e+00
br i1 %83, label %108, label %84
84: ; preds = %42
%85 = fmul <2 x float> %58, %58
%86 = extractelement <2 x float> %85, i64 0
%87 = tail call float @llvm.fmuladd.f32(float %64, float 0xBFC2511180000000, float 0xC00DF520C0000000)
%88 = tail call float @llvm.fmuladd.f32(float %49, float 0x3FB529E920000000, float %87)
%89 = tail call float @pow(float %88, i32 2)
%90 = fmul float %77, %77
%91 = tail call float @llvm.fmuladd.f32(float %55, float 0x3F86675740000000, float 0xC042F68E20000000)
%92 = tail call float @llvm.fmuladd.f32(float %71, float 0xBF97A85AE0000000, float %91)
%93 = tail call float @pow(float %92, i32 2)
%94 = fmul float %90, %93
%95 = tail call float @llvm.fmuladd.f32(float %86, float %89, float %94)
%96 = fmul <2 x float> %74, %74
%97 = extractelement <2 x float> %96, i64 0
%98 = tail call float @llvm.fmuladd.f32(float %49, float 0xBFC2511180000000, float 0x40189A6520000000)
%99 = tail call float @llvm.fmuladd.f32(float %64, float 0x3FCFB8AA20000000, float %98)
%100 = tail call float @pow(float %99, i32 2)
%101 = tail call float @llvm.fmuladd.f32(float %97, float %100, float %95)
%102 = fmul float %81, %81
%103 = tail call float @llvm.fmuladd.f32(float %55, float 0xBF97A85AE0000000, float 0x404FB2F040000000)
%104 = tail call float @llvm.fmuladd.f32(float %71, float 0x3FA830C5E0000000, float %103)
%105 = tail call float @pow(float %104, i32 2)
%106 = tail call float @llvm.fmuladd.f32(float %102, float %105, float %101)
%107 = tail call float @sqrt(float %106)
br label %108
108: ; preds = %42, %84
%109 = phi float [ %107, %84 ], [ 0.000000e+00, %42 ]
%110 = fmul float %71, %71
%111 = fmul float %49, %49
%112 = fmul float %55, 0xBF97A85AE0000000
%113 = fmul float %55, %55
%114 = fmul float %64, %64
%115 = fmul float %49, 0xBFC2511180000000
%116 = tail call float @llvm.fmuladd.f32(float %49, float 0xC00DF520C0000000, float 0xBFF6540D40000000)
%117 = tail call float @llvm.fmuladd.f32(float %55, float 0xC042F68E20000000, float %116)
%118 = tail call float @llvm.fmuladd.f32(float %64, float 0x40189A6520000000, float %117)
%119 = tail call float @llvm.fmuladd.f32(float %71, float 0x404FB2F040000000, float %118)
%120 = tail call float @llvm.fmuladd.f32(float %115, float %64, float %119)
%121 = tail call float @llvm.fmuladd.f32(float %114, float 0x3FBFB8AA20000000, float %120)
%122 = tail call float @llvm.fmuladd.f32(float %113, float 0x3F76675740000000, float %121)
%123 = tail call float @llvm.fmuladd.f32(float %112, float %71, float %122)
%124 = tail call float @llvm.fmuladd.f32(float %111, float 0x3FA529E920000000, float %123)
%125 = tail call float @llvm.fmuladd.f32(float %110, float 0x3F9830C5E0000000, float %124)
store float %109, float* %1
ret float %125
}