; LLVM IR from devlinzhou/deterministic_physics :: UnrealDemo/Source/UnrealDemo/gphysics/src/collision (glacier_collision_gjk)

; 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.GTransform_QT = type { %class.GQuaternion, %class.GVector3 }
%class.GQuaternion = type { %class.GFloat, %class.GFloat, %class.GFloat, %class.GFloat }
%class.GFloat = type { i32 }
%class.GVector3 = type { %class.GFloat, %class.GFloat, %class.GFloat }
%class.GColor = type { i32 }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN14GCollision_GJK7GJKTestERK16GShapeConvexBaseRK13GTransform_QTS2_S5_P12IGlacierDraw(ptr noundef nonnull align 8 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(28) %1, ptr noundef nonnull align 8 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(28) %3, ptr noundef %4) #0 align 2 {
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %class.GTransform_QT, align 4
  %13 = alloca %class.GTransform_QT, align 4
  %14 = alloca %class.GTransform_QT, align 4
  %15 = alloca %class.GVector3, align 4
  %16 = alloca %class.GVector3, align 4
  %17 = alloca %class.GVector3, align 4
  %18 = alloca { i64, i32 }, align 8
  %19 = alloca { i64, i32 }, align 8
  %20 = alloca { i64, i32 }, align 8
  %21 = alloca %class.GVector3, align 4
  %22 = alloca { i64, i32 }, align 8
  %23 = alloca %class.GFloat, align 4
  %24 = alloca %class.GFloat, align 4
  %25 = alloca i32, align 4
  %26 = alloca %class.GFloat, align 4
  %27 = alloca %class.GFloat, align 4
  %28 = alloca %class.GVector3, align 4
  %29 = alloca %class.GVector3, align 4
  %30 = alloca { i64, i32 }, align 8
  %31 = alloca { i64, i32 }, align 8
  %32 = alloca %class.GVector3, align 4
  %33 = alloca { i64, i32 }, align 8
  %34 = alloca %class.GFloat, align 4
  %35 = alloca %class.GFloat, align 4
  %36 = alloca %class.GVector3, align 4
  %37 = alloca %class.GVector3, align 4
  %38 = alloca { i64, i32 }, align 8
  %39 = alloca { i64, i32 }, align 8
  %40 = alloca %class.GFloat, align 4
  %41 = alloca %class.GFloat, align 4
  %42 = alloca %class.GVector3, align 4
  %43 = alloca %class.GVector3, align 4
  %44 = alloca { i64, i32 }, align 8
  %45 = alloca { i64, i32 }, align 8
  %46 = alloca %class.GVector3, align 4
  %47 = alloca { i64, i32 }, align 8
  %48 = alloca %class.GFloat, align 4
  %49 = alloca %class.GFloat, align 4
  %50 = alloca %class.GVector3, align 4
  %51 = alloca %class.GVector3, align 4
  %52 = alloca { i64, i32 }, align 8
  %53 = alloca { i64, i32 }, align 8
  %54 = alloca %class.GFloat, align 4
  %55 = alloca %class.GFloat, align 4
  %56 = alloca %class.GVector3, align 4
  %57 = alloca %class.GVector3, align 4
  %58 = alloca { i64, i32 }, align 8
  %59 = alloca { i64, i32 }, align 8
  %60 = alloca %class.GVector3, align 4
  %61 = alloca { i64, i32 }, align 8
  %62 = alloca %class.GFloat, align 4
  %63 = alloca %class.GFloat, align 4
  %64 = alloca %class.GVector3, align 4
  %65 = alloca %class.GVector3, align 4
  %66 = alloca { i64, i32 }, align 8
  %67 = alloca { i64, i32 }, align 8
  %68 = alloca %class.GFloat, align 4
  %69 = alloca %class.GFloat, align 4
  %70 = alloca %class.GVector3, align 4
  %71 = alloca %class.GVector3, align 4
  %72 = alloca { i64, i32 }, align 8
  %73 = alloca { i64, i32 }, align 8
  %74 = alloca %class.GVector3, align 4
  %75 = alloca %class.GVector3, align 4
  %76 = alloca %class.GVector3, align 4
  %77 = alloca %class.GVector3, align 4
  %78 = alloca %class.GFloat, align 4
  %79 = alloca %class.GTransform_QT, align 4
  %80 = alloca %class.GQuaternion, align 4
  %81 = alloca %class.GVector3, align 4
  %82 = alloca { i64, i32 }, align 8
  %83 = alloca %class.GFloat, align 4
  %84 = alloca %class.GColor, align 4
  %85 = alloca %class.GTransform_QT, align 4
  %86 = alloca %class.GQuaternion, align 4
  %87 = alloca %class.GFloat, align 4
  %88 = alloca %class.GColor, align 4
  %89 = alloca %class.GTransform_QT, align 4
  %90 = alloca %class.GQuaternion, align 4
  %91 = alloca %class.GFloat, align 4
  %92 = alloca %class.GColor, align 4
  %93 = alloca %class.GTransform_QT, align 4
  %94 = alloca %class.GQuaternion, align 4
  %95 = alloca %class.GFloat, align 4
  %96 = alloca %class.GColor, align 4
  %97 = alloca %class.GTransform_QT, align 4
  %98 = alloca %class.GQuaternion, align 4
  %99 = alloca %class.GFloat, align 4
  %100 = alloca %class.GColor, align 4
  %101 = alloca %class.GColor, align 4
  %102 = alloca %class.GColor, align 4
  %103 = alloca %class.GColor, align 4
  %104 = alloca %class.GColor, align 4
  %105 = alloca %class.GColor, align 4
  %106 = alloca %class.GColor, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 28, ptr %12) #7
  %107 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZNK13GTransform_QT10GetInverseEv(ptr dead_on_unwind writable sret(%class.GTransform_QT) align 4 %12, ptr noundef nonnull align 4 dereferenceable(28) %107)
  call void @llvm.lifetime.start.p0(i64 28, ptr %13) #7
  %108 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZNK13GTransform_QTmlERKS_(ptr dead_on_unwind writable sret(%class.GTransform_QT) align 4 %13, ptr noundef nonnull align 4 dereferenceable(28) %108, ptr noundef nonnull align 4 dereferenceable(28) %12)
  call void @llvm.lifetime.start.p0(i64 28, ptr %14) #7
  call void @_ZNK13GTransform_QT10GetInverseEv(ptr dead_on_unwind writable sret(%class.GTransform_QT) align 4 %14, ptr noundef nonnull align 4 dereferenceable(28) %13)
  call void @llvm.lifetime.start.p0(i64 12, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %17) #7
  %109 = call { i64, i32 } @_ZN8GVector34ZeroEv()
  store { i64, i32 } %109, ptr %18, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 8 %18, i64 12, i1 false)
  %110 = call { i64, i32 } @_ZNK13GTransform_QT17TransformPositionERK8GVector3(ptr noundef nonnull align 4 dereferenceable(28) %13, ptr noundef nonnull align 4 dereferenceable(12) %17)
  store { i64, i32 } %110, ptr %19, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 8 %19, i64 12, i1 false)
  %111 = call { i64, i32 } @_ZNK8GVector312GetNormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %16)
  store { i64, i32 } %111, ptr %20, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 8 %20, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %21) #7
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = load ptr, ptr %9, align 8, !tbaa !5
  %114 = load ptr, ptr %8, align 8, !tbaa !5
  %115 = load ptr, ptr %10, align 8, !tbaa !5
  %116 = load ptr, ptr %11, align 8, !tbaa !5
  %117 = call { i64, i32 } @_ZN14GCollision_GJK15s_GetSupportPosI16GShapeConvexBaseS1_EE8GVector3RKS2_RKT_RKT0_RK13GTransform_QTSD_SD_SD_P12IGlacierDrawj(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 8 dereferenceable(12) %112, ptr noundef nonnull align 8 dereferenceable(12) %113, ptr noundef nonnull align 4 dereferenceable(28) %13, ptr noundef nonnull align 4 dereferenceable(28) %14, ptr noundef nonnull align 4 dereferenceable(28) %114, ptr noundef nonnull align 4 dereferenceable(28) %115, ptr noundef %116, i32 noundef 16711680)
  store { i64, i32 } %117, ptr %22, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 8 %22, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  %118 = call i32 @_ZNK8GVector310SizeSquareEv(ptr noundef nonnull align 4 dereferenceable(12) %21)
  %119 = getelementptr inbounds %class.GFloat, ptr %23, i32 0, i32 0
  store i32 %118, ptr %119, align 4
  %120 = call i32 @_ZN5GMath7EpsilonEv()
  %121 = getelementptr inbounds %class.GFloat, ptr %24, i32 0, i32 0
  store i32 %120, ptr %121, align 4
  %122 = getelementptr inbounds %class.GFloat, ptr %24, i32 0, i32 0
  %123 = load i32, ptr %122, align 4
  %124 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %23, i32 %123)
  br i1 %124, label %125, label %126

125:                                              ; preds = %5
  store i1 true, ptr %6, align 1
  store i32 1, ptr %25, align 4
  br label %340

126:                                              ; preds = %5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  %127 = call i32 @_ZN8GVector310DotProductERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %21)
  %128 = getelementptr inbounds %class.GFloat, ptr %26, i32 0, i32 0
  store i32 %127, ptr %128, align 4
  %129 = call i32 @_ZN5GMath4ZeroEv()
  %130 = getelementptr inbounds %class.GFloat, ptr %27, i32 0, i32 0
  store i32 %129, ptr %130, align 4
  %131 = getelementptr inbounds %class.GFloat, ptr %27, i32 0, i32 0
  %132 = load i32, ptr %131, align 4
  %133 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %26, i32 %132)
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  br i1 %133, label %134, label %135

134:                                              ; preds = %126
  store i1 false, ptr %6, align 1
  store i32 1, ptr %25, align 4
  br label %340

135:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 12, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %29) #7
  %136 = call { i64, i32 } @_ZNK8GVector3ngEv(ptr noundef nonnull align 4 dereferenceable(12) %21)
  store { i64, i32 } %136, ptr %30, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 8 %30, i64 12, i1 false)
  %137 = call { i64, i32 } @_ZNK8GVector312GetNormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %29)
  store { i64, i32 } %137, ptr %31, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 8 %31, i64 12, i1 false)
  %138 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8GVector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %28)
  call void @llvm.lifetime.end.p0(i64 12, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %32) #7
  %139 = load ptr, ptr %7, align 8, !tbaa !5
  %140 = load ptr, ptr %9, align 8, !tbaa !5
  %141 = load ptr, ptr %8, align 8, !tbaa !5
  %142 = load ptr, ptr %10, align 8, !tbaa !5
  %143 = load ptr, ptr %11, align 8, !tbaa !5
  %144 = call { i64, i32 } @_ZN14GCollision_GJK15s_GetSupportPosI16GShapeConvexBaseS1_EE8GVector3RKS2_RKT_RKT0_RK13GTransform_QTSD_SD_SD_P12IGlacierDrawj(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 8 dereferenceable(12) %139, ptr noundef nonnull align 8 dereferenceable(12) %140, ptr noundef nonnull align 4 dereferenceable(28) %13, ptr noundef nonnull align 4 dereferenceable(28) %14, ptr noundef nonnull align 4 dereferenceable(28) %141, ptr noundef nonnull align 4 dereferenceable(28) %142, ptr noundef %143, i32 noundef 65535)
  store { i64, i32 } %144, ptr %33, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 8 %33, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #7
  %145 = call i32 @_ZN8GVector310DotProductERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %32)
  %146 = getelementptr inbounds %class.GFloat, ptr %34, i32 0, i32 0
  store i32 %145, ptr %146, align 4
  %147 = call i32 @_ZN5GMath4ZeroEv()
  %148 = getelementptr inbounds %class.GFloat, ptr %35, i32 0, i32 0
  store i32 %147, ptr %148, align 4
  %149 = getelementptr inbounds %class.GFloat, ptr %35, i32 0, i32 0
  %150 = load i32, ptr %149, align 4
  %151 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %34, i32 %150)
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  br i1 %151, label %152, label %153

152:                                              ; preds = %135
  store i1 false, ptr %6, align 1
  store i32 1, ptr %25, align 4
  br label %339

153:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 12, ptr %36) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %37) #7
  %154 = call { i64, i32 } @_ZN8GVector34ZeroEv()
  store { i64, i32 } %154, ptr %38, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 8 %38, i64 12, i1 false)
  %155 = call { i64, i32 } @_ZN9GDistance21ClosestPtPointSegmentERK8GVector3S2_S2_(ptr noundef nonnull align 4 dereferenceable(12) %37, ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(12) %32)
  store { i64, i32 } %155, ptr %39, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 8 %39, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %37) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #7
  %156 = call i32 @_ZNK8GVector310SizeSquareEv(ptr noundef nonnull align 4 dereferenceable(12) %36)
  %157 = getelementptr inbounds %class.GFloat, ptr %40, i32 0, i32 0
  store i32 %156, ptr %157, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %40, i64 4, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  %158 = call i32 @_ZN5GMath7EpsilonEv()
  %159 = getelementptr inbounds %class.GFloat, ptr %41, i32 0, i32 0
  store i32 %158, ptr %159, align 4
  %160 = getelementptr inbounds %class.GFloat, ptr %41, i32 0, i32 0
  %161 = load i32, ptr %160, align 4
  %162 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %23, i32 %161)
  br i1 %162, label %163, label %164

163:                                              ; preds = %153
  store i1 true, ptr %6, align 1
  store i32 1, ptr %25, align 4
  br label %338

164:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 12, ptr %42) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %43) #7
  %165 = call { i64, i32 } @_ZNK8GVector3ngEv(ptr noundef nonnull align 4 dereferenceable(12) %36)
  store { i64, i32 } %165, ptr %44, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 8 %44, i64 12, i1 false)
  %166 = call { i64, i32 } @_ZNK8GVector312GetNormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %43)
  store { i64, i32 } %166, ptr %45, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 8 %45, i64 12, i1 false)
  %167 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8GVector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %42)
  call void @llvm.lifetime.end.p0(i64 12, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %42) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %46) #7
  %168 = load ptr, ptr %7, align 8, !tbaa !5
  %169 = load ptr, ptr %9, align 8, !tbaa !5
  %170 = load ptr, ptr %8, align 8, !tbaa !5
  %171 = load ptr, ptr %10, align 8, !tbaa !5
  %172 = load ptr, ptr %11, align 8, !tbaa !5
  %173 = call { i64, i32 } @_ZN14GCollision_GJK15s_GetSupportPosI16GShapeConvexBaseS1_EE8GVector3RKS2_RKT_RKT0_RK13GTransform_QTSD_SD_SD_P12IGlacierDrawj(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 8 dereferenceable(12) %168, ptr noundef nonnull align 8 dereferenceable(12) %169, ptr noundef nonnull align 4 dereferenceable(28) %13, ptr noundef nonnull align 4 dereferenceable(28) %14, ptr noundef nonnull align 4 dereferenceable(28) %170, ptr noundef nonnull align 4 dereferenceable(28) %171, ptr noundef %172, i32 noundef 255)
  store { i64, i32 } %173, ptr %47, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %46, ptr align 8 %47, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #7
  %174 = call i32 @_ZN8GVector310DotProductERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %46)
  %175 = getelementptr inbounds %class.GFloat, ptr %48, i32 0, i32 0
  store i32 %174, ptr %175, align 4
  %176 = call i32 @_ZN5GMath4ZeroEv()
  %177 = getelementptr inbounds %class.GFloat, ptr %49, i32 0, i32 0
  store i32 %176, ptr %177, align 4
  %178 = getelementptr inbounds %class.GFloat, ptr %49, i32 0, i32 0
  %179 = load i32, ptr %178, align 4
  %180 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %48, i32 %179)
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #7
  br i1 %180, label %181, label %182

181:                                              ; preds = %164
  store i1 false, ptr %6, align 1
  store i32 1, ptr %25, align 4
  br label %337

182:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 12, ptr %50) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %51) #7
  %183 = call { i64, i32 } @_ZN8GVector34ZeroEv()
  store { i64, i32 } %183, ptr %52, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 8 %52, i64 12, i1 false)
  %184 = call { i64, i32 } @_ZN9GDistance20ClosestPointTriangleERK8GVector3S2_S2_S2_(ptr noundef nonnull align 4 dereferenceable(12) %51, ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(12) %32, ptr noundef nonnull align 4 dereferenceable(12) %46)
  store { i64, i32 } %184, ptr %53, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 8 %53, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %51) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #7
  %185 = call i32 @_ZNK8GVector310SizeSquareEv(ptr noundef nonnull align 4 dereferenceable(12) %50)
  %186 = getelementptr inbounds %class.GFloat, ptr %54, i32 0, i32 0
  store i32 %185, ptr %186, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %54, i64 4, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #7
  %187 = call i32 @_ZN5GMath7EpsilonEv()
  %188 = getelementptr inbounds %class.GFloat, ptr %55, i32 0, i32 0
  store i32 %187, ptr %188, align 4
  %189 = getelementptr inbounds %class.GFloat, ptr %55, i32 0, i32 0
  %190 = load i32, ptr %189, align 4
  %191 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %23, i32 %190)
  br i1 %191, label %192, label %193

192:                                              ; preds = %182
  store i1 true, ptr %6, align 1
  store i32 1, ptr %25, align 4
  br label %336

193:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 12, ptr %56) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %57) #7
  %194 = call { i64, i32 } @_ZNK8GVector3ngEv(ptr noundef nonnull align 4 dereferenceable(12) %50)
  store { i64, i32 } %194, ptr %58, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %57, ptr align 8 %58, i64 12, i1 false)
  %195 = call { i64, i32 } @_ZNK8GVector312GetNormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %57)
  store { i64, i32 } %195, ptr %59, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %56, ptr align 8 %59, i64 12, i1 false)
  %196 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8GVector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %56)
  call void @llvm.lifetime.end.p0(i64 12, ptr %57) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %56) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %60) #7
  %197 = load ptr, ptr %7, align 8, !tbaa !5
  %198 = load ptr, ptr %9, align 8, !tbaa !5
  %199 = load ptr, ptr %8, align 8, !tbaa !5
  %200 = load ptr, ptr %10, align 8, !tbaa !5
  %201 = load ptr, ptr %11, align 8, !tbaa !5
  %202 = call { i64, i32 } @_ZN14GCollision_GJK15s_GetSupportPosI16GShapeConvexBaseS1_EE8GVector3RKS2_RKT_RKT0_RK13GTransform_QTSD_SD_SD_P12IGlacierDrawj(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 8 dereferenceable(12) %197, ptr noundef nonnull align 8 dereferenceable(12) %198, ptr noundef nonnull align 4 dereferenceable(28) %13, ptr noundef nonnull align 4 dereferenceable(28) %14, ptr noundef nonnull align 4 dereferenceable(28) %199, ptr noundef nonnull align 4 dereferenceable(28) %200, ptr noundef %201, i32 noundef 0)
  store { i64, i32 } %202, ptr %61, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %60, ptr align 8 %61, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #7
  %203 = call i32 @_ZN8GVector310DotProductERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %60)
  %204 = getelementptr inbounds %class.GFloat, ptr %62, i32 0, i32 0
  store i32 %203, ptr %204, align 4
  %205 = call i32 @_ZN5GMath4ZeroEv()
  %206 = getelementptr inbounds %class.GFloat, ptr %63, i32 0, i32 0
  store i32 %205, ptr %206, align 4
  %207 = getelementptr inbounds %class.GFloat, ptr %63, i32 0, i32 0
  %208 = load i32, ptr %207, align 4
  %209 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %62, i32 %208)
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #7
  br i1 %209, label %210, label %211

210:                                              ; preds = %193
  store i1 false, ptr %6, align 1
  store i32 1, ptr %25, align 4
  br label %335

211:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 12, ptr %64) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %65) #7
  %212 = call { i64, i32 } @_ZN8GVector34ZeroEv()
  store { i64, i32 } %212, ptr %66, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %65, ptr align 8 %66, i64 12, i1 false)
  %213 = call { i64, i32 } @_ZN9GDistance25ClosestPtPointTetrahedronERK8GVector3S2_S2_S2_S2_(ptr noundef nonnull align 4 dereferenceable(12) %65, ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(12) %32, ptr noundef nonnull align 4 dereferenceable(12) %46, ptr noundef nonnull align 4 dereferenceable(12) %60)
  store { i64, i32 } %213, ptr %67, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %64, ptr align 8 %67, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %65) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %68) #7
  %214 = call i32 @_ZNK8GVector310SizeSquareEv(ptr noundef nonnull align 4 dereferenceable(12) %64)
  %215 = getelementptr inbounds %class.GFloat, ptr %68, i32 0, i32 0
  store i32 %214, ptr %215, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %68, i64 4, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #7
  %216 = call i32 @_ZN5GMath7EpsilonEv()
  %217 = getelementptr inbounds %class.GFloat, ptr %69, i32 0, i32 0
  store i32 %216, ptr %217, align 4
  %218 = getelementptr inbounds %class.GFloat, ptr %69, i32 0, i32 0
  %219 = load i32, ptr %218, align 4
  %220 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %23, i32 %219)
  br i1 %220, label %221, label %222

221:                                              ; preds = %211
  store i1 true, ptr %6, align 1
  store i32 1, ptr %25, align 4
  br label %334

222:                                              ; preds = %211
  call void @llvm.lifetime.start.p0(i64 12, ptr %70) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %71) #7
  %223 = call { i64, i32 } @_ZNK8GVector3ngEv(ptr noundef nonnull align 4 dereferenceable(12) %64)
  store { i64, i32 } %223, ptr %72, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %71, ptr align 8 %72, i64 12, i1 false)
  %224 = call { i64, i32 } @_ZNK8GVector312GetNormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %71)
  store { i64, i32 } %224, ptr %73, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %70, ptr align 8 %73, i64 12, i1 false)
  %225 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8GVector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %70)
  call void @llvm.lifetime.end.p0(i64 12, ptr %71) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %70) #7
  %226 = load ptr, ptr %11, align 8, !tbaa !5
  %227 = icmp ne ptr %226, null
  br i1 %227, label %228, label %333

228:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 12, ptr %74) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %74, ptr align 4 %21, i64 12, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.start.p0(i64 12, ptr %75) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %75, ptr align 4 %32, i64 12, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.start.p0(i64 12, ptr %76) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %76, ptr align 4 %46, i64 12, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.start.p0(i64 12, ptr %77) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %77, ptr align 4 %60, i64 12, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %78) #7
  %229 = call i32 @_ZN5GMath9FromFloatEf(float noundef 0x3F947AE140000000)
  %230 = getelementptr inbounds %class.GFloat, ptr %78, i32 0, i32 0
  store i32 %229, ptr %230, align 4
  %231 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 28, ptr %79) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %80) #7
  %232 = call { i64, i64 } @_ZN11GQuaternion8IdentityEv()
  %233 = getelementptr inbounds { i64, i64 }, ptr %80, i32 0, i32 0
  %234 = extractvalue { i64, i64 } %232, 0
  store i64 %234, ptr %233, align 4
  %235 = getelementptr inbounds { i64, i64 }, ptr %80, i32 0, i32 1
  %236 = extractvalue { i64, i64 } %232, 1
  store i64 %236, ptr %235, align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr %81) #7
  %237 = call { i64, i32 } @_ZN8GVector34ZeroEv()
  store { i64, i32 } %237, ptr %82, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %81, ptr align 8 %82, i64 12, i1 false)
  call void @_ZN13GTransform_QTC2ERK11GQuaternionRK8GVector3(ptr noundef nonnull align 4 dereferenceable(28) %79, ptr noundef nonnull align 4 dereferenceable(16) %80, ptr noundef nonnull align 4 dereferenceable(12) %81)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %83, ptr align 4 %78, i64 4, i1 false), !tbaa.struct !9
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %84, i32 noundef 16777215)
  %238 = getelementptr inbounds %class.GFloat, ptr %83, i32 0, i32 0
  %239 = load i32, ptr %238, align 4
  %240 = getelementptr inbounds %class.GColor, ptr %84, i32 0, i32 0
  %241 = load i32, ptr %240, align 4
  %242 = load ptr, ptr %231, align 8, !tbaa !13
  %243 = getelementptr inbounds ptr, ptr %242, i64 2
  %244 = load ptr, ptr %243, align 8
  call void %244(ptr noundef nonnull align 8 dereferenceable(8) %231, ptr noundef nonnull align 4 dereferenceable(28) %79, i32 %239, i32 %241, i32 noundef 12)
  call void @llvm.lifetime.end.p0(i64 12, ptr %81) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %80) #7
  call void @llvm.lifetime.end.p0(i64 28, ptr %79) #7
  %245 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 28, ptr %85) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %86) #7
  %246 = call { i64, i64 } @_ZN11GQuaternion8IdentityEv()
  %247 = getelementptr inbounds { i64, i64 }, ptr %86, i32 0, i32 0
  %248 = extractvalue { i64, i64 } %246, 0
  store i64 %248, ptr %247, align 4
  %249 = getelementptr inbounds { i64, i64 }, ptr %86, i32 0, i32 1
  %250 = extractvalue { i64, i64 } %246, 1
  store i64 %250, ptr %249, align 4
  call void @_ZN13GTransform_QTC2ERK11GQuaternionRK8GVector3(ptr noundef nonnull align 4 dereferenceable(28) %85, ptr noundef nonnull align 4 dereferenceable(16) %86, ptr noundef nonnull align 4 dereferenceable(12) %74)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %87, ptr align 4 %78, i64 4, i1 false), !tbaa.struct !9
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %88, i32 noundef 16711680)
  %251 = getelementptr inbounds %class.GFloat, ptr %87, i32 0, i32 0
  %252 = load i32, ptr %251, align 4
  %253 = getelementptr inbounds %class.GColor, ptr %88, i32 0, i32 0
  %254 = load i32, ptr %253, align 4
  %255 = load ptr, ptr %245, align 8, !tbaa !13
  %256 = getelementptr inbounds ptr, ptr %255, i64 2
  %257 = load ptr, ptr %256, align 8
  call void %257(ptr noundef nonnull align 8 dereferenceable(8) %245, ptr noundef nonnull align 4 dereferenceable(28) %85, i32 %252, i32 %254, i32 noundef 12)
  call void @llvm.lifetime.end.p0(i64 16, ptr %86) #7
  call void @llvm.lifetime.end.p0(i64 28, ptr %85) #7
  %258 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 28, ptr %89) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %90) #7
  %259 = call { i64, i64 } @_ZN11GQuaternion8IdentityEv()
  %260 = getelementptr inbounds { i64, i64 }, ptr %90, i32 0, i32 0
  %261 = extractvalue { i64, i64 } %259, 0
  store i64 %261, ptr %260, align 4
  %262 = getelementptr inbounds { i64, i64 }, ptr %90, i32 0, i32 1
  %263 = extractvalue { i64, i64 } %259, 1
  store i64 %263, ptr %262, align 4
  call void @_ZN13GTransform_QTC2ERK11GQuaternionRK8GVector3(ptr noundef nonnull align 4 dereferenceable(28) %89, ptr noundef nonnull align 4 dereferenceable(16) %90, ptr noundef nonnull align 4 dereferenceable(12) %75)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %91, ptr align 4 %78, i64 4, i1 false), !tbaa.struct !9
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %92, i32 noundef 65280)
  %264 = getelementptr inbounds %class.GFloat, ptr %91, i32 0, i32 0
  %265 = load i32, ptr %264, align 4
  %266 = getelementptr inbounds %class.GColor, ptr %92, i32 0, i32 0
  %267 = load i32, ptr %266, align 4
  %268 = load ptr, ptr %258, align 8, !tbaa !13
  %269 = getelementptr inbounds ptr, ptr %268, i64 2
  %270 = load ptr, ptr %269, align 8
  call void %270(ptr noundef nonnull align 8 dereferenceable(8) %258, ptr noundef nonnull align 4 dereferenceable(28) %89, i32 %265, i32 %267, i32 noundef 12)
  call void @llvm.lifetime.end.p0(i64 16, ptr %90) #7
  call void @llvm.lifetime.end.p0(i64 28, ptr %89) #7
  %271 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 28, ptr %93) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %94) #7
  %272 = call { i64, i64 } @_ZN11GQuaternion8IdentityEv()
  %273 = getelementptr inbounds { i64, i64 }, ptr %94, i32 0, i32 0
  %274 = extractvalue { i64, i64 } %272, 0
  store i64 %274, ptr %273, align 4
  %275 = getelementptr inbounds { i64, i64 }, ptr %94, i32 0, i32 1
  %276 = extractvalue { i64, i64 } %272, 1
  store i64 %276, ptr %275, align 4
  call void @_ZN13GTransform_QTC2ERK11GQuaternionRK8GVector3(ptr noundef nonnull align 4 dereferenceable(28) %93, ptr noundef nonnull align 4 dereferenceable(16) %94, ptr noundef nonnull align 4 dereferenceable(12) %76)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %95, ptr align 4 %78, i64 4, i1 false), !tbaa.struct !9
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %96, i32 noundef 255)
  %277 = getelementptr inbounds %class.GFloat, ptr %95, i32 0, i32 0
  %278 = load i32, ptr %277, align 4
  %279 = getelementptr inbounds %class.GColor, ptr %96, i32 0, i32 0
  %280 = load i32, ptr %279, align 4
  %281 = load ptr, ptr %271, align 8, !tbaa !13
  %282 = getelementptr inbounds ptr, ptr %281, i64 2
  %283 = load ptr, ptr %282, align 8
  call void %283(ptr noundef nonnull align 8 dereferenceable(8) %271, ptr noundef nonnull align 4 dereferenceable(28) %93, i32 %278, i32 %280, i32 noundef 12)
  call void @llvm.lifetime.end.p0(i64 16, ptr %94) #7
  call void @llvm.lifetime.end.p0(i64 28, ptr %93) #7
  %284 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 28, ptr %97) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %98) #7
  %285 = call { i64, i64 } @_ZN11GQuaternion8IdentityEv()
  %286 = getelementptr inbounds { i64, i64 }, ptr %98, i32 0, i32 0
  %287 = extractvalue { i64, i64 } %285, 0
  store i64 %287, ptr %286, align 4
  %288 = getelementptr inbounds { i64, i64 }, ptr %98, i32 0, i32 1
  %289 = extractvalue { i64, i64 } %285, 1
  store i64 %289, ptr %288, align 4
  call void @_ZN13GTransform_QTC2ERK11GQuaternionRK8GVector3(ptr noundef nonnull align 4 dereferenceable(28) %97, ptr noundef nonnull align 4 dereferenceable(16) %98, ptr noundef nonnull align 4 dereferenceable(12) %77)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %99, ptr align 4 %78, i64 4, i1 false), !tbaa.struct !9
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %100, i32 noundef 0)
  %290 = getelementptr inbounds %class.GFloat, ptr %99, i32 0, i32 0
  %291 = load i32, ptr %290, align 4
  %292 = getelementptr inbounds %class.GColor, ptr %100, i32 0, i32 0
  %293 = load i32, ptr %292, align 4
  %294 = load ptr, ptr %284, align 8, !tbaa !13
  %295 = getelementptr inbounds ptr, ptr %294, i64 2
  %296 = load ptr, ptr %295, align 8
  call void %296(ptr noundef nonnull align 8 dereferenceable(8) %284, ptr noundef nonnull align 4 dereferenceable(28) %97, i32 %291, i32 %293, i32 noundef 12)
  call void @llvm.lifetime.end.p0(i64 16, ptr %98) #7
  call void @llvm.lifetime.end.p0(i64 28, ptr %97) #7
  %297 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %101, i32 noundef -1)
  %298 = getelementptr inbounds %class.GColor, ptr %101, i32 0, i32 0
  %299 = load i32, ptr %298, align 4
  %300 = load ptr, ptr %297, align 8, !tbaa !13
  %301 = getelementptr inbounds ptr, ptr %300, i64 0
  %302 = load ptr, ptr %301, align 8
  call void %302(ptr noundef nonnull align 8 dereferenceable(8) %297, ptr noundef nonnull align 4 dereferenceable(12) %74, ptr noundef nonnull align 4 dereferenceable(12) %75, i32 %299)
  %303 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %102, i32 noundef -1)
  %304 = getelementptr inbounds %class.GColor, ptr %102, i32 0, i32 0
  %305 = load i32, ptr %304, align 4
  %306 = load ptr, ptr %303, align 8, !tbaa !13
  %307 = getelementptr inbounds ptr, ptr %306, i64 0
  %308 = load ptr, ptr %307, align 8
  call void %308(ptr noundef nonnull align 8 dereferenceable(8) %303, ptr noundef nonnull align 4 dereferenceable(12) %75, ptr noundef nonnull align 4 dereferenceable(12) %76, i32 %305)
  %309 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %103, i32 noundef -1)
  %310 = getelementptr inbounds %class.GColor, ptr %103, i32 0, i32 0
  %311 = load i32, ptr %310, align 4
  %312 = load ptr, ptr %309, align 8, !tbaa !13
  %313 = getelementptr inbounds ptr, ptr %312, i64 0
  %314 = load ptr, ptr %313, align 8
  call void %314(ptr noundef nonnull align 8 dereferenceable(8) %309, ptr noundef nonnull align 4 dereferenceable(12) %76, ptr noundef nonnull align 4 dereferenceable(12) %74, i32 %311)
  %315 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %104, i32 noundef -1)
  %316 = getelementptr inbounds %class.GColor, ptr %104, i32 0, i32 0
  %317 = load i32, ptr %316, align 4
  %318 = load ptr, ptr %315, align 8, !tbaa !13
  %319 = getelementptr inbounds ptr, ptr %318, i64 0
  %320 = load ptr, ptr %319, align 8
  call void %320(ptr noundef nonnull align 8 dereferenceable(8) %315, ptr noundef nonnull align 4 dereferenceable(12) %74, ptr noundef nonnull align 4 dereferenceable(12) %77, i32 %317)
  %321 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %105, i32 noundef -1)
  %322 = getelementptr inbounds %class.GColor, ptr %105, i32 0, i32 0
  %323 = load i32, ptr %322, align 4
  %324 = load ptr, ptr %321, align 8, !tbaa !13
  %325 = getelementptr inbounds ptr, ptr %324, i64 0
  %326 = load ptr, ptr %325, align 8
  call void %326(ptr noundef nonnull align 8 dereferenceable(8) %321, ptr noundef nonnull align 4 dereferenceable(12) %75, ptr noundef nonnull align 4 dereferenceable(12) %77, i32 %323)
  %327 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %106, i32 noundef -1)
  %328 = getelementptr inbounds %class.GColor, ptr %106, i32 0, i32 0
  %329 = load i32, ptr %328, align 4
  %330 = load ptr, ptr %327, align 8, !tbaa !13
  %331 = getelementptr inbounds ptr, ptr %330, i64 0
  %332 = load ptr, ptr %331, align 8
  call void %332(ptr noundef nonnull align 8 dereferenceable(8) %327, ptr noundef nonnull align 4 dereferenceable(12) %76, ptr noundef nonnull align 4 dereferenceable(12) %77, i32 %329)
  call void @llvm.lifetime.end.p0(i64 4, ptr %78) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %77) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %76) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %75) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %74) #7
  br label %333

333:                                              ; preds = %228, %222
  store i1 true, ptr %6, align 1
  store i32 1, ptr %25, align 4
  br label %334

334:                                              ; preds = %333, %221
  call void @llvm.lifetime.end.p0(i64 12, ptr %64) #7
  br label %335

335:                                              ; preds = %334, %210
  call void @llvm.lifetime.end.p0(i64 12, ptr %60) #7
  br label %336

336:                                              ; preds = %335, %192
  call void @llvm.lifetime.end.p0(i64 12, ptr %50) #7
  br label %337

337:                                              ; preds = %336, %181
  call void @llvm.lifetime.end.p0(i64 12, ptr %46) #7
  br label %338

338:                                              ; preds = %337, %163
  call void @llvm.lifetime.end.p0(i64 12, ptr %36) #7
  br label %339

339:                                              ; preds = %338, %152
  call void @llvm.lifetime.end.p0(i64 12, ptr %32) #7
  br label %340

340:                                              ; preds = %339, %134, %125
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 28, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 28, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 28, ptr %12) #7
  %341 = load i1, ptr %6, align 1
  ret i1 %341
}

; Function Attrs: 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 void @_ZNK13GTransform_QT10GetInverseEv(ptr dead_on_unwind noalias writable sret(%class.GTransform_QT) align 4, ptr noundef nonnull align 4 dereferenceable(28)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK13GTransform_QTmlERKS_(ptr dead_on_unwind noalias writable sret(%class.GTransform_QT) align 4, ptr noundef nonnull align 4 dereferenceable(28), ptr noundef nonnull align 4 dereferenceable(28)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i32 } @_ZNK13GTransform_QT17TransformPositionERK8GVector3(ptr noundef nonnull align 4 dereferenceable(28), ptr noundef nonnull align 4 dereferenceable(12)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i32 } @_ZN8GVector34ZeroEv() #2 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) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i32 } @_ZNK8GVector312GetNormalizeEv(ptr noundef nonnull align 4 dereferenceable(12)) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i32 } @_ZN14GCollision_GJK15s_GetSupportPosI16GShapeConvexBaseS1_EE8GVector3RKS2_RKT_RKT0_RK13GTransform_QTSD_SD_SD_P12IGlacierDrawj(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(28), ptr noundef nonnull align 4 dereferenceable(28), ptr noundef nonnull align 4 dereferenceable(28), ptr noundef nonnull align 4 dereferenceable(28), ptr noundef, i32 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZNK8GVector310SizeSquareEv(ptr noundef nonnull align 4 dereferenceable(12)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4), i32) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZN5GMath7EpsilonEv() #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZN5GMath4ZeroEv() #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i32 } @_ZNK8GVector3ngEv(ptr noundef nonnull align 4 dereferenceable(12)) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i32 } @_ZN9GDistance21ClosestPtPointSegmentERK8GVector3S2_S2_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #2 align 2

declare { i64, i32 } @_ZN9GDistance20ClosestPointTriangleERK8GVector3S2_S2_S2_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i32 } @_ZN9GDistance25ClosestPtPointTetrahedronERK8GVector3S2_S2_S2_S2_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN5GMath9FromFloatEf(float noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i64 } @_ZN11GQuaternion8IdentityEv() #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN13GTransform_QTC2ERK11GQuaternionRK8GVector3(ptr noundef nonnull align 4 dereferenceable(28), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #6 align 2

attributes #0 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 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 = { 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 = !{i64 0, i64 4, !10}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{i64 0, i64 4, !10, i64 4, i64 4, !10, i64 8, i64 4, !10}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}


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

%class.GTransform_QT = type { %class.GQuaternion, %class.GVector3 }
%class.GQuaternion = type { %class.GFloat, %class.GFloat, %class.GFloat, %class.GFloat }
%class.GFloat = type { i32 }
%class.GVector3 = type { %class.GFloat, %class.GFloat, %class.GFloat }
%class.GColor = type { i32 }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN14GCollision_GJK7GJKTestERK16GShapeConvexBaseRK13GTransform_QTS2_S5_P12IGlacierDraw(ptr noundef nonnull align 8 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(28) %1, ptr noundef nonnull align 8 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(28) %3, ptr noundef %4) local_unnamed_addr #0 align 2 {
  %6 = alloca %class.GTransform_QT, align 4
  %7 = alloca %class.GTransform_QT, align 4
  %8 = alloca %class.GTransform_QT, align 4
  %9 = alloca %class.GVector3, align 8
  %10 = alloca %class.GVector3, align 8
  %11 = alloca %class.GVector3, align 8
  %12 = alloca %class.GVector3, align 8
  %13 = alloca %class.GFloat, align 4
  %14 = alloca %class.GFloat, align 4
  %15 = alloca %class.GVector3, align 8
  %16 = alloca %class.GVector3, align 8
  %17 = alloca %class.GVector3, align 8
  %18 = alloca %class.GFloat, align 4
  %19 = alloca %class.GVector3, align 8
  %20 = alloca %class.GVector3, align 8
  %21 = alloca %class.GVector3, align 8
  %22 = alloca %class.GVector3, align 8
  %23 = alloca %class.GVector3, align 8
  %24 = alloca %class.GFloat, align 4
  %25 = alloca %class.GVector3, align 8
  %26 = alloca %class.GVector3, align 8
  %27 = alloca %class.GVector3, align 8
  %28 = alloca %class.GVector3, align 8
  %29 = alloca %class.GVector3, align 8
  %30 = alloca %class.GFloat, align 4
  %31 = alloca %class.GVector3, align 8
  %32 = alloca %class.GVector3, align 8
  %33 = alloca %class.GVector3, align 8
  %34 = alloca %class.GVector3, align 8
  %35 = alloca %class.GVector3, align 4
  %36 = alloca %class.GVector3, align 4
  %37 = alloca %class.GVector3, align 4
  %38 = alloca %class.GVector3, align 4
  %39 = alloca %class.GTransform_QT, align 4
  %40 = alloca %class.GQuaternion, align 8
  %41 = alloca %class.GVector3, align 8
  %42 = alloca %class.GColor, align 4
  %43 = alloca %class.GTransform_QT, align 4
  %44 = alloca %class.GQuaternion, align 8
  %45 = alloca %class.GColor, align 4
  %46 = alloca %class.GTransform_QT, align 4
  %47 = alloca %class.GQuaternion, align 8
  %48 = alloca %class.GColor, align 4
  %49 = alloca %class.GTransform_QT, align 4
  %50 = alloca %class.GQuaternion, align 8
  %51 = alloca %class.GColor, align 4
  %52 = alloca %class.GTransform_QT, align 4
  %53 = alloca %class.GQuaternion, align 8
  %54 = alloca %class.GColor, align 4
  %55 = alloca %class.GColor, align 4
  %56 = alloca %class.GColor, align 4
  %57 = alloca %class.GColor, align 4
  %58 = alloca %class.GColor, align 4
  %59 = alloca %class.GColor, align 4
  %60 = alloca %class.GColor, align 4
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %6) #7
  call void @_ZNK13GTransform_QT10GetInverseEv(ptr dead_on_unwind nonnull writable sret(%class.GTransform_QT) align 4 %6, ptr noundef nonnull align 4 dereferenceable(28) %1)
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %7) #7
  call void @_ZNK13GTransform_QTmlERKS_(ptr dead_on_unwind nonnull writable sret(%class.GTransform_QT) align 4 %7, ptr noundef nonnull align 4 dereferenceable(28) %3, ptr noundef nonnull align 4 dereferenceable(28) %6)
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %8) #7
  call void @_ZNK13GTransform_QT10GetInverseEv(ptr dead_on_unwind nonnull writable sret(%class.GTransform_QT) align 4 %8, ptr noundef nonnull align 4 dereferenceable(28) %7)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #7
  %61 = call { i64, i32 } @_ZN8GVector34ZeroEv()
  %.fca.0.extract102 = extractvalue { i64, i32 } %61, 0
  %.fca.1.extract103 = extractvalue { i64, i32 } %61, 1
  store i64 %.fca.0.extract102, ptr %11, align 8
  %.sroa.2105.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 8
  store i32 %.fca.1.extract103, ptr %.sroa.2105.0..sroa_idx, align 8
  %62 = call { i64, i32 } @_ZNK13GTransform_QT17TransformPositionERK8GVector3(ptr noundef nonnull align 4 dereferenceable(28) %7, ptr noundef nonnull align 4 dereferenceable(12) %11)
  %.fca.0.extract98 = extractvalue { i64, i32 } %62, 0
  %.fca.1.extract99 = extractvalue { i64, i32 } %62, 1
  store i64 %.fca.0.extract98, ptr %10, align 8
  %.sroa.2101.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 8
  store i32 %.fca.1.extract99, ptr %.sroa.2101.0..sroa_idx, align 8
  %63 = call { i64, i32 } @_ZNK8GVector312GetNormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %10)
  %.fca.0.extract94 = extractvalue { i64, i32 } %63, 0
  %.fca.1.extract95 = extractvalue { i64, i32 } %63, 1
  store i64 %.fca.0.extract94, ptr %9, align 8
  %.sroa.297.0..sroa_idx = getelementptr inbounds i8, ptr %9, i64 8
  store i32 %.fca.1.extract95, ptr %.sroa.297.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %12) #7
  %64 = call { i64, i32 } @_ZN14GCollision_GJK15s_GetSupportPosI16GShapeConvexBaseS1_EE8GVector3RKS2_RKT_RKT0_RK13GTransform_QTSD_SD_SD_P12IGlacierDrawj(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 8 dereferenceable(12) %0, ptr noundef nonnull align 8 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(28) %7, ptr noundef nonnull align 4 dereferenceable(28) %8, ptr noundef nonnull align 4 dereferenceable(28) %1, ptr noundef nonnull align 4 dereferenceable(28) %3, ptr noundef %4, i32 noundef 16711680)
  %.fca.0.extract90 = extractvalue { i64, i32 } %64, 0
  %.fca.1.extract91 = extractvalue { i64, i32 } %64, 1
  store i64 %.fca.0.extract90, ptr %12, align 8
  %.sroa.293.0..sroa_idx = getelementptr inbounds i8, ptr %12, i64 8
  store i32 %.fca.1.extract91, ptr %.sroa.293.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  %65 = call i32 @_ZNK8GVector310SizeSquareEv(ptr noundef nonnull align 4 dereferenceable(12) %12)
  store i32 %65, ptr %13, align 4
  %66 = call i32 @_ZN5GMath7EpsilonEv()
  %67 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %13, i32 %66)
  br i1 %67, label %185, label %68

68:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #7
  %69 = call i32 @_ZN8GVector310DotProductERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %12)
  store i32 %69, ptr %14, align 4
  %70 = call i32 @_ZN5GMath4ZeroEv()
  %71 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %14, i32 %70)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #7
  br i1 %71, label %185, label %72

72:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %16) #7
  %73 = call { i64, i32 } @_ZNK8GVector3ngEv(ptr noundef nonnull align 4 dereferenceable(12) %12)
  %.fca.0.extract84 = extractvalue { i64, i32 } %73, 0
  %.fca.1.extract85 = extractvalue { i64, i32 } %73, 1
  store i64 %.fca.0.extract84, ptr %16, align 8
  %.sroa.287.0..sroa_idx = getelementptr inbounds i8, ptr %16, i64 8
  store i32 %.fca.1.extract85, ptr %.sroa.287.0..sroa_idx, align 8
  %74 = call { i64, i32 } @_ZNK8GVector312GetNormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %16)
  %.fca.0.extract80 = extractvalue { i64, i32 } %74, 0
  %.fca.1.extract81 = extractvalue { i64, i32 } %74, 1
  store i64 %.fca.0.extract80, ptr %15, align 8
  %.sroa.283.0..sroa_idx = getelementptr inbounds i8, ptr %15, i64 8
  store i32 %.fca.1.extract81, ptr %.sroa.283.0..sroa_idx, align 8
  %75 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8GVector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %15)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %17) #7
  %76 = call { i64, i32 } @_ZN14GCollision_GJK15s_GetSupportPosI16GShapeConvexBaseS1_EE8GVector3RKS2_RKT_RKT0_RK13GTransform_QTSD_SD_SD_P12IGlacierDrawj(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 8 dereferenceable(12) %0, ptr noundef nonnull align 8 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(28) %7, ptr noundef nonnull align 4 dereferenceable(28) %8, ptr noundef nonnull align 4 dereferenceable(28) %1, ptr noundef nonnull align 4 dereferenceable(28) %3, ptr noundef %4, i32 noundef 65535)
  %.fca.0.extract76 = extractvalue { i64, i32 } %76, 0
  %.fca.1.extract77 = extractvalue { i64, i32 } %76, 1
  store i64 %.fca.0.extract76, ptr %17, align 8
  %.sroa.279.0..sroa_idx = getelementptr inbounds i8, ptr %17, i64 8
  store i32 %.fca.1.extract77, ptr %.sroa.279.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #7
  %77 = call i32 @_ZN8GVector310DotProductERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %17)
  store i32 %77, ptr %18, align 4
  %78 = call i32 @_ZN5GMath4ZeroEv()
  %79 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %18, i32 %78)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #7
  br i1 %79, label %184, label %80

80:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %20) #7
  %81 = call { i64, i32 } @_ZN8GVector34ZeroEv()
  %.fca.0.extract71 = extractvalue { i64, i32 } %81, 0
  %.fca.1.extract72 = extractvalue { i64, i32 } %81, 1
  store i64 %.fca.0.extract71, ptr %20, align 8
  %.sroa.274.0..sroa_idx = getelementptr inbounds i8, ptr %20, i64 8
  store i32 %.fca.1.extract72, ptr %.sroa.274.0..sroa_idx, align 8
  %82 = call { i64, i32 } @_ZN9GDistance21ClosestPtPointSegmentERK8GVector3S2_S2_(ptr noundef nonnull align 4 dereferenceable(12) %20, ptr noundef nonnull align 4 dereferenceable(12) %12, ptr noundef nonnull align 4 dereferenceable(12) %17)
  %.fca.0.extract67 = extractvalue { i64, i32 } %82, 0
  %.fca.1.extract68 = extractvalue { i64, i32 } %82, 1
  store i64 %.fca.0.extract67, ptr %19, align 8
  %.sroa.270.0..sroa_idx = getelementptr inbounds i8, ptr %19, i64 8
  store i32 %.fca.1.extract68, ptr %.sroa.270.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %20) #7
  %83 = call i32 @_ZNK8GVector310SizeSquareEv(ptr noundef nonnull align 4 dereferenceable(12) %19)
  store i32 %83, ptr %13, align 4, !tbaa !5
  %84 = call i32 @_ZN5GMath7EpsilonEv()
  %85 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %13, i32 %84)
  br i1 %85, label %183, label %86

86:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %22) #7
  %87 = call { i64, i32 } @_ZNK8GVector3ngEv(ptr noundef nonnull align 4 dereferenceable(12) %19)
  %.fca.0.extract61 = extractvalue { i64, i32 } %87, 0
  %.fca.1.extract62 = extractvalue { i64, i32 } %87, 1
  store i64 %.fca.0.extract61, ptr %22, align 8
  %.sroa.264.0..sroa_idx = getelementptr inbounds i8, ptr %22, i64 8
  store i32 %.fca.1.extract62, ptr %.sroa.264.0..sroa_idx, align 8
  %88 = call { i64, i32 } @_ZNK8GVector312GetNormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %22)
  %.fca.0.extract57 = extractvalue { i64, i32 } %88, 0
  %.fca.1.extract58 = extractvalue { i64, i32 } %88, 1
  store i64 %.fca.0.extract57, ptr %21, align 8
  %.sroa.260.0..sroa_idx = getelementptr inbounds i8, ptr %21, i64 8
  store i32 %.fca.1.extract58, ptr %.sroa.260.0..sroa_idx, align 8
  %89 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8GVector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %21)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #7
  %90 = call { i64, i32 } @_ZN14GCollision_GJK15s_GetSupportPosI16GShapeConvexBaseS1_EE8GVector3RKS2_RKT_RKT0_RK13GTransform_QTSD_SD_SD_P12IGlacierDrawj(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 8 dereferenceable(12) %0, ptr noundef nonnull align 8 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(28) %7, ptr noundef nonnull align 4 dereferenceable(28) %8, ptr noundef nonnull align 4 dereferenceable(28) %1, ptr noundef nonnull align 4 dereferenceable(28) %3, ptr noundef %4, i32 noundef 255)
  %.fca.0.extract53 = extractvalue { i64, i32 } %90, 0
  %.fca.1.extract54 = extractvalue { i64, i32 } %90, 1
  store i64 %.fca.0.extract53, ptr %23, align 8
  %.sroa.256.0..sroa_idx = getelementptr inbounds i8, ptr %23, i64 8
  store i32 %.fca.1.extract54, ptr %.sroa.256.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #7
  %91 = call i32 @_ZN8GVector310DotProductERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %23)
  store i32 %91, ptr %24, align 4
  %92 = call i32 @_ZN5GMath4ZeroEv()
  %93 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %24, i32 %92)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #7
  br i1 %93, label %182, label %94

94:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %25) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %26) #7
  %95 = call { i64, i32 } @_ZN8GVector34ZeroEv()
  %.fca.0.extract48 = extractvalue { i64, i32 } %95, 0
  %.fca.1.extract49 = extractvalue { i64, i32 } %95, 1
  store i64 %.fca.0.extract48, ptr %26, align 8
  %.sroa.251.0..sroa_idx = getelementptr inbounds i8, ptr %26, i64 8
  store i32 %.fca.1.extract49, ptr %.sroa.251.0..sroa_idx, align 8
  %96 = call { i64, i32 } @_ZN9GDistance20ClosestPointTriangleERK8GVector3S2_S2_S2_(ptr noundef nonnull align 4 dereferenceable(12) %26, ptr noundef nonnull align 4 dereferenceable(12) %12, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %23)
  %.fca.0.extract44 = extractvalue { i64, i32 } %96, 0
  %.fca.1.extract45 = extractvalue { i64, i32 } %96, 1
  store i64 %.fca.0.extract44, ptr %25, align 8
  %.sroa.247.0..sroa_idx = getelementptr inbounds i8, ptr %25, i64 8
  store i32 %.fca.1.extract45, ptr %.sroa.247.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %26) #7
  %97 = call i32 @_ZNK8GVector310SizeSquareEv(ptr noundef nonnull align 4 dereferenceable(12) %25)
  store i32 %97, ptr %13, align 4, !tbaa !5
  %98 = call i32 @_ZN5GMath7EpsilonEv()
  %99 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %13, i32 %98)
  br i1 %99, label %181, label %100

100:                                              ; preds = %94
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %27) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %28) #7
  %101 = call { i64, i32 } @_ZNK8GVector3ngEv(ptr noundef nonnull align 4 dereferenceable(12) %25)
  %.fca.0.extract38 = extractvalue { i64, i32 } %101, 0
  %.fca.1.extract39 = extractvalue { i64, i32 } %101, 1
  store i64 %.fca.0.extract38, ptr %28, align 8
  %.sroa.241.0..sroa_idx = getelementptr inbounds i8, ptr %28, i64 8
  store i32 %.fca.1.extract39, ptr %.sroa.241.0..sroa_idx, align 8
  %102 = call { i64, i32 } @_ZNK8GVector312GetNormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %28)
  %.fca.0.extract34 = extractvalue { i64, i32 } %102, 0
  %.fca.1.extract35 = extractvalue { i64, i32 } %102, 1
  store i64 %.fca.0.extract34, ptr %27, align 8
  %.sroa.237.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 8
  store i32 %.fca.1.extract35, ptr %.sroa.237.0..sroa_idx, align 8
  %103 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8GVector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %27)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %27) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %29) #7
  %104 = call { i64, i32 } @_ZN14GCollision_GJK15s_GetSupportPosI16GShapeConvexBaseS1_EE8GVector3RKS2_RKT_RKT0_RK13GTransform_QTSD_SD_SD_P12IGlacierDrawj(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 8 dereferenceable(12) %0, ptr noundef nonnull align 8 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(28) %7, ptr noundef nonnull align 4 dereferenceable(28) %8, ptr noundef nonnull align 4 dereferenceable(28) %1, ptr noundef nonnull align 4 dereferenceable(28) %3, ptr noundef %4, i32 noundef 0)
  %.fca.0.extract30 = extractvalue { i64, i32 } %104, 0
  %.fca.1.extract31 = extractvalue { i64, i32 } %104, 1
  store i64 %.fca.0.extract30, ptr %29, align 8
  %.sroa.233.0..sroa_idx = getelementptr inbounds i8, ptr %29, i64 8
  store i32 %.fca.1.extract31, ptr %.sroa.233.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %30) #7
  %105 = call i32 @_ZN8GVector310DotProductERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %29)
  store i32 %105, ptr %30, align 4
  %106 = call i32 @_ZN5GMath4ZeroEv()
  %107 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %30, i32 %106)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #7
  br i1 %107, label %180, label %108

108:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %31) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %32) #7
  %109 = call { i64, i32 } @_ZN8GVector34ZeroEv()
  %.fca.0.extract25 = extractvalue { i64, i32 } %109, 0
  %.fca.1.extract26 = extractvalue { i64, i32 } %109, 1
  store i64 %.fca.0.extract25, ptr %32, align 8
  %.sroa.228.0..sroa_idx = getelementptr inbounds i8, ptr %32, i64 8
  store i32 %.fca.1.extract26, ptr %.sroa.228.0..sroa_idx, align 8
  %110 = call { i64, i32 } @_ZN9GDistance25ClosestPtPointTetrahedronERK8GVector3S2_S2_S2_S2_(ptr noundef nonnull align 4 dereferenceable(12) %32, ptr noundef nonnull align 4 dereferenceable(12) %12, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %23, ptr noundef nonnull align 4 dereferenceable(12) %29)
  %.fca.0.extract21 = extractvalue { i64, i32 } %110, 0
  %.fca.1.extract22 = extractvalue { i64, i32 } %110, 1
  store i64 %.fca.0.extract21, ptr %31, align 8
  %.sroa.224.0..sroa_idx = getelementptr inbounds i8, ptr %31, i64 8
  store i32 %.fca.1.extract22, ptr %.sroa.224.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %32) #7
  %111 = call i32 @_ZNK8GVector310SizeSquareEv(ptr noundef nonnull align 4 dereferenceable(12) %31)
  store i32 %111, ptr %13, align 4, !tbaa !5
  %112 = call i32 @_ZN5GMath7EpsilonEv()
  %113 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %13, i32 %112)
  br i1 %113, label %179, label %114

114:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %33) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %34) #7
  %115 = call { i64, i32 } @_ZNK8GVector3ngEv(ptr noundef nonnull align 4 dereferenceable(12) %31)
  %.fca.0.extract15 = extractvalue { i64, i32 } %115, 0
  %.fca.1.extract16 = extractvalue { i64, i32 } %115, 1
  store i64 %.fca.0.extract15, ptr %34, align 8
  %.sroa.218.0..sroa_idx = getelementptr inbounds i8, ptr %34, i64 8
  store i32 %.fca.1.extract16, ptr %.sroa.218.0..sroa_idx, align 8
  %116 = call { i64, i32 } @_ZNK8GVector312GetNormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %34)
  %.fca.0.extract11 = extractvalue { i64, i32 } %116, 0
  %.fca.1.extract12 = extractvalue { i64, i32 } %116, 1
  store i64 %.fca.0.extract11, ptr %33, align 8
  %.sroa.214.0..sroa_idx = getelementptr inbounds i8, ptr %33, i64 8
  store i32 %.fca.1.extract12, ptr %.sroa.214.0..sroa_idx, align 8
  %117 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8GVector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %33)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %33) #7
  %.not = icmp eq ptr %4, null
  br i1 %.not, label %179, label %118

118:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %35) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %35, ptr noundef nonnull align 8 dereferenceable(12) %12, i64 12, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %36) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %36, ptr noundef nonnull align 8 dereferenceable(12) %17, i64 12, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %37) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %37, ptr noundef nonnull align 8 dereferenceable(12) %23, i64 12, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %38) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %38, ptr noundef nonnull align 8 dereferenceable(12) %29, i64 12, i1 false), !tbaa.struct !9
  %119 = call i32 @_ZN5GMath9FromFloatEf(float noundef 0x3F947AE140000000)
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %39) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %40) #7
  %120 = call { i64, i64 } @_ZN11GQuaternion8IdentityEv()
  %121 = extractvalue { i64, i64 } %120, 0
  store i64 %121, ptr %40, align 8
  %122 = getelementptr inbounds i8, ptr %40, i64 8
  %123 = extractvalue { i64, i64 } %120, 1
  store i64 %123, ptr %122, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %41) #7
  %124 = call { i64, i32 } @_ZN8GVector34ZeroEv()
  %.fca.0.extract = extractvalue { i64, i32 } %124, 0
  %.fca.1.extract = extractvalue { i64, i32 } %124, 1
  store i64 %.fca.0.extract, ptr %41, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %41, i64 8
  store i32 %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @_ZN13GTransform_QTC2ERK11GQuaternionRK8GVector3(ptr noundef nonnull align 4 dereferenceable(28) %39, ptr noundef nonnull align 4 dereferenceable(16) %40, ptr noundef nonnull align 4 dereferenceable(12) %41)
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %42, i32 noundef 16777215)
  %125 = load i32, ptr %42, align 4
  %126 = load ptr, ptr %4, align 8, !tbaa !10
  %127 = getelementptr inbounds i8, ptr %126, i64 16
  %128 = load ptr, ptr %127, align 8
  call void %128(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(28) %39, i32 %119, i32 %125, i32 noundef 12)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %41) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #7
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %39) #7
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %43) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %44) #7
  %129 = call { i64, i64 } @_ZN11GQuaternion8IdentityEv()
  %130 = extractvalue { i64, i64 } %129, 0
  store i64 %130, ptr %44, align 8
  %131 = getelementptr inbounds i8, ptr %44, i64 8
  %132 = extractvalue { i64, i64 } %129, 1
  store i64 %132, ptr %131, align 8
  call void @_ZN13GTransform_QTC2ERK11GQuaternionRK8GVector3(ptr noundef nonnull align 4 dereferenceable(28) %43, ptr noundef nonnull align 4 dereferenceable(16) %44, ptr noundef nonnull align 4 dereferenceable(12) %35)
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %45, i32 noundef 16711680)
  %133 = load i32, ptr %45, align 4
  %134 = load ptr, ptr %4, align 8, !tbaa !10
  %135 = getelementptr inbounds i8, ptr %134, i64 16
  %136 = load ptr, ptr %135, align 8
  call void %136(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(28) %43, i32 %119, i32 %133, i32 noundef 12)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %44) #7
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %43) #7
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %46) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %47) #7
  %137 = call { i64, i64 } @_ZN11GQuaternion8IdentityEv()
  %138 = extractvalue { i64, i64 } %137, 0
  store i64 %138, ptr %47, align 8
  %139 = getelementptr inbounds i8, ptr %47, i64 8
  %140 = extractvalue { i64, i64 } %137, 1
  store i64 %140, ptr %139, align 8
  call void @_ZN13GTransform_QTC2ERK11GQuaternionRK8GVector3(ptr noundef nonnull align 4 dereferenceable(28) %46, ptr noundef nonnull align 4 dereferenceable(16) %47, ptr noundef nonnull align 4 dereferenceable(12) %36)
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %48, i32 noundef 65280)
  %141 = load i32, ptr %48, align 4
  %142 = load ptr, ptr %4, align 8, !tbaa !10
  %143 = getelementptr inbounds i8, ptr %142, i64 16
  %144 = load ptr, ptr %143, align 8
  call void %144(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(28) %46, i32 %119, i32 %141, i32 noundef 12)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %47) #7
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %46) #7
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %49) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %50) #7
  %145 = call { i64, i64 } @_ZN11GQuaternion8IdentityEv()
  %146 = extractvalue { i64, i64 } %145, 0
  store i64 %146, ptr %50, align 8
  %147 = getelementptr inbounds i8, ptr %50, i64 8
  %148 = extractvalue { i64, i64 } %145, 1
  store i64 %148, ptr %147, align 8
  call void @_ZN13GTransform_QTC2ERK11GQuaternionRK8GVector3(ptr noundef nonnull align 4 dereferenceable(28) %49, ptr noundef nonnull align 4 dereferenceable(16) %50, ptr noundef nonnull align 4 dereferenceable(12) %37)
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %51, i32 noundef 255)
  %149 = load i32, ptr %51, align 4
  %150 = load ptr, ptr %4, align 8, !tbaa !10
  %151 = getelementptr inbounds i8, ptr %150, i64 16
  %152 = load ptr, ptr %151, align 8
  call void %152(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(28) %49, i32 %119, i32 %149, i32 noundef 12)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %50) #7
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %49) #7
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %52) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %53) #7
  %153 = call { i64, i64 } @_ZN11GQuaternion8IdentityEv()
  %154 = extractvalue { i64, i64 } %153, 0
  store i64 %154, ptr %53, align 8
  %155 = getelementptr inbounds i8, ptr %53, i64 8
  %156 = extractvalue { i64, i64 } %153, 1
  store i64 %156, ptr %155, align 8
  call void @_ZN13GTransform_QTC2ERK11GQuaternionRK8GVector3(ptr noundef nonnull align 4 dereferenceable(28) %52, ptr noundef nonnull align 4 dereferenceable(16) %53, ptr noundef nonnull align 4 dereferenceable(12) %38)
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %54, i32 noundef 0)
  %157 = load i32, ptr %54, align 4
  %158 = load ptr, ptr %4, align 8, !tbaa !10
  %159 = getelementptr inbounds i8, ptr %158, i64 16
  %160 = load ptr, ptr %159, align 8
  call void %160(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(28) %52, i32 %119, i32 %157, i32 noundef 12)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %53) #7
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %52) #7
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %55, i32 noundef -1)
  %161 = load i32, ptr %55, align 4
  %162 = load ptr, ptr %4, align 8, !tbaa !10
  %163 = load ptr, ptr %162, align 8
  call void %163(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(12) %35, ptr noundef nonnull align 4 dereferenceable(12) %36, i32 %161)
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %56, i32 noundef -1)
  %164 = load i32, ptr %56, align 4
  %165 = load ptr, ptr %4, align 8, !tbaa !10
  %166 = load ptr, ptr %165, align 8
  call void %166(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(12) %36, ptr noundef nonnull align 4 dereferenceable(12) %37, i32 %164)
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %57, i32 noundef -1)
  %167 = load i32, ptr %57, align 4
  %168 = load ptr, ptr %4, align 8, !tbaa !10
  %169 = load ptr, ptr %168, align 8
  call void %169(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(12) %37, ptr noundef nonnull align 4 dereferenceable(12) %35, i32 %167)
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %58, i32 noundef -1)
  %170 = load i32, ptr %58, align 4
  %171 = load ptr, ptr %4, align 8, !tbaa !10
  %172 = load ptr, ptr %171, align 8
  call void %172(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(12) %35, ptr noundef nonnull align 4 dereferenceable(12) %38, i32 %170)
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %59, i32 noundef -1)
  %173 = load i32, ptr %59, align 4
  %174 = load ptr, ptr %4, align 8, !tbaa !10
  %175 = load ptr, ptr %174, align 8
  call void %175(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(12) %36, ptr noundef nonnull align 4 dereferenceable(12) %38, i32 %173)
  call void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %60, i32 noundef -1)
  %176 = load i32, ptr %60, align 4
  %177 = load ptr, ptr %4, align 8, !tbaa !10
  %178 = load ptr, ptr %177, align 8
  call void %178(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(12) %37, ptr noundef nonnull align 4 dereferenceable(12) %38, i32 %176)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %38) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %37) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %36) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %35) #7
  br label %179

179:                                              ; preds = %114, %118, %108
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %31) #7
  br label %180

180:                                              ; preds = %100, %179
  %.1 = xor i1 %107, true
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %29) #7
  br label %181

181:                                              ; preds = %94, %180
  %.2 = phi i1 [ %.1, %180 ], [ true, %94 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #7
  br label %182

182:                                              ; preds = %86, %181
  %.3 = phi i1 [ %.2, %181 ], [ false, %86 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #7
  br label %183

183:                                              ; preds = %80, %182
  %.4 = phi i1 [ %.3, %182 ], [ true, %80 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %19) #7
  br label %184

184:                                              ; preds = %72, %183
  %.5 = phi i1 [ %.4, %183 ], [ false, %72 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %17) #7
  br label %185

185:                                              ; preds = %68, %5, %184
  %.6 = phi i1 [ %.5, %184 ], [ true, %5 ], [ false, %68 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %6) #7
  ret i1 %.6
}

; 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 void @_ZNK13GTransform_QT10GetInverseEv(ptr dead_on_unwind noalias writable sret(%class.GTransform_QT) align 4, ptr noundef nonnull align 4 dereferenceable(28)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK13GTransform_QTmlERKS_(ptr dead_on_unwind noalias writable sret(%class.GTransform_QT) align 4, ptr noundef nonnull align 4 dereferenceable(28), ptr noundef nonnull align 4 dereferenceable(28)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i32 } @_ZNK13GTransform_QT17TransformPositionERK8GVector3(ptr noundef nonnull align 4 dereferenceable(28), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i32 } @_ZN8GVector34ZeroEv() local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i32 } @_ZNK8GVector312GetNormalizeEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2 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: inlinehint mustprogress uwtable
declare dso_local { i64, i32 } @_ZN14GCollision_GJK15s_GetSupportPosI16GShapeConvexBaseS1_EE8GVector3RKS2_RKT_RKT0_RK13GTransform_QTSD_SD_SD_P12IGlacierDrawj(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(28), ptr noundef nonnull align 4 dereferenceable(28), ptr noundef nonnull align 4 dereferenceable(28), ptr noundef nonnull align 4 dereferenceable(28), ptr noundef, i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZNK8GVector310SizeSquareEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4), i32) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZN5GMath7EpsilonEv() local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZN5GMath4ZeroEv() local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i32 } @_ZNK8GVector3ngEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i32 } @_ZN9GDistance21ClosestPtPointSegmentERK8GVector3S2_S2_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2 align 2

declare { i64, i32 } @_ZN9GDistance20ClosestPointTriangleERK8GVector3S2_S2_S2_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i32 } @_ZN9GDistance25ClosestPtPointTetrahedronERK8GVector3S2_S2_S2_S2_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN5GMath9FromFloatEf(float noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i64 } @_ZN11GQuaternion8IdentityEv() local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN13GTransform_QTC2ERK11GQuaternionRK8GVector3(ptr noundef nonnull align 4 dereferenceable(28), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6GColorC2Ej(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #6 align 2

attributes #0 = { 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 #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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 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 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 4, !5}
!10 = !{!11, !11, i64 0}
!11 = !{!"vtable pointer", !8, i64 0}


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