; LLVM IR from romerojosh/zefr :: src/tets.ll (ZN4Tets10calc_shapeER8mdvectorIdEPKd)

; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.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::vector.125" = type { %"struct.std::_Vector_base.126" }
%"struct.std::_Vector_base.126" = type { %"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.127" = type { i8 }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%class.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.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.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] }>

@.str.1 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@constinit = external hidden constant [10 x i32], align 4
@__func__._ZN4Tets10calc_shapeER8mdvectorIdEPKd = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [50 x i8], align 1

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 noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64) #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 @_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

; 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 uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 align 2

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #4

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

declare ptr @__cxa_allocate_exception(i64)

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(128)) #1 align 2

declare void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

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

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_free_exception(ptr)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEj(ptr noundef nonnull align 8 dereferenceable(105), i32 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

declare noundef double @_Z9Dubiner3Djdddj(i32 noundef, double noundef, double noundef, double noundef, i32 noundef) #4

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #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

; 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 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Tets10calc_shapeER8mdvectorIdEPKd(ptr noundef nonnull align 8 dereferenceable(14304) %0, ptr noundef nonnull align 8 dereferenceable(105) %1, ptr noundef %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.std::vector.125", align 8
  %8 = alloca %"class.std::allocator.127", align 1
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::initializer_list", align 8
  %12 = alloca [4 x i32], align 4
  %13 = alloca %"class.std::initializer_list", align 8
  %14 = alloca [10 x i32], align 4
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca i1, align 1
  %19 = alloca %"class.std::vector", align 8
  %20 = alloca i32, align 4
  %21 = alloca %class.mdvector, align 8
  %22 = alloca %"class.std::vector.0", align 8
  %23 = alloca %"class.std::initializer_list", align 8
  %24 = alloca [2 x i32], align 4
  %25 = alloca %"class.std::allocator.2", align 1
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca %class.mdvector, align 8
  %32 = alloca %"class.std::vector.0", align 8
  %33 = alloca %"class.std::initializer_list", align 8
  %34 = alloca [2 x i32], align 4
  %35 = alloca %"class.std::allocator.2", align 1
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca %class.mdvector, align 8
  %39 = alloca %"class.std::vector.0", align 8
  %40 = alloca %"class.std::initializer_list", align 8
  %41 = alloca [2 x i32], align 4
  %42 = alloca %"class.std::allocator.2", align 1
  %43 = alloca i32, align 4
  %44 = alloca double, align 8
  %45 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %46 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #8
  call void @_ZNSaISt6vectorIjSaIjEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  invoke void @_ZNSt6vectorIS_IjSaIjEESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 3, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %47 unwind label %95

47:                                               ; preds = %3
  call void @_ZNSt15__new_allocatorISt6vectorIjSaIjEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #8
  store i32 0, ptr %12, align 4, !tbaa !9
  %48 = getelementptr inbounds i32, ptr %12, i64 1
  store i32 1, ptr %48, align 4, !tbaa !9
  %49 = getelementptr inbounds i32, ptr %12, i64 2
  store i32 2, ptr %49, align 4, !tbaa !9
  %50 = getelementptr inbounds i32, ptr %12, i64 3
  store i32 3, ptr %50, align 4, !tbaa !9
  %51 = getelementptr inbounds %"class.std::initializer_list", ptr %11, i32 0, i32 0
  store ptr %12, ptr %51, align 8, !tbaa !11
  %52 = getelementptr inbounds %"class.std::initializer_list", ptr %11, i32 0, i32 1
  store i64 4, ptr %52, align 8, !tbaa !14
  %53 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 1) #8
  %54 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 0
  %55 = load ptr, ptr %54, align 8
  %56 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 1
  %57 = load i64, ptr %56, align 8
  %58 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %53, ptr %55, i64 %57)
          to label %59 unwind label %99

59:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 40, ptr %14) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 @constinit, i64 40, i1 false), !tbaa.struct !15
  %60 = getelementptr inbounds %"class.std::initializer_list", ptr %13, i32 0, i32 0
  store ptr %14, ptr %60, align 8, !tbaa !11
  %61 = getelementptr inbounds %"class.std::initializer_list", ptr %13, i32 0, i32 1
  store i64 10, ptr %61, align 8, !tbaa !14
  %62 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 2) #8
  %63 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %64 = load ptr, ptr %63, align 8
  %65 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %66 = load i64, ptr %65, align 8
  %67 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %62, ptr %64, i64 %66)
          to label %68 unwind label %103

68:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 40, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %69 = getelementptr inbounds %class.Elements, ptr %46, i32 0, i32 19
  %70 = load i32, ptr %69, align 8, !tbaa !17
  %71 = invoke noundef i32 @_Z18tet_nodes_to_orderj(i32 noundef %70)
          to label %72 unwind label %107

72:                                               ; preds = %68
  store i32 %71, ptr %15, align 4, !tbaa !9
  %73 = load i32, ptr %15, align 4, !tbaa !9
  %74 = icmp ugt i32 %73, 2
  br i1 %74, label %75, label %133

75:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 392, ptr %16) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %16)
          to label %76 unwind label %111

76:                                               ; preds = %75
  %77 = getelementptr inbounds i8, ptr %16, i64 16
  %78 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef @.str.1)
          to label %79 unwind label %115

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

81:                                               ; preds = %79
  %82 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %80, i32 noundef 623)
          to label %83 unwind label %115

83:                                               ; preds = %81
  %84 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %82, ptr noundef @.str.2)
          to label %85 unwind label %115

85:                                               ; preds = %83
  %86 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %84, ptr noundef @__func__._ZN4Tets10calc_shapeER8mdvectorIdEPKd)
          to label %87 unwind label %115

87:                                               ; preds = %85
  %88 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef @.str.3)
          to label %89 unwind label %115

89:                                               ; preds = %87
  %90 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef @.str.5)
          to label %91 unwind label %115

91:                                               ; preds = %89
  store i1 true, ptr %18, align 1
  %92 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull align 8 dereferenceable(128) %16)
          to label %93 unwind label %119

93:                                               ; preds = %91
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %92, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %94 unwind label %123

94:                                               ; preds = %93
  store i1 false, ptr %18, align 1
  invoke void @__cxa_throw(ptr %92, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %399 unwind label %123

95:                                               ; preds = %3
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %9, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %10, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIjSaIjEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #8
  br label %393

99:                                               ; preds = %47
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %9, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  br label %392

103:                                              ; preds = %59
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %9, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 40, ptr %14) #8
  br label %392

107:                                              ; preds = %68
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %9, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %10, align 4
  br label %391

111:                                              ; preds = %75
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %9, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %10, align 4
  br label %132

115:                                              ; preds = %89, %87, %85, %83, %81, %79, %76
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %9, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %10, align 4
  br label %131

119:                                              ; preds = %91
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %9, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %10, align 4
  br label %127

123:                                              ; preds = %94, %93
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %9, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #8
  br label %127

127:                                              ; preds = %123, %119
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  %128 = load i1, ptr %18, align 1
  br i1 %128, label %129, label %130

129:                                              ; preds = %127
  call void @__cxa_free_exception(ptr %92) #8
  br label %130

130:                                              ; preds = %129, %127
  br label %131

131:                                              ; preds = %130, %115
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %16) #8
  br label %132

132:                                              ; preds = %131, %111
  call void @llvm.lifetime.end.p0(i64 392, ptr %16) #8
  br label %391

133:                                              ; preds = %72
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #8
  %134 = load i32, ptr %15, align 4, !tbaa !9
  invoke void @_Z9Shape_ptsj(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %19, i32 noundef %134)
          to label %135 unwind label %156

135:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  %136 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  %137 = trunc i64 %136 to i32
  store i32 %137, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 112, ptr %21) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %138 = getelementptr inbounds %class.Elements, ptr %46, i32 0, i32 19
  %139 = load i32, ptr %138, align 8, !tbaa !17
  store i32 %139, ptr %24, align 4, !tbaa !9
  %140 = getelementptr inbounds i32, ptr %24, i64 1
  %141 = getelementptr inbounds %class.Elements, ptr %46, i32 0, i32 10
  %142 = load i32, ptr %141, align 4, !tbaa !42
  store i32 %142, ptr %140, align 4, !tbaa !9
  %143 = getelementptr inbounds %"class.std::initializer_list", ptr %23, i32 0, i32 0
  store ptr %24, ptr %143, align 8, !tbaa !11
  %144 = getelementptr inbounds %"class.std::initializer_list", ptr %23, i32 0, i32 1
  store i64 2, ptr %144, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  %145 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 0
  %146 = load ptr, ptr %145, align 8
  %147 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 1
  %148 = load i64, ptr %147, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr %146, i64 %148, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %149 unwind label %160

149:                                              ; preds = %135
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %21, ptr noundef %22, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %150 unwind label %164

150:                                              ; preds = %149
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  store i32 0, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %151

151:                                              ; preds = %223, %150
  %152 = load i32, ptr %27, align 4, !tbaa !9
  %153 = load i32, ptr %20, align 4, !tbaa !9
  %154 = icmp ult i32 %152, %153
  br i1 %154, label %169, label %155

155:                                              ; preds = %151
  store i32 2, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  br label %226

156:                                              ; preds = %133
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %9, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %10, align 4
  br label %390

160:                                              ; preds = %135
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %9, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %10, align 4
  br label %168

164:                                              ; preds = %149
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %9, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %10, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  br label %168

168:                                              ; preds = %164, %160
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %389

169:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %170

170:                                              ; preds = %219, %169
  %171 = load i32, ptr %29, align 4, !tbaa !9
  %172 = load i32, ptr %20, align 4, !tbaa !9
  %173 = load i32, ptr %27, align 4, !tbaa !9
  %174 = sub i32 %172, %173
  %175 = icmp ult i32 %171, %174
  br i1 %175, label %177, label %176

176:                                              ; preds = %170
  store i32 5, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  br label %222

177:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  store i32 0, ptr %30, align 4, !tbaa !9
  br label %178

178:                                              ; preds = %211, %177
  %179 = load i32, ptr %30, align 4, !tbaa !9
  %180 = load i32, ptr %20, align 4, !tbaa !9
  %181 = load i32, ptr %27, align 4, !tbaa !9
  %182 = sub i32 %180, %181
  %183 = load i32, ptr %29, align 4, !tbaa !9
  %184 = sub i32 %182, %183
  %185 = icmp ult i32 %179, %184
  br i1 %185, label %187, label %186

186:                                              ; preds = %178
  store i32 8, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  br label %218

187:                                              ; preds = %178
  %188 = load i32, ptr %30, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %189) #8
  %191 = load double, ptr %190, align 8, !tbaa !43
  %192 = load i32, ptr %26, align 4, !tbaa !9
  %193 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %21, i32 noundef %192, i32 noundef 0)
          to label %194 unwind label %214

194:                                              ; preds = %187
  store double %191, ptr %193, align 8, !tbaa !43
  %195 = load i32, ptr %29, align 4, !tbaa !9
  %196 = zext i32 %195 to i64
  %197 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %196) #8
  %198 = load double, ptr %197, align 8, !tbaa !43
  %199 = load i32, ptr %26, align 4, !tbaa !9
  %200 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %21, i32 noundef %199, i32 noundef 1)
          to label %201 unwind label %214

201:                                              ; preds = %194
  store double %198, ptr %200, align 8, !tbaa !43
  %202 = load i32, ptr %27, align 4, !tbaa !9
  %203 = zext i32 %202 to i64
  %204 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %203) #8
  %205 = load double, ptr %204, align 8, !tbaa !43
  %206 = load i32, ptr %26, align 4, !tbaa !9
  %207 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %21, i32 noundef %206, i32 noundef 2)
          to label %208 unwind label %214

208:                                              ; preds = %201
  store double %205, ptr %207, align 8, !tbaa !43
  %209 = load i32, ptr %26, align 4, !tbaa !9
  %210 = add i32 %209, 1
  store i32 %210, ptr %26, align 4, !tbaa !9
  br label %211

211:                                              ; preds = %208
  %212 = load i32, ptr %30, align 4, !tbaa !9
  %213 = add i32 %212, 1
  store i32 %213, ptr %30, align 4, !tbaa !9
  br label %178, !llvm.loop !45

214:                                              ; preds = %201, %194, %187
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %9, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  br label %388

218:                                              ; preds = %186
  br label %219

219:                                              ; preds = %218
  %220 = load i32, ptr %29, align 4, !tbaa !9
  %221 = add i32 %220, 1
  store i32 %221, ptr %29, align 4, !tbaa !9
  br label %170, !llvm.loop !47

222:                                              ; preds = %176
  br label %223

223:                                              ; preds = %222
  %224 = load i32, ptr %27, align 4, !tbaa !9
  %225 = add i32 %224, 1
  store i32 %225, ptr %27, align 4, !tbaa !9
  br label %151, !llvm.loop !48

226:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 112, ptr %31) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %227 = getelementptr inbounds %class.Elements, ptr %46, i32 0, i32 19
  %228 = load i32, ptr %227, align 8, !tbaa !17
  store i32 %228, ptr %34, align 4, !tbaa !9
  %229 = getelementptr inbounds i32, ptr %34, i64 1
  %230 = getelementptr inbounds %class.Elements, ptr %46, i32 0, i32 19
  %231 = load i32, ptr %230, align 8, !tbaa !17
  store i32 %231, ptr %229, align 4, !tbaa !9
  %232 = getelementptr inbounds %"class.std::initializer_list", ptr %33, i32 0, i32 0
  store ptr %34, ptr %232, align 8, !tbaa !11
  %233 = getelementptr inbounds %"class.std::initializer_list", ptr %33, i32 0, i32 1
  store i64 2, ptr %233, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #8
  %234 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 0
  %235 = load ptr, ptr %234, align 8
  %236 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 1
  %237 = load i64, ptr %236, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr %235, i64 %237, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %238 unwind label %246

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

239:                                              ; preds = %238
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  store i32 0, ptr %36, align 4, !tbaa !9
  br label %240

240:                                              ; preds = %291, %239
  %241 = load i32, ptr %36, align 4, !tbaa !9
  %242 = getelementptr inbounds %class.Elements, ptr %46, i32 0, i32 19
  %243 = load i32, ptr %242, align 8, !tbaa !17
  %244 = icmp ult i32 %241, %243
  br i1 %244, label %255, label %245

245:                                              ; preds = %240
  store i32 11, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  br label %294

246:                                              ; preds = %226
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %9, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %10, align 4
  br label %254

250:                                              ; preds = %238
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %9, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %10, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  br label %254

254:                                              ; preds = %250, %246
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  br label %387

255:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  store i32 0, ptr %37, align 4, !tbaa !9
  br label %256

256:                                              ; preds = %283, %255
  %257 = load i32, ptr %37, align 4, !tbaa !9
  %258 = getelementptr inbounds %class.Elements, ptr %46, i32 0, i32 19
  %259 = load i32, ptr %258, align 8, !tbaa !17
  %260 = icmp ult i32 %257, %259
  br i1 %260, label %262, label %261

261:                                              ; preds = %256
  store i32 14, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  br label %290

262:                                              ; preds = %256
  %263 = load i32, ptr %15, align 4, !tbaa !9
  %264 = load i32, ptr %36, align 4, !tbaa !9
  %265 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %21, i32 noundef %264, i32 noundef 0)
          to label %266 unwind label %286

266:                                              ; preds = %262
  %267 = load double, ptr %265, align 8, !tbaa !43
  %268 = load i32, ptr %36, align 4, !tbaa !9
  %269 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %21, i32 noundef %268, i32 noundef 1)
          to label %270 unwind label %286

270:                                              ; preds = %266
  %271 = load double, ptr %269, align 8, !tbaa !43
  %272 = load i32, ptr %36, align 4, !tbaa !9
  %273 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %21, i32 noundef %272, i32 noundef 2)
          to label %274 unwind label %286

274:                                              ; preds = %270
  %275 = load double, ptr %273, align 8, !tbaa !43
  %276 = load i32, ptr %37, align 4, !tbaa !9
  %277 = invoke noundef double @_Z9Dubiner3Djdddj(i32 noundef %263, double noundef %267, double noundef %271, double noundef %275, i32 noundef %276)
          to label %278 unwind label %286

278:                                              ; preds = %274
  %279 = load i32, ptr %36, align 4, !tbaa !9
  %280 = load i32, ptr %37, align 4, !tbaa !9
  %281 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %31, i32 noundef %279, i32 noundef %280)
          to label %282 unwind label %286

282:                                              ; preds = %278
  store double %277, ptr %281, align 8, !tbaa !43
  br label %283

283:                                              ; preds = %282
  %284 = load i32, ptr %37, align 4, !tbaa !9
  %285 = add i32 %284, 1
  store i32 %285, ptr %37, align 4, !tbaa !9
  br label %256, !llvm.loop !49

286:                                              ; preds = %278, %274, %270, %266, %262
  %287 = landingpad { ptr, i32 }
          cleanup
  %288 = extractvalue { ptr, i32 } %287, 0
  store ptr %288, ptr %9, align 8
  %289 = extractvalue { ptr, i32 } %287, 1
  store i32 %289, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  br label %386

290:                                              ; preds = %261
  br label %291

291:                                              ; preds = %290
  %292 = load i32, ptr %36, align 4, !tbaa !9
  %293 = add i32 %292, 1
  store i32 %293, ptr %36, align 4, !tbaa !9
  br label %240, !llvm.loop !50

294:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 112, ptr %38) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  %295 = getelementptr inbounds %class.Elements, ptr %46, i32 0, i32 19
  %296 = load i32, ptr %295, align 8, !tbaa !17
  store i32 %296, ptr %41, align 4, !tbaa !9
  %297 = getelementptr inbounds i32, ptr %41, i64 1
  %298 = getelementptr inbounds %class.Elements, ptr %46, i32 0, i32 19
  %299 = load i32, ptr %298, align 8, !tbaa !17
  store i32 %299, ptr %297, align 4, !tbaa !9
  %300 = getelementptr inbounds %"class.std::initializer_list", ptr %40, i32 0, i32 0
  store ptr %41, ptr %300, align 8, !tbaa !11
  %301 = getelementptr inbounds %"class.std::initializer_list", ptr %40, i32 0, i32 1
  store i64 2, ptr %301, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #8
  %302 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 0
  %303 = load ptr, ptr %302, align 8
  %304 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 1
  %305 = load i64, ptr %304, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr %303, i64 %305, ptr noundef nonnull align 1 dereferenceable(1) %42)
          to label %306 unwind label %315

306:                                              ; preds = %294
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %38, ptr noundef %39, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %307 unwind label %319

307:                                              ; preds = %306
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #8
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  invoke void @_ZNK8mdvectorIdE7inverseERS0_(ptr noundef nonnull align 8 dereferenceable(105) %31, ptr noundef nonnull align 8 dereferenceable(105) %38)
          to label %308 unwind label %324

308:                                              ; preds = %307
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #8
  store i32 0, ptr %43, align 4, !tbaa !9
  br label %309

309:                                              ; preds = %375, %308
  %310 = load i32, ptr %43, align 4, !tbaa !9
  %311 = getelementptr inbounds %class.Elements, ptr %46, i32 0, i32 19
  %312 = load i32, ptr %311, align 8, !tbaa !17
  %313 = icmp ult i32 %310, %312
  br i1 %313, label %328, label %314

314:                                              ; preds = %309
  store i32 17, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  br label %383

315:                                              ; preds = %294
  %316 = landingpad { ptr, i32 }
          cleanup
  %317 = extractvalue { ptr, i32 } %316, 0
  store ptr %317, ptr %9, align 8
  %318 = extractvalue { ptr, i32 } %316, 1
  store i32 %318, ptr %10, align 4
  br label %323

319:                                              ; preds = %306
  %320 = landingpad { ptr, i32 }
          cleanup
  %321 = extractvalue { ptr, i32 } %320, 0
  store ptr %321, ptr %9, align 8
  %322 = extractvalue { ptr, i32 } %320, 1
  store i32 %322, ptr %10, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #8
  br label %323

323:                                              ; preds = %319, %315
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  br label %385

324:                                              ; preds = %307
  %325 = landingpad { ptr, i32 }
          cleanup
  %326 = extractvalue { ptr, i32 } %325, 0
  store ptr %326, ptr %9, align 8
  %327 = extractvalue { ptr, i32 } %325, 1
  store i32 %327, ptr %10, align 4
  br label %384

328:                                              ; preds = %309
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  store double 0.000000e+00, ptr %44, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #8
  store i32 0, ptr %45, align 4, !tbaa !9
  br label %329

329:                                              ; preds = %356, %328
  %330 = load i32, ptr %45, align 4, !tbaa !9
  %331 = getelementptr inbounds %class.Elements, ptr %46, i32 0, i32 19
  %332 = load i32, ptr %331, align 8, !tbaa !17
  %333 = icmp ult i32 %330, %332
  br i1 %333, label %335, label %334

334:                                              ; preds = %329
  store i32 20, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  br label %363

335:                                              ; preds = %329
  %336 = load i32, ptr %45, align 4, !tbaa !9
  %337 = load i32, ptr %43, align 4, !tbaa !9
  %338 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %38, i32 noundef %336, i32 noundef %337)
          to label %339 unwind label %359

339:                                              ; preds = %335
  %340 = load double, ptr %338, align 8, !tbaa !43
  %341 = load i32, ptr %15, align 4, !tbaa !9
  %342 = load ptr, ptr %6, align 8, !tbaa !5
  %343 = getelementptr inbounds double, ptr %342, i64 0
  %344 = load double, ptr %343, align 8, !tbaa !43
  %345 = load ptr, ptr %6, align 8, !tbaa !5
  %346 = getelementptr inbounds double, ptr %345, i64 1
  %347 = load double, ptr %346, align 8, !tbaa !43
  %348 = load ptr, ptr %6, align 8, !tbaa !5
  %349 = getelementptr inbounds double, ptr %348, i64 2
  %350 = load double, ptr %349, align 8, !tbaa !43
  %351 = load i32, ptr %45, align 4, !tbaa !9
  %352 = invoke noundef double @_Z9Dubiner3Djdddj(i32 noundef %341, double noundef %344, double noundef %347, double noundef %350, i32 noundef %351)
          to label %353 unwind label %359

353:                                              ; preds = %339
  %354 = load double, ptr %44, align 8, !tbaa !43
  %355 = call double @llvm.fmuladd.f64(double %340, double %352, double %354)
  store double %355, ptr %44, align 8, !tbaa !43
  br label %356

356:                                              ; preds = %353
  %357 = load i32, ptr %45, align 4, !tbaa !9
  %358 = add i32 %357, 1
  store i32 %358, ptr %45, align 4, !tbaa !9
  br label %329, !llvm.loop !51

359:                                              ; preds = %339, %335
  %360 = landingpad { ptr, i32 }
          cleanup
  %361 = extractvalue { ptr, i32 } %360, 0
  store ptr %361, ptr %9, align 8
  %362 = extractvalue { ptr, i32 } %360, 1
  store i32 %362, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  br label %382

363:                                              ; preds = %334
  %364 = load double, ptr %44, align 8, !tbaa !43
  %365 = load ptr, ptr %5, align 8, !tbaa !5
  %366 = load i32, ptr %15, align 4, !tbaa !9
  %367 = zext i32 %366 to i64
  %368 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %367) #8
  %369 = load i32, ptr %43, align 4, !tbaa !9
  %370 = zext i32 %369 to i64
  %371 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %368, i64 noundef %370) #8
  %372 = load i32, ptr %371, align 4, !tbaa !9
  %373 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEj(ptr noundef nonnull align 8 dereferenceable(105) %365, i32 noundef %372)
          to label %374 unwind label %378

374:                                              ; preds = %363
  store double %364, ptr %373, align 8, !tbaa !43
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  br label %375

375:                                              ; preds = %374
  %376 = load i32, ptr %43, align 4, !tbaa !9
  %377 = add i32 %376, 1
  store i32 %377, ptr %43, align 4, !tbaa !9
  br label %309, !llvm.loop !52

378:                                              ; preds = %363
  %379 = landingpad { ptr, i32 }
          cleanup
  %380 = extractvalue { ptr, i32 } %379, 0
  store ptr %380, ptr %9, align 8
  %381 = extractvalue { ptr, i32 } %379, 1
  store i32 %381, ptr %10, align 4
  br label %382

382:                                              ; preds = %378, %359
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  br label %384

383:                                              ; preds = %314
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %38) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr %38) #8
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %31) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %21) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @_ZNSt6vectorIS_IjSaIjEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #8
  ret void

384:                                              ; preds = %382, %324
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %38) #8
  br label %385

385:                                              ; preds = %384, %323
  call void @llvm.lifetime.end.p0(i64 112, ptr %38) #8
  br label %386

386:                                              ; preds = %385, %286
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %31) #8
  br label %387

387:                                              ; preds = %386, %254
  call void @llvm.lifetime.end.p0(i64 112, ptr %31) #8
  br label %388

388:                                              ; preds = %387, %214
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %21) #8
  br label %389

389:                                              ; preds = %388, %168
  call void @llvm.lifetime.end.p0(i64 112, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  br label %390

390:                                              ; preds = %389, %156
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #8
  br label %391

391:                                              ; preds = %390, %132, %107
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %392

392:                                              ; preds = %391, %103, %99
  call void @_ZNSt6vectorIS_IjSaIjEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  br label %393

393:                                              ; preds = %392, %95
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #8
  br label %394

394:                                              ; preds = %393
  %395 = load ptr, ptr %9, align 8
  %396 = load i32, ptr %10, align 4
  %397 = insertvalue { ptr, i32 } poison, ptr %395, 0
  %398 = insertvalue { ptr, i32 } %397, i32 %396, 1
  resume { ptr, i32 } %398

399:                                              ; preds = %94
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_IjSaIjEESaIS1_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(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

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

declare noundef i32 @_Z18tet_nodes_to_orderj(i32 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_IjSaIjEESaIS1_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_allocatorISt6vectorIjSaIjEEED2Ev(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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { nounwind }
attributes #9 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSSt16initializer_listIjE", !6, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{i64 0, i64 40, !16}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !10, i64 88}
!18 = !{!"_ZTS8Elements", !6, i64 8, !6, i64 16, !19, 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, !20, i64 104, !20, i64 216, !20, i64 328, !20, i64 440, !27, i64 552, !20, i64 576, !20, i64 688, !20, i64 800, !20, i64 912, !20, i64 1024, !31, i64 1136, !31, i64 1248, !31, i64 1360, !31, i64 1472, !31, i64 1584, !22, i64 1696, !22, i64 1720, !22, i64 1744, !22, i64 1768, !20, i64 1792, !20, i64 1904, !20, i64 2016, !20, i64 2128, !20, i64 2240, !20, i64 2352, !20, i64 2464, !20, i64 2576, !20, i64 2688, !20, i64 2800, !20, i64 2912, !20, i64 3024, !20, i64 3136, !20, i64 3248, !20, i64 3360, !20, i64 3472, !20, i64 3584, !20, i64 3696, !20, i64 3808, !20, i64 3920, !20, i64 4032, !20, i64 4144, !20, i64 4256, !20, i64 4368, !20, i64 4480, !20, i64 4592, !20, i64 4704, !20, i64 4816, !20, i64 4928, !20, i64 5040, !20, i64 5152, !20, i64 5264, !20, i64 5376, !20, i64 5488, !20, i64 5600, !20, i64 5712, !20, i64 5824, !20, i64 5936, !10, i64 6048, !22, i64 6056, !22, i64 6080, !22, i64 6104, !22, i64 6128, !22, i64 6152, !22, i64 6176, !22, i64 6200, !32, i64 6224, !20, i64 6248, !20, i64 6360, !20, i64 6472, !20, i64 6584, !20, i64 6696, !20, i64 6808, !20, i64 6920, !20, i64 7032, !20, i64 7144, !13, i64 7256, !13, i64 7264, !13, i64 7272, !13, i64 7280, !13, i64 7288, !20, i64 7296, !20, i64 7408, !20, i64 7520, !20, i64 7632, !20, i64 7744, !20, i64 7856, !20, i64 7968, !20, i64 8080, !20, i64 8192, !20, i64 8304, !20, i64 8416, !20, i64 8528, !20, i64 8640, !20, i64 8752, !20, i64 8864, !20, i64 8976, !20, i64 9088, !20, i64 9200, !20, i64 9312, !20, i64 9424, !20, i64 9536, !20, i64 9648, !20, i64 9760, !20, i64 9872, !20, i64 9984, !20, i64 10096, !20, i64 10208, !20, i64 10320, !20, i64 10432, !20, i64 10544, !20, i64 10656, !20, i64 10768, !20, i64 10880, !20, i64 10992, !20, i64 11104, !20, i64 11216, !20, i64 11328, !20, i64 11440, !20, i64 11552, !20, i64 11664, !20, i64 11776, !20, i64 11888, !20, i64 12000, !36, i64 12112, !36, i64 12344, !20, i64 12576, !20, i64 12688, !20, i64 12800, !20, i64 12912, !20, i64 13024, !20, i64 13136, !10, i64 13248, !20, i64 13256, !20, i64 13368, !10, i64 13480, !6, i64 13488, !32, i64 13496, !31, i64 13520, !20, i64 13632, !20, i64 13744, !20, i64 13856}
!19 = !{!"_ZTS8ELE_TYPE", !7, i64 0}
!20 = !{!"_ZTS8mdvectorIdE", !10, i64 0, !13, i64 8, !13, i64 16, !21, i64 24, !21, i64 48, !22, i64 72, !6, i64 96, !26, i64 104}
!21 = !{!"_ZTSSt5arrayIjLm6EE", !7, i64 0}
!22 = !{!"_ZTSSt6vectorIdSaIdEE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"bool", !7, i64 0}
!27 = !{!"_ZTSSt6vectorIjSaIjEE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"_ZTS8mdvectorIjE", !10, i64 0, !13, i64 8, !13, i64 16, !21, i64 24, !21, i64 48, !27, i64 72, !6, i64 96, !26, i64 104}
!32 = !{!"_ZTSSt6vectorIiSaIiEE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!"_ZTS6mdviewIdE", !37, i64 0, !31, i64 112, !10, i64 224}
!37 = !{!"_ZTS8mdvectorIPdE", !10, i64 0, !13, i64 8, !13, i64 16, !21, i64 24, !21, i64 48, !38, i64 72, !6, i64 96, !26, i64 104}
!38 = !{!"_ZTSSt6vectorIPdSaIS0_EE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseIPdSaIS0_EE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIPdSaIS0_EE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIPdSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!42 = !{!18, !10, i64 52}
!43 = !{!44, !44, i64 0}
!44 = !{!"double", !7, i64 0}
!45 = distinct !{!45, !46}
!46 = !{!"llvm.loop.mustprogress"}
!47 = distinct !{!47, !46}
!48 = distinct !{!48, !46}
!49 = distinct !{!49, !46}
!50 = distinct !{!50, !46}
!51 = distinct !{!51, !46}
!52 = distinct !{!52, !46}


; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.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::vector.125" = type { %"struct.std::_Vector_base.126" }
%"struct.std::_Vector_base.126" = type { %"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.127" = type { i8 }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%class.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.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 }

@.str.1 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@constinit = external hidden local_unnamed_addr constant [10 x i32], align 4
@__func__._ZN4Tets10calc_shapeER8mdvectorIdEPKd = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [50 x i8], align 1

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 noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64) 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 @_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

; 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 uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 align 2

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #4

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #1 align 2

declare void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

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

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEj(ptr noundef nonnull align 8 dereferenceable(105), i32 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

declare noundef double @_Z9Dubiner3Djdddj(i32 noundef, double noundef, double noundef, double noundef, i32 noundef) local_unnamed_addr #4

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) 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

; 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 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Tets10calc_shapeER8mdvectorIdEPKd(ptr nocapture noundef nonnull readonly align 8 dereferenceable(14304) %0, ptr noundef nonnull align 8 dereferenceable(105) %1, ptr nocapture noundef readonly %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector.125", align 8
  %5 = alloca %"class.std::allocator.127", align 1
  %6 = alloca [4 x i32], align 16
  %7 = alloca [10 x i32], align 4
  %8 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca %class.mdvector, align 8
  %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.mdvector, align 8
  %16 = alloca %"class.std::vector.0", align 8
  %17 = alloca [2 x i32], align 4
  %18 = alloca %"class.std::allocator.2", align 1
  %19 = alloca %class.mdvector, align 8
  %20 = alloca %"class.std::vector.0", align 8
  %21 = alloca [2 x i32], align 4
  %22 = alloca %"class.std::allocator.2", align 1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #8
  call void @_ZNSaISt6vectorIjSaIjEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  invoke void @_ZNSt6vectorIS_IjSaIjEESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 3, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %23 unwind label %56

23:                                               ; preds = %3
  call void @_ZNSt15__new_allocatorISt6vectorIjSaIjEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  store <4 x i32> <i32 0, i32 1, i32 2, i32 3>, ptr %6, align 16, !tbaa !5
  %24 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 1) #8
  %25 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr nonnull %6, i64 4)
          to label %26 unwind label %58

26:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(40) %7, ptr noundef nonnull align 4 dereferenceable(40) @constinit, i64 40, i1 false), !tbaa.struct !9
  %27 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 2) #8
  %28 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr nonnull %7, i64 10)
          to label %29 unwind label %60

29:                                               ; preds = %26
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #8
  %30 = getelementptr inbounds i8, ptr %0, i64 88
  %31 = load i32, ptr %30, align 8, !tbaa !11
  %32 = invoke noundef i32 @_Z18tet_nodes_to_orderj(i32 noundef %31)
          to label %33 unwind label %62

33:                                               ; preds = %29
  %34 = icmp ugt i32 %32, 2
  br i1 %34, label %35, label %74

35:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %8) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %8)
          to label %36 unwind label %64

36:                                               ; preds = %35
  %37 = getelementptr inbounds i8, ptr %8, i64 16
  %38 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull @.str.1)
          to label %39 unwind label %66

39:                                               ; preds = %36
  %40 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull @.str.2)
          to label %41 unwind label %66

41:                                               ; preds = %39
  %42 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %40, i32 noundef 623)
          to label %43 unwind label %66

43:                                               ; preds = %41
  %44 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull @.str.2)
          to label %45 unwind label %66

45:                                               ; preds = %43
  %46 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull @__func__._ZN4Tets10calc_shapeER8mdvectorIdEPKd)
          to label %47 unwind label %66

47:                                               ; preds = %45
  %48 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull @.str.3)
          to label %49 unwind label %66

49:                                               ; preds = %47
  %50 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull @.str.5)
          to label %51 unwind label %66

51:                                               ; preds = %49
  %52 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef nonnull align 8 dereferenceable(128) %8)
          to label %53 unwind label %.thread

53:                                               ; preds = %51
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %52, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %55 unwind label %.thread111

.thread111:                                       ; preds = %53
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br label %71

55:                                               ; preds = %53
  invoke void @__cxa_throw(ptr nonnull %52, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %177 unwind label %69

56:                                               ; preds = %3
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIjSaIjEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #8
  br label %176

58:                                               ; preds = %23
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  br label %175

60:                                               ; preds = %26
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #8
  br label %175

62:                                               ; preds = %29
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %175

64:                                               ; preds = %35
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %73

66:                                               ; preds = %49, %47, %45, %43, %41, %39, %36
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %72

.thread:                                          ; preds = %51
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br label %71

69:                                               ; preds = %55
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br label %72

71:                                               ; preds = %.thread111, %.thread
  %.pn101110 = phi { ptr, i32 } [ %68, %.thread ], [ %54, %.thread111 ]
  call void @__cxa_free_exception(ptr %52) #8
  br label %72

72:                                               ; preds = %69, %71, %66
  %.pn101.pn = phi { ptr, i32 } [ %.pn101110, %71 ], [ %70, %69 ], [ %67, %66 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %8) #8
  br label %73

73:                                               ; preds = %72, %64
  %.pn101.pn.pn = phi { ptr, i32 } [ %.pn101.pn, %72 ], [ %65, %64 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %8) #8
  br label %175

74:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #8
  invoke void @_Z9Shape_ptsj(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %10, i32 noundef %32)
          to label %75 unwind label %89

75:                                               ; preds = %74
  %76 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  %77 = trunc i64 %76 to i32
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  %78 = load i32, ptr %30, align 8, !tbaa !11
  store i32 %78, ptr %13, align 4, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %13, i64 4
  %80 = getelementptr inbounds i8, ptr %0, i64 52
  %81 = load i32, ptr %80, align 4, !tbaa !38
  store i32 %81, ptr %79, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  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 %82 unwind label %91

82:                                               ; preds = %75
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %11, ptr noundef nonnull %12, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %83 unwind label %93

83:                                               ; preds = %82
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  %.not = icmp eq i32 %77, 0
  br i1 %.not, label %._crit_edge126, label %.preheader115.preheader

.preheader115.preheader:                          ; preds = %83
  %wide.trip.count = and i64 %76, 4294967295
  br label %.preheader114.lr.ph

.preheader114.lr.ph:                              ; preds = %._crit_edge122, %.preheader115.preheader
  %indvars.iv155 = phi i64 [ 0, %.preheader115.preheader ], [ %indvars.iv.next156, %._crit_edge122 ]
  %.080125 = phi i32 [ 0, %.preheader115.preheader ], [ %.282.lcssa, %._crit_edge122 ]
  %84 = trunc nuw i64 %indvars.iv155 to i32
  %85 = sub i32 %77, %84
  %86 = zext i32 %85 to i64
  br label %.preheader114

._crit_edge126:                                   ; preds = %._crit_edge122, %83
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  %87 = load i32, ptr %30, align 8, !tbaa !11
  store i32 %87, ptr %17, align 4, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %17, i64 4
  store i32 %87, ptr %88, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr nonnull %17, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %112 unwind label %116

89:                                               ; preds = %74
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %174

91:                                               ; preds = %75
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %95

93:                                               ; preds = %82
  %94 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  br label %95

95:                                               ; preds = %93, %91
  %.pn = phi { ptr, i32 } [ %94, %93 ], [ %92, %91 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  br label %173

.preheader114:                                    ; preds = %.preheader114.lr.ph, %._crit_edge
  %indvars.iv152 = phi i64 [ 0, %.preheader114.lr.ph ], [ %indvars.iv.next153, %._crit_edge ]
  %.181121 = phi i32 [ %.080125, %.preheader114.lr.ph ], [ %.282.lcssa, %._crit_edge ]
  %.not141 = icmp eq i64 %indvars.iv152, %86
  br i1 %.not141, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader114
  %96 = trunc nuw i64 %indvars.iv152 to i32
  %97 = sub i32 %85, %96
  %98 = zext i32 %97 to i64
  br label %100

._crit_edge122:                                   ; preds = %._crit_edge
  %indvars.iv.next156 = add nuw nsw i64 %indvars.iv155, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next156, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge126, label %.preheader114.lr.ph, !llvm.loop !39

._crit_edge:                                      ; preds = %100, %.preheader114
  %.282.lcssa = phi i32 [ %.181121, %.preheader114 ], [ %110, %100 ]
  %indvars.iv.next153 = add nuw nsw i64 %indvars.iv152, 1
  %99 = icmp ult i64 %indvars.iv.next153, %86
  br i1 %99, label %.preheader114, label %._crit_edge122, !llvm.loop !41

100:                                              ; preds = %.lr.ph, %100
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %100 ]
  %.282119 = phi i32 [ %.181121, %.lr.ph ], [ %110, %100 ]
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv) #8
  %102 = load double, ptr %101, align 8, !tbaa !42
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %11, i32 noundef %.282119, i32 noundef 0)
  store double %102, ptr %103, align 8, !tbaa !42
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv152) #8
  %105 = load double, ptr %104, align 8, !tbaa !42
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %11, i32 noundef %.282119, i32 noundef 1)
  store double %105, ptr %106, align 8, !tbaa !42
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv155) #8
  %108 = load double, ptr %107, align 8, !tbaa !42
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %11, i32 noundef %.282119, i32 noundef 2)
  store double %108, ptr %109, align 8, !tbaa !42
  %110 = add i32 %.282119, 1
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %111 = icmp ult i64 %indvars.iv.next, %98
  br i1 %111, label %100, label %._crit_edge, !llvm.loop !44

112:                                              ; preds = %._crit_edge126
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %15, ptr noundef nonnull %16, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %113 unwind label %118

113:                                              ; preds = %112
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  %114 = load i32, ptr %30, align 8, !tbaa !11
  %.not142 = icmp eq i32 %114, 0
  br i1 %.not142, label %._crit_edge131, label %.lr.ph128.preheader

.lr.ph128.preheader:                              ; preds = %113, %._crit_edge129
  %.077130 = phi i32 [ %121, %._crit_edge129 ], [ 0, %113 ]
  br label %.lr.ph128

._crit_edge131:                                   ; preds = %._crit_edge129, %113
  %.lcssa = phi i32 [ 0, %113 ], [ %133, %._crit_edge129 ]
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %19) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #8
  store i32 %.lcssa, ptr %21, align 4, !tbaa !5
  %115 = getelementptr inbounds i8, ptr %21, i64 4
  store i32 %.lcssa, ptr %115, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr nonnull %21, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %137 unwind label %145

116:                                              ; preds = %._crit_edge126
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %120

118:                                              ; preds = %112
  %119 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  br label %120

120:                                              ; preds = %118, %116
  %.pn90 = phi { ptr, i32 } [ %119, %118 ], [ %117, %116 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  br label %172

._crit_edge129:                                   ; preds = %130
  %121 = add nuw i32 %.077130, 1
  %122 = icmp ult i32 %121, %133
  br i1 %122, label %.lr.ph128.preheader, label %._crit_edge131, !llvm.loop !45

.lr.ph128:                                        ; preds = %.lr.ph128.preheader, %130
  %.076127 = phi i32 [ %132, %130 ], [ 0, %.lr.ph128.preheader ]
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %11, i32 noundef %.077130, i32 noundef 0)
  %124 = load double, ptr %123, align 8, !tbaa !42
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %11, i32 noundef %.077130, i32 noundef 1)
  %126 = load double, ptr %125, align 8, !tbaa !42
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %11, i32 noundef %.077130, i32 noundef 2)
  %128 = load double, ptr %127, align 8, !tbaa !42
  %129 = invoke noundef double @_Z9Dubiner3Djdddj(i32 noundef %32, double noundef %124, double noundef %126, double noundef %128, i32 noundef %.076127)
          to label %130 unwind label %135

130:                                              ; preds = %.lr.ph128
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %15, i32 noundef %.077130, i32 noundef %.076127)
  store double %129, ptr %131, align 8, !tbaa !42
  %132 = add nuw i32 %.076127, 1
  %133 = load i32, ptr %30, align 8, !tbaa !11
  %134 = icmp ult i32 %132, %133
  br i1 %134, label %.lr.ph128, label %._crit_edge129, !llvm.loop !47

135:                                              ; preds = %.lr.ph128
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %171

137:                                              ; preds = %._crit_edge131
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %19, ptr noundef nonnull %20, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %138 unwind label %147

138:                                              ; preds = %137
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  call void @_ZNK8mdvectorIdE7inverseERS0_(ptr noundef nonnull align 8 dereferenceable(105) %15, ptr noundef nonnull align 8 dereferenceable(105) %19)
  %139 = load i32, ptr %30, align 8, !tbaa !11
  %.not145 = icmp eq i32 %139, 0
  br i1 %.not145, label %._crit_edge139, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %138
  %140 = getelementptr inbounds i8, ptr %2, i64 8
  %141 = getelementptr inbounds i8, ptr %2, i64 16
  %142 = zext nneg i32 %32 to i64
  br label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge136
  %143 = phi i32 [ 1, %.preheader.lr.ph ], [ %154, %._crit_edge136 ]
  %indvars.iv158 = phi i64 [ 0, %.preheader.lr.ph ], [ %indvars.iv.next159, %._crit_edge136 ]
  %.not146 = icmp eq i32 %143, 0
  br i1 %.not146, label %._crit_edge136, label %.lr.ph135.preheader

.lr.ph135.preheader:                              ; preds = %.preheader
  %144 = trunc nuw i64 %indvars.iv158 to i32
  br label %.lr.ph135

._crit_edge139:                                   ; preds = %._crit_edge136, %138
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %19) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %19) #8
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %15) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %15) #8
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %11) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %11) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #8
  call void @_ZNSt6vectorIS_IjSaIjEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  ret void

145:                                              ; preds = %._crit_edge131
  %146 = landingpad { ptr, i32 }
          cleanup
  br label %149

147:                                              ; preds = %137
  %148 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  br label %149

149:                                              ; preds = %147, %145
  %.pn92 = phi { ptr, i32 } [ %148, %147 ], [ %146, %145 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  br label %170

._crit_edge136:                                   ; preds = %163, %.preheader
  %.059.lcssa = phi double [ 0.000000e+00, %.preheader ], [ %164, %163 ]
  %150 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %142) #8
  %151 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %150, i64 noundef %indvars.iv158) #8
  %152 = load i32, ptr %151, align 4, !tbaa !5
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEj(ptr noundef nonnull align 8 dereferenceable(105) %1, i32 noundef %152)
  store double %.059.lcssa, ptr %153, align 8, !tbaa !42
  %indvars.iv.next159 = add nuw nsw i64 %indvars.iv158, 1
  %154 = load i32, ptr %30, align 8, !tbaa !11
  %155 = zext i32 %154 to i64
  %156 = icmp ult i64 %indvars.iv.next159, %155
  br i1 %156, label %.preheader, label %._crit_edge139, !llvm.loop !48

.lr.ph135:                                        ; preds = %.lr.ph135.preheader, %163
  %.0134 = phi i32 [ %165, %163 ], [ 0, %.lr.ph135.preheader ]
  %.059133 = phi double [ %164, %163 ], [ 0.000000e+00, %.lr.ph135.preheader ]
  %157 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %19, i32 noundef %.0134, i32 noundef %144)
  %158 = load double, ptr %157, align 8, !tbaa !42
  %159 = load double, ptr %2, align 8, !tbaa !42
  %160 = load double, ptr %140, align 8, !tbaa !42
  %161 = load double, ptr %141, align 8, !tbaa !42
  %162 = invoke noundef double @_Z9Dubiner3Djdddj(i32 noundef %32, double noundef %159, double noundef %160, double noundef %161, i32 noundef %.0134)
          to label %163 unwind label %168

163:                                              ; preds = %.lr.ph135
  %164 = call double @llvm.fmuladd.f64(double %158, double %162, double %.059133)
  %165 = add nuw i32 %.0134, 1
  %166 = load i32, ptr %30, align 8, !tbaa !11
  %167 = icmp ult i32 %165, %166
  br i1 %167, label %.lr.ph135, label %._crit_edge136, !llvm.loop !49

168:                                              ; preds = %.lr.ph135
  %169 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %19) #8
  br label %170

170:                                              ; preds = %168, %149
  %.pn94 = phi { ptr, i32 } [ %169, %168 ], [ %.pn92, %149 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %19) #8
  br label %171

171:                                              ; preds = %170, %135
  %.pn96 = phi { ptr, i32 } [ %136, %135 ], [ %.pn94, %170 ]
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %15) #8
  br label %172

172:                                              ; preds = %171, %120
  %.pn96.pn = phi { ptr, i32 } [ %.pn96, %171 ], [ %.pn90, %120 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %15) #8
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %11) #8
  br label %173

173:                                              ; preds = %172, %95
  %.pn96.pn.pn = phi { ptr, i32 } [ %.pn96.pn, %172 ], [ %.pn, %95 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %11) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  br label %174

174:                                              ; preds = %173, %89
  %.pn96.pn.pn.pn = phi { ptr, i32 } [ %.pn96.pn.pn, %173 ], [ %90, %89 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #8
  br label %175

175:                                              ; preds = %62, %73, %174, %60, %58
  %.pn101.pn.pn.pn.pn = phi { ptr, i32 } [ %61, %60 ], [ %59, %58 ], [ %.pn101.pn.pn, %73 ], [ %.pn96.pn.pn.pn, %174 ], [ %63, %62 ]
  call void @_ZNSt6vectorIS_IjSaIjEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  br label %176

176:                                              ; preds = %175, %56
  %.pn101.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn101.pn.pn.pn.pn, %175 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  resume { ptr, i32 } %.pn101.pn.pn.pn.pn.pn

177:                                              ; preds = %55
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_IjSaIjEESaIS1_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(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

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

declare noundef i32 @_Z18tet_nodes_to_orderj(i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_IjSaIjEESaIS1_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_allocatorISt6vectorIjSaIjEEED2Ev(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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { nounwind }
attributes #9 = { noreturn }

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

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


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SCCPPass,SLPVectorizerPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass