#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 */
double acos(double);
int cos(double);
scalar_t__ fabs(double);
double pow(scalar_t__, int);
double sqrt(double);
int FindCubicRoots(float coeff[4], float x[3]) {
  float a1 = coeff[2] / coeff[3];
  float a2 = coeff[1] / coeff[3];
  float a3 = coeff[0] / coeff[3];
  double Q = (a1 * a1 - 3 * a2) / 9;
  double R = (2 * a1 * a1 * a1 - 9 * a1 * a2 + 27 * a3) / 54;
  double Qcubed = Q * Q * Q;
  double d = Qcubed - R * R;
  if (d >= 0) {
    double theta = acos(R / sqrt(Qcubed));
    double sqrtQ = sqrt(Q);
    x[0] = -2 * sqrtQ * cos(theta / 3) - a1 / 3;
    x[1] = -2 * sqrtQ * cos((theta + 2 * 3.1416) / 3) - a1 / 3;
    x[2] = -2 * sqrtQ * cos((theta + 4 * 3.1416) / 3) - a1 / 3;
    return (3);
  } else {
    double e = pow(sqrt(-d) + fabs(R), 1. / 3.);
    if (R > 0)
      e = -e;
    x[0] = (e + Q / e) - a1 / 3.;
    return (1);
  }
}


x86 assembly (clang, -O0):
<FindCubicRoots>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    -0x10(%rbp),%rax
movss  0x8(%rax),%xmm0
mov    -0x10(%rbp),%rax
divss  0xc(%rax),%xmm0
movss  %xmm0,-0x1c(%rbp)
mov    -0x10(%rbp),%rax
movss  0x4(%rax),%xmm0
mov    -0x10(%rbp),%rax
divss  0xc(%rax),%xmm0
movss  %xmm0,-0x20(%rbp)
mov    -0x10(%rbp),%rax
movss  (%rax),%xmm0
mov    -0x10(%rbp),%rax
divss  0xc(%rax),%xmm0
movss  %xmm0,-0x24(%rbp)
movss  -0x1c(%rbp),%xmm0
movss  -0x1c(%rbp),%xmm2
movss  0xe57(%rip),%xmm1
mulss  -0x20(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0xe2d(%rip),%xmm1
divss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,-0x30(%rbp)
movss  0xe1c(%rip),%xmm1
mulss  -0x1c(%rbp),%xmm1
mulss  -0x1c(%rbp),%xmm1
movss  -0x1c(%rbp),%xmm2
movss  0xe01(%rip),%xmm0
mulss  -0x1c(%rbp),%xmm0
mulss  -0x20(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0x24(%rbp),%xmm0
movss  0xdd1(%rip),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0xdbd(%rip),%xmm1
divss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x30(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x40(%rbp),%xmm1
movsd  -0x38(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jb     1453 <FindCubicRoots+0x303>
movsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%rbp),%xmm0
call   1070 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0x80(%rbp),%xmm0
divsd  %xmm1,%xmm0
call   1030 <acos@plt>
movsd  %xmm0,-0x50(%rbp)
movsd  -0x30(%rbp),%xmm0
call   1070 <sqrt@plt>
movsd  %xmm0,-0x58(%rbp)
movsd  0xd3e(%rip),%xmm0
mulsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  0xd17(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1050 <cos@plt>
movsd  -0x78(%rbp),%xmm0
cvtsi2sd %eax,%xmm2
movss  -0x1c(%rbp),%xmm1
movss  0xcf0(%rip),%xmm3
divss  %xmm3,%xmm1
cvtss2sd %xmm1,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x18(%rbp),%rax
movss  %xmm0,(%rax)
movsd  0xccd(%rip),%xmm0
mulsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  0xcc3(%rip),%xmm0
addsd  -0x50(%rbp),%xmm0
movsd  0xc9e(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1050 <cos@plt>
movsd  -0x70(%rbp),%xmm0
cvtsi2sd %eax,%xmm2
movss  -0x1c(%rbp),%xmm1
movss  0xc77(%rip),%xmm3
divss  %xmm3,%xmm1
cvtss2sd %xmm1,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x18(%rbp),%rax
movss  %xmm0,0x4(%rax)
movsd  0xc53(%rip),%xmm0
mulsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  0xc39(%rip),%xmm0
addsd  -0x50(%rbp),%xmm0
movsd  0xc24(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1050 <cos@plt>
movsd  -0x68(%rbp),%xmm0
cvtsi2sd %eax,%xmm2
movss  -0x1c(%rbp),%xmm1
movss  0xbfd(%rip),%xmm3
divss  %xmm3,%xmm1
cvtss2sd %xmm1,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x18(%rbp),%rax
movss  %xmm0,0x8(%rax)
movl   $0x3,-0x4(%rbp)
jmp    151a <FindCubicRoots+0x3ca>
movsd  -0x48(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
call   1070 <sqrt@plt>
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
call   1040 <fabs@plt>
movsd  -0x88(%rbp),%xmm0
ff
cvtsi2sd %rax,%xmm1
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%rdi
xor    %esi,%esi
call   1060 <pow@plt>
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jbe    14db <FindCubicRoots+0x38b>
movsd  -0x60(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x60(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm1
divsd  -0x60(%rbp),%xmm1
addsd  %xmm1,%xmm0
movss  -0x1c(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xb19(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x18(%rbp),%rax
movss  %xmm0,(%rax)
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<FindCubicRoots>:
push   %rbx
sub    $0x40,%rsp
mov    %rsi,%rbx
movss  0xc(%rdi),%xmm0
movsd  0x4(%rdi),%xmm1
movss  (%rdi),%xmm5
divss  %xmm0,%xmm5
shufps $0x0,%xmm0,%xmm0
divps  %xmm0,%xmm1
movss  0xe87(%rip),%xmm0
mulss  %xmm1,%xmm0
movaps %xmm1,%xmm3
shufps $0x55,%xmm1,%xmm3
movaps %xmm3,%xmm2
mulss  %xmm3,%xmm2
addss  %xmm0,%xmm2
divss  0xe6d(%rip),%xmm2
cvtss2sd %xmm2,%xmm4
movaps %xmm3,%xmm0
addss  %xmm3,%xmm0
mulss  %xmm3,%xmm0
movaps %xmm3,%xmm2
mulss  0xe57(%rip),%xmm2
movaps %xmm3,0x20(%rsp)
mulss  %xmm3,%xmm0
mulss  %xmm1,%xmm2
mulss  0xe46(%rip),%xmm5
addss  %xmm0,%xmm2
addss  %xmm2,%xmm5
divss  0xe3a(%rip),%xmm5
xorps  %xmm3,%xmm3
cvtss2sd %xmm5,%xmm3
movaps %xmm4,%xmm0
mulsd  %xmm4,%xmm0
movsd  %xmm4,0x8(%rsp)
mulsd  %xmm4,%xmm0
movaps %xmm3,%xmm2
mulsd  %xmm3,%xmm2
movapd %xmm0,%xmm1
subsd  %xmm2,%xmm1
xorpd  %xmm2,%xmm2
ucomisd %xmm2,%xmm1
jae    122d <FindCubicRoots+0xdd>
movss  %xmm5,0x10(%rsp)
movapd 0xe3b(%rip),%xmm0
xorpd  %xmm1,%xmm0
movsd  0xe17(%rip),%xmm2
ucomisd %xmm1,%xmm2
jb     1240 <FindCubicRoots+0xf0>
sqrtsd %xmm0,%xmm0
jmp    1251 <FindCubicRoots+0x101>
ucomisd %xmm2,%xmm0
jb     12c5 <FindCubicRoots+0x175>
sqrtsd %xmm0,%xmm0
jmp    12d6 <FindCubicRoots+0x186>
movsd  %xmm3,0x18(%rsp)
call   1070 <sqrt@plt>
movsd  0x18(%rsp),%xmm3
movsd  %xmm0,0x38(%rsp)
movaps %xmm3,%xmm0
call   1040 <fabs@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
addsd  0x38(%rsp),%xmm0
cvttsd2si %xmm0,%rdi
xor    %esi,%esi
call   1060 <pow@plt>
xorpd  %xmm1,%xmm1
movss  0x10(%rsp),%xmm2
ucomiss %xmm1,%xmm2
jbe    1290 <FindCubicRoots+0x140>
xorpd  0xdc0(%rip),%xmm0
movsd  0x8(%rsp),%xmm1
divsd  %xmm0,%xmm1
addsd  %xmm0,%xmm1
movaps 0x20(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
divsd  0xd91(%rip),%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,(%rbx)
mov    $0x1,%eax
jmp    13d3 <FindCubicRoots+0x283>
movsd  %xmm3,0x18(%rsp)
call   1070 <sqrt@plt>
movsd  0x18(%rsp),%xmm3
divsd  %xmm0,%xmm3
movapd %xmm3,%xmm0
call   1030 <acos@plt>
movsd  %xmm0,0x10(%rsp)
xorpd  %xmm0,%xmm0
movsd  0x8(%rsp),%xmm1
ucomisd %xmm0,%xmm1
movapd %xmm1,%xmm0
jb     1303 <FindCubicRoots+0x1b3>
sqrtsd %xmm0,%xmm0
jmp    1308 <FindCubicRoots+0x1b8>
call   1070 <sqrt@plt>
mulsd  0xd08(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
divsd  0xcfc(%rip),%xmm0
call   1050 <cos@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movss  0xcdc(%rip),%xmm1
movaps 0x20(%rsp),%xmm2
divss  %xmm1,%xmm2
xorps  %xmm1,%xmm1
cvtss2sd %xmm2,%xmm1
movsd  %xmm1,0x20(%rsp)
mulsd  0x8(%rsp),%xmm0
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,(%rbx)
movsd  0xcc0(%rip),%xmm0
addsd  0x10(%rsp),%xmm0
divsd  0xcaa(%rip),%xmm0
call   1050 <cos@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x8(%rsp),%xmm0
subsd  0x20(%rsp),%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,0x4(%rbx)
movsd  0x10(%rsp),%xmm0
addsd  0xc8b(%rip),%xmm0
divsd  0xc73(%rip),%xmm0
call   1050 <cos@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x8(%rsp),%xmm0
subsd  0x20(%rsp),%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,0x8(%rbx)
mov    $0x3,%eax
add    $0x40,%rsp
pop    %rbx
ret

LLVM IR (-O0):
define i32 @FindCubicRoots(float* %0, float* %1) {
%3 = alloca i32
%4 = alloca float*
%5 = alloca float*
%6 = alloca float
%7 = alloca float
%8 = alloca float
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double
store float* %0, float** %4
store float* %1, float** %5
%16 = load float*, float** %4
%17 = getelementptr inbounds float, float* %16, i64 2
%18 = load float, float* %17
%19 = load float*, float** %4
%20 = getelementptr inbounds float, float* %19, i64 3
%21 = load float, float* %20
%22 = fdiv float %18, %21
store float %22, float* %6
%23 = load float*, float** %4
%24 = getelementptr inbounds float, float* %23, i64 1
%25 = load float, float* %24
%26 = load float*, float** %4
%27 = getelementptr inbounds float, float* %26, i64 3
%28 = load float, float* %27
%29 = fdiv float %25, %28
store float %29, float* %7
%30 = load float*, float** %4
%31 = getelementptr inbounds float, float* %30, i64 0
%32 = load float, float* %31
%33 = load float*, float** %4
%34 = getelementptr inbounds float, float* %33, i64 3
%35 = load float, float* %34
%36 = fdiv float %32, %35
store float %36, float* %8
%37 = load float, float* %6
%38 = load float, float* %6
%39 = load float, float* %7
%40 = fmul float 3.000000e+00, %39
%41 = fneg float %40
%42 = call float @llvm.fmuladd.f32(float %37, float %38, float %41)
%43 = fdiv float %42, 9.000000e+00
%44 = fpext float %43 to double
store double %44, double* %9
%45 = load float, float* %6
%46 = fmul float 2.000000e+00, %45
%47 = load float, float* %6
%48 = fmul float %46, %47
%49 = load float, float* %6
%50 = load float, float* %6
%51 = fmul float 9.000000e+00, %50
%52 = load float, float* %7
%53 = fmul float %51, %52
%54 = fneg float %53
%55 = call float @llvm.fmuladd.f32(float %48, float %49, float %54)
%56 = load float, float* %8
%57 = call float @llvm.fmuladd.f32(float 2.700000e+01, float %56, float %55)
%58 = fdiv float %57, 5.400000e+01
%59 = fpext float %58 to double
store double %59, double* %10
%60 = load double, double* %9
%61 = load double, double* %9
%62 = fmul double %60, %61
%63 = load double, double* %9
%64 = fmul double %62, %63
store double %64, double* %11
%65 = load double, double* %11
%66 = load double, double* %10
%67 = load double, double* %10
%68 = fneg double %66
%69 = call double @llvm.fmuladd.f64(double %68, double %67, double %65)
store double %69, double* %12
%70 = load double, double* %12
%71 = fcmp oge double %70, 0.000000e+00
br i1 %71, label %72, label %124
72: ; preds = %2
%73 = load double, double* %10
%74 = load double, double* %11
%75 = call double @sqrt(double %74)
%76 = fdiv double %73, %75
%77 = call double @acos(double %76)
store double %77, double* %13
%78 = load double, double* %9
%79 = call double @sqrt(double %78)
store double %79, double* %14
%80 = load double, double* %14
%81 = fmul double -2.000000e+00, %80
%82 = load double, double* %13
%83 = fdiv double %82, 3.000000e+00
%84 = call i32 @cos(double %83)
%85 = sitofp i32 %84 to double
%86 = load float, float* %6
%87 = fdiv float %86, 3.000000e+00
%88 = fpext float %87 to double
%89 = fneg double %88
%90 = call double @llvm.fmuladd.f64(double %81, double %85, double %89)
%91 = fptrunc double %90 to float
%92 = load float*, float** %5
%93 = getelementptr inbounds float, float* %92, i64 0
store float %91, float* %93
%94 = load double, double* %14
%95 = fmul double -2.000000e+00, %94
%96 = load double, double* %13
%97 = fadd double %96, 6.283200e+00
%98 = fdiv double %97, 3.000000e+00
%99 = call i32 @cos(double %98)
%100 = sitofp i32 %99 to double
%101 = load float, float* %6
%102 = fdiv float %101, 3.000000e+00
%103 = fpext float %102 to double
%104 = fneg double %103
%105 = call double @llvm.fmuladd.f64(double %95, double %100, double %104)
%106 = fptrunc double %105 to float
%107 = load float*, float** %5
%108 = getelementptr inbounds float, float* %107, i64 1
store float %106, float* %108
%109 = load double, double* %14
%110 = fmul double -2.000000e+00, %109
%111 = load double, double* %13
%112 = fadd double %111, 1.256640e+01
%113 = fdiv double %112, 3.000000e+00
%114 = call i32 @cos(double %113)
%115 = sitofp i32 %114 to double
%116 = load float, float* %6
%117 = fdiv float %116, 3.000000e+00
%118 = fpext float %117 to double
%119 = fneg double %118
%120 = call double @llvm.fmuladd.f64(double %110, double %115, double %119)
%121 = fptrunc double %120 to float
%122 = load float*, float** %5
%123 = getelementptr inbounds float, float* %122, i64 2
store float %121, float* %123
store i32 3, i32* %3
br label %152
124: ; preds = %2
%125 = load double, double* %12
%126 = fneg double %125
%127 = call double @sqrt(double %126)
%128 = load double, double* %10
%129 = call i64 @fabs(double %128)
%130 = sitofp i64 %129 to double
%131 = fadd double %127, %130
%132 = fptosi double %131 to i64
%133 = call double @pow(i64 %132, i32 0)
store double %133, double* %15
%134 = load double, double* %10
%135 = fcmp ogt double %134, 0.000000e+00
br i1 %135, label %136, label %139
136: ; preds = %124
%137 = load double, double* %15
%138 = fneg double %137
store double %138, double* %15
br label %139
139: ; preds = %136, %124
%140 = load double, double* %15
%141 = load double, double* %9
%142 = load double, double* %15
%143 = fdiv double %141, %142
%144 = fadd double %140, %143
%145 = load float, float* %6
%146 = fpext float %145 to double
%147 = fdiv double %146, 3.000000e+00
%148 = fsub double %144, %147
%149 = fptrunc double %148 to float
%150 = load float*, float** %5
%151 = getelementptr inbounds float, float* %150, i64 0
store float %149, float* %151
store i32 1, i32* %3
br label %152
152: ; preds = %139, %72
%153 = load i32, i32* %3
ret i32 %153
}

LLVM IR (-O2):
define i32 @FindCubicRoots(float* nocapture %0, float* nocapture writeonly %1) {
%3 = getelementptr inbounds float, float* %0, i64 3
%4 = load float, float* %3
%5 = getelementptr inbounds float, float* %0, i64 1
%6 = bitcast float* %5 to <2 x float>*
%7 = load <2 x float>, <2 x float>* %6
%8 = insertelement <2 x float> poison, float %4, i64 0
%9 = shufflevector <2 x float> %8, <2 x float> poison, <2 x i32> zeroinitializer
%10 = fdiv <2 x float> %7, %9
%11 = load float, float* %0
%12 = fdiv float %11, %4
%13 = extractelement <2 x float> %10, i64 0
%14 = fmul float %13, -3.000000e+00
%15 = extractelement <2 x float> %10, i64 1
%16 = tail call float @llvm.fmuladd.f32(float %15, float %15, float %14)
%17 = fdiv float %16, 9.000000e+00
%18 = fpext float %17 to double
%19 = fmul float %15, 2.000000e+00
%20 = fmul float %15, %19
%21 = fmul float %15, -9.000000e+00
%22 = fmul float %21, %13
%23 = tail call float @llvm.fmuladd.f32(float %20, float %15, float %22)
%24 = tail call float @llvm.fmuladd.f32(float %12, float 2.700000e+01, float %23)
%25 = fdiv float %24, 5.400000e+01
%26 = fpext float %25 to double
%27 = fmul double %18, %18
%28 = fmul double %27, %18
%29 = fneg double %26
%30 = tail call double @llvm.fmuladd.f64(double %29, double %26, double %28)
%31 = fcmp ult double %30, 0.000000e+00
br i1 %31, label %60, label %32
32: ; preds = %2
%33 = tail call double @sqrt(double %28)
%34 = fdiv double %26, %33
%35 = tail call double @acos(double %34)
%36 = tail call double @sqrt(double %18)
%37 = fmul double %36, -2.000000e+00
%38 = fdiv double %35, 3.000000e+00
%39 = tail call i32 @cos(double %38)
%40 = sitofp i32 %39 to double
%41 = fdiv float %15, 3.000000e+00
%42 = fpext float %41 to double
%43 = fneg double %42
%44 = tail call double @llvm.fmuladd.f64(double %37, double %40, double %43)
%45 = fptrunc double %44 to float
store float %45, float* %1
%46 = fadd double %35, 6.283200e+00
%47 = fdiv double %46, 3.000000e+00
%48 = tail call i32 @cos(double %47)
%49 = sitofp i32 %48 to double
%50 = tail call double @llvm.fmuladd.f64(double %37, double %49, double %43)
%51 = fptrunc double %50 to float
%52 = getelementptr inbounds float, float* %1, i64 1
store float %51, float* %52
%53 = fadd double %35, 1.256640e+01
%54 = fdiv double %53, 3.000000e+00
%55 = tail call i32 @cos(double %54)
%56 = sitofp i32 %55 to double
%57 = tail call double @llvm.fmuladd.f64(double %37, double %56, double %43)
%58 = fptrunc double %57 to float
%59 = getelementptr inbounds float, float* %1, i64 2
store float %58, float* %59
br label %77
60: ; preds = %2
%61 = fneg double %30
%62 = tail call double @sqrt(double %61)
%63 = tail call i64 @fabs(double %26)
%64 = sitofp i64 %63 to double
%65 = fadd double %62, %64
%66 = fptosi double %65 to i64
%67 = tail call double @pow(i64 %66, i32 0)
%68 = fcmp ogt float %25, 0.000000e+00
%69 = fneg double %67
%70 = select i1 %68, double %69, double %67
%71 = fdiv double %18, %70
%72 = fadd double %70, %71
%73 = fpext float %15 to double
%74 = fdiv double %73, 3.000000e+00
%75 = fsub double %72, %74
%76 = fptrunc double %75 to float
store float %76, float* %1
br label %77
77: ; preds = %60, %32
%78 = phi i32 [ 3, %32 ], [ 1, %60 ]
ret i32 %78
}