; LLVM IR from paroj/gltut :: Tut 11 Shinies/BlinnVsPhongLighting.ll (Z7displayv)

; 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.ProgramPairs = type { %struct.ProgramData, %struct.ProgramData }
%struct.ProgramData = type { i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.UnlitProgData = type { i32, i32, i32 }
%"class.glutil::ViewPole" = type <{ %"class.glutil::ViewProvider", %"struct.glutil::ViewData", %"struct.glutil::ViewScale", %"struct.glutil::ViewData", i32, i8, i8, [2 x i8], i32, float, %"struct.glm::detail::tvec2", %"struct.glm::detail::tquat", [4 x i8] }>
%"class.glutil::ViewProvider" = type { ptr }
%"struct.glutil::ViewScale" = type { float, float, float, float, float, float, float }
%"struct.glutil::ViewData" = type { %"struct.glm::detail::tvec3", %"struct.glm::detail::tquat", float, float }
%"struct.glm::detail::tvec3" = type { %union.anon.3 }
%union.anon.3 = type { %struct.anon }
%struct.anon = type { float, float, float }
%"struct.glm::detail::tvec2" = type { %union.anon.6 }
%union.anon.6 = type { %struct.anon.7 }
%struct.anon.7 = type { i32, i32 }
%"struct.glm::detail::tquat" = type { float, float, float, float }
%"class.glutil::ObjectPole" = type { ptr, %"struct.glutil::ObjectData", %"struct.glutil::ObjectData", float, i32, i32, i8, %"struct.glm::detail::tvec2", %"struct.glm::detail::tvec2", %"struct.glm::detail::tquat" }
%"struct.glutil::ObjectData" = type { %"struct.glm::detail::tvec3", %"struct.glm::detail::tquat" }
%"class.Framework::Timer" = type { i32, float, i8, i8, float, float }
%"struct.glm::detail::tvec4" = type { %union.anon.10 }
%union.anon.10 = type { %struct.anon.11 }
%struct.anon.11 = type { float, float, float, float }
%class.MaterialParams = type { float, float }
%"class.glutil::MatrixStack" = type { %"class.std::stack", %"struct.glm::detail::tmat4x4" }
%"class.std::stack" = type { %"class.std::vector.14" }
%"class.std::vector.14" = type { %"struct.std::_Vector_base.15" }
%"struct.std::_Vector_base.15" = type { %"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl" }
%"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.glm::detail::tmat4x4" = type { [4 x %"struct.glm::detail::tvec4"] }
%"class.glutil::PushStack" = type { ptr }
%"struct.glm::detail::tmat3x3" = type { [3 x %"struct.glm::detail::tvec3"] }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.0" = type { i8 }

@g_Programs = external dso_local global [4 x %struct.ProgramPairs], align 16
@g_Unlit = external dso_local global %struct.UnlitProgData, align 4
@g_pCylinderMesh = external dso_local global ptr, align 8
@g_pPlaneMesh = external dso_local global ptr, align 8
@g_pCubeMesh = external dso_local global ptr, align 8
@g_viewPole = external dso_local global %"class.glutil::ViewPole", align 8
@g_objtPole = external dso_local global %"class.glutil::ObjectPole", align 8
@g_LightTimer = external dso_local global %"class.Framework::Timer", align 4
@_ZL11g_darkColor = external hidden global %"struct.glm::detail::tvec4", align 4
@_ZL12g_lightColor = external hidden global %"struct.glm::detail::tvec4", align 4
@_ZL11g_matParams = external hidden global %class.MaterialParams, align 4
@_funcptr_glClearColor = external global ptr, align 8
@_funcptr_glClearDepth = external global ptr, align 8
@_funcptr_glClear = external global ptr, align 8
@_ZL13g_eLightModel = external hidden global i32, align 4
@_funcptr_glUseProgram = external global ptr, align 8
@_funcptr_glUniform4f = external global ptr, align 8
@_funcptr_glUniform3fv = external global ptr, align 8
@_funcptr_glUniform1f = external global ptr, align 8
@_funcptr_glUniform4fv = external global ptr, align 8
@_ZL11g_bDrawDark = external hidden global i8, align 1
@_funcptr_glUniformMatrix4fv = external global ptr, align 8
@_funcptr_glUniformMatrix3fv = external global ptr, align 8
@_ZL11g_bScaleCyl = external hidden global i8, align 1
@_ZL17g_bDrawColoredCyl = external hidden global i8, align 1
@.str.29 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [4 x i8], align 1
@_ZL18g_bDrawLightSource = external hidden global i8, align 1
@.str.31 = external hidden unnamed_addr constant [5 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z17CalcLightPositionv(ptr dead_on_unwind noalias writable sret(%"struct.glm::detail::tvec4") align 4) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z7displayv() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.glutil::MatrixStack", align 8
  %2 = alloca %"struct.glm::detail::tmat4x4", align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %"struct.glm::detail::tvec4", align 4
  %7 = alloca ptr, align 8
  %8 = alloca %"struct.glm::detail::tvec4", align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.glutil::PushStack", align 8
  %12 = alloca %"class.glutil::PushStack", align 8
  %13 = alloca %"struct.glm::detail::tmat3x3", align 4
  %14 = alloca %"struct.glm::detail::tmat3x3", align 4
  %15 = alloca %"struct.glm::detail::tmat3x3", align 4
  %16 = alloca %"class.glutil::PushStack", align 8
  %17 = alloca %"struct.glm::detail::tmat4x4", align 4
  %18 = alloca %"struct.glm::detail::tmat3x3", align 4
  %19 = alloca %"struct.glm::detail::tmat3x3", align 4
  %20 = alloca %"struct.glm::detail::tmat3x3", align 4
  %21 = alloca ptr, align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::allocator.0", align 1
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator.0", align 1
  %26 = alloca %"class.glutil::PushStack", align 8
  %27 = alloca %"struct.glm::detail::tvec3", align 4
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator.0", align 1
  %30 = call noundef zeroext i1 @_ZN9Framework5Timer6UpdateEv(ptr noundef nonnull align 4 dereferenceable(20) @g_LightTimer)
  %31 = load ptr, ptr @_funcptr_glClearColor, align 8, !tbaa !5
  call void %31(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %32 = load ptr, ptr @_funcptr_glClearDepth, align 8, !tbaa !5
  call void %32(double noundef 1.000000e+00)
  %33 = load ptr, ptr @_funcptr_glClear, align 8, !tbaa !5
  call void %33(i32 noundef 16640)
  %34 = load ptr, ptr @g_pPlaneMesh, align 8, !tbaa !5
  %35 = icmp ne ptr %34, null
  br i1 %35, label %36, label %370

36:                                               ; preds = %0
  %37 = load ptr, ptr @g_pCylinderMesh, align 8, !tbaa !5
  %38 = icmp ne ptr %37, null
  br i1 %38, label %39, label %370

39:                                               ; preds = %36
  %40 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  %41 = icmp ne ptr %40, null
  br i1 %41, label %42, label %370

42:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 88, ptr %1) #6
  call void @_ZN6glutil11MatrixStackC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %1)
  call void @llvm.lifetime.start.p0(i64 64, ptr %2) #6
  invoke void @_ZNK6glutil8ViewPole10CalcMatrixEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat4x4") align 4 %2, ptr noundef nonnull align 8 dereferenceable(148) @g_viewPole)
          to label %43 unwind label %186

43:                                               ; preds = %42
  invoke void @_ZN6glutil11MatrixStack9SetMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(64) %2)
          to label %44 unwind label %186

44:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 64, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #6
  invoke void @_Z17CalcLightPositionv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %6)
          to label %45 unwind label %190

45:                                               ; preds = %44
  store ptr %6, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #6
  %46 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %47 unwind label %194

47:                                               ; preds = %45
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN3glm6detailmlIfEENS0_7tmat4x4IT_E8col_typeERKS4_RKNS4_8row_typeE(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %8, ptr noundef nonnull align 4 dereferenceable(64) %46, ptr noundef nonnull align 4 dereferenceable(16) %48)
          to label %49 unwind label %194

49:                                               ; preds = %47
  store ptr %8, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %50 = load i32, ptr @_ZL13g_eLightModel, align 4, !tbaa !9
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [4 x %struct.ProgramPairs], ptr @g_Programs, i64 0, i64 %51
  %53 = getelementptr inbounds %struct.ProgramPairs, ptr %52, i32 0, i32 0
  store ptr %53, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %54 = load i32, ptr @_ZL13g_eLightModel, align 4, !tbaa !9
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [4 x %struct.ProgramPairs], ptr @g_Programs, i64 0, i64 %55
  %57 = getelementptr inbounds %struct.ProgramPairs, ptr %56, i32 0, i32 1
  store ptr %57, ptr %10, align 8, !tbaa !5
  %58 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %59 = load ptr, ptr %9, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.ProgramData, ptr %59, i32 0, i32 0
  %61 = load i32, ptr %60, align 4, !tbaa !11
  invoke void %58(i32 noundef %61)
          to label %62 unwind label %198

62:                                               ; preds = %49
  %63 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.ProgramData, ptr %64, i32 0, i32 2
  %66 = load i32, ptr %65, align 4, !tbaa !13
  invoke void %63(i32 noundef %66, float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 1.000000e+00)
          to label %67 unwind label %198

67:                                               ; preds = %62
  %68 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.ProgramData, ptr %69, i32 0, i32 3
  %71 = load i32, ptr %70, align 4, !tbaa !14
  invoke void %68(i32 noundef %71, float noundef 0x3FC99999A0000000, float noundef 0x3FC99999A0000000, float noundef 0x3FC99999A0000000, float noundef 1.000000e+00)
          to label %72 unwind label %198

72:                                               ; preds = %67
  %73 = load ptr, ptr @_funcptr_glUniform3fv, align 8, !tbaa !5
  %74 = load ptr, ptr %9, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.ProgramData, ptr %74, i32 0, i32 5
  %76 = load i32, ptr %75, align 4, !tbaa !15
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16) %77)
          to label %79 unwind label %198

79:                                               ; preds = %72
  invoke void %73(i32 noundef %76, i32 noundef 1, ptr noundef %78)
          to label %80 unwind label %198

80:                                               ; preds = %79
  %81 = load ptr, ptr @_funcptr_glUniform1f, align 8, !tbaa !5
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.ProgramData, ptr %82, i32 0, i32 6
  %84 = load i32, ptr %83, align 4, !tbaa !16
  invoke void %81(i32 noundef %84, float noundef 0x3FF3333340000000)
          to label %85 unwind label %198

85:                                               ; preds = %80
  %86 = load ptr, ptr @_funcptr_glUniform1f, align 8, !tbaa !5
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.ProgramData, ptr %87, i32 0, i32 7
  %89 = load i32, ptr %88, align 4, !tbaa !17
  %90 = invoke noundef float @_ZNK14MaterialParamscvfEv(ptr noundef nonnull align 4 dereferenceable(8) @_ZL11g_matParams)
          to label %91 unwind label %198

91:                                               ; preds = %85
  invoke void %86(i32 noundef %89, float noundef %90)
          to label %92 unwind label %198

92:                                               ; preds = %91
  %93 = load ptr, ptr @_funcptr_glUniform4fv, align 8, !tbaa !5
  %94 = load ptr, ptr %9, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.ProgramData, ptr %94, i32 0, i32 8
  %96 = load i32, ptr %95, align 4, !tbaa !18
  %97 = load i8, ptr @_ZL11g_bDrawDark, align 1, !tbaa !19, !range !21, !noundef !22
  %98 = trunc i8 %97 to i1
  br i1 %98, label %99, label %102

99:                                               ; preds = %92
  %100 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16) @_ZL11g_darkColor)
          to label %101 unwind label %198

101:                                              ; preds = %99
  br label %105

102:                                              ; preds = %92
  %103 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16) @_ZL12g_lightColor)
          to label %104 unwind label %198

104:                                              ; preds = %102
  br label %105

105:                                              ; preds = %104, %101
  %106 = phi ptr [ %100, %101 ], [ %103, %104 ]
  invoke void %93(i32 noundef %96, i32 noundef 1, ptr noundef %106)
          to label %107 unwind label %198

107:                                              ; preds = %105
  %108 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %109 = load ptr, ptr %10, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.ProgramData, ptr %109, i32 0, i32 0
  %111 = load i32, ptr %110, align 4, !tbaa !11
  invoke void %108(i32 noundef %111)
          to label %112 unwind label %198

112:                                              ; preds = %107
  %113 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %114 = load ptr, ptr %10, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.ProgramData, ptr %114, i32 0, i32 2
  %116 = load i32, ptr %115, align 4, !tbaa !13
  invoke void %113(i32 noundef %116, float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 1.000000e+00)
          to label %117 unwind label %198

117:                                              ; preds = %112
  %118 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %119 = load ptr, ptr %10, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.ProgramData, ptr %119, i32 0, i32 3
  %121 = load i32, ptr %120, align 4, !tbaa !14
  invoke void %118(i32 noundef %121, float noundef 0x3FC99999A0000000, float noundef 0x3FC99999A0000000, float noundef 0x3FC99999A0000000, float noundef 1.000000e+00)
          to label %122 unwind label %198

122:                                              ; preds = %117
  %123 = load ptr, ptr @_funcptr_glUniform3fv, align 8, !tbaa !5
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.ProgramData, ptr %124, i32 0, i32 5
  %126 = load i32, ptr %125, align 4, !tbaa !15
  %127 = load ptr, ptr %7, align 8, !tbaa !5
  %128 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16) %127)
          to label %129 unwind label %198

129:                                              ; preds = %122
  invoke void %123(i32 noundef %126, i32 noundef 1, ptr noundef %128)
          to label %130 unwind label %198

130:                                              ; preds = %129
  %131 = load ptr, ptr @_funcptr_glUniform1f, align 8, !tbaa !5
  %132 = load ptr, ptr %10, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.ProgramData, ptr %132, i32 0, i32 6
  %134 = load i32, ptr %133, align 4, !tbaa !16
  invoke void %131(i32 noundef %134, float noundef 0x3FF3333340000000)
          to label %135 unwind label %198

135:                                              ; preds = %130
  %136 = load ptr, ptr @_funcptr_glUniform1f, align 8, !tbaa !5
  %137 = load ptr, ptr %10, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.ProgramData, ptr %137, i32 0, i32 7
  %139 = load i32, ptr %138, align 4, !tbaa !17
  %140 = invoke noundef float @_ZNK14MaterialParamscvfEv(ptr noundef nonnull align 4 dereferenceable(8) @_ZL11g_matParams)
          to label %141 unwind label %198

141:                                              ; preds = %135
  invoke void %136(i32 noundef %139, float noundef %140)
          to label %142 unwind label %198

142:                                              ; preds = %141
  %143 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  invoke void %143(i32 noundef 0)
          to label %144 unwind label %198

144:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %145 unwind label %202

145:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %146 unwind label %206

146:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 36, ptr %13) #6
  %147 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %148 unwind label %210

148:                                              ; preds = %146
  invoke void @_ZN3glm6detail7tmat3x3IfEC2ERKNS0_7tmat4x4IfEE(ptr noundef nonnull align 4 dereferenceable(36) %13, ptr noundef nonnull align 4 dereferenceable(64) %147)
          to label %149 unwind label %210

149:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 36, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr %15) #6
  invoke void @_ZN3glm7inverseIfEENS_6detail7tmat3x3IT_EERKS4_(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat3x3") align 4 %15, ptr noundef nonnull align 4 dereferenceable(36) %13)
          to label %150 unwind label %214

150:                                              ; preds = %149
  invoke void @_ZN3glm9transposeIfEENS_6detail7tmat3x3IT_EERKS4_(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat3x3") align 4 %14, ptr noundef nonnull align 4 dereferenceable(36) %15)
          to label %151 unwind label %214

151:                                              ; preds = %150
  %152 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN3glm6detail7tmat3x3IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(36) %13, ptr noundef nonnull align 4 dereferenceable(36) %14)
          to label %153 unwind label %214

153:                                              ; preds = %151
  call void @llvm.lifetime.end.p0(i64 36, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %14) #6
  %154 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %155 = load ptr, ptr %9, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.ProgramData, ptr %155, i32 0, i32 0
  %157 = load i32, ptr %156, align 4, !tbaa !11
  invoke void %154(i32 noundef %157)
          to label %158 unwind label %210

158:                                              ; preds = %153
  %159 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %160 = load ptr, ptr %9, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.ProgramData, ptr %160, i32 0, i32 1
  %162 = load i32, ptr %161, align 4, !tbaa !23
  %163 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %164 unwind label %210

164:                                              ; preds = %158
  %165 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %163)
          to label %166 unwind label %210

166:                                              ; preds = %164
  invoke void %159(i32 noundef %162, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %165)
          to label %167 unwind label %210

167:                                              ; preds = %166
  %168 = load ptr, ptr @_funcptr_glUniformMatrix3fv, align 8, !tbaa !5
  %169 = load ptr, ptr %9, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.ProgramData, ptr %169, i32 0, i32 4
  %171 = load i32, ptr %170, align 4, !tbaa !24
  %172 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail7tmat3x3IS1_EE(ptr noundef nonnull align 4 dereferenceable(36) %13)
          to label %173 unwind label %210

173:                                              ; preds = %167
  invoke void %168(i32 noundef %171, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %172)
          to label %174 unwind label %210

174:                                              ; preds = %173
  %175 = load ptr, ptr @g_pPlaneMesh, align 8, !tbaa !5
  invoke void @_ZNK9Framework4Mesh6RenderEv(ptr noundef nonnull align 8 dereferenceable(8) %175)
          to label %176 unwind label %210

176:                                              ; preds = %174
  %177 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  invoke void %177(i32 noundef 0)
          to label %178 unwind label %210

178:                                              ; preds = %176
  call void @llvm.lifetime.end.p0(i64 36, ptr %13) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %179 unwind label %220

179:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 64, ptr %17) #6
  invoke void @_ZNK6glutil10ObjectPole10CalcMatrixEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat4x4") align 4 %17, ptr noundef nonnull align 8 dereferenceable(112) @g_objtPole)
          to label %180 unwind label %224

180:                                              ; preds = %179
  invoke void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(64) %17)
          to label %181 unwind label %224

181:                                              ; preds = %180
  call void @llvm.lifetime.end.p0(i64 64, ptr %17) #6
  %182 = load i8, ptr @_ZL11g_bScaleCyl, align 1, !tbaa !19, !range !21, !noundef !22
  %183 = trunc i8 %182 to i1
  br i1 %183, label %184, label %232

184:                                              ; preds = %181
  invoke void @_ZN6glutil11MatrixStack5ScaleEfff(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 0x3FC99999A0000000)
          to label %185 unwind label %228

185:                                              ; preds = %184
  br label %232

186:                                              ; preds = %43, %42
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %3, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %2) #6
  br label %369

190:                                              ; preds = %44
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %3, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %4, align 4
  br label %368

194:                                              ; preds = %47, %45
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %3, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %4, align 4
  br label %367

198:                                              ; preds = %142, %141, %135, %130, %129, %122, %117, %112, %107, %105, %102, %99, %91, %85, %80, %79, %72, %67, %62, %49
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %3, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %4, align 4
  br label %366

202:                                              ; preds = %144
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %3, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %4, align 4
  br label %365

206:                                              ; preds = %145
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %3, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %4, align 4
  br label %219

210:                                              ; preds = %176, %174, %173, %167, %166, %164, %158, %153, %148, %146
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %3, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %4, align 4
  br label %218

214:                                              ; preds = %151, %150, %149
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %3, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 36, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %14) #6
  br label %218

218:                                              ; preds = %214, %210
  call void @llvm.lifetime.end.p0(i64 36, ptr %13) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  br label %219

219:                                              ; preds = %218, %206
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %364

220:                                              ; preds = %178
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %3, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %4, align 4
  br label %339

224:                                              ; preds = %180, %179
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %3, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %17) #6
  br label %338

228:                                              ; preds = %184
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %3, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %4, align 4
  br label %338

232:                                              ; preds = %185, %181
  call void @llvm.lifetime.start.p0(i64 36, ptr %18) #6
  %233 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %234 unwind label %275

234:                                              ; preds = %232
  invoke void @_ZN3glm6detail7tmat3x3IfEC2ERKNS0_7tmat4x4IfEE(ptr noundef nonnull align 4 dereferenceable(36) %18, ptr noundef nonnull align 4 dereferenceable(64) %233)
          to label %235 unwind label %275

235:                                              ; preds = %234
  call void @llvm.lifetime.start.p0(i64 36, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr %20) #6
  invoke void @_ZN3glm7inverseIfEENS_6detail7tmat3x3IT_EERKS4_(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat3x3") align 4 %20, ptr noundef nonnull align 4 dereferenceable(36) %18)
          to label %236 unwind label %279

236:                                              ; preds = %235
  invoke void @_ZN3glm9transposeIfEENS_6detail7tmat3x3IT_EERKS4_(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat3x3") align 4 %19, ptr noundef nonnull align 4 dereferenceable(36) %20)
          to label %237 unwind label %279

237:                                              ; preds = %236
  %238 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN3glm6detail7tmat3x3IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(36) %18, ptr noundef nonnull align 4 dereferenceable(36) %19)
          to label %239 unwind label %279

239:                                              ; preds = %237
  call void @llvm.lifetime.end.p0(i64 36, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %240 = load i8, ptr @_ZL17g_bDrawColoredCyl, align 1, !tbaa !19, !range !21, !noundef !22
  %241 = trunc i8 %240 to i1
  br i1 %241, label %242, label %244

242:                                              ; preds = %239
  %243 = load ptr, ptr %10, align 8, !tbaa !5
  br label %246

244:                                              ; preds = %239
  %245 = load ptr, ptr %9, align 8, !tbaa !5
  br label %246

246:                                              ; preds = %244, %242
  %247 = phi ptr [ %243, %242 ], [ %245, %244 ]
  store ptr %247, ptr %21, align 8, !tbaa !5
  %248 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %249 = load ptr, ptr %21, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.ProgramData, ptr %249, i32 0, i32 0
  %251 = load i32, ptr %250, align 4, !tbaa !11
  invoke void %248(i32 noundef %251)
          to label %252 unwind label %283

252:                                              ; preds = %246
  %253 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %254 = load ptr, ptr %21, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.ProgramData, ptr %254, i32 0, i32 1
  %256 = load i32, ptr %255, align 4, !tbaa !23
  %257 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %258 unwind label %283

258:                                              ; preds = %252
  %259 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %257)
          to label %260 unwind label %283

260:                                              ; preds = %258
  invoke void %253(i32 noundef %256, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %259)
          to label %261 unwind label %283

261:                                              ; preds = %260
  %262 = load ptr, ptr @_funcptr_glUniformMatrix3fv, align 8, !tbaa !5
  %263 = load ptr, ptr %21, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.ProgramData, ptr %263, i32 0, i32 4
  %265 = load i32, ptr %264, align 4, !tbaa !24
  %266 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail7tmat3x3IS1_EE(ptr noundef nonnull align 4 dereferenceable(36) %18)
          to label %267 unwind label %283

267:                                              ; preds = %261
  invoke void %262(i32 noundef %265, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %266)
          to label %268 unwind label %283

268:                                              ; preds = %267
  %269 = load i8, ptr @_ZL17g_bDrawColoredCyl, align 1, !tbaa !19, !range !21, !noundef !22
  %270 = trunc i8 %269 to i1
  br i1 %270, label %271, label %296

271:                                              ; preds = %268
  %272 = load ptr, ptr @g_pCylinderMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef @.str.29, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %273 unwind label %287

273:                                              ; preds = %271
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %272, ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %274 unwind label %291

274:                                              ; preds = %273
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #6
  br label %309

275:                                              ; preds = %234, %232
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %3, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %4, align 4
  br label %337

279:                                              ; preds = %237, %236, %235
  %280 = landingpad { ptr, i32 }
          cleanup
  %281 = extractvalue { ptr, i32 } %280, 0
  store ptr %281, ptr %3, align 8
  %282 = extractvalue { ptr, i32 } %280, 1
  store i32 %282, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 36, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %19) #6
  br label %337

