; LLVM IR from Sonryle/JoePhys :: testbed/src/Scenes.ll (ZN5Scene6RenderEv)

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

%struct.Settings = type <{ i32, i32, i32, i32, i8, [3 x i8], float, float, i8, [3 x i8], %struct.vec2, i8, i8, i8, i8, i8, [3 x i8], float, float, float, float, i32, i32, i32, float, i8, [3 x i8] }>
%struct.vec2 = type { float, float }
%struct.Palette = type { [16 x %struct.colour] }
%struct.colour = type { float, float, float, float }
%struct.Renderer = type { ptr, ptr }
%struct.WindowManager = type <{ %struct.vec2, i32, i32, ptr, ptr, ptr, i8, i8, i8, i8, [4 x i8] }>
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.15" = type { ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%struct.Scene = type <{ ptr, %struct.SceneColours, ptr, ptr, i32, [4 x i8] }>
%struct.SceneColours = type { i32, i32, i32, i32, i32, i32 }
%struct.World = type <{ %"class.std::vector", %"class.std::unordered_map", i32, i32, %struct.vec2, float, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Cluster *, std::allocator<Cluster *>>::_Vector_impl" }
%"struct.std::_Vector_base<Cluster *, std::allocator<Cluster *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Cluster *, std::allocator<Cluster *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Cluster *, std::allocator<Cluster *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%struct.Cluster = type { %"class.std::vector.5", %"class.std::vector.10" }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<Particle *, std::allocator<Particle *>>::_Vector_impl" }
%"struct.std::_Vector_base<Particle *, std::allocator<Particle *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Particle *, std::allocator<Particle *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Particle *, std::allocator<Particle *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<Spring *, std::allocator<Spring *>>::_Vector_impl" }
%"struct.std::_Vector_base<Spring *, std::allocator<Spring *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Spring *, std::allocator<Spring *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Spring *, std::allocator<Spring *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.Particle = type { i8, %struct.vec2, %struct.vec2, float, float, float, %struct.vec2, [2 x %struct.vec2] }
%struct.Spring = type { float, float, ptr, ptr }

@settings = external global %struct.Settings, align 4
@palette = external global %struct.Palette, align 4
@renderer = external global %struct.Renderer, align 8
@window_mgr = external global %struct.WindowManager, align 8

; 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: mustprogress uwtable
define dso_local void @_ZN5Scene6RenderEv(ptr noundef nonnull align 8 dereferenceable(52) %0) unnamed_addr #1 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca float, align 4
  %11 = alloca %struct.vec2, align 4
  %12 = alloca %struct.colour, align 4
  %13 = alloca %struct.colour, align 4
  %14 = alloca %struct.vec2, align 4
  %15 = alloca %struct.colour, align 4
  %16 = alloca %struct.colour, align 4
  %17 = alloca ptr, align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.15", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.15", align 8
  %20 = alloca ptr, align 8
  %21 = alloca %struct.vec2, align 4
  %22 = alloca %struct.vec2, align 4
  %23 = alloca %struct.colour, align 4
  %24 = alloca %struct.vec2, align 4
  %25 = alloca %struct.vec2, align 4
  %26 = alloca %struct.colour, align 4
  %27 = alloca %struct.colour, align 4
  %28 = alloca %struct.vec2, align 4
  %29 = alloca %struct.colour, align 4
  %30 = alloca ptr, align 8
  %31 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %32 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca float, align 4
  %37 = alloca float, align 4
  %38 = alloca float, align 4
  %39 = alloca float, align 4
  %40 = alloca float, align 4
  %41 = alloca float, align 4
  %42 = alloca %struct.colour, align 4
  %43 = alloca %struct.colour, align 4
  %44 = alloca %struct.vec2, align 4
  %45 = alloca %struct.vec2, align 4
  %46 = alloca %struct.vec2, align 4
  %47 = alloca %struct.colour, align 4
  %48 = alloca %struct.vec2, align 4
  %49 = alloca %struct.vec2, align 4
  %50 = alloca %struct.vec2, align 4
  %51 = alloca %struct.colour, align 4
  %52 = alloca %struct.vec2, align 4
  %53 = alloca %struct.vec2, align 4
  %54 = alloca %struct.colour, align 4
  %55 = alloca %struct.vec2, align 4
  %56 = alloca %struct.vec2, align 4
  %57 = alloca %struct.colour, align 4
  %58 = alloca %struct.vec2, align 4
  %59 = alloca %struct.vec2, align 4
  %60 = alloca %struct.colour, align 4
  %61 = alloca %struct.vec2, align 4
  %62 = alloca %struct.vec2, align 4
  %63 = alloca %struct.colour, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %64 = load ptr, ptr %2, align 8
  %65 = getelementptr inbounds %struct.Scene, ptr %64, i32 0, i32 2
  %66 = load ptr, ptr %65, align 8, !tbaa !9
  %67 = icmp eq ptr %66, null
  br i1 %67, label %68, label %69

68:                                               ; preds = %1
  br label %324

69:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 0, ptr %3, align 4, !tbaa !13
  br label %70

70:                                               ; preds = %193, %69
  %71 = load i32, ptr %3, align 4, !tbaa !13
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds %struct.Scene, ptr %64, i32 0, i32 2
  %74 = load ptr, ptr %73, align 8, !tbaa !9
  %75 = getelementptr inbounds %struct.World, ptr %74, i32 0, i32 0
  %76 = call noundef i64 @_ZNKSt6vectorIP7ClusterSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %75) #6
  %77 = icmp ult i64 %72, %76
  br i1 %77, label %79, label %78

78:                                               ; preds = %70
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %196

79:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %80 = getelementptr inbounds %struct.Scene, ptr %64, i32 0, i32 2
  %81 = load ptr, ptr %80, align 8, !tbaa !9
  %82 = getelementptr inbounds %struct.World, ptr %81, i32 0, i32 0
  %83 = load i32, ptr %3, align 4, !tbaa !13
  %84 = sext i32 %83 to i64
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP7ClusterSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %82, i64 noundef %84) #6
  %86 = load ptr, ptr %85, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.Cluster, ptr %86, i32 0, i32 0
  store ptr %87, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %88 = load ptr, ptr %5, align 8, !tbaa !5
  %89 = call ptr @_ZNSt6vectorIP8ParticleSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %88) #6
  %90 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %6, i32 0, i32 0
  store ptr %89, ptr %90, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = call ptr @_ZNSt6vectorIP8ParticleSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %91) #6
  %93 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %7, i32 0, i32 0
  store ptr %92, ptr %93, align 8
  br label %94

94:                                               ; preds = %144, %79
  %95 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP8ParticleSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %95, label %97, label %96

96:                                               ; preds = %94
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %146

97:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP8ParticleSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %99 = load ptr, ptr %98, align 8, !tbaa !5
  store ptr %99, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %100 = load i32, ptr getelementptr inbounds (%struct.Settings, ptr @settings, i32 0, i32 2), align 4, !tbaa !14
  store i32 %100, ptr %9, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %101 = load ptr, ptr %8, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.Particle, ptr %101, i32 0, i32 4
  %103 = load float, ptr %102, align 4, !tbaa !19
  store float %103, ptr %10, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %104 = load ptr, ptr %8, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.Particle, ptr %104, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 4 %105, i64 8, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  call void @_ZN6colourC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %12)
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #6
  call void @_ZN6colourC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %13)
  %106 = load ptr, ptr %8, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.Particle, ptr %106, i32 0, i32 0
  %108 = load i8, ptr %107, align 4, !tbaa !23, !range !24, !noundef !25
  %109 = trunc i8 %108 to i1
  br i1 %109, label %110, label %121

110:                                              ; preds = %97
  %111 = getelementptr inbounds %struct.Scene, ptr %64, i32 0, i32 1
  %112 = getelementptr inbounds %struct.SceneColours, ptr %111, i32 0, i32 4
  %113 = load i32, ptr %112, align 8, !tbaa !26
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [16 x %struct.colour], ptr @palette, i64 0, i64 %114
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %115, i64 16, i1 false), !tbaa.struct !27
  %116 = getelementptr inbounds %struct.Scene, ptr %64, i32 0, i32 1
  %117 = getelementptr inbounds %struct.SceneColours, ptr %116, i32 0, i32 5
  %118 = load i32, ptr %117, align 4, !tbaa !28
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [16 x %struct.colour], ptr @palette, i64 0, i64 %119
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %120, i64 16, i1 false), !tbaa.struct !27
  br label %132

121:                                              ; preds = %97
  %122 = getelementptr inbounds %struct.Scene, ptr %64, i32 0, i32 1
  %123 = getelementptr inbounds %struct.SceneColours, ptr %122, i32 0, i32 2
  %124 = load i32, ptr %123, align 8, !tbaa !29
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [16 x %struct.colour], ptr @palette, i64 0, i64 %125
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %126, i64 16, i1 false), !tbaa.struct !27
  %127 = getelementptr inbounds %struct.Scene, ptr %64, i32 0, i32 1
  %128 = getelementptr inbounds %struct.SceneColours, ptr %127, i32 0, i32 3
  %129 = load i32, ptr %128, align 4, !tbaa !30
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds [16 x %struct.colour], ptr @palette, i64 0, i64 %130
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %131, i64 16, i1 false), !tbaa.struct !27
  br label %132

132:                                              ; preds = %121, %110
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !22
  %133 = load float, ptr %10, align 4, !tbaa !21
  %134 = load i32, ptr %9, align 4, !tbaa !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %12, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %13, i64 16, i1 false), !tbaa.struct !27
  %135 = load <2 x float>, ptr %14, align 4
  %136 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %15, i32 0, i32 0
  %137 = load <2 x float>, ptr %136, align 4
  %138 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %15, i32 0, i32 1
  %139 = load <2 x float>, ptr %138, align 4
  %140 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %16, i32 0, i32 0
  %141 = load <2 x float>, ptr %140, align 4
  %142 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %16, i32 0, i32 1
  %143 = load <2 x float>, ptr %142, align 4
  call void @_ZN8Renderer14AddSolidCircleE4vec2fi6colourS1_(ptr noundef nonnull align 8 dereferenceable(16) @renderer, <2 x float> %135, float noundef %133, i32 noundef %134, <2 x float> %137, <2 x float> %139, <2 x float> %141, <2 x float> %143)
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %144

144:                                              ; preds = %132
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP8ParticleSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  br label %94

146:                                              ; preds = %96
  %147 = load i8, ptr getelementptr inbounds (%struct.Settings, ptr @settings, i32 0, i32 13), align 2, !tbaa !31, !range !24, !noundef !25
  %148 = trunc i8 %147 to i1
  br i1 %148, label %149, label %192

149:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %150 = getelementptr inbounds %struct.Scene, ptr %64, i32 0, i32 2
  %151 = load ptr, ptr %150, align 8, !tbaa !9
  %152 = getelementptr inbounds %struct.World, ptr %151, i32 0, i32 0
  %153 = load i32, ptr %3, align 4, !tbaa !13
  %154 = sext i32 %153 to i64
  %155 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP7ClusterSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %152, i64 noundef %154) #6
  %156 = load ptr, ptr %155, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.Cluster, ptr %156, i32 0, i32 1
  store ptr %157, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %158 = load ptr, ptr %17, align 8, !tbaa !5
  %159 = call ptr @_ZNSt6vectorIP6SpringSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %158) #6
  %160 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.15", ptr %18, i32 0, i32 0
  store ptr %159, ptr %160, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %161 = load ptr, ptr %17, align 8, !tbaa !5
  %162 = call ptr @_ZNSt6vectorIP6SpringSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %161) #6
  %163 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.15", ptr %19, i32 0, i32 0
  store ptr %162, ptr %163, align 8
  br label %164

164:                                              ; preds = %189, %149
  %165 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP6SpringSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  br i1 %165, label %167, label %166

166:                                              ; preds = %164
  store i32 7, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %191

167:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %168 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP6SpringSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %169 = load ptr, ptr %168, align 8, !tbaa !5
  store ptr %169, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %170 = load ptr, ptr %20, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.Spring, ptr %170, i32 0, i32 3
  %172 = load ptr, ptr %171, align 8, !tbaa !32
  %173 = getelementptr inbounds %struct.Particle, ptr %172, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 4 %173, i64 8, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %174 = load ptr, ptr %20, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.Spring, ptr %174, i32 0, i32 2
  %176 = load ptr, ptr %175, align 8, !tbaa !34
  %177 = getelementptr inbounds %struct.Particle, ptr %176, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %177, i64 8, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #6
  %178 = getelementptr inbounds %struct.Scene, ptr %64, i32 0, i32 1
  %179 = getelementptr inbounds %struct.SceneColours, ptr %178, i32 0, i32 1
  %180 = load i32, ptr %179, align 4, !tbaa !35
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds [16 x %struct.colour], ptr @palette, i64 0, i64 %181
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %182, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 4 %21, i64 8, i1 false), !tbaa.struct !22
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %22, i64 8, i1 false), !tbaa.struct !22
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %23, i64 16, i1 false), !tbaa.struct !27
  %183 = load <2 x float>, ptr %24, align 4
  %184 = load <2 x float>, ptr %25, align 4
  %185 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %26, i32 0, i32 0
  %186 = load <2 x float>, ptr %185, align 4
  %187 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %26, i32 0, i32 1
  %188 = load <2 x float>, ptr %187, align 4
  call void @_ZN8Renderer7AddLineE4vec2S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) @renderer, <2 x float> %183, <2 x float> %184, <2 x float> %186, <2 x float> %188)
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %189

189:                                              ; preds = %167
  %190 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP6SpringSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  br label %164

191:                                              ; preds = %166
  br label %192

192:                                              ; preds = %191, %146
  br label %193

193:                                              ; preds = %192
  %194 = load i32, ptr %3, align 4, !tbaa !13
  %195 = add nsw i32 %194, 1
  store i32 %195, ptr %3, align 4, !tbaa !13
  br label %70, !llvm.loop !36

196:                                              ; preds = %78
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #6
  call void @_ZN6colourC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %27, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %197 = getelementptr inbounds %struct.Scene, ptr %64, i32 0, i32 3
  %198 = load ptr, ptr %197, align 8, !tbaa !38
  %199 = icmp ne ptr %198, null
  br i1 %199, label %200, label %218

200:                                              ; preds = %196
  %201 = load i8, ptr getelementptr inbounds (%struct.WindowManager, ptr @window_mgr, i32 0, i32 8), align 2, !tbaa !39, !range !24, !noundef !25
  %202 = trunc i8 %201 to i1
  br i1 %202, label %218, label %203

203:                                              ; preds = %200
  %204 = getelementptr inbounds %struct.Scene, ptr %64, i32 0, i32 3
  %205 = load ptr, ptr %204, align 8, !tbaa !38
  %206 = getelementptr inbounds %struct.Particle, ptr %205, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %206, i64 8, i1 false), !tbaa.struct !22
  %207 = getelementptr inbounds %struct.Scene, ptr %64, i32 0, i32 3
  %208 = load ptr, ptr %207, align 8, !tbaa !38
  %209 = getelementptr inbounds %struct.Particle, ptr %208, i32 0, i32 4
  %210 = load float, ptr %209, align 4, !tbaa !19
  %211 = fmul float %210, 0x3FF3333340000000
  %212 = load i32, ptr getelementptr inbounds (%struct.Settings, ptr @settings, i32 0, i32 2), align 4, !tbaa !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %27, i64 16, i1 false), !tbaa.struct !27
  %213 = load <2 x float>, ptr %28, align 4
  %214 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %29, i32 0, i32 0
  %215 = load <2 x float>, ptr %214, align 4
  %216 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %29, i32 0, i32 1
  %217 = load <2 x float>, ptr %216, align 4
  call void @_ZN8Renderer9AddCircleE4vec2fi6colour(ptr noundef nonnull align 8 dereferenceable(16) @renderer, <2 x float> %213, float noundef %211, i32 noundef %212, <2 x float> %215, <2 x float> %217)
  br label %218

218:                                              ; preds = %203, %200, %196
  %219 = load i8, ptr getelementptr inbounds (%struct.Settings, ptr @settings, i32 0, i32 25), align 4, !tbaa !41, !range !24, !noundef !25
  %220 = trunc i8 %219 to i1
  br i1 %220, label %221, label %323

221:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %222 = getelementptr inbounds %struct.Scene, ptr %64, i32 0, i32 2
  %223 = load ptr, ptr %222, align 8, !tbaa !9
  %224 = getelementptr inbounds %struct.World, ptr %223, i32 0, i32 1
  store ptr %224, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %225 = load ptr, ptr %30, align 8, !tbaa !5
  %226 = call ptr @_ZNSt13unordered_mapIlSt6vectorIP8ParticleSaIS2_EESt4hashIlESt8equal_toIlESaISt4pairIKlS4_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %225) #6
  %227 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %31, i32 0, i32 0
  %228 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %227, i32 0, i32 0
  store ptr %226, ptr %228, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %229 = load ptr, ptr %30, align 8, !tbaa !5
  %230 = call ptr @_ZNSt13unordered_mapIlSt6vectorIP8ParticleSaIS2_EESt4hashIlESt8equal_toIlESaISt4pairIKlS4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %229) #6
  %231 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %32, i32 0, i32 0
  %232 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %231, i32 0, i32 0
  store ptr %230, ptr %232, align 8
  br label %233

233:                                              ; preds = %320, %221
  %234 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKlSt6vectorIP8ParticleSaIS5_EEELb0EEESB_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #6
  br i1 %234, label %236, label %235

235:                                              ; preds = %233
  store i32 9, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %322

236:                                              ; preds = %233
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %237 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKlSt6vectorIP8ParticleSaIS5_EEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #6
  store ptr %237, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %238 = load ptr, ptr %33, align 8, !tbaa !5
  %239 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EKlSt6vectorIP8ParticleSaIS3_EEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERSA_(ptr noundef nonnull align 8 dereferenceable(32) %238) #6
  store ptr %239, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  %240 = load ptr, ptr %33, align 8, !tbaa !5
  %241 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZSt3getILm1EKlSt6vectorIP8ParticleSaIS3_EEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERSA_(ptr noundef nonnull align 8 dereferenceable(32) %240) #6
  store ptr %241, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #6
  %242 = getelementptr inbounds %struct.Scene, ptr %64, i32 0, i32 2
  %243 = load ptr, ptr %242, align 8, !tbaa !9
  %244 = load ptr, ptr %34, align 8, !tbaa !5
  %245 = load i64, ptr %244, align 8, !tbaa !42
  call void @_ZN5World20HashKeyToChunkCoordsElPfS0_(ptr noundef nonnull align 8 dereferenceable(100) %243, i64 noundef %245, ptr noundef %36, ptr noundef %37)
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #6
  %246 = load float, ptr %36, align 4, !tbaa !21
  store float %246, ptr %38, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #6
  %247 = load float, ptr %36, align 4, !tbaa !21
  %248 = load float, ptr getelementptr inbounds (%struct.Settings, ptr @settings, i32 0, i32 24), align 4, !tbaa !44
  %249 = fadd float %247, %248
  store float %249, ptr %39, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #6
  %250 = load float, ptr %37, align 4, !tbaa !21
  %251 = load float, ptr getelementptr inbounds (%struct.Settings, ptr @settings, i32 0, i32 24), align 4, !tbaa !44
  %252 = fadd float %250, %251
  store float %252, ptr %40, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #6
  %253 = load float, ptr %37, align 4, !tbaa !21
  store float %253, ptr %41, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #6
  call void @_ZN6colourC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %42, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 2.500000e-01)
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #6
  call void @_ZN6colourC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %43, float noundef 0x3FD3333340000000, float noundef 0x3FD3333340000000, float noundef 0.000000e+00, float noundef 1.000000e+00)
  %254 = load float, ptr %38, align 4, !tbaa !21
  %255 = load float, ptr %40, align 4, !tbaa !21
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %44, float noundef %254, float noundef %255)
  %256 = load float, ptr %39, align 4, !tbaa !21
  %257 = load float, ptr %40, align 4, !tbaa !21
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %45, float noundef %256, float noundef %257)
  %258 = load float, ptr %38, align 4, !tbaa !21
  %259 = load float, ptr %41, align 4, !tbaa !21
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %46, float noundef %258, float noundef %259)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %47, ptr align 4 %42, i64 16, i1 false), !tbaa.struct !27
  %260 = load <2 x float>, ptr %44, align 4
  %261 = load <2 x float>, ptr %45, align 4
  %262 = load <2 x float>, ptr %46, align 4
  %263 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %47, i32 0, i32 0
  %264 = load <2 x float>, ptr %263, align 4
  %265 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %47, i32 0, i32 1
  %266 = load <2 x float>, ptr %265, align 4
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) @renderer, <2 x float> %260, <2 x float> %261, <2 x float> %262, <2 x float> %264, <2 x float> %266)
  %267 = load float, ptr %39, align 4, !tbaa !21
  %268 = load float, ptr %40, align 4, !tbaa !21
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %48, float noundef %267, float noundef %268)
  %269 = load float, ptr %38, align 4, !tbaa !21
  %270 = load float, ptr %41, align 4, !tbaa !21
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %49, float noundef %269, float noundef %270)
  %271 = load float, ptr %39, align 4, !tbaa !21
  %272 = load float, ptr %41, align 4, !tbaa !21
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %50, float noundef %271, float noundef %272)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 4 %42, i64 16, i1 false), !tbaa.struct !27
  %273 = load <2 x float>, ptr %48, align 4
  %274 = load <2 x float>, ptr %49, align 4
  %275 = load <2 x float>, ptr %50, align 4
  %276 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %51, i32 0, i32 0
  %277 = load <2 x float>, ptr %276, align 4
  %278 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %51, i32 0, i32 1
  %279 = load <2 x float>, ptr %278, align 4
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) @renderer, <2 x float> %273, <2 x float> %274, <2 x float> %275, <2 x float> %277, <2 x float> %279)
  %280 = load float, ptr %38, align 4, !tbaa !21
  %281 = load float, ptr %40, align 4, !tbaa !21
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %52, float noundef %280, float noundef %281)
  %282 = load float, ptr %39, align 4, !tbaa !21
  %283 = load float, ptr %40, align 4, !tbaa !21
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %53, float noundef %282, float noundef %283)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 4 %43, i64 16, i1 false), !tbaa.struct !27
  %284 = load <2 x float>, ptr %52, align 4
  %285 = load <2 x float>, ptr %53, align 4
  %286 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %54, i32 0, i32 0
  %287 = load <2 x float>, ptr %286, align 4
  %288 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %54, i32 0, i32 1
  %289 = load <2 x float>, ptr %288, align 4
  call void @_ZN8Renderer7AddLineE4vec2S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) @renderer, <2 x float> %284, <2 x float> %285, <2 x float> %287, <2 x float> %289)
  %290 = load float, ptr %38, align 4, !tbaa !21
  %291 = load float, ptr %40, align 4, !tbaa !21
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %55, float noundef %290, float noundef %291)
  %292 = load float, ptr %38, align 4, !tbaa !21
  %293 = load float, ptr %41, align 4, !tbaa !21
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %56, float noundef %292, float noundef %293)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %57, ptr align 4 %43, i64 16, i1 false), !tbaa.struct !27
  %294 = load <2 x float>, ptr %55, align 4
  %295 = load <2 x float>, ptr %56, align 4
  %296 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %57, i32 0, i32 0
  %297 = load <2 x float>, ptr %296, align 4
  %298 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %57, i32 0, i32 1
  %299 = load <2 x float>, ptr %298, align 4
  call void @_ZN8Renderer7AddLineE4vec2S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) @renderer, <2 x float> %294, <2 x float> %295, <2 x float> %297, <2 x float> %299)
  %300 = load float, ptr %39, align 4, !tbaa !21
  %301 = load float, ptr %41, align 4, !tbaa !21
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %58, float noundef %300, float noundef %301)
  %302 = load float, ptr %39, align 4, !tbaa !21
  %303 = load float, ptr %40, align 4, !tbaa !21
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %59, float noundef %302, float noundef %303)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %60, ptr align 4 %43, i64 16, i1 false), !tbaa.struct !27
  %304 = load <2 x float>, ptr %58, align 4
  %305 = load <2 x float>, ptr %59, align 4
  %306 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %60, i32 0, i32 0
  %307 = load <2 x float>, ptr %306, align 4
  %308 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %60, i32 0, i32 1
  %309 = load <2 x float>, ptr %308, align 4
  call void @_ZN8Renderer7AddLineE4vec2S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) @renderer, <2 x float> %304, <2 x float> %305, <2 x float> %307, <2 x float> %309)
  %310 = load float, ptr %39, align 4, !tbaa !21
  %311 = load float, ptr %41, align 4, !tbaa !21
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %61, float noundef %310, float noundef %311)
  %312 = load float, ptr %38, align 4, !tbaa !21
  %313 = load float, ptr %41, align 4, !tbaa !21
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %62, float noundef %312, float noundef %313)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %63, ptr align 4 %43, i64 16, i1 false), !tbaa.struct !27
  %314 = load <2 x float>, ptr %61, align 4
  %315 = load <2 x float>, ptr %62, align 4
  %316 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %63, i32 0, i32 0
  %317 = load <2 x float>, ptr %316, align 4
  %318 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %63, i32 0, i32 1
  %319 = load <2 x float>, ptr %318, align 4
  call void @_ZN8Renderer7AddLineE4vec2S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) @renderer, <2 x float> %314, <2 x float> %315, <2 x float> %317, <2 x float> %319)
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  br label %320

320:                                              ; preds = %236
  %321 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKlSt6vectorIP8ParticleSaIS5_EEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #6
  br label %233

322:                                              ; preds = %235
  br label %323

323:                                              ; preds = %322, %218
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #6
  br label %324

324:                                              ; preds = %323, %68
  ret void
}

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPP8ParticleSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

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

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

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

declare void @_ZN8Renderer14AddSolidCircleE4vec2fi6colourS1_(ptr noundef nonnull align 8 dereferenceable(16), <2 x float>, float noundef, i32 noundef, <2 x float>, <2 x float>, <2 x float>, <2 x float>) #5

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPP6SpringSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

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

declare void @_ZN8Renderer7AddLineE4vec2S0_6colour(ptr noundef nonnull align 8 dereferenceable(16), <2 x float>, <2 x float>, <2 x float>, <2 x float>) #5

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

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

declare void @_ZN8Renderer9AddCircleE4vec2fi6colour(ptr noundef nonnull align 8 dereferenceable(16), <2 x float>, float noundef, i32 noundef, <2 x float>, <2 x float>) #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKlSt6vectorIP8ParticleSaIS5_EEELb0EEESB_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

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

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

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

declare void @_ZN5World20HashKeyToChunkCoordsElPfS0_(ptr noundef nonnull align 8 dereferenceable(100), i64 noundef, ptr noundef, ptr noundef) #5

declare void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16), <2 x float>, <2 x float>, <2 x float>, <2 x float>, <2 x float>) #5

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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, !6, i64 32}
!10 = !{!"_ZTS5Scene", !11, i64 8, !6, i64 32, !6, i64 40, !12, i64 48}
!11 = !{!"_ZTS12SceneColours", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20}
!12 = !{!"int", !7, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !12, i64 8}
!15 = !{!"_ZTS8Settings", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !16, i64 16, !17, i64 20, !17, i64 24, !16, i64 28, !18, i64 32, !16, i64 40, !16, i64 41, !16, i64 42, !16, i64 43, !16, i64 44, !17, i64 48, !17, i64 52, !17, i64 56, !17, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !17, i64 76, !16, i64 80}
!16 = !{!"bool", !7, i64 0}
!17 = !{!"float", !7, i64 0}
!18 = !{!"_ZTS4vec2", !17, i64 0, !17, i64 4}
!19 = !{!20, !17, i64 24}
!20 = !{!"_ZTS8Particle", !16, i64 0, !18, i64 4, !18, i64 12, !17, i64 20, !17, i64 24, !17, i64 28, !18, i64 32, !7, i64 40}
!21 = !{!17, !17, i64 0}
!22 = !{i64 0, i64 4, !21, i64 4, i64 4, !21}
!23 = !{!20, !16, i64 0}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = !{!10, !12, i64 24}
!27 = !{i64 0, i64 4, !21, i64 4, i64 4, !21, i64 8, i64 4, !21, i64 12, i64 4, !21}
!28 = !{!10, !12, i64 28}
!29 = !{!10, !12, i64 16}
!30 = !{!10, !12, i64 20}
!31 = !{!15, !16, i64 42}
!32 = !{!33, !6, i64 16}
!33 = !{!"_ZTS6Spring", !17, i64 0, !17, i64 4, !6, i64 8, !6, i64 16}
!34 = !{!33, !6, i64 8}
!35 = !{!10, !12, i64 12}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = !{!10, !6, i64 40}
!39 = !{!40, !16, i64 42}
!40 = !{!"_ZTS13WindowManager", !18, i64 0, !12, i64 8, !12, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !16, i64 40, !16, i64 41, !16, i64 42, !16, i64 43}
!41 = !{!15, !16, i64 80}
!42 = !{!43, !43, i64 0}
!43 = !{!"long", !7, i64 0}
!44 = !{!15, !17, i64 76}


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

%struct.Settings = type <{ i32, i32, i32, i32, i8, [3 x i8], float, float, i8, [3 x i8], %struct.vec2, i8, i8, i8, i8, i8, [3 x i8], float, float, float, float, i32, i32, i32, float, i8, [3 x i8] }>
%struct.vec2 = type { float, float }
%struct.Palette = type { [16 x %struct.colour] }
%struct.colour = type { float, float, float, float }
%struct.Renderer = type { ptr, ptr }
%struct.WindowManager = type <{ %struct.vec2, i32, i32, ptr, ptr, ptr, i8, i8, i8, i8, [4 x i8] }>
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.15" = type { ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }

@settings = external local_unnamed_addr global %struct.Settings, align 4
@palette = external local_unnamed_addr global %struct.Palette, align 4
@renderer = external global %struct.Renderer, align 8
@window_mgr = external local_unnamed_addr global %struct.WindowManager, align 8

; 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: mustprogress uwtable
define dso_local void @_ZN5Scene6RenderEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(52) %0) unnamed_addr #1 align 2 {
  %2 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %3 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %4 = alloca %struct.colour, align 8
  %5 = alloca %struct.colour, align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.15", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.15", align 8
  %8 = alloca %struct.colour, align 8
  %9 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %10 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca %struct.colour, align 8
  %14 = alloca %struct.colour, align 8
  %15 = alloca %struct.vec2, align 8
  %16 = alloca %struct.vec2, align 8
  %17 = alloca %struct.vec2, align 8
  %18 = alloca %struct.vec2, align 8
  %19 = alloca %struct.vec2, align 8
  %20 = alloca %struct.vec2, align 8
  %21 = alloca %struct.vec2, align 8
  %22 = alloca %struct.vec2, align 8
  %23 = alloca %struct.vec2, align 8
  %24 = alloca %struct.vec2, align 8
  %25 = alloca %struct.vec2, align 8
  %26 = alloca %struct.vec2, align 8
  %27 = alloca %struct.vec2, align 8
  %28 = alloca %struct.vec2, align 8
  %29 = getelementptr inbounds i8, ptr %0, i64 32
  %30 = load ptr, ptr %29, align 8, !tbaa !5
  %31 = icmp eq ptr %30, null
  br i1 %31, label %132, label %.preheader

.preheader:                                       ; preds = %1
  %32 = tail call noundef i64 @_ZNKSt6vectorIP7ClusterSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #6
  %.not85 = icmp eq i64 %32, 0
  br i1 %.not85, label %._crit_edge81, label %.lr.ph80

.lr.ph80:                                         ; preds = %.preheader
  %.sroa.260.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  %.sroa.258.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  %33 = getelementptr inbounds i8, ptr %0, i64 12
  br label %36

._crit_edge81:                                    ; preds = %82, %.preheader
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  call void @_ZN6colourC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %8, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %34 = getelementptr inbounds i8, ptr %0, i64 40
  %35 = load ptr, ptr %34, align 8, !tbaa !12
  %.not = icmp eq ptr %35, null
  br i1 %.not, label %95, label %86

36:                                               ; preds = %.lr.ph80, %82
  %indvars.iv = phi i64 [ 0, %.lr.ph80 ], [ %indvars.iv.next, %82 ]
  %37 = load ptr, ptr %29, align 8, !tbaa !5
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP7ClusterSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %indvars.iv) #6
  %39 = load ptr, ptr %38, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  %40 = call ptr @_ZNSt6vectorIP8ParticleSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  store ptr %40, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %41 = call ptr @_ZNSt6vectorIP8ParticleSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  store ptr %41, ptr %3, align 8
  %42 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP8ParticleSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  br i1 %42, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %36
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  %43 = load i8, ptr getelementptr inbounds (i8, ptr @settings, i64 42), align 2, !tbaa !14, !range !19, !noundef !20
  %44 = trunc nuw i8 %43 to i1
  br i1 %44, label %61, label %82

.lr.ph:                                           ; preds = %36, %.lr.ph
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP8ParticleSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #6
  %46 = load ptr, ptr %45, align 8, !tbaa !13
  %47 = load i32, ptr getelementptr inbounds (i8, ptr @settings, i64 8), align 4, !tbaa !21
  %48 = getelementptr inbounds i8, ptr %46, i64 24
  %49 = load float, ptr %48, align 4, !tbaa !22
  %50 = getelementptr inbounds i8, ptr %46, i64 4
  %.sroa.062.0.copyload = load <2 x float>, ptr %50, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  call void @_ZN6colourC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %4)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @_ZN6colourC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %5)
  %51 = load i8, ptr %46, align 4, !tbaa !24, !range !19, !noundef !20
  %52 = trunc nuw i8 %51 to i1
  %..v = select i1 %52, i64 24, i64 16
  %. = getelementptr inbounds i8, ptr %0, i64 %..v
  %.91.v = select i1 %52, i64 28, i64 20
  %.91 = getelementptr inbounds i8, ptr %0, i64 %.91.v
  %53 = load i32, ptr %., align 8, !tbaa !25
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [16 x %struct.colour], ptr @palette, i64 0, i64 %54
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(16) %55, i64 16, i1 false)
  %56 = load i32, ptr %.91, align 4, !tbaa !25
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [16 x %struct.colour], ptr @palette, i64 0, i64 %57
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(16) %58, i64 16, i1 false)
  %.sroa.059.0.copyload = load <2 x float>, ptr %4, align 8
  %.sroa.260.0.copyload = load <2 x float>, ptr %.sroa.260.0..sroa_idx, align 8
  %.sroa.057.0.copyload = load <2 x float>, ptr %5, align 8
  %.sroa.258.0.copyload = load <2 x float>, ptr %.sroa.258.0..sroa_idx, align 8
  call void @_ZN8Renderer14AddSolidCircleE4vec2fi6colourS1_(ptr noundef nonnull align 8 dereferenceable(16) @renderer, <2 x float> %.sroa.062.0.copyload, float noundef %49, i32 noundef %47, <2 x float> %.sroa.059.0.copyload, <2 x float> %.sroa.260.0.copyload, <2 x float> %.sroa.057.0.copyload, <2 x float> %.sroa.258.0.copyload)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP8ParticleSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #6
  %60 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP8ParticleSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  br i1 %60, label %.lr.ph, label %._crit_edge

61:                                               ; preds = %._crit_edge
  %62 = load ptr, ptr %29, align 8, !tbaa !5
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP7ClusterSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %indvars.iv) #6
  %64 = load ptr, ptr %63, align 8, !tbaa !13
  %65 = getelementptr inbounds i8, ptr %64, i64 24
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %66 = call ptr @_ZNSt6vectorIP6SpringSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #6
  store ptr %66, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %67 = call ptr @_ZNSt6vectorIP6SpringSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #6
  store ptr %67, ptr %7, align 8
  %68 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP6SpringSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %68, label %.lr.ph77, label %._crit_edge78

._crit_edge78:                                    ; preds = %.lr.ph77, %61
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %82

.lr.ph77:                                         ; preds = %61, %.lr.ph77
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP6SpringSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %70 = load ptr, ptr %69, align 8, !tbaa !13
  %71 = getelementptr inbounds i8, ptr %70, i64 16
  %72 = load ptr, ptr %71, align 8, !tbaa !26
  %73 = getelementptr inbounds i8, ptr %72, i64 4
  %.sroa.052.0.copyload = load <2 x float>, ptr %73, align 4
  %74 = getelementptr inbounds i8, ptr %70, i64 8
  %75 = load ptr, ptr %74, align 8, !tbaa !28
  %76 = getelementptr inbounds i8, ptr %75, i64 4
  %.sroa.051.0.copyload = load <2 x float>, ptr %76, align 4
  %77 = load i32, ptr %33, align 4, !tbaa !29
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [16 x %struct.colour], ptr @palette, i64 0, i64 %78
  %.sroa.050.0.copyload = load <2 x float>, ptr %79, align 4
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %79, i64 8
  %.sroa.4.0.copyload = load <2 x float>, ptr %.sroa.4.0..sroa_idx, align 4
  call void @_ZN8Renderer7AddLineE4vec2S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) @renderer, <2 x float> %.sroa.052.0.copyload, <2 x float> %.sroa.051.0.copyload, <2 x float> %.sroa.050.0.copyload, <2 x float> %.sroa.4.0.copyload)
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP6SpringSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %81 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP6SpringSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %81, label %.lr.ph77, label %._crit_edge78

82:                                               ; preds = %._crit_edge, %._crit_edge78
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %83 = load ptr, ptr %29, align 8, !tbaa !5
  %84 = call noundef i64 @_ZNKSt6vectorIP7ClusterSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %83) #6
  %85 = icmp ugt i64 %84, %indvars.iv.next
  br i1 %85, label %36, label %._crit_edge81, !llvm.loop !30

86:                                               ; preds = %._crit_edge81
  %87 = load i8, ptr getelementptr inbounds (i8, ptr @window_mgr, i64 42), align 2, !tbaa !32, !range !19, !noundef !20
  %88 = trunc nuw i8 %87 to i1
  br i1 %88, label %95, label %89

89:                                               ; preds = %86
  %90 = getelementptr inbounds i8, ptr %35, i64 4
  %.sroa.045.0.copyload = load <2 x float>, ptr %90, align 4
  %91 = getelementptr inbounds i8, ptr %35, i64 24
  %92 = load float, ptr %91, align 4, !tbaa !22
  %93 = fmul float %92, 0x3FF3333340000000
  %94 = load i32, ptr getelementptr inbounds (i8, ptr @settings, i64 8), align 4, !tbaa !21
  %.sroa.043.0.copyload = load <2 x float>, ptr %8, align 8
  %.sroa.244.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 8
  %.sroa.244.0.copyload = load <2 x float>, ptr %.sroa.244.0..sroa_idx, align 8
  call void @_ZN8Renderer9AddCircleE4vec2fi6colour(ptr noundef nonnull align 8 dereferenceable(16) @renderer, <2 x float> %.sroa.045.0.copyload, float noundef %93, i32 noundef %94, <2 x float> %.sroa.043.0.copyload, <2 x float> %.sroa.244.0.copyload)
  br label %95

95:                                               ; preds = %89, %86, %._crit_edge81
  %96 = load i8, ptr getelementptr inbounds (i8, ptr @settings, i64 80), align 4, !tbaa !34, !range !19, !noundef !20
  %97 = trunc nuw i8 %96 to i1
  br i1 %97, label %98, label %131

98:                                               ; preds = %95
  %99 = load ptr, ptr %29, align 8, !tbaa !5
  %100 = getelementptr inbounds i8, ptr %99, i64 24
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %101 = call ptr @_ZNSt13unordered_mapIlSt6vectorIP8ParticleSaIS2_EESt4hashIlESt8equal_toIlESaISt4pairIKlS4_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %100) #6
  store ptr %101, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %102 = call ptr @_ZNSt13unordered_mapIlSt6vectorIP8ParticleSaIS2_EESt4hashIlESt8equal_toIlESaISt4pairIKlS4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %100) #6
  store ptr %102, ptr %10, align 8
  %103 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKlSt6vectorIP8ParticleSaIS5_EEELb0EEESB_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br i1 %103, label %.lr.ph83, label %._crit_edge84

.lr.ph83:                                         ; preds = %98
  %.sroa.210.0..sroa_idx = getelementptr inbounds i8, ptr %13, i64 8
  %.sroa.26.0..sroa_idx = getelementptr inbounds i8, ptr %14, i64 8
  br label %104

._crit_edge84:                                    ; preds = %104, %98
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  br label %131

104:                                              ; preds = %.lr.ph83, %104
  %105 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKlSt6vectorIP8ParticleSaIS5_EEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EKlSt6vectorIP8ParticleSaIS3_EEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERSA_(ptr noundef nonnull align 8 dereferenceable(32) %105) #6
  %107 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZSt3getILm1EKlSt6vectorIP8ParticleSaIS3_EEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERSA_(ptr noundef nonnull align 8 dereferenceable(32) %105) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #6
  %108 = load ptr, ptr %29, align 8, !tbaa !5
  %109 = load i64, ptr %106, align 8, !tbaa !35
  call void @_ZN5World20HashKeyToChunkCoordsElPfS0_(ptr noundef nonnull align 8 dereferenceable(100) %108, i64 noundef %109, ptr noundef nonnull %11, ptr noundef nonnull %12)
  %110 = load float, ptr %11, align 4, !tbaa !37
  %111 = load float, ptr getelementptr inbounds (i8, ptr @settings, i64 76), align 4, !tbaa !38
  %112 = fadd float %110, %111
  %113 = load float, ptr %12, align 4, !tbaa !37
  %114 = fadd float %111, %113
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #6
  call void @_ZN6colourC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %13, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 2.500000e-01)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #6
  call void @_ZN6colourC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %14, float noundef 0x3FD3333340000000, float noundef 0x3FD3333340000000, float noundef 0.000000e+00, float noundef 1.000000e+00)
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %110, float noundef %114)
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %112, float noundef %114)
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef %110, float noundef %113)
  %.sroa.09.0.copyload = load <2 x float>, ptr %13, align 8
  %.sroa.210.0.copyload = load <2 x float>, ptr %.sroa.210.0..sroa_idx, align 8
  %115 = load <2 x float>, ptr %15, align 8
  %116 = load <2 x float>, ptr %16, align 8
  %117 = load <2 x float>, ptr %17, align 8
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) @renderer, <2 x float> %115, <2 x float> %116, <2 x float> %117, <2 x float> %.sroa.09.0.copyload, <2 x float> %.sroa.210.0.copyload)
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef %112, float noundef %114)
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef %110, float noundef %113)
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef %112, float noundef %113)
  %.sroa.07.0.copyload = load <2 x float>, ptr %13, align 8
  %.sroa.28.0.copyload = load <2 x float>, ptr %.sroa.210.0..sroa_idx, align 8
  %118 = load <2 x float>, ptr %18, align 8
  %119 = load <2 x float>, ptr %19, align 8
  %120 = load <2 x float>, ptr %20, align 8
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) @renderer, <2 x float> %118, <2 x float> %119, <2 x float> %120, <2 x float> %.sroa.07.0.copyload, <2 x float> %.sroa.28.0.copyload)
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef %110, float noundef %114)
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %112, float noundef %114)
  %.sroa.05.0.copyload = load <2 x float>, ptr %14, align 8
  %.sroa.26.0.copyload = load <2 x float>, ptr %.sroa.26.0..sroa_idx, align 8
  %121 = load <2 x float>, ptr %21, align 8
  %122 = load <2 x float>, ptr %22, align 8
  call void @_ZN8Renderer7AddLineE4vec2S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) @renderer, <2 x float> %121, <2 x float> %122, <2 x float> %.sroa.05.0.copyload, <2 x float> %.sroa.26.0.copyload)
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %23, float noundef %110, float noundef %114)
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef %110, float noundef %113)
  %.sroa.03.0.copyload = load <2 x float>, ptr %14, align 8
  %.sroa.24.0.copyload = load <2 x float>, ptr %.sroa.26.0..sroa_idx, align 8
  %123 = load <2 x float>, ptr %23, align 8
  %124 = load <2 x float>, ptr %24, align 8
  call void @_ZN8Renderer7AddLineE4vec2S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) @renderer, <2 x float> %123, <2 x float> %124, <2 x float> %.sroa.03.0.copyload, <2 x float> %.sroa.24.0.copyload)
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %25, float noundef %112, float noundef %113)
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %26, float noundef %112, float noundef %114)
  %.sroa.01.0.copyload = load <2 x float>, ptr %14, align 8
  %.sroa.22.0.copyload = load <2 x float>, ptr %.sroa.26.0..sroa_idx, align 8
  %125 = load <2 x float>, ptr %25, align 8
  %126 = load <2 x float>, ptr %26, align 8
  call void @_ZN8Renderer7AddLineE4vec2S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) @renderer, <2 x float> %125, <2 x float> %126, <2 x float> %.sroa.01.0.copyload, <2 x float> %.sroa.22.0.copyload)
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef %112, float noundef %113)
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %28, float noundef %110, float noundef %113)
  %.sroa.0.0.copyload = load <2 x float>, ptr %14, align 8
  %.sroa.2.0.copyload = load <2 x float>, ptr %.sroa.26.0..sroa_idx, align 8
  %127 = load <2 x float>, ptr %27, align 8
  %128 = load <2 x float>, ptr %28, align 8
  call void @_ZN8Renderer7AddLineE4vec2S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) @renderer, <2 x float> %127, <2 x float> %128, <2 x float> %.sroa.0.0.copyload, <2 x float> %.sroa.2.0.copyload)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  %129 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKlSt6vectorIP8ParticleSaIS5_EEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  %130 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKlSt6vectorIP8ParticleSaIS5_EEELb0EEESB_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br i1 %130, label %104, label %._crit_edge84

131:                                              ; preds = %._crit_edge84, %95
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  br label %132

132:                                              ; preds = %1, %131
  ret void
}

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPP8ParticleSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

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

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

declare void @_ZN8Renderer14AddSolidCircleE4vec2fi6colourS1_(ptr noundef nonnull align 8 dereferenceable(16), <2 x float>, float noundef, i32 noundef, <2 x float>, <2 x float>, <2 x float>, <2 x float>) local_unnamed_addr #5

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPP6SpringSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

declare void @_ZN8Renderer7AddLineE4vec2S0_6colour(ptr noundef nonnull align 8 dereferenceable(16), <2 x float>, <2 x float>, <2 x float>, <2 x float>) local_unnamed_addr #5

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

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

declare void @_ZN8Renderer9AddCircleE4vec2fi6colour(ptr noundef nonnull align 8 dereferenceable(16), <2 x float>, float noundef, i32 noundef, <2 x float>, <2 x float>) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKlSt6vectorIP8ParticleSaIS5_EEELb0EEESB_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

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

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

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

declare void @_ZN5World20HashKeyToChunkCoordsElPfS0_(ptr noundef nonnull align 8 dereferenceable(100), i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

declare void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16), <2 x float>, <2 x float>, <2 x float>, <2 x float>, <2 x float>) local_unnamed_addr #5

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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, !11, i64 32}
!6 = !{!"_ZTS5Scene", !7, i64 8, !11, i64 32, !11, i64 40, !8, i64 48}
!7 = !{!"_ZTS12SceneColours", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!6, !11, i64 40}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !16, i64 42}
!15 = !{!"_ZTS8Settings", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !16, i64 16, !17, i64 20, !17, i64 24, !16, i64 28, !18, i64 32, !16, i64 40, !16, i64 41, !16, i64 42, !16, i64 43, !16, i64 44, !17, i64 48, !17, i64 52, !17, i64 56, !17, i64 60, !8, i64 64, !8, i64 68, !8, i64 72, !17, i64 76, !16, i64 80}
!16 = !{!"bool", !9, i64 0}
!17 = !{!"float", !9, i64 0}
!18 = !{!"_ZTS4vec2", !17, i64 0, !17, i64 4}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!15, !8, i64 8}
!22 = !{!23, !17, i64 24}
!23 = !{!"_ZTS8Particle", !16, i64 0, !18, i64 4, !18, i64 12, !17, i64 20, !17, i64 24, !17, i64 28, !18, i64 32, !9, i64 40}
!24 = !{!23, !16, i64 0}
!25 = !{!8, !8, i64 0}
!26 = !{!27, !11, i64 16}
!27 = !{!"_ZTS6Spring", !17, i64 0, !17, i64 4, !11, i64 8, !11, i64 16}
!28 = !{!27, !11, i64 8}
!29 = !{!6, !8, i64 12}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!33, !16, i64 42}
!33 = !{!"_ZTS13WindowManager", !18, i64 0, !8, i64 8, !8, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !16, i64 40, !16, i64 41, !16, i64 42, !16, i64 43}
!34 = !{!15, !16, i64 80}
!35 = !{!36, !36, i64 0}
!36 = !{!"long", !9, i64 0}
!37 = !{!17, !17, i64 0}
!38 = !{!15, !17, i64 76}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass