; LLVM IR from ivan-pi/periodic-lbm :: third-party (dugks_cavity)

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

@ex = external dso_local global [3 x double], align 16
@ey = external dso_local global [3 x double], align 16
@dx = external dso_local global double, align 8
@yc = external dso_local global [32 x double], align 16
@xc = external dso_local global [32 x double], align 16
@dy = external dso_local global double, align 8
@dt = external dso_local global double, align 8
@w = external dso_local global double, align 8
@ux = external dso_local global [32 x [32 x double]], align 16
@uy = external dso_local global [32 x [32 x double]], align 16
@rho = external dso_local global [32 x [32 x double]], align 16
@f = external dso_local global [32 x [32 x [3 x [3 x double]]]], align 16
@f_plus = external dso_local global [32 x [32 x [3 x [3 x double]]]], align 16
@xf_face = external dso_local global [33 x [3 x [3 x double]]], align 16
@yf_face = external dso_local global [33 x [3 x [3 x double]]], align 16

; 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 speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

; Function Attrs: nounwind uwtable
define dso_local void @Evol() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %6

6:                                                ; preds = %101, %0
  %7 = load i32, ptr %2, align 4, !tbaa !5
  %8 = icmp sle i32 %7, 30
  br i1 %8, label %9, label %104

9:                                                ; preds = %6
  store i32 1, ptr %1, align 4, !tbaa !5
  br label %10

10:                                               ; preds = %97, %9
  %11 = load i32, ptr %1, align 4, !tbaa !5
  %12 = icmp sle i32 %11, 30
  br i1 %12, label %13, label %100

13:                                               ; preds = %10
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %14

14:                                               ; preds = %93, %13
  %15 = load i32, ptr %3, align 4, !tbaa !5
  %16 = icmp slt i32 %15, 3
  br i1 %16, label %17, label %96

17:                                               ; preds = %14
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %18

18:                                               ; preds = %89, %17
  %19 = load i32, ptr %4, align 4, !tbaa !5
  %20 = icmp slt i32 %19, 3
  br i1 %20, label %21, label %92

21:                                               ; preds = %18
  %22 = load i32, ptr %3, align 4, !tbaa !5
  %23 = load i32, ptr %4, align 4, !tbaa !5
  %24 = load i32, ptr %2, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %25
  %27 = load i32, ptr %1, align 4, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [32 x double], ptr %26, i64 0, i64 %28
  %30 = load double, ptr %29, align 8, !tbaa !9
  %31 = load i32, ptr %2, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %32
  %34 = load i32, ptr %1, align 4, !tbaa !5
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [32 x double], ptr %33, i64 0, i64 %35
  %37 = load double, ptr %36, align 8, !tbaa !9
  %38 = load i32, ptr %2, align 4, !tbaa !5
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %39
  %41 = load i32, ptr %1, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [32 x double], ptr %40, i64 0, i64 %42
  %44 = load double, ptr %43, align 8, !tbaa !9
  %45 = call double @feq(i32 noundef %22, i32 noundef %23, double noundef %30, double noundef %37, double noundef %44)
  store double %45, ptr %5, align 8, !tbaa !9
  %46 = load i32, ptr %2, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %47
  %49 = load i32, ptr %1, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [32 x [3 x [3 x double]]], ptr %48, i64 0, i64 %50
  %52 = load i32, ptr %3, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [3 x [3 x double]], ptr %51, i64 0, i64 %53
  %55 = load i32, ptr %4, align 4, !tbaa !5
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [3 x double], ptr %54, i64 0, i64 %56
  %58 = load double, ptr %57, align 8, !tbaa !9
  %59 = load double, ptr @w, align 8, !tbaa !9
  %60 = load i32, ptr %2, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %61
  %63 = load i32, ptr %1, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [32 x [3 x [3 x double]]], ptr %62, i64 0, i64 %64
  %66 = load i32, ptr %3, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [3 x [3 x double]], ptr %65, i64 0, i64 %67
  %69 = load i32, ptr %4, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [3 x double], ptr %68, i64 0, i64 %70
  %72 = load double, ptr %71, align 8, !tbaa !9
  %73 = load double, ptr %5, align 8, !tbaa !9
  %74 = fsub double %72, %73
  %75 = fneg double %59
  %76 = call double @llvm.fmuladd.f64(double %75, double %74, double %58)
  %77 = load i32, ptr %2, align 4, !tbaa !5
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f_plus, i64 0, i64 %78
  %80 = load i32, ptr %1, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [32 x [3 x [3 x double]]], ptr %79, i64 0, i64 %81
  %83 = load i32, ptr %3, align 4, !tbaa !5
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [3 x [3 x double]], ptr %82, i64 0, i64 %84
  %86 = load i32, ptr %4, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [3 x double], ptr %85, i64 0, i64 %87
  store double %76, ptr %88, align 8, !tbaa !9
  br label %89

89:                                               ; preds = %21
  %90 = load i32, ptr %4, align 4, !tbaa !5
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %4, align 4, !tbaa !5
  br label %18, !llvm.loop !11

92:                                               ; preds = %18
  br label %93

93:                                               ; preds = %92
  %94 = load i32, ptr %3, align 4, !tbaa !5
  %95 = add nsw i32 %94, 1
  store i32 %95, ptr %3, align 4, !tbaa !5
  br label %14, !llvm.loop !13

96:                                               ; preds = %14
  br label %97

97:                                               ; preds = %96
  %98 = load i32, ptr %1, align 4, !tbaa !5
  %99 = add nsw i32 %98, 1
  store i32 %99, ptr %1, align 4, !tbaa !5
  br label %10, !llvm.loop !14

100:                                              ; preds = %10
  br label %101

101:                                              ; preds = %100
  %102 = load i32, ptr %2, align 4, !tbaa !5
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %2, align 4, !tbaa !5
  br label %6, !llvm.loop !15

104:                                              ; preds = %6
  call void @boundary()
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %105

105:                                              ; preds = %218, %104
  %106 = load i32, ptr %2, align 4, !tbaa !5
  %107 = icmp sle i32 %106, 30
  br i1 %107, label %108, label %221

108:                                              ; preds = %105
  %109 = load i32, ptr %2, align 4, !tbaa !5
  call void @InterpX(i32 noundef %109)
  store i32 1, ptr %1, align 4, !tbaa !5
  br label %110

110:                                              ; preds = %214, %108
  %111 = load i32, ptr %1, align 4, !tbaa !5
  %112 = icmp sle i32 %111, 30
  br i1 %112, label %113, label %217

113:                                              ; preds = %110
  %114 = load i32, ptr %1, align 4, !tbaa !5
  %115 = add nsw i32 %114, 1
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [32 x double], ptr @xc, i64 0, i64 %116
  %118 = load double, ptr %117, align 8, !tbaa !9
  %119 = load i32, ptr %1, align 4, !tbaa !5
  %120 = sub nsw i32 %119, 1
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [32 x double], ptr @xc, i64 0, i64 %121
  %123 = load double, ptr %122, align 8, !tbaa !9
  %124 = fsub double %118, %123
  %125 = fmul double %124, 5.000000e-01
  store double %125, ptr @dx, align 8, !tbaa !9
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %126

126:                                              ; preds = %210, %113
  %127 = load i32, ptr %3, align 4, !tbaa !5
  %128 = icmp slt i32 %127, 3
  br i1 %128, label %129, label %213

129:                                              ; preds = %126
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %130

130:                                              ; preds = %206, %129
  %131 = load i32, ptr %4, align 4, !tbaa !5
  %132 = icmp slt i32 %131, 3
  br i1 %132, label %133, label %209

133:                                              ; preds = %130
  %134 = load i32, ptr %2, align 4, !tbaa !5
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f_plus, i64 0, i64 %135
  %137 = load i32, ptr %1, align 4, !tbaa !5
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [32 x [3 x [3 x double]]], ptr %136, i64 0, i64 %138
  %140 = load i32, ptr %3, align 4, !tbaa !5
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds [3 x [3 x double]], ptr %139, i64 0, i64 %141
  %143 = load i32, ptr %4, align 4, !tbaa !5
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [3 x double], ptr %142, i64 0, i64 %144
  %146 = load double, ptr %145, align 8, !tbaa !9
  %147 = load i32, ptr %2, align 4, !tbaa !5
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %148
  %150 = load i32, ptr %1, align 4, !tbaa !5
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds [32 x [3 x [3 x double]]], ptr %149, i64 0, i64 %151
  %153 = load i32, ptr %3, align 4, !tbaa !5
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds [3 x [3 x double]], ptr %152, i64 0, i64 %154
  %156 = load i32, ptr %4, align 4, !tbaa !5
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds [3 x double], ptr %155, i64 0, i64 %157
  %159 = load double, ptr %158, align 8, !tbaa !9
  %160 = fneg double %159
  %161 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %146, double %160)
  %162 = fdiv double %161, 3.000000e+00
  %163 = load i32, ptr %3, align 4, !tbaa !5
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds [3 x double], ptr @ex, i64 0, i64 %164
  %166 = load double, ptr %165, align 8, !tbaa !9
  %167 = load double, ptr @dt, align 8, !tbaa !9
  %168 = fmul double %166, %167
  %169 = load double, ptr @dx, align 8, !tbaa !9
  %170 = fdiv double %168, %169
  %171 = load i32, ptr %1, align 4, !tbaa !5
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [33 x [3 x [3 x double]]], ptr @xf_face, i64 0, i64 %172
  %174 = load i32, ptr %3, align 4, !tbaa !5
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds [3 x [3 x double]], ptr %173, i64 0, i64 %175
  %177 = load i32, ptr %4, align 4, !tbaa !5
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds [3 x double], ptr %176, i64 0, i64 %178
  %180 = load double, ptr %179, align 8, !tbaa !9
  %181 = load i32, ptr %1, align 4, !tbaa !5
  %182 = add nsw i32 %181, 1
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds [33 x [3 x [3 x double]]], ptr @xf_face, i64 0, i64 %183
  %185 = load i32, ptr %3, align 4, !tbaa !5
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds [3 x [3 x double]], ptr %184, i64 0, i64 %186
  %188 = load i32, ptr %4, align 4, !tbaa !5
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds [3 x double], ptr %187, i64 0, i64 %189
  %191 = load double, ptr %190, align 8, !tbaa !9
  %192 = fsub double %180, %191
  %193 = call double @llvm.fmuladd.f64(double %170, double %192, double %162)
  %194 = load i32, ptr %2, align 4, !tbaa !5
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %195
  %197 = load i32, ptr %1, align 4, !tbaa !5
  %198 = sext i32 %197 to i64
  %199 = getelementptr inbounds [32 x [3 x [3 x double]]], ptr %196, i64 0, i64 %198
  %200 = load i32, ptr %3, align 4, !tbaa !5
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds [3 x [3 x double]], ptr %199, i64 0, i64 %201
  %203 = load i32, ptr %4, align 4, !tbaa !5
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds [3 x double], ptr %202, i64 0, i64 %204
  store double %193, ptr %205, align 8, !tbaa !9
  br label %206

206:                                              ; preds = %133
  %207 = load i32, ptr %4, align 4, !tbaa !5
  %208 = add nsw i32 %207, 1
  store i32 %208, ptr %4, align 4, !tbaa !5
  br label %130, !llvm.loop !16

209:                                              ; preds = %130
  br label %210

210:                                              ; preds = %209
  %211 = load i32, ptr %3, align 4, !tbaa !5
  %212 = add nsw i32 %211, 1
  store i32 %212, ptr %3, align 4, !tbaa !5
  br label %126, !llvm.loop !17

213:                                              ; preds = %126
  br label %214

214:                                              ; preds = %213
  %215 = load i32, ptr %1, align 4, !tbaa !5
  %216 = add nsw i32 %215, 1
  store i32 %216, ptr %1, align 4, !tbaa !5
  br label %110, !llvm.loop !18

217:                                              ; preds = %110
  br label %218

218:                                              ; preds = %217
  %219 = load i32, ptr %2, align 4, !tbaa !5
  %220 = add nsw i32 %219, 1
  store i32 %220, ptr %2, align 4, !tbaa !5
  br label %105, !llvm.loop !19

221:                                              ; preds = %105
  store i32 1, ptr %1, align 4, !tbaa !5
  br label %222

222:                                              ; preds = %319, %221
  %223 = load i32, ptr %1, align 4, !tbaa !5
  %224 = icmp sle i32 %223, 30
  br i1 %224, label %225, label %322

225:                                              ; preds = %222
  %226 = load i32, ptr %1, align 4, !tbaa !5
  call void @InterpY(i32 noundef %226)
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %227

227:                                              ; preds = %315, %225
  %228 = load i32, ptr %2, align 4, !tbaa !5
  %229 = icmp sle i32 %228, 30
  br i1 %229, label %230, label %318

230:                                              ; preds = %227
  %231 = load i32, ptr %2, align 4, !tbaa !5
  %232 = add nsw i32 %231, 1
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds [32 x double], ptr @yc, i64 0, i64 %233
  %235 = load double, ptr %234, align 8, !tbaa !9
  %236 = load i32, ptr %2, align 4, !tbaa !5
  %237 = sub nsw i32 %236, 1
  %238 = sext i32 %237 to i64
  %239 = getelementptr inbounds [32 x double], ptr @yc, i64 0, i64 %238
  %240 = load double, ptr %239, align 8, !tbaa !9
  %241 = fsub double %235, %240
  %242 = fmul double %241, 5.000000e-01
  store double %242, ptr @dy, align 8, !tbaa !9
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %243

243:                                              ; preds = %311, %230
  %244 = load i32, ptr %3, align 4, !tbaa !5
  %245 = icmp slt i32 %244, 3
  br i1 %245, label %246, label %314

246:                                              ; preds = %243
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %247

247:                                              ; preds = %307, %246
  %248 = load i32, ptr %4, align 4, !tbaa !5
  %249 = icmp slt i32 %248, 3
  br i1 %249, label %250, label %310

250:                                              ; preds = %247
  %251 = load i32, ptr %2, align 4, !tbaa !5
  %252 = sext i32 %251 to i64
  %253 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %252
  %254 = load i32, ptr %1, align 4, !tbaa !5
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds [32 x [3 x [3 x double]]], ptr %253, i64 0, i64 %255
  %257 = load i32, ptr %3, align 4, !tbaa !5
  %258 = sext i32 %257 to i64
  %259 = getelementptr inbounds [3 x [3 x double]], ptr %256, i64 0, i64 %258
  %260 = load i32, ptr %4, align 4, !tbaa !5
  %261 = sext i32 %260 to i64
  %262 = getelementptr inbounds [3 x double], ptr %259, i64 0, i64 %261
  %263 = load double, ptr %262, align 8, !tbaa !9
  %264 = load i32, ptr %4, align 4, !tbaa !5
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds [3 x double], ptr @ey, i64 0, i64 %265
  %267 = load double, ptr %266, align 8, !tbaa !9
  %268 = load double, ptr @dt, align 8, !tbaa !9
  %269 = fmul double %267, %268
  %270 = load double, ptr @dy, align 8, !tbaa !9
  %271 = fdiv double %269, %270
  %272 = load i32, ptr %2, align 4, !tbaa !5
  %273 = sext i32 %272 to i64
  %274 = getelementptr inbounds [33 x [3 x [3 x double]]], ptr @yf_face, i64 0, i64 %273
  %275 = load i32, ptr %3, align 4, !tbaa !5
  %276 = sext i32 %275 to i64
  %277 = getelementptr inbounds [3 x [3 x double]], ptr %274, i64 0, i64 %276
  %278 = load i32, ptr %4, align 4, !tbaa !5
  %279 = sext i32 %278 to i64
  %280 = getelementptr inbounds [3 x double], ptr %277, i64 0, i64 %279
  %281 = load double, ptr %280, align 8, !tbaa !9
  %282 = load i32, ptr %2, align 4, !tbaa !5
  %283 = add nsw i32 %282, 1
  %284 = sext i32 %283 to i64
  %285 = getelementptr inbounds [33 x [3 x [3 x double]]], ptr @yf_face, i64 0, i64 %284
  %286 = load i32, ptr %3, align 4, !tbaa !5
  %287 = sext i32 %286 to i64
  %288 = getelementptr inbounds [3 x [3 x double]], ptr %285, i64 0, i64 %287
  %289 = load i32, ptr %4, align 4, !tbaa !5
  %290 = sext i32 %289 to i64
  %291 = getelementptr inbounds [3 x double], ptr %288, i64 0, i64 %290
  %292 = load double, ptr %291, align 8, !tbaa !9
  %293 = fsub double %281, %292
  %294 = call double @llvm.fmuladd.f64(double %271, double %293, double %263)
  %295 = load i32, ptr %2, align 4, !tbaa !5
  %296 = sext i32 %295 to i64
  %297 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %296
  %298 = load i32, ptr %1, align 4, !tbaa !5
  %299 = sext i32 %298 to i64
  %300 = getelementptr inbounds [32 x [3 x [3 x double]]], ptr %297, i64 0, i64 %299
  %301 = load i32, ptr %3, align 4, !tbaa !5
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds [3 x [3 x double]], ptr %300, i64 0, i64 %302
  %304 = load i32, ptr %4, align 4, !tbaa !5
  %305 = sext i32 %304 to i64
  %306 = getelementptr inbounds [3 x double], ptr %303, i64 0, i64 %305
  store double %294, ptr %306, align 8, !tbaa !9
  br label %307

307:                                              ; preds = %250
  %308 = load i32, ptr %4, align 4, !tbaa !5
  %309 = add nsw i32 %308, 1
  store i32 %309, ptr %4, align 4, !tbaa !5
  br label %247, !llvm.loop !20

310:                                              ; preds = %247
  br label %311

311:                                              ; preds = %310
  %312 = load i32, ptr %3, align 4, !tbaa !5
  %313 = add nsw i32 %312, 1
  store i32 %313, ptr %3, align 4, !tbaa !5
  br label %243, !llvm.loop !21

314:                                              ; preds = %243
  br label %315

315:                                              ; preds = %314
  %316 = load i32, ptr %2, align 4, !tbaa !5
  %317 = add nsw i32 %316, 1
  store i32 %317, ptr %2, align 4, !tbaa !5
  br label %227, !llvm.loop !22

318:                                              ; preds = %227
  br label %319

319:                                              ; preds = %318
  %320 = load i32, ptr %1, align 4, !tbaa !5
  %321 = add nsw i32 %320, 1
  store i32 %321, ptr %1, align 4, !tbaa !5
  br label %222, !llvm.loop !23

322:                                              ; preds = %222
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %323

323:                                              ; preds = %470, %322
  %324 = load i32, ptr %2, align 4, !tbaa !5
  %325 = icmp sle i32 %324, 30
  br i1 %325, label %326, label %473

326:                                              ; preds = %323
  store i32 1, ptr %1, align 4, !tbaa !5
  br label %327

327:                                              ; preds = %466, %326
  %328 = load i32, ptr %1, align 4, !tbaa !5
  %329 = icmp sle i32 %328, 30
  br i1 %329, label %330, label %469

330:                                              ; preds = %327
  %331 = load i32, ptr %2, align 4, !tbaa !5
  %332 = sext i32 %331 to i64
  %333 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %332
  %334 = load i32, ptr %1, align 4, !tbaa !5
  %335 = sext i32 %334 to i64
  %336 = getelementptr inbounds [32 x double], ptr %333, i64 0, i64 %335
  store double 0.000000e+00, ptr %336, align 8, !tbaa !9
  %337 = load i32, ptr %2, align 4, !tbaa !5
  %338 = sext i32 %337 to i64
  %339 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %338
  %340 = load i32, ptr %1, align 4, !tbaa !5
  %341 = sext i32 %340 to i64
  %342 = getelementptr inbounds [32 x double], ptr %339, i64 0, i64 %341
  store double 0.000000e+00, ptr %342, align 8, !tbaa !9
  %343 = load i32, ptr %2, align 4, !tbaa !5
  %344 = sext i32 %343 to i64
  %345 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %344
  %346 = load i32, ptr %1, align 4, !tbaa !5
  %347 = sext i32 %346 to i64
  %348 = getelementptr inbounds [32 x double], ptr %345, i64 0, i64 %347
  store double 0.000000e+00, ptr %348, align 8, !tbaa !9
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %349

349:                                              ; preds = %432, %330
  %350 = load i32, ptr %3, align 4, !tbaa !5
  %351 = icmp slt i32 %350, 3
  br i1 %351, label %352, label %435

352:                                              ; preds = %349
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %353

353:                                              ; preds = %428, %352
  %354 = load i32, ptr %4, align 4, !tbaa !5
  %355 = icmp slt i32 %354, 3
  br i1 %355, label %356, label %431

356:                                              ; preds = %353
  %357 = load i32, ptr %2, align 4, !tbaa !5
  %358 = sext i32 %357 to i64
  %359 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %358
  %360 = load i32, ptr %1, align 4, !tbaa !5
  %361 = sext i32 %360 to i64
  %362 = getelementptr inbounds [32 x [3 x [3 x double]]], ptr %359, i64 0, i64 %361
  %363 = load i32, ptr %3, align 4, !tbaa !5
  %364 = sext i32 %363 to i64
  %365 = getelementptr inbounds [3 x [3 x double]], ptr %362, i64 0, i64 %364
  %366 = load i32, ptr %4, align 4, !tbaa !5
  %367 = sext i32 %366 to i64
  %368 = getelementptr inbounds [3 x double], ptr %365, i64 0, i64 %367
  %369 = load double, ptr %368, align 8, !tbaa !9
  %370 = load i32, ptr %2, align 4, !tbaa !5
  %371 = sext i32 %370 to i64
  %372 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %371
  %373 = load i32, ptr %1, align 4, !tbaa !5
  %374 = sext i32 %373 to i64
  %375 = getelementptr inbounds [32 x double], ptr %372, i64 0, i64 %374
  %376 = load double, ptr %375, align 8, !tbaa !9
  %377 = fadd double %376, %369
  store double %377, ptr %375, align 8, !tbaa !9
  %378 = load i32, ptr %3, align 4, !tbaa !5
  %379 = sext i32 %378 to i64
  %380 = getelementptr inbounds [3 x double], ptr @ex, i64 0, i64 %379
  %381 = load double, ptr %380, align 8, !tbaa !9
  %382 = load i32, ptr %2, align 4, !tbaa !5
  %383 = sext i32 %382 to i64
  %384 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %383
  %385 = load i32, ptr %1, align 4, !tbaa !5
  %386 = sext i32 %385 to i64
  %387 = getelementptr inbounds [32 x [3 x [3 x double]]], ptr %384, i64 0, i64 %386
  %388 = load i32, ptr %3, align 4, !tbaa !5
  %389 = sext i32 %388 to i64
  %390 = getelementptr inbounds [3 x [3 x double]], ptr %387, i64 0, i64 %389
  %391 = load i32, ptr %4, align 4, !tbaa !5
  %392 = sext i32 %391 to i64
  %393 = getelementptr inbounds [3 x double], ptr %390, i64 0, i64 %392
  %394 = load double, ptr %393, align 8, !tbaa !9
  %395 = load i32, ptr %2, align 4, !tbaa !5
  %396 = sext i32 %395 to i64
  %397 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %396
  %398 = load i32, ptr %1, align 4, !tbaa !5
  %399 = sext i32 %398 to i64
  %400 = getelementptr inbounds [32 x double], ptr %397, i64 0, i64 %399
  %401 = load double, ptr %400, align 8, !tbaa !9
  %402 = call double @llvm.fmuladd.f64(double %381, double %394, double %401)
  store double %402, ptr %400, align 8, !tbaa !9
  %403 = load i32, ptr %4, align 4, !tbaa !5
  %404 = sext i32 %403 to i64
  %405 = getelementptr inbounds [3 x double], ptr @ey, i64 0, i64 %404
  %406 = load double, ptr %405, align 8, !tbaa !9
  %407 = load i32, ptr %2, align 4, !tbaa !5
  %408 = sext i32 %407 to i64
  %409 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %408
  %410 = load i32, ptr %1, align 4, !tbaa !5
  %411 = sext i32 %410 to i64
  %412 = getelementptr inbounds [32 x [3 x [3 x double]]], ptr %409, i64 0, i64 %411
  %413 = load i32, ptr %3, align 4, !tbaa !5
  %414 = sext i32 %413 to i64
  %415 = getelementptr inbounds [3 x [3 x double]], ptr %412, i64 0, i64 %414
  %416 = load i32, ptr %4, align 4, !tbaa !5
  %417 = sext i32 %416 to i64
  %418 = getelementptr inbounds [3 x double], ptr %415, i64 0, i64 %417
  %419 = load double, ptr %418, align 8, !tbaa !9
  %420 = load i32, ptr %2, align 4, !tbaa !5
  %421 = sext i32 %420 to i64
  %422 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %421
  %423 = load i32, ptr %1, align 4, !tbaa !5
  %424 = sext i32 %423 to i64
  %425 = getelementptr inbounds [32 x double], ptr %422, i64 0, i64 %424
  %426 = load double, ptr %425, align 8, !tbaa !9
  %427 = call double @llvm.fmuladd.f64(double %406, double %419, double %426)
  store double %427, ptr %425, align 8, !tbaa !9
  br label %428

428:                                              ; preds = %356
  %429 = load i32, ptr %4, align 4, !tbaa !5
  %430 = add nsw i32 %429, 1
  store i32 %430, ptr %4, align 4, !tbaa !5
  br label %353, !llvm.loop !24

431:                                              ; preds = %353
  br label %432

432:                                              ; preds = %431
  %433 = load i32, ptr %3, align 4, !tbaa !5
  %434 = add nsw i32 %433, 1
  store i32 %434, ptr %3, align 4, !tbaa !5
  br label %349, !llvm.loop !25

435:                                              ; preds = %349
  %436 = load i32, ptr %2, align 4, !tbaa !5
  %437 = sext i32 %436 to i64
  %438 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %437
  %439 = load i32, ptr %1, align 4, !tbaa !5
  %440 = sext i32 %439 to i64
  %441 = getelementptr inbounds [32 x double], ptr %438, i64 0, i64 %440
  %442 = load double, ptr %441, align 8, !tbaa !9
  %443 = load i32, ptr %2, align 4, !tbaa !5
  %444 = sext i32 %443 to i64
  %445 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %444
  %446 = load i32, ptr %1, align 4, !tbaa !5
  %447 = sext i32 %446 to i64
  %448 = getelementptr inbounds [32 x double], ptr %445, i64 0, i64 %447
  %449 = load double, ptr %448, align 8, !tbaa !9
  %450 = fdiv double %449, %442
  store double %450, ptr %448, align 8, !tbaa !9
  %451 = load i32, ptr %2, align 4, !tbaa !5
  %452 = sext i32 %451 to i64
  %453 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %452
  %454 = load i32, ptr %1, align 4, !tbaa !5
  %455 = sext i32 %454 to i64
  %456 = getelementptr inbounds [32 x double], ptr %453, i64 0, i64 %455
  %457 = load double, ptr %456, align 8, !tbaa !9
  %458 = load i32, ptr %2, align 4, !tbaa !5
  %459 = sext i32 %458 to i64
  %460 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %459
  %461 = load i32, ptr %1, align 4, !tbaa !5
  %462 = sext i32 %461 to i64
  %463 = getelementptr inbounds [32 x double], ptr %460, i64 0, i64 %462
  %464 = load double, ptr %463, align 8, !tbaa !9
  %465 = fdiv double %464, %457
  store double %465, ptr %463, align 8, !tbaa !9
  br label %466

466:                                              ; preds = %435
  %467 = load i32, ptr %1, align 4, !tbaa !5
  %468 = add nsw i32 %467, 1
  store i32 %468, ptr %1, align 4, !tbaa !5
  br label %327, !llvm.loop !26

469:                                              ; preds = %327
  br label %470

470:                                              ; preds = %469
  %471 = load i32, ptr %2, align 4, !tbaa !5
  %472 = add nsw i32 %471, 1
  store i32 %472, ptr %2, align 4, !tbaa !5
  br label %323, !llvm.loop !27

473:                                              ; preds = %323
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #3
  ret void
}

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

; Function Attrs: nounwind uwtable
declare dso_local double @feq(i32 noundef, i32 noundef, double noundef, double noundef, double noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @boundary() #2

; Function Attrs: nounwind uwtable
declare dso_local void @InterpX(i32 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @InterpY(i32 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}
!23 = distinct !{!23, !12}
!24 = distinct !{!24, !12}
!25 = distinct !{!25, !12}
!26 = distinct !{!26, !12}
!27 = distinct !{!27, !12}


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

@ex = external dso_local local_unnamed_addr global [3 x double], align 16
@ey = external dso_local local_unnamed_addr global [3 x double], align 16
@dx = external dso_local local_unnamed_addr global double, align 8
@yc = external dso_local local_unnamed_addr global [32 x double], align 16
@xc = external dso_local local_unnamed_addr global [32 x double], align 16
@dy = external dso_local local_unnamed_addr global double, align 8
@dt = external dso_local local_unnamed_addr global double, align 8
@w = external dso_local local_unnamed_addr global double, align 8
@ux = external dso_local local_unnamed_addr global [32 x [32 x double]], align 16
@uy = external dso_local local_unnamed_addr global [32 x [32 x double]], align 16
@rho = external dso_local local_unnamed_addr global [32 x [32 x double]], align 16
@f = external dso_local local_unnamed_addr global [32 x [32 x [3 x [3 x double]]]], align 16
@f_plus = external dso_local local_unnamed_addr global [32 x [32 x [3 x [3 x double]]]], align 16
@xf_face = external dso_local local_unnamed_addr global [33 x [3 x [3 x double]]], align 16
@yf_face = external dso_local local_unnamed_addr global [33 x [3 x [3 x double]]], align 16

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

; Function Attrs: nounwind uwtable
define dso_local void @Evol() local_unnamed_addr #1 {
  br label %.preheader146

.preheader146:                                    ; preds = %0, %103
  %indvars.iv184 = phi i64 [ 1, %0 ], [ %indvars.iv.next185, %103 ]
  br label %.preheader145

.preheader145:                                    ; preds = %.preheader146, %.preheader145
  %indvars.iv = phi i64 [ 1, %.preheader146 ], [ %indvars.iv.next, %.preheader145 ]
  %1 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv184, i64 %indvars.iv
  %2 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv184, i64 %indvars.iv
  %3 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv184, i64 %indvars.iv
  %4 = load double, ptr %1, align 8, !tbaa !5
  %5 = load double, ptr %2, align 8, !tbaa !5
  %6 = load double, ptr %3, align 8, !tbaa !5
  %7 = tail call double @feq(i32 noundef 0, i32 noundef 0, double noundef %4, double noundef %5, double noundef %6)
  %8 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv184, i64 %indvars.iv, i64 0, i64 0
  %9 = load double, ptr %8, align 8, !tbaa !5
  %10 = load double, ptr @w, align 8, !tbaa !5
  %11 = fsub double %9, %7
  %12 = fneg double %10
  %13 = tail call double @llvm.fmuladd.f64(double %12, double %11, double %9)
  %14 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f_plus, i64 0, i64 %indvars.iv184, i64 %indvars.iv, i64 0, i64 0
  store double %13, ptr %14, align 8, !tbaa !5
  %15 = load double, ptr %1, align 8, !tbaa !5
  %16 = load double, ptr %2, align 8, !tbaa !5
  %17 = load double, ptr %3, align 8, !tbaa !5
  %18 = tail call double @feq(i32 noundef 0, i32 noundef 1, double noundef %15, double noundef %16, double noundef %17)
  %19 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv184, i64 %indvars.iv, i64 0, i64 1
  %20 = load double, ptr %19, align 8, !tbaa !5
  %21 = load double, ptr @w, align 8, !tbaa !5
  %22 = fsub double %20, %18
  %23 = fneg double %21
  %24 = tail call double @llvm.fmuladd.f64(double %23, double %22, double %20)
  %25 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f_plus, i64 0, i64 %indvars.iv184, i64 %indvars.iv, i64 0, i64 1
  store double %24, ptr %25, align 8, !tbaa !5
  %26 = load double, ptr %1, align 8, !tbaa !5
  %27 = load double, ptr %2, align 8, !tbaa !5
  %28 = load double, ptr %3, align 8, !tbaa !5
  %29 = tail call double @feq(i32 noundef 0, i32 noundef 2, double noundef %26, double noundef %27, double noundef %28)
  %30 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv184, i64 %indvars.iv, i64 0, i64 2
  %31 = load double, ptr %30, align 8, !tbaa !5
  %32 = load double, ptr @w, align 8, !tbaa !5
  %33 = fsub double %31, %29
  %34 = fneg double %32
  %35 = tail call double @llvm.fmuladd.f64(double %34, double %33, double %31)
  %36 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f_plus, i64 0, i64 %indvars.iv184, i64 %indvars.iv, i64 0, i64 2
  store double %35, ptr %36, align 8, !tbaa !5
  %37 = load double, ptr %1, align 8, !tbaa !5
  %38 = load double, ptr %2, align 8, !tbaa !5
  %39 = load double, ptr %3, align 8, !tbaa !5
  %40 = tail call double @feq(i32 noundef 1, i32 noundef 0, double noundef %37, double noundef %38, double noundef %39)
  %41 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv184, i64 %indvars.iv, i64 1, i64 0
  %42 = load double, ptr %41, align 8, !tbaa !5
  %43 = load double, ptr @w, align 8, !tbaa !5
  %44 = fsub double %42, %40
  %45 = fneg double %43
  %46 = tail call double @llvm.fmuladd.f64(double %45, double %44, double %42)
  %47 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f_plus, i64 0, i64 %indvars.iv184, i64 %indvars.iv, i64 1, i64 0
  store double %46, ptr %47, align 8, !tbaa !5
  %48 = load double, ptr %1, align 8, !tbaa !5
  %49 = load double, ptr %2, align 8, !tbaa !5
  %50 = load double, ptr %3, align 8, !tbaa !5
  %51 = tail call double @feq(i32 noundef 1, i32 noundef 1, double noundef %48, double noundef %49, double noundef %50)
  %52 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv184, i64 %indvars.iv, i64 1, i64 1
  %53 = load double, ptr %52, align 8, !tbaa !5
  %54 = load double, ptr @w, align 8, !tbaa !5
  %55 = fsub double %53, %51
  %56 = fneg double %54
  %57 = tail call double @llvm.fmuladd.f64(double %56, double %55, double %53)
  %58 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f_plus, i64 0, i64 %indvars.iv184, i64 %indvars.iv, i64 1, i64 1
  store double %57, ptr %58, align 8, !tbaa !5
  %59 = load double, ptr %1, align 8, !tbaa !5
  %60 = load double, ptr %2, align 8, !tbaa !5
  %61 = load double, ptr %3, align 8, !tbaa !5
  %62 = tail call double @feq(i32 noundef 1, i32 noundef 2, double noundef %59, double noundef %60, double noundef %61)
  %63 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv184, i64 %indvars.iv, i64 1, i64 2
  %64 = load double, ptr %63, align 8, !tbaa !5
  %65 = load double, ptr @w, align 8, !tbaa !5
  %66 = fsub double %64, %62
  %67 = fneg double %65
  %68 = tail call double @llvm.fmuladd.f64(double %67, double %66, double %64)
  %69 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f_plus, i64 0, i64 %indvars.iv184, i64 %indvars.iv, i64 1, i64 2
  store double %68, ptr %69, align 8, !tbaa !5
  %70 = load double, ptr %1, align 8, !tbaa !5
  %71 = load double, ptr %2, align 8, !tbaa !5
  %72 = load double, ptr %3, align 8, !tbaa !5
  %73 = tail call double @feq(i32 noundef 2, i32 noundef 0, double noundef %70, double noundef %71, double noundef %72)
  %74 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv184, i64 %indvars.iv, i64 2, i64 0
  %75 = load double, ptr %74, align 8, !tbaa !5
  %76 = load double, ptr @w, align 8, !tbaa !5
  %77 = fsub double %75, %73
  %78 = fneg double %76
  %79 = tail call double @llvm.fmuladd.f64(double %78, double %77, double %75)
  %80 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f_plus, i64 0, i64 %indvars.iv184, i64 %indvars.iv, i64 2, i64 0
  store double %79, ptr %80, align 8, !tbaa !5
  %81 = load double, ptr %1, align 8, !tbaa !5
  %82 = load double, ptr %2, align 8, !tbaa !5
  %83 = load double, ptr %3, align 8, !tbaa !5
  %84 = tail call double @feq(i32 noundef 2, i32 noundef 1, double noundef %81, double noundef %82, double noundef %83)
  %85 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv184, i64 %indvars.iv, i64 2, i64 1
  %86 = load double, ptr %85, align 8, !tbaa !5
  %87 = load double, ptr @w, align 8, !tbaa !5
  %88 = fsub double %86, %84
  %89 = fneg double %87
  %90 = tail call double @llvm.fmuladd.f64(double %89, double %88, double %86)
  %91 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f_plus, i64 0, i64 %indvars.iv184, i64 %indvars.iv, i64 2, i64 1
  store double %90, ptr %91, align 8, !tbaa !5
  %92 = load double, ptr %1, align 8, !tbaa !5
  %93 = load double, ptr %2, align 8, !tbaa !5
  %94 = load double, ptr %3, align 8, !tbaa !5
  %95 = tail call double @feq(i32 noundef 2, i32 noundef 2, double noundef %92, double noundef %93, double noundef %94)
  %96 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv184, i64 %indvars.iv, i64 2, i64 2
  %97 = load double, ptr %96, align 8, !tbaa !5
  %98 = load double, ptr @w, align 8, !tbaa !5
  %99 = fsub double %97, %95
  %100 = fneg double %98
  %101 = tail call double @llvm.fmuladd.f64(double %100, double %99, double %97)
  %102 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f_plus, i64 0, i64 %indvars.iv184, i64 %indvars.iv, i64 2, i64 2
  store double %101, ptr %102, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 31
  br i1 %exitcond.not, label %103, label %.preheader145, !llvm.loop !9

103:                                              ; preds = %.preheader145
  %indvars.iv.next185 = add nuw nsw i64 %indvars.iv184, 1
  %exitcond187.not = icmp eq i64 %indvars.iv.next185, 31
  br i1 %exitcond187.not, label %104, label %.preheader146, !llvm.loop !11

104:                                              ; preds = %103
  tail call void @boundary()
  br label %105

105:                                              ; preds = %104, %193
  %indvars.iv200 = phi i64 [ 1, %104 ], [ %indvars.iv.next201, %193 ]
  %106 = trunc nuw nsw i64 %indvars.iv200 to i32
  tail call void @InterpX(i32 noundef %106)
  %107 = load double, ptr @dt, align 8, !tbaa !5
  %108 = load <2 x double>, ptr getelementptr inbounds (i8, ptr @xf_face, i64 104), align 8, !tbaa !5
  %.pre240 = load double, ptr getelementptr inbounds (i8, ptr @ex, i64 16), align 16, !tbaa !5
  %109 = load <2 x double>, ptr getelementptr inbounds (i8, ptr @xf_face, i64 88), align 8, !tbaa !5
  %110 = load <2 x double>, ptr @ex, align 16, !tbaa !5
  %111 = insertelement <2 x double> poison, double %107, i64 0
  %112 = shufflevector <2 x double> %111, <2 x double> poison, <2 x i32> zeroinitializer
  %113 = fmul <2 x double> %110, %112
  %114 = fmul double %.pre240, %107
  br label %.preheader142

.preheader142:                                    ; preds = %105, %.preheader142
  %indvars.iv196 = phi i64 [ 1, %105 ], [ %indvars.iv.next197, %.preheader142 ]
  %115 = phi <2 x double> [ %109, %105 ], [ %149, %.preheader142 ]
  %116 = phi <2 x double> [ %108, %105 ], [ %160, %.preheader142 ]
  %indvars.iv.next197 = add nuw nsw i64 %indvars.iv196, 1
  %117 = getelementptr inbounds [32 x double], ptr @xc, i64 0, i64 %indvars.iv.next197
  %118 = load double, ptr %117, align 8, !tbaa !5
  %119 = add nsw i64 %indvars.iv196, -1
  %120 = getelementptr inbounds [32 x double], ptr @xc, i64 0, i64 %119
  %121 = load double, ptr %120, align 8, !tbaa !5
  %122 = fsub double %118, %121
  %123 = fmul double %122, 5.000000e-01
  %124 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f_plus, i64 0, i64 %indvars.iv200, i64 %indvars.iv196, i64 0, i64 0
  %125 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv200, i64 %indvars.iv196, i64 0, i64 0
  %126 = getelementptr inbounds [33 x [3 x [3 x double]]], ptr @xf_face, i64 0, i64 %indvars.iv196, i64 0, i64 0
  %127 = getelementptr inbounds [33 x [3 x [3 x double]]], ptr @xf_face, i64 0, i64 %indvars.iv.next197, i64 0, i64 0
  %128 = load <2 x double>, ptr %124, align 8, !tbaa !5
  %129 = load <2 x double>, ptr %125, align 8, !tbaa !5
  %130 = fneg <2 x double> %129
  %131 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %128, <2 x double> <double 4.000000e+00, double 4.000000e+00>, <2 x double> %130)
  %132 = fdiv <2 x double> %131, <double 3.000000e+00, double 3.000000e+00>
  %133 = load <2 x double>, ptr %126, align 8, !tbaa !5
  %134 = load <2 x double>, ptr %127, align 8, !tbaa !5
  %135 = fsub <2 x double> %133, %134
  %136 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f_plus, i64 0, i64 %indvars.iv200, i64 %indvars.iv196, i64 0, i64 2
  %137 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv200, i64 %indvars.iv196, i64 0, i64 2
  %138 = getelementptr inbounds [33 x [3 x [3 x double]]], ptr @xf_face, i64 0, i64 %indvars.iv.next197, i64 0, i64 2
  %139 = insertelement <2 x double> poison, double %123, i64 0
  %140 = shufflevector <2 x double> %139, <2 x double> poison, <2 x i32> zeroinitializer
  %141 = fdiv <2 x double> %113, %140
  %142 = shufflevector <2 x double> %141, <2 x double> poison, <2 x i32> zeroinitializer
  %143 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %142, <2 x double> %135, <2 x double> %132)
  store <2 x double> %143, ptr %125, align 8, !tbaa !5
  %144 = load <2 x double>, ptr %136, align 8, !tbaa !5
  %145 = load <2 x double>, ptr %137, align 8, !tbaa !5
  %146 = fneg <2 x double> %145
  %147 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %144, <2 x double> <double 4.000000e+00, double 4.000000e+00>, <2 x double> %146)
  %148 = fdiv <2 x double> %147, <double 3.000000e+00, double 3.000000e+00>
  %149 = load <2 x double>, ptr %138, align 8, !tbaa !5
  %150 = fsub <2 x double> %115, %149
  %151 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %141, <2 x double> %150, <2 x double> %148)
  store <2 x double> %151, ptr %137, align 8, !tbaa !5
  %152 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f_plus, i64 0, i64 %indvars.iv200, i64 %indvars.iv196, i64 1, i64 1
  %153 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv200, i64 %indvars.iv196, i64 1, i64 1
  %154 = getelementptr inbounds [33 x [3 x [3 x double]]], ptr @xf_face, i64 0, i64 %indvars.iv.next197, i64 1, i64 1
  %155 = load <2 x double>, ptr %152, align 8, !tbaa !5
  %156 = load <2 x double>, ptr %153, align 8, !tbaa !5
  %157 = fneg <2 x double> %156
  %158 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %155, <2 x double> <double 4.000000e+00, double 4.000000e+00>, <2 x double> %157)
  %159 = fdiv <2 x double> %158, <double 3.000000e+00, double 3.000000e+00>
  %160 = load <2 x double>, ptr %154, align 8, !tbaa !5
  %161 = fsub <2 x double> %116, %160
  %162 = shufflevector <2 x double> %141, <2 x double> poison, <2 x i32> <i32 1, i32 1>
  %163 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %162, <2 x double> %161, <2 x double> %159)
  store <2 x double> %163, ptr %153, align 8, !tbaa !5
  %164 = fdiv double %114, %123
  %165 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f_plus, i64 0, i64 %indvars.iv200, i64 %indvars.iv196, i64 2, i64 0
  %166 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv200, i64 %indvars.iv196, i64 2, i64 0
  %167 = getelementptr inbounds [33 x [3 x [3 x double]]], ptr @xf_face, i64 0, i64 %indvars.iv196, i64 2, i64 0
  %168 = getelementptr inbounds [33 x [3 x [3 x double]]], ptr @xf_face, i64 0, i64 %indvars.iv.next197, i64 2, i64 0
  %169 = load <2 x double>, ptr %165, align 8, !tbaa !5
  %170 = load <2 x double>, ptr %166, align 8, !tbaa !5
  %171 = fneg <2 x double> %170
  %172 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %169, <2 x double> <double 4.000000e+00, double 4.000000e+00>, <2 x double> %171)
  %173 = fdiv <2 x double> %172, <double 3.000000e+00, double 3.000000e+00>
  %174 = load <2 x double>, ptr %167, align 8, !tbaa !5
  %175 = load <2 x double>, ptr %168, align 8, !tbaa !5
  %176 = fsub <2 x double> %174, %175
  %177 = insertelement <2 x double> poison, double %164, i64 0
  %178 = shufflevector <2 x double> %177, <2 x double> poison, <2 x i32> zeroinitializer
  %179 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %178, <2 x double> %176, <2 x double> %173)
  store <2 x double> %179, ptr %166, align 8, !tbaa !5
  %180 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f_plus, i64 0, i64 %indvars.iv200, i64 %indvars.iv196, i64 2, i64 2
  %181 = load double, ptr %180, align 8, !tbaa !5
  %182 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv200, i64 %indvars.iv196, i64 2, i64 2
  %183 = load double, ptr %182, align 8, !tbaa !5
  %184 = fneg double %183
  %185 = tail call double @llvm.fmuladd.f64(double %181, double 4.000000e+00, double %184)
  %186 = fdiv double %185, 3.000000e+00
  %187 = getelementptr inbounds [33 x [3 x [3 x double]]], ptr @xf_face, i64 0, i64 %indvars.iv196, i64 2, i64 2
  %188 = load double, ptr %187, align 8, !tbaa !5
  %189 = getelementptr inbounds [33 x [3 x [3 x double]]], ptr @xf_face, i64 0, i64 %indvars.iv.next197, i64 2, i64 2
  %190 = load double, ptr %189, align 8, !tbaa !5
  %191 = fsub double %188, %190
  %192 = tail call double @llvm.fmuladd.f64(double %164, double %191, double %186)
  store double %192, ptr %182, align 8, !tbaa !5
  %exitcond199.not = icmp eq i64 %indvars.iv.next197, 31
  br i1 %exitcond199.not, label %193, label %.preheader142, !llvm.loop !12

193:                                              ; preds = %.preheader142
  store double %123, ptr @dx, align 8, !tbaa !5
  %indvars.iv.next201 = add nuw nsw i64 %indvars.iv200, 1
  %exitcond203.not = icmp eq i64 %indvars.iv.next201, 31
  br i1 %exitcond203.not, label %.preheader141, label %105, !llvm.loop !13

.preheader141:                                    ; preds = %193, %258
  %indvars.iv216 = phi i64 [ %indvars.iv.next217, %258 ], [ 1, %193 ]
  %194 = trunc nuw nsw i64 %indvars.iv216 to i32
  tail call void @InterpY(i32 noundef %194)
  %195 = load double, ptr @dt, align 8, !tbaa !5
  %196 = load <2 x double>, ptr @ey, align 16, !tbaa !5
  %.pre243 = load double, ptr getelementptr inbounds (i8, ptr @yf_face, i64 80), align 16, !tbaa !5
  %.pre244 = load double, ptr getelementptr inbounds (i8, ptr @ey, i64 16), align 16, !tbaa !5
  %197 = load <2 x double>, ptr getelementptr inbounds (i8, ptr @yf_face, i64 88), align 8, !tbaa !5
  %198 = load <2 x double>, ptr getelementptr inbounds (i8, ptr @yf_face, i64 104), align 8, !tbaa !5
  %199 = load <2 x double>, ptr getelementptr inbounds (i8, ptr @yf_face, i64 120), align 8, !tbaa !5
  %.pre251 = load double, ptr getelementptr inbounds (i8, ptr @yf_face, i64 136), align 8, !tbaa !5
  %200 = insertelement <2 x double> poison, double %195, i64 0
  %201 = shufflevector <2 x double> %200, <2 x double> poison, <2 x i32> zeroinitializer
  %202 = fmul <2 x double> %196, %201
  %203 = fmul double %.pre244, %195
  br label %.preheader140

.preheader140:                                    ; preds = %.preheader141, %.preheader140
  %204 = phi double [ %.pre251, %.preheader141 ], [ %254, %.preheader140 ]
  %205 = phi double [ %.pre243, %.preheader141 ], [ %257, %.preheader140 ]
  %indvars.iv212 = phi i64 [ 1, %.preheader141 ], [ %indvars.iv.next213, %.preheader140 ]
  %206 = phi <2 x double> [ %197, %.preheader141 ], [ %233, %.preheader140 ]
  %207 = phi <2 x double> [ %198, %.preheader141 ], [ %241, %.preheader140 ]
  %208 = phi <2 x double> [ %199, %.preheader141 ], [ %248, %.preheader140 ]
  %indvars.iv.next213 = add nuw nsw i64 %indvars.iv212, 1
  %209 = getelementptr inbounds [32 x double], ptr @yc, i64 0, i64 %indvars.iv.next213
  %210 = load double, ptr %209, align 8, !tbaa !5
  %211 = add nsw i64 %indvars.iv212, -1
  %212 = getelementptr inbounds [32 x double], ptr @yc, i64 0, i64 %211
  %213 = load double, ptr %212, align 8, !tbaa !5
  %214 = fsub double %210, %213
  %215 = fmul double %214, 5.000000e-01
  %216 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv212, i64 %indvars.iv216, i64 0, i64 0
  %217 = getelementptr inbounds [33 x [3 x [3 x double]]], ptr @yf_face, i64 0, i64 %indvars.iv212, i64 0, i64 0
  %218 = load double, ptr %217, align 8, !tbaa !5
  %219 = getelementptr inbounds [33 x [3 x [3 x double]]], ptr @yf_face, i64 0, i64 %indvars.iv.next213, i64 0, i64 0
  %220 = load <2 x double>, ptr %216, align 8, !tbaa !5
  %221 = insertelement <2 x double> poison, double %215, i64 0
  %222 = shufflevector <2 x double> %221, <2 x double> poison, <2 x i32> zeroinitializer
  %223 = fdiv <2 x double> %202, %222
  %224 = load <2 x double>, ptr %219, align 8, !tbaa !5
  %225 = insertelement <2 x double> poison, double %218, i64 0
  %226 = insertelement <2 x double> %225, double %205, i64 1
  %227 = fsub <2 x double> %226, %224
  %228 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %223, <2 x double> %227, <2 x double> %220)
  store <2 x double> %228, ptr %216, align 8, !tbaa !5
  %229 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv212, i64 %indvars.iv216, i64 0, i64 2
  %230 = fdiv double %203, %215
  %231 = getelementptr inbounds [33 x [3 x [3 x double]]], ptr @yf_face, i64 0, i64 %indvars.iv.next213, i64 0, i64 2
  %232 = load <2 x double>, ptr %229, align 8, !tbaa !5
  %233 = load <2 x double>, ptr %231, align 8, !tbaa !5
  %234 = fsub <2 x double> %206, %233
  %235 = shufflevector <2 x double> %223, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %236 = insertelement <2 x double> %235, double %230, i64 0
  %237 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %236, <2 x double> %234, <2 x double> %232)
  store <2 x double> %237, ptr %229, align 8, !tbaa !5
  %238 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv212, i64 %indvars.iv216, i64 1, i64 1
  %239 = getelementptr inbounds [33 x [3 x [3 x double]]], ptr @yf_face, i64 0, i64 %indvars.iv.next213, i64 1, i64 1
  %240 = load <2 x double>, ptr %238, align 8, !tbaa !5
  %241 = load <2 x double>, ptr %239, align 8, !tbaa !5
  %242 = fsub <2 x double> %207, %241
  %243 = insertelement <2 x double> %235, double %230, i64 1
  %244 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %243, <2 x double> %242, <2 x double> %240)
  store <2 x double> %244, ptr %238, align 8, !tbaa !5
  %245 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv212, i64 %indvars.iv216, i64 2, i64 0
  %246 = getelementptr inbounds [33 x [3 x [3 x double]]], ptr @yf_face, i64 0, i64 %indvars.iv.next213, i64 2, i64 0
  %247 = load <2 x double>, ptr %245, align 8, !tbaa !5
  %248 = load <2 x double>, ptr %246, align 8, !tbaa !5
  %249 = fsub <2 x double> %208, %248
  %250 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %223, <2 x double> %249, <2 x double> %247)
  store <2 x double> %250, ptr %245, align 8, !tbaa !5
  %251 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv212, i64 %indvars.iv216, i64 2, i64 2
  %252 = load double, ptr %251, align 8, !tbaa !5
  %253 = getelementptr inbounds [33 x [3 x [3 x double]]], ptr @yf_face, i64 0, i64 %indvars.iv.next213, i64 2, i64 2
  %254 = load double, ptr %253, align 8, !tbaa !5
  %255 = fsub double %204, %254
  %256 = tail call double @llvm.fmuladd.f64(double %230, double %255, double %252)
  store double %256, ptr %251, align 8, !tbaa !5
  %exitcond215.not = icmp eq i64 %indvars.iv.next213, 31
  %257 = extractelement <2 x double> %224, i64 1
  br i1 %exitcond215.not, label %258, label %.preheader140, !llvm.loop !14

258:                                              ; preds = %.preheader140
  store double %215, ptr @dy, align 8, !tbaa !5
  %indvars.iv.next217 = add nuw nsw i64 %indvars.iv216, 1
  %exitcond219.not = icmp eq i64 %indvars.iv.next217, 31
  br i1 %exitcond219.not, label %.preheader138.preheader, label %.preheader141, !llvm.loop !15

.preheader138.preheader:                          ; preds = %258
  %259 = load <2 x double>, ptr @ex, align 16
  %260 = load <2 x double>, ptr getelementptr inbounds (i8, ptr @ex, i64 8), align 8
  %.pre254.pre = load double, ptr getelementptr inbounds (i8, ptr @ex, i64 16), align 16, !tbaa !5
  %broadcast.splat = shufflevector <2 x double> %259, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splat258 = shufflevector <2 x double> %196, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splat260 = shufflevector <2 x double> %196, <2 x double> poison, <2 x i32> <i32 1, i32 1>
  %broadcast.splatinsert261 = insertelement <2 x double> poison, double %.pre244, i64 0
  %broadcast.splat262 = shufflevector <2 x double> %broadcast.splatinsert261, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splat264 = shufflevector <2 x double> %260, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert265 = insertelement <2 x double> poison, double %.pre254.pre, i64 0
  %broadcast.splat266 = shufflevector <2 x double> %broadcast.splatinsert265, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.ph

vector.ph:                                        ; preds = %middle.block, %.preheader138.preheader
  %indvars.iv232 = phi i64 [ 1, %.preheader138.preheader ], [ %indvars.iv.next233, %middle.block ]
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = or disjoint i64 %index, 1
  %261 = add i64 %index, 2
  %262 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv232, i64 %offset.idx
  %263 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv232, i64 %offset.idx
  %264 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv232, i64 %offset.idx
  %265 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv232, i64 %offset.idx, i64 0, i64 0
  %266 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv232, i64 %261, i64 0, i64 0
  %267 = load double, ptr %265, align 8, !tbaa !5
  %268 = load double, ptr %266, align 16, !tbaa !5
  %269 = insertelement <2 x double> poison, double %267, i64 0
  %270 = insertelement <2 x double> %269, double %268, i64 1
  %271 = fadd <2 x double> %270, zeroinitializer
  %272 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat, <2 x double> %270, <2 x double> zeroinitializer)
  %273 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat258, <2 x double> %270, <2 x double> zeroinitializer)
  %274 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv232, i64 %offset.idx, i64 0, i64 1
  %275 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv232, i64 %261, i64 0, i64 1
  %276 = load double, ptr %274, align 16, !tbaa !5
  %277 = load double, ptr %275, align 8, !tbaa !5
  %278 = insertelement <2 x double> poison, double %276, i64 0
  %279 = insertelement <2 x double> %278, double %277, i64 1
  %280 = fadd <2 x double> %279, %271
  %281 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat, <2 x double> %279, <2 x double> %272)
  %282 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat260, <2 x double> %279, <2 x double> %273)
  %283 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv232, i64 %offset.idx, i64 0, i64 2
  %284 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv232, i64 %261, i64 0, i64 2
  %285 = load double, ptr %283, align 8, !tbaa !5
  %286 = load double, ptr %284, align 16, !tbaa !5
  %287 = insertelement <2 x double> poison, double %285, i64 0
  %288 = insertelement <2 x double> %287, double %286, i64 1
  %289 = fadd <2 x double> %288, %280
  %290 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat, <2 x double> %288, <2 x double> %281)
  %291 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat262, <2 x double> %288, <2 x double> %282)
  %292 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv232, i64 %offset.idx, i64 1, i64 0
  %293 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv232, i64 %261, i64 1, i64 0
  %294 = load double, ptr %292, align 16, !tbaa !5
  %295 = load double, ptr %293, align 8, !tbaa !5
  %296 = insertelement <2 x double> poison, double %294, i64 0
  %297 = insertelement <2 x double> %296, double %295, i64 1
  %298 = fadd <2 x double> %297, %289
  %299 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat264, <2 x double> %297, <2 x double> %290)
  %300 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat258, <2 x double> %297, <2 x double> %291)
  %301 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv232, i64 %offset.idx, i64 1, i64 1
  %302 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv232, i64 %261, i64 1, i64 1
  %303 = load double, ptr %301, align 8, !tbaa !5
  %304 = load double, ptr %302, align 16, !tbaa !5
  %305 = insertelement <2 x double> poison, double %303, i64 0
  %306 = insertelement <2 x double> %305, double %304, i64 1
  %307 = fadd <2 x double> %306, %298
  %308 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat264, <2 x double> %306, <2 x double> %299)
  %309 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat260, <2 x double> %306, <2 x double> %300)
  %310 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv232, i64 %offset.idx, i64 1, i64 2
  %311 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv232, i64 %261, i64 1, i64 2
  %312 = load double, ptr %310, align 16, !tbaa !5
  %313 = load double, ptr %311, align 8, !tbaa !5
  %314 = insertelement <2 x double> poison, double %312, i64 0
  %315 = insertelement <2 x double> %314, double %313, i64 1
  %316 = fadd <2 x double> %315, %307
  %317 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat264, <2 x double> %315, <2 x double> %308)
  %318 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat262, <2 x double> %315, <2 x double> %309)
  %319 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv232, i64 %offset.idx, i64 2, i64 0
  %320 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv232, i64 %261, i64 2, i64 0
  %321 = load double, ptr %319, align 8, !tbaa !5
  %322 = load double, ptr %320, align 16, !tbaa !5
  %323 = insertelement <2 x double> poison, double %321, i64 0
  %324 = insertelement <2 x double> %323, double %322, i64 1
  %325 = fadd <2 x double> %324, %316
  %326 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat266, <2 x double> %324, <2 x double> %317)
  %327 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat258, <2 x double> %324, <2 x double> %318)
  %328 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv232, i64 %offset.idx, i64 2, i64 1
  %329 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv232, i64 %261, i64 2, i64 1
  %330 = load double, ptr %328, align 16, !tbaa !5
  %331 = load double, ptr %329, align 8, !tbaa !5
  %332 = insertelement <2 x double> poison, double %330, i64 0
  %333 = insertelement <2 x double> %332, double %331, i64 1
  %334 = fadd <2 x double> %333, %325
  %335 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat266, <2 x double> %333, <2 x double> %326)
  %336 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat260, <2 x double> %333, <2 x double> %327)
  %337 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv232, i64 %offset.idx, i64 2, i64 2
  %338 = getelementptr inbounds [32 x [32 x [3 x [3 x double]]]], ptr @f, i64 0, i64 %indvars.iv232, i64 %261, i64 2, i64 2
  %339 = load double, ptr %337, align 8, !tbaa !5
  %340 = load double, ptr %338, align 16, !tbaa !5
  %341 = insertelement <2 x double> poison, double %339, i64 0
  %342 = insertelement <2 x double> %341, double %340, i64 1
  %343 = fadd <2 x double> %342, %334
  %344 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat266, <2 x double> %342, <2 x double> %335)
  %345 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat262, <2 x double> %342, <2 x double> %336)
  store <2 x double> %343, ptr %264, align 8, !tbaa !5
  %346 = fdiv <2 x double> %344, %343
  store <2 x double> %346, ptr %263, align 8, !tbaa !5
  %347 = fdiv <2 x double> %345, %343
  store <2 x double> %347, ptr %262, align 8, !tbaa !5
  %index.next = add nuw i64 %index, 2
  %348 = icmp eq i64 %index.next, 30
  br i1 %348, label %middle.block, label %vector.body, !llvm.loop !16

middle.block:                                     ; preds = %vector.body
  %indvars.iv.next233 = add nuw nsw i64 %indvars.iv232, 1
  %exitcond235.not = icmp eq i64 %indvars.iv.next233, 31
  br i1 %exitcond235.not, label %349, label %vector.ph, !llvm.loop !19

349:                                              ; preds = %middle.block
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local double @feq(i32 noundef, i32 noundef, double noundef, double noundef, double noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @boundary() local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @InterpX(i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @InterpY(i32 noundef) local_unnamed_addr #1

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { 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) }

!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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10, !17, !18}
!17 = !{!"llvm.loop.isvectorized", i32 1}
!18 = !{!"llvm.loop.unroll.runtime.disable"}
!19 = distinct !{!19, !10}


; Effective O3 passes: BDCEPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass