#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 abs(double);
double cos(double);
double sin(double);
void compute_evt_plane_avg(double *evtPlaneMeans, int *nEvtPlane, int *ptCount,
                           double ptArray[][25], double phiArray[][25],
                           double rapArray[][25], int chArray[][25]) {
  int i, j;
  int nloop = 0;
  double meanSinV2 = 0.0;
  double meanCosV2 = 0.0;
  double meanSinV3 = 0.0;
  double meanCosV3 = 0.0;
  double rapCutEvtPlane = 2.0;
  for (i = 0; i < 25; i++) {
    for (j = 0; j < ptCount[i]; j++) {
      if (abs(rapArray[j][i]) <= rapCutEvtPlane) {
        nloop++;
        meanSinV2 += ptArray[j][i] * sin(2.0 * phiArray[j][i]);
        meanCosV2 += ptArray[j][i] * cos(2.0 * phiArray[j][i]);
        meanSinV3 += ptArray[j][i] * sin(3.0 * phiArray[j][i]);
        meanCosV3 += ptArray[j][i] * cos(3.0 * phiArray[j][i]);
      }
    }
  }
  meanCosV2 = meanCosV2 / (double)nloop;
  meanCosV3 = meanCosV3 / (double)nloop;
  meanSinV2 = meanSinV2 / (double)nloop;
  meanSinV3 = meanSinV3 / (double)nloop;
  evtPlaneMeans[0] = meanCosV2;
  evtPlaneMeans[1] = meanSinV2;
  evtPlaneMeans[2] = meanCosV3;
  evtPlaneMeans[3] = meanSinV3;
  *nEvtPlane = nloop;
}


x86 assembly (clang, -O0):
<compute_evt_plane_avg>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
movl   $0x0,-0x3c(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x50(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x58(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  0xe7a(%rip),%xmm0
movsd  %xmm0,-0x68(%rbp)
movl   $0x0,-0x34(%rbp)
cmpl   $0x19,-0x34(%rbp)
jge    13a6 <compute_evt_plane_avg+0x276>
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
mov    -0x18(%rbp),%rcx
movslq -0x34(%rbp),%rdx
cmp    (%rcx,%rdx,4),%eax
jge    1393 <compute_evt_plane_avg+0x263>
mov    -0x30(%rbp),%rax
movslq -0x38(%rbp),%rcx
imul   $0xc8,%rcx,%rcx
add    %rcx,%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
call   1030 <abs@plt>
movaps %xmm0,%xmm1
movsd  -0x68(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jb     1380 <compute_evt_plane_avg+0x250>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
mov    -0x20(%rbp),%rax
movslq -0x38(%rbp),%rcx
imul   $0xc8,%rcx,%rcx
add    %rcx,%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x28(%rbp),%rax
movslq -0x38(%rbp),%rcx
imul   $0xc8,%rcx,%rcx
add    %rcx,%rax
movslq -0x34(%rbp),%rcx
movsd  0xdcd(%rip),%xmm0
mulsd  (%rax,%rcx,8),%xmm0
call   1040 <sin@plt>
movaps %xmm0,%xmm2
movsd  -0x88(%rbp),%xmm0
ff
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x20(%rbp),%rax
movslq -0x38(%rbp),%rcx
imul   $0xc8,%rcx,%rcx
add    %rcx,%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    -0x28(%rbp),%rax
movslq -0x38(%rbp),%rcx
imul   $0xc8,%rcx,%rcx
add    %rcx,%rax
movslq -0x34(%rbp),%rcx
movsd  0xd68(%rip),%xmm0
mulsd  (%rax,%rcx,8),%xmm0
call   1050 <cos@plt>
movaps %xmm0,%xmm2
movsd  -0x80(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x20(%rbp),%rax
movslq -0x38(%rbp),%rcx
imul   $0xc8,%rcx,%rcx
add    %rcx,%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x28(%rbp),%rax
movslq -0x38(%rbp),%rcx
imul   $0xc8,%rcx,%rcx
add    %rcx,%rax
movslq -0x34(%rbp),%rcx
movsd  0xd0e(%rip),%xmm0
mulsd  (%rax,%rcx,8),%xmm0
call   1040 <sin@plt>
movaps %xmm0,%xmm2
movsd  -0x78(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x20(%rbp),%rax
movslq -0x38(%rbp),%rcx
imul   $0xc8,%rcx,%rcx
add    %rcx,%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x28(%rbp),%rax
movslq -0x38(%rbp),%rcx
imul   $0xc8,%rcx,%rcx
add    %rcx,%rax
movslq -0x34(%rbp),%rcx
movsd  0xcac(%rip),%xmm0
mulsd  (%rax,%rcx,8),%xmm0
call   1050 <cos@plt>
movaps %xmm0,%xmm2
movsd  -0x70(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
jmp    1385 <compute_evt_plane_avg+0x255>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    11a3 <compute_evt_plane_avg+0x73>
jmp    1398 <compute_evt_plane_avg+0x268>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1192 <compute_evt_plane_avg+0x62>
movsd  -0x50(%rbp),%xmm0
cvtsi2sdl -0x3c(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x60(%rbp),%xmm0
cvtsi2sdl -0x3c(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x48(%rbp),%xmm0
cvtsi2sdl -0x3c(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x58(%rbp),%xmm0
cvtsi2sdl -0x3c(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x48(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x8(%rax)
movsd  -0x60(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x10(%rax)
movsd  -0x58(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x18(%rax)
mov    -0x3c(%rbp),%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<compute_evt_plane_avg>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x78,%rsp
mov    %r9,%r12
mov    %r8,%r13
mov    %rcx,%rbx
mov    %rdx,0x28(%rsp)
mov    %rsi,0x70(%rsp)
mov    %rdi,0x68(%rsp)
xorpd  %xmm0,%xmm0
movapd %xmm0,0x50(%rsp)
xor    %r15d,%r15d
movl   $0x0,0xc(%rsp)
xorpd  %xmm0,%xmm0
movapd %xmm0,0x40(%rsp)
jmp    119a <compute_evt_plane_avg+0x6a>
nopw   0x0(%rax,%rax,1)
add    $0x1,%r15
add    $0x8,%r12
add    $0x8,%rbx
add    $0x8,%r13
cmp    $0x19,%r15
je     12b4 <compute_evt_plane_avg+0x184>
mov    0x28(%rsp),%rax
cmpl   $0x0,(%rax,%r15,4)
jle    1180 <compute_evt_plane_avg+0x50>
xor    %r14d,%r14d
xor    %ebp,%ebp
jmp    11c9 <compute_evt_plane_avg+0x99>
nopl   (%rax)
add    $0x1,%rbp
mov    0x28(%rsp),%rax
movslq (%rax,%r15,4),%rax
add    $0xc8,%r14
cmp    %rax,%rbp
jge    1180 <compute_evt_plane_avg+0x50>
movsd  (%r12,%r14,1),%xmm0
call   1030 <abs@plt>
movsd  0xe24(%rip),%xmm1
ucomisd %xmm0,%xmm1
jb     11b0 <compute_evt_plane_avg+0x80>
addl   $0x1,0xc(%rsp)
movsd  0x0(%r13,%r14,1),%xmm0
addsd  %xmm0,%xmm0
movsd  (%rbx,%r14,1),%xmm1
movaps %xmm1,0x10(%rsp)
call   1040 <sin@plt>
movapd %xmm0,0x30(%rsp)
movsd  0x0(%r13,%r14,1),%xmm0
addsd  %xmm0,%xmm0
movsd  (%rbx,%r14,1),%xmm1
unpcklpd 0x10(%rsp),%xmm1
movaps %xmm1,0x10(%rsp)
call   1050 <cos@plt>
unpcklpd 0x30(%rsp),%xmm0
mulpd  0x10(%rsp),%xmm0
movapd 0x50(%rsp),%xmm1
addpd  %xmm0,%xmm1
movapd %xmm1,0x50(%rsp)
movsd  0x0(%r13,%r14,1),%xmm0
movsd  0xdb4(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  (%rbx,%r14,1),%xmm1
movaps %xmm1,0x10(%rsp)
call   1040 <sin@plt>
movapd %xmm0,0x30(%rsp)
movsd  0x0(%r13,%r14,1),%xmm0
mulsd  0xd8b(%rip),%xmm0
movsd  (%rbx,%r14,1),%xmm1
unpcklpd 0x10(%rsp),%xmm1
movaps %xmm1,0x10(%rsp)
call   1050 <cos@plt>
unpcklpd 0x30(%rsp),%xmm0
mulpd  0x10(%rsp),%xmm0
movapd 0x40(%rsp),%xmm1
addpd  %xmm0,%xmm1
movapd %xmm1,0x40(%rsp)
jmp    11b0 <compute_evt_plane_avg+0x80>
mov    0xc(%rsp),%ecx
xorps  %xmm0,%xmm0
cvtsi2sd %ecx,%xmm0
unpcklpd %xmm0,%xmm0
movapd 0x50(%rsp),%xmm1
divpd  %xmm0,%xmm1
movapd 0x40(%rsp),%xmm2
divpd  %xmm0,%xmm2
mov    0x68(%rsp),%rax
movupd %xmm1,(%rax)
movupd %xmm2,0x10(%rax)
mov    0x70(%rsp),%rax
mov    %ecx,(%rax)
add    $0x78,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define void @compute_evt_plane_avg(double* nocapture writeonly %0, i32* nocapture writeonly %1, i32* nocapture %2, [25 x double]* nocapture %3, [25 x double]* nocapture %4, [25 x double]* nocapture %5, [25 x i32]* nocapture readnone %6) {
br label %8
8: ; preds = %7, %63
%9 = phi i64 [ 0, %7 ], [ %67, %63 ]
%10 = phi i32 [ 0, %7 ], [ %64, %63 ]
%11 = phi <2 x double> [ zeroinitializer, %7 ], [ %65, %63 ]
%12 = phi <2 x double> [ zeroinitializer, %7 ], [ %66, %63 ]
%13 = getelementptr inbounds i32, i32* %2, i64 %9
%14 = load i32, i32* %13
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %63
16: ; preds = %8, %55
%17 = phi i64 [ %59, %55 ], [ 0, %8 ]
%18 = phi i32 [ %56, %55 ], [ %10, %8 ]
%19 = phi <2 x double> [ %57, %55 ], [ %11, %8 ]
%20 = phi <2 x double> [ %58, %55 ], [ %12, %8 ]
%21 = getelementptr inbounds [25 x double], [25 x double]* %5, i64 %17, i64 %9
%22 = load double, double* %21
%23 = tail call double @abs(double %22)
%24 = fcmp ugt double %23, 2.000000e+00
br i1 %24, label %55, label %25
25: ; preds = %16
%26 = add nsw i32 %18, 1
%27 = getelementptr inbounds [25 x double], [25 x double]* %3, i64 %17, i64 %9
%28 = load double, double* %27
%29 = getelementptr inbounds [25 x double], [25 x double]* %4, i64 %17, i64 %9
%30 = load double, double* %29
%31 = fmul double %30, 2.000000e+00
%32 = tail call double @sin(double %31)
%33 = load double, double* %27
%34 = load double, double* %29
%35 = fmul double %34, 2.000000e+00
%36 = tail call double @cos(double %35)
%37 = insertelement <2 x double> poison, double %33, i64 0
%38 = insertelement <2 x double> %37, double %28, i64 1
%39 = insertelement <2 x double> poison, double %36, i64 0
%40 = insertelement <2 x double> %39, double %32, i64 1
%41 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %38, <2 x double> %40, <2 x double> %19)
%42 = load double, double* %27
%43 = load double, double* %29
%44 = fmul double %43, 3.000000e+00
%45 = tail call double @sin(double %44)
%46 = load double, double* %27
%47 = load double, double* %29
%48 = fmul double %47, 3.000000e+00
%49 = tail call double @cos(double %48)
%50 = insertelement <2 x double> poison, double %46, i64 0
%51 = insertelement <2 x double> %50, double %42, i64 1
%52 = insertelement <2 x double> poison, double %49, i64 0
%53 = insertelement <2 x double> %52, double %45, i64 1
%54 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %51, <2 x double> %53, <2 x double> %20)
br label %55
55: ; preds = %16, %25
%56 = phi i32 [ %26, %25 ], [ %18, %16 ]
%57 = phi <2 x double> [ %41, %25 ], [ %19, %16 ]
%58 = phi <2 x double> [ %54, %25 ], [ %20, %16 ]
%59 = add nuw nsw i64 %17, 1
%60 = load i32, i32* %13
%61 = sext i32 %60 to i64
%62 = icmp slt i64 %59, %61
br i1 %62, label %16, label %63
63: ; preds = %55, %8
%64 = phi i32 [ %10, %8 ], [ %56, %55 ]
%65 = phi <2 x double> [ %11, %8 ], [ %57, %55 ]
%66 = phi <2 x double> [ %12, %8 ], [ %58, %55 ]
%67 = add nuw nsw i64 %9, 1
%68 = icmp eq i64 %67, 25
br i1 %68, label %69, label %8
69: ; preds = %63
%70 = sitofp i32 %64 to double
%71 = insertelement <2 x double> poison, double %70, i64 0
%72 = shufflevector <2 x double> %71, <2 x double> poison, <2 x i32> zeroinitializer
%73 = fdiv <2 x double> %65, %72
%74 = fdiv <2 x double> %66, %72
%75 = bitcast double* %0 to <2 x double>*
store <2 x double> %73, <2 x double>* %75
%76 = getelementptr inbounds double, double* %0, i64 2
%77 = bitcast double* %76 to <2 x double>*
store <2 x double> %74, <2 x double>* %77
store i32 %64, i32* %1
ret void
}