#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 cosf(float);
int /*<<< orphan*/ memcpy(float *, float *, int);
float sinf(float);
float sqrtf(float);
void lookit(float *out_matrix, float *f, float eye0, float eye1, float eye2,
            float pitch, float yaw) {
  f[0] = cosf(pitch) * sinf(yaw);
  f[1] = sinf(pitch);
  f[2] = cosf(pitch) * cosf(yaw);
  float wing0, wing1, wing2;
  wing0 = -cosf(yaw);
  wing1 = 0;
  wing2 = sinf(yaw);
  float up0, up1, up2;
  up0 = f[1] * wing2 - f[2] * wing1;
  up1 = f[2] * wing0 - f[0] * wing2;
  up2 = f[0] * wing1 - f[1] * wing0;
  float upm = sqrtf(up0 * up0 + up1 * up1 + up2 * up2);
  up0 /= upm;
  up1 /= upm;
  up2 /= upm;
  float s0, s1, s2;
  s0 = f[1] * up2 - f[2] * up1;
  s1 = f[2] * up0 - f[0] * up2;
  s2 = f[0] * up1 - f[1] * up0;
  float sm = sqrtf(s0 * s0 + s1 * s1 + s2 * s2);
  float zz0, zz1, zz2;
  zz0 = s0 / sm;
  zz1 = s1 / sm;
  zz2 = s2 / sm;
  float u0, u1, u2;
  u0 = zz1 * f[2] - zz2 * f[1];
  u1 = zz2 * f[0] - zz0 * f[2];
  u2 = zz0 * f[1] - zz1 * f[0];
  float buf[] = {s0, u0, -f[0], 0, s1, u1, -f[1], 0,
                 s2, u2, -f[2], 0, 0,  0,  0,     1};
  memcpy(out_matrix, buf, sizeof buf);
}


x86 assembly (clang, -O0):
<lookit>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movss  %xmm0,-0x14(%rbp)
movss  %xmm1,-0x18(%rbp)
movss  %xmm2,-0x1c(%rbp)
movss  %xmm3,-0x20(%rbp)
movss  %xmm4,-0x24(%rbp)
movss  -0x20(%rbp),%xmm0
call   1040 <cosf@plt>
movss  %xmm0,-0xb8(%rbp)
ff
movss  -0x24(%rbp),%xmm0
call   1030 <sinf@plt>
movaps %xmm0,%xmm1
movss  -0xb8(%rbp),%xmm0
ff
mulss  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
movss  %xmm0,(%rax)
movss  -0x20(%rbp),%xmm0
call   1030 <sinf@plt>
mov    -0x10(%rbp),%rax
movss  %xmm0,0x4(%rax)
movss  -0x20(%rbp),%xmm0
call   1040 <cosf@plt>
movss  %xmm0,-0xb4(%rbp)
ff
movss  -0x24(%rbp),%xmm0
call   1040 <cosf@plt>
movaps %xmm0,%xmm1
movss  -0xb4(%rbp),%xmm0
ff
mulss  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
movss  %xmm0,0x8(%rax)
movss  -0x24(%rbp),%xmm0
call   1040 <cosf@plt>
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  %xmm0,-0x28(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x2c(%rbp)
movss  -0x24(%rbp),%xmm0
call   1030 <sinf@plt>
movss  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
movss  0x4(%rax),%xmm0
movss  -0x30(%rbp),%xmm2
mov    -0x10(%rbp),%rax
movss  0x8(%rax),%xmm1
mulss  -0x2c(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x34(%rbp)
mov    -0x10(%rbp),%rax
movss  0x8(%rax),%xmm0
movss  -0x28(%rbp),%xmm2
mov    -0x10(%rbp),%rax
movss  (%rax),%xmm1
mulss  -0x30(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x38(%rbp)
mov    -0x10(%rbp),%rax
movss  (%rax),%xmm0
movss  -0x2c(%rbp),%xmm2
mov    -0x10(%rbp),%rax
movss  0x4(%rax),%xmm1
mulss  -0x28(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x3c(%rbp)
movss  -0x34(%rbp),%xmm1
movss  -0x34(%rbp),%xmm2
movss  -0x38(%rbp),%xmm0
mulss  -0x38(%rbp),%xmm0
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0x3c(%rbp),%xmm0
movss  -0x3c(%rbp),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
call   1060 <sqrtf@plt>
movss  %xmm0,-0x40(%rbp)
movss  -0x40(%rbp),%xmm1
movss  -0x34(%rbp),%xmm0
divss  %xmm1,%xmm0
movss  %xmm0,-0x34(%rbp)
movss  -0x40(%rbp),%xmm1
movss  -0x38(%rbp),%xmm0
divss  %xmm1,%xmm0
movss  %xmm0,-0x38(%rbp)
movss  -0x40(%rbp),%xmm1
movss  -0x3c(%rbp),%xmm0
divss  %xmm1,%xmm0
movss  %xmm0,-0x3c(%rbp)
mov    -0x10(%rbp),%rax
movss  0x4(%rax),%xmm0
movss  -0x3c(%rbp),%xmm2
mov    -0x10(%rbp),%rax
movss  0x8(%rax),%xmm1
mulss  -0x38(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x44(%rbp)
mov    -0x10(%rbp),%rax
movss  0x8(%rax),%xmm0
movss  -0x34(%rbp),%xmm2
mov    -0x10(%rbp),%rax
movss  (%rax),%xmm1
mulss  -0x3c(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movss  (%rax),%xmm0
movss  -0x38(%rbp),%xmm2
mov    -0x10(%rbp),%rax
movss  0x4(%rax),%xmm1
mulss  -0x34(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x4c(%rbp)
movss  -0x44(%rbp),%xmm1
movss  -0x44(%rbp),%xmm2
movss  -0x48(%rbp),%xmm0
mulss  -0x48(%rbp),%xmm0
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0x4c(%rbp),%xmm0
movss  -0x4c(%rbp),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
call   1060 <sqrtf@plt>
movss  %xmm0,-0x50(%rbp)
movss  -0x44(%rbp),%xmm0
divss  -0x50(%rbp),%xmm0
movss  %xmm0,-0x54(%rbp)
movss  -0x48(%rbp),%xmm0
divss  -0x50(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x4c(%rbp),%xmm0
divss  -0x50(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x58(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movss  0x8(%rax),%xmm2
movss  -0x5c(%rbp),%xmm1
mov    -0x10(%rbp),%rax
mulss  0x4(%rax),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x60(%rbp)
movss  -0x5c(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movss  (%rax),%xmm2
movss  -0x54(%rbp),%xmm1
mov    -0x10(%rbp),%rax
mulss  0x8(%rax),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x64(%rbp)
movss  -0x54(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movss  0x4(%rax),%xmm2
movss  -0x58(%rbp),%xmm1
mov    -0x10(%rbp),%rax
mulss  (%rax),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x68(%rbp)
movss  -0x44(%rbp),%xmm0
movss  %xmm0,-0xb0(%rbp)
ff
movss  -0x60(%rbp),%xmm0
movss  %xmm0,-0xac(%rbp)
ff
mov    -0x10(%rbp),%rax
movss  (%rax),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  %xmm0,-0xa8(%rbp)
ff
xorps  %xmm0,%xmm0
movss  %xmm0,-0xa4(%rbp)
ff
movss  -0x48(%rbp),%xmm0
movss  %xmm0,-0xa0(%rbp)
ff
movss  -0x64(%rbp),%xmm0
movss  %xmm0,-0x9c(%rbp)
ff
mov    -0x10(%rbp),%rax
movss  0x4(%rax),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  %xmm0,-0x98(%rbp)
ff
xorps  %xmm0,%xmm0
movss  %xmm0,-0x94(%rbp)
ff
movss  -0x4c(%rbp),%xmm0
movss  %xmm0,-0x90(%rbp)
ff
movss  -0x68(%rbp),%xmm0
movss  %xmm0,-0x8c(%rbp)
ff
mov    -0x10(%rbp),%rax
movss  0x8(%rax),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  %xmm0,-0x88(%rbp)
ff
xorps  %xmm0,%xmm0
movss  %xmm0,-0x84(%rbp)
ff
xorps  %xmm0,%xmm0
movss  %xmm0,-0x80(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x7c(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x78(%rbp)
movss  0xa49(%rip),%xmm0
movss  %xmm0,-0x74(%rbp)
mov    -0x8(%rbp),%rdi
lea    -0xb0(%rbp),%rsi
mov    $0x40,%edx
call   1050 <memcpy@plt>
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<lookit>:
push   %r14
push   %rbx
sub    $0x78,%rsp
movss  %xmm4,0xc(%rsp)
movaps %xmm3,%xmm0
movss  %xmm3,0x10(%rsp)
mov    %rsi,%rbx
mov    %rdi,%r14
call   1040 <cosf@plt>
movss  %xmm0,0x20(%rsp)
movss  0xc(%rsp),%xmm0
call   1030 <sinf@plt>
mulss  0x20(%rsp),%xmm0
movss  %xmm0,(%rbx)
movss  0x10(%rsp),%xmm0
call   1030 <sinf@plt>
movss  %xmm0,0x4(%rbx)
movss  0x10(%rsp),%xmm0
call   1040 <cosf@plt>
movss  %xmm0,0x10(%rsp)
movss  0xc(%rsp),%xmm0
call   1040 <cosf@plt>
mulss  0x10(%rsp),%xmm0
movss  %xmm0,0x8(%rbx)
movss  0xc(%rsp),%xmm0
call   1040 <cosf@plt>
movaps %xmm0,0x20(%rsp)
movaps 0xe36(%rip),%xmm1
xorps  %xmm0,%xmm1
movaps %xmm1,0x10(%rsp)
movss  0xc(%rsp),%xmm0
call   1030 <sinf@plt>
movaps 0x10(%rsp),%xmm7
movss  (%rbx),%xmm4
movss  0x4(%rbx),%xmm3
movss  0x8(%rbx),%xmm1
movss  0xe18(%rip),%xmm2
mulss  %xmm1,%xmm2
movaps 0x20(%rsp),%xmm5
mulss  %xmm3,%xmm5
mulss  %xmm0,%xmm3
addss  %xmm2,%xmm3
mulss  %xmm4,%xmm0
mulss  %xmm1,%xmm7
subss  %xmm0,%xmm7
xorps  %xmm6,%xmm6
mulss  %xmm6,%xmm4
addss  %xmm5,%xmm4
movaps %xmm7,%xmm0
mulss  %xmm7,%xmm0
movaps %xmm3,%xmm1
mulss  %xmm3,%xmm1
addss  %xmm0,%xmm1
movaps %xmm4,%xmm0
mulss  %xmm4,%xmm0
addss  %xmm1,%xmm0
ucomiss %xmm6,%xmm0
jb     124c <lookit+0x10c>
sqrtss %xmm0,%xmm0
jmp    1276 <lookit+0x136>
movaps %xmm7,0x10(%rsp)
movss  %xmm3,0xc(%rsp)
movss  %xmm4,0x20(%rsp)
call   1060 <sqrtf@plt>
xorps  %xmm6,%xmm6
movss  0x20(%rsp),%xmm4
movss  0xc(%rsp),%xmm3
movaps 0x10(%rsp),%xmm7
divss  %xmm0,%xmm3
divss  %xmm0,%xmm7
divss  %xmm0,%xmm4
movss  (%rbx),%xmm0
movss  0x4(%rbx),%xmm1
movss  0x8(%rbx),%xmm9
movaps %xmm7,%xmm2
mulss  %xmm9,%xmm2
mulss  %xmm3,%xmm9
mulss  %xmm1,%xmm3
movaps %xmm1,%xmm5
mulss  %xmm4,%xmm5
subss  %xmm2,%xmm5
mulss  %xmm0,%xmm4
subss  %xmm4,%xmm9
mulss  %xmm0,%xmm7
subss  %xmm3,%xmm7
movaps %xmm9,%xmm0
mulss  %xmm9,%xmm0
movaps %xmm5,%xmm1
mulss  %xmm5,%xmm1
addss  %xmm0,%xmm1
movaps %xmm7,%xmm0
mulss  %xmm7,%xmm0
addss  %xmm1,%xmm0
ucomiss %xmm6,%xmm0
jb     12e8 <lookit+0x1a8>
sqrtss %xmm0,%xmm0
jmp    1311 <lookit+0x1d1>
movaps %xmm7,0x10(%rsp)
movss  %xmm9,0xc(%rsp)
movss  %xmm5,0x20(%rsp)
call   1060 <sqrtf@plt>
movss  0x20(%rsp),%xmm5
movss  0xc(%rsp),%xmm9
movaps 0x10(%rsp),%xmm7
movaps %xmm5,%xmm1
divss  %xmm0,%xmm1
movaps %xmm9,%xmm2
divss  %xmm0,%xmm2
movaps %xmm7,%xmm3
divss  %xmm0,%xmm3
movss  0x8(%rbx),%xmm8
movss  (%rbx),%xmm4
movss  0x4(%rbx),%xmm0
movaps %xmm0,%xmm6
mulss  %xmm3,%xmm6
movaps %xmm4,%xmm10
mulss  %xmm2,%xmm10
mulss  %xmm8,%xmm2
subss  %xmm6,%xmm2
movaps %xmm8,%xmm6
mulss  %xmm1,%xmm6
mulss  %xmm4,%xmm3
subss  %xmm6,%xmm3
mulss  %xmm0,%xmm1
subss  %xmm10,%xmm1
movss  %xmm5,0x30(%rsp)
movss  %xmm2,0x34(%rsp)
movaps 0xc85(%rip),%xmm2
xorps  %xmm2,%xmm4
movss  %xmm4,0x38(%rsp)
movl   $0x0,0x3c(%rsp)
movss  %xmm9,0x40(%rsp)
movss  %xmm3,0x44(%rsp)
xorps  %xmm2,%xmm0
movss  %xmm0,0x48(%rsp)
movl   $0x0,0x4c(%rsp)
movss  %xmm7,0x50(%rsp)
movss  %xmm1,0x54(%rsp)
xorps  %xmm2,%xmm8
movss  %xmm8,0x58(%rsp)
xorps  %xmm0,%xmm0
movups %xmm0,0x5c(%rsp)
movl   $0x3f800000,0x6c(%rsp)
3f
lea    0x30(%rsp),%rsi
mov    %r14,%rdi
mov    $0x40,%edx
call   1050 <memcpy@plt>
add    $0x78,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define void @lookit(float* %0, float* %1, float %2, float %3, float %4, float %5, float %6) {
%8 = alloca float*
%9 = alloca float*
%10 = alloca float
%11 = alloca float
%12 = alloca float
%13 = alloca float
%14 = alloca float
%15 = alloca float
%16 = alloca float
%17 = alloca float
%18 = alloca float
%19 = alloca float
%20 = alloca float
%21 = alloca float
%22 = alloca float
%23 = alloca float
%24 = alloca float
%25 = alloca float
%26 = alloca float
%27 = alloca float
%28 = alloca float
%29 = alloca float
%30 = alloca float
%31 = alloca float
%32 = alloca [16 x float]
store float* %0, float** %8
store float* %1, float** %9
store float %2, float* %10
store float %3, float* %11
store float %4, float* %12
store float %5, float* %13
store float %6, float* %14
%33 = load float, float* %13
%34 = call float @cosf(float %33)
%35 = load float, float* %14
%36 = call float @sinf(float %35)
%37 = fmul float %34, %36
%38 = load float*, float** %9
%39 = getelementptr inbounds float, float* %38, i64 0
store float %37, float* %39
%40 = load float, float* %13
%41 = call float @sinf(float %40)
%42 = load float*, float** %9
%43 = getelementptr inbounds float, float* %42, i64 1
store float %41, float* %43
%44 = load float, float* %13
%45 = call float @cosf(float %44)
%46 = load float, float* %14
%47 = call float @cosf(float %46)
%48 = fmul float %45, %47
%49 = load float*, float** %9
%50 = getelementptr inbounds float, float* %49, i64 2
store float %48, float* %50
%51 = load float, float* %14
%52 = call float @cosf(float %51)
%53 = fneg float %52
store float %53, float* %15
store float 0.000000e+00, float* %16
%54 = load float, float* %14
%55 = call float @sinf(float %54)
store float %55, float* %17
%56 = load float*, float** %9
%57 = getelementptr inbounds float, float* %56, i64 1
%58 = load float, float* %57
%59 = load float, float* %17
%60 = load float*, float** %9
%61 = getelementptr inbounds float, float* %60, i64 2
%62 = load float, float* %61
%63 = load float, float* %16
%64 = fmul float %62, %63
%65 = fneg float %64
%66 = call float @llvm.fmuladd.f32(float %58, float %59, float %65)
store float %66, float* %18
%67 = load float*, float** %9
%68 = getelementptr inbounds float, float* %67, i64 2
%69 = load float, float* %68
%70 = load float, float* %15
%71 = load float*, float** %9
%72 = getelementptr inbounds float, float* %71, i64 0
%73 = load float, float* %72
%74 = load float, float* %17
%75 = fmul float %73, %74
%76 = fneg float %75
%77 = call float @llvm.fmuladd.f32(float %69, float %70, float %76)
store float %77, float* %19
%78 = load float*, float** %9
%79 = getelementptr inbounds float, float* %78, i64 0
%80 = load float, float* %79
%81 = load float, float* %16
%82 = load float*, float** %9
%83 = getelementptr inbounds float, float* %82, i64 1
%84 = load float, float* %83
%85 = load float, float* %15
%86 = fmul float %84, %85
%87 = fneg float %86
%88 = call float @llvm.fmuladd.f32(float %80, float %81, float %87)
store float %88, float* %20
%89 = load float, float* %18
%90 = load float, float* %18
%91 = load float, float* %19
%92 = load float, float* %19
%93 = fmul float %91, %92
%94 = call float @llvm.fmuladd.f32(float %89, float %90, float %93)
%95 = load float, float* %20
%96 = load float, float* %20
%97 = call float @llvm.fmuladd.f32(float %95, float %96, float %94)
%98 = call float @sqrtf(float %97)
store float %98, float* %21
%99 = load float, float* %21
%100 = load float, float* %18
%101 = fdiv float %100, %99
store float %101, float* %18
%102 = load float, float* %21
%103 = load float, float* %19
%104 = fdiv float %103, %102
store float %104, float* %19
%105 = load float, float* %21
%106 = load float, float* %20
%107 = fdiv float %106, %105
store float %107, float* %20
%108 = load float*, float** %9
%109 = getelementptr inbounds float, float* %108, i64 1
%110 = load float, float* %109
%111 = load float, float* %20
%112 = load float*, float** %9
%113 = getelementptr inbounds float, float* %112, i64 2
%114 = load float, float* %113
%115 = load float, float* %19
%116 = fmul float %114, %115
%117 = fneg float %116
%118 = call float @llvm.fmuladd.f32(float %110, float %111, float %117)
store float %118, float* %22
%119 = load float*, float** %9
%120 = getelementptr inbounds float, float* %119, i64 2
%121 = load float, float* %120
%122 = load float, float* %18
%123 = load float*, float** %9
%124 = getelementptr inbounds float, float* %123, i64 0
%125 = load float, float* %124
%126 = load float, float* %20
%127 = fmul float %125, %126
%128 = fneg float %127
%129 = call float @llvm.fmuladd.f32(float %121, float %122, float %128)
store float %129, float* %23
%130 = load float*, float** %9
%131 = getelementptr inbounds float, float* %130, i64 0
%132 = load float, float* %131
%133 = load float, float* %19
%134 = load float*, float** %9
%135 = getelementptr inbounds float, float* %134, i64 1
%136 = load float, float* %135
%137 = load float, float* %18
%138 = fmul float %136, %137
%139 = fneg float %138
%140 = call float @llvm.fmuladd.f32(float %132, float %133, float %139)
store float %140, float* %24
%141 = load float, float* %22
%142 = load float, float* %22
%143 = load float, float* %23
%144 = load float, float* %23
%145 = fmul float %143, %144
%146 = call float @llvm.fmuladd.f32(float %141, float %142, float %145)
%147 = load float, float* %24
%148 = load float, float* %24
%149 = call float @llvm.fmuladd.f32(float %147, float %148, float %146)
%150 = call float @sqrtf(float %149)
store float %150, float* %25
%151 = load float, float* %22
%152 = load float, float* %25
%153 = fdiv float %151, %152
store float %153, float* %26
%154 = load float, float* %23
%155 = load float, float* %25
%156 = fdiv float %154, %155
store float %156, float* %27
%157 = load float, float* %24
%158 = load float, float* %25
%159 = fdiv float %157, %158
store float %159, float* %28
%160 = load float, float* %27
%161 = load float*, float** %9
%162 = getelementptr inbounds float, float* %161, i64 2
%163 = load float, float* %162
%164 = load float, float* %28
%165 = load float*, float** %9
%166 = getelementptr inbounds float, float* %165, i64 1
%167 = load float, float* %166
%168 = fmul float %164, %167
%169 = fneg float %168
%170 = call float @llvm.fmuladd.f32(float %160, float %163, float %169)
store float %170, float* %29
%171 = load float, float* %28
%172 = load float*, float** %9
%173 = getelementptr inbounds float, float* %172, i64 0
%174 = load float, float* %173
%175 = load float, float* %26
%176 = load float*, float** %9
%177 = getelementptr inbounds float, float* %176, i64 2
%178 = load float, float* %177
%179 = fmul float %175, %178
%180 = fneg float %179
%181 = call float @llvm.fmuladd.f32(float %171, float %174, float %180)
store float %181, float* %30
%182 = load float, float* %26
%183 = load float*, float** %9
%184 = getelementptr inbounds float, float* %183, i64 1
%185 = load float, float* %184
%186 = load float, float* %27
%187 = load float*, float** %9
%188 = getelementptr inbounds float, float* %187, i64 0
%189 = load float, float* %188
%190 = fmul float %186, %189
%191 = fneg float %190
%192 = call float @llvm.fmuladd.f32(float %182, float %185, float %191)
store float %192, float* %31
%193 = getelementptr inbounds [16 x float], [16 x float]* %32, i64 0, i64 0
%194 = load float, float* %22
store float %194, float* %193
%195 = getelementptr inbounds float, float* %193, i64 1
%196 = load float, float* %29
store float %196, float* %195
%197 = getelementptr inbounds float, float* %195, i64 1
%198 = load float*, float** %9
%199 = getelementptr inbounds float, float* %198, i64 0
%200 = load float, float* %199
%201 = fneg float %200
store float %201, float* %197
%202 = getelementptr inbounds float, float* %197, i64 1
store float 0.000000e+00, float* %202
%203 = getelementptr inbounds float, float* %202, i64 1
%204 = load float, float* %23
store float %204, float* %203
%205 = getelementptr inbounds float, float* %203, i64 1
%206 = load float, float* %30
store float %206, float* %205
%207 = getelementptr inbounds float, float* %205, i64 1
%208 = load float*, float** %9
%209 = getelementptr inbounds float, float* %208, i64 1
%210 = load float, float* %209
%211 = fneg float %210
store float %211, float* %207
%212 = getelementptr inbounds float, float* %207, i64 1
store float 0.000000e+00, float* %212
%213 = getelementptr inbounds float, float* %212, i64 1
%214 = load float, float* %24
store float %214, float* %213
%215 = getelementptr inbounds float, float* %213, i64 1
%216 = load float, float* %31
store float %216, float* %215
%217 = getelementptr inbounds float, float* %215, i64 1
%218 = load float*, float** %9
%219 = getelementptr inbounds float, float* %218, i64 2
%220 = load float, float* %219
%221 = fneg float %220
store float %221, float* %217
%222 = getelementptr inbounds float, float* %217, i64 1
store float 0.000000e+00, float* %222
%223 = getelementptr inbounds float, float* %222, i64 1
store float 0.000000e+00, float* %223
%224 = getelementptr inbounds float, float* %223, i64 1
store float 0.000000e+00, float* %224
%225 = getelementptr inbounds float, float* %224, i64 1
store float 0.000000e+00, float* %225
%226 = getelementptr inbounds float, float* %225, i64 1
store float 1.000000e+00, float* %226
%227 = load float*, float** %8
%228 = getelementptr inbounds [16 x float], [16 x float]* %32, i64 0, i64 0
%229 = call i32 @memcpy(float* %227, float* %228, i32 64)
ret void
}

LLVM IR (-O2):
define void @lookit(float* %0, float* nocapture %1, float %2, float %3, float %4, float %5, float %6) {
%8 = alloca [16 x float]
%9 = tail call float @cosf(float %5)
%10 = tail call float @sinf(float %6)
%11 = fmul float %9, %10
store float %11, float* %1
%12 = tail call float @sinf(float %5)
%13 = getelementptr inbounds float, float* %1, i64 1
store float %12, float* %13
%14 = tail call float @cosf(float %5)
%15 = tail call float @cosf(float %6)
%16 = fmul float %14, %15
%17 = getelementptr inbounds float, float* %1, i64 2
store float %16, float* %17
%18 = tail call float @cosf(float %6)
%19 = fneg float %18
%20 = tail call float @sinf(float %6)
%21 = load float, float* %13
%22 = load float, float* %17
%23 = fmul float %22, -0.000000e+00
%24 = tail call float @llvm.fmuladd.f32(float %21, float %20, float %23)
%25 = load float, float* %1
%26 = fneg float %25
%27 = fmul float %20, %26
%28 = tail call float @llvm.fmuladd.f32(float %22, float %19, float %27)
%29 = fmul float %18, %21
%30 = tail call float @llvm.fmuladd.f32(float %25, float 0.000000e+00, float %29)
%31 = fmul float %28, %28
%32 = tail call float @llvm.fmuladd.f32(float %24, float %24, float %31)
%33 = tail call float @llvm.fmuladd.f32(float %30, float %30, float %32)
%34 = tail call float @sqrtf(float %33)
%35 = fdiv float %24, %34
%36 = fdiv float %28, %34
%37 = fdiv float %30, %34
%38 = load float, float* %13
%39 = load float, float* %17
%40 = fneg float %39
%41 = fmul float %36, %40
%42 = tail call float @llvm.fmuladd.f32(float %38, float %37, float %41)
%43 = load float, float* %1
%44 = fneg float %43
%45 = fmul float %37, %44
%46 = tail call float @llvm.fmuladd.f32(float %39, float %35, float %45)
%47 = fneg float %38
%48 = fmul float %35, %47
%49 = tail call float @llvm.fmuladd.f32(float %43, float %36, float %48)
%50 = fmul float %46, %46
%51 = tail call float @llvm.fmuladd.f32(float %42, float %42, float %50)
%52 = tail call float @llvm.fmuladd.f32(float %49, float %49, float %51)
%53 = tail call float @sqrtf(float %52)
%54 = fdiv float %42, %53
%55 = fdiv float %46, %53
%56 = fdiv float %49, %53
%57 = load float, float* %17
%58 = load float, float* %13
%59 = fneg float %56
%60 = fmul float %58, %59
%61 = tail call float @llvm.fmuladd.f32(float %55, float %57, float %60)
%62 = load float, float* %1
%63 = fneg float %54
%64 = fmul float %57, %63
%65 = tail call float @llvm.fmuladd.f32(float %56, float %62, float %64)
%66 = fneg float %55
%67 = fmul float %62, %66
%68 = tail call float @llvm.fmuladd.f32(float %54, float %58, float %67)
%69 = bitcast [16 x float]* %8 to i8*
%70 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 0
store float %42, float* %70
%71 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 1
store float %61, float* %71
%72 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 2
%73 = fneg float %62
store float %73, float* %72
%74 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 3
store float 0.000000e+00, float* %74
%75 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 4
store float %46, float* %75
%76 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 5
store float %65, float* %76
%77 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 6
%78 = fneg float %58
store float %78, float* %77
%79 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 7
store float 0.000000e+00, float* %79
%80 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 8
store float %49, float* %80
%81 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 9
store float %68, float* %81
%82 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 10
%83 = fneg float %57
store float %83, float* %82
%84 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 11
%85 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 15
%86 = bitcast float* %84 to i8*
store float 1.000000e+00, float* %85
%87 = call i32 @memcpy(float* %0, float* %70, i32 64)
ret void
}