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

/* Variables and functions */
int /*<<< orphan*/ _mm_add_epi32(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_add_ps(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_and_ps(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_castsi128_ps(int /*<<< orphan*/);
int /*<<< orphan*/ _mm_cmpgt_ps(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_cvtepi32_ps(int /*<<< orphan*/);
int /*<<< orphan*/ _mm_cvttps_epi32(int /*<<< orphan*/);
int /*<<< orphan*/ _mm_max_ps(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_min_ps(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_mul_ps(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_set1_epi32(int);
int /*<<< orphan*/ _mm_set_ps1(double);
int /*<<< orphan*/ _mm_setzero_ps();
int /*<<< orphan*/ _mm_slli_epi32(int /*<<< orphan*/, int);
int /*<<< orphan*/ _mm_sub_ps(int /*<<< orphan*/, int /*<<< orphan*/);
__m128 sse_mathfun_exp_ps(__m128 x) {
  __m128 tmp = _mm_setzero_ps(), fx;
  __m128i emm0;
  __m128 one = _mm_set_ps1(1.0);
  x = _mm_min_ps(x, _mm_set_ps1(88.3762626647949f));
  x = _mm_max_ps(x, _mm_set_ps1(-88.3762626647949f));
  fx = _mm_mul_ps(x, _mm_set_ps1(1.44269504088896341));
  fx = _mm_add_ps(fx, _mm_set_ps1(0.5));
  emm0 = _mm_cvttps_epi32(fx);
  tmp = _mm_cvtepi32_ps(emm0);
  __m128 mask = _mm_cmpgt_ps(tmp, fx);
  mask = _mm_and_ps(mask, one);
  fx = _mm_sub_ps(tmp, mask);
  tmp = _mm_mul_ps(fx, _mm_set_ps1(0.693359375));
  __m128 z = _mm_mul_ps(fx, _mm_set_ps1(-2.12194440e-4));
  x = _mm_sub_ps(x, tmp);
  x = _mm_sub_ps(x, z);
  z = _mm_mul_ps(x, x);
  __m128 y = _mm_set_ps1(1.9875691500E-4);
  y = _mm_mul_ps(y, x);
  y = _mm_add_ps(y, _mm_set_ps1(1.3981999507E-3));
  y = _mm_mul_ps(y, x);
  y = _mm_add_ps(y, _mm_set_ps1(8.3334519073E-3));
  y = _mm_mul_ps(y, x);
  y = _mm_add_ps(y, _mm_set_ps1(4.1665795894E-2));
  y = _mm_mul_ps(y, x);
  y = _mm_add_ps(y, _mm_set_ps1(1.6666665459E-1));
  y = _mm_mul_ps(y, x);
  y = _mm_add_ps(y, _mm_set_ps1(5.0000001201E-1));
  y = _mm_mul_ps(y, z);
  y = _mm_add_ps(y, x);
  y = _mm_add_ps(y, one);
  emm0 = _mm_cvttps_epi32(fx);
  emm0 = _mm_add_epi32(emm0, _mm_set1_epi32(0x7f));
  emm0 = _mm_slli_epi32(emm0, 23);
  __m128 pow2n = _mm_castsi128_ps(emm0);
  y = _mm_mul_ps(y, pow2n);
  return y;
}


x86 assembly (clang, -O0):
<sse_mathfun_exp_ps>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %edi,-0x4(%rbp)
mov    $0x0,%al
call   1110 <_mm_setzero_ps@plt>
mov    %eax,-0x8(%rbp)
movsd  0xe53(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    %eax,-0x14(%rbp)
mov    -0x4(%rbp),%eax
mov    %eax,-0x54(%rbp)
movsd  0xe35(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    -0x54(%rbp),%edi
mov    %eax,%esi
call   1080 <_mm_min_ps@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
mov    %eax,-0x50(%rbp)
movsd  0xe0d(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    -0x50(%rbp),%edi
mov    %eax,%esi
call   10a0 <_mm_max_ps@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
mov    %eax,-0x4c(%rbp)
movsd  0xde5(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    -0x4c(%rbp),%edi
mov    %eax,%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x48(%rbp)
movsd  0xdbd(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    -0x48(%rbp),%edi
mov    %eax,%esi
call   10e0 <_mm_add_ps@plt>
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%edi
call   1040 <_mm_cvttps_epi32@plt>
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%edi
call   1030 <_mm_cvtepi32_ps@plt>
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%edi
mov    -0xc(%rbp),%esi
call   1070 <_mm_cmpgt_ps@plt>
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%edi
mov    -0x14(%rbp),%esi
call   1100 <_mm_and_ps@plt>
mov    %eax,-0x18(%rbp)
mov    -0x8(%rbp),%edi
mov    -0x18(%rbp),%esi
call   10c0 <_mm_sub_ps@plt>
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x44(%rbp)
movsd  0xd55(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    -0x44(%rbp),%edi
mov    %eax,%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,-0x8(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x40(%rbp)
movsd  0xd2d(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    -0x40(%rbp),%edi
mov    %eax,%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
call   10c0 <_mm_sub_ps@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   10c0 <_mm_sub_ps@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%edi
mov    -0x4(%rbp),%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,-0x1c(%rbp)
movsd  0xce1(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%edi
mov    -0x4(%rbp),%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%eax
mov    %eax,-0x3c(%rbp)
movsd  0xcb5(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    -0x3c(%rbp),%edi
mov    %eax,%esi
call   10e0 <_mm_add_ps@plt>
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%edi
mov    -0x4(%rbp),%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%eax
mov    %eax,-0x38(%rbp)
movsd  0xc7f(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    -0x38(%rbp),%edi
mov    %eax,%esi
call   10e0 <_mm_add_ps@plt>
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%edi
mov    -0x4(%rbp),%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%eax
mov    %eax,-0x34(%rbp)
movsd  0xc49(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    -0x34(%rbp),%edi
mov    %eax,%esi
call   10e0 <_mm_add_ps@plt>
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%edi
mov    -0x4(%rbp),%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%eax
mov    %eax,-0x30(%rbp)
movsd  0xc13(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    -0x30(%rbp),%edi
mov    %eax,%esi
call   10e0 <_mm_add_ps@plt>
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%edi
mov    -0x4(%rbp),%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%eax
mov    %eax,-0x2c(%rbp)
movsd  0xbdd(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    -0x2c(%rbp),%edi
mov    %eax,%esi
call   10e0 <_mm_add_ps@plt>
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%edi
mov    -0x4(%rbp),%esi
call   10e0 <_mm_add_ps@plt>
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%edi
mov    -0x14(%rbp),%esi
call   10e0 <_mm_add_ps@plt>
mov    %eax,-0x20(%rbp)
mov    -0xc(%rbp),%edi
call   1040 <_mm_cvttps_epi32@plt>
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    $0x7f,%edi
call   10d0 <_mm_set1_epi32@plt>
mov    -0x28(%rbp),%edi
mov    %eax,%esi
call   1060 <_mm_add_epi32@plt>
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%edi
mov    $0x17,%esi
call   10f0 <_mm_slli_epi32@plt>
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%edi
call   1050 <_mm_castsi128_ps@plt>
mov    %eax,-0x24(%rbp)
mov    -0x20(%rbp),%edi
mov    -0x24(%rbp),%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<sse_mathfun_exp_ps>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
mov    %edi,%ebx
xor    %eax,%eax
call   1110 <_mm_setzero_ps@plt>
movsd  0xdf7(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    %eax,%r14d
movsd  0xdef(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_min_ps@plt>
mov    %eax,%ebx
movsd  0xddf(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   10a0 <_mm_max_ps@plt>
mov    %eax,%r15d
movsd  0xdce(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    %r15d,%edi
mov    %eax,%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,%ebp
movsd  0xdbd(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   10e0 <_mm_add_ps@plt>
mov    %eax,%ebp
mov    %eax,%edi
call   1040 <_mm_cvttps_epi32@plt>
mov    %eax,%edi
call   1030 <_mm_cvtepi32_ps@plt>
mov    %eax,%ebx
mov    %eax,%edi
mov    %ebp,%esi
call   1070 <_mm_cmpgt_ps@plt>
mov    %eax,%edi
mov    %r14d,%esi
call   1100 <_mm_and_ps@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   10c0 <_mm_sub_ps@plt>
mov    %eax,%r12d
movsd  0xd7e(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    %r12d,%edi
mov    %eax,%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,%ebx
movsd  0xd6d(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    %r12d,%edi
mov    %eax,%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,%ebp
mov    %r15d,%edi
mov    %ebx,%esi
call   10c0 <_mm_sub_ps@plt>
mov    %eax,%edi
mov    %ebp,%esi
call   10c0 <_mm_sub_ps@plt>
mov    %eax,%ebx
mov    %eax,%edi
mov    %eax,%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,%r15d
movsd  0xd3b(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    %eax,%edi
mov    %ebx,%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,%ebp
movsd  0xd2b(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   10e0 <_mm_add_ps@plt>
mov    %eax,%edi
mov    %ebx,%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,%ebp
movsd  0xd12(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   10e0 <_mm_add_ps@plt>
mov    %eax,%edi
mov    %ebx,%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,%ebp
movsd  0xcf9(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   10e0 <_mm_add_ps@plt>
mov    %eax,%edi
mov    %ebx,%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,%ebp
movsd  0xce0(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   10e0 <_mm_add_ps@plt>
mov    %eax,%edi
mov    %ebx,%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,%ebp
movsd  0xcc7(%rip),%xmm0
call   1090 <_mm_set_ps1@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   10e0 <_mm_add_ps@plt>
mov    %eax,%edi
mov    %r15d,%esi
call   10b0 <_mm_mul_ps@plt>
mov    %eax,%edi
mov    %ebx,%esi
call   10e0 <_mm_add_ps@plt>
mov    %eax,%edi
mov    %r14d,%esi
call   10e0 <_mm_add_ps@plt>
mov    %eax,%ebx
mov    %r12d,%edi
call   1040 <_mm_cvttps_epi32@plt>
mov    %eax,%ebp
mov    $0x7f,%edi
call   10d0 <_mm_set1_epi32@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1060 <_mm_add_epi32@plt>
mov    %eax,%edi
mov    $0x17,%esi
call   10f0 <_mm_slli_epi32@plt>
mov    %eax,%edi
call   1050 <_mm_castsi128_ps@plt>
mov    %ebx,%edi
mov    %eax,%esi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    10b0 <_mm_mul_ps@plt>

LLVM IR (-O0):
define i32 @sse_mathfun_exp_ps(i32 %0) {
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
store i32 %0, i32* %2
%11 = call i32 (...) @_mm_setzero_ps()
store i32 %11, i32* %3
%12 = call i32 @_mm_set_ps1(double 1.000000e+00)
store i32 %12, i32* %6
%13 = load i32, i32* %2
%14 = call i32 @_mm_set_ps1(double 0x40561814A0000000)
%15 = call i32 @_mm_min_ps(i32 %13, i32 %14)
store i32 %15, i32* %2
%16 = load i32, i32* %2
%17 = call i32 @_mm_set_ps1(double 0xC0561814A0000000)
%18 = call i32 @_mm_max_ps(i32 %16, i32 %17)
store i32 %18, i32* %2
%19 = load i32, i32* %2
%20 = call i32 @_mm_set_ps1(double 0x3FF71547652B82FE)
%21 = call i32 @_mm_mul_ps(i32 %19, i32 %20)
store i32 %21, i32* %4
%22 = load i32, i32* %4
%23 = call i32 @_mm_set_ps1(double 5.000000e-01)
%24 = call i32 @_mm_add_ps(i32 %22, i32 %23)
store i32 %24, i32* %4
%25 = load i32, i32* %4
%26 = call i32 @_mm_cvttps_epi32(i32 %25)
store i32 %26, i32* %5
%27 = load i32, i32* %5
%28 = call i32 @_mm_cvtepi32_ps(i32 %27)
store i32 %28, i32* %3
%29 = load i32, i32* %3
%30 = load i32, i32* %4
%31 = call i32 @_mm_cmpgt_ps(i32 %29, i32 %30)
store i32 %31, i32* %7
%32 = load i32, i32* %7
%33 = load i32, i32* %6
%34 = call i32 @_mm_and_ps(i32 %32, i32 %33)
store i32 %34, i32* %7
%35 = load i32, i32* %3
%36 = load i32, i32* %7
%37 = call i32 @_mm_sub_ps(i32 %35, i32 %36)
store i32 %37, i32* %4
%38 = load i32, i32* %4
%39 = call i32 @_mm_set_ps1(double 0x3FE6300000000000)
%40 = call i32 @_mm_mul_ps(i32 %38, i32 %39)
store i32 %40, i32* %3
%41 = load i32, i32* %4
%42 = call i32 @_mm_set_ps1(double 0xBF2BD0105C4242EA)
%43 = call i32 @_mm_mul_ps(i32 %41, i32 %42)
store i32 %43, i32* %8
%44 = load i32, i32* %2
%45 = load i32, i32* %3
%46 = call i32 @_mm_sub_ps(i32 %44, i32 %45)
store i32 %46, i32* %2
%47 = load i32, i32* %2
%48 = load i32, i32* %8
%49 = call i32 @_mm_sub_ps(i32 %47, i32 %48)
store i32 %49, i32* %2
%50 = load i32, i32* %2
%51 = load i32, i32* %2
%52 = call i32 @_mm_mul_ps(i32 %50, i32 %51)
store i32 %52, i32* %8
%53 = call i32 @_mm_set_ps1(double 0x3F2A0D2CE64969E6)
store i32 %53, i32* %9
%54 = load i32, i32* %9
%55 = load i32, i32* %2
%56 = call i32 @_mm_mul_ps(i32 %54, i32 %55)
store i32 %56, i32* %9
%57 = load i32, i32* %9
%58 = call i32 @_mm_set_ps1(double 0x3F56E879C3F007DD)
%59 = call i32 @_mm_add_ps(i32 %57, i32 %58)
store i32 %59, i32* %9
%60 = load i32, i32* %9
%61 = load i32, i32* %2
%62 = call i32 @_mm_mul_ps(i32 %60, i32 %61)
store i32 %62, i32* %9
%63 = load i32, i32* %9
%64 = call i32 @_mm_set_ps1(double 0x3F811120FB3CB51D)
%65 = call i32 @_mm_add_ps(i32 %63, i32 %64)
store i32 %65, i32* %9
%66 = load i32, i32* %9
%67 = load i32, i32* %2
%68 = call i32 @_mm_mul_ps(i32 %66, i32 %67)
store i32 %68, i32* %9
%69 = load i32, i32* %9
%70 = call i32 @_mm_set_ps1(double 0x3FA555381D73FD31)
%71 = call i32 @_mm_add_ps(i32 %69, i32 %70)
store i32 %71, i32* %9
%72 = load i32, i32* %9
%73 = load i32, i32* %2
%74 = call i32 @_mm_mul_ps(i32 %72, i32 %73)
store i32 %74, i32* %9
%75 = load i32, i32* %9
%76 = call i32 @_mm_set_ps1(double 0x3FC555553B661D99)
%77 = call i32 @_mm_add_ps(i32 %75, i32 %76)
store i32 %77, i32* %9
%78 = load i32, i32* %9
%79 = load i32, i32* %2
%80 = call i32 @_mm_mul_ps(i32 %78, i32 %79)
store i32 %80, i32* %9
%81 = load i32, i32* %9
%82 = call i32 @_mm_set_ps1(double 0x3FE000000672A44F)
%83 = call i32 @_mm_add_ps(i32 %81, i32 %82)
store i32 %83, i32* %9
%84 = load i32, i32* %9
%85 = load i32, i32* %8
%86 = call i32 @_mm_mul_ps(i32 %84, i32 %85)
store i32 %86, i32* %9
%87 = load i32, i32* %9
%88 = load i32, i32* %2
%89 = call i32 @_mm_add_ps(i32 %87, i32 %88)
store i32 %89, i32* %9
%90 = load i32, i32* %9
%91 = load i32, i32* %6
%92 = call i32 @_mm_add_ps(i32 %90, i32 %91)
store i32 %92, i32* %9
%93 = load i32, i32* %4
%94 = call i32 @_mm_cvttps_epi32(i32 %93)
store i32 %94, i32* %5
%95 = load i32, i32* %5
%96 = call i32 @_mm_set1_epi32(i32 127)
%97 = call i32 @_mm_add_epi32(i32 %95, i32 %96)
store i32 %97, i32* %5
%98 = load i32, i32* %5
%99 = call i32 @_mm_slli_epi32(i32 %98, i32 23)
store i32 %99, i32* %5
%100 = load i32, i32* %5
%101 = call i32 @_mm_castsi128_ps(i32 %100)
store i32 %101, i32* %10
%102 = load i32, i32* %9
%103 = load i32, i32* %10
%104 = call i32 @_mm_mul_ps(i32 %102, i32 %103)
store i32 %104, i32* %9
%105 = load i32, i32* %9
ret i32 %105
}

LLVM IR (-O2):
define i32 @sse_mathfun_exp_ps(i32 %0) {
%2 = tail call i32 (...) @_mm_setzero_ps()
%3 = tail call i32 @_mm_set_ps1(double 1.000000e+00)
%4 = tail call i32 @_mm_set_ps1(double 0x40561814A0000000)
%5 = tail call i32 @_mm_min_ps(i32 %0, i32 %4)
%6 = tail call i32 @_mm_set_ps1(double 0xC0561814A0000000)
%7 = tail call i32 @_mm_max_ps(i32 %5, i32 %6)
%8 = tail call i32 @_mm_set_ps1(double 0x3FF71547652B82FE)
%9 = tail call i32 @_mm_mul_ps(i32 %7, i32 %8)
%10 = tail call i32 @_mm_set_ps1(double 5.000000e-01)
%11 = tail call i32 @_mm_add_ps(i32 %9, i32 %10)
%12 = tail call i32 @_mm_cvttps_epi32(i32 %11)
%13 = tail call i32 @_mm_cvtepi32_ps(i32 %12)
%14 = tail call i32 @_mm_cmpgt_ps(i32 %13, i32 %11)
%15 = tail call i32 @_mm_and_ps(i32 %14, i32 %3)
%16 = tail call i32 @_mm_sub_ps(i32 %13, i32 %15)
%17 = tail call i32 @_mm_set_ps1(double 0x3FE6300000000000)
%18 = tail call i32 @_mm_mul_ps(i32 %16, i32 %17)
%19 = tail call i32 @_mm_set_ps1(double 0xBF2BD0105C4242EA)
%20 = tail call i32 @_mm_mul_ps(i32 %16, i32 %19)
%21 = tail call i32 @_mm_sub_ps(i32 %7, i32 %18)
%22 = tail call i32 @_mm_sub_ps(i32 %21, i32 %20)
%23 = tail call i32 @_mm_mul_ps(i32 %22, i32 %22)
%24 = tail call i32 @_mm_set_ps1(double 0x3F2A0D2CE64969E6)
%25 = tail call i32 @_mm_mul_ps(i32 %24, i32 %22)
%26 = tail call i32 @_mm_set_ps1(double 0x3F56E879C3F007DD)
%27 = tail call i32 @_mm_add_ps(i32 %25, i32 %26)
%28 = tail call i32 @_mm_mul_ps(i32 %27, i32 %22)
%29 = tail call i32 @_mm_set_ps1(double 0x3F811120FB3CB51D)
%30 = tail call i32 @_mm_add_ps(i32 %28, i32 %29)
%31 = tail call i32 @_mm_mul_ps(i32 %30, i32 %22)
%32 = tail call i32 @_mm_set_ps1(double 0x3FA555381D73FD31)
%33 = tail call i32 @_mm_add_ps(i32 %31, i32 %32)
%34 = tail call i32 @_mm_mul_ps(i32 %33, i32 %22)
%35 = tail call i32 @_mm_set_ps1(double 0x3FC555553B661D99)
%36 = tail call i32 @_mm_add_ps(i32 %34, i32 %35)
%37 = tail call i32 @_mm_mul_ps(i32 %36, i32 %22)
%38 = tail call i32 @_mm_set_ps1(double 0x3FE000000672A44F)
%39 = tail call i32 @_mm_add_ps(i32 %37, i32 %38)
%40 = tail call i32 @_mm_mul_ps(i32 %39, i32 %23)
%41 = tail call i32 @_mm_add_ps(i32 %40, i32 %22)
%42 = tail call i32 @_mm_add_ps(i32 %41, i32 %3)
%43 = tail call i32 @_mm_cvttps_epi32(i32 %16)
%44 = tail call i32 @_mm_set1_epi32(i32 127)
%45 = tail call i32 @_mm_add_epi32(i32 %43, i32 %44)
%46 = tail call i32 @_mm_slli_epi32(i32 %45, i32 23)
%47 = tail call i32 @_mm_castsi128_ps(i32 %46)
%48 = tail call i32 @_mm_mul_ps(i32 %42, i32 %47)
ret i32 %48
}