; LLVM IR from Lut1n/ImpGears :: src/ImpGears/Geometry/Geometry.ll (ZN3imp14subdivTriangleERKNS_8GeometryEi)

; 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.imp::Geometry" = type <{ %"class.imp::Object", i32, [4 x i8], %"class.std::vector", %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.5", i8, i8, i8, i8, [4 x i8] }>
%"class.imp::Object" = type { ptr, %"class.std::shared_ptr" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<imp::Vec3, std::allocator<imp::Vec3>>::_Vector_impl" }
%"struct.std::_Vector_base<imp::Vec3, std::allocator<imp::Vec3>>::_Vector_impl" = type { %"struct.std::_Vector_base<imp::Vec3, std::allocator<imp::Vec3>>::_Vector_impl_data" }
%"struct.std::_Vector_base<imp::Vec3, std::allocator<imp::Vec3>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<imp::Vec<2, float>, std::allocator<imp::Vec<2, float>>>::_Vector_impl" }
%"struct.std::_Vector_base<imp::Vec<2, float>, std::allocator<imp::Vec<2, float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<imp::Vec<2, float>, std::allocator<imp::Vec<2, float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<imp::Vec<2, float>, std::allocator<imp::Vec<2, float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.imp::Vec3" = type { %"class.imp::Vec.base", [4 x i8] }
%"class.imp::Vec.base" = type <{ %"class.imp::Object", [3 x float] }>
%"class.imp::Vec" = type <{ %"class.imp::Object", [3 x float], [4 x i8] }>
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::allocator.2" = type { i8 }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3imp14subdivTriangleERKNS_8GeometryEi(ptr dead_on_unwind noalias writable sret(%"class.imp::Geometry") align 8 %0, ptr noundef nonnull align 8 dereferenceable(156) %1, i32 noundef %2) #1 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i1, align 1
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.imp::Vec3", align 8
  %14 = alloca %"class.imp::Vec", align 8
  %15 = alloca %"class.imp::Vec", align 8
  %16 = alloca %"class.imp::Vec3", align 8
  %17 = alloca %"class.imp::Vec", align 8
  %18 = alloca %"class.imp::Vec", align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %"class.imp::Vec3", align 8
  %23 = alloca %"class.imp::Vec", align 8
  %24 = alloca %"class.imp::Vec", align 8
  %25 = alloca %"class.imp::Vec", align 8
  %26 = alloca %"class.imp::Vec3", align 8
  %27 = alloca %"class.imp::Vec", align 8
  %28 = alloca %"class.imp::Vec3", align 8
  %29 = alloca %"class.imp::Vec3", align 8
  %30 = alloca %"class.imp::Vec", align 8
  %31 = alloca %"class.imp::Vec", align 8
  %32 = alloca %"class.imp::Vec", align 8
  %33 = alloca %"class.imp::Vec3", align 8
  %34 = alloca %"class.imp::Vec", align 8
  %35 = alloca %"class.imp::Vec3", align 8
  %36 = alloca %"class.imp::Vec3", align 8
  %37 = alloca %"class.imp::Vec", align 8
  %38 = alloca %"class.imp::Vec", align 8
  %39 = alloca %"class.imp::Vec", align 8
  %40 = alloca %"class.imp::Vec3", align 8
  %41 = alloca %"class.imp::Vec", align 8
  %42 = alloca %"class.imp::Vec3", align 8
  %43 = alloca %"class.imp::Vec3", align 8
  %44 = alloca %"class.imp::Vec", align 8
  %45 = alloca %"class.imp::Vec", align 8
  %46 = alloca %"class.imp::Vec", align 8
  %47 = alloca %"class.imp::Vec3", align 8
  %48 = alloca %"class.imp::Vec", align 8
  %49 = alloca %"class.imp::Vec3", align 8
  %50 = alloca %"class.std::vector.0", align 8
  %51 = alloca %"class.std::initializer_list", align 8
  %52 = alloca [3 x %"class.imp::Vec3"], align 8
  %53 = alloca %"class.std::allocator.2", align 1
  %54 = alloca %"class.std::vector.0", align 8
  %55 = alloca %"class.std::initializer_list", align 8
  %56 = alloca [3 x %"class.imp::Vec3"], align 8
  %57 = alloca %"class.std::allocator.2", align 1
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  store i1 false, ptr %7, align 1
  call void @_ZN3imp8GeometryC1Ev(ptr noundef nonnull align 8 dereferenceable(156) %0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %58 = load i32, ptr %6, align 4, !tbaa !9
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %60

60:                                               ; preds = %458, %3
  %61 = load i32, ptr %9, align 4, !tbaa !9
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = invoke noundef i32 @_ZNK3imp8Geometry4sizeEv(ptr noundef nonnull align 8 dereferenceable(156) %62)
          to label %64 unwind label %67

64:                                               ; preds = %60
  %65 = icmp slt i32 %61, %63
  br i1 %65, label %71, label %66

66:                                               ; preds = %64
  store i32 2, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %464

67:                                               ; preds = %60
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %10, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %11, align 4
  br label %463

71:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 40, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %15) #4
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = load i32, ptr %9, align 4, !tbaa !9
  %74 = add nsw i32 %73, 1
  %75 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %72, i32 noundef %74)
          to label %76 unwind label %107

76:                                               ; preds = %71
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = load i32, ptr %9, align 4, !tbaa !9
  %79 = add nsw i32 %78, 0
  %80 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %77, i32 noundef %79)
          to label %81 unwind label %107

81:                                               ; preds = %76
  invoke void @_ZNK3imp3VecILi3EfEmiERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %15, ptr noundef nonnull align 8 dereferenceable(36) %75, ptr noundef nonnull align 8 dereferenceable(36) %80)
          to label %82 unwind label %107

82:                                               ; preds = %81
  %83 = load i32, ptr %8, align 4, !tbaa !9
  %84 = sitofp i32 %83 to float
  invoke void @_ZNK3imp3VecILi3EfEdvEf(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %14, ptr noundef nonnull align 8 dereferenceable(36) %15, float noundef %84)
          to label %85 unwind label %111

85:                                               ; preds = %82
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %13, ptr noundef nonnull align 8 dereferenceable(36) %14, float noundef 1.000000e+00)
          to label %86 unwind label %115

86:                                               ; preds = %85
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %14) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %15) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %18) #4
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = load i32, ptr %9, align 4, !tbaa !9
  %89 = add nsw i32 %88, 2
  %90 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %87, i32 noundef %89)
          to label %91 unwind label %121

91:                                               ; preds = %86
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = load i32, ptr %9, align 4, !tbaa !9
  %94 = add nsw i32 %93, 0
  %95 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %92, i32 noundef %94)
          to label %96 unwind label %121

96:                                               ; preds = %91
  invoke void @_ZNK3imp3VecILi3EfEmiERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %18, ptr noundef nonnull align 8 dereferenceable(36) %90, ptr noundef nonnull align 8 dereferenceable(36) %95)
          to label %97 unwind label %121

97:                                               ; preds = %96
  %98 = load i32, ptr %8, align 4, !tbaa !9
  %99 = sitofp i32 %98 to float
  invoke void @_ZNK3imp3VecILi3EfEdvEf(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %17, ptr noundef nonnull align 8 dereferenceable(36) %18, float noundef %99)
          to label %100 unwind label %125

100:                                              ; preds = %97
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %16, ptr noundef nonnull align 8 dereferenceable(36) %17, float noundef 1.000000e+00)
          to label %101 unwind label %129

101:                                              ; preds = %100
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %17) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %18) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %102

102:                                              ; preds = %454, %101
  %103 = load i32, ptr %19, align 4, !tbaa !9
  %104 = load i32, ptr %8, align 4, !tbaa !9
  %105 = icmp slt i32 %103, %104
  br i1 %105, label %135, label %106

106:                                              ; preds = %102
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  br label %457

107:                                              ; preds = %81, %76, %71
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %10, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %11, align 4
  br label %120

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

115:                                              ; preds = %85
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %10, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %11, align 4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %14) #4
  br label %119

119:                                              ; preds = %115, %111
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %15) #4
  br label %120

120:                                              ; preds = %119, %107
  call void @llvm.lifetime.end.p0(i64 40, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %14) #4
  br label %462

121:                                              ; preds = %96, %91, %86
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %10, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %11, align 4
  br label %134

125:                                              ; preds = %97
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %10, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %11, align 4
  br label %133

129:                                              ; preds = %100
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %10, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %11, align 4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %17) #4
  br label %133

133:                                              ; preds = %129, %125
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %18) #4
  br label %134

134:                                              ; preds = %133, %121
  call void @llvm.lifetime.end.p0(i64 40, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %17) #4
  br label %461

135:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  %136 = load i32, ptr %8, align 4, !tbaa !9
  %137 = load i32, ptr %19, align 4, !tbaa !9
  %138 = sub nsw i32 %136, %137
  store i32 %138, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %139

139:                                              ; preds = %445, %135
  %140 = load i32, ptr %21, align 4, !tbaa !9
  %141 = load i32, ptr %20, align 4, !tbaa !9
  %142 = icmp slt i32 %140, %141
  br i1 %142, label %144, label %143

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

144:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 40, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %24) #4
  %145 = load ptr, ptr %5, align 8, !tbaa !5
  %146 = load i32, ptr %9, align 4, !tbaa !9
  %147 = add nsw i32 %146, 0
  %148 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %145, i32 noundef %147)
          to label %149 unwind label %256

149:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 40, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %26) #4
  %150 = load i32, ptr %21, align 4, !tbaa !9
  %151 = add nsw i32 %150, 0
  %152 = sitofp i32 %151 to float
  invoke void @_ZN3imp4Vec3C2Ef(ptr noundef nonnull align 8 dereferenceable(36) %26, float noundef %152)
          to label %153 unwind label %260

153:                                              ; preds = %149
  invoke void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %25, ptr noundef nonnull align 8 dereferenceable(36) %13, ptr noundef nonnull align 8 dereferenceable(36) %26)
          to label %154 unwind label %264

154:                                              ; preds = %153
  invoke void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %24, ptr noundef nonnull align 8 dereferenceable(36) %148, ptr noundef nonnull align 8 dereferenceable(36) %25)
          to label %155 unwind label %268

155:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 40, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %28) #4
  %156 = load i32, ptr %19, align 4, !tbaa !9
  %157 = add nsw i32 %156, 0
  %158 = sitofp i32 %157 to float
  invoke void @_ZN3imp4Vec3C2Ef(ptr noundef nonnull align 8 dereferenceable(36) %28, float noundef %158)
          to label %159 unwind label %272

159:                                              ; preds = %155
  invoke void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %27, ptr noundef nonnull align 8 dereferenceable(36) %16, ptr noundef nonnull align 8 dereferenceable(36) %28)
          to label %160 unwind label %276

160:                                              ; preds = %159
  invoke void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %23, ptr noundef nonnull align 8 dereferenceable(36) %24, ptr noundef nonnull align 8 dereferenceable(36) %27)
          to label %161 unwind label %280

161:                                              ; preds = %160
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %22, ptr noundef nonnull align 8 dereferenceable(36) %23, float noundef 1.000000e+00)
          to label %162 unwind label %284

162:                                              ; preds = %161
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %23) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %27) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %28) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %24) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %25) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %26) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %29) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %30) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %31) #4
  %163 = load ptr, ptr %5, align 8, !tbaa !5
  %164 = load i32, ptr %9, align 4, !tbaa !9
  %165 = add nsw i32 %164, 0
  %166 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %163, i32 noundef %165)
          to label %167 unwind label %295

167:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 40, ptr %32) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %33) #4
  %168 = load i32, ptr %21, align 4, !tbaa !9
  %169 = add nsw i32 %168, 0
  %170 = sitofp i32 %169 to float
  invoke void @_ZN3imp4Vec3C2Ef(ptr noundef nonnull align 8 dereferenceable(36) %33, float noundef %170)
          to label %171 unwind label %299

171:                                              ; preds = %167
  invoke void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %32, ptr noundef nonnull align 8 dereferenceable(36) %13, ptr noundef nonnull align 8 dereferenceable(36) %33)
          to label %172 unwind label %303

172:                                              ; preds = %171
  invoke void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %31, ptr noundef nonnull align 8 dereferenceable(36) %166, ptr noundef nonnull align 8 dereferenceable(36) %32)
          to label %173 unwind label %307

173:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 40, ptr %34) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %35) #4
  %174 = load i32, ptr %19, align 4, !tbaa !9
  %175 = add nsw i32 %174, 1
  %176 = sitofp i32 %175 to float
  invoke void @_ZN3imp4Vec3C2Ef(ptr noundef nonnull align 8 dereferenceable(36) %35, float noundef %176)
          to label %177 unwind label %311

177:                                              ; preds = %173
  invoke void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %34, ptr noundef nonnull align 8 dereferenceable(36) %16, ptr noundef nonnull align 8 dereferenceable(36) %35)
          to label %178 unwind label %315

178:                                              ; preds = %177
  invoke void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %30, ptr noundef nonnull align 8 dereferenceable(36) %31, ptr noundef nonnull align 8 dereferenceable(36) %34)
          to label %179 unwind label %319

179:                                              ; preds = %178
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %29, ptr noundef nonnull align 8 dereferenceable(36) %30, float noundef 1.000000e+00)
          to label %180 unwind label %323

180:                                              ; preds = %179
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %30) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %34) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %35) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %34) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %31) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %32) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %33) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %30) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %36) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %37) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %38) #4
  %181 = load ptr, ptr %5, align 8, !tbaa !5
  %182 = load i32, ptr %9, align 4, !tbaa !9
  %183 = add nsw i32 %182, 0
  %184 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %181, i32 noundef %183)
          to label %185 unwind label %334

185:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 40, ptr %39) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %40) #4
  %186 = load i32, ptr %21, align 4, !tbaa !9
  %187 = add nsw i32 %186, 1
  %188 = sitofp i32 %187 to float
  invoke void @_ZN3imp4Vec3C2Ef(ptr noundef nonnull align 8 dereferenceable(36) %40, float noundef %188)
          to label %189 unwind label %338

189:                                              ; preds = %185
  invoke void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %39, ptr noundef nonnull align 8 dereferenceable(36) %13, ptr noundef nonnull align 8 dereferenceable(36) %40)
          to label %190 unwind label %342

190:                                              ; preds = %189
  invoke void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %38, ptr noundef nonnull align 8 dereferenceable(36) %184, ptr noundef nonnull align 8 dereferenceable(36) %39)
          to label %191 unwind label %346

191:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 40, ptr %41) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %42) #4
  %192 = load i32, ptr %19, align 4, !tbaa !9
  %193 = add nsw i32 %192, 0
  %194 = sitofp i32 %193 to float
  invoke void @_ZN3imp4Vec3C2Ef(ptr noundef nonnull align 8 dereferenceable(36) %42, float noundef %194)
          to label %195 unwind label %350

195:                                              ; preds = %191
  invoke void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %41, ptr noundef nonnull align 8 dereferenceable(36) %16, ptr noundef nonnull align 8 dereferenceable(36) %42)
          to label %196 unwind label %354

196:                                              ; preds = %195
  invoke void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %37, ptr noundef nonnull align 8 dereferenceable(36) %38, ptr noundef nonnull align 8 dereferenceable(36) %41)
          to label %197 unwind label %358

197:                                              ; preds = %196
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %36, ptr noundef nonnull align 8 dereferenceable(36) %37, float noundef 1.000000e+00)
          to label %198 unwind label %362

198:                                              ; preds = %197
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %37) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %41) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %42) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %42) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %41) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %38) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %39) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %40) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %40) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %37) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %43) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %44) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %45) #4
  %199 = load ptr, ptr %5, align 8, !tbaa !5
  %200 = load i32, ptr %9, align 4, !tbaa !9
  %201 = add nsw i32 %200, 0
  %202 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %199, i32 noundef %201)
          to label %203 unwind label %373

203:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 40, ptr %46) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %47) #4
  %204 = load i32, ptr %21, align 4, !tbaa !9
  %205 = add nsw i32 %204, 1
  %206 = sitofp i32 %205 to float
  invoke void @_ZN3imp4Vec3C2Ef(ptr noundef nonnull align 8 dereferenceable(36) %47, float noundef %206)
          to label %207 unwind label %377

207:                                              ; preds = %203
  invoke void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %46, ptr noundef nonnull align 8 dereferenceable(36) %13, ptr noundef nonnull align 8 dereferenceable(36) %47)
          to label %208 unwind label %381

208:                                              ; preds = %207
  invoke void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %45, ptr noundef nonnull align 8 dereferenceable(36) %202, ptr noundef nonnull align 8 dereferenceable(36) %46)
          to label %209 unwind label %385

209:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 40, ptr %48) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %49) #4
  %210 = load i32, ptr %19, align 4, !tbaa !9
  %211 = add nsw i32 %210, 1
  %212 = sitofp i32 %211 to float
  invoke void @_ZN3imp4Vec3C2Ef(ptr noundef nonnull align 8 dereferenceable(36) %49, float noundef %212)
          to label %213 unwind label %389

213:                                              ; preds = %209
  invoke void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %48, ptr noundef nonnull align 8 dereferenceable(36) %16, ptr noundef nonnull align 8 dereferenceable(36) %49)
          to label %214 unwind label %393

214:                                              ; preds = %213
  invoke void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %44, ptr noundef nonnull align 8 dereferenceable(36) %45, ptr noundef nonnull align 8 dereferenceable(36) %48)
          to label %215 unwind label %397

215:                                              ; preds = %214
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %43, ptr noundef nonnull align 8 dereferenceable(36) %44, float noundef 1.000000e+00)
          to label %216 unwind label %401

216:                                              ; preds = %215
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %44) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %48) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %49) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %49) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %48) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %45) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %46) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %47) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %47) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %46) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %45) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %44) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %50) #4
  call void @llvm.lifetime.start.p0(i64 120, ptr %52) #4
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %52, ptr noundef nonnull align 8 dereferenceable(36) %22) #4
  %217 = getelementptr inbounds %"class.imp::Vec3", ptr %52, i64 1
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %217, ptr noundef nonnull align 8 dereferenceable(36) %29) #4
  %218 = getelementptr inbounds %"class.imp::Vec3", ptr %52, i64 2
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %218, ptr noundef nonnull align 8 dereferenceable(36) %36) #4
  %219 = getelementptr inbounds %"class.std::initializer_list", ptr %51, i32 0, i32 0
  store ptr %52, ptr %219, align 8, !tbaa !11
  %220 = getelementptr inbounds %"class.std::initializer_list", ptr %51, i32 0, i32 1
  store i64 3, ptr %220, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %53) #4
  call void @_ZNSaIN3imp4Vec3EEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #4
  %221 = getelementptr inbounds { ptr, i64 }, ptr %51, i32 0, i32 0
  %222 = load ptr, ptr %221, align 8
  %223 = getelementptr inbounds { ptr, i64 }, ptr %51, i32 0, i32 1
  %224 = load i64, ptr %223, align 8
  invoke void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %50, ptr %222, i64 %224, ptr noundef nonnull align 1 dereferenceable(1) %53)
          to label %225 unwind label %412

225:                                              ; preds = %216
  invoke void @_ZN3imp8Geometry3addERKSt6vectorINS_4Vec3ESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(156) %0, ptr noundef nonnull align 8 dereferenceable(24) %50)
          to label %226 unwind label %416

226:                                              ; preds = %225
  call void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %50) #4
  call void @_ZNSt15__new_allocatorIN3imp4Vec3EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #4
  %227 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %52, i32 0, i32 0
  %228 = getelementptr inbounds %"class.imp::Vec3", ptr %227, i64 3
  br label %229

229:                                              ; preds = %229, %226
  %230 = phi ptr [ %228, %226 ], [ %231, %229 ]
  %231 = getelementptr inbounds %"class.imp::Vec3", ptr %230, i64 -1
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %231) #4
  %232 = icmp eq ptr %231, %227
  br i1 %232, label %233, label %229

233:                                              ; preds = %229
  call void @llvm.lifetime.end.p0(i64 120, ptr %52) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %50) #4
  %234 = load i32, ptr %21, align 4, !tbaa !9
  %235 = load i32, ptr %20, align 4, !tbaa !9
  %236 = sub nsw i32 %235, 1
  %237 = icmp slt i32 %234, %236
  br i1 %237, label %238, label %444

238:                                              ; preds = %233
  call void @llvm.lifetime.start.p0(i64 24, ptr %54) #4
  call void @llvm.lifetime.start.p0(i64 120, ptr %56) #4
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %56, ptr noundef nonnull align 8 dereferenceable(36) %29) #4
  %239 = getelementptr inbounds %"class.imp::Vec3", ptr %56, i64 1
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %239, ptr noundef nonnull align 8 dereferenceable(36) %43) #4
  %240 = getelementptr inbounds %"class.imp::Vec3", ptr %56, i64 2
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %240, ptr noundef nonnull align 8 dereferenceable(36) %36) #4
  %241 = getelementptr inbounds %"class.std::initializer_list", ptr %55, i32 0, i32 0
  store ptr %56, ptr %241, align 8, !tbaa !11
  %242 = getelementptr inbounds %"class.std::initializer_list", ptr %55, i32 0, i32 1
  store i64 3, ptr %242, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %57) #4
  call void @_ZNSaIN3imp4Vec3EEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #4
  %243 = getelementptr inbounds { ptr, i64 }, ptr %55, i32 0, i32 0
  %244 = load ptr, ptr %243, align 8
  %245 = getelementptr inbounds { ptr, i64 }, ptr %55, i32 0, i32 1
  %246 = load i64, ptr %245, align 8
  invoke void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %54, ptr %244, i64 %246, ptr noundef nonnull align 1 dereferenceable(1) %57)
          to label %247 unwind label %428

247:                                              ; preds = %238
  invoke void @_ZN3imp8Geometry3addERKSt6vectorINS_4Vec3ESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(156) %0, ptr noundef nonnull align 8 dereferenceable(24) %54)
          to label %248 unwind label %432

248:                                              ; preds = %247
  call void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #4
  call void @_ZNSt15__new_allocatorIN3imp4Vec3EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #4
  %249 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %56, i32 0, i32 0
  %250 = getelementptr inbounds %"class.imp::Vec3", ptr %249, i64 3
  br label %251

251:                                              ; preds = %251, %248
  %252 = phi ptr [ %250, %248 ], [ %253, %251 ]
  %253 = getelementptr inbounds %"class.imp::Vec3", ptr %252, i64 -1
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %253) #4
  %254 = icmp eq ptr %253, %249
  br i1 %254, label %255, label %251

255:                                              ; preds = %251
  call void @llvm.lifetime.end.p0(i64 120, ptr %56) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #4
  br label %444

256:                                              ; preds = %144
  %257 = landingpad { ptr, i32 }
          cleanup
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %10, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %11, align 4
  br label %294

260:                                              ; preds = %149
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %10, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %11, align 4
  br label %293

264:                                              ; preds = %153
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %10, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %11, align 4
  br label %292

268:                                              ; preds = %154
  %269 = landingpad { ptr, i32 }
          cleanup
  %270 = extractvalue { ptr, i32 } %269, 0
  store ptr %270, ptr %10, align 8
  %271 = extractvalue { ptr, i32 } %269, 1
  store i32 %271, ptr %11, align 4
  br label %291

272:                                              ; preds = %155
  %273 = landingpad { ptr, i32 }
          cleanup
  %274 = extractvalue { ptr, i32 } %273, 0
  store ptr %274, ptr %10, align 8
  %275 = extractvalue { ptr, i32 } %273, 1
  store i32 %275, ptr %11, align 4
  br label %290

276:                                              ; preds = %159
  %277 = landingpad { ptr, i32 }
          cleanup
  %278 = extractvalue { ptr, i32 } %277, 0
  store ptr %278, ptr %10, align 8
  %279 = extractvalue { ptr, i32 } %277, 1
  store i32 %279, ptr %11, align 4
  br label %289

280:                                              ; preds = %160
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %10, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %11, align 4
  br label %288

284:                                              ; preds = %161
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %10, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %11, align 4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %23) #4
  br label %288

288:                                              ; preds = %284, %280
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %27) #4
  br label %289

289:                                              ; preds = %288, %276
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %28) #4
  br label %290

290:                                              ; preds = %289, %272
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %24) #4
  br label %291

291:                                              ; preds = %290, %268
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %25) #4
  br label %292

292:                                              ; preds = %291, %264
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %26) #4
  br label %293

293:                                              ; preds = %292, %260
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #4
  br label %294

294:                                              ; preds = %293, %256
  call void @llvm.lifetime.end.p0(i64 40, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #4
  br label %452

295:                                              ; preds = %162
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %10, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %11, align 4
  br label %333

299:                                              ; preds = %167
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %10, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %11, align 4
  br label %332

303:                                              ; preds = %171
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %10, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %11, align 4
  br label %331

307:                                              ; preds = %172
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %10, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %11, align 4
  br label %330

311:                                              ; preds = %173
  %312 = landingpad { ptr, i32 }
          cleanup
  %313 = extractvalue { ptr, i32 } %312, 0
  store ptr %313, ptr %10, align 8
  %314 = extractvalue { ptr, i32 } %312, 1
  store i32 %314, ptr %11, align 4
  br label %329

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

319:                                              ; preds = %178
  %320 = landingpad { ptr, i32 }
          cleanup
  %321 = extractvalue { ptr, i32 } %320, 0
  store ptr %321, ptr %10, align 8
  %322 = extractvalue { ptr, i32 } %320, 1
  store i32 %322, ptr %11, align 4
  br label %327

323:                                              ; preds = %179
  %324 = landingpad { ptr, i32 }
          cleanup
  %325 = extractvalue { ptr, i32 } %324, 0
  store ptr %325, ptr %10, align 8
  %326 = extractvalue { ptr, i32 } %324, 1
  store i32 %326, ptr %11, align 4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %30) #4
  br label %327

327:                                              ; preds = %323, %319
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %34) #4
  br label %328

328:                                              ; preds = %327, %315
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %35) #4
  br label %329

329:                                              ; preds = %328, %311
  call void @llvm.lifetime.end.p0(i64 40, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %34) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %31) #4
  br label %330

330:                                              ; preds = %329, %307
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %32) #4
  br label %331

331:                                              ; preds = %330, %303
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %33) #4
  br label %332

332:                                              ; preds = %331, %299
  call void @llvm.lifetime.end.p0(i64 40, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %32) #4
  br label %333

333:                                              ; preds = %332, %295
  call void @llvm.lifetime.end.p0(i64 40, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %30) #4
  br label %451

334:                                              ; preds = %180
  %335 = landingpad { ptr, i32 }
          cleanup
  %336 = extractvalue { ptr, i32 } %335, 0
  store ptr %336, ptr %10, align 8
  %337 = extractvalue { ptr, i32 } %335, 1
  store i32 %337, ptr %11, align 4
  br label %372

338:                                              ; preds = %185
  %339 = landingpad { ptr, i32 }
          cleanup
  %340 = extractvalue { ptr, i32 } %339, 0
  store ptr %340, ptr %10, align 8
  %341 = extractvalue { ptr, i32 } %339, 1
  store i32 %341, ptr %11, align 4
  br label %371

342:                                              ; preds = %189
  %343 = landingpad { ptr, i32 }
          cleanup
  %344 = extractvalue { ptr, i32 } %343, 0
  store ptr %344, ptr %10, align 8
  %345 = extractvalue { ptr, i32 } %343, 1
  store i32 %345, ptr %11, align 4
  br label %370

346:                                              ; preds = %190
  %347 = landingpad { ptr, i32 }
          cleanup
  %348 = extractvalue { ptr, i32 } %347, 0
  store ptr %348, ptr %10, align 8
  %349 = extractvalue { ptr, i32 } %347, 1
  store i32 %349, ptr %11, align 4
  br label %369

350:                                              ; preds = %191
  %351 = landingpad { ptr, i32 }
          cleanup
  %352 = extractvalue { ptr, i32 } %351, 0
  store ptr %352, ptr %10, align 8
  %353 = extractvalue { ptr, i32 } %351, 1
  store i32 %353, ptr %11, align 4
  br label %368

354:                                              ; preds = %195
  %355 = landingpad { ptr, i32 }
          cleanup
  %356 = extractvalue { ptr, i32 } %355, 0
  store ptr %356, ptr %10, align 8
  %357 = extractvalue { ptr, i32 } %355, 1
  store i32 %357, ptr %11, align 4
  br label %367

358:                                              ; preds = %196
  %359 = landingpad { ptr, i32 }
          cleanup
  %360 = extractvalue { ptr, i32 } %359, 0
  store ptr %360, ptr %10, align 8
  %361 = extractvalue { ptr, i32 } %359, 1
  store i32 %361, ptr %11, align 4
  br label %366

362:                                              ; preds = %197
  %363 = landingpad { ptr, i32 }
          cleanup
  %364 = extractvalue { ptr, i32 } %363, 0
  store ptr %364, ptr %10, align 8
  %365 = extractvalue { ptr, i32 } %363, 1
  store i32 %365, ptr %11, align 4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %37) #4
  br label %366

366:                                              ; preds = %362, %358
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %41) #4
  br label %367

367:                                              ; preds = %366, %354
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %42) #4
  br label %368

368:                                              ; preds = %367, %350
  call void @llvm.lifetime.end.p0(i64 40, ptr %42) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %41) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %38) #4
  br label %369

369:                                              ; preds = %368, %346
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %39) #4
  br label %370

370:                                              ; preds = %369, %342
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %40) #4
  br label %371

371:                                              ; preds = %370, %338
  call void @llvm.lifetime.end.p0(i64 40, ptr %40) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %39) #4
  br label %372

372:                                              ; preds = %371, %334
  call void @llvm.lifetime.end.p0(i64 40, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %37) #4
  br label %450

373:                                              ; preds = %198
  %374 = landingpad { ptr, i32 }
          cleanup
  %375 = extractvalue { ptr, i32 } %374, 0
  store ptr %375, ptr %10, align 8
  %376 = extractvalue { ptr, i32 } %374, 1
  store i32 %376, ptr %11, align 4
  br label %411

377:                                              ; preds = %203
  %378 = landingpad { ptr, i32 }
          cleanup
  %379 = extractvalue { ptr, i32 } %378, 0
  store ptr %379, ptr %10, align 8
  %380 = extractvalue { ptr, i32 } %378, 1
  store i32 %380, ptr %11, align 4
  br label %410

381:                                              ; preds = %207
  %382 = landingpad { ptr, i32 }
          cleanup
  %383 = extractvalue { ptr, i32 } %382, 0
  store ptr %383, ptr %10, align 8
  %384 = extractvalue { ptr, i32 } %382, 1
  store i32 %384, ptr %11, align 4
  br label %409

385:                                              ; preds = %208
  %386 = landingpad { ptr, i32 }
          cleanup
  %387 = extractvalue { ptr, i32 } %386, 0
  store ptr %387, ptr %10, align 8
  %388 = extractvalue { ptr, i32 } %386, 1
  store i32 %388, ptr %11, align 4
  br label %408

389:                                              ; preds = %209
  %390 = landingpad { ptr, i32 }
          cleanup
  %391 = extractvalue { ptr, i32 } %390, 0
  store ptr %391, ptr %10, align 8
  %392 = extractvalue { ptr, i32 } %390, 1
  store i32 %392, ptr %11, align 4
  br label %407

393:                                              ; preds = %213
  %394 = landingpad { ptr, i32 }
          cleanup
  %395 = extractvalue { ptr, i32 } %394, 0
  store ptr %395, ptr %10, align 8
  %396 = extractvalue { ptr, i32 } %394, 1
  store i32 %396, ptr %11, align 4
  br label %406

397:                                              ; preds = %214
  %398 = landingpad { ptr, i32 }
          cleanup
  %399 = extractvalue { ptr, i32 } %398, 0
  store ptr %399, ptr %10, align 8
  %400 = extractvalue { ptr, i32 } %398, 1
  store i32 %400, ptr %11, align 4
  br label %405

401:                                              ; preds = %215
  %402 = landingpad { ptr, i32 }
          cleanup
  %403 = extractvalue { ptr, i32 } %402, 0
  store ptr %403, ptr %10, align 8
  %404 = extractvalue { ptr, i32 } %402, 1
  store i32 %404, ptr %11, align 4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %44) #4
  br label %405

405:                                              ; preds = %401, %397
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %48) #4
  br label %406

406:                                              ; preds = %405, %393
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %49) #4
  br label %407

407:                                              ; preds = %406, %389
  call void @llvm.lifetime.end.p0(i64 40, ptr %49) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %48) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %45) #4
  br label %408

408:                                              ; preds = %407, %385
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %46) #4
  br label %409

409:                                              ; preds = %408, %381
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %47) #4
  br label %410

410:                                              ; preds = %409, %377
  call void @llvm.lifetime.end.p0(i64 40, ptr %47) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %46) #4
  br label %411

411:                                              ; preds = %410, %373
  call void @llvm.lifetime.end.p0(i64 40, ptr %45) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %44) #4
  br label %449

412:                                              ; preds = %216
  %413 = landingpad { ptr, i32 }
          cleanup
  %414 = extractvalue { ptr, i32 } %413, 0
  store ptr %414, ptr %10, align 8
  %415 = extractvalue { ptr, i32 } %413, 1
  store i32 %415, ptr %11, align 4
  br label %420

416:                                              ; preds = %225
  %417 = landingpad { ptr, i32 }
          cleanup
  %418 = extractvalue { ptr, i32 } %417, 0
  store ptr %418, ptr %10, align 8
  %419 = extractvalue { ptr, i32 } %417, 1
  store i32 %419, ptr %11, align 4
  call void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %50) #4
  br label %420

420:                                              ; preds = %416, %412
  call void @_ZNSt15__new_allocatorIN3imp4Vec3EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #4
  %421 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %52, i32 0, i32 0
  %422 = getelementptr inbounds %"class.imp::Vec3", ptr %421, i64 3
  br label %423

423:                                              ; preds = %423, %420
  %424 = phi ptr [ %422, %420 ], [ %425, %423 ]
  %425 = getelementptr inbounds %"class.imp::Vec3", ptr %424, i64 -1
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %425) #4
  %426 = icmp eq ptr %425, %421
  br i1 %426, label %427, label %423

427:                                              ; preds = %423
  call void @llvm.lifetime.end.p0(i64 120, ptr %52) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %50) #4
  br label %448

428:                                              ; preds = %238
  %429 = landingpad { ptr, i32 }
          cleanup
  %430 = extractvalue { ptr, i32 } %429, 0
  store ptr %430, ptr %10, align 8
  %431 = extractvalue { ptr, i32 } %429, 1
  store i32 %431, ptr %11, align 4
  br label %436

432:                                              ; preds = %247
  %433 = landingpad { ptr, i32 }
          cleanup
  %434 = extractvalue { ptr, i32 } %433, 0
  store ptr %434, ptr %10, align 8
  %435 = extractvalue { ptr, i32 } %433, 1
  store i32 %435, ptr %11, align 4
  call void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #4
  br label %436

436:                                              ; preds = %432, %428
  call void @_ZNSt15__new_allocatorIN3imp4Vec3EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #4
  %437 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %56, i32 0, i32 0
  %438 = getelementptr inbounds %"class.imp::Vec3", ptr %437, i64 3
  br label %439

439:                                              ; preds = %439, %436
  %440 = phi ptr [ %438, %436 ], [ %441, %439 ]
  %441 = getelementptr inbounds %"class.imp::Vec3", ptr %440, i64 -1
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %441) #4
  %442 = icmp eq ptr %441, %437
  br i1 %442, label %443, label %439

443:                                              ; preds = %439
  call void @llvm.lifetime.end.p0(i64 120, ptr %56) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #4
  br label %448

444:                                              ; preds = %255, %233
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %43) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %43) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %36) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %36) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %29) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %29) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %22) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #4
  br label %445

445:                                              ; preds = %444
  %446 = load i32, ptr %21, align 4, !tbaa !9
  %447 = add nsw i32 %446, 1
  store i32 %447, ptr %21, align 4, !tbaa !9
  br label %139, !llvm.loop !15

448:                                              ; preds = %443, %427
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %43) #4
  br label %449

449:                                              ; preds = %448, %411
  call void @llvm.lifetime.end.p0(i64 40, ptr %43) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %36) #4
  br label %450

450:                                              ; preds = %449, %372
  call void @llvm.lifetime.end.p0(i64 40, ptr %36) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %29) #4
  br label %451

451:                                              ; preds = %450, %333
  call void @llvm.lifetime.end.p0(i64 40, ptr %29) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %22) #4
  br label %452

452:                                              ; preds = %451, %294
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %16) #4
  br label %461

453:                                              ; preds = %143
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %454

454:                                              ; preds = %453
  %455 = load i32, ptr %19, align 4, !tbaa !9
  %456 = add nsw i32 %455, 1
  store i32 %456, ptr %19, align 4, !tbaa !9
  br label %102, !llvm.loop !17

457:                                              ; preds = %106
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %16) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %16) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %13) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #4
  br label %458

458:                                              ; preds = %457
  %459 = load i32, ptr %9, align 4, !tbaa !9
  %460 = add nsw i32 %459, 3
  store i32 %460, ptr %9, align 4, !tbaa !9
  br label %60, !llvm.loop !18

461:                                              ; preds = %452, %134
  call void @llvm.lifetime.end.p0(i64 40, ptr %16) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %13) #4
  br label %462

462:                                              ; preds = %461, %120
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #4
  br label %463

463:                                              ; preds = %462, %67
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @_ZN3imp8GeometryD2Ev(ptr noundef nonnull align 8 dereferenceable(156) %0) #4
  br label %468

464:                                              ; preds = %66
  store i1 true, ptr %7, align 1
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  %465 = load i1, ptr %7, align 1
  br i1 %465, label %467, label %466

466:                                              ; preds = %464
  call void @_ZN3imp8GeometryD2Ev(ptr noundef nonnull align 8 dereferenceable(156) %0) #4
  br label %467

467:                                              ; preds = %466, %464
  ret void

468:                                              ; preds = %463
  %469 = load ptr, ptr %10, align 8
  %470 = load i32, ptr %11, align 4
  %471 = insertvalue { ptr, i32 } poison, ptr %469, 0
  %472 = insertvalue { ptr, i32 } %471, i32 %470, 1
  resume { ptr, i32 } %472
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3imp8Geometry4sizeEv(ptr noundef nonnull align 8 dereferenceable(156)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156), i32 noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3imp3VecILi3EfEmiERKS1_(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec") align 8, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3imp3VecILi3EfEdvEf(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec") align 8, ptr noundef nonnull align 8 dereferenceable(36), float noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36), float noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec") align 8, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec") align 8, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp4Vec3C2Ef(ptr noundef nonnull align 8 dereferenceable(36), float noundef) unnamed_addr #1 align 2

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

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

declare void @_ZN3imp8GeometryC1Ev(ptr)

attributes #0 = { 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 #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { nocallback nofree nosync 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 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSSt16initializer_listIN3imp4Vec3EE", !6, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !13, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}


; 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.imp::Geometry" = type <{ %"class.imp::Object", i32, [4 x i8], %"class.std::vector", %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.5", i8, i8, i8, i8, [4 x i8] }>
%"class.imp::Object" = type { ptr, %"class.std::shared_ptr" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<imp::Vec3, std::allocator<imp::Vec3>>::_Vector_impl" }
%"struct.std::_Vector_base<imp::Vec3, std::allocator<imp::Vec3>>::_Vector_impl" = type { %"struct.std::_Vector_base<imp::Vec3, std::allocator<imp::Vec3>>::_Vector_impl_data" }
%"struct.std::_Vector_base<imp::Vec3, std::allocator<imp::Vec3>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<imp::Vec<2, float>, std::allocator<imp::Vec<2, float>>>::_Vector_impl" }
%"struct.std::_Vector_base<imp::Vec<2, float>, std::allocator<imp::Vec<2, float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<imp::Vec<2, float>, std::allocator<imp::Vec<2, float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<imp::Vec<2, float>, std::allocator<imp::Vec<2, float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.imp::Vec3" = type { %"class.imp::Vec.base", [4 x i8] }
%"class.imp::Vec.base" = type <{ %"class.imp::Object", [3 x float] }>
%"class.imp::Vec" = type <{ %"class.imp::Object", [3 x float], [4 x i8] }>
%"class.std::allocator.2" = type { i8 }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3imp14subdivTriangleERKNS_8GeometryEi(ptr dead_on_unwind noalias writable sret(%"class.imp::Geometry") align 8 %0, ptr noundef nonnull align 8 dereferenceable(156) %1, i32 noundef %2) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.imp::Vec3", align 8
  %5 = alloca %"class.imp::Vec", align 8
  %6 = alloca %"class.imp::Vec", align 8
  %7 = alloca %"class.imp::Vec3", align 8
  %8 = alloca %"class.imp::Vec", align 8
  %9 = alloca %"class.imp::Vec", align 8
  %10 = alloca %"class.imp::Vec3", align 8
  %11 = alloca %"class.imp::Vec", align 8
  %12 = alloca %"class.imp::Vec", align 8
  %13 = alloca %"class.imp::Vec", align 8
  %14 = alloca %"class.imp::Vec3", align 8
  %15 = alloca %"class.imp::Vec", align 8
  %16 = alloca %"class.imp::Vec3", align 8
  %17 = alloca %"class.imp::Vec3", align 8
  %18 = alloca %"class.imp::Vec", align 8
  %19 = alloca %"class.imp::Vec", align 8
  %20 = alloca %"class.imp::Vec", align 8
  %21 = alloca %"class.imp::Vec3", align 8
  %22 = alloca %"class.imp::Vec", align 8
  %23 = alloca %"class.imp::Vec3", align 8
  %24 = alloca %"class.imp::Vec3", align 8
  %25 = alloca %"class.imp::Vec", align 8
  %26 = alloca %"class.imp::Vec", align 8
  %27 = alloca %"class.imp::Vec", align 8
  %28 = alloca %"class.imp::Vec3", align 8
  %29 = alloca %"class.imp::Vec", align 8
  %30 = alloca %"class.imp::Vec3", align 8
  %31 = alloca %"class.imp::Vec3", align 8
  %32 = alloca %"class.imp::Vec", align 8
  %33 = alloca %"class.imp::Vec", align 8
  %34 = alloca %"class.imp::Vec", align 8
  %35 = alloca %"class.imp::Vec3", align 8
  %36 = alloca %"class.imp::Vec", align 8
  %37 = alloca %"class.imp::Vec3", align 8
  %38 = alloca %"class.std::vector.0", align 8
  %39 = alloca [3 x %"class.imp::Vec3"], align 8
  %40 = alloca %"class.std::allocator.2", align 1
  %41 = alloca %"class.std::vector.0", align 8
  %42 = alloca [3 x %"class.imp::Vec3"], align 8
  %43 = alloca %"class.std::allocator.2", align 1
  tail call void @_ZN3imp8GeometryC1Ev(ptr noundef nonnull align 8 dereferenceable(156) %0)
  %44 = add i32 %2, 1
  %45 = tail call noundef i32 @_ZNK3imp8Geometry4sizeEv(ptr noundef nonnull align 8 dereferenceable(156) %1)
  %46 = icmp sgt i32 %45, 0
  br i1 %46, label %.lr.ph100, label %._crit_edge101

.lr.ph100:                                        ; preds = %3
  %47 = sitofp i32 %44 to float
  %.not93 = icmp slt i32 %2, 0
  %48 = getelementptr inbounds i8, ptr %39, i64 40
  %49 = getelementptr inbounds i8, ptr %39, i64 80
  %50 = getelementptr inbounds i8, ptr %42, i64 40
  %51 = getelementptr inbounds i8, ptr %42, i64 80
  %52 = getelementptr inbounds i8, ptr %39, i64 80
  %53 = getelementptr inbounds i8, ptr %39, i64 40
  %54 = getelementptr inbounds i8, ptr %42, i64 80
  %55 = getelementptr inbounds i8, ptr %42, i64 40
  br label %56

56:                                               ; preds = %.lr.ph100, %._crit_edge97
  %.098 = phi i32 [ 0, %.lr.ph100 ], [ %65, %._crit_edge97 ]
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #4
  %57 = add nuw nsw i32 %.098, 1
  %58 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %1, i32 noundef %57)
  %59 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %1, i32 noundef %.098)
  call void @_ZNK3imp3VecILi3EfEmiERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %6, ptr noundef nonnull align 8 dereferenceable(36) %58, ptr noundef nonnull align 8 dereferenceable(36) %59)
  call void @_ZNK3imp3VecILi3EfEdvEf(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %5, ptr noundef nonnull align 8 dereferenceable(36) %6, float noundef %47)
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %4, ptr noundef nonnull align 8 dereferenceable(36) %5, float noundef 1.000000e+00)
          to label %60 unwind label %68

60:                                               ; preds = %56
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %5) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %6) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #4
  %61 = add nuw nsw i32 %.098, 2
  %62 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %1, i32 noundef %61)
  %63 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %1, i32 noundef %.098)
  call void @_ZNK3imp3VecILi3EfEmiERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %9, ptr noundef nonnull align 8 dereferenceable(36) %62, ptr noundef nonnull align 8 dereferenceable(36) %63)
  call void @_ZNK3imp3VecILi3EfEdvEf(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %8, ptr noundef nonnull align 8 dereferenceable(36) %9, float noundef %47)
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %7, ptr noundef nonnull align 8 dereferenceable(36) %8, float noundef 1.000000e+00)
          to label %64 unwind label %70

64:                                               ; preds = %60
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %8) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %9) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #4
  br i1 %.not93, label %._crit_edge97, label %.lr.ph96

._crit_edge97:                                    ; preds = %._crit_edge, %64
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %7) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %4) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #4
  %65 = add nuw nsw i32 %.098, 3
  %66 = call noundef i32 @_ZNK3imp8Geometry4sizeEv(ptr noundef nonnull align 8 dereferenceable(156) %1)
  %67 = icmp slt i32 %65, %66
  br i1 %67, label %56, label %._crit_edge101, !llvm.loop !5

68:                                               ; preds = %56
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %5) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %6) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #4
  br label %157

70:                                               ; preds = %60
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %8) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %9) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #4
  br label %156

.lr.ph96:                                         ; preds = %64, %._crit_edge
  %indvars.iv = phi i32 [ %indvars.iv.next, %._crit_edge ], [ %44, %64 ]
  %.06394 = phi i32 [ %.pre-phi, %._crit_edge ], [ 0, %64 ]
  %72 = sub nsw i32 %44, %.06394
  %73 = icmp sgt i32 %72, 0
  br i1 %73, label %.lr.ph, label %.lr.ph96.._crit_edge_crit_edge

.lr.ph96.._crit_edge_crit_edge:                   ; preds = %.lr.ph96
  %.pre = add nuw i32 %.06394, 1
  br label %._crit_edge

.lr.ph:                                           ; preds = %.lr.ph96
  %74 = uitofp nneg i32 %.06394 to float
  %75 = add nuw i32 %.06394, 1
  %76 = uitofp nneg i32 %75 to float
  %77 = add nsw i32 %72, -1
  br label %78

._crit_edge:                                      ; preds = %150, %.lr.ph96.._crit_edge_crit_edge
  %.pre-phi = phi i32 [ %.pre, %.lr.ph96.._crit_edge_crit_edge ], [ %75, %150 ]
  %indvars.iv.next = add i32 %indvars.iv, -1
  %exitcond102.not = icmp eq i32 %.pre-phi, %44
  br i1 %exitcond102.not, label %._crit_edge97, label %.lr.ph96, !llvm.loop !7

78:                                               ; preds = %.lr.ph, %150
  %.06292 = phi i32 [ 0, %.lr.ph ], [ %89, %150 ]
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %12) #4
  %79 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %1, i32 noundef %.098)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #4
  %80 = uitofp nneg i32 %.06292 to float
  invoke void @_ZN3imp4Vec3C2Ef(ptr noundef nonnull align 8 dereferenceable(36) %14, float noundef %80)
          to label %81 unwind label %104

81:                                               ; preds = %78
  call void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %13, ptr noundef nonnull align 8 dereferenceable(36) %4, ptr noundef nonnull align 8 dereferenceable(36) %14)
  call void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %12, ptr noundef nonnull align 8 dereferenceable(36) %79, ptr noundef nonnull align 8 dereferenceable(36) %13)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %15) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %16) #4
  invoke void @_ZN3imp4Vec3C2Ef(ptr noundef nonnull align 8 dereferenceable(36) %16, float noundef %74)
          to label %82 unwind label %106

82:                                               ; preds = %81
  call void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %15, ptr noundef nonnull align 8 dereferenceable(36) %7, ptr noundef nonnull align 8 dereferenceable(36) %16)
  call void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %11, ptr noundef nonnull align 8 dereferenceable(36) %12, ptr noundef nonnull align 8 dereferenceable(36) %15)
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %10, ptr noundef nonnull align 8 dereferenceable(36) %11, float noundef 1.000000e+00)
          to label %83 unwind label %108

83:                                               ; preds = %82
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %11) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %15) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %16) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %12) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %13) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %14) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %18) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %19) #4
  %84 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %1, i32 noundef %.098)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %20) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %21) #4
  invoke void @_ZN3imp4Vec3C2Ef(ptr noundef nonnull align 8 dereferenceable(36) %21, float noundef %80)
          to label %85 unwind label %112

85:                                               ; preds = %83
  call void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %20, ptr noundef nonnull align 8 dereferenceable(36) %4, ptr noundef nonnull align 8 dereferenceable(36) %21)
  call void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %19, ptr noundef nonnull align 8 dereferenceable(36) %84, ptr noundef nonnull align 8 dereferenceable(36) %20)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %22) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %23) #4
  invoke void @_ZN3imp4Vec3C2Ef(ptr noundef nonnull align 8 dereferenceable(36) %23, float noundef %76)
          to label %86 unwind label %114

86:                                               ; preds = %85
  call void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %22, ptr noundef nonnull align 8 dereferenceable(36) %7, ptr noundef nonnull align 8 dereferenceable(36) %23)
  call void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %18, ptr noundef nonnull align 8 dereferenceable(36) %19, ptr noundef nonnull align 8 dereferenceable(36) %22)
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %17, ptr noundef nonnull align 8 dereferenceable(36) %18, float noundef 1.000000e+00)
          to label %87 unwind label %116

87:                                               ; preds = %86
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %18) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %22) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %23) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %23) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %22) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %19) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %20) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %21) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %18) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %24) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %25) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %26) #4
  %88 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %1, i32 noundef %.098)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %27) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %28) #4
  %89 = add nuw nsw i32 %.06292, 1
  %90 = uitofp nneg i32 %89 to float
  invoke void @_ZN3imp4Vec3C2Ef(ptr noundef nonnull align 8 dereferenceable(36) %28, float noundef %90)
          to label %91 unwind label %120

91:                                               ; preds = %87
  call void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %27, ptr noundef nonnull align 8 dereferenceable(36) %4, ptr noundef nonnull align 8 dereferenceable(36) %28)
  call void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %26, ptr noundef nonnull align 8 dereferenceable(36) %88, ptr noundef nonnull align 8 dereferenceable(36) %27)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %29) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %30) #4
  invoke void @_ZN3imp4Vec3C2Ef(ptr noundef nonnull align 8 dereferenceable(36) %30, float noundef %74)
          to label %92 unwind label %122

92:                                               ; preds = %91
  call void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %29, ptr noundef nonnull align 8 dereferenceable(36) %7, ptr noundef nonnull align 8 dereferenceable(36) %30)
  call void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %25, ptr noundef nonnull align 8 dereferenceable(36) %26, ptr noundef nonnull align 8 dereferenceable(36) %29)
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %24, ptr noundef nonnull align 8 dereferenceable(36) %25, float noundef 1.000000e+00)
          to label %93 unwind label %124

93:                                               ; preds = %92
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %25) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %29) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %30) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %30) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %29) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %26) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %27) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %28) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %28) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %27) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %26) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %25) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %31) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %32) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %33) #4
  %94 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %1, i32 noundef %.098)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %34) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %35) #4
  invoke void @_ZN3imp4Vec3C2Ef(ptr noundef nonnull align 8 dereferenceable(36) %35, float noundef %90)
          to label %95 unwind label %128

95:                                               ; preds = %93
  call void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %34, ptr noundef nonnull align 8 dereferenceable(36) %4, ptr noundef nonnull align 8 dereferenceable(36) %35)
  call void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %33, ptr noundef nonnull align 8 dereferenceable(36) %94, ptr noundef nonnull align 8 dereferenceable(36) %34)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %36) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %37) #4
  invoke void @_ZN3imp4Vec3C2Ef(ptr noundef nonnull align 8 dereferenceable(36) %37, float noundef %76)
          to label %96 unwind label %130

96:                                               ; preds = %95
  call void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %36, ptr noundef nonnull align 8 dereferenceable(36) %7, ptr noundef nonnull align 8 dereferenceable(36) %37)
  call void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %32, ptr noundef nonnull align 8 dereferenceable(36) %33, ptr noundef nonnull align 8 dereferenceable(36) %36)
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %31, ptr noundef nonnull align 8 dereferenceable(36) %32, float noundef 1.000000e+00)
          to label %97 unwind label %132

97:                                               ; preds = %96
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %32) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %36) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %37) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %37) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %36) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %33) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %34) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %35) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %35) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %34) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %33) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %32) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %38) #4
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %39) #4
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %39, ptr noundef nonnull align 8 dereferenceable(36) %10) #4
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %48, ptr noundef nonnull align 8 dereferenceable(36) %17) #4
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %49, ptr noundef nonnull align 8 dereferenceable(36) %24) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %40) #4
  call void @_ZNSaIN3imp4Vec3EEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #4
  invoke void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr nonnull %39, i64 3, ptr noundef nonnull align 1 dereferenceable(1) %40)
          to label %98 unwind label %136

98:                                               ; preds = %97
  invoke void @_ZN3imp8Geometry3addERKSt6vectorINS_4Vec3ESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(156) %0, ptr noundef nonnull align 8 dereferenceable(24) %38)
          to label %99 unwind label %138

99:                                               ; preds = %98
  call void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #4
  call void @_ZNSt15__new_allocatorIN3imp4Vec3EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %40) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %52) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %53) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %39) #4
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %39) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %38) #4
  %100 = icmp slt i32 %.06292, %77
  br i1 %100, label %101, label %150

101:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %41) #4
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %42) #4
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %42, ptr noundef nonnull align 8 dereferenceable(36) %17) #4
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %50, ptr noundef nonnull align 8 dereferenceable(36) %31) #4
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %51, ptr noundef nonnull align 8 dereferenceable(36) %24) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %43) #4
  call void @_ZNSaIN3imp4Vec3EEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #4
  invoke void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %41, ptr nonnull %42, i64 3, ptr noundef nonnull align 1 dereferenceable(1) %43)
          to label %102 unwind label %143

102:                                              ; preds = %101
  invoke void @_ZN3imp8Geometry3addERKSt6vectorINS_4Vec3ESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(156) %0, ptr noundef nonnull align 8 dereferenceable(24) %41)
          to label %103 unwind label %145

103:                                              ; preds = %102
  call void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #4
  call void @_ZNSt15__new_allocatorIN3imp4Vec3EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %43) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %54) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %55) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %42) #4
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %42) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %41) #4
  br label %150

104:                                              ; preds = %78
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %111

106:                                              ; preds = %81
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %110

108:                                              ; preds = %82
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %11) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %15) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %16) #4
  br label %110

110:                                              ; preds = %108, %106
  %.pn = phi { ptr, i32 } [ %109, %108 ], [ %107, %106 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %12) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %13) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %14) #4
  br label %111

111:                                              ; preds = %110, %104
  %.pn.pn = phi { ptr, i32 } [ %.pn, %110 ], [ %105, %104 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #4
  br label %155

112:                                              ; preds = %83
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %119

114:                                              ; preds = %85
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %118

116:                                              ; preds = %86
  %117 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %18) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %22) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %23) #4
  br label %118

118:                                              ; preds = %116, %114
  %.pn72 = phi { ptr, i32 } [ %117, %116 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %23) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %22) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %19) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %20) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %21) #4
  br label %119

119:                                              ; preds = %118, %112
  %.pn72.pn = phi { ptr, i32 } [ %.pn72, %118 ], [ %113, %112 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %18) #4
  br label %154

120:                                              ; preds = %87
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %127

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

124:                                              ; preds = %92
  %125 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %25) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %29) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %30) #4
  br label %126

126:                                              ; preds = %124, %122
  %.pn75 = phi { ptr, i32 } [ %125, %124 ], [ %123, %122 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %30) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %29) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %26) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %27) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %28) #4
  br label %127

127:                                              ; preds = %126, %120
  %.pn75.pn = phi { ptr, i32 } [ %.pn75, %126 ], [ %121, %120 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %28) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %27) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %26) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %25) #4
  br label %153

128:                                              ; preds = %93
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %135

130:                                              ; preds = %95
  %131 = landingpad { ptr, i32 }
          cleanup
  br label %134

132:                                              ; preds = %96
  %133 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %32) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %36) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %37) #4
  br label %134

134:                                              ; preds = %132, %130
  %.pn78 = phi { ptr, i32 } [ %133, %132 ], [ %131, %130 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %37) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %36) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %33) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %34) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %35) #4
  br label %135

135:                                              ; preds = %134, %128
  %.pn78.pn = phi { ptr, i32 } [ %.pn78, %134 ], [ %129, %128 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %35) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %34) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %33) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %32) #4
  br label %152

136:                                              ; preds = %97
  %137 = landingpad { ptr, i32 }
          cleanup
  br label %140

138:                                              ; preds = %98
  %139 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #4
  br label %140

140:                                              ; preds = %138, %136
  %.pn81 = phi { ptr, i32 } [ %139, %138 ], [ %137, %136 ]
  call void @_ZNSt15__new_allocatorIN3imp4Vec3EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %40) #4
  %141 = getelementptr inbounds i8, ptr %39, i64 80
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %141) #4
  %142 = getelementptr inbounds i8, ptr %39, i64 40
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %142) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %39) #4
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %39) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %38) #4
  br label %151

143:                                              ; preds = %101
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %147

145:                                              ; preds = %102
  %146 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #4
  br label %147

147:                                              ; preds = %145, %143
  %.pn83 = phi { ptr, i32 } [ %146, %145 ], [ %144, %143 ]
  call void @_ZNSt15__new_allocatorIN3imp4Vec3EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %43) #4
  %148 = getelementptr inbounds i8, ptr %42, i64 80
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %148) #4
  %149 = getelementptr inbounds i8, ptr %42, i64 40
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %149) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %42) #4
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %42) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %41) #4
  br label %151

150:                                              ; preds = %103, %99
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %31) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %31) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %24) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %24) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %17) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %10) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #4
  %exitcond.not = icmp eq i32 %89, %indvars.iv
  br i1 %exitcond.not, label %._crit_edge, label %78, !llvm.loop !8

151:                                              ; preds = %147, %140
  %.pn83.pn = phi { ptr, i32 } [ %.pn83, %147 ], [ %.pn81, %140 ]
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %31) #4
  br label %152

152:                                              ; preds = %151, %135
  %.pn83.pn.pn = phi { ptr, i32 } [ %.pn83.pn, %151 ], [ %.pn78.pn, %135 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %31) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %24) #4
  br label %153

153:                                              ; preds = %152, %127
  %.pn83.pn.pn.pn = phi { ptr, i32 } [ %.pn83.pn.pn, %152 ], [ %.pn75.pn, %127 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %24) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %17) #4
  br label %154

154:                                              ; preds = %153, %119
  %.pn83.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn83.pn.pn.pn, %153 ], [ %.pn72.pn, %119 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %10) #4
  br label %155

155:                                              ; preds = %154, %111
  %.pn83.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn83.pn.pn.pn.pn, %154 ], [ %.pn.pn, %111 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %7) #4
  br label %156

156:                                              ; preds = %155, %70
  %.pn83.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn83.pn.pn.pn.pn.pn, %155 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %4) #4
  br label %157

157:                                              ; preds = %156, %68
  %.pn83.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn83.pn.pn.pn.pn.pn.pn, %156 ], [ %69, %68 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #4
  call void @_ZN3imp8GeometryD2Ev(ptr noundef nonnull align 8 dereferenceable(156) %0) #4
  resume { ptr, i32 } %.pn83.pn.pn.pn.pn.pn.pn.pn

._crit_edge101:                                   ; preds = %._crit_edge97, %3
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3imp8Geometry4sizeEv(ptr noundef nonnull align 8 dereferenceable(156)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3imp3VecILi3EfEmiERKS1_(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec") align 8, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3imp3VecILi3EfEdvEf(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec") align 8, ptr noundef nonnull align 8 dereferenceable(36), float noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36), float noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec") align 8, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec") align 8, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp4Vec3C2Ef(ptr noundef nonnull align 8 dereferenceable(36), float noundef) unnamed_addr #1 align 2

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

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

declare void @_ZN3imp8GeometryC1Ev(ptr) local_unnamed_addr

attributes #0 = { 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 #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { mustprogress nocallback nofree nosync 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = distinct !{!8, !6}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass