; LLVM IR from BrunoLevy/learn-fpga :: LiteX/software/Tagl/Lib/locgman.ll (ZN20LocalGeometryManager6VertexEfff)

; 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.GCoord = type { float }
%class.LocalGeometryManager = type <{ %class.GeometryManager, %class.Flags, [4 x i8], ptr, ptr, %class.GMatrix, %class.GMatrix, [100 x %class.GMatrix], i32, [100 x %class.Rect], i32, [100 x %class.GMatrix], i32, %class.GMatrix, i32, %class.GVertexPool, [4 x %class.GVertex], i32, i32, i32, i32, i32, i32, [4 x i8] }>
%class.GeometryManager = type { %class.GraphicProcessor }
%class.GraphicProcessor = type { %class.GraphicComponent, ptr }
%class.GraphicComponent = type { ptr, i32, i32, [100 x %class.Flags], i32, %class.Flags, ptr, [8192 x i8] }
%class.Flags = type { i32 }
%class.Rect = type { i32, i32, i32, i32, i32, i32 }
%class.GMatrix = type { [4 x [4 x %class.GCoeff]] }
%class.GCoeff = type { float }
%class.GVertexPool = type { [100 x %class.GVertex], i32 }
%class.GVertex = type { %class.GVertexAttributes, i32, i32, %class.GVector, %class.GVector, %class.GVector, %class.GVector, %class.GVector, %class.Flags }
%class.GVertexAttributes = type { i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%class.GVector = type { [4 x %class.GCoord] }

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(64) ptr @_ZN20LocalGeometryManager12GetModelViewEv(ptr noundef nonnull align 8 dereferenceable(37404)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN16GraphicComponent10AttributesEv(ptr noundef nonnull align 8 dereferenceable(8624)) #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN20LocalGeometryManager8DoPointsEv(ptr noundef nonnull align 8 dereferenceable(37404)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN20LocalGeometryManager12DoClosedLineEv(ptr noundef nonnull align 8 dereferenceable(37404)) #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6GCoord3lodES_(ptr noundef nonnull align 4 dereferenceable(4), float) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) #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) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6GCoord3subES_(ptr noundef nonnull align 4 dereferenceable(4), float) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6GCoord3mldES_S_(ptr noundef nonnull align 4 dereferenceable(4), float, float) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6GCoord3msbES_S_(ptr noundef nonnull align 4 dereferenceable(4), float, float) #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN20LocalGeometryManager9DoPolygonEv(ptr noundef nonnull align 8 dereferenceable(37404)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN13PolygonEngine5ResetEv(ptr noundef nonnull align 8 dereferenceable(12296)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN20LocalGeometryManager6VertexEfff(ptr noundef nonnull align 8 dereferenceable(37404) %0, float noundef %1, float noundef %2, float noundef %3) unnamed_addr #4 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca ptr, align 8
  %10 = alloca %class.GCoord, align 4
  %11 = alloca %class.GCoord, align 4
  %12 = alloca %class.GCoord, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %class.GCoord, align 4
  %19 = alloca %class.GCoord, align 4
  %20 = alloca %class.GCoord, align 4
  %21 = alloca %class.GCoord, align 4
  %22 = alloca %class.GCoord, align 4
  %23 = alloca %class.GCoord, align 4
  %24 = alloca %class.GCoord, align 4
  %25 = alloca %class.GCoord, align 4
  %26 = alloca %class.GCoord, align 4
  %27 = alloca %class.GCoord, align 4
  %28 = alloca %class.GCoord, align 4
  %29 = alloca %class.GCoord, align 4
  %30 = alloca %class.GCoord, align 4
  %31 = alloca %class.GCoord, align 4
  %32 = alloca %class.GCoord, align 4
  %33 = alloca %class.GCoord, align 4
  %34 = alloca %class.GCoord, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store float %1, ptr %6, align 4, !tbaa !9
  store float %2, ptr %7, align 4, !tbaa !9
  store float %3, ptr %8, align 4, !tbaa !9
  %35 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %36 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 19
  %37 = load i32, ptr %36, align 4, !tbaa !11
  switch i32 %37, label %53 [
    i32 4, label %38
  ]

38:                                               ; preds = %4
  %39 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 16
  %40 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 17
  %41 = load i32, ptr %40, align 4, !tbaa !20
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [4 x %class.GVertex], ptr %39, i64 0, i64 %42
  store ptr %43, ptr %9, align 8, !tbaa !5
  %44 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 17
  %45 = load i32, ptr %44, align 4, !tbaa !20
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %44, align 4, !tbaa !20
  %47 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 17
  %48 = load i32, ptr %47, align 4, !tbaa !20
  %49 = srem i32 %48, 4
  store i32 %49, ptr %47, align 4, !tbaa !20
  %50 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 18
  %51 = load i32, ptr %50, align 8, !tbaa !21
  %52 = add nsw i32 %51, 1
  store i32 %52, ptr %50, align 8, !tbaa !21
  br label %56

53:                                               ; preds = %4
  %54 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 15
  %55 = call noundef ptr @_ZN11GVertexPool3NewEv(ptr noundef nonnull align 4 dereferenceable(12804) %54)
  store ptr %55, ptr %9, align 8, !tbaa !5
  br label %56

56:                                               ; preds = %53, %38
  %57 = load ptr, ptr %9, align 8, !tbaa !5
  %58 = getelementptr inbounds %class.GVertex, ptr %57, i32 0, i32 3
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %58, i32 noundef 0)
  %60 = load float, ptr %6, align 4, !tbaa !9
  call void @_ZN6GCoord3lodEf(ptr noundef nonnull align 4 dereferenceable(4) %59, float noundef %60)
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  %62 = getelementptr inbounds %class.GVertex, ptr %61, i32 0, i32 3
  %63 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %62, i32 noundef 1)
  %64 = load float, ptr %7, align 4, !tbaa !9
  call void @_ZN6GCoord3lodEf(ptr noundef nonnull align 4 dereferenceable(4) %63, float noundef %64)
  %65 = load ptr, ptr %9, align 8, !tbaa !5
  %66 = getelementptr inbounds %class.GVertex, ptr %65, i32 0, i32 3
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %66, i32 noundef 2)
  %68 = load float, ptr %8, align 4, !tbaa !9
  call void @_ZN6GCoord3lodEf(ptr noundef nonnull align 4 dereferenceable(4) %67, float noundef %68)
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = getelementptr inbounds %class.GVertex, ptr %69, i32 0, i32 3
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %70, i32 noundef 3)
  call void @_ZN6GCoord3lodEi(ptr noundef nonnull align 4 dereferenceable(4) %71, i32 noundef 1)
  %72 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 20
  %73 = load i32, ptr %72, align 8, !tbaa !22
  %74 = icmp eq i32 %73, 0
  br i1 %74, label %75, label %81

75:                                               ; preds = %56
  %76 = load ptr, ptr %9, align 8, !tbaa !5
  %77 = getelementptr inbounds %class.GVertex, ptr %76, i32 0, i32 5
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = getelementptr inbounds %class.GVertex, ptr %78, i32 0, i32 3
  %80 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZN20LocalGeometryManager9GetSingleEv(ptr noundef nonnull align 8 dereferenceable(37404) %35)
  call void @_ZN7GVector3mldERS_R7GMatrix(ptr noundef nonnull align 4 dereferenceable(16) %77, ptr noundef nonnull align 4 dereferenceable(16) %79, ptr noundef nonnull align 4 dereferenceable(64) %80)
  br label %92

81:                                               ; preds = %56
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = getelementptr inbounds %class.GVertex, ptr %82, i32 0, i32 4
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  %85 = getelementptr inbounds %class.GVertex, ptr %84, i32 0, i32 3
  %86 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZN20LocalGeometryManager12GetModelViewEv(ptr noundef nonnull align 8 dereferenceable(37404) %35)
  call void @_ZN7GVector3mldERS_R7GMatrix(ptr noundef nonnull align 4 dereferenceable(16) %83, ptr noundef nonnull align 4 dereferenceable(16) %85, ptr noundef nonnull align 4 dereferenceable(64) %86)
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = getelementptr inbounds %class.GVertex, ptr %87, i32 0, i32 5
  %89 = load ptr, ptr %9, align 8, !tbaa !5
  %90 = getelementptr inbounds %class.GVertex, ptr %89, i32 0, i32 4
  %91 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 6
  call void @_ZN7GVector3mldERS_R7GMatrix(ptr noundef nonnull align 4 dereferenceable(16) %88, ptr noundef nonnull align 4 dereferenceable(16) %90, ptr noundef nonnull align 4 dereferenceable(64) %91)
  br label %92

92:                                               ; preds = %81, %75
  %93 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN16GraphicComponent10AttributesEv(ptr noundef nonnull align 8 dereferenceable(8624) %35)
  %94 = call noundef i32 @_ZNK5Flags3GetEi(ptr noundef nonnull align 4 dereferenceable(4) %93, i32 noundef 7)
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %96, label %106

96:                                               ; preds = %92
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = getelementptr inbounds %class.GVertex, ptr %97, i32 0, i32 5
  %99 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %98, i32 noundef 3)
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6GCoord4dataEv(ptr noundef nonnull align 4 dereferenceable(4) %99)
  %101 = load float, ptr %100, align 4, !tbaa !9
  %102 = fmul float %101, 2.560000e+02
  %103 = fptosi float %102 to i32
  %104 = load ptr, ptr %9, align 8, !tbaa !5
  %105 = getelementptr inbounds %class.GVertexAttributes, ptr %104, i32 0, i32 8
  store i32 %103, ptr %105, align 4, !tbaa !23
  br label %131

106:                                              ; preds = %92
  %107 = load ptr, ptr %9, align 8, !tbaa !5
  %108 = getelementptr inbounds %class.GVertex, ptr %107, i32 0, i32 5
  %109 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %108, i32 noundef 0)
  %110 = load ptr, ptr %9, align 8, !tbaa !5
  %111 = getelementptr inbounds %class.GVertex, ptr %110, i32 0, i32 5
  %112 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %111, i32 noundef 3)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %112, i64 4, i1 false), !tbaa.struct !25
  %113 = getelementptr inbounds %class.GCoord, ptr %10, i32 0, i32 0
  %114 = load float, ptr %113, align 4
  call void @_ZN6GCoord3divES_(ptr noundef nonnull align 4 dereferenceable(4) %109, float %114)
  %115 = load ptr, ptr %9, align 8, !tbaa !5
  %116 = getelementptr inbounds %class.GVertex, ptr %115, i32 0, i32 5
  %117 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %116, i32 noundef 1)
  %118 = load ptr, ptr %9, align 8, !tbaa !5
  %119 = getelementptr inbounds %class.GVertex, ptr %118, i32 0, i32 5
  %120 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %119, i32 noundef 3)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 4 %120, i64 4, i1 false), !tbaa.struct !25
  %121 = getelementptr inbounds %class.GCoord, ptr %11, i32 0, i32 0
  %122 = load float, ptr %121, align 4
  call void @_ZN6GCoord3divES_(ptr noundef nonnull align 4 dereferenceable(4) %117, float %122)
  %123 = load ptr, ptr %9, align 8, !tbaa !5
  %124 = getelementptr inbounds %class.GVertex, ptr %123, i32 0, i32 5
  %125 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %124, i32 noundef 2)
  %126 = load ptr, ptr %9, align 8, !tbaa !5
  %127 = getelementptr inbounds %class.GVertex, ptr %126, i32 0, i32 5
  %128 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %127, i32 noundef 3)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %128, i64 4, i1 false), !tbaa.struct !25
  %129 = getelementptr inbounds %class.GCoord, ptr %12, i32 0, i32 0
  %130 = load float, ptr %129, align 4
  call void @_ZN6GCoord3divES_(ptr noundef nonnull align 4 dereferenceable(4) %125, float %130)
  br label %131

131:                                              ; preds = %106, %96
  %132 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZN20LocalGeometryManager11VAttributesEv(ptr noundef nonnull align 8 dereferenceable(37404) %35)
  %133 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %133, ptr align 4 %132, i64 36, i1 false), !tbaa.struct !26
  %134 = load ptr, ptr %9, align 8, !tbaa !5
  %135 = getelementptr inbounds %class.GVertex, ptr %134, i32 0, i32 5
  %136 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %135, i32 noundef 0)
  %137 = load ptr, ptr %9, align 8, !tbaa !5
  %138 = getelementptr inbounds %class.GVertex, ptr %137, i32 0, i32 1
  call void @_ZN6GCoord3stoERi(ptr noundef nonnull align 4 dereferenceable(4) %136, ptr noundef nonnull align 4 dereferenceable(4) %138)
  %139 = load ptr, ptr %9, align 8, !tbaa !5
  %140 = getelementptr inbounds %class.GVertex, ptr %139, i32 0, i32 5
  %141 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %140, i32 noundef 1)
  %142 = load ptr, ptr %9, align 8, !tbaa !5
  %143 = getelementptr inbounds %class.GVertex, ptr %142, i32 0, i32 2
  call void @_ZN6GCoord3stoERi(ptr noundef nonnull align 4 dereferenceable(4) %141, ptr noundef nonnull align 4 dereferenceable(4) %143)
  %144 = load ptr, ptr %9, align 8, !tbaa !5
  %145 = getelementptr inbounds %class.GVertex, ptr %144, i32 0, i32 5
  %146 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %145, i32 noundef 2)
  %147 = load ptr, ptr %9, align 8, !tbaa !5
  %148 = getelementptr inbounds %class.GVertexAttributes, ptr %147, i32 0, i32 0
  call void @_ZN6GCoord3stoERi(ptr noundef nonnull align 4 dereferenceable(4) %146, ptr noundef nonnull align 4 dereferenceable(4) %148)
  %149 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 19
  %150 = load i32, ptr %149, align 4, !tbaa !11
  switch i32 %150, label %270 [
    i32 4, label %151
  ]

151:                                              ; preds = %131
  %152 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 18
  %153 = load i32, ptr %152, align 8, !tbaa !21
  %154 = icmp sge i32 %153, 4
  br i1 %154, label %155, label %269

155:                                              ; preds = %151
  %156 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 17
  %157 = load i32, ptr %156, align 4, !tbaa !20
  %158 = icmp eq i32 %157, 0
  br i1 %158, label %163, label %159

159:                                              ; preds = %155
  %160 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 17
  %161 = load i32, ptr %160, align 4, !tbaa !20
  %162 = icmp eq i32 %161, 2
  br i1 %162, label %163, label %269

163:                                              ; preds = %159, %155
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 1, ptr %17, align 4, !tbaa !27
  %164 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 17
  %165 = load i32, ptr %164, align 4, !tbaa !20
  %166 = icmp eq i32 %165, 0
  br i1 %166, label %167, label %176

167:                                              ; preds = %163
  %168 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 16
  %169 = getelementptr inbounds [4 x %class.GVertex], ptr %168, i64 0, i64 0
  store ptr %169, ptr %13, align 8, !tbaa !5
  %170 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 16
  %171 = getelementptr inbounds [4 x %class.GVertex], ptr %170, i64 0, i64 1
  store ptr %171, ptr %14, align 8, !tbaa !5
  %172 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 16
  %173 = getelementptr inbounds [4 x %class.GVertex], ptr %172, i64 0, i64 3
  store ptr %173, ptr %15, align 8, !tbaa !5
  %174 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 16
  %175 = getelementptr inbounds [4 x %class.GVertex], ptr %174, i64 0, i64 2
  store ptr %175, ptr %16, align 8, !tbaa !5
  br label %185

176:                                              ; preds = %163
  %177 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 16
  %178 = getelementptr inbounds [4 x %class.GVertex], ptr %177, i64 0, i64 2
  store ptr %178, ptr %13, align 8, !tbaa !5
  %179 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 16
  %180 = getelementptr inbounds [4 x %class.GVertex], ptr %179, i64 0, i64 3
  store ptr %180, ptr %14, align 8, !tbaa !5
  %181 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 16
  %182 = getelementptr inbounds [4 x %class.GVertex], ptr %181, i64 0, i64 1
  store ptr %182, ptr %15, align 8, !tbaa !5
  %183 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 16
  %184 = getelementptr inbounds [4 x %class.GVertex], ptr %183, i64 0, i64 0
  store ptr %184, ptr %16, align 8, !tbaa !5
  br label %185

185:                                              ; preds = %176, %167
  %186 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 22
  %187 = load i32, ptr %186, align 8, !tbaa !28
  %188 = icmp ne i32 %187, 0
  br i1 %188, label %189, label %244

189:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @_ZN6GCoordC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %18)
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @_ZN6GCoordC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %19)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @_ZN6GCoordC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %20)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  call void @_ZN6GCoordC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %21)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  call void @_ZN6GCoordC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %22)
  %190 = load ptr, ptr %13, align 8, !tbaa !5
  %191 = getelementptr inbounds %class.GVertex, ptr %190, i32 0, i32 5
  %192 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %191, i32 noundef 0)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %192, i64 4, i1 false), !tbaa.struct !25
  %193 = getelementptr inbounds %class.GCoord, ptr %23, i32 0, i32 0
  %194 = load float, ptr %193, align 4
  call void @_ZN6GCoord3lodES_(ptr noundef nonnull align 4 dereferenceable(4) %18, float %194)
  %195 = load ptr, ptr %14, align 8, !tbaa !5
  %196 = getelementptr inbounds %class.GVertex, ptr %195, i32 0, i32 5
  %197 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %196, i32 noundef 0)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 4 %197, i64 4, i1 false), !tbaa.struct !25
  %198 = getelementptr inbounds %class.GCoord, ptr %24, i32 0, i32 0
  %199 = load float, ptr %198, align 4
  call void @_ZN6GCoord3subES_(ptr noundef nonnull align 4 dereferenceable(4) %18, float %199)
  %200 = load ptr, ptr %15, align 8, !tbaa !5
  %201 = getelementptr inbounds %class.GVertex, ptr %200, i32 0, i32 5
  %202 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %201, i32 noundef 1)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %202, i64 4, i1 false), !tbaa.struct !25
  %203 = getelementptr inbounds %class.GCoord, ptr %25, i32 0, i32 0
  %204 = load float, ptr %203, align 4
  call void @_ZN6GCoord3lodES_(ptr noundef nonnull align 4 dereferenceable(4) %19, float %204)
  %205 = load ptr, ptr %14, align 8, !tbaa !5
  %206 = getelementptr inbounds %class.GVertex, ptr %205, i32 0, i32 5
  %207 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %206, i32 noundef 1)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %207, i64 4, i1 false), !tbaa.struct !25
  %208 = getelementptr inbounds %class.GCoord, ptr %26, i32 0, i32 0
  %209 = load float, ptr %208, align 4
  call void @_ZN6GCoord3subES_(ptr noundef nonnull align 4 dereferenceable(4) %19, float %209)
  %210 = load ptr, ptr %15, align 8, !tbaa !5
  %211 = getelementptr inbounds %class.GVertex, ptr %210, i32 0, i32 5
  %212 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %211, i32 noundef 0)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %212, i64 4, i1 false), !tbaa.struct !25
  %213 = getelementptr inbounds %class.GCoord, ptr %27, i32 0, i32 0
  %214 = load float, ptr %213, align 4
  call void @_ZN6GCoord3lodES_(ptr noundef nonnull align 4 dereferenceable(4) %20, float %214)
  %215 = load ptr, ptr %14, align 8, !tbaa !5
  %216 = getelementptr inbounds %class.GVertex, ptr %215, i32 0, i32 5
  %217 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %216, i32 noundef 0)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %217, i64 4, i1 false), !tbaa.struct !25
  %218 = getelementptr inbounds %class.GCoord, ptr %28, i32 0, i32 0
  %219 = load float, ptr %218, align 4
  call void @_ZN6GCoord3subES_(ptr noundef nonnull align 4 dereferenceable(4) %20, float %219)
  %220 = load ptr, ptr %13, align 8, !tbaa !5
  %221 = getelementptr inbounds %class.GVertex, ptr %220, i32 0, i32 5
  %222 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %221, i32 noundef 1)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %222, i64 4, i1 false), !tbaa.struct !25
  %223 = getelementptr inbounds %class.GCoord, ptr %29, i32 0, i32 0
  %224 = load float, ptr %223, align 4
  call void @_ZN6GCoord3lodES_(ptr noundef nonnull align 4 dereferenceable(4) %21, float %224)
  %225 = load ptr, ptr %14, align 8, !tbaa !5
  %226 = getelementptr inbounds %class.GVertex, ptr %225, i32 0, i32 5
  %227 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %226, i32 noundef 1)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %227, i64 4, i1 false), !tbaa.struct !25
  %228 = getelementptr inbounds %class.GCoord, ptr %30, i32 0, i32 0
  %229 = load float, ptr %228, align 4
  call void @_ZN6GCoord3subES_(ptr noundef nonnull align 4 dereferenceable(4) %21, float %229)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %18, i64 4, i1 false), !tbaa.struct !25
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %19, i64 4, i1 false), !tbaa.struct !25
  %230 = getelementptr inbounds %class.GCoord, ptr %31, i32 0, i32 0
  %231 = load float, ptr %230, align 4
  %232 = getelementptr inbounds %class.GCoord, ptr %32, i32 0, i32 0
  %233 = load float, ptr %232, align 4
  call void @_ZN6GCoord3mldES_S_(ptr noundef nonnull align 4 dereferenceable(4) %22, float %231, float %233)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 4 %20, i64 4, i1 false), !tbaa.struct !25
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 4 %21, i64 4, i1 false), !tbaa.struct !25
  %234 = getelementptr inbounds %class.GCoord, ptr %33, i32 0, i32 0
  %235 = load float, ptr %234, align 4
  %236 = getelementptr inbounds %class.GCoord, ptr %34, i32 0, i32 0
  %237 = load float, ptr %236, align 4
  call void @_ZN6GCoord3msbES_S_(ptr noundef nonnull align 4 dereferenceable(4) %22, float %235, float %237)
  %238 = call noundef i32 @_ZN6GCoord2geEv(ptr noundef nonnull align 4 dereferenceable(4) %22)
  %239 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 22
  %240 = load i32, ptr %239, align 8, !tbaa !28
  %241 = icmp eq i32 %240, 1
  %242 = zext i1 %241 to i32
  %243 = xor i32 %238, %242
  store i32 %243, ptr %17, align 4, !tbaa !27
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %244

244:                                              ; preds = %189, %185
  %245 = load i32, ptr %17, align 4, !tbaa !27
  %246 = icmp ne i32 %245, 0
  br i1 %246, label %247, label %268

247:                                              ; preds = %244
  %248 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 4
  %249 = load ptr, ptr %248, align 8, !tbaa !29
  call void @_ZN13PolygonEngine5ResetEv(ptr noundef nonnull align 8 dereferenceable(12296) %249)
  %250 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 4
  %251 = load ptr, ptr %250, align 8, !tbaa !29
  %252 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN13PolygonEngine4PushEP7GVertex(ptr noundef nonnull align 8 dereferenceable(12296) %251, ptr noundef %252)
  %253 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 4
  %254 = load ptr, ptr %253, align 8, !tbaa !29
  %255 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN13PolygonEngine4PushEP7GVertex(ptr noundef nonnull align 8 dereferenceable(12296) %254, ptr noundef %255)
  %256 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 4
  %257 = load ptr, ptr %256, align 8, !tbaa !29
  %258 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZN13PolygonEngine4PushEP7GVertex(ptr noundef nonnull align 8 dereferenceable(12296) %257, ptr noundef %258)
  %259 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 4
  %260 = load ptr, ptr %259, align 8, !tbaa !29
  %261 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN13PolygonEngine4PushEP7GVertex(ptr noundef nonnull align 8 dereferenceable(12296) %260, ptr noundef %261)
  %262 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 21
  %263 = load i32, ptr %262, align 4, !tbaa !30
  switch i32 %263, label %267 [
    i32 0, label %264
    i32 1, label %265
    i32 2, label %266
  ]

264:                                              ; preds = %247
  call void @_ZN20LocalGeometryManager8DoPointsEv(ptr noundef nonnull align 8 dereferenceable(37404) %35)
  br label %267

265:                                              ; preds = %247
  call void @_ZN20LocalGeometryManager12DoClosedLineEv(ptr noundef nonnull align 8 dereferenceable(37404) %35)
  br label %267

266:                                              ; preds = %247
  call void @_ZN20LocalGeometryManager9DoPolygonEv(ptr noundef nonnull align 8 dereferenceable(37404) %35)
  br label %267

267:                                              ; preds = %266, %265, %264, %247
  br label %268

268:                                              ; preds = %267, %244
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %269

269:                                              ; preds = %268, %159, %151
  br label %274

270:                                              ; preds = %131
  %271 = getelementptr inbounds %class.LocalGeometryManager, ptr %35, i32 0, i32 4
  %272 = load ptr, ptr %271, align 8, !tbaa !29
  %273 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN13PolygonEngine4PushEP7GVertex(ptr noundef nonnull align 8 dereferenceable(12296) %272, ptr noundef %273)
  br label %274

274:                                              ; preds = %270, %269
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6GCoord3lodEf(ptr noundef nonnull align 4 dereferenceable(4), float noundef) #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7GVector3mldERS_R7GMatrix(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(64)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(64) ptr @_ZN20LocalGeometryManager9GetSingleEv(ptr noundef nonnull align 8 dereferenceable(37404)) #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6GCoord3divES_(ptr noundef nonnull align 4 dereferenceable(4), float) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(36) ptr @_ZN20LocalGeometryManager11VAttributesEv(ptr noundef nonnull align 8 dereferenceable(37404)) #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN13PolygonEngine4PushEP7GVertex(ptr noundef nonnull align 8 dereferenceable(12296), ptr noundef) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !16, i64 37388}
!12 = !{!"_ZTS20LocalGeometryManager", !13, i64 0, !17, i64 8632, !6, i64 8640, !6, i64 8648, !18, i64 8656, !18, i64 8720, !7, i64 8784, !16, i64 15184, !7, i64 15188, !16, i64 17588, !7, i64 17592, !16, i64 23992, !18, i64 23996, !16, i64 24060, !19, i64 24064, !7, i64 36868, !16, i64 37380, !16, i64 37384, !16, i64 37388, !16, i64 37392, !16, i64 37396, !16, i64 37400}
!13 = !{!"_ZTS15GeometryManager", !14, i64 0}
!14 = !{!"_ZTS16GraphicProcessor", !15, i64 0, !6, i64 8624}
!15 = !{!"_ZTS16GraphicComponent", !16, i64 8, !16, i64 12, !7, i64 16, !16, i64 416, !17, i64 420, !6, i64 424, !7, i64 432}
!16 = !{!"int", !7, i64 0}
!17 = !{!"_ZTS5Flags", !16, i64 0}
!18 = !{!"_ZTS7GMatrix", !7, i64 0}
!19 = !{!"_ZTS11GVertexPool", !7, i64 0, !16, i64 12800}
!20 = !{!12, !16, i64 37380}
!21 = !{!12, !16, i64 37384}
!22 = !{!12, !16, i64 37392}
!23 = !{!24, !16, i64 32}
!24 = !{!"_ZTS17GVertexAttributes", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !16, i64 28, !16, i64 32}
!25 = !{i64 0, i64 4, !9}
!26 = !{i64 0, i64 4, !27, i64 4, i64 4, !27, i64 8, i64 4, !27, i64 12, i64 4, !27, i64 16, i64 4, !27, i64 20, i64 4, !27, i64 24, i64 4, !27, i64 28, i64 4, !27, i64 32, i64 4, !27}
!27 = !{!16, !16, i64 0}
!28 = !{!12, !16, i64 37400}
!29 = !{!12, !6, i64 8648}
!30 = !{!12, !16, i64 37396}


; 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.GCoord = type { float }
%class.GVertex = type { %class.GVertexAttributes, i32, i32, %class.GVector, %class.GVector, %class.GVector, %class.GVector, %class.GVector, %class.Flags }
%class.GVertexAttributes = type { i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%class.GVector = type { [4 x %class.GCoord] }
%class.Flags = 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 nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(64) ptr @_ZN20LocalGeometryManager12GetModelViewEv(ptr noundef nonnull align 8 dereferenceable(37404)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN16GraphicComponent10AttributesEv(ptr noundef nonnull align 8 dereferenceable(8624)) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN20LocalGeometryManager8DoPointsEv(ptr noundef nonnull align 8 dereferenceable(37404)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN20LocalGeometryManager12DoClosedLineEv(ptr noundef nonnull align 8 dereferenceable(37404)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6GCoord3lodES_(ptr noundef nonnull align 4 dereferenceable(4), float) local_unnamed_addr #1 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6GCoord3subES_(ptr noundef nonnull align 4 dereferenceable(4), float) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6GCoord3mldES_S_(ptr noundef nonnull align 4 dereferenceable(4), float, float) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6GCoord3msbES_S_(ptr noundef nonnull align 4 dereferenceable(4), float, float) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN20LocalGeometryManager9DoPolygonEv(ptr noundef nonnull align 8 dereferenceable(37404)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN13PolygonEngine5ResetEv(ptr noundef nonnull align 8 dereferenceable(12296)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN20LocalGeometryManager6VertexEfff(ptr noundef nonnull align 8 dereferenceable(37404) %0, float noundef %1, float noundef %2, float noundef %3) unnamed_addr #4 align 2 {
  %5 = alloca %class.GCoord, align 4
  %6 = alloca %class.GCoord, align 4
  %7 = alloca %class.GCoord, align 4
  %8 = alloca %class.GCoord, align 4
  %9 = alloca %class.GCoord, align 4
  %10 = getelementptr inbounds i8, ptr %0, i64 37388
  %11 = load i32, ptr %10, align 4, !tbaa !5
  %cond = icmp eq i32 %11, 4
  br i1 %cond, label %12, label %23

12:                                               ; preds = %4
  %13 = getelementptr inbounds i8, ptr %0, i64 36868
  %14 = getelementptr inbounds i8, ptr %0, i64 37380
  %15 = load i32, ptr %14, align 4, !tbaa !17
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds [4 x %class.GVertex], ptr %13, i64 0, i64 %16
  %18 = add nsw i32 %15, 1
  %19 = srem i32 %18, 4
  store i32 %19, ptr %14, align 4, !tbaa !17
  %20 = getelementptr inbounds i8, ptr %0, i64 37384
  %21 = load i32, ptr %20, align 8, !tbaa !18
  %22 = add nsw i32 %21, 1
  store i32 %22, ptr %20, align 8, !tbaa !18
  br label %26

23:                                               ; preds = %4
  %24 = getelementptr inbounds i8, ptr %0, i64 24064
  %25 = tail call noundef ptr @_ZN11GVertexPool3NewEv(ptr noundef nonnull align 4 dereferenceable(12804) %24)
  br label %26

26:                                               ; preds = %23, %12
  %.0 = phi ptr [ %17, %12 ], [ %25, %23 ]
  %27 = getelementptr inbounds i8, ptr %.0, i64 44
  %28 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %27, i32 noundef 0)
  tail call void @_ZN6GCoord3lodEf(ptr noundef nonnull align 4 dereferenceable(4) %28, float noundef %1)
  %29 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %27, i32 noundef 1)
  tail call void @_ZN6GCoord3lodEf(ptr noundef nonnull align 4 dereferenceable(4) %29, float noundef %2)
  %30 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %27, i32 noundef 2)
  tail call void @_ZN6GCoord3lodEf(ptr noundef nonnull align 4 dereferenceable(4) %30, float noundef %3)
  %31 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %27, i32 noundef 3)
  tail call void @_ZN6GCoord3lodEi(ptr noundef nonnull align 4 dereferenceable(4) %31, i32 noundef 1)
  %32 = getelementptr inbounds i8, ptr %0, i64 37392
  %33 = load i32, ptr %32, align 8, !tbaa !19
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %35, label %38

35:                                               ; preds = %26
  %36 = getelementptr inbounds i8, ptr %.0, i64 76
  %37 = tail call noundef nonnull align 4 dereferenceable(64) ptr @_ZN20LocalGeometryManager9GetSingleEv(ptr noundef nonnull align 8 dereferenceable(37404) %0)
  tail call void @_ZN7GVector3mldERS_R7GMatrix(ptr noundef nonnull align 4 dereferenceable(16) %36, ptr noundef nonnull align 4 dereferenceable(16) %27, ptr noundef nonnull align 4 dereferenceable(64) %37)
  br label %43

38:                                               ; preds = %26
  %39 = getelementptr inbounds i8, ptr %.0, i64 60
  %40 = tail call noundef nonnull align 4 dereferenceable(64) ptr @_ZN20LocalGeometryManager12GetModelViewEv(ptr noundef nonnull align 8 dereferenceable(37404) %0)
  tail call void @_ZN7GVector3mldERS_R7GMatrix(ptr noundef nonnull align 4 dereferenceable(16) %39, ptr noundef nonnull align 4 dereferenceable(16) %27, ptr noundef nonnull align 4 dereferenceable(64) %40)
  %41 = getelementptr inbounds i8, ptr %.0, i64 76
  %42 = getelementptr inbounds i8, ptr %0, i64 8720
  tail call void @_ZN7GVector3mldERS_R7GMatrix(ptr noundef nonnull align 4 dereferenceable(16) %41, ptr noundef nonnull align 4 dereferenceable(16) %39, ptr noundef nonnull align 4 dereferenceable(64) %42)
  br label %43

43:                                               ; preds = %38, %35
  %44 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN16GraphicComponent10AttributesEv(ptr noundef nonnull align 8 dereferenceable(8624) %0)
  %45 = tail call noundef i32 @_ZNK5Flags3GetEi(ptr noundef nonnull align 4 dereferenceable(4) %44, i32 noundef 7)
  %.not = icmp eq i32 %45, 0
  %46 = getelementptr inbounds i8, ptr %.0, i64 76
  br i1 %.not, label %54, label %47

47:                                               ; preds = %43
  %48 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %46, i32 noundef 3)
  %49 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6GCoord4dataEv(ptr noundef nonnull align 4 dereferenceable(4) %48)
  %50 = load float, ptr %49, align 4, !tbaa !20
  %51 = fmul float %50, 2.560000e+02
  %52 = fptosi float %51 to i32
  %53 = getelementptr inbounds i8, ptr %.0, i64 32
  store i32 %52, ptr %53, align 4, !tbaa !22
  br label %61

54:                                               ; preds = %43
  %55 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %46, i32 noundef 0)
  %56 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %46, i32 noundef 3)
  %.sroa.026.0.copyload = load float, ptr %56, align 4, !tbaa !20
  tail call void @_ZN6GCoord3divES_(ptr noundef nonnull align 4 dereferenceable(4) %55, float %.sroa.026.0.copyload)
  %57 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %46, i32 noundef 1)
  %58 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %46, i32 noundef 3)
  %.sroa.025.0.copyload = load float, ptr %58, align 4, !tbaa !20
  tail call void @_ZN6GCoord3divES_(ptr noundef nonnull align 4 dereferenceable(4) %57, float %.sroa.025.0.copyload)
  %59 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %46, i32 noundef 2)
  %60 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %46, i32 noundef 3)
  %.sroa.024.0.copyload = load float, ptr %60, align 4, !tbaa !20
  tail call void @_ZN6GCoord3divES_(ptr noundef nonnull align 4 dereferenceable(4) %59, float %.sroa.024.0.copyload)
  br label %61

61:                                               ; preds = %54, %47
  %62 = tail call noundef nonnull align 4 dereferenceable(36) ptr @_ZN20LocalGeometryManager11VAttributesEv(ptr noundef nonnull align 8 dereferenceable(37404) %0)
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %.0, ptr noundef nonnull align 4 dereferenceable(36) %62, i64 36, i1 false), !tbaa.struct !24
  %63 = getelementptr inbounds i8, ptr %.0, i64 76
  %64 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %63, i32 noundef 0)
  %65 = getelementptr inbounds i8, ptr %.0, i64 36
  tail call void @_ZN6GCoord3stoERi(ptr noundef nonnull align 4 dereferenceable(4) %64, ptr noundef nonnull align 4 dereferenceable(4) %65)
  %66 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %63, i32 noundef 1)
  %67 = getelementptr inbounds i8, ptr %.0, i64 40
  tail call void @_ZN6GCoord3stoERi(ptr noundef nonnull align 4 dereferenceable(4) %66, ptr noundef nonnull align 4 dereferenceable(4) %67)
  %68 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %63, i32 noundef 2)
  tail call void @_ZN6GCoord3stoERi(ptr noundef nonnull align 4 dereferenceable(4) %68, ptr noundef nonnull align 4 dereferenceable(4) %.0)
  %69 = load i32, ptr %10, align 4, !tbaa !5
  %cond1 = icmp eq i32 %69, 4
  br i1 %cond1, label %70, label %118

70:                                               ; preds = %61
  %71 = getelementptr inbounds i8, ptr %0, i64 37384
  %72 = load i32, ptr %71, align 8, !tbaa !18
  %73 = icmp sgt i32 %72, 3
  br i1 %73, label %74, label %121

74:                                               ; preds = %70
  %75 = getelementptr inbounds i8, ptr %0, i64 37380
  %76 = load i32, ptr %75, align 4, !tbaa !17
  switch i32 %76, label %121 [
    i32 0, label %77
    i32 2, label %82
  ]

77:                                               ; preds = %74
  %78 = getelementptr inbounds i8, ptr %0, i64 36868
  %79 = getelementptr inbounds i8, ptr %0, i64 36996
  %80 = getelementptr inbounds i8, ptr %0, i64 37252
  %81 = getelementptr inbounds i8, ptr %0, i64 37124
  br label %87

82:                                               ; preds = %74
  %83 = getelementptr inbounds i8, ptr %0, i64 36868
  %84 = getelementptr inbounds i8, ptr %0, i64 37124
  %85 = getelementptr inbounds i8, ptr %0, i64 37252
  %86 = getelementptr inbounds i8, ptr %0, i64 36996
  br label %87

87:                                               ; preds = %82, %77
  %.060 = phi ptr [ %81, %77 ], [ %83, %82 ]
  %.059 = phi ptr [ %80, %77 ], [ %86, %82 ]
  %.058 = phi ptr [ %79, %77 ], [ %85, %82 ]
  %.057 = phi ptr [ %78, %77 ], [ %84, %82 ]
  %88 = getelementptr inbounds i8, ptr %0, i64 37400
  %89 = load i32, ptr %88, align 8, !tbaa !26
  %.not63 = icmp eq i32 %89, 0
  br i1 %.not63, label %.critedge, label %90

90:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  call void @_ZN6GCoordC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  call void @_ZN6GCoordC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  call void @_ZN6GCoordC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  call void @_ZN6GCoordC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %8)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  call void @_ZN6GCoordC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %9)
  %91 = getelementptr inbounds i8, ptr %.057, i64 76
  %92 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %91, i32 noundef 0)
  %.sroa.012.0.copyload = load float, ptr %92, align 4, !tbaa !20
  call void @_ZN6GCoord3lodES_(ptr noundef nonnull align 4 dereferenceable(4) %5, float %.sroa.012.0.copyload)
  %93 = getelementptr inbounds i8, ptr %.058, i64 76
  %94 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %93, i32 noundef 0)
  %.sroa.011.0.copyload = load float, ptr %94, align 4, !tbaa !20
  call void @_ZN6GCoord3subES_(ptr noundef nonnull align 4 dereferenceable(4) %5, float %.sroa.011.0.copyload)
  %95 = getelementptr inbounds i8, ptr %.059, i64 76
  %96 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %95, i32 noundef 1)
  %.sroa.010.0.copyload = load float, ptr %96, align 4, !tbaa !20
  call void @_ZN6GCoord3lodES_(ptr noundef nonnull align 4 dereferenceable(4) %6, float %.sroa.010.0.copyload)
  %97 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %93, i32 noundef 1)
  %.sroa.09.0.copyload = load float, ptr %97, align 4, !tbaa !20
  call void @_ZN6GCoord3subES_(ptr noundef nonnull align 4 dereferenceable(4) %6, float %.sroa.09.0.copyload)
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %95, i32 noundef 0)
  %.sroa.08.0.copyload = load float, ptr %98, align 4, !tbaa !20
  call void @_ZN6GCoord3lodES_(ptr noundef nonnull align 4 dereferenceable(4) %7, float %.sroa.08.0.copyload)
  %99 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %93, i32 noundef 0)
  %.sroa.07.0.copyload = load float, ptr %99, align 4, !tbaa !20
  call void @_ZN6GCoord3subES_(ptr noundef nonnull align 4 dereferenceable(4) %7, float %.sroa.07.0.copyload)
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %91, i32 noundef 1)
  %.sroa.06.0.copyload = load float, ptr %100, align 4, !tbaa !20
  call void @_ZN6GCoord3lodES_(ptr noundef nonnull align 4 dereferenceable(4) %8, float %.sroa.06.0.copyload)
  %101 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7GVectorclEi(ptr noundef nonnull align 4 dereferenceable(16) %93, i32 noundef 1)
  %.sroa.05.0.copyload = load float, ptr %101, align 4, !tbaa !20
  call void @_ZN6GCoord3subES_(ptr noundef nonnull align 4 dereferenceable(4) %8, float %.sroa.05.0.copyload)
  %.sroa.04.0.copyload = load float, ptr %5, align 4, !tbaa !20
  %.sroa.03.0.copyload = load float, ptr %6, align 4, !tbaa !20
  call void @_ZN6GCoord3mldES_S_(ptr noundef nonnull align 4 dereferenceable(4) %9, float %.sroa.04.0.copyload, float %.sroa.03.0.copyload)
  %.sroa.02.0.copyload = load float, ptr %7, align 4, !tbaa !20
  %.sroa.0.0.copyload = load float, ptr %8, align 4, !tbaa !20
  call void @_ZN6GCoord3msbES_S_(ptr noundef nonnull align 4 dereferenceable(4) %9, float %.sroa.02.0.copyload, float %.sroa.0.0.copyload)
  %102 = call noundef i32 @_ZN6GCoord2geEv(ptr noundef nonnull align 4 dereferenceable(4) %9)
  %103 = load i32, ptr %88, align 8, !tbaa !26
  %104 = icmp eq i32 %103, 1
  %105 = zext i1 %104 to i32
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  %106 = icmp eq i32 %102, %105
  br i1 %106, label %121, label %.critedge

.critedge:                                        ; preds = %87, %90
  %107 = getelementptr inbounds i8, ptr %0, i64 8648
  %108 = load ptr, ptr %107, align 8, !tbaa !27
  call void @_ZN13PolygonEngine5ResetEv(ptr noundef nonnull align 8 dereferenceable(12296) %108)
  %109 = load ptr, ptr %107, align 8, !tbaa !27
  call void @_ZN13PolygonEngine4PushEP7GVertex(ptr noundef nonnull align 8 dereferenceable(12296) %109, ptr noundef nonnull %.057)
  %110 = load ptr, ptr %107, align 8, !tbaa !27
  call void @_ZN13PolygonEngine4PushEP7GVertex(ptr noundef nonnull align 8 dereferenceable(12296) %110, ptr noundef nonnull %.058)
  %111 = load ptr, ptr %107, align 8, !tbaa !27
  call void @_ZN13PolygonEngine4PushEP7GVertex(ptr noundef nonnull align 8 dereferenceable(12296) %111, ptr noundef nonnull %.059)
  %112 = load ptr, ptr %107, align 8, !tbaa !27
  call void @_ZN13PolygonEngine4PushEP7GVertex(ptr noundef nonnull align 8 dereferenceable(12296) %112, ptr noundef nonnull %.060)
  %113 = getelementptr inbounds i8, ptr %0, i64 37396
  %114 = load i32, ptr %113, align 4, !tbaa !28
  switch i32 %114, label %121 [
    i32 0, label %115
    i32 1, label %116
    i32 2, label %117
  ]

115:                                              ; preds = %.critedge
  call void @_ZN20LocalGeometryManager8DoPointsEv(ptr noundef nonnull align 8 dereferenceable(37404) %0)
  br label %121

116:                                              ; preds = %.critedge
  call void @_ZN20LocalGeometryManager12DoClosedLineEv(ptr noundef nonnull align 8 dereferenceable(37404) %0)
  br label %121

117:                                              ; preds = %.critedge
  call void @_ZN20LocalGeometryManager9DoPolygonEv(ptr noundef nonnull align 8 dereferenceable(37404) %0)
  br label %121

118:                                              ; preds = %61
  %119 = getelementptr inbounds i8, ptr %0, i64 8648
  %120 = load ptr, ptr %119, align 8, !tbaa !27
  tail call void @_ZN13PolygonEngine4PushEP7GVertex(ptr noundef nonnull align 8 dereferenceable(12296) %120, ptr noundef nonnull %.0)
  br label %121

121:                                              ; preds = %74, %90, %117, %116, %115, %.critedge, %70, %118
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6GCoord3lodEf(ptr noundef nonnull align 4 dereferenceable(4), float noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7GVector3mldERS_R7GMatrix(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(64) ptr @_ZN20LocalGeometryManager9GetSingleEv(ptr noundef nonnull align 8 dereferenceable(37404)) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6GCoord3divES_(ptr noundef nonnull align 4 dereferenceable(4), float) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(36) ptr @_ZN20LocalGeometryManager11VAttributesEv(ptr noundef nonnull align 8 dereferenceable(37404)) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN13PolygonEngine4PushEP7GVertex(ptr noundef nonnull align 8 dereferenceable(12296), ptr noundef) local_unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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, !10, i64 37388}
!6 = !{!"_ZTS20LocalGeometryManager", !7, i64 0, !13, i64 8632, !14, i64 8640, !14, i64 8648, !15, i64 8656, !15, i64 8720, !11, i64 8784, !10, i64 15184, !11, i64 15188, !10, i64 17588, !11, i64 17592, !10, i64 23992, !15, i64 23996, !10, i64 24060, !16, i64 24064, !11, i64 36868, !10, i64 37380, !10, i64 37384, !10, i64 37388, !10, i64 37392, !10, i64 37396, !10, i64 37400}
!7 = !{!"_ZTS15GeometryManager", !8, i64 0}
!8 = !{!"_ZTS16GraphicProcessor", !9, i64 0, !14, i64 8624}
!9 = !{!"_ZTS16GraphicComponent", !10, i64 8, !10, i64 12, !11, i64 16, !10, i64 416, !13, i64 420, !14, i64 424, !11, i64 432}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTS5Flags", !10, i64 0}
!14 = !{!"any pointer", !11, i64 0}
!15 = !{!"_ZTS7GMatrix", !11, i64 0}
!16 = !{!"_ZTS11GVertexPool", !11, i64 0, !10, i64 12800}
!17 = !{!6, !10, i64 37380}
!18 = !{!6, !10, i64 37384}
!19 = !{!6, !10, i64 37392}
!20 = !{!21, !21, i64 0}
!21 = !{!"float", !11, i64 0}
!22 = !{!23, !10, i64 32}
!23 = !{!"_ZTS17GVertexAttributes", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32}
!24 = !{i64 0, i64 4, !25, i64 4, i64 4, !25, i64 8, i64 4, !25, i64 12, i64 4, !25, i64 16, i64 4, !25, i64 20, i64 4, !25, i64 24, i64 4, !25, i64 28, i64 4, !25, i64 32, i64 4, !25}
!25 = !{!10, !10, i64 0}
!26 = !{!6, !10, i64 37400}
!27 = !{!6, !14, i64 8648}
!28 = !{!6, !10, i64 37396}


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