283:                                              ; preds = %309, %267, %261, %260, %258, %252, %246
  %284 = landingpad { ptr, i32 }
          cleanup
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %3, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %4, align 4
  br label %336

287:                                              ; preds = %271
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %3, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %4, align 4
  br label %295

291:                                              ; preds = %273
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %3, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  br label %295

295:                                              ; preds = %291, %287
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #6
  br label %336

296:                                              ; preds = %268
  %297 = load ptr, ptr @g_pCylinderMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef @.str.30, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %298 unwind label %300

298:                                              ; preds = %296
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %297, ptr noundef nonnull align 8 dereferenceable(32) %24)
          to label %299 unwind label %304

299:                                              ; preds = %298
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #6
  br label %309

300:                                              ; preds = %296
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %3, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %4, align 4
  br label %308

304:                                              ; preds = %298
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %3, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #6
  br label %308

308:                                              ; preds = %304, %300
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #6
  br label %336

309:                                              ; preds = %299, %274
  %310 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  invoke void %310(i32 noundef 0)
          to label %311 unwind label %283

311:                                              ; preds = %309
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %18) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  %312 = load i8, ptr @_ZL18g_bDrawLightSource, align 1, !tbaa !19, !range !21, !noundef !22
  %313 = trunc i8 %312 to i1
  br i1 %313, label %314, label %363

314:                                              ; preds = %311
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %315 unwind label %340

315:                                              ; preds = %314
  call void @llvm.lifetime.start.p0(i64 12, ptr %27) #6
  %316 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN3glm6detail5tvec3IfEC2IfEERKNS0_5tvec4IT_EE(ptr noundef nonnull align 4 dereferenceable(12) %27, ptr noundef nonnull align 4 dereferenceable(16) %316)
          to label %317 unwind label %344

317:                                              ; preds = %315
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %27)
          to label %318 unwind label %344

318:                                              ; preds = %317
  call void @llvm.lifetime.end.p0(i64 12, ptr %27) #6
  invoke void @_ZN6glutil11MatrixStack5ScaleEfff(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef 0x3FB99999A0000000, float noundef 0x3FB99999A0000000, float noundef 0x3FB99999A0000000)
          to label %319 unwind label %348

319:                                              ; preds = %318
  %320 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %321 = load i32, ptr @g_Unlit, align 4, !tbaa !25
  invoke void %320(i32 noundef %321)
          to label %322 unwind label %348

322:                                              ; preds = %319
  %323 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %324 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 2), align 4, !tbaa !27
  %325 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %326 unwind label %348

326:                                              ; preds = %322
  %327 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %325)
          to label %328 unwind label %348

328:                                              ; preds = %326
  invoke void %323(i32 noundef %324, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %327)
          to label %329 unwind label %348

329:                                              ; preds = %328
  %330 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %331 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 1), align 4, !tbaa !28
  invoke void %330(i32 noundef %331, float noundef 0x3FE9D97F60000000, float noundef 0x3FEBDBF480000000, float noundef 0x3FEFC01A40000000, float noundef 1.000000e+00)
          to label %332 unwind label %348

332:                                              ; preds = %329
  %333 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef @.str.31, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %334 unwind label %352

334:                                              ; preds = %332
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %333, ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %335 unwind label %356

335:                                              ; preds = %334
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %363

336:                                              ; preds = %308, %295, %283
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %337

337:                                              ; preds = %336, %279, %275
  call void @llvm.lifetime.end.p0(i64 36, ptr %18) #6
  br label %338

338:                                              ; preds = %337, %228, %224
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  br label %339

339:                                              ; preds = %338, %220
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %364

340:                                              ; preds = %314
  %341 = landingpad { ptr, i32 }
          cleanup
  %342 = extractvalue { ptr, i32 } %341, 0
  store ptr %342, ptr %3, align 8
  %343 = extractvalue { ptr, i32 } %341, 1
  store i32 %343, ptr %4, align 4
  br label %362

344:                                              ; preds = %317, %315
  %345 = landingpad { ptr, i32 }
          cleanup
  %346 = extractvalue { ptr, i32 } %345, 0
  store ptr %346, ptr %3, align 8
  %347 = extractvalue { ptr, i32 } %345, 1
  store i32 %347, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %27) #6
  br label %361

348:                                              ; preds = %329, %328, %326, %322, %319, %318
  %349 = landingpad { ptr, i32 }
          cleanup
  %350 = extractvalue { ptr, i32 } %349, 0
  store ptr %350, ptr %3, align 8
  %351 = extractvalue { ptr, i32 } %349, 1
  store i32 %351, ptr %4, align 4
  br label %361

352:                                              ; preds = %332
  %353 = landingpad { ptr, i32 }
          cleanup
  %354 = extractvalue { ptr, i32 } %353, 0
  store ptr %354, ptr %3, align 8
  %355 = extractvalue { ptr, i32 } %353, 1
  store i32 %355, ptr %4, align 4
  br label %360

356:                                              ; preds = %334
  %357 = landingpad { ptr, i32 }
          cleanup
  %358 = extractvalue { ptr, i32 } %357, 0
  store ptr %358, ptr %3, align 8
  %359 = extractvalue { ptr, i32 } %357, 1
  store i32 %359, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #6
  br label %360

360:                                              ; preds = %356, %352
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #6
  br label %361

361:                                              ; preds = %360, %348, %344
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  br label %362

362:                                              ; preds = %361, %340
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %364

363:                                              ; preds = %335, %311
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %1) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr %1) #6
  br label %370

364:                                              ; preds = %362, %339, %219
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br label %365

365:                                              ; preds = %364, %202
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %366

366:                                              ; preds = %365, %198
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  br label %367

367:                                              ; preds = %366, %194
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  br label %368

368:                                              ; preds = %367, %190
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %369

369:                                              ; preds = %368, %186
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %1) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr %1) #6
  br label %371

370:                                              ; preds = %363, %39, %36, %0
  call void @glutPostRedisplay()
  call void @glutSwapBuffers()
  ret void

371:                                              ; preds = %369
  %372 = load ptr, ptr %3, align 8
  %373 = load i32, ptr %4, align 4
  %374 = insertvalue { ptr, i32 } poison, ptr %372, 0
  %375 = insertvalue { ptr, i32 } %374, i32 %373, 1
  resume { ptr, i32 } %375
}

declare noundef zeroext i1 @_ZN9Framework5Timer6UpdateEv(ptr noundef nonnull align 4 dereferenceable(20)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6glutil11MatrixStackC2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #2 align 2

declare void @_ZN6glutil11MatrixStack9SetMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 4 dereferenceable(64)) #3

declare void @_ZNK6glutil8ViewPole10CalcMatrixEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat4x4") align 4, ptr noundef nonnull align 8 dereferenceable(148)) unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm6detailmlIfEENS0_7tmat4x4IT_E8col_typeERKS4_RKNS4_8row_typeE(ptr dead_on_unwind noalias writable sret(%"struct.glm::detail::tvec4") align 4, ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(16)) #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16)) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK14MaterialParamscvfEv(ptr noundef nonnull align 4 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm9transposeIfEENS_6detail7tmat3x3IT_EERKS4_(ptr dead_on_unwind noalias writable sret(%"struct.glm::detail::tmat3x3") align 4, ptr noundef nonnull align 4 dereferenceable(36)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm7inverseIfEENS_6detail7tmat3x3IT_EERKS4_(ptr dead_on_unwind noalias writable sret(%"struct.glm::detail::tmat3x3") align 4, ptr noundef nonnull align 4 dereferenceable(36)) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64)) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail7tmat3x3IS1_EE(ptr noundef nonnull align 4 dereferenceable(36)) #5

declare void @_ZNK9Framework4Mesh6RenderEv(ptr noundef nonnull align 8 dereferenceable(8)) #3

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

declare void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 4 dereferenceable(64)) #3

declare void @_ZNK6glutil10ObjectPole10CalcMatrixEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat4x4") align 4, ptr noundef nonnull align 8 dereferenceable(112)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6glutil11MatrixStack5ScaleEfff(ptr noundef nonnull align 8 dereferenceable(88), float noundef, float noundef, float noundef) #2 align 2

declare void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #3

declare void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 4 dereferenceable(12)) #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #5 align 2

declare void @glutPostRedisplay() #3

declare void @glutSwapBuffers() #3

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress 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 = { 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 #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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTS11ProgramData", !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}
!13 = !{!12, !10, i64 8}
!14 = !{!12, !10, i64 12}
!15 = !{!12, !10, i64 20}
!16 = !{!12, !10, i64 24}
!17 = !{!12, !10, i64 28}
!18 = !{!12, !10, i64 32}
!19 = !{!20, !20, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!12, !10, i64 4}
!24 = !{!12, !10, i64 16}
!25 = !{!26, !10, i64 0}
!26 = !{!"_ZTS13UnlitProgData", !10, i64 0, !10, i64 4, !10, i64 8}
!27 = !{!26, !10, i64 8}
!28 = !{!26, !10, i64 4}


; 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.ProgramPairs = type { %struct.ProgramData, %struct.ProgramData }
%struct.ProgramData = type { i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.UnlitProgData = type { i32, i32, i32 }
%"class.glutil::ViewPole" = type <{ %"class.glutil::ViewProvider", %"struct.glutil::ViewData", %"struct.glutil::ViewScale", %"struct.glutil::ViewData", i32, i8, i8, [2 x i8], i32, float, %"struct.glm::detail::tvec2", %"struct.glm::detail::tquat", [4 x i8] }>
%"class.glutil::ViewProvider" = type { ptr }
%"struct.glutil::ViewScale" = type { float, float, float, float, float, float, float }
%"struct.glutil::ViewData" = type { %"struct.glm::detail::tvec3", %"struct.glm::detail::tquat", float, float }
%"struct.glm::detail::tvec3" = type { %union.anon.3 }
%union.anon.3 = type { %struct.anon }
%struct.anon = type { float, float, float }
%"struct.glm::detail::tvec2" = type { %union.anon.6 }
%union.anon.6 = type { %struct.anon.7 }
%struct.anon.7 = type { i32, i32 }
%"struct.glm::detail::tquat" = type { float, float, float, float }
%"class.glutil::ObjectPole" = type { ptr, %"struct.glutil::ObjectData", %"struct.glutil::ObjectData", float, i32, i32, i8, %"struct.glm::detail::tvec2", %"struct.glm::detail::tvec2", %"struct.glm::detail::tquat" }
%"struct.glutil::ObjectData" = type { %"struct.glm::detail::tvec3", %"struct.glm::detail::tquat" }
%"class.Framework::Timer" = type { i32, float, i8, i8, float, float }
%"struct.glm::detail::tvec4" = type { %union.anon.10 }
%union.anon.10 = type { %struct.anon.11 }
%struct.anon.11 = type { float, float, float, float }
%class.MaterialParams = type { float, float }
%"class.glutil::MatrixStack" = type { %"class.std::stack", %"struct.glm::detail::tmat4x4" }
%"class.std::stack" = type { %"class.std::vector.14" }
%"class.std::vector.14" = type { %"struct.std::_Vector_base.15" }
%"struct.std::_Vector_base.15" = type { %"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl" }
%"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.glm::detail::tmat4x4" = type { [4 x %"struct.glm::detail::tvec4"] }
%"class.glutil::PushStack" = type { ptr }
%"struct.glm::detail::tmat3x3" = type { [3 x %"struct.glm::detail::tvec3"] }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.0" = type { i8 }

@g_Programs = external dso_local local_unnamed_addr global [4 x %struct.ProgramPairs], align 16
@g_Unlit = external dso_local local_unnamed_addr global %struct.UnlitProgData, align 4
@g_pCylinderMesh = external dso_local local_unnamed_addr global ptr, align 8
@g_pPlaneMesh = external dso_local local_unnamed_addr global ptr, align 8
@g_pCubeMesh = external dso_local local_unnamed_addr global ptr, align 8
@g_viewPole = external dso_local global %"class.glutil::ViewPole", align 8
@g_objtPole = external dso_local global %"class.glutil::ObjectPole", align 8
@g_LightTimer = external dso_local global %"class.Framework::Timer", align 4
@_ZL11g_darkColor = external hidden global %"struct.glm::detail::tvec4", align 4
@_ZL12g_lightColor = external hidden global %"struct.glm::detail::tvec4", align 4
@_ZL11g_matParams = external hidden global %class.MaterialParams, align 4
@_funcptr_glClearColor = external local_unnamed_addr global ptr, align 8
@_funcptr_glClearDepth = external local_unnamed_addr global ptr, align 8
@_funcptr_glClear = external local_unnamed_addr global ptr, align 8
@_ZL13g_eLightModel = external hidden local_unnamed_addr global i32, align 4
@_funcptr_glUseProgram = external local_unnamed_addr global ptr, align 8
@_funcptr_glUniform4f = external local_unnamed_addr global ptr, align 8
@_funcptr_glUniform3fv = external local_unnamed_addr global ptr, align 8
@_funcptr_glUniform1f = external local_unnamed_addr global ptr, align 8
@_funcptr_glUniform4fv = external local_unnamed_addr global ptr, align 8
@_ZL11g_bDrawDark = external hidden local_unnamed_addr global i8, align 1
@_funcptr_glUniformMatrix4fv = external local_unnamed_addr global ptr, align 8
@_funcptr_glUniformMatrix3fv = external local_unnamed_addr global ptr, align 8
@_ZL11g_bScaleCyl = external hidden local_unnamed_addr global i8, align 1
@_ZL17g_bDrawColoredCyl = external hidden local_unnamed_addr global i8, align 1
@.str.29 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [4 x i8], align 1
@_ZL18g_bDrawLightSource = external hidden local_unnamed_addr global i8, align 1
@.str.31 = external hidden unnamed_addr constant [5 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

; 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 nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z17CalcLightPositionv(ptr dead_on_unwind noalias writable sret(%"struct.glm::detail::tvec4") align 4) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z7displayv() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.glutil::MatrixStack", align 8
  %2 = alloca %"struct.glm::detail::tmat4x4", align 4
  %3 = alloca %"struct.glm::detail::tvec4", align 4
  %4 = alloca %"struct.glm::detail::tvec4", align 4
  %5 = alloca %"class.glutil::PushStack", align 8
  %6 = alloca %"class.glutil::PushStack", align 8
  %7 = alloca %"struct.glm::detail::tmat3x3", align 4
  %8 = alloca %"struct.glm::detail::tmat3x3", align 4
  %9 = alloca %"struct.glm::detail::tmat3x3", align 4
  %10 = alloca %"class.glutil::PushStack", align 8
  %11 = alloca %"struct.glm::detail::tmat4x4", align 4
  %12 = alloca %"struct.glm::detail::tmat3x3", align 4
  %13 = alloca %"struct.glm::detail::tmat3x3", align 4
  %14 = alloca %"struct.glm::detail::tmat3x3", align 4
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator.0", align 1
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator.0", align 1
  %19 = alloca %"class.glutil::PushStack", align 8
  %20 = alloca %"struct.glm::detail::tvec3", align 4
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator.0", align 1
  %23 = tail call noundef zeroext i1 @_ZN9Framework5Timer6UpdateEv(ptr noundef nonnull align 4 dereferenceable(20) @g_LightTimer)
  %24 = load ptr, ptr @_funcptr_glClearColor, align 8, !tbaa !5
  tail call void %24(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %25 = load ptr, ptr @_funcptr_glClearDepth, align 8, !tbaa !5
  tail call void %25(double noundef 1.000000e+00)
  %26 = load ptr, ptr @_funcptr_glClear, align 8, !tbaa !5
  tail call void %26(i32 noundef 16640)
  %27 = load ptr, ptr @g_pPlaneMesh, align 8, !tbaa !5
  %28 = icmp ne ptr %27, null
  %29 = load ptr, ptr @g_pCylinderMesh, align 8
  %30 = icmp ne ptr %29, null
  %or.cond = select i1 %28, i1 %30, i1 false
  %31 = load ptr, ptr @g_pCubeMesh, align 8
  %32 = icmp ne ptr %31, null
  %or.cond3 = select i1 %or.cond, i1 %32, i1 false
  br i1 %or.cond3, label %33, label %257

33:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %1) #6
  call void @_ZN6glutil11MatrixStackC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %1)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #6
  invoke void @_ZNK6glutil8ViewPole10CalcMatrixEv(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tmat4x4") align 4 %2, ptr noundef nonnull align 8 dereferenceable(148) @g_viewPole)
          to label %34 unwind label %137

34:                                               ; preds = %33
  invoke void @_ZN6glutil11MatrixStack9SetMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(64) %2)
          to label %35 unwind label %137

35:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  invoke void @_Z17CalcLightPositionv(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %3)
          to label %36 unwind label %139

36:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  %37 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  invoke void @_ZN3glm6detailmlIfEENS0_7tmat4x4IT_E8col_typeERKS4_RKNS4_8row_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %4, ptr noundef nonnull align 4 dereferenceable(64) %37, ptr noundef nonnull align 4 dereferenceable(16) %3)
          to label %38 unwind label %141

38:                                               ; preds = %36
  %39 = load i32, ptr @_ZL13g_eLightModel, align 4, !tbaa !9
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [4 x %struct.ProgramPairs], ptr @g_Programs, i64 0, i64 %40
  %42 = getelementptr inbounds i8, ptr %41, i64 36
  %43 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %44 = load i32, ptr %41, align 8, !tbaa !11
  invoke void %43(i32 noundef %44)
          to label %45 unwind label %143

45:                                               ; preds = %38
  %46 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %41, i64 8
  %48 = load i32, ptr %47, align 8, !tbaa !13
  invoke void %46(i32 noundef %48, float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 1.000000e+00)
          to label %49 unwind label %143

49:                                               ; preds = %45
  %50 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %41, i64 12
  %52 = load i32, ptr %51, align 4, !tbaa !14
  invoke void %50(i32 noundef %52, float noundef 0x3FC99999A0000000, float noundef 0x3FC99999A0000000, float noundef 0x3FC99999A0000000, float noundef 1.000000e+00)
          to label %53 unwind label %143

53:                                               ; preds = %49
  %54 = load ptr, ptr @_funcptr_glUniform3fv, align 8, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %41, i64 20
  %56 = load i32, ptr %55, align 4, !tbaa !15
  %57 = call noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16) %4)
  invoke void %54(i32 noundef %56, i32 noundef 1, ptr noundef %57)
          to label %58 unwind label %143

58:                                               ; preds = %53
  %59 = load ptr, ptr @_funcptr_glUniform1f, align 8, !tbaa !5
  %60 = getelementptr inbounds i8, ptr %41, i64 24
  %61 = load i32, ptr %60, align 8, !tbaa !16
  invoke void %59(i32 noundef %61, float noundef 0x3FF3333340000000)
          to label %62 unwind label %143

62:                                               ; preds = %58
  %63 = load ptr, ptr @_funcptr_glUniform1f, align 8, !tbaa !5
  %64 = getelementptr inbounds i8, ptr %41, i64 28
  %65 = load i32, ptr %64, align 4, !tbaa !17
  %66 = invoke noundef float @_ZNK14MaterialParamscvfEv(ptr noundef nonnull align 4 dereferenceable(8) @_ZL11g_matParams)
          to label %67 unwind label %143

67:                                               ; preds = %62
  invoke void %63(i32 noundef %65, float noundef %66)
          to label %68 unwind label %143

68:                                               ; preds = %67
  %69 = load ptr, ptr @_funcptr_glUniform4fv, align 8, !tbaa !5
  %70 = getelementptr inbounds i8, ptr %41, i64 32
  %71 = load i32, ptr %70, align 8, !tbaa !18
  %72 = load i8, ptr @_ZL11g_bDrawDark, align 1, !tbaa !19, !range !21, !noundef !22
  %73 = trunc nuw i8 %72 to i1
  %_ZL11g_darkColor._ZL12g_lightColor = select i1 %73, ptr @_ZL11g_darkColor, ptr @_ZL12g_lightColor
  %74 = call noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16) %_ZL11g_darkColor._ZL12g_lightColor)
  invoke void %69(i32 noundef %71, i32 noundef 1, ptr noundef %74)
          to label %75 unwind label %143

75:                                               ; preds = %68
  %76 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %77 = load i32, ptr %42, align 4, !tbaa !11
  invoke void %76(i32 noundef %77)
          to label %78 unwind label %143

78:                                               ; preds = %75
  %79 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %41, i64 44
  %81 = load i32, ptr %80, align 4, !tbaa !13
  invoke void %79(i32 noundef %81, float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 1.000000e+00)
          to label %82 unwind label %143

82:                                               ; preds = %78
  %83 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %84 = getelementptr inbounds i8, ptr %41, i64 48
  %85 = load i32, ptr %84, align 8, !tbaa !14
  invoke void %83(i32 noundef %85, float noundef 0x3FC99999A0000000, float noundef 0x3FC99999A0000000, float noundef 0x3FC99999A0000000, float noundef 1.000000e+00)
          to label %86 unwind label %143

86:                                               ; preds = %82
  %87 = load ptr, ptr @_funcptr_glUniform3fv, align 8, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %41, i64 56
  %89 = load i32, ptr %88, align 8, !tbaa !15
  %90 = call noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16) %4)
  invoke void %87(i32 noundef %89, i32 noundef 1, ptr noundef %90)
          to label %91 unwind label %143

91:                                               ; preds = %86
  %92 = load ptr, ptr @_funcptr_glUniform1f, align 8, !tbaa !5
  %93 = getelementptr inbounds i8, ptr %41, i64 60
  %94 = load i32, ptr %93, align 4, !tbaa !16
  invoke void %92(i32 noundef %94, float noundef 0x3FF3333340000000)
          to label %95 unwind label %143

95:                                               ; preds = %91
  %96 = load ptr, ptr @_funcptr_glUniform1f, align 8, !tbaa !5
  %97 = getelementptr inbounds i8, ptr %41, i64 64
  %98 = load i32, ptr %97, align 8, !tbaa !17
  %99 = invoke noundef float @_ZNK14MaterialParamscvfEv(ptr noundef nonnull align 4 dereferenceable(8) @_ZL11g_matParams)
          to label %100 unwind label %143

100:                                              ; preds = %95
  invoke void %96(i32 noundef %98, float noundef %99)
          to label %101 unwind label %143

101:                                              ; preds = %100
  %102 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  invoke void %102(i32 noundef 0)
          to label %103 unwind label %143

103:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %104 unwind label %145

104:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %105 unwind label %147

105:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %7) #6
  %106 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  invoke void @_ZN3glm6detail7tmat3x3IfEC2ERKNS0_7tmat4x4IfEE(ptr noundef nonnull align 4 dereferenceable(36) %7, ptr noundef nonnull align 4 dereferenceable(64) %106)
          to label %107 unwind label %149

107:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %9) #6
  invoke void @_ZN3glm7inverseIfEENS_6detail7tmat3x3IT_EERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tmat3x3") align 4 %9, ptr noundef nonnull align 4 dereferenceable(36) %7)
          to label %108 unwind label %151

108:                                              ; preds = %107
  invoke void @_ZN3glm9transposeIfEENS_6detail7tmat3x3IT_EERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tmat3x3") align 4 %8, ptr noundef nonnull align 4 dereferenceable(36) %9)
          to label %109 unwind label %151

109:                                              ; preds = %108
  %110 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN3glm6detail7tmat3x3IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(36) %7, ptr noundef nonnull align 4 dereferenceable(36) %8)
          to label %111 unwind label %151

111:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %8) #6
  %112 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %113 = load i32, ptr %41, align 8, !tbaa !11
  invoke void %112(i32 noundef %113)
          to label %114 unwind label %149

114:                                              ; preds = %111
  %115 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %116 = getelementptr inbounds i8, ptr %41, i64 4
  %117 = load i32, ptr %116, align 4, !tbaa !23
  %118 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  %119 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %118)
          to label %120 unwind label %149

120:                                              ; preds = %114
  invoke void %115(i32 noundef %117, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %119)
          to label %121 unwind label %149

121:                                              ; preds = %120
  %122 = load ptr, ptr @_funcptr_glUniformMatrix3fv, align 8, !tbaa !5
  %123 = getelementptr inbounds i8, ptr %41, i64 16
  %124 = load i32, ptr %123, align 8, !tbaa !24
  %125 = call noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail7tmat3x3IS1_EE(ptr noundef nonnull align 4 dereferenceable(36) %7)
  invoke void %122(i32 noundef %124, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %125)
          to label %126 unwind label %149

126:                                              ; preds = %121
  %127 = load ptr, ptr @g_pPlaneMesh, align 8, !tbaa !5
  invoke void @_ZNK9Framework4Mesh6RenderEv(ptr noundef nonnull align 8 dereferenceable(8) %127)
          to label %128 unwind label %149

128:                                              ; preds = %126
  %129 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  invoke void %129(i32 noundef 0)
          to label %130 unwind label %149

130:                                              ; preds = %128
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %7) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %131 unwind label %155

131:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #6
  invoke void @_ZNK6glutil10ObjectPole10CalcMatrixEv(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tmat4x4") align 4 %11, ptr noundef nonnull align 8 dereferenceable(112) @g_objtPole)
          to label %132 unwind label %157

132:                                              ; preds = %131
  invoke void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(64) %11)
          to label %133 unwind label %157

133:                                              ; preds = %132
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #6
  %134 = load i8, ptr @_ZL11g_bScaleCyl, align 1, !tbaa !19, !range !21, !noundef !22
  %135 = trunc nuw i8 %134 to i1
  br i1 %135, label %136, label %161

136:                                              ; preds = %133
  invoke void @_ZN6glutil11MatrixStack5ScaleEfff(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 0x3FC99999A0000000)
          to label %161 unwind label %159

137:                                              ; preds = %34, %33
  %138 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #6
  br label %256

139:                                              ; preds = %35
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %256

141:                                              ; preds = %36
  %142 = landingpad { ptr, i32 }
          cleanup
  br label %255

143:                                              ; preds = %101, %100, %95, %91, %86, %82, %78, %75, %68, %67, %62, %58, %53, %49, %45, %38
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %254

145:                                              ; preds = %103
  %146 = landingpad { ptr, i32 }
          cleanup
  br label %253

147:                                              ; preds = %104
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %154

149:                                              ; preds = %128, %126, %121, %120, %114, %111, %105
  %150 = landingpad { ptr, i32 }
          cleanup
  br label %153

151:                                              ; preds = %109, %108, %107
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %8) #6
  br label %153

153:                                              ; preds = %151, %149
  %.pn = phi { ptr, i32 } [ %150, %149 ], [ %152, %151 ]
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %7) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  br label %154

154:                                              ; preds = %153, %147
  %.pn.pn = phi { ptr, i32 } [ %.pn, %153 ], [ %148, %147 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %252

155:                                              ; preds = %130
  %156 = landingpad { ptr, i32 }
          cleanup
  br label %237

157:                                              ; preds = %132, %131
  %158 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #6
  br label %236

159:                                              ; preds = %136
  %160 = landingpad { ptr, i32 }
          cleanup
  br label %236

161:                                              ; preds = %136, %133
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %12) #6
  %162 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  invoke void @_ZN3glm6detail7tmat3x3IfEC2ERKNS0_7tmat4x4IfEE(ptr noundef nonnull align 4 dereferenceable(36) %12, ptr noundef nonnull align 4 dereferenceable(64) %162)
          to label %163 unwind label %192

163:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %14) #6
  invoke void @_ZN3glm7inverseIfEENS_6detail7tmat3x3IT_EERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tmat3x3") align 4 %14, ptr noundef nonnull align 4 dereferenceable(36) %12)
          to label %164 unwind label %194

164:                                              ; preds = %163
  invoke void @_ZN3glm9transposeIfEENS_6detail7tmat3x3IT_EERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tmat3x3") align 4 %13, ptr noundef nonnull align 4 dereferenceable(36) %14)
          to label %165 unwind label %194

165:                                              ; preds = %164
  %166 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN3glm6detail7tmat3x3IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(36) %12, ptr noundef nonnull align 4 dereferenceable(36) %13)
          to label %167 unwind label %194

167:                                              ; preds = %165
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %13) #6
  %168 = load i8, ptr @_ZL17g_bDrawColoredCyl, align 1, !tbaa !19, !range !21, !noundef !22
  %169 = trunc nuw i8 %168 to i1
  %170 = select i1 %169, ptr %42, ptr %41
  %171 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %172 = load i32, ptr %170, align 4, !tbaa !11
  invoke void %171(i32 noundef %172)
          to label %173 unwind label %196

173:                                              ; preds = %167
  %174 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %175 = getelementptr inbounds i8, ptr %170, i64 4
  %176 = load i32, ptr %175, align 4, !tbaa !23
  %177 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  %178 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %177)
          to label %179 unwind label %196

179:                                              ; preds = %173
  invoke void %174(i32 noundef %176, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %178)
          to label %180 unwind label %196

180:                                              ; preds = %179
  %181 = load ptr, ptr @_funcptr_glUniformMatrix3fv, align 8, !tbaa !5
  %182 = getelementptr inbounds i8, ptr %170, i64 16
  %183 = load i32, ptr %182, align 4, !tbaa !24
  %184 = call noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail7tmat3x3IS1_EE(ptr noundef nonnull align 4 dereferenceable(36) %12)
  invoke void %181(i32 noundef %183, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %184)
          to label %185 unwind label %196

185:                                              ; preds = %180
  %186 = load i8, ptr @_ZL17g_bDrawColoredCyl, align 1, !tbaa !19, !range !21, !noundef !22
  %187 = trunc nuw i8 %186 to i1
  %188 = load ptr, ptr @g_pCylinderMesh, align 8, !tbaa !5
  br i1 %187, label %189, label %203

189:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull @.str.29, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %190 unwind label %198

190:                                              ; preds = %189
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %188, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %191 unwind label %200

191:                                              ; preds = %190
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  br label %211

192:                                              ; preds = %161
  %193 = landingpad { ptr, i32 }
          cleanup
  br label %235

194:                                              ; preds = %165, %164, %163
  %195 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %13) #6
  br label %235

196:                                              ; preds = %211, %180, %179, %173, %167
  %197 = landingpad { ptr, i32 }
          cleanup
  br label %235

198:                                              ; preds = %189
  %199 = landingpad { ptr, i32 }
          cleanup
  br label %202

200:                                              ; preds = %190
  %201 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  br label %202

202:                                              ; preds = %200, %198
  %.pn50 = phi { ptr, i32 } [ %201, %200 ], [ %199, %198 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  br label %235

203:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @.str.30, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %204 unwind label %206

204:                                              ; preds = %203
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %188, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %205 unwind label %208

205:                                              ; preds = %204
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #6
  br label %211

206:                                              ; preds = %203
  %207 = landingpad { ptr, i32 }
          cleanup
  br label %210

208:                                              ; preds = %204
  %209 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  br label %210

210:                                              ; preds = %208, %206
  %.pn48 = phi { ptr, i32 } [ %209, %208 ], [ %207, %206 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #6
  br label %235

211:                                              ; preds = %205, %191
  %212 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  invoke void %212(i32 noundef 0)
          to label %213 unwind label %196

213:                                              ; preds = %211
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %12) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  %214 = load i8, ptr @_ZL18g_bDrawLightSource, align 1, !tbaa !19, !range !21, !noundef !22
  %215 = trunc nuw i8 %214 to i1
  br i1 %215, label %216, label %251

216:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %217 unwind label %238

217:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %20) #6
  call void @_ZN3glm6detail5tvec3IfEC2IfEERKNS0_5tvec4IT_EE(ptr noundef nonnull align 4 dereferenceable(12) %20, ptr noundef nonnull align 4 dereferenceable(16) %3)
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %20)
          to label %218 unwind label %240

218:                                              ; preds = %217
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %20) #6
  invoke void @_ZN6glutil11MatrixStack5ScaleEfff(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef 0x3FB99999A0000000, float noundef 0x3FB99999A0000000, float noundef 0x3FB99999A0000000)
          to label %219 unwind label %242

219:                                              ; preds = %218
  %220 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %221 = load i32, ptr @g_Unlit, align 4, !tbaa !25
  invoke void %220(i32 noundef %221)
          to label %222 unwind label %242

222:                                              ; preds = %219
  %223 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %224 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 8), align 4, !tbaa !27
  %225 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  %226 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %225)
          to label %227 unwind label %242

227:                                              ; preds = %222
  invoke void %223(i32 noundef %224, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %226)
          to label %228 unwind label %242

228:                                              ; preds = %227
  %229 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %230 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 4), align 4, !tbaa !28
  invoke void %229(i32 noundef %230, float noundef 0x3FE9D97F60000000, float noundef 0x3FEBDBF480000000, float noundef 0x3FEFC01A40000000, float noundef 1.000000e+00)
          to label %231 unwind label %242

231:                                              ; preds = %228
  %232 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull @.str.31, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %233 unwind label %244

233:                                              ; preds = %231
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %232, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %234 unwind label %246

234:                                              ; preds = %233
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  br label %251

235:                                              ; preds = %196, %202, %210, %194, %192
  %.pn52.pn = phi { ptr, i32 } [ %195, %194 ], [ %193, %192 ], [ %197, %196 ], [ %.pn50, %202 ], [ %.pn48, %210 ]
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %12) #6
  br label %236

236:                                              ; preds = %235, %159, %157
  %.pn52.pn.pn = phi { ptr, i32 } [ %.pn52.pn, %235 ], [ %160, %159 ], [ %158, %157 ]
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br label %237

237:                                              ; preds = %236, %155
  %.pn52.pn.pn.pn = phi { ptr, i32 } [ %.pn52.pn.pn, %236 ], [ %156, %155 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %252

238:                                              ; preds = %216
  %239 = landingpad { ptr, i32 }
          cleanup
  br label %250

240:                                              ; preds = %217
  %241 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %20) #6
  br label %249

242:                                              ; preds = %228, %227, %222, %219, %218
  %243 = landingpad { ptr, i32 }
          cleanup
  br label %249

244:                                              ; preds = %231
  %245 = landingpad { ptr, i32 }
          cleanup
  br label %248

246:                                              ; preds = %233
  %247 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  br label %248

248:                                              ; preds = %246, %244
  %.pn57 = phi { ptr, i32 } [ %247, %246 ], [ %245, %244 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #6
  br label %249

249:                                              ; preds = %248, %242, %240
  %.pn57.pn = phi { ptr, i32 } [ %.pn57, %248 ], [ %243, %242 ], [ %241, %240 ]
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  br label %250

250:                                              ; preds = %249, %238
  %.pn57.pn.pn = phi { ptr, i32 } [ %.pn57.pn, %249 ], [ %239, %238 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  br label %252

251:                                              ; preds = %234, %213
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %1) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %1) #6
  br label %257

252:                                              ; preds = %250, %237, %154
  %.pn57.pn.pn.pn = phi { ptr, i32 } [ %.pn57.pn.pn, %250 ], [ %.pn52.pn.pn.pn, %237 ], [ %.pn.pn, %154 ]
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br label %253

253:                                              ; preds = %252, %145
  %.pn57.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn57.pn.pn.pn, %252 ], [ %146, %145 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %254

254:                                              ; preds = %253, %143
  %.pn57.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn57.pn.pn.pn.pn, %253 ], [ %144, %143 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  br label %255

255:                                              ; preds = %254, %141
  %.pn57.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn57.pn.pn.pn.pn.pn, %254 ], [ %142, %141 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  br label %256

256:                                              ; preds = %139, %255, %137
  %.pn57.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %138, %137 ], [ %.pn57.pn.pn.pn.pn.pn.pn, %255 ], [ %140, %139 ]
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %1) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn57.pn.pn.pn.pn.pn.pn.pn.pn

257:                                              ; preds = %251, %0
  call void @glutPostRedisplay()
  call void @glutSwapBuffers()
  ret void
}

declare noundef zeroext i1 @_ZN9Framework5Timer6UpdateEv(ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6glutil11MatrixStackC2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #2 align 2

declare void @_ZN6glutil11MatrixStack9SetMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #3

declare void @_ZNK6glutil8ViewPole10CalcMatrixEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat4x4") align 4, ptr noundef nonnull align 8 dereferenceable(148)) unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm6detailmlIfEENS0_7tmat4x4IT_E8col_typeERKS4_RKNS4_8row_typeE(ptr dead_on_unwind noalias writable sret(%"struct.glm::detail::tvec4") align 4, ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm9transposeIfEENS_6detail7tmat3x3IT_EERKS4_(ptr dead_on_unwind noalias writable sret(%"struct.glm::detail::tmat3x3") align 4, ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm7inverseIfEENS_6detail7tmat3x3IT_EERKS4_(ptr dead_on_unwind noalias writable sret(%"struct.glm::detail::tmat3x3") align 4, ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #4

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail7tmat3x3IS1_EE(ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #5

declare void @_ZNK9Framework4Mesh6RenderEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

declare void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #3

declare void @_ZNK6glutil10ObjectPole10CalcMatrixEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat4x4") align 4, ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6glutil11MatrixStack5ScaleEfff(ptr noundef nonnull align 8 dereferenceable(88), float noundef, float noundef, float noundef) local_unnamed_addr #2 align 2

declare void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

declare void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #5 align 2

declare void @glutPostRedisplay() local_unnamed_addr #3

declare void @glutSwapBuffers() local_unnamed_addr #3

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress 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 = { 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 #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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTS11ProgramData", !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}
!13 = !{!12, !10, i64 8}
!14 = !{!12, !10, i64 12}
!15 = !{!12, !10, i64 20}
!16 = !{!12, !10, i64 24}
!17 = !{!12, !10, i64 28}
!18 = !{!12, !10, i64 32}
!19 = !{!20, !20, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!12, !10, i64 4}
!24 = !{!12, !10, i64 16}
!25 = !{!26, !10, i64 0}
!26 = !{!"_ZTS13UnlitProgData", !10, i64 0, !10, i64 4, !10, i64 8}
!27 = !{!26, !10, i64 8}
!28 = !{!26, !10, i64 4}


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