; LLVM IR from niessner/Matterport :: code/gaps/pkgs/R3Shapes (R3MeshSearchTree)

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

; 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
define dso_local noundef double @_ZNK16R3MeshSearchTree15DistanceSquaredERK7R3PointRK5R3Boxd(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(56) %2, double noundef %3) #1 align 2 {
  %5 = alloca double, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca i32, align 4
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store double %3, ptr %9, align 8, !tbaa !9
  %18 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = call noundef double @_ZNK7R3Point1XEv(ptr noundef nonnull align 8 dereferenceable(24) %19)
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = call noundef double @_ZNK5R3Box4XMaxEv(ptr noundef nonnull align 8 dereferenceable(56) %21)
  %23 = fcmp ogt double %20, %22
  br i1 %23, label %24, label %30

24:                                               ; preds = %4
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = call noundef double @_ZNK7R3Point1XEv(ptr noundef nonnull align 8 dereferenceable(24) %25)
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  %28 = call noundef double @_ZNK5R3Box4XMaxEv(ptr noundef nonnull align 8 dereferenceable(56) %27)
  %29 = fsub double %26, %28
  store double %29, ptr %10, align 8, !tbaa !9
  br label %44

30:                                               ; preds = %4
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = call noundef double @_ZNK7R3Point1XEv(ptr noundef nonnull align 8 dereferenceable(24) %31)
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  %34 = call noundef double @_ZNK5R3Box4XMinEv(ptr noundef nonnull align 8 dereferenceable(56) %33)
  %35 = fcmp olt double %32, %34
  br i1 %35, label %36, label %42

36:                                               ; preds = %30
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  %38 = call noundef double @_ZNK5R3Box4XMinEv(ptr noundef nonnull align 8 dereferenceable(56) %37)
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = call noundef double @_ZNK7R3Point1XEv(ptr noundef nonnull align 8 dereferenceable(24) %39)
  %41 = fsub double %38, %40
  store double %41, ptr %10, align 8, !tbaa !9
  br label %43

42:                                               ; preds = %30
  store double 0.000000e+00, ptr %10, align 8, !tbaa !9
  br label %43

43:                                               ; preds = %42, %36
  br label %44

44:                                               ; preds = %43, %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %45 = load double, ptr %10, align 8, !tbaa !9
  %46 = load double, ptr %10, align 8, !tbaa !9
  %47 = fmul double %45, %46
  store double %47, ptr %13, align 8, !tbaa !9
  %48 = load double, ptr %13, align 8, !tbaa !9
  %49 = load double, ptr %9, align 8, !tbaa !9
  %50 = fcmp oge double %48, %49
  br i1 %50, label %51, label %53

51:                                               ; preds = %44
  %52 = load double, ptr %13, align 8, !tbaa !9
  store double %52, ptr %5, align 8
  store i32 1, ptr %14, align 4
  br label %159

53:                                               ; preds = %44
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = call noundef double @_ZNK7R3Point1YEv(ptr noundef nonnull align 8 dereferenceable(24) %54)
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = call noundef double @_ZNK5R3Box4YMaxEv(ptr noundef nonnull align 8 dereferenceable(56) %56)
  %58 = fcmp ogt double %55, %57
  br i1 %58, label %59, label %65

59:                                               ; preds = %53
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = call noundef double @_ZNK7R3Point1YEv(ptr noundef nonnull align 8 dereferenceable(24) %60)
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = call noundef double @_ZNK5R3Box4YMaxEv(ptr noundef nonnull align 8 dereferenceable(56) %62)
  %64 = fsub double %61, %63
  store double %64, ptr %11, align 8, !tbaa !9
  br label %79

65:                                               ; preds = %53
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = call noundef double @_ZNK7R3Point1YEv(ptr noundef nonnull align 8 dereferenceable(24) %66)
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = call noundef double @_ZNK5R3Box4YMinEv(ptr noundef nonnull align 8 dereferenceable(56) %68)
  %70 = fcmp olt double %67, %69
  br i1 %70, label %71, label %77

71:                                               ; preds = %65
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  %73 = call noundef double @_ZNK5R3Box4YMinEv(ptr noundef nonnull align 8 dereferenceable(56) %72)
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = call noundef double @_ZNK7R3Point1YEv(ptr noundef nonnull align 8 dereferenceable(24) %74)
  %76 = fsub double %73, %75
  store double %76, ptr %11, align 8, !tbaa !9
  br label %78

77:                                               ; preds = %65
  store double 0.000000e+00, ptr %11, align 8, !tbaa !9
  br label %78

78:                                               ; preds = %77, %71
  br label %79

79:                                               ; preds = %78, %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %80 = load double, ptr %11, align 8, !tbaa !9
  %81 = load double, ptr %11, align 8, !tbaa !9
  %82 = fmul double %80, %81
  store double %82, ptr %15, align 8, !tbaa !9
  %83 = load double, ptr %15, align 8, !tbaa !9
  %84 = load double, ptr %9, align 8, !tbaa !9
  %85 = fcmp oge double %83, %84
  br i1 %85, label %86, label %88

86:                                               ; preds = %79
  %87 = load double, ptr %15, align 8, !tbaa !9
  store double %87, ptr %5, align 8
  store i32 1, ptr %14, align 4
  br label %158

88:                                               ; preds = %79
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  %90 = call noundef double @_ZNK7R3Point1ZEv(ptr noundef nonnull align 8 dereferenceable(24) %89)
  %91 = load ptr, ptr %8, align 8, !tbaa !5
  %92 = call noundef double @_ZNK5R3Box4ZMaxEv(ptr noundef nonnull align 8 dereferenceable(56) %91)
  %93 = fcmp ogt double %90, %92
  br i1 %93, label %94, label %100

94:                                               ; preds = %88
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = call noundef double @_ZNK7R3Point1ZEv(ptr noundef nonnull align 8 dereferenceable(24) %95)
  %97 = load ptr, ptr %8, align 8, !tbaa !5
  %98 = call noundef double @_ZNK5R3Box4ZMaxEv(ptr noundef nonnull align 8 dereferenceable(56) %97)
  %99 = fsub double %96, %98
  store double %99, ptr %12, align 8, !tbaa !9
  br label %114

100:                                              ; preds = %88
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = call noundef double @_ZNK7R3Point1ZEv(ptr noundef nonnull align 8 dereferenceable(24) %101)
  %103 = load ptr, ptr %8, align 8, !tbaa !5
  %104 = call noundef double @_ZNK5R3Box4ZMinEv(ptr noundef nonnull align 8 dereferenceable(56) %103)
  %105 = fcmp olt double %102, %104
  br i1 %105, label %106, label %112

106:                                              ; preds = %100
  %107 = load ptr, ptr %8, align 8, !tbaa !5
  %108 = call noundef double @_ZNK5R3Box4ZMinEv(ptr noundef nonnull align 8 dereferenceable(56) %107)
  %109 = load ptr, ptr %7, align 8, !tbaa !5
  %110 = call noundef double @_ZNK7R3Point1ZEv(ptr noundef nonnull align 8 dereferenceable(24) %109)
  %111 = fsub double %108, %110
  store double %111, ptr %12, align 8, !tbaa !9
  br label %113

112:                                              ; preds = %100
  store double 0.000000e+00, ptr %12, align 8, !tbaa !9
  br label %113

113:                                              ; preds = %112, %106
  br label %114

114:                                              ; preds = %113, %94
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  %115 = load double, ptr %12, align 8, !tbaa !9
  %116 = load double, ptr %12, align 8, !tbaa !9
  %117 = fmul double %115, %116
  store double %117, ptr %16, align 8, !tbaa !9
  %118 = load double, ptr %16, align 8, !tbaa !9
  %119 = load double, ptr %9, align 8, !tbaa !9
  %120 = fcmp oge double %118, %119
  br i1 %120, label %121, label %123

121:                                              ; preds = %114
  %122 = load double, ptr %16, align 8, !tbaa !9
  store double %122, ptr %5, align 8
  store i32 1, ptr %14, align 4
  br label %157

123:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  store double 0.000000e+00, ptr %17, align 8, !tbaa !9
  %124 = load double, ptr %11, align 8, !tbaa !9
  %125 = fcmp oeq double %124, 0.000000e+00
  br i1 %125, label %126, label %131

126:                                              ; preds = %123
  %127 = load double, ptr %12, align 8, !tbaa !9
  %128 = fcmp oeq double %127, 0.000000e+00
  br i1 %128, label %129, label %131

129:                                              ; preds = %126
  %130 = load double, ptr %13, align 8, !tbaa !9
  store double %130, ptr %17, align 8, !tbaa !9
  br label %155

131:                                              ; preds = %126, %123
  %132 = load double, ptr %10, align 8, !tbaa !9
  %133 = fcmp oeq double %132, 0.000000e+00
  br i1 %133, label %134, label %139

134:                                              ; preds = %131
  %135 = load double, ptr %12, align 8, !tbaa !9
  %136 = fcmp oeq double %135, 0.000000e+00
  br i1 %136, label %137, label %139

137:                                              ; preds = %134
  %138 = load double, ptr %15, align 8, !tbaa !9
  store double %138, ptr %17, align 8, !tbaa !9
  br label %154

139:                                              ; preds = %134, %131
  %140 = load double, ptr %10, align 8, !tbaa !9
  %141 = fcmp oeq double %140, 0.000000e+00
  br i1 %141, label %142, label %147

142:                                              ; preds = %139
  %143 = load double, ptr %11, align 8, !tbaa !9
  %144 = fcmp oeq double %143, 0.000000e+00
  br i1 %144, label %145, label %147

145:                                              ; preds = %142
  %146 = load double, ptr %16, align 8, !tbaa !9
  store double %146, ptr %17, align 8, !tbaa !9
  br label %153

147:                                              ; preds = %142, %139
  %148 = load double, ptr %13, align 8, !tbaa !9
  %149 = load double, ptr %15, align 8, !tbaa !9
  %150 = fadd double %148, %149
  %151 = load double, ptr %16, align 8, !tbaa !9
  %152 = fadd double %150, %151
  store double %152, ptr %17, align 8, !tbaa !9
  br label %153

153:                                              ; preds = %147, %145
  br label %154

154:                                              ; preds = %153, %137
  br label %155

155:                                              ; preds = %154, %129
  %156 = load double, ptr %17, align 8, !tbaa !9
  store double %156, ptr %5, align 8
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  br label %157

157:                                              ; preds = %155, %121
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  br label %158

158:                                              ; preds = %157, %86
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  br label %159

159:                                              ; preds = %158, %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  %160 = load double, ptr %5, align 8
  ret double %160
}

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

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

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

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

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

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

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

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

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

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 = { 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 #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !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"

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef double @_ZNK16R3MeshSearchTree15DistanceSquaredERK7R3PointRK5R3Boxd(ptr nocapture noundef nonnull readnone align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(56) %2, double noundef %3) local_unnamed_addr #0 align 2 {
  %5 = tail call noundef double @_ZNK7R3Point1XEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  %6 = tail call noundef double @_ZNK5R3Box4XMaxEv(ptr noundef nonnull align 8 dereferenceable(56) %2)
  %7 = fcmp ogt double %5, %6
  %8 = tail call noundef double @_ZNK7R3Point1XEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  br i1 %7, label %9, label %12

9:                                                ; preds = %4
  %10 = tail call noundef double @_ZNK5R3Box4XMaxEv(ptr noundef nonnull align 8 dereferenceable(56) %2)
  %11 = fsub double %8, %10
  br label %19

12:                                               ; preds = %4
  %13 = tail call noundef double @_ZNK5R3Box4XMinEv(ptr noundef nonnull align 8 dereferenceable(56) %2)
  %14 = fcmp olt double %8, %13
  br i1 %14, label %15, label %19

15:                                               ; preds = %12
  %16 = tail call noundef double @_ZNK5R3Box4XMinEv(ptr noundef nonnull align 8 dereferenceable(56) %2)
  %17 = tail call noundef double @_ZNK7R3Point1XEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  %18 = fsub double %16, %17
  br label %19

19:                                               ; preds = %12, %15, %9
  %.060 = phi double [ %11, %9 ], [ %18, %15 ], [ 0.000000e+00, %12 ]
  %20 = fmul double %.060, %.060
  %21 = fcmp ult double %20, %3
  br i1 %21, label %22, label %67

22:                                               ; preds = %19
  %23 = tail call noundef double @_ZNK7R3Point1YEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  %24 = tail call noundef double @_ZNK5R3Box4YMaxEv(ptr noundef nonnull align 8 dereferenceable(56) %2)
  %25 = fcmp ogt double %23, %24
  %26 = tail call noundef double @_ZNK7R3Point1YEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  br i1 %25, label %27, label %30

27:                                               ; preds = %22
  %28 = tail call noundef double @_ZNK5R3Box4YMaxEv(ptr noundef nonnull align 8 dereferenceable(56) %2)
  %29 = fsub double %26, %28
  br label %37

30:                                               ; preds = %22
  %31 = tail call noundef double @_ZNK5R3Box4YMinEv(ptr noundef nonnull align 8 dereferenceable(56) %2)
  %32 = fcmp olt double %26, %31
  br i1 %32, label %33, label %37

33:                                               ; preds = %30
  %34 = tail call noundef double @_ZNK5R3Box4YMinEv(ptr noundef nonnull align 8 dereferenceable(56) %2)
  %35 = tail call noundef double @_ZNK7R3Point1YEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  %36 = fsub double %34, %35
  br label %37

37:                                               ; preds = %30, %33, %27
  %.061 = phi double [ %29, %27 ], [ %36, %33 ], [ 0.000000e+00, %30 ]
  %38 = fmul double %.061, %.061
  %39 = fcmp ult double %38, %3
  br i1 %39, label %40, label %67

40:                                               ; preds = %37
  %41 = tail call noundef double @_ZNK7R3Point1ZEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  %42 = tail call noundef double @_ZNK5R3Box4ZMaxEv(ptr noundef nonnull align 8 dereferenceable(56) %2)
  %43 = fcmp ogt double %41, %42
  %44 = tail call noundef double @_ZNK7R3Point1ZEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  br i1 %43, label %45, label %48

45:                                               ; preds = %40
  %46 = tail call noundef double @_ZNK5R3Box4ZMaxEv(ptr noundef nonnull align 8 dereferenceable(56) %2)
  %47 = fsub double %44, %46
  br label %55

48:                                               ; preds = %40
  %49 = tail call noundef double @_ZNK5R3Box4ZMinEv(ptr noundef nonnull align 8 dereferenceable(56) %2)
  %50 = fcmp olt double %44, %49
  br i1 %50, label %51, label %55

51:                                               ; preds = %48
  %52 = tail call noundef double @_ZNK5R3Box4ZMinEv(ptr noundef nonnull align 8 dereferenceable(56) %2)
  %53 = tail call noundef double @_ZNK7R3Point1ZEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  %54 = fsub double %52, %53
  br label %55

55:                                               ; preds = %48, %51, %45
  %.062 = phi double [ %47, %45 ], [ %54, %51 ], [ 0.000000e+00, %48 ]
  %56 = fmul double %.062, %.062
  %57 = fcmp ult double %56, %3
  br i1 %57, label %58, label %67

58:                                               ; preds = %55
  %59 = fcmp oeq double %.061, 0.000000e+00
  %60 = fcmp oeq double %.062, 0.000000e+00
  %or.cond = and i1 %59, %60
  br i1 %or.cond, label %67, label %61

61:                                               ; preds = %58
  %62 = fcmp oeq double %.060, 0.000000e+00
  %or.cond3 = and i1 %62, %60
  br i1 %or.cond3, label %67, label %63

63:                                               ; preds = %61
  %or.cond5 = and i1 %62, %59
  br i1 %or.cond5, label %67, label %64

64:                                               ; preds = %63
  %65 = fadd double %20, %38
  %66 = fadd double %65, %56
  br label %67

67:                                               ; preds = %37, %64, %58, %61, %63, %55, %19
  %.2 = phi double [ %20, %19 ], [ %38, %37 ], [ %56, %55 ], [ %66, %64 ], [ %20, %58 ], [ %38, %61 ], [ %56, %63 ]
  ret double %.2
}

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

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

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

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

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

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

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

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

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

attributes #0 = { 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 = { 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" }

!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)"}


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