; LLVM IR from Slingshot-Physics/slingshot-community :: common/geometry/src (tetrahedron)

; 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.Vector4 = type { [4 x float] }
%class.Vector3 = type { [3 x float] }
%"struct.geometry::types::pointBaryCoord_t" = type { %class.Vector3, %class.Vector4 }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8geometry11tetrahedron10baryCoordsERK7Vector3S3_S3_S3_S3_(ptr dead_on_unwind noalias writable sret(%class.Vector4) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Vector3miERKS_(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8geometry11tetrahedron19closestPointToPointERK7Vector3S3_S3_S3_S3_(ptr dead_on_unwind noalias writable sret(%"struct.geometry::types::pointBaryCoord_t") align 4 %0, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %5) #0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %class.Vector3, align 4
  %14 = alloca %class.Vector3, align 4
  %15 = alloca %class.Vector3, align 4
  %16 = alloca %class.Vector3, align 4
  %17 = alloca %class.Vector3, align 4
  %18 = alloca %class.Vector3, align 4
  %19 = alloca %class.Vector3, align 4
  %20 = alloca %class.Vector3, align 4
  %21 = alloca %class.Vector3, align 4
  %22 = alloca %class.Vector3, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = alloca i32, align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca float, align 4
  %30 = alloca float, align 4
  %31 = alloca float, align 4
  %32 = alloca float, align 4
  %33 = alloca float, align 4
  %34 = alloca float, align 4
  %35 = alloca float, align 4
  %36 = alloca %class.Vector3, align 4
  %37 = alloca %class.Vector3, align 4
  %38 = alloca %class.Vector3, align 4
  %39 = alloca %class.Vector3, align 4
  %40 = alloca float, align 4
  %41 = alloca %class.Vector3, align 4
  %42 = alloca %class.Vector3, align 4
  %43 = alloca float, align 4
  %44 = alloca %class.Vector3, align 4
  %45 = alloca %class.Vector3, align 4
  %46 = alloca float, align 4
  %47 = alloca %class.Vector3, align 4
  %48 = alloca %class.Vector3, align 4
  %49 = alloca float, align 4
  %50 = alloca %class.Vector3, align 4
  %51 = alloca %class.Vector3, align 4
  %52 = alloca float, align 4
  %53 = alloca %class.Vector3, align 4
  %54 = alloca float, align 4
  %55 = alloca %class.Vector3, align 4
  %56 = alloca %class.Vector3, align 4
  %57 = alloca float, align 4
  %58 = alloca %class.Vector3, align 4
  %59 = alloca %class.Vector3, align 4
  %60 = alloca %class.Vector3, align 4
  %61 = alloca float, align 4
  %62 = alloca %class.Vector3, align 4
  %63 = alloca %class.Vector3, align 4
  %64 = alloca float, align 4
  %65 = alloca %class.Vector3, align 4
  %66 = alloca float, align 4
  %67 = alloca %class.Vector3, align 4
  %68 = alloca %class.Vector3, align 4
  %69 = alloca float, align 4
  %70 = alloca %class.Vector3, align 4
  %71 = alloca %class.Vector3, align 4
  %72 = alloca float, align 4
  %73 = alloca %class.Vector3, align 4
  %74 = alloca %class.Vector3, align 4
  %75 = alloca float, align 4
  %76 = alloca %class.Vector3, align 4
  %77 = alloca float, align 4
  %78 = alloca %class.Vector3, align 4
  %79 = alloca %class.Vector3, align 4
  %80 = alloca float, align 4
  %81 = alloca %class.Vector3, align 4
  %82 = alloca %class.Vector3, align 4
  %83 = alloca float, align 4
  %84 = alloca %class.Vector3, align 4
  %85 = alloca %class.Vector3, align 4
  %86 = alloca float, align 4
  %87 = alloca %class.Vector3, align 4
  %88 = alloca float, align 4
  %89 = alloca %class.Vector3, align 4
  %90 = alloca %class.Vector3, align 4
  %91 = alloca float, align 4
  %92 = alloca %class.Vector3, align 4
  %93 = alloca %class.Vector3, align 4
  %94 = alloca float, align 4
  %95 = alloca %class.Vector3, align 4
  %96 = alloca %class.Vector3, align 4
  %97 = alloca float, align 4
  %98 = alloca %class.Vector3, align 4
  %99 = alloca float, align 4
  %100 = alloca %class.Vector3, align 4
  %101 = alloca %class.Vector3, align 4
  %102 = alloca float, align 4
  %103 = alloca %class.Vector3, align 4
  %104 = alloca float, align 4
  %105 = alloca %class.Vector3, align 4
  %106 = alloca %class.Vector3, align 4
  %107 = alloca %class.Vector4, align 4
  %108 = alloca float, align 4
  %109 = alloca %class.Vector3, align 4
  %110 = alloca %class.Vector3, align 4
  %111 = alloca %class.Vector4, align 4
  %112 = alloca float, align 4
  %113 = alloca %class.Vector3, align 4
  %114 = alloca %class.Vector3, align 4
  %115 = alloca %class.Vector4, align 4
  %116 = alloca float, align 4
  %117 = alloca %class.Vector3, align 4
  %118 = alloca %class.Vector3, align 4
  %119 = alloca %class.Vector4, align 4
  %120 = alloca %class.Vector4, align 4
  %121 = alloca i32, align 4
  store ptr %0, ptr %7, align 8
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  call void @_ZN8geometry5types16pointBaryCoord_tC2Ev(ptr noundef nonnull align 4 dereferenceable(28) %0)
  call void @llvm.lifetime.start.p0(i64 12, ptr %13) #5
  %122 = load ptr, ptr %12, align 8, !tbaa !5
  %123 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %13, ptr noundef nonnull align 4 dereferenceable(12) %122, ptr noundef nonnull align 4 dereferenceable(12) %123)
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #5
  %124 = load ptr, ptr %12, align 8, !tbaa !5
  %125 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %14, ptr noundef nonnull align 4 dereferenceable(12) %124, ptr noundef nonnull align 4 dereferenceable(12) %125)
  call void @llvm.lifetime.start.p0(i64 12, ptr %15) #5
  %126 = load ptr, ptr %12, align 8, !tbaa !5
  %127 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %15, ptr noundef nonnull align 4 dereferenceable(12) %126, ptr noundef nonnull align 4 dereferenceable(12) %127)
  call void @llvm.lifetime.start.p0(i64 12, ptr %16) #5
  %128 = load ptr, ptr %12, align 8, !tbaa !5
  %129 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %16, ptr noundef nonnull align 4 dereferenceable(12) %128, ptr noundef nonnull align 4 dereferenceable(12) %129)
  call void @llvm.lifetime.start.p0(i64 12, ptr %17) #5
  %130 = load ptr, ptr %9, align 8, !tbaa !5
  %131 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %17, ptr noundef nonnull align 4 dereferenceable(12) %130, ptr noundef nonnull align 4 dereferenceable(12) %131)
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #5
  %132 = load ptr, ptr %11, align 8, !tbaa !5
  %133 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %18, ptr noundef nonnull align 4 dereferenceable(12) %132, ptr noundef nonnull align 4 dereferenceable(12) %133)
  call void @llvm.lifetime.start.p0(i64 12, ptr %19) #5
  %134 = load ptr, ptr %10, align 8, !tbaa !5
  %135 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %19, ptr noundef nonnull align 4 dereferenceable(12) %134, ptr noundef nonnull align 4 dereferenceable(12) %135)
  call void @llvm.lifetime.start.p0(i64 12, ptr %20) #5
  %136 = load ptr, ptr %10, align 8, !tbaa !5
  %137 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %20, ptr noundef nonnull align 4 dereferenceable(12) %136, ptr noundef nonnull align 4 dereferenceable(12) %137)
  call void @llvm.lifetime.start.p0(i64 12, ptr %21) #5
  %138 = load ptr, ptr %11, align 8, !tbaa !5
  %139 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %21, ptr noundef nonnull align 4 dereferenceable(12) %138, ptr noundef nonnull align 4 dereferenceable(12) %139)
  call void @llvm.lifetime.start.p0(i64 12, ptr %22) #5
  %140 = load ptr, ptr %11, align 8, !tbaa !5
  %141 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %22, ptr noundef nonnull align 4 dereferenceable(12) %140, ptr noundef nonnull align 4 dereferenceable(12) %141)
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %142 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %17)
  store float %142, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %143 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %18)
  store float %143, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  %144 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %19)
  store float %144, ptr %25, align 4, !tbaa !9
  %145 = load float, ptr %23, align 4, !tbaa !9
  %146 = fcmp ole float %145, 0.000000e+00
  br i1 %146, label %147, label %158

147:                                              ; preds = %6
  %148 = load float, ptr %24, align 4, !tbaa !9
  %149 = fcmp ole float %148, 0.000000e+00
  br i1 %149, label %150, label %158

150:                                              ; preds = %147
  %151 = load float, ptr %25, align 4, !tbaa !9
  %152 = fcmp ole float %151, 0.000000e+00
  br i1 %152, label %153, label %158

153:                                              ; preds = %150
  %154 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  call void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16) %154, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %155 = load ptr, ptr %8, align 8, !tbaa !5
  %156 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 0
  %157 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %156, ptr noundef nonnull align 4 dereferenceable(12) %155)
  store i32 1, ptr %26, align 4
  br label %525

158:                                              ; preds = %150, %147, %6
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  %159 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %14, ptr noundef nonnull align 4 dereferenceable(12) %20)
  store float %159, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  %160 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %14, ptr noundef nonnull align 4 dereferenceable(12) %17)
  store float %160, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  %161 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %14, ptr noundef nonnull align 4 dereferenceable(12) %21)
  store float %161, ptr %29, align 4, !tbaa !9
  %162 = load float, ptr %27, align 4, !tbaa !9
  %163 = fcmp ole float %162, 0.000000e+00
  br i1 %163, label %164, label %175

164:                                              ; preds = %158
  %165 = load float, ptr %28, align 4, !tbaa !9
  %166 = fcmp oge float %165, 0.000000e+00
  br i1 %166, label %167, label %175

167:                                              ; preds = %164
  %168 = load float, ptr %29, align 4, !tbaa !9
  %169 = fcmp ole float %168, 0.000000e+00
  br i1 %169, label %170, label %175

170:                                              ; preds = %167
  %171 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  call void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16) %171, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %172 = load ptr, ptr %9, align 8, !tbaa !5
  %173 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 0
  %174 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %173, ptr noundef nonnull align 4 dereferenceable(12) %172)
  store i32 1, ptr %26, align 4
  br label %524

175:                                              ; preds = %167, %164, %158
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  %176 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %19)
  store float %176, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  %177 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %20)
  store float %177, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  %178 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %22)
  store float %178, ptr %32, align 4, !tbaa !9
  %179 = load float, ptr %30, align 4, !tbaa !9
  %180 = fcmp oge float %179, 0.000000e+00
  br i1 %180, label %181, label %192

181:                                              ; preds = %175
  %182 = load float, ptr %31, align 4, !tbaa !9
  %183 = fcmp oge float %182, 0.000000e+00
  br i1 %183, label %184, label %192

184:                                              ; preds = %181
  %185 = load float, ptr %32, align 4, !tbaa !9
  %186 = fcmp ole float %185, 0.000000e+00
  br i1 %186, label %187, label %192

187:                                              ; preds = %184
  %188 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  call void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16) %188, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %189 = load ptr, ptr %10, align 8, !tbaa !5
  %190 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 0
  %191 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %190, ptr noundef nonnull align 4 dereferenceable(12) %189)
  store i32 1, ptr %26, align 4
  br label %523

192:                                              ; preds = %184, %181, %175
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  %193 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %18)
  store float %193, ptr %33, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  %194 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %21)
  store float %194, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  %195 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %22)
  store float %195, ptr %35, align 4, !tbaa !9
  %196 = load float, ptr %33, align 4, !tbaa !9
  %197 = fcmp oge float %196, 0.000000e+00
  br i1 %197, label %198, label %209

198:                                              ; preds = %192
  %199 = load float, ptr %34, align 4, !tbaa !9
  %200 = fcmp oge float %199, 0.000000e+00
  br i1 %200, label %201, label %209

201:                                              ; preds = %198
  %202 = load float, ptr %35, align 4, !tbaa !9
  %203 = fcmp oge float %202, 0.000000e+00
  br i1 %203, label %204, label %209

204:                                              ; preds = %201
  %205 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  call void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16) %205, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  %206 = load ptr, ptr %11, align 8, !tbaa !5
  %207 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 0
  %208 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %207, ptr noundef nonnull align 4 dereferenceable(12) %206)
  store i32 1, ptr %26, align 4
  br label %522

209:                                              ; preds = %201, %198, %192
  call void @llvm.lifetime.start.p0(i64 12, ptr %36) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %36, ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %17)
  call void @llvm.lifetime.start.p0(i64 12, ptr %37) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %37, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %20)
  call void @llvm.lifetime.start.p0(i64 12, ptr %38) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %38, ptr noundef nonnull align 4 dereferenceable(12) %36, ptr noundef nonnull align 4 dereferenceable(12) %17)
  call void @llvm.lifetime.start.p0(i64 12, ptr %39) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %39, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %37)
  %210 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %39)
  %211 = fcmp oge float %210, 0.000000e+00
  br i1 %211, label %212, label %237

212:                                              ; preds = %209
  %213 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %38)
  %214 = fcmp oge float %213, 0.000000e+00
  br i1 %214, label %215, label %237

215:                                              ; preds = %212
  %216 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %17)
  %217 = fcmp oge float %216, 0.000000e+00
  br i1 %217, label %218, label %237

218:                                              ; preds = %215
  %219 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %14, ptr noundef nonnull align 4 dereferenceable(12) %17)
  %220 = fcmp ole float %219, 0.000000e+00
  br i1 %220, label %221, label %237

221:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #5
  %222 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %17)
  %223 = call noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12) %17)
  %224 = fdiv float %222, %223
  %225 = call noundef float @_ZSt4fmaxff(float noundef %224, float noundef 0.000000e+00)
  %226 = call noundef float @_ZSt4fminff(float noundef %225, float noundef 1.000000e+00)
  store float %226, ptr %40, align 4, !tbaa !9
  %227 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %228 = load float, ptr %40, align 4, !tbaa !9
  %229 = fsub float 1.000000e+00, %228
  %230 = load float, ptr %40, align 4, !tbaa !9
  call void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16) %227, float noundef %229, float noundef %230, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 12, ptr %41) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %42) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #5
  %231 = load float, ptr %40, align 4, !tbaa !9
  %232 = fsub float 1.000000e+00, %231
  store float %232, ptr %43, align 4, !tbaa !9
  %233 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %42, ptr noundef nonnull align 4 dereferenceable(4) %43, ptr noundef nonnull align 4 dereferenceable(12) %233)
  call void @llvm.lifetime.start.p0(i64 12, ptr %44) #5
  %234 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %44, ptr noundef nonnull align 4 dereferenceable(4) %40, ptr noundef nonnull align 4 dereferenceable(12) %234)
  call void @_ZNK7Vector3plERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %41, ptr noundef nonnull align 4 dereferenceable(12) %42, ptr noundef nonnull align 4 dereferenceable(12) %44)
  %235 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 0
  %236 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %235, ptr noundef nonnull align 4 dereferenceable(12) %41)
  call void @llvm.lifetime.end.p0(i64 12, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %42) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #5
  store i32 1, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #5
  br label %521

237:                                              ; preds = %218, %215, %212, %209
  call void @llvm.lifetime.start.p0(i64 12, ptr %45) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #5
  store float -1.000000e+00, ptr %46, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %47) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %47, ptr noundef nonnull align 4 dereferenceable(12) %20, ptr noundef nonnull align 4 dereferenceable(12) %22)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %45, ptr noundef nonnull align 4 dereferenceable(4) %46, ptr noundef nonnull align 4 dereferenceable(12) %47)
  call void @llvm.lifetime.end.p0(i64 12, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %48) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #5
  store float -1.000000e+00, ptr %49, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %50) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %50, ptr noundef nonnull align 4 dereferenceable(12) %37, ptr noundef nonnull align 4 dereferenceable(12) %20)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %48, ptr noundef nonnull align 4 dereferenceable(4) %49, ptr noundef nonnull align 4 dereferenceable(12) %50)
  call void @llvm.lifetime.end.p0(i64 12, ptr %50) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %51) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #5
  store float -1.000000e+00, ptr %52, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %53) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %53, ptr noundef nonnull align 4 dereferenceable(12) %20, ptr noundef nonnull align 4 dereferenceable(12) %45)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %51, ptr noundef nonnull align 4 dereferenceable(4) %52, ptr noundef nonnull align 4 dereferenceable(12) %53)
  call void @llvm.lifetime.end.p0(i64 12, ptr %53) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #5
  %238 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %48)
  %239 = fcmp oge float %238, 0.000000e+00
  br i1 %239, label %240, label %265

240:                                              ; preds = %237
  %241 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %51)
  %242 = fcmp oge float %241, 0.000000e+00
  br i1 %242, label %243, label %265

243:                                              ; preds = %240
  %244 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %14, ptr noundef nonnull align 4 dereferenceable(12) %20)
  %245 = fcmp oge float %244, 0.000000e+00
  br i1 %245, label %246, label %265

246:                                              ; preds = %243
  %247 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %20)
  %248 = fcmp ole float %247, 0.000000e+00
  br i1 %248, label %249, label %265

249:                                              ; preds = %246
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #5
  %250 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %14, ptr noundef nonnull align 4 dereferenceable(12) %20)
  %251 = call noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12) %20)
  %252 = fdiv float %250, %251
  %253 = call noundef float @_ZSt4fmaxff(float noundef %252, float noundef 0.000000e+00)
  %254 = call noundef float @_ZSt4fminff(float noundef %253, float noundef 1.000000e+00)
  store float %254, ptr %54, align 4, !tbaa !9
  %255 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %256 = load float, ptr %54, align 4, !tbaa !9
  %257 = fsub float 1.000000e+00, %256
  %258 = load float, ptr %54, align 4, !tbaa !9
  call void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16) %255, float noundef 0.000000e+00, float noundef %257, float noundef %258, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 12, ptr %55) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %56) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #5
  %259 = load float, ptr %54, align 4, !tbaa !9
  %260 = fsub float 1.000000e+00, %259
  store float %260, ptr %57, align 4, !tbaa !9
  %261 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %56, ptr noundef nonnull align 4 dereferenceable(4) %57, ptr noundef nonnull align 4 dereferenceable(12) %261)
  call void @llvm.lifetime.start.p0(i64 12, ptr %58) #5
  %262 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %58, ptr noundef nonnull align 4 dereferenceable(4) %54, ptr noundef nonnull align 4 dereferenceable(12) %262)
  call void @_ZNK7Vector3plERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %55, ptr noundef nonnull align 4 dereferenceable(12) %56, ptr noundef nonnull align 4 dereferenceable(12) %58)
  %263 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 0
  %264 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %263, ptr noundef nonnull align 4 dereferenceable(12) %55)
  call void @llvm.lifetime.end.p0(i64 12, ptr %58) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %56) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %55) #5
  store i32 1, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #5
  br label %520

265:                                              ; preds = %246, %243, %240, %237
  call void @llvm.lifetime.start.p0(i64 12, ptr %59) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %59, ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %22)
  call void @llvm.lifetime.start.p0(i64 12, ptr %60) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #5
  store float -1.000000e+00, ptr %61, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %62) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %62, ptr noundef nonnull align 4 dereferenceable(12) %59, ptr noundef nonnull align 4 dereferenceable(12) %22)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %60, ptr noundef nonnull align 4 dereferenceable(4) %61, ptr noundef nonnull align 4 dereferenceable(12) %62)
  call void @llvm.lifetime.end.p0(i64 12, ptr %62) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %63) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %64) #5
  store float -1.000000e+00, ptr %64, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %65) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %65, ptr noundef nonnull align 4 dereferenceable(12) %22, ptr noundef nonnull align 4 dereferenceable(12) %45)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %63, ptr noundef nonnull align 4 dereferenceable(4) %64, ptr noundef nonnull align 4 dereferenceable(12) %65)
  call void @llvm.lifetime.end.p0(i64 12, ptr %65) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #5
  %266 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %60)
  %267 = fcmp oge float %266, 0.000000e+00
  br i1 %267, label %268, label %293

268:                                              ; preds = %265
  %269 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %63)
  %270 = fcmp oge float %269, 0.000000e+00
  br i1 %270, label %271, label %293

271:                                              ; preds = %268
  %272 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %22)
  %273 = fcmp oge float %272, 0.000000e+00
  br i1 %273, label %274, label %293

274:                                              ; preds = %271
  %275 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %22)
  %276 = fcmp ole float %275, 0.000000e+00
  br i1 %276, label %277, label %293

277:                                              ; preds = %274
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #5
  %278 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %22)
  %279 = call noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12) %22)
  %280 = fdiv float %278, %279
  %281 = call noundef float @_ZSt4fmaxff(float noundef %280, float noundef 0.000000e+00)
  %282 = call noundef float @_ZSt4fminff(float noundef %281, float noundef 1.000000e+00)
  store float %282, ptr %66, align 4, !tbaa !9
  %283 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %284 = load float, ptr %66, align 4, !tbaa !9
  %285 = fsub float 1.000000e+00, %284
  %286 = load float, ptr %66, align 4, !tbaa !9
  call void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16) %283, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef %285, float noundef %286)
  call void @llvm.lifetime.start.p0(i64 12, ptr %67) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %68) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %69) #5
  %287 = load float, ptr %66, align 4, !tbaa !9
  %288 = fsub float 1.000000e+00, %287
  store float %288, ptr %69, align 4, !tbaa !9
  %289 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %68, ptr noundef nonnull align 4 dereferenceable(4) %69, ptr noundef nonnull align 4 dereferenceable(12) %289)
  call void @llvm.lifetime.start.p0(i64 12, ptr %70) #5
  %290 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %70, ptr noundef nonnull align 4 dereferenceable(4) %66, ptr noundef nonnull align 4 dereferenceable(12) %290)
  call void @_ZNK7Vector3plERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %67, ptr noundef nonnull align 4 dereferenceable(12) %68, ptr noundef nonnull align 4 dereferenceable(12) %70)
  %291 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 0
  %292 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %291, ptr noundef nonnull align 4 dereferenceable(12) %67)
  call void @llvm.lifetime.end.p0(i64 12, ptr %70) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %68) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %67) #5
  store i32 1, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #5
  br label %519

293:                                              ; preds = %274, %271, %268, %265
  call void @llvm.lifetime.start.p0(i64 12, ptr %71) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %72) #5
  store float -1.000000e+00, ptr %72, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %73) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %73, ptr noundef nonnull align 4 dereferenceable(12) %36, ptr noundef nonnull align 4 dereferenceable(12) %18)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %71, ptr noundef nonnull align 4 dereferenceable(4) %72, ptr noundef nonnull align 4 dereferenceable(12) %73)
  call void @llvm.lifetime.end.p0(i64 12, ptr %73) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %74) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %75) #5
  store float -1.000000e+00, ptr %75, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %76) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %76, ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %59)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %74, ptr noundef nonnull align 4 dereferenceable(4) %75, ptr noundef nonnull align 4 dereferenceable(12) %76)
  call void @llvm.lifetime.end.p0(i64 12, ptr %76) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #5
  %294 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %71)
  %295 = fcmp oge float %294, 0.000000e+00
  br i1 %295, label %296, label %321

296:                                              ; preds = %293
  %297 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %74)
  %298 = fcmp oge float %297, 0.000000e+00
  br i1 %298, label %299, label %321

299:                                              ; preds = %296
  %300 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %18)
  %301 = fcmp oge float %300, 0.000000e+00
  br i1 %301, label %302, label %321

302:                                              ; preds = %299
  %303 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %18)
  %304 = fcmp ole float %303, 0.000000e+00
  br i1 %304, label %305, label %321

305:                                              ; preds = %302
  call void @llvm.lifetime.start.p0(i64 4, ptr %77) #5
  %306 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %18)
  %307 = call noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12) %18)
  %308 = fdiv float %306, %307
  %309 = call noundef float @_ZSt4fmaxff(float noundef %308, float noundef 0.000000e+00)
  %310 = call noundef float @_ZSt4fminff(float noundef %309, float noundef 1.000000e+00)
  store float %310, ptr %77, align 4, !tbaa !9
  %311 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %312 = load float, ptr %77, align 4, !tbaa !9
  %313 = fsub float 1.000000e+00, %312
  %314 = load float, ptr %77, align 4, !tbaa !9
  call void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16) %311, float noundef %313, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef %314)
  call void @llvm.lifetime.start.p0(i64 12, ptr %78) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %79) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %80) #5
  %315 = load float, ptr %77, align 4, !tbaa !9
  %316 = fsub float 1.000000e+00, %315
  store float %316, ptr %80, align 4, !tbaa !9
  %317 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %79, ptr noundef nonnull align 4 dereferenceable(4) %80, ptr noundef nonnull align 4 dereferenceable(12) %317)
  call void @llvm.lifetime.start.p0(i64 12, ptr %81) #5
  %318 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %81, ptr noundef nonnull align 4 dereferenceable(4) %77, ptr noundef nonnull align 4 dereferenceable(12) %318)
  call void @_ZNK7Vector3plERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %78, ptr noundef nonnull align 4 dereferenceable(12) %79, ptr noundef nonnull align 4 dereferenceable(12) %81)
  %319 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 0
  %320 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %319, ptr noundef nonnull align 4 dereferenceable(12) %78)
  call void @llvm.lifetime.end.p0(i64 12, ptr %81) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %80) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %79) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %78) #5
  store i32 1, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %77) #5
  br label %518

321:                                              ; preds = %302, %299, %296, %293
  call void @llvm.lifetime.start.p0(i64 12, ptr %82) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %83) #5
  store float -1.000000e+00, ptr %83, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %84) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %84, ptr noundef nonnull align 4 dereferenceable(12) %59, ptr noundef nonnull align 4 dereferenceable(12) %19)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %82, ptr noundef nonnull align 4 dereferenceable(4) %83, ptr noundef nonnull align 4 dereferenceable(12) %84)
  call void @llvm.lifetime.end.p0(i64 12, ptr %84) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %83) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %85) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %86) #5
  store float -1.000000e+00, ptr %86, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %87) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %87, ptr noundef nonnull align 4 dereferenceable(12) %19, ptr noundef nonnull align 4 dereferenceable(12) %37)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %85, ptr noundef nonnull align 4 dereferenceable(4) %86, ptr noundef nonnull align 4 dereferenceable(12) %87)
  call void @llvm.lifetime.end.p0(i64 12, ptr %87) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %86) #5
  %322 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %82)
  %323 = fcmp oge float %322, 0.000000e+00
  br i1 %323, label %324, label %349

324:                                              ; preds = %321
  %325 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %85)
  %326 = fcmp oge float %325, 0.000000e+00
  br i1 %326, label %327, label %349

327:                                              ; preds = %324
  %328 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %19)
  %329 = fcmp oge float %328, 0.000000e+00
  br i1 %329, label %330, label %349

330:                                              ; preds = %327
  %331 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %19)
  %332 = fcmp ole float %331, 0.000000e+00
  br i1 %332, label %333, label %349

333:                                              ; preds = %330
  call void @llvm.lifetime.start.p0(i64 4, ptr %88) #5
  %334 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %19)
  %335 = call noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12) %19)
  %336 = fdiv float %334, %335
  %337 = call noundef float @_ZSt4fmaxff(float noundef %336, float noundef 0.000000e+00)
  %338 = call noundef float @_ZSt4fminff(float noundef %337, float noundef 1.000000e+00)
  store float %338, ptr %88, align 4, !tbaa !9
  %339 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %340 = load float, ptr %88, align 4, !tbaa !9
  %341 = fsub float 1.000000e+00, %340
  %342 = load float, ptr %88, align 4, !tbaa !9
  call void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16) %339, float noundef %341, float noundef 0.000000e+00, float noundef %342, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 12, ptr %89) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %90) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %91) #5
  %343 = load float, ptr %88, align 4, !tbaa !9
  %344 = fsub float 1.000000e+00, %343
  store float %344, ptr %91, align 4, !tbaa !9
  %345 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %90, ptr noundef nonnull align 4 dereferenceable(4) %91, ptr noundef nonnull align 4 dereferenceable(12) %345)
  call void @llvm.lifetime.start.p0(i64 12, ptr %92) #5
  %346 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %92, ptr noundef nonnull align 4 dereferenceable(4) %88, ptr noundef nonnull align 4 dereferenceable(12) %346)
  call void @_ZNK7Vector3plERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %89, ptr noundef nonnull align 4 dereferenceable(12) %90, ptr noundef nonnull align 4 dereferenceable(12) %92)
  %347 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 0
  %348 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %347, ptr noundef nonnull align 4 dereferenceable(12) %89)
  call void @llvm.lifetime.end.p0(i64 12, ptr %92) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %91) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %90) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %89) #5
  store i32 1, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %88) #5
  br label %517

349:                                              ; preds = %330, %327, %324, %321
  call void @llvm.lifetime.start.p0(i64 12, ptr %93) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %94) #5
  store float -1.000000e+00, ptr %94, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %95) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %95, ptr noundef nonnull align 4 dereferenceable(12) %45, ptr noundef nonnull align 4 dereferenceable(12) %21)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %93, ptr noundef nonnull align 4 dereferenceable(4) %94, ptr noundef nonnull align 4 dereferenceable(12) %95)
  call void @llvm.lifetime.end.p0(i64 12, ptr %95) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %94) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %96) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %97) #5
  store float -1.000000e+00, ptr %97, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %98) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %98, ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(12) %36)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %96, ptr noundef nonnull align 4 dereferenceable(4) %97, ptr noundef nonnull align 4 dereferenceable(12) %98)
  call void @llvm.lifetime.end.p0(i64 12, ptr %98) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %97) #5
  %350 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %93)
  %351 = fcmp oge float %350, 0.000000e+00
  br i1 %351, label %352, label %377

352:                                              ; preds = %349
  %353 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %96)
  %354 = fcmp oge float %353, 0.000000e+00
  br i1 %354, label %355, label %377

355:                                              ; preds = %352
  %356 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %14, ptr noundef nonnull align 4 dereferenceable(12) %21)
  %357 = fcmp ole float %356, 0.000000e+00
  br i1 %357, label %358, label %377

358:                                              ; preds = %355
  %359 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %21)
  %360 = fcmp ole float %359, 0.000000e+00
  br i1 %360, label %361, label %377

361:                                              ; preds = %358
  call void @llvm.lifetime.start.p0(i64 4, ptr %99) #5
  %362 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %14, ptr noundef nonnull align 4 dereferenceable(12) %21)
  %363 = call noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12) %21)
  %364 = fdiv float %362, %363
  %365 = call noundef float @_ZSt4fmaxff(float noundef %364, float noundef 0.000000e+00)
  %366 = call noundef float @_ZSt4fminff(float noundef %365, float noundef 1.000000e+00)
  store float %366, ptr %99, align 4, !tbaa !9
  %367 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %368 = load float, ptr %99, align 4, !tbaa !9
  %369 = fsub float 1.000000e+00, %368
  %370 = load float, ptr %99, align 4, !tbaa !9
  call void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16) %367, float noundef 0.000000e+00, float noundef %369, float noundef 0.000000e+00, float noundef %370)
  call void @llvm.lifetime.start.p0(i64 12, ptr %100) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %101) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %102) #5
  %371 = load float, ptr %99, align 4, !tbaa !9
  %372 = fsub float 1.000000e+00, %371
  store float %372, ptr %102, align 4, !tbaa !9
  %373 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %101, ptr noundef nonnull align 4 dereferenceable(4) %102, ptr noundef nonnull align 4 dereferenceable(12) %373)
  call void @llvm.lifetime.start.p0(i64 12, ptr %103) #5
  %374 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %103, ptr noundef nonnull align 4 dereferenceable(4) %99, ptr noundef nonnull align 4 dereferenceable(12) %374)
  call void @_ZNK7Vector3plERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %100, ptr noundef nonnull align 4 dereferenceable(12) %101, ptr noundef nonnull align 4 dereferenceable(12) %103)
  %375 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 0
  %376 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %375, ptr noundef nonnull align 4 dereferenceable(12) %100)
  call void @llvm.lifetime.end.p0(i64 12, ptr %103) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %102) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %101) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %100) #5
  store i32 1, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %99) #5
  br label %516

377:                                              ; preds = %358, %355, %352, %349
  %378 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %37)
  %379 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %37)
  %380 = fmul float %378, %379
  %381 = fcmp olt float %380, 0.000000e+00
  br i1 %381, label %382, label %395

382:                                              ; preds = %377
  call void @llvm.lifetime.start.p0(i64 4, ptr %104) #5
  %383 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %37, ptr noundef nonnull align 4 dereferenceable(12) %13)
  %384 = call noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12) %37)
  %385 = fdiv float %383, %384
  store float %385, ptr %104, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %105) #5
  %386 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %106) #5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %106, ptr noundef nonnull align 4 dereferenceable(4) %104, ptr noundef nonnull align 4 dereferenceable(12) %37)
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %105, ptr noundef nonnull align 4 dereferenceable(12) %386, ptr noundef nonnull align 4 dereferenceable(12) %106)
  %387 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 0
  %388 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %387, ptr noundef nonnull align 4 dereferenceable(12) %105)
  call void @llvm.lifetime.end.p0(i64 12, ptr %106) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %105) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %107) #5
  %389 = load ptr, ptr %8, align 8, !tbaa !5
  %390 = load ptr, ptr %9, align 8, !tbaa !5
  %391 = load ptr, ptr %10, align 8, !tbaa !5
  %392 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 0
  call void @_ZN8geometry8triangle10baryCoordsERK7Vector3S3_S3_S3_(ptr dead_on_unwind writable sret(%class.Vector4) align 4 %107, ptr noundef nonnull align 4 dereferenceable(12) %389, ptr noundef nonnull align 4 dereferenceable(12) %390, ptr noundef nonnull align 4 dereferenceable(12) %391, ptr noundef nonnull align 4 dereferenceable(12) %392)
  %393 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %394 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector4aSERKS_(ptr noundef nonnull align 4 dereferenceable(16) %393, ptr noundef nonnull align 4 dereferenceable(16) %107)
  call void @llvm.lifetime.end.p0(i64 16, ptr %107) #5
  store i32 1, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %104) #5
  br label %516

395:                                              ; preds = %377
  %396 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %36)
  %397 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %22, ptr noundef nonnull align 4 dereferenceable(12) %36)
  %398 = fmul float -1.000000e+00, %397
  %399 = fmul float %396, %398
  %400 = fcmp olt float %399, 0.000000e+00
  br i1 %400, label %401, label %421

401:                                              ; preds = %395
  call void @llvm.lifetime.start.p0(i64 4, ptr %108) #5
  %402 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %36, ptr noundef nonnull align 4 dereferenceable(12) %14)
  %403 = call noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12) %36)
  %404 = fdiv float %402, %403
  store float %404, ptr %108, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %109) #5
  %405 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %110) #5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %110, ptr noundef nonnull align 4 dereferenceable(4) %108, ptr noundef nonnull align 4 dereferenceable(12) %36)
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %109, ptr noundef nonnull align 4 dereferenceable(12) %405, ptr noundef nonnull align 4 dereferenceable(12) %110)
  %406 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 0
  %407 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %406, ptr noundef nonnull align 4 dereferenceable(12) %109)
  call void @llvm.lifetime.end.p0(i64 12, ptr %110) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %109) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %111) #5
  %408 = load ptr, ptr %8, align 8, !tbaa !5
  %409 = load ptr, ptr %9, align 8, !tbaa !5
  %410 = load ptr, ptr %11, align 8, !tbaa !5
  %411 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 0
  call void @_ZN8geometry8triangle10baryCoordsERK7Vector3S3_S3_S3_(ptr dead_on_unwind writable sret(%class.Vector4) align 4 %111, ptr noundef nonnull align 4 dereferenceable(12) %408, ptr noundef nonnull align 4 dereferenceable(12) %409, ptr noundef nonnull align 4 dereferenceable(12) %410, ptr noundef nonnull align 4 dereferenceable(12) %411)
  %412 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %413 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector4aSERKS_(ptr noundef nonnull align 4 dereferenceable(16) %412, ptr noundef nonnull align 4 dereferenceable(16) %111)
  call void @llvm.lifetime.end.p0(i64 16, ptr %111) #5
  %414 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %415 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %414, i32 noundef 2)
  %416 = load float, ptr %415, align 4, !tbaa !9
  %417 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %418 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %417, i32 noundef 3)
  store float %416, ptr %418, align 4, !tbaa !9
  %419 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %420 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %419, i32 noundef 2)
  store float 0.000000e+00, ptr %420, align 4, !tbaa !9
  store i32 1, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %108) #5
  br label %516

421:                                              ; preds = %395
  %422 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %45)
  %423 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %19, ptr noundef nonnull align 4 dereferenceable(12) %45)
  %424 = fmul float -1.000000e+00, %423
  %425 = fmul float %422, %424
  %426 = fcmp olt float %425, 0.000000e+00
  br i1 %426, label %427, label %457

427:                                              ; preds = %421
  call void @llvm.lifetime.start.p0(i64 4, ptr %112) #5
  %428 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %45, ptr noundef nonnull align 4 dereferenceable(12) %14)
  %429 = call noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12) %45)
  %430 = fdiv float %428, %429
  store float %430, ptr %112, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %113) #5
  %431 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %114) #5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %114, ptr noundef nonnull align 4 dereferenceable(4) %112, ptr noundef nonnull align 4 dereferenceable(12) %45)
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %113, ptr noundef nonnull align 4 dereferenceable(12) %431, ptr noundef nonnull align 4 dereferenceable(12) %114)
  %432 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 0
  %433 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %432, ptr noundef nonnull align 4 dereferenceable(12) %113)
  call void @llvm.lifetime.end.p0(i64 12, ptr %114) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %113) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %115) #5
  %434 = load ptr, ptr %9, align 8, !tbaa !5
  %435 = load ptr, ptr %10, align 8, !tbaa !5
  %436 = load ptr, ptr %11, align 8, !tbaa !5
  %437 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 0
  call void @_ZN8geometry8triangle10baryCoordsERK7Vector3S3_S3_S3_(ptr dead_on_unwind writable sret(%class.Vector4) align 4 %115, ptr noundef nonnull align 4 dereferenceable(12) %434, ptr noundef nonnull align 4 dereferenceable(12) %435, ptr noundef nonnull align 4 dereferenceable(12) %436, ptr noundef nonnull align 4 dereferenceable(12) %437)
  %438 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %439 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector4aSERKS_(ptr noundef nonnull align 4 dereferenceable(16) %438, ptr noundef nonnull align 4 dereferenceable(16) %115)
  call void @llvm.lifetime.end.p0(i64 16, ptr %115) #5
  %440 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %441 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %440, i32 noundef 2)
  %442 = load float, ptr %441, align 4, !tbaa !9
  %443 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %444 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %443, i32 noundef 3)
  store float %442, ptr %444, align 4, !tbaa !9
  %445 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %446 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %445, i32 noundef 1)
  %447 = load float, ptr %446, align 4, !tbaa !9
  %448 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %449 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %448, i32 noundef 2)
  store float %447, ptr %449, align 4, !tbaa !9
  %450 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %451 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %450, i32 noundef 0)
  %452 = load float, ptr %451, align 4, !tbaa !9
  %453 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %454 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %453, i32 noundef 1)
  store float %452, ptr %454, align 4, !tbaa !9
  %455 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %456 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %455, i32 noundef 0)
  store float 0.000000e+00, ptr %456, align 4, !tbaa !9
  store i32 1, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %112) #5
  br label %516

457:                                              ; preds = %421
  %458 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %59)
  %459 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(12) %59)
  %460 = fmul float -1.000000e+00, %459
  %461 = fmul float %458, %460
  %462 = fcmp olt float %461, 0.000000e+00
  br i1 %462, label %463, label %488

463:                                              ; preds = %457
  call void @llvm.lifetime.start.p0(i64 4, ptr %116) #5
  %464 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %59, ptr noundef nonnull align 4 dereferenceable(12) %13)
  %465 = call noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12) %59)
  %466 = fdiv float %464, %465
  store float %466, ptr %116, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %117) #5
  %467 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %118) #5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %118, ptr noundef nonnull align 4 dereferenceable(4) %116, ptr noundef nonnull align 4 dereferenceable(12) %59)
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %117, ptr noundef nonnull align 4 dereferenceable(12) %467, ptr noundef nonnull align 4 dereferenceable(12) %118)
  %468 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 0
  %469 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %468, ptr noundef nonnull align 4 dereferenceable(12) %117)
  call void @llvm.lifetime.end.p0(i64 12, ptr %118) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %117) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %119) #5
  %470 = load ptr, ptr %8, align 8, !tbaa !5
  %471 = load ptr, ptr %10, align 8, !tbaa !5
  %472 = load ptr, ptr %11, align 8, !tbaa !5
  %473 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 0
  call void @_ZN8geometry8triangle10baryCoordsERK7Vector3S3_S3_S3_(ptr dead_on_unwind writable sret(%class.Vector4) align 4 %119, ptr noundef nonnull align 4 dereferenceable(12) %470, ptr noundef nonnull align 4 dereferenceable(12) %471, ptr noundef nonnull align 4 dereferenceable(12) %472, ptr noundef nonnull align 4 dereferenceable(12) %473)
  %474 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %475 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector4aSERKS_(ptr noundef nonnull align 4 dereferenceable(16) %474, ptr noundef nonnull align 4 dereferenceable(16) %119)
  call void @llvm.lifetime.end.p0(i64 16, ptr %119) #5
  %476 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %477 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %476, i32 noundef 2)
  %478 = load float, ptr %477, align 4, !tbaa !9
  %479 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %480 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %479, i32 noundef 3)
  store float %478, ptr %480, align 4, !tbaa !9
  %481 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %482 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %481, i32 noundef 1)
  %483 = load float, ptr %482, align 4, !tbaa !9
  %484 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %485 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %484, i32 noundef 2)
  store float %483, ptr %485, align 4, !tbaa !9
  %486 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %487 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %486, i32 noundef 1)
  store float 0.000000e+00, ptr %487, align 4, !tbaa !9
  store i32 1, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %116) #5
  br label %516

488:                                              ; preds = %457
  %489 = load ptr, ptr %12, align 8, !tbaa !5
  %490 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 0
  %491 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %490, ptr noundef nonnull align 4 dereferenceable(12) %489)
  call void @llvm.lifetime.start.p0(i64 16, ptr %120) #5
  %492 = load ptr, ptr %8, align 8, !tbaa !5
  %493 = load ptr, ptr %9, align 8, !tbaa !5
  %494 = load ptr, ptr %10, align 8, !tbaa !5
  %495 = load ptr, ptr %11, align 8, !tbaa !5
  %496 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN8geometry11tetrahedron10baryCoordsERK7Vector3S3_S3_S3_S3_(ptr dead_on_unwind writable sret(%class.Vector4) align 4 %120, ptr noundef nonnull align 4 dereferenceable(12) %492, ptr noundef nonnull align 4 dereferenceable(12) %493, ptr noundef nonnull align 4 dereferenceable(12) %494, ptr noundef nonnull align 4 dereferenceable(12) %495, ptr noundef nonnull align 4 dereferenceable(12) %496)
  %497 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %498 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector4aSERKS_(ptr noundef nonnull align 4 dereferenceable(16) %497, ptr noundef nonnull align 4 dereferenceable(16) %120)
  call void @llvm.lifetime.end.p0(i64 16, ptr %120) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %121) #5
  store i32 0, ptr %121, align 4, !tbaa !11
  br label %499

499:                                              ; preds = %512, %488
  %500 = load i32, ptr %121, align 4, !tbaa !11
  %501 = icmp slt i32 %500, 4
  br i1 %501, label %503, label %502

502:                                              ; preds = %499
  store i32 2, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %121) #5
  br label %515

503:                                              ; preds = %499
  %504 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %505 = load i32, ptr %121, align 4, !tbaa !11
  %506 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %504, i32 noundef %505)
  %507 = load float, ptr %506, align 4, !tbaa !9
  %508 = call noundef float @_ZSt4fmaxff(float noundef %507, float noundef 0.000000e+00)
  %509 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %0, i32 0, i32 1
  %510 = load i32, ptr %121, align 4, !tbaa !11
  %511 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %509, i32 noundef %510)
  store float %508, ptr %511, align 4, !tbaa !9
  br label %512

512:                                              ; preds = %503
  %513 = load i32, ptr %121, align 4, !tbaa !11
  %514 = add nsw i32 %513, 1
  store i32 %514, ptr %121, align 4, !tbaa !11
  br label %499, !llvm.loop !13

515:                                              ; preds = %502
  store i32 1, ptr %26, align 4
  br label %516

516:                                              ; preds = %515, %463, %427, %401, %382, %361
  call void @llvm.lifetime.end.p0(i64 12, ptr %96) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %93) #5
  br label %517

517:                                              ; preds = %516, %333
  call void @llvm.lifetime.end.p0(i64 12, ptr %85) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %82) #5
  br label %518

518:                                              ; preds = %517, %305
  call void @llvm.lifetime.end.p0(i64 12, ptr %74) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %71) #5
  br label %519

519:                                              ; preds = %518, %277
  call void @llvm.lifetime.end.p0(i64 12, ptr %63) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %60) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %59) #5
  br label %520

520:                                              ; preds = %519, %249
  call void @llvm.lifetime.end.p0(i64 12, ptr %51) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %45) #5
  br label %521

521:                                              ; preds = %520, %221
  call void @llvm.lifetime.end.p0(i64 12, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %36) #5
  br label %522

522:                                              ; preds = %521, %204
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  br label %523

523:                                              ; preds = %522, %187
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  br label %524

524:                                              ; preds = %523, %170
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  br label %525

525:                                              ; preds = %524, %153
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #5
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8geometry5types16pointBaryCoord_tC2Ev(ptr noundef nonnull align 4 dereferenceable(28)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4fminff(float noundef, float noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4fmaxff(float noundef, float noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12)) #2 align 2

declare void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(12)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Vector3plERKS_(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #0 align 2

declare void @_ZN8geometry8triangle10baryCoordsERK7Vector3S3_S3_S3_(ptr dead_on_unwind writable sret(%class.Vector4) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector4aSERKS_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #0 align 2

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%class.Vector4 = type { [4 x float] }
%class.Vector3 = type { [3 x float] }
%"struct.geometry::types::pointBaryCoord_t" = type { %class.Vector3, %class.Vector4 }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8geometry11tetrahedron10baryCoordsERK7Vector3S3_S3_S3_S3_(ptr dead_on_unwind noalias writable sret(%class.Vector4) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Vector3miERKS_(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8geometry11tetrahedron19closestPointToPointERK7Vector3S3_S3_S3_S3_(ptr dead_on_unwind noalias nonnull writable sret(%"struct.geometry::types::pointBaryCoord_t") align 4 %0, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %5) local_unnamed_addr #0 {
  %7 = alloca %class.Vector3, align 4
  %8 = alloca %class.Vector3, align 4
  %9 = alloca %class.Vector3, align 4
  %10 = alloca %class.Vector3, align 4
  %11 = alloca %class.Vector3, align 4
  %12 = alloca %class.Vector3, align 4
  %13 = alloca %class.Vector3, align 4
  %14 = alloca %class.Vector3, align 4
  %15 = alloca %class.Vector3, align 4
  %16 = alloca %class.Vector3, align 4
  %17 = alloca %class.Vector3, align 4
  %18 = alloca %class.Vector3, align 4
  %19 = alloca %class.Vector3, align 4
  %20 = alloca %class.Vector3, align 4
  %21 = alloca float, align 4
  %22 = alloca %class.Vector3, align 4
  %23 = alloca %class.Vector3, align 4
  %24 = alloca float, align 4
  %25 = alloca %class.Vector3, align 4
  %26 = alloca %class.Vector3, align 4
  %27 = alloca float, align 4
  %28 = alloca %class.Vector3, align 4
  %29 = alloca %class.Vector3, align 4
  %30 = alloca float, align 4
  %31 = alloca %class.Vector3, align 4
  %32 = alloca %class.Vector3, align 4
  %33 = alloca float, align 4
  %34 = alloca %class.Vector3, align 4
  %35 = alloca float, align 4
  %36 = alloca %class.Vector3, align 4
  %37 = alloca %class.Vector3, align 4
  %38 = alloca float, align 4
  %39 = alloca %class.Vector3, align 4
  %40 = alloca %class.Vector3, align 4
  %41 = alloca %class.Vector3, align 4
  %42 = alloca float, align 4
  %43 = alloca %class.Vector3, align 4
  %44 = alloca %class.Vector3, align 4
  %45 = alloca float, align 4
  %46 = alloca %class.Vector3, align 4
  %47 = alloca float, align 4
  %48 = alloca %class.Vector3, align 4
  %49 = alloca %class.Vector3, align 4
  %50 = alloca float, align 4
  %51 = alloca %class.Vector3, align 4
  %52 = alloca %class.Vector3, align 4
  %53 = alloca float, align 4
  %54 = alloca %class.Vector3, align 4
  %55 = alloca %class.Vector3, align 4
  %56 = alloca float, align 4
  %57 = alloca %class.Vector3, align 4
  %58 = alloca float, align 4
  %59 = alloca %class.Vector3, align 4
  %60 = alloca %class.Vector3, align 4
  %61 = alloca float, align 4
  %62 = alloca %class.Vector3, align 4
  %63 = alloca %class.Vector3, align 4
  %64 = alloca float, align 4
  %65 = alloca %class.Vector3, align 4
  %66 = alloca %class.Vector3, align 4
  %67 = alloca float, align 4
  %68 = alloca %class.Vector3, align 4
  %69 = alloca float, align 4
  %70 = alloca %class.Vector3, align 4
  %71 = alloca %class.Vector3, align 4
  %72 = alloca float, align 4
  %73 = alloca %class.Vector3, align 4
  %74 = alloca %class.Vector3, align 4
  %75 = alloca float, align 4
  %76 = alloca %class.Vector3, align 4
  %77 = alloca %class.Vector3, align 4
  %78 = alloca float, align 4
  %79 = alloca %class.Vector3, align 4
  %80 = alloca float, align 4
  %81 = alloca %class.Vector3, align 4
  %82 = alloca %class.Vector3, align 4
  %83 = alloca float, align 4
  %84 = alloca %class.Vector3, align 4
  %85 = alloca float, align 4
  %86 = alloca %class.Vector3, align 4
  %87 = alloca %class.Vector3, align 4
  %88 = alloca %class.Vector4, align 4
  %89 = alloca float, align 4
  %90 = alloca %class.Vector3, align 4
  %91 = alloca %class.Vector3, align 4
  %92 = alloca %class.Vector4, align 4
  %93 = alloca float, align 4
  %94 = alloca %class.Vector3, align 4
  %95 = alloca %class.Vector3, align 4
  %96 = alloca %class.Vector4, align 4
  %97 = alloca float, align 4
  %98 = alloca %class.Vector3, align 4
  %99 = alloca %class.Vector3, align 4
  %100 = alloca %class.Vector4, align 4
  %101 = alloca %class.Vector4, align 4
  tail call void @_ZN8geometry5types16pointBaryCoord_tC2Ev(ptr noundef nonnull align 4 dereferenceable(28) %0)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %7, ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %8, ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %2)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %9, ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %3)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %10, ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %4)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %11, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %12) #5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %12, ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %13) #5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %13, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %14) #5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %14, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %2)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %15) #5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %15, ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %2)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %16) #5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %16, ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %3)
  %102 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %11)
  %103 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %12)
  %104 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %13)
  %105 = fcmp ole float %102, 0.000000e+00
  %106 = fcmp ole float %103, 0.000000e+00
  %or.cond = and i1 %105, %106
  %107 = fcmp ole float %104, 0.000000e+00
  %or.cond3 = and i1 %or.cond, %107
  br i1 %or.cond3, label %108, label %111

108:                                              ; preds = %6
  %109 = getelementptr inbounds i8, ptr %0, i64 12
  call void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16) %109, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %110 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(12) %1)
  br label %363

111:                                              ; preds = %6
  %112 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %14)
  %113 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %11)
  %114 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %15)
  %115 = fcmp ole float %112, 0.000000e+00
  %116 = fcmp oge float %113, 0.000000e+00
  %or.cond5 = and i1 %115, %116
  %117 = fcmp ole float %114, 0.000000e+00
  %or.cond7 = and i1 %or.cond5, %117
  br i1 %or.cond7, label %118, label %121

118:                                              ; preds = %111
  %119 = getelementptr inbounds i8, ptr %0, i64 12
  call void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16) %119, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %120 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(12) %2)
  br label %363

121:                                              ; preds = %111
  %122 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %13)
  %123 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %14)
  %124 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %16)
  %125 = fcmp oge float %122, 0.000000e+00
  %126 = fcmp oge float %123, 0.000000e+00
  %or.cond9 = and i1 %125, %126
  %127 = fcmp ole float %124, 0.000000e+00
  %or.cond11 = and i1 %or.cond9, %127
  br i1 %or.cond11, label %128, label %131

128:                                              ; preds = %121
  %129 = getelementptr inbounds i8, ptr %0, i64 12
  call void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16) %129, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %130 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(12) %3)
  br label %363

131:                                              ; preds = %121
  %132 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %12)
  %133 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %15)
  %134 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %16)
  %135 = fcmp oge float %132, 0.000000e+00
  %136 = fcmp oge float %133, 0.000000e+00
  %or.cond13 = and i1 %135, %136
  %137 = fcmp oge float %134, 0.000000e+00
  %or.cond15 = and i1 %or.cond13, %137
  br i1 %or.cond15, label %138, label %141

138:                                              ; preds = %131
  %139 = getelementptr inbounds i8, ptr %0, i64 12
  call void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16) %139, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  %140 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(12) %4)
  br label %363

141:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %17) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %17, ptr noundef nonnull align 4 dereferenceable(12) %12, ptr noundef nonnull align 4 dereferenceable(12) %11)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %18) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %18, ptr noundef nonnull align 4 dereferenceable(12) %11, ptr noundef nonnull align 4 dereferenceable(12) %14)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %19) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %19, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %11)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %20) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %20, ptr noundef nonnull align 4 dereferenceable(12) %11, ptr noundef nonnull align 4 dereferenceable(12) %18)
  %142 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %20)
  %143 = fcmp ult float %142, 0.000000e+00
  br i1 %143, label %162, label %144

144:                                              ; preds = %141
  %145 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %19)
  %146 = fcmp ult float %145, 0.000000e+00
  br i1 %146, label %162, label %147

147:                                              ; preds = %144
  %148 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %11)
  %149 = fcmp ult float %148, 0.000000e+00
  br i1 %149, label %162, label %150

150:                                              ; preds = %147
  %151 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %11)
  %152 = fcmp ugt float %151, 0.000000e+00
  br i1 %152, label %162, label %153

153:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #5
  %154 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %11)
  %155 = call noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12) %11)
  %156 = fdiv float %154, %155
  %157 = call noundef float @_ZSt4fmaxff(float noundef %156, float noundef 0.000000e+00)
  %158 = call noundef float @_ZSt4fminff(float noundef %157, float noundef 1.000000e+00)
  store float %158, ptr %21, align 4, !tbaa !5
  %159 = getelementptr inbounds i8, ptr %0, i64 12
  %160 = fsub float 1.000000e+00, %158
  call void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16) %159, float noundef %160, float noundef %158, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #5
  store float %160, ptr %24, align 4, !tbaa !5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %23, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 4 dereferenceable(12) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %25) #5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %25, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(12) %2)
  call void @_ZNK7Vector3plERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %22, ptr noundef nonnull align 4 dereferenceable(12) %23, ptr noundef nonnull align 4 dereferenceable(12) %25)
  %161 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(12) %22)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #5
  br label %362

162:                                              ; preds = %150, %147, %144, %141
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %26) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %27) #5
  store float -1.000000e+00, ptr %27, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %28) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %28, ptr noundef nonnull align 4 dereferenceable(12) %14, ptr noundef nonnull align 4 dereferenceable(12) %16)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %26, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(12) %28)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %29) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %30) #5
  store float -1.000000e+00, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %31) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %31, ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %14)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %29, ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(12) %31)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %32) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %33) #5
  store float -1.000000e+00, ptr %33, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %34) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %34, ptr noundef nonnull align 4 dereferenceable(12) %14, ptr noundef nonnull align 4 dereferenceable(12) %26)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %32, ptr noundef nonnull align 4 dereferenceable(4) %33, ptr noundef nonnull align 4 dereferenceable(12) %34)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %34) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %33) #5
  %163 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %29)
  %164 = fcmp ult float %163, 0.000000e+00
  br i1 %164, label %183, label %165

165:                                              ; preds = %162
  %166 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %32)
  %167 = fcmp ult float %166, 0.000000e+00
  br i1 %167, label %183, label %168

168:                                              ; preds = %165
  %169 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %14)
  %170 = fcmp ult float %169, 0.000000e+00
  br i1 %170, label %183, label %171

171:                                              ; preds = %168
  %172 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %14)
  %173 = fcmp ugt float %172, 0.000000e+00
  br i1 %173, label %183, label %174

174:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %35) #5
  %175 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %14)
  %176 = call noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12) %14)
  %177 = fdiv float %175, %176
  %178 = call noundef float @_ZSt4fmaxff(float noundef %177, float noundef 0.000000e+00)
  %179 = call noundef float @_ZSt4fminff(float noundef %178, float noundef 1.000000e+00)
  store float %179, ptr %35, align 4, !tbaa !5
  %180 = getelementptr inbounds i8, ptr %0, i64 12
  %181 = fsub float 1.000000e+00, %179
  call void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16) %180, float noundef 0.000000e+00, float noundef %181, float noundef %179, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %36) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %37) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %38) #5
  store float %181, ptr %38, align 4, !tbaa !5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %37, ptr noundef nonnull align 4 dereferenceable(4) %38, ptr noundef nonnull align 4 dereferenceable(12) %2)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %39) #5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %39, ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 4 dereferenceable(12) %3)
  call void @_ZNK7Vector3plERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %36, ptr noundef nonnull align 4 dereferenceable(12) %37, ptr noundef nonnull align 4 dereferenceable(12) %39)
  %182 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(12) %36)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %39) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %38) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %37) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %36) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %35) #5
  br label %361

183:                                              ; preds = %171, %168, %165, %162
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %40) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %40, ptr noundef nonnull align 4 dereferenceable(12) %12, ptr noundef nonnull align 4 dereferenceable(12) %16)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %41) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %42) #5
  store float -1.000000e+00, ptr %42, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %43) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %43, ptr noundef nonnull align 4 dereferenceable(12) %40, ptr noundef nonnull align 4 dereferenceable(12) %16)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %41, ptr noundef nonnull align 4 dereferenceable(4) %42, ptr noundef nonnull align 4 dereferenceable(12) %43)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %43) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %44) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %45) #5
  store float -1.000000e+00, ptr %45, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %46) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %46, ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %26)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %44, ptr noundef nonnull align 4 dereferenceable(4) %45, ptr noundef nonnull align 4 dereferenceable(12) %46)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %46) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %45) #5
  %184 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %41)
  %185 = fcmp ult float %184, 0.000000e+00
  br i1 %185, label %204, label %186

186:                                              ; preds = %183
  %187 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %44)
  %188 = fcmp ult float %187, 0.000000e+00
  br i1 %188, label %204, label %189

189:                                              ; preds = %186
  %190 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %16)
  %191 = fcmp ult float %190, 0.000000e+00
  br i1 %191, label %204, label %192

192:                                              ; preds = %189
  %193 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %16)
  %194 = fcmp ugt float %193, 0.000000e+00
  br i1 %194, label %204, label %195

195:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %47) #5
  %196 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %16)
  %197 = call noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12) %16)
  %198 = fdiv float %196, %197
  %199 = call noundef float @_ZSt4fmaxff(float noundef %198, float noundef 0.000000e+00)
  %200 = call noundef float @_ZSt4fminff(float noundef %199, float noundef 1.000000e+00)
  store float %200, ptr %47, align 4, !tbaa !5
  %201 = getelementptr inbounds i8, ptr %0, i64 12
  %202 = fsub float 1.000000e+00, %200
  call void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16) %201, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef %202, float noundef %200)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %48) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %49) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %50) #5
  store float %202, ptr %50, align 4, !tbaa !5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %49, ptr noundef nonnull align 4 dereferenceable(4) %50, ptr noundef nonnull align 4 dereferenceable(12) %3)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %51) #5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %51, ptr noundef nonnull align 4 dereferenceable(4) %47, ptr noundef nonnull align 4 dereferenceable(12) %4)
  call void @_ZNK7Vector3plERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %48, ptr noundef nonnull align 4 dereferenceable(12) %49, ptr noundef nonnull align 4 dereferenceable(12) %51)
  %203 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(12) %48)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %51) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %50) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %49) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %48) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %47) #5
  br label %360

204:                                              ; preds = %192, %189, %186, %183
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %52) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %53) #5
  store float -1.000000e+00, ptr %53, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %54) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %54, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %12)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %52, ptr noundef nonnull align 4 dereferenceable(4) %53, ptr noundef nonnull align 4 dereferenceable(12) %54)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %54) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %55) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %56) #5
  store float -1.000000e+00, ptr %56, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %57) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %57, ptr noundef nonnull align 4 dereferenceable(12) %12, ptr noundef nonnull align 4 dereferenceable(12) %40)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %55, ptr noundef nonnull align 4 dereferenceable(4) %56, ptr noundef nonnull align 4 dereferenceable(12) %57)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %57) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #5
  %205 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %52)
  %206 = fcmp ult float %205, 0.000000e+00
  br i1 %206, label %225, label %207

207:                                              ; preds = %204
  %208 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %55)
  %209 = fcmp ult float %208, 0.000000e+00
  br i1 %209, label %225, label %210

210:                                              ; preds = %207
  %211 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %12)
  %212 = fcmp ult float %211, 0.000000e+00
  br i1 %212, label %225, label %213

213:                                              ; preds = %210
  %214 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %12)
  %215 = fcmp ugt float %214, 0.000000e+00
  br i1 %215, label %225, label %216

216:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %58) #5
  %217 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %12)
  %218 = call noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12) %12)
  %219 = fdiv float %217, %218
  %220 = call noundef float @_ZSt4fmaxff(float noundef %219, float noundef 0.000000e+00)
  %221 = call noundef float @_ZSt4fminff(float noundef %220, float noundef 1.000000e+00)
  store float %221, ptr %58, align 4, !tbaa !5
  %222 = getelementptr inbounds i8, ptr %0, i64 12
  %223 = fsub float 1.000000e+00, %221
  call void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16) %222, float noundef %223, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef %221)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %59) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %60) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %61) #5
  store float %223, ptr %61, align 4, !tbaa !5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %60, ptr noundef nonnull align 4 dereferenceable(4) %61, ptr noundef nonnull align 4 dereferenceable(12) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %62) #5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %62, ptr noundef nonnull align 4 dereferenceable(4) %58, ptr noundef nonnull align 4 dereferenceable(12) %4)
  call void @_ZNK7Vector3plERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %59, ptr noundef nonnull align 4 dereferenceable(12) %60, ptr noundef nonnull align 4 dereferenceable(12) %62)
  %224 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(12) %59)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %62) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %61) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %60) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %59) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %58) #5
  br label %359

225:                                              ; preds = %213, %210, %207, %204
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %63) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %64) #5
  store float -1.000000e+00, ptr %64, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %65) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %65, ptr noundef nonnull align 4 dereferenceable(12) %40, ptr noundef nonnull align 4 dereferenceable(12) %13)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %63, ptr noundef nonnull align 4 dereferenceable(4) %64, ptr noundef nonnull align 4 dereferenceable(12) %65)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %65) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %64) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %66) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %67) #5
  store float -1.000000e+00, ptr %67, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %68) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %68, ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %18)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %66, ptr noundef nonnull align 4 dereferenceable(4) %67, ptr noundef nonnull align 4 dereferenceable(12) %68)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %68) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %67) #5
  %226 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %63)
  %227 = fcmp ult float %226, 0.000000e+00
  br i1 %227, label %246, label %228

228:                                              ; preds = %225
  %229 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %66)
  %230 = fcmp ult float %229, 0.000000e+00
  br i1 %230, label %246, label %231

231:                                              ; preds = %228
  %232 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %13)
  %233 = fcmp ult float %232, 0.000000e+00
  br i1 %233, label %246, label %234

234:                                              ; preds = %231
  %235 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %13)
  %236 = fcmp ugt float %235, 0.000000e+00
  br i1 %236, label %246, label %237

237:                                              ; preds = %234
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %69) #5
  %238 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %13)
  %239 = call noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12) %13)
  %240 = fdiv float %238, %239
  %241 = call noundef float @_ZSt4fmaxff(float noundef %240, float noundef 0.000000e+00)
  %242 = call noundef float @_ZSt4fminff(float noundef %241, float noundef 1.000000e+00)
  store float %242, ptr %69, align 4, !tbaa !5
  %243 = getelementptr inbounds i8, ptr %0, i64 12
  %244 = fsub float 1.000000e+00, %242
  call void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16) %243, float noundef %244, float noundef 0.000000e+00, float noundef %242, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %70) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %71) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %72) #5
  store float %244, ptr %72, align 4, !tbaa !5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %71, ptr noundef nonnull align 4 dereferenceable(4) %72, ptr noundef nonnull align 4 dereferenceable(12) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %73) #5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %73, ptr noundef nonnull align 4 dereferenceable(4) %69, ptr noundef nonnull align 4 dereferenceable(12) %3)
  call void @_ZNK7Vector3plERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %70, ptr noundef nonnull align 4 dereferenceable(12) %71, ptr noundef nonnull align 4 dereferenceable(12) %73)
  %245 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(12) %70)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %73) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %72) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %71) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %70) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %69) #5
  br label %358

246:                                              ; preds = %234, %231, %228, %225
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %74) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %75) #5
  store float -1.000000e+00, ptr %75, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %76) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %76, ptr noundef nonnull align 4 dereferenceable(12) %26, ptr noundef nonnull align 4 dereferenceable(12) %15)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %74, ptr noundef nonnull align 4 dereferenceable(4) %75, ptr noundef nonnull align 4 dereferenceable(12) %76)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %76) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %75) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %77) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %78) #5
  store float -1.000000e+00, ptr %78, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %79) #5
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %79, ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %17)
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %77, ptr noundef nonnull align 4 dereferenceable(4) %78, ptr noundef nonnull align 4 dereferenceable(12) %79)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %79) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %78) #5
  %247 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %74)
  %248 = fcmp ult float %247, 0.000000e+00
  br i1 %248, label %267, label %249

249:                                              ; preds = %246
  %250 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %77)
  %251 = fcmp ult float %250, 0.000000e+00
  br i1 %251, label %267, label %252

252:                                              ; preds = %249
  %253 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %15)
  %254 = fcmp ugt float %253, 0.000000e+00
  br i1 %254, label %267, label %255

255:                                              ; preds = %252
  %256 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %15)
  %257 = fcmp ugt float %256, 0.000000e+00
  br i1 %257, label %267, label %258

258:                                              ; preds = %255
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %80) #5
  %259 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %15)
  %260 = call noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12) %15)
  %261 = fdiv float %259, %260
  %262 = call noundef float @_ZSt4fmaxff(float noundef %261, float noundef 0.000000e+00)
  %263 = call noundef float @_ZSt4fminff(float noundef %262, float noundef 1.000000e+00)
  store float %263, ptr %80, align 4, !tbaa !5
  %264 = getelementptr inbounds i8, ptr %0, i64 12
  %265 = fsub float 1.000000e+00, %263
  call void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16) %264, float noundef 0.000000e+00, float noundef %265, float noundef 0.000000e+00, float noundef %263)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %81) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %82) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %83) #5
  store float %265, ptr %83, align 4, !tbaa !5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %82, ptr noundef nonnull align 4 dereferenceable(4) %83, ptr noundef nonnull align 4 dereferenceable(12) %2)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %84) #5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %84, ptr noundef nonnull align 4 dereferenceable(4) %80, ptr noundef nonnull align 4 dereferenceable(12) %4)
  call void @_ZNK7Vector3plERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %81, ptr noundef nonnull align 4 dereferenceable(12) %82, ptr noundef nonnull align 4 dereferenceable(12) %84)
  %266 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(12) %81)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %84) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %83) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %82) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %81) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %80) #5
  br label %.loopexit

267:                                              ; preds = %255, %252, %249, %246
  %268 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %18)
  %269 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %12, ptr noundef nonnull align 4 dereferenceable(12) %18)
  %270 = fmul float %268, %269
  %271 = fcmp olt float %270, 0.000000e+00
  br i1 %271, label %272, label %279

272:                                              ; preds = %267
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %85) #5
  %273 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %7)
  %274 = call noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12) %18)
  %275 = fdiv float %273, %274
  store float %275, ptr %85, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %86) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %87) #5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %87, ptr noundef nonnull align 4 dereferenceable(4) %85, ptr noundef nonnull align 4 dereferenceable(12) %18)
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %86, ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %87)
  %276 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(12) %86)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %87) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %86) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %88) #5
  call void @_ZN8geometry8triangle10baryCoordsERK7Vector3S3_S3_S3_(ptr dead_on_unwind nonnull writable sret(%class.Vector4) align 4 %88, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %0)
  %277 = getelementptr inbounds i8, ptr %0, i64 12
  %278 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector4aSERKS_(ptr noundef nonnull align 4 dereferenceable(16) %277, ptr noundef nonnull align 4 dereferenceable(16) %88)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %88) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %85) #5
  br label %.loopexit

279:                                              ; preds = %267
  %280 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %17)
  %281 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %17)
  %282 = fneg float %281
  %283 = fmul float %280, %282
  %284 = fcmp olt float %283, 0.000000e+00
  br i1 %284, label %285, label %296

285:                                              ; preds = %279
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %89) #5
  %286 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %8)
  %287 = call noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12) %17)
  %288 = fdiv float %286, %287
  store float %288, ptr %89, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %90) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %91) #5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %91, ptr noundef nonnull align 4 dereferenceable(4) %89, ptr noundef nonnull align 4 dereferenceable(12) %17)
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %90, ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %91)
  %289 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(12) %90)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %91) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %90) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %92) #5
  call void @_ZN8geometry8triangle10baryCoordsERK7Vector3S3_S3_S3_(ptr dead_on_unwind nonnull writable sret(%class.Vector4) align 4 %92, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %0)
  %290 = getelementptr inbounds i8, ptr %0, i64 12
  %291 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector4aSERKS_(ptr noundef nonnull align 4 dereferenceable(16) %290, ptr noundef nonnull align 4 dereferenceable(16) %92)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %92) #5
  %292 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %290, i32 noundef 2)
  %293 = load float, ptr %292, align 4, !tbaa !5
  %294 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %290, i32 noundef 3)
  store float %293, ptr %294, align 4, !tbaa !5
  %295 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %290, i32 noundef 2)
  store float 0.000000e+00, ptr %295, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %89) #5
  br label %.loopexit

296:                                              ; preds = %279
  %297 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %26)
  %298 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %26)
  %299 = fneg float %298
  %300 = fmul float %297, %299
  %301 = fcmp olt float %300, 0.000000e+00
  br i1 %301, label %302, label %319

302:                                              ; preds = %296
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %93) #5
  %303 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %26, ptr noundef nonnull align 4 dereferenceable(12) %8)
  %304 = call noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12) %26)
  %305 = fdiv float %303, %304
  store float %305, ptr %93, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %94) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %95) #5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %95, ptr noundef nonnull align 4 dereferenceable(4) %93, ptr noundef nonnull align 4 dereferenceable(12) %26)
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %94, ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %95)
  %306 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(12) %94)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %95) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %94) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %96) #5
  call void @_ZN8geometry8triangle10baryCoordsERK7Vector3S3_S3_S3_(ptr dead_on_unwind nonnull writable sret(%class.Vector4) align 4 %96, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %0)
  %307 = getelementptr inbounds i8, ptr %0, i64 12
  %308 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector4aSERKS_(ptr noundef nonnull align 4 dereferenceable(16) %307, ptr noundef nonnull align 4 dereferenceable(16) %96)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %96) #5
  %309 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %307, i32 noundef 2)
  %310 = load float, ptr %309, align 4, !tbaa !5
  %311 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %307, i32 noundef 3)
  store float %310, ptr %311, align 4, !tbaa !5
  %312 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %307, i32 noundef 1)
  %313 = load float, ptr %312, align 4, !tbaa !5
  %314 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %307, i32 noundef 2)
  store float %313, ptr %314, align 4, !tbaa !5
  %315 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %307, i32 noundef 0)
  %316 = load float, ptr %315, align 4, !tbaa !5
  %317 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %307, i32 noundef 1)
  store float %316, ptr %317, align 4, !tbaa !5
  %318 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %307, i32 noundef 0)
  store float 0.000000e+00, ptr %318, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %93) #5
  br label %.loopexit

319:                                              ; preds = %296
  %320 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %40)
  %321 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %40)
  %322 = fneg float %321
  %323 = fmul float %320, %322
  %324 = fcmp olt float %323, 0.000000e+00
  br i1 %324, label %325, label %.loopexit.loopexit

325:                                              ; preds = %319
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %97) #5
  %326 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %40, ptr noundef nonnull align 4 dereferenceable(12) %7)
  %327 = call noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12) %40)
  %328 = fdiv float %326, %327
  store float %328, ptr %97, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %98) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %99) #5
  call void @_ZmlRKfRK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %99, ptr noundef nonnull align 4 dereferenceable(4) %97, ptr noundef nonnull align 4 dereferenceable(12) %40)
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %98, ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %99)
  %329 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(12) %98)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %99) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %98) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %100) #5
  call void @_ZN8geometry8triangle10baryCoordsERK7Vector3S3_S3_S3_(ptr dead_on_unwind nonnull writable sret(%class.Vector4) align 4 %100, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %0)
  %330 = getelementptr inbounds i8, ptr %0, i64 12
  %331 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector4aSERKS_(ptr noundef nonnull align 4 dereferenceable(16) %330, ptr noundef nonnull align 4 dereferenceable(16) %100)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %100) #5
  %332 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %330, i32 noundef 2)
  %333 = load float, ptr %332, align 4, !tbaa !5
  %334 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %330, i32 noundef 3)
  store float %333, ptr %334, align 4, !tbaa !5
  %335 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %330, i32 noundef 1)
  %336 = load float, ptr %335, align 4, !tbaa !5
  %337 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %330, i32 noundef 2)
  store float %336, ptr %337, align 4, !tbaa !5
  %338 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %330, i32 noundef 1)
  store float 0.000000e+00, ptr %338, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %97) #5
  br label %.loopexit

.loopexit.loopexit:                               ; preds = %319
  %339 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(12) %5)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %101) #5
  call void @_ZN8geometry11tetrahedron10baryCoordsERK7Vector3S3_S3_S3_S3_(ptr dead_on_unwind nonnull writable sret(%class.Vector4) align 4 %101, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %5)
  %340 = getelementptr inbounds i8, ptr %0, i64 12
  %341 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector4aSERKS_(ptr noundef nonnull align 4 dereferenceable(16) %340, ptr noundef nonnull align 4 dereferenceable(16) %101)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %101) #5
  %342 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %340, i32 noundef 0)
  %343 = load float, ptr %342, align 4, !tbaa !5
  %344 = call noundef float @_ZSt4fmaxff(float noundef %343, float noundef 0.000000e+00)
  %345 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %340, i32 noundef 0)
  store float %344, ptr %345, align 4, !tbaa !5
  %346 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %340, i32 noundef 1)
  %347 = load float, ptr %346, align 4, !tbaa !5
  %348 = call noundef float @_ZSt4fmaxff(float noundef %347, float noundef 0.000000e+00)
  %349 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %340, i32 noundef 1)
  store float %348, ptr %349, align 4, !tbaa !5
  %350 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %340, i32 noundef 2)
  %351 = load float, ptr %350, align 4, !tbaa !5
  %352 = call noundef float @_ZSt4fmaxff(float noundef %351, float noundef 0.000000e+00)
  %353 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %340, i32 noundef 2)
  store float %352, ptr %353, align 4, !tbaa !5
  %354 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %340, i32 noundef 3)
  %355 = load float, ptr %354, align 4, !tbaa !5
  %356 = call noundef float @_ZSt4fmaxff(float noundef %355, float noundef 0.000000e+00)
  %357 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %340, i32 noundef 3)
  store float %356, ptr %357, align 4, !tbaa !5
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %325, %302, %285, %272, %258
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %77) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %74) #5
  br label %358

358:                                              ; preds = %.loopexit, %237
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %66) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %63) #5
  br label %359

359:                                              ; preds = %358, %216
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %55) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %52) #5
  br label %360

360:                                              ; preds = %359, %195
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %44) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %41) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %40) #5
  br label %361

361:                                              ; preds = %360, %174
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %32) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %26) #5
  br label %362

362:                                              ; preds = %361, %153
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %17) #5
  br label %363

363:                                              ; preds = %118, %138, %362, %128, %108
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #5
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8geometry5types16pointBaryCoord_tC2Ev(ptr noundef nonnull align 4 dereferenceable(28)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7Vector410InitializeEffff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4fminff(float noundef, float noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4fmaxff(float noundef, float noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK7Vector316magnitudeSquaredEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2 align 2

declare void @_ZmlRKfRK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Vector3plERKS_(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #0 align 2

declare void @_ZN8geometry8triangle10baryCoordsERK7Vector3S3_S3_S3_(ptr dead_on_unwind writable sret(%class.Vector4) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector4aSERKS_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #0 align 2

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


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