; LLVM IR from devlinzhou/deterministic_physics :: UnrealDemo/Source/UnrealDemo/gphysics/src/utils (glacier_debug_draw)

; 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.GColor = 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: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

; 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)) #2 align 2

; 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)) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12IGlacierDraw9DrawArrowERK8GVector3S2_6GFloat6GColor(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %2, i32 %3, i32 %4) unnamed_addr #4 align 2 {
  %6 = alloca %class.GFloat, align 4
  %7 = alloca %class.GColor, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %class.GVector3, align 4
  %12 = alloca %class.GVector3, align 4
  %13 = alloca %class.GFloat, align 4
  %14 = alloca { i64, i32 }, align 8
  %15 = alloca { i64, i32 }, align 8
  %16 = alloca %class.GColor, align 4
  %17 = alloca %class.GVector3, align 4
  %18 = alloca %class.GVector3, align 4
  %19 = alloca %class.GFloat, align 4
  %20 = alloca { i64, i32 }, align 8
  %21 = alloca { i64, i32 }, align 8
  %22 = alloca %class.GVector3, align 4
  %23 = alloca { i64, i32 }, align 8
  %24 = alloca %class.GFloat, align 4
  %25 = alloca %class.GVector3, align 4
  %26 = alloca { i64, i32 }, align 8
  %27 = alloca %class.GFloat, align 4
  %28 = alloca %class.GVector3, align 4
  %29 = alloca { i64, i32 }, align 8
  %30 = alloca %class.GVector3, align 4
  %31 = alloca %class.GVector3, align 4
  %32 = alloca { i64, i32 }, align 8
  %33 = alloca { i64, i32 }, align 8
  %34 = alloca %class.GVector3, align 4
  %35 = alloca %class.GVector3, align 4
  %36 = alloca { i64, i32 }, align 8
  %37 = alloca { i64, i32 }, align 8
  %38 = alloca %class.GFloat, align 4
  %39 = alloca %class.GFloat, align 4
  %40 = alloca %class.GColor, align 4
  %41 = alloca %class.GVector3, align 4
  %42 = alloca %class.GVector3, align 4
  %43 = alloca %class.GVector3, align 4
  %44 = alloca %class.GFloat, align 4
  %45 = alloca { i64, i32 }, align 8
  %46 = alloca %class.GFloat, align 4
  %47 = alloca { i64, i32 }, align 8
  %48 = alloca { i64, i32 }, align 8
  %49 = alloca %class.GVector3, align 4
  %50 = alloca %class.GVector3, align 4
  %51 = alloca %class.GVector3, align 4
  %52 = alloca %class.GFloat, align 4
  %53 = alloca { i64, i32 }, align 8
  %54 = alloca %class.GFloat, align 4
  %55 = alloca { i64, i32 }, align 8
  %56 = alloca { i64, i32 }, align 8
  %57 = alloca %class.GColor, align 4
  %58 = alloca %class.GVector3, align 4
  %59 = alloca %class.GVector3, align 4
  %60 = alloca %class.GVector3, align 4
  %61 = alloca %class.GFloat, 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.GColor, align 4
  %67 = alloca %class.GVector3, align 4
  %68 = alloca %class.GVector3, align 4
  %69 = alloca %class.GVector3, align 4
  %70 = alloca %class.GFloat, align 4
  %71 = alloca { i64, i32 }, align 8
  %72 = alloca %class.GFloat, align 4
  %73 = alloca { i64, i32 }, align 8
  %74 = alloca { i64, i32 }, align 8
  %75 = alloca %class.GColor, align 4
  %76 = alloca %class.GVector3, align 4
  %77 = alloca %class.GVector3, align 4
  %78 = alloca %class.GVector3, align 4
  %79 = alloca %class.GFloat, align 4
  %80 = alloca { i64, i32 }, align 8
  %81 = alloca %class.GFloat, align 4
  %82 = alloca { i64, i32 }, align 8
  %83 = alloca { i64, i32 }, align 8
  %84 = alloca %class.GColor, align 4
  %85 = getelementptr inbounds %class.GFloat, ptr %6, i32 0, i32 0
  store i32 %3, ptr %85, align 4
  %86 = getelementptr inbounds %class.GColor, ptr %7, i32 0, i32 0
  store i32 %4, ptr %86, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  %87 = load ptr, ptr %8, align 8
  %88 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #5
  %89 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #5
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %6, i64 4, i1 false), !tbaa.struct !9
  %91 = getelementptr inbounds %class.GFloat, ptr %13, i32 0, i32 0
  %92 = load i32, ptr %91, align 4
  %93 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %90, i32 %92)
  store { i64, i32 } %93, ptr %14, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 8 %14, i64 12, i1 false)
  %94 = call { i64, i32 } @_ZNK8GVector3plERKS_(ptr noundef nonnull align 4 dereferenceable(12) %89, ptr noundef nonnull align 4 dereferenceable(12) %12)
  store { i64, i32 } %94, ptr %15, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 8 %15, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %7, i64 4, i1 false), !tbaa.struct !9
  %95 = getelementptr inbounds %class.GColor, ptr %16, i32 0, i32 0
  %96 = load i32, ptr %95, align 4
  %97 = load ptr, ptr %87, align 8, !tbaa !12
  %98 = getelementptr inbounds ptr, ptr %97, i64 0
  %99 = load ptr, ptr %98, align 8
  call void %99(ptr noundef nonnull align 8 dereferenceable(8) %87, ptr noundef nonnull align 4 dereferenceable(12) %88, ptr noundef nonnull align 4 dereferenceable(12) %11, i32 %96)
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %17) #5
  %100 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #5
  %101 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %6, i64 4, i1 false), !tbaa.struct !9
  %102 = getelementptr inbounds %class.GFloat, ptr %19, i32 0, i32 0
  %103 = load i32, ptr %102, align 4
  %104 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %101, i32 %103)
  store { i64, i32 } %104, ptr %20, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 8 %20, i64 12, i1 false)
  %105 = call { i64, i32 } @_ZNK8GVector3plERKS_(ptr noundef nonnull align 4 dereferenceable(12) %100, ptr noundef nonnull align 4 dereferenceable(12) %18)
  store { i64, i32 } %105, ptr %21, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 8 %21, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %22) #5
  %106 = call { i64, i32 } @_ZN8GVector35UnitZEv()
  store { i64, i32 } %106, ptr %23, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 8 %23, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %25) #5
  %107 = load ptr, ptr %10, align 8, !tbaa !5
  %108 = call { i64, i32 } @_ZN8GVector312CrossProductERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %107, ptr noundef nonnull align 4 dereferenceable(12) %22)
  store { i64, i32 } %108, ptr %26, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 8 %26, i64 12, i1 false)
  %109 = call i32 @_ZNK8GVector310SizeSquareEv(ptr noundef nonnull align 4 dereferenceable(12) %25)
  %110 = getelementptr inbounds %class.GFloat, ptr %24, i32 0, i32 0
  store i32 %109, ptr %110, align 4
  %111 = call i32 @_ZN5GMath10Inv_100000Ev()
  %112 = getelementptr inbounds %class.GFloat, ptr %27, i32 0, i32 0
  store i32 %111, ptr %112, align 4
  %113 = getelementptr inbounds %class.GFloat, ptr %27, i32 0, i32 0
  %114 = load i32, ptr %113, align 4
  %115 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %24, i32 %114)
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br i1 %115, label %116, label %119

116:                                              ; preds = %5
  call void @llvm.lifetime.start.p0(i64 12, ptr %28) #5
  %117 = call { i64, i32 } @_ZN8GVector35UnitXEv()
  store { i64, i32 } %117, ptr %29, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 8 %29, i64 12, i1 false)
  %118 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8GVector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %22, ptr noundef nonnull align 4 dereferenceable(12) %28)
  call void @llvm.lifetime.end.p0(i64 12, ptr %28) #5
  br label %119

119:                                              ; preds = %116, %5
  call void @llvm.lifetime.start.p0(i64 12, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %31) #5
  %120 = load ptr, ptr %10, align 8, !tbaa !5
  %121 = call { i64, i32 } @_ZN8GVector312CrossProductERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %120, ptr noundef nonnull align 4 dereferenceable(12) %22)
  store { i64, i32 } %121, ptr %32, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 8 %32, i64 12, i1 false)
  %122 = call { i64, i32 } @_ZNK8GVector312GetNormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %31)
  store { i64, i32 } %122, ptr %33, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 8 %33, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %35) #5
  %123 = load ptr, ptr %10, align 8, !tbaa !5
  %124 = call { i64, i32 } @_ZN8GVector312CrossProductERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %30, ptr noundef nonnull align 4 dereferenceable(12) %123)
  store { i64, i32 } %124, ptr %36, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 8 %36, i64 12, i1 false)
  %125 = call { i64, i32 } @_ZNK8GVector312GetNormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %35)
  store { i64, i32 } %125, ptr %37, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 8 %37, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #5
  %126 = call i32 @_ZN5GMath7Makef32Eijj(i32 noundef 0, i32 noundef 13, i32 noundef 100)
  %127 = getelementptr inbounds %class.GFloat, ptr %38, i32 0, i32 0
  store i32 %126, ptr %127, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #5
  %128 = call i32 @_ZN5GMath7Makef32Eijj(i32 noundef 0, i32 noundef 25, i32 noundef 100)
  %129 = getelementptr inbounds %class.GFloat, ptr %39, i32 0, i32 0
  store i32 %128, ptr %129, align 4
  %130 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 4 %7, i64 4, i1 false), !tbaa.struct !9
  %131 = getelementptr inbounds %class.GColor, ptr %40, i32 0, i32 0
  %132 = load i32, ptr %131, align 4
  %133 = load ptr, ptr %87, align 8, !tbaa !12
  %134 = getelementptr inbounds ptr, ptr %133, i64 0
  %135 = load ptr, ptr %134, align 8
  call void %135(ptr noundef nonnull align 8 dereferenceable(8) %87, ptr noundef nonnull align 4 dereferenceable(12) %130, ptr noundef nonnull align 4 dereferenceable(12) %17, i32 %132)
  call void @llvm.lifetime.start.p0(i64 12, ptr %41) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %42) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %43) #5
  %136 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 4 %6, i64 4, i1 false), !tbaa.struct !9
  %137 = getelementptr inbounds %class.GFloat, ptr %44, i32 0, i32 0
  %138 = load i32, ptr %137, align 4
  %139 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %136, i32 %138)
  store { i64, i32 } %139, ptr %45, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 8 %45, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %46, ptr align 4 %39, i64 4, i1 false), !tbaa.struct !9
  %140 = getelementptr inbounds %class.GFloat, ptr %46, i32 0, i32 0
  %141 = load i32, ptr %140, align 4
  %142 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %43, i32 %141)
  store { i64, i32 } %142, ptr %47, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 8 %47, i64 12, i1 false)
  %143 = call { i64, i32 } @_ZNK8GVector3miERKS_(ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %42)
  store { i64, i32 } %143, ptr %48, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 8 %48, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %42) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %49) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %50) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %51) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %52, ptr align 4 %6, i64 4, i1 false), !tbaa.struct !9
  %144 = getelementptr inbounds %class.GFloat, ptr %52, i32 0, i32 0
  %145 = load i32, ptr %144, align 4
  %146 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %30, i32 %145)
  store { i64, i32 } %146, ptr %53, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 8 %53, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 4 %38, i64 4, i1 false), !tbaa.struct !9
  %147 = getelementptr inbounds %class.GFloat, ptr %54, i32 0, i32 0
  %148 = load i32, ptr %147, align 4
  %149 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %51, i32 %148)
  store { i64, i32 } %149, ptr %55, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 8 %55, i64 12, i1 false)
  %150 = call { i64, i32 } @_ZNK8GVector3plERKS_(ptr noundef nonnull align 4 dereferenceable(12) %41, ptr noundef nonnull align 4 dereferenceable(12) %50)
  store { i64, i32 } %150, ptr %56, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %49, ptr align 8 %56, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %57, ptr align 4 %7, i64 4, i1 false), !tbaa.struct !9
  %151 = getelementptr inbounds %class.GColor, ptr %57, i32 0, i32 0
  %152 = load i32, ptr %151, align 4
  %153 = load ptr, ptr %87, align 8, !tbaa !12
  %154 = getelementptr inbounds ptr, ptr %153, i64 0
  %155 = load ptr, ptr %154, align 8
  call void %155(ptr noundef nonnull align 8 dereferenceable(8) %87, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %49, i32 %152)
  call void @llvm.lifetime.end.p0(i64 12, ptr %51) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %50) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %49) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %58) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %59) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %60) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %61, ptr align 4 %6, i64 4, i1 false), !tbaa.struct !9
  %156 = getelementptr inbounds %class.GFloat, ptr %61, i32 0, i32 0
  %157 = load i32, ptr %156, align 4
  %158 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %30, i32 %157)
  store { i64, i32 } %158, ptr %62, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %60, ptr align 8 %62, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %63, ptr align 4 %38, i64 4, i1 false), !tbaa.struct !9
  %159 = getelementptr inbounds %class.GFloat, ptr %63, i32 0, i32 0
  %160 = load i32, ptr %159, align 4
  %161 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %60, i32 %160)
  store { i64, i32 } %161, ptr %64, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %59, ptr align 8 %64, i64 12, i1 false)
  %162 = call { i64, i32 } @_ZNK8GVector3miERKS_(ptr noundef nonnull align 4 dereferenceable(12) %41, ptr noundef nonnull align 4 dereferenceable(12) %59)
  store { i64, i32 } %162, ptr %65, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %58, ptr align 8 %65, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %66, ptr align 4 %7, i64 4, i1 false), !tbaa.struct !9
  %163 = getelementptr inbounds %class.GColor, ptr %66, i32 0, i32 0
  %164 = load i32, ptr %163, align 4
  %165 = load ptr, ptr %87, align 8, !tbaa !12
  %166 = getelementptr inbounds ptr, ptr %165, i64 0
  %167 = load ptr, ptr %166, align 8
  call void %167(ptr noundef nonnull align 8 dereferenceable(8) %87, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %58, i32 %164)
  call void @llvm.lifetime.end.p0(i64 12, ptr %60) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %59) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %58) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %67) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %68) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %69) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %70, ptr align 4 %6, i64 4, i1 false), !tbaa.struct !9
  %168 = getelementptr inbounds %class.GFloat, ptr %70, i32 0, i32 0
  %169 = load i32, ptr %168, align 4
  %170 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %34, i32 %169)
  store { i64, i32 } %170, ptr %71, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %69, ptr align 8 %71, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %72, ptr align 4 %38, i64 4, i1 false), !tbaa.struct !9
  %171 = getelementptr inbounds %class.GFloat, ptr %72, i32 0, i32 0
  %172 = load i32, ptr %171, align 4
  %173 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %69, i32 %172)
  store { i64, i32 } %173, ptr %73, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %68, ptr align 8 %73, i64 12, i1 false)
  %174 = call { i64, i32 } @_ZNK8GVector3plERKS_(ptr noundef nonnull align 4 dereferenceable(12) %41, ptr noundef nonnull align 4 dereferenceable(12) %68)
  store { i64, i32 } %174, ptr %74, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %67, ptr align 8 %74, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %75, ptr align 4 %7, i64 4, i1 false), !tbaa.struct !9
  %175 = getelementptr inbounds %class.GColor, ptr %75, i32 0, i32 0
  %176 = load i32, ptr %175, align 4
  %177 = load ptr, ptr %87, align 8, !tbaa !12
  %178 = getelementptr inbounds ptr, ptr %177, i64 0
  %179 = load ptr, ptr %178, align 8
  call void %179(ptr noundef nonnull align 8 dereferenceable(8) %87, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %67, i32 %176)
  call void @llvm.lifetime.end.p0(i64 12, ptr %69) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %68) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %67) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %76) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %77) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %78) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %79, ptr align 4 %6, i64 4, i1 false), !tbaa.struct !9
  %180 = getelementptr inbounds %class.GFloat, ptr %79, i32 0, i32 0
  %181 = load i32, ptr %180, align 4
  %182 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %34, i32 %181)
  store { i64, i32 } %182, ptr %80, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %78, ptr align 8 %80, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %81, ptr align 4 %38, i64 4, i1 false), !tbaa.struct !9
  %183 = getelementptr inbounds %class.GFloat, ptr %81, i32 0, i32 0
  %184 = load i32, ptr %183, align 4
  %185 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %78, i32 %184)
  store { i64, i32 } %185, ptr %82, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %77, ptr align 8 %82, i64 12, i1 false)
  %186 = call { i64, i32 } @_ZNK8GVector3miERKS_(ptr noundef nonnull align 4 dereferenceable(12) %41, ptr noundef nonnull align 4 dereferenceable(12) %77)
  store { i64, i32 } %186, ptr %83, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %76, ptr align 8 %83, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %84, ptr align 4 %7, i64 4, i1 false), !tbaa.struct !9
  %187 = getelementptr inbounds %class.GColor, ptr %84, i32 0, i32 0
  %188 = load i32, ptr %187, align 4
  %189 = load ptr, ptr %87, align 8, !tbaa !12
  %190 = getelementptr inbounds ptr, ptr %189, i64 0
  %191 = load ptr, ptr %190, align 8
  call void %191(ptr noundef nonnull align 8 dereferenceable(8) %87, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %76, i32 %188)
  call void @llvm.lifetime.end.p0(i64 12, ptr %78) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %77) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %76) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #5
  ret void
}

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

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

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

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

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

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

; 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 { 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 { 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 { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12), 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 #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 #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12IGlacierDraw9DrawArrowERK8GVector3S2_6GFloat6GColor(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %2, i32 %3, i32 %4) unnamed_addr #3 align 2 {
  %6 = alloca %class.GVector3, align 8
  %7 = alloca %class.GVector3, align 8
  %8 = alloca %class.GVector3, align 8
  %9 = alloca %class.GVector3, align 8
  %10 = alloca %class.GVector3, align 8
  %11 = alloca %class.GFloat, align 4
  %12 = alloca %class.GVector3, align 8
  %13 = alloca %class.GVector3, align 8
  %14 = alloca %class.GVector3, align 8
  %15 = alloca %class.GVector3, align 8
  %16 = alloca %class.GVector3, align 8
  %17 = alloca %class.GVector3, align 8
  %18 = alloca %class.GVector3, align 8
  %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.GVector3, align 8
  %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.GVector3, align 8
  %31 = alloca %class.GVector3, align 8
  %32 = alloca %class.GVector3, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #4
  %33 = tail call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %2, i32 %3)
  %.fca.0.extract120 = extractvalue { i64, i32 } %33, 0
  %.fca.1.extract121 = extractvalue { i64, i32 } %33, 1
  store i64 %.fca.0.extract120, ptr %7, align 8
  %.sroa.2123.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  store i32 %.fca.1.extract121, ptr %.sroa.2123.0..sroa_idx, align 8
  %34 = call { i64, i32 } @_ZNK8GVector3plERKS_(ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %7)
  %.fca.0.extract116 = extractvalue { i64, i32 } %34, 0
  %.fca.1.extract117 = extractvalue { i64, i32 } %34, 1
  store i64 %.fca.0.extract116, ptr %6, align 8
  %.sroa.2119.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  store i32 %.fca.1.extract117, ptr %.sroa.2119.0..sroa_idx, align 8
  %35 = load ptr, ptr %0, align 8, !tbaa !5
  %36 = load ptr, ptr %35, align 8
  call void %36(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %6, i32 %4)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #4
  %37 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %2, i32 %3)
  %.fca.0.extract110 = extractvalue { i64, i32 } %37, 0
  %.fca.1.extract111 = extractvalue { i64, i32 } %37, 1
  store i64 %.fca.0.extract110, ptr %9, align 8
  %.sroa.2113.0..sroa_idx = getelementptr inbounds i8, ptr %9, i64 8
  store i32 %.fca.1.extract111, ptr %.sroa.2113.0..sroa_idx, align 8
  %38 = call { i64, i32 } @_ZNK8GVector3plERKS_(ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %9)
  %.fca.0.extract106 = extractvalue { i64, i32 } %38, 0
  %.fca.1.extract107 = extractvalue { i64, i32 } %38, 1
  store i64 %.fca.0.extract106, ptr %8, align 8
  %.sroa.2109.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 8
  store i32 %.fca.1.extract107, ptr %.sroa.2109.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #4
  %39 = call { i64, i32 } @_ZN8GVector35UnitZEv()
  %.fca.0.extract102 = extractvalue { i64, i32 } %39, 0
  %.fca.1.extract103 = extractvalue { i64, i32 } %39, 1
  store i64 %.fca.0.extract102, ptr %10, align 8
  %.sroa.2105.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 8
  store i32 %.fca.1.extract103, ptr %.sroa.2105.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %12) #4
  %40 = call { i64, i32 } @_ZN8GVector312CrossProductERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %10)
  %.fca.0.extract98 = extractvalue { i64, i32 } %40, 0
  %.fca.1.extract99 = extractvalue { i64, i32 } %40, 1
  store i64 %.fca.0.extract98, ptr %12, align 8
  %.sroa.2101.0..sroa_idx = getelementptr inbounds i8, ptr %12, i64 8
  store i32 %.fca.1.extract99, ptr %.sroa.2101.0..sroa_idx, align 8
  %41 = call i32 @_ZNK8GVector310SizeSquareEv(ptr noundef nonnull align 4 dereferenceable(12) %12)
  store i32 %41, ptr %11, align 4
  %42 = call i32 @_ZN5GMath10Inv_100000Ev()
  %43 = call noundef zeroext i1 @_ZNK6GFloatltES_(ptr noundef nonnull align 4 dereferenceable(4) %11, i32 %42)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4
  br i1 %43, label %44, label %47

44:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %13) #4
  %45 = call { i64, i32 } @_ZN8GVector35UnitXEv()
  %.fca.0.extract93 = extractvalue { i64, i32 } %45, 0
  %.fca.1.extract94 = extractvalue { i64, i32 } %45, 1
  store i64 %.fca.0.extract93, ptr %13, align 8
  %.sroa.296.0..sroa_idx = getelementptr inbounds i8, ptr %13, i64 8
  store i32 %.fca.1.extract94, ptr %.sroa.296.0..sroa_idx, align 8
  %46 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8GVector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %13)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #4
  br label %47

47:                                               ; preds = %44, %5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %14) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %15) #4
  %48 = call { i64, i32 } @_ZN8GVector312CrossProductERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %10)
  %.fca.0.extract89 = extractvalue { i64, i32 } %48, 0
  %.fca.1.extract90 = extractvalue { i64, i32 } %48, 1
  store i64 %.fca.0.extract89, ptr %15, align 8
  %.sroa.292.0..sroa_idx = getelementptr inbounds i8, ptr %15, i64 8
  store i32 %.fca.1.extract90, ptr %.sroa.292.0..sroa_idx, align 8
  %49 = call { i64, i32 } @_ZNK8GVector312GetNormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %15)
  %.fca.0.extract85 = extractvalue { i64, i32 } %49, 0
  %.fca.1.extract86 = extractvalue { i64, i32 } %49, 1
  store i64 %.fca.0.extract85, ptr %14, align 8
  %.sroa.288.0..sroa_idx = getelementptr inbounds i8, ptr %14, i64 8
  store i32 %.fca.1.extract86, ptr %.sroa.288.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %16) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %17) #4
  %50 = call { i64, i32 } @_ZN8GVector312CrossProductERKS_S1_(ptr noundef nonnull align 4 dereferenceable(12) %14, ptr noundef nonnull align 4 dereferenceable(12) %2)
  %.fca.0.extract81 = extractvalue { i64, i32 } %50, 0
  %.fca.1.extract82 = extractvalue { i64, i32 } %50, 1
  store i64 %.fca.0.extract81, ptr %17, align 8
  %.sroa.284.0..sroa_idx = getelementptr inbounds i8, ptr %17, i64 8
  store i32 %.fca.1.extract82, ptr %.sroa.284.0..sroa_idx, align 8
  %51 = call { i64, i32 } @_ZNK8GVector312GetNormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %17)
  %.fca.0.extract77 = extractvalue { i64, i32 } %51, 0
  %.fca.1.extract78 = extractvalue { i64, i32 } %51, 1
  store i64 %.fca.0.extract77, ptr %16, align 8
  %.sroa.280.0..sroa_idx = getelementptr inbounds i8, ptr %16, i64 8
  store i32 %.fca.1.extract78, ptr %.sroa.280.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %17) #4
  %52 = call i32 @_ZN5GMath7Makef32Eijj(i32 noundef 0, i32 noundef 13, i32 noundef 100)
  %53 = call i32 @_ZN5GMath7Makef32Eijj(i32 noundef 0, i32 noundef 25, i32 noundef 100)
  %54 = load ptr, ptr %0, align 8, !tbaa !5
  %55 = load ptr, ptr %54, align 8
  call void %55(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %8, i32 %4)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %18) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %19) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %20) #4
  %56 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %2, i32 %3)
  %.fca.0.extract66 = extractvalue { i64, i32 } %56, 0
  %.fca.1.extract67 = extractvalue { i64, i32 } %56, 1
  store i64 %.fca.0.extract66, ptr %20, align 8
  %.sroa.269.0..sroa_idx = getelementptr inbounds i8, ptr %20, i64 8
  store i32 %.fca.1.extract67, ptr %.sroa.269.0..sroa_idx, align 8
  %57 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %20, i32 %53)
  %.fca.0.extract61 = extractvalue { i64, i32 } %57, 0
  %.fca.1.extract62 = extractvalue { i64, i32 } %57, 1
  store i64 %.fca.0.extract61, ptr %19, align 8
  %.sroa.264.0..sroa_idx = getelementptr inbounds i8, ptr %19, i64 8
  store i32 %.fca.1.extract62, ptr %.sroa.264.0..sroa_idx, align 8
  %58 = call { i64, i32 } @_ZNK8GVector3miERKS_(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %19)
  %.fca.0.extract57 = extractvalue { i64, i32 } %58, 0
  %.fca.1.extract58 = extractvalue { i64, i32 } %58, 1
  store i64 %.fca.0.extract57, ptr %18, align 8
  %.sroa.260.0..sroa_idx = getelementptr inbounds i8, ptr %18, i64 8
  store i32 %.fca.1.extract58, ptr %.sroa.260.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %19) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %21) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %22) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #4
  %59 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %14, i32 %3)
  %.fca.0.extract52 = extractvalue { i64, i32 } %59, 0
  %.fca.1.extract53 = extractvalue { i64, i32 } %59, 1
  store i64 %.fca.0.extract52, ptr %23, align 8
  %.sroa.255.0..sroa_idx = getelementptr inbounds i8, ptr %23, i64 8
  store i32 %.fca.1.extract53, ptr %.sroa.255.0..sroa_idx, align 8
  %60 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %23, i32 %52)
  %.fca.0.extract47 = extractvalue { i64, i32 } %60, 0
  %.fca.1.extract48 = extractvalue { i64, i32 } %60, 1
  store i64 %.fca.0.extract47, ptr %22, align 8
  %.sroa.250.0..sroa_idx = getelementptr inbounds i8, ptr %22, i64 8
  store i32 %.fca.1.extract48, ptr %.sroa.250.0..sroa_idx, align 8
  %61 = call { i64, i32 } @_ZNK8GVector3plERKS_(ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %22)
  %.fca.0.extract43 = extractvalue { i64, i32 } %61, 0
  %.fca.1.extract44 = extractvalue { i64, i32 } %61, 1
  store i64 %.fca.0.extract43, ptr %21, align 8
  %.sroa.246.0..sroa_idx = getelementptr inbounds i8, ptr %21, i64 8
  store i32 %.fca.1.extract44, ptr %.sroa.246.0..sroa_idx, align 8
  %62 = load ptr, ptr %0, align 8, !tbaa !5
  %63 = load ptr, ptr %62, align 8
  call void %63(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %21, i32 %4)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %21) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %24) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %25) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %26) #4
  %64 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %14, i32 %3)
  %.fca.0.extract37 = extractvalue { i64, i32 } %64, 0
  %.fca.1.extract38 = extractvalue { i64, i32 } %64, 1
  store i64 %.fca.0.extract37, ptr %26, align 8
  %.sroa.240.0..sroa_idx = getelementptr inbounds i8, ptr %26, i64 8
  store i32 %.fca.1.extract38, ptr %.sroa.240.0..sroa_idx, align 8
  %65 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %26, i32 %52)
  %.fca.0.extract32 = extractvalue { i64, i32 } %65, 0
  %.fca.1.extract33 = extractvalue { i64, i32 } %65, 1
  store i64 %.fca.0.extract32, ptr %25, align 8
  %.sroa.235.0..sroa_idx = getelementptr inbounds i8, ptr %25, i64 8
  store i32 %.fca.1.extract33, ptr %.sroa.235.0..sroa_idx, align 8
  %66 = call { i64, i32 } @_ZNK8GVector3miERKS_(ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %25)
  %.fca.0.extract28 = extractvalue { i64, i32 } %66, 0
  %.fca.1.extract29 = extractvalue { i64, i32 } %66, 1
  store i64 %.fca.0.extract28, ptr %24, align 8
  %.sroa.231.0..sroa_idx = getelementptr inbounds i8, ptr %24, i64 8
  store i32 %.fca.1.extract29, ptr %.sroa.231.0..sroa_idx, align 8
  %67 = load ptr, ptr %0, align 8, !tbaa !5
  %68 = load ptr, ptr %67, align 8
  call void %68(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %24, i32 %4)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %26) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #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
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %29) #4
  %69 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %16, i32 %3)
  %.fca.0.extract22 = extractvalue { i64, i32 } %69, 0
  %.fca.1.extract23 = extractvalue { i64, i32 } %69, 1
  store i64 %.fca.0.extract22, ptr %29, align 8
  %.sroa.225.0..sroa_idx = getelementptr inbounds i8, ptr %29, i64 8
  store i32 %.fca.1.extract23, ptr %.sroa.225.0..sroa_idx, align 8
  %70 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %29, i32 %52)
  %.fca.0.extract17 = extractvalue { i64, i32 } %70, 0
  %.fca.1.extract18 = extractvalue { i64, i32 } %70, 1
  store i64 %.fca.0.extract17, ptr %28, align 8
  %.sroa.220.0..sroa_idx = getelementptr inbounds i8, ptr %28, i64 8
  store i32 %.fca.1.extract18, ptr %.sroa.220.0..sroa_idx, align 8
  %71 = call { i64, i32 } @_ZNK8GVector3plERKS_(ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %28)
  %.fca.0.extract13 = extractvalue { i64, i32 } %71, 0
  %.fca.1.extract14 = extractvalue { i64, i32 } %71, 1
  store i64 %.fca.0.extract13, ptr %27, align 8
  %.sroa.216.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 8
  store i32 %.fca.1.extract14, ptr %.sroa.216.0..sroa_idx, align 8
  %72 = load ptr, ptr %0, align 8, !tbaa !5
  %73 = load ptr, ptr %72, align 8
  call void %73(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %27, i32 %4)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %29) #4
  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 12, ptr nonnull %30) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %31) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %32) #4
  %74 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %16, i32 %3)
  %.fca.0.extract7 = extractvalue { i64, i32 } %74, 0
  %.fca.1.extract8 = extractvalue { i64, i32 } %74, 1
  store i64 %.fca.0.extract7, ptr %32, align 8
  %.sroa.210.0..sroa_idx = getelementptr inbounds i8, ptr %32, i64 8
  store i32 %.fca.1.extract8, ptr %.sroa.210.0..sroa_idx, align 8
  %75 = call { i64, i32 } @_ZNK8GVector3mlE6GFloat(ptr noundef nonnull align 4 dereferenceable(12) %32, i32 %52)
  %.fca.0.extract2 = extractvalue { i64, i32 } %75, 0
  %.fca.1.extract3 = extractvalue { i64, i32 } %75, 1
  store i64 %.fca.0.extract2, ptr %31, align 8
  %.sroa.25.0..sroa_idx = getelementptr inbounds i8, ptr %31, i64 8
  store i32 %.fca.1.extract3, ptr %.sroa.25.0..sroa_idx, align 8
  %76 = call { i64, i32 } @_ZNK8GVector3miERKS_(ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %31)
  %.fca.0.extract = extractvalue { i64, i32 } %76, 0
  %.fca.1.extract = extractvalue { i64, i32 } %76, 1
  store i64 %.fca.0.extract, ptr %30, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %30, i64 8
  store i32 %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  %77 = load ptr, ptr %0, align 8, !tbaa !5
  %78 = load ptr, ptr %77, align 8
  call void %78(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %30, i32 %4)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %32) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %31) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %30) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %18) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #4
  ret void
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i32 } @_ZNK8GVector312GetNormalizeEv(ptr noundef nonnull align 4 dereferenceable(12)) 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


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