; LLVM IR from paroj/gltut :: Tut 14 Textures Are Not Pictures/MaterialTexture.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.ProgramData = type { 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.17 }
%union.anon.17 = type { %struct.anon.18 }
%struct.anon.18 = type { float, float, float, float }
%"class.glutil::MatrixStack" = type { %"class.std::stack", %"struct.glm::detail::tmat4x4" }
%"class.std::stack" = type { %"class.std::vector.21" }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = 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"] }
%struct.LightBlock = type { %"struct.glm::detail::tvec4", float, [3 x float], [2 x %struct.PerLight] }
%struct.PerLight = type { %"struct.glm::detail::tvec4", %"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 [3 x %struct.ProgramData], align 16
@g_Unlit = external dso_local global %struct.UnlitProgData, align 4
@_funcptr_glUseProgram = external 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_pObjectMesh = external dso_local global ptr, align 8
@g_pCubeMesh = external dso_local global ptr, align 8
@g_pPlaneMesh = external dso_local global ptr, align 8
@g_lightUniformBuffer = external dso_local global i32, align 4
@g_materialUniformBuffer = external dso_local global i32, align 4
@g_materialOffset = external dso_local global i32, align 4
@g_gaussTextures = external dso_local global [4 x i32], align 16
@g_textureSampler = external dso_local global i32, align 4
@_funcptr_glBindTexture = external global ptr, align 8
@g_shineTexture = external dso_local global i32, align 4
@_funcptr_glEnable = external global ptr, align 8
@_funcptr_glDepthMask = external global ptr, align 8
@_funcptr_glBindBuffer = external global ptr, align 8
@_funcptr_glBindBufferRange = external global ptr, align 8
@g_bDrawCameraPos = external dso_local global i8, align 1
@g_bDrawLights = external dso_local global i8, align 1
@g_bUseInfinity = external dso_local global i8, align 1
@g_eMode = external dso_local global i32, align 4
@g_currTexture = external dso_local global i32, align 4
@g_currMaterial = external dso_local global i32, align 4
@g_lightTimer = external dso_local global %"class.Framework::Timer", align 4
@_funcptr_glClearColor = external global ptr, align 8
@_funcptr_glClearDepth = external global ptr, align 8
@_funcptr_glClear = external global ptr, align 8
@_funcptr_glBufferSubData = external global ptr, align 8
@_funcptr_glUniformMatrix4fv = external global ptr, align 8
@_funcptr_glUniformMatrix3fv = external global ptr, align 8
@_funcptr_glActiveTexture = external global ptr, align 8
@_funcptr_glBindSampler = external global ptr, align 8
@.str.25 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [4 x i8], align 1
@_funcptr_glBindBufferBase = external global ptr, align 8
@_funcptr_glUniform4fv = external global ptr, align 8
@.str.27 = external hidden unnamed_addr constant [5 x i8], align 1
@_funcptr_glDisable = external global ptr, align 8
@_funcptr_glUniform4f = external global ptr, align 8

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #3 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 %"struct.glm::detail::tmat4x4", align 4
  %6 = alloca %struct.LightBlock, align 4
  %7 = alloca %"struct.glm::detail::tvec4", align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca %"struct.glm::detail::tvec3", align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca %"struct.glm::detail::tvec4", align 4
  %17 = alloca %"struct.glm::detail::tvec4", align 4
  %18 = alloca float, align 4
  %19 = alloca %"struct.glm::detail::tvec4", align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca %"struct.glm::detail::tvec4", align 4
  %25 = alloca %"struct.glm::detail::tvec4", align 4
  %26 = alloca %"struct.glm::detail::tvec4", align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca float, align 4
  %30 = alloca float, align 4
  %31 = alloca ptr, align 8
  %32 = alloca %"class.glutil::PushStack", align 8
  %33 = alloca %"struct.glm::detail::tmat4x4", align 4
  %34 = alloca %"struct.glm::detail::tmat3x3", align 4
  %35 = alloca %"struct.glm::detail::tmat3x3", align 4
  %36 = alloca %"struct.glm::detail::tmat3x3", align 4
  %37 = alloca ptr, align 8
  %38 = alloca %"class.std::__cxx11::basic_string", align 8
  %39 = alloca %"class.std::allocator.0", align 1
  %40 = alloca %"class.std::__cxx11::basic_string", align 8
  %41 = alloca %"class.std::allocator.0", align 1
  %42 = alloca %"class.glutil::PushStack", align 8
  %43 = alloca %"struct.glm::detail::tvec3", align 4
  %44 = alloca %"struct.glm::detail::tvec4", align 4
  %45 = alloca %"struct.glm::detail::tvec4", align 4
  %46 = alloca float, align 4
  %47 = alloca %"class.std::__cxx11::basic_string", align 8
  %48 = alloca %"class.std::allocator.0", align 1
  %49 = alloca %"struct.glm::detail::tvec3", align 4
  %50 = alloca float, align 4
  %51 = alloca %"class.std::__cxx11::basic_string", align 8
  %52 = alloca %"class.std::allocator.0", align 1
  %53 = alloca %"class.glutil::PushStack", align 8
  %54 = alloca %"struct.glm::detail::tvec3", align 4
  %55 = alloca float, align 4
  %56 = alloca float, align 4
  %57 = alloca float, align 4
  %58 = alloca %"class.std::__cxx11::basic_string", align 8
  %59 = alloca %"class.std::allocator.0", align 1
  %60 = alloca %"class.std::__cxx11::basic_string", align 8
  %61 = alloca %"class.std::allocator.0", align 1
  %62 = call noundef zeroext i1 @_ZN9Framework5Timer6UpdateEv(ptr noundef nonnull align 4 dereferenceable(20) @g_lightTimer)
  %63 = load ptr, ptr @_funcptr_glClearColor, align 8, !tbaa !5
  call void %63(float noundef 7.500000e-01, float noundef 7.500000e-01, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %64 = load ptr, ptr @_funcptr_glClearDepth, align 8, !tbaa !5
  call void %64(double noundef 1.000000e+00)
  %65 = load ptr, ptr @_funcptr_glClear, align 8, !tbaa !5
  call void %65(i32 noundef 16640)
  %66 = load ptr, ptr @g_pObjectMesh, align 8, !tbaa !5
  %67 = icmp ne ptr %66, null
  br i1 %67, label %68, label %472

68:                                               ; preds = %0
  %69 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  %70 = icmp ne ptr %69, null
  br i1 %70, label %71, label %472

71:                                               ; preds = %68
  %72 = load ptr, ptr @g_pPlaneMesh, align 8, !tbaa !5
  %73 = icmp ne ptr %72, null
  br i1 %73, label %74, label %472

74:                                               ; preds = %71
  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 %75 unwind label %199

75:                                               ; preds = %74
  invoke void @_ZN6glutil11MatrixStack9SetMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(64) %2)
          to label %76 unwind label %199

76:                                               ; preds = %75
  call void @llvm.lifetime.end.p0(i64 64, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %5) #6
  %77 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %78 unwind label %203

78:                                               ; preds = %76
  invoke void @_ZN3glm6detail7tmat4x4IfEC2ERKS2_(ptr noundef nonnull align 4 dereferenceable(64) %5, ptr noundef nonnull align 4 dereferenceable(64) %77)
          to label %79 unwind label %203

79:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 96, ptr %6) #6
  invoke void @_ZN10LightBlockC2Ev(ptr noundef nonnull align 4 dereferenceable(96) %6)
          to label %80 unwind label %207

80:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store float 0x3FC99999A0000000, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store float 0x3FC99999A0000000, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store float 0x3FC99999A0000000, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store float 1.000000e+00, ptr %11, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec4IfEC2ERKfS4_S4_S4_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %81 unwind label %211

81:                                               ; preds = %80
  %82 = getelementptr inbounds %struct.LightBlock, ptr %6, i32 0, i32 0
  %83 = invoke noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %82, ptr noundef nonnull align 4 dereferenceable(16) %7)
          to label %84 unwind label %211

84:                                               ; preds = %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  %85 = getelementptr inbounds %struct.LightBlock, ptr %6, i32 0, i32 1
  store float 0x3F5A36E2E0000000, ptr %85, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store float 0x3FE69FBE80000000, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store float 0x3FE69FBE80000000, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store float 0.000000e+00, ptr %15, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %12, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %86 unwind label %215

86:                                               ; preds = %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store float 0.000000e+00, ptr %18, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec4IfEC2IffEERKNS0_5tvec3IT_EERKT0_(ptr noundef nonnull align 4 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(12) %12, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %87 unwind label %219

87:                                               ; preds = %86
  invoke void @_ZN3glm6detailmlIfEENS0_7tmat4x4IT_E8col_typeERKS4_RKNS4_8row_typeE(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %16, ptr noundef nonnull align 4 dereferenceable(64) %5, ptr noundef nonnull align 4 dereferenceable(16) %17)
          to label %88 unwind label %219

88:                                               ; preds = %87
  %89 = getelementptr inbounds %struct.LightBlock, ptr %6, i32 0, i32 3
  %90 = getelementptr inbounds [2 x %struct.PerLight], ptr %89, i64 0, i64 0
  %91 = getelementptr inbounds %struct.PerLight, ptr %90, i32 0, i32 0
  %92 = invoke noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %91, ptr noundef nonnull align 4 dereferenceable(16) %16)
          to label %93 unwind label %219

93:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  store float 0x3FE3333340000000, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store float 0x3FE3333340000000, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store float 0x3FE3333340000000, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store float 1.000000e+00, ptr %23, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec4IfEC2ERKfS4_S4_S4_(ptr noundef nonnull align 4 dereferenceable(16) %19, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %94 unwind label %223

94:                                               ; preds = %93
  %95 = getelementptr inbounds %struct.LightBlock, ptr %6, i32 0, i32 3
  %96 = getelementptr inbounds [2 x %struct.PerLight], ptr %95, i64 0, i64 0
  %97 = getelementptr inbounds %struct.PerLight, ptr %96, i32 0, i32 1
  %98 = invoke noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %97, ptr noundef nonnull align 4 dereferenceable(16) %19)
          to label %99 unwind label %223

99:                                               ; preds = %94
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #6
  invoke void @_Z17CalcLightPositionv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %25)
          to label %100 unwind label %227

100:                                              ; preds = %99
  invoke void @_ZN3glm6detailmlIfEENS0_7tmat4x4IT_E8col_typeERKS4_RKNS4_8row_typeE(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %24, ptr noundef nonnull align 4 dereferenceable(64) %5, ptr noundef nonnull align 4 dereferenceable(16) %25)
          to label %101 unwind label %227

101:                                              ; preds = %100
  %102 = getelementptr inbounds %struct.LightBlock, ptr %6, i32 0, i32 3
  %103 = getelementptr inbounds [2 x %struct.PerLight], ptr %102, i64 0, i64 1
  %104 = getelementptr inbounds %struct.PerLight, ptr %103, i32 0, i32 0
  %105 = invoke noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %104, ptr noundef nonnull align 4 dereferenceable(16) %24)
          to label %106 unwind label %227

106:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  store float 0x3FD99999A0000000, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  store float 0x3FD99999A0000000, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  store float 0x3FD99999A0000000, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  store float 1.000000e+00, ptr %30, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec4IfEC2ERKfS4_S4_S4_(ptr noundef nonnull align 4 dereferenceable(16) %26, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef nonnull align 4 dereferenceable(4) %30)
          to label %107 unwind label %231

107:                                              ; preds = %106
  %108 = getelementptr inbounds %struct.LightBlock, ptr %6, i32 0, i32 3
  %109 = getelementptr inbounds [2 x %struct.PerLight], ptr %108, i64 0, i64 1
  %110 = getelementptr inbounds %struct.PerLight, ptr %109, i32 0, i32 1
  %111 = invoke noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %110, ptr noundef nonnull align 4 dereferenceable(16) %26)
          to label %112 unwind label %231

112:                                              ; preds = %107
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  %113 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  %114 = load i32, ptr @g_lightUniformBuffer, align 4, !tbaa !14
  invoke void %113(i32 noundef 35345, i32 noundef %114)
          to label %115 unwind label %235

115:                                              ; preds = %112
  %116 = load ptr, ptr @_funcptr_glBufferSubData, align 8, !tbaa !5
  invoke void %116(i32 noundef 35345, i64 noundef 0, i64 noundef 96, ptr noundef %6)
          to label %117 unwind label %235

117:                                              ; preds = %115
  %118 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  invoke void %118(i32 noundef 35345, i32 noundef 0)
          to label %119 unwind label %235

119:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %120 = load i8, ptr @g_bUseInfinity, align 1, !tbaa !16, !range !18, !noundef !19
  %121 = trunc i8 %120 to i1
  br i1 %121, label %122, label %124

122:                                              ; preds = %119
  %123 = load ptr, ptr @g_pObjectMesh, align 8, !tbaa !5
  br label %126

124:                                              ; preds = %119
  %125 = load ptr, ptr @g_pPlaneMesh, align 8, !tbaa !5
  br label %126

126:                                              ; preds = %124, %122
  %127 = phi ptr [ %123, %122 ], [ %125, %124 ]
  store ptr %127, ptr %31, align 8, !tbaa !5
  %128 = load ptr, ptr @_funcptr_glBindBufferRange, align 8, !tbaa !5
  %129 = load i32, ptr @g_materialUniformBuffer, align 4, !tbaa !14
  %130 = load i32, ptr @g_currMaterial, align 4, !tbaa !14
  %131 = load i32, ptr @g_materialOffset, align 4, !tbaa !14
  %132 = mul nsw i32 %130, %131
  %133 = sext i32 %132 to i64
  invoke void %128(i32 noundef 35345, i32 noundef 0, i32 noundef %129, i64 noundef %133, i64 noundef 48)
          to label %134 unwind label %239

134:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %135 unwind label %243

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

136:                                              ; preds = %135
  invoke void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(64) %33)
          to label %137 unwind label %247

137:                                              ; preds = %136
  call void @llvm.lifetime.end.p0(i64 64, ptr %33) #6
  %138 = load i8, ptr @g_bUseInfinity, align 1, !tbaa !16, !range !18, !noundef !19
  %139 = trunc i8 %138 to i1
  %140 = zext i1 %139 to i64
  %141 = select i1 %139, float 2.000000e+00, float 4.000000e+00
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef %141)
          to label %142 unwind label %251

142:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 36, ptr %34) #6
  %143 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %144 unwind label %255

144:                                              ; preds = %142
  invoke void @_ZN3glm6detail7tmat3x3IfEC2ERKNS0_7tmat4x4IfEE(ptr noundef nonnull align 4 dereferenceable(36) %34, ptr noundef nonnull align 4 dereferenceable(64) %143)
          to label %145 unwind label %255

145:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 36, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr %36) #6
  invoke void @_ZN3glm7inverseIfEENS_6detail7tmat3x3IT_EERKS4_(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat3x3") align 4 %36, ptr noundef nonnull align 4 dereferenceable(36) %34)
          to label %146 unwind label %259

146:                                              ; preds = %145
  invoke void @_ZN3glm9transposeIfEENS_6detail7tmat3x3IT_EERKS4_(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat3x3") align 4 %35, ptr noundef nonnull align 4 dereferenceable(36) %36)
          to label %147 unwind label %259

147:                                              ; preds = %146
  %148 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN3glm6detail7tmat3x3IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(36) %34, ptr noundef nonnull align 4 dereferenceable(36) %35)
          to label %149 unwind label %259

149:                                              ; preds = %147
  call void @llvm.lifetime.end.p0(i64 36, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  %150 = load i32, ptr @g_eMode, align 4, !tbaa !20
  %151 = zext i32 %150 to i64
  %152 = getelementptr inbounds [3 x %struct.ProgramData], ptr @g_Programs, i64 0, i64 %151
  store ptr %152, ptr %37, align 8, !tbaa !5
  %153 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %154 = load ptr, ptr %37, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.ProgramData, ptr %154, i32 0, i32 0
  %156 = load i32, ptr %155, align 4, !tbaa !22
  invoke void %153(i32 noundef %156)
          to label %157 unwind label %263

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

163:                                              ; preds = %157
  %164 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %162)
          to label %165 unwind label %263

165:                                              ; preds = %163
  invoke void %158(i32 noundef %161, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %164)
          to label %166 unwind label %263

166:                                              ; preds = %165
  %167 = load ptr, ptr @_funcptr_glUniformMatrix3fv, align 8, !tbaa !5
  %168 = load ptr, ptr %37, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.ProgramData, ptr %168, i32 0, i32 2
  %170 = load i32, ptr %169, align 4, !tbaa !25
  %171 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail7tmat3x3IS1_EE(ptr noundef nonnull align 4 dereferenceable(36) %34)
          to label %172 unwind label %263

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

173:                                              ; preds = %172
  %174 = load ptr, ptr @_funcptr_glActiveTexture, align 8, !tbaa !5
  invoke void %174(i32 noundef 33984)
          to label %175 unwind label %263

175:                                              ; preds = %173
  %176 = load ptr, ptr @_funcptr_glBindTexture, align 8, !tbaa !5
  %177 = load i32, ptr @g_currTexture, align 4, !tbaa !14
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds [4 x i32], ptr @g_gaussTextures, i64 0, i64 %178
  %180 = load i32, ptr %179, align 4, !tbaa !14
  invoke void %176(i32 noundef 3553, i32 noundef %180)
          to label %181 unwind label %263

181:                                              ; preds = %175
  %182 = load ptr, ptr @_funcptr_glBindSampler, align 8, !tbaa !5
  %183 = load i32, ptr @g_textureSampler, align 4, !tbaa !14
  invoke void %182(i32 noundef 0, i32 noundef %183)
          to label %184 unwind label %263

184:                                              ; preds = %181
  %185 = load ptr, ptr @_funcptr_glActiveTexture, align 8, !tbaa !5
  invoke void %185(i32 noundef 33985)
          to label %186 unwind label %263

186:                                              ; preds = %184
  %187 = load ptr, ptr @_funcptr_glBindTexture, align 8, !tbaa !5
  %188 = load i32, ptr @g_shineTexture, align 4, !tbaa !14
  invoke void %187(i32 noundef 3553, i32 noundef %188)
          to label %189 unwind label %263

189:                                              ; preds = %186
  %190 = load ptr, ptr @_funcptr_glBindSampler, align 8, !tbaa !5
  %191 = load i32, ptr @g_textureSampler, align 4, !tbaa !14
  invoke void %190(i32 noundef 1, i32 noundef %191)
          to label %192 unwind label %263

192:                                              ; preds = %189
  %193 = load i32, ptr @g_eMode, align 4, !tbaa !20
  %194 = icmp ne i32 %193, 0
  br i1 %194, label %195, label %276

195:                                              ; preds = %192
  %196 = load ptr, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %38) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef @.str.25, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %197 unwind label %267

197:                                              ; preds = %195
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %196, ptr noundef nonnull align 8 dereferenceable(32) %38)
          to label %198 unwind label %271

198:                                              ; preds = %197
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #6
  br label %289

199:                                              ; preds = %75, %74
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %3, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %2) #6
  br label %471

203:                                              ; preds = %78, %76
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %3, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %4, align 4
  br label %470

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

211:                                              ; preds = %81, %80
  %212 = landingpad { ptr, i32 }
          cleanup
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %3, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  br label %469

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

219:                                              ; preds = %88, %87, %86
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %3, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  br label %468

223:                                              ; preds = %94, %93
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %3, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  br label %468

227:                                              ; preds = %101, %100, %99
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %3, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  br label %468

231:                                              ; preds = %107, %106
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %3, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  br label %468

235:                                              ; preds = %117, %115, %112
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %3, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %4, align 4
  br label %468

239:                                              ; preds = %126
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %3, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %4, align 4
  br label %345

243:                                              ; preds = %134
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %3, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %4, align 4
  br label %344

247:                                              ; preds = %136, %135
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %3, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %33) #6
  br label %343

251:                                              ; preds = %137
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %3, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %4, align 4
  br label %343

255:                                              ; preds = %144, %142
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %3, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %4, align 4
  br label %342

259:                                              ; preds = %147, %146, %145
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %3, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 36, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %35) #6
  br label %342

263:                                              ; preds = %295, %293, %291, %289, %189, %186, %184, %181, %175, %173, %172, %166, %165, %163, %157, %149
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %3, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %4, align 4
  br label %341

267:                                              ; preds = %195
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %3, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %4, align 4
  br label %275

271:                                              ; preds = %197
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %3, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #6
  br label %275

275:                                              ; preds = %271, %267
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #6
  br label %341

276:                                              ; preds = %192
  %277 = load ptr, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %40) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef @.str.26, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %278 unwind label %280

278:                                              ; preds = %276
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %277, ptr noundef nonnull align 8 dereferenceable(32) %40)
          to label %279 unwind label %284

279:                                              ; preds = %278
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #6
  br label %289

280:                                              ; preds = %276
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %3, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %4, align 4
  br label %288

284:                                              ; preds = %278
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %3, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #6
  br label %288

288:                                              ; preds = %284, %280
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #6
  br label %341

289:                                              ; preds = %279, %198
  %290 = load ptr, ptr @_funcptr_glBindSampler, align 8, !tbaa !5
  invoke void %290(i32 noundef 0, i32 noundef 0)
          to label %291 unwind label %263

291:                                              ; preds = %289
  %292 = load ptr, ptr @_funcptr_glBindTexture, align 8, !tbaa !5
  invoke void %292(i32 noundef 3553, i32 noundef 0)
          to label %293 unwind label %263

293:                                              ; preds = %291
  %294 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  invoke void %294(i32 noundef 0)
          to label %295 unwind label %263

295:                                              ; preds = %293
  %296 = load ptr, ptr @_funcptr_glBindBufferBase, align 8, !tbaa !5
  invoke void %296(i32 noundef 35345, i32 noundef 0, i32 noundef 0)
          to label %297 unwind label %263

297:                                              ; preds = %295
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %34) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  %298 = load i8, ptr @g_bDrawLights, align 1, !tbaa !16, !range !18, !noundef !19
  %299 = trunc i8 %298 to i1
  br i1 %299, label %300, label %391

300:                                              ; preds = %297
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %301 unwind label %346

301:                                              ; preds = %300
  call void @llvm.lifetime.start.p0(i64 12, ptr %43) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #6
  invoke void @_Z17CalcLightPositionv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %44)
          to label %302 unwind label %350

302:                                              ; preds = %301
  invoke void @_ZN3glm6detail5tvec3IfEC2IfEERKNS0_5tvec4IT_EE(ptr noundef nonnull align 4 dereferenceable(12) %43, ptr noundef nonnull align 4 dereferenceable(16) %44)
          to label %303 unwind label %350

303:                                              ; preds = %302
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %43)
          to label %304 unwind label %350

304:                                              ; preds = %303
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %43) #6
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef 2.500000e-01)
          to label %305 unwind label %354

305:                                              ; preds = %304
  %306 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %307 = load i32, ptr @g_Unlit, align 4, !tbaa !26
  invoke void %306(i32 noundef %307)
          to label %308 unwind label %354

308:                                              ; preds = %305
  %309 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %310 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 2), align 4, !tbaa !28
  %311 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %312 unwind label %354

312:                                              ; preds = %308
  %313 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %311)
          to label %314 unwind label %354

314:                                              ; preds = %312
  invoke void %309(i32 noundef %310, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %313)
          to label %315 unwind label %354

315:                                              ; preds = %314
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #6
  store float 1.000000e+00, ptr %46, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec4IfEC2ERKf(ptr noundef nonnull align 4 dereferenceable(16) %45, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %316 unwind label %358

316:                                              ; preds = %315
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  %317 = load ptr, ptr @_funcptr_glUniform4fv, align 8, !tbaa !5
  %318 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 1), align 4, !tbaa !29
  %319 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16) %45)
          to label %320 unwind label %362

320:                                              ; preds = %316
  invoke void %317(i32 noundef %318, i32 noundef 1, ptr noundef %319)
          to label %321 unwind label %362

321:                                              ; preds = %320
  %322 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %47) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %48) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef @.str.27, ptr noundef nonnull align 1 dereferenceable(1) %48)
          to label %323 unwind label %366

323:                                              ; preds = %321
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %322, ptr noundef nonnull align 8 dereferenceable(32) %47)
          to label %324 unwind label %370

324:                                              ; preds = %323
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #6
  invoke void @_ZN6glutil9PushStack10ResetStackEv(ptr noundef nonnull align 8 dereferenceable(8) %42)
          to label %325 unwind label %362

325:                                              ; preds = %324
  call void @llvm.lifetime.start.p0(i64 12, ptr %49) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #6
  store float 1.000000e+02, ptr %50, align 4, !tbaa !9
  invoke void @_ZN3glm6detailmlIfEENS0_5tvec3IT_EERKS4_RKS3_(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec3") align 4 %49, ptr noundef nonnull align 4 dereferenceable(12) %12, ptr noundef nonnull align 4 dereferenceable(4) %50)
          to label %326 unwind label %375

326:                                              ; preds = %325
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %49)
          to label %327 unwind label %375

327:                                              ; preds = %326
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %49) #6
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef 5.000000e+00)
          to label %328 unwind label %362

328:                                              ; preds = %327
  %329 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %330 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 2), align 4, !tbaa !28
  %331 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %332 unwind label %362

332:                                              ; preds = %328
  %333 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %331)
          to label %334 unwind label %362

334:                                              ; preds = %332
  invoke void %329(i32 noundef %330, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %333)
          to label %335 unwind label %362

335:                                              ; preds = %334
  %336 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %51) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %52) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef @.str.27, ptr noundef nonnull align 1 dereferenceable(1) %52)
          to label %337 unwind label %379

337:                                              ; preds = %335
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %336, ptr noundef nonnull align 8 dereferenceable(32) %51)
          to label %338 unwind label %383

338:                                              ; preds = %337
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %51) #6
  %339 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  invoke void %339(i32 noundef 0)
          to label %340 unwind label %362

340:                                              ; preds = %338
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  br label %391

341:                                              ; preds = %288, %275, %263
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  br label %342

342:                                              ; preds = %341, %259, %255
  call void @llvm.lifetime.end.p0(i64 36, ptr %34) #6
  br label %343

343:                                              ; preds = %342, %251, %247
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #6
  br label %344

344:                                              ; preds = %343, %243
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  br label %345

345:                                              ; preds = %344, %239
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  br label %468

346:                                              ; preds = %300
  %347 = landingpad { ptr, i32 }
          cleanup
  %348 = extractvalue { ptr, i32 } %347, 0
  store ptr %348, ptr %3, align 8
  %349 = extractvalue { ptr, i32 } %347, 1
  store i32 %349, ptr %4, align 4
  br label %390

350:                                              ; preds = %303, %302, %301
  %351 = landingpad { ptr, i32 }
          cleanup
  %352 = extractvalue { ptr, i32 } %351, 0
  store ptr %352, ptr %3, align 8
  %353 = extractvalue { ptr, i32 } %351, 1
  store i32 %353, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %43) #6
  br label %389

354:                                              ; preds = %314, %312, %308, %305, %304
  %355 = landingpad { ptr, i32 }
          cleanup
  %356 = extractvalue { ptr, i32 } %355, 0
  store ptr %356, ptr %3, align 8
  %357 = extractvalue { ptr, i32 } %355, 1
  store i32 %357, ptr %4, align 4
  br label %389

358:                                              ; preds = %315
  %359 = landingpad { ptr, i32 }
          cleanup
  %360 = extractvalue { ptr, i32 } %359, 0
  store ptr %360, ptr %3, align 8
  %361 = extractvalue { ptr, i32 } %359, 1
  store i32 %361, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  br label %388

362:                                              ; preds = %338, %334, %332, %328, %327, %324, %320, %316
  %363 = landingpad { ptr, i32 }
          cleanup
  %364 = extractvalue { ptr, i32 } %363, 0
  store ptr %364, ptr %3, align 8
  %365 = extractvalue { ptr, i32 } %363, 1
  store i32 %365, ptr %4, align 4
  br label %388

366:                                              ; preds = %321
  %367 = landingpad { ptr, i32 }
          cleanup
  %368 = extractvalue { ptr, i32 } %367, 0
  store ptr %368, ptr %3, align 8
  %369 = extractvalue { ptr, i32 } %367, 1
  store i32 %369, ptr %4, align 4
  br label %374

370:                                              ; preds = %323
  %371 = landingpad { ptr, i32 }
          cleanup
  %372 = extractvalue { ptr, i32 } %371, 0
  store ptr %372, ptr %3, align 8
  %373 = extractvalue { ptr, i32 } %371, 1
  store i32 %373, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #6
  br label %374

374:                                              ; preds = %370, %366
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #6
  br label %388

375:                                              ; preds = %326, %325
  %376 = landingpad { ptr, i32 }
          cleanup
  %377 = extractvalue { ptr, i32 } %376, 0
  store ptr %377, ptr %3, align 8
  %378 = extractvalue { ptr, i32 } %376, 1
  store i32 %378, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %49) #6
  br label %388

379:                                              ; preds = %335
  %380 = landingpad { ptr, i32 }
          cleanup
  %381 = extractvalue { ptr, i32 } %380, 0
  store ptr %381, ptr %3, align 8
  %382 = extractvalue { ptr, i32 } %380, 1
  store i32 %382, ptr %4, align 4
  br label %387

383:                                              ; preds = %337
  %384 = landingpad { ptr, i32 }
          cleanup
  %385 = extractvalue { ptr, i32 } %384, 0
  store ptr %385, ptr %3, align 8
  %386 = extractvalue { ptr, i32 } %384, 1
  store i32 %386, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #6
  br label %387

387:                                              ; preds = %383, %379
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %51) #6
  br label %388

388:                                              ; preds = %387, %375, %374, %362, %358
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #6
  br label %389

389:                                              ; preds = %388, %354, %350
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #6
  br label %390

390:                                              ; preds = %389, %346
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  br label %468

391:                                              ; preds = %340, %297
  %392 = load i8, ptr @g_bDrawCameraPos, align 1, !tbaa !16, !range !18, !noundef !19
  %393 = trunc i8 %392 to i1
  br i1 %393, label %394, label %467

394:                                              ; preds = %391
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %395 unwind label %435

395:                                              ; preds = %394
  invoke void @_ZN6glutil11MatrixStack11SetIdentityEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %396 unwind label %439

396:                                              ; preds = %395
  call void @llvm.lifetime.start.p0(i64 12, ptr %54) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #6
  store float 0.000000e+00, ptr %55, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #6
  store float 0.000000e+00, ptr %56, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #6
  %397 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZNK6glutil8ViewPole7GetViewEv(ptr noundef nonnull align 8 dereferenceable(148) @g_viewPole)
          to label %398 unwind label %443

398:                                              ; preds = %396
  %399 = getelementptr inbounds %"struct.glutil::ViewData", ptr %397, i32 0, i32 2
  %400 = load float, ptr %399, align 4, !tbaa !30
  %401 = fneg float %400
  store float %401, ptr %57, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %54, ptr noundef nonnull align 4 dereferenceable(4) %55, ptr noundef nonnull align 4 dereferenceable(4) %56, ptr noundef nonnull align 4 dereferenceable(4) %57)
          to label %402 unwind label %443

402:                                              ; preds = %398
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %54)
          to label %403 unwind label %443

403:                                              ; preds = %402
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %54) #6
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef 2.500000e-01)
          to label %404 unwind label %439

404:                                              ; preds = %403
  %405 = load ptr, ptr @_funcptr_glDisable, align 8, !tbaa !5
  invoke void %405(i32 noundef 2929)
          to label %406 unwind label %439

406:                                              ; preds = %404
  %407 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %407(i8 noundef zeroext 0)
          to label %408 unwind label %439

408:                                              ; preds = %406
  %409 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %410 = load i32, ptr @g_Unlit, align 4, !tbaa !26
  invoke void %409(i32 noundef %410)
          to label %411 unwind label %439

411:                                              ; preds = %408
  %412 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %413 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 2), align 4, !tbaa !28
  %414 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %415 unwind label %439

415:                                              ; preds = %411
  %416 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %414)
          to label %417 unwind label %439

417:                                              ; preds = %415
  invoke void %412(i32 noundef %413, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %416)
          to label %418 unwind label %439

418:                                              ; preds = %417
  %419 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %420 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 1), align 4, !tbaa !29
  invoke void %419(i32 noundef %420, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 1.000000e+00)
          to label %421 unwind label %439

421:                                              ; preds = %418
  %422 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %58) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %59) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef @.str.27, ptr noundef nonnull align 1 dereferenceable(1) %59)
          to label %423 unwind label %447

423:                                              ; preds = %421
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %422, ptr noundef nonnull align 8 dereferenceable(32) %58)
          to label %424 unwind label %451

424:                                              ; preds = %423
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %59) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %58) #6
  %425 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %425(i8 noundef zeroext 1)
          to label %426 unwind label %439

426:                                              ; preds = %424
  %427 = load ptr, ptr @_funcptr_glEnable, align 8, !tbaa !5
  invoke void %427(i32 noundef 2929)
          to label %428 unwind label %439

428:                                              ; preds = %426
  %429 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %430 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 1), align 4, !tbaa !29
  invoke void %429(i32 noundef %430, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %431 unwind label %439

431:                                              ; preds = %428
  %432 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %60) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %61) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef @.str.27, ptr noundef nonnull align 1 dereferenceable(1) %61)
          to label %433 unwind label %456

433:                                              ; preds = %431
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %432, ptr noundef nonnull align 8 dereferenceable(32) %60)
          to label %434 unwind label %460

434:                                              ; preds = %433
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %61) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %60) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %53) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #6
  br label %467

435:                                              ; preds = %394
  %436 = landingpad { ptr, i32 }
          cleanup
  %437 = extractvalue { ptr, i32 } %436, 0
  store ptr %437, ptr %3, align 8
  %438 = extractvalue { ptr, i32 } %436, 1
  store i32 %438, ptr %4, align 4
  br label %466

439:                                              ; preds = %428, %426, %424, %418, %417, %415, %411, %408, %406, %404, %403, %395
  %440 = landingpad { ptr, i32 }
          cleanup
  %441 = extractvalue { ptr, i32 } %440, 0
  store ptr %441, ptr %3, align 8
  %442 = extractvalue { ptr, i32 } %440, 1
  store i32 %442, ptr %4, align 4
  br label %465

443:                                              ; preds = %402, %398, %396
  %444 = landingpad { ptr, i32 }
          cleanup
  %445 = extractvalue { ptr, i32 } %444, 0
  store ptr %445, ptr %3, align 8
  %446 = extractvalue { ptr, i32 } %444, 1
  store i32 %446, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %54) #6
  br label %465

447:                                              ; preds = %421
  %448 = landingpad { ptr, i32 }
          cleanup
  %449 = extractvalue { ptr, i32 } %448, 0
  store ptr %449, ptr %3, align 8
  %450 = extractvalue { ptr, i32 } %448, 1
  store i32 %450, ptr %4, align 4
  br label %455

451:                                              ; preds = %423
  %452 = landingpad { ptr, i32 }
          cleanup
  %453 = extractvalue { ptr, i32 } %452, 0
  store ptr %453, ptr %3, align 8
  %454 = extractvalue { ptr, i32 } %452, 1
  store i32 %454, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #6
  br label %455

455:                                              ; preds = %451, %447
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %59) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %58) #6
  br label %465

456:                                              ; preds = %431
  %457 = landingpad { ptr, i32 }
          cleanup
  %458 = extractvalue { ptr, i32 } %457, 0
  store ptr %458, ptr %3, align 8
  %459 = extractvalue { ptr, i32 } %457, 1
  store i32 %459, ptr %4, align 4
  br label %464

460:                                              ; preds = %433
  %461 = landingpad { ptr, i32 }
          cleanup
  %462 = extractvalue { ptr, i32 } %461, 0
  store ptr %462, ptr %3, align 8
  %463 = extractvalue { ptr, i32 } %461, 1
  store i32 %463, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #6
  br label %464

464:                                              ; preds = %460, %456
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %61) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %60) #6
  br label %465

465:                                              ; preds = %464, %455, %443, %439
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %53) #6
  br label %466

466:                                              ; preds = %465, %435
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #6
  br label %468

467:                                              ; preds = %434, %391
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 64, 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 %472

468:                                              ; preds = %466, %390, %345, %235, %231, %227, %223, %219, %215
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #6
  br label %469

469:                                              ; preds = %468, %211, %207
  call void @llvm.lifetime.end.p0(i64 96, ptr %6) #6
  br label %470

470:                                              ; preds = %469, %203
  call void @llvm.lifetime.end.p0(i64 64, ptr %5) #6
  br label %471

471:                                              ; preds = %470, %199
  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 %473

472:                                              ; preds = %467, %71, %68, %0
  call void @glutPostRedisplay()
  call void @glutSwapBuffers()
  ret void

473:                                              ; preds = %471
  %474 = load ptr, ptr %3, align 8
  %475 = load i32, ptr %4, align 4
  %476 = insertvalue { ptr, i32 } poison, ptr %474, 0
  %477 = insertvalue { ptr, i32 } %476, i32 %475, 1
  resume { ptr, i32 } %477
}

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

; 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)) #4

declare void @_ZNK6glutil8ViewPole10CalcMatrixEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat4x4") align 4, ptr noundef nonnull align 8 dereferenceable(148)) 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)) #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10LightBlockC2Ev(ptr noundef nonnull align 4 dereferenceable(96)) unnamed_addr #5 align 2

; 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)) #5

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88), float noundef) #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 #5 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)) #5

; 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)) #5

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

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

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

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

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

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

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

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

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

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

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

declare void @_ZN6glutil11MatrixStack11SetIdentityEv(ptr noundef nonnull align 8 dereferenceable(88)) #4

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

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

declare void @glutPostRedisplay() #4

declare void @glutSwapBuffers() #4

; 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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 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 = !{!"float", !7, i64 0}
!11 = !{!12, !10, i64 16}
!12 = !{!"_ZTS10LightBlock", !13, i64 0, !10, i64 16, !7, i64 20, !7, i64 32}
!13 = !{!"_ZTSN3glm6detail5tvec4IfEE", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!21, !21, i64 0}
!21 = !{!"_ZTS10ShaderMode", !7, i64 0}
!22 = !{!23, !15, i64 0}
!23 = !{!"_ZTS11ProgramData", !15, i64 0, !15, i64 4, !15, i64 8}
!24 = !{!23, !15, i64 4}
!25 = !{!23, !15, i64 8}
!26 = !{!27, !15, i64 0}
!27 = !{!"_ZTS13UnlitProgData", !15, i64 0, !15, i64 4, !15, i64 8}
!28 = !{!27, !15, i64 8}
!29 = !{!27, !15, i64 4}
!30 = !{!31, !10, i64 28}
!31 = !{!"_ZTSN6glutil8ViewDataE", !32, i64 0, !33, i64 12, !10, i64 28, !10, i64 32}
!32 = !{!"_ZTSN3glm6detail5tvec3IfEE", !7, i64 0}
!33 = !{!"_ZTSN3glm6detail5tquatIfEE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}


; 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.ProgramData = type { 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.17 }
%union.anon.17 = type { %struct.anon.18 }
%struct.anon.18 = type { float, float, float, float }
%"class.glutil::MatrixStack" = type { %"class.std::stack", %"struct.glm::detail::tmat4x4" }
%"class.std::stack" = type { %"class.std::vector.21" }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = 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"] }
%struct.LightBlock = type { %"struct.glm::detail::tvec4", float, [3 x float], [2 x %struct.PerLight] }
%struct.PerLight = type { %"struct.glm::detail::tvec4", %"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 [3 x %struct.ProgramData], align 16
@g_Unlit = external dso_local local_unnamed_addr global %struct.UnlitProgData, align 4
@_funcptr_glUseProgram = external 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_pObjectMesh = external dso_local local_unnamed_addr global ptr, align 8
@g_pCubeMesh = external dso_local local_unnamed_addr global ptr, align 8
@g_pPlaneMesh = external dso_local local_unnamed_addr global ptr, align 8
@g_lightUniformBuffer = external dso_local local_unnamed_addr global i32, align 4
@g_materialUniformBuffer = external dso_local local_unnamed_addr global i32, align 4
@g_materialOffset = external dso_local local_unnamed_addr global i32, align 4
@g_gaussTextures = external dso_local local_unnamed_addr global [4 x i32], align 16
@g_textureSampler = external dso_local local_unnamed_addr global i32, align 4
@_funcptr_glBindTexture = external local_unnamed_addr global ptr, align 8
@g_shineTexture = external dso_local local_unnamed_addr global i32, align 4
@_funcptr_glEnable = external local_unnamed_addr global ptr, align 8
@_funcptr_glDepthMask = external local_unnamed_addr global ptr, align 8
@_funcptr_glBindBuffer = external local_unnamed_addr global ptr, align 8
@_funcptr_glBindBufferRange = external local_unnamed_addr global ptr, align 8
@g_bDrawCameraPos = external dso_local local_unnamed_addr global i8, align 1
@g_bDrawLights = external dso_local local_unnamed_addr global i8, align 1
@g_bUseInfinity = external dso_local local_unnamed_addr global i8, align 1
@g_eMode = external dso_local local_unnamed_addr global i32, align 4
@g_currTexture = external dso_local local_unnamed_addr global i32, align 4
@g_currMaterial = external dso_local local_unnamed_addr global i32, align 4
@g_lightTimer = external dso_local global %"class.Framework::Timer", 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
@_funcptr_glBufferSubData = external local_unnamed_addr global ptr, align 8
@_funcptr_glUniformMatrix4fv = external local_unnamed_addr global ptr, align 8
@_funcptr_glUniformMatrix3fv = external local_unnamed_addr global ptr, align 8
@_funcptr_glActiveTexture = external local_unnamed_addr global ptr, align 8
@_funcptr_glBindSampler = external local_unnamed_addr global ptr, align 8
@.str.25 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [4 x i8], align 1
@_funcptr_glBindBufferBase = external local_unnamed_addr global ptr, align 8
@_funcptr_glUniform4fv = external local_unnamed_addr global ptr, align 8
@.str.27 = external hidden unnamed_addr constant [5 x i8], align 1
@_funcptr_glDisable = external local_unnamed_addr global ptr, align 8
@_funcptr_glUniform4f = external local_unnamed_addr global ptr, align 8

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3 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::tmat4x4", align 4
  %4 = alloca %struct.LightBlock, align 4
  %5 = alloca %"struct.glm::detail::tvec4", align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca %"struct.glm::detail::tvec3", align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca %"struct.glm::detail::tvec4", align 4
  %15 = alloca %"struct.glm::detail::tvec4", align 4
  %16 = alloca float, align 4
  %17 = alloca %"struct.glm::detail::tvec4", align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca %"struct.glm::detail::tvec4", align 4
  %23 = alloca %"struct.glm::detail::tvec4", align 4
  %24 = alloca %"struct.glm::detail::tvec4", align 4
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca %"class.glutil::PushStack", align 8
  %30 = alloca %"struct.glm::detail::tmat4x4", align 4
  %31 = alloca %"struct.glm::detail::tmat3x3", align 4
  %32 = alloca %"struct.glm::detail::tmat3x3", align 4
  %33 = alloca %"struct.glm::detail::tmat3x3", align 4
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.std::allocator.0", align 1
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.std::allocator.0", align 1
  %38 = alloca %"class.glutil::PushStack", align 8
  %39 = alloca %"struct.glm::detail::tvec3", align 4
  %40 = alloca %"struct.glm::detail::tvec4", align 4
  %41 = alloca %"struct.glm::detail::tvec4", align 4
  %42 = alloca float, align 4
  %43 = alloca %"class.std::__cxx11::basic_string", align 8
  %44 = alloca %"class.std::allocator.0", align 1
  %45 = alloca %"struct.glm::detail::tvec3", align 4
  %46 = alloca float, align 4
  %47 = alloca %"class.std::__cxx11::basic_string", align 8
  %48 = alloca %"class.std::allocator.0", align 1
  %49 = alloca %"class.glutil::PushStack", align 8
  %50 = alloca %"struct.glm::detail::tvec3", align 4
  %51 = alloca float, align 4
  %52 = alloca float, align 4
  %53 = alloca float, align 4
  %54 = alloca %"class.std::__cxx11::basic_string", align 8
  %55 = alloca %"class.std::allocator.0", align 1
  %56 = alloca %"class.std::__cxx11::basic_string", align 8
  %57 = alloca %"class.std::allocator.0", align 1
  %58 = tail call noundef zeroext i1 @_ZN9Framework5Timer6UpdateEv(ptr noundef nonnull align 4 dereferenceable(20) @g_lightTimer)
  %59 = load ptr, ptr @_funcptr_glClearColor, align 8, !tbaa !5
  tail call void %59(float noundef 7.500000e-01, float noundef 7.500000e-01, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %60 = load ptr, ptr @_funcptr_glClearDepth, align 8, !tbaa !5
  tail call void %60(double noundef 1.000000e+00)
  %61 = load ptr, ptr @_funcptr_glClear, align 8, !tbaa !5
  tail call void %61(i32 noundef 16640)
  %62 = load ptr, ptr @g_pObjectMesh, align 8, !tbaa !5
  %63 = icmp ne ptr %62, null
  %64 = load ptr, ptr @g_pCubeMesh, align 8
  %65 = icmp ne ptr %64, null
  %or.cond = select i1 %63, i1 %65, i1 false
  %66 = load ptr, ptr @g_pPlaneMesh, align 8
  %67 = icmp ne ptr %66, null
  %or.cond3 = select i1 %or.cond, i1 %67, i1 false
  br i1 %or.cond3, label %68, label %336

68:                                               ; 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 %69 unwind label %160

69:                                               ; preds = %68
  invoke void @_ZN6glutil11MatrixStack9SetMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(64) %2)
          to label %70 unwind label %160

70:                                               ; preds = %69
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #6
  %71 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  invoke void @_ZN3glm6detail7tmat4x4IfEC2ERKS2_(ptr noundef nonnull align 4 dereferenceable(64) %3, ptr noundef nonnull align 4 dereferenceable(64) %71)
          to label %72 unwind label %162

72:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %4) #6
  invoke void @_ZN10LightBlockC2Ev(ptr noundef nonnull align 4 dereferenceable(96) %4)
          to label %73 unwind label %164

73:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  store float 0x3FC99999A0000000, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  store float 0x3FC99999A0000000, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #6
  store float 0x3FC99999A0000000, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #6
  store float 1.000000e+00, ptr %9, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec4IfEC2ERKfS4_S4_S4_(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %74 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(16) %5)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  %75 = getelementptr inbounds i8, ptr %4, i64 16
  store float 0x3F5A36E2E0000000, ptr %75, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
  store float 0x3FE69FBE80000000, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #6
  store float 0x3FE69FBE80000000, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  store float 0.000000e+00, ptr %13, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %13)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #6
  store float 0.000000e+00, ptr %16, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec4IfEC2IffEERKNS0_5tvec3IT_EERKT0_(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(4) %16)
  invoke void @_ZN3glm6detailmlIfEENS0_7tmat4x4IT_E8col_typeERKS4_RKNS4_8row_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %14, ptr noundef nonnull align 4 dereferenceable(64) %3, ptr noundef nonnull align 4 dereferenceable(16) %15)
          to label %76 unwind label %166

76:                                               ; preds = %73
  %77 = getelementptr inbounds i8, ptr %4, i64 32
  %78 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %77, ptr noundef nonnull align 4 dereferenceable(16) %14)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #6
  store float 0x3FE3333340000000, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #6
  store float 0x3FE3333340000000, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #6
  store float 0x3FE3333340000000, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #6
  store float 1.000000e+00, ptr %21, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec4IfEC2ERKfS4_S4_S4_(ptr noundef nonnull align 4 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %21)
  %79 = getelementptr inbounds i8, ptr %4, i64 48
  %80 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %79, ptr noundef nonnull align 4 dereferenceable(16) %17)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #6
  invoke void @_Z17CalcLightPositionv(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %23)
          to label %81 unwind label %168

81:                                               ; preds = %76
  invoke void @_ZN3glm6detailmlIfEENS0_7tmat4x4IT_E8col_typeERKS4_RKNS4_8row_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %22, ptr noundef nonnull align 4 dereferenceable(64) %3, ptr noundef nonnull align 4 dereferenceable(16) %23)
          to label %82 unwind label %168

82:                                               ; preds = %81
  %83 = getelementptr inbounds i8, ptr %4, i64 64
  %84 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %83, ptr noundef nonnull align 4 dereferenceable(16) %22)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #6
  store float 0x3FD99999A0000000, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #6
  store float 0x3FD99999A0000000, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %27) #6
  store float 0x3FD99999A0000000, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #6
  store float 1.000000e+00, ptr %28, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec4IfEC2ERKfS4_S4_S4_(ptr noundef nonnull align 4 dereferenceable(16) %24, ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %28)
  %85 = getelementptr inbounds i8, ptr %4, i64 80
  %86 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %85, ptr noundef nonnull align 4 dereferenceable(16) %24)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #6
  %87 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  %88 = load i32, ptr @g_lightUniformBuffer, align 4, !tbaa !14
  invoke void %87(i32 noundef 35345, i32 noundef %88)
          to label %89 unwind label %170

89:                                               ; preds = %82
  %90 = load ptr, ptr @_funcptr_glBufferSubData, align 8, !tbaa !5
  invoke void %90(i32 noundef 35345, i64 noundef 0, i64 noundef 96, ptr noundef nonnull %4)
          to label %91 unwind label %170

91:                                               ; preds = %89
  %92 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  invoke void %92(i32 noundef 35345, i32 noundef 0)
          to label %93 unwind label %170

93:                                               ; preds = %91
  %94 = load i8, ptr @g_bUseInfinity, align 1, !tbaa !16, !range !18, !noundef !19
  %95 = trunc nuw i8 %94 to i1
  %96 = load ptr, ptr @g_pObjectMesh, align 8
  %97 = load ptr, ptr @g_pPlaneMesh, align 8
  %98 = select i1 %95, ptr %96, ptr %97
  %99 = load ptr, ptr @_funcptr_glBindBufferRange, align 8, !tbaa !5
  %100 = load i32, ptr @g_materialUniformBuffer, align 4, !tbaa !14
  %101 = load i32, ptr @g_currMaterial, align 4, !tbaa !14
  %102 = load i32, ptr @g_materialOffset, align 4, !tbaa !14
  %103 = mul nsw i32 %102, %101
  %104 = sext i32 %103 to i64
  invoke void %99(i32 noundef 35345, i32 noundef 0, i32 noundef %100, i64 noundef %104, i64 noundef 48)
          to label %105 unwind label %172

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

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

107:                                              ; preds = %106
  invoke void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(64) %30)
          to label %108 unwind label %176

108:                                              ; preds = %107
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %30) #6
  %109 = load i8, ptr @g_bUseInfinity, align 1, !tbaa !16, !range !18, !noundef !19
  %110 = trunc nuw i8 %109 to i1
  %111 = select i1 %110, float 2.000000e+00, float 4.000000e+00
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef %111)
          to label %112 unwind label %178

112:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %31) #6
  %113 = 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) %31, ptr noundef nonnull align 4 dereferenceable(64) %113)
          to label %114 unwind label %180

114:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %32) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %33) #6
  invoke void @_ZN3glm7inverseIfEENS_6detail7tmat3x3IT_EERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tmat3x3") align 4 %33, ptr noundef nonnull align 4 dereferenceable(36) %31)
          to label %115 unwind label %182

115:                                              ; preds = %114
  invoke void @_ZN3glm9transposeIfEENS_6detail7tmat3x3IT_EERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tmat3x3") align 4 %32, ptr noundef nonnull align 4 dereferenceable(36) %33)
          to label %116 unwind label %182

116:                                              ; preds = %115
  %117 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN3glm6detail7tmat3x3IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(36) %31, ptr noundef nonnull align 4 dereferenceable(36) %32)
          to label %118 unwind label %182

118:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %32) #6
  %119 = load i32, ptr @g_eMode, align 4, !tbaa !20
  %120 = zext i32 %119 to i64
  %121 = getelementptr inbounds [3 x %struct.ProgramData], ptr @g_Programs, i64 0, i64 %120
  %122 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %123 = load i32, ptr %121, align 4, !tbaa !22
  invoke void %122(i32 noundef %123)
          to label %124 unwind label %184

124:                                              ; preds = %118
  %125 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %126 = getelementptr inbounds i8, ptr %121, i64 4
  %127 = load i32, ptr %126, align 4, !tbaa !24
  %128 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  %129 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %128)
          to label %130 unwind label %184

130:                                              ; preds = %124
  invoke void %125(i32 noundef %127, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %129)
          to label %131 unwind label %184

131:                                              ; preds = %130
  %132 = load ptr, ptr @_funcptr_glUniformMatrix3fv, align 8, !tbaa !5
  %133 = getelementptr inbounds i8, ptr %121, i64 8
  %134 = load i32, ptr %133, align 4, !tbaa !25
  %135 = call noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail7tmat3x3IS1_EE(ptr noundef nonnull align 4 dereferenceable(36) %31)
  invoke void %132(i32 noundef %134, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %135)
          to label %136 unwind label %184

136:                                              ; preds = %131
  %137 = load ptr, ptr @_funcptr_glActiveTexture, align 8, !tbaa !5
  invoke void %137(i32 noundef 33984)
          to label %138 unwind label %184

138:                                              ; preds = %136
  %139 = load ptr, ptr @_funcptr_glBindTexture, align 8, !tbaa !5
  %140 = load i32, ptr @g_currTexture, align 4, !tbaa !14
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds [4 x i32], ptr @g_gaussTextures, i64 0, i64 %141
  %143 = load i32, ptr %142, align 4, !tbaa !14
  invoke void %139(i32 noundef 3553, i32 noundef %143)
          to label %144 unwind label %184

144:                                              ; preds = %138
  %145 = load ptr, ptr @_funcptr_glBindSampler, align 8, !tbaa !5
  %146 = load i32, ptr @g_textureSampler, align 4, !tbaa !14
  invoke void %145(i32 noundef 0, i32 noundef %146)
          to label %147 unwind label %184

147:                                              ; preds = %144
  %148 = load ptr, ptr @_funcptr_glActiveTexture, align 8, !tbaa !5
  invoke void %148(i32 noundef 33985)
          to label %149 unwind label %184

149:                                              ; preds = %147
  %150 = load ptr, ptr @_funcptr_glBindTexture, align 8, !tbaa !5
  %151 = load i32, ptr @g_shineTexture, align 4, !tbaa !14
  invoke void %150(i32 noundef 3553, i32 noundef %151)
          to label %152 unwind label %184

152:                                              ; preds = %149
  %153 = load ptr, ptr @_funcptr_glBindSampler, align 8, !tbaa !5
  %154 = load i32, ptr @g_textureSampler, align 4, !tbaa !14
  invoke void %153(i32 noundef 1, i32 noundef %154)
          to label %155 unwind label %184

155:                                              ; preds = %152
  %156 = load i32, ptr @g_eMode, align 4, !tbaa !20
  %.not = icmp eq i32 %156, 0
  br i1 %.not, label %191, label %157

157:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %34) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %35) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull @.str.25, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %158 unwind label %186

158:                                              ; preds = %157
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %98, ptr noundef nonnull align 8 dereferenceable(32) %34)
          to label %159 unwind label %188

159:                                              ; preds = %158
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #6
  br label %199

160:                                              ; preds = %69, %68
  %161 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #6
  br label %335

162:                                              ; preds = %70
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %334

164:                                              ; preds = %72
  %165 = landingpad { ptr, i32 }
          cleanup
  br label %333

166:                                              ; preds = %73
  %167 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  br label %332

168:                                              ; preds = %81, %76
  %169 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #6
  br label %332

170:                                              ; preds = %91, %89, %82
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %332

172:                                              ; preds = %93
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %332

174:                                              ; preds = %105
  %175 = landingpad { ptr, i32 }
          cleanup
  br label %248

176:                                              ; preds = %107, %106
  %177 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %30) #6
  br label %247

178:                                              ; preds = %108
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %247

180:                                              ; preds = %112
  %181 = landingpad { ptr, i32 }
          cleanup
  br label %246

182:                                              ; preds = %116, %115, %114
  %183 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %32) #6
  br label %246

184:                                              ; preds = %205, %203, %201, %199, %152, %149, %147, %144, %138, %136, %131, %130, %124, %118
  %185 = landingpad { ptr, i32 }
          cleanup
  br label %246

186:                                              ; preds = %157
  %187 = landingpad { ptr, i32 }
          cleanup
  br label %190

188:                                              ; preds = %158
  %189 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #6
  br label %190

190:                                              ; preds = %188, %186
  %.pn30 = phi { ptr, i32 } [ %189, %188 ], [ %187, %186 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #6
  br label %246

191:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %36) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %37) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull @.str.26, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %192 unwind label %194

192:                                              ; preds = %191
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %98, ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %193 unwind label %196

193:                                              ; preds = %192
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %37) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #6
  br label %199

194:                                              ; preds = %191
  %195 = landingpad { ptr, i32 }
          cleanup
  br label %198

196:                                              ; preds = %192
  %197 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #6
  br label %198

198:                                              ; preds = %196, %194
  %.pn = phi { ptr, i32 } [ %197, %196 ], [ %195, %194 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %37) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #6
  br label %246

199:                                              ; preds = %193, %159
  %200 = load ptr, ptr @_funcptr_glBindSampler, align 8, !tbaa !5
  invoke void %200(i32 noundef 0, i32 noundef 0)
          to label %201 unwind label %184

201:                                              ; preds = %199
  %202 = load ptr, ptr @_funcptr_glBindTexture, align 8, !tbaa !5
  invoke void %202(i32 noundef 3553, i32 noundef 0)
          to label %203 unwind label %184

203:                                              ; preds = %201
  %204 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  invoke void %204(i32 noundef 0)
          to label %205 unwind label %184

205:                                              ; preds = %203
  %206 = load ptr, ptr @_funcptr_glBindBufferBase, align 8, !tbaa !5
  invoke void %206(i32 noundef 35345, i32 noundef 0, i32 noundef 0)
          to label %207 unwind label %184

207:                                              ; preds = %205
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %31) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #6
  %208 = load i8, ptr @g_bDrawLights, align 1, !tbaa !16, !range !18, !noundef !19
  %209 = trunc nuw i8 %208 to i1
  br i1 %209, label %210, label %272

210:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %38) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %211 unwind label %249

211:                                              ; preds = %210
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %39) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %40) #6
  invoke void @_Z17CalcLightPositionv(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %40)
          to label %212 unwind label %251

212:                                              ; preds = %211
  call void @_ZN3glm6detail5tvec3IfEC2IfEERKNS0_5tvec4IT_EE(ptr noundef nonnull align 4 dereferenceable(12) %39, ptr noundef nonnull align 4 dereferenceable(16) %40)
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %39)
          to label %213 unwind label %251

213:                                              ; preds = %212
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %39) #6
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef 2.500000e-01)
          to label %214 unwind label %253

214:                                              ; preds = %213
  %215 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %216 = load i32, ptr @g_Unlit, align 4, !tbaa !26
  invoke void %215(i32 noundef %216)
          to label %217 unwind label %253

217:                                              ; preds = %214
  %218 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %219 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 8), align 4, !tbaa !28
  %220 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  %221 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %220)
          to label %222 unwind label %253

222:                                              ; preds = %217
  invoke void %218(i32 noundef %219, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %221)
          to label %223 unwind label %253

223:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %41) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %42) #6
  store float 1.000000e+00, ptr %42, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec4IfEC2ERKf(ptr noundef nonnull align 4 dereferenceable(16) %41, ptr noundef nonnull align 4 dereferenceable(4) %42)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #6
  %224 = load ptr, ptr @_funcptr_glUniform4fv, align 8, !tbaa !5
  %225 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 4), align 4, !tbaa !29
  %226 = call noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16) %41)
  invoke void %224(i32 noundef %225, i32 noundef 1, ptr noundef %226)
          to label %227 unwind label %255

227:                                              ; preds = %223
  %228 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %43) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %44) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull @.str.27, ptr noundef nonnull align 1 dereferenceable(1) %44)
          to label %229 unwind label %257

229:                                              ; preds = %227
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %228, ptr noundef nonnull align 8 dereferenceable(32) %43)
          to label %230 unwind label %259

230:                                              ; preds = %229
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %44) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #6
  invoke void @_ZN6glutil9PushStack10ResetStackEv(ptr noundef nonnull align 8 dereferenceable(8) %38)
          to label %231 unwind label %255

231:                                              ; preds = %230
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %45) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %46) #6
  store float 1.000000e+02, ptr %46, align 4, !tbaa !9
  invoke void @_ZN3glm6detailmlIfEENS0_5tvec3IT_EERKS4_RKS3_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec3") align 4 %45, ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %232 unwind label %262

232:                                              ; preds = %231
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %45)
          to label %233 unwind label %262

233:                                              ; preds = %232
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %46) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %45) #6
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef 5.000000e+00)
          to label %234 unwind label %255

234:                                              ; preds = %233
  %235 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %236 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 8), align 4, !tbaa !28
  %237 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  %238 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %237)
          to label %239 unwind label %255

239:                                              ; preds = %234
  invoke void %235(i32 noundef %236, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %238)
          to label %240 unwind label %255

240:                                              ; preds = %239
  %241 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %47) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %48) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull @.str.27, ptr noundef nonnull align 1 dereferenceable(1) %48)
          to label %242 unwind label %264

242:                                              ; preds = %240
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %241, ptr noundef nonnull align 8 dereferenceable(32) %47)
          to label %243 unwind label %266

243:                                              ; preds = %242
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %48) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %47) #6
  %244 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  invoke void %244(i32 noundef 0)
          to label %245 unwind label %255

245:                                              ; preds = %243
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %41) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %38) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #6
  br label %272

246:                                              ; preds = %184, %190, %198, %182, %180
  %.pn32.pn = phi { ptr, i32 } [ %183, %182 ], [ %181, %180 ], [ %185, %184 ], [ %.pn30, %190 ], [ %.pn, %198 ]
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %31) #6
  br label %247

247:                                              ; preds = %246, %178, %176
  %.pn32.pn.pn = phi { ptr, i32 } [ %.pn32.pn, %246 ], [ %179, %178 ], [ %177, %176 ]
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #6
  br label %248

248:                                              ; preds = %247, %174
  %.pn32.pn.pn.pn = phi { ptr, i32 } [ %.pn32.pn.pn, %247 ], [ %175, %174 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #6
  br label %332

249:                                              ; preds = %210
  %250 = landingpad { ptr, i32 }
          cleanup
  br label %271

251:                                              ; preds = %212, %211
  %252 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %39) #6
  br label %270

253:                                              ; preds = %222, %217, %214, %213
  %254 = landingpad { ptr, i32 }
          cleanup
  br label %270

255:                                              ; preds = %243, %239, %234, %233, %230, %223
  %256 = landingpad { ptr, i32 }
          cleanup
  br label %269

257:                                              ; preds = %227
  %258 = landingpad { ptr, i32 }
          cleanup
  br label %261

259:                                              ; preds = %229
  %260 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #6
  br label %261

261:                                              ; preds = %259, %257
  %.pn38 = phi { ptr, i32 } [ %260, %259 ], [ %258, %257 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %44) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #6
  br label %269

262:                                              ; preds = %232, %231
  %263 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %46) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %45) #6
  br label %269

264:                                              ; preds = %240
  %265 = landingpad { ptr, i32 }
          cleanup
  br label %268

266:                                              ; preds = %242
  %267 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #6
  br label %268

268:                                              ; preds = %266, %264
  %.pn40 = phi { ptr, i32 } [ %267, %266 ], [ %265, %264 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %48) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %47) #6
  br label %269

269:                                              ; preds = %268, %262, %261, %255
  %.pn42 = phi { ptr, i32 } [ %256, %255 ], [ %.pn40, %268 ], [ %263, %262 ], [ %.pn38, %261 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %41) #6
  br label %270

270:                                              ; preds = %269, %253, %251
  %.pn42.pn = phi { ptr, i32 } [ %.pn42, %269 ], [ %254, %253 ], [ %252, %251 ]
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %38) #6
  br label %271

271:                                              ; preds = %270, %249
  %.pn42.pn.pn = phi { ptr, i32 } [ %.pn42.pn, %270 ], [ %250, %249 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #6
  br label %332

272:                                              ; preds = %245, %207
  %273 = load i8, ptr @g_bDrawCameraPos, align 1, !tbaa !16, !range !18, !noundef !19
  %274 = trunc nuw i8 %273 to i1
  br i1 %274, label %275, label %331

275:                                              ; preds = %272
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %49) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %276 unwind label %313

276:                                              ; preds = %275
  invoke void @_ZN6glutil11MatrixStack11SetIdentityEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %277 unwind label %315

277:                                              ; preds = %276
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %50) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %51) #6
  store float 0.000000e+00, ptr %51, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %52) #6
  store float 0.000000e+00, ptr %52, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %53) #6
  %278 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZNK6glutil8ViewPole7GetViewEv(ptr noundef nonnull align 8 dereferenceable(148) @g_viewPole)
  %279 = getelementptr inbounds i8, ptr %278, i64 28
  %280 = load float, ptr %279, align 4, !tbaa !30
  %281 = fneg float %280
  store float %281, ptr %53, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %50, ptr noundef nonnull align 4 dereferenceable(4) %51, ptr noundef nonnull align 4 dereferenceable(4) %52, ptr noundef nonnull align 4 dereferenceable(4) %53)
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %50)
          to label %282 unwind label %317

282:                                              ; preds = %277
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %52) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %51) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %50) #6
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef 2.500000e-01)
          to label %283 unwind label %315

283:                                              ; preds = %282
  %284 = load ptr, ptr @_funcptr_glDisable, align 8, !tbaa !5
  invoke void %284(i32 noundef 2929)
          to label %285 unwind label %315

285:                                              ; preds = %283
  %286 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %286(i8 noundef zeroext 0)
          to label %287 unwind label %315

287:                                              ; preds = %285
  %288 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %289 = load i32, ptr @g_Unlit, align 4, !tbaa !26
  invoke void %288(i32 noundef %289)
          to label %290 unwind label %315

290:                                              ; preds = %287
  %291 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %292 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 8), align 4, !tbaa !28
  %293 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  %294 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %293)
          to label %295 unwind label %315

295:                                              ; preds = %290
  invoke void %291(i32 noundef %292, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %294)
          to label %296 unwind label %315

296:                                              ; preds = %295
  %297 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %298 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 4), align 4, !tbaa !29
  invoke void %297(i32 noundef %298, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 1.000000e+00)
          to label %299 unwind label %315

299:                                              ; preds = %296
  %300 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %54) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %55) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef nonnull @.str.27, ptr noundef nonnull align 1 dereferenceable(1) %55)
          to label %301 unwind label %319

301:                                              ; preds = %299
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %300, ptr noundef nonnull align 8 dereferenceable(32) %54)
          to label %302 unwind label %321

302:                                              ; preds = %301
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %55) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %54) #6
  %303 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %303(i8 noundef zeroext 1)
          to label %304 unwind label %315

304:                                              ; preds = %302
  %305 = load ptr, ptr @_funcptr_glEnable, align 8, !tbaa !5
  invoke void %305(i32 noundef 2929)
          to label %306 unwind label %315

306:                                              ; preds = %304
  %307 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %308 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 4), align 4, !tbaa !29
  invoke void %307(i32 noundef %308, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %309 unwind label %315

309:                                              ; preds = %306
  %310 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %56) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %57) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %56, ptr noundef nonnull @.str.27, ptr noundef nonnull align 1 dereferenceable(1) %57)
          to label %311 unwind label %324

311:                                              ; preds = %309
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %310, ptr noundef nonnull align 8 dereferenceable(32) %56)
          to label %312 unwind label %326

312:                                              ; preds = %311
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %57) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %56) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %49) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #6
  br label %331

313:                                              ; preds = %275
  %314 = landingpad { ptr, i32 }
          cleanup
  br label %330

315:                                              ; preds = %306, %304, %302, %296, %295, %290, %287, %285, %283, %282, %276
  %316 = landingpad { ptr, i32 }
          cleanup
  br label %329

317:                                              ; preds = %277
  %318 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %52) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %51) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %50) #6
  br label %329

319:                                              ; preds = %299
  %320 = landingpad { ptr, i32 }
          cleanup
  br label %323

321:                                              ; preds = %301
  %322 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #6
  br label %323

323:                                              ; preds = %321, %319
  %.pn46 = phi { ptr, i32 } [ %322, %321 ], [ %320, %319 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %55) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %54) #6
  br label %329

324:                                              ; preds = %309
  %325 = landingpad { ptr, i32 }
          cleanup
  br label %328

326:                                              ; preds = %311
  %327 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #6
  br label %328

328:                                              ; preds = %326, %324
  %.pn48 = phi { ptr, i32 } [ %327, %326 ], [ %325, %324 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %57) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %56) #6
  br label %329

329:                                              ; preds = %328, %323, %317, %315
  %.pn48.pn = phi { ptr, i32 } [ %.pn48, %328 ], [ %316, %315 ], [ %.pn46, %323 ], [ %318, %317 ]
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %49) #6
  br label %330

330:                                              ; preds = %329, %313
  %.pn48.pn.pn = phi { ptr, i32 } [ %.pn48.pn, %329 ], [ %314, %313 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #6
  br label %332

331:                                              ; preds = %312, %272
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 64, 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 %336

332:                                              ; preds = %172, %248, %330, %271, %170, %168, %166
  %.pn48.pn.pn.pn = phi { ptr, i32 } [ %.pn48.pn.pn, %330 ], [ %.pn42.pn.pn, %271 ], [ %171, %170 ], [ %169, %168 ], [ %167, %166 ], [ %.pn32.pn.pn.pn, %248 ], [ %173, %172 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #6
  br label %333

333:                                              ; preds = %332, %164
  %.pn48.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn48.pn.pn.pn, %332 ], [ %165, %164 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #6
  br label %334

334:                                              ; preds = %333, %162
  %.pn48.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn48.pn.pn.pn.pn, %333 ], [ %163, %162 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #6
  br label %335

335:                                              ; preds = %334, %160
  %.pn48.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn48.pn.pn.pn.pn.pn, %334 ], [ %161, %160 ]
  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 } %.pn48.pn.pn.pn.pn.pn.pn

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

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

; 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 #4

declare void @_ZNK6glutil8ViewPole10CalcMatrixEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat4x4") align 4, ptr noundef nonnull align 8 dereferenceable(148)) 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 uwtable
declare dso_local void @_ZN3glm6detail7tmat4x4IfEC2ERKS2_(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(64)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10LightBlockC2Ev(ptr noundef nonnull align 4 dereferenceable(96)) unnamed_addr #5 align 2

; 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 #5

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

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

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 #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88), float noundef) local_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 #5 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 #5

; 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 #5

; 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 #5 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 #5

; 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 #3

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

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

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

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

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

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

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

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

declare void @_ZN6glutil11MatrixStack11SetIdentityEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #4

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

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

declare void @glutPostRedisplay() local_unnamed_addr #4

declare void @glutSwapBuffers() local_unnamed_addr #4

; 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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 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 = !{!"float", !7, i64 0}
!11 = !{!12, !10, i64 16}
!12 = !{!"_ZTS10LightBlock", !13, i64 0, !10, i64 16, !7, i64 20, !7, i64 32}
!13 = !{!"_ZTSN3glm6detail5tvec4IfEE", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!21, !21, i64 0}
!21 = !{!"_ZTS10ShaderMode", !7, i64 0}
!22 = !{!23, !15, i64 0}
!23 = !{!"_ZTS11ProgramData", !15, i64 0, !15, i64 4, !15, i64 8}
!24 = !{!23, !15, i64 4}
!25 = !{!23, !15, i64 8}
!26 = !{!27, !15, i64 0}
!27 = !{!"_ZTS13UnlitProgData", !15, i64 0, !15, i64 4, !15, i64 8}
!28 = !{!27, !15, i64 8}
!29 = !{!27, !15, i64 4}
!30 = !{!31, !10, i64 28}
!31 = !{!"_ZTSN6glutil8ViewDataE", !32, i64 0, !33, i64 12, !10, i64 28, !10, i64 32}
!32 = !{!"_ZTSN3glm6detail5tvec3IfEE", !7, i64 0}
!33 = !{!"_ZTSN3glm6detail5tquatIfEE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}


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