; LLVM IR from artvns/SimpleFvm :: simplefvm/src (SolverMeshLoader)

; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"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.std::locale" = type { ptr }
%"class.meshloader::Loader" = type { %"class.meshloader::ReaderTxt", %"class.meshloader::Mesh", %"class.meshloader::NumsSets", %"class.meshloader::NumsSets", %"class.meshloader::NumsSets", %"class.meshloader::MeshInformation", %"class.meshloader::MeshInformation", %"class.meshloader::MeshInformation", %"class.meshloader::DataStoreMasks" }
%"class.meshloader::ReaderTxt" = type <{ %"class.meshloader::IFileReader", %"class.meshloader::LineCheck", [8 x i8] }>
%"class.meshloader::IFileReader" = type { ptr }
%"class.meshloader::LineCheck" = type { i64, i64 }
%"class.meshloader::Mesh" = type <{ %"class.std::vector.73", %"class.std::vector.64", i8, [7 x i8] }>
%"class.std::vector.73" = type { %"struct.std::_Vector_base.74" }
%"struct.std::_Vector_base.74" = type { %"struct.std::_Vector_base<std::unique_ptr<meshloader::MacroCell>, std::allocator<std::unique_ptr<meshloader::MacroCell>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<meshloader::MacroCell>, std::allocator<std::unique_ptr<meshloader::MacroCell>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<meshloader::MacroCell>, std::allocator<std::unique_ptr<meshloader::MacroCell>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<meshloader::MacroCell>, std::allocator<std::unique_ptr<meshloader::MacroCell>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.64" = type { %"struct.std::_Vector_base.65" }
%"struct.std::_Vector_base.65" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.meshloader::NumsSets" = type { i64, %"class.std::vector.78", %"class.std::map.80" }
%"class.std::vector.78" = type { %"struct.std::_Vector_base.79" }
%"struct.std::_Vector_base.79" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.80" = type { %"class.std::_Rb_tree.81" }
%"class.std::_Rb_tree.81" = type { %"struct.std::_Rb_tree<char, std::pair<const char, std::vector<unsigned long>>, std::_Select1st<std::pair<const char, std::vector<unsigned long>>>, std::less<char>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<char, std::pair<const char, std::vector<unsigned long>>, std::_Select1st<std::pair<const char, std::vector<unsigned long>>>, std::less<char>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.meshloader::MeshInformation" = type { i64, %"class.std::vector.1", %"class.std::vector.64" }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.meshloader::DataStoreMasks" = type { ptr, ptr, ptr, ptr, %"class.meshloader::SingleMasks", %"class.meshloader::SetsOfMasks" }
%"class.meshloader::SingleMasks" = type { %"class.meshloader::StateFlagsMask", %"class.meshloader::FieldsMask", %"class.meshloader::MeshParamsMask", %"class.meshloader::MeshParamsMask", %"class.meshloader::MeshParamsMask", %"class.meshloader::MeshInformationMask", %"class.meshloader::MeshInformationMask", %"class.meshloader::MeshInformationMask", %"class.meshloader::AdjCellsTypeMask", %"class.meshloader::AdjCellsTypeMask", %"class.meshloader::AdjCellsTypeMask", %"class.meshloader::MeshBuildingMask" }
%"class.meshloader::StateFlagsMask" = type { ptr }
%"class.meshloader::FieldsMask" = type { ptr }
%"class.meshloader::MeshParamsMask" = type { ptr }
%"class.meshloader::MeshInformationMask" = type { ptr }
%"class.meshloader::AdjCellsTypeMask" = type { ptr }
%"class.meshloader::MeshBuildingMask" = type { ptr }
%"class.meshloader::SetsOfMasks" = type { %"class.std::map.86", %"class.std::map.86", %"class.std::map.86", %"class.std::map.91", %"class.std::map.91", %"class.std::map.91", %"class.std::map.96", %"class.std::map.101", %"class.std::map.106", %"class.std::map.111", %"class.std::map.116", %"class.std::map.121" }
%"class.std::map.86" = type { %"class.std::_Rb_tree.87" }
%"class.std::_Rb_tree.87" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::CellNumsGlobalMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::CellNumsGlobalMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::CellNumsGlobalMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::CellNumsGlobalMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.91" = type { %"class.std::_Rb_tree.92" }
%"class.std::_Rb_tree.92" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::CellNumsInteriorMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::CellNumsInteriorMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::CellNumsInteriorMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::CellNumsInteriorMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.96" = type { %"class.std::_Rb_tree.97" }
%"class.std::_Rb_tree.97" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsUMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsUMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsUMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsUMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.101" = type { %"class.std::_Rb_tree.102" }
%"class.std::_Rb_tree.102" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsVMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsVMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsVMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsVMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.106" = type { %"class.std::_Rb_tree.107" }
%"class.std::_Rb_tree.107" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsPMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsPMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsPMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsPMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.111" = type { %"class.std::_Rb_tree.112" }
%"class.std::_Rb_tree.112" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsUMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsUMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsUMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsUMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.116" = type { %"class.std::_Rb_tree.117" }
%"class.std::_Rb_tree.117" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsVMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsVMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsVMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsVMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.121" = type { %"class.std::_Rb_tree.122" }
%"class.std::_Rb_tree.122" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsPMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsPMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsPMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsPMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.mainsolver::SolverMeshLoader" = type { ptr }

@_ZTIN16customexceptions22MeshLoadStateExceptionE = external constant ptr
@_ZTIN16customexceptions20DomainPartsExceptionE = external constant ptr
@_ZTISt9bad_alloc = external constant ptr
@_ZTINSt8ios_base7failureB5cxx11E = external constant ptr
@_ZTISt11range_error = external constant ptr
@_ZTISt15underflow_error = external constant ptr
@_ZTISt9exception = external constant ptr
@.str = external hidden unnamed_addr constant [50 x i8], align 1
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [16 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10mainsolver16SolverMeshLoader8loadMeshENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdd(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %1, double noundef %2, double noundef %3) #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.meshloader::Loader", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store double %2, ptr %7, align 8, !tbaa !9
  store double %3, ptr %8, align 8, !tbaa !9
  %20 = load ptr, ptr %5, align 8
  %21 = load double, ptr %7, align 8, !tbaa !9
  %22 = fcmp oge double 0.000000e+00, %21
  br i1 %22, label %26, label %23

23:                                               ; preds = %4
  %24 = load double, ptr %8, align 8, !tbaa !9
  %25 = fcmp oge double 0.000000e+00, %24
  br i1 %25, label %26, label %37

26:                                               ; preds = %23, %4
  %27 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt15underflow_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef @.str)
          to label %28 unwind label %29

28:                                               ; preds = %26
  invoke void @__cxa_throw(ptr %27, ptr @_ZTISt15underflow_error, ptr @_ZNSt15underflow_errorD1Ev) #10
          to label %268 unwind label %33

29:                                               ; preds = %26
  %30 = landingpad { ptr, i32 }
          catch ptr @_ZTIN16customexceptions22MeshLoadStateExceptionE
          catch ptr @_ZTIN16customexceptions20DomainPartsExceptionE
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTINSt8ios_base7failureB5cxx11E
          catch ptr @_ZTISt11range_error
          catch ptr @_ZTISt15underflow_error
          catch ptr @_ZTISt9exception
          catch ptr null
  %31 = extractvalue { ptr, i32 } %30, 0
  store ptr %31, ptr %9, align 8
  %32 = extractvalue { ptr, i32 } %30, 1
  store i32 %32, ptr %10, align 4
  call void @__cxa_free_exception(ptr %27) #9
  br label %59

33:                                               ; preds = %28
  %34 = landingpad { ptr, i32 }
          catch ptr @_ZTIN16customexceptions22MeshLoadStateExceptionE
          catch ptr @_ZTIN16customexceptions20DomainPartsExceptionE
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTINSt8ios_base7failureB5cxx11E
          catch ptr @_ZTISt11range_error
          catch ptr @_ZTISt15underflow_error
          catch ptr @_ZTISt9exception
          catch ptr null
  %35 = extractvalue { ptr, i32 } %34, 0
  store ptr %35, ptr %9, align 8
  %36 = extractvalue { ptr, i32 } %34, 1
  store i32 %36, ptr %10, align 4
  br label %59

37:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 1200, ptr %11) #9
  %38 = getelementptr inbounds %"class.mainsolver::SolverMeshLoader", ptr %20, i32 0, i32 0
  %39 = load ptr, ptr %38, align 8, !tbaa !11
  invoke void @_ZN10meshloader6LoaderC1ERN10datastores16GlobalDataStoresE(ptr noundef nonnull align 8 dereferenceable(1200) %11, ptr noundef nonnull align 8 dereferenceable(1800) %39)
          to label %40 unwind label %45

40:                                               ; preds = %37
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %41 unwind label %49

41:                                               ; preds = %40
  %42 = load double, ptr %7, align 8, !tbaa !9
  %43 = load double, ptr %8, align 8, !tbaa !9
  invoke void @_ZN10meshloader6Loader16loadDataFromFileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdd(ptr noundef nonnull align 8 dereferenceable(1200) %11, ptr noundef %12, double noundef %42, double noundef %43)
          to label %44 unwind label %53

44:                                               ; preds = %41
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #9
  call void @_ZN10meshloader6LoaderD2Ev(ptr noundef nonnull align 8 dereferenceable(1200) %11) #9
  call void @llvm.lifetime.end.p0(i64 1200, ptr %11) #9
  br label %95

45:                                               ; preds = %37
  %46 = landingpad { ptr, i32 }
          catch ptr @_ZTIN16customexceptions22MeshLoadStateExceptionE
          catch ptr @_ZTIN16customexceptions20DomainPartsExceptionE
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTINSt8ios_base7failureB5cxx11E
          catch ptr @_ZTISt11range_error
          catch ptr @_ZTISt15underflow_error
          catch ptr @_ZTISt9exception
          catch ptr null
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %9, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %10, align 4
  br label %58

49:                                               ; preds = %40
  %50 = landingpad { ptr, i32 }
          catch ptr @_ZTIN16customexceptions22MeshLoadStateExceptionE
          catch ptr @_ZTIN16customexceptions20DomainPartsExceptionE
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTINSt8ios_base7failureB5cxx11E
          catch ptr @_ZTISt11range_error
          catch ptr @_ZTISt15underflow_error
          catch ptr @_ZTISt9exception
          catch ptr null
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %9, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %10, align 4
  br label %57

53:                                               ; preds = %41
  %54 = landingpad { ptr, i32 }
          catch ptr @_ZTIN16customexceptions22MeshLoadStateExceptionE
          catch ptr @_ZTIN16customexceptions20DomainPartsExceptionE
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTINSt8ios_base7failureB5cxx11E
          catch ptr @_ZTISt11range_error
          catch ptr @_ZTISt15underflow_error
          catch ptr @_ZTISt9exception
          catch ptr null
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %9, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #9
  br label %57

57:                                               ; preds = %53, %49
  call void @_ZN10meshloader6LoaderD2Ev(ptr noundef nonnull align 8 dereferenceable(1200) %11) #9
  br label %58

58:                                               ; preds = %57, %45
  call void @llvm.lifetime.end.p0(i64 1200, ptr %11) #9
  br label %59

59:                                               ; preds = %58, %33, %29
  %60 = load i32, ptr %10, align 4
  %61 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTIN16customexceptions22MeshLoadStateExceptionE) #9
  %62 = icmp eq i32 %60, %61
  br i1 %62, label %63, label %96

63:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  %64 = load ptr, ptr %9, align 8
  %65 = call ptr @__cxa_begin_catch(ptr %64) #9
  store ptr %65, ptr %19, align 8
  %66 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.9)
          to label %67 unwind label %255

67:                                               ; preds = %63
  %68 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %66, i8 noundef signext 10)
          to label %69 unwind label %255

69:                                               ; preds = %67
  %70 = load ptr, ptr %19, align 8, !tbaa !5
  %71 = load ptr, ptr %70, align 8, !tbaa !13
  %72 = getelementptr inbounds ptr, ptr %71, i64 2
  %73 = load ptr, ptr %72, align 8
  %74 = call noundef ptr %73(ptr noundef nonnull align 8 dereferenceable(56) %70) #9
  %75 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %74)
          to label %76 unwind label %255

76:                                               ; preds = %69
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %75, i8 noundef signext 10)
          to label %78 unwind label %255

78:                                               ; preds = %76
  %79 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.10)
          to label %80 unwind label %255

80:                                               ; preds = %78
  %81 = load ptr, ptr %19, align 8, !tbaa !5
  %82 = call noundef i64 @_ZNK16customexceptions22MeshLoadStateException13getLineNumberEv(ptr noundef nonnull align 8 dereferenceable(56) %81) #9
  %83 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %79, i64 noundef %82)
          to label %84 unwind label %255

84:                                               ; preds = %80
  %85 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %83, i8 noundef signext 10)
          to label %86 unwind label %255

86:                                               ; preds = %84
  %87 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.11)
          to label %88 unwind label %255

88:                                               ; preds = %86
  %89 = load ptr, ptr %19, align 8, !tbaa !5
  %90 = call noundef i64 @_ZNK16customexceptions22MeshLoadStateException15getColumnNumberEv(ptr noundef nonnull align 8 dereferenceable(56) %89) #9
  %91 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %87, i64 noundef %90)
          to label %92 unwind label %255

92:                                               ; preds = %88
  %93 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %91, i8 noundef signext 10)
          to label %94 unwind label %255

94:                                               ; preds = %92
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  br label %95

95:                                               ; preds = %219, %212, %193, %174, %155, %136, %116, %94, %44
  ret void

96:                                               ; preds = %59
  %97 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTIN16customexceptions20DomainPartsExceptionE) #9
  %98 = icmp eq i32 %60, %97
  br i1 %98, label %99, label %118

99:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %100 = load ptr, ptr %9, align 8
  %101 = call ptr @__cxa_begin_catch(ptr %100) #9
  store ptr %101, ptr %18, align 8
  %102 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.7)
          to label %103 unwind label %250

103:                                              ; preds = %99
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.8)
          to label %105 unwind label %250

105:                                              ; preds = %103
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %104, i8 noundef signext 10)
          to label %107 unwind label %250

107:                                              ; preds = %105
  %108 = load ptr, ptr %18, align 8, !tbaa !5
  %109 = load ptr, ptr %108, align 8, !tbaa !13
  %110 = getelementptr inbounds ptr, ptr %109, i64 2
  %111 = load ptr, ptr %110, align 8
  %112 = call noundef ptr %111(ptr noundef nonnull align 8 dereferenceable(64) %108) #9
  %113 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %112)
          to label %114 unwind label %250

114:                                              ; preds = %107
  %115 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %113, i8 noundef signext 10)
          to label %116 unwind label %250

116:                                              ; preds = %114
  %117 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZNK16customexceptions20DomainPartsException22outputProblemPartNamesEv(ptr noundef nonnull align 8 dereferenceable(64) %117) #9
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %95

118:                                              ; preds = %96
  %119 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9bad_alloc) #9
  %120 = icmp eq i32 %60, %119
  br i1 %120, label %121, label %137

121:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %122 = load ptr, ptr %9, align 8
  %123 = call ptr @__cxa_begin_catch(ptr %122) #9
  store ptr %123, ptr %17, align 8
  %124 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.6)
          to label %125 unwind label %245

125:                                              ; preds = %121
  %126 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %124, i8 noundef signext 10)
          to label %127 unwind label %245

127:                                              ; preds = %125
  %128 = load ptr, ptr %17, align 8, !tbaa !5
  %129 = load ptr, ptr %128, align 8, !tbaa !13
  %130 = getelementptr inbounds ptr, ptr %129, i64 2
  %131 = load ptr, ptr %130, align 8
  %132 = call noundef ptr %131(ptr noundef nonnull align 8 dereferenceable(8) %128) #9
  %133 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %132)
          to label %134 unwind label %245

134:                                              ; preds = %127
  %135 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %133, i8 noundef signext 10)
          to label %136 unwind label %245

136:                                              ; preds = %134
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  br label %95

137:                                              ; preds = %118
  %138 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTINSt8ios_base7failureB5cxx11E) #9
  %139 = icmp eq i32 %60, %138
  br i1 %139, label %140, label %156

140:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %141 = load ptr, ptr %9, align 8
  %142 = call ptr @__cxa_begin_catch(ptr %141) #9
  store ptr %142, ptr %16, align 8
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.5)
          to label %144 unwind label %240

144:                                              ; preds = %140
  %145 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %143, i8 noundef signext 10)
          to label %146 unwind label %240

146:                                              ; preds = %144
  %147 = load ptr, ptr %16, align 8, !tbaa !5
  %148 = load ptr, ptr %147, align 8, !tbaa !13
  %149 = getelementptr inbounds ptr, ptr %148, i64 2
  %150 = load ptr, ptr %149, align 8
  %151 = call noundef ptr %150(ptr noundef nonnull align 8 dereferenceable(32) %147) #9
  %152 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %151)
          to label %153 unwind label %240

153:                                              ; preds = %146
  %154 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %152, i8 noundef signext 10)
          to label %155 unwind label %240

155:                                              ; preds = %153
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  br label %95

156:                                              ; preds = %137
  %157 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt11range_error) #9
  %158 = icmp eq i32 %60, %157
  br i1 %158, label %159, label %175

159:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %160 = load ptr, ptr %9, align 8
  %161 = call ptr @__cxa_begin_catch(ptr %160) #9
  store ptr %161, ptr %15, align 8
  %162 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.4)
          to label %163 unwind label %235

163:                                              ; preds = %159
  %164 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %162, i8 noundef signext 10)
          to label %165 unwind label %235

165:                                              ; preds = %163
  %166 = load ptr, ptr %15, align 8, !tbaa !5
  %167 = load ptr, ptr %166, align 8, !tbaa !13
  %168 = getelementptr inbounds ptr, ptr %167, i64 2
  %169 = load ptr, ptr %168, align 8
  %170 = call noundef ptr %169(ptr noundef nonnull align 8 dereferenceable(16) %166) #9
  %171 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %170)
          to label %172 unwind label %235

172:                                              ; preds = %165
  %173 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %171, i8 noundef signext 10)
          to label %174 unwind label %235

174:                                              ; preds = %172
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  br label %95

175:                                              ; preds = %156
  %176 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt15underflow_error) #9
  %177 = icmp eq i32 %60, %176
  br i1 %177, label %178, label %194

178:                                              ; preds = %175
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %179 = load ptr, ptr %9, align 8
  %180 = call ptr @__cxa_begin_catch(ptr %179) #9
  store ptr %180, ptr %14, align 8
  %181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.3)
          to label %182 unwind label %230

182:                                              ; preds = %178
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %181, i8 noundef signext 10)
          to label %184 unwind label %230

184:                                              ; preds = %182
  %185 = load ptr, ptr %14, align 8, !tbaa !5
  %186 = load ptr, ptr %185, align 8, !tbaa !13
  %187 = getelementptr inbounds ptr, ptr %186, i64 2
  %188 = load ptr, ptr %187, align 8
  %189 = call noundef ptr %188(ptr noundef nonnull align 8 dereferenceable(16) %185) #9
  %190 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %189)
          to label %191 unwind label %230

191:                                              ; preds = %184
  %192 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %190, i8 noundef signext 10)
          to label %193 unwind label %230

193:                                              ; preds = %191
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  br label %95

194:                                              ; preds = %175
  %195 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #9
  %196 = icmp eq i32 %60, %195
  br i1 %196, label %197, label %213

197:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %198 = load ptr, ptr %9, align 8
  %199 = call ptr @__cxa_begin_catch(ptr %198) #9
  store ptr %199, ptr %13, align 8
  %200 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.2)
          to label %201 unwind label %225

201:                                              ; preds = %197
  %202 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %200, i8 noundef signext 10)
          to label %203 unwind label %225

203:                                              ; preds = %201
  %204 = load ptr, ptr %13, align 8, !tbaa !5
  %205 = load ptr, ptr %204, align 8, !tbaa !13
  %206 = getelementptr inbounds ptr, ptr %205, i64 2
  %207 = load ptr, ptr %206, align 8
  %208 = call noundef ptr %207(ptr noundef nonnull align 8 dereferenceable(8) %204) #9
  %209 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %208)
          to label %210 unwind label %225

210:                                              ; preds = %203
  %211 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %209, i8 noundef signext 10)
          to label %212 unwind label %225

212:                                              ; preds = %210
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %95

213:                                              ; preds = %194
  %214 = load ptr, ptr %9, align 8
  %215 = call ptr @__cxa_begin_catch(ptr %214) #9
  %216 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.1)
          to label %217 unwind label %220

217:                                              ; preds = %213
  %218 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %216, i8 noundef signext 10)
          to label %219 unwind label %220

219:                                              ; preds = %217
  call void @__cxa_end_catch()
  br label %95

220:                                              ; preds = %217, %213
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %9, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %10, align 4
  invoke void @__cxa_end_catch()
          to label %224 unwind label %265

224:                                              ; preds = %220
  br label %260

225:                                              ; preds = %210, %203, %201, %197
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %9, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %10, align 4
  invoke void @__cxa_end_catch()
          to label %229 unwind label %265

229:                                              ; preds = %225
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %260

230:                                              ; preds = %191, %184, %182, %178
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %9, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %10, align 4
  invoke void @__cxa_end_catch()
          to label %234 unwind label %265

234:                                              ; preds = %230
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  br label %260

235:                                              ; preds = %172, %165, %163, %159
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %9, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %10, align 4
  invoke void @__cxa_end_catch()
          to label %239 unwind label %265

239:                                              ; preds = %235
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  br label %260

240:                                              ; preds = %153, %146, %144, %140
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %9, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %10, align 4
  invoke void @__cxa_end_catch()
          to label %244 unwind label %265

244:                                              ; preds = %240
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  br label %260

245:                                              ; preds = %134, %127, %125, %121
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %9, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %10, align 4
  invoke void @__cxa_end_catch()
          to label %249 unwind label %265

249:                                              ; preds = %245
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  br label %260

250:                                              ; preds = %114, %107, %105, %103, %99
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %9, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %10, align 4
  invoke void @__cxa_end_catch()
          to label %254 unwind label %265

254:                                              ; preds = %250
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %260

255:                                              ; preds = %92, %88, %86, %84, %80, %78, %76, %69, %67, %63
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %9, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %10, align 4
  invoke void @__cxa_end_catch()
          to label %259 unwind label %265

259:                                              ; preds = %255
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  br label %260

260:                                              ; preds = %259, %254, %249, %244, %239, %234, %229, %224
  %261 = load ptr, ptr %9, align 8
  %262 = load i32, ptr %10, align 4
  %263 = insertvalue { ptr, i32 } poison, ptr %261, 0
  %264 = insertvalue { ptr, i32 } %263, i32 %262, 1
  resume { ptr, i32 } %264

265:                                              ; preds = %255, %250, %245, %240, %235, %230, %225, %220
  %266 = landingpad { ptr, i32 }
          catch ptr null
  %267 = extractvalue { ptr, i32 } %266, 0
  call void @__clang_call_terminate(ptr %267) #11
  unreachable

268:                                              ; preds = %28
  unreachable
}

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt15underflow_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt15underflow_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

declare void @__cxa_throw(ptr, ptr, ptr)

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

declare void @_ZN10meshloader6LoaderC1ERN10datastores16GlobalDataStoresE(ptr noundef nonnull align 8 dereferenceable(1200), ptr noundef nonnull align 8 dereferenceable(1800)) unnamed_addr #1

declare void @_ZN10meshloader6Loader16loadDataFromFileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdd(ptr noundef nonnull align 8 dereferenceable(1200), ptr noundef, double noundef, double noundef) #1

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10meshloader6LoaderD2Ev(ptr noundef nonnull align 8 dereferenceable(1200)) unnamed_addr #5 align 2

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

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #6

declare ptr @__cxa_begin_catch(ptr)

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #7

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #7

declare void @__cxa_end_catch()

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #8

; Function Attrs: nounwind
declare void @_ZNK16customexceptions20DomainPartsException22outputProblemPartNamesEv(ptr noundef nonnull align 8 dereferenceable(64)) #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #0 align 2

; Function Attrs: nounwind
declare noundef i64 @_ZNK16customexceptions22MeshLoadStateException13getLineNumberEv(ptr noundef nonnull align 8 dereferenceable(56)) #2

; Function Attrs: nounwind
declare noundef i64 @_ZNK16customexceptions22MeshLoadStateException15getColumnNumberEv(ptr noundef nonnull align 8 dereferenceable(56)) #2

attributes #0 = { 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 #1 = { "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 = { nounwind "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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 #6 = { nounwind memory(none) }
attributes #7 = { 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 #8 = { noinline noreturn nounwind uwtable "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 #9 = { nounwind }
attributes #10 = { noreturn }
attributes #11 = { noreturn 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 = !{!"double", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSN10mainsolver16SolverMeshLoaderE", !6, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}


; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"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.std::locale" = type { ptr }
%"class.meshloader::Loader" = type { %"class.meshloader::ReaderTxt", %"class.meshloader::Mesh", %"class.meshloader::NumsSets", %"class.meshloader::NumsSets", %"class.meshloader::NumsSets", %"class.meshloader::MeshInformation", %"class.meshloader::MeshInformation", %"class.meshloader::MeshInformation", %"class.meshloader::DataStoreMasks" }
%"class.meshloader::ReaderTxt" = type <{ %"class.meshloader::IFileReader", %"class.meshloader::LineCheck", [8 x i8] }>
%"class.meshloader::IFileReader" = type { ptr }
%"class.meshloader::LineCheck" = type { i64, i64 }
%"class.meshloader::Mesh" = type <{ %"class.std::vector.73", %"class.std::vector.64", i8, [7 x i8] }>
%"class.std::vector.73" = type { %"struct.std::_Vector_base.74" }
%"struct.std::_Vector_base.74" = type { %"struct.std::_Vector_base<std::unique_ptr<meshloader::MacroCell>, std::allocator<std::unique_ptr<meshloader::MacroCell>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<meshloader::MacroCell>, std::allocator<std::unique_ptr<meshloader::MacroCell>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<meshloader::MacroCell>, std::allocator<std::unique_ptr<meshloader::MacroCell>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<meshloader::MacroCell>, std::allocator<std::unique_ptr<meshloader::MacroCell>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.64" = type { %"struct.std::_Vector_base.65" }
%"struct.std::_Vector_base.65" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.meshloader::NumsSets" = type { i64, %"class.std::vector.78", %"class.std::map.80" }
%"class.std::vector.78" = type { %"struct.std::_Vector_base.79" }
%"struct.std::_Vector_base.79" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.80" = type { %"class.std::_Rb_tree.81" }
%"class.std::_Rb_tree.81" = type { %"struct.std::_Rb_tree<char, std::pair<const char, std::vector<unsigned long>>, std::_Select1st<std::pair<const char, std::vector<unsigned long>>>, std::less<char>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<char, std::pair<const char, std::vector<unsigned long>>, std::_Select1st<std::pair<const char, std::vector<unsigned long>>>, std::less<char>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.meshloader::MeshInformation" = type { i64, %"class.std::vector.1", %"class.std::vector.64" }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.meshloader::DataStoreMasks" = type { ptr, ptr, ptr, ptr, %"class.meshloader::SingleMasks", %"class.meshloader::SetsOfMasks" }
%"class.meshloader::SingleMasks" = type { %"class.meshloader::StateFlagsMask", %"class.meshloader::FieldsMask", %"class.meshloader::MeshParamsMask", %"class.meshloader::MeshParamsMask", %"class.meshloader::MeshParamsMask", %"class.meshloader::MeshInformationMask", %"class.meshloader::MeshInformationMask", %"class.meshloader::MeshInformationMask", %"class.meshloader::AdjCellsTypeMask", %"class.meshloader::AdjCellsTypeMask", %"class.meshloader::AdjCellsTypeMask", %"class.meshloader::MeshBuildingMask" }
%"class.meshloader::StateFlagsMask" = type { ptr }
%"class.meshloader::FieldsMask" = type { ptr }
%"class.meshloader::MeshParamsMask" = type { ptr }
%"class.meshloader::MeshInformationMask" = type { ptr }
%"class.meshloader::AdjCellsTypeMask" = type { ptr }
%"class.meshloader::MeshBuildingMask" = type { ptr }
%"class.meshloader::SetsOfMasks" = type { %"class.std::map.86", %"class.std::map.86", %"class.std::map.86", %"class.std::map.91", %"class.std::map.91", %"class.std::map.91", %"class.std::map.96", %"class.std::map.101", %"class.std::map.106", %"class.std::map.111", %"class.std::map.116", %"class.std::map.121" }
%"class.std::map.86" = type { %"class.std::_Rb_tree.87" }
%"class.std::_Rb_tree.87" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::CellNumsGlobalMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::CellNumsGlobalMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::CellNumsGlobalMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::CellNumsGlobalMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.91" = type { %"class.std::_Rb_tree.92" }
%"class.std::_Rb_tree.92" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::CellNumsInteriorMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::CellNumsInteriorMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::CellNumsInteriorMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::CellNumsInteriorMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.96" = type { %"class.std::_Rb_tree.97" }
%"class.std::_Rb_tree.97" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsUMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsUMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsUMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsUMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.101" = type { %"class.std::_Rb_tree.102" }
%"class.std::_Rb_tree.102" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsVMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsVMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsVMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsVMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.106" = type { %"class.std::_Rb_tree.107" }
%"class.std::_Rb_tree.107" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsPMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsPMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsPMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellGlobalNumsPMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.111" = type { %"class.std::_Rb_tree.112" }
%"class.std::_Rb_tree.112" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsUMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsUMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsUMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsUMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.116" = type { %"class.std::_Rb_tree.117" }
%"class.std::_Rb_tree.117" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsVMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsVMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsVMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsVMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.121" = type { %"class.std::_Rb_tree.122" }
%"class.std::_Rb_tree.122" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsPMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsPMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsPMask>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<meshloader::AdjCellInteriorNumsPMask>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@_ZTIN16customexceptions22MeshLoadStateExceptionE = external constant ptr
@_ZTIN16customexceptions20DomainPartsExceptionE = external constant ptr
@_ZTISt9bad_alloc = external constant ptr
@_ZTINSt8ios_base7failureB5cxx11E = external constant ptr
@_ZTISt11range_error = external constant ptr
@_ZTISt15underflow_error = external constant ptr
@_ZTISt9exception = external constant ptr
@.str = external hidden unnamed_addr constant [50 x i8], align 1
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [16 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10mainsolver16SolverMeshLoader8loadMeshENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdd(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %0, ptr noundef %1, double noundef %2, double noundef %3) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.meshloader::Loader", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = fcmp ole double %2, 0.000000e+00
  %8 = fcmp ole double %3, 0.000000e+00
  %or.cond = or i1 %7, %8
  br i1 %or.cond, label %9, label %16

9:                                                ; preds = %4
  %10 = tail call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt15underflow_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull @.str)
          to label %11 unwind label %12

11:                                               ; preds = %9
  invoke void @__cxa_throw(ptr nonnull %10, ptr nonnull @_ZTISt15underflow_error, ptr nonnull @_ZNSt15underflow_errorD1Ev) #10
          to label %190 unwind label %14

12:                                               ; preds = %9
  %13 = landingpad { ptr, i32 }
          catch ptr @_ZTIN16customexceptions22MeshLoadStateExceptionE
          catch ptr @_ZTIN16customexceptions20DomainPartsExceptionE
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTINSt8ios_base7failureB5cxx11E
          catch ptr @_ZTISt11range_error
          catch ptr @_ZTISt15underflow_error
          catch ptr @_ZTISt9exception
          catch ptr null
  tail call void @__cxa_free_exception(ptr %10) #9
  br label %29

14:                                               ; preds = %11
  %15 = landingpad { ptr, i32 }
          catch ptr @_ZTIN16customexceptions22MeshLoadStateExceptionE
          catch ptr @_ZTIN16customexceptions20DomainPartsExceptionE
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTINSt8ios_base7failureB5cxx11E
          catch ptr @_ZTISt11range_error
          catch ptr @_ZTISt15underflow_error
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %29

16:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %5) #9
  %17 = load ptr, ptr %0, align 8, !tbaa !5
  invoke void @_ZN10meshloader6LoaderC1ERN10datastores16GlobalDataStoresE(ptr noundef nonnull align 8 dereferenceable(1200) %5, ptr noundef nonnull align 8 dereferenceable(1800) %17)
          to label %18 unwind label %21

18:                                               ; preds = %16
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %19 unwind label %23

19:                                               ; preds = %18
  invoke void @_ZN10meshloader6Loader16loadDataFromFileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdd(ptr noundef nonnull align 8 dereferenceable(1200) %5, ptr noundef nonnull %6, double noundef %2, double noundef %3)
          to label %20 unwind label %25

20:                                               ; preds = %19
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  call void @_ZN10meshloader6LoaderD2Ev(ptr noundef nonnull align 8 dereferenceable(1200) %5) #9
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %5) #9
  br label %60

21:                                               ; preds = %16
  %22 = landingpad { ptr, i32 }
          catch ptr @_ZTIN16customexceptions22MeshLoadStateExceptionE
          catch ptr @_ZTIN16customexceptions20DomainPartsExceptionE
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTINSt8ios_base7failureB5cxx11E
          catch ptr @_ZTISt11range_error
          catch ptr @_ZTISt15underflow_error
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %28

23:                                               ; preds = %18
  %24 = landingpad { ptr, i32 }
          catch ptr @_ZTIN16customexceptions22MeshLoadStateExceptionE
          catch ptr @_ZTIN16customexceptions20DomainPartsExceptionE
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTINSt8ios_base7failureB5cxx11E
          catch ptr @_ZTISt11range_error
          catch ptr @_ZTISt15underflow_error
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %27

25:                                               ; preds = %19
  %26 = landingpad { ptr, i32 }
          catch ptr @_ZTIN16customexceptions22MeshLoadStateExceptionE
          catch ptr @_ZTIN16customexceptions20DomainPartsExceptionE
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTINSt8ios_base7failureB5cxx11E
          catch ptr @_ZTISt11range_error
          catch ptr @_ZTISt15underflow_error
          catch ptr @_ZTISt9exception
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  br label %27

27:                                               ; preds = %25, %23
  %.pn = phi { ptr, i32 } [ %26, %25 ], [ %24, %23 ]
  call void @_ZN10meshloader6LoaderD2Ev(ptr noundef nonnull align 8 dereferenceable(1200) %5) #9
  br label %28

28:                                               ; preds = %27, %21
  %.pn.pn = phi { ptr, i32 } [ %.pn, %27 ], [ %22, %21 ]
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %5) #9
  br label %29

29:                                               ; preds = %28, %14, %12
  %.pn34 = phi { ptr, i32 } [ %15, %14 ], [ %13, %12 ], [ %.pn.pn, %28 ]
  %.2 = extractvalue { ptr, i32 } %.pn34, 0
  %.228 = extractvalue { ptr, i32 } %.pn34, 1
  %30 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTIN16customexceptions22MeshLoadStateExceptionE) #9
  %31 = icmp eq i32 %.228, %30
  br i1 %31, label %32, label %61

32:                                               ; preds = %29
  %33 = call ptr @__cxa_begin_catch(ptr %.2) #9
  %34 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.9)
          to label %35 unwind label %184

35:                                               ; preds = %32
  %36 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %34, i8 noundef signext 10)
          to label %37 unwind label %184

37:                                               ; preds = %35
  %38 = load ptr, ptr %33, align 8, !tbaa !10
  %39 = getelementptr inbounds i8, ptr %38, i64 16
  %40 = load ptr, ptr %39, align 8
  %41 = call noundef ptr %40(ptr noundef nonnull align 8 dereferenceable(56) %33) #9
  %42 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %41)
          to label %43 unwind label %184

43:                                               ; preds = %37
  %44 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %42, i8 noundef signext 10)
          to label %45 unwind label %184

45:                                               ; preds = %43
  %46 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.10)
          to label %47 unwind label %184

47:                                               ; preds = %45
  %48 = call noundef i64 @_ZNK16customexceptions22MeshLoadStateException13getLineNumberEv(ptr noundef nonnull align 8 dereferenceable(56) %33) #9
  %49 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %46, i64 noundef %48)
          to label %50 unwind label %184

50:                                               ; preds = %47
  %51 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %49, i8 noundef signext 10)
          to label %52 unwind label %184

52:                                               ; preds = %50
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.11)
          to label %54 unwind label %184

54:                                               ; preds = %52
  %55 = call noundef i64 @_ZNK16customexceptions22MeshLoadStateException15getColumnNumberEv(ptr noundef nonnull align 8 dereferenceable(56) %33) #9
  %56 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %53, i64 noundef %55)
          to label %57 unwind label %184

57:                                               ; preds = %54
  %58 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %56, i8 noundef signext 10)
          to label %59 unwind label %184

59:                                               ; preds = %57
  call void @__cxa_end_catch()
  br label %60

60:                                               ; preds = %169, %164, %147, %130, %113, %96, %79, %59, %20
  ret void

61:                                               ; preds = %29
  %62 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTIN16customexceptions20DomainPartsExceptionE) #9
  %63 = icmp eq i32 %.228, %62
  br i1 %63, label %64, label %80

64:                                               ; preds = %61
  %65 = call ptr @__cxa_begin_catch(ptr %.2) #9
  %66 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.7)
          to label %67 unwind label %182

67:                                               ; preds = %64
  %68 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.8)
          to label %69 unwind label %182

69:                                               ; preds = %67
  %70 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %68, i8 noundef signext 10)
          to label %71 unwind label %182

71:                                               ; preds = %69
  %72 = load ptr, ptr %65, align 8, !tbaa !10
  %73 = getelementptr inbounds i8, ptr %72, i64 16
  %74 = load ptr, ptr %73, align 8
  %75 = call noundef ptr %74(ptr noundef nonnull align 8 dereferenceable(64) %65) #9
  %76 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %75)
          to label %77 unwind label %182

77:                                               ; preds = %71
  %78 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %76, i8 noundef signext 10)
          to label %79 unwind label %182

79:                                               ; preds = %77
  call void @_ZNK16customexceptions20DomainPartsException22outputProblemPartNamesEv(ptr noundef nonnull align 8 dereferenceable(64) %65) #9
  call void @__cxa_end_catch()
  br label %60

80:                                               ; preds = %61
  %81 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9bad_alloc) #9
  %82 = icmp eq i32 %.228, %81
  br i1 %82, label %83, label %97

83:                                               ; preds = %80
  %84 = call ptr @__cxa_begin_catch(ptr %.2) #9
  %85 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.6)
          to label %86 unwind label %180

86:                                               ; preds = %83
  %87 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %85, i8 noundef signext 10)
          to label %88 unwind label %180

88:                                               ; preds = %86
  %89 = load ptr, ptr %84, align 8, !tbaa !10
  %90 = getelementptr inbounds i8, ptr %89, i64 16
  %91 = load ptr, ptr %90, align 8
  %92 = call noundef ptr %91(ptr noundef nonnull align 8 dereferenceable(8) %84) #9
  %93 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %92)
          to label %94 unwind label %180

94:                                               ; preds = %88
  %95 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %93, i8 noundef signext 10)
          to label %96 unwind label %180

96:                                               ; preds = %94
  call void @__cxa_end_catch()
  br label %60

97:                                               ; preds = %80
  %98 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTINSt8ios_base7failureB5cxx11E) #9
  %99 = icmp eq i32 %.228, %98
  br i1 %99, label %100, label %114

100:                                              ; preds = %97
  %101 = call ptr @__cxa_begin_catch(ptr %.2) #9
  %102 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.5)
          to label %103 unwind label %178

103:                                              ; preds = %100
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %102, i8 noundef signext 10)
          to label %105 unwind label %178

105:                                              ; preds = %103
  %106 = load ptr, ptr %101, align 8, !tbaa !10
  %107 = getelementptr inbounds i8, ptr %106, i64 16
  %108 = load ptr, ptr %107, align 8
  %109 = call noundef ptr %108(ptr noundef nonnull align 8 dereferenceable(32) %101) #9
  %110 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %109)
          to label %111 unwind label %178

111:                                              ; preds = %105
  %112 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %110, i8 noundef signext 10)
          to label %113 unwind label %178

113:                                              ; preds = %111
  call void @__cxa_end_catch()
  br label %60

114:                                              ; preds = %97
  %115 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt11range_error) #9
  %116 = icmp eq i32 %.228, %115
  br i1 %116, label %117, label %131

117:                                              ; preds = %114
  %118 = call ptr @__cxa_begin_catch(ptr %.2) #9
  %119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.4)
          to label %120 unwind label %176

120:                                              ; preds = %117
  %121 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %119, i8 noundef signext 10)
          to label %122 unwind label %176

122:                                              ; preds = %120
  %123 = load ptr, ptr %118, align 8, !tbaa !10
  %124 = getelementptr inbounds i8, ptr %123, i64 16
  %125 = load ptr, ptr %124, align 8
  %126 = call noundef ptr %125(ptr noundef nonnull align 8 dereferenceable(16) %118) #9
  %127 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %126)
          to label %128 unwind label %176

128:                                              ; preds = %122
  %129 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %127, i8 noundef signext 10)
          to label %130 unwind label %176

130:                                              ; preds = %128
  call void @__cxa_end_catch()
  br label %60

131:                                              ; preds = %114
  %132 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt15underflow_error) #9
  %133 = icmp eq i32 %.228, %132
  br i1 %133, label %134, label %148

134:                                              ; preds = %131
  %135 = call ptr @__cxa_begin_catch(ptr %.2) #9
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.3)
          to label %137 unwind label %174

137:                                              ; preds = %134
  %138 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %136, i8 noundef signext 10)
          to label %139 unwind label %174

139:                                              ; preds = %137
  %140 = load ptr, ptr %135, align 8, !tbaa !10
  %141 = getelementptr inbounds i8, ptr %140, i64 16
  %142 = load ptr, ptr %141, align 8
  %143 = call noundef ptr %142(ptr noundef nonnull align 8 dereferenceable(16) %135) #9
  %144 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %143)
          to label %145 unwind label %174

145:                                              ; preds = %139
  %146 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %144, i8 noundef signext 10)
          to label %147 unwind label %174

147:                                              ; preds = %145
  call void @__cxa_end_catch()
  br label %60

148:                                              ; preds = %131
  %149 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #9
  %150 = icmp eq i32 %.228, %149
  %151 = call ptr @__cxa_begin_catch(ptr %.2) #9
  br i1 %150, label %152, label %165

152:                                              ; preds = %148
  %153 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.2)
          to label %154 unwind label %172

154:                                              ; preds = %152
  %155 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %153, i8 noundef signext 10)
          to label %156 unwind label %172

156:                                              ; preds = %154
  %157 = load ptr, ptr %151, align 8, !tbaa !10
  %158 = getelementptr inbounds i8, ptr %157, i64 16
  %159 = load ptr, ptr %158, align 8
  %160 = call noundef ptr %159(ptr noundef nonnull align 8 dereferenceable(8) %151) #9
  %161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %160)
          to label %162 unwind label %172

162:                                              ; preds = %156
  %163 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %161, i8 noundef signext 10)
          to label %164 unwind label %172

164:                                              ; preds = %162
  call void @__cxa_end_catch()
  br label %60

165:                                              ; preds = %148
  %166 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.1)
          to label %167 unwind label %170

167:                                              ; preds = %165
  %168 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %166, i8 noundef signext 10)
          to label %169 unwind label %170

169:                                              ; preds = %167
  call void @__cxa_end_catch()
  br label %60

170:                                              ; preds = %167, %165
  %171 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %186 unwind label %187

172:                                              ; preds = %162, %156, %154, %152
  %173 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %186 unwind label %187

174:                                              ; preds = %145, %139, %137, %134
  %175 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %186 unwind label %187

176:                                              ; preds = %128, %122, %120, %117
  %177 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %186 unwind label %187

178:                                              ; preds = %111, %105, %103, %100
  %179 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %186 unwind label %187

180:                                              ; preds = %94, %88, %86, %83
  %181 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %186 unwind label %187

182:                                              ; preds = %77, %71, %69, %67, %64
  %183 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %186 unwind label %187

184:                                              ; preds = %57, %54, %52, %50, %47, %45, %43, %37, %35, %32
  %185 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %186 unwind label %187

186:                                              ; preds = %184, %182, %180, %178, %176, %174, %172, %170
  %.pn36 = phi { ptr, i32 } [ %171, %170 ], [ %173, %172 ], [ %175, %174 ], [ %177, %176 ], [ %179, %178 ], [ %181, %180 ], [ %183, %182 ], [ %185, %184 ]
  resume { ptr, i32 } %.pn36

187:                                              ; preds = %184, %182, %180, %178, %176, %174, %172, %170
  %188 = landingpad { ptr, i32 }
          catch ptr null
  %189 = extractvalue { ptr, i32 } %188, 0
  call void @__clang_call_terminate(ptr %189) #11
  unreachable

190:                                              ; preds = %11
  unreachable
}

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt15underflow_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt15underflow_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

declare void @_ZN10meshloader6LoaderC1ERN10datastores16GlobalDataStoresE(ptr noundef nonnull align 8 dereferenceable(1200), ptr noundef nonnull align 8 dereferenceable(1800)) unnamed_addr #1

declare void @_ZN10meshloader6Loader16loadDataFromFileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdd(ptr noundef nonnull align 8 dereferenceable(1200), ptr noundef, double noundef, double noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10meshloader6LoaderD2Ev(ptr noundef nonnull align 8 dereferenceable(1200)) unnamed_addr #5 align 2

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

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #6

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #7

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #8

; Function Attrs: nounwind
declare void @_ZNK16customexceptions20DomainPartsException22outputProblemPartNamesEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: nounwind
declare noundef i64 @_ZNK16customexceptions22MeshLoadStateException13getLineNumberEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #2

; Function Attrs: nounwind
declare noundef i64 @_ZNK16customexceptions22MeshLoadStateException15getColumnNumberEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #2

attributes #0 = { 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 #1 = { "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 = { nounwind "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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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 #6 = { nofree nosync nounwind memory(none) }
attributes #7 = { 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 #8 = { noinline noreturn nounwind uwtable "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 #9 = { nounwind }
attributes #10 = { noreturn }
attributes #11 = { noreturn 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, !7, i64 0}
!6 = !{!"_ZTSN10mainsolver16SolverMeshLoaderE", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"vtable pointer", !9, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass