; LLVM IR from jrouwe/JoltPhysics :: Samples/Tests/ConvexCollision (ConvexHullTest)

; 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.JPH::Color" = type { %union.anon.16 }
%union.anon.16 = type { i32 }
%"class.JPH::Array.4" = type { i64, i64, ptr }
%"class.std::uniform_real_distribution" = type { %"struct.std::uniform_real_distribution<float>::param_type" }
%"struct.std::uniform_real_distribution<float>::param_type" = type { float, float }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::ConvexHullBuilder" = type { ptr, %"class.JPH::Array.10", %"class.JPH::Array.13" }
%"class.JPH::Array.10" = type { i64, i64, ptr }
%"class.JPH::Array.13" = type { i64, i64, ptr }
%"struct.JPH::AssertLastParam" = type { i8 }
%"class.std::basic_string_view" = type { i64, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider", i64, %union.anon.19 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon.19 = type { i64, [8 x i8] }
%class.ConvexHullTest = type { %class.Test, %"class.JPH::Array", i64, %"class.std::linear_congruential_engine" }
%class.Test = type { ptr, ptr, ptr, ptr, ptr, ptr, i8, %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.JPH::Array" = type { i64, i64, ptr }
%"class.std::linear_congruential_engine" = type { i64 }
%"class.JPH::ConvexHullBuilder::Face" = type <{ %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Array.20", ptr, float, i8, [11 x i8] }>
%"class.JPH::Array.20" = type { i64, i64, ptr }
%"class.JPH::ConvexHullBuilder::Edge" = type <{ ptr, ptr, ptr, i32, [4 x i8] }>

@_ZN3JPH5TraceE = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [27 x i8], align 1
@_ZN3JPH5Color4sRedE = external global %"class.JPH::Color", align 4
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@_ZN3JPH5Color6sGreenE = external global %"class.JPH::Color", align 4
@_ZN3JPH5Color7sYellowE = external global %"class.JPH::Color", align 4
@_ZN3JPH5Color6sWhiteE = external global %"class.JPH::Color", align 4
@_ZN3JPH5Color5sGreyE = external global %"class.JPH::Color", align 4

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16), float noundef, float noundef, float noundef) unnamed_addr #1 align 2

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3mlES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(16)) #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14ConvexHullTest16PrePhysicsUpdateERKN4Test15PreUpdateParamsE(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef nonnull align 16 dereferenceable(80) %1) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca %"class.JPH::Array.4", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::uniform_real_distribution", align 4
  %11 = alloca %"class.std::uniform_real_distribution", align 4
  %12 = alloca %"class.std::uniform_real_distribution", align 4
  %13 = alloca %"class.std::uniform_real_distribution", align 4
  %14 = alloca float, align 4
  %15 = alloca %"class.std::uniform_real_distribution", align 4
  %16 = alloca %"class.std::uniform_real_distribution", align 4
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca i32, align 4
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca %"class.JPH::Vec3", align 16
  %22 = alloca %"class.JPH::Vec3", align 16
  %23 = alloca %"class.JPH::Vec3", align 16
  %24 = alloca %"class.JPH::Vec3", align 16
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca float, align 4
  %27 = alloca %"class.JPH::Vec3", align 16
  %28 = alloca %"class.JPH::Vec3", align 16
  %29 = alloca %"class.JPH::Vec3", align 16
  %30 = alloca %"class.JPH::Vec3", align 16
  %31 = alloca %"class.JPH::Vec3", align 16
  %32 = alloca %"class.JPH::Vec3", align 16
  %33 = alloca %"class.JPH::Vec3", align 16
  %34 = alloca %"class.JPH::Vec3", align 16
  %35 = alloca %"class.JPH::ConvexHullBuilder", align 8
  %36 = alloca ptr, align 8
  %37 = alloca i32, align 4
  %38 = alloca %"struct.JPH::AssertLastParam", align 1
  %39 = alloca i32, align 4
  %40 = alloca %"class.JPH::Vec3", align 16
  %41 = alloca float, align 4
  %42 = alloca float, align 4
  %43 = alloca float, align 4
  %44 = alloca i32, align 4
  %45 = alloca ptr, align 8
  %46 = alloca %"class.JPH::Vec3", align 16
  %47 = alloca %"class.JPH::Vec3", align 16
  %48 = alloca %"class.JPH::Vec3", align 16
  %49 = alloca %"class.JPH::Vec3", align 16
  %50 = alloca %"class.JPH::Color", align 4
  %51 = alloca %"class.JPH::Vec3", align 16
  %52 = alloca %"class.std::basic_string_view", align 8
  %53 = alloca %"class.std::__cxx11::basic_string", align 8
  %54 = alloca %"class.JPH::Color", align 4
  %55 = alloca %"class.JPH::Vec3", align 16
  %56 = alloca %"class.JPH::Vec3", align 16
  %57 = alloca %"class.JPH::Vec3", align 16
  %58 = alloca %"class.JPH::Vec3", align 16
  %59 = alloca %"class.JPH::Vec3", align 16
  %60 = alloca %"class.JPH::Vec3", align 16
  %61 = alloca %"class.JPH::Vec3", align 16
  %62 = alloca %"class.JPH::Color", align 4
  %63 = alloca %"class.JPH::Vec3", align 16
  %64 = alloca %"class.std::basic_string_view", align 8
  %65 = alloca %"class.std::__cxx11::basic_string", align 8
  %66 = alloca float, align 4
  %67 = alloca %"class.JPH::Color", align 4
  %68 = alloca ptr, align 8
  %69 = alloca %"class.JPH::Vec3", align 16
  %70 = alloca %"class.JPH::Vec3", align 16
  %71 = alloca %"class.JPH::Vec3", align 16
  %72 = alloca ptr, align 8
  %73 = alloca %"class.JPH::Vec3", align 16
  %74 = alloca %"class.JPH::Vec3", align 16
  %75 = alloca %"class.JPH::Vec3", align 16
  %76 = alloca %"class.JPH::Vec3", align 16
  %77 = alloca %"class.JPH::Vec3", align 16
  %78 = alloca %"class.JPH::Color", align 4
  %79 = alloca %"class.JPH::Vec3", align 16
  %80 = alloca %"class.std::basic_string_view", align 8
  %81 = alloca %"class.std::__cxx11::basic_string", align 8
  %82 = alloca %"class.JPH::Color", align 4
  %83 = alloca %"struct.JPH::AssertLastParam", align 1
  %84 = alloca ptr, align 8
  %85 = alloca ptr, align 8
  %86 = alloca ptr, align 8
  %87 = alloca %"class.JPH::Vec3", align 16
  %88 = alloca %"class.JPH::Vec3", align 16
  %89 = alloca %"class.JPH::Vec3", align 16
  %90 = alloca %"class.JPH::Vec3", align 16
  %91 = alloca %"class.JPH::Color", align 4
  %92 = alloca i32, align 4
  %93 = alloca ptr, align 8
  %94 = alloca ptr, align 8
  %95 = alloca ptr, align 8
  %96 = alloca ptr, align 8
  %97 = alloca %"class.JPH::Color", align 4
  %98 = alloca ptr, align 8
  %99 = alloca %"class.JPH::Vec3", align 16
  %100 = alloca %"class.JPH::Vec3", align 16
  %101 = alloca %"class.JPH::Vec3", align 16
  %102 = alloca %"class.JPH::Vec3", align 16
  %103 = alloca %"class.JPH::Vec3", align 16
  %104 = alloca %"class.JPH::Vec3", align 16
  %105 = alloca %"class.JPH::Vec3", align 16
  %106 = alloca %"class.JPH::Vec3", align 16
  %107 = alloca %"class.JPH::Color", align 4
  %108 = alloca %"class.JPH::Vec3", align 16
  %109 = alloca %"class.JPH::Vec3", align 16
  %110 = alloca %"class.JPH::Vec3", align 16
  %111 = alloca %"class.JPH::Vec3", align 16
  %112 = alloca %"class.JPH::Vec3", align 16
  %113 = alloca %"class.JPH::Vec3", align 16
  %114 = alloca %"class.JPH::Color", align 4
  %115 = alloca %"class.JPH::Vec3", align 16
  %116 = alloca %"class.JPH::Vec3", align 16
  %117 = alloca %"class.JPH::Color", align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %118 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #9
  store float 1.000000e+01, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  store float 0x3F50624DE0000000, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #9
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #9
  %119 = getelementptr inbounds %class.ConvexHullTest, ptr %118, i32 0, i32 2
  %120 = load i64, ptr %119, align 8, !tbaa !11
  %121 = getelementptr inbounds %class.ConvexHullTest, ptr %118, i32 0, i32 1
  %122 = invoke noundef i64 @_ZNK3JPH5ArrayINS0_INS_4Vec3ENS_12STLAllocatorIS1_EEEENS2_IS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %121)
          to label %123 unwind label %133

123:                                              ; preds = %2
  %124 = icmp ult i64 %120, %122
  br i1 %124, label %125, label %137

125:                                              ; preds = %123
  %126 = getelementptr inbounds %class.ConvexHullTest, ptr %118, i32 0, i32 1
  %127 = getelementptr inbounds %class.ConvexHullTest, ptr %118, i32 0, i32 2
  %128 = load i64, ptr %127, align 8, !tbaa !11
  %129 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH5ArrayINS0_INS_4Vec3ENS_12STLAllocatorIS1_EEEENS2_IS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef %128)
          to label %130 unwind label %133

130:                                              ; preds = %125
  %131 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %129)
          to label %132 unwind label %133

132:                                              ; preds = %130
  br label %410

133:                                              ; preds = %130, %125, %2
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %8, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %9, align 4
  br label %1061

137:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  invoke void @_ZNSt25uniform_real_distributionIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef 0.000000e+00, float noundef 1.000000e+00)
          to label %138 unwind label %167

138:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  invoke void @_ZNSt25uniform_real_distributionIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 0.000000e+00, float noundef 2.000000e+00)
          to label %139 unwind label %171

139:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  invoke void @_ZNSt25uniform_real_distributionIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef 0x3FB99999A0000000, float noundef 5.000000e-01)
          to label %140 unwind label %175

140:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  invoke void @_ZNSt25uniform_real_distributionIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef 0x3FB99999A0000000, float noundef 2.000000e+00)
          to label %141 unwind label %179

141:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  %142 = getelementptr inbounds %class.ConvexHullTest, ptr %118, i32 0, i32 3
  %143 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %142)
          to label %144 unwind label %183

144:                                              ; preds = %141
  store float %143, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %145 = load float, ptr %14, align 4, !tbaa !9
  %146 = load float, ptr %14, align 4, !tbaa !9
  %147 = getelementptr inbounds %class.ConvexHullTest, ptr %118, i32 0, i32 3
  %148 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %147)
          to label %149 unwind label %187

149:                                              ; preds = %144
  %150 = fadd float %146, %148
  invoke void @_ZNSt25uniform_real_distributionIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %145, float noundef %150)
          to label %151 unwind label %187

151:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  invoke void @_ZNSt25uniform_real_distributionIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 0x3FB99999A0000000, float noundef 1.000000e+00)
          to label %152 unwind label %191

152:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #9
  %153 = getelementptr inbounds %class.ConvexHullTest, ptr %118, i32 0, i32 3
  %154 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %153)
          to label %155 unwind label %195

155:                                              ; preds = %152
  %156 = getelementptr inbounds %class.ConvexHullTest, ptr %118, i32 0, i32 3
  %157 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %156)
          to label %158 unwind label %195

158:                                              ; preds = %155
  %159 = getelementptr inbounds %class.ConvexHullTest, ptr %118, i32 0, i32 3
  %160 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %159)
          to label %161 unwind label %195

161:                                              ; preds = %158
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %17, float noundef %154, float noundef %157, float noundef %160)
          to label %162 unwind label %195

162:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  store i32 0, ptr %18, align 4, !tbaa !22
  br label %163

163:                                              ; preds = %366, %162
  %164 = load i32, ptr %18, align 4, !tbaa !22
  %165 = icmp slt i32 %164, 100
  br i1 %165, label %199, label %166

166:                                              ; preds = %163
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  br label %401

167:                                              ; preds = %137
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %8, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %9, align 4
  br label %409

171:                                              ; preds = %138
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %8, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %9, align 4
  br label %408

175:                                              ; preds = %139
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %8, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %9, align 4
  br label %407

179:                                              ; preds = %140
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %8, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %9, align 4
  br label %406

183:                                              ; preds = %141
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %8, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %9, align 4
  br label %405

187:                                              ; preds = %149, %144
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %8, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %9, align 4
  br label %404

191:                                              ; preds = %151
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %8, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %9, align 4
  br label %403

195:                                              ; preds = %161, %158, %155, %152
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %8, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %9, align 4
  br label %402

199:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #9
  %200 = getelementptr inbounds %class.ConvexHullTest, ptr %118, i32 0, i32 3
  %201 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %200)
          to label %202 unwind label %369

202:                                              ; preds = %199
  %203 = getelementptr inbounds %class.ConvexHullTest, ptr %118, i32 0, i32 3
  %204 = invoke { double, double } @_ZN3JPH4Vec37sRandomISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEES0_RT_(ptr noundef nonnull align 8 dereferenceable(8) %203)
          to label %205 unwind label %369

205:                                              ; preds = %202
  %206 = getelementptr inbounds %"class.JPH::Vec3", ptr %21, i32 0, i32 0
  %207 = getelementptr inbounds %union.anon, ptr %206, i32 0, i32 0
  %208 = getelementptr inbounds { double, double }, ptr %207, i32 0, i32 0
  %209 = extractvalue { double, double } %204, 0
  store double %209, ptr %208, align 16
  %210 = getelementptr inbounds { double, double }, ptr %207, i32 0, i32 1
  %211 = extractvalue { double, double } %204, 1
  store double %211, ptr %210, align 8
  %212 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 0
  %213 = load double, ptr %212, align 16
  %214 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 1
  %215 = load double, ptr %214, align 8
  %216 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %201, double %213, double %215)
          to label %217 unwind label %369

217:                                              ; preds = %205
  %218 = getelementptr inbounds %"class.JPH::Vec3", ptr %20, i32 0, i32 0
  %219 = getelementptr inbounds %union.anon, ptr %218, i32 0, i32 0
  %220 = getelementptr inbounds { double, double }, ptr %219, i32 0, i32 0
  %221 = extractvalue { double, double } %216, 0
  store double %221, ptr %220, align 16
  %222 = getelementptr inbounds { double, double }, ptr %219, i32 0, i32 1
  %223 = extractvalue { double, double } %216, 1
  store double %223, ptr %222, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %22, ptr align 16 %17, i64 16, i1 false), !tbaa.struct !24
  %224 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 0
  %225 = load double, ptr %224, align 16
  %226 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 1
  %227 = load double, ptr %226, align 8
  %228 = invoke { double, double } @_ZNK3JPH4Vec3mlES0_(ptr noundef nonnull align 16 dereferenceable(16) %20, double %225, double %227)
          to label %229 unwind label %369

229:                                              ; preds = %217
  %230 = getelementptr inbounds %"class.JPH::Vec3", ptr %19, i32 0, i32 0
  %231 = getelementptr inbounds %union.anon, ptr %230, i32 0, i32 0
  %232 = getelementptr inbounds { double, double }, ptr %231, i32 0, i32 0
  %233 = extractvalue { double, double } %228, 0
  store double %233, ptr %232, align 16
  %234 = getelementptr inbounds { double, double }, ptr %231, i32 0, i32 1
  %235 = extractvalue { double, double } %228, 1
  store double %235, ptr %234, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #9
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 16 dereferenceable(16) %19)
          to label %236 unwind label %373

236:                                              ; preds = %229
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #9
  %237 = load float, ptr %6, align 4, !tbaa !9
  %238 = getelementptr inbounds %class.ConvexHullTest, ptr %118, i32 0, i32 3
  %239 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %238)
          to label %240 unwind label %377

240:                                              ; preds = %236
  %241 = fmul float %237, %239
  %242 = getelementptr inbounds %class.ConvexHullTest, ptr %118, i32 0, i32 3
  %243 = invoke { double, double } @_ZN3JPH4Vec37sRandomISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEES0_RT_(ptr noundef nonnull align 8 dereferenceable(8) %242)
          to label %244 unwind label %377

244:                                              ; preds = %240
  %245 = getelementptr inbounds %"class.JPH::Vec3", ptr %25, i32 0, i32 0
  %246 = getelementptr inbounds %union.anon, ptr %245, i32 0, i32 0
  %247 = getelementptr inbounds { double, double }, ptr %246, i32 0, i32 0
  %248 = extractvalue { double, double } %243, 0
  store double %248, ptr %247, align 16
  %249 = getelementptr inbounds { double, double }, ptr %246, i32 0, i32 1
  %250 = extractvalue { double, double } %243, 1
  store double %250, ptr %249, align 8
  %251 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 0
  %252 = load double, ptr %251, align 16
  %253 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 1
  %254 = load double, ptr %253, align 8
  %255 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %241, double %252, double %254)
          to label %256 unwind label %377

256:                                              ; preds = %244
  %257 = getelementptr inbounds %"class.JPH::Vec3", ptr %24, i32 0, i32 0
  %258 = getelementptr inbounds %union.anon, ptr %257, i32 0, i32 0
  %259 = getelementptr inbounds { double, double }, ptr %258, i32 0, i32 0
  %260 = extractvalue { double, double } %255, 0
  store double %260, ptr %259, align 16
  %261 = getelementptr inbounds { double, double }, ptr %258, i32 0, i32 1
  %262 = extractvalue { double, double } %255, 1
  store double %262, ptr %261, align 8
  %263 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 0
  %264 = load double, ptr %263, align 16
  %265 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 1
  %266 = load double, ptr %265, align 8
  %267 = invoke { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %19, double %264, double %266)
          to label %268 unwind label %377

268:                                              ; preds = %256
  %269 = getelementptr inbounds %"class.JPH::Vec3", ptr %23, i32 0, i32 0
  %270 = getelementptr inbounds %union.anon, ptr %269, i32 0, i32 0
  %271 = getelementptr inbounds { double, double }, ptr %270, i32 0, i32 0
  %272 = extractvalue { double, double } %267, 0
  store double %272, ptr %271, align 16
  %273 = getelementptr inbounds { double, double }, ptr %270, i32 0, i32 1
  %274 = extractvalue { double, double } %267, 1
  store double %274, ptr %273, align 8
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 16 dereferenceable(16) %23)
          to label %275 unwind label %377

275:                                              ; preds = %268
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  %276 = getelementptr inbounds %class.ConvexHullTest, ptr %118, i32 0, i32 3
  %277 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %276)
          to label %278 unwind label %381

278:                                              ; preds = %275
  store float %277, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #9
  %279 = load float, ptr %26, align 4, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %29, ptr align 16 %19, i64 16, i1 false), !tbaa.struct !24
  %280 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %281 = load double, ptr %280, align 16
  %282 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %283 = load double, ptr %282, align 8
  %284 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %279, double %281, double %283)
          to label %285 unwind label %385

285:                                              ; preds = %278
  %286 = getelementptr inbounds %"class.JPH::Vec3", ptr %28, i32 0, i32 0
  %287 = getelementptr inbounds %union.anon, ptr %286, i32 0, i32 0
  %288 = getelementptr inbounds { double, double }, ptr %287, i32 0, i32 0
  %289 = extractvalue { double, double } %284, 0
  store double %289, ptr %288, align 16
  %290 = getelementptr inbounds { double, double }, ptr %287, i32 0, i32 1
  %291 = extractvalue { double, double } %284, 1
  store double %291, ptr %290, align 8
  %292 = load float, ptr %26, align 4, !tbaa !9
  %293 = fsub float 1.000000e+00, %292
  %294 = getelementptr inbounds %class.ConvexHullTest, ptr %118, i32 0, i32 3
  %295 = invoke noundef i64 @_ZNSt26linear_congruential_engineImLm16807ELm0ELm2147483647EEclEv(ptr noundef nonnull align 8 dereferenceable(8) %294)
          to label %296 unwind label %385

296:                                              ; preds = %285
  %297 = invoke noundef i64 @_ZNK3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %298 unwind label %385

298:                                              ; preds = %296
  %299 = urem i64 %295, %297
  %300 = invoke noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %299)
          to label %301 unwind label %385

301:                                              ; preds = %298
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %31, ptr align 16 %300, i64 16, i1 false), !tbaa.struct !24
  %302 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 0
  %303 = load double, ptr %302, align 16
  %304 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 1
  %305 = load double, ptr %304, align 8
  %306 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %293, double %303, double %305)
          to label %307 unwind label %385

307:                                              ; preds = %301
  %308 = getelementptr inbounds %"class.JPH::Vec3", ptr %30, i32 0, i32 0
  %309 = getelementptr inbounds %union.anon, ptr %308, i32 0, i32 0
  %310 = getelementptr inbounds { double, double }, ptr %309, i32 0, i32 0
  %311 = extractvalue { double, double } %306, 0
  store double %311, ptr %310, align 16
  %312 = getelementptr inbounds { double, double }, ptr %309, i32 0, i32 1
  %313 = extractvalue { double, double } %306, 1
  store double %313, ptr %312, align 8
  %314 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 0
  %315 = load double, ptr %314, align 16
  %316 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 1
  %317 = load double, ptr %316, align 8
  %318 = invoke { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %28, double %315, double %317)
          to label %319 unwind label %385

319:                                              ; preds = %307
  %320 = getelementptr inbounds %"class.JPH::Vec3", ptr %27, i32 0, i32 0
  %321 = getelementptr inbounds %union.anon, ptr %320, i32 0, i32 0
  %322 = getelementptr inbounds { double, double }, ptr %321, i32 0, i32 0
  %323 = extractvalue { double, double } %318, 0
  store double %323, ptr %322, align 16
  %324 = getelementptr inbounds { double, double }, ptr %321, i32 0, i32 1
  %325 = extractvalue { double, double } %318, 1
  store double %325, ptr %324, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #9
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 16 dereferenceable(16) %27)
          to label %326 unwind label %389

326:                                              ; preds = %319
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #9
  %327 = load float, ptr %6, align 4, !tbaa !9
  %328 = getelementptr inbounds %class.ConvexHullTest, ptr %118, i32 0, i32 3
  %329 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %328)
          to label %330 unwind label %393

330:                                              ; preds = %326
  %331 = fmul float %327, %329
  %332 = getelementptr inbounds %class.ConvexHullTest, ptr %118, i32 0, i32 3
  %333 = invoke { double, double } @_ZN3JPH4Vec37sRandomISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEES0_RT_(ptr noundef nonnull align 8 dereferenceable(8) %332)
          to label %334 unwind label %393

334:                                              ; preds = %330
  %335 = getelementptr inbounds %"class.JPH::Vec3", ptr %34, i32 0, i32 0
  %336 = getelementptr inbounds %union.anon, ptr %335, i32 0, i32 0
  %337 = getelementptr inbounds { double, double }, ptr %336, i32 0, i32 0
  %338 = extractvalue { double, double } %333, 0
  store double %338, ptr %337, align 16
  %339 = getelementptr inbounds { double, double }, ptr %336, i32 0, i32 1
  %340 = extractvalue { double, double } %333, 1
  store double %340, ptr %339, align 8
  %341 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %342 = load double, ptr %341, align 16
  %343 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %344 = load double, ptr %343, align 8
  %345 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %331, double %342, double %344)
          to label %346 unwind label %393

346:                                              ; preds = %334
  %347 = getelementptr inbounds %"class.JPH::Vec3", ptr %33, i32 0, i32 0
  %348 = getelementptr inbounds %union.anon, ptr %347, i32 0, i32 0
  %349 = getelementptr inbounds { double, double }, ptr %348, i32 0, i32 0
  %350 = extractvalue { double, double } %345, 0
  store double %350, ptr %349, align 16
  %351 = getelementptr inbounds { double, double }, ptr %348, i32 0, i32 1
  %352 = extractvalue { double, double } %345, 1
  store double %352, ptr %351, align 8
  %353 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %354 = load double, ptr %353, align 16
  %355 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %356 = load double, ptr %355, align 8
  %357 = invoke { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %27, double %354, double %356)
          to label %358 unwind label %393

358:                                              ; preds = %346
  %359 = getelementptr inbounds %"class.JPH::Vec3", ptr %32, i32 0, i32 0
  %360 = getelementptr inbounds %union.anon, ptr %359, i32 0, i32 0
  %361 = getelementptr inbounds { double, double }, ptr %360, i32 0, i32 0
  %362 = extractvalue { double, double } %357, 0
  store double %362, ptr %361, align 16
  %363 = getelementptr inbounds { double, double }, ptr %360, i32 0, i32 1
  %364 = extractvalue { double, double } %357, 1
  store double %364, ptr %363, align 8
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 16 dereferenceable(16) %32)
          to label %365 unwind label %393

365:                                              ; preds = %358
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #9
  br label %366

366:                                              ; preds = %365
  %367 = load i32, ptr %18, align 4, !tbaa !22
  %368 = add nsw i32 %367, 1
  store i32 %368, ptr %18, align 4, !tbaa !22
  br label %163, !llvm.loop !26

369:                                              ; preds = %217, %205, %202, %199
  %370 = landingpad { ptr, i32 }
          cleanup
  %371 = extractvalue { ptr, i32 } %370, 0
  store ptr %371, ptr %8, align 8
  %372 = extractvalue { ptr, i32 } %370, 1
  store i32 %372, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #9
  br label %400

373:                                              ; preds = %229
  %374 = landingpad { ptr, i32 }
          cleanup
  %375 = extractvalue { ptr, i32 } %374, 0
  store ptr %375, ptr %8, align 8
  %376 = extractvalue { ptr, i32 } %374, 1
  store i32 %376, ptr %9, align 4
  br label %400

377:                                              ; preds = %268, %256, %244, %240, %236
  %378 = landingpad { ptr, i32 }
          cleanup
  %379 = extractvalue { ptr, i32 } %378, 0
  store ptr %379, ptr %8, align 8
  %380 = extractvalue { ptr, i32 } %378, 1
  store i32 %380, ptr %9, align 4
  br label %399

381:                                              ; preds = %275
  %382 = landingpad { ptr, i32 }
          cleanup
  %383 = extractvalue { ptr, i32 } %382, 0
  store ptr %383, ptr %8, align 8
  %384 = extractvalue { ptr, i32 } %382, 1
  store i32 %384, ptr %9, align 4
  br label %398

385:                                              ; preds = %307, %301, %298, %296, %285, %278
  %386 = landingpad { ptr, i32 }
          cleanup
  %387 = extractvalue { ptr, i32 } %386, 0
  store ptr %387, ptr %8, align 8
  %388 = extractvalue { ptr, i32 } %386, 1
  store i32 %388, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #9
  br label %397

389:                                              ; preds = %319
  %390 = landingpad { ptr, i32 }
          cleanup
  %391 = extractvalue { ptr, i32 } %390, 0
  store ptr %391, ptr %8, align 8
  %392 = extractvalue { ptr, i32 } %390, 1
  store i32 %392, ptr %9, align 4
  br label %397

393:                                              ; preds = %358, %346, %334, %330, %326
  %394 = landingpad { ptr, i32 }
          cleanup
  %395 = extractvalue { ptr, i32 } %394, 0
  store ptr %395, ptr %8, align 8
  %396 = extractvalue { ptr, i32 } %394, 1
  store i32 %396, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #9
  br label %397

397:                                              ; preds = %393, %389, %385
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #9
  br label %398

398:                                              ; preds = %397, %381
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  br label %399

399:                                              ; preds = %398, %377
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #9
  br label %400

400:                                              ; preds = %399, %373, %369
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  br label %402

401:                                              ; preds = %166
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  br label %410

402:                                              ; preds = %400, %195
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #9
  br label %403

403:                                              ; preds = %402, %191
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  br label %404

404:                                              ; preds = %403, %187
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  br label %405

405:                                              ; preds = %404, %183
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  br label %406

406:                                              ; preds = %405, %179
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %407

407:                                              ; preds = %406, %175
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  br label %408

408:                                              ; preds = %407, %171
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  br label %409

409:                                              ; preds = %408, %167
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  br label %1061

410:                                              ; preds = %401, %132
  %411 = getelementptr inbounds %class.ConvexHullTest, ptr %118, i32 0, i32 2
  %412 = load i64, ptr %411, align 8, !tbaa !11
  %413 = add i64 %412, 1
  store i64 %413, ptr %411, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 56, ptr %35) #9
  invoke void @_ZN3JPH17ConvexHullBuilderC1ERKNS_5ArrayINS_4Vec3ENS_12STLAllocatorIS2_EEEE(ptr noundef nonnull align 8 dereferenceable(56) %35, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %414 unwind label %434

414:                                              ; preds = %410
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #9
  store ptr null, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #9
  %415 = load float, ptr %6, align 4, !tbaa !9
  %416 = invoke noundef i32 @_ZN3JPH17ConvexHullBuilder10InitializeEifRPKc(ptr noundef nonnull align 8 dereferenceable(56) %35, i32 noundef 2147483647, float noundef %415, ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %417 unwind label %438

417:                                              ; preds = %414
  store i32 %416, ptr %37, align 4, !tbaa !28
  %418 = load i32, ptr %37, align 4, !tbaa !28
  %419 = icmp ne i32 %418, 0
  br i1 %419, label %420, label %445

420:                                              ; preds = %417
  %421 = load i32, ptr %37, align 4, !tbaa !28
  %422 = icmp ne i32 %421, 1
  br i1 %422, label %423, label %445

423:                                              ; preds = %420
  %424 = load ptr, ptr @_ZN3JPH5TraceE, align 8, !tbaa !5
  %425 = getelementptr inbounds %class.ConvexHullTest, ptr %118, i32 0, i32 2
  %426 = load i64, ptr %425, align 8, !tbaa !11
  %427 = sub i64 %426, 1
  %428 = load ptr, ptr %36, align 8, !tbaa !5
  invoke void (ptr, ...) %424(ptr noundef @.str.2, i64 noundef %427, ptr noundef %428)
          to label %429 unwind label %438

429:                                              ; preds = %423
  br label %430

430:                                              ; preds = %429
  %431 = invoke noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 546)
          to label %432 unwind label %438

432:                                              ; preds = %430
  br i1 %431, label %433, label %442

433:                                              ; preds = %432
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #9, !srcloc !30
  br label %442

434:                                              ; preds = %410
  %435 = landingpad { ptr, i32 }
          cleanup
  %436 = extractvalue { ptr, i32 } %435, 0
  store ptr %436, ptr %8, align 8
  %437 = extractvalue { ptr, i32 } %435, 1
  store i32 %437, ptr %9, align 4
  br label %1060

438:                                              ; preds = %430, %423, %414
  %439 = landingpad { ptr, i32 }
          cleanup
  %440 = extractvalue { ptr, i32 } %439, 0
  store ptr %440, ptr %8, align 8
  %441 = extractvalue { ptr, i32 } %439, 1
  store i32 %441, ptr %9, align 4
  br label %1059

442:                                              ; preds = %433, %432
  br label %443

443:                                              ; preds = %442
  br label %444

444:                                              ; preds = %443
  store i32 1, ptr %39, align 4
  br label %1054

445:                                              ; preds = %420, %417
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #9
  invoke void @_ZNK3JPH17ConvexHullBuilder24GetCenterOfMassAndVolumeERNS_4Vec3ERf(ptr noundef nonnull align 8 dereferenceable(56) %35, ptr noundef nonnull align 16 dereferenceable(16) %40, ptr noundef nonnull align 4 dereferenceable(4) %41)
          to label %446 unwind label %712

446:                                              ; preds = %445
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #9
  invoke void @_ZNK3JPH17ConvexHullBuilder17DetermineMaxErrorERPNS0_4FaceERfRiS4_(ptr noundef nonnull align 8 dereferenceable(56) %35, ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 4 dereferenceable(4) %42, ptr noundef nonnull align 4 dereferenceable(4) %44, ptr noundef nonnull align 4 dereferenceable(4) %43)
          to label %447 unwind label %716

447:                                              ; preds = %446
  %448 = load float, ptr %42, align 4, !tbaa !9
  %449 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %43)
          to label %450 unwind label %716

450:                                              ; preds = %447
  %451 = load float, ptr %449, align 4, !tbaa !9
  %452 = fmul float 4.000000e+00, %451
  %453 = fcmp ogt float %448, %452
  br i1 %453, label %454, label %775

454:                                              ; preds = %450
  %455 = load ptr, ptr @_ZN3JPH5TraceE, align 8, !tbaa !5
  %456 = getelementptr inbounds %class.ConvexHullTest, ptr %118, i32 0, i32 2
  %457 = load i64, ptr %456, align 8, !tbaa !11
  %458 = sub i64 %457, 1
  %459 = load float, ptr %42, align 4, !tbaa !9
  %460 = fpext float %459 to double
  invoke void (ptr, ...) %455(ptr noundef @.str.5, i64 noundef %458, double noundef %460)
          to label %461 unwind label %716

461:                                              ; preds = %454
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #9
  %462 = load i32, ptr %44, align 4, !tbaa !22
  %463 = sext i32 %462 to i64
  %464 = invoke noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %463)
          to label %465 unwind label %720

465:                                              ; preds = %461
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %48, ptr align 16 %40, i64 16, i1 false), !tbaa.struct !24
  %466 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 0
  %467 = load double, ptr %466, align 16
  %468 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 1
  %469 = load double, ptr %468, align 8
  %470 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %464, double %467, double %469)
          to label %471 unwind label %720

471:                                              ; preds = %465
  %472 = getelementptr inbounds %"class.JPH::Vec3", ptr %47, i32 0, i32 0
  %473 = getelementptr inbounds %union.anon, ptr %472, i32 0, i32 0
  %474 = getelementptr inbounds { double, double }, ptr %473, i32 0, i32 0
  %475 = extractvalue { double, double } %470, 0
  store double %475, ptr %474, align 16
  %476 = getelementptr inbounds { double, double }, ptr %473, i32 0, i32 1
  %477 = extractvalue { double, double } %470, 1
  store double %477, ptr %476, align 8
  %478 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 0
  %479 = load double, ptr %478, align 16
  %480 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 1
  %481 = load double, ptr %480, align 8
  %482 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef 1.000000e+01, double %479, double %481)
          to label %483 unwind label %720

483:                                              ; preds = %471
  %484 = getelementptr inbounds %"class.JPH::Vec3", ptr %46, i32 0, i32 0
  %485 = getelementptr inbounds %union.anon, ptr %484, i32 0, i32 0
  %486 = getelementptr inbounds { double, double }, ptr %485, i32 0, i32 0
  %487 = extractvalue { double, double } %482, 0
  store double %487, ptr %486, align 16
  %488 = getelementptr inbounds { double, double }, ptr %485, i32 0, i32 1
  %489 = extractvalue { double, double } %482, 1
  store double %489, ptr %488, align 8
  %490 = getelementptr inbounds %class.Test, ptr %118, i32 0, i32 4
  %491 = load ptr, ptr %490, align 8, !tbaa !31
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %49, ptr align 16 %46, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 4 @_ZN3JPH5Color4sRedE, i64 4, i1 false), !tbaa.struct !32
  %492 = getelementptr inbounds { double, double }, ptr %49, i32 0, i32 0
  %493 = load double, ptr %492, align 16
  %494 = getelementptr inbounds { double, double }, ptr %49, i32 0, i32 1
  %495 = load double, ptr %494, align 8
  %496 = getelementptr inbounds %"class.JPH::Color", ptr %50, i32 0, i32 0
  %497 = getelementptr inbounds %union.anon.16, ptr %496, i32 0, i32 0
  %498 = load i32, ptr %497, align 4
  invoke void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef %491, double %493, double %495, i32 %498, float noundef 1.000000e+00)
          to label %499 unwind label %720

499:                                              ; preds = %483
  %500 = getelementptr inbounds %class.Test, ptr %118, i32 0, i32 4
  %501 = load ptr, ptr %500, align 8, !tbaa !31
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %51, ptr align 16 %46, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.start.p0(i64 16, ptr %52) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %53) #9
  %502 = load i32, ptr %44, align 4, !tbaa !22
  %503 = load float, ptr %42, align 4, !tbaa !9
  %504 = fpext float %503 to double
  invoke void (ptr, ptr, ...) @_ZN3JPH12StringFormatB5cxx11EPKcz(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %53, ptr noundef @.str.6, i32 noundef %502, double noundef %504)
          to label %505 unwind label %724

505:                                              ; preds = %499
  %506 = call { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(32) %53) #9
  %507 = getelementptr inbounds { i64, ptr }, ptr %52, i32 0, i32 0
  %508 = extractvalue { i64, ptr } %506, 0
  store i64 %508, ptr %507, align 8
  %509 = getelementptr inbounds { i64, ptr }, ptr %52, i32 0, i32 1
  %510 = extractvalue { i64, ptr } %506, 1
  store ptr %510, ptr %509, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 4 @_ZN3JPH5Color4sRedE, i64 4, i1 false), !tbaa.struct !32
  %511 = getelementptr inbounds { double, double }, ptr %51, i32 0, i32 0
  %512 = load double, ptr %511, align 16
  %513 = getelementptr inbounds { double, double }, ptr %51, i32 0, i32 1
  %514 = load double, ptr %513, align 8
  %515 = getelementptr inbounds %"class.JPH::Color", ptr %54, i32 0, i32 0
  %516 = getelementptr inbounds %union.anon.16, ptr %515, i32 0, i32 0
  %517 = load i32, ptr %516, align 4
  invoke void @_Z12DrawText3DSPPN3JPH13DebugRendererENS_4Vec3ERKSt17basic_string_viewIcSt11char_traitsIcEENS_5ColorEf(ptr noundef %501, double %512, double %514, ptr noundef nonnull align 8 dereferenceable(16) %52, i32 %517, float noundef 5.000000e-01)
          to label %518 unwind label %728

518:                                              ; preds = %505
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %53) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %52) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %55) #9
  %519 = load ptr, ptr %45, align 8, !tbaa !5
  %520 = getelementptr inbounds %"class.JPH::ConvexHullBuilder::Face", ptr %519, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %57, ptr align 16 %40, i64 16, i1 false), !tbaa.struct !24
  %521 = getelementptr inbounds { double, double }, ptr %57, i32 0, i32 0
  %522 = load double, ptr %521, align 16
  %523 = getelementptr inbounds { double, double }, ptr %57, i32 0, i32 1
  %524 = load double, ptr %523, align 8
  %525 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %520, double %522, double %524)
          to label %526 unwind label %733

526:                                              ; preds = %518
  %527 = getelementptr inbounds %"class.JPH::Vec3", ptr %56, i32 0, i32 0
  %528 = getelementptr inbounds %union.anon, ptr %527, i32 0, i32 0
  %529 = getelementptr inbounds { double, double }, ptr %528, i32 0, i32 0
  %530 = extractvalue { double, double } %525, 0
  store double %530, ptr %529, align 16
  %531 = getelementptr inbounds { double, double }, ptr %528, i32 0, i32 1
  %532 = extractvalue { double, double } %525, 1
  store double %532, ptr %531, align 8
  %533 = getelementptr inbounds { double, double }, ptr %56, i32 0, i32 0
  %534 = load double, ptr %533, align 16
  %535 = getelementptr inbounds { double, double }, ptr %56, i32 0, i32 1
  %536 = load double, ptr %535, align 8
  %537 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef 1.000000e+01, double %534, double %536)
          to label %538 unwind label %733

538:                                              ; preds = %526
  %539 = getelementptr inbounds %"class.JPH::Vec3", ptr %55, i32 0, i32 0
  %540 = getelementptr inbounds %union.anon, ptr %539, i32 0, i32 0
  %541 = getelementptr inbounds { double, double }, ptr %540, i32 0, i32 0
  %542 = extractvalue { double, double } %537, 0
  store double %542, ptr %541, align 16
  %543 = getelementptr inbounds { double, double }, ptr %540, i32 0, i32 1
  %544 = extractvalue { double, double } %537, 1
  store double %544, ptr %543, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %58) #9
  %545 = load ptr, ptr %45, align 8, !tbaa !5
  %546 = getelementptr inbounds %"class.JPH::ConvexHullBuilder::Face", ptr %545, i32 0, i32 0
  %547 = invoke { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16) %546)
          to label %548 unwind label %737

548:                                              ; preds = %538
  %549 = getelementptr inbounds %"class.JPH::Vec3", ptr %59, i32 0, i32 0
  %550 = getelementptr inbounds %union.anon, ptr %549, i32 0, i32 0
  %551 = getelementptr inbounds { double, double }, ptr %550, i32 0, i32 0
  %552 = extractvalue { double, double } %547, 0
  store double %552, ptr %551, align 16
  %553 = getelementptr inbounds { double, double }, ptr %550, i32 0, i32 1
  %554 = extractvalue { double, double } %547, 1
  store double %554, ptr %553, align 8
  %555 = getelementptr inbounds { double, double }, ptr %59, i32 0, i32 0
  %556 = load double, ptr %555, align 16
  %557 = getelementptr inbounds { double, double }, ptr %59, i32 0, i32 1
  %558 = load double, ptr %557, align 8
  %559 = invoke { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %55, double %556, double %558)
          to label %560 unwind label %737

560:                                              ; preds = %548
  %561 = getelementptr inbounds %"class.JPH::Vec3", ptr %58, i32 0, i32 0
  %562 = getelementptr inbounds %union.anon, ptr %561, i32 0, i32 0
  %563 = getelementptr inbounds { double, double }, ptr %562, i32 0, i32 0
  %564 = extractvalue { double, double } %559, 0
  store double %564, ptr %563, align 16
  %565 = getelementptr inbounds { double, double }, ptr %562, i32 0, i32 1
  %566 = extractvalue { double, double } %559, 1
  store double %566, ptr %565, align 8
  %567 = getelementptr inbounds %class.Test, ptr %118, i32 0, i32 4
  %568 = load ptr, ptr %567, align 8, !tbaa !31
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %60, ptr align 16 %55, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %61, ptr align 16 %58, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %62, ptr align 4 @_ZN3JPH5Color6sGreenE, i64 4, i1 false), !tbaa.struct !32
  %569 = getelementptr inbounds { double, double }, ptr %60, i32 0, i32 0
  %570 = load double, ptr %569, align 16
  %571 = getelementptr inbounds { double, double }, ptr %60, i32 0, i32 1
  %572 = load double, ptr %571, align 8
  %573 = getelementptr inbounds { double, double }, ptr %61, i32 0, i32 0
  %574 = load double, ptr %573, align 16
  %575 = getelementptr inbounds { double, double }, ptr %61, i32 0, i32 1
  %576 = load double, ptr %575, align 8
  %577 = getelementptr inbounds %"class.JPH::Color", ptr %62, i32 0, i32 0
  %578 = getelementptr inbounds %union.anon.16, ptr %577, i32 0, i32 0
  %579 = load i32, ptr %578, align 4
  invoke void @_Z11DrawArrowSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorEf(ptr noundef %568, double %570, double %572, double %574, double %576, i32 %579, float noundef 0x3FB99999A0000000)
          to label %580 unwind label %737

580:                                              ; preds = %560
  %581 = getelementptr inbounds %class.Test, ptr %118, i32 0, i32 4
  %582 = load ptr, ptr %581, align 8, !tbaa !31
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %63, ptr align 16 %58, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.start.p0(i64 16, ptr %64) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %65) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #9
  %583 = load ptr, ptr %45, align 8, !tbaa !5
  %584 = getelementptr inbounds %"class.JPH::ConvexHullBuilder::Face", ptr %583, i32 0, i32 0
  %585 = invoke noundef float @_ZNK3JPH4Vec36LengthEv(ptr noundef nonnull align 16 dereferenceable(16) %584)
          to label %586 unwind label %741

586:                                              ; preds = %580
  store float %585, ptr %66, align 4, !tbaa !9
  invoke void @_ZN3JPH15ConvertToStringIfEENSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEERKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %65, ptr noundef nonnull align 4 dereferenceable(4) %66)
          to label %587 unwind label %741

587:                                              ; preds = %586
  %588 = call { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(32) %65) #9
  %589 = getelementptr inbounds { i64, ptr }, ptr %64, i32 0, i32 0
  %590 = extractvalue { i64, ptr } %588, 0
  store i64 %590, ptr %589, align 8
  %591 = getelementptr inbounds { i64, ptr }, ptr %64, i32 0, i32 1
  %592 = extractvalue { i64, ptr } %588, 1
  store ptr %592, ptr %591, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %67, ptr align 4 @_ZN3JPH5Color6sGreenE, i64 4, i1 false), !tbaa.struct !32
  %593 = getelementptr inbounds { double, double }, ptr %63, i32 0, i32 0
  %594 = load double, ptr %593, align 16
  %595 = getelementptr inbounds { double, double }, ptr %63, i32 0, i32 1
  %596 = load double, ptr %595, align 8
  %597 = getelementptr inbounds %"class.JPH::Color", ptr %67, i32 0, i32 0
  %598 = getelementptr inbounds %union.anon.16, ptr %597, i32 0, i32 0
  %599 = load i32, ptr %598, align 4
  invoke void @_Z12DrawText3DSPPN3JPH13DebugRendererENS_4Vec3ERKSt17basic_string_viewIcSt11char_traitsIcEENS_5ColorEf(ptr noundef %582, double %594, double %596, ptr noundef nonnull align 8 dereferenceable(16) %64, i32 %599, float noundef 5.000000e-01)
          to label %600 unwind label %745

600:                                              ; preds = %587
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %65) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %64) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #9
  %601 = load ptr, ptr %45, align 8, !tbaa !5
  %602 = getelementptr inbounds %"class.JPH::ConvexHullBuilder::Face", ptr %601, i32 0, i32 3
  %603 = load ptr, ptr %602, align 8, !tbaa !33
  store ptr %603, ptr %68, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %69) #9
  %604 = load ptr, ptr %68, align 8, !tbaa !5
  %605 = getelementptr inbounds %"class.JPH::ConvexHullBuilder::Edge", ptr %604, i32 0, i32 3
  %606 = load i32, ptr %605, align 8, !tbaa !37
  %607 = sext i32 %606 to i64
  %608 = invoke noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %607)
          to label %609 unwind label %750

609:                                              ; preds = %600
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %71, ptr align 16 %40, i64 16, i1 false), !tbaa.struct !24
  %610 = getelementptr inbounds { double, double }, ptr %71, i32 0, i32 0
  %611 = load double, ptr %610, align 16
  %612 = getelementptr inbounds { double, double }, ptr %71, i32 0, i32 1
  %613 = load double, ptr %612, align 8
  %614 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %608, double %611, double %613)
          to label %615 unwind label %750

615:                                              ; preds = %609
  %616 = getelementptr inbounds %"class.JPH::Vec3", ptr %70, i32 0, i32 0
  %617 = getelementptr inbounds %union.anon, ptr %616, i32 0, i32 0
  %618 = getelementptr inbounds { double, double }, ptr %617, i32 0, i32 0
  %619 = extractvalue { double, double } %614, 0
  store double %619, ptr %618, align 16
  %620 = getelementptr inbounds { double, double }, ptr %617, i32 0, i32 1
  %621 = extractvalue { double, double } %614, 1
  store double %621, ptr %620, align 8
  %622 = getelementptr inbounds { double, double }, ptr %70, i32 0, i32 0
  %623 = load double, ptr %622, align 16
  %624 = getelementptr inbounds { double, double }, ptr %70, i32 0, i32 1
  %625 = load double, ptr %624, align 8
  %626 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef 1.000000e+01, double %623, double %625)
          to label %627 unwind label %750

627:                                              ; preds = %615
  %628 = getelementptr inbounds %"class.JPH::Vec3", ptr %69, i32 0, i32 0
  %629 = getelementptr inbounds %union.anon, ptr %628, i32 0, i32 0
  %630 = getelementptr inbounds { double, double }, ptr %629, i32 0, i32 0
  %631 = extractvalue { double, double } %626, 0
  store double %631, ptr %630, align 16
  %632 = getelementptr inbounds { double, double }, ptr %629, i32 0, i32 1
  %633 = extractvalue { double, double } %626, 1
  store double %633, ptr %632, align 8
  br label %634

634:                                              ; preds = %701, %627
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #9
  %635 = load ptr, ptr %68, align 8, !tbaa !5
  %636 = getelementptr inbounds %"class.JPH::ConvexHullBuilder::Edge", ptr %635, i32 0, i32 1
  %637 = load ptr, ptr %636, align 8, !tbaa !39
  store ptr %637, ptr %72, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %73) #9
  %638 = load ptr, ptr %72, align 8, !tbaa !5
  %639 = getelementptr inbounds %"class.JPH::ConvexHullBuilder::Edge", ptr %638, i32 0, i32 3
  %640 = load i32, ptr %639, align 8, !tbaa !37
  %641 = sext i32 %640 to i64
  %642 = invoke noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %641)
          to label %643 unwind label %754

643:                                              ; preds = %634
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %75, ptr align 16 %40, i64 16, i1 false), !tbaa.struct !24
  %644 = getelementptr inbounds { double, double }, ptr %75, i32 0, i32 0
  %645 = load double, ptr %644, align 16
  %646 = getelementptr inbounds { double, double }, ptr %75, i32 0, i32 1
  %647 = load double, ptr %646, align 8
  %648 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %642, double %645, double %647)
          to label %649 unwind label %754

649:                                              ; preds = %643
  %650 = getelementptr inbounds %"class.JPH::Vec3", ptr %74, i32 0, i32 0
  %651 = getelementptr inbounds %union.anon, ptr %650, i32 0, i32 0
  %652 = getelementptr inbounds { double, double }, ptr %651, i32 0, i32 0
  %653 = extractvalue { double, double } %648, 0
  store double %653, ptr %652, align 16
  %654 = getelementptr inbounds { double, double }, ptr %651, i32 0, i32 1
  %655 = extractvalue { double, double } %648, 1
  store double %655, ptr %654, align 8
  %656 = getelementptr inbounds { double, double }, ptr %74, i32 0, i32 0
  %657 = load double, ptr %656, align 16
  %658 = getelementptr inbounds { double, double }, ptr %74, i32 0, i32 1
  %659 = load double, ptr %658, align 8
  %660 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef 1.000000e+01, double %657, double %659)
          to label %661 unwind label %754

661:                                              ; preds = %649
  %662 = getelementptr inbounds %"class.JPH::Vec3", ptr %73, i32 0, i32 0
  %663 = getelementptr inbounds %union.anon, ptr %662, i32 0, i32 0
  %664 = getelementptr inbounds { double, double }, ptr %663, i32 0, i32 0
  %665 = extractvalue { double, double } %660, 0
  store double %665, ptr %664, align 16
  %666 = getelementptr inbounds { double, double }, ptr %663, i32 0, i32 1
  %667 = extractvalue { double, double } %660, 1
  store double %667, ptr %666, align 8
  %668 = getelementptr inbounds %class.Test, ptr %118, i32 0, i32 4
  %669 = load ptr, ptr %668, align 8, !tbaa !31
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %76, ptr align 16 %69, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %77, ptr align 16 %73, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %78, ptr align 4 @_ZN3JPH5Color7sYellowE, i64 4, i1 false), !tbaa.struct !32
  %670 = getelementptr inbounds { double, double }, ptr %76, i32 0, i32 0
  %671 = load double, ptr %670, align 16
  %672 = getelementptr inbounds { double, double }, ptr %76, i32 0, i32 1
  %673 = load double, ptr %672, align 8
  %674 = getelementptr inbounds { double, double }, ptr %77, i32 0, i32 0
  %675 = load double, ptr %674, align 16
  %676 = getelementptr inbounds { double, double }, ptr %77, i32 0, i32 1
  %677 = load double, ptr %676, align 8
  %678 = getelementptr inbounds %"class.JPH::Color", ptr %78, i32 0, i32 0
  %679 = getelementptr inbounds %union.anon.16, ptr %678, i32 0, i32 0
  %680 = load i32, ptr %679, align 4
  invoke void @_Z11DrawArrowSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorEf(ptr noundef %669, double %671, double %673, double %675, double %677, i32 %680, float noundef 0x3F847AE140000000)
          to label %681 unwind label %754

681:                                              ; preds = %661
  %682 = getelementptr inbounds %class.Test, ptr %118, i32 0, i32 4
  %683 = load ptr, ptr %682, align 8, !tbaa !31
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %79, ptr align 16 %69, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.start.p0(i64 16, ptr %80) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %81) #9
  %684 = load ptr, ptr %68, align 8, !tbaa !5
  %685 = getelementptr inbounds %"class.JPH::ConvexHullBuilder::Edge", ptr %684, i32 0, i32 3
  invoke void @_ZN3JPH15ConvertToStringIiEENSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEERKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %81, ptr noundef nonnull align 4 dereferenceable(4) %685)
          to label %686 unwind label %758

686:                                              ; preds = %681
  %687 = call { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(32) %81) #9
  %688 = getelementptr inbounds { i64, ptr }, ptr %80, i32 0, i32 0
  %689 = extractvalue { i64, ptr } %687, 0
  store i64 %689, ptr %688, align 8
  %690 = getelementptr inbounds { i64, ptr }, ptr %80, i32 0, i32 1
  %691 = extractvalue { i64, ptr } %687, 1
  store ptr %691, ptr %690, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %82, ptr align 4 @_ZN3JPH5Color7sYellowE, i64 4, i1 false), !tbaa.struct !32
  %692 = getelementptr inbounds { double, double }, ptr %79, i32 0, i32 0
  %693 = load double, ptr %692, align 16
  %694 = getelementptr inbounds { double, double }, ptr %79, i32 0, i32 1
  %695 = load double, ptr %694, align 8
  %696 = getelementptr inbounds %"class.JPH::Color", ptr %82, i32 0, i32 0
  %697 = getelementptr inbounds %union.anon.16, ptr %696, i32 0, i32 0
  %698 = load i32, ptr %697, align 4
  invoke void @_Z12DrawText3DSPPN3JPH13DebugRendererENS_4Vec3ERKSt17basic_string_viewIcSt11char_traitsIcEENS_5ColorEf(ptr noundef %683, double %693, double %695, ptr noundef nonnull align 8 dereferenceable(16) %80, i32 %698, float noundef 5.000000e-01)
          to label %699 unwind label %762

699:                                              ; preds = %686
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %81) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %80) #9
  %700 = load ptr, ptr %72, align 8, !tbaa !5
  store ptr %700, ptr %68, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %69, ptr align 16 %73, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.end.p0(i64 16, ptr %73) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #9
  br label %701

701:                                              ; preds = %699
  %702 = load ptr, ptr %68, align 8, !tbaa !5
  %703 = load ptr, ptr %45, align 8, !tbaa !5
  %704 = getelementptr inbounds %"class.JPH::ConvexHullBuilder::Face", ptr %703, i32 0, i32 3
  %705 = load ptr, ptr %704, align 8, !tbaa !33
  %706 = icmp ne ptr %702, %705
  br i1 %706, label %634, label %707, !llvm.loop !40

707:                                              ; preds = %701
  br label %708

708:                                              ; preds = %707
  %709 = invoke noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 590)
          to label %710 unwind label %750

710:                                              ; preds = %708
  br i1 %709, label %711, label %768

711:                                              ; preds = %710
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #9, !srcloc !41
  br label %768

712:                                              ; preds = %445
  %713 = landingpad { ptr, i32 }
          cleanup
  %714 = extractvalue { ptr, i32 } %713, 0
  store ptr %714, ptr %8, align 8
  %715 = extractvalue { ptr, i32 } %713, 1
  store i32 %715, ptr %9, align 4
  br label %1058

716:                                              ; preds = %454, %447, %446
  %717 = landingpad { ptr, i32 }
          cleanup
  %718 = extractvalue { ptr, i32 } %717, 0
  store ptr %718, ptr %8, align 8
  %719 = extractvalue { ptr, i32 } %717, 1
  store i32 %719, ptr %9, align 4
  br label %1057

720:                                              ; preds = %483, %471, %465, %461
  %721 = landingpad { ptr, i32 }
          cleanup
  %722 = extractvalue { ptr, i32 } %721, 0
  store ptr %722, ptr %8, align 8
  %723 = extractvalue { ptr, i32 } %721, 1
  store i32 %723, ptr %9, align 4
  br label %774

724:                                              ; preds = %499
  %725 = landingpad { ptr, i32 }
          cleanup
  %726 = extractvalue { ptr, i32 } %725, 0
  store ptr %726, ptr %8, align 8
  %727 = extractvalue { ptr, i32 } %725, 1
  store i32 %727, ptr %9, align 4
  br label %732

728:                                              ; preds = %505
  %729 = landingpad { ptr, i32 }
          cleanup
  %730 = extractvalue { ptr, i32 } %729, 0
  store ptr %730, ptr %8, align 8
  %731 = extractvalue { ptr, i32 } %729, 1
  store i32 %731, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #9
  br label %732

732:                                              ; preds = %728, %724
  call void @llvm.lifetime.end.p0(i64 32, ptr %53) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %52) #9
  br label %774

733:                                              ; preds = %526, %518
  %734 = landingpad { ptr, i32 }
          cleanup
  %735 = extractvalue { ptr, i32 } %734, 0
  store ptr %735, ptr %8, align 8
  %736 = extractvalue { ptr, i32 } %734, 1
  store i32 %736, ptr %9, align 4
  br label %773

737:                                              ; preds = %560, %548, %538
  %738 = landingpad { ptr, i32 }
          cleanup
  %739 = extractvalue { ptr, i32 } %738, 0
  store ptr %739, ptr %8, align 8
  %740 = extractvalue { ptr, i32 } %738, 1
  store i32 %740, ptr %9, align 4
  br label %772

741:                                              ; preds = %586, %580
  %742 = landingpad { ptr, i32 }
          cleanup
  %743 = extractvalue { ptr, i32 } %742, 0
  store ptr %743, ptr %8, align 8
  %744 = extractvalue { ptr, i32 } %742, 1
  store i32 %744, ptr %9, align 4
  br label %749

745:                                              ; preds = %587
  %746 = landingpad { ptr, i32 }
          cleanup
  %747 = extractvalue { ptr, i32 } %746, 0
  store ptr %747, ptr %8, align 8
  %748 = extractvalue { ptr, i32 } %746, 1
  store i32 %748, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #9
  br label %749

749:                                              ; preds = %745, %741
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %65) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %64) #9
  br label %772

750:                                              ; preds = %708, %615, %609, %600
  %751 = landingpad { ptr, i32 }
          cleanup
  %752 = extractvalue { ptr, i32 } %751, 0
  store ptr %752, ptr %8, align 8
  %753 = extractvalue { ptr, i32 } %751, 1
  store i32 %753, ptr %9, align 4
  br label %771

754:                                              ; preds = %661, %649, %643, %634
  %755 = landingpad { ptr, i32 }
          cleanup
  %756 = extractvalue { ptr, i32 } %755, 0
  store ptr %756, ptr %8, align 8
  %757 = extractvalue { ptr, i32 } %755, 1
  store i32 %757, ptr %9, align 4
  br label %767

758:                                              ; preds = %681
  %759 = landingpad { ptr, i32 }
          cleanup
  %760 = extractvalue { ptr, i32 } %759, 0
  store ptr %760, ptr %8, align 8
  %761 = extractvalue { ptr, i32 } %759, 1
  store i32 %761, ptr %9, align 4
  br label %766

762:                                              ; preds = %686
  %763 = landingpad { ptr, i32 }
          cleanup
  %764 = extractvalue { ptr, i32 } %763, 0
  store ptr %764, ptr %8, align 8
  %765 = extractvalue { ptr, i32 } %763, 1
  store i32 %765, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #9
  br label %766

766:                                              ; preds = %762, %758
  call void @llvm.lifetime.end.p0(i64 32, ptr %81) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %80) #9
  br label %767

767:                                              ; preds = %766, %754
  call void @llvm.lifetime.end.p0(i64 16, ptr %73) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #9
  br label %771

768:                                              ; preds = %711, %710
  br label %769

769:                                              ; preds = %768
  br label %770

770:                                              ; preds = %769
  call void @llvm.lifetime.end.p0(i64 16, ptr %69) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %58) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %55) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #9
  br label %775

771:                                              ; preds = %767, %750
  call void @llvm.lifetime.end.p0(i64 16, ptr %69) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #9
  br label %772

772:                                              ; preds = %771, %749, %737
  call void @llvm.lifetime.end.p0(i64 16, ptr %58) #9
  br label %773

773:                                              ; preds = %772, %733
  call void @llvm.lifetime.end.p0(i64 16, ptr %55) #9
  br label %774

774:                                              ; preds = %773, %732, %720
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #9
  br label %1057

775:                                              ; preds = %770, %450
  call void @llvm.lifetime.start.p0(i64 8, ptr %84) #9
  store ptr %7, ptr %84, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %85) #9
  %776 = load ptr, ptr %84, align 8, !tbaa !5
  %777 = invoke noundef ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %776)
          to label %778 unwind label %787

778:                                              ; preds = %775
  store ptr %777, ptr %85, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %86) #9
  %779 = load ptr, ptr %84, align 8, !tbaa !5
  %780 = invoke noundef ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %779)
          to label %781 unwind label %791

781:                                              ; preds = %778
  store ptr %780, ptr %86, align 8, !tbaa !5
  br label %782

782:                                              ; preds = %831, %781
  %783 = load ptr, ptr %85, align 8, !tbaa !5
  %784 = load ptr, ptr %86, align 8, !tbaa !5
  %785 = icmp ne ptr %783, %784
  br i1 %785, label %795, label %786

786:                                              ; preds = %782
  store i32 11, ptr %39, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %86) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %85) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #9
  br label %840

787:                                              ; preds = %775
  %788 = landingpad { ptr, i32 }
          cleanup
  %789 = extractvalue { ptr, i32 } %788, 0
  store ptr %789, ptr %8, align 8
  %790 = extractvalue { ptr, i32 } %788, 1
  store i32 %790, ptr %9, align 4
  br label %839

791:                                              ; preds = %778
  %792 = landingpad { ptr, i32 }
          cleanup
  %793 = extractvalue { ptr, i32 } %792, 0
  store ptr %793, ptr %8, align 8
  %794 = extractvalue { ptr, i32 } %792, 1
  store i32 %794, ptr %9, align 4
  br label %838

795:                                              ; preds = %782
  call void @llvm.lifetime.start.p0(i64 16, ptr %87) #9
  %796 = load ptr, ptr %85, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %87, ptr align 16 %796, i64 16, i1 false), !tbaa.struct !24
  %797 = getelementptr inbounds %class.Test, ptr %118, i32 0, i32 4
  %798 = load ptr, ptr %797, align 8, !tbaa !31
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %90, ptr align 16 %40, i64 16, i1 false), !tbaa.struct !24
  %799 = getelementptr inbounds { double, double }, ptr %90, i32 0, i32 0
  %800 = load double, ptr %799, align 16
  %801 = getelementptr inbounds { double, double }, ptr %90, i32 0, i32 1
  %802 = load double, ptr %801, align 8
  %803 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %87, double %800, double %802)
          to label %804 unwind label %834

804:                                              ; preds = %795
  %805 = getelementptr inbounds %"class.JPH::Vec3", ptr %89, i32 0, i32 0
  %806 = getelementptr inbounds %union.anon, ptr %805, i32 0, i32 0
  %807 = getelementptr inbounds { double, double }, ptr %806, i32 0, i32 0
  %808 = extractvalue { double, double } %803, 0
  store double %808, ptr %807, align 16
  %809 = getelementptr inbounds { double, double }, ptr %806, i32 0, i32 1
  %810 = extractvalue { double, double } %803, 1
  store double %810, ptr %809, align 8
  %811 = getelementptr inbounds { double, double }, ptr %89, i32 0, i32 0
  %812 = load double, ptr %811, align 16
  %813 = getelementptr inbounds { double, double }, ptr %89, i32 0, i32 1
  %814 = load double, ptr %813, align 8
  %815 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef 1.000000e+01, double %812, double %814)
          to label %816 unwind label %834

816:                                              ; preds = %804
  %817 = getelementptr inbounds %"class.JPH::Vec3", ptr %88, i32 0, i32 0
  %818 = getelementptr inbounds %union.anon, ptr %817, i32 0, i32 0
  %819 = getelementptr inbounds { double, double }, ptr %818, i32 0, i32 0
  %820 = extractvalue { double, double } %815, 0
  store double %820, ptr %819, align 16
  %821 = getelementptr inbounds { double, double }, ptr %818, i32 0, i32 1
  %822 = extractvalue { double, double } %815, 1
  store double %822, ptr %821, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %91, ptr align 4 @_ZN3JPH5Color6sWhiteE, i64 4, i1 false), !tbaa.struct !32
  %823 = getelementptr inbounds { double, double }, ptr %88, i32 0, i32 0
  %824 = load double, ptr %823, align 16
  %825 = getelementptr inbounds { double, double }, ptr %88, i32 0, i32 1
  %826 = load double, ptr %825, align 8
  %827 = getelementptr inbounds %"class.JPH::Color", ptr %91, i32 0, i32 0
  %828 = getelementptr inbounds %union.anon.16, ptr %827, i32 0, i32 0
  %829 = load i32, ptr %828, align 4
  invoke void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef %798, double %824, double %826, i32 %829, float noundef 0x3F847AE140000000)
          to label %830 unwind label %834

830:                                              ; preds = %816
  call void @llvm.lifetime.end.p0(i64 16, ptr %87) #9
  br label %831

831:                                              ; preds = %830
  %832 = load ptr, ptr %85, align 8, !tbaa !5
  %833 = getelementptr inbounds %"class.JPH::Vec3", ptr %832, i32 1
  store ptr %833, ptr %85, align 8, !tbaa !5
  br label %782

834:                                              ; preds = %816, %804, %795
  %835 = landingpad { ptr, i32 }
          cleanup
  %836 = extractvalue { ptr, i32 } %835, 0
  store ptr %836, ptr %8, align 8
  %837 = extractvalue { ptr, i32 } %835, 1
  store i32 %837, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %87) #9
  br label %838

838:                                              ; preds = %834, %791
  call void @llvm.lifetime.end.p0(i64 8, ptr %86) #9
  br label %839

839:                                              ; preds = %838, %787
  call void @llvm.lifetime.end.p0(i64 8, ptr %85) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #9
  br label %1057

840:                                              ; preds = %786
  call void @llvm.lifetime.start.p0(i64 4, ptr %92) #9
  store i32 0, ptr %92, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %93) #9
  %841 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3JPH17ConvexHullBuilder8GetFacesEv(ptr noundef nonnull align 8 dereferenceable(56) %35)
          to label %842 unwind label %854

842:                                              ; preds = %840
  store ptr %841, ptr %93, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %94) #9
  %843 = load ptr, ptr %93, align 8, !tbaa !5
  %844 = invoke noundef ptr @_ZNK3JPH5ArrayIPNS_17ConvexHullBuilder4FaceENS_12STLAllocatorIS3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %843)
          to label %845 unwind label %858

845:                                              ; preds = %842
  store ptr %844, ptr %94, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %95) #9
  %846 = load ptr, ptr %93, align 8, !tbaa !5
  %847 = invoke noundef ptr @_ZNK3JPH5ArrayIPNS_17ConvexHullBuilder4FaceENS_12STLAllocatorIS3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %846)
          to label %848 unwind label %862

848:                                              ; preds = %845
  store ptr %847, ptr %95, align 8, !tbaa !5
  br label %849

849:                                              ; preds = %1028, %848
  %850 = load ptr, ptr %94, align 8, !tbaa !5
  %851 = load ptr, ptr %95, align 8, !tbaa !5
  %852 = icmp ne ptr %850, %851
  br i1 %852, label %866, label %853

853:                                              ; preds = %849
  store i32 13, ptr %39, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %94) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %93) #9
  br label %1053

854:                                              ; preds = %840
  %855 = landingpad { ptr, i32 }
          cleanup
  %856 = extractvalue { ptr, i32 } %855, 0
  store ptr %856, ptr %8, align 8
  %857 = extractvalue { ptr, i32 } %855, 1
  store i32 %857, ptr %9, align 4
  br label %1052

858:                                              ; preds = %842
  %859 = landingpad { ptr, i32 }
          cleanup
  %860 = extractvalue { ptr, i32 } %859, 0
  store ptr %860, ptr %8, align 8
  %861 = extractvalue { ptr, i32 } %859, 1
  store i32 %861, ptr %9, align 4
  br label %1051

862:                                              ; preds = %845
  %863 = landingpad { ptr, i32 }
          cleanup
  %864 = extractvalue { ptr, i32 } %863, 0
  store ptr %864, ptr %8, align 8
  %865 = extractvalue { ptr, i32 } %863, 1
  store i32 %865, ptr %9, align 4
  br label %1050

866:                                              ; preds = %849
  call void @llvm.lifetime.start.p0(i64 8, ptr %96) #9
  %867 = load ptr, ptr %94, align 8, !tbaa !5
  %868 = load ptr, ptr %867, align 8, !tbaa !5
  store ptr %868, ptr %96, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %97) #9
  %869 = load i32, ptr %92, align 4, !tbaa !22
  %870 = add nsw i32 %869, 1
  store i32 %870, ptr %92, align 4, !tbaa !22
  %871 = invoke i32 @_ZN3JPH5Color17sGetDistinctColorEi(i32 noundef %869)
          to label %872 unwind label %1031

872:                                              ; preds = %866
  %873 = getelementptr inbounds %"class.JPH::Color", ptr %97, i32 0, i32 0
  %874 = getelementptr inbounds %union.anon.16, ptr %873, i32 0, i32 0
  store i32 %871, ptr %874, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %98) #9
  %875 = load ptr, ptr %96, align 8, !tbaa !5
  %876 = getelementptr inbounds %"class.JPH::ConvexHullBuilder::Face", ptr %875, i32 0, i32 3
  %877 = load ptr, ptr %876, align 8, !tbaa !33
  store ptr %877, ptr %98, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %99) #9
  %878 = load ptr, ptr %98, align 8, !tbaa !5
  %879 = getelementptr inbounds %"class.JPH::ConvexHullBuilder::Edge", ptr %878, i32 0, i32 3
  %880 = load i32, ptr %879, align 8, !tbaa !37
  %881 = sext i32 %880 to i64
  %882 = invoke noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %881)
          to label %883 unwind label %1035

883:                                              ; preds = %872
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %101, ptr align 16 %40, i64 16, i1 false), !tbaa.struct !24
  %884 = getelementptr inbounds { double, double }, ptr %101, i32 0, i32 0
  %885 = load double, ptr %884, align 16
  %886 = getelementptr inbounds { double, double }, ptr %101, i32 0, i32 1
  %887 = load double, ptr %886, align 8
  %888 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %882, double %885, double %887)
          to label %889 unwind label %1035

889:                                              ; preds = %883
  %890 = getelementptr inbounds %"class.JPH::Vec3", ptr %100, i32 0, i32 0
  %891 = getelementptr inbounds %union.anon, ptr %890, i32 0, i32 0
  %892 = getelementptr inbounds { double, double }, ptr %891, i32 0, i32 0
  %893 = extractvalue { double, double } %888, 0
  store double %893, ptr %892, align 16
  %894 = getelementptr inbounds { double, double }, ptr %891, i32 0, i32 1
  %895 = extractvalue { double, double } %888, 1
  store double %895, ptr %894, align 8
  %896 = getelementptr inbounds { double, double }, ptr %100, i32 0, i32 0
  %897 = load double, ptr %896, align 16
  %898 = getelementptr inbounds { double, double }, ptr %100, i32 0, i32 1
  %899 = load double, ptr %898, align 8
  %900 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef 1.000000e+01, double %897, double %899)
          to label %901 unwind label %1035

901:                                              ; preds = %889
  %902 = getelementptr inbounds %"class.JPH::Vec3", ptr %99, i32 0, i32 0
  %903 = getelementptr inbounds %union.anon, ptr %902, i32 0, i32 0
  %904 = getelementptr inbounds { double, double }, ptr %903, i32 0, i32 0
  %905 = extractvalue { double, double } %900, 0
  store double %905, ptr %904, align 16
  %906 = getelementptr inbounds { double, double }, ptr %903, i32 0, i32 1
  %907 = extractvalue { double, double } %900, 1
  store double %907, ptr %906, align 8
  %908 = load ptr, ptr %98, align 8, !tbaa !5
  %909 = getelementptr inbounds %"class.JPH::ConvexHullBuilder::Edge", ptr %908, i32 0, i32 1
  %910 = load ptr, ptr %909, align 8, !tbaa !39
  store ptr %910, ptr %98, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %102) #9
  %911 = load ptr, ptr %98, align 8, !tbaa !5
  %912 = getelementptr inbounds %"class.JPH::ConvexHullBuilder::Edge", ptr %911, i32 0, i32 3
  %913 = load i32, ptr %912, align 8, !tbaa !37
  %914 = sext i32 %913 to i64
  %915 = invoke noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %914)
          to label %916 unwind label %1039

916:                                              ; preds = %901
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %104, ptr align 16 %40, i64 16, i1 false), !tbaa.struct !24
  %917 = getelementptr inbounds { double, double }, ptr %104, i32 0, i32 0
  %918 = load double, ptr %917, align 16
  %919 = getelementptr inbounds { double, double }, ptr %104, i32 0, i32 1
  %920 = load double, ptr %919, align 8
  %921 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %915, double %918, double %920)
          to label %922 unwind label %1039

922:                                              ; preds = %916
  %923 = getelementptr inbounds %"class.JPH::Vec3", ptr %103, i32 0, i32 0
  %924 = getelementptr inbounds %union.anon, ptr %923, i32 0, i32 0
  %925 = getelementptr inbounds { double, double }, ptr %924, i32 0, i32 0
  %926 = extractvalue { double, double } %921, 0
  store double %926, ptr %925, align 16
  %927 = getelementptr inbounds { double, double }, ptr %924, i32 0, i32 1
  %928 = extractvalue { double, double } %921, 1
  store double %928, ptr %927, align 8
  %929 = getelementptr inbounds { double, double }, ptr %103, i32 0, i32 0
  %930 = load double, ptr %929, align 16
  %931 = getelementptr inbounds { double, double }, ptr %103, i32 0, i32 1
  %932 = load double, ptr %931, align 8
  %933 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef 1.000000e+01, double %930, double %932)
          to label %934 unwind label %1039

934:                                              ; preds = %922
  %935 = getelementptr inbounds %"class.JPH::Vec3", ptr %102, i32 0, i32 0
  %936 = getelementptr inbounds %union.anon, ptr %935, i32 0, i32 0
  %937 = getelementptr inbounds { double, double }, ptr %936, i32 0, i32 0
  %938 = extractvalue { double, double } %933, 0
  store double %938, ptr %937, align 16
  %939 = getelementptr inbounds { double, double }, ptr %936, i32 0, i32 1
  %940 = extractvalue { double, double } %933, 1
  store double %940, ptr %939, align 8
  %941 = getelementptr inbounds %class.Test, ptr %118, i32 0, i32 4
  %942 = load ptr, ptr %941, align 8, !tbaa !31
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %105, ptr align 16 %99, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %106, ptr align 16 %102, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %107, ptr align 4 @_ZN3JPH5Color5sGreyE, i64 4, i1 false), !tbaa.struct !32
  %943 = getelementptr inbounds { double, double }, ptr %105, i32 0, i32 0
  %944 = load double, ptr %943, align 16
  %945 = getelementptr inbounds { double, double }, ptr %105, i32 0, i32 1
  %946 = load double, ptr %945, align 8
  %947 = getelementptr inbounds { double, double }, ptr %106, i32 0, i32 0
  %948 = load double, ptr %947, align 16
  %949 = getelementptr inbounds { double, double }, ptr %106, i32 0, i32 1
  %950 = load double, ptr %949, align 8
  %951 = getelementptr inbounds %"class.JPH::Color", ptr %107, i32 0, i32 0
  %952 = getelementptr inbounds %union.anon.16, ptr %951, i32 0, i32 0
  %953 = load i32, ptr %952, align 4
  invoke void @_Z10DrawLineSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorE(ptr noundef %942, double %944, double %946, double %948, double %950, i32 %953)
          to label %954 unwind label %1039

954:                                              ; preds = %934
  br label %955

955:                                              ; preds = %1021, %954
  %956 = load ptr, ptr %98, align 8, !tbaa !5
  %957 = getelementptr inbounds %"class.JPH::ConvexHullBuilder::Edge", ptr %956, i32 0, i32 1
  %958 = load ptr, ptr %957, align 8, !tbaa !39
  store ptr %958, ptr %98, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %108) #9
  %959 = load ptr, ptr %98, align 8, !tbaa !5
  %960 = getelementptr inbounds %"class.JPH::ConvexHullBuilder::Edge", ptr %959, i32 0, i32 3
  %961 = load i32, ptr %960, align 8, !tbaa !37
  %962 = sext i32 %961 to i64
  %963 = invoke noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %962)
          to label %964 unwind label %1043

964:                                              ; preds = %955
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %110, ptr align 16 %40, i64 16, i1 false), !tbaa.struct !24
  %965 = getelementptr inbounds { double, double }, ptr %110, i32 0, i32 0
  %966 = load double, ptr %965, align 16
  %967 = getelementptr inbounds { double, double }, ptr %110, i32 0, i32 1
  %968 = load double, ptr %967, align 8
  %969 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %963, double %966, double %968)
          to label %970 unwind label %1043

970:                                              ; preds = %964
  %971 = getelementptr inbounds %"class.JPH::Vec3", ptr %109, i32 0, i32 0
  %972 = getelementptr inbounds %union.anon, ptr %971, i32 0, i32 0
  %973 = getelementptr inbounds { double, double }, ptr %972, i32 0, i32 0
  %974 = extractvalue { double, double } %969, 0
  store double %974, ptr %973, align 16
  %975 = getelementptr inbounds { double, double }, ptr %972, i32 0, i32 1
  %976 = extractvalue { double, double } %969, 1
  store double %976, ptr %975, align 8
  %977 = getelementptr inbounds { double, double }, ptr %109, i32 0, i32 0
  %978 = load double, ptr %977, align 16
  %979 = getelementptr inbounds { double, double }, ptr %109, i32 0, i32 1
  %980 = load double, ptr %979, align 8
  %981 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef 1.000000e+01, double %978, double %980)
          to label %982 unwind label %1043

982:                                              ; preds = %970
  %983 = getelementptr inbounds %"class.JPH::Vec3", ptr %108, i32 0, i32 0
  %984 = getelementptr inbounds %union.anon, ptr %983, i32 0, i32 0
  %985 = getelementptr inbounds { double, double }, ptr %984, i32 0, i32 0
  %986 = extractvalue { double, double } %981, 0
  store double %986, ptr %985, align 16
  %987 = getelementptr inbounds { double, double }, ptr %984, i32 0, i32 1
  %988 = extractvalue { double, double } %981, 1
  store double %988, ptr %987, align 8
  %989 = getelementptr inbounds %class.Test, ptr %118, i32 0, i32 4
  %990 = load ptr, ptr %989, align 8, !tbaa !31
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %111, ptr align 16 %99, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %112, ptr align 16 %102, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %113, ptr align 16 %108, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %114, ptr align 4 %97, i64 4, i1 false), !tbaa.struct !32
  %991 = getelementptr inbounds { double, double }, ptr %111, i32 0, i32 0
  %992 = load double, ptr %991, align 16
  %993 = getelementptr inbounds { double, double }, ptr %111, i32 0, i32 1
  %994 = load double, ptr %993, align 8
  %995 = getelementptr inbounds { double, double }, ptr %112, i32 0, i32 0
  %996 = load double, ptr %995, align 16
  %997 = getelementptr inbounds { double, double }, ptr %112, i32 0, i32 1
  %998 = load double, ptr %997, align 8
  %999 = getelementptr inbounds { double, double }, ptr %113, i32 0, i32 0
  %1000 = load double, ptr %999, align 16
  %1001 = getelementptr inbounds { double, double }, ptr %113, i32 0, i32 1
  %1002 = load double, ptr %1001, align 8
  %1003 = getelementptr inbounds %"class.JPH::Color", ptr %114, i32 0, i32 0
  %1004 = getelementptr inbounds %union.anon.16, ptr %1003, i32 0, i32 0
  %1005 = load i32, ptr %1004, align 4
  invoke void @_Z14DrawTriangleSPPN3JPH13DebugRendererENS_4Vec3ES2_S2_NS_5ColorE(ptr noundef %990, double %992, double %994, double %996, double %998, double %1000, double %1002, i32 %1005)
          to label %1006 unwind label %1043

1006:                                             ; preds = %982
  %1007 = getelementptr inbounds %class.Test, ptr %118, i32 0, i32 4
  %1008 = load ptr, ptr %1007, align 8, !tbaa !31
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %115, ptr align 16 %102, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %116, ptr align 16 %108, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %117, ptr align 4 @_ZN3JPH5Color5sGreyE, i64 4, i1 false), !tbaa.struct !32
  %1009 = getelementptr inbounds { double, double }, ptr %115, i32 0, i32 0
  %1010 = load double, ptr %1009, align 16
  %1011 = getelementptr inbounds { double, double }, ptr %115, i32 0, i32 1
  %1012 = load double, ptr %1011, align 8
  %1013 = getelementptr inbounds { double, double }, ptr %116, i32 0, i32 0
  %1014 = load double, ptr %1013, align 16
  %1015 = getelementptr inbounds { double, double }, ptr %116, i32 0, i32 1
  %1016 = load double, ptr %1015, align 8
  %1017 = getelementptr inbounds %"class.JPH::Color", ptr %117, i32 0, i32 0
  %1018 = getelementptr inbounds %union.anon.16, ptr %1017, i32 0, i32 0
  %1019 = load i32, ptr %1018, align 4
  invoke void @_Z10DrawLineSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorE(ptr noundef %1008, double %1010, double %1012, double %1014, double %1016, i32 %1019)
          to label %1020 unwind label %1043

1020:                                             ; preds = %1006
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %102, ptr align 16 %108, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.end.p0(i64 16, ptr %108) #9
  br label %1021

1021:                                             ; preds = %1020
  %1022 = load ptr, ptr %98, align 8, !tbaa !5
  %1023 = load ptr, ptr %96, align 8, !tbaa !5
  %1024 = getelementptr inbounds %"class.JPH::ConvexHullBuilder::Face", ptr %1023, i32 0, i32 3
  %1025 = load ptr, ptr %1024, align 8, !tbaa !33
  %1026 = icmp ne ptr %1022, %1025
  br i1 %1026, label %955, label %1027, !llvm.loop !42

1027:                                             ; preds = %1021
  call void @llvm.lifetime.end.p0(i64 16, ptr %102) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %99) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %98) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %97) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %96) #9
  br label %1028

1028:                                             ; preds = %1027
  %1029 = load ptr, ptr %94, align 8, !tbaa !5
  %1030 = getelementptr inbounds ptr, ptr %1029, i32 1
  store ptr %1030, ptr %94, align 8, !tbaa !5
  br label %849

1031:                                             ; preds = %866
  %1032 = landingpad { ptr, i32 }
          cleanup
  %1033 = extractvalue { ptr, i32 } %1032, 0
  store ptr %1033, ptr %8, align 8
  %1034 = extractvalue { ptr, i32 } %1032, 1
  store i32 %1034, ptr %9, align 4
  br label %1049

1035:                                             ; preds = %889, %883, %872
  %1036 = landingpad { ptr, i32 }
          cleanup
  %1037 = extractvalue { ptr, i32 } %1036, 0
  store ptr %1037, ptr %8, align 8
  %1038 = extractvalue { ptr, i32 } %1036, 1
  store i32 %1038, ptr %9, align 4
  br label %1048

1039:                                             ; preds = %934, %922, %916, %901
  %1040 = landingpad { ptr, i32 }
          cleanup
  %1041 = extractvalue { ptr, i32 } %1040, 0
  store ptr %1041, ptr %8, align 8
  %1042 = extractvalue { ptr, i32 } %1040, 1
  store i32 %1042, ptr %9, align 4
  br label %1047

1043:                                             ; preds = %1006, %982, %970, %964, %955
  %1044 = landingpad { ptr, i32 }
          cleanup
  %1045 = extractvalue { ptr, i32 } %1044, 0
  store ptr %1045, ptr %8, align 8
  %1046 = extractvalue { ptr, i32 } %1044, 1
  store i32 %1046, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %108) #9
  br label %1047

1047:                                             ; preds = %1043, %1039
  call void @llvm.lifetime.end.p0(i64 16, ptr %102) #9
  br label %1048

1048:                                             ; preds = %1047, %1035
  call void @llvm.lifetime.end.p0(i64 16, ptr %99) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %98) #9
  br label %1049

1049:                                             ; preds = %1048, %1031
  call void @llvm.lifetime.end.p0(i64 4, ptr %97) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %96) #9
  br label %1050

1050:                                             ; preds = %1049, %862
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #9
  br label %1051

1051:                                             ; preds = %1050, %858
  call void @llvm.lifetime.end.p0(i64 8, ptr %94) #9
  br label %1052

1052:                                             ; preds = %1051, %854
  call void @llvm.lifetime.end.p0(i64 8, ptr %93) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %92) #9
  br label %1057

1053:                                             ; preds = %853
  call void @llvm.lifetime.end.p0(i64 4, ptr %92) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #9
  store i32 0, ptr %39, align 4
  br label %1054

1054:                                             ; preds = %1053, %444
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  call void @_ZN3JPH17ConvexHullBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %35) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %35) #9
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #9
  %1055 = load i32, ptr %39, align 4
  switch i32 %1055, label %1067 [
    i32 0, label %1056
    i32 1, label %1056
  ]

1056:                                             ; preds = %1054, %1054
  ret void

1057:                                             ; preds = %1052, %839, %774, %716
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  br label %1058

1058:                                             ; preds = %1057, %712
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #9
  br label %1059

1059:                                             ; preds = %1058, %438
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  call void @_ZN3JPH17ConvexHullBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %35) #9
  br label %1060

1060:                                             ; preds = %1059, %434
  call void @llvm.lifetime.end.p0(i64 56, ptr %35) #9
  br label %1061

1061:                                             ; preds = %1060, %409, %133
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #9
  br label %1062

1062:                                             ; preds = %1061
  %1063 = load ptr, ptr %8, align 8
  %1064 = load i32, ptr %9, align 4
  %1065 = insertvalue { ptr, i32 } poison, ptr %1063, 0
  %1066 = insertvalue { ptr, i32 } %1065, i32 %1064, 1
  resume { ptr, i32 } %1066

1067:                                             ; preds = %1054
  unreachable
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH5ArrayINS0_INS_4Vec3ENS_12STLAllocatorIS1_EEEENS2_IS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt25uniform_real_distributionIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef, double, double) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec37sRandomISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEES0_RT_(ptr noundef nonnull align 8 dereferenceable(8)) #4 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) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNSt26linear_congruential_engineImLm16807ELm0ELm2147483647EEclEv(ptr noundef nonnull align 8 dereferenceable(8)) #5 align 2

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

declare void @_ZN3JPH17ConvexHullBuilderC1ERKNS_5ArrayINS_4Vec3ENS_12STLAllocatorIS2_EEEE(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #7

declare noundef i32 @_ZN3JPH17ConvexHullBuilder10InitializeEifRPKc(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, float noundef, ptr noundef nonnull align 8 dereferenceable(8)) #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef) #4

declare void @_ZNK3JPH17ConvexHullBuilder24GetCenterOfMassAndVolumeERNS_4Vec3ERf(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #7

declare void @_ZNK3JPH17ConvexHullBuilder17DetermineMaxErrorERPNS0_4FaceERfRiS4_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #7

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef, double, double, i32, float noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z12DrawText3DSPPN3JPH13DebugRendererENS_4Vec3ERKSt17basic_string_viewIcSt11char_traitsIcEENS_5ColorEf(ptr noundef, double, double, ptr noundef nonnull align 8 dereferenceable(16), i32, float noundef) #4

declare void @_ZN3JPH12StringFormatB5cxx11EPKcz(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ...) #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16)) #8 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z11DrawArrowSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorEf(ptr noundef, double, double, double, double, i32, float noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH15ConvertToStringIfEENSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEERKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 4 dereferenceable(4)) #5

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZNK3JPH4Vec36LengthEv(ptr noundef nonnull align 16 dereferenceable(16)) #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH15ConvertToStringIiEENSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEERKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 4 dereferenceable(4)) #5

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

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

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

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

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

declare i32 @_ZN3JPH5Color17sGetDistinctColorEi(i32 noundef) #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z10DrawLineSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorE(ptr noundef, double, double, double, double, i32) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z14DrawTriangleSPPN3JPH13DebugRendererENS_4Vec3ES2_S2_NS_5ColorE(ptr noundef, double, double, double, double, double, double, i32) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH17ConvexHullBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #3 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !17, i64 136}
!12 = !{!"_ZTS14ConvexHullTest", !13, i64 0, !20, i64 112, !17, i64 136, !21, i64 144}
!13 = !{!"_ZTS4Test", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !14, i64 48, !15, i64 56}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !16, i64 0}
!16 = !{!"_ZTSSt10_HashtableIN3JPH6BodyIDESt4pairIKS1_NSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEEESaISB_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENSD_18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyENSD_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !17, i64 8, !18, i64 16, !17, i64 24, !19, i64 32, !6, i64 48}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!19 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !10, i64 0, !17, i64 8}
!20 = !{!"_ZTSN3JPH5ArrayINS0_INS_4Vec3ENS_12STLAllocatorIS1_EEEENS2_IS4_EEEE", !17, i64 0, !17, i64 8, !6, i64 16}
!21 = !{!"_ZTSSt26linear_congruential_engineImLm16807ELm0ELm2147483647EE", !17, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"int", !7, i64 0}
!24 = !{i64 0, i64 16, !25}
!25 = !{!7, !7, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!29, !29, i64 0}
!29 = !{!"_ZTSN3JPH17ConvexHullBuilder7EResultE", !7, i64 0}
!30 = !{i64 2160183340}
!31 = !{!13, !6, i64 32}
!32 = !{i64 0, i64 4, !25}
!33 = !{!34, !6, i64 56}
!34 = !{!"_ZTSN3JPH17ConvexHullBuilder4FaceE", !35, i64 0, !35, i64 16, !36, i64 32, !6, i64 56, !10, i64 64, !14, i64 68}
!35 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!36 = !{!"_ZTSN3JPH5ArrayIiNS_12STLAllocatorIiEEEE", !17, i64 0, !17, i64 8, !6, i64 16}
!37 = !{!38, !23, i64 24}
!38 = !{!"_ZTSN3JPH17ConvexHullBuilder4EdgeE", !6, i64 0, !6, i64 8, !6, i64 16, !23, i64 24}
!39 = !{!38, !6, i64 8}
!40 = distinct !{!40, !27}
!41 = !{i64 2160183659}
!42 = distinct !{!42, !27}


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

%"class.JPH::Color" = type { %union.anon.16 }
%union.anon.16 = type { i32 }
%"class.JPH::Array.4" = type { i64, i64, ptr }
%"class.std::uniform_real_distribution" = type { %"struct.std::uniform_real_distribution<float>::param_type" }
%"struct.std::uniform_real_distribution<float>::param_type" = type { float, float }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::ConvexHullBuilder" = type { ptr, %"class.JPH::Array.10", %"class.JPH::Array.13" }
%"class.JPH::Array.10" = type { i64, i64, ptr }
%"class.JPH::Array.13" = type { i64, i64, ptr }
%"class.std::basic_string_view" = type { i64, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider", i64, %union.anon.19 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon.19 = type { i64, [8 x i8] }

@_ZN3JPH5TraceE = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [27 x i8], align 1
@_ZN3JPH5Color4sRedE = external local_unnamed_addr global %"class.JPH::Color", align 4
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@_ZN3JPH5Color6sGreenE = external local_unnamed_addr global %"class.JPH::Color", align 4
@_ZN3JPH5Color7sYellowE = external local_unnamed_addr global %"class.JPH::Color", align 4
@_ZN3JPH5Color6sWhiteE = external local_unnamed_addr global %"class.JPH::Color", align 4
@_ZN3JPH5Color5sGreyE = external local_unnamed_addr global %"class.JPH::Color", align 4

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16), float noundef, float noundef, float noundef) unnamed_addr #1 align 2

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3mlES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14ConvexHullTest16PrePhysicsUpdateERKN4Test15PreUpdateParamsE(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr nocapture noundef nonnull readnone align 16 dereferenceable(80) %1) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca float, align 4
  %4 = alloca %"class.JPH::Array.4", align 8
  %5 = alloca %"class.std::uniform_real_distribution", align 4
  %6 = alloca %"class.std::uniform_real_distribution", align 4
  %7 = alloca %"class.std::uniform_real_distribution", align 4
  %8 = alloca %"class.std::uniform_real_distribution", align 4
  %9 = alloca %"class.std::uniform_real_distribution", align 4
  %10 = alloca %"class.std::uniform_real_distribution", align 4
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = alloca %"class.JPH::Vec3", align 16
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca %"class.JPH::Vec3", align 16
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca %"class.JPH::ConvexHullBuilder", align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca %"class.std::basic_string_view", align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.JPH::Vec3", align 16
  %29 = alloca %"class.std::basic_string_view", align 8
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca float, align 4
  %32 = alloca %"class.std::basic_string_view", align 8
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.JPH::Vec3", align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #9
  store float 0x3F50624DE0000000, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #9
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  %35 = getelementptr inbounds i8, ptr %0, i64 136
  %36 = load i64, ptr %35, align 8, !tbaa !9
  %37 = getelementptr inbounds i8, ptr %0, i64 112
  %38 = call noundef i64 @_ZNK3JPH5ArrayINS0_INS_4Vec3ENS_12STLAllocatorIS1_EEEENS2_IS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %37)
  %39 = icmp ult i64 %36, %38
  br i1 %39, label %40, label %47

40:                                               ; preds = %2
  %41 = load i64, ptr %35, align 8, !tbaa !9
  %42 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH5ArrayINS0_INS_4Vec3ENS_12STLAllocatorIS1_EEEENS2_IS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %41)
          to label %43 unwind label %45

43:                                               ; preds = %40
  %44 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %42)
          to label %186 unwind label %45

45:                                               ; preds = %43, %40
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %451

47:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  invoke void @_ZNSt25uniform_real_distributionIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef 0.000000e+00, float noundef 1.000000e+00)
          to label %48 unwind label %73

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  invoke void @_ZNSt25uniform_real_distributionIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 0.000000e+00, float noundef 2.000000e+00)
          to label %49 unwind label %75

49:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  invoke void @_ZNSt25uniform_real_distributionIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef 0x3FB99999A0000000, float noundef 5.000000e-01)
          to label %50 unwind label %77

50:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  invoke void @_ZNSt25uniform_real_distributionIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef 0x3FB99999A0000000, float noundef 2.000000e+00)
          to label %51 unwind label %79

51:                                               ; preds = %50
  %52 = getelementptr inbounds i8, ptr %0, i64 144
  %53 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %52)
          to label %54 unwind label %81

54:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  %55 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %52)
          to label %56 unwind label %83

56:                                               ; preds = %54
  %57 = fadd float %53, %55
  invoke void @_ZNSt25uniform_real_distributionIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %53, float noundef %57)
          to label %58 unwind label %83

58:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  invoke void @_ZNSt25uniform_real_distributionIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef 0x3FB99999A0000000, float noundef 1.000000e+00)
          to label %59 unwind label %85

59:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #9
  %60 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %52)
          to label %61 unwind label %87

61:                                               ; preds = %59
  %62 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %52)
          to label %63 unwind label %87

63:                                               ; preds = %61
  %64 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %52)
          to label %65 unwind label %87

65:                                               ; preds = %63
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %11, float noundef %60, float noundef %62, float noundef %64)
          to label %.preheader216 unwind label %87

.preheader216:                                    ; preds = %65
  %66 = getelementptr inbounds i8, ptr %13, i64 8
  %.sroa.2132.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 8
  %67 = getelementptr inbounds i8, ptr %12, i64 8
  %68 = getelementptr inbounds i8, ptr %14, i64 8
  %69 = getelementptr inbounds i8, ptr %16, i64 8
  %70 = getelementptr inbounds i8, ptr %15, i64 8
  %71 = getelementptr inbounds i8, ptr %17, i64 8
  br label %89

72:                                               ; preds = %160
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  br label %186

73:                                               ; preds = %47
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %185

75:                                               ; preds = %48
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %184

77:                                               ; preds = %49
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %183

79:                                               ; preds = %50
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %182

81:                                               ; preds = %51
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %182

83:                                               ; preds = %56, %54
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %181

85:                                               ; preds = %58
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %180

87:                                               ; preds = %65, %63, %61, %59
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %179

89:                                               ; preds = %.preheader216, %160
  %.0170217 = phi i32 [ 0, %.preheader216 ], [ %161, %160 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #9
  %90 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %52)
          to label %91 unwind label %162

91:                                               ; preds = %89
  %92 = invoke { double, double } @_ZN3JPH4Vec37sRandomISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEES0_RT_(ptr noundef nonnull align 8 dereferenceable(8) %52)
          to label %93 unwind label %162

93:                                               ; preds = %91
  %94 = extractvalue { double, double } %92, 0
  %95 = extractvalue { double, double } %92, 1
  %96 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %90, double %94, double %95)
          to label %97 unwind label %162

97:                                               ; preds = %93
  %98 = extractvalue { double, double } %96, 0
  store double %98, ptr %13, align 16
  %99 = extractvalue { double, double } %96, 1
  store double %99, ptr %66, align 8
  %.sroa.0131.0.copyload = load double, ptr %11, align 16
  %.sroa.2132.0.copyload = load double, ptr %.sroa.2132.0..sroa_idx, align 8, !tbaa !21
  %100 = invoke { double, double } @_ZNK3JPH4Vec3mlES0_(ptr noundef nonnull align 16 dereferenceable(16) %13, double %.sroa.0131.0.copyload, double %.sroa.2132.0.copyload)
          to label %101 unwind label %162

101:                                              ; preds = %97
  %102 = extractvalue { double, double } %100, 0
  store double %102, ptr %12, align 16
  %103 = extractvalue { double, double } %100, 1
  store double %103, ptr %67, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 16 dereferenceable(16) %12)
          to label %104 unwind label %164

104:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #9
  %105 = load float, ptr %3, align 4, !tbaa !5
  %106 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %52)
          to label %107 unwind label %166

107:                                              ; preds = %104
  %108 = invoke { double, double } @_ZN3JPH4Vec37sRandomISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEES0_RT_(ptr noundef nonnull align 8 dereferenceable(8) %52)
          to label %109 unwind label %166

109:                                              ; preds = %107
  %110 = fmul float %105, %106
  %111 = extractvalue { double, double } %108, 0
  %112 = extractvalue { double, double } %108, 1
  %113 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %110, double %111, double %112)
          to label %114 unwind label %166

114:                                              ; preds = %109
  %115 = extractvalue { double, double } %113, 0
  %116 = extractvalue { double, double } %113, 1
  %117 = invoke { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %12, double %115, double %116)
          to label %118 unwind label %166

118:                                              ; preds = %114
  %119 = extractvalue { double, double } %117, 0
  store double %119, ptr %14, align 16
  %120 = extractvalue { double, double } %117, 1
  store double %120, ptr %68, align 8
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 16 dereferenceable(16) %14)
          to label %121 unwind label %166

121:                                              ; preds = %118
  %122 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %52)
          to label %123 unwind label %168

123:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #9
  %.sroa.0123.0.copyload = load double, ptr %12, align 16
  %.sroa.2124.0.copyload = load double, ptr %67, align 8, !tbaa !21
  %124 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %122, double %.sroa.0123.0.copyload, double %.sroa.2124.0.copyload)
          to label %125 unwind label %170

125:                                              ; preds = %123
  %126 = extractvalue { double, double } %124, 0
  store double %126, ptr %16, align 16
  %127 = extractvalue { double, double } %124, 1
  store double %127, ptr %69, align 8
  %128 = fsub float 1.000000e+00, %122
  %129 = invoke noundef i64 @_ZNSt26linear_congruential_engineImLm16807ELm0ELm2147483647EEclEv(ptr noundef nonnull align 8 dereferenceable(8) %52)
          to label %130 unwind label %170

130:                                              ; preds = %125
  %131 = call noundef i64 @_ZNK3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %132 = urem i64 %129, %131
  %133 = invoke noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %132)
          to label %134 unwind label %170

134:                                              ; preds = %130
  %.sroa.0119.0.copyload = load double, ptr %133, align 16
  %.sroa.2120.0..sroa_idx = getelementptr inbounds i8, ptr %133, i64 8
  %.sroa.2120.0.copyload = load double, ptr %.sroa.2120.0..sroa_idx, align 8, !tbaa !21
  %135 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %128, double %.sroa.0119.0.copyload, double %.sroa.2120.0.copyload)
          to label %136 unwind label %170

136:                                              ; preds = %134
  %137 = extractvalue { double, double } %135, 0
  %138 = extractvalue { double, double } %135, 1
  %139 = invoke { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %16, double %137, double %138)
          to label %140 unwind label %170

140:                                              ; preds = %136
  %141 = extractvalue { double, double } %139, 0
  store double %141, ptr %15, align 16
  %142 = extractvalue { double, double } %139, 1
  store double %142, ptr %70, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #9
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 16 dereferenceable(16) %15)
          to label %143 unwind label %172

143:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #9
  %144 = load float, ptr %3, align 4, !tbaa !5
  %145 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %52)
          to label %146 unwind label %174

146:                                              ; preds = %143
  %147 = invoke { double, double } @_ZN3JPH4Vec37sRandomISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEES0_RT_(ptr noundef nonnull align 8 dereferenceable(8) %52)
          to label %148 unwind label %174

148:                                              ; preds = %146
  %149 = fmul float %144, %145
  %150 = extractvalue { double, double } %147, 0
  %151 = extractvalue { double, double } %147, 1
  %152 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %149, double %150, double %151)
          to label %153 unwind label %174

153:                                              ; preds = %148
  %154 = extractvalue { double, double } %152, 0
  %155 = extractvalue { double, double } %152, 1
  %156 = invoke { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %15, double %154, double %155)
          to label %157 unwind label %174

157:                                              ; preds = %153
  %158 = extractvalue { double, double } %156, 0
  store double %158, ptr %17, align 16
  %159 = extractvalue { double, double } %156, 1
  store double %159, ptr %71, align 8
  invoke void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 16 dereferenceable(16) %17)
          to label %160 unwind label %174

160:                                              ; preds = %157
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #9
  %161 = add nuw nsw i32 %.0170217, 1
  %exitcond.not = icmp eq i32 %161, 100
  br i1 %exitcond.not, label %72, label %89, !llvm.loop !22

162:                                              ; preds = %97, %93, %91, %89
  %163 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  br label %178

164:                                              ; preds = %101
  %165 = landingpad { ptr, i32 }
          cleanup
  br label %178

166:                                              ; preds = %118, %114, %109, %107, %104
  %167 = landingpad { ptr, i32 }
          cleanup
  br label %177

168:                                              ; preds = %121
  %169 = landingpad { ptr, i32 }
          cleanup
  br label %177

170:                                              ; preds = %136, %134, %130, %125, %123
  %171 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #9
  br label %176

172:                                              ; preds = %140
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %176

174:                                              ; preds = %157, %153, %148, %146, %143
  %175 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #9
  br label %176

176:                                              ; preds = %174, %172, %170
  %.pn = phi { ptr, i32 } [ %175, %174 ], [ %173, %172 ], [ %171, %170 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #9
  br label %177

177:                                              ; preds = %168, %176, %166
  %.pn.pn.pn = phi { ptr, i32 } [ %167, %166 ], [ %.pn, %176 ], [ %169, %168 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #9
  br label %178

178:                                              ; preds = %177, %164, %162
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %177 ], [ %165, %164 ], [ %163, %162 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #9
  br label %179

179:                                              ; preds = %178, %87
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %178 ], [ %88, %87 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  br label %180

180:                                              ; preds = %179, %85
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %179 ], [ %86, %85 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  br label %181

181:                                              ; preds = %180, %83
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %180 ], [ %84, %83 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  br label %182

182:                                              ; preds = %81, %181, %79
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %80, %79 ], [ %.pn.pn.pn.pn.pn.pn.pn, %181 ], [ %82, %81 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  br label %183

183:                                              ; preds = %182, %77
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn, %182 ], [ %78, %77 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  br label %184

184:                                              ; preds = %183, %75
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %183 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  br label %185

185:                                              ; preds = %184, %73
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %184 ], [ %74, %73 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  br label %451

186:                                              ; preds = %43, %72
  %187 = load i64, ptr %35, align 8, !tbaa !9
  %188 = add i64 %187, 1
  store i64 %188, ptr %35, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %18) #9
  invoke void @_ZN3JPH17ConvexHullBuilderC1ERKNS_5ArrayINS_4Vec3ENS_12STLAllocatorIS2_EEEE(ptr noundef nonnull align 8 dereferenceable(56) %18, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %189 unwind label %202

189:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  store ptr null, ptr %19, align 8, !tbaa !24
  %190 = load float, ptr %3, align 4, !tbaa !5
  %191 = invoke noundef i32 @_ZN3JPH17ConvexHullBuilder10InitializeEifRPKc(ptr noundef nonnull align 8 dereferenceable(56) %18, i32 noundef 2147483647, float noundef %190, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %192 unwind label %204

192:                                              ; preds = %189
  %or.cond = icmp ugt i32 %191, 1
  br i1 %or.cond, label %193, label %206

193:                                              ; preds = %192
  %194 = load ptr, ptr @_ZN3JPH5TraceE, align 8, !tbaa !24
  %195 = load i64, ptr %35, align 8, !tbaa !9
  %196 = add i64 %195, -1
  %197 = load ptr, ptr %19, align 8, !tbaa !24
  invoke void (ptr, ...) %194(ptr noundef nonnull @.str.2, i64 noundef %196, ptr noundef %197)
          to label %198 unwind label %204

198:                                              ; preds = %193
  %199 = invoke noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, i32 noundef 546)
          to label %200 unwind label %204

200:                                              ; preds = %198
  br i1 %199, label %201, label %446

201:                                              ; preds = %200
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #9, !srcloc !25
  br label %446

202:                                              ; preds = %186
  %203 = landingpad { ptr, i32 }
          cleanup
  br label %450

204:                                              ; preds = %198, %193, %189
  %205 = landingpad { ptr, i32 }
          cleanup
  br label %449

206:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #9
  invoke void @_ZNK3JPH17ConvexHullBuilder24GetCenterOfMassAndVolumeERNS_4Vec3ERf(ptr noundef nonnull align 8 dereferenceable(56) %18, ptr noundef nonnull align 16 dereferenceable(16) %20, ptr noundef nonnull align 4 dereferenceable(4) %21)
          to label %207 unwind label %327

207:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #9
  invoke void @_ZNK3JPH17ConvexHullBuilder17DetermineMaxErrorERPNS0_4FaceERfRiS4_(ptr noundef nonnull align 8 dereferenceable(56) %18, ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %208 unwind label %329

208:                                              ; preds = %207
  %209 = load float, ptr %22, align 4, !tbaa !5
  %210 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %23)
  %211 = load float, ptr %210, align 4, !tbaa !5
  %212 = fmul float %211, 4.000000e+00
  %213 = fcmp ogt float %209, %212
  br i1 %213, label %214, label %358

214:                                              ; preds = %208
  %215 = load ptr, ptr @_ZN3JPH5TraceE, align 8, !tbaa !24
  %216 = load i64, ptr %35, align 8, !tbaa !9
  %217 = add i64 %216, -1
  %218 = load float, ptr %22, align 4, !tbaa !5
  %219 = fpext float %218 to double
  invoke void (ptr, ...) %215(ptr noundef nonnull @.str.5, i64 noundef %217, double noundef %219)
          to label %220 unwind label %329

220:                                              ; preds = %214
  %221 = load i32, ptr %24, align 4, !tbaa !26
  %222 = sext i32 %221 to i64
  %223 = invoke noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %222)
          to label %224 unwind label %331

224:                                              ; preds = %220
  %.sroa.0107.0.copyload = load double, ptr %20, align 16
  %.sroa.2108.0..sroa_idx = getelementptr inbounds i8, ptr %20, i64 8
  %.sroa.2108.0.copyload = load double, ptr %.sroa.2108.0..sroa_idx, align 8, !tbaa !21
  %225 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %223, double %.sroa.0107.0.copyload, double %.sroa.2108.0.copyload)
          to label %226 unwind label %331

226:                                              ; preds = %224
  %227 = extractvalue { double, double } %225, 0
  %228 = extractvalue { double, double } %225, 1
  %229 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef 1.000000e+01, double %227, double %228)
          to label %230 unwind label %331

230:                                              ; preds = %226
  %231 = extractvalue { double, double } %229, 0
  %232 = extractvalue { double, double } %229, 1
  %233 = getelementptr inbounds i8, ptr %0, i64 32
  %234 = load ptr, ptr %233, align 8, !tbaa !28
  %.sroa.0104.0.copyload = load i32, ptr @_ZN3JPH5Color4sRedE, align 4, !tbaa !21
  invoke void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef %234, double %231, double %232, i32 %.sroa.0104.0.copyload, float noundef 1.000000e+00)
          to label %235 unwind label %331

235:                                              ; preds = %230
  %236 = load ptr, ptr %233, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %27) #9
  %237 = load i32, ptr %24, align 4, !tbaa !26
  %238 = load float, ptr %22, align 4, !tbaa !5
  %239 = fpext float %238 to double
  invoke void (ptr, ptr, ...) @_ZN3JPH12StringFormatB5cxx11EPKcz(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %27, ptr noundef nonnull @.str.6, i32 noundef %237, double noundef %239)
          to label %240 unwind label %333

240:                                              ; preds = %235
  %241 = call { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  %242 = extractvalue { i64, ptr } %241, 0
  store i64 %242, ptr %26, align 8
  %243 = getelementptr inbounds i8, ptr %26, i64 8
  %244 = extractvalue { i64, ptr } %241, 1
  store ptr %244, ptr %243, align 8
  %.sroa.0101.0.copyload = load i32, ptr @_ZN3JPH5Color4sRedE, align 4, !tbaa !21
  invoke void @_Z12DrawText3DSPPN3JPH13DebugRendererENS_4Vec3ERKSt17basic_string_viewIcSt11char_traitsIcEENS_5ColorEf(ptr noundef %236, double %231, double %232, ptr noundef nonnull align 8 dereferenceable(16) %26, i32 %.sroa.0101.0.copyload, float noundef 5.000000e-01)
          to label %245 unwind label %335

245:                                              ; preds = %240
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #9
  %246 = load ptr, ptr %25, align 8, !tbaa !24
  %247 = getelementptr inbounds i8, ptr %246, i64 16
  %.sroa.097.0.copyload = load double, ptr %20, align 16
  %.sroa.298.0.copyload = load double, ptr %.sroa.2108.0..sroa_idx, align 8, !tbaa !21
  %248 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %247, double %.sroa.097.0.copyload, double %.sroa.298.0.copyload)
          to label %249 unwind label %338

249:                                              ; preds = %245
  %250 = extractvalue { double, double } %248, 0
  %251 = extractvalue { double, double } %248, 1
  %252 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef 1.000000e+01, double %250, double %251)
          to label %253 unwind label %338

253:                                              ; preds = %249
  %254 = extractvalue { double, double } %252, 0
  store double %254, ptr %28, align 16
  %255 = getelementptr inbounds i8, ptr %28, i64 8
  %256 = extractvalue { double, double } %252, 1
  store double %256, ptr %255, align 8
  %257 = load ptr, ptr %25, align 8, !tbaa !24
  %258 = invoke { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16) %257)
          to label %259 unwind label %340

259:                                              ; preds = %253
  %260 = extractvalue { double, double } %258, 0
  %261 = extractvalue { double, double } %258, 1
  %262 = invoke { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %28, double %260, double %261)
          to label %263 unwind label %340

263:                                              ; preds = %259
  %264 = extractvalue { double, double } %262, 0
  %265 = extractvalue { double, double } %262, 1
  %266 = load ptr, ptr %233, align 8, !tbaa !28
  %.sroa.091.0.copyload = load double, ptr %28, align 16
  %.sroa.292.0.copyload = load double, ptr %255, align 8, !tbaa !21
  %.sroa.088.0.copyload = load i32, ptr @_ZN3JPH5Color6sGreenE, align 4, !tbaa !21
  invoke void @_Z11DrawArrowSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorEf(ptr noundef %266, double %.sroa.091.0.copyload, double %.sroa.292.0.copyload, double %264, double %265, i32 %.sroa.088.0.copyload, float noundef 0x3FB99999A0000000)
          to label %267 unwind label %340

267:                                              ; preds = %263
  %268 = load ptr, ptr %233, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %29) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %30) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #9
  %269 = load ptr, ptr %25, align 8, !tbaa !24
  %270 = invoke noundef float @_ZNK3JPH4Vec36LengthEv(ptr noundef nonnull align 16 dereferenceable(16) %269)
          to label %271 unwind label %342

271:                                              ; preds = %267
  store float %270, ptr %31, align 4, !tbaa !5
  invoke void @_ZN3JPH15ConvertToStringIfEENSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEERKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %30, ptr noundef nonnull align 4 dereferenceable(4) %31)
          to label %272 unwind label %342

272:                                              ; preds = %271
  %273 = call { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  %274 = extractvalue { i64, ptr } %273, 0
  store i64 %274, ptr %29, align 8
  %275 = getelementptr inbounds i8, ptr %29, i64 8
  %276 = extractvalue { i64, ptr } %273, 1
  store ptr %276, ptr %275, align 8
  %.sroa.085.0.copyload = load i32, ptr @_ZN3JPH5Color6sGreenE, align 4, !tbaa !21
  invoke void @_Z12DrawText3DSPPN3JPH13DebugRendererENS_4Vec3ERKSt17basic_string_viewIcSt11char_traitsIcEENS_5ColorEf(ptr noundef %268, double %264, double %265, ptr noundef nonnull align 8 dereferenceable(16) %29, i32 %.sroa.085.0.copyload, float noundef 5.000000e-01)
          to label %277 unwind label %344

277:                                              ; preds = %272
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #9
  %278 = load ptr, ptr %25, align 8, !tbaa !24
  %279 = getelementptr inbounds i8, ptr %278, i64 56
  %280 = load ptr, ptr %279, align 8, !tbaa !29
  %281 = getelementptr inbounds i8, ptr %280, i64 24
  %282 = load i32, ptr %281, align 8, !tbaa !33
  %283 = sext i32 %282 to i64
  %284 = invoke noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %283)
          to label %285 unwind label %347

285:                                              ; preds = %277
  %.sroa.075.0.copyload = load double, ptr %20, align 16
  %.sroa.276.0.copyload = load double, ptr %.sroa.2108.0..sroa_idx, align 8, !tbaa !21
  %286 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %284, double %.sroa.075.0.copyload, double %.sroa.276.0.copyload)
          to label %287 unwind label %347

287:                                              ; preds = %285
  %288 = extractvalue { double, double } %286, 0
  %289 = extractvalue { double, double } %286, 1
  %290 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef 1.000000e+01, double %288, double %289)
          to label %291 unwind label %347

291:                                              ; preds = %287
  %292 = extractvalue { double, double } %290, 0
  %293 = extractvalue { double, double } %290, 1
  %294 = getelementptr inbounds i8, ptr %32, i64 8
  br label %295

295:                                              ; preds = %319, %291
  %.sroa.079.0 = phi double [ %292, %291 ], [ %309, %319 ]
  %.sroa.780.0 = phi double [ %293, %291 ], [ %310, %319 ]
  %.0171 = phi ptr [ %280, %291 ], [ %297, %319 ]
  %296 = getelementptr inbounds i8, ptr %.0171, i64 8
  %297 = load ptr, ptr %296, align 8, !tbaa !35
  %298 = getelementptr inbounds i8, ptr %297, i64 24
  %299 = load i32, ptr %298, align 8, !tbaa !33
  %300 = sext i32 %299 to i64
  %301 = invoke noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %300)
          to label %302 unwind label %349

302:                                              ; preds = %295
  %.sroa.067.0.copyload = load double, ptr %20, align 16
  %.sroa.268.0.copyload = load double, ptr %.sroa.2108.0..sroa_idx, align 8, !tbaa !21
  %303 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %301, double %.sroa.067.0.copyload, double %.sroa.268.0.copyload)
          to label %304 unwind label %349

304:                                              ; preds = %302
  %305 = extractvalue { double, double } %303, 0
  %306 = extractvalue { double, double } %303, 1
  %307 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef 1.000000e+01, double %305, double %306)
          to label %308 unwind label %349

308:                                              ; preds = %304
  %309 = extractvalue { double, double } %307, 0
  %310 = extractvalue { double, double } %307, 1
  %311 = load ptr, ptr %233, align 8, !tbaa !28
  %.sroa.062.0.copyload = load i32, ptr @_ZN3JPH5Color7sYellowE, align 4, !tbaa !21
  invoke void @_Z11DrawArrowSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorEf(ptr noundef %311, double %.sroa.079.0, double %.sroa.780.0, double %309, double %310, i32 %.sroa.062.0.copyload, float noundef 0x3F847AE140000000)
          to label %312 unwind label %349

312:                                              ; preds = %308
  %313 = load ptr, ptr %233, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %33) #9
  %314 = getelementptr inbounds i8, ptr %.0171, i64 24
  invoke void @_ZN3JPH15ConvertToStringIiEENSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEERKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %33, ptr noundef nonnull align 4 dereferenceable(4) %314)
          to label %315 unwind label %351

315:                                              ; preds = %312
  %316 = call { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  %317 = extractvalue { i64, ptr } %316, 0
  store i64 %317, ptr %32, align 8
  %318 = extractvalue { i64, ptr } %316, 1
  store ptr %318, ptr %294, align 8
  %.sroa.059.0.copyload = load i32, ptr @_ZN3JPH5Color7sYellowE, align 4, !tbaa !21
  invoke void @_Z12DrawText3DSPPN3JPH13DebugRendererENS_4Vec3ERKSt17basic_string_viewIcSt11char_traitsIcEENS_5ColorEf(ptr noundef %313, double %.sroa.079.0, double %.sroa.780.0, ptr noundef nonnull align 8 dereferenceable(16) %32, i32 %.sroa.059.0.copyload, float noundef 5.000000e-01)
          to label %319 unwind label %353

319:                                              ; preds = %315
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #9
  %320 = load ptr, ptr %25, align 8, !tbaa !24
  %321 = getelementptr inbounds i8, ptr %320, i64 56
  %322 = load ptr, ptr %321, align 8, !tbaa !29
  %.not = icmp eq ptr %297, %322
  br i1 %.not, label %323, label %295, !llvm.loop !36

323:                                              ; preds = %319
  %324 = invoke noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, i32 noundef 590)
          to label %325 unwind label %347

325:                                              ; preds = %323
  br i1 %324, label %326, label %356

326:                                              ; preds = %325
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #9, !srcloc !37
  br label %356

327:                                              ; preds = %206
  %328 = landingpad { ptr, i32 }
          cleanup
  br label %448

329:                                              ; preds = %214, %207
  %330 = landingpad { ptr, i32 }
          cleanup
  br label %447

331:                                              ; preds = %230, %226, %224, %220
  %332 = landingpad { ptr, i32 }
          cleanup
  br label %447

333:                                              ; preds = %235
  %334 = landingpad { ptr, i32 }
          cleanup
  br label %337

335:                                              ; preds = %240
  %336 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  br label %337

337:                                              ; preds = %335, %333
  %.pn190 = phi { ptr, i32 } [ %336, %335 ], [ %334, %333 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #9
  br label %447

338:                                              ; preds = %249, %245
  %339 = landingpad { ptr, i32 }
          cleanup
  br label %357

340:                                              ; preds = %263, %259, %253
  %341 = landingpad { ptr, i32 }
          cleanup
  br label %357

342:                                              ; preds = %271, %267
  %343 = landingpad { ptr, i32 }
          cleanup
  br label %346

344:                                              ; preds = %272
  %345 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  br label %346

346:                                              ; preds = %344, %342
  %.pn192 = phi { ptr, i32 } [ %345, %344 ], [ %343, %342 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #9
  br label %357

347:                                              ; preds = %323, %287, %285, %277
  %348 = landingpad { ptr, i32 }
          cleanup
  br label %357

349:                                              ; preds = %308, %304, %302, %295
  %350 = landingpad { ptr, i32 }
          cleanup
  br label %357

351:                                              ; preds = %312
  %352 = landingpad { ptr, i32 }
          cleanup
  br label %355

353:                                              ; preds = %315
  %354 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  br label %355

355:                                              ; preds = %353, %351
  %.pn194 = phi { ptr, i32 } [ %354, %353 ], [ %352, %351 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #9
  br label %357

356:                                              ; preds = %326, %325
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #9
  br label %358

357:                                              ; preds = %340, %346, %349, %355, %347, %338
  %.pn197.pn.pn = phi { ptr, i32 } [ %339, %338 ], [ %.pn192, %346 ], [ %341, %340 ], [ %348, %347 ], [ %.pn194, %355 ], [ %350, %349 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #9
  br label %447

358:                                              ; preds = %356, %208
  %359 = call noundef ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %360 = call noundef ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %.not202218 = icmp eq ptr %359, %360
  br i1 %.not202218, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %358
  %361 = getelementptr inbounds i8, ptr %0, i64 32
  %.sroa.248.0..sroa_idx = getelementptr inbounds i8, ptr %20, i64 8
  br label %366

._crit_edge:                                      ; preds = %376, %358
  %362 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3JPH17ConvexHullBuilder8GetFacesEv(ptr noundef nonnull align 8 dereferenceable(56) %18)
  %363 = call noundef ptr @_ZNK3JPH5ArrayIPNS_17ConvexHullBuilder4FaceENS_12STLAllocatorIS3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %362)
  %364 = call noundef ptr @_ZNK3JPH5ArrayIPNS_17ConvexHullBuilder4FaceENS_12STLAllocatorIS3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %362)
  %.not203220 = icmp eq ptr %363, %364
  br i1 %.not203220, label %._crit_edge225, label %.lr.ph224

.lr.ph224:                                        ; preds = %._crit_edge
  %.sroa.228.0..sroa_idx = getelementptr inbounds i8, ptr %20, i64 8
  %365 = getelementptr inbounds i8, ptr %0, i64 32
  br label %380

366:                                              ; preds = %.lr.ph, %376
  %.0172219 = phi ptr [ %359, %.lr.ph ], [ %377, %376 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %34) #9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %34, ptr noundef nonnull align 16 dereferenceable(16) %.0172219, i64 16, i1 false), !tbaa.struct !38
  %367 = load ptr, ptr %361, align 8, !tbaa !28
  %.sroa.047.0.copyload = load double, ptr %20, align 16
  %.sroa.248.0.copyload = load double, ptr %.sroa.248.0..sroa_idx, align 8, !tbaa !21
  %368 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %34, double %.sroa.047.0.copyload, double %.sroa.248.0.copyload)
          to label %369 unwind label %378

369:                                              ; preds = %366
  %370 = extractvalue { double, double } %368, 0
  %371 = extractvalue { double, double } %368, 1
  %372 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef 1.000000e+01, double %370, double %371)
          to label %373 unwind label %378

373:                                              ; preds = %369
  %374 = extractvalue { double, double } %372, 0
  %375 = extractvalue { double, double } %372, 1
  %.sroa.046.0.copyload = load i32, ptr @_ZN3JPH5Color6sWhiteE, align 4, !tbaa !21
  invoke void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef %367, double %374, double %375, i32 %.sroa.046.0.copyload, float noundef 0x3F847AE140000000)
          to label %376 unwind label %378

376:                                              ; preds = %373
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #9
  %377 = getelementptr inbounds i8, ptr %.0172219, i64 16
  %.not202 = icmp eq ptr %377, %360
  br i1 %.not202, label %._crit_edge, label %366

378:                                              ; preds = %373, %369, %366
  %379 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #9
  br label %447

._crit_edge225:                                   ; preds = %436, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #9
  br label %446

380:                                              ; preds = %.lr.ph224, %436
  %.0173222 = phi i32 [ 0, %.lr.ph224 ], [ %382, %436 ]
  %.0174221 = phi ptr [ %363, %.lr.ph224 ], [ %437, %436 ]
  %381 = load ptr, ptr %.0174221, align 8, !tbaa !24
  %382 = add nuw nsw i32 %.0173222, 1
  %383 = invoke i32 @_ZN3JPH5Color17sGetDistinctColorEi(i32 noundef %.0173222)
          to label %384 unwind label %438

384:                                              ; preds = %380
  %385 = getelementptr inbounds i8, ptr %381, i64 56
  %386 = load ptr, ptr %385, align 8, !tbaa !29
  %387 = getelementptr inbounds i8, ptr %386, i64 24
  %388 = load i32, ptr %387, align 8, !tbaa !33
  %389 = sext i32 %388 to i64
  %390 = invoke noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %389)
          to label %391 unwind label %440

391:                                              ; preds = %384
  %.sroa.027.0.copyload = load double, ptr %20, align 16
  %.sroa.228.0.copyload = load double, ptr %.sroa.228.0..sroa_idx, align 8, !tbaa !21
  %392 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %390, double %.sroa.027.0.copyload, double %.sroa.228.0.copyload)
          to label %393 unwind label %440

393:                                              ; preds = %391
  %394 = extractvalue { double, double } %392, 0
  %395 = extractvalue { double, double } %392, 1
  %396 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef 1.000000e+01, double %394, double %395)
          to label %397 unwind label %440

397:                                              ; preds = %393
  %398 = extractvalue { double, double } %396, 0
  %399 = extractvalue { double, double } %396, 1
  %400 = getelementptr inbounds i8, ptr %386, i64 8
  %401 = load ptr, ptr %400, align 8, !tbaa !35
  %402 = getelementptr inbounds i8, ptr %401, i64 24
  %403 = load i32, ptr %402, align 8, !tbaa !33
  %404 = sext i32 %403 to i64
  %405 = invoke noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %404)
          to label %406 unwind label %442

406:                                              ; preds = %397
  %.sroa.022.0.copyload = load double, ptr %20, align 16
  %.sroa.223.0.copyload = load double, ptr %.sroa.228.0..sroa_idx, align 8, !tbaa !21
  %407 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %405, double %.sroa.022.0.copyload, double %.sroa.223.0.copyload)
          to label %408 unwind label %442

408:                                              ; preds = %406
  %409 = extractvalue { double, double } %407, 0
  %410 = extractvalue { double, double } %407, 1
  %411 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef 1.000000e+01, double %409, double %410)
          to label %412 unwind label %442

412:                                              ; preds = %408
  %413 = extractvalue { double, double } %411, 0
  %414 = extractvalue { double, double } %411, 1
  %415 = load ptr, ptr %365, align 8, !tbaa !28
  %.sroa.017.0.copyload = load i32, ptr @_ZN3JPH5Color5sGreyE, align 4, !tbaa !21
  invoke void @_Z10DrawLineSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorE(ptr noundef %415, double %398, double %399, double %413, double %414, i32 %.sroa.017.0.copyload)
          to label %.preheader unwind label %442

.preheader:                                       ; preds = %412, %434
  %.sroa.026.0 = phi double [ %429, %434 ], [ %413, %412 ]
  %.sroa.8.0 = phi double [ %430, %434 ], [ %414, %412 ]
  %.0175 = phi ptr [ %417, %434 ], [ %401, %412 ]
  %416 = getelementptr inbounds i8, ptr %.0175, i64 8
  %417 = load ptr, ptr %416, align 8, !tbaa !35
  %418 = getelementptr inbounds i8, ptr %417, i64 24
  %419 = load i32, ptr %418, align 8, !tbaa !33
  %420 = sext i32 %419 to i64
  %421 = invoke noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %420)
          to label %422 unwind label %444

422:                                              ; preds = %.preheader
  %.sroa.012.0.copyload = load double, ptr %20, align 16
  %.sroa.213.0.copyload = load double, ptr %.sroa.228.0..sroa_idx, align 8, !tbaa !21
  %423 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %421, double %.sroa.012.0.copyload, double %.sroa.213.0.copyload)
          to label %424 unwind label %444

424:                                              ; preds = %422
  %425 = extractvalue { double, double } %423, 0
  %426 = extractvalue { double, double } %423, 1
  %427 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef 1.000000e+01, double %425, double %426)
          to label %428 unwind label %444

428:                                              ; preds = %424
  %429 = extractvalue { double, double } %427, 0
  %430 = extractvalue { double, double } %427, 1
  %431 = load ptr, ptr %365, align 8, !tbaa !28
  invoke void @_Z14DrawTriangleSPPN3JPH13DebugRendererENS_4Vec3ES2_S2_NS_5ColorE(ptr noundef %431, double %398, double %399, double %.sroa.026.0, double %.sroa.8.0, double %429, double %430, i32 %383)
          to label %432 unwind label %444

432:                                              ; preds = %428
  %433 = load ptr, ptr %365, align 8, !tbaa !28
  %.sroa.0.0.copyload = load i32, ptr @_ZN3JPH5Color5sGreyE, align 4, !tbaa !21
  invoke void @_Z10DrawLineSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorE(ptr noundef %433, double %.sroa.026.0, double %.sroa.8.0, double %429, double %430, i32 %.sroa.0.0.copyload)
          to label %434 unwind label %444

434:                                              ; preds = %432
  %435 = load ptr, ptr %385, align 8, !tbaa !29
  %.not208 = icmp eq ptr %417, %435
  br i1 %.not208, label %436, label %.preheader, !llvm.loop !39

436:                                              ; preds = %434
  %437 = getelementptr inbounds i8, ptr %.0174221, i64 8
  %.not203 = icmp eq ptr %437, %364
  br i1 %.not203, label %._crit_edge225, label %380

438:                                              ; preds = %380
  %439 = landingpad { ptr, i32 }
          cleanup
  br label %447

440:                                              ; preds = %393, %391, %384
  %441 = landingpad { ptr, i32 }
          cleanup
  br label %447

442:                                              ; preds = %412, %408, %406, %397
  %443 = landingpad { ptr, i32 }
          cleanup
  br label %447

444:                                              ; preds = %432, %428, %424, %422, %.preheader
  %445 = landingpad { ptr, i32 }
          cleanup
  br label %447

446:                                              ; preds = %200, %201, %._crit_edge225
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @_ZN3JPH17ConvexHullBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %18) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %18) #9
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #9
  ret void

447:                                              ; preds = %438, %442, %444, %440, %331, %337, %357, %378, %329
  %.pn209 = phi { ptr, i32 } [ %379, %378 ], [ %330, %329 ], [ %.pn197.pn.pn, %357 ], [ %.pn190, %337 ], [ %332, %331 ], [ %439, %438 ], [ %441, %440 ], [ %445, %444 ], [ %443, %442 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #9
  br label %448

448:                                              ; preds = %447, %327
  %.pn209.pn = phi { ptr, i32 } [ %.pn209, %447 ], [ %328, %327 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #9
  br label %449

449:                                              ; preds = %448, %204
  %.pn212 = phi { ptr, i32 } [ %205, %204 ], [ %.pn209.pn, %448 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @_ZN3JPH17ConvexHullBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %18) #9
  br label %450

450:                                              ; preds = %449, %202
  %.pn212.pn = phi { ptr, i32 } [ %.pn212, %449 ], [ %203, %202 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %18) #9
  br label %451

451:                                              ; preds = %450, %185, %45
  %.pn212.pn.pn = phi { ptr, i32 } [ %.pn212.pn, %450 ], [ %46, %45 ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %185 ]
  call void @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #9
  resume { ptr, i32 } %.pn212.pn.pn
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH5ArrayINS0_INS_4Vec3ENS_12STLAllocatorIS1_EEEENS2_IS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt25uniform_real_distributionIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNSt25uniform_real_distributionIfEclISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef, double, double) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec37sRandomISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEEES0_RT_(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 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) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH5ArrayINS_4Vec3ENS_12STLAllocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNSt26linear_congruential_engineImLm16807ELm0ELm2147483647EEclEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 align 2

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

declare void @_ZN3JPH17ConvexHullBuilderC1ERKNS_5ArrayINS_4Vec3ENS_12STLAllocatorIS2_EEEE(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #7

declare noundef i32 @_ZN3JPH17ConvexHullBuilder10InitializeEifRPKc(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, float noundef, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

declare void @_ZNK3JPH17ConvexHullBuilder24GetCenterOfMassAndVolumeERNS_4Vec3ERf(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #7

declare void @_ZNK3JPH17ConvexHullBuilder17DetermineMaxErrorERPNS0_4FaceERfRiS4_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #7

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef, double, double, i32, float noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z12DrawText3DSPPN3JPH13DebugRendererENS_4Vec3ERKSt17basic_string_viewIcSt11char_traitsIcEENS_5ColorEf(ptr noundef, double, double, ptr noundef nonnull align 8 dereferenceable(16), i32, float noundef) local_unnamed_addr #4

declare void @_ZN3JPH12StringFormatB5cxx11EPKcz(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ...) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #8 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z11DrawArrowSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorEf(ptr noundef, double, double, double, double, i32, float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH15ConvertToStringIfEENSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEERKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZNK3JPH4Vec36LengthEv(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH15ConvertToStringIiEENSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEERKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

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

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

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

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

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

declare i32 @_ZN3JPH5Color17sGetDistinctColorEi(i32 noundef) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z10DrawLineSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorE(ptr noundef, double, double, double, double, i32) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z14DrawTriangleSPPN3JPH13DebugRendererENS_4Vec3ES2_S2_NS_5ColorE(ptr noundef, double, double, double, double, double, double, i32) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH17ConvexHullBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #3 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !16, i64 136}
!10 = !{!"_ZTS14ConvexHullTest", !11, i64 0, !19, i64 112, !16, i64 136, !20, i64 144}
!11 = !{!"_ZTS4Test", !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !13, i64 48, !14, i64 56}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !15, i64 0}
!15 = !{!"_ZTSSt10_HashtableIN3JPH6BodyIDESt4pairIKS1_NSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEEESaISB_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENSD_18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyENSD_17_Hashtable_traitsILb1ELb0ELb1EEEE", !12, i64 0, !16, i64 8, !17, i64 16, !16, i64 24, !18, i64 32, !12, i64 48}
!16 = !{!"long", !7, i64 0}
!17 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !12, i64 0}
!18 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !6, i64 0, !16, i64 8}
!19 = !{!"_ZTSN3JPH5ArrayINS0_INS_4Vec3ENS_12STLAllocatorIS1_EEEENS2_IS4_EEEE", !16, i64 0, !16, i64 8, !12, i64 16}
!20 = !{!"_ZTSSt26linear_congruential_engineImLm16807ELm0ELm2147483647EE", !16, i64 0}
!21 = !{!7, !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!12, !12, i64 0}
!25 = !{i64 2160183340}
!26 = !{!27, !27, i64 0}
!27 = !{!"int", !7, i64 0}
!28 = !{!11, !12, i64 32}
!29 = !{!30, !12, i64 56}
!30 = !{!"_ZTSN3JPH17ConvexHullBuilder4FaceE", !31, i64 0, !31, i64 16, !32, i64 32, !12, i64 56, !6, i64 64, !13, i64 68}
!31 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!32 = !{!"_ZTSN3JPH5ArrayIiNS_12STLAllocatorIiEEEE", !16, i64 0, !16, i64 8, !12, i64 16}
!33 = !{!34, !27, i64 24}
!34 = !{!"_ZTSN3JPH17ConvexHullBuilder4EdgeE", !12, i64 0, !12, i64 8, !12, i64 16, !27, i64 24}
!35 = !{!34, !12, i64 8}
!36 = distinct !{!36, !23}
!37 = !{i64 2160183659}
!38 = !{i64 0, i64 16, !21}
!39 = distinct !{!39, !23}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass