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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN5GMath7InvSqrtE6GFloat(i32) #1 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 } @_ZNK8GVector3plERKS_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZN5GMath3OneEv() #3 align 2

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

135:                                              ; preds = %8
  %136 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %10, i64 4, i1 false), !tbaa.struct !9
  %137 = load ptr, ptr %15, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 4 %11, i64 4, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %12, i64 4, i1 false), !tbaa.struct !9
  %138 = getelementptr inbounds %class.GFloat, ptr %24, i32 0, i32 0
  %139 = load i32, ptr %138, align 4
  %140 = getelementptr inbounds %class.GFloat, ptr %25, i32 0, i32 0
  %141 = load i32, ptr %140, align 4
  %142 = call i32 @_ZN5GMath3MaxE6GFloatS0_(i32 %139, i32 %141)
  %143 = getelementptr inbounds %class.GFloat, ptr %23, i32 0, i32 0
  store i32 %142, ptr %143, align 4
  %144 = load ptr, ptr %16, align 8, !tbaa !5
  %145 = load ptr, ptr %17, align 8, !tbaa !5
  %146 = getelementptr inbounds %class.GFloat, ptr %22, i32 0, i32 0
  %147 = load i32, ptr %146, align 4
  %148 = getelementptr inbounds %class.GFloat, ptr %23, i32 0, i32 0
  %149 = load i32, ptr %148, align 4
  %150 = call noundef zeroext i1 @_ZN17GCollision_Sphere13Sphere_SphereERK8GVector36GFloatS2_S3_RS0_PS0_b(ptr noundef nonnull align 4 dereferenceable(12) %136, i32 %147, ptr noundef nonnull align 4 dereferenceable(12) %137, i32 %149, ptr noundef nonnull align 4 dereferenceable(12) %144, ptr noundef %145, i1 noundef zeroext false)
  store i1 %150, ptr %9, align 1
  store i32 1, ptr %26, align 4
  br label %384

151:                                              ; preds = %8
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %20, i64 4, i1 false), !tbaa.struct !9
  %152 = getelementptr inbounds %class.GFloat, ptr %28, i32 0, i32 0
  %153 = load i32, ptr %152, align 4
  %154 = call i32 @_ZNK6GFloatplES_(ptr noundef nonnull align 4 dereferenceable(4) %11, i32 %153)
  %155 = getelementptr inbounds %class.GFloat, ptr %27, i32 0, i32 0
  store i32 %154, ptr %155, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %12, i64 4, i1 false), !tbaa.struct !9
  %156 = getelementptr inbounds %class.GFloat, ptr %29, i32 0, i32 0
  %157 = load i32, ptr %156, align 4
  %158 = call noundef zeroext i1 @_ZNK6GFloatleES_(ptr noundef nonnull align 4 dereferenceable(4) %27, i32 %157)
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  br i1 %158, label %159, label %169

159:                                              ; preds = %151
  %160 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %10, i64 4, i1 false), !tbaa.struct !9
  %161 = load ptr, ptr %15, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %12, i64 4, i1 false), !tbaa.struct !9
  %162 = load ptr, ptr %16, align 8, !tbaa !5
  %163 = load ptr, ptr %17, align 8, !tbaa !5
  %164 = getelementptr inbounds %class.GFloat, ptr %30, i32 0, i32 0
  %165 = load i32, ptr %164, align 4
  %166 = getelementptr inbounds %class.GFloat, ptr %31, i32 0, i32 0
  %167 = load i32, ptr %166, align 4
  %168 = call noundef zeroext i1 @_ZN17GCollision_Sphere13Sphere_SphereERK8GVector36GFloatS2_S3_RS0_PS0_b(ptr noundef nonnull align 4 dereferenceable(12) %160, i32 %165, ptr noundef nonnull align 4 dereferenceable(12) %161, i32 %167, ptr noundef nonnull align 4 dereferenceable(12) %162, ptr noundef %163, i1 noundef zeroext false)
  store i1 %168, ptr %9, align 1
  store i32 1, ptr %26, align 4
  br label %384

169:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 4 %20, i64 4, i1 false), !tbaa.struct !9
  %170 = getelementptr inbounds %class.GFloat, ptr %33, i32 0, i32 0
  %171 = load i32, ptr %170, align 4
  %172 = call i32 @_ZNK6GFloatplES_(ptr noundef nonnull align 4 dereferenceable(4) %12, i32 %171)
  %173 = getelementptr inbounds %class.GFloat, ptr %32, i32 0, i32 0
  store i32 %172, ptr %173, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 4 %11, i64 4, i1 false), !tbaa.struct !9
  %174 = getelementptr inbounds %class.GFloat, ptr %34, i32 0, i32 0
  %175 = load i32, ptr %174, align 4
  %176 = call noundef zeroext i1 @_ZNK6GFloatleES_(ptr noundef nonnull align 4 dereferenceable(4) %32, i32 %175)
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  br i1 %176, label %177, label %187

177:                                              ; preds = %169
  %178 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %10, i64 4, i1 false), !tbaa.struct !9
  %179 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %11, i64 4, i1 false), !tbaa.struct !9
  %180 = load ptr, ptr %16, align 8, !tbaa !5
  %181 = load ptr, ptr %17, align 8, !tbaa !5
  %182 = getelementptr inbounds %class.GFloat, ptr %35, i32 0, i32 0
  %183 = load i32, ptr %182, align 4
  %184 = getelementptr inbounds %class.GFloat, ptr %36, i32 0, i32 0
  %185 = load i32, ptr %184, align 4
  %186 = call noundef zeroext i1 @_ZN17GCollision_Sphere13Sphere_SphereERK8GVector36GFloatS2_S3_RS0_PS0_b(ptr noundef nonnull align 4 dereferenceable(12) %178, i32 %183, ptr noundef nonnull align 4 dereferenceable(12) %179, i32 %185, ptr noundef nonnull align 4 dereferenceable(12) %180, ptr noundef %181, i1 noundef zeroext false)
  store i1 %186, ptr %9, align 1
  store i32 1, ptr %26, align 4
  br label %384

187:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 12, ptr %37) #5
  %188 = load ptr, ptr %15, align 8, !tbaa !5
  %189 = load ptr, ptr %14, align 8, !tbaa !5
  %190 = call { i64, i32 } @_ZNK8GVector3miERKS_(ptr noundef nonnull align 4 dereferenceable(12) %188, ptr noundef nonnull align 4 dereferenceable(12) %189)
  store { i64, i32 } %190, ptr %38, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 8 %38, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %41) #5
  %191 = load ptr, ptr %13, align 8, !tbaa !5
  %192 = load ptr, ptr %14, align 8, !tbaa !5
  %193 = call { i64, i32 } @_ZNK8GVector3miERKS_(ptr noundef nonnull align 4 dereferenceable(12) %191, ptr noundef nonnull align 4 dereferenceable(12) %192)
  store { i64, i32 } %193, ptr %42, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 8 %42, i64 12, i1 false)
  %194 = call i32 @_ZN8GVector310DotProductERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %41, ptr noundef nonnull align 4 dereferenceable(12) %37)
  %195 = getelementptr inbounds %class.GFloat, ptr %40, i32 0, i32 0
  store i32 %194, ptr %195, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %20, i64 4, i1 false), !tbaa.struct !9
  %196 = getelementptr inbounds %class.GFloat, ptr %43, i32 0, i32 0
  %197 = load i32, ptr %196, align 4
  %198 = call i32 @_ZNK6GFloatdvES_(ptr noundef nonnull align 4 dereferenceable(4) %40, i32 %197)
  %199 = getelementptr inbounds %class.GFloat, ptr %39, i32 0, i32 0
  store i32 %198, ptr %199, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %45, ptr align 4 %20, i64 4, i1 false), !tbaa.struct !9
  %200 = getelementptr inbounds %class.GFloat, ptr %45, i32 0, i32 0
  %201 = load i32, ptr %200, align 4
  %202 = call i32 @_ZN5GMath7InvSqrtE6GFloat(i32 %201)
  %203 = getelementptr inbounds %class.GFloat, ptr %44, i32 0, i32 0
  store i32 %202, ptr %203, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %48, ptr align 4 %11, i64 4, i1 false), !tbaa.struct !9
  %204 = getelementptr inbounds %class.GFloat, ptr %48, i32 0, i32 0
  %205 = load i32, ptr %204, align 4
  %206 = call i32 @_ZNK6GFloatmiES_(ptr noundef nonnull align 4 dereferenceable(4) %12, i32 %205)
  %207 = getelementptr inbounds %class.GFloat, ptr %47, i32 0, i32 0
  store i32 %206, ptr %207, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %49, ptr align 4 %44, i64 4, i1 false), !tbaa.struct !9
  %208 = getelementptr inbounds %class.GFloat, ptr %49, i32 0, i32 0
  %209 = load i32, ptr %208, align 4
  %210 = call i32 @_ZNK6GFloatmlES_(ptr noundef nonnull align 4 dereferenceable(4) %47, i32 %209)
  %211 = getelementptr inbounds %class.GFloat, ptr %46, i32 0, i32 0
  store i32 %210, ptr %211, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #5
  %212 = call i32 @_ZN5GMath3OneEv()
  %213 = getelementptr inbounds %class.GFloat, ptr %52, i32 0, i32 0
  store i32 %212, ptr %213, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 4 %46, i64 4, i1 false), !tbaa.struct !9
  %214 = getelementptr inbounds %class.GFloat, ptr %54, i32 0, i32 0
  %215 = load i32, ptr %214, align 4
  %216 = call i32 @_ZNK6GFloatmlES_(ptr noundef nonnull align 4 dereferenceable(4) %46, i32 %215)
  %217 = getelementptr inbounds %class.GFloat, ptr %53, i32 0, i32 0
  store i32 %216, ptr %217, align 4
  %218 = getelementptr inbounds %class.GFloat, ptr %53, i32 0, i32 0
  %219 = load i32, ptr %218, align 4
  %220 = call i32 @_ZNK6GFloatmiES_(ptr noundef nonnull align 4 dereferenceable(4) %52, i32 %219)
  %221 = getelementptr inbounds %class.GFloat, ptr %51, i32 0, i32 0
  store i32 %220, ptr %221, align 4
  %222 = getelementptr inbounds %class.GFloat, ptr %51, i32 0, i32 0
  %223 = load i32, ptr %222, align 4
  %224 = call i32 @_ZN5GMath4SqrtE6GFloat(i32 %223)
  %225 = getelementptr inbounds %class.GFloat, ptr %50, i32 0, i32 0
  store i32 %224, ptr %225, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %56, ptr align 4 %50, i64 4, i1 false), !tbaa.struct !9
  %226 = getelementptr inbounds %class.GFloat, ptr %56, i32 0, i32 0
  %227 = load i32, ptr %226, align 4
  %228 = call i32 @_ZNK6GFloatdvES_(ptr noundef nonnull align 4 dereferenceable(4) %46, i32 %227)
  %229 = getelementptr inbounds %class.GFloat, ptr %55, i32 0, i32 0
  store i32 %228, ptr %229, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %58, ptr align 4 %44, i64 4, i1 false), !tbaa.struct !9
  %230 = getelementptr inbounds %class.GFloat, ptr %58, i32 0, i32 0
  %231 = load i32, ptr %230, align 4
  %232 = call i32 @_ZNK6GFloatmlES_(ptr noundef nonnull align 4 dereferenceable(4) %55, i32 %231)
  %233 = getelementptr inbounds %class.GFloat, ptr %57, i32 0, i32 0
  store i32 %232, ptr %233, align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr %59) #5
  %234 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %60) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %61) #5
  %235 = load ptr, ptr %15, align 8, !tbaa !5
  %236 = load ptr, ptr %14, align 8, !tbaa !5
  %237 = call { i64, i32 } @_ZNK8GVector3miERKS_(ptr noundef nonnull align 4 dereferenceable(12) %235, ptr noundef nonnull align 4 dereferenceable(12) %236)
  store { i64, i32 } %237, ptr %62, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %61, ptr align 8 %62, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %63, ptr align 4 %39, i64 4, i1 false), !tbaa.struct !9
  %238 = getelementptr inbounds %class.GFloat, ptr %63, i32 0, i32 0
  %239 = load i32, ptr %238, align 4
  %240 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %61, i32 %239)
  store { i64, i32 } %240, ptr %64, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %60, ptr align 8 %64, i64 12, i1 false)
  %241 = call { i64, i32 } @_ZNK8GVector3plERKS_(ptr noundef nonnull align 4 dereferenceable(12) %234, ptr noundef nonnull align 4 dereferenceable(12) %60)
  store { i64, i32 } %241, ptr %65, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %59, ptr align 8 %65, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %61) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %60) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #5
  %242 = load ptr, ptr %13, align 8, !tbaa !5
  %243 = call i32 @_ZN8GVector38DistanceERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %59, ptr noundef nonnull align 4 dereferenceable(12) %242)
  %244 = getelementptr inbounds %class.GFloat, ptr %66, i32 0, i32 0
  store i32 %243, ptr %244, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %67) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %69, ptr align 4 %57, i64 4, i1 false), !tbaa.struct !9
  %245 = getelementptr inbounds %class.GFloat, ptr %69, i32 0, i32 0
  %246 = load i32, ptr %245, align 4
  %247 = call i32 @_ZNK6GFloatmlES_(ptr noundef nonnull align 4 dereferenceable(4) %66, i32 %246)
  %248 = getelementptr inbounds %class.GFloat, ptr %68, i32 0, i32 0
  store i32 %247, ptr %248, align 4
  %249 = getelementptr inbounds %class.GFloat, ptr %68, i32 0, i32 0
  %250 = load i32, ptr %249, align 4
  %251 = call i32 @_ZNK6GFloatplES_(ptr noundef nonnull align 4 dereferenceable(4) %39, i32 %250)
  %252 = getelementptr inbounds %class.GFloat, ptr %67, i32 0, i32 0
  store i32 %251, ptr %252, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %70) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %71, ptr align 4 %67, i64 4, i1 false), !tbaa.struct !9
  %253 = call i32 @_ZN5GMath4ZeroEv()
  %254 = getelementptr inbounds %class.GFloat, ptr %72, i32 0, i32 0
  store i32 %253, ptr %254, align 4
  %255 = call i32 @_ZN5GMath3OneEv()
  %256 = getelementptr inbounds %class.GFloat, ptr %73, i32 0, i32 0
  store i32 %255, ptr %256, align 4
  %257 = getelementptr inbounds %class.GFloat, ptr %71, i32 0, i32 0
  %258 = load i32, ptr %257, align 4
  %259 = getelementptr inbounds %class.GFloat, ptr %72, i32 0, i32 0
  %260 = load i32, ptr %259, align 4
  %261 = getelementptr inbounds %class.GFloat, ptr %73, i32 0, i32 0
  %262 = load i32, ptr %261, align 4
  %263 = call i32 @_ZN5GMath5ClampE6GFloatS0_S0_(i32 %258, i32 %260, i32 %262)
  %264 = getelementptr inbounds %class.GFloat, ptr %70, i32 0, i32 0
  store i32 %263, ptr %264, align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr %74) #5
  %265 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %75) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %76) #5
  %266 = load ptr, ptr %15, align 8, !tbaa !5
  %267 = load ptr, ptr %14, align 8, !tbaa !5
  %268 = call { i64, i32 } @_ZNK8GVector3miERKS_(ptr noundef nonnull align 4 dereferenceable(12) %266, ptr noundef nonnull align 4 dereferenceable(12) %267)
  store { i64, i32 } %268, ptr %77, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %76, ptr align 8 %77, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %78, ptr align 4 %70, i64 4, i1 false), !tbaa.struct !9
  %269 = getelementptr inbounds %class.GFloat, ptr %78, i32 0, i32 0
  %270 = load i32, ptr %269, align 4
  %271 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %76, i32 %270)
  store { i64, i32 } %271, ptr %79, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %75, ptr align 8 %79, i64 12, i1 false)
  %272 = call { i64, i32 } @_ZNK8GVector3plERKS_(ptr noundef nonnull align 4 dereferenceable(12) %265, ptr noundef nonnull align 4 dereferenceable(12) %75)
  store { i64, i32 } %272, ptr %80, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %74, ptr align 8 %80, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %76) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %75) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %81) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %83) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %84, ptr align 4 %11, i64 4, i1 false), !tbaa.struct !9
  %273 = getelementptr inbounds %class.GFloat, ptr %84, i32 0, i32 0
  %274 = load i32, ptr %273, align 4
  %275 = call i32 @_ZNK6GFloatmiES_(ptr noundef nonnull align 4 dereferenceable(4) %12, i32 %274)
  %276 = getelementptr inbounds %class.GFloat, ptr %83, i32 0, i32 0
  store i32 %275, ptr %276, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %85, ptr align 4 %70, i64 4, i1 false), !tbaa.struct !9
  %277 = getelementptr inbounds %class.GFloat, ptr %85, i32 0, i32 0
  %278 = load i32, ptr %277, align 4
  %279 = call i32 @_ZNK6GFloatmlES_(ptr noundef nonnull align 4 dereferenceable(4) %83, i32 %278)
  %280 = getelementptr inbounds %class.GFloat, ptr %82, i32 0, i32 0
  store i32 %279, ptr %280, align 4
  %281 = getelementptr inbounds %class.GFloat, ptr %82, i32 0, i32 0
  %282 = load i32, ptr %281, align 4
  %283 = call i32 @_ZNK6GFloatplES_(ptr noundef nonnull align 4 dereferenceable(4) %11, i32 %282)
  %284 = getelementptr inbounds %class.GFloat, ptr %81, i32 0, i32 0
  store i32 %283, ptr %284, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %83) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %86) #5
  %285 = load ptr, ptr %13, align 8, !tbaa !5
  %286 = call i32 @_ZN8GVector314DistanceSquareERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %74, ptr noundef nonnull align 4 dereferenceable(12) %285)
  %287 = getelementptr inbounds %class.GFloat, ptr %86, i32 0, i32 0
  store i32 %286, ptr %287, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %88) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %89, ptr align 4 %10, i64 4, i1 false), !tbaa.struct !9
  %288 = getelementptr inbounds %class.GFloat, ptr %89, i32 0, i32 0
  %289 = load i32, ptr %288, align 4
  %290 = call i32 @_ZNK6GFloatplES_(ptr noundef nonnull align 4 dereferenceable(4) %81, i32 %289)
  %291 = getelementptr inbounds %class.GFloat, ptr %88, i32 0, i32 0
  store i32 %290, ptr %291, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %91, ptr align 4 %10, i64 4, i1 false), !tbaa.struct !9
  %292 = getelementptr inbounds %class.GFloat, ptr %91, i32 0, i32 0
  %293 = load i32, ptr %292, align 4
  %294 = call i32 @_ZNK6GFloatplES_(ptr noundef nonnull align 4 dereferenceable(4) %81, i32 %293)
  %295 = getelementptr inbounds %class.GFloat, ptr %90, i32 0, i32 0
  store i32 %294, ptr %295, align 4
  %296 = getelementptr inbounds %class.GFloat, ptr %90, i32 0, i32 0
  %297 = load i32, ptr %296, align 4
  %298 = call i32 @_ZNK6GFloatmlES_(ptr noundef nonnull align 4 dereferenceable(4) %88, i32 %297)
  %299 = getelementptr inbounds %class.GFloat, ptr %87, i32 0, i32 0
  store i32 %298, ptr %299, align 4
  %300 = getelementptr inbounds %class.GFloat, ptr %87, i32 0, i32 0
  %301 = load i32, ptr %300, align 4
  %302 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %86, i32 %301)
  call void @llvm.lifetime.end.p0(i64 4, ptr %88) #5
  br i1 %302, label %303, label %377

303:                                              ; preds = %187
  %304 = call i32 @_ZN5GMath7EpsilonEv()
  %305 = getelementptr inbounds %class.GFloat, ptr %92, i32 0, i32 0
  store i32 %304, ptr %305, align 4
  %306 = getelementptr inbounds %class.GFloat, ptr %92, i32 0, i32 0
  %307 = load i32, ptr %306, align 4
  %308 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %86, i32 %307)
  br i1 %308, label %309, label %350

309:                                              ; preds = %303
  call void @llvm.lifetime.start.p0(i64 12, ptr %93) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %94) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %95) #5
  %310 = call i32 @_ZN5GMath3OneEv()
  %311 = getelementptr inbounds %class.GFloat, ptr %96, i32 0, i32 0
  store i32 %310, ptr %311, align 4
  %312 = call i32 @_ZN5GMath4ZeroEv()
  %313 = getelementptr inbounds %class.GFloat, ptr %97, i32 0, i32 0
  store i32 %312, ptr %313, align 4
  %314 = call i32 @_ZN5GMath4ZeroEv()
  %315 = getelementptr inbounds %class.GFloat, ptr %98, i32 0, i32 0
  store i32 %314, ptr %315, align 4
  %316 = getelementptr inbounds %class.GFloat, ptr %96, i32 0, i32 0
  %317 = load i32, ptr %316, align 4
  %318 = getelementptr inbounds %class.GFloat, ptr %97, i32 0, i32 0
  %319 = load i32, ptr %318, align 4
  %320 = getelementptr inbounds %class.GFloat, ptr %98, i32 0, i32 0
  %321 = load i32, ptr %320, align 4
  call void @_ZN8GVector3C2E6GFloatS0_S0_(ptr noundef nonnull align 4 dereferenceable(12) %95, i32 %317, i32 %319, i32 %321)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %100, ptr align 4 %10, i64 4, i1 false), !tbaa.struct !9
  %322 = getelementptr inbounds %class.GFloat, ptr %100, i32 0, i32 0
  %323 = load i32, ptr %322, align 4
  %324 = call i32 @_ZNK6GFloatplES_(ptr noundef nonnull align 4 dereferenceable(4) %81, i32 %323)
  %325 = getelementptr inbounds %class.GFloat, ptr %99, i32 0, i32 0
  store i32 %324, ptr %325, align 4
  %326 = getelementptr inbounds %class.GFloat, ptr %99, i32 0, i32 0
  %327 = load i32, ptr %326, align 4
  %328 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %95, i32 %327)
  store { i64, i32 } %328, ptr %101, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %94, ptr align 8 %101, i64 12, i1 false)
  %329 = call { i64, i32 } @_ZNK8GVector3plERKS_(ptr noundef nonnull align 4 dereferenceable(12) %74, ptr noundef nonnull align 4 dereferenceable(12) %94)
  store { i64, i32 } %329, ptr %102, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %93, ptr align 8 %102, i64 12, i1 false)
  %330 = load ptr, ptr %16, align 8, !tbaa !5
  %331 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8GVector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %330, ptr noundef nonnull align 4 dereferenceable(12) %93)
  call void @llvm.lifetime.end.p0(i64 12, ptr %95) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %94) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %93) #5
  %332 = load ptr, ptr %17, align 8, !tbaa !5
  %333 = icmp ne ptr %332, null
  br i1 %333, label %334, label %349

334:                                              ; preds = %309
  call void @llvm.lifetime.start.p0(i64 12, ptr %103) #5
  %335 = call i32 @_ZN5GMath3OneEv()
  %336 = getelementptr inbounds %class.GFloat, ptr %104, i32 0, i32 0
  store i32 %335, ptr %336, align 4
  %337 = call i32 @_ZN5GMath4ZeroEv()
  %338 = getelementptr inbounds %class.GFloat, ptr %105, i32 0, i32 0
  store i32 %337, ptr %338, align 4
  %339 = call i32 @_ZN5GMath4ZeroEv()
  %340 = getelementptr inbounds %class.GFloat, ptr %106, i32 0, i32 0
  store i32 %339, ptr %340, align 4
  %341 = getelementptr inbounds %class.GFloat, ptr %104, i32 0, i32 0
  %342 = load i32, ptr %341, align 4
  %343 = getelementptr inbounds %class.GFloat, ptr %105, i32 0, i32 0
  %344 = load i32, ptr %343, align 4
  %345 = getelementptr inbounds %class.GFloat, ptr %106, i32 0, i32 0
  %346 = load i32, ptr %345, align 4
  call void @_ZN8GVector3C2E6GFloatS0_S0_(ptr noundef nonnull align 4 dereferenceable(12) %103, i32 %342, i32 %344, i32 %346)
  %347 = load ptr, ptr %17, align 8, !tbaa !5
  %348 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8GVector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %347, ptr noundef nonnull align 4 dereferenceable(12) %103)
  call void @llvm.lifetime.end.p0(i64 12, ptr %103) #5
  br label %349

349:                                              ; preds = %334, %309
  br label %376

350:                                              ; preds = %303
  call void @llvm.lifetime.start.p0(i64 12, ptr %107) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %108) #5
  %351 = load ptr, ptr %13, align 8, !tbaa !5
  %352 = call { i64, i32 } @_ZNK8GVector3miERKS_(ptr noundef nonnull align 4 dereferenceable(12) %351, ptr noundef nonnull align 4 dereferenceable(12) %74)
  store { i64, i32 } %352, ptr %109, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %108, ptr align 8 %109, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %111, ptr align 4 %86, i64 4, i1 false), !tbaa.struct !9
  %353 = getelementptr inbounds %class.GFloat, ptr %111, i32 0, i32 0
  %354 = load i32, ptr %353, align 4
  %355 = call i32 @_ZN5GMath7InvSqrtE6GFloat(i32 %354)
  %356 = getelementptr inbounds %class.GFloat, ptr %110, i32 0, i32 0
  store i32 %355, ptr %356, align 4
  %357 = getelementptr inbounds %class.GFloat, ptr %110, i32 0, i32 0
  %358 = load i32, ptr %357, align 4
  %359 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %108, i32 %358)
  store { i64, i32 } %359, ptr %112, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %107, ptr align 8 %112, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %108) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %113) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %114) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %116, ptr align 4 %10, i64 4, i1 false), !tbaa.struct !9
  %360 = getelementptr inbounds %class.GFloat, ptr %116, i32 0, i32 0
  %361 = load i32, ptr %360, align 4
  %362 = call i32 @_ZNK6GFloatplES_(ptr noundef nonnull align 4 dereferenceable(4) %81, i32 %361)
  %363 = getelementptr inbounds %class.GFloat, ptr %115, i32 0, i32 0
  store i32 %362, ptr %363, align 4
  %364 = getelementptr inbounds %class.GFloat, ptr %115, i32 0, i32 0
  %365 = load i32, ptr %364, align 4
  %366 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %107, i32 %365)
  store { i64, i32 } %366, ptr %117, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %114, ptr align 8 %117, i64 12, i1 false)
  %367 = call { i64, i32 } @_ZNK8GVector3plERKS_(ptr noundef nonnull align 4 dereferenceable(12) %74, ptr noundef nonnull align 4 dereferenceable(12) %114)
  store { i64, i32 } %367, ptr %118, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %113, ptr align 8 %118, i64 12, i1 false)
  %368 = load ptr, ptr %16, align 8, !tbaa !5
  %369 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8GVector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %368, ptr noundef nonnull align 4 dereferenceable(12) %113)
  call void @llvm.lifetime.end.p0(i64 12, ptr %114) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %113) #5
  %370 = load ptr, ptr %17, align 8, !tbaa !5
  %371 = icmp ne ptr %370, null
  br i1 %371, label %372, label %375

372:                                              ; preds = %350
  %373 = load ptr, ptr %17, align 8, !tbaa !5
  %374 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8GVector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %373, ptr noundef nonnull align 4 dereferenceable(12) %107)
  br label %375

375:                                              ; preds = %372, %350
  call void @llvm.lifetime.end.p0(i64 12, ptr %107) #5
  br label %376

376:                                              ; preds = %375, %349
  store i1 true, ptr %9, align 1
  store i32 1, ptr %26, align 4
  br label %378

377:                                              ; preds = %187
  store i32 0, ptr %26, align 4
  br label %378

378:                                              ; preds = %377, %376
  call void @llvm.lifetime.end.p0(i64 4, ptr %86) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %81) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %74) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %59) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %37) #5
  %379 = load i32, ptr %26, align 4
  switch i32 %379, label %384 [
    i32 0, label %380
  ]

380:                                              ; preds = %378
  br label %381

381:                                              ; preds = %380
  br label %382

382:                                              ; preds = %381
  br label %383

383:                                              ; preds = %382
  store i1 false, ptr %9, align 1
  store i32 1, ptr %26, align 4
  br label %384

384:                                              ; preds = %383, %378, %177, %159, %135
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  %385 = load i1, ptr %9, align 1
  ret i1 %385
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN5GMath3MaxE6GFloatS0_(i32, i32) #1 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)) #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN5GMath4SqrtE6GFloat(i32) #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN5GMath5ClampE6GFloatS0_S0_(i32, i32, i32) #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #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 = { 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}


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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN5GMath7InvSqrtE6GFloat(i32) local_unnamed_addr #1 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 #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN17GCollision_Sphere14Sphere_CapsuleERK8GVector36GFloatS2_S2_S3_S3_RS0_PS0_(ptr noundef nonnull align 4 dereferenceable(12) %0, i32 %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %3, i32 %4, i32 %5, ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef %7) local_unnamed_addr #2 align 2 {
  %9 = alloca %class.GFloat, align 4
  %10 = alloca %class.GFloat, align 4
  %11 = alloca %class.GFloat, align 4
  %12 = alloca %class.GFloat, align 4
  %13 = alloca %class.GFloat, align 4
  %14 = alloca %class.GVector3, align 8
  %15 = alloca %class.GFloat, align 4
  %16 = alloca %class.GFloat, align 4
  %17 = alloca %class.GVector3, align 8
  %18 = alloca %class.GFloat, align 4
  %19 = alloca %class.GFloat, align 4
  %20 = alloca %class.GFloat, align 4
  %21 = alloca %class.GFloat, align 4
  %22 = alloca %class.GVector3, align 8
  %23 = alloca %class.GVector3, align 8
  %24 = alloca %class.GVector3, align 8
  %25 = alloca %class.GFloat, align 4
  %26 = alloca %class.GVector3, align 8
  %27 = alloca %class.GVector3, align 8
  %28 = alloca %class.GVector3, align 8
  %29 = alloca %class.GFloat, align 4
  %30 = alloca %class.GFloat, align 4
  %31 = alloca %class.GFloat, align 4
  %32 = alloca %class.GFloat, align 4
  %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 8
  %38 = alloca %class.GVector3, align 8
  %39 = alloca %class.GVector3, align 8
  %40 = alloca %class.GVector3, align 8
  store i32 %4, ptr %9, align 4
  store i32 %5, ptr %10, align 4
  %41 = call i32 @_ZNK6GFloatmiES_(ptr noundef nonnull align 4 dereferenceable(4) %10, i32 %4)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4
  %42 = call i32 @_ZN8GVector314DistanceSquareERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %3)
  store i32 %42, ptr %11, align 4
  %43 = call i32 @_ZN5GMath7EpsilonEv()
  %44 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %11, i32 %43)
  br i1 %44, label %45, label %48

45:                                               ; preds = %8
  %.sroa.0104.0.copyload = load i32, ptr %10, align 4, !tbaa !5
  %46 = call i32 @_ZN5GMath3MaxE6GFloatS0_(i32 %4, i32 %.sroa.0104.0.copyload)
  %47 = call noundef zeroext i1 @_ZN17GCollision_Sphere13Sphere_SphereERK8GVector36GFloatS2_S3_RS0_PS0_b(ptr noundef nonnull align 4 dereferenceable(12) %0, i32 %1, ptr noundef nonnull align 4 dereferenceable(12) %3, i32 %46, ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef %7, i1 noundef zeroext false)
  br label %120

48:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4
  %.sroa.0103.0.copyload = load i32, ptr %11, align 4, !tbaa !5
  %49 = call i32 @_ZNK6GFloatplES_(ptr noundef nonnull align 4 dereferenceable(4) %9, i32 %.sroa.0103.0.copyload)
  store i32 %49, ptr %12, align 4
  %.sroa.0102.0.copyload = load i32, ptr %10, align 4, !tbaa !5
  %50 = call noundef zeroext i1 @_ZNK6GFloatleES_(ptr noundef nonnull align 4 dereferenceable(4) %12, i32 %.sroa.0102.0.copyload)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4
  br i1 %50, label %51, label %53

51:                                               ; preds = %48
  %.sroa.0100.0.copyload = load i32, ptr %10, align 4, !tbaa !5
  %52 = call noundef zeroext i1 @_ZN17GCollision_Sphere13Sphere_SphereERK8GVector36GFloatS2_S3_RS0_PS0_b(ptr noundef nonnull align 4 dereferenceable(12) %0, i32 %1, ptr noundef nonnull align 4 dereferenceable(12) %3, i32 %.sroa.0100.0.copyload, ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef %7, i1 noundef zeroext false)
  br label %120

53:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #4
  %.sroa.099.0.copyload = load i32, ptr %11, align 4, !tbaa !5
  %54 = call i32 @_ZNK6GFloatplES_(ptr noundef nonnull align 4 dereferenceable(4) %10, i32 %.sroa.099.0.copyload)
  store i32 %54, ptr %13, align 4
  %.sroa.098.0.copyload = load i32, ptr %9, align 4, !tbaa !5
  %55 = call noundef zeroext i1 @_ZNK6GFloatleES_(ptr noundef nonnull align 4 dereferenceable(4) %13, i32 %.sroa.098.0.copyload)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #4
  br i1 %55, label %56, label %58

56:                                               ; preds = %53
  %.sroa.096.0.copyload = load i32, ptr %9, align 4, !tbaa !5
  %57 = call noundef zeroext i1 @_ZN17GCollision_Sphere13Sphere_SphereERK8GVector36GFloatS2_S3_RS0_PS0_b(ptr noundef nonnull align 4 dereferenceable(12) %0, i32 %1, ptr noundef nonnull align 4 dereferenceable(12) %2, i32 %.sroa.096.0.copyload, ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef %7, i1 noundef zeroext false)
  br label %120

58:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %14) #4
  %59 = call { i64, i32 } @_ZNK8GVector3miERKS_(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %2)
  %.fca.0.extract92 = extractvalue { i64, i32 } %59, 0
  %.fca.1.extract93 = extractvalue { i64, i32 } %59, 1
  store i64 %.fca.0.extract92, ptr %14, align 8
  %.sroa.295.0..sroa_idx = getelementptr inbounds i8, ptr %14, i64 8
  store i32 %.fca.1.extract93, ptr %.sroa.295.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %17) #4
  %60 = call { i64, i32 } @_ZNK8GVector3miERKS_(ptr noundef nonnull align 4 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(12) %2)
  %.fca.0.extract88 = extractvalue { i64, i32 } %60, 0
  %.fca.1.extract89 = extractvalue { i64, i32 } %60, 1
  store i64 %.fca.0.extract88, ptr %17, align 8
  %.sroa.291.0..sroa_idx = getelementptr inbounds i8, ptr %17, i64 8
  store i32 %.fca.1.extract89, ptr %.sroa.291.0..sroa_idx, align 8
  %61 = call i32 @_ZN8GVector310DotProductERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %14)
  store i32 %61, ptr %16, align 4
  %.sroa.087.0.copyload = load i32, ptr %11, align 4, !tbaa !5
  %62 = call i32 @_ZNK6GFloatdvES_(ptr noundef nonnull align 4 dereferenceable(4) %16, i32 %.sroa.087.0.copyload)
  store i32 %62, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #4
  %.sroa.084.0.copyload = load i32, ptr %11, align 4, !tbaa !5
  %63 = call i32 @_ZN5GMath7InvSqrtE6GFloat(i32 %.sroa.084.0.copyload)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #4
  %.sroa.083.0.copyload = load i32, ptr %9, align 4, !tbaa !5
  %64 = call i32 @_ZNK6GFloatmiES_(ptr noundef nonnull align 4 dereferenceable(4) %10, i32 %.sroa.083.0.copyload)
  store i32 %64, ptr %19, align 4
  %65 = call i32 @_ZNK6GFloatmlES_(ptr noundef nonnull align 4 dereferenceable(4) %19, i32 %63)
  store i32 %65, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #4
  %66 = call i32 @_ZN5GMath3OneEv()
  store i32 %66, ptr %20, align 4
  %67 = call i32 @_ZNK6GFloatmlES_(ptr noundef nonnull align 4 dereferenceable(4) %18, i32 %65)
  %68 = call i32 @_ZNK6GFloatmiES_(ptr noundef nonnull align 4 dereferenceable(4) %20, i32 %67)
  %69 = call i32 @_ZN5GMath4SqrtE6GFloat(i32 %68)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #4
  %70 = call i32 @_ZNK6GFloatdvES_(ptr noundef nonnull align 4 dereferenceable(4) %18, i32 %69)
  store i32 %70, ptr %21, align 4
  %71 = call i32 @_ZNK6GFloatmlES_(ptr noundef nonnull align 4 dereferenceable(4) %21, i32 %63)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %22) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %24) #4
  %72 = call { i64, i32 } @_ZNK8GVector3miERKS_(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %2)
  %.fca.0.extract71 = extractvalue { i64, i32 } %72, 0
  %.fca.1.extract72 = extractvalue { i64, i32 } %72, 1
  store i64 %.fca.0.extract71, ptr %24, align 8
  %.sroa.274.0..sroa_idx = getelementptr inbounds i8, ptr %24, i64 8
  store i32 %.fca.1.extract72, ptr %.sroa.274.0..sroa_idx, align 8
  %73 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %24, i32 %62)
  %.fca.0.extract66 = extractvalue { i64, i32 } %73, 0
  %.fca.1.extract67 = extractvalue { i64, i32 } %73, 1
  store i64 %.fca.0.extract66, ptr %23, align 8
  %.sroa.269.0..sroa_idx = getelementptr inbounds i8, ptr %23, i64 8
  store i32 %.fca.1.extract67, ptr %.sroa.269.0..sroa_idx, align 8
  %74 = call { i64, i32 } @_ZNK8GVector3plERKS_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %23)
  %.fca.0.extract62 = extractvalue { i64, i32 } %74, 0
  %.fca.1.extract63 = extractvalue { i64, i32 } %74, 1
  store i64 %.fca.0.extract62, ptr %22, align 8
  %.sroa.265.0..sroa_idx = getelementptr inbounds i8, ptr %22, i64 8
  store i32 %.fca.1.extract63, ptr %.sroa.265.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #4
  %75 = call i32 @_ZN8GVector38DistanceERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %22, ptr noundef nonnull align 4 dereferenceable(12) %0)
  store i32 %75, ptr %25, align 4
  %76 = call i32 @_ZNK6GFloatmlES_(ptr noundef nonnull align 4 dereferenceable(4) %25, i32 %71)
  %77 = call i32 @_ZNK6GFloatplES_(ptr noundef nonnull align 4 dereferenceable(4) %15, i32 %76)
  %78 = call i32 @_ZN5GMath4ZeroEv()
  %79 = call i32 @_ZN5GMath3OneEv()
  %80 = call i32 @_ZN5GMath5ClampE6GFloatS0_S0_(i32 %77, i32 %78, i32 %79)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %26) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %27) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %28) #4
  %81 = call { i64, i32 } @_ZNK8GVector3miERKS_(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %2)
  %.fca.0.extract50 = extractvalue { i64, i32 } %81, 0
  %.fca.1.extract51 = extractvalue { i64, i32 } %81, 1
  store i64 %.fca.0.extract50, ptr %28, align 8
  %.sroa.253.0..sroa_idx = getelementptr inbounds i8, ptr %28, i64 8
  store i32 %.fca.1.extract51, ptr %.sroa.253.0..sroa_idx, align 8
  %82 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %28, i32 %80)
  %.fca.0.extract45 = extractvalue { i64, i32 } %82, 0
  %.fca.1.extract46 = extractvalue { i64, i32 } %82, 1
  store i64 %.fca.0.extract45, ptr %27, align 8
  %.sroa.248.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 8
  store i32 %.fca.1.extract46, ptr %.sroa.248.0..sroa_idx, align 8
  %83 = call { i64, i32 } @_ZNK8GVector3plERKS_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %27)
  %.fca.0.extract41 = extractvalue { i64, i32 } %83, 0
  %.fca.1.extract42 = extractvalue { i64, i32 } %83, 1
  store i64 %.fca.0.extract41, ptr %26, align 8
  %.sroa.244.0..sroa_idx = getelementptr inbounds i8, ptr %26, i64 8
  store i32 %.fca.1.extract42, ptr %.sroa.244.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %27) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %30) #4
  %.sroa.039.0.copyload = load i32, ptr %9, align 4, !tbaa !5
  %84 = call i32 @_ZNK6GFloatmiES_(ptr noundef nonnull align 4 dereferenceable(4) %10, i32 %.sroa.039.0.copyload)
  store i32 %84, ptr %30, align 4
  %85 = call i32 @_ZNK6GFloatmlES_(ptr noundef nonnull align 4 dereferenceable(4) %30, i32 %80)
  %86 = call i32 @_ZNK6GFloatplES_(ptr noundef nonnull align 4 dereferenceable(4) %9, i32 %85)
  store i32 %86, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #4
  %87 = call i32 @_ZN8GVector314DistanceSquareERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %26, ptr noundef nonnull align 4 dereferenceable(12) %0)
  store i32 %87, ptr %31, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %32) #4
  %88 = call i32 @_ZNK6GFloatplES_(ptr noundef nonnull align 4 dereferenceable(4) %29, i32 %1)
  store i32 %88, ptr %32, align 4
  %89 = call i32 @_ZNK6GFloatplES_(ptr noundef nonnull align 4 dereferenceable(4) %29, i32 %1)
  %90 = call i32 @_ZNK6GFloatmlES_(ptr noundef nonnull align 4 dereferenceable(4) %32, i32 %89)
  %91 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %31, i32 %90)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %32) #4
  br i1 %91, label %92, label %119

92:                                               ; preds = %58
  %93 = call i32 @_ZN5GMath7EpsilonEv()
  %94 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %31, i32 %93)
  br i1 %94, label %95, label %108

95:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %33) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %34) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %35) #4
  %96 = call i32 @_ZN5GMath3OneEv()
  %97 = call i32 @_ZN5GMath4ZeroEv()
  %98 = call i32 @_ZN5GMath4ZeroEv()
  call void @_ZN8GVector3C2E6GFloatS0_S0_(ptr noundef nonnull align 4 dereferenceable(12) %35, i32 %96, i32 %97, i32 %98)
  %99 = call i32 @_ZNK6GFloatplES_(ptr noundef nonnull align 4 dereferenceable(4) %29, i32 %1)
  %100 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %35, i32 %99)
  %.fca.0.extract24 = extractvalue { i64, i32 } %100, 0
  %.fca.1.extract25 = extractvalue { i64, i32 } %100, 1
  store i64 %.fca.0.extract24, ptr %34, align 8
  %.sroa.227.0..sroa_idx = getelementptr inbounds i8, ptr %34, i64 8
  store i32 %.fca.1.extract25, ptr %.sroa.227.0..sroa_idx, align 8
  %101 = call { i64, i32 } @_ZNK8GVector3plERKS_(ptr noundef nonnull align 4 dereferenceable(12) %26, ptr noundef nonnull align 4 dereferenceable(12) %34)
  %.fca.0.extract20 = extractvalue { i64, i32 } %101, 0
  %.fca.1.extract21 = extractvalue { i64, i32 } %101, 1
  store i64 %.fca.0.extract20, ptr %33, align 8
  %.sroa.223.0..sroa_idx = getelementptr inbounds i8, ptr %33, i64 8
  store i32 %.fca.1.extract21, ptr %.sroa.223.0..sroa_idx, align 8
  %102 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8GVector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %33)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %35) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %34) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %33) #4
  %.not153 = icmp eq ptr %7, null
  br i1 %.not153, label %119, label %103

103:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %36) #4
  %104 = call i32 @_ZN5GMath3OneEv()
  %105 = call i32 @_ZN5GMath4ZeroEv()
  %106 = call i32 @_ZN5GMath4ZeroEv()
  call void @_ZN8GVector3C2E6GFloatS0_S0_(ptr noundef nonnull align 4 dereferenceable(12) %36, i32 %104, i32 %105, i32 %106)
  %107 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8GVector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %36)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %36) #4
  br label %119

108:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %37) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %38) #4
  %109 = call { i64, i32 } @_ZNK8GVector3miERKS_(ptr noundef nonnull align 4 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(12) %26)
  %.fca.0.extract13 = extractvalue { i64, i32 } %109, 0
  %.fca.1.extract14 = extractvalue { i64, i32 } %109, 1
  store i64 %.fca.0.extract13, ptr %38, align 8
  %.sroa.216.0..sroa_idx = getelementptr inbounds i8, ptr %38, i64 8
  store i32 %.fca.1.extract14, ptr %.sroa.216.0..sroa_idx, align 8
  %.sroa.011.0.copyload = load i32, ptr %31, align 4, !tbaa !5
  %110 = call i32 @_ZN5GMath7InvSqrtE6GFloat(i32 %.sroa.011.0.copyload)
  %111 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %38, i32 %110)
  %.fca.0.extract7 = extractvalue { i64, i32 } %111, 0
  %.fca.1.extract8 = extractvalue { i64, i32 } %111, 1
  store i64 %.fca.0.extract7, ptr %37, align 8
  %.sroa.210.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 8
  store i32 %.fca.1.extract8, ptr %.sroa.210.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %38) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %39) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %40) #4
  %112 = call i32 @_ZNK6GFloatplES_(ptr noundef nonnull align 4 dereferenceable(4) %29, i32 %1)
  %113 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %37, i32 %112)
  %.fca.0.extract1 = extractvalue { i64, i32 } %113, 0
  %.fca.1.extract2 = extractvalue { i64, i32 } %113, 1
  store i64 %.fca.0.extract1, ptr %40, align 8
  %.sroa.24.0..sroa_idx = getelementptr inbounds i8, ptr %40, i64 8
  store i32 %.fca.1.extract2, ptr %.sroa.24.0..sroa_idx, align 8
  %114 = call { i64, i32 } @_ZNK8GVector3plERKS_(ptr noundef nonnull align 4 dereferenceable(12) %26, ptr noundef nonnull align 4 dereferenceable(12) %40)
  %.fca.0.extract = extractvalue { i64, i32 } %114, 0
  %.fca.1.extract = extractvalue { i64, i32 } %114, 1
  store i64 %.fca.0.extract, ptr %39, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %39, i64 8
  store i32 %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  %115 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8GVector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %39)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %40) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %39) #4
  %.not = icmp eq ptr %7, null
  br i1 %.not, label %118, label %116

116:                                              ; preds = %108
  %117 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8GVector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %37)
  br label %118

118:                                              ; preds = %116, %108
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %37) #4
  br label %119

119:                                              ; preds = %58, %118, %103, %95
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %26) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #4
  br label %120

120:                                              ; preds = %119, %56, %51, %45
  %.1 = phi i1 [ %47, %45 ], [ %52, %51 ], [ %57, %56 ], [ %91, %119 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4
  ret i1 %.1
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN5GMath3MaxE6GFloatS0_(i32, i32) local_unnamed_addr #1 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 #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN5GMath4SqrtE6GFloat(i32) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN5GMath5ClampE6GFloatS0_S0_(i32, i32, i32) local_unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 = { 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 #4 = { 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"}


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