; LLVM IR from ImperialCollegeLondon/pnflow :: src/pnm/pnextract (writers_vtk)

; 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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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" = type { i8 }

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z16insertHalfCornerRSt6vectorI4var3IdESaIS1_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) #0 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", align 8
  %26 = alloca %"class.std::allocator", align 1
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  %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 double, align 8
  %35 = alloca double, 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 i32, align 4
  %74 = 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) #4
  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) #4
  %75 = call noundef double @_Z3magIdET_RK4var3IS0_E(ptr noundef nonnull align 8 dereferenceable(24) %23)
  %76 = fadd double %75, 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 %76)
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #4
  call void @_ZNSaI4var3IdEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #4
  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 %77 unwind label %104

77:                                               ; preds = %13
  call void @_ZNSt15__new_allocatorI4var3IdEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #4
  %78 = load double, ptr %20, align 8, !tbaa !9
  invoke void @_ZNK4var3IdEmlEd(ptr dead_on_unwind writable sret(%class.var3) align 8 %30, ptr noundef nonnull align 8 dereferenceable(24) %4, double noundef %78)
          to label %79 unwind label %108

79:                                               ; preds = %77
  invoke void @_ZNK4var3IdEplERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %29, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %30)
          to label %80 unwind label %108

80:                                               ; preds = %79
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %32, ptr align 8 %4, i64 24, i1 false), !tbaa.struct !11
  %81 = load double, ptr %21, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %33, ptr align 8 %24, i64 24, i1 false), !tbaa.struct !11
  invoke void @_Z15rotateAroundVecIdE4var3IT_ES2_dS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %31, ptr noundef byval(%class.var3) align 8 %32, double noundef %81, ptr noundef byval(%class.var3) align 8 %33)
          to label %82 unwind label %112

82:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #4
  %83 = load double, ptr %16, align 8, !tbaa !9
  store double %83, ptr %34, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #4
  %84 = load double, ptr %17, align 8, !tbaa !9
  store double %84, ptr %35, align 8, !tbaa !9
  %85 = load double, ptr %21, align 8, !tbaa !9
  %86 = fcmp ogt double %85, 0.000000e+00
  br i1 %86, label %87, label %132

87:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 24, ptr %36) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #4
  %88 = load double, ptr %34, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %37, double noundef %88, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %89 unwind label %116

89:                                               ; preds = %87
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %36, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %37)
          to label %90 unwind label %116

90:                                               ; preds = %89
  %91 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 0) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %91, ptr align 8 %36, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %38) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %39) #4
  %92 = load double, ptr %35, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %39, double noundef %92, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %93 unwind label %120

93:                                               ; preds = %90
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %38, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %39)
          to label %94 unwind label %120

94:                                               ; preds = %93
  %95 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 1) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %95, ptr align 8 %38, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %40) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %41) #4
  %96 = load double, ptr %17, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %41, double noundef %96, ptr noundef nonnull align 8 dereferenceable(24) %31)
          to label %97 unwind label %124

97:                                               ; preds = %94
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %40, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %41)
          to label %98 unwind label %124

98:                                               ; preds = %97
  %99 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 2) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %99, ptr align 8 %40, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %42) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %43) #4
  %100 = load double, ptr %16, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %43, double noundef %100, ptr noundef nonnull align 8 dereferenceable(24) %31)
          to label %101 unwind label %128

101:                                              ; preds = %98
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %42, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %43)
          to label %102 unwind label %128

102:                                              ; preds = %101
  %103 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 3) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %103, ptr align 8 %42, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #4
  br label %165

104:                                              ; preds = %13
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %27, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %28, align 4
  call void @_ZNSt15__new_allocatorI4var3IdEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #4
  br label %272

108:                                              ; preds = %79, %77
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %27, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #4
  br label %271

112:                                              ; preds = %80
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %27, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %28, align 4
  br label %270

116:                                              ; preds = %89, %87
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %27, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #4
  br label %269

120:                                              ; preds = %93, %90
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %27, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #4
  br label %269

124:                                              ; preds = %97, %94
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %27, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #4
  br label %269

128:                                              ; preds = %101, %98
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %27, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #4
  br label %269

132:                                              ; preds = %82
  call void @llvm.lifetime.start.p0(i64 24, ptr %44) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %45) #4
  %133 = load double, ptr %34, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %45, double noundef %133, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %134 unwind label %149

134:                                              ; preds = %132
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %44, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %45)
          to label %135 unwind label %149

135:                                              ; preds = %134
  %136 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 3) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %136, ptr align 8 %44, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %46) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %47) #4
  %137 = load double, ptr %35, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %47, double noundef %137, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %138 unwind label %153

138:                                              ; preds = %135
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %46, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %47)
          to label %139 unwind label %153

139:                                              ; preds = %138
  %140 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 2) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %140, ptr align 8 %46, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %48) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %49) #4
  %141 = load double, ptr %17, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %49, double noundef %141, ptr noundef nonnull align 8 dereferenceable(24) %31)
          to label %142 unwind label %157

142:                                              ; preds = %139
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %48, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %49)
          to label %143 unwind label %157

143:                                              ; preds = %142
  %144 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 1) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %144, ptr align 8 %48, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %50) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %51) #4
  %145 = load double, ptr %16, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %51, double noundef %145, ptr noundef nonnull align 8 dereferenceable(24) %31)
          to label %146 unwind label %161

146:                                              ; preds = %143
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %50, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %51)
          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) %25, i64 noundef 0) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %148, ptr align 8 %50, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %51) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %50) #4
  br label %165

149:                                              ; preds = %134, %132
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %27, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #4
  br label %269

153:                                              ; preds = %138, %135
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %27, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #4
  br label %269

157:                                              ; preds = %142, %139
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %27, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #4
  br label %269

161:                                              ; preds = %146, %143
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %27, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %51) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %50) #4
  br label %269

165:                                              ; preds = %147, %102
  call void @llvm.lifetime.start.p0(i64 24, ptr %52) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %53) #4
  %166 = load double, ptr %20, align 8, !tbaa !9
  invoke void @_ZNK4var3IdEmlEd(ptr dead_on_unwind writable sret(%class.var3) align 8 %53, ptr noundef nonnull align 8 dereferenceable(24) %5, double noundef %166)
          to label %167 unwind label %190

167:                                              ; preds = %165
  invoke void @_ZNK4var3IdEplERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %52, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %53)
          to label %168 unwind label %190

168:                                              ; preds = %167
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %29, ptr align 8 %52, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %54) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %55, ptr align 8 %5, i64 24, i1 false), !tbaa.struct !11
  %169 = load double, ptr %21, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %56, ptr align 8 %24, i64 24, i1 false), !tbaa.struct !11
  invoke void @_Z15rotateAroundVecIdE4var3IT_ES2_dS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %54, ptr noundef byval(%class.var3) align 8 %55, double noundef %169, ptr noundef byval(%class.var3) align 8 %56)
          to label %170 unwind label %194

170:                                              ; preds = %168
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %31, ptr align 8 %54, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #4
  %171 = load double, ptr %21, align 8, !tbaa !9
  %172 = fcmp ogt double %171, 0.000000e+00
  br i1 %172, label %173, label %214

173:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 24, ptr %57) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %58) #4
  %174 = load double, ptr %34, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %58, double noundef %174, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %175 unwind label %198

175:                                              ; preds = %173
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %57, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %58)
          to label %176 unwind label %198

176:                                              ; preds = %175
  %177 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 4) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %177, ptr align 8 %57, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %58) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %57) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %59) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %60) #4
  %178 = load double, ptr %35, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %60, double noundef %178, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %179 unwind label %202

179:                                              ; preds = %176
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %59, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %60)
          to label %180 unwind label %202

180:                                              ; preds = %179
  %181 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 5) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %181, ptr align 8 %59, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %60) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %59) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %61) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %62) #4
  %182 = load double, ptr %17, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %62, double noundef %182, ptr noundef nonnull align 8 dereferenceable(24) %31)
          to label %183 unwind label %206

183:                                              ; preds = %180
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %61, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %62)
          to label %184 unwind label %206

184:                                              ; preds = %183
  %185 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 6) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %185, ptr align 8 %61, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %62) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %61) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %63) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %64) #4
  %186 = load double, ptr %16, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %64, double noundef %186, ptr noundef nonnull align 8 dereferenceable(24) %31)
          to label %187 unwind label %210

187:                                              ; preds = %184
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %63, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %64)
          to label %188 unwind label %210

188:                                              ; preds = %187
  %189 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 7) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %189, ptr align 8 %63, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %64) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %63) #4
  br label %247

190:                                              ; preds = %167, %165
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %27, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #4
  br label %269

194:                                              ; preds = %168
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %27, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #4
  br label %269

198:                                              ; preds = %175, %173
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %27, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %58) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %57) #4
  br label %269

202:                                              ; preds = %179, %176
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %27, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %60) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %59) #4
  br label %269

206:                                              ; preds = %183, %180
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %27, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %62) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %61) #4
  br label %269

210:                                              ; preds = %187, %184
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %27, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %64) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %63) #4
  br label %269

214:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 24, ptr %65) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %66) #4
  %215 = load double, ptr %34, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %66, double noundef %215, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %216 unwind label %231

216:                                              ; preds = %214
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %65, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %66)
          to label %217 unwind label %231

217:                                              ; preds = %216
  %218 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 7) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %218, ptr align 8 %65, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %66) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %65) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %67) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %68) #4
  %219 = load double, ptr %35, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %68, double noundef %219, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %220 unwind label %235

220:                                              ; preds = %217
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %67, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %68)
          to label %221 unwind label %235

221:                                              ; preds = %220
  %222 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 6) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %222, ptr align 8 %67, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %68) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %67) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %69) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %70) #4
  %223 = load double, ptr %17, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %70, double noundef %223, ptr noundef nonnull align 8 dereferenceable(24) %31)
          to label %224 unwind label %239

224:                                              ; preds = %221
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %69, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %70)
          to label %225 unwind label %239

225:                                              ; preds = %224
  %226 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 5) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %226, ptr align 8 %69, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %70) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %69) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %71) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %72) #4
  %227 = load double, ptr %16, align 8, !tbaa !9
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %72, double noundef %227, ptr noundef nonnull align 8 dereferenceable(24) %31)
          to label %228 unwind label %243

228:                                              ; preds = %225
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %71, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %72)
          to label %229 unwind label %243

229:                                              ; preds = %228
  %230 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 4) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %230, ptr align 8 %71, i64 24, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %72) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %71) #4
  br label %247

231:                                              ; preds = %216, %214
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %27, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %66) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %65) #4
  br label %269

235:                                              ; preds = %220, %217
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %27, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %68) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %67) #4
  br label %269

239:                                              ; preds = %224, %221
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %27, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %70) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %69) #4
  br label %269

243:                                              ; preds = %228, %225
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %27, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %72) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %71) #4
  br label %269

247:                                              ; preds = %229, %188
  call void @llvm.lifetime.start.p0(i64 4, ptr %73) #4
  store i32 0, ptr %73, align 4, !tbaa !12
  br label %248

248:                                              ; preds = %261, %247
  %249 = load i32, ptr %73, align 4, !tbaa !12
  %250 = icmp slt i32 %249, 8
  br i1 %250, label %252, label %251

251:                                              ; preds = %248
  call void @llvm.lifetime.end.p0(i64 4, ptr %73) #4
  br label %268

252:                                              ; preds = %248
  %253 = load ptr, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %74) #4
  %254 = load ptr, ptr %14, align 8, !tbaa !5
  %255 = load i32, ptr %73, align 4, !tbaa !12
  %256 = sext i32 %255 to i64
  %257 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %256) #4
  %258 = invoke noundef i32 @_Z12findOrInsertRSt6vectorI4var3IdESaIS1_EERS1_(ptr noundef nonnull align 8 dereferenceable(24) %254, ptr noundef nonnull align 8 dereferenceable(24) %257)
          to label %259 unwind label %264

259:                                              ; preds = %252
  store i32 %258, ptr %74, align 4, !tbaa !12
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %253, ptr noundef nonnull align 4 dereferenceable(4) %74)
          to label %260 unwind label %264

260:                                              ; preds = %259
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #4
  br label %261

261:                                              ; preds = %260
  %262 = load i32, ptr %73, align 4, !tbaa !12
  %263 = add nsw i32 %262, 1
  store i32 %263, ptr %73, align 4, !tbaa !12
  br label %248, !llvm.loop !14

264:                                              ; preds = %259, %252
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %27, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %73) #4
  br label %269

268:                                              ; preds = %251
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #4
  call void @_ZNSt6vectorI4var3IdESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #4
  ret void

269:                                              ; preds = %264, %243, %239, %235, %231, %210, %206, %202, %198, %194, %190, %161, %157, %153, %149, %128, %124, %120, %116
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #4
  br label %270

270:                                              ; preds = %269, %112
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #4
  br label %271

271:                                              ; preds = %270, %108
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #4
  call void @_ZNSt6vectorI4var3IdESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #4
  br label %272

272:                                              ; preds = %271, %104
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #4
  br label %273

273:                                              ; preds = %272
  %274 = load ptr, ptr %27, align 8
  %275 = load i32, ptr %28, align 4
  %276 = insertvalue { ptr, i32 } poison, ptr %274, 0
  %277 = insertvalue { ptr, i32 } %276, i32 %275, 1
  resume { ptr, i32 } %277
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15rotateAroundVecIdE4var3IT_ES2_dS2_(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) #0

; 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) #3

; 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)) #0

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

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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" = type { i8 }

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z16insertHalfCornerRSt6vectorI4var3IdESaIS1_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 #0 personality ptr @__gxx_personality_v0 {
  %14 = alloca %class.var3, align 8
  %15 = alloca %class.var3, align 8
  %16 = alloca %"class.std::vector", align 8
  %17 = alloca %"class.std::allocator", 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) #4
  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) #4
  %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) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #4
  call void @_ZNSaI4var3IdEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #4
  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 %77

59:                                               ; preds = %13
  call void @_ZNSt15__new_allocatorI4var3IdEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #4
  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 %60 unwind label %79

60:                                               ; 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 %61 unwind label %79

61:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #4
  invoke void @_Z15rotateAroundVecIdE4var3IT_ES2_dS2_(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 %62 unwind label %81

62:                                               ; preds = %61
  %63 = fcmp ogt double %11, 0.000000e+00
  br i1 %63, label %64, label %91

64:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #4
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %22, double noundef %6, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %65 unwind label %83

65:                                               ; preds = %64
  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 %66 unwind label %83

66:                                               ; preds = %65
  %67 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %67, 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) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #4
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %24, double noundef %7, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %68 unwind label %85

68:                                               ; preds = %66
  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 %69 unwind label %85

69:                                               ; preds = %68
  %70 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 1) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %70, 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) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %26) #4
  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 %71 unwind label %87

71:                                               ; preds = %69
  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 %72 unwind label %87

72:                                               ; preds = %71
  %73 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 2) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %73, 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) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #4
  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 %74 unwind label %89

74:                                               ; preds = %72
  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 %75 unwind label %89

75:                                               ; preds = %74
  %76 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 3) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %76, 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) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #4
  br label %112

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

79:                                               ; preds = %60, %59
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #4
  br label %198

81:                                               ; preds = %61
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %197

83:                                               ; preds = %65, %64
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #4
  br label %197

85:                                               ; preds = %68, %66
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #4
  br label %197

87:                                               ; preds = %71, %69
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #4
  br label %197

89:                                               ; preds = %74, %72
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #4
  br label %197

91:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %30) #4
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %30, double noundef %6, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %92 unwind label %104

92:                                               ; preds = %91
  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 %93 unwind label %104

93:                                               ; preds = %92
  %94 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 3) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %94, 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) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %31) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %32) #4
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %32, double noundef %7, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %95 unwind label %106

95:                                               ; preds = %93
  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 %96 unwind label %106

96:                                               ; preds = %95
  %97 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 2) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %97, 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) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %33) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %34) #4
  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 %98 unwind label %108

98:                                               ; preds = %96
  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 %99 unwind label %108

99:                                               ; preds = %98
  %100 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 1) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %100, 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) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %35) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %36) #4
  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 %101 unwind label %110

101:                                              ; preds = %99
  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 %102 unwind label %110

102:                                              ; preds = %101
  %103 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %103, 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) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %35) #4
  br label %112

104:                                              ; preds = %92, %91
  %105 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %30) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #4
  br label %197

106:                                              ; preds = %95, %93
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %32) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #4
  br label %197

108:                                              ; preds = %98, %96
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #4
  br label %197

110:                                              ; preds = %101, %99
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %35) #4
  br label %197

112:                                              ; preds = %102, %75
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %37) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %38) #4
  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 %113 unwind label %129

113:                                              ; preds = %112
  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 %114 unwind label %129

114:                                              ; preds = %113
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %37, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %38) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %37) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %39) #4
  invoke void @_Z15rotateAroundVecIdE4var3IT_ES2_dS2_(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 %115 unwind label %131

115:                                              ; preds = %114
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(24) %39, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %39) #4
  br i1 %63, label %116, label %141

116:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %40) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %41) #4
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %41, double noundef %6, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %117 unwind label %133

117:                                              ; preds = %116
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %40, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %41)
          to label %118 unwind label %133

118:                                              ; preds = %117
  %119 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 4) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %119, 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) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %40) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %42) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %43) #4
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %43, double noundef %7, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %120 unwind label %135

120:                                              ; preds = %118
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %42, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %43)
          to label %121 unwind label %135

121:                                              ; preds = %120
  %122 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 5) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %122, 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) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %42) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %44) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %45) #4
  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) %20)
          to label %123 unwind label %137

123:                                              ; preds = %121
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %44, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %45)
          to label %124 unwind label %137

124:                                              ; preds = %123
  %125 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 6) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %125, 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) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %44) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %46) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %47) #4
  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) %20)
          to label %126 unwind label %139

126:                                              ; preds = %124
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %46, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %47)
          to label %127 unwind label %139

127:                                              ; preds = %126
  %128 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 7) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %128, 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) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %46) #4
  br label %162

129:                                              ; preds = %113, %112
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %38) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %37) #4
  br label %197

131:                                              ; preds = %114
  %132 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %39) #4
  br label %197

133:                                              ; preds = %117, %116
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %41) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %40) #4
  br label %197

135:                                              ; preds = %120, %118
  %136 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %43) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %42) #4
  br label %197

137:                                              ; preds = %123, %121
  %138 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %45) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %44) #4
  br label %197

139:                                              ; preds = %126, %124
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %47) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %46) #4
  br label %197

141:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %48) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %49) #4
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %49, double noundef %6, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %142 unwind label %154

142:                                              ; preds = %141
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %48, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %49)
          to label %143 unwind label %154

143:                                              ; preds = %142
  %144 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 7) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %144, 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) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %48) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %50) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %51) #4
  invoke void @_ZmlIdE4var3IT_EdRKS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %51, double noundef %7, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %145 unwind label %156

145:                                              ; preds = %143
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %50, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %51)
          to label %146 unwind label %156

146:                                              ; preds = %145
  %147 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 6) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %147, 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) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %50) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %52) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %53) #4
  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) %20)
          to label %148 unwind label %158

148:                                              ; preds = %146
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %52, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %53)
          to label %149 unwind label %158

149:                                              ; preds = %148
  %150 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 5) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %150, 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) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %52) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %54) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %55) #4
  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) %20)
          to label %151 unwind label %160

151:                                              ; preds = %149
  invoke void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %54, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %55)
          to label %152 unwind label %160

152:                                              ; preds = %151
  %153 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 4) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %153, 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) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %54) #4
  br label %162

154:                                              ; preds = %142, %141
  %155 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %49) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %48) #4
  br label %197

156:                                              ; preds = %145, %143
  %157 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %51) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %50) #4
  br label %197

158:                                              ; preds = %148, %146
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %53) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %52) #4
  br label %197

160:                                              ; preds = %151, %149
  %161 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %55) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %54) #4
  br label %197

162:                                              ; preds = %152, %127
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %56) #4
  %163 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0) #4
  %164 = invoke noundef i32 @_Z12findOrInsertRSt6vectorI4var3IdESaIS1_EERS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %163)
          to label %165 unwind label %195

165:                                              ; preds = %162
  store i32 %164, 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 %166 unwind label %195

166:                                              ; preds = %165
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %56) #4
  %167 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 1) #4
  %168 = invoke noundef i32 @_Z12findOrInsertRSt6vectorI4var3IdESaIS1_EERS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %167)
          to label %169 unwind label %195

169:                                              ; preds = %166
  store i32 %168, 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 %170 unwind label %195

170:                                              ; preds = %169
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %56) #4
  %171 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 2) #4
  %172 = invoke noundef i32 @_Z12findOrInsertRSt6vectorI4var3IdESaIS1_EERS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %171)
          to label %173 unwind label %195

173:                                              ; preds = %170
  store i32 %172, 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 %174 unwind label %195

174:                                              ; preds = %173
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %56) #4
  %175 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 3) #4
  %176 = invoke noundef i32 @_Z12findOrInsertRSt6vectorI4var3IdESaIS1_EERS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %175)
          to label %177 unwind label %195

177:                                              ; preds = %174
  store i32 %176, 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 %178 unwind label %195

178:                                              ; preds = %177
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %56) #4
  %179 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 4) #4
  %180 = invoke noundef i32 @_Z12findOrInsertRSt6vectorI4var3IdESaIS1_EERS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %179)
          to label %181 unwind label %195

181:                                              ; preds = %178
  store i32 %180, 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 %182 unwind label %195

182:                                              ; preds = %181
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %56) #4
  %183 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 5) #4
  %184 = invoke noundef i32 @_Z12findOrInsertRSt6vectorI4var3IdESaIS1_EERS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %183)
          to label %185 unwind label %195

185:                                              ; preds = %182
  store i32 %184, 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 %186 unwind label %195

186:                                              ; preds = %185
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %56) #4
  %187 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4var3IdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 6) #4
  %188 = invoke noundef i32 @_Z12findOrInsertRSt6vectorI4var3IdESaIS1_EERS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %187)
          to label %189 unwind label %195

189:                                              ; preds = %186
  store i32 %188, 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 %195

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

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 %195

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

195:                                              ; preds = %193, %190, %189, %186, %185, %182, %181, %178, %177, %174, %173, %170, %169, %166, %165, %162
  %196 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #4
  br label %197

197:                                              ; preds = %83, %85, %87, %89, %104, %106, %108, %110, %129, %131, %133, %135, %137, %139, %154, %156, %158, %160, %195, %81
  %.pn.pn = phi { ptr, i32 } [ %82, %81 ], [ %196, %195 ], [ %140, %139 ], [ %138, %137 ], [ %136, %135 ], [ %134, %133 ], [ %161, %160 ], [ %159, %158 ], [ %157, %156 ], [ %155, %154 ], [ %132, %131 ], [ %130, %129 ], [ %90, %89 ], [ %88, %87 ], [ %86, %85 ], [ %84, %83 ], [ %111, %110 ], [ %109, %108 ], [ %107, %106 ], [ %105, %104 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #4
  br label %198

198:                                              ; preds = %197, %79
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %197 ], [ %80, %79 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #4
  call void @_ZNSt6vectorI4var3IdESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #4
  br label %199

199:                                              ; preds = %198, %77
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %198 ], [ %78, %77 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #4
  resume { ptr, i32 } %.pn.pn.pn.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 #0 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 #0 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 #2

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15rotateAroundVecIdE4var3IT_ES2_dS2_(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 #0

; 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) #3

; 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 #0

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

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

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

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