; LLVM IR from bohanwang/libpgo :: third-party/CCD/ExactCCD (rootparitycollisiontest)

; 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.Vec.0 = type { [3 x double] }
%struct.Vec.29 = type { [2 x double] }
%"class.rootparity::RootParityCollisionTest" = type { ptr, %struct.Vec.0, %struct.Vec.0, %struct.Vec.0, %struct.Vec.0, %struct.Vec.0, %struct.Vec.0, %struct.Vec.0, i8, %struct.Vec.0, [8 x %struct.Vec], [8 x %struct.Vec.1], [8 x i8] }
%struct.Vec = type { [3 x %class.Interval] }
%class.Interval = type { %class.IntervalBase, [2 x double] }
%class.IntervalBase = type { ptr }
%struct.Vec.1 = type { [3 x %class.expansion] }
%class.expansion = type { ptr, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_ts = external hidden constant [6 x i8], align 1
@_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_us = external hidden constant [6 x i8], align 1
@_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_vs = external hidden constant [6 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10rootparity23RootParityCollisionTest21ray_prism_parity_testEv(ptr noundef nonnull align 8 dereferenceable(1560)) #1 align 2

; 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) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z3magILj3EdET0_RK3VecIXT_ES0_E(ptr noundef nonnull align 8 dereferenceable(24)) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3VecILj3EdEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8Interval24begin_special_arithmeticEv() #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8Interval22end_special_arithmeticEv() #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3VecILj3E8IntervalEixEi(ptr noundef nonnull align 8 dereferenceable(72), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10rootparity23RootParityCollisionTest37point_triangle_interval_plane_cullingEv(ptr noundef nonnull align 8 dereferenceable(1560)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10rootparity23RootParityCollisionTest19fixed_plane_cullingEj(ptr noundef nonnull align 8 dereferenceable(1560), i32 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3VecILj3EdEC2Ed(ptr noundef nonnull align 8 dereferenceable(24), double noundef) unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN10rootparity23RootParityCollisionTest24point_triangle_collisionEv(ptr noundef nonnull align 8 dereferenceable(1560) %0) #1 align 2 {
  %2 = alloca i1, align 1
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca i32, align 4
  %6 = alloca i8, align 1
  %7 = alloca %struct.Vec.0, align 8
  %8 = alloca %struct.Vec.0, align 8
  %9 = alloca i32, align 4
  %10 = alloca %struct.Vec.29, align 8
  %11 = alloca %struct.Vec.29, align 8
  %12 = alloca %struct.Vec.29, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca %struct.Vec.0, align 8
  %17 = alloca i8, align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  %18 = load ptr, ptr %3, align 8
  call void @_ZN8Interval24begin_special_arithmeticEv()
  %19 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 0
  %20 = load ptr, ptr %19, align 8, !tbaa !9
  %21 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 1
  %22 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 2
  %23 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 3
  %24 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 4
  %25 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 5
  %26 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 6
  %27 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 7
  %28 = load i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_ts, align 1, !tbaa !13, !range !14, !noundef !15
  %29 = trunc i8 %28 to i1
  %30 = load i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_us, align 1, !tbaa !13, !range !14, !noundef !15
  %31 = trunc i8 %30 to i1
  %32 = load i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_vs, align 1, !tbaa !13, !range !14, !noundef !15
  %33 = trunc i8 %32 to i1
  %34 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 10
  %35 = getelementptr inbounds [8 x %struct.Vec], ptr %34, i64 0, i64 0
  call void @_ZN10rootparity12_GLOBAL__N_133point_triangle_collision_functionERK3VecILj3EdES4_S4_S4_S4_S4_S4_S4_bbbRS1_ILj3E8IntervalE(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %27, i1 noundef zeroext %29, i1 noundef zeroext %31, i1 noundef zeroext %33, ptr noundef nonnull align 8 dereferenceable(72) %35)
  %36 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 0
  %37 = load ptr, ptr %36, align 8, !tbaa !9
  %38 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 1
  %39 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 2
  %40 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 3
  %41 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 4
  %42 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 5
  %43 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 6
  %44 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 7
  %45 = load i8, ptr getelementptr inbounds ([6 x i8], ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_ts, i64 0, i64 1), align 1, !tbaa !13, !range !14, !noundef !15
  %46 = trunc i8 %45 to i1
  %47 = load i8, ptr getelementptr inbounds ([6 x i8], ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_us, i64 0, i64 1), align 1, !tbaa !13, !range !14, !noundef !15
  %48 = trunc i8 %47 to i1
  %49 = load i8, ptr getelementptr inbounds ([6 x i8], ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_vs, i64 0, i64 1), align 1, !tbaa !13, !range !14, !noundef !15
  %50 = trunc i8 %49 to i1
  %51 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 10
  %52 = getelementptr inbounds [8 x %struct.Vec], ptr %51, i64 0, i64 1
  call void @_ZN10rootparity12_GLOBAL__N_133point_triangle_collision_functionERK3VecILj3EdES4_S4_S4_S4_S4_S4_S4_bbbRS1_ILj3E8IntervalE(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef nonnull align 8 dereferenceable(24) %41, ptr noundef nonnull align 8 dereferenceable(24) %42, ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 8 dereferenceable(24) %44, i1 noundef zeroext %46, i1 noundef zeroext %48, i1 noundef zeroext %50, ptr noundef nonnull align 8 dereferenceable(72) %52)
  %53 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 0
  %54 = load ptr, ptr %53, align 8, !tbaa !9
  %55 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 1
  %56 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 2
  %57 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 3
  %58 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 4
  %59 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 5
  %60 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 6
  %61 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 7
  %62 = load i8, ptr getelementptr inbounds ([6 x i8], ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_ts, i64 0, i64 2), align 1, !tbaa !13, !range !14, !noundef !15
  %63 = trunc i8 %62 to i1
  %64 = load i8, ptr getelementptr inbounds ([6 x i8], ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_us, i64 0, i64 2), align 1, !tbaa !13, !range !14, !noundef !15
  %65 = trunc i8 %64 to i1
  %66 = load i8, ptr getelementptr inbounds ([6 x i8], ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_vs, i64 0, i64 2), align 1, !tbaa !13, !range !14, !noundef !15
  %67 = trunc i8 %66 to i1
  %68 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 10
  %69 = getelementptr inbounds [8 x %struct.Vec], ptr %68, i64 0, i64 2
  call void @_ZN10rootparity12_GLOBAL__N_133point_triangle_collision_functionERK3VecILj3EdES4_S4_S4_S4_S4_S4_S4_bbbRS1_ILj3E8IntervalE(ptr noundef nonnull align 8 dereferenceable(24) %54, ptr noundef nonnull align 8 dereferenceable(24) %55, ptr noundef nonnull align 8 dereferenceable(24) %56, ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 8 dereferenceable(24) %58, ptr noundef nonnull align 8 dereferenceable(24) %59, ptr noundef nonnull align 8 dereferenceable(24) %60, ptr noundef nonnull align 8 dereferenceable(24) %61, i1 noundef zeroext %63, i1 noundef zeroext %65, i1 noundef zeroext %67, ptr noundef nonnull align 8 dereferenceable(72) %69)
  %70 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 0
  %71 = load ptr, ptr %70, align 8, !tbaa !9
  %72 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 1
  %73 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 2
  %74 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 3
  %75 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 4
  %76 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 5
  %77 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 6
  %78 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 7
  %79 = load i8, ptr getelementptr inbounds ([6 x i8], ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_ts, i64 0, i64 3), align 1, !tbaa !13, !range !14, !noundef !15
  %80 = trunc i8 %79 to i1
  %81 = load i8, ptr getelementptr inbounds ([6 x i8], ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_us, i64 0, i64 3), align 1, !tbaa !13, !range !14, !noundef !15
  %82 = trunc i8 %81 to i1
  %83 = load i8, ptr getelementptr inbounds ([6 x i8], ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_vs, i64 0, i64 3), align 1, !tbaa !13, !range !14, !noundef !15
  %84 = trunc i8 %83 to i1
  %85 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 10
  %86 = getelementptr inbounds [8 x %struct.Vec], ptr %85, i64 0, i64 3
  call void @_ZN10rootparity12_GLOBAL__N_133point_triangle_collision_functionERK3VecILj3EdES4_S4_S4_S4_S4_S4_S4_bbbRS1_ILj3E8IntervalE(ptr noundef nonnull align 8 dereferenceable(24) %71, ptr noundef nonnull align 8 dereferenceable(24) %72, ptr noundef nonnull align 8 dereferenceable(24) %73, ptr noundef nonnull align 8 dereferenceable(24) %74, ptr noundef nonnull align 8 dereferenceable(24) %75, ptr noundef nonnull align 8 dereferenceable(24) %76, ptr noundef nonnull align 8 dereferenceable(24) %77, ptr noundef nonnull align 8 dereferenceable(24) %78, i1 noundef zeroext %80, i1 noundef zeroext %82, i1 noundef zeroext %84, ptr noundef nonnull align 8 dereferenceable(72) %86)
  %87 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 0
  %88 = load ptr, ptr %87, align 8, !tbaa !9
  %89 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 1
  %90 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 2
  %91 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 3
  %92 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 4
  %93 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 5
  %94 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 6
  %95 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 7
  %96 = load i8, ptr getelementptr inbounds ([6 x i8], ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_ts, i64 0, i64 4), align 1, !tbaa !13, !range !14, !noundef !15
  %97 = trunc i8 %96 to i1
  %98 = load i8, ptr getelementptr inbounds ([6 x i8], ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_us, i64 0, i64 4), align 1, !tbaa !13, !range !14, !noundef !15
  %99 = trunc i8 %98 to i1
  %100 = load i8, ptr getelementptr inbounds ([6 x i8], ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_vs, i64 0, i64 4), align 1, !tbaa !13, !range !14, !noundef !15
  %101 = trunc i8 %100 to i1
  %102 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 10
  %103 = getelementptr inbounds [8 x %struct.Vec], ptr %102, i64 0, i64 4
  call void @_ZN10rootparity12_GLOBAL__N_133point_triangle_collision_functionERK3VecILj3EdES4_S4_S4_S4_S4_S4_S4_bbbRS1_ILj3E8IntervalE(ptr noundef nonnull align 8 dereferenceable(24) %88, ptr noundef nonnull align 8 dereferenceable(24) %89, ptr noundef nonnull align 8 dereferenceable(24) %90, ptr noundef nonnull align 8 dereferenceable(24) %91, ptr noundef nonnull align 8 dereferenceable(24) %92, ptr noundef nonnull align 8 dereferenceable(24) %93, ptr noundef nonnull align 8 dereferenceable(24) %94, ptr noundef nonnull align 8 dereferenceable(24) %95, i1 noundef zeroext %97, i1 noundef zeroext %99, i1 noundef zeroext %101, ptr noundef nonnull align 8 dereferenceable(72) %103)
  %104 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 0
  %105 = load ptr, ptr %104, align 8, !tbaa !9
  %106 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 1
  %107 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 2
  %108 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 3
  %109 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 4
  %110 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 5
  %111 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 6
  %112 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 7
  %113 = load i8, ptr getelementptr inbounds ([6 x i8], ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_ts, i64 0, i64 5), align 1, !tbaa !13, !range !14, !noundef !15
  %114 = trunc i8 %113 to i1
  %115 = load i8, ptr getelementptr inbounds ([6 x i8], ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_us, i64 0, i64 5), align 1, !tbaa !13, !range !14, !noundef !15
  %116 = trunc i8 %115 to i1
  %117 = load i8, ptr getelementptr inbounds ([6 x i8], ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_vs, i64 0, i64 5), align 1, !tbaa !13, !range !14, !noundef !15
  %118 = trunc i8 %117 to i1
  %119 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 10
  %120 = getelementptr inbounds [8 x %struct.Vec], ptr %119, i64 0, i64 5
  call void @_ZN10rootparity12_GLOBAL__N_133point_triangle_collision_functionERK3VecILj3EdES4_S4_S4_S4_S4_S4_S4_bbbRS1_ILj3E8IntervalE(ptr noundef nonnull align 8 dereferenceable(24) %105, ptr noundef nonnull align 8 dereferenceable(24) %106, ptr noundef nonnull align 8 dereferenceable(24) %107, ptr noundef nonnull align 8 dereferenceable(24) %108, ptr noundef nonnull align 8 dereferenceable(24) %109, ptr noundef nonnull align 8 dereferenceable(24) %110, ptr noundef nonnull align 8 dereferenceable(24) %111, ptr noundef nonnull align 8 dereferenceable(24) %112, i1 noundef zeroext %114, i1 noundef zeroext %116, i1 noundef zeroext %118, ptr noundef nonnull align 8 dereferenceable(72) %120)
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #5
  %121 = call noundef zeroext i1 @_ZN10rootparity23RootParityCollisionTest19fixed_plane_cullingEj(ptr noundef nonnull align 8 dereferenceable(1560) %18, i32 noundef 6)
  %122 = zext i1 %121 to i8
  store i8 %122, ptr %4, align 1, !tbaa !13
  call void @_ZN8Interval22end_special_arithmeticEv()
  %123 = load i8, ptr %4, align 1, !tbaa !13, !range !14, !noundef !15
  %124 = trunc i8 %123 to i1
  br i1 %124, label %125, label %126

125:                                              ; preds = %1
  store i1 false, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %227

126:                                              ; preds = %1
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #5
  %127 = call noundef zeroext i1 @_ZN10rootparity23RootParityCollisionTest37point_triangle_interval_plane_cullingEv(ptr noundef nonnull align 8 dereferenceable(1560) %18)
  %128 = zext i1 %127 to i8
  store i8 %128, ptr %6, align 1, !tbaa !13
  %129 = load i8, ptr %6, align 1, !tbaa !13, !range !14, !noundef !15
  %130 = trunc i8 %129 to i1
  br i1 %130, label %131, label %132

131:                                              ; preds = %126
  store i1 false, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %226

132:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #5
  call void @_ZN3VecILj3EdEC2Ed(ptr noundef nonnull align 8 dereferenceable(24) %7, double noundef 1.000000e+30)
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #5
  call void @_ZN3VecILj3EdEC2Ed(ptr noundef nonnull align 8 dereferenceable(24) %8, double noundef -1.000000e+30)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !16
  br label %133

133:                                              ; preds = %210, %132
  %134 = load i32, ptr %9, align 4, !tbaa !16
  %135 = icmp ult i32 %134, 6
  br i1 %135, label %137, label %136

136:                                              ; preds = %133
  store i32 2, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %213

137:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #5
  %138 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 10
  %139 = load i32, ptr %9, align 4, !tbaa !16
  %140 = zext i32 %139 to i64
  %141 = getelementptr inbounds [8 x %struct.Vec], ptr %138, i64 0, i64 %140
  %142 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3VecILj3E8IntervalEixEi(ptr noundef nonnull align 8 dereferenceable(72) %141, i32 noundef 0)
  %143 = load ptr, ptr %142, align 8, !tbaa !18
  %144 = getelementptr inbounds ptr, ptr %143, i64 4
  %145 = load ptr, ptr %144, align 8
  %146 = call { double, double } %145(ptr noundef nonnull align 8 dereferenceable(8) %142)
  %147 = getelementptr inbounds %struct.Vec.29, ptr %10, i32 0, i32 0
  %148 = getelementptr inbounds { double, double }, ptr %147, i32 0, i32 0
  %149 = extractvalue { double, double } %146, 0
  store double %149, ptr %148, align 8
  %150 = getelementptr inbounds { double, double }, ptr %147, i32 0, i32 1
  %151 = extractvalue { double, double } %146, 1
  store double %151, ptr %150, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  %152 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 10
  %153 = load i32, ptr %9, align 4, !tbaa !16
  %154 = zext i32 %153 to i64
  %155 = getelementptr inbounds [8 x %struct.Vec], ptr %152, i64 0, i64 %154
  %156 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3VecILj3E8IntervalEixEi(ptr noundef nonnull align 8 dereferenceable(72) %155, i32 noundef 1)
  %157 = load ptr, ptr %156, align 8, !tbaa !18
  %158 = getelementptr inbounds ptr, ptr %157, i64 4
  %159 = load ptr, ptr %158, align 8
  %160 = call { double, double } %159(ptr noundef nonnull align 8 dereferenceable(8) %156)
  %161 = getelementptr inbounds %struct.Vec.29, ptr %11, i32 0, i32 0
  %162 = getelementptr inbounds { double, double }, ptr %161, i32 0, i32 0
  %163 = extractvalue { double, double } %160, 0
  store double %163, ptr %162, align 8
  %164 = getelementptr inbounds { double, double }, ptr %161, i32 0, i32 1
  %165 = extractvalue { double, double } %160, 1
  store double %165, ptr %164, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #5
  %166 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 10
  %167 = load i32, ptr %9, align 4, !tbaa !16
  %168 = zext i32 %167 to i64
  %169 = getelementptr inbounds [8 x %struct.Vec], ptr %166, i64 0, i64 %168
  %170 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3VecILj3E8IntervalEixEi(ptr noundef nonnull align 8 dereferenceable(72) %169, i32 noundef 2)
  %171 = load ptr, ptr %170, align 8, !tbaa !18
  %172 = getelementptr inbounds ptr, ptr %171, i64 4
  %173 = load ptr, ptr %172, align 8
  %174 = call { double, double } %173(ptr noundef nonnull align 8 dereferenceable(8) %170)
  %175 = getelementptr inbounds %struct.Vec.29, ptr %12, i32 0, i32 0
  %176 = getelementptr inbounds { double, double }, ptr %175, i32 0, i32 0
  %177 = extractvalue { double, double } %174, 0
  store double %177, ptr %176, align 8
  %178 = getelementptr inbounds { double, double }, ptr %175, i32 0, i32 1
  %179 = extractvalue { double, double } %174, 1
  store double %179, ptr %178, align 8
  %180 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 0)
  %181 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj2EdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %10, i32 noundef 0)
  %182 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %180, ptr noundef nonnull align 8 dereferenceable(8) %181)
  %183 = load double, ptr %182, align 8, !tbaa !20
  %184 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 0)
  store double %183, ptr %184, align 8, !tbaa !20
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 1)
  %186 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj2EdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %11, i32 noundef 0)
  %187 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %185, ptr noundef nonnull align 8 dereferenceable(8) %186)
  %188 = load double, ptr %187, align 8, !tbaa !20
  %189 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 1)
  store double %188, ptr %189, align 8, !tbaa !20
  %190 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 2)
  %191 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj2EdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef 0)
  %192 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %190, ptr noundef nonnull align 8 dereferenceable(8) %191)
  %193 = load double, ptr %192, align 8, !tbaa !20
  %194 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 2)
  store double %193, ptr %194, align 8, !tbaa !20
  %195 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %8, i32 noundef 0)
  %196 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj2EdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %10, i32 noundef 1)
  %197 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %195, ptr noundef nonnull align 8 dereferenceable(8) %196)
  %198 = load double, ptr %197, align 8, !tbaa !20
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %8, i32 noundef 0)
  store double %198, ptr %199, align 8, !tbaa !20
  %200 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %8, i32 noundef 1)
  %201 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj2EdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %11, i32 noundef 1)
  %202 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %200, ptr noundef nonnull align 8 dereferenceable(8) %201)
  %203 = load double, ptr %202, align 8, !tbaa !20
  %204 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %8, i32 noundef 1)
  store double %203, ptr %204, align 8, !tbaa !20
  %205 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %8, i32 noundef 2)
  %206 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj2EdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef 1)
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %205, ptr noundef nonnull align 8 dereferenceable(8) %206)
  %208 = load double, ptr %207, align 8, !tbaa !20
  %209 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %8, i32 noundef 2)
  store double %208, ptr %209, align 8, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  br label %210

210:                                              ; preds = %137
  %211 = load i32, ptr %9, align 4, !tbaa !16
  %212 = add i32 %211, 1
  store i32 %212, ptr %9, align 4, !tbaa !16
  br label %133, !llvm.loop !22

213:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %214 = call noundef double @_Z3magILj3EdET0_RK3VecIXT_ES0_E(ptr noundef nonnull align 8 dereferenceable(24) %7)
  store double %214, ptr %14, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %215 = call noundef double @_Z3magILj3EdET0_RK3VecIXT_ES0_E(ptr noundef nonnull align 8 dereferenceable(24) %8)
  store double %215, ptr %15, align 8, !tbaa !20
  %216 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15)
  %217 = load double, ptr %216, align 8, !tbaa !20
  %218 = fadd double %217, 1.000000e+01
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  store double %218, ptr %13, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #5
  %219 = load double, ptr %13, align 8, !tbaa !20
  %220 = load double, ptr %13, align 8, !tbaa !20
  call void @_ZN3VecILj3EdEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %16, double noundef %219, double noundef %220, double noundef 0.000000e+00)
  %221 = getelementptr inbounds %"class.rootparity::RootParityCollisionTest", ptr %18, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %221, ptr align 8 %16, i64 24, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #5
  %222 = call noundef zeroext i1 @_ZN10rootparity23RootParityCollisionTest21ray_prism_parity_testEv(ptr noundef nonnull align 8 dereferenceable(1560) %18)
  %223 = zext i1 %222 to i8
  store i8 %223, ptr %17, align 1, !tbaa !13
  %224 = load i8, ptr %17, align 1, !tbaa !13, !range !14, !noundef !15
  %225 = trunc i8 %224 to i1
  store i1 %225, ptr %2, align 1
  store i32 1, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #5
  br label %226

226:                                              ; preds = %213, %131
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #5
  br label %227

227:                                              ; preds = %226, %125
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #5
  %228 = load i1, ptr %2, align 1
  ret i1 %228
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN10rootparity12_GLOBAL__N_133point_triangle_collision_functionERK3VecILj3EdES4_S4_S4_S4_S4_S4_S4_bbbRS1_ILj3E8IntervalE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(72)) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = { 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 = { 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, !6, i64 0}
!10 = !{!"_ZTSN10rootparity23RootParityCollisionTestE", !6, i64 0, !11, i64 8, !11, i64 32, !11, i64 56, !11, i64 80, !11, i64 104, !11, i64 128, !11, i64 152, !12, i64 176, !11, i64 184, !7, i64 208, !7, i64 784, !7, i64 1552}
!11 = !{!"_ZTS3VecILj3EdE", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"vtable pointer", !8, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"double", !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{i64 0, i64 24, !25}
!25 = !{!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.Vec.0 = type { [3 x double] }
%struct.Vec.29 = type { [2 x double] }
%struct.Vec = type { [3 x %class.Interval] }
%class.Interval = type { %class.IntervalBase, [2 x double] }
%class.IntervalBase = type { ptr }

@_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_ts = external hidden local_unnamed_addr constant [6 x i8], align 1
@_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_us = external hidden local_unnamed_addr constant [6 x i8], align 1
@_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_vs = external hidden local_unnamed_addr constant [6 x i8], align 1

; 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 uwtable
declare dso_local noundef zeroext i1 @_ZN10rootparity23RootParityCollisionTest21ray_prism_parity_testEv(ptr noundef nonnull align 8 dereferenceable(1560)) local_unnamed_addr #1 align 2

; 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) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z3magILj3EdET0_RK3VecIXT_ES0_E(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3VecILj3EdEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8Interval24begin_special_arithmeticEv() local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8Interval22end_special_arithmeticEv() local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3VecILj3E8IntervalEixEi(ptr noundef nonnull align 8 dereferenceable(72), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10rootparity23RootParityCollisionTest37point_triangle_interval_plane_cullingEv(ptr noundef nonnull align 8 dereferenceable(1560)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10rootparity23RootParityCollisionTest19fixed_plane_cullingEj(ptr noundef nonnull align 8 dereferenceable(1560), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3VecILj3EdEC2Ed(ptr noundef nonnull align 8 dereferenceable(24), double noundef) unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN10rootparity23RootParityCollisionTest24point_triangle_collisionEv(ptr noundef nonnull align 8 dereferenceable(1560) %0) local_unnamed_addr #1 align 2 {
  %2 = alloca %struct.Vec.0, align 8
  %3 = alloca %struct.Vec.0, align 8
  %4 = alloca %struct.Vec.29, align 8
  %5 = alloca %struct.Vec.29, align 8
  %6 = alloca %struct.Vec.29, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca %struct.Vec.0, align 8
  tail call void @_ZN8Interval24begin_special_arithmeticEv()
  %10 = load ptr, ptr %0, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  %12 = getelementptr inbounds i8, ptr %0, i64 32
  %13 = getelementptr inbounds i8, ptr %0, i64 56
  %14 = getelementptr inbounds i8, ptr %0, i64 80
  %15 = getelementptr inbounds i8, ptr %0, i64 104
  %16 = getelementptr inbounds i8, ptr %0, i64 128
  %17 = getelementptr inbounds i8, ptr %0, i64 152
  %18 = load i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_ts, align 1, !tbaa !12, !range !13, !noundef !14
  %19 = trunc nuw i8 %18 to i1
  %20 = load i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_us, align 1, !tbaa !12, !range !13, !noundef !14
  %21 = trunc nuw i8 %20 to i1
  %22 = load i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_vs, align 1, !tbaa !12, !range !13, !noundef !14
  %23 = trunc nuw i8 %22 to i1
  %24 = getelementptr inbounds i8, ptr %0, i64 208
  tail call void @_ZN10rootparity12_GLOBAL__N_133point_triangle_collision_functionERK3VecILj3EdES4_S4_S4_S4_S4_S4_S4_bbbRS1_ILj3E8IntervalE(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %17, i1 noundef zeroext %19, i1 noundef zeroext %21, i1 noundef zeroext %23, ptr noundef nonnull align 8 dereferenceable(72) %24)
  %25 = load ptr, ptr %0, align 8, !tbaa !5
  %26 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_ts, i64 1), align 1, !tbaa !12, !range !13, !noundef !14
  %27 = trunc nuw i8 %26 to i1
  %28 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_us, i64 1), align 1, !tbaa !12, !range !13, !noundef !14
  %29 = trunc nuw i8 %28 to i1
  %30 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_vs, i64 1), align 1, !tbaa !12, !range !13, !noundef !14
  %31 = trunc nuw i8 %30 to i1
  %32 = getelementptr inbounds i8, ptr %0, i64 280
  tail call void @_ZN10rootparity12_GLOBAL__N_133point_triangle_collision_functionERK3VecILj3EdES4_S4_S4_S4_S4_S4_S4_bbbRS1_ILj3E8IntervalE(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %17, i1 noundef zeroext %27, i1 noundef zeroext %29, i1 noundef zeroext %31, ptr noundef nonnull align 8 dereferenceable(72) %32)
  %33 = load ptr, ptr %0, align 8, !tbaa !5
  %34 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_ts, i64 2), align 1, !tbaa !12, !range !13, !noundef !14
  %35 = trunc nuw i8 %34 to i1
  %36 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_us, i64 2), align 1, !tbaa !12, !range !13, !noundef !14
  %37 = trunc nuw i8 %36 to i1
  %38 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_vs, i64 2), align 1, !tbaa !12, !range !13, !noundef !14
  %39 = trunc nuw i8 %38 to i1
  %40 = getelementptr inbounds i8, ptr %0, i64 352
  tail call void @_ZN10rootparity12_GLOBAL__N_133point_triangle_collision_functionERK3VecILj3EdES4_S4_S4_S4_S4_S4_S4_bbbRS1_ILj3E8IntervalE(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %17, i1 noundef zeroext %35, i1 noundef zeroext %37, i1 noundef zeroext %39, ptr noundef nonnull align 8 dereferenceable(72) %40)
  %41 = load ptr, ptr %0, align 8, !tbaa !5
  %42 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_ts, i64 3), align 1, !tbaa !12, !range !13, !noundef !14
  %43 = trunc nuw i8 %42 to i1
  %44 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_us, i64 3), align 1, !tbaa !12, !range !13, !noundef !14
  %45 = trunc nuw i8 %44 to i1
  %46 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_vs, i64 3), align 1, !tbaa !12, !range !13, !noundef !14
  %47 = trunc nuw i8 %46 to i1
  %48 = getelementptr inbounds i8, ptr %0, i64 424
  tail call void @_ZN10rootparity12_GLOBAL__N_133point_triangle_collision_functionERK3VecILj3EdES4_S4_S4_S4_S4_S4_S4_bbbRS1_ILj3E8IntervalE(ptr noundef nonnull align 8 dereferenceable(24) %41, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %17, i1 noundef zeroext %43, i1 noundef zeroext %45, i1 noundef zeroext %47, ptr noundef nonnull align 8 dereferenceable(72) %48)
  %49 = load ptr, ptr %0, align 8, !tbaa !5
  %50 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_ts, i64 4), align 1, !tbaa !12, !range !13, !noundef !14
  %51 = trunc nuw i8 %50 to i1
  %52 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_us, i64 4), align 1, !tbaa !12, !range !13, !noundef !14
  %53 = trunc nuw i8 %52 to i1
  %54 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_vs, i64 4), align 1, !tbaa !12, !range !13, !noundef !14
  %55 = trunc nuw i8 %54 to i1
  %56 = getelementptr inbounds i8, ptr %0, i64 496
  tail call void @_ZN10rootparity12_GLOBAL__N_133point_triangle_collision_functionERK3VecILj3EdES4_S4_S4_S4_S4_S4_S4_bbbRS1_ILj3E8IntervalE(ptr noundef nonnull align 8 dereferenceable(24) %49, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %17, i1 noundef zeroext %51, i1 noundef zeroext %53, i1 noundef zeroext %55, ptr noundef nonnull align 8 dereferenceable(72) %56)
  %57 = load ptr, ptr %0, align 8, !tbaa !5
  %58 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_ts, i64 5), align 1, !tbaa !12, !range !13, !noundef !14
  %59 = trunc nuw i8 %58 to i1
  %60 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_us, i64 5), align 1, !tbaa !12, !range !13, !noundef !14
  %61 = trunc nuw i8 %60 to i1
  %62 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN10rootparity23RootParityCollisionTest24point_triangle_collisionEvE9vertex_vs, i64 5), align 1, !tbaa !12, !range !13, !noundef !14
  %63 = trunc nuw i8 %62 to i1
  %64 = getelementptr inbounds i8, ptr %0, i64 568
  tail call void @_ZN10rootparity12_GLOBAL__N_133point_triangle_collision_functionERK3VecILj3EdES4_S4_S4_S4_S4_S4_S4_bbbRS1_ILj3E8IntervalE(ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %17, i1 noundef zeroext %59, i1 noundef zeroext %61, i1 noundef zeroext %63, ptr noundef nonnull align 8 dereferenceable(72) %64)
  %65 = tail call noundef zeroext i1 @_ZN10rootparity23RootParityCollisionTest19fixed_plane_cullingEj(ptr noundef nonnull align 8 dereferenceable(1560) %0, i32 noundef 6)
  tail call void @_ZN8Interval22end_special_arithmeticEv()
  br i1 %65, label %133, label %66

66:                                               ; preds = %1
  %67 = tail call noundef zeroext i1 @_ZN10rootparity23RootParityCollisionTest37point_triangle_interval_plane_cullingEv(ptr noundef nonnull align 8 dereferenceable(1560) %0)
  br i1 %67, label %133, label %68

68:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #5
  call void @_ZN3VecILj3EdEC2Ed(ptr noundef nonnull align 8 dereferenceable(24) %2, double noundef 1.000000e+30)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #5
  call void @_ZN3VecILj3EdEC2Ed(ptr noundef nonnull align 8 dereferenceable(24) %3, double noundef -1.000000e+30)
  %69 = getelementptr inbounds i8, ptr %4, i64 8
  %70 = getelementptr inbounds i8, ptr %5, i64 8
  %71 = getelementptr inbounds i8, ptr %6, i64 8
  br label %80

72:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %73 = call noundef double @_Z3magILj3EdET0_RK3VecIXT_ES0_E(ptr noundef nonnull align 8 dereferenceable(24) %2)
  store double %73, ptr %7, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %74 = call noundef double @_Z3magILj3EdET0_RK3VecIXT_ES0_E(ptr noundef nonnull align 8 dereferenceable(24) %3)
  store double %74, ptr %8, align 8, !tbaa !15
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %76 = load double, ptr %75, align 8, !tbaa !15
  %77 = fadd double %76, 1.000000e+01
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  call void @_ZN3VecILj3EdEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %9, double noundef %77, double noundef %77, double noundef 0.000000e+00)
  %78 = getelementptr inbounds i8, ptr %0, i64 184
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %78, ptr noundef nonnull align 8 dereferenceable(24) %9, i64 24, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  %79 = call noundef zeroext i1 @_ZN10rootparity23RootParityCollisionTest21ray_prism_parity_testEv(ptr noundef nonnull align 8 dereferenceable(1560) %0)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #5
  br label %133

80:                                               ; preds = %68, %80
  %indvars.iv = phi i64 [ 0, %68 ], [ %indvars.iv.next, %80 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  %81 = getelementptr inbounds [8 x %struct.Vec], ptr %24, i64 0, i64 %indvars.iv
  %82 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3VecILj3E8IntervalEixEi(ptr noundef nonnull align 8 dereferenceable(72) %81, i32 noundef 0)
  %83 = load ptr, ptr %82, align 8, !tbaa !19
  %84 = getelementptr inbounds i8, ptr %83, i64 32
  %85 = load ptr, ptr %84, align 8
  %86 = call { double, double } %85(ptr noundef nonnull align 8 dereferenceable(8) %82)
  %87 = extractvalue { double, double } %86, 0
  store double %87, ptr %4, align 8
  %88 = extractvalue { double, double } %86, 1
  store double %88, ptr %69, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #5
  %89 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3VecILj3E8IntervalEixEi(ptr noundef nonnull align 8 dereferenceable(72) %81, i32 noundef 1)
  %90 = load ptr, ptr %89, align 8, !tbaa !19
  %91 = getelementptr inbounds i8, ptr %90, i64 32
  %92 = load ptr, ptr %91, align 8
  %93 = call { double, double } %92(ptr noundef nonnull align 8 dereferenceable(8) %89)
  %94 = extractvalue { double, double } %93, 0
  store double %94, ptr %5, align 8
  %95 = extractvalue { double, double } %93, 1
  store double %95, ptr %70, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  %96 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3VecILj3E8IntervalEixEi(ptr noundef nonnull align 8 dereferenceable(72) %81, i32 noundef 2)
  %97 = load ptr, ptr %96, align 8, !tbaa !19
  %98 = getelementptr inbounds i8, ptr %97, i64 32
  %99 = load ptr, ptr %98, align 8
  %100 = call { double, double } %99(ptr noundef nonnull align 8 dereferenceable(8) %96)
  %101 = extractvalue { double, double } %100, 0
  store double %101, ptr %6, align 8
  %102 = extractvalue { double, double } %100, 1
  store double %102, ptr %71, align 8
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 0)
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj2EdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 0)
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %103, ptr noundef nonnull align 8 dereferenceable(8) %104)
  %106 = load double, ptr %105, align 8, !tbaa !15
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 0)
  store double %106, ptr %107, align 8, !tbaa !15
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 1)
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj2EdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %5, i32 noundef 0)
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef nonnull align 8 dereferenceable(8) %109)
  %111 = load double, ptr %110, align 8, !tbaa !15
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 1)
  store double %111, ptr %112, align 8, !tbaa !15
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 2)
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj2EdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %6, i32 noundef 0)
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %113, ptr noundef nonnull align 8 dereferenceable(8) %114)
  %116 = load double, ptr %115, align 8, !tbaa !15
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 2)
  store double %116, ptr %117, align 8, !tbaa !15
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 0)
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj2EdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 1)
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %118, ptr noundef nonnull align 8 dereferenceable(8) %119)
  %121 = load double, ptr %120, align 8, !tbaa !15
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 0)
  store double %121, ptr %122, align 8, !tbaa !15
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 1)
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj2EdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %5, i32 noundef 1)
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %123, ptr noundef nonnull align 8 dereferenceable(8) %124)
  %126 = load double, ptr %125, align 8, !tbaa !15
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 1)
  store double %126, ptr %127, align 8, !tbaa !15
  %128 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 2)
  %129 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj2EdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %6, i32 noundef 1)
  %130 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %128, ptr noundef nonnull align 8 dereferenceable(8) %129)
  %131 = load double, ptr %130, align 8, !tbaa !15
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3VecILj3EdEixEi(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 2)
  store double %131, ptr %132, align 8, !tbaa !15
  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
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 6
  br i1 %exitcond.not, label %72, label %80, !llvm.loop !21

133:                                              ; preds = %72, %66, %1
  %.1 = phi i1 [ false, %1 ], [ %79, %72 ], [ false, %66 ]
  ret i1 %.1
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN10rootparity12_GLOBAL__N_133point_triangle_collision_functionERK3VecILj3EdES4_S4_S4_S4_S4_S4_S4_bbbRS1_ILj3E8IntervalE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = { 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 = { 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, !7, i64 0}
!6 = !{!"_ZTSN10rootparity23RootParityCollisionTestE", !7, i64 0, !10, i64 8, !10, i64 32, !10, i64 56, !10, i64 80, !10, i64 104, !10, i64 128, !10, i64 152, !11, i64 176, !10, i64 184, !8, i64 208, !8, i64 784, !8, i64 1552}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS3VecILj3EdE", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !8, i64 0}
!17 = !{i64 0, i64 24, !18}
!18 = !{!8, !8, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"vtable pointer", !9, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,SROAPass,SimplifyCFGPass,TailCallElimPass