; LLVM IR from QUILL-PIC/Quill :: src/maxwell.ll (ZN11fdtd_solver9advance_bEv)

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

%class.maxwell_solver = type { ptr, ptr, ptr, ptr, double, double, double, double, double, double }
%struct.celle = type { double, double, double }
%struct.cellb = type { double, double, double }

; 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: 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 noundef i32 @_ZN7field3dI5cellbE6get_nxEv(ptr noundef nonnull align 8 dereferenceable(40)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN7field3dI5cellbE6get_nyEv(ptr noundef nonnull align 8 dereferenceable(40)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN7field3dI5cellbE6get_nzEv(ptr noundef nonnull align 8 dereferenceable(40)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11fdtd_solver9advance_bEv(ptr noundef nonnull align 8 dereferenceable(80) %0) unnamed_addr #4 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %19 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  %20 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 2
  %21 = load ptr, ptr %20, align 8, !tbaa !9
  %22 = call noundef i32 @_ZN7field3dI5cellbE6get_nxEv(ptr noundef nonnull align 8 dereferenceable(40) %21)
  store i32 %22, ptr %3, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %23 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 2
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = call noundef i32 @_ZN7field3dI5cellbE6get_nyEv(ptr noundef nonnull align 8 dereferenceable(40) %24)
  store i32 %25, ptr %4, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  %26 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 2
  %27 = load ptr, ptr %26, align 8, !tbaa !9
  %28 = call noundef i32 @_ZN7field3dI5cellbE6get_nzEv(ptr noundef nonnull align 8 dereferenceable(40) %27)
  store i32 %28, ptr %5, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 1, ptr %6, align 4, !tbaa !12
  br label %29

29:                                               ; preds = %304, %1
  %30 = load i32, ptr %6, align 4, !tbaa !12
  %31 = load i32, ptr %3, align 4, !tbaa !12
  %32 = sub nsw i32 %31, 1
  %33 = icmp slt i32 %30, %32
  br i1 %33, label %35, label %34

34:                                               ; preds = %29
  store i32 2, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %307

35:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 1, ptr %8, align 4, !tbaa !12
  br label %36

36:                                               ; preds = %300, %35
  %37 = load i32, ptr %8, align 4, !tbaa !12
  %38 = load i32, ptr %4, align 4, !tbaa !12
  %39 = sub nsw i32 %38, 1
  %40 = icmp slt i32 %37, %39
  br i1 %40, label %42, label %41

41:                                               ; preds = %36
  store i32 5, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %303

42:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 1, ptr %9, align 4, !tbaa !12
  br label %43

43:                                               ; preds = %296, %42
  %44 = load i32, ptr %9, align 4, !tbaa !12
  %45 = load i32, ptr %5, align 4, !tbaa !12
  %46 = sub nsw i32 %45, 1
  %47 = icmp slt i32 %44, %46
  br i1 %47, label %49, label %48

48:                                               ; preds = %43
  store i32 8, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %299

49:                                               ; preds = %43
  %50 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 8
  %51 = load double, ptr %50, align 8, !tbaa !14
  %52 = fneg double %51
  %53 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %54 = load ptr, ptr %53, align 8, !tbaa !15
  %55 = load i32, ptr %6, align 4, !tbaa !12
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %54, i32 noundef %55)
  %57 = load ptr, ptr %56, align 8, !tbaa !5
  %58 = load i32, ptr %8, align 4, !tbaa !12
  %59 = add nsw i32 %58, 1
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds ptr, ptr %57, i64 %60
  %62 = load ptr, ptr %61, align 8, !tbaa !5
  %63 = load i32, ptr %9, align 4, !tbaa !12
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds %struct.celle, ptr %62, i64 %64
  %66 = getelementptr inbounds %struct.celle, ptr %65, i32 0, i32 2
  %67 = load double, ptr %66, align 8, !tbaa !16
  %68 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %69 = load ptr, ptr %68, align 8, !tbaa !15
  %70 = load i32, ptr %6, align 4, !tbaa !12
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %69, i32 noundef %70)
  %72 = load ptr, ptr %71, align 8, !tbaa !5
  %73 = load i32, ptr %8, align 4, !tbaa !12
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds ptr, ptr %72, i64 %74
  %76 = load ptr, ptr %75, align 8, !tbaa !5
  %77 = load i32, ptr %9, align 4, !tbaa !12
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds %struct.celle, ptr %76, i64 %78
  %80 = getelementptr inbounds %struct.celle, ptr %79, i32 0, i32 2
  %81 = load double, ptr %80, align 8, !tbaa !16
  %82 = fsub double %67, %81
  %83 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 9
  %84 = load double, ptr %83, align 8, !tbaa !18
  %85 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %86 = load ptr, ptr %85, align 8, !tbaa !15
  %87 = load i32, ptr %6, align 4, !tbaa !12
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %86, i32 noundef %87)
  %89 = load ptr, ptr %88, align 8, !tbaa !5
  %90 = load i32, ptr %8, align 4, !tbaa !12
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds ptr, ptr %89, i64 %91
  %93 = load ptr, ptr %92, align 8, !tbaa !5
  %94 = load i32, ptr %9, align 4, !tbaa !12
  %95 = add nsw i32 %94, 1
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds %struct.celle, ptr %93, i64 %96
  %98 = getelementptr inbounds %struct.celle, ptr %97, i32 0, i32 1
  %99 = load double, ptr %98, align 8, !tbaa !19
  %100 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %101 = load ptr, ptr %100, align 8, !tbaa !15
  %102 = load i32, ptr %6, align 4, !tbaa !12
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %101, i32 noundef %102)
  %104 = load ptr, ptr %103, align 8, !tbaa !5
  %105 = load i32, ptr %8, align 4, !tbaa !12
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds ptr, ptr %104, i64 %106
  %108 = load ptr, ptr %107, align 8, !tbaa !5
  %109 = load i32, ptr %9, align 4, !tbaa !12
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds %struct.celle, ptr %108, i64 %110
  %112 = getelementptr inbounds %struct.celle, ptr %111, i32 0, i32 1
  %113 = load double, ptr %112, align 8, !tbaa !19
  %114 = fsub double %99, %113
  %115 = fmul double %84, %114
  %116 = call double @llvm.fmuladd.f64(double %52, double %82, double %115)
  %117 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 2
  %118 = load ptr, ptr %117, align 8, !tbaa !9
  %119 = load i32, ptr %6, align 4, !tbaa !12
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %118, i32 noundef %119)
  %121 = load ptr, ptr %120, align 8, !tbaa !5
  %122 = load i32, ptr %8, align 4, !tbaa !12
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds ptr, ptr %121, i64 %123
  %125 = load ptr, ptr %124, align 8, !tbaa !5
  %126 = load i32, ptr %9, align 4, !tbaa !12
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds %struct.cellb, ptr %125, i64 %127
  %129 = getelementptr inbounds %struct.cellb, ptr %128, i32 0, i32 0
  %130 = load double, ptr %129, align 8, !tbaa !20
  %131 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %116, double %130)
  store double %131, ptr %129, align 8, !tbaa !20
  %132 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 7
  %133 = load double, ptr %132, align 8, !tbaa !22
  %134 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %135 = load ptr, ptr %134, align 8, !tbaa !15
  %136 = load i32, ptr %6, align 4, !tbaa !12
  %137 = add nsw i32 %136, 1
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %135, i32 noundef %137)
  %139 = load ptr, ptr %138, align 8, !tbaa !5
  %140 = load i32, ptr %8, align 4, !tbaa !12
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds ptr, ptr %139, i64 %141
  %143 = load ptr, ptr %142, align 8, !tbaa !5
  %144 = load i32, ptr %9, align 4, !tbaa !12
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds %struct.celle, ptr %143, i64 %145
  %147 = getelementptr inbounds %struct.celle, ptr %146, i32 0, i32 2
  %148 = load double, ptr %147, align 8, !tbaa !16
  %149 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %150 = load ptr, ptr %149, align 8, !tbaa !15
  %151 = load i32, ptr %6, align 4, !tbaa !12
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %150, i32 noundef %151)
  %153 = load ptr, ptr %152, align 8, !tbaa !5
  %154 = load i32, ptr %8, align 4, !tbaa !12
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds ptr, ptr %153, i64 %155
  %157 = load ptr, ptr %156, align 8, !tbaa !5
  %158 = load i32, ptr %9, align 4, !tbaa !12
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds %struct.celle, ptr %157, i64 %159
  %161 = getelementptr inbounds %struct.celle, ptr %160, i32 0, i32 2
  %162 = load double, ptr %161, align 8, !tbaa !16
  %163 = fsub double %148, %162
  %164 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 9
  %165 = load double, ptr %164, align 8, !tbaa !18
  %166 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %167 = load ptr, ptr %166, align 8, !tbaa !15
  %168 = load i32, ptr %6, align 4, !tbaa !12
  %169 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %167, i32 noundef %168)
  %170 = load ptr, ptr %169, align 8, !tbaa !5
  %171 = load i32, ptr %8, align 4, !tbaa !12
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds ptr, ptr %170, i64 %172
  %174 = load ptr, ptr %173, align 8, !tbaa !5
  %175 = load i32, ptr %9, align 4, !tbaa !12
  %176 = add nsw i32 %175, 1
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds %struct.celle, ptr %174, i64 %177
  %179 = getelementptr inbounds %struct.celle, ptr %178, i32 0, i32 0
  %180 = load double, ptr %179, align 8, !tbaa !23
  %181 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %182 = load ptr, ptr %181, align 8, !tbaa !15
  %183 = load i32, ptr %6, align 4, !tbaa !12
  %184 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %182, i32 noundef %183)
  %185 = load ptr, ptr %184, align 8, !tbaa !5
  %186 = load i32, ptr %8, align 4, !tbaa !12
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds ptr, ptr %185, i64 %187
  %189 = load ptr, ptr %188, align 8, !tbaa !5
  %190 = load i32, ptr %9, align 4, !tbaa !12
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds %struct.celle, ptr %189, i64 %191
  %193 = getelementptr inbounds %struct.celle, ptr %192, i32 0, i32 0
  %194 = load double, ptr %193, align 8, !tbaa !23
  %195 = fsub double %180, %194
  %196 = fmul double %165, %195
  %197 = fneg double %196
  %198 = call double @llvm.fmuladd.f64(double %133, double %163, double %197)
  %199 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 2
  %200 = load ptr, ptr %199, align 8, !tbaa !9
  %201 = load i32, ptr %6, align 4, !tbaa !12
  %202 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %200, i32 noundef %201)
  %203 = load ptr, ptr %202, align 8, !tbaa !5
  %204 = load i32, ptr %8, align 4, !tbaa !12
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds ptr, ptr %203, i64 %205
  %207 = load ptr, ptr %206, align 8, !tbaa !5
  %208 = load i32, ptr %9, align 4, !tbaa !12
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds %struct.cellb, ptr %207, i64 %209
  %211 = getelementptr inbounds %struct.cellb, ptr %210, i32 0, i32 1
  %212 = load double, ptr %211, align 8, !tbaa !24
  %213 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %198, double %212)
  store double %213, ptr %211, align 8, !tbaa !24
  %214 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 8
  %215 = load double, ptr %214, align 8, !tbaa !14
  %216 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %217 = load ptr, ptr %216, align 8, !tbaa !15
  %218 = load i32, ptr %6, align 4, !tbaa !12
  %219 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %217, i32 noundef %218)
  %220 = load ptr, ptr %219, align 8, !tbaa !5
  %221 = load i32, ptr %8, align 4, !tbaa !12
  %222 = add nsw i32 %221, 1
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds ptr, ptr %220, i64 %223
  %225 = load ptr, ptr %224, align 8, !tbaa !5
  %226 = load i32, ptr %9, align 4, !tbaa !12
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds %struct.celle, ptr %225, i64 %227
  %229 = getelementptr inbounds %struct.celle, ptr %228, i32 0, i32 0
  %230 = load double, ptr %229, align 8, !tbaa !23
  %231 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %232 = load ptr, ptr %231, align 8, !tbaa !15
  %233 = load i32, ptr %6, align 4, !tbaa !12
  %234 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %232, i32 noundef %233)
  %235 = load ptr, ptr %234, align 8, !tbaa !5
  %236 = load i32, ptr %8, align 4, !tbaa !12
  %237 = sext i32 %236 to i64
  %238 = getelementptr inbounds ptr, ptr %235, i64 %237
  %239 = load ptr, ptr %238, align 8, !tbaa !5
  %240 = load i32, ptr %9, align 4, !tbaa !12
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds %struct.celle, ptr %239, i64 %241
  %243 = getelementptr inbounds %struct.celle, ptr %242, i32 0, i32 0
  %244 = load double, ptr %243, align 8, !tbaa !23
  %245 = fsub double %230, %244
  %246 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 7
  %247 = load double, ptr %246, align 8, !tbaa !22
  %248 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %249 = load ptr, ptr %248, align 8, !tbaa !15
  %250 = load i32, ptr %6, align 4, !tbaa !12
  %251 = add nsw i32 %250, 1
  %252 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %249, i32 noundef %251)
  %253 = load ptr, ptr %252, align 8, !tbaa !5
  %254 = load i32, ptr %8, align 4, !tbaa !12
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds ptr, ptr %253, i64 %255
  %257 = load ptr, ptr %256, align 8, !tbaa !5
  %258 = load i32, ptr %9, align 4, !tbaa !12
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds %struct.celle, ptr %257, i64 %259
  %261 = getelementptr inbounds %struct.celle, ptr %260, i32 0, i32 1
  %262 = load double, ptr %261, align 8, !tbaa !19
  %263 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %264 = load ptr, ptr %263, align 8, !tbaa !15
  %265 = load i32, ptr %6, align 4, !tbaa !12
  %266 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %264, i32 noundef %265)
  %267 = load ptr, ptr %266, align 8, !tbaa !5
  %268 = load i32, ptr %8, align 4, !tbaa !12
  %269 = sext i32 %268 to i64
  %270 = getelementptr inbounds ptr, ptr %267, i64 %269
  %271 = load ptr, ptr %270, align 8, !tbaa !5
  %272 = load i32, ptr %9, align 4, !tbaa !12
  %273 = sext i32 %272 to i64
  %274 = getelementptr inbounds %struct.celle, ptr %271, i64 %273
  %275 = getelementptr inbounds %struct.celle, ptr %274, i32 0, i32 1
  %276 = load double, ptr %275, align 8, !tbaa !19
  %277 = fsub double %262, %276
  %278 = fmul double %247, %277
  %279 = fneg double %278
  %280 = call double @llvm.fmuladd.f64(double %215, double %245, double %279)
  %281 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 2
  %282 = load ptr, ptr %281, align 8, !tbaa !9
  %283 = load i32, ptr %6, align 4, !tbaa !12
  %284 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %282, i32 noundef %283)
  %285 = load ptr, ptr %284, align 8, !tbaa !5
  %286 = load i32, ptr %8, align 4, !tbaa !12
  %287 = sext i32 %286 to i64
  %288 = getelementptr inbounds ptr, ptr %285, i64 %287
  %289 = load ptr, ptr %288, align 8, !tbaa !5
  %290 = load i32, ptr %9, align 4, !tbaa !12
  %291 = sext i32 %290 to i64
  %292 = getelementptr inbounds %struct.cellb, ptr %289, i64 %291
  %293 = getelementptr inbounds %struct.cellb, ptr %292, i32 0, i32 2
  %294 = load double, ptr %293, align 8, !tbaa !25
  %295 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %280, double %294)
  store double %295, ptr %293, align 8, !tbaa !25
  br label %296

296:                                              ; preds = %49
  %297 = load i32, ptr %9, align 4, !tbaa !12
  %298 = add nsw i32 %297, 1
  store i32 %298, ptr %9, align 4, !tbaa !12
  br label %43, !llvm.loop !26

299:                                              ; preds = %48
  br label %300

300:                                              ; preds = %299
  %301 = load i32, ptr %8, align 4, !tbaa !12
  %302 = add nsw i32 %301, 1
  store i32 %302, ptr %8, align 4, !tbaa !12
  br label %36, !llvm.loop !28

303:                                              ; preds = %41
  br label %304

304:                                              ; preds = %303
  %305 = load i32, ptr %6, align 4, !tbaa !12
  %306 = add nsw i32 %305, 1
  store i32 %306, ptr %6, align 4, !tbaa !12
  br label %29, !llvm.loop !29

307:                                              ; preds = %34
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 1, ptr %11, align 4, !tbaa !12
  br label %308

308:                                              ; preds = %490, %307
  %309 = load i32, ptr %11, align 4, !tbaa !12
  %310 = load i32, ptr %4, align 4, !tbaa !12
  %311 = sub nsw i32 %310, 1
  %312 = icmp slt i32 %309, %311
  br i1 %312, label %314, label %313

313:                                              ; preds = %308
  store i32 11, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %493

314:                                              ; preds = %308
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 1, ptr %12, align 4, !tbaa !12
  br label %315

315:                                              ; preds = %486, %314
  %316 = load i32, ptr %12, align 4, !tbaa !12
  %317 = load i32, ptr %5, align 4, !tbaa !12
  %318 = sub nsw i32 %317, 1
  %319 = icmp slt i32 %316, %318
  br i1 %319, label %321, label %320

320:                                              ; preds = %315
  store i32 14, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %489

321:                                              ; preds = %315
  %322 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 7
  %323 = load double, ptr %322, align 8, !tbaa !22
  %324 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %325 = load ptr, ptr %324, align 8, !tbaa !15
  %326 = load i32, ptr %10, align 4, !tbaa !12
  %327 = add nsw i32 %326, 1
  %328 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %325, i32 noundef %327)
  %329 = load ptr, ptr %328, align 8, !tbaa !5
  %330 = load i32, ptr %11, align 4, !tbaa !12
  %331 = sext i32 %330 to i64
  %332 = getelementptr inbounds ptr, ptr %329, i64 %331
  %333 = load ptr, ptr %332, align 8, !tbaa !5
  %334 = load i32, ptr %12, align 4, !tbaa !12
  %335 = sext i32 %334 to i64
  %336 = getelementptr inbounds %struct.celle, ptr %333, i64 %335
  %337 = getelementptr inbounds %struct.celle, ptr %336, i32 0, i32 2
  %338 = load double, ptr %337, align 8, !tbaa !16
  %339 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %340 = load ptr, ptr %339, align 8, !tbaa !15
  %341 = load i32, ptr %10, align 4, !tbaa !12
  %342 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %340, i32 noundef %341)
  %343 = load ptr, ptr %342, align 8, !tbaa !5
  %344 = load i32, ptr %11, align 4, !tbaa !12
  %345 = sext i32 %344 to i64
  %346 = getelementptr inbounds ptr, ptr %343, i64 %345
  %347 = load ptr, ptr %346, align 8, !tbaa !5
  %348 = load i32, ptr %12, align 4, !tbaa !12
  %349 = sext i32 %348 to i64
  %350 = getelementptr inbounds %struct.celle, ptr %347, i64 %349
  %351 = getelementptr inbounds %struct.celle, ptr %350, i32 0, i32 2
  %352 = load double, ptr %351, align 8, !tbaa !16
  %353 = fsub double %338, %352
  %354 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 9
  %355 = load double, ptr %354, align 8, !tbaa !18
  %356 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %357 = load ptr, ptr %356, align 8, !tbaa !15
  %358 = load i32, ptr %10, align 4, !tbaa !12
  %359 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %357, i32 noundef %358)
  %360 = load ptr, ptr %359, align 8, !tbaa !5
  %361 = load i32, ptr %11, align 4, !tbaa !12
  %362 = sext i32 %361 to i64
  %363 = getelementptr inbounds ptr, ptr %360, i64 %362
  %364 = load ptr, ptr %363, align 8, !tbaa !5
  %365 = load i32, ptr %12, align 4, !tbaa !12
  %366 = add nsw i32 %365, 1
  %367 = sext i32 %366 to i64
  %368 = getelementptr inbounds %struct.celle, ptr %364, i64 %367
  %369 = getelementptr inbounds %struct.celle, ptr %368, i32 0, i32 0
  %370 = load double, ptr %369, align 8, !tbaa !23
  %371 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %372 = load ptr, ptr %371, align 8, !tbaa !15
  %373 = load i32, ptr %10, align 4, !tbaa !12
  %374 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %372, i32 noundef %373)
  %375 = load ptr, ptr %374, align 8, !tbaa !5
  %376 = load i32, ptr %11, align 4, !tbaa !12
  %377 = sext i32 %376 to i64
  %378 = getelementptr inbounds ptr, ptr %375, i64 %377
  %379 = load ptr, ptr %378, align 8, !tbaa !5
  %380 = load i32, ptr %12, align 4, !tbaa !12
  %381 = sext i32 %380 to i64
  %382 = getelementptr inbounds %struct.celle, ptr %379, i64 %381
  %383 = getelementptr inbounds %struct.celle, ptr %382, i32 0, i32 0
  %384 = load double, ptr %383, align 8, !tbaa !23
  %385 = fsub double %370, %384
  %386 = fmul double %355, %385
  %387 = fneg double %386
  %388 = call double @llvm.fmuladd.f64(double %323, double %353, double %387)
  %389 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 2
  %390 = load ptr, ptr %389, align 8, !tbaa !9
  %391 = load i32, ptr %10, align 4, !tbaa !12
  %392 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %390, i32 noundef %391)
  %393 = load ptr, ptr %392, align 8, !tbaa !5
  %394 = load i32, ptr %11, align 4, !tbaa !12
  %395 = sext i32 %394 to i64
  %396 = getelementptr inbounds ptr, ptr %393, i64 %395
  %397 = load ptr, ptr %396, align 8, !tbaa !5
  %398 = load i32, ptr %12, align 4, !tbaa !12
  %399 = sext i32 %398 to i64
  %400 = getelementptr inbounds %struct.cellb, ptr %397, i64 %399
  %401 = getelementptr inbounds %struct.cellb, ptr %400, i32 0, i32 1
  %402 = load double, ptr %401, align 8, !tbaa !24
  %403 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %388, double %402)
  store double %403, ptr %401, align 8, !tbaa !24
  %404 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 8
  %405 = load double, ptr %404, align 8, !tbaa !14
  %406 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %407 = load ptr, ptr %406, align 8, !tbaa !15
  %408 = load i32, ptr %10, align 4, !tbaa !12
  %409 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %407, i32 noundef %408)
  %410 = load ptr, ptr %409, align 8, !tbaa !5
  %411 = load i32, ptr %11, align 4, !tbaa !12
  %412 = add nsw i32 %411, 1
  %413 = sext i32 %412 to i64
  %414 = getelementptr inbounds ptr, ptr %410, i64 %413
  %415 = load ptr, ptr %414, align 8, !tbaa !5
  %416 = load i32, ptr %12, align 4, !tbaa !12
  %417 = sext i32 %416 to i64
  %418 = getelementptr inbounds %struct.celle, ptr %415, i64 %417
  %419 = getelementptr inbounds %struct.celle, ptr %418, i32 0, i32 0
  %420 = load double, ptr %419, align 8, !tbaa !23
  %421 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %422 = load ptr, ptr %421, align 8, !tbaa !15
  %423 = load i32, ptr %10, align 4, !tbaa !12
  %424 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %422, i32 noundef %423)
  %425 = load ptr, ptr %424, align 8, !tbaa !5
  %426 = load i32, ptr %11, align 4, !tbaa !12
  %427 = sext i32 %426 to i64
  %428 = getelementptr inbounds ptr, ptr %425, i64 %427
  %429 = load ptr, ptr %428, align 8, !tbaa !5
  %430 = load i32, ptr %12, align 4, !tbaa !12
  %431 = sext i32 %430 to i64
  %432 = getelementptr inbounds %struct.celle, ptr %429, i64 %431
  %433 = getelementptr inbounds %struct.celle, ptr %432, i32 0, i32 0
  %434 = load double, ptr %433, align 8, !tbaa !23
  %435 = fsub double %420, %434
  %436 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 7
  %437 = load double, ptr %436, align 8, !tbaa !22
  %438 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %439 = load ptr, ptr %438, align 8, !tbaa !15
  %440 = load i32, ptr %10, align 4, !tbaa !12
  %441 = add nsw i32 %440, 1
  %442 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %439, i32 noundef %441)
  %443 = load ptr, ptr %442, align 8, !tbaa !5
  %444 = load i32, ptr %11, align 4, !tbaa !12
  %445 = sext i32 %444 to i64
  %446 = getelementptr inbounds ptr, ptr %443, i64 %445
  %447 = load ptr, ptr %446, align 8, !tbaa !5
  %448 = load i32, ptr %12, align 4, !tbaa !12
  %449 = sext i32 %448 to i64
  %450 = getelementptr inbounds %struct.celle, ptr %447, i64 %449
  %451 = getelementptr inbounds %struct.celle, ptr %450, i32 0, i32 1
  %452 = load double, ptr %451, align 8, !tbaa !19
  %453 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %454 = load ptr, ptr %453, align 8, !tbaa !15
  %455 = load i32, ptr %10, align 4, !tbaa !12
  %456 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %454, i32 noundef %455)
  %457 = load ptr, ptr %456, align 8, !tbaa !5
  %458 = load i32, ptr %11, align 4, !tbaa !12
  %459 = sext i32 %458 to i64
  %460 = getelementptr inbounds ptr, ptr %457, i64 %459
  %461 = load ptr, ptr %460, align 8, !tbaa !5
  %462 = load i32, ptr %12, align 4, !tbaa !12
  %463 = sext i32 %462 to i64
  %464 = getelementptr inbounds %struct.celle, ptr %461, i64 %463
  %465 = getelementptr inbounds %struct.celle, ptr %464, i32 0, i32 1
  %466 = load double, ptr %465, align 8, !tbaa !19
  %467 = fsub double %452, %466
  %468 = fmul double %437, %467
  %469 = fneg double %468
  %470 = call double @llvm.fmuladd.f64(double %405, double %435, double %469)
  %471 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 2
  %472 = load ptr, ptr %471, align 8, !tbaa !9
  %473 = load i32, ptr %10, align 4, !tbaa !12
  %474 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %472, i32 noundef %473)
  %475 = load ptr, ptr %474, align 8, !tbaa !5
  %476 = load i32, ptr %11, align 4, !tbaa !12
  %477 = sext i32 %476 to i64
  %478 = getelementptr inbounds ptr, ptr %475, i64 %477
  %479 = load ptr, ptr %478, align 8, !tbaa !5
  %480 = load i32, ptr %12, align 4, !tbaa !12
  %481 = sext i32 %480 to i64
  %482 = getelementptr inbounds %struct.cellb, ptr %479, i64 %481
  %483 = getelementptr inbounds %struct.cellb, ptr %482, i32 0, i32 2
  %484 = load double, ptr %483, align 8, !tbaa !25
  %485 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %470, double %484)
  store double %485, ptr %483, align 8, !tbaa !25
  br label %486

486:                                              ; preds = %321
  %487 = load i32, ptr %12, align 4, !tbaa !12
  %488 = add nsw i32 %487, 1
  store i32 %488, ptr %12, align 4, !tbaa !12
  br label %315, !llvm.loop !30

489:                                              ; preds = %320
  br label %490

490:                                              ; preds = %489
  %491 = load i32, ptr %11, align 4, !tbaa !12
  %492 = add nsw i32 %491, 1
  store i32 %492, ptr %11, align 4, !tbaa !12
  br label %308, !llvm.loop !31

493:                                              ; preds = %313
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 1, ptr %13, align 4, !tbaa !12
  br label %494

494:                                              ; preds = %676, %493
  %495 = load i32, ptr %13, align 4, !tbaa !12
  %496 = load i32, ptr %3, align 4, !tbaa !12
  %497 = sub nsw i32 %496, 1
  %498 = icmp slt i32 %495, %497
  br i1 %498, label %500, label %499

499:                                              ; preds = %494
  store i32 17, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %679

500:                                              ; preds = %494
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 1, ptr %15, align 4, !tbaa !12
  br label %501

501:                                              ; preds = %672, %500
  %502 = load i32, ptr %15, align 4, !tbaa !12
  %503 = load i32, ptr %5, align 4, !tbaa !12
  %504 = sub nsw i32 %503, 1
  %505 = icmp slt i32 %502, %504
  br i1 %505, label %507, label %506

506:                                              ; preds = %501
  store i32 20, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %675

507:                                              ; preds = %501
  %508 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 8
  %509 = load double, ptr %508, align 8, !tbaa !14
  %510 = fneg double %509
  %511 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %512 = load ptr, ptr %511, align 8, !tbaa !15
  %513 = load i32, ptr %13, align 4, !tbaa !12
  %514 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %512, i32 noundef %513)
  %515 = load ptr, ptr %514, align 8, !tbaa !5
  %516 = load i32, ptr %14, align 4, !tbaa !12
  %517 = add nsw i32 %516, 1
  %518 = sext i32 %517 to i64
  %519 = getelementptr inbounds ptr, ptr %515, i64 %518
  %520 = load ptr, ptr %519, align 8, !tbaa !5
  %521 = load i32, ptr %15, align 4, !tbaa !12
  %522 = sext i32 %521 to i64
  %523 = getelementptr inbounds %struct.celle, ptr %520, i64 %522
  %524 = getelementptr inbounds %struct.celle, ptr %523, i32 0, i32 2
  %525 = load double, ptr %524, align 8, !tbaa !16
  %526 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %527 = load ptr, ptr %526, align 8, !tbaa !15
  %528 = load i32, ptr %13, align 4, !tbaa !12
  %529 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %527, i32 noundef %528)
  %530 = load ptr, ptr %529, align 8, !tbaa !5
  %531 = load i32, ptr %14, align 4, !tbaa !12
  %532 = sext i32 %531 to i64
  %533 = getelementptr inbounds ptr, ptr %530, i64 %532
  %534 = load ptr, ptr %533, align 8, !tbaa !5
  %535 = load i32, ptr %15, align 4, !tbaa !12
  %536 = sext i32 %535 to i64
  %537 = getelementptr inbounds %struct.celle, ptr %534, i64 %536
  %538 = getelementptr inbounds %struct.celle, ptr %537, i32 0, i32 2
  %539 = load double, ptr %538, align 8, !tbaa !16
  %540 = fsub double %525, %539
  %541 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 9
  %542 = load double, ptr %541, align 8, !tbaa !18
  %543 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %544 = load ptr, ptr %543, align 8, !tbaa !15
  %545 = load i32, ptr %13, align 4, !tbaa !12
  %546 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %544, i32 noundef %545)
  %547 = load ptr, ptr %546, align 8, !tbaa !5
  %548 = load i32, ptr %14, align 4, !tbaa !12
  %549 = sext i32 %548 to i64
  %550 = getelementptr inbounds ptr, ptr %547, i64 %549
  %551 = load ptr, ptr %550, align 8, !tbaa !5
  %552 = load i32, ptr %15, align 4, !tbaa !12
  %553 = add nsw i32 %552, 1
  %554 = sext i32 %553 to i64
  %555 = getelementptr inbounds %struct.celle, ptr %551, i64 %554
  %556 = getelementptr inbounds %struct.celle, ptr %555, i32 0, i32 1
  %557 = load double, ptr %556, align 8, !tbaa !19
  %558 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %559 = load ptr, ptr %558, align 8, !tbaa !15
  %560 = load i32, ptr %13, align 4, !tbaa !12
  %561 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %559, i32 noundef %560)
  %562 = load ptr, ptr %561, align 8, !tbaa !5
  %563 = load i32, ptr %14, align 4, !tbaa !12
  %564 = sext i32 %563 to i64
  %565 = getelementptr inbounds ptr, ptr %562, i64 %564
  %566 = load ptr, ptr %565, align 8, !tbaa !5
  %567 = load i32, ptr %15, align 4, !tbaa !12
  %568 = sext i32 %567 to i64
  %569 = getelementptr inbounds %struct.celle, ptr %566, i64 %568
  %570 = getelementptr inbounds %struct.celle, ptr %569, i32 0, i32 1
  %571 = load double, ptr %570, align 8, !tbaa !19
  %572 = fsub double %557, %571
  %573 = fmul double %542, %572
  %574 = call double @llvm.fmuladd.f64(double %510, double %540, double %573)
  %575 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 2
  %576 = load ptr, ptr %575, align 8, !tbaa !9
  %577 = load i32, ptr %13, align 4, !tbaa !12
  %578 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %576, i32 noundef %577)
  %579 = load ptr, ptr %578, align 8, !tbaa !5
  %580 = load i32, ptr %14, align 4, !tbaa !12
  %581 = sext i32 %580 to i64
  %582 = getelementptr inbounds ptr, ptr %579, i64 %581
  %583 = load ptr, ptr %582, align 8, !tbaa !5
  %584 = load i32, ptr %15, align 4, !tbaa !12
  %585 = sext i32 %584 to i64
  %586 = getelementptr inbounds %struct.cellb, ptr %583, i64 %585
  %587 = getelementptr inbounds %struct.cellb, ptr %586, i32 0, i32 0
  %588 = load double, ptr %587, align 8, !tbaa !20
  %589 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %574, double %588)
  store double %589, ptr %587, align 8, !tbaa !20
  %590 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 8
  %591 = load double, ptr %590, align 8, !tbaa !14
  %592 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %593 = load ptr, ptr %592, align 8, !tbaa !15
  %594 = load i32, ptr %13, align 4, !tbaa !12
  %595 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %593, i32 noundef %594)
  %596 = load ptr, ptr %595, align 8, !tbaa !5
  %597 = load i32, ptr %14, align 4, !tbaa !12
  %598 = add nsw i32 %597, 1
  %599 = sext i32 %598 to i64
  %600 = getelementptr inbounds ptr, ptr %596, i64 %599
  %601 = load ptr, ptr %600, align 8, !tbaa !5
  %602 = load i32, ptr %15, align 4, !tbaa !12
  %603 = sext i32 %602 to i64
  %604 = getelementptr inbounds %struct.celle, ptr %601, i64 %603
  %605 = getelementptr inbounds %struct.celle, ptr %604, i32 0, i32 0
  %606 = load double, ptr %605, align 8, !tbaa !23
  %607 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %608 = load ptr, ptr %607, align 8, !tbaa !15
  %609 = load i32, ptr %13, align 4, !tbaa !12
  %610 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %608, i32 noundef %609)
  %611 = load ptr, ptr %610, align 8, !tbaa !5
  %612 = load i32, ptr %14, align 4, !tbaa !12
  %613 = sext i32 %612 to i64
  %614 = getelementptr inbounds ptr, ptr %611, i64 %613
  %615 = load ptr, ptr %614, align 8, !tbaa !5
  %616 = load i32, ptr %15, align 4, !tbaa !12
  %617 = sext i32 %616 to i64
  %618 = getelementptr inbounds %struct.celle, ptr %615, i64 %617
  %619 = getelementptr inbounds %struct.celle, ptr %618, i32 0, i32 0
  %620 = load double, ptr %619, align 8, !tbaa !23
  %621 = fsub double %606, %620
  %622 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 7
  %623 = load double, ptr %622, align 8, !tbaa !22
  %624 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %625 = load ptr, ptr %624, align 8, !tbaa !15
  %626 = load i32, ptr %13, align 4, !tbaa !12
  %627 = add nsw i32 %626, 1
  %628 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %625, i32 noundef %627)
  %629 = load ptr, ptr %628, align 8, !tbaa !5
  %630 = load i32, ptr %14, align 4, !tbaa !12
  %631 = sext i32 %630 to i64
  %632 = getelementptr inbounds ptr, ptr %629, i64 %631
  %633 = load ptr, ptr %632, align 8, !tbaa !5
  %634 = load i32, ptr %15, align 4, !tbaa !12
  %635 = sext i32 %634 to i64
  %636 = getelementptr inbounds %struct.celle, ptr %633, i64 %635
  %637 = getelementptr inbounds %struct.celle, ptr %636, i32 0, i32 1
  %638 = load double, ptr %637, align 8, !tbaa !19
  %639 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %640 = load ptr, ptr %639, align 8, !tbaa !15
  %641 = load i32, ptr %13, align 4, !tbaa !12
  %642 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %640, i32 noundef %641)
  %643 = load ptr, ptr %642, align 8, !tbaa !5
  %644 = load i32, ptr %14, align 4, !tbaa !12
  %645 = sext i32 %644 to i64
  %646 = getelementptr inbounds ptr, ptr %643, i64 %645
  %647 = load ptr, ptr %646, align 8, !tbaa !5
  %648 = load i32, ptr %15, align 4, !tbaa !12
  %649 = sext i32 %648 to i64
  %650 = getelementptr inbounds %struct.celle, ptr %647, i64 %649
  %651 = getelementptr inbounds %struct.celle, ptr %650, i32 0, i32 1
  %652 = load double, ptr %651, align 8, !tbaa !19
  %653 = fsub double %638, %652
  %654 = fmul double %623, %653
  %655 = fneg double %654
  %656 = call double @llvm.fmuladd.f64(double %591, double %621, double %655)
  %657 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 2
  %658 = load ptr, ptr %657, align 8, !tbaa !9
  %659 = load i32, ptr %13, align 4, !tbaa !12
  %660 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %658, i32 noundef %659)
  %661 = load ptr, ptr %660, align 8, !tbaa !5
  %662 = load i32, ptr %14, align 4, !tbaa !12
  %663 = sext i32 %662 to i64
  %664 = getelementptr inbounds ptr, ptr %661, i64 %663
  %665 = load ptr, ptr %664, align 8, !tbaa !5
  %666 = load i32, ptr %15, align 4, !tbaa !12
  %667 = sext i32 %666 to i64
  %668 = getelementptr inbounds %struct.cellb, ptr %665, i64 %667
  %669 = getelementptr inbounds %struct.cellb, ptr %668, i32 0, i32 2
  %670 = load double, ptr %669, align 8, !tbaa !25
  %671 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %656, double %670)
  store double %671, ptr %669, align 8, !tbaa !25
  br label %672

672:                                              ; preds = %507
  %673 = load i32, ptr %15, align 4, !tbaa !12
  %674 = add nsw i32 %673, 1
  store i32 %674, ptr %15, align 4, !tbaa !12
  br label %501, !llvm.loop !32

675:                                              ; preds = %506
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %676

676:                                              ; preds = %675
  %677 = load i32, ptr %13, align 4, !tbaa !12
  %678 = add nsw i32 %677, 1
  store i32 %678, ptr %13, align 4, !tbaa !12
  br label %494, !llvm.loop !33

679:                                              ; preds = %499
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 1, ptr %16, align 4, !tbaa !12
  br label %680

680:                                              ; preds = %862, %679
  %681 = load i32, ptr %16, align 4, !tbaa !12
  %682 = load i32, ptr %3, align 4, !tbaa !12
  %683 = sub nsw i32 %682, 1
  %684 = icmp slt i32 %681, %683
  br i1 %684, label %686, label %685

685:                                              ; preds = %680
  store i32 23, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %865

686:                                              ; preds = %680
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 1, ptr %17, align 4, !tbaa !12
  br label %687

687:                                              ; preds = %858, %686
  %688 = load i32, ptr %17, align 4, !tbaa !12
  %689 = load i32, ptr %4, align 4, !tbaa !12
  %690 = sub nsw i32 %689, 1
  %691 = icmp slt i32 %688, %690
  br i1 %691, label %693, label %692

692:                                              ; preds = %687
  store i32 26, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %861

693:                                              ; preds = %687
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !12
  %694 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 8
  %695 = load double, ptr %694, align 8, !tbaa !14
  %696 = fneg double %695
  %697 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %698 = load ptr, ptr %697, align 8, !tbaa !15
  %699 = load i32, ptr %16, align 4, !tbaa !12
  %700 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %698, i32 noundef %699)
  %701 = load ptr, ptr %700, align 8, !tbaa !5
  %702 = load i32, ptr %17, align 4, !tbaa !12
  %703 = add nsw i32 %702, 1
  %704 = sext i32 %703 to i64
  %705 = getelementptr inbounds ptr, ptr %701, i64 %704
  %706 = load ptr, ptr %705, align 8, !tbaa !5
  %707 = load i32, ptr %18, align 4, !tbaa !12
  %708 = sext i32 %707 to i64
  %709 = getelementptr inbounds %struct.celle, ptr %706, i64 %708
  %710 = getelementptr inbounds %struct.celle, ptr %709, i32 0, i32 2
  %711 = load double, ptr %710, align 8, !tbaa !16
  %712 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %713 = load ptr, ptr %712, align 8, !tbaa !15
  %714 = load i32, ptr %16, align 4, !tbaa !12
  %715 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %713, i32 noundef %714)
  %716 = load ptr, ptr %715, align 8, !tbaa !5
  %717 = load i32, ptr %17, align 4, !tbaa !12
  %718 = sext i32 %717 to i64
  %719 = getelementptr inbounds ptr, ptr %716, i64 %718
  %720 = load ptr, ptr %719, align 8, !tbaa !5
  %721 = load i32, ptr %18, align 4, !tbaa !12
  %722 = sext i32 %721 to i64
  %723 = getelementptr inbounds %struct.celle, ptr %720, i64 %722
  %724 = getelementptr inbounds %struct.celle, ptr %723, i32 0, i32 2
  %725 = load double, ptr %724, align 8, !tbaa !16
  %726 = fsub double %711, %725
  %727 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 9
  %728 = load double, ptr %727, align 8, !tbaa !18
  %729 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %730 = load ptr, ptr %729, align 8, !tbaa !15
  %731 = load i32, ptr %16, align 4, !tbaa !12
  %732 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %730, i32 noundef %731)
  %733 = load ptr, ptr %732, align 8, !tbaa !5
  %734 = load i32, ptr %17, align 4, !tbaa !12
  %735 = sext i32 %734 to i64
  %736 = getelementptr inbounds ptr, ptr %733, i64 %735
  %737 = load ptr, ptr %736, align 8, !tbaa !5
  %738 = load i32, ptr %18, align 4, !tbaa !12
  %739 = add nsw i32 %738, 1
  %740 = sext i32 %739 to i64
  %741 = getelementptr inbounds %struct.celle, ptr %737, i64 %740
  %742 = getelementptr inbounds %struct.celle, ptr %741, i32 0, i32 1
  %743 = load double, ptr %742, align 8, !tbaa !19
  %744 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %745 = load ptr, ptr %744, align 8, !tbaa !15
  %746 = load i32, ptr %16, align 4, !tbaa !12
  %747 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %745, i32 noundef %746)
  %748 = load ptr, ptr %747, align 8, !tbaa !5
  %749 = load i32, ptr %17, align 4, !tbaa !12
  %750 = sext i32 %749 to i64
  %751 = getelementptr inbounds ptr, ptr %748, i64 %750
  %752 = load ptr, ptr %751, align 8, !tbaa !5
  %753 = load i32, ptr %18, align 4, !tbaa !12
  %754 = sext i32 %753 to i64
  %755 = getelementptr inbounds %struct.celle, ptr %752, i64 %754
  %756 = getelementptr inbounds %struct.celle, ptr %755, i32 0, i32 1
  %757 = load double, ptr %756, align 8, !tbaa !19
  %758 = fsub double %743, %757
  %759 = fmul double %728, %758
  %760 = call double @llvm.fmuladd.f64(double %696, double %726, double %759)
  %761 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 2
  %762 = load ptr, ptr %761, align 8, !tbaa !9
  %763 = load i32, ptr %16, align 4, !tbaa !12
  %764 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %762, i32 noundef %763)
  %765 = load ptr, ptr %764, align 8, !tbaa !5
  %766 = load i32, ptr %17, align 4, !tbaa !12
  %767 = sext i32 %766 to i64
  %768 = getelementptr inbounds ptr, ptr %765, i64 %767
  %769 = load ptr, ptr %768, align 8, !tbaa !5
  %770 = load i32, ptr %18, align 4, !tbaa !12
  %771 = sext i32 %770 to i64
  %772 = getelementptr inbounds %struct.cellb, ptr %769, i64 %771
  %773 = getelementptr inbounds %struct.cellb, ptr %772, i32 0, i32 0
  %774 = load double, ptr %773, align 8, !tbaa !20
  %775 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %760, double %774)
  store double %775, ptr %773, align 8, !tbaa !20
  %776 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 7
  %777 = load double, ptr %776, align 8, !tbaa !22
  %778 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %779 = load ptr, ptr %778, align 8, !tbaa !15
  %780 = load i32, ptr %16, align 4, !tbaa !12
  %781 = add nsw i32 %780, 1
  %782 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %779, i32 noundef %781)
  %783 = load ptr, ptr %782, align 8, !tbaa !5
  %784 = load i32, ptr %17, align 4, !tbaa !12
  %785 = sext i32 %784 to i64
  %786 = getelementptr inbounds ptr, ptr %783, i64 %785
  %787 = load ptr, ptr %786, align 8, !tbaa !5
  %788 = load i32, ptr %18, align 4, !tbaa !12
  %789 = sext i32 %788 to i64
  %790 = getelementptr inbounds %struct.celle, ptr %787, i64 %789
  %791 = getelementptr inbounds %struct.celle, ptr %790, i32 0, i32 2
  %792 = load double, ptr %791, align 8, !tbaa !16
  %793 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %794 = load ptr, ptr %793, align 8, !tbaa !15
  %795 = load i32, ptr %16, align 4, !tbaa !12
  %796 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %794, i32 noundef %795)
  %797 = load ptr, ptr %796, align 8, !tbaa !5
  %798 = load i32, ptr %17, align 4, !tbaa !12
  %799 = sext i32 %798 to i64
  %800 = getelementptr inbounds ptr, ptr %797, i64 %799
  %801 = load ptr, ptr %800, align 8, !tbaa !5
  %802 = load i32, ptr %18, align 4, !tbaa !12
  %803 = sext i32 %802 to i64
  %804 = getelementptr inbounds %struct.celle, ptr %801, i64 %803
  %805 = getelementptr inbounds %struct.celle, ptr %804, i32 0, i32 2
  %806 = load double, ptr %805, align 8, !tbaa !16
  %807 = fsub double %792, %806
  %808 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 9
  %809 = load double, ptr %808, align 8, !tbaa !18
  %810 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %811 = load ptr, ptr %810, align 8, !tbaa !15
  %812 = load i32, ptr %16, align 4, !tbaa !12
  %813 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %811, i32 noundef %812)
  %814 = load ptr, ptr %813, align 8, !tbaa !5
  %815 = load i32, ptr %17, align 4, !tbaa !12
  %816 = sext i32 %815 to i64
  %817 = getelementptr inbounds ptr, ptr %814, i64 %816
  %818 = load ptr, ptr %817, align 8, !tbaa !5
  %819 = load i32, ptr %18, align 4, !tbaa !12
  %820 = add nsw i32 %819, 1
  %821 = sext i32 %820 to i64
  %822 = getelementptr inbounds %struct.celle, ptr %818, i64 %821
  %823 = getelementptr inbounds %struct.celle, ptr %822, i32 0, i32 0
  %824 = load double, ptr %823, align 8, !tbaa !23
  %825 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 1
  %826 = load ptr, ptr %825, align 8, !tbaa !15
  %827 = load i32, ptr %16, align 4, !tbaa !12
  %828 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %826, i32 noundef %827)
  %829 = load ptr, ptr %828, align 8, !tbaa !5
  %830 = load i32, ptr %17, align 4, !tbaa !12
  %831 = sext i32 %830 to i64
  %832 = getelementptr inbounds ptr, ptr %829, i64 %831
  %833 = load ptr, ptr %832, align 8, !tbaa !5
  %834 = load i32, ptr %18, align 4, !tbaa !12
  %835 = sext i32 %834 to i64
  %836 = getelementptr inbounds %struct.celle, ptr %833, i64 %835
  %837 = getelementptr inbounds %struct.celle, ptr %836, i32 0, i32 0
  %838 = load double, ptr %837, align 8, !tbaa !23
  %839 = fsub double %824, %838
  %840 = fmul double %809, %839
  %841 = fneg double %840
  %842 = call double @llvm.fmuladd.f64(double %777, double %807, double %841)
  %843 = getelementptr inbounds %class.maxwell_solver, ptr %19, i32 0, i32 2
  %844 = load ptr, ptr %843, align 8, !tbaa !9
  %845 = load i32, ptr %16, align 4, !tbaa !12
  %846 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %844, i32 noundef %845)
  %847 = load ptr, ptr %846, align 8, !tbaa !5
  %848 = load i32, ptr %17, align 4, !tbaa !12
  %849 = sext i32 %848 to i64
  %850 = getelementptr inbounds ptr, ptr %847, i64 %849
  %851 = load ptr, ptr %850, align 8, !tbaa !5
  %852 = load i32, ptr %18, align 4, !tbaa !12
  %853 = sext i32 %852 to i64
  %854 = getelementptr inbounds %struct.cellb, ptr %851, i64 %853
  %855 = getelementptr inbounds %struct.cellb, ptr %854, i32 0, i32 1
  %856 = load double, ptr %855, align 8, !tbaa !24
  %857 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %842, double %856)
  store double %857, ptr %855, align 8, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %858

858:                                              ; preds = %693
  %859 = load i32, ptr %17, align 4, !tbaa !12
  %860 = add nsw i32 %859, 1
  store i32 %860, ptr %17, align 4, !tbaa !12
  br label %687, !llvm.loop !34

861:                                              ; preds = %692
  br label %862

862:                                              ; preds = %861
  %863 = load i32, ptr %16, align 4, !tbaa !12
  %864 = add nsw i32 %863, 1
  store i32 %864, ptr %16, align 4, !tbaa !12
  br label %680, !llvm.loop !35

865:                                              ; preds = %685
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #3 = { inlinehint mustprogress 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 #4 = { mustprogress 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 #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 16}
!10 = !{!"_ZTS14maxwell_solver", !6, i64 8, !6, i64 16, !6, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72}
!11 = !{!"double", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!10, !11, i64 64}
!15 = !{!10, !6, i64 8}
!16 = !{!17, !11, i64 16}
!17 = !{!"_ZTS5celle", !11, i64 0, !11, i64 8, !11, i64 16}
!18 = !{!10, !11, i64 72}
!19 = !{!17, !11, i64 8}
!20 = !{!21, !11, i64 0}
!21 = !{!"_ZTS5cellb", !11, i64 0, !11, i64 8, !11, i64 16}
!22 = !{!10, !11, i64 56}
!23 = !{!17, !11, i64 0}
!24 = !{!21, !11, i64 8}
!25 = !{!21, !11, i64 16}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = distinct !{!28, !27}
!29 = distinct !{!29, !27}
!30 = distinct !{!30, !27}
!31 = distinct !{!31, !27}
!32 = distinct !{!32, !27}
!33 = distinct !{!33, !27}
!34 = distinct !{!34, !27}
!35 = distinct !{!35, !27}


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

%struct.celle = type { double, double, double }
%struct.cellb = type { double, double, double }

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN7field3dI5cellbE6get_nxEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN7field3dI5cellbE6get_nyEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN7field3dI5cellbE6get_nzEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11fdtd_solver9advance_bEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(80) %0) unnamed_addr #3 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 16
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = tail call noundef i32 @_ZN7field3dI5cellbE6get_nxEv(ptr noundef nonnull align 8 dereferenceable(40) %3)
  %5 = load ptr, ptr %2, align 8, !tbaa !5
  %6 = tail call noundef i32 @_ZN7field3dI5cellbE6get_nyEv(ptr noundef nonnull align 8 dereferenceable(40) %5)
  %7 = load ptr, ptr %2, align 8, !tbaa !5
  %8 = tail call noundef i32 @_ZN7field3dI5cellbE6get_nzEv(ptr noundef nonnull align 8 dereferenceable(40) %7)
  %9 = add i32 %4, -1
  %10 = icmp sgt i32 %4, 2
  %11 = add i32 %6, -1
  br i1 %10, label %.preheader178.lr.ph, label %.preheader176

.preheader178.lr.ph:                              ; preds = %1
  %12 = icmp sgt i32 %6, 2
  %13 = add i32 %8, -1
  %14 = getelementptr inbounds i8, ptr %0, i64 64
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  %16 = getelementptr inbounds i8, ptr %0, i64 72
  %17 = getelementptr inbounds i8, ptr %0, i64 56
  br i1 %12, label %.preheader178.lr.ph.split.us, label %.preheader173.lr.ph

.preheader178.lr.ph.split.us:                     ; preds = %.preheader178.lr.ph
  %18 = icmp sgt i32 %8, 2
  br i1 %18, label %.preheader178.us.us.preheader, label %.preheader.us.preheader

.preheader178.us.us.preheader:                    ; preds = %.preheader178.lr.ph.split.us
  %wide.trip.count210 = zext i32 %11 to i64
  %wide.trip.count = zext i32 %13 to i64
  br label %.preheader178.us.us

.preheader178.us.us:                              ; preds = %.preheader178.us.us.preheader, %._crit_edge182.split.us.us.us
  %.0183.us.us = phi i32 [ %19, %._crit_edge182.split.us.us.us ], [ 1, %.preheader178.us.us.preheader ]
  %19 = add nuw nsw i32 %.0183.us.us, 1
  br label %.preheader177.us.us.us

.preheader177.us.us.us:                           ; preds = %._crit_edge.us.us.us, %.preheader178.us.us
  %indvars.iv207 = phi i64 [ %indvars.iv.next208, %._crit_edge.us.us.us ], [ 1, %.preheader178.us.us ]
  %indvars.iv.next208 = add nuw nsw i64 %indvars.iv207, 1
  br label %20

