; LLVM IR from ImperialCollegeLondon/pnflow :: src/pnm/pnflow/psPrc (vtuWriter)

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: nounwind
declare double @cos(double noundef) #3

; Function Attrs: nounwind
declare double @sin(double noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15rotateAroundVec4var3IdEdS0_(ptr dead_on_unwind noalias writable sret(%class.var3) align 8, ptr noundef byval(%class.var3) align 8, double noundef, ptr noundef byval(%class.var3) align 8) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z21insertHalfCornerointsRSt6vectorI4var3IdESaIS1_EERS_IiSaIiEES1_S1_S1_S1_ddddddd(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef byval(%class.var3) align 8 %2, ptr noundef byval(%class.var3) align 8 %3, ptr noundef byval(%class.var3) align 8 %4, ptr noundef byval(%class.var3) align 8 %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9, double noundef %10, double noundef %11, double noundef %12) #2 personality ptr @__gxx_personality_v0 {
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca %class.var3, align 8
  %24 = alloca %class.var3, align 8
  %25 = alloca %"class.std::vector.23", align 8
  %26 = alloca %"class.std::allocator.25", align 1
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca %class.var3, align 8
  %33 = alloca %class.var3, align 8
  %34 = alloca %class.var3, align 8
  %35 = alloca %class.var3, align 8
  %36 = alloca %class.var3, align 8
  %37 = alloca %class.var3, align 8
  %38 = alloca %class.var3, align 8
  %39 = alloca %class.var3, align 8
  %40 = alloca %class.var3, align 8
  %41 = alloca %class.var3, align 8
  %42 = alloca %class.var3, align 8
  %43 = alloca %class.var3, align 8
  %44 = alloca %class.var3, align 8
  %45 = alloca %class.var3, align 8
  %46 = alloca %class.var3, align 8
  %47 = alloca %class.var3, align 8
  %48 = alloca %class.var3, align 8
  %49 = alloca %class.var3, align 8
  %50 = alloca %class.var3, align 8
  %51 = alloca %class.var3, align 8
  %52 = alloca %class.var3, align 8
  %53 = alloca %class.var3, align 8
  %54 = alloca %class.var3, align 8
  %55 = alloca %class.var3, align 8
  %56 = alloca %class.var3, align 8
  %57 = alloca %class.var3, align 8
  %58 = alloca %class.var3, align 8
  %59 = alloca %class.var3, align 8
  %60 = alloca %class.var3, align 8
  %61 = alloca %class.var3, align 8
  %62 = alloca %class.var3, align 8
  %63 = alloca %class.var3, align 8
  %64 = alloca %class.var3, align 8
  %65 = alloca %class.var3, align 8
  %66 = alloca %class.var3, align 8
  %67 = alloca %class.var3, align 8
  %68 = alloca %class.var3, align 8
  %69 = alloca %class.var3, align 8
  %70 = alloca %class.var3, align 8
  %71 = alloca %class.var3, align 8
  %72 = alloca %class.var3, align 8
  %73 = alloca %class.var3, align 8
  %74 = alloca i32, align 4
  %75 = alloca i32, align 4
  store ptr %0, ptr %14, align 8, !tbaa !5
  store ptr %1, ptr %15, align 8, !tbaa !5
  store double %6, ptr %16, align 8, !tbaa !9
  store double %7, ptr %17, align 8, !tbaa !9
  store double %8, ptr %18, align 8, !tbaa !9
  store double %9, ptr %19, align 8, !tbaa !9
  store double %10, ptr %20, align 8, !tbaa !9
  store double %11, ptr %21, align 8, !tbaa !9
  store double %12, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #7
  call void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %23, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #7
  %76 = call noundef double @_Z3magIdET_RK4var3IS0_E(ptr noundef nonnull align 8 dereferenceable(24) %23)
  %77 = fadd double %76, 1.000000e-32
  call void @_ZNK4var3IdEdvEd(ptr dead_on_unwind writable sret(%class.var3) align 8 %24, ptr noundef nonnull align 8 dereferenceable(24) %23, double noundef %77)
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #7
  call void @_ZNSaI4var3IdEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  invoke void @_ZNSt6vectorI4var3IdESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 8, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %78 unwind label %142

78:                                               ; preds = %13
  call void @_ZNSt15__new_allocatorI4var3IdEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %79 = load double, ptr %21, align 8, !tbaa !9
  %80 = invoke noundef double @_ZSt3absd(double noundef %79)
          to label %81 unwind label %146

81:                                               ; preds = %78
  %82 = load double, ptr %22, align 8, !tbaa !9
  %83 = fmul double %80, %82
  store double %83, ptr %29, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %84 = load double, ptr %16, align 8, !tbaa !9
  %85 = load double, ptr %29, align 8, !tbaa !9
  %86 = call double @cos(double noundef %85) #7
  %87 = load double, ptr %29, align 8, !tbaa !9
  %88 = call double @sin(double noundef %87) #7
  %89 = load double, ptr %29, align 8, !tbaa !9
  %90 = load double, ptr %18, align 8, !tbaa !9
  %91 = fadd double %89, %90
  %92 = call double @cos(double noundef %91) #7
  %93 = fdiv double %88, %92
  %94 = load double, ptr %29, align 8, !tbaa !9
  %95 = load double, ptr %18, align 8, !tbaa !9
  %96 = fadd double %94, %95
  %97 = call double @sin(double noundef %96) #7
  %98 = fsub double %97, 1.000000e+00
  %99 = call double @llvm.fmuladd.f64(double %93, double %98, double %86)
  %100 = fmul double %84, %99
  store double %100, ptr %30, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %101 = load double, ptr %17, align 8, !tbaa !9
  %102 = load double, ptr %29, align 8, !tbaa !9
  %103 = call double @cos(double noundef %102) #7
  %104 = load double, ptr %29, align 8, !tbaa !9
  %105 = call double @sin(double noundef %104) #7
  %106 = load double, ptr %29, align 8, !tbaa !9
  %107 = load double, ptr %19, align 8, !tbaa !9
  %108 = fadd double %106, %107
  %109 = call double @cos(double noundef %108) #7
  %110 = fdiv double %105, %109
  %111 = load double, ptr %29, align 8, !tbaa !9
  %112 = load double, ptr %19, align 8, !tbaa !9
  %113 = fadd double %111, %112
  %114 = call double @sin(double noundef %113) #7
  %115 = fsub double %114, 1.000000e+00
  %116 = call double @llvm.fmuladd.f64(double %110, double %115, double %103)
  %117 = fmul double %101, %116
  store double %117, ptr %31, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #7
  %118 = load double, ptr %20, align 8, !tbaa !9
  invoke void @_ZNK4var3IdEmlEd(ptr dead_on_unwind writable sret(%class.var3) align 8 %33, ptr noundef nonnull align 8 dereferenceable(24) %4, double noundef %118)
          to label %119 unwind label %150

119:                                              ; preds = %81
  invoke void @_ZNK4var3IdEplERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %32, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %33)
          to label %120 unwind label %150

120:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %35, ptr align 8 %4, i64 24, i1 false), !tbaa.struct !11
  %121 = load double, ptr %21, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 8 %24, i64 24, i1 false), !tbaa.struct !11
  invoke void @_Z15rotateAroundVec4var3IdEdS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %34, ptr noundef byval(%class.var3) align 8 %35, double noundef %121, ptr noundef byval(%class.var3) align 8 %36)
          to label %122 unwind label %154

122:                                              ; preds = %120
  %123 = load double, ptr %21, align 8, !tbaa !9
  %124 = fcmp ogt double %123, 0.000000e+00
  br i1 %124, label %125, label %174

125:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %38) #7
  %126 = load double, ptr %30, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %38, double noundef %126, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %127 unwind label %158

127:                                              ; preds = %125
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %37, ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %38)
          to label %128 unwind label %158

128:                                              ; preds = %127
  %129 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 0) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %129, ptr align 8 %37, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %39) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %40) #7
  %130 = load double, ptr %31, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %40, double noundef %130, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %131 unwind label %162

131:                                              ; preds = %128
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %39, ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %40)
          to label %132 unwind label %162

132:                                              ; preds = %131
  %133 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 1) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %133, ptr align 8 %39, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %41) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %42) #7
  %134 = load double, ptr %17, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %42, double noundef %134, ptr noundef nonnull align 8 dereferenceable(24) %34)
          to label %135 unwind label %166

135:                                              ; preds = %132
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %41, ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %42)
          to label %136 unwind label %166

136:                                              ; preds = %135
  %137 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 2) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %137, ptr align 8 %41, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %43) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %44) #7
  %138 = load double, ptr %16, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %44, double noundef %138, ptr noundef nonnull align 8 dereferenceable(24) %34)
          to label %139 unwind label %170

139:                                              ; preds = %136
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %43, ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %44)
          to label %140 unwind label %170

140:                                              ; preds = %139
  %141 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 3) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %141, ptr align 8 %43, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #7
  br label %207

142:                                              ; preds = %13
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %27, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %28, align 4
  call void @_ZNSt15__new_allocatorI4var3IdEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  br label %317

146:                                              ; preds = %78
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %27, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %28, align 4
  br label %316

150:                                              ; preds = %119, %81
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %27, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #7
  br label %233

154:                                              ; preds = %120
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %27, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %28, align 4
  br label %232

158:                                              ; preds = %127, %125
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %27, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #7
  br label %232

162:                                              ; preds = %131, %128
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %27, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #7
  br label %232

166:                                              ; preds = %135, %132
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %27, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #7
  br label %232

170:                                              ; preds = %139, %136
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %27, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #7
  br label %232

174:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 24, ptr %45) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %46) #7
  %175 = load double, ptr %30, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %46, double noundef %175, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %176 unwind label %191

176:                                              ; preds = %174
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %45, ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %46)
          to label %177 unwind label %191

177:                                              ; preds = %176
  %178 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 3) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %178, ptr align 8 %45, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %47) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %48) #7
  %179 = load double, ptr %31, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %48, double noundef %179, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %180 unwind label %195

180:                                              ; preds = %177
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %47, ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %48)
          to label %181 unwind label %195

181:                                              ; preds = %180
  %182 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 2) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %182, ptr align 8 %47, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %49) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %50) #7
  %183 = load double, ptr %17, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %50, double noundef %183, ptr noundef nonnull align 8 dereferenceable(24) %34)
          to label %184 unwind label %199

184:                                              ; preds = %181
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %49, ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %50)
          to label %185 unwind label %199

185:                                              ; preds = %184
  %186 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 1) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %186, ptr align 8 %49, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %51) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %52) #7
  %187 = load double, ptr %16, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %52, double noundef %187, ptr noundef nonnull align 8 dereferenceable(24) %34)
          to label %188 unwind label %203

188:                                              ; preds = %185
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %51, ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %52)
          to label %189 unwind label %203

189:                                              ; preds = %188
  %190 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 0) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %190, ptr align 8 %51, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %51) #7
  br label %207

191:                                              ; preds = %176, %174
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %27, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #7
  br label %232

195:                                              ; preds = %180, %177
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %27, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #7
  br label %232

199:                                              ; preds = %184, %181
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %27, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #7
  br label %232

203:                                              ; preds = %188, %185
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %27, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %51) #7
  br label %232

207:                                              ; preds = %189, %140
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %53) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %54) #7
  %208 = load double, ptr %20, align 8, !tbaa !9
  invoke void @_ZNK4var3IdEmlEd(ptr dead_on_unwind writable sret(%class.var3) align 8 %54, ptr noundef nonnull align 8 dereferenceable(24) %5, double noundef %208)
          to label %209 unwind label %234

209:                                              ; preds = %207
  invoke void @_ZNK4var3IdEplERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %53, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %54)
          to label %210 unwind label %234

210:                                              ; preds = %209
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %55) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %56, ptr align 8 %5, i64 24, i1 false), !tbaa.struct !11
  %211 = load double, ptr %21, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %57, ptr align 8 %24, i64 24, i1 false), !tbaa.struct !11
  invoke void @_Z15rotateAroundVec4var3IdEdS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %55, ptr noundef byval(%class.var3) align 8 %56, double noundef %211, ptr noundef byval(%class.var3) align 8 %57)
          to label %212 unwind label %238

212:                                              ; preds = %210
  %213 = load double, ptr %21, align 8, !tbaa !9
  %214 = fcmp ogt double %213, 0.000000e+00
  br i1 %214, label %215, label %258

215:                                              ; preds = %212
  call void @llvm.lifetime.start.p0(i64 24, ptr %58) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %59) #7
  %216 = load double, ptr %30, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %59, double noundef %216, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %217 unwind label %242

217:                                              ; preds = %215
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %58, ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 8 dereferenceable(24) %59)
          to label %218 unwind label %242

218:                                              ; preds = %217
  %219 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 4) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %219, ptr align 8 %58, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %59) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %58) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %60) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %61) #7
  %220 = load double, ptr %31, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %61, double noundef %220, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %221 unwind label %246

221:                                              ; preds = %218
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %60, ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 8 dereferenceable(24) %61)
          to label %222 unwind label %246

222:                                              ; preds = %221
  %223 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 5) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %223, ptr align 8 %60, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %61) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %60) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %62) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %63) #7
  %224 = load double, ptr %17, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %63, double noundef %224, ptr noundef nonnull align 8 dereferenceable(24) %55)
          to label %225 unwind label %250

225:                                              ; preds = %222
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %62, ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 8 dereferenceable(24) %63)
          to label %226 unwind label %250

226:                                              ; preds = %225
  %227 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 6) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %227, ptr align 8 %62, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %63) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %62) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %64) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %65) #7
  %228 = load double, ptr %16, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %65, double noundef %228, ptr noundef nonnull align 8 dereferenceable(24) %55)
          to label %229 unwind label %254

229:                                              ; preds = %226
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %64, ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 8 dereferenceable(24) %65)
          to label %230 unwind label %254

230:                                              ; preds = %229
  %231 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 7) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %231, ptr align 8 %64, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %65) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %64) #7
  br label %291

232:                                              ; preds = %203, %199, %195, %191, %170, %166, %162, %158, %154
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #7
  br label %233

233:                                              ; preds = %232, %150
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #7
  br label %315

234:                                              ; preds = %209, %207
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %27, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #7
  br label %297

238:                                              ; preds = %210
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %27, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %28, align 4
  br label %296

242:                                              ; preds = %217, %215
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %27, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %59) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %58) #7
  br label %296

246:                                              ; preds = %221, %218
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %27, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %61) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %60) #7
  br label %296

250:                                              ; preds = %225, %222
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %27, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %63) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %62) #7
  br label %296

254:                                              ; preds = %229, %226
  %255 = landingpad { ptr, i32 }
          cleanup
  %256 = extractvalue { ptr, i32 } %255, 0
  store ptr %256, ptr %27, align 8
  %257 = extractvalue { ptr, i32 } %255, 1
  store i32 %257, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %65) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %64) #7
  br label %296

258:                                              ; preds = %212
  call void @llvm.lifetime.start.p0(i64 24, ptr %66) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %67) #7
  %259 = load double, ptr %30, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %67, double noundef %259, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %260 unwind label %275

260:                                              ; preds = %258
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %66, ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 8 dereferenceable(24) %67)
          to label %261 unwind label %275

261:                                              ; preds = %260
  %262 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 7) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %262, ptr align 8 %66, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %67) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %66) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %68) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %69) #7
  %263 = load double, ptr %31, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %69, double noundef %263, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %264 unwind label %279

264:                                              ; preds = %261
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %68, ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 8 dereferenceable(24) %69)
          to label %265 unwind label %279

265:                                              ; preds = %264
  %266 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 6) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %266, ptr align 8 %68, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %69) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %68) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %70) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %71) #7
  %267 = load double, ptr %17, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %71, double noundef %267, ptr noundef nonnull align 8 dereferenceable(24) %55)
          to label %268 unwind label %283

268:                                              ; preds = %265
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %70, ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 8 dereferenceable(24) %71)
          to label %269 unwind label %283

269:                                              ; preds = %268
  %270 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 5) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %270, ptr align 8 %70, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %71) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %70) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %72) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %73) #7
  %271 = load double, ptr %16, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %73, double noundef %271, ptr noundef nonnull align 8 dereferenceable(24) %55)
          to label %272 unwind label %287

272:                                              ; preds = %269
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %72, ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 8 dereferenceable(24) %73)
          to label %273 unwind label %287

273:                                              ; preds = %272
  %274 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 4) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %274, ptr align 8 %72, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %73) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %72) #7
  br label %291

275:                                              ; preds = %260, %258
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %27, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %67) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %66) #7
  br label %296

279:                                              ; preds = %264, %261
  %280 = landingpad { ptr, i32 }
          cleanup
  %281 = extractvalue { ptr, i32 } %280, 0
  store ptr %281, ptr %27, align 8
  %282 = extractvalue { ptr, i32 } %280, 1
  store i32 %282, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %69) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %68) #7
  br label %296

283:                                              ; preds = %268, %265
  %284 = landingpad { ptr, i32 }
          cleanup
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %27, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %71) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %70) #7
  br label %296

287:                                              ; preds = %272, %269
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %27, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %73) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %72) #7
  br label %296

291:                                              ; preds = %273, %230
  call void @llvm.lifetime.end.p0(i64 24, ptr %55) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %74) #7
  store i32 0, ptr %74, align 4, !tbaa !12
  br label %292

292:                                              ; preds = %307, %291
  %293 = load i32, ptr %74, align 4, !tbaa !12
  %294 = icmp slt i32 %293, 8
  br i1 %294, label %298, label %295

295:                                              ; preds = %292
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #7
  br label %314

296:                                              ; preds = %287, %283, %279, %275, %254, %250, %246, %242, %238
  call void @llvm.lifetime.end.p0(i64 24, ptr %55) #7
  br label %297

297:                                              ; preds = %296, %234
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #7
  br label %315

298:                                              ; preds = %292
  %299 = load ptr, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %75) #7
  %300 = load ptr, ptr %14, align 8, !tbaa !5
  %301 = load i32, ptr %74, align 4, !tbaa !12
  %302 = sext i32 %301 to i64
  %303 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %302) #7
  %304 = invoke noundef i32 @_Z17findOrInsertPointRSt6vectorI4var3IdESaIS1_EERS1_(ptr noundef nonnull align 8 dereferenceable(24) %300, ptr noundef nonnull align 8 dereferenceable(24) %303)
          to label %305 unwind label %310

305:                                              ; preds = %298
  store i32 %304, ptr %75, align 4, !tbaa !12
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %299, ptr noundef nonnull align 4 dereferenceable(4) %75)
          to label %306 unwind label %310

306:                                              ; preds = %305
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #7
  br label %307

307:                                              ; preds = %306
  %308 = load i32, ptr %74, align 4, !tbaa !12
  %309 = add nsw i32 %308, 1
  store i32 %309, ptr %74, align 4, !tbaa !12
  br label %292, !llvm.loop !14

310:                                              ; preds = %305, %298
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %27, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #7
  br label %315

314:                                              ; preds = %295
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @_ZNSt6vectorI4var3IdESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #7
  ret void

315:                                              ; preds = %310, %297, %233
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %316

316:                                              ; preds = %315, %146
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @_ZNSt6vectorI4var3IdESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #7
  br label %317

317:                                              ; preds = %316, %142
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #7
  br label %318

318:                                              ; preds = %317
  %319 = load ptr, ptr %27, align 8
  %320 = load i32, ptr %28, align 4
  %321 = insertvalue { ptr, i32 } poison, ptr %319, 0
  %322 = insertvalue { ptr, i32 } %321, i32 %320, 1
  resume { ptr, i32 } %322
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind noalias writable sret(%class.var3) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4var3IdEdvEd(ptr dead_on_unwind noalias writable sret(%class.var3) align 8, ptr noundef nonnull align 8 dereferenceable(24), double noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z3magIdET_RK4var3IS0_E(ptr noundef nonnull align 8 dereferenceable(24)) #4

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4var3IdEplERKS0_(ptr dead_on_unwind noalias writable sret(%class.var3) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4var3IdEmlEd(ptr dead_on_unwind noalias writable sret(%class.var3) align 8, ptr noundef nonnull align 8 dereferenceable(24), double noundef) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind noalias writable sret(%class.var3) align 8, double noundef, ptr noundef nonnull align 8 dereferenceable(24)) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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 = !{!"double", !7, i64 0}
!11 = !{i64 0, i64 8, !9, i64 8, i64 8, !9, i64 16, i64 8, !9}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}


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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @cos(double noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sin(double noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15rotateAroundVec4var3IdEdS0_(ptr dead_on_unwind noalias writable sret(%class.var3) align 8, ptr noundef byval(%class.var3) align 8, double noundef, ptr noundef byval(%class.var3) align 8) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z21insertHalfCornerointsRSt6vectorI4var3IdESaIS1_EERS_IiSaIiEES1_S1_S1_S1_ddddddd(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull byval(%class.var3) align 8 %2, ptr noundef nonnull byval(%class.var3) align 8 %3, ptr noundef byval(%class.var3) align 8 %4, ptr noundef byval(%class.var3) align 8 %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9, double noundef %10, double noundef %11, double noundef %12) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %14 = alloca %class.var3, align 8
  %15 = alloca %class.var3, align 8
  %16 = alloca %"class.std::vector.23", align 8
  %17 = alloca %"class.std::allocator.25", align 1
  %18 = alloca %class.var3, align 8
  %19 = alloca %class.var3, align 8
  %20 = alloca %class.var3, align 8
  %21 = alloca %class.var3, align 8
  %22 = alloca %class.var3, align 8
  %23 = alloca %class.var3, align 8
  %24 = alloca %class.var3, align 8
  %25 = alloca %class.var3, align 8
  %26 = alloca %class.var3, align 8
  %27 = alloca %class.var3, align 8
  %28 = alloca %class.var3, align 8
  %29 = alloca %class.var3, align 8
  %30 = alloca %class.var3, align 8
  %31 = alloca %class.var3, align 8
  %32 = alloca %class.var3, align 8
  %33 = alloca %class.var3, align 8
  %34 = alloca %class.var3, align 8
  %35 = alloca %class.var3, align 8
  %36 = alloca %class.var3, align 8
  %37 = alloca %class.var3, align 8
  %38 = alloca %class.var3, align 8
  %39 = alloca %class.var3, align 8
  %40 = alloca %class.var3, align 8
  %41 = alloca %class.var3, align 8
  %42 = alloca %class.var3, align 8
  %43 = alloca %class.var3, align 8
  %44 = alloca %class.var3, align 8
  %45 = alloca %class.var3, align 8
  %46 = alloca %class.var3, align 8
  %47 = alloca %class.var3, align 8
  %48 = alloca %class.var3, align 8
  %49 = alloca %class.var3, align 8
  %50 = alloca %class.var3, align 8
  %51 = alloca %class.var3, align 8
  %52 = alloca %class.var3, align 8
  %53 = alloca %class.var3, align 8
  %54 = alloca %class.var3, align 8
  %55 = alloca %class.var3, align 8
  %56 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #7
  call void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #7
  %57 = call noundef double @_Z3magIdET_RK4var3IS0_E(ptr noundef nonnull align 8 dereferenceable(24) %14)
  %58 = fadd double %57, 1.000000e-32
  call void @_ZNK4var3IdEdvEd(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %15, ptr noundef nonnull align 8 dereferenceable(24) %14, double noundef %58)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #7
  call void @_ZNSaI4var3IdEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  invoke void @_ZNSt6vectorI4var3IdESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 8, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %59 unwind label %97

59:                                               ; preds = %13
  call void @_ZNSt15__new_allocatorI4var3IdEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #7
  %60 = call noundef double @_ZSt3absd(double noundef %11)
  %61 = fmul double %60, %12
  %62 = call double @cos(double noundef %61) #7
  %63 = call double @sin(double noundef %61) #7
  %64 = fadd double %61, %8
  %65 = call double @cos(double noundef %64) #7
  %66 = fdiv double %63, %65
  %67 = call double @sin(double noundef %64) #7
  %68 = fadd double %67, -1.000000e+00
  %69 = call double @llvm.fmuladd.f64(double %66, double %68, double %62)
  %70 = fmul double %69, %6
  %71 = call double @cos(double noundef %61) #7
  %72 = call double @sin(double noundef %61) #7
  %73 = fadd double %61, %9
  %74 = call double @cos(double noundef %73) #7
  %75 = fdiv double %72, %74
  %76 = call double @sin(double noundef %73) #7
  %77 = fadd double %76, -1.000000e+00
  %78 = call double @llvm.fmuladd.f64(double %75, double %77, double %71)
  %79 = fmul double %78, %7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #7
  invoke void @_ZNK4var3IdEmlEd(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %19, ptr noundef nonnull align 8 dereferenceable(24) %4, double noundef %10)
          to label %80 unwind label %99

80:                                               ; preds = %59
  invoke void @_ZNK4var3IdEplERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %81 unwind label %99

81:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #7
  invoke void @_Z15rotateAroundVec4var3IdEdS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %20, ptr noundef nonnull byval(%class.var3) align 8 %4, double noundef %11, ptr noundef nonnull byval(%class.var3) align 8 %15)
          to label %82 unwind label %101

82:                                               ; preds = %81
  %83 = fcmp ogt double %11, 0.000000e+00
  br i1 %83, label %84, label %111

84:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #7
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %22, double noundef %70, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %85 unwind label %103

85:                                               ; preds = %84
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %21, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %22)
          to label %86 unwind label %103

86:                                               ; preds = %85
  %87 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %87, ptr noundef nonnull align 8 dereferenceable(24) %21, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #7
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %24, double noundef %79, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %88 unwind label %105

88:                                               ; preds = %86
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %23, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %24)
          to label %89 unwind label %105

89:                                               ; preds = %88
  %90 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 1) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %90, ptr noundef nonnull align 8 dereferenceable(24) %23, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %26) #7
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %26, double noundef %7, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %91 unwind label %107

91:                                               ; preds = %89
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %25, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %92 unwind label %107

92:                                               ; preds = %91
  %93 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 2) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %93, ptr noundef nonnull align 8 dereferenceable(24) %25, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #7
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %28, double noundef %6, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %94 unwind label %109

94:                                               ; preds = %92
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %27, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %28)
          to label %95 unwind label %109

95:                                               ; preds = %94
  %96 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 3) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %96, ptr noundef nonnull align 8 dereferenceable(24) %27, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #7
  br label %132

97:                                               ; preds = %13
  %98 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI4var3IdEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #7
  br label %222

99:                                               ; preds = %80, %59
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #7
  br label %150

101:                                              ; preds = %81
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %149

103:                                              ; preds = %85, %84
  %104 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #7
  br label %149

105:                                              ; preds = %88, %86
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #7
  br label %149

107:                                              ; preds = %91, %89
  %108 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #7
  br label %149

109:                                              ; preds = %94, %92
  %110 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #7
  br label %149

111:                                              ; preds = %82
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %30) #7
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %30, double noundef %70, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %112 unwind label %124

112:                                              ; preds = %111
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %29, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %30)
          to label %113 unwind label %124

113:                                              ; preds = %112
  %114 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 3) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %114, ptr noundef nonnull align 8 dereferenceable(24) %29, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %30) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %31) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %32) #7
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %32, double noundef %79, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %115 unwind label %126

115:                                              ; preds = %113
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %31, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %32)
          to label %116 unwind label %126

116:                                              ; preds = %115
  %117 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 2) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %117, ptr noundef nonnull align 8 dereferenceable(24) %31, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %33) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %34) #7
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %34, double noundef %7, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %118 unwind label %128

118:                                              ; preds = %116
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %33, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %34)
          to label %119 unwind label %128

119:                                              ; preds = %118
  %120 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 1) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %120, ptr noundef nonnull align 8 dereferenceable(24) %33, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %35) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %36) #7
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %36, double noundef %6, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %121 unwind label %130

121:                                              ; preds = %119
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %35, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %36)
          to label %122 unwind label %130

122:                                              ; preds = %121
  %123 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %123, ptr noundef nonnull align 8 dereferenceable(24) %35, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %35) #7
  br label %132

124:                                              ; preds = %112, %111
  %125 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %30) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #7
  br label %149

126:                                              ; preds = %115, %113
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #7
  br label %149

128:                                              ; preds = %118, %116
  %129 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #7
  br label %149

130:                                              ; preds = %121, %119
  %131 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %35) #7
  br label %149

132:                                              ; preds = %122, %95
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %37) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %38) #7
  invoke void @_ZNK4var3IdEmlEd(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %38, ptr noundef nonnull align 8 dereferenceable(24) %5, double noundef %10)
          to label %133 unwind label %151

133:                                              ; preds = %132
  invoke void @_ZNK4var3IdEplERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %37, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %38)
          to label %134 unwind label %151

134:                                              ; preds = %133
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %38) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %39) #7
  invoke void @_Z15rotateAroundVec4var3IdEdS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %39, ptr noundef nonnull byval(%class.var3) align 8 %5, double noundef %11, ptr noundef nonnull byval(%class.var3) align 8 %15)
          to label %135 unwind label %153

135:                                              ; preds = %134
  br i1 %83, label %136, label %163

136:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %40) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %41) #7
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %41, double noundef %70, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %137 unwind label %155

137:                                              ; preds = %136
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %40, ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(24) %41)
          to label %138 unwind label %155

138:                                              ; preds = %137
  %139 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 4) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %139, ptr noundef nonnull align 8 dereferenceable(24) %40, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %41) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %40) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %42) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %43) #7
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %43, double noundef %79, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %140 unwind label %157

140:                                              ; preds = %138
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %42, ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(24) %43)
          to label %141 unwind label %157

141:                                              ; preds = %140
  %142 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 5) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %142, ptr noundef nonnull align 8 dereferenceable(24) %42, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %43) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %42) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %44) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %45) #7
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %45, double noundef %7, ptr noundef nonnull align 8 dereferenceable(24) %39)
          to label %143 unwind label %159

143:                                              ; preds = %141
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %44, ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(24) %45)
          to label %144 unwind label %159

144:                                              ; preds = %143
  %145 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 6) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %145, ptr noundef nonnull align 8 dereferenceable(24) %44, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %45) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %44) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %46) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %47) #7
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %47, double noundef %6, ptr noundef nonnull align 8 dereferenceable(24) %39)
          to label %146 unwind label %161

146:                                              ; preds = %144
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %46, ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(24) %47)
          to label %147 unwind label %161

147:                                              ; preds = %146
  %148 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 7) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %148, ptr noundef nonnull align 8 dereferenceable(24) %46, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %47) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %46) #7
  br label %184

149:                                              ; preds = %130, %128, %126, %124, %109, %107, %105, %103, %101
  %.pn = phi { ptr, i32 } [ %110, %109 ], [ %108, %107 ], [ %106, %105 ], [ %104, %103 ], [ %131, %130 ], [ %129, %128 ], [ %127, %126 ], [ %125, %124 ], [ %102, %101 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #7
  br label %150

150:                                              ; preds = %149, %99
  %.pn.pn = phi { ptr, i32 } [ %.pn, %149 ], [ %100, %99 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #7
  br label %221

151:                                              ; preds = %133, %132
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %38) #7
  br label %188

153:                                              ; preds = %134
  %154 = landingpad { ptr, i32 }
          cleanup
  br label %187

155:                                              ; preds = %137, %136
  %156 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %41) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %40) #7
  br label %187

157:                                              ; preds = %140, %138
  %158 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %43) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %42) #7
  br label %187

159:                                              ; preds = %143, %141
  %160 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %45) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %44) #7
  br label %187

161:                                              ; preds = %146, %144
  %162 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %47) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %46) #7
  br label %187

163:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %48) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %49) #7
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %49, double noundef %70, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %164 unwind label %176

164:                                              ; preds = %163
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %48, ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(24) %49)
          to label %165 unwind label %176

165:                                              ; preds = %164
  %166 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 7) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %166, ptr noundef nonnull align 8 dereferenceable(24) %48, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %49) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %48) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %50) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %51) #7
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %51, double noundef %79, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %167 unwind label %178

167:                                              ; preds = %165
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %50, ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(24) %51)
          to label %168 unwind label %178

168:                                              ; preds = %167
  %169 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 6) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %169, ptr noundef nonnull align 8 dereferenceable(24) %50, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %51) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %50) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %52) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %53) #7
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %53, double noundef %7, ptr noundef nonnull align 8 dereferenceable(24) %39)
          to label %170 unwind label %180

170:                                              ; preds = %168
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %52, ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(24) %53)
          to label %171 unwind label %180

171:                                              ; preds = %170
  %172 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 5) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %172, ptr noundef nonnull align 8 dereferenceable(24) %52, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %53) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %52) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %54) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %55) #7
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %55, double noundef %6, ptr noundef nonnull align 8 dereferenceable(24) %39)
          to label %173 unwind label %182

173:                                              ; preds = %171
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %54, ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(24) %55)
          to label %174 unwind label %182

174:                                              ; preds = %173
  %175 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 4) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %175, ptr noundef nonnull align 8 dereferenceable(24) %54, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %55) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %54) #7
  br label %184

176:                                              ; preds = %164, %163
  %177 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %49) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %48) #7
  br label %187

178:                                              ; preds = %167, %165
  %179 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %51) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %50) #7
  br label %187

180:                                              ; preds = %170, %168
  %181 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %53) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %52) #7
  br label %187

182:                                              ; preds = %173, %171
  %183 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %55) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %54) #7
  br label %187

184:                                              ; preds = %174, %147
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %39) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %37) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %56) #7
  %185 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0) #7
  %186 = invoke noundef i32 @_Z17findOrInsertPointRSt6vectorI4var3IdESaIS1_EERS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %185)
          to label %189 unwind label %219

187:                                              ; preds = %182, %180, %178, %176, %161, %159, %157, %155, %153
  %.pn53 = phi { ptr, i32 } [ %162, %161 ], [ %160, %159 ], [ %158, %157 ], [ %156, %155 ], [ %183, %182 ], [ %181, %180 ], [ %179, %178 ], [ %177, %176 ], [ %154, %153 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %39) #7
  br label %188

188:                                              ; preds = %187, %151
  %.pn53.pn = phi { ptr, i32 } [ %.pn53, %187 ], [ %152, %151 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %37) #7
  br label %221

189:                                              ; preds = %184
  store i32 %186, ptr %56, align 4, !tbaa !10
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(4) %56)
          to label %190 unwind label %219

190:                                              ; preds = %189
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %56) #7
  %191 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 1) #7
  %192 = invoke noundef i32 @_Z17findOrInsertPointRSt6vectorI4var3IdESaIS1_EERS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %191)
          to label %193 unwind label %219

193:                                              ; preds = %190
  store i32 %192, ptr %56, align 4, !tbaa !10
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(4) %56)
          to label %194 unwind label %219

194:                                              ; preds = %193
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %56) #7
  %195 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 2) #7
  %196 = invoke noundef i32 @_Z17findOrInsertPointRSt6vectorI4var3IdESaIS1_EERS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %195)
          to label %197 unwind label %219

197:                                              ; preds = %194
  store i32 %196, ptr %56, align 4, !tbaa !10
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(4) %56)
          to label %198 unwind label %219

198:                                              ; preds = %197
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %56) #7
  %199 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 3) #7
  %200 = invoke noundef i32 @_Z17findOrInsertPointRSt6vectorI4var3IdESaIS1_EERS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %199)
          to label %201 unwind label %219

201:                                              ; preds = %198
  store i32 %200, ptr %56, align 4, !tbaa !10
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(4) %56)
          to label %202 unwind label %219

202:                                              ; preds = %201
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %56) #7
  %203 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 4) #7
  %204 = invoke noundef i32 @_Z17findOrInsertPointRSt6vectorI4var3IdESaIS1_EERS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %203)
          to label %205 unwind label %219

205:                                              ; preds = %202
  store i32 %204, ptr %56, align 4, !tbaa !10
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(4) %56)
          to label %206 unwind label %219

206:                                              ; preds = %205
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %56) #7
  %207 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 5) #7
  %208 = invoke noundef i32 @_Z17findOrInsertPointRSt6vectorI4var3IdESaIS1_EERS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %207)
          to label %209 unwind label %219

209:                                              ; preds = %206
  store i32 %208, ptr %56, align 4, !tbaa !10
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(4) %56)
          to label %210 unwind label %219

210:                                              ; preds = %209
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %56) #7
  %211 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 6) #7
  %212 = invoke noundef i32 @_Z17findOrInsertPointRSt6vectorI4var3IdESaIS1_EERS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %211)
          to label %213 unwind label %219

213:                                              ; preds = %210
  store i32 %212, ptr %56, align 4, !tbaa !10
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(4) %56)
          to label %214 unwind label %219

214:                                              ; preds = %213
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %56) #7
  %215 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 7) #7
  %216 = invoke noundef i32 @_Z17findOrInsertPointRSt6vectorI4var3IdESaIS1_EERS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %215)
          to label %217 unwind label %219

217:                                              ; preds = %214
  store i32 %216, ptr %56, align 4, !tbaa !10
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(4) %56)
          to label %218 unwind label %219

218:                                              ; preds = %217
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #7
  call void @_ZNSt6vectorI4var3IdESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  ret void

219:                                              ; preds = %217, %214, %213, %210, %209, %206, %205, %202, %201, %198, %197, %194, %193, %190, %189, %184
  %220 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #7
  br label %221

221:                                              ; preds = %219, %188, %150
  %.pn56 = phi { ptr, i32 } [ %220, %219 ], [ %.pn53.pn, %188 ], [ %.pn.pn, %150 ]
  call void @_ZNSt6vectorI4var3IdESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  br label %222

222:                                              ; preds = %221, %97
  %.pn56.pn = phi { ptr, i32 } [ %.pn56, %221 ], [ %98, %97 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  resume { ptr, i32 } %.pn56.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind noalias writable sret(%class.var3) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4var3IdEdvEd(ptr dead_on_unwind noalias writable sret(%class.var3) align 8, ptr noundef nonnull align 8 dereferenceable(24), double noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z3magIdET_RK4var3IS0_E(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4var3IdEplERKS0_(ptr dead_on_unwind noalias writable sret(%class.var3) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4var3IdEmlEd(ptr dead_on_unwind noalias writable sret(%class.var3) align 8, ptr noundef nonnull align 8 dereferenceable(24), double noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind noalias writable sret(%class.var3) align 8, double noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { mustprogress nofree nounwind willreturn memory(write) "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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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 = !{i64 0, i64 8, !6, i64 8, i64 8, !6, i64 16, i64 8, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,MemCpyOptPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass