; LLVM IR from erayzesen/QuarkPhysics :: QuarkPhysics/qworld.ll (ZN6QWorld22TestCollisionWithWorldEP5QBody)

; 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.std::vector.74" = type { %"struct.std::_Vector_base.75" }
%"struct.std::_Vector_base.75" = type { %"struct.std::_Vector_base<QCollision::Contact *, std::allocator<QCollision::Contact *>>::_Vector_impl" }
%"struct.std::_Vector_base<QCollision::Contact *, std::allocator<QCollision::Contact *>>::_Vector_impl" = type { %"struct.std::_Vector_base<QCollision::Contact *, std::allocator<QCollision::Contact *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<QCollision::Contact *, std::allocator<QCollision::Contact *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.QAABB = type { %struct.QVector, %struct.QVector, %struct.QVector, float }
%struct.QVector = type { float, float }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<QManifold, std::allocator<QManifold>>::_Vector_impl" }
%"struct.std::_Vector_base<QManifold, std::allocator<QManifold>>::_Vector_impl" = type { %"struct.std::_Vector_base<QManifold, std::allocator<QManifold>>::_Vector_impl_data" }
%"struct.std::_Vector_base<QManifold, std::allocator<QManifold>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.43" = type { ptr }
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<QBody *, std::allocator<QBody *>>::_Vector_impl" }
%"struct.std::_Vector_base<QBody *, std::allocator<QBody *>>::_Vector_impl" = type { %"struct.std::_Vector_base<QBody *, std::allocator<QBody *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<QBody *, std::allocator<QBody *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.35" = type { ptr }
%class.QManifold = type { %struct.QVector, float, float, i8, ptr, ptr, %"class.std::vector.74" }
%class.QBody = type <{ ptr, float, float, ptr, %struct.QVector, %struct.QVector, float, float, %class.QAABB, i32, i8, i8, i8, i8, float, i32, i8, [3 x i8], float, i8, i8, [2 x i8], %struct.QVector, float, float, float, float, float, i32, i32, i8, i8, i8, i8, i32, i32, i32, i8, [3 x i8], %"class.std::function", %"class.std::function", %"class.std::function.36", i8, [7 x i8], %"class.std::vector.38", i32, i8, [3 x i8] }>
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::function.36" = type { %"class.std::_Function_base", ptr }
%"class.std::vector.38" = type { %"struct.std::_Vector_base.39" }
%"struct.std::_Vector_base.39" = type { %"struct.std::_Vector_base<QMesh *, std::allocator<QMesh *>>::_Vector_impl" }
%"struct.std::_Vector_base<QMesh *, std::allocator<QMesh *>>::_Vector_impl" = type { %"struct.std::_Vector_base<QMesh *, std::allocator<QMesh *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<QMesh *, std::allocator<QMesh *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.QWorld = type { %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5", %"class.std::vector.10", %"class.std::vector.15", %"class.std::unordered_set", %"class.std::vector.25", ptr, i8, %struct.QVector, i8, i8, i32, float, float, float, i32, i32, %"class.std::vector.30" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<QJoint *, std::allocator<QJoint *>>::_Vector_impl" }
%"struct.std::_Vector_base<QJoint *, std::allocator<QJoint *>>::_Vector_impl" = type { %"struct.std::_Vector_base<QJoint *, std::allocator<QJoint *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<QJoint *, std::allocator<QJoint *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<QSpring *, std::allocator<QSpring *>>::_Vector_impl" }
%"struct.std::_Vector_base<QSpring *, std::allocator<QSpring *>>::_Vector_impl" = type { %"struct.std::_Vector_base<QSpring *, std::allocator<QSpring *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<QSpring *, std::allocator<QSpring *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<QRaycast *, std::allocator<QRaycast *>>::_Vector_impl" }
%"struct.std::_Vector_base<QRaycast *, std::allocator<QRaycast *>>::_Vector_impl" = type { %"struct.std::_Vector_base<QRaycast *, std::allocator<QRaycast *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<QRaycast *, std::allocator<QRaycast *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<QGizmo *, std::allocator<QGizmo *>>::_Vector_impl" }
%"struct.std::_Vector_base<QGizmo *, std::allocator<QGizmo *>>::_Vector_impl" = type { %"struct.std::_Vector_base<QGizmo *, std::allocator<QGizmo *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<QGizmo *, std::allocator<QGizmo *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<std::vector<QBody *>, std::allocator<std::vector<QBody *>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<QBody *>, std::allocator<std::vector<QBody *>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<QBody *>, std::allocator<std::vector<QBody *>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<QBody *>, std::allocator<std::vector<QBody *>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_set" = 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 }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5QBody10GetEnabledEv(ptr noundef nonnull align 8 dereferenceable(293)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPP5QBodySt6vectorIS3_SaIS3_EEEEPFbPKS2_SA_EEvT_SD_T0_(ptr, ptr, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6QWorld20SortBodiesHorizontalEPK5QBodyS2_(ptr noundef, ptr noundef) #3 align 2

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

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

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

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

declare void @_ZN5QMesh22UpdatePolygonBisectorsEv(ptr noundef nonnull align 8 dereferenceable(256)) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6QWorld13GetCollisionsEP5QBodyS1_(ptr dead_on_unwind noalias writable sret(%"class.std::vector.74") align 8, ptr noundef, ptr noundef) #6 align 2

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

declare void @_ZN9QManifoldC1EP5QBodyS1_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef, ptr noundef) unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI9QManifoldSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(64)) #6 align 2

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

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

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

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

declare noundef zeroext i1 @_ZN5QBody10CanCollideEPS_S0_b(ptr noundef, ptr noundef, i1 noundef zeroext) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind noalias writable sret(%class.QAABB) align 4, ptr noundef nonnull align 8 dereferenceable(293)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local <2 x float> @_ZN5QAABB6GetMaxEv(ptr noundef nonnull align 4 dereferenceable(28)) #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local <2 x float> @_ZN5QAABB6GetMinEv(ptr noundef nonnull align 4 dereferenceable(28)) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIP5QBodySaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6QWorld22TestCollisionWithWorldEP5QBody(ptr dead_on_unwind noalias writable sret(%"class.std::vector.25") align 8 %0, ptr noundef nonnull align 8 dereferenceable(272) %1, ptr noundef %2) #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.43", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.43", align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.std::vector.30", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.35", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.35", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i8, align 1
  %17 = alloca i1, align 1
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca %struct.QVector, align 4
  %22 = alloca %class.QAABB, align 4
  %23 = alloca %struct.QVector, align 4
  %24 = alloca %class.QAABB, align 4
  %25 = alloca %struct.QVector, align 4
  %26 = alloca %class.QAABB, align 4
  %27 = alloca %struct.QVector, align 4
  %28 = alloca %class.QAABB, align 4
  %29 = alloca %struct.QVector, align 4
  %30 = alloca %class.QAABB, align 4
  %31 = alloca %struct.QVector, align 4
  %32 = alloca %class.QAABB, align 4
  %33 = alloca %struct.QVector, align 4
  %34 = alloca %class.QAABB, align 4
  %35 = alloca %struct.QVector, align 4
  %36 = alloca %class.QAABB, align 4
  %37 = alloca ptr, align 8
  %38 = alloca %"class.__gnu_cxx::__normal_iterator.43", align 8
  %39 = alloca %"class.__gnu_cxx::__normal_iterator.43", align 8
  %40 = alloca ptr, align 8
  %41 = alloca %"class.std::vector.74", align 8
  %42 = alloca %class.QManifold, align 8
  %43 = alloca %struct.QVector, align 4
  %44 = alloca %class.QAABB, align 4
  %45 = alloca %struct.QVector, align 4
  %46 = alloca %class.QAABB, align 4
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %47 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = getelementptr inbounds %class.QBody, ptr %48, i32 0, i32 44
  store ptr %49, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = call ptr @_ZNSt6vectorIP5QMeshSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #8
  %52 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.43", ptr %8, i32 0, i32 0
  store ptr %51, ptr %52, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = call ptr @_ZNSt6vectorIP5QMeshSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  %55 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.43", ptr %9, i32 0, i32 0
  store ptr %54, ptr %55, align 8
  br label %56

56:                                               ; preds = %63, %3
  %57 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP5QMeshSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  br i1 %57, label %59, label %58

58:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  br label %65

59:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP5QMeshSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  %61 = load ptr, ptr %60, align 8, !tbaa !5
  store ptr %61, ptr %10, align 8, !tbaa !5
  %62 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN5QMesh22UpdatePolygonBisectorsEv(ptr noundef nonnull align 8 dereferenceable(256) %62)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %63

63:                                               ; preds = %59
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP5QMeshSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  br label %56

65:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #8
  %66 = getelementptr inbounds %class.QWorld, ptr %47, i32 0, i32 18
  call void @_ZNSt6vectorIP5QBodySaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %66)
  %67 = call ptr @_ZNSt6vectorIP5QBodySaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  %68 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.35", ptr %12, i32 0, i32 0
  store ptr %67, ptr %68, align 8
  %69 = call ptr @_ZNSt6vectorIP5QBodySaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  %70 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.35", ptr %13, i32 0, i32 0
  store ptr %69, ptr %70, align 8
  %71 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.35", ptr %12, i32 0, i32 0
  %72 = load ptr, ptr %71, align 8
  %73 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.35", ptr %13, i32 0, i32 0
  %74 = load ptr, ptr %73, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPP5QBodySt6vectorIS3_SaIS3_EEEEPFbPKS2_SA_EEvT_SD_T0_(ptr %72, ptr %74, ptr noundef @_ZN6QWorld20SortBodiesHorizontalEPK5QBodyS2_)
          to label %75 unwind label %82

75:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #8
  store i8 0, ptr %16, align 1, !tbaa !9
  store i1 false, ptr %17, align 1
  call void @_ZNSt6vectorI9QManifoldSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store i32 0, ptr %18, align 4, !tbaa !11
  br label %76

76:                                               ; preds = %294, %75
  %77 = load i32, ptr %18, align 4, !tbaa !11
  %78 = zext i32 %77 to i64
  %79 = call noundef i64 @_ZNKSt6vectorIP5QBodySaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  %80 = icmp ult i64 %78, %79
  br i1 %80, label %86, label %81

81:                                               ; preds = %76
  store i32 4, ptr %19, align 4
  br label %298

82:                                               ; preds = %65
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %14, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %15, align 4
  br label %303

86:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %87 = load i32, ptr %18, align 4, !tbaa !11
  %88 = zext i32 %87 to i64
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5QBodySaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %88) #8
  %90 = load ptr, ptr %89, align 8, !tbaa !5
  store ptr %90, ptr %20, align 8, !tbaa !5
  %91 = load ptr, ptr %20, align 8, !tbaa !5
  %92 = invoke noundef zeroext i1 @_ZN5QBody10GetEnabledEv(ptr noundef nonnull align 8 dereferenceable(293) %91)
          to label %93 unwind label %97

93:                                               ; preds = %86
  %94 = zext i1 %92 to i32
  %95 = icmp eq i32 %94, 0
  br i1 %95, label %96, label %101

96:                                               ; preds = %93
  store i32 6, ptr %19, align 4
  br label %291

97:                                               ; preds = %106, %86
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %14, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %15, align 4
  br label %297

101:                                              ; preds = %93
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = load ptr, ptr %20, align 8, !tbaa !5
  %104 = icmp eq ptr %102, %103
  br i1 %104, label %105, label %106

105:                                              ; preds = %101
  store i32 6, ptr %19, align 4
  br label %291

106:                                              ; preds = %101
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = load ptr, ptr %20, align 8, !tbaa !5
  %109 = invoke noundef zeroext i1 @_ZN5QBody10CanCollideEPS_S0_b(ptr noundef %107, ptr noundef %108, i1 noundef zeroext false)
          to label %110 unwind label %97

110:                                              ; preds = %106
  %111 = zext i1 %109 to i32
  %112 = icmp eq i32 %111, 0
  br i1 %112, label %113, label %114

113:                                              ; preds = %110
  store i32 6, ptr %19, align 4
  br label %291

114:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.start.p0(i64 28, ptr %22) #8
  %115 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind writable sret(%class.QAABB) align 4 %22, ptr noundef nonnull align 8 dereferenceable(293) %115)
          to label %116 unwind label %187

116:                                              ; preds = %114
  %117 = invoke <2 x float> @_ZN5QAABB6GetMinEv(ptr noundef nonnull align 4 dereferenceable(28) %22)
          to label %118 unwind label %187

118:                                              ; preds = %116
  store <2 x float> %117, ptr %21, align 4
  %119 = getelementptr inbounds %struct.QVector, ptr %21, i32 0, i32 0
  %120 = load float, ptr %119, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 28, ptr %24) #8
  %121 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind writable sret(%class.QAABB) align 4 %24, ptr noundef nonnull align 8 dereferenceable(293) %121)
          to label %122 unwind label %191

122:                                              ; preds = %118
  %123 = invoke <2 x float> @_ZN5QAABB6GetMaxEv(ptr noundef nonnull align 4 dereferenceable(28) %24)
          to label %124 unwind label %191

124:                                              ; preds = %122
  store <2 x float> %123, ptr %23, align 4
  %125 = getelementptr inbounds %struct.QVector, ptr %23, i32 0, i32 0
  %126 = load float, ptr %125, align 4, !tbaa !13
  %127 = fcmp ole float %120, %126
  call void @llvm.lifetime.end.p0(i64 28, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 28, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br i1 %127, label %128, label %266

128:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 28, ptr %26) #8
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind writable sret(%class.QAABB) align 4 %26, ptr noundef nonnull align 8 dereferenceable(293) %129)
          to label %130 unwind label %196

130:                                              ; preds = %128
  %131 = invoke <2 x float> @_ZN5QAABB6GetMaxEv(ptr noundef nonnull align 4 dereferenceable(28) %26)
          to label %132 unwind label %196

132:                                              ; preds = %130
  store <2 x float> %131, ptr %25, align 4
  %133 = getelementptr inbounds %struct.QVector, ptr %25, i32 0, i32 0
  %134 = load float, ptr %133, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.start.p0(i64 28, ptr %28) #8
  %135 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind writable sret(%class.QAABB) align 4 %28, ptr noundef nonnull align 8 dereferenceable(293) %135)
          to label %136 unwind label %200

136:                                              ; preds = %132
  %137 = invoke <2 x float> @_ZN5QAABB6GetMinEv(ptr noundef nonnull align 4 dereferenceable(28) %28)
          to label %138 unwind label %200

138:                                              ; preds = %136
  store <2 x float> %137, ptr %27, align 4
  %139 = getelementptr inbounds %struct.QVector, ptr %27, i32 0, i32 0
  %140 = load float, ptr %139, align 4, !tbaa !13
  %141 = fcmp oge float %134, %140
  call void @llvm.lifetime.end.p0(i64 28, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 28, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br i1 %141, label %142, label %265

142:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 28, ptr %30) #8
  %143 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.start.p0(i64 28, ptr %34) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.start.p0(i64 28, ptr %36) #8
  invoke void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind writable sret(%class.QAABB) align 4 %30, ptr noundef nonnull align 8 dereferenceable(293) %143)
          to label %144 unwind label %205

144:                                              ; preds = %142
  %145 = invoke <2 x float> @_ZN5QAABB6GetMinEv(ptr noundef nonnull align 4 dereferenceable(28) %30)
          to label %146 unwind label %205

146:                                              ; preds = %144
  store <2 x float> %145, ptr %29, align 4
  %147 = getelementptr inbounds %struct.QVector, ptr %29, i32 0, i32 1
  %148 = load float, ptr %147, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.start.p0(i64 28, ptr %32) #8
  %149 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind writable sret(%class.QAABB) align 4 %32, ptr noundef nonnull align 8 dereferenceable(293) %149)
          to label %150 unwind label %209

150:                                              ; preds = %146
  %151 = invoke <2 x float> @_ZN5QAABB6GetMaxEv(ptr noundef nonnull align 4 dereferenceable(28) %32)
          to label %152 unwind label %209

152:                                              ; preds = %150
  store <2 x float> %151, ptr %31, align 4
  %153 = getelementptr inbounds %struct.QVector, ptr %31, i32 0, i32 1
  %154 = load float, ptr %153, align 4, !tbaa !16
  %155 = fcmp ole float %148, %154
  br i1 %155, label %156, label %170

156:                                              ; preds = %152
  %157 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind writable sret(%class.QAABB) align 4 %34, ptr noundef nonnull align 8 dereferenceable(293) %157)
          to label %158 unwind label %213

158:                                              ; preds = %156
  %159 = invoke <2 x float> @_ZN5QAABB6GetMaxEv(ptr noundef nonnull align 4 dereferenceable(28) %34)
          to label %160 unwind label %213

160:                                              ; preds = %158
  store <2 x float> %159, ptr %33, align 4
  %161 = getelementptr inbounds %struct.QVector, ptr %33, i32 0, i32 1
  %162 = load float, ptr %161, align 4, !tbaa !16
  %163 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind writable sret(%class.QAABB) align 4 %36, ptr noundef nonnull align 8 dereferenceable(293) %163)
          to label %164 unwind label %217

164:                                              ; preds = %160
  %165 = invoke <2 x float> @_ZN5QAABB6GetMinEv(ptr noundef nonnull align 4 dereferenceable(28) %36)
          to label %166 unwind label %217

166:                                              ; preds = %164
  store <2 x float> %165, ptr %35, align 4
  %167 = getelementptr inbounds %struct.QVector, ptr %35, i32 0, i32 1
  %168 = load float, ptr %167, align 4, !tbaa !16
  %169 = fcmp oge float %162, %168
  br label %170

170:                                              ; preds = %166, %152
  %171 = phi i1 [ false, %152 ], [ %169, %166 ]
  call void @llvm.lifetime.end.p0(i64 28, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 28, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 28, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 28, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br i1 %171, label %172, label %264

172:                                              ; preds = %170
  %173 = getelementptr inbounds %class.QWorld, ptr %47, i32 0, i32 16
  %174 = load i32, ptr %173, align 8, !tbaa !17
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %173, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %176 = load ptr, ptr %20, align 8, !tbaa !5
  %177 = getelementptr inbounds %class.QBody, ptr %176, i32 0, i32 44
  store ptr %177, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  %178 = load ptr, ptr %37, align 8, !tbaa !5
  %179 = call ptr @_ZNSt6vectorIP5QMeshSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %178) #8
  %180 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.43", ptr %38, i32 0, i32 0
  store ptr %179, ptr %180, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %181 = load ptr, ptr %37, align 8, !tbaa !5
  %182 = call ptr @_ZNSt6vectorIP5QMeshSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %181) #8
  %183 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.43", ptr %39, i32 0, i32 0
  store ptr %182, ptr %183, align 8
  br label %184

184:                                              ; preds = %229, %172
  %185 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP5QMeshSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(8) %39) #8
  br i1 %185, label %224, label %186

186:                                              ; preds = %184
  store i32 7, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %235

187:                                              ; preds = %116, %114
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %14, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %15, align 4
  br label %195

191:                                              ; preds = %122, %118
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %14, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 28, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %195

195:                                              ; preds = %191, %187
  call void @llvm.lifetime.end.p0(i64 28, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %297

196:                                              ; preds = %130, %128
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %14, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %15, align 4
  br label %204

200:                                              ; preds = %136, %132
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %14, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 28, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %204

204:                                              ; preds = %200, %196
  call void @llvm.lifetime.end.p0(i64 28, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %297

205:                                              ; preds = %144, %142
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %14, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %15, align 4
  br label %223

209:                                              ; preds = %150, %146
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %14, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %15, align 4
  br label %222

213:                                              ; preds = %158, %156
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %14, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %15, align 4
  br label %221

217:                                              ; preds = %164, %160
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %14, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 28, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  br label %221

221:                                              ; preds = %217, %213
  call void @llvm.lifetime.end.p0(i64 28, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %222

222:                                              ; preds = %221, %209
  call void @llvm.lifetime.end.p0(i64 28, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %223

223:                                              ; preds = %222, %205
  call void @llvm.lifetime.end.p0(i64 28, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %297

224:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %225 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP5QMeshSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %38) #8
  %226 = load ptr, ptr %225, align 8, !tbaa !5
  store ptr %226, ptr %40, align 8, !tbaa !5
  %227 = load ptr, ptr %40, align 8, !tbaa !5
  invoke void @_ZN5QMesh22UpdatePolygonBisectorsEv(ptr noundef nonnull align 8 dereferenceable(256) %227)
          to label %228 unwind label %231

228:                                              ; preds = %224
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  br label %229

229:                                              ; preds = %228
  %230 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP5QMeshSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %38) #8
  br label %184

231:                                              ; preds = %224
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %14, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %297

235:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 24, ptr %41) #8
  %236 = load ptr, ptr %6, align 8, !tbaa !5
  %237 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_ZN6QWorld13GetCollisionsEP5QBodyS1_(ptr dead_on_unwind writable sret(%"class.std::vector.74") align 8 %41, ptr noundef %236, ptr noundef %237)
          to label %238 unwind label %249

238:                                              ; preds = %235
  %239 = call noundef i64 @_ZNKSt6vectorIPN10QCollision7ContactESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #8
  %240 = icmp ugt i64 %239, 0
  br i1 %240, label %241, label %262

241:                                              ; preds = %238
  call void @llvm.lifetime.start.p0(i64 64, ptr %42) #8
  %242 = load ptr, ptr %6, align 8, !tbaa !5
  %243 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_ZN9QManifoldC1EP5QBodyS1_(ptr noundef nonnull align 8 dereferenceable(64) %42, ptr noundef %242, ptr noundef %243)
          to label %244 unwind label %253

244:                                              ; preds = %241
  %245 = getelementptr inbounds %class.QManifold, ptr %42, i32 0, i32 6
  %246 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIPN10QCollision7ContactESaIS2_EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %245, ptr noundef nonnull align 8 dereferenceable(24) %41)
          to label %247 unwind label %257

247:                                              ; preds = %244
  invoke void @_ZNSt6vectorI9QManifoldSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(64) %42)
          to label %248 unwind label %257

248:                                              ; preds = %247
  call void @_ZN9QManifoldD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %42) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %42) #8
  br label %262

249:                                              ; preds = %235
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %14, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %15, align 4
  br label %263

253:                                              ; preds = %241
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %14, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %15, align 4
  br label %261

257:                                              ; preds = %247, %244
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %14, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %15, align 4
  call void @_ZN9QManifoldD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %42) #8
  br label %261

261:                                              ; preds = %257, %253
  call void @llvm.lifetime.end.p0(i64 64, ptr %42) #8
  call void @_ZNSt6vectorIPN10QCollision7ContactESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #8
  br label %263

262:                                              ; preds = %248, %238
  call void @_ZNSt6vectorIPN10QCollision7ContactESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #8
  br label %264

263:                                              ; preds = %261, %249
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #8
  br label %297

264:                                              ; preds = %262, %170
  br label %265

265:                                              ; preds = %264, %138
  br label %266

266:                                              ; preds = %265, %124
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  call void @llvm.lifetime.start.p0(i64 28, ptr %44) #8
  %267 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind writable sret(%class.QAABB) align 4 %44, ptr noundef nonnull align 8 dereferenceable(293) %267)
          to label %268 unwind label %281

268:                                              ; preds = %266
  %269 = invoke <2 x float> @_ZN5QAABB6GetMinEv(ptr noundef nonnull align 4 dereferenceable(28) %44)
          to label %270 unwind label %281

270:                                              ; preds = %268
  store <2 x float> %269, ptr %43, align 4
  %271 = getelementptr inbounds %struct.QVector, ptr %43, i32 0, i32 0
  %272 = load float, ptr %271, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  call void @llvm.lifetime.start.p0(i64 28, ptr %46) #8
  %273 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind writable sret(%class.QAABB) align 4 %46, ptr noundef nonnull align 8 dereferenceable(293) %273)
          to label %274 unwind label %285

274:                                              ; preds = %270
  %275 = invoke <2 x float> @_ZN5QAABB6GetMaxEv(ptr noundef nonnull align 4 dereferenceable(28) %46)
          to label %276 unwind label %285

276:                                              ; preds = %274
  store <2 x float> %275, ptr %45, align 4
  %277 = getelementptr inbounds %struct.QVector, ptr %45, i32 0, i32 0
  %278 = load float, ptr %277, align 4, !tbaa !13
  %279 = fcmp ogt float %272, %278
  call void @llvm.lifetime.end.p0(i64 28, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 28, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  br i1 %279, label %280, label %290

280:                                              ; preds = %276
  store i32 4, ptr %19, align 4
  br label %291

281:                                              ; preds = %268, %266
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %14, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %15, align 4
  br label %289

285:                                              ; preds = %274, %270
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %14, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 28, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  br label %289

289:                                              ; preds = %285, %281
  call void @llvm.lifetime.end.p0(i64 28, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  br label %297

290:                                              ; preds = %276
  store i32 0, ptr %19, align 4
  br label %291

291:                                              ; preds = %290, %280, %113, %105, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  %292 = load i32, ptr %19, align 4
  switch i32 %292, label %298 [
    i32 0, label %293
    i32 6, label %294
  ]

293:                                              ; preds = %291
  br label %294

294:                                              ; preds = %293, %291
  %295 = load i32, ptr %18, align 4, !tbaa !11
  %296 = add i32 %295, 1
  store i32 %296, ptr %18, align 4, !tbaa !11
  br label %76, !llvm.loop !52

297:                                              ; preds = %289, %263, %231, %223, %204, %195, %97
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @_ZNSt6vectorI9QManifoldSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  br label %303

298:                                              ; preds = %291, %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %299

299:                                              ; preds = %298
  store i1 true, ptr %17, align 1
  store i32 1, ptr %19, align 4
  %300 = load i1, ptr %17, align 1
  br i1 %300, label %302, label %301

301:                                              ; preds = %299
  call void @_ZNSt6vectorI9QManifoldSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  br label %302

302:                                              ; preds = %301, %299
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  call void @_ZNSt6vectorIP5QBodySaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #8
  ret void

303:                                              ; preds = %297, %82
  call void @_ZNSt6vectorIP5QBodySaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #8
  br label %304

304:                                              ; preds = %303
  %305 = load ptr, ptr %14, align 8
  %306 = load i32, ptr %15, align 4
  %307 = insertvalue { ptr, i32 } poison, ptr %305, 0
  %308 = insertvalue { ptr, i32 } %307, i32 %306, 1
  resume { ptr, i32 } %308
}

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "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 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 #7 = { mustprogress nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTS7QVector", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!14, !15, i64 4}
!17 = !{!18, !12, i64 240}
!18 = !{!"_ZTS6QWorld", !19, i64 0, !23, i64 24, !27, i64 48, !31, i64 72, !35, i64 96, !39, i64 120, !44, i64 176, !6, i64 200, !10, i64 208, !14, i64 212, !10, i64 220, !10, i64 221, !12, i64 224, !15, i64 228, !15, i64 232, !15, i64 236, !12, i64 240, !12, i64 244, !48, i64 248}
!19 = !{!"_ZTSSt6vectorIP6QJointSaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIP6QJointSaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIP6QJointSaIS1_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIP6QJointSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSSt6vectorIP7QSpringSaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIP7QSpringSaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIP7QSpringSaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIP7QSpringSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!"_ZTSSt6vectorIP8QRaycastSaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIP8QRaycastSaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIP8QRaycastSaIS1_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIP8QRaycastSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"_ZTSSt6vectorIP6QGizmoSaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIP6QGizmoSaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIP6QGizmoSaIS1_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIP6QGizmoSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = !{!"_ZTSSt6vectorIS_IP5QBodySaIS1_EESaIS3_EE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseISt6vectorIP5QBodySaIS2_EESaIS4_EE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseISt6vectorIP5QBodySaIS2_EESaIS4_EE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseISt6vectorIP5QBodySaIS2_EESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!39 = !{!"_ZTSSt13unordered_setISt4pairIP5QBodyS2_ENS1_12BodyPairHashENS1_13BodyPairEqualESaIS3_EE", !40, i64 0}
!40 = !{!"_ZTSSt10_HashtableISt4pairIP5QBodyS2_ES3_SaIS3_ENSt8__detail9_IdentityENS1_13BodyPairEqualENS1_12BodyPairHashENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb1ELb1ELb1EEEE", !6, i64 0, !41, i64 8, !42, i64 16, !41, i64 24, !43, i64 32, !6, i64 48}
!41 = !{!"long", !7, i64 0}
!42 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!43 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !15, i64 0, !41, i64 8}
!44 = !{!"_ZTSSt6vectorI9QManifoldSaIS0_EE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseI9QManifoldSaIS0_EE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseI9QManifoldSaIS0_EE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseI9QManifoldSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!48 = !{!"_ZTSSt6vectorIP5QBodySaIS1_EE", !49, i64 0}
!49 = !{!"_ZTSSt12_Vector_baseIP5QBodySaIS1_EE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIP5QBodySaIS1_EE12_Vector_implE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIP5QBodySaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!52 = distinct !{!52, !53}
!53 = !{!"llvm.loop.mustprogress"}


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

%"class.std::vector.74" = type { %"struct.std::_Vector_base.75" }
%"struct.std::_Vector_base.75" = type { %"struct.std::_Vector_base<QCollision::Contact *, std::allocator<QCollision::Contact *>>::_Vector_impl" }
%"struct.std::_Vector_base<QCollision::Contact *, std::allocator<QCollision::Contact *>>::_Vector_impl" = type { %"struct.std::_Vector_base<QCollision::Contact *, std::allocator<QCollision::Contact *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<QCollision::Contact *, std::allocator<QCollision::Contact *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.QAABB = type { %struct.QVector, %struct.QVector, %struct.QVector, float }
%struct.QVector = type { float, float }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<QManifold, std::allocator<QManifold>>::_Vector_impl" }
%"struct.std::_Vector_base<QManifold, std::allocator<QManifold>>::_Vector_impl" = type { %"struct.std::_Vector_base<QManifold, std::allocator<QManifold>>::_Vector_impl_data" }
%"struct.std::_Vector_base<QManifold, std::allocator<QManifold>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.43" = type { ptr }
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<QBody *, std::allocator<QBody *>>::_Vector_impl" }
%"struct.std::_Vector_base<QBody *, std::allocator<QBody *>>::_Vector_impl" = type { %"struct.std::_Vector_base<QBody *, std::allocator<QBody *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<QBody *, std::allocator<QBody *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.QManifold = type { %struct.QVector, float, float, i8, ptr, ptr, %"class.std::vector.74" }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5QBody10GetEnabledEv(ptr noundef nonnull align 8 dereferenceable(293)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPP5QBodySt6vectorIS3_SaIS3_EEEEPFbPKS2_SA_EEvT_SD_T0_(ptr, ptr, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6QWorld20SortBodiesHorizontalEPK5QBodyS2_(ptr noundef, ptr noundef) #3 align 2

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

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

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

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

declare void @_ZN5QMesh22UpdatePolygonBisectorsEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6QWorld13GetCollisionsEP5QBodyS1_(ptr dead_on_unwind noalias writable sret(%"class.std::vector.74") align 8, ptr noundef, ptr noundef) local_unnamed_addr #6 align 2

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

declare void @_ZN9QManifoldC1EP5QBodyS1_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef, ptr noundef) unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI9QManifoldSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #6 align 2

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

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

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

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

declare noundef zeroext i1 @_ZN5QBody10CanCollideEPS_S0_b(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind noalias writable sret(%class.QAABB) align 4, ptr noundef nonnull align 8 dereferenceable(293)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local <2 x float> @_ZN5QAABB6GetMaxEv(ptr noundef nonnull align 4 dereferenceable(28)) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local <2 x float> @_ZN5QAABB6GetMinEv(ptr noundef nonnull align 4 dereferenceable(28)) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIP5QBodySaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6QWorld22TestCollisionWithWorldEP5QBody(ptr dead_on_unwind noalias writable sret(%"class.std::vector.25") align 8 %0, ptr noundef nonnull align 8 dereferenceable(272) %1, ptr noundef %2) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.43", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.43", align 8
  %6 = alloca %"class.std::vector.30", align 8
  %7 = alloca %class.QAABB, align 4
  %8 = alloca %class.QAABB, align 4
  %9 = alloca %class.QAABB, align 4
  %10 = alloca %class.QAABB, align 4
  %11 = alloca %class.QAABB, align 4
  %12 = alloca %class.QAABB, align 4
  %13 = alloca %class.QAABB, align 4
  %14 = alloca %class.QAABB, align 4
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.43", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.43", align 8
  %17 = alloca %"class.std::vector.74", align 8
  %18 = alloca %class.QManifold, align 8
  %19 = alloca %class.QAABB, align 4
  %20 = alloca %class.QAABB, align 4
  %21 = getelementptr inbounds i8, ptr %2, i64 264
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  %22 = tail call ptr @_ZNSt6vectorIP5QMeshSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  store ptr %22, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  %23 = tail call ptr @_ZNSt6vectorIP5QMeshSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  store ptr %23, ptr %5, align 8
  %24 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP5QMeshSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  br i1 %24, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #8
  %25 = getelementptr inbounds i8, ptr %1, i64 248
  call void @_ZNSt6vectorIP5QBodySaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %25)
  %26 = call ptr @_ZNSt6vectorIP5QBodySaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  %27 = call ptr @_ZNSt6vectorIP5QBodySaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPP5QBodySt6vectorIS3_SaIS3_EEEEPFbPKS2_SA_EEvT_SD_T0_(ptr %26, ptr %27, ptr noundef nonnull @_ZN6QWorld20SortBodiesHorizontalEPK5QBodyS2_)
          to label %32 unwind label %36

.lr.ph:                                           ; preds = %3, %.lr.ph
  %28 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP5QMeshSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  %29 = load ptr, ptr %28, align 8, !tbaa !5
  call void @_ZN5QMesh22UpdatePolygonBisectorsEv(ptr noundef nonnull align 8 dereferenceable(256) %29)
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP5QMeshSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  %31 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP5QMeshSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  br i1 %31, label %.lr.ph, label %._crit_edge

32:                                               ; preds = %._crit_edge
  call void @_ZNSt6vectorI9QManifoldSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  %33 = call noundef i64 @_ZNKSt6vectorIP5QBodySaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  %.not70 = icmp eq i64 %33, 0
  br i1 %.not70, label %._crit_edge68, label %.lr.ph67

.lr.ph67:                                         ; preds = %32
  %34 = getelementptr inbounds i8, ptr %1, i64 240
  %35 = getelementptr inbounds i8, ptr %18, i64 40
  br label %38

36:                                               ; preds = %._crit_edge
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %107

38:                                               ; preds = %.lr.ph67, %101
  %39 = phi i64 [ 0, %.lr.ph67 ], [ %103, %101 ]
  %.04965 = phi i32 [ 0, %.lr.ph67 ], [ %102, %101 ]
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5QBodySaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %39) #8
  %41 = load ptr, ptr %40, align 8, !tbaa !5
  %42 = call noundef zeroext i1 @_ZN5QBody10GetEnabledEv(ptr noundef nonnull align 8 dereferenceable(293) %41)
  %43 = icmp ne ptr %41, %2
  %or.cond.not = and i1 %43, %42
  br i1 %or.cond.not, label %46, label %101

44:                                               ; preds = %46
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %106

46:                                               ; preds = %38
  %47 = invoke noundef zeroext i1 @_ZN5QBody10CanCollideEPS_S0_b(ptr noundef %2, ptr noundef nonnull %41, i1 noundef zeroext false)
          to label %48 unwind label %44

48:                                               ; preds = %46
  br i1 %47, label %49, label %101

49:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %7) #8
  call void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind nonnull writable sret(%class.QAABB) align 4 %7, ptr noundef nonnull align 8 dereferenceable(293) %2)
  %50 = call <2 x float> @_ZN5QAABB6GetMinEv(ptr noundef nonnull align 4 dereferenceable(28) %7)
  %.sroa.011.0.vec.extract = extractelement <2 x float> %50, i64 0
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %8) #8
  call void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind nonnull writable sret(%class.QAABB) align 4 %8, ptr noundef nonnull align 8 dereferenceable(293) %41)
  %51 = call <2 x float> @_ZN5QAABB6GetMaxEv(ptr noundef nonnull align 4 dereferenceable(28) %8)
  %.sroa.010.0.vec.extract = extractelement <2 x float> %51, i64 0
  %52 = fcmp ugt float %.sroa.011.0.vec.extract, %.sroa.010.0.vec.extract
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %7) #8
  br i1 %52, label %97, label %53

53:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %9) #8
  call void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind nonnull writable sret(%class.QAABB) align 4 %9, ptr noundef nonnull align 8 dereferenceable(293) %2)
  %54 = call <2 x float> @_ZN5QAABB6GetMaxEv(ptr noundef nonnull align 4 dereferenceable(28) %9)
  %.sroa.09.0.vec.extract = extractelement <2 x float> %54, i64 0
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %10) #8
  call void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind nonnull writable sret(%class.QAABB) align 4 %10, ptr noundef nonnull align 8 dereferenceable(293) %41)
  %55 = call <2 x float> @_ZN5QAABB6GetMinEv(ptr noundef nonnull align 4 dereferenceable(28) %10)
  %.sroa.08.0.vec.extract = extractelement <2 x float> %55, i64 0
  %56 = fcmp ult float %.sroa.09.0.vec.extract, %.sroa.08.0.vec.extract
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %9) #8
  br i1 %56, label %97, label %57

57:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %13) #8
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %14) #8
  call void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind nonnull writable sret(%class.QAABB) align 4 %11, ptr noundef nonnull align 8 dereferenceable(293) %2)
  %58 = call <2 x float> @_ZN5QAABB6GetMinEv(ptr noundef nonnull align 4 dereferenceable(28) %11)
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %12) #8
  call void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind nonnull writable sret(%class.QAABB) align 4 %12, ptr noundef nonnull align 8 dereferenceable(293) %41)
  %59 = call <2 x float> @_ZN5QAABB6GetMaxEv(ptr noundef nonnull align 4 dereferenceable(28) %12)
  %60 = fcmp ugt <2 x float> %58, %59
  %61 = extractelement <2 x i1> %60, i64 1
  br i1 %61, label %.critedge, label %62

62:                                               ; preds = %57
  call void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind nonnull writable sret(%class.QAABB) align 4 %13, ptr noundef nonnull align 8 dereferenceable(293) %2)
  %63 = call <2 x float> @_ZN5QAABB6GetMaxEv(ptr noundef nonnull align 4 dereferenceable(28) %13)
  call void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind nonnull writable sret(%class.QAABB) align 4 %14, ptr noundef nonnull align 8 dereferenceable(293) %41)
  %64 = call <2 x float> @_ZN5QAABB6GetMinEv(ptr noundef nonnull align 4 dereferenceable(28) %14)
  %65 = fcmp ult <2 x float> %63, %64
  %66 = extractelement <2 x i1> %65, i64 1
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %11) #8
  br i1 %66, label %97, label %67

67:                                               ; preds = %62
  %68 = load i32, ptr %34, align 8, !tbaa !9
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr %34, align 8, !tbaa !9
  %70 = getelementptr inbounds i8, ptr %41, i64 264
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  %71 = call ptr @_ZNSt6vectorIP5QMeshSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %70) #8
  store ptr %71, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  %72 = call ptr @_ZNSt6vectorIP5QMeshSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %70) #8
  store ptr %72, ptr %16, align 8
  %73 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP5QMeshSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  br i1 %73, label %.lr.ph63, label %._crit_edge64

._crit_edge64:                                    ; preds = %76, %67
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #8
  invoke void @_ZN6QWorld13GetCollisionsEP5QBodyS1_(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.74") align 8 %17, ptr noundef nonnull %2, ptr noundef nonnull %41)
          to label %81 unwind label %88

.lr.ph63:                                         ; preds = %67, %76
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP5QMeshSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  %75 = load ptr, ptr %74, align 8, !tbaa !5
  invoke void @_ZN5QMesh22UpdatePolygonBisectorsEv(ptr noundef nonnull align 8 dereferenceable(256) %75)
          to label %76 unwind label %79

76:                                               ; preds = %.lr.ph63
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP5QMeshSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  %78 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP5QMeshSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  br i1 %78, label %.lr.ph63, label %._crit_edge64

79:                                               ; preds = %.lr.ph63
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  br label %106

81:                                               ; preds = %._crit_edge64
  %82 = call noundef i64 @_ZNKSt6vectorIPN10QCollision7ContactESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  %.not = icmp eq i64 %82, 0
  br i1 %.not, label %95, label %83

83:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #8
  invoke void @_ZN9QManifoldC1EP5QBodyS1_(ptr noundef nonnull align 8 dereferenceable(64) %18, ptr noundef nonnull %2, ptr noundef nonnull %41)
          to label %84 unwind label %90

84:                                               ; preds = %83
  %85 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIPN10QCollision7ContactESaIS2_EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %86 unwind label %92

86:                                               ; preds = %84
  invoke void @_ZNSt6vectorI9QManifoldSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(64) %18)
          to label %87 unwind label %92

87:                                               ; preds = %86
  call void @_ZN9QManifoldD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %18) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #8
  br label %95

88:                                               ; preds = %._crit_edge64
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %96

90:                                               ; preds = %83
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %94

92:                                               ; preds = %86, %84
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9QManifoldD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %18) #8
  br label %94

94:                                               ; preds = %92, %90
  %.pn = phi { ptr, i32 } [ %93, %92 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #8
  call void @_ZNSt6vectorIPN10QCollision7ContactESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  br label %96

95:                                               ; preds = %87, %81
  call void @_ZNSt6vectorIPN10QCollision7ContactESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #8
  br label %97

96:                                               ; preds = %94, %88
  %.pn.pn = phi { ptr, i32 } [ %.pn, %94 ], [ %89, %88 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #8
  br label %106

.critedge:                                        ; preds = %57
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %11) #8
  br label %97

97:                                               ; preds = %53, %.critedge, %95, %62, %49
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %19) #8
  call void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind nonnull writable sret(%class.QAABB) align 4 %19, ptr noundef nonnull align 8 dereferenceable(293) %41)
  %98 = call <2 x float> @_ZN5QAABB6GetMinEv(ptr noundef nonnull align 4 dereferenceable(28) %19)
  %.sroa.01.0.vec.extract = extractelement <2 x float> %98, i64 0
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %20) #8
  call void @_ZNK5QBody7GetAABBEv(ptr dead_on_unwind nonnull writable sret(%class.QAABB) align 4 %20, ptr noundef nonnull align 8 dereferenceable(293) %2)
  %99 = call <2 x float> @_ZN5QAABB6GetMaxEv(ptr noundef nonnull align 4 dereferenceable(28) %20)
  %.sroa.0.0.vec.extract = extractelement <2 x float> %99, i64 0
  %100 = fcmp ogt float %.sroa.01.0.vec.extract, %.sroa.0.0.vec.extract
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %19) #8
  br i1 %100, label %._crit_edge68, label %101

101:                                              ; preds = %38, %48, %97
  %102 = add i32 %.04965, 1
  %103 = zext i32 %102 to i64
  %104 = call noundef i64 @_ZNKSt6vectorIP5QBodySaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  %105 = icmp ugt i64 %104, %103
  br i1 %105, label %38, label %._crit_edge68, !llvm.loop !48

106:                                              ; preds = %96, %79, %44
  %.pn56 = phi { ptr, i32 } [ %80, %79 ], [ %.pn.pn, %96 ], [ %45, %44 ]
  call void @_ZNSt6vectorI9QManifoldSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  br label %107

._crit_edge68:                                    ; preds = %101, %97, %32
  call void @_ZNSt6vectorIP5QBodySaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  ret void

107:                                              ; preds = %106, %36
  %.pn56.pn = phi { ptr, i32 } [ %.pn56, %106 ], [ %37, %36 ]
  call void @_ZNSt6vectorIP5QBodySaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  resume { ptr, i32 } %.pn56.pn
}

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "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 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 #7 = { mustprogress nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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, !43, i64 240}
!10 = !{!"_ZTS6QWorld", !11, i64 0, !15, i64 24, !19, i64 48, !23, i64 72, !27, i64 96, !31, i64 120, !37, i64 176, !6, i64 200, !41, i64 208, !42, i64 212, !41, i64 220, !41, i64 221, !43, i64 224, !36, i64 228, !36, i64 232, !36, i64 236, !43, i64 240, !43, i64 244, !44, i64 248}
!11 = !{!"_ZTSSt6vectorIP6QJointSaIS1_EE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIP6QJointSaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIP6QJointSaIS1_EE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIP6QJointSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!"_ZTSSt6vectorIP7QSpringSaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIP7QSpringSaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIP7QSpringSaIS1_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIP7QSpringSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt6vectorIP8QRaycastSaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIP8QRaycastSaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIP8QRaycastSaIS1_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIP8QRaycastSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSSt6vectorIP6QGizmoSaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIP6QGizmoSaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIP6QGizmoSaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIP6QGizmoSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!"_ZTSSt6vectorIS_IP5QBodySaIS1_EESaIS3_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseISt6vectorIP5QBodySaIS2_EESaIS4_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseISt6vectorIP5QBodySaIS2_EESaIS4_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseISt6vectorIP5QBodySaIS2_EESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"_ZTSSt13unordered_setISt4pairIP5QBodyS2_ENS1_12BodyPairHashENS1_13BodyPairEqualESaIS3_EE", !32, i64 0}
!32 = !{!"_ZTSSt10_HashtableISt4pairIP5QBodyS2_ES3_SaIS3_ENSt8__detail9_IdentityENS1_13BodyPairEqualENS1_12BodyPairHashENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb1ELb1ELb1EEEE", !6, i64 0, !33, i64 8, !34, i64 16, !33, i64 24, !35, i64 32, !6, i64 48}
!33 = !{!"long", !7, i64 0}
!34 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!35 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !36, i64 0, !33, i64 8}
!36 = !{!"float", !7, i64 0}
!37 = !{!"_ZTSSt6vectorI9QManifoldSaIS0_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseI9QManifoldSaIS0_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseI9QManifoldSaIS0_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseI9QManifoldSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!"bool", !7, i64 0}
!42 = !{!"_ZTS7QVector", !36, i64 0, !36, i64 4}
!43 = !{!"int", !7, i64 0}
!44 = !{!"_ZTSSt6vectorIP5QBodySaIS1_EE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseIP5QBodySaIS1_EE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIP5QBodySaIS1_EE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIP5QBodySaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!48 = distinct !{!48, !49}
!49 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass