; LLVM IR from paroj/gltut :: Tut 14 Textures Are Not Pictures/BasicTexture.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.15 }
%union.anon.15 = type { %struct.anon.16 }
%struct.anon.16 = type { float, float, float, float }
%"class.glutil::MatrixStack" = type { %"class.std::stack", %"struct.glm::detail::tmat4x4" }
%"class.std::stack" = type { %"class.std::vector.19" }
%"class.std::vector.19" = type { %"struct.std::_Vector_base.20" }
%"struct.std::_Vector_base.20" = 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_litShaderProg = external dso_local global %struct.ProgramData, align 4
@g_litTextureProg = external dso_local global %struct.ProgramData, align 4
@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_lightUniformBuffer = external dso_local global i32, align 4
@g_materialUniformBuffer = external dso_local global i32, align 4
@g_gaussTextures = external dso_local global [4 x i32], align 16
@g_gaussSampler = external dso_local global i32, align 4
@_funcptr_glBindTexture = external global ptr, align 8
@_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_bUseTexture = external dso_local global i8, align 1
@g_currTexture = 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.19 = 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.20 = 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 ptr, align 8
  %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 %"class.glutil::PushStack", align 8
  %32 = alloca %"struct.glm::detail::tmat4x4", align 4
  %33 = alloca %"struct.glm::detail::tmat3x3", align 4
  %34 = alloca %"struct.glm::detail::tmat3x3", align 4
  %35 = alloca %"struct.glm::detail::tmat3x3", align 4
  %36 = alloca ptr, align 8
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  %38 = alloca %"class.std::allocator.0", align 1
  %39 = alloca %"class.glutil::PushStack", align 8
  %40 = alloca %"struct.glm::detail::tvec3", align 4
  %41 = alloca %"struct.glm::detail::tvec4", align 4
  %42 = alloca %"struct.glm::detail::tvec4", align 4
  %43 = alloca float, align 4
  %44 = alloca %"class.std::__cxx11::basic_string", align 8
  %45 = alloca %"class.std::allocator.0", align 1
  %46 = alloca %"struct.glm::detail::tvec3", align 4
  %47 = alloca float, align 4
  %48 = alloca %"class.std::__cxx11::basic_string", align 8
  %49 = alloca %"class.std::allocator.0", align 1
  %50 = alloca %"class.glutil::PushStack", align 8
  %51 = alloca %"struct.glm::detail::tvec3", align 4
  %52 = alloca float, align 4
  %53 = alloca float, align 4
  %54 = alloca float, align 4
  %55 = alloca %"class.std::__cxx11::basic_string", align 8
  %56 = alloca %"class.std::allocator.0", align 1
  %57 = alloca %"class.std::__cxx11::basic_string", align 8
  %58 = alloca %"class.std::allocator.0", align 1
  %59 = call noundef zeroext i1 @_ZN9Framework5Timer6UpdateEv(ptr noundef nonnull align 4 dereferenceable(20) @g_lightTimer)
  %60 = load ptr, ptr @_funcptr_glClearColor, align 8, !tbaa !5
  call void %60(float noundef 7.500000e-01, float noundef 7.500000e-01, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %61 = load ptr, ptr @_funcptr_glClearDepth, align 8, !tbaa !5
  call void %61(double noundef 1.000000e+00)
  %62 = load ptr, ptr @_funcptr_glClear, align 8, !tbaa !5
  call void %62(i32 noundef 16640)
  %63 = load ptr, ptr @g_pObjectMesh, align 8, !tbaa !5
  %64 = icmp ne ptr %63, null
  br i1 %64, label %65, label %424

65:                                               ; preds = %0
  %66 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  %67 = icmp ne ptr %66, null
  br i1 %67, label %68, label %424

68:                                               ; preds = %65
  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 %69 unwind label %221

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 %221

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

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

73:                                               ; preds = %72
  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 %74 unwind label %233

74:                                               ; preds = %73
  %75 = getelementptr inbounds %struct.LightBlock, ptr %6, i32 0, i32 0
  %76 = invoke noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %75, ptr noundef nonnull align 4 dereferenceable(16) %7)
          to label %77 unwind label %233

77:                                               ; preds = %74
  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
  %78 = getelementptr inbounds %struct.LightBlock, ptr %6, i32 0, i32 1
  store float 0x3F5A36E2E0000000, ptr %78, 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 %79 unwind label %237

79:                                               ; preds = %77
  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
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  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 %81 unwind label %241

81:                                               ; preds = %79
  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) %80, ptr noundef nonnull align 4 dereferenceable(16) %17)
          to label %82 unwind label %241

82:                                               ; preds = %81
  %83 = getelementptr inbounds %struct.LightBlock, ptr %6, i32 0, i32 3
  %84 = getelementptr inbounds [2 x %struct.PerLight], ptr %83, i64 0, i64 0
  %85 = getelementptr inbounds %struct.PerLight, ptr %84, i32 0, i32 0
  %86 = invoke noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %85, ptr noundef nonnull align 4 dereferenceable(16) %16)
          to label %87 unwind label %241

87:                                               ; preds = %82
  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 %88 unwind label %245

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 1
  %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) %19)
          to label %93 unwind label %245

93:                                               ; preds = %88
  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
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  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 %95 unwind label %249

95:                                               ; preds = %93
  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) %94, ptr noundef nonnull align 4 dereferenceable(16) %25)
          to label %96 unwind label %249

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

101:                                              ; preds = %96
  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 %102 unwind label %253

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

107:                                              ; preds = %102
  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
  %108 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  %109 = load i32, ptr @g_lightUniformBuffer, align 4, !tbaa !14
  invoke void %108(i32 noundef 35345, i32 noundef %109)
          to label %110 unwind label %257

110:                                              ; preds = %107
  %111 = load ptr, ptr @_funcptr_glBufferSubData, align 8, !tbaa !5
  invoke void %111(i32 noundef 35345, i64 noundef 0, i64 noundef 96, ptr noundef %6)
          to label %112 unwind label %257

112:                                              ; preds = %110
  %113 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  invoke void %113(i32 noundef 35345, i32 noundef 0)
          to label %114 unwind label %257

114:                                              ; preds = %112
  %115 = load ptr, ptr @_funcptr_glBindBufferRange, align 8, !tbaa !5
  %116 = load i32, ptr @g_materialUniformBuffer, align 4, !tbaa !14
  invoke void %115(i32 noundef 35345, i32 noundef 0, i32 noundef %116, i64 noundef 0, i64 noundef 48)
          to label %117 unwind label %257

117:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %118 unwind label %261

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

119:                                              ; preds = %118
  invoke void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(64) %32)
          to label %120 unwind label %265

120:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 64, ptr %32) #6
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef 2.000000e+00)
          to label %121 unwind label %269

121:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 36, ptr %33) #6
  %122 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %123 unwind label %273

123:                                              ; preds = %121
  invoke void @_ZN3glm6detail7tmat3x3IfEC2ERKNS0_7tmat4x4IfEE(ptr noundef nonnull align 4 dereferenceable(36) %33, ptr noundef nonnull align 4 dereferenceable(64) %122)
          to label %124 unwind label %273

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

125:                                              ; preds = %124
  invoke void @_ZN3glm9transposeIfEENS_6detail7tmat3x3IT_EERKS4_(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat3x3") align 4 %34, ptr noundef nonnull align 4 dereferenceable(36) %35)
          to label %126 unwind label %277

126:                                              ; preds = %125
  %127 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN3glm6detail7tmat3x3IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(36) %33, ptr noundef nonnull align 4 dereferenceable(36) %34)
          to label %128 unwind label %277

128:                                              ; preds = %126
  call void @llvm.lifetime.end.p0(i64 36, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  %129 = load i8, ptr @g_bUseTexture, align 1, !tbaa !16, !range !18, !noundef !19
  %130 = trunc i8 %129 to i1
  br i1 %130, label %131, label %132

131:                                              ; preds = %128
  br label %133

132:                                              ; preds = %128
  br label %133

133:                                              ; preds = %132, %131
  %134 = phi ptr [ @g_litTextureProg, %131 ], [ @g_litShaderProg, %132 ]
  store ptr %134, ptr %36, align 8, !tbaa !5
  %135 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %136 = load ptr, ptr %36, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.ProgramData, ptr %136, i32 0, i32 0
  %138 = load i32, ptr %137, align 4, !tbaa !20
  invoke void %135(i32 noundef %138)
          to label %139 unwind label %281

139:                                              ; preds = %133
  %140 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %141 = load ptr, ptr %36, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.ProgramData, ptr %141, i32 0, i32 1
  %143 = load i32, ptr %142, align 4, !tbaa !22
  %144 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %145 unwind label %281

145:                                              ; preds = %139
  %146 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %144)
          to label %147 unwind label %281

147:                                              ; preds = %145
  invoke void %140(i32 noundef %143, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %146)
          to label %148 unwind label %281

148:                                              ; preds = %147
  %149 = load ptr, ptr @_funcptr_glUniformMatrix3fv, align 8, !tbaa !5
  %150 = load ptr, ptr %36, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.ProgramData, ptr %150, i32 0, i32 2
  %152 = load i32, ptr %151, align 4, !tbaa !23
  %153 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail7tmat3x3IS1_EE(ptr noundef nonnull align 4 dereferenceable(36) %33)
          to label %154 unwind label %281

154:                                              ; preds = %148
  invoke void %149(i32 noundef %152, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %153)
          to label %155 unwind label %281

155:                                              ; preds = %154
  %156 = load ptr, ptr @_funcptr_glActiveTexture, align 8, !tbaa !5
  invoke void %156(i32 noundef 33984)
          to label %157 unwind label %281

157:                                              ; preds = %155
  %158 = load ptr, ptr @_funcptr_glBindTexture, align 8, !tbaa !5
  %159 = load i32, ptr @g_currTexture, align 4, !tbaa !14
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds [4 x i32], ptr @g_gaussTextures, i64 0, i64 %160
  %162 = load i32, ptr %161, align 4, !tbaa !14
  invoke void %158(i32 noundef 3552, i32 noundef %162)
          to label %163 unwind label %281

163:                                              ; preds = %157
  %164 = load ptr, ptr @_funcptr_glBindSampler, align 8, !tbaa !5
  %165 = load i32, ptr @g_gaussSampler, align 4, !tbaa !14
  invoke void %164(i32 noundef 0, i32 noundef %165)
          to label %166 unwind label %281

166:                                              ; preds = %163
  %167 = load ptr, ptr @g_pObjectMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %37) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %168 unwind label %285

168:                                              ; preds = %166
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %167, ptr noundef nonnull align 8 dereferenceable(32) %37)
          to label %169 unwind label %289

169:                                              ; preds = %168
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #6
  %170 = load ptr, ptr @_funcptr_glBindSampler, align 8, !tbaa !5
  invoke void %170(i32 noundef 0, i32 noundef 0)
          to label %171 unwind label %281

171:                                              ; preds = %169
  %172 = load ptr, ptr @_funcptr_glBindTexture, align 8, !tbaa !5
  invoke void %172(i32 noundef 3552, i32 noundef 0)
          to label %173 unwind label %281

173:                                              ; preds = %171
  %174 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  invoke void %174(i32 noundef 0)
          to label %175 unwind label %281

175:                                              ; preds = %173
  %176 = load ptr, ptr @_funcptr_glBindBufferBase, align 8, !tbaa !5
  invoke void %176(i32 noundef 35345, i32 noundef 0, i32 noundef 0)
          to label %177 unwind label %281

177:                                              ; preds = %175
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %33) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  %178 = load i8, ptr @g_bDrawLights, align 1, !tbaa !16, !range !18, !noundef !19
  %179 = trunc i8 %178 to i1
  br i1 %179, label %180, label %343

180:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %181 unwind label %298

181:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 12, ptr %40) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #6
  invoke void @_Z17CalcLightPositionv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %41)
          to label %182 unwind label %302

182:                                              ; preds = %181
  invoke void @_ZN3glm6detail5tvec3IfEC2IfEERKNS0_5tvec4IT_EE(ptr noundef nonnull align 4 dereferenceable(12) %40, ptr noundef nonnull align 4 dereferenceable(16) %41)
          to label %183 unwind label %302

183:                                              ; preds = %182
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %40)
          to label %184 unwind label %302

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

185:                                              ; preds = %184
  %186 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %187 = load i32, ptr @g_Unlit, align 4, !tbaa !24
  invoke void %186(i32 noundef %187)
          to label %188 unwind label %306

188:                                              ; preds = %185
  %189 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %190 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 2), align 4, !tbaa !26
  %191 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %192 unwind label %306

192:                                              ; preds = %188
  %193 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %191)
          to label %194 unwind label %306

194:                                              ; preds = %192
  invoke void %189(i32 noundef %190, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %193)
          to label %195 unwind label %306

195:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #6
  store float 1.000000e+00, ptr %43, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec4IfEC2ERKf(ptr noundef nonnull align 4 dereferenceable(16) %42, ptr noundef nonnull align 4 dereferenceable(4) %43)
          to label %196 unwind label %310

196:                                              ; preds = %195
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #6
  %197 = load ptr, ptr @_funcptr_glUniform4fv, align 8, !tbaa !5
  %198 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 1), align 4, !tbaa !27
  %199 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16) %42)
          to label %200 unwind label %314

200:                                              ; preds = %196
  invoke void %197(i32 noundef %198, i32 noundef 1, ptr noundef %199)
          to label %201 unwind label %314

201:                                              ; preds = %200
  %202 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %44) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef @.str.20, ptr noundef nonnull align 1 dereferenceable(1) %45)
          to label %203 unwind label %318

203:                                              ; preds = %201
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %202, ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %204 unwind label %322

204:                                              ; preds = %203
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #6
  invoke void @_ZN6glutil9PushStack10ResetStackEv(ptr noundef nonnull align 8 dereferenceable(8) %39)
          to label %205 unwind label %314

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

206:                                              ; preds = %205
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %46)
          to label %207 unwind label %327

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

208:                                              ; preds = %207
  %209 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %210 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 2), align 4, !tbaa !26
  %211 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %212 unwind label %314

212:                                              ; preds = %208
  %213 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %211)
          to label %214 unwind label %314

214:                                              ; preds = %212
  invoke void %209(i32 noundef %210, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %213)
          to label %215 unwind label %314

215:                                              ; preds = %214
  %216 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %48) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %49) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef @.str.20, ptr noundef nonnull align 1 dereferenceable(1) %49)
          to label %217 unwind label %331

217:                                              ; preds = %215
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %216, ptr noundef nonnull align 8 dereferenceable(32) %48)
          to label %218 unwind label %335

218:                                              ; preds = %217
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #6
  %219 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  invoke void %219(i32 noundef 0)
          to label %220 unwind label %314

220:                                              ; preds = %218
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %39) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  br label %343

221:                                              ; preds = %69, %68
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %3, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %2) #6
  br label %423

225:                                              ; preds = %70
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %3, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %4, align 4
  br label %422

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

233:                                              ; preds = %74, %73
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %3, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, 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 %421

237:                                              ; preds = %77
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %3, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, 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 %420

241:                                              ; preds = %82, %81, %79
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %3, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, 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 %420

245:                                              ; preds = %88, %87
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %3, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, 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 %420

249:                                              ; preds = %96, %95, %93
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %3, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, 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 %420

253:                                              ; preds = %102, %101
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %3, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, 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 %420

257:                                              ; preds = %114, %112, %110, %107
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %3, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %4, align 4
  br label %420

261:                                              ; preds = %117
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %3, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %4, align 4
  br label %297

265:                                              ; preds = %119, %118
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %3, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %32) #6
  br label %296

269:                                              ; preds = %120
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %3, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %4, align 4
  br label %296

273:                                              ; preds = %123, %121
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %3, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %4, align 4
  br label %295

277:                                              ; preds = %126, %125, %124
  %278 = landingpad { ptr, i32 }
          cleanup
  %279 = extractvalue { ptr, i32 } %278, 0
  store ptr %279, ptr %3, align 8
  %280 = extractvalue { ptr, i32 } %278, 1
  store i32 %280, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 36, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %34) #6
  br label %295

281:                                              ; preds = %175, %173, %171, %169, %163, %157, %155, %154, %148, %147, %145, %139, %133
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %3, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %4, align 4
  br label %294

285:                                              ; preds = %166
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %3, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %4, align 4
  br label %293

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

293:                                              ; preds = %289, %285
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #6
  br label %294

294:                                              ; preds = %293, %281
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  br label %295

295:                                              ; preds = %294, %277, %273
  call void @llvm.lifetime.end.p0(i64 36, ptr %33) #6
  br label %296

296:                                              ; preds = %295, %269, %265
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #6
  br label %297

297:                                              ; preds = %296, %261
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  br label %420

298:                                              ; preds = %180
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %3, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %4, align 4
  br label %342

302:                                              ; preds = %183, %182, %181
  %303 = landingpad { ptr, i32 }
          cleanup
  %304 = extractvalue { ptr, i32 } %303, 0
  store ptr %304, ptr %3, align 8
  %305 = extractvalue { ptr, i32 } %303, 1
  store i32 %305, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %40) #6
  br label %341

306:                                              ; preds = %194, %192, %188, %185, %184
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %3, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %4, align 4
  br label %341

310:                                              ; preds = %195
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %3, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #6
  br label %340

314:                                              ; preds = %218, %214, %212, %208, %207, %204, %200, %196
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %3, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %4, align 4
  br label %340

318:                                              ; preds = %201
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %3, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %4, align 4
  br label %326

322:                                              ; preds = %203
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %3, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #6
  br label %326

326:                                              ; preds = %322, %318
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #6
  br label %340

327:                                              ; preds = %206, %205
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %3, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %46) #6
  br label %340

331:                                              ; preds = %215
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %3, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %4, align 4
  br label %339

335:                                              ; preds = %217
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %3, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #6
  br label %339

339:                                              ; preds = %335, %331
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #6
  br label %340

340:                                              ; preds = %339, %327, %326, %314, %310
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #6
  br label %341

341:                                              ; preds = %340, %306, %302
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %39) #6
  br label %342

342:                                              ; preds = %341, %298
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  br label %420

343:                                              ; preds = %220, %177
  %344 = load i8, ptr @g_bDrawCameraPos, align 1, !tbaa !16, !range !18, !noundef !19
  %345 = trunc i8 %344 to i1
  br i1 %345, label %346, label %419

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

347:                                              ; preds = %346
  invoke void @_ZN6glutil11MatrixStack11SetIdentityEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %348 unwind label %391

348:                                              ; preds = %347
  call void @llvm.lifetime.start.p0(i64 12, ptr %51) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #6
  store float 0.000000e+00, ptr %52, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #6
  store float 0.000000e+00, ptr %53, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #6
  %349 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZNK6glutil8ViewPole7GetViewEv(ptr noundef nonnull align 8 dereferenceable(148) @g_viewPole)
          to label %350 unwind label %395

350:                                              ; preds = %348
  %351 = getelementptr inbounds %"struct.glutil::ViewData", ptr %349, i32 0, i32 2
  %352 = load float, ptr %351, align 4, !tbaa !28
  %353 = fneg float %352
  store float %353, ptr %54, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %51, ptr noundef nonnull align 4 dereferenceable(4) %52, ptr noundef nonnull align 4 dereferenceable(4) %53, ptr noundef nonnull align 4 dereferenceable(4) %54)
          to label %354 unwind label %395

354:                                              ; preds = %350
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %51)
          to label %355 unwind label %395

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

356:                                              ; preds = %355
  %357 = load ptr, ptr @_funcptr_glDisable, align 8, !tbaa !5
  invoke void %357(i32 noundef 2929)
          to label %358 unwind label %391

358:                                              ; preds = %356
  %359 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %359(i8 noundef zeroext 0)
          to label %360 unwind label %391

360:                                              ; preds = %358
  %361 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %362 = load i32, ptr @g_Unlit, align 4, !tbaa !24
  invoke void %361(i32 noundef %362)
          to label %363 unwind label %391

363:                                              ; preds = %360
  %364 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %365 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 2), align 4, !tbaa !26
  %366 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %367 unwind label %391

367:                                              ; preds = %363
  %368 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %366)
          to label %369 unwind label %391

369:                                              ; preds = %367
  invoke void %364(i32 noundef %365, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %368)
          to label %370 unwind label %391

370:                                              ; preds = %369
  %371 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %372 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 1), align 4, !tbaa !27
  invoke void %371(i32 noundef %372, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 1.000000e+00)
          to label %373 unwind label %391

373:                                              ; preds = %370
  %374 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %55) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %56) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef @.str.20, ptr noundef nonnull align 1 dereferenceable(1) %56)
          to label %375 unwind label %399

375:                                              ; preds = %373
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %374, ptr noundef nonnull align 8 dereferenceable(32) %55)
          to label %376 unwind label %403

376:                                              ; preds = %375
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #6
  %377 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %377(i8 noundef zeroext 1)
          to label %378 unwind label %391

378:                                              ; preds = %376
  %379 = load ptr, ptr @_funcptr_glEnable, align 8, !tbaa !5
  invoke void %379(i32 noundef 2929)
          to label %380 unwind label %391

380:                                              ; preds = %378
  %381 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %382 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 1), align 4, !tbaa !27
  invoke void %381(i32 noundef %382, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %383 unwind label %391

383:                                              ; preds = %380
  %384 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %57) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %58) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef @.str.20, ptr noundef nonnull align 1 dereferenceable(1) %58)
          to label %385 unwind label %408

385:                                              ; preds = %383
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %384, ptr noundef nonnull align 8 dereferenceable(32) %57)
          to label %386 unwind label %412

386:                                              ; preds = %385
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %58) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %57) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %50) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #6
  br label %419

387:                                              ; preds = %346
  %388 = landingpad { ptr, i32 }
          cleanup
  %389 = extractvalue { ptr, i32 } %388, 0
  store ptr %389, ptr %3, align 8
  %390 = extractvalue { ptr, i32 } %388, 1
  store i32 %390, ptr %4, align 4
  br label %418

391:                                              ; preds = %380, %378, %376, %370, %369, %367, %363, %360, %358, %356, %355, %347
  %392 = landingpad { ptr, i32 }
          cleanup
  %393 = extractvalue { ptr, i32 } %392, 0
  store ptr %393, ptr %3, align 8
  %394 = extractvalue { ptr, i32 } %392, 1
  store i32 %394, ptr %4, align 4
  br label %417

395:                                              ; preds = %354, %350, %348
  %396 = landingpad { ptr, i32 }
          cleanup
  %397 = extractvalue { ptr, i32 } %396, 0
  store ptr %397, ptr %3, align 8
  %398 = extractvalue { ptr, i32 } %396, 1
  store i32 %398, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %51) #6
  br label %417

399:                                              ; preds = %373
  %400 = landingpad { ptr, i32 }
          cleanup
  %401 = extractvalue { ptr, i32 } %400, 0
  store ptr %401, ptr %3, align 8
  %402 = extractvalue { ptr, i32 } %400, 1
  store i32 %402, ptr %4, align 4
  br label %407

403:                                              ; preds = %375
  %404 = landingpad { ptr, i32 }
          cleanup
  %405 = extractvalue { ptr, i32 } %404, 0
  store ptr %405, ptr %3, align 8
  %406 = extractvalue { ptr, i32 } %404, 1
  store i32 %406, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #6
  br label %407

407:                                              ; preds = %403, %399
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #6
  br label %417

408:                                              ; preds = %383
  %409 = landingpad { ptr, i32 }
          cleanup
  %410 = extractvalue { ptr, i32 } %409, 0
  store ptr %410, ptr %3, align 8
  %411 = extractvalue { ptr, i32 } %409, 1
  store i32 %411, ptr %4, align 4
  br label %416

412:                                              ; preds = %385
  %413 = landingpad { ptr, i32 }
          cleanup
  %414 = extractvalue { ptr, i32 } %413, 0
  store ptr %414, ptr %3, align 8
  %415 = extractvalue { ptr, i32 } %413, 1
  store i32 %415, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #6
  br label %416

416:                                              ; preds = %412, %408
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %58) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %57) #6
  br label %417

417:                                              ; preds = %416, %407, %395, %391
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %50) #6
  br label %418

418:                                              ; preds = %417, %387
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #6
  br label %420

419:                                              ; preds = %386, %343
  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 8, ptr %5) #6
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %1) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr %1) #6
  br label %424

420:                                              ; preds = %418, %342, %297, %257, %253, %249, %245, %241, %237
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #6
  br label %421

421:                                              ; preds = %420, %233, %229
  call void @llvm.lifetime.end.p0(i64 96, ptr %6) #6
  br label %422

422:                                              ; preds = %421, %225
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %423

423:                                              ; preds = %422, %221
  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 %425

424:                                              ; preds = %419, %65, %0
  call void @glutPostRedisplay()
  call void @glutSwapBuffers()
  ret void

425:                                              ; preds = %423
  %426 = load ptr, ptr %3, align 8
  %427 = load i32, ptr %4, align 4
  %428 = insertvalue { ptr, i32 } poison, ptr %426, 0
  %429 = insertvalue { ptr, i32 } %428, i32 %427, 1
  resume { ptr, i32 } %429
}

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 @_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, !15, i64 0}
!21 = !{!"_ZTS11ProgramData", !15, i64 0, !15, i64 4, !15, i64 8}
!22 = !{!21, !15, i64 4}
!23 = !{!21, !15, i64 8}
!24 = !{!25, !15, i64 0}
!25 = !{!"_ZTS13UnlitProgData", !15, i64 0, !15, i64 4, !15, i64 8}
!26 = !{!25, !15, i64 8}
!27 = !{!25, !15, i64 4}
!28 = !{!29, !10, i64 28}
!29 = !{!"_ZTSN6glutil8ViewDataE", !30, i64 0, !31, i64 12, !10, i64 28, !10, i64 32}
!30 = !{!"_ZTSN3glm6detail5tvec3IfEE", !7, i64 0}
!31 = !{!"_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.15 }
%union.anon.15 = type { %struct.anon.16 }
%struct.anon.16 = type { float, float, float, float }
%"class.glutil::MatrixStack" = type { %"class.std::stack", %"struct.glm::detail::tmat4x4" }
%"class.std::stack" = type { %"class.std::vector.19" }
%"class.std::vector.19" = type { %"struct.std::_Vector_base.20" }
%"struct.std::_Vector_base.20" = 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_litShaderProg = external dso_local local_unnamed_addr global %struct.ProgramData, align 4
@g_litTextureProg = external dso_local local_unnamed_addr global %struct.ProgramData, align 4
@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_lightUniformBuffer = external dso_local local_unnamed_addr global i32, align 4
@g_materialUniformBuffer = 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_gaussSampler = external dso_local local_unnamed_addr global i32, align 4
@_funcptr_glBindTexture = external local_unnamed_addr global ptr, align 8
@_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_bUseTexture = external dso_local local_unnamed_addr global i8, align 1
@g_currTexture = 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.19 = 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.20 = 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.LightBlock, align 4
  %4 = alloca %"struct.glm::detail::tvec4", align 4
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca %"struct.glm::detail::tvec3", align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca %"struct.glm::detail::tvec4", align 4
  %14 = alloca %"struct.glm::detail::tvec4", align 4
  %15 = alloca float, align 4
  %16 = alloca %"struct.glm::detail::tvec4", align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca %"struct.glm::detail::tvec4", align 4
  %22 = alloca %"struct.glm::detail::tvec4", align 4
  %23 = alloca %"struct.glm::detail::tvec4", align 4
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca %"class.glutil::PushStack", align 8
  %29 = alloca %"struct.glm::detail::tmat4x4", align 4
  %30 = alloca %"struct.glm::detail::tmat3x3", align 4
  %31 = alloca %"struct.glm::detail::tmat3x3", align 4
  %32 = alloca %"struct.glm::detail::tmat3x3", align 4
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::allocator.0", align 1
  %35 = alloca %"class.glutil::PushStack", align 8
  %36 = alloca %"struct.glm::detail::tvec3", align 4
  %37 = alloca %"struct.glm::detail::tvec4", align 4
  %38 = alloca %"struct.glm::detail::tvec4", align 4
  %39 = alloca float, align 4
  %40 = alloca %"class.std::__cxx11::basic_string", align 8
  %41 = alloca %"class.std::allocator.0", align 1
  %42 = alloca %"struct.glm::detail::tvec3", align 4
  %43 = alloca float, align 4
  %44 = alloca %"class.std::__cxx11::basic_string", align 8
  %45 = alloca %"class.std::allocator.0", align 1
  %46 = alloca %"class.glutil::PushStack", align 8
  %47 = alloca %"struct.glm::detail::tvec3", align 4
  %48 = alloca float, align 4
  %49 = alloca float, 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.std::__cxx11::basic_string", align 8
  %54 = alloca %"class.std::allocator.0", align 1
  %55 = tail call noundef zeroext i1 @_ZN9Framework5Timer6UpdateEv(ptr noundef nonnull align 4 dereferenceable(20) @g_lightTimer)
  %56 = load ptr, ptr @_funcptr_glClearColor, align 8, !tbaa !5
  tail call void %56(float noundef 7.500000e-01, float noundef 7.500000e-01, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %57 = load ptr, ptr @_funcptr_glClearDepth, align 8, !tbaa !5
  tail call void %57(double noundef 1.000000e+00)
  %58 = load ptr, ptr @_funcptr_glClear, align 8, !tbaa !5
  tail call void %58(i32 noundef 16640)
  %59 = load ptr, ptr @g_pObjectMesh, align 8, !tbaa !5
  %60 = icmp ne ptr %59, null
  %61 = load ptr, ptr @g_pCubeMesh, align 8
  %62 = icmp ne ptr %61, null
  %or.cond = select i1 %60, i1 %62, i1 false
  br i1 %or.cond, label %63, label %292

63:                                               ; 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 %64 unwind label %176

64:                                               ; preds = %63
  invoke void @_ZN6glutil11MatrixStack9SetMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(64) %2)
          to label %65 unwind label %176

65:                                               ; preds = %64
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #6
  %66 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %3) #6
  invoke void @_ZN10LightBlockC2Ev(ptr noundef nonnull align 4 dereferenceable(96) %3)
          to label %67 unwind label %178

67:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  store float 0x3FC99999A0000000, ptr %5, align 4, !tbaa !9
  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 1.000000e+00, ptr %8, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec4IfEC2ERKfS4_S4_S4_(ptr noundef nonnull align 4 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %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)
  %68 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(16) %4)
  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 4, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  %69 = getelementptr inbounds i8, ptr %3, i64 16
  store float 0x3F5A36E2E0000000, ptr %69, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  store float 0x3FE69FBE80000000, ptr %10, align 4, !tbaa !9
  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 0.000000e+00, ptr %12, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %12)
  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.end.p0(i64 4, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #6
  store float 0.000000e+00, ptr %15, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec4IfEC2IffEERKNS0_5tvec3IT_EERKT0_(ptr noundef nonnull align 4 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(4) %15)
  invoke void @_ZN3glm6detailmlIfEENS0_7tmat4x4IT_E8col_typeERKS4_RKNS4_8row_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %13, ptr noundef nonnull align 4 dereferenceable(64) %66, ptr noundef nonnull align 4 dereferenceable(16) %14)
          to label %70 unwind label %180

70:                                               ; preds = %67
  %71 = getelementptr inbounds i8, ptr %3, i64 32
  %72 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %71, ptr noundef nonnull align 4 dereferenceable(16) %13)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #6
  store float 0x3FE3333340000000, ptr %17, align 4, !tbaa !9
  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 1.000000e+00, ptr %20, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec4IfEC2ERKfS4_S4_S4_(ptr noundef nonnull align 4 dereferenceable(16) %16, ptr noundef nonnull align 4 dereferenceable(4) %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)
  %73 = getelementptr inbounds i8, ptr %3, i64 48
  %74 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %73, ptr noundef nonnull align 4 dereferenceable(16) %16)
  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 4, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #6
  invoke void @_Z17CalcLightPositionv(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %22)
          to label %75 unwind label %182

75:                                               ; preds = %70
  invoke void @_ZN3glm6detailmlIfEENS0_7tmat4x4IT_E8col_typeERKS4_RKNS4_8row_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %21, ptr noundef nonnull align 4 dereferenceable(64) %66, ptr noundef nonnull align 4 dereferenceable(16) %22)
          to label %76 unwind label %182

76:                                               ; preds = %75
  %77 = getelementptr inbounds i8, ptr %3, i64 64
  %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) %21)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #6
  store float 0x3FD99999A0000000, ptr %24, align 4, !tbaa !9
  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 1.000000e+00, ptr %27, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec4IfEC2ERKfS4_S4_S4_(ptr noundef nonnull align 4 dereferenceable(16) %23, ptr noundef nonnull align 4 dereferenceable(4) %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)
  %79 = getelementptr inbounds i8, ptr %3, i64 80
  %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) %23)
  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 4, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #6
  %81 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  %82 = load i32, ptr @g_lightUniformBuffer, align 4, !tbaa !14
  invoke void %81(i32 noundef 35345, i32 noundef %82)
          to label %83 unwind label %184

83:                                               ; preds = %76
  %84 = load ptr, ptr @_funcptr_glBufferSubData, align 8, !tbaa !5
  invoke void %84(i32 noundef 35345, i64 noundef 0, i64 noundef 96, ptr noundef nonnull %3)
          to label %85 unwind label %184

85:                                               ; preds = %83
  %86 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  invoke void %86(i32 noundef 35345, i32 noundef 0)
          to label %87 unwind label %184

87:                                               ; preds = %85
  %88 = load ptr, ptr @_funcptr_glBindBufferRange, align 8, !tbaa !5
  %89 = load i32, ptr @g_materialUniformBuffer, align 4, !tbaa !14
  invoke void %88(i32 noundef 35345, i32 noundef 0, i32 noundef %89, i64 noundef 0, i64 noundef 48)
          to label %90 unwind label %184

90:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %91 unwind label %186

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

92:                                               ; preds = %91
  invoke void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(64) %29)
          to label %93 unwind label %188

93:                                               ; preds = %92
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %29) #6
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef 2.000000e+00)
          to label %94 unwind label %190

94:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %30) #6
  %95 = 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) %30, ptr noundef nonnull align 4 dereferenceable(64) %95)
          to label %96 unwind label %192

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

97:                                               ; preds = %96
  invoke void @_ZN3glm9transposeIfEENS_6detail7tmat3x3IT_EERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tmat3x3") align 4 %31, ptr noundef nonnull align 4 dereferenceable(36) %32)
          to label %98 unwind label %194

98:                                               ; preds = %97
  %99 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN3glm6detail7tmat3x3IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(36) %30, ptr noundef nonnull align 4 dereferenceable(36) %31)
          to label %100 unwind label %194

100:                                              ; preds = %98
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %32) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %31) #6
  %101 = load i8, ptr @g_bUseTexture, align 1, !tbaa !16, !range !18, !noundef !19
  %102 = trunc nuw i8 %101 to i1
  %103 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %g_litTextureProg.val = load i32, ptr @g_litTextureProg, align 4
  %g_litShaderProg.val = load i32, ptr @g_litShaderProg, align 4
  %104 = select i1 %102, i32 %g_litTextureProg.val, i32 %g_litShaderProg.val
  invoke void %103(i32 noundef %104)
          to label %105 unwind label %196

105:                                              ; preds = %100
  %106 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %.val = load i32, ptr getelementptr inbounds (i8, ptr @g_litTextureProg, i64 4), align 4
  %.val24 = load i32, ptr getelementptr inbounds (i8, ptr @g_litShaderProg, i64 4), align 4
  %107 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  %108 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %107)
          to label %109 unwind label %196

109:                                              ; preds = %105
  %110 = select i1 %102, i32 %.val, i32 %.val24
  invoke void %106(i32 noundef %110, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %108)
          to label %111 unwind label %196

111:                                              ; preds = %109
  %112 = load ptr, ptr @_funcptr_glUniformMatrix3fv, align 8, !tbaa !5
  %.val25 = load i32, ptr getelementptr inbounds (i8, ptr @g_litTextureProg, i64 8), align 4
  %.val26 = load i32, ptr getelementptr inbounds (i8, ptr @g_litShaderProg, i64 8), align 4
  %113 = select i1 %102, i32 %.val25, i32 %.val26
  %114 = call noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail7tmat3x3IS1_EE(ptr noundef nonnull align 4 dereferenceable(36) %30)
  invoke void %112(i32 noundef %113, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %114)
          to label %115 unwind label %196

115:                                              ; preds = %111
  %116 = load ptr, ptr @_funcptr_glActiveTexture, align 8, !tbaa !5
  invoke void %116(i32 noundef 33984)
          to label %117 unwind label %196

117:                                              ; preds = %115
  %118 = load ptr, ptr @_funcptr_glBindTexture, align 8, !tbaa !5
  %119 = load i32, ptr @g_currTexture, align 4, !tbaa !14
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [4 x i32], ptr @g_gaussTextures, i64 0, i64 %120
  %122 = load i32, ptr %121, align 4, !tbaa !14
  invoke void %118(i32 noundef 3552, i32 noundef %122)
          to label %123 unwind label %196

123:                                              ; preds = %117
  %124 = load ptr, ptr @_funcptr_glBindSampler, align 8, !tbaa !5
  %125 = load i32, ptr @g_gaussSampler, align 4, !tbaa !14
  invoke void %124(i32 noundef 0, i32 noundef %125)
          to label %126 unwind label %196

126:                                              ; preds = %123
  %127 = load ptr, ptr @g_pObjectMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %33) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %34) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %128 unwind label %198

128:                                              ; preds = %126
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %127, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %129 unwind label %200

129:                                              ; preds = %128
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %34) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #6
  %130 = load ptr, ptr @_funcptr_glBindSampler, align 8, !tbaa !5
  invoke void %130(i32 noundef 0, i32 noundef 0)
          to label %131 unwind label %196

131:                                              ; preds = %129
  %132 = load ptr, ptr @_funcptr_glBindTexture, align 8, !tbaa !5
  invoke void %132(i32 noundef 3552, i32 noundef 0)
          to label %133 unwind label %196

133:                                              ; preds = %131
  %134 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  invoke void %134(i32 noundef 0)
          to label %135 unwind label %196

135:                                              ; preds = %133
  %136 = load ptr, ptr @_funcptr_glBindBufferBase, align 8, !tbaa !5
  invoke void %136(i32 noundef 35345, i32 noundef 0, i32 noundef 0)
          to label %137 unwind label %196

137:                                              ; preds = %135
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %30) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #6
  %138 = load i8, ptr @g_bDrawLights, align 1, !tbaa !16, !range !18, !noundef !19
  %139 = trunc nuw i8 %138 to i1
  br i1 %139, label %140, label %229

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

141:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %36) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %37) #6
  invoke void @_Z17CalcLightPositionv(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %37)
          to label %142 unwind label %208

142:                                              ; preds = %141
  call void @_ZN3glm6detail5tvec3IfEC2IfEERKNS0_5tvec4IT_EE(ptr noundef nonnull align 4 dereferenceable(12) %36, ptr noundef nonnull align 4 dereferenceable(16) %37)
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %36)
          to label %143 unwind label %208

143:                                              ; preds = %142
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %36) #6
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef 2.500000e-01)
          to label %144 unwind label %210

144:                                              ; preds = %143
  %145 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %146 = load i32, ptr @g_Unlit, align 4, !tbaa !20
  invoke void %145(i32 noundef %146)
          to label %147 unwind label %210

147:                                              ; preds = %144
  %148 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %149 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 8), align 4, !tbaa !22
  %150 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  %151 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %150)
          to label %152 unwind label %210

152:                                              ; preds = %147
  invoke void %148(i32 noundef %149, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %151)
          to label %153 unwind label %210

153:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %38) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %39) #6
  store float 1.000000e+00, ptr %39, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec4IfEC2ERKf(ptr noundef nonnull align 4 dereferenceable(16) %38, ptr noundef nonnull align 4 dereferenceable(4) %39)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %39) #6
  %154 = load ptr, ptr @_funcptr_glUniform4fv, align 8, !tbaa !5
  %155 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 4), align 4, !tbaa !23
  %156 = call noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16) %38)
  invoke void %154(i32 noundef %155, i32 noundef 1, ptr noundef %156)
          to label %157 unwind label %212

157:                                              ; preds = %153
  %158 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %40) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %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 nonnull @.str.20, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %159 unwind label %214

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

160:                                              ; preds = %159
  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 nonnull %41) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #6
  invoke void @_ZN6glutil9PushStack10ResetStackEv(ptr noundef nonnull align 8 dereferenceable(8) %35)
          to label %161 unwind label %212

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

162:                                              ; preds = %161
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %42)
          to label %163 unwind label %219

163:                                              ; preds = %162
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %43) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %42) #6
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef 5.000000e+00)
          to label %164 unwind label %212

164:                                              ; preds = %163
  %165 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %166 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 8), align 4, !tbaa !22
  %167 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  %168 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %167)
          to label %169 unwind label %212

169:                                              ; preds = %164
  invoke void %165(i32 noundef %166, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %168)
          to label %170 unwind label %212

170:                                              ; preds = %169
  %171 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %44) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %45) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull @.str.20, ptr noundef nonnull align 1 dereferenceable(1) %45)
          to label %172 unwind label %221

172:                                              ; preds = %170
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %171, ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %173 unwind label %223

173:                                              ; preds = %172
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %45) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %44) #6
  %174 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  invoke void %174(i32 noundef 0)
          to label %175 unwind label %212

175:                                              ; preds = %173
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #6
  br label %229

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

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

180:                                              ; preds = %67
  %181 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  br label %289

182:                                              ; preds = %75, %70
  %183 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #6
  br label %289

184:                                              ; preds = %87, %85, %83, %76
  %185 = landingpad { ptr, i32 }
          cleanup
  br label %289

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

188:                                              ; preds = %92, %91
  %189 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %29) #6
  br label %204

190:                                              ; preds = %93
  %191 = landingpad { ptr, i32 }
          cleanup
  br label %204

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

194:                                              ; preds = %98, %97, %96
  %195 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %32) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %31) #6
  br label %203

196:                                              ; preds = %135, %133, %131, %129, %123, %117, %115, %111, %109, %105, %100
  %197 = landingpad { ptr, i32 }
          cleanup
  br label %203

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

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

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

203:                                              ; preds = %196, %202, %194, %192
  %.pn28.pn = phi { ptr, i32 } [ %195, %194 ], [ %193, %192 ], [ %197, %196 ], [ %.pn, %202 ]
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %30) #6
  br label %204

204:                                              ; preds = %203, %190, %188
  %.pn28.pn.pn = phi { ptr, i32 } [ %.pn28.pn, %203 ], [ %191, %190 ], [ %189, %188 ]
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #6
  br label %205

205:                                              ; preds = %204, %186
  %.pn28.pn.pn.pn = phi { ptr, i32 } [ %.pn28.pn.pn, %204 ], [ %187, %186 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #6
  br label %289

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

208:                                              ; preds = %142, %141
  %209 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %36) #6
  br label %227

210:                                              ; preds = %152, %147, %144, %143
  %211 = landingpad { ptr, i32 }
          cleanup
  br label %227

212:                                              ; preds = %173, %169, %164, %163, %160, %153
  %213 = landingpad { ptr, i32 }
          cleanup
  br label %226

214:                                              ; preds = %157
  %215 = landingpad { ptr, i32 }
          cleanup
  br label %218

216:                                              ; preds = %159
  %217 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #6
  br label %218

218:                                              ; preds = %216, %214
  %.pn33 = phi { ptr, i32 } [ %217, %216 ], [ %215, %214 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %41) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #6
  br label %226

219:                                              ; preds = %162, %161
  %220 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %43) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %42) #6
  br label %226

221:                                              ; preds = %170
  %222 = landingpad { ptr, i32 }
          cleanup
  br label %225

223:                                              ; preds = %172
  %224 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #6
  br label %225

225:                                              ; preds = %223, %221
  %.pn35 = phi { ptr, i32 } [ %224, %223 ], [ %222, %221 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %45) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %44) #6
  br label %226

226:                                              ; preds = %225, %219, %218, %212
  %.pn37 = phi { ptr, i32 } [ %213, %212 ], [ %.pn35, %225 ], [ %220, %219 ], [ %.pn33, %218 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #6
  br label %227

227:                                              ; preds = %226, %210, %208
  %.pn37.pn = phi { ptr, i32 } [ %.pn37, %226 ], [ %211, %210 ], [ %209, %208 ]
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #6
  br label %228

228:                                              ; preds = %227, %206
  %.pn37.pn.pn = phi { ptr, i32 } [ %.pn37.pn, %227 ], [ %207, %206 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #6
  br label %289

229:                                              ; preds = %175, %137
  %230 = load i8, ptr @g_bDrawCameraPos, align 1, !tbaa !16, !range !18, !noundef !19
  %231 = trunc nuw i8 %230 to i1
  br i1 %231, label %232, label %288

232:                                              ; preds = %229
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %46) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %233 unwind label %270

233:                                              ; preds = %232
  invoke void @_ZN6glutil11MatrixStack11SetIdentityEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %234 unwind label %272

234:                                              ; preds = %233
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %47) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %48) #6
  store float 0.000000e+00, ptr %48, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %49) #6
  store float 0.000000e+00, ptr %49, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %50) #6
  %235 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZNK6glutil8ViewPole7GetViewEv(ptr noundef nonnull align 8 dereferenceable(148) @g_viewPole)
  %236 = getelementptr inbounds i8, ptr %235, i64 28
  %237 = load float, ptr %236, align 4, !tbaa !24
  %238 = fneg float %237
  store float %238, ptr %50, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %47, ptr noundef nonnull align 4 dereferenceable(4) %48, ptr noundef nonnull align 4 dereferenceable(4) %49, ptr noundef nonnull align 4 dereferenceable(4) %50)
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %47)
          to label %239 unwind label %274

239:                                              ; preds = %234
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %50) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %49) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %48) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %47) #6
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef 2.500000e-01)
          to label %240 unwind label %272

240:                                              ; preds = %239
  %241 = load ptr, ptr @_funcptr_glDisable, align 8, !tbaa !5
  invoke void %241(i32 noundef 2929)
          to label %242 unwind label %272

242:                                              ; preds = %240
  %243 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %243(i8 noundef zeroext 0)
          to label %244 unwind label %272

244:                                              ; preds = %242
  %245 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %246 = load i32, ptr @g_Unlit, align 4, !tbaa !20
  invoke void %245(i32 noundef %246)
          to label %247 unwind label %272

247:                                              ; preds = %244
  %248 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %249 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 8), align 4, !tbaa !22
  %250 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  %251 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %250)
          to label %252 unwind label %272

252:                                              ; preds = %247
  invoke void %248(i32 noundef %249, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %251)
          to label %253 unwind label %272

253:                                              ; preds = %252
  %254 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %255 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 4), align 4, !tbaa !23
  invoke void %254(i32 noundef %255, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 1.000000e+00)
          to label %256 unwind label %272

256:                                              ; preds = %253
  %257 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %51) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %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 nonnull @.str.20, ptr noundef nonnull align 1 dereferenceable(1) %52)
          to label %258 unwind label %276

258:                                              ; preds = %256
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %257, ptr noundef nonnull align 8 dereferenceable(32) %51)
          to label %259 unwind label %278

259:                                              ; preds = %258
  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 nonnull %52) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #6
  %260 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %260(i8 noundef zeroext 1)
          to label %261 unwind label %272

261:                                              ; preds = %259
  %262 = load ptr, ptr @_funcptr_glEnable, align 8, !tbaa !5
  invoke void %262(i32 noundef 2929)
          to label %263 unwind label %272

263:                                              ; preds = %261
  %264 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %265 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 4), align 4, !tbaa !23
  invoke void %264(i32 noundef %265, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %266 unwind label %272

266:                                              ; preds = %263
  %267 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %53) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %54) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull @.str.20, ptr noundef nonnull align 1 dereferenceable(1) %54)
          to label %268 unwind label %281

268:                                              ; preds = %266
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %267, ptr noundef nonnull align 8 dereferenceable(32) %53)
          to label %269 unwind label %283

269:                                              ; preds = %268
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %54) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %53) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %46) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %46) #6
  br label %288

270:                                              ; preds = %232
  %271 = landingpad { ptr, i32 }
          cleanup
  br label %287

272:                                              ; preds = %263, %261, %259, %253, %252, %247, %244, %242, %240, %239, %233
  %273 = landingpad { ptr, i32 }
          cleanup
  br label %286

274:                                              ; preds = %234
  %275 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %50) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %49) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %48) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %47) #6
  br label %286

276:                                              ; preds = %256
  %277 = landingpad { ptr, i32 }
          cleanup
  br label %280

278:                                              ; preds = %258
  %279 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #6
  br label %280

280:                                              ; preds = %278, %276
  %.pn41 = phi { ptr, i32 } [ %279, %278 ], [ %277, %276 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %52) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #6
  br label %286

281:                                              ; preds = %266
  %282 = landingpad { ptr, i32 }
          cleanup
  br label %285

283:                                              ; preds = %268
  %284 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #6
  br label %285

285:                                              ; preds = %283, %281
  %.pn43 = phi { ptr, i32 } [ %284, %283 ], [ %282, %281 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %54) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %53) #6
  br label %286

286:                                              ; preds = %285, %280, %274, %272
  %.pn43.pn = phi { ptr, i32 } [ %.pn43, %285 ], [ %273, %272 ], [ %.pn41, %280 ], [ %275, %274 ]
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %46) #6
  br label %287

287:                                              ; preds = %286, %270
  %.pn43.pn.pn = phi { ptr, i32 } [ %.pn43.pn, %286 ], [ %271, %270 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %46) #6
  br label %289

288:                                              ; preds = %269, %229
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 96, 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 %292

289:                                              ; preds = %287, %228, %205, %184, %182, %180
  %.pn43.pn.pn.pn = phi { ptr, i32 } [ %.pn43.pn.pn, %287 ], [ %.pn37.pn.pn, %228 ], [ %.pn28.pn.pn.pn, %205 ], [ %185, %184 ], [ %183, %182 ], [ %181, %180 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #6
  br label %290

290:                                              ; preds = %289, %178
  %.pn43.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn43.pn.pn.pn, %289 ], [ %179, %178 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %3) #6
  br label %291

291:                                              ; preds = %290, %176
  %.pn43.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn43.pn.pn.pn.pn, %290 ], [ %177, %176 ]
  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 } %.pn43.pn.pn.pn.pn.pn

292:                                              ; preds = %288, %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 @_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, !15, i64 0}
!21 = !{!"_ZTS13UnlitProgData", !15, i64 0, !15, i64 4, !15, i64 8}
!22 = !{!21, !15, i64 8}
!23 = !{!21, !15, i64 4}
!24 = !{!25, !10, i64 28}
!25 = !{!"_ZTSN6glutil8ViewDataE", !26, i64 0, !27, i64 12, !10, i64 28, !10, i64 32}
!26 = !{!"_ZTSN3glm6detail5tvec3IfEE", !7, i64 0}
!27 = !{!"_ZTSN3glm6detail5tquatIfEE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}


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