; LLVM IR from paroj/gltut :: Tut 13 Impostors/GeomImpostor.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.ProgramMeshData = type { i32, i32, i32 }
%struct.ProgramImposData = type { 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.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" }
%"struct.glm::detail::tmat3x3" = type { [3 x %"struct.glm::detail::tvec3"] }
%struct.VertexData = type { %"struct.glm::detail::tvec3", float }
%"class.glutil::PushStack" = type { ptr }
%"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_litMeshProg = external dso_local global %struct.ProgramMeshData, align 4
@g_litImpProg = external dso_local global %struct.ProgramImposData, align 4
@g_Unlit = external dso_local global %struct.UnlitProgData, align 4
@g_viewPole = external dso_local global %"class.glutil::ViewPole", align 8
@g_pPlaneMesh = external dso_local global ptr, align 8
@g_pSphereMesh = 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_materialArrayUniformBuffer = external dso_local global i32, align 4
@g_materialTerrainUniformBuffer = external dso_local global i32, align 4
@_funcptr_glBindBuffer = external global ptr, align 8
@_funcptr_glBufferData = external global ptr, align 8
@g_imposterVAO = external dso_local global i32, align 4
@g_imposterVBO = external dso_local global i32, align 4
@_funcptr_glEnable = external global ptr, align 8
@_funcptr_glDepthMask = external global ptr, align 8
@_funcptr_glBindBufferRange = external global ptr, align 8
@_funcptr_glBindVertexArray = external global ptr, align 8
@g_bDrawCameraPos = external dso_local global i8, align 1
@g_bDrawLights = external dso_local global i8, align 1
@g_sphereTimer = 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_glUseProgram = external global ptr, align 8
@_funcptr_glUniformMatrix4fv = external global ptr, align 8
@_funcptr_glUniformMatrix3fv = external global ptr, align 8
@_funcptr_glBindBufferBase = external global ptr, align 8
@_funcptr_glDrawArrays = external global ptr, align 8
@_funcptr_glUniform4fv = external global ptr, align 8
@.str.19 = 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 @_Z17GetSphereOrbitPosRN6glutil11MatrixStackERKN3glm6detail5tvec3IfEES7_ff(ptr dead_on_unwind noalias writable sret(%"struct.glm::detail::tvec3") align 4, ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef) #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 @_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 noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm6detail5tvec3IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #3 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: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local 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: mustprogress nounwind uwtable
declare dso_local void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

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

declare noundef float @_ZNK9Framework5Timer8GetAlphaEv(ptr noundef nonnull align 4 dereferenceable(20)) #4

; 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::tvec4", align 4
  %13 = alloca %"struct.glm::detail::tvec4", align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca %"struct.glm::detail::tvec4", align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca %"struct.glm::detail::tvec4", align 4
  %24 = alloca %"struct.glm::detail::tvec4", align 4
  %25 = alloca %"struct.glm::detail::tvec4", align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca float, 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 [4 x %struct.VertexData], align 16
  %34 = alloca %"struct.glm::detail::tvec3", align 4
  %35 = alloca %"struct.glm::detail::tvec4", align 4
  %36 = alloca %"struct.glm::detail::tvec4", align 4
  %37 = alloca float, align 4
  %38 = alloca float, align 4
  %39 = alloca float, align 4
  %40 = alloca float, align 4
  %41 = alloca %"struct.glm::detail::tvec3", align 4
  %42 = alloca %"struct.glm::detail::tvec3", align 4
  %43 = alloca float, align 4
  %44 = alloca float, align 4
  %45 = alloca float, align 4
  %46 = alloca %"struct.glm::detail::tvec3", align 4
  %47 = alloca float, align 4
  %48 = alloca float, align 4
  %49 = alloca float, align 4
  %50 = alloca %"struct.glm::detail::tvec3", align 4
  %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 %"struct.glm::detail::tvec3", align 4
  %56 = alloca float, align 4
  %57 = alloca float, align 4
  %58 = alloca float, align 4
  %59 = alloca %"struct.glm::detail::tvec3", align 4
  %60 = alloca %"struct.glm::detail::tvec3", align 4
  %61 = alloca float, align 4
  %62 = alloca float, align 4
  %63 = alloca float, align 4
  %64 = alloca %"struct.glm::detail::tvec3", align 4
  %65 = alloca float, align 4
  %66 = alloca float, align 4
  %67 = alloca float, align 4
  %68 = alloca %"class.glutil::PushStack", align 8
  %69 = alloca %"struct.glm::detail::tvec3", align 4
  %70 = alloca %"struct.glm::detail::tvec4", align 4
  %71 = alloca %"struct.glm::detail::tvec4", align 4
  %72 = alloca float, align 4
  %73 = alloca %"class.std::__cxx11::basic_string", align 8
  %74 = alloca %"class.std::allocator.0", align 1
  %75 = alloca %"class.glutil::PushStack", align 8
  %76 = alloca %"struct.glm::detail::tvec3", align 4
  %77 = alloca float, align 4
  %78 = alloca float, align 4
  %79 = alloca float, align 4
  %80 = alloca %"class.std::__cxx11::basic_string", align 8
  %81 = alloca %"class.std::allocator.0", align 1
  %82 = alloca %"class.std::__cxx11::basic_string", align 8
  %83 = alloca %"class.std::allocator.0", align 1
  %84 = call noundef zeroext i1 @_ZN9Framework5Timer6UpdateEv(ptr noundef nonnull align 4 dereferenceable(20) @g_sphereTimer)
  %85 = load ptr, ptr @_funcptr_glClearColor, align 8, !tbaa !5
  call void %85(float noundef 7.500000e-01, float noundef 7.500000e-01, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %86 = load ptr, ptr @_funcptr_glClearDepth, align 8, !tbaa !5
  call void %86(double noundef 1.000000e+00)
  %87 = load ptr, ptr @_funcptr_glClear, align 8, !tbaa !5
  call void %87(i32 noundef 16640)
  %88 = load ptr, ptr @g_pPlaneMesh, align 8, !tbaa !5
  %89 = icmp ne ptr %88, null
  br i1 %89, label %90, label %465

90:                                               ; preds = %0
  %91 = load ptr, ptr @g_pSphereMesh, align 8, !tbaa !5
  %92 = icmp ne ptr %91, null
  br i1 %92, label %93, label %465

93:                                               ; preds = %90
  %94 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  %95 = icmp ne ptr %94, null
  br i1 %95, label %96, label %465

96:                                               ; preds = %93
  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 %97 unwind label %277

97:                                               ; preds = %96
  invoke void @_ZN6glutil11MatrixStack9SetMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(64) %2)
          to label %98 unwind label %277

98:                                               ; preds = %97
  call void @llvm.lifetime.end.p0(i64 64, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %99 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %100 unwind label %281

100:                                              ; preds = %98
  store ptr %99, 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 %101 unwind label %285

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

102:                                              ; preds = %101
  %103 = getelementptr inbounds %struct.LightBlock, ptr %6, i32 0, i32 0
  %104 = invoke noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %103, ptr noundef nonnull align 4 dereferenceable(16) %7)
          to label %105 unwind label %289

105:                                              ; preds = %102
  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
  %106 = getelementptr inbounds %struct.LightBlock, ptr %6, i32 0, i32 1
  store float 0x3F5A36E2E0000000, ptr %106, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #6
  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 0x3FE69FBE80000000, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store float 0.000000e+00, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store float 0.000000e+00, ptr %17, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec4IfEC2ERKfS4_S4_S4_(ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %108 unwind label %293

108:                                              ; preds = %105
  invoke void @_ZN3glm6detailmlIfEENS0_7tmat4x4IT_E8col_typeERKS4_RKNS4_8row_typeE(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %12, ptr noundef nonnull align 4 dereferenceable(64) %107, ptr noundef nonnull align 4 dereferenceable(16) %13)
          to label %109 unwind label %293

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

114:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  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 16, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store float 0x3FE3333340000000, ptr %19, align 4, !tbaa !9
  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 1.000000e+00, ptr %22, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec4IfEC2ERKfS4_S4_S4_(ptr noundef nonnull align 4 dereferenceable(16) %18, ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %115 unwind label %297

115:                                              ; preds = %114
  %116 = getelementptr inbounds %struct.LightBlock, ptr %6, i32 0, i32 3
  %117 = getelementptr inbounds [2 x %struct.PerLight], ptr %116, i64 0, i64 0
  %118 = getelementptr inbounds %struct.PerLight, ptr %117, i32 0, i32 1
  %119 = invoke noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %118, ptr noundef nonnull align 4 dereferenceable(16) %18)
          to label %120 unwind label %297

120:                                              ; preds = %115
  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 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #6
  %121 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #6
  invoke void @_Z17CalcLightPositionv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %24)
          to label %122 unwind label %301

122:                                              ; preds = %120
  invoke void @_ZN3glm6detailmlIfEENS0_7tmat4x4IT_E8col_typeERKS4_RKNS4_8row_typeE(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %23, ptr noundef nonnull align 4 dereferenceable(64) %121, ptr noundef nonnull align 4 dereferenceable(16) %24)
          to label %123 unwind label %301

123:                                              ; preds = %122
  %124 = getelementptr inbounds %struct.LightBlock, ptr %6, i32 0, i32 3
  %125 = getelementptr inbounds [2 x %struct.PerLight], ptr %124, i64 0, i64 1
  %126 = getelementptr inbounds %struct.PerLight, ptr %125, i32 0, i32 0
  %127 = invoke noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %126, ptr noundef nonnull align 4 dereferenceable(16) %23)
          to label %128 unwind label %301

128:                                              ; preds = %123
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  store float 0x3FD99999A0000000, ptr %26, align 4, !tbaa !9
  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 1.000000e+00, ptr %29, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec4IfEC2ERKfS4_S4_S4_(ptr noundef nonnull align 4 dereferenceable(16) %25, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %29)
          to label %129 unwind label %305

129:                                              ; preds = %128
  %130 = getelementptr inbounds %struct.LightBlock, ptr %6, i32 0, i32 3
  %131 = getelementptr inbounds [2 x %struct.PerLight], ptr %130, i64 0, i64 1
  %132 = getelementptr inbounds %struct.PerLight, ptr %131, i32 0, i32 1
  %133 = invoke noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %132, ptr noundef nonnull align 4 dereferenceable(16) %25)
          to label %134 unwind label %305

134:                                              ; preds = %129
  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 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  %135 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  %136 = load i32, ptr @g_lightUniformBuffer, align 4, !tbaa !14
  invoke void %135(i32 noundef 35345, i32 noundef %136)
          to label %137 unwind label %285

137:                                              ; preds = %134
  %138 = load ptr, ptr @_funcptr_glBufferSubData, align 8, !tbaa !5
  invoke void %138(i32 noundef 35345, i64 noundef 0, i64 noundef 96, ptr noundef %6)
          to label %139 unwind label %285

139:                                              ; preds = %137
  %140 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  invoke void %140(i32 noundef 35345, i32 noundef 0)
          to label %141 unwind label %285

141:                                              ; preds = %139
  %142 = load ptr, ptr @_funcptr_glBindBufferRange, align 8, !tbaa !5
  %143 = load i32, ptr @g_materialTerrainUniformBuffer, align 4, !tbaa !14
  invoke void %142(i32 noundef 35345, i32 noundef 0, i32 noundef %143, i64 noundef 0, i64 noundef 48)
          to label %144 unwind label %285

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

146:                                              ; preds = %144
  invoke void @_ZN3glm6detail7tmat3x3IfEC2ERKNS0_7tmat4x4IfEE(ptr noundef nonnull align 4 dereferenceable(36) %30, ptr noundef nonnull align 4 dereferenceable(64) %145)
          to label %147 unwind label %309

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

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

149:                                              ; preds = %148
  %150 = 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 %151 unwind label %313

151:                                              ; preds = %149
  call void @llvm.lifetime.end.p0(i64 36, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %31) #6
  %152 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %153 = load i32, ptr @g_litMeshProg, align 4, !tbaa !16
  invoke void %152(i32 noundef %153)
          to label %154 unwind label %309

154:                                              ; preds = %151
  %155 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %156 = load i32, ptr getelementptr inbounds (%struct.ProgramMeshData, ptr @g_litMeshProg, i32 0, i32 1), align 4, !tbaa !18
  %157 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %158 unwind label %309

158:                                              ; preds = %154
  %159 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %157)
          to label %160 unwind label %309

160:                                              ; preds = %158
  invoke void %155(i32 noundef %156, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %159)
          to label %161 unwind label %309

161:                                              ; preds = %160
  %162 = load ptr, ptr @_funcptr_glUniformMatrix3fv, align 8, !tbaa !5
  %163 = load i32, ptr getelementptr inbounds (%struct.ProgramMeshData, ptr @g_litMeshProg, i32 0, i32 2), align 4, !tbaa !19
  %164 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail7tmat3x3IS1_EE(ptr noundef nonnull align 4 dereferenceable(36) %30)
          to label %165 unwind label %309

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

166:                                              ; preds = %165
  %167 = load ptr, ptr @g_pPlaneMesh, align 8, !tbaa !5
  invoke void @_ZNK9Framework4Mesh6RenderEv(ptr noundef nonnull align 8 dereferenceable(8) %167)
          to label %168 unwind label %309

168:                                              ; preds = %166
  %169 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  invoke void %169(i32 noundef 0)
          to label %170 unwind label %309

170:                                              ; preds = %168
  %171 = load ptr, ptr @_funcptr_glBindBufferBase, align 8, !tbaa !5
  invoke void %171(i32 noundef 35345, i32 noundef 0, i32 noundef 0)
          to label %172 unwind label %309

172:                                              ; preds = %170
  call void @llvm.lifetime.end.p0(i64 36, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %33) #6
  %173 = getelementptr inbounds [4 x %struct.VertexData], ptr %33, i32 0, i32 0
  %174 = getelementptr inbounds %struct.VertexData, ptr %173, i64 4
  br label %175

175:                                              ; preds = %177, %172
  %176 = phi ptr [ %173, %172 ], [ %178, %177 ]
  invoke void @_ZN10VertexDataC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %176)
          to label %177 unwind label %318

177:                                              ; preds = %175
  %178 = getelementptr inbounds %struct.VertexData, ptr %176, i64 1
  %179 = icmp eq ptr %178, %174
  br i1 %179, label %180, label %175

180:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 12, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #6
  %181 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #6
  store float 0.000000e+00, ptr %37, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #6
  store float 1.000000e+01, ptr %38, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #6
  store float 0.000000e+00, ptr %39, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #6
  store float 1.000000e+00, ptr %40, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec4IfEC2ERKfS4_S4_S4_(ptr noundef nonnull align 4 dereferenceable(16) %36, ptr noundef nonnull align 4 dereferenceable(4) %37, ptr noundef nonnull align 4 dereferenceable(4) %38, ptr noundef nonnull align 4 dereferenceable(4) %39, ptr noundef nonnull align 4 dereferenceable(4) %40)
          to label %182 unwind label %322

182:                                              ; preds = %180
  invoke void @_ZN3glm6detailmlIfEENS0_7tmat4x4IT_E8col_typeERKS4_RKNS4_8row_typeE(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %35, ptr noundef nonnull align 4 dereferenceable(64) %181, ptr noundef nonnull align 4 dereferenceable(16) %36)
          to label %183 unwind label %322

183:                                              ; preds = %182
  invoke void @_ZN3glm6detail5tvec3IfEC2IfEERKNS0_5tvec4IT_EE(ptr noundef nonnull align 4 dereferenceable(12) %34, ptr noundef nonnull align 4 dereferenceable(16) %35)
          to label %184 unwind label %322

184:                                              ; preds = %183
  %185 = getelementptr inbounds [4 x %struct.VertexData], ptr %33, i64 0, i64 0
  %186 = getelementptr inbounds %struct.VertexData, ptr %185, i32 0, i32 0
  %187 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm6detail5tvec3IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(12) %186, ptr noundef nonnull align 4 dereferenceable(12) %34)
          to label %188 unwind label %322

188:                                              ; preds = %184
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %34) #6
  %189 = getelementptr inbounds [4 x %struct.VertexData], ptr %33, i64 0, i64 0
  %190 = getelementptr inbounds %struct.VertexData, ptr %189, i32 0, i32 1
  store float 4.000000e+00, ptr %190, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 12, ptr %41) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %42) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #6
  store float 0.000000e+00, ptr %43, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #6
  store float 1.000000e+01, ptr %44, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #6
  store float 0.000000e+00, ptr %45, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %42, ptr noundef nonnull align 4 dereferenceable(4) %43, ptr noundef nonnull align 4 dereferenceable(4) %44, ptr noundef nonnull align 4 dereferenceable(4) %45)
          to label %191 unwind label %326

191:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 12, ptr %46) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #6
  store float 0x3FE3333340000000, ptr %47, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #6
  store float 0x3FE99999A0000000, ptr %48, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #6
  store float 0.000000e+00, ptr %49, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %46, ptr noundef nonnull align 4 dereferenceable(4) %47, ptr noundef nonnull align 4 dereferenceable(4) %48, ptr noundef nonnull align 4 dereferenceable(4) %49)
          to label %192 unwind label %330

192:                                              ; preds = %191
  %193 = invoke noundef float @_ZNK9Framework5Timer8GetAlphaEv(ptr noundef nonnull align 4 dereferenceable(20) @g_sphereTimer)
          to label %194 unwind label %330

194:                                              ; preds = %192
  invoke void @_Z17GetSphereOrbitPosRN6glutil11MatrixStackERKN3glm6detail5tvec3IfEES7_ff(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec3") align 4 %41, ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %42, ptr noundef nonnull align 4 dereferenceable(12) %46, float noundef 2.000000e+01, float noundef %193)
          to label %195 unwind label %330

195:                                              ; preds = %194
  %196 = getelementptr inbounds [4 x %struct.VertexData], ptr %33, i64 0, i64 1
  %197 = getelementptr inbounds %struct.VertexData, ptr %196, i32 0, i32 0
  %198 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm6detail5tvec3IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(12) %197, ptr noundef nonnull align 4 dereferenceable(12) %41)
          to label %199 unwind label %330

199:                                              ; preds = %195
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #6
  %200 = getelementptr inbounds [4 x %struct.VertexData], ptr %33, i64 0, i64 1
  %201 = getelementptr inbounds %struct.VertexData, ptr %200, i32 0, i32 1
  store float 2.000000e+00, ptr %201, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 12, ptr %50) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %51) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #6
  store float -1.000000e+01, ptr %52, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #6
  store float 1.000000e+00, ptr %53, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #6
  store float 0.000000e+00, 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 %202 unwind label %335

202:                                              ; preds = %199
  call void @llvm.lifetime.start.p0(i64 12, ptr %55) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #6
  store float 0.000000e+00, ptr %56, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #6
  store float 1.000000e+00, ptr %57, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #6
  store float 0.000000e+00, ptr %58, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %55, ptr noundef nonnull align 4 dereferenceable(4) %56, ptr noundef nonnull align 4 dereferenceable(4) %57, ptr noundef nonnull align 4 dereferenceable(4) %58)
          to label %203 unwind label %339

203:                                              ; preds = %202
  %204 = invoke noundef float @_ZNK9Framework5Timer8GetAlphaEv(ptr noundef nonnull align 4 dereferenceable(20) @g_sphereTimer)
          to label %205 unwind label %339

205:                                              ; preds = %203
  invoke void @_Z17GetSphereOrbitPosRN6glutil11MatrixStackERKN3glm6detail5tvec3IfEES7_ff(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec3") align 4 %50, ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %51, ptr noundef nonnull align 4 dereferenceable(12) %55, float noundef 1.000000e+01, float noundef %204)
          to label %206 unwind label %339

206:                                              ; preds = %205
  %207 = getelementptr inbounds [4 x %struct.VertexData], ptr %33, i64 0, i64 2
  %208 = getelementptr inbounds %struct.VertexData, ptr %207, i32 0, i32 0
  %209 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm6detail5tvec3IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(12) %208, ptr noundef nonnull align 4 dereferenceable(12) %50)
          to label %210 unwind label %339

210:                                              ; preds = %206
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %55) #6
  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
  call void @llvm.lifetime.end.p0(i64 12, ptr %50) #6
  %211 = getelementptr inbounds [4 x %struct.VertexData], ptr %33, i64 0, i64 2
  %212 = getelementptr inbounds %struct.VertexData, ptr %211, i32 0, i32 1
  store float 1.000000e+00, ptr %212, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 12, ptr %59) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %60) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #6
  store float 1.000000e+01, ptr %61, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #6
  store float 1.000000e+00, ptr %62, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #6
  store float 0.000000e+00, ptr %63, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %60, ptr noundef nonnull align 4 dereferenceable(4) %61, ptr noundef nonnull align 4 dereferenceable(4) %62, ptr noundef nonnull align 4 dereferenceable(4) %63)
          to label %213 unwind label %344

213:                                              ; preds = %210
  call void @llvm.lifetime.start.p0(i64 12, ptr %64) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #6
  store float 0.000000e+00, ptr %65, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #6
  store float 1.000000e+00, ptr %66, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %67) #6
  store float 0.000000e+00, ptr %67, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %64, ptr noundef nonnull align 4 dereferenceable(4) %65, ptr noundef nonnull align 4 dereferenceable(4) %66, ptr noundef nonnull align 4 dereferenceable(4) %67)
          to label %214 unwind label %348

214:                                              ; preds = %213
  %215 = invoke noundef float @_ZNK9Framework5Timer8GetAlphaEv(ptr noundef nonnull align 4 dereferenceable(20) @g_sphereTimer)
          to label %216 unwind label %348

216:                                              ; preds = %214
  %217 = fmul float %215, 2.000000e+00
  invoke void @_Z17GetSphereOrbitPosRN6glutil11MatrixStackERKN3glm6detail5tvec3IfEES7_ff(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec3") align 4 %59, ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %60, ptr noundef nonnull align 4 dereferenceable(12) %64, float noundef 1.000000e+01, float noundef %217)
          to label %218 unwind label %348

218:                                              ; preds = %216
  %219 = getelementptr inbounds [4 x %struct.VertexData], ptr %33, i64 0, i64 3
  %220 = getelementptr inbounds %struct.VertexData, ptr %219, i32 0, i32 0
  %221 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm6detail5tvec3IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(12) %220, ptr noundef nonnull align 4 dereferenceable(12) %59)
          to label %222 unwind label %348

222:                                              ; preds = %218
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %64) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %60) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %59) #6
  %223 = getelementptr inbounds [4 x %struct.VertexData], ptr %33, i64 0, i64 3
  %224 = getelementptr inbounds %struct.VertexData, ptr %223, i32 0, i32 1
  store float 1.000000e+00, ptr %224, align 4, !tbaa !20
  %225 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  %226 = load i32, ptr @g_imposterVBO, align 4, !tbaa !14
  invoke void %225(i32 noundef 34962, i32 noundef %226)
          to label %227 unwind label %318

227:                                              ; preds = %222
  %228 = load ptr, ptr @_funcptr_glBufferData, align 8, !tbaa !5
  %229 = getelementptr inbounds [4 x %struct.VertexData], ptr %33, i64 0, i64 0
  invoke void %228(i32 noundef 34962, i64 noundef 64, ptr noundef %229, i32 noundef 35040)
          to label %230 unwind label %318

230:                                              ; preds = %227
  %231 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  invoke void %231(i32 noundef 34962, i32 noundef 0)
          to label %232 unwind label %318

232:                                              ; preds = %230
  call void @llvm.lifetime.end.p0(i64 64, ptr %33) #6
  %233 = load ptr, ptr @_funcptr_glBindBufferRange, align 8, !tbaa !5
  %234 = load i32, ptr @g_materialArrayUniformBuffer, align 4, !tbaa !14
  invoke void %233(i32 noundef 35345, i32 noundef 0, i32 noundef %234, i64 noundef 0, i64 noundef 192)
          to label %235 unwind label %285

235:                                              ; preds = %232
  %236 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %237 = load i32, ptr @g_litImpProg, align 4, !tbaa !23
  invoke void %236(i32 noundef %237)
          to label %238 unwind label %285

238:                                              ; preds = %235
  %239 = load ptr, ptr @_funcptr_glBindVertexArray, align 8, !tbaa !5
  %240 = load i32, ptr @g_imposterVAO, align 4, !tbaa !14
  invoke void %239(i32 noundef %240)
          to label %241 unwind label %285

241:                                              ; preds = %238
  %242 = load ptr, ptr @_funcptr_glDrawArrays, align 8, !tbaa !5
  invoke void %242(i32 noundef 0, i32 noundef 0, i32 noundef 4)
          to label %243 unwind label %285

243:                                              ; preds = %241
  %244 = load ptr, ptr @_funcptr_glBindVertexArray, align 8, !tbaa !5
  invoke void %244(i32 noundef 0)
          to label %245 unwind label %285

245:                                              ; preds = %243
  %246 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  invoke void %246(i32 noundef 0)
          to label %247 unwind label %285

247:                                              ; preds = %245
  %248 = load ptr, ptr @_funcptr_glBindBufferBase, align 8, !tbaa !5
  invoke void %248(i32 noundef 35345, i32 noundef 0, i32 noundef 0)
          to label %249 unwind label %285

249:                                              ; preds = %247
  %250 = load i8, ptr @g_bDrawLights, align 1, !tbaa !25, !range !27, !noundef !28
  %251 = trunc i8 %250 to i1
  br i1 %251, label %252, label %386

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

253:                                              ; preds = %252
  call void @llvm.lifetime.start.p0(i64 12, ptr %69) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %70) #6
  invoke void @_Z17CalcLightPositionv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %70)
          to label %254 unwind label %358

254:                                              ; preds = %253
  invoke void @_ZN3glm6detail5tvec3IfEC2IfEERKNS0_5tvec4IT_EE(ptr noundef nonnull align 4 dereferenceable(12) %69, ptr noundef nonnull align 4 dereferenceable(16) %70)
          to label %255 unwind label %358

255:                                              ; preds = %254
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %69)
          to label %256 unwind label %358

256:                                              ; preds = %255
  call void @llvm.lifetime.end.p0(i64 16, ptr %70) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %69) #6
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef 5.000000e-01)
          to label %257 unwind label %362

257:                                              ; preds = %256
  %258 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %259 = load i32, ptr @g_Unlit, align 4, !tbaa !29
  invoke void %258(i32 noundef %259)
          to label %260 unwind label %362

260:                                              ; preds = %257
  %261 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %262 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 2), align 4, !tbaa !31
  %263 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %264 unwind label %362

264:                                              ; preds = %260
  %265 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %263)
          to label %266 unwind label %362

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

267:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 16, ptr %71) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %72) #6
  store float 1.000000e+00, ptr %72, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec4IfEC2ERKf(ptr noundef nonnull align 4 dereferenceable(16) %71, ptr noundef nonnull align 4 dereferenceable(4) %72)
          to label %268 unwind label %366

268:                                              ; preds = %267
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #6
  %269 = load ptr, ptr @_funcptr_glUniform4fv, align 8, !tbaa !5
  %270 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 1), align 4, !tbaa !32
  %271 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16) %71)
          to label %272 unwind label %370

272:                                              ; preds = %268
  invoke void %269(i32 noundef %270, i32 noundef 1, ptr noundef %271)
          to label %273 unwind label %370

273:                                              ; preds = %272
  %274 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %73) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %74) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %73, ptr noundef @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %74)
          to label %275 unwind label %374

275:                                              ; preds = %273
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %274, ptr noundef nonnull align 8 dereferenceable(32) %73)
          to label %276 unwind label %378

276:                                              ; preds = %275
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %74) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %73) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %71) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %68) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #6
  br label %386

277:                                              ; preds = %97, %96
  %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 64, ptr %2) #6
  br label %464

281:                                              ; preds = %98
  %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 %463

285:                                              ; preds = %247, %245, %243, %241, %238, %235, %232, %141, %139, %137, %134, %100
  %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 %462

289:                                              ; preds = %102, %101
  %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 @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 %462

293:                                              ; preds = %109, %108, %105
  %294 = landingpad { ptr, i32 }
          cleanup
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %3, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  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 16, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  br label %462

297:                                              ; preds = %115, %114
  %298 = landingpad { ptr, i32 }
          cleanup
  %299 = extractvalue { ptr, i32 } %298, 0
  store ptr %299, ptr %3, align 8
  %300 = extractvalue { ptr, i32 } %298, 1
  store i32 %300, ptr %4, align 4
  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 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  br label %462

301:                                              ; preds = %123, %122, %120
  %302 = landingpad { ptr, i32 }
          cleanup
  %303 = extractvalue { ptr, i32 } %302, 0
  store ptr %303, ptr %3, align 8
  %304 = extractvalue { ptr, i32 } %302, 1
  store i32 %304, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  br label %462