20:                                               ; preds = %20, %.preheader177.us.us.us
  %indvars.iv = phi i64 [ %indvars.iv.next, %20 ], [ 1, %.preheader177.us.us.us ]
  %21 = load double, ptr %14, align 8, !tbaa !11
  %22 = fneg double %21
  %23 = load ptr, ptr %15, align 8, !tbaa !12
  %24 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %23, i32 noundef %.0183.us.us)
  %25 = load ptr, ptr %24, align 8, !tbaa !13
  %26 = getelementptr inbounds ptr, ptr %25, i64 %indvars.iv.next208
  %27 = load ptr, ptr %26, align 8, !tbaa !13
  %28 = getelementptr inbounds %struct.celle, ptr %27, i64 %indvars.iv, i32 2
  %29 = load double, ptr %28, align 8, !tbaa !14
  %30 = load ptr, ptr %15, align 8, !tbaa !12
  %31 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %30, i32 noundef %.0183.us.us)
  %32 = load ptr, ptr %31, align 8, !tbaa !13
  %33 = getelementptr inbounds ptr, ptr %32, i64 %indvars.iv207
  %34 = load ptr, ptr %33, align 8, !tbaa !13
  %35 = getelementptr inbounds %struct.celle, ptr %34, i64 %indvars.iv, i32 2
  %36 = load double, ptr %35, align 8, !tbaa !14
  %37 = fsub double %29, %36
  %38 = load double, ptr %16, align 8, !tbaa !16
  %39 = load ptr, ptr %15, align 8, !tbaa !12
  %40 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %39, i32 noundef %.0183.us.us)
  %41 = load ptr, ptr %40, align 8, !tbaa !13
  %42 = getelementptr inbounds ptr, ptr %41, i64 %indvars.iv207
  %43 = load ptr, ptr %42, align 8, !tbaa !13
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %44 = getelementptr inbounds %struct.celle, ptr %43, i64 %indvars.iv.next, i32 1
  %45 = load double, ptr %44, align 8, !tbaa !17
  %46 = load ptr, ptr %15, align 8, !tbaa !12
  %47 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %46, i32 noundef %.0183.us.us)
  %48 = load ptr, ptr %47, align 8, !tbaa !13
  %49 = getelementptr inbounds ptr, ptr %48, i64 %indvars.iv207
  %50 = load ptr, ptr %49, align 8, !tbaa !13
  %51 = getelementptr inbounds %struct.celle, ptr %50, i64 %indvars.iv, i32 1
  %52 = load double, ptr %51, align 8, !tbaa !17
  %53 = fsub double %45, %52
  %54 = fmul double %38, %53
  %55 = tail call double @llvm.fmuladd.f64(double %22, double %37, double %54)
  %56 = load ptr, ptr %2, align 8, !tbaa !5
  %57 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %56, i32 noundef %.0183.us.us)
  %58 = load ptr, ptr %57, align 8, !tbaa !13
  %59 = getelementptr inbounds ptr, ptr %58, i64 %indvars.iv207
  %60 = load ptr, ptr %59, align 8, !tbaa !13
  %61 = getelementptr inbounds %struct.cellb, ptr %60, i64 %indvars.iv
  %62 = load double, ptr %61, align 8, !tbaa !18
  %63 = tail call double @llvm.fmuladd.f64(double %55, double 5.000000e-01, double %62)
  store double %63, ptr %61, align 8, !tbaa !18
  %64 = load double, ptr %17, align 8, !tbaa !20
  %65 = load ptr, ptr %15, align 8, !tbaa !12
  %66 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %65, i32 noundef %19)
  %67 = load ptr, ptr %66, align 8, !tbaa !13
  %68 = getelementptr inbounds ptr, ptr %67, i64 %indvars.iv207
  %69 = load ptr, ptr %68, align 8, !tbaa !13
  %70 = getelementptr inbounds %struct.celle, ptr %69, i64 %indvars.iv, i32 2
  %71 = load double, ptr %70, align 8, !tbaa !14
  %72 = load ptr, ptr %15, align 8, !tbaa !12
  %73 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %72, i32 noundef %.0183.us.us)
  %74 = load ptr, ptr %73, align 8, !tbaa !13
  %75 = getelementptr inbounds ptr, ptr %74, i64 %indvars.iv207
  %76 = load ptr, ptr %75, align 8, !tbaa !13
  %77 = getelementptr inbounds %struct.celle, ptr %76, i64 %indvars.iv, i32 2
  %78 = load double, ptr %77, align 8, !tbaa !14
  %79 = fsub double %71, %78
  %80 = load double, ptr %16, align 8, !tbaa !16
  %81 = load ptr, ptr %15, align 8, !tbaa !12
  %82 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %81, i32 noundef %.0183.us.us)
  %83 = load ptr, ptr %82, align 8, !tbaa !13
  %84 = getelementptr inbounds ptr, ptr %83, i64 %indvars.iv207
  %85 = load ptr, ptr %84, align 8, !tbaa !13
  %86 = getelementptr inbounds %struct.celle, ptr %85, i64 %indvars.iv.next
  %87 = load double, ptr %86, align 8, !tbaa !21
  %88 = load ptr, ptr %15, align 8, !tbaa !12
  %89 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %88, i32 noundef %.0183.us.us)
  %90 = load ptr, ptr %89, align 8, !tbaa !13
  %91 = getelementptr inbounds ptr, ptr %90, i64 %indvars.iv207
  %92 = load ptr, ptr %91, align 8, !tbaa !13
  %93 = getelementptr inbounds %struct.celle, ptr %92, i64 %indvars.iv
  %94 = load double, ptr %93, align 8, !tbaa !21
  %95 = fsub double %87, %94
  %96 = fneg double %80
  %97 = fmul double %95, %96
  %98 = tail call double @llvm.fmuladd.f64(double %64, double %79, double %97)
  %99 = load ptr, ptr %2, align 8, !tbaa !5
  %100 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %99, i32 noundef %.0183.us.us)
  %101 = load ptr, ptr %100, align 8, !tbaa !13
  %102 = getelementptr inbounds ptr, ptr %101, i64 %indvars.iv207
  %103 = load ptr, ptr %102, align 8, !tbaa !13
  %104 = getelementptr inbounds %struct.cellb, ptr %103, i64 %indvars.iv, i32 1
  %105 = load double, ptr %104, align 8, !tbaa !22
  %106 = tail call double @llvm.fmuladd.f64(double %98, double 5.000000e-01, double %105)
  store double %106, ptr %104, align 8, !tbaa !22
  %107 = load double, ptr %14, align 8, !tbaa !11
  %108 = load ptr, ptr %15, align 8, !tbaa !12
  %109 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %108, i32 noundef %.0183.us.us)
  %110 = load ptr, ptr %109, align 8, !tbaa !13
  %111 = getelementptr inbounds ptr, ptr %110, i64 %indvars.iv.next208
  %112 = load ptr, ptr %111, align 8, !tbaa !13
  %113 = getelementptr inbounds %struct.celle, ptr %112, i64 %indvars.iv
  %114 = load double, ptr %113, align 8, !tbaa !21
  %115 = load ptr, ptr %15, align 8, !tbaa !12
  %116 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %115, i32 noundef %.0183.us.us)
  %117 = load ptr, ptr %116, align 8, !tbaa !13
  %118 = getelementptr inbounds ptr, ptr %117, i64 %indvars.iv207
  %119 = load ptr, ptr %118, align 8, !tbaa !13
  %120 = getelementptr inbounds %struct.celle, ptr %119, i64 %indvars.iv
  %121 = load double, ptr %120, align 8, !tbaa !21
  %122 = fsub double %114, %121
  %123 = load double, ptr %17, align 8, !tbaa !20
  %124 = load ptr, ptr %15, align 8, !tbaa !12
  %125 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %124, i32 noundef %19)
  %126 = load ptr, ptr %125, align 8, !tbaa !13
  %127 = getelementptr inbounds ptr, ptr %126, i64 %indvars.iv207
  %128 = load ptr, ptr %127, align 8, !tbaa !13
  %129 = getelementptr inbounds %struct.celle, ptr %128, i64 %indvars.iv, i32 1
  %130 = load double, ptr %129, align 8, !tbaa !17
  %131 = load ptr, ptr %15, align 8, !tbaa !12
  %132 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %131, i32 noundef %.0183.us.us)
  %133 = load ptr, ptr %132, align 8, !tbaa !13
  %134 = getelementptr inbounds ptr, ptr %133, i64 %indvars.iv207
  %135 = load ptr, ptr %134, align 8, !tbaa !13
  %136 = getelementptr inbounds %struct.celle, ptr %135, i64 %indvars.iv, i32 1
  %137 = load double, ptr %136, align 8, !tbaa !17
  %138 = fsub double %130, %137
  %139 = fneg double %123
  %140 = fmul double %138, %139
  %141 = tail call double @llvm.fmuladd.f64(double %107, double %122, double %140)
  %142 = load ptr, ptr %2, align 8, !tbaa !5
  %143 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %142, i32 noundef %.0183.us.us)
  %144 = load ptr, ptr %143, align 8, !tbaa !13
  %145 = getelementptr inbounds ptr, ptr %144, i64 %indvars.iv207
  %146 = load ptr, ptr %145, align 8, !tbaa !13
  %147 = getelementptr inbounds %struct.cellb, ptr %146, i64 %indvars.iv, i32 2
  %148 = load double, ptr %147, align 8, !tbaa !23
  %149 = tail call double @llvm.fmuladd.f64(double %141, double 5.000000e-01, double %148)
  store double %149, ptr %147, align 8, !tbaa !23
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge.us.us.us, label %20, !llvm.loop !24

._crit_edge.us.us.us:                             ; preds = %20
  %exitcond211.not = icmp eq i64 %indvars.iv.next208, %wide.trip.count210
  br i1 %exitcond211.not, label %._crit_edge182.split.us.us.us, label %.preheader177.us.us.us, !llvm.loop !26

._crit_edge182.split.us.us.us:                    ; preds = %._crit_edge.us.us.us
  %exitcond212.not = icmp eq i32 %19, %9
  br i1 %exitcond212.not, label %.preheader176, label %.preheader178.us.us, !llvm.loop !27

.preheader176:                                    ; preds = %._crit_edge182.split.us.us.us, %1
  %150 = icmp sgt i32 %6, 2
  br i1 %150, label %.preheader175.lr.ph, label %.preheader174

.preheader175.lr.ph:                              ; preds = %.preheader176
  %151 = icmp sgt i32 %8, 2
  %152 = getelementptr inbounds i8, ptr %0, i64 56
  %153 = getelementptr inbounds i8, ptr %0, i64 8
  %154 = getelementptr inbounds i8, ptr %0, i64 72
  %155 = getelementptr inbounds i8, ptr %0, i64 64
  br i1 %151, label %.preheader175.us.preheader, label %.preheader174

.preheader175.us.preheader:                       ; preds = %.preheader175.lr.ph
  %156 = add nsw i32 %8, -1
  %wide.trip.count221 = zext i32 %11 to i64
  %wide.trip.count216 = zext i32 %156 to i64
  br label %.preheader175.us

.preheader175.us:                                 ; preds = %.preheader175.us.preheader, %._crit_edge.us
  %indvars.iv218 = phi i64 [ 1, %.preheader175.us.preheader ], [ %indvars.iv.next219, %._crit_edge.us ]
  br label %157

157:                                              ; preds = %.preheader175.us, %157
  %indvars.iv213 = phi i64 [ 1, %.preheader175.us ], [ %indvars.iv.next214, %157 ]
  %158 = load double, ptr %152, align 8, !tbaa !20
  %159 = load ptr, ptr %153, align 8, !tbaa !12
  %160 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %159, i32 noundef 1)
  %161 = load ptr, ptr %160, align 8, !tbaa !13
  %162 = getelementptr inbounds ptr, ptr %161, i64 %indvars.iv218
  %163 = load ptr, ptr %162, align 8, !tbaa !13
  %164 = getelementptr inbounds %struct.celle, ptr %163, i64 %indvars.iv213, i32 2
  %165 = load double, ptr %164, align 8, !tbaa !14
  %166 = load ptr, ptr %153, align 8, !tbaa !12
  %167 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %166, i32 noundef 0)
  %168 = load ptr, ptr %167, align 8, !tbaa !13
  %169 = getelementptr inbounds ptr, ptr %168, i64 %indvars.iv218
  %170 = load ptr, ptr %169, align 8, !tbaa !13
  %171 = getelementptr inbounds %struct.celle, ptr %170, i64 %indvars.iv213, i32 2
  %172 = load double, ptr %171, align 8, !tbaa !14
  %173 = fsub double %165, %172
  %174 = load double, ptr %154, align 8, !tbaa !16
  %175 = load ptr, ptr %153, align 8, !tbaa !12
  %176 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %175, i32 noundef 0)
  %177 = load ptr, ptr %176, align 8, !tbaa !13
  %178 = getelementptr inbounds ptr, ptr %177, i64 %indvars.iv218
  %179 = load ptr, ptr %178, align 8, !tbaa !13
  %indvars.iv.next214 = add nuw nsw i64 %indvars.iv213, 1
  %180 = getelementptr inbounds %struct.celle, ptr %179, i64 %indvars.iv.next214
  %181 = load double, ptr %180, align 8, !tbaa !21
  %182 = load ptr, ptr %153, align 8, !tbaa !12
  %183 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %182, i32 noundef 0)
  %184 = load ptr, ptr %183, align 8, !tbaa !13
  %185 = getelementptr inbounds ptr, ptr %184, i64 %indvars.iv218
  %186 = load ptr, ptr %185, align 8, !tbaa !13
  %187 = getelementptr inbounds %struct.celle, ptr %186, i64 %indvars.iv213
  %188 = load double, ptr %187, align 8, !tbaa !21
  %189 = fsub double %181, %188
  %190 = fneg double %174
  %191 = fmul double %189, %190
  %192 = tail call double @llvm.fmuladd.f64(double %158, double %173, double %191)
  %193 = load ptr, ptr %2, align 8, !tbaa !5
  %194 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %193, i32 noundef 0)
  %195 = load ptr, ptr %194, align 8, !tbaa !13
  %196 = getelementptr inbounds ptr, ptr %195, i64 %indvars.iv218
  %197 = load ptr, ptr %196, align 8, !tbaa !13
  %198 = getelementptr inbounds %struct.cellb, ptr %197, i64 %indvars.iv213, i32 1
  %199 = load double, ptr %198, align 8, !tbaa !22
  %200 = tail call double @llvm.fmuladd.f64(double %192, double 5.000000e-01, double %199)
  store double %200, ptr %198, align 8, !tbaa !22
  %201 = load double, ptr %155, align 8, !tbaa !11
  %202 = load ptr, ptr %153, align 8, !tbaa !12
  %203 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %202, i32 noundef 0)
  %204 = load ptr, ptr %203, align 8, !tbaa !13
  %205 = getelementptr inbounds ptr, ptr %204, i64 %indvars.iv218
  %206 = getelementptr inbounds i8, ptr %205, i64 8
  %207 = load ptr, ptr %206, align 8, !tbaa !13
  %208 = getelementptr inbounds %struct.celle, ptr %207, i64 %indvars.iv213
  %209 = load double, ptr %208, align 8, !tbaa !21
  %210 = load ptr, ptr %153, align 8, !tbaa !12
  %211 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %210, i32 noundef 0)
  %212 = load ptr, ptr %211, align 8, !tbaa !13
  %213 = getelementptr inbounds ptr, ptr %212, i64 %indvars.iv218
  %214 = load ptr, ptr %213, align 8, !tbaa !13
  %215 = getelementptr inbounds %struct.celle, ptr %214, i64 %indvars.iv213
  %216 = load double, ptr %215, align 8, !tbaa !21
  %217 = fsub double %209, %216
  %218 = load double, ptr %152, align 8, !tbaa !20
  %219 = load ptr, ptr %153, align 8, !tbaa !12
  %220 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %219, i32 noundef 1)
  %221 = load ptr, ptr %220, align 8, !tbaa !13
  %222 = getelementptr inbounds ptr, ptr %221, i64 %indvars.iv218
  %223 = load ptr, ptr %222, align 8, !tbaa !13
  %224 = getelementptr inbounds %struct.celle, ptr %223, i64 %indvars.iv213, i32 1
  %225 = load double, ptr %224, align 8, !tbaa !17
  %226 = load ptr, ptr %153, align 8, !tbaa !12
  %227 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %226, i32 noundef 0)
  %228 = load ptr, ptr %227, align 8, !tbaa !13
  %229 = getelementptr inbounds ptr, ptr %228, i64 %indvars.iv218
  %230 = load ptr, ptr %229, align 8, !tbaa !13
  %231 = getelementptr inbounds %struct.celle, ptr %230, i64 %indvars.iv213, i32 1
  %232 = load double, ptr %231, align 8, !tbaa !17
  %233 = fsub double %225, %232
  %234 = fneg double %218
  %235 = fmul double %233, %234
  %236 = tail call double @llvm.fmuladd.f64(double %201, double %217, double %235)
  %237 = load ptr, ptr %2, align 8, !tbaa !5
  %238 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %237, i32 noundef 0)
  %239 = load ptr, ptr %238, align 8, !tbaa !13
  %240 = getelementptr inbounds ptr, ptr %239, i64 %indvars.iv218
  %241 = load ptr, ptr %240, align 8, !tbaa !13
  %242 = getelementptr inbounds %struct.cellb, ptr %241, i64 %indvars.iv213, i32 2
  %243 = load double, ptr %242, align 8, !tbaa !23
  %244 = tail call double @llvm.fmuladd.f64(double %236, double 5.000000e-01, double %243)
  store double %244, ptr %242, align 8, !tbaa !23
  %exitcond217.not = icmp eq i64 %indvars.iv.next214, %wide.trip.count216
  br i1 %exitcond217.not, label %._crit_edge.us, label %157, !llvm.loop !28

._crit_edge.us:                                   ; preds = %157
  %indvars.iv.next219 = add nuw nsw i64 %indvars.iv218, 1
  %exitcond222.not = icmp eq i64 %indvars.iv.next219, %wide.trip.count221
  br i1 %exitcond222.not, label %.preheader174, label %.preheader175.us, !llvm.loop !29

.preheader174:                                    ; preds = %._crit_edge.us, %.preheader175.lr.ph, %.preheader176
  br i1 %10, label %.preheader173.lr.ph, label %._crit_edge199

.preheader173.lr.ph:                              ; preds = %.preheader178.lr.ph, %.preheader174
  %245 = phi i1 [ %150, %.preheader174 ], [ false, %.preheader178.lr.ph ]
  %246 = icmp sgt i32 %8, 2
  %247 = getelementptr inbounds i8, ptr %0, i64 64
  %248 = getelementptr inbounds i8, ptr %0, i64 8
  %249 = getelementptr inbounds i8, ptr %0, i64 72
  %250 = getelementptr inbounds i8, ptr %0, i64 56
  br i1 %246, label %.preheader173.us.preheader, label %.preheader172.thread

.preheader172.thread:                             ; preds = %.preheader173.lr.ph
  br i1 %245, label %.preheader.us.preheader, label %._crit_edge199

.preheader173.us.preheader:                       ; preds = %.preheader173.lr.ph
  %251 = add nsw i32 %8, -1
  %wide.trip.count226 = zext i32 %251 to i64
  br label %.preheader173.us

.preheader173.us:                                 ; preds = %.preheader173.us.preheader, %._crit_edge.us196
  %.0165195.us = phi i32 [ %252, %._crit_edge.us196 ], [ 1, %.preheader173.us.preheader ]
  %252 = add nuw nsw i32 %.0165195.us, 1
  br label %253

253:                                              ; preds = %.preheader173.us, %253
  %indvars.iv223 = phi i64 [ 1, %.preheader173.us ], [ %indvars.iv.next224, %253 ]
  %254 = load double, ptr %247, align 8, !tbaa !11
  %255 = fneg double %254
  %256 = load ptr, ptr %248, align 8, !tbaa !12
  %257 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %256, i32 noundef %.0165195.us)
  %258 = load ptr, ptr %257, align 8, !tbaa !13
  %259 = getelementptr inbounds i8, ptr %258, i64 8
  %260 = load ptr, ptr %259, align 8, !tbaa !13
  %261 = getelementptr inbounds %struct.celle, ptr %260, i64 %indvars.iv223, i32 2
  %262 = load double, ptr %261, align 8, !tbaa !14
  %263 = load ptr, ptr %248, align 8, !tbaa !12
  %264 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %263, i32 noundef %.0165195.us)
  %265 = load ptr, ptr %264, align 8, !tbaa !13
  %266 = load ptr, ptr %265, align 8, !tbaa !13
  %267 = getelementptr inbounds %struct.celle, ptr %266, i64 %indvars.iv223, i32 2
  %268 = load double, ptr %267, align 8, !tbaa !14
  %269 = fsub double %262, %268
  %270 = load double, ptr %249, align 8, !tbaa !16
  %271 = load ptr, ptr %248, align 8, !tbaa !12
  %272 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %271, i32 noundef %.0165195.us)
  %273 = load ptr, ptr %272, align 8, !tbaa !13
  %274 = load ptr, ptr %273, align 8, !tbaa !13
  %indvars.iv.next224 = add nuw nsw i64 %indvars.iv223, 1
  %275 = getelementptr inbounds %struct.celle, ptr %274, i64 %indvars.iv.next224, i32 1
  %276 = load double, ptr %275, align 8, !tbaa !17
  %277 = load ptr, ptr %248, align 8, !tbaa !12
  %278 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %277, i32 noundef %.0165195.us)
  %279 = load ptr, ptr %278, align 8, !tbaa !13
  %280 = load ptr, ptr %279, align 8, !tbaa !13
  %281 = getelementptr inbounds %struct.celle, ptr %280, i64 %indvars.iv223, i32 1
  %282 = load double, ptr %281, align 8, !tbaa !17
  %283 = fsub double %276, %282
  %284 = fmul double %270, %283
  %285 = tail call double @llvm.fmuladd.f64(double %255, double %269, double %284)
  %286 = load ptr, ptr %2, align 8, !tbaa !5
  %287 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %286, i32 noundef %.0165195.us)
  %288 = load ptr, ptr %287, align 8, !tbaa !13
  %289 = load ptr, ptr %288, align 8, !tbaa !13
  %290 = getelementptr inbounds %struct.cellb, ptr %289, i64 %indvars.iv223
  %291 = load double, ptr %290, align 8, !tbaa !18
  %292 = tail call double @llvm.fmuladd.f64(double %285, double 5.000000e-01, double %291)
  store double %292, ptr %290, align 8, !tbaa !18
  %293 = load double, ptr %247, align 8, !tbaa !11
  %294 = load ptr, ptr %248, align 8, !tbaa !12
  %295 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %294, i32 noundef %.0165195.us)
  %296 = load ptr, ptr %295, align 8, !tbaa !13
  %297 = getelementptr inbounds i8, ptr %296, i64 8
  %298 = load ptr, ptr %297, align 8, !tbaa !13
  %299 = getelementptr inbounds %struct.celle, ptr %298, i64 %indvars.iv223
  %300 = load double, ptr %299, align 8, !tbaa !21
  %301 = load ptr, ptr %248, align 8, !tbaa !12
  %302 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %301, i32 noundef %.0165195.us)
  %303 = load ptr, ptr %302, align 8, !tbaa !13
  %304 = load ptr, ptr %303, align 8, !tbaa !13
  %305 = getelementptr inbounds %struct.celle, ptr %304, i64 %indvars.iv223
  %306 = load double, ptr %305, align 8, !tbaa !21
  %307 = fsub double %300, %306
  %308 = load double, ptr %250, align 8, !tbaa !20
  %309 = load ptr, ptr %248, align 8, !tbaa !12
  %310 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %309, i32 noundef %252)
  %311 = load ptr, ptr %310, align 8, !tbaa !13
  %312 = load ptr, ptr %311, align 8, !tbaa !13
  %313 = getelementptr inbounds %struct.celle, ptr %312, i64 %indvars.iv223, i32 1
  %314 = load double, ptr %313, align 8, !tbaa !17
  %315 = load ptr, ptr %248, align 8, !tbaa !12
  %316 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %315, i32 noundef %.0165195.us)
  %317 = load ptr, ptr %316, align 8, !tbaa !13
  %318 = load ptr, ptr %317, align 8, !tbaa !13
  %319 = getelementptr inbounds %struct.celle, ptr %318, i64 %indvars.iv223, i32 1
  %320 = load double, ptr %319, align 8, !tbaa !17
  %321 = fsub double %314, %320
  %322 = fneg double %308
  %323 = fmul double %321, %322
  %324 = tail call double @llvm.fmuladd.f64(double %293, double %307, double %323)
  %325 = load ptr, ptr %2, align 8, !tbaa !5
  %326 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %325, i32 noundef %.0165195.us)
  %327 = load ptr, ptr %326, align 8, !tbaa !13
  %328 = load ptr, ptr %327, align 8, !tbaa !13
  %329 = getelementptr inbounds %struct.cellb, ptr %328, i64 %indvars.iv223, i32 2
  %330 = load double, ptr %329, align 8, !tbaa !23
  %331 = tail call double @llvm.fmuladd.f64(double %324, double 5.000000e-01, double %330)
  store double %331, ptr %329, align 8, !tbaa !23
  %exitcond227.not = icmp eq i64 %indvars.iv.next224, %wide.trip.count226
  br i1 %exitcond227.not, label %._crit_edge.us196, label %253, !llvm.loop !30

._crit_edge.us196:                                ; preds = %253
  %exitcond228.not = icmp eq i32 %252, %9
  br i1 %exitcond228.not, label %.preheader172, label %.preheader173.us, !llvm.loop !31

.preheader172:                                    ; preds = %._crit_edge.us196
  %brmerge.not = and i1 %10, %245
  br i1 %brmerge.not, label %.preheader.us.preheader, label %._crit_edge199

.preheader.us.preheader:                          ; preds = %.preheader172, %.preheader178.lr.ph.split.us, %.preheader172.thread
  %332 = getelementptr inbounds i8, ptr %0, i64 64
  %333 = getelementptr inbounds i8, ptr %0, i64 8
  %334 = getelementptr inbounds i8, ptr %0, i64 72
  %335 = getelementptr inbounds i8, ptr %0, i64 56
  %wide.trip.count232 = zext i32 %11 to i64
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge.us200
  %.0163198.us = phi i32 [ %336, %._crit_edge.us200 ], [ 1, %.preheader.us.preheader ]
  %336 = add nuw nsw i32 %.0163198.us, 1
  br label %337

337:                                              ; preds = %.preheader.us, %337
  %indvars.iv229 = phi i64 [ 1, %.preheader.us ], [ %indvars.iv.next230, %337 ]
  %338 = load double, ptr %332, align 8, !tbaa !11
  %339 = fneg double %338
  %340 = load ptr, ptr %333, align 8, !tbaa !12
  %341 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %340, i32 noundef %.0163198.us)
  %342 = load ptr, ptr %341, align 8, !tbaa !13
  %indvars.iv.next230 = add nuw nsw i64 %indvars.iv229, 1
  %343 = getelementptr inbounds ptr, ptr %342, i64 %indvars.iv.next230
  %344 = load ptr, ptr %343, align 8, !tbaa !13
  %345 = getelementptr inbounds i8, ptr %344, i64 16
  %346 = load double, ptr %345, align 8, !tbaa !14
  %347 = load ptr, ptr %333, align 8, !tbaa !12
  %348 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %347, i32 noundef %.0163198.us)
  %349 = load ptr, ptr %348, align 8, !tbaa !13
  %350 = getelementptr inbounds ptr, ptr %349, i64 %indvars.iv229
  %351 = load ptr, ptr %350, align 8, !tbaa !13
  %352 = getelementptr inbounds i8, ptr %351, i64 16
  %353 = load double, ptr %352, align 8, !tbaa !14
  %354 = fsub double %346, %353
  %355 = load double, ptr %334, align 8, !tbaa !16
  %356 = load ptr, ptr %333, align 8, !tbaa !12
  %357 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %356, i32 noundef %.0163198.us)
  %358 = load ptr, ptr %357, align 8, !tbaa !13
  %359 = getelementptr inbounds ptr, ptr %358, i64 %indvars.iv229
  %360 = load ptr, ptr %359, align 8, !tbaa !13
  %361 = getelementptr inbounds i8, ptr %360, i64 32
  %362 = load double, ptr %361, align 8, !tbaa !17
  %363 = load ptr, ptr %333, align 8, !tbaa !12
  %364 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %363, i32 noundef %.0163198.us)
  %365 = load ptr, ptr %364, align 8, !tbaa !13
  %366 = getelementptr inbounds ptr, ptr %365, i64 %indvars.iv229
  %367 = load ptr, ptr %366, align 8, !tbaa !13
  %368 = getelementptr inbounds i8, ptr %367, i64 8
  %369 = load double, ptr %368, align 8, !tbaa !17
  %370 = fsub double %362, %369
  %371 = fmul double %355, %370
  %372 = tail call double @llvm.fmuladd.f64(double %339, double %354, double %371)
  %373 = load ptr, ptr %2, align 8, !tbaa !5
  %374 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %373, i32 noundef %.0163198.us)
  %375 = load ptr, ptr %374, align 8, !tbaa !13
  %376 = getelementptr inbounds ptr, ptr %375, i64 %indvars.iv229
  %377 = load ptr, ptr %376, align 8, !tbaa !13
  %378 = load double, ptr %377, align 8, !tbaa !18
  %379 = tail call double @llvm.fmuladd.f64(double %372, double 5.000000e-01, double %378)
  store double %379, ptr %377, align 8, !tbaa !18
  %380 = load double, ptr %335, align 8, !tbaa !20
  %381 = load ptr, ptr %333, align 8, !tbaa !12
  %382 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %381, i32 noundef %336)
  %383 = load ptr, ptr %382, align 8, !tbaa !13
  %384 = getelementptr inbounds ptr, ptr %383, i64 %indvars.iv229
  %385 = load ptr, ptr %384, align 8, !tbaa !13
  %386 = getelementptr inbounds i8, ptr %385, i64 16
  %387 = load double, ptr %386, align 8, !tbaa !14
  %388 = load ptr, ptr %333, align 8, !tbaa !12
  %389 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %388, i32 noundef %.0163198.us)
  %390 = load ptr, ptr %389, align 8, !tbaa !13
  %391 = getelementptr inbounds ptr, ptr %390, i64 %indvars.iv229
  %392 = load ptr, ptr %391, align 8, !tbaa !13
  %393 = getelementptr inbounds i8, ptr %392, i64 16
  %394 = load double, ptr %393, align 8, !tbaa !14
  %395 = fsub double %387, %394
  %396 = load double, ptr %334, align 8, !tbaa !16
  %397 = load ptr, ptr %333, align 8, !tbaa !12
  %398 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %397, i32 noundef %.0163198.us)
  %399 = load ptr, ptr %398, align 8, !tbaa !13
  %400 = getelementptr inbounds ptr, ptr %399, i64 %indvars.iv229
  %401 = load ptr, ptr %400, align 8, !tbaa !13
  %402 = getelementptr inbounds i8, ptr %401, i64 24
  %403 = load double, ptr %402, align 8, !tbaa !21
  %404 = load ptr, ptr %333, align 8, !tbaa !12
  %405 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %404, i32 noundef %.0163198.us)
  %406 = load ptr, ptr %405, align 8, !tbaa !13
  %407 = getelementptr inbounds ptr, ptr %406, i64 %indvars.iv229
  %408 = load ptr, ptr %407, align 8, !tbaa !13
  %409 = load double, ptr %408, align 8, !tbaa !21
  %410 = fsub double %403, %409
  %411 = fneg double %396
  %412 = fmul double %410, %411
  %413 = tail call double @llvm.fmuladd.f64(double %380, double %395, double %412)
  %414 = load ptr, ptr %2, align 8, !tbaa !5
  %415 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %414, i32 noundef %.0163198.us)
  %416 = load ptr, ptr %415, align 8, !tbaa !13
  %417 = getelementptr inbounds ptr, ptr %416, i64 %indvars.iv229
  %418 = load ptr, ptr %417, align 8, !tbaa !13
  %419 = getelementptr inbounds i8, ptr %418, i64 8
  %420 = load double, ptr %419, align 8, !tbaa !22
  %421 = tail call double @llvm.fmuladd.f64(double %413, double 5.000000e-01, double %420)
  store double %421, ptr %419, align 8, !tbaa !22
  %exitcond233.not = icmp eq i64 %indvars.iv.next230, %wide.trip.count232
  br i1 %exitcond233.not, label %._crit_edge.us200, label %337, !llvm.loop !32

._crit_edge.us200:                                ; preds = %337
  %exitcond234.not = icmp eq i32 %336, %9
  br i1 %exitcond234.not, label %._crit_edge199, label %.preheader.us, !llvm.loop !33

._crit_edge199:                                   ; preds = %._crit_edge.us200, %.preheader172, %.preheader174, %.preheader172.thread
  ret void
}

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

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

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


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