; LLVM IR from Angelo1211/SoftwareRenderer :: src/geometry.ll (ZN8Frustrum12updatePlanesER7Matrix4RK7Vector3IfE)

; 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"

%struct.Vector3 = type { %union.anon, float }
%union.anon = type { [3 x float] }
%class.Frustrum = type { float, float, float, float, float, float, [6 x %struct.Plane] }
%struct.Plane = type { %struct.Vector3, float }

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Plane17setNormalAndPointERK7Vector3IfES3_(ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8Frustrum12updatePlanesER7Matrix4RK7Vector3IfE(ptr noundef nonnull align 4 dereferenceable(144) %0, ptr noundef nonnull align 4 dereferenceable(64) %1, ptr noundef nonnull align 4 dereferenceable(16) %2) #4 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %struct.Vector3, align 4
  %8 = alloca %struct.Vector3, align 4
  %9 = alloca %struct.Vector3, align 4
  %10 = alloca %struct.Vector3, align 4
  %11 = alloca %struct.Vector3, align 4
  %12 = alloca %struct.Vector3, align 4
  %13 = alloca %struct.Vector3, align 4
  %14 = alloca %struct.Vector3, align 4
  %15 = alloca %struct.Vector3, align 4
  %16 = alloca %struct.Vector3, align 4
  %17 = alloca %struct.Vector3, align 4
  %18 = alloca %struct.Vector3, align 4
  %19 = alloca %struct.Vector3, align 4
  %20 = alloca %struct.Vector3, align 4
  %21 = alloca %struct.Vector3, align 4
  %22 = alloca %struct.Vector3, align 4
  %23 = alloca %struct.Vector3, align 4
  %24 = alloca %struct.Vector3, align 4
  %25 = alloca %struct.Vector3, align 4
  %26 = alloca %struct.Vector3, align 4
  %27 = alloca %struct.Vector3, align 4
  %28 = alloca %struct.Vector3, align 4
  %29 = alloca %struct.Vector3, align 4
  %30 = alloca %struct.Vector3, align 4
  %31 = alloca %struct.Vector3, align 4
  %32 = alloca %struct.Vector3, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %33 = load ptr, ptr %4, align 8
  call void @_ZN8Frustrum15setCamInternalsEv(ptr noundef nonnull align 4 dereferenceable(144) %33)
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #5
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Matrix4clEmm(ptr noundef nonnull align 4 dereferenceable(64) %34, i64 noundef 0, i64 noundef 0)
  %36 = load float, ptr %35, align 4, !tbaa !9
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Matrix4clEmm(ptr noundef nonnull align 4 dereferenceable(64) %37, i64 noundef 0, i64 noundef 1)
  %39 = load float, ptr %38, align 4, !tbaa !9
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Matrix4clEmm(ptr noundef nonnull align 4 dereferenceable(64) %40, i64 noundef 0, i64 noundef 2)
  %42 = load float, ptr %41, align 4, !tbaa !9
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %7, float noundef %36, float noundef %39, float noundef %42)
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #5
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Matrix4clEmm(ptr noundef nonnull align 4 dereferenceable(64) %43, i64 noundef 1, i64 noundef 0)
  %45 = load float, ptr %44, align 4, !tbaa !9
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Matrix4clEmm(ptr noundef nonnull align 4 dereferenceable(64) %46, i64 noundef 1, i64 noundef 1)
  %48 = load float, ptr %47, align 4, !tbaa !9
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Matrix4clEmm(ptr noundef nonnull align 4 dereferenceable(64) %49, i64 noundef 1, i64 noundef 2)
  %51 = load float, ptr %50, align 4, !tbaa !9
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %8, float noundef %45, float noundef %48, float noundef %51)
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #5
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Matrix4clEmm(ptr noundef nonnull align 4 dereferenceable(64) %52, i64 noundef 2, i64 noundef 0)
  %54 = load float, ptr %53, align 4, !tbaa !9
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Matrix4clEmm(ptr noundef nonnull align 4 dereferenceable(64) %55, i64 noundef 2, i64 noundef 1)
  %57 = load float, ptr %56, align 4, !tbaa !9
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Matrix4clEmm(ptr noundef nonnull align 4 dereferenceable(64) %58, i64 noundef 2, i64 noundef 2)
  %60 = load float, ptr %59, align 4, !tbaa !9
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %9, float noundef %54, float noundef %57, float noundef %60)
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #5
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  %62 = getelementptr inbounds %class.Frustrum, ptr %33, i32 0, i32 2
  %63 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmlERKf(ptr noundef nonnull align 4 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) %62)
  %64 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 0
  %65 = extractvalue { <2 x float>, <2 x float> } %63, 0
  store <2 x float> %65, ptr %64, align 4
  %66 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 1
  %67 = extractvalue { <2 x float>, <2 x float> } %63, 1
  store <2 x float> %67, ptr %66, align 4
  %68 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %61, ptr noundef nonnull align 4 dereferenceable(16) %11)
  %69 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %10, i32 0, i32 0
  %70 = extractvalue { <2 x float>, <2 x float> } %68, 0
  store <2 x float> %70, ptr %69, align 4
  %71 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %10, i32 0, i32 1
  %72 = extractvalue { <2 x float>, <2 x float> } %68, 1
  store <2 x float> %72, ptr %71, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #5
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  %74 = getelementptr inbounds %class.Frustrum, ptr %33, i32 0, i32 3
  %75 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmlERKf(ptr noundef nonnull align 4 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) %74)
  %76 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %13, i32 0, i32 0
  %77 = extractvalue { <2 x float>, <2 x float> } %75, 0
  store <2 x float> %77, ptr %76, align 4
  %78 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %13, i32 0, i32 1
  %79 = extractvalue { <2 x float>, <2 x float> } %75, 1
  store <2 x float> %79, ptr %78, align 4
  %80 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %73, ptr noundef nonnull align 4 dereferenceable(16) %13)
  %81 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %12, i32 0, i32 0
  %82 = extractvalue { <2 x float>, <2 x float> } %80, 0
  store <2 x float> %82, ptr %81, align 4
  %83 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %12, i32 0, i32 1
  %84 = extractvalue { <2 x float>, <2 x float> } %80, 1
  store <2 x float> %84, ptr %83, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  call void @_ZN7Vector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %14)
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  call void @_ZN7Vector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %15)
  %85 = getelementptr inbounds %class.Frustrum, ptr %33, i32 0, i32 6
  %86 = getelementptr inbounds [6 x %struct.Plane], ptr %85, i64 0, i64 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #5
  %87 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEngEv(ptr noundef nonnull align 4 dereferenceable(16) %9)
  %88 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %16, i32 0, i32 0
  %89 = extractvalue { <2 x float>, <2 x float> } %87, 0
  store <2 x float> %89, ptr %88, align 4
  %90 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %16, i32 0, i32 1
  %91 = extractvalue { <2 x float>, <2 x float> } %87, 1
  store <2 x float> %91, ptr %90, align 4
  call void @_ZN5Plane17setNormalAndPointERK7Vector3IfES3_(ptr noundef nonnull align 4 dereferenceable(20) %86, ptr noundef nonnull align 4 dereferenceable(16) %16, ptr noundef nonnull align 4 dereferenceable(16) %10)
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #5
  %92 = getelementptr inbounds %class.Frustrum, ptr %33, i32 0, i32 6
  %93 = getelementptr inbounds [6 x %struct.Plane], ptr %92, i64 0, i64 5
  call void @_ZN5Plane17setNormalAndPointERK7Vector3IfES3_(ptr noundef nonnull align 4 dereferenceable(20) %93, ptr noundef nonnull align 4 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(16) %12)
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  %94 = getelementptr inbounds %class.Frustrum, ptr %33, i32 0, i32 4
  %95 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmlERKf(ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(4) %94)
  %96 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %18, i32 0, i32 0
  %97 = extractvalue { <2 x float>, <2 x float> } %95, 0
  store <2 x float> %97, ptr %96, align 4
  %98 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %18, i32 0, i32 1
  %99 = extractvalue { <2 x float>, <2 x float> } %95, 1
  store <2 x float> %99, ptr %98, align 4
  %100 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEplERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(16) %18)
  %101 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %17, i32 0, i32 0
  %102 = extractvalue { <2 x float>, <2 x float> } %100, 0
  store <2 x float> %102, ptr %101, align 4
  %103 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %17, i32 0, i32 1
  %104 = extractvalue { <2 x float>, <2 x float> } %100, 1
  store <2 x float> %104, ptr %103, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %17, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #5
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  %106 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(16) %105)
  %107 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %19, i32 0, i32 0
  %108 = extractvalue { <2 x float>, <2 x float> } %106, 0
  store <2 x float> %108, ptr %107, align 4
  %109 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %19, i32 0, i32 1
  %110 = extractvalue { <2 x float>, <2 x float> } %106, 1
  store <2 x float> %110, ptr %109, align 4
  %111 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector3IfE10normalizedEv(ptr noundef nonnull align 4 dereferenceable(16) %19)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %111, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #5
  %112 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfE12crossProductERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(16) %7)
  %113 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %20, i32 0, i32 0
  %114 = extractvalue { <2 x float>, <2 x float> } %112, 0
  store <2 x float> %114, ptr %113, align 4
  %115 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %20, i32 0, i32 1
  %116 = extractvalue { <2 x float>, <2 x float> } %112, 1
  store <2 x float> %116, ptr %115, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %20, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #5
  %117 = getelementptr inbounds %class.Frustrum, ptr %33, i32 0, i32 6
  %118 = getelementptr inbounds [6 x %struct.Plane], ptr %117, i64 0, i64 0
  call void @_ZN5Plane17setNormalAndPointERK7Vector3IfES3_(ptr noundef nonnull align 4 dereferenceable(20) %118, ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(16) %14)
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #5
  %119 = getelementptr inbounds %class.Frustrum, ptr %33, i32 0, i32 4
  %120 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmlERKf(ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(4) %119)
  %121 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %22, i32 0, i32 0
  %122 = extractvalue { <2 x float>, <2 x float> } %120, 0
  store <2 x float> %122, ptr %121, align 4
  %123 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %22, i32 0, i32 1
  %124 = extractvalue { <2 x float>, <2 x float> } %120, 1
  store <2 x float> %124, ptr %123, align 4
  %125 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(16) %22)
  %126 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %21, i32 0, i32 0
  %127 = extractvalue { <2 x float>, <2 x float> } %125, 0
  store <2 x float> %127, ptr %126, align 4
  %128 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %21, i32 0, i32 1
  %129 = extractvalue { <2 x float>, <2 x float> } %125, 1
  store <2 x float> %129, ptr %128, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %21, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #5
  %130 = load ptr, ptr %6, align 8, !tbaa !5
  %131 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(16) %130)
  %132 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %23, i32 0, i32 0
  %133 = extractvalue { <2 x float>, <2 x float> } %131, 0
  store <2 x float> %133, ptr %132, align 4
  %134 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %23, i32 0, i32 1
  %135 = extractvalue { <2 x float>, <2 x float> } %131, 1
  store <2 x float> %135, ptr %134, align 4
  %136 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector3IfE10normalizedEv(ptr noundef nonnull align 4 dereferenceable(16) %23)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %136, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  %137 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfE12crossProductERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %15)
  %138 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %24, i32 0, i32 0
  %139 = extractvalue { <2 x float>, <2 x float> } %137, 0
  store <2 x float> %139, ptr %138, align 4
  %140 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %24, i32 0, i32 1
  %141 = extractvalue { <2 x float>, <2 x float> } %137, 1
  store <2 x float> %141, ptr %140, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %24, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  %142 = getelementptr inbounds %class.Frustrum, ptr %33, i32 0, i32 6
  %143 = getelementptr inbounds [6 x %struct.Plane], ptr %142, i64 0, i64 1
  call void @_ZN5Plane17setNormalAndPointERK7Vector3IfES3_(ptr noundef nonnull align 4 dereferenceable(20) %143, ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(16) %14)
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #5
  %144 = getelementptr inbounds %class.Frustrum, ptr %33, i32 0, i32 5
  %145 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmlERKf(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(4) %144)
  %146 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %26, i32 0, i32 0
  %147 = extractvalue { <2 x float>, <2 x float> } %145, 0
  store <2 x float> %147, ptr %146, align 4
  %148 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %26, i32 0, i32 1
  %149 = extractvalue { <2 x float>, <2 x float> } %145, 1
  store <2 x float> %149, ptr %148, align 4
  %150 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(16) %26)
  %151 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %25, i32 0, i32 0
  %152 = extractvalue { <2 x float>, <2 x float> } %150, 0
  store <2 x float> %152, ptr %151, align 4
  %153 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %25, i32 0, i32 1
  %154 = extractvalue { <2 x float>, <2 x float> } %150, 1
  store <2 x float> %154, ptr %153, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %25, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #5
  %155 = load ptr, ptr %6, align 8, !tbaa !5
  %156 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(16) %155)
  %157 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %27, i32 0, i32 0
  %158 = extractvalue { <2 x float>, <2 x float> } %156, 0
  store <2 x float> %158, ptr %157, align 4
  %159 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %27, i32 0, i32 1
  %160 = extractvalue { <2 x float>, <2 x float> } %156, 1
  store <2 x float> %160, ptr %159, align 4
  %161 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector3IfE10normalizedEv(ptr noundef nonnull align 4 dereferenceable(16) %27)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %161, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #5
  %162 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfE12crossProductERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(16) %8)
  %163 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %28, i32 0, i32 0
  %164 = extractvalue { <2 x float>, <2 x float> } %162, 0
  store <2 x float> %164, ptr %163, align 4
  %165 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %28, i32 0, i32 1
  %166 = extractvalue { <2 x float>, <2 x float> } %162, 1
  store <2 x float> %166, ptr %165, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %28, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #5
  %167 = getelementptr inbounds %class.Frustrum, ptr %33, i32 0, i32 6
  %168 = getelementptr inbounds [6 x %struct.Plane], ptr %167, i64 0, i64 2
  call void @_ZN5Plane17setNormalAndPointERK7Vector3IfES3_(ptr noundef nonnull align 4 dereferenceable(20) %168, ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(16) %14)
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #5
  %169 = getelementptr inbounds %class.Frustrum, ptr %33, i32 0, i32 5
  %170 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmlERKf(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(4) %169)
  %171 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %30, i32 0, i32 0
  %172 = extractvalue { <2 x float>, <2 x float> } %170, 0
  store <2 x float> %172, ptr %171, align 4
  %173 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %30, i32 0, i32 1
  %174 = extractvalue { <2 x float>, <2 x float> } %170, 1
  store <2 x float> %174, ptr %173, align 4
  %175 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEplERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(16) %30)
  %176 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %29, i32 0, i32 0
  %177 = extractvalue { <2 x float>, <2 x float> } %175, 0
  store <2 x float> %177, ptr %176, align 4
  %178 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %29, i32 0, i32 1
  %179 = extractvalue { <2 x float>, <2 x float> } %175, 1
  store <2 x float> %179, ptr %178, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %29, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #5
  %180 = load ptr, ptr %6, align 8, !tbaa !5
  %181 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(16) %180)
  %182 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %31, i32 0, i32 0
  %183 = extractvalue { <2 x float>, <2 x float> } %181, 0
  store <2 x float> %183, ptr %182, align 4
  %184 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %31, i32 0, i32 1
  %185 = extractvalue { <2 x float>, <2 x float> } %181, 1
  store <2 x float> %185, ptr %184, align 4
  %186 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector3IfE10normalizedEv(ptr noundef nonnull align 4 dereferenceable(16) %31)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %186, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #5
  %187 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfE12crossProductERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(16) %15)
  %188 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %32, i32 0, i32 0
  %189 = extractvalue { <2 x float>, <2 x float> } %187, 0
  store <2 x float> %189, ptr %188, align 4
  %190 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %32, i32 0, i32 1
  %191 = extractvalue { <2 x float>, <2 x float> } %187, 1
  store <2 x float> %191, ptr %190, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %32, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #5
  %192 = getelementptr inbounds %class.Frustrum, ptr %33, i32 0, i32 6
  %193 = getelementptr inbounds [6 x %struct.Plane], ptr %192, i64 0, i64 3
  call void @_ZN5Plane17setNormalAndPointERK7Vector3IfES3_(ptr noundef nonnull align 4 dereferenceable(20) %193, ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(16) %14)
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #5
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmlERKf(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK7Vector3IfEngEv(ptr noundef nonnull align 4 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK7Vector3IfEplERKS0_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK7Vector3IfE12crossProductERKS0_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #3 align 2

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


; 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"

%struct.Vector3 = type { %union.anon, float }
%union.anon = type { [3 x float] }

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Plane17setNormalAndPointERK7Vector3IfES3_(ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8Frustrum15setCamInternalsEv(ptr noundef nonnull align 4 dereferenceable(144)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8Frustrum12updatePlanesER7Matrix4RK7Vector3IfE(ptr noundef nonnull align 4 dereferenceable(144) %0, ptr noundef nonnull align 4 dereferenceable(64) %1, ptr noundef nonnull align 4 dereferenceable(16) %2) local_unnamed_addr #4 align 2 {
  %4 = alloca %struct.Vector3, align 4
  %5 = alloca %struct.Vector3, align 4
  %6 = alloca %struct.Vector3, align 4
  %7 = alloca %struct.Vector3, align 8
  %8 = alloca %struct.Vector3, align 8
  %9 = alloca %struct.Vector3, align 8
  %10 = alloca %struct.Vector3, align 8
  %11 = alloca %struct.Vector3, align 8
  %12 = alloca %struct.Vector3, align 8
  %13 = alloca %struct.Vector3, align 8
  %14 = alloca %struct.Vector3, align 8
  %15 = alloca %struct.Vector3, align 8
  %16 = alloca %struct.Vector3, align 8
  %17 = alloca %struct.Vector3, align 8
  %18 = alloca %struct.Vector3, align 8
  %19 = alloca %struct.Vector3, align 8
  %20 = alloca %struct.Vector3, align 8
  %21 = alloca %struct.Vector3, align 8
  tail call void @_ZN8Frustrum15setCamInternalsEv(ptr noundef nonnull align 4 dereferenceable(144) %0)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  %22 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Matrix4clEmm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 0, i64 noundef 0)
  %23 = load float, ptr %22, align 4, !tbaa !5
  %24 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Matrix4clEmm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 0, i64 noundef 1)
  %25 = load float, ptr %24, align 4, !tbaa !5
  %26 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Matrix4clEmm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 0, i64 noundef 2)
  %27 = load float, ptr %26, align 4, !tbaa !5
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef %23, float noundef %25, float noundef %27)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #5
  %28 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Matrix4clEmm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 1, i64 noundef 0)
  %29 = load float, ptr %28, align 4, !tbaa !5
  %30 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Matrix4clEmm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 1, i64 noundef 1)
  %31 = load float, ptr %30, align 4, !tbaa !5
  %32 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Matrix4clEmm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 1, i64 noundef 2)
  %33 = load float, ptr %32, align 4, !tbaa !5
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef %29, float noundef %31, float noundef %33)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  %34 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Matrix4clEmm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 2, i64 noundef 0)
  %35 = load float, ptr %34, align 4, !tbaa !5
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Matrix4clEmm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 2, i64 noundef 1)
  %37 = load float, ptr %36, align 4, !tbaa !5
  %38 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Matrix4clEmm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 2, i64 noundef 2)
  %39 = load float, ptr %38, align 4, !tbaa !5
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %6, float noundef %35, float noundef %37, float noundef %39)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  %40 = getelementptr inbounds i8, ptr %0, i64 8
  %41 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmlERKf(ptr noundef nonnull align 4 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %40)
  %42 = extractvalue { <2 x float>, <2 x float> } %41, 0
  store <2 x float> %42, ptr %8, align 8
  %43 = getelementptr inbounds i8, ptr %8, i64 8
  %44 = extractvalue { <2 x float>, <2 x float> } %41, 1
  store <2 x float> %44, ptr %43, align 8
  %45 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %8)
  %46 = extractvalue { <2 x float>, <2 x float> } %45, 0
  store <2 x float> %46, ptr %7, align 8
  %47 = getelementptr inbounds i8, ptr %7, i64 8
  %48 = extractvalue { <2 x float>, <2 x float> } %45, 1
  store <2 x float> %48, ptr %47, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #5
  %49 = getelementptr inbounds i8, ptr %0, i64 12
  %50 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmlERKf(ptr noundef nonnull align 4 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %49)
  %51 = extractvalue { <2 x float>, <2 x float> } %50, 0
  store <2 x float> %51, ptr %10, align 8
  %52 = getelementptr inbounds i8, ptr %10, i64 8
  %53 = extractvalue { <2 x float>, <2 x float> } %50, 1
  store <2 x float> %53, ptr %52, align 8
  %54 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %10)
  %55 = extractvalue { <2 x float>, <2 x float> } %54, 0
  store <2 x float> %55, ptr %9, align 8
  %56 = getelementptr inbounds i8, ptr %9, i64 8
  %57 = extractvalue { <2 x float>, <2 x float> } %54, 1
  store <2 x float> %57, ptr %56, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #5
  call void @_ZN7Vector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %11)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #5
  call void @_ZN7Vector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %12)
  %58 = getelementptr inbounds i8, ptr %0, i64 24
  %59 = getelementptr inbounds i8, ptr %0, i64 104
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #5
  %60 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEngEv(ptr noundef nonnull align 4 dereferenceable(16) %6)
  %61 = extractvalue { <2 x float>, <2 x float> } %60, 0
  store <2 x float> %61, ptr %13, align 8
  %62 = getelementptr inbounds i8, ptr %13, i64 8
  %63 = extractvalue { <2 x float>, <2 x float> } %60, 1
  store <2 x float> %63, ptr %62, align 8
  call void @_ZN5Plane17setNormalAndPointERK7Vector3IfES3_(ptr noundef nonnull align 4 dereferenceable(20) %59, ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(16) %7)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #5
  %64 = getelementptr inbounds i8, ptr %0, i64 124
  call void @_ZN5Plane17setNormalAndPointERK7Vector3IfES3_(ptr noundef nonnull align 4 dereferenceable(20) %64, ptr noundef nonnull align 4 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(16) %9)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #5
  %65 = getelementptr inbounds i8, ptr %0, i64 16
  %66 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmlERKf(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(4) %65)
  %67 = extractvalue { <2 x float>, <2 x float> } %66, 0
  store <2 x float> %67, ptr %14, align 8
  %68 = getelementptr inbounds i8, ptr %14, i64 8
  %69 = extractvalue { <2 x float>, <2 x float> } %66, 1
  store <2 x float> %69, ptr %68, align 8
  %70 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEplERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %14)
  %71 = extractvalue { <2 x float>, <2 x float> } %70, 0
  %72 = extractvalue { <2 x float>, <2 x float> } %70, 1
  store <2 x float> %71, ptr %11, align 8
  %.sroa.414.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 8
  store <2 x float> %72, ptr %.sroa.414.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #5
  %73 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(16) %2)
  %74 = extractvalue { <2 x float>, <2 x float> } %73, 0
  store <2 x float> %74, ptr %15, align 8
  %75 = getelementptr inbounds i8, ptr %15, i64 8
  %76 = extractvalue { <2 x float>, <2 x float> } %73, 1
  store <2 x float> %76, ptr %75, align 8
  %77 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector3IfE10normalizedEv(ptr noundef nonnull align 4 dereferenceable(16) %15)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %77, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #5
  %78 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfE12crossProductERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %4)
  %79 = extractvalue { <2 x float>, <2 x float> } %78, 0
  %80 = extractvalue { <2 x float>, <2 x float> } %78, 1
  store <2 x float> %79, ptr %12, align 8
  %.sroa.412.0..sroa_idx = getelementptr inbounds i8, ptr %12, i64 8
  store <2 x float> %80, ptr %.sroa.412.0..sroa_idx, align 8
  call void @_ZN5Plane17setNormalAndPointERK7Vector3IfES3_(ptr noundef nonnull align 4 dereferenceable(20) %58, ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %11)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #5
  %81 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmlERKf(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(4) %65)
  %82 = extractvalue { <2 x float>, <2 x float> } %81, 0
  store <2 x float> %82, ptr %16, align 8
  %83 = getelementptr inbounds i8, ptr %16, i64 8
  %84 = extractvalue { <2 x float>, <2 x float> } %81, 1
  store <2 x float> %84, ptr %83, align 8
  %85 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %16)
  %86 = extractvalue { <2 x float>, <2 x float> } %85, 0
  %87 = extractvalue { <2 x float>, <2 x float> } %85, 1
  store <2 x float> %86, ptr %11, align 8
  store <2 x float> %87, ptr %.sroa.414.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #5
  %88 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(16) %2)
  %89 = extractvalue { <2 x float>, <2 x float> } %88, 0
  store <2 x float> %89, ptr %17, align 8
  %90 = getelementptr inbounds i8, ptr %17, i64 8
  %91 = extractvalue { <2 x float>, <2 x float> } %88, 1
  store <2 x float> %91, ptr %90, align 8
  %92 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector3IfE10normalizedEv(ptr noundef nonnull align 4 dereferenceable(16) %17)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %92, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #5
  %93 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfE12crossProductERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(16) %12)
  %94 = extractvalue { <2 x float>, <2 x float> } %93, 0
  %95 = extractvalue { <2 x float>, <2 x float> } %93, 1
  store <2 x float> %94, ptr %12, align 8
  store <2 x float> %95, ptr %.sroa.412.0..sroa_idx, align 8
  %96 = getelementptr inbounds i8, ptr %0, i64 44
  call void @_ZN5Plane17setNormalAndPointERK7Vector3IfES3_(ptr noundef nonnull align 4 dereferenceable(20) %96, ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %11)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #5
  %97 = getelementptr inbounds i8, ptr %0, i64 20
  %98 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmlERKf(ptr noundef nonnull align 4 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %97)
  %99 = extractvalue { <2 x float>, <2 x float> } %98, 0
  store <2 x float> %99, ptr %18, align 8
  %100 = getelementptr inbounds i8, ptr %18, i64 8
  %101 = extractvalue { <2 x float>, <2 x float> } %98, 1
  store <2 x float> %101, ptr %100, align 8
  %102 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %18)
  %103 = extractvalue { <2 x float>, <2 x float> } %102, 0
  %104 = extractvalue { <2 x float>, <2 x float> } %102, 1
  store <2 x float> %103, ptr %11, align 8
  store <2 x float> %104, ptr %.sroa.414.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #5
  %105 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(16) %2)
  %106 = extractvalue { <2 x float>, <2 x float> } %105, 0
  store <2 x float> %106, ptr %19, align 8
  %107 = getelementptr inbounds i8, ptr %19, i64 8
  %108 = extractvalue { <2 x float>, <2 x float> } %105, 1
  store <2 x float> %108, ptr %107, align 8
  %109 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector3IfE10normalizedEv(ptr noundef nonnull align 4 dereferenceable(16) %19)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %109, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #5
  %110 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfE12crossProductERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %5)
  %111 = extractvalue { <2 x float>, <2 x float> } %110, 0
  %112 = extractvalue { <2 x float>, <2 x float> } %110, 1
  store <2 x float> %111, ptr %12, align 8
  store <2 x float> %112, ptr %.sroa.412.0..sroa_idx, align 8
  %113 = getelementptr inbounds i8, ptr %0, i64 64
  call void @_ZN5Plane17setNormalAndPointERK7Vector3IfES3_(ptr noundef nonnull align 4 dereferenceable(20) %113, ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %11)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #5
  %114 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmlERKf(ptr noundef nonnull align 4 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %97)
  %115 = extractvalue { <2 x float>, <2 x float> } %114, 0
  store <2 x float> %115, ptr %20, align 8
  %116 = getelementptr inbounds i8, ptr %20, i64 8
  %117 = extractvalue { <2 x float>, <2 x float> } %114, 1
  store <2 x float> %117, ptr %116, align 8
  %118 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEplERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %20)
  %119 = extractvalue { <2 x float>, <2 x float> } %118, 0
  %120 = extractvalue { <2 x float>, <2 x float> } %118, 1
  store <2 x float> %119, ptr %11, align 8
  store <2 x float> %120, ptr %.sroa.414.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #5
  %121 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(16) %2)
  %122 = extractvalue { <2 x float>, <2 x float> } %121, 0
  store <2 x float> %122, ptr %21, align 8
  %123 = getelementptr inbounds i8, ptr %21, i64 8
  %124 = extractvalue { <2 x float>, <2 x float> } %121, 1
  store <2 x float> %124, ptr %123, align 8
  %125 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector3IfE10normalizedEv(ptr noundef nonnull align 4 dereferenceable(16) %21)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %125, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #5
  %126 = call { <2 x float>, <2 x float> } @_ZNK7Vector3IfE12crossProductERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(16) %12)
  %127 = extractvalue { <2 x float>, <2 x float> } %126, 0
  %128 = extractvalue { <2 x float>, <2 x float> } %126, 1
  store <2 x float> %127, ptr %12, align 8
  store <2 x float> %128, ptr %.sroa.412.0..sroa_idx, align 8
  %129 = getelementptr inbounds i8, ptr %0, i64 84
  call void @_ZN5Plane17setNormalAndPointERK7Vector3IfES3_(ptr noundef nonnull align 4 dereferenceable(20) %129, ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %11)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK7Vector3IfEmlERKf(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK7Vector3IfEngEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK7Vector3IfEplERKS0_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK7Vector3IfE12crossProductERKS0_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3 align 2

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,TailCallElimPass