305:                                              ; preds = %129, %128
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %3, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %4, align 4
  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 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  br label %462

309:                                              ; preds = %170, %168, %166, %165, %161, %160, %158, %154, %151, %146, %144
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %3, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %4, align 4
  br label %317

313:                                              ; preds = %149, %148, %147
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %3, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 36, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %31) #6
  br label %317

317:                                              ; preds = %313, %309
  call void @llvm.lifetime.end.p0(i64 36, ptr %30) #6
  br label %462

318:                                              ; preds = %230, %227, %222, %175
  %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 %353

322:                                              ; preds = %184, %183, %182, %180
  %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 @llvm.lifetime.end.p0(i64 4, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %34) #6
  br label %353

326:                                              ; preds = %188
  %327 = landingpad { ptr, i32 }
          cleanup
  %328 = extractvalue { ptr, i32 } %327, 0
  store ptr %328, ptr %3, align 8
  %329 = extractvalue { ptr, i32 } %327, 1
  store i32 %329, ptr %4, align 4
  br label %334

330:                                              ; preds = %195, %194, %192, %191
  %331 = landingpad { ptr, i32 }
          cleanup
  %332 = extractvalue { ptr, i32 } %331, 0
  store ptr %332, ptr %3, align 8
  %333 = extractvalue { ptr, i32 } %331, 1
  store i32 %333, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %46) #6
  br label %334

334:                                              ; preds = %330, %326
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #6
  br label %353

335:                                              ; preds = %199
  %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
  br label %343

339:                                              ; preds = %206, %205, %203, %202
  %340 = landingpad { ptr, i32 }
          cleanup
  %341 = extractvalue { ptr, i32 } %340, 0
  store ptr %341, ptr %3, align 8
  %342 = extractvalue { ptr, i32 } %340, 1
  store i32 %342, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %55) #6
  br label %343

343:                                              ; preds = %339, %335
  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
  call void @llvm.lifetime.end.p0(i64 12, ptr %50) #6
  br label %353

344:                                              ; preds = %210
  %345 = landingpad { ptr, i32 }
          cleanup
  %346 = extractvalue { ptr, i32 } %345, 0
  store ptr %346, ptr %3, align 8
  %347 = extractvalue { ptr, i32 } %345, 1
  store i32 %347, ptr %4, align 4
  br label %352

348:                                              ; preds = %218, %216, %214, %213
  %349 = landingpad { ptr, i32 }
          cleanup
  %350 = extractvalue { ptr, i32 } %349, 0
  store ptr %350, ptr %3, align 8
  %351 = extractvalue { ptr, i32 } %349, 1
  store i32 %351, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %64) #6
  br label %352

352:                                              ; preds = %348, %344
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %60) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %59) #6
  br label %353

353:                                              ; preds = %352, %343, %334, %322, %318
  call void @llvm.lifetime.end.p0(i64 64, ptr %33) #6
  br label %462

354:                                              ; preds = %252
  %355 = landingpad { ptr, i32 }
          cleanup
  %356 = extractvalue { ptr, i32 } %355, 0
  store ptr %356, ptr %3, align 8
  %357 = extractvalue { ptr, i32 } %355, 1
  store i32 %357, ptr %4, align 4
  br label %385

358:                                              ; preds = %255, %254, %253
  %359 = landingpad { ptr, i32 }
          cleanup
  %360 = extractvalue { ptr, i32 } %359, 0
  store ptr %360, ptr %3, align 8
  %361 = extractvalue { ptr, i32 } %359, 1
  store i32 %361, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %70) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %69) #6
  br label %384

362:                                              ; preds = %266, %264, %260, %257, %256
  %363 = landingpad { ptr, i32 }
          cleanup
  %364 = extractvalue { ptr, i32 } %363, 0
  store ptr %364, ptr %3, align 8
  %365 = extractvalue { ptr, i32 } %363, 1
  store i32 %365, ptr %4, align 4
  br label %384

366:                                              ; preds = %267
  %367 = landingpad { ptr, i32 }
          cleanup
  %368 = extractvalue { ptr, i32 } %367, 0
  store ptr %368, ptr %3, align 8
  %369 = extractvalue { ptr, i32 } %367, 1
  store i32 %369, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #6
  br label %383

370:                                              ; preds = %272, %268
  %371 = landingpad { ptr, i32 }
          cleanup
  %372 = extractvalue { ptr, i32 } %371, 0
  store ptr %372, ptr %3, align 8
  %373 = extractvalue { ptr, i32 } %371, 1
  store i32 %373, ptr %4, align 4
  br label %383

374:                                              ; preds = %273
  %375 = landingpad { ptr, i32 }
          cleanup
  %376 = extractvalue { ptr, i32 } %375, 0
  store ptr %376, ptr %3, align 8
  %377 = extractvalue { ptr, i32 } %375, 1
  store i32 %377, ptr %4, align 4
  br label %382

378:                                              ; preds = %275
  %379 = landingpad { ptr, i32 }
          cleanup
  %380 = extractvalue { ptr, i32 } %379, 0
  store ptr %380, ptr %3, align 8
  %381 = extractvalue { ptr, i32 } %379, 1
  store i32 %381, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #6
  br label %382

382:                                              ; preds = %378, %374
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %74) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %73) #6
  br label %383

383:                                              ; preds = %382, %370, %366
  call void @llvm.lifetime.end.p0(i64 16, ptr %71) #6
  br label %384

384:                                              ; preds = %383, %362, %358
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %68) #6
  br label %385

385:                                              ; preds = %384, %354
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #6
  br label %462

386:                                              ; preds = %276, %249
  %387 = load i8, ptr @g_bDrawCameraPos, align 1, !tbaa !25, !range !27, !noundef !28
  %388 = trunc i8 %387 to i1
  br i1 %388, label %389, label %461

389:                                              ; preds = %386
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %390 unwind label %429

390:                                              ; preds = %389
  invoke void @_ZN6glutil11MatrixStack11SetIdentityEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %391 unwind label %433

391:                                              ; preds = %390
  call void @llvm.lifetime.start.p0(i64 12, ptr %76) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %77) #6
  store float 0.000000e+00, ptr %77, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %78) #6
  store float 0.000000e+00, ptr %78, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %79) #6
  %392 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZNK6glutil8ViewPole7GetViewEv(ptr noundef nonnull align 8 dereferenceable(148) @g_viewPole)
          to label %393 unwind label %437

393:                                              ; preds = %391
  %394 = getelementptr inbounds %"struct.glutil::ViewData", ptr %392, i32 0, i32 2
  %395 = load float, ptr %394, align 4, !tbaa !33
  %396 = fneg float %395
  store float %396, ptr %79, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %76, ptr noundef nonnull align 4 dereferenceable(4) %77, ptr noundef nonnull align 4 dereferenceable(4) %78, ptr noundef nonnull align 4 dereferenceable(4) %79)
          to label %397 unwind label %437

397:                                              ; preds = %393
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %76)
          to label %398 unwind label %437

398:                                              ; preds = %397
  call void @llvm.lifetime.end.p0(i64 4, ptr %79) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %78) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %77) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %76) #6
  %399 = load ptr, ptr @_funcptr_glDisable, align 8, !tbaa !5
  invoke void %399(i32 noundef 2929)
          to label %400 unwind label %433

400:                                              ; preds = %398
  %401 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %401(i8 noundef zeroext 0)
          to label %402 unwind label %433

402:                                              ; preds = %400
  %403 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %404 = load i32, ptr @g_Unlit, align 4, !tbaa !29
  invoke void %403(i32 noundef %404)
          to label %405 unwind label %433

405:                                              ; preds = %402
  %406 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %407 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 2), align 4, !tbaa !31
  %408 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %409 unwind label %433

409:                                              ; preds = %405
  %410 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %408)
          to label %411 unwind label %433

411:                                              ; preds = %409
  invoke void %406(i32 noundef %407, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %410)
          to label %412 unwind label %433

412:                                              ; preds = %411
  %413 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %414 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 1), align 4, !tbaa !32
  invoke void %413(i32 noundef %414, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 1.000000e+00)
          to label %415 unwind label %433

415:                                              ; preds = %412
  %416 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %80) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %81) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %81) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %80, ptr noundef @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %81)
          to label %417 unwind label %441

417:                                              ; preds = %415
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %416, ptr noundef nonnull align 8 dereferenceable(32) %80)
          to label %418 unwind label %445

418:                                              ; preds = %417
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %80) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %81) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %81) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %80) #6
  %419 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %419(i8 noundef zeroext 1)
          to label %420 unwind label %433

420:                                              ; preds = %418
  %421 = load ptr, ptr @_funcptr_glEnable, align 8, !tbaa !5
  invoke void %421(i32 noundef 2929)
          to label %422 unwind label %433

422:                                              ; preds = %420
  %423 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %424 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 1), align 4, !tbaa !32
  invoke void %423(i32 noundef %424, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %425 unwind label %433

425:                                              ; preds = %422
  %426 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %82) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %83) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %83) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %82, ptr noundef @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %83)
          to label %427 unwind label %450

427:                                              ; preds = %425
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %426, ptr noundef nonnull align 8 dereferenceable(32) %82)
          to label %428 unwind label %454

428:                                              ; preds = %427
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %82) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %83) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %83) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %82) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %75) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #6
  br label %461

429:                                              ; preds = %389
  %430 = landingpad { ptr, i32 }
          cleanup
  %431 = extractvalue { ptr, i32 } %430, 0
  store ptr %431, ptr %3, align 8
  %432 = extractvalue { ptr, i32 } %430, 1
  store i32 %432, ptr %4, align 4
  br label %460

433:                                              ; preds = %422, %420, %418, %412, %411, %409, %405, %402, %400, %398, %390
  %434 = landingpad { ptr, i32 }
          cleanup
  %435 = extractvalue { ptr, i32 } %434, 0
  store ptr %435, ptr %3, align 8
  %436 = extractvalue { ptr, i32 } %434, 1
  store i32 %436, ptr %4, align 4
  br label %459

437:                                              ; preds = %397, %393, %391
  %438 = landingpad { ptr, i32 }
          cleanup
  %439 = extractvalue { ptr, i32 } %438, 0
  store ptr %439, ptr %3, align 8
  %440 = extractvalue { ptr, i32 } %438, 1
  store i32 %440, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %79) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %78) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %77) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %76) #6
  br label %459

441:                                              ; preds = %415
  %442 = landingpad { ptr, i32 }
          cleanup
  %443 = extractvalue { ptr, i32 } %442, 0
  store ptr %443, ptr %3, align 8
  %444 = extractvalue { ptr, i32 } %442, 1
  store i32 %444, ptr %4, align 4
  br label %449

445:                                              ; preds = %417
  %446 = landingpad { ptr, i32 }
          cleanup
  %447 = extractvalue { ptr, i32 } %446, 0
  store ptr %447, ptr %3, align 8
  %448 = extractvalue { ptr, i32 } %446, 1
  store i32 %448, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %80) #6
  br label %449

449:                                              ; preds = %445, %441
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %81) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %81) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %80) #6
  br label %459

450:                                              ; preds = %425
  %451 = landingpad { ptr, i32 }
          cleanup
  %452 = extractvalue { ptr, i32 } %451, 0
  store ptr %452, ptr %3, align 8
  %453 = extractvalue { ptr, i32 } %451, 1
  store i32 %453, ptr %4, align 4
  br label %458

454:                                              ; preds = %427
  %455 = landingpad { ptr, i32 }
          cleanup
  %456 = extractvalue { ptr, i32 } %455, 0
  store ptr %456, ptr %3, align 8
  %457 = extractvalue { ptr, i32 } %455, 1
  store i32 %457, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %82) #6
  br label %458

458:                                              ; preds = %454, %450
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %83) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %83) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %82) #6
  br label %459

459:                                              ; preds = %458, %449, %437, %433
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %75) #6
  br label %460

460:                                              ; preds = %459, %429
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #6
  br label %462

461:                                              ; preds = %428, %386
  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 %465

462:                                              ; preds = %460, %385, %353, %317, %305, %301, %297, %293, %289, %285
  call void @llvm.lifetime.end.p0(i64 96, ptr %6) #6
  br label %463

463:                                              ; preds = %462, %281
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %464

464:                                              ; preds = %463, %277
  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 %466

465:                                              ; preds = %461, %93, %90, %0
  call void @glutPostRedisplay()
  call void @glutSwapBuffers()
  ret void

466:                                              ; preds = %464
  %467 = load ptr, ptr %3, align 8
  %468 = load i32, ptr %4, align 4
  %469 = insertvalue { ptr, i32 } poison, ptr %467, 0
  %470 = insertvalue { ptr, i32 } %469, i32 %468, 1
  resume { ptr, i32 } %470
}

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: 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 @_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 @_ZNK9Framework4Mesh6RenderEv(ptr noundef nonnull align 8 dereferenceable(8)) #4

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

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

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

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, !15, i64 0}
!17 = !{!"_ZTS15ProgramMeshData", !15, i64 0, !15, i64 4, !15, i64 8}
!18 = !{!17, !15, i64 4}
!19 = !{!17, !15, i64 8}
!20 = !{!21, !10, i64 12}
!21 = !{!"_ZTS10VertexData", !22, i64 0, !10, i64 12}
!22 = !{!"_ZTSN3glm6detail5tvec3IfEE", !7, i64 0}
!23 = !{!24, !15, i64 0}
!24 = !{!"_ZTS16ProgramImposData", !15, i64 0}
!25 = !{!26, !26, i64 0}
!26 = !{!"bool", !7, i64 0}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!30, !15, i64 0}
!30 = !{!"_ZTS13UnlitProgData", !15, i64 0, !15, i64 4, !15, i64 8}
!31 = !{!30, !15, i64 8}
!32 = !{!30, !15, i64 4}
!33 = !{!34, !10, i64 28}
!34 = !{!"_ZTSN6glutil8ViewDataE", !22, i64 0, !35, i64 12, !10, i64 28, !10, i64 32}
!35 = !{!"_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.ProgramMeshData = type { i32, i32, i32 }
%struct.ProgramImposData = type { 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.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" }
%"struct.glm::detail::tmat3x3" = type { [3 x %"struct.glm::detail::tvec3"] }
%struct.VertexData = type { %"struct.glm::detail::tvec3", float }
%"class.glutil::PushStack" = type { ptr }
%"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_litMeshProg = external dso_local local_unnamed_addr global %struct.ProgramMeshData, align 4
@g_litImpProg = external dso_local local_unnamed_addr global %struct.ProgramImposData, align 4
@g_Unlit = external dso_local local_unnamed_addr global %struct.UnlitProgData, align 4
@g_viewPole = external dso_local global %"class.glutil::ViewPole", align 8
@g_pPlaneMesh = external dso_local local_unnamed_addr global ptr, align 8
@g_pSphereMesh = 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_materialArrayUniformBuffer = external dso_local local_unnamed_addr global i32, align 4
@g_materialTerrainUniformBuffer = external dso_local local_unnamed_addr global i32, align 4
@_funcptr_glBindBuffer = external local_unnamed_addr global ptr, align 8
@_funcptr_glBufferData = external local_unnamed_addr global ptr, align 8
@g_imposterVAO = external dso_local local_unnamed_addr global i32, align 4
@g_imposterVBO = external dso_local local_unnamed_addr global i32, align 4
@_funcptr_glEnable = external local_unnamed_addr global ptr, align 8
@_funcptr_glDepthMask = external local_unnamed_addr global ptr, align 8
@_funcptr_glBindBufferRange = external local_unnamed_addr global ptr, align 8
@_funcptr_glBindVertexArray = 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_sphereTimer = 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_glUseProgram = 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_glBindBufferBase = external local_unnamed_addr global ptr, align 8
@_funcptr_glDrawArrays = external local_unnamed_addr global ptr, align 8
@_funcptr_glUniform4fv = external local_unnamed_addr global ptr, align 8
@.str.19 = 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 @_Z17GetSphereOrbitPosRN6glutil11MatrixStackERKN3glm6detail5tvec3IfEES7_ff(ptr dead_on_unwind noalias writable sret(%"struct.glm::detail::tvec3") align 4, ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef) local_unnamed_addr #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 @_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 noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm6detail5tvec3IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3 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: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local 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: mustprogress nounwind uwtable
declare dso_local void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

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

declare noundef float @_ZNK9Framework5Timer8GetAlphaEv(ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #4

; 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::tvec4", align 4
  %10 = alloca %"struct.glm::detail::tvec4", align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca %"struct.glm::detail::tvec4", align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca %"struct.glm::detail::tvec4", align 4
  %21 = alloca %"struct.glm::detail::tvec4", align 4
  %22 = alloca %"struct.glm::detail::tvec4", align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca %"struct.glm::detail::tmat3x3", align 4
  %28 = alloca %"struct.glm::detail::tmat3x3", align 4
  %29 = alloca %"struct.glm::detail::tmat3x3", align 4
  %30 = alloca [4 x %struct.VertexData], align 16
  %31 = alloca %"struct.glm::detail::tvec3", align 4
  %32 = alloca %"struct.glm::detail::tvec4", align 4
  %33 = alloca %"struct.glm::detail::tvec4", align 4
  %34 = alloca float, align 4
  %35 = alloca float, align 4
  %36 = alloca float, align 4
  %37 = alloca float, align 4
  %38 = alloca %"struct.glm::detail::tvec3", align 4
  %39 = alloca %"struct.glm::detail::tvec3", align 4
  %40 = alloca float, align 4
  %41 = alloca float, align 4
  %42 = alloca float, align 4
  %43 = alloca %"struct.glm::detail::tvec3", align 4
  %44 = alloca float, align 4
  %45 = alloca float, align 4
  %46 = alloca float, align 4
  %47 = alloca %"struct.glm::detail::tvec3", align 4
  %48 = alloca %"struct.glm::detail::tvec3", align 4
  %49 = alloca float, align 4
  %50 = alloca float, align 4
  %51 = alloca float, align 4
  %52 = alloca %"struct.glm::detail::tvec3", align 4
  %53 = alloca float, align 4
  %54 = alloca float, align 4
  %55 = alloca float, align 4
  %56 = alloca %"struct.glm::detail::tvec3", align 4
  %57 = alloca %"struct.glm::detail::tvec3", align 4
  %58 = alloca float, align 4
  %59 = alloca float, align 4
  %60 = alloca float, align 4
  %61 = alloca %"struct.glm::detail::tvec3", align 4
  %62 = alloca float, align 4
  %63 = alloca float, align 4
  %64 = alloca float, align 4
  %65 = alloca %"class.glutil::PushStack", align 8
  %66 = alloca %"struct.glm::detail::tvec3", align 4
  %67 = alloca %"struct.glm::detail::tvec4", align 4
  %68 = alloca %"struct.glm::detail::tvec4", align 4
  %69 = alloca float, align 4
  %70 = alloca %"class.std::__cxx11::basic_string", align 8
  %71 = alloca %"class.std::allocator.0", align 1
  %72 = alloca %"class.glutil::PushStack", align 8
  %73 = alloca %"struct.glm::detail::tvec3", align 4
  %74 = alloca float, align 4
  %75 = alloca float, align 4
  %76 = alloca float, align 4
  %77 = alloca %"class.std::__cxx11::basic_string", align 8
  %78 = alloca %"class.std::allocator.0", align 1
  %79 = alloca %"class.std::__cxx11::basic_string", align 8
  %80 = alloca %"class.std::allocator.0", align 1
  %81 = tail call noundef zeroext i1 @_ZN9Framework5Timer6UpdateEv(ptr noundef nonnull align 4 dereferenceable(20) @g_sphereTimer)
  %82 = load ptr, ptr @_funcptr_glClearColor, align 8, !tbaa !5
  tail call void %82(float noundef 7.500000e-01, float noundef 7.500000e-01, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %83 = load ptr, ptr @_funcptr_glClearDepth, align 8, !tbaa !5
  tail call void %83(double noundef 1.000000e+00)
  %84 = load ptr, ptr @_funcptr_glClear, align 8, !tbaa !5
  tail call void %84(i32 noundef 16640)
  %85 = load ptr, ptr @g_pPlaneMesh, align 8, !tbaa !5
  %86 = icmp ne ptr %85, null
  %87 = load ptr, ptr @g_pSphereMesh, align 8
  %88 = icmp ne ptr %87, null
  %or.cond = select i1 %86, i1 %88, i1 false
  %89 = load ptr, ptr @g_pCubeMesh, align 8
  %90 = icmp ne ptr %89, null
  %or.cond3 = select i1 %or.cond, i1 %90, i1 false
  br i1 %or.cond3, label %91, label %313

91:                                               ; 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 %92 unwind label %214

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

93:                                               ; preds = %92
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #6
  %94 = 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 %95 unwind label %216

95:                                               ; preds = %93
  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)
  %96 = 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
  %97 = getelementptr inbounds i8, ptr %3, i64 16
  store float 0x3F5A36E2E0000000, ptr %97, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
  store float 0x3FE69FBE80000000, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #6
  store float 0x3FE69FBE80000000, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  store float 0.000000e+00, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #6
  store float 0.000000e+00, ptr %14, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec4IfEC2ERKfS4_S4_S4_(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %14)
  invoke void @_ZN3glm6detailmlIfEENS0_7tmat4x4IT_E8col_typeERKS4_RKNS4_8row_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %9, ptr noundef nonnull align 4 dereferenceable(64) %94, ptr noundef nonnull align 4 dereferenceable(16) %10)
          to label %98 unwind label %218

98:                                               ; preds = %95
  %99 = getelementptr inbounds i8, ptr %3, i64 32
  %100 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %99, ptr noundef nonnull align 4 dereferenceable(16) %9)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #6
  store float 0x3FE3333340000000, ptr %16, align 4, !tbaa !9
  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 1.000000e+00, ptr %19, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec4IfEC2ERKfS4_S4_S4_(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(4) %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)
  %101 = getelementptr inbounds i8, ptr %3, i64 48
  %102 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %101, ptr noundef nonnull align 4 dereferenceable(16) %15)
  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 4, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #6
  invoke void @_Z17CalcLightPositionv(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %21)
          to label %103 unwind label %220

103:                                              ; preds = %98
  invoke void @_ZN3glm6detailmlIfEENS0_7tmat4x4IT_E8col_typeERKS4_RKNS4_8row_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %20, ptr noundef nonnull align 4 dereferenceable(64) %94, ptr noundef nonnull align 4 dereferenceable(16) %21)
          to label %104 unwind label %220

104:                                              ; preds = %103
  %105 = getelementptr inbounds i8, ptr %3, i64 64
  %106 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %105, ptr noundef nonnull align 4 dereferenceable(16) %20)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #6
  store float 0x3FD99999A0000000, ptr %23, align 4, !tbaa !9
  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 1.000000e+00, ptr %26, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec4IfEC2ERKfS4_S4_S4_(ptr noundef nonnull align 4 dereferenceable(16) %22, ptr noundef nonnull align 4 dereferenceable(4) %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)
  %107 = getelementptr inbounds i8, ptr %3, i64 80
  %108 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail5tvec4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %107, ptr noundef nonnull align 4 dereferenceable(16) %22)
  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 4, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #6
  %109 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  %110 = load i32, ptr @g_lightUniformBuffer, align 4, !tbaa !14
  invoke void %109(i32 noundef 35345, i32 noundef %110)
          to label %111 unwind label %216

111:                                              ; preds = %104
  %112 = load ptr, ptr @_funcptr_glBufferSubData, align 8, !tbaa !5
  invoke void %112(i32 noundef 35345, i64 noundef 0, i64 noundef 96, ptr noundef nonnull %3)
          to label %113 unwind label %216

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

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

118:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %27) #6
  %119 = 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) %27, ptr noundef nonnull align 4 dereferenceable(64) %119)
          to label %120 unwind label %222

120:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %28) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %29) #6
  invoke void @_ZN3glm7inverseIfEENS_6detail7tmat3x3IT_EERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tmat3x3") align 4 %29, ptr noundef nonnull align 4 dereferenceable(36) %27)
          to label %121 unwind label %224

121:                                              ; preds = %120
  invoke void @_ZN3glm9transposeIfEENS_6detail7tmat3x3IT_EERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tmat3x3") align 4 %28, ptr noundef nonnull align 4 dereferenceable(36) %29)
          to label %122 unwind label %224

122:                                              ; preds = %121
  %123 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN3glm6detail7tmat3x3IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(36) %27, ptr noundef nonnull align 4 dereferenceable(36) %28)
          to label %124 unwind label %224

124:                                              ; preds = %122
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %28) #6
  %125 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %126 = load i32, ptr @g_litMeshProg, align 4, !tbaa !16
  invoke void %125(i32 noundef %126)
          to label %127 unwind label %222

127:                                              ; preds = %124
  %128 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %129 = load i32, ptr getelementptr inbounds (i8, ptr @g_litMeshProg, i64 4), align 4, !tbaa !18
  %130 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  %131 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %130)
          to label %132 unwind label %222

132:                                              ; preds = %127
  invoke void %128(i32 noundef %129, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %131)
          to label %133 unwind label %222

133:                                              ; preds = %132
  %134 = load ptr, ptr @_funcptr_glUniformMatrix3fv, align 8, !tbaa !5
  %135 = load i32, ptr getelementptr inbounds (i8, ptr @g_litMeshProg, i64 8), align 4, !tbaa !19
  %136 = call noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail7tmat3x3IS1_EE(ptr noundef nonnull align 4 dereferenceable(36) %27)
  invoke void %134(i32 noundef %135, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %136)
          to label %137 unwind label %222

137:                                              ; preds = %133
  %138 = load ptr, ptr @g_pPlaneMesh, align 8, !tbaa !5
  invoke void @_ZNK9Framework4Mesh6RenderEv(ptr noundef nonnull align 8 dereferenceable(8) %138)
          to label %139 unwind label %222

139:                                              ; preds = %137
  %140 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  invoke void %140(i32 noundef 0)
          to label %141 unwind label %222

141:                                              ; preds = %139
  %142 = load ptr, ptr @_funcptr_glBindBufferBase, align 8, !tbaa !5
  invoke void %142(i32 noundef 35345, i32 noundef 0, i32 noundef 0)
          to label %143 unwind label %222

143:                                              ; preds = %141
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %27) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %30) #6
  invoke void @_ZN10VertexDataC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %30)
          to label %144 unwind label %.loopexit

144:                                              ; preds = %143
  %.ptr.1 = getelementptr inbounds i8, ptr %30, i64 16
  invoke void @_ZN10VertexDataC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.1)
          to label %145 unwind label %.loopexit

145:                                              ; preds = %144
  %.ptr.2 = getelementptr inbounds i8, ptr %30, i64 32
  invoke void @_ZN10VertexDataC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.2)
          to label %146 unwind label %.loopexit

146:                                              ; preds = %145
  %.ptr.3 = getelementptr inbounds i8, ptr %30, i64 48
  invoke void @_ZN10VertexDataC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.3)
          to label %147 unwind label %.loopexit

147:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %31) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %33) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %34) #6
  store float 0.000000e+00, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %35) #6
  store float 1.000000e+01, ptr %35, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %36) #6
  store float 0.000000e+00, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %37) #6
  store float 1.000000e+00, ptr %37, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec4IfEC2ERKfS4_S4_S4_(ptr noundef nonnull align 4 dereferenceable(16) %33, ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 4 dereferenceable(4) %36, ptr noundef nonnull align 4 dereferenceable(4) %37)
  invoke void @_ZN3glm6detailmlIfEENS0_7tmat4x4IT_E8col_typeERKS4_RKNS4_8row_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %32, ptr noundef nonnull align 4 dereferenceable(64) %94, ptr noundef nonnull align 4 dereferenceable(16) %33)
          to label %148 unwind label %227

148:                                              ; preds = %147
  call void @_ZN3glm6detail5tvec3IfEC2IfEERKNS0_5tvec4IT_EE(ptr noundef nonnull align 4 dereferenceable(12) %31, ptr noundef nonnull align 4 dereferenceable(16) %32)
  %149 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm6detail5tvec3IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(12) %30, ptr noundef nonnull align 4 dereferenceable(12) %31)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %37) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %36) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %35) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %34) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %31) #6
  %150 = getelementptr inbounds i8, ptr %30, i64 12
  store float 4.000000e+00, ptr %150, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %38) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %39) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %40) #6
  store float 0.000000e+00, ptr %40, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %41) #6
  store float 1.000000e+01, ptr %41, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %42) #6
  store float 0.000000e+00, ptr %42, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %39, ptr noundef nonnull align 4 dereferenceable(4) %40, ptr noundef nonnull align 4 dereferenceable(4) %41, ptr noundef nonnull align 4 dereferenceable(4) %42)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %43) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %44) #6
  store float 0x3FE3333340000000, ptr %44, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %45) #6
  store float 0x3FE99999A0000000, ptr %45, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %46) #6
  store float 0.000000e+00, ptr %46, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %43, ptr noundef nonnull align 4 dereferenceable(4) %44, ptr noundef nonnull align 4 dereferenceable(4) %45, ptr noundef nonnull align 4 dereferenceable(4) %46)
  %151 = invoke noundef float @_ZNK9Framework5Timer8GetAlphaEv(ptr noundef nonnull align 4 dereferenceable(20) @g_sphereTimer)
          to label %152 unwind label %229

152:                                              ; preds = %148
  invoke void @_Z17GetSphereOrbitPosRN6glutil11MatrixStackERKN3glm6detail5tvec3IfEES7_ff(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec3") align 4 %38, ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %39, ptr noundef nonnull align 4 dereferenceable(12) %43, float noundef 2.000000e+01, float noundef %151)
          to label %153 unwind label %229

153:                                              ; preds = %152
  %154 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm6detail5tvec3IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(12) %.ptr.1, ptr noundef nonnull align 4 dereferenceable(12) %38)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %46) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %45) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %44) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %43) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %41) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %40) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %39) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %38) #6
  %155 = getelementptr inbounds i8, ptr %30, i64 28
  store float 2.000000e+00, ptr %155, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %47) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %48) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %49) #6
  store float -1.000000e+01, ptr %49, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %50) #6
  store float 1.000000e+00, ptr %50, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %51) #6
  store float 0.000000e+00, ptr %51, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %48, ptr noundef nonnull align 4 dereferenceable(4) %49, ptr noundef nonnull align 4 dereferenceable(4) %50, ptr noundef nonnull align 4 dereferenceable(4) %51)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %52) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %53) #6
  store float 0.000000e+00, ptr %53, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %54) #6
  store float 1.000000e+00, ptr %54, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %55) #6
  store float 0.000000e+00, ptr %55, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %52, ptr noundef nonnull align 4 dereferenceable(4) %53, ptr noundef nonnull align 4 dereferenceable(4) %54, ptr noundef nonnull align 4 dereferenceable(4) %55)
  %156 = invoke noundef float @_ZNK9Framework5Timer8GetAlphaEv(ptr noundef nonnull align 4 dereferenceable(20) @g_sphereTimer)
          to label %157 unwind label %231

157:                                              ; preds = %153
  invoke void @_Z17GetSphereOrbitPosRN6glutil11MatrixStackERKN3glm6detail5tvec3IfEES7_ff(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec3") align 4 %47, ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %48, ptr noundef nonnull align 4 dereferenceable(12) %52, float noundef 1.000000e+01, float noundef %156)
          to label %158 unwind label %231

158:                                              ; preds = %157
  %159 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm6detail5tvec3IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(12) %.ptr.2, ptr noundef nonnull align 4 dereferenceable(12) %47)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %55) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %54) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %52) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %51) #6
  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 12, ptr nonnull %48) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %47) #6
  %160 = getelementptr inbounds i8, ptr %30, i64 44
  store float 1.000000e+00, ptr %160, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %56) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %57) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %58) #6
  store float 1.000000e+01, ptr %58, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %59) #6
  store float 1.000000e+00, ptr %59, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %60) #6
  store float 0.000000e+00, ptr %60, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %57, ptr noundef nonnull align 4 dereferenceable(4) %58, ptr noundef nonnull align 4 dereferenceable(4) %59, ptr noundef nonnull align 4 dereferenceable(4) %60)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %61) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %62) #6
  store float 0.000000e+00, ptr %62, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %63) #6
  store float 1.000000e+00, ptr %63, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %64) #6
  store float 0.000000e+00, ptr %64, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %61, ptr noundef nonnull align 4 dereferenceable(4) %62, ptr noundef nonnull align 4 dereferenceable(4) %63, ptr noundef nonnull align 4 dereferenceable(4) %64)
  %161 = invoke noundef float @_ZNK9Framework5Timer8GetAlphaEv(ptr noundef nonnull align 4 dereferenceable(20) @g_sphereTimer)
          to label %162 unwind label %233

162:                                              ; preds = %158
  %163 = fmul float %161, 2.000000e+00
  invoke void @_Z17GetSphereOrbitPosRN6glutil11MatrixStackERKN3glm6detail5tvec3IfEES7_ff(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec3") align 4 %56, ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %57, ptr noundef nonnull align 4 dereferenceable(12) %61, float noundef 1.000000e+01, float noundef %163)
          to label %164 unwind label %233

164:                                              ; preds = %162
  %165 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm6detail5tvec3IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(12) %.ptr.3, ptr noundef nonnull align 4 dereferenceable(12) %56)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %64) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %63) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %62) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %61) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %60) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %59) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %58) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %57) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %56) #6
  %166 = getelementptr inbounds i8, ptr %30, i64 60
  store float 1.000000e+00, ptr %166, align 4, !tbaa !20
  %167 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  %168 = load i32, ptr @g_imposterVBO, align 4, !tbaa !14
  invoke void %167(i32 noundef 34962, i32 noundef %168)
          to label %169 unwind label %.loopexit.split-lp

169:                                              ; preds = %164
  %170 = load ptr, ptr @_funcptr_glBufferData, align 8, !tbaa !5
  invoke void %170(i32 noundef 34962, i64 noundef 64, ptr noundef nonnull %30, i32 noundef 35040)
          to label %171 unwind label %.loopexit.split-lp

171:                                              ; preds = %169
  %172 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  invoke void %172(i32 noundef 34962, i32 noundef 0)
          to label %173 unwind label %.loopexit.split-lp

173:                                              ; preds = %171
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %30) #6
  %174 = load ptr, ptr @_funcptr_glBindBufferRange, align 8, !tbaa !5
  %175 = load i32, ptr @g_materialArrayUniformBuffer, align 4, !tbaa !14
  invoke void %174(i32 noundef 35345, i32 noundef 0, i32 noundef %175, i64 noundef 0, i64 noundef 192)
          to label %176 unwind label %216

176:                                              ; preds = %173
  %177 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %178 = load i32, ptr @g_litImpProg, align 4, !tbaa !23
  invoke void %177(i32 noundef %178)
          to label %179 unwind label %216

179:                                              ; preds = %176
  %180 = load ptr, ptr @_funcptr_glBindVertexArray, align 8, !tbaa !5
  %181 = load i32, ptr @g_imposterVAO, align 4, !tbaa !14
  invoke void %180(i32 noundef %181)
          to label %182 unwind label %216

182:                                              ; preds = %179
  %183 = load ptr, ptr @_funcptr_glDrawArrays, align 8, !tbaa !5
  invoke void %183(i32 noundef 0, i32 noundef 0, i32 noundef 4)
          to label %184 unwind label %216

184:                                              ; preds = %182
  %185 = load ptr, ptr @_funcptr_glBindVertexArray, align 8, !tbaa !5
  invoke void %185(i32 noundef 0)
          to label %186 unwind label %216

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

188:                                              ; preds = %186
  %189 = load ptr, ptr @_funcptr_glBindBufferBase, align 8, !tbaa !5
  invoke void %189(i32 noundef 35345, i32 noundef 0, i32 noundef 0)
          to label %190 unwind label %216

190:                                              ; preds = %188
  %191 = load i8, ptr @g_bDrawLights, align 1, !tbaa !25, !range !27, !noundef !28
  %192 = trunc nuw i8 %191 to i1
  br i1 %192, label %193, label %252

193:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %65) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %194 unwind label %236

194:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %66) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %67) #6
  invoke void @_Z17CalcLightPositionv(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %67)
          to label %195 unwind label %238

195:                                              ; preds = %194
  call void @_ZN3glm6detail5tvec3IfEC2IfEERKNS0_5tvec4IT_EE(ptr noundef nonnull align 4 dereferenceable(12) %66, ptr noundef nonnull align 4 dereferenceable(16) %67)
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %66)
          to label %196 unwind label %238

196:                                              ; preds = %195
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %67) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %66) #6
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef 5.000000e-01)
          to label %197 unwind label %240

197:                                              ; preds = %196
  %198 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %199 = load i32, ptr @g_Unlit, align 4, !tbaa !29
  invoke void %198(i32 noundef %199)
          to label %200 unwind label %240

200:                                              ; preds = %197
  %201 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %202 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 8), align 4, !tbaa !31
  %203 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  %204 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %203)
          to label %205 unwind label %240

205:                                              ; preds = %200
  invoke void %201(i32 noundef %202, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %204)
          to label %206 unwind label %240

206:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %68) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %69) #6
  store float 1.000000e+00, ptr %69, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec4IfEC2ERKf(ptr noundef nonnull align 4 dereferenceable(16) %68, ptr noundef nonnull align 4 dereferenceable(4) %69)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %69) #6
  %207 = load ptr, ptr @_funcptr_glUniform4fv, align 8, !tbaa !5
  %208 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 4), align 4, !tbaa !32
  %209 = call noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16) %68)
  invoke void %207(i32 noundef %208, i32 noundef 1, ptr noundef %209)
          to label %210 unwind label %242

210:                                              ; preds = %206
  %211 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %70) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %71) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %70, ptr noundef nonnull @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %71)
          to label %212 unwind label %244

212:                                              ; preds = %210
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %211, ptr noundef nonnull align 8 dereferenceable(32) %70)
          to label %213 unwind label %246

213:                                              ; preds = %212
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %71) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %70) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %68) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %65) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %65) #6
  br label %252

214:                                              ; preds = %92, %91
  %215 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #6
  br label %312

216:                                              ; preds = %188, %186, %184, %182, %179, %176, %173, %115, %113, %111, %104, %93
  %217 = landingpad { ptr, i32 }
          cleanup
  br label %311

218:                                              ; preds = %95
  %219 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  br label %311

220:                                              ; preds = %103, %98
  %221 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #6
  br label %311

222:                                              ; preds = %141, %139, %137, %133, %132, %127, %124, %118
  %223 = landingpad { ptr, i32 }
          cleanup
  br label %226

224:                                              ; preds = %122, %121, %120
  %225 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %28) #6
  br label %226

226:                                              ; preds = %224, %222
  %.pn = phi { ptr, i32 } [ %223, %222 ], [ %225, %224 ]
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %27) #6
  br label %311

.loopexit:                                        ; preds = %146, %145, %144, %143
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %235

.loopexit.split-lp:                               ; preds = %164, %169, %171
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %235

227:                                              ; preds = %147
  %228 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %37) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %36) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %35) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %34) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %31) #6
  br label %235

229:                                              ; preds = %152, %148
  %230 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %46) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %45) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %44) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %43) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %41) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %40) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %39) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %38) #6
  br label %235

231:                                              ; preds = %157, %153
  %232 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %55) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %54) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %52) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %51) #6
  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 12, ptr nonnull %48) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %47) #6
  br label %235

233:                                              ; preds = %162, %158
  %234 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %64) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %63) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %62) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %61) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %60) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %59) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %58) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %57) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %56) #6
  br label %235

235:                                              ; preds = %.loopexit, %.loopexit.split-lp, %233, %231, %229, %227
  %.pn22 = phi { ptr, i32 } [ %234, %233 ], [ %232, %231 ], [ %230, %229 ], [ %228, %227 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %30) #6
  br label %311

236:                                              ; preds = %193
  %237 = landingpad { ptr, i32 }
          cleanup
  br label %251

238:                                              ; preds = %195, %194
  %239 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %67) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %66) #6
  br label %250

240:                                              ; preds = %205, %200, %197, %196
  %241 = landingpad { ptr, i32 }
          cleanup
  br label %250

242:                                              ; preds = %206
  %243 = landingpad { ptr, i32 }
          cleanup
  br label %249

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

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

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

249:                                              ; preds = %248, %242
  %.pn24.pn = phi { ptr, i32 } [ %.pn24, %248 ], [ %243, %242 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %68) #6
  br label %250

250:                                              ; preds = %249, %240, %238
  %.pn24.pn.pn = phi { ptr, i32 } [ %.pn24.pn, %249 ], [ %241, %240 ], [ %239, %238 ]
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %65) #6
  br label %251

251:                                              ; preds = %250, %236
  %.pn24.pn.pn.pn = phi { ptr, i32 } [ %.pn24.pn.pn, %250 ], [ %237, %236 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %65) #6
  br label %311

252:                                              ; preds = %213, %190
  %253 = load i8, ptr @g_bDrawCameraPos, align 1, !tbaa !25, !range !27, !noundef !28
  %254 = trunc nuw i8 %253 to i1
  br i1 %254, label %255, label %310

255:                                              ; preds = %252
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %72) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %256 unwind label %292

256:                                              ; preds = %255
  invoke void @_ZN6glutil11MatrixStack11SetIdentityEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %257 unwind label %294

257:                                              ; preds = %256
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %73) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %74) #6
  store float 0.000000e+00, ptr %74, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %75) #6
  store float 0.000000e+00, ptr %75, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %76) #6
  %258 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZNK6glutil8ViewPole7GetViewEv(ptr noundef nonnull align 8 dereferenceable(148) @g_viewPole)
  %259 = getelementptr inbounds i8, ptr %258, i64 28
  %260 = load float, ptr %259, align 4, !tbaa !33
  %261 = fneg float %260
  store float %261, ptr %76, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %73, ptr noundef nonnull align 4 dereferenceable(4) %74, ptr noundef nonnull align 4 dereferenceable(4) %75, ptr noundef nonnull align 4 dereferenceable(4) %76)
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %73)
          to label %262 unwind label %296

262:                                              ; preds = %257
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %76) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %75) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %74) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %73) #6
  %263 = load ptr, ptr @_funcptr_glDisable, align 8, !tbaa !5
  invoke void %263(i32 noundef 2929)
          to label %264 unwind label %294

264:                                              ; preds = %262
  %265 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %265(i8 noundef zeroext 0)
          to label %266 unwind label %294

266:                                              ; preds = %264
  %267 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %268 = load i32, ptr @g_Unlit, align 4, !tbaa !29
  invoke void %267(i32 noundef %268)
          to label %269 unwind label %294

269:                                              ; preds = %266
  %270 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %271 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 8), align 4, !tbaa !31
  %272 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  %273 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %272)
          to label %274 unwind label %294

274:                                              ; preds = %269
  invoke void %270(i32 noundef %271, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %273)
          to label %275 unwind label %294

275:                                              ; preds = %274
  %276 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %277 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 4), align 4, !tbaa !32
  invoke void %276(i32 noundef %277, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 1.000000e+00)
          to label %278 unwind label %294

278:                                              ; preds = %275
  %279 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %77) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %78) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %77, ptr noundef nonnull @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %78)
          to label %280 unwind label %298

280:                                              ; preds = %278
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %279, ptr noundef nonnull align 8 dereferenceable(32) %77)
          to label %281 unwind label %300

281:                                              ; preds = %280
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %78) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %77) #6
  %282 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %282(i8 noundef zeroext 1)
          to label %283 unwind label %294

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

285:                                              ; preds = %283
  %286 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %287 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 4), align 4, !tbaa !32
  invoke void %286(i32 noundef %287, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %288 unwind label %294

288:                                              ; preds = %285
  %289 = load ptr, ptr @g_pCubeMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %79) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %80) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %79, ptr noundef nonnull @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %80)
          to label %290 unwind label %303

290:                                              ; preds = %288
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %289, ptr noundef nonnull align 8 dereferenceable(32) %79)
          to label %291 unwind label %305

291:                                              ; preds = %290
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %79) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %80) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %79) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %72) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %72) #6
  br label %310

292:                                              ; preds = %255
  %293 = landingpad { ptr, i32 }
          cleanup
  br label %309

294:                                              ; preds = %285, %283, %281, %275, %274, %269, %266, %264, %262, %256
  %295 = landingpad { ptr, i32 }
          cleanup
  br label %308

296:                                              ; preds = %257
  %297 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %76) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %75) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %74) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %73) #6
  br label %308

298:                                              ; preds = %278
  %299 = landingpad { ptr, i32 }
          cleanup
  br label %302

300:                                              ; preds = %280
  %301 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #6
  br label %302

302:                                              ; preds = %300, %298
  %.pn29 = phi { ptr, i32 } [ %301, %300 ], [ %299, %298 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %78) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %77) #6
  br label %308

303:                                              ; preds = %288
  %304 = landingpad { ptr, i32 }
          cleanup
  br label %307

305:                                              ; preds = %290
  %306 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %79) #6
  br label %307

307:                                              ; preds = %305, %303
  %.pn31 = phi { ptr, i32 } [ %306, %305 ], [ %304, %303 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %80) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %79) #6
  br label %308

308:                                              ; preds = %307, %302, %296, %294
  %.pn31.pn = phi { ptr, i32 } [ %.pn31, %307 ], [ %295, %294 ], [ %.pn29, %302 ], [ %297, %296 ]
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %72) #6
  br label %309

309:                                              ; preds = %308, %292
  %.pn31.pn.pn = phi { ptr, i32 } [ %.pn31.pn, %308 ], [ %293, %292 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %72) #6
  br label %311

310:                                              ; preds = %291, %252
  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 %313

311:                                              ; preds = %309, %251, %235, %226, %220, %218, %216
  %.pn31.pn.pn.pn = phi { ptr, i32 } [ %.pn31.pn.pn, %309 ], [ %.pn24.pn.pn.pn, %251 ], [ %217, %216 ], [ %.pn22, %235 ], [ %.pn, %226 ], [ %221, %220 ], [ %219, %218 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %3) #6
  br label %312

312:                                              ; preds = %311, %214
  %.pn31.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn31.pn.pn.pn, %311 ], [ %215, %214 ]
  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 } %.pn31.pn.pn.pn.pn

313:                                              ; preds = %310, %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: 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 @_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 @_ZNK9Framework4Mesh6RenderEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

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

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

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, !15, i64 0}
!17 = !{!"_ZTS15ProgramMeshData", !15, i64 0, !15, i64 4, !15, i64 8}
!18 = !{!17, !15, i64 4}
!19 = !{!17, !15, i64 8}
!20 = !{!21, !10, i64 12}
!21 = !{!"_ZTS10VertexData", !22, i64 0, !10, i64 12}
!22 = !{!"_ZTSN3glm6detail5tvec3IfEE", !7, i64 0}
!23 = !{!24, !15, i64 0}
!24 = !{!"_ZTS16ProgramImposData", !15, i64 0}
!25 = !{!26, !26, i64 0}
!26 = !{!"bool", !7, i64 0}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!30, !15, i64 0}
!30 = !{!"_ZTS13UnlitProgData", !15, i64 0, !15, i64 4, !15, i64 8}
!31 = !{!30, !15, i64 8}
!32 = !{!30, !15, i64 4}
!33 = !{!34, !10, i64 28}
!34 = !{!"_ZTSN6glutil8ViewDataE", !22, i64 0, !35, i64 12, !10, i64 28, !10, i64 32}
!35 = !{!"_ZTSN3glm6detail5tquatIfEE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}


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