; LLVM IR from INMOST-DEV/INMOST-FEM :: anifem++/fem/fem_space.ll (ZNK3Ani15ComplexFemSpace6memDIVEjj)

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

%"struct.Ani::OpMemoryRequirements" = type { i64, i64, i64, i64 }
%"class.std::initializer_list" = type { ptr, i64 }
%"struct.Ani::ComplexFemSpace" = type <{ %"struct.Ani::BaseFemSpace", %"class.std::vector.31", i32, i32, i32, i32, %"struct.std::array.36", [4 x i8] }>
%"struct.Ani::BaseFemSpace" = type { ptr, %"struct.Ani::DofT::DofMap" }
%"struct.Ani::DofT::DofMap" = type { %"class.std::shared_ptr" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::vector.31" = type { %"struct.std::_Vector_base.32" }
%"struct.std::_Vector_base.32" = type { %"struct.std::_Vector_base<std::shared_ptr<Ani::BaseFemSpace>, std::allocator<std::shared_ptr<Ani::BaseFemSpace>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<Ani::BaseFemSpace>, std::allocator<std::shared_ptr<Ani::BaseFemSpace>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<Ani::BaseFemSpace>, std::allocator<std::shared_ptr<Ani::BaseFemSpace>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<Ani::BaseFemSpace>, std::allocator<std::shared_ptr<Ani::BaseFemSpace>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::array.36" = type { [3 x i32] }

@_ZTISt13runtime_error = external constant ptr
@.str.6 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [39 x i8], align 1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

declare i32 @__gxx_personality_v0(...)

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

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #2

declare void @__cxa_free_exception(ptr)

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

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK3Ani4DofT6DofMap11NumDofOnTetEv(ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZSt3maxImET_St16initializer_listIS0_E(ptr, i64) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) #5 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3Ani15ComplexFemSpace6memDIVEjj(ptr dead_on_unwind noalias writable sret(%"struct.Ani::OpMemoryRequirements") align 8 %0, ptr noundef nonnull align 8 dereferenceable(76) %1, i32 noundef %2, i32 noundef %3) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca [3 x %"struct.Ani::OpMemoryRequirements"], align 16
  %11 = alloca i32, align 4
  %12 = alloca %"struct.Ani::OpMemoryRequirements", align 8
  %13 = alloca %"class.std::initializer_list", align 8
  %14 = alloca [3 x i64], align 8
  %15 = alloca %"class.std::initializer_list", align 8
  %16 = alloca [3 x i64], align 8
  %17 = alloca %"class.std::initializer_list", align 8
  %18 = alloca [4 x i64], align 8
  %19 = alloca [2 x %"struct.Ani::OpMemoryRequirements"], align 16
  %20 = alloca i32, align 4
  %21 = alloca %"struct.Ani::OpMemoryRequirements", align 8
  %22 = alloca %"struct.Ani::OpMemoryRequirements", align 8
  %23 = alloca %"class.std::initializer_list", align 8
  %24 = alloca [2 x i64], align 8
  %25 = alloca %"class.std::initializer_list", align 8
  %26 = alloca [2 x i64], align 8
  %27 = alloca %"class.std::initializer_list", align 8
  %28 = alloca [3 x i64], align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  store i32 %3, ptr %7, align 4, !tbaa !9
  %29 = load ptr, ptr %5, align 8
  %30 = load ptr, ptr %29, align 8, !tbaa !11
  %31 = getelementptr inbounds ptr, ptr %30, i64 3
  %32 = load ptr, ptr %31, align 8
  %33 = call noundef i32 %32(ptr noundef nonnull align 8 dereferenceable(76) %29)
  %34 = icmp ne i32 %33, 3
  br i1 %34, label %35, label %42

35:                                               ; preds = %4
  %36 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef @.str.6)
          to label %37 unwind label %38

37:                                               ; preds = %35
  call void @__cxa_throw(ptr %36, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #8
  unreachable

38:                                               ; preds = %35
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %8, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %9, align 4
  call void @__cxa_free_exception(ptr %36) #7
  br label %308

42:                                               ; preds = %4
  %43 = getelementptr inbounds %"struct.Ani::ComplexFemSpace", ptr %29, i32 0, i32 1
  %44 = call noundef i64 @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #7
  %45 = icmp eq i64 %44, 1
  br i1 %45, label %46, label %55

46:                                               ; preds = %42
  %47 = getelementptr inbounds %"struct.Ani::ComplexFemSpace", ptr %29, i32 0, i32 1
  %48 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef 0) #7
  %49 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %48) #7
  %50 = load i32, ptr %6, align 4, !tbaa !9
  %51 = load i32, ptr %7, align 4, !tbaa !9
  %52 = load ptr, ptr %49, align 8, !tbaa !11
  %53 = getelementptr inbounds ptr, ptr %52, i64 13
  %54 = load ptr, ptr %53, align 8
  call void %54(ptr dead_on_unwind writable sret(%"struct.Ani::OpMemoryRequirements") align 8 %0, ptr noundef nonnull align 8 dereferenceable(24) %49, i32 noundef %50, i32 noundef %51)
  br label %307

55:                                               ; preds = %42
  %56 = getelementptr inbounds %"struct.Ani::ComplexFemSpace", ptr %29, i32 0, i32 1
  %57 = call noundef i64 @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #7
  %58 = icmp eq i64 %57, 3
  br i1 %58, label %59, label %172

59:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 96, ptr %10) #7
  %60 = getelementptr inbounds [3 x %"struct.Ani::OpMemoryRequirements"], ptr %10, i32 0, i32 0
  %61 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %60, i64 3
  br label %62

62:                                               ; preds = %62, %59
  %63 = phi ptr [ %60, %59 ], [ %64, %62 ]
  call void @_ZN3Ani20OpMemoryRequirementsC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #7
  %64 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %63, i64 1
  %65 = icmp eq ptr %64, %61
  br i1 %65, label %66, label %62

66:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %67

67:                                               ; preds = %87, %66
  %68 = load i32, ptr %11, align 4, !tbaa !9
  %69 = icmp slt i32 %68, 3
  br i1 %69, label %71, label %70

70:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %90

71:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #7
  %72 = getelementptr inbounds %"struct.Ani::ComplexFemSpace", ptr %29, i32 0, i32 1
  %73 = load i32, ptr %11, align 4, !tbaa !9
  %74 = sext i32 %73 to i64
  %75 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %72, i64 noundef %74) #7
  %76 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %75) #7
  %77 = load i32, ptr %6, align 4, !tbaa !9
  %78 = load i32, ptr %7, align 4, !tbaa !9
  %79 = load i32, ptr %11, align 4, !tbaa !9
  %80 = trunc i32 %79 to i8
  %81 = load ptr, ptr %76, align 8, !tbaa !11
  %82 = getelementptr inbounds ptr, ptr %81, i64 19
  %83 = load ptr, ptr %82, align 8
  call void %83(ptr dead_on_unwind writable sret(%"struct.Ani::OpMemoryRequirements") align 8 %12, ptr noundef nonnull align 8 dereferenceable(24) %76, i32 noundef %77, i32 noundef %78, i8 noundef zeroext %80)
  %84 = load i32, ptr %11, align 4, !tbaa !9
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [3 x %"struct.Ani::OpMemoryRequirements"], ptr %10, i64 0, i64 %85
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %86, ptr align 8 %12, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #7
  br label %87

87:                                               ; preds = %71
  %88 = load i32, ptr %11, align 4, !tbaa !9
  %89 = add nsw i32 %88, 1
  store i32 %89, ptr %11, align 4, !tbaa !9
  br label %67, !llvm.loop !16

90:                                               ; preds = %70
  call void @_ZN3Ani20OpMemoryRequirementsC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #7
  %91 = load i32, ptr %6, align 4, !tbaa !9
  %92 = load i32, ptr %7, align 4, !tbaa !9
  %93 = mul i32 %91, %92
  %94 = getelementptr inbounds %"struct.Ani::BaseFemSpace", ptr %29, i32 0, i32 1
  %95 = call noundef i32 @_ZNK3Ani4DofT6DofMap11NumDofOnTetEv(ptr noundef nonnull align 8 dereferenceable(16) %94)
  %96 = mul i32 %93, %95
  %97 = zext i32 %96 to i64
  %98 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %0, i32 0, i32 0
  store i64 %97, ptr %98, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #7
  %99 = getelementptr inbounds [3 x %"struct.Ani::OpMemoryRequirements"], ptr %10, i64 0, i64 0
  %100 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %99, i32 0, i32 1
  %101 = load i64, ptr %100, align 8, !tbaa !20
  %102 = getelementptr inbounds [3 x %"struct.Ani::OpMemoryRequirements"], ptr %10, i64 0, i64 0
  %103 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %102, i32 0, i32 0
  %104 = load i64, ptr %103, align 16, !tbaa !18
  %105 = add i64 %101, %104
  store i64 %105, ptr %14, align 8, !tbaa !14
  %106 = getelementptr inbounds i64, ptr %14, i64 1
  %107 = getelementptr inbounds [3 x %"struct.Ani::OpMemoryRequirements"], ptr %10, i64 0, i64 1
  %108 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %107, i32 0, i32 1
  %109 = load i64, ptr %108, align 8, !tbaa !20
  %110 = getelementptr inbounds [3 x %"struct.Ani::OpMemoryRequirements"], ptr %10, i64 0, i64 1
  %111 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %110, i32 0, i32 0
  %112 = load i64, ptr %111, align 16, !tbaa !18
  %113 = add i64 %109, %112
  store i64 %113, ptr %106, align 8, !tbaa !14
  %114 = getelementptr inbounds i64, ptr %14, i64 2
  %115 = getelementptr inbounds [3 x %"struct.Ani::OpMemoryRequirements"], ptr %10, i64 0, i64 2
  %116 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %115, i32 0, i32 1
  %117 = load i64, ptr %116, align 8, !tbaa !20
  %118 = getelementptr inbounds [3 x %"struct.Ani::OpMemoryRequirements"], ptr %10, i64 0, i64 2
  %119 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %118, i32 0, i32 0
  %120 = load i64, ptr %119, align 16, !tbaa !18
  %121 = add i64 %117, %120
  store i64 %121, ptr %114, align 8, !tbaa !14
  %122 = getelementptr inbounds %"class.std::initializer_list", ptr %13, i32 0, i32 0
  store ptr %14, ptr %122, align 8, !tbaa !21
  %123 = getelementptr inbounds %"class.std::initializer_list", ptr %13, i32 0, i32 1
  store i64 3, ptr %123, align 8, !tbaa !23
  %124 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %125 = load ptr, ptr %124, align 8
  %126 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %127 = load i64, ptr %126, align 8
  %128 = call noundef i64 @_ZSt3maxImET_St16initializer_listIS0_E(ptr %125, i64 %127)
  %129 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %0, i32 0, i32 1
  store i64 %128, ptr %129, align 8, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #7
  %130 = getelementptr inbounds [3 x %"struct.Ani::OpMemoryRequirements"], ptr %10, i64 0, i64 0
  %131 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %130, i32 0, i32 2
  %132 = load i64, ptr %131, align 16, !tbaa !24
  store i64 %132, ptr %16, align 8, !tbaa !14
  %133 = getelementptr inbounds i64, ptr %16, i64 1
  %134 = getelementptr inbounds [3 x %"struct.Ani::OpMemoryRequirements"], ptr %10, i64 0, i64 1
  %135 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %134, i32 0, i32 2
  %136 = load i64, ptr %135, align 16, !tbaa !24
  store i64 %136, ptr %133, align 8, !tbaa !14
  %137 = getelementptr inbounds i64, ptr %16, i64 2
  %138 = getelementptr inbounds [3 x %"struct.Ani::OpMemoryRequirements"], ptr %10, i64 0, i64 2
  %139 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %138, i32 0, i32 2
  %140 = load i64, ptr %139, align 16, !tbaa !24
  store i64 %140, ptr %137, align 8, !tbaa !14
  %141 = getelementptr inbounds %"class.std::initializer_list", ptr %15, i32 0, i32 0
  store ptr %16, ptr %141, align 8, !tbaa !21
  %142 = getelementptr inbounds %"class.std::initializer_list", ptr %15, i32 0, i32 1
  store i64 3, ptr %142, align 8, !tbaa !23
  %143 = getelementptr inbounds { ptr, i64 }, ptr %15, i32 0, i32 0
  %144 = load ptr, ptr %143, align 8
  %145 = getelementptr inbounds { ptr, i64 }, ptr %15, i32 0, i32 1
  %146 = load i64, ptr %145, align 8
  %147 = call noundef i64 @_ZSt3maxImET_St16initializer_listIS0_E(ptr %144, i64 %146)
  %148 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %0, i32 0, i32 2
  store i64 %147, ptr %148, align 8, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #7
  %149 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %0, i32 0, i32 3
  %150 = load i64, ptr %149, align 8, !tbaa !25
  store i64 %150, ptr %18, align 8, !tbaa !14
  %151 = getelementptr inbounds i64, ptr %18, i64 1
  %152 = getelementptr inbounds [3 x %"struct.Ani::OpMemoryRequirements"], ptr %10, i64 0, i64 0
  %153 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %152, i32 0, i32 3
  %154 = load i64, ptr %153, align 8, !tbaa !25
  store i64 %154, ptr %151, align 8, !tbaa !14
  %155 = getelementptr inbounds i64, ptr %18, i64 2
  %156 = getelementptr inbounds [3 x %"struct.Ani::OpMemoryRequirements"], ptr %10, i64 0, i64 1
  %157 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %156, i32 0, i32 3
  %158 = load i64, ptr %157, align 8, !tbaa !25
  store i64 %158, ptr %155, align 8, !tbaa !14
  %159 = getelementptr inbounds i64, ptr %18, i64 3
  %160 = getelementptr inbounds [3 x %"struct.Ani::OpMemoryRequirements"], ptr %10, i64 0, i64 2
  %161 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %160, i32 0, i32 3
  %162 = load i64, ptr %161, align 8, !tbaa !25
  store i64 %162, ptr %159, align 8, !tbaa !14
  %163 = getelementptr inbounds %"class.std::initializer_list", ptr %17, i32 0, i32 0
  store ptr %18, ptr %163, align 8, !tbaa !21
  %164 = getelementptr inbounds %"class.std::initializer_list", ptr %17, i32 0, i32 1
  store i64 4, ptr %164, align 8, !tbaa !23
  %165 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 0
  %166 = load ptr, ptr %165, align 8
  %167 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 1
  %168 = load i64, ptr %167, align 8
  %169 = call noundef i64 @_ZSt3maxImET_St16initializer_listIS0_E(ptr %166, i64 %168)
  %170 = add i64 %169, 2
  %171 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %0, i32 0, i32 3
  store i64 %170, ptr %171, align 8, !tbaa !25
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr %10) #7
  br label %307

172:                                              ; preds = %55
  %173 = getelementptr inbounds %"struct.Ani::ComplexFemSpace", ptr %29, i32 0, i32 1
  %174 = call noundef i64 @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %173) #7
  %175 = icmp eq i64 %174, 2
  br i1 %175, label %176, label %300

176:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 64, ptr %19) #7
  %177 = getelementptr inbounds [2 x %"struct.Ani::OpMemoryRequirements"], ptr %19, i32 0, i32 0
  %178 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %177, i64 2
  br label %179

179:                                              ; preds = %179, %176
  %180 = phi ptr [ %177, %176 ], [ %181, %179 ]
  call void @_ZN3Ani20OpMemoryRequirementsC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %180) #7
  %181 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %180, i64 1
  %182 = icmp eq ptr %181, %178
  br i1 %182, label %183, label %179

183:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %184

184:                                              ; preds = %231, %183
  %185 = load i32, ptr %20, align 4, !tbaa !9
  %186 = icmp slt i32 %185, 2
  br i1 %186, label %188, label %187

187:                                              ; preds = %184
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %234

188:                                              ; preds = %184
  %189 = getelementptr inbounds %"struct.Ani::ComplexFemSpace", ptr %29, i32 0, i32 1
  %190 = load i32, ptr %20, align 4, !tbaa !9
  %191 = sext i32 %190 to i64
  %192 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %189, i64 noundef %191) #7
  %193 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %192) #7
  %194 = load ptr, ptr %193, align 8, !tbaa !11
  %195 = getelementptr inbounds ptr, ptr %194, i64 3
  %196 = load ptr, ptr %195, align 8
  %197 = call noundef i32 %196(ptr noundef nonnull align 8 dereferenceable(24) %193)
  %198 = icmp eq i32 %197, 1
  br i1 %198, label %199, label %216

199:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #7
  %200 = getelementptr inbounds %"struct.Ani::ComplexFemSpace", ptr %29, i32 0, i32 1
  %201 = load i32, ptr %20, align 4, !tbaa !9
  %202 = sext i32 %201 to i64
  %203 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %200, i64 noundef %202) #7
  %204 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %203) #7
  %205 = load i32, ptr %6, align 4, !tbaa !9
  %206 = load i32, ptr %7, align 4, !tbaa !9
  %207 = load i32, ptr %20, align 4, !tbaa !9
  %208 = mul nsw i32 2, %207
  %209 = trunc i32 %208 to i8
  %210 = load ptr, ptr %204, align 8, !tbaa !11
  %211 = getelementptr inbounds ptr, ptr %210, i64 19
  %212 = load ptr, ptr %211, align 8
  call void %212(ptr dead_on_unwind writable sret(%"struct.Ani::OpMemoryRequirements") align 8 %21, ptr noundef nonnull align 8 dereferenceable(24) %204, i32 noundef %205, i32 noundef %206, i8 noundef zeroext %209)
  %213 = load i32, ptr %20, align 4, !tbaa !9
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds [2 x %"struct.Ani::OpMemoryRequirements"], ptr %19, i64 0, i64 %214
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %215, ptr align 8 %21, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #7
  br label %230

216:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #7
  %217 = getelementptr inbounds %"struct.Ani::ComplexFemSpace", ptr %29, i32 0, i32 1
  %218 = load i32, ptr %20, align 4, !tbaa !9
  %219 = sext i32 %218 to i64
  %220 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %217, i64 noundef %219) #7
  %221 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %220) #7
  %222 = load i32, ptr %6, align 4, !tbaa !9
  %223 = load i32, ptr %7, align 4, !tbaa !9
  %224 = load ptr, ptr %221, align 8, !tbaa !11
  %225 = getelementptr inbounds ptr, ptr %224, i64 11
  %226 = load ptr, ptr %225, align 8
  call void %226(ptr dead_on_unwind writable sret(%"struct.Ani::OpMemoryRequirements") align 8 %22, ptr noundef nonnull align 8 dereferenceable(24) %221, i32 noundef %222, i32 noundef %223)
  %227 = load i32, ptr %20, align 4, !tbaa !9
  %228 = sext i32 %227 to i64
  %229 = getelementptr inbounds [2 x %"struct.Ani::OpMemoryRequirements"], ptr %19, i64 0, i64 %228
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %229, ptr align 8 %22, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #7
  br label %230

230:                                              ; preds = %216, %199
  br label %231

231:                                              ; preds = %230
  %232 = load i32, ptr %20, align 4, !tbaa !9
  %233 = add nsw i32 %232, 1
  store i32 %233, ptr %20, align 4, !tbaa !9
  br label %184, !llvm.loop !26

234:                                              ; preds = %187
  call void @_ZN3Ani20OpMemoryRequirementsC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #7
  %235 = load i32, ptr %6, align 4, !tbaa !9
  %236 = load i32, ptr %7, align 4, !tbaa !9
  %237 = mul i32 %235, %236
  %238 = getelementptr inbounds %"struct.Ani::BaseFemSpace", ptr %29, i32 0, i32 1
  %239 = call noundef i32 @_ZNK3Ani4DofT6DofMap11NumDofOnTetEv(ptr noundef nonnull align 8 dereferenceable(16) %238)
  %240 = mul i32 %237, %239
  %241 = zext i32 %240 to i64
  %242 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %0, i32 0, i32 0
  store i64 %241, ptr %242, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #7
  %243 = getelementptr inbounds [2 x %"struct.Ani::OpMemoryRequirements"], ptr %19, i64 0, i64 0
  %244 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %243, i32 0, i32 1
  %245 = load i64, ptr %244, align 8, !tbaa !20
  %246 = getelementptr inbounds [2 x %"struct.Ani::OpMemoryRequirements"], ptr %19, i64 0, i64 0
  %247 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %246, i32 0, i32 0
  %248 = load i64, ptr %247, align 16, !tbaa !18
  %249 = add i64 %245, %248
  store i64 %249, ptr %24, align 8, !tbaa !14
  %250 = getelementptr inbounds i64, ptr %24, i64 1
  %251 = getelementptr inbounds [2 x %"struct.Ani::OpMemoryRequirements"], ptr %19, i64 0, i64 1
  %252 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %251, i32 0, i32 1
  %253 = load i64, ptr %252, align 8, !tbaa !20
  %254 = getelementptr inbounds [2 x %"struct.Ani::OpMemoryRequirements"], ptr %19, i64 0, i64 1
  %255 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %254, i32 0, i32 0
  %256 = load i64, ptr %255, align 16, !tbaa !18
  %257 = add i64 %253, %256
  store i64 %257, ptr %250, align 8, !tbaa !14
  %258 = getelementptr inbounds %"class.std::initializer_list", ptr %23, i32 0, i32 0
  store ptr %24, ptr %258, align 8, !tbaa !21
  %259 = getelementptr inbounds %"class.std::initializer_list", ptr %23, i32 0, i32 1
  store i64 2, ptr %259, align 8, !tbaa !23
  %260 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 0
  %261 = load ptr, ptr %260, align 8
  %262 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 1
  %263 = load i64, ptr %262, align 8
  %264 = call noundef i64 @_ZSt3maxImET_St16initializer_listIS0_E(ptr %261, i64 %263)
  %265 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %0, i32 0, i32 1
  store i64 %264, ptr %265, align 8, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #7
  %266 = getelementptr inbounds [2 x %"struct.Ani::OpMemoryRequirements"], ptr %19, i64 0, i64 0
  %267 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %266, i32 0, i32 2
  %268 = load i64, ptr %267, align 16, !tbaa !24
  store i64 %268, ptr %26, align 8, !tbaa !14
  %269 = getelementptr inbounds i64, ptr %26, i64 1
  %270 = getelementptr inbounds [2 x %"struct.Ani::OpMemoryRequirements"], ptr %19, i64 0, i64 1
  %271 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %270, i32 0, i32 2
  %272 = load i64, ptr %271, align 16, !tbaa !24
  store i64 %272, ptr %269, align 8, !tbaa !14
  %273 = getelementptr inbounds %"class.std::initializer_list", ptr %25, i32 0, i32 0
  store ptr %26, ptr %273, align 8, !tbaa !21
  %274 = getelementptr inbounds %"class.std::initializer_list", ptr %25, i32 0, i32 1
  store i64 2, ptr %274, align 8, !tbaa !23
  %275 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 0
  %276 = load ptr, ptr %275, align 8
  %277 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 1
  %278 = load i64, ptr %277, align 8
  %279 = call noundef i64 @_ZSt3maxImET_St16initializer_listIS0_E(ptr %276, i64 %278)
  %280 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %0, i32 0, i32 2
  store i64 %279, ptr %280, align 8, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #7
  %281 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %0, i32 0, i32 3
  %282 = load i64, ptr %281, align 8, !tbaa !25
  store i64 %282, ptr %28, align 8, !tbaa !14
  %283 = getelementptr inbounds i64, ptr %28, i64 1
  %284 = getelementptr inbounds [2 x %"struct.Ani::OpMemoryRequirements"], ptr %19, i64 0, i64 0
  %285 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %284, i32 0, i32 3
  %286 = load i64, ptr %285, align 8, !tbaa !25
  store i64 %286, ptr %283, align 8, !tbaa !14
  %287 = getelementptr inbounds i64, ptr %28, i64 2
  %288 = getelementptr inbounds [2 x %"struct.Ani::OpMemoryRequirements"], ptr %19, i64 0, i64 1
  %289 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %288, i32 0, i32 3
  %290 = load i64, ptr %289, align 8, !tbaa !25
  store i64 %290, ptr %287, align 8, !tbaa !14
  %291 = getelementptr inbounds %"class.std::initializer_list", ptr %27, i32 0, i32 0
  store ptr %28, ptr %291, align 8, !tbaa !21
  %292 = getelementptr inbounds %"class.std::initializer_list", ptr %27, i32 0, i32 1
  store i64 3, ptr %292, align 8, !tbaa !23
  %293 = getelementptr inbounds { ptr, i64 }, ptr %27, i32 0, i32 0
  %294 = load ptr, ptr %293, align 8
  %295 = getelementptr inbounds { ptr, i64 }, ptr %27, i32 0, i32 1
  %296 = load i64, ptr %295, align 8
  %297 = call noundef i64 @_ZSt3maxImET_St16initializer_listIS0_E(ptr %294, i64 %296)
  %298 = add i64 %297, 2
  %299 = getelementptr inbounds %"struct.Ani::OpMemoryRequirements", ptr %0, i32 0, i32 3
  store i64 %298, ptr %299, align 8, !tbaa !25
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #7
  br label %307

300:                                              ; preds = %172
  %301 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %301, ptr noundef @.str.21)
          to label %302 unwind label %303

302:                                              ; preds = %300
  call void @__cxa_throw(ptr %301, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #8
  unreachable

303:                                              ; preds = %300
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %8, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %9, align 4
  call void @__cxa_free_exception(ptr %301) #7
  br label %308

307:                                              ; preds = %234, %90, %46
  ret void

308:                                              ; preds = %303, %38
  %309 = load ptr, ptr %8, align 8
  %310 = load i32, ptr %9, align 4
  %311 = insertvalue { ptr, i32 } poison, ptr %309, 0
  %312 = insertvalue { ptr, i32 } %311, i32 %310, 1
  resume { ptr, i32 } %312
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 = { 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 #7 = { nounwind }
attributes #8 = { noreturn }

!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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{i64 0, i64 8, !14, i64 8, i64 8, !14, i64 16, i64 8, !14, i64 24, i64 8, !14}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !15, i64 0}
!19 = !{!"_ZTSN3Ani20OpMemoryRequirementsE", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24}
!20 = !{!19, !15, i64 8}
!21 = !{!22, !6, i64 0}
!22 = !{!"_ZTSSt16initializer_listImE", !6, i64 0, !15, i64 8}
!23 = !{!22, !15, i64 8}
!24 = !{!19, !15, i64 16}
!25 = !{!19, !15, i64 24}
!26 = distinct !{!26, !17}


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

%"struct.Ani::OpMemoryRequirements" = type { i64, i64, i64, i64 }

@_ZTISt13runtime_error = external constant ptr
@.str.6 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [39 x i8], align 1

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

declare i32 @__gxx_personality_v0(...)

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #2

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK3Ani4DofT6DofMap11NumDofOnTetEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZSt3maxImET_St16initializer_listIS0_E(ptr, i64) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #5 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3Ani15ComplexFemSpace6memDIVEjj(ptr dead_on_unwind noalias writable sret(%"struct.Ani::OpMemoryRequirements") align 8 %0, ptr noundef nonnull align 8 dereferenceable(76) %1, i32 noundef %2, i32 noundef %3) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca [3 x %"struct.Ani::OpMemoryRequirements"], align 16
  %6 = alloca %"struct.Ani::OpMemoryRequirements", align 8
  %7 = alloca [3 x i64], align 8
  %8 = alloca [3 x i64], align 8
  %9 = alloca [4 x i64], align 8
  %10 = alloca [2 x %"struct.Ani::OpMemoryRequirements"], align 16
  %11 = alloca %"struct.Ani::OpMemoryRequirements", align 8
  %12 = alloca %"struct.Ani::OpMemoryRequirements", align 8
  %13 = alloca [2 x i64], align 8
  %14 = alloca [2 x i64], align 8
  %15 = alloca [3 x i64], align 8
  %16 = load ptr, ptr %1, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %16, i64 24
  %18 = load ptr, ptr %17, align 8
  %19 = tail call noundef i32 %18(ptr noundef nonnull align 8 dereferenceable(76) %1)
  %.not = icmp eq i32 %19, 3
  br i1 %.not, label %25, label %20

20:                                               ; preds = %4
  %21 = tail call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull @.str.6)
          to label %22 unwind label %23

22:                                               ; preds = %20
  tail call void @__cxa_throw(ptr nonnull %21, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #8
  unreachable

23:                                               ; preds = %20
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %178

25:                                               ; preds = %4
  %26 = getelementptr inbounds i8, ptr %1, i64 24
  %27 = tail call noundef i64 @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  %28 = icmp eq i64 %27, 1
  br i1 %28, label %29, label %35

29:                                               ; preds = %25
  %30 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef 0) #7
  %31 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %30) #7
  %32 = load ptr, ptr %31, align 8, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %32, i64 104
  %34 = load ptr, ptr %33, align 8
  tail call void %34(ptr dead_on_unwind writable sret(%"struct.Ani::OpMemoryRequirements") align 8 %0, ptr noundef nonnull align 8 dereferenceable(24) %31, i32 noundef %2, i32 noundef %3)
  br label %177

35:                                               ; preds = %25
  %36 = tail call noundef i64 @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  %37 = icmp eq i64 %36, 3
  br i1 %37, label %.preheader.preheader, label %97

.preheader.preheader:                             ; preds = %35
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %5) #7
  call void @_ZN3Ani20OpMemoryRequirementsC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  %.ptr43.1 = getelementptr inbounds i8, ptr %5, i64 32
  call void @_ZN3Ani20OpMemoryRequirementsC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %.ptr43.1) #7
  %.ptr43.2 = getelementptr inbounds i8, ptr %5, i64 64
  call void @_ZN3Ani20OpMemoryRequirementsC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %.ptr43.2) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #7
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef 0) #7
  %39 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %38) #7
  %40 = load ptr, ptr %39, align 8, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %40, i64 152
  %42 = load ptr, ptr %41, align 8
  call void %42(ptr dead_on_unwind nonnull writable sret(%"struct.Ani::OpMemoryRequirements") align 8 %6, ptr noundef nonnull align 8 dereferenceable(24) %39, i32 noundef %2, i32 noundef %3, i8 noundef zeroext 0)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %6, i64 32, i1 false), !tbaa.struct !8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #7
  %43 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef 1) #7
  %44 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %43) #7
  %45 = load ptr, ptr %44, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %45, i64 152
  %47 = load ptr, ptr %46, align 8
  call void %47(ptr dead_on_unwind nonnull writable sret(%"struct.Ani::OpMemoryRequirements") align 8 %6, ptr noundef nonnull align 8 dereferenceable(24) %44, i32 noundef %2, i32 noundef %3, i8 noundef zeroext 1)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %.ptr43.1, ptr noundef nonnull align 8 dereferenceable(32) %6, i64 32, i1 false), !tbaa.struct !8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #7
  %48 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef 2) #7
  %49 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %48) #7
  %50 = load ptr, ptr %49, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %50, i64 152
  %52 = load ptr, ptr %51, align 8
  call void %52(ptr dead_on_unwind nonnull writable sret(%"struct.Ani::OpMemoryRequirements") align 8 %6, ptr noundef nonnull align 8 dereferenceable(24) %49, i32 noundef %2, i32 noundef %3, i8 noundef zeroext 2)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %.ptr43.2, ptr noundef nonnull align 8 dereferenceable(32) %6, i64 32, i1 false), !tbaa.struct !8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  call void @_ZN3Ani20OpMemoryRequirementsC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #7
  %53 = mul i32 %3, %2
  %54 = getelementptr inbounds i8, ptr %1, i64 8
  %55 = call noundef i32 @_ZNK3Ani4DofT6DofMap11NumDofOnTetEv(ptr noundef nonnull align 8 dereferenceable(16) %54)
  %56 = mul i32 %53, %55
  %57 = zext i32 %56 to i64
  store i64 %57, ptr %0, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #7
  %58 = getelementptr inbounds i8, ptr %5, i64 8
  %59 = load i64, ptr %58, align 8, !tbaa !14
  %60 = load i64, ptr %5, align 16, !tbaa !12
  %61 = add i64 %60, %59
  store i64 %61, ptr %7, align 8, !tbaa !9
  %62 = getelementptr inbounds i8, ptr %7, i64 8
  %63 = getelementptr inbounds i8, ptr %5, i64 40
  %64 = load i64, ptr %63, align 8, !tbaa !14
  %65 = load i64, ptr %.ptr43.1, align 16, !tbaa !12
  %66 = add i64 %65, %64
  store i64 %66, ptr %62, align 8, !tbaa !9
  %67 = getelementptr inbounds i8, ptr %7, i64 16
  %68 = getelementptr inbounds i8, ptr %5, i64 72
  %69 = load i64, ptr %68, align 8, !tbaa !14
  %70 = load i64, ptr %.ptr43.2, align 16, !tbaa !12
  %71 = add i64 %70, %69
  store i64 %71, ptr %67, align 8, !tbaa !9
  %72 = call noundef i64 @_ZSt3maxImET_St16initializer_listIS0_E(ptr nonnull %7, i64 3)
  %73 = getelementptr inbounds i8, ptr %0, i64 8
  store i64 %72, ptr %73, align 8, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  %74 = getelementptr inbounds i8, ptr %5, i64 16
  %75 = load i64, ptr %74, align 16, !tbaa !15
  store i64 %75, ptr %8, align 8, !tbaa !9
  %76 = getelementptr inbounds i8, ptr %8, i64 8
  %77 = getelementptr inbounds i8, ptr %5, i64 48
  %78 = load i64, ptr %77, align 16, !tbaa !15
  store i64 %78, ptr %76, align 8, !tbaa !9
  %79 = getelementptr inbounds i8, ptr %8, i64 16
  %80 = getelementptr inbounds i8, ptr %5, i64 80
  %81 = load i64, ptr %80, align 16, !tbaa !15
  store i64 %81, ptr %79, align 8, !tbaa !9
  %82 = call noundef i64 @_ZSt3maxImET_St16initializer_listIS0_E(ptr nonnull %8, i64 3)
  %83 = getelementptr inbounds i8, ptr %0, i64 16
  store i64 %82, ptr %83, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #7
  %84 = getelementptr inbounds i8, ptr %0, i64 24
  %85 = load i64, ptr %84, align 8, !tbaa !16
  store i64 %85, ptr %9, align 8, !tbaa !9
  %86 = getelementptr inbounds i8, ptr %9, i64 8
  %87 = getelementptr inbounds i8, ptr %5, i64 24
  %88 = load i64, ptr %87, align 8, !tbaa !16
  store i64 %88, ptr %86, align 8, !tbaa !9
  %89 = getelementptr inbounds i8, ptr %9, i64 16
  %90 = getelementptr inbounds i8, ptr %5, i64 56
  %91 = load i64, ptr %90, align 8, !tbaa !16
  store i64 %91, ptr %89, align 8, !tbaa !9
  %92 = getelementptr inbounds i8, ptr %9, i64 24
  %93 = getelementptr inbounds i8, ptr %5, i64 88
  %94 = load i64, ptr %93, align 8, !tbaa !16
  store i64 %94, ptr %92, align 8, !tbaa !9
  %95 = call noundef i64 @_ZSt3maxImET_St16initializer_listIS0_E(ptr nonnull %9, i64 4)
  %96 = add i64 %95, 2
  store i64 %96, ptr %84, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %5) #7
  br label %177

97:                                               ; preds = %35
  %98 = tail call noundef i64 @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  %99 = icmp eq i64 %98, 2
  br i1 %99, label %.preheader46.preheader, label %172

.preheader46.preheader:                           ; preds = %97
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #7
  call void @_ZN3Ani20OpMemoryRequirementsC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  %.ptr.1 = getelementptr inbounds i8, ptr %10, i64 32
  call void @_ZN3Ani20OpMemoryRequirementsC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %.ptr.1) #7
  %100 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef 0) #7
  %101 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %100) #7
  %102 = load ptr, ptr %101, align 8, !tbaa !5
  %103 = getelementptr inbounds i8, ptr %102, i64 24
  %104 = load ptr, ptr %103, align 8
  %105 = call noundef i32 %104(ptr noundef nonnull align 8 dereferenceable(24) %101)
  %106 = icmp eq i32 %105, 1
  br i1 %106, label %107, label %113

107:                                              ; preds = %.preheader46.preheader
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #7
  %108 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef 0) #7
  %109 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %108) #7
  %110 = load ptr, ptr %109, align 8, !tbaa !5
  %111 = getelementptr inbounds i8, ptr %110, i64 152
  %112 = load ptr, ptr %111, align 8
  call void %112(ptr dead_on_unwind nonnull writable sret(%"struct.Ani::OpMemoryRequirements") align 8 %11, ptr noundef nonnull align 8 dereferenceable(24) %109, i32 noundef %2, i32 noundef %3, i8 noundef zeroext 0)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %11, i64 32, i1 false), !tbaa.struct !8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #7
  br label %.preheader46.1

113:                                              ; preds = %.preheader46.preheader
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #7
  %114 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef 0) #7
  %115 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %114) #7
  %116 = load ptr, ptr %115, align 8, !tbaa !5
  %117 = getelementptr inbounds i8, ptr %116, i64 88
  %118 = load ptr, ptr %117, align 8
  call void %118(ptr dead_on_unwind nonnull writable sret(%"struct.Ani::OpMemoryRequirements") align 8 %12, ptr noundef nonnull align 8 dereferenceable(24) %115, i32 noundef %2, i32 noundef %3)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %12, i64 32, i1 false), !tbaa.struct !8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #7
  br label %.preheader46.1

.preheader46.1:                                   ; preds = %107, %113
  %119 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef 1) #7
  %120 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %119) #7
  %121 = load ptr, ptr %120, align 8, !tbaa !5
  %122 = getelementptr inbounds i8, ptr %121, i64 24
  %123 = load ptr, ptr %122, align 8
  %124 = call noundef i32 %123(ptr noundef nonnull align 8 dereferenceable(24) %120)
  %125 = icmp eq i32 %124, 1
  br i1 %125, label %132, label %126

126:                                              ; preds = %.preheader46.1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #7
  %127 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef 1) #7
  %128 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %127) #7
  %129 = load ptr, ptr %128, align 8, !tbaa !5
  %130 = getelementptr inbounds i8, ptr %129, i64 88
  %131 = load ptr, ptr %130, align 8
  call void %131(ptr dead_on_unwind nonnull writable sret(%"struct.Ani::OpMemoryRequirements") align 8 %12, ptr noundef nonnull align 8 dereferenceable(24) %128, i32 noundef %2, i32 noundef %3)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %.ptr.1, ptr noundef nonnull align 8 dereferenceable(32) %12, i64 32, i1 false), !tbaa.struct !8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #7
  br label %138

132:                                              ; preds = %.preheader46.1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #7
  %133 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrIN3Ani12BaseFemSpaceEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef 1) #7
  %134 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %133) #7
  %135 = load ptr, ptr %134, align 8, !tbaa !5
  %136 = getelementptr inbounds i8, ptr %135, i64 152
  %137 = load ptr, ptr %136, align 8
  call void %137(ptr dead_on_unwind nonnull writable sret(%"struct.Ani::OpMemoryRequirements") align 8 %11, ptr noundef nonnull align 8 dereferenceable(24) %134, i32 noundef %2, i32 noundef %3, i8 noundef zeroext 2)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %.ptr.1, ptr noundef nonnull align 8 dereferenceable(32) %11, i64 32, i1 false), !tbaa.struct !8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #7
  br label %138

138:                                              ; preds = %132, %126
  call void @_ZN3Ani20OpMemoryRequirementsC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #7
  %139 = mul i32 %3, %2
  %140 = getelementptr inbounds i8, ptr %1, i64 8
  %141 = call noundef i32 @_ZNK3Ani4DofT6DofMap11NumDofOnTetEv(ptr noundef nonnull align 8 dereferenceable(16) %140)
  %142 = mul i32 %139, %141
  %143 = zext i32 %142 to i64
  store i64 %143, ptr %0, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #7
  %144 = getelementptr inbounds i8, ptr %10, i64 8
  %145 = load i64, ptr %144, align 8, !tbaa !14
  %146 = load i64, ptr %10, align 16, !tbaa !12
  %147 = add i64 %146, %145
  store i64 %147, ptr %13, align 8, !tbaa !9
  %148 = getelementptr inbounds i8, ptr %13, i64 8
  %149 = getelementptr inbounds i8, ptr %10, i64 40
  %150 = load i64, ptr %149, align 8, !tbaa !14
  %151 = load i64, ptr %.ptr.1, align 16, !tbaa !12
  %152 = add i64 %151, %150
  store i64 %152, ptr %148, align 8, !tbaa !9
  %153 = call noundef i64 @_ZSt3maxImET_St16initializer_listIS0_E(ptr nonnull %13, i64 2)
  %154 = getelementptr inbounds i8, ptr %0, i64 8
  store i64 %153, ptr %154, align 8, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #7
  %155 = getelementptr inbounds i8, ptr %10, i64 16
  %156 = load i64, ptr %155, align 16, !tbaa !15
  store i64 %156, ptr %14, align 8, !tbaa !9
  %157 = getelementptr inbounds i8, ptr %14, i64 8
  %158 = getelementptr inbounds i8, ptr %10, i64 48
  %159 = load i64, ptr %158, align 16, !tbaa !15
  store i64 %159, ptr %157, align 8, !tbaa !9
  %160 = call noundef i64 @_ZSt3maxImET_St16initializer_listIS0_E(ptr nonnull %14, i64 2)
  %161 = getelementptr inbounds i8, ptr %0, i64 16
  store i64 %160, ptr %161, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #7
  %162 = getelementptr inbounds i8, ptr %0, i64 24
  %163 = load i64, ptr %162, align 8, !tbaa !16
  store i64 %163, ptr %15, align 8, !tbaa !9
  %164 = getelementptr inbounds i8, ptr %15, i64 8
  %165 = getelementptr inbounds i8, ptr %10, i64 24
  %166 = load i64, ptr %165, align 8, !tbaa !16
  store i64 %166, ptr %164, align 8, !tbaa !9
  %167 = getelementptr inbounds i8, ptr %15, i64 16
  %168 = getelementptr inbounds i8, ptr %10, i64 56
  %169 = load i64, ptr %168, align 8, !tbaa !16
  store i64 %169, ptr %167, align 8, !tbaa !9
  %170 = call noundef i64 @_ZSt3maxImET_St16initializer_listIS0_E(ptr nonnull %15, i64 3)
  %171 = add i64 %170, 2
  store i64 %171, ptr %162, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #7
  br label %177

172:                                              ; preds = %97
  %173 = tail call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %173, ptr noundef nonnull @.str.21)
          to label %174 unwind label %175

174:                                              ; preds = %172
  tail call void @__cxa_throw(ptr nonnull %173, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #8
  unreachable

175:                                              ; preds = %172
  %176 = landingpad { ptr, i32 }
          cleanup
  br label %178

177:                                              ; preds = %138, %.preheader.preheader, %29
  ret void

178:                                              ; preds = %175, %23
  %.sink = phi ptr [ %173, %175 ], [ %21, %23 ]
  %.pn = phi { ptr, i32 } [ %176, %175 ], [ %24, %23 ]
  tail call void @__cxa_free_exception(ptr %.sink) #7
  resume { ptr, i32 } %.pn
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 = { 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 #7 = { nounwind }
attributes #8 = { noreturn }

!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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{i64 0, i64 8, !9, i64 8, i64 8, !9, i64 16, i64 8, !9, i64 24, i64 8, !9}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!13, !10, i64 0}
!13 = !{!"_ZTSN3Ani20OpMemoryRequirementsE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!14 = !{!13, !10, i64 8}
!15 = !{!13, !10, i64 16}
!16 = !{!13, !10, i64 24}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass