; LLVM IR from SourangshuGhosh/Fluid-Simulation-for-Computer-Graphics :: src (fluidbrickgridsavestate)

; 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.std::fpos" = type { i64, %struct.__mbstate_t }
%struct.__mbstate_t = type { i32, %union.anon }
%union.anon = type { i32 }
%class.FluidBrickGridSaveState = type <{ %"class.std::basic_ifstream", i32, i32, i32, [4 x i8], double, %class.AABB, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, [7 x i8] }>
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%class.AABB = type { %"class.vmath::vec3", double, double, double }
%"class.vmath::vec3" = type { float, float, float }

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN23FluidBrickGridSaveState9loadStateENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(625) %0, ptr noundef %1) #3 align 2 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %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 %"class.std::fpos", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::fpos", align 8
  %16 = alloca %"class.std::fpos", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %17 = load ptr, ptr %4, align 8
  %18 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 0
  %19 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  %20 = call noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 8, i32 noundef 4)
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %18, ptr noundef %19, i32 noundef %20)
  %21 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 0
  %22 = call noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256) %21)
  br i1 %22, label %24, label %23

23:                                               ; preds = %2
  store i1 false, ptr %3, align 1
  br label %217

24:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #5
  %25 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 1
  %26 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 0
  %27 = call noundef zeroext i1 @_ZN23FluidBrickGridSaveState8_readIntEPiPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625) %17, ptr noundef %25, ptr noundef %26)
  br i1 %27, label %28, label %63

28:                                               ; preds = %24
  %29 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 2
  %30 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 0
  %31 = call noundef zeroext i1 @_ZN23FluidBrickGridSaveState8_readIntEPiPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625) %17, ptr noundef %29, ptr noundef %30)
  br i1 %31, label %32, label %63

32:                                               ; preds = %28
  %33 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 3
  %34 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 0
  %35 = call noundef zeroext i1 @_ZN23FluidBrickGridSaveState8_readIntEPiPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625) %17, ptr noundef %33, ptr noundef %34)
  br i1 %35, label %36, label %63

36:                                               ; preds = %32
  %37 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 5
  %38 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 0
  %39 = call noundef zeroext i1 @_ZN23FluidBrickGridSaveState11_readDoubleEPdPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625) %17, ptr noundef %37, ptr noundef %38)
  br i1 %39, label %40, label %63

40:                                               ; preds = %36
  %41 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 6
  %42 = getelementptr inbounds %class.AABB, ptr %41, i32 0, i32 1
  %43 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 0
  %44 = call noundef zeroext i1 @_ZN23FluidBrickGridSaveState11_readDoubleEPdPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625) %17, ptr noundef %42, ptr noundef %43)
  br i1 %44, label %45, label %63

45:                                               ; preds = %40
  %46 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 6
  %47 = getelementptr inbounds %class.AABB, ptr %46, i32 0, i32 2
  %48 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 0
  %49 = call noundef zeroext i1 @_ZN23FluidBrickGridSaveState11_readDoubleEPdPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625) %17, ptr noundef %47, ptr noundef %48)
  br i1 %49, label %50, label %63

50:                                               ; preds = %45
  %51 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 6
  %52 = getelementptr inbounds %class.AABB, ptr %51, i32 0, i32 3
  %53 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 0
  %54 = call noundef zeroext i1 @_ZN23FluidBrickGridSaveState11_readDoubleEPdPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625) %17, ptr noundef %52, ptr noundef %53)
  br i1 %54, label %55, label %63

55:                                               ; preds = %50
  %56 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 7
  %57 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 0
  %58 = call noundef zeroext i1 @_ZN23FluidBrickGridSaveState8_readIntEPiPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625) %17, ptr noundef %56, ptr noundef %57)
  br i1 %58, label %59, label %63

59:                                               ; preds = %55
  %60 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 8
  %61 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 0
  %62 = call noundef zeroext i1 @_ZN23FluidBrickGridSaveState8_readIntEPiPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625) %17, ptr noundef %60, ptr noundef %61)
  br label %63

63:                                               ; preds = %59, %55, %50, %45, %40, %36, %32, %28, %24
  %64 = phi i1 [ false, %55 ], [ false, %50 ], [ false, %45 ], [ false, %40 ], [ false, %36 ], [ false, %32 ], [ false, %28 ], [ false, %24 ], [ %62, %59 ]
  %65 = zext i1 %64 to i8
  store i8 %65, ptr %6, align 1, !tbaa !9
  %66 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %67 = trunc i8 %66 to i1
  br i1 %67, label %69, label %68

68:                                               ; preds = %63
  store i1 false, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %216

69:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %70 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 1
  %71 = load i32, ptr %70, align 8, !tbaa !13
  %72 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 2
  %73 = load i32, ptr %72, align 4, !tbaa !29
  %74 = mul nsw i32 %71, %73
  %75 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 3
  %76 = load i32, ptr %75, align 8, !tbaa !30
  %77 = mul nsw i32 %74, %76
  store i32 %77, ptr %8, align 4, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  call void @_ZN23FluidBrickGridSaveState23_getBrickGridDimensionsEPiS0_S0_(ptr noundef nonnull align 8 dereferenceable(625) %17, ptr noundef %9, ptr noundef %10, ptr noundef %11)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %78 = load i32, ptr %9, align 4, !tbaa !31
  %79 = load i32, ptr %10, align 4, !tbaa !31
  %80 = mul nsw i32 %78, %79
  %81 = load i32, ptr %11, align 4, !tbaa !31
  %82 = mul nsw i32 %80, %81
  store i32 %82, ptr %12, align 4, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  %83 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 0
  %84 = call { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16) %83)
  %85 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 0
  %86 = extractvalue { i64, i64 } %84, 0
  store i64 %86, ptr %85, align 8
  %87 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 1
  %88 = extractvalue { i64, i64 } %84, 1
  store i64 %88, ptr %87, align 8
  %89 = call noundef i64 @_ZNKSt4fposI11__mbstate_tEcvlEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
  %90 = trunc i64 %89 to i32
  %91 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 9
  store i32 %90, ptr %91, align 8, !tbaa !32
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  %92 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 9
  %93 = load i32, ptr %92, align 8, !tbaa !32
  %94 = zext i32 %93 to i64
  %95 = load i32, ptr %8, align 4, !tbaa !31
  %96 = sext i32 %95 to i64
  %97 = mul i64 %96, 4
  %98 = add i64 %94, %97
  %99 = trunc i64 %98 to i32
  %100 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 10
  store i32 %99, ptr %100, align 4, !tbaa !33
  %101 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 10
  %102 = load i32, ptr %101, align 4, !tbaa !33
  %103 = zext i32 %102 to i64
  %104 = load i32, ptr %8, align 4, !tbaa !31
  %105 = sext i32 %104 to i64
  %106 = mul i64 %105, 4
  %107 = add i64 %103, %106
  %108 = trunc i64 %107 to i32
  %109 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 11
  store i32 %108, ptr %109, align 8, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %110 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 11
  %111 = load i32, ptr %110, align 8, !tbaa !34
  %112 = zext i32 %111 to i64
  %113 = load i32, ptr %8, align 4, !tbaa !31
  %114 = sext i32 %113 to i64
  %115 = mul i64 %114, 4
  %116 = add i64 %112, %115
  %117 = trunc i64 %116 to i32
  store i32 %117, ptr %14, align 4, !tbaa !31
  %118 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 7
  %119 = load i32, ptr %118, align 8, !tbaa !35
  %120 = icmp sge i32 %119, 1
  br i1 %120, label %121, label %139

121:                                              ; preds = %69
  %122 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 11
  %123 = load i32, ptr %122, align 8, !tbaa !34
  %124 = zext i32 %123 to i64
  %125 = load i32, ptr %8, align 4, !tbaa !31
  %126 = sext i32 %125 to i64
  %127 = mul i64 %126, 4
  %128 = add i64 %124, %127
  %129 = trunc i64 %128 to i32
  %130 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 12
  store i32 %129, ptr %130, align 4, !tbaa !36
  %131 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 12
  %132 = load i32, ptr %131, align 4, !tbaa !36
  %133 = zext i32 %132 to i64
  %134 = load i32, ptr %12, align 4, !tbaa !31
  %135 = sext i32 %134 to i64
  %136 = mul i64 %135, 5
  %137 = add i64 %133, %136
  %138 = trunc i64 %137 to i32
  store i32 %138, ptr %14, align 4, !tbaa !31
  br label %139

139:                                              ; preds = %121, %69
  %140 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 7
  %141 = load i32, ptr %140, align 8, !tbaa !35
  %142 = icmp sge i32 %141, 2
  br i1 %142, label %143, label %161

143:                                              ; preds = %139
  %144 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 12
  %145 = load i32, ptr %144, align 4, !tbaa !36
  %146 = zext i32 %145 to i64
  %147 = load i32, ptr %12, align 4, !tbaa !31
  %148 = sext i32 %147 to i64
  %149 = mul i64 %148, 5
  %150 = add i64 %146, %149
  %151 = trunc i64 %150 to i32
  %152 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 13
  store i32 %151, ptr %152, align 8, !tbaa !37
  %153 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 13
  %154 = load i32, ptr %153, align 8, !tbaa !37
  %155 = zext i32 %154 to i64
  %156 = load i32, ptr %12, align 4, !tbaa !31
  %157 = sext i32 %156 to i64
  %158 = mul i64 %157, 5
  %159 = add i64 %155, %158
  %160 = trunc i64 %159 to i32
  store i32 %160, ptr %14, align 4, !tbaa !31
  br label %161

161:                                              ; preds = %143, %139
  %162 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 7
  %163 = load i32, ptr %162, align 8, !tbaa !35
  %164 = icmp sge i32 %163, 3
  br i1 %164, label %165, label %183

165:                                              ; preds = %161
  %166 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 13
  %167 = load i32, ptr %166, align 8, !tbaa !37
  %168 = zext i32 %167 to i64
  %169 = load i32, ptr %12, align 4, !tbaa !31
  %170 = sext i32 %169 to i64
  %171 = mul i64 %170, 5
  %172 = add i64 %168, %171
  %173 = trunc i64 %172 to i32
  %174 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 14
  store i32 %173, ptr %174, align 4, !tbaa !38
  %175 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 14
  %176 = load i32, ptr %175, align 4, !tbaa !38
  %177 = zext i32 %176 to i64
  %178 = load i32, ptr %12, align 4, !tbaa !31
  %179 = sext i32 %178 to i64
  %180 = mul i64 %179, 5
  %181 = add i64 %177, %180
  %182 = trunc i64 %181 to i32
  store i32 %182, ptr %14, align 4, !tbaa !31
  br label %183

183:                                              ; preds = %165, %161
  %184 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 0
  %185 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 0
  %186 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16) %184, i64 noundef 0, i32 noundef 2)
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  %187 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 0
  %188 = call { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16) %187)
  %189 = getelementptr inbounds { i64, i64 }, ptr %15, i32 0, i32 0
  %190 = extractvalue { i64, i64 } %188, 0
  store i64 %190, ptr %189, align 8
  %191 = getelementptr inbounds { i64, i64 }, ptr %15, i32 0, i32 1
  %192 = extractvalue { i64, i64 } %188, 1
  store i64 %192, ptr %191, align 8
  %193 = call noundef i64 @_ZNKSt4fposI11__mbstate_tEcvlEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
  %194 = trunc i64 %193 to i32
  %195 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 15
  store i32 %194, ptr %195, align 8, !tbaa !39
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  %196 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 0
  %197 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 0
  %198 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16) %196, i64 noundef 0, i32 noundef 0)
  %199 = load i32, ptr %14, align 4, !tbaa !31
  %200 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 15
  %201 = load i32, ptr %200, align 8, !tbaa !39
  %202 = icmp ne i32 %199, %201
  br i1 %202, label %203, label %204

203:                                              ; preds = %183
  store i1 false, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %215

204:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #5
  %205 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 0
  %206 = call { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16) %205)
  %207 = getelementptr inbounds { i64, i64 }, ptr %16, i32 0, i32 0
  %208 = extractvalue { i64, i64 } %206, 0
  store i64 %208, ptr %207, align 8
  %209 = getelementptr inbounds { i64, i64 }, ptr %16, i32 0, i32 1
  %210 = extractvalue { i64, i64 } %206, 1
  store i64 %210, ptr %209, align 8
  %211 = call noundef i64 @_ZNKSt4fposI11__mbstate_tEcvlEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
  %212 = trunc i64 %211 to i32
  %213 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 16
  store i32 %212, ptr %213, align 4, !tbaa !40
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #5
  %214 = getelementptr inbounds %class.FluidBrickGridSaveState, ptr %17, i32 0, i32 17
  store i8 1, ptr %214, align 8, !tbaa !41
  store i1 true, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %215

215:                                              ; preds = %204, %203
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %216

216:                                              ; preds = %215, %68
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #5
  br label %217

217:                                              ; preds = %216, %23
  %218 = load i1, ptr %3, align 1
  ret i1 %218
}

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef, i32 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN23FluidBrickGridSaveState8_readIntEPiPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625), ptr noundef, ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN23FluidBrickGridSaveState11_readDoubleEPdPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625), ptr noundef, ptr noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN23FluidBrickGridSaveState23_getBrickGridDimensionsEPiS0_S0_(ptr noundef nonnull align 8 dereferenceable(625), ptr noundef, ptr noundef, ptr noundef) #2 align 2

declare { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt4fposI11__mbstate_tEcvlEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i32 noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint 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 = { 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 = { 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 = { "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, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !24, i64 520}
!14 = !{!"_ZTS23FluidBrickGridSaveState", !15, i64 0, !24, i64 520, !24, i64 524, !24, i64 528, !25, i64 536, !26, i64 544, !24, i64 584, !24, i64 588, !24, i64 592, !24, i64 596, !24, i64 600, !24, i64 604, !24, i64 608, !24, i64 612, !24, i64 616, !24, i64 620, !10, i64 624}
!15 = !{!"_ZTSSt14basic_ifstreamIcSt11char_traitsIcEE", !16, i64 0, !18, i64 16}
!16 = !{!"_ZTSSi", !17, i64 8}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTSSt13basic_filebufIcSt11char_traitsIcEE", !19, i64 0, !7, i64 64, !21, i64 104, !22, i64 120, !23, i64 124, !23, i64 132, !23, i64 140, !6, i64 152, !17, i64 160, !10, i64 168, !10, i64 169, !10, i64 170, !7, i64 171, !6, i64 176, !6, i64 184, !10, i64 192, !6, i64 200, !6, i64 208, !17, i64 216, !6, i64 224, !6, i64 232}
!19 = !{!"_ZTSSt15basic_streambufIcSt11char_traitsIcEE", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !20, i64 56}
!20 = !{!"_ZTSSt6locale", !6, i64 0}
!21 = !{!"_ZTSSt12__basic_fileIcE", !6, i64 0, !10, i64 8}
!22 = !{!"_ZTSSt13_Ios_Openmode", !7, i64 0}
!23 = !{!"_ZTS11__mbstate_t", !24, i64 0, !7, i64 4}
!24 = !{!"int", !7, i64 0}
!25 = !{!"double", !7, i64 0}
!26 = !{!"_ZTS4AABB", !27, i64 0, !25, i64 16, !25, i64 24, !25, i64 32}
!27 = !{!"_ZTSN5vmath4vec3E", !28, i64 0, !28, i64 4, !28, i64 8}
!28 = !{!"float", !7, i64 0}
!29 = !{!14, !24, i64 524}
!30 = !{!14, !24, i64 528}
!31 = !{!24, !24, i64 0}
!32 = !{!14, !24, i64 592}
!33 = !{!14, !24, i64 596}
!34 = !{!14, !24, i64 600}
!35 = !{!14, !24, i64 584}
!36 = !{!14, !24, i64 604}
!37 = !{!14, !24, i64 608}
!38 = !{!14, !24, i64 612}
!39 = !{!14, !24, i64 616}
!40 = !{!14, !24, i64 620}
!41 = !{!14, !10, i64 624}


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

%"class.std::fpos" = type { i64, %struct.__mbstate_t }
%struct.__mbstate_t = type { i32, %union.anon }
%union.anon = type { i32 }

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN23FluidBrickGridSaveState9loadStateENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(625) %0, ptr noundef nonnull %1) local_unnamed_addr #3 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::fpos", align 8
  %7 = alloca %"class.std::fpos", align 8
  %8 = alloca %"class.std::fpos", align 8
  %9 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  %10 = tail call noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 8, i32 noundef 4)
  tail call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %0, ptr noundef %9, i32 noundef %10)
  %11 = tail call noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256) %0)
  br i1 %11, label %12, label %.critedge

12:                                               ; preds = %2
  %13 = getelementptr inbounds i8, ptr %0, i64 520
  %14 = tail call noundef zeroext i1 @_ZN23FluidBrickGridSaveState8_readIntEPiPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625) %0, ptr noundef nonnull %13, ptr noundef nonnull %0)
  br i1 %14, label %15, label %.critedge

15:                                               ; preds = %12
  %16 = getelementptr inbounds i8, ptr %0, i64 524
  %17 = tail call noundef zeroext i1 @_ZN23FluidBrickGridSaveState8_readIntEPiPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625) %0, ptr noundef nonnull %16, ptr noundef nonnull %0)
  br i1 %17, label %18, label %.critedge

18:                                               ; preds = %15
  %19 = getelementptr inbounds i8, ptr %0, i64 528
  %20 = tail call noundef zeroext i1 @_ZN23FluidBrickGridSaveState8_readIntEPiPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625) %0, ptr noundef nonnull %19, ptr noundef nonnull %0)
  br i1 %20, label %21, label %.critedge

21:                                               ; preds = %18
  %22 = getelementptr inbounds i8, ptr %0, i64 536
  %23 = tail call noundef zeroext i1 @_ZN23FluidBrickGridSaveState11_readDoubleEPdPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625) %0, ptr noundef nonnull %22, ptr noundef nonnull %0)
  br i1 %23, label %24, label %.critedge

24:                                               ; preds = %21
  %25 = getelementptr inbounds i8, ptr %0, i64 560
  %26 = tail call noundef zeroext i1 @_ZN23FluidBrickGridSaveState11_readDoubleEPdPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625) %0, ptr noundef nonnull %25, ptr noundef nonnull %0)
  br i1 %26, label %27, label %.critedge

27:                                               ; preds = %24
  %28 = getelementptr inbounds i8, ptr %0, i64 568
  %29 = tail call noundef zeroext i1 @_ZN23FluidBrickGridSaveState11_readDoubleEPdPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625) %0, ptr noundef nonnull %28, ptr noundef nonnull %0)
  br i1 %29, label %30, label %.critedge

30:                                               ; preds = %27
  %31 = getelementptr inbounds i8, ptr %0, i64 576
  %32 = tail call noundef zeroext i1 @_ZN23FluidBrickGridSaveState11_readDoubleEPdPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625) %0, ptr noundef nonnull %31, ptr noundef nonnull %0)
  br i1 %32, label %33, label %.critedge

33:                                               ; preds = %30
  %34 = getelementptr inbounds i8, ptr %0, i64 584
  %35 = tail call noundef zeroext i1 @_ZN23FluidBrickGridSaveState8_readIntEPiPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625) %0, ptr noundef nonnull %34, ptr noundef nonnull %0)
  br i1 %35, label %36, label %.critedge

36:                                               ; preds = %33
  %37 = getelementptr inbounds i8, ptr %0, i64 588
  %38 = tail call noundef zeroext i1 @_ZN23FluidBrickGridSaveState8_readIntEPiPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625) %0, ptr noundef nonnull %37, ptr noundef nonnull %0)
  br i1 %38, label %39, label %.critedge

39:                                               ; preds = %36
  %40 = load i32, ptr %13, align 8, !tbaa !5
  %41 = load i32, ptr %16, align 4, !tbaa !25
  %42 = mul nsw i32 %41, %40
  %43 = load i32, ptr %19, align 8, !tbaa !26
  %44 = mul nsw i32 %42, %43
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  call void @_ZN23FluidBrickGridSaveState23_getBrickGridDimensionsEPiS0_S0_(ptr noundef nonnull align 8 dereferenceable(625) %0, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5)
  %45 = load i32, ptr %3, align 4, !tbaa !27
  %46 = load i32, ptr %4, align 4, !tbaa !27
  %47 = mul nsw i32 %46, %45
  %48 = load i32, ptr %5, align 4, !tbaa !27
  %49 = mul nsw i32 %47, %48
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  %50 = call { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %51 = extractvalue { i64, i64 } %50, 0
  store i64 %51, ptr %6, align 8
  %52 = getelementptr inbounds i8, ptr %6, i64 8
  %53 = extractvalue { i64, i64 } %50, 1
  store i64 %53, ptr %52, align 8
  %54 = call noundef i64 @_ZNKSt4fposI11__mbstate_tEcvlEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %55 = trunc i64 %54 to i32
  %56 = getelementptr inbounds i8, ptr %0, i64 592
  store i32 %55, ptr %56, align 8, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  %57 = sext i32 %44 to i64
  %58 = shl nsw i64 %57, 2
  %59 = add i64 %54, %58
  %60 = trunc i64 %59 to i32
  %61 = getelementptr inbounds i8, ptr %0, i64 596
  store i32 %60, ptr %61, align 4, !tbaa !29
  %62 = add i64 %59, %58
  %63 = trunc i64 %62 to i32
  %64 = getelementptr inbounds i8, ptr %0, i64 600
  store i32 %63, ptr %64, align 8, !tbaa !30
  %65 = add i64 %62, %58
  %66 = trunc i64 %65 to i32
  %67 = load i32, ptr %34, align 8, !tbaa !31
  %68 = icmp sgt i32 %67, 0
  br i1 %68, label %69, label %.thread16

69:                                               ; preds = %39
  %70 = getelementptr inbounds i8, ptr %0, i64 604
  store i32 %66, ptr %70, align 4, !tbaa !32
  %71 = zext i32 %49 to i64
  %72 = mul nuw nsw i64 %71, 5
  %73 = add i64 %65, %72
  %74 = trunc i64 %73 to i32
  %.not18 = icmp eq i32 %67, 1
  br i1 %.not18, label %.thread16, label %75

75:                                               ; preds = %69
  %76 = mul i32 %49, 5
  %77 = add i32 %76, %66
  %78 = getelementptr inbounds i8, ptr %0, i64 608
  store i32 %77, ptr %78, align 8, !tbaa !33
  %79 = add i32 %77, %76
  %80 = icmp ugt i32 %67, 2
  br i1 %80, label %81, label %.thread16

81:                                               ; preds = %75
  %82 = getelementptr inbounds i8, ptr %0, i64 612
  store i32 %79, ptr %82, align 4, !tbaa !34
  %83 = add i32 %79, %76
  br label %.thread16

.thread16:                                        ; preds = %39, %69, %81, %75
  %.2 = phi i32 [ %83, %81 ], [ %79, %75 ], [ %74, %69 ], [ %66, %39 ]
  %84 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16) %0, i64 noundef 0, i32 noundef 2)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  %85 = call { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %86 = extractvalue { i64, i64 } %85, 0
  store i64 %86, ptr %7, align 8
  %87 = getelementptr inbounds i8, ptr %7, i64 8
  %88 = extractvalue { i64, i64 } %85, 1
  store i64 %88, ptr %87, align 8
  %89 = call noundef i64 @_ZNKSt4fposI11__mbstate_tEcvlEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %90 = trunc i64 %89 to i32
  %91 = getelementptr inbounds i8, ptr %0, i64 616
  store i32 %90, ptr %91, align 8, !tbaa !35
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  %92 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16) %0, i64 noundef 0, i32 noundef 0)
  %93 = load i32, ptr %91, align 8, !tbaa !35
  %.not = icmp eq i32 %.2, %93
  br i1 %.not, label %94, label %103

94:                                               ; preds = %.thread16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  %95 = call { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %96 = extractvalue { i64, i64 } %95, 0
  store i64 %96, ptr %8, align 8
  %97 = getelementptr inbounds i8, ptr %8, i64 8
  %98 = extractvalue { i64, i64 } %95, 1
  store i64 %98, ptr %97, align 8
  %99 = call noundef i64 @_ZNKSt4fposI11__mbstate_tEcvlEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %100 = trunc i64 %99 to i32
  %101 = getelementptr inbounds i8, ptr %0, i64 620
  store i32 %100, ptr %101, align 4, !tbaa !36
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  %102 = getelementptr inbounds i8, ptr %0, i64 624
  store i8 1, ptr %102, align 8, !tbaa !37
  br label %103

103:                                              ; preds = %.thread16, %94
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  br label %.critedge

.critedge:                                        ; preds = %33, %30, %27, %24, %21, %18, %15, %12, %103, %36, %2
  %.214 = phi i1 [ false, %2 ], [ %.not, %103 ], [ false, %36 ], [ false, %12 ], [ false, %15 ], [ false, %18 ], [ false, %21 ], [ false, %24 ], [ false, %27 ], [ false, %30 ], [ false, %33 ]
  ret i1 %.214
}

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef, i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN23FluidBrickGridSaveState8_readIntEPiPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625), ptr noundef, ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN23FluidBrickGridSaveState11_readDoubleEPdPSt14basic_ifstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(625), ptr noundef, ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN23FluidBrickGridSaveState23_getBrickGridDimensionsEPiS0_S0_(ptr noundef nonnull align 8 dereferenceable(625), ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 align 2

declare { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt4fposI11__mbstate_tEcvlEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i32 noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint 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 = { 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 = { 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 = { "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, !20, i64 520}
!6 = !{!"_ZTS23FluidBrickGridSaveState", !7, i64 0, !20, i64 520, !20, i64 524, !20, i64 528, !21, i64 536, !22, i64 544, !20, i64 584, !20, i64 588, !20, i64 592, !20, i64 596, !20, i64 600, !20, i64 604, !20, i64 608, !20, i64 612, !20, i64 616, !20, i64 620, !17, i64 624}
!7 = !{!"_ZTSSt14basic_ifstreamIcSt11char_traitsIcEE", !8, i64 0, !12, i64 16}
!8 = !{!"_ZTSSi", !9, i64 8}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSSt13basic_filebufIcSt11char_traitsIcEE", !13, i64 0, !10, i64 64, !16, i64 104, !18, i64 120, !19, i64 124, !19, i64 132, !19, i64 140, !14, i64 152, !9, i64 160, !17, i64 168, !17, i64 169, !17, i64 170, !10, i64 171, !14, i64 176, !14, i64 184, !17, i64 192, !14, i64 200, !14, i64 208, !9, i64 216, !14, i64 224, !14, i64 232}
!13 = !{!"_ZTSSt15basic_streambufIcSt11char_traitsIcEE", !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56}
!14 = !{!"any pointer", !10, i64 0}
!15 = !{!"_ZTSSt6locale", !14, i64 0}
!16 = !{!"_ZTSSt12__basic_fileIcE", !14, i64 0, !17, i64 8}
!17 = !{!"bool", !10, i64 0}
!18 = !{!"_ZTSSt13_Ios_Openmode", !10, i64 0}
!19 = !{!"_ZTS11__mbstate_t", !20, i64 0, !10, i64 4}
!20 = !{!"int", !10, i64 0}
!21 = !{!"double", !10, i64 0}
!22 = !{!"_ZTS4AABB", !23, i64 0, !21, i64 16, !21, i64 24, !21, i64 32}
!23 = !{!"_ZTSN5vmath4vec3E", !24, i64 0, !24, i64 4, !24, i64 8}
!24 = !{!"float", !10, i64 0}
!25 = !{!6, !20, i64 524}
!26 = !{!6, !20, i64 528}
!27 = !{!20, !20, i64 0}
!28 = !{!6, !20, i64 592}
!29 = !{!6, !20, i64 596}
!30 = !{!6, !20, i64 600}
!31 = !{!6, !20, i64 584}
!32 = !{!6, !20, i64 604}
!33 = !{!6, !20, i64 608}
!34 = !{!6, !20, i64 612}
!35 = !{!6, !20, i64 616}
!36 = !{!6, !20, i64 620}
!37 = !{!6, !17, i64 624}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass