#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 */
typedef int /*<<< orphan*/ __m128;

/* Variables and functions */
int /*<<< orphan*/ _mm_add_ps(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_load_ps(float *);
int /*<<< orphan*/ _mm_mul_ps(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_set1_ps(float);
int /*<<< orphan*/ _mm_store_ps(float *, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_sub_ps(int /*<<< orphan*/, int /*<<< orphan*/);
void mct_decode_real(float *__restrict__ c0, float *__restrict__ c1,
                     float *__restrict__ c2, int n) {
  int i;
  __m128 vrv, vgu, vgv, vbu;
  vrv = _mm_set1_ps(1.402f);
  vgu = _mm_set1_ps(0.34413f);
  vgv = _mm_set1_ps(0.71414f);
  vbu = _mm_set1_ps(1.772f);
  for (i = 0; i < (n >> 3); ++i) {
    __m128 vy, vu, vv;
    __m128 vr, vg, vb;
    vy = _mm_load_ps(c0);
    vu = _mm_load_ps(c1);
    vv = _mm_load_ps(c2);
    vr = _mm_add_ps(vy, _mm_mul_ps(vv, vrv));
    vg = _mm_sub_ps(_mm_sub_ps(vy, _mm_mul_ps(vu, vgu)), _mm_mul_ps(vv, vgv));
    vb = _mm_add_ps(vy, _mm_mul_ps(vu, vbu));
    _mm_store_ps(c0, vr);
    _mm_store_ps(c1, vg);
    _mm_store_ps(c2, vb);
    c0 += 4;
    c1 += 4;
    c2 += 4;
    vy = _mm_load_ps(c0);
    vu = _mm_load_ps(c1);
    vv = _mm_load_ps(c2);
    vr = _mm_add_ps(vy, _mm_mul_ps(vv, vrv));
    vg = _mm_sub_ps(_mm_sub_ps(vy, _mm_mul_ps(vu, vgu)), _mm_mul_ps(vv, vgv));
    vb = _mm_add_ps(vy, _mm_mul_ps(vu, vbu));
    _mm_store_ps(c0, vr);
    _mm_store_ps(c1, vg);
    _mm_store_ps(c2, vb);
    c0 += 4;
    c1 += 4;
    c2 += 4;
  }
  n &= 7;
  for (i = 0; i < n; ++i) {
    float y = c0[i];
    float u = c1[i];
    float v = c2[i];
    float r = y + (v * 1.402f);
    float g = y - (u * 0.34413f) - (v * (0.71414f));
    float b = y + (u * 1.772f);
    c0[i] = r;
    c1[i] = g;
    c2[i] = b;
  }
}


x86 assembly (clang, -O0):
<mct_decode_real>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
movss  0xe8a(%rip),%xmm0
call   1070 <_mm_set1_ps@plt>
mov    %eax,-0x24(%rbp)
movss  0xe76(%rip),%xmm0
call   1070 <_mm_set1_ps@plt>
mov    %eax,-0x28(%rbp)
movss  0xe62(%rip),%xmm0
call   1070 <_mm_set1_ps@plt>
mov    %eax,-0x2c(%rbp)
movss  0xe4e(%rip),%xmm0
call   1070 <_mm_set1_ps@plt>
mov    %eax,-0x30(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
mov    -0x1c(%rbp),%ecx
sar    $0x3,%ecx
cmp    %ecx,%eax
jge    139c <mct_decode_real+0x23c>
mov    -0x8(%rbp),%rdi
call   1030 <_mm_load_ps@plt>
mov    %eax,-0x34(%rbp)
mov    -0x10(%rbp),%rdi
call   1030 <_mm_load_ps@plt>
mov    %eax,-0x38(%rbp)
mov    -0x18(%rbp),%rdi
call   1030 <_mm_load_ps@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x80(%rbp)
mov    -0x3c(%rbp),%edi
mov    -0x24(%rbp),%esi
call   1040 <_mm_mul_ps@plt>
mov    -0x80(%rbp),%edi
mov    %eax,%esi
call   1080 <_mm_add_ps@plt>
mov    %eax,-0x40(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x7c(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x28(%rbp),%esi
call   1040 <_mm_mul_ps@plt>
mov    -0x7c(%rbp),%edi
mov    %eax,%esi
call   1050 <_mm_sub_ps@plt>
mov    %eax,-0x78(%rbp)
mov    -0x3c(%rbp),%edi
mov    -0x2c(%rbp),%esi
call   1040 <_mm_mul_ps@plt>
mov    -0x78(%rbp),%edi
mov    %eax,%esi
call   1050 <_mm_sub_ps@plt>
mov    %eax,-0x44(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x74(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x30(%rbp),%esi
call   1040 <_mm_mul_ps@plt>
mov    -0x74(%rbp),%edi
mov    %eax,%esi
call   1080 <_mm_add_ps@plt>
mov    %eax,-0x48(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x40(%rbp),%esi
call   1060 <_mm_store_ps@plt>
mov    -0x10(%rbp),%rdi
mov    -0x44(%rbp),%esi
call   1060 <_mm_store_ps@plt>
mov    -0x18(%rbp),%rdi
mov    -0x48(%rbp),%esi
call   1060 <_mm_store_ps@plt>
mov    -0x8(%rbp),%rax
add    $0x10,%rax
mov    %rax,-0x8(%rbp)
mov    -0x10(%rbp),%rax
add    $0x10,%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rax
add    $0x10,%rax
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <_mm_load_ps@plt>
mov    %eax,-0x34(%rbp)
mov    -0x10(%rbp),%rdi
call   1030 <_mm_load_ps@plt>
mov    %eax,-0x38(%rbp)
mov    -0x18(%rbp),%rdi
call   1030 <_mm_load_ps@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x70(%rbp)
mov    -0x3c(%rbp),%edi
mov    -0x24(%rbp),%esi
call   1040 <_mm_mul_ps@plt>
mov    -0x70(%rbp),%edi
mov    %eax,%esi
call   1080 <_mm_add_ps@plt>
mov    %eax,-0x40(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x6c(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x28(%rbp),%esi
call   1040 <_mm_mul_ps@plt>
mov    -0x6c(%rbp),%edi
mov    %eax,%esi
call   1050 <_mm_sub_ps@plt>
mov    %eax,-0x68(%rbp)
mov    -0x3c(%rbp),%edi
mov    -0x2c(%rbp),%esi
call   1040 <_mm_mul_ps@plt>
mov    -0x68(%rbp),%edi
mov    %eax,%esi
call   1050 <_mm_sub_ps@plt>
mov    %eax,-0x44(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x64(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x30(%rbp),%esi
call   1040 <_mm_mul_ps@plt>
mov    -0x64(%rbp),%edi
mov    %eax,%esi
call   1080 <_mm_add_ps@plt>
mov    %eax,-0x48(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x40(%rbp),%esi
call   1060 <_mm_store_ps@plt>
mov    -0x10(%rbp),%rdi
mov    -0x44(%rbp),%esi
call   1060 <_mm_store_ps@plt>
mov    -0x18(%rbp),%rdi
mov    -0x48(%rbp),%esi
call   1060 <_mm_store_ps@plt>
mov    -0x8(%rbp),%rax
add    $0x10,%rax
mov    %rax,-0x8(%rbp)
mov    -0x10(%rbp),%rax
add    $0x10,%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rax
add    $0x10,%rax
mov    %rax,-0x18(%rbp)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    11c1 <mct_decode_real+0x61>
mov    -0x1c(%rbp),%eax
and    $0x7,%eax
mov    %eax,-0x1c(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    14be <mct_decode_real+0x35e>
mov    -0x8(%rbp),%rax
movslq -0x20(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
movss  %xmm0,-0x4c(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x20(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
movss  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
movslq -0x20(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
movss  %xmm0,-0x54(%rbp)
movss  -0x4c(%rbp),%xmm1
movss  -0x54(%rbp),%xmm0
movss  0xc0c(%rip),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x4c(%rbp),%xmm0
movss  -0x50(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
movss  0xbdc(%rip),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0x54(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  0xbb6(%rip),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x4c(%rbp),%xmm1
movss  -0x50(%rbp),%xmm0
movss  0xb93(%rip),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x60(%rbp)
movss  -0x58(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x20(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
movss  -0x5c(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x20(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
movss  -0x60(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x20(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    13ac <mct_decode_real+0x24c>
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mct_decode_real>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %ecx,%ebp
mov    %rdx,%rbx
mov    %rsi,%r14
mov    %rdi,%r15
movss  0xe7f(%rip),%xmm0
call   1070 <_mm_set1_ps@plt>
mov    %eax,%r12d
movss  0xe73(%rip),%xmm0
call   1070 <_mm_set1_ps@plt>
mov    %eax,%r13d
movss  0xe67(%rip),%xmm0
call   1070 <_mm_set1_ps@plt>
mov    %eax,0xc(%rsp)
movss  0xe5a(%rip),%xmm0
call   1070 <_mm_set1_ps@plt>
cmp    $0x8,%ebp
jl     1378 <mct_decode_real+0x218>
mov    %ebp,0x2c(%rsp)
shr    $0x3,%ebp
mov    %r12d,0x8(%rsp)
mov    %eax,0x4(%rsp)
mov    %ebp,0x34(%rsp)
mov    %r15,0x10(%rsp)
mov    %r14,0x18(%rsp)
mov    %rbx,0x20(%rsp)
mov    %r15,%rdi
call   1030 <_mm_load_ps@plt>
mov    %eax,%r12d
mov    %r14,%rdi
call   1030 <_mm_load_ps@plt>
mov    %eax,%r15d
mov    %rbx,%rdi
call   1030 <_mm_load_ps@plt>
mov    %eax,%ebx
mov    %eax,%edi
mov    0x8(%rsp),%esi
call   1040 <_mm_mul_ps@plt>
mov    %r12d,%edi
mov    %eax,%esi
call   1080 <_mm_add_ps@plt>
mov    %eax,%r14d
mov    %r15d,%edi
mov    %r13d,%esi
call   1040 <_mm_mul_ps@plt>
mov    %r12d,%edi
mov    %eax,%esi
call   1050 <_mm_sub_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    0xc(%rsp),%esi
call   1040 <_mm_mul_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1050 <_mm_sub_ps@plt>
mov    %eax,%ebx
mov    %r15d,%edi
mov    0x4(%rsp),%esi
call   1040 <_mm_mul_ps@plt>
mov    %r12d,%edi
mov    %eax,%esi
call   1080 <_mm_add_ps@plt>
mov    %eax,%ebp
mov    0x10(%rsp),%rdi
mov    %r14d,%esi
call   1060 <_mm_store_ps@plt>
mov    0x18(%rsp),%rdi
mov    %ebx,%esi
call   1060 <_mm_store_ps@plt>
mov    0x20(%rsp),%rdi
mov    %ebp,%esi
call   1060 <_mm_store_ps@plt>
mov    0x10(%rsp),%rax
lea    0x10(%rax),%rdi
mov    %rdi,0x40(%rsp)
call   1030 <_mm_load_ps@plt>
mov    %eax,%r14d
mov    0x18(%rsp),%rax
lea    0x10(%rax),%rdi
mov    %rdi,0x38(%rsp)
call   1030 <_mm_load_ps@plt>
mov    %eax,%r15d
mov    0x20(%rsp),%rax
mov    %r13d,%r12d
lea    0x10(%rax),%r13
mov    %r13,%rdi
call   1030 <_mm_load_ps@plt>
mov    %eax,%ebx
mov    %eax,%edi
mov    0x8(%rsp),%esi
call   1040 <_mm_mul_ps@plt>
mov    %r14d,%edi
mov    %eax,%esi
call   1080 <_mm_add_ps@plt>
mov    %eax,0x30(%rsp)
mov    %r15d,%edi
mov    %r12d,%esi
call   1040 <_mm_mul_ps@plt>
mov    %r14d,%edi
mov    %eax,%esi
call   1050 <_mm_sub_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    0xc(%rsp),%esi
call   1040 <_mm_mul_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1050 <_mm_sub_ps@plt>
mov    %eax,%ebx
mov    %r15d,%edi
mov    0x10(%rsp),%r15
mov    0x4(%rsp),%esi
call   1040 <_mm_mul_ps@plt>
mov    %r14d,%edi
mov    0x18(%rsp),%r14
mov    %eax,%esi
call   1080 <_mm_add_ps@plt>
mov    %eax,%ebp
mov    0x40(%rsp),%rdi
mov    0x30(%rsp),%esi
call   1060 <_mm_store_ps@plt>
mov    0x38(%rsp),%rdi
mov    %ebx,%esi
mov    0x20(%rsp),%rbx
call   1060 <_mm_store_ps@plt>
mov    %r13,%rdi
mov    %r12d,%r13d
mov    %ebp,%esi
call   1060 <_mm_store_ps@plt>
mov    0x34(%rsp),%ebp
add    $0x20,%r15
add    $0x20,%r14
add    $0x20,%rbx
add    $0xffffffff,%ebp
jne    11d0 <mct_decode_real+0x70>
mov    0x2c(%rsp),%ebp
and    $0x7,%ebp
je     1623 <mct_decode_real+0x4c3>
movss  (%r15),%xmm0
movss  (%r14),%xmm1
movss  (%rbx),%xmm2
movss  0xc69(%rip),%xmm3
mulss  %xmm2,%xmm3
addss  %xmm0,%xmm3
movss  0xc69(%rip),%xmm4
mulss  %xmm1,%xmm4
addss  %xmm0,%xmm4
mulss  0xc5d(%rip),%xmm2
addss  %xmm4,%xmm2
mulss  0xc49(%rip),%xmm1
addss  %xmm0,%xmm1
movss  %xmm3,(%r15)
movss  %xmm2,(%r14)
movss  %xmm1,(%rbx)
cmp    $0x1,%ebp
je     1623 <mct_decode_real+0x4c3>
movss  0x4(%r15),%xmm0
movss  0x4(%r14),%xmm1
movss  0x4(%rbx),%xmm2
movss  0xc09(%rip),%xmm3
mulss  %xmm2,%xmm3
addss  %xmm0,%xmm3
movss  0xc09(%rip),%xmm4
mulss  %xmm1,%xmm4
addss  %xmm0,%xmm4
mulss  0xbfd(%rip),%xmm2
addss  %xmm4,%xmm2
mulss  0xbe9(%rip),%xmm1
addss  %xmm0,%xmm1
movss  %xmm3,0x4(%r15)
movss  %xmm2,0x4(%r14)
movss  %xmm1,0x4(%rbx)
cmp    $0x2,%ebp
je     1623 <mct_decode_real+0x4c3>
movss  0x8(%r15),%xmm0
movss  0x8(%r14),%xmm1
movss  0x8(%rbx),%xmm2
movss  0xba6(%rip),%xmm3
mulss  %xmm2,%xmm3
addss  %xmm0,%xmm3
movss  0xba6(%rip),%xmm4
mulss  %xmm1,%xmm4
addss  %xmm0,%xmm4
mulss  0xb9a(%rip),%xmm2
addss  %xmm4,%xmm2
mulss  0xb86(%rip),%xmm1
addss  %xmm0,%xmm1
movss  %xmm3,0x8(%r15)
movss  %xmm2,0x8(%r14)
movss  %xmm1,0x8(%rbx)
cmp    $0x3,%ebp
je     1623 <mct_decode_real+0x4c3>
movss  0xc(%r15),%xmm0
movss  0xc(%r14),%xmm1
movss  0xc(%rbx),%xmm2
movss  0xb43(%rip),%xmm3
mulss  %xmm2,%xmm3
addss  %xmm0,%xmm3
movss  0xb43(%rip),%xmm4
mulss  %xmm1,%xmm4
addss  %xmm0,%xmm4
mulss  0xb37(%rip),%xmm2
addss  %xmm4,%xmm2
mulss  0xb23(%rip),%xmm1
addss  %xmm0,%xmm1
movss  %xmm3,0xc(%r15)
movss  %xmm2,0xc(%r14)
movss  %xmm1,0xc(%rbx)
cmp    $0x4,%ebp
je     1623 <mct_decode_real+0x4c3>
movss  0x10(%r15),%xmm0
movss  0x10(%r14),%xmm1
movss  0x10(%rbx),%xmm2
movss  0xae0(%rip),%xmm3
mulss  %xmm2,%xmm3
addss  %xmm0,%xmm3
movss  0xae0(%rip),%xmm4
mulss  %xmm1,%xmm4
addss  %xmm0,%xmm4
mulss  0xad4(%rip),%xmm2
addss  %xmm4,%xmm2
mulss  0xac0(%rip),%xmm1
addss  %xmm0,%xmm1
movss  %xmm3,0x10(%r15)
movss  %xmm2,0x10(%r14)
movss  %xmm1,0x10(%rbx)
cmp    $0x5,%ebp
je     1623 <mct_decode_real+0x4c3>
movss  0x14(%r15),%xmm0
movss  0x14(%r14),%xmm1
movss  0x14(%rbx),%xmm2
movss  0xa7d(%rip),%xmm3
mulss  %xmm2,%xmm3
addss  %xmm0,%xmm3
movss  0xa7d(%rip),%xmm4
mulss  %xmm1,%xmm4
addss  %xmm0,%xmm4
mulss  0xa71(%rip),%xmm2
addss  %xmm4,%xmm2
mulss  0xa5d(%rip),%xmm1
addss  %xmm0,%xmm1
movss  %xmm3,0x14(%r15)
movss  %xmm2,0x14(%r14)
movss  %xmm1,0x14(%rbx)
cmp    $0x6,%ebp
je     1623 <mct_decode_real+0x4c3>
movss  0x18(%r15),%xmm0
movss  0x18(%r14),%xmm1
movss  0x18(%rbx),%xmm2
movss  0xa1e(%rip),%xmm3
mulss  %xmm2,%xmm3
addss  %xmm0,%xmm3
movss  0xa1e(%rip),%xmm4
mulss  %xmm1,%xmm4
mulss  0xa16(%rip),%xmm2
addss  %xmm0,%xmm4
addss  %xmm4,%xmm2
mulss  0x9fe(%rip),%xmm1
addss  %xmm0,%xmm1
movss  %xmm3,0x18(%r15)
movss  %xmm2,0x18(%r14)
movss  %xmm1,0x18(%rbx)
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @mct_decode_real(float* noalias %0, float* noalias %1, float* noalias %2, i32 %3) {
%5 = alloca float*
%6 = alloca float*
%7 = alloca float*
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca float
%21 = alloca float
%22 = alloca float
%23 = alloca float
%24 = alloca float
%25 = alloca float
store float* %0, float** %5
store float* %1, float** %6
store float* %2, float** %7
store i32 %3, i32* %8
%26 = call i32 @_mm_set1_ps(float 0x3FF66E9780000000)
store i32 %26, i32* %10
%27 = call i32 @_mm_set1_ps(float 0x3FD60639E0000000)
store i32 %27, i32* %11
%28 = call i32 @_mm_set1_ps(float 0x3FE6DA3C20000000)
store i32 %28, i32* %12
%29 = call i32 @_mm_set1_ps(float 0x3FFC5A1CA0000000)
store i32 %29, i32* %13
store i32 0, i32* %9
br label %30
30: ; preds = %116, %4
%31 = load i32, i32* %9
%32 = load i32, i32* %8
%33 = ashr i32 %32, 3
%34 = icmp slt i32 %31, %33
br i1 %34, label %35, label %119
35: ; preds = %30
%36 = load float*, float** %5
%37 = call i32 @_mm_load_ps(float* %36)
store i32 %37, i32* %14
%38 = load float*, float** %6
%39 = call i32 @_mm_load_ps(float* %38)
store i32 %39, i32* %15
%40 = load float*, float** %7
%41 = call i32 @_mm_load_ps(float* %40)
store i32 %41, i32* %16
%42 = load i32, i32* %14
%43 = load i32, i32* %16
%44 = load i32, i32* %10
%45 = call i32 @_mm_mul_ps(i32 %43, i32 %44)
%46 = call i32 @_mm_add_ps(i32 %42, i32 %45)
store i32 %46, i32* %17
%47 = load i32, i32* %14
%48 = load i32, i32* %15
%49 = load i32, i32* %11
%50 = call i32 @_mm_mul_ps(i32 %48, i32 %49)
%51 = call i32 @_mm_sub_ps(i32 %47, i32 %50)
%52 = load i32, i32* %16
%53 = load i32, i32* %12
%54 = call i32 @_mm_mul_ps(i32 %52, i32 %53)
%55 = call i32 @_mm_sub_ps(i32 %51, i32 %54)
store i32 %55, i32* %18
%56 = load i32, i32* %14
%57 = load i32, i32* %15
%58 = load i32, i32* %13
%59 = call i32 @_mm_mul_ps(i32 %57, i32 %58)
%60 = call i32 @_mm_add_ps(i32 %56, i32 %59)
store i32 %60, i32* %19
%61 = load float*, float** %5
%62 = load i32, i32* %17
%63 = call i32 @_mm_store_ps(float* %61, i32 %62)
%64 = load float*, float** %6
%65 = load i32, i32* %18
%66 = call i32 @_mm_store_ps(float* %64, i32 %65)
%67 = load float*, float** %7
%68 = load i32, i32* %19
%69 = call i32 @_mm_store_ps(float* %67, i32 %68)
%70 = load float*, float** %5
%71 = getelementptr inbounds float, float* %70, i64 4
store float* %71, float** %5
%72 = load float*, float** %6
%73 = getelementptr inbounds float, float* %72, i64 4
store float* %73, float** %6
%74 = load float*, float** %7
%75 = getelementptr inbounds float, float* %74, i64 4
store float* %75, float** %7
%76 = load float*, float** %5
%77 = call i32 @_mm_load_ps(float* %76)
store i32 %77, i32* %14
%78 = load float*, float** %6
%79 = call i32 @_mm_load_ps(float* %78)
store i32 %79, i32* %15
%80 = load float*, float** %7
%81 = call i32 @_mm_load_ps(float* %80)
store i32 %81, i32* %16
%82 = load i32, i32* %14
%83 = load i32, i32* %16
%84 = load i32, i32* %10
%85 = call i32 @_mm_mul_ps(i32 %83, i32 %84)
%86 = call i32 @_mm_add_ps(i32 %82, i32 %85)
store i32 %86, i32* %17
%87 = load i32, i32* %14
%88 = load i32, i32* %15
%89 = load i32, i32* %11
%90 = call i32 @_mm_mul_ps(i32 %88, i32 %89)
%91 = call i32 @_mm_sub_ps(i32 %87, i32 %90)
%92 = load i32, i32* %16
%93 = load i32, i32* %12
%94 = call i32 @_mm_mul_ps(i32 %92, i32 %93)
%95 = call i32 @_mm_sub_ps(i32 %91, i32 %94)
store i32 %95, i32* %18
%96 = load i32, i32* %14
%97 = load i32, i32* %15
%98 = load i32, i32* %13
%99 = call i32 @_mm_mul_ps(i32 %97, i32 %98)
%100 = call i32 @_mm_add_ps(i32 %96, i32 %99)
store i32 %100, i32* %19
%101 = load float*, float** %5
%102 = load i32, i32* %17
%103 = call i32 @_mm_store_ps(float* %101, i32 %102)
%104 = load float*, float** %6
%105 = load i32, i32* %18
%106 = call i32 @_mm_store_ps(float* %104, i32 %105)
%107 = load float*, float** %7
%108 = load i32, i32* %19
%109 = call i32 @_mm_store_ps(float* %107, i32 %108)
%110 = load float*, float** %5
%111 = getelementptr inbounds float, float* %110, i64 4
store float* %111, float** %5
%112 = load float*, float** %6
%113 = getelementptr inbounds float, float* %112, i64 4
store float* %113, float** %6
%114 = load float*, float** %7
%115 = getelementptr inbounds float, float* %114, i64 4
store float* %115, float** %7
br label %116
116: ; preds = %35
%117 = load i32, i32* %9
%118 = add nsw i32 %117, 1
store i32 %118, i32* %9
br label %30
119: ; preds = %30
%120 = load i32, i32* %8
%121 = and i32 %120, 7
store i32 %121, i32* %8
store i32 0, i32* %9
br label %122
122: ; preds = %170, %119
%123 = load i32, i32* %9
%124 = load i32, i32* %8
%125 = icmp slt i32 %123, %124
br i1 %125, label %126, label %173
126: ; preds = %122
%127 = load float*, float** %5
%128 = load i32, i32* %9
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds float, float* %127, i64 %129
%131 = load float, float* %130
store float %131, float* %20
%132 = load float*, float** %6
%133 = load i32, i32* %9
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds float, float* %132, i64 %134
%136 = load float, float* %135
store float %136, float* %21
%137 = load float*, float** %7
%138 = load i32, i32* %9
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds float, float* %137, i64 %139
%141 = load float, float* %140
store float %141, float* %22
%142 = load float, float* %20
%143 = load float, float* %22
%144 = call float @llvm.fmuladd.f32(float %143, float 0x3FF66E9780000000, float %142)
store float %144, float* %23
%145 = load float, float* %20
%146 = load float, float* %21
%147 = fneg float %146
%148 = call float @llvm.fmuladd.f32(float %147, float 0x3FD60639E0000000, float %145)
%149 = load float, float* %22
%150 = fneg float %149
%151 = call float @llvm.fmuladd.f32(float %150, float 0x3FE6DA3C20000000, float %148)
store float %151, float* %24
%152 = load float, float* %20
%153 = load float, float* %21
%154 = call float @llvm.fmuladd.f32(float %153, float 0x3FFC5A1CA0000000, float %152)
store float %154, float* %25
%155 = load float, float* %23
%156 = load float*, float** %5
%157 = load i32, i32* %9
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds float, float* %156, i64 %158
store float %155, float* %159
%160 = load float, float* %24
%161 = load float*, float** %6
%162 = load i32, i32* %9
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds float, float* %161, i64 %163
store float %160, float* %164
%165 = load float, float* %25
%166 = load float*, float** %7
%167 = load i32, i32* %9
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds float, float* %166, i64 %168
store float %165, float* %169
br label %170
170: ; preds = %126
%171 = load i32, i32* %9
%172 = add nsw i32 %171, 1
store i32 %172, i32* %9
br label %122
173: ; preds = %122
ret void
}

LLVM IR (-O2):
define void @mct_decode_real(float* noalias %0, float* noalias %1, float* noalias %2, i32 %3) {
%5 = tail call i32 @_mm_set1_ps(float 0x3FF66E9780000000)
%6 = tail call i32 @_mm_set1_ps(float 0x3FD60639E0000000)
%7 = tail call i32 @_mm_set1_ps(float 0x3FE6DA3C20000000)
%8 = tail call i32 @_mm_set1_ps(float 0x3FFC5A1CA0000000)
%9 = icmp sgt i32 %3, 7
br i1 %9, label %10, label %53
10: ; preds = %4
%11 = lshr i32 %3, 3
br label %12
12: ; preds = %10, %12
%13 = phi float* [ %48, %12 ], [ %0, %10 ]
%14 = phi float* [ %49, %12 ], [ %1, %10 ]
%15 = phi float* [ %50, %12 ], [ %2, %10 ]
%16 = phi i32 [ %51, %12 ], [ 0, %10 ]
%17 = tail call i32 @_mm_load_ps(float* %13)
%18 = tail call i32 @_mm_load_ps(float* %14)
%19 = tail call i32 @_mm_load_ps(float* %15)
%20 = tail call i32 @_mm_mul_ps(i32 %19, i32 %5)
%21 = tail call i32 @_mm_add_ps(i32 %17, i32 %20)
%22 = tail call i32 @_mm_mul_ps(i32 %18, i32 %6)
%23 = tail call i32 @_mm_sub_ps(i32 %17, i32 %22)
%24 = tail call i32 @_mm_mul_ps(i32 %19, i32 %7)
%25 = tail call i32 @_mm_sub_ps(i32 %23, i32 %24)
%26 = tail call i32 @_mm_mul_ps(i32 %18, i32 %8)
%27 = tail call i32 @_mm_add_ps(i32 %17, i32 %26)
%28 = tail call i32 @_mm_store_ps(float* %13, i32 %21)
%29 = tail call i32 @_mm_store_ps(float* %14, i32 %25)
%30 = tail call i32 @_mm_store_ps(float* %15, i32 %27)
%31 = getelementptr inbounds float, float* %13, i64 4
%32 = getelementptr inbounds float, float* %14, i64 4
%33 = getelementptr inbounds float, float* %15, i64 4
%34 = tail call i32 @_mm_load_ps(float* %31)
%35 = tail call i32 @_mm_load_ps(float* %32)
%36 = tail call i32 @_mm_load_ps(float* %33)
%37 = tail call i32 @_mm_mul_ps(i32 %36, i32 %5)
%38 = tail call i32 @_mm_add_ps(i32 %34, i32 %37)
%39 = tail call i32 @_mm_mul_ps(i32 %35, i32 %6)
%40 = tail call i32 @_mm_sub_ps(i32 %34, i32 %39)
%41 = tail call i32 @_mm_mul_ps(i32 %36, i32 %7)
%42 = tail call i32 @_mm_sub_ps(i32 %40, i32 %41)
%43 = tail call i32 @_mm_mul_ps(i32 %35, i32 %8)
%44 = tail call i32 @_mm_add_ps(i32 %34, i32 %43)
%45 = tail call i32 @_mm_store_ps(float* %31, i32 %38)
%46 = tail call i32 @_mm_store_ps(float* %32, i32 %42)
%47 = tail call i32 @_mm_store_ps(float* %33, i32 %44)
%48 = getelementptr inbounds float, float* %13, i64 8
%49 = getelementptr inbounds float, float* %14, i64 8
%50 = getelementptr inbounds float, float* %15, i64 8
%51 = add nuw nsw i32 %16, 1
%52 = icmp eq i32 %51, %11
br i1 %52, label %53, label %12
53: ; preds = %12, %4
%54 = phi float* [ %2, %4 ], [ %50, %12 ]
%55 = phi float* [ %1, %4 ], [ %49, %12 ]
%56 = phi float* [ %0, %4 ], [ %48, %12 ]
%57 = and i32 %3, 7
%58 = icmp eq i32 %57, 0
br i1 %58, label %153, label %59
59: ; preds = %53
%60 = load float, float* %56
%61 = load float, float* %55
%62 = load float, float* %54
%63 = tail call float @llvm.fmuladd.f32(float %62, float 0x3FF66E9780000000, float %60)
%64 = fneg float %61
%65 = tail call float @llvm.fmuladd.f32(float %64, float 0x3FD60639E0000000, float %60)
%66 = fneg float %62
%67 = tail call float @llvm.fmuladd.f32(float %66, float 0x3FE6DA3C20000000, float %65)
%68 = tail call float @llvm.fmuladd.f32(float %61, float 0x3FFC5A1CA0000000, float %60)
store float %63, float* %56
store float %67, float* %55
store float %68, float* %54
%69 = icmp eq i32 %57, 1
br i1 %69, label %153, label %70
70: ; preds = %59
%71 = getelementptr inbounds float, float* %56, i64 1
%72 = load float, float* %71
%73 = getelementptr inbounds float, float* %55, i64 1
%74 = load float, float* %73
%75 = getelementptr inbounds float, float* %54, i64 1
%76 = load float, float* %75
%77 = tail call float @llvm.fmuladd.f32(float %76, float 0x3FF66E9780000000, float %72)
%78 = fneg float %74
%79 = tail call float @llvm.fmuladd.f32(float %78, float 0x3FD60639E0000000, float %72)
%80 = fneg float %76
%81 = tail call float @llvm.fmuladd.f32(float %80, float 0x3FE6DA3C20000000, float %79)
%82 = tail call float @llvm.fmuladd.f32(float %74, float 0x3FFC5A1CA0000000, float %72)
store float %77, float* %71
store float %81, float* %73
store float %82, float* %75
%83 = icmp eq i32 %57, 2
br i1 %83, label %153, label %84
84: ; preds = %70
%85 = getelementptr inbounds float, float* %56, i64 2
%86 = load float, float* %85
%87 = getelementptr inbounds float, float* %55, i64 2
%88 = load float, float* %87
%89 = getelementptr inbounds float, float* %54, i64 2
%90 = load float, float* %89
%91 = tail call float @llvm.fmuladd.f32(float %90, float 0x3FF66E9780000000, float %86)
%92 = fneg float %88
%93 = tail call float @llvm.fmuladd.f32(float %92, float 0x3FD60639E0000000, float %86)
%94 = fneg float %90
%95 = tail call float @llvm.fmuladd.f32(float %94, float 0x3FE6DA3C20000000, float %93)
%96 = tail call float @llvm.fmuladd.f32(float %88, float 0x3FFC5A1CA0000000, float %86)
store float %91, float* %85
store float %95, float* %87
store float %96, float* %89
%97 = icmp eq i32 %57, 3
br i1 %97, label %153, label %98
98: ; preds = %84
%99 = getelementptr inbounds float, float* %56, i64 3
%100 = load float, float* %99
%101 = getelementptr inbounds float, float* %55, i64 3
%102 = load float, float* %101
%103 = getelementptr inbounds float, float* %54, i64 3
%104 = load float, float* %103
%105 = tail call float @llvm.fmuladd.f32(float %104, float 0x3FF66E9780000000, float %100)
%106 = fneg float %102
%107 = tail call float @llvm.fmuladd.f32(float %106, float 0x3FD60639E0000000, float %100)
%108 = fneg float %104
%109 = tail call float @llvm.fmuladd.f32(float %108, float 0x3FE6DA3C20000000, float %107)
%110 = tail call float @llvm.fmuladd.f32(float %102, float 0x3FFC5A1CA0000000, float %100)
store float %105, float* %99
store float %109, float* %101
store float %110, float* %103
%111 = icmp eq i32 %57, 4
br i1 %111, label %153, label %112
112: ; preds = %98
%113 = getelementptr inbounds float, float* %56, i64 4
%114 = load float, float* %113
%115 = getelementptr inbounds float, float* %55, i64 4
%116 = load float, float* %115
%117 = getelementptr inbounds float, float* %54, i64 4
%118 = load float, float* %117
%119 = tail call float @llvm.fmuladd.f32(float %118, float 0x3FF66E9780000000, float %114)
%120 = fneg float %116
%121 = tail call float @llvm.fmuladd.f32(float %120, float 0x3FD60639E0000000, float %114)
%122 = fneg float %118
%123 = tail call float @llvm.fmuladd.f32(float %122, float 0x3FE6DA3C20000000, float %121)
%124 = tail call float @llvm.fmuladd.f32(float %116, float 0x3FFC5A1CA0000000, float %114)
store float %119, float* %113
store float %123, float* %115
store float %124, float* %117
%125 = icmp eq i32 %57, 5
br i1 %125, label %153, label %126
126: ; preds = %112
%127 = getelementptr inbounds float, float* %56, i64 5
%128 = load float, float* %127
%129 = getelementptr inbounds float, float* %55, i64 5
%130 = load float, float* %129
%131 = getelementptr inbounds float, float* %54, i64 5
%132 = load float, float* %131
%133 = tail call float @llvm.fmuladd.f32(float %132, float 0x3FF66E9780000000, float %128)
%134 = fneg float %130
%135 = tail call float @llvm.fmuladd.f32(float %134, float 0x3FD60639E0000000, float %128)
%136 = fneg float %132
%137 = tail call float @llvm.fmuladd.f32(float %136, float 0x3FE6DA3C20000000, float %135)
%138 = tail call float @llvm.fmuladd.f32(float %130, float 0x3FFC5A1CA0000000, float %128)
store float %133, float* %127
store float %137, float* %129
store float %138, float* %131
%139 = icmp eq i32 %57, 6
br i1 %139, label %153, label %140
140: ; preds = %126
%141 = getelementptr inbounds float, float* %56, i64 6
%142 = load float, float* %141
%143 = getelementptr inbounds float, float* %55, i64 6
%144 = load float, float* %143
%145 = getelementptr inbounds float, float* %54, i64 6
%146 = load float, float* %145
%147 = tail call float @llvm.fmuladd.f32(float %146, float 0x3FF66E9780000000, float %142)
%148 = fneg float %144
%149 = tail call float @llvm.fmuladd.f32(float %148, float 0x3FD60639E0000000, float %142)
%150 = fneg float %146
%151 = tail call float @llvm.fmuladd.f32(float %150, float 0x3FE6DA3C20000000, float %149)
%152 = tail call float @llvm.fmuladd.f32(float %144, float 0x3FFC5A1CA0000000, float %142)
store float %147, float* %141
store float %151, float* %143
store float %152, float* %145
br label %153
153: ; preds = %59, %70, %84, %98, %112, %126, %140, %53
ret void
}