; LLVM IR from shyams2/SIMPLE_Solver :: SIMPLE.ll (Z6mombalv)

; 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"

@u = external dso_local global [90601 x double], align 16
@v = external dso_local global [90601 x double], align 16
@p = external dso_local global [90000 x double], align 16
@uav = external dso_local global [90000 x double], align 16
@vav = external dso_local global [90000 x double], align 16
@dudx = external dso_local global [90000 x double], align 16
@dudy = external dso_local global [90000 x double], align 16
@dvdx = external dso_local global [90000 x double], align 16
@dudt = external dso_local global double, align 8
@dvdt = external dso_local global double, align 8
@dx = external dso_local global double, align 8
@dy = external dso_local global double, align 8
@dt = external dso_local global double, align 8
@rho = external dso_local global double, align 8
@nu = external dso_local global double, align 8
@n = external dso_local global i32, align 4
@k = external dso_local global i32, align 4
@n1 = external dso_local global i32, align 4
@n2 = external dso_local global i32, align 4
@n3 = external dso_local global i32, align 4
@n4 = external dso_local global i32, align 4
@n5 = external dso_local global i32, align 4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z6nodconii(i32 noundef, i32 noundef) #1

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z6mombalv() #1 {
  %1 = alloca i32, align 4
  %2 = alloca double, align 8
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #3
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %20

20:                                               ; preds = %564, %0
  %21 = load i32, ptr %1, align 4, !tbaa !5
  %22 = load i32, ptr @k, align 4, !tbaa !5
  %23 = sub nsw i32 %22, 1
  %24 = load i32, ptr @k, align 4, !tbaa !5
  %25 = sub nsw i32 %24, 1
  %26 = mul nsw i32 %23, %25
  %27 = icmp slt i32 %21, %26
  br i1 %27, label %28, label %567

28:                                               ; preds = %20
  %29 = load i32, ptr %1, align 4, !tbaa !5
  %30 = load i32, ptr @k, align 4, !tbaa !5
  %31 = sub nsw i32 %30, 1
  call void @_Z6nodconii(i32 noundef %29, i32 noundef %31)
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  %32 = load double, ptr @rho, align 8, !tbaa !9
  %33 = fmul double 5.000000e-01, %32
  %34 = load i32, ptr @n3, align 4, !tbaa !5
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [90000 x double], ptr @vav, i64 0, i64 %35
  %37 = load double, ptr %36, align 8, !tbaa !9
  %38 = load i32, ptr @n4, align 4, !tbaa !5
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [90000 x double], ptr @vav, i64 0, i64 %39
  %41 = load double, ptr %40, align 8, !tbaa !9
  %42 = fadd double %37, %41
  %43 = fmul double %33, %42
  %44 = load double, ptr @dx, align 8, !tbaa !9
  %45 = fmul double %43, %44
  store double %45, ptr %2, align 8, !tbaa !9
  %46 = load double, ptr @rho, align 8, !tbaa !9
  %47 = fmul double 5.000000e-01, %46
  %48 = load i32, ptr @n1, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [90000 x double], ptr @vav, i64 0, i64 %49
  %51 = load double, ptr %50, align 8, !tbaa !9
  %52 = load i32, ptr @n2, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [90000 x double], ptr @vav, i64 0, i64 %53
  %55 = load double, ptr %54, align 8, !tbaa !9
  %56 = fadd double %51, %55
  %57 = fmul double %47, %56
  %58 = load double, ptr @dx, align 8, !tbaa !9
  %59 = fmul double %57, %58
  store double %59, ptr %3, align 8, !tbaa !9
  %60 = load double, ptr @rho, align 8, !tbaa !9
  %61 = fmul double 5.000000e-01, %60
  %62 = load i32, ptr @n2, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [90000 x double], ptr @uav, i64 0, i64 %63
  %65 = load double, ptr %64, align 8, !tbaa !9
  %66 = load i32, ptr @n3, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [90000 x double], ptr @uav, i64 0, i64 %67
  %69 = load double, ptr %68, align 8, !tbaa !9
  %70 = fadd double %65, %69
  %71 = fmul double %61, %70
  %72 = load double, ptr @dy, align 8, !tbaa !9
  %73 = fmul double %71, %72
  store double %73, ptr %4, align 8, !tbaa !9
  %74 = load double, ptr @rho, align 8, !tbaa !9
  %75 = fmul double 5.000000e-01, %74
  %76 = load i32, ptr @n1, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [90000 x double], ptr @uav, i64 0, i64 %77
  %79 = load double, ptr %78, align 8, !tbaa !9
  %80 = load i32, ptr @n4, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [90000 x double], ptr @uav, i64 0, i64 %81
  %83 = load double, ptr %82, align 8, !tbaa !9
  %84 = fadd double %79, %83
  %85 = fmul double %75, %84
  %86 = load double, ptr @dy, align 8, !tbaa !9
  %87 = fmul double %85, %86
  store double %87, ptr %5, align 8, !tbaa !9
  %88 = load i32, ptr @n3, align 4, !tbaa !5
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [90000 x double], ptr @uav, i64 0, i64 %89
  %91 = load double, ptr %90, align 8, !tbaa !9
  %92 = load i32, ptr @n4, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [90000 x double], ptr @uav, i64 0, i64 %93
  %95 = load double, ptr %94, align 8, !tbaa !9
  %96 = fadd double %91, %95
  %97 = fmul double 5.000000e-01, %96
  store double %97, ptr %6, align 8, !tbaa !9
  %98 = load i32, ptr @n1, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [90000 x double], ptr @uav, i64 0, i64 %99
  %101 = load double, ptr %100, align 8, !tbaa !9
  %102 = load i32, ptr @n2, align 4, !tbaa !5
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [90000 x double], ptr @uav, i64 0, i64 %103
  %105 = load double, ptr %104, align 8, !tbaa !9
  %106 = fadd double %101, %105
  %107 = fmul double 5.000000e-01, %106
  store double %107, ptr %7, align 8, !tbaa !9
  %108 = load i32, ptr @n2, align 4, !tbaa !5
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [90000 x double], ptr @uav, i64 0, i64 %109
  %111 = load double, ptr %110, align 8, !tbaa !9
  %112 = load i32, ptr @n3, align 4, !tbaa !5
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [90000 x double], ptr @uav, i64 0, i64 %113
  %115 = load double, ptr %114, align 8, !tbaa !9
  %116 = fadd double %111, %115
  %117 = fmul double 5.000000e-01, %116
  store double %117, ptr %8, align 8, !tbaa !9
  %118 = load i32, ptr @n1, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [90000 x double], ptr @uav, i64 0, i64 %119
  %121 = load double, ptr %120, align 8, !tbaa !9
  %122 = load i32, ptr @n4, align 4, !tbaa !5
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [90000 x double], ptr @uav, i64 0, i64 %123
  %125 = load double, ptr %124, align 8, !tbaa !9
  %126 = fadd double %121, %125
  %127 = fmul double 5.000000e-01, %126
  store double %127, ptr %9, align 8, !tbaa !9
  %128 = load i32, ptr @n3, align 4, !tbaa !5
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [90000 x double], ptr @vav, i64 0, i64 %129
  %131 = load double, ptr %130, align 8, !tbaa !9
  %132 = load i32, ptr @n4, align 4, !tbaa !5
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [90000 x double], ptr @vav, i64 0, i64 %133
  %135 = load double, ptr %134, align 8, !tbaa !9
  %136 = fadd double %131, %135
  %137 = fmul double 5.000000e-01, %136
  store double %137, ptr %10, align 8, !tbaa !9
  %138 = load i32, ptr @n1, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [90000 x double], ptr @vav, i64 0, i64 %139
  %141 = load double, ptr %140, align 8, !tbaa !9
  %142 = load i32, ptr @n2, align 4, !tbaa !5
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [90000 x double], ptr @vav, i64 0, i64 %143
  %145 = load double, ptr %144, align 8, !tbaa !9
  %146 = fadd double %141, %145
  %147 = fmul double 5.000000e-01, %146
  store double %147, ptr %11, align 8, !tbaa !9
  %148 = load i32, ptr @n2, align 4, !tbaa !5
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds [90000 x double], ptr @vav, i64 0, i64 %149
  %151 = load double, ptr %150, align 8, !tbaa !9
  %152 = load i32, ptr @n3, align 4, !tbaa !5
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [90000 x double], ptr @vav, i64 0, i64 %153
  %155 = load double, ptr %154, align 8, !tbaa !9
  %156 = fadd double %151, %155
  %157 = fmul double 5.000000e-01, %156
  store double %157, ptr %12, align 8, !tbaa !9
  %158 = load i32, ptr @n1, align 4, !tbaa !5
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [90000 x double], ptr @vav, i64 0, i64 %159
  %161 = load double, ptr %160, align 8, !tbaa !9
  %162 = load i32, ptr @n4, align 4, !tbaa !5
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds [90000 x double], ptr @vav, i64 0, i64 %163
  %165 = load double, ptr %164, align 8, !tbaa !9
  %166 = fadd double %161, %165
  %167 = fmul double 5.000000e-01, %166
  store double %167, ptr %13, align 8, !tbaa !9
  %168 = load i32, ptr @k, align 4, !tbaa !5
  %169 = sitofp i32 %168 to double
  %170 = load double, ptr @nu, align 8, !tbaa !9
  %171 = fmul double %169, %170
  %172 = fdiv double 1.000000e+00, %171
  %173 = fcmp ogt double %172, 2.000000e+00
  br i1 %173, label %174, label %319

174:                                              ; preds = %28
  %175 = load double, ptr %9, align 8, !tbaa !9
  %176 = fcmp ogt double %175, 0.000000e+00
  br i1 %176, label %177, label %194

177:                                              ; preds = %174
  %178 = load double, ptr %9, align 8, !tbaa !9
  %179 = load i32, ptr @n5, align 4, !tbaa !5
  %180 = sub nsw i32 %179, 1
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %181
  %183 = load double, ptr %182, align 8, !tbaa !9
  %184 = fmul double 5.000000e-01, %183
  %185 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %178, double %184)
  store double %185, ptr %9, align 8, !tbaa !9
  %186 = load double, ptr %13, align 8, !tbaa !9
  %187 = load i32, ptr @n5, align 4, !tbaa !5
  %188 = sub nsw i32 %187, 1
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %189
  %191 = load double, ptr %190, align 8, !tbaa !9
  %192 = fmul double 5.000000e-01, %191
  %193 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %186, double %192)
  store double %193, ptr %13, align 8, !tbaa !9
  br label %209

194:                                              ; preds = %174
  %195 = load double, ptr %9, align 8, !tbaa !9
  %196 = load i32, ptr @n5, align 4, !tbaa !5
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %197
  %199 = load double, ptr %198, align 8, !tbaa !9
  %200 = fmul double 5.000000e-01, %199
  %201 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %195, double %200)
  store double %201, ptr %9, align 8, !tbaa !9
  %202 = load double, ptr %13, align 8, !tbaa !9
  %203 = load i32, ptr @n5, align 4, !tbaa !5
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %204
  %206 = load double, ptr %205, align 8, !tbaa !9
  %207 = fmul double 5.000000e-01, %206
  %208 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %202, double %207)
  store double %208, ptr %13, align 8, !tbaa !9
  br label %209

209:                                              ; preds = %194, %177
  %210 = load double, ptr %8, align 8, !tbaa !9
  %211 = fcmp ogt double %210, 0.000000e+00
  br i1 %211, label %212, label %227

212:                                              ; preds = %209
  %213 = load double, ptr %8, align 8, !tbaa !9
  %214 = load i32, ptr @n5, align 4, !tbaa !5
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %215
  %217 = load double, ptr %216, align 8, !tbaa !9
  %218 = fmul double 5.000000e-01, %217
  %219 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %213, double %218)
  store double %219, ptr %8, align 8, !tbaa !9
  %220 = load double, ptr %12, align 8, !tbaa !9
  %221 = load i32, ptr @n5, align 4, !tbaa !5
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %222
  %224 = load double, ptr %223, align 8, !tbaa !9
  %225 = fmul double 5.000000e-01, %224
  %226 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %220, double %225)
  store double %226, ptr %12, align 8, !tbaa !9
  br label %244

227:                                              ; preds = %209
  %228 = load double, ptr %8, align 8, !tbaa !9
  %229 = load i32, ptr @n5, align 4, !tbaa !5
  %230 = add nsw i32 %229, 1
  %231 = sext i32 %230 to i64
  %232 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %231
  %233 = load double, ptr %232, align 8, !tbaa !9
  %234 = fmul double 5.000000e-01, %233
  %235 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %228, double %234)
  store double %235, ptr %8, align 8, !tbaa !9
  %236 = load double, ptr %12, align 8, !tbaa !9
  %237 = load i32, ptr @n5, align 4, !tbaa !5
  %238 = add nsw i32 %237, 1
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %239
  %241 = load double, ptr %240, align 8, !tbaa !9
  %242 = fmul double 5.000000e-01, %241
  %243 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %236, double %242)
  store double %243, ptr %12, align 8, !tbaa !9
  br label %244

244:                                              ; preds = %227, %212
  %245 = load double, ptr %10, align 8, !tbaa !9
  %246 = fcmp ogt double %245, 0.000000e+00
  br i1 %246, label %247, label %262

247:                                              ; preds = %244
  %248 = load double, ptr %10, align 8, !tbaa !9
  %249 = load i32, ptr @n5, align 4, !tbaa !5
  %250 = sext i32 %249 to i64
  %251 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %250
  %252 = load double, ptr %251, align 8, !tbaa !9
  %253 = fmul double 5.000000e-01, %252
  %254 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %248, double %253)
  store double %254, ptr %10, align 8, !tbaa !9
  %255 = load double, ptr %6, align 8, !tbaa !9
  %256 = load i32, ptr @n5, align 4, !tbaa !5
  %257 = sext i32 %256 to i64
  %258 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %257
  %259 = load double, ptr %258, align 8, !tbaa !9
  %260 = fmul double 5.000000e-01, %259
  %261 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %255, double %260)
  store double %261, ptr %6, align 8, !tbaa !9
  br label %281

262:                                              ; preds = %244
  %263 = load double, ptr %10, align 8, !tbaa !9
  %264 = load i32, ptr @n5, align 4, !tbaa !5
  %265 = load i32, ptr @n, align 4, !tbaa !5
  %266 = add nsw i32 %264, %265
  %267 = sext i32 %266 to i64
  %268 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %267
  %269 = load double, ptr %268, align 8, !tbaa !9
  %270 = fmul double 5.000000e-01, %269
  %271 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %263, double %270)
  store double %271, ptr %10, align 8, !tbaa !9
  %272 = load double, ptr %6, align 8, !tbaa !9
  %273 = load i32, ptr @n5, align 4, !tbaa !5
  %274 = load i32, ptr @n, align 4, !tbaa !5
  %275 = add nsw i32 %273, %274
  %276 = sext i32 %275 to i64
  %277 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %276
  %278 = load double, ptr %277, align 8, !tbaa !9
  %279 = fmul double 5.000000e-01, %278
  %280 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %272, double %279)
  store double %280, ptr %6, align 8, !tbaa !9
  br label %281

281:                                              ; preds = %262, %247
  %282 = load double, ptr %11, align 8, !tbaa !9
  %283 = fcmp ogt double %282, 0.000000e+00
  br i1 %283, label %284, label %303

284:                                              ; preds = %281
  %285 = load double, ptr %11, align 8, !tbaa !9
  %286 = load i32, ptr @n5, align 4, !tbaa !5
  %287 = load i32, ptr @n, align 4, !tbaa !5
  %288 = sub nsw i32 %286, %287
  %289 = sext i32 %288 to i64
  %290 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %289
  %291 = load double, ptr %290, align 8, !tbaa !9
  %292 = fmul double 5.000000e-01, %291
  %293 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %285, double %292)
  store double %293, ptr %11, align 8, !tbaa !9
  %294 = load double, ptr %7, align 8, !tbaa !9
  %295 = load i32, ptr @n5, align 4, !tbaa !5
  %296 = load i32, ptr @n, align 4, !tbaa !5
  %297 = sub nsw i32 %295, %296
  %298 = sext i32 %297 to i64
  %299 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %298
  %300 = load double, ptr %299, align 8, !tbaa !9
  %301 = fmul double 5.000000e-01, %300
  %302 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %294, double %301)
  store double %302, ptr %7, align 8, !tbaa !9
  br label %318

303:                                              ; preds = %281
  %304 = load double, ptr %11, align 8, !tbaa !9
  %305 = load i32, ptr @n5, align 4, !tbaa !5
  %306 = sext i32 %305 to i64
  %307 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %306
  %308 = load double, ptr %307, align 8, !tbaa !9
  %309 = fmul double 5.000000e-01, %308
  %310 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %304, double %309)
  store double %310, ptr %11, align 8, !tbaa !9
  %311 = load double, ptr %7, align 8, !tbaa !9
  %312 = load i32, ptr @n5, align 4, !tbaa !5
  %313 = sext i32 %312 to i64
  %314 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %313
  %315 = load double, ptr %314, align 8, !tbaa !9
  %316 = fmul double 5.000000e-01, %315
  %317 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %311, double %316)
  store double %317, ptr %7, align 8, !tbaa !9
  br label %318

318:                                              ; preds = %303, %284
  br label %319

319:                                              ; preds = %318, %28
  %320 = load double, ptr %2, align 8, !tbaa !9
  %321 = load double, ptr %6, align 8, !tbaa !9
  %322 = load double, ptr %3, align 8, !tbaa !9
  %323 = load double, ptr %7, align 8, !tbaa !9
  %324 = fmul double %322, %323
  %325 = fneg double %324
  %326 = call double @llvm.fmuladd.f64(double %320, double %321, double %325)
  %327 = load double, ptr %4, align 8, !tbaa !9
  %328 = load double, ptr %8, align 8, !tbaa !9
  %329 = call double @llvm.fmuladd.f64(double %327, double %328, double %326)
  %330 = load double, ptr %5, align 8, !tbaa !9
  %331 = load double, ptr %9, align 8, !tbaa !9
  %332 = fneg double %330
  %333 = call double @llvm.fmuladd.f64(double %332, double %331, double %329)
  store double %333, ptr %16, align 8, !tbaa !9
  %334 = load double, ptr %2, align 8, !tbaa !9
  %335 = load double, ptr %10, align 8, !tbaa !9
  %336 = load double, ptr %3, align 8, !tbaa !9
  %337 = load double, ptr %11, align 8, !tbaa !9
  %338 = fmul double %336, %337
  %339 = fneg double %338
  %340 = call double @llvm.fmuladd.f64(double %334, double %335, double %339)
  %341 = load double, ptr %4, align 8, !tbaa !9
  %342 = load double, ptr %12, align 8, !tbaa !9
  %343 = call double @llvm.fmuladd.f64(double %341, double %342, double %340)
  %344 = load double, ptr %5, align 8, !tbaa !9
  %345 = load double, ptr %13, align 8, !tbaa !9
  %346 = fneg double %344
  %347 = call double @llvm.fmuladd.f64(double %346, double %345, double %343)
  store double %347, ptr %19, align 8, !tbaa !9
  %348 = load i32, ptr @n1, align 4, !tbaa !5
  %349 = sext i32 %348 to i64
  %350 = getelementptr inbounds [90000 x double], ptr @p, i64 0, i64 %349
  %351 = load double, ptr %350, align 8, !tbaa !9
  %352 = load i32, ptr @n4, align 4, !tbaa !5
  %353 = sext i32 %352 to i64
  %354 = getelementptr inbounds [90000 x double], ptr @p, i64 0, i64 %353
  %355 = load double, ptr %354, align 8, !tbaa !9
  %356 = fadd double %351, %355
  %357 = load i32, ptr @n3, align 4, !tbaa !5
  %358 = sext i32 %357 to i64
  %359 = getelementptr inbounds [90000 x double], ptr @p, i64 0, i64 %358
  %360 = load double, ptr %359, align 8, !tbaa !9
  %361 = fsub double %356, %360
  %362 = load i32, ptr @n2, align 4, !tbaa !5
  %363 = sext i32 %362 to i64
  %364 = getelementptr inbounds [90000 x double], ptr @p, i64 0, i64 %363
  %365 = load double, ptr %364, align 8, !tbaa !9
  %366 = fsub double %361, %365
  %367 = load double, ptr @nu, align 8, !tbaa !9
  %368 = load i32, ptr @n2, align 4, !tbaa !5
  %369 = sext i32 %368 to i64
  %370 = getelementptr inbounds [90000 x double], ptr @dudx, i64 0, i64 %369
  %371 = load double, ptr %370, align 8, !tbaa !9
  %372 = load i32, ptr @n3, align 4, !tbaa !5
  %373 = sext i32 %372 to i64
  %374 = getelementptr inbounds [90000 x double], ptr @dudx, i64 0, i64 %373
  %375 = load double, ptr %374, align 8, !tbaa !9
  %376 = fadd double %371, %375
  %377 = load i32, ptr @n1, align 4, !tbaa !5
  %378 = sext i32 %377 to i64
  %379 = getelementptr inbounds [90000 x double], ptr @dudx, i64 0, i64 %378
  %380 = load double, ptr %379, align 8, !tbaa !9
  %381 = fsub double %376, %380
  %382 = load i32, ptr @n4, align 4, !tbaa !5
  %383 = sext i32 %382 to i64
  %384 = getelementptr inbounds [90000 x double], ptr @dudx, i64 0, i64 %383
  %385 = load double, ptr %384, align 8, !tbaa !9
  %386 = fsub double %381, %385
  %387 = fmul double %367, %386
  %388 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %366, double %387)
  %389 = load double, ptr @dy, align 8, !tbaa !9
  %390 = fmul double %388, %389
  store double %390, ptr %14, align 8, !tbaa !9
  %391 = load i32, ptr @n1, align 4, !tbaa !5
  %392 = sext i32 %391 to i64
  %393 = getelementptr inbounds [90000 x double], ptr @p, i64 0, i64 %392
  %394 = load double, ptr %393, align 8, !tbaa !9
  %395 = load i32, ptr @n2, align 4, !tbaa !5
  %396 = sext i32 %395 to i64
  %397 = getelementptr inbounds [90000 x double], ptr @p, i64 0, i64 %396
  %398 = load double, ptr %397, align 8, !tbaa !9
  %399 = fadd double %394, %398
  %400 = load i32, ptr @n3, align 4, !tbaa !5
  %401 = sext i32 %400 to i64
  %402 = getelementptr inbounds [90000 x double], ptr @p, i64 0, i64 %401
  %403 = load double, ptr %402, align 8, !tbaa !9
  %404 = fsub double %399, %403
  %405 = load i32, ptr @n4, align 4, !tbaa !5
  %406 = sext i32 %405 to i64
  %407 = getelementptr inbounds [90000 x double], ptr @p, i64 0, i64 %406
  %408 = load double, ptr %407, align 8, !tbaa !9
  %409 = fsub double %404, %408
  %410 = load double, ptr @nu, align 8, !tbaa !9
  %411 = load i32, ptr @n3, align 4, !tbaa !5
  %412 = sext i32 %411 to i64
  %413 = getelementptr inbounds [90000 x double], ptr @dvdx, i64 0, i64 %412
  %414 = load double, ptr %413, align 8, !tbaa !9
  %415 = load i32, ptr @n4, align 4, !tbaa !5
  %416 = sext i32 %415 to i64
  %417 = getelementptr inbounds [90000 x double], ptr @dvdx, i64 0, i64 %416
  %418 = load double, ptr %417, align 8, !tbaa !9
  %419 = fadd double %414, %418
  %420 = load i32, ptr @n1, align 4, !tbaa !5
  %421 = sext i32 %420 to i64
  %422 = getelementptr inbounds [90000 x double], ptr @dvdx, i64 0, i64 %421
  %423 = load double, ptr %422, align 8, !tbaa !9
  %424 = fsub double %419, %423
  %425 = load i32, ptr @n2, align 4, !tbaa !5
  %426 = sext i32 %425 to i64
  %427 = getelementptr inbounds [90000 x double], ptr @dvdx, i64 0, i64 %426
  %428 = load double, ptr %427, align 8, !tbaa !9
  %429 = fsub double %424, %428
  %430 = fmul double %410, %429
  %431 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %409, double %430)
  %432 = load double, ptr @dx, align 8, !tbaa !9
  %433 = fmul double %431, %432
  store double %433, ptr %17, align 8, !tbaa !9
  %434 = load double, ptr @nu, align 8, !tbaa !9
  %435 = fmul double 5.000000e-01, %434
  %436 = load double, ptr @dx, align 8, !tbaa !9
  %437 = fmul double %435, %436
  %438 = load i32, ptr @n3, align 4, !tbaa !5
  %439 = sext i32 %438 to i64
  %440 = getelementptr inbounds [90000 x double], ptr @dudy, i64 0, i64 %439
  %441 = load double, ptr %440, align 8, !tbaa !9
  %442 = load i32, ptr @n4, align 4, !tbaa !5
  %443 = sext i32 %442 to i64
  %444 = getelementptr inbounds [90000 x double], ptr @dudy, i64 0, i64 %443
  %445 = load double, ptr %444, align 8, !tbaa !9
  %446 = fadd double %441, %445
  %447 = load i32, ptr @n3, align 4, !tbaa !5
  %448 = sext i32 %447 to i64
  %449 = getelementptr inbounds [90000 x double], ptr @dvdx, i64 0, i64 %448
  %450 = load double, ptr %449, align 8, !tbaa !9
  %451 = fadd double %446, %450
  %452 = load i32, ptr @n4, align 4, !tbaa !5
  %453 = sext i32 %452 to i64
  %454 = getelementptr inbounds [90000 x double], ptr @dvdx, i64 0, i64 %453
  %455 = load double, ptr %454, align 8, !tbaa !9
  %456 = fadd double %451, %455
  %457 = load i32, ptr @n1, align 4, !tbaa !5
  %458 = sext i32 %457 to i64
  %459 = getelementptr inbounds [90000 x double], ptr @dudy, i64 0, i64 %458
  %460 = load double, ptr %459, align 8, !tbaa !9
  %461 = fsub double %456, %460
  %462 = load i32, ptr @n2, align 4, !tbaa !5
  %463 = sext i32 %462 to i64
  %464 = getelementptr inbounds [90000 x double], ptr @dudy, i64 0, i64 %463
  %465 = load double, ptr %464, align 8, !tbaa !9
  %466 = fsub double %461, %465
  %467 = load i32, ptr @n1, align 4, !tbaa !5
  %468 = sext i32 %467 to i64
  %469 = getelementptr inbounds [90000 x double], ptr @dvdx, i64 0, i64 %468
  %470 = load double, ptr %469, align 8, !tbaa !9
  %471 = fsub double %466, %470
  %472 = load i32, ptr @n2, align 4, !tbaa !5
  %473 = sext i32 %472 to i64
  %474 = getelementptr inbounds [90000 x double], ptr @dvdx, i64 0, i64 %473
  %475 = load double, ptr %474, align 8, !tbaa !9
  %476 = fsub double %471, %475
  %477 = fmul double %437, %476
  store double %477, ptr %15, align 8, !tbaa !9
  %478 = load double, ptr @nu, align 8, !tbaa !9
  %479 = fmul double 5.000000e-01, %478
  %480 = load double, ptr @dy, align 8, !tbaa !9
  %481 = fmul double %479, %480
  %482 = load i32, ptr @n2, align 4, !tbaa !5
  %483 = sext i32 %482 to i64
  %484 = getelementptr inbounds [90000 x double], ptr @dudy, i64 0, i64 %483
  %485 = load double, ptr %484, align 8, !tbaa !9
  %486 = load i32, ptr @n3, align 4, !tbaa !5
  %487 = sext i32 %486 to i64
  %488 = getelementptr inbounds [90000 x double], ptr @dudy, i64 0, i64 %487
  %489 = load double, ptr %488, align 8, !tbaa !9
  %490 = fadd double %485, %489
  %491 = load i32, ptr @n2, align 4, !tbaa !5
  %492 = sext i32 %491 to i64
  %493 = getelementptr inbounds [90000 x double], ptr @dvdx, i64 0, i64 %492
  %494 = load double, ptr %493, align 8, !tbaa !9
  %495 = fadd double %490, %494
  %496 = load i32, ptr @n3, align 4, !tbaa !5
  %497 = sext i32 %496 to i64
  %498 = getelementptr inbounds [90000 x double], ptr @dvdx, i64 0, i64 %497
  %499 = load double, ptr %498, align 8, !tbaa !9
  %500 = fadd double %495, %499
  %501 = load i32, ptr @n1, align 4, !tbaa !5
  %502 = sext i32 %501 to i64
  %503 = getelementptr inbounds [90000 x double], ptr @dudy, i64 0, i64 %502
  %504 = load double, ptr %503, align 8, !tbaa !9
  %505 = fsub double %500, %504
  %506 = load i32, ptr @n4, align 4, !tbaa !5
  %507 = sext i32 %506 to i64
  %508 = getelementptr inbounds [90000 x double], ptr @dudy, i64 0, i64 %507
  %509 = load double, ptr %508, align 8, !tbaa !9
  %510 = fsub double %505, %509
  %511 = load i32, ptr @n1, align 4, !tbaa !5
  %512 = sext i32 %511 to i64
  %513 = getelementptr inbounds [90000 x double], ptr @dvdx, i64 0, i64 %512
  %514 = load double, ptr %513, align 8, !tbaa !9
  %515 = fsub double %510, %514
  %516 = load i32, ptr @n4, align 4, !tbaa !5
  %517 = sext i32 %516 to i64
  %518 = getelementptr inbounds [90000 x double], ptr @dvdx, i64 0, i64 %517
  %519 = load double, ptr %518, align 8, !tbaa !9
  %520 = fsub double %515, %519
  %521 = fmul double %481, %520
  store double %521, ptr %18, align 8, !tbaa !9
  %522 = load double, ptr %14, align 8, !tbaa !9
  %523 = load double, ptr %15, align 8, !tbaa !9
  %524 = fadd double %522, %523
  %525 = load double, ptr %16, align 8, !tbaa !9
  %526 = fsub double %524, %525
  %527 = load double, ptr @rho, align 8, !tbaa !9
  %528 = load double, ptr @dx, align 8, !tbaa !9
  %529 = fmul double %527, %528
  %530 = load double, ptr @dy, align 8, !tbaa !9
  %531 = fmul double %529, %530
  %532 = fdiv double %526, %531
  store double %532, ptr @dudt, align 8, !tbaa !9
  %533 = load double, ptr %17, align 8, !tbaa !9
  %534 = load double, ptr %18, align 8, !tbaa !9
  %535 = fadd double %533, %534
  %536 = load double, ptr %19, align 8, !tbaa !9
  %537 = fsub double %535, %536
  %538 = load double, ptr @rho, align 8, !tbaa !9
  %539 = load double, ptr @dx, align 8, !tbaa !9
  %540 = fmul double %538, %539
  %541 = load double, ptr @dy, align 8, !tbaa !9
  %542 = fmul double %540, %541
  %543 = fdiv double %537, %542
  store double %543, ptr @dvdt, align 8, !tbaa !9
  %544 = load i32, ptr @n5, align 4, !tbaa !5
  %545 = sext i32 %544 to i64
  %546 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %545
  %547 = load double, ptr %546, align 8, !tbaa !9
  %548 = load double, ptr @dudt, align 8, !tbaa !9
  %549 = load double, ptr @dt, align 8, !tbaa !9
  %550 = call double @llvm.fmuladd.f64(double %548, double %549, double %547)
  %551 = load i32, ptr @n5, align 4, !tbaa !5
  %552 = sext i32 %551 to i64
  %553 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %552
  store double %550, ptr %553, align 8, !tbaa !9
  %554 = load i32, ptr @n5, align 4, !tbaa !5
  %555 = sext i32 %554 to i64
  %556 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %555
  %557 = load double, ptr %556, align 8, !tbaa !9
  %558 = load double, ptr @dvdt, align 8, !tbaa !9
  %559 = load double, ptr @dt, align 8, !tbaa !9
  %560 = call double @llvm.fmuladd.f64(double %558, double %559, double %557)
  %561 = load i32, ptr @n5, align 4, !tbaa !5
  %562 = sext i32 %561 to i64
  %563 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %562
  store double %560, ptr %563, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #3
  br label %564

564:                                              ; preds = %319
  %565 = load i32, ptr %1, align 4, !tbaa !5
  %566 = add nsw i32 %565, 1
  store i32 %566, ptr %1, align 4, !tbaa !5
  br label %20, !llvm.loop !11

567:                                              ; preds = %20
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #3
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; 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"

@u = external dso_local local_unnamed_addr global [90601 x double], align 16
@v = external dso_local local_unnamed_addr global [90601 x double], align 16
@p = external dso_local local_unnamed_addr global [90000 x double], align 16
@uav = external dso_local local_unnamed_addr global [90000 x double], align 16
@vav = external dso_local local_unnamed_addr global [90000 x double], align 16
@dudx = external dso_local local_unnamed_addr global [90000 x double], align 16
@dudy = external dso_local local_unnamed_addr global [90000 x double], align 16
@dvdx = external dso_local local_unnamed_addr global [90000 x double], align 16
@dudt = external dso_local local_unnamed_addr global double, align 8
@dvdt = external dso_local local_unnamed_addr global double, align 8
@dx = external dso_local local_unnamed_addr global double, align 8
@dy = external dso_local local_unnamed_addr global double, align 8
@dt = external dso_local local_unnamed_addr global double, align 8
@rho = external dso_local local_unnamed_addr global double, align 8
@nu = external dso_local local_unnamed_addr global double, align 8
@n = external dso_local local_unnamed_addr global i32, align 4
@k = external dso_local local_unnamed_addr global i32, align 4
@n1 = external dso_local local_unnamed_addr global i32, align 4
@n2 = external dso_local local_unnamed_addr global i32, align 4
@n3 = external dso_local local_unnamed_addr global i32, align 4
@n4 = external dso_local local_unnamed_addr global i32, align 4
@n5 = external dso_local local_unnamed_addr global i32, align 4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z6nodconii(i32 noundef, i32 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z6mombalv() local_unnamed_addr #0 {
  %1 = load i32, ptr @k, align 4, !tbaa !5
  %2 = add nsw i32 %1, -1
  %.not = icmp eq i32 %2, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %0, %103
  %3 = phi i32 [ %216, %103 ], [ %2, %0 ]
  %.065 = phi i32 [ %214, %103 ], [ 0, %0 ]
  tail call void @_Z6nodconii(i32 noundef %.065, i32 noundef %3)
  %4 = load double, ptr @rho, align 8, !tbaa !9
  %5 = fmul double %4, 5.000000e-01
  %6 = load i32, ptr @n3, align 4, !tbaa !5
  %7 = sext i32 %6 to i64
  %8 = getelementptr inbounds [90000 x double], ptr @vav, i64 0, i64 %7
  %9 = load double, ptr %8, align 8, !tbaa !9
  %10 = load i32, ptr @n4, align 4, !tbaa !5
  %11 = sext i32 %10 to i64
  %12 = getelementptr inbounds [90000 x double], ptr @vav, i64 0, i64 %11
  %13 = load double, ptr %12, align 8, !tbaa !9
  %14 = load double, ptr @dx, align 8, !tbaa !9
  %15 = load i32, ptr @n1, align 4, !tbaa !5
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds [90000 x double], ptr @vav, i64 0, i64 %16
  %18 = load double, ptr %17, align 8, !tbaa !9
  %19 = load i32, ptr @n2, align 4, !tbaa !5
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds [90000 x double], ptr @vav, i64 0, i64 %20
  %22 = load double, ptr %21, align 8, !tbaa !9
  %23 = getelementptr inbounds [90000 x double], ptr @uav, i64 0, i64 %20
  %24 = load double, ptr %23, align 8, !tbaa !9
  %25 = getelementptr inbounds [90000 x double], ptr @uav, i64 0, i64 %7
  %26 = load double, ptr %25, align 8, !tbaa !9
  %27 = load double, ptr @dy, align 8, !tbaa !9
  %28 = getelementptr inbounds [90000 x double], ptr @uav, i64 0, i64 %16
  %29 = load double, ptr %28, align 8, !tbaa !9
  %30 = getelementptr inbounds [90000 x double], ptr @uav, i64 0, i64 %11
  %31 = load double, ptr %30, align 8, !tbaa !9
  %32 = insertelement <8 x double> poison, double %18, i64 0
  %33 = insertelement <8 x double> %32, double %9, i64 1
  %34 = insertelement <8 x double> %33, double %29, i64 4
  %35 = insertelement <8 x double> %34, double %24, i64 5
  %36 = insertelement <8 x double> %35, double %26, i64 7
  %37 = shufflevector <8 x double> %36, <8 x double> poison, <8 x i32> <i32 0, i32 1, i32 0, i32 1, i32 4, i32 5, i32 5, i32 7>
  %38 = insertelement <8 x double> poison, double %22, i64 0
  %39 = insertelement <8 x double> %38, double %13, i64 2
  %40 = insertelement <8 x double> %39, double %31, i64 4
  %41 = insertelement <8 x double> %40, double %26, i64 5
  %42 = insertelement <8 x double> %41, double %29, i64 6
  %43 = shufflevector <8 x double> %42, <8 x double> poison, <8 x i32> <i32 0, i32 0, i32 2, i32 2, i32 4, i32 5, i32 6, i32 4>
  %44 = fadd <8 x double> %37, %43
  %45 = extractelement <8 x double> %44, i64 3
  %46 = fmul double %5, %45
  %47 = fmul double %14, %46
  %48 = extractelement <8 x double> %44, i64 5
  %49 = fmul double %5, %48
  %50 = fmul double %27, %49
  %51 = fmul <8 x double> %44, <double 5.000000e-01, double 5.000000e-01, double 5.000000e-01, double 5.000000e-01, double 5.000000e-01, double 5.000000e-01, double 5.000000e-01, double 5.000000e-01>
  %52 = load i32, ptr @k, align 4, !tbaa !5
  %53 = sitofp i32 %52 to double
  %54 = load double, ptr @nu, align 8, !tbaa !9
  %55 = fmul double %54, %53
  %56 = fdiv double 1.000000e+00, %55
  %57 = fcmp ogt double %56, 2.000000e+00
  br i1 %57, label %.sink.split, label %103

.sink.split:                                      ; preds = %.lr.ph
  %58 = extractelement <8 x double> %51, i64 4
  %59 = fcmp ogt double %58, 0.000000e+00
  %60 = load i32, ptr @n5, align 4, !tbaa !5
  %61 = sext i1 %59 to i32
  %.sink = add nsw i32 %60, %61
  %62 = sext i32 %.sink to i64
  %63 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %62
  %64 = load double, ptr %63, align 8, !tbaa !9
  %65 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %62
  %66 = load double, ptr %65, align 8, !tbaa !9
  %67 = extractelement <8 x double> %51, i64 5
  %68 = fcmp ule double %67, 0.000000e+00
  %69 = zext i1 %68 to i32
  %.sink78 = add nsw i32 %60, %69
  %70 = sext i32 %.sink78 to i64
  %71 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %70
  %72 = load double, ptr %71, align 8, !tbaa !9
  %73 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %70
  %74 = load double, ptr %73, align 8, !tbaa !9
  %75 = extractelement <8 x double> %51, i64 3
  %76 = fcmp ogt double %75, 0.000000e+00
  %77 = load i32, ptr @n, align 4
  %78 = select i1 %76, i32 0, i32 %77
  %.sink87 = add nsw i32 %60, %78
  %79 = sext i32 %.sink87 to i64
  %80 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %79
  %81 = load double, ptr %80, align 8, !tbaa !9
  %82 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %79
  %83 = load double, ptr %82, align 8, !tbaa !9
  %84 = extractelement <8 x double> %51, i64 0
  %85 = fcmp ogt double %84, 0.000000e+00
  %86 = load i32, ptr @n, align 4
  %87 = select i1 %85, i32 %86, i32 0
  %.sink96 = sub nsw i32 %60, %87
  %88 = sext i32 %.sink96 to i64
  %89 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %88
  %90 = load double, ptr %89, align 8, !tbaa !9
  %91 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %88
  %92 = load double, ptr %91, align 8, !tbaa !9
  %93 = insertelement <8 x double> poison, double %90, i64 0
  %94 = insertelement <8 x double> %93, double %74, i64 1
  %95 = insertelement <8 x double> %94, double %66, i64 2
  %96 = insertelement <8 x double> %95, double %81, i64 3
  %97 = insertelement <8 x double> %96, double %64, i64 4
  %98 = insertelement <8 x double> %97, double %72, i64 5
  %99 = insertelement <8 x double> %98, double %92, i64 6
  %100 = insertelement <8 x double> %99, double %83, i64 7
  %101 = fmul <8 x double> %100, <double 5.000000e-01, double 5.000000e-01, double 5.000000e-01, double 5.000000e-01, double 5.000000e-01, double 5.000000e-01, double 5.000000e-01, double 5.000000e-01>
  %102 = tail call <8 x double> @llvm.fmuladd.v8f64(<8 x double> %51, <8 x double> <double 5.000000e-01, double 5.000000e-01, double 5.000000e-01, double 5.000000e-01, double 5.000000e-01, double 5.000000e-01, double 5.000000e-01, double 5.000000e-01>, <8 x double> %101)
  br label %103

103:                                              ; preds = %.sink.split, %.lr.ph
  %104 = phi <8 x double> [ %51, %.lr.ph ], [ %102, %.sink.split ]
  %105 = fneg double %5
  %106 = extractelement <8 x double> %44, i64 0
  %107 = fmul double %106, %105
  %108 = fmul double %14, %107
  %109 = extractelement <8 x double> %104, i64 6
  %110 = fmul double %108, %109
  %111 = extractelement <8 x double> %104, i64 7
  %112 = tail call double @llvm.fmuladd.f64(double %47, double %111, double %110)
  %113 = extractelement <8 x double> %104, i64 5
  %114 = tail call double @llvm.fmuladd.f64(double %50, double %113, double %112)
  %115 = extractelement <8 x double> %44, i64 4
  %116 = fmul double %115, %105
  %117 = fmul double %27, %116
  %118 = extractelement <8 x double> %104, i64 4
  %119 = tail call double @llvm.fmuladd.f64(double %117, double %118, double %114)
  %120 = extractelement <8 x double> %104, i64 0
  %121 = fmul double %108, %120
  %122 = extractelement <8 x double> %104, i64 3
  %123 = tail call double @llvm.fmuladd.f64(double %47, double %122, double %121)
  %124 = extractelement <8 x double> %104, i64 1
  %125 = tail call double @llvm.fmuladd.f64(double %50, double %124, double %123)
  %126 = extractelement <8 x double> %104, i64 2
  %127 = tail call double @llvm.fmuladd.f64(double %117, double %126, double %125)
  %128 = getelementptr inbounds [90000 x double], ptr @p, i64 0, i64 %16
  %129 = load double, ptr %128, align 8, !tbaa !9
  %130 = getelementptr inbounds [90000 x double], ptr @p, i64 0, i64 %11
  %131 = load double, ptr %130, align 8, !tbaa !9
  %132 = fadd double %129, %131
  %133 = getelementptr inbounds [90000 x double], ptr @p, i64 0, i64 %7
  %134 = load double, ptr %133, align 8, !tbaa !9
  %135 = fsub double %132, %134
  %136 = getelementptr inbounds [90000 x double], ptr @p, i64 0, i64 %20
  %137 = load double, ptr %136, align 8, !tbaa !9
  %138 = fsub double %135, %137
  %139 = getelementptr inbounds [90000 x double], ptr @dudx, i64 0, i64 %20
  %140 = load double, ptr %139, align 8, !tbaa !9
  %141 = getelementptr inbounds [90000 x double], ptr @dudx, i64 0, i64 %7
  %142 = load double, ptr %141, align 8, !tbaa !9
  %143 = fadd double %140, %142
  %144 = getelementptr inbounds [90000 x double], ptr @dudx, i64 0, i64 %16
  %145 = load double, ptr %144, align 8, !tbaa !9
  %146 = fsub double %143, %145
  %147 = getelementptr inbounds [90000 x double], ptr @dudx, i64 0, i64 %11
  %148 = load double, ptr %147, align 8, !tbaa !9
  %149 = fsub double %146, %148
  %150 = fmul double %54, %149
  %151 = tail call double @llvm.fmuladd.f64(double %138, double 5.000000e-01, double %150)
  %152 = fmul double %27, %151
  %153 = fadd double %129, %137
  %154 = fsub double %153, %134
  %155 = fsub double %154, %131
  %156 = getelementptr inbounds [90000 x double], ptr @dvdx, i64 0, i64 %7
  %157 = load double, ptr %156, align 8, !tbaa !9
  %158 = getelementptr inbounds [90000 x double], ptr @dvdx, i64 0, i64 %11
  %159 = load double, ptr %158, align 8, !tbaa !9
  %160 = fadd double %157, %159
  %161 = getelementptr inbounds [90000 x double], ptr @dvdx, i64 0, i64 %16
  %162 = load double, ptr %161, align 8, !tbaa !9
  %163 = fsub double %160, %162
  %164 = getelementptr inbounds [90000 x double], ptr @dvdx, i64 0, i64 %20
  %165 = load double, ptr %164, align 8, !tbaa !9
  %166 = fsub double %163, %165
  %167 = fmul double %54, %166
  %168 = tail call double @llvm.fmuladd.f64(double %155, double 5.000000e-01, double %167)
  %169 = fmul double %14, %168
  %170 = fmul double %54, 5.000000e-01
  %171 = fmul double %14, %170
  %172 = getelementptr inbounds [90000 x double], ptr @dudy, i64 0, i64 %7
  %173 = load double, ptr %172, align 8, !tbaa !9
  %174 = getelementptr inbounds [90000 x double], ptr @dudy, i64 0, i64 %11
  %175 = load double, ptr %174, align 8, !tbaa !9
  %176 = fadd double %173, %175
  %177 = fadd double %157, %176
  %178 = fadd double %159, %177
  %179 = getelementptr inbounds [90000 x double], ptr @dudy, i64 0, i64 %16
  %180 = load double, ptr %179, align 8, !tbaa !9
  %181 = fsub double %178, %180
  %182 = getelementptr inbounds [90000 x double], ptr @dudy, i64 0, i64 %20
  %183 = load double, ptr %182, align 8, !tbaa !9
  %184 = fsub double %181, %183
  %185 = fsub double %184, %162
  %186 = fsub double %185, %165
  %187 = fmul double %171, %186
  %188 = fmul double %27, %170
  %189 = fadd double %173, %183
  %190 = fadd double %165, %189
  %191 = fadd double %157, %190
  %192 = fsub double %191, %180
  %193 = fsub double %192, %175
  %194 = fsub double %193, %162
  %195 = fsub double %194, %159
  %196 = fmul double %188, %195
  %197 = fadd double %152, %187
  %198 = fsub double %197, %119
  %199 = fmul double %4, %14
  %200 = fmul double %199, %27
  %201 = fdiv double %198, %200
  store double %201, ptr @dudt, align 8, !tbaa !9
  %202 = fadd double %169, %196
  %203 = fsub double %202, %127
  %204 = fdiv double %203, %200
  store double %204, ptr @dvdt, align 8, !tbaa !9
  %205 = load i32, ptr @n5, align 4, !tbaa !5
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %206
  %208 = load double, ptr %207, align 8, !tbaa !9
  %209 = load double, ptr @dt, align 8, !tbaa !9
  %210 = tail call double @llvm.fmuladd.f64(double %201, double %209, double %208)
  store double %210, ptr %207, align 8, !tbaa !9
  %211 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %206
  %212 = load double, ptr %211, align 8, !tbaa !9
  %213 = tail call double @llvm.fmuladd.f64(double %204, double %209, double %212)
  store double %213, ptr %211, align 8, !tbaa !9
  %214 = add nuw nsw i32 %.065, 1
  %215 = load i32, ptr @k, align 4, !tbaa !5
  %216 = add nsw i32 %215, -1
  %217 = mul nsw i32 %216, %216
  %218 = icmp ult i32 %214, %217
  br i1 %218, label %.lr.ph, label %._crit_edge, !llvm.loop !11

._crit_edge:                                      ; preds = %103, %0
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <8 x double> @llvm.fmuladd.v8f64(<8 x double>, <8 x double>, <8 x double>) #2

attributes #0 = { mustprogress 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass