; LLVM IR from Lut1n/ImpGears :: src/ImpGears/Geometry (GeometryBuilder)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3imp13CircleSamplerixEi(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec3") align 8, ptr noundef nonnull align 8 dereferenceable(112), i32 noundef) #1 align 2

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN3imp8Geometry3addERKSt6vectorINS_4Vec3ESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(156), ptr noundef nonnull align 8 dereferenceable(24)) #2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3imp13add_cap_roundESt10shared_ptrINS_8GeometryEERKNS_13CircleSamplerERKNS_4Vec3Ei(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(112) %1, ptr noundef nonnull align 8 dereferenceable(36) %2, i32 noundef %3) #4 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"struct.imp::CircleSampler", align 8
  %12 = alloca %"class.imp::Vec3", align 8
  %13 = alloca %"class.imp::Vec3", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca %"class.imp::Vec3", align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.imp::Vec3", align 8
  %22 = alloca %"class.imp::Vec3", align 8
  %23 = alloca %"class.imp::Vec3", align 8
  %24 = alloca %"class.imp::Vec3", align 8
  %25 = alloca %"class.imp::Vec3", align 8
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca %"class.imp::Vec3", align 8
  %29 = alloca %"class.imp::Vec3", align 8
  %30 = alloca %"class.imp::Vec3", 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::Vec3", align 8
  %35 = alloca %"class.imp::Vec", align 8
  %36 = alloca %"class.imp::Vec", align 8
  %37 = alloca %"class.imp::Vec3", align 8
  %38 = alloca %"class.imp::Vec3", align 8
  %39 = alloca %"class.imp::Vec", align 8
  %40 = alloca %"class.imp::Vec", align 8
  %41 = alloca %"class.imp::Vec3", align 8
  %42 = alloca %"class.imp::Vec3", align 8
  %43 = alloca %"class.imp::Vec", align 8
  %44 = alloca %"class.imp::Vec", align 8
  %45 = alloca %"class.imp::Vec3", align 8
  %46 = alloca %"class.std::vector", align 8
  %47 = alloca %"class.std::initializer_list", align 8
  %48 = alloca [6 x %"class.imp::Vec3"], align 8
  %49 = alloca %"class.std::allocator", align 1
  %50 = alloca %"class.std::vector", align 8
  %51 = alloca %"class.std::initializer_list", align 8
  %52 = alloca [3 x %"class.imp::Vec3"], align 8
  %53 = alloca %"class.std::allocator", align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i32 %3, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.imp::CircleSampler", ptr %54, i32 0, i32 3
  %56 = load i32, ptr %55, align 4, !tbaa !11
  store i32 %56, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %57 = load i32, ptr %9, align 4, !tbaa !9
  %58 = sub nsw i32 %57, 1
  store i32 %58, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 112, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %12) #5
  call void @_ZN3imp4Vec3C2Ef(ptr noundef nonnull align 8 dereferenceable(36) %12, float noundef 0.000000e+00)
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = getelementptr inbounds %"struct.imp::CircleSampler", ptr %59, i32 0, i32 2
  %61 = load float, ptr %60, align 8, !tbaa !24
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.imp::CircleSampler", ptr %62, i32 0, i32 1
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %13, ptr noundef nonnull align 8 dereferenceable(36) %63) #5
  %64 = load i32, ptr %8, align 4, !tbaa !9
  invoke void @_ZN3imp13CircleSamplerC2ERKNS_4Vec3EfS1_i(ptr noundef nonnull align 8 dereferenceable(112) %11, ptr noundef nonnull align 8 dereferenceable(36) %12, float noundef %61, ptr noundef %13, i32 noundef %64)
          to label %65 unwind label %71

65:                                               ; preds = %4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %13) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %12) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %66

66:                                               ; preds = %357, %65
  %67 = load i32, ptr %16, align 4, !tbaa !9
  %68 = load i32, ptr %9, align 4, !tbaa !9
  %69 = icmp slt i32 %67, %68
  br i1 %69, label %75, label %70

70:                                               ; preds = %66
  store i32 2, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %366

71:                                               ; preds = %4
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %14, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %15, align 4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %13) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %12) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %12) #5
  br label %367

75:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %19) #5
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = load i32, ptr %10, align 4, !tbaa !9
  invoke void @_ZNK3imp13CircleSamplerixEi(ptr dead_on_unwind writable sret(%"class.imp::Vec3") align 8 %19, ptr noundef nonnull align 8 dereferenceable(112) %76, i32 noundef %77)
          to label %78 unwind label %109

78:                                               ; preds = %75
  store ptr %19, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %21) #5
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = load i32, ptr %16, align 4, !tbaa !9
  invoke void @_ZNK3imp13CircleSamplerixEi(ptr dead_on_unwind writable sret(%"class.imp::Vec3") align 8 %21, ptr noundef nonnull align 8 dereferenceable(112) %79, i32 noundef %80)
          to label %81 unwind label %113

81:                                               ; preds = %78
  store ptr %21, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %22) #5
  %82 = load ptr, ptr %18, align 8, !tbaa !5
  %83 = invoke noundef float @_ZNK3imp4Vec31xEv(ptr noundef nonnull align 8 dereferenceable(36) %82)
          to label %84 unwind label %117

84:                                               ; preds = %81
  %85 = load ptr, ptr %18, align 8, !tbaa !5
  %86 = invoke noundef float @_ZNK3imp4Vec31zEv(ptr noundef nonnull align 8 dereferenceable(36) %85)
          to label %87 unwind label %117

87:                                               ; preds = %84
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %22, float noundef %83, float noundef 0.000000e+00, float noundef %86)
          to label %88 unwind label %117

88:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 40, ptr %23) #5
  %89 = load ptr, ptr %20, align 8, !tbaa !5
  %90 = invoke noundef float @_ZNK3imp4Vec31xEv(ptr noundef nonnull align 8 dereferenceable(36) %89)
          to label %91 unwind label %121

91:                                               ; preds = %88
  %92 = load ptr, ptr %20, align 8, !tbaa !5
  %93 = invoke noundef float @_ZNK3imp4Vec31zEv(ptr noundef nonnull align 8 dereferenceable(36) %92)
          to label %94 unwind label %121

94:                                               ; preds = %91
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %23, float noundef %90, float noundef 0.000000e+00, float noundef %93)
          to label %95 unwind label %121

95:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 40, ptr %24) #5
  %96 = load ptr, ptr %18, align 8, !tbaa !5
  %97 = invoke noundef float @_ZNK3imp4Vec31yEv(ptr noundef nonnull align 8 dereferenceable(36) %96)
          to label %98 unwind label %125

98:                                               ; preds = %95
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %24, float noundef 0.000000e+00, float noundef %97, float noundef 0.000000e+00)
          to label %99 unwind label %125

99:                                               ; preds = %98
  call void @llvm.lifetime.start.p0(i64 40, ptr %25) #5
  %100 = load ptr, ptr %20, align 8, !tbaa !5
  %101 = invoke noundef float @_ZNK3imp4Vec31yEv(ptr noundef nonnull align 8 dereferenceable(36) %100)
          to label %102 unwind label %129

102:                                              ; preds = %99
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %25, float noundef 0.000000e+00, float noundef %101, float noundef 0.000000e+00)
          to label %103 unwind label %129

103:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  store i32 0, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  store i32 1, ptr %27, align 4, !tbaa !9
  br label %104

104:                                              ; preds = %345, %103
  %105 = load i32, ptr %27, align 4, !tbaa !9
  %106 = load i32, ptr %8, align 4, !tbaa !9
  %107 = icmp slt i32 %105, %106
  br i1 %107, label %133, label %108

108:                                              ; preds = %104
  store i32 5, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  br label %355

109:                                              ; preds = %75
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %14, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %15, align 4
  br label %365

113:                                              ; preds = %78
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %14, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %15, align 4
  br label %364

117:                                              ; preds = %87, %84, %81
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %14, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %15, align 4
  br label %363

121:                                              ; preds = %94, %91, %88
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %14, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %15, align 4
  br label %362

125:                                              ; preds = %98, %95
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %14, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %15, align 4
  br label %361

129:                                              ; preds = %102, %99
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %14, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %15, align 4
  br label %360

133:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 40, ptr %28) #5
  %134 = load i32, ptr %27, align 4, !tbaa !9
  invoke void @_ZNK3imp13CircleSamplerixEi(ptr dead_on_unwind writable sret(%"class.imp::Vec3") align 8 %28, ptr noundef nonnull align 8 dereferenceable(112) %11, i32 noundef %134)
          to label %135 unwind label %227

135:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 40, ptr %29) #5
  %136 = load i32, ptr %26, align 4, !tbaa !9
  invoke void @_ZNK3imp13CircleSamplerixEi(ptr dead_on_unwind writable sret(%"class.imp::Vec3") align 8 %29, ptr noundef nonnull align 8 dereferenceable(112) %11, i32 noundef %136)
          to label %137 unwind label %231

137:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 40, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %32) #5
  %138 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36) %29, i32 noundef 0)
          to label %139 unwind label %235

139:                                              ; preds = %137
  %140 = load float, ptr %138, align 4, !tbaa !25
  invoke void @_ZNK3imp3VecILi3EfEmlEf(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %32, ptr noundef nonnull align 8 dereferenceable(36) %22, float noundef %140)
          to label %141 unwind label %235

141:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 40, ptr %33) #5
  %142 = load ptr, ptr %7, align 8, !tbaa !5
  %143 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36) %29, i32 noundef 2)
          to label %144 unwind label %239

144:                                              ; preds = %141
  %145 = load float, ptr %143, align 4, !tbaa !25
  invoke void @_ZN3imp3mixINS_4Vec3EEET_RKS2_S4_f(ptr dead_on_unwind writable sret(%"class.imp::Vec3") align 8 %33, ptr noundef nonnull align 8 dereferenceable(36) %24, ptr noundef nonnull align 8 dereferenceable(36) %142, float noundef %145)
          to label %146 unwind label %239

146:                                              ; preds = %144
  invoke void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %31, ptr noundef nonnull align 8 dereferenceable(36) %32, ptr noundef nonnull align 8 dereferenceable(36) %33)
          to label %147 unwind label %243

147:                                              ; preds = %146
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %30, ptr noundef nonnull align 8 dereferenceable(36) %31, float noundef 1.000000e+00)
          to label %148 unwind label %247

148:                                              ; preds = %147
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %31) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %33) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %33) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %32) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %36) #5
  %149 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36) %29, i32 noundef 0)
          to label %150 unwind label %254

150:                                              ; preds = %148
  %151 = load float, ptr %149, align 4, !tbaa !25
  invoke void @_ZNK3imp3VecILi3EfEmlEf(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %36, ptr noundef nonnull align 8 dereferenceable(36) %23, float noundef %151)
          to label %152 unwind label %254

152:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 40, ptr %37) #5
  %153 = load ptr, ptr %7, align 8, !tbaa !5
  %154 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36) %29, i32 noundef 2)
          to label %155 unwind label %258

155:                                              ; preds = %152
  %156 = load float, ptr %154, align 4, !tbaa !25
  invoke void @_ZN3imp3mixINS_4Vec3EEET_RKS2_S4_f(ptr dead_on_unwind writable sret(%"class.imp::Vec3") align 8 %37, ptr noundef nonnull align 8 dereferenceable(36) %25, ptr noundef nonnull align 8 dereferenceable(36) %153, float noundef %156)
          to label %157 unwind label %258

157:                                              ; preds = %155
  invoke void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %35, ptr noundef nonnull align 8 dereferenceable(36) %36, ptr noundef nonnull align 8 dereferenceable(36) %37)
          to label %158 unwind label %262

158:                                              ; preds = %157
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %34, ptr noundef nonnull align 8 dereferenceable(36) %35, float noundef 1.000000e+00)
          to label %159 unwind label %266

159:                                              ; preds = %158
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %35) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %37) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %37) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %36) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %38) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %40) #5
  %160 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36) %28, i32 noundef 0)
          to label %161 unwind label %273

161:                                              ; preds = %159
  %162 = load float, ptr %160, align 4, !tbaa !25
  invoke void @_ZNK3imp3VecILi3EfEmlEf(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %40, ptr noundef nonnull align 8 dereferenceable(36) %22, float noundef %162)
          to label %163 unwind label %273

163:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 40, ptr %41) #5
  %164 = load ptr, ptr %7, align 8, !tbaa !5
  %165 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36) %28, i32 noundef 2)
          to label %166 unwind label %277

166:                                              ; preds = %163
  %167 = load float, ptr %165, align 4, !tbaa !25
  invoke void @_ZN3imp3mixINS_4Vec3EEET_RKS2_S4_f(ptr dead_on_unwind writable sret(%"class.imp::Vec3") align 8 %41, ptr noundef nonnull align 8 dereferenceable(36) %24, ptr noundef nonnull align 8 dereferenceable(36) %164, float noundef %167)
          to label %168 unwind label %277

168:                                              ; preds = %166
  invoke void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %39, ptr noundef nonnull align 8 dereferenceable(36) %40, ptr noundef nonnull align 8 dereferenceable(36) %41)
          to label %169 unwind label %281

169:                                              ; preds = %168
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %38, ptr noundef nonnull align 8 dereferenceable(36) %39, float noundef 1.000000e+00)
          to label %170 unwind label %285

170:                                              ; preds = %169
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %39) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %41) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %41) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %40) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %42) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %43) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %44) #5
  %171 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36) %28, i32 noundef 0)
          to label %172 unwind label %292

172:                                              ; preds = %170
  %173 = load float, ptr %171, align 4, !tbaa !25
  invoke void @_ZNK3imp3VecILi3EfEmlEf(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %44, ptr noundef nonnull align 8 dereferenceable(36) %23, float noundef %173)
          to label %174 unwind label %292

174:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 40, ptr %45) #5
  %175 = load ptr, ptr %7, align 8, !tbaa !5
  %176 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36) %28, i32 noundef 2)
          to label %177 unwind label %296

177:                                              ; preds = %174
  %178 = load float, ptr %176, align 4, !tbaa !25
  invoke void @_ZN3imp3mixINS_4Vec3EEET_RKS2_S4_f(ptr dead_on_unwind writable sret(%"class.imp::Vec3") align 8 %45, ptr noundef nonnull align 8 dereferenceable(36) %25, ptr noundef nonnull align 8 dereferenceable(36) %175, float noundef %178)
          to label %179 unwind label %296

179:                                              ; preds = %177
  invoke void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %43, ptr noundef nonnull align 8 dereferenceable(36) %44, ptr noundef nonnull align 8 dereferenceable(36) %45)
          to label %180 unwind label %300

180:                                              ; preds = %179
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %42, ptr noundef nonnull align 8 dereferenceable(36) %43, float noundef 1.000000e+00)
          to label %181 unwind label %304

181:                                              ; preds = %180
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %43) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %45) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %45) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %44) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %43) #5
  %182 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8GeometryELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %0) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %46) #5
  call void @llvm.lifetime.start.p0(i64 240, ptr %48) #5
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %48, ptr noundef nonnull align 8 dereferenceable(36) %34) #5
  %183 = getelementptr inbounds %"class.imp::Vec3", ptr %48, i64 1
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %183, ptr noundef nonnull align 8 dereferenceable(36) %30) #5
  %184 = getelementptr inbounds %"class.imp::Vec3", ptr %48, i64 2
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %184, ptr noundef nonnull align 8 dereferenceable(36) %42) #5
  %185 = getelementptr inbounds %"class.imp::Vec3", ptr %48, i64 3
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %185, ptr noundef nonnull align 8 dereferenceable(36) %38) #5
  %186 = getelementptr inbounds %"class.imp::Vec3", ptr %48, i64 4
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %186, ptr noundef nonnull align 8 dereferenceable(36) %42) #5
  %187 = getelementptr inbounds %"class.imp::Vec3", ptr %48, i64 5
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %187, ptr noundef nonnull align 8 dereferenceable(36) %30) #5
  %188 = getelementptr inbounds %"class.std::initializer_list", ptr %47, i32 0, i32 0
  store ptr %48, ptr %188, align 8, !tbaa !26
  %189 = getelementptr inbounds %"class.std::initializer_list", ptr %47, i32 0, i32 1
  store i64 6, ptr %189, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 1, ptr %49) #5
  call void @_ZNSaIN3imp4Vec3EEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #5
  %190 = getelementptr inbounds { ptr, i64 }, ptr %47, i32 0, i32 0
  %191 = load ptr, ptr %190, align 8
  %192 = getelementptr inbounds { ptr, i64 }, ptr %47, i32 0, i32 1
  %193 = load i64, ptr %192, align 8
  invoke void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %46, ptr %191, i64 %193, ptr noundef nonnull align 1 dereferenceable(1) %49)
          to label %194 unwind label %311

194:                                              ; preds = %181
  invoke void @_ZN3imp8Geometry3addERKSt6vectorINS_4Vec3ESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(156) %182, ptr noundef nonnull align 8 dereferenceable(24) %46)
          to label %195 unwind label %315

195:                                              ; preds = %194
  call void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #5
  call void @_ZNSt15__new_allocatorIN3imp4Vec3EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #5
  %196 = getelementptr inbounds [6 x %"class.imp::Vec3"], ptr %48, i32 0, i32 0
  %197 = getelementptr inbounds %"class.imp::Vec3", ptr %196, i64 6
  br label %198

198:                                              ; preds = %198, %195
  %199 = phi ptr [ %197, %195 ], [ %200, %198 ]
  %200 = getelementptr inbounds %"class.imp::Vec3", ptr %199, i64 -1
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %200) #5
  %201 = icmp eq ptr %200, %196
  br i1 %201, label %202, label %198

202:                                              ; preds = %198
  call void @llvm.lifetime.end.p0(i64 240, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #5
  %203 = load i32, ptr %27, align 4, !tbaa !9
  %204 = load i32, ptr %8, align 4, !tbaa !9
  %205 = sub nsw i32 %204, 1
  %206 = icmp eq i32 %203, %205
  br i1 %206, label %207, label %343

207:                                              ; preds = %202
  %208 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8GeometryELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %0) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %50) #5
  call void @llvm.lifetime.start.p0(i64 120, ptr %52) #5
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %52, ptr noundef nonnull align 8 dereferenceable(36) %42) #5
  %209 = getelementptr inbounds %"class.imp::Vec3", ptr %52, i64 1
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %209, ptr noundef nonnull align 8 dereferenceable(36) %38) #5
  %210 = getelementptr inbounds %"class.imp::Vec3", ptr %52, i64 2
  %211 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %210, ptr noundef nonnull align 8 dereferenceable(36) %211) #5
  %212 = getelementptr inbounds %"class.std::initializer_list", ptr %51, i32 0, i32 0
  store ptr %52, ptr %212, align 8, !tbaa !26
  %213 = getelementptr inbounds %"class.std::initializer_list", ptr %51, i32 0, i32 1
  store i64 3, ptr %213, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 1, ptr %53) #5
  call void @_ZNSaIN3imp4Vec3EEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #5
  %214 = getelementptr inbounds { ptr, i64 }, ptr %51, i32 0, i32 0
  %215 = load ptr, ptr %214, align 8
  %216 = getelementptr inbounds { ptr, i64 }, ptr %51, i32 0, i32 1
  %217 = load i64, ptr %216, align 8
  invoke void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %50, ptr %215, i64 %217, ptr noundef nonnull align 1 dereferenceable(1) %53)
          to label %218 unwind label %327

218:                                              ; preds = %207
  invoke void @_ZN3imp8Geometry3addERKSt6vectorINS_4Vec3ESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(156) %208, ptr noundef nonnull align 8 dereferenceable(24) %50)
          to label %219 unwind label %331

219:                                              ; preds = %218
  call void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %50) #5
  call void @_ZNSt15__new_allocatorIN3imp4Vec3EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #5
  %220 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %52, i32 0, i32 0
  %221 = getelementptr inbounds %"class.imp::Vec3", ptr %220, i64 3
  br label %222

222:                                              ; preds = %222, %219
  %223 = phi ptr [ %221, %219 ], [ %224, %222 ]
  %224 = getelementptr inbounds %"class.imp::Vec3", ptr %223, i64 -1
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %224) #5
  %225 = icmp eq ptr %224, %220
  br i1 %225, label %226, label %222

226:                                              ; preds = %222
  call void @llvm.lifetime.end.p0(i64 120, ptr %52) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %50) #5
  br label %343

227:                                              ; preds = %133
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %14, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %15, align 4
  br label %354

231:                                              ; preds = %135
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %14, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %15, align 4
  br label %353

235:                                              ; preds = %139, %137
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %14, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %15, align 4
  br label %253

239:                                              ; preds = %144, %141
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %14, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %15, align 4
  br label %252

243:                                              ; preds = %146
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %14, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %15, align 4
  br label %251

247:                                              ; preds = %147
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %14, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %15, align 4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %31) #5
  br label %251

251:                                              ; preds = %247, %243
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %33) #5
  br label %252

252:                                              ; preds = %251, %239
  call void @llvm.lifetime.end.p0(i64 40, ptr %33) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %32) #5
  br label %253

253:                                              ; preds = %252, %235
  call void @llvm.lifetime.end.p0(i64 40, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %31) #5
  br label %352

254:                                              ; preds = %150, %148
  %255 = landingpad { ptr, i32 }
          cleanup
  %256 = extractvalue { ptr, i32 } %255, 0
  store ptr %256, ptr %14, align 8
  %257 = extractvalue { ptr, i32 } %255, 1
  store i32 %257, ptr %15, align 4
  br label %272

258:                                              ; preds = %155, %152
  %259 = landingpad { ptr, i32 }
          cleanup
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %14, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %15, align 4
  br label %271

262:                                              ; preds = %157
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %14, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %15, align 4
  br label %270

266:                                              ; preds = %158
  %267 = landingpad { ptr, i32 }
          cleanup
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %14, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %15, align 4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %35) #5
  br label %270

270:                                              ; preds = %266, %262
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %37) #5
  br label %271

271:                                              ; preds = %270, %258
  call void @llvm.lifetime.end.p0(i64 40, ptr %37) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %36) #5
  br label %272

272:                                              ; preds = %271, %254
  call void @llvm.lifetime.end.p0(i64 40, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %35) #5
  br label %351

273:                                              ; preds = %161, %159
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %14, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %15, align 4
  br label %291

277:                                              ; preds = %166, %163
  %278 = landingpad { ptr, i32 }
          cleanup
  %279 = extractvalue { ptr, i32 } %278, 0
  store ptr %279, ptr %14, align 8
  %280 = extractvalue { ptr, i32 } %278, 1
  store i32 %280, ptr %15, align 4
  br label %290

281:                                              ; preds = %168
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %14, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %15, align 4
  br label %289

285:                                              ; preds = %169
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %14, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %15, align 4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %39) #5
  br label %289

289:                                              ; preds = %285, %281
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %41) #5
  br label %290

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

291:                                              ; preds = %290, %273
  call void @llvm.lifetime.end.p0(i64 40, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %39) #5
  br label %350

292:                                              ; preds = %172, %170
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %14, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %15, align 4
  br label %310

296:                                              ; preds = %177, %174
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %14, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %15, align 4
  br label %309

300:                                              ; preds = %179
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %14, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %15, align 4
  br label %308

304:                                              ; preds = %180
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %14, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %15, align 4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %43) #5
  br label %308

308:                                              ; preds = %304, %300
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %45) #5
  br label %309

309:                                              ; preds = %308, %296
  call void @llvm.lifetime.end.p0(i64 40, ptr %45) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %44) #5
  br label %310

310:                                              ; preds = %309, %292
  call void @llvm.lifetime.end.p0(i64 40, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %43) #5
  br label %349

311:                                              ; preds = %181
  %312 = landingpad { ptr, i32 }
          cleanup
  %313 = extractvalue { ptr, i32 } %312, 0
  store ptr %313, ptr %14, align 8
  %314 = extractvalue { ptr, i32 } %312, 1
  store i32 %314, ptr %15, align 4
  br label %319

315:                                              ; preds = %194
  %316 = landingpad { ptr, i32 }
          cleanup
  %317 = extractvalue { ptr, i32 } %316, 0
  store ptr %317, ptr %14, align 8
  %318 = extractvalue { ptr, i32 } %316, 1
  store i32 %318, ptr %15, align 4
  call void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #5
  br label %319

319:                                              ; preds = %315, %311
  call void @_ZNSt15__new_allocatorIN3imp4Vec3EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #5
  %320 = getelementptr inbounds [6 x %"class.imp::Vec3"], ptr %48, i32 0, i32 0
  %321 = getelementptr inbounds %"class.imp::Vec3", ptr %320, i64 6
  br label %322

322:                                              ; preds = %322, %319
  %323 = phi ptr [ %321, %319 ], [ %324, %322 ]
  %324 = getelementptr inbounds %"class.imp::Vec3", ptr %323, i64 -1
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %324) #5
  %325 = icmp eq ptr %324, %320
  br i1 %325, label %326, label %322

326:                                              ; preds = %322
  call void @llvm.lifetime.end.p0(i64 240, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #5
  br label %348

327:                                              ; preds = %207
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %14, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %15, align 4
  br label %335

331:                                              ; preds = %218
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %14, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %15, align 4
  call void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %50) #5
  br label %335

335:                                              ; preds = %331, %327
  call void @_ZNSt15__new_allocatorIN3imp4Vec3EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #5
  %336 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %52, i32 0, i32 0
  %337 = getelementptr inbounds %"class.imp::Vec3", ptr %336, i64 3
  br label %338

338:                                              ; preds = %338, %335
  %339 = phi ptr [ %337, %335 ], [ %340, %338 ]
  %340 = getelementptr inbounds %"class.imp::Vec3", ptr %339, i64 -1
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %340) #5
  %341 = icmp eq ptr %340, %336
  br i1 %341, label %342, label %338

342:                                              ; preds = %338
  call void @llvm.lifetime.end.p0(i64 120, ptr %52) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %50) #5
  br label %348

343:                                              ; preds = %226, %202
  %344 = load i32, ptr %27, align 4, !tbaa !9
  store i32 %344, ptr %26, align 4, !tbaa !9
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %42) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %42) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %38) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %38) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %34) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %34) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %30) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %30) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %29) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %29) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %28) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #5
  br label %345

345:                                              ; preds = %343
  %346 = load i32, ptr %27, align 4, !tbaa !9
  %347 = add nsw i32 %346, 1
  store i32 %347, ptr %27, align 4, !tbaa !9
  br label %104, !llvm.loop !30

348:                                              ; preds = %342, %326
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %42) #5
  br label %349

349:                                              ; preds = %348, %310
  call void @llvm.lifetime.end.p0(i64 40, ptr %42) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %38) #5
  br label %350

350:                                              ; preds = %349, %291
  call void @llvm.lifetime.end.p0(i64 40, ptr %38) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %34) #5
  br label %351

351:                                              ; preds = %350, %272
  call void @llvm.lifetime.end.p0(i64 40, ptr %34) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %30) #5
  br label %352

352:                                              ; preds = %351, %253
  call void @llvm.lifetime.end.p0(i64 40, ptr %30) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %29) #5
  br label %353

353:                                              ; preds = %352, %231
  call void @llvm.lifetime.end.p0(i64 40, ptr %29) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %28) #5
  br label %354

354:                                              ; preds = %353, %227
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %25) #5
  br label %360

355:                                              ; preds = %108
  %356 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %356, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %25) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %24) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %24) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %23) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %22) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %21) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %19) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %357

357:                                              ; preds = %355
  %358 = load i32, ptr %16, align 4, !tbaa !9
  %359 = add nsw i32 %358, 1
  store i32 %359, ptr %16, align 4, !tbaa !9
  br label %66, !llvm.loop !32

360:                                              ; preds = %354, %129
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %24) #5
  br label %361

361:                                              ; preds = %360, %125
  call void @llvm.lifetime.end.p0(i64 40, ptr %24) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %23) #5
  br label %362

362:                                              ; preds = %361, %121
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %22) #5
  br label %363

363:                                              ; preds = %362, %117
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %21) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %21) #5
  br label %364

364:                                              ; preds = %363, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %19) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #5
  br label %365

365:                                              ; preds = %364, %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @_ZN3imp13CircleSamplerD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %11) #5
  br label %367

366:                                              ; preds = %70
  call void @_ZN3imp13CircleSamplerD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %11) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  ret void

367:                                              ; preds = %365, %71
  call void @llvm.lifetime.end.p0(i64 112, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %368

368:                                              ; preds = %367
  %369 = load ptr, ptr %14, align 8
  %370 = load i32, ptr %15, align 4
  %371 = insertvalue { ptr, i32 } poison, ptr %369, 0
  %372 = insertvalue { ptr, i32 } %371, i32 %370, 1
  resume { ptr, i32 } %372
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3imp4Vec31xEv(ptr noundef nonnull align 8 dereferenceable(36)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3imp4Vec31zEv(ptr noundef nonnull align 8 dereferenceable(36)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3imp4Vec31yEv(ptr noundef nonnull align 8 dereferenceable(36)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36), i32 noundef) #1 align 2

; Function Attrs: mustprogress 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)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp3mixINS_4Vec3EEET_RKS2_S4_f(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec3") align 8, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36), float noundef) #4

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 84}
!12 = !{!"_ZTSN3imp13CircleSamplerE", !13, i64 0, !13, i64 40, !19, i64 80, !10, i64 84, !20, i64 88}
!13 = !{!"_ZTSN3imp4Vec3E", !14, i64 0}
!14 = !{!"_ZTSN3imp3VecILi3EfEE", !15, i64 0, !7, i64 24}
!15 = !{!"_ZTSN3imp6ObjectE", !16, i64 8}
!16 = !{!"_ZTSSt10shared_ptrIN3imp6ObjectEE", !17, i64 0}
!17 = !{!"_ZTSSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !18, i64 8}
!18 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!19 = !{!"float", !7, i64 0}
!20 = !{!"_ZTSSt6vectorIN3imp4Vec3ESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIN3imp4Vec3ESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN3imp4Vec3ESaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN3imp4Vec3ESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!12, !19, i64 80}
!25 = !{!19, !19, i64 0}
!26 = !{!27, !6, i64 0}
!27 = !{!"_ZTSSt16initializer_listIN3imp4Vec3EE", !6, i64 0, !28, i64 8}
!28 = !{!"long", !7, i64 0}
!29 = !{!27, !28, i64 8}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = distinct !{!32, !31}


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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3imp13CircleSamplerixEi(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec3") align 8, ptr noundef nonnull align 8 dereferenceable(112), i32 noundef) local_unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN3imp8Geometry3addERKSt6vectorINS_4Vec3ESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(156), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3imp13add_cap_roundESt10shared_ptrINS_8GeometryEERKNS_13CircleSamplerERKNS_4Vec3Ei(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(112) %1, ptr noundef nonnull align 8 dereferenceable(36) %2, i32 noundef %3) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"struct.imp::CircleSampler", align 8
  %6 = alloca %"class.imp::Vec3", align 8
  %7 = alloca %"class.imp::Vec3", align 8
  %8 = alloca %"class.imp::Vec3", align 8
  %9 = alloca %"class.imp::Vec3", align 8
  %10 = alloca %"class.imp::Vec3", align 8
  %11 = alloca %"class.imp::Vec3", align 8
  %12 = alloca %"class.imp::Vec3", align 8
  %13 = alloca %"class.imp::Vec3", align 8
  %14 = alloca %"class.imp::Vec3", align 8
  %15 = alloca %"class.imp::Vec3", 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 %"class.imp::Vec3", align 8
  %20 = alloca %"class.imp::Vec3", align 8
  %21 = alloca %"class.imp::Vec", 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::Vec3", align 8
  %28 = alloca %"class.imp::Vec3", align 8
  %29 = alloca %"class.imp::Vec", align 8
  %30 = alloca %"class.imp::Vec", align 8
  %31 = alloca %"class.imp::Vec3", align 8
  %32 = alloca %"class.std::vector", align 8
  %33 = alloca [6 x %"class.imp::Vec3"], align 8
  %34 = alloca %"class.std::allocator", align 1
  %35 = alloca %"class.std::vector", align 8
  %36 = alloca [3 x %"class.imp::Vec3"], align 8
  %37 = alloca %"class.std::allocator", align 1
  %38 = getelementptr inbounds i8, ptr %1, i64 84
  %39 = load i32, ptr %38, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #5
  call void @_ZN3imp4Vec3C2Ef(ptr noundef nonnull align 8 dereferenceable(36) %6, float noundef 0.000000e+00)
  %40 = getelementptr inbounds i8, ptr %1, i64 80
  %41 = load float, ptr %40, align 8, !tbaa !22
  %42 = getelementptr inbounds i8, ptr %1, i64 40
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %7, ptr noundef nonnull align 8 dereferenceable(36) %42) #5
  invoke void @_ZN3imp13CircleSamplerC2ERKNS_4Vec3EfS1_i(ptr noundef nonnull align 8 dereferenceable(112) %5, ptr noundef nonnull align 8 dereferenceable(36) %6, float noundef %41, ptr noundef nonnull %7, i32 noundef %3)
          to label %43 unwind label %62

43:                                               ; preds = %4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %7) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %6) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #5
  %44 = icmp sgt i32 %39, 0
  br i1 %44, label %.lr.ph102, label %._crit_edge103

.lr.ph102:                                        ; preds = %43
  %45 = add nsw i32 %39, -1
  %46 = icmp sgt i32 %3, 1
  %47 = getelementptr inbounds i8, ptr %33, i64 40
  %48 = getelementptr inbounds i8, ptr %33, i64 80
  %49 = getelementptr inbounds i8, ptr %33, i64 120
  %50 = getelementptr inbounds i8, ptr %33, i64 160
  %51 = getelementptr inbounds i8, ptr %33, i64 200
  %52 = add nsw i32 %3, -1
  %53 = getelementptr inbounds i8, ptr %36, i64 40
  %54 = getelementptr inbounds i8, ptr %36, i64 80
  %55 = getelementptr inbounds i8, ptr %33, i64 200
  %56 = getelementptr inbounds i8, ptr %33, i64 160
  %57 = getelementptr inbounds i8, ptr %33, i64 120
  %58 = getelementptr inbounds i8, ptr %33, i64 80
  %59 = getelementptr inbounds i8, ptr %33, i64 40
  %60 = getelementptr inbounds i8, ptr %36, i64 80
  %61 = getelementptr inbounds i8, ptr %36, i64 40
  br label %64

._crit_edge103:                                   ; preds = %._crit_edge, %43
  call void @_ZN3imp13CircleSamplerD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %5) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %5) #5
  ret void

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

64:                                               ; preds = %.lr.ph102, %._crit_edge
  %.0100 = phi i32 [ %45, %.lr.ph102 ], [ %.06099, %._crit_edge ]
  %.06099 = phi i32 [ 0, %.lr.ph102 ], [ %74, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #5
  call void @_ZNK3imp13CircleSamplerixEi(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec3") align 8 %8, ptr noundef nonnull align 8 dereferenceable(112) %1, i32 noundef %.0100)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #5
  call void @_ZNK3imp13CircleSamplerixEi(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec3") align 8 %9, ptr noundef nonnull align 8 dereferenceable(112) %1, i32 noundef %.06099)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #5
  %65 = call noundef float @_ZNK3imp4Vec31xEv(ptr noundef nonnull align 8 dereferenceable(36) %8)
  %66 = call noundef float @_ZNK3imp4Vec31zEv(ptr noundef nonnull align 8 dereferenceable(36) %8)
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %10, float noundef %65, float noundef 0.000000e+00, float noundef %66)
          to label %67 unwind label %75

67:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #5
  %68 = call noundef float @_ZNK3imp4Vec31xEv(ptr noundef nonnull align 8 dereferenceable(36) %9)
  %69 = call noundef float @_ZNK3imp4Vec31zEv(ptr noundef nonnull align 8 dereferenceable(36) %9)
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %11, float noundef %68, float noundef 0.000000e+00, float noundef %69)
          to label %70 unwind label %77

70:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %12) #5
  %71 = call noundef float @_ZNK3imp4Vec31yEv(ptr noundef nonnull align 8 dereferenceable(36) %8)
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %12, float noundef 0.000000e+00, float noundef %71, float noundef 0.000000e+00)
          to label %72 unwind label %79

72:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #5
  %73 = call noundef float @_ZNK3imp4Vec31yEv(ptr noundef nonnull align 8 dereferenceable(36) %9)
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %13, float noundef 0.000000e+00, float noundef %73, float noundef 0.000000e+00)
          to label %.preheader unwind label %81

.preheader:                                       ; preds = %72
  br i1 %46, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %184, %.preheader
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %13) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %12) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %11) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %10) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %9) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %8) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #5
  %74 = add nuw nsw i32 %.06099, 1
  %exitcond104.not = icmp eq i32 %74, %39
  br i1 %exitcond104.not, label %._crit_edge103, label %64, !llvm.loop !23

75:                                               ; preds = %64
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %194

77:                                               ; preds = %67
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %193

79:                                               ; preds = %70
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %192

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

.lr.ph:                                           ; preds = %.preheader, %184
  %.06198 = phi i32 [ %185, %184 ], [ 1, %.preheader ]
  %.06297 = phi i32 [ %.06198, %184 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #5
  call void @_ZNK3imp13CircleSamplerixEi(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec3") align 8 %14, ptr noundef nonnull align 8 dereferenceable(112) %5, i32 noundef %.06198)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %15) #5
  call void @_ZNK3imp13CircleSamplerixEi(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec3") align 8 %15, ptr noundef nonnull align 8 dereferenceable(112) %5, i32 noundef %.06297)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %18) #5
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36) %15, i32 noundef 0)
  %84 = load float, ptr %83, align 4, !tbaa !25
  invoke void @_ZNK3imp3VecILi3EfEmlEf(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %18, ptr noundef nonnull align 8 dereferenceable(36) %10, float noundef %84)
          to label %85 unwind label %123

85:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %19) #5
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36) %15, i32 noundef 2)
  %87 = load float, ptr %86, align 4, !tbaa !25
  invoke void @_ZN3imp3mixINS_4Vec3EEET_RKS2_S4_f(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec3") align 8 %19, ptr noundef nonnull align 8 dereferenceable(36) %12, ptr noundef nonnull align 8 dereferenceable(36) %2, float noundef %87)
          to label %88 unwind label %125

88:                                               ; preds = %85
  invoke void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %17, ptr noundef nonnull align 8 dereferenceable(36) %18, ptr noundef nonnull align 8 dereferenceable(36) %19)
          to label %89 unwind label %127

89:                                               ; preds = %88
  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 %90 unwind label %129

90:                                               ; preds = %89
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %17) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %19) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %18) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %22) #5
  %91 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36) %15, i32 noundef 0)
  %92 = load float, ptr %91, align 4, !tbaa !25
  invoke void @_ZNK3imp3VecILi3EfEmlEf(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %22, ptr noundef nonnull align 8 dereferenceable(36) %11, float noundef %92)
          to label %93 unwind label %134

93:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %23) #5
  %94 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36) %15, i32 noundef 2)
  %95 = load float, ptr %94, align 4, !tbaa !25
  invoke void @_ZN3imp3mixINS_4Vec3EEET_RKS2_S4_f(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec3") align 8 %23, ptr noundef nonnull align 8 dereferenceable(36) %13, ptr noundef nonnull align 8 dereferenceable(36) %2, float noundef %95)
          to label %96 unwind label %136

96:                                               ; preds = %93
  invoke void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %21, ptr noundef nonnull align 8 dereferenceable(36) %22, ptr noundef nonnull align 8 dereferenceable(36) %23)
          to label %97 unwind label %138

97:                                               ; preds = %96
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %20, ptr noundef nonnull align 8 dereferenceable(36) %21, float noundef 1.000000e+00)
          to label %98 unwind label %140

98:                                               ; preds = %97
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %21) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %23) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %23) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %22) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %24) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %25) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %26) #5
  %99 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36) %14, i32 noundef 0)
  %100 = load float, ptr %99, align 4, !tbaa !25
  invoke void @_ZNK3imp3VecILi3EfEmlEf(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %26, ptr noundef nonnull align 8 dereferenceable(36) %10, float noundef %100)
          to label %101 unwind label %145

101:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %27) #5
  %102 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36) %14, i32 noundef 2)
  %103 = load float, ptr %102, align 4, !tbaa !25
  invoke void @_ZN3imp3mixINS_4Vec3EEET_RKS2_S4_f(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec3") align 8 %27, ptr noundef nonnull align 8 dereferenceable(36) %12, ptr noundef nonnull align 8 dereferenceable(36) %2, float noundef %103)
          to label %104 unwind label %147

104:                                              ; preds = %101
  invoke 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) %27)
          to label %105 unwind label %149

105:                                              ; preds = %104
  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 %106 unwind label %151

106:                                              ; preds = %105
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %25) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %27) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %27) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %26) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %25) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %28) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %29) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %30) #5
  %107 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36) %14, i32 noundef 0)
  %108 = load float, ptr %107, align 4, !tbaa !25
  invoke void @_ZNK3imp3VecILi3EfEmlEf(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %30, ptr noundef nonnull align 8 dereferenceable(36) %11, float noundef %108)
          to label %109 unwind label %156

109:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %31) #5
  %110 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36) %14, i32 noundef 2)
  %111 = load float, ptr %110, align 4, !tbaa !25
  invoke void @_ZN3imp3mixINS_4Vec3EEET_RKS2_S4_f(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec3") align 8 %31, ptr noundef nonnull align 8 dereferenceable(36) %13, ptr noundef nonnull align 8 dereferenceable(36) %2, float noundef %111)
          to label %112 unwind label %158

112:                                              ; preds = %109
  invoke void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %29, ptr noundef nonnull align 8 dereferenceable(36) %30, ptr noundef nonnull align 8 dereferenceable(36) %31)
          to label %113 unwind label %160

113:                                              ; preds = %112
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %28, ptr noundef nonnull align 8 dereferenceable(36) %29, float noundef 1.000000e+00)
          to label %114 unwind label %162

114:                                              ; preds = %113
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %29) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %31) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %31) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %30) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %30) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %29) #5
  %115 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8GeometryELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %0) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %32) #5
  call void @llvm.lifetime.start.p0(i64 240, ptr nonnull %33) #5
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %33, ptr noundef nonnull align 8 dereferenceable(36) %20) #5
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %47, ptr noundef nonnull align 8 dereferenceable(36) %16) #5
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %48, ptr noundef nonnull align 8 dereferenceable(36) %28) #5
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %49, ptr noundef nonnull align 8 dereferenceable(36) %24) #5
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %50, ptr noundef nonnull align 8 dereferenceable(36) %28) #5
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %51, ptr noundef nonnull align 8 dereferenceable(36) %16) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %34) #5
  call void @_ZNSaIN3imp4Vec3EEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #5
  invoke void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr nonnull %33, i64 6, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %116 unwind label %167

116:                                              ; preds = %114
  invoke void @_ZN3imp8Geometry3addERKSt6vectorINS_4Vec3ESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(156) %115, ptr noundef nonnull align 8 dereferenceable(24) %32)
          to label %117 unwind label %169

117:                                              ; preds = %116
  call void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #5
  call void @_ZNSt15__new_allocatorIN3imp4Vec3EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %34) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %55) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %56) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %57) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %58) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %59) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %33) #5
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %33) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %32) #5
  %118 = icmp eq i32 %.06198, %52
  br i1 %118, label %119, label %184

119:                                              ; preds = %117
  %120 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8GeometryELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %0) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %35) #5
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %36) #5
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %36, ptr noundef nonnull align 8 dereferenceable(36) %28) #5
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %53, ptr noundef nonnull align 8 dereferenceable(36) %24) #5
  call void @_ZN3imp4Vec3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %54, ptr noundef nonnull align 8 dereferenceable(36) %2) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %37) #5
  call void @_ZNSaIN3imp4Vec3EEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #5
  invoke void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr nonnull %36, i64 3, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %121 unwind label %177

121:                                              ; preds = %119
  invoke void @_ZN3imp8Geometry3addERKSt6vectorINS_4Vec3ESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(156) %120, ptr noundef nonnull align 8 dereferenceable(24) %35)
          to label %122 unwind label %179

122:                                              ; preds = %121
  call void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  call void @_ZNSt15__new_allocatorIN3imp4Vec3EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %37) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %60) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %61) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %36) #5
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %36) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %35) #5
  br label %184

123:                                              ; preds = %.lr.ph
  %124 = landingpad { ptr, i32 }
          cleanup
  br label %133

125:                                              ; preds = %85
  %126 = landingpad { ptr, i32 }
          cleanup
  br label %132

127:                                              ; preds = %88
  %128 = landingpad { ptr, i32 }
          cleanup
  br label %131

129:                                              ; preds = %89
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %17) #5
  br label %131

131:                                              ; preds = %129, %127
  %.pn = phi { ptr, i32 } [ %130, %129 ], [ %128, %127 ]
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %19) #5
  br label %132

132:                                              ; preds = %131, %125
  %.pn.pn = phi { ptr, i32 } [ %.pn, %131 ], [ %126, %125 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %18) #5
  br label %133

133:                                              ; preds = %132, %123
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %132 ], [ %124, %123 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #5
  br label %190

134:                                              ; preds = %90
  %135 = landingpad { ptr, i32 }
          cleanup
  br label %144

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

138:                                              ; preds = %96
  %139 = landingpad { ptr, i32 }
          cleanup
  br label %142

140:                                              ; preds = %97
  %141 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %21) #5
  br label %142

142:                                              ; preds = %140, %138
  %.pn71 = phi { ptr, i32 } [ %141, %140 ], [ %139, %138 ]
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %23) #5
  br label %143

143:                                              ; preds = %142, %136
  %.pn71.pn = phi { ptr, i32 } [ %.pn71, %142 ], [ %137, %136 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %23) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %22) #5
  br label %144

144:                                              ; preds = %143, %134
  %.pn71.pn.pn = phi { ptr, i32 } [ %.pn71.pn, %143 ], [ %135, %134 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #5
  br label %189

145:                                              ; preds = %98
  %146 = landingpad { ptr, i32 }
          cleanup
  br label %155

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

149:                                              ; preds = %104
  %150 = landingpad { ptr, i32 }
          cleanup
  br label %153

151:                                              ; preds = %105
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %25) #5
  br label %153

153:                                              ; preds = %151, %149
  %.pn75 = phi { ptr, i32 } [ %152, %151 ], [ %150, %149 ]
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %27) #5
  br label %154

154:                                              ; preds = %153, %147
  %.pn75.pn = phi { ptr, i32 } [ %.pn75, %153 ], [ %148, %147 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %27) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %26) #5
  br label %155

155:                                              ; preds = %154, %145
  %.pn75.pn.pn = phi { ptr, i32 } [ %.pn75.pn, %154 ], [ %146, %145 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %25) #5
  br label %188

156:                                              ; preds = %106
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %166

158:                                              ; preds = %109
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %165

160:                                              ; preds = %112
  %161 = landingpad { ptr, i32 }
          cleanup
  br label %164

162:                                              ; preds = %113
  %163 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %29) #5
  br label %164

164:                                              ; preds = %162, %160
  %.pn79 = phi { ptr, i32 } [ %163, %162 ], [ %161, %160 ]
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %31) #5
  br label %165

165:                                              ; preds = %164, %158
  %.pn79.pn = phi { ptr, i32 } [ %.pn79, %164 ], [ %159, %158 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %31) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %30) #5
  br label %166

166:                                              ; preds = %165, %156
  %.pn79.pn.pn = phi { ptr, i32 } [ %.pn79.pn, %165 ], [ %157, %156 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %30) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %29) #5
  br label %187

167:                                              ; preds = %114
  %168 = landingpad { ptr, i32 }
          cleanup
  br label %171

169:                                              ; preds = %116
  %170 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #5
  br label %171

171:                                              ; preds = %169, %167
  %.pn83 = phi { ptr, i32 } [ %170, %169 ], [ %168, %167 ]
  call void @_ZNSt15__new_allocatorIN3imp4Vec3EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %34) #5
  %172 = getelementptr inbounds i8, ptr %33, i64 200
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %172) #5
  %173 = getelementptr inbounds i8, ptr %33, i64 160
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %173) #5
  %174 = getelementptr inbounds i8, ptr %33, i64 120
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %174) #5
  %175 = getelementptr inbounds i8, ptr %33, i64 80
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %175) #5
  %176 = getelementptr inbounds i8, ptr %33, i64 40
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %176) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %33) #5
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %33) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %32) #5
  br label %186

177:                                              ; preds = %119
  %178 = landingpad { ptr, i32 }
          cleanup
  br label %181

179:                                              ; preds = %121
  %180 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN3imp4Vec3ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  br label %181

181:                                              ; preds = %179, %177
  %.pn85 = phi { ptr, i32 } [ %180, %179 ], [ %178, %177 ]
  call void @_ZNSt15__new_allocatorIN3imp4Vec3EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %37) #5
  %182 = getelementptr inbounds i8, ptr %36, i64 80
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %182) #5
  %183 = getelementptr inbounds i8, ptr %36, i64 40
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %183) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %36) #5
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %36) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %35) #5
  br label %186

184:                                              ; preds = %122, %117
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %28) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %28) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %24) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %24) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %20) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %16) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %16) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %15) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %14) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #5
  %185 = add nuw nsw i32 %.06198, 1
  %exitcond.not = icmp eq i32 %185, %3
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !26

186:                                              ; preds = %181, %171
  %.pn85.pn = phi { ptr, i32 } [ %.pn85, %181 ], [ %.pn83, %171 ]
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %28) #5
  br label %187

187:                                              ; preds = %186, %166
  %.pn85.pn.pn = phi { ptr, i32 } [ %.pn85.pn, %186 ], [ %.pn79.pn.pn, %166 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %28) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %24) #5
  br label %188

188:                                              ; preds = %187, %155
  %.pn85.pn.pn.pn = phi { ptr, i32 } [ %.pn85.pn.pn, %187 ], [ %.pn75.pn.pn, %155 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %24) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %20) #5
  br label %189

189:                                              ; preds = %188, %144
  %.pn85.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn85.pn.pn.pn, %188 ], [ %.pn71.pn.pn, %144 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %16) #5
  br label %190

190:                                              ; preds = %189, %133
  %.pn85.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn85.pn.pn.pn.pn, %189 ], [ %.pn.pn.pn, %133 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %16) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %15) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %14) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %13) #5
  br label %191

191:                                              ; preds = %190, %81
  %.pn85.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn85.pn.pn.pn.pn.pn, %190 ], [ %82, %81 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %12) #5
  br label %192

192:                                              ; preds = %191, %79
  %.pn85.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn85.pn.pn.pn.pn.pn.pn, %191 ], [ %80, %79 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %11) #5
  br label %193

193:                                              ; preds = %192, %77
  %.pn85.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn85.pn.pn.pn.pn.pn.pn.pn, %192 ], [ %78, %77 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %10) #5
  br label %194

194:                                              ; preds = %193, %75
  %.pn85.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn85.pn.pn.pn.pn.pn.pn.pn.pn, %193 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %9) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %8) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #5
  call void @_ZN3imp13CircleSamplerD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %5) #5
  br label %195

195:                                              ; preds = %194, %62
  %.pn85.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn85.pn.pn.pn.pn.pn.pn.pn.pn.pn, %194 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %5) #5
  resume { ptr, i32 } %.pn85.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3imp4Vec31xEv(ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3imp4Vec31zEv(ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3imp4Vec31yEv(ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress 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 #4 align 2

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !17, i64 84}
!6 = !{!"_ZTSN3imp13CircleSamplerE", !7, i64 0, !7, i64 40, !16, i64 80, !17, i64 84, !18, i64 88}
!7 = !{!"_ZTSN3imp4Vec3E", !8, i64 0}
!8 = !{!"_ZTSN3imp3VecILi3EfEE", !9, i64 0, !13, i64 24}
!9 = !{!"_ZTSN3imp6ObjectE", !10, i64 8}
!10 = !{!"_ZTSSt10shared_ptrIN3imp6ObjectEE", !11, i64 0}
!11 = !{!"_ZTSSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EE", !12, i64 0, !15, i64 8}
!12 = !{!"any pointer", !13, i64 0}
!13 = !{!"omnipotent char", !14, i64 0}
!14 = !{!"Simple C++ TBAA"}
!15 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !12, i64 0}
!16 = !{!"float", !13, i64 0}
!17 = !{!"int", !13, i64 0}
!18 = !{!"_ZTSSt6vectorIN3imp4Vec3ESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN3imp4Vec3ESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN3imp4Vec3ESaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN3imp4Vec3ESaIS1_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!22 = !{!6, !16, i64 80}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!16, !16, i64 0}
!26 = distinct !{!26, !24}


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