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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.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::initializer_list" = type { ptr, i64 }
%"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] }>

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 nounwind uwtable
declare dso_local void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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 #2 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Tets14set_oppRestartEjb(ptr noundef nonnull align 8 dereferenceable(14304) %0, i32 noundef %1, i1 noundef zeroext %2) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i8, align 1
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %class.mdvector, align 8
  %11 = alloca %"class.std::vector.0", align 8
  %12 = alloca %"class.std::initializer_list", align 8
  %13 = alloca [2 x i32], align 4
  %14 = alloca %"class.std::allocator.2", align 1
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %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 %class.mdvector, align 8
  %27 = alloca %"class.std::vector.0", align 8
  %28 = alloca %"class.std::initializer_list", align 8
  %29 = alloca [2 x i32], align 4
  %30 = alloca %"class.std::allocator.2", align 1
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca %class.mdvector, align 8
  %34 = alloca %"class.std::vector.0", align 8
  %35 = alloca %"class.std::initializer_list", align 8
  %36 = alloca [2 x i32], align 4
  %37 = alloca %"class.std::allocator.2", align 1
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca double, align 8
  %41 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  %42 = zext i1 %2 to i8
  store i8 %42, ptr %6, align 1, !tbaa !11
  %43 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #5
  %44 = load i32, ptr %5, align 4, !tbaa !9
  call void @_Z9Shape_ptsj(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %7, i32 noundef %44)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %45 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  %46 = trunc i64 %45 to i32
  store i32 %46, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %47 = load i32, ptr %5, align 4, !tbaa !9
  %48 = add i32 %47, 1
  %49 = load i32, ptr %5, align 4, !tbaa !9
  %50 = add i32 %49, 2
  %51 = mul i32 %48, %50
  %52 = load i32, ptr %5, align 4, !tbaa !9
  %53 = add i32 %52, 3
  %54 = mul i32 %51, %53
  %55 = udiv i32 %54, 6
  store i32 %55, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 112, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %56 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %56, ptr %13, align 4, !tbaa !9
  %57 = getelementptr inbounds i32, ptr %13, i64 1
  %58 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 10
  %59 = load i32, ptr %58, align 4, !tbaa !13
  store i32 %59, ptr %57, align 4, !tbaa !9
  %60 = getelementptr inbounds %"class.std::initializer_list", ptr %12, i32 0, i32 0
  store ptr %13, ptr %60, align 8, !tbaa !38
  %61 = getelementptr inbounds %"class.std::initializer_list", ptr %12, i32 0, i32 1
  store i64 2, ptr %61, align 8, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  %62 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 0
  %63 = load ptr, ptr %62, align 8
  %64 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 1
  %65 = load i64, ptr %64, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr %63, i64 %65, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %66 unwind label %73

66:                                               ; preds = %3
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %10, ptr noundef %11, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %67 unwind label %77

67:                                               ; preds = %66
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %68

68:                                               ; preds = %136, %67
  %69 = load i32, ptr %18, align 4, !tbaa !9
  %70 = load i32, ptr %8, align 4, !tbaa !9
  %71 = icmp ult i32 %69, %70
  br i1 %71, label %82, label %72

72:                                               ; preds = %68
  store i32 2, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %139

73:                                               ; preds = %3
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %15, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %16, align 4
  br label %81

77:                                               ; preds = %66
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %15, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %16, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  br label %81

81:                                               ; preds = %77, %73
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %328

82:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %132, %82
  %84 = load i32, ptr %20, align 4, !tbaa !9
  %85 = load i32, ptr %8, align 4, !tbaa !9
  %86 = load i32, ptr %18, align 4, !tbaa !9
  %87 = sub i32 %85, %86
  %88 = icmp ult i32 %84, %87
  br i1 %88, label %90, label %89

89:                                               ; preds = %83
  store i32 5, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %135

90:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %91

91:                                               ; preds = %124, %90
  %92 = load i32, ptr %21, align 4, !tbaa !9
  %93 = load i32, ptr %8, align 4, !tbaa !9
  %94 = load i32, ptr %18, align 4, !tbaa !9
  %95 = sub i32 %93, %94
  %96 = load i32, ptr %20, align 4, !tbaa !9
  %97 = sub i32 %95, %96
  %98 = icmp ult i32 %92, %97
  br i1 %98, label %100, label %99

99:                                               ; preds = %91
  store i32 8, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %131

100:                                              ; preds = %91
  %101 = load i32, ptr %21, align 4, !tbaa !9
  %102 = zext i32 %101 to i64
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %102) #5
  %104 = load double, ptr %103, align 8, !tbaa !41
  %105 = load i32, ptr %17, align 4, !tbaa !9
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %10, i32 noundef %105, i32 noundef 0)
          to label %107 unwind label %127

107:                                              ; preds = %100
  store double %104, ptr %106, align 8, !tbaa !41
  %108 = load i32, ptr %20, align 4, !tbaa !9
  %109 = zext i32 %108 to i64
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %109) #5
  %111 = load double, ptr %110, align 8, !tbaa !41
  %112 = load i32, ptr %17, align 4, !tbaa !9
  %113 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %10, i32 noundef %112, i32 noundef 1)
          to label %114 unwind label %127

114:                                              ; preds = %107
  store double %111, ptr %113, align 8, !tbaa !41
  %115 = load i32, ptr %18, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %116) #5
  %118 = load double, ptr %117, align 8, !tbaa !41
  %119 = load i32, ptr %17, align 4, !tbaa !9
  %120 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %10, i32 noundef %119, i32 noundef 2)
          to label %121 unwind label %127

121:                                              ; preds = %114
  store double %118, ptr %120, align 8, !tbaa !41
  %122 = load i32, ptr %17, align 4, !tbaa !9
  %123 = add i32 %122, 1
  store i32 %123, ptr %17, align 4, !tbaa !9
  br label %124

124:                                              ; preds = %121
  %125 = load i32, ptr %21, align 4, !tbaa !9
  %126 = add i32 %125, 1
  store i32 %126, ptr %21, align 4, !tbaa !9
  br label %91, !llvm.loop !43

127:                                              ; preds = %114, %107, %100
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %15, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %327

131:                                              ; preds = %99
  br label %132

132:                                              ; preds = %131
  %133 = load i32, ptr %20, align 4, !tbaa !9
  %134 = add i32 %133, 1
  store i32 %134, ptr %20, align 4, !tbaa !9
  br label %83, !llvm.loop !45

135:                                              ; preds = %89
  br label %136

136:                                              ; preds = %135
  %137 = load i32, ptr %18, align 4, !tbaa !9
  %138 = add i32 %137, 1
  store i32 %138, ptr %18, align 4, !tbaa !9
  br label %68, !llvm.loop !46

139:                                              ; preds = %72
  %140 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 105
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %141 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 12
  %142 = load i32, ptr %141, align 4, !tbaa !47
  store i32 %142, ptr %24, align 4, !tbaa !9
  %143 = getelementptr inbounds i32, ptr %24, i64 1
  %144 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %144, ptr %143, align 4, !tbaa !9
  %145 = getelementptr inbounds %"class.std::initializer_list", ptr %23, i32 0, i32 0
  store ptr %24, ptr %145, align 8, !tbaa !38
  %146 = getelementptr inbounds %"class.std::initializer_list", ptr %23, i32 0, i32 1
  store i64 2, ptr %146, align 8, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  %147 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 0
  %148 = load ptr, ptr %147, align 8
  %149 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 1
  %150 = load i64, ptr %149, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr %148, i64 %150, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %151 unwind label %169

151:                                              ; preds = %139
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %140, ptr noundef %22, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %152 unwind label %173

152:                                              ; preds = %151
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %153 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %153, ptr %29, align 4, !tbaa !9
  %154 = getelementptr inbounds i32, ptr %29, i64 1
  %155 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %155, ptr %154, align 4, !tbaa !9
  %156 = getelementptr inbounds %"class.std::initializer_list", ptr %28, i32 0, i32 0
  store ptr %29, ptr %156, align 8, !tbaa !38
  %157 = getelementptr inbounds %"class.std::initializer_list", ptr %28, i32 0, i32 1
  store i64 2, ptr %157, align 8, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #5
  %158 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 0
  %159 = load ptr, ptr %158, align 8
  %160 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 1
  %161 = load i64, ptr %160, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr %159, i64 %161, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %162 unwind label %178

162:                                              ; preds = %152
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %26, ptr noundef %27, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %163 unwind label %182

163:                                              ; preds = %162
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  store i32 0, ptr %31, align 4, !tbaa !9
  br label %164

164:                                              ; preds = %222, %163
  %165 = load i32, ptr %31, align 4, !tbaa !9
  %166 = load i32, ptr %9, align 4, !tbaa !9
  %167 = icmp ult i32 %165, %166
  br i1 %167, label %187, label %168

168:                                              ; preds = %164
  store i32 11, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  br label %225

169:                                              ; preds = %139
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %15, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %16, align 4
  br label %177

173:                                              ; preds = %151
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %15, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %16, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  br label %177

177:                                              ; preds = %173, %169
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %327

178:                                              ; preds = %152
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %15, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %16, align 4
  br label %186

182:                                              ; preds = %162
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %15, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %16, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #5
  br label %186

186:                                              ; preds = %182, %178
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  br label %326

187:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  store i32 0, ptr %32, align 4, !tbaa !9
  br label %188

188:                                              ; preds = %214, %187
  %189 = load i32, ptr %32, align 4, !tbaa !9
  %190 = load i32, ptr %9, align 4, !tbaa !9
  %191 = icmp ult i32 %189, %190
  br i1 %191, label %193, label %192

192:                                              ; preds = %188
  store i32 14, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  br label %221

193:                                              ; preds = %188
  %194 = load i32, ptr %5, align 4, !tbaa !9
  %195 = load i32, ptr %31, align 4, !tbaa !9
  %196 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %10, i32 noundef %195, i32 noundef 0)
          to label %197 unwind label %217

197:                                              ; preds = %193
  %198 = load double, ptr %196, align 8, !tbaa !41
  %199 = load i32, ptr %31, align 4, !tbaa !9
  %200 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %10, i32 noundef %199, i32 noundef 1)
          to label %201 unwind label %217

201:                                              ; preds = %197
  %202 = load double, ptr %200, align 8, !tbaa !41
  %203 = load i32, ptr %31, align 4, !tbaa !9
  %204 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %10, i32 noundef %203, i32 noundef 2)
          to label %205 unwind label %217

205:                                              ; preds = %201
  %206 = load double, ptr %204, align 8, !tbaa !41
  %207 = load i32, ptr %32, align 4, !tbaa !9
  %208 = invoke noundef double @_Z9Dubiner3Djdddj(i32 noundef %194, double noundef %198, double noundef %202, double noundef %206, i32 noundef %207)
          to label %209 unwind label %217

209:                                              ; preds = %205
  %210 = load i32, ptr %31, align 4, !tbaa !9
  %211 = load i32, ptr %32, align 4, !tbaa !9
  %212 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %26, i32 noundef %210, i32 noundef %211)
          to label %213 unwind label %217

213:                                              ; preds = %209
  store double %208, ptr %212, align 8, !tbaa !41
  br label %214

214:                                              ; preds = %213
  %215 = load i32, ptr %32, align 4, !tbaa !9
  %216 = add i32 %215, 1
  store i32 %216, ptr %32, align 4, !tbaa !9
  br label %188, !llvm.loop !48

217:                                              ; preds = %209, %205, %201, %197, %193
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %15, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  br label %325

221:                                              ; preds = %192
  br label %222

222:                                              ; preds = %221
  %223 = load i32, ptr %31, align 4, !tbaa !9
  %224 = add i32 %223, 1
  store i32 %224, ptr %31, align 4, !tbaa !9
  br label %164, !llvm.loop !49

225:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 112, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  %226 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %226, ptr %36, align 4, !tbaa !9
  %227 = getelementptr inbounds i32, ptr %36, i64 1
  %228 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %228, ptr %227, align 4, !tbaa !9
  %229 = getelementptr inbounds %"class.std::initializer_list", ptr %35, i32 0, i32 0
  store ptr %36, ptr %229, align 8, !tbaa !38
  %230 = getelementptr inbounds %"class.std::initializer_list", ptr %35, i32 0, i32 1
  store i64 2, ptr %230, align 8, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #5
  %231 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 0
  %232 = load ptr, ptr %231, align 8
  %233 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 1
  %234 = load i64, ptr %233, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr %232, i64 %234, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %235 unwind label %244

235:                                              ; preds = %225
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %33, ptr noundef %34, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %236 unwind label %248

236:                                              ; preds = %235
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  invoke void @_ZNK8mdvectorIdE7inverseERS0_(ptr noundef nonnull align 8 dereferenceable(105) %26, ptr noundef nonnull align 8 dereferenceable(105) %33)
          to label %237 unwind label %253

237:                                              ; preds = %236
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #5
  store i32 0, ptr %38, align 4, !tbaa !9
  br label %238

238:                                              ; preds = %319, %237
  %239 = load i32, ptr %38, align 4, !tbaa !9
  %240 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 12
  %241 = load i32, ptr %240, align 4, !tbaa !47
  %242 = icmp ult i32 %239, %241
  br i1 %242, label %257, label %243

243:                                              ; preds = %238
  store i32 17, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #5
  br label %322

244:                                              ; preds = %225
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %15, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %16, align 4
  br label %252

248:                                              ; preds = %235
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %15, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %16, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #5
  br label %252

252:                                              ; preds = %248, %244
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  br label %324

253:                                              ; preds = %236
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %15, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %16, align 4
  br label %323

257:                                              ; preds = %238
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #5
  store i32 0, ptr %39, align 4, !tbaa !9
  br label %258

258:                                              ; preds = %310, %257
  %259 = load i32, ptr %39, align 4, !tbaa !9
  %260 = load i32, ptr %9, align 4, !tbaa !9
  %261 = icmp ult i32 %259, %260
  br i1 %261, label %263, label %262

262:                                              ; preds = %258
  store i32 20, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #5
  br label %318

263:                                              ; preds = %258
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #5
  store double 0.000000e+00, ptr %40, align 8, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #5
  store i32 0, ptr %41, align 4, !tbaa !9
  br label %264

264:                                              ; preds = %296, %263
  %265 = load i32, ptr %41, align 4, !tbaa !9
  %266 = load i32, ptr %9, align 4, !tbaa !9
  %267 = icmp ult i32 %265, %266
  br i1 %267, label %269, label %268

268:                                              ; preds = %264
  store i32 23, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #5
  br label %303

269:                                              ; preds = %264
  %270 = load i32, ptr %41, align 4, !tbaa !9
  %271 = load i32, ptr %39, align 4, !tbaa !9
  %272 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %33, i32 noundef %270, i32 noundef %271)
          to label %273 unwind label %299

273:                                              ; preds = %269
  %274 = load double, ptr %272, align 8, !tbaa !41
  %275 = load i32, ptr %5, align 4, !tbaa !9
  %276 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 28
  %277 = load i32, ptr %38, align 4, !tbaa !9
  %278 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %276, i32 noundef %277, i32 noundef 0)
          to label %279 unwind label %299

279:                                              ; preds = %273
  %280 = load double, ptr %278, align 8, !tbaa !41
  %281 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 28
  %282 = load i32, ptr %38, align 4, !tbaa !9
  %283 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %281, i32 noundef %282, i32 noundef 1)
          to label %284 unwind label %299

284:                                              ; preds = %279
  %285 = load double, ptr %283, align 8, !tbaa !41
  %286 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 28
  %287 = load i32, ptr %38, align 4, !tbaa !9
  %288 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %286, i32 noundef %287, i32 noundef 2)
          to label %289 unwind label %299

289:                                              ; preds = %284
  %290 = load double, ptr %288, align 8, !tbaa !41
  %291 = load i32, ptr %41, align 4, !tbaa !9
  %292 = invoke noundef double @_Z9Dubiner3Djdddj(i32 noundef %275, double noundef %280, double noundef %285, double noundef %290, i32 noundef %291)
          to label %293 unwind label %299

293:                                              ; preds = %289
  %294 = load double, ptr %40, align 8, !tbaa !41
  %295 = call double @llvm.fmuladd.f64(double %274, double %292, double %294)
  store double %295, ptr %40, align 8, !tbaa !41
  br label %296

296:                                              ; preds = %293
  %297 = load i32, ptr %41, align 4, !tbaa !9
  %298 = add i32 %297, 1
  store i32 %298, ptr %41, align 4, !tbaa !9
  br label %264, !llvm.loop !50

299:                                              ; preds = %289, %284, %279, %273, %269
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %15, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #5
  br label %317

303:                                              ; preds = %268
  %304 = load double, ptr %40, align 8, !tbaa !41
  %305 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 105
  %306 = load i32, ptr %38, align 4, !tbaa !9
  %307 = load i32, ptr %39, align 4, !tbaa !9
  %308 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %305, i32 noundef %306, i32 noundef %307)
          to label %309 unwind label %313

309:                                              ; preds = %303
  store double %304, ptr %308, align 8, !tbaa !41
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  br label %310

310:                                              ; preds = %309
  %311 = load i32, ptr %39, align 4, !tbaa !9
  %312 = add i32 %311, 1
  store i32 %312, ptr %39, align 4, !tbaa !9
  br label %258, !llvm.loop !51

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

317:                                              ; preds = %313, %299
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #5
  br label %323

318:                                              ; preds = %262
  br label %319

319:                                              ; preds = %318
  %320 = load i32, ptr %38, align 4, !tbaa !9
  %321 = add i32 %320, 1
  store i32 %321, ptr %38, align 4, !tbaa !9
  br label %238, !llvm.loop !52

322:                                              ; preds = %243
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %33) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %33) #5
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %26) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %10) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #5
  ret void

323:                                              ; preds = %317, %253
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %33) #5
  br label %324

324:                                              ; preds = %323, %252
  call void @llvm.lifetime.end.p0(i64 112, ptr %33) #5
  br label %325

325:                                              ; preds = %324, %217
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %26) #5
  br label %326

326:                                              ; preds = %325, %186
  call void @llvm.lifetime.end.p0(i64 112, ptr %26) #5
  br label %327

327:                                              ; preds = %326, %177, %127
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %10) #5
  br label %328

328:                                              ; preds = %327, %81
  call void @llvm.lifetime.end.p0(i64 112, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #5
  br label %329

329:                                              ; preds = %328
  %330 = load ptr, ptr %15, align 8
  %331 = load i32, ptr %16, align 4
  %332 = insertvalue { ptr, i32 } poison, ptr %330, 0
  %333 = insertvalue { ptr, i32 } %332, i32 %331, 1
  resume { ptr, i32 } %333
}

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }

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

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


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.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 }

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 nounwind uwtable
declare dso_local void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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 #2 align 2

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

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

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

; 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 #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Tets14set_oppRestartEjb(ptr noundef nonnull align 8 dereferenceable(14304) %0, i32 noundef %1, i1 noundef zeroext %2) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca %class.mdvector, align 8
  %6 = alloca %"class.std::vector.0", align 8
  %7 = alloca [2 x i32], align 4
  %8 = alloca %"class.std::allocator.2", align 1
  %9 = alloca %"class.std::vector.0", align 8
  %10 = alloca [2 x i32], align 4
  %11 = alloca %"class.std::allocator.2", align 1
  %12 = alloca %class.mdvector, align 8
  %13 = alloca %"class.std::vector.0", align 8
  %14 = alloca [2 x i32], align 4
  %15 = alloca %"class.std::allocator.2", align 1
  %16 = alloca %class.mdvector, align 8
  %17 = alloca %"class.std::vector.0", align 8
  %18 = alloca [2 x i32], align 4
  %19 = alloca %"class.std::allocator.2", align 1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  call void @_Z9Shape_ptsj(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %4, i32 noundef %1)
  %20 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %21 = trunc i64 %20 to i32
  %22 = add i32 %1, 1
  %23 = add i32 %1, 2
  %24 = mul i32 %22, %23
  %25 = add i32 %1, 3
  %26 = mul i32 %24, %25
  %27 = udiv i32 %26, 6
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  store i32 %27, ptr %7, align 4, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %7, i64 4
  %29 = getelementptr inbounds i8, ptr %0, i64 52
  %30 = load i32, ptr %29, align 4, !tbaa !9
  store i32 %30, ptr %28, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr nonnull %7, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %31 unwind label %40

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

32:                                               ; preds = %31
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  %.not = icmp eq i32 %21, 0
  br i1 %.not, label %._crit_edge121, label %.preheader111.preheader

.preheader111.preheader:                          ; preds = %32
  %wide.trip.count = and i64 %20, 4294967295
  br label %.preheader110.lr.ph

.preheader110.lr.ph:                              ; preds = %._crit_edge117, %.preheader111.preheader
  %indvars.iv142 = phi i64 [ 0, %.preheader111.preheader ], [ %indvars.iv.next143, %._crit_edge117 ]
  %.084120 = phi i32 [ 0, %.preheader111.preheader ], [ %.286.lcssa, %._crit_edge117 ]
  %33 = trunc nuw i64 %indvars.iv142 to i32
  %34 = sub i32 %21, %33
  %35 = zext i32 %34 to i64
  br label %.preheader110

._crit_edge121:                                   ; preds = %._crit_edge117, %32
  %36 = getelementptr inbounds i8, ptr %0, i64 7520
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %37 = getelementptr inbounds i8, ptr %0, i64 60
  %38 = load i32, ptr %37, align 4, !tbaa !36
  store i32 %38, ptr %10, align 4, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %10, i64 4
  store i32 %27, ptr %39, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #6
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr nonnull %10, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %61 unwind label %67

40:                                               ; preds = %3
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %44

42:                                               ; preds = %31
  %43 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  br label %44

44:                                               ; preds = %42, %40
  %.pn = phi { ptr, i32 } [ %43, %42 ], [ %41, %40 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  br label %125

.preheader110:                                    ; preds = %.preheader110.lr.ph, %._crit_edge
  %indvars.iv139 = phi i64 [ 0, %.preheader110.lr.ph ], [ %indvars.iv.next140, %._crit_edge ]
  %.185116 = phi i32 [ %.084120, %.preheader110.lr.ph ], [ %.286.lcssa, %._crit_edge ]
  %.not132 = icmp eq i64 %indvars.iv139, %35
  br i1 %.not132, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader110
  %45 = trunc nuw i64 %indvars.iv139 to i32
  %46 = sub i32 %34, %45
  %47 = zext i32 %46 to i64
  br label %49

._crit_edge117:                                   ; preds = %._crit_edge
  %indvars.iv.next143 = add nuw nsw i64 %indvars.iv142, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next143, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge121, label %.preheader110.lr.ph, !llvm.loop !37

._crit_edge:                                      ; preds = %49, %.preheader110
  %.286.lcssa = phi i32 [ %.185116, %.preheader110 ], [ %59, %49 ]
  %indvars.iv.next140 = add nuw nsw i64 %indvars.iv139, 1
  %48 = icmp ult i64 %indvars.iv.next140, %35
  br i1 %48, label %.preheader110, label %._crit_edge117, !llvm.loop !39

49:                                               ; preds = %.lr.ph, %49
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %49 ]
  %.286114 = phi i32 [ %.185116, %.lr.ph ], [ %59, %49 ]
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #6
  %51 = load double, ptr %50, align 8, !tbaa !40
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %5, i32 noundef %.286114, i32 noundef 0)
  store double %51, ptr %52, align 8, !tbaa !40
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv139) #6
  %54 = load double, ptr %53, align 8, !tbaa !40
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %5, i32 noundef %.286114, i32 noundef 1)
  store double %54, ptr %55, align 8, !tbaa !40
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv142) #6
  %57 = load double, ptr %56, align 8, !tbaa !40
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %5, i32 noundef %.286114, i32 noundef 2)
  store double %57, ptr %58, align 8, !tbaa !40
  %59 = add i32 %.286114, 1
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %60 = icmp ult i64 %indvars.iv.next, %47
  br i1 %60, label %49, label %._crit_edge, !llvm.loop !42

61:                                               ; preds = %._crit_edge121
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %36, ptr noundef nonnull %9, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %62 unwind label %69

62:                                               ; preds = %61
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  store i32 %27, ptr %14, align 4, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %14, i64 4
  store i32 %27, ptr %63, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #6
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr nonnull %14, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %64 unwind label %72

64:                                               ; preds = %62
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %12, ptr noundef nonnull %13, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %65 unwind label %74

65:                                               ; preds = %64
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  %.not133 = icmp ult i32 %26, 6
  br i1 %.not133, label %._crit_edge124, label %.preheader109.preheader

.preheader109.preheader:                          ; preds = %65
  %umax = call i32 @llvm.umax.i32(i32 %27, i32 1)
  br label %.preheader109

.preheader109:                                    ; preds = %.preheader109.preheader, %77
  %.083123 = phi i32 [ %78, %77 ], [ 0, %.preheader109.preheader ]
  br label %79

._crit_edge124:                                   ; preds = %77, %65
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  store i32 %27, ptr %18, align 4, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %18, i64 4
  store i32 %27, ptr %66, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #6
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr nonnull %18, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %92 unwind label %116

67:                                               ; preds = %._crit_edge121
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %71

69:                                               ; preds = %61
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  br label %71

71:                                               ; preds = %69, %67
  %.pn95 = phi { ptr, i32 } [ %70, %69 ], [ %68, %67 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %124

72:                                               ; preds = %62
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %76

74:                                               ; preds = %64
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  br label %76

76:                                               ; preds = %74, %72
  %.pn97 = phi { ptr, i32 } [ %75, %74 ], [ %73, %72 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br label %123

77:                                               ; preds = %87
  %78 = add nuw nsw i32 %.083123, 1
  %exitcond146.not = icmp eq i32 %78, %umax
  br i1 %exitcond146.not, label %._crit_edge124, label %.preheader109, !llvm.loop !43

79:                                               ; preds = %.preheader109, %87
  %.082122 = phi i32 [ 0, %.preheader109 ], [ %89, %87 ]
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %5, i32 noundef %.083123, i32 noundef 0)
  %81 = load double, ptr %80, align 8, !tbaa !40
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %5, i32 noundef %.083123, i32 noundef 1)
  %83 = load double, ptr %82, align 8, !tbaa !40
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %5, i32 noundef %.083123, i32 noundef 2)
  %85 = load double, ptr %84, align 8, !tbaa !40
  %86 = invoke noundef double @_Z9Dubiner3Djdddj(i32 noundef %1, double noundef %81, double noundef %83, double noundef %85, i32 noundef %.082122)
          to label %87 unwind label %90

87:                                               ; preds = %79
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %12, i32 noundef %.083123, i32 noundef %.082122)
  store double %86, ptr %88, align 8, !tbaa !40
  %89 = add nuw nsw i32 %.082122, 1
  %exitcond145.not = icmp eq i32 %89, %umax
  br i1 %exitcond145.not, label %77, label %79, !llvm.loop !44

90:                                               ; preds = %79
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %122

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

93:                                               ; preds = %92
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @_ZNK8mdvectorIdE7inverseERS0_(ptr noundef nonnull align 8 dereferenceable(105) %12, ptr noundef nonnull align 8 dereferenceable(105) %16)
  %94 = load i32, ptr %37, align 4, !tbaa !36
  %.not134 = icmp eq i32 %94, 0
  br i1 %.not134, label %._crit_edge130, label %.preheader108.lr.ph

.preheader108.lr.ph:                              ; preds = %93
  %95 = getelementptr inbounds i8, ptr %0, i64 576
  br i1 %.not133, label %._crit_edge130, label %.preheader108.us.preheader

.preheader108.us.preheader:                       ; preds = %.preheader108.lr.ph
  %umax147 = call i32 @llvm.umax.i32(i32 %27, i32 1)
  br label %.preheader108.us

.preheader108.us:                                 ; preds = %.preheader108.us.preheader, %._crit_edge128.us
  %.071129.us = phi i32 [ %112, %._crit_edge128.us ], [ 0, %.preheader108.us.preheader ]
  br label %.preheader.us

96:                                               ; preds = %109
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %36, i32 noundef %.071129.us, i32 noundef %.070127.us)
  store double %110, ptr %97, align 8, !tbaa !40
  %98 = add nuw nsw i32 %.070127.us, 1
  %exitcond149.not = icmp eq i32 %98, %umax147
  br i1 %exitcond149.not, label %._crit_edge128.us, label %.preheader.us, !llvm.loop !45

99:                                               ; preds = %.preheader.us, %109
  %.0126.us = phi i32 [ 0, %.preheader.us ], [ %111, %109 ]
  %.069125.us = phi double [ 0.000000e+00, %.preheader.us ], [ %110, %109 ]
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %16, i32 noundef %.0126.us, i32 noundef %.070127.us)
  %101 = load double, ptr %100, align 8, !tbaa !40
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %95, i32 noundef %.071129.us, i32 noundef 0)
  %103 = load double, ptr %102, align 8, !tbaa !40
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %95, i32 noundef %.071129.us, i32 noundef 1)
  %105 = load double, ptr %104, align 8, !tbaa !40
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %95, i32 noundef %.071129.us, i32 noundef 2)
  %107 = load double, ptr %106, align 8, !tbaa !40
  %108 = invoke noundef double @_Z9Dubiner3Djdddj(i32 noundef %1, double noundef %103, double noundef %105, double noundef %107, i32 noundef %.0126.us)
          to label %109 unwind label %.split.us

109:                                              ; preds = %99
  %110 = call double @llvm.fmuladd.f64(double %101, double %108, double %.069125.us)
  %111 = add nuw nsw i32 %.0126.us, 1
  %exitcond148.not = icmp eq i32 %111, %umax147
  br i1 %exitcond148.not, label %96, label %99, !llvm.loop !46

.preheader.us:                                    ; preds = %.preheader108.us, %96
  %.070127.us = phi i32 [ 0, %.preheader108.us ], [ %98, %96 ]
  br label %99

._crit_edge128.us:                                ; preds = %96
  %112 = add nuw i32 %.071129.us, 1
  %113 = load i32, ptr %37, align 4, !tbaa !36
  %114 = icmp ult i32 %112, %113
  br i1 %114, label %.preheader108.us, label %._crit_edge130, !llvm.loop !47

.split.us:                                        ; preds = %99
  %115 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %16) #6
  br label %121

._crit_edge130:                                   ; preds = %._crit_edge128.us, %.preheader108.lr.ph, %93
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %16) #6
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %16) #6
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %12) #6
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %12) #6
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %5) #6
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %5) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  ret void

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

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

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

121:                                              ; preds = %.split.us, %120
  %.pn101 = phi { ptr, i32 } [ %115, %.split.us ], [ %.pn99, %120 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %16) #6
  br label %122

122:                                              ; preds = %121, %90
  %.pn103 = phi { ptr, i32 } [ %91, %90 ], [ %.pn101, %121 ]
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %12) #6
  br label %123

123:                                              ; preds = %122, %76
  %.pn103.pn = phi { ptr, i32 } [ %.pn103, %122 ], [ %.pn97, %76 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %12) #6
  br label %124

124:                                              ; preds = %123, %71
  %.pn103.pn.pn = phi { ptr, i32 } [ %.pn103.pn, %123 ], [ %.pn95, %71 ]
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %5) #6
  br label %125

125:                                              ; preds = %124, %44
  %.pn103.pn.pn.pn = phi { ptr, i32 } [ %.pn103.pn.pn, %124 ], [ %.pn, %44 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %5) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn103.pn.pn.pn
}

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }

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

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


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