; LLVM IR from Razakhel/RaZ :: src/RaZ/Utils/Ray.ll (ZNK3Raz3Ray10intersectsERKNS_4AABBEPNS_6RayHitE)

; 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.Raz::Vector" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x float] }
%"class.Raz::Ray" = type { %"class.Raz::Vector", %"class.Raz::Vector", %"class.Raz::Vector" }
%"struct.Raz::RayHit" = type { %"class.Raz::Vector", %"class.Raz::Vector", float }

; 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) #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 nounwind uwtable
declare dso_local { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEmiERKS1_(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 { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EE9normalizeIfEENS0_IT_Lm3EEEv(ptr noundef nonnull align 4 dereferenceable(12)) #2 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 { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEplERKS1_(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 { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEmlEf(ptr noundef nonnull align 4 dereferenceable(12), float noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3Raz3Ray10intersectsERKNS_4AABBEPNS_6RayHitE(ptr noundef nonnull align 4 dereferenceable(36) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef %2) #3 align 2 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.Raz::Vector", align 4
  %9 = alloca %"class.Raz::Vector", align 4
  %10 = alloca { <2 x float>, float }, align 8
  %11 = alloca { <2 x float>, float }, align 8
  %12 = alloca %"class.Raz::Vector", align 4
  %13 = alloca %"class.Raz::Vector", align 4
  %14 = alloca { <2 x float>, float }, align 8
  %15 = alloca { <2 x float>, float }, align 8
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca i32, align 4
  %26 = alloca %"class.Raz::Vector", align 4
  %27 = alloca %"class.Raz::Vector", align 4
  %28 = alloca { <2 x float>, float }, align 8
  %29 = alloca { <2 x float>, float }, align 8
  %30 = alloca %"class.Raz::Vector", align 4
  %31 = alloca %"class.Raz::Vector", align 4
  %32 = alloca %"class.Raz::Vector", align 4
  %33 = alloca { <2 x float>, float }, align 8
  %34 = alloca { <2 x float>, float }, align 8
  %35 = alloca %"class.Raz::Vector", align 4
  %36 = alloca { <2 x float>, float }, align 8
  %37 = alloca { <2 x float>, float }, align 8
  %38 = alloca %"class.Raz::Vector", align 4
  %39 = alloca %"class.Raz::Vector", align 4
  %40 = alloca float, align 4
  %41 = alloca float, align 4
  %42 = alloca float, align 4
  %43 = alloca { <2 x float>, float }, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %44 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %9) #6
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Raz4AABB14getMinPositionEv(ptr noundef nonnull align 8 dereferenceable(32) %45)
  %47 = getelementptr inbounds %"class.Raz::Ray", ptr %44, i32 0, i32 0
  %48 = call { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEmiERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %46, ptr noundef nonnull align 4 dereferenceable(12) %47) #6
  %49 = getelementptr inbounds %"class.Raz::Vector", ptr %9, i32 0, i32 0
  %50 = getelementptr inbounds %"struct.std::array", ptr %49, i32 0, i32 0
  store { <2 x float>, float } %48, ptr %10, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 8 %10, i64 12, i1 false)
  %51 = getelementptr inbounds %"class.Raz::Ray", ptr %44, i32 0, i32 2
  %52 = call { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEmlERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %51) #6
  %53 = getelementptr inbounds %"class.Raz::Vector", ptr %8, i32 0, i32 0
  %54 = getelementptr inbounds %"struct.std::array", ptr %53, i32 0, i32 0
  store { <2 x float>, float } %52, ptr %11, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 8 %11, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %13) #6
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Raz4AABB14getMaxPositionEv(ptr noundef nonnull align 8 dereferenceable(32) %55)
  %57 = getelementptr inbounds %"class.Raz::Ray", ptr %44, i32 0, i32 0
  %58 = call { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEmiERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %56, ptr noundef nonnull align 4 dereferenceable(12) %57) #6
  %59 = getelementptr inbounds %"class.Raz::Vector", ptr %13, i32 0, i32 0
  %60 = getelementptr inbounds %"struct.std::array", ptr %59, i32 0, i32 0
  store { <2 x float>, float } %58, ptr %14, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %60, ptr align 8 %14, i64 12, i1 false)
  %61 = getelementptr inbounds %"class.Raz::Ray", ptr %44, i32 0, i32 2
  %62 = call { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEmlERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %61) #6
  %63 = getelementptr inbounds %"class.Raz::Vector", ptr %12, i32 0, i32 0
  %64 = getelementptr inbounds %"struct.std::array", ptr %63, i32 0, i32 0
  store { <2 x float>, float } %62, ptr %15, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %64, ptr align 8 %15, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %65 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1xEv(ptr noundef nonnull align 4 dereferenceable(12) %8) #6
  %66 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1xEv(ptr noundef nonnull align 4 dereferenceable(12) %12) #6
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %65, ptr noundef nonnull align 4 dereferenceable(4) %66)
  %68 = load float, ptr %67, align 4, !tbaa !9
  store float %68, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %69 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1xEv(ptr noundef nonnull align 4 dereferenceable(12) %8) #6
  %70 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1xEv(ptr noundef nonnull align 4 dereferenceable(12) %12) #6
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %69, ptr noundef nonnull align 4 dereferenceable(4) %70)
  %72 = load float, ptr %71, align 4, !tbaa !9
  store float %72, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %73 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1yEv(ptr noundef nonnull align 4 dereferenceable(12) %8) #6
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1yEv(ptr noundef nonnull align 4 dereferenceable(12) %12) #6
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %73, ptr noundef nonnull align 4 dereferenceable(4) %74)
  %76 = load float, ptr %75, align 4, !tbaa !9
  store float %76, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1yEv(ptr noundef nonnull align 4 dereferenceable(12) %8) #6
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1yEv(ptr noundef nonnull align 4 dereferenceable(12) %12) #6
  %79 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %77, ptr noundef nonnull align 4 dereferenceable(4) %78)
  %80 = load float, ptr %79, align 4, !tbaa !9
  store float %80, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %81 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1zEv(ptr noundef nonnull align 4 dereferenceable(12) %8) #6
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1zEv(ptr noundef nonnull align 4 dereferenceable(12) %12) #6
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %81, ptr noundef nonnull align 4 dereferenceable(4) %82)
  %84 = load float, ptr %83, align 4, !tbaa !9
  store float %84, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1zEv(ptr noundef nonnull align 4 dereferenceable(12) %8) #6
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1zEv(ptr noundef nonnull align 4 dereferenceable(12) %12) #6
  %87 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %85, ptr noundef nonnull align 4 dereferenceable(4) %86)
  %88 = load float, ptr %87, align 4, !tbaa !9
  store float %88, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %89 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %20)
  %90 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %89)
  %91 = load float, ptr %90, align 4, !tbaa !9
  store float %91, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %92 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %21)
  %93 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %92)
  %94 = load float, ptr %93, align 4, !tbaa !9
  store float %94, ptr %23, align 4, !tbaa !9
  %95 = load float, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  store float 0.000000e+00, ptr %24, align 4, !tbaa !9
  %96 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 4 dereferenceable(4) %24)
  %97 = load float, ptr %96, align 4, !tbaa !9
  %98 = fcmp olt float %95, %97
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br i1 %98, label %99, label %100

99:                                               ; preds = %3
  store i1 false, ptr %4, align 1
  store i32 1, ptr %25, align 4
  br label %149

100:                                              ; preds = %3
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = icmp ne ptr %101, null
  br i1 %102, label %103, label %148

103:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 12, ptr %26) #6
  %104 = getelementptr inbounds %"class.Raz::Ray", ptr %44, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 12, ptr %27) #6
  %105 = getelementptr inbounds %"class.Raz::Ray", ptr %44, i32 0, i32 1
  %106 = load float, ptr %22, align 4, !tbaa !9
  %107 = call { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEmlEf(ptr noundef nonnull align 4 dereferenceable(12) %105, float noundef %106) #6
  %108 = getelementptr inbounds %"class.Raz::Vector", ptr %27, i32 0, i32 0
  %109 = getelementptr inbounds %"struct.std::array", ptr %108, i32 0, i32 0
  store { <2 x float>, float } %107, ptr %28, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %109, ptr align 8 %28, i64 12, i1 false)
  %110 = call { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEplERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %104, ptr noundef nonnull align 4 dereferenceable(12) %27) #6
  %111 = getelementptr inbounds %"class.Raz::Vector", ptr %26, i32 0, i32 0
  %112 = getelementptr inbounds %"struct.std::array", ptr %111, i32 0, i32 0
  store { <2 x float>, float } %110, ptr %29, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %112, ptr align 8 %29, i64 12, i1 false)
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  %114 = getelementptr inbounds %"struct.Raz::RayHit", ptr %113, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %114, ptr align 4 %26, i64 12, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 12, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %31) #6
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  %116 = getelementptr inbounds %"struct.Raz::RayHit", ptr %115, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 12, ptr %32) #6
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = call { <2 x float>, float } @_ZNK3Raz4AABB15computeCentroidEv(ptr noundef nonnull align 8 dereferenceable(32) %117)
  %119 = getelementptr inbounds %"class.Raz::Vector", ptr %32, i32 0, i32 0
  %120 = getelementptr inbounds %"struct.std::array", ptr %119, i32 0, i32 0
  store { <2 x float>, float } %118, ptr %33, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %120, ptr align 8 %33, i64 12, i1 false)
  %121 = call { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEmiERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %116, ptr noundef nonnull align 4 dereferenceable(12) %32) #6
  %122 = getelementptr inbounds %"class.Raz::Vector", ptr %31, i32 0, i32 0
  %123 = getelementptr inbounds %"struct.std::array", ptr %122, i32 0, i32 0
  store { <2 x float>, float } %121, ptr %34, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %123, ptr align 8 %34, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %35) #6
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = call { <2 x float>, float } @_ZNK3Raz4AABB18computeHalfExtentsEv(ptr noundef nonnull align 8 dereferenceable(32) %124)
  %126 = getelementptr inbounds %"class.Raz::Vector", ptr %35, i32 0, i32 0
  %127 = getelementptr inbounds %"struct.std::array", ptr %126, i32 0, i32 0
  store { <2 x float>, float } %125, ptr %36, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %127, ptr align 8 %36, i64 12, i1 false)
  %128 = call { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEdvERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %31, ptr noundef nonnull align 4 dereferenceable(12) %35) #6
  %129 = getelementptr inbounds %"class.Raz::Vector", ptr %30, i32 0, i32 0
  %130 = getelementptr inbounds %"struct.std::array", ptr %129, i32 0, i32 0
  store { <2 x float>, float } %128, ptr %37, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %130, ptr align 8 %37, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %38) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %39) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #6
  %131 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1xEv(ptr noundef nonnull align 4 dereferenceable(12) %30) #6
  %132 = load float, ptr %131, align 4, !tbaa !9
  %133 = call noundef float @_ZSt5truncf(float noundef %132)
  store float %133, ptr %40, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #6
  %134 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1yEv(ptr noundef nonnull align 4 dereferenceable(12) %30) #6
  %135 = load float, ptr %134, align 4, !tbaa !9
  %136 = call noundef float @_ZSt5truncf(float noundef %135)
  store float %136, ptr %41, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #6
  %137 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1zEv(ptr noundef nonnull align 4 dereferenceable(12) %30) #6
  %138 = load float, ptr %137, align 4, !tbaa !9
  %139 = call noundef float @_ZSt5truncf(float noundef %138)
  store float %139, ptr %42, align 4, !tbaa !9
  call void @_ZN3Raz6VectorIfLm3EEC2IJfffEvvEEDpOT_(ptr noundef nonnull align 4 dereferenceable(12) %39, ptr noundef nonnull align 4 dereferenceable(4) %40, ptr noundef nonnull align 4 dereferenceable(4) %41, ptr noundef nonnull align 4 dereferenceable(4) %42) #6
  %140 = call { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EE9normalizeIfEENS0_IT_Lm3EEEv(ptr noundef nonnull align 4 dereferenceable(12) %39) #6
  %141 = getelementptr inbounds %"class.Raz::Vector", ptr %38, i32 0, i32 0
  %142 = getelementptr inbounds %"struct.std::array", ptr %141, i32 0, i32 0
  store { <2 x float>, float } %140, ptr %43, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %142, ptr align 8 %43, i64 12, i1 false)
  %143 = load ptr, ptr %7, align 8, !tbaa !5
  %144 = getelementptr inbounds %"struct.Raz::RayHit", ptr %143, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %144, ptr align 4 %38, i64 12, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %38) #6
  %145 = load float, ptr %22, align 4, !tbaa !9
  %146 = load ptr, ptr %7, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.Raz::RayHit", ptr %146, i32 0, i32 2
  store float %145, ptr %147, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 12, ptr %30) #6
  br label %148

148:                                              ; preds = %103, %100
  store i1 true, ptr %4, align 1
  store i32 1, ptr %25, align 4
  br label %149

149:                                              ; preds = %148, %99
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %8) #6
  %150 = load i1, ptr %4, align 1
  ret i1 %150
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEmlERKS1_(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 noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Raz4AABB14getMaxPositionEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZNK3Raz4AABB15computeCentroidEv(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEdvERKS1_(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 { <2 x float>, float } @_ZNK3Raz4AABB18computeHalfExtentsEv(ptr noundef nonnull align 8 dereferenceable(32)) #5 align 2

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

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

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

%"class.Raz::Vector" = type { %"struct.std::array" }
%"struct.std::array" = 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 nounwind uwtable
declare dso_local { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEmiERKS1_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EE9normalizeIfEENS0_IT_Lm3EEEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEplERKS1_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEmlEf(ptr noundef nonnull align 4 dereferenceable(12), float noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_ZNK3Raz3Ray10intersectsERKNS_4AABBEPNS_6RayHitE(ptr noundef nonnull align 4 dereferenceable(36) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef %2) local_unnamed_addr #2 align 2 {
  %4 = alloca %"class.Raz::Vector", align 8
  %5 = alloca %"class.Raz::Vector", align 8
  %6 = alloca %"class.Raz::Vector", align 8
  %7 = alloca %"class.Raz::Vector", align 8
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca %"class.Raz::Vector", align 8
  %17 = alloca %"class.Raz::Vector", align 8
  %18 = alloca %"class.Raz::Vector", align 8
  %19 = alloca %"class.Raz::Vector", align 8
  %20 = alloca %"class.Raz::Vector", align 8
  %21 = alloca %"class.Raz::Vector", align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #4
  %25 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Raz4AABB14getMinPositionEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %26 = tail call { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEmiERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %25, ptr noundef nonnull align 4 dereferenceable(12) %0) #4
  %.fca.0.extract40 = extractvalue { <2 x float>, float } %26, 0
  %.fca.1.extract41 = extractvalue { <2 x float>, float } %26, 1
  store <2 x float> %.fca.0.extract40, ptr %5, align 8
  %.sroa.243.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  store float %.fca.1.extract41, ptr %.sroa.243.0..sroa_idx, align 8
  %27 = getelementptr inbounds i8, ptr %0, i64 24
  %28 = call { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEmlERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %27) #4
  %.fca.0.extract36 = extractvalue { <2 x float>, float } %28, 0
  %.fca.1.extract37 = extractvalue { <2 x float>, float } %28, 1
  store <2 x float> %.fca.0.extract36, ptr %4, align 8
  %.sroa.239.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  store float %.fca.1.extract37, ptr %.sroa.239.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #4
  %29 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Raz4AABB14getMaxPositionEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %30 = call { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEmiERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %29, ptr noundef nonnull align 4 dereferenceable(12) %0) #4
  %.fca.0.extract32 = extractvalue { <2 x float>, float } %30, 0
  %.fca.1.extract33 = extractvalue { <2 x float>, float } %30, 1
  store <2 x float> %.fca.0.extract32, ptr %7, align 8
  %.sroa.235.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  store float %.fca.1.extract33, ptr %.sroa.235.0..sroa_idx, align 8
  %31 = call { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEmlERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %27) #4
  %.fca.0.extract28 = extractvalue { <2 x float>, float } %31, 0
  %.fca.1.extract29 = extractvalue { <2 x float>, float } %31, 1
  store <2 x float> %.fca.0.extract28, ptr %6, align 8
  %.sroa.231.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  store float %.fca.1.extract29, ptr %.sroa.231.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4
  %32 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1xEv(ptr noundef nonnull align 4 dereferenceable(12) %4) #4
  %33 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1xEv(ptr noundef nonnull align 4 dereferenceable(12) %6) #4
  %34 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %32, ptr noundef nonnull align 4 dereferenceable(4) %33)
  %35 = load float, ptr %34, align 4, !tbaa !5
  store float %35, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1xEv(ptr noundef nonnull align 4 dereferenceable(12) %4) #4
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1xEv(ptr noundef nonnull align 4 dereferenceable(12) %6) #4
  %38 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %36, ptr noundef nonnull align 4 dereferenceable(4) %37)
  %39 = load float, ptr %38, align 4, !tbaa !5
  store float %39, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4
  %40 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1yEv(ptr noundef nonnull align 4 dereferenceable(12) %4) #4
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1yEv(ptr noundef nonnull align 4 dereferenceable(12) %6) #4
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %40, ptr noundef nonnull align 4 dereferenceable(4) %41)
  %43 = load float, ptr %42, align 4, !tbaa !5
  store float %43, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4
  %44 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1yEv(ptr noundef nonnull align 4 dereferenceable(12) %4) #4
  %45 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1yEv(ptr noundef nonnull align 4 dereferenceable(12) %6) #4
  %46 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %44, ptr noundef nonnull align 4 dereferenceable(4) %45)
  %47 = load float, ptr %46, align 4, !tbaa !5
  store float %47, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1zEv(ptr noundef nonnull align 4 dereferenceable(12) %4) #4
  %49 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1zEv(ptr noundef nonnull align 4 dereferenceable(12) %6) #4
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %48, ptr noundef nonnull align 4 dereferenceable(4) %49)
  %51 = load float, ptr %50, align 4, !tbaa !5
  store float %51, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #4
  %52 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1zEv(ptr noundef nonnull align 4 dereferenceable(12) %4) #4
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1zEv(ptr noundef nonnull align 4 dereferenceable(12) %6) #4
  %54 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %52, ptr noundef nonnull align 4 dereferenceable(4) %53)
  %55 = load float, ptr %54, align 4, !tbaa !5
  store float %55, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #4
  %56 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %56)
  %58 = load float, ptr %57, align 4, !tbaa !5
  store float %58, ptr %14, align 4, !tbaa !5
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %59)
  %61 = load float, ptr %60, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #4
  store float 0.000000e+00, ptr %15, align 4, !tbaa !5
  %62 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %15)
  %63 = load float, ptr %62, align 4, !tbaa !5
  %64 = fcmp uge float %61, %63
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #4
  %.not = icmp ne ptr %2, null
  %or.cond.not = and i1 %.not, %64
  br i1 %or.cond.not, label %65, label %87

65:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %16) #4
  %66 = getelementptr inbounds i8, ptr %0, i64 12
  %67 = load float, ptr %14, align 4, !tbaa !5
  %68 = call { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEmlEf(ptr noundef nonnull align 4 dereferenceable(12) %66, float noundef %67) #4
  %.fca.0.extract22 = extractvalue { <2 x float>, float } %68, 0
  %.fca.1.extract23 = extractvalue { <2 x float>, float } %68, 1
  store <2 x float> %.fca.0.extract22, ptr %16, align 8
  %.sroa.225.0..sroa_idx = getelementptr inbounds i8, ptr %16, i64 8
  store float %.fca.1.extract23, ptr %.sroa.225.0..sroa_idx, align 8
  %69 = call { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEplERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(12) %16) #4
  %.fca.0.extract18 = extractvalue { <2 x float>, float } %69, 0
  %.fca.1.extract19 = extractvalue { <2 x float>, float } %69, 1
  store <2 x float> %.fca.0.extract18, ptr %2, align 4
  %.sroa.427.0..sroa_idx = getelementptr inbounds i8, ptr %2, i64 8
  store float %.fca.1.extract19, ptr %.sroa.427.0..sroa_idx, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %17) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %18) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %19) #4
  %70 = call { <2 x float>, float } @_ZNK3Raz4AABB15computeCentroidEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %.fca.0.extract14 = extractvalue { <2 x float>, float } %70, 0
  %.fca.1.extract15 = extractvalue { <2 x float>, float } %70, 1
  store <2 x float> %.fca.0.extract14, ptr %19, align 8
  %.sroa.217.0..sroa_idx = getelementptr inbounds i8, ptr %19, i64 8
  store float %.fca.1.extract15, ptr %.sroa.217.0..sroa_idx, align 8
  %71 = call { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEmiERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %19) #4
  %.fca.0.extract10 = extractvalue { <2 x float>, float } %71, 0
  %.fca.1.extract11 = extractvalue { <2 x float>, float } %71, 1
  store <2 x float> %.fca.0.extract10, ptr %18, align 8
  %.sroa.213.0..sroa_idx = getelementptr inbounds i8, ptr %18, i64 8
  store float %.fca.1.extract11, ptr %.sroa.213.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %20) #4
  %72 = call { <2 x float>, float } @_ZNK3Raz4AABB18computeHalfExtentsEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %.fca.0.extract6 = extractvalue { <2 x float>, float } %72, 0
  %.fca.1.extract7 = extractvalue { <2 x float>, float } %72, 1
  store <2 x float> %.fca.0.extract6, ptr %20, align 8
  %.sroa.29.0..sroa_idx = getelementptr inbounds i8, ptr %20, i64 8
  store float %.fca.1.extract7, ptr %.sroa.29.0..sroa_idx, align 8
  %73 = call { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEdvERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %20) #4
  %.fca.0.extract2 = extractvalue { <2 x float>, float } %73, 0
  %.fca.1.extract3 = extractvalue { <2 x float>, float } %73, 1
  store <2 x float> %.fca.0.extract2, ptr %17, align 8
  %.sroa.25.0..sroa_idx = getelementptr inbounds i8, ptr %17, i64 8
  store float %.fca.1.extract3, ptr %.sroa.25.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %18) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %21) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #4
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1xEv(ptr noundef nonnull align 4 dereferenceable(12) %17) #4
  %75 = load float, ptr %74, align 4, !tbaa !5
  %76 = call noundef float @_ZSt5truncf(float noundef %75)
  store float %76, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #4
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1yEv(ptr noundef nonnull align 4 dereferenceable(12) %17) #4
  %78 = load float, ptr %77, align 4, !tbaa !5
  %79 = call noundef float @_ZSt5truncf(float noundef %78)
  store float %79, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #4
  %80 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1zEv(ptr noundef nonnull align 4 dereferenceable(12) %17) #4
  %81 = load float, ptr %80, align 4, !tbaa !5
  %82 = call noundef float @_ZSt5truncf(float noundef %81)
  store float %82, ptr %24, align 4, !tbaa !5
  call void @_ZN3Raz6VectorIfLm3EEC2IJfffEvvEEDpOT_(ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %24) #4
  %83 = call { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EE9normalizeIfEENS0_IT_Lm3EEEv(ptr noundef nonnull align 4 dereferenceable(12) %21) #4
  %.fca.0.extract = extractvalue { <2 x float>, float } %83, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %83, 1
  %84 = getelementptr inbounds i8, ptr %2, i64 12
  store <2 x float> %.fca.0.extract, ptr %84, align 4
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %2, i64 20
  store float %.fca.1.extract, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %21) #4
  %85 = load float, ptr %14, align 4, !tbaa !5
  %86 = getelementptr inbounds i8, ptr %2, i64 24
  store float %85, ptr %86, align 4, !tbaa !10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %17) #4
  br label %87

87:                                               ; preds = %65, %3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #4
  ret i1 %64
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Raz4AABB14getMinPositionEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEmlERKS1_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Raz4AABB14getMaxPositionEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZNK3Raz4AABB15computeCentroidEv(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZNK3Raz6VectorIfLm3EEdvERKS1_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZNK3Raz4AABB18computeHalfExtentsEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt5truncf(float noundef) local_unnamed_addr #1

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

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


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