; LLVM IR from romerojosh/zefr :: src/tris.ll (ZN4Tris14set_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 uwtable
declare dso_local void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef, double noundef, i1 noundef zeroext) #1 align 2

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

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

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

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

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

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

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)) #2 align 2

declare noundef double @_Z9Dubiner2Djddj(i32 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)) #2 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 @_ZN4Tris14set_oppRestartEjb(ptr noundef nonnull align 8 dereferenceable(13968) %0, i32 noundef %1, i1 noundef zeroext %2) unnamed_addr #1 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 %"class.std::vector.0", align 8
  %22 = alloca %"class.std::initializer_list", align 8
  %23 = alloca [2 x i32], align 4
  %24 = alloca %"class.std::allocator.2", align 1
  %25 = alloca %class.mdvector, align 8
  %26 = alloca %"class.std::vector.0", align 8
  %27 = alloca %"class.std::initializer_list", align 8
  %28 = alloca [2 x i32], align 4
  %29 = alloca %"class.std::allocator.2", align 1
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca %class.mdvector, align 8
  %33 = alloca %"class.std::vector.0", align 8
  %34 = alloca %"class.std::initializer_list", align 8
  %35 = alloca [2 x i32], align 4
  %36 = alloca %"class.std::allocator.2", align 1
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca double, align 8
  %40 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  %41 = zext i1 %2 to i8
  store i8 %41, ptr %6, align 1, !tbaa !11
  %42 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #5
  %43 = 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 %43)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %44 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  %45 = trunc i64 %44 to i32
  store i32 %45, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %46 = load i32, ptr %5, align 4, !tbaa !9
  %47 = add i32 %46, 1
  %48 = load i32, ptr %5, align 4, !tbaa !9
  %49 = add i32 %48, 2
  %50 = mul i32 %47, %49
  %51 = udiv i32 %50, 2
  store i32 %51, 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
  %52 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %52, ptr %13, align 4, !tbaa !9
  %53 = getelementptr inbounds i32, ptr %13, i64 1
  %54 = getelementptr inbounds %class.Elements, ptr %42, i32 0, i32 10
  %55 = load i32, ptr %54, align 4, !tbaa !13
  store i32 %55, ptr %53, align 4, !tbaa !9
  %56 = getelementptr inbounds %"class.std::initializer_list", ptr %12, i32 0, i32 0
  store ptr %13, ptr %56, align 8, !tbaa !38
  %57 = getelementptr inbounds %"class.std::initializer_list", ptr %12, i32 0, i32 1
  store i64 2, ptr %57, 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
  %58 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 0
  %59 = load ptr, ptr %58, align 8
  %60 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 1
  %61 = load i64, ptr %60, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr %59, i64 %61, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %62 unwind label %69

62:                                               ; 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 %63 unwind label %73

63:                                               ; preds = %62
  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 %64

64:                                               ; preds = %111, %63
  %65 = load i32, ptr %18, align 4, !tbaa !9
  %66 = load i32, ptr %8, align 4, !tbaa !9
  %67 = icmp ult i32 %65, %66
  br i1 %67, label %78, label %68

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

69:                                               ; preds = %3
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %15, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %16, align 4
  br label %77

73:                                               ; preds = %62
  %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
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  br label %77

77:                                               ; preds = %73, %69
  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 %294

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

79:                                               ; preds = %103, %78
  %80 = load i32, ptr %20, align 4, !tbaa !9
  %81 = load i32, ptr %8, align 4, !tbaa !9
  %82 = load i32, ptr %18, align 4, !tbaa !9
  %83 = sub i32 %81, %82
  %84 = icmp ult i32 %80, %83
  br i1 %84, label %86, label %85

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

86:                                               ; preds = %79
  %87 = load i32, ptr %20, align 4, !tbaa !9
  %88 = zext i32 %87 to i64
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %88) #5
  %90 = load double, ptr %89, align 8, !tbaa !41
  %91 = load i32, ptr %17, align 4, !tbaa !9
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %10, i32 noundef %91, i32 noundef 0)
          to label %93 unwind label %106

93:                                               ; preds = %86
  store double %90, ptr %92, align 8, !tbaa !41
  %94 = load i32, ptr %18, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %95) #5
  %97 = load double, ptr %96, align 8, !tbaa !41
  %98 = load i32, ptr %17, align 4, !tbaa !9
  %99 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %10, i32 noundef %98, i32 noundef 1)
          to label %100 unwind label %106

100:                                              ; preds = %93
  store double %97, ptr %99, align 8, !tbaa !41
  %101 = load i32, ptr %17, align 4, !tbaa !9
  %102 = add i32 %101, 1
  store i32 %102, ptr %17, align 4, !tbaa !9
  br label %103

103:                                              ; preds = %100
  %104 = load i32, ptr %20, align 4, !tbaa !9
  %105 = add i32 %104, 1
  store i32 %105, ptr %20, align 4, !tbaa !9
  br label %79, !llvm.loop !43

106:                                              ; preds = %93, %86
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %15, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %293

110:                                              ; preds = %85
  br label %111

111:                                              ; preds = %110
  %112 = load i32, ptr %18, align 4, !tbaa !9
  %113 = add i32 %112, 1
  store i32 %113, ptr %18, align 4, !tbaa !9
  br label %64, !llvm.loop !45

114:                                              ; preds = %68
  %115 = getelementptr inbounds %class.Elements, ptr %42, i32 0, i32 105
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %116 = getelementptr inbounds %class.Elements, ptr %42, i32 0, i32 12
  %117 = load i32, ptr %116, align 4, !tbaa !46
  store i32 %117, ptr %23, align 4, !tbaa !9
  %118 = getelementptr inbounds i32, ptr %23, i64 1
  %119 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %119, ptr %118, align 4, !tbaa !9
  %120 = getelementptr inbounds %"class.std::initializer_list", ptr %22, i32 0, i32 0
  store ptr %23, ptr %120, align 8, !tbaa !38
  %121 = getelementptr inbounds %"class.std::initializer_list", ptr %22, i32 0, i32 1
  store i64 2, ptr %121, align 8, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  %122 = getelementptr inbounds { ptr, i64 }, ptr %22, i32 0, i32 0
  %123 = load ptr, ptr %122, align 8
  %124 = getelementptr inbounds { ptr, i64 }, ptr %22, i32 0, i32 1
  %125 = load i64, ptr %124, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr %123, i64 %125, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %126 unwind label %144

126:                                              ; preds = %114
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %115, ptr noundef %21, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %127 unwind label %148

127:                                              ; preds = %126
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %128 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %128, ptr %28, align 4, !tbaa !9
  %129 = getelementptr inbounds i32, ptr %28, i64 1
  %130 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %130, ptr %129, align 4, !tbaa !9
  %131 = getelementptr inbounds %"class.std::initializer_list", ptr %27, i32 0, i32 0
  store ptr %28, ptr %131, align 8, !tbaa !38
  %132 = getelementptr inbounds %"class.std::initializer_list", ptr %27, i32 0, i32 1
  store i64 2, ptr %132, align 8, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  %133 = getelementptr inbounds { ptr, i64 }, ptr %27, i32 0, i32 0
  %134 = load ptr, ptr %133, align 8
  %135 = getelementptr inbounds { ptr, i64 }, ptr %27, i32 0, i32 1
  %136 = load i64, ptr %135, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr %134, i64 %136, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %137 unwind label %153

137:                                              ; preds = %127
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %25, ptr noundef %26, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %138 unwind label %157

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

139:                                              ; preds = %193, %138
  %140 = load i32, ptr %30, align 4, !tbaa !9
  %141 = load i32, ptr %9, align 4, !tbaa !9
  %142 = icmp ult i32 %140, %141
  br i1 %142, label %162, label %143

143:                                              ; preds = %139
  store i32 8, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  br label %196

144:                                              ; preds = %114
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %15, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %16, align 4
  br label %152

148:                                              ; preds = %126
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %15, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %16, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  br label %152

152:                                              ; preds = %148, %144
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %293

153:                                              ; preds = %127
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %15, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %16, align 4
  br label %161

157:                                              ; preds = %137
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %15, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %16, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  br label %161

161:                                              ; preds = %157, %153
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  br label %292

162:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  store i32 0, ptr %31, align 4, !tbaa !9
  br label %163

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

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

168:                                              ; preds = %163
  %169 = load i32, ptr %5, align 4, !tbaa !9
  %170 = load i32, ptr %30, align 4, !tbaa !9
  %171 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %10, i32 noundef %170, i32 noundef 0)
          to label %172 unwind label %188

172:                                              ; preds = %168
  %173 = load double, ptr %171, align 8, !tbaa !41
  %174 = load i32, ptr %30, align 4, !tbaa !9
  %175 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %10, i32 noundef %174, i32 noundef 1)
          to label %176 unwind label %188

176:                                              ; preds = %172
  %177 = load double, ptr %175, align 8, !tbaa !41
  %178 = load i32, ptr %31, align 4, !tbaa !9
  %179 = invoke noundef double @_Z9Dubiner2Djddj(i32 noundef %169, double noundef %173, double noundef %177, i32 noundef %178)
          to label %180 unwind label %188

180:                                              ; preds = %176
  %181 = load i32, ptr %30, align 4, !tbaa !9
  %182 = load i32, ptr %31, align 4, !tbaa !9
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %25, i32 noundef %181, i32 noundef %182)
          to label %184 unwind label %188

184:                                              ; preds = %180
  store double %179, ptr %183, align 8, !tbaa !41
  br label %185

185:                                              ; preds = %184
  %186 = load i32, ptr %31, align 4, !tbaa !9
  %187 = add i32 %186, 1
  store i32 %187, ptr %31, align 4, !tbaa !9
  br label %163, !llvm.loop !47

188:                                              ; preds = %180, %176, %172, %168
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %15, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  br label %291

192:                                              ; preds = %167
  br label %193

193:                                              ; preds = %192
  %194 = load i32, ptr %30, align 4, !tbaa !9
  %195 = add i32 %194, 1
  store i32 %195, ptr %30, align 4, !tbaa !9
  br label %139, !llvm.loop !48

196:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 112, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  %197 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %197, ptr %35, align 4, !tbaa !9
  %198 = getelementptr inbounds i32, ptr %35, i64 1
  %199 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %199, ptr %198, align 4, !tbaa !9
  %200 = getelementptr inbounds %"class.std::initializer_list", ptr %34, i32 0, i32 0
  store ptr %35, ptr %200, align 8, !tbaa !38
  %201 = getelementptr inbounds %"class.std::initializer_list", ptr %34, i32 0, i32 1
  store i64 2, ptr %201, align 8, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #5
  %202 = getelementptr inbounds { ptr, i64 }, ptr %34, i32 0, i32 0
  %203 = load ptr, ptr %202, align 8
  %204 = getelementptr inbounds { ptr, i64 }, ptr %34, i32 0, i32 1
  %205 = load i64, ptr %204, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr %203, i64 %205, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %206 unwind label %215

206:                                              ; preds = %196
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %32, ptr noundef %33, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %207 unwind label %219

207:                                              ; preds = %206
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  invoke void @_ZNK8mdvectorIdE7inverseERS0_(ptr noundef nonnull align 8 dereferenceable(105) %25, ptr noundef nonnull align 8 dereferenceable(105) %32)
          to label %208 unwind label %224

208:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #5
  store i32 0, ptr %37, align 4, !tbaa !9
  br label %209

209:                                              ; preds = %285, %208
  %210 = load i32, ptr %37, align 4, !tbaa !9
  %211 = getelementptr inbounds %class.Elements, ptr %42, i32 0, i32 12
  %212 = load i32, ptr %211, align 4, !tbaa !46
  %213 = icmp ult i32 %210, %212
  br i1 %213, label %228, label %214

214:                                              ; preds = %209
  store i32 14, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #5
  br label %288

215:                                              ; preds = %196
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %15, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %16, align 4
  br label %223

219:                                              ; preds = %206
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %15, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %16, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #5
  br label %223

223:                                              ; preds = %219, %215
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  br label %290

224:                                              ; preds = %207
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %15, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %16, align 4
  br label %289

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

229:                                              ; preds = %276, %228
  %230 = load i32, ptr %38, align 4, !tbaa !9
  %231 = load i32, ptr %9, align 4, !tbaa !9
  %232 = icmp ult i32 %230, %231
  br i1 %232, label %234, label %233

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

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

235:                                              ; preds = %262, %234
  %236 = load i32, ptr %40, align 4, !tbaa !9
  %237 = load i32, ptr %9, align 4, !tbaa !9
  %238 = icmp ult i32 %236, %237
  br i1 %238, label %240, label %239

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

240:                                              ; preds = %235
  %241 = load i32, ptr %40, align 4, !tbaa !9
  %242 = load i32, ptr %38, align 4, !tbaa !9
  %243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %32, i32 noundef %241, i32 noundef %242)
          to label %244 unwind label %265

244:                                              ; preds = %240
  %245 = load double, ptr %243, align 8, !tbaa !41
  %246 = load i32, ptr %5, align 4, !tbaa !9
  %247 = getelementptr inbounds %class.Elements, ptr %42, i32 0, i32 28
  %248 = load i32, ptr %37, align 4, !tbaa !9
  %249 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %247, i32 noundef %248, i32 noundef 0)
          to label %250 unwind label %265

250:                                              ; preds = %244
  %251 = load double, ptr %249, align 8, !tbaa !41
  %252 = getelementptr inbounds %class.Elements, ptr %42, i32 0, i32 28
  %253 = load i32, ptr %37, align 4, !tbaa !9
  %254 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %252, i32 noundef %253, i32 noundef 1)
          to label %255 unwind label %265

255:                                              ; preds = %250
  %256 = load double, ptr %254, align 8, !tbaa !41
  %257 = load i32, ptr %40, align 4, !tbaa !9
  %258 = invoke noundef double @_Z9Dubiner2Djddj(i32 noundef %246, double noundef %251, double noundef %256, i32 noundef %257)
          to label %259 unwind label %265

259:                                              ; preds = %255
  %260 = load double, ptr %39, align 8, !tbaa !41
  %261 = call double @llvm.fmuladd.f64(double %245, double %258, double %260)
  store double %261, ptr %39, align 8, !tbaa !41
  br label %262

262:                                              ; preds = %259
  %263 = load i32, ptr %40, align 4, !tbaa !9
  %264 = add i32 %263, 1
  store i32 %264, ptr %40, align 4, !tbaa !9
  br label %235, !llvm.loop !49

265:                                              ; preds = %255, %250, %244, %240
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %15, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #5
  br label %283

269:                                              ; preds = %239
  %270 = load double, ptr %39, align 8, !tbaa !41
  %271 = getelementptr inbounds %class.Elements, ptr %42, i32 0, i32 105
  %272 = load i32, ptr %37, align 4, !tbaa !9
  %273 = load i32, ptr %38, align 4, !tbaa !9
  %274 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %271, i32 noundef %272, i32 noundef %273)
          to label %275 unwind label %279

275:                                              ; preds = %269
  store double %270, ptr %274, align 8, !tbaa !41
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  br label %276

276:                                              ; preds = %275
  %277 = load i32, ptr %38, align 4, !tbaa !9
  %278 = add i32 %277, 1
  store i32 %278, ptr %38, align 4, !tbaa !9
  br label %229, !llvm.loop !50

279:                                              ; preds = %269
  %280 = landingpad { ptr, i32 }
          cleanup
  %281 = extractvalue { ptr, i32 } %280, 0
  store ptr %281, ptr %15, align 8
  %282 = extractvalue { ptr, i32 } %280, 1
  store i32 %282, ptr %16, align 4
  br label %283

283:                                              ; preds = %279, %265
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #5
  br label %289

284:                                              ; preds = %233
  br label %285

285:                                              ; preds = %284
  %286 = load i32, ptr %37, align 4, !tbaa !9
  %287 = add i32 %286, 1
  store i32 %287, ptr %37, align 4, !tbaa !9
  br label %209, !llvm.loop !51

288:                                              ; preds = %214
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %32) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %32) #5
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %25) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %25) #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

289:                                              ; preds = %283, %224
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %32) #5
  br label %290

290:                                              ; preds = %289, %223
  call void @llvm.lifetime.end.p0(i64 112, ptr %32) #5
  br label %291

291:                                              ; preds = %290, %188
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %25) #5
  br label %292

292:                                              ; preds = %291, %161
  call void @llvm.lifetime.end.p0(i64 112, ptr %25) #5
  br label %293

293:                                              ; preds = %292, %152, %106
  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 %294

294:                                              ; preds = %293, %77
  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 %295

295:                                              ; preds = %294
  %296 = load ptr, ptr %15, align 8
  %297 = load i32, ptr %16, align 4
  %298 = insertvalue { ptr, i32 } poison, ptr %296, 0
  %299 = insertvalue { ptr, i32 } %298, i32 %297, 1
  resume { ptr, i32 } %299
}

; 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 void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!14, !10, i64 60}
!47 = distinct !{!47, !44}
!48 = distinct !{!48, !44}
!49 = distinct !{!49, !44}
!50 = distinct !{!50, !44}
!51 = distinct !{!51, !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 uwtable
declare dso_local void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef, double noundef, i1 noundef zeroext) local_unnamed_addr #1 align 2

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

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

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

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

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

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

declare noundef double @_Z9Dubiner2Djddj(i32 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 #2 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 @_ZN4Tris14set_oppRestartEjb(ptr noundef nonnull align 8 dereferenceable(13968) %0, i32 noundef %1, i1 noundef zeroext %2) unnamed_addr #1 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 = add i32 %1, 1
  %22 = add i32 %1, 2
  %23 = mul i32 %21, %22
  %24 = lshr i32 %23, 1
  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 %24, ptr %7, align 4, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %7, i64 4
  %26 = getelementptr inbounds i8, ptr %0, i64 52
  %27 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %27, ptr %25, 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 %28 unwind label %37

28:                                               ; 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 %29 unwind label %39

29:                                               ; preds = %28
  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
  %30 = and i64 %20, 4294967295
  %.not = icmp eq i64 %30, 0
  br i1 %.not, label %._crit_edge103, label %.preheader97.preheader

.preheader97.preheader:                           ; preds = %29
  %wide.trip.count = and i64 %20, 4294967295
  br label %.lr.ph

.lr.ph:                                           ; preds = %._crit_edge, %.preheader97.preheader
  %indvars.iv120 = phi i64 [ 0, %.preheader97.preheader ], [ %indvars.iv.next121, %._crit_edge ]
  %.074102 = phi i32 [ 0, %.preheader97.preheader ], [ %49, %._crit_edge ]
  %31 = sub i64 %20, %indvars.iv120
  %32 = and i64 %31, 4294967295
  br label %42

._crit_edge103:                                   ; preds = %._crit_edge, %29
  %33 = getelementptr inbounds i8, ptr %0, i64 7520
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %34 = getelementptr inbounds i8, ptr %0, i64 60
  %35 = load i32, ptr %34, align 4, !tbaa !36
  store i32 %35, ptr %10, align 4, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %10, i64 4
  store i32 %24, ptr %36, 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 %51 unwind label %57

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

39:                                               ; preds = %28
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  br label %41

41:                                               ; preds = %39, %37
  %.pn = phi { ptr, i32 } [ %40, %39 ], [ %38, %37 ]
  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 %111

._crit_edge:                                      ; preds = %42
  %indvars.iv.next121 = add nuw nsw i64 %indvars.iv120, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next121, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge103, label %.lr.ph, !llvm.loop !37

42:                                               ; preds = %.lr.ph, %42
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %42 ]
  %.175100 = phi i32 [ %.074102, %.lr.ph ], [ %49, %42 ]
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #6
  %44 = load double, ptr %43, align 8, !tbaa !39
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %5, i32 noundef %.175100, i32 noundef 0)
  store double %44, ptr %45, align 8, !tbaa !39
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv120) #6
  %47 = load double, ptr %46, align 8, !tbaa !39
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %5, i32 noundef %.175100, i32 noundef 1)
  store double %47, ptr %48, align 8, !tbaa !39
  %49 = add i32 %.175100, 1
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %50 = icmp ult i64 %indvars.iv.next, %32
  br i1 %50, label %42, label %._crit_edge, !llvm.loop !41

51:                                               ; preds = %._crit_edge103
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %33, ptr noundef nonnull %9, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %52 unwind label %59

52:                                               ; preds = %51
  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 %24, ptr %14, align 4, !tbaa !5
  %53 = getelementptr inbounds i8, ptr %14, i64 4
  store i32 %24, ptr %53, 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 %54 unwind label %62

54:                                               ; preds = %52
  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 %55 unwind label %64

55:                                               ; preds = %54
  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
  %.not114 = icmp ult i32 %23, 2
  br i1 %.not114, label %._crit_edge106, label %.preheader96.preheader

.preheader96.preheader:                           ; preds = %55
  %umax = call i32 @llvm.umax.i32(i32 %24, i32 1)
  br label %.preheader96

.preheader96:                                     ; preds = %.preheader96.preheader, %67
  %.073105 = phi i32 [ %68, %67 ], [ 0, %.preheader96.preheader ]
  br label %69

._crit_edge106:                                   ; preds = %67, %55
  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 %24, ptr %18, align 4, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %18, i64 4
  store i32 %24, ptr %56, 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 %80 unwind label %102

57:                                               ; preds = %._crit_edge103
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %61

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

61:                                               ; preds = %59, %57
  %.pn82 = phi { ptr, i32 } [ %60, %59 ], [ %58, %57 ]
  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 %110

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

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

66:                                               ; preds = %64, %62
  %.pn84 = phi { ptr, i32 } [ %65, %64 ], [ %63, %62 ]
  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 %109

67:                                               ; preds = %75
  %68 = add nuw nsw i32 %.073105, 1
  %exitcond124.not = icmp eq i32 %68, %umax
  br i1 %exitcond124.not, label %._crit_edge106, label %.preheader96, !llvm.loop !42

69:                                               ; preds = %.preheader96, %75
  %.072104 = phi i32 [ 0, %.preheader96 ], [ %77, %75 ]
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %5, i32 noundef %.073105, i32 noundef 0)
  %71 = load double, ptr %70, align 8, !tbaa !39
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %5, i32 noundef %.073105, i32 noundef 1)
  %73 = load double, ptr %72, align 8, !tbaa !39
  %74 = invoke noundef double @_Z9Dubiner2Djddj(i32 noundef %1, double noundef %71, double noundef %73, i32 noundef %.072104)
          to label %75 unwind label %78

75:                                               ; preds = %69
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %12, i32 noundef %.073105, i32 noundef %.072104)
  store double %74, ptr %76, align 8, !tbaa !39
  %77 = add nuw nsw i32 %.072104, 1
  %exitcond123.not = icmp eq i32 %77, %umax
  br i1 %exitcond123.not, label %67, label %69, !llvm.loop !43

78:                                               ; preds = %69
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %108

80:                                               ; preds = %._crit_edge106
  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 %81 unwind label %104

81:                                               ; preds = %80
  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)
  %82 = load i32, ptr %34, align 4, !tbaa !36
  %.not115 = icmp eq i32 %82, 0
  br i1 %.not115, label %._crit_edge112, label %.preheader95.lr.ph

.preheader95.lr.ph:                               ; preds = %81
  %83 = getelementptr inbounds i8, ptr %0, i64 576
  br i1 %.not114, label %._crit_edge112, label %.preheader95.us.preheader

.preheader95.us.preheader:                        ; preds = %.preheader95.lr.ph
  %umax125 = call i32 @llvm.umax.i32(i32 %24, i32 1)
  br label %.preheader95.us

.preheader95.us:                                  ; preds = %.preheader95.us.preheader, %._crit_edge110.us
  %.061111.us = phi i32 [ %98, %._crit_edge110.us ], [ 0, %.preheader95.us.preheader ]
  br label %.preheader.us

84:                                               ; preds = %95
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %33, i32 noundef %.061111.us, i32 noundef %.060109.us)
  store double %96, ptr %85, align 8, !tbaa !39
  %86 = add nuw nsw i32 %.060109.us, 1
  %exitcond127.not = icmp eq i32 %86, %umax125
  br i1 %exitcond127.not, label %._crit_edge110.us, label %.preheader.us, !llvm.loop !44

87:                                               ; preds = %.preheader.us, %95
  %.0108.us = phi i32 [ 0, %.preheader.us ], [ %97, %95 ]
  %.059107.us = phi double [ 0.000000e+00, %.preheader.us ], [ %96, %95 ]
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %16, i32 noundef %.0108.us, i32 noundef %.060109.us)
  %89 = load double, ptr %88, align 8, !tbaa !39
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %83, i32 noundef %.061111.us, i32 noundef 0)
  %91 = load double, ptr %90, align 8, !tbaa !39
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %83, i32 noundef %.061111.us, i32 noundef 1)
  %93 = load double, ptr %92, align 8, !tbaa !39
  %94 = invoke noundef double @_Z9Dubiner2Djddj(i32 noundef %1, double noundef %91, double noundef %93, i32 noundef %.0108.us)
          to label %95 unwind label %.split.us

95:                                               ; preds = %87
  %96 = call double @llvm.fmuladd.f64(double %89, double %94, double %.059107.us)
  %97 = add nuw nsw i32 %.0108.us, 1
  %exitcond126.not = icmp eq i32 %97, %umax125
  br i1 %exitcond126.not, label %84, label %87, !llvm.loop !45

.preheader.us:                                    ; preds = %.preheader95.us, %84
  %.060109.us = phi i32 [ 0, %.preheader95.us ], [ %86, %84 ]
  br label %87

._crit_edge110.us:                                ; preds = %84
  %98 = add nuw i32 %.061111.us, 1
  %99 = load i32, ptr %34, align 4, !tbaa !36
  %100 = icmp ult i32 %98, %99
  br i1 %100, label %.preheader95.us, label %._crit_edge112, !llvm.loop !46

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

._crit_edge112:                                   ; preds = %._crit_edge110.us, %.preheader95.lr.ph, %81
  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

102:                                              ; preds = %._crit_edge106
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %106

104:                                              ; preds = %80
  %105 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  br label %106

106:                                              ; preds = %104, %102
  %.pn86 = phi { ptr, i32 } [ %105, %104 ], [ %103, %102 ]
  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 %107

107:                                              ; preds = %.split.us, %106
  %.pn88 = phi { ptr, i32 } [ %101, %.split.us ], [ %.pn86, %106 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %16) #6
  br label %108

108:                                              ; preds = %107, %78
  %.pn90 = phi { ptr, i32 } [ %79, %78 ], [ %.pn88, %107 ]
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %12) #6
  br label %109

109:                                              ; preds = %108, %66
  %.pn90.pn = phi { ptr, i32 } [ %.pn90, %108 ], [ %.pn84, %66 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %12) #6
  br label %110

110:                                              ; preds = %109, %61
  %.pn90.pn.pn = phi { ptr, i32 } [ %.pn90.pn, %109 ], [ %.pn82, %61 ]
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %5) #6
  br label %111

111:                                              ; preds = %110, %41
  %.pn90.pn.pn.pn = phi { ptr, i32 } [ %.pn90.pn.pn, %110 ], [ %.pn, %41 ]
  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 } %.pn90.pn.pn.pn
}

; 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 void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!40, !40, i64 0}
!40 = !{!"double", !7, i64 0}
!41 = distinct !{!41, !38}
!42 = distinct !{!42, !38}
!43 = distinct !{!43, !38}
!44 = distinct !{!44, !38}
!45 = distinct !{!45, !38}
!46 = distinct !{!46, !38}


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