; LLVM IR from InsightSoftwareConsortium/ITK :: Modules/Numerics/FEM/src (dsrc2c)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.anon = type { i64, i64, i64, i64, i64, i64 }

@itcom1_ = external hidden global %struct.anon, align 8
@pbeta_.i = external hidden global i64, align 8
@pbeta_.k = external hidden global i64, align 8
@pbeta_.ii = external hidden global i64, align 8
@pbeta_.jj = external hidden global i64, align 8
@pbeta_.jai = external hidden global i64, align 8
@pbeta_.sum = external hidden global double, align 8
@pbeta_.jajj = external hidden global i64, align 8
@pbeta_.ibgn = external hidden global i64, align 8
@pbeta_.iend = external hidden global i64, align 8
@pbeta_.itmp = external hidden global i64, align 8
@pbeta_.temp1 = external hidden global double, align 8
@pbeta_.temp2 = external hidden global double, align 8

; Function Attrs: nounwind uwtable
define dso_local double @pbeta_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
  %8 = alloca double, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca double, align 8
  %17 = alloca i32, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  store double 0.000000e+00, ptr %16, align 8, !tbaa !9
  %18 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 2), align 8, !tbaa !11
  %19 = icmp eq i64 %18, 0
  br i1 %19, label %20, label %21

20:                                               ; preds = %7
  br label %219

21:                                               ; preds = %7
  store i64 0, ptr @pbeta_.i, align 8, !tbaa !14
  br label %22

22:                                               ; preds = %35, %21
  %23 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %24 = load ptr, ptr %9, align 8, !tbaa !5
  %25 = load i64, ptr %24, align 8, !tbaa !14
  %26 = icmp slt i64 %23, %25
  br i1 %26, label %27, label %38

27:                                               ; preds = %22
  %28 = load ptr, ptr %13, align 8, !tbaa !5
  %29 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %30 = getelementptr inbounds double, ptr %28, i64 %29
  %31 = load double, ptr %30, align 8, !tbaa !9
  %32 = load ptr, ptr %14, align 8, !tbaa !5
  %33 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %34 = getelementptr inbounds double, ptr %32, i64 %33
  store double %31, ptr %34, align 8, !tbaa !9
  br label %35

35:                                               ; preds = %27
  %36 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %37 = add nsw i64 %36, 1
  store i64 %37, ptr @pbeta_.i, align 8, !tbaa !14
  br label %22, !llvm.loop !15

38:                                               ; preds = %22
  store double 0.000000e+00, ptr @pbeta_.temp1, align 8, !tbaa !9
  store double 0.000000e+00, ptr @pbeta_.temp2, align 8, !tbaa !9
  store i64 2, ptr @pbeta_.itmp, align 8, !tbaa !14
  %39 = load ptr, ptr %10, align 8, !tbaa !5
  %40 = getelementptr inbounds i64, ptr %39, i64 0
  %41 = load i64, ptr %40, align 8, !tbaa !14
  %42 = sub nsw i64 %41, 1
  store i64 %42, ptr @pbeta_.ibgn, align 8, !tbaa !14
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = load i64, ptr @pbeta_.itmp, align 8, !tbaa !14
  %45 = sub nsw i64 %44, 1
  %46 = getelementptr inbounds i64, ptr %43, i64 %45
  %47 = load i64, ptr %46, align 8, !tbaa !14
  %48 = sub nsw i64 %47, 1
  store i64 %48, ptr @pbeta_.iend, align 8, !tbaa !14
  %49 = load i64, ptr @pbeta_.ibgn, align 8, !tbaa !14
  store i64 %49, ptr @pbeta_.i, align 8, !tbaa !14
  br label %50

50:                                               ; preds = %71, %38
  %51 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %52 = load i64, ptr @pbeta_.iend, align 8, !tbaa !14
  %53 = icmp slt i64 %51, %52
  br i1 %53, label %54, label %74

54:                                               ; preds = %50
  %55 = load ptr, ptr %11, align 8, !tbaa !5
  %56 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %57 = getelementptr inbounds i64, ptr %55, i64 %56
  %58 = load i64, ptr %57, align 8, !tbaa !14
  %59 = sub nsw i64 %58, 1
  store i64 %59, ptr @pbeta_.jai, align 8, !tbaa !14
  %60 = load ptr, ptr %12, align 8, !tbaa !5
  %61 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %62 = getelementptr inbounds double, ptr %60, i64 %61
  %63 = load double, ptr %62, align 8, !tbaa !9
  %64 = load ptr, ptr %14, align 8, !tbaa !5
  %65 = load i64, ptr @pbeta_.jai, align 8, !tbaa !14
  %66 = getelementptr inbounds double, ptr %64, i64 %65
  %67 = load double, ptr %66, align 8, !tbaa !9
  %68 = load double, ptr @pbeta_.temp1, align 8, !tbaa !9
  %69 = fneg double %63
  %70 = call double @llvm.fmuladd.f64(double %69, double %67, double %68)
  store double %70, ptr @pbeta_.temp1, align 8, !tbaa !9
  br label %71

71:                                               ; preds = %54
  %72 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %73 = add nsw i64 %72, 1
  store i64 %73, ptr @pbeta_.i, align 8, !tbaa !14
  br label %50, !llvm.loop !17

74:                                               ; preds = %50
  %75 = load double, ptr @pbeta_.temp1, align 8, !tbaa !9
  %76 = load ptr, ptr %14, align 8, !tbaa !5
  %77 = getelementptr inbounds double, ptr %76, i64 0
  store double %75, ptr %77, align 8, !tbaa !9
  %78 = load ptr, ptr %15, align 8, !tbaa !5
  %79 = getelementptr inbounds double, ptr %78, i64 0
  store double 0.000000e+00, ptr %79, align 8, !tbaa !9
  store i64 1, ptr @pbeta_.k, align 8, !tbaa !14
  br label %80

80:                                               ; preds = %149, %74
  %81 = load i64, ptr @pbeta_.k, align 8, !tbaa !14
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = load i64, ptr %82, align 8, !tbaa !14
  %84 = sub nsw i64 %83, 1
  %85 = icmp slt i64 %81, %84
  br i1 %85, label %86, label %152

86:                                               ; preds = %80
  store double 0.000000e+00, ptr @pbeta_.temp1, align 8, !tbaa !9
  store double 0.000000e+00, ptr @pbeta_.temp2, align 8, !tbaa !9
  %87 = load ptr, ptr %10, align 8, !tbaa !5
  %88 = load i64, ptr @pbeta_.k, align 8, !tbaa !14
  %89 = getelementptr inbounds i64, ptr %87, i64 %88
  %90 = load i64, ptr %89, align 8, !tbaa !14
  %91 = sub nsw i64 %90, 1
  store i64 %91, ptr @pbeta_.ibgn, align 8, !tbaa !14
  %92 = load ptr, ptr %10, align 8, !tbaa !5
  %93 = load i64, ptr @pbeta_.k, align 8, !tbaa !14
  %94 = add nsw i64 %93, 1
  %95 = getelementptr inbounds i64, ptr %92, i64 %94
  %96 = load i64, ptr %95, align 8, !tbaa !14
  %97 = sub nsw i64 %96, 1
  store i64 %97, ptr @pbeta_.iend, align 8, !tbaa !14
  %98 = load i64, ptr @pbeta_.ibgn, align 8, !tbaa !14
  store i64 %98, ptr @pbeta_.i, align 8, !tbaa !14
  br label %99

99:                                               ; preds = %137, %86
  %100 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %101 = load i64, ptr @pbeta_.iend, align 8, !tbaa !14
  %102 = icmp slt i64 %100, %101
  br i1 %102, label %103, label %140

103:                                              ; preds = %99
  %104 = load ptr, ptr %11, align 8, !tbaa !5
  %105 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %106 = getelementptr inbounds i64, ptr %104, i64 %105
  %107 = load i64, ptr %106, align 8, !tbaa !14
  %108 = sub nsw i64 %107, 1
  store i64 %108, ptr @pbeta_.jai, align 8, !tbaa !14
  %109 = load i64, ptr @pbeta_.jai, align 8, !tbaa !14
  %110 = load i64, ptr @pbeta_.k, align 8, !tbaa !14
  %111 = icmp sgt i64 %109, %110
  br i1 %111, label %112, label %124

112:                                              ; preds = %103
  %113 = load ptr, ptr %12, align 8, !tbaa !5
  %114 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %115 = getelementptr inbounds double, ptr %113, i64 %114
  %116 = load double, ptr %115, align 8, !tbaa !9
  %117 = load ptr, ptr %14, align 8, !tbaa !5
  %118 = load i64, ptr @pbeta_.jai, align 8, !tbaa !14
  %119 = getelementptr inbounds double, ptr %117, i64 %118
  %120 = load double, ptr %119, align 8, !tbaa !9
  %121 = load double, ptr @pbeta_.temp1, align 8, !tbaa !9
  %122 = fneg double %116
  %123 = call double @llvm.fmuladd.f64(double %122, double %120, double %121)
  store double %123, ptr @pbeta_.temp1, align 8, !tbaa !9
  br label %136

124:                                              ; preds = %103
  %125 = load ptr, ptr %12, align 8, !tbaa !5
  %126 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %127 = getelementptr inbounds double, ptr %125, i64 %126
  %128 = load double, ptr %127, align 8, !tbaa !9
  %129 = load ptr, ptr %14, align 8, !tbaa !5
  %130 = load i64, ptr @pbeta_.jai, align 8, !tbaa !14
  %131 = getelementptr inbounds double, ptr %129, i64 %130
  %132 = load double, ptr %131, align 8, !tbaa !9
  %133 = load double, ptr @pbeta_.temp2, align 8, !tbaa !9
  %134 = fneg double %128
  %135 = call double @llvm.fmuladd.f64(double %134, double %132, double %133)
  store double %135, ptr @pbeta_.temp2, align 8, !tbaa !9
  br label %136

136:                                              ; preds = %124, %112
  br label %137

137:                                              ; preds = %136
  %138 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %139 = add nsw i64 %138, 1
  store i64 %139, ptr @pbeta_.i, align 8, !tbaa !14
  br label %99, !llvm.loop !18

140:                                              ; preds = %99
  %141 = load double, ptr @pbeta_.temp1, align 8, !tbaa !9
  %142 = load ptr, ptr %14, align 8, !tbaa !5
  %143 = load i64, ptr @pbeta_.k, align 8, !tbaa !14
  %144 = getelementptr inbounds double, ptr %142, i64 %143
  store double %141, ptr %144, align 8, !tbaa !9
  %145 = load double, ptr @pbeta_.temp2, align 8, !tbaa !9
  %146 = load ptr, ptr %15, align 8, !tbaa !5
  %147 = load i64, ptr @pbeta_.k, align 8, !tbaa !14
  %148 = getelementptr inbounds double, ptr %146, i64 %147
  store double %145, ptr %148, align 8, !tbaa !9
  br label %149

149:                                              ; preds = %140
  %150 = load i64, ptr @pbeta_.k, align 8, !tbaa !14
  %151 = add nsw i64 %150, 1
  store i64 %151, ptr @pbeta_.k, align 8, !tbaa !14
  br label %80, !llvm.loop !19

152:                                              ; preds = %80
  store double 0.000000e+00, ptr @pbeta_.temp2, align 8, !tbaa !9
  %153 = load ptr, ptr %10, align 8, !tbaa !5
  %154 = load ptr, ptr %9, align 8, !tbaa !5
  %155 = load i64, ptr %154, align 8, !tbaa !14
  %156 = sub nsw i64 %155, 1
  %157 = getelementptr inbounds i64, ptr %153, i64 %156
  %158 = load i64, ptr %157, align 8, !tbaa !14
  %159 = sub nsw i64 %158, 1
  store i64 %159, ptr @pbeta_.ibgn, align 8, !tbaa !14
  %160 = load ptr, ptr %10, align 8, !tbaa !5
  %161 = load ptr, ptr %9, align 8, !tbaa !5
  %162 = load i64, ptr %161, align 8, !tbaa !14
  %163 = getelementptr inbounds i64, ptr %160, i64 %162
  %164 = load i64, ptr %163, align 8, !tbaa !14
  %165 = sub nsw i64 %164, 1
  store i64 %165, ptr @pbeta_.iend, align 8, !tbaa !14
  %166 = load i64, ptr @pbeta_.ibgn, align 8, !tbaa !14
  store i64 %166, ptr @pbeta_.i, align 8, !tbaa !14
  br label %167

167:                                              ; preds = %188, %152
  %168 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %169 = load i64, ptr @pbeta_.iend, align 8, !tbaa !14
  %170 = icmp slt i64 %168, %169
  br i1 %170, label %171, label %191

171:                                              ; preds = %167
  %172 = load ptr, ptr %11, align 8, !tbaa !5
  %173 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %174 = getelementptr inbounds i64, ptr %172, i64 %173
  %175 = load i64, ptr %174, align 8, !tbaa !14
  %176 = sub nsw i64 %175, 1
  store i64 %176, ptr @pbeta_.jai, align 8, !tbaa !14
  %177 = load ptr, ptr %12, align 8, !tbaa !5
  %178 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %179 = getelementptr inbounds double, ptr %177, i64 %178
  %180 = load double, ptr %179, align 8, !tbaa !9
  %181 = load ptr, ptr %14, align 8, !tbaa !5
  %182 = load i64, ptr @pbeta_.jai, align 8, !tbaa !14
  %183 = getelementptr inbounds double, ptr %181, i64 %182
  %184 = load double, ptr %183, align 8, !tbaa !9
  %185 = load double, ptr @pbeta_.temp2, align 8, !tbaa !9
  %186 = fneg double %180
  %187 = call double @llvm.fmuladd.f64(double %186, double %184, double %185)
  store double %187, ptr @pbeta_.temp2, align 8, !tbaa !9
  br label %188

188:                                              ; preds = %171
  %189 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %190 = add nsw i64 %189, 1
  store i64 %190, ptr @pbeta_.i, align 8, !tbaa !14
  br label %167, !llvm.loop !20

191:                                              ; preds = %167
  %192 = load double, ptr @pbeta_.temp2, align 8, !tbaa !9
  %193 = load ptr, ptr %15, align 8, !tbaa !5
  %194 = load ptr, ptr %9, align 8, !tbaa !5
  %195 = load i64, ptr %194, align 8, !tbaa !14
  %196 = sub nsw i64 %195, 1
  %197 = getelementptr inbounds double, ptr %193, i64 %196
  store double %192, ptr %197, align 8, !tbaa !9
  store i64 0, ptr @pbeta_.i, align 8, !tbaa !14
  br label %198

198:                                              ; preds = %214, %191
  %199 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %200 = load ptr, ptr %9, align 8, !tbaa !5
  %201 = load i64, ptr %200, align 8, !tbaa !14
  %202 = icmp slt i64 %199, %201
  br i1 %202, label %203, label %217

203:                                              ; preds = %198
  %204 = load ptr, ptr %13, align 8, !tbaa !5
  %205 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %206 = getelementptr inbounds double, ptr %204, i64 %205
  %207 = load double, ptr %206, align 8, !tbaa !9
  %208 = load ptr, ptr %15, align 8, !tbaa !5
  %209 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %210 = getelementptr inbounds double, ptr %208, i64 %209
  %211 = load double, ptr %210, align 8, !tbaa !9
  %212 = load double, ptr %16, align 8, !tbaa !9
  %213 = call double @llvm.fmuladd.f64(double %207, double %211, double %212)
  store double %213, ptr %16, align 8, !tbaa !9
  br label %214

214:                                              ; preds = %203
  %215 = load i64, ptr @pbeta_.i, align 8, !tbaa !14
  %216 = add nsw i64 %215, 1
  store i64 %216, ptr @pbeta_.i, align 8, !tbaa !14
  br label %198, !llvm.loop !21

217:                                              ; preds = %198
  %218 = load double, ptr %16, align 8, !tbaa !9
  store double %218, ptr %8, align 8
  store i32 1, ptr %17, align 4
  br label %276

219:                                              ; preds = %20
  store i64 0, ptr @pbeta_.ii, align 8, !tbaa !14
  br label %220

220:                                              ; preds = %271, %219
  %221 = load i64, ptr @pbeta_.ii, align 8, !tbaa !14
  %222 = load ptr, ptr %9, align 8, !tbaa !5
  %223 = load i64, ptr %222, align 8, !tbaa !14
  %224 = icmp slt i64 %221, %223
  br i1 %224, label %225, label %274

225:                                              ; preds = %220
  %226 = load ptr, ptr %10, align 8, !tbaa !5
  %227 = load i64, ptr @pbeta_.ii, align 8, !tbaa !14
  %228 = getelementptr inbounds i64, ptr %226, i64 %227
  %229 = load i64, ptr %228, align 8, !tbaa !14
  %230 = sub nsw i64 %229, 1
  store i64 %230, ptr @pbeta_.ibgn, align 8, !tbaa !14
  %231 = load ptr, ptr %10, align 8, !tbaa !5
  %232 = load i64, ptr @pbeta_.ii, align 8, !tbaa !14
  %233 = add nsw i64 %232, 1
  %234 = getelementptr inbounds i64, ptr %231, i64 %233
  %235 = load i64, ptr %234, align 8, !tbaa !14
  %236 = sub nsw i64 %235, 1
  store i64 %236, ptr @pbeta_.iend, align 8, !tbaa !14
  %237 = load i64, ptr @pbeta_.ibgn, align 8, !tbaa !14
  %238 = load i64, ptr @pbeta_.iend, align 8, !tbaa !14
  %239 = icmp sge i64 %237, %238
  br i1 %239, label %240, label %241

240:                                              ; preds = %225
  br label %271

241:                                              ; preds = %225
  store double 0.000000e+00, ptr @pbeta_.sum, align 8, !tbaa !9
  %242 = load i64, ptr @pbeta_.ibgn, align 8, !tbaa !14
  store i64 %242, ptr @pbeta_.jj, align 8, !tbaa !14
  br label %243

243:                                              ; preds = %263, %241
  %244 = load i64, ptr @pbeta_.jj, align 8, !tbaa !14
  %245 = load i64, ptr @pbeta_.iend, align 8, !tbaa !14
  %246 = icmp slt i64 %244, %245
  br i1 %246, label %247, label %266

247:                                              ; preds = %243
  %248 = load ptr, ptr %11, align 8, !tbaa !5
  %249 = load i64, ptr @pbeta_.jj, align 8, !tbaa !14
  %250 = getelementptr inbounds i64, ptr %248, i64 %249
  %251 = load i64, ptr %250, align 8, !tbaa !14
  %252 = sub nsw i64 %251, 1
  store i64 %252, ptr @pbeta_.jajj, align 8, !tbaa !14
  %253 = load ptr, ptr %12, align 8, !tbaa !5
  %254 = load i64, ptr @pbeta_.jj, align 8, !tbaa !14
  %255 = getelementptr inbounds double, ptr %253, i64 %254
  %256 = load double, ptr %255, align 8, !tbaa !9
  %257 = load ptr, ptr %13, align 8, !tbaa !5
  %258 = load i64, ptr @pbeta_.jajj, align 8, !tbaa !14
  %259 = getelementptr inbounds double, ptr %257, i64 %258
  %260 = load double, ptr %259, align 8, !tbaa !9
  %261 = load double, ptr @pbeta_.sum, align 8, !tbaa !9
  %262 = call double @llvm.fmuladd.f64(double %256, double %260, double %261)
  store double %262, ptr @pbeta_.sum, align 8, !tbaa !9
  br label %263

263:                                              ; preds = %247
  %264 = load i64, ptr @pbeta_.jj, align 8, !tbaa !14
  %265 = add nsw i64 %264, 1
  store i64 %265, ptr @pbeta_.jj, align 8, !tbaa !14
  br label %243, !llvm.loop !22

266:                                              ; preds = %243
  %267 = load double, ptr @pbeta_.sum, align 8, !tbaa !9
  %268 = load double, ptr @pbeta_.sum, align 8, !tbaa !9
  %269 = load double, ptr %16, align 8, !tbaa !9
  %270 = call double @llvm.fmuladd.f64(double %267, double %268, double %269)
  store double %270, ptr %16, align 8, !tbaa !9
  br label %271

271:                                              ; preds = %266, %240
  %272 = load i64, ptr @pbeta_.ii, align 8, !tbaa !14
  %273 = add nsw i64 %272, 1
  store i64 %273, ptr @pbeta_.ii, align 8, !tbaa !14
  br label %220, !llvm.loop !23

274:                                              ; preds = %220
  %275 = load double, ptr %16, align 8, !tbaa !9
  store double %275, ptr %8, align 8
  store i32 1, ptr %17, align 4
  br label %276

276:                                              ; preds = %274, %217
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  %277 = load double, ptr %8, align 8
  ret double %277
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !13, i64 16}
!12 = !{!"", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40}
!13 = !{!"long", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}
!20 = distinct !{!20, !16}
!21 = distinct !{!21, !16}
!22 = distinct !{!22, !16}
!23 = distinct !{!23, !16}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.anon = type { i64, i64, i64, i64, i64, i64 }

@itcom1_ = external hidden local_unnamed_addr global %struct.anon, align 8
@pbeta_.i = external hidden local_unnamed_addr global i64, align 8
@pbeta_.k = external hidden local_unnamed_addr global i64, align 8
@pbeta_.ii = external hidden local_unnamed_addr global i64, align 8
@pbeta_.jj = external hidden local_unnamed_addr global i64, align 8
@pbeta_.jai = external hidden local_unnamed_addr global i64, align 8
@pbeta_.sum = external hidden local_unnamed_addr global double, align 8
@pbeta_.jajj = external hidden local_unnamed_addr global i64, align 8
@pbeta_.ibgn = external hidden local_unnamed_addr global i64, align 8
@pbeta_.iend = external hidden local_unnamed_addr global i64, align 8
@pbeta_.itmp = external hidden local_unnamed_addr global i64, align 8
@pbeta_.temp1 = external hidden local_unnamed_addr global double, align 8
@pbeta_.temp2 = external hidden local_unnamed_addr global double, align 8

; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local double @pbeta_(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4, ptr nocapture noundef %5, ptr nocapture noundef %6) local_unnamed_addr #0 {
  %8 = load i64, ptr getelementptr inbounds (i8, ptr @itcom1_, i64 16), align 8, !tbaa !5
  %9 = icmp eq i64 %8, 0
  br i1 %9, label %.preheader, label %.preheader61

.preheader61:                                     ; preds = %7
  store i64 0, ptr @pbeta_.i, align 8, !tbaa !10
  %10 = load i64, ptr %0, align 8, !tbaa !10
  %11 = icmp sgt i64 %10, 0
  br i1 %11, label %.lr.ph, label %._crit_edge

.preheader:                                       ; preds = %7
  store i64 0, ptr @pbeta_.ii, align 8, !tbaa !10
  %12 = load i64, ptr %0, align 8, !tbaa !10
  %13 = icmp sgt i64 %12, 0
  br i1 %13, label %.lr.ph91, label %.loopexit

.lr.ph:                                           ; preds = %.preheader61, %.lr.ph
  %storemerge62 = phi i64 [ %17, %.lr.ph ], [ 0, %.preheader61 ]
  %14 = getelementptr inbounds double, ptr %4, i64 %storemerge62
  %15 = load double, ptr %14, align 8, !tbaa !11
  %16 = getelementptr inbounds double, ptr %5, i64 %storemerge62
  store double %15, ptr %16, align 8, !tbaa !11
  %17 = add nuw nsw i64 %storemerge62, 1
  store i64 %17, ptr @pbeta_.i, align 8, !tbaa !10
  %18 = load i64, ptr %0, align 8, !tbaa !10
  %19 = icmp slt i64 %17, %18
  br i1 %19, label %.lr.ph, label %._crit_edge, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph, %.preheader61
  store double 0.000000e+00, ptr @pbeta_.temp1, align 8, !tbaa !11
  store double 0.000000e+00, ptr @pbeta_.temp2, align 8, !tbaa !11
  store i64 2, ptr @pbeta_.itmp, align 8, !tbaa !10
  %20 = load i64, ptr %1, align 8, !tbaa !10
  %21 = add nsw i64 %20, -1
  store i64 %21, ptr @pbeta_.ibgn, align 8, !tbaa !10
  %22 = getelementptr inbounds i8, ptr %1, i64 8
  %23 = load i64, ptr %22, align 8, !tbaa !10
  %24 = add i64 %23, -1
  store i64 %24, ptr @pbeta_.iend, align 8, !tbaa !10
  store i64 %21, ptr @pbeta_.i, align 8, !tbaa !10
  %25 = icmp slt i64 %20, %23
  br i1 %25, label %.lr.ph65.preheader, label %._crit_edge66

.lr.ph65.preheader:                               ; preds = %._crit_edge
  %26 = sub i64 %23, %20
  %.neg = add i64 %20, 1
  %xtraiter = and i64 %26, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph65.prol.loopexit, label %.lr.ph65.prol

.lr.ph65.prol:                                    ; preds = %.lr.ph65.preheader
  %27 = getelementptr inbounds i64, ptr %2, i64 %21
  %28 = load i64, ptr %27, align 8, !tbaa !10
  %29 = add nsw i64 %28, -1
  store i64 %29, ptr @pbeta_.jai, align 8, !tbaa !10
  %30 = getelementptr inbounds double, ptr %3, i64 %21
  %31 = load double, ptr %30, align 8, !tbaa !11
  %32 = getelementptr inbounds double, ptr %5, i64 %29
  %33 = load double, ptr %32, align 8, !tbaa !11
  %34 = fneg double %31
  %35 = tail call double @llvm.fmuladd.f64(double %34, double %33, double 0.000000e+00)
  store double %35, ptr @pbeta_.temp1, align 8, !tbaa !11
  store i64 %20, ptr @pbeta_.i, align 8, !tbaa !10
  br label %.lr.ph65.prol.loopexit

.lr.ph65.prol.loopexit:                           ; preds = %.lr.ph65.prol, %.lr.ph65.preheader
  %.lcssa120.unr = phi double [ poison, %.lr.ph65.preheader ], [ %35, %.lr.ph65.prol ]
  %storemerge5363.unr = phi i64 [ %21, %.lr.ph65.preheader ], [ %20, %.lr.ph65.prol ]
  %.unr = phi double [ 0.000000e+00, %.lr.ph65.preheader ], [ %35, %.lr.ph65.prol ]
  %36 = icmp eq i64 %23, %.neg
  br i1 %36, label %._crit_edge66, label %.lr.ph65

.lr.ph65:                                         ; preds = %.lr.ph65.prol.loopexit, %.lr.ph65
  %storemerge5363 = phi i64 [ %57, %.lr.ph65 ], [ %storemerge5363.unr, %.lr.ph65.prol.loopexit ]
  %37 = phi double [ %56, %.lr.ph65 ], [ %.unr, %.lr.ph65.prol.loopexit ]
  %38 = getelementptr inbounds i64, ptr %2, i64 %storemerge5363
  %39 = load i64, ptr %38, align 8, !tbaa !10
  %40 = add nsw i64 %39, -1
  store i64 %40, ptr @pbeta_.jai, align 8, !tbaa !10
  %41 = getelementptr inbounds double, ptr %3, i64 %storemerge5363
  %42 = load double, ptr %41, align 8, !tbaa !11
  %43 = getelementptr inbounds double, ptr %5, i64 %40
  %44 = load double, ptr %43, align 8, !tbaa !11
  %45 = fneg double %42
  %46 = tail call double @llvm.fmuladd.f64(double %45, double %44, double %37)
  store double %46, ptr @pbeta_.temp1, align 8, !tbaa !11
  %47 = add nsw i64 %storemerge5363, 1
  store i64 %47, ptr @pbeta_.i, align 8, !tbaa !10
  %48 = getelementptr inbounds i64, ptr %2, i64 %47
  %49 = load i64, ptr %48, align 8, !tbaa !10
  %50 = add nsw i64 %49, -1
  store i64 %50, ptr @pbeta_.jai, align 8, !tbaa !10
  %51 = getelementptr inbounds double, ptr %3, i64 %47
  %52 = load double, ptr %51, align 8, !tbaa !11
  %53 = getelementptr inbounds double, ptr %5, i64 %50
  %54 = load double, ptr %53, align 8, !tbaa !11
  %55 = fneg double %52
  %56 = tail call double @llvm.fmuladd.f64(double %55, double %54, double %46)
  store double %56, ptr @pbeta_.temp1, align 8, !tbaa !11
  %57 = add nsw i64 %storemerge5363, 2
  store i64 %57, ptr @pbeta_.i, align 8, !tbaa !10
  %exitcond.not.1 = icmp eq i64 %57, %24
  br i1 %exitcond.not.1, label %._crit_edge66, label %.lr.ph65, !llvm.loop !15

._crit_edge66:                                    ; preds = %.lr.ph65.prol.loopexit, %.lr.ph65, %._crit_edge
  %58 = phi double [ 0.000000e+00, %._crit_edge ], [ %.lcssa120.unr, %.lr.ph65.prol.loopexit ], [ %56, %.lr.ph65 ]
  store double %58, ptr %5, align 8, !tbaa !11
  store double 0.000000e+00, ptr %6, align 8, !tbaa !11
  store i64 1, ptr @pbeta_.k, align 8, !tbaa !10
  %59 = load i64, ptr %0, align 8, !tbaa !10
  %60 = icmp sgt i64 %59, 2
  br i1 %60, label %.lr.ph74, label %._crit_edge75

.lr.ph74:                                         ; preds = %._crit_edge66, %._crit_edge71
  %storemerge5472 = phi i64 [ %91, %._crit_edge71 ], [ 1, %._crit_edge66 ]
  store double 0.000000e+00, ptr @pbeta_.temp1, align 8, !tbaa !11
  store double 0.000000e+00, ptr @pbeta_.temp2, align 8, !tbaa !11
  %61 = getelementptr inbounds i64, ptr %1, i64 %storemerge5472
  %62 = load i64, ptr %61, align 8, !tbaa !10
  %63 = add nsw i64 %62, -1
  store i64 %63, ptr @pbeta_.ibgn, align 8, !tbaa !10
  %64 = getelementptr i8, ptr %61, i64 8
  %65 = load i64, ptr %64, align 8, !tbaa !10
  %66 = add i64 %65, -1
  store i64 %66, ptr @pbeta_.iend, align 8, !tbaa !10
  store i64 %63, ptr @pbeta_.i, align 8, !tbaa !10
  %67 = icmp slt i64 %62, %65
  br i1 %67, label %.lr.ph70, label %._crit_edge71

.lr.ph70:                                         ; preds = %.lr.ph74, %83
  %storemerge5768 = phi i64 [ %86, %83 ], [ %63, %.lr.ph74 ]
  %68 = phi double [ %85, %83 ], [ 0.000000e+00, %.lr.ph74 ]
  %69 = phi double [ %84, %83 ], [ 0.000000e+00, %.lr.ph74 ]
  %70 = getelementptr inbounds i64, ptr %2, i64 %storemerge5768
  %71 = load i64, ptr %70, align 8, !tbaa !10
  %72 = add nsw i64 %71, -1
  store i64 %72, ptr @pbeta_.jai, align 8, !tbaa !10
  %73 = icmp sgt i64 %72, %storemerge5472
  %74 = getelementptr inbounds double, ptr %3, i64 %storemerge5768
  %75 = load double, ptr %74, align 8, !tbaa !11
  %76 = getelementptr inbounds double, ptr %5, i64 %72
  %77 = load double, ptr %76, align 8, !tbaa !11
  %78 = fneg double %75
  br i1 %73, label %79, label %81

79:                                               ; preds = %.lr.ph70
  %80 = tail call double @llvm.fmuladd.f64(double %78, double %77, double %69)
  store double %80, ptr @pbeta_.temp1, align 8, !tbaa !11
  br label %83

81:                                               ; preds = %.lr.ph70
  %82 = tail call double @llvm.fmuladd.f64(double %78, double %77, double %68)
  store double %82, ptr @pbeta_.temp2, align 8, !tbaa !11
  br label %83

83:                                               ; preds = %79, %81
  %84 = phi double [ %80, %79 ], [ %69, %81 ]
  %85 = phi double [ %68, %79 ], [ %82, %81 ]
  %86 = add nsw i64 %storemerge5768, 1
  store i64 %86, ptr @pbeta_.i, align 8, !tbaa !10
  %exitcond97.not = icmp eq i64 %86, %66
  br i1 %exitcond97.not, label %._crit_edge71, label %.lr.ph70, !llvm.loop !16

._crit_edge71:                                    ; preds = %83, %.lr.ph74
  %87 = phi double [ 0.000000e+00, %.lr.ph74 ], [ %84, %83 ]
  %88 = getelementptr inbounds double, ptr %5, i64 %storemerge5472
  store double %87, ptr %88, align 8, !tbaa !11
  %89 = load double, ptr @pbeta_.temp2, align 8, !tbaa !11
  %90 = getelementptr inbounds double, ptr %6, i64 %storemerge5472
  store double %89, ptr %90, align 8, !tbaa !11
  %91 = add nuw nsw i64 %storemerge5472, 1
  store i64 %91, ptr @pbeta_.k, align 8, !tbaa !10
  %92 = load i64, ptr %0, align 8, !tbaa !10
  %93 = add nsw i64 %92, -1
  %94 = icmp slt i64 %91, %93
  br i1 %94, label %.lr.ph74, label %._crit_edge75, !llvm.loop !17

._crit_edge75:                                    ; preds = %._crit_edge71, %._crit_edge66
  %.lcssa = phi i64 [ %59, %._crit_edge66 ], [ %92, %._crit_edge71 ]
  store double 0.000000e+00, ptr @pbeta_.temp2, align 8, !tbaa !11
  %95 = getelementptr i64, ptr %1, i64 %.lcssa
  %96 = getelementptr i8, ptr %95, i64 -8
  %97 = load i64, ptr %96, align 8, !tbaa !10
  %98 = add nsw i64 %97, -1
  store i64 %98, ptr @pbeta_.ibgn, align 8, !tbaa !10
  %99 = load i64, ptr %0, align 8, !tbaa !10
  %100 = getelementptr inbounds i64, ptr %1, i64 %99
  %101 = load i64, ptr %100, align 8, !tbaa !10
  %102 = add i64 %101, -1
  store i64 %102, ptr @pbeta_.iend, align 8, !tbaa !10
  store i64 %98, ptr @pbeta_.i, align 8, !tbaa !10
  %103 = icmp slt i64 %97, %101
  br i1 %103, label %.lr.ph79.preheader, label %._crit_edge80

.lr.ph79.preheader:                               ; preds = %._crit_edge75
  %104 = sub i64 %101, %97
  %.neg127 = add i64 %97, 1
  %xtraiter121 = and i64 %104, 1
  %lcmp.mod122.not = icmp eq i64 %xtraiter121, 0
  br i1 %lcmp.mod122.not, label %.lr.ph79.prol.loopexit, label %.lr.ph79.prol

.lr.ph79.prol:                                    ; preds = %.lr.ph79.preheader
  %105 = getelementptr inbounds i64, ptr %2, i64 %98
  %106 = load i64, ptr %105, align 8, !tbaa !10
  %107 = add nsw i64 %106, -1
  store i64 %107, ptr @pbeta_.jai, align 8, !tbaa !10
  %108 = getelementptr inbounds double, ptr %3, i64 %98
  %109 = load double, ptr %108, align 8, !tbaa !11
  %110 = getelementptr inbounds double, ptr %5, i64 %107
  %111 = load double, ptr %110, align 8, !tbaa !11
  %112 = fneg double %109
  %113 = tail call double @llvm.fmuladd.f64(double %112, double %111, double 0.000000e+00)
  store double %113, ptr @pbeta_.temp2, align 8, !tbaa !11
  store i64 %97, ptr @pbeta_.i, align 8, !tbaa !10
  br label %.lr.ph79.prol.loopexit

.lr.ph79.prol.loopexit:                           ; preds = %.lr.ph79.prol, %.lr.ph79.preheader
  %.lcssa117.unr = phi double [ poison, %.lr.ph79.preheader ], [ %113, %.lr.ph79.prol ]
  %storemerge5577.unr = phi i64 [ %98, %.lr.ph79.preheader ], [ %97, %.lr.ph79.prol ]
  %.unr123 = phi double [ 0.000000e+00, %.lr.ph79.preheader ], [ %113, %.lr.ph79.prol ]
  %114 = icmp eq i64 %101, %.neg127
  br i1 %114, label %._crit_edge80, label %.lr.ph79

.lr.ph79:                                         ; preds = %.lr.ph79.prol.loopexit, %.lr.ph79
  %storemerge5577 = phi i64 [ %135, %.lr.ph79 ], [ %storemerge5577.unr, %.lr.ph79.prol.loopexit ]
  %115 = phi double [ %134, %.lr.ph79 ], [ %.unr123, %.lr.ph79.prol.loopexit ]
  %116 = getelementptr inbounds i64, ptr %2, i64 %storemerge5577
  %117 = load i64, ptr %116, align 8, !tbaa !10
  %118 = add nsw i64 %117, -1
  store i64 %118, ptr @pbeta_.jai, align 8, !tbaa !10
  %119 = getelementptr inbounds double, ptr %3, i64 %storemerge5577
  %120 = load double, ptr %119, align 8, !tbaa !11
  %121 = getelementptr inbounds double, ptr %5, i64 %118
  %122 = load double, ptr %121, align 8, !tbaa !11
  %123 = fneg double %120
  %124 = tail call double @llvm.fmuladd.f64(double %123, double %122, double %115)
  store double %124, ptr @pbeta_.temp2, align 8, !tbaa !11
  %125 = add nsw i64 %storemerge5577, 1
  store i64 %125, ptr @pbeta_.i, align 8, !tbaa !10
  %126 = getelementptr inbounds i64, ptr %2, i64 %125
  %127 = load i64, ptr %126, align 8, !tbaa !10
  %128 = add nsw i64 %127, -1
  store i64 %128, ptr @pbeta_.jai, align 8, !tbaa !10
  %129 = getelementptr inbounds double, ptr %3, i64 %125
  %130 = load double, ptr %129, align 8, !tbaa !11
  %131 = getelementptr inbounds double, ptr %5, i64 %128
  %132 = load double, ptr %131, align 8, !tbaa !11
  %133 = fneg double %130
  %134 = tail call double @llvm.fmuladd.f64(double %133, double %132, double %124)
  store double %134, ptr @pbeta_.temp2, align 8, !tbaa !11
  %135 = add nsw i64 %storemerge5577, 2
  store i64 %135, ptr @pbeta_.i, align 8, !tbaa !10
  %exitcond98.not.1 = icmp eq i64 %135, %102
  br i1 %exitcond98.not.1, label %._crit_edge80, label %.lr.ph79, !llvm.loop !18

._crit_edge80:                                    ; preds = %.lr.ph79.prol.loopexit, %.lr.ph79, %._crit_edge75
  %136 = phi double [ 0.000000e+00, %._crit_edge75 ], [ %.lcssa117.unr, %.lr.ph79.prol.loopexit ], [ %134, %.lr.ph79 ]
  %137 = load i64, ptr %0, align 8, !tbaa !10
  %138 = getelementptr double, ptr %6, i64 %137
  %139 = getelementptr i8, ptr %138, i64 -8
  store double %136, ptr %139, align 8, !tbaa !11
  store i64 0, ptr @pbeta_.i, align 8, !tbaa !10
  %140 = load i64, ptr %0, align 8, !tbaa !10
  %141 = icmp sgt i64 %140, 0
  br i1 %141, label %.lr.ph84, label %.loopexit

.lr.ph84:                                         ; preds = %._crit_edge80, %.lr.ph84
  %.082 = phi double [ %146, %.lr.ph84 ], [ 0.000000e+00, %._crit_edge80 ]
  %storemerge5681 = phi i64 [ %147, %.lr.ph84 ], [ 0, %._crit_edge80 ]
  %142 = getelementptr inbounds double, ptr %4, i64 %storemerge5681
  %143 = load double, ptr %142, align 8, !tbaa !11
  %144 = getelementptr inbounds double, ptr %6, i64 %storemerge5681
  %145 = load double, ptr %144, align 8, !tbaa !11
  %146 = tail call double @llvm.fmuladd.f64(double %143, double %145, double %.082)
  %147 = add nuw nsw i64 %storemerge5681, 1
  store i64 %147, ptr @pbeta_.i, align 8, !tbaa !10
  %148 = load i64, ptr %0, align 8, !tbaa !10
  %149 = icmp slt i64 %147, %148
  br i1 %149, label %.lr.ph84, label %.loopexit, !llvm.loop !19

.lr.ph91:                                         ; preds = %.preheader, %187
  %.190 = phi double [ %.2, %187 ], [ 0.000000e+00, %.preheader ]
  %storemerge5889 = phi i64 [ %188, %187 ], [ 0, %.preheader ]
  %150 = getelementptr inbounds i64, ptr %1, i64 %storemerge5889
  %151 = load i64, ptr %150, align 8, !tbaa !10
  %152 = add nsw i64 %151, -1
  store i64 %152, ptr @pbeta_.ibgn, align 8, !tbaa !10
  %153 = getelementptr i8, ptr %150, i64 8
  %154 = load i64, ptr %153, align 8, !tbaa !10
  %155 = add i64 %154, -1
  store i64 %155, ptr @pbeta_.iend, align 8, !tbaa !10
  %.not = icmp slt i64 %151, %154
  br i1 %.not, label %156, label %187

156:                                              ; preds = %.lr.ph91
  store double 0.000000e+00, ptr @pbeta_.sum, align 8, !tbaa !11
  store i64 %152, ptr @pbeta_.jj, align 8, !tbaa !10
  %157 = sub i64 %154, %151
  %.neg128 = add i64 %151, 1
  %xtraiter124 = and i64 %157, 1
  %lcmp.mod125.not = icmp eq i64 %xtraiter124, 0
  br i1 %lcmp.mod125.not, label %.prol.loopexit, label %.prol.loopexit.unr-lcssa

.prol.loopexit.unr-lcssa:                         ; preds = %156
  %158 = getelementptr inbounds i64, ptr %2, i64 %152
  %159 = load i64, ptr %158, align 8, !tbaa !10
  %160 = add nsw i64 %159, -1
  store i64 %160, ptr @pbeta_.jajj, align 8, !tbaa !10
  %161 = getelementptr inbounds double, ptr %3, i64 %152
  %162 = load double, ptr %161, align 8, !tbaa !11
  %163 = getelementptr inbounds double, ptr %4, i64 %160
  %164 = load double, ptr %163, align 8, !tbaa !11
  %165 = tail call double @llvm.fmuladd.f64(double %162, double %164, double 0.000000e+00)
  store double %165, ptr @pbeta_.sum, align 8, !tbaa !11
  store i64 %151, ptr @pbeta_.jj, align 8, !tbaa !10
  br label %.prol.loopexit

.prol.loopexit:                                   ; preds = %.prol.loopexit.unr-lcssa, %156
  %.lcssa114.unr = phi double [ poison, %156 ], [ %165, %.prol.loopexit.unr-lcssa ]
  %storemerge5986.unr = phi i64 [ %152, %156 ], [ %151, %.prol.loopexit.unr-lcssa ]
  %.unr126 = phi double [ 0.000000e+00, %156 ], [ %165, %.prol.loopexit.unr-lcssa ]
  %166 = icmp eq i64 %154, %.neg128
  br i1 %166, label %.unr-lcssa, label %.new

.new:                                             ; preds = %.prol.loopexit, %.new
  %storemerge5986 = phi i64 [ %185, %.new ], [ %storemerge5986.unr, %.prol.loopexit ]
  %167 = phi double [ %184, %.new ], [ %.unr126, %.prol.loopexit ]
  %168 = getelementptr inbounds i64, ptr %2, i64 %storemerge5986
  %169 = load i64, ptr %168, align 8, !tbaa !10
  %170 = add nsw i64 %169, -1
  store i64 %170, ptr @pbeta_.jajj, align 8, !tbaa !10
  %171 = getelementptr inbounds double, ptr %3, i64 %storemerge5986
  %172 = load double, ptr %171, align 8, !tbaa !11
  %173 = getelementptr inbounds double, ptr %4, i64 %170
  %174 = load double, ptr %173, align 8, !tbaa !11
  %175 = tail call double @llvm.fmuladd.f64(double %172, double %174, double %167)
  store double %175, ptr @pbeta_.sum, align 8, !tbaa !11
  %176 = add nsw i64 %storemerge5986, 1
  store i64 %176, ptr @pbeta_.jj, align 8, !tbaa !10
  %177 = getelementptr inbounds i64, ptr %2, i64 %176
  %178 = load i64, ptr %177, align 8, !tbaa !10
  %179 = add nsw i64 %178, -1
  store i64 %179, ptr @pbeta_.jajj, align 8, !tbaa !10
  %180 = getelementptr inbounds double, ptr %3, i64 %176
  %181 = load double, ptr %180, align 8, !tbaa !11
  %182 = getelementptr inbounds double, ptr %4, i64 %179
  %183 = load double, ptr %182, align 8, !tbaa !11
  %184 = tail call double @llvm.fmuladd.f64(double %181, double %183, double %175)
  store double %184, ptr @pbeta_.sum, align 8, !tbaa !11
  %185 = add nsw i64 %storemerge5986, 2
  store i64 %185, ptr @pbeta_.jj, align 8, !tbaa !10
  %exitcond99.not.1 = icmp eq i64 %185, %155
  br i1 %exitcond99.not.1, label %.unr-lcssa, label %.new, !llvm.loop !20

.unr-lcssa:                                       ; preds = %.new, %.prol.loopexit
  %.lcssa114 = phi double [ %.lcssa114.unr, %.prol.loopexit ], [ %184, %.new ]
  %186 = tail call double @llvm.fmuladd.f64(double %.lcssa114, double %.lcssa114, double %.190)
  br label %187

187:                                              ; preds = %.lr.ph91, %.unr-lcssa
  %.2 = phi double [ %.190, %.lr.ph91 ], [ %186, %.unr-lcssa ]
  %188 = add nuw nsw i64 %storemerge5889, 1
  store i64 %188, ptr @pbeta_.ii, align 8, !tbaa !10
  %189 = load i64, ptr %0, align 8, !tbaa !10
  %190 = icmp slt i64 %188, %189
  br i1 %190, label %.lr.ph91, label %.loopexit, !llvm.loop !21

.loopexit:                                        ; preds = %.lr.ph84, %187, %._crit_edge80, %.preheader
  %.043 = phi double [ 0.000000e+00, %.preheader ], [ 0.000000e+00, %._crit_edge80 ], [ %.2, %187 ], [ %146, %.lr.ph84 ]
  ret double %.043
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass