#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 sqrtf(float);
void fmatrixAeqRenormRotA(float A[][3]) {
  float ftmp;
  ftmp = sqrtf(A[0][0] * A[0][0] + A[1][0] * A[1][0] + A[2][0] * A[2][0]);
  if (ftmp > 0.001F) {
    ftmp = 1.0F / ftmp;
    A[0][0] *= ftmp;
    A[1][0] *= ftmp;
    A[2][0] *= ftmp;
  } else {
    A[0][0] = 1.0F;
    A[1][0] = A[2][0] = 0.0F;
  }
  ftmp = A[0][0] * A[0][1] + A[1][0] * A[1][1] + A[2][0] * A[2][1];
  A[0][1] -= ftmp * A[0][0];
  A[1][1] -= ftmp * A[1][0];
  A[2][1] -= ftmp * A[2][0];
  ftmp = sqrtf(A[0][1] * A[0][1] + A[1][1] * A[1][1] + A[2][1] * A[2][1]);
  if (ftmp > 0.001F) {
    ftmp = 1.0F / ftmp;
    A[0][1] *= ftmp;
    A[1][1] *= ftmp;
    A[2][1] *= ftmp;
  } else {
    A[1][1] = 1.0F;
    A[0][1] = A[2][1] = 0.0F;
  }
  A[0][2] = A[1][0] * A[2][1] - A[2][0] * A[1][1];
  A[1][2] = A[2][0] * A[0][1] - A[0][0] * A[2][1];
  A[2][2] = A[0][0] * A[1][1] - A[1][0] * A[0][1];
}


x86 assembly (clang, -O0):
<fmatrixAeqRenormRotA>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rax
movss  (%rax),%xmm1
mov    -0x8(%rbp),%rax
movss  (%rax),%xmm2
mov    -0x8(%rbp),%rax
movss  0xc(%rax),%xmm0
mov    -0x8(%rbp),%rax
mulss  0xc(%rax),%xmm0
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
mov    -0x8(%rbp),%rax
movss  0x18(%rax),%xmm0
mov    -0x8(%rbp),%rax
movss  0x18(%rax),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
call   1030 <sqrtf@plt>
movss  %xmm0,-0xc(%rbp)
movss  -0xc(%rbp),%xmm0
movss  0xe89(%rip),%xmm1
ucomiss %xmm1,%xmm0
jbe    11ce <fmatrixAeqRenormRotA+0xbe>
movss  0xe7c(%rip),%xmm0
divss  -0xc(%rbp),%xmm0
movss  %xmm0,-0xc(%rbp)
movss  -0xc(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mulss  (%rax),%xmm0
movss  %xmm0,(%rax)
movss  -0xc(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mulss  0xc(%rax),%xmm0
movss  %xmm0,0xc(%rax)
movss  -0xc(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mulss  0x18(%rax),%xmm0
movss  %xmm0,0x18(%rax)
jmp    11f6 <fmatrixAeqRenormRotA+0xe6>
mov    -0x8(%rbp),%rax
movss  0xe2a(%rip),%xmm0
movss  %xmm0,(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x18(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0xc(%rax)
mov    -0x8(%rbp),%rax
movss  (%rax),%xmm1
mov    -0x8(%rbp),%rax
movss  0x4(%rax),%xmm2
mov    -0x8(%rbp),%rax
movss  0xc(%rax),%xmm0
mov    -0x8(%rbp),%rax
mulss  0x10(%rax),%xmm0
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
mov    -0x8(%rbp),%rax
movss  0x18(%rax),%xmm0
mov    -0x8(%rbp),%rax
movss  0x1c(%rax),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0xc(%rbp)
movss  -0xc(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movss  (%rax),%xmm2
mov    -0x8(%rbp),%rax
movss  0x4(%rax),%xmm1
movd   %xmm0,%ecx
xor    $0x80000000,%ecx
movd   %ecx,%xmm0
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,0x4(%rax)
movss  -0xc(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movss  0xc(%rax),%xmm2
mov    -0x8(%rbp),%rax
movss  0x10(%rax),%xmm1
movd   %xmm0,%ecx
xor    $0x80000000,%ecx
movd   %ecx,%xmm0
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,0x10(%rax)
movss  -0xc(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movss  0x18(%rax),%xmm2
mov    -0x8(%rbp),%rax
movss  0x1c(%rax),%xmm1
movd   %xmm0,%ecx
xor    $0x80000000,%ecx
movd   %ecx,%xmm0
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,0x1c(%rax)
mov    -0x8(%rbp),%rax
movss  0x4(%rax),%xmm1
mov    -0x8(%rbp),%rax
movss  0x4(%rax),%xmm2
mov    -0x8(%rbp),%rax
movss  0x10(%rax),%xmm0
mov    -0x8(%rbp),%rax
mulss  0x10(%rax),%xmm0
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
mov    -0x8(%rbp),%rax
movss  0x1c(%rax),%xmm0
mov    -0x8(%rbp),%rax
movss  0x1c(%rax),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
call   1030 <sqrtf@plt>
movss  %xmm0,-0xc(%rbp)
movss  -0xc(%rbp),%xmm0
movss  0xcce(%rip),%xmm1
ucomiss %xmm1,%xmm0
jbe    138b <fmatrixAeqRenormRotA+0x27b>
movss  0xcc1(%rip),%xmm0
divss  -0xc(%rbp),%xmm0
movss  %xmm0,-0xc(%rbp)
movss  -0xc(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mulss  0x4(%rax),%xmm0
movss  %xmm0,0x4(%rax)
movss  -0xc(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mulss  0x10(%rax),%xmm0
movss  %xmm0,0x10(%rax)
movss  -0xc(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mulss  0x1c(%rax),%xmm0
movss  %xmm0,0x1c(%rax)
jmp    13b4 <fmatrixAeqRenormRotA+0x2a4>
mov    -0x8(%rbp),%rax
movss  0xc6d(%rip),%xmm0
movss  %xmm0,0x10(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x1c(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x4(%rax)
mov    -0x8(%rbp),%rax
movss  0xc(%rax),%xmm0
mov    -0x8(%rbp),%rax
movss  0x1c(%rax),%xmm2
mov    -0x8(%rbp),%rax
movss  0x18(%rax),%xmm1
mov    -0x8(%rbp),%rax
mulss  0x10(%rax),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movss  %xmm0,0x8(%rax)
mov    -0x8(%rbp),%rax
movss  0x18(%rax),%xmm0
mov    -0x8(%rbp),%rax
movss  0x4(%rax),%xmm2
mov    -0x8(%rbp),%rax
movss  (%rax),%xmm1
mov    -0x8(%rbp),%rax
mulss  0x1c(%rax),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movss  %xmm0,0x14(%rax)
mov    -0x8(%rbp),%rax
movss  (%rax),%xmm0
mov    -0x8(%rbp),%rax
movss  0x10(%rax),%xmm2
mov    -0x8(%rbp),%rax
movss  0xc(%rax),%xmm1
mov    -0x8(%rbp),%rax
mulss  0x4(%rax),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movss  %xmm0,0x20(%rax)
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<fmatrixAeqRenormRotA>:
push   %rbx
mov    %rdi,%rbx
movss  (%rdi),%xmm1
movss  0xc(%rdi),%xmm0
mulss  %xmm0,%xmm0
mulss  %xmm1,%xmm1
addss  %xmm0,%xmm1
movss  0x18(%rdi),%xmm0
mulss  %xmm0,%xmm0
addss  %xmm1,%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jb     116f <fmatrixAeqRenormRotA+0x5f>
sqrtss %xmm0,%xmm0
ucomiss 0xeb7(%rip),%xmm0
ja     117d <fmatrixAeqRenormRotA+0x6d>
movl   $0x3f800000,(%rbx)
movl   $0x0,0x18(%rbx)
movl   $0x0,0xc(%rbx)
movss  0xe9d(%rip),%xmm2
xorps  %xmm1,%xmm1
xorps  %xmm3,%xmm3
jmp    11ad <fmatrixAeqRenormRotA+0x9d>
call   1030 <sqrtf@plt>
ucomiss 0xe85(%rip),%xmm0
jbe    114b <fmatrixAeqRenormRotA+0x3b>
movss  0xe7f(%rip),%xmm1
divss  %xmm0,%xmm1
movss  (%rbx),%xmm2
mulss  %xmm1,%xmm2
movss  %xmm2,(%rbx)
movss  0xc(%rbx),%xmm3
mulss  %xmm1,%xmm3
movss  %xmm3,0xc(%rbx)
mulss  0x18(%rbx),%xmm1
movss  %xmm1,0x18(%rbx)
movss  0x4(%rbx),%xmm4
movss  0x10(%rbx),%xmm5
movaps %xmm3,%xmm0
mulss  %xmm5,%xmm0
movaps %xmm2,%xmm6
mulss  %xmm4,%xmm6
addss  %xmm0,%xmm6
movss  0x1c(%rbx),%xmm0
movaps %xmm1,%xmm7
mulss  %xmm0,%xmm7
addss  %xmm6,%xmm7
mulss  %xmm7,%xmm2
subss  %xmm2,%xmm4
movss  %xmm4,0x4(%rbx)
mulss  %xmm7,%xmm3
subss  %xmm3,%xmm5
movss  %xmm5,0x10(%rbx)
mulss  %xmm1,%xmm7
subss  %xmm7,%xmm0
movss  %xmm0,0x1c(%rbx)
mulss  %xmm5,%xmm5
mulss  %xmm4,%xmm4
addss  %xmm5,%xmm4
mulss  %xmm0,%xmm0
addss  %xmm4,%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jb     124e <fmatrixAeqRenormRotA+0x13e>
sqrtss %xmm0,%xmm0
ucomiss 0xdd9(%rip),%xmm0
ja     125c <fmatrixAeqRenormRotA+0x14c>
movl   $0x3f800000,0x10(%rbx)
movl   $0x0,0x1c(%rbx)
movl   $0x0,0x4(%rbx)
movss  0xdbe(%rip),%xmm2
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
jmp    128e <fmatrixAeqRenormRotA+0x17e>
call   1030 <sqrtf@plt>
ucomiss 0xda6(%rip),%xmm0
jbe    1229 <fmatrixAeqRenormRotA+0x119>
movss  0xda0(%rip),%xmm1
divss  %xmm0,%xmm1
movss  0x4(%rbx),%xmm0
mulss  %xmm1,%xmm0
movss  %xmm0,0x4(%rbx)
movss  0x10(%rbx),%xmm2
mulss  %xmm1,%xmm2
movss  %xmm2,0x10(%rbx)
mulss  0x1c(%rbx),%xmm1
movss  %xmm1,0x1c(%rbx)
movss  (%rbx),%xmm3
movss  0xc(%rbx),%xmm4
movss  0x18(%rbx),%xmm5
movaps %xmm2,%xmm6
mulss  %xmm5,%xmm6
mulss  %xmm0,%xmm5
mulss  %xmm4,%xmm0
mulss  %xmm1,%xmm4
subss  %xmm6,%xmm4
movss  %xmm4,0x8(%rbx)
mulss  %xmm3,%xmm1
subss  %xmm1,%xmm5
movss  %xmm5,0x14(%rbx)
mulss  %xmm2,%xmm3
subss  %xmm0,%xmm3
movss  %xmm3,0x20(%rbx)
pop    %rbx
ret

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

LLVM IR (-O2):
define void @fmatrixAeqRenormRotA([3 x float]* nocapture %0) {
%2 = getelementptr inbounds [3 x float], [3 x float]* %0, i64 0, i64 0
%3 = load float, float* %2
%4 = getelementptr inbounds [3 x float], [3 x float]* %0, i64 1, i64 0
%5 = load float, float* %4
%6 = fmul float %5, %5
%7 = tail call float @llvm.fmuladd.f32(float %3, float %3, float %6)
%8 = getelementptr inbounds [3 x float], [3 x float]* %0, i64 2, i64 0
%9 = load float, float* %8
%10 = tail call float @llvm.fmuladd.f32(float %9, float %9, float %7)
%11 = tail call float @sqrtf(float %10)
%12 = fcmp ogt float %11, 0x3F50624DE0000000
br i1 %12, label %13, label %21
13: ; preds = %1
%14 = fdiv float 1.000000e+00, %11
%15 = load float, float* %2
%16 = fmul float %14, %15
store float %16, float* %2
%17 = load float, float* %4
%18 = fmul float %14, %17
store float %18, float* %4
%19 = load float, float* %8
%20 = fmul float %14, %19
store float %20, float* %8
br label %22
21: ; preds = %1
store float 1.000000e+00, float* %2
store float 0.000000e+00, float* %8
store float 0.000000e+00, float* %4
br label %22
22: ; preds = %21, %13
%23 = phi float [ 0.000000e+00, %21 ], [ %20, %13 ]
%24 = phi float [ 0.000000e+00, %21 ], [ %18, %13 ]
%25 = phi float [ 1.000000e+00, %21 ], [ %16, %13 ]
%26 = getelementptr inbounds [3 x float], [3 x float]* %0, i64 0, i64 1
%27 = load float, float* %26
%28 = getelementptr inbounds [3 x float], [3 x float]* %0, i64 1, i64 1
%29 = load float, float* %28
%30 = fmul float %24, %29
%31 = tail call float @llvm.fmuladd.f32(float %25, float %27, float %30)
%32 = getelementptr inbounds [3 x float], [3 x float]* %0, i64 2, i64 1
%33 = load float, float* %32
%34 = tail call float @llvm.fmuladd.f32(float %23, float %33, float %31)
%35 = fneg float %34
%36 = tail call float @llvm.fmuladd.f32(float %35, float %25, float %27)
store float %36, float* %26
%37 = tail call float @llvm.fmuladd.f32(float %35, float %24, float %29)
store float %37, float* %28
%38 = tail call float @llvm.fmuladd.f32(float %35, float %23, float %33)
store float %38, float* %32
%39 = fmul float %37, %37
%40 = tail call float @llvm.fmuladd.f32(float %36, float %36, float %39)
%41 = tail call float @llvm.fmuladd.f32(float %38, float %38, float %40)
%42 = tail call float @sqrtf(float %41)
%43 = fcmp ogt float %42, 0x3F50624DE0000000
br i1 %43, label %44, label %52
44: ; preds = %22
%45 = fdiv float 1.000000e+00, %42
%46 = load float, float* %26
%47 = fmul float %45, %46
store float %47, float* %26
%48 = load float, float* %28
%49 = fmul float %45, %48
store float %49, float* %28
%50 = load float, float* %32
%51 = fmul float %45, %50
store float %51, float* %32
br label %53
52: ; preds = %22
store float 1.000000e+00, float* %28
store float 0.000000e+00, float* %32
store float 0.000000e+00, float* %26
br label %53
53: ; preds = %52, %44
%54 = phi float [ 0.000000e+00, %52 ], [ %47, %44 ]
%55 = phi float [ 1.000000e+00, %52 ], [ %49, %44 ]
%56 = phi float [ 0.000000e+00, %52 ], [ %51, %44 ]
%57 = load float, float* %4
%58 = load float, float* %8
%59 = fneg float %58
%60 = fmul float %55, %59
%61 = tail call float @llvm.fmuladd.f32(float %57, float %56, float %60)
%62 = getelementptr inbounds [3 x float], [3 x float]* %0, i64 0, i64 2
store float %61, float* %62
%63 = load float, float* %2
%64 = fneg float %63
%65 = fmul float %56, %64
%66 = tail call float @llvm.fmuladd.f32(float %58, float %54, float %65)
%67 = getelementptr inbounds [3 x float], [3 x float]* %0, i64 1, i64 2
store float %66, float* %67
%68 = fneg float %57
%69 = fmul float %54, %68
%70 = tail call float @llvm.fmuladd.f32(float %63, float %55, float %69)
%71 = getelementptr inbounds [3 x float], [3 x float]* %0, i64 2, i64 2
store float %70, float* %71
ret void
}