; LLVM IR from romerojosh/zefr :: src/quads.ll (ZN5Quads9setup_PMGEii)

; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::allocator.2" = type { i8 }
%"class.std::vector.161" = type { %"struct.std::_Vector_base.162" }
%"struct.std::_Vector_base.162" = type { %"struct.std::_Vector_base<mdvector<double>, std::allocator<mdvector<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<mdvector<double>, std::allocator<mdvector<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<mdvector<double>, std::allocator<mdvector<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mdvector<double>, std::allocator<mdvector<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.163" = type { i8 }
%class.mdvector = type <{ i32, [4 x i8], i64, i64, %"struct.std::array", %"struct.std::array", %"class.std::vector", ptr, i8, [7 x i8] }>
%"struct.std::array" = type { [6 x i32] }
%class.Elements = type { ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i8], %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %"class.std::vector.0", %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector.5, %class.mdvector.5, %class.mdvector.5, %class.mdvector.5, %class.mdvector.5, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.7", %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, i64, i64, i64, i64, i64, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdview, %class.mdview, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, i32, [4 x i8], %class.mdvector, %class.mdvector, i32, ptr, %"class.std::vector.7", %class.mdvector.5, %class.mdvector, %class.mdvector, %class.mdvector }
%class.mdview = type { %class.mdvector.12, %class.mdvector.5, i32, [4 x i8] }
%class.mdvector.12 = type <{ i32, [4 x i8], i64, i64, %"struct.std::array", %"struct.std::array", %"class.std::vector.13", ptr, i8, [7 x i8] }>
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<double *, std::allocator<double *>>::_Vector_impl" }
%"struct.std::_Vector_base<double *, std::allocator<double *>>::_Vector_impl" = type { %"struct.std::_Vector_base<double *, std::allocator<double *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double *, std::allocator<double *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.mdvector.5 = type <{ i32, [4 x i8], i64, i64, %"struct.std::array", %"struct.std::array", %"class.std::vector.0", ptr, i8, [7 x i8] }>

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef, double noundef, i1 noundef zeroext) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare void @_Z18Gauss_Legendre_ptsj(ptr dead_on_unwind writable sret(%"class.std::vector") align 8, i32 noundef) #3

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef double @_ZL8LagrangeRKSt6vectorIdSaIdEEjd(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, double noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5Quads9setup_PMGEii(ptr noundef nonnull align 8 dereferenceable(13968) %0, i32 noundef %1, i32 noundef %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca double, align 8
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::vector.0", align 8
  %17 = alloca %"class.std::initializer_list", align 8
  %18 = alloca [2 x i32], align 4
  %19 = alloca %"class.std::allocator.2", align 1
  %20 = alloca %"class.std::vector.161", align 8
  %21 = alloca %"class.std::allocator.163", align 1
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca %"class.std::vector.0", align 8
  %25 = alloca %"class.std::initializer_list", align 8
  %26 = alloca [2 x i32], align 4
  %27 = alloca %"class.std::allocator.2", align 1
  %28 = alloca %"class.std::vector", align 8
  %29 = alloca %"class.std::vector", align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca %class.mdvector, align 8
  %36 = alloca %"class.std::vector.0", align 8
  %37 = alloca %"class.std::initializer_list", align 8
  %38 = alloca [2 x i32], align 4
  %39 = alloca %"class.std::allocator.2", align 1
  %40 = alloca %"class.std::vector.0", align 8
  %41 = alloca %"class.std::initializer_list", align 8
  %42 = alloca [2 x i32], align 4
  %43 = alloca %"class.std::allocator.2", align 1
  %44 = alloca %"class.std::vector.161", align 8
  %45 = alloca %"class.std::allocator.163", align 1
  %46 = alloca i32, align 4
  %47 = alloca %"class.std::vector.0", align 8
  %48 = alloca %"class.std::initializer_list", align 8
  %49 = alloca [2 x i32], align 4
  %50 = alloca %"class.std::allocator.2", align 1
  %51 = alloca %"class.std::vector", align 8
  %52 = alloca %"class.std::vector", align 8
  %53 = alloca i32, align 4
  %54 = alloca i32, align 4
  %55 = alloca i32, align 4
  %56 = alloca i32, align 4
  %57 = alloca i32, align 4
  %58 = alloca %class.mdvector, align 8
  %59 = alloca %"class.std::vector.0", align 8
  %60 = alloca %"class.std::initializer_list", align 8
  %61 = alloca [2 x i32], align 4
  %62 = alloca %"class.std::allocator.2", align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !9
  %63 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %64 = load i32, ptr %5, align 4, !tbaa !9
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %66 = load i32, ptr %6, align 4, !tbaa !9
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %68 = load i32, ptr %7, align 4, !tbaa !9
  %69 = load i32, ptr %7, align 4, !tbaa !9
  %70 = mul i32 %68, %69
  store i32 %70, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %71 = load i32, ptr %8, align 4, !tbaa !9
  %72 = load i32, ptr %8, align 4, !tbaa !9
  %73 = mul i32 %71, %72
  store i32 %73, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #5
  %74 = getelementptr inbounds %class.Elements, ptr %63, i32 0, i32 10
  %75 = load i32, ptr %74, align 4, !tbaa !11
  %76 = zext i32 %75 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store double 0.000000e+00, ptr %12, align 8, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #5
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #5
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKdRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %76, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %77 unwind label %107

77:                                               ; preds = %3
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  %78 = getelementptr inbounds %class.Elements, ptr %63, i32 0, i32 5
  %79 = load i32, ptr %78, align 8, !tbaa !39
  %80 = load i32, ptr %5, align 4, !tbaa !9
  %81 = icmp ne i32 %79, %80
  br i1 %81, label %82, label %342

82:                                               ; preds = %77
  %83 = getelementptr inbounds %class.Elements, ptr %63, i32 0, i32 122
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %84 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %84, ptr %18, align 4, !tbaa !9
  %85 = getelementptr inbounds i32, ptr %18, i64 1
  %86 = getelementptr inbounds %class.Elements, ptr %63, i32 0, i32 12
  %87 = load i32, ptr %86, align 4, !tbaa !40
  store i32 %87, ptr %85, align 4, !tbaa !9
  %88 = getelementptr inbounds %"class.std::initializer_list", ptr %17, i32 0, i32 0
  store ptr %18, ptr %88, align 8, !tbaa !41
  %89 = getelementptr inbounds %"class.std::initializer_list", ptr %17, i32 0, i32 1
  store i64 2, ptr %89, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  %90 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 0
  %91 = load ptr, ptr %90, align 8
  %92 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 1
  %93 = load i64, ptr %92, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr %91, i64 %93, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %94 unwind label %111

94:                                               ; preds = %82
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %83, ptr noundef %16, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %95 unwind label %115

95:                                               ; preds = %94
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #5
  %96 = load i32, ptr %5, align 4, !tbaa !9
  %97 = add nsw i32 %96, 1
  %98 = sext i32 %97 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #5
  call void @_ZNSaI8mdvectorIdEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  invoke void @_ZNSt6vectorI8mdvectorIdESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %98, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %99 unwind label %120

99:                                               ; preds = %95
  call void @_ZNSt15__new_allocatorI8mdvectorIdEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %100 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %100, ptr %22, align 4, !tbaa !9
  br label %101

101:                                              ; preds = %237, %99
  %102 = load i32, ptr %22, align 4, !tbaa !9
  %103 = getelementptr inbounds %class.Elements, ptr %63, i32 0, i32 5
  %104 = load i32, ptr %103, align 8, !tbaa !39
  %105 = icmp ugt i32 %102, %104
  br i1 %105, label %124, label %106

106:                                              ; preds = %101
  store i32 2, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br label %243

107:                                              ; preds = %3
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %14, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %15, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %616

111:                                              ; preds = %82
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %14, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %15, align 4
  br label %119

115:                                              ; preds = %94
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %14, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %15, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  br label %119

119:                                              ; preds = %115, %111
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %615

120:                                              ; preds = %95
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %14, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %15, align 4
  call void @_ZNSt15__new_allocatorI8mdvectorIdEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #5
  br label %341

124:                                              ; preds = %101
  %125 = load i32, ptr %22, align 4, !tbaa !9
  %126 = zext i32 %125 to i64
  %127 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %126) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %128 = load i32, ptr %22, align 4, !tbaa !9
  %129 = add i32 %128, 1
  %130 = load i32, ptr %22, align 4, !tbaa !9
  %131 = add i32 %130, 1
  %132 = mul i32 %129, %131
  store i32 %132, ptr %26, align 4, !tbaa !9
  %133 = getelementptr inbounds i32, ptr %26, i64 1
  %134 = load i32, ptr %22, align 4, !tbaa !9
  %135 = load i32, ptr %22, align 4, !tbaa !9
  %136 = mul i32 %134, %135
  store i32 %136, ptr %133, align 4, !tbaa !9
  %137 = getelementptr inbounds %"class.std::initializer_list", ptr %25, i32 0, i32 0
  store ptr %26, ptr %137, align 8, !tbaa !41
  %138 = getelementptr inbounds %"class.std::initializer_list", ptr %25, i32 0, i32 1
  store i64 2, ptr %138, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  %139 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 0
  %140 = load ptr, ptr %139, align 8
  %141 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 1
  %142 = load i64, ptr %141, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr %140, i64 %142, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %143 unwind label %157

143:                                              ; preds = %124
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %127, ptr noundef %24, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %144 unwind label %161

144:                                              ; preds = %143
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #5
  %145 = load i32, ptr %22, align 4, !tbaa !9
  %146 = add i32 %145, 1
  invoke void @_Z18Gauss_Legendre_ptsj(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %28, i32 noundef %146)
          to label %147 unwind label %166

147:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #5
  %148 = load i32, ptr %22, align 4, !tbaa !9
  invoke void @_Z18Gauss_Legendre_ptsj(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %29, i32 noundef %148)
          to label %149 unwind label %170

149:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  store i32 0, ptr %30, align 4, !tbaa !9
  br label %150

150:                                              ; preds = %233, %149
  %151 = load i32, ptr %30, align 4, !tbaa !9
  %152 = load i32, ptr %22, align 4, !tbaa !9
  %153 = load i32, ptr %22, align 4, !tbaa !9
  %154 = mul i32 %152, %153
  %155 = icmp ult i32 %151, %154
  br i1 %155, label %174, label %156

156:                                              ; preds = %150
  store i32 5, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  br label %236

157:                                              ; preds = %124
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %14, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %15, align 4
  br label %165

161:                                              ; preds = %143
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %14, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %15, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  br label %165

165:                                              ; preds = %161, %157
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  br label %242

166:                                              ; preds = %144
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %14, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %15, align 4
  br label %241

170:                                              ; preds = %147
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %14, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %15, align 4
  br label %240

174:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  %175 = load i32, ptr %30, align 4, !tbaa !9
  %176 = load i32, ptr %22, align 4, !tbaa !9
  %177 = urem i32 %175, %176
  store i32 %177, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  %178 = load i32, ptr %30, align 4, !tbaa !9
  %179 = load i32, ptr %22, align 4, !tbaa !9
  %180 = udiv i32 %178, %179
  store i32 %180, ptr %32, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  store i32 0, ptr %33, align 4, !tbaa !9
  br label %181

181:                                              ; preds = %225, %174
  %182 = load i32, ptr %33, align 4, !tbaa !9
  %183 = load i32, ptr %22, align 4, !tbaa !9
  %184 = add i32 %183, 1
  %185 = load i32, ptr %22, align 4, !tbaa !9
  %186 = add i32 %185, 1
  %187 = mul i32 %184, %186
  %188 = icmp ult i32 %182, %187
  br i1 %188, label %190, label %189

189:                                              ; preds = %181
  store i32 8, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  br label %232

190:                                              ; preds = %181
  %191 = load i32, ptr %33, align 4, !tbaa !9
  %192 = load i32, ptr %22, align 4, !tbaa !9
  %193 = add i32 %192, 1
  %194 = urem i32 %191, %193
  %195 = zext i32 %194 to i64
  %196 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %195) #5
  %197 = load double, ptr %196, align 8, !tbaa !37
  %198 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #5
  store double %197, ptr %198, align 8, !tbaa !37
  %199 = load i32, ptr %33, align 4, !tbaa !9
  %200 = load i32, ptr %22, align 4, !tbaa !9
  %201 = add i32 %200, 1
  %202 = udiv i32 %199, %201
  %203 = zext i32 %202 to i64
  %204 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %203) #5
  %205 = load double, ptr %204, align 8, !tbaa !37
  %206 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 1) #5
  store double %205, ptr %206, align 8, !tbaa !37
  %207 = load i32, ptr %31, align 4, !tbaa !9
  %208 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #5
  %209 = load double, ptr %208, align 8, !tbaa !37
  %210 = invoke noundef double @_ZL8LagrangeRKSt6vectorIdSaIdEEjd(ptr noundef nonnull align 8 dereferenceable(24) %29, i32 noundef %207, double noundef %209)
          to label %211 unwind label %228

211:                                              ; preds = %190
  %212 = load i32, ptr %32, align 4, !tbaa !9
  %213 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 1) #5
  %214 = load double, ptr %213, align 8, !tbaa !37
  %215 = invoke noundef double @_ZL8LagrangeRKSt6vectorIdSaIdEEjd(ptr noundef nonnull align 8 dereferenceable(24) %29, i32 noundef %212, double noundef %214)
          to label %216 unwind label %228

216:                                              ; preds = %211
  %217 = fmul double %210, %215
  %218 = load i32, ptr %22, align 4, !tbaa !9
  %219 = zext i32 %218 to i64
  %220 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %219) #5
  %221 = load i32, ptr %33, align 4, !tbaa !9
  %222 = load i32, ptr %30, align 4, !tbaa !9
  %223 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %220, i32 noundef %221, i32 noundef %222)
          to label %224 unwind label %228

224:                                              ; preds = %216
  store double %217, ptr %223, align 8, !tbaa !37
  br label %225

225:                                              ; preds = %224
  %226 = load i32, ptr %33, align 4, !tbaa !9
  %227 = add i32 %226, 1
  store i32 %227, ptr %33, align 4, !tbaa !9
  br label %181, !llvm.loop !44

228:                                              ; preds = %216, %211, %190
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %14, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #5
  br label %240

232:                                              ; preds = %189
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  br label %233

233:                                              ; preds = %232
  %234 = load i32, ptr %30, align 4, !tbaa !9
  %235 = add i32 %234, 1
  store i32 %235, ptr %30, align 4, !tbaa !9
  br label %150, !llvm.loop !46

236:                                              ; preds = %156
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #5
  br label %237

237:                                              ; preds = %236
  %238 = load i32, ptr %22, align 4, !tbaa !9
  %239 = add i32 %238, -1
  store i32 %239, ptr %22, align 4, !tbaa !9
  br label %101, !llvm.loop !47

240:                                              ; preds = %228, %170
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #5
  br label %241

241:                                              ; preds = %240, %166
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #5
  br label %242

242:                                              ; preds = %241, %165
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br label %340

243:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  %244 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %244, ptr %34, align 4, !tbaa !9
  br label %245

245:                                              ; preds = %310, %243
  %246 = load i32, ptr %34, align 4, !tbaa !9
  %247 = getelementptr inbounds %class.Elements, ptr %63, i32 0, i32 5
  %248 = load i32, ptr %247, align 8, !tbaa !39
  %249 = add i32 %248, 1
  %250 = icmp ugt i32 %246, %249
  br i1 %250, label %252, label %251

251:                                              ; preds = %245
  store i32 11, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  br label %327

252:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 112, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  %253 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %253, ptr %38, align 4, !tbaa !9
  %254 = getelementptr inbounds i32, ptr %38, i64 1
  %255 = load i32, ptr %34, align 4, !tbaa !9
  %256 = sub i32 %255, 1
  %257 = load i32, ptr %34, align 4, !tbaa !9
  %258 = sub i32 %257, 1
  %259 = mul i32 %256, %258
  store i32 %259, ptr %254, align 4, !tbaa !9
  %260 = getelementptr inbounds %"class.std::initializer_list", ptr %37, i32 0, i32 0
  store ptr %38, ptr %260, align 8, !tbaa !41
  %261 = getelementptr inbounds %"class.std::initializer_list", ptr %37, i32 0, i32 1
  store i64 2, ptr %261, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #5
  %262 = getelementptr inbounds { ptr, i64 }, ptr %37, i32 0, i32 0
  %263 = load ptr, ptr %262, align 8
  %264 = getelementptr inbounds { ptr, i64 }, ptr %37, i32 0, i32 1
  %265 = load i64, ptr %264, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr %263, i64 %265, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %266 unwind label %313

266:                                              ; preds = %252
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %35, ptr noundef %36, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %267 unwind label %317

267:                                              ; preds = %266
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  %268 = load i32, ptr %9, align 4, !tbaa !9
  %269 = load i32, ptr %34, align 4, !tbaa !9
  %270 = sub i32 %269, 1
  %271 = load i32, ptr %34, align 4, !tbaa !9
  %272 = sub i32 %271, 1
  %273 = mul i32 %270, %272
  %274 = load i32, ptr %34, align 4, !tbaa !9
  %275 = load i32, ptr %34, align 4, !tbaa !9
  %276 = mul i32 %274, %275
  %277 = load i32, ptr %34, align 4, !tbaa !9
  %278 = zext i32 %277 to i64
  %279 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %278) #5
  %280 = invoke noundef ptr @_ZN8mdvectorIdE4dataEv(ptr noundef nonnull align 8 dereferenceable(105) %279)
          to label %281 unwind label %322

281:                                              ; preds = %267
  %282 = load i32, ptr %34, align 4, !tbaa !9
  %283 = load i32, ptr %34, align 4, !tbaa !9
  %284 = mul i32 %282, %283
  %285 = load i32, ptr %34, align 4, !tbaa !9
  %286 = sub i32 %285, 1
  %287 = zext i32 %286 to i64
  %288 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %287) #5
  %289 = invoke noundef ptr @_ZN8mdvectorIdE4dataEv(ptr noundef nonnull align 8 dereferenceable(105) %288)
          to label %290 unwind label %322

290:                                              ; preds = %281
  %291 = load i32, ptr %34, align 4, !tbaa !9
  %292 = sub i32 %291, 1
  %293 = load i32, ptr %34, align 4, !tbaa !9
  %294 = sub i32 %293, 1
  %295 = mul i32 %292, %294
  %296 = invoke noundef ptr @_ZN8mdvectorIdE4dataEv(ptr noundef nonnull align 8 dereferenceable(105) %35)
          to label %297 unwind label %322

297:                                              ; preds = %290
  %298 = load i32, ptr %34, align 4, !tbaa !9
  %299 = sub i32 %298, 1
  %300 = load i32, ptr %34, align 4, !tbaa !9
  %301 = sub i32 %300, 1
  %302 = mul i32 %299, %301
  invoke void @cblas_dgemm(i32 noundef 101, i32 noundef 111, i32 noundef 111, i32 noundef %268, i32 noundef %273, i32 noundef %276, double noundef 1.000000e+00, ptr noundef %280, i32 noundef %284, ptr noundef %289, i32 noundef %295, double noundef 0.000000e+00, ptr noundef %296, i32 noundef %302)
          to label %303 unwind label %322

303:                                              ; preds = %297
  %304 = load i32, ptr %34, align 4, !tbaa !9
  %305 = sub i32 %304, 1
  %306 = zext i32 %305 to i64
  %307 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %306) #5
  %308 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %307, ptr noundef nonnull align 8 dereferenceable(105) %35)
          to label %309 unwind label %322

309:                                              ; preds = %303
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %35) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %35) #5
  br label %310

310:                                              ; preds = %309
  %311 = load i32, ptr %34, align 4, !tbaa !9
  %312 = add i32 %311, -1
  store i32 %312, ptr %34, align 4, !tbaa !9
  br label %245, !llvm.loop !48

313:                                              ; preds = %252
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %14, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %15, align 4
  br label %321

317:                                              ; preds = %266
  %318 = landingpad { ptr, i32 }
          cleanup
  %319 = extractvalue { ptr, i32 } %318, 0
  store ptr %319, ptr %14, align 8
  %320 = extractvalue { ptr, i32 } %318, 1
  store i32 %320, ptr %15, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  br label %321

321:                                              ; preds = %317, %313
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  br label %326

322:                                              ; preds = %303, %297, %290, %281, %267
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %14, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %15, align 4
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %35) #5
  br label %326

326:                                              ; preds = %322, %321
  call void @llvm.lifetime.end.p0(i64 112, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  br label %340

327:                                              ; preds = %251
  %328 = getelementptr inbounds %class.Elements, ptr %63, i32 0, i32 5
  %329 = load i32, ptr %328, align 8, !tbaa !39
  %330 = add i32 %329, 1
  %331 = zext i32 %330 to i64
  %332 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %331) #5
  %333 = getelementptr inbounds %class.Elements, ptr %63, i32 0, i32 122
  %334 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %333, ptr noundef nonnull align 8 dereferenceable(105) %332)
          to label %335 unwind label %336

335:                                              ; preds = %327
  call void @_ZNSt6vectorI8mdvectorIdESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #5
  br label %342

336:                                              ; preds = %327
  %337 = landingpad { ptr, i32 }
          cleanup
  %338 = extractvalue { ptr, i32 } %337, 0
  store ptr %338, ptr %14, align 8
  %339 = extractvalue { ptr, i32 } %337, 1
  store i32 %339, ptr %15, align 4
  br label %340

340:                                              ; preds = %336, %326, %242
  call void @_ZNSt6vectorI8mdvectorIdESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  br label %341

341:                                              ; preds = %340, %120
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #5
  br label %615

342:                                              ; preds = %335, %77
  %343 = getelementptr inbounds %class.Elements, ptr %63, i32 0, i32 5
  %344 = load i32, ptr %343, align 8, !tbaa !39
  %345 = icmp ne i32 %344, 0
  br i1 %345, label %346, label %614

346:                                              ; preds = %342
  %347 = getelementptr inbounds %class.Elements, ptr %63, i32 0, i32 123
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #5
  %348 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %348, ptr %42, align 4, !tbaa !9
  %349 = getelementptr inbounds i32, ptr %42, i64 1
  %350 = getelementptr inbounds %class.Elements, ptr %63, i32 0, i32 12
  %351 = load i32, ptr %350, align 4, !tbaa !40
  store i32 %351, ptr %349, align 4, !tbaa !9
  %352 = getelementptr inbounds %"class.std::initializer_list", ptr %41, i32 0, i32 0
  store ptr %42, ptr %352, align 8, !tbaa !41
  %353 = getelementptr inbounds %"class.std::initializer_list", ptr %41, i32 0, i32 1
  store i64 2, ptr %353, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #5
  %354 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 0
  %355 = load ptr, ptr %354, align 8
  %356 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 1
  %357 = load i64, ptr %356, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %40, ptr %355, i64 %357, ptr noundef nonnull align 1 dereferenceable(1) %43)
          to label %358 unwind label %372

358:                                              ; preds = %346
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %347, ptr noundef %40, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %359 unwind label %376

359:                                              ; preds = %358
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %44) #5
  %360 = getelementptr inbounds %class.Elements, ptr %63, i32 0, i32 5
  %361 = load i32, ptr %360, align 8, !tbaa !39
  %362 = add i32 %361, 1
  %363 = zext i32 %362 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #5
  call void @_ZNSaI8mdvectorIdEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #5
  invoke void @_ZNSt6vectorI8mdvectorIdESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %363, ptr noundef nonnull align 1 dereferenceable(1) %45)
          to label %364 unwind label %381

364:                                              ; preds = %359
  call void @_ZNSt15__new_allocatorI8mdvectorIdEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #5
  %365 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %365, ptr %46, align 4, !tbaa !9
  br label %366

366:                                              ; preds = %505, %364
  %367 = load i32, ptr %46, align 4, !tbaa !9
  %368 = getelementptr inbounds %class.Elements, ptr %63, i32 0, i32 5
  %369 = load i32, ptr %368, align 8, !tbaa !39
  %370 = icmp ult i32 %367, %369
  br i1 %370, label %385, label %371

371:                                              ; preds = %366
  store i32 14, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #5
  br label %511

372:                                              ; preds = %346
  %373 = landingpad { ptr, i32 }
          cleanup
  %374 = extractvalue { ptr, i32 } %373, 0
  store ptr %374, ptr %14, align 8
  %375 = extractvalue { ptr, i32 } %373, 1
  store i32 %375, ptr %15, align 4
  br label %380

376:                                              ; preds = %358
  %377 = landingpad { ptr, i32 }
          cleanup
  %378 = extractvalue { ptr, i32 } %377, 0
  store ptr %378, ptr %14, align 8
  %379 = extractvalue { ptr, i32 } %377, 1
  store i32 %379, ptr %15, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #5
  br label %380

380:                                              ; preds = %376, %372
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  br label %615

381:                                              ; preds = %359
  %382 = landingpad { ptr, i32 }
          cleanup
  %383 = extractvalue { ptr, i32 } %382, 0
  store ptr %383, ptr %14, align 8
  %384 = extractvalue { ptr, i32 } %382, 1
  store i32 %384, ptr %15, align 4
  call void @_ZNSt15__new_allocatorI8mdvectorIdEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #5
  br label %613

385:                                              ; preds = %366
  %386 = load i32, ptr %46, align 4, !tbaa !9
  %387 = zext i32 %386 to i64
  %388 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %387) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #5
  %389 = load i32, ptr %46, align 4, !tbaa !9
  %390 = add i32 %389, 1
  %391 = load i32, ptr %46, align 4, !tbaa !9
  %392 = add i32 %391, 1
  %393 = mul i32 %390, %392
  store i32 %393, ptr %49, align 4, !tbaa !9
  %394 = getelementptr inbounds i32, ptr %49, i64 1
  %395 = load i32, ptr %46, align 4, !tbaa !9
  %396 = add i32 %395, 2
  %397 = load i32, ptr %46, align 4, !tbaa !9
  %398 = add i32 %397, 2
  %399 = mul i32 %396, %398
  store i32 %399, ptr %394, align 4, !tbaa !9
  %400 = getelementptr inbounds %"class.std::initializer_list", ptr %48, i32 0, i32 0
  store ptr %49, ptr %400, align 8, !tbaa !41
  %401 = getelementptr inbounds %"class.std::initializer_list", ptr %48, i32 0, i32 1
  store i64 2, ptr %401, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 1, ptr %50) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #5
  %402 = getelementptr inbounds { ptr, i64 }, ptr %48, i32 0, i32 0
  %403 = load ptr, ptr %402, align 8
  %404 = getelementptr inbounds { ptr, i64 }, ptr %48, i32 0, i32 1
  %405 = load i64, ptr %404, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %47, ptr %403, i64 %405, ptr noundef nonnull align 1 dereferenceable(1) %50)
          to label %406 unwind label %423

406:                                              ; preds = %385
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %388, ptr noundef %47, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %407 unwind label %427

407:                                              ; preds = %406
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %51) #5
  %408 = load i32, ptr %46, align 4, !tbaa !9
  %409 = add i32 %408, 1
  invoke void @_Z18Gauss_Legendre_ptsj(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %51, i32 noundef %409)
          to label %410 unwind label %432

410:                                              ; preds = %407
  call void @llvm.lifetime.start.p0(i64 24, ptr %52) #5
  %411 = load i32, ptr %46, align 4, !tbaa !9
  %412 = add i32 %411, 2
  invoke void @_Z18Gauss_Legendre_ptsj(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %52, i32 noundef %412)
          to label %413 unwind label %436

413:                                              ; preds = %410
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #5
  store i32 0, ptr %53, align 4, !tbaa !9
  br label %414

414:                                              ; preds = %501, %413
  %415 = load i32, ptr %53, align 4, !tbaa !9
  %416 = load i32, ptr %46, align 4, !tbaa !9
  %417 = add i32 %416, 2
  %418 = load i32, ptr %46, align 4, !tbaa !9
  %419 = add i32 %418, 2
  %420 = mul i32 %417, %419
  %421 = icmp ult i32 %415, %420
  br i1 %421, label %440, label %422

422:                                              ; preds = %414
  store i32 17, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #5
  br label %504

423:                                              ; preds = %385
  %424 = landingpad { ptr, i32 }
          cleanup
  %425 = extractvalue { ptr, i32 } %424, 0
  store ptr %425, ptr %14, align 8
  %426 = extractvalue { ptr, i32 } %424, 1
  store i32 %426, ptr %15, align 4
  br label %431

427:                                              ; preds = %406
  %428 = landingpad { ptr, i32 }
          cleanup
  %429 = extractvalue { ptr, i32 } %428, 0
  store ptr %429, ptr %14, align 8
  %430 = extractvalue { ptr, i32 } %428, 1
  store i32 %430, ptr %15, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #5
  br label %431

431:                                              ; preds = %427, %423
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #5
  br label %510

432:                                              ; preds = %407
  %433 = landingpad { ptr, i32 }
          cleanup
  %434 = extractvalue { ptr, i32 } %433, 0
  store ptr %434, ptr %14, align 8
  %435 = extractvalue { ptr, i32 } %433, 1
  store i32 %435, ptr %15, align 4
  br label %509

436:                                              ; preds = %410
  %437 = landingpad { ptr, i32 }
          cleanup
  %438 = extractvalue { ptr, i32 } %437, 0
  store ptr %438, ptr %14, align 8
  %439 = extractvalue { ptr, i32 } %437, 1
  store i32 %439, ptr %15, align 4
  br label %508

440:                                              ; preds = %414
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #5
  %441 = load i32, ptr %53, align 4, !tbaa !9
  %442 = load i32, ptr %46, align 4, !tbaa !9
  %443 = add i32 %442, 2
  %444 = urem i32 %441, %443
  store i32 %444, ptr %54, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #5
  %445 = load i32, ptr %53, align 4, !tbaa !9
  %446 = load i32, ptr %46, align 4, !tbaa !9
  %447 = add i32 %446, 2
  %448 = udiv i32 %445, %447
  store i32 %448, ptr %55, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #5
  store i32 0, ptr %56, align 4, !tbaa !9
  br label %449

449:                                              ; preds = %493, %440
  %450 = load i32, ptr %56, align 4, !tbaa !9
  %451 = load i32, ptr %46, align 4, !tbaa !9
  %452 = add i32 %451, 1
  %453 = load i32, ptr %46, align 4, !tbaa !9
  %454 = add i32 %453, 1
  %455 = mul i32 %452, %454
  %456 = icmp ult i32 %450, %455
  br i1 %456, label %458, label %457

457:                                              ; preds = %449
  store i32 20, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #5
  br label %500

458:                                              ; preds = %449
  %459 = load i32, ptr %56, align 4, !tbaa !9
  %460 = load i32, ptr %46, align 4, !tbaa !9
  %461 = add i32 %460, 1
  %462 = urem i32 %459, %461
  %463 = zext i32 %462 to i64
  %464 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %463) #5
  %465 = load double, ptr %464, align 8, !tbaa !37
  %466 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #5
  store double %465, ptr %466, align 8, !tbaa !37
  %467 = load i32, ptr %56, align 4, !tbaa !9
  %468 = load i32, ptr %46, align 4, !tbaa !9
  %469 = add i32 %468, 1
  %470 = udiv i32 %467, %469
  %471 = zext i32 %470 to i64
  %472 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %471) #5
  %473 = load double, ptr %472, align 8, !tbaa !37
  %474 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 1) #5
  store double %473, ptr %474, align 8, !tbaa !37
  %475 = load i32, ptr %54, align 4, !tbaa !9
  %476 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #5
  %477 = load double, ptr %476, align 8, !tbaa !37
  %478 = invoke noundef double @_ZL8LagrangeRKSt6vectorIdSaIdEEjd(ptr noundef nonnull align 8 dereferenceable(24) %52, i32 noundef %475, double noundef %477)
          to label %479 unwind label %496

479:                                              ; preds = %458
  %480 = load i32, ptr %55, align 4, !tbaa !9
  %481 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 1) #5
  %482 = load double, ptr %481, align 8, !tbaa !37
  %483 = invoke noundef double @_ZL8LagrangeRKSt6vectorIdSaIdEEjd(ptr noundef nonnull align 8 dereferenceable(24) %52, i32 noundef %480, double noundef %482)
          to label %484 unwind label %496

484:                                              ; preds = %479
  %485 = fmul double %478, %483
  %486 = load i32, ptr %46, align 4, !tbaa !9
  %487 = zext i32 %486 to i64
  %488 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %487) #5
  %489 = load i32, ptr %56, align 4, !tbaa !9
  %490 = load i32, ptr %53, align 4, !tbaa !9
  %491 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %488, i32 noundef %489, i32 noundef %490)
          to label %492 unwind label %496

492:                                              ; preds = %484
  store double %485, ptr %491, align 8, !tbaa !37
  br label %493

493:                                              ; preds = %492
  %494 = load i32, ptr %56, align 4, !tbaa !9
  %495 = add i32 %494, 1
  store i32 %495, ptr %56, align 4, !tbaa !9
  br label %449, !llvm.loop !49

496:                                              ; preds = %484, %479, %458
  %497 = landingpad { ptr, i32 }
          cleanup
  %498 = extractvalue { ptr, i32 } %497, 0
  store ptr %498, ptr %14, align 8
  %499 = extractvalue { ptr, i32 } %497, 1
  store i32 %499, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #5
  br label %508

500:                                              ; preds = %457
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #5
  br label %501

501:                                              ; preds = %500
  %502 = load i32, ptr %53, align 4, !tbaa !9
  %503 = add i32 %502, 1
  store i32 %503, ptr %53, align 4, !tbaa !9
  br label %414, !llvm.loop !50

504:                                              ; preds = %422
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %51) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %51) #5
  br label %505

505:                                              ; preds = %504
  %506 = load i32, ptr %46, align 4, !tbaa !9
  %507 = add i32 %506, 1
  store i32 %507, ptr %46, align 4, !tbaa !9
  br label %366, !llvm.loop !51

508:                                              ; preds = %496, %436
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %51) #5
  br label %509

509:                                              ; preds = %508, %432
  call void @llvm.lifetime.end.p0(i64 24, ptr %51) #5
  br label %510

510:                                              ; preds = %509, %431
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #5
  br label %612

511:                                              ; preds = %371
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #5
  %512 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %512, ptr %57, align 4, !tbaa !9
  br label %513

513:                                              ; preds = %582, %511
  %514 = load i32, ptr %57, align 4, !tbaa !9
  %515 = getelementptr inbounds %class.Elements, ptr %63, i32 0, i32 5
  %516 = load i32, ptr %515, align 8, !tbaa !39
  %517 = sub i32 %516, 1
  %518 = icmp ult i32 %514, %517
  br i1 %518, label %520, label %519

519:                                              ; preds = %513
  store i32 23, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #5
  br label %599

520:                                              ; preds = %513
  call void @llvm.lifetime.start.p0(i64 112, ptr %58) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #5
  %521 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %521, ptr %61, align 4, !tbaa !9
  %522 = getelementptr inbounds i32, ptr %61, i64 1
  %523 = load i32, ptr %57, align 4, !tbaa !9
  %524 = add i32 %523, 3
  %525 = load i32, ptr %57, align 4, !tbaa !9
  %526 = add i32 %525, 3
  %527 = mul i32 %524, %526
  store i32 %527, ptr %522, align 4, !tbaa !9
  %528 = getelementptr inbounds %"class.std::initializer_list", ptr %60, i32 0, i32 0
  store ptr %61, ptr %528, align 8, !tbaa !41
  %529 = getelementptr inbounds %"class.std::initializer_list", ptr %60, i32 0, i32 1
  store i64 2, ptr %529, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 1, ptr %62) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #5
  %530 = getelementptr inbounds { ptr, i64 }, ptr %60, i32 0, i32 0
  %531 = load ptr, ptr %530, align 8
  %532 = getelementptr inbounds { ptr, i64 }, ptr %60, i32 0, i32 1
  %533 = load i64, ptr %532, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %59, ptr %531, i64 %533, ptr noundef nonnull align 1 dereferenceable(1) %62)
          to label %534 unwind label %585

534:                                              ; preds = %520
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %58, ptr noundef %59, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %535 unwind label %589

535:                                              ; preds = %534
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #5
  %536 = load i32, ptr %10, align 4, !tbaa !9
  %537 = load i32, ptr %57, align 4, !tbaa !9
  %538 = add i32 %537, 3
  %539 = load i32, ptr %57, align 4, !tbaa !9
  %540 = add i32 %539, 3
  %541 = mul i32 %538, %540
  %542 = load i32, ptr %57, align 4, !tbaa !9
  %543 = add i32 %542, 2
  %544 = load i32, ptr %57, align 4, !tbaa !9
  %545 = add i32 %544, 2
  %546 = mul i32 %543, %545
  %547 = load i32, ptr %57, align 4, !tbaa !9
  %548 = zext i32 %547 to i64
  %549 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %548) #5
  %550 = invoke noundef ptr @_ZN8mdvectorIdE4dataEv(ptr noundef nonnull align 8 dereferenceable(105) %549)
          to label %551 unwind label %594

551:                                              ; preds = %535
  %552 = load i32, ptr %57, align 4, !tbaa !9
  %553 = add i32 %552, 2
  %554 = load i32, ptr %57, align 4, !tbaa !9
  %555 = add i32 %554, 2
  %556 = mul i32 %553, %555
  %557 = load i32, ptr %57, align 4, !tbaa !9
  %558 = add i32 %557, 1
  %559 = zext i32 %558 to i64
  %560 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %559) #5
  %561 = invoke noundef ptr @_ZN8mdvectorIdE4dataEv(ptr noundef nonnull align 8 dereferenceable(105) %560)
          to label %562 unwind label %594

562:                                              ; preds = %551
  %563 = load i32, ptr %57, align 4, !tbaa !9
  %564 = add i32 %563, 3
  %565 = load i32, ptr %57, align 4, !tbaa !9
  %566 = add i32 %565, 3
  %567 = mul i32 %564, %566
  %568 = invoke noundef ptr @_ZN8mdvectorIdE4dataEv(ptr noundef nonnull align 8 dereferenceable(105) %58)
          to label %569 unwind label %594

569:                                              ; preds = %562
  %570 = load i32, ptr %57, align 4, !tbaa !9
  %571 = add i32 %570, 3
  %572 = load i32, ptr %57, align 4, !tbaa !9
  %573 = add i32 %572, 3
  %574 = mul i32 %571, %573
  invoke void @cblas_dgemm(i32 noundef 101, i32 noundef 111, i32 noundef 111, i32 noundef %536, i32 noundef %541, i32 noundef %546, double noundef 1.000000e+00, ptr noundef %550, i32 noundef %556, ptr noundef %561, i32 noundef %567, double noundef 0.000000e+00, ptr noundef %568, i32 noundef %574)
          to label %575 unwind label %594

575:                                              ; preds = %569
  %576 = load i32, ptr %57, align 4, !tbaa !9
  %577 = add i32 %576, 1
  %578 = zext i32 %577 to i64
  %579 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %578) #5
  %580 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %579, ptr noundef nonnull align 8 dereferenceable(105) %58)
          to label %581 unwind label %594

581:                                              ; preds = %575
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %58) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %58) #5
  br label %582

582:                                              ; preds = %581
  %583 = load i32, ptr %57, align 4, !tbaa !9
  %584 = add i32 %583, 1
  store i32 %584, ptr %57, align 4, !tbaa !9
  br label %513, !llvm.loop !52

585:                                              ; preds = %520
  %586 = landingpad { ptr, i32 }
          cleanup
  %587 = extractvalue { ptr, i32 } %586, 0
  store ptr %587, ptr %14, align 8
  %588 = extractvalue { ptr, i32 } %586, 1
  store i32 %588, ptr %15, align 4
  br label %593

589:                                              ; preds = %534
  %590 = landingpad { ptr, i32 }
          cleanup
  %591 = extractvalue { ptr, i32 } %590, 0
  store ptr %591, ptr %14, align 8
  %592 = extractvalue { ptr, i32 } %590, 1
  store i32 %592, ptr %15, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #5
  br label %593

593:                                              ; preds = %589, %585
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #5
  br label %598

594:                                              ; preds = %575, %569, %562, %551, %535
  %595 = landingpad { ptr, i32 }
          cleanup
  %596 = extractvalue { ptr, i32 } %595, 0
  store ptr %596, ptr %14, align 8
  %597 = extractvalue { ptr, i32 } %595, 1
  store i32 %597, ptr %15, align 4
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %58) #5
  br label %598

598:                                              ; preds = %594, %593
  call void @llvm.lifetime.end.p0(i64 112, ptr %58) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #5
  br label %612

599:                                              ; preds = %519
  %600 = getelementptr inbounds %class.Elements, ptr %63, i32 0, i32 5
  %601 = load i32, ptr %600, align 8, !tbaa !39
  %602 = sub i32 %601, 1
  %603 = zext i32 %602 to i64
  %604 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %603) #5
  %605 = getelementptr inbounds %class.Elements, ptr %63, i32 0, i32 123
  %606 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %605, ptr noundef nonnull align 8 dereferenceable(105) %604)
          to label %607 unwind label %608

607:                                              ; preds = %599
  call void @_ZNSt6vectorI8mdvectorIdESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #5
  br label %614

608:                                              ; preds = %599
  %609 = landingpad { ptr, i32 }
          cleanup
  %610 = extractvalue { ptr, i32 } %609, 0
  store ptr %610, ptr %14, align 8
  %611 = extractvalue { ptr, i32 } %609, 1
  store i32 %611, ptr %15, align 4
  br label %612

612:                                              ; preds = %608, %598, %510
  call void @_ZNSt6vectorI8mdvectorIdESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #5
  br label %613

613:                                              ; preds = %612, %381
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #5
  br label %615

614:                                              ; preds = %607, %342
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  ret void

615:                                              ; preds = %613, %380, %341, %119
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  br label %616

616:                                              ; preds = %615, %107
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %617

617:                                              ; preds = %616
  %618 = load ptr, ptr %14, align 8
  %619 = load i32, ptr %15, align 4
  %620 = insertvalue { ptr, i32 } poison, ptr %618, 0
  %621 = insertvalue { ptr, i32 } %620, i32 %619, 1
  resume { ptr, i32 } %621
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2EmRKdRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI8mdvectorIdESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef, double noundef, i1 noundef zeroext) unnamed_addr #1 align 2

declare void @cblas_dgemm(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, double noundef, ptr noundef, i32 noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(105)) #1 align 2

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 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 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 52}
!12 = !{!"_ZTS8Elements", !6, i64 8, !6, i64 16, !13, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !14, i64 104, !14, i64 216, !14, i64 328, !14, i64 440, !22, i64 552, !14, i64 576, !14, i64 688, !14, i64 800, !14, i64 912, !14, i64 1024, !26, i64 1136, !26, i64 1248, !26, i64 1360, !26, i64 1472, !26, i64 1584, !17, i64 1696, !17, i64 1720, !17, i64 1744, !17, i64 1768, !14, i64 1792, !14, i64 1904, !14, i64 2016, !14, i64 2128, !14, i64 2240, !14, i64 2352, !14, i64 2464, !14, i64 2576, !14, i64 2688, !14, i64 2800, !14, i64 2912, !14, i64 3024, !14, i64 3136, !14, i64 3248, !14, i64 3360, !14, i64 3472, !14, i64 3584, !14, i64 3696, !14, i64 3808, !14, i64 3920, !14, i64 4032, !14, i64 4144, !14, i64 4256, !14, i64 4368, !14, i64 4480, !14, i64 4592, !14, i64 4704, !14, i64 4816, !14, i64 4928, !14, i64 5040, !14, i64 5152, !14, i64 5264, !14, i64 5376, !14, i64 5488, !14, i64 5600, !14, i64 5712, !14, i64 5824, !14, i64 5936, !10, i64 6048, !17, i64 6056, !17, i64 6080, !17, i64 6104, !17, i64 6128, !17, i64 6152, !17, i64 6176, !17, i64 6200, !27, i64 6224, !14, i64 6248, !14, i64 6360, !14, i64 6472, !14, i64 6584, !14, i64 6696, !14, i64 6808, !14, i64 6920, !14, i64 7032, !14, i64 7144, !15, i64 7256, !15, i64 7264, !15, i64 7272, !15, i64 7280, !15, i64 7288, !14, i64 7296, !14, i64 7408, !14, i64 7520, !14, i64 7632, !14, i64 7744, !14, i64 7856, !14, i64 7968, !14, i64 8080, !14, i64 8192, !14, i64 8304, !14, i64 8416, !14, i64 8528, !14, i64 8640, !14, i64 8752, !14, i64 8864, !14, i64 8976, !14, i64 9088, !14, i64 9200, !14, i64 9312, !14, i64 9424, !14, i64 9536, !14, i64 9648, !14, i64 9760, !14, i64 9872, !14, i64 9984, !14, i64 10096, !14, i64 10208, !14, i64 10320, !14, i64 10432, !14, i64 10544, !14, i64 10656, !14, i64 10768, !14, i64 10880, !14, i64 10992, !14, i64 11104, !14, i64 11216, !14, i64 11328, !14, i64 11440, !14, i64 11552, !14, i64 11664, !14, i64 11776, !14, i64 11888, !14, i64 12000, !31, i64 12112, !31, i64 12344, !14, i64 12576, !14, i64 12688, !14, i64 12800, !14, i64 12912, !14, i64 13024, !14, i64 13136, !10, i64 13248, !14, i64 13256, !14, i64 13368, !10, i64 13480, !6, i64 13488, !27, i64 13496, !26, i64 13520, !14, i64 13632, !14, i64 13744, !14, i64 13856}
!13 = !{!"_ZTS8ELE_TYPE", !7, i64 0}
!14 = !{!"_ZTS8mdvectorIdE", !10, i64 0, !15, i64 8, !15, i64 16, !16, i64 24, !16, i64 48, !17, i64 72, !6, i64 96, !21, i64 104}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTSSt5arrayIjLm6EE", !7, i64 0}
!17 = !{!"_ZTSSt6vectorIdSaIdEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"bool", !7, i64 0}
!22 = !{!"_ZTSSt6vectorIjSaIjEE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTS8mdvectorIjE", !10, i64 0, !15, i64 8, !15, i64 16, !16, i64 24, !16, i64 48, !22, i64 72, !6, i64 96, !21, i64 104}
!27 = !{!"_ZTSSt6vectorIiSaIiEE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"_ZTS6mdviewIdE", !32, i64 0, !26, i64 112, !10, i64 224}
!32 = !{!"_ZTS8mdvectorIPdE", !10, i64 0, !15, i64 8, !15, i64 16, !16, i64 24, !16, i64 48, !33, i64 72, !6, i64 96, !21, i64 104}
!33 = !{!"_ZTSSt6vectorIPdSaIS0_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIPdSaIS0_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIPdSaIS0_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIPdSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!38, !38, i64 0}
!38 = !{!"double", !7, i64 0}
!39 = !{!12, !10, i64 32}
!40 = !{!12, !10, i64 60}
!41 = !{!42, !6, i64 0}
!42 = !{!"_ZTSSt16initializer_listIjE", !6, i64 0, !15, i64 8}
!43 = !{!42, !15, i64 8}
!44 = distinct !{!44, !45}
!45 = !{!"llvm.loop.mustprogress"}
!46 = distinct !{!46, !45}
!47 = distinct !{!47, !45}
!48 = distinct !{!48, !45}
!49 = distinct !{!49, !45}
!50 = distinct !{!50, !45}
!51 = distinct !{!51, !45}
!52 = distinct !{!52, !45}


; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }
%"class.std::vector.161" = type { %"struct.std::_Vector_base.162" }
%"struct.std::_Vector_base.162" = type { %"struct.std::_Vector_base<mdvector<double>, std::allocator<mdvector<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<mdvector<double>, std::allocator<mdvector<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<mdvector<double>, std::allocator<mdvector<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mdvector<double>, std::allocator<mdvector<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.163" = type { i8 }
%class.mdvector = type <{ i32, [4 x i8], i64, i64, %"struct.std::array", %"struct.std::array", %"class.std::vector", ptr, i8, [7 x i8] }>
%"struct.std::array" = type { [6 x i32] }

declare i32 @__gxx_personality_v0(...)

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef, double noundef, i1 noundef zeroext) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare void @_Z18Gauss_Legendre_ptsj(ptr dead_on_unwind writable sret(%"class.std::vector") align 8, i32 noundef) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105), i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef double @_ZL8LagrangeRKSt6vectorIdSaIdEEjd(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, double noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5Quads9setup_PMGEii(ptr noundef nonnull align 8 dereferenceable(13968) %0, i32 noundef %1, i32 noundef %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca double, align 8
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca %"class.std::vector.0", align 8
  %8 = alloca [2 x i32], align 4
  %9 = alloca %"class.std::allocator.2", align 1
  %10 = alloca %"class.std::vector.161", align 8
  %11 = alloca %"class.std::allocator.163", align 1
  %12 = alloca %"class.std::vector.0", align 8
  %13 = alloca [2 x i32], align 4
  %14 = alloca %"class.std::allocator.2", align 1
  %15 = alloca %"class.std::vector", align 8
  %16 = alloca %"class.std::vector", align 8
  %17 = alloca %class.mdvector, align 8
  %18 = alloca %"class.std::vector.0", align 8
  %19 = alloca [2 x i32], align 4
  %20 = alloca %"class.std::allocator.2", align 1
  %21 = alloca %"class.std::vector.0", align 8
  %22 = alloca [2 x i32], align 4
  %23 = alloca %"class.std::allocator.2", align 1
  %24 = alloca %"class.std::vector.161", align 8
  %25 = alloca %"class.std::allocator.163", align 1
  %26 = alloca %"class.std::vector.0", align 8
  %27 = alloca [2 x i32], align 4
  %28 = alloca %"class.std::allocator.2", align 1
  %29 = alloca %"class.std::vector", align 8
  %30 = alloca %"class.std::vector", align 8
  %31 = alloca %class.mdvector, align 8
  %32 = alloca %"class.std::vector.0", align 8
  %33 = alloca [2 x i32], align 4
  %34 = alloca %"class.std::allocator.2", align 1
  %35 = add nsw i32 %1, 1
  %36 = add nsw i32 %2, 1
  %37 = mul i32 %35, %35
  %38 = mul i32 %36, %36
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #5
  %39 = getelementptr inbounds i8, ptr %0, i64 52
  %40 = load i32, ptr %39, align 4, !tbaa !5
  %41 = zext i32 %40 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  store double 0.000000e+00, ptr %5, align 8, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #5
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #5
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKdRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %41, ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %42 unwind label %61

42:                                               ; preds = %3
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  %43 = getelementptr inbounds i8, ptr %0, i64 32
  %44 = load i32, ptr %43, align 8, !tbaa !37
  %.not = icmp eq i32 %44, %1
  br i1 %.not, label %154, label %45

45:                                               ; preds = %42
  %46 = getelementptr inbounds i8, ptr %0, i64 9424
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  store i32 %37, ptr %8, align 4, !tbaa !38
  %47 = getelementptr inbounds i8, ptr %8, i64 4
  %48 = getelementptr inbounds i8, ptr %0, i64 60
  %49 = load i32, ptr %48, align 4, !tbaa !39
  store i32 %49, ptr %47, align 4, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr nonnull %8, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %50 unwind label %63

50:                                               ; preds = %45
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %46, ptr noundef nonnull %7, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %51 unwind label %65

51:                                               ; preds = %50
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #5
  %52 = sext i32 %35 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #5
  call void @_ZNSaI8mdvectorIdEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  invoke void @_ZNSt6vectorI8mdvectorIdESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %52, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %53 unwind label %68

53:                                               ; preds = %51
  call void @_ZNSt15__new_allocatorI8mdvectorIdEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  %54 = load i32, ptr %43, align 8, !tbaa !37
  %55 = icmp ult i32 %54, %1
  br i1 %55, label %.lr.ph, label %.preheader182

.lr.ph:                                           ; preds = %53
  %56 = getelementptr inbounds i8, ptr %13, i64 4
  br label %70

.preheader182:                                    ; preds = %._crit_edge194, %53
  %57 = phi i32 [ %54, %53 ], [ %106, %._crit_edge194 ]
  %58 = add i32 %57, 1
  %59 = icmp ult i32 %58, %1
  br i1 %59, label %.lr.ph198, label %._crit_edge

.lr.ph198:                                        ; preds = %.preheader182
  %60 = getelementptr inbounds i8, ptr %19, i64 4
  br label %121

61:                                               ; preds = %3
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br label %270

63:                                               ; preds = %45
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %67

65:                                               ; preds = %50
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  br label %67

67:                                               ; preds = %65, %63
  %.pn = phi { ptr, i32 } [ %66, %65 ], [ %64, %63 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br label %269

68:                                               ; preds = %51
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI8mdvectorIdEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  br label %153

70:                                               ; preds = %.lr.ph, %._crit_edge194
  %.0144195 = phi i32 [ %1, %.lr.ph ], [ %105, %._crit_edge194 ]
  %71 = zext i32 %.0144195 to i64
  %72 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %71) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %73 = add i32 %.0144195, 1
  %74 = mul i32 %73, %73
  store i32 %74, ptr %13, align 4, !tbaa !38
  %75 = mul i32 %.0144195, %.0144195
  store i32 %75, ptr %56, align 4, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr nonnull %13, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %76 unwind label %108

76:                                               ; preds = %70
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %72, ptr noundef nonnull %12, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %77 unwind label %110

77:                                               ; preds = %76
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #5
  invoke void @_Z18Gauss_Legendre_ptsj(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %15, i32 noundef %73)
          to label %78 unwind label %113

78:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #5
  invoke void @_Z18Gauss_Legendre_ptsj(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %16, i32 noundef %.0144195)
          to label %.preheader183 unwind label %115

.preheader183:                                    ; preds = %78
  %.not213 = icmp eq i32 %75, 0
  %.not214 = icmp eq i32 %74, 0
  %or.cond = or i1 %.not213, %.not214
  br i1 %or.cond, label %._crit_edge194, label %.lr.ph.us

.lr.ph.us:                                        ; preds = %.preheader183, %._crit_edge.us
  %.0146192.us = phi i32 [ %103, %._crit_edge.us ], [ 0, %.preheader183 ]
  %79 = urem i32 %.0146192.us, %.0144195
  %80 = udiv i32 %.0146192.us, %.0144195
  br label %81

81:                                               ; preds = %.lr.ph.us, %81
  %.0147191.us = phi i32 [ 0, %.lr.ph.us ], [ %101, %81 ]
  %82 = urem i32 %.0147191.us, %73
  %83 = zext i32 %82 to i64
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %83) #5
  %85 = load double, ptr %84, align 8, !tbaa !35
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 0) #5
  store double %85, ptr %86, align 8, !tbaa !35
  %87 = udiv i32 %.0147191.us, %73
  %88 = zext i32 %87 to i64
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %88) #5
  %90 = load double, ptr %89, align 8, !tbaa !35
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 1) #5
  store double %90, ptr %91, align 8, !tbaa !35
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 0) #5
  %93 = load double, ptr %92, align 8, !tbaa !35
  %94 = call noundef double @_ZL8LagrangeRKSt6vectorIdSaIdEEjd(ptr noundef nonnull align 8 dereferenceable(24) %16, i32 noundef %79, double noundef %93)
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 1) #5
  %96 = load double, ptr %95, align 8, !tbaa !35
  %97 = call noundef double @_ZL8LagrangeRKSt6vectorIdSaIdEEjd(ptr noundef nonnull align 8 dereferenceable(24) %16, i32 noundef %80, double noundef %96)
  %98 = fmul double %94, %97
  %99 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %71) #5
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %99, i32 noundef %.0147191.us, i32 noundef %.0146192.us)
  store double %98, ptr %100, align 8, !tbaa !35
  %101 = add nuw i32 %.0147191.us, 1
  %102 = icmp ult i32 %101, %74
  br i1 %102, label %81, label %._crit_edge.us, !llvm.loop !40

._crit_edge.us:                                   ; preds = %81
  %103 = add nuw i32 %.0146192.us, 1
  %104 = icmp ult i32 %103, %75
  br i1 %104, label %.lr.ph.us, label %._crit_edge194, !llvm.loop !42

._crit_edge194:                                   ; preds = %._crit_edge.us, %.preheader183
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #5
  %105 = add i32 %.0144195, -1
  %106 = load i32, ptr %43, align 8, !tbaa !37
  %107 = icmp ugt i32 %105, %106
  br i1 %107, label %70, label %.preheader182, !llvm.loop !43

108:                                              ; preds = %70
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %112

110:                                              ; preds = %76
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  br label %112

112:                                              ; preds = %110, %108
  %.pn172 = phi { ptr, i32 } [ %111, %110 ], [ %109, %108 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  br label %152

113:                                              ; preds = %77
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %117

115:                                              ; preds = %78
  %116 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  br label %117

117:                                              ; preds = %115, %113
  %.pn174 = phi { ptr, i32 } [ %116, %115 ], [ %114, %113 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #5
  br label %152

._crit_edge:                                      ; preds = %137, %.preheader182
  %.lcssa187 = phi i32 [ %58, %.preheader182 ], [ %139, %137 ]
  %118 = zext i32 %.lcssa187 to i64
  %119 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %118) #5
  %120 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %46, ptr noundef nonnull align 8 dereferenceable(105) %119)
          to label %149 unwind label %150

121:                                              ; preds = %.lr.ph198, %137
  %.0149197 = phi i32 [ %1, %.lr.ph198 ], [ %122, %137 ]
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #5
  store i32 %37, ptr %19, align 4, !tbaa !38
  %122 = add i32 %.0149197, -1
  %123 = mul i32 %122, %122
  store i32 %123, ptr %60, align 4, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr nonnull %19, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %124 unwind label %141

124:                                              ; preds = %121
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %17, ptr noundef nonnull %18, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %125 unwind label %143

125:                                              ; preds = %124
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  %126 = mul i32 %.0149197, %.0149197
  %127 = zext i32 %.0149197 to i64
  %128 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %127) #5
  %129 = call noundef ptr @_ZN8mdvectorIdE4dataEv(ptr noundef nonnull align 8 dereferenceable(105) %128)
  %130 = zext i32 %122 to i64
  %131 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %130) #5
  %132 = call noundef ptr @_ZN8mdvectorIdE4dataEv(ptr noundef nonnull align 8 dereferenceable(105) %131)
  %133 = call noundef ptr @_ZN8mdvectorIdE4dataEv(ptr noundef nonnull align 8 dereferenceable(105) %17)
  invoke void @cblas_dgemm(i32 noundef 101, i32 noundef 111, i32 noundef 111, i32 noundef %37, i32 noundef %123, i32 noundef %126, double noundef 1.000000e+00, ptr noundef %129, i32 noundef %126, ptr noundef %132, i32 noundef %123, double noundef 0.000000e+00, ptr noundef %133, i32 noundef %123)
          to label %134 unwind label %146

134:                                              ; preds = %125
  %135 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %130) #5
  %136 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %135, ptr noundef nonnull align 8 dereferenceable(105) %17)
          to label %137 unwind label %146

137:                                              ; preds = %134
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %17) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %17) #5
  %138 = load i32, ptr %43, align 8, !tbaa !37
  %139 = add i32 %138, 1
  %140 = icmp ugt i32 %122, %139
  br i1 %140, label %121, label %._crit_edge, !llvm.loop !44

141:                                              ; preds = %121
  %142 = landingpad { ptr, i32 }
          cleanup
  br label %145

143:                                              ; preds = %124
  %144 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  br label %145

145:                                              ; preds = %143, %141
  %.pn168 = phi { ptr, i32 } [ %144, %143 ], [ %142, %141 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  br label %148

146:                                              ; preds = %134, %125
  %147 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %17) #5
  br label %148

148:                                              ; preds = %146, %145
  %.pn170 = phi { ptr, i32 } [ %147, %146 ], [ %.pn168, %145 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %17) #5
  br label %152

149:                                              ; preds = %._crit_edge
  call void @_ZNSt6vectorI8mdvectorIdESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  %.pr = load i32, ptr %43, align 8, !tbaa !37
  br label %154

150:                                              ; preds = %._crit_edge
  %151 = landingpad { ptr, i32 }
          cleanup
  br label %152

152:                                              ; preds = %112, %117, %150, %148
  %.pn174.pn.pn = phi { ptr, i32 } [ %.pn170, %148 ], [ %151, %150 ], [ %.pn174, %117 ], [ %.pn172, %112 ]
  call void @_ZNSt6vectorI8mdvectorIdESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  br label %153

153:                                              ; preds = %152, %68
  %.pn174.pn.pn.pn = phi { ptr, i32 } [ %.pn174.pn.pn, %152 ], [ %69, %68 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  br label %269

154:                                              ; preds = %149, %42
  %155 = phi i32 [ %.pr, %149 ], [ %1, %42 ]
  %.not154 = icmp eq i32 %155, 0
  br i1 %.not154, label %268, label %156

156:                                              ; preds = %154
  %157 = getelementptr inbounds i8, ptr %0, i64 9536
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #5
  store i32 %38, ptr %22, align 4, !tbaa !38
  %158 = getelementptr inbounds i8, ptr %22, i64 4
  %159 = getelementptr inbounds i8, ptr %0, i64 60
  %160 = load i32, ptr %159, align 4, !tbaa !39
  store i32 %160, ptr %158, align 4, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr nonnull %22, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %161 unwind label %176

161:                                              ; preds = %156
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %157, ptr noundef nonnull %21, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %162 unwind label %178

162:                                              ; preds = %161
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #5
  %163 = load i32, ptr %43, align 8, !tbaa !37
  %164 = add i32 %163, 1
  %165 = zext i32 %164 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #5
  call void @_ZNSaI8mdvectorIdEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  invoke void @_ZNSt6vectorI8mdvectorIdESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %165, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %166 unwind label %181

166:                                              ; preds = %162
  call void @_ZNSt15__new_allocatorI8mdvectorIdEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #5
  %167 = load i32, ptr %43, align 8, !tbaa !37
  %168 = icmp ugt i32 %167, %2
  br i1 %168, label %.lr.ph208, label %.preheader

.lr.ph208:                                        ; preds = %166
  %169 = getelementptr inbounds i8, ptr %27, i64 4
  %170 = zext i32 %2 to i64
  br label %183

.preheader:                                       ; preds = %._crit_edge205, %166
  %171 = phi i32 [ %167, %166 ], [ %219, %._crit_edge205 ]
  %172 = add i32 %171, -1
  %173 = icmp ugt i32 %172, %2
  br i1 %173, label %.lr.ph210, label %.preheader.._crit_edge211_crit_edge

.preheader.._crit_edge211_crit_edge:              ; preds = %.preheader
  %.pre = zext i32 %172 to i64
  br label %._crit_edge211

.lr.ph210:                                        ; preds = %.preheader
  %174 = getelementptr inbounds i8, ptr %33, i64 4
  %175 = zext i32 %2 to i64
  br label %234

176:                                              ; preds = %156
  %177 = landingpad { ptr, i32 }
          cleanup
  br label %180

178:                                              ; preds = %161
  %179 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  br label %180

180:                                              ; preds = %178, %176
  %.pn155 = phi { ptr, i32 } [ %179, %178 ], [ %177, %176 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  br label %269

181:                                              ; preds = %162
  %182 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI8mdvectorIdEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #5
  br label %267

183:                                              ; preds = %.lr.ph208, %._crit_edge205
  %indvars.iv = phi i64 [ %170, %.lr.ph208 ], [ %indvars.iv.next, %._crit_edge205 ]
  %184 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %185 = trunc nuw i64 %indvars.iv.next to i32
  %186 = mul i32 %185, %185
  store i32 %186, ptr %27, align 4, !tbaa !38
  %187 = trunc nuw i64 %indvars.iv to i32
  %188 = add i32 %187, 2
  %189 = mul i32 %188, %188
  store i32 %189, ptr %169, align 4, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %28) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #5
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr nonnull %27, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %190 unwind label %222

190:                                              ; preds = %183
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %184, ptr noundef nonnull %26, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %191 unwind label %224

191:                                              ; preds = %190
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #5
  invoke void @_Z18Gauss_Legendre_ptsj(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %29, i32 noundef %185)
          to label %192 unwind label %227

192:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %30) #5
  invoke void @_Z18Gauss_Legendre_ptsj(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %30, i32 noundef %188)
          to label %.preheader181 unwind label %229

.preheader181:                                    ; preds = %192
  %.not215 = icmp eq i32 %189, 0
  %.not216 = icmp eq i32 %186, 0
  %or.cond228 = select i1 %.not215, i1 true, i1 %.not216
  br i1 %or.cond228, label %._crit_edge205, label %.lr.ph201.us

.lr.ph201.us:                                     ; preds = %.preheader181, %._crit_edge202.us
  %.0145203.us = phi i32 [ %217, %._crit_edge202.us ], [ 0, %.preheader181 ]
  %193 = urem i32 %.0145203.us, %188
  %194 = udiv i32 %.0145203.us, %188
  br label %195

195:                                              ; preds = %.lr.ph201.us, %195
  %.0143199.us = phi i32 [ 0, %.lr.ph201.us ], [ %215, %195 ]
  %196 = urem i32 %.0143199.us, %185
  %197 = zext i32 %196 to i64
  %198 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %197) #5
  %199 = load double, ptr %198, align 8, !tbaa !35
  %200 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 0) #5
  store double %199, ptr %200, align 8, !tbaa !35
  %201 = udiv i32 %.0143199.us, %185
  %202 = zext i32 %201 to i64
  %203 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %202) #5
  %204 = load double, ptr %203, align 8, !tbaa !35
  %205 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 1) #5
  store double %204, ptr %205, align 8, !tbaa !35
  %206 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 0) #5
  %207 = load double, ptr %206, align 8, !tbaa !35
  %208 = call noundef double @_ZL8LagrangeRKSt6vectorIdSaIdEEjd(ptr noundef nonnull align 8 dereferenceable(24) %30, i32 noundef %193, double noundef %207)
  %209 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 1) #5
  %210 = load double, ptr %209, align 8, !tbaa !35
  %211 = call noundef double @_ZL8LagrangeRKSt6vectorIdSaIdEEjd(ptr noundef nonnull align 8 dereferenceable(24) %30, i32 noundef %194, double noundef %210)
  %212 = fmul double %208, %211
  %213 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv) #5
  %214 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %213, i32 noundef %.0143199.us, i32 noundef %.0145203.us)
  store double %212, ptr %214, align 8, !tbaa !35
  %215 = add nuw i32 %.0143199.us, 1
  %216 = icmp ult i32 %215, %186
  br i1 %216, label %195, label %._crit_edge202.us, !llvm.loop !45

._crit_edge202.us:                                ; preds = %195
  %217 = add nuw i32 %.0145203.us, 1
  %218 = icmp ult i32 %217, %189
  br i1 %218, label %.lr.ph201.us, label %._crit_edge205, !llvm.loop !46

._crit_edge205:                                   ; preds = %._crit_edge202.us, %.preheader181
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %30) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #5
  %219 = load i32, ptr %43, align 8, !tbaa !37
  %220 = zext i32 %219 to i64
  %221 = icmp ult i64 %indvars.iv.next, %220
  br i1 %221, label %183, label %.preheader, !llvm.loop !47

222:                                              ; preds = %183
  %223 = landingpad { ptr, i32 }
          cleanup
  br label %226

224:                                              ; preds = %190
  %225 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  br label %226

226:                                              ; preds = %224, %222
  %.pn161 = phi { ptr, i32 } [ %225, %224 ], [ %223, %222 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #5
  br label %266

227:                                              ; preds = %191
  %228 = landingpad { ptr, i32 }
          cleanup
  br label %231

229:                                              ; preds = %192
  %230 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %30) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #5
  br label %231

231:                                              ; preds = %229, %227
  %.pn163 = phi { ptr, i32 } [ %230, %229 ], [ %228, %227 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #5
  br label %266

._crit_edge211:                                   ; preds = %250, %.preheader.._crit_edge211_crit_edge
  %.pre-phi = phi i64 [ %.pre, %.preheader.._crit_edge211_crit_edge ], [ %253, %250 ]
  %232 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %.pre-phi) #5
  %233 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %157, ptr noundef nonnull align 8 dereferenceable(105) %232)
          to label %263 unwind label %264

234:                                              ; preds = %.lr.ph210, %250
  %indvars.iv222 = phi i64 [ %175, %.lr.ph210 ], [ %indvars.iv.next223, %250 ]
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %31) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #5
  store i32 %38, ptr %33, align 4, !tbaa !38
  %235 = trunc nuw i64 %indvars.iv222 to i32
  %236 = add i32 %235, 3
  %237 = mul i32 %236, %236
  store i32 %237, ptr %174, align 4, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %34) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #5
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr nonnull %33, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %238 unwind label %255

238:                                              ; preds = %234
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %31, ptr noundef nonnull %32, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %239 unwind label %257

239:                                              ; preds = %238
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #5
  %240 = add i32 %235, 2
  %241 = mul i32 %240, %240
  %242 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv222) #5
  %243 = call noundef ptr @_ZN8mdvectorIdE4dataEv(ptr noundef nonnull align 8 dereferenceable(105) %242)
  %indvars.iv.next223 = add nuw nsw i64 %indvars.iv222, 1
  %244 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv.next223) #5
  %245 = call noundef ptr @_ZN8mdvectorIdE4dataEv(ptr noundef nonnull align 8 dereferenceable(105) %244)
  %246 = call noundef ptr @_ZN8mdvectorIdE4dataEv(ptr noundef nonnull align 8 dereferenceable(105) %31)
  invoke void @cblas_dgemm(i32 noundef 101, i32 noundef 111, i32 noundef 111, i32 noundef %38, i32 noundef %237, i32 noundef %241, double noundef 1.000000e+00, ptr noundef %243, i32 noundef %241, ptr noundef %245, i32 noundef %237, double noundef 0.000000e+00, ptr noundef %246, i32 noundef %237)
          to label %247 unwind label %260

247:                                              ; preds = %239
  %248 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNSt6vectorI8mdvectorIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv.next223) #5
  %249 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %248, ptr noundef nonnull align 8 dereferenceable(105) %31)
          to label %250 unwind label %260

250:                                              ; preds = %247
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %31) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %31) #5
  %251 = load i32, ptr %43, align 8, !tbaa !37
  %252 = add i32 %251, -1
  %253 = zext i32 %252 to i64
  %254 = icmp ult i64 %indvars.iv.next223, %253
  br i1 %254, label %234, label %._crit_edge211, !llvm.loop !48

255:                                              ; preds = %234
  %256 = landingpad { ptr, i32 }
          cleanup
  br label %259

257:                                              ; preds = %238
  %258 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #5
  br label %259

259:                                              ; preds = %257, %255
  %.pn157 = phi { ptr, i32 } [ %258, %257 ], [ %256, %255 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #5
  br label %262

260:                                              ; preds = %247, %239
  %261 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %31) #5
  br label %262

262:                                              ; preds = %260, %259
  %.pn159 = phi { ptr, i32 } [ %261, %260 ], [ %.pn157, %259 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %31) #5
  br label %266

263:                                              ; preds = %._crit_edge211
  call void @_ZNSt6vectorI8mdvectorIdESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #5
  br label %268

264:                                              ; preds = %._crit_edge211
  %265 = landingpad { ptr, i32 }
          cleanup
  br label %266

266:                                              ; preds = %226, %231, %264, %262
  %.pn163.pn.pn = phi { ptr, i32 } [ %.pn159, %262 ], [ %265, %264 ], [ %.pn163, %231 ], [ %.pn161, %226 ]
  call void @_ZNSt6vectorI8mdvectorIdESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  br label %267

267:                                              ; preds = %266, %181
  %.pn163.pn.pn.pn = phi { ptr, i32 } [ %.pn163.pn.pn, %266 ], [ %182, %181 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #5
  br label %269

268:                                              ; preds = %263, %154
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  ret void

269:                                              ; preds = %267, %180, %153, %67
  %.pn174.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn174.pn.pn.pn, %153 ], [ %.pn163.pn.pn.pn, %267 ], [ %.pn155, %180 ], [ %.pn, %67 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  br label %270

270:                                              ; preds = %269, %61
  %.pn174.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn174.pn.pn.pn.pn, %269 ], [ %62, %61 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  resume { ptr, i32 } %.pn174.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2EmRKdRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI8mdvectorIdESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef, double noundef, i1 noundef zeroext) unnamed_addr #1 align 2

declare void @cblas_dgemm(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, double noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(105)) local_unnamed_addr #1 align 2

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 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 = { 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, !11, i64 52}
!6 = !{!"_ZTS8Elements", !7, i64 8, !7, i64 16, !10, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !12, i64 104, !12, i64 216, !12, i64 328, !12, i64 440, !20, i64 552, !12, i64 576, !12, i64 688, !12, i64 800, !12, i64 912, !12, i64 1024, !24, i64 1136, !24, i64 1248, !24, i64 1360, !24, i64 1472, !24, i64 1584, !15, i64 1696, !15, i64 1720, !15, i64 1744, !15, i64 1768, !12, i64 1792, !12, i64 1904, !12, i64 2016, !12, i64 2128, !12, i64 2240, !12, i64 2352, !12, i64 2464, !12, i64 2576, !12, i64 2688, !12, i64 2800, !12, i64 2912, !12, i64 3024, !12, i64 3136, !12, i64 3248, !12, i64 3360, !12, i64 3472, !12, i64 3584, !12, i64 3696, !12, i64 3808, !12, i64 3920, !12, i64 4032, !12, i64 4144, !12, i64 4256, !12, i64 4368, !12, i64 4480, !12, i64 4592, !12, i64 4704, !12, i64 4816, !12, i64 4928, !12, i64 5040, !12, i64 5152, !12, i64 5264, !12, i64 5376, !12, i64 5488, !12, i64 5600, !12, i64 5712, !12, i64 5824, !12, i64 5936, !11, i64 6048, !15, i64 6056, !15, i64 6080, !15, i64 6104, !15, i64 6128, !15, i64 6152, !15, i64 6176, !15, i64 6200, !25, i64 6224, !12, i64 6248, !12, i64 6360, !12, i64 6472, !12, i64 6584, !12, i64 6696, !12, i64 6808, !12, i64 6920, !12, i64 7032, !12, i64 7144, !13, i64 7256, !13, i64 7264, !13, i64 7272, !13, i64 7280, !13, i64 7288, !12, i64 7296, !12, i64 7408, !12, i64 7520, !12, i64 7632, !12, i64 7744, !12, i64 7856, !12, i64 7968, !12, i64 8080, !12, i64 8192, !12, i64 8304, !12, i64 8416, !12, i64 8528, !12, i64 8640, !12, i64 8752, !12, i64 8864, !12, i64 8976, !12, i64 9088, !12, i64 9200, !12, i64 9312, !12, i64 9424, !12, i64 9536, !12, i64 9648, !12, i64 9760, !12, i64 9872, !12, i64 9984, !12, i64 10096, !12, i64 10208, !12, i64 10320, !12, i64 10432, !12, i64 10544, !12, i64 10656, !12, i64 10768, !12, i64 10880, !12, i64 10992, !12, i64 11104, !12, i64 11216, !12, i64 11328, !12, i64 11440, !12, i64 11552, !12, i64 11664, !12, i64 11776, !12, i64 11888, !12, i64 12000, !29, i64 12112, !29, i64 12344, !12, i64 12576, !12, i64 12688, !12, i64 12800, !12, i64 12912, !12, i64 13024, !12, i64 13136, !11, i64 13248, !12, i64 13256, !12, i64 13368, !11, i64 13480, !7, i64 13488, !25, i64 13496, !24, i64 13520, !12, i64 13632, !12, i64 13744, !12, i64 13856}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS8ELE_TYPE", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"_ZTS8mdvectorIdE", !11, i64 0, !13, i64 8, !13, i64 16, !14, i64 24, !14, i64 48, !15, i64 72, !7, i64 96, !19, i64 104}
!13 = !{!"long", !8, i64 0}
!14 = !{!"_ZTSSt5arrayIjLm6EE", !8, i64 0}
!15 = !{!"_ZTSSt6vectorIdSaIdEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!19 = !{!"bool", !8, i64 0}
!20 = !{!"_ZTSSt6vectorIjSaIjEE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!24 = !{!"_ZTS8mdvectorIjE", !11, i64 0, !13, i64 8, !13, i64 16, !14, i64 24, !14, i64 48, !20, i64 72, !7, i64 96, !19, i64 104}
!25 = !{!"_ZTSSt6vectorIiSaIiEE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!29 = !{!"_ZTS6mdviewIdE", !30, i64 0, !24, i64 112, !11, i64 224}
!30 = !{!"_ZTS8mdvectorIPdE", !11, i64 0, !13, i64 8, !13, i64 16, !14, i64 24, !14, i64 48, !31, i64 72, !7, i64 96, !19, i64 104}
!31 = !{!"_ZTSSt6vectorIPdSaIS0_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIPdSaIS0_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIPdSaIS0_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIPdSaIS0_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!35 = !{!36, !36, i64 0}
!36 = !{!"double", !8, i64 0}
!37 = !{!6, !11, i64 32}
!38 = !{!11, !11, i64 0}
!39 = !{!6, !11, i64 60}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}
!42 = distinct !{!42, !41}
!43 = distinct !{!43, !41}
!44 = distinct !{!44, !41}
!45 = distinct !{!45, !41}
!46 = distinct !{!46, !41}
!47 = distinct !{!47, !41}
!48 = distinct !{!48, !41}


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