; LLVM IR from erayzesen/QuarkPhysics :: QuarkPhysics/extensions (qplatformerbody)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.QPlatformerBody::CollisionTestInfo" = type <{ ptr, %struct.QVector, float, %struct.QVector, [4 x i8] }>
%struct.QVector = type { float, float }
%"class.std::vector.2" = type { %"struct.std::_Vector_base.3" }
%"struct.std::_Vector_base.3" = 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.QManifold = type { %struct.QVector, float, float, i8, ptr, ptr, %"class.std::vector.42" }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = 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.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.0", i8, [7 x i8], %"class.std::vector", i32, i8, [3 x i8] }>
%class.QAABB = type { %struct.QVector, %struct.QVector, %struct.QVector, float }
%"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.0" = type { %"class.std::_Function_base", ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.QPlatformerBody = type { %class.QRigidBody.base, i8, i8, i32, float, float, ptr, %struct.QVector, float, %struct.QVector, %struct.QVector, %struct.QVector, float, %struct.QVector, %struct.QVector, i8, i8, i32, float, float, i32, float, i32, i32, i32, i32, float, float }
%class.QRigidBody.base = type { %class.QBody.base, i8, %struct.QVector, float }
%class.QBody.base = 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.0", i8, [7 x i8], %"class.std::vector", i32, i8 }>
%"struct.QCollision::Contact" = type <{ %struct.QVector, ptr, %struct.QVector, float, [4 x i8], %"class.std::vector.47", i8, [7 x i8] }>
%"class.std::vector.47" = type { %"struct.std::_Vector_base.48" }
%"struct.std::_Vector_base.48" = type { %"struct.std::_Vector_base<QParticle *, std::allocator<QParticle *>>::_Vector_impl" }
%"struct.std::_Vector_base<QParticle *, std::allocator<QParticle *>>::_Vector_impl" = type { %"struct.std::_Vector_base<QParticle *, std::allocator<QParticle *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<QParticle *, std::allocator<QParticle *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZN6QWorld14MAX_WORLD_SIZEE = external dso_local global float, align 4

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN7QVector4ZeroEv() #0 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) #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZNK7QVector10NormalizedEv(ptr noundef nonnull align 4 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK7QVectorngEv(ptr noundef nonnull align 4 dereferenceable(8)) #0 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15QPlatformerBody21GetPlatformCollisionsE7QVectorb(ptr dead_on_unwind noalias writable sret(%"struct.QPlatformerBody::CollisionTestInfo") align 8 %0, ptr noundef nonnull align 8 dereferenceable(440) %1, <2 x float> %2, i1 noundef zeroext %3) #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %struct.QVector, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca %struct.QVector, align 4
  %9 = alloca %struct.QVector, align 4
  %10 = alloca %struct.QVector, align 4
  %11 = alloca %struct.QVector, align 4
  %12 = alloca %struct.QVector, align 4
  %13 = alloca %struct.QVector, align 4
  %14 = alloca %struct.QVector, align 4
  %15 = alloca %struct.QVector, align 4
  %16 = alloca %"class.std::vector.2", align 8
  %17 = alloca %struct.QVector, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca float, align 4
  %21 = alloca i64, align 8
  %22 = alloca i32, align 4
  %23 = alloca %class.QManifold, align 8
  %24 = alloca ptr, align 8
  %25 = alloca i64, align 8
  %26 = alloca ptr, align 8
  %27 = alloca %struct.QVector, align 4
  %28 = alloca %struct.QVector, align 4
  %29 = alloca %struct.QVector, align 4
  %30 = alloca float, align 4
  %31 = alloca %struct.QVector, align 4
  %32 = alloca %struct.QVector, align 4
  store <2 x float> %2, ptr %5, align 4
  store ptr %1, ptr %6, align 8, !tbaa !5
  %33 = zext i1 %3 to i8
  store i8 %33, ptr %7, align 1, !tbaa !9
  %34 = load ptr, ptr %6, align 8
  %35 = call <2 x float> @_ZN7QVector4ZeroEv()
  store <2 x float> %35, ptr %8, align 4
  %36 = call <2 x float> @_ZN7QVector4ZeroEv()
  store <2 x float> %36, ptr %9, align 4
  %37 = load <2 x float>, ptr %8, align 4
  %38 = load <2 x float>, ptr %9, align 4
  call void @_ZN15QPlatformerBody17CollisionTestInfoC2EP5QBody7QVectorfS3_(ptr noundef nonnull align 8 dereferenceable(28) %0, ptr noundef null, <2 x float> %37, float noundef 0.000000e+00, <2 x float> %38)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  %39 = call <2 x float> @_ZN5QBody11GetPositionEv(ptr noundef nonnull align 8 dereferenceable(293) %34)
  store <2 x float> %39, ptr %10, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 4 %5, i64 8, i1 false), !tbaa.struct !11
  %40 = load <2 x float>, ptr %11, align 4
  %41 = call noundef ptr @_ZN5QBody11SetPositionE7QVectorb(ptr noundef nonnull align 8 dereferenceable(293) %34, <2 x float> %40, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %5, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %10, i64 8, i1 false), !tbaa.struct !11
  %42 = load <2 x float>, ptr %14, align 4
  %43 = load <2 x float>, ptr %15, align 4
  %44 = call <2 x float> @_Zmi7QVectorS_(<2 x float> %42, <2 x float> %43)
  store <2 x float> %44, ptr %13, align 4
  %45 = call <2 x float> @_ZNK7QVector10NormalizedEv(ptr noundef nonnull align 4 dereferenceable(8) %13)
  store <2 x float> %45, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #10
  %46 = getelementptr inbounds %class.QBody, ptr %34, i32 0, i32 3
  %47 = load ptr, ptr %46, align 8, !tbaa !14
  call void @_ZN6QWorld22TestCollisionWithWorldEP5QBody(ptr dead_on_unwind writable sret(%"class.std::vector.2") align 8 %16, ptr noundef nonnull align 8 dereferenceable(272) %47, ptr noundef %34)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %10, i64 8, i1 false), !tbaa.struct !11
  %48 = load <2 x float>, ptr %17, align 4
  %49 = invoke noundef ptr @_ZN5QBody11SetPositionE7QVectorb(ptr noundef nonnull align 8 dereferenceable(293) %34, <2 x float> %48, i1 noundef zeroext true)
          to label %50 unwind label %59

50:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #10
  %51 = getelementptr inbounds %class.QBody, ptr %34, i32 0, i32 3
  %52 = load ptr, ptr %51, align 8, !tbaa !14
  %53 = load float, ptr @_ZN6QWorld14MAX_WORLD_SIZEE, align 4, !tbaa !12
  store float %53, ptr %20, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  store i64 0, ptr %21, align 8, !tbaa !29
  br label %54

54:                                               ; preds = %213, %50
  %55 = load i64, ptr %21, align 8, !tbaa !29
  %56 = call noundef i64 @_ZNKSt6vectorI9QManifoldSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #10
  %57 = icmp ult i64 %55, %56
  br i1 %57, label %63, label %58

58:                                               ; preds = %54
  store i32 2, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  br label %218

59:                                               ; preds = %4
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %18, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %19, align 4
  br label %219

63:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 64, ptr %23) #10
  %64 = load i64, ptr %21, align 8, !tbaa !29
  %65 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI9QManifoldSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %64) #10
  invoke void @_ZN9QManifoldC2ERKS_(ptr noundef nonnull align 8 dereferenceable(64) %23, ptr noundef nonnull align 8 dereferenceable(64) %65)
          to label %66 unwind label %83

66:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  %67 = getelementptr inbounds %class.QManifold, ptr %23, i32 0, i32 4
  %68 = load ptr, ptr %67, align 8, !tbaa !31
  %69 = icmp eq ptr %68, %34
  br i1 %69, label %70, label %73

70:                                               ; preds = %66
  %71 = getelementptr inbounds %class.QManifold, ptr %23, i32 0, i32 5
  %72 = load ptr, ptr %71, align 8, !tbaa !37
  br label %76

73:                                               ; preds = %66
  %74 = getelementptr inbounds %class.QManifold, ptr %23, i32 0, i32 4
  %75 = load ptr, ptr %74, align 8, !tbaa !31
  br label %76

76:                                               ; preds = %73, %70
  %77 = phi ptr [ %72, %70 ], [ %75, %73 ]
  store ptr %77, ptr %24, align 8, !tbaa !5
  %78 = load ptr, ptr %24, align 8, !tbaa !5
  %79 = invoke noundef i32 @_ZN5QBody11GetBodyTypeEv(ptr noundef nonnull align 8 dereferenceable(293) %78)
          to label %80 unwind label %87

80:                                               ; preds = %76
  %81 = icmp eq i32 %79, 1
  br i1 %81, label %82, label %91

82:                                               ; preds = %80
  store i32 4, ptr %22, align 4
  br label %210

83:                                               ; preds = %63
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %18, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %19, align 4
  br label %217

87:                                               ; preds = %95, %76
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %18, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %19, align 4
  br label %216

91:                                               ; preds = %80
  %92 = getelementptr inbounds %class.QPlatformerBody, ptr %34, i32 0, i32 3
  %93 = load i32, ptr %92, align 8, !tbaa !38
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %95, label %105

95:                                               ; preds = %91
  %96 = getelementptr inbounds %class.QPlatformerBody, ptr %34, i32 0, i32 3
  %97 = load i32, ptr %96, align 8, !tbaa !38
  %98 = load ptr, ptr %24, align 8, !tbaa !5
  %99 = invoke noundef i32 @_ZN5QBody12GetLayersBitEv(ptr noundef nonnull align 8 dereferenceable(293) %98)
          to label %100 unwind label %87

100:                                              ; preds = %95
  %101 = and i32 %97, %99
  %102 = icmp eq i32 %101, 0
  br i1 %102, label %103, label %104

103:                                              ; preds = %100
  store i32 4, ptr %22, align 4
  br label %210

104:                                              ; preds = %100
  br label %105

105:                                              ; preds = %104, %91
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  store i64 0, ptr %25, align 8, !tbaa !29
  br label %106

106:                                              ; preds = %204, %105
  %107 = load i64, ptr %25, align 8, !tbaa !29
  %108 = getelementptr inbounds %class.QManifold, ptr %23, i32 0, i32 6
  %109 = call noundef i64 @_ZNKSt6vectorIPN10QCollision7ContactESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %108) #10
  %110 = icmp ult i64 %107, %109
  br i1 %110, label %112, label %111

111:                                              ; preds = %106
  store i32 5, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  br label %209

112:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #10
  %113 = getelementptr inbounds %class.QManifold, ptr %23, i32 0, i32 6
  %114 = load i64, ptr %25, align 8, !tbaa !29
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN10QCollision7ContactESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %113, i64 noundef %114) #10
  %116 = load ptr, ptr %115, align 8, !tbaa !5
  store ptr %116, ptr %26, align 8, !tbaa !5
  %117 = load i8, ptr %7, align 1, !tbaa !9, !range !42, !noundef !43
  %118 = trunc i8 %117 to i1
  %119 = zext i1 %118 to i32
  %120 = icmp eq i32 %119, 1
  br i1 %120, label %121, label %154

121:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #10
  %122 = load ptr, ptr %26, align 8, !tbaa !5
  %123 = getelementptr inbounds %"struct.QCollision::Contact", ptr %122, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 8 %123, i64 8, i1 false), !tbaa.struct !11
  %124 = load ptr, ptr %26, align 8, !tbaa !5
  %125 = getelementptr inbounds %"struct.QCollision::Contact", ptr %124, i32 0, i32 1
  %126 = load ptr, ptr %125, align 8, !tbaa !44
  %127 = invoke noundef ptr @_ZN9QParticle12GetOwnerMeshEv(ptr noundef nonnull align 8 dereferenceable(290) %126)
          to label %128 unwind label %135

128:                                              ; preds = %121
  %129 = invoke noundef ptr @_ZN5QMesh12GetOwnerBodyEv(ptr noundef nonnull align 8 dereferenceable(256) %127)
          to label %130 unwind label %135

130:                                              ; preds = %128
  %131 = icmp ne ptr %129, %34
  br i1 %131, label %132, label %143

132:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #10
  %133 = invoke <2 x float> @_ZNK7QVectorngEv(ptr noundef nonnull align 4 dereferenceable(8) %27)
          to label %134 unwind label %139

134:                                              ; preds = %132
  store <2 x float> %133, ptr %28, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %28, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  br label %143

135:                                              ; preds = %143, %128, %121
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %18, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %19, align 4
  br label %153

139:                                              ; preds = %132
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %18, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  br label %153

143:                                              ; preds = %134, %130
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %12, i64 8, i1 false), !tbaa.struct !11
  %144 = load <2 x float>, ptr %29, align 4
  %145 = invoke noundef float @_ZNK7QVector3DotES_(ptr noundef nonnull align 4 dereferenceable(8) %27, <2 x float> %144)
          to label %146 unwind label %135

146:                                              ; preds = %143
  %147 = fcmp oge float %145, 0.000000e+00
  br i1 %147, label %148, label %149

148:                                              ; preds = %146
  store i32 7, ptr %22, align 4
  br label %150

149:                                              ; preds = %146
  store i32 0, ptr %22, align 4
  br label %150

150:                                              ; preds = %149, %148
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  %151 = load i32, ptr %22, align 4
  switch i32 %151, label %201 [
    i32 0, label %152
  ]

152:                                              ; preds = %150
  br label %154

153:                                              ; preds = %139, %135
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  br label %208

154:                                              ; preds = %152, %112
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #10
  %155 = load ptr, ptr %26, align 8, !tbaa !5
  %156 = getelementptr inbounds %"struct.QCollision::Contact", ptr %155, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %12, i64 8, i1 false), !tbaa.struct !11
  %157 = load <2 x float>, ptr %31, align 4
  %158 = invoke noundef float @_ZNK7QVector3DotES_(ptr noundef nonnull align 4 dereferenceable(8) %156, <2 x float> %157)
          to label %159 unwind label %192

159:                                              ; preds = %154
  store float %158, ptr %30, align 4, !tbaa !12
  %160 = load float, ptr %30, align 4, !tbaa !12
  %161 = load float, ptr %20, align 4, !tbaa !12
  %162 = fcmp olt float %160, %161
  br i1 %162, label %163, label %200

163:                                              ; preds = %159
  %164 = load ptr, ptr %24, align 8, !tbaa !5
  %165 = getelementptr inbounds %"struct.QPlatformerBody::CollisionTestInfo", ptr %0, i32 0, i32 0
  store ptr %164, ptr %165, align 8, !tbaa !50
  %166 = load ptr, ptr %26, align 8, !tbaa !5
  %167 = getelementptr inbounds %"struct.QCollision::Contact", ptr %166, i32 0, i32 0
  %168 = getelementptr inbounds %"struct.QPlatformerBody::CollisionTestInfo", ptr %0, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %168, ptr align 8 %167, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #10
  %169 = load ptr, ptr %26, align 8, !tbaa !5
  %170 = getelementptr inbounds %"struct.QCollision::Contact", ptr %169, i32 0, i32 1
  %171 = load ptr, ptr %170, align 8, !tbaa !44
  %172 = invoke noundef ptr @_ZN9QParticle12GetOwnerMeshEv(ptr noundef nonnull align 8 dereferenceable(290) %171)
          to label %173 unwind label %196

173:                                              ; preds = %163
  %174 = invoke noundef ptr @_ZN5QMesh12GetOwnerBodyEv(ptr noundef nonnull align 8 dereferenceable(256) %172)
          to label %175 unwind label %196

175:                                              ; preds = %173
  %176 = icmp eq ptr %174, %34
  br i1 %176, label %177, label %180

177:                                              ; preds = %175
  %178 = load ptr, ptr %26, align 8, !tbaa !5
  %179 = getelementptr inbounds %"struct.QCollision::Contact", ptr %178, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 8 %179, i64 8, i1 false), !tbaa.struct !11
  br label %185

180:                                              ; preds = %175
  %181 = load ptr, ptr %26, align 8, !tbaa !5
  %182 = getelementptr inbounds %"struct.QCollision::Contact", ptr %181, i32 0, i32 2
  %183 = invoke <2 x float> @_ZNK7QVectorngEv(ptr noundef nonnull align 4 dereferenceable(8) %182)
          to label %184 unwind label %196

184:                                              ; preds = %180
  store <2 x float> %183, ptr %32, align 4
  br label %185

185:                                              ; preds = %184, %177
  %186 = getelementptr inbounds %"struct.QPlatformerBody::CollisionTestInfo", ptr %0, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %186, ptr align 4 %32, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #10
  %187 = load ptr, ptr %26, align 8, !tbaa !5
  %188 = getelementptr inbounds %"struct.QCollision::Contact", ptr %187, i32 0, i32 3
  %189 = load float, ptr %188, align 8, !tbaa !52
  %190 = getelementptr inbounds %"struct.QPlatformerBody::CollisionTestInfo", ptr %0, i32 0, i32 2
  store float %189, ptr %190, align 8, !tbaa !53
  %191 = load float, ptr %30, align 4, !tbaa !12
  store float %191, ptr %20, align 4, !tbaa !12
  br label %200

192:                                              ; preds = %154
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %18, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %19, align 4
  br label %207

196:                                              ; preds = %180, %173, %163
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %18, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #10
  br label %207

200:                                              ; preds = %185, %159
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #10
  store i32 0, ptr %22, align 4
  br label %201

201:                                              ; preds = %200, %150
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  %202 = load i32, ptr %22, align 4
  switch i32 %202, label %225 [
    i32 0, label %203
    i32 7, label %204
  ]

203:                                              ; preds = %201
  br label %204

204:                                              ; preds = %203, %201
  %205 = load i64, ptr %25, align 8, !tbaa !29
  %206 = add i64 %205, 1
  store i64 %206, ptr %25, align 8, !tbaa !29
  br label %106, !llvm.loop !54

207:                                              ; preds = %196, %192
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #10
  br label %208

208:                                              ; preds = %207, %153
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  br label %216

209:                                              ; preds = %111
  store i32 0, ptr %22, align 4
  br label %210

210:                                              ; preds = %209, %103, %82
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  call void @_ZN9QManifoldD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %23) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %23) #10
  %211 = load i32, ptr %22, align 4
  switch i32 %211, label %225 [
    i32 0, label %212
    i32 4, label %213
  ]

212:                                              ; preds = %210
  br label %213

213:                                              ; preds = %212, %210
  %214 = load i64, ptr %21, align 8, !tbaa !29
  %215 = add i64 %214, 1
  store i64 %215, ptr %21, align 8, !tbaa !29
  br label %54, !llvm.loop !56

216:                                              ; preds = %208, %87
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  call void @_ZN9QManifoldD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %23) #10
  br label %217

217:                                              ; preds = %216, %83
  call void @llvm.lifetime.end.p0(i64 64, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  br label %219

218:                                              ; preds = %58
  store i32 1, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  call void @_ZNSt6vectorI9QManifoldSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  ret void

219:                                              ; preds = %217, %59
  call void @_ZNSt6vectorI9QManifoldSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  br label %220

220:                                              ; preds = %219
  %221 = load ptr, ptr %18, align 8
  %222 = load i32, ptr %19, align 4
  %223 = insertvalue { ptr, i32 } poison, ptr %221, 0
  %224 = insertvalue { ptr, i32 } %223, i32 %222, 1
  resume { ptr, i32 } %224

225:                                              ; preds = %210, %201
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN15QPlatformerBody17CollisionTestInfoC2EP5QBody7QVectorfS3_(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef, <2 x float>, float noundef, <2 x float>) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5QBody11SetPositionE7QVectorb(ptr noundef nonnull align 8 dereferenceable(293), <2 x float>, i1 noundef zeroext) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_Zmi7QVectorS_(<2 x float>, <2 x float>) #0

declare void @_ZN6QWorld22TestCollisionWithWorldEP5QBody(ptr dead_on_unwind writable sret(%"class.std::vector.2") align 8, ptr noundef nonnull align 8 dereferenceable(272), ptr noundef) #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN9QManifoldC2ERKS_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #7 align 2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK7QVector3DotES_(ptr noundef nonnull align 4 dereferenceable(8), <2 x float>) #8 align 2

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

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

attributes #0 = { 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 #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint 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 = { 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 #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 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 #7 = { 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 #8 = { inlinehint 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 #9 = { 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 #10 = { 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 = !{i64 0, i64 4, !12, i64 4, i64 4, !12}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !7, i64 0}
!14 = !{!15, !6, i64 16}
!15 = !{!"_ZTS5QBody", !13, i64 8, !13, i64 12, !6, i64 16, !16, i64 24, !16, i64 32, !13, i64 40, !13, i64 44, !17, i64 48, !18, i64 76, !10, i64 80, !10, i64 81, !10, i64 82, !13, i64 84, !19, i64 88, !10, i64 92, !13, i64 96, !10, i64 100, !10, i64 101, !16, i64 104, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !13, i64 128, !20, i64 132, !20, i64 136, !10, i64 140, !10, i64 141, !10, i64 142, !20, i64 144, !20, i64 148, !20, i64 152, !10, i64 156, !21, i64 160, !21, i64 192, !23, i64 224, !10, i64 256, !24, i64 264, !28, i64 288, !10, i64 292}
!16 = !{!"_ZTS7QVector", !13, i64 0, !13, i64 4}
!17 = !{!"_ZTS5QAABB", !16, i64 0, !16, i64 8, !16, i64 16, !13, i64 24}
!18 = !{!"_ZTSN5QBody5ModesE", !7, i64 0}
!19 = !{!"_ZTSN5QBody9BodyTypesE", !7, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = !{!"_ZTSSt8functionIFvP5QBodyEE", !22, i64 0, !6, i64 24}
!22 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!23 = !{!"_ZTSSt8functionIFbP5QBodyNS0_13CollisionInfoEEE", !22, i64 0, !6, i64 24}
!24 = !{!"_ZTSSt6vectorIP5QMeshSaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIP5QMeshSaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIP5QMeshSaIS1_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIP5QMeshSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSN5QBody16SimulationModelsE", !7, i64 0}
!29 = !{!30, !30, i64 0}
!30 = !{!"long", !7, i64 0}
!31 = !{!32, !6, i64 24}
!32 = !{!"_ZTS9QManifold", !16, i64 0, !13, i64 8, !13, i64 12, !10, i64 16, !6, i64 24, !6, i64 32, !33, i64 40}
!33 = !{!"_ZTSSt6vectorIPN10QCollision7ContactESaIS2_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIPN10QCollision7ContactESaIS2_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIPN10QCollision7ContactESaIS2_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIPN10QCollision7ContactESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!32, !6, i64 32}
!38 = !{!39, !20, i64 312}
!39 = !{!"_ZTS15QPlatformerBody", !40, i64 0, !10, i64 308, !10, i64 309, !20, i64 312, !13, i64 316, !13, i64 320, !6, i64 328, !16, i64 336, !13, i64 344, !16, i64 348, !16, i64 356, !16, i64 364, !13, i64 372, !16, i64 376, !16, i64 384, !10, i64 392, !10, i64 393, !20, i64 396, !13, i64 400, !13, i64 404, !41, i64 408, !13, i64 412, !20, i64 416, !20, i64 420, !20, i64 424, !20, i64 428, !13, i64 432, !13, i64 436}
!40 = !{!"_ZTS10QRigidBody", !15, i64 0, !10, i64 293, !16, i64 296, !13, i64 304}
!41 = !{!"_ZTSN15QPlatformerBody9JumpModesE", !7, i64 0}
!42 = !{i8 0, i8 2}
!43 = !{}
!44 = !{!45, !6, i64 8}
!45 = !{!"_ZTSN10QCollision7ContactE", !16, i64 0, !6, i64 8, !16, i64 16, !13, i64 24, !46, i64 32, !10, i64 56}
!46 = !{!"_ZTSSt6vectorIP9QParticleSaIS1_EE", !47, i64 0}
!47 = !{!"_ZTSSt12_Vector_baseIP9QParticleSaIS1_EE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIP9QParticleSaIS1_EE12_Vector_implE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIP9QParticleSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!50 = !{!51, !6, i64 0}
!51 = !{!"_ZTSN15QPlatformerBody17CollisionTestInfoE", !6, i64 0, !16, i64 8, !13, i64 16, !16, i64 20}
!52 = !{!45, !13, i64 24}
!53 = !{!51, !13, i64 16}
!54 = distinct !{!54, !55}
!55 = !{!"llvm.loop.mustprogress"}
!56 = distinct !{!56, !55}


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

%"struct.QPlatformerBody::CollisionTestInfo" = type <{ ptr, %struct.QVector, float, %struct.QVector, [4 x i8] }>
%struct.QVector = type { float, float }
%"class.std::vector.2" = type { %"struct.std::_Vector_base.3" }
%"struct.std::_Vector_base.3" = 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.QManifold = type { %struct.QVector, float, float, i8, ptr, ptr, %"class.std::vector.42" }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = 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 }

@_ZN6QWorld14MAX_WORLD_SIZEE = external dso_local local_unnamed_addr global float, align 4

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN7QVector4ZeroEv() local_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: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZNK7QVector10NormalizedEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK7QVectorngEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #0 align 2

; 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 uwtable
define dso_local void @_ZN15QPlatformerBody21GetPlatformCollisionsE7QVectorb(ptr dead_on_unwind noalias writable sret(%"struct.QPlatformerBody::CollisionTestInfo") align 8 %0, ptr noundef nonnull align 8 dereferenceable(440) %1, <2 x float> %2, i1 noundef zeroext %3) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %struct.QVector, align 8
  %6 = alloca %"class.std::vector.2", align 8
  %7 = alloca %class.QManifold, align 8
  %8 = alloca %struct.QVector, align 8
  %9 = tail call <2 x float> @_ZN7QVector4ZeroEv()
  %10 = tail call <2 x float> @_ZN7QVector4ZeroEv()
  tail call void @_ZN15QPlatformerBody17CollisionTestInfoC2EP5QBody7QVectorfS3_(ptr noundef nonnull align 8 dereferenceable(28) %0, ptr noundef null, <2 x float> %9, float noundef 0.000000e+00, <2 x float> %10)
  %11 = tail call <2 x float> @_ZN5QBody11GetPositionEv(ptr noundef nonnull align 8 dereferenceable(293) %1)
  %12 = tail call noundef ptr @_ZN5QBody11SetPositionE7QVectorb(ptr noundef nonnull align 8 dereferenceable(293) %1, <2 x float> %2, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  %13 = tail call <2 x float> @_Zmi7QVectorS_(<2 x float> %2, <2 x float> %11)
  store <2 x float> %13, ptr %5, align 8
  %14 = call <2 x float> @_ZNK7QVector10NormalizedEv(ptr noundef nonnull align 4 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #9
  %15 = getelementptr inbounds i8, ptr %1, i64 16
  %16 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZN6QWorld22TestCollisionWithWorldEP5QBody(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.2") align 8 %6, ptr noundef nonnull align 8 dereferenceable(272) %16, ptr noundef nonnull %1)
  %17 = invoke noundef ptr @_ZN5QBody11SetPositionE7QVectorb(ptr noundef nonnull align 8 dereferenceable(293) %1, <2 x float> %11, i1 noundef zeroext true)
          to label %18 unwind label %83

18:                                               ; preds = %4
  %19 = load float, ptr @_ZN6QWorld14MAX_WORLD_SIZEE, align 4, !tbaa !25
  %20 = call noundef i64 @_ZNKSt6vectorI9QManifoldSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  %.not69 = icmp eq i64 %20, 0
  br i1 %.not69, label %._crit_edge, label %.lr.ph65

.lr.ph65:                                         ; preds = %18
  %21 = getelementptr inbounds i8, ptr %7, i64 24
  %22 = getelementptr inbounds i8, ptr %7, i64 32
  %23 = getelementptr inbounds i8, ptr %1, i64 312
  %24 = getelementptr inbounds i8, ptr %7, i64 40
  %25 = getelementptr inbounds i8, ptr %0, i64 8
  %26 = getelementptr inbounds i8, ptr %0, i64 20
  %27 = getelementptr inbounds i8, ptr %0, i64 16
  br i1 %3, label %.lr.ph65.split.us, label %.lr.ph65.split

.lr.ph65.split.us:                                ; preds = %.lr.ph65, %.loopexit.us
  %.04364.us = phi float [ %.4.us, %.loopexit.us ], [ %19, %.lr.ph65 ]
  %.04663.us = phi i64 [ %44, %.loopexit.us ], [ 0, %.lr.ph65 ]
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #9
  %28 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI9QManifoldSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.04663.us) #9
  invoke void @_ZN9QManifoldC2ERKS_(ptr noundef nonnull align 8 dereferenceable(64) %7, ptr noundef nonnull align 8 dereferenceable(64) %28)
          to label %29 unwind label %.split.us66

29:                                               ; preds = %.lr.ph65.split.us
  %30 = load ptr, ptr %21, align 8
  %31 = icmp eq ptr %30, %1
  %32 = load ptr, ptr %22, align 8
  %33 = select i1 %31, ptr %32, ptr %30
  %34 = call noundef i32 @_ZN5QBody11GetBodyTypeEv(ptr noundef nonnull align 8 dereferenceable(293) %33)
  %35 = icmp eq i32 %34, 1
  br i1 %35, label %.loopexit.us, label %36

36:                                               ; preds = %29
  %37 = load i32, ptr %23, align 8, !tbaa !26
  %.not.us = icmp eq i32 %37, 0
  br i1 %.not.us, label %42, label %38

38:                                               ; preds = %36
  %39 = call noundef i32 @_ZN5QBody12GetLayersBitEv(ptr noundef nonnull align 8 dereferenceable(293) %33)
  %40 = and i32 %39, %37
  %41 = icmp eq i32 %40, 0
  br i1 %41, label %.loopexit.us, label %42

42:                                               ; preds = %38, %36
  %43 = call noundef i64 @_ZNKSt6vectorIPN10QCollision7ContactESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #9
  %.not71 = icmp eq i64 %43, 0
  br i1 %.not71, label %.loopexit.us, label %.lr.ph.us

.loopexit.us:                                     ; preds = %76, %42, %38, %29
  %.4.us = phi float [ %.04364.us, %29 ], [ %.04364.us, %38 ], [ %.04364.us, %42 ], [ %.3.us.us, %76 ]
  call void @_ZN9QManifoldD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #9
  %44 = add nuw i64 %.04663.us, 1
  %45 = call noundef i64 @_ZNKSt6vectorI9QManifoldSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  %46 = icmp ult i64 %44, %45
  br i1 %46, label %.lr.ph65.split.us, label %._crit_edge, !llvm.loop !30

.lr.ph.us:                                        ; preds = %42, %76
  %.14458.us.us = phi float [ %.3.us.us, %76 ], [ %.04364.us, %42 ]
  %.04857.us.us = phi i64 [ %77, %76 ], [ 0, %42 ]
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN10QCollision7ContactESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %.04857.us.us) #9
  %48 = load ptr, ptr %47, align 8, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  %49 = getelementptr inbounds i8, ptr %48, i64 16
  %50 = load i64, ptr %49, align 8
  store i64 %50, ptr %8, align 8
  %51 = getelementptr inbounds i8, ptr %48, i64 8
  %52 = load ptr, ptr %51, align 8, !tbaa !33
  %53 = call noundef ptr @_ZN9QParticle12GetOwnerMeshEv(ptr noundef nonnull align 8 dereferenceable(290) %52)
  %54 = call noundef ptr @_ZN5QMesh12GetOwnerBodyEv(ptr noundef nonnull align 8 dereferenceable(256) %53)
  %.not51.us.us = icmp eq ptr %54, %1
  br i1 %.not51.us.us, label %58, label %55

55:                                               ; preds = %.lr.ph.us
  %56 = invoke <2 x float> @_ZNK7QVectorngEv(ptr noundef nonnull align 4 dereferenceable(8) %8)
          to label %57 unwind label %.split.us.split.us

57:                                               ; preds = %55
  store <2 x float> %56, ptr %8, align 8
  br label %58

58:                                               ; preds = %57, %.lr.ph.us
  %59 = call noundef float @_ZNK7QVector3DotES_(ptr noundef nonnull align 4 dereferenceable(8) %8, <2 x float> %14)
  %60 = fcmp ult float %59, 0.000000e+00
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  br i1 %60, label %61, label %76

61:                                               ; preds = %58
  %62 = call noundef float @_ZNK7QVector3DotES_(ptr noundef nonnull align 4 dereferenceable(8) %48, <2 x float> %14)
  %63 = fcmp olt float %62, %.14458.us.us
  br i1 %63, label %64, label %76

64:                                               ; preds = %61
  store ptr %33, ptr %0, align 8, !tbaa !39
  %65 = load i64, ptr %48, align 8
  store i64 %65, ptr %25, align 8
  %66 = load ptr, ptr %51, align 8, !tbaa !33
  %67 = call noundef ptr @_ZN9QParticle12GetOwnerMeshEv(ptr noundef nonnull align 8 dereferenceable(290) %66)
  %68 = call noundef ptr @_ZN5QMesh12GetOwnerBodyEv(ptr noundef nonnull align 8 dereferenceable(256) %67)
  %69 = icmp eq ptr %68, %1
  br i1 %69, label %72, label %70

70:                                               ; preds = %64
  %71 = invoke <2 x float> @_ZNK7QVectorngEv(ptr noundef nonnull align 4 dereferenceable(8) %49)
          to label %73 unwind label %.split60.us.split.us

72:                                               ; preds = %64
  %.sroa.0.0.copyload.us.us = load <2 x float>, ptr %49, align 8
  br label %73

73:                                               ; preds = %72, %70
  %.sroa.0.0.us.us = phi <2 x float> [ %.sroa.0.0.copyload.us.us, %72 ], [ %71, %70 ]
  store <2 x float> %.sroa.0.0.us.us, ptr %26, align 4
  %74 = getelementptr inbounds i8, ptr %48, i64 24
  %75 = load float, ptr %74, align 8, !tbaa !41
  store float %75, ptr %27, align 8, !tbaa !42
  br label %76

76:                                               ; preds = %73, %61, %58
  %.3.us.us = phi float [ %.14458.us.us, %58 ], [ %62, %73 ], [ %.14458.us.us, %61 ]
  %77 = add nuw i64 %.04857.us.us, 1
  %78 = call noundef i64 @_ZNKSt6vectorIPN10QCollision7ContactESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #9
  %79 = icmp ult i64 %77, %78
  br i1 %79, label %.lr.ph.us, label %.loopexit.us, !llvm.loop !43

.split.us66:                                      ; preds = %.lr.ph65.split.us
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %129

.split.us.split.us:                               ; preds = %55
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  br label %125

.split60.us.split.us:                             ; preds = %70
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %125

._crit_edge:                                      ; preds = %.loopexit, %.loopexit.us, %18
  call void @_ZNSt6vectorI9QManifoldSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #9
  ret void

83:                                               ; preds = %4
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %130

.lr.ph65.split:                                   ; preds = %.lr.ph65, %.loopexit
  %.04364 = phi float [ %.4, %.loopexit ], [ %19, %.lr.ph65 ]
  %.04663 = phi i64 [ %126, %.loopexit ], [ 0, %.lr.ph65 ]
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #9
  %85 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI9QManifoldSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.04663) #9
  invoke void @_ZN9QManifoldC2ERKS_(ptr noundef nonnull align 8 dereferenceable(64) %7, ptr noundef nonnull align 8 dereferenceable(64) %85)
          to label %86 unwind label %.split

86:                                               ; preds = %.lr.ph65.split
  %87 = load ptr, ptr %21, align 8
  %88 = icmp eq ptr %87, %1
  %89 = load ptr, ptr %22, align 8
  %90 = select i1 %88, ptr %89, ptr %87
  %91 = call noundef i32 @_ZN5QBody11GetBodyTypeEv(ptr noundef nonnull align 8 dereferenceable(293) %90)
  %92 = icmp eq i32 %91, 1
  br i1 %92, label %.loopexit, label %94

.split:                                           ; preds = %.lr.ph65.split
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %129

94:                                               ; preds = %86
  %95 = load i32, ptr %23, align 8, !tbaa !26
  %.not = icmp eq i32 %95, 0
  br i1 %.not, label %100, label %96

96:                                               ; preds = %94
  %97 = call noundef i32 @_ZN5QBody12GetLayersBitEv(ptr noundef nonnull align 8 dereferenceable(293) %90)
  %98 = and i32 %97, %95
  %99 = icmp eq i32 %98, 0
  br i1 %99, label %.loopexit, label %100

100:                                              ; preds = %96, %94
  %101 = call noundef i64 @_ZNKSt6vectorIPN10QCollision7ContactESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #9
  %.not70 = icmp eq i64 %101, 0
  br i1 %.not70, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %100, %121
  %.14458 = phi float [ %.3, %121 ], [ %.04364, %100 ]
  %.04857 = phi i64 [ %122, %121 ], [ 0, %100 ]
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN10QCollision7ContactESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %.04857) #9
  %103 = load ptr, ptr %102, align 8, !tbaa !32
  %104 = call noundef float @_ZNK7QVector3DotES_(ptr noundef nonnull align 4 dereferenceable(8) %103, <2 x float> %14)
  %105 = fcmp olt float %104, %.14458
  br i1 %105, label %106, label %121

106:                                              ; preds = %.lr.ph
  store ptr %90, ptr %0, align 8, !tbaa !39
  %107 = load i64, ptr %103, align 8
  store i64 %107, ptr %25, align 8
  %108 = getelementptr inbounds i8, ptr %103, i64 8
  %109 = load ptr, ptr %108, align 8, !tbaa !33
  %110 = call noundef ptr @_ZN9QParticle12GetOwnerMeshEv(ptr noundef nonnull align 8 dereferenceable(290) %109)
  %111 = call noundef ptr @_ZN5QMesh12GetOwnerBodyEv(ptr noundef nonnull align 8 dereferenceable(256) %110)
  %112 = icmp eq ptr %111, %1
  %113 = getelementptr inbounds i8, ptr %103, i64 16
  br i1 %112, label %114, label %115

114:                                              ; preds = %106
  %.sroa.0.0.copyload = load <2 x float>, ptr %113, align 8
  br label %117

115:                                              ; preds = %106
  %116 = invoke <2 x float> @_ZNK7QVectorngEv(ptr noundef nonnull align 4 dereferenceable(8) %113)
          to label %117 unwind label %.split60

117:                                              ; preds = %115, %114
  %.sroa.0.0 = phi <2 x float> [ %.sroa.0.0.copyload, %114 ], [ %116, %115 ]
  store <2 x float> %.sroa.0.0, ptr %26, align 4
  %118 = getelementptr inbounds i8, ptr %103, i64 24
  %119 = load float, ptr %118, align 8, !tbaa !41
  store float %119, ptr %27, align 8, !tbaa !42
  br label %121

.split60:                                         ; preds = %115
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %125

121:                                              ; preds = %.lr.ph, %117
  %.3 = phi float [ %104, %117 ], [ %.14458, %.lr.ph ]
  %122 = add nuw i64 %.04857, 1
  %123 = call noundef i64 @_ZNKSt6vectorIPN10QCollision7ContactESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #9
  %124 = icmp ult i64 %122, %123
  br i1 %124, label %.lr.ph, label %.loopexit, !llvm.loop !43

125:                                              ; preds = %.split60, %.split60.us.split.us, %.split.us.split.us
  %.pn = phi { ptr, i32 } [ %81, %.split.us.split.us ], [ %120, %.split60 ], [ %82, %.split60.us.split.us ]
  call void @_ZN9QManifoldD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #9
  br label %129

.loopexit:                                        ; preds = %121, %100, %96, %86
  %.4 = phi float [ %.04364, %86 ], [ %.04364, %96 ], [ %.04364, %100 ], [ %.3, %121 ]
  call void @_ZN9QManifoldD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #9
  %126 = add nuw i64 %.04663, 1
  %127 = call noundef i64 @_ZNKSt6vectorI9QManifoldSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  %128 = icmp ult i64 %126, %127
  br i1 %128, label %.lr.ph65.split, label %._crit_edge, !llvm.loop !30

129:                                              ; preds = %.split, %.split.us66, %125
  %.pn.pn = phi { ptr, i32 } [ %.pn, %125 ], [ %93, %.split ], [ %80, %.split.us66 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #9
  br label %130

130:                                              ; preds = %129, %83
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %129 ], [ %84, %83 ]
  call void @_ZNSt6vectorI9QManifoldSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #9
  resume { ptr, i32 } %.pn.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN15QPlatformerBody17CollisionTestInfoC2EP5QBody7QVectorfS3_(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef, <2 x float>, float noundef, <2 x float>) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local <2 x float> @_ZN5QBody11GetPositionEv(ptr noundef nonnull align 8 dereferenceable(293)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5QBody11SetPositionE7QVectorb(ptr noundef nonnull align 8 dereferenceable(293), <2 x float>, i1 noundef zeroext) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_Zmi7QVectorS_(<2 x float>, <2 x float>) local_unnamed_addr #0

declare void @_ZN6QWorld22TestCollisionWithWorldEP5QBody(ptr dead_on_unwind writable sret(%"class.std::vector.2") align 8, ptr noundef nonnull align 8 dereferenceable(272), ptr noundef) local_unnamed_addr #4

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN5QBody11GetBodyTypeEv(ptr noundef nonnull align 8 dereferenceable(293)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN5QBody12GetLayersBitEv(ptr noundef nonnull align 8 dereferenceable(293)) local_unnamed_addr #5 align 2

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

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

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

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

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

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

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint 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 #3 = { 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 #4 = { "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 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 #6 = { 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 #7 = { inlinehint 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 = { 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 #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, !10, i64 16}
!6 = !{!"_ZTS5QBody", !7, i64 8, !7, i64 12, !10, i64 16, !11, i64 24, !11, i64 32, !7, i64 40, !7, i64 44, !12, i64 48, !13, i64 76, !14, i64 80, !14, i64 81, !14, i64 82, !7, i64 84, !15, i64 88, !14, i64 92, !7, i64 96, !14, i64 100, !14, i64 101, !11, i64 104, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !16, i64 132, !16, i64 136, !14, i64 140, !14, i64 141, !14, i64 142, !16, i64 144, !16, i64 148, !16, i64 152, !14, i64 156, !17, i64 160, !17, i64 192, !19, i64 224, !14, i64 256, !20, i64 264, !24, i64 288, !14, i64 292}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_ZTS7QVector", !7, i64 0, !7, i64 4}
!12 = !{!"_ZTS5QAABB", !11, i64 0, !11, i64 8, !11, i64 16, !7, i64 24}
!13 = !{!"_ZTSN5QBody5ModesE", !8, i64 0}
!14 = !{!"bool", !8, i64 0}
!15 = !{!"_ZTSN5QBody9BodyTypesE", !8, i64 0}
!16 = !{!"int", !8, i64 0}
!17 = !{!"_ZTSSt8functionIFvP5QBodyEE", !18, i64 0, !10, i64 24}
!18 = !{!"_ZTSSt14_Function_base", !8, i64 0, !10, i64 16}
!19 = !{!"_ZTSSt8functionIFbP5QBodyNS0_13CollisionInfoEEE", !18, i64 0, !10, i64 24}
!20 = !{!"_ZTSSt6vectorIP5QMeshSaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIP5QMeshSaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIP5QMeshSaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIP5QMeshSaIS1_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!24 = !{!"_ZTSN5QBody16SimulationModelsE", !8, i64 0}
!25 = !{!7, !7, i64 0}
!26 = !{!27, !16, i64 312}
!27 = !{!"_ZTS15QPlatformerBody", !28, i64 0, !14, i64 308, !14, i64 309, !16, i64 312, !7, i64 316, !7, i64 320, !10, i64 328, !11, i64 336, !7, i64 344, !11, i64 348, !11, i64 356, !11, i64 364, !7, i64 372, !11, i64 376, !11, i64 384, !14, i64 392, !14, i64 393, !16, i64 396, !7, i64 400, !7, i64 404, !29, i64 408, !7, i64 412, !16, i64 416, !16, i64 420, !16, i64 424, !16, i64 428, !7, i64 432, !7, i64 436}
!28 = !{!"_ZTS10QRigidBody", !6, i64 0, !14, i64 293, !11, i64 296, !7, i64 304}
!29 = !{!"_ZTSN15QPlatformerBody9JumpModesE", !8, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!10, !10, i64 0}
!33 = !{!34, !10, i64 8}
!34 = !{!"_ZTSN10QCollision7ContactE", !11, i64 0, !10, i64 8, !11, i64 16, !7, i64 24, !35, i64 32, !14, i64 56}
!35 = !{!"_ZTSSt6vectorIP9QParticleSaIS1_EE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIP9QParticleSaIS1_EE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIP9QParticleSaIS1_EE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIP9QParticleSaIS1_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!39 = !{!40, !10, i64 0}
!40 = !{!"_ZTSN15QPlatformerBody17CollisionTestInfoE", !10, i64 0, !11, i64 8, !7, i64 16, !11, i64 20}
!41 = !{!34, !7, i64 24}
!42 = !{!40, !7, i64 16}
!43 = distinct !{!43, !31}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass