; LLVM IR from ThePhysicsGuys/Physics3D :: Physics3D/geometry (triangleMeshSSE)

; 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.P3D::MeshPrototype" = type { %"class.P3D::UniqueAlignedPointer", %"class.P3D::UniqueAlignedPointer.0", i32, i32 }
%"class.P3D::UniqueAlignedPointer" = type { ptr }
%"class.P3D::UniqueAlignedPointer.0" = type { ptr }
%"struct.P3D::Vector.1" = type { %union.anon.2 }
%union.anon.2 = type { [3 x float] }
%struct.anon.3 = type { float, float, float }

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [97 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3P3D12TriangleMesh27furthestIndexInDirectionSSEERKNS_6VectorIfLm3EEE = external hidden unnamed_addr constant [72 x i8], align 1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i64 @_ZN3P3DL9getOffsetEm(i64 noundef) #1

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef) #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL10_mm_max_psDv4_fS_(<4 x float> noundef, <4 x float> noundef) #3

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

; Function Attrs: mustprogress uwtable
declare hidden noundef <4 x float> @_ZN3P3DL15custom_fmadd_psEDv4_fS0_S0_(<4 x float> noundef, <4 x float> noundef, <4 x float> noundef) #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL11_mm_set1_psf(float noundef) #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef, <4 x float> noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK3P3D12TriangleMesh27furthestIndexInDirectionSSEERKNS_6VectorIfLm3EEE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %1) #4 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca <4 x float>, align 16
  %7 = alloca <4 x float>, align 16
  %8 = alloca <4 x float>, align 16
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca <4 x float>, align 16
  %12 = alloca <2 x i64>, align 16
  %13 = alloca i32, align 4
  %14 = alloca <2 x i64>, align 16
  %15 = alloca <4 x float>, align 16
  %16 = alloca <4 x float>, align 16
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca <2 x i64>, align 16
  %20 = alloca <4 x float>, align 16
  %21 = alloca <4 x float>, align 16
  %22 = alloca <4 x float>, align 16
  %23 = alloca <4 x float>, align 16
  %24 = alloca <4 x float>, align 16
  %25 = alloca <4 x float>, align 16
  %26 = alloca <4 x float>, align 16
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %30 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  %31 = getelementptr inbounds %"class.P3D::MeshPrototype", ptr %30, i32 0, i32 2
  %32 = load i32, ptr %31, align 8, !tbaa !9
  %33 = sext i32 %32 to i64
  store i64 %33, ptr %5, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #8
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %"struct.P3D::Vector.1", ptr %34, i32 0, i32 0
  %36 = getelementptr inbounds %struct.anon.3, ptr %35, i32 0, i32 0
  %37 = load float, ptr %36, align 4, !tbaa !16
  %38 = call noundef <4 x float> @_ZL11_mm_set1_psf(float noundef %37)
  store <4 x float> %38, ptr %6, align 16, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #8
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.P3D::Vector.1", ptr %39, i32 0, i32 0
  %41 = getelementptr inbounds %struct.anon.3, ptr %40, i32 0, i32 1
  %42 = load float, ptr %41, align 4, !tbaa !16
  %43 = call noundef <4 x float> @_ZL11_mm_set1_psf(float noundef %42)
  store <4 x float> %43, ptr %7, align 16, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #8
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.P3D::Vector.1", ptr %44, i32 0, i32 0
  %46 = getelementptr inbounds %struct.anon.3, ptr %45, i32 0, i32 2
  %47 = load float, ptr %46, align 4, !tbaa !16
  %48 = call noundef <4 x float> @_ZL11_mm_set1_psf(float noundef %47)
  store <4 x float> %48, ptr %8, align 16, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %49 = load i64, ptr %5, align 8, !tbaa !14
  %50 = call noundef i64 @_ZN3P3DL9getOffsetEm(i64 noundef %49)
  store i64 %50, ptr %9, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %51 = getelementptr inbounds %"class.P3D::MeshPrototype", ptr %30, i32 0, i32 0
  %52 = call noundef ptr @_ZNK3P3D20UniqueAlignedPointerIfEcvPfEv(ptr noundef nonnull align 8 dereferenceable(8) %51)
  store ptr %52, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #8
  %53 = load <4 x float>, ptr %8, align 16, !tbaa !16
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  %55 = getelementptr inbounds float, ptr %54, i64 16
  %56 = call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef %55)
  %57 = load <4 x float>, ptr %7, align 16, !tbaa !16
  %58 = load ptr, ptr %10, align 8, !tbaa !5
  %59 = getelementptr inbounds float, ptr %58, i64 8
  %60 = call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef %59)
  %61 = load <4 x float>, ptr %6, align 16, !tbaa !16
  %62 = load ptr, ptr %10, align 8, !tbaa !5
  %63 = call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef %62)
  %64 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %61, <4 x float> noundef %63)
  %65 = call noundef <4 x float> @_ZN3P3DL15custom_fmadd_psEDv4_fS0_S0_(<4 x float> noundef %57, <4 x float> noundef %60, <4 x float> noundef %64)
  %66 = call noundef <4 x float> @_ZN3P3DL15custom_fmadd_psEDv4_fS0_S0_(<4 x float> noundef %53, <4 x float> noundef %56, <4 x float> noundef %65)
  store <4 x float> %66, ptr %11, align 16, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #8
  %67 = call noundef <2 x i64> @_ZL14_mm_set1_epi32i(i32 noundef 0)
  store <2 x i64> %67, ptr %12, align 16, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store i32 1, ptr %13, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #8
  %68 = load i32, ptr %13, align 4, !tbaa !17
  %69 = call noundef <2 x i64> @_ZL14_mm_set1_epi32i(i32 noundef %68)
  store <2 x i64> %69, ptr %14, align 16, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #8
  %70 = load <4 x float>, ptr %8, align 16, !tbaa !16
  %71 = load ptr, ptr %10, align 8, !tbaa !5
  %72 = getelementptr inbounds float, ptr %71, i64 16
  %73 = getelementptr inbounds float, ptr %72, i64 4
  %74 = call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef %73)
  %75 = load <4 x float>, ptr %7, align 16, !tbaa !16
  %76 = load ptr, ptr %10, align 8, !tbaa !5
  %77 = getelementptr inbounds float, ptr %76, i64 8
  %78 = getelementptr inbounds float, ptr %77, i64 4
  %79 = call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef %78)
  %80 = load <4 x float>, ptr %6, align 16, !tbaa !16
  %81 = load ptr, ptr %10, align 8, !tbaa !5
  %82 = getelementptr inbounds float, ptr %81, i64 4
  %83 = call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef %82)
  %84 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %80, <4 x float> noundef %83)
  %85 = call noundef <4 x float> @_ZN3P3DL15custom_fmadd_psEDv4_fS0_S0_(<4 x float> noundef %75, <4 x float> noundef %79, <4 x float> noundef %84)
  %86 = call noundef <4 x float> @_ZN3P3DL15custom_fmadd_psEDv4_fS0_S0_(<4 x float> noundef %70, <4 x float> noundef %74, <4 x float> noundef %85)
  store <4 x float> %86, ptr %15, align 16, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #8
  %87 = load <4 x float>, ptr %15, align 16, !tbaa !16
  %88 = load <4 x float>, ptr %11, align 16, !tbaa !16
  %89 = call noundef <4 x float> @_ZL12_mm_cmpgt_psDv4_fS_(<4 x float> noundef %87, <4 x float> noundef %88)
  store <4 x float> %89, ptr %16, align 16, !tbaa !16
  %90 = load <4 x float>, ptr %11, align 16, !tbaa !16
  %91 = load <4 x float>, ptr %15, align 16, !tbaa !16
  %92 = load <4 x float>, ptr %16, align 16, !tbaa !16
  %93 = call noundef <4 x float> @_ZN3P3DL16custom_blendv_psEDv4_fS0_S0_(<4 x float> noundef %90, <4 x float> noundef %91, <4 x float> noundef %92)
  store <4 x float> %93, ptr %11, align 16, !tbaa !16
  %94 = load <2 x i64>, ptr %12, align 16, !tbaa !16
  %95 = load <2 x i64>, ptr %14, align 16, !tbaa !16
  %96 = load <4 x float>, ptr %16, align 16, !tbaa !16
  %97 = call noundef <2 x i64> @_ZL16_mm_castps_si128Dv4_f(<4 x float> noundef %96)
  %98 = call noundef <2 x i64> @_ZN3P3DL19custom_blendv_epi32EDv2_xS0_S0_(<2 x i64> noundef %94, <2 x i64> noundef %95, <2 x i64> noundef %97)
  store <2 x i64> %98, ptr %12, align 16, !tbaa !16
  %99 = load i32, ptr %13, align 4, !tbaa !17
  %100 = add i32 %99, 1
  store i32 %100, ptr %13, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %101 = load ptr, ptr %10, align 8, !tbaa !5
  %102 = load i64, ptr %9, align 8, !tbaa !14
  %103 = mul i64 %102, 3
  %104 = getelementptr inbounds float, ptr %101, i64 %103
  store ptr %104, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %105 = load ptr, ptr %10, align 8, !tbaa !5
  %106 = getelementptr inbounds float, ptr %105, i64 24
  store ptr %106, ptr %18, align 8, !tbaa !5
  br label %107

107:                                              ; preds = %176, %2
  %108 = load ptr, ptr %18, align 8, !tbaa !5
  %109 = load ptr, ptr %17, align 8, !tbaa !5
  %110 = icmp ne ptr %108, %109
  br i1 %110, label %112, label %111

111:                                              ; preds = %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %179

112:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #8
  %113 = load i32, ptr %13, align 4, !tbaa !17
  %114 = call noundef <2 x i64> @_ZL14_mm_set1_epi32i(i32 noundef %113)
  store <2 x i64> %114, ptr %19, align 16, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #8
  %115 = load <4 x float>, ptr %8, align 16, !tbaa !16
  %116 = load ptr, ptr %18, align 8, !tbaa !5
  %117 = getelementptr inbounds float, ptr %116, i64 16
  %118 = call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef %117)
  %119 = load <4 x float>, ptr %7, align 16, !tbaa !16
  %120 = load ptr, ptr %18, align 8, !tbaa !5
  %121 = getelementptr inbounds float, ptr %120, i64 8
  %122 = call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef %121)
  %123 = load <4 x float>, ptr %6, align 16, !tbaa !16
  %124 = load ptr, ptr %18, align 8, !tbaa !5
  %125 = call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef %124)
  %126 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %123, <4 x float> noundef %125)
  %127 = call noundef <4 x float> @_ZN3P3DL15custom_fmadd_psEDv4_fS0_S0_(<4 x float> noundef %119, <4 x float> noundef %122, <4 x float> noundef %126)
  %128 = call noundef <4 x float> @_ZN3P3DL15custom_fmadd_psEDv4_fS0_S0_(<4 x float> noundef %115, <4 x float> noundef %118, <4 x float> noundef %127)
  store <4 x float> %128, ptr %20, align 16, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #8
  %129 = load <4 x float>, ptr %20, align 16, !tbaa !16
  %130 = load <4 x float>, ptr %11, align 16, !tbaa !16
  %131 = call noundef <4 x float> @_ZL12_mm_cmpgt_psDv4_fS_(<4 x float> noundef %129, <4 x float> noundef %130)
  store <4 x float> %131, ptr %21, align 16, !tbaa !16
  %132 = load <4 x float>, ptr %11, align 16, !tbaa !16
  %133 = load <4 x float>, ptr %20, align 16, !tbaa !16
  %134 = load <4 x float>, ptr %21, align 16, !tbaa !16
  %135 = call noundef <4 x float> @_ZN3P3DL16custom_blendv_psEDv4_fS0_S0_(<4 x float> noundef %132, <4 x float> noundef %133, <4 x float> noundef %134)
  store <4 x float> %135, ptr %11, align 16, !tbaa !16
  %136 = load <2 x i64>, ptr %12, align 16, !tbaa !16
  %137 = load <2 x i64>, ptr %19, align 16, !tbaa !16
  %138 = load <4 x float>, ptr %21, align 16, !tbaa !16
  %139 = call noundef <2 x i64> @_ZL16_mm_castps_si128Dv4_f(<4 x float> noundef %138)
  %140 = call noundef <2 x i64> @_ZN3P3DL19custom_blendv_epi32EDv2_xS0_S0_(<2 x i64> noundef %136, <2 x i64> noundef %137, <2 x i64> noundef %139)
  store <2 x i64> %140, ptr %12, align 16, !tbaa !16
  %141 = load i32, ptr %13, align 4, !tbaa !17
  %142 = add i32 %141, 1
  store i32 %142, ptr %13, align 4, !tbaa !17
  %143 = load i32, ptr %13, align 4, !tbaa !17
  %144 = call noundef <2 x i64> @_ZL14_mm_set1_epi32i(i32 noundef %143)
  store <2 x i64> %144, ptr %19, align 16, !tbaa !16
  %145 = load <4 x float>, ptr %8, align 16, !tbaa !16
  %146 = load ptr, ptr %18, align 8, !tbaa !5
  %147 = getelementptr inbounds float, ptr %146, i64 16
  %148 = getelementptr inbounds float, ptr %147, i64 4
  %149 = call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef %148)
  %150 = load <4 x float>, ptr %7, align 16, !tbaa !16
  %151 = load ptr, ptr %18, align 8, !tbaa !5
  %152 = getelementptr inbounds float, ptr %151, i64 8
  %153 = getelementptr inbounds float, ptr %152, i64 4
  %154 = call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef %153)
  %155 = load <4 x float>, ptr %6, align 16, !tbaa !16
  %156 = load ptr, ptr %18, align 8, !tbaa !5
  %157 = getelementptr inbounds float, ptr %156, i64 4
  %158 = call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef %157)
  %159 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %155, <4 x float> noundef %158)
  %160 = call noundef <4 x float> @_ZN3P3DL15custom_fmadd_psEDv4_fS0_S0_(<4 x float> noundef %150, <4 x float> noundef %154, <4 x float> noundef %159)
  %161 = call noundef <4 x float> @_ZN3P3DL15custom_fmadd_psEDv4_fS0_S0_(<4 x float> noundef %145, <4 x float> noundef %149, <4 x float> noundef %160)
  store <4 x float> %161, ptr %20, align 16, !tbaa !16
  %162 = load <4 x float>, ptr %20, align 16, !tbaa !16
  %163 = load <4 x float>, ptr %11, align 16, !tbaa !16
  %164 = call noundef <4 x float> @_ZL12_mm_cmpgt_psDv4_fS_(<4 x float> noundef %162, <4 x float> noundef %163)
  store <4 x float> %164, ptr %21, align 16, !tbaa !16
  %165 = load <4 x float>, ptr %11, align 16, !tbaa !16
  %166 = load <4 x float>, ptr %20, align 16, !tbaa !16
  %167 = load <4 x float>, ptr %21, align 16, !tbaa !16
  %168 = call noundef <4 x float> @_ZN3P3DL16custom_blendv_psEDv4_fS0_S0_(<4 x float> noundef %165, <4 x float> noundef %166, <4 x float> noundef %167)
  store <4 x float> %168, ptr %11, align 16, !tbaa !16
  %169 = load <2 x i64>, ptr %12, align 16, !tbaa !16
  %170 = load <2 x i64>, ptr %19, align 16, !tbaa !16
  %171 = load <4 x float>, ptr %21, align 16, !tbaa !16
  %172 = call noundef <2 x i64> @_ZL16_mm_castps_si128Dv4_f(<4 x float> noundef %171)
  %173 = call noundef <2 x i64> @_ZN3P3DL19custom_blendv_epi32EDv2_xS0_S0_(<2 x i64> noundef %169, <2 x i64> noundef %170, <2 x i64> noundef %172)
  store <2 x i64> %173, ptr %12, align 16, !tbaa !16
  %174 = load i32, ptr %13, align 4, !tbaa !17
  %175 = add i32 %174, 1
  store i32 %175, ptr %13, align 4, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  br label %176

176:                                              ; preds = %112
  %177 = load ptr, ptr %18, align 8, !tbaa !5
  %178 = getelementptr inbounds float, ptr %177, i64 24
  store ptr %178, ptr %18, align 8, !tbaa !5
  br label %107, !llvm.loop !18

179:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #8
  %180 = load <4 x float>, ptr %11, align 16, !tbaa !16
  %181 = load <4 x float>, ptr %11, align 16, !tbaa !16
  %182 = shufflevector <4 x float> %180, <4 x float> %181, <4 x i32> <i32 1, i32 0, i32 4, i32 4>
  store <4 x float> %182, ptr %22, align 16, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #8
  %183 = load <4 x float>, ptr %11, align 16, !tbaa !16
  %184 = load <4 x float>, ptr %22, align 16, !tbaa !16
  %185 = call noundef <4 x float> @_ZL10_mm_max_psDv4_fS_(<4 x float> noundef %183, <4 x float> noundef %184)
  store <4 x float> %185, ptr %23, align 16, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #8
  %186 = load <4 x float>, ptr %23, align 16, !tbaa !16
  %187 = load <4 x float>, ptr %23, align 16, !tbaa !16
  %188 = shufflevector <4 x float> %186, <4 x float> %187, <4 x i32> <i32 2, i32 3, i32 4, i32 5>
  store <4 x float> %188, ptr %24, align 16, !tbaa !16
  %189 = load <4 x float>, ptr %23, align 16, !tbaa !16
  %190 = load <4 x float>, ptr %24, align 16, !tbaa !16
  %191 = call noundef <4 x float> @_ZL10_mm_max_psDv4_fS_(<4 x float> noundef %189, <4 x float> noundef %190)
  store <4 x float> %191, ptr %23, align 16, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #8
  %192 = load <4 x float>, ptr %23, align 16, !tbaa !16
  %193 = load <4 x float>, ptr %23, align 16, !tbaa !16
  %194 = shufflevector <4 x float> %192, <4 x float> %193, <4 x i32> <i32 1, i32 0, i32 7, i32 6>
  store <4 x float> %194, ptr %25, align 16, !tbaa !16
  %195 = load <4 x float>, ptr %23, align 16, !tbaa !16
  %196 = load <4 x float>, ptr %25, align 16, !tbaa !16
  %197 = call noundef <4 x float> @_ZL10_mm_max_psDv4_fS_(<4 x float> noundef %195, <4 x float> noundef %196)
  store <4 x float> %197, ptr %23, align 16, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #8
  %198 = load <4 x float>, ptr %23, align 16, !tbaa !16
  %199 = load <4 x float>, ptr %11, align 16, !tbaa !16
  %200 = call noundef <4 x float> @_ZL12_mm_cmpeq_psDv4_fS_(<4 x float> noundef %198, <4 x float> noundef %199)
  store <4 x float> %200, ptr %26, align 16, !tbaa !16
  %201 = load <4 x float>, ptr %26, align 16, !tbaa !16
  %202 = load <4 x float>, ptr %26, align 16, !tbaa !16
  %203 = call noundef <4 x float> @_ZL15_mm_cmpunord_psDv4_fS_(<4 x float> noundef %201, <4 x float> noundef %202)
  store <4 x float> %203, ptr %26, align 16, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  %204 = load <4 x float>, ptr %26, align 16, !tbaa !16
  %205 = call noundef i32 @_ZL15_mm_movemask_psDv4_f(<4 x float> noundef %204)
  store i32 %205, ptr %27, align 4, !tbaa !17
  %206 = load i32, ptr %27, align 4, !tbaa !17
  %207 = icmp ne i32 %206, 0
  br i1 %207, label %208, label %209

208:                                              ; preds = %179
  br label %211

209:                                              ; preds = %179
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 276, ptr noundef @__PRETTY_FUNCTION__._ZNK3P3D12TriangleMesh27furthestIndexInDirectionSSEERKNS_6VectorIfLm3EEE) #9
  unreachable

210:                                              ; No predecessors!
  br label %211

211:                                              ; preds = %210, %208
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  %212 = load i32, ptr %27, align 4, !tbaa !17
  %213 = call noundef i32 @_ZN3P3DL10countZerosEj(i32 noundef %212)
  store i32 %213, ptr %28, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  %214 = load <2 x i64>, ptr %12, align 16, !tbaa !16
  %215 = load i32, ptr %28, align 4, !tbaa !17
  %216 = call noundef i32 @_ZN3P3DL17mm_extractv_epi32EDv2_xi(<2 x i64> noundef %214, i32 noundef %215)
  store i32 %216, ptr %29, align 4, !tbaa !17
  %217 = load i32, ptr %29, align 4, !tbaa !17
  %218 = mul nsw i32 %217, 4
  %219 = load i32, ptr %28, align 4, !tbaa !17
  %220 = add i32 %218, %219
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  ret i32 %220
}

; Function Attrs: alwaysinline mustprogress uwtable
declare hidden noundef <2 x i64> @_ZL14_mm_set1_epi32i(i32 noundef) #5

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL12_mm_cmpgt_psDv4_fS_(<4 x float> noundef, <4 x float> noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden noundef <4 x float> @_ZN3P3DL16custom_blendv_psEDv4_fS0_S0_(<4 x float> noundef, <4 x float> noundef, <4 x float> noundef) #4

; Function Attrs: mustprogress uwtable
declare hidden noundef <2 x i64> @_ZN3P3DL19custom_blendv_epi32EDv2_xS0_S0_(<2 x i64> noundef, <2 x i64> noundef, <2 x i64> noundef) #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <2 x i64> @_ZL16_mm_castps_si128Dv4_f(<4 x float> noundef) #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL12_mm_cmpeq_psDv4_fS_(<4 x float> noundef, <4 x float> noundef) #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL15_mm_cmpunord_psDv4_fS_(<4 x float> noundef, <4 x float> noundef) #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL15_mm_movemask_psDv4_f(<4 x float> noundef) #3

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN3P3DL10countZerosEj(i32 noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @_ZN3P3DL17mm_extractv_epi32EDv2_xi(<2 x i64> noundef, i32 noundef) #7

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="128" "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"="128" "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 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 = { noreturn nounwind "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 #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="128" "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 #8 = { nounwind }
attributes #9 = { noreturn 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, !13, i64 16}
!10 = !{!"_ZTSN3P3D13MeshPrototypeE", !11, i64 0, !12, i64 8, !13, i64 16, !13, i64 20}
!11 = !{!"_ZTSN3P3D20UniqueAlignedPointerIfEE", !6, i64 0}
!12 = !{!"_ZTSN3P3D20UniqueAlignedPointerIiEE", !6, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!13, !13, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}


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

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [97 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3P3D12TriangleMesh27furthestIndexInDirectionSSEERKNS_6VectorIfLm3EEE = external hidden unnamed_addr constant [72 x i8], align 1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i64 @_ZN3P3DL9getOffsetEm(i64 noundef) local_unnamed_addr #0

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL10_mm_max_psDv4_fS_(<4 x float> noundef, <4 x float> noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef <4 x float> @_ZN3P3DL15custom_fmadd_psEDv4_fS0_S0_(<4 x float> noundef, <4 x float> noundef, <4 x float> noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL11_mm_set1_psf(float noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef, <4 x float> noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK3P3D12TriangleMesh27furthestIndexInDirectionSSEERKNS_6VectorIfLm3EEE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr nocapture noundef nonnull readonly align 4 dereferenceable(12) %1) local_unnamed_addr #3 align 2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 16
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = sext i32 %4 to i64
  %6 = load float, ptr %1, align 4, !tbaa !13
  %7 = tail call noundef <4 x float> @_ZL11_mm_set1_psf(float noundef %6)
  %8 = getelementptr inbounds i8, ptr %1, i64 4
  %9 = load float, ptr %8, align 4, !tbaa !13
  %10 = tail call noundef <4 x float> @_ZL11_mm_set1_psf(float noundef %9)
  %11 = getelementptr inbounds i8, ptr %1, i64 8
  %12 = load float, ptr %11, align 4, !tbaa !13
  %13 = tail call noundef <4 x float> @_ZL11_mm_set1_psf(float noundef %12)
  %14 = tail call noundef i64 @_ZN3P3DL9getOffsetEm(i64 noundef %5)
  %15 = tail call noundef ptr @_ZNK3P3D20UniqueAlignedPointerIfEcvPfEv(ptr noundef nonnull align 8 dereferenceable(8) %0)
  %16 = getelementptr inbounds i8, ptr %15, i64 64
  %17 = tail call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef nonnull %16)
  %18 = getelementptr inbounds i8, ptr %15, i64 32
  %19 = tail call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef nonnull %18)
  %20 = tail call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef %15)
  %21 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %7, <4 x float> noundef %20)
  %22 = tail call noundef <4 x float> @_ZN3P3DL15custom_fmadd_psEDv4_fS0_S0_(<4 x float> noundef %10, <4 x float> noundef %19, <4 x float> noundef %21)
  %23 = tail call noundef <4 x float> @_ZN3P3DL15custom_fmadd_psEDv4_fS0_S0_(<4 x float> noundef %13, <4 x float> noundef %17, <4 x float> noundef %22)
  %24 = tail call noundef <2 x i64> @_ZL14_mm_set1_epi32i(i32 noundef 0)
  %25 = tail call noundef <2 x i64> @_ZL14_mm_set1_epi32i(i32 noundef 1)
  %26 = getelementptr inbounds i8, ptr %15, i64 80
  %27 = tail call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef nonnull %26)
  %28 = getelementptr inbounds i8, ptr %15, i64 48
  %29 = tail call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef nonnull %28)
  %30 = getelementptr inbounds i8, ptr %15, i64 16
  %31 = tail call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef nonnull %30)
  %32 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %7, <4 x float> noundef %31)
  %33 = tail call noundef <4 x float> @_ZN3P3DL15custom_fmadd_psEDv4_fS0_S0_(<4 x float> noundef %10, <4 x float> noundef %29, <4 x float> noundef %32)
  %34 = tail call noundef <4 x float> @_ZN3P3DL15custom_fmadd_psEDv4_fS0_S0_(<4 x float> noundef %13, <4 x float> noundef %27, <4 x float> noundef %33)
  %35 = tail call noundef <4 x float> @_ZL12_mm_cmpgt_psDv4_fS_(<4 x float> noundef %34, <4 x float> noundef %23)
  %36 = tail call noundef <4 x float> @_ZN3P3DL16custom_blendv_psEDv4_fS0_S0_(<4 x float> noundef %23, <4 x float> noundef %34, <4 x float> noundef %35)
  %37 = tail call noundef <2 x i64> @_ZL16_mm_castps_si128Dv4_f(<4 x float> noundef %35)
  %38 = tail call noundef <2 x i64> @_ZN3P3DL19custom_blendv_epi32EDv2_xS0_S0_(<2 x i64> noundef %24, <2 x i64> noundef %25, <2 x i64> noundef %37)
  %.idx = mul i64 %14, 12
  %39 = getelementptr inbounds i8, ptr %15, i64 %.idx
  %.not93 = icmp eq i64 %.idx, 96
  br i1 %.not93, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %2
  %.08992 = getelementptr inbounds i8, ptr %15, i64 96
  br label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %2
  %.087.lcssa = phi <2 x i64> [ %38, %2 ], [ %76, %.lr.ph ]
  %.0.lcssa = phi <4 x float> [ %36, %2 ], [ %74, %.lr.ph ]
  %40 = shufflevector <4 x float> %.0.lcssa, <4 x float> poison, <4 x i32> <i32 1, i32 0, i32 0, i32 0>
  %41 = tail call noundef <4 x float> @_ZL10_mm_max_psDv4_fS_(<4 x float> noundef %.0.lcssa, <4 x float> noundef %40)
  %42 = shufflevector <4 x float> %41, <4 x float> poison, <4 x i32> <i32 2, i32 3, i32 0, i32 1>
  %43 = tail call noundef <4 x float> @_ZL10_mm_max_psDv4_fS_(<4 x float> noundef %41, <4 x float> noundef %42)
  %44 = shufflevector <4 x float> %43, <4 x float> poison, <4 x i32> <i32 1, i32 0, i32 3, i32 2>
  %45 = tail call noundef <4 x float> @_ZL10_mm_max_psDv4_fS_(<4 x float> noundef %43, <4 x float> noundef %44)
  %46 = tail call noundef <4 x float> @_ZL12_mm_cmpeq_psDv4_fS_(<4 x float> noundef %45, <4 x float> noundef %.0.lcssa)
  %47 = tail call noundef <4 x float> @_ZL15_mm_cmpunord_psDv4_fS_(<4 x float> noundef %46, <4 x float> noundef %46)
  %48 = tail call noundef i32 @_ZL15_mm_movemask_psDv4_f(<4 x float> noundef %47)
  %.not91 = icmp eq i32 %48, 0
  br i1 %.not91, label %78, label %79

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.08998 = phi ptr [ %.089, %.lr.ph ], [ %.08992, %.lr.ph.preheader ]
  %.097 = phi <4 x float> [ %74, %.lr.ph ], [ %36, %.lr.ph.preheader ]
  %.08796 = phi <2 x i64> [ %76, %.lr.ph ], [ %38, %.lr.ph.preheader ]
  %.08895 = phi i32 [ %77, %.lr.ph ], [ 2, %.lr.ph.preheader ]
  %.pn94 = phi ptr [ %.08998, %.lr.ph ], [ %15, %.lr.ph.preheader ]
  %49 = tail call noundef <2 x i64> @_ZL14_mm_set1_epi32i(i32 noundef %.08895)
  %50 = getelementptr inbounds i8, ptr %.pn94, i64 160
  %51 = tail call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef nonnull %50)
  %52 = getelementptr inbounds i8, ptr %.pn94, i64 128
  %53 = tail call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef nonnull %52)
  %54 = tail call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef nonnull %.08998)
  %55 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %7, <4 x float> noundef %54)
  %56 = tail call noundef <4 x float> @_ZN3P3DL15custom_fmadd_psEDv4_fS0_S0_(<4 x float> noundef %10, <4 x float> noundef %53, <4 x float> noundef %55)
  %57 = tail call noundef <4 x float> @_ZN3P3DL15custom_fmadd_psEDv4_fS0_S0_(<4 x float> noundef %13, <4 x float> noundef %51, <4 x float> noundef %56)
  %58 = tail call noundef <4 x float> @_ZL12_mm_cmpgt_psDv4_fS_(<4 x float> noundef %57, <4 x float> noundef %.097)
  %59 = tail call noundef <4 x float> @_ZN3P3DL16custom_blendv_psEDv4_fS0_S0_(<4 x float> noundef %.097, <4 x float> noundef %57, <4 x float> noundef %58)
  %60 = tail call noundef <2 x i64> @_ZL16_mm_castps_si128Dv4_f(<4 x float> noundef %58)
  %61 = tail call noundef <2 x i64> @_ZN3P3DL19custom_blendv_epi32EDv2_xS0_S0_(<2 x i64> noundef %.08796, <2 x i64> noundef %49, <2 x i64> noundef %60)
  %62 = or disjoint i32 %.08895, 1
  %63 = tail call noundef <2 x i64> @_ZL14_mm_set1_epi32i(i32 noundef %62)
  %64 = getelementptr inbounds i8, ptr %.pn94, i64 176
  %65 = tail call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef nonnull %64)
  %66 = getelementptr inbounds i8, ptr %.pn94, i64 144
  %67 = tail call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef nonnull %66)
  %68 = getelementptr inbounds i8, ptr %.pn94, i64 112
  %69 = tail call noundef <4 x float> @_ZL11_mm_load_psPKf(ptr noundef nonnull %68)
  %70 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %7, <4 x float> noundef %69)
  %71 = tail call noundef <4 x float> @_ZN3P3DL15custom_fmadd_psEDv4_fS0_S0_(<4 x float> noundef %10, <4 x float> noundef %67, <4 x float> noundef %70)
  %72 = tail call noundef <4 x float> @_ZN3P3DL15custom_fmadd_psEDv4_fS0_S0_(<4 x float> noundef %13, <4 x float> noundef %65, <4 x float> noundef %71)
  %73 = tail call noundef <4 x float> @_ZL12_mm_cmpgt_psDv4_fS_(<4 x float> noundef %72, <4 x float> noundef %59)
  %74 = tail call noundef <4 x float> @_ZN3P3DL16custom_blendv_psEDv4_fS0_S0_(<4 x float> noundef %59, <4 x float> noundef %72, <4 x float> noundef %73)
  %75 = tail call noundef <2 x i64> @_ZL16_mm_castps_si128Dv4_f(<4 x float> noundef %73)
  %76 = tail call noundef <2 x i64> @_ZN3P3DL19custom_blendv_epi32EDv2_xS0_S0_(<2 x i64> noundef %61, <2 x i64> noundef %63, <2 x i64> noundef %75)
  %77 = add i32 %.08895, 2
  %.089 = getelementptr inbounds i8, ptr %.08998, i64 96
  %.not = icmp eq ptr %.089, %39
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !14

78:                                               ; preds = %._crit_edge
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 276, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3P3D12TriangleMesh27furthestIndexInDirectionSSEERKNS_6VectorIfLm3EEE) #7
  unreachable

79:                                               ; preds = %._crit_edge
  %80 = tail call noundef i32 @_ZN3P3DL10countZerosEj(i32 noundef %48)
  %81 = tail call noundef i32 @_ZN3P3DL17mm_extractv_epi32EDv2_xi(<2 x i64> noundef %.087.lcssa, i32 noundef %80)
  %82 = shl nsw i32 %81, 2
  %83 = add i32 %82, %80
  ret i32 %83
}

; Function Attrs: alwaysinline mustprogress uwtable
declare hidden noundef <2 x i64> @_ZL14_mm_set1_epi32i(i32 noundef) local_unnamed_addr #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL12_mm_cmpgt_psDv4_fS_(<4 x float> noundef, <4 x float> noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef <4 x float> @_ZN3P3DL16custom_blendv_psEDv4_fS0_S0_(<4 x float> noundef, <4 x float> noundef, <4 x float> noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden noundef <2 x i64> @_ZN3P3DL19custom_blendv_epi32EDv2_xS0_S0_(<2 x i64> noundef, <2 x i64> noundef, <2 x i64> noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <2 x i64> @_ZL16_mm_castps_si128Dv4_f(<4 x float> noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL12_mm_cmpeq_psDv4_fS_(<4 x float> noundef, <4 x float> noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL15_mm_cmpunord_psDv4_fS_(<4 x float> noundef, <4 x float> noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL15_mm_movemask_psDv4_f(<4 x float> noundef) local_unnamed_addr #2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN3P3DL10countZerosEj(i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @_ZN3P3DL17mm_extractv_epi32EDv2_xi(<2 x i64> noundef, i32 noundef) local_unnamed_addr #6

attributes #0 = { 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 #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 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="128" "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"="128" "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 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 = { noreturn nounwind "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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="128" "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 #7 = { noreturn 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, !12, i64 16}
!6 = !{!"_ZTSN3P3D13MeshPrototypeE", !7, i64 0, !11, i64 8, !12, i64 16, !12, i64 20}
!7 = !{!"_ZTSN3P3D20UniqueAlignedPointerIfEE", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSN3P3D20UniqueAlignedPointerIiEE", !8, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!9, !9, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass